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

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

The Insanity 2 - sequel to cool horror point and click adventure game.swf

This is the info page for
Flash #92017

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


Text
PLAY

PLAY

PLAY

LOADING

20

30

40

50

60

70

80

90

100

10

-LOADING 6.9Mb PLEASE BE PATIENT-

CLICK THE MOUSE ANYWHERE ON THE TEXT TO SKIP DIALOGUE.  TEXT BOX CAN BE DRAGGED AROUND WITH THE MOUSE BY
CLICKING AND HOLDING ON THE TOP\BOTTOM PANELS. TEXT CAN ALSO BE SCROLLED USING THE MOUSE WHEEL OR
CLICKING THE RELATIVE UP/DOWN HANDLES ON THE LEFT SIDE.

Myself  as a well-known journalist compounded with my brother
Nathan as a DCI to call into account, it didn't take the law long to
want to verify my unlikely story. After testifying I collapsed and had
to be hospitalised for many weeks, with counselling for
psychological injury.
Police raided 'Wishingtree Psychiatric Hospital' a day after my
escape.
Somewhat unsurprisingly, Friendly had an emergency escape plan
in place. He- along with most of his subjects- had inexplicably
vanished. However, evidence to support the statement I gave the
authorities was abound; carcasses of Missing Person's, dismembered
and buried, exotic animal parts, camera equipment. Extensive work
had to be done to match up the remains discovered.
Friendly's video uploads suddenly became the most viewed thing on
the internet. The papers had a field day. Scoop of the century, they
said- yes... but at what cost to my soul?

MONTHS LATER...

6

THERE ISN'T A DAY THAT GOES BY...

WHEN I CAN SLEEP WITHOUT SEEING THAT PLACE...

AS I LAY IN MY BED-IT'S ONLY LATELY
I START TO THINK...

MAYBE...IT IS FINALLY OVER...

MAYBE IT'S TIME TO FORGET-

At last we meet, Mr.Peter Langdon

I did tell you his would be the last face you ever saw
before your death. Though technically..you are
still living...

Let it be known that, though your escape was
my intention from the start, your life will not
be a waste..

For you oh dear GOD, my friend, YOU will be the apotheosis
of all MAN...

Let me show the world,
how beautiful you have become...

LET

ME

SHOW

THE WORLD

HOW

BEAUTIFUL

YOU'VE

BECOME

...

REC

EDGAR FRIENDLY

THANKS FOR PLAYING!

-SPECIAL SHOUT OUT TO:-
K.TAKAKI 'GOLDEN YODA'- KANSAIVET- CHRISMC- ALL THE
OLD YD'S EXCEPT FRIENDLY-FIREMAN CHUCK-
NEIL YATES(DEAD FRONTIER)- BRO ROSS & FAMILY
THE FUKUOKA City Drinking CREW- Jason, emi,
Tom 'Kansaivet' Powell,Greg, (not that any of you will
ever read this lol), Masanobu Nagano (Alexander),
and all my other English students. All the FlashKit and
FGL peeps.
Audio dudes-VINZER-MIHAI SOROHAN
AND Congrats to myself (EVILKRIS) for finally finishing
this life-sucking project. Hope you all enjoyed it!

-REFRESH THE BROWSER TO PLAY AGAIN-

EVILKRIS

CLICK TO

BLOG

KINDLY
SPONSORED BY

SELECT SUBJECT:

Fukuoka Systems LTD.

CHIMERA

PROJECT K

SPECTER

SARCOSUS

SHIMMER

CTHULHU

BACK

BACK

CHIMERA:
DIVERSIFIED CANIFORM SUBJECTS WERE COMBINED ON THIS
SUBJECT TO OBSERVE HOMO SAPIEN/CARNIVORA TISSUE
UNIFICATION.
PRONOUNCED SNOUT GIVES WOLF-LIKE APPEARANCE. DENTAL CODE
MOLAR 2/1, C 0/0, P 3/2 M 3/3 MOUTH CONTAINS
ARADICULAR HYPSODONT OPEN-ROOTED TEETH THAT HAVE
CONTINUOUS GROWTH.(ALL TEETH INCISIVE - MOLARS
REMAIN FOR CHEWING). TINANIUM PLATING REINFORCED ALLOYS
FUSED TO BONES HERALD BULLETPROOF-LIKE RESISTENCE TO
IMPACT.
SOCIAL AND LOYAL UNDER MILD SEDATIVE INFLUENCE.

PROJECT K:
EDGAR OFTEN TALKED OF HIS PROFOUND SADNESS AT THE DEATH
OF THE TWIN BROTHER HE LOST IN THEIR CAR CRASH 5 YEARS
AGO. UPON HIS REVELATION THAT WE KNOW HAD DISCOVERED THE
CAPABILITY TO INSTIGATE REANIMATION OF DEAD MATTER, HE
CAPRICIOUSLY AND -AGAINST MY WISHES- HAD HIS SIBLING'S
BODY EXHUMED.
WE NEGLECTED TO GIVE HIM A PROPER NAME, HE IS SIMPLY
KNOWN AS "K". ALL PROJECTS NAMED ALPHABETICALLY BUT K WAS
THE FIRST NOT TO DIE AFTER ADVANCED SURGICAL
MODIFICATIONS. HIS SIZE (6.8FT) INSPIRED US TO USE HIM AS
A MAKESHIFT PERSONAL BODYGUARD. HIS BODY IS TAILORED FOR
COLLOSAL ENDURANCE AND POWER. STIMULATED CALCIUM
REINFORCED BONES. ECONOMY OF OSTEODERMIC RIDGING ALONG
THE LIMBS. INTENSE TRAINING AND STEREOID ORTHOPEDIC
PROTEIN SYNTHESIS AND STRICT TRAINING REGIME RESULTS IN
LOST AGILITY BUT MADE UP FOR IN RAW POWER. THERE'S NO
HUMAN WITH HIS STRENGTH. TO OUR DISSAPOINTMENT THE BRAIN
DETERIORATION WAS FAR GONE, HE IS SEVERLY MENTALLY
RETARDED, AND A MISHAP IN SURGERY RESULTED IN HIS LOSING
MUCH OF HIS VOCAL FACILITIES. PERIODICALLY NEEDS TO
REMAINTAIN MUSCULAR STABILITY THEREFORE IS IN STASIS
RECOVERY CHAMBER AT THE TIME OF THIS LOG.

SPECTER:
FACULTIVE MUTUALISTIC BIOLUMINESCENT BACTOCYCLOPHIA
IMPLANTED WITHIN SKIN CELLS. HAS AN APPEARANCE NOT UNLIKE
THAT OF CERTAIN TRANSLUCENT MARINE INVERTEBRATES. VISUALLY
SUPERNATURAL IN APPEARANCE, ADMIRABLE TO THE EYE AND
PERSONALLY ONE OF OUR FAVOURITES. DUE TO THE BREAKDOWN OF
SKIN CELL TISSUE BODY IS RELATIVELY WEAK AND FRAGILE.
ORGANS HAVE BEEN SUPERSIZED TO CAPACITATE STIMULATED
ENERGY VIA MUSCLE MITOCHONDRIA GENETIC THERAPY. METABOLISM
IS RAPID AND AS A RESULT CAN MOVE AT HIGH SPEEDS WITHOUT
CARDIAC ARREST-
SEEMS ALMOST INVISIBLE WHEN IN FULL MOBILISATION. HE IS
CONVENTIONALLY NOMADIC AND CHILDLIKE- AS ARE MOST OF THE
VIVISECTS- UNSURE ABOUT HIS NEW FORM. PREFERS TO BE
SOLITARY.
ZOOTOXIN GLANDS WE HAVE IMPLANTED CREATE VENOMOUS BITE TO
COMPENSATE FOR HIS LACK OF PHYSICAL HUNTING ABILITY.

SHIMMER:
EDGAR WANTED TO AT THIS TIME TO RESEARCH SENESCENSE - THE
BASE SUBJECT WAS AGED INTO HIS 80'S AT THE TIME OF HIS
ACQUISITION. DYSREGULATED WASTE CELL BREAKDOWN HAS BEEN
ALTERED. NORMAL CELL DIVISION HAS BEEN REVERTED, MODIFIED
AND EPITHELIAL TISSUE NOW HIGHLY REGENERATIVE- CONDUSIVE
TO RAPID HEALING AND YOUTHFUL APPEARANCE. ONE UNFORTUNATE
SIDE-EFFECT OF THE TREATMENT HE RECIEVED IS DAMAGE TO THE
INTEGUMENTARY SYSTEM RESULTING IN EXTREME XERODERMA
PIGMENTOSIS (DRY SKIN). EYE SENSITIVITY IS HIGH.
STIMULATED SEBACEOUS GLANDS ARE AS YET NON-PRODUCTIVE,
THEREFORE WE HAVE HOUSED HIM TEMPORARILY IN THE BASEMENT
AREA.HUMIDIFIED MOISTURE AND MINERAL OILS HAVE BEEN
APPLIED TO THE FLOORS AND WALLS AS MUST BE KEPT LUBRICATED
AT ALL TIMES. MINIMAL MOBILE ACTIVITY.  ALL HOUSE
INHABITANTS HAVE BEEN WARNED NOT TO GO WITHIN NEAR
PROXIMITY AND INCINERAGENS ARE STRICTLY FORBIDDEN. MENTAL
ACUITY IS MORE STABLE IN THIS SUBJECT LEADING US TO
CONCLUDE IT MAY BE TIME FOR US BEGIN WORKING ON THE
'SMART' VIVISECT RANGE.

SARCOSUS:
COLD-BLOODED REPTILIAN IMPLANTS ARE ABOUNT IN THIS
SUBJECT. ONE OF OUR FIRST EXPERIMENTS AND FOR THE MOST
PART A FAILURE. PITUITARY PROTEIN BASED POLY-PEPTIDES
RESULTED IN GIANTISM. CREATURE IS ALMOST 2.5 METERS TALL
SEVERAL SIZES LARGER THAN STANDARD DEVIATIONS. ENERGY-
DENSE HIGH FAT DIET. MULTICOLOURED OIL DROPLETS IN THE
PHOTORECEPTORS, OPSIN PROTEINS IN THE CONES DETECT
WAVELENGTHS IN THE UV RANGE. GAVIAL SCUTUM VASCULAR LAYERS
AROUND THE POST-OP HUMAN TISSUE MAKE FOR CUMBERSOME
LURKING MOVEMENT.
IT IS A MIRACLE THE CREATURE DIDN'T DIE VIA DISPLACED
ORGAN REJECTION. EXPECTED LIFE-SPAN IS LESS THAN 3 WEEKS.
NON-COMPLAINT WITH SEDATIVE COERSIVE PERSUATION THEREFORE
EXTREMELY DANGEROUS TO ANYONE IN PROXIMITY
BARRICADED WITHIN THE LOWER LEVELS AND ACTS AS ADDED
PROTECTION FOR INNER ACCOMODATIONS.

CTHULHU:
DESTROY ON SIGHT.

0

0

0

0

ON

OFF

X

EXIT?

Welcome curious little cat,
ISNT IT A SAD, SAD IRONY THAT THE VERY TRAIT
THAT HAS PROPELLED YOU THUS FAR INTO REALMS
OF SUCCESS MAY ALSO BE that which spells YOUR
DEMISE. Let us see if you truly have nine lives.
YOu might recognise the grubby, aged property of this vellum
print. Is it not similar to the one you recieved, that lead you here?
One wonders-What reward could be so profound; that snuck you
in here in the dark, alone, unarmed; oblivious to danger.
THE - EYE HAS BEEN TURNED ON YOU, DEAR
MR.LANGDON. Meddling and inquistive that you are, I 'll
wager you do also enjoy a good sport. Your exits have been
blocked, your team members may or may not still be breathing.
Let us see HOW YOU FARE - perhaps you will ESCAPE ALIVE
AND sane YOU CERTAINLY will HAVE A STORY TO TELL.
Was it all real? Or fake?
Soon you will know.

<p align="left"><font face="Gungsuh" size="11" color="#000000" letterSpacing="0.000000" kerning="1">If rumours are to be believed, somewhere out there exists is a horrific angel of death, an insane butcher &quot;+</font></p><p align="left"><font face="Gungsuh" size="11" color="#000000" letterSpacing="0.000000" kerning="1">&quot;surgically fusing the parts of animals and humans to make abominations in a remote concealed la</font></p>

I'm Peter Langdon, a journalist for a nationally
recognised newspaper.
A while back I received a letter tipping me off to this
place. I'd been investigating the Edgar Friendly videos.
Whole thing seemed like a hoax to me but I thought
there just might be something in it.  I sent my regular
team, Lars, John -same guys that go with me
everywhere- ahead to investigate.
2 days ago I lost all contact with them.
Alone, I made my way to this old building.  I found a
window and broke in,  hoping to find  both what
happened to my team, and a  great story.
If only I'd known what I was getting into...

IT'S ALL...

IT'S ALL...

...REAL?

...REAL?

THE

INSANITY

II

DOUBLE CLICK  OUTSIDE OF PANEL
TO RETURN ITEM BACK TO INVENTORY

<p align="left"></p><p align="left"></p>

ReTRY?

GAmE

s

hed

gameshed.com

MIHAI SOROHAN

VINZER

CLICK TO START

CLICK T  START

CLICK TO START

LICK TO START

-Lead Programming/Design-
-Audio-

OFFICIAL WALKTHROUGH
CLICK HERE!

II

ActionScript [AS3]

Section 1
//AdLoader (CPMStar.AdLoader) package CPMStar { import flash.display.*; import flash.events.*; import flash.system.*; import flash.net.*; public class AdLoader extends Sprite { private var cpmstarLoader:Loader; private var contentspotid:String; public function AdLoader(_arg1:String){ this.contentspotid = _arg1; addEventListener(Event.ADDED, addedHandler); } private function addedHandler(_arg1:Event):void{ removeEventListener(Event.ADDED, addedHandler); Security.allowDomain("server.cpmstar.com"); var _local2 = "http://server.cpmstar.com/adviewas3.swf"; var _local3:DisplayObjectContainer = parent; cpmstarLoader = new Loader(); cpmstarLoader.contentLoaderInfo.addEventListener(Event.INIT, dispatchHandler); cpmstarLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, dispatchHandler); cpmstarLoader.load(new URLRequest(((_local2 + "?contentspotid=") + contentspotid))); addChild(cpmstarLoader); } private function dispatchHandler(_arg1:Event):void{ dispatchEvent(_arg1); } } }//package CPMStar
Section 2
//Color (fl.motion.Color) package fl.motion { import flash.display.*; import flash.geom.*; public class Color extends ColorTransform { private var _tintColor:Number;// = 0 private var _tintMultiplier:Number;// = 0 public function Color(_arg1:Number=1, _arg2:Number=1, _arg3:Number=1, _arg4:Number=1, _arg5:Number=0, _arg6:Number=0, _arg7:Number=0, _arg8:Number=0){ super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8); } public function get brightness():Number{ return ((this.redOffset) ? (1 - this.redMultiplier) : (this.redMultiplier - 1)); } public function set brightness(_arg1:Number):void{ if (_arg1 > 1){ _arg1 = 1; } else { if (_arg1 < -1){ _arg1 = -1; }; }; var _local2:Number = (1 - Math.abs(_arg1)); var _local3:Number = 0; if (_arg1 > 0){ _local3 = (_arg1 * 0xFF); }; this.redMultiplier = (this.greenMultiplier = (this.blueMultiplier = _local2)); this.redOffset = (this.greenOffset = (this.blueOffset = _local3)); } public function setTint(_arg1:uint, _arg2:Number):void{ this._tintColor = _arg1; this._tintMultiplier = _arg2; this.redMultiplier = (this.greenMultiplier = (this.blueMultiplier = (1 - _arg2))); var _local3:uint = ((_arg1 >> 16) & 0xFF); var _local4:uint = ((_arg1 >> 8) & 0xFF); var _local5:uint = (_arg1 & 0xFF); this.redOffset = Math.round((_local3 * _arg2)); this.greenOffset = Math.round((_local4 * _arg2)); this.blueOffset = Math.round((_local5 * _arg2)); } public function get tintColor():uint{ return (this._tintColor); } public function set tintColor(_arg1:uint):void{ this.setTint(_arg1, this.tintMultiplier); } private function deriveTintColor():uint{ var _local1:Number = (1 / this.tintMultiplier); var _local2:uint = Math.round((this.redOffset * _local1)); var _local3:uint = Math.round((this.greenOffset * _local1)); var _local4:uint = Math.round((this.blueOffset * _local1)); var _local5:uint = (((_local2 << 16) | (_local3 << 8)) | _local4); return (_local5); } public function get tintMultiplier():Number{ return (this._tintMultiplier); } public function set tintMultiplier(_arg1:Number):void{ this.setTint(this.tintColor, _arg1); } private function parseXML(_arg1:XML=null):Color{ var _local3:XML; var _local4:String; var _local5:uint; if (!_arg1){ return (this); }; var _local2:XML = _arg1.elements()[0]; if (!_local2){ return (this); }; for each (_local3 in _local2.attributes()) { _local4 = _local3.localName(); if (_local4 == "tintColor"){ _local5 = (Number(_local3.toString()) as uint); this.tintColor = _local5; } else { this[_local4] = Number(_local3.toString()); }; }; return (this); } public static function fromXML(_arg1:XML):Color{ return (Color(new (Color).parseXML(_arg1))); } public static function interpolateTransform(_arg1:ColorTransform, _arg2:ColorTransform, _arg3:Number):ColorTransform{ var _local4:Number = (1 - _arg3); var _local5:ColorTransform = new ColorTransform(((_arg1.redMultiplier * _local4) + (_arg2.redMultiplier * _arg3)), ((_arg1.greenMultiplier * _local4) + (_arg2.greenMultiplier * _arg3)), ((_arg1.blueMultiplier * _local4) + (_arg2.blueMultiplier * _arg3)), ((_arg1.alphaMultiplier * _local4) + (_arg2.alphaMultiplier * _arg3)), ((_arg1.redOffset * _local4) + (_arg2.redOffset * _arg3)), ((_arg1.greenOffset * _local4) + (_arg2.greenOffset * _arg3)), ((_arg1.blueOffset * _local4) + (_arg2.blueOffset * _arg3)), ((_arg1.alphaOffset * _local4) + (_arg2.alphaOffset * _arg3))); return (_local5); } public static function interpolateColor(_arg1:uint, _arg2:uint, _arg3:Number):uint{ var _local4:Number = (1 - _arg3); var _local5:uint = ((_arg1 >> 24) & 0xFF); var _local6:uint = ((_arg1 >> 16) & 0xFF); var _local7:uint = ((_arg1 >> 8) & 0xFF); var _local8:uint = (_arg1 & 0xFF); var _local9:uint = ((_arg2 >> 24) & 0xFF); var _local10:uint = ((_arg2 >> 16) & 0xFF); var _local11:uint = ((_arg2 >> 8) & 0xFF); var _local12:uint = (_arg2 & 0xFF); var _local13:uint = ((_local5 * _local4) + (_local9 * _arg3)); var _local14:uint = ((_local6 * _local4) + (_local10 * _arg3)); var _local15:uint = ((_local7 * _local4) + (_local11 * _arg3)); var _local16:uint = ((_local8 * _local4) + (_local12 * _arg3)); var _local17:uint = ((((_local13 << 24) | (_local14 << 16)) | (_local15 << 8)) | _local16); return (_local17); } } }//package fl.motion
Section 3
//Transition (fl.transitions.Transition) package fl.transitions { import flash.display.*; import flash.events.*; import flash.geom.*; public class Transition extends EventDispatcher { public var ID:int; protected var _content:MovieClip; protected var _manager:TransitionManager; protected var _direction:uint;// = 0 protected var _duration:Number;// = 2 protected var _easing:Function; protected var _progress:Number; protected var _innerBounds:Rectangle; protected var _outerBounds:Rectangle; protected var _width:Number;// = NAN protected var _height:Number;// = NAN protected var _twn:Tween; public static const IN:uint = 0; public static const OUT:uint = 1; public function Transition(_arg1:MovieClip, _arg2:Object, _arg3:TransitionManager){ this.content = _arg1; this.direction = _arg2.direction; this.duration = _arg2.duration; this.easing = _arg2.easing; this.manager = _arg3; this._innerBounds = this.manager._innerBounds; this._outerBounds = this.manager._outerBounds; this._width = this.manager._width; this._height = this.manager._height; this._resetTween(); } public function get type():Class{ return (Transition); } public function set manager(_arg1:TransitionManager):void{ if (this._manager){ this.removeEventListener("transitionInDone", this._manager.transitionInDone); this.removeEventListener("transitionOutDone", this._manager.transitionOutDone); }; this._manager = _arg1; this.addEventListener("transitionInDone", this._manager.transitionInDone); this.addEventListener("transitionOutDone", this._manager.transitionOutDone); } public function get manager():TransitionManager{ return (this._manager); } public function set content(_arg1:MovieClip):void{ if (_arg1){ this._content = _arg1; if (this._twn){ this._twn.obj = _arg1; }; }; } public function get content():MovieClip{ return (this._content); } public function get direction():Number{ return (this._direction); } public function set direction(_arg1:Number):void{ this._direction = (_arg1) ? 1 : 0; } public function get duration():Number{ return (this._duration); } public function set duration(_arg1:Number):void{ if (_arg1){ this._duration = _arg1; if (this._twn){ this._twn.duration = _arg1; }; }; } public function get easing():Function{ return (this._easing); } public function set easing(_arg1:Function):void{ this._easing = _arg1; if (this._twn){ this._twn.func = _arg1; }; } public function set progress(_arg1:Number):void{ if (this._progress == _arg1){ return; }; this._progress = _arg1; if (this._direction){ this._render((1 - _arg1)); } else { this._render(_arg1); }; this.dispatchEvent(new Event("transitionProgress")); } public function get progress():Number{ return (this._progress); } public function start():void{ this.content.visible = true; this._twn.start(); } public function stop():void{ this._twn.fforward(); this._twn.stop(); } public function cleanUp():void{ this.removeEventListener("transitionInDone", this._manager.transitionInDone); this.removeEventListener("transitionOutDone", this._manager.transitionOutDone); this.stop(); } public function drawBox(_arg1:MovieClip, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):void{ _arg1.graphics.moveTo(_arg2, _arg3); _arg1.graphics.lineTo((_arg2 + _arg4), _arg3); _arg1.graphics.lineTo((_arg2 + _arg4), (_arg3 + _arg5)); _arg1.graphics.lineTo(_arg2, (_arg3 + _arg5)); _arg1.graphics.lineTo(_arg2, _arg3); } public function drawCircle(_arg1:MovieClip, _arg2:Number, _arg3:Number, _arg4:Number):void{ _arg1.graphics.moveTo((_arg2 + _arg4), _arg3); _arg1.graphics.curveTo((_arg4 + _arg2), ((Math.tan((Math.PI / 8)) * _arg4) + _arg3), ((Math.sin((Math.PI / 4)) * _arg4) + _arg2), ((Math.sin((Math.PI / 4)) * _arg4) + _arg3)); _arg1.graphics.curveTo(((Math.tan((Math.PI / 8)) * _arg4) + _arg2), (_arg4 + _arg3), _arg2, (_arg4 + _arg3)); _arg1.graphics.curveTo(((-(Math.tan((Math.PI / 8))) * _arg4) + _arg2), (_arg4 + _arg3), ((-(Math.sin((Math.PI / 4))) * _arg4) + _arg2), ((Math.sin((Math.PI / 4)) * _arg4) + _arg3)); _arg1.graphics.curveTo((-(_arg4) + _arg2), ((Math.tan((Math.PI / 8)) * _arg4) + _arg3), (-(_arg4) + _arg2), _arg3); _arg1.graphics.curveTo((-(_arg4) + _arg2), ((-(Math.tan((Math.PI / 8))) * _arg4) + _arg3), ((-(Math.sin((Math.PI / 4))) * _arg4) + _arg2), ((-(Math.sin((Math.PI / 4))) * _arg4) + _arg3)); _arg1.graphics.curveTo(((-(Math.tan((Math.PI / 8))) * _arg4) + _arg2), (-(_arg4) + _arg3), _arg2, (-(_arg4) + _arg3)); _arg1.graphics.curveTo(((Math.tan((Math.PI / 8)) * _arg4) + _arg2), (-(_arg4) + _arg3), ((Math.sin((Math.PI / 4)) * _arg4) + _arg2), ((-(Math.sin((Math.PI / 4))) * _arg4) + _arg3)); _arg1.graphics.curveTo((_arg4 + _arg2), ((-(Math.tan((Math.PI / 8))) * _arg4) + _arg3), (_arg4 + _arg2), _arg3); } protected function _render(_arg1:Number):void{ } private function _resetTween():void{ if (this._twn){ this._twn.stop(); this._twn.removeEventListener(TweenEvent.MOTION_FINISH, this.onMotionFinished); }; this._twn = new Tween(this, "", this.easing, 0, 1, this.duration, true); this._twn.stop(); this._twn.prop = "progress"; this._twn.addEventListener(TweenEvent.MOTION_FINISH, this.onMotionFinished, false, 0, true); } private function _noEase(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return ((((_arg3 * _arg1) / _arg4) + _arg2)); } public function onMotionFinished(_arg1:Object):void{ if (this.direction == Transition.OUT){ this.dispatchEvent(new Event("transitionOutDone")); } else { this.dispatchEvent(new Event("transitionInDone")); }; } } }//package fl.transitions
Section 4
//TransitionManager (fl.transitions.TransitionManager) package fl.transitions { import flash.display.*; import flash.events.*; import flash.geom.*; public class TransitionManager extends EventDispatcher { public var type:Object; public var className:String;// = "TransitionManager" private var _content:MovieClip; private var _transitions:Object; public var _innerBounds:Rectangle; public var _outerBounds:Rectangle; public var _width:Number;// = NAN public var _height:Number;// = NAN private var _contentAppearance:Object; private var _visualPropList:Object; private var _triggerEvent:String; private static var IDCount:int = 0; public function TransitionManager(_arg1:MovieClip){ this.type = TransitionManager; this._visualPropList = {x:null, y:null, scaleX:null, scaleY:null, alpha:null, rotation:null}; super(); this.content = _arg1; this._transitions = {}; } public function get content():MovieClip{ return (this._content); } public function set content(_arg1:MovieClip):void{ this._content = _arg1; this.saveContentAppearance(); } public function get transitionsList():Object{ return (this._transitions); } public function get numTransitions():Number{ var _local2:Transition; var _local1:Number = 0; for each (_local2 in this._transitions) { _local1++; }; return (_local1); } public function get numInTransitions():Number{ var _local3:Transition; var _local1:Number = 0; var _local2:Object = this._transitions; for each (_local3 in _local2) { if (!_local3.direction){ _local1++; }; }; return (_local1); } public function get numOutTransitions():Number{ var _local3:Transition; var _local1:Number = 0; var _local2:Object = this._transitions; for each (_local3 in _local2) { if (_local3.direction){ _local1++; }; }; return (_local1); } public function get contentAppearance():Object{ return (this._contentAppearance); } public function startTransition(_arg1:Object):Transition{ this.removeTransition(this.findTransition(_arg1)); var _local2:Class = _arg1.type; var _local3:Transition = new _local2(this._content, _arg1, this); this.addTransition(_local3); _local3.start(); return (_local3); } public function addTransition(_arg1:Transition):Transition{ _arg1.ID = ++TransitionManager.IDCount; this._transitions[_arg1.ID] = _arg1; return (_arg1); } public function removeTransition(_arg1:Transition):Boolean{ if (((((!(_arg1)) || (!(this._transitions)))) || (!(this._transitions[_arg1.ID])))){ return (false); }; _arg1.cleanUp(); return (delete this._transitions[_arg1.ID]); } public function findTransition(_arg1:Object):Transition{ var _local2:Transition; for each (_local2 in this._transitions) { if (_local2.type == _arg1.type){ return (_local2); }; }; return (null); } public function removeAllTransitions():void{ var _local1:Transition; for each (_local1 in this._transitions) { _local1.cleanUp(); this.removeTransition(_local1); }; } public function saveContentAppearance():void{ var _local2:Object; var _local3:String; var _local1:MovieClip = this._content; if (!this._contentAppearance){ _local2 = (this._contentAppearance = {}); for (_local3 in this._visualPropList) { _local2[_local3] = _local1[_local3]; }; _local2.colorTransform = _local1.transform.colorTransform; }; this._innerBounds = _local1.getBounds(_local1); this._outerBounds = _local1.getBounds(_local1.parent); this._width = _local1.width; this._height = _local1.height; } public function restoreContentAppearance():void{ var _local3:String; var _local1:MovieClip = this._content; var _local2:Object = this._contentAppearance; for (_local3 in this._visualPropList) { _local1[_local3] = _local2[_local3]; }; _local1.transform.colorTransform = _local2.colorTransform; } function transitionInDone(_arg1:Object):void{ var _local2:Boolean; this.removeTransition(_arg1.target); if (this.numInTransitions == 0){ _local2 = this._content.visible; if ((((this._triggerEvent == "hide")) || ((this._triggerEvent == "hideChild")))){ this._content.visible = false; }; if (_local2){ this.dispatchEvent(new Event("allTransitionsInDone")); }; }; } function transitionOutDone(_arg1:Object):void{ var _local2:Boolean; this.removeTransition(_arg1.target); if (this.numOutTransitions == 0){ this.restoreContentAppearance(); _local2 = this._content.visible; if (((_local2) && ((((this._triggerEvent == "hide")) || ((this._triggerEvent == "hideChild")))))){ this._content.visible = false; }; if (_local2){ this.dispatchEvent(new Event("allTransitionsOutDone")); }; }; } public static function start(_arg1:MovieClip, _arg2:Object):Transition{ if (!_arg1.__transitionManager){ _arg1.__transitionManager = new TransitionManager(_arg1); }; if (_arg2.direction == 1){ _arg1.__transitionManager._triggerEvent = "hide"; } else { _arg1.__transitionManager._triggerEvent = "reveal"; }; return (_arg1.__transitionManager.startTransition(_arg2)); } } }//package fl.transitions
Section 5
//Tween (fl.transitions.Tween) package fl.transitions { import flash.display.*; import flash.events.*; import flash.utils.*; public class Tween extends EventDispatcher { public var isPlaying:Boolean;// = false public var obj:Object;// = null public var prop:String;// = "" public var func:Function; public var begin:Number;// = NAN public var change:Number;// = NAN public var useSeconds:Boolean;// = false public var prevTime:Number;// = NAN public var prevPos:Number;// = NAN public var looping:Boolean;// = false private var _duration:Number;// = NAN private var _time:Number;// = NAN private var _fps:Number;// = NAN private var _position:Number;// = NAN private var _startTime:Number;// = NAN private var _intervalID:uint;// = 0 private var _finish:Number;// = NAN private var _timer:Timer;// = null protected static var _mc:MovieClip = new MovieClip(); public function Tween(_arg1:Object, _arg2:String, _arg3:Function, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Boolean=false){ this.func = function (_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return ((((_arg3 * _arg1) / _arg4) + _arg2)); }; super(); if (!arguments.length){ return; }; this.obj = _arg1; this.prop = _arg2; this.begin = _arg4; this.position = _arg4; this.duration = _arg6; this.useSeconds = _arg7; if ((_arg3 is Function)){ this.func = _arg3; }; this.finish = _arg5; this._timer = new Timer(100); this.start(); } public function get time():Number{ return (this._time); } public function set time(_arg1:Number):void{ this.prevTime = this._time; if (_arg1 > this.duration){ if (this.looping){ this.rewind((_arg1 - this._duration)); this.update(); this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_LOOP, this._time, this._position)); } else { if (this.useSeconds){ this._time = this._duration; this.update(); }; this.stop(); this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_FINISH, this._time, this._position)); }; } else { if (_arg1 < 0){ this.rewind(); this.update(); } else { this._time = _arg1; this.update(); }; }; } public function get duration():Number{ return (this._duration); } public function set duration(_arg1:Number):void{ this._duration = ((_arg1)<=0) ? Infinity : _arg1; } public function get FPS():Number{ return (this._fps); } public function set FPS(_arg1:Number):void{ var _local2:Boolean = this.isPlaying; this.stopEnterFrame(); this._fps = _arg1; if (_local2){ this.startEnterFrame(); }; } public function get position():Number{ return (this.getPosition(this._time)); } public function set position(_arg1:Number):void{ this.setPosition(_arg1); } public function getPosition(_arg1:Number=NaN):Number{ if (isNaN(_arg1)){ _arg1 = this._time; }; return (this.func(_arg1, this.begin, this.change, this._duration)); } public function setPosition(_arg1:Number):void{ this.prevPos = this._position; if (this.prop.length){ this.obj[this.prop] = (this._position = _arg1); }; this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_CHANGE, this._time, this._position)); } public function get finish():Number{ return ((this.begin + this.change)); } public function set finish(_arg1:Number):void{ this.change = (_arg1 - this.begin); } public function continueTo(_arg1:Number, _arg2:Number):void{ this.begin = this.position; this.finish = _arg1; if (!isNaN(_arg2)){ this.duration = _arg2; }; this.start(); } public function yoyo():void{ this.continueTo(this.begin, this.time); } protected function startEnterFrame():void{ var _local1:Number; if (isNaN(this._fps)){ _mc.addEventListener(Event.ENTER_FRAME, this.onEnterFrame, false, 0, true); } else { _local1 = (1000 / this._fps); this._timer.delay = _local1; this._timer.addEventListener(TimerEvent.TIMER, this.timerHandler, false, 0, true); this._timer.start(); }; this.isPlaying = true; } protected function stopEnterFrame():void{ if (isNaN(this._fps)){ _mc.removeEventListener(Event.ENTER_FRAME, this.onEnterFrame); } else { this._timer.stop(); }; this.isPlaying = false; } public function start():void{ this.rewind(); this.startEnterFrame(); this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_START, this._time, this._position)); } public function stop():void{ this.stopEnterFrame(); this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_STOP, this._time, this._position)); } public function resume():void{ this.fixTime(); this.startEnterFrame(); this.dispatchEvent(new TweenEvent(TweenEvent.MOTION_RESUME, this._time, this._position)); } public function rewind(_arg1:Number=0):void{ this._time = _arg1; this.fixTime(); this.update(); } public function fforward():void{ this.time = this._duration; this.fixTime(); } public function nextFrame():void{ if (this.useSeconds){ this.time = ((getTimer() - this._startTime) / 1000); } else { this.time = (this._time + 1); }; } protected function onEnterFrame(_arg1:Event):void{ this.nextFrame(); } protected function timerHandler(_arg1:TimerEvent):void{ this.nextFrame(); _arg1.updateAfterEvent(); } public function prevFrame():void{ if (!this.useSeconds){ this.time = (this._time - 1); }; } private function fixTime():void{ if (this.useSeconds){ this._startTime = (getTimer() - (this._time * 1000)); }; } private function update():void{ this.setPosition(this.getPosition(this._time)); } } }//package fl.transitions
Section 6
//TweenEvent (fl.transitions.TweenEvent) package fl.transitions { import flash.events.*; public class TweenEvent extends Event { public var time:Number;// = NAN public var position:Number;// = NAN public static const MOTION_START:String = "motionStart"; public static const MOTION_STOP:String = "motionStop"; public static const MOTION_FINISH:String = "motionFinish"; public static const MOTION_CHANGE:String = "motionChange"; public static const MOTION_RESUME:String = "motionResume"; public static const MOTION_LOOP:String = "motionLoop"; public function TweenEvent(_arg1:String, _arg2:Number, _arg3:Number, _arg4:Boolean=false, _arg5:Boolean=false){ super(_arg1, _arg4, _arg5); this.time = _arg2; this.position = _arg3; } override public function clone():Event{ return (new TweenEvent(this.type, this.time, this.position, this.bubbles, this.cancelable)); } } }//package fl.transitions
Section 7
//assetHOLDER_10 (insanityGAMESHED_fla.assetHOLDER_10) package insanityGAMESHED_fla { import flash.display.*; public dynamic class assetHOLDER_10 extends MovieClip { public function assetHOLDER_10(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package insanityGAMESHED_fla
Section 8
//ENDING1EYE_280 (insanityGAMESHED_fla.ENDING1EYE_280) package insanityGAMESHED_fla { import flash.display.*; public dynamic class ENDING1EYE_280 extends MovieClip { public function ENDING1EYE_280(){ addFrameScript(74, frame75); } function frame75(){ stop(); } } }//package insanityGAMESHED_fla
Section 9
//gameSHED_17 (insanityGAMESHED_fla.gameSHED_17) package insanityGAMESHED_fla { import flash.display.*; public dynamic class gameSHED_17 extends MovieClip { public var tempRoot:MovieClip; public function gameSHED_17(){ addFrameScript(245, frame246); } function frame246(){ stop(); tempRoot = (stage.getChildAt(0) as MovieClip); tempRoot.nextFrame(); } } }//package insanityGAMESHED_fla
Section 10
//mainMenuMC_21 (insanityGAMESHED_fla.mainMenuMC_21) package insanityGAMESHED_fla { import flash.events.*; import flash.display.*; import flash.net.*; import flash.media.*; public dynamic class mainMenuMC_21 extends MovieClip { public var urlButton2:SimpleButton; public var mihaiButton:SimpleButton; public var sponsorButton:SimpleButton; public var walkButton:SimpleButton; public var pimp:MovieClip; public var startButton:SimpleButton; public var vinzerButton:SimpleButton; public var b:MovieClip; public var mainroot:MovieClip; public function mainMenuMC_21(){ addFrameScript(0, frame1, 198, frame199); } public function gotoBlog(_arg1:MouseEvent):void{ trace("ME"); var _local2:URLRequest = new URLRequest("http://ydjapan.blogspot.com/"); navigateToURL(_local2, "_blank"); } public function gotoBlog1(_arg1:MouseEvent):void{ trace("MIHAI"); var _local2:URLRequest = new URLRequest("http://sorohanro.newgrounds.com/"); navigateToURL(_local2); } public function gotoBlog3(_arg1:MouseEvent):void{ trace("VINZER"); var _local2:URLRequest = new URLRequest("http://www.youtube.com/user/Vinzer"); navigateToURL(_local2); } public function gotoBlog4(_arg1:MouseEvent):void{ trace("WALK"); var _local2:URLRequest = new URLRequest("http://www.gameshed.com/The-Insanity-2/walkthrough.html"); navigateToURL(_local2); } public function gotoBlog5(_arg1:MouseEvent):void{ trace("SPONSOR"); var _local2:URLRequest = new URLRequest("http://www.gameshed.com/Scary-Games/?utm_source=sponsorship&utm_medium=branded_game&utm_term=insanity2&utm_campaign=insanity2_game"); navigateToURL(_local2); } public function Start_To(_arg1:Event){ trace("START"); var _local2:DisplayObject = DisplayObject(_arg1.target); startButton.removeEventListener(MouseEvent.CLICK, Start_To); MovieClip(root).gotoAndStop("beginGame"); if (_local2.parent){ _local2.parent.removeChild(_local2); }; _local2 = null; SoundMixer.stopAll(); } function frame1(){ urlButton2.addEventListener(MouseEvent.CLICK, gotoBlog, false, 0, true); mihaiButton.addEventListener(MouseEvent.CLICK, gotoBlog1, false, 0, true); vinzerButton.addEventListener(MouseEvent.CLICK, gotoBlog3, false, 0, true); walkButton.addEventListener(MouseEvent.CLICK, gotoBlog4, false, 0, true); sponsorButton.addEventListener(MouseEvent.CLICK, gotoBlog5, false, 0, true); pimp.mouseEnabled = false; b.mouseEnabled = false; mainroot = (stage.getChildAt(0) as MovieClip); startButton.addEventListener(MouseEvent.CLICK, Start_To, false, 0, true); } function frame199(){ stop(); } } }//package insanityGAMESHED_fla
Section 11
//MainTimeline (insanityGAMESHED_fla.MainTimeline) package insanityGAMESHED_fla { import flash.display.*; import flash.events.*; import fl.motion.*; import flash.geom.*; import fl.transitions.*; import flash.text.*; import flash.utils.*; import flash.media.*; import CPMStar.*; import flash.filters.*; import flash.system.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.ui.*; import flash.xml.*; import fl.transitions.easing.*; public dynamic class MainTimeline extends MovieClip { public var adBox:MovieClip; public var rotatingOrb:MovieClip; public var preloaderMC:MovieClip; public var pButton:SimpleButton; public var CPMStarContentSpotID:String; public var ad:DisplayObject; public var myTextA1; public var myTextA1B; public var myTextA1C; public var myTextA2; public var myTextA2B; public var myTextA3; public var myTextA3B; public var myTextA4:String; public var myTextA5:String; public var myTextA6:String; public var myTextA7:String; public var myTextA8:String; public var YOU:String; public var UKNOWN:String; public var myTextDIALOGUE1:String; public var NPC:String; public var myTextDIALOGUE2:String; public var NPC2:String; public var myTextDIALOGUE3:String; public var FRIENDLY:String; public var myTextDIALOGUE4:String; public var TAKAKI:String; public var myTextDIALOGUE5:String; public var MIKE:String; public var EarthQuake_Array:Array; public var tMgr:TransitionManager; public var arrListeners:Array; public var dead:Boolean; public var completeNoDeath:Boolean; public var RESTART:Boolean; public var startColor:ColorTransform; public var endColor:ColorTransform; public var clip:MovieClip; public var tween:Tween; public var ITEM:Boolean; public var ITEM_IN_USE:MovieClip; public var FADE_MODE:Boolean; public var CURRENT_OBJECT:String; public var m_held:Boolean; public var mouse_clicked:Boolean; public var STAGE_WIDTH:int; public var STAGE_HEIGHT:int; public var STAGE_CENTERX:int; public var STAGE_CENTERY:int; public var HAMMER:Number; public var CHIMERA_MODE:Number; public var CHIMERA_COUNT:Number; public var retry_hit:Boolean; public var itemsInInventory:Array; public var itemBox:Number; public var inventorySprite:Sprite; public var PASSCODE:String; public var roomTag:Number; public var Rooms:Array; public var obArray:Array; public var attacking:Boolean; public var shout:Object; public var Bfilt:BlurFilter; public var antiGC:Dictionary; public var _arial_str:String; public var _arial_fmt:TextFormat; public var _text_txt:TextField; public var TEXT_X:Number; public var TEXT_Y:Number; public var LEFT:Number; public var STAND:Number; public var RIGHT:Number; public var my_shadow:DropShadowFilter; public var filtersArray:Array; public var font:Trebuchet_14pt_Bold; public var format:TextFormat; public var font2:Calibri_11pt_Bold; public var format2:TextFormat; public var font3:Calibri_12pt_Italic; public var format3:TextFormat; public var display_txt:TextField; public var masterAUDIO:Sound; public var channel:SoundChannel; public var masterAUDIO2:Sound; public var channel2:SoundChannel; public var masterAUDIO3:Sound; public var channel3:SoundChannel; public function MainTimeline(){ addFrameScript(0, frame1, 2, frame3, 3, frame4, 4, frame5); } public function update(_arg1:ProgressEvent):void{ var _local2:Number = Math.floor(((_arg1.bytesLoaded * 100) / _arg1.bytesTotal)); if ((preloaderMC is MovieClip)){ preloaderMC.gotoAndStop(_local2); }; if (_local2 == 100){ pButton.visible = true; preloaderMC.visible = false; rotatingOrb.visible = false; pButton.addEventListener(MouseEvent.CLICK, onMouseClickEvent, false, 0, true); }; } public function onMouseClickEvent(_arg1:MouseEvent):void{ removeMovie(adBox); gotoAndStop(3, "Scene 1"); removeEventListener(MouseEvent.CLICK, onMouseClickEvent); } public function borderTEXT(_arg1:Event):void{ if (Rooms[roomTag].borderImage.currentLabel == "start"){ Rooms[roomTag].borderImage.stop(); if ((Rooms[roomTag].count = (Rooms[roomTag].count + 1.5)) < Rooms[roomTag].borderSTRING.length){ display_txt.htmlText = Rooms[roomTag].borderSTRING.substring(0, Rooms[roomTag].count); }; display_txt.filters = []; display_txt.setTextFormat(format3); display_txt.x = 10; display_txt.y = 320; stage.addChildAt(display_txt, stage.numChildren); }; if (Rooms[roomTag].go){ Rooms[roomTag].borderImage.nextFrame(); if (Rooms[roomTag].borderImage.currentFrame == Rooms[roomTag].borderImage.totalFrames){ removeMovie(Rooms[roomTag].borderImage); display_txt.x = TEXT_X; display_txt.y = TEXT_Y; Rooms[roomTag].imageB.filters = []; display_txt.filters = filtersArray; display_txt.setTextFormat(format); stage.removeEventListener(Event.ENTER_FRAME, borderTEXT); }; }; } public function Pop_Up(_arg1:String):void{ var _local4:*; var _local2:Class = (getDefinitionByName(_arg1) as Class); var _local3:MovieClip = new (_local2); stage.addChild(_local3); Rooms[roomTag].imageB.buttonMode = false; Rooms[roomTag].imageB.useHandCursor = false; for (_local4 in Rooms[roomTag].deleteArray) { Rooms[roomTag].deleteArray[_local4].filters = [Bfilt]; }; Rooms[roomTag].deleteArray.push(_local3); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents); _local3.exit.addEventListener(MouseEvent.CLICK, returnEvents, false, 0, true); } public function Pop_Up_Paper(_arg1:String, _arg2):void{ var _local5:*; var _local3:Class = (getDefinitionByName(_arg1) as Class); var _local4:MovieClip = new (_local3); stage.addChild(_local4); _local4.textFILL.htmlText = _arg2; Rooms[roomTag].imageB.buttonMode = false; Rooms[roomTag].imageB.useHandCursor = false; for (_local5 in Rooms[roomTag].deleteArray) { Rooms[roomTag].deleteArray[_local5].filters = [Bfilt]; }; Rooms[roomTag].deleteArray.push(_local4); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents); _local4.exit.addEventListener(MouseEvent.CLICK, returnEvents, false, 0, true); } public function returnEvents(_arg1:Event):void{ var _local3:*; var _local2:SimpleButton = SimpleButton(_arg1.target); for (_local3 in Rooms[roomTag].deleteArray) { Rooms[roomTag].deleteArray[_local3].filters = []; }; removeMovie(_local2.parent); _local2.removeEventListener(MouseEvent.CLICK, returnEvents); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); } public function returnEvents2(_arg1:Event):void{ var _local3:*; var _local4:Sound; var _local5:SoundChannel; var _local2:SimpleButton = SimpleButton(_arg1.target); for (_local3 in Rooms[roomTag].deleteArray) { Rooms[roomTag].deleteArray[_local3].filters = []; }; Rooms[roomTag].go = true; _local2.removeEventListener(MouseEvent.CLICK, returnEvents2); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (roomTag == 37){ _local4 = new elevator_wav(); _local5 = _local4.play(0, 99); Rooms[roomTag].audio = _local5; }; } public function exitShoutBox(_arg1:Event):void{ var _local2:SimpleButton = SimpleButton(_arg1.target); _arg1.target.removeEventListener(MouseEvent.MOUSE_DOWN, exitShoutBox); Rooms[roomTag].back.visible = true; Go_To(Rooms[roomTag].targetRoom, 2, 0); } public function Go_To(_arg1:Number, _arg2:Number, _arg3:Number){ mouse_clicked = false; stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents); Rooms[roomTag].imageB.buttonMode = false; Rooms[roomTag].imageB.useHandCursor = false; var _local4:MovieClip = new MovieClip(); var _local5:ColorTransform = new ColorTransform(); _local5.color = 0; _local4.transform.colorTransform = _local5; var _local6:Shape = new Shape(); _local6.graphics.beginFill(0); _local6.graphics.drawRect(0, 0, 550, 400); _local6.graphics.endFill(); _local4.addChild(_local6); _local4.name = "transition"; _local4.mouseEnabled = false; _local4.mouseChildren = false; _local4.alpha = 0; _local4.timer = (_arg2 / 100); stage.addChild(_local4); _local4.addEventListener(Event.ENTER_FRAME, FadeIn, false, 0, true); Rooms[roomTag].newTag = _arg1; } public function FadeIn(_arg1:Event):void{ var _local3:*; if (Rooms[roomTag].timer-- <= 0){ if (stage.getChildByName("global_text")){ removeMovie(stage.getChildByName("global_text")); }; }; var _local2:MovieClip = MovieClip(_arg1.target); if ((_local2.alpha = (_local2.alpha + _local2.timer)) >= 1){ for (_local3 in Rooms[roomTag].deleteArray) { removeMovie(Rooms[roomTag].deleteArray[_local3]); }; _local2.removeEventListener(Event.ENTER_FRAME, FadeIn); roomTag = Rooms[roomTag].newTag; stage.addEventListener(Event.ENTER_FRAME, main, false, 0, true); _local2.addEventListener(Event.ENTER_FRAME, FadeOut, false, 0, true); }; } public function FadeOut(_arg1:Event):void{ var _local2:MovieClip = MovieClip(_arg1.target); if ((_local2.alpha = (_local2.alpha - _local2.timer)) < 0){ _local2.removeEventListener(Event.ENTER_FRAME, FadeOut); removeMovie(_local2); }; } public function ColourPulse(_arg1:Event):void{ var _local2:MovieClip = MovieClip(_arg1.target); var _local3:int = getTimer(); var _local4:Number = 0.5; if ((_local3 - _local2.timeTemp.now) > _local2.timeTemp.timer){ _local4 = -(_local4); }; _local2.timeTemp.alpha_ = (_local2.timeTemp.alpha_ + _local4); Tint(_local2, _local2.timeTemp.tint, _local2.timeTemp.alpha_); if (_local2.timeTemp.alpha_ <= 0){ Tint(_local2, 0xFF0000, 0.5); _local2.removeEventListener(Event.ENTER_FRAME, ColourPulse); _local2.hex = 0; _local2.alphaV = 0; _local2.addEventListener(Event.ENTER_FRAME, fadeColor, false, 0, true); }; } public function fadeColor(_arg1:Event):void{ var _local2:MovieClip = MovieClip(_arg1.target); _local2.alphaV = (_local2.alphaV + 0.01); Tint(_local2, _local2.hex, _local2.alphaV); if (retry_hit){ Tint(_local2, 0, 0); _local2.removeEventListener(Event.ENTER_FRAME, fadeColor); }; if (_local2.alphaV >= 0.8){ Tint(_local2, 0, 0); removeMovie(_local2); _local2.removeEventListener(Event.ENTER_FRAME, fadeColor); }; } public function Retry():void{ var _local2:*; var _local3:*; var _local5:MovieClip; completeNoDeath = false; var _local1:Sound = new diesweep_wav(); _local1.play(); mouse_clicked = false; stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents); Text(""); for (_local2 in Rooms[roomTag].deleteArray) { Rooms[roomTag].deleteArray[_local2].timeTemp = {tint:13591625, timer:800, alpha_:0, now:getTimer()}; Rooms[roomTag].deleteArray[_local2].addEventListener(Event.ENTER_FRAME, ColourPulse, false, 0, true); }; _local3 = 0; while (_local3 <= 20) { _local5 = new blood_mc(); _local5.x = randRange(0, 550); _local5.y = randRange(0, 400); _local5.name = "dontdelete"; _local5.scaleX = (_local5.scaleY = (randRange(0, 100) / 100)); _local5.alpha = (randRange(1, 100) / 100); stage.addChild(_local5); Rooms[roomTag].deleteArray.push(_local5); _local3++; }; var _local4:Timer = new Timer(5000, 1); _local4.start(); _local4.addEventListener(TimerEvent.TIMER, tryAgain); } public function tryAgain(_arg1:TimerEvent):void{ Mouse.show(); var _local2:MovieClip = new retry_mc(); _local2.name = "dontdelete"; stage.addChild(_local2); Rooms[roomTag].deleteArray.push(_local2); _local2.buttonMode = true; _local2.useHandCursor = true; _local2.addEventListener(MouseEvent.CLICK, fuckOff, false, 0, true); _arg1.target.removeEventListener(TimerEvent, tryAgain); } public function fuckOff(_arg1:MouseEvent){ retry_hit = true; _arg1.target.visible = false; Go_To(roomTag, 7, 0); _arg1.target.removeEventListener(MouseEvent.CLICK, fuckOff); } public function removeMovie(_arg1:DisplayObject){ if (_arg1.parent){ _arg1.parent.removeChild(_arg1); }; _arg1 = null; } public function randRange(_arg1:Number, _arg2:Number):Number{ return (Math.floor((_arg1 + (Math.random() * (_arg2 - _arg1))))); } public function Tint(_arg1:MovieClip, _arg2:Number, _arg3:Number):void{ var _local4:Color = new Color(); _local4.setTint(_arg2, _arg3); _arg1.transform.colorTransform = _local4; } public function Fizzle(_arg1:Array, _arg2:Number):void{ var _local3:*; Rooms[roomTag].fizzle = _arg2; for (_local3 in _arg1) { _arg1[_local3].addEventListener(Event.ENTER_FRAME, Fizzle4, false, 0, true); }; } public function Fizzle3(_arg1:Array, _arg2:Number):void{ var _local3:MovieClip = new MovieClip(); var _local4:ColorTransform = new ColorTransform(); _local4.color = _arg2; _local3.transform.colorTransform = _local4; var _local5:Shape = new Shape(); _local5.graphics.beginFill(_arg2); _local5.graphics.drawRect(0, 0, 550, 400); _local5.graphics.endFill(); _local3.addChild(_local5); _local3.mouseEnabled = false; _local3.mouseChildren = false; _local3.alpha = 0; stage.addChild(_local3); Rooms[roomTag].deleteArray.push(_local3); Rooms[roomTag].fizzle = _arg2; _local3.addEventListener(Event.ENTER_FRAME, Fizzle2, false, 0, true); } public function Fizzle2(_arg1:Event):void{ var _local2:MovieClip = MovieClip(_arg1.target); var _local3:Number = randRange(0, 10); _local2.alpha = (_local3 / 100); if (!_local2.parent){ _local2.removeEventListener(Event.ENTER_FRAME, Fizzle2); }; } public function Fizzle4(_arg1:Event):void{ var _local2:MovieClip = MovieClip(_arg1.target); var _local3:Number = randRange(0, 10); Tint(_local2, Rooms[roomTag].fizzle, (_local3 / 100)); if (!_local2.parent){ _local2.removeEventListener(Event.ENTER_FRAME, Fizzle4); }; } public function Quick(_arg1:Boolean){ if (!_arg1){ Rooms[roomTag].mouseSet = false; Rooms[roomTag].imageB.buttonMode = false; Rooms[roomTag].imageB.useHandCursor = false; if (stage.getChildByName("global_text")){ removeMovie(stage.getChildByName("global_text")); }; }; } public function doDrawRect(_arg1:Rectangle):void{ var _local2:Shape = new Shape(); _local2.graphics.beginFill(0x666666); _local2.graphics.lineStyle(1, 0xFFCC00); _local2.graphics.drawRect(_arg1.x, _arg1.y, _arg1.width, _arg1.height); _local2.graphics.endFill(); _local2.alpha = 0.5; stage.addChild(_local2); stage.setChildIndex(_local2, (stage.numChildren - 1)); } public function Text(_arg1:String):void{ display_txt.text = _arg1; display_txt.setTextFormat(format); stage.addChildAt(display_txt, stage.numChildren); } public function specialText(_arg1:String, _arg2, _arg3, _arg4:Rectangle):void{ Rooms[roomTag].sText = true; var _local5:Boolean = _arg4.contains(stage.mouseX, stage.mouseY); display_txt.htmlText = _arg1; display_txt.filters = []; display_txt.setTextFormat(format2); display_txt.x = 10; display_txt.y = 10; stage.addChildAt(display_txt, stage.numChildren); Rooms[roomTag].imageB.filters = [Bfilt]; } public function useItem(_arg1:Event){ var _local2:MovieClip = MovieClip(_arg1.currentTarget); if (_local2.name == "AIR RIFLE"){ if ((((roomTag == 26)) && (!(Rooms[roomTag].specterDEAD)))){ if (Rooms[roomTag].useRIFLE){ return; }; if (Rooms[roomTag].torchON){ return; }; Rooms[roomTag].useRIFLE = true; Tint(_local2, 0xFFFFFF, 0.5); return; }; if ((((roomTag == 39)) && (!(Rooms[roomTag].chimeraDEAD)))){ if (Rooms[roomTag].useRIFLE){ return; }; Rooms[roomTag].useRIFLE = true; Tint(_local2, 0xFFFFFF, 0.5); return; }; }; if (_local2.name == "FLASHLIGHT"){ if (roomTag == 23){ if (Rooms[roomTag].fuse){ return; }; if (Rooms[roomTag].torchON){ return; }; Rooms[roomTag].torchON = true; Tint(_local2, 0xFFFFFF, 0.5); return; }; if (roomTag == 32){ if (Rooms[roomTag].torchON){ return; }; Rooms[roomTag].torchON = true; Tint(_local2, 0xFFFFFF, 0.5); return; }; }; if ((((_local2.y < 45)) && (_local2.inUse))){ _local2.inUse = false; ITEM = false; ITEM_IN_USE = null; if (_local2.inUse){ _local2.inUse = false; }; _local2.x = _local2.setX; _local2.y = _local2.setY; _local2.stopDrag(); Mouse.show(); removeMovie(_local2.d_click); return; }; if (ITEM_IN_USE){ return; }; _local2.inUse = true; ITEM = true; ITEM_IN_USE = _local2; _local2.startDrag(); Mouse.hide(); var _local3:MovieClip = new d_click_mc(); _local2.d_click = _local3; stage.addChild(_local2.d_click); Rooms[roomTag].deleteArray.push(_local2.d_click); } public function fadeFromWhite(_arg1:Event):void{ var _local2:MovieClip = MovieClip(_arg1.currentTarget); Tint(_local2, 0xFFFFFF, (_local2.wvalue / 100)); if ((_local2.wvalue = (_local2.wvalue - 2)) <= 0){ _local2.removeEventListener(Event.ENTER_FRAME, fadeFromWhite); }; } public function getItem(_arg1:Event):void{ var _local2:Sound = new pickup_wav(); _local2.play(); var _local3:MovieClip = MovieClip(_arg1.currentTarget); var _local4:String = _local3.tag; var _local5:Class = (getDefinitionByName(_local4) as Class); var _local6:MovieClip = new (_local5); itemsInInventory.push(_local6); inventorySprite.addChild(_local6); _local6.wvalue = 100; _local6.addEventListener(Event.ENTER_FRAME, fadeFromWhite); _local6.name = _local3.name; _local6.x = (_local6.setX = ((itemsInInventory.length - 1) * 40)); _local6.y = (_local6.setY = 0); _local6.inUse = false; _local6.doubleClickEnabled = true; _local6.addEventListener(MouseEvent.DOUBLE_CLICK, double_click_Item); _local6.addEventListener(MouseEvent.CLICK, useItem); _local6.buttonMode = true; _local6.useHandCursor = true; _local3.removeEventListener(Event.ENTER_FRAME, getItem); removeMovie(_local3); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function checkInventory(_arg1:String){ var _local2:*; for (_local2 in itemsInInventory) { if (itemsInInventory[_local2].name == _arg1){ return (true); }; }; return (false); } public function double_click_Item(_arg1:Event){ var _local2:MovieClip = MovieClip(_arg1.currentTarget); _local2.inUse = false; ITEM = false; ITEM_IN_USE = null; if (_local2.inUse){ _local2.inUse = false; }; _local2.x = _local2.setX; _local2.y = _local2.setY; _local2.stopDrag(); Mouse.show(); removeMovie(_local2.d_click); } public function return_Item(_arg1:Event){ var _local2:MovieClip = MovieClip(_arg1.currentTarget); _local2.inUse = false; ITEM = false; ITEM_IN_USE = null; if (_local2.inUse){ _local2.inUse = false; }; _local2.x = _local2.setX; _local2.y = _local2.setY; _local2.stopDrag(); Mouse.show(); if (stage.getChildByName("d_click")){ removeMovie(stage.getChildByName("d_click")); }; _local2.removeEventListener(MouseEvent.CLICK, return_Item); } public function returnItem(_arg1:Event){ var _local2:MovieClip = MovieClip(_arg1.currentTarget); _local2.inUse = false; ITEM = false; ITEM_IN_USE = null; if (_local2.inUse){ _local2.inUse = false; }; _local2.x = _local2.setX; _local2.y = _local2.setY; _local2.stopDrag(); Mouse.show(); if (stage.getChildByName("d_click")){ removeMovie(stage.getChildByName("d_click")); }; _local2.removeEventListener(Event.ENTER_FRAME, returnItem); } public function removeICON(_arg1:String){ var _local2:*; var _local3:*; Mouse.show(); for (_local2 in itemsInInventory) { if (itemsInInventory[_local2].name == _arg1){ itemsInInventory[_local2].inUse = false; ITEM = false; ITEM_IN_USE = null; if (itemsInInventory[_local2].d_click){ removeMovie(itemsInInventory[_local2].d_click); }; removeMovie(inventorySprite.getChildByName(itemsInInventory[_local2].name)); itemsInInventory.splice(_local2, 1); }; }; for (_local3 in itemsInInventory) { itemsInInventory[_local3].x = (_local3 * 40); itemsInInventory[_local3].setX = itemsInInventory[_local3].x; }; } public function mouse_down(_arg1:MouseEvent):void{ mouse_clicked = true; } public function mouse_up(_arg1:MouseEvent):void{ mouse_clicked = false; } public function Initialise():void{ var _local2:Object; var _local3:Array; SoundMixer.stopAll(); Bfilt.blurX = 10; Bfilt.blurY = 10; Bfilt.quality = BitmapFilterQuality.LOW; attacking = false; roomTag = 0; inventorySprite.name = "inventory"; inventorySprite.x = 20; inventorySprite.y = 30; stage.addChild(inventorySprite); itemBox = 0; arrListeners = []; dead = false; RESTART = false; ITEM = false; FADE_MODE = false; HAMMER = 1; var _local1:* = 0; while (_local1 < 100) { _local2 = new Object(); _local2.first_time = true; _local3 = new Array(); _local2.deleteArray = _local3; Rooms.push(_local2); _local1++; }; } public function basicScene(_arg1:Number):void{ var _local5:MovieClip; var _local2 = (("house" + roomTag) + "_mc"); var _local3:Class = (getDefinitionByName(_local2) as Class); var _local4:MovieClip = new (_local3); Rooms[roomTag].imageB = _local4; if (_arg1 == 0){ _local5 = new BACK_mc(); _local5.x = 260; _local5.y = 380; Rooms[roomTag].back = _local5; }; Rooms[roomTag].first_time = false; Rooms[roomTag].timer = 0; } public function room0(_arg1:Event):void{ var _local2:Sound = new diesweep_wav(); _local2.play(); if (Rooms[roomTag].first_time){ basicScene(0); }; var _local3:Array = new Array(); var _local4:Rectangle = new Rectangle(245, 360, 30, 30); _local3.push(_local4); Rooms[roomTag].mouseEvents = _local3; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room0EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Boolean; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local3 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local3); if (_local3){ if (_local2 == 0){ if (mouse_clicked){ mouse_clicked = false; Go_To(1, 3, 0); break; } else { Text("BEGIN?"); break; }; }; }; }; } public function room1(_arg1:Event):void{ var _local6:SoundTransform; var _local7:Sound; if (Rooms[roomTag].first_time){ channel = masterAUDIO.play(0, 99); _local6 = new SoundTransform(); _local6.volume = 0.2; channel.soundTransform = _local6; _local7 = new shocker_wav(); _local7.play(); basicScene(0); Rooms[roomTag].seenA = false; }; Rooms[roomTag].count = false; var _local2:Array = new Array(); var _local3:Rectangle = new Rectangle(10, 10, 87, 109); _local2.push(_local3); var _local4:Rectangle = new Rectangle(265, 58, 112, 143); _local2.push(_local4); var _local5:Rectangle = new Rectangle(458, 0, 65, 87); _local2.push(_local5); Rooms[roomTag].mouseEvents = _local2; Rooms[roomTag].sText = false; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].imageB.mush.mouseEnabled = false; Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function noEffect(_arg1:Array, _arg2:Number):void{ if (mouse_clicked){ mouse_clicked = false; Rooms[roomTag].timer = 20; Text("DOES NOTHING"); return; }; CURRENT_OBJECT = _arg1[_arg2]; Text((((("USE " + ITEM_IN_USE.name) + " ON ") + CURRENT_OBJECT) + "?")); } public function room1EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Boolean; var _local4:Array; var _local5:Sound; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local3 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local3); _local4 = new Array("0", "NEWSPAPER CLIP", "SMASHED WINDOW"); if (ITEM){ if (_local3){ if (_local2 == 0){ break; }; noEffect(_local4, _local2); break; }; }; if (_local3){ if (_local2 == 0){ if (mouse_clicked){ mouse_clicked = false; Go_To(2, 7, 0); break; } else { if (Rooms[roomTag].seenA){ Text("Seems like the only way out of this room. Proceed?"); break; } else { Text("Seems like the only way out of this room. That newspaper clip on the wall looks intriguing. Proceed?"); break; }; }; }; if (_local2 == 1){ if (mouse_clicked){ mouse_clicked = false; Pop_Up_Paper("newspaper_mc", myTextA1); _local5 = new pageturn_wav(); _local5.play(); break; } else { Text("Lots of newspaper clippings here. One stands out in particular. Read?"); break; }; }; if (_local2 == 2){ if (!Rooms[17].first_time){ Text("Try as I might I can't reach it!. There must be another exit somewhere.."); break; } else { Text("Nearly broke my neck coming in here this way. It's too high for me to get back up."); break; }; }; }; }; if (Rooms[roomTag].count){ Rooms[roomTag].audio = false; }; } public function room2(_arg1:Event):void{ var _local9:MovieClip; if (Rooms[roomTag].first_time){ basicScene(0); Rooms[roomTag].candleTAKEN = false; Rooms[roomTag].doorOPEN = false; _local9 = new RM2_candle_mc(); _local9.name = "CANDLE"; _local9.tag = "candleICON_mc"; _local9.x = 338; _local9.y = 95; Rooms[roomTag].imageC = _local9; }; var _local2:Array = new Array(); var _local3:Rectangle = new Rectangle(320, 80, 30, 30); _local2.push(_local3); var _local4:Rectangle = new Rectangle(250, 54, 61, 165); _local2.push(_local4); var _local5:Rectangle = new Rectangle(30, 30, 144, 117); _local2.push(_local5); var _local6:Rectangle = new Rectangle(423, 69, 60, 118); _local2.push(_local6); var _local7:Rectangle = new Rectangle(245, 360, 30, 30); _local2.push(_local7); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); if (!Rooms[roomTag].candleTAKEN){ stage.addChild(Rooms[roomTag].imageC); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); }; stage.addChild(Rooms[roomTag].back); var _local8:Array = new Array(Rooms[roomTag].imageB, Rooms[roomTag].imageC); Fizzle(_local8, 0xFF0000); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room2EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Boolean; var _local4:Array; var _local5:Sound; var _local6:Sound; var _local7:Sound; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local3 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local3); _local4 = new Array("CANDLE", "HEAVY DOOR", "0", "0"); if (ITEM){ if (_local3){ if (_local4[_local2] == "0"){ continue; }; if (_local4[_local2] == "HEAVY DOOR"){ if (mouse_clicked){ if ((((ITEM_IN_USE.name == "MAIN KEY")) && (!(Rooms[roomTag].doorOPEN)))){ _local5 = new door7_wav(); _local5.play(); mouse_clicked = false; Rooms[roomTag].timer = 20; Rooms[roomTag].doorOPEN = true; removeICON("MAIN KEY"); Text("The key works."); Go_To(7, 2, 0); break; }; }; }; noEffect(_local4, _local2); break; }; }; if (_local3){ if ((((_local2 == 0)) && (!(Rooms[roomTag].candleTAKEN)))){ if (mouse_clicked){ Rooms[roomTag].candleTAKEN = true; Rooms[roomTag].imageC.addEventListener(Event.ENTER_FRAME, getItem, false, 0, true); break; } else { Text("A still-lit candle. Take?"); break; }; }; if (_local2 == 1){ if (((mouse_clicked) && (!(Rooms[roomTag].doorOPEN)))){ Rooms[roomTag].timer = 20; _local6 = new door_jam_wav(); _local6.play(); Text("I'll need a key to pass through here, it's locked."); break; } else { if (Rooms[roomTag].doorOPEN){ if (mouse_clicked){ mouse_clicked = false; Go_To(7, 7, 0); break; } else { Text("The door is unlocked. Proceed?"); break; }; } else { if (!Rooms[roomTag].doorOPEN){ Text("A heavy door. It is locked."); break; }; }; }; }; if (_local2 == 2){ if (((mouse_clicked) && (!(ITEM)))){ mouse_clicked = false; Go_To(3, 7, 0); break; } else { Text("The top of the stairs leads into a brightly-lit room. Travel here?"); break; }; }; if (_local2 == 3){ if (mouse_clicked){ mouse_clicked = false; Pop_Up_Paper("newspaper_mc", myTextA1B); _local7 = new pageturn_wav(); _local7.play(); break; } else { Text("Another newspaper clip. Read?"); break; }; }; if (_local2 == 4){ if (mouse_clicked){ mouse_clicked = false; Go_To(1, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function room3(_arg1:Event):void{ var _local8:MovieClip; var _local2:SoundTransform = new SoundTransform(); _local2.volume = 0.2; channel.soundTransform = _local2; if (Rooms[roomTag].first_time){ basicScene(0); Rooms[roomTag].intro = false; if (stage.getChildByName("inventory")){ stage.getChildByName("inventory").visible = true; }; Rooms[roomTag].secretdoorOPEN = false; _local8 = new rm3_secretdoor_mc(); _local8.x = 407; _local8.y = 96; Rooms[roomTag].imageC = _local8; }; var _local3:Array = new Array(); var _local4:Rectangle = new Rectangle(149, 64, 122, 166); _local3.push(_local4); var _local5:Rectangle = new Rectangle(169, 245, 204, 90); _local3.push(_local5); var _local6:Rectangle = new Rectangle(412, 105, 71, 163); _local3.push(_local6); var _local7:Rectangle = new Rectangle(245, 360, 30, 30); _local3.push(_local7); Rooms[roomTag].mouseEvents = _local3; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); if (!Rooms[roomTag].secretdoorOPEN){ stage.addChild(Rooms[roomTag].imageC); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); }; stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room3EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Boolean; var _local4:Array; var _local5:Sound; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local3 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local3); _local4 = new Array("STAINED WINDOW", "GRAVE", "EAST WALL", "0"); if (ITEM){ if (_local3){ if (_local4[_local2] == "0"){ continue; }; if (_local4[_local2] == "EAST WALL"){ if (mouse_clicked){ if ((((ITEM_IN_USE.name == "ROOM KEY")) && (!(Rooms[roomTag].secretdoorOPEN)))){ _local5 = new collect_wav(); _local5.play(); mouse_clicked = false; Rooms[roomTag].timer = 20; Rooms[roomTag].secretdoorOPEN = true; removeICON("ROOM KEY"); Text("So it was a door..."); Go_To(3, 7, 0); break; }; }; }; noEffect(_local4, _local2); break; }; }; if (_local3){ if (_local2 == 0){ Text("The window is firmly nailed down and barred. I can't open it."); break; }; if (_local2 == 1){ if (!Rooms[roomTag].intro){ if (mouse_clicked){ mouse_clicked = false; Go_To(4, 7, 0); break; } else { Text("Looks like there is a deep gulley in the floorboards. Examine?"); break; }; } else { Text("I don't think I need to be looking in there again."); break; }; }; if (_local2 == 2){ if (Rooms[roomTag].secretdoorOPEN){ if (mouse_clicked){ mouse_clicked = false; Go_To(24, 7, 0); break; } else { Text("There's an entrance through here now. Proceed?"); break; }; } else { Text("Something is out of place about this wall."); break; }; }; if (_local2 == 3){ if (mouse_clicked){ mouse_clicked = false; Go_To(2, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function room4(_arg1:Event):void{ var _local8:Sound; var _local9:MovieClip; if (Rooms[roomTag].first_time){ basicScene(0); Rooms[roomTag].noteTAKEN = false; _local8 = new breath_wav(); _local8.play(); _local9 = new RM4_note_mc(); _local9.x = 88; _local9.y = 214; Rooms[roomTag].imageC = _local9; }; var _local2:Array = new Array(); var _local3:Rectangle = new Rectangle(213, 107, 110, 30); _local2.push(_local3); var _local4:Rectangle = new Rectangle(180, 180, 170, 200); _local2.push(_local4); var _local5:Rectangle = new Rectangle(60, 180, 60, 60); _local2.push(_local5); var _local6:Rectangle = new Rectangle(245, 360, 30, 30); _local2.push(_local6); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); stage.addChild(Rooms[roomTag].imageC); stage.addChild(Rooms[roomTag].back); var _local7:Array = new Array(Rooms[roomTag].imageB, Rooms[roomTag].imageC); Fizzle3(_local7, 0xFFFFFF); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room4EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Boolean; var _local4:Array; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local3 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local3); _local4 = new Array("ENGRAVED NAME", "DEAD(?) CARCASS", "PARCHMENT", "0"); if (ITEM){ if (_local3){ if (_local4[_local2] == "0"){ continue; }; noEffect(_local4, _local2); break; }; }; if (_local3){ if (_local2 == 0){ Text("Peter Langdon...thats....that's MY NAME!!"); break; }; if (_local2 == 1){ Text("What on Gods earth is it? A makeshift carcass made of straw? Can't be a real..."); break; }; if (_local2 == 2){ if (mouse_clicked){ mouse_clicked = false; Go_To(5, 7, 0); break; } else { Text("There are some notes here. Examine?"); break; }; }; if (_local2 == 3){ if (mouse_clicked){ mouse_clicked = false; Go_To(3, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function room5(_arg1:Event):void{ var _local5:Sound; if (Rooms[roomTag].first_time){ basicScene(0); _local5 = new pageturn_wav(); _local5.play(); basicScene(0); }; var _local2:Array = new Array(); var _local3:Rectangle = new Rectangle(318, 326, 107, 60); _local2.push(_local3); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); var _local4:Array = new Array(Rooms[roomTag].imageB); Fizzle3(_local4, 0); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room5EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Boolean; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local3 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local3); if (_local3){ if (_local2 == 0){ if (mouse_clicked){ mouse_clicked = false; Go_To(6, 4, 0); break; } else { Text("A key is attached to the paper with Scotch tape. Take?"); break; }; }; }; }; } public function room6(_arg1:Event):void{ var _local4:SoundTransform; var _local5:Sound; var _local6:SoundChannel; var _local7:MovieClip; var _local8:MovieClip; if (Rooms[roomTag].first_time){ basicScene(0); _local4 = new SoundTransform(); _local4.volume = 0; channel.soundTransform = _local4; _local5 = new Insanity2ThemeMix_wav(); _local6 = _local5.play(); Rooms[roomTag].audio = _local6; Rooms[roomTag].movieFINISHED = false; Mouse.hide(); if (stage.getChildByName("inventory")){ stage.getChildByName("inventory").visible = false; }; Rooms[roomTag].imageB.x = 270; Rooms[roomTag].imageB.y = 200; _local7 = new BACK_mc(); _local7.x = 530; _local7.y = 280; _local7.rotation = -90; Rooms[roomTag].back2 = _local7; _local8 = new MovieClip(); _local8.name = "MAIN KEY"; _local8.tag = "key1ICON_mc"; Rooms[roomTag].imageC = _local8; }; var _local2:Array = new Array(); var _local3:Rectangle = new Rectangle(510, 265, 30, 30); _local2.push(_local3); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back2); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); } public function room6EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Boolean; for (_local2 in Rooms[roomTag].mouseEvents) { _local3 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local3); if ((((Rooms[roomTag].imageB.currentFrame >= Rooms[roomTag].imageB.totalFrames)) && (!(Rooms[roomTag].imageB.movieFINISHED)))){ Rooms[roomTag].imageB.stop(); Rooms[roomTag].imageB.movieFINISHED = true; stage.addChild(Rooms[roomTag].back2); Mouse.show(); Rooms[3].intro = true; }; if (((_local3) && (Rooms[roomTag].imageB.movieFINISHED))){ if (_local2 == 0){ if (mouse_clicked){ Rooms[roomTag].audio.stop(); mouse_clicked = false; Go_To(3, 8, 0); Rooms[roomTag].imageC.addEventListener(Event.ENTER_FRAME, getItem, false, 0, true); if (stage.getChildByName("inventory")){ stage.getChildByName("inventory").visible = true; }; break; } else { Text("Proceed?"); break; }; }; }; }; } public function room7(_arg1:Event):void{ var _local7:Sound; var _local8:MovieClip; if (Rooms[roomTag].first_time){ basicScene(0); _local7 = new creepy_wav(); _local7.play(); _local8 = new RM7_ghost_mc(); _local8.x = 273; _local8.y = 248; _local8.alpha = 0.5; Rooms[roomTag].imageC = _local8; Rooms[roomTag].ghost = true; Rooms[roomTag].first_visit = true; }; var _local2:Array = new Array(); var _local3:Rectangle = new Rectangle(376, 178, 23, 246); _local2.push(_local3); var _local4:Rectangle = new Rectangle(240, 161, 76, 162); _local2.push(_local4); var _local5:Rectangle = new Rectangle(441, 135, 69, 109); _local2.push(_local5); var _local6:Rectangle = new Rectangle(245, 360, 30, 30); _local2.push(_local6); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); if (Rooms[roomTag].ghost){ stage.addChild(Rooms[roomTag].imageC); Rooms[roomTag].ghost = false; }; Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room7EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Boolean; var _local4:Array; var _local5:Sound; for (_local2 in Rooms[roomTag].mouseEvents) { _local3 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local3); _local4 = new Array("0"); if (ITEM){ if (_local3){ if (_local4[_local2] == "0"){ continue; }; noEffect(_local4, _local2); break; }; }; if (_local3){ if (_local2 == 0){ if (mouse_clicked){ mouse_clicked = false; Rooms[roomTag].first_visit = false; Go_To(8, 4, 0); break; } else { Text("Seems a little brighter in here. Proceed?"); break; }; }; if (_local2 == 1){ if (mouse_clicked){ mouse_clicked = false; Rooms[roomTag].first_visit = false; Go_To(12, 4, 0); break; } else { if (Rooms[roomTag].first_visit){ Text("What the hell? Was someone just standing there? Proceed?"); } else { Text("Proceed north?"); }; break; }; }; if (_local2 == 2){ if (mouse_clicked){ mouse_clicked = false; Pop_Up_Paper("newspaper_mc", myTextA1C); _local5 = new pageturn_wav(); _local5.play(); break; } else { Text("Another newspaper clip. Read?"); break; }; }; if (_local2 == 3){ if (mouse_clicked){ mouse_clicked = false; Go_To(2, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function room8(_arg1:Event):void{ var _local9:MovieClip; var _local10:Array; if (Rooms[roomTag].first_time){ basicScene(0); Rooms[roomTag].wrenchTAKEN = false; _local9 = new RM8_wrench_mc(); _local9.name = "WRENCH"; _local9.tag = "wrenchICON_mc"; _local9.x = 212; _local9.y = 195; Rooms[roomTag].imageC = _local9; _local10 = new Array(); Rooms[roomTag].flyArray = _local10; }; Rooms[roomTag].flyCount = 0; Rooms[roomTag].flyArray = []; trace(Rooms[roomTag].flyArray.length); var _local2:Array = new Array(); var _local3:Rectangle = new Rectangle(261, 134, 84, 156); _local2.push(_local3); var _local4:Rectangle = new Rectangle(205, 175, 15, 45); _local2.push(_local4); var _local5:Rectangle = new Rectangle(13, 106, 128, 0x0100); _local2.push(_local5); var _local6:Rectangle = new Rectangle(382, 117, 128, 0x0100); _local2.push(_local6); var _local7:Rectangle = new Rectangle(245, 360, 30, 30); _local2.push(_local7); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); if (!Rooms[roomTag].wrenchTAKEN){ stage.addChild(Rooms[roomTag].imageC); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); }; stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); var _local8:Array = new Array(Rooms[roomTag].imageB, Rooms[roomTag].imageC); Fizzle(_local8, 0xFF0000); if (!Rooms[11].first_time){ Rooms[roomTag].imageC.hikari.visible = true; } else { Rooms[roomTag].imageC.hikari.visible = false; }; stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function FlySwarm():void{ var _local1:*; var _local2:MovieClip; var _local3:*; if (Rooms[roomTag].flyCount < 500){ _local2 = new fly_mc(); _local2.targetX = stage.mouseX; _local2.targetY = stage.mouseY; _local2.distX = 0; _local2.distY = 0; _local2.meX = stage.mouseX; _local2.meY = stage.mouseY; _local2.oldTargetX = 0; _local2.flockX = ((Math.random() * 200) - 100); _local2.flockY = ((Math.random() * 200) - 100); stage.addChild(_local2); Rooms[roomTag].deleteArray.push(_local2); Rooms[roomTag].flyArray.push(_local2); Rooms[roomTag].flyCount = Rooms[roomTag].flyArray.length; stage.setChildIndex(_local2, (stage.numChildren - 1)); }; for (_local1 in Rooms[roomTag].flyArray) { _local3 = Rooms[roomTag].flyArray[_local1]; _local3.targetX = stage.mouseX; _local3.targetY = stage.mouseY; _local3.distX = ((_local3.targetX - _local3.meX) + _local3.flockX); _local3.distY = ((_local3.targetY - _local3.meY) + _local3.flockY); if ((((_local3.targetX == _local3.oldTargetX)) && ((Math.random() > 0.9)))){ _local3.flockX = ((Math.random() * 100) - 50); _local3.flockY = ((Math.random() * 100) - 50); } else { if (((!((_local3.targetX == _local3.oldTargetX))) && ((Math.random() > 0.8)))){ _local3.flockX = ((Math.random() * 400) - 200); _local3.flockY = ((Math.random() * 400) - 200); }; }; _local3.meX = Math.round((_local3.meX + (_local3.distX / 20))); _local3.meY = Math.round((_local3.meY + (_local3.distY / 20))); _local3.x = _local3.meX; _local3.y = _local3.meY; _local3.oldTargetX = _local3.targetX; }; } public function room8EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Boolean; var _local4:Array; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; FlySwarm(); for (_local2 in Rooms[roomTag].mouseEvents) { _local3 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local3); _local4 = new Array("0", "0", "UNIDENTIFIED CREATURES", "GIANT INSECTS", "0"); if (ITEM){ if (_local3){ if (_local4[_local2] == "0"){ continue; }; noEffect(_local4, _local2); break; }; }; if (_local3){ if (_local2 == 0){ if (mouse_clicked){ mouse_clicked = false; Go_To(9, 4, 0); break; } else { Text("Continue through?"); break; }; }; if ((((_local2 == 1)) && (!(Rooms[roomTag].wrenchTAKEN)))){ if (mouse_clicked){ Rooms[roomTag].wrenchTAKEN = true; Rooms[roomTag].imageC.addEventListener(Event.ENTER_FRAME, getItem, false, 0, true); break; } else { Text("Hanging with the other tools is an steel ring-spanner. Take?"); break; }; }; if (_local2 == 2){ Text("A homemade zoo containing creatures of the likes I've not seen in any encyclopedia! They're not moving and seem mostly dead."); break; }; if (_local2 == 3){ Text("God Almighty. What are these things? I've never seen insects of this size, almost lifeless, shivering behind cell bars."); break; }; if (_local2 == 4){ if (mouse_clicked){ mouse_clicked = false; Go_To(7, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function room9(_arg1:Event):void{ var _local11:MovieClip; var _local12:MovieClip; if (Rooms[roomTag].first_time){ basicScene(0); Rooms[roomTag].cupboardOPEN = false; _local11 = new RM9_cupboard_mc(); _local11.x = 468; _local11.y = 325; Rooms[roomTag].imageC = _local11; _local12 = new house44_mc(); _local12.x = 275; _local12.y = 200; Rooms[roomTag].imageD = _local12; Rooms[roomTag].activated = false; }; Rooms[roomTag].imageD.gotoAndStop(1); var _local2:Array = new Array(); var _local3:Rectangle = new Rectangle(430, 270, 82, 115); _local2.push(_local3); var _local4:Rectangle = new Rectangle(59, 104, 72, 102); _local2.push(_local4); var _local5:Rectangle = new Rectangle(213, 11, 191, 126); _local2.push(_local5); var _local6:Rectangle = new Rectangle(317, 267, 45, 45); _local2.push(_local6); var _local7:Rectangle = new Rectangle(368, 284, 45, 45); _local2.push(_local7); var _local8:Rectangle = new Rectangle(424, 219, 53, 29); _local2.push(_local8); var _local9:Rectangle = new Rectangle(143, 118, 59, 88); _local2.push(_local9); var _local10:Rectangle = new Rectangle(245, 360, 30, 30); _local2.push(_local10); Rooms[roomTag].mouseEvents = _local2; if (!Rooms[roomTag].activated){ stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); if (!Rooms[roomTag].cupboardOPEN){ stage.addChild(Rooms[roomTag].imageC); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); }; stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); } else { stage.addChild(Rooms[roomTag].imageD); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageD); Rooms[roomTag].imageD.play(); }; stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room9EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Boolean; var _local4:Array; var _local5:Sound; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; if (Rooms[roomTag].activated){ if (Rooms[roomTag].imageD.currentFrame >= Rooms[roomTag].imageD.totalFrames){ Rooms[roomTag].imageD.stop(); Retry(); Rooms[roomTag].activated = false; }; return; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local3 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local3); _local4 = new Array("CUPBOARD#3", "PAINTING", "JUNK OBJECTS", "CUPBOARD#1", "CUPBOARD#2", "SINK", "PORTRAIT", "0"); if (ITEM){ if (_local3){ if (_local4[_local2] == "0"){ continue; }; noEffect(_local4, _local2); break; }; }; if (_local3){ if (_local2 == 0){ if (!Rooms[roomTag].cupboardOPEN){ if (mouse_clicked){ _local5 = new drain_wav(); _local5.play(); mouse_clicked = false; removeMovie(Rooms[roomTag].imageC); Rooms[roomTag].cupboardOPEN = true; break; } else { Text("Look inside the sink cabinet?"); break; }; } else { if (mouse_clicked){ mouse_clicked = false; Go_To(11, 7, 0); break; } else { Text("Investigate the sink drain?"); break; }; }; }; if (_local2 == 1){ if (mouse_clicked){ mouse_clicked = false; Go_To(10, 7, 0); break; } else { Text("Quite the curious painting here, take a closer look?"); break; }; }; if (_local2 == 2){ Text("Peeling paint, damp and mould. Gravity and years of rot are caving in the ceiling here."); break; }; if ((((_local2 == 3)) || ((_local2 == 4)))){ Text("It's a sink cabinet. Seems jammed."); break; }; if (_local2 == 5){ Text("The sink is full of water, the drain is completely blocked"); break; }; if (_local2 == 6){ if (mouse_clicked){ mouse_clicked = false; Go_To(43, 7, 0); break; } else { Text("A second painting, take a closer look?"); break; }; }; if (_local2 == 7){ if (mouse_clicked){ mouse_clicked = false; Go_To(8, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function drag(_arg1:Event):void{ var _local2:MovieClip = MovieClip(_arg1.currentTarget); _local2.startDrag(); } public function room10(_arg1:Event):void{ var _local5:MovieClip; var _local6:Sound; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; if (Rooms[roomTag].first_time){ basicScene(0); Rooms[roomTag].tune = true; _local5 = new rm10_clue_mc(); _local5.gotoAndStop(1); Rooms[roomTag].imageC = _local5; }; if (((Rooms[roomTag].clue) && (Rooms[roomTag].tune))){ _local6 = new collect_wav(); _local6.play(); Rooms[roomTag].tune = false; }; var _local2:Array = new Array(); var _local3:Rectangle = new Rectangle(129, 10, 302, 361); _local2.push(_local3); var _local4:Rectangle = new Rectangle(245, 360, 30, 30); _local2.push(_local4); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room10EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Boolean; var _local4:Array; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local3 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local3); _local4 = new Array("PAINTING", "0"); if (ITEM){ if (_local3){ if (_local4[_local2] == "0"){ continue; }; noEffect(_local4, _local2); break; }; }; if (_local3){ if (_local2 == 0){ if (Rooms[roomTag].clue){ Text("I see one broom, two tassles, nine cogs around the mirror..six hands on the chandelier."); break; } else { Text("There's a panel under this picture that says 'ARNOLFINI ABSTRACT'. I know the famous Arnolfini Potrait, I wrote an article on it once. It is said to have contained many secrets, or hidden meanings."); break; }; }; if (_local2 == 1){ if (mouse_clicked){ mouse_clicked = false; Go_To(9, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function room11(_arg1:Event):void{ var _local7:MovieClip; var _local8:MovieClip; var _local9:MovieClip; if (Rooms[roomTag].first_time){ basicScene(0); Rooms[roomTag].pipeOPEN = false; Rooms[roomTag].pipeCOMPLETE = false; Rooms[roomTag].paper = false; Rooms[roomTag].paperANIMATION = false; _local7 = new RM11_sink1_mc(); _local7.x = 183; _local7.y = 231; Rooms[roomTag].imageC = _local7; _local8 = new RM11_sink2_mc(); _local8.x = 214; _local8.y = 241; Rooms[roomTag].imageD = _local8; _local9 = new RM11_gomi_mc(); _local9.x = 187; _local9.y = 223; _local9.stop(); Rooms[roomTag].imageE = _local9; }; var _local2:Array = new Array(); var _local3:Rectangle = new Rectangle(146, 174, 56, 56); _local2.push(_local3); var _local4:Rectangle = new Rectangle(335, 320, 30, 35); _local2.push(_local4); var _local5:Rectangle = new Rectangle(140, 10, 270, 106); _local2.push(_local5); var _local6:Rectangle = new Rectangle(245, 360, 30, 30); _local2.push(_local6); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); if (!Rooms[roomTag].pipeOPEN){ stage.addChild(Rooms[roomTag].imageC); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); } else { stage.addChild(Rooms[roomTag].imageD); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageD); }; if (Rooms[roomTag].paper){ stage.addChild(Rooms[roomTag].imageE); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageE); }; stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room11EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Boolean; var _local4:Array; var _local5:Sound; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local3 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local3); _local4 = new Array("JOINT", "PAPER", "PIPE", "0"); if (ITEM){ if (_local3){ if (_local4[_local2] == "0"){ continue; }; if (_local4[_local2] == "JOINT"){ if (mouse_clicked){ if ((((ITEM_IN_USE.name == "WRENCH")) && (!(Rooms[roomTag].pipeOPEN)))){ _local5 = new openpipe_wav(); _local5.play(); mouse_clicked = false; Rooms[roomTag].timer = 20; Rooms[roomTag].doorOPEN = true; removeICON("WRENCH"); Text("It yanks open."); Rooms[roomTag].pipeCOMPLETE = true; Rooms[roomTag].pipeOPEN = true; break; }; }; }; noEffect(_local4, _local2); break; }; }; if (((Rooms[roomTag].pipeOPEN) && (Rooms[roomTag].pipeCOMPLETE))){ Rooms[roomTag].pipeCOMPLETE = false; removeMovie(Rooms[roomTag].imageC); stage.addChild(Rooms[roomTag].imageD); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageD); stage.addChild(Rooms[roomTag].imageE); Rooms[roomTag].imageE.play(); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageE); Rooms[roomTag].paperANIMATION = true; Rooms[roomTag].paper = true; mouse_clicked = false; Rooms[roomTag].timer = 30; }; if (_local3){ if (_local2 == 0){ if (!Rooms[roomTag].pipeOPEN){ Text("This rusted expansion joint won't come off without help."); break; }; }; if (_local2 == 1){ if (mouse_clicked){ mouse_clicked = false; Pop_Up("negatives_mc"); Rooms[10].clue = true; break; } else { if (Rooms[roomTag].pipeOPEN){ Text("Here's a scrap of crumpled black paper that fell out of the drain. Examine?"); break; }; }; }; if (_local2 == 2){ Text("Various pipes, joints, gaskets etc."); break; }; if (_local2 == 3){ if (mouse_clicked){ mouse_clicked = false; Go_To(9, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function room12(_arg1:Event):void{ var _local9:MovieClip; var _local10:Array; if (Rooms[roomTag].first_time){ basicScene(0); Rooms[roomTag].doorOPEN = false; _local9 = new RM12_door_mc(); _local9.x = 287; _local9.y = 221; Rooms[roomTag].imageC = _local9; }; var _local2:Array = new Array(); var _local3:Rectangle = new Rectangle(261, 138, 54, 190); _local2.push(_local3); var _local4:Rectangle = new Rectangle(370, 223, 38, 72); _local2.push(_local4); var _local5:Rectangle = new Rectangle(513, 115, 42, 214); _local2.push(_local5); var _local6:Rectangle = new Rectangle(146, 56, 63, 114); _local2.push(_local6); var _local7:Rectangle = new Rectangle(401, 133, 90, 67); _local2.push(_local7); var _local8:Rectangle = new Rectangle(245, 360, 30, 30); _local2.push(_local8); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); if (Rooms[roomTag].doorOPEN){ Rooms[roomTag].imageC.y = 123; } else { Rooms[roomTag].imageC.y = 221; }; stage.addChild(Rooms[roomTag].imageC); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); if ((((CHIMERA_MODE == 1)) || ((CHIMERA_MODE == 2)))){ _local10 = new Array(Rooms[roomTag].imageB, Rooms[roomTag].imageC); Fizzle(_local10, 0xFF0000); }; stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room12EVENTS(_arg1:Event):void{ var _local2:*; var _local3:MovieClip; var _local4:Sound; var _local5:Sound; var _local6:Boolean; var _local7:Array; var _local8:Sound; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; if ((((CHIMERA_MODE == 1)) || ((CHIMERA_MODE == 2)))){ CHIMERA_COUNT++; }; if ((((CHIMERA_COUNT >= 100)) && ((CHIMERA_MODE < 3)))){ CHIMERA_COUNT = 0; _local3 = new chimera_X_mc(); Rooms[roomTag].imageZ = _local3; stage.addChild(Rooms[roomTag].imageZ); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageZ); _local4 = new chimera_charge_wav(); _local4.play(); _local5 = new herodie_wav(); _local5.play(); Retry(); return; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local6 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local6); _local7 = new Array("SHUTTER", "ELECTRONIC BOX", "0", "0", "0"); if (ITEM){ if (_local6){ if (_local7[_local2] == "0"){ continue; }; noEffect(_local7, _local2); break; }; }; if (_local6){ if (_local2 == 0){ if (!Rooms[roomTag].doorOPEN){ if (CHIMERA_MODE == 1){ Text("Better get this damn thing open before that monster gets any closer!"); } else { if (CHIMERA_MODE == 3){ Text("It's trapped..--I can hear eating sounds coming from within."); } else { Text("It's a sturdy electronic shutter door with a sign on it that reads 'MEPHISTO'. Firmly closed."); }; }; break; } else { if (CHIMERA_MODE < 2){ if (mouse_clicked){ mouse_clicked = false; Go_To(16, 7, 0); break; } else { Text("The shutter has been raised enough for me to crawl through. Proceed?"); break; }; } else { if (CHIMERA_MODE == 2){ Text("That creature is still in there looking for me."); break; }; }; }; }; if (_local2 == 1){ if (CHIMERA_MODE == 3){ Text("I've no need to use this machine anymore."); break; }; if (mouse_clicked){ mouse_clicked = false; Go_To(13, 7, 0); break; } else { Text("Perhaps this is some kind of electronic entry device for the shutter door. Examine?"); break; }; }; if (_local2 == 2){ if ((((CHIMERA_MODE == 1)) || ((CHIMERA_MODE == 2)))){ Text("I must find a way to stop it coming after me first.."); break; } else { if (mouse_clicked){ mouse_clicked = false; Go_To(14, 7, 0); break; } else { Text("This corridor continues to the east. Proceed?"); break; }; }; }; if (_local2 == 3){ Text("Blood everywhere here. Animal? Human?..or both?"); break; }; if (_local2 == 4){ if ((((CHIMERA_MODE == 1)) || ((CHIMERA_MODE == 2)))){ Text("No time to read now!!"); break; } else { if (mouse_clicked){ mouse_clicked = false; Pop_Up_Paper("newspaper_mc", myTextA2); _local8 = new pageturn_wav(); _local8.play(); break; } else { Text("Another newspaper clip. Read?"); break; }; }; }; if (_local2 == 5){ if ((((CHIMERA_MODE == 1)) || ((CHIMERA_MODE == 2)))){ Text("That thing will catch me if I go this way, I better do something else!"); break; }; if (mouse_clicked){ mouse_clicked = false; Go_To(7, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function room13(_arg1:Event):void{ if (Rooms[roomTag].first_time){ basicScene(0); Rooms[roomTag].codeIN = false; Rooms[roomTag].tag1 = 0; Rooms[roomTag].tag2 = 0; Rooms[roomTag].tag3 = 0; Rooms[roomTag].tag4 = 0; Rooms[roomTag].activateSHUTTER = false; Rooms[roomTag].machineON = false; Rooms[roomTag].first_time2 = true; Rooms[roomTag].code = false; }; var _local2:Array = new Array(); var _local3:Rectangle = new Rectangle(48, 202, 45, 121); _local2.push(_local3); var _local4:Rectangle = new Rectangle(486, 360, 30, 30); _local2.push(_local4); Rooms[roomTag].back.x = 500; Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); Rooms[roomTag].imageB.b1.buttonMode = true; Rooms[roomTag].imageB.b1.useHandCursor = true; Rooms[roomTag].imageB.b2.buttonMode = true; Rooms[roomTag].imageB.b2.useHandCursor = true; Rooms[roomTag].imageB.b3.buttonMode = true; Rooms[roomTag].imageB.b3.useHandCursor = true; Rooms[roomTag].imageB.b4.buttonMode = true; Rooms[roomTag].imageB.b4.useHandCursor = true; Rooms[roomTag].imageB.text1.text = Rooms[roomTag].tag1; Rooms[roomTag].imageB.text2.text = Rooms[roomTag].tag2; Rooms[roomTag].imageB.text3.text = Rooms[roomTag].tag3; Rooms[roomTag].imageB.text4.text = Rooms[roomTag].tag4; if (Rooms[roomTag].first_time2){ Rooms[roomTag].imageB.b1.gotoAndStop(1); Rooms[roomTag].imageB.b1.mouseChildren = false; Rooms[roomTag].imageB.b1.addEventListener(MouseEvent.CLICK, reelRoll, false, 0, true); Rooms[roomTag].imageB.b2.gotoAndStop(1); Rooms[roomTag].imageB.b2.mouseChildren = false; Rooms[roomTag].imageB.b2.addEventListener(MouseEvent.CLICK, reelRoll, false, 0, true); Rooms[roomTag].imageB.b3.gotoAndStop(1); Rooms[roomTag].imageB.b3.mouseChildren = false; Rooms[roomTag].imageB.b3.addEventListener(MouseEvent.CLICK, reelRoll, false, 0, true); Rooms[roomTag].imageB.b4.gotoAndStop(1); Rooms[roomTag].imageB.b4.mouseChildren = false; Rooms[roomTag].imageB.b4.addEventListener(MouseEvent.CLICK, reelRoll, false, 0, true); Rooms[roomTag].imageB.bON.addEventListener(MouseEvent.CLICK, checkMachine, false, 0, true); Rooms[roomTag].imageB.bOFF.addEventListener(MouseEvent.CLICK, checkMachine, false, 0, true); Rooms[roomTag].first_time2 = false; }; stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room13EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Boolean; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; if (Rooms[roomTag].code){ Rooms[roomTag].imageB.bON.buttonMode = true; Rooms[roomTag].imageB.bON.useHandCursor = true; Rooms[roomTag].imageB.bOFF.buttonMode = true; Rooms[roomTag].imageB.bOFF.useHandCursor = true; }; if (Rooms[roomTag].machineON){ Rooms[roomTag].imageB.buttonON.visible = true; Rooms[roomTag].imageB.buttonOFF.visible = false; Rooms[12].doorOPEN = true; } else { Rooms[roomTag].imageB.buttonON.visible = false; Rooms[roomTag].imageB.buttonOFF.visible = true; Rooms[12].doorOPEN = false; if (CHIMERA_MODE == 2){ CHIMERA_MODE = 3; channel3.stop(); channel = masterAUDIO.play(0, 99); }; }; Rooms[roomTag].imageB.b1.gotoAndStop(1); Rooms[roomTag].imageB.b2.gotoAndStop(1); Rooms[roomTag].imageB.b3.gotoAndStop(1); Rooms[roomTag].imageB.b4.gotoAndStop(1); for (_local2 in Rooms[roomTag].mouseEvents) { _local3 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local3); if (_local3){ if ((((_local2 == 0)) && (Rooms[roomTag].code))){ Text("Seems like inputting the correct code has activated the circuit controlling these 2 keys."); break; }; if (_local2 == 1){ if (mouse_clicked){ mouse_clicked = false; Go_To(12, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function checkMachine(_arg1:Event):void{ var _local3:Sound; var _local4:Sound; var _local5:Sound; var _local6:Sound; if (!Rooms[roomTag].code){ return; }; var _local2:MovieClip = MovieClip(_arg1.target); if (_arg1.target.name == "bON"){ Rooms[roomTag].machineON = false; _local3 = new button_wav(); _local3.play(); _local4 = new shutter_wav(); _local4.play(); } else { if (_arg1.target.name == "bOFF"){ Rooms[roomTag].machineON = true; _local5 = new button_wav(); _local5.play(); _local6 = new shutter_wav(); _local6.play(); }; }; } public function room14(_arg1:Event):void{ var _local9:MovieClip; var _local10:MovieClip; var _local11:MovieClip; var _local12:SoundTransform; if (Rooms[roomTag].first_time){ basicScene(0); Rooms[roomTag].imageB.basicX = Rooms[roomTag].imageB.x; Rooms[roomTag].imageB.basicY = Rooms[roomTag].imageB.y; Rooms[roomTag].chimera = false; Rooms[roomTag].playPiano = true; _local9 = new chimera_mc(); _local9.x = 275; _local9.y = 200; _local9.stop(); Rooms[roomTag].imageC = _local9; Rooms[roomTag].imageC.basicX = Rooms[roomTag].imageC.x; Rooms[roomTag].imageC.basicY = Rooms[roomTag].imageC.y; _local10 = new border_text_mc(); Rooms[roomTag].borderImage = _local10; Rooms[roomTag].borderImage.stop(); _local11 = new RM14_door_mc(); _local11.x = 268; _local11.y = 215; Rooms[roomTag].imageE = _local11; }; channel2 = masterAUDIO2.play(0, 99); var _local2:SoundTransform = channel2.soundTransform; if (Rooms[roomTag].playPiano){ _local2.volume = 0.5; } else { _local2.volume = 0; }; channel2.soundTransform = _local2; channel3 = masterAUDIO3.play(0, 99); var _local3:SoundTransform = channel3.soundTransform; _local3.volume = 0; channel3.soundTransform = _local3; if (CHIMERA_MODE == 0){ if (Rooms[18].activated){ channel3 = masterAUDIO3.play(0, 99); _local12 = channel3.soundTransform; _local12.volume = 1; channel3.soundTransform = _local12; channel.stop(); Rooms[roomTag].doorCLOSED = false; Rooms[roomTag].chimera = true; CHIMERA_MODE = 1; channel2.stop(); } else { Rooms[roomTag].doorCLOSED = true; }; } else { Rooms[roomTag].chimera = false; }; Rooms[roomTag].chimeraRUN = false; Rooms[roomTag].chimeraSCREAM = true; Rooms[roomTag].imageC.gotoAndStop(1); Rooms[roomTag].scaleUP = 0.6; Rooms[roomTag].imageC.scaleX = (Rooms[roomTag].imageC.scaleY = 0.6); Rooms[roomTag].imageB.filters = []; Rooms[roomTag].imageB.x = Rooms[roomTag].imageB.basicX; Rooms[roomTag].imageB.y = Rooms[roomTag].imageB.basicY; Rooms[roomTag].imageC.x = Rooms[roomTag].imageC.basicX; Rooms[roomTag].imageC.y = Rooms[roomTag].imageC.basicY; var _local4:Array = new Array(); var _local5:Rectangle = new Rectangle(138, 147, 50, 172); _local4.push(_local5); var _local6:Rectangle = new Rectangle(242, 155, 61, 119); _local4.push(_local6); var _local7:Rectangle = new Rectangle(327, 318, 78, 49); _local4.push(_local7); var _local8:Rectangle = new Rectangle(245, 360, 30, 30); _local4.push(_local8); Rooms[roomTag].mouseEvents = _local4; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); if (Rooms[roomTag].chimera){ Rooms[roomTag].borderTEXT = true; stage.addChild(Rooms[roomTag].imageC); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); }; if (Rooms[roomTag].doorCLOSED){ stage.addChild(Rooms[roomTag].imageE); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageE); }; stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); if (Rooms[roomTag].borderTEXT){ stage.addChild(Rooms[roomTag].borderImage); Rooms[roomTag].deleteArray.push(Rooms[roomTag].borderImage); }; stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room14EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Sound; var _local4:Sound; var _local5:Boolean; var _local6:Array; var _local7:SoundTransform; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; if (Rooms[roomTag].borderTEXT){ Rooms[roomTag].borderSTRING = myTextA5; Rooms[roomTag].count = 0; Rooms[roomTag].go = false; Rooms[roomTag].borderImage.play(); Rooms[roomTag].borderImage.exit.addEventListener(MouseEvent.CLICK, returnEvents2, false, 0, true); stage.addEventListener(Event.ENTER_FRAME, borderTEXT, false, 0, true); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents); Rooms[roomTag].borderTEXT = false; return; }; if (Rooms[roomTag].scaleUP > 2.2){ Rooms[roomTag].imageC.stop(); Rooms[roomTag].chimeraRUN = false; CHIMERA_MODE = 0; Rooms[roomTag].borderImage.gotoAndStop(1); Rooms[roomTag].borderTEXT = true; _local3 = new herodie_wav(); _local3.play(); channel3.stop(); Retry(); return; }; if (Rooms[roomTag].chimera){ Rooms[roomTag].imageC.play(); if (!Rooms[roomTag].chimeraRUN){ if (Rooms[roomTag].imageC.currentFrame > 56){ Rooms[roomTag].imageC.gotoAndPlay(1); }; } else { if (Rooms[roomTag].imageC.currentFrame < 56){ Rooms[roomTag].imageC.gotoAndPlay(57); }; }; Rooms[roomTag].scaleUP = (Rooms[roomTag].imageC.scaleX = (Rooms[roomTag].imageC.scaleY = (Rooms[roomTag].imageC.scaleY + 0.005))); if (Rooms[roomTag].scaleUP > 1.5){ Rooms[roomTag].chimeraRUN = true; if (Rooms[roomTag].chimeraSCREAM){ _local4 = new chimera_charge_wav(); _local4.play(); Rooms[roomTag].chimeraSCREAM = false; }; }; Rooms[roomTag].imageC.scaleX = (Rooms[roomTag].imageC.scaleY = (Rooms[roomTag].imageC.scaleY + 0.005)); if ((Rooms[roomTag].imageC.currentFrame % 10) == 0){ Bfilt.blurX = randRange(2, 8); Bfilt.blurY = randRange(2, 8); Rooms[roomTag].imageB.filters = [Bfilt]; EarthQuake_Array.push(Rooms[roomTag].imageB); Earthquake.go(Rooms[roomTag].imageC, 10, 1, EarthQuake_Array); }; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local5 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local5); _local6 = new Array("GOTHIC DOOR", "0", "METAL LADDER", "0", "0"); if (ITEM){ if (_local5){ if (_local6[_local2] == "0"){ continue; }; if (_local6[_local2] == "METAL LADDER"){ if (mouse_clicked){ if (ITEM_IN_USE.name == "CANDLE"){ mouse_clicked = false; Rooms[roomTag].timer = 20; Text("It's only a small candle, I'll need a stronger light source."); break; }; }; }; noEffect(_local6, _local2); break; }; }; if (_local5){ if (_local2 == 0){ if (Rooms[roomTag].chimera){ Text("It's blocking my way!"); break; }; if (!Rooms[roomTag].doorCLOSED){ if (mouse_clicked){ _local7 = new SoundTransform(); if (Rooms[roomTag].playPiano){ _local7.volume = 1; } else { _local7.volume = 0; }; channel2.soundTransform = _local7; mouse_clicked = false; Go_To(15, 7, 0); break; } else { if (Rooms[roomTag].playPiano){ Text("The door is unlocked now! The noise of a piano being played comes from this room. Investigate?"); break; } else { Text("Investigate the piano room again?"); break; }; }; } else { Text("Locked from the inside. I can hear music coming from here and a plaque above the door that reads 'ALEXANDER'."); break; }; }; if (_local2 == 1){ if (Rooms[roomTag].chimera){ Text("I must be nuts for even thinking I'll get around that thing."); break; } else { if (!Rooms[roomTag].doorCLOSED){ if (mouse_clicked){ channel2.stop(); mouse_clicked = false; Go_To(20, 7, 0); break; } else { Text("The doors are open. Proceed?"); break; }; } else { Text("The doors won't open no matter how hard I try."); break; }; }; }; if (_local2 == 2){ if (Rooms[roomTag].chimera){ Text("I could run...no..I'll never make it! Must try something else!"); break; }; if (checkInventory("FLASHLIGHT")){ if (mouse_clicked){ channel2.stop(); mouse_clicked = false; Go_To(23, 7, 0); break; } else { Text("The flashlight will come in handy to see down here. Proceed?"); break; }; } else { Text("It's too dark. I better find some kind of light source before going this way."); break; }; }; if (_local2 == 3){ if (mouse_clicked){ channel2.stop(); Rooms[roomTag].imageC.stop(); mouse_clicked = false; Go_To(12, 7, 0); break; } else { if (Rooms[roomTag].chimera){ Text("RUN AWAY?"); break; } else { Text("BACK?"); break; }; }; }; }; }; } public function room15(_arg1:Event):void{ var _local7:Sound; var _local8:MovieClip; var _local9:MovieClip; var _local10:MovieClip; var _local11:MovieClip; var _local12:Array; var _local13:Sound; if (Rooms[roomTag].first_time){ basicScene(0); _local7 = new shocker_wav(); _local7.play(); _local8 = new alex_standing_mc(); _local8.x = 70; _local8.y = 70; Rooms[roomTag].imageC = _local8; Rooms[roomTag].alexCONVERSATION = false; Rooms[roomTag].alexCONVERSATION2 = false; Rooms[roomTag].keyGIVEN = false; _local9 = new alex_sitting_mc(); _local9.x = 70; _local9.y = 70; Rooms[roomTag].imageD = _local9; _local10 = new room15_knife_mc(); Rooms[roomTag].imageE = _local10; _local11 = new MovieClip(); _local11.name = "ROOM KEY"; _local11.tag = "roomkeyICON_mc"; Rooms[roomTag].imageY = _local11; Rooms[roomTag].text_image = new text_frame_mc(); Rooms[roomTag].bugON = true; }; var _local2:Array = new Array(); var _local3:Rectangle = new Rectangle(56, 22, 104, 220); _local2.push(_local3); var _local4:Rectangle = new Rectangle(95, 300, 449, 58); _local2.push(_local4); var _local5:Rectangle = new Rectangle(244, 207, 46, 58); _local2.push(_local5); var _local6:Rectangle = new Rectangle(245, 360, 30, 30); _local2.push(_local6); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (!Rooms[roomTag].alexCONVERSATION){ stage.addChild(Rooms[roomTag].imageC); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); Rooms[roomTag].alexCONVERSATION = true; _local12 = new Array(Rooms[roomTag].imageC); Fizzle(_local12, 3060672); stage.addChild(Rooms[roomTag].text_image); Rooms[roomTag].deleteArray.push(Rooms[roomTag].text_image); Start_ShoutBox(Rooms[roomTag].text_image, 160, 20, myTextDIALOGUE1); Rooms[roomTag].targetRoom = 15; } else { if (Rooms[roomTag].bugON){ stage.addChild(Rooms[roomTag].imageD); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageD); }; }; if (Rooms[roomTag].keyGIVEN){ Rooms[roomTag].keyGIVEN = false; Rooms[roomTag].imageY.addEventListener(Event.ENTER_FRAME, getItem, false, 0, true); if (stage.getChildByName("inventory")){ stage.getChildByName("inventory").visible = true; }; }; if (Rooms[roomTag].alexCONVERSATION2){ _local13 = new collect_wav(); _local13.play(); Rooms[roomTag].keyGIVEN = true; Rooms[14].playPiano = false; channel2.stop(); Rooms[roomTag].imageC.addEventListener(Event.ENTER_FRAME, Alex, false, 0, true); stage.addChild(Rooms[roomTag].imageC); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); Rooms[roomTag].alexCONVERSATION2 = false; Tint(Rooms[roomTag].imageC, 0, 0); stage.addChild(Rooms[roomTag].text_image); Rooms[roomTag].deleteArray.push(Rooms[roomTag].text_image); Start_ShoutBox(Rooms[roomTag].text_image, 160, 20, myTextDIALOGUE2); Rooms[roomTag].targetRoom = 15; }; stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function Alex(_arg1:Event):void{ _arg1.target.face.alpha = (_arg1.target.face.alpha - 0.001); if (_arg1.target.face.alpha <= 0){ _arg1.target.removeEventListener(Event.ENTER_FRAME, Alex); }; } public function room15EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Boolean; var _local4:Array; var _local5:Sound; var _local6:MovieClip; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local3 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local3); _local4 = new Array("WALL", "MESSY FLOOR", "PARASITE", "0"); if (ITEM){ if (_local3){ if (_local4[_local2] == "0"){ continue; }; if ((((_local4[_local2] == "PARASITE")) && (Rooms[roomTag].bugON))){ if (mouse_clicked){ if ((((ITEM_IN_USE.name == "THROWING KNIFE")) && (Rooms[roomTag].bugON))){ _local5 = new knife_wav(); _local5.play(); mouse_clicked = false; Rooms[roomTag].timer = 20; _local6 = new room15_knife_mc(); _local6.x = mouseX; _local6.y = mouseY; Rooms[roomTag].imageF = _local6; stage.addChild(Rooms[roomTag].imageF); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageF); Rooms[roomTag].bugON = false; removeICON("THROWING KNIFE"); Text("The creature falls off dead."); Rooms[roomTag].alexCONVERSATION2 = true; Rooms[roomTag].imageD.bug.timer = 0.01; Tint(Rooms[roomTag].imageD.bug, 0xFFFFFF, 1); Rooms[roomTag].imageD.bug.addEventListener(Event.ENTER_FRAME, FadeOut, false, 0, true); Go_To(15, 2, 0); break; }; }; }; noEffect(_local4, _local2); break; }; }; if (_local3){ if (_local2 == 0){ Text("Although this room is in better condition than the others it's still a mess of deteriorated antique junk."); break; }; if (_local2 == 1){ Text("Unless I'm mistaken the floor is covered in sticky clumps of blood. How can he live in all this and not see it as horrifying?"); break; }; if ((((_local2 == 2)) && (Rooms[roomTag].bugON))){ Text("What on...? It's some kind of giant parasitic leech on his back...God. No wonder he's the way he is. I have to remove that thing off him somehow."); break; }; if (_local2 == 3){ if (mouse_clicked){ channel2.stop(); mouse_clicked = false; Go_To(14, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function Start_ShoutBox_Special(_arg1:MovieClip, _arg2:Number, _arg3:Number, _arg4:String):void{ stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents); _arg1.blur = true; Bfilt.blurX = (Bfilt.blurY = 50); _arg1.timer = 0; _arg1.x = _arg2; _arg1.y = _arg3; shout.text_image = _arg1; shout.text_image.visible = false; shout.myText = _arg4; shout.count = 0; stage.addEventListener(Event.ENTER_FRAME, Conversation_Special, false, 0, true); shout.text_image.UPs.addEventListener(MouseEvent.MOUSE_DOWN, mouse_scroll_down, false, 0, true); shout.text_image.DOWNs.addEventListener(MouseEvent.MOUSE_DOWN, mouse_scroll_up, false, 0, true); shout.text_image.addEventListener(MouseEvent.MOUSE_DOWN, mouseDrag, false, 0, true); shout.text_image.back.mouseEnabled = false; shout.text_image.exitT.visible = false; Rooms[roomTag].deleteArray.push(shout.text_image); } public function Start_ShoutBox(_arg1:MovieClip, _arg2:Number, _arg3:Number, _arg4:String):void{ stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents); Rooms[roomTag].back.visible = false; _arg1.blur = true; Bfilt.blurX = (Bfilt.blurY = 50); _arg1.timer = 0; _arg1.x = _arg2; _arg1.y = _arg3; shout.text_image = _arg1; shout.text_image.visible = false; shout.myText = _arg4; shout.count = 0; var _local5:MovieClip = new text_skip_mc(); stage.addChild(_local5); stage.setChildIndex(_local5, (stage.numChildren - 1)); stage.addEventListener(Event.ENTER_FRAME, Conversation, false, 0, true); shout.text_image.UPs.addEventListener(MouseEvent.MOUSE_DOWN, mouse_scroll_down, false, 0, true); shout.text_image.DOWNs.addEventListener(MouseEvent.MOUSE_DOWN, mouse_scroll_up, false, 0, true); shout.text_image.addEventListener(MouseEvent.MOUSE_DOWN, mouseDrag, false, 0, true); shout.text_image.back.mouseEnabled = false; shout.text_image.exitT.addEventListener(MouseEvent.MOUSE_DOWN, exitShoutBox, false, 0, true); Rooms[roomTag].deleteArray.push(shout.text_image); Rooms[roomTag].deleteArray.push(_local5); } public function mouse_scroll_down(_arg1:MouseEvent):void{ Rooms[roomTag].text_image.text_field.scrollV--; } public function mouse_scroll_up(_arg1:MouseEvent):void{ Rooms[roomTag].text_image.text_field.scrollV++; } public function Conversation_Special(_arg1:Event):void{ if (shout.text_image.timer++ < 50){ return; }; shout.text_image.visible = true; if (shout.text_image.blur){ Bfilt.blurX--; Bfilt.blurY--; shout.text_image.filters = [Bfilt]; if (Bfilt.blurX == 2){ shout.text_image.blur = false; shout.text_image.visible = true; }; }; if (shout.count < shout.myText.length){ shout.text_image.text_field.htmlText = shout.myText.substring(0, shout.count); shout.count++; shout.text_image.text_field.scrollV = shout.text_image.text_field.maxScrollV; } else { shout.text_image.text_field.htmlText = shout.myText; _arg1.target.removeEventListener(Event.ENTER_FRAME, Conversation_Special); Rooms[roomTag].attack = true; removeMovie(Rooms[roomTag].text_image); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); }; if (((mouse_clicked) && (shout.text_image.text_field.hitTestPoint(mouseX, mouseY, true)))){ mouse_clicked = false; shout.text_image.text_field.htmlText = shout.myText; Bfilt.blurX = (Bfilt.blurY = 2); shout.text_image.filters = [Bfilt]; _arg1.target.removeEventListener(Event.ENTER_FRAME, Conversation_Special); Rooms[roomTag].attack = true; removeMovie(Rooms[roomTag].text_image); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); }; } public function mouseDrag(_arg1:MouseEvent):void{ if ((_arg1.target is SimpleButton)){ return; }; if ((_arg1.target is TextField)){ return; }; _arg1.target.startDrag(); _arg1.target.addEventListener(MouseEvent.MOUSE_UP, mouseStopDrag, false, 0, true); } public function mouseStopDrag(_arg1:MouseEvent):void{ _arg1.target.stopDrag(); _arg1.target.removeEventListener(MouseEvent.MOUSE_UP, mouseStopDrag); } public function exitMenu(_arg1:Event):void{ removeMovie(Rooms[roomTag].menuT); removeMovie(Rooms[roomTag].exitT); Rooms[roomTag].ready = true; if (stage.getChildByName("global_text")){ removeMovie(stage.getChildByName("global_text")); }; _arg1.target.removeEventListener(MouseEvent.MOUSE_DOWN, exitMenu); } public function Conversation(_arg1:Event):void{ if (shout.text_image.timer++ < 50){ return; }; shout.text_image.visible = true; if (shout.text_image.blur){ Bfilt.blurX--; Bfilt.blurY--; shout.text_image.filters = [Bfilt]; if (Bfilt.blurX == 2){ shout.text_image.blur = false; shout.text_image.visible = true; }; }; if (shout.count < shout.myText.length){ shout.text_image.text_field.htmlText = shout.myText.substring(0, shout.count); shout.count++; shout.text_image.text_field.scrollV = shout.text_image.text_field.maxScrollV; } else { shout.text_image.text_field.htmlText = shout.myText; _arg1.target.removeEventListener(Event.ENTER_FRAME, Conversation); }; if (((mouse_clicked) && (shout.text_image.text_field.hitTestPoint(mouseX, mouseY, true)))){ mouse_clicked = false; shout.text_image.text_field.htmlText = shout.myText; Bfilt.blurX = (Bfilt.blurY = 2); shout.text_image.filters = [Bfilt]; _arg1.target.removeEventListener(Event.ENTER_FRAME, Conversation); }; } public function room16(_arg1:Event):void{ var _local7:MovieClip; var _local8:MovieClip; var _local9:Array; if (Rooms[roomTag].first_time){ basicScene(0); _local7 = new RM16_curtain_mc(); _local7.x = 410; _local7.y = 150; _local7.alpha = 0.6; Rooms[roomTag].imageC = _local7; _local8 = new RM16_tv_mc(); _local8.x = 125; _local8.y = 190; _local8.stop(); Rooms[roomTag].imageD = _local8; Rooms[roomTag].curtainCLOSED = true; Rooms[roomTag].bodySeen = false; }; var _local2:Array = new Array(); var _local3:Rectangle = new Rectangle(350, 60, 105, 207); _local2.push(_local3); var _local4:Rectangle = new Rectangle(67, 22, 155, 130); _local2.push(_local4); var _local5:Rectangle = new Rectangle(114, 184, 65, 90); _local2.push(_local5); var _local6:Rectangle = new Rectangle(245, 360, 30, 30); _local2.push(_local6); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); if (Rooms[roomTag].curtainCLOSED){ Rooms[roomTag].imageC.gotoAndStop(1); } else { Rooms[roomTag].imageC.gotoAndStop(2); }; stage.addChild(Rooms[roomTag].imageC); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); if (Rooms[roomTag].bodySeen){ stage.addChild(Rooms[roomTag].imageD); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageD); }; stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); if (CHIMERA_MODE == 1){ _local9 = new Array(Rooms[roomTag].imageB, Rooms[roomTag].imageC, Rooms[roomTag].imageD); Fizzle(_local9, 0xFF0000); }; stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function tvROOM(_arg1:Event):void{ var _local2:MovieClip = MovieClip(_arg1.target); if (_local2.currentFrame == 20){ Mouse.show(); _local2.removeEventListener(Event.ENTER_FRAME, tvROOM); Go_To(18, 1, 0); }; } public function room16EVENTS(_arg1:Event):void{ var _local2:*; var _local3:MovieClip; var _local4:Sound; var _local5:Sound; var _local6:Sound; var _local7:Boolean; var _local8:Array; var _local9:Sound; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; if (CHIMERA_MODE == 1){ CHIMERA_COUNT++; }; if (CHIMERA_COUNT >= 100){ CHIMERA_COUNT = 0; _local3 = new chimera_X_mc(); Rooms[roomTag].imageZ = _local3; stage.addChild(Rooms[roomTag].imageZ); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageZ); _local4 = new chimera_charge_wav(); _local4.play(); _local5 = new herodie_wav(); _local5.play(); Retry(); return; }; if (Rooms[roomTag].bodySeen){ _local6 = new beep_wav(); _local6.play(); Rooms[roomTag].imageD.play(); Mouse.hide(); if (stage.getChildByName("inventory")){ stage.getChildByName("inventory").visible = false; }; Rooms[roomTag].imageD.addEventListener(Event.ENTER_FRAME, tvROOM, false, 0, true); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents); Rooms[roomTag].bodySeen = false; Rooms[14].chimera = (Rooms[14].borderTEXT = true); return; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local7 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local7); _local8 = new Array("WHITE SHEET", "MORGUE STORAGE", "PC", "0"); if (ITEM){ if (_local7){ if (_local8[_local2] == "0"){ continue; }; noEffect(_local8, _local2); break; }; }; if (_local7){ if (_local2 == 0){ if (Rooms[roomTag].curtainCLOSED){ if (mouse_clicked){ _local9 = new shower_curtain_wav(); _local9.play(); mouse_clicked = false; Rooms[roomTag].imageC.gotoAndStop(2); Rooms[roomTag].curtainCLOSED = false; break; } else { Text("Looks as if there's a small room behind here. Pull open the curtain?"); break; }; } else { if (mouse_clicked){ mouse_clicked = false; if (CHIMERA_MODE == 1){ Go_To(19, 7, 0); } else { Go_To(17, 7, 0); }; break; } else { if (CHIMERA_MODE == 1){ Text("Hide in here?"); } else { Text("Look closer?"); }; break; }; }; }; if (_local2 == 1){ if (CHIMERA_MODE == 1){ Text("All the compartments are locked- I better think of something else!"); } else { Text("Storage for bodies."); }; break; }; if (_local2 == 2){ if (((mouse_clicked) && ((!(CHIMERA_MODE) == 1)))){ mouse_clicked = false; Go_To(40, 7, 0); Text("Now is not the time!"); break; } else { Text("It's a personal computer. Activate?"); break; }; }; if (_local2 == 3){ if (mouse_clicked){ mouse_clicked = false; Go_To(12, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function Link_To():void{ var _local1:URLRequest = new URLRequest("http://www.youtube.com/watch?v=KGGF73TUDdE&feature=related"); navigateToURL(_local1); } public function staticTemp(_arg1:Event):void{ var _local2:int = int((Math.random() * int.MAX_VALUE)); Rooms[roomTag]._bitmapData.noise(_local2, 0, 0xFFFFFF, BitmapDataChannel.RED, true); } public function room17(_arg1:Event):void{ var _local6:Sound; var _local7:MovieClip; if (Rooms[roomTag].first_time){ basicScene(0); _local6 = new farewell_wav(); _local6.play(); _local7 = new border_text_mc(); Rooms[roomTag].borderImage = _local7; Rooms[roomTag].borderImage.stop(); Rooms[16].bodySeen = true; Rooms[roomTag].borderTEXT = true; }; var _local2:Array = new Array(); var _local3:Rectangle = new Rectangle(213, 41, 197, 219); _local2.push(_local3); var _local4:Rectangle = new Rectangle(245, 360, 30, 30); _local2.push(_local4); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); var _local5:Array = new Array(Rooms[roomTag].imageB); Fizzle3(_local5, 0); if (Rooms[roomTag].borderTEXT){ stage.addChild(Rooms[roomTag].borderImage); Rooms[roomTag].deleteArray.push(Rooms[roomTag].borderImage); }; stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room17EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Boolean; var _local4:Array; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; if (Rooms[roomTag].borderTEXT){ Rooms[roomTag].borderSTRING = myTextA4; Rooms[roomTag].count = 0; Rooms[roomTag].go = false; Rooms[roomTag].borderImage.play(); Rooms[roomTag].borderImage.exit.addEventListener(MouseEvent.CLICK, returnEvents2, false, 0, true); stage.addEventListener(Event.ENTER_FRAME, borderTEXT, false, 0, true); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents); Rooms[roomTag].borderTEXT = false; return; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local3 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local3); _local4 = new Array("JOHN", "0"); if (ITEM){ if (_local3){ if (_local4[_local2] == "0"){ continue; }; noEffect(_local4, _local2); break; }; }; if (_local3){ if (_local2 == 0){ Text("Poor soul. He's quite dead. By God it's a grotesque sight."); break; }; if (_local2 == 1){ if (mouse_clicked){ mouse_clicked = false; Go_To(16, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function reelRoll(_arg1:MouseEvent):void{ var _local8:Sound; var _local9:Sound; var _local2:MovieClip = MovieClip(_arg1.target); var _local3:Sound = new button2_wav(); _local3.play(); _local2.gotoAndStop(2); var _local4:String = _local2.name.substr(1, 1); var _local5:* = Rooms[roomTag][("tag" + _local4)]; ++_local5; if (_local5 > 9){ _local5 = 0; }; Rooms[roomTag][("tag" + _local4)] = _local5; var _local6:* = Rooms[roomTag].imageB; _local6[("text" + _local4)].text = _local5; var _local7:String = (((String(Rooms[roomTag].tag1) + String(Rooms[roomTag].tag2)) + String(Rooms[roomTag].tag3)) + String(Rooms[roomTag].tag4)); Rooms[roomTag].timer = 2; if ((((_local7 == PASSCODE)) && (!(Rooms[roomTag].code)))){ _local8 = new button_wav(); _local8.play(); _local9 = new shutter_wav(); _local9.play(); Text("Something has happened!"); Rooms[roomTag].machineON = true; Rooms[roomTag].code = true; Rooms[roomTag].timer = 20; _local7 = "0000"; }; } public function room18(_arg1:Event):void{ var _local7:*; var _local8:MovieClip; if (Rooms[roomTag].first_time){ basicScene(0); Rooms[roomTag].activated = false; _local7 = new MovieClip(); Rooms[roomTag].static_mc = _local7; Rooms[roomTag].timer2 = 0; Rooms[roomTag]._bitmapData = new BitmapData(550, 400); Rooms[roomTag]._bitmap = new Bitmap(Rooms[roomTag]._bitmapData); _local8 = new RM18_drop_mc(); Rooms[roomTag].imageC = _local8; Rooms[roomTag].imageC.x = 0x0101; Rooms[roomTag].imageC.y = 109; Rooms[roomTag].imageC.stop(); Rooms[roomTag].dropIN = false; }; var _local2:Sound = new static_wav(); var _local3:SoundChannel = _local2.play(0, 99); Rooms[roomTag].audio = _local3; var _local4:Array = new Array(); var _local5:Rectangle = new Rectangle(245, 360, 30, 30); _local4.push(_local5); Rooms[roomTag].mouseEvents = _local4; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); Tint(Rooms[roomTag].static_mc, 0xFF00, 0.5); Rooms[roomTag].static_mc.addChild(Rooms[roomTag]._bitmap); Rooms[roomTag].static_mc.alpha = 0.5; stage.addChild(Rooms[roomTag].static_mc); Rooms[roomTag].deleteArray.push(Rooms[roomTag].static_mc); Rooms[roomTag].static_mc.addEventListener(Event.ENTER_FRAME, staticTemp, false, 0, true); var _local6:Array = new Array(Rooms[roomTag].imageB); Fizzle(_local6, 0xFF00); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); } public function room18EVENTS(_arg1:Event):void{ Rooms[roomTag].timer2++; if ((((Rooms[roomTag].timer2 == 100)) && ((Rooms[roomTag].dropIN == false)))){ (Rooms[roomTag].dropIN == true); Rooms[roomTag].imageB.addChild(Rooms[roomTag].imageC); Rooms[roomTag].imageC.play(); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); }; Rooms[roomTag].imageB.filters = [Bfilt]; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; Rooms[roomTag].timer = randRange(1, 25); Bfilt.blurX = (Bfilt.blurY = randRange(2, 8)); if (Rooms[roomTag].imageC.currentFrame == Rooms[roomTag].imageC.totalFrames){ Rooms[roomTag].audio.stop(); Rooms[roomTag].activated = true; Go_To(16, 1, 0); Rooms[roomTag].static_mc.removeEventListener(Event.ENTER_FRAME, staticTemp); Bfilt.blurX = (Bfilt.blurY = 10); if (stage.getChildByName("inventory")){ stage.getChildByName("inventory").visible = true; }; }; } public function room19(_arg1:Event):void{ var _local5:MovieClip; if (Rooms[roomTag].first_time){ basicScene(0); _local5 = new chimera_curtain_mc(); Rooms[roomTag].imageC = _local5; }; Rooms[roomTag].imageC.x = 30; Rooms[roomTag].imageC.y = 180; Rooms[roomTag].imageC.stop(); Rooms[roomTag].imageC.scaler = 2; Rooms[roomTag].imageC.scaleX = -(Rooms[roomTag].imageC.scaler); Rooms[roomTag].imageC.scaleY = Rooms[roomTag].imageC.scaler; Rooms[roomTag].imageC.alpha = 0.1; Bfilt.blurX = 4; Bfilt.blurY = 4; Rooms[roomTag].imageC.filters = [Bfilt]; Rooms[roomTag].ready = false; Rooms[roomTag].readyTIMER = 0; Rooms[roomTag].readyTIMER2 = 0; Rooms[roomTag].readyTIMER3 = 5; Rooms[roomTag].danger = true; Rooms[roomTag].curtainOPEN = false; Rooms[roomTag].walk = RIGHT; Rooms[roomTag].speed = 2; Rooms[roomTag].chimeraTIMER = randRange(0, 60); Rooms[roomTag].imageB.alpha = 0.5; Rooms[roomTag].imageB.flap.buttonMode = true; Rooms[roomTag].rec = new Rectangle((0.5 + (Rooms[roomTag].imageB.flap.width / 2)), (Rooms[roomTag].imageB.flap.height / 2), Rooms[roomTag].imageB.flap.width, 0); Rooms[roomTag].fuckingSTOPDRAG = Rooms[roomTag].imageB.flap.x; var _local2:Array = new Array(); var _local3:Rectangle = new Rectangle(129, 10, 302, 361); _local2.push(_local3); var _local4:Rectangle = new Rectangle(245, 360, 30, 30); _local2.push(_local4); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageC); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room19EVENTS(_arg1:Event):void{ var _local2:*; var _local3:MovieClip; var _local4:Sound; var _local5:Sound; var _local6:*; var _local7:Boolean; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; if (Rooms[roomTag].imageC.alpha < 1){ Rooms[roomTag].imageC.alpha = (Rooms[roomTag].imageC.alpha + 0.1); }; Rooms[roomTag].imageC.x = (Rooms[roomTag].imageC.x + (Rooms[roomTag].walk * Rooms[roomTag].speed)); if (!(Rooms[roomTag].walk) == STAND){ Rooms[roomTag].imageC.play(); } else { Rooms[roomTag].imageC.stop(); }; if (Rooms[roomTag].walk == LEFT){ Rooms[roomTag].imageC.scaleX = Rooms[roomTag].imageC.scaler; }; if (Rooms[roomTag].walk == RIGHT){ Rooms[roomTag].imageC.scaleX = -(Rooms[roomTag].imageC.scaler); }; if (Rooms[roomTag].chimeraTIMER-- <= 0){ Rooms[roomTag].walk = randRange(-1, 2); if (Rooms[roomTag].imageC.x < 60){ Rooms[roomTag].walk = RIGHT; }; if (Rooms[roomTag].imageC.x > 440){ Rooms[roomTag].walk = LEFT; }; Rooms[roomTag].speed = randRange(3, 10); Rooms[roomTag].chimeraTIMER = randRange(0, 60); }; Tint(Rooms[roomTag].imageC, 0xFF00, 0); if (Rooms[roomTag].imageC.x > (Rooms[roomTag].imageC.width / 3)){ if (Rooms[roomTag].imageC.x < (Rooms[roomTag].imageB.flap.x - 50)){ _local3 = new chimera_X_mc(); Rooms[roomTag].imageZ = _local3; stage.addChild(Rooms[roomTag].imageZ); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageZ); Rooms[roomTag].imageB.flap.stopDrag(); Rooms[roomTag].imageB.flap.x = Rooms[roomTag].fuckingSTOPDRAG; _local4 = new chimera_charge_wav(); _local4.play(); _local5 = new herodie_wav(); _local5.play(); Retry(); return; }; }; if ((((Rooms[roomTag].imageB.flap.x > 233)) && (!(Rooms[roomTag].ready)))){ Rooms[roomTag].ready = true; }; if (Rooms[roomTag].imageB.flap.x < 233){ Rooms[roomTag].ready = false; Rooms[roomTag].readyTIMER3 = 5; }; if (Rooms[roomTag].ready){ _local6 = Math.floor((getTimer() / 1000)); Rooms[roomTag].readyTIMER = (_local6 - Rooms[roomTag].readyTIMER2); Rooms[roomTag].readyTIMER2 = _local6; if (Rooms[roomTag].readyTIMER > 0){ Rooms[roomTag].readyTIMER3--; }; Text(("I'll make a run for it in: " + Rooms[roomTag].readyTIMER3)); if (Rooms[roomTag].readyTIMER3 <= 0){ Text("I've made it!"); CHIMERA_MODE = 2; CHIMERA_COUNT = 0; Go_To(12, 7, 0); }; }; if (((Rooms[roomTag].imageB.flap.hitTestPoint(mouseX, mouseY, true)) && (mouse_clicked))){ Rooms[roomTag].imageB.flap.startDrag(false, Rooms[roomTag].rec); }; if (!mouse_clicked){ Rooms[roomTag].imageB.flap.stopDrag(); if (Rooms[roomTag].imageB.flap.x < (Rooms[roomTag].fuckingSTOPDRAG + 1)){ Rooms[roomTag].imageB.flap.x = Rooms[roomTag].fuckingSTOPDRAG; }; }; if (Rooms[roomTag].imageB.flap.hitTestPoint(mouseX, mouseY, true)){ if (!Rooms[roomTag].ready){ Text("If he sees me I'm done for.(Drag open the curtain using the mouse)"); return; }; }; if (Rooms[roomTag].ready){ return; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local7 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local7); if (_local7){ if (_local2 == 0){ Text("He hasn't found me yet but it's only a matter of time. I'll have to sneak out of this room."); break; }; }; }; } public function room20(_arg1:Event):void{ var _local8:MovieClip; var _local9:Sound; if (Rooms[roomTag].first_time){ basicScene(0); Rooms[roomTag].puzzle_done = false; Rooms[roomTag].splitter = false; _local8 = new RM20_splitter_mc(); _local8.x = 275; _local8.y = 200; Rooms[roomTag].imageC = _local8; Rooms[roomTag].imageB.safe.mouseEnabled = false; Rooms[roomTag].imageB.safe.visible = false; }; Rooms[roomTag].imageC.gotoAndStop(1); var _local2:Array = new Array(); var _local3:Rectangle = new Rectangle(152, 109, 83, 89); _local2.push(_local3); var _local4:Rectangle = new Rectangle(214, 0, 83, 89); _local2.push(_local4); var _local5:Rectangle = new Rectangle(314, 91, 139, 150); _local2.push(_local5); var _local6:Rectangle = new Rectangle(38, 228, 139, 150); _local2.push(_local6); var _local7:Rectangle = new Rectangle(245, 360, 30, 30); _local2.push(_local7); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); if (Rooms[roomTag].splitter){ _local9 = new splitter_wav(); _local9.play(); stage.addChild(Rooms[roomTag].imageC); Rooms[roomTag].imageC.play(); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); } else { stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); }; stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room20EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Boolean; var _local4:Array; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; if (!Rooms[roomTag].puzzle_done){ Rooms[roomTag].imageB.safe.visible = false; } else { Rooms[roomTag].imageB.safe.visible = true; }; if (Rooms[roomTag].splitter){ if (Rooms[roomTag].imageC.currentFrame == Rooms[roomTag].imageC.totalFrames){ Rooms[roomTag].imageC.stop(); Rooms[roomTag].splitter = false; Retry(); }; return; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local3 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local3); _local4 = new Array("SAFE", "HOLE", "ROTTING WALLS", "FLOORBOARDS", "0"); if (ITEM){ if (_local3){ if (_local4[_local2] == "0"){ continue; }; noEffect(_local4, _local2); break; }; }; if (_local3){ if (_local2 == 0){ if (!Rooms[roomTag].puzzle_done){ if (mouse_clicked){ mouse_clicked = false; Go_To(21, 7, 0); break; } else { Text("From here it looks to be a wall safe. Investigate?"); break; }; } else { if (mouse_clicked){ mouse_clicked = false; Go_To(22, 7, 0); break; } else { Text("It's open. Look closer?"); break; }; }; }; if (_local2 == 1){ Text("There's a hole here where that creature came from earlier. It's too high for me to check."); break; }; if (_local2 == 2){ Text("These walls are nothing but messy clumps of wet rot."); break; }; if (_local2 == 3){ Text("Looks dark from here but there are floorboards down there."); break; }; if (_local2 == 4){ if (mouse_clicked){ mouse_clicked = false; Go_To(14, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function room21(_arg1:Event):void{ var _local6:MovieClip; if (Rooms[roomTag].first_time){ basicScene(0); Rooms[roomTag].back.x = 160; _local6 = new glass_puzzle_mc(); _local6.x = 231; _local6.y = 200; _local6.mouseEnabled = false; _local6.mouseChildren = false; Rooms[roomTag].imageC = _local6; }; var _local2:Array = new Array(); var _local3:Rectangle = new Rectangle(322, 159, 102, 83); _local2.push(_local3); var _local4:Rectangle = new Rectangle(129, 311, 189, 32); _local2.push(_local4); var _local5:Rectangle = new Rectangle(145, 360, 30, 30); _local2.push(_local5); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); Puzzle.go(225, 195, 0.4, "puzzle1", stage, this, Rooms[roomTag].deleteArray); stage.addChild(Rooms[roomTag].imageC); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room21EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Sound; var _local4:Sound; var _local5:Boolean; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; if (Puzzle.winner){ _local3 = new safetybox_wav(); _local3.play(); Puzzle.destroy(this); mouse_clicked = false; Rooms[20].puzzle_done = true; Go_To(20, 7, 0); return; }; if (Puzzle.loser){ _local4 = new alarm_wav(); _local4.play(); Puzzle.destroy(this); mouse_clicked = false; Puzzle.loser = false; Rooms[20].puzzle_done = false; Rooms[20].splitter = true; Go_To(20, 3, 0); return; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local5 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local5); if (_local5){ if (_local2 == 0){ Text(("It says '*INSTRUCTIONS* - I see only the golden hue that rises." + "Cloud my skies with that which exists only in shadow will spell never a dawn nor tomorrow for thee'")); break; }; if (_local2 == 1){ Text("Odd name for a wall safe..?"); break; }; if (_local2 == 2){ if (mouse_clicked){ Puzzle.destroy(this); mouse_clicked = false; Go_To(20, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function room22(_arg1:Event):void{ var _local7:MovieClip; if (Rooms[roomTag].first_time){ basicScene(0); _local7 = new room22_torch_mc(); _local7.x = 100; _local7.y = 150; _local7.name = "FLASHLIGHT"; _local7.tag = "torchICON_mc"; Rooms[roomTag].imageC = _local7; Rooms[roomTag].torchTAKEN = false; }; var _local2:Array = new Array(); var _local3:Rectangle = new Rectangle(100, 160, 54, 160); _local2.push(_local3); var _local4:Rectangle = new Rectangle(190, 50, 200, 200); _local2.push(_local4); var _local5:Rectangle = new Rectangle(368, 225, 169, 145); _local2.push(_local5); var _local6:Rectangle = new Rectangle(245, 360, 30, 30); _local2.push(_local6); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); if (!Rooms[roomTag].torchTAKEN){ stage.addChild(Rooms[roomTag].imageC); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); }; stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room22EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Boolean; var _local4:Sound; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local3 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local3); if (_local3){ if ((((_local2 == 0)) && (!(Rooms[roomTag].torchTAKEN)))){ if (mouse_clicked){ GameShedAchievement.ActivateAchievement(2722621555); Rooms[roomTag].torchTAKEN = true; Rooms[roomTag].imageC.addEventListener(Event.ENTER_FRAME, getItem, false, 0, true); break; } else { Text("I've found a flashlight. Take?"); break; }; }; if (_local2 == 1){ Text("A spider has made itself a nest within this skull."); break; }; if (_local2 == 2){ if (mouse_clicked){ mouse_clicked = false; Pop_Up_Paper("newspaper_mc", myTextA2B); _local4 = new pageturn_wav(); _local4.play(); break; } else { Text("A rolled-up newspaper. Looks like it was put here recently. Read?"); break; }; }; if (_local2 == 3){ if (mouse_clicked){ mouse_clicked = false; Go_To(20, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function room23(_arg1:Event):void{ var _local2:Sound; var _local3:SoundChannel; var _local4:Array; var _local5:Rectangle; var _local6:Rectangle; var _local7:Rectangle; var _local8:Rectangle; var _local9:Rectangle; var _local10:Rectangle; var _local11:Rectangle; var _local12:Sound; var _local13:SoundChannel; var _local14:MovieClip; var _local15:MovieClip; var _local16:MovieClip; var _local17:Sound; if (Rooms[roomTag].first_time){ basicScene(0); Rooms[roomTag].imageB.light.visible = false; Rooms[roomTag].fuse = false; Rooms[roomTag].acid = false; _local12 = new heartbeat_wav(); _local13 = _local12.play(0, 99); Rooms[roomTag].audio = _local13; _local14 = new rm23_lars_mc(); _local14.x = 221; _local14.y = 165; Rooms[roomTag].imageC = _local14; _local15 = new RM23_knife_mc(); _local15.x = 139; _local15.y = 347; _local15.name = "THROWING KNIFE"; _local15.tag = "knifeICON_mc"; Rooms[roomTag].imageD = _local15; Rooms[roomTag].knifeTAKEN = false; Tint(Rooms[roomTag].imageB, 0, 1); Tint(Rooms[roomTag].imageC, 0, 1); Tint(Rooms[roomTag].imageD, 0, 1); Tint(Rooms[roomTag].back, 0, 1); _local16 = new border_text_mc(); Rooms[roomTag].borderImage = _local16; Rooms[roomTag].borderImage.stop(); Rooms[roomTag].borderGO = false; }; if (Rooms[roomTag].acid){ Rooms[roomTag].acid = false; _local17 = new sarcosusACID_wav(); _local17.play(); }; Rooms[roomTag].torchON = false; Rooms[roomTag].torchWORKING = false; _local2 = new rope_wav(); _local3 = _local2.play(0, 99); Rooms[roomTag].audioB = _local3; _local4 = new Array(); _local5 = new Rectangle(15, 134, 57, 41); _local4.push(_local5); _local6 = new Rectangle(266, 56, 93, 62); _local4.push(_local6); _local7 = new Rectangle(137, 62, 103, 192); _local4.push(_local7); _local8 = new Rectangle(114, 321, 57, 41); _local4.push(_local8); _local9 = new Rectangle(107, 48, 371, 297); _local4.push(_local9); _local10 = new Rectangle(327, 123, 100, 115); _local4.push(_local10); _local11 = new Rectangle(245, 360, 30, 30); _local4.push(_local11); Rooms[roomTag].mouseEvents = _local4; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); Rooms[roomTag].imageB.addChild(Rooms[roomTag].imageC); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); if (!Rooms[roomTag].knifeTAKEN){ Rooms[roomTag].imageB.addChild(Rooms[roomTag].imageD); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageD); }; Rooms[roomTag].imageB.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room23EVENTS(_arg1:Event):void{ var _local2:*; var _local3:MovieClip; var _local4:Boolean; var _local5:Array; var _local6:Sound; var _local7:Sound; var _local8:*; if (Rooms[roomTag].imageB.alpha < 1){ Rooms[roomTag].imageB.alpha = (Rooms[roomTag].imageB.alpha + 0.05); }; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; Rooms[roomTag].imageB.alpha = 1; if (Rooms[roomTag].borderGO){ Rooms[roomTag].borderGO = false; stage.addChild(Rooms[roomTag].borderImage); Rooms[roomTag].deleteArray.push(Rooms[roomTag].borderImage); }; if (Rooms[roomTag].borderTEXT){ Rooms[roomTag].borderSTRING = myTextA6; Rooms[roomTag].count = 0; Rooms[roomTag].go = false; Rooms[roomTag].borderImage.play(); Rooms[roomTag].borderImage.exit.addEventListener(MouseEvent.CLICK, returnEvents2, false, 0, true); stage.addEventListener(Event.ENTER_FRAME, borderTEXT, false, 0, true); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents); Rooms[roomTag].borderTEXT = false; return; }; if (Rooms[roomTag].torchON){ if (!Rooms[roomTag].torchWORKING){ Mouse.hide(); Rooms[roomTag].torchWORKING = true; _local3 = new flashlightBABY_mc(); stage.addChild(_local3); Tint(Rooms[roomTag].imageB, 0, 0); Tint(Rooms[roomTag].imageC, 0, 0); Tint(Rooms[roomTag].imageD, 0, 0); Tint(Rooms[roomTag].back, 0, 0); Rooms[roomTag].imageB.mask = _local3.mask_mc; _local3.startDrag(true); Rooms[roomTag].imageE = _local3; }; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local4 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local4); _local5 = new Array("FUSEBOX", "SIGN", "LARS", "0", "0", "0"); if (ITEM){ if (_local4){ if ((((_local5[_local2] == "0")) || (!(Rooms[roomTag].fuse)))){ continue; }; noEffect(_local5, _local2); break; }; }; if (_local4){ if (_local2 == 0){ if (Rooms[roomTag].fuse){ Text("It's on now, no need to use the flashlight for the time being."); break; } else { if (Rooms[roomTag].torchON){ if (mouse_clicked){ Rooms[roomTag].audio.stop(); _local6 = new lighton_wav(); _local6.play(); _local7 = new click_wav(); _local7.play(); mouse_clicked = false; Rooms[roomTag].fuse = true; Rooms[roomTag].imageB.light.visible = true; Rooms[roomTag].timer = 20; Rooms[roomTag].imageB.alpha = 0; Earthquake.go(Rooms[roomTag].imageB, 10, 1); Mouse.show(); Rooms[roomTag].imageB.mask = null; Rooms[roomTag].torchON = false; Rooms[roomTag].torchWORKING = false; removeMovie(Rooms[roomTag].imageE); Rooms[roomTag].borderGO = true; Rooms[roomTag].borderTEXT = true; for (_local8 in itemsInInventory) { if (itemsInInventory[_local8].name == "FLASHLIGHT"){ Tint(itemsInInventory[_local8], 0, 0); }; }; break; } else { Text("This is what I was looking for- a fusebox! There's a lever. Pull it?"); break; }; }; }; }; if (_local2 == 1){ if (Rooms[roomTag].fuse){ Text("WISHINGTREE PYSCHIATRIC HOSPITAL. So that's what this place is. An abandoned asylum."); break; }; }; if (_local2 == 2){ if (Rooms[roomTag].fuse){ Text("Lars...I'm so sorry my friend. I hope you passed quickly."); break; }; }; if (_local2 == 3){ if (Rooms[roomTag].fuse){ if (!Rooms[roomTag].knifeTAKEN){ if (mouse_clicked){ Rooms[roomTag].knifeTAKEN = true; Rooms[roomTag].imageD.addEventListener(Event.ENTER_FRAME, getItem, false, 0, true); break; } else { Text("There's a sizeable throwing knife here. Take?"); break; }; }; }; }; if (_local2 == 4){ if (((!(Rooms[roomTag].fuse)) && (!(Rooms[roomTag].torchON)))){ Text("It's so dark. I better use the flashlight."); break; }; }; if (_local2 == 5){ if (!Rooms[roomTag].fuse){ break; }; if (mouse_clicked){ Rooms[roomTag].audioB.stop(); mouse_clicked = false; Go_To(26, 7, 0); break; } else { Text("Continue down the hallway?"); break; }; }; if (_local2 == 6){ if (!Rooms[roomTag].fuse){ break; }; if (mouse_clicked){ Rooms[roomTag].audioB.stop(); mouse_clicked = false; Go_To(14, 7, 0); break; } else { Text("CLIMB THE LADDER BACK TO THE 2ND FLOOR?"); break; }; }; }; }; } public function room24(_arg1:Event):void{ var _local2:Array; var _local3:Rectangle; var _local4:Rectangle; var _local5:Rectangle; var _local6:Rectangle; var _local7:MovieClip; if (Rooms[roomTag].first_time){ basicScene(0); Rooms[roomTag].capOPEN = false; Rooms[roomTag].acidUSED = false; _local7 = new rm24_cap_mc(); _local7.x = 202; _local7.y = 232; Rooms[roomTag].imageC = _local7; }; _local2 = new Array(); _local3 = new Rectangle(188, 219, 36, 42); _local2.push(_local3); _local4 = new Rectangle(91, 109, 29, 253); _local2.push(_local4); _local5 = new Rectangle(317, 126, 136, 218); _local2.push(_local5); _local6 = new Rectangle(245, 360, 30, 30); _local2.push(_local6); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); if (!Rooms[roomTag].capOPEN){ stage.addChild(Rooms[roomTag].imageC); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); }; stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room24EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Boolean; var _local4:Array; var _local5:Sound; var _local6:Sound; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local3 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local3); _local4 = new Array("WATER PUMP", "DOOR", "PIPING", "0"); if (ITEM){ if (_local3){ if (_local4[_local2] == "0"){ continue; }; if (_local4[_local2] == "WATER PUMP"){ if (mouse_clicked){ if ((((((ITEM_IN_USE.name == "ACID")) && (Rooms[roomTag].capOPEN))) && (!(Rooms[roomTag].acidUSED)))){ _local5 = new collect_wav(); _local5.play(); _local6 = new acid_wav(); _local6.play(); Rooms[roomTag].acidUSED = true; mouse_clicked = false; Rooms[roomTag].timer = 20; Rooms[23].acid = true; Rooms[roomTag].doorOPEN = true; Text("I've poisoned the water supply..."); Go_To(24, 7, 0); break; }; }; }; noEffect(_local4, _local2); break; }; }; if (_local3){ if (_local2 == 0){ if (!Rooms[roomTag].capOPEN){ if (mouse_clicked){ mouse_clicked = false; Rooms[roomTag].capOPEN = true; removeMovie(Rooms[roomTag].imageC); } else { Text("Remove the cap on this water pump?"); }; break; } else { Text("There's filter access to the water supply here."); break; }; }; if (_local2 == 1){ if (Rooms[25].rifleTAKEN){ Text("I think it's better to stay as from away from him as possible."); break; }; if (mouse_clicked){ mouse_clicked = false; Go_To(25, 7, 0); break; } else { Text("There's light coming from this entrance. Proceed through?"); break; }; }; if (_local2 == 2){ Text("Just a mess of piping. Nothing important."); break; }; if (_local2 == 3){ if (mouse_clicked){ mouse_clicked = false; Go_To(3, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function FadeFromBlack(_arg1:Event):void{ var _local2:MovieClip; _local2 = MovieClip(_arg1.target); _local2.alphaV = (_local2.alphaV - 0.05); Tint(_local2, 0, _local2.alphaV); if (_local2.alphaV <= 0){ Tint(_local2, 0, 0); _local2.removeEventListener(Event.ENTER_FRAME, FadeFromBlack); }; } public function spRemove(_arg1:Event):void{ var _local2:MovieClip; _local2 = MovieClip(_arg1.target); if (_local2.ttimer-- <= 0){ removeMovie(_local2); _local2.removeEventListener(Event.ENTER_FRAME, spRemove); }; } public function room25(_arg1:Event):void{ var _local2:Array; var _local3:Rectangle; var _local4:Rectangle; var _local5:Rectangle; var _local6:Rectangle; var _local7:MovieClip; var _local8:MovieClip; var _local9:MovieClip; var _local10:MovieClip; if (Rooms[roomTag].first_time){ basicScene(0); Rooms[roomTag].rifleTAKEN = false; Rooms[roomTag].monsterAPPEAR = false; Rooms[roomTag].ctu = false; _local7 = new rm25window_mc(); _local7.x = 265; _local7.y = 120; Rooms[roomTag].imageC = _local7; _local8 = new rm25_rifle_mc(); _local8.x = 163; _local8.y = 293; _local8.name = "AIR RIFLE"; _local8.tag = "rifleICON_mc"; Rooms[roomTag].imageD = _local8; _local9 = new rm25monster_mc(); _local9.x = 242; _local9.y = 184; Rooms[roomTag].imageE = _local9; _local10 = new rm25_smash_mc(); Rooms[roomTag].imageF = _local10; Rooms[roomTag].text_image = new text_frame_mc(); }; _local2 = new Array(); _local3 = new Rectangle(188, 10, 153, 216); _local2.push(_local3); _local4 = new Rectangle(129, 197, 53, 184); _local2.push(_local4); _local5 = new Rectangle(229, 246, 86, 98); _local2.push(_local5); _local6 = new Rectangle(245, 360, 30, 30); _local2.push(_local6); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); if (!Rooms[roomTag].rifleTAKEN){ stage.addChild(Rooms[roomTag].imageC); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); }; if (!Rooms[roomTag].monsterAPPEAR){ stage.addChild(Rooms[roomTag].imageD); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageD); }; stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room25EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Sound; var _local4:Sound; var _local5:Sound; var _local6:Boolean; var _local7:Array; var _local8:Sound; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; if (((Rooms[roomTag].ctu) && (!(Rooms[roomTag].monsterAPPEAR)))){ Rooms[roomTag].monsterAPPEAR = true; stage.addChild(Rooms[roomTag].imageE); Rooms[roomTag].imageE.alphaV = 1; Rooms[roomTag].imageE.addEventListener(Event.ENTER_FRAME, FadeFromBlack, false, 0, true); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageE); stage.addChild(Rooms[roomTag].imageF); Rooms[roomTag].imageF.ttimer = 7; Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageF); Rooms[roomTag].imageF.addEventListener(Event.ENTER_FRAME, spRemove, false, 0, true); _local3 = new shocker_wav(); _local3.play(); _local4 = new glass_wav(); _local4.play(); _local5 = new ctu_wav(); _local5.play(); stage.addChild(Rooms[roomTag].text_image); Rooms[roomTag].deleteArray.push(Rooms[roomTag].text_image); EarthQuake_Array.push(Rooms[roomTag].imageB, Rooms[roomTag].imageE, Rooms[roomTag].imageF); Earthquake.go(Rooms[roomTag].imageB, 15, 1, EarthQuake_Array); Start_ShoutBox(Rooms[roomTag].text_image, 5, 70, myTextDIALOGUE5); Rooms[roomTag].targetRoom = 24; return; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local6 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local6); _local7 = new Array("WINDOW", "0", "0"); if (ITEM){ if (_local6){ if (_local7[_local2] == "0"){ continue; }; noEffect(_local7, _local2); break; }; }; if (_local6){ if (_local2 == 0){ Text("Another sturdy window."); break; }; if (_local2 == 1){ if (!Rooms[roomTag].rifleTAKEN){ if (mouse_clicked){ mouse_clicked = false; Rooms[roomTag].rifleTAKEN = true; Rooms[roomTag].ctu = true; Rooms[roomTag].imageD.addEventListener(Event.ENTER_FRAME, getItem, false, 0, true); } else { Text("Damn. It's only an air rifle. .22 caliber. Still- I bet it packs a punch. It's loaded with a few rounds and could be useful. Take anyway?"); }; break; }; }; if (_local2 == 2){ if (mouse_clicked){ mouse_clicked = false; Pop_Up_Paper("newspaper_mc", myTextA3B); _local8 = new pageturn_wav(); _local8.play(); break; } else { Text("Faded cut-outs. Something is written about me here. Read?"); break; }; }; if (_local2 == 3){ if (mouse_clicked){ mouse_clicked = false; Go_To(24, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function room26(_arg1:Event):void{ var _local2:Array; var _local3:Rectangle; var _local4:Rectangle; var _local5:Rectangle; var _local6:BlurFilter; var _local7:MovieClip; var _local8:MovieClip; var _local9:Sound; var _local10:SoundChannel; if (Rooms[roomTag].first_time){ basicScene(0); Rooms[roomTag].specterSHOT = false; Rooms[roomTag].useRIFLE = false; Rooms[roomTag].rifleON = false; Rooms[roomTag].firstShot = false; Rooms[roomTag].scaleUP = 1; Rooms[roomTag].getMask = false; Rooms[roomTag].specterDEAD = false; Rooms[roomTag].done = false; _local6 = new BlurFilter(); _local6.quality = BitmapFilterQuality.LOW; Rooms[roomTag].qBfilt = _local6; _local7 = new rm26_specter_mc(); _local7.x = 170; _local7.y = 211; Rooms[roomTag].imageC = _local7; _local7.startPOS = Rooms[roomTag].imageC.x; _local7.finishPOS = (Rooms[roomTag].imageC.x + 210); _local7.killable = false; Rooms[roomTag].imageB.gmask.mouseEnabled = false; _local8 = new BACK_mc(); _local8.x = 530; _local8.y = 280; _local8.rotation = -90; Rooms[roomTag].back2 = _local8; }; _local2 = new Array(); _local3 = new Rectangle(236, 142, 97, 143); _local2.push(_local3); _local4 = new Rectangle(510, 265, 30, 30); _local2.push(_local4); _local5 = new Rectangle(245, 360, 30, 30); _local2.push(_local5); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); if (!Rooms[roomTag].specterDEAD){ _local9 = new specter_static_wav(); _local10 = _local9.play(0, 99); Rooms[roomTag].audio = _local10; Rooms[roomTag].imageC.x = 170; Rooms[roomTag].imageC.y = 211; Bfilt.blurX = 5; Bfilt.blurY = 5; stage.addChild(Rooms[roomTag].imageC); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); Rooms[roomTag].imageC.scaleX = (Rooms[roomTag].imageC.scaleY = 1); Rooms[roomTag].imageC.play(); Rooms[roomTag].imageC.filters = [Bfilt]; Rooms[roomTag].imageC.directionX = 1; Rooms[roomTag].imageC.speed = randRange(2, 4); Rooms[roomTag].imageC.moving = true; Rooms[roomTag].imageC.timer = randRange(10, 40); Rooms[roomTag].imageC.hit = false; Rooms[roomTag].imageC.hitCount = 0; Rooms[roomTag].imageC.totalHits = 0; Rooms[roomTag].imageC.hitBOX.mouseEnabled = true; Rooms[roomTag].imageC.mask = Rooms[roomTag].imageB.gmask; Rooms[roomTag].imageC.maskY = Rooms[roomTag].imageB.gmask; Rooms[roomTag].imageC.addEventListener(Event.ENTER_FRAME, specterAI, false, 0, true); }; stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); stage.addChild(Rooms[roomTag].back2); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back2); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function specterAI(_arg1:Event):void{ var _local2:MovieClip; var _local3:MovieClip; var _local4:ExplodeDisolve; var _local5:Sound; var _local6:MovieClip; var _local7:Sound; var _local8:Sound; _local2 = MovieClip(_arg1.currentTarget); Tint(Rooms[roomTag].imageB, 0xFFFFFF, (randRange(5, 15) / 100)); if (((_local2.tinthit) && ((_local2.hitCount < 5)))){ Tint(_local2, 0, 0); _local2.tinthit = false; }; if (_local2.hit){ _local2.hit = false; _local2.hitCount++; _local2.totalHits++; _local2.tinthit = true; Tint(Rooms[roomTag].imageC, 0xFFFFFF, 1); if (_local2.totalHits >= 13){ Tint(Rooms[roomTag].imageB, 0, 0); _local3 = new rm26_flash_mc(); stage.addChild(_local3); _local3.addEventListener(Event.ENTER_FRAME, removeAtFinish, false, 0, true); _local4 = new ExplodeDisolve(); stage.addChild(_local4); _local4.init(_local2, this); Rooms[roomTag].imageC.removeEventListener(Event.ENTER_FRAME, specterAI); removeMovie(_local2); EarthQuake_Array.push(Rooms[roomTag].imageB); Earthquake.go(Rooms[roomTag].imageB, 15, 1, EarthQuake_Array); _local5 = new specter_die_wav(); _local5.play(); }; }; if (Rooms[roomTag].firstShot){ if (!Rooms[roomTag].getMask){ Rooms[roomTag].audio.stop(); Rooms[roomTag].qBfilt.blurX = 2; Rooms[roomTag].qBfilt.blurY = 2; _local2.filters = [Rooms[roomTag].qBfilt]; Rooms[roomTag].getMask = true; _local2.mask = null; _local2.gotoAndStop(1); removeMovie(Rooms[roomTag].imageB.gmask); }; Rooms[roomTag].imageC.scaleX = (Rooms[roomTag].imageC.scaleY = Rooms[roomTag].scaleUP); if ((_local2.alpha = (_local2.alpha - 0.075)) <= 0){ if (_local2.timer > 0){ _local2.timer--; } else { if (_local2.scaleX > 2){ _local6 = new RM26_specterkill_mc(); Rooms[roomTag].imageZ = _local6; stage.addChild(Rooms[roomTag].imageZ); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageZ); _local2.removeEventListener(Event.ENTER_FRAME, specterAI); removeMovie(_local2); Rooms[roomTag].specterSHOT = false; Rooms[roomTag].useRIFLE = false; Rooms[roomTag].rifleON = false; Rooms[roomTag].firstShot = false; Rooms[roomTag].scaleUP = 1; Rooms[roomTag].getMask = false; Rooms[roomTag].specterDEAD = false; Rooms[roomTag].done = false; deactivateRifle(); _local7 = new specter_attack_wav(); _local7.play(); Retry(); return; }; Bfilt.blurX--; Bfilt.blurY--; Rooms[roomTag].imageC.filters = [Bfilt]; Rooms[roomTag].scaleUP = (Rooms[roomTag].scaleUP + 0.3); _local2.timer = randRange(10, 15); _local2.scaleX = 0.1; _local2.x = randRange(100, 360); _local2.alpha = 1; _local2.hitCount = 0; }; }; return; }; if ((((_local2.x < (_local2.maskY.x - 80))) || ((_local2.x > (_local2.maskY.x + 80))))){ _local2.killable = true; } else { _local2.killable = false; }; if (_local2.moving){ Rooms[roomTag].qBfilt.blurX = randRange(2, 25); _local2.filters = [Rooms[roomTag].qBfilt]; if (randRange(1, 300) == 1){ _local8 = new specter_attack_wav(); _local8.play(); }; _local2.x = (_local2.x + (_local2.directionX * _local2.speed)); if ((((_local2.x < _local2.startPOS)) || ((_local2.x > _local2.finishPOS)))){ if (_local2.x < _local2.startPOS){ _local2.x = _local2.startPOS; }; if (_local2.x > _local2.finishPOS){ _local2.x = _local2.finishPOS; }; _local2.directionX = -(_local2.directionX); _local2.speed = randRange(2, 4); _local2.timer = randRange(10, 40); _local2.moving = false; }; }; if (!_local2.moving){ if (_local2.timer-- <= 0){ _local2.moving = true; }; }; } public function activateRifle():void{ var _local1:MovieClip; _local1 = new crosshair_mc(); Rooms[roomTag].imageCrossHair = _local1; stage.addChild(_local1); _local1.WAVEMP = 30; _local1.WAVEAMPL = 10; _local1.x = stage.mouseX; _local1.y = stage.mouseY; _local1.angle = 0; _local1.startDrag(); Mouse.hide(); _local1.addEventListener(Event.ENTER_FRAME, mouseCrossHair, false, 0, true); stage.addEventListener(MouseEvent.CLICK, fireCrossHair, false, 0, true); } public function deactivateRifle():void{ var _local1:*; Rooms[roomTag].imageCrossHair.stopDrag(); Rooms[roomTag].imageCrossHair.removeEventListener(Event.ENTER_FRAME, mouseCrossHair); removeMovie(Rooms[roomTag].imageCrossHair); Rooms[roomTag].done = false; Rooms[roomTag].useRIFLE = false; Rooms[roomTag].rifleON = false; for (_local1 in itemsInInventory) { if (itemsInInventory[_local1].name == "RIFLE"){ Tint(itemsInInventory[_local1], 0, 0); }; }; stage.removeEventListener(MouseEvent.CLICK, fireCrossHair); Mouse.show(); } public function fireCrossHair(_arg1:MouseEvent):void{ var _local2:MovieClip; var _local3:MovieClip; var _local4:Sound; var _local5:Sound; var _local6:Sound; var _local7:*; var _local8:MovieClip; var _local9:Sound; _local2 = Rooms[roomTag].imageCrossHair; _local3 = new explode_rifle_mc(); _local3.name = "bullet"; _local3.timer = 1; _local3.scaleX = (_local3.scaleY = 0.2); _local3.x = _local2.x; _local3.y = _local2.y; stage.addChild(_local3); _local3.addEventListener(Event.ENTER_FRAME, removeAtFinish, false, 0, true); _local4 = new rifle_wav(); _local4.play(); if (roomTag == 26){ if (Rooms[roomTag].firstShot == false){ Rooms[roomTag].firstShot = true; }; if (_local3.hitTestObject(Rooms[roomTag].imageC.hitBOX)){ if (Rooms[roomTag].imageC.alpha <= 0){ return; }; if (Rooms[roomTag].imageC.hitCount == 5){ return; }; if (Rooms[roomTag].imageC.hit){ return; }; Rooms[roomTag].imageC.hit = true; _local5 = new specter_hit_wav(); _local5.play(); }; }; if (roomTag == 39){ if (Rooms[roomTag].firstShot == false){ Rooms[roomTag].firstShot = true; }; if (_local3.hitTestObject(Rooms[roomTag].imageD)){ if (Rooms[roomTag].windowDone){ return; }; if (Rooms[roomTag].windowHit){ return; }; Rooms[roomTag].windowHit = true; Rooms[roomTag].windowStrength--; if (Rooms[roomTag].windowStrength < 4){ Rooms[roomTag].imageD.gotoAndStop(2); }; if (Rooms[roomTag].windowStrength < 0){ removeMovie(Rooms[roomTag].imageD); Rooms[roomTag].windowDone = true; _local6 = new glass_wav(); _local6.play(); _local7 = 0; while (_local7 <= 4) { _local8 = new rm39_window_smash_mc(); if (Rooms[roomTag].windowStrength < 0){ _local8.scaleX = (_local8.scaleY = 1.5); } else { _local8.scaleX = (_local8.scaleY = (randRange(1, 8) / 10)); }; _local8.alpha = (randRange(1, 9) / 10); _local8.x = (stage.mouseX + randRange(-15, 15)); _local8.y = (stage.mouseY + randRange(-15, 15)); stage.addChild(_local8); _local8.addEventListener(Event.ENTER_FRAME, removeAtFinish, false, 0, true); stage.setChildIndex(_local8, (stage.numChildren - 1)); _local7++; }; if (Rooms[roomTag].killable){ Rooms[roomTag].useRIFLE = false; Rooms[roomTag].rifleON = false; Rooms[roomTag].firstShot = false; Rooms[roomTag].chimeraKILLED = true; Rooms[roomTag].chimeraFINAL = true; Rooms[roomTag].done = false; deactivateRifle(); return; }; }; return; }; if (_local3.hitTestObject(Rooms[roomTag].imageC.hitBOX)){ Tint(_local3, 0xFF0000, 0.5); _local3.rotation = randRange(0, 360); if (Rooms[roomTag].imageC.hit){ return; }; Rooms[roomTag].imageC.hit = true; _local9 = new rifle_wav(); _local9.play(); }; }; } public function removeAtFinish(_arg1:Event):void{ var _local2:MovieClip; _local2 = MovieClip(_arg1.currentTarget); if (_local2.currentFrame == _local2.totalFrames){ removeMovie(_local2); _local2.removeEventListener(Event.ENTER_FRAME, removeAtFinish); }; } public function mouseCrossHair(_arg1:Event):void{ var _local2:MovieClip; _local2 = MovieClip(_arg1.currentTarget); _local2.x = (stage.mouseX - (Math.cos(_local2.angle) * _local2.WAVEAMPL)); _local2.y = ((stage.mouseY + _local2.WAVEMP) - (Math.sin(_local2.angle) * 5)); _local2.angle = (_local2.angle + ((Math.PI / 180) * 2)); } public function room26EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Boolean; var _local4:Array; if (Rooms[roomTag].done){ deactivateRifle(); return; }; if (((Rooms[roomTag].useRIFLE) && (!(Rooms[roomTag].rifleON)))){ Rooms[roomTag].rifleON = true; activateRifle(); return; }; if (Rooms[roomTag].useRIFLE){ return; }; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local3 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local3); _local4 = new Array("NORTH CORRIDOR", "0", "0"); if (ITEM){ if (_local3){ if (_local4[_local2] == "0"){ continue; }; noEffect(_local4, _local2); break; }; }; if (_local3){ if (_local2 == 0){ if (!Rooms[roomTag].specterDEAD){ Text(("I've seen this creature before..I don't know what it's doing but this spectral being doesn't seem to be aware of my presence." + "Approaching it would be suicide. Maybe there's some way to take it out from here.")); } else { if (mouse_clicked){ mouse_clicked = false; Go_To(27, 7, 0); } else { Text("It should be safe to move up this corridor now. Proceed?"); }; }; break; }; if (_local2 == 1){ if (mouse_clicked){ if (!Rooms[roomTag].specterDEAD){ Rooms[roomTag].imageC.removeEventListener(Event.ENTER_FRAME, specterAI); }; Rooms[roomTag].audio.stop(); mouse_clicked = false; Go_To(29, 7, 0); } else { Text("This way leads to another corridor. Proceed?"); }; break; }; if (_local2 == 2){ if (mouse_clicked){ if (!Rooms[roomTag].specterDEAD){ Rooms[roomTag].imageC.removeEventListener(Event.ENTER_FRAME, specterAI); }; Rooms[roomTag].audio.stop(); mouse_clicked = false; Go_To(23, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function room27(_arg1:Event):void{ var _local2:Array; var _local3:Rectangle; var _local4:Rectangle; var _local5:Rectangle; var _local6:Rectangle; var _local7:Rectangle; var _local8:MovieClip; var _local9:MovieClip; var _local10:MovieClip; var _local11:MovieClip; if (Rooms[roomTag].first_time){ basicScene(0); Rooms[roomTag].switchON = false; Rooms[roomTag].switchFIRST = false; Rooms[roomTag].acidTAKEN = false; _local8 = new rm27_light_mc(); _local8.x = 70; _local8.y = 244; _local8.visible = false; Rooms[roomTag].imageC = _local8; _local9 = new rm27_switch_mc(); _local9.x = 143; _local9.y = 175; _local9.gotoAndStop(1); Rooms[roomTag].imageD = _local9; _local10 = new rm27_acid_mc(); _local10.name = "ACID"; _local10.tag = "acidICON_mc"; _local10.x = 215; _local10.y = 217; Rooms[roomTag].imageE = _local10; _local11 = new rm27glasscase_mc(); _local11.gcase.stop(); _local11.x = 218; _local11.y = 221; Rooms[roomTag].imageF = _local11; }; _local2 = new Array(); _local3 = new Rectangle(200, 200, 35, 47); _local2.push(_local3); _local4 = new Rectangle(118, 158, 35, 60); _local2.push(_local4); _local5 = new Rectangle(29, 103, 81, 261); _local2.push(_local5); _local6 = new Rectangle(281, 157, 139, 73); _local2.push(_local6); _local7 = new Rectangle(245, 360, 30, 30); _local2.push(_local7); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); stage.addChild(Rooms[roomTag].imageC); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); stage.addChild(Rooms[roomTag].imageD); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageD); if (!Rooms[roomTag].acidTAKEN){ stage.addChild(Rooms[roomTag].imageE); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageE); }; stage.addChild(Rooms[roomTag].imageF); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageF); stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room27EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Boolean; var _local4:Array; var _local5:Sound; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; if (Rooms[roomTag].switchFIRST == 1){ Rooms[roomTag].switchFIRST = 2; Go_To(28, 3, 0); return; }; if (Rooms[roomTag].switchON){ if (Rooms[roomTag].imageF.gcase.currentFrame < Rooms[roomTag].imageF.gcase.totalFrames){ Rooms[roomTag].imageF.gcase.nextFrame(); }; } else { if (Rooms[roomTag].imageF.gcase.currentFrame > 1){ Rooms[roomTag].imageF.gcase.prevFrame(); }; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local3 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local3); _local4 = new Array("0", "SWITCH", "STATIS CHAMBER", "PODS"); if (ITEM){ if (_local3){ if (_local4[_local2] == "0"){ continue; }; noEffect(_local4, _local2); break; }; }; if (_local3){ if (_local2 == 0){ if (Rooms[roomTag].switchON){ if (!Rooms[roomTag].acidTAKEN){ if (mouse_clicked){ mouse_clicked = false; Rooms[roomTag].acidTAKEN = true; Rooms[roomTag].imageE.addEventListener(Event.ENTER_FRAME, getItem, false, 0, true); break; } else { Text("This could be handy. A bottle of sulphuric acid. Take?"); break; }; }; }; }; if (_local2 == 1){ if (mouse_clicked){ Rooms[roomTag].timer = 5; _local5 = new mechanical_wav(); _local5.play(); if (!Rooms[roomTag].switchON){ if (Rooms[roomTag].switchFIRST == 0){ Rooms[roomTag].switchFIRST = 1; }; Rooms[roomTag].imageC.visible = true; Rooms[roomTag].switchON = true; Rooms[roomTag].imageD.gotoAndStop(2); } else { Rooms[roomTag].imageC.visible = false; Rooms[roomTag].switchON = false; Rooms[roomTag].imageD.gotoAndStop(1); }; break; } else { Text("There's a switch here. Pull it?"); break; }; }; if (_local2 == 2){ if (Rooms[roomTag].switchFIRST == 0){ Text("Someone or something is in this chamber."); break; } else { if (!Rooms[14].first_time){ Text("God, his own flesh and blood.. into this. Best get out of here before that thing wakes up."); break; } else { Text("At least it seems to be in some kind of comatose state. Best get out of here before that thing wakes up."); break; }; }; }; if (_local2 == 3){ Text("I can't begin to describe what are in these pods."); break; }; if (_local2 == 4){ if (mouse_clicked){ mouse_clicked = false; Go_To(26, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function room29(_arg1:Event):void{ var _local2:Array; var _local3:Rectangle; var _local4:Rectangle; var _local5:Rectangle; var _local6:Rectangle; var _local7:Rectangle; var _local8:Rectangle; var _local9:MovieClip; var _local10:MovieClip; var _local11:MovieClip; var _local12:MovieClip; if (Rooms[roomTag].first_time){ basicScene(0); Rooms[roomTag].doorOPEN = false; Rooms[roomTag].chainOFF = false; Rooms[roomTag].beastDEAD = false; Rooms[roomTag].randomizer = 1; _local9 = new RM29_door_mc(); _local9.x = 270; _local9.y = 180; Rooms[roomTag].imageC = _local9; _local10 = new RM29_chain_mc(); _local10.x = 270; _local10.y = 180; Rooms[roomTag].imageD = _local10; _local11 = new BACK_mc(); _local11.x = 530; _local11.y = 280; _local11.rotation = -90; Rooms[roomTag].back2 = _local11; _local12 = new BACK_mc(); _local12.x = 20; _local12.y = 280; _local12.rotation = 90; Rooms[roomTag].back3 = _local12; }; if (Rooms[24].acidUSED){ Rooms[roomTag].beastDEAD = true; }; _local2 = new Array(); _local3 = new Rectangle(200, 95, 120, 200); _local2.push(_local3); _local4 = new Rectangle(0, 30, 150, 100); _local2.push(_local4); _local5 = new Rectangle(340, 250, 180, 140); _local2.push(_local5); _local6 = new Rectangle(510, 265, 30, 30); _local2.push(_local6); _local7 = new Rectangle(25, 112, 97, 74); _local2.push(_local7); _local8 = new Rectangle(245, 360, 30, 30); _local2.push(_local8); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); if (!Rooms[roomTag].doorOPEN){ stage.addChild(Rooms[roomTag].imageC); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); stage.addChild(Rooms[roomTag].imageD); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageD); }; stage.addChild(Rooms[roomTag].back2); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back2); stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room29EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Sound; var _local4:Sound; var _local5:MovieClip; var _local6:Sound; var _local7:Boolean; var _local8:Array; var _local9:Sound; if (((((!(Rooms[roomTag].doorOPEN)) && (!(Rooms[roomTag].chainOFF)))) && (!(Rooms[roomTag].beastDEAD)))){ if (randRange(1, 100) == Rooms[roomTag].randomizer){ EarthQuake_Array.push(Rooms[roomTag].imageC, Rooms[roomTag].imageD); Earthquake.go(Rooms[roomTag].imageC, 3, 1, EarthQuake_Array); _local3 = new crash_wav(); _local3.play(); }; if (randRange(1, 200) == Rooms[roomTag].randomizer){ Earthquake.go(Rooms[roomTag].imageB, 5, 1); _local4 = new boom_wav(); _local4.play(); }; }; if (Rooms[roomTag].chainOFF){ Rooms[roomTag].imageD.alpha = (Rooms[roomTag].imageD.alpha - 0.01); if (Rooms[roomTag].imageD.alpha <= 0){ if (!Rooms[roomTag].beastDEAD){ _local5 = new RM29_beast_mc(); Rooms[roomTag].imageZ = _local5; stage.addChild(Rooms[roomTag].imageZ); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageZ); Rooms[roomTag].chainOFF = false; Rooms[roomTag].imageD.alpha = 1; _local6 = new sarcosus_kill_wav(); _local6.play(); Retry(); } else { Rooms[roomTag].doorOPEN = true; Go_To(30, 7, 0); }; Rooms[roomTag].chainOFF = false; }; return; }; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local7 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local7); _local8 = new Array("GIANT DOOR", "WATER PIPES", "FLOOR", "0", "0"); if (ITEM){ if (_local7){ if (_local8[_local2] == "0"){ continue; }; noEffect(_local8, _local2); break; }; }; if (_local7){ if (_local2 == 0){ if (!Rooms[roomTag].beastDEAD){ if (mouse_clicked){ mouse_clicked = false; Rooms[roomTag].chainOFF = true; Text("It takes a while to come free."); } else { Text("A steel door some inches thick protects me from whatever large animal is in there, I could take off the chain and open it, but...Proceed? "); }; } else { if (!Rooms[roomTag].doorOPEN){ if (mouse_clicked){ mouse_clicked = false; Rooms[roomTag].chainOFF = true; Text("It takes a while to come free."); } else { Text("Seems to be only silence coming from behind here now. could take off the chain and open it, but...Proceed? "); }; } else { if (mouse_clicked){ mouse_clicked = false; Go_To(30, 7, 0); break; } else { Text("Proceed this way? "); }; }; }; break; }; if (_local2 == 1){ Text("These pipes lead into the room behind the door."); break; }; if (_local2 == 2){ Text("The whole floor is covered with animal bones and blood."); break; }; if (_local2 == 3){ if (mouse_clicked){ mouse_clicked = false; Go_To(31, 7, 0); break; } else { Text("I can move down this way. Proceed?"); break; }; }; if (_local2 == 4){ if (mouse_clicked){ mouse_clicked = false; Pop_Up_Paper("newspaper_mc", myTextA3); _local9 = new pageturn_wav(); _local9.play(); break; } else { Text("More newspaper cut-outs. My name is mentioned here! Read?"); break; }; }; if (_local2 == 5){ if (mouse_clicked){ mouse_clicked = false; Go_To(26, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function room28(_arg1:Event):void{ var _local2:Array; var _local3:Sound; if (Rooms[roomTag].first_time){ basicScene(0); _local3 = new farewell_wav(); _local3.play(); Rooms[roomTag].text_image = new text_frame_mc(); }; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); _local2 = new Array(Rooms[roomTag].imageB); Fizzle(_local2, 4177694); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addChild(Rooms[roomTag].text_image); Rooms[roomTag].deleteArray.push(Rooms[roomTag].text_image); Start_ShoutBox(Rooms[roomTag].text_image, 30, 20, myTextDIALOGUE3); Rooms[roomTag].targetRoom = 27; stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room28EVENTS(_arg1:Event):void{ } public function room30(_arg1:Event):void{ var _local2:Array; var _local3:Rectangle; var _local4:Rectangle; var _local5:Rectangle; var _local6:Rectangle; var _local7:Rectangle; var _local8:Sound; if (Rooms[roomTag].first_time){ basicScene(0); Rooms[roomTag].tokenTAKEN = false; Rooms[roomTag].tdead = false; _local8 = new collect_wav(); _local8.play(); }; _local2 = new Array(); _local3 = new Rectangle(232, 52, 340, 186); _local2.push(_local3); _local4 = new Rectangle(74, 35, 40, 329); _local2.push(_local4); _local5 = new Rectangle(383, 267, 51, 51); _local2.push(_local5); _local6 = new Rectangle(194, 25, 88, 101); _local2.push(_local6); _local7 = new Rectangle(245, 360, 30, 30); _local2.push(_local7); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room30EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Boolean; var _local4:Array; var _local5:Sound; var _local6:SoundChannel; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local3 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local3); _local4 = new Array("DEAD GIANT", "WATER PIPES", "STOMACH CONTENTS", "0", "0"); if (ITEM){ if (_local3){ if (_local4[_local2] == "0"){ continue; }; noEffect(_local4, _local2); break; }; }; if (_local3){ if (_local2 == 0){ Text("So this hideous and -thankfully dead- beast is what lay in wait behind the door. He was poisoned by the acid in the water system."); break; }; if (_local2 == 1){ Text("This was probably the water source for this creature."); break; }; if (_local2 == 2){ Text("Looks like he might have regurgitated the contents of his last meal, a human body."); break; }; if (_local2 == 3){ if (mouse_clicked){ if (!Rooms[roomTag].tdead){ _local5 = new takaki_theme_wav(); _local6 = _local5.play(); Rooms[roomTag].audio = _local6; mouse_clicked = false; Go_To(34, 1, 0); channel.stop(); break; } else { mouse_clicked = false; Go_To(34, 7, 0); break; }; } else { Text("Keep moving?"); break; }; }; if (_local2 == 4){ if (mouse_clicked){ mouse_clicked = false; Go_To(29, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function room31(_arg1:Event):void{ var _local2:Array; var _local3:Rectangle; var _local4:Rectangle; var _local5:Rectangle; var _local6:Rectangle; var _local7:Array; if (Rooms[roomTag].first_time){ basicScene(0); Rooms[roomTag].chase = false; Rooms[roomTag].shimmerKILLED = false; }; CHIMERA_COUNT = 0; _local2 = new Array(); _local3 = new Rectangle(0, 317, 307, 56); _local2.push(_local3); _local4 = new Rectangle(155, 157, 106, 86); _local2.push(_local4); _local5 = new Rectangle(319, 149, 50, 195); _local2.push(_local5); _local6 = new Rectangle(245, 360, 30, 30); _local2.push(_local6); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); if (Rooms[roomTag].chase){ _local7 = new Array(Rooms[roomTag].imageB); Fizzle(_local7, 0xFF0000); }; stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room31EVENTS(_arg1:Event):void{ var _local2:*; var _local3:MovieClip; var _local4:Sound; var _local5:Sound; var _local6:Boolean; var _local7:Array; var _local8:Sound; var _local9:MovieClip; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; if (Rooms[roomTag].chase){ if (CHIMERA_COUNT++ >= 100){ CHIMERA_COUNT = 0; _local3 = new RM32_shimmerdie_mc(); Rooms[roomTag].imageZ = _local3; stage.addChild(Rooms[roomTag].imageZ); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageZ); _local4 = new crawler_wav(); _local4.play(); _local5 = new herodie_wav(); _local5.play(); Retry(); return; }; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local6 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local6); _local7 = new Array("OILED FLOORS", "TUNNEL", "DOORWAY", "0"); if (ITEM){ if (_local6){ if (_local7[_local2] == "0"){ continue; }; if ((((_local7[_local2] == "OILED FLOORS")) && (Rooms[roomTag].chase))){ if (mouse_clicked){ if ((((ITEM_IN_USE.name == "CANDLE")) && (!(Rooms[roomTag].shimmerKILLED)))){ _local8 = new burn_wav(); _local8.play(); mouse_clicked = false; Rooms[roomTag].timer = 20; Rooms[roomTag].shimmerKILLED = true; removeICON("CANDLE"); _local9 = new rm31_fire_mc(); _local9.x = 275; _local9.y = 200; stage.addChild(_local9); Rooms[roomTag].deleteArray.push(_local9); Go_To(41, 2, 0); break; }; }; }; noEffect(_local7, _local2); break; }; }; if (_local6){ if (_local2 == 0){ if (Rooms[roomTag].chase){ Text("This stuff is flammable! I could burn the thing!"); break; } else { Text("The floor is filled from corner to corner with some kind of gelatinous gloop that has the pungent reek similar to that of gasoline."); break; }; }; if (_local2 == 1){ if (!Rooms[25].rifleTAKEN){ Text("A long sewer tunnel."); break; }; if (Rooms[roomTag].shimmerKILLED){ Text("There's no way I'm going back down there."); break; }; if (((((!(checkInventory("CANDLE"))) && (Rooms[25].rifleTAKEN))) && (!(Rooms[roomTag].chase)))){ Text("Lester said I would need something I can burn with before going down here."); break; }; if (Rooms[roomTag].chase){ Text("What!! I'm trying to escape from the thing not feed it!"); break; }; if (mouse_clicked){ mouse_clicked = false; Go_To(32, 7, 0); break; } else { Text("Like a long sewer tunnel, about 30 feet down I see something shining. Proceed?"); break; }; }; if (_local2 == 2){ if (Rooms[roomTag].chase){ Text("I don't have time to fiddle with the elevator key mechanism!! That thing is almost upon me!!"); break; }; if (mouse_clicked){ mouse_clicked = false; Go_To(36, 7, 0); break; } else { Text("A wire-fence gate leading through to an elevator. On it is some kind of key mechanism. Examine closer?"); break; }; }; if (_local2 == 3){ if (Rooms[roomTag].chase){ Text("I'll never outrun that monster down here in the dark!! I must do something else!"); break; }; if (mouse_clicked){ mouse_clicked = false; Go_To(29, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function room32(_arg1:Event):void{ var _local2:Array; var _local3:Rectangle; var _local4:Rectangle; var _local5:Rectangle; var _local6:MovieClip; if (Rooms[roomTag].first_time){ basicScene(0); Rooms[roomTag].caught = false; _local6 = new RM32_key_mc(); _local6.x = 493; _local6.y = 78; _local6.name = "PIPE KEY"; _local6.tag = "pkeyICON_mc"; Rooms[roomTag].imageD = _local6; Rooms[roomTag].keyTAKEN = false; }; Tint(Rooms[roomTag].imageB, 0, 1); Tint(Rooms[roomTag].imageD, 0, 1); Rooms[roomTag].torchON = false; Rooms[roomTag].torchWORKING = false; Rooms[roomTag].imageB.head.visible = false; _local2 = new Array(); _local3 = new Rectangle(203, 177, 260, 192); _local2.push(_local3); _local4 = new Rectangle(478, 58, 20, 20); _local2.push(_local4); _local5 = new Rectangle(107, 48, 371, 297); _local2.push(_local5); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); if (!Rooms[roomTag].keyTAKEN){ Rooms[roomTag].imageB.addChild(Rooms[roomTag].imageD); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageD); }; stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room32EVENTS(_arg1:Event):void{ var _local2:*; var _local3:MovieClip; var _local4:Array; var _local5:MovieClip; var _local6:Sound; var _local7:Boolean; var _local8:Array; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; if (Rooms[roomTag].caught){ Rooms[roomTag].caught = false; Rooms[roomTag].imageB.mask = null; removeMovie(Rooms[roomTag].imageE); Mouse.show(); _local3 = new RM32_shimmerdie_mc(); Rooms[roomTag].imageZ = _local3; stage.addChild(Rooms[roomTag].imageZ); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageZ); Rooms[roomTag].torchON = false; Rooms[roomTag].torchWORKING = false; Retry(); return; }; if (Rooms[roomTag].torchON){ if (!Rooms[roomTag].torchWORKING){ Tint(Rooms[roomTag].imageD, 0, 0); _local4 = new Array(Rooms[roomTag].imageB); Fizzle(_local4, 0); Mouse.hide(); Rooms[roomTag].torchWORKING = true; _local5 = new flashlightBABY_mc(); stage.addChild(_local5); Rooms[roomTag].imageB.mask = _local5.mask_mc; _local5.startDrag(true); Rooms[roomTag].imageE = _local5; }; if (Rooms[roomTag].imageE.hitBOX.hitTestObject(Rooms[roomTag].imageB.hitBOX)){ mouse_clicked = false; Rooms[roomTag].timer = 20; Rooms[roomTag].caught = true; _local6 = new crawler_wav(); _local6.play(); Earthquake.go(Rooms[roomTag].imageB, 10, 1); Rooms[roomTag].imageE.stopDrag(); Rooms[roomTag].imageB.head.visible = true; } else { Rooms[roomTag].imageB.head.visible = false; }; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local7 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local7); _local8 = new Array("MONSTER", "0", "0"); if (ITEM){ if (_local7){ if (_local8[_local2] == "0"){ continue; }; noEffect(_local8, _local2); break; }; }; if (_local7){ if (_local2 == 0){ if (Rooms[roomTag].torchWORKING){ Text("Some kind of glistening beast lies sleeping here. I best be careful where I shine this thing.."); break; }; }; if ((((_local2 == 1)) && (!(Rooms[roomTag].keyTAKEN)))){ if (mouse_clicked){ Rooms[roomTag].keyTAKEN = true; Rooms[roomTag].imageD.addEventListener(Event.ENTER_FRAME, getItem, false, 0, true); mouse_clicked = false; Rooms[roomTag].imageB.mask = null; removeMovie(Rooms[roomTag].imageE); removeMovie(Rooms[roomTag].imageB); Rooms[31].chase = true; Go_To(42, 7, 0); break; } else { Text("Hey, there's a key or something here hanging on the wall. Take?"); break; }; }; if (_local2 == 2){ if (!Rooms[roomTag].torchON){ Text("It's so dark. I better use the flashlight."); break; }; }; }; }; } public function room33(_arg1:Event):void{ var _local2:BlurFilter; var _local3:BlurFilter; var _local4:BlurFilter; var _local5:MovieClip; var _local6:MovieClip; var _local7:MovieClip; if (Rooms[roomTag].first_time){ basicScene(0); channel3 = masterAUDIO3.play(0, 99); channel.stop(); _local2 = new BlurFilter(); _local2.quality = BitmapFilterQuality.LOW; Rooms[roomTag].sBfilt = _local2; _local3 = new BlurFilter(); _local3.quality = BitmapFilterQuality.LOW; Rooms[roomTag].xBfilt = _local3; _local4 = new BlurFilter(); _local4.quality = BitmapFilterQuality.LOW; Rooms[roomTag].qBfilt = _local4; _local5 = new escape_mc(); Rooms[roomTag].exit = _local5; _local6 = new sh_mc(); Rooms[roomTag].image = _local6; _local7 = new sm_mc(); Rooms[roomTag].image2 = _local7; }; stage.addEventListener(Event.ENTER_FRAME, Scramble, false, 0, true); stage.addEventListener(MouseEvent.CLICK, goFaster, false, 0, true); Rooms[roomTag].sBfilt.blurX = 10; Rooms[roomTag].sBfilt.blurY = 10; Rooms[roomTag].xBfilt.blurX = 10; Rooms[roomTag].xBfilt.blurY = 10; Rooms[roomTag].qBfilt.blurX = 2; Rooms[roomTag].qBfilt.blurY = 2; Rooms[roomTag].exit.x = 240; Rooms[roomTag].exit.y = 65; Rooms[roomTag].exit.scaleRatio = 0.5; Rooms[roomTag].exit.prox = 0.5; Rooms[roomTag].image.x = 260; Rooms[roomTag].image.y = 85; Rooms[roomTag].image.vel = 0; Rooms[roomTag].image.timer = 0; Rooms[roomTag].image.scaleRatio = 0.1; Rooms[roomTag].image.gotoAndStop(1); Rooms[roomTag].image2.x = 250; Rooms[roomTag].image2.y = 250; Rooms[roomTag].image2.scaleRatio = 0.5; Rooms[roomTag].image2.prox = 0; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); stage.addChild(Rooms[roomTag].exit); Rooms[roomTag].deleteArray.push(Rooms[roomTag].exit); stage.addChild(Rooms[roomTag].image); Rooms[roomTag].deleteArray.push(Rooms[roomTag].image); Rooms[roomTag].image.filters = [Rooms[roomTag].qBfilt]; stage.addChild(Rooms[roomTag].image2); Rooms[roomTag].deleteArray.push(Rooms[roomTag].image2); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room33EVENTS(_arg1:Event):void{ } public function goFaster(_arg1:MouseEvent):void{ Rooms[roomTag].image.vel = (Rooms[roomTag].image.vel + (3 / 100)); Rooms[roomTag].image.play(); Rooms[roomTag].image.timer = (Rooms[roomTag].image.timer + ((Rooms[roomTag].image.timer)<20) ? 5 : 0); } public function Scramble(_arg1:Event):void{ var _local2:Sound; var _local3:MovieClip; if (Rooms[roomTag].image.vel > 0){ Rooms[roomTag].image.vel = (Rooms[roomTag].image.vel - 0.01); Rooms[roomTag].exit.prox = (Rooms[roomTag].exit.prox + 0.003); }; if (Rooms[roomTag].image.timer-- <= 0){ Rooms[roomTag].image.stop(); }; Rooms[roomTag].exit.scaleX = (Rooms[roomTag].exit.scaleY = Rooms[roomTag].exit.prox); Rooms[roomTag].xBfilt.blurX = (Rooms[roomTag].xBfilt.blurY = (5 / Rooms[roomTag].exit.prox)); Rooms[roomTag].exit.filters = [Rooms[roomTag].xBfilt]; Rooms[roomTag].image2.prox = Rooms[roomTag].image2.scaleRatio; if (Rooms[roomTag].image2.prox < 0.5){ Rooms[roomTag].image2.prox = 0.5; Rooms[roomTag].image.vel = 0; }; Rooms[roomTag].image2.scaleX = (Rooms[roomTag].image2.scaleY = Rooms[roomTag].image2.prox); Rooms[roomTag].image2.scaleRatio = (Rooms[roomTag].image2.scaleRatio + (0.009 - Rooms[roomTag].image.vel)); Rooms[roomTag].sBfilt.blurX = (Rooms[roomTag].sBfilt.blurY = (8 / Rooms[roomTag].image2.scaleRatio)); Rooms[roomTag].image2.filters = [Rooms[roomTag].sBfilt]; if (Rooms[roomTag].image2.scaleRatio > 1.9){ _local2 = new crawler_wav(); _local2.play(); stage.removeEventListener(Event.ENTER_FRAME, Scramble); stage.removeEventListener(MouseEvent.CLICK, goFaster); removeMovie(Rooms[roomTag].image); removeMovie(Rooms[roomTag].image2); _local3 = new RM32_shimmerdie_mc(); Rooms[roomTag].imageZ = _local3; stage.addChild(Rooms[roomTag].imageZ); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageZ); Retry(); return; }; if (Rooms[roomTag].exit.prox >= 1.8){ Rooms[31].chase = true; removeMovie(Rooms[roomTag].image); removeMovie(Rooms[roomTag].image2); stage.removeEventListener(Event.ENTER_FRAME, Scramble); stage.removeEventListener(MouseEvent.CLICK, goFaster); mouse_clicked = false; Go_To(31, 7, 0); }; } public function room34(_arg1:Event):void{ var _local2:Array; var _local3:Rectangle; var _local4:Rectangle; var _local5:Rectangle; var _local6:Rectangle; var _local7:MovieClip; var _local8:MovieClip; var _local9:MovieClip; if (Rooms[roomTag].first_time){ Rooms[30].tdead = true; basicScene(0); Rooms[roomTag].wheelTAKEN = false; Rooms[roomTag].takakiTALK = true; Rooms[roomTag].safe = false; Rooms[roomTag].door = false; _local7 = new RM34_takaki_mc(); Rooms[roomTag].imageC = _local7; _local8 = new RM34_wheel_mc(); _local8.x = 190; _local8.y = 282; _local8.name = "HANDWHEEL"; _local8.tag = "handwheelICON_mc"; Rooms[roomTag].imageE = _local8; _local9 = new RM34_door_mc(); _local9.x = 381; _local9.y = 0x0100; Rooms[roomTag].imageF = _local9; Rooms[roomTag].text_image = new text_frame_mc(); }; Rooms[roomTag].audio = true; Rooms[roomTag].attack = false; Rooms[roomTag].imageC.x = 284; Rooms[roomTag].imageC.y = 242; Rooms[roomTag].imageC.gotoAndStop(1); Rooms[roomTag].imageC.scaleX = (Rooms[roomTag].imageC.scaleY = 1); _local2 = new Array(); _local3 = new Rectangle(62, 0, 388, 283); _local2.push(_local3); _local4 = new Rectangle(360, 163, 68, 181); _local2.push(_local4); _local5 = new Rectangle(150, 252, 60, 60); _local2.push(_local5); _local6 = new Rectangle(245, 360, 30, 30); _local2.push(_local6); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); if (!Rooms[roomTag].wheelTAKEN){ stage.addChild(Rooms[roomTag].imageE); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageE); }; stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (Rooms[roomTag].takakiTALK){ stage.addChild(Rooms[roomTag].imageC); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); stage.addChild(Rooms[roomTag].text_image); Rooms[roomTag].deleteArray.push(Rooms[roomTag].text_image); Start_ShoutBox_Special(Rooms[roomTag].text_image, 160, 20, myTextDIALOGUE4); Rooms[roomTag].takakiTALK = false; }; if (Rooms[roomTag].safe){ stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); }; if (Rooms[roomTag].door){ stage.addChild(Rooms[roomTag].imageF); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageF); }; stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room34EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Sound; var _local4:Boolean; var _local5:Array; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; if (Rooms[roomTag].door){ if (Rooms[roomTag].imageF.currentFrame >= Rooms[roomTag].imageF.totalFrames){ removeMovie(Rooms[roomTag].imageF); Rooms[roomTag].door = false; }; }; if (Rooms[roomTag].attack){ if (Rooms[roomTag].audio){ Rooms[roomTag].audio = false; _local3 = new screamingTAKAKI_wav(); _local3.play(); }; Rooms[roomTag].imageC.gotoAndStop(2); Rooms[roomTag].imageC.scaleX = (Rooms[roomTag].imageC.scaleY = (Rooms[roomTag].imageC.scaleY + 0.015)); if (Rooms[roomTag].imageC.scaleX > 1.61){ Rooms[roomTag].takakiTALK = true; Retry(); return; }; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local4 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local4); _local5 = new Array("WOMAN", "HIDDEN DOOR", "0"); if (ITEM){ if (_local4){ if (_local5[_local2] == "0"){ continue; }; if ((((_local5[_local2] == "WOMAN")) && (Rooms[roomTag].safe))){ continue; }; if ((((_local5[_local2] == "WOMAN")) && (!(Rooms[roomTag].safe)))){ if (mouse_clicked){ if ((((ITEM_IN_USE.name == "ACID")) && (!(Rooms[roomTag].safe)))){ mouse_clicked = false; Rooms[roomTag].timer = 20; Rooms[roomTag].safe = true; removeICON("ACID"); Go_To(35, 7, 0); break; }; }; }; noEffect(_local5, _local2); break; }; }; if (_local4){ if ((((_local2 == 0)) && (Rooms[roomTag].attack))){ Text("She's coming at me with a weapon.. BETTER DO SOMETHING QUICK!"); break; }; if ((((_local2 == 1)) && (Rooms[roomTag].safe))){ Text("She escaped through some kind of secret door in the wall. Try as I might I can't find any way to follow her through. "); break; }; if ((((((_local2 == 2)) && (!(Rooms[roomTag].wheelTAKEN)))) && (Rooms[roomTag].safe))){ if (mouse_clicked){ Rooms[roomTag].wheelTAKEN = true; Rooms[roomTag].imageE.addEventListener(Event.ENTER_FRAME, getItem, false, 0, true); break; } else { Text("A metal handwheel- it has a keyhole and a connecting rod attached. Take?"); break; }; }; if (_local2 == 3){ if (mouse_clicked){ mouse_clicked = false; Go_To(30, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function room35(_arg1:Event):void{ var _local2:Sound; var _local3:Sound; var _local4:SoundTransform; var _local5:Array; if (Rooms[roomTag].first_time){ basicScene(0); }; _local2 = new takakiscream2_wav(); _local2.play(); _local3 = new acid_wav(); _local3.play(0, 2); channel = masterAUDIO.play(0, 99); _local4 = new SoundTransform(); _local4.volume = 0.2; channel.soundTransform = _local4; Rooms[30].audio.stop(); stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); _local5 = new Array(Rooms[roomTag].imageB); Fizzle(_local5, 4177694); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room35EVENTS(_arg1:Event):void{ if ((((Rooms[roomTag].imageB.currentFrame >= Rooms[roomTag].imageB.totalFrames)) && (!(Rooms[roomTag].imageB.movieFINISHED)))){ Rooms[roomTag].imageB.stop(); Rooms[34].door = true; Go_To(34, 1, 0); return; }; } public function room36(_arg1:Event):void{ var _local2:Array; var _local3:Rectangle; var _local4:Rectangle; var _local5:MovieClip; if (Rooms[roomTag].first_time){ basicScene(0); Rooms[roomTag].wheelPLACED = false; Rooms[roomTag].keyPLACED = false; Rooms[roomTag].turning = false; _local5 = new RM36_lock_mc(); _local5.x = 265; _local5.y = 205; Rooms[roomTag].imageC = _local5; }; _local2 = new Array(); _local3 = new Rectangle(172, 120, 195, 180); _local2.push(_local3); _local4 = new Rectangle(245, 360, 30, 30); _local2.push(_local4); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); if (Rooms[roomTag].wheelPLACED){ stage.addChild(Rooms[roomTag].imageC); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); }; stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room36EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Boolean; var _local4:Array; var _local5:Sound; var _local6:Sound; if (((Rooms[roomTag].keyPLACED) && (Rooms[roomTag].turning))){ Rooms[roomTag].imageC.rotation = (Rooms[roomTag].imageC.rotation + 2); Bfilt.blurX = 2; Bfilt.blurY = 2; Rooms[roomTag].imageC.filters = [Bfilt]; }; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; if (Rooms[roomTag].keyPLACED){ Go_To(37, 6, 0); return; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local3 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local3); _local4 = new Array("CYLINDER BASE", "0", "0"); if (ITEM){ if (_local3){ if (_local4[_local2] == "0"){ continue; }; if (_local4[_local2] == "CYLINDER BASE"){ if (mouse_clicked){ if ((((ITEM_IN_USE.name == "HANDWHEEL")) && (!(Rooms[roomTag].wheelPLACED)))){ _local5 = new handwheel_wav(); _local5.play(); mouse_clicked = false; Rooms[roomTag].timer = 30; Rooms[roomTag].wheelPLACED = true; removeICON("HANDWHEEL"); Text("Fits in perfectly.."); Go_To(36, 7, 0); break; }; if ((((((ITEM_IN_USE.name == "PIPE KEY")) && (!(Rooms[roomTag].keyPLACED)))) && (Rooms[roomTag].wheelPLACED))){ _local6 = new metalturn_wav(); _local6.play(); mouse_clicked = false; Rooms[roomTag].timer = 50; Rooms[roomTag].keyPLACED = true; Rooms[roomTag].turning = true; removeICON("PIPE KEY"); Text("The hand-wheel can be rotated, unlocking the gate."); break; }; }; }; noEffect(_local4, _local2); break; }; }; if (_local3){ if (_local2 == 0){ if (Rooms[roomTag].wheelPLACED){ Text("The handwheel is on but it doesn't turn, there's a keyhole in the center."); } else { if (!Rooms[roomTag].wheelPLACED){ Text("I think it's a lock-cylinder, with a hole-plug that extends into the mechanism. Something should fit in here."); }; }; break; }; if (_local2 == 1){ if (mouse_clicked){ mouse_clicked = false; Go_To(31, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function room37(_arg1:Event):void{ var _local2:Array; var _local3:Rectangle; var _local4:Rectangle; var _local5:Rectangle; var _local6:Sound; var _local7:Sound; var _local8:SoundChannel; var _local9:SoundTransform; var _local10:MovieClip; var _local11:MovieClip; var _local12:MovieClip; var _local13:Number; if (Rooms[roomTag].first_time){ basicScene(0); _local6 = new elevator_door_wav(); _local6.play(); _local7 = new elevator_wav(); _local8 = _local7.play(0, 99); Rooms[roomTag].audio = _local8; _local9 = new SoundTransform(); _local9.volume = 0.5; _local8.soundTransform = _local9; _local10 = new RM37_wall_mc(); _local10.x = 300; _local10.y = 95; Rooms[roomTag].imageC = _local10; _local11 = new RM37_friendly_mc(); _local11.x = 260; _local11.y = 210; _local11.visible = false; Rooms[roomTag].imageD = _local11; _local12 = new border_text_mc(); Rooms[roomTag].borderImage = _local12; Rooms[roomTag].borderImage.stop(); _local13 = 0; Rooms[roomTag].vel = _local13; Rooms[roomTag].spotted = false; Rooms[roomTag].go = false; Rooms[roomTag].count = 0; Earthquake.go(Rooms[roomTag].imageB, 10, 1); }; _local2 = new Array(); _local3 = new Rectangle(0, 317, 307, 86); _local2.push(_local3); _local4 = new Rectangle(155, 157, 106, 86); _local2.push(_local4); _local5 = new Rectangle(319, 149, 50, 195); _local2.push(_local5); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageD); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageD); stage.addChild(Rooms[roomTag].imageC); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room37EVENTS(_arg1:Event):void{ var _local2:Sound; Text(""); Rooms[roomTag].imageC.y = (Rooms[roomTag].imageC.y - Rooms[roomTag].vel); Rooms[roomTag].vel = (Rooms[roomTag].vel - 0.01); Rooms[roomTag].vel = ((Rooms[roomTag].vel < 1.4)) ? Rooms[roomTag].vel : 1.4; if ((((Rooms[roomTag].imageC.y >= 873)) && (!(Rooms[roomTag].spotted)))){ Rooms[roomTag].spotted = true; Rooms[roomTag].audio.stop(); Rooms[roomTag].borderSTRING = myTextA7; _local2 = new farewell_wav(); _local2.play(); Rooms[roomTag].borderImage.play(); Rooms[roomTag].borderImage.exit.addEventListener(MouseEvent.CLICK, returnEvents2, false, 0, true); stage.addEventListener(Event.ENTER_FRAME, borderTEXT, false, 0, true); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents); Rooms[roomTag].borderTEXT = false; Rooms[roomTag].imageC.y++; stage.addChild(Rooms[roomTag].borderImage); Rooms[roomTag].deleteArray.push(Rooms[roomTag].borderImage); return; }; if ((((Rooms[roomTag].imageC.y > 618)) && ((Rooms[roomTag].imageC.y < 970)))){ Rooms[roomTag].imageD.visible = true; } else { Rooms[roomTag].imageD.visible = false; }; if (Rooms[roomTag].imageC.y > 865){ Rooms[roomTag].vel = (Rooms[roomTag].vel + 0.03); if (Rooms[roomTag].vel >= 0){ Rooms[roomTag].audio.stop(); Go_To(38, 7, 0); stage.removeEventListener(Event.ENTER_FRAME, room37EVENTS); }; }; } public function room38(_arg1:Event):void{ var _local2:Array; var _local3:MovieClip; if (Rooms[roomTag].first_time){ basicScene(0); Rooms[roomTag].imageB.name = ("house" + roomTag); Rooms[roomTag].puzzle_done = false; _local3 = new rm38_layer_mc(); _local3.name = "38layer"; _local3.mouseEnabled = false; Rooms[roomTag].imageC = _local3; }; if (stage.getChildByName("inventory")){ stage.getChildByName("inventory").visible = false; }; _local2 = new Array(); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); stage.addChild(Rooms[roomTag].imageC); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); Puzzle2.go(225, 195, 0.4, "puzzle2", stage, this, Rooms[roomTag]); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room38EVENTS(_arg1:Event):void{ var _local2:Sound; var _local3:Sound; var _local4:Sound; var _local5:MovieClip; if (stage.getChildByName("38layer")){ stage.setChildIndex(stage.getChildByName("38layer"), (stage.numChildren - 1)); }; if (Puzzle2.winner){ _local2 = new collect_wav(); _local2.play(); Puzzle2.destroy(this); mouse_clicked = false; Rooms[38].puzzle_done = true; Go_To(39, 7, 0); return; }; if (Puzzle2.loser){ Puzzle2.destroy(this); mouse_clicked = false; Puzzle2.loser = false; _local3 = new steam_wav(); _local3.play(0, 4); _local4 = new choke_wav(); _local4.play(); _local5 = new puzzle2_death_mc(); Rooms[roomTag].imageZ = _local5; stage.addChild(Rooms[roomTag].imageZ); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageZ); Retry(); return; }; } public function chimeraFinish(_arg1:Event):void{ var _local2:MovieClip; _local2 = MovieClip(_arg1.currentTarget); if (_local2.currentFrame == _local2.totalFrames){ _local2.stop(); _local2.removeEventListener(Event.ENTER_FRAME, chimeraFinish); Go_To(46, 1, 0); return; }; } public function room39(_arg1:Event):void{ var _local2:Array; var _local3:Rectangle; var _local4:Rectangle; var _local5:Rectangle; var _local6:Rectangle; var _local7:MovieClip; var _local8:MovieClip; var _local9:MovieClip; if (Rooms[roomTag].first_time){ basicScene(0); if (stage.getChildByName("inventory")){ stage.getChildByName("inventory").visible = true; }; Rooms[roomTag].chimeraKILLED = false; Rooms[roomTag].chimeraFINAL = false; Rooms[roomTag].killable = false; Rooms[roomTag].done = false; Rooms[roomTag].useRIFLE = false; Rooms[roomTag].rifleON = false; Rooms[roomTag].firstShot = false; Rooms[roomTag].imageB.basicX = Rooms[roomTag].imageB.x; Rooms[roomTag].imageB.basicY = Rooms[roomTag].imageB.y; Rooms[roomTag].chimera = true; _local7 = new chimera_mc(); _local7.x = 275; _local7.y = 200; _local7.stop(); Rooms[roomTag].imageC = _local7; Rooms[roomTag].imageC.basicX = Rooms[roomTag].imageC.x; Rooms[roomTag].imageC.basicY = Rooms[roomTag].imageC.y; Rooms[roomTag].chimeraTint = 1; _local8 = new RM39_window_mc(); Rooms[roomTag].imageD = _local8; Rooms[roomTag].imageD.basicX = Rooms[roomTag].imageD.x; Rooms[roomTag].imageD.basicY = Rooms[roomTag].imageD.y; _local9 = new RM39_light_mc(); Rooms[roomTag].imageE = _local9; Rooms[roomTag].imageE.basicX = Rooms[roomTag].imageE.x; Rooms[roomTag].imageE.basicY = Rooms[roomTag].imageE.y; }; Rooms[roomTag].swap = false; Rooms[roomTag].chimeraRUN = false; Rooms[roomTag].chimeraSCREAM = true; Rooms[roomTag].imageC.gotoAndStop(1); Rooms[roomTag].scaleUP = 0.6; Rooms[roomTag].imageC.scaleX = (Rooms[roomTag].imageC.scaleY = 0.1); Rooms[roomTag].imageB.filters = []; Rooms[roomTag].imageB.x = Rooms[roomTag].imageB.basicX; Rooms[roomTag].imageB.y = Rooms[roomTag].imageB.basicY; Rooms[roomTag].imageC.x = Rooms[roomTag].imageC.basicX; Rooms[roomTag].imageC.y = Rooms[roomTag].imageC.basicY; Rooms[roomTag].imageD.x = Rooms[roomTag].imageD.basicX; Rooms[roomTag].imageD.y = Rooms[roomTag].imageD.basicY; Rooms[roomTag].imageE.x = Rooms[roomTag].imageE.basicX; Rooms[roomTag].imageE.y = Rooms[roomTag].imageE.basicY; Rooms[roomTag].imageC.hitBOX.mouseEnabled = true; Rooms[roomTag].windowDone = false; Rooms[roomTag].windowStrength = 5; Rooms[roomTag].windowHit = false; Tint(Rooms[roomTag].imageC, 0, 1); Rooms[roomTag].imageD.gotoAndStop(1); _local2 = new Array(); _local3 = new Rectangle(0, 317, 307, 86); _local2.push(_local3); _local4 = new Rectangle(155, 157, 106, 86); _local2.push(_local4); _local5 = new Rectangle(319, 149, 50, 195); _local2.push(_local5); _local6 = new Rectangle(245, 360, 30, 30); _local2.push(_local6); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); stage.addChild(Rooms[roomTag].imageD); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageD); stage.addChild(Rooms[roomTag].imageC); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); stage.addChild(Rooms[roomTag].imageE); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageE); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room39EVENTS(_arg1:Event):void{ var _local2:*; var _local3:MovieClip; var _local4:Sound; var _local5:Sound; var _local6:Boolean; var _local7:Array; Rooms[roomTag].imageC.hit = false; Rooms[roomTag].windowHit = false; if (Rooms[roomTag].chimeraKILLED){ Rooms[roomTag].imageC.stop(); _local3 = new chimera_die_mc(); Rooms[roomTag].imageQ = _local3; Rooms[roomTag].imageQ.x = Rooms[roomTag].imageC.x; Rooms[roomTag].imageQ.y = Rooms[roomTag].imageC.y; Rooms[roomTag].imageQ.scaleX = (Rooms[roomTag].imageQ.scaleY = (Rooms[roomTag].scaleUP - 0.1)); stage.addChild(Rooms[roomTag].imageQ); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageQ); removeMovie(Rooms[roomTag].imageC); _local4 = new chimera_charge_wav(); _local4.play(); EarthQuake_Array.push(Rooms[roomTag].imageB, Rooms[roomTag].imageD, Rooms[roomTag].imageE); Earthquake.go(Rooms[roomTag].imageQ, 15, 2, EarthQuake_Array); Rooms[roomTag].imageQ.addEventListener(Event.ENTER_FRAME, chimeraFinish, false, 0, true); Rooms[roomTag].chimeraKILLED = false; return; }; if (Rooms[roomTag].chimeraFINAL){ return; }; if (((Rooms[roomTag].useRIFLE) && (!(Rooms[roomTag].rifleON)))){ Rooms[roomTag].rifleON = true; activateRifle(); return; }; if (Rooms[roomTag].scaleUP > 2.2){ Rooms[roomTag].imageC.stop(); Rooms[roomTag].chimeraRUN = false; Rooms[roomTag].chimeraTint = 1; Rooms[roomTag].imageB.filters = []; if (Rooms[roomTag].rifleON){ deactivateRifle(); }; Retry(); return; } else { if ((((Rooms[roomTag].scaleUP > 0.8)) && ((Rooms[roomTag].scaleUP < 1.3)))){ Rooms[roomTag].killable = true; Tint(Rooms[roomTag].imageC, 0xFFFFFF, 0.2); if (!Rooms[roomTag].swap){ stage.swapChildren(Rooms[roomTag].imageC, Rooms[roomTag].imageE); Rooms[roomTag].swap = true; }; } else { Tint(Rooms[roomTag].imageC, 0, (Rooms[roomTag].chimeraTint = (Rooms[roomTag].chimeraTint - 0.01))); Rooms[roomTag].killable = false; }; }; if (Rooms[roomTag].chimera){ Rooms[roomTag].imageC.play(); if (!Rooms[roomTag].chimeraRUN){ if (Rooms[roomTag].imageC.currentFrame > 56){ Rooms[roomTag].imageC.gotoAndPlay(1); }; } else { if (Rooms[roomTag].imageC.currentFrame < 56){ Rooms[roomTag].imageC.gotoAndPlay(57); }; }; Rooms[roomTag].scaleUP = (Rooms[roomTag].imageC.scaleX = (Rooms[roomTag].imageC.scaleY = (Rooms[roomTag].imageC.scaleY + 0.003))); if (Rooms[roomTag].scaleUP > 1.5){ Rooms[roomTag].chimeraRUN = true; if (Rooms[roomTag].chimeraSCREAM){ _local5 = new chimera_charge_wav(); _local5.play(); Rooms[roomTag].chimeraSCREAM = false; }; }; Rooms[roomTag].imageC.scaleX = (Rooms[roomTag].imageC.scaleY = (Rooms[roomTag].imageC.scaleY + 0.005)); if ((Rooms[roomTag].imageC.currentFrame % 10) == 0){ Bfilt.blurX = randRange(2, 8); Bfilt.blurY = randRange(2, 8); Rooms[roomTag].imageB.filters = [Bfilt]; EarthQuake_Array.push(Rooms[roomTag].imageB, Rooms[roomTag].imageD, Rooms[roomTag].imageE); Earthquake.go(Rooms[roomTag].imageC, 10, 1, EarthQuake_Array); }; }; if (Rooms[roomTag].useRIFLE){ return; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local6 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local6); _local7 = new Array("0"); if (ITEM){ if (_local6){ if (_local7[_local2] == "0"){ } else { noEffect(_local7, _local2); break; }; }; }; }; } public function room40(_arg1:Event):void{ var _local2:Sound; var _local3:Array; var _local4:Rectangle; var _local5:SoundTransform; var _local6:MovieClip; if (Rooms[roomTag].first_time){ basicScene(0); channel = masterAUDIO.play(0, 99); _local5 = new SoundTransform(); _local5.volume = 0.2; channel.soundTransform = _local5; Rooms[roomTag].currentPAGE = 1; Rooms[roomTag].imageB.gotoAndStop(Rooms[roomTag].currentPAGE); _local6 = new RM40_flash(); _local6.x = 275; _local6.y = 204; Rooms[roomTag].imageC = _local6; }; _local2 = new beep_wav(); _local2.play(); _local3 = new Array(); _local4 = new Rectangle(245, 360, 30, 30); _local3.push(_local4); Rooms[roomTag].mouseEvents = _local3; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); stage.addChild(Rooms[roomTag].imageC); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room40EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Boolean; Rooms[roomTag].imageB.gotoAndStop(Rooms[roomTag].currentPAGE); if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; if (Rooms[roomTag].currentPAGE > 1){ if (((Rooms[roomTag].imageB.goback.hitTestPoint(mouseX, mouseY, true)) && (mouse_clicked))){ mouse_clicked = false; Rooms[roomTag].timer = 5; Rooms[roomTag].currentPAGE = 1; }; } else { if (Rooms[roomTag].currentPAGE == 1){ Tint(Rooms[roomTag].imageB.CT, 0, 0); Tint(Rooms[roomTag].imageB.EL, 0, 0); Tint(Rooms[roomTag].imageB.SA, 0, 0); Tint(Rooms[roomTag].imageB.SP, 0, 0); Tint(Rooms[roomTag].imageB.PR, 0, 0); Tint(Rooms[roomTag].imageB.CH, 0, 0); if (((Rooms[roomTag].imageB.CH.hitTestPoint(mouseX, mouseY, true)) && (mouse_clicked))){ Rooms[roomTag].currentPAGE = 2; mouse_clicked = false; Rooms[roomTag].timer = 5; Tint(Rooms[roomTag].imageB.CH, 0xFFFFFF, 0.8); }; if (((Rooms[roomTag].imageB.PR.hitTestPoint(mouseX, mouseY, true)) && (mouse_clicked))){ Rooms[roomTag].currentPAGE = 3; mouse_clicked = false; Rooms[roomTag].timer = 5; Tint(Rooms[roomTag].imageB.PR, 0xFFFFFF, 0.8); }; if (((Rooms[roomTag].imageB.SP.hitTestPoint(mouseX, mouseY, true)) && (mouse_clicked))){ Rooms[roomTag].currentPAGE = 4; mouse_clicked = false; Rooms[roomTag].timer = 5; Tint(Rooms[roomTag].imageB.SP, 0xFFFFFF, 0.8); }; if (((Rooms[roomTag].imageB.SA.hitTestPoint(mouseX, mouseY, true)) && (mouse_clicked))){ Rooms[roomTag].currentPAGE = 5; mouse_clicked = false; Rooms[roomTag].timer = 5; Tint(Rooms[roomTag].imageB.SA, 0xFFFFFF, 0.8); }; if (((Rooms[roomTag].imageB.EL.hitTestPoint(mouseX, mouseY, true)) && (mouse_clicked))){ Rooms[roomTag].currentPAGE = 6; mouse_clicked = false; Rooms[roomTag].timer = 5; Tint(Rooms[roomTag].imageB.EL, 0xFFFFFF, 0.8); }; if (((Rooms[roomTag].imageB.CT.hitTestPoint(mouseX, mouseY, true)) && (mouse_clicked))){ Rooms[roomTag].currentPAGE = 7; mouse_clicked = false; Rooms[roomTag].timer = 5; Tint(Rooms[roomTag].imageB.CT, 0xFFFFFF, 0.8); }; }; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local3 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local3); if (_local3){ if (_local2 == 0){ if (mouse_clicked){ mouse_clicked = false; Go_To(16, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function room41(_arg1:Event):void{ var _local2:Array; var _local3:Rectangle; var _local4:Array; var _local5:Sound; if (Rooms[roomTag].first_time){ basicScene(0); _local5 = new crawlerDIE_wav(); _local5.play(); channel3.stop(); channel = masterAUDIO.play(0, 99); }; Rooms[31].chase = false; Rooms[31].shimmerKILLED = true; _local2 = new Array(); _local3 = new Rectangle(245, 360, 30, 30); _local2.push(_local3); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); _local4 = new Array(Rooms[roomTag].imageB); Fizzle(_local4, 0xFF0000); Go_To(31, 1, 0); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room41EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Boolean; var _local4:Array; for (_local2 in Rooms[roomTag].mouseEvents) { _local3 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local3); _local4 = new Array("0"); if (ITEM){ if (_local3){ if (_local4[_local2] == "0"){ } else { noEffect(_local4, _local2); break; }; }; }; }; } public function room42(_arg1:Event):void{ var _local2:Array; var _local3:Rectangle; var _local4:Array; var _local5:Sound; var _local6:MovieClip; if (Rooms[roomTag].first_time){ basicScene(0); _local5 = new shimmerLAUGH_wav(); _local5.play(); _local6 = new border_text_mc(); Rooms[roomTag].borderImage = _local6; Rooms[roomTag].borderImage.stop(); Rooms[16].bodySeen = true; Rooms[roomTag].borderTEXT = true; }; _local2 = new Array(); _local3 = new Rectangle(245, 360, 30, 30); _local2.push(_local3); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); _local4 = new Array(Rooms[roomTag].imageB); Fizzle3(_local4, 0); if (Rooms[roomTag].borderTEXT){ stage.addChild(Rooms[roomTag].borderImage); Rooms[roomTag].deleteArray.push(Rooms[roomTag].borderImage); }; stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room42EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Boolean; var _local4:Array; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; if (Rooms[roomTag].borderTEXT){ Rooms[roomTag].borderSTRING = myTextA8; Rooms[roomTag].count = 0; Rooms[roomTag].go = false; Rooms[roomTag].borderImage.play(); Rooms[roomTag].borderImage.exit.addEventListener(MouseEvent.CLICK, returnEvents2, false, 0, true); stage.addEventListener(Event.ENTER_FRAME, borderTEXT, false, 0, true); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents); Rooms[roomTag].borderTEXT = false; return; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local3 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local3); _local4 = new Array("0"); if (ITEM){ if (_local3){ if (_local4[_local2] == "0"){ continue; }; noEffect(_local4, _local2); break; }; }; if (_local3){ if (_local2 == 0){ if (mouse_clicked){ mouse_clicked = false; Go_To(33, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function room43(_arg1:Event):void{ var _local2:Array; var _local3:Rectangle; var _local4:Rectangle; var _local5:Rectangle; var _local6:MovieClip; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; if (Rooms[roomTag].first_time){ basicScene(0); _local6 = new twinkle_mc(); Rooms[roomTag].imageC = _local6; }; _local2 = new Array(); _local3 = new Rectangle(198, 284, 154, 65); _local4 = new Rectangle(144, 28, 261, 233); _local2.push(_local3); _local2.push(_local4); _local5 = new Rectangle(245, 360, 30, 30); _local2.push(_local5); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); stage.addChild(Rooms[roomTag].imageC); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageC); stage.addChild(Rooms[roomTag].back); Rooms[roomTag].deleteArray.push(Rooms[roomTag].back); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.setChildIndex(stage.getChildByName("inventory"), (stage.numChildren - 1)); }; } public function room43EVENTS(_arg1:Event):void{ var _local2:*; var _local3:Boolean; var _local4:Array; if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; for (_local2 in Rooms[roomTag].mouseEvents) { _local3 = Rooms[roomTag].mouseEvents[_local2].contains(stage.mouseX, stage.mouseY); Quick(_local3); _local4 = new Array("HOLES", "PAINTING", "0"); if (ITEM){ if (_local3){ if (_local4[_local2] == "0"){ continue; }; noEffect(_local4, _local2); break; }; }; if (_local3){ if (_local2 == 0){ if (mouse_clicked){ mouse_clicked = false; Go_To(9, 7, 0); Rooms[9].activated = true; GameShedAchievement.ActivateAchievement(2477750373); break; } else { Text("Two eye-width holes are set in the painting and from within them something is twinkling. Take a look?"); break; }; }; if (_local2 == 1){ Text("'WHAT DID CURIOUSITY DO?'--Whatever could it mean? Below the text lies an artistic interpretation of a couple. The man's face is difficult to make out."); break; }; if (_local2 == 2){ if (mouse_clicked){ mouse_clicked = false; Go_To(9, 7, 0); break; } else { Text("BACK?"); break; }; }; }; }; } public function room44(_arg1:Event):void{ if (Rooms[roomTag].timer > 0){ Rooms[roomTag].timer--; return; }; if (Rooms[roomTag].first_time){ basicScene(0); }; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ stage.getChildByName("inventory").visible = false; }; } public function room44EVENTS(_arg1:Event):void{ } public function room46(_arg1:Event):void{ var _local2:Array; var _local3:Rectangle; SoundMixer.stopAll(); if (completeNoDeath){ GameShedAchievement.ActivateAchievement(3801651677); }; if (Rooms[roomTag].first_time){ basicScene(0); Rooms[roomTag].imageB.x = 275; Rooms[roomTag].imageB.y = 200; }; _local2 = new Array(); _local3 = new Rectangle(245, 360, 30, 30); _local2.push(_local3); Rooms[roomTag].mouseEvents = _local2; stage.addChild(Rooms[roomTag].imageB); Rooms[roomTag].deleteArray.push(Rooms[roomTag].imageB); stage.removeEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunction); stage.addEventListener(Event.ENTER_FRAME, Rooms[roomTag].roomFunctionEvents, false, 0, true); if (stage.getChildByName("inventory")){ removeMovie(stage.getChildByName("inventory")); }; } public function room46EVENTS(_arg1:Event):void{ } public function main(_arg1:Event):void{ var _local2:*; var _local3:*; var _local4:Function; var _local5:Function; var _local6:*; trace(roomTag); _local2 = 0; while (_local2 < (stage.numChildren - 1)) { _local6 = stage.getChildAt(_local2); trace(_local6.name); _local2++; }; stage.focus = stage; retry_hit = false; for (_local3 in itemsInInventory) { Tint(itemsInInventory[_local3], 0, 0); itemsInInventory[_local3].addEventListener(Event.ENTER_FRAME, returnItem, false, 0, true); }; _local4 = this[("room" + roomTag)]; _local5 = this[(("room" + roomTag) + "EVENTS")]; Bfilt.blurX = 10; Bfilt.blurY = 10; EarthQuake_Array = []; Rooms[roomTag].roomFunction = _local4; Rooms[roomTag].roomFunctionEvents = _local5; stage.addEventListener(Event.ENTER_FRAME, _local4, false, 0, true); stage.removeEventListener(Event.ENTER_FRAME, main); } function frame1(){ stop(); pButton.visible = false; loaderInfo.addEventListener(ProgressEvent.PROGRESS, update); CPMStarContentSpotID = "3020Q4C7D41FE"; ad = new AdLoader(CPMStarContentSpotID); adBox.addChild(ad); } function frame3(){ stop(); } function frame4(){ stop(); trace("DOESNT WORK"); } function frame5(){ stop(); myTextA1 = (((("<font size='11'><i><br><br><br><br><br> - THE CURIOUS CASE OF DR.FRIENDLY - <br><br>Impressive video tomfoolery? Or is a true serial killer at loose? - </i><br><br>" + "If rumours are to be believed, somewhere out there exists is a horrific angel of death; an insane butcher ") + "within a remotely concealed lair, surgically fusing the parts of both animals and humans together to make abominations. Either ") + "that, or simply a highly talented creative movie team who have stormed up a bunch of astoundingly realistic and shocking videos and ") + "whipped-up the greatest viral hoax since The Blair Witch Project.<br></font>"); myTextA1B = ((((((((((("<font size='11'><br>Since early June, a number of files have been consistently uploaded to popular video-sharing websites for " + "public viewing, and have accumulated quite the commotion amongst the online community. The videos ") + "themselves are audio-free, accompanied with various captioned footnotes describing the exhibited procedures ") + "in clever medical terminology. Each runs for approximately 10 minutes and contains real time amateur footage of ") + "what can be identified only as some form of diabolical surgery -or ritualistic torture- involving both humans ") + "and animal organisms. The animals themselves are rarely seen alive but their body parts are shown being resectioned ") + "with surgical measures onto previously dismembered humans. More disturbing are the apparent results, which seem to show ") + "these creatures- or more anatomically appropriately labelled 'vivisects'-, months later, active and ") + "living, their grotesque bodies now fashioned into one and seemingly able to utilize their new appendages in ") + "a mostly rudimentary and deliciously terrifying fashion. The surgeon can also be marginally seen in some ") + "scenes feeding and nurturing them in a fatherly manner. Each film fades out at the end, leaving a remaining ") + "name printed on the screen. <br> Edgar Friendly.</font>"); myTextA1C = (((((((("<font size='11'><br><br><br><br><br>Researchers believe that this name may be attributed to a Dr.Edgar " + "Friendly, ex-chief neurosurgeon at St.Lucius Hospital. However, the face of the man in the ") + "films is never seen well enough to ratify these speculations. These films have appeared on video-sharing ") + "websites briefly before being removed due to their violations of the sites explicit content regulations. ") + "Consequentially, they have cropped up on certain shock sites- marking an overwhelming throb of interest ") + "in their origin, which to this day still remains unknown. It has been reported that each video can be ") + "traced to anonymous uploaders with pseudo-generated IP codes and so far, no one in the film or other media industries has as yet been ") + "forthcoming regarding their production.") + "<br></font>"); myTextA2 = (((((((("<font size='12'>-26th October, 2008:-" + "Quotes:<br><br>") + "Statement issued by the FBI- 'These movies are unlikely to be anything other than a clever hoax. There is no emerging evidence detailing their origin as of now, and ") + "therefore we cannot authorise a full investigation at present. That being said we do have a small ongoing cyber crime unit ") + "looking into some minor leads. There have been a few missing persons reports of late in a certain areas which ") + "cannot be disclosed at this present time, but nothing conclusive to thread it to this case. Without anything substantial; bodies, ") + "eye witness reports and such, it's probably fair to say this is nothing but a clever internet prank. Time ") + "will tell. I would certainly recommend the people behind this to come forward and save our agency a lot of ") + "hassle and expense.' -<br><br></font>"); myTextA2B = (((((((("<font size='11'><br><br><br><br>Dr.Franklin Rivers, current chief surgeon at St.Lucius says-<br><br> 'Yes, I knew Dr.Friendly well, he is, or was, quite the remarkable surgeon as his fame suggests, " + "well respected among his peers. But where is Friendly now? I have no idea. I'm sure he'll surface sooner or ") + "later. No one has had any contact with him in quite some time. Unfortunately, he was forced to resign ") + "about 5 years back due to a traumatic brain injury inflicted during an automobile accident he was involved in, which as a ") + "consequence limited his abilities in the operating room. No one has seen him since. I'd like it to be said ") + "that the idea of Edgar, in the context of this kind of aggressive brutality towards others, doesn't fit the ") + "profile. Whoever is using his name should be aware that for us his peers this whole act is distasteful and ") + "offensive to the memory of a good man and needs to be brought to an end. The lengths some people will go ") + "for minor recognition is a sorrowful thing.'</font>"); myTextA3 = (((((((((((("<font size='11'><br><br>- Journalist Peter Langdon is investigating these claims. He has been given special permission to accompany " + "local police on Monday to document some enquiries and uncover any critical links to these online videos. ") + "He says- <br>") + "'Using my own sources I've ascertained what I believe to be affirmative information in regards to the ") + "whereabouts of the Friendly videos origin of manufacture. I'm leading a joint venture with certain ") + "enforcement agencies, who -after having reviewed the evidence I have presented them with- have given us the ") + "green light to monitor and facilitate our journey, and special privileges to document our findings as we approach a prominent tip-off location this coming week. ") + " My personal belief is that this will turn out to be nothing more than modern day hocus-pocus, sheer CGI fantasy of ") + "which this journalist is convinced is no cause for genuine perturbation. This kind of intrusive viral ") + "advertising for some future horror movie or whatever it is nothing new, however this time it has gone too far. ") + "We shall see who has been leading us this merry dance, and exposing and embarassing the jokers who have instigated this wild goose chase will ") + "be an added benefit for myself and my team.") + "<br><br></font>"); myTextA3B = (((((((("<font size='11'><br><br><br><br>Others would to advise Langdon to be more judicious in his cavalier approach, those such as Dennis Lucas, notable " + "criminologist known for having worked on some high-profile serial killer cases, who says - <br><br>") + "'If I were Mr.Langdon I be less ambivalent in this gung-ho furor into the unknown he's taking. I've done some ") + "personal research of my own, and after having spoken with other specialists and forensic scientists ") + "we have agreed in our analysis that these films are highly disturbing - not due to their violent graphical nature but ") + "rather the uncanny accuracies in their depictions of the observed surgical techniques and some recognisable ") + " methods in the psychology of the videos. Fake or not, most of us agree that there are few discrepancies ") + "in the vocabulary which is medically sound. Strikingly so. This is almost TOO real to be Hollywood. Bravo to those ") + "behind all of this for their excellent and thorough research. They've certainly spooked me out!'</font>"); myTextA4 = (("<font size='13'><I>OH LORD..It's..John!!!! He was one of my missing crew, a researcher. What have they done to him? He came with his cameraman few weeks ago" + " ahead of us to do some preliminary research on this area. We lost contact a few days before I came.") + "This is...insanity. I need to escape from here, RIGHT NOW!!.</I><br>"); myTextA5 = ("<font size='13'><I>This sick parody of a mythical werewolf is the one that was on the computer screen just now. I've " + " no weapons. I'll have to run for it and find some other way, perhaps trap it. Think fast, Peter!!!.</I><br>"); myTextA6 = ("<font size='13'><I>Wha-!!!!...I recognise our cameraman, Lars. What's left of him, anyway. " + "Strung-up like an animal and something in here has been feeding on him. Jesus. Is it my fate to end up in a similar fashion?</I><br>"); myTextA7 = (("<font size='13'><I>Before I even hear his almost voiceless whisper I sense that it is him. Dr.Edgar Friendly. 'Beyond here lies the exit, but you go no further today. He is waiting for you," + "and they'll be no lucky escapes this time. You will pay for what you did to her..") + "You were so close..so close to escape. Goodbye'</I><br>"); myTextA8 = ("<font size='13'><I>Just as I felt my escape was secured a crackling noise from behind causes me to turn. The thing is stirring. It has caught me in its lair and looks into my eyes with a diabolical gaze," + "seconds before it shifts out of its position with almost inhuman agility. As I flee it pursues me a ravenous, unforgiving hunger.</I><br>"); YOU = (("<font color='#ADDFFF'>" + "YOU:") + "</font>"); UKNOWN = (("<font color='#E8F75E'>" + "UNKNOWN:") + "</font>"); NPC = (("<font color='#ABFEC4'>" + "ALEXANDER:") + "</font>"); myTextDIALOGUE1 = (((((((((((((((((((((((((("In front of me is a rather regal-looking man. He looks pallid and sick. There is a glazed, drunken look about his eyes.<br>" + "<font size='12'>") + UKNOWN) + "A visitor? 'Tis a great pleasure to introduce myself. My name is Alexander. Welcome to my practice room.<br>") + YOU) + "'Your *practice* room? What? You mean you're not kidnapped?<br>") + NPC) + "I do apologise for locking you out earlier. Seems like one of the master's reanimatited puppies was roaming around and I didn't fancy becoming that things lunch *laughs*<br>") + YOU) + "What was that monster?<br>") + NPC) + "Monster? Oh, I suppose. They call it 'Chimera'. That's about all I know. That, and that it loves the taste of our flesh *laughs*<br>") + YOU) + "...What *exactly* is so funny?! Are you goddamn--? Look, anyway, we don't have much time, but if you can-<br>") + NPC) + "On the contrary all I have is time. Time, time, time. Stay awhile. Stay forever.<br>") + YOU) + "Wha-?! Look at this room! It's a slaughterhouse! We have to get out of here immediately, don't you see? It's all true, he's Dr.Frankenstein here and we-<br>") + NPC) + "-WHY ON EARTH would I want to leave? Tell me tell me..This is home dear boy! *laughs* Let's face it..You'll be dead soon anyway. Dead, or...altered *laughs*") + ". Not that I mind dying compared to the other option.<br>") + YOU) + "God, you've completely lost it.. WHAT IS WRONG WITH YOU? (shaking him)<br>") + NPC) + "-(breaks free) Sorry to keep cutting in but frankly I really do have to go back to my practice.*whispering* They like listening to my playing you know, I can sense it. <br>") + YOU) + "(I've got to go, he's beyond hope...)"); NPC2 = (("<font color='#ABFEC4'>" + "ALEXANDER:") + "</font>"); myTextDIALOGUE2 = (((((((((((((((((((((((((("Alexander approaches me in a conducted state. He looks entirely human again.<br>" + "<font size='12'>") + NPC2) + "Thank you. I feel somewhat..I can't remember much..but I..I know you saved me! I'm eternally grateful!.<br>") + YOU) + "Listen I know you're confused but...what was that thing on your back?<br>") + NPC2) + "It was one of Friendly's mind-control pets and..oh my God that thing was..inside me *sob*..I can't take this! *heavy moaning* SOrry-- I must retain myself..I can barely speak.. I'm exhausted... I heard it pacifies thoughts in the brain using hallucinogen sedatives- <br>") + YOU) + "Are you ok? What are you doing here?<br>") + NPC2) + "Well. I can play but I'm not a pianist that's for sure- I'm a mechanical engineer. I've been kept...for months now...developing...devices, machinery designed for torture and...*sob* death.<br>") + "you can't remain here, there are hidden cameras everywhere. Be..be certain that he is watching your every move! Here's...a key...my quarters...something useful.<br>") + YOU) + "Aren't you coming?<br>") + NPC2) + "too...tired to move. Please...get out of here and bring the authorities as quickly as you can.<br>") + YOU) + "...Christ, are you going to be OK? I'll be back as soon as I can.<br>") + NPC2) + "One more....door to my quarters...hidden...I wish I could remember where, but that thing...search carefully.<br>") + YOU) + "....OK...<br>") + NPC2) + "Save us, my friend...<br>") + YOU) + "I will. Take your rest."); FRIENDLY = (("<font color='#BEA7CF'>" + "FRIENDLY:") + "</font>"); myTextDIALOGUE3 = (((((((((((((((((((((((((((((("As I stare at the horrendous creature, a raspy voice suddenly appears over an invisible loudspeaker in the ceiling:-<br>" + "<font size='12'>") + UKNOWN) + "...His title, is 'Project K'. Take a moment to observe him carefully, as I can assure you his face will be the last you'll recognise before you die. <br>") + YOU) + "Edgar Friendly?<br>") + FRIENDLY) + "Your estimation is correct. One is impressed that you've made it this far. You've been meddlesome, but have shown impressive spirit. One felt you deserved at least some minor acquaintance with your patron. <br>") + YOU) + "Why are you keeping me here?<br>") + FRIENDLY) + "Education. The traps that have set for you are designed to evaluate your intelligence, your intrepidity. One needs someone with a degree of mental acuity in order to...<br>") + "make them understand, to elucidate what it is One is doing here.<br>") + YOU) + "Which is what?<br>") + FRIENDLY) + "Innovation! These creatures are heavenly beings, can't you see? God-like. A blessing upon us all, his creations manifested into one being.<br>") + YOU) + "All I see is madness.<br>") + FRIENDLY) + "..You will understand. Perhaps you should spend more time here, Peter Langdon. Or perhaps you are just dreaming this, is it not all merely..a hypnotic suggestion? <br>") + YOU) + "...What? What do you...<br>") + FRIENDLY) + "...*laughs*<br>") + YOU) + "Friendly---FRIENDLY!...<br>") + FRIENDLY) + "...<br>") + YOU) + "It's no good. He's gone. I best keep moving."); TAKAKI = (("<font color='#BEA7CF'>" + "T.TAKAKI:") + "</font>"); myTextDIALOGUE4 = ((((((((((((((((((((((((((((((((((((((((((((((((("As if from a dream she appears before me, an attractive woman in her late 30's. She gives off the scent of lavender. <br>" + "<font size='12'>") + UKNOWN) + "Mr.Langdon. My name is Tracy Takaki. Please hear me out.<br>") + YOU) + "I never expected to find another living soul in here, never mind someone..like you.<br>") + TAKAKI) + "Yes. Indeed. Isn't it a stark contrast? Here you are, surrounded by the terrible, in this sinister place and yet here I am, a regular person.<br>") + YOU) + "?<br>") + TAKAKI) + "My point is, Mr.Langdon, this place, the asylum..is actually, your mind. A devious imaginary creation. Think about it. How could these, creatures, or 'vivisects' as you have labelled them- actually exist? ") + "The medical technology to produce such impossibilities of science, does it exist? ") + "How, could such creatures be living and breathing, wandering casually around this hospital lke something from a Halloween movie?<br>") + YOU) + "My mind? Come on.<br>") + TAKAKI) + "In short Mr.Langdon. You're not..here<br>") + YOU) + "What do you mean?<br>") + TAKAKI) + "You have been docile. In a coma for months. I'm sitting next to your hospital bed, in WishingTree Psychiatric Hospital, the *real* one. You've been mumbling, rambling on about your environment. Talking about this 'Edgar Friendly' character. ") + "Dr.Friendly is -your- doctor. He has been ever since the accident, the car crash -you- were involved in. Until now you were too deep, too nobtainable, but clearly you can hear me now. ") + "Thus you *ARE* conscious of the waking world. And we believe that if you simulate death in your dream state you will wake up once you realise this is all nothing but a figment of your imagination.<br>") + YOU) + "...Simulate my death, is that what you propose? <br>") + TAKAKI) + "Death...Technically speaking.. If you die in this state, you will wake up.<br>") + YOU) + "...<br>") + TAKAKI) + "Mr.Langdon.. ?<br>") + YOU) + "You really must think I was born yesterday.<br>") + TAKAKI) + "Mr.Langdon..I am deadly serious. It is, it is paramount -- that you comply with our..my demands immediately, if not you will be permanently brain-dead, is that what you want? <br>") + YOU) + "...Take me to him.<br>") + TAKAKI) + "I....then..Edgar is...misunderstood, you shouldn't have gotten this far...I <br>") + FRIENDLY) + "(over the tannoy}TRACY!! What are you doing in there! Get back immediately!!<br>") + TAKAKI) + "Edgar I just don't want you to be hurt!<br>") + YOU) + "Friendly you better get out here now before I strangle her to death while you watch! You hear me?!!!<br>") + FRIENDLY) + "TRACY! GET OUT OF THERE!<br>") + TAKAKI) + "...not me Mr.Langdon, it's you, you..YOU WHO WILL DIE-- NOW!"); MIKE = (("<font color='#7AF479'>" + "LESTER") + "</font>"); myTextDIALOGUE5 = ((((((((((((((((((((((((((("Suddenly a horrific, tentacle-wreathed creature bursts through the window- its grasp missing me by inches! As I flee it screams at me in a mottled voice-<br>" + "<font size='12'>") + UKNOWN) + "WAIT!!!I thought you were one of them!<br>") + YOU) + "Get away from me!<br>") + UKNOWN) + "Stop! Don't run only let me speak! I...I.... but keep your distance! I couldn't help it when you were so close, I APOLOGISE- I'm so, so famished, but I don't want to hurt you.<br>") + YOU) + "...<br>") + UKNOWN) + "You may not believe me but I was once a man. Once I had a name as you have. Lester...Lester Rafferty.") + "They operated on me but I managed to escape..*gah* keep your distance from me- escape before they could mess with my mind like they do with everyone.") + "They're hunting me as we speak, but I can't leave this place, my appearance would revolt anyone, even my own sweet daughter *moans*....<br>") + YOU) + "Why did you attack me?<br>") + MIKE) + "It was not of my violition, understand this. It's something he does to our minds- transforms us into monsters and cannibals with a hunger and malicious rage that never ends!") + "Even now the sight of your flesh is maddening...come closer..*aaghhh* NO You cannot linger- but these walls only I can scale!! Listen! You'll need a key to start the ") + "elevator downstairs. It takes you to the entrance. But the key is guarded by a terrible being in the darkness of the sewer. It hates the light.<br>") + YOU) + "Another creation?<br>") + MIKE) + "That aged, oily and foul creature stalks the dark. It cannot be defeated by a man. Fire is the only thing he fears. Take something that burns! Incinerate him for his sins! <br>") + YOU) + "Can you tell me-<br>") + MIKE) + "WAIT!!-Did you hear that?! Someone is near..I go! He's always watching. Now you're part of this game too. Farewell! Do not come back here if you cherish your life!<br>"); GameShedAchievement.Init(this.root, "h5p03gl95j"); stage.scaleMode = StageScaleMode.NO_SCALE; EarthQuake_Array = new Array(); completeNoDeath = true; startColor = new ColorTransform(); endColor = new ColorTransform(); clip = new MovieClip(); STAGE_WIDTH = 550; STAGE_HEIGHT = 400; STAGE_CENTERX = (STAGE_WIDTH / 2); STAGE_CENTERY = (STAGE_HEIGHT / 2); CHIMERA_MODE = 0; CHIMERA_COUNT = 0; retry_hit = false; itemsInInventory = new Array(); inventorySprite = new Sprite(); PASSCODE = "2169"; Rooms = new Array(); obArray = new Array(); shout = new Object(); Bfilt = new BlurFilter(); antiGC = new Dictionary(false); TEXT_X = 10; TEXT_Y = 330; LEFT = -1; STAND = 0; RIGHT = 1; my_shadow = new DropShadowFilter(); my_shadow.color = 0; my_shadow.blurY = 2; my_shadow.blurX = 2; my_shadow.strength = 150; my_shadow.distance = 1; filtersArray = new Array(my_shadow); font = new Trebuchet_14pt_Bold(); format = new TextFormat(); format.font = font.fontName; format.bold = true; format.italic = false; format.color = 0xFFFFFF; font2 = new Calibri_11pt_Bold(); format2 = new TextFormat(); format2.font = font2.fontName; format2.bold = true; format2.italic = false; format2.color = 0xFFFFFF; font3 = new Calibri_12pt_Italic(); format3 = new TextFormat(); format3.font = font3.fontName; format3.bold = true; format3.italic = true; format3.color = 0xFFFFFF; display_txt = new TextField(); display_txt.name = "global_text"; display_txt.width = 535; display_txt.height = 500; display_txt.wordWrap = true; display_txt.multiline = true; display_txt.embedFonts = true; display_txt.selectable = false; display_txt.x = TEXT_X; display_txt.y = TEXT_Y; display_txt.mouseEnabled = false; display_txt.filters = filtersArray; display_txt.setTextFormat(format); masterAUDIO = new mainTRACK_wav(); masterAUDIO2 = new piano_wav(); masterAUDIO3 = new newbattle_wav(); Initialise(); stage.addEventListener(Event.ENTER_FRAME, main, false, 0, true); stage.addEventListener(MouseEvent.MOUSE_DOWN, mouse_down, false, 0, true); stage.addEventListener(MouseEvent.MOUSE_UP, mouse_up, false, 0, true); } } }//package insanityGAMESHED_fla
Section 12
//mushies_84 (insanityGAMESHED_fla.mushies_84) package insanityGAMESHED_fla { import flash.display.*; public dynamic class mushies_84 extends MovieClip { public function mushies_84(){ addFrameScript(47, frame48); } function frame48(){ stop(); } } }//package insanityGAMESHED_fla
Section 13
//ROOM_274 (insanityGAMESHED_fla.ROOM_274) package insanityGAMESHED_fla { import flash.display.*; public dynamic class ROOM_274 extends MovieClip { public function ROOM_274(){ addFrameScript(122, frame123); } function frame123(){ stop(); } } }//package insanityGAMESHED_fla
Section 14
//ROOM_286 (insanityGAMESHED_fla.ROOM_286) package insanityGAMESHED_fla { import flash.display.*; public dynamic class ROOM_286 extends MovieClip { public function ROOM_286(){ addFrameScript(717, frame718); } function frame718(){ stop(); } } }//package insanityGAMESHED_fla
Section 15
//acid_wav (acid_wav) package { import flash.media.*; public dynamic class acid_wav extends Sound { } }//package
Section 16
//acidICON_mc (acidICON_mc) package { import flash.display.*; public dynamic class acidICON_mc extends MovieClip { } }//package
Section 17
//alarm_wav (alarm_wav) package { import flash.media.*; public dynamic class alarm_wav extends Sound { } }//package
Section 18
//alex_sitting_mc (alex_sitting_mc) package { import flash.display.*; public dynamic class alex_sitting_mc extends MovieClip { public var bug:MovieClip; public var face:MovieClip; } }//package
Section 19
//alex_standing_mc (alex_standing_mc) package { import flash.display.*; public dynamic class alex_standing_mc extends MovieClip { public var face:MovieClip; } }//package
Section 20
//BACK_mc (BACK_mc) package { import flash.display.*; public dynamic class BACK_mc extends MovieClip { } }//package
Section 21
//beep_wav (beep_wav) package { import flash.media.*; public dynamic class beep_wav extends Sound { } }//package
Section 22
//blood_mc (blood_mc) package { import flash.display.*; public dynamic class blood_mc extends MovieClip { } }//package
Section 23
//bloodsplat_mc (bloodsplat_mc) package { import flash.display.*; public dynamic class bloodsplat_mc extends MovieClip { } }//package
Section 24
//boom_wav (boom_wav) package { import flash.media.*; public dynamic class boom_wav extends Sound { } }//package
Section 25
//border_text_mc (border_text_mc) package { import flash.display.*; public dynamic class border_text_mc extends MovieClip { public var exit:SimpleButton; } }//package
Section 26
//breath_wav (breath_wav) package { import flash.media.*; public dynamic class breath_wav extends Sound { } }//package
Section 27
//burn_wav (burn_wav) package { import flash.media.*; public dynamic class burn_wav extends Sound { } }//package
Section 28
//button_wav (button_wav) package { import flash.media.*; public dynamic class button_wav extends Sound { } }//package
Section 29
//button2_wav (button2_wav) package { import flash.media.*; public dynamic class button2_wav extends Sound { } }//package
Section 30
//Calibri_11pt_Bold (Calibri_11pt_Bold) package { import flash.text.*; public dynamic class Calibri_11pt_Bold extends Font { } }//package
Section 31
//Calibri_12pt_Italic (Calibri_12pt_Italic) package { import flash.text.*; public dynamic class Calibri_12pt_Italic extends Font { } }//package
Section 32
//candleICON_mc (candleICON_mc) package { import flash.display.*; public dynamic class candleICON_mc extends MovieClip { } }//package
Section 33
//chimera_charge_wav (chimera_charge_wav) package { import flash.media.*; public dynamic class chimera_charge_wav extends Sound { } }//package
Section 34
//chimera_curtain_mc (chimera_curtain_mc) package { import flash.display.*; public dynamic class chimera_curtain_mc extends MovieClip { } }//package
Section 35
//chimera_die_mc (chimera_die_mc) package { import flash.display.*; public dynamic class chimera_die_mc extends MovieClip { } }//package
Section 36
//chimera_mc (chimera_mc) package { import flash.display.*; public dynamic class chimera_mc extends MovieClip { public var hitBOX:MovieClip; } }//package
Section 37
//chimera_X_mc (chimera_X_mc) package { import flash.display.*; public dynamic class chimera_X_mc extends MovieClip { } }//package
Section 38
//choke_wav (choke_wav) package { import flash.media.*; public dynamic class choke_wav extends Sound { } }//package
Section 39
//click_wav (click_wav) package { import flash.media.*; public dynamic class click_wav extends Sound { } }//package
Section 40
//collect_wav (collect_wav) package { import flash.media.*; public dynamic class collect_wav extends Sound { } }//package
Section 41
//crash_wav (crash_wav) package { import flash.media.*; public dynamic class crash_wav extends Sound { } }//package
Section 42
//crawler_wav (crawler_wav) package { import flash.media.*; public dynamic class crawler_wav extends Sound { } }//package
Section 43
//crawlerDIE_wav (crawlerDIE_wav) package { import flash.media.*; public dynamic class crawlerDIE_wav extends Sound { } }//package
Section 44
//creepy_wav (creepy_wav) package { import flash.media.*; public dynamic class creepy_wav extends Sound { } }//package
Section 45
//crosshair_mc (crosshair_mc) package { import flash.display.*; public dynamic class crosshair_mc extends MovieClip { } }//package
Section 46
//ctu_wav (ctu_wav) package { import flash.media.*; public dynamic class ctu_wav extends Sound { } }//package
Section 47
//d_click_mc (d_click_mc) package { import flash.display.*; public dynamic class d_click_mc extends MovieClip { } }//package
Section 48
//diesweep_wav (diesweep_wav) package { import flash.media.*; public dynamic class diesweep_wav extends Sound { } }//package
Section 49
//door_jam_wav (door_jam_wav) package { import flash.media.*; public dynamic class door_jam_wav extends Sound { } }//package
Section 50
//door7_wav (door7_wav) package { import flash.media.*; public dynamic class door7_wav extends Sound { } }//package
Section 51
//drain_wav (drain_wav) package { import flash.media.*; public dynamic class drain_wav extends Sound { } }//package
Section 52
//Earthquake (Earthquake) package { import flash.display.*; import flash.events.*; import flash.utils.*; public class Earthquake { private static const FRAME_RATE:int = 25; public static var timer:Timer; private static var image:DisplayObject; private static var originalX:int; private static var originalY:int; private static var imageB:MovieClip; private static var buddies:Boolean = false; public static var _offsetX:int; public static var _offsetY:int; private static var intensity:int; private static var intensityOffset:int; private static var buddyArray:Array; public static function go(_arg1:MovieClip, _arg2:Number=10, _arg3:Number=1, ... _args):void{ var _local7:*; if (timer){ timer.stop(); }; image = _arg1; buddyArray = _args[0]; if (buddyArray){ buddies = true; for (_local7 in buddyArray) { buddyArray[_local7].originalX = buddyArray[_local7].x; buddyArray[_local7].originalY = buddyArray[_local7].y; }; }; originalX = image.x; originalY = image.y; intensity = _arg2; intensityOffset = (intensity / 2); var _local5:int = int((1000 / FRAME_RATE)); var _local6:int = int(((_arg3 * 1000) / _local5)); timer = new Timer(_local5, _local6); timer.addEventListener(TimerEvent.TIMER, quake); timer.addEventListener(TimerEvent.TIMER_COMPLETE, resetImage); timer.start(); } public static function temp():void{ } private static function quake(_arg1:TimerEvent):void{ var _local4:*; var _local2:int = ((originalX + (Math.random() * intensity)) - intensityOffset); var _local3:int = ((originalY + (Math.random() * intensity)) - intensityOffset); image.x = _local2; image.y = _local3; if (buddies){ for (_local4 in buddyArray) { buddyArray[_local4].x = ((_local2 - originalX) + buddyArray[_local4].originalX); buddyArray[_local4].y = ((_local3 - originalY) + buddyArray[_local4].originalY); }; }; } private static function resetImage(_arg1:TimerEvent=null):void{ var _local2:*; image.x = originalX; image.y = originalY; if (buddies){ for (_local2 in buddyArray) { buddyArray[_local2].x = buddyArray[_local2].originalX; buddyArray[_local2].y = buddyArray[_local2].originalY; }; }; cleanup(); } private static function cleanup():void{ timer = null; image = null; } } }//package
Section 53
//elevator_die_mc (elevator_die_mc) package { import flash.display.*; public dynamic class elevator_die_mc extends MovieClip { public function elevator_die_mc(){ addFrameScript(90, frame91); } function frame91(){ stop(); } } }//package
Section 54
//elevator_door_wav (elevator_door_wav) package { import flash.media.*; public dynamic class elevator_door_wav extends Sound { } }//package
Section 55
//elevator_spray_mc (elevator_spray_mc) package { import flash.display.*; public dynamic class elevator_spray_mc extends MovieClip { } }//package
Section 56
//elevator_wav (elevator_wav) package { import flash.media.*; public dynamic class elevator_wav extends Sound { } }//package
Section 57
//escape_mc (escape_mc) package { import flash.display.*; public dynamic class escape_mc extends MovieClip { } }//package
Section 58
//explode_rifle_mc (explode_rifle_mc) package { import flash.display.*; public dynamic class explode_rifle_mc extends MovieClip { } }//package
Section 59
//ExplodeDisolve (ExplodeDisolve) package { import flash.display.*; import flash.events.*; public class ExplodeDisolve extends Sprite { private var particleArray:Array; private var particleMaxSpeed:Number;// = 1 private var particleFadeSpeed:Number;// = 0.025 private var particleTotal:Number;// = 3 private var particleRange:Number;// = 25 private var particleCurrentAmount:Number;// = 0 private var tmc:MovieClip; private static var stageMain; public function init(_arg1:MovieClip, _arg2):void{ stageMain = _arg2; tmc = _arg1; particleArray = []; addEventListener(Event.ENTER_FRAME, onEnterFrameLoop, false, 0, true); spawnParticles(); } private function onEnterFrameLoop(_arg1:Event):void{ updateParticle(); } private function spawnParticles():void{ var _local1:Number = 0; while (_local1 < 100) { createParticle((tmc.x + stageMain.randRange(-100, 100)), (tmc.y + stageMain.randRange(-100, 100))); _local1++; }; var _local2:Number = 0; while (_local2 < 100) { createParticle((tmc.x + stageMain.randRange(-30, 30)), (tmc.y + stageMain.randRange(-30, 30))); _local2++; }; } function createParticle(_arg1:Number, _arg2:Number):void{ var _local4:MovieClip; var _local3:Number = 0; while (_local3 < particleTotal) { _local4 = new Particle(); _local4.x = _arg1; _local4.y = _arg2; _local4.rotation = (Math.random() * 360); _local4.alpha = ((Math.random() * 0.5) + 0.5); _local4.boundyLeft = (_arg1 - particleRange); _local4.boundyTop = (_arg2 - particleRange); _local4.boundyRight = (_arg1 + particleRange); _local4.boundyBottom = (_arg2 + particleRange); _local4.speedX = ((Math.random() * particleMaxSpeed) - (Math.random() * particleMaxSpeed)); _local4.speedY = ((Math.random() * particleMaxSpeed) + (Math.random() * particleMaxSpeed)); _local4.speedX = (_local4.speedX * particleMaxSpeed); _local4.speedY = (_local4.speedY * particleMaxSpeed); _local4.fadeSpeed = (Math.random() * particleFadeSpeed); particleCurrentAmount++; particleArray.push(_local4); addChild(_local4); _local3++; }; } private function updateParticle():void{ var _local2:MovieClip; if (particleArray.length <= 0){ removeEventListener(Event.ENTER_FRAME, onEnterFrameLoop); stageMain.Rooms[stageMain.roomTag].specterDEAD = true; stageMain.Rooms[stageMain.roomTag].done = true; }; var _local1:* = 0; while (_local1 < particleArray.length) { _local2 = particleArray[_local1]; _local2.alpha = (_local2.alpha - _local2.fadeSpeed); _local2.x = (_local2.x + _local2.speedX); _local2.y = (_local2.y + _local2.speedY); if (_local2.alpha <= 0){ destroyParticle(_local2); } else { if ((((((((_local2.x < _local2.boundyLeft)) || ((_local2.x > _local2.boundyRight)))) || ((_local2.y < _local2.boundyTop)))) || ((_local2.y > _local2.boundyBottom)))){ _local2.fadeSpeed = (_local2.fadeSpeed + 0.05); }; }; _local1++; }; } private function destroyParticle(_arg1:MovieClip):void{ var _local3:MovieClip; var _local2:* = 0; while (_local2 < particleArray.length) { _local3 = particleArray[_local2]; if (_local3 == _arg1){ particleCurrentAmount--; particleArray.splice(_local2, 1); removeChild(_local3); }; _local2++; }; } } }//package
Section 60
//farewell_wav (farewell_wav) package { import flash.media.*; public dynamic class farewell_wav extends Sound { } }//package
Section 61
//fire_mc (fire_mc) package { import flash.display.*; public dynamic class fire_mc extends MovieClip { } }//package
Section 62
//flashlightBABY_mc (flashlightBABY_mc) package { import flash.display.*; public dynamic class flashlightBABY_mc extends MovieClip { public var flashlight_mc:MovieClip; public var mask_mc:MovieClip; public var hitBOX:MovieClip; } }//package
Section 63
//fly_mc (fly_mc) package { import flash.display.*; public dynamic class fly_mc extends MovieClip { } }//package
Section 64
//GameShedAchievement (GameShedAchievement) package { import flash.display.*; import flash.system.*; import flash.net.*; public class GameShedAchievement { private static const NOT_INITIALIZED:String = "-2"; private static const USER_ID_NOT_FOUND:String = "-1"; private static const GAME_SHED_ACHIEVEMENT_URL:String = "http://www.gameshed.com/_a_a/ach_insanity_2.php"; private static var _userId:String = "-2"; private static var _crypto:String = "h5p03gl95j"; private static var _locked:Boolean = false; public static function Init(_arg1:DisplayObject, _arg2:String):void{ _crypto = _arg2; Security.allowDomain("http://www.gameshed.com"); var _local3:Object = _arg1.root.loaderInfo.parameters; if (_local3.user == null){ _userId = USER_ID_NOT_FOUND; } else { _userId = String(_local3.user); }; } public static function ActivateAchievement(_arg1:Number):void{ SendStuff(_arg1); } private static function SendStuff(_arg1:Number):void{ if (_locked){ return; }; if (_userId == NOT_INITIALIZED){ throw (new Error("GameShedAchievement API hasn't been initialized. You must call GameShedAchievement.Init(this.root) before sending achievements.")); }; if (_userId == USER_ID_NOT_FOUND){ trace("GameShedAchievementAPI.ActivateAchievement() :: The API has been installed."); return; }; var _local2:String = ("user_id=" + GetGameShedUserId()); var _local3:String = ("achievement_id=" + _arg1); var _local4:String = ((_arg1 + _crypto) + GetGameShedUserId()); var _local5:String = ("key=" + MD5.calcMD5(_local4)); var _local6:URLVariables = new URLVariables(((((_local2 + "&") + _local3) + "&") + _local5)); var _local7:URLRequest = new URLRequest(GAME_SHED_ACHIEVEMENT_URL); _local7.data = _local6; _local7.method = URLRequestMethod.POST; var _local8:URLLoader = new URLLoader(); _local8.load(_local7); } public static function GetGameShedUserId():String{ return (_userId); } public static function get locked():Boolean{ return (_locked); } public static function set locked(_arg1:Boolean):void{ _locked = _arg1; } } }//package
Section 65
//glass_puzzle_mc (glass_puzzle_mc) package { import flash.display.*; public dynamic class glass_puzzle_mc extends MovieClip { } }//package
Section 66
//glass_wav (glass_wav) package { import flash.media.*; public dynamic class glass_wav extends Sound { } }//package
Section 67
//handwheel_wav (handwheel_wav) package { import flash.media.*; public dynamic class handwheel_wav extends Sound { } }//package
Section 68
//handwheelICON_mc (handwheelICON_mc) package { import flash.display.*; public dynamic class handwheelICON_mc extends MovieClip { } }//package
Section 69
//heartbeat_wav (heartbeat_wav) package { import flash.media.*; public dynamic class heartbeat_wav extends Sound { } }//package
Section 70
//herodie_wav (herodie_wav) package { import flash.media.*; public dynamic class herodie_wav extends Sound { } }//package
Section 71
//house0_mc (house0_mc) package { import flash.display.*; public dynamic class house0_mc extends MovieClip { public function house0_mc(){ addFrameScript(89, frame90); } function frame90(){ stop(); } } }//package
Section 72
//house1_mc (house1_mc) package { import flash.display.*; public dynamic class house1_mc extends MovieClip { public var mush:MovieClip; } }//package
Section 73
//house10_mc (house10_mc) package { import flash.display.*; public dynamic class house10_mc extends MovieClip { } }//package
Section 74
//house11_mc (house11_mc) package { import flash.display.*; public dynamic class house11_mc extends MovieClip { } }//package
Section 75
//house12_mc (house12_mc) package { import flash.display.*; public dynamic class house12_mc extends MovieClip { } }//package
Section 76
//house13_mc (house13_mc) package { import flash.display.*; import flash.text.*; public dynamic class house13_mc extends MovieClip { public var text1:TextField; public var bON:MovieClip; public var text2:TextField; public var text3:TextField; public var text4:TextField; public var b1:MovieClip; public var b2:MovieClip; public var buttonOFF:MovieClip; public var b3:MovieClip; public var b4:MovieClip; public var buttonON:MovieClip; public var bOFF:MovieClip; } }//package
Section 77
//house14_mc (house14_mc) package { import flash.display.*; public dynamic class house14_mc extends MovieClip { } }//package
Section 78
//house15_mc (house15_mc) package { import flash.display.*; public dynamic class house15_mc extends MovieClip { } }//package
Section 79
//house16_mc (house16_mc) package { import flash.display.*; public dynamic class house16_mc extends MovieClip { public var flicker:MovieClip; } }//package
Section 80
//house17_mc (house17_mc) package { import flash.display.*; public dynamic class house17_mc extends MovieClip { } }//package
Section 81
//house18_mc (house18_mc) package { import flash.display.*; public dynamic class house18_mc extends MovieClip { } }//package
Section 82
//house19_mc (house19_mc) package { import flash.display.*; public dynamic class house19_mc extends MovieClip { public var flap:MovieClip; } }//package
Section 83
//house2_mc (house2_mc) package { import flash.display.*; public dynamic class house2_mc extends MovieClip { } }//package
Section 84
//house20_mc (house20_mc) package { import flash.display.*; public dynamic class house20_mc extends MovieClip { public var safe:MovieClip; } }//package
Section 85
//house21_mc (house21_mc) package { import flash.display.*; public dynamic class house21_mc extends MovieClip { } }//package
Section 86
//house22_mc (house22_mc) package { import flash.display.*; public dynamic class house22_mc extends MovieClip { } }//package
Section 87
//house23_mc (house23_mc) package { import flash.display.*; public dynamic class house23_mc extends MovieClip { public var light:MovieClip; } }//package
Section 88
//house24_mc (house24_mc) package { import flash.display.*; public dynamic class house24_mc extends MovieClip { } }//package
Section 89
//house25_mc (house25_mc) package { import flash.display.*; public dynamic class house25_mc extends MovieClip { } }//package
Section 90
//house26_mc (house26_mc) package { import flash.display.*; public dynamic class house26_mc extends MovieClip { public var gmask:MovieClip; } }//package
Section 91
//house27_mc (house27_mc) package { import flash.display.*; public dynamic class house27_mc extends MovieClip { } }//package
Section 92
//house28_mc (house28_mc) package { import flash.display.*; public dynamic class house28_mc extends MovieClip { } }//package
Section 93
//house29_mc (house29_mc) package { import flash.display.*; public dynamic class house29_mc extends MovieClip { } }//package
Section 94
//house3_mc (house3_mc) package { import flash.display.*; public dynamic class house3_mc extends MovieClip { } }//package
Section 95
//house30_mc (house30_mc) package { import flash.display.*; public dynamic class house30_mc extends MovieClip { } }//package
Section 96
//house31_mc (house31_mc) package { import flash.display.*; public dynamic class house31_mc extends MovieClip { } }//package
Section 97
//house32_mc (house32_mc) package { import flash.display.*; public dynamic class house32_mc extends MovieClip { public var head:RM32_head_mc; public var hitBOX:MovieClip; } }//package
Section 98
//house33_mc (house33_mc) package { import flash.display.*; public dynamic class house33_mc extends MovieClip { } }//package
Section 99
//house34_mc (house34_mc) package { import flash.display.*; public dynamic class house34_mc extends MovieClip { } }//package
Section 100
//house35_mc (house35_mc) package { import flash.display.*; public dynamic class house35_mc extends MovieClip { } }//package
Section 101
//house36_mc (house36_mc) package { import flash.display.*; public dynamic class house36_mc extends MovieClip { } }//package
Section 102
//house37_mc (house37_mc) package { import flash.display.*; public dynamic class house37_mc extends MovieClip { } }//package
Section 103
//house38_mc (house38_mc) package { import flash.display.*; public dynamic class house38_mc extends MovieClip { } }//package
Section 104
//house39_mc (house39_mc) package { import flash.display.*; public dynamic class house39_mc extends MovieClip { } }//package
Section 105
//house4_mc (house4_mc) package { import flash.display.*; public dynamic class house4_mc extends MovieClip { } }//package
Section 106
//house40_mc (house40_mc) package { import flash.display.*; public dynamic class house40_mc extends MovieClip { public var CT:MovieClip; public var PR:MovieClip; public var CH:MovieClip; public var goback:SimpleButton; public var EL:MovieClip; public var SA:MovieClip; public var SP:MovieClip; } }//package
Section 107
//house41_mc (house41_mc) package { import flash.display.*; public dynamic class house41_mc extends MovieClip { } }//package
Section 108
//house42_mc (house42_mc) package { import flash.display.*; public dynamic class house42_mc extends MovieClip { } }//package
Section 109
//house43_mc (house43_mc) package { import flash.display.*; public dynamic class house43_mc extends MovieClip { } }//package
Section 110
//house44_mc (house44_mc) package { import flash.display.*; public dynamic class house44_mc extends MovieClip { } }//package
Section 111
//house46_mc (house46_mc) package { import flash.events.*; import flash.display.*; import flash.net.*; import CPMStar.*; public dynamic class house46_mc extends MovieClip { public var sponsorButton:SimpleButton; public var adBox:MovieClip; public var ekButton:SimpleButton; public var CPMStarContentSpotID:String; public var ad:DisplayObject; public function house46_mc(){ addFrameScript(4790, frame4791); } public function sponsor(_arg1:MouseEvent):void{ trace("SPONSOR"); var _local2:URLRequest = new URLRequest("http://www.gameshed.com/Scary-Games/?utm_source=sponsorship&utm_medium=branded_game&utm_term=insanity2&utm_campaign=insanity2_game"); navigateToURL(_local2); } public function LinkToBlog(_arg1:MouseEvent):void{ trace("ME"); var _local2:URLRequest = new URLRequest("http://ydjapan.blogspot.com/"); navigateToURL(_local2); } function frame4791(){ stop(); CPMStarContentSpotID = "3020Q4C7D41FE"; ad = new AdLoader(CPMStarContentSpotID); adBox.addChild(ad); sponsorButton.addEventListener(MouseEvent.CLICK, sponsor, false, 0, true); ekButton.addEventListener(MouseEvent.CLICK, LinkToBlog, false, 0, true); } } }//package
Section 112
//house5_mc (house5_mc) package { import flash.display.*; public dynamic class house5_mc extends MovieClip { } }//package
Section 113
//house6_mc (house6_mc) package { import flash.display.*; public dynamic class house6_mc extends MovieClip { public function house6_mc(){ addFrameScript(0x0101, frame258); } function frame258(){ } } }//package
Section 114
//house7_mc (house7_mc) package { import flash.display.*; public dynamic class house7_mc extends MovieClip { } }//package
Section 115
//house8_mc (house8_mc) package { import flash.display.*; public dynamic class house8_mc extends MovieClip { } }//package
Section 116
//house9_mc (house9_mc) package { import flash.display.*; public dynamic class house9_mc extends MovieClip { } }//package
Section 117
//Insanity2ThemeMix_wav (Insanity2ThemeMix_wav) package { import flash.media.*; public dynamic class Insanity2ThemeMix_wav extends Sound { } }//package
Section 118
//kanjiSET_mc (kanjiSET_mc) package { import flash.display.*; public dynamic class kanjiSET_mc extends MovieClip { } }//package
Section 119
//key1ICON_mc (key1ICON_mc) package { import flash.display.*; public dynamic class key1ICON_mc extends MovieClip { } }//package
Section 120
//knife_wav (knife_wav) package { import flash.media.*; public dynamic class knife_wav extends Sound { } }//package
Section 121
//knifeICON_mc (knifeICON_mc) package { import flash.display.*; public dynamic class knifeICON_mc extends MovieClip { } }//package
Section 122
//lighton_wav (lighton_wav) package { import flash.media.*; public dynamic class lighton_wav extends Sound { } }//package
Section 123
//mainTRACK_wav (mainTRACK_wav) package { import flash.media.*; public dynamic class mainTRACK_wav extends Sound { } }//package
Section 124
//markX_mc (markX_mc) package { import flash.display.*; public dynamic class markX_mc extends MovieClip { } }//package
Section 125
//MD5 (MD5) package { class MD5 { static var hex_chr = "0123456789abcdef"; private static function bitOR(_arg1, _arg2){ var _local3:* = ((_arg1 & 1) | (_arg2 & 1)); var _local4:* = ((_arg1 >>> 1) | (_arg2 >>> 1)); return (((_local4 << 1) | _local3)); } private static function bitXOR(_arg1, _arg2){ var _local3:* = ((_arg1 & 1) ^ (_arg2 & 1)); var _local4:* = ((_arg1 >>> 1) ^ (_arg2 >>> 1)); return (((_local4 << 1) | _local3)); } private static function bitAND(_arg1, _arg2){ var _local3:* = ((_arg1 & 1) & (_arg2 & 1)); var _local4:* = ((_arg1 >>> 1) & (_arg2 >>> 1)); return (((_local4 << 1) | _local3)); } private static function addme(_arg1, _arg2){ var _local3:* = ((_arg1 & 0xFFFF) + (_arg2 & 0xFFFF)); var _local4:* = (((_arg1 >> 16) + (_arg2 >> 16)) + (_local3 >> 16)); return (((_local4 << 16) | (_local3 & 0xFFFF))); } private static function rhex(_arg1){ var _local2:* = ""; var _local3:* = 0; while (_local3 <= 3) { _local2 = (_local2 + (hex_chr.charAt(((_arg1 >> ((_local3 * 8) + 4)) & 15)) + hex_chr.charAt(((_arg1 >> (_local3 * 8)) & 15)))); _local3++; }; return (_local2); } private static function str2blks_MD5(_arg1){ var _local2:* = (((_arg1.length + 8) >> 6) + 1); var _local3:* = new Array((_local2 * 16)); var _local4:* = 0; while (_local4 < (_local2 * 16)) { _local3[_local4] = 0; _local4++; }; _local4 = 0; while (_local4 < _arg1.length) { _local3[(_local4 >> 2)] = (_local3[(_local4 >> 2)] | (_arg1.charCodeAt(_local4) << ((((_arg1.length * 8) + _local4) % 4) * 8))); _local4++; }; _local3[(_local4 >> 2)] = (_local3[(_local4 >> 2)] | (128 << ((((_arg1.length * 8) + _local4) % 4) * 8))); var _local5:* = (_arg1.length * 8); _local3[((_local2 * 16) - 2)] = (_local5 & 0xFF); _local3[((_local2 * 16) - 2)] = (_local3[((_local2 * 16) - 2)] | (((_local5 >>> 8) & 0xFF) << 8)); _local3[((_local2 * 16) - 2)] = (_local3[((_local2 * 16) - 2)] | (((_local5 >>> 16) & 0xFF) << 16)); _local3[((_local2 * 16) - 2)] = (_local3[((_local2 * 16) - 2)] | (((_local5 >>> 24) & 0xFF) << 24)); return (_local3); } private static function rol(_arg1, _arg2){ return (((_arg1 << _arg2) | (_arg1 >>> (32 - _arg2)))); } private static function cmn(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6){ return (addme(rol(addme(addme(_arg2, _arg1), addme(_arg4, _arg6)), _arg5), _arg3)); } private static function ff(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){ return (cmn(bitOR(bitAND(_arg2, _arg3), bitAND(~(_arg2), _arg4)), _arg1, _arg2, _arg5, _arg6, _arg7)); } private static function gg(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){ return (cmn(bitOR(bitAND(_arg2, _arg4), bitAND(_arg3, ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7)); } private static function hh(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){ return (cmn(bitXOR(bitXOR(_arg2, _arg3), _arg4), _arg1, _arg2, _arg5, _arg6, _arg7)); } private static function ii(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){ return (cmn(bitXOR(_arg3, bitOR(_arg2, ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7)); } public static function calcMD5(_arg1){ var _local7:*; var _local9:*; var _local10:*; var _local11:*; var _local12:*; var _local2:* = str2blks_MD5(_arg1); var _local3:* = 1732584193; var _local4:* = -271733879; var _local5:* = -1732584194; var _local6:* = 271733878; var _local8:* = 0; while (_local8 < _local2.length) { _local9 = _local3; _local10 = _local4; _local11 = _local5; _local12 = _local6; _local7 = 0; _local3 = ff(_local3, _local4, _local5, _local6, _local2[(_local8 + 0)], 7, -680876936); _local6 = ff(_local6, _local3, _local4, _local5, _local2[(_local8 + 1)], 12, -389564586); _local5 = ff(_local5, _local6, _local3, _local4, _local2[(_local8 + 2)], 17, 606105819); _local4 = ff(_local4, _local5, _local6, _local3, _local2[(_local8 + 3)], 22, -1044525330); _local3 = ff(_local3, _local4, _local5, _local6, _local2[(_local8 + 4)], 7, -176418897); _local6 = ff(_local6, _local3, _local4, _local5, _local2[(_local8 + 5)], 12, 1200080426); _local5 = ff(_local5, _local6, _local3, _local4, _local2[(_local8 + 6)], 17, -1473231341); _local4 = ff(_local4, _local5, _local6, _local3, _local2[(_local8 + 7)], 22, -45705983); _local3 = ff(_local3, _local4, _local5, _local6, _local2[(_local8 + 8)], 7, 1770035416); _local6 = ff(_local6, _local3, _local4, _local5, _local2[(_local8 + 9)], 12, -1958414417); _local5 = ff(_local5, _local6, _local3, _local4, _local2[(_local8 + 10)], 17, -42063); _local4 = ff(_local4, _local5, _local6, _local3, _local2[(_local8 + 11)], 22, -1990404162); _local3 = ff(_local3, _local4, _local5, _local6, _local2[(_local8 + 12)], 7, 1804603682); _local6 = ff(_local6, _local3, _local4, _local5, _local2[(_local8 + 13)], 12, -40341101); _local5 = ff(_local5, _local6, _local3, _local4, _local2[(_local8 + 14)], 17, -1502002290); _local4 = ff(_local4, _local5, _local6, _local3, _local2[(_local8 + 15)], 22, 1236535329); _local3 = gg(_local3, _local4, _local5, _local6, _local2[(_local8 + 1)], 5, -165796510); _local6 = gg(_local6, _local3, _local4, _local5, _local2[(_local8 + 6)], 9, -1069501632); _local5 = gg(_local5, _local6, _local3, _local4, _local2[(_local8 + 11)], 14, 643717713); _local4 = gg(_local4, _local5, _local6, _local3, _local2[(_local8 + 0)], 20, -373897302); _local3 = gg(_local3, _local4, _local5, _local6, _local2[(_local8 + 5)], 5, -701558691); _local6 = gg(_local6, _local3, _local4, _local5, _local2[(_local8 + 10)], 9, 38016083); _local5 = gg(_local5, _local6, _local3, _local4, _local2[(_local8 + 15)], 14, -660478335); _local4 = gg(_local4, _local5, _local6, _local3, _local2[(_local8 + 4)], 20, -405537848); _local3 = gg(_local3, _local4, _local5, _local6, _local2[(_local8 + 9)], 5, 568446438); _local6 = gg(_local6, _local3, _local4, _local5, _local2[(_local8 + 14)], 9, -1019803690); _local5 = gg(_local5, _local6, _local3, _local4, _local2[(_local8 + 3)], 14, -187363961); _local4 = gg(_local4, _local5, _local6, _local3, _local2[(_local8 + 8)], 20, 1163531501); _local3 = gg(_local3, _local4, _local5, _local6, _local2[(_local8 + 13)], 5, -1444681467); _local6 = gg(_local6, _local3, _local4, _local5, _local2[(_local8 + 2)], 9, -51403784); _local5 = gg(_local5, _local6, _local3, _local4, _local2[(_local8 + 7)], 14, 1735328473); _local4 = gg(_local4, _local5, _local6, _local3, _local2[(_local8 + 12)], 20, -1926607734); _local3 = hh(_local3, _local4, _local5, _local6, _local2[(_local8 + 5)], 4, -378558); _local6 = hh(_local6, _local3, _local4, _local5, _local2[(_local8 + 8)], 11, -2022574463); _local5 = hh(_local5, _local6, _local3, _local4, _local2[(_local8 + 11)], 16, 1839030562); _local4 = hh(_local4, _local5, _local6, _local3, _local2[(_local8 + 14)], 23, -35309556); _local3 = hh(_local3, _local4, _local5, _local6, _local2[(_local8 + 1)], 4, -1530992060); _local6 = hh(_local6, _local3, _local4, _local5, _local2[(_local8 + 4)], 11, 1272893353); _local5 = hh(_local5, _local6, _local3, _local4, _local2[(_local8 + 7)], 16, -155497632); _local4 = hh(_local4, _local5, _local6, _local3, _local2[(_local8 + 10)], 23, -1094730640); _local3 = hh(_local3, _local4, _local5, _local6, _local2[(_local8 + 13)], 4, 681279174); _local6 = hh(_local6, _local3, _local4, _local5, _local2[(_local8 + 0)], 11, -358537222); _local5 = hh(_local5, _local6, _local3, _local4, _local2[(_local8 + 3)], 16, -722521979); _local4 = hh(_local4, _local5, _local6, _local3, _local2[(_local8 + 6)], 23, 76029189); _local3 = hh(_local3, _local4, _local5, _local6, _local2[(_local8 + 9)], 4, -640364487); _local6 = hh(_local6, _local3, _local4, _local5, _local2[(_local8 + 12)], 11, -421815835); _local5 = hh(_local5, _local6, _local3, _local4, _local2[(_local8 + 15)], 16, 530742520); _local4 = hh(_local4, _local5, _local6, _local3, _local2[(_local8 + 2)], 23, -995338651); _local3 = ii(_local3, _local4, _local5, _local6, _local2[(_local8 + 0)], 6, -198630844); _local6 = ii(_local6, _local3, _local4, _local5, _local2[(_local8 + 7)], 10, 1126891415); _local5 = ii(_local5, _local6, _local3, _local4, _local2[(_local8 + 14)], 15, -1416354905); _local4 = ii(_local4, _local5, _local6, _local3, _local2[(_local8 + 5)], 21, -57434055); _local3 = ii(_local3, _local4, _local5, _local6, _local2[(_local8 + 12)], 6, 1700485571); _local6 = ii(_local6, _local3, _local4, _local5, _local2[(_local8 + 3)], 10, -1894986606); _local5 = ii(_local5, _local6, _local3, _local4, _local2[(_local8 + 10)], 15, -1051523); _local4 = ii(_local4, _local5, _local6, _local3, _local2[(_local8 + 1)], 21, -2054922799); _local3 = ii(_local3, _local4, _local5, _local6, _local2[(_local8 + 8)], 6, 1873313359); _local6 = ii(_local6, _local3, _local4, _local5, _local2[(_local8 + 15)], 10, -30611744); _local5 = ii(_local5, _local6, _local3, _local4, _local2[(_local8 + 6)], 15, -1560198380); _local4 = ii(_local4, _local5, _local6, _local3, _local2[(_local8 + 13)], 21, 1309151649); _local3 = ii(_local3, _local4, _local5, _local6, _local2[(_local8 + 4)], 6, -145523070); _local6 = ii(_local6, _local3, _local4, _local5, _local2[(_local8 + 11)], 10, -1120210379); _local5 = ii(_local5, _local6, _local3, _local4, _local2[(_local8 + 2)], 15, 718787259); _local4 = ii(_local4, _local5, _local6, _local3, _local2[(_local8 + 9)], 21, -343485551); _local3 = addme(_local3, _local9); _local4 = addme(_local4, _local10); _local5 = addme(_local5, _local11); _local6 = addme(_local6, _local12); _local8 = (_local8 + 16); }; return ((((rhex(_local3) + rhex(_local4)) + rhex(_local5)) + rhex(_local6))); } } }//package
Section 126
//mechanical_wav (mechanical_wav) package { import flash.media.*; public dynamic class mechanical_wav extends Sound { } }//package
Section 127
//metalturn_wav (metalturn_wav) package { import flash.media.*; public dynamic class metalturn_wav extends Sound { } }//package
Section 128
//negatives_mc (negatives_mc) package { import flash.display.*; public dynamic class negatives_mc extends MovieClip { public var exit:SimpleButton; } }//package
Section 129
//negativesB_mc (negativesB_mc) package { import flash.display.*; public dynamic class negativesB_mc extends MovieClip { } }//package
Section 130
//newbattle_wav (newbattle_wav) package { import flash.media.*; public dynamic class newbattle_wav extends Sound { } }//package
Section 131
//newspaper_mc (newspaper_mc) package { import flash.display.*; import flash.text.*; public dynamic class newspaper_mc extends MovieClip { public var exit:SimpleButton; public var textFILL:TextField; } }//package
Section 132
//openpipe_wav (openpipe_wav) package { import flash.media.*; public dynamic class openpipe_wav extends Sound { } }//package
Section 133
//pageturn_wav (pageturn_wav) package { import flash.media.*; public dynamic class pageturn_wav extends Sound { } }//package
Section 134
//Particle (Particle) package { import flash.display.*; public dynamic class Particle extends MovieClip { } }//package
Section 135
//piano_wav (piano_wav) package { import flash.media.*; public dynamic class piano_wav extends Sound { } }//package
Section 136
//pickup_wav (pickup_wav) package { import flash.media.*; public dynamic class pickup_wav extends Sound { } }//package
Section 137
//pkeyICON_mc (pkeyICON_mc) package { import flash.display.*; public dynamic class pkeyICON_mc extends MovieClip { } }//package
Section 138
//Puzzle (Puzzle) package { import flash.display.*; import flash.events.*; import flash.media.*; public class Puzzle { private static var StartTrayArray:Array = new Array(1, 2, 3, 4, 0, 5, 6, 7, 8); private static var FinishTrayArray:Array = new Array(3, 0, 8, 7, 2, 6, 5, 1, 4); private static var CurrentTrayArray:Array = new Array(1, 2, 3, 4, 0, 5, 6, 7, 8); private static var CurrentTrayArray2:Array = new Array(); private static var FinishTrayArray2:Array = new Array(); private static var StartPcsArray:Array = new Array(); private static var FinishPcsArray:Array = new Array(); private static var CurrentPcsArray:Array = new Array(); private static var CurrentColPcsArray:Array = new Array(0, 1, 2, 1, 2, 2, 1, 2, 1); private static var movesArray:Array = new Array(); private static var movesArray2:Array = new Array(); private static var chArray1:Array = new Array(); private static var loseArray = new Array(0, 1, 1, 1, 1, 1, 1, 1, 1); private static var win:Boolean = false; private static var StartXArray:Array = new Array(); private static var StartYArray:Array = new Array(); private static var spaceX:Number = 0; private static var spaceY:Number = 0; private static var movesNumber:Number = 0; private static var piecesNumber:Number = 9; private static var rowsX:Number = 3; private static var colsX:Number = 3; private static var undoMove:Boolean = false; private static var redoMove:Boolean = false; private static var movesAllowed:Boolean = true; private static var whatAction:String = "move"; private static var temp:MovieClip = new puzzle_box_mc(); private static var currentCh:Number = 1; private static var d:Number; private static var tmp:MovieClip; private static var deleteArray:Array = new Array(); public static var winner:Boolean = false; public static var loser:Boolean = false; private static function move(_arg1:MouseEvent):void{ var _local2:MovieClip; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; if (movesAllowed){ _local2 = MovieClip(_arg1.target); if (_local2.x == spaceX){ _local6 = (_local2.y - spaceY); if (_local6 > 0){ if ((((_local6 > d)) && ((_local6 < (3 * d))))){ movePcsY(1, 1); }; } else { if ((((d < -(_local6))) && (((3 * d) > -(_local6))))){ movePcsY(-1, 1); }; }; }; if (_local2.y == spaceY){ _local7 = (_local2.x - spaceX); if (_local7 > 0){ if ((((_local7 > d)) && ((_local7 < (3 * d))))){ movePcsX(1, 1); }; } else { if ((((d < -(_local7))) && (((3 * d) > -(_local7))))){ movePcsX(-1, 1); }; }; }; _local3 = CurrentTrayArray2.toString().split(","); _local4 = FinishTrayArray2.toString().split(","); _local5 = loseArray.toString().split(","); if (_local3.sort().toString() == _local4.sort().toString()){ winner = true; }; if (_local3.sort().toString() == _local5.sort().toString()){ loser = true; }; }; } private static function movePcsY(_arg1, _arg2){ var _local5:*; var _local6:*; var _local7:Number; var _local8:Number; var _local9:*; var _local10:*; var _local3:Sound = new click_wav(); _local3.play(); var _local4:* = 0; while (_local4 < _arg2) { _local5 = changeArrays((3 * _arg1)); _local6 = tmp[("p" + _local5)]; _local7 = _local6.y; _local6.y = spaceY; spaceY = _local7; _local8 = _local5; movesArray2[movesNumber] = CurrentColPcsArray[_local8]; if (_local6.y == 0){ _local9 = (CurrentPcsArray[_local5] - (_arg1 * colsX)); _local10 = CurrentTrayArray[_local9]; if (CurrentColPcsArray[_local10] != CurrentColPcsArray[_local8]){ CurrentColPcsArray[_local8] = CurrentColPcsArray[_local10]; _local6.gotoAndStop(CurrentColPcsArray[_local8]); CurrentTrayArray2[CurrentPcsArray[_local8]] = CurrentColPcsArray[_local8]; }; }; _local4++; }; } private static function movePcsX(_arg1, _arg2){ var _local5:*; var _local6:*; var _local7:Number; var _local8:Number; var _local9:*; var _local10:*; var _local3:Sound = new click_wav(); _local3.play(); var _local4:* = 0; while (_local4 < _arg2) { _local5 = changeArrays(_arg1); _local6 = tmp[("p" + _local5)]; _local7 = _local6.x; _local6.x = spaceX; spaceX = _local7; _local8 = _local5; movesArray2[movesNumber] = CurrentColPcsArray[_local8]; if (_local6.x == 0){ _local9 = (CurrentPcsArray[_local5] - _arg1); _local10 = CurrentTrayArray[_local9]; if (CurrentColPcsArray[_local10] != CurrentColPcsArray[_local8]){ CurrentColPcsArray[_local8] = CurrentColPcsArray[_local10]; _local6.gotoAndStop(CurrentColPcsArray[_local8]); CurrentTrayArray2[CurrentPcsArray[_local8]] = CurrentColPcsArray[_local8]; }; }; _local4++; }; } private static function changeArrays(_arg1:Number){ var _local2:* = (CurrentPcsArray[0] + _arg1); var _local3:* = CurrentTrayArray[_local2]; CurrentTrayArray[_local2] = CurrentTrayArray[CurrentPcsArray[0]]; CurrentTrayArray[CurrentPcsArray[0]] = _local3; var _local4:* = CurrentPcsArray[_local3]; CurrentPcsArray[_local3] = CurrentPcsArray[0]; CurrentPcsArray[0] = _local4; CurrentTrayArray2[CurrentPcsArray[_local3]] = CurrentColPcsArray[_local3]; CurrentTrayArray2[CurrentPcsArray[0]] = 0; return (_local3); } private static function start_pcs_arrays():void{ var _local1:* = 0; while (_local1 < piecesNumber) { CurrentPcsArray[CurrentTrayArray[_local1]] = _local1; _local1++; }; } private static function challenge_change(_arg1):void{ var _local5:MovieClip; currentCh = _arg1; var _local2:Array = Puzzle[("chArray" + _arg1)]; var _local3:* = 1; while (_local3 < piecesNumber) { _local5 = tmp[("p" + _local3)]; _local5.x = _local2[0][_local3]; _local5.y = _local2[1][_local3]; _local5.gotoAndStop(_local2[4][_local3]); CurrentColPcsArray[_local3] = _local2[4][_local3]; CurrentTrayArray[_local3] = _local2[7][_local3]; _local3++; }; var _local4:* = 0; while (_local4 < piecesNumber) { CurrentTrayArray2[_local4] = _local2[4][_local2[7][_local4]]; FinishTrayArray2[_local4] = _local2[5][_local2[7][_local4]]; _local4++; }; spaceX = _local2[6][0]; spaceY = _local2[6][1]; CurrentTrayArray[0] = _local2[7][0]; start_pcs_arrays(); movesAllowed = true; movesNumber = 0; movesArray.splice(0); } public static function destroy(_arg1):void{ var _local3:MovieClip; var _local2:* = 1; while (_local2 < piecesNumber) { _local3 = tmp[("p" + _local2)]; _local3.removeEventListener(MouseEvent.CLICK, move); _local2++; }; } public static function go(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:String, _arg5:DisplayObjectContainer, _arg6, _arg7):void{ var _local9:MovieClip; temp.x = _arg1; temp.y = _arg2; temp.name = _arg4; temp.scaleX = (temp.scaleY = _arg3); _arg5.addChild(temp); _arg7.push(temp); tmp = (_arg5.getChildByName(_arg4) as MovieClip); d = (tmp.p1.width / 2); challenge_change(currentCh); var _local8:* = 1; while (_local8 < piecesNumber) { _local9 = tmp[("p" + _local8)]; tmp.mouseEnabled = false; tmp.buttonMode = true; StartXArray[_local8] = _local9.x; StartYArray[_local8] = _local9.y; _local9.addEventListener(MouseEvent.CLICK, move, false, 0, true); _local8++; }; } chArray1[0] = new Array(0, -100, 0, 100, -100, 100, -100, 0, 100); chArray1[1] = new Array(0, -100, -100, -100, 0, 0, 100, 100, 100); chArray1[2] = new Array(0, -100, 0, 100, -100, 100, -100, 0, 100); chArray1[3] = new Array(0, -100, -100, -100, 0, 0, 100, 100, 100); chArray1[4] = new Array(0, 1, 1, 1, 1, 1, 1, 2, 1); chArray1[5] = new Array(0, 2, 2, 2, 2, 2, 2, 2, 2); chArray1[6] = new Array(0, 0); chArray1[7] = new Array(1, 2, 3, 4, 0, 5, 6, 7, 8); } }//package
Section 139
//puzzle_box_mc (puzzle_box_mc) package { import flash.display.*; public dynamic class puzzle_box_mc extends MovieClip { public var p1:MovieClip; public var p2:MovieClip; public var p3:MovieClip; public var p4:MovieClip; public var p5:MovieClip; public var p6:MovieClip; public var p7:MovieClip; public var p8:MovieClip; } }//package
Section 140
//Puzzle2 (Puzzle2) package { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.media.*; public class Puzzle2 { private static var piecesNumber:Number = 11; private static var piecesCount:Number = 0; private static var piecesScale:Number = 30; private static var spaceX:Number = 30; private static var spaceY:Number = 30; private static var level:Number = 1; private static var stageTimer:MovieClip; private static var chosenCountX:Number = 0; private static var chosenCountY:Number = 0; private static var timer:Number = 20; private static var levelCount:Number = 0; private static var piecesArray:Array = new Array(); private static var targetArray:Array = new Array(); private static var chosenArray:Array = new Array(); private static var levelArray = new Array(0, 10, 10, 10); private static var stopWatchMain:Timer; private static var movesAllowed:Boolean = true; private static var countDownTimer:Number; private static var missed:Number = 0; private static var stageMain; private static var stageTop; public static var winner:Boolean = false; public static var loser:Boolean = false; public static var rTag:Object; public static function destroy(_arg1):void{ var _local2:*; for (_local2 in piecesArray) { piecesArray[_local2].removeEventListener(MouseEvent.CLICK, clickPiece); stageMain.removeMovie(piecesArray[_local2]); }; } private static function randomize():void{ var _local3:Number; var _local4:*; var _local1:Number = 0; var _local2:Array = randomArraySort(piecesArray); for (_local4 in piecesArray) { if ((_local4 % 11) == 0){ _local1++; }; piecesArray[_local4] = _local2[_local4]; piecesArray[_local4].gotoAndStop(_local1); }; } private static function randomizeTarget():void{ var _local3:*; var _local1:Number = 11; var _local2:Array = between(1, 11); for (_local3 in targetArray) { targetArray[_local3].gotoAndStop(_local2[(_local3 + 1)]); }; } private static function addPiece(_arg1:Number):void{ if ((chosenCountX % 5) == 0){ chosenCountX = 0; chosenCountY++; }; var _local2:MovieClip = new kanjiSET_mc(); _local2.x = (380 + (30 * chosenCountX)); _local2.y = (90 + (30 * chosenCountY)); _local2.gotoAndStop(_arg1); _local2.name = "kanjiset2"; stageTop.addChild(_local2); rTag.deleteArray.push(_local2); chosenArray.push(_local2); chosenCountX++; } private static function newLevel(_arg1:Event):void{ var _local2:*; var _local3:*; if (level == 1){ winner = true; stopWatchMain.stop(); stopWatchMain.removeEventListener(TimerEvent.TIMER, updateTime); return; }; if (timer > 0){ timer--; movesAllowed = false; return; }; movesAllowed = true; level--; levelCount = 0; stageMain.removeMovie(targetArray[level]); targetArray.pop(); chosenCountX = 0; chosenCountY = 0; for (_local2 in chosenArray) { stageMain.removeMovie(chosenArray[_local2]); }; for (_local3 in piecesArray) { stageMain.Tint(piecesArray[_local3], 0, 0); piecesArray[_local3].clicked = false; }; randomize(); timer = 20; countDownTimer = (countDownTimer + 10); stageMain.removeEventListener(Event.ENTER_FRAME, newLevel); } private static function clickPiece(_arg1:MouseEvent):void{ var _local2:MovieClip; var _local3:Boolean; var _local4:*; var _local5:MovieClip; var _local6:Sound; var _local7:Sound; if (movesAllowed){ _local2 = MovieClip(_arg1.target); if (_local2.clicked){ return; }; _local2.clicked = true; _local3 = false; for (_local4 in targetArray) { if (_local2.currentFrame == targetArray[_local4].currentFrame){ _local3 = true; }; }; if (!_local3){ stageMain.Tint(_local2, 0xFFFF00, 0.5); missed++; _local5 = new markX_mc(); _local5.x = (415 + (35 * missed)); _local5.y = 250; _local5.gotoAndStop(missed); _local5.name = "mark"; stageTop.addChild(_local5); _local6 = new beep_wav(); _local6.play(); rTag.deleteArray.push(_local5); if (missed == 3){ stageMain.Tint(_local5, 0, 0.5); movesAllowed = false; loser = true; stopWatchMain.stop(); stopWatchMain.removeEventListener(TimerEvent.TIMER, updateTime); }; return; } else { stageMain.Tint(_local2, 16718362, 0.5); addPiece(_local2.currentFrame); _local7 = new click_wav(); _local7.play(); if (++levelCount == levelArray[level]){ stageMain.addEventListener(Event.ENTER_FRAME, newLevel, false, 0, true); }; return; }; }; } private static function updateTime(_arg1:TimerEvent):void{ if (countDownTimer <= 0){ trace("COUNTDOWNTIMER"); loser = true; stopWatchMain.stop(); stopWatchMain.removeEventListener(TimerEvent.TIMER, updateTime); return; }; if (movesAllowed){ countDownTimer = (countDownTimer - 0.1); stageTimer.meter.scaleY = (countDownTimer / 100); }; } private static function shit(_arg1:MouseEvent):void{ loser = true; } public static function go(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:String, _arg5:DisplayObjectContainer, _arg6, _arg7):void{ var _local12:MovieClip; var _local13:*; var _local14:MovieClip; stageMain = _arg6; stageTop = _arg5; level = 3; countDownTimer = 100; piecesNumber = 11; piecesCount = 0; piecesScale = 30; spaceX = 30; spaceY = 30; chosenCountX = 0; chosenCountY = 0; timer = 20; levelCount = 0; movesAllowed = true; missed = 0; winner = false; loser = false; levelArray = [0, 10, 10, 10]; piecesArray = []; targetArray = []; chosenArray = []; rTag = _arg7; var _local8:MovieClip = new timebar_mc(); _local8.x = 26; _local8.y = 370; _local8.rotation = 90; _local8.name = "timer"; stageTimer = _local8; stageTop.addChild(_local8); rTag.deleteArray.push(_local8); var _local9:Timer = new Timer(45); _local9.addEventListener(TimerEvent.TIMER, updateTime, false, 0, true); _local9.start(); stopWatchMain = _local9; var _local10:* = 0; while (_local10 < level) { _local12 = new kanjiSET_mc(); _local12.x = (380 + (30 * _local10)); _local12.y = 30; _local12.name = "kanjiset"; stageTop.addChild(_local12); targetArray.push(_local12); rTag.deleteArray.push(_local12); _local10++; }; var _local11:* = 0; while (_local11 < piecesNumber) { _local13 = 0; while (_local13 < piecesNumber) { _local14 = new kanjiSET_mc(); _local14.name = ("piece" + piecesCount++); _local14.x = (spaceX + (piecesScale * _local13)); _local14.y = (spaceY + (piecesScale * _local11)); stageTop.addChild(_local14); _local14.clicked = false; _local14.addEventListener(MouseEvent.CLICK, clickPiece, false, 0, true); piecesArray.push(_local14); rTag.deleteArray.push(_local14); _local13++; }; _local11++; }; randomize(); randomizeTarget(); } private static function randomArraySort(_arg1:Array):Array{ var _local4:Number; var _local5:Number; var _local6:Object; var _local2:Number = _arg1.length; var _local3:Array = _arg1.slice(); _local5 = 0; while (_local5 < _local2) { _local6 = _local3[_local5]; _local4 = Math.floor((Math.random() * _local2)); _local3[_local5] = _local3[_local4]; _local3[_local4] = _local6; _local5++; }; return (_local3); } private static function between(_arg1:int, _arg2:int):Array{ var _local6:Number; var _local3:Array = new Array(); var _local4:Array = new Array(); var _local5:int = _arg1; while (_local5 <= _arg2) { _local3[_local5] = _local5; _local5++; }; _local5 = _arg2; while (_local5 > _arg1) { _local6 = (_arg1 + Math.floor((Math.random() * (_local5 - _arg1)))); _local4[_local5] = _local3[_local6]; _local3[_local6] = _local3[_local5]; _local5--; }; _local4[_arg1] = _local3[_arg1]; return (_local4); } } }//package
Section 141
//puzzle2_death_mc (puzzle2_death_mc) package { import flash.display.*; public dynamic class puzzle2_death_mc extends MovieClip { public var spray2:elevator_spray_mc; public var hero:elevator_die_mc; public var spray:elevator_spray_mc; } }//package
Section 142
//retry_mc (retry_mc) package { import flash.display.*; public dynamic class retry_mc extends MovieClip { } }//package
Section 143
//rifle_wav (rifle_wav) package { import flash.media.*; public dynamic class rifle_wav extends Sound { } }//package
Section 144
//rifleICON_mc (rifleICON_mc) package { import flash.display.*; public dynamic class rifleICON_mc extends MovieClip { } }//package
Section 145
//rm10_clue_mc (rm10_clue_mc) package { import flash.display.*; public dynamic class rm10_clue_mc extends MovieClip { public function rm10_clue_mc(){ addFrameScript(39, frame40); } function frame40(){ stop(); } } }//package
Section 146
//RM11_gomi_mc (RM11_gomi_mc) package { import flash.display.*; public dynamic class RM11_gomi_mc extends MovieClip { public function RM11_gomi_mc(){ addFrameScript(16, frame17); } function frame17(){ stop(); } } }//package
Section 147
//RM11_sink1_mc (RM11_sink1_mc) package { import flash.display.*; public dynamic class RM11_sink1_mc extends MovieClip { } }//package
Section 148
//RM11_sink2_mc (RM11_sink2_mc) package { import flash.display.*; public dynamic class RM11_sink2_mc extends MovieClip { } }//package
Section 149
//RM12_door_mc (RM12_door_mc) package { import flash.display.*; public dynamic class RM12_door_mc extends MovieClip { } }//package
Section 150
//RM14_door_mc (RM14_door_mc) package { import flash.display.*; public dynamic class RM14_door_mc extends MovieClip { } }//package
Section 151
//RM16_curtain_mc (RM16_curtain_mc) package { import flash.display.*; public dynamic class RM16_curtain_mc extends MovieClip { } }//package
Section 152
//RM16_tv_mc (RM16_tv_mc) package { import flash.display.*; public dynamic class RM16_tv_mc extends MovieClip { } }//package
Section 153
//RM18_drop_mc (RM18_drop_mc) package { import flash.display.*; public dynamic class RM18_drop_mc extends MovieClip { public function RM18_drop_mc(){ addFrameScript(193, frame194); } function frame194(){ stop(); } } }//package
Section 154
//RM2_candle_mc (RM2_candle_mc) package { import flash.display.*; public dynamic class RM2_candle_mc extends MovieClip { } }//package
Section 155
//RM20_splitter_mc (RM20_splitter_mc) package { import flash.display.*; public dynamic class RM20_splitter_mc extends MovieClip { } }//package
Section 156
//RM23_knife_mc (RM23_knife_mc) package { import flash.display.*; public dynamic class RM23_knife_mc extends MovieClip { } }//package
Section 157
//rm23_lars_mc (rm23_lars_mc) package { import flash.display.*; public dynamic class rm23_lars_mc extends MovieClip { } }//package
Section 158
//rm24_cap_mc (rm24_cap_mc) package { import flash.display.*; public dynamic class rm24_cap_mc extends MovieClip { } }//package
Section 159
//rm25_rifle_mc (rm25_rifle_mc) package { import flash.display.*; public dynamic class rm25_rifle_mc extends MovieClip { } }//package
Section 160
//rm25_smash_mc (rm25_smash_mc) package { import flash.display.*; public dynamic class rm25_smash_mc extends MovieClip { } }//package
Section 161
//rm25monster_mc (rm25monster_mc) package { import flash.display.*; public dynamic class rm25monster_mc extends MovieClip { } }//package
Section 162
//rm25window_mc (rm25window_mc) package { import flash.display.*; public dynamic class rm25window_mc extends MovieClip { } }//package
Section 163
//rm26_flash_mc (rm26_flash_mc) package { import flash.display.*; public dynamic class rm26_flash_mc extends MovieClip { } }//package
Section 164
//rm26_specter_mc (rm26_specter_mc) package { import flash.display.*; public dynamic class rm26_specter_mc extends MovieClip { public var hitBOX:MovieClip; } }//package
Section 165
//RM26_specterkill_mc (RM26_specterkill_mc) package { import flash.display.*; public dynamic class RM26_specterkill_mc extends MovieClip { } }//package
Section 166
//rm27_acid_mc (rm27_acid_mc) package { import flash.display.*; public dynamic class rm27_acid_mc extends MovieClip { } }//package
Section 167
//rm27_light_mc (rm27_light_mc) package { import flash.display.*; public dynamic class rm27_light_mc extends MovieClip { } }//package
Section 168
//rm27_switch_mc (rm27_switch_mc) package { import flash.display.*; public dynamic class rm27_switch_mc extends MovieClip { } }//package
Section 169
//rm27glasscase_mc (rm27glasscase_mc) package { import flash.display.*; public dynamic class rm27glasscase_mc extends MovieClip { public var gcase:MovieClip; } }//package
Section 170
//RM29_beast_mc (RM29_beast_mc) package { import flash.display.*; public dynamic class RM29_beast_mc extends MovieClip { } }//package
Section 171
//RM29_chain_mc (RM29_chain_mc) package { import flash.display.*; public dynamic class RM29_chain_mc extends MovieClip { } }//package
Section 172
//RM29_door_mc (RM29_door_mc) package { import flash.display.*; public dynamic class RM29_door_mc extends MovieClip { } }//package
Section 173
//rm3_secretdoor_mc (rm3_secretdoor_mc) package { import flash.display.*; public dynamic class rm3_secretdoor_mc extends MovieClip { } }//package
Section 174
//rm31_fire_mc (rm31_fire_mc) package { import flash.display.*; public dynamic class rm31_fire_mc extends MovieClip { public function rm31_fire_mc(){ addFrameScript(34, frame35); } function frame35(){ stop(); } } }//package
Section 175
//RM32_head_mc (RM32_head_mc) package { import flash.display.*; public dynamic class RM32_head_mc extends MovieClip { } }//package
Section 176
//RM32_key_mc (RM32_key_mc) package { import flash.display.*; public dynamic class RM32_key_mc extends MovieClip { } }//package
Section 177
//RM32_shimmerdie_mc (RM32_shimmerdie_mc) package { import flash.display.*; public dynamic class RM32_shimmerdie_mc extends MovieClip { } }//package
Section 178
//RM34_door_mc (RM34_door_mc) package { import flash.display.*; public dynamic class RM34_door_mc extends MovieClip { } }//package
Section 179
//RM34_takaki_mc (RM34_takaki_mc) package { import flash.display.*; public dynamic class RM34_takaki_mc extends MovieClip { } }//package
Section 180
//RM34_wheel_mc (RM34_wheel_mc) package { import flash.display.*; public dynamic class RM34_wheel_mc extends MovieClip { } }//package
Section 181
//RM36_lock_mc (RM36_lock_mc) package { import flash.display.*; public dynamic class RM36_lock_mc extends MovieClip { } }//package
Section 182
//RM37_friendly_mc (RM37_friendly_mc) package { import flash.display.*; public dynamic class RM37_friendly_mc extends MovieClip { } }//package
Section 183
//RM37_wall_mc (RM37_wall_mc) package { import flash.display.*; public dynamic class RM37_wall_mc extends MovieClip { public var e1:MovieClip; public var e2:MovieClip; } }//package
Section 184
//rm38_layer_mc (rm38_layer_mc) package { import flash.display.*; public dynamic class rm38_layer_mc extends MovieClip { } }//package
Section 185
//RM39_light_mc (RM39_light_mc) package { import flash.display.*; public dynamic class RM39_light_mc extends MovieClip { } }//package
Section 186
//RM39_window_mc (RM39_window_mc) package { import flash.display.*; public dynamic class RM39_window_mc extends MovieClip { } }//package
Section 187
//rm39_window_smash_mc (rm39_window_smash_mc) package { import flash.display.*; public dynamic class rm39_window_smash_mc extends MovieClip { } }//package
Section 188
//RM4_note_mc (RM4_note_mc) package { import flash.display.*; public dynamic class RM4_note_mc extends MovieClip { } }//package
Section 189
//RM40_flash (RM40_flash) package { import flash.display.*; public dynamic class RM40_flash extends MovieClip { } }//package
Section 190
//RM7_ghost_mc (RM7_ghost_mc) package { import flash.display.*; public dynamic class RM7_ghost_mc extends MovieClip { public function RM7_ghost_mc(){ addFrameScript(11, frame12); } function frame12(){ stop(); } } }//package
Section 191
//RM8_wrench_mc (RM8_wrench_mc) package { import flash.display.*; public dynamic class RM8_wrench_mc extends MovieClip { public var hikari:MovieClip; } }//package
Section 192
//RM9_cupboard_mc (RM9_cupboard_mc) package { import flash.display.*; public dynamic class RM9_cupboard_mc extends MovieClip { } }//package
Section 193
//room15_knife_mc (room15_knife_mc) package { import flash.display.*; public dynamic class room15_knife_mc extends MovieClip { public function room15_knife_mc(){ addFrameScript(11, frame12); } function frame12(){ stop(); } } }//package
Section 194
//room22_torch_mc (room22_torch_mc) package { import flash.display.*; public dynamic class room22_torch_mc extends MovieClip { } }//package
Section 195
//roomkeyICON_mc (roomkeyICON_mc) package { import flash.display.*; public dynamic class roomkeyICON_mc extends MovieClip { } }//package
Section 196
//rope_wav (rope_wav) package { import flash.media.*; public dynamic class rope_wav extends Sound { } }//package
Section 197
//safetybox_wav (safetybox_wav) package { import flash.media.*; public dynamic class safetybox_wav extends Sound { } }//package
Section 198
//sarcosus_kill_wav (sarcosus_kill_wav) package { import flash.media.*; public dynamic class sarcosus_kill_wav extends Sound { } }//package
Section 199
//sarcosusACID_wav (sarcosusACID_wav) package { import flash.media.*; public dynamic class sarcosusACID_wav extends Sound { } }//package
Section 200
//screamingTAKAKI_wav (screamingTAKAKI_wav) package { import flash.media.*; public dynamic class screamingTAKAKI_wav extends Sound { } }//package
Section 201
//sh_mc (sh_mc) package { import flash.display.*; public dynamic class sh_mc extends MovieClip { } }//package
Section 202
//shimmerLAUGH_wav (shimmerLAUGH_wav) package { import flash.media.*; public dynamic class shimmerLAUGH_wav extends Sound { } }//package
Section 203
//shocker_wav (shocker_wav) package { import flash.media.*; public dynamic class shocker_wav extends Sound { } }//package
Section 204
//shower_curtain_wav (shower_curtain_wav) package { import flash.media.*; public dynamic class shower_curtain_wav extends Sound { } }//package
Section 205
//shutter_wav (shutter_wav) package { import flash.media.*; public dynamic class shutter_wav extends Sound { } }//package
Section 206
//sm_mc (sm_mc) package { import flash.display.*; public dynamic class sm_mc extends MovieClip { } }//package
Section 207
//specter_attack_wav (specter_attack_wav) package { import flash.media.*; public dynamic class specter_attack_wav extends Sound { } }//package
Section 208
//specter_die_wav (specter_die_wav) package { import flash.media.*; public dynamic class specter_die_wav extends Sound { } }//package
Section 209
//specter_hit_wav (specter_hit_wav) package { import flash.media.*; public dynamic class specter_hit_wav extends Sound { } }//package
Section 210
//specter_static_wav (specter_static_wav) package { import flash.media.*; public dynamic class specter_static_wav extends Sound { } }//package
Section 211
//splitter_wav (splitter_wav) package { import flash.media.*; public dynamic class splitter_wav extends Sound { } }//package
Section 212
//static_wav (static_wav) package { import flash.media.*; public dynamic class static_wav extends Sound { } }//package
Section 213
//steam_wav (steam_wav) package { import flash.media.*; public dynamic class steam_wav extends Sound { } }//package
Section 214
//takaki_theme_wav (takaki_theme_wav) package { import flash.media.*; public dynamic class takaki_theme_wav extends Sound { } }//package
Section 215
//takakiscream2_wav (takakiscream2_wav) package { import flash.media.*; public dynamic class takakiscream2_wav extends Sound { } }//package
Section 216
//target1_bmp (target1_bmp) package { import flash.display.*; public dynamic class target1_bmp extends BitmapData { public function target1_bmp(_arg1:int=549, _arg2:int=399){ super(_arg1, _arg2); } } }//package
Section 217
//text_frame_mc (text_frame_mc) package { import flash.display.*; import flash.text.*; public dynamic class text_frame_mc extends MovieClip { public var DOWNs:SimpleButton; public var UPs:SimpleButton; public var text_field:TextField; public var back:MovieClip; public var exitT:SimpleButton; } }//package
Section 218
//text_skip_mc (text_skip_mc) package { import flash.display.*; public dynamic class text_skip_mc extends MovieClip { } }//package
Section 219
//timebar_mc (timebar_mc) package { import flash.display.*; public dynamic class timebar_mc extends MovieClip { public var meter:MovieClip; } }//package
Section 220
//torchICON_mc (torchICON_mc) package { import flash.display.*; public dynamic class torchICON_mc extends MovieClip { } }//package
Section 221
//Trebuchet_14pt_Bold (Trebuchet_14pt_Bold) package { import flash.text.*; public dynamic class Trebuchet_14pt_Bold extends Font { } }//package
Section 222
//twinkle_mc (twinkle_mc) package { import flash.display.*; public dynamic class twinkle_mc extends MovieClip { } }//package
Section 223
//wrenchICON_mc (wrenchICON_mc) package { import flash.display.*; public dynamic class wrenchICON_mc extends MovieClip { } }//package

Library Items

Symbol 1 FontUsed by:2 4 6
Symbol 2 TextUses:1Used by:7
Symbol 3 GraphicUsed by:7
Symbol 4 TextUses:1Used by:7
Symbol 5 GraphicUsed by:7
Symbol 6 TextUses:1Used by:7
Symbol 7 ButtonUses:2 3 4 5 6Used by:Timeline
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClipUses:8Used by:227  Timeline
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClipUses:10Used by:12
Symbol 12 MovieClipUses:11Used by:15
Symbol 13 FontUsed by:14
Symbol 14 TextUses:13Used by:15
Symbol 15 MovieClipUses:12 14Used by:Timeline
Symbol 16 GraphicUsed by:28
Symbol 17 FontUsed by:18 19 20 21 22 23 24 25 26 27
Symbol 18 TextUses:17Used by:28
Symbol 19 TextUses:17Used by:28
Symbol 20 TextUses:17Used by:28
Symbol 21 TextUses:17Used by:28
Symbol 22 TextUses:17Used by:28
Symbol 23 TextUses:17Used by:28
Symbol 24 TextUses:17Used by:28
Symbol 25 TextUses:17Used by:28
Symbol 26 TextUses:17Used by:28
Symbol 27 TextUses:17Used by:28
Symbol 28 MovieClipUses:16 18 19 20 21 22 23 24 25 26 27Used by:33
Symbol 29 BitmapUsed by:30
Symbol 30 GraphicUses:29Used by:31
Symbol 31 MovieClipUses:30Used by:32
Symbol 32 MovieClipUses:31Used by:33
Symbol 33 MovieClipUses:28 32Used by:Timeline
Symbol 34 FontUsed by:35 119
Symbol 35 TextUses:34Used by:Timeline
Symbol 36 Font {Calibri_12pt_Italic}
Symbol 37 Font {Calibri_11pt_Bold}
Symbol 38 Font {Trebuchet_14pt_Bold}
Symbol 39 Sound {takaki_theme_wav}
Symbol 40 Sound {takakiscream2_wav}
Symbol 41 Sound {steam_wav}
Symbol 42 Sound {splitter_wav}
Symbol 43 Sound {specter_static_wav}
Symbol 44 Sound {specter_hit_wav}
Symbol 45 Sound {specter_die_wav}
Symbol 46 Sound {specter_attack_wav}
Symbol 47 Sound {shutter_wav}
Symbol 48 Sound {shower_curtain_wav}
Symbol 49 Sound {shocker_wav}
Symbol 50 Sound {shimmerLAUGH_wav}
Symbol 51 Sound {screamingTAKAKI_wav}
Symbol 52 Sound {sarcosus_kill_wav}
Symbol 53 Sound {crash_wav}
Symbol 54 Sound {sarcosusACID_wav}
Symbol 55 Sound {safetybox_wav}
Symbol 56 Sound {rope_wav}
Symbol 57 Sound {rifle_wav}
Symbol 58 Sound {pickup_wav}
Symbol 59 Sound {piano_wav}
Symbol 60 Sound {pageturn_wav}
Symbol 61 Sound {openpipe_wav}
Symbol 62 Sound {newbattle_wav}
Symbol 63 Sound {metalturn_wav}
Symbol 64 Sound {mechanical_wav}
Symbol 65 Sound {lighton_wav}
Symbol 66 Sound {knife_wav}
Symbol 67 Sound {Insanity2ThemeMix_wav}
Symbol 68 Sound {herodie_wav}
Symbol 69 Sound {handwheel_wav}
Symbol 70 Sound {glass_wav}
Symbol 71 Sound {elevator_door_wav}
Symbol 72 Sound {elevator_wav}
Symbol 73 Sound {drain_wav}
Symbol 74 Sound {door7_wav}
Symbol 75 Sound {door_jam_wav}
Symbol 76 Sound {ctu_wav}
Symbol 77 Sound {creepy_wav}
Symbol 78 Sound {crawlerDIE_wav}
Symbol 79 Sound {crawler_wav}
Symbol 80 Sound {collect_wav}
Symbol 81 Sound {click_wav}
Symbol 82 Sound {choke_wav}
Symbol 83 Sound {chimera_charge_wav}
Symbol 84 Sound {burn_wav}
Symbol 85 Sound {breath_wav}
Symbol 86 Sound {beep_wav}
Symbol 87 Sound {button_wav}
Symbol 88 Sound {alarm_wav}
Symbol 89 Sound {acid_wav}
Symbol 90 Sound {button2_wav}
Symbol 91 Sound {mainTRACK_wav}
Symbol 92 Sound {diesweep_wav}Used by:227
Symbol 93 Sound {farewell_wav}Used by:227
Symbol 94 Sound {static_wav}Used by:227
Symbol 95 Sound {heartbeat_wav}Used by:227
Symbol 96 Sound {boom_wav}Used by:1142
Symbol 97 FontUsed by:98
Symbol 98 TextUses:97Used by:99
Symbol 99 MovieClip {text_skip_mc}Uses:98
Symbol 100 GraphicUsed by:101
Symbol 101 MovieClip {fly_mc}Uses:100
Symbol 102 BitmapUsed by:103
Symbol 103 GraphicUses:102Used by:104
Symbol 104 MovieClip {house41_mc}Uses:103
Symbol 105 Bitmap {target1_bmp}Used by:161
Symbol 106 BitmapUsed by:107 111
Symbol 107 GraphicUses:106Used by:112
Symbol 108 BitmapUsed by:109 111
Symbol 109 GraphicUses:108Used by:110
Symbol 110 MovieClipUses:109Used by:112
Symbol 111 GraphicUses:108 106Used by:112
Symbol 112 MovieClip {insanityGAMESHED_fla.ROOM_274}Uses:107 110 111Used by:227
Symbol 113 SoundUsed by:227
Symbol 114 SoundUsed by:227
Symbol 115 BitmapUsed by:116
Symbol 116 GraphicUses:115Used by:117
Symbol 117 MovieClipUses:116Used by:118
Symbol 118 MovieClipUses:117Used by:227
Symbol 119 TextUses:34Used by:120
Symbol 120 MovieClipUses:119Used by:227
Symbol 121 FontUsed by:122 123 1026
Symbol 122 TextUses:121Used by:124
Symbol 123 TextUses:121Used by:124
Symbol 124 MovieClipUses:122 123Used by:227
Symbol 125 GraphicUsed by:135
Symbol 126 BitmapUsed by:127
Symbol 127 GraphicUses:126Used by:135
Symbol 128 GraphicUsed by:135
Symbol 129 BitmapUsed by:130
Symbol 130 GraphicUses:129Used by:131 135
Symbol 131 MovieClipUses:130Used by:135
Symbol 132 BitmapUsed by:133
Symbol 133 GraphicUses:132Used by:134
Symbol 134 MovieClipUses:133Used by:135
Symbol 135 MovieClip {insanityGAMESHED_fla.ENDING1EYE_280}Uses:125 127 128 130 131 134Used by:227
Symbol 136 GraphicUsed by:139
Symbol 137 GraphicUsed by:139
Symbol 138 GraphicUsed by:139
Symbol 139 MovieClipUses:136 137 138Used by:227
Symbol 140 FontUsed by:141 143 155 157 159 172 174 176 178 180
Symbol 141 TextUses:140Used by:142
Symbol 142 MovieClipUses:141Used by:227
Symbol 143 TextUses:140Used by:144
Symbol 144 MovieClipUses:143Used by:227
Symbol 145 BitmapUsed by:146
Symbol 146 GraphicUses:145Used by:151
Symbol 147 BitmapUsed by:148
Symbol 148 GraphicUses:147Used by:149
Symbol 149 MovieClipUses:148Used by:151
Symbol 150 SoundUsed by:151
Symbol 151 MovieClip {insanityGAMESHED_fla.ROOM_286}Uses:146 149 150Used by:227
Symbol 152 BitmapUsed by:153
Symbol 153 GraphicUses:152Used by:154
Symbol 154 MovieClipUses:153Used by:227
Symbol 155 TextUses:140Used by:156
Symbol 156 MovieClipUses:155Used by:227
Symbol 157 TextUses:140Used by:158
Symbol 158 MovieClipUses:157Used by:227
Symbol 159 TextUses:140Used by:160
Symbol 160 MovieClipUses:159Used by:227
Symbol 161 MovieClipUses:105Used by:227
Symbol 162 BitmapUsed by:163 168
Symbol 163 GraphicUses:162Used by:171
Symbol 164 BitmapUsed by:165 169
Symbol 165 GraphicUses:164Used by:171
Symbol 166 BitmapUsed by:167 170
Symbol 167 GraphicUses:166Used by:171
Symbol 168 GraphicUses:162Used by:171
Symbol 169 GraphicUses:164Used by:171
Symbol 170 GraphicUses:166Used by:171
Symbol 171 MovieClipUses:163 165 167 168 169 170Used by:197 227
Symbol 172 TextUses:140Used by:173
Symbol 173 MovieClipUses:172Used by:227
Symbol 174 TextUses:140Used by:175
Symbol 175 MovieClipUses:174Used by:227
Symbol 176 TextUses:140Used by:177
Symbol 177 MovieClipUses:176Used by:227
Symbol 178 TextUses:140Used by:179
Symbol 179 MovieClipUses:178Used by:227
Symbol 180 TextUses:140Used by:193
Symbol 181 FontUsed by:182 183 184 187 188 189 190 191 192 1175 1178 1179 1180 1184
Symbol 182 TextUses:181Used by:193
Symbol 183 TextUses:181Used by:193
Symbol 184 TextUses:181Used by:193
Symbol 185 GraphicUsed by:186
Symbol 186 MovieClipUses:185Used by:193
Symbol 187 TextUses:181Used by:193
Symbol 188 TextUses:181Used by:193
Symbol 189 TextUses:181Used by:193
Symbol 190 TextUses:181Used by:193
Symbol 191 TextUses:181Used by:193
Symbol 192 TextUses:181Used by:193
Symbol 193 MovieClipUses:180 182 183 184 186 187 188 189 190 191 192Used by:227
Symbol 194 GraphicUsed by:196
Symbol 195 GraphicUsed by:196
Symbol 196 MovieClipUses:194 195Used by:197
Symbol 197 MovieClipUses:196 171Used by:227
Symbol 198 BitmapUsed by:199
Symbol 199 GraphicUses:198Used by:227
Symbol 200 FontUsed by:201
Symbol 201 TextUses:200Used by:202
Symbol 202 MovieClipUses:201Used by:227
Symbol 203 BitmapUsed by:204
Symbol 204 GraphicUses:203Used by:205 206
Symbol 205 MovieClipUses:204Used by:206
Symbol 206 MovieClipUses:204 205Used by:227
Symbol 207 FontUsed by:208
Symbol 208 TextUses:207Used by:227
Symbol 209 GraphicUsed by:210
Symbol 210 MovieClipUses:209Used by:227
Symbol 211 GraphicUsed by:217 227
Symbol 212 FontUsed by:213 216 224 225 226
Symbol 213 TextUses:212Used by:217 227
Symbol 214 FontUsed by:215
Symbol 215 TextUses:214Used by:217
Symbol 216 TextUses:212Used by:217 227
Symbol 217 MovieClipUses:211 213 215 216Used by:227
Symbol 218 BitmapUsed by:219
Symbol 219 GraphicUses:218Used by:220
Symbol 220 ButtonUses:219Used by:227 1191
Symbol 221 FontUsed by:222 1171 1173 1185
Symbol 222 TextUses:221Used by:223
Symbol 223 ButtonUses:222Used by:227 1191
Symbol 224 TextUses:212Used by:227
Symbol 225 TextUses:212Used by:227
Symbol 226 TextUses:212Used by:227
Symbol 227 MovieClip {house46_mc}Uses:112 113 114 118 120 124 135 139 142 144 151 154 156 158 160 95 161 171 173 175 177 179 193 197 199 202 94 206 93 208 210 92 217 211 213 216 9 220 223 224 225 226
Symbol 228 GraphicUsed by:269
Symbol 229 BitmapUsed by:230
Symbol 230 GraphicUses:229Used by:231
Symbol 231 MovieClipUses:230Used by:269
Symbol 232 BitmapUsed by:234
Symbol 233 BitmapUsed by:234
Symbol 234 GraphicUses:232 233Used by:269
Symbol 235 BitmapUsed by:236
Symbol 236 GraphicUses:235Used by:269
Symbol 237 BitmapUsed by:238
Symbol 238 GraphicUses:237Used by:269
Symbol 239 BitmapUsed by:240
Symbol 240 GraphicUses:239Used by:269
Symbol 241 BitmapUsed by:242
Symbol 242 GraphicUses:241Used by:269
Symbol 243 SoundUsed by:269
Symbol 244 BitmapUsed by:245
Symbol 245 GraphicUses:244Used by:269
Symbol 246 BitmapUsed by:247
Symbol 247 GraphicUses:246Used by:269
Symbol 248 BitmapUsed by:249
Symbol 249 GraphicUses:248Used by:269
Symbol 250 BitmapUsed by:251
Symbol 251 GraphicUses:250Used by:252
Symbol 252 MovieClipUses:251Used by:269
Symbol 253 BitmapUsed by:254
Symbol 254 GraphicUses:253Used by:269
Symbol 255 BitmapUsed by:256
Symbol 256 GraphicUses:255Used by:269
Symbol 257 BitmapUsed by:258
Symbol 258 GraphicUses:257Used by:269
Symbol 259 BitmapUsed by:260
Symbol 260 GraphicUses:259Used by:269
Symbol 261 BitmapUsed by:262
Symbol 262 GraphicUses:261Used by:269
Symbol 263 BitmapUsed by:264
Symbol 264 GraphicUses:263Used by:269
Symbol 265 BitmapUsed by:266
Symbol 266 GraphicUses:265Used by:269
Symbol 267 BitmapUsed by:268
Symbol 268 GraphicUses:267Used by:269
Symbol 269 MovieClip {house44_mc}Uses:228 231 234 236 238 240 242 243 245 247 249 252 254 256 258 260 262 264 266 268
Symbol 270 GraphicUsed by:271
Symbol 271 MovieClipUses:270Used by:272
Symbol 272 MovieClip {twinkle_mc}Uses:271
Symbol 273 BitmapUsed by:274
Symbol 274 GraphicUses:273Used by:275
Symbol 275 MovieClip {house43_mc}Uses:274
Symbol 276 BitmapUsed by:277
Symbol 277 GraphicUses:276Used by:278
Symbol 278 MovieClip {house42_mc}Uses:277
Symbol 279 GraphicUsed by:280
Symbol 280 MovieClipUses:279Used by:285
Symbol 281 GraphicUsed by:282 292
Symbol 282 MovieClipUses:281Used by:285
Symbol 283 GraphicUsed by:284
Symbol 284 MovieClipUses:283Used by:285
Symbol 285 MovieClip {RM40_flash}Uses:280 282 284
Symbol 286 BitmapUsed by:287
Symbol 287 GraphicUses:286Used by:315
Symbol 288 FontUsed by:289 290 293 295 297 299 301 303 305 306 309 310 311 312 313 314
Symbol 289 TextUses:288Used by:315
Symbol 290 TextUses:288Used by:315
Symbol 291 GraphicUsed by:292
Symbol 292 MovieClipUses:281 291Used by:315
Symbol 293 TextUses:288Used by:294
Symbol 294 MovieClipUses:293Used by:315
Symbol 295 TextUses:288Used by:296
Symbol 296 MovieClipUses:295Used by:315
Symbol 297 TextUses:288Used by:298
Symbol 298 MovieClipUses:297Used by:315
Symbol 299 TextUses:288Used by:300
Symbol 300 MovieClipUses:299Used by:315
Symbol 301 TextUses:288Used by:302
Symbol 302 MovieClipUses:301Used by:315
Symbol 303 TextUses:288Used by:304
Symbol 304 MovieClipUses:303Used by:315
Symbol 305 TextUses:288Used by:308
Symbol 306 TextUses:288Used by:308
Symbol 307 GraphicUsed by:308
Symbol 308 ButtonUses:305 306 307Used by:315
Symbol 309 TextUses:288Used by:315
Symbol 310 TextUses:288Used by:315
Symbol 311 TextUses:288Used by:315
Symbol 312 TextUses:288Used by:315
Symbol 313 TextUses:288Used by:315
Symbol 314 TextUses:288Used by:315
Symbol 315 MovieClip {house40_mc}Uses:287 289 290 292 294 296 298 300 302 304 308 309 310 311 312 313 314
Symbol 316 BitmapUsed by:317
Symbol 317 GraphicUses:316Used by:320
Symbol 318 BitmapUsed by:319
Symbol 319 GraphicUses:318Used by:320
Symbol 320 MovieClip {RM39_window_mc}Uses:317 319
Symbol 321 BitmapUsed by:322
Symbol 322 GraphicUses:321Used by:323
Symbol 323 MovieClip {RM39_light_mc}Uses:322
Symbol 324 BitmapUsed by:325
Symbol 325 GraphicUses:324Used by:326
Symbol 326 MovieClip {house39_mc}Uses:325
Symbol 327 BitmapUsed by:328
Symbol 328 GraphicUses:327Used by:360
Symbol 329 BitmapUsed by:330
Symbol 330 GraphicUses:329Used by:345
Symbol 331 BitmapUsed by:332
Symbol 332 GraphicUses:331Used by:345
Symbol 333 BitmapUsed by:334
Symbol 334 GraphicUses:333Used by:345
Symbol 335 BitmapUsed by:336
Symbol 336 GraphicUses:335Used by:345
Symbol 337 BitmapUsed by:338
Symbol 338 GraphicUses:337Used by:345
Symbol 339 BitmapUsed by:340
Symbol 340 GraphicUses:339Used by:345
Symbol 341 BitmapUsed by:342
Symbol 342 GraphicUses:341Used by:345
Symbol 343 BitmapUsed by:344
Symbol 344 GraphicUses:343Used by:345
Symbol 345 MovieClipUses:330 332 334 336 338 340 342 344Used by:360
Symbol 346 BitmapUsed by:347
Symbol 347 GraphicUses:346Used by:348
Symbol 348 MovieClipUses:347Used by:349
Symbol 349 MovieClipUses:348Used by:360
Symbol 350 BitmapUsed by:351
Symbol 351 GraphicUses:350Used by:360
Symbol 352 BitmapUsed by:353
Symbol 353 GraphicUses:352Used by:360
Symbol 354 BitmapUsed by:355
Symbol 355 GraphicUses:354Used by:360
Symbol 356 BitmapUsed by:357
Symbol 357 GraphicUses:356Used by:358 359 360
Symbol 358 MovieClipUses:357Used by:360
Symbol 359 MovieClipUses:357Used by:360
Symbol 360 MovieClip {chimera_die_mc}Uses:328 345 349 351 353 355 358 357 359
Symbol 361 BitmapUsed by:362
Symbol 362 GraphicUses:361Used by:363
Symbol 363 MovieClip {house38_mc}Uses:362
Symbol 364 BitmapUsed by:365
Symbol 365 GraphicUses:364Used by:383
Symbol 366 BitmapUsed by:367
Symbol 367 GraphicUses:366Used by:370
Symbol 368 BitmapUsed by:369
Symbol 369 GraphicUses:368Used by:370
Symbol 370 MovieClip {elevator_spray_mc}Uses:367 369Used by:383
Symbol 371 BitmapUsed by:372
Symbol 372 GraphicUses:371Used by:382
Symbol 373 BitmapUsed by:374 391
Symbol 374 GraphicUses:373Used by:375
Symbol 375 MovieClipUses:374Used by:382
Symbol 376 BitmapUsed by:377
Symbol 377 GraphicUses:376Used by:382
Symbol 378 BitmapUsed by:379
Symbol 379 GraphicUses:378Used by:382
Symbol 380 BitmapUsed by:381
Symbol 381 GraphicUses:380Used by:382
Symbol 382 MovieClip {elevator_die_mc}Uses:372 375 377 379 381Used by:383
Symbol 383 MovieClip {puzzle2_death_mc}Uses:365 370 382
Symbol 384 GraphicUsed by:385
Symbol 385 MovieClipUses:384Used by:389
Symbol 386 GraphicUsed by:389
Symbol 387 GraphicUsed by:388
Symbol 388 MovieClipUses:387Used by:389
Symbol 389 MovieClip {timebar_mc}Uses:385 386 388
Symbol 390 GraphicUsed by:393
Symbol 391 GraphicUses:373Used by:392
Symbol 392 MovieClipUses:391Used by:393
Symbol 393 MovieClip {markX_mc}Uses:390 392
Symbol 394 BitmapUsed by:395
Symbol 395 GraphicUses:394Used by:416
Symbol 396 BitmapUsed by:397
Symbol 397 GraphicUses:396Used by:416
Symbol 398 BitmapUsed by:399
Symbol 399 GraphicUses:398Used by:416
Symbol 400 BitmapUsed by:401
Symbol 401 GraphicUses:400Used by:416
Symbol 402 BitmapUsed by:403
Symbol 403 GraphicUses:402Used by:416
Symbol 404 BitmapUsed by:405
Symbol 405 GraphicUses:404Used by:416
Symbol 406 BitmapUsed by:407
Symbol 407 GraphicUses:406Used by:416
Symbol 408 BitmapUsed by:409
Symbol 409 GraphicUses:408Used by:416
Symbol 410 BitmapUsed by:411
Symbol 411 GraphicUses:410Used by:416
Symbol 412 BitmapUsed by:413
Symbol 413 GraphicUses:412Used by:416
Symbol 414 BitmapUsed by:415
Symbol 415 GraphicUses:414Used by:416
Symbol 416 MovieClip {kanjiSET_mc}Uses:395 397 399 401 403 405 407 409 411 413 415
Symbol 417 BitmapUsed by:418
Symbol 418 GraphicUses:417Used by:419
Symbol 419 MovieClip {rm38_layer_mc}Uses:418
Symbol 420 BitmapUsed by:421
Symbol 421 GraphicUses:420Used by:422
Symbol 422 MovieClipUses:421Used by:423
Symbol 423 MovieClip {RM37_wall_mc}Uses:422
Symbol 424 BitmapUsed by:425
Symbol 425 GraphicUses:424Used by:426
Symbol 426 MovieClip {RM37_friendly_mc}Uses:425
Symbol 427 BitmapUsed by:428
Symbol 428 GraphicUses:427Used by:432
Symbol 429 GraphicUsed by:430 800 1101
Symbol 430 MovieClipUses:429Used by:431
Symbol 431 MovieClipUses:430Used by:432
Symbol 432 MovieClip {house37_mc}Uses:428 431
Symbol 433 BitmapUsed by:434
Symbol 434 GraphicUses:433Used by:435
Symbol 435 MovieClip {RM36_lock_mc}Uses:434
Symbol 436 BitmapUsed by:437
Symbol 437 GraphicUses:436Used by:438
Symbol 438 MovieClip {house36_mc}Uses:437
Symbol 439 BitmapUsed by:440
Symbol 440 GraphicUses:439Used by:441
Symbol 441 MovieClipUses:440Used by:448 452
Symbol 442 BitmapUsed by:443
Symbol 443 GraphicUses:442Used by:444
Symbol 444 MovieClipUses:443Used by:452
Symbol 445 BitmapUsed by:446
Symbol 446 GraphicUses:445Used by:447
Symbol 447 MovieClip {explode_rifle_mc}Uses:446Used by:452
Symbol 448 MovieClipUses:441Used by:452
Symbol 449 BitmapUsed by:450
Symbol 450 GraphicUses:449Used by:451
Symbol 451 MovieClipUses:450Used by:452
Symbol 452 MovieClip {house35_mc}Uses:441 444 447 448 451
Symbol 453 BitmapUsed by:454
Symbol 454 GraphicUses:453Used by:455
Symbol 455 MovieClip {RM34_wheel_mc}Uses:454
Symbol 456 BitmapUsed by:457
Symbol 457 GraphicUses:456Used by:461
Symbol 458 BitmapUsed by:459
Symbol 459 GraphicUses:458Used by:460
Symbol 460 MovieClipUses:459Used by:461
Symbol 461 MovieClip {RM34_takaki_mc}Uses:457 460
Symbol 462 GraphicUsed by:463
Symbol 463 MovieClip {RM34_door_mc}Uses:462
Symbol 464 BitmapUsed by:465
Symbol 465 GraphicUses:464Used by:466
Symbol 466 MovieClip {house34_mc}Uses:465
Symbol 467 BitmapUsed by:468
Symbol 468 GraphicUses:467Used by:509
Symbol 469 BitmapUsed by:470
Symbol 470 GraphicUses:469Used by:509
Symbol 471 BitmapUsed by:472
Symbol 472 GraphicUses:471Used by:509
Symbol 473 BitmapUsed by:474
Symbol 474 GraphicUses:473Used by:509
Symbol 475 BitmapUsed by:476
Symbol 476 GraphicUses:475Used by:509
Symbol 477 BitmapUsed by:478
Symbol 478 GraphicUses:477Used by:509
Symbol 479 BitmapUsed by:480
Symbol 480 GraphicUses:479Used by:509
Symbol 481 BitmapUsed by:482
Symbol 482 GraphicUses:481Used by:509
Symbol 483 BitmapUsed by:484
Symbol 484 GraphicUses:483Used by:509
Symbol 485 BitmapUsed by:486
Symbol 486 GraphicUses:485Used by:509
Symbol 487 BitmapUsed by:488
Symbol 488 GraphicUses:487Used by:509
Symbol 489 BitmapUsed by:490
Symbol 490 GraphicUses:489Used by:509
Symbol 491 BitmapUsed by:492
Symbol 492 GraphicUses:491Used by:509
Symbol 493 BitmapUsed by:494
Symbol 494 GraphicUses:493Used by:509
Symbol 495 BitmapUsed by:496
Symbol 496 GraphicUses:495Used by:509
Symbol 497 BitmapUsed by:498
Symbol 498 GraphicUses:497Used by:509
Symbol 499 BitmapUsed by:500
Symbol 500 GraphicUses:499Used by:509
Symbol 501 BitmapUsed by:502
Symbol 502 GraphicUses:501Used by:509
Symbol 503 BitmapUsed by:504
Symbol 504 GraphicUses:503Used by:509
Symbol 505 BitmapUsed by:506
Symbol 506 GraphicUses:505Used by:509
Symbol 507 BitmapUsed by:508
Symbol 508 GraphicUses:507Used by:509
Symbol 509 MovieClip {sm_mc}Uses:468 470 472 474 476 478 480 482 484 486 488 490 492 494 496 498 500 502 504 506 508
Symbol 510 BitmapUsed by:511
Symbol 511 GraphicUses:510Used by:550
Symbol 512 BitmapUsed by:513
Symbol 513 GraphicUses:512Used by:550
Symbol 514 BitmapUsed by:515
Symbol 515 GraphicUses:514Used by:550
Symbol 516 BitmapUsed by:517
Symbol 517 GraphicUses:516Used by:550
Symbol 518 BitmapUsed by:519
Symbol 519 GraphicUses:518Used by:550
Symbol 520 BitmapUsed by:521
Symbol 521 GraphicUses:520Used by:550
Symbol 522 BitmapUsed by:523
Symbol 523 GraphicUses:522Used by:550
Symbol 524 BitmapUsed by:525
Symbol 525 GraphicUses:524Used by:550
Symbol 526 BitmapUsed by:527
Symbol 527 GraphicUses:526Used by:550
Symbol 528 BitmapUsed by:529
Symbol 529 GraphicUses:528Used by:550
Symbol 530 BitmapUsed by:531
Symbol 531 GraphicUses:530Used by:550
Symbol 532 BitmapUsed by:533
Symbol 533 GraphicUses:532Used by:550
Symbol 534 BitmapUsed by:535
Symbol 535 GraphicUses:534Used by:550
Symbol 536 BitmapUsed by:537
Symbol 537 GraphicUses:536Used by:550
Symbol 538 BitmapUsed by:539
Symbol 539 GraphicUses:538Used by:550
Symbol 540 BitmapUsed by:541
Symbol 541 GraphicUses:540Used by:550
Symbol 542 BitmapUsed by:543
Symbol 543 GraphicUses:542Used by:550
Symbol 544 BitmapUsed by:545
Symbol 545 GraphicUses:544Used by:550
Symbol 546 BitmapUsed by:547
Symbol 547 GraphicUses:546Used by:550
Symbol 548 BitmapUsed by:549
Symbol 549 GraphicUses:548Used by:550
Symbol 550 MovieClip {sh_mc}Uses:511 513 515 517 519 521 523 525 527 529 531 533 535 537 539 541 543 545 547 549
Symbol 551 GraphicUsed by:552
Symbol 552 MovieClip {house33_mc}Uses:551
Symbol 553 BitmapUsed by:554
Symbol 554 GraphicUses:553Used by:555
Symbol 555 MovieClip {escape_mc}Uses:554
Symbol 556 BitmapUsed by:557
Symbol 557 GraphicUses:556Used by:558
Symbol 558 MovieClip {RM32_shimmerdie_mc}Uses:557
Symbol 559 BitmapUsed by:560
Symbol 560 GraphicUses:559Used by:566
Symbol 561 BitmapUsed by:562
Symbol 562 GraphicUses:561Used by:563
Symbol 563 MovieClip {RM32_head_mc}Uses:562Used by:566
Symbol 564 GraphicUsed by:565
Symbol 565 MovieClipUses:564Used by:566 655 1107 1142
Symbol 566 MovieClip {house32_mc}Uses:560 563 565
Symbol 567 BitmapUsed by:568
Symbol 568 GraphicUses:567Used by:569 570
Symbol 569 MovieClipUses:568Used by:570
Symbol 570 MovieClip {RM32_key_mc}Uses:568 569
Symbol 571 BitmapUsed by:572
Symbol 572 GraphicUses:571Used by:573
Symbol 573 MovieClip {house31_mc}Uses:572
Symbol 574 BitmapUsed by:575
Symbol 575 GraphicUses:574Used by:576
Symbol 576 MovieClipUses:575Used by:594
Symbol 577 BitmapUsed by:578
Symbol 578 GraphicUses:577Used by:587
Symbol 579 BitmapUsed by:580
Symbol 580 GraphicUses:579Used by:587
Symbol 581 BitmapUsed by:582
Symbol 582 GraphicUses:581Used by:587
Symbol 583 BitmapUsed by:584
Symbol 584 GraphicUses:583Used by:587
Symbol 585 BitmapUsed by:586
Symbol 586 GraphicUses:585Used by:587
Symbol 587 MovieClip {fire_mc}Uses:578 580 582 584 586Used by:594
Symbol 588 GraphicUsed by:590 920 1029
Symbol 589 GraphicUsed by:590
Symbol 590 MovieClipUses:588 589Used by:594
Symbol 591 GraphicUsed by:593
Symbol 592 GraphicUsed by:593
Symbol 593 MovieClipUses:591 592Used by:594
Symbol 594 MovieClip {rm31_fire_mc}Uses:576 587 590 593
Symbol 595 BitmapUsed by:596
Symbol 596 GraphicUses:595Used by:597
Symbol 597 MovieClip {house30_mc}Uses:596
Symbol 598 BitmapUsed by:599
Symbol 599 GraphicUses:598Used by:600
Symbol 600 MovieClip {RM29_door_mc}Uses:599
Symbol 601 BitmapUsed by:602
Symbol 602 GraphicUses:601Used by:603
Symbol 603 MovieClip {RM29_chain_mc}Uses:602
Symbol 604 BitmapUsed by:605
Symbol 605 GraphicUses:604Used by:606
Symbol 606 MovieClip {house29_mc}Uses:605
Symbol 607 BitmapUsed by:608
Symbol 608 GraphicUses:607Used by:609
Symbol 609 MovieClip {RM29_beast_mc}Uses:608
Symbol 610 BitmapUsed by:611
Symbol 611 GraphicUses:610Used by:612
Symbol 612 MovieClip {house28_mc}Uses:611
Symbol 613 GraphicUsed by:614
Symbol 614 MovieClipUses:613Used by:615
Symbol 615 MovieClipUses:614Used by:616
Symbol 616 MovieClip {rm27glasscase_mc}Uses:615
Symbol 617 BitmapUsed by:618
Symbol 618 GraphicUses:617Used by:621
Symbol 619 BitmapUsed by:620
Symbol 620 GraphicUses:619Used by:621
Symbol 621 MovieClip {rm27_switch_mc}Uses:618 620
Symbol 622 BitmapUsed by:623
Symbol 623 GraphicUses:622Used by:624
Symbol 624 MovieClip {rm27_light_mc}Uses:623
Symbol 625 BitmapUsed by:626
Symbol 626 GraphicUses:625Used by:627
Symbol 627 MovieClip {rm27_acid_mc}Uses:626
Symbol 628 BitmapUsed by:629
Symbol 629 GraphicUses:628Used by:630
Symbol 630 MovieClip {house27_mc}Uses:629
Symbol 631 BitmapUsed by:632
Symbol 632 GraphicUses:631Used by:633
Symbol 633 MovieClip {RM26_specterkill_mc}Uses:632
Symbol 634 BitmapUsed by:635
Symbol 635 GraphicUses:634Used by:655
Symbol 636 BitmapUsed by:637 654
Symbol 637 GraphicUses:636Used by:655
Symbol 638 BitmapUsed by:639 653
Symbol 639 GraphicUses:638Used by:655
Symbol 640 BitmapUsed by:641 652
Symbol 641 GraphicUses:640Used by:655
Symbol 642 BitmapUsed by:643
Symbol 643 GraphicUses:642Used by:655
Symbol 644 BitmapUsed by:645
Symbol 645 GraphicUses:644Used by:655
Symbol 646 BitmapUsed by:647
Symbol 647 GraphicUses:646Used by:655
Symbol 648 BitmapUsed by:649
Symbol 649 GraphicUses:648Used by:655
Symbol 650 BitmapUsed by:651
Symbol 651 GraphicUses:650Used by:655
Symbol 652 GraphicUses:640Used by:655
Symbol 653 GraphicUses:638Used by:655
Symbol 654 GraphicUses:636Used by:655
Symbol 655 MovieClip {rm26_specter_mc}Uses:635 565 637 639 641 643 645 647 649 651 652 653 654
Symbol 656 GraphicUsed by:657 874
Symbol 657 MovieClipUses:656Used by:658
Symbol 658 MovieClip {rm26_flash_mc}Uses:657
Symbol 659 BitmapUsed by:660
Symbol 660 GraphicUses:659Used by:663
Symbol 661 GraphicUsed by:662
Symbol 662 MovieClipUses:661Used by:663
Symbol 663 MovieClip {house26_mc}Uses:660 662
Symbol 664 BitmapUsed by:665
Symbol 665 GraphicUses:664Used by:666
Symbol 666 MovieClipUses:665Used by:667
Symbol 667 MovieClip {rm39_window_smash_mc}Uses:666Used by:668
Symbol 668 MovieClip {rm25_smash_mc}Uses:667
Symbol 669 BitmapUsed by:670
Symbol 670 GraphicUses:669Used by:671
Symbol 671 MovieClip {rm25_rifle_mc}Uses:670
Symbol 672 BitmapUsed by:673
Symbol 673 GraphicUses:672Used by:674
Symbol 674 MovieClip {rm25monster_mc}Uses:673
Symbol 675 BitmapUsed by:676
Symbol 676 GraphicUses:675Used by:677
Symbol 677 MovieClip {house25_mc}Uses:676
Symbol 678 BitmapUsed by:679
Symbol 679 GraphicUses:678Used by:680
Symbol 680 MovieClip {rm25window_mc}Uses:679
Symbol 681 BitmapUsed by:682
Symbol 682 GraphicUses:681Used by:683
Symbol 683 MovieClip {rm24_cap_mc}Uses:682
Symbol 684 BitmapUsed by:685
Symbol 685 GraphicUses:684Used by:686
Symbol 686 MovieClip {house24_mc}Uses:685
Symbol 687 BitmapUsed by:688
Symbol 688 GraphicUses:687Used by:693
Symbol 689 BitmapUsed by:690
Symbol 690 GraphicUses:689Used by:693
Symbol 691 BitmapUsed by:692
Symbol 692 GraphicUses:691Used by:693
Symbol 693 MovieClip {rm23_lars_mc}Uses:688 690 692
Symbol 694 BitmapUsed by:695
Symbol 695 GraphicUses:694Used by:696
Symbol 696 MovieClip {RM23_knife_mc}Uses:695
Symbol 697 BitmapUsed by:698
Symbol 698 GraphicUses:697Used by:702
Symbol 699 BitmapUsed by:700
Symbol 700 GraphicUses:699Used by:701
Symbol 701 MovieClipUses:700Used by:702
Symbol 702 MovieClip {house23_mc}Uses:698 701
Symbol 703 BitmapUsed by:704
Symbol 704 GraphicUses:703Used by:705
Symbol 705 MovieClip {room22_torch_mc}Uses:704
Symbol 706 BitmapUsed by:707
Symbol 707 GraphicUses:706Used by:708
Symbol 708 MovieClip {house22_mc}Uses:707
Symbol 709 GraphicUsed by:715
Symbol 710 BitmapUsed by:711
Symbol 711 GraphicUses:710Used by:714
Symbol 712 BitmapUsed by:713
Symbol 713 GraphicUses:712Used by:714
Symbol 714 MovieClipUses:711 713Used by:715
Symbol 715 MovieClip {puzzle_box_mc}Uses:709 714
Symbol 716 BitmapUsed by:717
Symbol 717 GraphicUses:716Used by:718
Symbol 718 MovieClip {house21_mc}Uses:717
Symbol 719 GraphicUsed by:720
Symbol 720 MovieClipUses:719Used by:724
Symbol 721 GraphicUsed by:722
Symbol 722 MovieClipUses:721Used by:724
Symbol 723 GraphicUsed by:724
Symbol 724 MovieClip {glass_puzzle_mc}Uses:720 722 723
Symbol 725 BitmapUsed by:726
Symbol 726 GraphicUses:725Used by:771
Symbol 727 GraphicUsed by:728
Symbol 728 MovieClipUses:727Used by:771
Symbol 729 BitmapUsed by:730
Symbol 730 GraphicUses:729Used by:731 771
Symbol 731 MovieClipUses:730Used by:771
Symbol 732 BitmapUsed by:733
Symbol 733 GraphicUses:732Used by:771
Symbol 734 BitmapUsed by:735
Symbol 735 GraphicUses:734Used by:771
Symbol 736 BitmapUsed by:737
Symbol 737 GraphicUses:736Used by:771
Symbol 738 BitmapUsed by:739
Symbol 739 GraphicUses:738Used by:771
Symbol 740 BitmapUsed by:741
Symbol 741 GraphicUses:740Used by:771
Symbol 742 BitmapUsed by:743
Symbol 743 GraphicUses:742Used by:771
Symbol 744 BitmapUsed by:745
Symbol 745 GraphicUses:744Used by:746
Symbol 746 MovieClipUses:745Used by:771
Symbol 747 BitmapUsed by:748
Symbol 748 GraphicUses:747Used by:749 752 762
Symbol 749 MovieClipUses:748Used by:771
Symbol 750 BitmapUsed by:751
Symbol 751 GraphicUses:750Used by:771
Symbol 752 MovieClipUses:748Used by:771
Symbol 753 BitmapUsed by:754
Symbol 754 GraphicUses:753Used by:755
Symbol 755 MovieClipUses:754Used by:771
Symbol 756 BitmapUsed by:757
Symbol 757 GraphicUses:756Used by:771
Symbol 758 BitmapUsed by:759
Symbol 759 GraphicUses:758Used by:771
Symbol 760 BitmapUsed by:761
Symbol 761 GraphicUses:760Used by:771
Symbol 762 MovieClipUses:748Used by:771
Symbol 763 BitmapUsed by:764
Symbol 764 GraphicUses:763Used by:771
Symbol 765 BitmapUsed by:766
Symbol 766 GraphicUses:765Used by:771
Symbol 767 BitmapUsed by:768
Symbol 768 GraphicUses:767Used by:771
Symbol 769 BitmapUsed by:770
Symbol 770 GraphicUses:769Used by:771
Symbol 771 MovieClip {RM20_splitter_mc}Uses:726 728 731 730 733 735 737 739 741 743 746 749 751 752 755 757 759 761 762 764 766 768 770
Symbol 772 BitmapUsed by:773
Symbol 773 GraphicUses:772Used by:776
Symbol 774 GraphicUsed by:775 877
Symbol 775 MovieClipUses:774Used by:776
Symbol 776 MovieClip {house20_mc}Uses:773 775
Symbol 777 BitmapUsed by:778
Symbol 778 GraphicUses:777Used by:787
Symbol 779 BitmapUsed by:780
Symbol 780 GraphicUses:779Used by:787
Symbol 781 BitmapUsed by:782
Symbol 782 GraphicUses:781Used by:787
Symbol 783 BitmapUsed by:784
Symbol 784 GraphicUses:783Used by:787
Symbol 785 BitmapUsed by:786
Symbol 786 GraphicUses:785Used by:787
Symbol 787 MovieClip {chimera_curtain_mc}Uses:778 780 782 784 786
Symbol 788 BitmapUsed by:789
Symbol 789 GraphicUses:788Used by:793
Symbol 790 BitmapUsed by:791
Symbol 791 GraphicUses:790Used by:792
Symbol 792 MovieClipUses:791Used by:793
Symbol 793 MovieClip {house19_mc}Uses:789 792
Symbol 794 BitmapUsed by:795
Symbol 795 GraphicUses:794Used by:808
Symbol 796 GraphicUsed by:797 900
Symbol 797 MovieClipUses:796Used by:808 900
Symbol 798 BitmapUsed by:799 803 807
Symbol 799 GraphicUses:798Used by:808
Symbol 800 MovieClipUses:429Used by:801
Symbol 801 MovieClipUses:800Used by:808
Symbol 802 BitmapUsed by:803 807 858
Symbol 803 GraphicUses:802 798Used by:808
Symbol 804 BitmapUsed by:805
Symbol 805 GraphicUses:804Used by:806
Symbol 806 MovieClip {RM14_door_mc}Uses:805Used by:808
Symbol 807 GraphicUses:802 798Used by:808
Symbol 808 MovieClip {RM18_drop_mc}Uses:795 797 799 801 803 806 807
Symbol 809 BitmapUsed by:810 815
Symbol 810 GraphicUses:809Used by:811
Symbol 811 MovieClip {house18_mc}Uses:810
Symbol 812 BitmapUsed by:813
Symbol 813 GraphicUses:812Used by:814
Symbol 814 MovieClip {house17_mc}Uses:813
Symbol 815 GraphicUses:809Used by:816
Symbol 816 MovieClipUses:815Used by:817
Symbol 817 MovieClip {RM16_tv_mc}Uses:816
Symbol 818 BitmapUsed by:819
Symbol 819 GraphicUses:818Used by:822
Symbol 820 BitmapUsed by:821
Symbol 821 GraphicUses:820Used by:822
Symbol 822 MovieClip {RM16_curtain_mc}Uses:819 821
Symbol 823 BitmapUsed by:824
Symbol 824 GraphicUses:823Used by:829
Symbol 825 GraphicUsed by:826
Symbol 826 MovieClipUses:825Used by:829
Symbol 827 GraphicUsed by:828
Symbol 828 MovieClipUses:827Used by:829
Symbol 829 MovieClip {house16_mc}Uses:824 826 828
Symbol 830 BitmapUsed by:831
Symbol 831 GraphicUses:830Used by:832
Symbol 832 MovieClipUses:831Used by:833
Symbol 833 MovieClip {room15_knife_mc}Uses:832
Symbol 834 BitmapUsed by:835
Symbol 835 GraphicUses:834Used by:848
Symbol 836 BitmapUsed by:837
Symbol 837 GraphicUses:836Used by:838
Symbol 838 MovieClipUses:837Used by:848
Symbol 839 BitmapUsed by:840
Symbol 840 GraphicUses:839Used by:841
Symbol 841 MovieClipUses:840Used by:848
Symbol 842 BitmapUsed by:843
Symbol 843 GraphicUses:842Used by:848
Symbol 844 BitmapUsed by:845
Symbol 845 GraphicUses:844Used by:848
Symbol 846 BitmapUsed by:847
Symbol 847 GraphicUses:846Used by:848
Symbol 848 MovieClip {alex_sitting_mc}Uses:835 838 841 843 845 847
Symbol 849 BitmapUsed by:850
Symbol 850 GraphicUses:849Used by:851
Symbol 851 MovieClip {house15_mc}Uses:850
Symbol 852 BitmapUsed by:853
Symbol 853 GraphicUses:852Used by:857
Symbol 854 BitmapUsed by:855
Symbol 855 GraphicUses:854Used by:856
Symbol 856 MovieClipUses:855Used by:857
Symbol 857 MovieClip {alex_standing_mc}Uses:853 856
Symbol 858 GraphicUses:802Used by:859
Symbol 859 MovieClip {house14_mc}Uses:858
Symbol 860 BitmapUsed by:861
Symbol 861 GraphicUses:860Used by:878 889
Symbol 862 BitmapUsed by:863
Symbol 863 GraphicUses:862Used by:864
Symbol 864 MovieClipUses:863Used by:865
Symbol 865 MovieClipUses:864Used by:878
Symbol 866 FontUsed by:867 868 869 870
Symbol 867 EditableTextUses:866Used by:878
Symbol 868 EditableTextUses:866Used by:878
Symbol 869 EditableTextUses:866Used by:878
Symbol 870 EditableTextUses:866Used by:878
Symbol 871 FontUsed by:872 873
Symbol 872 TextUses:871Used by:878
Symbol 873 TextUses:871Used by:878
Symbol 874 MovieClipUses:656Used by:878
Symbol 875 GraphicUsed by:876
Symbol 876 MovieClipUses:875Used by:878
Symbol 877 MovieClipUses:774Used by:878
Symbol 878 MovieClip {house13_mc}Uses:861 865 867 868 869 870 872 873 874 876 877
Symbol 879 BitmapUsed by:880
Symbol 880 GraphicUses:879Used by:881
Symbol 881 MovieClip {RM12_door_mc}Uses:880
Symbol 882 BitmapUsed by:883
Symbol 883 GraphicUses:882Used by:890
Symbol 884 GraphicUsed by:885
Symbol 885 MovieClipUses:884Used by:886
Symbol 886 MovieClipUses:885Used by:890
Symbol 887 GraphicUsed by:888
Symbol 888 MovieClipUses:887Used by:890
Symbol 889 MovieClipUses:861Used by:890
Symbol 890 MovieClip {house12_mc}Uses:883 886 888 889
Symbol 891 BitmapUsed by:892
Symbol 892 GraphicUses:891Used by:893
Symbol 893 MovieClip {RM11_sink2_mc}Uses:892
Symbol 894 BitmapUsed by:895
Symbol 895 GraphicUses:894Used by:896
Symbol 896 MovieClip {RM11_sink1_mc}Uses:895
Symbol 897 BitmapUsed by:898
Symbol 898 GraphicUses:897Used by:899
Symbol 899 MovieClipUses:898Used by:900
Symbol 900 MovieClip {RM11_gomi_mc}Uses:797 899 796
Symbol 901 BitmapUsed by:902
Symbol 902 GraphicUses:901Used by:903
Symbol 903 MovieClip {house11_mc}Uses:902
Symbol 904 BitmapUsed by:905
Symbol 905 GraphicUses:904Used by:906
Symbol 906 MovieClip {negativesB_mc}Uses:905Used by:916 922
Symbol 907 GraphicUsed by:910
Symbol 908 FontUsed by:909 1064
Symbol 909 TextUses:908Used by:910 914 915
Symbol 910 MovieClipUses:907 909Used by:915
Symbol 911 GraphicUsed by:914 915
Symbol 912 FontUsed by:913
Symbol 913 TextUses:912Used by:914 915
Symbol 914 MovieClipUses:911 913 909Used by:915
Symbol 915 ButtonUses:910 914 911 913 909Used by:916 998 1081 1100
Symbol 916 MovieClip {negatives_mc}Uses:906 915
Symbol 917 BitmapUsed by:918
Symbol 918 GraphicUses:917Used by:919
Symbol 919 MovieClip {house10_mc}Uses:918
Symbol 920 MovieClipUses:588Used by:922
Symbol 921 GraphicUsed by:922
Symbol 922 MovieClipUses:906 920 921Used by:923
Symbol 923 MovieClipUses:922Used by:924
Symbol 924 MovieClip {rm10_clue_mc}Uses:923
Symbol 925 BitmapUsed by:926
Symbol 926 GraphicUses:925Used by:927
Symbol 927 MovieClip {RM9_cupboard_mc}Uses:926
Symbol 928 BitmapUsed by:929
Symbol 929 GraphicUses:928Used by:930
Symbol 930 MovieClip {house9_mc}Uses:929
Symbol 931 BitmapUsed by:932
Symbol 932 GraphicUses:931Used by:933 934
Symbol 933 MovieClipUses:932Used by:934
Symbol 934 MovieClip {RM8_wrench_mc}Uses:933 932
Symbol 935 BitmapUsed by:936
Symbol 936 GraphicUses:935Used by:937
Symbol 937 MovieClip {house8_mc}Uses:936
Symbol 938 BitmapUsed by:939
Symbol 939 GraphicUses:938Used by:940
Symbol 940 MovieClipUses:939Used by:941
Symbol 941 MovieClip {RM7_ghost_mc}Uses:940
Symbol 942 BitmapUsed by:943
Symbol 943 GraphicUses:942Used by:944
Symbol 944 MovieClip {house7_mc}Uses:943
Symbol 945 BitmapUsed by:946
Symbol 946 GraphicUses:945Used by:949
Symbol 947 FontUsed by:948 1013 1015
Symbol 948 TextUses:947Used by:949
Symbol 949 MovieClip {house5_mc}Uses:946 948
Symbol 950 BitmapUsed by:951
Symbol 951 GraphicUses:950Used by:952
Symbol 952 MovieClip {house4_mc}Uses:951
Symbol 953 BitmapUsed by:954
Symbol 954 GraphicUses:953Used by:955
Symbol 955 MovieClip {RM4_note_mc}Uses:954
Symbol 956 BitmapUsed by:957
Symbol 957 GraphicUses:956Used by:958
Symbol 958 MovieClip {rm3_secretdoor_mc}Uses:957
Symbol 959 BitmapUsed by:960
Symbol 960 GraphicUses:959Used by:961
Symbol 961 MovieClip {RM2_candle_mc}Uses:960
Symbol 962 BitmapUsed by:963
Symbol 963 GraphicUses:962Used by:964
Symbol 964 MovieClip {house2_mc}Uses:963
Symbol 965 BitmapUsed by:966
Symbol 966 GraphicUses:965Used by:993
Symbol 967 BitmapUsed by:968
Symbol 968 GraphicUses:967Used by:991
Symbol 969 BitmapUsed by:970
Symbol 970 GraphicUses:969Used by:991
Symbol 971 BitmapUsed by:972
Symbol 972 GraphicUses:971Used by:991
Symbol 973 BitmapUsed by:974
Symbol 974 GraphicUses:973Used by:991
Symbol 975 BitmapUsed by:976
Symbol 976 GraphicUses:975Used by:991
Symbol 977 BitmapUsed by:978
Symbol 978 GraphicUses:977Used by:991
Symbol 979 BitmapUsed by:980
Symbol 980 GraphicUses:979Used by:991
Symbol 981 BitmapUsed by:982
Symbol 982 GraphicUses:981Used by:991
Symbol 983 BitmapUsed by:984
Symbol 984 GraphicUses:983Used by:991
Symbol 985 BitmapUsed by:986
Symbol 986 GraphicUses:985Used by:991
Symbol 987 BitmapUsed by:988
Symbol 988 GraphicUses:987Used by:991
Symbol 989 BitmapUsed by:990
Symbol 990 GraphicUses:989Used by:991
Symbol 991 MovieClipUses:968 970 972 974 976 978 980 982 984 986 988 990Used by:992
Symbol 992 MovieClip {insanityGAMESHED_fla.mushies_84}Uses:991Used by:993
Symbol 993 MovieClip {house1_mc}Uses:966 992
Symbol 994 BitmapUsed by:995
Symbol 995 GraphicUses:994Used by:998
Symbol 996 FontUsed by:997
Symbol 997 EditableTextUses:996Used by:998
Symbol 998 MovieClip {newspaper_mc}Uses:995 997 915
Symbol 999 BitmapUsed by:1000
Symbol 1000 GraphicUses:999Used by:1003
Symbol 1001 FontUsed by:1002
Symbol 1002 TextUses:1001Used by:1003
Symbol 1003 MovieClipUses:1000 1002Used by:1004
Symbol 1004 MovieClip {house0_mc}Uses:1003
Symbol 1005 BitmapUsed by:1006
Symbol 1006 GraphicUses:1005Used by:1007
Symbol 1007 MovieClip {house3_mc}Uses:1006Used by:1031
Symbol 1008 BitmapUsed by:1009
Symbol 1009 GraphicUses:1008Used by:1010
Symbol 1010 MovieClipUses:1009Used by:1031
Symbol 1011 FontUsed by:1012 1014
Symbol 1012 TextUses:1011Used by:1031
Symbol 1013 TextUses:947Used by:1031
Symbol 1014 TextUses:1011Used by:1031
Symbol 1015 TextUses:947Used by:1031
Symbol 1016 BitmapUsed by:1017
Symbol 1017 GraphicUses:1016Used by:1018
Symbol 1018 MovieClipUses:1017Used by:1031
Symbol 1019 GraphicUsed by:1020
Symbol 1020 MovieClipUses:1019Used by:1031
Symbol 1021 FontUsed by:1022 1024 1189
Symbol 1022 TextUses:1021Used by:1023 1187
Symbol 1023 MovieClipUses:1022Used by:1031
Symbol 1024 TextUses:1021Used by:1025 1188
Symbol 1025 MovieClipUses:1024Used by:1031
Symbol 1026 TextUses:121Used by:1027
Symbol 1027 MovieClipUses:1026Used by:1031
Symbol 1028 GraphicUsed by:1030
Symbol 1029 MovieClipUses:588Used by:1030
Symbol 1030 MovieClipUses:1028 1029Used by:1031
Symbol 1031 MovieClip {house6_mc}Uses:1010 1012 1013 1014 1015 1007 1018 1020 1023 1025 1027 1030
Symbol 1032 BitmapUsed by:1033
Symbol 1033 GraphicUses:1032Used by:1034
Symbol 1034 MovieClip {wrenchICON_mc}Uses:1033
Symbol 1035 BitmapUsed by:1036
Symbol 1036 GraphicUses:1035Used by:1037
Symbol 1037 MovieClip {torchICON_mc}Uses:1036
Symbol 1038 BitmapUsed by:1039
Symbol 1039 GraphicUses:1038Used by:1040
Symbol 1040 MovieClip {roomkeyICON_mc}Uses:1039
Symbol 1041 BitmapUsed by:1042
Symbol 1042 GraphicUses:1041Used by:1043
Symbol 1043 MovieClip {rifleICON_mc}Uses:1042
Symbol 1044 BitmapUsed by:1045
Symbol 1045 GraphicUses:1044Used by:1046
Symbol 1046 MovieClip {pkeyICON_mc}Uses:1045
Symbol 1047 BitmapUsed by:1048
Symbol 1048 GraphicUses:1047Used by:1049
Symbol 1049 MovieClip {knifeICON_mc}Uses:1048
Symbol 1050 BitmapUsed by:1051
Symbol 1051 GraphicUses:1050Used by:1052
Symbol 1052 MovieClip {key1ICON_mc}Uses:1051
Symbol 1053 BitmapUsed by:1054
Symbol 1054 GraphicUses:1053Used by:1055
Symbol 1055 MovieClip {handwheelICON_mc}Uses:1054
Symbol 1056 BitmapUsed by:1057
Symbol 1057 GraphicUses:1056Used by:1058
Symbol 1058 MovieClip {candleICON_mc}Uses:1057
Symbol 1059 BitmapUsed by:1060
Symbol 1060 GraphicUses:1059Used by:1061
Symbol 1061 MovieClip {acidICON_mc}Uses:1060
Symbol 1062 GraphicUsed by:1063
Symbol 1063 MovieClipUses:1062Used by:1065
Symbol 1064 TextUses:908Used by:1065
Symbol 1065 MovieClip {d_click_mc}Uses:1063 1064
Symbol 1066 GraphicUsed by:1067
Symbol 1067 MovieClipUses:1066Used by:1081
Symbol 1068 BitmapUsed by:1069
Symbol 1069 GraphicUses:1068Used by:1081
Symbol 1070 FontUsed by:1071
Symbol 1071 EditableTextUses:1070Used by:1081
Symbol 1072 GraphicUsed by:1081
Symbol 1073 GraphicUsed by:1074 1075
Symbol 1074 MovieClipUses:1073Used by:1075
Symbol 1075 ButtonUses:1073 1074Used by:1081
Symbol 1076 GraphicUsed by:1077
Symbol 1077 MovieClipUses:1076Used by:1079
Symbol 1078 GraphicUsed by:1079
Symbol 1079 ButtonUses:1077 1078Used by:1081
Symbol 1080 GraphicUsed by:1081
Symbol 1081 MovieClip {text_frame_mc}Uses:1067 1069 1071 1072 1075 1079 1080 915
Symbol 1082 FontUsed by:1083
Symbol 1083 TextUses:1082Used by:1086
Symbol 1084 GraphicUsed by:1085 1086
Symbol 1085 MovieClipUses:1084Used by:1086
Symbol 1086 ButtonUses:1083 1085 1084Used by:1087
Symbol 1087 MovieClip {retry_mc}Uses:1086
Symbol 1088 GraphicUsed by:1089
Symbol 1089 MovieClip {Particle}Uses:1088
Symbol 1090 GraphicUsed by:1091
Symbol 1091 MovieClip {crosshair_mc}Uses:1090
Symbol 1092 BitmapUsed by:1093
Symbol 1093 GraphicUses:1092Used by:1094
Symbol 1094 MovieClipUses:1093Used by:1095 1143
Symbol 1095 MovieClip {blood_mc}Uses:1094
Symbol 1096 GraphicUsed by:1099
Symbol 1097 GraphicUsed by:1098
Symbol 1098 MovieClipUses:1097Used by:1099
Symbol 1099 MovieClipUses:1096 1098Used by:1100
Symbol 1100 MovieClip {border_text_mc}Uses:1099 915
Symbol 1101 MovieClipUses:429Used by:1107
Symbol 1102 GraphicUsed by:1103
Symbol 1103 MovieClipUses:1102Used by:1107
Symbol 1104 GraphicUsed by:1107
Symbol 1105 GraphicUsed by:1106
Symbol 1106 MovieClipUses:1105Used by:1107
Symbol 1107 MovieClip {flashlightBABY_mc}Uses:1101 1103 1104 1106 565
Symbol 1108 BitmapUsed by:1109
Symbol 1109 GraphicUses:1108Used by:1110
Symbol 1110 MovieClip {chimera_X_mc}Uses:1109Used by:1146
Symbol 1111 BitmapUsed by:1112
Symbol 1112 GraphicUses:1111Used by:1142
Symbol 1113 BitmapUsed by:1114
Symbol 1114 GraphicUses:1113Used by:1142
Symbol 1115 SoundUsed by:1142 1146
Symbol 1116 BitmapUsed by:1117
Symbol 1117 GraphicUses:1116Used by:1142
Symbol 1118 BitmapUsed by:1119
Symbol 1119 GraphicUses:1118Used by:1142
Symbol 1120 BitmapUsed by:1121
Symbol 1121 GraphicUses:1120Used by:1142
Symbol 1122 BitmapUsed by:1123
Symbol 1123 GraphicUses:1122Used by:1142
Symbol 1124 BitmapUsed by:1125
Symbol 1125 GraphicUses:1124Used by:1142
Symbol 1126 BitmapUsed by:1127
Symbol 1127 GraphicUses:1126Used by:1142
Symbol 1128 BitmapUsed by:1129
Symbol 1129 GraphicUses:1128Used by:1142
Symbol 1130 BitmapUsed by:1131
Symbol 1131 GraphicUses:1130Used by:1142
Symbol 1132 BitmapUsed by:1133
Symbol 1133 GraphicUses:1132Used by:1142
Symbol 1134 BitmapUsed by:1135
Symbol 1135 GraphicUses:1134Used by:1142
Symbol 1136 BitmapUsed by:1137
Symbol 1137 GraphicUses:1136Used by:1142
Symbol 1138 BitmapUsed by:1139
Symbol 1139 GraphicUses:1138Used by:1142
Symbol 1140 BitmapUsed by:1141
Symbol 1141 GraphicUses:1140Used by:1142
Symbol 1142 MovieClip {chimera_mc}Uses:1112 565 1114 1115 1117 96 1119 1121 1123 1125 1127 1129 1131 1133 1135 1137 1139 1141Used by:1146
Symbol 1143 MovieClip {bloodsplat_mc}Uses:1094Used by:1146
Symbol 1144 GraphicUsed by:1145
Symbol 1145 MovieClip {BACK_mc}Uses:1144Used by:1146
Symbol 1146 MovieClip {insanityGAMESHED_fla.assetHOLDER_10}Uses:1145 1143 1142 1110 1115Used by:Timeline
Symbol 1147 SoundUsed by:1160
Symbol 1148 VideoUsed by:1160
Symbol 1149 VideoUsed by:1160
Symbol 1150 FontUsed by:1151 1152 1153
Symbol 1151 TextUses:1150Used by:1154 1159
Symbol 1152 TextUses:1150Used by:1154 1159
Symbol 1153 TextUses:1150Used by:1154 1159
Symbol 1154 MovieClipUses:1151 1152 1153Used by:1159 1160
Symbol 1155 SoundUsed by:1160
Symbol 1156 FontUsed by:1157
Symbol 1157 TextUses:1156Used by:1158
Symbol 1158 MovieClipUses:1157Used by:1160
Symbol 1159 ButtonUses:1154 1151 1152 1153Used by:1160
Symbol 1160 MovieClip {insanityGAMESHED_fla.gameSHED_17}Uses:1147 1148 1149 1154 1155 1158 1159Used by:Timeline
Symbol 1161 BitmapUsed by:1162
Symbol 1162 GraphicUses:1161Used by:1167
Symbol 1163 BitmapUsed by:1164
Symbol 1164 GraphicUses:1163Used by:1167
Symbol 1165 BitmapUsed by:1166
Symbol 1166 GraphicUses:1165Used by:1167
Symbol 1167 MovieClipUses:1162 1164 1166Used by:1191
Symbol 1168 BitmapUsed by:1169
Symbol 1169 GraphicUses:1168Used by:1170
Symbol 1170 MovieClipUses:1169Used by:1191
Symbol 1171 TextUses:221Used by:1172
Symbol 1172 ButtonUses:1171Used by:1191
Symbol 1173 TextUses:221Used by:1174
Symbol 1174 ButtonUses:1173Used by:1191
Symbol 1175 TextUses:181Used by:1181 1183
Symbol 1176 GraphicUsed by:1177
Symbol 1177 MovieClipUses:1176Used by:1181
Symbol 1178 TextUses:181Used by:1181
Symbol 1179 TextUses:181Used by:1181
Symbol 1180 TextUses:181Used by:1181
Symbol 1181 MovieClipUses:1175 1177 1178 1179 1180Used by:1183
Symbol 1182 GraphicUsed by:1183
Symbol 1183 ButtonUses:1181 1175 1182Used by:1191
Symbol 1184 TextUses:181Used by:1191
Symbol 1185 TextUses:221Used by:1186
Symbol 1186 ButtonUses:1185Used by:1191
Symbol 1187 MovieClipUses:1022Used by:1191
Symbol 1188 MovieClipUses:1024Used by:1191
Symbol 1189 TextUses:1021Used by:1190
Symbol 1190 MovieClipUses:1189Used by:1191
Symbol 1191 MovieClip {insanityGAMESHED_fla.mainMenuMC_21}Uses:1167 1170 223 1172 1174 1183 1184 1186 220 1187 1188 1190Used by:Timeline
Symbol 1192 SoundUsed by:Timeline

Instance Names

"pButton"Frame 1Symbol 7 Button
"adBox"Frame 1Symbol 9 MovieClip
"rotatingOrb"Frame 1Symbol 15 MovieClip
"preloaderMC"Frame 1Symbol 33 MovieClip
"adBox"Symbol 227 MovieClip {house46_mc} Frame 4791Symbol 9 MovieClip
"sponsorButton"Symbol 227 MovieClip {house46_mc} Frame 4791Symbol 220 Button
"ekButton"Symbol 227 MovieClip {house46_mc} Frame 4791Symbol 223 Button
"CH"Symbol 315 MovieClip {house40_mc} Frame 1Symbol 294 MovieClip
"PR"Symbol 315 MovieClip {house40_mc} Frame 1Symbol 296 MovieClip
"SP"Symbol 315 MovieClip {house40_mc} Frame 1Symbol 298 MovieClip
"EL"Symbol 315 MovieClip {house40_mc} Frame 1Symbol 300 MovieClip
"SA"Symbol 315 MovieClip {house40_mc} Frame 1Symbol 302 MovieClip
"CT"Symbol 315 MovieClip {house40_mc} Frame 1Symbol 304 MovieClip
"goback"Symbol 315 MovieClip {house40_mc} Frame 1Symbol 308 Button
"spray"Symbol 383 MovieClip {puzzle2_death_mc} Frame 1Symbol 370 MovieClip {elevator_spray_mc}
"hero"Symbol 383 MovieClip {puzzle2_death_mc} Frame 1Symbol 382 MovieClip {elevator_die_mc}
"spray2"Symbol 383 MovieClip {puzzle2_death_mc} Frame 1Symbol 370 MovieClip {elevator_spray_mc}
"meter"Symbol 389 MovieClip {timebar_mc} Frame 1Symbol 388 MovieClip
"e1"Symbol 423 MovieClip {RM37_wall_mc} Frame 1Symbol 422 MovieClip
"e2"Symbol 423 MovieClip {RM37_wall_mc} Frame 1Symbol 422 MovieClip
"e1"Symbol 423 MovieClip {RM37_wall_mc} Frame 1Symbol 422 MovieClip
"e2"Symbol 423 MovieClip {RM37_wall_mc} Frame 1Symbol 422 MovieClip
"head"Symbol 566 MovieClip {house32_mc} Frame 1Symbol 563 MovieClip {RM32_head_mc}
"hitBOX"Symbol 566 MovieClip {house32_mc} Frame 1Symbol 565 MovieClip
"gcase"Symbol 616 MovieClip {rm27glasscase_mc} Frame 1Symbol 615 MovieClip
"hitBOX"Symbol 655 MovieClip {rm26_specter_mc} Frame 1Symbol 565 MovieClip
"gmask"Symbol 663 MovieClip {house26_mc} Frame 1Symbol 662 MovieClip
"light"Symbol 702 MovieClip {house23_mc} Frame 1Symbol 701 MovieClip
"p1"Symbol 715 MovieClip {puzzle_box_mc} Frame 1Symbol 714 MovieClip
"p2"Symbol 715 MovieClip {puzzle_box_mc} Frame 1Symbol 714 MovieClip
"p3"Symbol 715 MovieClip {puzzle_box_mc} Frame 1Symbol 714 MovieClip
"p4"Symbol 715 MovieClip {puzzle_box_mc} Frame 1Symbol 714 MovieClip
"p5"Symbol 715 MovieClip {puzzle_box_mc} Frame 1Symbol 714 MovieClip
"p6"Symbol 715 MovieClip {puzzle_box_mc} Frame 1Symbol 714 MovieClip
"p7"Symbol 715 MovieClip {puzzle_box_mc} Frame 1Symbol 714 MovieClip
"p8"Symbol 715 MovieClip {puzzle_box_mc} Frame 1Symbol 714 MovieClip
"safe"Symbol 776 MovieClip {house20_mc} Frame 1Symbol 775 MovieClip
"flap"Symbol 793 MovieClip {house19_mc} Frame 1Symbol 792 MovieClip
"flicker"Symbol 829 MovieClip {house16_mc} Frame 1Symbol 826 MovieClip
"bug"Symbol 848 MovieClip {alex_sitting_mc} Frame 1Symbol 838 MovieClip
"face"Symbol 848 MovieClip {alex_sitting_mc} Frame 1Symbol 841 MovieClip
"face"Symbol 857 MovieClip {alex_standing_mc} Frame 1Symbol 856 MovieClip
"b1"Symbol 878 MovieClip {house13_mc} Frame 1Symbol 865 MovieClip
"b2"Symbol 878 MovieClip {house13_mc} Frame 1Symbol 865 MovieClip
"b3"Symbol 878 MovieClip {house13_mc} Frame 1Symbol 865 MovieClip
"b4"Symbol 878 MovieClip {house13_mc} Frame 1Symbol 865 MovieClip
"text1"Symbol 878 MovieClip {house13_mc} Frame 1Symbol 867 EditableText
"text2"Symbol 878 MovieClip {house13_mc} Frame 1Symbol 868 EditableText
"text3"Symbol 878 MovieClip {house13_mc} Frame 1Symbol 869 EditableText
"text4"Symbol 878 MovieClip {house13_mc} Frame 1Symbol 870 EditableText
"buttonOFF"Symbol 878 MovieClip {house13_mc} Frame 1Symbol 874 MovieClip
"buttonON"Symbol 878 MovieClip {house13_mc} Frame 1Symbol 874 MovieClip
"bON"Symbol 878 MovieClip {house13_mc} Frame 1Symbol 877 MovieClip
"bOFF"Symbol 878 MovieClip {house13_mc} Frame 1Symbol 877 MovieClip
"exit"Symbol 916 MovieClip {negatives_mc} Frame 1Symbol 915 Button
"hikari"Symbol 934 MovieClip {RM8_wrench_mc} Frame 1Symbol 933 MovieClip
"mush"Symbol 993 MovieClip {house1_mc} Frame 1Symbol 992 MovieClip {insanityGAMESHED_fla.mushies_84}
"textFILL"Symbol 998 MovieClip {newspaper_mc} Frame 1Symbol 997 EditableText
"exit"Symbol 998 MovieClip {newspaper_mc} Frame 1Symbol 915 Button
"back"Symbol 1081 MovieClip {text_frame_mc} Frame 1Symbol 1067 MovieClip
"text_field"Symbol 1081 MovieClip {text_frame_mc} Frame 1Symbol 1071 EditableText
"UPs"Symbol 1081 MovieClip {text_frame_mc} Frame 1Symbol 1075 Button
"DOWNs"Symbol 1081 MovieClip {text_frame_mc} Frame 1Symbol 1079 Button
"exitT"Symbol 1081 MovieClip {text_frame_mc} Frame 1Symbol 915 Button
"exit"Symbol 1100 MovieClip {border_text_mc} Frame 1Symbol 915 Button
"mask_mc"Symbol 1107 MovieClip {flashlightBABY_mc} Frame 1Symbol 1101 MovieClip
"flashlight_mc"Symbol 1107 MovieClip {flashlightBABY_mc} Frame 1Symbol 1103 MovieClip
"hitBOX"Symbol 1107 MovieClip {flashlightBABY_mc} Frame 1Symbol 565 MovieClip
"hitBOX"Symbol 1142 MovieClip {chimera_mc} Frame 1Symbol 565 MovieClip
"b"Symbol 1191 MovieClip {insanityGAMESHED_fla.mainMenuMC_21} Frame 1Symbol 1167 MovieClip
"pimp"Symbol 1191 MovieClip {insanityGAMESHED_fla.mainMenuMC_21} Frame 1Symbol 1170 MovieClip
"urlButton2"Symbol 1191 MovieClip {insanityGAMESHED_fla.mainMenuMC_21} Frame 1Symbol 223 Button
"mihaiButton"Symbol 1191 MovieClip {insanityGAMESHED_fla.mainMenuMC_21} Frame 1Symbol 1172 Button
"vinzerButton"Symbol 1191 MovieClip {insanityGAMESHED_fla.mainMenuMC_21} Frame 1Symbol 1174 Button
"startButton"Symbol 1191 MovieClip {insanityGAMESHED_fla.mainMenuMC_21} Frame 1Symbol 1183 Button
"walkButton"Symbol 1191 MovieClip {insanityGAMESHED_fla.mainMenuMC_21} Frame 1Symbol 1186 Button
"sponsorButton"Symbol 1191 MovieClip {insanityGAMESHED_fla.mainMenuMC_21} Frame 1Symbol 220 Button

Special Tags

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

Labels

"beginGame"Frame 5
"start"Symbol 1100 MovieClip {border_text_mc} Frame 15
"run"Symbol 1142 MovieClip {chimera_mc} Frame 57
"here"Symbol 1160 MovieClip {insanityGAMESHED_fla.gameSHED_17} Frame 116
"there"Symbol 1160 MovieClip {insanityGAMESHED_fla.gameSHED_17} Frame 206




http://swfchan.com/19/92017/info.shtml
Created: 27/3 -2019 15:21:08 Last modified: 27/3 -2019 15:21:08 Server time: 22/12 -2024 10:47:53