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

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

Deadly Investigation.swf

This is the info page for
Flash #46192

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


Text
New Game

New Game

Find more games at
http://HamsterWorld.No-Ip.Info

Find more games at
http://HamsterWorld.No-Ip.Info

Loading

Loading

Done

Done

0

1

2

3

4

5

6

7

8

9

I've spoken with Linda Harvey. She was truly shocked
and upset about the missing body. But she didn't have a clues to who might have been behind the theft.
I was allowed inspect the rest of the rooms of the mansion,
and I should also speak with Linda's sister Sarah.

We just lost power, and I can't find Linda or Sarah anywhere.
Oh well, I better leave and come back tomorrow.

Strange, there are blood stains in the grass, it's alm...

These things, what are they?
I managed to lock myself in the library, but I don't think I can hold them out for long.

Linda.
By now, there are hundreds of
these horrible beasts wandering the woods. There is no way out of the mansion. I think
I know what caused all this. You must trust me. Meet me in the cellar as soon as you find this note.
-Sarah

The hole in the cellar wall has started to crumble again.

Until I can seal it shut once and for all, I will be keeping the South Wing locked.

-Patrick

24  21
37  36
21  15
50  42

March 3'th
Today I was looking through some old books the mansion's previous owner, David Harris, left behind.
Most of them were foreign ones written in languages I couldn't make out. But I found one of them, an old worn book titled 'Rituals of Necromancy' very fascinating.

The book explained in great detail about various Pagan rituals, such as resurrecting the dead and summoning demons.

I will have to check it out again when I get more free time.

March 12'th
Last night, I continued studying the book I found.
Oh there are indeed some interesting concepts here.

For example, you could supposedly resurrect the dead, bring them back to life again.
If the conditions are met.

The location where the ritual is performed must have a corpse nearby, so to allow the corpse's previous soul to return and re-animate it.

Even though this is just superstition, there is definitely something captivating about it all.

May 27'th
Yesterday, I could hear the sound of air whining in the cellar. I managed to track down the source to behind one of the old crates that was left here when we moved in.
As I pushed it aside, I found a hole in the wall, leading into a long dark tunnel.

Upon further inspection, it turned out to be an old cave system, used as a storage locale, perhaps by the last owner.

I should tell Patrick about this.

June 3'th
Despite Patrick's warnings, last night I went back into the tunnel, and explored even
deeper.

At the very end, I found a chamber, with strange symbols drawn in red on the floor and walls.

In the middle of the room, there was a large stone altar.

What was the purpose the room?

The symbols seemed familiar somehow. Could they be from the book?

June 6'th
Tonight I awoke abruptly, hearing a loud crash coming from the dining room.
All I found was flower pot, that had been knocked off the table,and there was no trace of anyone there. I asked Linda and Patrick but they had not
heard anything. Must be rats.

June 8'th
I have found David's journal, inside the altar in the cave chamber.
It is truly a sad story.

David Harris, at the age of thirty, got married to a young woman named Beatrice.

They lived together for five years before buying the mansion in Springsdale.
There, they lived happily for some time, until one night, the night Beatrice was mysteriously murdered, for reasons unknown.

The journal grows more obscure from this point.
David, at the loss of his wife, had become obsessed with the dark arts.

Over time he performed many bizarre rituals, he even claimed to have been able to speak with the dead.

The last chapters of the journal are nothing short of unreadable, just scribbles. As if he didn't care if he could read it at all.

Other then the journal, I also found some of David's old recordings.

They are only a couple of minutes long, and were all recorded by David himself.

I just couldn't make out was he was saying.
His words were sharp and straightforward,
but in a language I've never heard before.

As he went silent, I could feel a cold shiver run throughout my body.

What was that?

What was he trying to accomplish?

June 10'th
I am not sure, but I think my eyes are playing tricks on me. The shadows in my periphery vision seems to bend and curve as I walk through the corridors, and I think I hear faint whispers, coming from the cellar.
No, no I'm sure it's nothing

June 12'th
The voices from the cellar keeps getting louder, but they make no sense. Just mumbling.

I can't take this any more. I must tell someone.

June 15'th
Haven't seen Patrick since yesterday.

I'm really starting to get worried.

Please forgive me, I've been such a fool. I traded my own soul to the demon, to bring my dear wife back to life. But the demon tricked me....

Her soul left this world a long time ago. And I was trapped among the living dead, that the demon wrought down upon this place. I thank you for freeing us at last...
Farewell. -David

Break spell

Visible

Barely visible

Please adjust the contrast

Done

+

-

This is the story of private investigator Charles Stone, who was sent to find Louis McCoy, a college that disappeared in the quiet town of Springsdale.

Upon arrival in town, Charles found out via the local law enforcement
that Louis was last seen heading for the Harvey's mansion. The Harveys were relatively new to the neighborhood, and had bought the mansion just months earlier.

Louis was investigating the case of the missing body of Patrick Harvey, which vanished from the city morgue a day earlier. The cause of Patrick's death remains inconclusive, as an autopsy had not yet been performed.

Later that evening, Charles took off to the mansion.

Soon, storm clouds could be seen in the sky, and before long, the rain was pouring down, and thunder could be heard rumbling overhead. Charles turned onto the small forest road leading to the mansion.

The road was in a very bad condition with high grass overgrowing it.
With only a couple miles left, the path ahead was blocked by a large tree, that had been blown over by the storm, and not wanting to turn back, Charles abandoned his car and continued on foot.

Finally, he saw the gates to the mansion, lit up by a tiny speck of light. Louis' car was still parked outside the gates, empty.
In the large gloomy mansion, not a single light could be seen.







Charles started his investigation...

Skip

Credits


-- Developer --



-- Music --









-- Effects --




-- Beta Testers --




Thank you for playing...

Dennis Bengs AKA HamsterMan
(http://HamsterWorld.no-ip.info)

http://www.Edgen.com
Hope of glory in the lost mountains
The chase
Verge of victory

http://Calpomatt.DeviantArt.com
Final March 2

http://www.MarkNine.com
Cathedral

Gathered from
http://www.SoundSnap.com
and various other sites

http://Mugenjou.DeviantArt.com

The End

Credits


-- Developer --



-- Music --









-- Effects --




-- Beta Testers --




Thank you for playing...

Dennis Bengs AKA HamsterMan
(http://HamsterWorld.no-ip.info)

http://www.Edgen.com
Hope of glory in the lost mountains
The chase
Verge of victory

http://Calpomatt.DeviantArt.com
Final March 2

http://www.MarkNine.com
Cathedral

Gathered from
http://www.SoundSnap.com
and various other sites

http://Mugenjou.DeviantArt.com

The End

ActionScript [AS3]

Section 1
//Assets_3 (DeadlyInvestigation_fla.Assets_3) package DeadlyInvestigation_fla { import flash.display.*; public dynamic class Assets_3 extends MovieClip { public function Assets_3(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package DeadlyInvestigation_fla
Section 2
//Ghoul_56 (DeadlyInvestigation_fla.Ghoul_56) package DeadlyInvestigation_fla { import flash.display.*; public dynamic class Ghoul_56 extends MovieClip { public function Ghoul_56(){ addFrameScript(44, frame45, 71, frame72, 89, frame90, 116, frame117, 124, frame125, 144, frame145, 164, frame165, 204, frame205); } function frame72(){ gotoAndPlay(52); gotoAndPlay(52); gotoAndPlay(52); gotoAndPlay(52); gotoAndPlay(52); gotoAndPlay(52); gotoAndPlay(52); gotoAndPlay(52); gotoAndPlay(52); gotoAndPlay(52); gotoAndPlay(52); gotoAndPlay(52); gotoAndPlay(52); gotoAndPlay(52); gotoAndPlay(52); gotoAndPlay(52); gotoAndPlay(52); } function frame165(){ stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); } function frame205(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame90(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame117(){ gotoAndPlay(105); gotoAndPlay(105); gotoAndPlay(105); gotoAndPlay(105); gotoAndPlay(105); gotoAndPlay(105); gotoAndPlay(105); gotoAndPlay(105); gotoAndPlay(105); gotoAndPlay(105); gotoAndPlay(105); gotoAndPlay(105); gotoAndPlay(105); gotoAndPlay(105); gotoAndPlay(105); gotoAndPlay(105); gotoAndPlay(105); } function frame125(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame45(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame145(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } } }//package DeadlyInvestigation_fla
Section 3
//MainTimeline (DeadlyInvestigation_fla.MainTimeline) package DeadlyInvestigation_fla { import adobe.utils.*; import flash.accessibility.*; import flash.display.*; import flash.errors.*; import flash.events.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.system.*; import flash.text.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class MainTimeline extends MovieClip { public var GotShotgun; public var ObjectStringsSplitted; public var FacingObject; public var DoneSettingsContrast; public var ChangeWeapon; public var RoomLightning; public var ReadMemo; public var PentagramState; public var ObjectStrings; public var MenuBackground; public var Left; public var ReadWeaponInstructions; public var Title; public var GotLighter; public var GotPipe; public var PlayerAlive; public var PrologueClip; public var InteractionClips; public var MenuWaves; public var StatusTextShadow:TextField; public var PlayersLastYPosition; public var MenuSet; public var Action; public var StatusText:TextField; public var Prologue; public var i; public var CutsceneMode; public var Fire; public var GotRevolver; public var Brightness; public var NextChannel; public var Bleps; public var MapStringsSplitted; public var NumberOfBullets; public var CameraPositionX; public var ActivatedTriggers; public var GotHat; public var StartingGame; public var CameraPositionY; public var AddBleps; public var Depth; public var EffectChannels; public var CameraFocus; public var PlayerHurt; public var RoomTitleTextShadow:TextField; public var InteractionMode; public var SelectedWeapon; public var Up; public var Down; public var LightStrings; public var TriggerStringsSplitted; public var GotFlashlight; public var LoadedShells; public var GameOver0; public var GameOver1; public var GameOver2; public var GameOver3; public var ContrastInfo; public var CreditsClip; public var Objects; public var WallLocationList; public var Effects; public var PreviousText; public var ResolutionY; public var ActiveObjects; public var InsideRoom; public var SoundEffects; public var ResolutionX; public var BlockedTiles; public var RenderedRooms; public var AltModeSwitch; public var ReloadWeapon; public var AltModeQuit; public var StatusTextShadowFormat:TextFormat; public var PlayerRefireTime; public var ToRenderStatusText; public var soundVol:SoundTransform; public var TimeUntilReInspection; public var RoomTitleTextShadowFormat:TextFormat; public var colorTransform:ColorTransform; public var StatusTextFormat:TextFormat; public var Text; public var LoadingBar; public var RoomTitleText:TextField; public var NumberOfBleps; public var FoundBook; public var DoneSettingContrast; public var PlayersLastXPosition; public var AmbientChannel:SoundChannel; public var HamsterWorld; public var NoiseClip; public var TimeUntilLightning; public var AltModeInitiated; public var RoomTitleTextFormat:TextFormat; public var NumberOfShells; public var LightStringsSplitted; public var AltModeSelected; public var MoreContrast; public var NewGame; public var Skip; public var RoomBoxes; public var MusicChannel:SoundChannel; public var MapStrings; public var PrologueExists; public var Rain; public var Raining; public var MenuMode; public var PlayerHP; public var TriggerStrings; public var LoadedBullets; public var ReadBook; public var PlayerHeld; public var AltModeTimer; public var CameraTargetX; public var CameraTargetY; public var ClosestEnemyDistance; public var PlayerReloadTime; public var ContrastSet; public var LoadingInfo; public var LessContrast; public var Right; public var NewFont:Font; public function MainTimeline(){ addFrameScript(0, frame1, 2, frame3); } public function PlayEffect(_arg1, _arg2, _arg3){ soundVol.volume = _arg2; if (_arg1 > -1){ EffectChannels[NextChannel] = SoundEffects[_arg1].play(0, _arg3); }; EffectChannels[NextChannel].soundTransform = soundVol; NextChannel = (NextChannel + 1); if (NextChannel == 24){ NextChannel = 0; }; } function frame1(){ stop(); this.stop(); LoadingBar = new Array(); Bleps = new Array(); Depth = 0; i = 0; while (i < 10) { LoadingBar[i] = addChild(new Empty()); i++; }; LoadingInfo = addChild(new LoadingText()); LoadingInfo.gotoAndStop(1); LoadingInfo.x = 275; LoadingInfo.y = 100; this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, PL_LOADING); NumberOfBleps = 0; AddBleps = 0; } public function RemoveLoadingScreen(_arg1:Event){ if (Bleps[0].alpha <= 0){ i = 0; while (i < 10) { removeChild(LoadingBar[i]); i++; }; removeChild(LoadingInfo); gotoAndPlay(2); removeEventListener(Event.ENTER_FRAME, RemoveLoadingScreen); } else { LoadingInfo.gotoAndStop(2); LoadingInfo.alpha = (LoadingInfo.alpha - 0.02); i = 0; while (i < 100) { Bleps[i].alpha = (Bleps[i].alpha - 0.02); i++; }; }; } public function keyDownHandler(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == Keyboard.LEFT){ Left = true; } else { if (_arg1.keyCode == Keyboard.RIGHT){ Right = true; } else { if (_arg1.keyCode == Keyboard.UP){ Up = true; } else { if (_arg1.keyCode == Keyboard.DOWN){ Down = true; } else { if (_arg1.keyCode == 90){ Action = true; }; }; }; }; }; } public function keyUpHandler(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == Keyboard.LEFT){ Left = false; } else { if (_arg1.keyCode == Keyboard.RIGHT){ Right = false; } else { if (_arg1.keyCode == Keyboard.UP){ Up = false; } else { if (_arg1.keyCode == Keyboard.DOWN){ Down = false; } else { if (_arg1.keyCode == 90){ Action = false; } else { if (_arg1.keyCode == 88){ Fire = true; } else { if (_arg1.keyCode == 65){ ChangeWeapon = true; } else { if (_arg1.keyCode == 83){ ReloadWeapon = true; }; }; }; }; }; }; }; }; } public function PlayAmbient(_arg1, _arg2, _arg3, _arg4){ soundVol.volume = _arg2; if (_arg4 == true){ AmbientChannel.stop(); }; if (_arg1 > -1){ AmbientChannel = SoundEffects[_arg1].play(0, _arg3); }; AmbientChannel.soundTransform = soundVol; } function frame3(){ stop(); Brightness = 1; ContrastSet = false; DoneSettingContrast = false; Prologue = false; PrologueExists = false; MenuWaves = new Array(); StartingGame = false; Effects = this.addChild(new Empty()); Effects.rotation = 355; NoiseClip = Effects.addChild(new Noise()); NoiseClip.alpha = 0; RoomLightning = Effects.addChild(new Lightning()); RoomLightning.gotoAndStop(1); NewFont = new RoomTitle(); RoomTitleTextShadowFormat = new TextFormat(); RoomTitleTextShadowFormat.font = NewFont.fontName; RoomTitleTextShadowFormat.size = 23; RoomTitleTextShadowFormat.align = "right"; RoomTitleTextShadowFormat.color = 0; RoomTitleTextShadow = new TextField(); RoomTitleTextShadow.width = 500; RoomTitleTextShadow.defaultTextFormat = RoomTitleTextShadowFormat; RoomTitleTextShadow.embedFonts = true; RoomTitleTextShadow.selectable = false; RoomTitleTextShadow.text = ""; Effects.addChild(RoomTitleTextShadow); RoomTitleTextShadow.x = 25; RoomTitleTextShadow.y = 368; RoomTitleTextFormat = new TextFormat(); RoomTitleTextFormat.font = NewFont.fontName; RoomTitleTextFormat.size = 23; RoomTitleTextFormat.align = "right"; RoomTitleTextFormat.color = 16774596; RoomTitleText = new TextField(); RoomTitleText.width = 500; RoomTitleText.defaultTextFormat = RoomTitleTextFormat; RoomTitleText.embedFonts = true; RoomTitleText.selectable = false; RoomTitleText.text = ""; Effects.addChild(RoomTitleText); RoomTitleText.x = 23; RoomTitleText.y = 366; StatusTextShadowFormat = new TextFormat(); StatusTextShadowFormat.font = NewFont.fontName; StatusTextShadowFormat.size = 20; StatusTextShadowFormat.align = "center"; StatusTextShadowFormat.color = 0; StatusTextShadow = new TextField(); StatusTextShadow.width = 550; StatusTextShadow.defaultTextFormat = StatusTextShadowFormat; StatusTextShadow.embedFonts = true; StatusTextShadow.selectable = false; StatusTextShadow.text = ""; Effects.addChild(StatusTextShadow); StatusTextShadow.alpha = 0; StatusTextShadow.x = -2; StatusTextShadow.y = 132; StatusTextFormat = new TextFormat(); StatusTextFormat.font = NewFont.fontName; StatusTextFormat.size = 20; StatusTextFormat.align = "center"; StatusTextFormat.color = 16774596; StatusText = new TextField(); StatusText.width = 550; StatusText.defaultTextFormat = StatusTextFormat; StatusText.embedFonts = true; StatusText.selectable = false; StatusText.text = ""; Effects.addChild(StatusText); StatusText.alpha = 0; StatusText.x = 0; StatusText.y = 130; soundVol = new SoundTransform(); SoundEffects = new Array(); SoundEffects[0] = new AmbientNoise1(); SoundEffects[1] = new AmbientNoise2(); SoundEffects[2] = new BossAttack(); SoundEffects[3] = new BossIdle(); SoundEffects[4] = new ChangeWeaponSound(); SoundEffects[5] = new DoorLocked(); SoundEffects[6] = new DoorOpen(); SoundEffects[7] = new EventSound(); SoundEffects[8] = new GhoulFootStep1(); SoundEffects[9] = new GhoulFootStep2(); SoundEffects[10] = new GunFire(); SoundEffects[11] = new GunReload(); SoundEffects[12] = new HitFlesh(); SoundEffects[13] = new Moan1(); SoundEffects[14] = new Moan2(); SoundEffects[15] = new PipeSwing(); SoundEffects[16] = new PlayerFootStep1(); SoundEffects[17] = new PlayerFootStep2(); SoundEffects[18] = new RainInside(); SoundEffects[19] = new RainOutside(); SoundEffects[20] = new SetCandle(); SoundEffects[21] = new ShotgunFire(); SoundEffects[22] = new ShotgunReload(); SoundEffects[23] = new Slash(); SoundEffects[24] = new SummonBoss(); SoundEffects[25] = new SwitchPage(); SoundEffects[26] = new ThunderInside(); SoundEffects[27] = new ThunderOutside(); SoundEffects[28] = new Wind(); SoundEffects[29] = new WoodImpact(); SoundEffects[30] = new EarthQuake(); SoundEffects[31] = new Died(); SoundEffects[32] = new Cathedral(); SoundEffects[33] = new FinalMarch2(); SoundEffects[34] = new HOGITLM(); SoundEffects[35] = new TheChase(); SoundEffects[36] = new VergeOfVictory(); MusicChannel = new SoundChannel(); AmbientChannel = new SoundChannel(); EffectChannels = new Array(24); NextChannel = 0; i = 0; while (i < 24) { EffectChannels[i] = new SoundChannel(); i++; }; PlayMusic(36, 1.2, 9999, true); ContrastInfo = this.addChild(new AdjustContrast()); ContrastInfo.gotoAndStop(1); ContrastInfo.x = 65; ContrastInfo.y = 120; DoneSettingsContrast = this.addChild(new AdjustContrast()); DoneSettingsContrast.gotoAndStop(2); DoneSettingsContrast.x = 240; DoneSettingsContrast.y = 280; DoneSettingsContrast.mouseChildren = false; DoneSettingsContrast.buttonMode = true; DoneSettingsContrast.addEventListener(MouseEvent.MOUSE_UP, function (_arg1:MouseEvent):void{ DoneSettingContrast = true; PlayEffect(4, 0.5, 1); removeChild(DoneSettingsContrast); removeChild(LessContrast); removeChild(MoreContrast); }); LessContrast = this.addChild(new AdjustContrast()); LessContrast.gotoAndStop(4); LessContrast.x = 180; LessContrast.y = 280; LessContrast.mouseChildren = false; LessContrast.buttonMode = true; LessContrast.addEventListener(MouseEvent.MOUSE_UP, function (_arg1:MouseEvent):void{ if (Brightness > 0.3){ PlayEffect(4, 0.5, 1); Brightness = (Brightness - 0.1); colorTransform = ContrastInfo.transform.colorTransform; colorTransform.redMultiplier = ((colorTransform.redMultiplier / Brightness) - 0.1); colorTransform.blueMultiplier = ((colorTransform.blueMultiplier / Brightness) - 0.1); colorTransform.greenMultiplier = ((colorTransform.greenMultiplier / Brightness) - 0.1); colorTransform.redMultiplier = (colorTransform.redMultiplier * Brightness); colorTransform.blueMultiplier = (colorTransform.blueMultiplier * Brightness); colorTransform.greenMultiplier = (colorTransform.greenMultiplier * Brightness); ContrastInfo.transform.colorTransform = colorTransform; }; }); MoreContrast = this.addChild(new AdjustContrast()); MoreContrast.gotoAndStop(3); MoreContrast.x = 340; MoreContrast.y = 280; MoreContrast.mouseChildren = false; MoreContrast.buttonMode = true; MoreContrast.addEventListener(MouseEvent.MOUSE_UP, function (_arg1:MouseEvent):void{ if (Brightness < 5){ PlayEffect(4, 0.5, 1); Brightness = (Brightness + 0.1); colorTransform = ContrastInfo.transform.colorTransform; colorTransform.redMultiplier = ((colorTransform.redMultiplier / Brightness) + 0.1); colorTransform.blueMultiplier = ((colorTransform.blueMultiplier / Brightness) + 0.1); colorTransform.greenMultiplier = ((colorTransform.greenMultiplier / Brightness) + 0.1); colorTransform.redMultiplier = (colorTransform.redMultiplier * Brightness); colorTransform.blueMultiplier = (colorTransform.blueMultiplier * Brightness); colorTransform.greenMultiplier = (colorTransform.greenMultiplier * Brightness); ContrastInfo.transform.colorTransform = colorTransform; }; }); MenuMode = true; MenuSet = false; addEventListener(Event.ENTER_FRAME, onEnterFrame); stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler); stage.addEventListener(KeyboardEvent.KEY_UP, keyUpHandler); } public function onEnterFrame(_arg1){ UpdateGame(); } public function UpdateGame(){ var OpenDoor:Function; var RoomExists:*; var RenderedTiles:*; var TempRaining:*; var n:*; var CurrentDepth:*; var xp:*; var o:*; var i:*; var MaxSizeX:*; var MaxSizeY:*; var yp:*; var PositionInsideRoom:*; var t:*; var CornerPiece:*; var InnerCorner:*; var RotatePiece:*; var XSubOne:*; var XAddOne:*; var YSubOne:*; var YAddOne:*; var ns:*; var OriginalCorner:*; var OldCameraPositionX:*; var OldCameraPositionY:*; var a:*; var UnitRadius:*; var CollideObject:*; var OldXPosition:*; var OldYPosition:*; var CurrentFrame:*; var WeaponAttack:*; var Text:*; var d:*; var AmmoLeft:*; var MaxAmmo:*; var HitAngle:*; var HitDistance:*; var HitDamage:*; var HitSeveral:*; var Distance:*; var p:*; var r:*; var l:*; var Closestangle:*; var PreviousX:*; var PreviousY:*; var NextX:*; var NextY:*; var NextRotation:*; var NumberOfFlames:*; var cr:*; var Rotation:*; var XPosition:*; var YPosition:*; var ra:*; var SourceX:*; var SourceY:*; var DestX:*; var DestY:*; var c:*; var RightUpdated:*; var LeftUpdated:*; var DownUpdated:*; var UpUpdated:*; var ActivatedTrigger:*; var angle:*; var LeftPosition:*; var RightPosition:*; var UpPosition:*; var DownPosition:*; var PositionX:*; var PositionY:*; var XScale:*; var YScale:*; var XSpace:*; var YSpace:*; OpenDoor = function (_arg1, _arg2){ var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:ColorTransform; if (ObjectStringsSplitted[_arg2][_arg1] == ">"){ BlockedTiles[_arg2][_arg1] = false; _local3 = 0; while (_local3 < RenderedRooms.length) { if ((((WallLocationList[_arg1][_arg2] > -1)) && ((RenderedRooms[_local3][3].length > WallLocationList[_arg1][_arg2])))){ if ((((_arg1 == RenderedRooms[_local3][3][WallLocationList[_arg1][_arg2]][4])) && ((_arg2 == RenderedRooms[_local3][3][WallLocationList[_arg1][_arg2]][5])))){ PlayEffect(6, 0.5, 1); _local4 = RenderedRooms[_local3][3][WallLocationList[_arg1][_arg2]][0].rotation; _local5 = RenderedRooms[_local3][3][WallLocationList[_arg1][_arg2]][0].x; _local6 = RenderedRooms[_local3][3][WallLocationList[_arg1][_arg2]][0].y; RenderedRooms[_local3][1].removeChild(RenderedRooms[_local3][3][WallLocationList[_arg1][_arg2]][0]); RenderedRooms[_local3][3][WallLocationList[_arg1][_arg2]][0] = RenderedRooms[_local3][1].addChild(new WallDoorOpen()); _local7 = RenderedRooms[_local3][3][WallLocationList[_arg1][_arg2]][0].transform.colorTransform; _local7.redMultiplier = (((Brightness * _local7.redMultiplier) * (LightStringsSplitted[_arg2][_arg1].charCodeAt() - 97)) * 0.02); _local7.blueMultiplier = (((Brightness * _local7.blueMultiplier) * (LightStringsSplitted[_arg2][_arg1].charCodeAt() - 97)) * 0.02); _local7.greenMultiplier = (((Brightness * _local7.greenMultiplier) * (LightStringsSplitted[_arg2][_arg1].charCodeAt() - 97)) * 0.02); RenderedRooms[_local3][3][WallLocationList[_arg1][_arg2]][0].transform.colorTransform = _local7; RenderedRooms[_local3][3][WallLocationList[_arg1][_arg2]][0].rotation = _local4; RenderedRooms[_local3][3][WallLocationList[_arg1][_arg2]][0].x = _local5; RenderedRooms[_local3][3][WallLocationList[_arg1][_arg2]][0].y = _local6; WallLocationList[_arg1][_arg2] = -1; }; }; _local3++; }; } else { if (TimeUntilReInspection == 0){ TimeUntilReInspection = 120; Text = "Locked"; PlayEffect(5, 0.3, 1); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); }; }; }; if (MenuMode == true){ if (Prologue == false){ if (ContrastSet == false){ if (DoneSettingContrast == true){ ContrastInfo.alpha = (ContrastInfo.alpha - 0.05); if (ContrastInfo.alpha <= 0){ ContrastSet = true; removeChild(ContrastInfo); }; }; } else { if (MenuSet == false){ MenuBackground = addChild(new MenuWave()); MenuBackground.gotoAndStop(1); MenuBackground.x = 0; MenuBackground.y = 0; MenuBackground.alpha = 0; Title = addChild(new TitleText()); Title.x = 275; Title.y = 150; Title.alpha = -3; MenuSet = true; i = 0; while (i < 16) { MenuWaves[i] = addChild(new MenuWave()); MenuWaves[i].gotoAndStop((2 + Math.floor((Math.random() * 6)))); MenuWaves[i].x = (Math.random() * 550); MenuWaves[i].y = (Math.random() * 400); MenuWaves[i].alpha = 0; i++; }; } else { i = 0; while (i < 16) { MenuWaves[i].x = ((MenuWaves[i].x + i) + 1); if (MenuWaves[i].x > 800){ MenuWaves[i].x = -250; MenuWaves[i].y = (Math.random() * 400); }; if (MenuWaves[i].alpha < 0.15){ MenuWaves[i].alpha = (MenuWaves[i].alpha + 0.01); }; i++; }; if (MenuBackground.alpha < 0.8){ MenuBackground.alpha = (MenuBackground.alpha + 0.04); }; if (Title.alpha < 1){ Title.alpha = (Title.alpha + 0.05); } else { if (Title.y > 50){ Title.y = (Title.y - 2); } else { if (Title.y == 50){ Title.y = (Title.y - 2); NewGame = addChild(new StartGameButton()); NewGame.x = 275; NewGame.y = 250; NewGame.alpha = 0; NewGame.mouseChildren = false; NewGame.buttonMode = true; NewGame.addEventListener(MouseEvent.MOUSE_UP, function (_arg1:MouseEvent):void{ if (StartingGame == false){ PlayEffect(4, 0.5, 1); StartingGame = true; }; }); HamsterWorld = addChild(new HamsterWorldButton()); HamsterWorld.x = 10; HamsterWorld.y = 390; HamsterWorld.alpha = 0; HamsterWorld.mouseChildren = false; HamsterWorld.buttonMode = true; HamsterWorld.addEventListener(MouseEvent.MOUSE_UP, function (_arg1:MouseEvent):void{ var _local2:URLRequest; if (StartingGame == false){ PlayEffect(4, 0.5, 1); _local2 = new URLRequest("http://HamsterWorld.No-Ip.Info"); navigateToURL(_local2); }; }); } else { if (StartingGame == true){ if (NewGame.alpha > 0){ NewGame.alpha = (NewGame.alpha - 0.05); } else { removeChild(NewGame); removeChild(HamsterWorld); removeChild(Title); removeChild(MenuBackground); i = 0; while (i < 16) { removeChild(MenuWaves[i]); i++; }; Prologue = true; }; } else { if (NewGame.alpha < 1){ NewGame.alpha = (NewGame.alpha + 0.05); }; if (HamsterWorld.alpha < 1){ HamsterWorld.alpha = (HamsterWorld.alpha + 0.05); }; }; }; }; }; }; }; } else { if (PrologueExists == false){ PrologueClip = addChild(new PrologueField()); PrologueClip.x = 25; PrologueClip.y = 440; PrologueExists = true; Skip = addChild(new SkipClip()); Skip.x = 460; Skip.y = 350; Skip.mouseChildren = false; Skip.buttonMode = true; Skip.addEventListener(MouseEvent.MOUSE_UP, function (_arg1:MouseEvent):void{ PlayEffect(4, 0.5, 1); removeChild(PrologueClip); removeChild(Skip); PrologueExists = false; ResetGame(); MenuMode = false; }); } else { if (PrologueClip.y < -1200){ if (PrologueClip.alpha > 0){ PrologueClip.alpha = (PrologueClip.alpha - 0.05); } else { removeChild(PrologueClip); removeChild(Skip); PrologueExists = false; ResetGame(); MenuMode = false; }; } else { PrologueClip.y = (PrologueClip.y - 1); }; }; }; } else { RoomExists = false; if (RenderedRooms.length > 0){ r = 0; while (r < RenderedRooms.length) { if (RenderedRooms[r][0] == InsideRoom){ RoomExists = true; }; r = (r + 1); }; }; if ((((RoomExists == false)) && ((InsideRoom > -1)))){ PlayAmbient(-1, 1, 0, true); RenderedRooms[RenderedRooms.length] = new Array(); RenderedRooms[(RenderedRooms.length - 1)][0] = InsideRoom; RenderedRooms[(RenderedRooms.length - 1)][2] = new Empty(); this.addChild(RenderedRooms[(RenderedRooms.length - 1)][2]); RenderedRooms[(RenderedRooms.length - 1)][2].alpha = 0.05; RenderedRooms[(RenderedRooms.length - 1)][1] = new Empty(); this.addChild(RenderedRooms[(RenderedRooms.length - 1)][1]); RenderedRooms[(RenderedRooms.length - 1)][1].alpha = 0.05; RenderedRooms[(RenderedRooms.length - 1)][6] = new Empty(); this.addChild(RenderedRooms[(RenderedRooms.length - 1)][6]); RenderedRooms[(RenderedRooms.length - 1)][6].alpha = 0.05; RenderedRooms[(RenderedRooms.length - 1)][7] = new Empty(); this.addChild(RenderedRooms[(RenderedRooms.length - 1)][7]); RenderedRooms[(RenderedRooms.length - 1)][8] = new Array(); RenderedRooms[(RenderedRooms.length - 1)][5] = new Array(10); i = 0; while (i < 10) { RenderedRooms[(RenderedRooms.length - 1)][5][i] = RenderedRooms[(RenderedRooms.length - 1)][1].addChild(new Empty()); i++; }; RenderedRooms[(RenderedRooms.length - 1)][3] = new Array(); RenderedRooms[(RenderedRooms.length - 1)][4] = new Array(); this.rotation = 5; RenderedTiles = new Array(); TempRaining = false; n = 0; while (n < RoomBoxes[InsideRoom][0].length) { if (Objects.length > 0){ o = 0; while (o < Objects.length) { if ((((((((((Objects[o][1] == false)) && ((Objects[o][2] >= (RoomBoxes[InsideRoom][0][n][0][0] * 50))))) && (((Objects[o][2] - 30) <= (RoomBoxes[InsideRoom][0][n][1][0] * 50))))) && ((Objects[o][3] >= (RoomBoxes[InsideRoom][0][n][0][1] * 50))))) && (((Objects[o][3] - 30) <= (RoomBoxes[InsideRoom][0][n][3][1] * 50))))){ if (Objects[o][0] > -1){ ActiveObjects[ActiveObjects.length] = new Array(); ActiveObjects[(ActiveObjects.length - 1)][0] = new Array(); ActiveObjects[(ActiveObjects.length - 1)][3] = new Array(); ActiveObjects[(ActiveObjects.length - 1)][4] = new Array(); ActiveObjects[(ActiveObjects.length - 1)][1] = o; ActiveObjects[(ActiveObjects.length - 1)][2] = (RenderedRooms.length - 1); Objects[o][1] = true; }; switch (Objects[o][0]){ case -1: RoomTitleText.text = Objects[o][4]; RoomTitleTextShadow.text = Objects[o][4]; RoomTitleText.alpha = 2; RoomTitleTextShadow.alpha = 2; break; case 0: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new PlayerL1()); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new PlayerL2()); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new PlayerL3()); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new PlayerL4()); if (SelectedWeapon == 0){ ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].RightHandInstance.gotoAndStop(1); } else { if (SelectedWeapon == 1){ ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].RightHandInstance.gotoAndStop(13); } else { if (SelectedWeapon == 2){ ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].RightHandInstance.gotoAndStop(2); } else { ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].RightHandInstance.gotoAndStop(8); }; }; }; if (GotFlashlight == true){ ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].LeftHandInstance.gotoAndStop(2); } else { ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].LeftHandInstance.gotoAndStop(1); }; ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 4; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new PlayerL5()); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 5; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new PlayerL6()); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 6; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new PlayerL7()); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 7; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new PlayerL8()); if (GotHat == true){ ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].HatInstance.gotoAndStop(1); } else { ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].HatInstance.gotoAndStop(2); }; ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = -1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][6].addChild(new Light()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); break; case 41: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GhoulL1()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleX = 1.2; ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleY = 1.2; ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GhoulL2()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleX = 1.2; ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleY = 1.2; ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GhoulL3()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleX = 1.2; ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleY = 1.2; ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GhoulL4()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleX = 1.2; ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleY = 1.2; ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 4; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GhoulL5()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleX = 1.2; ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleY = 1.2; ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 5; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GhoulL6()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleX = 1.2; ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleY = 1.2; ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 6; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GhoulL7()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleX = 1.2; ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleY = 1.2; ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 7; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GhoulL8()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleX = 1.2; ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleY = 1.2; break; case 42: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 7; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Bat()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndPlay(1); break; case 43: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Worm()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Worm()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Worm()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Worm()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Worm()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Worm()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); break; case 1: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new DiningChair()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new DiningChair()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new DiningChair()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); break; case 2: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new StudyChair()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new StudyChair()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new StudyChair()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); break; case 3: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new DinnerTable()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new DinnerTable()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new DinnerTable()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new DinnerTable()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); break; case 4: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Desk()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Desk()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Desk()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Desk()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); break; case 5: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Drawer()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Drawer()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Drawer()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Drawer()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 4; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Drawer()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); break; case 6: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Nightstand()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Nightstand()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Nightstand()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); break; case 7: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Cabinet()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Cabinet()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Cabinet()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Cabinet()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 4; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Cabinet()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 5; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Cabinet()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(4); break; case 8: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Bookcase()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Bookcase()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Bookcase()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Bookcase()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(4); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 4; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Bookcase()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 5; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Bookcase()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(5); break; case 9: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Bed()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Bed()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Bed()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Bed()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 4; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Bed()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 5; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Bed()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 6; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Bed()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(4); break; case 10: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Bench()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Bench()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Bench()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Bench()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 4; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Bench()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); break; case 11: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Closet()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Closet()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Closet()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Closet()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 4; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Closet()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 5; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Closet()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(4); break; case 12: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new DoorLight()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); break; case 13: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Fridge()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Fridge()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Fridge()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Fridge()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 4; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Fridge()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 5; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Fridge()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(4); break; case 14: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new SmallCrate()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new SmallCrate()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new SmallCrate()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new SmallCrate()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); break; case 15: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new StackedSmallCrates()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new StackedSmallCrates()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new StackedSmallCrates()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new StackedSmallCrates()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 4; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new StackedSmallCrates()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 5; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new StackedSmallCrates()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 6; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new StackedSmallCrates()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 7; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new StackedSmallCrates()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(4); break; case 16: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new LargeCrate()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new LargeCrate()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new LargeCrate()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new LargeCrate()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 4; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new LargeCrate()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); break; case 17: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new LongTable()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new LongTable()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new LongTable()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new LongTable()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); break; case 18: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new RoundTable()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new RoundTable()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new RoundTable()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new RoundTable()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); break; case 19: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Stove()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Stove()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Stove()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Stove()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 4; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Stove()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(4); break; case 20: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Toilet()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Toilet()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Toilet()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Toilet()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 4; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Toilet()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); break; case 21: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Tub()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Tub()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Tub()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Tub()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(4); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 4; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Tub()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(5); break; case 22: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = -2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][6].addChild(new Lightning()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); break; case 50: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = -2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][6].addChild(new Lightning()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); break; case 25: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Altar()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Altar()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Altar()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Altar()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 4; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Altar()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 5; break; case 26: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Bush()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Bush()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Bush()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); break; case 27: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new AlternativeBush()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new AlternativeBush()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new AlternativeBush()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); break; case 28: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new BloodPuddle()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop((1 + Math.round((Math.random() * 4)))); break; case 29: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new BloodStain()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop((1 + Math.round((Math.random() * 4)))); break; case 30: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Bullets()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Bullets()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); break; case 31: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Shells()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Shells()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); break; case 32: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Chest()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Chest()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Chest()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Chest()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); break; case 33: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Revolver()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); break; case 34: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Shotgun()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); break; case 35: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new SmallCrate()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new SmallCrate()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new SmallCrate()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new SmallCrate()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Flashlight()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = -1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][6].addChild(new Light()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); break; case 36: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Pipe()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); break; case 37: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GraveCross()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GraveCross()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GraveCross()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GraveCross()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 4; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GraveCross()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); break; case 38: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GraveDirt()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GraveDirt()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; break; case 39: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GraveStone()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GraveStone()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GraveStone()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GraveStone()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 4; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GraveStone()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); break; case 40: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GardenTree()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GardenTree()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GardenTree()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GardenTree()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 4; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GardenTree()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 5; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GardenTree()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(4); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 6; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GardenTree()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(4); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 7; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new GardenTree()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); break; case 44: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Explosive()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); break; case 45: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Paper()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); break; case 46: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Pentagram()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 2; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Worm()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(3); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleX = 0; ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleY = 0; ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Worm()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleX = 0; ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleY = 0; ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 3; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Worm()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleX = 0; ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleY = 0; ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 4; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Worm()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleX = 0; ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleY = 0; ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 4; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Worm()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleX = 0; ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleY = 0; ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 5; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Worm()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleX = 0; ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleY = 0; ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 5; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Worm()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleX = 0; ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleY = 0; ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 6; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Worm()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleX = 0; ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleY = 0; ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 6; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Worm()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleX = 0; ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleY = 0; ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 7; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Worm()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleX = 0; ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleY = 0; ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 7; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Worm()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(2); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleX = 0; ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleY = 0; ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 8; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new Worm()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleX = 0; ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleY = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][6].addChild(new SceneLight()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleX = 0; ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleY = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][6].addChild(new Paper()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleX = 0; ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].scaleY = 0; break; case 47: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new LouisCorpse()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new BloodPuddle()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop((1 + Math.round((Math.random() * 4)))); ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][6].addChild(new SceneLight()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); break; case 48: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new LindasCorpse()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new BloodPuddle()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop((1 + Math.round((Math.random() * 4)))); ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][6].addChild(new SceneLight()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); break; case 49: ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 1; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new SarahsCorpse()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); ActiveObjects[(ActiveObjects.length - 1)][3][ActiveObjects[(ActiveObjects.length - 1)][3].length] = 0; ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][5][ActiveObjects[(ActiveObjects.length - 1)][3][(ActiveObjects[(ActiveObjects.length - 1)][3].length - 1)]].addChild(new BloodPuddle()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop((1 + Math.round((Math.random() * 4)))); ActiveObjects[(ActiveObjects.length - 1)][0][ActiveObjects[(ActiveObjects.length - 1)][0].length] = RenderedRooms[(RenderedRooms.length - 1)][6].addChild(new SceneLight()); ActiveObjects[(ActiveObjects.length - 1)][0][(ActiveObjects[(ActiveObjects.length - 1)][0].length - 1)].gotoAndStop(1); break; case 23: if (TempRaining == true){ PlayAmbient(19, 0.2, 9999, true); } else { PlayAmbient(18, 0.1, 9999, true); }; break; case 24: TempRaining = true; if (Raining == false){ if (Rain.length == 0){ Rain = new Array(50); i = 0; while (i < 50) { Rain[i] = new Array(); Rain[i][0] = Effects.addChild(new RainLine()); Rain[i][0].x = -100; Rain[i][1] = (100 + (Math.random() * 300)); Rain[i][2] = (Rain[i][1] + (Math.random() * (400 - Rain[i][1]))); Rain[i][3] = (Math.random() * 360); i = (i + 1); }; }; }; break; }; if (ActiveObjects.length > 0){ MaxSizeX = 0; MaxSizeY = 0; i = 0; while (i < ActiveObjects[(ActiveObjects.length - 1)][0].length) { ActiveObjects[(ActiveObjects.length - 1)][0][i].alpha = 1; ActiveObjects[(ActiveObjects.length - 1)][4][i] = 1; if (ActiveObjects[(ActiveObjects.length - 1)][3][i] > -1){ colorTransform = ActiveObjects[(ActiveObjects.length - 1)][0][i].transform.colorTransform; ActiveObjects[(ActiveObjects.length - 1)][4][i] = ((Brightness * (LightStringsSplitted[(Math.round(((Objects[ActiveObjects[(ActiveObjects.length - 1)][1]][3] + 25) / 50)) - 1)][(Math.round(((Objects[ActiveObjects[(ActiveObjects.length - 1)][1]][2] + 25) / 50)) - 1)].charCodeAt() - 97)) * 0.02); colorTransform.redMultiplier = (colorTransform.redMultiplier * ActiveObjects[(ActiveObjects.length - 1)][4][i]); colorTransform.blueMultiplier = (colorTransform.blueMultiplier * ActiveObjects[(ActiveObjects.length - 1)][4][i]); colorTransform.greenMultiplier = (colorTransform.greenMultiplier * ActiveObjects[(ActiveObjects.length - 1)][4][i]); ActiveObjects[(ActiveObjects.length - 1)][0][i].transform.colorTransform = colorTransform; }; if (Objects[o][6] == 2){ ActiveObjects[(ActiveObjects.length - 1)][0][i].rotation = 90; } else { if (Objects[o][6] == 1){ ActiveObjects[(ActiveObjects.length - 1)][0][i].rotation = 180; } else { if (Objects[o][6] == 0){ ActiveObjects[(ActiveObjects.length - 1)][0][i].rotation = 270; }; }; }; if (ActiveObjects[(ActiveObjects.length - 1)][3][i] > 0){ if (ActiveObjects[(ActiveObjects.length - 1)][0][i].width > MaxSizeX){ MaxSizeX = ActiveObjects[(ActiveObjects.length - 1)][0][i].width; }; if (ActiveObjects[(ActiveObjects.length - 1)][0][i].height > MaxSizeY){ MaxSizeY = ActiveObjects[(ActiveObjects.length - 1)][0][i].height; }; }; i = (i + 1); }; if (!((((MaxSizeX == 0)) && ((MaxSizeY == 0))))){ ActiveObjects[(ActiveObjects.length - 1)][5] = (Math.round((MaxSizeX * 0.5)) - 5); ActiveObjects[(ActiveObjects.length - 1)][6] = (Math.round((MaxSizeY * 0.5)) - 5); }; }; }; o = (o + 1); }; }; Raining = TempRaining; xp = RoomBoxes[InsideRoom][0][n][0][0]; while (xp < (RoomBoxes[InsideRoom][0][n][1][0] + 1)) { yp = RoomBoxes[InsideRoom][0][n][1][1]; while (yp < (RoomBoxes[InsideRoom][0][n][2][1] + 1)) { if (RenderedTiles.length > 0){ t = 0; for (;t < RenderedTiles.length;(t = (t + 1))) { if ((((RenderedTiles[t][0] == xp)) && ((RenderedTiles[t][1] == yp)))){ continue; }; }; }; RenderedTiles[RenderedTiles.length] = new Array(); RenderedTiles[(RenderedTiles.length - 1)][0] = xp; RenderedTiles[(RenderedTiles.length - 1)][1] = yp; PositionInsideRoom = new Array(); if ((((((((xp == RoomBoxes[InsideRoom][0][n][0][0])) || ((xp == RoomBoxes[InsideRoom][0][n][1][0])))) || ((yp == RoomBoxes[InsideRoom][0][n][0][1])))) || ((yp == RoomBoxes[InsideRoom][0][n][2][1])))){ if ((((((((((((((((((MapStringsSplitted[yp][xp] == RoomBoxes[InsideRoom][1])) || ((MapStringsSplitted[yp][xp] == "#")))) || ((MapStringsSplitted[yp][xp] == "=")))) || ((MapStringsSplitted[yp][xp] == "|")))) || ((MapStringsSplitted[yp][xp] == "!")))) || ((MapStringsSplitted[yp][xp] == "(")))) || ((MapStringsSplitted[yp][xp] == ")")))) || ((MapStringsSplitted[yp][xp] == "[")))) || ((MapStringsSplitted[yp][xp] == "]")))){ RenderedRooms[(RenderedRooms.length - 1)][3][RenderedRooms[(RenderedRooms.length - 1)][3].length] = new Array(); CornerPiece = false; InnerCorner = false; RotatePiece = 0; XSubOne = false; XAddOne = false; YSubOne = false; YAddOne = false; ns = 0; while (ns < RoomBoxes[InsideRoom][0].length) { if (((((xp - 1) >= RoomBoxes[InsideRoom][0][ns][0][0])) && (((xp - 1) <= RoomBoxes[InsideRoom][0][ns][1][0])))){ XSubOne = true; }; if (((((xp + 1) >= RoomBoxes[InsideRoom][0][ns][0][0])) && (((xp + 1) <= RoomBoxes[InsideRoom][0][ns][1][0])))){ XAddOne = true; }; if (((((yp - 1) >= RoomBoxes[InsideRoom][0][ns][0][1])) && (((yp - 1) <= RoomBoxes[InsideRoom][0][ns][2][1])))){ YSubOne = true; }; if (((((yp + 1) >= RoomBoxes[InsideRoom][0][ns][0][1])) && (((yp + 1) <= RoomBoxes[InsideRoom][0][ns][2][1])))){ YAddOne = true; }; ns = (ns + 1); }; if ((((((((XSubOne == true)) && ((XAddOne == true)))) && ((((((((((((((((((MapStringsSplitted[yp][(xp - 1)] == RoomBoxes[InsideRoom][1])) || ((MapStringsSplitted[yp][(xp - 1)] == "#")))) || ((MapStringsSplitted[yp][(xp - 1)] == "=")))) || ((MapStringsSplitted[yp][(xp - 1)] == "|")))) || ((MapStringsSplitted[yp][(xp - 1)] == "!")))) || ((MapStringsSplitted[yp][(xp - 1)] == "(")))) || ((MapStringsSplitted[yp][(xp - 1)] == ")")))) || ((MapStringsSplitted[yp][(xp - 1)] == "[")))) || ((MapStringsSplitted[yp][(xp - 1)] == "]")))))) && ((((((((((((((((((MapStringsSplitted[yp][(xp + 1)] == RoomBoxes[InsideRoom][1])) || ((MapStringsSplitted[yp][(xp + 1)] == "#")))) || ((MapStringsSplitted[yp][(xp + 1)] == "=")))) || ((MapStringsSplitted[yp][(xp + 1)] == "|")))) || ((MapStringsSplitted[yp][(xp + 1)] == "!")))) || ((MapStringsSplitted[yp][(xp + 1)] == "(")))) || ((MapStringsSplitted[yp][(xp + 1)] == ")")))) || ((MapStringsSplitted[yp][(xp + 1)] == "[")))) || ((MapStringsSplitted[yp][(xp + 1)] == "]")))))){ CornerPiece = false; InnerCorner = false; if (yp == RoomBoxes[InsideRoom][0][n][1][1]){ RotatePiece = 2; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][1] = 3; } else { RotatePiece = 0; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][1] = 1; }; } else { if ((((((((XSubOne == true)) && ((YAddOne == true)))) && ((((((((((((((((((MapStringsSplitted[(yp + 1)][xp] == RoomBoxes[InsideRoom][1])) || ((MapStringsSplitted[(yp + 1)][xp] == "#")))) || ((MapStringsSplitted[(yp + 1)][xp] == "=")))) || ((MapStringsSplitted[(yp + 1)][xp] == "|")))) || ((MapStringsSplitted[(yp + 1)][xp] == "!")))) || ((MapStringsSplitted[(yp + 1)][xp] == "(")))) || ((MapStringsSplitted[(yp + 1)][xp] == ")")))) || ((MapStringsSplitted[(yp + 1)][xp] == "[")))) || ((MapStringsSplitted[(yp + 1)][xp] == "]")))))) && ((((((((((((((((((MapStringsSplitted[yp][(xp - 1)] == RoomBoxes[InsideRoom][1])) || ((MapStringsSplitted[yp][(xp - 1)] == "#")))) || ((MapStringsSplitted[yp][(xp - 1)] == "=")))) || ((MapStringsSplitted[yp][(xp - 1)] == "|")))) || ((MapStringsSplitted[yp][(xp - 1)] == "!")))) || ((MapStringsSplitted[yp][(xp - 1)] == "(")))) || ((MapStringsSplitted[yp][(xp - 1)] == ")")))) || ((MapStringsSplitted[yp][(xp - 1)] == "[")))) || ((MapStringsSplitted[yp][(xp - 1)] == "]")))))){ CornerPiece = true; if ((((xp == RoomBoxes[InsideRoom][0][n][1][0])) && ((yp == RoomBoxes[InsideRoom][0][n][0][1])))){ InnerCorner = true; RotatePiece = 3; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][1] = 7; } else { InnerCorner = false; RotatePiece = 1; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][1] = 11; }; } else { if ((((((((XAddOne == true)) && ((YAddOne == true)))) && ((((((((((((((((((MapStringsSplitted[(yp + 1)][xp] == RoomBoxes[InsideRoom][1])) || ((MapStringsSplitted[(yp + 1)][xp] == "#")))) || ((MapStringsSplitted[(yp + 1)][xp] == "=")))) || ((MapStringsSplitted[(yp + 1)][xp] == "|")))) || ((MapStringsSplitted[(yp + 1)][xp] == "!")))) || ((MapStringsSplitted[(yp + 1)][xp] == "(")))) || ((MapStringsSplitted[(yp + 1)][xp] == ")")))) || ((MapStringsSplitted[(yp + 1)][xp] == "[")))) || ((MapStringsSplitted[(yp + 1)][xp] == "]")))))) && ((((((((((((((((((MapStringsSplitted[yp][(xp + 1)] == RoomBoxes[InsideRoom][1])) || ((MapStringsSplitted[yp][(xp + 1)] == "#")))) || ((MapStringsSplitted[yp][(xp + 1)] == "=")))) || ((MapStringsSplitted[yp][(xp + 1)] == "|")))) || ((MapStringsSplitted[yp][(xp + 1)] == "!")))) || ((MapStringsSplitted[yp][(xp + 1)] == "(")))) || ((MapStringsSplitted[yp][(xp + 1)] == ")")))) || ((MapStringsSplitted[yp][(xp + 1)] == "[")))) || ((MapStringsSplitted[yp][(xp + 1)] == "]")))))){ CornerPiece = true; if ((((xp == RoomBoxes[InsideRoom][0][n][0][0])) && ((yp == RoomBoxes[InsideRoom][0][n][0][1])))){ InnerCorner = true; RotatePiece = 2; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][1] = 6; } else { InnerCorner = false; RotatePiece = 0; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][1] = 10; }; } else { if ((((((((XSubOne == true)) && ((YSubOne == true)))) && ((((((((((((((((((MapStringsSplitted[(yp - 1)][xp] == RoomBoxes[InsideRoom][1])) || ((MapStringsSplitted[(yp - 1)][xp] == "#")))) || ((MapStringsSplitted[(yp - 1)][xp] == "=")))) || ((MapStringsSplitted[(yp - 1)][xp] == "|")))) || ((MapStringsSplitted[(yp - 1)][xp] == "!")))) || ((MapStringsSplitted[(yp - 1)][xp] == "(")))) || ((MapStringsSplitted[(yp - 1)][xp] == ")")))) || ((MapStringsSplitted[(yp - 1)][xp] == "[")))) || ((MapStringsSplitted[(yp - 1)][xp] == "]")))))) && ((((((((((((((((((MapStringsSplitted[yp][(xp - 1)] == RoomBoxes[InsideRoom][1])) || ((MapStringsSplitted[yp][(xp - 1)] == "#")))) || ((MapStringsSplitted[yp][(xp - 1)] == "=")))) || ((MapStringsSplitted[yp][(xp - 1)] == "|")))) || ((MapStringsSplitted[yp][(xp - 1)] == "!")))) || ((MapStringsSplitted[yp][(xp - 1)] == "(")))) || ((MapStringsSplitted[yp][(xp - 1)] == ")")))) || ((MapStringsSplitted[yp][(xp - 1)] == "[")))) || ((MapStringsSplitted[yp][(xp - 1)] == "]")))))){ CornerPiece = true; if ((((xp == RoomBoxes[InsideRoom][0][n][1][0])) && ((yp == RoomBoxes[InsideRoom][0][n][2][1])))){ InnerCorner = true; RotatePiece = 0; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][1] = 4; } else { InnerCorner = false; RotatePiece = 2; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][1] = 8; }; } else { if ((((((((XAddOne == true)) && ((YSubOne == true)))) && ((((((((((((((((((MapStringsSplitted[(yp - 1)][xp] == RoomBoxes[InsideRoom][1])) || ((MapStringsSplitted[(yp - 1)][xp] == "#")))) || ((MapStringsSplitted[(yp - 1)][xp] == "=")))) || ((MapStringsSplitted[(yp - 1)][xp] == "|")))) || ((MapStringsSplitted[(yp - 1)][xp] == "!")))) || ((MapStringsSplitted[(yp - 1)][xp] == "(")))) || ((MapStringsSplitted[(yp - 1)][xp] == ")")))) || ((MapStringsSplitted[(yp - 1)][xp] == "[")))) || ((MapStringsSplitted[(yp - 1)][xp] == "]")))))) && ((((((((((((((((((MapStringsSplitted[yp][(xp + 1)] == RoomBoxes[InsideRoom][1])) || ((MapStringsSplitted[yp][(xp + 1)] == "#")))) || ((MapStringsSplitted[yp][(xp + 1)] == "=")))) || ((MapStringsSplitted[yp][(xp + 1)] == "|")))) || ((MapStringsSplitted[yp][(xp + 1)] == "!")))) || ((MapStringsSplitted[yp][(xp + 1)] == "(")))) || ((MapStringsSplitted[yp][(xp + 1)] == ")")))) || ((MapStringsSplitted[yp][(xp + 1)] == "[")))) || ((MapStringsSplitted[yp][(xp + 1)] == "]")))))){ CornerPiece = true; if ((((xp == RoomBoxes[InsideRoom][0][n][0][0])) && ((yp == RoomBoxes[InsideRoom][0][n][2][1])))){ InnerCorner = true; RotatePiece = 1; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][1] = 5; } else { InnerCorner = false; RotatePiece = 3; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][1] = 9; }; } else { if ((((((((YSubOne == true)) && ((YAddOne == true)))) && ((((((((((((((((((MapStringsSplitted[(yp - 1)][xp] == RoomBoxes[InsideRoom][1])) || ((MapStringsSplitted[(yp - 1)][xp] == "#")))) || ((MapStringsSplitted[(yp - 1)][xp] == "=")))) || ((MapStringsSplitted[(yp - 1)][xp] == "|")))) || ((MapStringsSplitted[(yp - 1)][xp] == "!")))) || ((MapStringsSplitted[(yp - 1)][xp] == "(")))) || ((MapStringsSplitted[(yp - 1)][xp] == ")")))) || ((MapStringsSplitted[(yp - 1)][xp] == "[")))) || ((MapStringsSplitted[(yp - 1)][xp] == "]")))))) && ((((((((((((((((((MapStringsSplitted[(yp + 1)][xp] == RoomBoxes[InsideRoom][1])) || ((MapStringsSplitted[(yp + 1)][xp] == "#")))) || ((MapStringsSplitted[(yp + 1)][xp] == "=")))) || ((MapStringsSplitted[(yp + 1)][xp] == "|")))) || ((MapStringsSplitted[(yp + 1)][xp] == "!")))) || ((MapStringsSplitted[(yp + 1)][xp] == "(")))) || ((MapStringsSplitted[(yp + 1)][xp] == ")")))) || ((MapStringsSplitted[(yp + 1)][xp] == "[")))) || ((MapStringsSplitted[(yp + 1)][xp] == "]")))))){ CornerPiece = false; InnerCorner = false; if (xp == RoomBoxes[InsideRoom][0][n][0][0]){ RotatePiece = 1; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][1] = 2; } else { RotatePiece = 3; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][1] = 0; }; }; }; }; }; }; }; if (CornerPiece == true){ if (InnerCorner == true){ RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0] = RenderedRooms[(RenderedRooms.length - 1)][1].addChild(new WallInnerCorner()); } else { RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0] = RenderedRooms[(RenderedRooms.length - 1)][1].addChild(new WallOuterCorner()); }; } else { if ((((MapStringsSplitted[yp][xp] == RoomBoxes[InsideRoom][1])) || ((MapStringsSplitted[yp][xp] == "#")))){ RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0] = RenderedRooms[(RenderedRooms.length - 1)][1].addChild(new Wall()); } else { if (MapStringsSplitted[yp][xp] == "="){ RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0] = RenderedRooms[(RenderedRooms.length - 1)][1].addChild(new WallAlt()); } else { if (MapStringsSplitted[yp][xp] == "|"){ RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0] = RenderedRooms[(RenderedRooms.length - 1)][1].addChild(new WallSupport()); } else { if (MapStringsSplitted[yp][xp] == "!"){ RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0] = RenderedRooms[(RenderedRooms.length - 1)][1].addChild(new WallLight()); } else { if (MapStringsSplitted[yp][xp] == "("){ RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0] = RenderedRooms[(RenderedRooms.length - 1)][1].addChild(new WallWindowOpen()); } else { if (MapStringsSplitted[yp][xp] == ")"){ RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0] = RenderedRooms[(RenderedRooms.length - 1)][1].addChild(new WallWindowClosed()); } else { if (MapStringsSplitted[yp][xp] == "["){ RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0] = RenderedRooms[(RenderedRooms.length - 1)][1].addChild(new WallDoorOpen()); } else { if (MapStringsSplitted[yp][xp] == "]"){ RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0] = RenderedRooms[(RenderedRooms.length - 1)][1].addChild(new WallDoorClosed()); }; }; }; }; }; }; }; }; }; colorTransform = RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].transform.colorTransform; colorTransform.redMultiplier = (((Brightness * colorTransform.redMultiplier) * (LightStringsSplitted[yp][xp].charCodeAt() - 97)) * 0.02); colorTransform.blueMultiplier = (((Brightness * colorTransform.blueMultiplier) * (LightStringsSplitted[yp][xp].charCodeAt() - 97)) * 0.02); colorTransform.greenMultiplier = (((Brightness * colorTransform.greenMultiplier) * (LightStringsSplitted[yp][xp].charCodeAt() - 97)) * 0.02); RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].transform.colorTransform = colorTransform; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].rotation = Math.round((RotatePiece * 90)); RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].scaleX = 1.001; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].x = ((xp - RoomBoxes[InsideRoom][2]) * 50); RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].y = ((yp - RoomBoxes[InsideRoom][3]) * 50); WallLocationList[xp][yp] = (RenderedRooms[(RenderedRooms.length - 1)][3].length - 1); RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][4] = xp; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][5] = yp; if (RotatePiece == 1){ RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].x = (RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].x + 50); } else { if (RotatePiece == 2){ RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].x = (RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].x + 50); RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].y = (RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].y + 50); } else { if (RotatePiece == 3){ RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].y = (RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].y + 50); }; }; }; if ((((InnerCorner == false)) && ((CornerPiece == true)))){ OriginalCorner = (RenderedRooms[(RenderedRooms.length - 1)][3].length - 1); i = 0; while (i < 2) { RenderedRooms[(RenderedRooms.length - 1)][3][RenderedRooms[(RenderedRooms.length - 1)][3].length] = new Array(2); RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0] = RenderedRooms[(RenderedRooms.length - 1)][1].addChild(new Wall()); RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].x = ((xp - RoomBoxes[InsideRoom][2]) * 50); RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].y = ((yp - RoomBoxes[InsideRoom][3]) * 50); RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][2] = OriginalCorner; colorTransform = RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].transform.colorTransform; colorTransform.redMultiplier = (((Brightness * colorTransform.redMultiplier) * (LightStringsSplitted[yp][xp].charCodeAt() - 97)) * 0.02); colorTransform.blueMultiplier = (((Brightness * colorTransform.blueMultiplier) * (LightStringsSplitted[yp][xp].charCodeAt() - 97)) * 0.02); colorTransform.greenMultiplier = (((Brightness * colorTransform.greenMultiplier) * (LightStringsSplitted[yp][xp].charCodeAt() - 97)) * 0.02); RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].transform.colorTransform = colorTransform; i = (i + 1); }; if (RotatePiece == 0){ RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 2)][0].rotation = 0; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 2)][1] = 1; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].rotation = 270; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][1] = 0; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].y = (RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].y + 50); } else { if (RotatePiece == 1){ RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 2)][0].rotation = 0; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 2)][1] = 1; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].rotation = 90; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][1] = 2; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].x = (RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].x + 50); } else { if (RotatePiece == 2){ RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 2)][0].rotation = 180; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 2)][1] = 3; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 2)][0].x = (RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 2)][0].x + 50); RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 2)][0].y = (RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 2)][0].y + 50); RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].rotation = 90; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][1] = 2; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].x = (RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].x + 50); } else { RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 2)][0].rotation = 180; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 2)][1] = 3; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 2)][0].x = (RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 2)][0].x + 50); RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 2)][0].y = (RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 2)][0].y + 50); RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].rotation = 270; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][1] = 0; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].y = (RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].y + 50); }; }; }; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][3] = RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].x; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][4] = RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 1)][0].y; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 2)][3] = RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 2)][0].x; RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 2)][4] = RenderedRooms[(RenderedRooms.length - 1)][3][(RenderedRooms[(RenderedRooms.length - 1)][3].length - 2)][0].y; }; }; }; if ((((MapStringsSplitted[yp][xp].charCodeAt() > 95)) && ((MapStringsSplitted[yp][xp].charCodeAt() < 124)))){ RenderedRooms[(RenderedRooms.length - 1)][4][RenderedRooms[(RenderedRooms.length - 1)][4].length] = RenderedRooms[(RenderedRooms.length - 1)][2].addChild(new Floor()); RenderedRooms[(RenderedRooms.length - 1)][4][(RenderedRooms[(RenderedRooms.length - 1)][4].length - 1)].gotoAndStop((MapStringsSplitted[yp][xp].charCodeAt() - 96)); colorTransform = RenderedRooms[(RenderedRooms.length - 1)][4][(RenderedRooms[(RenderedRooms.length - 1)][4].length - 1)].transform.colorTransform; colorTransform.redMultiplier = (((Brightness * colorTransform.redMultiplier) * (LightStringsSplitted[yp][xp].charCodeAt() - 97)) * 0.02); colorTransform.blueMultiplier = (((Brightness * colorTransform.blueMultiplier) * (LightStringsSplitted[yp][xp].charCodeAt() - 97)) * 0.02); colorTransform.greenMultiplier = (((Brightness * colorTransform.greenMultiplier) * (LightStringsSplitted[yp][xp].charCodeAt() - 97)) * 0.02); RenderedRooms[(RenderedRooms.length - 1)][4][(RenderedRooms[(RenderedRooms.length - 1)][4].length - 1)].transform.colorTransform = colorTransform; RenderedRooms[(RenderedRooms.length - 1)][4][(RenderedRooms[(RenderedRooms.length - 1)][4].length - 1)].scaleX = 1.01; RenderedRooms[(RenderedRooms.length - 1)][4][(RenderedRooms[(RenderedRooms.length - 1)][4].length - 1)].scaleY = 1.01; RenderedRooms[(RenderedRooms.length - 1)][4][(RenderedRooms[(RenderedRooms.length - 1)][4].length - 1)].x = ((xp - RoomBoxes[InsideRoom][2]) * 50); RenderedRooms[(RenderedRooms.length - 1)][4][(RenderedRooms[(RenderedRooms.length - 1)][4].length - 1)].y = ((yp - RoomBoxes[InsideRoom][3]) * 50); }; yp = (yp + 1); }; xp = (xp + 1); }; n = (n + 1); }; CurrentDepth = 0; r = 0; while (r < RenderedRooms.length) { setChildIndex(RenderedRooms[(RenderedRooms.length - 1)][2], CurrentDepth); CurrentDepth = (CurrentDepth + 1); r = (r + 1); }; r = 0; while (r < RenderedRooms.length) { setChildIndex(RenderedRooms[(RenderedRooms.length - 1)][1], CurrentDepth); CurrentDepth = (CurrentDepth + 1); r = (r + 1); }; setChildIndex(Effects, CurrentDepth); setChildIndex(RenderedRooms[(RenderedRooms.length - 1)][6], (CurrentDepth + 1)); setChildIndex(RenderedRooms[(RenderedRooms.length - 1)][7], (CurrentDepth + 2)); if (RenderedRooms[(RenderedRooms.length - 1)][3].length > 0){ n = 0; while (n < RenderedRooms[(RenderedRooms.length - 1)][3].length) { if (RenderedRooms[(RenderedRooms.length - 1)][3][n][1] < 4){ RenderedRooms[(RenderedRooms.length - 1)][1].setChildIndex(RenderedRooms[(RenderedRooms.length - 1)][3][n][0], 0); }; n = (n + 1); }; }; }; if (RoomTitleText.alpha > 0){ RoomTitleText.alpha = (RoomTitleText.alpha - 0.02); RoomTitleTextShadow.alpha = RoomTitleText.alpha; }; if (InteractionMode > 0){ switch (InteractionMode){ case 1: if (AltModeInitiated == false){ i = 0; while (i < 6) { InteractionClips[i] = Effects.addChild(new Dairy()); InteractionClips[i].gotoAndStop((7 - i)); InteractionClips[i].x = (120 + (i * 5)); InteractionClips[i].y = (20 + (i * 5)); i = (i + 1); }; i = 0; while (i < RenderedRooms.length) { RenderedRooms[i][1].alpha = 0; RenderedRooms[i][2].alpha = 0; RenderedRooms[i][6].alpha = 0; i = (i + 1); }; StatusTextShadow.y = 362; StatusText.y = 360; PreviousText = StatusTextShadow.text; StatusTextShadow.text = "Press Z to switch page - Press X to stop reading"; StatusText.text = "Press Z to switch page - Press X to stop reading"; AltModeInitiated = true; AltModeQuit = false; AltModeTimer = 0; AltModeSelected = 5; AltModeSwitch = false; FoundBook = true; TimeUntilReInspection = 300; Text = "Rituals of necromancy eh.<<<<<<<<<< I wonder where it is.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); Fire = false; } else { if (AltModeQuit == true){ if (StatusTextShadow.alpha > 0){ StatusTextShadow.alpha = (StatusTextShadow.alpha - 0.05); StatusText.alpha = (StatusText.alpha - 0.05); } else { AltModeInitiated = false; InteractionMode = 0; StatusTextShadow.y = 132; StatusText.y = 130; StatusTextShadow.text = PreviousText; StatusText.text = PreviousText; i = 0; while (i < 6) { Effects.removeChild(InteractionClips[i]); i = (i + 1); }; }; } else { if (StatusTextShadow.alpha < 1){ StatusTextShadow.alpha = (StatusTextShadow.alpha + 0.05); StatusText.alpha = (StatusText.alpha + 0.05); }; }; if (AltModeTimer > 0){ i = 0; while (i < 6) { if (AltModeSelected == i){ if (AltModeSwitch == true){ InteractionClips[i].x = (((InteractionClips[i].x * 5) - 150) / 6); InteractionClips[i].y = ((InteractionClips[i].y * 5) / 6); } else { InteractionClips[i].x = (((InteractionClips[i].x * 5) + 137) / 6); InteractionClips[i].y = (((InteractionClips[i].y * 5) + 21) / 6); }; } else { InteractionClips[i].x = (InteractionClips[i].x + 0.167); InteractionClips[i].y = (InteractionClips[i].y + 0.167); }; i = (i + 1); }; AltModeTimer = (AltModeTimer - 1); if (AltModeTimer == 0){ if (AltModeSwitch == true){ AltModeTimer = 15; AltModeSwitch = false; Effects.setChildIndex(InteractionClips[AltModeSelected], 0); } else { AltModeSelected = (AltModeSelected - 1); if (AltModeSelected < 0){ AltModeSelected = 5; }; }; }; }; if ((((((Action == true)) && ((AltModeTimer == 0)))) && ((AltModeQuit == false)))){ AltModeTimer = 15; AltModeSwitch = true; PlayEffect(25, 0.4, 1); }; if ((((((Fire == true)) && ((AltModeTimer == 0)))) && ((AltModeQuit == false)))){ AltModeQuit = true; Fire = false; }; }; break; case 2: if (AltModeInitiated == false){ i = 0; while (i < 9) { InteractionClips[i] = Effects.addChild(new Dairy()); InteractionClips[i].gotoAndStop((16 - i)); InteractionClips[i].x = (120 + (i * 5)); InteractionClips[i].y = (20 + (i * 5)); i = (i + 1); }; i = 0; while (i < RenderedRooms.length) { RenderedRooms[i][1].alpha = 0; RenderedRooms[i][2].alpha = 0; RenderedRooms[i][6].alpha = 0; i = (i + 1); }; StatusTextShadow.y = 362; StatusText.y = 360; PreviousText = StatusTextShadow.text; StatusTextShadow.text = "Press Z to switch page - Press X to stop reading"; StatusText.text = "Press Z to switch page - Press X to stop reading"; AltModeInitiated = true; AltModeQuit = false; AltModeTimer = 0; AltModeSelected = 8; AltModeSwitch = false; Fire = false; } else { if (AltModeQuit == true){ if (StatusTextShadow.alpha > 0){ StatusTextShadow.alpha = (StatusTextShadow.alpha - 0.05); StatusText.alpha = (StatusText.alpha - 0.05); } else { AltModeInitiated = false; InteractionMode = 0; StatusTextShadow.y = 132; StatusText.y = 130; StatusTextShadow.text = PreviousText; StatusText.text = PreviousText; i = 0; while (i < 9) { Effects.removeChild(InteractionClips[i]); i = (i + 1); }; }; } else { if (StatusTextShadow.alpha < 1){ StatusTextShadow.alpha = (StatusTextShadow.alpha + 0.05); StatusText.alpha = (StatusText.alpha + 0.05); }; }; if (AltModeTimer > 0){ i = 0; while (i < 9) { if (AltModeSelected == i){ if (AltModeSwitch == true){ InteractionClips[i].x = (((InteractionClips[i].x * 5) - 150) / 6); InteractionClips[i].y = ((InteractionClips[i].y * 5) / 6); } else { InteractionClips[i].x = (((InteractionClips[i].x * 5) + 137) / 6); InteractionClips[i].y = (((InteractionClips[i].y * 5) + 21) / 6); }; } else { InteractionClips[i].x = (InteractionClips[i].x + 0.167); InteractionClips[i].y = (InteractionClips[i].y + 0.167); }; i = (i + 1); }; AltModeTimer = (AltModeTimer - 1); if (AltModeTimer == 0){ if (AltModeSwitch == true){ AltModeTimer = 15; AltModeSwitch = false; Effects.setChildIndex(InteractionClips[AltModeSelected], 0); } else { AltModeSelected = (AltModeSelected - 1); if (AltModeSelected < 0){ AltModeSelected = 8; }; }; }; }; if ((((((Action == true)) && ((AltModeTimer == 0)))) && ((AltModeQuit == false)))){ AltModeTimer = 15; AltModeSwitch = true; PlayEffect(25, 0.4, 1); }; if ((((((Fire == true)) && ((AltModeTimer == 0)))) && ((AltModeQuit == false)))){ AltModeQuit = true; Fire = false; }; }; break; case 3: if (AltModeInitiated == false){ i = 0; while (i < 3) { InteractionClips[i] = Effects.addChild(new Dairy()); InteractionClips[i].gotoAndStop((19 - i)); InteractionClips[i].x = (120 + (i * 5)); InteractionClips[i].y = (20 + (i * 5)); i = (i + 1); }; i = 0; while (i < RenderedRooms.length) { RenderedRooms[i][1].alpha = 0; RenderedRooms[i][2].alpha = 0; RenderedRooms[i][6].alpha = 0; i = (i + 1); }; StatusTextShadow.y = 362; StatusText.y = 360; PreviousText = StatusTextShadow.text; StatusTextShadow.text = "Press Z to switch page - Press X to stop reading"; StatusText.text = "Press Z to switch page - Press X to stop reading"; AltModeInitiated = true; AltModeQuit = false; AltModeTimer = 0; AltModeSelected = 2; AltModeSwitch = false; Fire = false; } else { if (AltModeQuit == true){ if (StatusTextShadow.alpha > 0){ StatusTextShadow.alpha = (StatusTextShadow.alpha - 0.05); StatusText.alpha = (StatusText.alpha - 0.05); } else { AltModeInitiated = false; InteractionMode = 0; StatusTextShadow.y = 132; StatusText.y = 130; StatusTextShadow.text = PreviousText; StatusText.text = PreviousText; i = 0; while (i < 3) { Effects.removeChild(InteractionClips[i]); i = (i + 1); }; }; } else { if (StatusTextShadow.alpha < 1){ StatusTextShadow.alpha = (StatusTextShadow.alpha + 0.05); StatusText.alpha = (StatusText.alpha + 0.05); }; }; if (AltModeTimer > 0){ i = 0; while (i < 3) { if (AltModeSelected == i){ if (AltModeSwitch == true){ InteractionClips[i].x = (((InteractionClips[i].x * 5) - 150) / 6); InteractionClips[i].y = ((InteractionClips[i].y * 5) / 6); } else { InteractionClips[i].x = (((InteractionClips[i].x * 5) + 137) / 6); InteractionClips[i].y = (((InteractionClips[i].y * 5) + 21) / 6); }; } else { InteractionClips[i].x = (InteractionClips[i].x + 0.167); InteractionClips[i].y = (InteractionClips[i].y + 0.167); }; i = (i + 1); }; AltModeTimer = (AltModeTimer - 1); if (AltModeTimer == 0){ if (AltModeSwitch == true){ AltModeTimer = 15; AltModeSwitch = false; Effects.setChildIndex(InteractionClips[AltModeSelected], 0); } else { AltModeSelected = (AltModeSelected - 1); if (AltModeSelected < 0){ AltModeSelected = 2; }; }; }; }; if ((((((Action == true)) && ((AltModeTimer == 0)))) && ((AltModeQuit == false)))){ AltModeTimer = 15; AltModeSwitch = true; PlayEffect(25, 0.4, 1); }; if ((((((Fire == true)) && ((AltModeTimer == 0)))) && ((AltModeQuit == false)))){ AltModeQuit = true; Fire = false; }; }; break; case 4: if (AltModeInitiated == false){ i = 0; while (i < 3) { InteractionClips[i] = Effects.addChild(new Note()); InteractionClips[i].gotoAndStop((4 - i)); InteractionClips[i].x = (120 + (i * 5)); InteractionClips[i].y = (20 + (i * 5)); i = (i + 1); }; i = 0; while (i < RenderedRooms.length) { RenderedRooms[i][1].alpha = 0; RenderedRooms[i][2].alpha = 0; RenderedRooms[i][6].alpha = 0; i = (i + 1); }; StatusTextShadow.y = 362; StatusText.y = 360; PreviousText = StatusTextShadow.text; StatusTextShadow.text = "Press Z to switch page - Press X to stop reading"; StatusText.text = "Press Z to switch page - Press X to stop reading"; AltModeInitiated = true; AltModeQuit = false; AltModeTimer = 0; AltModeSelected = 2; AltModeSwitch = false; Fire = false; } else { if (AltModeQuit == true){ if (StatusTextShadow.alpha > 0){ StatusTextShadow.alpha = (StatusTextShadow.alpha - 0.05); StatusText.alpha = (StatusText.alpha - 0.05); } else { AltModeInitiated = false; InteractionMode = 0; StatusTextShadow.y = 132; StatusText.y = 130; StatusTextShadow.text = PreviousText; StatusText.text = PreviousText; i = 0; while (i < 3) { Effects.removeChild(InteractionClips[i]); i = (i + 1); }; }; } else { if (StatusTextShadow.alpha < 1){ StatusTextShadow.alpha = (StatusTextShadow.alpha + 0.05); StatusText.alpha = (StatusText.alpha + 0.05); }; }; if (AltModeTimer > 0){ i = 0; while (i < 3) { if (AltModeSelected == i){ if (AltModeSwitch == true){ InteractionClips[i].x = (((InteractionClips[i].x * 5) - 150) / 6); InteractionClips[i].y = ((InteractionClips[i].y * 5) / 6); } else { InteractionClips[i].x = (((InteractionClips[i].x * 5) + 137) / 6); InteractionClips[i].y = (((InteractionClips[i].y * 5) + 21) / 6); }; } else { InteractionClips[i].x = (InteractionClips[i].x + 0.167); InteractionClips[i].y = (InteractionClips[i].y + 0.167); }; i = (i + 1); }; AltModeTimer = (AltModeTimer - 1); if (AltModeTimer == 0){ if (AltModeSwitch == true){ AltModeTimer = 15; AltModeSwitch = false; Effects.setChildIndex(InteractionClips[AltModeSelected], 0); } else { AltModeSelected = (AltModeSelected - 1); if (AltModeSelected < 0){ AltModeSelected = 2; }; }; }; }; if ((((((Action == true)) && ((AltModeTimer == 0)))) && ((AltModeQuit == false)))){ AltModeTimer = 15; AltModeSwitch = true; PlayEffect(25, 0.4, 1); }; if ((((((Fire == true)) && ((AltModeTimer == 0)))) && ((AltModeQuit == false)))){ AltModeQuit = true; Fire = false; }; }; break; case 5: if (AltModeInitiated == false){ InteractionClips[0] = Effects.addChild(new Note()); InteractionClips[0].gotoAndStop(5); InteractionClips[0].x = 145; InteractionClips[0].y = 30; i = 0; while (i < RenderedRooms.length) { RenderedRooms[i][1].alpha = 0; RenderedRooms[i][2].alpha = 0; RenderedRooms[i][6].alpha = 0; i = (i + 1); }; StatusTextShadow.y = 362; StatusText.y = 360; PreviousText = StatusTextShadow.text; StatusTextShadow.text = "Press X to stop reading"; StatusText.text = "Press X to stop reading"; AltModeInitiated = true; AltModeQuit = false; AltModeTimer = 0; AltModeSelected = 0; AltModeSwitch = false; Fire = false; } else { if (AltModeQuit == true){ if (StatusTextShadow.alpha > 0){ StatusTextShadow.alpha = (StatusTextShadow.alpha - 0.05); StatusText.alpha = (StatusText.alpha - 0.05); } else { AltModeInitiated = false; InteractionMode = 0; StatusTextShadow.y = 132; StatusText.y = 130; StatusTextShadow.text = PreviousText; StatusText.text = PreviousText; Effects.removeChild(InteractionClips[0]); }; } else { if (StatusTextShadow.alpha < 1){ StatusTextShadow.alpha = (StatusTextShadow.alpha + 0.05); StatusText.alpha = (StatusText.alpha + 0.05); }; }; if ((((((Fire == true)) && ((AltModeTimer == 0)))) && ((AltModeQuit == false)))){ AltModeQuit = true; Fire = false; if (ReadMemo == false){ ReadMemo = true; TimeUntilReInspection = 300; Text = "<<<<<<<<<<She is also holding a key labeled 'Patricks room'.<<<<<<<<<<<<<"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); ObjectStringsSplitted[27][50] = ">"; }; }; }; break; case 6: if (AltModeInitiated == false){ InteractionClips[0] = Effects.addChild(new Note()); InteractionClips[0].gotoAndStop(6); InteractionClips[0].x = 145; InteractionClips[0].y = 30; i = 0; while (i < RenderedRooms.length) { RenderedRooms[i][1].alpha = 0; RenderedRooms[i][2].alpha = 0; RenderedRooms[i][6].alpha = 0; i = (i + 1); }; StatusTextShadow.y = 362; StatusText.y = 360; PreviousText = StatusTextShadow.text; StatusTextShadow.text = "Press Z to flip page - Press X to stop reading"; StatusText.text = "Press Z to flip page - Press X to stop reading"; AltModeInitiated = true; AltModeQuit = false; AltModeTimer = 0; AltModeSelected = 0; AltModeSwitch = false; Fire = false; } else { if (AltModeQuit == true){ if (StatusTextShadow.alpha > 0){ StatusTextShadow.alpha = (StatusTextShadow.alpha - 0.05); StatusText.alpha = (StatusText.alpha - 0.05); } else { AltModeInitiated = false; InteractionMode = 0; StatusTextShadow.y = 132; StatusText.y = 130; StatusTextShadow.text = PreviousText; StatusText.text = PreviousText; Effects.removeChild(InteractionClips[0]); }; } else { if (StatusTextShadow.alpha < 1){ StatusTextShadow.alpha = (StatusTextShadow.alpha + 0.05); StatusText.alpha = (StatusText.alpha + 0.05); }; }; if (AltModeTimer > 0){ if (AltModeSwitch == true){ InteractionClips[0].x = (InteractionClips[0].x + 6.25); InteractionClips[0].scaleX = (InteractionClips[0].scaleX - 0.05); } else { InteractionClips[0].x = (InteractionClips[0].x - 6.25); InteractionClips[0].scaleX = (InteractionClips[0].scaleX + 0.05); }; AltModeTimer = (AltModeTimer - 1); if (AltModeTimer == 0){ if (AltModeSwitch == true){ AltModeTimer = 20; AltModeSwitch = false; if (AltModeSelected == 0){ AltModeSelected = 1; InteractionClips[0].gotoAndStop(7); } else { AltModeSelected = 0; InteractionClips[0].gotoAndStop(6); }; }; }; }; if ((((((Action == true)) && ((AltModeTimer == 0)))) && ((AltModeQuit == false)))){ AltModeTimer = 20; AltModeSwitch = true; }; if ((((((Fire == true)) && ((AltModeTimer == 0)))) && ((AltModeQuit == false)))){ AltModeQuit = true; Fire = false; }; }; break; case 7: if (AltModeInitiated == false){ InteractionClips[0] = Effects.addChild(new Page()); InteractionClips[0].gotoAndStop(11); InteractionClips[0].x = 145; InteractionClips[0].y = 30; i = 0; while (i < RenderedRooms.length) { RenderedRooms[i][1].alpha = 0; RenderedRooms[i][2].alpha = 0; RenderedRooms[i][6].alpha = 0; i = (i + 1); }; StatusTextShadow.y = 362; StatusText.y = 360; PreviousText = StatusTextShadow.text; StatusTextShadow.text = "Press X to stop reading"; StatusText.text = "Press X to stop reading"; AltModeInitiated = true; AltModeQuit = false; AltModeTimer = 0; AltModeSelected = 0; AltModeSwitch = false; Fire = false; } else { if (AltModeQuit == true){ if (StatusTextShadow.alpha > 0){ StatusTextShadow.alpha = (StatusTextShadow.alpha - 0.05); StatusText.alpha = (StatusText.alpha - 0.05); } else { AltModeInitiated = false; InteractionMode = 0; StatusTextShadow.y = 132; StatusText.y = 130; StatusTextShadow.text = PreviousText; StatusText.text = PreviousText; Effects.removeChild(InteractionClips[0]); }; } else { if (StatusTextShadow.alpha < 1){ StatusTextShadow.alpha = (StatusTextShadow.alpha + 0.05); StatusText.alpha = (StatusText.alpha + 0.05); }; }; if ((((((Fire == true)) && ((AltModeTimer == 0)))) && ((AltModeQuit == false)))){ AltModeQuit = true; Fire = false; }; }; break; case 8: if (AltModeInitiated == false){ InteractionClips[0] = Effects.addChild(new Book()); InteractionClips[0].x = 25; InteractionClips[0].y = 30; InteractionClips[1] = Effects.addChild(new Page()); InteractionClips[1].gotoAndStop(3); InteractionClips[1].scaleX = -0.94; InteractionClips[1].x = 275; InteractionClips[1].y = 30; InteractionClips[2] = Effects.addChild(new Page()); InteractionClips[2].gotoAndStop(4); InteractionClips[2].scaleX = 0.94; InteractionClips[2].x = 275; InteractionClips[2].y = 30; InteractionClips[3] = Effects.addChild(new Page()); InteractionClips[3].gotoAndStop(4); InteractionClips[3].scaleX = 0.94; InteractionClips[3].x = 275; InteractionClips[3].y = 30; i = 0; while (i < RenderedRooms.length) { RenderedRooms[i][1].alpha = 0; RenderedRooms[i][2].alpha = 0; RenderedRooms[i][6].alpha = 0; i = (i + 1); }; StatusTextShadow.y = 362; StatusText.y = 360; PreviousText = StatusTextShadow.text; StatusTextShadow.text = "Press Z to turn page - Press X to stop reading"; StatusText.text = "Press Z to turn page - Press X to stop reading"; AltModeInitiated = true; AltModeQuit = false; AltModeTimer = 0; AltModeSelected = 0; AltModeSwitch = false; Fire = false; } else { if (AltModeQuit == true){ if (StatusTextShadow.alpha > 0){ StatusTextShadow.alpha = (StatusTextShadow.alpha - 0.05); StatusText.alpha = (StatusText.alpha - 0.05); } else { AltModeInitiated = false; InteractionMode = 0; StatusTextShadow.y = 132; StatusText.y = 130; StatusTextShadow.text = PreviousText; StatusText.text = PreviousText; i = 0; while (i < 4) { Effects.removeChild(InteractionClips[i]); i = (i + 1); }; }; } else { if (StatusTextShadow.alpha < 1){ StatusTextShadow.alpha = (StatusTextShadow.alpha + 0.05); StatusText.alpha = (StatusText.alpha + 0.05); }; }; if (AltModeTimer > 0){ InteractionClips[3].scaleX = (InteractionClips[3].scaleX - 0.065); AltModeTimer = (AltModeTimer - 1); if (AltModeTimer == 0){ if (AltModeSwitch == true){ AltModeTimer = 15; AltModeSwitch = false; InteractionClips[3].gotoAndStop((3 + (AltModeSelected * 2))); } else { InteractionClips[3].scaleX = 0.94; InteractionClips[1].gotoAndStop((3 + (AltModeSelected * 2))); InteractionClips[3].gotoAndStop(((3 + (AltModeSelected * 2)) + 1)); if (AltModeSelected == 3){ ReadBook = true; TimeUntilReInspection = 300; Text = "I found the East Wing key.<<<<<<<<<<<<<<<"; Text = ((Text + "\n ") + " Seems like Sarah was using it as a bookmark.<<<<<<<<<<<<<<<<<<<<<<<<<"); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); ObjectStringsSplitted[17][31] = "<"; ObjectStringsSplitted[18][31] = "<"; BlockedTiles[17][31] = true; BlockedTiles[18][31] = true; ObjectStringsSplitted[19][43] = ">"; ObjectStringsSplitted[28][43] = ">"; Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 41; Objects[(Objects.length - 1)][4] = 0; Objects[(Objects.length - 1)][5] = 0; Objects[(Objects.length - 1)][6] = 0; Objects[(Objects.length - 1)][7] = 0; Objects[(Objects.length - 1)][8] = 0; Objects[(Objects.length - 1)][9] = 0; Objects[(Objects.length - 1)][10] = 0; Objects[(Objects.length - 1)][11] = 110; Objects[(Objects.length - 1)][14] = 0; Objects[(Objects.length - 1)][2] = ((28 * 50) + 25); Objects[(Objects.length - 1)][3] = ((19 * 50) + 25); Objects[(Objects.length - 1)][1] = false; }; }; }; }; if ((((((((Action == true)) && ((AltModeTimer == 0)))) && ((AltModeQuit == false)))) && ((AltModeSelected < 3)))){ AltModeTimer = 15; AltModeSwitch = true; AltModeSelected = (AltModeSelected + 1); InteractionClips[2].gotoAndStop(((3 + (AltModeSelected * 2)) + 1)); PlayEffect(25, 0.4, 1); }; if ((((((Fire == true)) && ((AltModeTimer == 0)))) && ((AltModeQuit == false)))){ AltModeQuit = true; Fire = false; }; }; break; case 9: if (AltModeInitiated == false){ InteractionClips[0] = Effects.addChild(new CombinationLock()); InteractionClips[0].x = 185; InteractionClips[0].y = 160; InteractionClips[1] = Effects.addChild(new CombinationLockNumber()); InteractionClips[1].gotoAndStop(1); InteractionClips[1].x = 197; InteractionClips[1].y = 172; InteractionClips[2] = Effects.addChild(new CombinationLockNumber()); InteractionClips[2].gotoAndStop(1); InteractionClips[2].x = 237; InteractionClips[2].y = 172; InteractionClips[3] = Effects.addChild(new CombinationLockNumber()); InteractionClips[3].gotoAndStop(1); InteractionClips[3].x = 277; InteractionClips[3].y = 172; InteractionClips[4] = Effects.addChild(new CombinationLockNumber()); InteractionClips[4].gotoAndStop(1); InteractionClips[4].x = 317; InteractionClips[4].y = 172; InteractionClips[5] = Effects.addChild(new CombinationLockHighlight()); InteractionClips[5].x = 197; InteractionClips[5].y = 172; i = 0; while (i < RenderedRooms.length) { RenderedRooms[i][1].alpha = 0; RenderedRooms[i][2].alpha = 0; RenderedRooms[i][6].alpha = 0; i = (i + 1); }; StatusTextShadow.y = 362; StatusText.y = 360; PreviousText = StatusTextShadow.text; StatusTextShadow.text = "Press X to leave"; StatusText.text = "Press X to leave"; AltModeInitiated = true; AltModeQuit = false; AltModeTimer = 0; AltModeSelected = 0; AltModeSwitch = false; Fire = false; } else { if (AltModeQuit == true){ if (StatusTextShadow.alpha > 0){ StatusTextShadow.alpha = (StatusTextShadow.alpha - 0.05); StatusText.alpha = (StatusText.alpha - 0.05); } else { AltModeInitiated = false; InteractionMode = 0; StatusTextShadow.y = 132; StatusText.y = 130; StatusTextShadow.text = PreviousText; StatusText.text = PreviousText; i = 0; while (i < 6) { Effects.removeChild(InteractionClips[i]); i = (i + 1); }; }; } else { if (StatusTextShadow.alpha < 1){ StatusTextShadow.alpha = (StatusTextShadow.alpha + 0.05); StatusText.alpha = (StatusText.alpha + 0.05); }; }; if (AltModeQuit == false){ if ((((Left == true)) && ((AltModeSelected > 0)))){ AltModeSelected = (AltModeSelected - 1); InteractionClips[5].x = (InteractionClips[5].x - 40); Left = false; } else { if ((((Right == true)) && ((AltModeSelected < 3)))){ AltModeSelected = (AltModeSelected + 1); InteractionClips[5].x = (InteractionClips[5].x + 40); Right = false; }; }; if (Up == true){ if (InteractionClips[(1 + AltModeSelected)].currentFrame == 10){ InteractionClips[(1 + AltModeSelected)].gotoAndStop(1); } else { InteractionClips[(1 + AltModeSelected)].gotoAndStop((InteractionClips[(1 + AltModeSelected)].currentFrame + 1)); }; Up = false; PlayEffect(4, 0.4, 1); } else { if (Down == true){ if (InteractionClips[(1 + AltModeSelected)].currentFrame == 1){ InteractionClips[(1 + AltModeSelected)].gotoAndStop(10); } else { InteractionClips[(1 + AltModeSelected)].gotoAndStop((InteractionClips[(1 + AltModeSelected)].currentFrame - 1)); }; Down = false; PlayEffect(4, 0.4, 1); }; }; if ((((((((InteractionClips[1].currentFrame == 4)) && ((InteractionClips[2].currentFrame == 2)))) && ((InteractionClips[3].currentFrame == 7)))) && ((InteractionClips[4].currentFrame == 9)))){ d = 0; while (d < ActiveObjects.length) { if (Objects[ActiveObjects[d][1]][0] == 32){ Objects[ActiveObjects[d][1]][7] = 45; }; d = (d + 1); }; TimeUntilReInspection = 300; WakeUp(); Text = "Got it!<<<<<<<<<<<<<<<<<<<<"; Text = ((Text + "\n ") + "The locker is full of different tools.<<<<<<<<<<<<<"); Text = ((Text + "\n ") + "I found a key labeled 'South Wing'.<<<<<<<<<<<<<<<<<<<<<<<<<"); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); AltModeQuit = true; ObjectStringsSplitted[29][15] = ">"; ObjectStringsSplitted[29][32] = ">"; ObjectStringsSplitted[29][48] = ">"; ObjectStringsSplitted[36][22] = ">"; ObjectStringsSplitted[36][48] = ">"; BlockedTiles[46][32] = false; }; }; if ((((Fire == true)) && ((AltModeQuit == false)))){ AltModeQuit = true; Fire = false; }; }; break; case 10: if (AltModeInitiated == false){ InteractionClips[0] = Effects.addChild(new PentagramGame()); InteractionClips[0].gotoAndPlay(1); InteractionClips[0].x = 168; InteractionClips[0].y = 80; InteractionClips[1] = Effects.addChild(new PentagramSelected()); InteractionClips[1].gotoAndStop(1); InteractionClips[1].x = 250; InteractionClips[1].y = 259; InteractionClips[2] = Effects.addChild(new PentagramSelected()); InteractionClips[2].gotoAndStop(1); InteractionClips[2].x = 170; InteractionClips[2].y = 197; InteractionClips[3] = Effects.addChild(new PentagramSelected()); InteractionClips[3].gotoAndStop(1); InteractionClips[3].x = 192; InteractionClips[3].y = 103; InteractionClips[4] = Effects.addChild(new PentagramSelected()); InteractionClips[4].gotoAndStop(1); InteractionClips[4].x = 313; InteractionClips[4].y = 96; InteractionClips[5] = Effects.addChild(new PentagramSelected()); InteractionClips[5].gotoAndStop(1); InteractionClips[5].x = 341; InteractionClips[5].y = 199; InteractionClips[6] = Effects.addChild(new PentagramHighlight()); InteractionClips[6].x = 250; InteractionClips[6].y = 259; i = 0; while (i < RenderedRooms.length) { RenderedRooms[i][1].alpha = 0; RenderedRooms[i][2].alpha = 0; RenderedRooms[i][6].alpha = 0; i = (i + 1); }; StatusTextShadow.y = 362; StatusText.y = 360; PreviousText = StatusTextShadow.text; StatusTextShadow.text = "Press Z to set candle - Press X to leave"; StatusText.text = "Press Z to set candle - Press X to leave"; AltModeInitiated = true; AltModeQuit = false; AltModeTimer = 0; AltModeSelected = 0; AltModeSwitch = false; Fire = false; } else { if (AltModeQuit == true){ if (StatusTextShadow.alpha > 0){ StatusTextShadow.alpha = (StatusTextShadow.alpha - 0.05); StatusText.alpha = (StatusText.alpha - 0.05); } else { AltModeInitiated = false; InteractionMode = 0; StatusTextShadow.y = 132; StatusText.y = 130; StatusTextShadow.text = PreviousText; StatusText.text = PreviousText; i = 0; while (i < 7) { Effects.removeChild(InteractionClips[i]); i = (i + 1); }; }; } else { if (StatusTextShadow.alpha < 1){ StatusTextShadow.alpha = (StatusTextShadow.alpha + 0.05); StatusText.alpha = (StatusText.alpha + 0.05); }; }; if (AltModeQuit == false){ if (Left == true){ if (AltModeSelected > 0){ AltModeSelected = (AltModeSelected - 1); } else { AltModeSelected = 4; }; Left = false; } else { if (Right == true){ if (AltModeSelected < 4){ AltModeSelected = (AltModeSelected + 1); } else { AltModeSelected = 0; }; Right = false; }; }; switch (AltModeSelected){ case 0: InteractionClips[6].x = 250; InteractionClips[6].y = 259; break; case 1: InteractionClips[6].x = 170; InteractionClips[6].y = 197; break; case 2: InteractionClips[6].x = 192; InteractionClips[6].y = 103; break; case 3: InteractionClips[6].x = 313; InteractionClips[6].y = 96; break; case 4: InteractionClips[6].x = 341; InteractionClips[6].y = 199; break; }; }; if ((((Action == true)) && ((AltModeQuit == false)))){ PlayEffect(20, 0.5, 1); if (InteractionClips[(1 + AltModeSelected)].currentFrame > 1){ InteractionClips[(1 + AltModeSelected)].gotoAndStop(1); } else { InteractionClips[(1 + AltModeSelected)].gotoAndPlay(2); }; Action = false; }; if ((((Fire == true)) && ((AltModeQuit == false)))){ AltModeQuit = true; Fire = false; if ((((((((((InteractionClips[1].currentFrame == 1)) && ((InteractionClips[2].currentFrame == 1)))) && ((InteractionClips[3].currentFrame > 1)))) && ((InteractionClips[4].currentFrame > 1)))) && ((InteractionClips[5].currentFrame > 1)))){ PentagramState = 2; CutsceneMode = 350; CameraFocus = 46; TimeUntilLightning = 10; TimeUntilReInspection = 300; Text = "<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Feels like the whole cave is coming down!"; Text = ((Text + "\n ") + "<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"); Text = ((Text + "\n ") + "What<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< is that thing!?"); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); d = 0; while (d < ActiveObjects.length) { if (Objects[ActiveObjects[d][1]][0] == 46){ ActiveObjects[d][0][0].gotoAndPlay(7); Objects[ActiveObjects[d][1]][4] = 1; }; d = (d + 1); }; }; }; }; break; case 11: if (AltModeInitiated == false){ InteractionClips[0] = Effects.addChild(new Page()); InteractionClips[0].gotoAndStop(2); InteractionClips[0].x = 145; InteractionClips[0].y = 30; i = 0; while (i < RenderedRooms.length) { RenderedRooms[i][1].alpha = 0; RenderedRooms[i][2].alpha = 0; RenderedRooms[i][6].alpha = 0; i = (i + 1); }; StatusTextShadow.y = 362; StatusText.y = 360; PreviousText = StatusTextShadow.text; StatusTextShadow.text = "Press X to stop reading"; StatusText.text = "Press X to stop reading"; AltModeInitiated = true; AltModeQuit = false; AltModeTimer = 0; AltModeSelected = 0; AltModeSwitch = false; Fire = false; } else { if (AltModeQuit == true){ if (StatusTextShadow.alpha > 0){ StatusTextShadow.alpha = (StatusTextShadow.alpha - 0.05); StatusText.alpha = (StatusText.alpha - 0.05); } else { AltModeInitiated = false; InteractionMode = 0; StatusTextShadow.y = 132; StatusText.y = 130; StatusTextShadow.text = PreviousText; StatusText.text = PreviousText; Effects.removeChild(InteractionClips[0]); }; } else { if (StatusTextShadow.alpha < 1){ StatusTextShadow.alpha = (StatusTextShadow.alpha + 0.05); StatusText.alpha = (StatusText.alpha + 0.05); }; }; if ((((Fire == true)) && ((AltModeTimer == 0)))){ AltModeQuit = true; Fire = false; }; }; }; } else { if (TimeUntilReInspection > 0){ TimeUntilReInspection = (TimeUntilReInspection - 1); }; CameraPositionX = (((CameraPositionX * 5) + (CameraTargetX - (ResolutionX * 0.5))) / 6); CameraPositionY = (((CameraPositionY * 5) + (CameraTargetY - (ResolutionY * 0.5))) / 6); OldCameraPositionX = CameraPositionX; OldCameraPositionY = CameraPositionY; if (ToRenderStatusText.length > 0){ if (ToRenderStatusText[0].length > 0){ StatusText.alpha = 2; StatusTextShadow.alpha = 2; if (ToRenderStatusText[0][0] == "\n "){ StatusText.appendText("\n "); ToRenderStatusText[0].shift(); ToRenderStatusText[0].shift(); } else { if (ToRenderStatusText[0][0] == "|"){ StatusText.alpha = 0; StatusTextShadow.alpha = 0; ToRenderStatusText[0].shift(); } else { if (ToRenderStatusText[0][0] == "<"){ ToRenderStatusText[0].shift(); } else { if (ToRenderStatusText[0][0] == "%"){ InteractionMode = parseInt((ToRenderStatusText[0][1] + ToRenderStatusText[0][2])); ToRenderStatusText[0].shift(); ToRenderStatusText[0].shift(); ToRenderStatusText[0].shift(); } else { StatusText.appendText(ToRenderStatusText[0].shift()); }; }; }; }; StatusTextShadow.text = StatusText.text; } else { StatusText.alpha = (StatusText.alpha - 0.04); StatusTextShadow.alpha = StatusText.alpha; if (StatusText.alpha <= 0){ StatusText.alpha = 0; StatusTextShadow.alpha = 0; StatusText.text = ""; StatusTextShadow.text = ""; ToRenderStatusText.shift(); }; }; } else { StatusText.text = ""; StatusTextShadow.text = ""; TimeUntilReInspection = 0; }; if (TimeUntilLightning > 0){ TimeUntilLightning = (TimeUntilLightning - 1); } else { TimeUntilLightning = (200 + Math.round((Math.random() * 200))); }; if (PlayerAlive == true){ NoiseClip.alpha = ((600 - ClosestEnemyDistance) / 2000); } else { if (NoiseClip.alpha < 1){ NoiseClip.alpha = (NoiseClip.alpha + 0.005); PlayMusic(-1, (0.25 - (NoiseClip.alpha * 0.25)), 0, false); if (NoiseClip.alpha >= 1){ PlayMusic(33, 0.4, 1, true); PlayAmbient(-1, 1, 0, true); }; } else { InsideRoom = -1; if (GameOver0.alpha < 1){ GameOver0.alpha = (GameOver0.alpha + 0.01); GameOver0.rotation = (GameOver0.rotation + 0.7); GameOver1.alpha = (GameOver1.alpha + 0.01); GameOver1.rotation = (GameOver1.rotation + 0.35); GameOver2.alpha = (GameOver2.alpha + 0.01); GameOver2.rotation = (GameOver2.rotation - 0.35); GameOver3.alpha = (GameOver3.alpha + 0.01); GameOver3.rotation = (GameOver3.rotation - 0.7); } else { if (GameOver0.alpha < 2.2){ GameOver0.alpha = (GameOver0.alpha + 0.01); if (GameOver0.alpha > 1.8){ PlayMusic(-1, (0.4 - (0.4 - (2.2 - GameOver0.alpha))), 0, false); }; } else { rotation = 0; PlayMusic(36, 1.2, 9999, true); MenuMode = true; Effects.removeChild(GameOver0); Effects.removeChild(GameOver1); Effects.removeChild(GameOver2); Effects.removeChild(GameOver3); }; }; }; }; if (ClosestEnemyDistance < 500){ ClosestEnemyDistance = (ClosestEnemyDistance + 10); }; if (CutsceneMode > 0){ CutsceneMode = (CutsceneMode - 1); NoiseClip.alpha = 0.2; if (CutsceneMode == 0){ PlayAmbient(-1, 0.1, 1, false); }; }; if (ActiveObjects.length > 0){ a = 0; while (a < ActiveObjects.length) { UnitRadius = 0; CollideObject = false; OldXPosition = 0; OldYPosition = 0; CurrentFrame = 0; if ((((CutsceneMode > 0)) && ((Objects[ActiveObjects[a][1]][0] == CameraFocus)))){ CameraTargetX = (Objects[ActiveObjects[a][1]][2] - 20); CameraTargetY = (Objects[ActiveObjects[a][1]][3] + 15); }; switch (Objects[ActiveObjects[a][1]][0]){ case 0: OldXPosition = Objects[ActiveObjects[a][1]][2]; OldYPosition = Objects[ActiveObjects[a][1]][3]; UnitRadius = 20; CollideObject = true; if (RenderedRooms[ActiveObjects[a][2]][0] == InsideRoom){ if ((((ActiveObjects[a][0][0].currentFrame < 198)) && ((CutsceneMode == 0)))){ if (Objects[ActiveObjects[a][1]][8] > 1){ if (PlayerReloadTime > 0){ PlayerReloadTime = (PlayerReloadTime - 1); }; Objects[ActiveObjects[a][1]][8] = (Objects[ActiveObjects[a][1]][8] - 1); if ((((((((PlayerReloadTime > 0)) && ((Action == false)))) && ((ReloadWeapon == false)))) || ((PlayerHurt == true)))){ Objects[ActiveObjects[a][1]][8] = 0; PlayerReloadTime = 0; ActiveObjects[a][0][8].gotoAndPlay(8); CurrentFrame = 139; }; } else { if (Left == true){ Objects[ActiveObjects[a][1]][4] = (Objects[ActiveObjects[a][1]][4] - 7); if (Objects[ActiveObjects[a][1]][4] < 0){ Objects[ActiveObjects[a][1]][4] = (360 - Objects[ActiveObjects[a][1]][4]); }; }; if (Right == true){ Objects[ActiveObjects[a][1]][4] = (Objects[ActiveObjects[a][1]][4] + 7); if (Objects[ActiveObjects[a][1]][4] > 360){ Objects[ActiveObjects[a][1]][4] = (Objects[ActiveObjects[a][1]][4] - 360); }; }; if ((((((Up == true)) && ((ActiveObjects[a][0][0].currentFrame > 80)))) && ((ActiveObjects[a][0][0].currentFrame < 106)))){ Objects[ActiveObjects[a][1]][5] = (((Objects[ActiveObjects[a][1]][5] * 2) - 5) / 3); } else { if ((((((Down == true)) && ((ActiveObjects[a][0][0].currentFrame > 80)))) && ((ActiveObjects[a][0][0].currentFrame < 106)))){ Objects[ActiveObjects[a][1]][5] = (((Objects[ActiveObjects[a][1]][5] * 2) + 5) / 3); } else { Objects[ActiveObjects[a][1]][5] = (Objects[ActiveObjects[a][1]][5] * 0.5); }; }; if (PlayerHeld == false){ Objects[ActiveObjects[a][1]][2] = (Objects[ActiveObjects[a][1]][2] + (Objects[ActiveObjects[a][1]][5] * Math.sin((Objects[ActiveObjects[a][1]][4] * (Math.PI / 180))))); Objects[ActiveObjects[a][1]][3] = (Objects[ActiveObjects[a][1]][3] - (Objects[ActiveObjects[a][1]][5] * Math.cos((Objects[ActiveObjects[a][1]][4] * (Math.PI / 180))))); } else { PlayerHeld = false; }; PlayersLastXPosition = Objects[ActiveObjects[a][1]][2]; PlayersLastYPosition = Objects[ActiveObjects[a][1]][3]; if (ChangeWeapon == true){ ChangeWeapon = false; PlayEffect(4, 0.5, 1); if (SelectedWeapon > 0){ if (SelectedWeapon == 1){ if (GotRevolver == true){ SelectedWeapon = 2; } else { if (GotShotgun == true){ SelectedWeapon = 3; }; }; } else { if (SelectedWeapon == 2){ if (GotShotgun == true){ SelectedWeapon = 3; } else { if (GotPipe == true){ SelectedWeapon = 1; }; }; } else { if (SelectedWeapon == 3){ if (GotPipe == true){ SelectedWeapon = 1; } else { if (GotRevolver == true){ SelectedWeapon = 2; }; }; }; }; }; }; }; if (ActiveObjects[a][0][0].currentFrame < 106){ if (((!((ActiveObjects[a][0][3].RightHandInstance.currentFrame == 13))) && ((SelectedWeapon == 1)))){ if (RoomTitleText.alpha <= 0){ RoomTitleText.text = "Pipe equipped"; RoomTitleTextShadow.text = "Pipe equipped"; }; RoomTitleText.alpha = 2; RoomTitleTextShadow.alpha = 2; ActiveObjects[a][0][3].RightHandInstance.gotoAndStop(13); } else { if (((!((((ActiveObjects[a][0][3].RightHandInstance.currentFrame > 2)) && ((ActiveObjects[a][0][3].RightHandInstance.currentFrame < 7))))) && ((SelectedWeapon == 2)))){ if (RoomTitleText.alpha <= 0){ RoomTitleText.text = "Revolver equipped"; RoomTitleTextShadow.text = "Revolver equipped"; }; RoomTitleText.alpha = 2; RoomTitleTextShadow.alpha = 2; ActiveObjects[a][0][3].RightHandInstance.gotoAndStop(3); } else { if (((!((((ActiveObjects[a][0][3].RightHandInstance.currentFrame > 7)) && ((ActiveObjects[a][0][3].RightHandInstance.currentFrame < 12))))) && ((SelectedWeapon == 3)))){ if (RoomTitleText.alpha <= 0){ RoomTitleText.text = "Shotgun equipped"; RoomTitleTextShadow.text = "Shotgun equipped"; }; RoomTitleText.alpha = 2; RoomTitleTextShadow.alpha = 2; ActiveObjects[a][0][3].RightHandInstance.gotoAndStop(8); }; }; }; if (ReloadWeapon == true){ if ((((SelectedWeapon == 2)) && ((LoadedBullets < 6)))){ if (NumberOfBullets <= 0){ if ((((StatusText.alpha <= 0)) && ((LoadedBullets == 0)))){ PlayEffect(4, 0.5, 1); StatusText.text = "No bullets left"; StatusTextShadow.text = "No bullets left"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; }; ReloadWeapon = false; } else { PlayEffect(11, 1.3, 1); CurrentFrame = 125; PlayerReloadTime = 50; Objects[ActiveObjects[a][1]][8] = 50; Text = "Reloading..."; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); }; } else { if ((((SelectedWeapon == 3)) && ((LoadedShells < 2)))){ if (NumberOfShells <= 0){ if ((((StatusText.alpha <= 0)) && ((LoadedShells == 0)))){ PlayEffect(4, 0.5, 1); StatusText.text = "No shells left"; StatusTextShadow.text = "No shells left"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; }; ReloadWeapon = false; } else { PlayEffect(22, 0.5, (2 - LoadedShells)); CurrentFrame = 125; PlayerReloadTime = 30; Objects[ActiveObjects[a][1]][8] = 30; Text = "Reloading..."; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); }; } else { ReloadWeapon = false; }; }; }; }; if (PlayerRefireTime > 0){ PlayerRefireTime = (PlayerRefireTime - 1); }; if ((((GotFlashlight == true)) && ((ActiveObjects[a][0][3].LeftHandInstance.currentFrame == 1)))){ RoomTitleText.text = "Flashlight equipped"; RoomTitleTextShadow.text = "Flashlight equipped"; RoomTitleText.alpha = 2; RoomTitleTextShadow.alpha = 2; ActiveObjects[a][0][3].LeftHandInstance.gotoAndStop(2); }; if ((((GotHat == false)) && ((ActiveObjects[a][0][7].HatInstance.currentFrame == 1)))){ ActiveObjects[a][0][7].HatInstance.gotoAndStop(2); }; if ((((ActiveObjects[a][0][0].currentFrame == 86)) || ((ActiveObjects[a][0][0].currentFrame == 111)))){ PlayEffect(16, 0.3, 1); } else { if ((((ActiveObjects[a][0][0].currentFrame == 95)) || ((ActiveObjects[a][0][0].currentFrame == 120)))){ PlayEffect(17, 0.3, 1); }; }; if (Raining == false){ if ((Math.round((Math.random() * 250)) == 1)){ if ((Math.floor((Math.random() * 2)) == 1)){ PlayEffect(0, 0.2, 1); } else { PlayEffect(1, 0.2, 1); }; }; }; WeaponAttack = 0; if (PlayerHP <= 0){ PlayerHP = -1; PlayEffect(31, 0.4, 1); TimeUntilLightning = 10; GameOver0 = Effects.addChild(new GameOver()); GameOver0.x = 0x0101; GameOver0.y = 193; GameOver0.alpha = 0; GameOver0.rotation = (265 + 5); GameOver1 = Effects.addChild(new GameOver()); GameOver1.x = 0x0101; GameOver1.y = 193; GameOver1.alpha = 0; GameOver1.rotation = (310 + 5); GameOver2 = Effects.addChild(new GameOver()); GameOver2.x = 0x0101; GameOver2.y = 193; GameOver2.alpha = 0; GameOver2.rotation = (40 + 5); GameOver3 = Effects.addChild(new GameOver()); GameOver3.x = 0x0101; GameOver3.y = 193; GameOver3.alpha = 0; GameOver3.rotation = (85 + 5); PlayerAlive = false; CurrentFrame = 198; p = 0; while (p < 12) { RenderedRooms[ActiveObjects[a][2]][8][RenderedRooms[ActiveObjects[a][2]][8].length] = new Array(); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0] = RenderedRooms[ActiveObjects[a][2]][7].addChild(new HumanBlood()); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].gotoAndStop((1 + Math.round((Math.random() * 3)))); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].x = (ActiveObjects[a][0][0].x + ((Math.random() * 20) - 10)); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].y = (ActiveObjects[a][0][0].y + ((Math.random() * 20) - 10)); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][1] = (Math.random() * 360); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].rotation = RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][1]; RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][2] = -((3 + (Math.random() * 6))); colorTransform = RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].transform.colorTransform; colorTransform.redMultiplier = ((Brightness * colorTransform.redMultiplier) * ActiveObjects[a][4][0]); colorTransform.blueMultiplier = ((Brightness * colorTransform.blueMultiplier) * ActiveObjects[a][4][0]); colorTransform.greenMultiplier = ((Brightness * colorTransform.greenMultiplier) * ActiveObjects[a][4][0]); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].transform.colorTransform = colorTransform; p = (p + 1); }; } else { if (PlayerHurt == true){ CurrentFrame = 158; PlayerHurt = false; Objects[ActiveObjects[a][1]][5] = -2; PlayEffect(12, 0.5, 1); p = 0; while (p < 8) { RenderedRooms[ActiveObjects[a][2]][8][RenderedRooms[ActiveObjects[a][2]][8].length] = new Array(); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0] = RenderedRooms[ActiveObjects[a][2]][7].addChild(new HumanBlood()); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].gotoAndStop((1 + Math.round((Math.random() * 3)))); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].x = (ActiveObjects[a][0][0].x + ((Math.random() * 20) - 10)); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].y = (ActiveObjects[a][0][0].y + ((Math.random() * 20) - 10)); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][1] = (Math.random() * 360); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].rotation = RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][1]; RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][2] = -((3 + (Math.random() * 6))); colorTransform = RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].transform.colorTransform; colorTransform.redMultiplier = ((Brightness * colorTransform.redMultiplier) * ActiveObjects[a][4][0]); colorTransform.blueMultiplier = ((Brightness * colorTransform.blueMultiplier) * ActiveObjects[a][4][0]); colorTransform.greenMultiplier = ((Brightness * colorTransform.greenMultiplier) * ActiveObjects[a][4][0]); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].transform.colorTransform = colorTransform; p = (p + 1); }; } else { if (ActiveObjects[a][0][0].currentFrame < 81){ if (Action == true){ if (FacingObject > -1){ PlayEffect(4, 0.5, 1); ActiveObjects[a][0][8].gotoAndPlay(3); Objects[ActiveObjects[a][1]][8] = 30; CurrentFrame = 125; } else { if (SelectedWeapon > 0){ ActiveObjects[a][0][8].gotoAndPlay(3); if (SelectedWeapon == 1){ CurrentFrame = 179; Fire = false; } else { if (SelectedWeapon == 2){ CurrentFrame = 143; Fire = false; } else { if (SelectedWeapon == 3){ CurrentFrame = 165; Fire = false; }; }; }; }; }; } else { if ((((Up == true)) || ((Down == true)))){ CurrentFrame = 81; } else { if (Left == true){ CurrentFrame = 106; } else { if (Right == true){ CurrentFrame = 116; }; }; }; }; } else { if ((((((((Up == false)) && ((Down == false)))) && ((ActiveObjects[a][0][0].currentFrame > 80)))) && ((ActiveObjects[a][0][0].currentFrame < 106)))){ CurrentFrame = 1; }; if ((((((((((Up == true)) || ((Down == true)))) || ((Left == false)))) && ((ActiveObjects[a][0][0].currentFrame > 105)))) && ((ActiveObjects[a][0][0].currentFrame < 116)))){ CurrentFrame = 1; }; if ((((((((((Up == true)) || ((Down == true)))) || ((Right == false)))) && ((ActiveObjects[a][0][0].currentFrame > 115)))) && ((ActiveObjects[a][0][0].currentFrame < 126)))){ CurrentFrame = 1; }; if (Objects[ActiveObjects[a][1]][8] == 1){ Objects[ActiveObjects[a][1]][8] = 0; ActiveObjects[a][0][8].gotoAndPlay(8); CurrentFrame = 139; if (PlayerReloadTime == 0){ TimeUntilReInspection = 300; if (FacingObject > -1){ switch (Objects[FacingObject][7]){ case 0: Text = "I got the pipe.<<<<<<<<<<"; Text = ((Text + "\n ") + "(Hold Z and press X to attack)<<<<<"); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); Objects[FacingObject][7] = -1; Objects[FacingObject][2] = 0; Objects[FacingObject][3] = 0; GotPipe = true; SelectedWeapon = 1; break; case 1: Text = "I got the revolver.<<<<<<<<<<"; if (ReadWeaponInstructions == false){ ReadWeaponInstructions = true; Text = ((Text + "\n ") + "(Press A to switch weapon and S to reload)<<<<<"); }; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); Objects[FacingObject][7] = -1; Objects[FacingObject][2] = 0; Objects[FacingObject][3] = 0; GotRevolver = true; SelectedWeapon = 2; break; case 2: Text = "I got the shotgun.<<<<<<<<<<"; if (ReadWeaponInstructions == false){ ReadWeaponInstructions = true; Text = ((Text + "\n ") + "(Press A to switch weapon and S to reload)<<<<<"); }; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); Objects[FacingObject][7] = -1; Objects[FacingObject][2] = 0; Objects[FacingObject][3] = 0; GotShotgun = true; SelectedWeapon = 3; break; case 3: Text = "I found Louis' flashlight.<<<<<<<<<<<<<<<"; Text = ((Text + "\n ") + "What is it doing here?<<<<<"); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); d = 0; while (d < ActiveObjects.length) { if (Objects[ActiveObjects[d][1]][0] == 35){ ActiveObjects[d][0][4].alpha = 0; ActiveObjects[d][0][5].alpha = 0; }; d = (d + 1); }; Objects[FacingObject][0] = 14; Objects[FacingObject][7] = -1; GotFlashlight = true; break; case 4: if (GotLighter == false){ Text = "I found a lighter.<<<<<"; } else { Text = "Various kitchen utensils.<<<<<"; }; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); GotLighter = true; break; case 5: Text = "I found a key.<<<<< The tag reads:<<<<<<<<<<"; Text = ((Text + "\n ") + "'Spare West Wing key.<<<<< Use only in emergencies.'<<<<<"); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); Objects[FacingObject][7] = 22; ObjectStringsSplitted[19][20] = ">"; break; case 6: Text = "I found an old bronze key.<<<<<<<<<<"; Text = ((Text + "\n ") + "The tag reads:<<<<< 'Library'.<<<<<"); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); Objects[FacingObject][7] = 34; ObjectStringsSplitted[5][10] = ">"; ObjectStringsSplitted[9][5] = ">"; break; case 7: Text = "I found some pages from Sarah's journal.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<%01"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 8: Text = "I found some pages from Sarah's journal.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<%02"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 9: Text = "I found some pages from Sarah's journal.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<%03"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 10: Text = "There are deep cut wounds everywhere.<<<<<<<<<<"; Text = ((Text + "\n ") + "What happened to him?<<<<<<<<<<<<<<<<<<<<"); Text = ((Text + "\n ") + "I found Louis' notebook.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<%04"); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 11: Text = "This book looks almost antique.<<<<<<<<<<<<<<<"; Text = ((Text + "\n ") + "It have sections covering all kinds of rituals,<<<<<<<<<<"); Text = ((Text + "\n ") + "and illustrations of pentagrams,<<<<< different marks and symbols.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<%08"); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 12: Text = "I saw a picture of her at Sarah's desk.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"; Text = ((Text + "\n ") + "This is her sister,<<<<< Linda Harvey.<<<<<<<<<<<<<<<<<<<<"); Text = ((Text + "\n ") + "She is holding a memo.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<%05"); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); ObjectStringsSplitted[27][50] = ">"; break; case 13: Text = "I found another memo.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<%06"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 14: Text = "There is a combination lock on it.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<%09"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 15: Text = "I found a medical kit.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Feels much better now."; PlayerHP = 100; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); Objects[FacingObject][7] = 45; break; case 16: Text = "A page from the old book is lying on the altar.<<<<<<<<<<<<<<<"; Text = ((Text + "\n ") + "The words “Break spell” are scribbled on top of it.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<%07"); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 17: if (PentagramState == 0){ if (GotLighter == false){ Text = "There are three unlit candles in the symbol.<<<<<"; } else { Text = "I lit the candles.<<<<<"; PentagramState = 1; BlockedTiles[54][40] = true; d = 0; while (d < ActiveObjects.length) { if (Objects[ActiveObjects[d][1]][0] == 46){ ActiveObjects[d][0][0].gotoAndPlay(2); ActiveObjects[d][0][13].scaleX = 1; ActiveObjects[d][0][13].scaleY = 1; }; d = (d + 1); }; }; } else { Text = "I could try moving the candles.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<%10"; }; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 18: Text = "%11"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 19: Text = "It's too heavy for me to move alone,<<<<<<<<<<"; Text = ((Text + "\n ") + "but it looks really rotten.<<<<<<<<<<"); Text = ((Text + "\n ") + "I could break it using the right tool.<<<<<"); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); Objects[FacingObject][7] = -1; break; case 20: Text = "All the food is spoiled.<<<<<<<<<<"; Text = ((Text + "\n ") + "Guess someone forgot to pay the power bill.<<<<<"); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 21: Text = "They're empty."; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 22: if (Math.round((Math.random() * 2)) == 1){ Text = "Nothing useful."; } else { if (Math.round((Math.random() * 2)) == 1){ Text = "I found nothing."; } else { Text = "It's empty."; }; }; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 23: Text = "I found a couple of shotgun shells."; NumberOfShells = (NumberOfShells + 2); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); Objects[FacingObject][7] = 22; break; case 24: Text = "I found six revolver rounds."; NumberOfBullets = (NumberOfBullets + 6); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); Objects[FacingObject][7] = 22; break; case 25: Text = "I found six revolver rounds."; NumberOfBullets = (NumberOfBullets + 6); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); Objects[FacingObject][7] = 45; break; case 26: if (Math.round((Math.random() * 2)) == 1){ Text = "Nothing useful."; } else { if (Math.round((Math.random() * 2)) == 1){ Text = "I found nothing."; } else { Text = "It's empty."; }; }; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 27: Text = "I found six revolver rounds."; NumberOfBullets = (NumberOfBullets + 6); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); Objects[FacingObject][7] = 26; break; case 28: Text = "I found a couple of shotgun shells."; NumberOfShells = (NumberOfShells + 2); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); Objects[FacingObject][7] = 26; break; case 29: if (Math.round((Math.random() * 2)) == 1){ Text = "Nothing but old books."; } else { Text = "Nothing useful."; }; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 30: Text = "There is a wide selection of books here,<<<<<"; Text = ((Text + "\n ") + "sorted alphabetically according to author.<<<<<"); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 31: Text = "This is hardly a good use of my time."; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 32: Text = "I'd rather not burn the place down."; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 33: Text = "It's empty,<<<<<<<<<<<<<<< obviously.<<<<<"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 34: if (Math.round((Math.random() * 2)) == 1){ Text = "Nothing useful."; } else { if (Math.round((Math.random() * 2)) == 1){ Text = "I found nothing."; } else { Text = "It's empty."; }; }; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 35: Text = "I found six revolver rounds."; NumberOfBullets = (NumberOfBullets + 6); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); Objects[FacingObject][7] = 34; break; case 36: Text = "'Beatrice Harris, beloved wife'<<<<<<<<<<"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 37: Text = "'Rest in peace - Patrick Harvey'<<<<<<<<<<"; Text = ((Text + "\n ") + ""); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 38: Text = "Whose blood is this?<<<<<"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 40: if (Math.round((Math.random() * 2)) == 1){ Text = "Nothing useful."; } else { if (Math.round((Math.random() * 2)) == 1){ Text = "I found nothing."; } else { Text = "It's empty."; }; }; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 41: Text = "I found a couple of shotgun shells."; NumberOfShells = (NumberOfShells + 2); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); Objects[FacingObject][7] = 40; break; case 42: if (Math.round((Math.random() * 2)) == 1){ Text = "Nothing useful."; } else { if (Math.round((Math.random() * 2)) == 1){ Text = "I found nothing."; } else { Text = "It's empty."; }; }; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 43: Text = "I found six revolver rounds."; NumberOfBullets = (NumberOfBullets + 6); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); Objects[FacingObject][7] = 42; break; case 44: Text = "I found a couple of shotgun shells."; NumberOfShells = (NumberOfShells + 2); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); Objects[FacingObject][7] = 42; break; case 45: if (Math.round((Math.random() * 2)) == 1){ Text = "Nothing useful."; } else { if (Math.round((Math.random() * 2)) == 1){ Text = "I found nothing."; } else { Text = "It's empty."; }; }; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 46: Text = "Sarah Harvey...<<<<<<<<<<<<<<<<<<<<<<<<< They're all dead.<<<<<<<<<<<<<<<<<<<<<<<<<"; Text = ((Text + "\n ") + "I will end this.<<<<<<<"); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; }; }; } else { if (SelectedWeapon == 2){ ReloadWeapon = false; if (NumberOfBullets >= 6){ MaxAmmo = 6; } else { MaxAmmo = NumberOfBullets; }; if (LoadedBullets > 0){ if ((6 - LoadedBullets) < MaxAmmo){ MaxAmmo = (6 - LoadedBullets); }; }; LoadedBullets = (LoadedBullets + MaxAmmo); NumberOfBullets = (NumberOfBullets - MaxAmmo); AmmoLeft = (NumberOfBullets + LoadedBullets); StatusText.text = (AmmoLeft.toString(10) + " bullets left"); StatusTextShadow.text = (AmmoLeft.toString(10) + " bullets left"); ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; } else { if (SelectedWeapon == 3){ ReloadWeapon = false; if (NumberOfShells >= 2){ MaxAmmo = 2; } else { MaxAmmo = NumberOfShells; }; if (LoadedShells > 0){ if ((2 - LoadedShells) < MaxAmmo){ MaxAmmo = (2 - LoadedShells); }; }; LoadedShells = (LoadedShells + MaxAmmo); NumberOfShells = (NumberOfShells - MaxAmmo); AmmoLeft = (NumberOfShells + LoadedShells); StatusText.text = (AmmoLeft.toString(10) + " shells left"); StatusTextShadow.text = (AmmoLeft.toString(10) + " shells left"); ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; }; }; }; }; if ((((((Action == false)) && ((SelectedWeapon == 1)))) && ((((((ActiveObjects[a][0][0].currentFrame > 178)) && ((ActiveObjects[a][0][0].currentFrame < 184)))) || ((ActiveObjects[a][0][0].currentFrame == 193)))))){ ActiveObjects[a][0][8].gotoAndPlay(8); CurrentFrame = 194; } else { if ((((((Action == false)) && ((SelectedWeapon == 2)))) && ((((((ActiveObjects[a][0][0].currentFrame > 142)) && ((ActiveObjects[a][0][0].currentFrame < 149)))) || ((ActiveObjects[a][0][0].currentFrame == 153)))))){ ActiveObjects[a][0][8].gotoAndPlay(8); CurrentFrame = 154; } else { if ((((((Action == false)) && ((SelectedWeapon == 3)))) && ((((((ActiveObjects[a][0][0].currentFrame > 164)) && ((ActiveObjects[a][0][0].currentFrame < 170)))) || ((ActiveObjects[a][0][0].currentFrame == 174)))))){ ActiveObjects[a][0][8].gotoAndPlay(8); CurrentFrame = 175; } else { if ((((((((Action == true)) && ((Fire == true)))) && ((SelectedWeapon == 1)))) && ((((ActiveObjects[a][0][0].currentFrame == 183)) || ((ActiveObjects[a][0][0].currentFrame == 193)))))){ Fire = false; CurrentFrame = 184; PlayEffect(15, 1.5, 1); } else { if ((((((((((PlayerRefireTime == 0)) && ((Action == true)))) && ((Fire == true)))) && ((SelectedWeapon == 2)))) && ((((ActiveObjects[a][0][0].currentFrame == 148)) || ((ActiveObjects[a][0][0].currentFrame == 153)))))){ Fire = false; if (LoadedBullets > 0){ PlayerRefireTime = 5; CurrentFrame = 149; ActiveObjects[a][0][3].RightHandInstance.gotoAndPlay(4); LoadedBullets = (LoadedBullets - 1); WeaponAttack = 2; PlayEffect(10, 0.3, 1); } else { if (NumberOfBullets <= 0){ if (StatusText.alpha <= 0){ PlayEffect(4, 0.5, 1); StatusText.text = "No bullets left"; StatusTextShadow.text = "No bullets left"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; }; } else { PlayEffect(11, 1.3, 1); CurrentFrame = 130; PlayerReloadTime = 50; Objects[ActiveObjects[a][1]][8] = 50; Text = "Reloading..."; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); }; }; } else { if ((((((((((PlayerRefireTime == 0)) && ((Action == true)))) && ((Fire == true)))) && ((SelectedWeapon == 3)))) && ((((ActiveObjects[a][0][0].currentFrame == 169)) || ((ActiveObjects[a][0][0].currentFrame == 174)))))){ Fire = false; if (LoadedShells > 0){ PlayerRefireTime = 5; CurrentFrame = 170; ActiveObjects[a][0][3].RightHandInstance.gotoAndPlay(9); LoadedShells = (LoadedShells - 1); WeaponAttack = 3; PlayEffect(21, 0.3, 1); } else { if (NumberOfShells <= 0){ if (StatusText.alpha <= 0){ PlayEffect(4, 0.5, 1); StatusText.text = "No shells left"; StatusTextShadow.text = "No shells left"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; }; } else { PlayEffect(22, 0.5, (2 - LoadedShells)); CurrentFrame = 130; PlayerReloadTime = 30; Objects[ActiveObjects[a][1]][8] = 30; Text = "Reloading..."; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); }; }; } else { if (ActiveObjects[a][0][0].currentFrame == 187){ WeaponAttack = 1; }; }; }; }; }; }; }; }; }; }; if (WeaponAttack > 0){ if (WeaponAttack == 1){ HitAngle = 220; HitDistance = 50; HitDamage = 26; HitSeveral = true; } else { if (WeaponAttack == 2){ HitAngle = 30; HitDistance = 400; HitDamage = 51; HitSeveral = false; } else { HitAngle = 50; HitDistance = 250; HitDamage = 76; HitSeveral = true; }; }; if (HitDistance > 50){ p = 0; while (p < 6) { RenderedRooms[ActiveObjects[a][2]][8][RenderedRooms[ActiveObjects[a][2]][8].length] = new Array(); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0] = RenderedRooms[ActiveObjects[a][2]][7].addChild(new FireParticle()); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].x = (ActiveObjects[a][0][0].x - (25 * Math.sin((Objects[ActiveObjects[a][1]][4] * (Math.PI / 180))))); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].y = (ActiveObjects[a][0][0].y + (25 * Math.cos((Objects[ActiveObjects[a][1]][4] * (Math.PI / 180))))); if (HitDistance == 400){ RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][1] = (Objects[ActiveObjects[a][1]][4] + (3 - (Math.random() * 6))); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].alpha = 0.3; } else { RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][1] = (Objects[ActiveObjects[a][1]][4] + (20 - (Math.random() * 40))); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].alpha = 0.5; }; RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].rotation = RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][1]; RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][2] = -((3 + (Math.random() * 3))); p = (p + 1); }; }; d = 0; while (d < ActiveObjects.length) { if ((((((RenderedRooms[ActiveObjects[d][2]][0] == InsideRoom)) && ((Objects[ActiveObjects[d][1]][0] > 0)))) && (!((a == d))))){ Distance = Math.sqrt((((Objects[ActiveObjects[d][1]][2] - Objects[ActiveObjects[a][1]][2]) * (Objects[ActiveObjects[d][1]][2] - Objects[ActiveObjects[a][1]][2])) + ((Objects[ActiveObjects[d][1]][3] - Objects[ActiveObjects[a][1]][3]) * (Objects[ActiveObjects[d][1]][3] - Objects[ActiveObjects[a][1]][3])))); angle = (Math.atan(((Objects[ActiveObjects[d][1]][3] - Objects[ActiveObjects[a][1]][3]) / (Objects[ActiveObjects[d][1]][2] - Objects[ActiveObjects[a][1]][2]))) / (Math.PI / 180)); angle = (angle + 90); if ((Objects[ActiveObjects[d][1]][2] - Objects[ActiveObjects[a][1]][2]) < 0){ angle = (angle + 180); }; if (((((Objects[ActiveObjects[d][1]][2] - Objects[ActiveObjects[a][1]][2]) >= 0)) && (((Objects[ActiveObjects[d][1]][3] - Objects[ActiveObjects[a][1]][3]) < 0)))){ angle = (angle + 360); }; if (Math.abs((angle - Objects[ActiveObjects[a][1]][4])) <= 180){ angle = (Objects[ActiveObjects[a][1]][4] - angle); } else { if (Math.abs((angle - Objects[ActiveObjects[a][1]][4])) > 180){ if ((angle - Objects[ActiveObjects[a][1]][4]) < 0){ angle = -(((360 + angle) - Objects[ActiveObjects[a][1]][4])); } else { angle = ((360 + Objects[ActiveObjects[a][1]][4]) - angle); }; }; }; if (Objects[ActiveObjects[d][1]][0] == 16){ HitDistance = (HitDistance + 10); } else { if (Objects[ActiveObjects[d][1]][0] == 46){ HitDistance = (HitDistance + 20); HitDamage = 20; }; }; if ((((Math.abs(angle) > (180 + (HitAngle * (-1 * ((200 + Distance) / 1000)))))) && ((Distance < HitDistance)))){ switch (Objects[ActiveObjects[d][1]][0]){ case 1: p = 0; while (p < 12) { RenderedRooms[ActiveObjects[d][2]][8][RenderedRooms[ActiveObjects[d][2]][8].length] = new Array(); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0] = RenderedRooms[ActiveObjects[d][2]][7].addChild(new DiningChairDebris()); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].gotoAndStop((1 + Math.round((Math.random() * 6)))); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].x = (ActiveObjects[d][0][0].x + ((Math.random() * 20) - 10)); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].y = (ActiveObjects[d][0][0].y + ((Math.random() * 20) - 10)); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].scaleX = 1.5; RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].scaleY = 1.5; RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][1] = (Math.random() * 360); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].rotation = Math.round((Math.random() * 360)); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][2] = (1 + (Math.random() * 4)); colorTransform = RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].transform.colorTransform; colorTransform.redMultiplier = ((Brightness * colorTransform.redMultiplier) * ActiveObjects[d][4][0]); colorTransform.blueMultiplier = ((Brightness * colorTransform.blueMultiplier) * ActiveObjects[d][4][0]); colorTransform.greenMultiplier = ((Brightness * colorTransform.greenMultiplier) * ActiveObjects[d][4][0]); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].transform.colorTransform = colorTransform; p = (p + 1); }; Objects[ActiveObjects[d][1]][2] = 0; Objects[ActiveObjects[d][1]][3] = 0; PlayEffect(29, ((100 / Distance) * 0.1), 1); break; case 2: p = 0; while (p < 12) { RenderedRooms[ActiveObjects[d][2]][8][RenderedRooms[ActiveObjects[d][2]][8].length] = new Array(); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0] = RenderedRooms[ActiveObjects[d][2]][7].addChild(new StudyChairCrateDebris()); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].gotoAndStop((1 + Math.round((Math.random() * 6)))); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].x = (ActiveObjects[d][0][0].x + ((Math.random() * 20) - 10)); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].y = (ActiveObjects[d][0][0].y + ((Math.random() * 20) - 10)); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].scaleX = 1.5; RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].scaleY = 1.5; RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][1] = (Math.random() * 360); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].rotation = Math.round((Math.random() * 360)); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][2] = (1 + (Math.random() * 4)); colorTransform = RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].transform.colorTransform; colorTransform.redMultiplier = ((Brightness * colorTransform.redMultiplier) * ActiveObjects[d][4][0]); colorTransform.blueMultiplier = ((Brightness * colorTransform.blueMultiplier) * ActiveObjects[d][4][0]); colorTransform.greenMultiplier = ((Brightness * colorTransform.greenMultiplier) * ActiveObjects[d][4][0]); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].transform.colorTransform = colorTransform; p = (p + 1); }; Objects[ActiveObjects[d][1]][2] = 0; Objects[ActiveObjects[d][1]][3] = 0; PlayEffect(29, ((100 / Distance) * 0.1), 1); break; case 14: p = 0; while (p < 12) { RenderedRooms[ActiveObjects[d][2]][8][RenderedRooms[ActiveObjects[d][2]][8].length] = new Array(); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0] = RenderedRooms[ActiveObjects[d][2]][7].addChild(new StudyChairCrateDebris()); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].gotoAndStop((1 + Math.round((Math.random() * 6)))); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].x = (ActiveObjects[d][0][0].x + ((Math.random() * 20) - 10)); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].y = (ActiveObjects[d][0][0].y + ((Math.random() * 20) - 10)); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].scaleX = 1.5; RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].scaleY = 1.5; RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][1] = (Math.random() * 360); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].rotation = Math.round((Math.random() * 360)); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][2] = (1 + (Math.random() * 4)); colorTransform = RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].transform.colorTransform; colorTransform.redMultiplier = ((Brightness * colorTransform.redMultiplier) * ActiveObjects[d][4][0]); colorTransform.blueMultiplier = ((Brightness * colorTransform.blueMultiplier) * ActiveObjects[d][4][0]); colorTransform.greenMultiplier = ((Brightness * colorTransform.greenMultiplier) * ActiveObjects[d][4][0]); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].transform.colorTransform = colorTransform; p = (p + 1); }; Objects[ActiveObjects[d][1]][2] = 0; Objects[ActiveObjects[d][1]][3] = 0; PlayEffect(29, ((100 / Distance) * 0.1), 1); break; case 16: p = 0; while (p < 16) { RenderedRooms[ActiveObjects[d][2]][8][RenderedRooms[ActiveObjects[d][2]][8].length] = new Array(); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0] = RenderedRooms[ActiveObjects[d][2]][7].addChild(new StudyChairCrateDebris()); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].gotoAndStop((1 + Math.round((Math.random() * 6)))); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].x = (ActiveObjects[d][0][0].x + ((Math.random() * 30) - 15)); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].y = (ActiveObjects[d][0][0].y + ((Math.random() * 30) - 15)); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].scaleX = 1.5; RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].scaleY = 1.5; RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][1] = (Math.random() * 360); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].rotation = Math.round((Math.random() * 360)); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][2] = (1 + (Math.random() * 4)); colorTransform = RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].transform.colorTransform; colorTransform.redMultiplier = ((Brightness * colorTransform.redMultiplier) * ActiveObjects[d][4][0]); colorTransform.blueMultiplier = ((Brightness * colorTransform.blueMultiplier) * ActiveObjects[d][4][0]); colorTransform.greenMultiplier = ((Brightness * colorTransform.greenMultiplier) * ActiveObjects[d][4][0]); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].transform.colorTransform = colorTransform; p = (p + 1); }; Objects[ActiveObjects[d][1]][2] = 0; Objects[ActiveObjects[d][1]][3] = 0; PlayEffect(29, ((100 / Distance) * 0.1), 1); break; case 41: if (Objects[ActiveObjects[d][1]][11] > -1){ p = 0; while (p < 6) { RenderedRooms[ActiveObjects[d][2]][8][RenderedRooms[ActiveObjects[d][2]][8].length] = new Array(); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0] = RenderedRooms[ActiveObjects[d][2]][7].addChild(new MonsterBlood()); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].gotoAndStop((1 + Math.round((Math.random() * 3)))); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].x = (ActiveObjects[d][0][0].x + ((Math.random() * 20) - 10)); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].y = (ActiveObjects[d][0][0].y + ((Math.random() * 20) - 10)); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][1] = (Objects[ActiveObjects[a][1]][4] + (15 - (Math.random() * 30))); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].rotation = RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][1]; RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][2] = -((3 + (Math.random() * 6))); colorTransform = RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].transform.colorTransform; colorTransform.redMultiplier = ((Brightness * colorTransform.redMultiplier) * ActiveObjects[d][4][0]); colorTransform.blueMultiplier = ((Brightness * colorTransform.blueMultiplier) * ActiveObjects[d][4][0]); colorTransform.greenMultiplier = ((Brightness * colorTransform.greenMultiplier) * ActiveObjects[d][4][0]); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].transform.colorTransform = colorTransform; p = (p + 1); }; Objects[ActiveObjects[d][1]][11] = (Objects[ActiveObjects[d][1]][11] - HitDamage); if (HitSeveral == false){ d = ActiveObjects.length; }; PlayEffect(12, ((100 / Distance) * 0.5), 1); }; break; case 46: if ((((Objects[ActiveObjects[d][1]][4] > 0)) && ((Objects[ActiveObjects[d][1]][4] < 301)))){ p = 0; while (p < 10) { RenderedRooms[ActiveObjects[d][2]][8][RenderedRooms[ActiveObjects[d][2]][8].length] = new Array(); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0] = RenderedRooms[ActiveObjects[d][2]][7].addChild(new MonsterBlood()); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].gotoAndStop((1 + Math.round((Math.random() * 3)))); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].x = (ActiveObjects[d][0][0].x + ((Math.random() * 20) - 10)); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].y = (ActiveObjects[d][0][0].y + ((Math.random() * 20) - 10)); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][1] = (Objects[ActiveObjects[a][1]][4] + (15 - (Math.random() * 30))); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].rotation = RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][1]; RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][2] = -((3 + (Math.random() * 6))); colorTransform = RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].transform.colorTransform; colorTransform.redMultiplier = ((Brightness * colorTransform.redMultiplier) * ActiveObjects[d][4][0]); colorTransform.blueMultiplier = ((Brightness * colorTransform.blueMultiplier) * ActiveObjects[d][4][0]); colorTransform.greenMultiplier = ((Brightness * colorTransform.greenMultiplier) * ActiveObjects[d][4][0]); RenderedRooms[ActiveObjects[d][2]][8][(RenderedRooms[ActiveObjects[d][2]][8].length - 1)][0].transform.colorTransform = colorTransform; p = (p + 1); }; Objects[ActiveObjects[d][1]][11] = (Objects[ActiveObjects[d][1]][11] - HitDamage); if (HitSeveral == false){ d = ActiveObjects.length; }; PlayEffect(12, ((100 / Distance) * 0.5), 1); }; break; }; }; }; d = (d + 1); }; }; }; if (CurrentFrame > 0){ p = 0; while (p < 8) { ActiveObjects[a][0][p].gotoAndPlay(CurrentFrame); p = (p + 1); }; }; CameraTargetX = (Objects[ActiveObjects[a][1]][2] - 20); CameraTargetY = (Objects[ActiveObjects[a][1]][3] + 15); } else { if (ActiveObjects[a][0][0].currentFrame < 198){ p = 0; while (p < 8) { ActiveObjects[a][0][p].stop(); p = (p + 1); }; if (CutsceneMode == 1){ p = 0; while (p < 8) { ActiveObjects[a][0][p].play(); p = (p + 1); }; }; } else { Objects[ActiveObjects[a][1]][14] = (Objects[ActiveObjects[a][1]][14] * 0.95); }; }; p = 0; while (p < ActiveObjects[a][0].length) { ActiveObjects[a][0][p].alpha = (1 / RenderedRooms[ActiveObjects[a][2]][1].alpha); ActiveObjects[a][0][p].rotation = Objects[ActiveObjects[a][1]][4]; p = (p + 1); }; ActiveObjects[a][0][8].rotation = (ActiveObjects[a][0][8].rotation + ActiveObjects[a][0][3].LeftHandInstance.rotation); } else { CollideObject = false; p = 0; while (p < ActiveObjects[a][0].length) { ActiveObjects[a][0][p].alpha = 0; p = (p + 1); }; }; if ((((CollideObject == true)) && ((((((MapStringsSplitted[Math.floor((Objects[ActiveObjects[a][1]][3] / 50))][Math.floor((Objects[ActiveObjects[a][1]][2] / 50))] == "[")) || ((MapStringsSplitted[Math.floor((Objects[ActiveObjects[a][1]][3] / 50))][Math.floor((Objects[ActiveObjects[a][1]][2] / 50))] == "]")))) || ((MapStringsSplitted[Math.floor((Objects[ActiveObjects[a][1]][3] / 50))][Math.floor((Objects[ActiveObjects[a][1]][2] / 50))] == "(")))))){ r = 0; while (r < RoomBoxes.length) { if (!((InsideRoom == r))){ n = 0; while (n < RoomBoxes[r][0].length) { if ((((((((Math.floor(((Objects[ActiveObjects[a][1]][2] - 25) / 50)) >= RoomBoxes[r][0][n][0][0])) && ((Math.floor(((Objects[ActiveObjects[a][1]][2] + 25) / 50)) <= RoomBoxes[r][0][n][1][0])))) && ((Math.floor(((Objects[ActiveObjects[a][1]][3] - 25) / 50)) >= RoomBoxes[r][0][n][1][1])))) && ((Math.floor(((Objects[ActiveObjects[a][1]][3] + 25) / 50)) <= RoomBoxes[r][0][n][2][1])))){ RoomExists = false; InsideRoom = r; c = 0; while (c < ActiveObjects.length) { if (Objects[ActiveObjects[c][1]][0] == 0){ Objects[ActiveObjects[c][1]][1] = false; l = 0; while (l < ActiveObjects[c][0].length) { ActiveObjects[c][0][l].alpha = 0; l = (l + 1); }; break; }; c = (c + 1); }; break; }; n = (n + 1); }; }; r = (r + 1); }; }; if (Objects[ActiveObjects[a][1]][8] == 0){ FacingObject = -1; }; break; case 41: OldXPosition = Objects[ActiveObjects[a][1]][2]; OldYPosition = Objects[ActiveObjects[a][1]][3]; UnitRadius = 20; CollideObject = true; if (RenderedRooms[ActiveObjects[a][2]][0] == InsideRoom){ Distance = Math.sqrt((((PlayersLastXPosition - Objects[ActiveObjects[a][1]][2]) * (PlayersLastXPosition - Objects[ActiveObjects[a][1]][2])) + ((PlayersLastYPosition - Objects[ActiveObjects[a][1]][3]) * (PlayersLastYPosition - Objects[ActiveObjects[a][1]][3])))); if (Distance < ClosestEnemyDistance){ ClosestEnemyDistance = Distance; }; angle = (Math.atan(((PlayersLastYPosition - Objects[ActiveObjects[a][1]][3]) / (PlayersLastXPosition - Objects[ActiveObjects[a][1]][2]))) / (Math.PI / 180)); if ((PlayersLastXPosition - Objects[ActiveObjects[a][1]][2]) < 0){ angle = (angle + 180); }; if (((((PlayersLastXPosition - Objects[ActiveObjects[a][1]][2]) >= 0)) && (((PlayersLastYPosition - Objects[ActiveObjects[a][1]][3]) < 0)))){ angle = (angle + 360); }; if (Objects[ActiveObjects[a][1]][10] <= 0){ if (Distance < 400){ Objects[ActiveObjects[a][1]][9] = angle; } else { Objects[ActiveObjects[a][1]][9] = Math.round((Math.random() * 360)); Objects[ActiveObjects[a][1]][10] = 60; }; }; Closestangle = (Objects[ActiveObjects[a][1]][9] + 90); if (Math.abs((Closestangle - Objects[ActiveObjects[a][1]][4])) <= 180){ Closestangle = (Objects[ActiveObjects[a][1]][4] - Closestangle); } else { if (Math.abs((Closestangle - Objects[ActiveObjects[a][1]][4])) > 180){ if ((Closestangle - Objects[ActiveObjects[a][1]][4]) < 0){ Closestangle = -(((360 + Closestangle) - Objects[ActiveObjects[a][1]][4])); } else { Closestangle = ((360 + Objects[ActiveObjects[a][1]][4]) - Closestangle); }; }; }; if (Objects[ActiveObjects[a][1]][11] <= 0){ Objects[ActiveObjects[a][1]][11] = -1; CollideObject = false; if (ActiveObjects[a][0][0].currentFrame < 146){ CurrentFrame = 146; ActiveObjects[a][5] = 0; ActiveObjects[a][6] = 0; }; if (ActiveObjects[a][0][0].alpha > 0){ p = 0; while (p < ActiveObjects[a][0].length) { ActiveObjects[a][0][p].alpha = (ActiveObjects[a][0][p].alpha - 0.005); RenderedRooms[ActiveObjects[a][2]][8][RenderedRooms[ActiveObjects[a][2]][8].length] = new Array(); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0] = RenderedRooms[ActiveObjects[a][2]][7].addChild(new MonsterBlood()); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].gotoAndStop((1 + Math.round((Math.random() * 3)))); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].alpha = (ActiveObjects[a][0][p].alpha - 0.4); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].x = (ActiveObjects[a][0][0].x + ((Math.random() * 20) - 10)); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].y = (ActiveObjects[a][0][0].y + ((Math.random() * 20) - 10)); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][1] = Math.round((Math.random() * 360)); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].rotation = RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][1]; RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][2] = (Math.random() * 6); colorTransform = RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].transform.colorTransform; colorTransform.redMultiplier = ((Brightness * colorTransform.redMultiplier) * ActiveObjects[a][4][0]); colorTransform.blueMultiplier = ((Brightness * colorTransform.blueMultiplier) * ActiveObjects[a][4][0]); colorTransform.greenMultiplier = ((Brightness * colorTransform.greenMultiplier) * ActiveObjects[a][4][0]); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].transform.colorTransform = colorTransform; p = (p + 1); }; } else { Objects[ActiveObjects[a][1]][2] = 0; Objects[ActiveObjects[a][1]][3] = 0; }; } else { if (Objects[ActiveObjects[a][1]][11] > 100){ CurrentFrame = 166; Objects[ActiveObjects[a][1]][14] = (Objects[ActiveObjects[a][1]][14] * 0.95); } else { Objects[ActiveObjects[a][1]][14] = ((Objects[ActiveObjects[a][1]][14] + 1) / 2); if (ActiveObjects[a][0][0].currentFrame < 73){ if (Objects[ActiveObjects[a][1]][10] <= 0){ if (Distance < 100){ if (Math.round((Objects[ActiveObjects[a][1]][5] * Math.sin((Objects[ActiveObjects[a][1]][4] * (Math.PI / 180))))) > 1){ if (Math.round((Objects[ActiveObjects[a][1]][7] * 10)) == Math.round((Objects[ActiveObjects[a][1]][2] * 10))){ if (Math.round((Math.random() * 2)) == 1){ Objects[ActiveObjects[a][1]][9] = 270; } else { Objects[ActiveObjects[a][1]][9] = 90; }; Objects[ActiveObjects[a][1]][10] = (10 + (Math.random() * 10)); }; }; if (Math.round((Objects[ActiveObjects[a][1]][5] * Math.sin((Objects[ActiveObjects[a][1]][4] * (Math.PI / 180))))) < -1){ if (Math.round((Objects[ActiveObjects[a][1]][7] * 10)) == Math.round((Objects[ActiveObjects[a][1]][2] * 10))){ if (Math.round((Math.random() * 2)) == 1){ Objects[ActiveObjects[a][1]][9] = 270; } else { Objects[ActiveObjects[a][1]][9] = 90; }; Objects[ActiveObjects[a][1]][10] = (10 + (Math.random() * 10)); }; }; if (Math.round((-(Objects[ActiveObjects[a][1]][5]) * Math.cos((Objects[ActiveObjects[a][1]][4] * (Math.PI / 180))))) > 1){ if (Math.round((Objects[ActiveObjects[a][1]][8] * 10)) == Math.round((Objects[ActiveObjects[a][1]][3] * 10))){ if (Math.round((Math.random() * 2)) == 1){ Objects[ActiveObjects[a][1]][9] = 180; } else { Objects[ActiveObjects[a][1]][9] = 0; }; Objects[ActiveObjects[a][1]][10] = (10 + (Math.random() * 10)); }; }; if (Math.round((-(Objects[ActiveObjects[a][1]][5]) * Math.cos((Objects[ActiveObjects[a][1]][4] * (Math.PI / 180))))) < -1){ if (Math.round((Objects[ActiveObjects[a][1]][8] * 10)) == Math.round((Objects[ActiveObjects[a][1]][3] * 10))){ if (Math.round((Math.random() * 2)) == 1){ Objects[ActiveObjects[a][1]][9] = 180; } else { Objects[ActiveObjects[a][1]][9] = 0; }; Objects[ActiveObjects[a][1]][10] = (10 + (Math.random() * 10)); }; }; }; } else { Objects[ActiveObjects[a][1]][10] = (Objects[ActiveObjects[a][1]][10] - 1); }; Objects[ActiveObjects[a][1]][7] = Objects[ActiveObjects[a][1]][2]; Objects[ActiveObjects[a][1]][8] = Objects[ActiveObjects[a][1]][3]; if (Distance > 45){ Objects[ActiveObjects[a][1]][5] = (((Objects[ActiveObjects[a][1]][5] * 2) - 3.5) / 3); } else { Objects[ActiveObjects[a][1]][5] = (Objects[ActiveObjects[a][1]][5] * 0.5); }; Objects[ActiveObjects[a][1]][2] = (Objects[ActiveObjects[a][1]][2] + (Objects[ActiveObjects[a][1]][5] * Math.sin((Objects[ActiveObjects[a][1]][4] * (Math.PI / 180))))); Objects[ActiveObjects[a][1]][3] = (Objects[ActiveObjects[a][1]][3] - (Objects[ActiveObjects[a][1]][5] * Math.cos((Objects[ActiveObjects[a][1]][4] * (Math.PI / 180))))); }; if (ActiveObjects[a][0][0].currentFrame < 166){ if (Closestangle < 0){ Objects[ActiveObjects[a][1]][4] = (Objects[ActiveObjects[a][1]][4] - ((Closestangle + 180) * 0.1)); } else { if (Closestangle > 0){ Objects[ActiveObjects[a][1]][4] = (Objects[ActiveObjects[a][1]][4] - ((Closestangle - 180) * 0.1)); }; }; }; if (ActiveObjects[a][0][0].currentFrame == 52){ PlayEffect(8, ((100 / Distance) * 0.5), 1); } else { if (ActiveObjects[a][0][0].currentFrame == 62){ PlayEffect(9, ((100 / Distance) * 0.5), 1); }; }; if ((Math.round((Math.random() * 200)) == 1)){ if ((Math.floor((Math.random() * 2)) == 1)){ PlayEffect(13, ((100 / Distance) * 0.3), 1); } else { PlayEffect(14, ((100 / Distance) * 0.3), 1); }; }; CurrentFrame = 0; if (ActiveObjects[a][0][0].currentFrame < 46){ if (Math.round(Objects[ActiveObjects[a][1]][5]) < 0){ if (((!((ActiveObjects[a][0][0].currentFrame > 45))) && ((ActiveObjects[a][0][0].currentFrame < 73)))){ CurrentFrame = 46; }; } else { if (Distance < 50){ if (Math.abs(Closestangle) > 170){ if (Math.round((Math.random() * 3)) == 1){ CurrentFrame = 91; Objects[ActiveObjects[a][1]][6] = 50; } else { CurrentFrame = 73; PlayEffect(23, 0.5, 1); }; }; }; }; } else { if ((((ActiveObjects[a][0][0].currentFrame > 50)) && ((ActiveObjects[a][0][0].currentFrame < 73)))){ if (Math.round(Objects[ActiveObjects[a][1]][5]) == 0){ if (!((ActiveObjects[a][0][0].currentFrame < 46))){ CurrentFrame = 1; }; }; } else { if (ActiveObjects[a][0][0].currentFrame == 83){ if ((((Distance < 60)) && ((Math.abs(Closestangle) > 150)))){ PlayerHurt = true; PlayerHP = (PlayerHP - 20); }; } else { if ((((ActiveObjects[a][0][0].currentFrame > 104)) && ((ActiveObjects[a][0][0].currentFrame < 118)))){ PlayerHeld = true; Objects[ActiveObjects[a][1]][6] = (Objects[ActiveObjects[a][1]][6] - 1); if ((((Distance > 50)) || ((((Objects[ActiveObjects[a][1]][6] < 0)) && ((Math.abs(Closestangle) > 170)))))){ CurrentFrame = 118; }; }; }; }; }; }; }; if (CurrentFrame > 0){ p = 0; while (p < 8) { ActiveObjects[a][0][p].gotoAndPlay(CurrentFrame); p = (p + 1); }; }; p = 0; while (p < ActiveObjects[a][0].length) { ActiveObjects[a][0][p].rotation = Objects[ActiveObjects[a][1]][4]; p = (p + 1); }; }; break; case 22: if (TimeUntilLightning == 4){ ActiveObjects[a][0][0].alpha = 0.6; } else { if (TimeUntilLightning == 0){ ActiveObjects[a][0][0].alpha = 1; }; }; if (ActiveObjects[a][0][0].alpha > 0){ ActiveObjects[a][0][0].alpha = (ActiveObjects[a][0][0].alpha - 0.1); ActiveObjects[a][0][0].gotoAndStop(2); } else { ActiveObjects[a][0][0].gotoAndStop(1); }; break; case 50: if (TimeUntilLightning == 4){ ActiveObjects[a][0][0].alpha = 0.6; } else { if (TimeUntilLightning == 0){ ActiveObjects[a][0][0].alpha = 1; }; }; if (ActiveObjects[a][0][0].alpha > 0){ ActiveObjects[a][0][0].alpha = (ActiveObjects[a][0][0].alpha - 0.1); ActiveObjects[a][0][0].gotoAndStop(4); } else { ActiveObjects[a][0][0].gotoAndStop(1); }; break; case 23: if (TimeUntilLightning == 4){ RoomLightning.alpha = 0.6; if (Raining == true){ PlayEffect(27, 0.3, 1); } else { PlayEffect(26, 0.1, 1); }; } else { if (TimeUntilLightning == 0){ RoomLightning.alpha = 1; }; }; if (RoomLightning.alpha > 0){ RoomLightning.alpha = (RoomLightning.alpha - 0.1); RoomLightning.gotoAndStop(3); RoomLightning.x = 0; RoomLightning.y = 0; } else { RoomLightning.gotoAndStop(1); }; break; case 46: if (Objects[ActiveObjects[a][1]][4] > 0){ if (Objects[ActiveObjects[a][1]][4] == 10){ PlayEffect(30, 0.7, 1); }; if (PlayerHP > 0){ NoiseClip.alpha = 0.4; }; if (Objects[ActiveObjects[a][1]][4] < 300){ if (Objects[ActiveObjects[a][1]][4] < 60){ CameraPositionX = ((CameraPositionX + (Math.random() * (Objects[ActiveObjects[a][1]][4] * 0.5))) - (Objects[ActiveObjects[a][1]][4] * 0.25)); CameraPositionY = ((CameraPositionY + (Math.random() * (Objects[ActiveObjects[a][1]][4] * 0.5))) - (Objects[ActiveObjects[a][1]][4] * 0.25)); } else { if (Objects[ActiveObjects[a][1]][4] > 240){ CameraPositionX = ((CameraPositionX + (Math.random() * ((300 - Objects[ActiveObjects[a][1]][4]) * 0.5))) - ((300 - Objects[ActiveObjects[a][1]][4]) * 0.25)); CameraPositionY = ((CameraPositionY + (Math.random() * ((300 - Objects[ActiveObjects[a][1]][4]) * 0.5))) - ((300 - Objects[ActiveObjects[a][1]][4]) * 0.25)); } else { CameraPositionX = ((CameraPositionX + (Math.random() * 30)) - 15); CameraPositionY = ((CameraPositionY + (Math.random() * 30)) - 15); }; }; Objects[ActiveObjects[a][1]][4] = (Objects[ActiveObjects[a][1]][4] + 1); if (Objects[ActiveObjects[a][1]][4] > 100){ if (Objects[ActiveObjects[a][1]][4] == 101){ PlayEffect(24, 0.3, 1); PlayMusic(35, 0.8, 9999, true); }; Objects[ActiveObjects[a][1]][14] = (((Objects[ActiveObjects[a][1]][14] * 10) + 2) / 11); p = 1; while (p < 13) { ActiveObjects[a][0][p].scaleX = (ActiveObjects[a][0][p].scaleX + 0.012); ActiveObjects[a][0][p].scaleY = (ActiveObjects[a][0][p].scaleY + 0.012); p = (p + 1); }; p = 0; while (p < 2) { RenderedRooms[ActiveObjects[a][2]][8][RenderedRooms[ActiveObjects[a][2]][8].length] = new Array(); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0] = RenderedRooms[ActiveObjects[a][2]][7].addChild(new Explosion()); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].x = (ActiveObjects[a][0][0].x + ((Math.random() * 30) - 15)); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].y = (ActiveObjects[a][0][0].y + ((Math.random() * 30) - 15)); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][1] = (Math.random() * 360); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].rotation = RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][1]; RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][2] = -((3 + (Math.random() * 6))); p = (p + 1); }; }; }; if (Objects[ActiveObjects[a][1]][11] > 0){ angle = (Math.atan(((PlayersLastYPosition - Objects[ActiveObjects[a][1]][3]) / (PlayersLastXPosition - Objects[ActiveObjects[a][1]][2]))) / (Math.PI / 180)); if ((PlayersLastXPosition - Objects[ActiveObjects[a][1]][2]) < 0){ angle = (angle + 180); }; if (((((PlayersLastXPosition - Objects[ActiveObjects[a][1]][2]) >= 0)) && (((PlayersLastYPosition - Objects[ActiveObjects[a][1]][3]) < 0)))){ angle = (angle + 360); }; Closestangle = (angle - 90); if (Math.abs((Closestangle - ActiveObjects[a][0][12].WormHead.rotation)) <= 180){ Closestangle = (ActiveObjects[a][0][12].WormHead.rotation - Closestangle); } else { if (Math.abs((Closestangle - ActiveObjects[a][0][12].WormHead.rotation)) > 180){ if ((Closestangle - ActiveObjects[a][0][12].WormHead.rotation) < 0){ Closestangle = -(((360 + Closestangle) - ActiveObjects[a][0][12].WormHead.rotation)); } else { Closestangle = ((360 + ActiveObjects[a][0][12].WormHead.rotation) - Closestangle); }; }; }; if (Closestangle < 0){ Objects[ActiveObjects[a][1]][9] = (Objects[ActiveObjects[a][1]][9] - ((Closestangle + 180) * 0.1)); } else { if (Closestangle > 0){ Objects[ActiveObjects[a][1]][9] = (Objects[ActiveObjects[a][1]][9] - ((Closestangle - 180) * 0.1)); }; }; Objects[ActiveObjects[a][1]][5] = (Objects[ActiveObjects[a][1]][5] + 4); if (Objects[ActiveObjects[a][1]][5] > 360){ Objects[ActiveObjects[a][1]][5] = (Objects[ActiveObjects[a][1]][5] - 360); }; if (Objects[ActiveObjects[a][1]][10] > -60){ if (Objects[ActiveObjects[a][1]][10] == 0){ PlayEffect(2, 0.5, 1); }; Objects[ActiveObjects[a][1]][10] = (Objects[ActiveObjects[a][1]][10] - 1); } else { Objects[ActiveObjects[a][1]][10] = 120; PlayEffect(3, 0.5, 1); }; if (Objects[ActiveObjects[a][1]][10] < 0){ ActiveObjects[a][0][12].WormHead.x = (((ActiveObjects[a][0][12].WormHead.x * 20) + ((PlayersLastXPosition - Objects[ActiveObjects[a][1]][2]) * 0.7)) / 21); ActiveObjects[a][0][12].WormHead.y = (((ActiveObjects[a][0][12].WormHead.y * 20) + ((PlayersLastYPosition - Objects[ActiveObjects[a][1]][3]) * 0.7)) / 21); Objects[ActiveObjects[a][1]][14] = (((Objects[ActiveObjects[a][1]][14] * 15) + 0.5) / 16); Distance = Math.sqrt((((((PlayersLastXPosition - Objects[ActiveObjects[a][1]][2]) * 0.6) - ActiveObjects[a][0][12].WormHead.x) * (((PlayersLastXPosition - Objects[ActiveObjects[a][1]][2]) * 0.6) - ActiveObjects[a][0][12].WormHead.x)) + ((((PlayersLastYPosition - Objects[ActiveObjects[a][1]][3]) * 0.6) - ActiveObjects[a][0][12].WormHead.y) * (((PlayersLastYPosition - Objects[ActiveObjects[a][1]][3]) * 0.6) - ActiveObjects[a][0][12].WormHead.y)))); if ((((Objects[ActiveObjects[a][1]][14] < 1)) && ((Distance < 25)))){ Objects[ActiveObjects[a][1]][10] = 150; PlayerHurt = true; PlayerHP = (PlayerHP - 20); GotHat = false; }; } else { ActiveObjects[a][0][12].WormHead.x = (((ActiveObjects[a][0][12].WormHead.x * 20) + (20 * Math.sin((Objects[ActiveObjects[a][1]][5] * (Math.PI / 180))))) / 21); ActiveObjects[a][0][12].WormHead.y = (((ActiveObjects[a][0][12].WormHead.y * 20) + (-20 * Math.cos((Objects[ActiveObjects[a][1]][5] * (Math.PI / 180))))) / 21); Objects[ActiveObjects[a][1]][14] = (((Objects[ActiveObjects[a][1]][14] * 15) + 2) / 16); }; ActiveObjects[a][0][12].WormHead.rotation = Objects[ActiveObjects[a][1]][9]; p = 11; while (p > 1) { if (p == 2){ PreviousX = ActiveObjects[a][0][(p - 1)].WormBottom.x; PreviousY = ActiveObjects[a][0][(p - 1)].WormBottom.y; NextX = ActiveObjects[a][0][(p + 1)].WormMiddlePart.x; NextY = ActiveObjects[a][0][(p + 1)].WormMiddlePart.y; NextRotation = ActiveObjects[a][0][(p + 1)].WormMiddlePart.rotation; } else { if (p == 11){ PreviousX = ActiveObjects[a][0][(p - 1)].WormMiddlePart.x; PreviousY = ActiveObjects[a][0][(p - 1)].WormMiddlePart.y; NextX = ActiveObjects[a][0][(p + 1)].WormHead.x; NextY = ActiveObjects[a][0][(p + 1)].WormHead.y; NextRotation = ActiveObjects[a][0][(p + 1)].WormHead.rotation; } else { PreviousX = ActiveObjects[a][0][(p - 1)].WormMiddlePart.x; PreviousY = ActiveObjects[a][0][(p - 1)].WormMiddlePart.y; NextX = ActiveObjects[a][0][(p + 1)].WormMiddlePart.x; NextY = ActiveObjects[a][0][(p + 1)].WormMiddlePart.y; NextRotation = ActiveObjects[a][0][(p + 1)].WormMiddlePart.rotation; }; }; ActiveObjects[a][0][p].WormMiddlePart.x = ((PreviousX + NextX) / 2); ActiveObjects[a][0][p].WormMiddlePart.y = ((PreviousY + NextY) / 2); Closestangle = (NextRotation + 180); if (Math.abs((Closestangle - ActiveObjects[a][0][p].WormMiddlePart.rotation)) <= 180){ Closestangle = (ActiveObjects[a][0][p].WormMiddlePart.rotation - Closestangle); } else { if (Math.abs((Closestangle - ActiveObjects[a][0][p].WormMiddlePart.rotation)) > 180){ if ((Closestangle - ActiveObjects[a][0][p].WormMiddlePart.rotation) < 0){ Closestangle = -(((360 + Closestangle) - ActiveObjects[a][0][p].WormMiddlePart.rotation)); } else { Closestangle = ((360 + ActiveObjects[a][0][p].WormMiddlePart.rotation) - Closestangle); }; }; }; if (Closestangle < 0){ ActiveObjects[a][0][p].WormMiddlePart.rotation = (ActiveObjects[a][0][p].WormMiddlePart.rotation - ((Closestangle + 180) * 0.3)); } else { if (Closestangle > 0){ ActiveObjects[a][0][p].WormMiddlePart.rotation = (ActiveObjects[a][0][p].WormMiddlePart.rotation - ((Closestangle - 180) * 0.3)); }; }; p = (p - 1); }; ActiveObjects[a][0][1].WormBottom.x = (((ActiveObjects[a][0][1].WormBottom.x * 3) + (5 * Math.sin((Objects[ActiveObjects[a][1]][5] * (Math.PI / 180))))) / 4); ActiveObjects[a][0][1].WormBottom.y = (((ActiveObjects[a][0][1].WormBottom.y * 3) + (-5 * Math.cos((Objects[ActiveObjects[a][1]][5] * (Math.PI / 180))))) / 4); ActiveObjects[a][0][1].WormBottom.rotation = ActiveObjects[a][0][2].WormMiddlePart.rotation; } else { if (Objects[ActiveObjects[a][1]][4] < 500){ if (Objects[ActiveObjects[a][1]][4] == 301){ PlayEffect(24, 0.3, 1); }; PlayMusic(-1, ((200 - (Objects[ActiveObjects[a][1]][4] - 300)) / 200), 0, false); if (Objects[ActiveObjects[a][1]][4] == 350){ Text = "Die demon!<<<<<<<<<<<<<<<<<<<<<"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); }; Objects[ActiveObjects[a][1]][4] = (Objects[ActiveObjects[a][1]][4] + 1); Objects[ActiveObjects[a][1]][14] = (Objects[ActiveObjects[a][1]][14] * 0.96); CameraPositionX = ((CameraPositionX + (Math.random() * 10)) - 5); CameraPositionY = ((CameraPositionY + (Math.random() * 10)) - 5); if (Objects[ActiveObjects[a][1]][4] < 460){ NumberOfFlames = 2; } else { if (Objects[ActiveObjects[a][1]][4] == 460){ NumberOfFlames = 60; ActiveObjects[a][0][14].scaleX = 1.2; ActiveObjects[a][0][14].scaleY = 1.2; }; }; p = 0; while (p < NumberOfFlames) { RenderedRooms[ActiveObjects[a][2]][8][RenderedRooms[ActiveObjects[a][2]][8].length] = new Array(); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0] = RenderedRooms[ActiveObjects[a][2]][7].addChild(new Explosion()); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].x = (ActiveObjects[a][0][0].x + ((Math.random() * 30) - 15)); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].y = (ActiveObjects[a][0][0].y + ((Math.random() * 30) - 15)); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][1] = (Math.random() * 360); RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][0].rotation = RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][1]; RenderedRooms[ActiveObjects[a][2]][8][(RenderedRooms[ActiveObjects[a][2]][8].length - 1)][2] = -((3 + (Math.random() * 6))); p = (p + 1); }; p = 0; while (p < 13) { ActiveObjects[a][0][p].scaleX = (ActiveObjects[a][0][p].scaleX * 0.99); ActiveObjects[a][0][p].scaleY = (ActiveObjects[a][0][p].scaleY * 0.99); p = (p + 1); }; if (Objects[ActiveObjects[a][1]][4] == 500){ Objects[ActiveObjects[a][1]][7] = 18; ActiveObjects[a][5] = 15; ActiveObjects[a][6] = 15; BlockedTiles[42][65] = false; BlockedTiles[10][65] = false; MapStringsSplitted[42][65] = "("; MapStringsSplitted[10][65] = "("; BlockedTiles[52][49] = false; cr = 0; while (cr < RenderedRooms.length) { if ((((WallLocationList[49][52] > -1)) && ((RenderedRooms[cr][3].length > WallLocationList[49][52])))){ if ((((49 == RenderedRooms[cr][3][WallLocationList[49][52]][4])) && ((52 == RenderedRooms[cr][3][WallLocationList[49][52]][5])))){ Rotation = RenderedRooms[cr][3][WallLocationList[49][52]][0].rotation; XPosition = RenderedRooms[cr][3][WallLocationList[49][52]][0].x; YPosition = RenderedRooms[cr][3][WallLocationList[49][52]][0].y; RenderedRooms[cr][1].removeChild(RenderedRooms[cr][3][WallLocationList[49][52]][0]); RenderedRooms[cr][3][WallLocationList[49][52]][0] = RenderedRooms[cr][1].addChild(new WallWindowOpen()); colorTransform = RenderedRooms[cr][3][WallLocationList[49][52]][0].transform.colorTransform; colorTransform.redMultiplier = (((Brightness * colorTransform.redMultiplier) * (LightStringsSplitted[52][49].charCodeAt() - 97)) * 0.02); colorTransform.blueMultiplier = (((Brightness * colorTransform.blueMultiplier) * (LightStringsSplitted[52][49].charCodeAt() - 97)) * 0.02); colorTransform.greenMultiplier = (((Brightness * colorTransform.greenMultiplier) * (LightStringsSplitted[52][49].charCodeAt() - 97)) * 0.02); RenderedRooms[cr][3][WallLocationList[49][52]][0].transform.colorTransform = colorTransform; RenderedRooms[cr][3][WallLocationList[49][52]][0].rotation = Rotation; RenderedRooms[cr][3][WallLocationList[49][52]][0].x = XPosition; RenderedRooms[cr][3][WallLocationList[49][52]][0].y = YPosition; WallLocationList[49][52] = -1; }; }; cr = (cr + 1); }; TimeUntilReInspection = 300; Text = "<<<<<<<<<<<<<<<The symbol faded... <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Finally, <<<<< the dead can rest again.<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); }; }; }; }; break; case 24: if (Rain.length > 0){ ra = 0; while (ra < 50) { Rain[ra][2] = (Rain[ra][2] - (20 + ((100 - (Rain[ra][1] / 3)) * 0.2))); if (Rain[ra][2] < Rain[ra][1]){ Rain[ra][1] = (100 + (Math.random() * 300)); Rain[ra][2] = 400; Rain[ra][3] = (Math.random() * 360); }; SourceX = (Rain[ra][2] * Math.sin((Rain[ra][3] * (Math.PI / 180)))); SourceY = (Rain[ra][2] * Math.cos((Rain[ra][3] * (Math.PI / 180)))); DestX = ((Rain[ra][2] - (20 + (Rain[ra][1] / 3))) * Math.sin((Rain[ra][3] * (Math.PI / 180)))); DestY = ((Rain[ra][2] - (20 + (Rain[ra][1] / 3))) * Math.cos((Rain[ra][3] * (Math.PI / 180)))); Rain[ra][0].x = (300 + SourceX); Rain[ra][0].y = (175 + SourceY); Rain[ra][0].scaleX = ((DestX - SourceX) / 100); Rain[ra][0].scaleY = ((DestY - SourceY) / 100); Rain[ra][0].alpha = RenderedRooms[ActiveObjects[a][2]][1].alpha; ra = (ra + 1); }; }; break; case 51: if (Objects[ActiveObjects[a][1]][4] > 0){ Objects[ActiveObjects[a][1]][4] = (Objects[ActiveObjects[a][1]][4] + 1); if ((((Objects[ActiveObjects[a][1]][4] > 50)) && ((Objects[ActiveObjects[a][1]][4] < 500)))){ Objects[ActiveObjects[a][1]][3] = (Objects[ActiveObjects[a][1]][3] - 1); }; if (Objects[ActiveObjects[a][1]][4] < 100){ PlayAmbient(-1, (((100 - Objects[ActiveObjects[a][1]][4]) * 0.25) / 100), 0, false); } else { PlayAmbient(-1, 0, 0, true); if (Objects[ActiveObjects[a][1]][4] == 100){ PlayMusic(34, 0.4, 9999, true); } else { if (Objects[ActiveObjects[a][1]][4] == 500){ CreditsClip = Effects.addChild(new LastCredits()); CreditsClip.x = 75; CreditsClip.y = 400; } else { if (Objects[ActiveObjects[a][1]][4] > 500){ if (CreditsClip.y > -1200){ CreditsClip.y = (CreditsClip.y - 1.3); } else { InsideRoom = -1; }; }; }; }; }; }; break; }; if (a < ActiveObjects.length){ if ((((CollideObject == true)) && ((RenderedRooms[ActiveObjects[a][2]][0] == InsideRoom)))){ if (Objects[ActiveObjects[a][1]][0] == 0){ if (!(((Math.floor((OldXPosition + UnitRadius)) / 50) == Math.floor((Objects[ActiveObjects[a][1]][2] + (UnitRadius / 50)))))){ RightUpdated = true; } else { RightUpdated = false; }; if (!(((Math.floor((OldXPosition - UnitRadius)) / 50) == Math.floor((Objects[ActiveObjects[a][1]][2] - (UnitRadius / 50)))))){ LeftUpdated = true; } else { LeftUpdated = false; }; if (!(((Math.floor((OldYPosition + UnitRadius)) / 50) == Math.floor((Objects[ActiveObjects[a][1]][3] + (UnitRadius / 50)))))){ DownUpdated = true; } else { DownUpdated = false; }; if (!(((Math.floor((OldYPosition - UnitRadius)) / 50) == Math.floor((Objects[ActiveObjects[a][1]][3] - (UnitRadius / 50)))))){ UpUpdated = true; } else { UpUpdated = false; }; if (LeftUpdated == true){ if (MapStringsSplitted[Math.floor((Objects[ActiveObjects[a][1]][3] / 50))][Math.floor(((Objects[ActiveObjects[a][1]][2] - UnitRadius) / 50))] == "]"){ OpenDoor(Math.floor(((Objects[ActiveObjects[a][1]][2] - UnitRadius) / 50)), Math.floor((Objects[ActiveObjects[a][1]][3] / 50))); }; }; if (RightUpdated == true){ if (MapStringsSplitted[Math.floor((Objects[ActiveObjects[a][1]][3] / 50))][Math.floor(((Objects[ActiveObjects[a][1]][2] + UnitRadius) / 50))] == "]"){ OpenDoor(Math.floor(((Objects[ActiveObjects[a][1]][2] + UnitRadius) / 50)), Math.floor((Objects[ActiveObjects[a][1]][3] / 50))); }; }; if (UpUpdated == true){ if (MapStringsSplitted[Math.floor(((Objects[ActiveObjects[a][1]][3] - UnitRadius) / 50))][Math.floor((Objects[ActiveObjects[a][1]][2] / 50))] == "]"){ OpenDoor(Math.floor((Objects[ActiveObjects[a][1]][2] / 50)), Math.floor(((Objects[ActiveObjects[a][1]][3] - UnitRadius) / 50))); }; }; if (DownUpdated == true){ if (MapStringsSplitted[Math.floor(((Objects[ActiveObjects[a][1]][3] + UnitRadius) / 50))][Math.floor((Objects[ActiveObjects[a][1]][2] / 50))] == "]"){ OpenDoor(Math.floor((Objects[ActiveObjects[a][1]][2] / 50)), Math.floor(((Objects[ActiveObjects[a][1]][3] + UnitRadius) / 50))); }; }; } else { if (MapStringsSplitted[Math.floor((Objects[ActiveObjects[a][1]][3] / 50))][Math.floor(((Objects[ActiveObjects[a][1]][2] - UnitRadius) / 50))] == "["){ Objects[ActiveObjects[a][1]][2] = ((Math.floor((((Objects[ActiveObjects[a][1]][2] - (UnitRadius + 0.1)) / 50) + 1)) * 50) + UnitRadius); }; if (MapStringsSplitted[Math.floor((Objects[ActiveObjects[a][1]][3] / 50))][Math.floor(((Objects[ActiveObjects[a][1]][2] + UnitRadius) / 50))] == "["){ Objects[ActiveObjects[a][1]][2] = ((Math.floor(((Objects[ActiveObjects[a][1]][2] + (UnitRadius + 0.1)) / 50)) * 50) - UnitRadius); }; if (MapStringsSplitted[Math.floor(((Objects[ActiveObjects[a][1]][3] - UnitRadius) / 50))][Math.floor((Objects[ActiveObjects[a][1]][2] / 50))] == "["){ Objects[ActiveObjects[a][1]][3] = ((Math.floor((((Objects[ActiveObjects[a][1]][3] - (UnitRadius + 0.1)) / 50) + 1)) * 50) + UnitRadius); }; if (MapStringsSplitted[Math.floor(((Objects[ActiveObjects[a][1]][3] + UnitRadius) / 50))][Math.floor((Objects[ActiveObjects[a][1]][2] / 50))] == "["){ Objects[ActiveObjects[a][1]][3] = ((Math.floor(((Objects[ActiveObjects[a][1]][3] + (UnitRadius + 0.1)) / 50)) * 50) - UnitRadius); }; }; if (BlockedTiles[Math.floor((Objects[ActiveObjects[a][1]][3] / 50))][Math.floor(((Objects[ActiveObjects[a][1]][2] - UnitRadius) / 50))] == true){ Objects[ActiveObjects[a][1]][2] = ((Math.floor((((Objects[ActiveObjects[a][1]][2] - (UnitRadius + 0.1)) / 50) + 1)) * 50) + UnitRadius); }; if (BlockedTiles[Math.floor((Objects[ActiveObjects[a][1]][3] / 50))][Math.floor(((Objects[ActiveObjects[a][1]][2] + UnitRadius) / 50))] == true){ Objects[ActiveObjects[a][1]][2] = ((Math.floor(((Objects[ActiveObjects[a][1]][2] + (UnitRadius + 0.1)) / 50)) * 50) - UnitRadius); }; if (BlockedTiles[Math.floor(((Objects[ActiveObjects[a][1]][3] - UnitRadius) / 50))][Math.floor((Objects[ActiveObjects[a][1]][2] / 50))] == true){ Objects[ActiveObjects[a][1]][3] = ((Math.floor((((Objects[ActiveObjects[a][1]][3] - (UnitRadius + 0.1)) / 50) + 1)) * 50) + UnitRadius); }; if (BlockedTiles[Math.floor(((Objects[ActiveObjects[a][1]][3] + UnitRadius) / 50))][Math.floor((Objects[ActiveObjects[a][1]][2] / 50))] == true){ Objects[ActiveObjects[a][1]][3] = ((Math.floor(((Objects[ActiveObjects[a][1]][3] + (UnitRadius + 0.1)) / 50)) * 50) - UnitRadius); }; if (Objects[ActiveObjects[a][1]][0] == 41){ if (ObjectStringsSplitted[Math.floor((Objects[ActiveObjects[a][1]][3] / 50))][Math.floor(((Objects[ActiveObjects[a][1]][2] - UnitRadius) / 50))] == "?"){ Objects[ActiveObjects[a][1]][2] = ((Math.floor((((Objects[ActiveObjects[a][1]][2] - (UnitRadius + 0.1)) / 50) + 1)) * 50) + UnitRadius); }; if (ObjectStringsSplitted[Math.floor((Objects[ActiveObjects[a][1]][3] / 50))][Math.floor(((Objects[ActiveObjects[a][1]][2] + UnitRadius) / 50))] == "?"){ Objects[ActiveObjects[a][1]][2] = ((Math.floor(((Objects[ActiveObjects[a][1]][2] + (UnitRadius + 0.1)) / 50)) * 50) - UnitRadius); }; if (ObjectStringsSplitted[Math.floor(((Objects[ActiveObjects[a][1]][3] - UnitRadius) / 50))][Math.floor((Objects[ActiveObjects[a][1]][2] / 50))] == "?"){ Objects[ActiveObjects[a][1]][3] = ((Math.floor((((Objects[ActiveObjects[a][1]][3] - (UnitRadius + 0.1)) / 50) + 1)) * 50) + UnitRadius); }; if (ObjectStringsSplitted[Math.floor(((Objects[ActiveObjects[a][1]][3] + UnitRadius) / 50))][Math.floor((Objects[ActiveObjects[a][1]][2] / 50))] == "?"){ Objects[ActiveObjects[a][1]][3] = ((Math.floor(((Objects[ActiveObjects[a][1]][3] + (UnitRadius + 0.1)) / 50)) * 50) - UnitRadius); }; } else { if (Objects[ActiveObjects[a][1]][0] == 0){ ActivatedTrigger = -1; if (LeftUpdated == true){ if ((((TriggerStringsSplitted[Math.floor((Objects[ActiveObjects[a][1]][3] / 50))][Math.floor(((Objects[ActiveObjects[a][1]][2] - UnitRadius) / 50))].charCodeAt() > 95)) && ((TriggerStringsSplitted[Math.floor((Objects[ActiveObjects[a][1]][3] / 50))][Math.floor(((Objects[ActiveObjects[a][1]][2] - UnitRadius) / 50))].charCodeAt() < 124)))){ ActivatedTrigger = (TriggerStringsSplitted[Math.floor((Objects[ActiveObjects[a][1]][3] / 50))][Math.floor(((Objects[ActiveObjects[a][1]][2] - UnitRadius) / 50))].charCodeAt() - 97); }; }; if (RightUpdated == true){ if ((((TriggerStringsSplitted[Math.floor((Objects[ActiveObjects[a][1]][3] / 50))][Math.floor(((Objects[ActiveObjects[a][1]][2] + UnitRadius) / 50))].charCodeAt() > 95)) && ((TriggerStringsSplitted[Math.floor((Objects[ActiveObjects[a][1]][3] / 50))][Math.floor(((Objects[ActiveObjects[a][1]][2] + UnitRadius) / 50))].charCodeAt() < 124)))){ ActivatedTrigger = (TriggerStringsSplitted[Math.floor((Objects[ActiveObjects[a][1]][3] / 50))][Math.floor(((Objects[ActiveObjects[a][1]][2] + UnitRadius) / 50))].charCodeAt() - 97); }; }; if (UpUpdated == true){ if ((((TriggerStringsSplitted[Math.floor(((Objects[ActiveObjects[a][1]][3] - UnitRadius) / 50))][Math.floor((Objects[ActiveObjects[a][1]][2] / 50))].charCodeAt() > 95)) && ((TriggerStringsSplitted[Math.floor(((Objects[ActiveObjects[a][1]][3] - UnitRadius) / 50))][Math.floor((Objects[ActiveObjects[a][1]][2] / 50))].charCodeAt() < 124)))){ ActivatedTrigger = (TriggerStringsSplitted[Math.floor(((Objects[ActiveObjects[a][1]][3] - UnitRadius) / 50))][Math.floor((Objects[ActiveObjects[a][1]][2] / 50))].charCodeAt() - 97); }; }; if (DownUpdated == true){ if ((((TriggerStringsSplitted[Math.floor(((Objects[ActiveObjects[a][1]][3] + UnitRadius) / 50))][Math.floor((Objects[ActiveObjects[a][1]][2] / 50))].charCodeAt() > 95)) && ((TriggerStringsSplitted[Math.floor(((Objects[ActiveObjects[a][1]][3] + UnitRadius) / 50))][Math.floor((Objects[ActiveObjects[a][1]][2] / 50))].charCodeAt() < 124)))){ ActivatedTrigger = (TriggerStringsSplitted[Math.floor(((Objects[ActiveObjects[a][1]][3] + UnitRadius) / 50))][Math.floor((Objects[ActiveObjects[a][1]][2] / 50))].charCodeAt() - 97); }; }; if ((((ActivatedTrigger > -1)) && ((ActivatedTriggers[ActivatedTrigger] == false)))){ ActivatedTriggers[ActivatedTrigger] = true; TimeUntilReInspection = 300; switch (ActivatedTrigger){ case 0: Text = "It is getting really dark.<<<<<<<<<<"; Text = ((Text + "\n ") + "I better find a light.<<<<<"); WakeUp(); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 1: Text = "The door seems to be blocked.<<<<<"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 2: Text = "How deep is this cave?<<<<<"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 3: Text = "Anyone home?<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"; Text = ((Text + "\n ") + "Guess not.<<<<<"); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 4: Text = "Phew,<<<<<<<<<< what is that horrible stench.<<<<<"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 5: Text = "Were they expecting guests?<<<<<"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 6: CutsceneMode = 180; PlayEffect(7, 0.5, 1); PlayAmbient(-1, 0.1, 1, false); CameraFocus = 47; TimeUntilLightning = 10; Text = "<<<<<<<<<<<<<<<<<<<<Wha...<<<<<<<<<<<<<<<<<<<< Louis?!"; Text = ((Text + "\n ") + "<<<<<<<<<<<<<<<<<<<<"); Text = ((Text + "\n ") + "Who could have done this?"); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 7: if (ReadBook == true){ CutsceneMode = 60; PlayEffect(7, 0.5, 1); PlayAmbient(-1, 0.1, 1, false); CameraFocus = 41; TimeUntilLightning = 10; Text = "<<<<<<<<<<<<<<<<<<<<!?"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); WakeUp(); } else { ActivatedTriggers[ActivatedTrigger] = false; }; break; case 8: CutsceneMode = 160; PlayEffect(7, 0.5, 1); PlayAmbient(-1, 0.1, 1, false); CameraFocus = 48; Text = "<<<<<<<<<<<<<<<Oh no!<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"; Text = ((Text + "\n ") + "I'm too late.<<<<<<<<<< She's dead as well.<<<<<<<<<<"); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 9: Text = "I feel a cold draft in here.<<<<<"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 10: Text = "Brrr, it's freezing.<<<<<"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 11: Text = "What is this place?<<<<<"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); BlockedTiles[54][41] = true; break; case 12: if (ReadBook == true){ CutsceneMode = 99999; CameraFocus = 51; Text = "<<<<<<<<<<<<<<<<<<<<<G<o<o<d<b<y<e<<< L<o<u<i<s<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); d = 0; while (d < ActiveObjects.length) { if (Objects[ActiveObjects[d][1]][0] == 51){ Objects[ActiveObjects[d][1]][4] = 1; }; d = (d + 1); }; } else { ActivatedTriggers[ActivatedTrigger] = false; }; break; case 13: Text = "West wing key used"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 14: Text = "Library key used"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 15: Text = "East wing key used"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 16: Text = "Patrick's key used"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 17: Text = "South wing key used"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 18: if (ReadBook == true){ Text = "It's locked!<<<<<<<<<<"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); } else { ActivatedTriggers[ActivatedTrigger] = false; }; break; case 19: WakeUp(); TriggerStringsSplitted[Math.floor(((Objects[ActiveObjects[a][1]][3] + UnitRadius) / 50))][Math.floor((Objects[ActiveObjects[a][1]][2] / 50))] = "."; ActivatedTriggers[ActivatedTrigger] = false; break; case 20: if (ReadBook == true){ Text = "What in the world was that horrid creature? <<<<<<<<<<"; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); } else { ActivatedTriggers[ActivatedTrigger] = false; }; break; case 21: Text = "Out at last.<<<<<<<<<<<<<<<"; BlockedTiles[52][49] = true; ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); break; case 22: if (PentagramState == 1){ Text = "I can hear them heading this way.<<<<<<<<<<<<<<<"; Text = ((Text + "\n ") + "I'm better off in here.<<<<<<<<<<"); ToRenderStatusText[ToRenderStatusText.length] = new Array(); ToRenderStatusText[(ToRenderStatusText.length - 1)] = Text.split(""); }; break; }; }; }; }; d = 0; while (d < ActiveObjects.length) { if ((((((((ActiveObjects[d][5] > 0)) && ((RenderedRooms[ActiveObjects[d][2]][0] == InsideRoom)))) && ((Objects[ActiveObjects[d][1]][0] > 0)))) && (!((a == d))))){ if ((Objects[ActiveObjects[a][1]][2] + UnitRadius) > (Objects[ActiveObjects[d][1]][2] - ActiveObjects[d][5])){ if ((Objects[ActiveObjects[a][1]][2] - UnitRadius) < (Objects[ActiveObjects[d][1]][2] + ActiveObjects[d][5])){ if ((Objects[ActiveObjects[a][1]][3] + UnitRadius) > (Objects[ActiveObjects[d][1]][3] - ActiveObjects[d][6])){ if ((Objects[ActiveObjects[a][1]][3] - UnitRadius) < (Objects[ActiveObjects[d][1]][3] + ActiveObjects[d][6])){ if ((Math.abs((Objects[ActiveObjects[a][1]][2] - Objects[ActiveObjects[d][1]][2])) * ((UnitRadius + ActiveObjects[d][6]) / ((UnitRadius + ActiveObjects[d][5]) + (UnitRadius + ActiveObjects[d][6])))) > (Math.abs((Objects[ActiveObjects[a][1]][3] - Objects[ActiveObjects[d][1]][3])) * ((UnitRadius + ActiveObjects[d][5]) / ((UnitRadius + ActiveObjects[d][5]) + (UnitRadius + ActiveObjects[d][6]))))){ if (Objects[ActiveObjects[a][1]][2] > Objects[ActiveObjects[d][1]][2]){ Objects[ActiveObjects[a][1]][2] = (Objects[ActiveObjects[d][1]][2] + (UnitRadius + ActiveObjects[d][5])); } else { Objects[ActiveObjects[a][1]][2] = (Objects[ActiveObjects[d][1]][2] - (UnitRadius + ActiveObjects[d][5])); }; } else { if (Objects[ActiveObjects[a][1]][3] > Objects[ActiveObjects[d][1]][3]){ Objects[ActiveObjects[a][1]][3] = (Objects[ActiveObjects[d][1]][3] + (UnitRadius + ActiveObjects[d][6])); } else { Objects[ActiveObjects[a][1]][3] = (Objects[ActiveObjects[d][1]][3] - (UnitRadius + ActiveObjects[d][6])); }; }; }; }; }; }; if ((((((TimeUntilReInspection == 0)) && ((Objects[ActiveObjects[a][1]][0] == 0)))) && ((Objects[ActiveObjects[d][1]][7] > -1)))){ if (((Objects[ActiveObjects[a][1]][2] + UnitRadius) + 15) > (Objects[ActiveObjects[d][1]][2] - ActiveObjects[d][5])){ if (((Objects[ActiveObjects[a][1]][2] - UnitRadius) - 15) < (Objects[ActiveObjects[d][1]][2] + ActiveObjects[d][5])){ if (((Objects[ActiveObjects[a][1]][3] + UnitRadius) + 15) > (Objects[ActiveObjects[d][1]][3] - ActiveObjects[d][6])){ if (((Objects[ActiveObjects[a][1]][3] - UnitRadius) - 15) < (Objects[ActiveObjects[d][1]][3] + ActiveObjects[d][6])){ angle = (Math.atan(((Objects[ActiveObjects[d][1]][3] - Objects[ActiveObjects[a][1]][3]) / (Objects[ActiveObjects[d][1]][2] - Objects[ActiveObjects[a][1]][2]))) / (Math.PI / 180)); if ((Objects[ActiveObjects[d][1]][2] - Objects[ActiveObjects[a][1]][2]) < 0){ angle = (angle + 180); }; if (((((Objects[ActiveObjects[d][1]][2] - Objects[ActiveObjects[a][1]][2]) >= 0)) && (((Objects[ActiveObjects[d][1]][3] - Objects[ActiveObjects[a][1]][3]) < 0)))){ angle = (angle + 360); }; if (Math.abs((angle - Objects[ActiveObjects[a][1]][4])) <= 180){ angle = (Objects[ActiveObjects[a][1]][4] - angle); } else { if (Math.abs((angle - Objects[ActiveObjects[a][1]][4])) > 180){ if ((angle - Objects[ActiveObjects[a][1]][4]) < 0){ angle = -(((360 + angle) - Objects[ActiveObjects[a][1]][4])); } else { angle = ((360 + Objects[ActiveObjects[a][1]][4]) - angle); }; }; }; angle = Math.abs((angle + 90)); if (angle < 50){ switch (Objects[ActiveObjects[d][1]][7]){ case 0: FacingObject = ActiveObjects[d][1]; StatusText.text = "Take the old rusty pipe"; StatusTextShadow.text = "Take the old rusty pipe"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 1: FacingObject = ActiveObjects[d][1]; StatusText.text = "Take the revolver"; StatusTextShadow.text = "Take the revolver"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 2: FacingObject = ActiveObjects[d][1]; StatusText.text = "Take the shotgun"; StatusTextShadow.text = "Take the shotgun"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 3: FacingObject = ActiveObjects[d][1]; StatusText.text = "Take the flashlight\n(Press Z for action)"; StatusTextShadow.text = "Take the flashlight\n(Press Z for action)"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 4: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search cupboard"; StatusTextShadow.text = "Search cupboard"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 5: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search cabinet"; StatusTextShadow.text = "Search cabinet"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 6: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search nightstand"; StatusTextShadow.text = "Search nightstand"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 7: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search desk"; StatusTextShadow.text = "Search desk"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 8: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search cabinet"; StatusTextShadow.text = "Search cabinet"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 9: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search drawer"; StatusTextShadow.text = "Search drawer"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 10: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search body"; StatusTextShadow.text = "Search body"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 11: if ((((ReadBook == false)) && ((FoundBook == true)))){ FacingObject = ActiveObjects[d][1]; StatusText.text = "Read 'Rituals of Necromancy'"; StatusTextShadow.text = "Read 'Rituals of Necromancy'"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; }; break; case 12: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search body"; StatusTextShadow.text = "Search body"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 13: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search desk"; StatusTextShadow.text = "Search desk"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 14: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search locker"; StatusTextShadow.text = "Search locker"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 15: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search locker"; StatusTextShadow.text = "Search locker"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 16: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search altar"; StatusTextShadow.text = "Search altar"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 17: if (PentagramState < 2){ FacingObject = ActiveObjects[d][1]; if (PentagramState == 0){ if (GotLighter == true){ StatusText.text = "Light candles"; StatusTextShadow.text = "Light candles"; } else { StatusText.text = "Inspect symbol"; StatusTextShadow.text = "Inspect symbol"; }; } else { StatusText.text = "Move candles"; StatusTextShadow.text = "Move candles"; }; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; }; break; case 18: FacingObject = ActiveObjects[d][1]; StatusText.text = "Read paper"; StatusTextShadow.text = "Read paper"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 19: FacingObject = ActiveObjects[d][1]; StatusText.text = "Inspect crate"; StatusTextShadow.text = "Inspect crate"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 20: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search fridge"; StatusTextShadow.text = "Search fridge"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 21: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search fridge"; StatusTextShadow.text = "Search fridge"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 22: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search cabinet"; StatusTextShadow.text = "Search cabinet"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 23: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search cabinet"; StatusTextShadow.text = "Search cabinet"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 24: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search cabinet"; StatusTextShadow.text = "Search cabinet"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 25: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search locker"; StatusTextShadow.text = "Search locker"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 26: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search drawer"; StatusTextShadow.text = "Search drawer"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 27: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search drawer"; StatusTextShadow.text = "Search drawer"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 28: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search drawer"; StatusTextShadow.text = "Search drawer"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 29: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search bookcase"; StatusTextShadow.text = "Search bookcase"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 30: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search bookcase"; StatusTextShadow.text = "Search bookcase"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 31: FacingObject = ActiveObjects[d][1]; StatusText.text = "Flush toilet"; StatusTextShadow.text = "Flush toilet"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 32: FacingObject = ActiveObjects[d][1]; StatusText.text = "Use stove"; StatusTextShadow.text = "Use stove"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 33: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search tub"; StatusTextShadow.text = "Search tub"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 34: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search nightstand"; StatusTextShadow.text = "Search nightstand"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 35: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search nightstand"; StatusTextShadow.text = "Search nightstand"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 36: FacingObject = ActiveObjects[d][1]; StatusText.text = "Inspect grave"; StatusTextShadow.text = "Inspect grave"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 37: FacingObject = ActiveObjects[d][1]; StatusText.text = "Inspect grave"; StatusTextShadow.text = "Inspect grave"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 38: FacingObject = ActiveObjects[d][1]; StatusText.text = "Inspect blood"; StatusTextShadow.text = "Inspect blood"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 40: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search desk"; StatusTextShadow.text = "Seach desk"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 41: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search desk"; StatusTextShadow.text = "Search desk"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 42: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search closet"; StatusTextShadow.text = "Search closet"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 43: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search closet"; StatusTextShadow.text = "Search closet"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 44: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search closet"; StatusTextShadow.text = "Search closet"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 45: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search locker"; StatusTextShadow.text = "Search locker"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; case 46: FacingObject = ActiveObjects[d][1]; StatusText.text = "Search body"; StatusTextShadow.text = "Search body"; StatusText.alpha = 100; StatusTextShadow.alpha = 100; ToRenderStatusText = new Array(); ToRenderStatusText[0] = new Array(); ToRenderStatusText[0][0] = " "; ToRenderStatusText[0][1] = "|"; break; }; break; }; }; }; }; }; }; }; d = (d + 1); }; }; c = 0; while (c < ActiveObjects[a][0].length) { ActiveObjects[a][0][c].x = (Objects[ActiveObjects[a][1]][2] - (RoomBoxes[RenderedRooms[ActiveObjects[a][2]][0]][2] * 50)); ActiveObjects[a][0][c].y = (Objects[ActiveObjects[a][1]][3] - (RoomBoxes[RenderedRooms[ActiveObjects[a][2]][0]][3] * 50)); if (ActiveObjects[a][3][c] > -1){ ActiveObjects[a][0][c].x = (ActiveObjects[a][0][c].x + ((((((ActiveObjects[a][0][c].x + ((RoomBoxes[RenderedRooms[ActiveObjects[a][2]][0]][2] * 50) - CameraPositionX)) - (ResolutionX * 0.5)) / (ResolutionX * 0.5)) * ActiveObjects[a][3][c]) * 5) * Objects[ActiveObjects[a][1]][14])); ActiveObjects[a][0][c].y = (ActiveObjects[a][0][c].y + ((((((ActiveObjects[a][0][c].y + ((RoomBoxes[RenderedRooms[ActiveObjects[a][2]][0]][3] * 50) - CameraPositionY)) - (ResolutionY * 0.5)) / (ResolutionY * 0.5)) * ActiveObjects[a][3][c]) * 5) * Objects[ActiveObjects[a][1]][14])); if ((((RenderedRooms[ActiveObjects[a][2]][0] == InsideRoom)) && (!((ActiveObjects[a][4][c] == ((Brightness * (LightStringsSplitted[(Math.round(((Objects[ActiveObjects[a][1]][3] + 25) / 50)) - 1)][(Math.round(((Objects[ActiveObjects[a][1]][2] + 25) / 50)) - 1)].charCodeAt() - 97)) * 0.02)))))){ colorTransform = ActiveObjects[a][0][c].transform.colorTransform; colorTransform.redMultiplier = ((colorTransform.redMultiplier * 1) + (1 - ActiveObjects[a][4][c])); colorTransform.blueMultiplier = ((colorTransform.blueMultiplier * 1) + (1 - ActiveObjects[a][4][c])); colorTransform.greenMultiplier = ((colorTransform.greenMultiplier * 1) + (1 - ActiveObjects[a][4][c])); ActiveObjects[a][4][c] = ((Brightness * (LightStringsSplitted[(Math.round(((Objects[ActiveObjects[a][1]][3] + 25) / 50)) - 1)][(Math.round(((Objects[ActiveObjects[a][1]][2] + 25) / 50)) - 1)].charCodeAt() - 97)) * 0.02); colorTransform.redMultiplier = (colorTransform.redMultiplier * ActiveObjects[a][4][c]); colorTransform.blueMultiplier = (colorTransform.blueMultiplier * ActiveObjects[a][4][c]); colorTransform.greenMultiplier = (colorTransform.greenMultiplier * ActiveObjects[a][4][c]); ActiveObjects[a][0][c].transform.colorTransform = colorTransform; }; } else { if (ActiveObjects[a][3][c] == -1){ if ((((GotFlashlight == false)) && ((Objects[ActiveObjects[a][1]][0] == 0)))){ CurrentFrame = 1; } else { CurrentFrame = (6 - Math.round(((LightStringsSplitted[(Math.round(((Objects[ActiveObjects[a][1]][3] + 25) / 50)) - 1)][(Math.round(((Objects[ActiveObjects[a][1]][2] + 25) / 50)) - 1)].charCodeAt() - 97) / 5.6))); }; ActiveObjects[a][0][c].Intensity.gotoAndStop(CurrentFrame); if (!((ActiveObjects[a][0][c].IntensityAlt == undefined))){ ActiveObjects[a][0][c].IntensityAlt.gotoAndStop(CurrentFrame); }; }; }; c = (c + 1); }; }; a = (a + 1); }; }; if (RenderedRooms.length > 0){ n = 0; while (n < RenderedRooms.length) { RenderedRooms[n][1].x = ((RoomBoxes[RenderedRooms[n][0]][2] * 50) - CameraPositionX); RenderedRooms[n][1].y = ((RoomBoxes[RenderedRooms[n][0]][3] * 50) - CameraPositionY); RenderedRooms[n][2].x = ((RoomBoxes[RenderedRooms[n][0]][2] * 50) - CameraPositionX); RenderedRooms[n][2].y = ((RoomBoxes[RenderedRooms[n][0]][3] * 50) - CameraPositionY); RenderedRooms[n][6].x = ((RoomBoxes[RenderedRooms[n][0]][2] * 50) - CameraPositionX); RenderedRooms[n][6].y = ((RoomBoxes[RenderedRooms[n][0]][3] * 50) - CameraPositionY); RenderedRooms[n][7].x = ((RoomBoxes[RenderedRooms[n][0]][2] * 50) - CameraPositionX); RenderedRooms[n][7].y = ((RoomBoxes[RenderedRooms[n][0]][3] * 50) - CameraPositionY); if (RenderedRooms[n][8].length > 0){ i = 0; while (i < RenderedRooms[n][8].length) { RenderedRooms[n][8][i][0].x = (RenderedRooms[n][8][i][0].x + (RenderedRooms[n][8][i][2] * Math.sin((RenderedRooms[n][8][i][1] * (Math.PI / 180))))); RenderedRooms[n][8][i][0].y = (RenderedRooms[n][8][i][0].y - (RenderedRooms[n][8][i][2] * Math.cos((RenderedRooms[n][8][i][1] * (Math.PI / 180))))); RenderedRooms[n][8][i][2] = (RenderedRooms[n][8][i][2] * 0.8); RenderedRooms[n][8][i][0].alpha = (RenderedRooms[n][8][i][0].alpha - 0.05); if (RenderedRooms[n][8][i][0].alpha < 0){ RenderedRooms[n][7].removeChild(RenderedRooms[n][8][i][0]); RenderedRooms[n][8].splice(i, 1); i = (i - 1); }; i = (i + 1); }; }; if (RenderedRooms[n][3].length > 0){ i = 0; while (i < RenderedRooms[n][3].length) { if (RenderedRooms[n][3][i][1] == 0){ RenderedRooms[n][3][i][0].scaleY = ((((RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x) - (ResolutionX * 0.5)) / (ResolutionX * 0.5)) * 0.6); if ((RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x) < (ResolutionX * 0.5)){ if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 2)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 2)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], (RenderedRooms[n][3].length + 9)); }; } else { if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 1)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 1)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], 0); }; }; } else { if (RenderedRooms[n][3][i][1] == 1){ RenderedRooms[n][3][i][0].scaleY = ((((RenderedRooms[n][1].y + RenderedRooms[n][3][i][0].y) - (ResolutionY * 0.5)) / (ResolutionY * 0.5)) * 0.6); if ((RenderedRooms[n][1].y + RenderedRooms[n][3][i][0].y) < (ResolutionY * 0.5)){ if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 2)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 2)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], (RenderedRooms[n][3].length + 9)); }; } else { if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 1)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 1)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], 0); }; }; } else { if (RenderedRooms[n][3][i][1] == 2){ RenderedRooms[n][3][i][0].scaleY = ((((ResolutionX * 0.5) - (RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x)) / (ResolutionX * 0.5)) * 0.6); if ((RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x) > (ResolutionX * 0.5)){ if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 2)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 2)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], (RenderedRooms[n][3].length + 9)); }; } else { if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 1)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 1)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], 0); }; }; } else { if (RenderedRooms[n][3][i][1] == 3){ RenderedRooms[n][3][i][0].scaleY = ((((ResolutionY * 0.5) - (RenderedRooms[n][1].y + RenderedRooms[n][3][i][0].y)) / (ResolutionY * 0.5)) * 0.6); if ((RenderedRooms[n][1].y + RenderedRooms[n][3][i][0].y) > (ResolutionY * 0.5)){ if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 2)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 2)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], (RenderedRooms[n][3].length + 9)); }; } else { if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 1)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 1)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], 0); }; }; } else { if (RenderedRooms[n][3][i][1] == 4){ RenderedRooms[n][3][i][0].scaleX = ((((RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x) - (ResolutionX * 0.5)) / (ResolutionX * 0.5)) * 0.6); RenderedRooms[n][3][i][0].scaleY = ((((RenderedRooms[n][1].y + RenderedRooms[n][3][i][0].y) - (ResolutionY * 0.5)) / (ResolutionY * 0.5)) * 0.6); if (((((RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x) < (ResolutionX * 0.5))) || (((RenderedRooms[n][1].y + RenderedRooms[n][3][i][0].y) < (ResolutionY * 0.5))))){ if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 2)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 2)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], (RenderedRooms[n][3].length + 9)); }; } else { if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 1)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 1)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], 0); }; }; } else { if (RenderedRooms[n][3][i][1] == 5){ RenderedRooms[n][3][i][0].scaleY = ((((ResolutionX * 0.5) - (RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x)) / (ResolutionX * 0.5)) * 0.6); RenderedRooms[n][3][i][0].scaleX = ((((RenderedRooms[n][1].y + RenderedRooms[n][3][i][0].y) - (ResolutionY * 0.5)) / (ResolutionY * 0.5)) * 0.6); if (((((RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x) > (ResolutionX * 0.5))) || (((RenderedRooms[n][1].y + RenderedRooms[n][3][i][0].y) < (ResolutionY * 0.5))))){ if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 2)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 2)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], (RenderedRooms[n][3].length + 9)); }; } else { if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 1)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 1)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], 0); }; }; } else { if (RenderedRooms[n][3][i][1] == 6){ RenderedRooms[n][3][i][0].scaleX = ((((ResolutionX * 0.5) - (RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x)) / (ResolutionX * 0.5)) * 0.6); RenderedRooms[n][3][i][0].scaleY = ((((ResolutionY * 0.5) - (RenderedRooms[n][1].y + RenderedRooms[n][3][i][0].y)) / (ResolutionY * 0.5)) * 0.6); if (((((RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x) > (ResolutionX * 0.5))) || (((RenderedRooms[n][1].y + RenderedRooms[n][3][i][0].y) > (ResolutionY * 0.5))))){ if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 2)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 2)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], (RenderedRooms[n][3].length + 9)); }; } else { if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 1)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 1)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], 0); }; }; } else { if (RenderedRooms[n][3][i][1] == 7){ RenderedRooms[n][3][i][0].scaleY = ((((RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x) - (ResolutionX * 0.5)) / (ResolutionX * 0.5)) * 0.6); RenderedRooms[n][3][i][0].scaleX = ((((ResolutionY * 0.5) - (RenderedRooms[n][1].y + RenderedRooms[n][3][i][0].y)) / (ResolutionY * 0.5)) * 0.6); if (((((RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x) < (ResolutionX * 0.5))) || (((RenderedRooms[n][1].y + RenderedRooms[n][3][i][0].y) > (ResolutionY * 0.5))))){ if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 2)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 2)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], (RenderedRooms[n][3].length + 9)); }; } else { if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 1)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 2) + 1)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], 0); }; }; } else { if (RenderedRooms[n][3][i][1] == 8){ RenderedRooms[n][3][i][0].scaleX = ((((ResolutionX * 0.5) - (RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x)) / (ResolutionX * 0.5)) * 0.6); RenderedRooms[n][3][i][0].scaleY = ((((ResolutionY * 0.5) - (RenderedRooms[n][1].y + RenderedRooms[n][3][i][0].y)) / (ResolutionY * 0.5)) * 0.6); if (((((RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x) > (ResolutionX * 0.5))) || (((RenderedRooms[n][1].y + RenderedRooms[n][3][i][0].y) > (ResolutionY * 0.5))))){ if (((((RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x) > (ResolutionX * 0.5))) && (((RenderedRooms[n][1].y + RenderedRooms[n][3][i][0].y) > (ResolutionY * 0.5))))){ if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 4)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 4)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], (RenderedRooms[n][3].length + 9)); }; } else { if ((RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x) > (ResolutionX * 0.5)){ if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 3)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 3)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], 0); }; } else { if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 2)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 2)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], 0); }; }; }; } else { if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 1)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 1)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], 0); }; }; } else { if (RenderedRooms[n][3][i][1] == 9){ RenderedRooms[n][3][i][0].scaleY = ((((RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x) - (ResolutionX * 0.5)) / (ResolutionX * 0.5)) * 0.6); RenderedRooms[n][3][i][0].scaleX = ((((ResolutionY * 0.5) - (RenderedRooms[n][1].y + RenderedRooms[n][3][i][0].y)) / (ResolutionY * 0.5)) * 0.6); if (((((RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x) < (ResolutionX * 0.5))) || (((RenderedRooms[n][1].y + RenderedRooms[n][3][i][0].y) > (ResolutionY * 0.5))))){ if (((((RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x) < (ResolutionX * 0.5))) && (((RenderedRooms[n][1].y + RenderedRooms[n][3][i][0].y) > (ResolutionY * 0.5))))){ if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 4)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 4)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], (RenderedRooms[n][3].length + 9)); }; } else { if ((RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x) < (ResolutionX * 0.5)){ if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 2)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 2)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], 0); }; } else { if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 3)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 3)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], 0); }; }; }; } else { if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 1)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 1)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], 0); }; }; } else { if (RenderedRooms[n][3][i][1] == 10){ RenderedRooms[n][3][i][0].scaleX = ((((RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x) - (ResolutionX * 0.5)) / (ResolutionX * 0.5)) * 0.6); RenderedRooms[n][3][i][0].scaleY = ((((RenderedRooms[n][1].y + RenderedRooms[n][3][i][0].y) - (ResolutionY * 0.5)) / (ResolutionY * 0.5)) * 0.6); if (((((RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x) < (ResolutionX * 0.5))) || (((RenderedRooms[n][1].y + RenderedRooms[n][3][i][0].y) < (ResolutionY * 0.5))))){ if (((((RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x) < (ResolutionX * 0.5))) && (((RenderedRooms[n][1].y + RenderedRooms[n][3][i][0].y) < (ResolutionY * 0.5))))){ if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 4)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 4)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], (RenderedRooms[n][3].length + 9)); }; } else { if ((RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x) < (ResolutionX * 0.5)){ if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 3)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 3)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], 0); }; } else { if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 2)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 2)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], 0); }; }; }; } else { if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 1)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 1)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], 0); }; }; } else { if (RenderedRooms[n][3][i][1] == 11){ RenderedRooms[n][3][i][0].scaleY = ((((ResolutionX * 0.5) - (RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x)) / (ResolutionX * 0.5)) * 0.6); RenderedRooms[n][3][i][0].scaleX = ((((RenderedRooms[n][1].y + RenderedRooms[n][3][i][0].y) - (ResolutionY * 0.5)) / (ResolutionY * 0.5)) * 0.6); if (((((RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x) > (ResolutionX * 0.5))) || (((RenderedRooms[n][1].y + RenderedRooms[n][3][i][0].y) < (ResolutionY * 0.5))))){ if (((((RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x) > (ResolutionX * 0.5))) && (((RenderedRooms[n][1].y + RenderedRooms[n][3][i][0].y) < (ResolutionY * 0.5))))){ if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 4)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 4)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], (RenderedRooms[n][3].length + 9)); }; } else { if ((RenderedRooms[n][1].x + RenderedRooms[n][3][i][0].x) > (ResolutionX * 0.5)){ if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 2)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 2)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], 0); }; } else { if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 3)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 3)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], 0); }; }; }; } else { if (!((RenderedRooms[n][3][i][0].currentFrame == ((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 1)))){ RenderedRooms[n][3][i][0].gotoAndStop(((RoomBoxes[RenderedRooms[n][0]][1] * 4) + 1)); RenderedRooms[n][1].setChildIndex(RenderedRooms[n][3][i][0], 0); }; }; }; }; }; }; }; }; }; }; }; }; }; }; if (RenderedRooms[n][3][i].length == 5){ LeftPosition = 0; RightPosition = 0; UpPosition = 0; DownPosition = 0; PositionX = 0; PositionY = 0; XScale = 0; YScale = 0; if ((((RenderedRooms[n][3][RenderedRooms[n][3][i][2]][1] == 8)) || ((RenderedRooms[n][3][RenderedRooms[n][3][i][2]][1] == 10)))){ PositionX = RenderedRooms[n][3][RenderedRooms[n][3][i][2]][0].x; PositionY = RenderedRooms[n][3][RenderedRooms[n][3][i][2]][0].y; XScale = RenderedRooms[n][3][RenderedRooms[n][3][i][2]][0].scaleX; YScale = RenderedRooms[n][3][RenderedRooms[n][3][i][2]][0].scaleY; } else { PositionY = RenderedRooms[n][3][RenderedRooms[n][3][i][2]][0].x; PositionX = RenderedRooms[n][3][RenderedRooms[n][3][i][2]][0].y; YScale = RenderedRooms[n][3][RenderedRooms[n][3][i][2]][0].scaleX; XScale = RenderedRooms[n][3][RenderedRooms[n][3][i][2]][0].scaleY; }; if (RenderedRooms[n][3][RenderedRooms[n][3][i][2]][0].scaleX < 0){ LeftPosition = (PositionX - RenderedRooms[n][3][RenderedRooms[n][3][i][2]][0].width); RightPosition = PositionX; } else { LeftPosition = PositionX; RightPosition = (PositionX + RenderedRooms[n][3][RenderedRooms[n][3][i][2]][0].width); }; if (RenderedRooms[n][3][RenderedRooms[n][3][i][2]][0].scaleY < 0){ UpPosition = (PositionY - RenderedRooms[n][3][RenderedRooms[n][3][i][2]][0].height); DownPosition = PositionY; } else { UpPosition = PositionY; DownPosition = (PositionY + RenderedRooms[n][3][RenderedRooms[n][3][i][2]][0].height); }; XSpace = (RightPosition - LeftPosition); YSpace = (DownPosition - UpPosition); if ((((RenderedRooms[n][3][i][1] == 0)) || ((RenderedRooms[n][3][i][1] == 2)))){ if ((((RenderedRooms[n][3][RenderedRooms[n][3][i][2]][1] == 8)) || ((RenderedRooms[n][3][RenderedRooms[n][3][i][2]][1] == 9)))){ if (YScale < 0){ RenderedRooms[n][3][i][0].scaleX = 1; RenderedRooms[n][3][i][0].y = RenderedRooms[n][3][i][4]; } else { RenderedRooms[n][3][i][0].scaleX = (1 - (YSpace / 50)); RenderedRooms[n][3][i][0].y = (RenderedRooms[n][3][i][4] - YSpace); }; } else { if (YScale < 0){ RenderedRooms[n][3][i][0].scaleX = 1; RenderedRooms[n][3][i][0].y = RenderedRooms[n][3][i][4]; } else { RenderedRooms[n][3][i][0].scaleX = (1 - (YSpace / 50)); RenderedRooms[n][3][i][0].y = (RenderedRooms[n][3][i][4] + YSpace); }; }; if ((((RenderedRooms[n][3][i][1] == 0)) && ((RenderedRooms[n][3][RenderedRooms[n][3][i][2]][1] == 10)))){ RenderedRooms[n][3][i][0].y = (RenderedRooms[n][3][i][0].y - (50 - (RenderedRooms[n][3][i][0].scaleX * 50))); } else { if ((((RenderedRooms[n][3][i][1] == 2)) && ((RenderedRooms[n][3][RenderedRooms[n][3][i][2]][1] == 8)))){ RenderedRooms[n][3][i][0].y = (RenderedRooms[n][3][i][0].y + (50 - (RenderedRooms[n][3][i][0].scaleX * 50))); }; }; } else { if ((((RenderedRooms[n][3][i][1] == 1)) || ((RenderedRooms[n][3][i][1] == 3)))){ if ((((RenderedRooms[n][3][RenderedRooms[n][3][i][2]][1] == 8)) || ((RenderedRooms[n][3][RenderedRooms[n][3][i][2]][1] == 11)))){ if (XScale < 0){ RenderedRooms[n][3][i][0].scaleX = 1; RenderedRooms[n][3][i][0].x = RenderedRooms[n][3][i][3]; } else { RenderedRooms[n][3][i][0].scaleX = (1 - (XSpace / 50)); RenderedRooms[n][3][i][0].x = (RenderedRooms[n][3][i][3] - XSpace); }; if (RenderedRooms[n][3][i][1] == 1){ RenderedRooms[n][3][i][0].x = (RenderedRooms[n][3][i][0].x + (50 - (RenderedRooms[n][3][i][0].scaleX * 50))); }; } else { if (XScale < 0){ RenderedRooms[n][3][i][0].scaleX = 1; RenderedRooms[n][3][i][0].x = RenderedRooms[n][3][i][3]; } else { RenderedRooms[n][3][i][0].scaleX = (1 - (XSpace / 50)); RenderedRooms[n][3][i][0].x = (RenderedRooms[n][3][i][3] + XSpace); }; if (RenderedRooms[n][3][i][1] == 3){ RenderedRooms[n][3][i][0].x = (RenderedRooms[n][3][i][0].x - (50 - (RenderedRooms[n][3][i][0].scaleX * 50))); }; }; }; }; }; i = (i + 1); }; }; if (InsideRoom == RenderedRooms[n][0]){ if (RenderedRooms[n][1].alpha < 1){ RenderedRooms[n][1].alpha = (RenderedRooms[n][1].alpha + 0.08); RenderedRooms[n][2].alpha = (RenderedRooms[n][2].alpha + 0.08); RenderedRooms[n][6].alpha = (RenderedRooms[n][6].alpha + 0.08); } else { RenderedRooms[n][1].alpha = 1; RenderedRooms[n][2].alpha = 1; RenderedRooms[n][6].alpha = 1; }; } else { if (RenderedRooms[n][1].alpha > 0){ RenderedRooms[n][1].alpha = (RenderedRooms[n][1].alpha - 0.08); RenderedRooms[n][2].alpha = (RenderedRooms[n][2].alpha - 0.08); RenderedRooms[n][6].alpha = (RenderedRooms[n][6].alpha - 0.08); if (RenderedRooms[n][1].alpha < 0){ RoomLightning.gotoAndStop(1); if ((((Raining == false)) && ((Rain.length == 50)))){ ra = 0; while (ra < 50) { Effects.removeChild(Rain[ra][0]); ra = (ra + 1); }; Rain = new Array(); }; this.removeChild(RenderedRooms[n][1]); this.removeChild(RenderedRooms[n][2]); this.removeChild(RenderedRooms[n][6]); if (ActiveObjects.length > 0){ o = 0; while (o < ActiveObjects.length) { if (ActiveObjects[o][2] == n){ Objects[ActiveObjects[o][1]][1] = false; ActiveObjects.splice(o, 1); o = (o - 1); }; o = (o + 1); }; o = 0; while (o < ActiveObjects.length) { if (ActiveObjects[o][2] >= n){ ActiveObjects[o][2] = (ActiveObjects[o][2] - 1); }; o = (o + 1); }; }; RenderedRooms.splice(n, 1); }; }; }; n = (n + 1); }; }; }; }; } public function PlayMusic(_arg1, _arg2, _arg3, _arg4){ soundVol.volume = _arg2; if (_arg4 == true){ MusicChannel.stop(); }; if (_arg1 > -1){ MusicChannel = SoundEffects[_arg1].play(0, _arg3); }; MusicChannel.soundTransform = soundVol; } public function WakeUp(){ var _local1:*; _local1 = 0; while (_local1 < ActiveObjects.length) { if (Objects[ActiveObjects[_local1][1]][0] == 41){ if (Objects[ActiveObjects[_local1][1]][11] > 100){ Objects[ActiveObjects[_local1][1]][11] = 100; }; }; _local1++; }; } public function ResetGame(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:*; var _local10:*; var _local11:*; var _local12:*; var _local13:*; var _local14:*; var _local15:*; var _local16:*; var _local17:*; var _local18:*; var _local19:*; var _local20:*; var _local21:*; var _local22:*; var _local23:*; var _local24:*; var _local25:*; var _local26:*; var _local27:*; var _local28:*; var _local29:*; var _local30:*; var _local31:*; var _local32:*; var _local33:*; var _local34:*; var _local35:*; var _local36:*; var _local37:*; Prologue = false; MenuSet = false; StartingGame = false; Left = false; Right = false; Up = false; Down = false; Action = false; Fire = false; ChangeWeapon = false; ReloadWeapon = false; MapStrings = new Array(); ObjectStrings = new Array(); LightStrings = new Array(); TriggerStrings = new Array(); MapStringsSplitted = new Array(); ObjectStringsSplitted = new Array(); LightStringsSplitted = new Array(); TriggerStringsSplitted = new Array(); RoomBoxes = new Array(); BlockedTiles = new Array(); MapStrings[0] = "..............................???..................................."; MapStrings[1] = "......................9#===##.#]##.##===##...9#################....."; MapStrings[2] = "..2##(=##.2##=#)=##...#bbbbb#.#kk#.#bbbbb#...#bbbbbbbbbbbbbbbb#....."; MapStrings[3] = "..#fffff#.#fffffff#.###bbbbb###kk###bbbbb###.#bbbbbbbbbbbbbbbb#....."; MapStrings[4] = "..!fffff#?#fffffff!.=bbbbbbbbbbkkbbbbbbbbbb#.|bbbbbbbbbbbbbbbb#....."; MapStrings[5] = "..#fffff].]fffffff#.!bbbbbbbbbbkkbbbbbbbbbb#?#bbbbbbbbbbbbbbbb|.8##."; MapStrings[6] = "..=fffff#?#fffffff|.=bbbbbkkkkkkkkkkkkbbbbb].]bbbbbbbbbbbbbbbb#?#a#."; MapStrings[7] = "..#fffff!.#fffffff#.#bbbbbkbbbbbbbbbbkbbbbb#?#bbbbbbbbbbbbbbbb].[a#."; MapStrings[8] = "..###]###.###!##]##.##==#bkb#!====!#bkb#==##.########bbbbbbbbb#?#a#."; MapStrings[9] = "..3##]####...1##]##.....##]##......##]##.....1#####.###########.#a#."; MapStrings[10] = "..#llllll#...#dddd#....4##]!#=####=#!]###....#dddd#?0##=####=##.#)#."; MapStrings[11] = "..)llllll=...#dddd)....#bbkbbbbbbbbbbkbb#....)dddd].]nnnnnnnnn#.8[#."; MapStrings[12] = "..#llllll#...|dddd=....)bbkkkkkkkkkkkkbb)....=dddd#?#nnnnnnnnn!.#a#."; MapStrings[13] = "..|llll###...#dddd#....#bbbbbbbkkbbbbbbb#....#dddd#.#nnnnnnnnn#.#a#."; MapStrings[14] = "..#llll#.....!dddd#....###|##bbkkbb##|###....#dddd#.#nnnnnnnnn#.#a#."; MapStrings[15] = "..=llll=.....#dddd).........#bbkkbb#.........)dddd|.###!###!###.#a#."; MapStrings[16] = "..#llll#.....#dddd#.0#!#)##.#bbkkbb#.##)#!##.!dddd#.5###====###.#a#."; MapStrings[17] = "..)llll#####.!dddd#.#ccccc#.##!]!###.#ccccc#.#dddd#.#eeeeeeeee#.#a#."; MapStrings[18] = "..#llllllll#?#dddd#?#ccccc##)!#]#!)###ccccc#?#dddd#?#eeeeeeeee!.=a=."; MapStrings[19] = "..|llllllll].]dddd].]cccccccccccccccccccccc].]dddd].]eeeeeeeee#.#a#."; MapStrings[20] = "..#llllllll#?#dddd#?#cccccccccccccccccccccc#?#dddd#?#eeee###|##.#a#."; MapStrings[21] = "..####!#####.#dddd#.#cccccccccccccccccccccc#.!dddd#.#eeee#.2##..#a#."; MapStrings[22] = "....5###=###.=dddd#.#!##cccccccccccccccc##!#.#dddd=.#eeee#.#m#..#[#."; MapStrings[23] = "....#dddddd#.#dddd#....#cccccccccccccccc#....#dddd#.|eeee#.#m#..8[#."; MapStrings[24] = "....)dddddd#?#dddd#....##]###cccccc###]##....#dddd|.#eeee#.#m#..#a#."; MapStrings[25] = "....!dddddd].]dddd|.....0]#.#cccccc#.0]#.....#dddd#.##=###.#]#..#a#."; MapStrings[26] = "....#dddddd#?#dddd#.##=##n#.!cccccc!.#n##=##.#dddd!?3##=####]##.#a#."; MapStrings[27] = "....=dddddd#.#dddd=.#nnnnn#.#cccccc#.#nnnnn#?=dddd].]ddddddddd#.#a#."; MapStrings[28] = "....###]####.#dddd#.#nnnnn#.#cccccc#.|nnnnn].]dddd#?#ddddddddd#.#a#."; MapStrings[29] = ".3###=#]####.##]###.##!####.####]###.##!####?###]##.|ddddddddd(.#a#."; MapStrings[30] = ".#ccccccccc#.1#]!###=#####!#####]######!###!##=#]##.#ddddddddd#.#a#."; MapStrings[31] = ".)ccccccccc#.#dddddddddddddddddddddddddddddddddddd#?#ddddddddd#.!a!."; MapStrings[32] = ".#ccccccccc|.#dddddddddddddddddddddddddddddddddddd].]ddddddddd#.#a#."; MapStrings[33] = ".|ccccccccc#.#dddddddddddddddddddddddddddddddddddd#?#ddddddddd#.#a#."; MapStrings[34] = ".#ccccccccc#.#dddddddddddddddddddddddddddddddddddd#.##=###dddd=.=a=."; MapStrings[35] = ".#ccccccccc!.#####!###]####!##=#]####!#######|##]##......#dddd#.#a#."; MapStrings[36] = ".=ccccccccc#.......1##]###...6##]##...6##|###?2#]##|#=##.#dddd#.#[#."; MapStrings[37] = ".!ccccccccc###|###.#mmmmm#...#jjjj#...#kkkkk#?#llllllll#?#dddd#.8[#."; MapStrings[38] = ".)ccccccccccccccc#?#mmmmm#.###jjjj###.=kkkkk!?#llllllll].]dddd(.#a#."; MapStrings[39] = ".#ccccccccccccccc].]mmmmm!.!jjjjjjjj#.#kkkkk#?!llllllll#?#dddd=.#a#."; MapStrings[40] = ".#ccccccccccccccc#?#mmmmm#.#jjjjjjjj=.|kkkkk=?#llllllll!.#dddd#.#a#."; MapStrings[41] = ".###!#)##|##)=####.=mmmmm#.#jjjjjjjj#.#kkkkk#?##=(!#|###.###!##.#[#."; MapStrings[42] = "...................#mmmmm|.#jjjjjjjj!?#kkkkk#????????8#####!###!#)#."; MapStrings[43] = "...................=mmmmm#.#jjjjjjjj].]kkkkk!????????#bbbbbbbbbbbb#."; MapStrings[44] = "...................!mmmmm=.!jjjjjjjj#?#kkkkk#????????=bbbbbbbbbbbb#."; MapStrings[45] = "...................#mmmmm#.#jjjjjjjj#.####=##????????#bbbbbbbbbbbb#."; MapStrings[46] = "...................###!|##.#####(####......7####?????|bbbbbbbbbbbb|."; MapStrings[47] = "....7###?7##|#!#..........###|##]####.....##aaa##????#bbbbbbbbbbbb#."; MapStrings[48] = "....#hh].]hhhhh#...##|##=##hhhhhhhhh=.....|aaaaa|????=bbbbbbbbbbbb#."; MapStrings[49] = "....#hh#?####hh#=###hhhhhhhhhhhhhhhh#....##aaaaa##???#bbbbbbbbbbbb#."; MapStrings[50] = "..###hh#....#hhhhhhhhhhhh####hhhhh###....#aaaaaaa#?###bbbbbbbbbbbb|."; MapStrings[51] = "..|hhhh###..######|###|###..#hhhhh#......=aaaaaaa#?#bbbbbbbbbbbbbb#."; MapStrings[52] = "..#hhhhhh#...#########......###=###......#aaaaaaa).]bbbbbbbbbbbbbb#."; MapStrings[53] = "..##=##hh##=##hhhhhhh#######.......#####?|aaaaaaa|?#bbbbbbbbbbbbbb#?"; MapStrings[54] = "......#hhhhhhhh#####hhhhhhh#####=###hhh].]aaaaaaa#?###bbbbbbbbbbbb#?"; MapStrings[55] = "......#####|####...##=###hhhhhhhhhhhh###?#aaaaaaa!???##=####|###=##?"; MapStrings[56] = "........................####|#!###|###...#!###=#!#??????????????????"; MapStrings[57] = "????????????????????????????????????????????????????????????????????"; ObjectStrings[0] = "..............................???....................................."; ObjectStrings[1] = "......................-17AR##.#<##.#######...-07AR#############......."; ObjectStrings[2] = "..-08R###.-11R#####...#.....#.#Xp#.#.....#...#.......L2.......#......."; ObjectStrings[3] = "..#b011b230...a324#.###.....###..###.....###.#....Y0..s2......#......."; ObjectStrings[4] = "..#..Ä3..?#l042w3.#.#..I..Y0.........Y0....#.#................#......."; ObjectStrings[5] = "..#b0m19>.<.....I.#.#...P038.............Y0#?#.E0.........Y0..#.AR#..."; ObjectStrings[6] = "..#...v101#H025...#.#.Y0.F203..............>.>..............E0#?#.#..."; ObjectStrings[7] = "..#b030b230.P..C1.#.#...U0..E0.....U0..E0s2#?#.U0.......Y0....>.>.#..."; ObjectStrings[8] = "..###>###.######>##.#####...########...#####.########.......U0#?#.#..."; ObjectStrings[9] = "..-16<R###...-03>R#.....##>##......##>##.....-05R##.###########.#W300."; ObjectStrings[10] = "..#....d340..#....#....-06>AR########>###....#.z..#?-13########.#>#..."; ObjectStrings[11] = "..#.w0.C1#...#..w2#....#...U0.E0.U0.E0..#....#.w0.>?>.P.....d340A>R..."; ObjectStrings[12] = "..#......#...#...C2....#.Y0.............#....#C0..#?#..M312.C1#.#.#..."; ObjectStrings[13] = "..#..I.###...#....#....#................#....#....#.#.r1.I..x.#.#.#..."; ObjectStrings[14] = "..#....#.....#....#....######.E0.U0######....#....#.#..l344..a208.#..."; ObjectStrings[15] = "..#b029#.....#..w2#.........#.S1...#.........#....#.###########.#.#..."; ObjectStrings[16] = "..#...D226...#....#.-18R###.#..L019#.#######.#....#.-02########.#.#..."; ObjectStrings[17] = "..#.w0.#####.#C0..#.#..D326.###>####.#..a322.#...C2.#.z.i331.z#.#.#..."; ObjectStrings[18] = "..#C0......#?#....#?#...w3#####>######.w3..#?#....#?#.......Pl243.#..."; ObjectStrings[19] = "..#.P..O1..>.>....>?<......................<?>....>?>...z.....#.#.#..."; ObjectStrings[20] = "..#....C1..#?#....#?#.......w3....w3.......#?#....#?#....######.#.#..."; ObjectStrings[21] = "..##########.#...D226..C1.....C3.C3........#.#....#.#I...#.###..#.#..."; ObjectStrings[22] = "....-00#####.#....#.####......O1.O1.....####.#D027#.#...l244D328#>#..."; ObjectStrings[23] = "....#...e304.#C0..#....#......C1.C1..C1.#....#....#.#.z..#.#g102A>R..."; ObjectStrings[24] = "....#f020..#?#....#....##>###......###>##....#....#.#.u233.#.#..#.#..."; ObjectStrings[25] = "....#......>.>....#.....#>#.#......#.#>#.....#C0..#.######.#>#..#.#..."; ObjectStrings[26] = "....#T032..#?#....#.#####.#.#......#.#.#####.#....#?-14R####>##.#.#..."; ObjectStrings[27] = "....#....a122#....#.#l005.#.#.....l243....a223..z.<?>....C3...#.#.#..."; ObjectStrings[28] = "....###>####.#....#.#.I..C2.#......#.#.D126<?>....#?#.........#.#.#..."; ObjectStrings[29] = ".-12R##>####.##<###.#######.####<###.#######?###<##.#l043I..Ä2#.#.#..."; ObjectStrings[30] = ".#.b329....#.##>-04#############>###############>##.#.x0.C3..n135.#..."; ObjectStrings[31] = ".#.w0......#.#.............D309....C3..z..........#?#a023r1..B1##.#..."; ObjectStrings[32] = ".#....c3...#.#..z.I.........z.....................<?<....C1.x2#.#.#..."; ObjectStrings[33] = ".#..c0t3c2.#.#.......................I........z...#?#..H114...#.#.#..."; ObjectStrings[34] = ".#....c1..a224..C1..z......C1...............C1....#.######....#.#.#..."; ObjectStrings[35] = ".#.........#.#########>#########>###############>##......#...l242.#..."; ObjectStrings[36] = ".#....C3...#.......-15<###...-01>##...-01####.##<-19R###.#....#.#>#..."; ObjectStrings[37] = ".#l042r0...#######.#.....#...#....#...#.P.zs#.#.....D328?#....#.A>R..."; ObjectStrings[38] = ".#.w0.C1.....b329#?#.....#.###P...###.#z.H315.#b029....>?>..Ä2#.#.#..."; ObjectStrings[39] = ".#....w1..P.w1...>?>..r1.#.#..x.S.x.#.#f021.#.#..Ä1z.C.#?#..C3.##.#..."; ObjectStrings[40] = ".#..b129....C1...#?#....b229.s.....I#.#f021.#.#.z.B2.d141#z.d113#.#..."; ObjectStrings[41] = ".#################.#n106.#.#.I..L...#.#.L.S.#.##########.######.#>#..."; ObjectStrings[42] = "...................#B1...#.#......S.#?#.I...#........-20AR#######>#..."; ObjectStrings[43] = "...................#....C2.#.Lx.....>?>....L#........#............#..."; ObjectStrings[44] = "...................#.C3..#.#x..s..x.#?#.s.I.#........#.Y0.........#..."; ObjectStrings[45] = "...................#.d107#.#....J139#.#######........#........Y0..#..."; ObjectStrings[46] = "...................#######.#####>####......-10##.....#..G136......#..."; ObjectStrings[47] = "....####?-09####..........######>####.....##..z##....#..V136......#..."; ObjectStrings[48] = "....#..>?>.z...#...########..I......#.....#..q316....#.........Y0.#..."; ObjectStrings[49] = "....#..#?####..#####........I..P....#....##zIN346#...#............#..."; ObjectStrings[50] = "..###.I#....#.....s......####L..Sx###....#y3..I.y3.###....Y0......#..."; ObjectStrings[51] = "..#xLI.###..##############..#.s...#......#.......#?#.E0U0.........#..."; ObjectStrings[52] = "..#.....z#...#########......#######......#I..K317>?>..............#..."; ObjectStrings[53] = "..#####..#####..P....#######.......#####?#H025..H225.U0E0.....Y0..#..."; ObjectStrings[54] = "......#..z.L...#####.......#########.z.>?>..I...z#.###............#..."; ObjectStrings[55] = "......##########...######....L.....I.###?#.P...I.#...##############..."; ObjectStrings[56] = "........................##############...#########...................."; ObjectStrings[57] = "......................................................................"; LightStrings[0] = "...................................................................."; LightStrings[1] = "......................mmmmmmm.mmmm.mmmmmmm...mmmmmmmmmmmmmmmmmm....."; LightStrings[2] = "..mmmmmmm.hhhhhhhhh...mlllllm.mllm.mlllllm...mllllllllllllllllm....."; LightStrings[3] = "..mlllllm.hgggggggh.mmmlllllmmmllmmmlllllmmm.mllllllllllllllllm....."; LightStrings[4] = "..mlllllm?hgggggggh.mllllllllllllllllllllllm.mllllllllllllllllm....."; LightStrings[5] = "..mlllllmphgggggggh.mllllllllllllllllllllllm?mllllllllllllllllm.mmm."; LightStrings[6] = "..mlllllm?hgggggggh.mllllllllllllllllllllllmpmllllllllllllllllm?mlm."; LightStrings[7] = "..mlllllm.hgggggggh.mllllllllllllllllllllllm?mllllllllllllllllmpmlm."; LightStrings[8] = "..mmmmmmm.hhhhhhhhh.mmmmmlllmmmmmmmmlllmmmmm.mmmmmmmmlllllllllm?mlm."; LightStrings[9] = "..mmmmmmmm...llllll.....mmmmm......mmmmm.....mmmmmm.mmmmmmmmmmm.mlm."; LightStrings[10] = "..mllllllm...lkkkkl....mmmmmmmmmmmmmmmmmm....mllllm?hhhhhhhhhhh.mmm."; LightStrings[11] = "..mllllllm...lkkkkl....mllllllllllllllllm....mllllmphgggggggggh.mmm."; LightStrings[12] = "..mllllllm...lkkkkl....mllllllllllllllllm....mllllm?hgggggggggh.mlm."; LightStrings[13] = "..mllllmmm...lkkkkl....mllllllllllllllllm....mllllm.hgggggggggh.mlm."; LightStrings[14] = "..mllllm.....lkkkkl....mmmmmmllllllmmmmmm....mllllm.hgggggggggh.mlm."; LightStrings[15] = "..mllllm.....lkkkkl.........mllllllm.........mllllm.hhhhhhhhhhh.mlm."; LightStrings[16] = "..mllllm.....lkkkkl.mmmmmmm.mllllllm.mmmmmmm.mllllm.mmmmmmmmmmm.mlm."; LightStrings[17] = "..mllllmmmmm.lkkkkl.mlllllm.mmmmmmmm.mlllllm.mllllm.mlllllllllm.mlm."; LightStrings[18] = "..mllllllllm?lkkkkl?mlllllmmmmmmmmmmmmlllllm?mllllm?mlllllllllm.mlm."; LightStrings[19] = "..mllllllllmplkkkklpmllllllllllllllllllllllmpmllllmpmlllllllllm.mlm."; LightStrings[20] = "..mllllllllm?lkkkkl?mllllllllllllllllllllllm?mllllm?mllllmmmmmm.mlm."; LightStrings[21] = "..mmmmmmmmmm.lkkkkl.mllllllllllllllllllllllm.mllllm.mllllm.mmm..mlm."; LightStrings[22] = "....mmmmmmmm.lkkkkl.mmmmllllllllllllllllmmmm.mllllm.mllllm.mlm..mmm."; LightStrings[23] = "....mllllllm.lkkkkl....mllllllllllllllllm....mllllm.mllllm.mlm..mmm."; LightStrings[24] = "....mllllllm?lkkkkl....mmmmmmllllllmmmmmm....mllllm.mllllm.mlm..mlm."; LightStrings[25] = "....mllllllmplkkkkl.....hhh.mllllllm.hhh.....mllllm.mmmmmm.mmmm.mlm."; LightStrings[26] = "....mllllllm?lkkkkl.hhhhhgh.mllllllm.hghhhhh.mllllm?lllllllllll.mlm."; LightStrings[27] = "....mllllllm.lkkkkl.hgggggh.mllllllm.hgggggh?mllllmplkkkkkkkkkl.mlm."; LightStrings[28] = "....mmmmmmmm.lkkkkl.hgggggh.mllllllm.hggggghpmllllm?lkkkkkkkkkl.mlm."; LightStrings[29] = ".hhhhhhhhhhh.llllll.hhhhhhh.mmmmmmmm.hhhhhhh?mmmmmm.lkkkkkkkkkl.mlm."; LightStrings[30] = ".hgggggggggh.llllllllllllllllllllllllllllllllllllll.lkkkkkkkkkl.mlm."; LightStrings[31] = ".hgggggggggh.lkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkl?lkkkkkkkkkl.mlm."; LightStrings[32] = ".hgggggggggh.lkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkklplkkkkkkkkkl.mlm."; LightStrings[33] = ".hgggggggggh.lkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkl?lkkkkkkkkkl.mlm."; LightStrings[34] = ".hgggggggggh.lkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkl.llllllkkkkl.mlm."; LightStrings[35] = ".hgggggggggh.llllllllllllllllllllllllllllllllllllll......lkkkkl.mlm."; LightStrings[36] = ".hgggggggggh.......mmmmmmm...llllll...mmmmmmm.mmmmmmmmmm.lkkkkl.mmm."; LightStrings[37] = ".hggggggggghhhhhhh.mlllllm...lkkkkl...mlllllm.mllllllllm?lkkkkl.mmm."; LightStrings[38] = ".hgggggggggggggggh?mlllllm.lllkkkklll.mlllllm.mllllllllm.lkkkkl.mlm."; LightStrings[39] = ".hggggggggggggggghpmlllllm.lkkkkkkkkl.mlllllm.mllllllllm?lkkkkl.mlm."; LightStrings[40] = ".hgggggggggggggggh?mlllllm.lkkkkkkkkl.mlllllm.mllllllllm.lkkkkl.mlm."; LightStrings[41] = ".hhhhhhhhhhhhhhhhh.mlllllm.lkkkkkkkkl.mlllllm.mmmmmmmmmm.llllll.mmm."; LightStrings[42] = "...................mlllllm.lkkkkkkkkl?mlllllm........mmmmmmmmmmmmmm."; LightStrings[43] = "...................mlllllm.lkkkkkkkklpmlllllm........mllllllllllllm."; LightStrings[44] = "...................mlllllm.lkkkkkkkkl?mlllllm........mllllllllllllm."; LightStrings[45] = "...................mlllllm.lkkkkkkkkl.mmmmmmm........mllllllllllllm."; LightStrings[46] = "...................mmmmmmm.llllllllll......mmmmm.....mllllllllllllm."; LightStrings[47] = "....jjjj?jjjjjjj..........jjjjjjjjjjj.....mmlllmm....mllllllllllllm."; LightStrings[48] = "....hgghphgggggj...jjjjjjjjgggggggggh.....mlllllm....mllllllllllllm."; LightStrings[49] = "....hggh?hhhhggjjjjjggggggggggggggggh....mmlllllmm...mllllllllllllm."; LightStrings[50] = "..hhhggh....hgggggggggggghhhhggggghhh....mlllllllm.mmmllllllllllllm."; LightStrings[51] = "..hggggjjj..hhhhhhhhhhhhhh..hgggggh......mlllllllm?mllllllllllllllm."; LightStrings[52] = "..hggggggj...jjjjjjjjj......hhhhhhh......mlllllllmpmllllllllllllllm."; LightStrings[53] = "..hhhhhggjjjjjgggggggjjjjjjj.......jjjjj?mlllllllm?mllllllllllllllm."; LightStrings[54] = "......hgggggggghhhhhgggggggjjjjjjjjjggghpmlllllllm.mmmllllllllllllm."; LightStrings[55] = "......hhhhhhhhhh...hhhhhhgggggggggggghhh?mlllllllm...mmmmmmmmmmmmmm."; LightStrings[56] = "........................hhhhhhhhhhhhhh...mmmmmmmmm.................."; LightStrings[57] = "...................................................................."; TriggerStrings[0] = "..............................???....................................."; TriggerStrings[1] = "......................#######.#<##.#######...##################......."; TriggerStrings[2] = "..#######.#########...#.....#.#m.#.#.....#...#................#......."; TriggerStrings[3] = "..#...g.#.#.......#.###.....###..###.....###.#................#......."; TriggerStrings[4] = "..#...g.#?#.......#.#.........aaaa.........#.#................#......."; TriggerStrings[5] = "..#...g.>o<.......#.#......................#?#................#.###..."; TriggerStrings[6] = "..#gggg.#?#.......#.#......................>.>................#?#.#..."; TriggerStrings[7] = "..#.....#.#.......#.#......................#?#................>.>.#..."; TriggerStrings[8] = "..###o###.######>##.#####...########...#####.########.........#?#.#..."; TriggerStrings[9] = "..###<####...###>##.....##<##......##>##.....######.###########.#.#..."; TriggerStrings[10] = "..#......#...#....#....###>##########>###....#....#?###########.#[#..."; TriggerStrings[11] = "..#......#...#....#....#................#....#....>.>.i....t..#.#[#..."; TriggerStrings[12] = "..#......#...#....#....#................#....#....#?#ii....t..#.#.#..."; TriggerStrings[13] = "..#....###...#....#....#................#....#....#.#......t..#.#.#..."; TriggerStrings[14] = "..#....#.....#....#....######bbbbbb######....#....#.#......t..#.#.#..."; TriggerStrings[15] = "..#....#.....#....#.........#......#.........#....#.###########.#.#..."; TriggerStrings[16] = "..#....#.....#....#.#######.#......#.#######.#....#.###########.#.#..."; TriggerStrings[17] = "..#....#####.#....#.#.....#.###>####.#.....#.#....2.#.........#.#.#..."; TriggerStrings[18] = "..#........#?#....#?#....h#####>######.....#?#....#?#.........#.#.#..."; TriggerStrings[19] = "..#........>.>....>n<....h..d..s..d..uu....<p>....>.>.........#.#.#..."; TriggerStrings[20] = "..#........#?#....#?#....h..d.....d...uu...#?#....#?#....######.#.#..."; TriggerStrings[21] = "..##########.#....2.#....h..d.....d....uu..#.#....#.#....#.###..#.#..."; TriggerStrings[22] = "....########.#....#.####h...ddddddd.....####.#....#.#....#.#.#..#>#..."; TriggerStrings[23] = "....#...e..#.#....#....#................#....#....#.#....#.#.#..R>#..."; TriggerStrings[24] = "....#...e..#?#....#....##>###......###>##....#....#.#....#.#.#..#.#..."; TriggerStrings[25] = "....#...e..>.>....#.....#>#.#......#.#>#.....#....#.######.#>#..#.#..."; TriggerStrings[26] = "....#eeee..#?#....#.#####.#.#......#.#.#####.#....#.########>##.#.#..."; TriggerStrings[27] = "....#......#.#....#.#.....#.#......#.#.....#?#....<q>.........#.#.#..."; TriggerStrings[28] = "....####>###.#....#.#.....#.#......#.#.....<p>....#.#.........#.#.#..."; TriggerStrings[29] = ".#######>###.##<###.#######.####<###.#######?###<##.#.........#.#.#..."; TriggerStrings[30] = ".#.........#.##r################r###############r##.#.........#.#.#..."; TriggerStrings[31] = ".#.........#.#....................................#.#.........#.#.#..."; TriggerStrings[32] = ".#.........#.#....................................>r<.........#.#.#..."; TriggerStrings[33] = ".#.........#.#....................................#.#.........#.#.#..."; TriggerStrings[34] = ".#fffffffff#.#....................................#.######....#.#.#..."; TriggerStrings[35] = ".#fffffffff#.#########r#########>###############r##......#....#.#.#..."; TriggerStrings[36] = ".#.........#.......###<###...###>##...#######.##<#######.#....#.#>#..."; TriggerStrings[37] = ".#.........#######?#.....#...#....#...#.....#.#........#?#....#.#>#..."; TriggerStrings[38] = ".#...............>.>.....#.###....###.#.....#.#........>.>....#.#.#..."; TriggerStrings[39] = ".#...............#?#.....#.#jjjjjjjj#.#.....#.#........#?#....#.#.#..."; TriggerStrings[40] = ".#...............#.#.....#.#........#.#.....#.#........#.#....#.#.#..."; TriggerStrings[41] = ".#################.#.....#.#........#.#.....#.##########.######.#>#..."; TriggerStrings[42] = "...................#.....#.#........#?#.....#........############>#..."; TriggerStrings[43] = "...................#.....#.#tttttttt>.>.....#........#............#..."; TriggerStrings[44] = "...................#.....#.#........#?#.....#........#............#..."; TriggerStrings[45] = "...................#.....#.#........#.#######........#............#..."; TriggerStrings[46] = "...................#######.#####>####......#####.....#............#..."; TriggerStrings[47] = "....####?#######..........######>####.....##...##....#............#..."; TriggerStrings[48] = "....#..>.>.....#...########...k...k.#.....#.....#....#............#..."; TriggerStrings[49] = "....#..#?####..#####..........k...k.#....##.....##...#............#..."; TriggerStrings[50] = "..###..#....#......t.....####.kkkk###....#.......#.###............#..."; TriggerStrings[51] = "..#....###..##############..#.....#......#.......#?#..............#..."; TriggerStrings[52] = "..#......#...#########......#######......#ll.....>.v..............#..."; TriggerStrings[53] = "..#####..#####...t.c.#######.......#####?#.ll....#?#..............#..."; TriggerStrings[54] = "......#........#####.......#########...>.w..ll...#.###............#..."; TriggerStrings[55] = "......##########...######............###?#...ll..#...##############..."; TriggerStrings[56] = "........................##############...#########...................."; TriggerStrings[57] = "......................................................................"; _local1 = 0; while (_local1 < MapStrings.length) { MapStringsSplitted[_local1] = MapStrings[_local1].split(""); _local1++; }; _local1 = 0; while (_local1 < ObjectStrings.length) { ObjectStringsSplitted[_local1] = ObjectStrings[_local1].split(""); _local1++; }; _local1 = 0; while (_local1 < LightStrings.length) { LightStringsSplitted[_local1] = LightStrings[_local1].split(""); _local1++; }; _local1 = 0; while (_local1 < TriggerStrings.length) { TriggerStringsSplitted[_local1] = TriggerStrings[_local1].split(""); _local1++; }; WallLocationList = new Array(); _local1 = 0; while (_local1 < MapStringsSplitted[0].length) { WallLocationList[_local1] = new Array(); _local3 = 0; while (_local3 < MapStrings.length) { WallLocationList[_local1][_local3] = -1; _local3++; }; _local1++; }; Objects = new Array(); ActiveObjects = new Array(); Rain = new Array(); Raining = true; InteractionClips = new Array(); NoiseClip.gotoAndPlay(1); NoiseClip.alpha = 0.07; ActivatedTriggers = new Array(26); _local1 = 0; while (_local1 < 26) { ActivatedTriggers[_local1] = false; _local1++; }; RoomLightning.gotoAndStop(1); RoomTitleTextShadow.text = ""; RoomTitleText.text = ""; StatusTextShadow.text = ""; StatusText.text = ""; _local2 = 0; while (_local2 < ObjectStringsSplitted.length) { _local4 = 0; while (_local4 < ObjectStringsSplitted[_local2].length) { _local5 = false; if (ObjectStringsSplitted[_local2][_local4] == "-"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = -1; if (ObjectStringsSplitted[_local2][(_local4 + 1)] == "0"){ if (ObjectStringsSplitted[_local2][(_local4 + 2)] == "0"){ Objects[(Objects.length - 1)][4] = "Kitchen"; } else { if (ObjectStringsSplitted[_local2][(_local4 + 2)] == "1"){ Objects[(Objects.length - 1)][4] = "Cellar"; } else { if (ObjectStringsSplitted[_local2][(_local4 + 2)] == "2"){ Objects[(Objects.length - 1)][4] = "Bathroom"; } else { if (ObjectStringsSplitted[_local2][(_local4 + 2)] == "3"){ Objects[(Objects.length - 1)][4] = "West Wing"; } else { if (ObjectStringsSplitted[_local2][(_local4 + 2)] == "4"){ Objects[(Objects.length - 1)][4] = "South Wing"; } else { if (ObjectStringsSplitted[_local2][(_local4 + 2)] == "5"){ Objects[(Objects.length - 1)][4] = "East Wing"; } else { if (ObjectStringsSplitted[_local2][(_local4 + 2)] == "6"){ Objects[(Objects.length - 1)][4] = "Courtyard"; } else { if (ObjectStringsSplitted[_local2][(_local4 + 2)] == "7"){ Objects[(Objects.length - 1)][4] = "Garden"; } else { if (ObjectStringsSplitted[_local2][(_local4 + 2)] == "8"){ Objects[(Objects.length - 1)][4] = "Library"; } else { if (ObjectStringsSplitted[_local2][(_local4 + 2)] == "9"){ Objects[(Objects.length - 1)][4] = "Caverns"; }; }; }; }; }; }; }; }; }; }; } else { if (ObjectStringsSplitted[_local2][(_local4 + 1)] == "1"){ if (ObjectStringsSplitted[_local2][(_local4 + 2)] == "0"){ Objects[(Objects.length - 1)][4] = "Ceremony Room"; } else { if (ObjectStringsSplitted[_local2][(_local4 + 2)] == "1"){ Objects[(Objects.length - 1)][4] = "Gallery"; } else { if (ObjectStringsSplitted[_local2][(_local4 + 2)] == "2"){ Objects[(Objects.length - 1)][4] = "Dining room"; } else { if (ObjectStringsSplitted[_local2][(_local4 + 2)] == "3"){ Objects[(Objects.length - 1)][4] = "Study"; } else { if (ObjectStringsSplitted[_local2][(_local4 + 2)] == "4"){ Objects[(Objects.length - 1)][4] = "Patrick's Room"; } else { if (ObjectStringsSplitted[_local2][(_local4 + 2)] == "5"){ Objects[(Objects.length - 1)][4] = "Sarah's Room"; } else { if (ObjectStringsSplitted[_local2][(_local4 + 2)] == "6"){ Objects[(Objects.length - 1)][4] = "Linda's Room"; } else { if (ObjectStringsSplitted[_local2][(_local4 + 2)] == "7"){ Objects[(Objects.length - 1)][4] = "Entrance"; } else { if (ObjectStringsSplitted[_local2][(_local4 + 2)] == "8"){ Objects[(Objects.length - 1)][4] = "Lobby"; } else { if (ObjectStringsSplitted[_local2][(_local4 + 2)] == "9"){ Objects[(Objects.length - 1)][4] = "Guest Room"; }; }; }; }; }; }; }; }; }; }; } else { Objects[(Objects.length - 1)][4] = "Cemetary"; }; }; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "p"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 0; Objects[(Objects.length - 1)][4] = 0; Objects[(Objects.length - 1)][5] = 0; Objects[(Objects.length - 1)][6] = 0; Objects[(Objects.length - 1)][7] = 0; Objects[(Objects.length - 1)][8] = 0; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "c"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 1; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "C"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 2; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "t"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 3; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "d"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 4; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "D"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 5; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "n"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 6; Objects[(Objects.length - 1)][14] = 1.3; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "a"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 7; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "b"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 8; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "B"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 9; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "e"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 10; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "l"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 11; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "o"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 12; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "f"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 13; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "s"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 14; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "S"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 15; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "L"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 16; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "O"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 17; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "r"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 18; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "T"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 19; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "i"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 20; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "u"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 21; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "w"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 22; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "R"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 23; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "A"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 24; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "q"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 25; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "U"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 26; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "E"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 27; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "P"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 28; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "I"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 29; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "Q"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 30; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "h"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 31; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "H"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 32; Objects[(Objects.length - 1)][14] = 0.8; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "v"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 33; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "g"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 34; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "F"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 35; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "W"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 36; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "G"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 37; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "V"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 38; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "y"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 39; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "Y"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 40; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "z"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 41; Objects[(Objects.length - 1)][4] = 0; Objects[(Objects.length - 1)][5] = 0; Objects[(Objects.length - 1)][6] = 0; Objects[(Objects.length - 1)][7] = 0; Objects[(Objects.length - 1)][8] = 0; Objects[(Objects.length - 1)][9] = 0; Objects[(Objects.length - 1)][10] = 0; Objects[(Objects.length - 1)][11] = 100; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "x"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 41; Objects[(Objects.length - 1)][4] = 0; Objects[(Objects.length - 1)][5] = 0; Objects[(Objects.length - 1)][6] = 0; Objects[(Objects.length - 1)][7] = 0; Objects[(Objects.length - 1)][8] = 0; Objects[(Objects.length - 1)][9] = 0; Objects[(Objects.length - 1)][10] = 0; Objects[(Objects.length - 1)][11] = 110; Objects[(Objects.length - 1)][14] = 0; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "Z"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 42; Objects[(Objects.length - 1)][4] = 0; Objects[(Objects.length - 1)][5] = 0; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "j"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 43; Objects[(Objects.length - 1)][4] = 0; Objects[(Objects.length - 1)][5] = 0; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "J"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 44; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "k"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 45; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "K"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 46; Objects[(Objects.length - 1)][4] = 0; Objects[(Objects.length - 1)][5] = 0; Objects[(Objects.length - 1)][9] = 0; Objects[(Objects.length - 1)][10] = 500; Objects[(Objects.length - 1)][11] = 800; Objects[(Objects.length - 1)][14] = 0.1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "m"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 47; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "M"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 48; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "N"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 49; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "Ä"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 50; Objects[(Objects.length - 1)][14] = 1; _local5 = true; }; if (ObjectStringsSplitted[_local2][_local4] == "X"){ Objects[Objects.length] = new Array(); Objects[(Objects.length - 1)][0] = 51; Objects[(Objects.length - 1)][4] = 0; _local5 = true; }; if (_local5 == true){ if (ObjectStringsSplitted[_local2][(_local4 + 1)] == "0"){ Objects[(Objects.length - 1)][6] = 0; } else { if (ObjectStringsSplitted[_local2][(_local4 + 1)] == "1"){ Objects[(Objects.length - 1)][6] = 1; } else { if (ObjectStringsSplitted[_local2][(_local4 + 1)] == "2"){ Objects[(Objects.length - 1)][6] = 2; } else { Objects[(Objects.length - 1)][6] = 3; }; }; }; Objects[(Objects.length - 1)][7] = -1; if ((((((((((ObjectStringsSplitted[_local2][(_local4 + 2)] == "0")) || ((ObjectStringsSplitted[_local2][(_local4 + 2)] == "1")))) || ((ObjectStringsSplitted[_local2][(_local4 + 2)] == "2")))) || ((ObjectStringsSplitted[_local2][(_local4 + 2)] == "3")))) || ((ObjectStringsSplitted[_local2][(_local4 + 2)] == "4")))){ Objects[(Objects.length - 1)][7] = parseInt((ObjectStringsSplitted[_local2][(_local4 + 2)] + ObjectStringsSplitted[_local2][(_local4 + 3)])); } else { if (ObjectStringsSplitted[_local2][(_local4 + 2)] == "9"){ Objects[(Objects.length - 1)][7] = 10; }; }; Objects[(Objects.length - 1)][2] = ((_local4 * 50) + 25); Objects[(Objects.length - 1)][3] = ((_local2 * 50) + 25); Objects[(Objects.length - 1)][1] = false; }; _local4++; }; _local2++; }; _local2 = 0; while (_local2 < MapStrings.length) { BlockedTiles[_local2] = new Array(); _local4 = 0; while (_local4 < MapStrings[_local2].length) { if ((((((((((((((((MapStringsSplitted[_local2][_local4] == "#")) || ((MapStringsSplitted[_local2][_local4] == "=")))) || ((MapStringsSplitted[_local2][_local4] == "|")))) || ((MapStringsSplitted[_local2][_local4] == "!")))) || ((MapStringsSplitted[_local2][_local4] == "(")))) || ((MapStringsSplitted[_local2][_local4] == ")")))) || ((MapStringsSplitted[_local2][_local4] == "]")))) || ((MapStringsSplitted[_local2][_local4] == "?")))){ BlockedTiles[_local2][_local4] = true; }; _local6 = 0; while (_local6 < 10) { if (MapStringsSplitted[_local2][_local4] == _local6){ BlockedTiles[_local2][_local4] = true; }; _local6++; }; _local7 = 0; while (_local7 < 10) { _local8 = (_local7 + " "); _local9 = _local8.split(""); if (MapStringsSplitted[_local2][_local4] == _local9[0]){ _local10 = _local4; _local11 = _local2; _local12 = _local4; _local13 = _local2; _local14 = _local4; _local15 = _local2; _local16 = RoomBoxes.length; RoomBoxes[_local16] = new Array(); RoomBoxes[_local16][0] = new Array(); RoomBoxes[_local16][0][0] = new Array(); RoomBoxes[_local16][0][0][RoomBoxes[_local16][0][0].length] = new Array(); RoomBoxes[_local16][0][0][(RoomBoxes[_local16][0][0].length - 1)][0] = _local10; RoomBoxes[_local16][0][0][(RoomBoxes[_local16][0][0].length - 1)][1] = _local11; RoomBoxes[_local16][1] = _local7; RoomBoxes[_local16][2] = _local4; RoomBoxes[_local16][3] = _local2; _local17 = true; _local18 = true; while (((!((MapStringsSplitted[_local11][_local10] == _local7))) || ((_local17 == true)))) { _local14 = _local12; _local15 = _local13; _local12 = _local10; _local13 = _local11; if (((((!(((_local10 + 1) == _local12))) && (!(((_local10 + 1) == _local14))))) && ((((((((((((((((((MapStringsSplitted[_local11][(_local10 + 1)] == _local7)) || ((MapStringsSplitted[_local11][(_local10 + 1)] == "#")))) || ((MapStringsSplitted[_local11][(_local10 + 1)] == "=")))) || ((MapStringsSplitted[_local11][(_local10 + 1)] == "|")))) || ((MapStringsSplitted[_local11][(_local10 + 1)] == "!")))) || ((MapStringsSplitted[_local11][(_local10 + 1)] == "(")))) || ((MapStringsSplitted[_local11][(_local10 + 1)] == ")")))) || ((MapStringsSplitted[_local11][(_local10 + 1)] == "[")))) || ((MapStringsSplitted[_local11][(_local10 + 1)] == "]")))))){ _local10 = (_local10 + 1); } else { if (((((!(((_local10 - 1) == _local12))) && (!(((_local10 - 1) == _local14))))) && ((((((((((((((((((MapStringsSplitted[_local11][(_local10 - 1)] == _local7)) || ((MapStringsSplitted[_local11][(_local10 - 1)] == "#")))) || ((MapStringsSplitted[_local11][(_local10 - 1)] == "=")))) || ((MapStringsSplitted[_local11][(_local10 - 1)] == "|")))) || ((MapStringsSplitted[_local11][(_local10 - 1)] == "!")))) || ((MapStringsSplitted[_local11][(_local10 - 1)] == "(")))) || ((MapStringsSplitted[_local11][(_local10 - 1)] == ")")))) || ((MapStringsSplitted[_local11][(_local10 - 1)] == "[")))) || ((MapStringsSplitted[_local11][(_local10 - 1)] == "]")))))){ _local10 = (_local10 - 1); } else { if (_local18 == true){ if (((((!(((_local11 + 1) == _local13))) && (!(((_local11 + 1) == _local15))))) && ((((((((((((((((((MapStringsSplitted[(_local11 + 1)][_local10] == _local7)) || ((MapStringsSplitted[(_local11 + 1)][_local10] == "#")))) || ((MapStringsSplitted[(_local11 + 1)][_local10] == "=")))) || ((MapStringsSplitted[(_local11 + 1)][_local10] == "|")))) || ((MapStringsSplitted[(_local11 + 1)][_local10] == "!")))) || ((MapStringsSplitted[(_local11 + 1)][_local10] == "(")))) || ((MapStringsSplitted[(_local11 + 1)][_local10] == ")")))) || ((MapStringsSplitted[(_local11 + 1)][_local10] == "[")))) || ((MapStringsSplitted[(_local11 + 1)][_local10] == "]")))))){ _local11 = (_local11 + 1); _local18 = false; } else { if (((((!(((_local11 - 1) == _local13))) && (!(((_local11 - 1) == _local15))))) && ((((((((((((((((((MapStringsSplitted[(_local11 - 1)][_local10] == _local7)) || ((MapStringsSplitted[(_local11 - 1)][_local10] == "#")))) || ((MapStringsSplitted[(_local11 - 1)][_local10] == "=")))) || ((MapStringsSplitted[(_local11 - 1)][_local10] == "|")))) || ((MapStringsSplitted[(_local11 - 1)][_local10] == "!")))) || ((MapStringsSplitted[(_local11 - 1)][_local10] == "(")))) || ((MapStringsSplitted[(_local11 - 1)][_local10] == ")")))) || ((MapStringsSplitted[(_local11 - 1)][_local10] == "[")))) || ((MapStringsSplitted[(_local11 - 1)][_local10] == "]")))))){ _local11 = (_local11 - 1); _local18 = true; }; }; } else { if (((((!(((_local11 - 1) == _local13))) && (!(((_local11 - 1) == _local15))))) && ((((((((((((((((((MapStringsSplitted[(_local11 - 1)][_local10] == _local7)) || ((MapStringsSplitted[(_local11 - 1)][_local10] == "#")))) || ((MapStringsSplitted[(_local11 - 1)][_local10] == "=")))) || ((MapStringsSplitted[(_local11 - 1)][_local10] == "|")))) || ((MapStringsSplitted[(_local11 - 1)][_local10] == "!")))) || ((MapStringsSplitted[(_local11 - 1)][_local10] == "(")))) || ((MapStringsSplitted[(_local11 - 1)][_local10] == ")")))) || ((MapStringsSplitted[(_local11 - 1)][_local10] == "[")))) || ((MapStringsSplitted[(_local11 - 1)][_local10] == "]")))))){ _local11 = (_local11 - 1); _local18 = true; } else { if (((((!(((_local11 + 1) == _local13))) && (!(((_local11 + 1) == _local15))))) && ((((((((((((((((((MapStringsSplitted[(_local11 + 1)][_local10] == _local7)) || ((MapStringsSplitted[(_local11 + 1)][_local10] == "#")))) || ((MapStringsSplitted[(_local11 + 1)][_local10] == "=")))) || ((MapStringsSplitted[(_local11 + 1)][_local10] == "|")))) || ((MapStringsSplitted[(_local11 + 1)][_local10] == "!")))) || ((MapStringsSplitted[(_local11 + 1)][_local10] == "(")))) || ((MapStringsSplitted[(_local11 + 1)][_local10] == ")")))) || ((MapStringsSplitted[(_local11 + 1)][_local10] == "[")))) || ((MapStringsSplitted[(_local11 + 1)][_local10] == "]")))))){ _local11 = (_local11 + 1); _local18 = false; }; }; }; }; }; if (((!((_local14 == _local10))) && (!((_local15 == _local11))))){ RoomBoxes[_local16][0][0][RoomBoxes[_local16][0][0].length] = new Array(); RoomBoxes[_local16][0][0][(RoomBoxes[_local16][0][0].length - 1)][0] = _local12; RoomBoxes[_local16][0][0][(RoomBoxes[_local16][0][0].length - 1)][1] = _local13; }; _local17 = false; }; _local19 = 0; while (_local19 < RoomBoxes[_local16][0].length) { _local3 = 0; for (;_local3 < RoomBoxes[_local16][0][_local19].length;_local3++) { _local20 = 0; _local21 = 0; _local22 = 0; _local23 = 0; if (_local3 == 0){ _local20 = RoomBoxes[_local16][0][_local19][(RoomBoxes[_local16][0][_local19].length - 1)][0]; _local21 = RoomBoxes[_local16][0][_local19][(RoomBoxes[_local16][0][_local19].length - 1)][1]; } else { _local20 = RoomBoxes[_local16][0][_local19][(_local3 - 1)][0]; _local21 = RoomBoxes[_local16][0][_local19][(_local3 - 1)][1]; }; if (_local3 > (RoomBoxes[_local16][0][_local19].length - 2)){ _local22 = RoomBoxes[_local16][0][_local19][0][0]; _local23 = RoomBoxes[_local16][0][_local19][0][1]; } else { _local22 = RoomBoxes[_local16][0][_local19][(_local3 + 1)][0]; _local23 = RoomBoxes[_local16][0][_local19][(_local3 + 1)][1]; }; _local24 = RoomBoxes[_local16][0][_local19][_local3][0]; _local25 = RoomBoxes[_local16][0][_local19][_local3][1]; if ((((((((((_local20 < _local24)) && ((_local23 < _local25)))) || ((((_local20 > _local24)) && ((_local23 > _local25)))))) || ((((_local21 < _local25)) && ((_local22 > _local24)))))) || ((((_local21 > _local25)) && ((_local22 < _local24)))))){ if ((((((_local20 < _local24)) && ((_local23 < _local25)))) || ((((_local21 < _local25)) && ((_local22 > _local24)))))){ _local32 = 0; while (_local32 < 65000) { _local25 = (_local25 + 1); if ((((((((((((((((MapStringsSplitted[_local25][_local24] == "#")) || ((MapStringsSplitted[_local25][_local24] == "=")))) || ((MapStringsSplitted[_local25][_local24] == "|")))) || ((MapStringsSplitted[_local25][_local24] == "!")))) || ((MapStringsSplitted[_local25][_local24] == "(")))) || ((MapStringsSplitted[_local25][_local24] == ")")))) || ((MapStringsSplitted[_local25][_local24] == "[")))) || ((MapStringsSplitted[_local25][_local24] == "]")))){ break; }; _local32++; }; } else { if ((((((_local20 > _local24)) && ((_local23 > _local25)))) || ((((_local21 > _local25)) && ((_local22 < _local24)))))){ _local32 = 0; while (_local32 < 65000) { _local25 = (_local25 - 1); if ((((((((((((((((MapStringsSplitted[_local25][_local24] == "#")) || ((MapStringsSplitted[_local25][_local24] == "=")))) || ((MapStringsSplitted[_local25][_local24] == "|")))) || ((MapStringsSplitted[_local25][_local24] == "!")))) || ((MapStringsSplitted[_local25][_local24] == "(")))) || ((MapStringsSplitted[_local25][_local24] == ")")))) || ((MapStringsSplitted[_local25][_local24] == "[")))) || ((MapStringsSplitted[_local25][_local24] == "]")))){ break; }; _local32++; }; }; }; _local26 = 0; _local27 = false; _local28 = 0; while (_local28 < RoomBoxes[_local16][0][_local19].length) { if ((((RoomBoxes[_local16][0][_local19][_local28][0] == _local24)) && ((RoomBoxes[_local16][0][_local19][_local28][1] == _local25)))){ _local26 = _local28; _local27 = true; break; }; _local28++; }; if (_local27 == false){ _local28 = 0; while (_local28 < RoomBoxes[_local16][0][_local19].length) { if (_local28 > (RoomBoxes[_local16][0][_local19].length - 2)){ _local22 = RoomBoxes[_local16][0][_local19][0][0]; _local23 = RoomBoxes[_local16][0][_local19][0][1]; } else { _local22 = RoomBoxes[_local16][0][_local19][(_local28 + 1)][0]; _local23 = RoomBoxes[_local16][0][_local19][(_local28 + 1)][1]; }; _local20 = RoomBoxes[_local16][0][_local19][_local28][0]; _local21 = RoomBoxes[_local16][0][_local19][_local28][1]; if ((((((((_local24 == _local20)) && ((_local24 == _local22)))) && ((((((_local25 < _local21)) && ((_local25 > _local23)))) || ((((_local25 > _local21)) && ((_local25 < _local23)))))))) || ((((((_local25 == _local21)) && ((_local25 == _local23)))) && ((((((_local24 < _local20)) && ((_local24 > _local22)))) || ((((_local24 > _local20)) && ((_local24 < _local22)))))))))){ RoomBoxes[_local16][0][_local19].splice((_local28 + 1), 0, new Array()); RoomBoxes[_local16][0][_local19][(_local28 + 1)][0] = _local24; RoomBoxes[_local16][0][_local19][(_local28 + 1)][1] = _local25; _local26 = (_local28 + 1); if (_local26 < _local3){ _local3 = (_local3 + 1); }; }; _local28++; }; }; if (_local3 > _local26){ _local33 = _local26; _local26 = _local3; _local3 = _local33; }; RoomBoxes[_local16][0][RoomBoxes[_local16][0].length] = new Array(); _local29 = RoomBoxes[_local16][0][_local19].slice(_local3, (_local26 + 1)); _local1 = 0; while (_local1 < _local29.length) { RoomBoxes[_local16][0][(RoomBoxes[_local16][0].length - 1)][_local1] = _local29[_local1].slice(); _local1++; }; RoomBoxes[_local16][0][_local19].splice((_local3 + 1), (_local26 - (_local3 + 1))); _local30 = _local19; _local31 = 0; while (_local31 < 2) { _local28 = 0; while (_local28 < RoomBoxes[_local16][0][_local30].length) { if (_local28 == 0){ _local20 = RoomBoxes[_local16][0][_local30][(RoomBoxes[_local16][0][_local30].length - 1)][0]; _local21 = RoomBoxes[_local16][0][_local30][(RoomBoxes[_local16][0][_local30].length - 1)][1]; } else { _local20 = RoomBoxes[_local16][0][_local30][(_local28 - 1)][0]; _local21 = RoomBoxes[_local16][0][_local30][(_local28 - 1)][1]; }; if (_local28 > (RoomBoxes[_local16][0][_local30].length - 2)){ _local22 = RoomBoxes[_local16][0][_local30][0][0]; _local23 = RoomBoxes[_local16][0][_local30][0][1]; } else { _local22 = RoomBoxes[_local16][0][_local30][(_local28 + 1)][0]; _local23 = RoomBoxes[_local16][0][_local30][(_local28 + 1)][1]; }; _local24 = RoomBoxes[_local16][0][_local30][_local28][0]; _local25 = RoomBoxes[_local16][0][_local30][_local28][1]; if ((((((_local24 == _local22)) && ((_local24 == _local20)))) || ((((_local25 == _local23)) && ((_local25 == _local21)))))){ RoomBoxes[_local16][0][_local30].splice(_local28, 1); _local28 = (_local28 - 1); }; _local28++; }; _local30 = (RoomBoxes[_local16][0].length - 1); _local31++; }; _local30 = _local19; _local31 = 0; while (_local31 < 2) { if (RoomBoxes[_local16][0][_local30].length == 4){ _local34 = 0; _local35 = 0; _local36 = 0; _local37 = 0; if (RoomBoxes[_local16][0][_local30][0][0] < RoomBoxes[_local16][0][_local30][2][0]){ _local34 = RoomBoxes[_local16][0][_local30][0][0]; _local35 = RoomBoxes[_local16][0][_local30][2][0]; } else { _local34 = RoomBoxes[_local16][0][_local30][2][0]; _local35 = RoomBoxes[_local16][0][_local30][0][0]; }; if (RoomBoxes[_local16][0][_local30][0][1] < RoomBoxes[_local16][0][_local30][2][1]){ _local36 = RoomBoxes[_local16][0][_local30][0][1]; _local37 = RoomBoxes[_local16][0][_local30][2][1]; } else { _local36 = RoomBoxes[_local16][0][_local30][2][1]; _local37 = RoomBoxes[_local16][0][_local30][0][1]; }; RoomBoxes[_local16][0][_local30][0][0] = _local34; RoomBoxes[_local16][0][_local30][0][1] = _local36; RoomBoxes[_local16][0][_local30][1][0] = _local35; RoomBoxes[_local16][0][_local30][1][1] = _local36; RoomBoxes[_local16][0][_local30][2][0] = _local35; RoomBoxes[_local16][0][_local30][2][1] = _local37; RoomBoxes[_local16][0][_local30][3][0] = _local34; RoomBoxes[_local16][0][_local30][3][1] = _local37; }; _local30 = (RoomBoxes[_local16][0].length - 1); _local31++; }; _local3 = -1; continue; }; }; _local19++; }; break; }; _local7++; }; _local4++; }; _local2++; }; CameraTargetX = 0; CameraTargetY = 0; CameraPositionX = 1060; CameraPositionY = -200; ResolutionX = 550; ResolutionY = 400; RenderedRooms = new Array(); ClosestEnemyDistance = 500; InsideRoom = 0; CutsceneMode = 0; InteractionMode = 0; PreviousText = ""; AltModeInitiated = false; AltModeQuit = false; AltModeTimer = 0; AltModeSelected = 0; AltModeSwitch = false; FoundBook = false; ReadBook = false; ReadMemo = false; ReadWeaponInstructions = false; CameraFocus = 0; PlayersLastXPosition = 0; PlayersLastYPosition = 0; TimeUntilLightning = 200; ToRenderStatusText = new Array(); TimeUntilReInspection = 0; FacingObject = -1; Text = ""; PentagramState = 0; GotFlashlight = false; GotPipe = false; GotRevolver = false; GotShotgun = false; GotLighter = false; NumberOfBullets = 6; LoadedBullets = 6; NumberOfShells = 2; LoadedShells = 2; SelectedWeapon = 0; GotHat = true; PlayerHurt = false; PlayerHeld = false; PlayerHP = 100; PlayerReloadTime = 0; PlayerRefireTime = 0; PlayerAlive = true; PlayMusic(32, 0.2, 9999, true); } public function PL_LOADING(_arg1:ProgressEvent):void{ var _local2:Number; _local2 = ((_arg1.bytesLoaded / _arg1.bytesTotal) * 100); AddBleps = 0; if (_local2 > NumberOfBleps){ AddBleps = (_local2 - NumberOfBleps); }; if (AddBleps > 0){ while (AddBleps > 0) { Bleps[Bleps.length] = LoadingBar[Math.floor((NumberOfBleps / 10))].addChild(new ProgressBlep()); Bleps[(Bleps.length - 1)].x = (95 + (Math.floor((NumberOfBleps / 10)) * 40)); Bleps[(Bleps.length - 1)].x = (Bleps[(Bleps.length - 1)].x + ((((Bleps[(Bleps.length - 1)].x - (550 * 0.5)) / (550 * 0.5)) * Depth) * 2)); Bleps[(Bleps.length - 1)].y = 200; Bleps[(Bleps.length - 1)].y = (Bleps[(Bleps.length - 1)].y + (((((Bleps[(Bleps.length - 1)].y + 100) - (400 * 0.5)) / (400 * 0.5)) * Depth) * 2)); Depth = (Depth + 1); if (Depth == 10){ Depth = 0; }; NumberOfBleps = (NumberOfBleps + 1); AddBleps = (AddBleps - 1); }; }; if (_local2 == 100){ addEventListener(Event.ENTER_FRAME, RemoveLoadingScreen); }; } } }//package DeadlyInvestigation_fla
Section 4
//OverlayLight_124 (DeadlyInvestigation_fla.OverlayLight_124) package DeadlyInvestigation_fla { import flash.display.*; public dynamic class OverlayLight_124 extends MovieClip { public function OverlayLight_124(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package DeadlyInvestigation_fla
Section 5
//Player_117 (DeadlyInvestigation_fla.Player_117) package DeadlyInvestigation_fla { import flash.display.*; public dynamic class Player_117 extends MovieClip { public var LeftHandInstance:MovieClip; public var HatInstance:MovieClip; public var RightHandInstance:MovieClip; public function Player_117(){ addFrameScript(79, frame80, 104, frame105, 114, frame115, 123, frame124, 137, frame138, 141, frame142, 147, frame148, 152, frame153, 156, frame157, 163, frame164, 168, frame169, 173, frame174, 177, frame178, 182, frame183, 192, frame193, 196, frame197, 259, frame260); } function frame157(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame153(){ stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); } function frame164(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame80(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame169(){ stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); } function frame178(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame174(){ stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); } function frame183(){ stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); } function frame105(){ gotoAndPlay(86); gotoAndPlay(86); gotoAndPlay(86); gotoAndPlay(86); gotoAndPlay(86); gotoAndPlay(86); gotoAndPlay(86); gotoAndPlay(86); gotoAndPlay(86); gotoAndPlay(86); gotoAndPlay(86); gotoAndPlay(86); gotoAndPlay(86); gotoAndPlay(86); gotoAndPlay(86); gotoAndPlay(86); gotoAndPlay(86); } function frame197(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame115(){ gotoAndPlay(106); gotoAndPlay(106); gotoAndPlay(106); gotoAndPlay(106); gotoAndPlay(106); gotoAndPlay(106); gotoAndPlay(106); gotoAndPlay(106); gotoAndPlay(106); gotoAndPlay(106); gotoAndPlay(106); gotoAndPlay(106); gotoAndPlay(106); gotoAndPlay(106); gotoAndPlay(106); gotoAndPlay(106); gotoAndPlay(106); } function frame124(){ gotoAndPlay(116); gotoAndPlay(116); gotoAndPlay(116); gotoAndPlay(116); gotoAndPlay(116); gotoAndPlay(116); gotoAndPlay(116); gotoAndPlay(116); gotoAndPlay(116); gotoAndPlay(116); gotoAndPlay(116); gotoAndPlay(116); gotoAndPlay(116); gotoAndPlay(116); gotoAndPlay(116); gotoAndPlay(116); gotoAndPlay(116); } function frame193(){ stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); } function frame138(){ gotoAndPlay(130); gotoAndPlay(130); gotoAndPlay(130); gotoAndPlay(130); gotoAndPlay(130); gotoAndPlay(130); gotoAndPlay(130); gotoAndPlay(130); gotoAndPlay(130); gotoAndPlay(130); gotoAndPlay(130); gotoAndPlay(130); gotoAndPlay(130); gotoAndPlay(130); gotoAndPlay(130); gotoAndPlay(130); gotoAndPlay(130); } function frame260(){ stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); } function frame148(){ stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); stop(); } function frame142(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } } }//package DeadlyInvestigation_fla
Section 6
//PlayerHand_110 (DeadlyInvestigation_fla.PlayerHand_110) package DeadlyInvestigation_fla { import flash.display.*; public dynamic class PlayerHand_110 extends MovieClip { public function PlayerHand_110(){ addFrameScript(6, frame7, 11, frame12); } function frame12(){ gotoAndStop(8); } function frame7(){ gotoAndStop(3); } } }//package DeadlyInvestigation_fla
Section 7
//AdjustContrast (AdjustContrast) package { import flash.display.*; public dynamic class AdjustContrast extends MovieClip { } }//package
Section 8
//Altar (Altar) package { import flash.display.*; public dynamic class Altar extends MovieClip { } }//package
Section 9
//AlternativeBush (AlternativeBush) package { import flash.display.*; public dynamic class AlternativeBush extends MovieClip { } }//package
Section 10
//AmbientNoise1 (AmbientNoise1) package { import flash.media.*; public dynamic class AmbientNoise1 extends Sound { } }//package
Section 11
//AmbientNoise2 (AmbientNoise2) package { import flash.media.*; public dynamic class AmbientNoise2 extends Sound { } }//package
Section 12
//Bat (Bat) package { import flash.display.*; public dynamic class Bat extends MovieClip { public function Bat(){ addFrameScript(4, frame5); } function frame5(){ gotoAndPlay(1); } } }//package
Section 13
//Bed (Bed) package { import flash.display.*; public dynamic class Bed extends MovieClip { } }//package
Section 14
//Bench (Bench) package { import flash.display.*; public dynamic class Bench extends MovieClip { } }//package
Section 15
//BloodPuddle (BloodPuddle) package { import flash.display.*; public dynamic class BloodPuddle extends MovieClip { } }//package
Section 16
//BloodStain (BloodStain) package { import flash.display.*; public dynamic class BloodStain extends MovieClip { } }//package
Section 17
//Book (Book) package { import flash.display.*; public dynamic class Book extends MovieClip { } }//package
Section 18
//Bookcase (Bookcase) package { import flash.display.*; public dynamic class Bookcase extends MovieClip { } }//package
Section 19
//BossAttack (BossAttack) package { import flash.media.*; public dynamic class BossAttack extends Sound { } }//package
Section 20
//BossIdle (BossIdle) package { import flash.media.*; public dynamic class BossIdle extends Sound { } }//package
Section 21
//Bullets (Bullets) package { import flash.display.*; public dynamic class Bullets extends MovieClip { } }//package
Section 22
//Bush (Bush) package { import flash.display.*; public dynamic class Bush extends MovieClip { } }//package
Section 23
//Cabinet (Cabinet) package { import flash.display.*; public dynamic class Cabinet extends MovieClip { } }//package
Section 24
//Cathedral (Cathedral) package { import flash.media.*; public dynamic class Cathedral extends Sound { } }//package
Section 25
//ChangeWeaponSound (ChangeWeaponSound) package { import flash.media.*; public dynamic class ChangeWeaponSound extends Sound { } }//package
Section 26
//Chest (Chest) package { import flash.display.*; public dynamic class Chest extends MovieClip { } }//package
Section 27
//Closet (Closet) package { import flash.display.*; public dynamic class Closet extends MovieClip { } }//package
Section 28
//CombinationLock (CombinationLock) package { import flash.display.*; public dynamic class CombinationLock extends MovieClip { } }//package
Section 29
//CombinationLockHighlight (CombinationLockHighlight) package { import flash.display.*; public dynamic class CombinationLockHighlight extends MovieClip { } }//package
Section 30
//CombinationLockNumber (CombinationLockNumber) package { import flash.display.*; public dynamic class CombinationLockNumber extends MovieClip { } }//package
Section 31
//Dairy (Dairy) package { import flash.display.*; public dynamic class Dairy extends MovieClip { } }//package
Section 32
//Desk (Desk) package { import flash.display.*; public dynamic class Desk extends MovieClip { } }//package
Section 33
//Died (Died) package { import flash.media.*; public dynamic class Died extends Sound { } }//package
Section 34
//DiningChair (DiningChair) package { import flash.display.*; public dynamic class DiningChair extends MovieClip { } }//package
Section 35
//DiningChairDebris (DiningChairDebris) package { import flash.display.*; public dynamic class DiningChairDebris extends MovieClip { } }//package
Section 36
//DinnerTable (DinnerTable) package { import flash.display.*; public dynamic class DinnerTable extends MovieClip { } }//package
Section 37
//DoorLight (DoorLight) package { import flash.display.*; public dynamic class DoorLight extends MovieClip { } }//package
Section 38
//DoorLocked (DoorLocked) package { import flash.media.*; public dynamic class DoorLocked extends Sound { } }//package
Section 39
//DoorOpen (DoorOpen) package { import flash.media.*; public dynamic class DoorOpen extends Sound { } }//package
Section 40
//Drawer (Drawer) package { import flash.display.*; public dynamic class Drawer extends MovieClip { } }//package
Section 41
//EarthQuake (EarthQuake) package { import flash.media.*; public dynamic class EarthQuake extends Sound { } }//package
Section 42
//Empty (Empty) package { import flash.display.*; public dynamic class Empty extends MovieClip { } }//package
Section 43
//EventSound (EventSound) package { import flash.media.*; public dynamic class EventSound extends Sound { } }//package
Section 44
//Explosion (Explosion) package { import flash.display.*; public dynamic class Explosion extends MovieClip { } }//package
Section 45
//Explosive (Explosive) package { import flash.display.*; public dynamic class Explosive extends MovieClip { } }//package
Section 46
//FinalMarch2 (FinalMarch2) package { import flash.media.*; public dynamic class FinalMarch2 extends Sound { } }//package
Section 47
//FireParticle (FireParticle) package { import flash.display.*; public dynamic class FireParticle extends MovieClip { } }//package
Section 48
//Flashlight (Flashlight) package { import flash.display.*; public dynamic class Flashlight extends MovieClip { } }//package
Section 49
//Floor (Floor) package { import flash.display.*; public dynamic class Floor extends MovieClip { } }//package
Section 50
//Fridge (Fridge) package { import flash.display.*; public dynamic class Fridge extends MovieClip { } }//package
Section 51
//GameOver (GameOver) package { import flash.display.*; public dynamic class GameOver extends MovieClip { } }//package
Section 52
//GardenTree (GardenTree) package { import flash.display.*; public dynamic class GardenTree extends MovieClip { } }//package
Section 53
//GhoulFootStep1 (GhoulFootStep1) package { import flash.media.*; public dynamic class GhoulFootStep1 extends Sound { } }//package
Section 54
//GhoulFootStep2 (GhoulFootStep2) package { import flash.media.*; public dynamic class GhoulFootStep2 extends Sound { } }//package
Section 55
//GhoulL1 (GhoulL1) package { import flash.display.*; public dynamic class GhoulL1 extends MovieClip { public function GhoulL1(){ addFrameScript(44, frame45, 71, frame72, 89, frame90, 116, frame117, 124, frame125, 144, frame145, 164, frame165, 204, frame205); } function frame72(){ gotoAndPlay(52); gotoAndPlay(52); } function frame165(){ stop(); stop(); } function frame205(){ gotoAndPlay(1); gotoAndPlay(1); } function frame90(){ gotoAndPlay(1); gotoAndPlay(1); } function frame117(){ gotoAndPlay(105); gotoAndPlay(105); } function frame125(){ gotoAndPlay(1); gotoAndPlay(1); } function frame45(){ gotoAndPlay(1); gotoAndPlay(1); } function frame145(){ gotoAndPlay(1); gotoAndPlay(1); } } }//package
Section 56
//GhoulL2 (GhoulL2) package { import flash.display.*; public dynamic class GhoulL2 extends MovieClip { public function GhoulL2(){ addFrameScript(44, frame45, 71, frame72, 89, frame90, 116, frame117, 124, frame125, 144, frame145, 164, frame165, 204, frame205); } function frame72(){ gotoAndPlay(52); gotoAndPlay(52); } function frame165(){ stop(); stop(); } function frame205(){ gotoAndPlay(1); gotoAndPlay(1); } function frame90(){ gotoAndPlay(1); gotoAndPlay(1); } function frame117(){ gotoAndPlay(105); gotoAndPlay(105); } function frame125(){ gotoAndPlay(1); gotoAndPlay(1); } function frame45(){ gotoAndPlay(1); gotoAndPlay(1); } function frame145(){ gotoAndPlay(1); gotoAndPlay(1); } } }//package
Section 57
//GhoulL3 (GhoulL3) package { import flash.display.*; public dynamic class GhoulL3 extends MovieClip { public function GhoulL3(){ addFrameScript(44, frame45, 71, frame72, 89, frame90, 116, frame117, 124, frame125, 144, frame145, 164, frame165, 204, frame205); } function frame72(){ gotoAndPlay(52); gotoAndPlay(52); } function frame165(){ stop(); stop(); } function frame205(){ gotoAndPlay(1); gotoAndPlay(1); } function frame90(){ gotoAndPlay(1); gotoAndPlay(1); } function frame117(){ gotoAndPlay(105); gotoAndPlay(105); } function frame125(){ gotoAndPlay(1); gotoAndPlay(1); } function frame45(){ gotoAndPlay(1); gotoAndPlay(1); } function frame145(){ gotoAndPlay(1); gotoAndPlay(1); } } }//package
Section 58
//GhoulL4 (GhoulL4) package { import flash.display.*; public dynamic class GhoulL4 extends MovieClip { public function GhoulL4(){ addFrameScript(44, frame45, 71, frame72, 89, frame90, 116, frame117, 124, frame125, 144, frame145, 164, frame165, 204, frame205); } function frame72(){ gotoAndPlay(52); } function frame165(){ stop(); } function frame205(){ gotoAndPlay(1); } function frame90(){ gotoAndPlay(1); } function frame117(){ gotoAndPlay(105); } function frame125(){ gotoAndPlay(1); } function frame45(){ gotoAndPlay(1); } function frame145(){ gotoAndPlay(1); } } }//package
Section 59
//GhoulL5 (GhoulL5) package { import flash.display.*; public dynamic class GhoulL5 extends MovieClip { public function GhoulL5(){ addFrameScript(44, frame45, 71, frame72, 89, frame90, 116, frame117, 124, frame125, 144, frame145, 164, frame165, 204, frame205); } function frame72(){ gotoAndPlay(52); } function frame165(){ stop(); } function frame205(){ gotoAndPlay(1); } function frame90(){ gotoAndPlay(1); } function frame117(){ gotoAndPlay(105); } function frame125(){ gotoAndPlay(1); } function frame45(){ gotoAndPlay(1); } function frame145(){ gotoAndPlay(1); } } }//package
Section 60
//GhoulL6 (GhoulL6) package { import flash.display.*; public dynamic class GhoulL6 extends MovieClip { public function GhoulL6(){ addFrameScript(44, frame45, 71, frame72, 89, frame90, 116, frame117, 124, frame125, 144, frame145, 164, frame165, 204, frame205); } function frame72(){ gotoAndPlay(52); } function frame165(){ stop(); } function frame205(){ gotoAndPlay(1); } function frame90(){ gotoAndPlay(1); } function frame117(){ gotoAndPlay(105); } function frame125(){ gotoAndPlay(1); } function frame45(){ gotoAndPlay(1); } function frame145(){ gotoAndPlay(1); } } }//package
Section 61
//GhoulL7 (GhoulL7) package { import flash.display.*; public dynamic class GhoulL7 extends MovieClip { public function GhoulL7(){ addFrameScript(44, frame45, 71, frame72, 89, frame90, 116, frame117, 124, frame125, 144, frame145, 164, frame165, 204, frame205); } function frame72(){ gotoAndPlay(52); gotoAndPlay(52); gotoAndPlay(52); gotoAndPlay(52); gotoAndPlay(52); gotoAndPlay(52); gotoAndPlay(52); } function frame165(){ stop(); stop(); stop(); stop(); stop(); stop(); stop(); } function frame205(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame90(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame117(){ gotoAndPlay(105); gotoAndPlay(105); gotoAndPlay(105); gotoAndPlay(105); gotoAndPlay(105); gotoAndPlay(105); gotoAndPlay(105); } function frame125(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame45(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame145(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } } }//package
Section 62
//GhoulL8 (GhoulL8) package { import flash.display.*; public dynamic class GhoulL8 extends MovieClip { public function GhoulL8(){ addFrameScript(44, frame45, 71, frame72, 89, frame90, 116, frame117, 124, frame125, 144, frame145, 164, frame165, 204, frame205); } function frame72(){ gotoAndPlay(52); } function frame165(){ stop(); } function frame205(){ gotoAndPlay(1); } function frame90(){ gotoAndPlay(1); } function frame117(){ gotoAndPlay(105); } function frame125(){ gotoAndPlay(1); } function frame45(){ gotoAndPlay(1); } function frame145(){ gotoAndPlay(1); } } }//package
Section 63
//GraveCross (GraveCross) package { import flash.display.*; public dynamic class GraveCross extends MovieClip { } }//package
Section 64
//GraveDirt (GraveDirt) package { import flash.display.*; public dynamic class GraveDirt extends MovieClip { } }//package
Section 65
//GraveStone (GraveStone) package { import flash.display.*; public dynamic class GraveStone extends MovieClip { } }//package
Section 66
//GunFire (GunFire) package { import flash.media.*; public dynamic class GunFire extends Sound { } }//package
Section 67
//GunReload (GunReload) package { import flash.media.*; public dynamic class GunReload extends Sound { } }//package
Section 68
//HamsterWorldButton (HamsterWorldButton) package { import flash.display.*; public dynamic class HamsterWorldButton extends MovieClip { } }//package
Section 69
//HitFlesh (HitFlesh) package { import flash.media.*; public dynamic class HitFlesh extends Sound { } }//package
Section 70
//HOGITLM (HOGITLM) package { import flash.media.*; public dynamic class HOGITLM extends Sound { } }//package
Section 71
//HumanBlood (HumanBlood) package { import flash.display.*; public dynamic class HumanBlood extends MovieClip { } }//package
Section 72
//LargeCrate (LargeCrate) package { import flash.display.*; public dynamic class LargeCrate extends MovieClip { } }//package
Section 73
//LastCredits (LastCredits) package { import flash.display.*; public dynamic class LastCredits extends MovieClip { } }//package
Section 74
//Light (Light) package { import flash.display.*; public dynamic class Light extends MovieClip { public var Intensity:MovieClip; public var IntensityAlt:MovieClip; public function Light(){ addFrameScript(6, frame7, 10, frame11); } function frame7(){ stop(); } function frame11(){ gotoAndStop(2); } } }//package
Section 75
//Lightning (Lightning) package { import flash.display.*; public dynamic class Lightning extends MovieClip { public var Intensity:MovieClip; } }//package
Section 76
//LindasCorpse (LindasCorpse) package { import flash.display.*; public dynamic class LindasCorpse extends MovieClip { } }//package
Section 77
//LoadingText (LoadingText) package { import flash.display.*; public dynamic class LoadingText extends MovieClip { } }//package
Section 78
//LongTable (LongTable) package { import flash.display.*; public dynamic class LongTable extends MovieClip { } }//package
Section 79
//LouisCorpse (LouisCorpse) package { import flash.display.*; public dynamic class LouisCorpse extends MovieClip { } }//package
Section 80
//MenuWave (MenuWave) package { import flash.display.*; public dynamic class MenuWave extends MovieClip { } }//package
Section 81
//Moan1 (Moan1) package { import flash.media.*; public dynamic class Moan1 extends Sound { } }//package
Section 82
//Moan2 (Moan2) package { import flash.media.*; public dynamic class Moan2 extends Sound { } }//package
Section 83
//MonsterBlood (MonsterBlood) package { import flash.display.*; public dynamic class MonsterBlood extends MovieClip { } }//package
Section 84
//Nightstand (Nightstand) package { import flash.display.*; public dynamic class Nightstand extends MovieClip { } }//package
Section 85
//NightstandDebris (NightstandDebris) package { import flash.display.*; public dynamic class NightstandDebris extends MovieClip { } }//package
Section 86
//Noise (Noise) package { import flash.display.*; public dynamic class Noise extends MovieClip { public function Noise(){ addFrameScript(4, frame5); } function frame5(){ gotoAndPlay(1); } } }//package
Section 87
//Note (Note) package { import flash.display.*; public dynamic class Note extends MovieClip { } }//package
Section 88
//Page (Page) package { import flash.display.*; public dynamic class Page extends MovieClip { } }//package
Section 89
//Paper (Paper) package { import flash.display.*; public dynamic class Paper extends MovieClip { } }//package
Section 90
//Pentagram (Pentagram) package { import flash.display.*; public dynamic class Pentagram extends MovieClip { public function Pentagram(){ addFrameScript(5, frame6, 10, frame11); } function frame6(){ gotoAndPlay(2); } function frame11(){ gotoAndPlay(7); } } }//package
Section 91
//PentagramGame (PentagramGame) package { import flash.display.*; public dynamic class PentagramGame extends MovieClip { public function PentagramGame(){ addFrameScript(25, frame26); } function frame26(){ gotoAndPlay(1); } } }//package
Section 92
//PentagramHighlight (PentagramHighlight) package { import flash.display.*; public dynamic class PentagramHighlight extends MovieClip { } }//package
Section 93
//PentagramSelected (PentagramSelected) package { import flash.display.*; public dynamic class PentagramSelected extends MovieClip { public function PentagramSelected(){ addFrameScript(46, frame47); } function frame47(){ gotoAndPlay(2); } } }//package
Section 94
//Pipe (Pipe) package { import flash.display.*; public dynamic class Pipe extends MovieClip { } }//package
Section 95
//PipeSwing (PipeSwing) package { import flash.media.*; public dynamic class PipeSwing extends Sound { } }//package
Section 96
//PlayerFootStep1 (PlayerFootStep1) package { import flash.media.*; public dynamic class PlayerFootStep1 extends Sound { } }//package
Section 97
//PlayerFootStep2 (PlayerFootStep2) package { import flash.media.*; public dynamic class PlayerFootStep2 extends Sound { } }//package
Section 98
//PlayerL1 (PlayerL1) package { import flash.display.*; public dynamic class PlayerL1 extends MovieClip { public function PlayerL1(){ addFrameScript(79, frame80, 104, frame105, 114, frame115, 123, frame124, 137, frame138, 141, frame142, 147, frame148, 152, frame153, 156, frame157, 163, frame164, 168, frame169, 173, frame174, 177, frame178, 182, frame183, 192, frame193, 196, frame197, 259, frame260); } function frame157(){ gotoAndPlay(1); gotoAndPlay(1); } function frame153(){ stop(); stop(); } function frame164(){ gotoAndPlay(1); gotoAndPlay(1); } function frame80(){ gotoAndPlay(1); gotoAndPlay(1); } function frame169(){ stop(); stop(); } function frame178(){ gotoAndPlay(1); gotoAndPlay(1); } function frame174(){ stop(); stop(); } function frame183(){ stop(); stop(); } function frame105(){ gotoAndPlay(86); gotoAndPlay(86); } function frame197(){ gotoAndPlay(1); gotoAndPlay(1); } function frame115(){ gotoAndPlay(106); gotoAndPlay(106); } function frame124(){ gotoAndPlay(116); gotoAndPlay(116); } function frame193(){ stop(); stop(); } function frame138(){ gotoAndPlay(130); gotoAndPlay(130); } function frame260(){ stop(); stop(); } function frame148(){ stop(); stop(); } function frame142(){ gotoAndPlay(1); gotoAndPlay(1); } } }//package
Section 99
//PlayerL2 (PlayerL2) package { import flash.display.*; public dynamic class PlayerL2 extends MovieClip { public function PlayerL2(){ addFrameScript(79, frame80, 104, frame105, 114, frame115, 123, frame124, 137, frame138, 141, frame142, 147, frame148, 152, frame153, 156, frame157, 163, frame164, 168, frame169, 173, frame174, 177, frame178, 182, frame183, 192, frame193, 196, frame197, 259, frame260); } function frame157(){ gotoAndPlay(1); gotoAndPlay(1); } function frame153(){ stop(); stop(); } function frame164(){ gotoAndPlay(1); gotoAndPlay(1); } function frame80(){ gotoAndPlay(1); gotoAndPlay(1); } function frame169(){ stop(); stop(); } function frame178(){ gotoAndPlay(1); gotoAndPlay(1); } function frame174(){ stop(); stop(); } function frame183(){ stop(); stop(); } function frame105(){ gotoAndPlay(86); gotoAndPlay(86); } function frame197(){ gotoAndPlay(1); gotoAndPlay(1); } function frame115(){ gotoAndPlay(106); gotoAndPlay(106); } function frame124(){ gotoAndPlay(116); gotoAndPlay(116); } function frame193(){ stop(); stop(); } function frame138(){ gotoAndPlay(130); gotoAndPlay(130); } function frame260(){ stop(); stop(); } function frame148(){ stop(); stop(); } function frame142(){ gotoAndPlay(1); gotoAndPlay(1); } } }//package
Section 100
//PlayerL3 (PlayerL3) package { import flash.display.*; public dynamic class PlayerL3 extends MovieClip { public function PlayerL3(){ addFrameScript(79, frame80, 104, frame105, 114, frame115, 123, frame124, 137, frame138, 141, frame142, 147, frame148, 152, frame153, 156, frame157, 163, frame164, 168, frame169, 173, frame174, 177, frame178, 182, frame183, 192, frame193, 196, frame197, 259, frame260); } function frame157(){ gotoAndPlay(1); gotoAndPlay(1); } function frame153(){ stop(); stop(); } function frame164(){ gotoAndPlay(1); gotoAndPlay(1); } function frame80(){ gotoAndPlay(1); gotoAndPlay(1); } function frame169(){ stop(); stop(); } function frame178(){ gotoAndPlay(1); gotoAndPlay(1); } function frame174(){ stop(); stop(); } function frame183(){ stop(); stop(); } function frame105(){ gotoAndPlay(86); gotoAndPlay(86); } function frame197(){ gotoAndPlay(1); gotoAndPlay(1); } function frame115(){ gotoAndPlay(106); gotoAndPlay(106); } function frame124(){ gotoAndPlay(116); gotoAndPlay(116); } function frame193(){ stop(); stop(); } function frame138(){ gotoAndPlay(130); gotoAndPlay(130); } function frame260(){ stop(); stop(); } function frame148(){ stop(); stop(); } function frame142(){ gotoAndPlay(1); gotoAndPlay(1); } } }//package
Section 101
//PlayerL4 (PlayerL4) package { import flash.display.*; public dynamic class PlayerL4 extends MovieClip { public var LeftHandInstance:MovieClip; public var RightHandInstance:MovieClip; public function PlayerL4(){ addFrameScript(79, frame80, 104, frame105, 114, frame115, 123, frame124, 137, frame138, 141, frame142, 147, frame148, 152, frame153, 156, frame157, 163, frame164, 168, frame169, 173, frame174, 177, frame178, 182, frame183, 192, frame193, 196, frame197, 259, frame260); } function frame157(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame153(){ stop(); stop(); stop(); } function frame164(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame80(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame169(){ stop(); stop(); stop(); } function frame178(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame174(){ stop(); stop(); stop(); } function frame183(){ stop(); stop(); stop(); } function frame105(){ gotoAndPlay(86); gotoAndPlay(86); gotoAndPlay(86); } function frame197(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame115(){ gotoAndPlay(106); gotoAndPlay(106); gotoAndPlay(106); } function frame124(){ gotoAndPlay(116); gotoAndPlay(116); gotoAndPlay(116); } function frame193(){ stop(); stop(); stop(); } function frame138(){ gotoAndPlay(130); gotoAndPlay(130); gotoAndPlay(130); } function frame260(){ stop(); stop(); stop(); } function frame148(){ stop(); stop(); stop(); } function frame142(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } } }//package
Section 102
//PlayerL5 (PlayerL5) package { import flash.display.*; public dynamic class PlayerL5 extends MovieClip { public function PlayerL5(){ addFrameScript(79, frame80, 104, frame105, 114, frame115, 123, frame124, 137, frame138, 141, frame142, 147, frame148, 152, frame153, 156, frame157, 163, frame164, 168, frame169, 173, frame174, 177, frame178, 182, frame183, 192, frame193, 196, frame197, 259, frame260); } function frame157(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame153(){ stop(); stop(); stop(); } function frame164(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame80(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame169(){ stop(); stop(); stop(); } function frame178(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame174(){ stop(); stop(); stop(); } function frame183(){ stop(); stop(); stop(); } function frame105(){ gotoAndPlay(86); gotoAndPlay(86); gotoAndPlay(86); } function frame197(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame115(){ gotoAndPlay(106); gotoAndPlay(106); gotoAndPlay(106); } function frame124(){ gotoAndPlay(116); gotoAndPlay(116); gotoAndPlay(116); } function frame193(){ stop(); stop(); stop(); } function frame138(){ gotoAndPlay(130); gotoAndPlay(130); gotoAndPlay(130); } function frame260(){ stop(); stop(); stop(); } function frame148(){ stop(); stop(); stop(); } function frame142(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } } }//package
Section 103
//PlayerL6 (PlayerL6) package { import flash.display.*; public dynamic class PlayerL6 extends MovieClip { public function PlayerL6(){ addFrameScript(79, frame80, 104, frame105, 114, frame115, 123, frame124, 137, frame138, 141, frame142, 147, frame148, 152, frame153, 156, frame157, 163, frame164, 168, frame169, 173, frame174, 177, frame178, 182, frame183, 192, frame193, 196, frame197, 259, frame260); } function frame157(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame153(){ stop(); stop(); stop(); } function frame164(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame80(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame169(){ stop(); stop(); stop(); } function frame178(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame174(){ stop(); stop(); stop(); } function frame183(){ stop(); stop(); stop(); } function frame105(){ gotoAndPlay(86); gotoAndPlay(86); gotoAndPlay(86); } function frame197(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } function frame115(){ gotoAndPlay(106); gotoAndPlay(106); gotoAndPlay(106); } function frame124(){ gotoAndPlay(116); gotoAndPlay(116); gotoAndPlay(116); } function frame193(){ stop(); stop(); stop(); } function frame138(){ gotoAndPlay(130); gotoAndPlay(130); gotoAndPlay(130); } function frame260(){ stop(); stop(); stop(); } function frame148(){ stop(); stop(); stop(); } function frame142(){ gotoAndPlay(1); gotoAndPlay(1); gotoAndPlay(1); } } }//package
Section 104
//PlayerL7 (PlayerL7) package { import flash.display.*; public dynamic class PlayerL7 extends MovieClip { public function PlayerL7(){ addFrameScript(79, frame80, 104, frame105, 114, frame115, 123, frame124, 137, frame138, 141, frame142, 147, frame148, 152, frame153, 156, frame157, 163, frame164, 168, frame169, 173, frame174, 177, frame178, 182, frame183, 192, frame193, 196, frame197, 259, frame260); } function frame157(){ gotoAndPlay(1); } function frame153(){ stop(); } function frame164(){ gotoAndPlay(1); } function frame80(){ gotoAndPlay(1); } function frame169(){ stop(); } function frame178(){ gotoAndPlay(1); } function frame174(){ stop(); } function frame183(){ stop(); } function frame105(){ gotoAndPlay(86); } function frame197(){ gotoAndPlay(1); } function frame115(){ gotoAndPlay(106); } function frame124(){ gotoAndPlay(116); } function frame193(){ stop(); } function frame138(){ gotoAndPlay(130); } function frame260(){ stop(); } function frame148(){ stop(); } function frame142(){ gotoAndPlay(1); } } }//package
Section 105
//PlayerL8 (PlayerL8) package { import flash.display.*; public dynamic class PlayerL8 extends MovieClip { public var HatInstance:MovieClip; public function PlayerL8(){ addFrameScript(79, frame80, 104, frame105, 114, frame115, 123, frame124, 137, frame138, 141, frame142, 147, frame148, 152, frame153, 156, frame157, 163, frame164, 168, frame169, 173, frame174, 177, frame178, 182, frame183, 192, frame193, 196, frame197, 259, frame260); } function frame157(){ gotoAndPlay(1); } function frame153(){ stop(); } function frame164(){ gotoAndPlay(1); } function frame80(){ gotoAndPlay(1); } function frame169(){ stop(); } function frame178(){ gotoAndPlay(1); } function frame174(){ stop(); } function frame183(){ stop(); } function frame105(){ gotoAndPlay(86); } function frame197(){ gotoAndPlay(1); } function frame115(){ gotoAndPlay(106); } function frame124(){ gotoAndPlay(116); } function frame193(){ stop(); } function frame138(){ gotoAndPlay(130); } function frame260(){ stop(); } function frame148(){ stop(); } function frame142(){ gotoAndPlay(1); } } }//package
Section 106
//ProgressBlep (ProgressBlep) package { import flash.display.*; public dynamic class ProgressBlep extends MovieClip { } }//package
Section 107
//PrologueField (PrologueField) package { import flash.display.*; public dynamic class PrologueField extends MovieClip { } }//package
Section 108
//RainInside (RainInside) package { import flash.media.*; public dynamic class RainInside extends Sound { } }//package
Section 109
//RainLine (RainLine) package { import flash.display.*; public dynamic class RainLine extends MovieClip { } }//package
Section 110
//RainOutside (RainOutside) package { import flash.media.*; public dynamic class RainOutside extends Sound { } }//package
Section 111
//Revolver (Revolver) package { import flash.display.*; public dynamic class Revolver extends MovieClip { } }//package
Section 112
//RoomTitle (RoomTitle) package { import flash.text.*; public dynamic class RoomTitle extends Font { } }//package
Section 113
//RoundTable (RoundTable) package { import flash.display.*; public dynamic class RoundTable extends MovieClip { } }//package
Section 114
//SarahsCorpse (SarahsCorpse) package { import flash.display.*; public dynamic class SarahsCorpse extends MovieClip { } }//package
Section 115
//SceneLight (SceneLight) package { import flash.display.*; public dynamic class SceneLight extends MovieClip { } }//package
Section 116
//SetCandle (SetCandle) package { import flash.media.*; public dynamic class SetCandle extends Sound { } }//package
Section 117
//Shells (Shells) package { import flash.display.*; public dynamic class Shells extends MovieClip { } }//package
Section 118
//Shotgun (Shotgun) package { import flash.display.*; public dynamic class Shotgun extends MovieClip { } }//package
Section 119
//ShotgunFire (ShotgunFire) package { import flash.media.*; public dynamic class ShotgunFire extends Sound { } }//package
Section 120
//ShotgunReload (ShotgunReload) package { import flash.media.*; public dynamic class ShotgunReload extends Sound { } }//package
Section 121
//SkipClip (SkipClip) package { import flash.display.*; public dynamic class SkipClip extends MovieClip { } }//package
Section 122
//Slash (Slash) package { import flash.media.*; public dynamic class Slash extends Sound { } }//package
Section 123
//SmallCrate (SmallCrate) package { import flash.display.*; public dynamic class SmallCrate extends MovieClip { } }//package
Section 124
//StackedSmallCrates (StackedSmallCrates) package { import flash.display.*; public dynamic class StackedSmallCrates extends MovieClip { } }//package
Section 125
//StartGameButton (StartGameButton) package { import flash.display.*; public dynamic class StartGameButton extends MovieClip { } }//package
Section 126
//Stove (Stove) package { import flash.display.*; public dynamic class Stove extends MovieClip { } }//package
Section 127
//StudyChair (StudyChair) package { import flash.display.*; public dynamic class StudyChair extends MovieClip { } }//package
Section 128
//StudyChairCrateDebris (StudyChairCrateDebris) package { import flash.display.*; public dynamic class StudyChairCrateDebris extends MovieClip { } }//package
Section 129
//SummonBoss (SummonBoss) package { import flash.media.*; public dynamic class SummonBoss extends Sound { } }//package
Section 130
//SwitchPage (SwitchPage) package { import flash.media.*; public dynamic class SwitchPage extends Sound { } }//package
Section 131
//TheChase (TheChase) package { import flash.media.*; public dynamic class TheChase extends Sound { } }//package
Section 132
//ThunderInside (ThunderInside) package { import flash.media.*; public dynamic class ThunderInside extends Sound { } }//package
Section 133
//ThunderOutside (ThunderOutside) package { import flash.media.*; public dynamic class ThunderOutside extends Sound { } }//package
Section 134
//TitleText (TitleText) package { import flash.display.*; public dynamic class TitleText extends MovieClip { } }//package
Section 135
//Toilet (Toilet) package { import flash.display.*; public dynamic class Toilet extends MovieClip { } }//package
Section 136
//Tub (Tub) package { import flash.display.*; public dynamic class Tub extends MovieClip { } }//package
Section 137
//Wall (Wall) package { import flash.display.*; public dynamic class Wall extends MovieClip { } }//package
Section 138
//WallAlt (WallAlt) package { import flash.display.*; public dynamic class WallAlt extends MovieClip { } }//package
Section 139
//WallDoorClosed (WallDoorClosed) package { import flash.display.*; public dynamic class WallDoorClosed extends MovieClip { } }//package
Section 140
//WallDoorOpen (WallDoorOpen) package { import flash.display.*; public dynamic class WallDoorOpen extends MovieClip { } }//package
Section 141
//WallInnerCorner (WallInnerCorner) package { import flash.display.*; public dynamic class WallInnerCorner extends MovieClip { } }//package
Section 142
//WallLight (WallLight) package { import flash.display.*; public dynamic class WallLight extends MovieClip { } }//package
Section 143
//WallOuterCorner (WallOuterCorner) package { import flash.display.*; public dynamic class WallOuterCorner extends MovieClip { } }//package
Section 144
//WallSupport (WallSupport) package { import flash.display.*; public dynamic class WallSupport extends MovieClip { } }//package
Section 145
//WallWindowClosed (WallWindowClosed) package { import flash.display.*; public dynamic class WallWindowClosed extends MovieClip { } }//package
Section 146
//WallWindowOpen (WallWindowOpen) package { import flash.display.*; public dynamic class WallWindowOpen extends MovieClip { } }//package
Section 147
//VergeOfVictory (VergeOfVictory) package { import flash.media.*; public dynamic class VergeOfVictory extends Sound { } }//package
Section 148
//Wind (Wind) package { import flash.media.*; public dynamic class Wind extends Sound { } }//package
Section 149
//WoodImpact (WoodImpact) package { import flash.media.*; public dynamic class WoodImpact extends Sound { } }//package
Section 150
//Worm (Worm) package { import flash.display.*; public dynamic class Worm extends MovieClip { public var WormBottom:MovieClip; public var WormHead:MovieClip; public var WormMiddlePart:MovieClip; } }//package

Library Items

Symbol 1 Font {RoomTitle}
Symbol 2 GraphicUsed by:6
Symbol 3 FontUsed by:4 5 596 597 598 606
Symbol 4 EditableTextUses:3Used by:6
Symbol 5 EditableTextUses:3Used by:6
Symbol 6 MovieClip {StartGameButton}Uses:2 4 5Used by:673
Symbol 7 FontUsed by:8 9 14 15 16 17 600 602 609 611 612 613 614 615 618 619 620 621 622
Symbol 8 EditableTextUses:7Used by:10
Symbol 9 EditableTextUses:7Used by:10
Symbol 10 MovieClip {HamsterWorldButton}Uses:8 9Used by:673
Symbol 11 BitmapUsed by:12 21 23 25 65 66 67 68 69 70 117 119 121 123 125 130 132 133 134 136 137 138 140 141 142 143 144 145 147 148 149 150 151 152 154 155 156 157 158 159 162 163 164 165 167 170 172 174 177 181 184 187 190 194 195 196 197 199 200 201 202 204 205 206 207 209 210 212 213 215 216 217 219 220 221 223 224 225 227 228 229 231 233 234 236 237 239 241 243 245 257 258 259 260 262 263 264 265 266 268 269 270 272 273 274 275 277 278 280 281 282 283 285 286 288 289 290 292 293 294 295 297 298 299 300 302 303 304 306 307 309 310 311 312 313 315 316 317 318 320 321 322 324 325 326 328 329 330 332 333 335 336 337 339 340 341 343 346 349 351 354 356 359 361 362 363 364 365 366 367 368 369 372 375 378
Symbol 12 GraphicUses:11Used by:13
Symbol 13 MovieClip {Paper}Uses:12Used by:673
Symbol 14 EditableTextUses:7Used by:18
Symbol 15 EditableTextUses:7Used by:18
Symbol 16 EditableTextUses:7Used by:18
Symbol 17 EditableTextUses:7Used by:18
Symbol 18 MovieClip {LoadingText}Uses:14 15 16 17Used by:Timeline
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClip {ProgressBlep}Uses:19Used by:Timeline
Symbol 21 GraphicUses:11Used by:22
Symbol 22 MovieClipUses:21Used by:161 673
Symbol 23 GraphicUses:11Used by:24
Symbol 24 MovieClipUses:23Used by:161 673
Symbol 25 GraphicUses:11Used by:26
Symbol 26 MovieClipUses:25Used by:161 673
Symbol 27 GraphicUsed by:28
Symbol 28 MovieClipUses:27Used by:254 673
Symbol 29 GraphicUsed by:30
Symbol 30 MovieClipUses:29Used by:31 395
Symbol 31 MovieClip {SceneLight}Uses:30Used by:673
Symbol 32 BitmapUsed by:33 35 74
Symbol 33 GraphicUses:32Used by:34
Symbol 34 MovieClipUses:33Used by:72 673
Symbol 35 GraphicUses:32Used by:36
Symbol 36 MovieClipUses:35Used by:73 673
Symbol 37 BitmapUsed by:38 78
Symbol 38 GraphicUses:37Used by:39
Symbol 39 MovieClipUses:38Used by:77 673
Symbol 40 FontUsed by:41 42 43 44 45 46 47 48 49 50
Symbol 41 EditableTextUses:40Used by:51
Symbol 42 EditableTextUses:40Used by:51
Symbol 43 EditableTextUses:40Used by:51
Symbol 44 EditableTextUses:40Used by:51
Symbol 45 EditableTextUses:40Used by:51
Symbol 46 EditableTextUses:40Used by:51
Symbol 47 EditableTextUses:40Used by:51
Symbol 48 EditableTextUses:40Used by:51
Symbol 49 EditableTextUses:40Used by:51
Symbol 50 EditableTextUses:40Used by:51
Symbol 51 MovieClip {CombinationLockNumber}Uses:41 42 43 44 45 46 47 48 49 50Used by:673
Symbol 52 BitmapUsed by:53
Symbol 53 GraphicUses:52Used by:61
Symbol 54 FontUsed by:55 56 57 58 59 60 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 103 115
Symbol 55 EditableTextUses:54Used by:61
Symbol 56 EditableTextUses:54Used by:61
Symbol 57 EditableTextUses:54Used by:61
Symbol 58 EditableTextUses:54Used by:61
Symbol 59 EditableTextUses:54Used by:61
Symbol 60 EditableTextUses:54Used by:61
Symbol 61 MovieClip {Note}Uses:53 55 56 57 58 59 60Used by:673
Symbol 62 BitmapUsed by:63
Symbol 63 GraphicUses:62Used by:64
Symbol 64 MovieClip {Book}Uses:63Used by:673
Symbol 65 GraphicUses:11Used by:71
Symbol 66 GraphicUses:11Used by:71
Symbol 67 GraphicUses:11Used by:71
Symbol 68 GraphicUses:11Used by:71
Symbol 69 GraphicUses:11Used by:71
Symbol 70 GraphicUses:11Used by:71
Symbol 71 MovieClip {Pentagram}Uses:65 66 67 68 69 70Used by:673
Symbol 72 MovieClip {PentagramGame}Uses:34Used by:673
Symbol 73 MovieClip {PentagramHighlight}Uses:36Used by:673
Symbol 74 GraphicUses:32Used by:75
Symbol 75 MovieClip {PentagramSelected}Uses:74Used by:673
Symbol 76 GraphicUsed by:77
Symbol 77 MovieClip {CombinationLockHighlight}Uses:76 39Used by:673
Symbol 78 GraphicUses:37Used by:79
Symbol 79 MovieClip {CombinationLock}Uses:78Used by:673
Symbol 80 BitmapUsed by:81
Symbol 81 GraphicUses:80Used by:100
Symbol 82 EditableTextUses:54Used by:100
Symbol 83 EditableTextUses:54Used by:100
Symbol 84 EditableTextUses:54Used by:100
Symbol 85 EditableTextUses:54Used by:100
Symbol 86 EditableTextUses:54Used by:100
Symbol 87 EditableTextUses:54Used by:100
Symbol 88 EditableTextUses:54Used by:100
Symbol 89 EditableTextUses:54Used by:100
Symbol 90 EditableTextUses:54Used by:100
Symbol 91 EditableTextUses:54Used by:100
Symbol 92 EditableTextUses:54Used by:100
Symbol 93 EditableTextUses:54Used by:100
Symbol 94 EditableTextUses:54Used by:100
Symbol 95 EditableTextUses:54Used by:100
Symbol 96 EditableTextUses:54Used by:100
Symbol 97 EditableTextUses:54Used by:100
Symbol 98 EditableTextUses:54Used by:100
Symbol 99 EditableTextUses:54Used by:100
Symbol 100 MovieClip {Dairy}Uses:81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99Used by:673
Symbol 101 BitmapUsed by:102 104 105 106 107 108 109 111 112 114
Symbol 102 GraphicUses:101Used by:116
Symbol 103 EditableTextUses:54Used by:116
Symbol 104 GraphicUses:101Used by:116
Symbol 105 GraphicUses:101Used by:116
Symbol 106 GraphicUses:101Used by:116
Symbol 107 GraphicUses:101Used by:116
Symbol 108 GraphicUses:101Used by:116
Symbol 109 GraphicUses:101Used by:116
Symbol 110 BitmapUsed by:111
Symbol 111 GraphicUses:101 110Used by:116
Symbol 112 GraphicUses:101Used by:116
Symbol 113 BitmapUsed by:114
Symbol 114 GraphicUses:101 113Used by:116
Symbol 115 EditableTextUses:54Used by:116
Symbol 116 MovieClip {Page}Uses:102 103 104 105 106 107 108 109 111 112 114 115Used by:673
Symbol 117 GraphicUses:11Used by:118
Symbol 118 MovieClip {Explosion}Uses:117Used by:673
Symbol 119 GraphicUses:11Used by:120
Symbol 120 MovieClip {Explosive}Uses:119Used by:673
Symbol 121 GraphicUses:11Used by:122
Symbol 122 MovieClip {LouisCorpse}Uses:121Used by:673
Symbol 123 GraphicUses:11Used by:124
Symbol 124 MovieClip {LindasCorpse}Uses:123Used by:673
Symbol 125 GraphicUses:11Used by:126
Symbol 126 MovieClip {SarahsCorpse}Uses:125Used by:673
Symbol 127 BitmapUsed by:128
Symbol 128 GraphicUses:127Used by:129
Symbol 129 MovieClip {GameOver}Uses:128Used by:673
Symbol 130 GraphicUses:11Used by:131
Symbol 131 MovieClip {FireParticle}Uses:130Used by:673
Symbol 132 GraphicUses:11Used by:135
Symbol 133 GraphicUses:11Used by:135
Symbol 134 GraphicUses:11Used by:135
Symbol 135 MovieClip {MonsterBlood}Uses:132 133 134Used by:673
Symbol 136 GraphicUses:11Used by:139
Symbol 137 GraphicUses:11Used by:139
Symbol 138 GraphicUses:11Used by:139
Symbol 139 MovieClip {HumanBlood}Uses:136 137 138Used by:673
Symbol 140 GraphicUses:11Used by:146
Symbol 141 GraphicUses:11Used by:146
Symbol 142 GraphicUses:11Used by:146
Symbol 143 GraphicUses:11Used by:146
Symbol 144 GraphicUses:11Used by:146
Symbol 145 GraphicUses:11Used by:146
Symbol 146 MovieClip {NightstandDebris}Uses:140 141 142 143 144 145Used by:673
Symbol 147 GraphicUses:11Used by:153
Symbol 148 GraphicUses:11Used by:153
Symbol 149 GraphicUses:11Used by:153
Symbol 150 GraphicUses:11Used by:153
Symbol 151 GraphicUses:11Used by:153
Symbol 152 GraphicUses:11Used by:153
Symbol 153 MovieClip {StudyChairCrateDebris}Uses:147 148 149 150 151 152Used by:673
Symbol 154 GraphicUses:11Used by:160
Symbol 155 GraphicUses:11Used by:160
Symbol 156 GraphicUses:11Used by:160
Symbol 157 GraphicUses:11Used by:160
Symbol 158 GraphicUses:11Used by:160
Symbol 159 GraphicUses:11Used by:160
Symbol 160 MovieClip {DiningChairDebris}Uses:154 155 156 157 158 159Used by:673
Symbol 161 MovieClip {Worm}Uses:24 26 22Used by:673
Symbol 162 GraphicUses:11Used by:166
Symbol 163 GraphicUses:11Used by:166
Symbol 164 GraphicUses:11Used by:166
Symbol 165 GraphicUses:11Used by:166
Symbol 166 MovieClip {Bat}Uses:162 163 164 165Used by:673
Symbol 167 GraphicUses:11Used by:168
Symbol 168 MovieClipUses:167Used by:169 193
Symbol 169 MovieClip {GhoulL8}Uses:168Used by:673
Symbol 170 GraphicUses:11Used by:171
Symbol 171 MovieClipUses:170Used by:176 193
Symbol 172 GraphicUses:11Used by:173
Symbol 173 MovieClipUses:172Used by:176 193
Symbol 174 GraphicUses:11Used by:175
Symbol 175 MovieClipUses:174Used by:176 193
Symbol 176 MovieClip {GhoulL7}Uses:171 173 175Used by:673
Symbol 177 GraphicUses:11Used by:178
Symbol 178 MovieClipUses:177Used by:179 180 193
Symbol 179 MovieClip {GhoulL6}Uses:178Used by:673
Symbol 180 MovieClip {GhoulL5}Uses:178Used by:673
Symbol 181 GraphicUses:11Used by:182
Symbol 182 MovieClipUses:181Used by:183 193
Symbol 183 MovieClip {GhoulL4}Uses:182Used by:673
Symbol 184 GraphicUses:11Used by:185
Symbol 185 MovieClipUses:184Used by:186 193
Symbol 186 MovieClip {GhoulL3}Uses:185Used by:673
Symbol 187 GraphicUses:11Used by:188
Symbol 188 MovieClipUses:187Used by:189 193
Symbol 189 MovieClip {GhoulL2}Uses:188Used by:673
Symbol 190 GraphicUses:11Used by:191
Symbol 191 MovieClipUses:190Used by:192 193
Symbol 192 MovieClip {GhoulL1}Uses:191Used by:673
Symbol 193 MovieClip {DeadlyInvestigation_fla.Ghoul_56}Uses:191 188 185 182 178 171 173 175 168Used by:673
Symbol 194 GraphicUses:11Used by:198
Symbol 195 GraphicUses:11Used by:198
Symbol 196 GraphicUses:11Used by:198
Symbol 197 GraphicUses:11Used by:198
Symbol 198 MovieClip {BloodStain}Uses:194 195 196 197Used by:673
Symbol 199 GraphicUses:11Used by:203
Symbol 200 GraphicUses:11Used by:203
Symbol 201 GraphicUses:11Used by:203
Symbol 202 GraphicUses:11Used by:203
Symbol 203 MovieClip {BloodPuddle}Uses:199 200 201 202Used by:673
Symbol 204 GraphicUses:11Used by:208
Symbol 205 GraphicUses:11Used by:208
Symbol 206 GraphicUses:11Used by:208
Symbol 207 GraphicUses:11Used by:208
Symbol 208 MovieClip {GardenTree}Uses:204 205 206 207Used by:673
Symbol 209 GraphicUses:11Used by:211
Symbol 210 GraphicUses:11Used by:211
Symbol 211 MovieClip {AlternativeBush}Uses:209 210Used by:673
Symbol 212 GraphicUses:11Used by:214
Symbol 213 GraphicUses:11Used by:214
Symbol 214 MovieClip {Bush}Uses:212 213Used by:673
Symbol 215 GraphicUses:11Used by:218
Symbol 216 GraphicUses:11Used by:218
Symbol 217 GraphicUses:11Used by:218
Symbol 218 MovieClip {Altar}Uses:215 216 217Used by:673
Symbol 219 GraphicUses:11Used by:222
Symbol 220 GraphicUses:11Used by:222
Symbol 221 GraphicUses:11Used by:222
Symbol 222 MovieClip {Chest}Uses:219 220 221Used by:673
Symbol 223 GraphicUses:11Used by:226
Symbol 224 GraphicUses:11Used by:226
Symbol 225 GraphicUses:11Used by:226
Symbol 226 MovieClip {GraveStone}Uses:223 224 225Used by:673
Symbol 227 GraphicUses:11Used by:230
Symbol 228 GraphicUses:11Used by:230
Symbol 229 GraphicUses:11Used by:230
Symbol 230 MovieClip {GraveCross}Uses:227 228 229Used by:673
Symbol 231 GraphicUses:11Used by:232
Symbol 232 MovieClip {GraveDirt}Uses:231Used by:673
Symbol 233 GraphicUses:11Used by:235
Symbol 234 GraphicUses:11Used by:235
Symbol 235 MovieClip {Shells}Uses:233 234Used by:673
Symbol 236 GraphicUses:11Used by:238
Symbol 237 GraphicUses:11Used by:238
Symbol 238 MovieClip {Bullets}Uses:236 237Used by:673
Symbol 239 GraphicUses:11Used by:240
Symbol 240 MovieClip {Revolver}Uses:239Used by:673
Symbol 241 GraphicUses:11Used by:242
Symbol 242 MovieClip {Shotgun}Uses:241Used by:673
Symbol 243 GraphicUses:11Used by:244
Symbol 244 MovieClip {Pipe}Uses:243Used by:673
Symbol 245 GraphicUses:11Used by:246
Symbol 246 MovieClip {Flashlight}Uses:245Used by:673
Symbol 247 GraphicUsed by:248
Symbol 248 MovieClipUses:247Used by:594 673
Symbol 249 BitmapUsed by:250
Symbol 250 GraphicUses:249Used by:251
Symbol 251 MovieClipUses:250Used by:254 673
Symbol 252 GraphicUsed by:253
Symbol 253 MovieClipUses:252Used by:254 673
Symbol 254 MovieClip {Lightning}Uses:253 251 28Used by:673
Symbol 255 GraphicUsed by:256
Symbol 256 MovieClip {DoorLight}Uses:255Used by:673
Symbol 257 GraphicUses:11Used by:261
Symbol 258 GraphicUses:11Used by:261
Symbol 259 GraphicUses:11Used by:261
Symbol 260 GraphicUses:11Used by:261
Symbol 261 MovieClip {Bed}Uses:257 258 259 260Used by:673
Symbol 262 GraphicUses:11Used by:267
Symbol 263 GraphicUses:11Used by:267
Symbol 264 GraphicUses:11Used by:267
Symbol 265 GraphicUses:11Used by:267
Symbol 266 GraphicUses:11Used by:267
Symbol 267 MovieClip {Tub}Uses:262 263 264 265 266Used by:673
Symbol 268 GraphicUses:11Used by:271
Symbol 269 GraphicUses:11Used by:271
Symbol 270 GraphicUses:11Used by:271
Symbol 271 MovieClip {Toilet}Uses:268 269 270Used by:673
Symbol 272 GraphicUses:11Used by:276
Symbol 273 GraphicUses:11Used by:276
Symbol 274 GraphicUses:11Used by:276
Symbol 275 GraphicUses:11Used by:276
Symbol 276 MovieClip {Fridge}Uses:272 273 274 275Used by:673
Symbol 277 GraphicUses:11Used by:279
Symbol 278 GraphicUses:11Used by:279
Symbol 279 MovieClip {SmallCrate}Uses:277 278Used by:673
Symbol 280 GraphicUses:11Used by:284
Symbol 281 GraphicUses:11Used by:284
Symbol 282 GraphicUses:11Used by:284
Symbol 283 GraphicUses:11Used by:284
Symbol 284 MovieClip {StackedSmallCrates}Uses:280 281 282 283Used by:673
Symbol 285 GraphicUses:11Used by:287
Symbol 286 GraphicUses:11Used by:287
Symbol 287 MovieClip {LargeCrate}Uses:285 286Used by:673
Symbol 288 GraphicUses:11Used by:291
Symbol 289 GraphicUses:11Used by:291
Symbol 290 GraphicUses:11Used by:291
Symbol 291 MovieClip {Bench}Uses:288 289 290Used by:673
Symbol 292 GraphicUses:11Used by:296
Symbol 293 GraphicUses:11Used by:296
Symbol 294 GraphicUses:11Used by:296
Symbol 295 GraphicUses:11Used by:296
Symbol 296 MovieClip {Stove}Uses:292 293 294 295Used by:673
Symbol 297 GraphicUses:11Used by:301
Symbol 298 GraphicUses:11Used by:301
Symbol 299 GraphicUses:11Used by:301
Symbol 300 GraphicUses:11Used by:301
Symbol 301 MovieClip {Closet}Uses:297 298 299 300Used by:673
Symbol 302 GraphicUses:11Used by:305
Symbol 303 GraphicUses:11Used by:305
Symbol 304 GraphicUses:11Used by:305
Symbol 305 MovieClip {RoundTable}Uses:302 303 304Used by:673
Symbol 306 GraphicUses:11Used by:308
Symbol 307 GraphicUses:11Used by:308
Symbol 308 MovieClip {LongTable}Uses:306 307Used by:673
Symbol 309 GraphicUses:11Used by:314
Symbol 310 GraphicUses:11Used by:314
Symbol 311 GraphicUses:11Used by:314
Symbol 312 GraphicUses:11Used by:314
Symbol 313 GraphicUses:11Used by:314
Symbol 314 MovieClip {Bookcase}Uses:309 310 311 312 313Used by:673
Symbol 315 GraphicUses:11Used by:319
Symbol 316 GraphicUses:11Used by:319
Symbol 317 GraphicUses:11Used by:319
Symbol 318 GraphicUses:11Used by:319
Symbol 319 MovieClip {Cabinet}Uses:315 316 317 318Used by:673
Symbol 320 GraphicUses:11Used by:323
Symbol 321 GraphicUses:11Used by:323
Symbol 322 GraphicUses:11Used by:323
Symbol 323 MovieClip {Nightstand}Uses:320 321 322Used by:673
Symbol 324 GraphicUses:11Used by:327
Symbol 325 GraphicUses:11Used by:327
Symbol 326 GraphicUses:11Used by:327
Symbol 327 MovieClip {Drawer}Uses:324 325 326Used by:673
Symbol 328 GraphicUses:11Used by:331
Symbol 329 GraphicUses:11Used by:331
Symbol 330 GraphicUses:11Used by:331
Symbol 331 MovieClip {Desk}Uses:328 329 330Used by:673
Symbol 332 GraphicUses:11Used by:334
Symbol 333 GraphicUses:11Used by:334
Symbol 334 MovieClip {DinnerTable}Uses:332 333Used by:673
Symbol 335 GraphicUses:11Used by:338
Symbol 336 GraphicUses:11Used by:338
Symbol 337 GraphicUses:11Used by:338
Symbol 338 MovieClip {StudyChair}Uses:335 336 337Used by:673
Symbol 339 GraphicUses:11Used by:342
Symbol 340 GraphicUses:11Used by:342
Symbol 341 GraphicUses:11Used by:342
Symbol 342 MovieClip {DiningChair}Uses:339 340 341Used by:673
Symbol 343 GraphicUses:11Used by:344
Symbol 344 MovieClipUses:343Used by:345 381
Symbol 345 MovieClip {PlayerL8}Uses:344Used by:673
Symbol 346 GraphicUses:11Used by:347
Symbol 347 MovieClipUses:346Used by:348 381
Symbol 348 MovieClip {PlayerL7}Uses:347Used by:673
Symbol 349 GraphicUses:11Used by:350
Symbol 350 MovieClipUses:349Used by:353 381
Symbol 351 GraphicUses:11Used by:352
Symbol 352 MovieClipUses:351Used by:353 381
Symbol 353 MovieClip {PlayerL6}Uses:350 352Used by:673
Symbol 354 GraphicUses:11Used by:355
Symbol 355 MovieClipUses:354Used by:358 381
Symbol 356 GraphicUses:11Used by:357
Symbol 357 MovieClipUses:356Used by:358 381
Symbol 358 MovieClip {PlayerL5}Uses:355 357Used by:673
Symbol 359 GraphicUses:11Used by:360
Symbol 360 MovieClipUses:359Used by:371 381
Symbol 361 GraphicUses:11Used by:370
Symbol 362 GraphicUses:11Used by:370
Symbol 363 GraphicUses:11Used by:370
Symbol 364 GraphicUses:11Used by:370
Symbol 365 GraphicUses:11Used by:370
Symbol 366 GraphicUses:11Used by:370
Symbol 367 GraphicUses:11Used by:370
Symbol 368 GraphicUses:11Used by:370
Symbol 369 GraphicUses:11Used by:370
Symbol 370 MovieClip {DeadlyInvestigation_fla.PlayerHand_110}Uses:361 362 363 364 365 366 367 368 369Used by:371 381
Symbol 371 MovieClip {PlayerL4}Uses:360 370Used by:673
Symbol 372 GraphicUses:11Used by:373
Symbol 373 MovieClipUses:372Used by:374 381
Symbol 374 MovieClip {PlayerL3}Uses:373Used by:673
Symbol 375 GraphicUses:11Used by:376
Symbol 376 MovieClipUses:375Used by:377 381
Symbol 377 MovieClip {PlayerL2}Uses:376Used by:673
Symbol 378 GraphicUses:11Used by:379
Symbol 379 MovieClipUses:378Used by:380 381
Symbol 380 MovieClip {PlayerL1}Uses:379Used by:673
Symbol 381 MovieClip {DeadlyInvestigation_fla.Player_117}Uses:379 376 373 360 370 355 357 350 352 347 344Used by:673
Symbol 382 BitmapUsed by:383
Symbol 383 GraphicUses:382Used by:384
Symbol 384 MovieClipUses:383Used by:394 673
Symbol 385 BitmapUsed by:386
Symbol 386 GraphicUses:385Used by:387
Symbol 387 MovieClipUses:386Used by:394 673
Symbol 388 BitmapUsed by:389
Symbol 389 GraphicUses:388Used by:390
Symbol 390 MovieClipUses:389Used by:394 673
Symbol 391 BitmapUsed by:392
Symbol 392 GraphicUses:391Used by:393
Symbol 393 MovieClipUses:392Used by:394 673
Symbol 394 MovieClip {Noise}Uses:393 390 387 384Used by:673
Symbol 395 MovieClip {DeadlyInvestigation_fla.OverlayLight_124}Uses:30Used by:396
Symbol 396 MovieClip {Light}Uses:395Used by:673
Symbol 397 BitmapUsed by:398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 415 416 417 418 419 420 421 422 423 424 425 426 427 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 483 484 485 486 487 488 489 490 491 492 493 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 556 557 558 559 560 561 562 563 564 565 566 567 569 570 571 572 573 574 575 576 577 578 579 581 582 583 584 585 586 587 588 589 590 591 592
Symbol 398 GraphicUses:397Used by:413
Symbol 399 GraphicUses:397Used by:413 494 568 580 593
Symbol 400 GraphicUses:397Used by:413
Symbol 401 GraphicUses:397Used by:413
Symbol 402 GraphicUses:397Used by:413
Symbol 403 GraphicUses:397Used by:413
Symbol 404 GraphicUses:397Used by:413 494 568 580 593
Symbol 405 GraphicUses:397Used by:413
Symbol 406 GraphicUses:397Used by:413
Symbol 407 GraphicUses:397Used by:413 568 580 593
Symbol 408 GraphicUses:397Used by:413
Symbol 409 GraphicUses:397Used by:413
Symbol 410 GraphicUses:397Used by:413 494 580
Symbol 411 GraphicUses:397Used by:413
Symbol 412 GraphicUses:397Used by:413 580
Symbol 413 MovieClip {WallLight}Uses:398 399 400 401 402 403 404 405 406 407 408 409 410 411 412Used by:673
Symbol 414 MovieClip {Empty}Used by:673
Symbol 415 GraphicUses:397Used by:428
Symbol 416 GraphicUses:397Used by:428
Symbol 417 GraphicUses:397Used by:428
Symbol 418 GraphicUses:397Used by:428
Symbol 419 GraphicUses:397Used by:428
Symbol 420 GraphicUses:397Used by:428
Symbol 421 GraphicUses:397Used by:428
Symbol 422 GraphicUses:397Used by:428
Symbol 423 GraphicUses:397Used by:428
Symbol 424 GraphicUses:397Used by:428
Symbol 425 GraphicUses:397Used by:428
Symbol 426 GraphicUses:397Used by:428
Symbol 427 GraphicUses:397Used by:428
Symbol 428 MovieClip {Floor}Uses:415 416 417 418 419 420 421 422 423 424 425 426 427Used by:673
Symbol 429 GraphicUses:397Used by:449
Symbol 430 GraphicUses:397Used by:449 482
Symbol 431 GraphicUses:397Used by:449
Symbol 432 GraphicUses:397Used by:449 482
Symbol 433 GraphicUses:397Used by:449
Symbol 434 GraphicUses:397Used by:449 482
Symbol 435 GraphicUses:397Used by:449
Symbol 436 GraphicUses:397Used by:449
Symbol 437 GraphicUses:397Used by:449
Symbol 438 GraphicUses:397Used by:449 482
Symbol 439 GraphicUses:397Used by:449
Symbol 440 GraphicUses:397Used by:449 482
Symbol 441 GraphicUses:397Used by:449
Symbol 442 GraphicUses:397Used by:449 482
Symbol 443 GraphicUses:397Used by:449
Symbol 444 GraphicUses:397Used by:449 482
Symbol 445 GraphicUses:397Used by:449
Symbol 446 GraphicUses:397Used by:449 482
Symbol 447 GraphicUses:397Used by:449
Symbol 448 GraphicUses:397Used by:449
Symbol 449 MovieClip {WallInnerCorner}Uses:429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448Used by:673
Symbol 450 GraphicUses:397Used by:482
Symbol 451 GraphicUses:397Used by:482
Symbol 452 GraphicUses:397Used by:482
Symbol 453 GraphicUses:397Used by:482
Symbol 454 GraphicUses:397Used by:482
Symbol 455 GraphicUses:397Used by:482
Symbol 456 GraphicUses:397Used by:482
Symbol 457 GraphicUses:397Used by:482
Symbol 458 GraphicUses:397Used by:482
Symbol 459 GraphicUses:397Used by:482
Symbol 460 GraphicUses:397Used by:482
Symbol 461 GraphicUses:397Used by:482
Symbol 462 GraphicUses:397Used by:482
Symbol 463 GraphicUses:397Used by:482
Symbol 464 GraphicUses:397Used by:482
Symbol 465 GraphicUses:397Used by:482
Symbol 466 GraphicUses:397Used by:482
Symbol 467 GraphicUses:397Used by:482
Symbol 468 GraphicUses:397Used by:482
Symbol 469 GraphicUses:397Used by:482
Symbol 470 GraphicUses:397Used by:482
Symbol 471 GraphicUses:397Used by:482
Symbol 472 GraphicUses:397Used by:482
Symbol 473 GraphicUses:397Used by:482
Symbol 474 GraphicUses:397Used by:482
Symbol 475 GraphicUses:397Used by:482
Symbol 476 GraphicUses:397Used by:482
Symbol 477 GraphicUses:397Used by:482
Symbol 478 GraphicUses:397Used by:482
Symbol 479 GraphicUses:397Used by:482
Symbol 480 GraphicUses:397Used by:482
Symbol 481 GraphicUses:397Used by:482
Symbol 482 MovieClip {WallOuterCorner}Uses:450 451 452 430 453 454 455 432 456 457 458 434 459 460 461 462 463 464 465 438 466 467 468 440 469 470 471 442 472 473 474 444 475 476 477 446 478 479 480 481Used by:673
Symbol 483 GraphicUses:397Used by:494
Symbol 484 GraphicUses:397Used by:494
Symbol 485 GraphicUses:397Used by:494
Symbol 486 GraphicUses:397Used by:494
Symbol 487 GraphicUses:397Used by:494
Symbol 488 GraphicUses:397Used by:494
Symbol 489 GraphicUses:397Used by:494
Symbol 490 GraphicUses:397Used by:494
Symbol 491 GraphicUses:397Used by:494
Symbol 492 GraphicUses:397Used by:494
Symbol 493 GraphicUses:397Used by:494
Symbol 494 MovieClip {WallDoorClosed}Uses:483 399 484 485 486 487 404 488 489 490 491 410 492 493Used by:673
Symbol 495 GraphicUses:397Used by:514
Symbol 496 GraphicUses:397Used by:514
Symbol 497 GraphicUses:397Used by:514
Symbol 498 GraphicUses:397Used by:514
Symbol 499 GraphicUses:397Used by:514
Symbol 500 GraphicUses:397Used by:514
Symbol 501 GraphicUses:397Used by:514
Symbol 502 GraphicUses:397Used by:514
Symbol 503 GraphicUses:397Used by:514
Symbol 504 GraphicUses:397Used by:514
Symbol 505 GraphicUses:397Used by:514
Symbol 506 GraphicUses:397Used by:514
Symbol 507 GraphicUses:397Used by:514
Symbol 508 GraphicUses:397Used by:514
Symbol 509 GraphicUses:397Used by:514
Symbol 510 GraphicUses:397Used by:514
Symbol 511 GraphicUses:397Used by:514
Symbol 512 GraphicUses:397Used by:514
Symbol 513 GraphicUses:397Used by:514
Symbol 514 MovieClip {WallDoorOpen}Uses:495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513Used by:673
Symbol 515 GraphicUses:397Used by:534
Symbol 516 GraphicUses:397Used by:534
Symbol 517 GraphicUses:397Used by:534
Symbol 518 GraphicUses:397Used by:534
Symbol 519 GraphicUses:397Used by:534
Symbol 520 GraphicUses:397Used by:534
Symbol 521 GraphicUses:397Used by:534
Symbol 522 GraphicUses:397Used by:534
Symbol 523 GraphicUses:397Used by:534
Symbol 524 GraphicUses:397Used by:534
Symbol 525 GraphicUses:397Used by:534
Symbol 526 GraphicUses:397Used by:534
Symbol 527 GraphicUses:397Used by:534
Symbol 528 GraphicUses:397Used by:534
Symbol 529 GraphicUses:397Used by:534
Symbol 530 GraphicUses:397Used by:534
Symbol 531 GraphicUses:397Used by:534
Symbol 532 GraphicUses:397Used by:534
Symbol 533 GraphicUses:397Used by:534
Symbol 534 MovieClip {WallWindowClosed}Uses:515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533Used by:673
Symbol 535 GraphicUses:397Used by:555
Symbol 536 GraphicUses:397Used by:555
Symbol 537 GraphicUses:397Used by:555
Symbol 538 GraphicUses:397Used by:555
Symbol 539 GraphicUses:397Used by:555
Symbol 540 GraphicUses:397Used by:555
Symbol 541 GraphicUses:397Used by:555
Symbol 542 GraphicUses:397Used by:555
Symbol 543 GraphicUses:397Used by:555
Symbol 544 GraphicUses:397Used by:555
Symbol 545 GraphicUses:397Used by:555
Symbol 546 GraphicUses:397Used by:555
Symbol 547 GraphicUses:397Used by:555
Symbol 548 GraphicUses:397Used by:555
Symbol 549 GraphicUses:397Used by:555
Symbol 550 GraphicUses:397Used by:555
Symbol 551 GraphicUses:397Used by:555
Symbol 552 GraphicUses:397Used by:555
Symbol 553 GraphicUses:397Used by:555
Symbol 554 GraphicUses:397Used by:555
Symbol 555 MovieClip {WallWindowOpen}Uses:535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554Used by:673
Symbol 556 GraphicUses:397Used by:568
Symbol 557 GraphicUses:397Used by:568
Symbol 558 GraphicUses:397Used by:568
Symbol 559 GraphicUses:397Used by:568
Symbol 560 GraphicUses:397Used by:568
Symbol 561 GraphicUses:397Used by:568
Symbol 562 GraphicUses:397Used by:568
Symbol 563 GraphicUses:397Used by:568
Symbol 564 GraphicUses:397Used by:568
Symbol 565 GraphicUses:397Used by:568
Symbol 566 GraphicUses:397Used by:568
Symbol 567 GraphicUses:397Used by:568
Symbol 568 MovieClip {Wall}Uses:556 399 557 558 559 560 404 561 562 407 563 564 565 566 567Used by:673
Symbol 569 GraphicUses:397Used by:580
Symbol 570 GraphicUses:397Used by:580
Symbol 571 GraphicUses:397Used by:580
Symbol 572 GraphicUses:397Used by:580
Symbol 573 GraphicUses:397Used by:580
Symbol 574 GraphicUses:397Used by:580
Symbol 575 GraphicUses:397Used by:580
Symbol 576 GraphicUses:397Used by:580
Symbol 577 GraphicUses:397Used by:580
Symbol 578 GraphicUses:397Used by:580
Symbol 579 GraphicUses:397Used by:580
Symbol 580 MovieClip {WallAlt}Uses:569 399 570 571 572 573 404 574 575 407 576 577 578 410 579 412Used by:673
Symbol 581 GraphicUses:397Used by:593
Symbol 582 GraphicUses:397Used by:593
Symbol 583 GraphicUses:397Used by:593
Symbol 584 GraphicUses:397Used by:593
Symbol 585 GraphicUses:397Used by:593
Symbol 586 GraphicUses:397Used by:593
Symbol 587 GraphicUses:397Used by:593
Symbol 588 GraphicUses:397Used by:593
Symbol 589 GraphicUses:397Used by:593
Symbol 590 GraphicUses:397Used by:593
Symbol 591 GraphicUses:397Used by:593
Symbol 592 GraphicUses:397Used by:593
Symbol 593 MovieClip {WallSupport}Uses:581 399 582 583 584 585 404 586 587 407 588 589 590 591 592Used by:673
Symbol 594 MovieClip {RainLine}Uses:248Used by:673
Symbol 595 GraphicUsed by:605
Symbol 596 EditableTextUses:3Used by:605
Symbol 597 EditableTextUses:3Used by:605
Symbol 598 EditableTextUses:3Used by:605
Symbol 599 GraphicUsed by:605
Symbol 600 EditableTextUses:7Used by:605
Symbol 601 GraphicUsed by:605
Symbol 602 EditableTextUses:7Used by:605
Symbol 603 FontUsed by:604
Symbol 604 EditableTextUses:603Used by:605
Symbol 605 MovieClip {AdjustContrast}Uses:595 596 597 598 599 600 601 602 604Used by:673
Symbol 606 EditableTextUses:3Used by:607
Symbol 607 MovieClip {PrologueField}Uses:606Used by:673
Symbol 608 GraphicUsed by:610
Symbol 609 EditableTextUses:7Used by:610
Symbol 610 MovieClip {SkipClip}Uses:608 609Used by:673
Symbol 611 EditableTextUses:7Used by:624
Symbol 612 EditableTextUses:7Used by:624
Symbol 613 EditableTextUses:7Used by:624
Symbol 614 EditableTextUses:7Used by:624
Symbol 615 EditableTextUses:7Used by:624
Symbol 616 FontUsed by:617 623
Symbol 617 EditableTextUses:616Used by:624
Symbol 618 EditableTextUses:7Used by:624
Symbol 619 EditableTextUses:7Used by:624
Symbol 620 EditableTextUses:7Used by:624
Symbol 621 EditableTextUses:7Used by:624
Symbol 622 EditableTextUses:7Used by:624
Symbol 623 EditableTextUses:616Used by:624
Symbol 624 MovieClip {LastCredits}Uses:611 612 613 614 615 617 618 619 620 621 622 623Used by:673
Symbol 625 GraphicUsed by:632
Symbol 626 GraphicUsed by:632
Symbol 627 GraphicUsed by:632
Symbol 628 GraphicUsed by:632
Symbol 629 GraphicUsed by:632
Symbol 630 GraphicUsed by:632
Symbol 631 GraphicUsed by:632
Symbol 632 MovieClip {MenuWave}Uses:625 626 627 628 629 630 631Used by:673
Symbol 633 BitmapUsed by:634
Symbol 634 GraphicUses:633Used by:635
Symbol 635 MovieClip {TitleText}Uses:634Used by:673
Symbol 636 Sound {AmbientNoise1}Used by:673
Symbol 637 Sound {AmbientNoise2}Used by:673
Symbol 638 Sound {BossAttack}Used by:673
Symbol 639 Sound {BossIdle}Used by:673
Symbol 640 Sound {Cathedral}Used by:673
Symbol 641 Sound {ChangeWeaponSound}Used by:673
Symbol 642 Sound {Died}Used by:673
Symbol 643 Sound {DoorLocked}Used by:673
Symbol 644 Sound {DoorOpen}Used by:673
Symbol 645 Sound {EarthQuake}Used by:673
Symbol 646 Sound {EventSound}Used by:673
Symbol 647 Sound {FinalMarch2}Used by:673
Symbol 648 Sound {GhoulFootStep1}Used by:673
Symbol 649 Sound {GhoulFootStep2}Used by:673
Symbol 650 Sound {GunFire}Used by:673
Symbol 651 Sound {GunReload}Used by:673
Symbol 652 Sound {HitFlesh}Used by:673
Symbol 653 Sound {HOGITLM}Used by:673
Symbol 654 Sound {Moan1}Used by:673
Symbol 655 Sound {Moan2}Used by:673
Symbol 656 Sound {PipeSwing}Used by:673
Symbol 657 Sound {PlayerFootStep1}Used by:673
Symbol 658 Sound {PlayerFootStep2}Used by:673
Symbol 659 Sound {RainInside}Used by:673
Symbol 660 Sound {RainOutside}Used by:673
Symbol 661 Sound {SetCandle}Used by:673
Symbol 662 Sound {ShotgunFire}Used by:673
Symbol 663 Sound {ShotgunReload}Used by:673
Symbol 664 Sound {Slash}Used by:673
Symbol 665 Sound {SummonBoss}Used by:673
Symbol 666 Sound {SwitchPage}Used by:673
Symbol 667 Sound {TheChase}Used by:673
Symbol 668 Sound {ThunderInside}Used by:673
Symbol 669 Sound {ThunderOutside}Used by:673
Symbol 670 Sound {Wind}Used by:673
Symbol 671 Sound {WoodImpact}Used by:673
Symbol 672 Sound {VergeOfVictory}Used by:673
Symbol 673 MovieClip {DeadlyInvestigation_fla.Assets_3}Uses:22 24 26 28 31 34 36 39 51 61 64 71 72 73 75 77 79 100 116 13 118 120 122 124 126 129 131 135 139 146 153 160 161 166 169 176 179 180 183 186 189 192 193 198 203 208 211 214 218 222 226 230 232 235 238 240 242 244 246 248 251 253 254 256 261 267 271 276 279 284 287 291 296 301 305 308 314 319 323 327 331 334 338 342 345 348 353 358 371 374 377 380 381 384 387 390 393 394 396 413 414 428 449 482 494 514 534 555 568 580 593 594 605 607 610 624 632 635 10 6 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672Used by:Timeline

Instance Names

"WormHead"Symbol 161 MovieClip {Worm} Frame 1Symbol 24 MovieClip
"WormMiddlePart"Symbol 161 MovieClip {Worm} Frame 2Symbol 26 MovieClip
"WormBottom"Symbol 161 MovieClip {Worm} Frame 3Symbol 22 MovieClip
"Intensity"Symbol 254 MovieClip {Lightning} Frame 2Symbol 253 MovieClip
"Intensity"Symbol 254 MovieClip {Lightning} Frame 2Symbol 253 MovieClip
"Intensity"Symbol 254 MovieClip {Lightning} Frame 2Symbol 253 MovieClip
"Intensity"Symbol 254 MovieClip {Lightning} Frame 2Symbol 253 MovieClip
"Intensity"Symbol 254 MovieClip {Lightning} Frame 2Symbol 253 MovieClip
"Intensity"Symbol 254 MovieClip {Lightning} Frame 2Symbol 253 MovieClip
"HatInstance"Symbol 345 MovieClip {PlayerL8} Frame 1Symbol 344 MovieClip
"LeftHandInstance"Symbol 371 MovieClip {PlayerL4} Frame 1Symbol 370 MovieClip {DeadlyInvestigation_fla.PlayerHand_110}
"RightHandInstance"Symbol 371 MovieClip {PlayerL4} Frame 1Symbol 370 MovieClip {DeadlyInvestigation_fla.PlayerHand_110}
"LeftHandInstance"Symbol 381 MovieClip {DeadlyInvestigation_fla.Player_117} Frame 1Symbol 370 MovieClip {DeadlyInvestigation_fla.PlayerHand_110}
"RightHandInstance"Symbol 381 MovieClip {DeadlyInvestigation_fla.Player_117} Frame 1Symbol 370 MovieClip {DeadlyInvestigation_fla.PlayerHand_110}
"HatInstance"Symbol 381 MovieClip {DeadlyInvestigation_fla.Player_117} Frame 1Symbol 344 MovieClip
"Intensity"Symbol 396 MovieClip {Light} Frame 1Symbol 395 MovieClip {DeadlyInvestigation_fla.OverlayLight_124}
"IntensityAlt"Symbol 396 MovieClip {Light} Frame 2Symbol 395 MovieClip {DeadlyInvestigation_fla.OverlayLight_124}

Special Tags

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

Labels

"Intensity"Symbol 396 MovieClip {Light} Frame 11




http://swfchan.com/10/46192/info.shtml
Created: 4/5 -2019 04:17:57 Last modified: 4/5 -2019 04:17:57 Server time: 04/05 -2024 10:29:15