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