Combined Code
movieClip 3 {
}
movieClip 4 hlnewsticker {
#initclip
NewsTickerClass = function () {
this.init();
};
Object.registerClass('hlnewsticker', NewsTickerClass);
NewsTickerClass.prototype.init = function () {
this.crossMC._visible = false;
this.count = 0;
this.myTextTarget = this._parent[this._targetInstanceName];
this.outerxPos1 = this.aniRangeX / 2 + (this.myTextTarget._x + this.myTextTarget._width);
this.outerxPos2 = this.aniRangeX / 2 - (this.myTextTarget._x + this.myTextTarget._width);
this.outeryPos1 = this.aniRangeY / 2 + (this.myTextTarget._y + this.myTextTarget._height);
this.outeryPos2 = -this.aniRangeY / 2 - (this.myTextTarget._y - this.myTextTarget._height);
this.centerYpos = this.myTextTarget._y;
this.centerXpos = this.myTextTarget._x;
this.animType = 0;
if (this.xAnim == true) {
this.animType += 1;
}
if (this.yAnim == true) {
this.animType += 2;
}
this.brakespeed = 5;
this.myTime = 0;
this.beginLoad();
};
NewsTickerClass.prototype.beginLoad = function () {
loadVariables(this.targetFile, this);
this.onData = function () {
if (this.content != '') {
this.splitArray();
delete this.onData;
}
};
};
NewsTickerClass.prototype.splitArray = function () {
this.myArray = new Array();
this.myArray = this.content.split('|');
this.setTextfield();
};
NewsTickerClass.prototype.setTextfield = function () {
if (this.myTextTarget.html == true) {
this.myTextTarget.htmlText = this.myArray[this.count];
} else {
this.myTextTarget.text = this.myArray[this.count];
}
if (this.yAnim == true) {
this.myTextTarget._y = this.outeryPos1;
}
if (this.xAnim == true) {
this.myTextTarget._x = this.outerxPos1;
}
this.accelspeed = 0;
this.theMoveIn();
};
NewsTickerClass.prototype.theMoveIn = function () {
this.onEnterFrame = function () {
if (this.yAnim == true && this.centerYpos < this.myTextTarget._y) {
this.myTextTarget._y += (this.centerYpos - this.myTextTarget._y) / this.brakespeed / this.brake;
}
if (this.xAnim == true && this.centerXpos < this.myTextTarget._x) {
this.myTextTarget._x += (this.centerXpos - this.myTextTarget._x) / this.brakespeed / this.brake;
updateAfterEvent();
}
if (this.centerYpos >= this.myTextTarget._y - 0.5 && this.centerXpos >= this.myTextTarget._x - 0.5) {
delete this.onEnterFrame;
this.theStopInterval();
}
};
};
NewsTickerClass.prototype.theStopInterval = function () {
delete this.onEnterFrame;
this.intervalHandle = setInterval(this, 'onInterval', 1000 * this.stopTime);
};
NewsTickerClass.prototype.onInterval = function () {
clearInterval(this.intervalHandle);
this.theMoveOut();
};
NewsTickerClass.prototype.theMoveOut = function () {
this.onEnterFrame = function () {
this.accelspeed += this.acceleration;
if (this.xAnim == true) {
this.myTextTarget._x -= this.accelspeed;
}
if (this.yAnim == true) {
this.myTextTarget._y -= this.accelspeed;
}
switch (this.animType) {
case 1:
if (this.outerxPos2 > this.myTextTarget._x) {
++this.count;
if (this.count >= this.myArray.length) {
this.count = 0;
}
delete this.onEnterFrame;
this.setTextfield();
}
break;
case 2:
if (this.outeryPos2 > this.myTextTarget._y) {
++this.count;
if (this.count >= this.myArray.length) {
this.count = 0;
}
delete this.onEnterFrame;
this.setTextfield();
}
break;
case 3:
if (this.outeryPos2 > this.myTextTarget._y && this.outerxPos2 > this.myTextTarget._x) {
++this.count;
if (this.count >= this.myArray.length) {
this.count = 0;
}
delete this.onEnterFrame;
this.setTextfield();
}
}
};
};
#endinitclip
frame 1 {
}
}
frame 1 {
_root.kongregateServices.connect();
}
frame 1 {
Stage.showMenu = false;
_global.died = true;
_global.cigarette = false;
_global.glasses = false;
_global.nightvision = false;
money = 0;
stopAllSounds();
}
movieClip 10 {
}
movieClip 12 {
}
// unknown tag 88 length 16
movieClip 17 {
}
movieClip 20 {
}
movieClip 23 {
}
button 24 {
on (release) {
getURL('http://www.armorgames.com', 'blank');
}
}
movieClip 26 {
}
movieClip 28 {
}
movieClip 30 {
}
movieClip 31 {
frame 66 {
stop();
}
}
// unknown tag 88 length 43
movieClip 34 {
frame 15 {
stop();
}
}
movieClip 35 {
frame 1 {
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop('loaded');
}
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
_root.play();
}
}
movieClip 38 {
frame 1 {
stop();
}
}
movieClip 40 {
frame 1 {
stop();
}
}
movieClip 42 {
frame 1 {
stop();
}
}
frame 2 {
onEnterFrame();
_global.died = true;
if (_global.died) {
lives = 3;
_global.haveKey = false;
_global.haveMatches = false;
_global.haveExtcord = false;
_global.haveExtcord1 = false;
_global.haveHammer = false;
_global.usePlunger = false;
_global.watermess = false;
_global.woodbroke = false;
_global.haveBottle = false;
_global.haveClosetkey = false;
_global.havePainting = false;
_global.haveRubystone = false;
_global.placePainting = false;
_global.emptywall = false;
_global.paintingGone = false;
_global.haveHammerskull = false;
_global.bloodspell = false;
_global.brokenwall = false;
_global.haveCabkey = false;
_global.haveMousecoin = false;
_global.haveSnakecoin = false;
_global.haveBirdcoin = false;
_global.axeThrown = false;
_global.flame1lit = false;
_global.flame2lit = false;
_global.flame3lit = false;
_global.flame4lit = false;
_global.flame5lit = false;
_global.flame6lit = false;
_global.tieExtcord = false;
_global.jumpcord = false;
_global.boxopened = false;
_global.bearisdead = false;
_global.ending1 = false;
_global.ending2 = false;
_global.ending3 = false;
_global.doorclosed = false;
}
}
frame 2 {
_root.map._visible = false;
gotoAndPlay(4903);
}
frame 3 {
_root.cursor._visible = false;
Mouse.show();
}
frame 3 {
_root.scorebox = _root.lives;
}
frame 3 {
utilityspot._visible = false;
bedroomspot._visible = false;
bedroomspot2._visible = false;
kitchenspot._visible = false;
bathroomspot._visible = false;
lrspot._visible = false;
hallwayspot._visible = false;
firsthallspot._visible = false;
}
frame 3 {
onEnterFrame();
if (_global.haveCabkey == true) {
_root.invcabkey._visible = true;
} else {
_root.invcabkey._visible = false;
}
}
frame 3 {
onEnterFrame();
if (_global.haveRubystone == true) {
_root.invrubystone._visible = true;
} else {
_root.invrubystone._visible = false;
}
}
frame 3 {
onEnterFrame();
if (_global.haveBottle == true) {
_root.bottleinv._visible = true;
} else {
_root.bottleinv._visible = false;
}
}
frame 3 {
onEnterFrame();
if (_global.haveHammer == true) {
_root.hammerApply._visible = true;
} else {
_root.hammerApply._visible = false;
}
onEnterFrame();
if (_global.haveExtcord == true) {
_root.extcordApply._visible = true;
} else {
_root.extcordApply._visible = false;
}
onEnterFrame();
if (_global.haveExtcord == true) {
_root.extcord._visible = true;
} else {
_root.extcord._visible = false;
}
}
frame 3 {
onEnterFrame();
if (_global.haveMatches == true) {
_root.matchApply._visible = true;
} else {
_root.matchApply._visible = false;
}
}
frame 3 {
onEnterFrame();
if (_global.havePainting == true) {
_root.invpainting._visible = true;
} else {
_root.invpainting._visible = false;
}
}
frame 3 {
_global.useHammer = false;
_global.useMatches = false;
_global.useTool = false;
_global.useBottle = false;
_global.usePlunger = false;
_global.usePainting = false;
_root.map._visible = false;
stop();
}
movieClip 53 {
}
movieClip 55 {
}
movieClip 57 {
}
movieClip 58 {
}
instance invMousecoin of movieClip 58 {
onClipEvent (load) {
if (_global.haveMousecoin == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 60 {
}
instance invSnakecoin of movieClip 60 {
onClipEvent (load) {
if (_global.haveSnakecoin == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 62 {
}
instance invBirdcoin of movieClip 62 {
onClipEvent (load) {
if (_global.haveBirdcoin == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
button 64 {
on (rollOver) {
_root.hallwayteller.play();
}
on (rollOut) {
_root.hallwayteller.play();
}
on (release) {
framenum = new Array(4, 4, 4, 4, 4, 4, 4, 4);
gotoAndPlay(framenum[random(8)]);
}
}
movieClip 78 {
}
instance key of movieClip 78 {
onClipEvent (load) {
if (_global.haveKey == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 80 {
}
instance hammer of movieClip 80 {
onClipEvent (load) {
if (_global.haveHammer == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 82 {
}
instance invpainting of movieClip 82 {
onClipEvent (release) {
_global.usePainting = true;
_global.useBottle = false;
_global.useHammer = false;
_global.useMatches = false;
_global.usePlunger = false;
_global.useTool = false;
_root.cursor._visible = false;
_root.useItem.play();
}
}
movieClip 84 {
}
instance extcord of movieClip 84 {
onClipEvent (load) {
if (_global.haveExtcord == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
button 86 {
on (release) {
_global.useExtcord = true;
_global.useTiedcord = false;
_global.useMatches = false;
_global.usePainting = false;
_global.useBottle = false;
_global.useHammer = false;
_global.usePlunger = false;
_global.useTool = false;
_root.useItem.play();
Mouse.show();
stopDrag();
_root.cursor._visible = false;
}
}
movieClip 88 {
}
instance matches of movieClip 88 {
onClipEvent (load) {
if (_global.haveMatches == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 90 {
}
instance closetkeyinv of movieClip 90 {
onClipEvent (load) {
if (_global.haveClosetkey == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
button 91 {
on (release) {
if (_global.useMatches == true) {
_global.useMatches = false;
_global.usePainting = false;
_global.useBottle = false;
_global.useHammer = false;
_global.usePlunger = false;
_global.useTool = false;
_root.useItem.play();
Mouse.show();
stopDrag();
_root.cursor._visible = false;
} else {
_global.useMatches = true;
_global.usePainting = false;
_global.useBottle = false;
_global.useHammer = false;
_global.usePlunger = false;
_global.useTool = false;
_root.useItem.play();
Mouse.hide();
startDrag(cursor, true);
_root.cursor._visible = true;
}
}
}
movieClip 94 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance bottleinv of movieClip 94 {
onClipEvent (load) {
if (_global.bearisdead == true) {
this.gotoAndPlay(2);
} else {
this.gotoAndPlay(1);
}
}
onClipEvent (release) {
_global.useBottle = true;
_global.useHammer = false;
_global.usePainting = false;
_global.useMatches = false;
_global.usePlunger = false;
_global.useTool = false;
_root.cursor._visible = false;
_root.useItem.play();
}
}
button 95 {
on (release) {
_global.useHammer = true;
_global.usePainting = false;
_global.useBottle = false;
_global.useMatches = false;
_global.usePlunger = false;
_global.useTool = false;
_root.useItem.play();
Mouse.show();
stopDrag();
_root.cursor._visible = false;
}
}
movieClip 97 {
}
button 98 {
on (release) {
if (_root.map._visible) {
_root.map._visible = false;
_root.utilityspot._visible = false;
} else {
_root.map._visible = true;
_root.utilityspot._visible = true;
}
}
}
movieClip 100 {
}
button 101 {
on (release) {
_global.useTool = true;
_global.useExtcord = false;
_global.useMatches = false;
_global.useHammer = false;
_global.usePlunger = false;
_global.useTiedcord = false;
_global.usePainting = false;
_global.useBottle = false;
_root.useItem.play();
Mouse.show();
stopDrag();
_root.cursor._visible = false;
}
}
movieClip 103 {
}
movieClip 105 {
}
// unknown tag 88 length 138
movieClip 111 {
}
instance of movieClip 111 {
onClipEvent (load) {
if (_global.nightvision == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
// unknown tag 88 length 70
movieClip 114 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 117 {
}
movieClip 125 {
frame 1 {
utilityspot._visible = false;
bedroomspot._visible = false;
bedroomspot2._visible = false;
kitchenspot._visible = false;
bathroomspot._visible = false;
lrspot._visible = false;
hallwayspot._visible = false;
}
}
movieClip 127 {
}
// unknown tag 88 length 91
movieClip 147 {
frame 141 {
gotoAndPlay(1);
}
frame 165 {
gotoAndPlay(1);
}
frame 245 {
gotoAndPlay(1);
}
}
movieClip 159 {
}
instance cigarette of movieClip 159 {
onClipEvent (load) {
if (_global.cigarette == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 161 {
}
instance glasses of movieClip 161 {
onClipEvent (load) {
if (_global.glasses == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 163 {
}
instance nightvision of movieClip 163 {
onClipEvent (load) {
if (_global.nightvision == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 167 {
}
movieClip 168 {
}
frame 4 {
_root.cursor._visible = false;
Mouse.show();
}
frame 4 {
_root.candlehint._visible = false;
}
frame 4 {
utilityspot._visible = false;
bedroomspot._visible = false;
bedroomspot2._visible = false;
kitchenspot._visible = false;
bathroomspot._visible = false;
lrspot._visible = false;
hallwayspot._visible = false;
firsthallspot._visible = false;
}
frame 4 {
_root.sigclose._visible = false;
}
frame 4 {
onEnterFrame();
if (_global.haveCabkey == true) {
_root.invcabkey._visible = true;
} else {
_root.invcabkey._visible = false;
}
}
frame 4 {
onEnterFrame();
if (_global.haveRubystone == true) {
_root.invrubystone._visible = true;
} else {
_root.invrubystone._visible = false;
}
}
frame 4 {
onEnterFrame();
if (_global.haveBottle == true) {
_root.bottleinv._visible = true;
} else {
_root.bottleinv._visible = false;
}
}
frame 4 {
onEnterFrame();
if (_global.haveHammer == true) {
_root.hammerApply._visible = true;
} else {
_root.hammerApply._visible = false;
}
onEnterFrame();
if (_global.haveExtcord == true) {
_root.extcordApply._visible = true;
} else {
_root.extcordApply._visible = false;
}
onEnterFrame();
if (_global.haveExtcord == true) {
_root.extcord._visible = true;
} else {
_root.extcord._visible = false;
}
}
frame 4 {
onEnterFrame();
if (_global.haveMatches == true) {
_root.matchApply._visible = true;
} else {
_root.matchApply._visible = false;
}
}
frame 4 {
onEnterFrame();
if (_global.emptywall == true) {
_root.emptywall._visible = false;
} else {
_root.emptywall._visible = true;
}
onEnterFrame();
if (_global.placePainting == true) {
_root.xmarksthespot._visible = true;
} else {
_root.xmarksthespot._visible = false;
}
}
frame 4 {
onEnterFrame();
if (_global.havePainting == true) {
_root.invpainting._visible = true;
} else {
_root.invpainting._visible = false;
}
}
frame 4 {
onEnterFrame();
if (_global.placePainting == true) {
_root.wallpainting._visible = true;
} else {
_root.wallpainting._visible = false;
}
}
frame 4 {
_global.useHammer = false;
_global.useMatches = false;
_global.useTool = false;
_global.useBottle = false;
_global.usePlunger = false;
_global.usePainting = false;
_root.map._visible = false;
stop();
}
movieClip 171 {
}
button 172 {
on (release) {
framenum = new Array(3, 3, 3, 3, 3, 3);
gotoAndPlay(framenum[random(6)]);
}
}
instance invpainting of movieClip 82 {
onClipEvent (release) {
_global.usePainting = true;
_global.useBottle = false;
_global.useHammer = false;
_global.useMatches = false;
_global.usePlunger = false;
_global.useTool = false;
_root.useItem.play();
}
}
button 174 {
on (rollOver) {
_root.livingroomteller.play();
}
on (rollOut) {
_root.livingroomteller.play();
}
on (release) {
gotoAndStop(5);
}
}
button 176 {
on (rollOver) {
_root.bedroomteller.play();
}
on (rollOut) {
_root.bedroomteller.play();
}
on (release) {
if (_global.haveKey == true) {
_global.died == true;
_root.lockout.play();
framenum = new Array(10, 10, 10, 27, 10, 10, 10, 28);
gotoAndPlay(framenum[random(8)]);
} else {
this.locked.play();
}
}
}
button 177 {
on (release) {
if (_global.usePainting == true) {
_global.havePaintinghung = true;
_global.emptywall = true;
_global.placePainting = true;
_global.havePainting = false;
_global.bloodspell = true;
_root.xmarksthespot._visible = true;
_root.wallpainting._visible = true;
_root.invpainting._visible = false;
_root.emptywall._visible = false;
_root.gearticked.play();
} else {
this.toosmall.play();
}
}
}
button 178 {
on (rollOver) {
if (_global.bloodspell == true) {
gotoAndPlay(3723);
_global.bloodspell = false;
}
}
on (release) {
_root.sigclose._visible = true;
}
}
button 179 {
on (release) {
_root.candlehint._visible = true;
}
}
instance bottleinv of movieClip 94 {
onClipEvent (load) {
if (_global.bearisdead == true) {
this.gotoAndPlay(2);
} else {
this.gotoAndPlay(1);
}
}
onClipEvent (release) {
_global.useBottle = true;
_global.useHammer = false;
_global.useMatches = false;
_global.usePlunger = false;
_global.useTool = false;
_global.usePainting = false;
_root.useItem.play();
Mouse.show();
}
}
button 180 {
on (release) {
if (_root.map._visible) {
_root.map._visible = false;
_root.firsthallspot._visible = false;
} else {
_root.map._visible = true;
_root.firsthallspot._visible = true;
}
}
}
movieClip 183 {
}
movieClip 185 {
}
button 186 {
on (release) {
_root.sigclose._visible = false;
}
}
movieClip 187 {
}
movieClip 191 {
frame 1 {
stop();
}
}
movieClip 195 {
frame 1 {
stop();
}
}
movieClip 197 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 199 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
button 201 {
on (release) {
_root.candlehint._visible = false;
}
}
movieClip 202 {
}
frame 5 {
_root.cursor._visible = false;
Mouse.show();
}
frame 5 {
utilityspot._visible = false;
bedroomspot._visible = false;
bedroomspot2._visible = false;
kitchenspot._visible = false;
bathroomspot._visible = false;
lrspot._visible = false;
hallwayspot._visible = false;
firsthallspot._visible = false;
}
frame 5 {
onEnterFrame();
if (_global.haveCabkey == true) {
_root.invcabkey._visible = true;
} else {
_root.invcabkey._visible = false;
}
}
frame 5 {
onEnterFrame();
if (_global.haveRubystone == true) {
_root.invrubystone._visible = true;
} else {
_root.invrubystone._visible = false;
}
}
frame 5 {
onEnterFrame();
if (_global.haveBottle == true) {
_root.bottleinv._visible = true;
} else {
_root.bottleinv._visible = false;
}
}
frame 5 {
onEnterFrame();
if (_global.haveHammer == true) {
_root.hammerApply._visible = true;
} else {
_root.hammerApply._visible = false;
}
onEnterFrame();
if (_global.haveExtcord == true) {
_root.extcordApply._visible = true;
} else {
_root.extcordApply._visible = false;
}
onEnterFrame();
if (_global.haveExtcord == true) {
_root.extcord._visible = true;
} else {
_root.extcord._visible = false;
}
}
frame 5 {
onEnterFrame();
if (_global.haveMatches == true) {
_root.matchApply._visible = true;
} else {
_root.matchApply._visible = false;
}
}
frame 5 {
onEnterFrame();
if (_global.havePainting == true) {
_root.invpainting._visible = true;
} else {
_root.invpainting._visible = false;
}
}
frame 5 {
_root.drawer._visible = false;
}
frame 5 {
onEnterFrame();
if (_global.boxopened == true) {
_root.flameb1._visible = false;
_root.flameb2._visible = false;
_root.flameb3._visible = false;
_root.flameb4._visible = false;
_root.flameb5._visible = false;
_root.flameb6._visible = false;
_root.flame1.gotoAndPlay(14);
} else {}
}
frame 5 {
_global.useHammer = false;
_global.useMatches = false;
_global.useTool = false;
_global.useBottle = false;
_global.usePlunger = false;
_global.usePainting = false;
_root.map._visible = false;
stop();
}
movieClip 204 {
}
button 209 {
on (release) {
if (_global.boxopened == true) {
_root.drawer._visible = true;
_root.drawer.gotoAndPlay(2);
} else {
_root.drawer._visible = true;
_root.drawer.play();
_global.boxopened = true;
}
}
}
movieClip 210 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
Mouse.show();
stopDrag();
_root.cursor._visible = false;
stop();
}
}
button 212 {
on (release) {
_root.birdcoin._visible = false;
_global.haveBirdcoin = true;
_root.bell.play();
_root.foundcabkey.play();
_root.invSnakecoin._visible = true;
}
}
movieClip 213 {
}
instance of movieClip 213 {
onClipEvent (load) {
if (_global.haveBirdcoin == true) {
_root.birdcoin._visible = false;
} else {
_root.birdcoin._visible = true;
}
}
}
button 217 {
on (release) {
_root.drawer._visible = false;
}
}
button 220 {
on (release) {
_root.drawer.play();
}
}
movieClip 221 {
frame 1 {
stop();
}
instance cabinetkey of movieClip 105 {
onClipEvent (load) {
if (_global.haveCabkey == true) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (release) {
this._visible = false;
_global.haveCabkey = true;
_root.bell.play();
_root.foundcabkey.play();
_root.invcabkey._visible = true;
}
}
frame 45 {
stop();
}
instance cabinetkey of movieClip 105 {
onClipEvent (load) {
if (_global.haveCabkey == true) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (release) {
this._visible = false;
_global.haveCabkey = true;
_root.bell.play();
_root.foundcabkey.play();
_root.invcabkey._visible = true;
_root.drawer.play();
}
}
frame 57 {
stop();
}
instance cabinetkey of movieClip 105 {
onClipEvent (load) {
if (_global.haveCabkey == true) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (release) {
this._visible = false;
_global.haveCabkey = true;
_root.bell.play();
_root.foundcabkey.play();
_root.invcabkey._visible = true;
}
}
}
movieClip 223 {
}
movieClip 226 {
frame 1 {
stop();
}
frame 13 {
gotoAndPlay(6);
}
frame 14 {
stop();
}
}
button 228 {
on (rollOver) {
_root.hallwayteller.play();
}
on (rollOut) {
_root.hallwayteller.play();
}
on (release) {
framenum = new Array(4, 4, 4, 4, 4, 4, 4, 4);
gotoAndPlay(framenum[random(8)]);
}
}
button 229 {
on (rollOver) {
_root.kitchenteller.play();
}
on (rollOut) {
_root.kitchenteller.play();
}
on (release) {
if (_global.axeThrown == true) {
gotoAndStop(6);
} else {
framenum = new Array(6, 6, 6, 25, 6, 6, 6, 26);
gotoAndPlay(framenum[random(8)]);
}
}
}
button 230 {
on (rollOver) {
if (_global.useMatches == true) {
_root.flame1.play();
_root.livingroomview.play();
_root.flameb1._visible = false;
_global.flame1lit = true;
} else {}
}
}
button 231 {
on (rollOver) {
if (_global.useMatches == true) {
_root.flame2.play();
_root.livingroomview.play();
_root.flameb2._visible = false;
_global.flame2lit = true;
} else {}
}
}
button 232 {
on (rollOver) {
if (_global.useMatches == true) {
_root.flame3.play();
_root.livingroomview.play();
_root.flameb3._visible = false;
_global.flame3lit = true;
} else {}
}
}
button 233 {
on (rollOver) {
if (_global.useMatches == true) {
_root.flame4.play();
_root.livingroomview.play();
_root.flameb4._visible = false;
_global.flame4lit = true;
} else {}
}
}
button 234 {
on (rollOver) {
if (_global.useMatches == true) {
_root.flame5.play();
_root.livingroomview.play();
_root.flameb5._visible = false;
_global.flame5lit = true;
} else {}
}
}
button 235 {
on (rollOver) {
if (_global.useMatches == true) {
_root.flame6.play();
_root.livingroomview.play();
_root.flameb6._visible = false;
_global.flame6lit = true;
} else {}
}
}
instance bottleinv of movieClip 94 {
onClipEvent (load) {
if (_global.bearisdead == true) {
this.gotoAndPlay(2);
} else {
this.gotoAndPlay(1);
}
}
onClipEvent (release) {
_global.useBottle = true;
_global.useHammer = false;
_global.useMatches = false;
_global.usePlunger = false;
_global.useTool = false;
_root.useItem.play();
}
}
button 236 {
on (release) {
if (_root.map._visible) {
_root.map._visible = false;
_root.lrspot._visible = false;
} else {
_root.map._visible = true;
_root.lrspot._visible = true;
}
}
}
movieClip 238 {
frame 1 {
stop();
}
}
movieClip 240 {
frame 1 {
stop();
}
}
movieClip 242 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
frame 6 {
_root.cursor._visible = false;
Mouse.show();
}
frame 6 {
utilityspot._visible = false;
bedroomspot._visible = false;
bedroomspot2._visible = false;
kitchenspot._visible = false;
bathroomspot._visible = false;
lrspot._visible = false;
hallwayspot._visible = false;
firsthallspot._visible = false;
}
frame 6 {
onEnterFrame();
if (_global.haveCabkey == true) {
_root.invcabkey._visible = true;
} else {
_root.invcabkey._visible = false;
}
}
frame 6 {
onEnterFrame();
if (_global.haveRubystone == true) {
_root.invrubystone._visible = true;
} else {
_root.invrubystone._visible = false;
}
}
frame 6 {
onEnterFrame();
if (_global.watermess == true) {
_root.watermess._visible = true;
} else {
_root.watermess._visible = false;
}
}
frame 6 {
onEnterFrame();
if (_global.haveBottle == true) {
_root.bottleinv._visible = true;
} else {
_root.bottleinv._visible = false;
}
}
frame 6 {
onEnterFrame();
if (_global.haveHammer == true) {
_root.hammerApply._visible = true;
} else {
_root.hammerApply._visible = false;
}
onEnterFrame();
if (_global.haveExtcord == true) {
_root.extcordApply._visible = true;
} else {
_root.extcordApply._visible = false;
}
onEnterFrame();
if (_global.haveExtcord == true) {
_root.extcord._visible = true;
} else {
_root.extcord._visible = false;
}
}
frame 6 {
onEnterFrame();
if (_global.haveMatches == true) {
_root.matchApply._visible = true;
} else {
_root.matchApply._visible = false;
}
}
frame 6 {
onEnterFrame();
if (_global.havePainting == true) {
_root.invpainting._visible = true;
} else {
_root.invpainting._visible = false;
}
onEnterFrame();
if (_global.haveExtcord1 == false) {
_root.cabinetclick._visible = true;
} else {
_root.cabinetclick._visible = false;
}
}
frame 6 {
_root.cordwindow._visible = false;
}
frame 6 {
_global.useHammer = false;
_global.useMatches = false;
_global.useTool = false;
_global.useBottle = false;
_global.usePlunger = false;
_global.usePainting = false;
_root.map._visible = false;
stop();
}
movieClip 245 {
}
movieClip 247 {
}
instance of movieClip 247 {
onClipEvent (load) {
if (_global.nightvision == true && _global.haveRubystone == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 249 {
}
button 252 {
on (release) {
_root.cordwindow.play();
_global.haveExtcord = true;
_global.haveExtcord1 = true;
_root.extcordApply._visible = true;
_root.cabinetclick._visible = false;
_root.extcord._visible = true;
_root.foundcord.play();
_root.bell.play();
_root.charView.gotoAndPlay(142);
}
}
button 254 {
on (release) {
_root.cordwindow._visible = false;
_global.haveCord = true;
_root.extcord._visible = true;
_root.foundacord.play();
_root.bell.play();
_root.charView.gotoAndPlay(142);
}
}
movieClip 255 {
frame 1 {
stop();
}
frame 15 {
_root.cordwindow._visible = false;
}
}
button 257 {
on (rollOver) {
_root.livingroomteller.play();
}
on (rollOut) {
_root.livingroomteller.play();
}
on (release) {
framenum = new Array(5, 5, 5, 5, 5, 5, 5, 5);
gotoAndPlay(framenum[random(8)]);
}
}
button 258 {
on (rollOver) {
_root.hallwayteller.play();
}
on (rollOut) {
_root.hallwayteller.play();
}
on (release) {
framenum = new Array(7, 7, 7, 7, 7, 7);
gotoAndPlay(framenum[random(6)]);
}
}
button 259 {
on (release) {
if (_global.usePlunger == true) {
_root.plunged.play();
_global.watermess = true;
_root.watermess._visible = true;
} else {
_root.itsasink.play();
_global.useMatches = false;
_global.usePlunger = false;
}
}
}
button 260 {
on (release) {
if (_global.useTool == true) {
_global.usePlunger = true;
_global.useHammer = false;
_global.useMatches = false;
_global.useTool = false;
_root.useItem.play();
} else {
_root.itsaplunger.play();
_global.useMatches = false;
_global.useTool = false;
}
}
}
button 261 {
on (release) {
if (_global.haveCabkey == true) {
_root.cordwindow._visible = true;
_root.lockout.play();
} else {
this.locked.play();
}
}
}
button 262 {
on (release) {
if (_global.haveCabkey == true) {
this.locked.play();
} else {
this.locked.play();
}
}
}
button 263 {
on (release) {
if (_root.map._visible) {
_root.map._visible = false;
_root.kitchenspot._visible = false;
} else {
_root.map._visible = true;
_root.kitchenspot._visible = true;
}
}
}
movieClip 265 {
}
movieClip 267 {
frame 1 {
stop();
}
}
movieClip 270 {
frame 1 {
stop();
}
frame 5 {
_global.usePlunger = false;
}
}
movieClip 272 {
frame 1 {
stop();
}
}
frame 7 {
_root.cursor._visible = false;
Mouse.show();
}
frame 7 {
utilityspot._visible = false;
bedroomspot._visible = false;
bedroomspot2._visible = false;
kitchenspot._visible = false;
bathroomspot._visible = false;
lrspot._visible = false;
hallwayspot._visible = false;
firsthallspot._visible = false;
}
frame 7 {
onEnterFrame();
if (_global.haveCabkey == true) {
_root.invcabkey._visible = true;
} else {
_root.invcabkey._visible = false;
}
}
frame 7 {
onEnterFrame();
if (_global.haveRubystone == true) {
_root.invrubystone._visible = true;
} else {
_root.invrubystone._visible = false;
}
}
frame 7 {
onEnterFrame();
if (_global.haveBottle == true) {
_root.bottleinv._visible = true;
} else {
_root.bottleinv._visible = false;
}
}
frame 7 {
onEnterFrame();
if (_global.haveHammer == true) {
_root.hammerApply._visible = true;
} else {
_root.hammerApply._visible = false;
}
onEnterFrame();
if (_global.haveExtcord == true) {
_root.extcordApply._visible = true;
} else {
_root.extcordApply._visible = false;
}
onEnterFrame();
if (_global.haveExtcord == true) {
_root.extcord._visible = true;
} else {
_root.extcord._visible = false;
}
}
frame 7 {
onEnterFrame();
if (_global.haveMatches == true) {
_root.matchApply._visible = true;
} else {
_root.matchApply._visible = false;
}
}
frame 7 {
onEnterFrame();
if (_global.havePainting == true) {
_root.invpainting._visible = true;
} else {
_root.invpainting._visible = false;
}
}
frame 7 {
onEnterFrame();
if (_global.haveHammer == true) {
_root.openhole._visible = false;
_root.webbing._visible = false;
} else {
_root.openhole._visible = true;
_root.webbing._visible = true;
}
_global.useHammer = false;
_global.useMatches = false;
_global.useTool = false;
_global.useBottle = false;
_global.usePlunger = false;
_global.usePainting = false;
_root.map._visible = false;
stop();
}
movieClip 275 {
}
button 276 {
on (rollOver) {
_root.kitchenteller.play();
}
on (rollOut) {
_root.kitchenteller.play();
}
on (release) {
gotoAndStop(6);
}
}
button 277 {
on (rollOver) {
_root.bathroomteller.play();
}
on (rollOut) {
_root.bathroomteller.play();
}
on (release) {
gotoAndStop(8);
}
}
button 278 {
on (rollOver) {
_root.bedroomteller.play();
}
on (rollOut) {
_root.bedroomteller.play();
}
on (release) {
this.locked.play();
}
}
button 279 {
on (rollOver) {
if (_global.useMatches == true) {
_root.webbing.play();
Mouse.show();
stopDrag();
_root.cursor._visible = false;
} else {}
}
on (release) {
_root.spiders.play();
}
}
movieClip 291 {
frame 1 {
stop();
}
frame 17 {
_root.grabHammer.play();
_root.openhole._visible = false;
_root.webbing._visible = false;
}
}
movieClip 294 {
frame 1 {
stop();
}
}
movieClip 348 {
frame 1 {
stop();
}
frame 45 {
_root.hammer._visible = true;
_root.hammerApply._visible = true;
_global.haveHammer = true;
_global.haveHammerskull = true;
_root.foundahammer.play();
_root.bell.play();
}
}
button 349 {
on (release) {
if (_root.map._visible) {
_root.map._visible = false;
_root.hallwayspot._visible = false;
} else {
_root.map._visible = true;
_root.hallwayspot._visible = true;
}
}
}
movieClip 351 {
}
movieClip 352 {
frame 1 {
stop();
}
}
movieClip 354 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
frame 8 {
_root.cursor._visible = false;
Mouse.show();
}
frame 8 {
utilityspot._visible = false;
bedroomspot._visible = false;
bedroomspot2._visible = false;
kitchenspot._visible = false;
bathroomspot._visible = false;
lrspot._visible = false;
hallwayspot._visible = false;
firsthallspot._visible = false;
}
frame 8 {
onEnterFrame();
if (_global.haveCabkey == true) {
_root.invcabkey._visible = true;
} else {
_root.invcabkey._visible = false;
}
}
frame 8 {
onEnterFrame();
if (_global.haveRubystone == true) {
_root.invrubystone._visible = true;
} else {
_root.invrubystone._visible = false;
}
}
frame 8 {
onEnterFrame();
if (_global.haveBottle == true) {
_root.bottleinv._visible = true;
} else {
_root.bottleinv._visible = false;
}
}
frame 8 {
onEnterFrame();
if (_global.haveHammer == true) {
_root.hammerApply._visible = true;
} else {
_root.hammerApply._visible = false;
}
onEnterFrame();
if (_global.haveExtcord == true) {
_root.extcordApply._visible = true;
} else {
_root.extcordApply._visible = false;
}
onEnterFrame();
if (_global.haveExtcord == true) {
_root.extcord._visible = true;
} else {
_root.extcord._visible = false;
}
}
frame 8 {
onEnterFrame();
if (_global.haveMatches == true) {
_root.matchApply._visible = true;
} else {
_root.matchApply._visible = false;
}
}
frame 8 {
_root.closetkey._visible = false;
_root.wallbreak._visible = false;
onEnterFrame();
if (_global.haveClosetkey == true) {
_root.dillywop._visible = false;
_root.wallbreak._visible = true;
} else {
_root.dillywop._visible = true;
}
}
frame 8 {
onEnterFrame();
if (_global.havePainting == true) {
_root.invpainting._visible = true;
} else {
_root.invpainting._visible = false;
}
}
frame 8 {
onEnterFrame();
if (_global.woodbroke == true) {
_root.woodbreak._visible = false;
} else {
_root.woodbreak._visible = true;
}
}
frame 8 {
onEnterFrame();
if (_global.haveKey == true) {
_root.keybutton._visible = false;
} else {
_root.keybutton._visible = true;
}
_global.useHammer = false;
_global.useMatches = false;
_global.useTool = false;
_global.useBottle = false;
_global.usePlunger = false;
_global.usePainting = false;
_root.map._visible = false;
stop();
}
movieClip 357 {
}
movieClip 359 {
}
instance of movieClip 359 {
onClipEvent (load) {
if (_global.nightvision == true && _global.haveHammer == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 361 {
}
instance woodbreak of movieClip 361 {
onClipEvent (release) {
if (_global.useHammer == true) {
_global.woodbroke = true;
_root.puffcloud.play();
_root.woodbreak._visible = false;
_global.useHammer = false;
} else {
this.toosmall.play();
}
}
}
movieClip 364 {
frame 1 {
stop();
}
}
instance keybutton of movieClip 78 {
onClipEvent (release) {
this._visible = false;
_global.haveKey = true;
_root.foundaKey.play();
_root.bell.play();
_root.charView.gotoAndPlay(142);
_root.key._visible = true;
}
}
button 366 {
on (release) {
if (_global.woodbroke == true) {
gotoAndStop(9);
} else {
this.toosmall.play();
}
}
}
button 367 {
on (release) {
if (_global.watermess == true) {
gotoAndPlay(4832);
} else {
gotoAndPlay(4672);
}
}
}
button 368 {
on (release) {
if (_global.useHammer == true) {
_root.wallbreak._visible = true;
_root.closetkey._visible = true;
_root.dillywop._visible = false;
_global.brokenwall = true;
_root.puffcloud2.play();
} else {
_global.useHammer = false;
}
}
}
button 369 {
on (rollOver) {
if (_global.haveHammerskull == true && _global.useMatches == true) {
_root.quickscare._visible = false;
_root.skullFlash.play();
_root.charView.gotoAndPlay(166);
_global.haveHammerskull = false;
} else {}
}
on (release) {
if (_global.haveHammerskull == false) {
_root.itsamirror.play();
} else {
_root.itsamirror.play();
}
}
}
movieClip 371 {
}
instance closetkey of movieClip 90 {
onClipEvent (release) {
this._visible = false;
_global.haveClosetkey = true;
_root.foundaKey.play();
_root.bell.play();
_root.charView.gotoAndPlay(142);
_root.closetkeyinv._visible = true;
}
}
button 372 {
on (release) {
if (_root.map._visible) {
_root.map._visible = false;
_root.bathroomspot._visible = false;
} else {
_root.map._visible = true;
_root.bathroomspot._visible = true;
}
}
}
movieClip 374 {
}
movieClip 375 {
frame 1 {
stop();
}
}
movieClip 377 {
frame 1 {
stop();
}
}
movieClip 379 {
frame 1 {
stop();
}
}
movieClip 386 {
frame 1 {
stop();
}
frame 9 {
gotoAndStop(1);
}
}
frame 9 {
_root.cursor._visible = false;
Mouse.show();
}
frame 9 {
utilityspot._visible = false;
bedroomspot._visible = false;
bedroomspot2._visible = false;
kitchenspot._visible = false;
bathroomspot._visible = false;
lrspot._visible = false;
hallwayspot._visible = false;
firsthallspot._visible = false;
}
frame 9 {
onEnterFrame();
if (_global.haveCabkey == true) {
_root.invcabkey._visible = true;
} else {
_root.invcabkey._visible = false;
}
}
frame 9 {
onEnterFrame();
if (_global.haveRubystone == true) {
_root.invrubystone._visible = true;
} else {
_root.invrubystone._visible = false;
}
}
frame 9 {
onEnterFrame();
if (_global.haveBottle == true) {
_root.bottleinv._visible = true;
} else {
_root.bottleinv._visible = false;
}
}
frame 9 {
onEnterFrame();
if (_global.haveHammer == true) {
_root.hammerApply._visible = true;
} else {
_root.hammerApply._visible = false;
}
onEnterFrame();
if (_global.haveExtcord == true) {
_root.extcordApply._visible = true;
} else {
_root.extcordApply._visible = false;
}
onEnterFrame();
if (_global.haveExtcord == true) {
_root.extcord._visible = true;
} else {
_root.extcord._visible = false;
}
}
frame 9 {
onEnterFrame();
if (_global.haveMatches == true) {
_root.matchApply._visible = true;
} else {
_root.matchApply._visible = false;
}
}
frame 9 {
onEnterFrame();
if (_global.havePainting == true) {
_root.invpainting._visible = true;
} else {
_root.invpainting._visible = false;
}
}
frame 9 {
_global.useHammer = false;
_global.useMatches = false;
_global.useTool = false;
_global.useBottle = false;
_global.usePlunger = false;
_global.usePainting = false;
_root.map._visible = false;
_global.needmore = false;
stop();
}
movieClip 390 {
}
instance of movieClip 390 {
onClipEvent (load) {
if (_global.nightvision == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 391 {
}
instance birdcoin of movieClip 391 {
onClipEvent (load) {
if (_global.haveBirdcoin == true) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (release) {
this._visible = false;
_global.haveBirdcoin = true;
_root.bell.play();
_root.foundBirdcoin.play();
_root.invBirdcoin._visible = true;
}
}
button 392 {
on (rollOver) {
_root.bathroomteller.play();
}
on (rollOut) {
_root.bathroomteller.play();
}
on (release) {
_root.demonlaugh.stopAllSounds();
framenum = new Array(8, 8, 8, 8, 8, 8);
gotoAndPlay(framenum[random(6)]);
}
}
button 393 {
on (release) {
if (_global.haveRubystone == true) {
gotoAndStop(14);
} else {
gotoAndPlay(29);
}
}
}
movieClip 395 {
frame 1 {
stop();
}
}
movieClip 429 {
}
movieClip 430 {
}
frame 10 {
_root.cursor._visible = false;
Mouse.show();
}
frame 10 {
utilityspot._visible = false;
bedroomspot._visible = false;
bedroomspot2._visible = false;
kitchenspot._visible = false;
bathroomspot._visible = false;
lrspot._visible = false;
hallwayspot._visible = false;
firsthallspot._visible = false;
}
frame 10 {
onEnterFrame();
if (_global.haveCabkey == true) {
_root.invcabkey._visible = true;
} else {
_root.invcabkey._visible = false;
}
}
frame 10 {
onEnterFrame();
if (_global.haveRubystone == true) {
_root.invrubystone._visible = true;
} else {
_root.invrubystone._visible = false;
}
}
frame 10 {
onEnterFrame();
if (_global.haveBottle == true) {
_root.bottleinv._visible = true;
} else {
_root.bottleinv._visible = false;
}
}
frame 10 {
onEnterFrame();
if (_global.haveHammer == true) {
_root.hammerApply._visible = true;
} else {
_root.hammerApply._visible = false;
}
onEnterFrame();
if (_global.haveExtcord == true) {
_root.extcordApply._visible = true;
} else {
_root.extcordApply._visible = false;
}
onEnterFrame();
if (_global.haveExtcord == true) {
_root.extcord._visible = true;
} else {
_root.extcord._visible = false;
}
}
frame 10 {
onEnterFrame();
if (_global.haveMatches == true) {
_root.matchApply._visible = true;
} else {
_root.matchApply._visible = false;
}
}
frame 10 {
onEnterFrame();
if (_global.placePainting == true) {
_root.xmark._visible = true;
} else {
_root.xmark._visible = false;
}
}
frame 10 {
onEnterFrame();
if (_global.havePainting == true) {
_root.invpainting._visible = true;
} else {
_root.invpainting._visible = false;
}
}
frame 10 {
_root.deadbear._visible = false;
}
frame 10 {
_global.useHammer = false;
_global.useMatches = false;
_global.useTool = false;
_global.usePlunger = false;
_global.useBottle = false;
_global.usePainting = false;
_root.map._visible = false;
_root.moonlight._visible = false;
_root.matchesButton._visible = false;
stop();
}
movieClip 433 {
}
movieClip 435 {
}
instance deadbear of movieClip 435 {
onClipEvent (load) {
if (_global.bearisdead == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 437 {
}
instance of movieClip 437 {
onClipEvent (load) {
if (_global.nightvision == true && _global.bearisdead == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
instance matchesButton of movieClip 88 {
onClipEvent (release) {
this._visible = false;
_global.haveMatches = true;
_root.matches._visible = true;
_root.matchApply._visible = true;
_root.charView.gotoAndPlay(142);
_root.bell2.play();
_root.foundmatches.play();
}
}
movieClip 440 {
}
movieClip 442 {
}
movieClip 444 {
frame 1 {
_root.moonlight._visible = false;
stop();
}
frame 2 {
onEnterFrame();
if (_global.haveMatches == true) {
_root.matchesButton._visible = false;
} else {
_root.matchesButton._visible = true;
}
_root.moonlight._visible = true;
stop();
}
}
movieClip 446 {
}
instance of movieClip 446 {
onClipEvent (release) {
_root.curtain.play();
}
}
movieClip 448 {
}
movieClip 456 {
frame 10 {
stop();
}
}
button 457 {
on (release) {
if (_root.map._visible) {
_root.map._visible = false;
_root.bedroomspot._visible = false;
} else {
_root.map._visible = true;
_root.bedroomspot._visible = true;
}
}
}
movieClip 459 {
}
movieClip 460 {
frame 1 {
stop();
}
}
button 461 {
on (release) {
if (_global.haveClosetkey == true) {
gotoAndPlay(11);
} else {
this.locked.play();
_global.useClosetkey = false;
}
}
}
button 462 {
on (release) {
if (_global.havePaintinghung == true) {
gotoAndPlay(13);
} else {
this.locked.play();
_global.useClosetkey = false;
}
}
}
frame 11 {
_root.cursor._visible = false;
Mouse.show();
}
frame 11 {
utilityspot._visible = false;
bedroomspot._visible = false;
bedroomspot2._visible = false;
kitchenspot._visible = false;
bathroomspot._visible = false;
lrspot._visible = false;
hallwayspot._visible = false;
firsthallspot._visible = false;
}
frame 11 {
onEnterFrame();
if (_global.haveCabkey == true) {
_root.invcabkey._visible = true;
} else {
_root.invcabkey._visible = false;
}
}
frame 11 {
onEnterFrame();
if (_global.haveRubystone == true) {
_root.invrubystone._visible = true;
} else {
_root.invrubystone._visible = false;
}
}
frame 11 {
onEnterFrame();
if (_global.haveBottle == true) {
_root.bottleinv._visible = true;
} else {
_root.bottleinv._visible = false;
}
}
frame 11 {
onEnterFrame();
if (_global.haveHammer == true) {
_root.hammerApply._visible = true;
} else {
_root.hammerApply._visible = false;
}
onEnterFrame();
if (_global.haveExtcord == true) {
_root.extcordApply._visible = true;
} else {
_root.extcordApply._visible = false;
}
onEnterFrame();
if (_global.haveExtcord == true) {
_root.extcord._visible = true;
} else {
_root.extcord._visible = false;
}
}
frame 11 {
onEnterFrame();
if (_global.havePainting == true) {
_root.invpainting._visible = true;
} else {
_root.invpainting._visible = false;
}
}
frame 11 {
_global.useHammer = false;
_global.useBottle = false;
_global.useMatches = false;
_global.useTool = false;
_global.usePlunger = false;
_global.usePainting = false;
_root.map._visible = false;
stop();
}
movieClip 465 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance invSnakecoin of movieClip 60 {
onClipEvent (load) {
if (_global.haveSnakecoin == true) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (release) {
this._visible = false;
_global.haveSnakecoin = true;
_root.bell.play();
_root.foundSnakecoin.play();
_root.invSnakecoin._visible = true;
}
}
}
instance closetscene1 of movieClip 465 {
onClipEvent (load) {
if (_global.bearisdead == true) {
this.gotoAndPlay(2);
} else {}
}
}
button 467 {
on (release) {
framenum = new Array(10, 10, 10, 10, 10, 10, 10, 10);
gotoAndPlay(framenum[random(8)]);
}
}
button 468 {
on (release) {
framenum = new Array(11, 11, 11, 11, 11, 11, 11, 11);
gotoAndPlay(framenum[random(8)]);
}
}
button 469 {
on (release) {
if (_global.useBottle == true) {
gotoAndPlay(3839);
} else {
this.missinganeye.play();
}
}
}
movieClip 471 {
frame 1 {
stop();
}
}
movieClip 473 {
frame 1 {
stop();
}
}
frame 12 {
_root.cursor._visible = false;
Mouse.show();
}
frame 12 {
utilityspot._visible = false;
bedroomspot._visible = false;
bedroomspot2._visible = false;
kitchenspot._visible = false;
bathroomspot._visible = false;
lrspot._visible = false;
hallwayspot._visible = false;
firsthallspot._visible = false;
}
frame 12 {
onEnterFrame();
if (_global.haveCabkey == true) {
_root.invcabkey._visible = true;
} else {
_root.invcabkey._visible = false;
}
}
frame 12 {
onEnterFrame();
if (_global.haveRubystone == true) {
_root.invrubystone._visible = true;
} else {
_root.invrubystone._visible = false;
}
}
frame 12 {
onEnterFrame();
if (_global.haveBottle == true) {
_root.bottleinv._visible = true;
} else {
_root.bottleinv._visible = false;
}
}
frame 12 {
onEnterFrame();
if (_global.haveHammer == true) {
_root.hammerApply._visible = true;
} else {
_root.hammerApply._visible = false;
}
onEnterFrame();
if (_global.haveExtcord == true) {
_root.extcordApply._visible = true;
} else {
_root.extcordApply._visible = false;
}
onEnterFrame();
if (_global.haveExtcord == true) {
_root.extcord._visible = true;
} else {
_root.extcord._visible = false;
}
}
frame 12 {
onEnterFrame();
if (_global.haveRubystone == true) {
_root.invrubystone._visible = true;
} else {
_root.invrubystone._visible = false;
}
}
frame 12 {
onEnterFrame();
if (_global.paintingGone == true) {
_root.Painting._visible = false;
} else {
_root.Painting._visible = true;
}
}
frame 12 {
_global.useHammer = false;
_global.useBottle = false;
_global.useMatches = false;
_global.useTool = false;
_global.usePlunger = false;
_global.usePainting = false;
_root.map._visible = false;
stop();
}
instance mousecoin of movieClip 391 {
onClipEvent (load) {
if (_global.haveMousecoin == true) {
this._visible = false;
} else {
this._visible = true;
}
}
onClipEvent (release) {
this._visible = false;
_global.haveMousecoin = true;
_root.bell.play();
_root.foundMousecoin.play();
_root.invMousecoin._visible = true;
}
}
instance Painting of movieClip 82 {
onClipEvent (release) {
this._visible = false;
_global.havePainting = true;
_global.paintingGone = true;
_root.bell.play();
_root.foundpainting.play();
_root.invpainting._visible = true;
}
}
button 476 {
on (release) {
framenum = new Array(10, 10, 10, 10, 10, 10, 10, 10);
gotoAndPlay(framenum[random(8)]);
}
}
movieClip 478 {
frame 1 {
stop();
}
}
movieClip 480 {
frame 1 {
stop();
}
}
frame 13 {
_root.cursor._visible = false;
Mouse.show();
}
frame 13 {
utilityspot._visible = false;
bedroomspot._visible = false;
bedroomspot2._visible = false;
kitchenspot._visible = false;
bathroomspot._visible = false;
lrspot._visible = false;
hallwayspot._visible = false;
firsthallspot._visible = false;
}
frame 13 {
onEnterFrame();
if (_global.haveRubystone == true) {
_root.rubystone._visible = true;
} else {
_root.rubystone._visible = false;
}
}
frame 13 {
onEnterFrame();
if (_global.haveCabkey == true) {
_root.invcabkey._visible = true;
} else {
_root.invcabkey._visible = false;
}
}
frame 13 {
onEnterFrame();
if (_global.haveRubystone == true) {
_root.invrubystone._visible = true;
} else {
_root.invrubystone._visible = false;
}
}
frame 13 {
onEnterFrame();
if (_global.haveRubystone == true) {
_root.rubystone._visible = false;
} else {
_root.rubystone._visible = true;
}
}
frame 13 {
onEnterFrame();
if (_global.haveBottle == true) {
_root.bottleinv._visible = true;
} else {
_root.bottleinv._visible = false;
}
}
frame 13 {
onEnterFrame();
if (_global.haveHammer == true) {
_root.hammerApply._visible = true;
} else {
_root.hammerApply._visible = false;
}
onEnterFrame();
if (_global.haveExtcord == true) {
_root.extcordApply._visible = true;
} else {
_root.extcordApply._visible = false;
}
onEnterFrame();
if (_global.haveExtcord == true) {
_root.extcord._visible = true;
} else {
_root.extcord._visible = false;
}
}
frame 13 {
_global.useHammer = false;
_global.useBottle = false;
_global.useMatches = false;
_global.useTool = false;
_global.usePlunger = false;
_global.usePainting = false;
_root.map._visible = false;
stop();
}
movieClip 483 {
}
instance rubystone of movieClip 103 {
onClipEvent (release) {
this._visible = false;
_global.haveRubystone = true;
_root.bell.play();
_root.foundrubystone.play();
_root.invrubystone._visible = true;
}
}
movieClip 485 {
frame 1 {
stop();
}
}
frame 14 {
_root.cursor._visible = false;
Mouse.show();
}
frame 14 {
utilityspot._visible = false;
bedroomspot._visible = false;
bedroomspot2._visible = false;
kitchenspot._visible = false;
bathroomspot._visible = false;
lrspot._visible = false;
hallwayspot._visible = false;
firsthallspot._visible = false;
}
frame 14 {
onEnterFrame();
if (_global.haveCabkey == true) {
_root.invcabkey._visible = true;
} else {
_root.invcabkey._visible = false;
}
}
frame 14 {
onEnterFrame();
if (_global.haveRubystone == true) {
_root.invrubystone._visible = true;
} else {
_root.invrubystone._visible = false;
}
}
frame 14 {
onEnterFrame();
if (_global.haveBottle == true) {
_root.bottleinv._visible = true;
} else {
_root.bottleinv._visible = false;
}
}
frame 14 {
onEnterFrame();
if (_global.haveHammer == true) {
_root.hammerApply._visible = true;
} else {
_root.hammerApply._visible = false;
}
onEnterFrame();
if (_global.haveExtcord == true) {
_root.extcordApply._visible = true;
} else {
_root.extcordApply._visible = false;
}
onEnterFrame();
if (_global.haveExtcord == true) {
_root.extcord._visible = true;
} else {
_root.extcord._visible = false;
}
}
frame 14 {
_global.useHammer = false;
_global.useBottle = false;
_global.useMatches = false;
_global.useTool = false;
_global.usePlunger = false;
_global.usePainting = false;
_root.map._visible = false;
stop();
}
movieClip 488 {
}
button 489 {
on (release) {
framenum = new Array(9, 9, 9, 9, 9, 9, 9, 9);
gotoAndPlay(framenum[random(8)]);
}
}
button 490 {
on (release) {
gotoAndPlay(2822);
}
on (release) {
if (_global.useTiedcord == true) {
_global.jumpcord = true;
gotoAndPlay(2822);
} else {
gotoAndPlay(2822);
}
}
}
button 491 {
on (release) {
if (_global.useExtcord == true) {
_root.tiedcord._visible = true;
_root.extcord._visible = false;
_root.extcordApply._visible = false;
_root.tiedcord.play();
_global.haveExtcord = false;
_global.tieExtcord = true;
_global.useExtcord = false;
} else {
this.itsapipe.play();
_global.UseExtcord = false;
}
}
}
movieClip 495 {
frame 1 {
stop();
}
}
instance tiedcord of movieClip 495 {
onClipEvent (load) {
if (_global.tieExtcord == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (release) {
if (_global.useTool == true) {
_global.useTiedcord = true;
_global.useHammer = false;
_global.useExtcord = false;
_global.usePainting = false;
_global.useBottle = false;
_global.useMatches = false;
_global.usePlunger = false;
_global.useTool = false;
_root.useItem.play();
} else {
_root.itstiedtight.play();
_global.useMatches = false;
_global.useTool = false;
}
}
}
button 496 {
on (release) {
if (_root.map._visible) {
_root.map._visible = false;
_root.bedroomspot2._visible = false;
} else {
_root.map._visible = true;
_root.bedroomspot2._visible = true;
}
}
}
movieClip 498 {
frame 1 {
stop();
}
}
movieClip 500 {
frame 1 {
stop();
}
frame 64 {
stop();
}
}
movieClip 502 {
frame 70 {
_global.needmore = false;
}
frame 75 {
stop();
}
}
instance missingsomething of movieClip 502 {
onClipEvent (load) {
if (_global.needmore == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
frame 15 {
_root.cursor._visible = false;
Mouse.show();
}
frame 15 {
utilityspot._visible = false;
bedroomspot._visible = false;
bedroomspot2._visible = false;
kitchenspot._visible = false;
bathroomspot._visible = false;
lrspot._visible = false;
hallwayspot._visible = false;
firsthallspot._visible = false;
}
frame 15 {
onEnterFrame();
if (_global.haveCabkey == true) {
_root.invcabkey._visible = true;
} else {
_root.invcabkey._visible = false;
}
}
frame 15 {
onEnterFrame();
if (_global.haveRubystone == true) {
_root.invrubystone._visible = true;
} else {
_root.invrubystone._visible = false;
}
}
frame 15 {
onEnterFrame();
if (_global.haveBottle == true) {
_root.bottleinv._visible = true;
} else {
_root.bottleinv._visible = false;
}
}
frame 15 {
onEnterFrame();
if (_global.haveHammer == true) {
_root.hammerApply._visible = true;
} else {
_root.hammerApply._visible = false;
}
onEnterFrame();
if (_global.haveExtcord == true) {
_root.extcordApply._visible = true;
} else {
_root.extcordApply._visible = false;
}
onEnterFrame();
if (_global.haveExtcord == true) {
_root.extcord._visible = true;
} else {
_root.extcord._visible = false;
}
}
frame 15 {
onEnterFrame();
if (_global.haveMatches == true) {
_root.matchApply._visible = true;
} else {
_root.matchApply._visible = false;
}
}
frame 15 {
_root.ending1hint._visible = false;
_root.ending3hint._visible = false;
_root.hintnote._visible = false;
}
frame 15 {
onEnterFrame();
if (_global.ending1 == true) {
_root.ending1way._visible = true;
} else {
_root.ending1way._visible = false;
}
onEnterFrame();
if (_global.ending2 == true) {
_root.ending2way._visible = true;
} else {
_root.ending2way._visible = false;
}
onEnterFrame();
if (_global.ending3 == true) {
_root.ending3way._visible = true;
} else {
_root.ending3way._visible = false;
}
}
frame 15 {
_global.useHammer = false;
_global.useBottle = false;
_global.useMatches = false;
_global.useTool = false;
_global.usePlunger = false;
_global.usePainting = false;
_root.map._visible = false;
stopAllSounds();
stop();
}
movieClip 505 {
}
button 507 {
on (release) {
_root.ending1hint._visible = true;
}
}
button 509 {
on (release) {
_root.ending3hint._visible = true;
}
}
movieClip 515 {
}
movieClip 522 {
frame 66 {
stop();
}
}
movieClip 528 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
instance of movieClip 528 {
onClipEvent (load) {
if (_global.ending1 == true) {
this.gotoAndStop(2);
}
if (_global.ending2 == true) {
this.gotoAndStop(3);
}
if (_global.ending3 == true) {
this.gotoAndStop(4);
}
}
onClipEvent (load) {
if (_global.ending1 == true) {
_root.slot5.gotoAndStop(3);
_root.slot4.gotoAndStop(2);
_root.slot1.gotoAndStop(4);
_root.puzzlebutton._visible = false;
} else {}
}
onClipEvent (load) {
if (_global.ending2 == true) {
_root.slot5.gotoAndStop(3);
_root.slot3.gotoAndStop(4);
_root.slot2.gotoAndStop(2);
_root.puzzlebutton._visible = false;
} else {}
}
onClipEvent (load) {
if (_global.ending3 == true) {
_root.slot1.gotoAndStop(2);
_root.slot3.gotoAndStop(4);
_root.slot4.gotoAndStop(3);
_root.puzzlebutton._visible = false;
} else {}
}
}
movieClip 535 {
frame 21 {
stop();
}
}
instance doorclosed of movieClip 535 {
onClipEvent (load) {
if (_global.doorclosed == true) {
this.gotoAndPlay(21);
} else {
this._visible = true;
}
if (_global.ending1 == true) {
this.gotoAndPlay(21);
} else {
this._visible = true;
}
if (_global.ending2 == true) {
this.gotoAndPlay(21);
} else {
this._visible = true;
}
if (_global.ending3 == true) {
this.gotoAndPlay(21);
} else {
this._visible = true;
}
}
}
button 536 {
on (release) {
gotoAndPlay(2766);
_global.doorclosed = true;
}
}
button 537 {
on (release) {
_root.hintnote._visible = true;
_root.charView.gotoAndPlay(142);
_root.hintnote.play();
}
}
button 538 {
on (release) {
_root.money += 500000;
gotoAndPlay(1111);
}
}
button 539 {
on (release) {
_root.money += 3500000;
gotoAndPlay(1111);
}
}
button 540 {
on (release) {
_root.money += 1000000;
gotoAndPlay(1111);
}
}
movieClip 546 {
frame 1 {
stop();
}
frame 2 {
_global.useMC = false;
stop();
}
frame 3 {
_global.useBC = false;
stop();
}
frame 4 {
_global.useSC = false;
stop();
}
}
movieClip 548 {
}
instance of movieClip 548 {
onClipEvent (load) {
if (_global.nightvision == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 551 {
}
button 552 {
on (release) {
this._visible = false;
}
}
movieClip 553 {
}
movieClip 556 {
}
movieClip 561 {
frame 1 {
stop();
}
}
button 562 {
on (release) {
_global.useMatches = true;
_global.useTiedcord = false;
_global.useExtcord = false;
_global.usePainting = false;
_global.useBottle = false;
_global.useHammer = false;
_global.usePlunger = false;
_global.useTool = false;
_root.useItem.play();
}
}
button 563 {
on (release) {
_global.useHammer = true;
_global.useExtcord = false;
_global.useTiedcord = false;
_global.usePainting = false;
_global.useBottle = false;
_global.useMatches = false;
_global.usePlunger = false;
_global.useTool = false;
_root.useItem.play();
}
}
frame 25 {
gotoAndPlay(5510);
}
frame 26 {
gotoAndPlay(5750);
}
instance extcord of movieClip 84 {
onClipEvent (load) {
if (_global.haveCord == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
frame 27 {
gotoAndPlay(3311);
}
frame 28 {
gotoAndPlay(3517);
}
movieClip 568 {
}
movieClip 579 {
}
movieClip 581 {
}
movieClip 600 {
}
movieClip 621 {
frame 21 {
stop();
}
}
frame 148 {
gotoAndPlay(5990);
}
frame 149 {
onEnterFrame();
_root.lives = 3;
if (3) {
_root.kongregateStats.submit('nodeath', 1);
}
}
button 625 {
on (release) {
stopAllSounds();
gotoAndPlay(2);
}
}
// unknown tag 88 length 206
// unknown tag 88 length 43
frame 1048 {
_global.purchaseunlock = true;
gotoAndPlay(2);
}
movieClip 631 {
}
movieClip 633 {
}
movieClip 635 {
}
movieClip 638 {
}
movieClip 639 {
}
movieClip 643 {
frame 55 {
stop();
}
}
frame 1110 {
_global.haveMousecoin = true;
_global.haveSnakecoin = true;
_global.haveBirdcoin = true;
gotoAndPlay(5990);
}
movieClip 654 {
}
frame 1583 {
onEnterFrame();
if (_global.ending1 == true) {
gotoAndPlay(2126);
} else {}
onEnterFrame();
if (_global.ending2 == true) {
gotoAndPlay(1584);
} else {}
onEnterFrame();
if (_global.ending3 == true) {
gotoAndPlay(2126);
} else {}
}
movieClip 655 {
}
movieClip 658 {
}
movieClip 663 {
}
movieClip 665 {
}
movieClip 667 {
}
frame 2125 {
gotoAndPlay(2656);
}
movieClip 670 {
}
movieClip 672 {
}
movieClip 674 {
}
movieClip 675 {
}
movieClip 677 {
}
instance of movieClip 677 {
onClipEvent (load) {
if (_global.ending1 == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 679 {
}
instance of movieClip 679 {
onClipEvent (load) {
if (_global.ending3 == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
frame 2655 {
gotoAndPlay(2656);
}
movieClip 682 {
}
movieClip 683 {
}
movieClip 685 {
}
frame 2765 {
gotoAndPlay(149);
}
frame 2766 {
_global.haveMousecoin = true;
_global.haveSnakecoin = true;
_global.haveBirdcoin = true;
_global.MCinsert = false;
_global.MCinsert2 = false;
_global.MCinsert3 = false;
_global.BCinsert = false;
_global.BCinsert2 = false;
_global.SCinsert = false;
_global.SCinsert2 = false;
_global.SCinsert3 = false;
_global.ending1 = false;
_global.ending2 = false;
_global.ending3 = false;
_global.crushed = true;
}
movieClip 687 {
}
button 693 {
on (release) {
if (_global.useMC == true) {
_root.slot5.gotoAndStop(2);
_global.haveMousecoin = false;
_root.invMousecoin._visible = false;
_root.slot5b._visible = false;
} else {
this.thecoinfits.play();
}
if (_global.useBC == true) {
_root.slot5.gotoAndStop(3);
_global.haveBirdcoin = false;
_global.BCinsert = true;
_root.invBirdcoin._visible = false;
_root.slot5b._visible = false;
} else {
this.thecoinfits.play();
}
if (_global.useSC == true) {
_root.slot5.gotoAndStop(4);
_global.haveSnakecoin = false;
_root.invSnakecoin._visible = false;
_root.slot5b._visible = false;
} else {
this.thecoinfits.play();
}
}
}
button 694 {
on (release) {
if (_global.useMC == true) {
_root.slot1.gotoAndStop(2);
_global.haveMousecoin = false;
_global.MCinsert3 = true;
_root.invMousecoin._visible = false;
_root.slot1b._visible = false;
} else {
this.thecoinfits.play();
}
if (_global.useBC == true) {
_root.slot1.gotoAndStop(3);
_global.haveBirdcoin = false;
_root.invBirdcoin._visible = false;
_root.slot1b._visible = false;
} else {
this.thecoinfits.play();
}
if (_global.useSC == true) {
_root.slot1.gotoAndStop(4);
_global.haveSnakecoin = false;
_global.SCinsert = true;
_root.invSnakecoin._visible = false;
_root.slot1b._visible = false;
} else {
this.thecoinfits.play();
}
}
}
button 695 {
on (release) {
if (_global.useMC == true) {
_root.slot2.gotoAndStop(2);
_global.MCinsert2 = true;
_global.haveMousecoin = false;
_root.invMousecoin._visible = false;
_root.slot2b._visible = false;
} else {
this.thecoinfits.play();
}
if (_global.useBC == true) {
_root.slot2.gotoAndStop(3);
_global.haveBirdcoin = false;
_root.invBirdcoin._visible = false;
_root.slot2b._visible = false;
} else {
this.thecoinfits.play();
}
if (_global.useSC == true) {
_root.slot2.gotoAndStop(4);
_global.haveSnakecoin = false;
_root.invSnakecoin._visible = false;
_root.slot2b._visible = false;
} else {
this.thecoinfits.play();
}
}
}
button 696 {
on (release) {
if (_global.useMC == true) {
_root.slot3.gotoAndStop(2);
_global.haveMousecoin = false;
_root.invMousecoin._visible = false;
_root.slot3b._visible = false;
} else {
this.thecoinfits.play();
}
if (_global.useBC == true) {
_root.slot3.gotoAndStop(3);
_global.haveBirdcoin = false;
_root.invBirdcoin._visible = false;
_root.slot3b._visible = false;
} else {
this.thecoinfits.play();
}
if (_global.useSC == true) {
_root.slot3.gotoAndStop(4);
_global.haveSnakecoin = false;
_global.SCinsert2 = true;
_root.invSnakecoin._visible = false;
_root.slot3b._visible = false;
} else {
this.thecoinfits.play();
}
}
}
button 697 {
on (release) {
if (_global.useMC == true) {
_root.slot4.gotoAndStop(2);
_global.haveMousecoin = false;
_global.MCinsert = true;
_root.invMousecoin._visible = false;
_root.slot4b._visible = false;
} else {
this.thecoinfits.play();
}
if (_global.useBC == true) {
_root.slot4.gotoAndStop(3);
_global.haveBirdcoin = false;
_global.BCinsert2 = true;
_root.invBirdcoin._visible = false;
_root.slot4b._visible = false;
} else {
this.thecoinfits.play();
}
if (_global.useSC == true) {
_root.slot4.gotoAndStop(4);
_global.haveSnakecoin = false;
_root.invSnakecoin._visible = false;
_root.slot4b._visible = false;
} else {
this.thecoinfits.play();
}
}
}
button 698 {
on (release) {
if (_global.MCinsert == true && _global.SCinsert == true && _global.BCinsert == true) {
_global.ending1 = true;
gotoAndPlay(2786);
_global.crushed = false;
} else {
play();
}
if (_global.MCinsert2 == true && _global.SCinsert2 == true && _global.BCinsert == true) {
_global.ending2 = true;
gotoAndPlay(2786);
_global.crushed = false;
} else {
play();
}
if (_global.MCinsert3 == true && _global.SCinsert2 == true && _global.BCinsert2 == true) {
_global.ending3 = true;
gotoAndPlay(2786);
_global.crushed = false;
} else {
play();
}
}
}
instance invMousecoin of movieClip 58 {
onClipEvent (load) {
if (_global.haveMousecoin == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (release) {
_global.useMC = true;
_global.useSC = false;
_global.useBC = false;
_root.useItem.play();
}
}
instance invSnakecoin of movieClip 60 {
onClipEvent (load) {
if (_global.haveSnakecoin == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (release) {
_global.useMC = false;
_global.useSC = true;
_global.useBC = false;
_root.useItem.play();
}
}
instance invBirdcoin of movieClip 62 {
onClipEvent (load) {
if (_global.haveBirdcoin == true) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (release) {
_global.useMC = false;
_global.useSC = false;
_global.useBC = true;
_root.useItem.play();
}
}
frame 2785 {
stop();
}
button 700 {
on (release) {
gotoAndPlay(15);
}
}
button 701 {
on (release) {
if (_global.MCinsert == true && _global.SCinsert == true && _global.BCinsert == true) {
_global.ending1 = true;
gotoAndPlay(2786);
_global.crushed = false;
} else {
_global.doorclosed = false;
play();
}
if (_global.MCinsert2 == true && _global.SCinsert2 == true && _global.BCinsert == true) {
_global.ending2 = true;
gotoAndPlay(2786);
_global.crushed = false;
} else {
_global.doorclosed = false;
play();
}
if (_global.MCinsert3 == true && _global.SCinsert2 == true && _global.BCinsert2 == true) {
_global.ending3 = true;
gotoAndPlay(2786);
_global.crushed = false;
} else {
_global.doorclosed = false;
play();
}
}
}
movieClip 703 {
}
frame 2820 {
onEnterFrame();
if (_global.crushed == true) {
gotoAndPlay(1051);
} else {
gotoAndPlay(15);
}
}
frame 2821 {
gotoAndPlay(1051);
}
frame 2822 {
stop();
}
movieClip 707 {
}
button 709 {
on (release) {
if (_global.haveBirdcoin == true && _global.haveMousecoin == true && _global.haveSnakecoin == true) {
play();
} else {
_global.needmore = true;
gotoAndStop(14);
}
}
}
button 711 {
on (release) {
_global.useTiedcord = false;
_global.jumpcord = false;
gotoAndPlay(14);
}
}
movieClip 725 {
}
movieClip 731 {
}
instance of movieClip 731 {
onClipEvent (load) {
if (_global.jumpcord == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 772 {
}
movieClip 780 {
}
instance of movieClip 780 {
onClipEvent (load) {
if (_global.jumpcord == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 830 {
}
instance of movieClip 830 {
onClipEvent (load) {
if (_global.jumpcord == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
frame 2950 {
onEnterFrame();
if (_global.jumpcord == true) {
gotoAndPlay(2952);
} else {
gotoAndPlay(5990);
}
}
movieClip 835 {
}
movieClip 837 {
}
movieClip 860 {
frame 21 {
stop();
}
}
movieClip 937 {
}
frame 3103 {
_global.keypressed = false;
}
movieClip 967 {
}
button 972 {
on (press, keyPress '<Up>') {
_global.keypressed = true;
}
on (press, keyPress '<Left>') {
_global.keypressed = false;
}
on (press, keyPress '<Right>') {
_global.keypressed = false;
}
on (press, keyPress '<Down>') {
_global.keypressed = false;
}
}
movieClip 974 {
}
frame 3149 {
onEnterFrame();
if (_global.keypressed == false) {
gotoAndPlay(3252);
}
}
frame 3150 {
_global.keypressed = false;
}
movieClip 988 {
}
button 991 {
on (press, keyPress '<Right>') {
_global.keypressed = true;
}
on (press, keyPress '<Left>') {
_global.keypressed = false;
}
on (press, keyPress '<Up>') {
_global.keypressed = false;
}
on (press, keyPress '<Down>') {
_global.keypressed = false;
}
}
frame 3161 {
onEnterFrame();
if (_global.keypressed == false) {
gotoAndPlay(3252);
}
}
frame 3162 {
_global.keypressed = false;
}
button 1004 {
on (press, keyPress '<Left>') {
_global.keypressed = true;
}
on (press, keyPress '<Right>') {
_global.keypressed = false;
}
on (press, keyPress '<Up>') {
_global.keypressed = false;
}
on (press, keyPress '<Down>') {
_global.keypressed = false;
}
}
frame 3173 {
onEnterFrame();
if (_global.keypressed == false) {
gotoAndPlay(3252);
}
}
frame 3174 {
_global.keypressed = false;
}
frame 3184 {
onEnterFrame();
if (_global.keypressed == false) {
gotoAndPlay(3252);
}
}
frame 3185 {
_global.keypressed = false;
}
frame 3194 {
onEnterFrame();
if (_global.keypressed == false) {
gotoAndPlay(3252);
}
}
frame 3195 {
_global.keypressed = false;
}
button 1039 {
on (press, keyPress '<Up>') {
_global.keypressed = true;
}
on (press, keyPress '<Right>') {
_global.keypressed = false;
}
on (press, keyPress '<Left>') {
_global.keypressed = false;
}
on (press, keyPress '<Down>') {
_global.keypressed = false;
}
}
frame 3206 {
onEnterFrame();
if (_global.keypressed == false) {
gotoAndPlay(3252);
}
}
frame 3207 {
_global.keypressed = false;
}
frame 3217 {
onEnterFrame();
if (_global.keypressed == false) {
gotoAndPlay(3252);
}
}
frame 3218 {
_global.keypressed = false;
}
movieClip 1067 {
}
frame 3251 {
gotoAndPlay(15);
}
movieClip 1082 {
}
movieClip 1095 {
}
frame 3295 {
stop();
}
button 1110 {
on (release) {
gotoAndPlay(2951);
}
}
movieClip 1113 {
}
movieClip 1115 {
}
movieClip 1117 {
}
movieClip 1121 {
frame 13 {
gotoAndPlay(1);
}
frame 65 {
stop();
}
frame 66 {
stop();
}
}
frame 3380 {
_root.theguy.gotoAndPlay(15);
}
button 1124 {
on (press) {
gotoAndPlay(3516);
}
}
movieClip 1126 {
}
movieClip 1149 {
frame 70 {
gotoAndPlay(11);
}
}
movieClip 1160 {
}
frame 3515 {
gotoAndPlay(5990);
}
frame 3516 {
gotoAndPlay(10);
}
frame 3586 {
_root.theguy.gotoAndPlay(15);
}
button 1167 {
on (press) {
gotoAndPlay(3722);
}
}
frame 3721 {
gotoAndPlay(5990);
}
frame 3722 {
gotoAndPlay(10);
}
movieClip 1175 {
}
frame 3838 {
gotoAndStop(4);
}
frame 3839 {
_global.keypressed = false;
}
movieClip 1243 {
}
movieClip 1250 {
frame 1 {
stopAllSounds();
}
}
movieClip 1252 {
}
movieClip 1255 {
}
movieClip 1267 {
frame 8 {
stop();
}
}
button 1280 {
on (press, keyPress '<Up>') {
_global.keypressed = false;
}
on (press, keyPress '<Left>') {
_global.keypressed = true;
}
on (press, keyPress '<Right>') {
_global.keypressed = false;
}
on (press, keyPress '<Down>') {
_global.keypressed = false;
}
}
frame 4156 {
onEnterFrame();
if (_global.keypressed == false) {
gotoAndPlay(4473);
}
}
frame 4157 {
_global.keypressed = false;
}
movieClip 1301 {
frame 8 {
stop();
}
frame 23 {
stop();
}
}
instance jumperguy of movieClip 1267 {
onClipEvent (load) {
this.jumperguy.play();
}
}
button 1303 {
on (press, keyPress '<Up>') {
_global.keypressed = false;
}
on (press, keyPress '<Left>') {
_global.keypressed = false;
}
on (press, keyPress '<Right>') {
_global.keypressed = false;
}
on (press, keyPress '<Down>') {
_global.keypressed = true;
}
}
frame 4185 {
onEnterFrame();
if (_global.keypressed == false) {
gotoAndPlay(4473);
}
}
button 1304 {
on (press, keyPress '<Up>') {
_global.keypressed = true;
}
on (press, keyPress '<Left>') {
_global.keypressed = false;
}
on (press, keyPress '<Right>') {
_global.keypressed = false;
}
on (press, keyPress '<Down>') {
_global.keypressed = true;
}
}
frame 4186 {
_global.keypressed = false;
}
frame 4188 {
_root.bearbody.gotoAndPlay(tripleslice);
}
instance bearbody of movieClip 1301 {
onClipEvent (load) {
_root.bearbody.gotoAndPlay(tripleslice);
}
}
instance of movieClip 1267 {
onClipEvent (load) {
this.jumperguy.play();
}
}
frame 4201 {
_root.bearbody.gotoAndStop(1);
}
button 1311 {
on (press, keyPress '<Up>') {
_global.keypressed = false;
}
on (press, keyPress '<Left>') {
_global.keypressed = false;
}
on (press, keyPress '<Right>') {
_global.keypressed = true;
}
on (press, keyPress '<Down>') {
_global.keypressed = false;
}
}
frame 4301 {
onEnterFrame();
if (_global.keypressed == false) {
gotoAndPlay(4554);
}
}
frame 4302 {
_global.keypressed = false;
}
movieClip 1315 {
}
instance of movieClip 1267 {
onClipEvent (load) {
this.jumperguy.play();
}
}
frame 4321 {
onEnterFrame();
if (_global.keypressed == false) {
gotoAndPlay(4554);
}
}
frame 4322 {
_global.keypressed = false;
}
instance of movieClip 1267 {
onClipEvent (load) {
this.jumperguy.play();
}
}
movieClip 1325 {
}
movieClip 1328 {
}
button 1330 {
on (press, keyPress '<Space>') {
_global.keypressed = true;
_global.bearisdead = true;
}
}
movieClip 1336 {
}
movieClip 1338 {
}
frame 4383 {
onEnterFrame();
if (_global.keypressed == true) {
gotoAndPlay(4474);
}
}
frame 4384 {
_global.keypressed = false;
}
movieClip 1360 {
}
frame 4472 {
gotoAndPlay(5990);
}
frame 4473 {
gotoAndPlay(4555);
}
movieClip 1363 {
}
movieClip 1364 {
}
movieClip 1366 {
}
movieClip 1369 {
}
movieClip 1381 {
frame 13 {
stop();
}
}
frame 4553 {
gotoAndPlay(10);
}
frame 4554 {
gotoAndPlay(5990);
}
movieClip 1386 {
}
movieClip 1389 {
}
movieClip 1400 {
}
frame 4669 {
gotoAndPlay(5990);
}
frame 4670 {
ifFrameLoaded (62) {
gotoAndPlay('start');
}
}
// unknown tag 88 length 75
movieClip 1424 {
frame 20 {
stop();
}
}
frame 4671 {
gotoAndPlay(4903);
}
button 1426 {
on (release) {
gotoAndStop(8);
}
}
movieClip 1430 {
}
movieClip 1461 {
frame 1 {
stop();
}
}
frame 4831 {
gotoAndPlay(8);
}
frame 4832 {
onEnterFrame();
if (_global.haveBottle == true) {
_root.bottlefloat._visible = false;
} else {
_root.bottlefloat._visible = true;
}
}
frame 4832 {
stop();
}
movieClip 1468 {
frame 99 {
gotoAndPlay(1);
}
}
instance bottlefloat of movieClip 1468 {
onClipEvent (release) {
_root.bottlefloat._visible = false;
_global.haveBottle = true;
_root.foundbottle.play();
}
}
movieClip 1470 {
}
movieClip 1471 {
frame 1 {
stop();
}
}
movieClip 1503 {
}
movieClip 1505 {
}
frame 4903 {
gotoAndPlay(5168);
}
// unknown tag 88 length 64
button 1508 {
on (release) {
gotoAndPlay(5053);
}
}
movieClip 1510 {
}
movieClip 1535 {
}
movieClip 1536 {
}
movieClip 1540 {
}
movieClip 1543 {
}
instance of movieClip 1543 {
onClipEvent (release) {
getURL('http://armorgames.com', '_blank');
}
}
movieClip 1547 {
}
instance of movieClip 1547 {
onClipEvent (release) {
getURL('http://just2play.com', '_blank');
}
}
frame 5101 {
onEnterFrame();
if (_global.purchaseunlock == true) {
_root.purchase._visible = true;
} else {
_root.purchase._visible = true;
}
}
button 1549 {
on (release) {
stopAllSounds();
gotoAndPlay(5309);
}
}
button 1551 {
on (release) {
gotoAndPlay(5308);
}
}
button 1553 {
on (release) {
if (_root.instructions._visible) {
_root.instructions._visible = false;
} else {
_root.instructions._visible = true;
}
}
}
button 1555 {
on (release) {
stopAllSounds();
gotoAndStop(5168);
}
}
frame 5107 {
_root.instructions._visible = false;
}
frame 5107 {
onEnterFrame();
if (_global.purchaseunlock == true) {
_root.purchase._visible = true;
} else {
_root.purchase._visible = true;
}
}
frame 5107 {
stop();
}
button 1557 {
on (release) {
stopAllSounds();
play();
}
}
movieClip 1563 {
}
movieClip 1564 {
}
instance of movieClip 1564 {
onClipEvent (release) {
if (_root.instructions._visible) {
_root.instructions._visible = false;
} else {
_root.instructions._visible = true;
}
}
}
frame 5167 {
gotoAndPlay(5310);
}
movieClip 1566 {
}
// unknown tag 88 length 26
movieClip 1569 {
}
movieClip 1571 {
}
frame 5307 {
gotoAndPlay(5053);
}
frame 5308 {
stop();
}
button 1575 {
on (release) {
gotoAndPlay(5054);
}
}
button 1577 {
on (release) {
getURL('http://highwitamic.com/heistwalkthrough.html', '_blank');
}
}
button 1578 {
on (rollOver) {
_root.usefunction.gotoAndStop(1);
_root.mapfunction.gotoAndPlay(2);
}
}
button 1579 {
on (rollOver) {
_root.usefunction.gotoAndPlay(2);
_root.mapfunction.gotoAndStop(1);
}
}
movieClip 1582 {
frame 1 {
stop();
}
frame 20 {
stop();
}
}
movieClip 1588 {
}
movieClip 1590 {
}
movieClip 1593 {
frame 1 {
stop();
}
frame 180 {
gotoAndPlay(24);
}
}
frame 5309 {
_root.moneybox = _root.money;
stop();
}
instance cigarette of movieClip 159 {
onClipEvent (load) {
if (_global.cigarette == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
instance of movieClip 159 {
onClipEvent (load) {
if (_global.cigarette == false) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (release) {
if (_root.money >= 1000000) {
_root.money -= 1000000;
_root.moneybox = _root.money;
this._visible = false;
_root.cigarette._visible = true;
_global.cigarette = true;
} else {
_root.notenoughmoney.play();
}
}
}
instance glasses of movieClip 161 {
onClipEvent (load) {
if (_global.glasses == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
instance of movieClip 161 {
onClipEvent (load) {
if (_global.glasses == false) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (release) {
if (_root.money >= 500000) {
_root.money -= 500000;
_root.moneybox = _root.money;
this._visible = false;
_root.glasses._visible = true;
_global.glasses = true;
} else {
_root.notenoughmoney.play();
}
}
}
instance nightvision of movieClip 163 {
onClipEvent (load) {
if (_global.nightvision == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
instance of movieClip 163 {
onClipEvent (load) {
if (_global.nightvision == false) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (release) {
if (_root.money >= 3000000) {
_root.money -= 3000000;
_root.moneybox = _root.money;
this._visible = false;
_root.nightvision._visible = true;
_global.nightvision = true;
} else {
_root.notenoughmoney.play();
}
}
}
// unknown tag 88 length 73
movieClip 1605 {
}
button 1610 {
on (release) {
stopAllSounds();
gotoAndPlay(5053);
}
}
movieClip 1613 {
frame 1 {
stop();
}
}
frame 5310 {
play();
}
button 1617 {
on (release) {
stopAllSounds();
gotoAndPlay(5480);
}
}
movieClip 1620 {
}
frame 5509 {
gotoAndPlay(3);
}
frame 5510 {
_global.axeThrown = true;
}
movieClip 1630 {
}
movieClip 1633 {
}
button 1635 {
on (press, keyPress '<Right>') {
gotoAndPlay(5666);
}
on (press, keyPress '<Left>') {
gotoAndPlay(5567);
}
on (press, keyPress '<Down>') {
gotoAndPlay(5567);
}
on (press, keyPress '<Up>') {
gotoAndPlay(5567);
}
}
movieClip 1638 {
}
frame 5664 {
gotoAndPlay(5990);
}
movieClip 1662 {
frame 55 {
stop();
}
}
frame 5749 {
gotoAndPlay(6);
}
frame 5750 {
_global.axeThrown = true;
}
movieClip 1677 {
}
movieClip 1678 {
}
button 1679 {
on (press, keyPress '<Right>') {
gotoAndPlay(5807);
}
on (press, keyPress '<Left>') {
gotoAndPlay(5807);
}
on (press, keyPress '<Down>') {
gotoAndPlay(5906);
}
on (press, keyPress '<Up>') {
gotoAndPlay(5807);
}
}
frame 5904 {
gotoAndPlay(5990);
}
frame 5989 {
gotoAndPlay(6);
}
frame 5990 {
stopAllSounds();
}
frame 5990 {
onEnterFrame();
if (_root.lives == 0) {
lives = 4;
_global.haveKey = false;
_global.haveMatches = false;
_global.haveExtcord = false;
_global.haveExtcord1 = false;
_global.haveHammer = false;
_global.usePlunger = false;
_global.watermess = false;
_global.woodbroke = false;
_global.haveBottle = false;
_global.haveClosetkey = false;
_global.havePainting = false;
_global.haveRubystone = false;
_global.placePainting = false;
_global.emptywall = false;
_global.paintingGone = false;
_global.haveHammerskull = false;
_global.bloodspell = false;
_global.brokenwall = false;
_global.haveCabkey = false;
_global.haveMousecoin = false;
_global.haveSnakecoin = false;
_global.haveBirdcoin = false;
_global.axeThrown = false;
_global.flame1lit = false;
_global.flame2lit = false;
_global.flame3lit = false;
_global.flame4lit = false;
_global.flame5lit = false;
_global.flame6lit = false;
_global.tieExtcord = false;
_global.jumpcord = false;
_global.boxopened = false;
_global.bearisdead = false;
_global.ending1 = false;
_global.ending2 = false;
_global.ending3 = false;
_global.doorclosed = false;
gotoAndPlay(6021);
} else {}
}
// unknown tag 88 length 64
button 1702 {
on (release) {
play();
}
}
movieClip 1703 {
}
frame 6019 {
stop();
}
frame 6020 {
_root.lives -= 1;
gotoAndPlay(3);
}
frame 6050 {
stop();
}
frame 6051 {
_root.lives -= 1;
gotoAndPlay(3);
}