Frame 1
MochiAd.showPreGameAd({id:"bb4f2acc6adb505d", res:"600x500"});
MochiAd.showPreGameAd({id:"bb4f2acc6adb505d", res:"600x500"});
stop();
Frame 30
stop();
Frame 31
stop();
var redwrenchin;
redwrenchin = false;
var redwrench;
redwrench = 0;
var bluewrenchin;
bluewrenchin = false;
var bluewrench;
bluewrench = 0;
var yellowwrenchin;
yellowwrenchin = false;
var yellowwrench;
yellowwrench = 0;
var greenwrenchin;
greenwrenchin = false;
var greenwrench;
greenwrench = 0;
var puzzledsolved;
puzzlesolved = false;
var lighton;
lighton = true;
var blacklighton;
blacklighton = false;
var lightroom;
lightroom = true;
var darkroom;
darkroom = false;
var blacklightroom;
blacklightroom = false;
var changedbulb;
changedbulb = "bare";
_root.inv_mc.barebulb2_mc._visible = false;
var blackbulbfound;
blackbulbfound = false;
_root.inv_mc.blackbulb2_mc._visible = false;
var blackbulbused;
blackbulbused = false;
var screwsout;
screwsout = false;
var bluehandleon;
bluehandleon = false;
var wateron;
wateron = false;
var waterfull;
waterfull = false;
var duckvisible;
duckvisible = false;
var blueallenfound;
blueallenfound = false;
_root.inv_mc.blueallen2_mc._visible = false;
var yellowallenfound;
yellowallenfound = false;
var greenallenfound;
greenallenfound = false;
var keyfound;
keyfound = false;
var crowbarfound;
crowbarfound = false;
var screwdriverfound;
screwdriverfound = false;
var bluehandlefound;
bluehandlefound = false;
_root.inv_mc.bluehandle2_mc._visible = false;
var breakerset;
breakerset = false;
var lockunlocked;
lockunlocked = false;
var quarterinserted;
quarterinserted = false;
var waterdrained;
waterdrained = false;
var crackopened;
crackopened = false;
var keyfound;
keyfound = false;
_root.inv_mc.key2_mc._visible = false;
var keyused;
keyused = false;
var quarterfound;
quarterfound = false;
_root.inv_mc.quarter2_mc._visible = false;
var redallenfound;
redallenfound = false;
_root.inv_mc.redallen2_mc._visible = false;
var greenallenfound;
greenallenfound = false;
_root.inv_mc.greenallen2_mc._visible = false;
var yellowallenfound;
yellowallenfound = false;
_root.inv_mc.yellowallen2_mc._visible = false;
var crowbarfound;
crowbarfound = false;
_root.inv_mc.crowbar2_mc._visible = false;
var crowbarused;
crowbarused = false;
var screwdriverfound;
screwdriverfound = false;
_root.inv_mc.screwdriver2_mc._visible = false;
var screwdriverused;
screwdriverused = false;
var cheesefound;
cheesefound = false;
_root.inv_mc.cheese2_mc._visible = false;
var cheeseused;
cheeseused = false;
_root.inv_mc.question1_btn._visible = false;
_root.inv_mc.question2_btn._visible = false;
_root.inv_mc.question3_btn._visible = false;
_root.inv_mc.question4_btn._visible = false;
_root.inv_mc.question5_btn._visible = false;
_root.inv_mc.question6_btn._visible = false;
_root.inv_mc.question7_btn._visible = false;
_root.inv_mc.question8_btn._visible = false;
_root.inv_mc.question9_btn._visible = false;
_root.inv_mc.question10_btn._visible = false;
_root.inv_mc.question11_btn._visible = false;
_root.inv_mc.question12_btn._visible = false;
Symbol 346 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("2.6");
}
static function showPreGameAd(options) {
var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local26);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local22 = 11000;
var _local25 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local6._visible = false;
delete options.no_progress_bar;
} else {
_local6._x = 10;
_local6._y = _local13 - 20;
}
var _local21 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local23 = options.outline;
delete options.outline;
var _local5 = _local6.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local6.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local21);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local7 = _local6.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local23, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local4 - 20, 0);
_local7.lineTo(_local4 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local22;
chk.ad_timeout = _local25;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local11 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local2 = (100 * _local8) / _local4;
var _local10 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local13 = Math.min(100, Math.min(_local2 || 0, _local10));
_local13 = Math.max(this.last_pcnt, _local13);
this.last_pcnt = _local13;
_local9._xscale = _local13;
options.ad_progress(_local13);
if (sendHostProgress) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local2});
if (_local2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local7 = _local11.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local9 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local9);
var clip = options.clip;
var _local8 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local4 = _getRes(options);
var _local10 = _local4[0];
var _local7 = _local4[1];
mc._x = _local10 * 0.5;
mc._y = _local7 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local8;
chk.started = getTimer();
chk.showing = false;
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local20 = false;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local9 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local9._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local9._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local8;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
_local6.lc = _local5;
_local4.lc = _local8;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
if (clip._mochiad._containerLCName != undefined) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"unload"});
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local4);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local3);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
}
Symbol 13 Button
on (release) {
gotoAndStop (31);
}
Symbol 17 Button
on (release) {
getURL ("http://www.shatteredgames.com", "_blank");
}
Symbol 21 Button
on (release) {
gotoAndPlay ("room_two");
}
Symbol 22 Button
on (release) {
gotoAndPlay ("room_four");
}
Symbol 27 Button
on (release) {
gotoAndPlay ("bulb_on");
}
Symbol 29 Button
on (release) {
gotoAndPlay ("bulb_off");
}
Symbol 31 Button
on (release) {
gotoAndStop ("blacklight_on");
}
Symbol 33 Button
on (release) {
gotoAndStop ("blacklight_off");
}
Symbol 34 MovieClip Frame 1
stop();
_root.lighton = false;
_root.darkroom = true;
_root.blacklightroom = false;
_root.blacklightoff = false;
Symbol 34 MovieClip Frame 5
stop();
_root.lighton = true;
_root.lightroom = true;
_root.blacklightroom = false;
_root.darkroom = false;
Symbol 34 MovieClip Frame 10
stop();
_root.darkroom = true;
_root.blacklightroom = false;
_root.lightroom = false;
_root.lighton = false;
Symbol 34 MovieClip Frame 15
stop();
_root.blacklightroom = true;
_root.darkroom = false;
_root.lightroom = false;
_root.lighton = false;
Symbol 36 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 2
stop();
Symbol 42 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 2
stop();
Symbol 46 MovieClip Frame 1
stop();
Symbol 48 Button
on (release) {
gotoAndPlay ("rat_peek");
}
Symbol 50 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 2
stop();
Symbol 53 MovieClip Frame 1
stop();
Symbol 53 MovieClip Frame 14
stop();
Symbol 53 MovieClip Frame 40
stop();
Instance of Symbol 42 MovieClip in Symbol 53 MovieClip Frame 40
onClipEvent (load) {
if (_root.greenallenfound == false) {
gotoAndStop ("greenallen");
} else if ((_root.greenallenfound == true) && (_root.greenwrenchin == false)) {
gotoAndStop ("nogreenallen");
_root.inv_mc.greenallen2_mc._visible = true;
} else if ((_root.greenallenfound == true) && (_root.greenwrenchin == true)) {
gotoAndStop ("nogreenallen");
_root.inv_mc.greenallen2_mc._visible = false;
}
}
onClipEvent (enterFrame) {
this.onPress = function () {
gotoAndStop ("nogreenallen");
_root.inv_mc.greenallen2_mc._visible = true;
_root.greenallenfound = true;
};
}
Symbol 55 Button
on (release) {
gotoAndPlay ("mousehole_close");
}
Symbol 57 Button
on (release) {
gotoAndPlay ("top_steps");
}
Symbol 58 Button
on (release) {
gotoAndPlay ("under_stairs");
}
Symbol 62 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 2
stop();
Instance of Symbol 62 MovieClip "key_mc" in Symbol 64 MovieClip Frame 1
onClipEvent (load) {
if (_root.keyfound == false) {
gotoAndStop ("key");
} else if ((_root.keyfound == true) && (_root.lockunlocked == false)) {
gotoAndStop ("nokey");
_root.inv_mc.key2_mc._visible = true;
} else if ((_root.keyfound == true) && (_root.lockunlocked == true)) {
gotoAndStop ("nokey");
_root.inv_mc.key2_mc._visible = false;
}
}
onClipEvent (enterFrame) {
this.onPress = function () {
_root.keyfound = true;
gotoAndStop ("nokey");
_root.inv_mc.key2_mc._visible = true;
};
}
Symbol 65 Button
on (release) {
gotoAndStop ("door_close");
}
Symbol 67 Button
on (release) {
gotoAndStop ("door_far");
}
Symbol 68 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 10
stop();
Symbol 69 Button
on (release) {
gotoAndPlay ("bottom_steps");
}
Symbol 73 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 2
stop();
Symbol 74 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 10
stop();
Symbol 74 MovieClip Frame 20
stop();
Instance of Symbol 73 MovieClip "quarter1_mc" in Symbol 74 MovieClip Frame 20
onClipEvent (load) {
if (_root.quarterfound == false) {
gotoAndStop ("quarter");
} else if ((_root.quarterfound == true) && (_root.quarterinserted == false)) {
gotoAndStop ("noquarter");
_root.inv_mc.quarter2_mc._visible = true;
} else if ((_root.quarterfound == true) && (_root.quarterinserted == true)) {
gotoAndStop ("noquarter");
_root.inv_mc.quarter2_mc._visible = false;
}
}
onClipEvent (enterFrame) {
this.onPress = function () {
_root.quarterfound = true;
gotoAndStop ("noquarter");
_root.inv_mc.quarter2_mc._visible = true;
};
}
Symbol 77 MovieClip Frame 1
stop();
Symbol 77 MovieClip Frame 2
stop();
Symbol 77 MovieClip Frame 3
stop();
Symbol 79 Button
on (release) {
gotoAndPlay ("room_three");
}
Symbol 80 Button
on (release) {
gotoAndPlay ("room_one");
}
Symbol 101 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 2
stop();
Instance of Symbol 101 MovieClip "bluehandle1_mc" in Symbol 104 MovieClip Frame 1
onClipEvent (load) {
if (_root.bluehandlefound == false) {
gotoAndStop ("bluehandle");
} else if ((_root.bluehandlefound == true) && (_root.bluehandleon == false)) {
gotoAndStop ("nobluehandle");
_root.inv_mc.bluehandle2_mc._visible = true;
} else if ((_root.bluehandlefound == true) && (_root.bluehandleon == true)) {
gotoAndStop ("nobluehandle");
_root.inv_mc.bluehandle2_mc._visible = false;
}
}
onClipEvent (load) {
this.onPress = function () {
_root.bluehandlefound = true;
gotoAndStop ("nobluehandle");
_root.inv_mc.bluehandle2_mc._visible = true;
};
}
Instance of Symbol 103 MovieClip "blueclothes_mc" in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
this.onPress = function () {
if (this._y >= 0) {
this._y = this._y - 5;
} else if (this._y <= 0) {
this._y = 32;
}
};
}
Symbol 108 Button
on (release) {
gotoAndStop ("basket_close");
}
Symbol 111 Button
on (release) {
gotoAndPlay ("washer_close");
}
Symbol 120 MovieClip Frame 1
stop();
Symbol 120 MovieClip Frame 15
stop();
Symbol 124 Button
on (release) {
gotoAndPlay ("coins_in");
}
Symbol 129 Button
on (release) {
if (_root.quarterinserted == false) {
gotoAndPlay ("coins_out");
} else if (_root.quarterinserted == true) {
gotoAndStop ("coins_in");
}
}
Symbol 130 MovieClip Frame 1
stop();
Instance of Symbol 120 MovieClip in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.quarterinserted == false) {
if (_root.inv_mc.quarter2_mc.hitTest(this)) {
gotoAndPlay ("insert_quarter");
_root.inv_mc.quarter2_mc._visible = false;
_root.quarterinserted = true;
}
}
}
Symbol 130 MovieClip Frame 5
stop();
Instance of Symbol 120 MovieClip in Symbol 130 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.quarterinserted == false) {
if (_root.inv_mc.quarter2_mc.hitTest(this)) {
gotoAndPlay ("insert_quarter");
_root.inv_mc.quarter2_mc._visible = false;
_root.quarterinserted = true;
}
}
}
Symbol 132 Button
on (release) {
gotoAndPlay ("coinslide_close");
}
Symbol 137 Button
on (release) {
gotoAndPlay ("washer_open");
}
Symbol 140 Button
on (release) {
gotoAndPlay ("washer_closed");
}
Symbol 141 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 10
stop();
Symbol 141 MovieClip Frame 20
stop();
Symbol 146 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 2
stop();
Symbol 160 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 10
stop();
_root.waterdrained = true;
Instance of Symbol 146 MovieClip "redallen_mc" in Symbol 160 MovieClip Frame 10
onClipEvent (load) {
if (_root.redallenfound == false) {
gotoAndStop ("redallen");
} else if ((_root.redallenfound == true) && (_root.redwrenchin == false)) {
gotoAndStop ("noredallen");
_root.inv_mc.redallen2_mc._visible = true;
} else if ((_root.redallenfound == true) && (_root.redwrenchin == true)) {
gotoAndStop ("noredallen");
_root.inv_mc.redallen2_mc._visible = false;
}
}
onClipEvent (enterFrame) {
this.onPress = function () {
_root.redallenfound = true;
gotoAndStop ("noredallen");
_root.inv_mc.redallen2_mc._visible = true;
};
}
Symbol 161 Button
on (release) {
gotoAndPlay ("washerside_view");
}
Symbol 165 Button
on (release) {
gotoAndPlay ("washerside_view");
}
Symbol 167 Button
on (release) {
gotoAndPlay ("room_two");
}
Symbol 168 MovieClip Frame 1
stop();
Instance of Symbol 135 MovieClip in Symbol 168 MovieClip Frame 1
onClipEvent (enterFrame) {
this.onPress = function () {
gotoAndPlay ("washer_open");
};
}
Symbol 168 MovieClip Frame 2
stop();
Instance of Symbol 160 MovieClip "insidewasher_mc" in Symbol 168 MovieClip Frame 2
onClipEvent (load) {
if ((_root.breakerset == true) && (_root.quarterinserted == true)) {
gotoAndPlay ("water_down");
trace("water draining");
}
if (_root.waterdrained == true) {
gotoAndStop ("water_down");
}
}
Symbol 168 MovieClip Frame 3
stop();
Instance of Symbol 135 MovieClip in Symbol 168 MovieClip Frame 3
onClipEvent (enterFrame) {
this.onPress = function () {
gotoAndPlay ("washer_open");
};
}
Symbol 170 MovieClip Frame 1
stop();
Symbol 170 MovieClip Frame 2
stop();
Instance of Symbol 50 MovieClip "cheese_mc" in Symbol 173 MovieClip Frame 1
onClipEvent (load) {
if (_root.cheesefound == false) {
gotoAndStop ("cheese");
} else if ((_root.cheesefound == true) && (_root.cheeseused == false)) {
gotoAndStop ("nocheese");
_root.inv_mc.cheese2_mc._visible = true;
} else if ((_root.cheesefound == true) && (_root.cheeseused == true)) {
gotoAndStop ("nocheese");
_root.inv_mc.cheese2_mc._visible = false;
}
}
onClipEvent (load) {
this.onPress = function () {
_root.cheesefound = true;
gotoAndStop ("nocheese");
_root.inv_mc.cheese2_mc._visible = true;
};
}
Symbol 177 MovieClip Frame 1
stop();
Symbol 177 MovieClip Frame 2
stop();
Symbol 187 Button
on (release) {
gotoAndPlay ("water_on");
_root.wateron = true;
}
Symbol 189 Button
on (release) {
gotoAndStop ("water_full");
_root.waterfull = true;
}
Symbol 193 MovieClip Frame 1
stop();
Symbol 193 MovieClip Frame 5
stop();
Symbol 193 MovieClip Frame 10
stop();
_root.wateron = true;
Symbol 197 MovieClip Frame 1
stop();
Symbol 197 MovieClip Frame 2
stop();
Symbol 205 MovieClip Frame 1
stop();
Instance of Symbol 193 MovieClip "handle_mc" in Symbol 205 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.bluehandleon == false) && (_root.wateron == false)) {
if (_root.inv_mc.bluehandle2_mc.hitTest(this)) {
gotoAndStop ("handle_on");
_root.inv_mc.bluehandle2_mc._visible = false;
_root.bluehandleon = true;
}
}
if ((_root.bluehandleon == true) && (_root.wateron == false)) {
gotoAndStop ("handle_on");
}
if (_root.wateron == true) {
gotoAndStop ("water_on");
_root.wateron = true;
}
if (_root.waterfull == true) {
gotoAndStop ("water_full");
}
}
Symbol 205 MovieClip Frame 5
_root.screwsout = true;
Symbol 205 MovieClip Frame 30
stop();
Instance of Symbol 177 MovieClip "blackbulb_mc" in Symbol 205 MovieClip Frame 30
onClipEvent (load) {
if (_root.blackbulbfound == false) {
gotoAndStop ("blackbulb");
} else if ((_root.blackbulbfound == true) && (_root.blackbulbused == false)) {
gotoAndStop ("noblackbulb");
_root.inv_mc.blackbulb2_mc._visible = true;
}
}
onClipEvent (load) {
this.onPress = function () {
_root.blackbulbfound = true;
gotoAndStop ("noblackbulb");
_root.inv_mc.blackbulb2_mc._visible = true;
};
}
Symbol 208 Button
on (release) {
if (_root.waterfull == true) {
gotoAndPlay ("water_on");
}
}
Symbol 229 Button
on (release) {
_root.room_mc.gotoAndPlay("leg_close");
}
Symbol 230 MovieClip Frame 1
stop();
Symbol 230 MovieClip Frame 9
_root.duckvisible = true;
Symbol 230 MovieClip Frame 25
stop();
_root.duckvisible = true;
Symbol 230 MovieClip Frame 39
stop();
_root.duckvisible = true;
Symbol 231 Button
on (release) {
gotoAndPlay ("sink_close");
}
Symbol 232 Button
on (release) {
gotoAndPlay ("heater_close");
}
Symbol 233 Button
on (release) {
gotoAndStop ("heaterbottom_close");
}
Symbol 234 Button
on (release) {
gotoAndPlay ("mousetrap_close");
}
Symbol 240 MovieClip Frame 1
stop();
Symbol 240 MovieClip Frame 5
stop();
Symbol 256 Button
on (release) {
gotoAndStop ("breaker_set");
}
Symbol 262 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 2
stop();
Symbol 266 MovieClip Frame 1
stop();
Instance of Symbol 240 MovieClip "lock_mc" in Symbol 266 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.lockunlocked == false) {
if (_root.inv_mc.key2_mc.hitTest(locktouch_mc)) {
gotoAndPlay ("lock_open");
_root.lockunlocked = true;
_root.inv_mc.key2_mc._visible = false;
}
}
}
Symbol 266 MovieClip Frame 5
stop();
Instance of Symbol 262 MovieClip "blueallen_mc" in Symbol 266 MovieClip Frame 5
onClipEvent (load) {
if (_root.blueallenfound == false) {
gotoAndStop ("blueallen");
} else if ((_root.blueallenfound == true) && (_root.bluewrenchin == false)) {
gotoAndStop ("noblueallen");
_root.inv_mc.blueallen2_mc._visible = true;
} else if ((_root.blueallenfound == true) && (_root.bluewrenchin == true)) {
gotoAndStop ("noblueallen");
_root.inv_mc.blueallen2_mc._visible = false;
}
}
onClipEvent (enterFrame) {
this.onPress = function () {
trace("blue allen touched");
gotoAndStop ("noblueallen");
_root.inv_mc.blueallen2_mc._visible = true;
_root.blueallenfound = true;
};
}
Symbol 266 MovieClip Frame 10
stop();
_root.breakerset = true;
Symbol 273 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 2
stop();
Symbol 277 MovieClip Frame 1
stop();
Symbol 277 MovieClip Frame 2
stop();
Symbol 280 MovieClip Frame 1
stop();
Symbol 280 MovieClip Frame 2
stop();
Symbol 284 MovieClip Frame 1
stop();
Symbol 284 MovieClip Frame 2
stop();
_root.redwrenchin = true;
Symbol 285 Button
on (release) {
gotoAndPlay ("breaker_close");
}
Symbol 286 Button
on (release) {
gotoAndPlay ("window_close");
}
Symbol 288 MovieClip Frame 1
stop();
Symbol 288 MovieClip Frame 2
stop();
Symbol 290 Button
on (release) {
gotoAndPlay ("floor_close");
}
Symbol 301 MovieClip Frame 1
stop();
Symbol 301 MovieClip Frame 5
stop();
Instance of Symbol 273 MovieClip "circle_mc" in Symbol 303 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.bluewrenchin == true) {
gotoAndStop ("wrench_in");
this.onPress = function () {
this._rotation = this._rotation + 45;
_root.bluewrench = _root.bluewrench + 1;
trace(_root.bluewrench);
};
}
if (_root.bluewrench == 8) {
_root.bluewrench = 0;
}
}
onClipEvent (enterFrame) {
if (_root.inv_mc.blueallen2_mc.hitTest(this)) {
gotoAndStop ("wrench_in");
_root.bluewrenchin = true;
_root.inv_mc.blueallen2_mc._visible = false;
}
}
Instance of Symbol 277 MovieClip "triangle_mc" in Symbol 303 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.yellowwrenchin == true) {
gotoAndStop ("wrench_in");
this.onPress = function () {
this._rotation = this._rotation + 45;
_root.yellowwrench = _root.yellowwrench + 1;
trace(_root.yellowwrench);
};
}
if (_root.yellowwrench == 8) {
_root.yellowwrench = 0;
}
}
onClipEvent (enterFrame) {
if (_root.inv_mc.yellowallen2_mc.hitTest(this)) {
gotoAndStop ("wrench_in");
_root.yellowwrenchin = true;
_root.inv_mc.yellowallen2_mc._visible = false;
}
}
Instance of Symbol 280 MovieClip "pentagon_mc" in Symbol 303 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.greenwrenchin == true) {
gotoAndStop ("wrench_in");
this.onPress = function () {
this._rotation = this._rotation + 45;
_root.greenwrench = _root.greenwrench + 1;
trace(_root.greenwrench);
};
}
if (_root.greenwrench == 8) {
_root.greenwrench = 0;
}
}
onClipEvent (enterFrame) {
if (_root.inv_mc.greenallen2_mc.hitTest(this)) {
gotoAndStop ("wrench_in");
_root.greenwrenchin = true;
_root.inv_mc.greenallen2_mc._visible = false;
}
}
Instance of Symbol 284 MovieClip "square_mc" in Symbol 303 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.redwrenchin == true) {
gotoAndStop ("wrench_in");
this.onPress = function () {
this._rotation = this._rotation + 45;
_root.redwrench = _root.redwrench + 1;
trace(_root.redwrench);
};
}
if (_root.redwrench == 8) {
_root.redwrench = 0;
}
}
onClipEvent (enterFrame) {
if (_root.inv_mc.redallen2_mc.hitTest(this)) {
gotoAndStop ("wrench_in");
_root.redwrenchin = true;
_root.inv_mc.redallen2_mc._visible = false;
}
}
Symbol 304 Button
on (release) {
gotoAndPlay ("room_three");
}
Symbol 305 Button
on (release) {
gotoAndPlay ("room_three");
}
Symbol 307 Button
on (release) {
gotoAndPlay ("room_two");
}
Symbol 316 MovieClip Frame 1
stop();
Instance of Symbol 197 MovieClip "screwdriver1_mc" in Symbol 316 MovieClip Frame 2
onClipEvent (load) {
if (_root.screwdriverfound == false) {
gotoAndStop ("screwdriver");
} else if ((_root.screwdriverfound == true) && (_root.screwdriverused == false)) {
gotoAndStop ("noscrewdriver");
_root.inv_mc.screwdriver2_mc._visible = true;
} else if ((_root.screwdriverfound == true) && (_root.screwdriverused == true)) {
gotoAndStop ("noscrewdriver");
_root.inv_mc.screwdriver2_mc._visible = false;
}
}
onClipEvent (enterFrame) {
this.onPress = function () {
_root.screwdriverfound = true;
gotoAndStop ("noscrewdriver");
_root.inv_mc.screwdriver2_mc._visible = true;
};
}
Symbol 316 MovieClip Frame 30
stop();
Symbol 325 MovieClip Frame 1
stop();
Symbol 325 MovieClip Frame 2
stop();
Symbol 326 MovieClip Frame 1
stop();
Instance of Symbol 34 MovieClip "light_mc" in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
if ((_root.changedbulb == "bare") && (_root.lighton == true)) {
gotoAndStop ("bulb_on");
} else if ((_root.lighton == false) && (_root.changedbulb == "bare")) {
gotoAndStop ("bulb_off");
}
}
onClipEvent (enterFrame) {
if (_root.changedbulb == "bare") {
if (_root.inv_mc.blackbulb2_mc.hitTest(this)) {
_root.changedbulb = "black";
_root.blackbulbused = true;
gotoAndStop ("blacklight_off");
_root.inv_mc.blackbulb2_mc._visible = false;
_root.inv_mc.barebulb2_mc._visible = true;
_root.inv_mc.barebulb2_mc._x = 135;
_root.inv_mc.barebulb2_mc._y = -1.8;
}
}
if (_root.changedbulb == "black") {
if (_root.inv_mc.barebulb2_mc.hitTest(this)) {
_root.changedbulb = "bare";
gotoAndStop ("bulb_off");
_root.inv_mc.blackbulb2_mc._visible = true;
_root.inv_mc.blackbulb2_mc._x = 133.5;
_root.inv_mc.blackbulb2_mc._y = -30.9;
_root.inv_mc.barebulb2_mc._visible = false;
}
}
}
onClipEvent (load) {
if ((_root.changedbulb == "black") && (_root.darkroom == true)) {
gotoAndStop ("blacklight_off");
}
if ((_root.changedbulb == "black") && (_root.blacklightroom == true)) {
gotoAndStop ("blacklight_on");
}
}
Instance of Symbol 36 MovieClip "crowbar1_mc" in Symbol 326 MovieClip Frame 1
onClipEvent (load) {
if (_root.crowbarfound == false) {
gotoAndStop ("crowbar");
} else if ((_root.crowbarfound == true) && (_root.crowbarused == false)) {
gotoAndStop ("nocrowbar");
_root.inv_mc.crowbar2_mc._visible = true;
} else if ((_root.crowbarfound == true) && (_root.crowbarused == true)) {
gotoAndStop ("nocrowbar");
_root.inv_mc.crowbar2_mc._visible = false;
}
}
onClipEvent (load) {
this.onPress = function () {
_root.crowbarfound = true;
gotoAndStop ("nocrowbar");
_root.inv_mc.crowbar2_mc._visible = true;
};
}
Instance of Symbol 77 MovieClip in Symbol 326 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.blacklightroom == true) {
gotoAndStop ("blacklightroom_on");
}
if (_root.lightroom == true) {
gotoAndStop ("light_room");
} else if (_root.darkroom == true) {
gotoAndStop ("dark_room");
}
}
Symbol 326 MovieClip Frame 10
stop();
Instance of Symbol 170 MovieClip "glow_mc" in Symbol 326 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_root.blacklightroom == true) {
gotoAndStop ("words");
}
}
Symbol 326 MovieClip Frame 20
stop();
Instance of Symbol 205 MovieClip in Symbol 326 MovieClip Frame 20
onClipEvent (load) {
if (_root.screwsout == true) {
gotoAndStop ("panel_out");
}
}
Instance of Symbol 230 MovieClip in Symbol 326 MovieClip Frame 20
onClipEvent (load) {
if (_root.duckvisible == true) {
gotoAndStop ("duck_visible");
}
}
Symbol 326 MovieClip Frame 30
stop();
Instance of Symbol 266 MovieClip in Symbol 326 MovieClip Frame 30
onClipEvent (enterFrame) {
if (_root.lockunlocked == true) {
gotoAndPlay ("door_open");
}
}
Instance of Symbol 273 MovieClip "circle_mc" in Symbol 326 MovieClip Frame 30
onClipEvent (enterFrame) {
if (_root.bluewrenchin == true) {
gotoAndStop ("wrench_in");
this.onPress = function () {
this._rotation = this._rotation + 45;
_root.bluewrench = _root.bluewrench + 1;
trace(_root.bluewrench);
};
}
if (_root.bluewrench == 8) {
_root.bluewrench = 0;
}
}
onClipEvent (enterFrame) {
if (_root.inv_mc.blueallen_mc.hitTest(this)) {
gotoAndStop ("wrench_in");
_root.bluewrenchin = true;
_root.inv_mc.blueallen_mc._visible = false;
}
}
Instance of Symbol 277 MovieClip "triangle_mc" in Symbol 326 MovieClip Frame 30
onClipEvent (enterFrame) {
if (_root.yellowwrenchin == true) {
gotoAndStop ("wrench_in");
this.onPress = function () {
this._rotation = this._rotation + 45;
_root.yellowwrench = _root.yellowwrench + 1;
trace(_root.yellowwrench);
};
}
if (_root.yellowwrench == 8) {
_root.yellowwrench = 0;
}
}
onClipEvent (enterFrame) {
if (_root.inv_mc.yellowallen_mc.hitTest(this)) {
gotoAndStop ("wrench_in");
_root.yellowwrenchin = true;
_root.inv_mc.yellowallen_mc._visible = false;
}
}
Instance of Symbol 280 MovieClip "pentagon_mc" in Symbol 326 MovieClip Frame 30
onClipEvent (enterFrame) {
if (_root.greenwrenchin == true) {
gotoAndStop ("wrench_in");
this.onPress = function () {
this._rotation = this._rotation + 45;
_root.greenwrench = _root.greenwrench + 1;
trace(_root.greenwrench);
};
}
if (_root.greenwrench == 8) {
_root.greenwrench = 0;
}
}
onClipEvent (enterFrame) {
if (_root.inv_mc.greenallen_mc.hitTest(this)) {
gotoAndStop ("wrench_in");
_root.greenwrenchin = true;
_root.inv_mc.greenallen_mc._visible = false;
}
}
Instance of Symbol 284 MovieClip "square_mc" in Symbol 326 MovieClip Frame 30
onClipEvent (enterFrame) {
if (_root.redwrenchin == true) {
gotoAndStop ("wrench_in");
this.onPress = function () {
this._rotation = this._rotation + 45;
_root.redwrench = _root.redwrench + 1;
trace(_root.redwrench);
};
}
if (_root.redwrench == 8) {
_root.redwrench = 0;
}
}
onClipEvent (enterFrame) {
if (_root.inv_mc.redallen_mc.hitTest(this)) {
gotoAndStop ("wrench_in");
_root.redwrenchin = true;
_root.inv_mc.redallen_mc._visible = false;
}
}
Instance of Symbol 288 MovieClip "windowlight_mc" in Symbol 326 MovieClip Frame 30
onClipEvent (load) {
if (_root.darkroom == true) {
gotoAndPlay ("light");
}
}
Symbol 326 MovieClip Frame 40
stop();
Instance of Symbol 266 MovieClip in Symbol 326 MovieClip Frame 40
onClipEvent (enterFrame) {
if (_root.lockunlocked == true) {
gotoAndPlay ("door_open");
}
if (_root.breakerset == true) {
gotoAndStop ("breaker_set");
}
}
Symbol 326 MovieClip Frame 50
stop();
Instance of Symbol 301 MovieClip "window_mc" in Symbol 326 MovieClip Frame 50
onClipEvent (enterFrame) {
if ((((_root.redwrench == 6) && (_root.bluewrench == 2)) && (_root.yellowwrench == 3)) && (_root.greenwrench == 4)) {
_root.puzzlesolved = true;
gotoAndStop ("window_open");
}
}
Symbol 326 MovieClip Frame 60
stop();
Instance of Symbol 230 MovieClip in Symbol 326 MovieClip Frame 60
onClipEvent (enterFrame) {
if (_root.duckvisible == true) {
gotoAndStop ("duck_visible");
}
}
Symbol 326 MovieClip Frame 70
stop();
Instance of Symbol 205 MovieClip in Symbol 326 MovieClip Frame 70
onClipEvent (load) {
if (_root.screwsout == true) {
gotoAndStop ("panel_out");
}
}
onClipEvent (enterFrame) {
if (_root.screwsout == false) {
if (_root.inv_mc.screwdriver2_mc.hitTest(panel_mc)) {
gotoAndPlay ("screws_out");
_root.inv_mc.screwdriver2_mc._visible = false;
_root.screwsout = true;
_root.screwdriverused = true;
}
}
}
Symbol 326 MovieClip Frame 80
stop();
Symbol 326 MovieClip Frame 90
stop();
Instance of Symbol 205 MovieClip in Symbol 326 MovieClip Frame 90
onClipEvent (load) {
if (_root.screwsout == true) {
gotoAndStop ("panel_out");
}
}
onClipEvent (enterFrame) {
if (_root.screwsout == false) {
if (_root.inv_mc.screwdriver2_mc.hitTest(panel_mc)) {
gotoAndPlay ("screws_out");
_root.inv_mc.screwdriver2_mc._visible = false;
_root.screwsout = true;
}
}
}
Symbol 326 MovieClip Frame 100
stop();
Instance of Symbol 316 MovieClip "crack_mc" in Symbol 326 MovieClip Frame 100
onClipEvent (enterFrame) {
if (_root.crackopened == false) {
if (_root.inv_mc.crowbar2_mc.hitTest(_root.room_mc.crack_mc.cracktouch_mc)) {
gotoAndPlay ("crack_opening");
_root.crackopened = true;
_root.inv_mc.crowbar2_mc._visible = false;
_root.crowbarused = true;
}
}
if (_root.crackopened == true) {
gotoAndStop ("crack_open");
_root.inv_mc.crowbar2_mc._visible = false;
}
}
Instance of Symbol 288 MovieClip "windowlight_mc" in Symbol 326 MovieClip Frame 100
onClipEvent (load) {
if (_root.darkroom == true) {
gotoAndPlay ("light");
}
}
Symbol 326 MovieClip Frame 110
stop();
Instance of Symbol 205 MovieClip in Symbol 326 MovieClip Frame 110
onClipEvent (load) {
if (_root.screwsout == true) {
gotoAndStop ("panel_out");
}
}
Symbol 326 MovieClip Frame 120
stop();
Instance of Symbol 34 MovieClip in Symbol 326 MovieClip Frame 120
onClipEvent (load) {
if (_root.changedbulb == false) {
if (_root.lighton == true) {
gotoAndStop ("bulb_on");
} else if (_root.lighton == false) {
gotoAndStop ("bulb_off");
}
}
}
onClipEvent (enterFrame) {
if (_root.changedbulb == false) {
if (_root.inv_mc.blackbulb2_mc.hitTest(this)) {
_root.changedbulb = true;
gotoAndStop ("blacklight_off");
_root.inv_mc.blackbulb2_mc._visible = false;
_root.inv_mc.barebulb2_mc._visible = true;
trace("hit");
}
}
if (_root.changedbulb == true) {
if (_root.inv_mc.barebulb2_mc.hitTest(this)) {
_root.changedbulb = false;
gotoAndStop ("bulb_off");
_root.inv_mc.blackbulb2_mc._visible = true;
_root.inv_mc.barebulb2_mc._visible = false;
trace("hit");
}
}
}
onClipEvent (load) {
if ((_root.changedbulb == true) && (_root.darkroom == true)) {
gotoAndStop ("blacklight_off");
}
if ((_root.changedbulb == true) && (_root.blacklightroom == true)) {
gotoAndStop ("blacklight_on");
}
}
Instance of Symbol 53 MovieClip "mousehole_mc" in Symbol 326 MovieClip Frame 120
onClipEvent (enterFrame) {
if ((_root.greenallenfound == false) && (_root.cheeseused == false)) {
if (_root.inv_mc.cheese2_mc.hitTest(cheesetouch_mc)) {
gotoAndPlay ("place_cheese");
_root.cheeseused = true;
_root.inv_mc.cheese2_mc._visible = false;
} else if ((_root.greenallenfound == false) && (_root.cheeseused == true)) {
gotoAndPlay ("rat_gone");
} else if ((_root.greenallenfound == true) && (_root.cheeseused == true)) {
gotoAndPlay ("rat_gone");
}
}
}
onClipEvent (load) {
if (_root.cheeseused == true) {
gotoAndStop ("rat_gone");
}
}
Instance of Symbol 322 MovieClip in Symbol 326 MovieClip Frame 120
onClipEvent (load) {
if (_root.testfound == false) {
gotoAndStop ("test");
} else if (_root.testfound == true) {
gotoAndStop ("notest");
_root.inv_mc.test2_mc._visible = true;
}
}
onClipEvent (enterFrame) {
this.onPress = function () {
_root.testfound = true;
gotoAndStop ("notest");
_root.inv_mc.test2_mc._visible = true;
};
}
Symbol 326 MovieClip Frame 130
stop();
Instance of Symbol 325 MovieClip "yellowallen1_mc" in Symbol 326 MovieClip Frame 130
onClipEvent (load) {
if (_root.yellowallenfound == false) {
gotoAndStop ("yellowallen");
} else if ((_root.yellowallenfound == true) && (_root.yellowwrenchin == false)) {
gotoAndStop ("noyellowallen");
_root.inv_mc.yellowallen2_mc._visible = true;
} else if ((_root.yellowallenfound == true) && (_root.yellowwrenchin == true)) {
gotoAndStop ("noyellowallen");
_root.inv_mc.yellowallen2_mc._visible = false;
}
}
onClipEvent (enterFrame) {
this.onPress = function () {
gotoAndStop ("noyellowallen");
_root.inv_mc.yellowallen2_mc._visible = true;
_root.yellowallenfound = true;
};
}
Symbol 339 Button
on (release) {
getURL ("http://www.shatteredgames.com", "_blank");
}
Symbol 341 MovieClip Frame 1
stop();
Symbol 341 MovieClip Frame 2
stop();
Symbol 345 MovieClip Frame 1
stop();
var redallen2_mc;
redallen2_mc.onPress = function () {
startDrag (redallen2_mc);
if (redallen2_mc._y >= -49) {
redallen2_mc.onRelease = function () {
redallen2_mc.stopDrag();
redallen2_mc._x = 32.4;
redallen2_mc._y = -15.4;
};
}
};
var yellowallen2_mc;
yellowallen2_mc.onPress = function () {
startDrag (yellowallen2_mc);
if (yellowallen2_mc._y >= -49) {
yellowallen2_mc.onRelease = function () {
yellowallen2_mc.stopDrag();
yellowallen2_mc._x = -11.8;
yellowallen2_mc._y = -15.1;
};
}
};
var greenallen2_mc;
greenallen2_mc.onPress = function () {
startDrag (greenallen2_mc);
if (greenallen2_mc._y >= -49) {
greenallen2_mc.onRelease = function () {
greenallen2_mc.stopDrag();
greenallen2_mc._x = -59;
greenallen2_mc._y = -25.5;
};
}
};
var blueallen2_mc;
blueallen2_mc.onPress = function () {
startDrag (blueallen2_mc);
if (blueallen2_mc._y >= -49) {
blueallen2_mc.onRelease = function () {
blueallen2_mc.stopDrag();
blueallen2_mc._x = -103.1;
blueallen2_mc._y = -25.5;
};
}
};
var blackbulb2_mc;
blackbulb2_mc.onPress = function () {
startDrag (blackbulb2_mc);
if (blackbulb2_mc._y >= -49) {
blackbulb2_mc.onRelease = function () {
blackbulb2_mc.stopDrag();
blackbulb2_mc._x = 133.5;
blackbulb2_mc._y = -30.9;
};
}
};
var barebulb2_mc;
barebulb2_mc.onPress = function () {
startDrag (barebulb2_mc);
if (barebulb2_mc._y >= -49) {
barebulb2_mc.onRelease = function () {
barebulb2_mc.stopDrag();
barebulb2_mc._x = 135;
barebulb2_mc._y = -1.8;
};
}
};
var screwdriver2_mc;
screwdriver2_mc.onPress = function () {
startDrag (screwdriver2_mc);
if (screwdriver2_mc._y >= -49) {
screwdriver2_mc.onRelease = function () {
screwdriver2_mc.stopDrag();
screwdriver2_mc._x = -60.3;
screwdriver2_mc._y = 6.3;
};
}
};
var bluehandle2_mc;
bluehandle2_mc.onPress = function () {
startDrag (bluehandle2_mc);
if (bluehandle2_mc._y >= -49) {
bluehandle2_mc.onRelease = function () {
bluehandle2_mc.stopDrag();
bluehandle2_mc._x = -10.6;
bluehandle2_mc._y = 6.5;
};
}
};
var key2_mc;
key2_mc.onPress = function () {
startDrag (key2_mc);
if (key2_mc._y >= -49) {
key2_mc.onRelease = function () {
key2_mc.stopDrag();
key2_mc._x = 72.3;
key2_mc._y = -23.6;
};
}
};
var quarter2_mc;
quarter2_mc.onPress = function () {
startDrag (quarter2_mc);
if (quarter2_mc._y >= -49) {
quarter2_mc.onRelease = function () {
quarter2_mc.stopDrag();
quarter2_mc._x = 34.8;
quarter2_mc._y = -5.1;
};
}
};
var crowbar2_mc;
crowbar2_mc.onPress = function () {
startDrag (crowbar2_mc);
if (crowbar2_mc._y >= -49) {
crowbar2_mc.onRelease = function () {
crowbar2_mc.stopDrag();
crowbar2_mc._x = -101;
crowbar2_mc._y = 9;
};
}
};
var cheese2_mc;
cheese2_mc.onPress = function () {
startDrag (cheese2_mc);
if (cheese2_mc._y >= -49) {
cheese2_mc.onRelease = function () {
cheese2_mc.stopDrag();
cheese2_mc._x = 80;
cheese2_mc._y = 7.5;
};
}
};
Instance of Symbol 344 MovieClip "question4_btn" in Symbol 345 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.redallenfound == true) && (_root.redwrenchin == false)) {
this._visible = true;
this.onPress = function () {
_root.inv_mc.inv_txt = "An allen wrench";
};
} else if (_root.redallenfound == false) {
this._visible = false;
} else if ((_root.redallenfound == true) && (_root.redwrenchin == true)) {
this._visible = false;
}
}
Instance of Symbol 344 MovieClip "question3_btn" in Symbol 345 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.yellowallenfound == true) && (_root.yellowwrenchin == false)) {
this._visible = true;
this.onPress = function () {
_root.inv_mc.inv_txt = "An allen wrench";
};
} else if (_root.yellowallenfound == false) {
this._visible = false;
} else if ((_root.yellowallenfound == true) && (_root.yellowwrenchin == true)) {
this._visible = false;
}
}
Instance of Symbol 344 MovieClip "question2_btn" in Symbol 345 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.greenallenfound == true) && (_root.greenwrenchin == false)) {
this._visible = true;
this.onPress = function () {
_root.inv_mc.inv_txt = "An allen wrench";
};
} else if (_root.greenallenfound == false) {
this._visible = false;
} else if ((_root.greenallenfound == true) && (_root.greenwrenchin == true)) {
this._visible = false;
}
}
Instance of Symbol 344 MovieClip "question1_btn" in Symbol 345 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.blueallenfound == true) && (_root.bluewrenchin == false)) {
this._visible = true;
this.onPress = function () {
_root.inv_mc.inv_txt = "An allen wrench";
};
} else if (_root.blueallenfound == false) {
this._visible = false;
} else if ((_root.blueallenfound == true) && (_root.bluewrenchin == true)) {
this._visible = false;
}
}
Instance of Symbol 344 MovieClip "question7_btn" in Symbol 345 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.crowbarfound == true) && (_root.crowbarused == false)) {
this._visible = true;
this.onPress = function () {
_root.inv_mc.inv_txt = "A crowbar";
};
} else if (_root.crowbarfound == false) {
this._visible = false;
} else if ((_root.crowbarfound == true) && (_root.crowbarused == true)) {
this._visible = false;
}
}
Instance of Symbol 344 MovieClip "question8_btn" in Symbol 345 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.screwdriverfound == true) && (_root.screwdriverused == false)) {
this._visible = true;
this.onPress = function () {
_root.inv_mc.inv_txt = "A screwdriver";
};
} else if (_root.screwdriverfound == false) {
this._visible = false;
} else if ((_root.screwdriverfound == true) && (_root.screwdriverused == true)) {
this._visible = false;
}
}
Instance of Symbol 344 MovieClip "question9_btn" in Symbol 345 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.bluehandlefound == true) && (_root.bluehandleon == false)) {
this._visible = true;
this.onPress = function () {
_root.inv_mc.inv_txt = "A blue handle";
};
} else if (_root.bluehandlefound == false) {
this._visible = false;
} else if ((_root.bluehandlefound == true) && (_root.bluehandleon == true)) {
this._visible = false;
}
}
Instance of Symbol 344 MovieClip "question10_btn" in Symbol 345 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.quarterfound == true) && (_root.quarterinserted == false)) {
this._visible = true;
this.onPress = function () {
_root.inv_mc.inv_txt = "A quarter";
};
} else if (_root.quarterfound == false) {
this._visible = false;
} else if ((_root.quarterfound == true) && (_root.quarterinserted == true)) {
this._visible = false;
}
}
Instance of Symbol 344 MovieClip "question11_btn" in Symbol 345 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.cheesefound == true) && (_root.cheeseused == false)) {
this._visible = true;
this.onPress = function () {
_root.inv_mc.inv_txt = "A piece of cheese";
};
} else if (_root.cheesefound == false) {
this._visible = false;
} else if ((_root.cheesefound == true) && (_root.cheeseused == true)) {
this._visible = false;
}
}
Instance of Symbol 344 MovieClip "question12_btn" in Symbol 345 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.inv_mc.barebulb2_mc._visible == true) {
this._visible = true;
this.onPress = function () {
_root.inv_mc.inv_txt = "A light bulb.";
};
}
}
Instance of Symbol 344 MovieClip "question5_btn" in Symbol 345 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.keyfound == true) && (_root.lockunlocked == false)) {
this._visible = true;
this.onPress = function () {
_root.inv_mc.inv_txt = "A key";
};
} else if (_root.keyfound == false) {
this._visible = false;
} else if ((_root.keyfound == true) && (_root.lockunlocked == true)) {
this._visible = false;
}
}
Instance of Symbol 344 MovieClip "question6_btn" in Symbol 345 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.inv_mc.blackbulb2_mc._visible == true) {
this._visible = true;
this.onPress = function () {
_root.inv_mc.inv_txt = "A black light bulb.";
};
}
}