Combined Code
frame 1 {
Stage.showMenu = false;
_global.died = true;
_global.cigarette = false;
_global.glasses = false;
_global.nightvision = false;
money = 0;
stopAllSounds();
}
movieClip 6 {
}
movieClip 8 {
}
movieClip 13 {
}
movieClip 16 {
}
movieClip 19 {
}
button 20 {
on (release) {
getURL('http://www.armorgames.com', 'blank');
}
}
movieClip 22 {
}
movieClip 24 {
}
movieClip 26 {
}
movieClip 27 {
frame 66 {
stop();
}
}
movieClip 30 {
frame 15 {
stop();
}
}
movieClip 31 {
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 34 {
frame 1 {
stop();
}
}
movieClip 36 {
frame 1 {
stop();
}
}
movieClip 38 {
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 49 {
}
movieClip 51 {
}
movieClip 53 {
}
movieClip 54 {
}
instance invMousecoin of movieClip 54 {
onClipEvent (load) {
if (_global.haveMousecoin == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 56 {
}
instance invSnakecoin of movieClip 56 {
onClipEvent (load) {
if (_global.haveSnakecoin == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 58 {
}
instance invBirdcoin of movieClip 58 {
onClipEvent (load) {
if (_global.haveBirdcoin == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
button 60 {
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 74 {
}
instance key of movieClip 74 {
onClipEvent (load) {
if (_global.haveKey == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 76 {
}
instance hammer of movieClip 76 {
onClipEvent (load) {
if (_global.haveHammer == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 78 {
}
instance invpainting of movieClip 78 {
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 80 {
}
instance extcord of movieClip 80 {
onClipEvent (load) {
if (_global.haveExtcord == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
button 82 {
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 84 {
}
instance matches of movieClip 84 {
onClipEvent (load) {
if (_global.haveMatches == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 86 {
}
instance closetkeyinv of movieClip 86 {
onClipEvent (load) {
if (_global.haveClosetkey == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
button 87 {
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 90 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance bottleinv of movieClip 90 {
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 91 {
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 93 {
}
button 94 {
on (release) {
if (_root.map._visible) {
_root.map._visible = false;
_root.utilityspot._visible = false;
} else {
_root.map._visible = true;
_root.utilityspot._visible = true;
}
}
}
movieClip 96 {
}
button 97 {
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 99 {
}
movieClip 101 {
}
movieClip 107 {
}
instance of movieClip 107 {
onClipEvent (load) {
if (_global.nightvision == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 110 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 113 {
}
movieClip 121 {
frame 1 {
utilityspot._visible = false;
bedroomspot._visible = false;
bedroomspot2._visible = false;
kitchenspot._visible = false;
bathroomspot._visible = false;
lrspot._visible = false;
hallwayspot._visible = false;
}
}
movieClip 123 {
}
movieClip 143 {
frame 141 {
gotoAndPlay(1);
}
frame 165 {
gotoAndPlay(1);
}
frame 245 {
gotoAndPlay(1);
}
}
movieClip 155 {
}
instance cigarette of movieClip 155 {
onClipEvent (load) {
if (_global.cigarette == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 157 {
}
instance glasses of movieClip 157 {
onClipEvent (load) {
if (_global.glasses == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 159 {
}
instance nightvision of movieClip 159 {
onClipEvent (load) {
if (_global.nightvision == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 163 {
}
movieClip 164 {
}
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 167 {
}
button 168 {
on (release) {
framenum = new Array(3, 3, 3, 3, 3, 3);
gotoAndPlay(framenum[random(6)]);
}
}
instance invpainting of movieClip 78 {
onClipEvent (release) {
_global.usePainting = true;
_global.useBottle = false;
_global.useHammer = false;
_global.useMatches = false;
_global.usePlunger = false;
_global.useTool = false;
_root.useItem.play();
}
}
button 170 {
on (rollOver) {
_root.livingroomteller.play();
}
on (rollOut) {
_root.livingroomteller.play();
}
on (release) {
gotoAndStop(5);
}
}
button 172 {
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 173 {
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 174 {
on (rollOver) {
if (_global.bloodspell == true) {
gotoAndPlay(3723);
_global.bloodspell = false;
}
}
on (release) {
_root.sigclose._visible = true;
}
}
button 175 {
on (release) {
_root.candlehint._visible = true;
}
}
instance bottleinv of movieClip 90 {
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 176 {
on (release) {
if (_root.map._visible) {
_root.map._visible = false;
_root.firsthallspot._visible = false;
} else {
_root.map._visible = true;
_root.firsthallspot._visible = true;
}
}
}
movieClip 179 {
}
movieClip 181 {
}
button 182 {
on (release) {
_root.sigclose._visible = false;
}
}
movieClip 183 {
}
movieClip 187 {
frame 1 {
stop();
}
}
movieClip 191 {
frame 1 {
stop();
}
}
movieClip 193 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 195 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
button 197 {
on (release) {
_root.candlehint._visible = false;
}
}
movieClip 198 {
}
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 200 {
}
button 205 {
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 206 {
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 208 {
on (release) {
_root.birdcoin._visible = false;
_global.haveBirdcoin = true;
_root.bell.play();
_root.foundcabkey.play();
_root.invSnakecoin._visible = true;
}
}
movieClip 209 {
}
instance of movieClip 209 {
onClipEvent (load) {
if (_global.haveBirdcoin == true) {
_root.birdcoin._visible = false;
} else {
_root.birdcoin._visible = true;
}
}
}
button 213 {
on (release) {
_root.drawer._visible = false;
}
}
button 216 {
on (release) {
_root.drawer.play();
}
}
movieClip 217 {
frame 1 {
stop();
}
instance cabinetkey of movieClip 101 {
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 101 {
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 101 {
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 219 {
}
movieClip 222 {
frame 1 {
stop();
}
frame 13 {
gotoAndPlay(6);
}
frame 14 {
stop();
}
}
button 224 {
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 225 {
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 226 {
on (rollOver) {
if (_global.useMatches == true) {
_root.flame1.play();
_root.livingroomview.play();
_root.flameb1._visible = false;
_global.flame1lit = true;
} else {}
}
}
button 227 {
on (rollOver) {
if (_global.useMatches == true) {
_root.flame2.play();
_root.livingroomview.play();
_root.flameb2._visible = false;
_global.flame2lit = true;
} else {}
}
}
button 228 {
on (rollOver) {
if (_global.useMatches == true) {
_root.flame3.play();
_root.livingroomview.play();
_root.flameb3._visible = false;
_global.flame3lit = true;
} else {}
}
}
button 229 {
on (rollOver) {
if (_global.useMatches == true) {
_root.flame4.play();
_root.livingroomview.play();
_root.flameb4._visible = false;
_global.flame4lit = true;
} else {}
}
}
button 230 {
on (rollOver) {
if (_global.useMatches == true) {
_root.flame5.play();
_root.livingroomview.play();
_root.flameb5._visible = false;
_global.flame5lit = true;
} else {}
}
}
button 231 {
on (rollOver) {
if (_global.useMatches == true) {
_root.flame6.play();
_root.livingroomview.play();
_root.flameb6._visible = false;
_global.flame6lit = true;
} else {}
}
}
instance bottleinv of movieClip 90 {
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 232 {
on (release) {
if (_root.map._visible) {
_root.map._visible = false;
_root.lrspot._visible = false;
} else {
_root.map._visible = true;
_root.lrspot._visible = true;
}
}
}
movieClip 234 {
frame 1 {
stop();
}
}
movieClip 236 {
frame 1 {
stop();
}
}
movieClip 238 {
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 241 {
}
movieClip 243 {
}
instance of movieClip 243 {
onClipEvent (load) {
if (_global.nightvision == true && _global.haveRubystone == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 245 {
}
button 248 {
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 250 {
on (release) {
_root.cordwindow._visible = false;
_global.haveCord = true;
_root.extcord._visible = true;
_root.foundacord.play();
_root.bell.play();
_root.charView.gotoAndPlay(142);
}
}
movieClip 251 {
frame 1 {
stop();
}
frame 15 {
_root.cordwindow._visible = false;
}
}
button 253 {
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 254 {
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 255 {
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 256 {
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 257 {
on (release) {
if (_global.haveCabkey == true) {
_root.cordwindow._visible = true;
_root.lockout.play();
} else {
this.locked.play();
}
}
}
button 258 {
on (release) {
if (_global.haveCabkey == true) {
this.locked.play();
} else {
this.locked.play();
}
}
}
button 259 {
on (release) {
if (_root.map._visible) {
_root.map._visible = false;
_root.kitchenspot._visible = false;
} else {
_root.map._visible = true;
_root.kitchenspot._visible = true;
}
}
}
movieClip 261 {
}
movieClip 263 {
frame 1 {
stop();
}
}
movieClip 266 {
frame 1 {
stop();
}
frame 5 {
_global.usePlunger = false;
}
}
movieClip 268 {
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 271 {
}
button 272 {
on (rollOver) {
_root.kitchenteller.play();
}
on (rollOut) {
_root.kitchenteller.play();
}
on (release) {
gotoAndStop(6);
}
}
button 273 {
on (rollOver) {
_root.bathroomteller.play();
}
on (rollOut) {
_root.bathroomteller.play();
}
on (release) {
gotoAndStop(8);
}
}
button 274 {
on (rollOver) {
_root.bedroomteller.play();
}
on (rollOut) {
_root.bedroomteller.play();
}
on (release) {
this.locked.play();
}
}
button 275 {
on (rollOver) {
if (_global.useMatches == true) {
_root.webbing.play();
Mouse.show();
stopDrag();
_root.cursor._visible = false;
} else {}
}
on (release) {
_root.spiders.play();
}
}
movieClip 287 {
frame 1 {
stop();
}
frame 17 {
_root.grabHammer.play();
_root.openhole._visible = false;
_root.webbing._visible = false;
}
}
movieClip 290 {
frame 1 {
stop();
}
}
movieClip 344 {
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 345 {
on (release) {
if (_root.map._visible) {
_root.map._visible = false;
_root.hallwayspot._visible = false;
} else {
_root.map._visible = true;
_root.hallwayspot._visible = true;
}
}
}
movieClip 347 {
}
movieClip 348 {
frame 1 {
stop();
}
}
movieClip 350 {
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 353 {
}
movieClip 355 {
}
instance of movieClip 355 {
onClipEvent (load) {
if (_global.nightvision == true && _global.haveHammer == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 357 {
}
instance woodbreak of movieClip 357 {
onClipEvent (release) {
if (_global.useHammer == true) {
_global.woodbroke = true;
_root.puffcloud.play();
_root.woodbreak._visible = false;
_global.useHammer = false;
} else {
this.toosmall.play();
}
}
}
movieClip 360 {
frame 1 {
stop();
}
}
instance keybutton of movieClip 74 {
onClipEvent (release) {
this._visible = false;
_global.haveKey = true;
_root.foundaKey.play();
_root.bell.play();
_root.charView.gotoAndPlay(142);
_root.key._visible = true;
}
}
button 362 {
on (release) {
if (_global.woodbroke == true) {
gotoAndStop(9);
} else {
this.toosmall.play();
}
}
}
button 363 {
on (release) {
if (_global.watermess == true) {
gotoAndPlay(4832);
} else {
gotoAndPlay(4672);
}
}
}
button 364 {
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 365 {
on (rollOver) {
if (_global.haveHammerskull == 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 {}
}
}
movieClip 367 {
}
instance closetkey of movieClip 86 {
onClipEvent (release) {
this._visible = false;
_global.haveClosetkey = true;
_root.foundaKey.play();
_root.bell.play();
_root.charView.gotoAndPlay(142);
_root.closetkeyinv._visible = true;
}
}
button 368 {
on (release) {
if (_root.map._visible) {
_root.map._visible = false;
_root.bathroomspot._visible = false;
} else {
_root.map._visible = true;
_root.bathroomspot._visible = true;
}
}
}
movieClip 370 {
}
movieClip 371 {
frame 1 {
stop();
}
}
movieClip 373 {
frame 1 {
stop();
}
}
movieClip 375 {
frame 1 {
stop();
}
}
movieClip 382 {
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 386 {
}
instance of movieClip 386 {
onClipEvent (load) {
if (_global.nightvision == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 387 {
}
instance birdcoin of movieClip 387 {
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 388 {
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 389 {
on (release) {
if (_global.haveRubystone == true) {
gotoAndStop(14);
} else {
gotoAndPlay(29);
}
}
}
movieClip 391 {
frame 1 {
stop();
}
}
movieClip 425 {
}
movieClip 426 {
}
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 429 {
}
movieClip 431 {
}
instance deadbear of movieClip 431 {
onClipEvent (load) {
if (_global.bearisdead == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 433 {
}
instance of movieClip 433 {
onClipEvent (load) {
if (_global.nightvision == true && _global.bearisdead == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
instance matchesButton of movieClip 84 {
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 436 {
}
movieClip 438 {
}
movieClip 440 {
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 442 {
}
instance of movieClip 442 {
onClipEvent (release) {
_root.curtain.play();
}
}
movieClip 444 {
}
movieClip 452 {
frame 10 {
stop();
}
}
button 453 {
on (release) {
if (_root.map._visible) {
_root.map._visible = false;
_root.bedroomspot._visible = false;
} else {
_root.map._visible = true;
_root.bedroomspot._visible = true;
}
}
}
movieClip 455 {
}
movieClip 456 {
frame 1 {
stop();
}
}
button 457 {
on (release) {
if (_global.haveClosetkey == true) {
gotoAndPlay(11);
} else {
this.locked.play();
_global.useClosetkey = false;
}
}
}
button 458 {
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 461 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance invSnakecoin of movieClip 56 {
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 461 {
onClipEvent (load) {
if (_global.bearisdead == true) {
this.gotoAndPlay(2);
} else {}
}
}
button 463 {
on (release) {
framenum = new Array(10, 10, 10, 10, 10, 10, 10, 10);
gotoAndPlay(framenum[random(8)]);
}
}
button 464 {
on (release) {
framenum = new Array(11, 11, 11, 11, 11, 11, 11, 11);
gotoAndPlay(framenum[random(8)]);
}
}
button 465 {
on (release) {
if (_global.useBottle == true) {
gotoAndPlay(3839);
} else {
this.missinganeye.play();
}
}
}
movieClip 467 {
frame 1 {
stop();
}
}
movieClip 469 {
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 387 {
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 78 {
onClipEvent (release) {
this._visible = false;
_global.havePainting = true;
_global.paintingGone = true;
_root.bell.play();
_root.foundpainting.play();
_root.invpainting._visible = true;
}
}
button 472 {
on (release) {
framenum = new Array(10, 10, 10, 10, 10, 10, 10, 10);
gotoAndPlay(framenum[random(8)]);
}
}
movieClip 474 {
frame 1 {
stop();
}
}
movieClip 476 {
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 479 {
}
instance rubystone of movieClip 99 {
onClipEvent (release) {
this._visible = false;
_global.haveRubystone = true;
_root.bell.play();
_root.foundrubystone.play();
_root.invrubystone._visible = true;
}
}
movieClip 481 {
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 484 {
}
button 485 {
on (release) {
framenum = new Array(9, 9, 9, 9, 9, 9, 9, 9);
gotoAndPlay(framenum[random(8)]);
}
}
button 486 {
on (release) {
gotoAndPlay(2822);
}
on (release) {
if (_global.useTiedcord == true) {
_global.jumpcord = true;
gotoAndPlay(2822);
} else {
gotoAndPlay(2822);
}
}
}
button 487 {
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 491 {
frame 1 {
stop();
}
}
instance tiedcord of movieClip 491 {
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 492 {
on (release) {
if (_root.map._visible) {
_root.map._visible = false;
_root.bedroomspot2._visible = false;
} else {
_root.map._visible = true;
_root.bedroomspot2._visible = true;
}
}
}
movieClip 494 {
frame 1 {
stop();
}
}
movieClip 496 {
frame 1 {
stop();
}
frame 64 {
stop();
}
}
movieClip 498 {
frame 70 {
_global.needmore = false;
}
frame 75 {
stop();
}
}
instance missingsomething of movieClip 498 {
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 501 {
}
button 503 {
on (release) {
_root.ending1hint._visible = true;
}
}
button 505 {
on (release) {
_root.ending3hint._visible = true;
}
}
movieClip 511 {
}
movieClip 518 {
frame 66 {
stop();
}
}
movieClip 524 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
instance of movieClip 524 {
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 531 {
frame 21 {
stop();
}
}
instance doorclosed of movieClip 531 {
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 532 {
on (release) {
gotoAndPlay(2766);
_global.doorclosed = true;
}
}
button 533 {
on (release) {
_root.hintnote._visible = true;
_root.charView.gotoAndPlay(142);
_root.hintnote.play();
}
}
button 534 {
on (release) {
_root.money += 500000;
gotoAndPlay(1111);
}
}
button 535 {
on (release) {
_root.money += 3500000;
gotoAndPlay(1111);
}
}
button 536 {
on (release) {
_root.money += 1000000;
gotoAndPlay(1111);
}
}
movieClip 542 {
frame 1 {
stop();
}
frame 2 {
_global.useMC = false;
stop();
}
frame 3 {
_global.useBC = false;
stop();
}
frame 4 {
_global.useSC = false;
stop();
}
}
movieClip 544 {
}
instance of movieClip 544 {
onClipEvent (load) {
if (_global.nightvision == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 547 {
}
button 548 {
on (release) {
this._visible = false;
}
}
movieClip 549 {
}
movieClip 552 {
}
movieClip 557 {
frame 1 {
stop();
}
}
button 558 {
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 559 {
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(5370);
}
frame 26 {
gotoAndPlay(5610);
}
instance extcord of movieClip 80 {
onClipEvent (load) {
if (_global.haveCord == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
frame 27 {
gotoAndPlay(3311);
}
frame 28 {
gotoAndPlay(3517);
}
movieClip 564 {
}
movieClip 575 {
}
movieClip 577 {
}
movieClip 596 {
}
movieClip 617 {
frame 21 {
stop();
}
}
frame 148 {
gotoAndPlay(5850);
}
button 621 {
on (release) {
stopAllSounds();
gotoAndPlay(2);
}
}
frame 1048 {
_global.purchaseunlock = true;
gotoAndPlay(2);
}
movieClip 627 {
}
movieClip 629 {
}
movieClip 631 {
}
movieClip 634 {
}
movieClip 635 {
}
movieClip 639 {
frame 55 {
stop();
}
}
frame 1110 {
_global.haveMousecoin = true;
_global.haveSnakecoin = true;
_global.haveBirdcoin = true;
gotoAndPlay(5850);
}
movieClip 650 {
}
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 651 {
}
movieClip 654 {
}
movieClip 659 {
}
movieClip 661 {
}
movieClip 663 {
}
frame 2125 {
gotoAndPlay(2656);
}
movieClip 666 {
}
movieClip 668 {
}
movieClip 670 {
}
movieClip 671 {
}
movieClip 673 {
}
instance of movieClip 673 {
onClipEvent (load) {
if (_global.ending1 == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 675 {
}
instance of movieClip 675 {
onClipEvent (load) {
if (_global.ending3 == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
frame 2655 {
gotoAndPlay(2656);
}
movieClip 678 {
}
movieClip 679 {
}
movieClip 681 {
}
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 683 {
}
button 689 {
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 690 {
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 691 {
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 692 {
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 693 {
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 694 {
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 54 {
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 56 {
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 58 {
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 696 {
on (release) {
gotoAndPlay(15);
}
}
button 697 {
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 699 {
}
frame 2820 {
onEnterFrame();
if (_global.crushed == true) {
gotoAndPlay(1051);
} else {
gotoAndPlay(15);
}
}
frame 2821 {
gotoAndPlay(1051);
}
frame 2822 {
stop();
}
movieClip 703 {
}
button 705 {
on (release) {
if (_global.haveBirdcoin == true && _global.haveMousecoin == true && _global.haveSnakecoin == true) {
play();
} else {
_global.needmore = true;
gotoAndStop(14);
}
}
}
button 707 {
on (release) {
_global.useTiedcord = false;
_global.jumpcord = false;
gotoAndPlay(14);
}
}
movieClip 721 {
}
movieClip 727 {
}
instance of movieClip 727 {
onClipEvent (load) {
if (_global.jumpcord == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 768 {
}
movieClip 776 {
}
instance of movieClip 776 {
onClipEvent (load) {
if (_global.jumpcord == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
movieClip 826 {
}
instance of movieClip 826 {
onClipEvent (load) {
if (_global.jumpcord == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
frame 2950 {
onEnterFrame();
if (_global.jumpcord == true) {
gotoAndPlay(2952);
} else {
gotoAndPlay(5850);
}
}
movieClip 831 {
}
movieClip 833 {
}
movieClip 856 {
frame 21 {
stop();
}
}
movieClip 933 {
}
frame 3103 {
_global.keypressed = false;
}
movieClip 963 {
}
button 968 {
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 970 {
}
frame 3149 {
onEnterFrame();
if (_global.keypressed == false) {
gotoAndPlay(3252);
}
}
frame 3150 {
_global.keypressed = false;
}
movieClip 984 {
}
button 987 {
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 1000 {
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 1035 {
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 1063 {
}
frame 3251 {
gotoAndPlay(15);
}
movieClip 1078 {
}
movieClip 1091 {
}
frame 3295 {
stop();
}
button 1106 {
on (release) {
gotoAndPlay(2951);
}
}
movieClip 1109 {
}
movieClip 1111 {
}
movieClip 1113 {
}
movieClip 1117 {
frame 13 {
gotoAndPlay(1);
}
frame 65 {
stop();
}
frame 66 {
stop();
}
}
frame 3380 {
_root.theguy.gotoAndPlay(15);
}
button 1120 {
on (press) {
gotoAndPlay(3516);
}
}
movieClip 1122 {
}
movieClip 1145 {
frame 70 {
gotoAndPlay(11);
}
}
movieClip 1156 {
}
frame 3515 {
gotoAndPlay(5850);
}
frame 3516 {
gotoAndPlay(10);
}
frame 3586 {
_root.theguy.gotoAndPlay(15);
}
button 1163 {
on (press) {
gotoAndPlay(3722);
}
}
frame 3721 {
gotoAndPlay(5850);
}
frame 3722 {
gotoAndPlay(10);
}
movieClip 1171 {
}
frame 3838 {
gotoAndStop(4);
}
frame 3839 {
_global.keypressed = false;
}
movieClip 1239 {
}
movieClip 1246 {
frame 1 {
stopAllSounds();
}
}
movieClip 1248 {
}
movieClip 1251 {
}
movieClip 1263 {
frame 8 {
stop();
}
}
button 1276 {
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 1297 {
frame 8 {
stop();
}
frame 23 {
stop();
}
}
instance jumperguy of movieClip 1263 {
onClipEvent (load) {
this.jumperguy.play();
}
}
button 1299 {
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 1300 {
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 1297 {
onClipEvent (load) {
_root.bearbody.gotoAndPlay(tripleslice);
}
}
instance of movieClip 1263 {
onClipEvent (load) {
this.jumperguy.play();
}
}
frame 4201 {
_root.bearbody.gotoAndStop(1);
}
button 1307 {
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 1311 {
}
instance of movieClip 1263 {
onClipEvent (load) {
this.jumperguy.play();
}
}
frame 4321 {
onEnterFrame();
if (_global.keypressed == false) {
gotoAndPlay(4554);
}
}
frame 4322 {
_global.keypressed = false;
}
instance of movieClip 1263 {
onClipEvent (load) {
this.jumperguy.play();
}
}
movieClip 1321 {
}
movieClip 1324 {
}
button 1326 {
on (press, keyPress '<Space>') {
_global.keypressed = true;
_global.bearisdead = true;
}
}
movieClip 1332 {
}
movieClip 1334 {
}
frame 4383 {
onEnterFrame();
if (_global.keypressed == true) {
gotoAndPlay(4474);
}
}
frame 4384 {
_global.keypressed = false;
}
movieClip 1356 {
}
frame 4472 {
gotoAndPlay(5850);
}
frame 4473 {
gotoAndPlay(4555);
}
movieClip 1359 {
}
movieClip 1360 {
}
movieClip 1362 {
}
movieClip 1365 {
}
movieClip 1377 {
frame 13 {
stop();
}
}
frame 4553 {
gotoAndPlay(10);
}
frame 4554 {
gotoAndPlay(5850);
}
movieClip 1382 {
}
movieClip 1385 {
}
movieClip 1396 {
}
frame 4669 {
gotoAndPlay(5850);
}
frame 4670 {
ifFrameLoaded (62) {
gotoAndPlay('start');
}
}
movieClip 1420 {
frame 20 {
stop();
}
}
frame 4671 {
gotoAndPlay(4903);
}
button 1422 {
on (release) {
gotoAndStop(8);
}
}
movieClip 1426 {
}
movieClip 1457 {
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 1464 {
frame 99 {
gotoAndPlay(1);
}
}
instance bottlefloat of movieClip 1464 {
onClipEvent (release) {
_root.bottlefloat._visible = false;
_global.haveBottle = true;
_root.foundbottle.play();
}
}
movieClip 1466 {
}
movieClip 1467 {
frame 1 {
stop();
}
}
movieClip 1499 {
}
movieClip 1501 {
}
button 1504 {
on (release) {
gotoAndPlay(5053);
}
}
movieClip 1506 {
}
movieClip 1531 {
}
movieClip 1532 {
}
movieClip 1536 {
}
movieClip 1539 {
}
instance of movieClip 1539 {
onClipEvent (release) {
getURL('http://armorgames.com', '_blank');
}
}
movieClip 1543 {
}
instance of movieClip 1543 {
onClipEvent (release) {
getURL('http://just2play.com', '_blank');
}
}
frame 5101 {
onEnterFrame();
if (_global.purchaseunlock == true) {
_root.purchase._visible = true;
} else {
_root.purchase._visible = true;
}
}
button 1545 {
on (release) {
stopAllSounds();
gotoAndPlay(5169);
}
}
button 1547 {
on (release) {
gotoAndPlay(5168);
}
}
button 1549 {
on (release) {
if (_root.instructions._visible) {
_root.instructions._visible = false;
} else {
_root.instructions._visible = true;
}
}
}
button 1551 {
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 1553 {
on (release) {
stopAllSounds();
play();
}
}
movieClip 1559 {
}
movieClip 1560 {
}
instance of movieClip 1560 {
onClipEvent (release) {
if (_root.instructions._visible) {
_root.instructions._visible = false;
} else {
_root.instructions._visible = true;
}
}
}
frame 5167 {
gotoAndPlay(5170);
}
frame 5168 {
stop();
}
button 1564 {
on (release) {
gotoAndPlay(5054);
}
}
button 1566 {
on (release) {
getURL('http://myweb.cableone.net/codytem/heistwalkthrough.html', '_blank');
}
}
button 1567 {
on (rollOver) {
_root.usefunction.gotoAndStop(1);
_root.mapfunction.gotoAndPlay(2);
}
}
button 1568 {
on (rollOver) {
_root.usefunction.gotoAndPlay(2);
_root.mapfunction.gotoAndStop(1);
}
}
movieClip 1571 {
frame 1 {
stop();
}
frame 20 {
stop();
}
}
movieClip 1577 {
}
movieClip 1579 {
}
movieClip 1582 {
frame 1 {
stop();
}
frame 180 {
gotoAndPlay(24);
}
}
frame 5169 {
_root.moneybox = _root.money;
stop();
}
instance cigarette of movieClip 155 {
onClipEvent (load) {
if (_global.cigarette == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
instance of movieClip 155 {
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 157 {
onClipEvent (load) {
if (_global.glasses == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
instance of movieClip 157 {
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 159 {
onClipEvent (load) {
if (_global.nightvision == true) {
this._visible = true;
} else {
this._visible = false;
}
}
}
instance of movieClip 159 {
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();
}
}
}
movieClip 1594 {
}
button 1599 {
on (release) {
stopAllSounds();
gotoAndPlay(5053);
}
}
movieClip 1602 {
frame 1 {
stop();
}
}
frame 5170 {
play();
}
button 1606 {
on (release) {
stopAllSounds();
gotoAndPlay(5340);
}
}
movieClip 1609 {
}
frame 5369 {
gotoAndPlay(3);
}
frame 5370 {
_global.axeThrown = true;
}
movieClip 1619 {
}
movieClip 1622 {
}
button 1624 {
on (press, keyPress '<Right>') {
gotoAndPlay(5526);
}
on (press, keyPress '<Left>') {
gotoAndPlay(5427);
}
on (press, keyPress '<Down>') {
gotoAndPlay(5427);
}
on (press, keyPress '<Up>') {
gotoAndPlay(5427);
}
}
movieClip 1627 {
}
frame 5524 {
gotoAndPlay(5850);
}
movieClip 1651 {
frame 55 {
stop();
}
}
frame 5609 {
gotoAndPlay(6);
}
frame 5610 {
_global.axeThrown = true;
}
movieClip 1666 {
}
movieClip 1667 {
}
button 1668 {
on (press, keyPress '<Right>') {
gotoAndPlay(5667);
}
on (press, keyPress '<Left>') {
gotoAndPlay(5667);
}
on (press, keyPress '<Down>') {
gotoAndPlay(5766);
}
on (press, keyPress '<Up>') {
gotoAndPlay(5667);
}
}
frame 5764 {
gotoAndPlay(5850);
}
frame 5849 {
gotoAndPlay(6);
}
frame 5850 {
stopAllSounds();
}
frame 5850 {
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(5881);
} else {}
}
button 1691 {
on (release) {
play();
}
}
movieClip 1692 {
}
frame 5879 {
stop();
}
frame 5880 {
_root.lives -= 1;
gotoAndPlay(3);
}
frame 5910 {
stop();
}
frame 5911 {
_root.lives -= 1;
gotoAndPlay(3);
}