Frame 1
_global.Quality = "Medium";
_global.Effects = "High";
_global.Sounds = "On";
Frame 2
if (loadedBytes < 25) {
_root.gotoAndPlay("preloadLoop");
}
Frame 3
if (loadedBytes < totalBytes) {
_root.gotoAndPlay("preloadLoop2");
} else {
loadedKB = totalKB;
_root.gotoAndPlay("menuLoop");
}
Instance of Symbol 73 MovieClip in Frame 5
on (release) {
this.play();
_parent.gotoAndPlay("gameBegin");
}
Frame 7
gotoAndPlay ("menuLoop");
Frame 34
gotoAndPlay (35);
Instance of Symbol 78 MovieClip in Frame 236
on (release) {
_parent.gotoAndPlay("skip");
}
Frame 1430
gotoAndPlay (1431);
Frame 1431
_root.puzzleStart = false;
Instance of Symbol 92 MovieClip in Frame 1431
on (release) {
getURL ("http://www.flash-gamerz.com", "_blank");
}
Frame 1433
if (_root.puzzleStart) {
gotoAndPlay (1434);
} else {
gotoAndPlay ("mainLoop");
}
Frame 1434
if (_root.NextSceneGo) {
gotoAndStop (1436);
_root.NextSceneGo = false;
}
if (_root.PrevSceneGo) {
gotoAndStop (1431);
_root.PrevSceneGo = false;
}
Frame 1435
if (_root.puzzleComplete) {
gotoAndPlay (1434);
} else {
gotoAndPlay ("loop");
}
Instance of Symbol 92 MovieClip in Frame 1435
on (release) {
getURL ("http://www.flash-gamerz.com", "_blank");
}
Instance of Symbol 92 MovieClip in Frame 1436
on (release) {
getURL ("http://www.flash-gamerz.com", "_blank");
}
Frame 1437
stop();
Symbol 3 MovieClip [ip_rope] Frame 1
stop();
Symbol 6 MovieClip [ip_torch] Frame 1
stop();
Symbol 9 MovieClip [puzzleRadiateHelp] Frame 53
_root.puzzleMASTER.movieAttached = false;
removeMovieClip(this);
Symbol 12 MovieClip [ip_photos] Frame 1
stop();
Symbol 15 MovieClip [ip_money] Frame 1
stop();
Symbol 18 MovieClip [ip_cigerettes] Frame 1
stop();
Symbol 24 MovieClip [ip_litcigerette] Frame 1
stop();
Symbol 27 MovieClip [ip_key] Frame 1
stop();
Symbol 30 MovieClip [ip_lighter] Frame 1
stop();
Symbol 43 MovieClip [finishCallClip] Frame 40
prevFrame();
Instance of Symbol 39 MovieClip [finishedPiece] in Symbol 43 MovieClip [finishCallClip] Frame 40
on (release) {
_root.puzzleCompleted = true;
}
Symbol 49 MovieClip Frame 110
this.gotoAndPlay("playMoreLoop");
Instance of Symbol 49 MovieClip in Symbol 54 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (this._currentframe < _totalframes) {
this.nextFrame();
}
} else if (this._currentframe > 1) {
this.prevFrame();
}
}
on (release) {
getURL ("http://www.flash-gamerz.com/", "_blank");
}
Instance of Symbol 52 MovieClip in Symbol 54 MovieClip Frame 1
on (release) {
getURL ("http://www.flash-gamerz.com/", "_blank");
}
Symbol 58 MovieClip Frame 1
_root.loadedBytes = _root.getBytesLoaded();
_root.totalBytes = _root.getBytesTotal();
this.percentageOutput = int((_root.loadedBytes / _root.totalBytes) * 100);
_root.loadedKB = int(_root.loadedBytes / 1024);
_root.totalKB = int(_root.totalBytes / 1024);
this.loaderBar._xscale = (_root.loadedKB / _root.totalKB) * 100;
Symbol 58 MovieClip Frame 2
if (_root.loadedBytes < _root.totalBytes) {
this.gotoAndPlay("loadLoop");
} else {
_root.loadedKB = _root.totalKB;
this.gotoAndStop("loadStop");
_root.gotoAndPlay("menuLoop");
}
Symbol 58 MovieClip Frame 3
this.stop();
Symbol 66 MovieClip Frame 43
this.stop();
Symbol 68 MovieClip Frame 50
this.stop();
Symbol 73 MovieClip Frame 24
this.stop();
Symbol 73 MovieClip Frame 58
this.gotoAndStop("startStopped");
Instance of Symbol 52 MovieClip in Symbol 74 MovieClip Frame 1
on (release) {
getURL ("http://www.flash-gamerz.com", "_blank");
}
Symbol 109 MovieClip Frame 1
_root.MASTER.textDisplay("\"Father\": GO TO YOUR ROOM YOU BASTARD!");
Symbol 109 MovieClip Frame 75
_root.MASTER.textDisplay("Go to hell!");
Symbol 109 MovieClip Frame 131
_root.MASTER.textDisplay("You're not my real family. So what makes you think I care?!");
Symbol 109 MovieClip Frame 205
_root.MASTER.textDisplay("\"Father:\" I SAID GO TO YOUR ROOM! I'm sick of you causing trouble in this house.");
Symbol 109 MovieClip Frame 285
_root.MASTER.textDisplay("FINE! Don't be surprised if you find me gone in the morning");
Symbol 109 MovieClip Frame 360
_root.MASTER.textDisplay("\"Father\": HA!");
Symbol 109 MovieClip Frame 497
_root.MASTER.textDisplay("");
_root.MASTER.doorIntro = true;
Symbol 113 MovieClip Frame 35
_root.MASTER.textDisplay("That's it... I'm leaving.");
Symbol 113 MovieClip Frame 100
_root.MASTER.textDisplay("I just have to get all my stuff and I'm out of here.");
Symbol 113 MovieClip Frame 180
_root.MASTER.textDisplay("");
_root.MASTER.bedroomTalk = true;
Symbol 116 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 1
stop();
Symbol 122 MovieClip Frame 1
stop();
Symbol 125 MovieClip Frame 1
stop();
Symbol 131 MovieClip Frame 2
if (!_root.MASTER.windowOpened) {
this.gotoAndPlay("closed");
} else {
this.gotoAndPlay("opening");
}
Symbol 131 MovieClip Frame 16
if (!_root.MASTER.windowOpened) {
this.play();
} else {
this.gotoAndPlay("opened");
}
Symbol 131 MovieClip Frame 28
this.gotoAndPlay("closed");
Symbol 132 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 1
stop();
Symbol 145 MovieClip Frame 1
if (_root.MASTER.ropeAttached) {
this.gotoAndStop("attach");
}
Symbol 145 MovieClip Frame 2
if (!_root.MASTER.ropeAttached) {
this.gotoAndPlay("leg");
}
Symbol 145 MovieClip Frame 3
this.stop();
Symbol 152 MovieClip Frame 1
this.stop();
Symbol 162 MovieClip Frame 1
stop();
Instance of Symbol 156 MovieClip in Symbol 166 MovieClip Frame 1
on (release) {
_root.MASTER.mouseCommand = "use";
this.play();
}
Instance of Symbol 162 MovieClip in Symbol 166 MovieClip Frame 1
on (release) {
_root.MASTER.mouseCommand = "look";
this.play();
}
Instance of Symbol 164 MovieClip in Symbol 166 MovieClip Frame 1
on (release) {
if (!_root.MASTER.pressFirstTime) {
_root.MASTER.textDisplay("Click on the icons to set your mouse cursor to either 'Look' at or 'Grab' an object in the scene.");
_root.MASTER.pressFirstTime = true;
}
_parent.buttonRadiate = true;
if (_parent._parent.barState) {
_parent._parent.barState = false;
} else {
_parent._parent.barState = true;
}
}
Symbol 166 MovieClip Frame 2
if (this.buttonRadiate == undefined) {
this.buttonRadiate = false;
}
if (this.buttonRadiate) {
this.gotoAndPlay("radiate");
} else {
this.gotoAndPlay("loop");
}
Instance of Symbol 164 MovieClip in Symbol 166 MovieClip Frame 3
on (release) {
_parent.buttonRadiate = true;
if (_parent._parent.barState) {
_parent._parent.barState = false;
} else {
_parent._parent.barState = true;
}
}
Instance of Symbol 164 MovieClip in Symbol 166 MovieClip Frame 3
on (release) {
if (_parent._parent.barState) {
_parent._parent.barState = false;
} else {
_parent._parent.barState = true;
}
buttonRadiate = true;
}
Instance of Symbol 164 MovieClip in Symbol 166 MovieClip Frame 7
on (release) {
if (_parent._parent.barState) {
_parent._parent.barState = false;
} else {
_parent._parent.barState = true;
}
buttonRadiate = true;
}
Instance of Symbol 164 MovieClip in Symbol 166 MovieClip Frame 11
on (release) {
if (_parent._parent.barState) {
_parent._parent.barState = false;
} else {
_parent._parent.barState = true;
}
buttonRadiate = true;
}
Symbol 166 MovieClip Frame 23
buttonRadiate = false;
Symbol 167 MovieClip Frame 2
if (this.barState == undefined) {
this.barState = false;
}
if (!this.barState) {
this.gotoAndPlay("closed");
} else {
this.gotoAndPlay("opening");
}
Symbol 167 MovieClip Frame 26
if (!this.barState) {
this.gotoAndPlay("closing");
} else {
this.gotoAndPlay("opened");
}
Symbol 167 MovieClip Frame 49
this.gotoAndPlay("closed");
Instance of Symbol 152 MovieClip in Symbol 168 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.MASTER.inventory_enable) {
this._visible = true;
} else {
this._visible = false;
}
}
on (release) {
this.play();
_root.MASTER.systemInventory._visible = true;
_root.MASTER.inventoryHandler.inventoryDisplay();
}
Symbol 170 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 1
Instance of Symbol 170 MovieClip "slot17" in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) {
attachMovie(_parent.ISpic17, "slot17", this.getDepth());
this.slotNum = 16;
}
on (release) {
_root.MASTER.eventType = "inventory";
_root.MASTER.inventoryRetrieve(this.slotNum);
_root.MASTER.clearingSlot = this.slotNum;
_root.MASTER.mouseCommander();
}
Instance of Symbol 170 MovieClip "slot24" in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) {
attachMovie(_parent.ISpic24, "slot24", this.getDepth());
this.slotNum = 23;
}
on (release) {
_root.MASTER.eventType = "inventory";
_root.MASTER.inventoryRetrieve(this.slotNum);
_root.MASTER.clearingSlot = this.slotNum;
_root.MASTER.mouseCommander();
}
Instance of Symbol 170 MovieClip "slot23" in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) {
attachMovie(_parent.ISpic23, "slot23", this.getDepth());
this.slotNum = 22;
}
on (release) {
_root.MASTER.eventType = "inventory";
_root.MASTER.inventoryRetrieve(this.slotNum);
_root.MASTER.clearingSlot = this.slotNum;
_root.MASTER.mouseCommander();
}
Instance of Symbol 170 MovieClip "slot22" in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) {
attachMovie(_parent.ISpic22, "slot22", this.getDepth());
this.slotNum = 21;
}
on (release) {
_root.MASTER.eventType = "inventory";
_root.MASTER.inventoryRetrieve(this.slotNum);
_root.MASTER.clearingSlot = this.slotNum;
_root.MASTER.mouseCommander();
}
Instance of Symbol 170 MovieClip "slot21" in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) {
attachMovie(_parent.ISpic21, "slot21", this.getDepth());
this.slotNum = 20;
}
on (release) {
_root.MASTER.eventType = "inventory";
_root.MASTER.inventoryRetrieve(this.slotNum);
_root.MASTER.clearingSlot = this.slotNum;
_root.MASTER.mouseCommander();
}
Instance of Symbol 170 MovieClip "slot20" in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) {
attachMovie(_parent.ISpic20, "slot20", this.getDepth());
this.slotNum = 19;
}
on (release) {
_root.MASTER.eventType = "inventory";
_root.MASTER.inventoryRetrieve(this.slotNum);
_root.MASTER.clearingSlot = this.slotNum;
_root.MASTER.mouseCommander();
}
Instance of Symbol 170 MovieClip "slot19" in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) {
attachMovie(_parent.ISpic19, "slot19", this.getDepth());
this.slotNum = 18;
}
on (release) {
_root.MASTER.eventType = "inventory";
_root.MASTER.inventoryRetrieve(this.slotNum);
_root.MASTER.clearingSlot = this.slotNum;
_root.MASTER.mouseCommander();
}
Instance of Symbol 170 MovieClip "slot18" in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) {
attachMovie(_parent.ISpic18, "slot18", this.getDepth());
this.slotNum = 17;
}
on (release) {
_root.MASTER.eventType = "inventory";
_root.MASTER.inventoryRetrieve(this.slotNum);
_root.MASTER.clearingSlot = this.slotNum;
_root.MASTER.mouseCommander();
}
Instance of Symbol 170 MovieClip "slot16" in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) {
attachMovie(_parent.ISpic16, "slot16", this.getDepth());
this.slotNum = 15;
}
on (release) {
_root.MASTER.eventType = "inventory";
_root.MASTER.inventoryRetrieve(this.slotNum);
_root.MASTER.clearingSlot = this.slotNum;
_root.MASTER.mouseCommander();
}
Instance of Symbol 170 MovieClip "slot15" in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) {
attachMovie(_parent.ISpic15, "slot15", this.getDepth());
this.slotNum = 14;
}
on (release) {
_root.MASTER.eventType = "inventory";
_root.MASTER.inventoryRetrieve(this.slotNum);
_root.MASTER.clearingSlot = this.slotNum;
_root.MASTER.mouseCommander();
}
Instance of Symbol 170 MovieClip "slot14" in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) {
attachMovie(_parent.ISpic14, "slot14", this.getDepth());
this.slotNum = 13;
}
on (release) {
_root.MASTER.eventType = "inventory";
_root.MASTER.inventoryRetrieve(this.slotNum);
_root.MASTER.clearingSlot = this.slotNum;
_root.MASTER.mouseCommander();
}
Instance of Symbol 170 MovieClip "slot13" in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) {
attachMovie(_parent.ISpic13, "slot13", this.getDepth());
this.slotNum = 12;
}
on (release) {
_root.MASTER.eventType = "inventory";
_root.MASTER.inventoryRetrieve(this.slotNum);
_root.MASTER.clearingSlot = this.slotNum;
_root.MASTER.mouseCommander();
}
Instance of Symbol 170 MovieClip "slot12" in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) {
attachMovie(_parent.ISpic12, "slot12", this.getDepth());
this.slotNum = 11;
}
on (release) {
_root.MASTER.eventType = "inventory";
_root.MASTER.inventoryRetrieve(this.slotNum);
_root.MASTER.clearingSlot = this.slotNum;
_root.MASTER.mouseCommander();
}
Instance of Symbol 170 MovieClip "slot11" in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) {
attachMovie(_parent.ISpic11, "slot11", this.getDepth());
this.slotNum = 10;
}
on (release) {
_root.MASTER.eventType = "inventory";
_root.MASTER.inventoryRetrieve(this.slotNum);
_root.MASTER.clearingSlot = this.slotNum;
_root.MASTER.mouseCommander();
}
Instance of Symbol 170 MovieClip "slot10" in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) {
attachMovie(_parent.ISpic10, "slot10", this.getDepth());
this.slotNum = 9;
}
on (release) {
_root.MASTER.eventType = "inventory";
_root.MASTER.inventoryRetrieve(this.slotNum);
_root.MASTER.clearingSlot = this.slotNum;
_root.MASTER.mouseCommander();
}
Instance of Symbol 170 MovieClip "slot9" in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) {
attachMovie(_parent.ISpic09, "slot9", this.getDepth());
this.slotNum = 8;
}
on (release) {
_root.MASTER.eventType = "inventory";
_root.MASTER.inventoryRetrieve(this.slotNum);
_root.MASTER.clearingSlot = this.slotNum;
_root.MASTER.mouseCommander();
}
Instance of Symbol 170 MovieClip "slot8" in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) {
attachMovie(_parent.ISpic08, "slot8", this.getDepth());
this.slotNum = 7;
}
on (release) {
_root.MASTER.eventType = "inventory";
_root.MASTER.inventoryRetrieve(this.slotNum);
_root.MASTER.clearingSlot = this.slotNum;
_root.MASTER.mouseCommander();
}
Instance of Symbol 170 MovieClip "slot7" in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) {
attachMovie(_parent.ISpic07, "slot7", this.getDepth());
this.slotNum = 6;
}
on (release) {
_root.MASTER.eventType = "inventory";
_root.MASTER.inventoryRetrieve(this.slotNum);
_root.MASTER.clearingSlot = this.slotNum;
_root.MASTER.mouseCommander();
}
Instance of Symbol 170 MovieClip "slot6" in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) {
attachMovie(_parent.ISpic06, "slot6", this.getDepth());
this.slotNum = 5;
}
on (release) {
_root.MASTER.eventType = "inventory";
_root.MASTER.inventoryRetrieve(this.slotNum);
_root.MASTER.clearingSlot = this.slotNum;
_root.MASTER.mouseCommander();
}
Instance of Symbol 170 MovieClip "slot5" in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) {
attachMovie(_parent.ISpic05, "slot5", this.getDepth());
this.slotNum = 4;
}
on (release) {
_root.MASTER.eventType = "inventory";
_root.MASTER.inventoryRetrieve(this.slotNum);
_root.MASTER.clearingSlot = this.slotNum;
_root.MASTER.mouseCommander();
}
Instance of Symbol 170 MovieClip "slot4" in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) {
attachMovie(_parent.ISpic04, "slot4", this.getDepth());
this.slotNum = 3;
}
on (release) {
_root.MASTER.eventType = "inventory";
_root.MASTER.inventoryRetrieve(this.slotNum);
_root.MASTER.clearingSlot = this.slotNum;
_root.MASTER.mouseCommander();
}
Instance of Symbol 170 MovieClip "slot3" in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) {
attachMovie(_parent.ISpic03, "slot3", this.getDepth());
this.slotNum = 2;
}
on (release) {
_root.MASTER.eventType = "inventory";
_root.MASTER.inventoryRetrieve(this.slotNum);
_root.MASTER.clearingSlot = this.slotNum;
_root.MASTER.mouseCommander();
}
Instance of Symbol 170 MovieClip "slot2" in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) {
attachMovie(_parent.ISpic02, "slot2", this.getDepth());
this.slotNum = 1;
}
on (release) {
_root.MASTER.eventType = "inventory";
_root.MASTER.inventoryRetrieve(this.slotNum);
_root.MASTER.clearingSlot = this.slotNum;
_root.MASTER.mouseCommander();
}
Instance of Symbol 170 MovieClip "slot1" in Symbol 202 MovieClip Frame 1
onClipEvent (enterFrame) {
this.slotNum = 0;
attachMovie(_root.MASTER.inventorySlot[this.slotNum].itemInventoryPic, "slot1", this.getDepth());
}
on (release) {
_root.MASTER.eventType = "inventory";
_root.MASTER.inventoryRetrieve(this.slotNum);
_root.MASTER.clearingSlot = this.slotNum;
_root.MASTER.mouseCommander();
}
Instance of Symbol 199 MovieClip in Symbol 202 MovieClip Frame 1
on (release) {
_parent._visible = false;
}
Instance of Symbol 201 MovieClip in Symbol 202 MovieClip Frame 1
on (rollOver) {
}
Symbol 204 MovieClip Frame 1
if (_root.MASTER.mouseHelpPlayed) {
this.stop();
} else {
this.play();
}
Symbol 204 MovieClip Frame 80
_root.MASTER.mouseHelpPlayed = true;
this.stop();
Symbol 209 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 1
stop();
Symbol 219 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 2
if (_root.MASTER.moneyGrabed) {
this.gotoAndStop(3);
} else {
this.gotoAndPlay(1);
}
Symbol 223 MovieClip Frame 1
stop();
Symbol 226 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 1
stop();
Symbol 239 MovieClip Frame 1
stop();
Symbol 247 MovieClip Frame 1
stop();
Symbol 271 MovieClip Frame 1
stop();
Symbol 275 MovieClip Frame 1
stop();
Symbol 311 MovieClip Frame 2
if (_root.MASTER.fireStarted) {
this.play();
} else {
this.gotoAndPlay("noLit");
}
Symbol 311 MovieClip Frame 164
this.gotoAndPlay("lit");
Symbol 312 MovieClip Frame 1
stop();
Symbol 352 MovieClip Frame 18
_root.MASTER.textDisplay("I'm finally leaving...");
Symbol 352 MovieClip Frame 112
_root.MASTER.textDisplay("I don't know why I didn't leave sooner...");
Symbol 352 MovieClip Frame 205
_root.MASTER.textDisplay("I guess after everything that's been happening lately. It made a good reason.");
Symbol 352 MovieClip Frame 280
_root.MASTER.textDisplay("I should go before they realise I'm gone. Not like they'll care...");
Instance of Symbol 348 MovieClip in Symbol 352 MovieClip Frame 325
on (release) {
_root.puzzleStart = true;
}
Symbol 352 MovieClip Frame 327
this.gotoAndPlay("congrates");
Symbol 354 MovieClip Frame 1
textDisplay = function (_text) {
_root.MASTER.dialogueText = _text;
};
Instance of Symbol 96 MovieClip in Symbol 354 MovieClip Frame 1
onClipEvent (load) {
if (_root.MASTER.itemGrabed == undefined) {
_root.MASTER.itemGrabed = false;
}
if (_root.MASTER.itemGrabed) {
this._visible = false;
} else {
this._visible = true;
}
this.buttonPress = function () {
if (((_root.MASTER.mouseCommand == "use") && (_root.MASTER.itemGrab)) && (_root.MASTER.inventory_enable)) {
_root.MASTER.itemGrabed = true;
}
_root.MASTER.mouseCommander();
};
}
on (rollOver) {
_root.MASTER.eventType = "item";
_root.MASTER.item = this;
_root.MASTER.itemName = "ITEM NAME";
_root.MASTER.itemGrab = _root.MASTER.inventoryUseWith("_self");
_root.MASTER.itemTextCannot = "ITEM TEXT CANNOT";
_root.MASTER.itemTextLook = "LOOKING AT";
_root.MASTER.itemInventoryPic = "_blank";
_root.MASTER.itemReUsable = false;
}
on (press) {
this.buttonPress();
}
on (release) {
_root.MASTER.clearItem();
}
on (releaseOutside) {
_root.MASTER.clearItem();
}
on (dragOver) {
_root.MASTER.clearItem();
}
on (dragOut) {
_root.MASTER.clearItem();
}
on (rollOut) {
_root.MASTER.clearItem();
}
Instance of Symbol 98 MovieClip in Symbol 354 MovieClip Frame 1
on (rollOver) {
_root.MASTER.eventType = "portal";
_root.MASTER.portalDestination = "DESTINATION";
_root.MASTER.portalAllow = _root.MASTER.inventoryUseWith("_self");
_root.MASTER.portalTextCannot = "PORTAL TEXT CANNOT";
_root.MASTER.portalTextLook = "LOOKING AT PORTAL TEXT";
}
on (release) {
_root.MASTER.mouseCommander();
}
on (rollOut) {
_root.MASTER.clearPortal();
}
Symbol 354 MovieClip Frame 3
if (_root.MASTER.doorIntro) {
this.gotoAndPlay("BEDROOM_TALK");
} else {
this.gotoAndPlay("INTRO");
}
Instance of Symbol 116 MovieClip in Symbol 354 MovieClip Frame 4
on (release) {
_root.MASTER.eventType = "portal";
_root.MASTER.portalDestination = "MONEYBOX";
_root.MASTER.portalAllow = _root.MASTER.inventoryUseWith("_self");
_root.MASTER.portalTextCannot = "";
_root.MASTER.portalTextLook = "It's my Moneybox.";
_root.MASTER.mouseCommander();
}
on (rollOut) {
this.gotoAndStop("static");
_root.MASTER.clearPortal();
}
on (rollOver) {
this.gotoAndStop("over");
}
Instance of Symbol 119 MovieClip in Symbol 354 MovieClip Frame 4
on (release) {
_root.MASTER.eventType = "portal";
_root.MASTER.portalDestination = "JUNKBOX";
_root.MASTER.portalAllow = _root.MASTER.inventoryUseWith("_self");
_root.MASTER.portalTextCannot = "";
_root.MASTER.portalTextLook = "It's a box where I keep useless junk.";
_root.MASTER.mouseCommander();
}
on (rollOut) {
this.gotoAndStop("static");
_root.MASTER.clearPortal();
}
on (rollOver) {
this.gotoAndStop("over");
}
Instance of Symbol 122 MovieClip in Symbol 354 MovieClip Frame 4
on (release) {
_root.MASTER.eventType = "portal";
_root.MASTER.portalDestination = "WARDROBE";
_root.MASTER.portalAllow = _root.MASTER.inventoryUseWith("_self");
_root.MASTER.portalTextCannot = "";
_root.MASTER.portalTextLook = "It's my wardrobe.";
_root.MASTER.mouseCommander();
}
on (rollOver) {
this.gotoAndStop("over");
}
on (rollOut) {
this.gotoAndStop("static");
}
Instance of Symbol 125 MovieClip in Symbol 354 MovieClip Frame 4
onClipEvent (load) {
if (_root.MASTER.backpackGrabed == undefined) {
_root.MASTER.backpackGrabed = false;
}
if (_root.MASTER.backpackGrabed) {
this._visible = false;
} else {
this._visible = true;
}
}
on (release) {
_root.MASTER.eventType = "item";
_root.MASTER.item = this;
_root.MASTER.itemName = "Backpack";
_root.MASTER.itemGrab = _root.MASTER.inventoryUseWith("_self");
_root.MASTER.itemTextCannot = "I can't pick that up!";
_root.MASTER.itemTextLook = "It's my backpack. I should grab that before I do anything else.";
_root.MASTER.itemInventoryPic = null;
if (_root.MASTER.mouseCommand == "use") {
_root.MASTER.backpackGrabed = true;
} else {
_root.MASTER.backpackGrabed = false;
}
_root.MASTER.mouseCommander();
}
on (rollOver) {
this.gotoAndStop("over");
}
on (rollOut) {
this.gotoAndStop("static");
}
Instance of Symbol 132 MovieClip in Symbol 354 MovieClip Frame 4
onClipEvent (load) {
if (_root.MASTER.windowOpened == undefined) {
_root.MASTER.windowOpened = false;
}
if (_root.MASTER.ropeAttached == undefined) {
_root.MASTER.ropeAttached = false;
}
if (_root.MASTER.windowOpened || (_root.MASTER.ropedAttached)) {
this.windowAnim.gotoAndPlay("opened");
}
this.buttonPress = function () {
if (_root.MASTER.mouseCommand == "use") {
if (_root.MASTER.ropeAttached) {
_root.MASTER.windowOpened = true;
} else if (!_root.MASTER.windowOpened) {
_root.MASTER.windowOpened = true;
} else {
_root.MASTER.windowOpened = false;
}
}
_root.MASTER.mouseCommander();
};
}
on (release) {
this.buttonPress();
}
on (rollOver) {
this.gotoAndStop("over");
}
on (rollOut) {
this.gotoAndStop("static");
}
Instance of Symbol 136 MovieClip in Symbol 354 MovieClip Frame 4
on (release) {
if (_root.MASTER.mouseCommand == "look") {
_root.MASTER.textDisplay("I don't think going out that way is such a good idea.");
}
}
on (rollOver) {
this.gotoAndStop("over");
}
on (rollOut) {
this.gotoAndStop("static");
}
Instance of Symbol 139 MovieClip in Symbol 354 MovieClip Frame 4
on (release) {
if (_root.MASTER.mouseCommand == "look") {
_root.MASTER.textDisplay("It's my TV. I consider myself lucky to have one with this \"Family\"");
}
}
on (rollOver) {
this.gotoAndStop("over");
}
on (rollOut) {
this.gotoAndStop("static");
}
Instance of Symbol 142 MovieClip in Symbol 354 MovieClip Frame 4
on (release) {
if (_root.MASTER.mouseCommand == "look") {
_root.MASTER.textDisplay("It's a bunch of posters of my favourite bands.");
}
}
on (rollOver) {
this.gotoAndStop("over");
}
on (rollOut) {
this.gotoAndStop("static");
}
Instance of Symbol 145 MovieClip in Symbol 354 MovieClip Frame 4
onClipEvent (load) {
if (_root.MASTER.ropeAttached == undefined) {
_root.MASTER.ropeAttached = false;
}
}
on (release) {
if (_root.MASTER.windowOpened) {
_root.MASTER.itemGrab = _root.MASTER.inventoryUseWith("Rope");
_root.MASTER.ropeAttached = true;
} else {
_root.MASTER.ropeAttached = false;
_root.MASTER.itemGrab = false;
}
_root.MASTER.eventType = "item";
_root.MASTER.item = this;
_root.MASTER.itemName = "DeskLeg";
_root.MASTER.itemTextCannot = "I ahh... don't... think so. But it looks sterdy enough.";
_root.MASTER.itemTextLook = "It's the leg of my desk... why am I even looking at it?";
_root.MASTER.itemInventoryPic = null;
_root.MASTER.mouseCommander();
}
Instance of Symbol 147 MovieClip in Symbol 354 MovieClip Frame 4
on (rollOver) {
_root.MASTER.eventType = "portal";
_root.MASTER.portalDestination = "BEDROOM_WINDOW";
_root.MASTER.portalAllow = _root.MASTER.inventoryUseWith("_self");
_root.MASTER.portalTextCannot = "";
_root.MASTER.portalTextLook = "Looks dark outside. Maybe I should get my torch.";
}
on (release) {
_root.MASTER.mouseCommander();
}
on (rollOut) {
_root.MASTER.clearPortal();
}
Symbol 354 MovieClip Frame 5
if (_root.MASTER.bedroomTalk) {
this.gotoAndPlay("BEDROOM");
} else {
this.gotoAndPlay("BEDROOM_TALK");
}
Symbol 354 MovieClip Frame 6
if (data_set == undefined) {
var eventType = null;
var currentRoom = "BEDROOM";
var item = null;
var itemName = "";
var itemGrab = false;
var itemTextCannot = "";
var itemTextLook = "";
var itemInventoryPic = "_blank";
var itemReUsable = false;
_root.MASTER.systemInventory._visible = false;
var inventory_enable = false;
var numSlots = 24;
var clearingSlot = null;
var inventorySlot = new Array(numSlots);
var i = 0;
while (i < numSlots) {
inventorySlot[i] = new Object();
inventorySlot[i].item = null;
inventorySlot[i].itemName = "";
inventorySlot[i].itemTextLook = "";
inventorySlot[i].itemInventoryPic = "_blank";
inventorySlot[i].itemReUsable = "_blank";
i++;
}
var portalDestination = "";
var portalAllow = false;
var portalTextCannot = "";
var portalTextLook = "";
var switchName = "";
var switchState = false;
var switchID = null;
var sceneText = "";
var mouseCommand = "look";
var mouseClick = false;
var mouseUseItem = "";
var keyPressed = false;
var keyASCII = null;
itemState_Backpack = false;
data_set = true;
}
clearItem = function () {
eventType = null;
item = null;
itemName = "";
itemGrab = false;
itemTextCannot = "";
itemTextLook = "";
itemInventoryPic = "_blank";
itemReUsable = false;
};
clearPortal = function () {
eventType = null;
portalDestination = "";
portalAllow = false;
portalTextCannot = "";
portalTextLook = "";
};
clearSwitch = function () {
eventType = null;
switchID = null;
};
clearInventoryData = function () {
eventType = null;
item = null;
itemName = "";
itemTextLook = "";
itemReUsable = false;
};
switchChange = function () {
if (_root.MASTER.switchID.switchState) {
return(false);
}
return(true);
};
inventoryUseWith = function (_with) {
if (_root.MASTER.mouseCommand == "use") {
if (_with == "_self") {
return(true);
}
if (_with == _root.MASTER.mouseUseItem) {
if (!_root.MASTER.inventorySlot[_root.MASTER.clearingSlot].itemReUsable) {
_root.MASTER.mouseUseItem = "";
_root.MASTER.inventorySlot[_root.MASTER.clearingSlot].item = null;
_root.MASTER.inventorySlot[_root.MASTER.clearingSlot].itemName = "";
_root.MASTER.inventorySlot[_root.MASTER.clearingSlot].itemTextLook = "";
_root.MASTER.inventorySlot[_root.MASTER.clearingSlot].itemInventoryPic = "_blank";
_root.MASTER.inventorySlot[_root.MASTER.clearingSlot].itemReUsable = false;
_root.MASTER.inventorySortDown();
return(true);
}
return(true);
}
return(false);
}
return(false);
};
inventorySortDown = function () {
var _local2 = _root.MASTER.clearingSlot;
while (_local2 < (_root.MASTER.numSlots - 1)) {
_root.MASTER.inventorySlot[_local2] = _root.MASTER.inventorySlot[_local2 + 1];
_local2++;
}
_root.MASTER.inventorySlot[_root.MASTER.numSlots - 1].item = null;
_root.MASTER.inventorySlot[_root.MASTER.numSlots - 1].itemName = "";
_root.MASTER.inventorySlot[_root.MASTER.numSlots - 1].itemTextLook = "";
_root.MASTER.inventorySlot[_root.MASTER.numSlots - 1].itemInventoryPic = "_blank";
_root.MASTER.inventorySlot[_root.MASTER.numSlots - 1].itemReUsable = "";
};
inventoryUseItem = function (_itemRef) {
if (!(_root.MASTER.mouseUseItem === "Lighter")) {
} else {
if (_root.MASTER.lightSmoke == undefined) {
_root.MASTER.lightSmoke = false;
}
if ((_itemRef == "Smokes") && (!_root.MASTER.lightSmoke)) {
_root.MASTER.lightSmoke = true;
_root.MASTER.item = null;
_root.MASTER.itemName = "Cigerette";
_root.MASTER.itemTextLook = "It's a lit cigerette";
_root.MASTER.itemInventoryPic = "ip_litcigerette";
_root.MASTER.itemReUsable = false;
_root.MASTER.inventoryStore();
return(undefined);
}
}
if (_root.MASTER.mouseCommand == "use") {
_root.MASTER.mouseUseItem = _itemRef;
}
};
inventoryStore = function () {
var _local2 = 0;
while (_local2 < _root.MASTER.numSlots) {
if (_root.MASTER.inventorySlot[_local2].itemName == "") {
_root.MASTER.inventorySlot[_local2].item = _root.MASTER.item;
_root.MASTER.inventorySlot[_local2].itemName = _root.MASTER.itemName;
_root.MASTER.inventorySlot[_local2].itemTextLook = _root.MASTER.itemTextLook;
_root.MASTER.inventorySlot[_local2].itemInventoryPic = _root.MASTER.itemInventoryPic;
_root.MASTER.inventorySlot[_local2].itemReUsable = _root.MASTER.itemReUsable;
return(undefined);
}
_local2++;
}
return(undefined);
};
inventoryRetrieve = function (_retSlot) {
_root.MASTER.item = _root.MASTER.inventorySlot[_retSlot].item;
_root.MASTER.itemName = _root.MASTER.inventorySlot[_retSlot].itemName;
_root.MASTER.itemTextLook = _root.MASTER.inventorySlot[_retSlot].itemTextLook;
};
itemStore = function () {
if (_root.MASTER.itemGrab) {
switch (_root.MASTER.itemName) {
case "Backpack" :
_root.MASTER.inventory_enable = true;
_root.MASTER.item._visible = false;
return(undefined);
case "Shirt" :
_root.MASTER.item._visible = false;
return(undefined);
case "MBLid" :
_root.MASTER.item._visible = false;
return(undefined);
case "Pants" :
_root.MASTER.item._visible = false;
_root.MASTER.item = null;
_root.MASTER.itemName = "Lighter";
_root.MASTER.itemTextLook = "It's my lighter.";
_root.MASTER.itemInventoryPic = "ip_lighter";
_root.MASTER.itemReUsable = true;
_root.MASTER.inventoryStore();
return(undefined);
case "DeskLeg" :
return(undefined);
case "FireStart" :
return(undefined);
}
if (_root.MASTER.inventory_enable) {
_root.MASTER.inventoryStore();
_root.MASTER.item.itemGrabed = true;
_root.MASTER.item._visible = false;
} else {
_root.MASTER.textDisplay(_root.MASTER.itemTextCannot);
}
} else {
_root.MASTER.textDisplay(_root.MASTER.itemTextCannot);
}
return(undefined);
};
portalUse = function () {
if (_root.MASTER.portalAllow) {
_root.MASTER.gotoAndPlay(_root.MASTER.portalDestination);
} else {
_root.MASTER.interfaceTextDisplay = _root.MASTER.portalTextCannot;
}
};
textDisplay = function (_text) {
_root.MASTER.dialogueText = _text;
};
buttonPress = function () {
if (((_root.MASTER.mouseCommand == "use") && (_root.MASTER.itemGrab)) && (_root.MASTER.inventory_enable)) {
return(true);
}
return(false);
};
mouseCommander = function () {
switch (mouseCommand) {
case "use" :
switch (eventType) {
case "item" :
_root.MASTER.itemStore();
_root.MASTER.clearItem();
break;
case "portal" :
if (_root.MASTER.portalAllow) {
_root.MASTER.portalUse();
} else {
_root.MASTER.textDisplay(_root.MASTER.portalTextCannot);
}
_root.MASTER.clearPortal();
break;
case "switch" :
switchID.switchState = _root.MASTER.switchChange();
break;
case "inventory" :
_root.MASTER.inventoryUseItem(_root.MASTER.itemName);
_root.MASTER.clearInventoryData();
}
break;
case "look" :
switch (eventType) {
case "portal" :
_root.MASTER.textDisplay(_root.MASTER.portalTextLook);
break;
case "item" :
_root.MASTER.textDisplay(_root.MASTER.itemTextLook);
break;
case "scene" :
_root.MASTER.textDisplay(_root.MASTER.sceneText);
break;
case "inventory" :
_root.MASTER.textDisplay(_root.MASTER.itemTextLook);
break;
default :
_root.MASTER.textDisplay("");
}
}
};
var mouseListener = new Object();
mouseListener.onMouseDown = function () {
_root.MASTER.mouseClick = true;
_root.MASTER.textDisplay("");
};
mouseListener.onMouseUp = function () {
_root.MASTER.mouseClick = false;
_root.MASTER.mouseHold = false;
};
mouseListener.onMouseMove = function () {
};
Mouse.addListener(mouseListener);
var keyListener = new Object();
keyListener.onKeyDown = function () {
_root.MASTER.keyPressed = true;
_root.MASTER.keyASCII = Key.getAscii();
switch (_root.MASTER.keyASCII) {
case 122 :
_root.MASTER.mouseCommand = "use";
break;
case 120 :
_root.MASTER.mouseCommand = "talk";
break;
case 99 :
_root.MASTER.mouseCommand = "look";
break;
case 97 :
if (_root.MASTER.inventory_enable) {
_root.MASTER.systemInventory._visible = true;
_root.MASTER.inventoryHandler.inventoryDisplay();
}
break;
}
};
keyListener.onKeyUp = function () {
_root.MASTER.keyPressed = false;
_root.MASTER.keyASCII = null;
};
Key.addListener(keyListener);
Instance of Symbol 202 MovieClip "systemInventory" in Symbol 354 MovieClip Frame 6
onClipEvent (enterFrame) {
var ISname01 = _root.MASTER.inventorySlot[0].itemName;
var ISname02 = _root.MASTER.inventorySlot[1].itemName;
var ISname03 = _root.MASTER.inventorySlot[2].itemName;
var ISname04 = _root.MASTER.inventorySlot[3].itemName;
var ISname05 = _root.MASTER.inventorySlot[4].itemName;
var ISname06 = _root.MASTER.inventorySlot[5].itemName;
var ISname07 = _root.MASTER.inventorySlot[6].itemName;
var ISname08 = _root.MASTER.inventorySlot[7].itemName;
var ISname09 = _root.MASTER.inventorySlot[8].itemName;
var ISname10 = _root.MASTER.inventorySlot[9].itemName;
var ISname11 = _root.MASTER.inventorySlot[10].itemName;
var ISname12 = _root.MASTER.inventorySlot[11].itemName;
var ISname13 = _root.MASTER.inventorySlot[12].itemName;
var ISname14 = _root.MASTER.inventorySlot[13].itemName;
var ISname15 = _root.MASTER.inventorySlot[14].itemName;
var ISname16 = _root.MASTER.inventorySlot[15].itemName;
var ISname17 = _root.MASTER.inventorySlot[16].itemName;
var ISname18 = _root.MASTER.inventorySlot[17].itemName;
var ISname19 = _root.MASTER.inventorySlot[18].itemName;
var ISname20 = _root.MASTER.inventorySlot[19].itemName;
var ISname21 = _root.MASTER.inventorySlot[20].itemName;
var ISname22 = _root.MASTER.inventorySlot[21].itemName;
var ISname23 = _root.MASTER.inventorySlot[22].itemName;
var ISname24 = _root.MASTER.inventorySlot[23].itemName;
var ISpic01 = _root.MASTER.inventorySlot[0].itemInventoryPic;
var ISpic02 = _root.MASTER.inventorySlot[1].itemInventoryPic;
var ISpic03 = _root.MASTER.inventorySlot[2].itemInventoryPic;
var ISpic04 = _root.MASTER.inventorySlot[3].itemInventoryPic;
var ISpic05 = _root.MASTER.inventorySlot[4].itemInventoryPic;
var ISpic06 = _root.MASTER.inventorySlot[5].itemInventoryPic;
var ISpic07 = _root.MASTER.inventorySlot[6].itemInventoryPic;
var ISpic08 = _root.MASTER.inventorySlot[7].itemInventoryPic;
var ISpic09 = _root.MASTER.inventorySlot[8].itemInventoryPic;
var ISpic10 = _root.MASTER.inventorySlot[9].itemInventoryPic;
var ISpic11 = _root.MASTER.inventorySlot[10].itemInventoryPic;
var ISpic12 = _root.MASTER.inventorySlot[11].itemInventoryPic;
var ISpic13 = _root.MASTER.inventorySlot[12].itemInventoryPic;
var ISpic14 = _root.MASTER.inventorySlot[13].itemInventoryPic;
var ISpic15 = _root.MASTER.inventorySlot[14].itemInventoryPic;
var ISpic16 = _root.MASTER.inventorySlot[15].itemInventoryPic;
var ISpic17 = _root.MASTER.inventorySlot[16].itemInventoryPic;
var ISpic18 = _root.MASTER.inventorySlot[17].itemInventoryPic;
var ISpic19 = _root.MASTER.inventorySlot[18].itemInventoryPic;
var ISpic20 = _root.MASTER.inventorySlot[19].itemInventoryPic;
var ISpic21 = _root.MASTER.inventorySlot[20].itemInventoryPic;
var ISpic22 = _root.MASTER.inventorySlot[21].itemInventoryPic;
var ISpic23 = _root.MASTER.inventorySlot[22].itemInventoryPic;
var ISpic24 = _root.MASTER.inventorySlot[23].itemInventoryPic;
}
Symbol 354 MovieClip Frame 7
gotoAndPlay ("BEDROOM");
Instance of Symbol 206 MovieClip in Symbol 354 MovieClip Frame 8
on (rollOver) {
_root.MASTER.eventType = "portal";
_root.MASTER.portalDestination = "BEDROOM";
_root.MASTER.portalAllow = _root.MASTER.inventoryUseWith("_self");
_root.MASTER.portalTextCannot = "";
_root.MASTER.portalTextLook = "";
}
on (release) {
_root.MASTER.mouseCommander();
}
on (rollOut) {
_root.MASTER.clearPortal();
}
Instance of Symbol 209 MovieClip in Symbol 354 MovieClip Frame 8
onClipEvent (load) {
if (_root.MASTER.shirtGrabed == undefined) {
_root.MASTER.shirtGrabed = false;
}
if (this.condition == undefined) {
this.condition = false;
}
if (_root.MASTER.shirtGrabed) {
this._visible = false;
} else {
this._visible = true;
}
}
on (release) {
if (_root.MASTER.inventory_enable) {
this.condition = true;
} else {
this.condition = false;
}
_root.MASTER.eventType = "item";
_root.MASTER.item = this;
_root.MASTER.itemName = "Shirt";
_root.MASTER.itemGrab = this.condition;
_root.MASTER.itemTextCannot = "I can't grab that just yet.";
_root.MASTER.itemTextLook = "It's my shirts. It's the only thing decent that I have to wear.";
_root.MASTER.itemInventoryPic = null;
_root.MASTER.itemReUsable = false;
_root.MASTER.shirtGrabed = _root.MASTER.buttonPress();
_root.MASTER.mouseCommander();
}
on (rollOver) {
this.gotoAndStop("over");
}
on (rollOut) {
this.gotoAndStop("static");
}
Instance of Symbol 212 MovieClip in Symbol 354 MovieClip Frame 8
onClipEvent (load) {
if (_root.MASTER.pantsGrabed == undefined) {
_root.MASTER.pantsGrabed = false;
}
if (this.condition == undefined) {
this.condition = false;
}
if (_root.MASTER.pantsGrabed) {
this._visible = false;
} else {
this._visible = true;
}
}
on (rollOver) {
this.gotoAndStop("over");
}
on (rollOut) {
this.gotoAndStop("static");
}
on (release) {
if (_root.MASTER.inventory_enable) {
this.condition = true;
} else {
this.condition = false;
}
_root.MASTER.eventType = "item";
_root.MASTER.item = this;
_root.MASTER.itemName = "Pants";
_root.MASTER.itemGrab = this.condition;
_root.MASTER.itemTextCannot = "I can't grab that just yet.";
_root.MASTER.itemTextLook = "They would be my pants.";
_root.MASTER.itemInventoryPic = null;
_root.MASTER.itemReUsable = false;
_root.MASTER.pantsGrabed = _root.MASTER.buttonPress();
if (_root.MASTER.pantsGrabed) {
_root.MASTER.textDisplay("Hey... I found my lighter. So that's where that went.");
}
_root.MASTER.mouseCommander();
}
Symbol 354 MovieClip Frame 11
gotoAndPlay ("WARDROBE");
Instance of Symbol 216 MovieClip in Symbol 354 MovieClip Frame 12
onClipEvent (load) {
if (_root.MASTER.MBlidOpen == undefined) {
_root.MASTER.MBlidOpen = false;
}
if (_root.MASTER.MBlidOpen) {
this._visible = false;
} else {
this._visible = true;
}
this.buttonPress = function () {
if ((_root.MASTER.mouseCommand == "use") && (_root.MASTER.itemGrab)) {
_root.MASTER.MBlidOpen = true;
}
_root.MASTER.mouseCommander();
};
}
on (rollOver) {
_root.MASTER.eventType = "item";
_root.MASTER.item = this;
_root.MASTER.itemName = "MBLid";
_root.MASTER.itemGrab = _root.MASTER.inventoryUseWith("MoneyBoxKey");
_root.MASTER.itemTextCannot = "I can't open it. I need the key.";
_root.MASTER.itemTextLook = "It's my money box. I can't open it without the key... Didn't I put it outside the window somewhere?";
_root.MASTER.itemInventoryPic = null;
}
on (press) {
this.buttonPress();
}
on (release) {
_root.MASTER.clearItem();
}
on (releaseOutside) {
_root.MASTER.clearItem();
}
on (dragOver) {
_root.MASTER.clearItem();
}
on (dragOut) {
_root.MASTER.clearItem();
}
on (rollOut) {
_root.MASTER.clearItem();
}
Instance of Symbol 219 MovieClip in Symbol 354 MovieClip Frame 12
on (rollOver) {
this.gotoAndStop("over");
}
on (rollOut) {
this.gotoAndStop("static");
}
on (release) {
_root.MASTER.eventType = "portal";
_root.MASTER.portalDestination = "BEDROOM";
_root.MASTER.portalAllow = _root.MASTER.inventoryUseWith("_self");
_root.MASTER.portalTextCannot = "I can't leave until I get everything.";
_root.MASTER.portalTextLook = "My bed.";
_root.MASTER.mouseCommander();
}
Instance of Symbol 223 MovieClip in Symbol 354 MovieClip Frame 12
on (rollOver) {
this.gotoAndStop("over");
}
on (rollOut) {
this.gotoAndStop("static");
}
onClipEvent (load) {
if (_root.MASTER.smokesGrabed == undefined) {
_root.MASTER.smokesGrabed = false;
}
if (_root.MASTER.smokesGrabed) {
this._visible = false;
} else {
this._visible = true;
}
}
on (release) {
_root.MASTER.eventType = "item";
_root.MASTER.item = this;
_root.MASTER.itemName = "Smokes";
_root.MASTER.itemGrab = _root.MASTER.inventoryUseWith("_self");
_root.MASTER.itemTextCannot = "";
_root.MASTER.itemTextLook = "Smokes. I don't smoke, only when I'm drunk.";
_root.MASTER.itemInventoryPic = "ip_cigerettes";
_root.MASTER.itemReUsable = true;
_root.MASTER.smokesGrabed = _root.MASTER.buttonPress();
_root.MASTER.mouseCommander();
}
Instance of Symbol 226 MovieClip in Symbol 354 MovieClip Frame 12
onClipEvent (load) {
if (_root.MASTER.moneyGrabed == undefined) {
_root.MASTER.moneyGrabed = false;
}
if (_root.MASTER.moneyGrabed) {
this._visible = false;
} else {
this._visible = true;
}
}
on (release) {
_root.MASTER.eventType = "item";
_root.MASTER.item = this;
_root.MASTER.itemName = "Money";
_root.MASTER.itemGrab = _root.MASTER.inventoryUseWith("_self");
_root.MASTER.itemTextCannot = "";
_root.MASTER.itemTextLook = "It's the money that my father left me after he passed away. I haven't spent it cause I know that I'm ganna need it for something important... like now.";
_root.MASTER.itemInventoryPic = "ip_money";
_root.MASTER.itemReUsable = true;
_root.MASTER.moneyGrabed = _root.MASTER.buttonPress();
_root.MASTER.mouseCommander();
}
on (rollOver) {
this.gotoAndStop("over");
}
on (rollOut) {
this.gotoAndStop("static");
}
Instance of Symbol 229 MovieClip in Symbol 354 MovieClip Frame 12
onClipEvent (load) {
if (_root.MASTER.photosGrabed == undefined) {
_root.MASTER.photosGrabed = false;
}
if (_root.MASTER.photosGrabed) {
this._visible = false;
} else {
this._visible = true;
}
}
on (rollOver) {
this.gotoAndStop("over");
}
on (rollOut) {
this.gotoAndStop("static");
}
on (release) {
_root.MASTER.eventType = "item";
_root.MASTER.item = this;
_root.MASTER.itemName = "Photos";
_root.MASTER.itemGrab = _root.MASTER.inventoryUseWith("_self");
_root.MASTER.itemTextCannot = "";
_root.MASTER.itemTextLook = "Photos. Things I want to forget but won't. And things I want to remember but can't...";
_root.MASTER.itemInventoryPic = "ip_photos";
_root.MASTER.itemReUsable = true;
_root.MASTER.photosGrabed = _root.MASTER.buttonPress();
_root.MASTER.mouseCommander();
}
Symbol 354 MovieClip Frame 15
gotoAndPlay ("MONEYBOX");
Instance of Symbol 239 MovieClip in Symbol 354 MovieClip Frame 16
onClipEvent (load) {
if (_root.MASTER.keyGrabed == undefined) {
_root.MASTER.keyGrabed = false;
}
if (_root.MASTER.keyGrabed) {
this._visible = false;
} else {
this._visible = true;
}
}
on (release) {
_root.MASTER.eventType = "item";
_root.MASTER.item = this;
_root.MASTER.itemName = "MoneyBoxKey";
_root.MASTER.itemGrab = _root.MASTER.inventoryUseWith("_self");
_root.MASTER.itemTextCannot = "I know this might seem stupid. But I really should get something to put this in.";
_root.MASTER.itemTextLook = "It's my key to my money box. I should grab that.";
_root.MASTER.itemInventoryPic = "ip_key";
_root.MASTER.keyGrabed = _root.MASTER.buttonPress();
_root.MASTER.mouseCommander();
}
on (rollOver) {
this.gotoAndStop("over");
}
on (rollOut) {
this.gotoAndStop("static");
}
Instance of Symbol 247 MovieClip in Symbol 354 MovieClip Frame 16
onClipEvent (load) {
if (_root.MASTER.ropeAttached) {
this._visible = true;
} else {
this._visible = false;
}
var condition = false;
}
on (release) {
if (((((((_root.MASTER.ropeAttached && (_root.MASTER.shirtGrabed)) && (_root.MASTER.pantsGrabed)) && (_root.MASTER.keyGrabed)) && (_root.MASTER.torchGrabed)) && (_root.MASTER.photosGrabed)) && (_root.MASTER.smokesGrabed)) && (_root.MASTER.backpackGrabed)) {
this.condition = true;
} else {
this.condition = false;
}
_root.MASTER.eventType = "portal";
_root.MASTER.portalDestination = "BACKYARD";
_root.MASTER.portalAllow = this.condition;
_root.MASTER.portalTextCannot = "I can't go yet. I still have to get all my stuff.";
_root.MASTER.portalTextLook = "It's a rope. I can use it to get out of this place";
_root.MASTER.mouseCommander();
}
on (rollOver) {
this.gotoAndStop("over");
}
on (rollOut) {
this.gotoAndStop("static");
}
Instance of Symbol 249 MovieClip in Symbol 354 MovieClip Frame 16
on (rollOver) {
_root.MASTER.eventType = "portal";
_root.MASTER.portalDestination = "BEDROOM";
_root.MASTER.portalAllow = _root.MASTER.inventoryUseWith("_self");
_root.MASTER.portalTextCannot = "";
_root.MASTER.portalTextLook = "";
}
on (release) {
_root.MASTER.mouseCommander();
}
on (rollOut) {
_root.MASTER.clearPortal();
}
Symbol 354 MovieClip Frame 19
gotoAndPlay ("BEDROOM_WINDOW");
Instance of Symbol 266 MovieClip in Symbol 354 MovieClip Frame 20
on (release) {
if (_root.MASTER.mouseCommand == "use") {
_root.MASTER.textDisplay("I ain't climbing back up there again");
}
}
Instance of Symbol 271 MovieClip in Symbol 354 MovieClip Frame 20
on (release) {
_root.MASTER.eventType = "portal";
_root.MASTER.portalDestination = "KITCHEN_WINDOW";
_root.MASTER.portalTextCannot = "";
_root.MASTER.portalTextLook = "The kitchen window.";
if (_root.MASTER.fireStarted) {
_root.MASTER.portalAllow = false;
_root.MASTER.textDisplay("I'd be an idiot if I went back there after setting off the smoke alarm");
} else {
_root.MASTER.portalAllow = true;
}
_root.MASTER.mouseCommander();
}
on (rollOver) {
this.gotoAndStop("over");
}
on (rollOut) {
this.gotoAndStop("static");
}
Instance of Symbol 277 MovieClip in Symbol 354 MovieClip Frame 20
on (rollOver) {
_root.MASTER.eventType = "portal";
_root.MASTER.portalDestination = "SIDE_GATE";
_root.MASTER.portalAllow = _root.MASTER.inventoryUseWith("_self");
_root.MASTER.portalTextCannot = "";
_root.MASTER.portalTextLook = "";
}
on (release) {
_root.MASTER.mouseCommander();
}
on (rollOut) {
_root.MASTER.clearPortal();
}
Symbol 354 MovieClip Frame 23
gotoAndPlay ("BACKYARD");
Instance of Symbol 312 MovieClip in Symbol 354 MovieClip Frame 24
onClipEvent (enterFrame) {
if (_root.MASTER.fireStarted == undefined) {
_root.MASTER.fireStarted = false;
}
}
on (rollOver) {
this.gotoAndStop("over");
}
on (rollOut) {
this.gotoAndStop("static");
}
on (release) {
_root.MASTER.eventType = "item";
_root.MASTER.item = this;
_root.MASTER.itemName = "FireStart";
_root.MASTER.itemGrab = _root.MASTER.inventoryUseWith("Cigerette");
_root.MASTER.itemTextCannot = "I can't use that from here.";
_root.MASTER.itemTextLook = "It's some paper and a smoke alarm. Maybe I can set it off some how.";
_root.MASTER.itemInventoryPic = null;
_root.MASTER.fireStarted = _root.MASTER.buttonPress();
if (_root.MASTER.fireStarted) {
_root.MASTER.textDisplay("I should get out of here before someone comes.");
}
_root.MASTER.mouseCommander();
}
Instance of Symbol 314 MovieClip in Symbol 354 MovieClip Frame 24
on (rollOver) {
_root.MASTER.eventType = "portal";
_root.MASTER.portalDestination = "BACKYARD";
_root.MASTER.portalAllow = _root.MASTER.inventoryUseWith("_self");
_root.MASTER.portalTextCannot = "";
_root.MASTER.portalTextLook = "";
}
on (release) {
_root.MASTER.mouseCommander();
}
on (rollOut) {
_root.MASTER.clearPortal();
}
Instance of Symbol 318 MovieClip in Symbol 354 MovieClip Frame 24
on (rollOver) {
_root.MASTER.eventType = "portal";
_root.MASTER.portalDestination = "BACKYARD";
_root.MASTER.portalAllow = _root.MASTER.inventoryUseWith("_self");
_root.MASTER.portalTextCannot = "";
_root.MASTER.portalTextLook = "";
}
on (release) {
_root.MASTER.mouseCommander();
}
on (rollOut) {
_root.MASTER.clearPortal();
}
Symbol 354 MovieClip Frame 27
gotoAndPlay ("KITCHEN_WINDOW");
Instance of Symbol 326 MovieClip in Symbol 354 MovieClip Frame 28
onClipEvent (load) {
if (_root.MASTER.fireStarted) {
this._visible = false;
} else {
this._visible = true;
}
}
on (release) {
if (_root.MASTER.mouseCommand == "look") {
_root.MASTER.textDisplay("Someone is standing at the window. I can't get passed until they go away.");
}
}
Instance of Symbol 332 MovieClip in Symbol 354 MovieClip Frame 28
on (rollOver) {
_root.MASTER.eventType = "portal";
_root.MASTER.portalDestination = "BACKYARD";
_root.MASTER.portalAllow = _root.MASTER.inventoryUseWith("_self");
_root.MASTER.portalTextCannot = "";
_root.MASTER.portalTextLook = "";
}
on (release) {
_root.MASTER.mouseCommander();
}
on (rollOut) {
_root.MASTER.clearPortal();
}
Instance of Symbol 275 MovieClip in Symbol 354 MovieClip Frame 28
onClipEvent (load) {
if (this.condition == undefined) {
var condition = false;
}
if (_root.MASTER.fireStarted) {
condition = true;
} else {
condition = false;
}
}
on (release) {
_root.MASTER.eventType = "portal";
_root.MASTER.portalDestination = "END_SCENE";
_root.MASTER.portalAllow = this.condition;
_root.MASTER.portalTextCannot = "I can't leave. Someone is looking out the window.";
_root.MASTER.portalTextLook = "It's the side gate.";
_root.MASTER.mouseCommander();
}
on (rollOver) {
this.gotoAndStop("over");
}
on (rollOut) {
this.gotoAndStop("static");
}
Symbol 354 MovieClip Frame 31
gotoAndPlay ("SIDE_GATE");
Instance of Symbol 336 MovieClip in Symbol 354 MovieClip Frame 32
onClipEvent (load) {
if (_root.MASTER.ropeGrabed == undefined) {
_root.MASTER.ropeGrabed = false;
}
if (_root.MASTER.ropeGrabed) {
this._visible = false;
} else {
this._visible = true;
}
}
on (release) {
_root.MASTER.eventType = "item";
_root.MASTER.item = this;
_root.MASTER.itemName = "Rope";
_root.MASTER.itemGrab = _root.MASTER.inventoryUseWith("_self");
_root.MASTER.itemTextCannot = "I really should get my backpack.";
_root.MASTER.itemTextLook = "It's always handy to have rope when your on the second floor of a house.";
_root.MASTER.itemInventoryPic = "ip_rope";
_root.MASTER.itemReUsable = false;
_root.MASTER.ropeGrabed = _root.MASTER.buttonPress();
_root.MASTER.mouseCommander();
}
on (release) {
_root.MASTER.clearItem();
}
Instance of Symbol 338 MovieClip in Symbol 354 MovieClip Frame 32
onClipEvent (load) {
if (_root.MASTER.torchGrabed == undefined) {
_root.MASTER.torchGrabed = false;
}
if (_root.MASTER.torchGrabed) {
this._visible = false;
} else {
this._visible = true;
}
this.buttonPress = function () {
if (((_root.MASTER.mouseCommand == "use") && (_root.MASTER.itemGrab)) && (_root.MASTER.inventory_enable)) {
_root.MASTER.torchGrabed = true;
}
_root.MASTER.mouseCommander();
};
}
on (rollOver) {
_root.MASTER.eventType = "item";
_root.MASTER.item = this;
_root.MASTER.itemName = "Torch";
_root.MASTER.itemGrab = _root.MASTER.inventoryUseWith("_self");
_root.MASTER.itemTextCannot = "Maybe I should get my backpack before I start grabbing a whole bunch of things. I ain't walking around with all this stuff in my hands you know.";
_root.MASTER.itemTextLook = "It's a device that helps you see in the dark... you know... a torch!";
_root.MASTER.itemInventoryPic = "ip_torch";
_root.MASTER.itemReUsable = false;
}
on (press) {
this.buttonPress();
}
on (release) {
_root.MASTER.clearItem();
}
on (releaseOutside) {
_root.MASTER.clearItem();
}
on (dragOver) {
_root.MASTER.clearItem();
}
on (dragOut) {
_root.MASTER.clearItem();
}
on (rollOut) {
_root.MASTER.clearItem();
}
Instance of Symbol 340 MovieClip in Symbol 354 MovieClip Frame 32
on (rollOver) {
_root.MASTER.eventType = "portal";
_root.MASTER.portalDestination = "BEDROOM";
_root.MASTER.portalAllow = _root.MASTER.inventoryUseWith("_self");
_root.MASTER.portalTextCannot = "";
_root.MASTER.portalTextLook = "";
}
on (release) {
_root.MASTER.mouseCommander();
}
on (rollOut) {
_root.MASTER.clearPortal();
}
Symbol 354 MovieClip Frame 35
gotoAndPlay ("JUNKBOX");
Symbol 354 MovieClip Frame 36
textDisplay = function (_text) {
_root.MASTER.dialogueText = _text;
};
Symbol 354 MovieClip Frame 39
this.gotoAndPlay("END_SCENE");
Symbol 358 MovieClip Frame 1
this.stop();
Symbol 367 MovieClip Frame 1
Symbol 367 MovieClip Frame 2
if ((this.move_x != 0) || (this.move_y != 0)) {
loop = 0;
_parent.piece_moving = true;
_parent.moveToX = Math.floor(this.move_x / _parent.tween_Speed);
_parent.moveToY = Math.floor(this.move_y / _parent.tween_Speed);
this.play();
} else {
this.gotoAndPlay(1);
}
Symbol 367 MovieClip Frame 3
loop++;
this._x = this._x + _parent.moveToX;
this._y = this._y + _parent.moveToY;
Symbol 367 MovieClip Frame 4
loop++;
if (loop <= _parent.tween_Speed) {
this._x = this._x + _parent.moveToX;
this._y = this._y + _parent.moveToY;
this.gotoAndPlay(3);
} else {
this.gotoAndPlay(1);
this.move_x = 0;
this.move_y = 0;
_parent.piece_moving = false;
}
Symbol 368 MovieClip Frame 1
shuffle = function () {
var _local3 = 0;
while (_local3 < Math.pow(this.puzzleSize, 2)) {
shuffle_array[_local3] = _local3;
_local3++;
}
shuffle_array.sort(sortRand);
var _local4 = 0;
_local3 = 0;
while (_local3 < this.puzzleSize) {
var _local2 = 0;
while (_local2 < this.puzzleSize) {
this.puzzleFind[_local2][_local3] = shuffle_array[_local4];
_local4++;
_local2++;
}
_local3++;
}
};
sortRand = function () {
return(((random(2) == 0) ? -1 : 1));
};
arrayCheck = function () {
var _local2 = 0;
while (_local2 < puzzleSize) {
_local2++;
}
_local2 = 0;
while (_local2 < puzzleSize) {
_local2++;
}
};
unConSetX = function (_numX) {
if (_numX == 15) {
return(150);
}
};
unConSetX = function (_numX) {
switch (_numX) {
case 1 :
return(0);
case 2 :
return(50);
case 3 :
return(100);
case 4 :
return(150);
case 5 :
return(0);
case 6 :
return(50);
case 7 :
return(100);
case 8 :
return(150);
case 9 :
return(0);
case 10 :
return(50);
case 11 :
return(100);
case 12 :
return(150);
case 13 :
return(0);
case 14 :
return(50);
case 15 :
return(100);
}
};
unConSetY = function (_numY) {
switch (_numY) {
case 1 :
return(0);
case 2 :
return(0);
case 3 :
return(0);
case 4 :
return(0);
case 5 :
return(50);
case 6 :
return(50);
case 7 :
return(50);
case 8 :
return(50);
case 9 :
return(100);
case 10 :
return(100);
case 11 :
return(100);
case 12 :
return(100);
case 13 :
return(150);
case 14 :
return(150);
case 15 :
return(150);
}
};
displayPuzzle = function () {
var _local9 = 50;
var _local8 = 50;
var _local7 = 222;
var _local6 = 94;
var _local3 = 0;
var _local5 = 0;
while (_local5 < this.puzzleSize) {
var _local4 = 0;
while (_local4 < this.puzzleSize) {
if (this.puzzleFind[_local4][_local5] != 0) {
duplicateMovieClip ("slidePiece", "slidePiece" + _local3, _root.puzzleMASTER.getNextHighestDepth());
this["slidePiece" + _local3]._x = this["slidePiece" + _local3]._x + (_local7 + (_local9 * _local4));
this["slidePiece" + _local3]._y = this["slidePiece" + _local3]._y + (_local6 + (_local8 * _local5));
this["slidePiece" + _local3]._location = new Array(_local4, _local5);
this["slidePiece" + _local3].puzzleGraphic._x = this["slidePiece" + _local3].puzzleGraphic._x - unConSetX(puzzleFind[_local4][_local5]);
this["slidePiece" + _local3].puzzleGraphic._y = this["slidePiece" + _local3].puzzleGraphic._y - unConSetY(puzzleFind[_local4][_local5]);
}
_local3++;
_local4++;
}
_local5++;
}
_root.puzzleMASTER.slidePiece._visible = false;
};
movePiece = function (_piece) {
if ((!this.piece_moving) && (!this.puzzleComplete)) {
var _local3 = checkGrid(_piece._location);
switch (_local3) {
case "left" :
_piece._location[0] = _piece._location[0] - 1;
_piece.move_x = -50;
break;
case "right" :
_piece._location[0] = _piece._location[0] + 1;
_piece.move_x = 50;
break;
case "up" :
_piece._location[1] = _piece._location[1] - 1;
_piece.move_y = -50;
break;
case "down" :
_piece._location[1] = _piece._location[1] + 1;
_piece.move_y = 50;
break;
default :
_piece.move_x = 0;
_piece.move_y = 0;
}
arrayCheck();
puzzleSolved();
}
};
checkGrid = function (_location) {
if (puzzleFind[_location[0] - 1][_location[1]] == 0) {
temp = puzzleFind[_location[0]][_location[1]];
puzzleFind[_location[0]][_location[1]] = 0;
puzzleFind[_location[0] - 1][_location[1]] = temp;
return("left");
}
if (puzzleFind[_location[0] + 1][_location[1]] == 0) {
temp = puzzleFind[_location[0]][_location[1]];
puzzleFind[_location[0]][_location[1]] = 0;
puzzleFind[_location[0] + 1][_location[1]] = temp;
return("right");
}
if (puzzleFind[_location[0]][_location[1] - 1] == 0) {
temp = puzzleFind[_location[0]][_location[1]];
puzzleFind[_location[0]][_location[1]] = 0;
puzzleFind[_location[0]][_location[1] - 1] = temp;
return("up");
}
if (puzzleFind[_location[0]][_location[1] + 1] == 0) {
temp = puzzleFind[_location[0]][_location[1]];
puzzleFind[_location[0]][_location[1]] = 0;
puzzleFind[_location[0]][_location[1] + 1] = temp;
return("down");
}
return(null);
};
puzzleSolved = function () {
var _local4 = true;
var _local3 = 0;
while (_local3 < puzzleSize) {
var _local2 = 0;
while (_local2 < puzzleSize) {
if (puzzleSuccess[_local3][_local2] != puzzleFind[_local2][_local3]) {
_local4 = false;
}
_local2++;
}
_local3++;
}
if (_local4) {
puzzleComplete = true;
this.gotoAndPlay("puzzleSolved");
}
return(undefined);
};
if (declare == undefined) {
var puzzleComplete = false;
var piece_moving = false;
var tween_Speed = 25;
var move_x = 0;
var move_y = 0;
var tween_Time = 1;
var tween_Ease = 10;
var shuffle_array = new Array(puzzleSize * puzzleSize);
var completeSlide = false;
var puzzleSize = 4;
var puzzleSuccess = [[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12], [13, 14, 15, 0]];
var puzzleFind = [[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]];
shuffle();
arrayCheck();
displayPuzzle();
declare = true;
}
Instance of Symbol 360 MovieClip "puzzleHelpBut" in Symbol 368 MovieClip Frame 1
on (release) {
this.puzzleHelpTextRadiant.play();
if (!_root.puzzleMASTER.movieAttached) {
_parent.attachMovie("puzzleRadiateHelp", "radiateSymbol", _parent.getNextHighestDepth());
_parent.radiateSymbol._x = _parent._x + 248;
_parent.radiateSymbol._y = _parent._y + 114;
_root.puzzleMASTER.movieAttached = true;
}
}
Instance of Symbol 367 MovieClip "slidePiece" in Symbol 368 MovieClip Frame 1
on (release) {
_parent.movePiece(this);
}
Symbol 368 MovieClip Frame 6
this.gotoAndPlay(3);
Symbol 368 MovieClip Frame 7
this.gotoAndPlay(3);
Instance of Symbol 43 MovieClip [finishCallClip] "finishPiece" in Symbol 368 MovieClip Frame 8
onClipEvent (load) {
this = _root.puzzleMASTER.getNextHighestDepth();
}
on (release) {
_root.NextSceneGo = true;
}
Symbol 368 MovieClip Frame 50
this.gotoAndPlay("SolveLoop");