Frame 1
function preload() {
var _local2 = _root.getBytesLoaded();
var _local3 = _root.getBytesTotal();
var _local4 = Math.round((_local2 / _local3) * 100);
_root.loadingtxt = _local4;
if (_local2 >= _local3) {
clearInterval(myinterval);
_root.play();
}
}
stop();
myinterval = setInterval(preload, 1000);
Stage.scaleMode = "noScale";
Stage.showMenu = false;
Button.prototype.tabEnabled = false;
MovieClip.prototype.tabEnabled = false;
Frame 2
MochiAd.showPreGameAd({id:"0734cc4c33bf09db", res:"600x550"});
Frame 8
_root.info = " ";
stop();
Frame 9
delay = 0;
gks = 0;
_root.music = false;
info2 = " ";
bathpuzz = 0;
xtals = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 0;
}
_root.books = 0;
_root.book1 = 0;
_root.book2 = 0;
_root.book3 = 0;
_root.brd = false;
_root.infoTime1 = 80;
_root.infoTime = 0;
_root.dropS = true;
_root.okDrop = true;
_root.itext = " ";
u_shovel = function () {
_root.shovel_use._x = _xmouse;
_root.shovel_use._y = _ymouse;
};
u_gk = function () {
_root.gk_use._x = _xmouse;
_root.gk_use._y = _ymouse;
};
u_gGem = function () {
_root.gGem_use._x = _xmouse;
_root.gGem_use._y = _ymouse;
};
u_bGem = function () {
_root.bGem_use._x = _xmouse;
_root.bGem_use._y = _ymouse;
};
u_rGem = function () {
_root.rGem_use._x = _xmouse;
_root.rGem_use._y = _ymouse;
};
u_scope = function () {
_root.scope_use._x = _xmouse;
_root.scope_use._y = _ymouse;
};
u_bball = function () {
_root.bball_use._x = _xmouse;
_root.bball_use._y = _ymouse;
};
u_pills = function () {
_root.pills_use._x = _xmouse;
_root.pills_use._y = _ymouse;
};
u_waterbottle = function () {
_root.waterbottle_use._x = _xmouse;
_root.waterbottle_use._y = _ymouse;
};
u_toothbrush = function () {
_root.toothbrush_use._x = _xmouse;
_root.toothbrush_use._y = _ymouse;
};
u_crystalball = function () {
_root.crystalball_use._x = _xmouse;
_root.crystalball_use._y = _ymouse;
};
u_lighter = function () {
_root.lighter_use._x = _xmouse;
_root.lighter_use._y = _ymouse;
};
u_firecracker = function () {
_root.firecracker_use._x = _xmouse;
_root.firecracker_use._y = _ymouse;
};
u_pliers = function () {
_root.pliers_use._x = _xmouse;
_root.pliers_use._y = _ymouse;
};
u_spoon = function () {
_root.spoon_use._x = _xmouse;
_root.spoon_use._y = _ymouse;
};
u_crowbar = function () {
_root.crowbar_use._x = _xmouse;
_root.crowbar_use._y = _ymouse;
};
dropFC = function () {
if (_root.okDrop == true) {
_root.okDrop = false;
_root.attachMovie("fc", "fc1", random(500));
_root.fc1._x = _xmouse;
_root.fc1._y = _ymouse;
Mouse.show();
_root.firecracker_use.swapDepths(0);
_root.firecracker_use.removeMovieClip();
_root.use_item = false;
_root.use_firecracker = 0;
_root.firecracker_itm._alpha = 100;
_root.delay = 0;
}
};
grabFC = function () {
if (_root.okDrop == false) {
_root.okDrop = true;
_root.fc1.swapDepths(0);
_root.fc1.removeMovieClip();
}
};
play();
Frame 81
stop();
_root.msg = "Pick this item up by clicking on it!";
Instance of Symbol 83 MovieClip [gk] "gk1" in Frame 81
onClipEvent (load) {
this._visible = false;
}
on (release) {
gk1 = SharedObject.getLocal("illusion");
gks = SharedObject.getLocal("illusion");
gk1.data.gk11 = 1;
gks.data.gks1 = 1;
_root.gk_itm._visible = true;
this._visible = false;
_root.info = "You picked up a golden key.";
}
Instance of Symbol 169 MovieClip "tutmove" in Frame 81
onClipEvent (load) {
tut = SharedObject.getLocal("illusion");
if (tut.data.tut1 != 1) {
this._visible = false;
}
}
Instance of Symbol 190 MovieClip "shovel_itm" in Frame 81
onClipEvent (load) {
shovel = SharedObject.getLocal("illusion");
if (shovel.data.shovel1 == undefined) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.use_shovel == true) {
if (_root.delay <= 80) {
_root.delay++;
}
_root.u_shovel();
}
if ((hitTest(_root.shovel_use) == true) && (_root.delay >= 80)) {
Mouse.show();
_root.shovel_use.swapDepths(0);
_root.shovel_use.removeMovieClip();
_root.use_item = false;
_root.use_shovel = 0;
this._alpha = 100;
_root.delay = 0;
}
}
on (rollOver) {
_root.itext = "Shovel";
}
on (release) {
if ((_root.use_shovel != 1) && (_root.use_item != true)) {
Mouse.hide();
_root.attachMovie("shovel", "shovel_use", random(900));
_root.use_item = true;
_root.use_shovel = 1;
this._alpha = 50;
} else if (_root.use_shovel == 1) {
Mouse.show();
_root.shovel_use.swapDepths(0);
_root.shovel_use.removeMovieClip();
_root.use_item = false;
_root.use_shovel = 0;
this._alpha = 100;
_root.delay = 0;
}
}
Instance of Symbol 197 MovieClip "gk_itm" in Frame 81
onClipEvent (load) {
gk1 = SharedObject.getLocal("illusion");
if (gk1.data.gk11 == undefined) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.use_gk == true) {
if (_root.delay <= 80) {
_root.delay++;
}
_root.u_gk();
}
if ((hitTest(_root.gk_use) == true) && (_root.delay >= 80)) {
Mouse.show();
_root.gk_use.swapDepths(0);
_root.gk_use.removeMovieClip();
_root.use_item = false;
_root.use_gk = 0;
this._alpha = 100;
_root.delay = 0;
}
}
on (rollOver) {
_root.itext = "Gold key";
}
on (release) {
if (((_root.use_gk != 1) && (_root.use_item != true)) && (_root.gks >= 1)) {
Mouse.hide();
_root.attachMovie("gk", "gk_use", random(900));
_root.use_item = true;
_root.use_gk = 1;
this._alpha = 50;
} else if (_root.use_gk == 1) {
Mouse.show();
_root.gk_use.swapDepths(0);
_root.gk_use.removeMovieClip();
_root.use_item = false;
_root.use_gk = 0;
this._alpha = 100;
_root.delay = 0;
}
}
Instance of Symbol 81 MovieClip [gGem] "gGem_itm" in Frame 81
onClipEvent (load) {
gGem = SharedObject.getLocal("illusion");
gGemSet = SharedObject.getLocal("illusion");
if ((gGem.data.gGem1 == undefined) || (gGemSet.data.gGemSet1 == 1)) {
this._visible = false;
}
}
on (rollOver) {
_root.itext = "Green Gem";
}
onClipEvent (enterFrame) {
if (_root.use_gGem == true) {
if (_root.delay <= 80) {
_root.delay++;
}
_root.u_gGem();
}
if ((hitTest(_root.gGem_use) == true) && (_root.delay >= 80)) {
Mouse.show();
_root.gGem_use.swapDepths(0);
_root.gGem_use.removeMovieClip();
_root.use_item = false;
_root.use_gGem = 0;
this._alpha = 100;
_root.delay = 0;
}
}
on (release) {
if ((_root.use_gGem != 1) && (_root.use_item != true)) {
Mouse.hide();
_root.attachMovie("gGem", "gGem_use", random(900));
_root.use_item = true;
_root.use_gGem = 1;
this._alpha = 50;
} else if (_root.use_gGem == 1) {
Mouse.show();
_root.gGem_use.swapDepths(0);
_root.gGem_use.removeMovieClip();
_root.use_item = false;
_root.use_gGem = 0;
this._alpha = 100;
_root.delay = 0;
}
}
Instance of Symbol 77 MovieClip [scope] "scope_itm" in Frame 81
onClipEvent (load) {
scope = SharedObject.getLocal("illusion");
if (scope.data.scope1 == undefined) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.use_scope == true) {
if (_root.delay <= 80) {
_root.delay++;
}
_root.u_scope();
}
pearl = SharedObject.getLocal("illusion");
if ((hitTest(_root.crystalball_use) == true) && (pearl.data.pearl1 == 1)) {
crystalball = SharedObject.getLocal("illusion");
crystalball.data.crystalball1 = 2;
Mouse.show();
_root.crystalball_use.swapDepths(0);
_root.crystalball_use.removeMovieClip();
_root.use_item = false;
_root.use_crystalball = 0;
_root.delay = 0;
_root.crystalball_itm._visible = false;
_root.info = "You placed the pearl onto the telescope.";
_root.scope_itm.gotoAndStop(2);
}
if ((hitTest(_root.scope_use) == true) && (_root.delay >= 80)) {
Mouse.show();
_root.scope_use.swapDepths(0);
_root.scope_use.removeMovieClip();
_root.use_item = false;
_root.use_scope = 0;
this._alpha = 100;
_root.delay = 0;
}
}
on (rollOver) {
crystalball = SharedObject.getLocal("illusion");
if (crystalball.data.crystalball1 == 2) {
_root.itext = "Shrink scope";
} else {
_root.itext = "Telescope";
}
}
on (release) {
if ((_root.use_scope != 1) && (_root.use_item != true)) {
Mouse.hide();
_root.attachMovie("scope", "scope_use", random(900));
_root.use_item = true;
_root.use_scope = 1;
this._alpha = 50;
} else if (_root.use_scope == 1) {
Mouse.show();
_root.scope_use.swapDepths(0);
_root.scope_use.removeMovieClip();
_root.use_item = false;
_root.use_scope = 0;
this._alpha = 100;
_root.delay = 0;
}
}
Instance of Symbol 74 MovieClip [bball] "bball_itm" in Frame 81
onClipEvent (load) {
bball = SharedObject.getLocal("illusion");
bballSet = SharedObject.getLocal("illusion");
if ((bball.data.bball1 == undefined) || (bballSet.data.bballSet1 == 1)) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.use_bball == true) {
if (_root.delay <= 80) {
_root.delay++;
}
_root.u_bball();
}
if ((hitTest(_root.bball_use) == true) && (_root.delay >= 80)) {
Mouse.show();
_root.bball_use.swapDepths(0);
_root.bball_use.removeMovieClip();
_root.use_item = false;
_root.use_bball = 0;
this._alpha = 100;
_root.delay = 0;
}
}
on (rollOver) {
_root.itext = "Bowling ball";
}
on (release) {
if ((_root.use_bball != 1) && (_root.use_item != true)) {
Mouse.hide();
_root.attachMovie("bball", "bball_use", random(900));
_root.use_item = true;
_root.use_bball = 1;
this._alpha = 50;
} else if (_root.use_bball == 1) {
Mouse.show();
_root.bball_use.swapDepths(0);
_root.bball_use.removeMovieClip();
_root.use_item = false;
_root.use_bball = 0;
this._alpha = 100;
_root.delay = 0;
}
}
Instance of Symbol 72 MovieClip [pills] "pills_itm" in Frame 81
onClipEvent (load) {
pills = SharedObject.getLocal("illusion");
if (pills.data.pills1 == undefined) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.use_pills == true) {
if (_root.delay <= 80) {
_root.delay++;
}
_root.u_pills();
}
if ((hitTest(_root.pills_use) == true) && (_root.delay >= 80)) {
Mouse.show();
_root.pills_use.swapDepths(0);
_root.pills_use.removeMovieClip();
_root.use_item = false;
_root.use_pills = 0;
this._alpha = 100;
_root.delay = 0;
}
}
on (rollOver) {
_root.itext = "Pills";
}
on (release) {
if ((_root.use_pills != 1) && (_root.use_item != true)) {
Mouse.hide();
_root.attachMovie("pills", "pills_use", random(900));
_root.use_item = true;
_root.use_pills = 1;
this._alpha = 50;
} else if (_root.use_pills == 1) {
Mouse.show();
_root.pills_use.swapDepths(0);
_root.pills_use.removeMovieClip();
_root.use_item = false;
_root.use_pills = 0;
this._alpha = 100;
_root.delay = 0;
}
}
Instance of Symbol 67 MovieClip [spoon] "spoon_itm" in Frame 81
onClipEvent (load) {
spoon = SharedObject.getLocal("illusion");
if ((spoon.data.spoon1 == undefined) || (spoon.data.spoon1 == 2)) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.use_spoon == true) {
if (_root.delay <= 80) {
_root.delay++;
}
_root.u_spoon();
}
if ((hitTest(_root.spoon_use) == true) && (_root.delay >= 80)) {
Mouse.show();
_root.spoon_use.swapDepths(0);
_root.spoon_use.removeMovieClip();
_root.use_item = false;
_root.use_spoon = 0;
this._alpha = 100;
_root.delay = 0;
}
}
on (rollOver) {
_root.itext = "Spoon";
}
on (release) {
if ((_root.use_spoon != 1) && (_root.use_item != true)) {
Mouse.hide();
_root.attachMovie("spoon", "spoon_use", random(900));
_root.use_item = true;
_root.use_spoon = 1;
this._alpha = 50;
} else if (_root.use_spoon == 1) {
Mouse.show();
_root.spoon_use.swapDepths(0);
_root.spoon_use.removeMovieClip();
_root.use_item = false;
_root.use_spoon = 0;
this._alpha = 100;
_root.delay = 0;
}
}
Instance of Symbol 65 MovieClip [pliers] "pliers_itm" in Frame 81
onClipEvent (load) {
pliers = SharedObject.getLocal("illusion");
if (pliers.data.pliers1 == undefined) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.use_pliers == true) {
if (_root.delay <= 80) {
_root.delay++;
}
_root.u_pliers();
}
if ((hitTest(_root.pliers_use) == true) && (_root.delay >= 80)) {
Mouse.show();
_root.pliers_use.swapDepths(0);
_root.pliers_use.removeMovieClip();
_root.use_item = false;
_root.use_pliers = 0;
this._alpha = 100;
_root.delay = 0;
}
}
on (rollOver) {
_root.itext = "Pliers";
}
on (release) {
if ((_root.use_pliers != 1) && (_root.use_item != true)) {
Mouse.hide();
_root.attachMovie("pliers", "pliers_use", random(900));
_root.use_item = true;
_root.use_pliers = 1;
this._alpha = 50;
} else if (_root.use_pliers == 1) {
Mouse.show();
_root.pliers_use.swapDepths(0);
_root.pliers_use.removeMovieClip();
_root.use_item = false;
_root.use_pliers = 0;
this._alpha = 100;
_root.delay = 0;
}
}
Instance of Symbol 57 MovieClip [toothbrush] "toothbrush_itm" in Frame 81
onClipEvent (load) {
toothbrush = SharedObject.getLocal("illusion");
if (toothbrush.data.toothbrush1 == undefined) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.use_toothbrush == true) {
if (_root.delay <= 80) {
_root.delay++;
}
_root.u_toothbrush();
}
if ((hitTest(_root.toothbrush_use) == true) && (_root.delay >= 80)) {
Mouse.show();
_root.toothbrush_use.swapDepths(0);
_root.toothbrush_use.removeMovieClip();
_root.use_item = false;
_root.use_toothbrush = 0;
this._alpha = 100;
_root.delay = 0;
}
}
on (rollOver) {
_root.itext = "Tooth brush";
}
on (release) {
if ((_root.use_toothbrush != 1) && (_root.use_item != true)) {
Mouse.hide();
_root.attachMovie("toothbrush", "toothbrush_use", random(900));
_root.use_item = true;
_root.use_toothbrush = 1;
this._alpha = 50;
} else if (_root.use_toothbrush == 1) {
Mouse.show();
_root.toothbrush_use.swapDepths(0);
_root.toothbrush_use.removeMovieClip();
_root.use_item = false;
_root.use_toothbrush = 0;
this._alpha = 100;
_root.delay = 0;
}
}
Instance of Symbol 54 MovieClip [crystalball] "crystalball_itm" in Frame 81
onClipEvent (load) {
crystalball = SharedObject.getLocal("illusion");
if ((crystalball.data.crystalball1 == undefined) || (crystalball.data.crystalball1 == 2)) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.use_crystalball == true) {
if (_root.delay <= 80) {
_root.delay++;
}
_root.u_crystalball();
}
if ((hitTest(_root.crystalball_use) == true) && (_root.delay >= 80)) {
Mouse.show();
_root.crystalball_use.swapDepths(0);
_root.crystalball_use.removeMovieClip();
_root.use_item = false;
_root.use_crystalball = 0;
this._alpha = 100;
_root.delay = 0;
}
}
on (rollOver) {
pearl = SharedObject.getLocal("illusion");
if (pearl.data.pearl1 == 1) {
_root.itext = "Pearl";
} else {
_root.itext = "Crystal ball";
}
}
on (release) {
if ((_root.use_crystalball != 1) && (_root.use_item != true)) {
Mouse.hide();
_root.attachMovie("crystalball", "crystalball_use", random(900));
_root.use_item = true;
_root.use_crystalball = 1;
this._alpha = 50;
} else if (_root.use_crystalball == 1) {
Mouse.show();
_root.crystalball_use.swapDepths(0);
_root.crystalball_use.removeMovieClip();
_root.use_item = false;
_root.use_crystalball = 0;
this._alpha = 100;
_root.delay = 0;
}
}
Instance of Symbol 51 MovieClip [firecracker] "firecracker_itm" in Frame 81
onClipEvent (load) {
firecracker = SharedObject.getLocal("illusion");
if (firecracker.data.firecracker1 == undefined) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.use_firecracker == true) {
if (_root.delay <= 80) {
_root.delay++;
}
_root.u_firecracker();
}
if ((hitTest(_root.firecracker_use) == true) && (_root.delay >= 80)) {
Mouse.show();
_root.firecracker_use.swapDepths(0);
_root.firecracker_use.removeMovieClip();
_root.use_item = false;
_root.use_firecracker = 0;
this._alpha = 100;
_root.delay = 0;
}
}
on (rollOver) {
_root.itext = "Firecracker";
}
on (release) {
if (((_root.use_firecracker != 1) && (_root.use_item != true)) && (_root.okDrop == true)) {
Mouse.hide();
_root.attachMovie("firecracker", "firecracker_use", random(900));
_root.use_item = true;
_root.use_firecracker = 1;
this._alpha = 50;
} else if (_root.okDrop == false) {
_root.info = "You can only use one firecracker at a time.";
} else if (_root.use_firecracker == 1) {
Mouse.show();
_root.firecracker_use.swapDepths(0);
_root.firecracker_use.removeMovieClip();
_root.use_item = false;
_root.use_firecracker = 0;
this._alpha = 100;
_root.delay = 0;
}
}
Instance of Symbol 50 MovieClip [lighter] "lighter_itm" in Frame 81
onClipEvent (load) {
lighter = SharedObject.getLocal("illusion");
if (lighter.data.lighter1 == undefined) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.use_lighter == true) {
if (_root.delay <= 80) {
_root.delay++;
}
_root.u_lighter();
}
if ((hitTest(_root.lighter_use) == true) && (_root.delay >= 80)) {
Mouse.show();
_root.lighter_use.swapDepths(0);
_root.lighter_use.removeMovieClip();
_root.use_item = false;
_root.use_lighter = 0;
this._alpha = 100;
_root.delay = 0;
}
}
on (rollOver) {
_root.itext = "Lighter";
}
on (release) {
if ((_root.use_lighter != 1) && (_root.use_item != true)) {
Mouse.hide();
_root.attachMovie("lighter", "lighter_use", random(900));
_root.use_item = true;
_root.use_lighter = 1;
this._alpha = 50;
} else if (_root.use_lighter == 1) {
Mouse.show();
_root.lighter_use.swapDepths(0);
_root.lighter_use.removeMovieClip();
_root.use_item = false;
_root.use_lighter = 0;
this._alpha = 100;
_root.delay = 0;
}
}
Instance of Symbol 44 MovieClip [rGem] "rGem_itm" in Frame 81
onClipEvent (load) {
rGem = SharedObject.getLocal("illusion");
rGemSet = SharedObject.getLocal("illusion");
if ((rGem.data.rGem1 == undefined) || (rGemSet.data.rGemSet1 == 1)) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.use_rGem == true) {
if (_root.delay <= 80) {
_root.delay++;
}
_root.u_rGem();
}
if ((hitTest(_root.rGem_use) == true) && (_root.delay >= 80)) {
Mouse.show();
_root.rGem_use.swapDepths(0);
_root.rGem_use.removeMovieClip();
_root.use_item = false;
_root.use_rGem = 0;
this._alpha = 100;
_root.delay = 0;
}
}
on (rollOver) {
_root.itext = "Red Gem";
}
on (release) {
if ((_root.use_rGem != 1) && (_root.use_item != true)) {
Mouse.hide();
_root.attachMovie("rGem", "rGem_use", random(900));
_root.use_item = true;
_root.use_rGem = 1;
this._alpha = 50;
} else if (_root.use_rGem == 1) {
Mouse.show();
_root.rGem_use.swapDepths(0);
_root.rGem_use.removeMovieClip();
_root.use_item = false;
_root.use_rGem = 0;
this._alpha = 100;
_root.delay = 0;
}
}
Instance of Symbol 40 MovieClip [bGem] "bGem_itm" in Frame 81
onClipEvent (load) {
bGem = SharedObject.getLocal("illusion");
bGemSet = SharedObject.getLocal("illusion");
if ((bGem.data.bGem1 == undefined) || (bGemSet.data.bGemSet1 == 1)) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.use_bGem == true) {
if (_root.delay <= 80) {
_root.delay++;
}
_root.u_bGem();
}
if ((hitTest(_root.bGem_use) == true) && (_root.delay >= 80)) {
Mouse.show();
_root.bGem_use.swapDepths(0);
_root.bGem_use.removeMovieClip();
_root.use_item = false;
_root.use_bGem = 0;
this._alpha = 100;
_root.delay = 0;
}
}
on (rollOver) {
_root.itext = "Blue Gem";
}
on (release) {
if ((_root.use_bGem != 1) && (_root.use_item != true)) {
Mouse.hide();
_root.attachMovie("bGem", "bGem_use", random(900));
_root.use_item = true;
_root.use_bGem = 1;
this._alpha = 50;
} else if (_root.use_bGem == 1) {
Mouse.show();
_root.bGem_use.swapDepths(0);
_root.bGem_use.removeMovieClip();
_root.use_item = false;
_root.use_bGem = 0;
this._alpha = 100;
_root.delay = 0;
}
}
Instance of Symbol 87 MovieClip [crowbar] "crowbar_itm" in Frame 81
onClipEvent (load) {
crowbar = SharedObject.getLocal("illusion");
if (crowbar.data.crowbar1 == undefined) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.use_crowbar == true) {
if (_root.delay <= 80) {
_root.delay++;
}
_root.u_crowbar();
}
if ((hitTest(_root.crowbar_use) == true) && (_root.delay >= 80)) {
Mouse.show();
_root.crowbar_use.swapDepths(0);
_root.crowbar_use.removeMovieClip();
_root.use_item = false;
_root.use_crowbar = 0;
this._alpha = 100;
_root.delay = 0;
}
}
on (rollOver) {
_root.itext = "Crowbar";
}
on (release) {
if ((_root.use_crowbar != 1) && (_root.use_item != true)) {
Mouse.hide();
_root.attachMovie("crowbar", "crowbar_use", random(900));
_root.use_item = true;
_root.use_crowbar = 1;
this._alpha = 50;
} else if (_root.use_crowbar == 1) {
Mouse.show();
_root.crowbar_use.swapDepths(0);
_root.crowbar_use.removeMovieClip();
_root.use_item = false;
_root.use_crowbar = 0;
this._alpha = 100;
_root.delay = 0;
}
}
Instance of Symbol 36 MovieClip [waterbottle] "waterbottle_itm" in Frame 81
onClipEvent (load) {
waterbottle = SharedObject.getLocal("illusion");
if (waterbottle.data.waterbottle1 == undefined) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.use_waterbottle == true) {
if (_root.delay <= 80) {
_root.delay++;
}
_root.u_waterbottle();
}
if ((hitTest(_root.waterbottle_use) == true) && (_root.delay >= 80)) {
Mouse.show();
_root.waterbottle_use.swapDepths(0);
_root.waterbottle_use.removeMovieClip();
_root.use_item = false;
_root.use_waterbottle = 0;
this._alpha = 100;
_root.delay = 0;
}
}
on (rollOver) {
_root.itext = "Spray bottle";
}
on (release) {
if ((_root.use_waterbottle != 1) && (_root.use_item != true)) {
Mouse.hide();
_root.attachMovie("waterbottle", "waterbottle_use", random(900));
_root.use_item = true;
_root.use_waterbottle = 1;
this._alpha = 50;
} else if (_root.use_waterbottle == 1) {
Mouse.show();
_root.waterbottle_use.swapDepths(0);
_root.waterbottle_use.removeMovieClip();
_root.use_item = false;
_root.use_waterbottle = 0;
this._alpha = 100;
_root.delay = 0;
}
}
Instance of Symbol 203 MovieClip in Frame 81
onClipEvent (load) {
}
on (rollOver) {
_root.itext = "Crystals";
}
Frame 82
stop();
Frame 83
stop();
Symbol 6 MovieClip [shovel] Frame 1
stop();
_root.shovel_play = false;
Symbol 6 MovieClip [shovel] Frame 2
play();
_root.shovel_play = true;
Symbol 6 MovieClip [shovel] Frame 39
gotoAndStop (1);
Symbol 23 MovieClip [fc] Frame 1
stop();
Instance of Symbol 10 MovieClip in Symbol 23 MovieClip [fc] Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.lighter_use.flame) == true) {
nextFrame();
}
}
Symbol 23 MovieClip [fc] Frame 2
_root.info = "Cover your ears!";
Symbol 23 MovieClip [fc] Frame 94
stop();
_root.grabFC();
Symbol 36 MovieClip [waterbottle] Frame 1
stop();
Symbol 36 MovieClip [waterbottle] Frame 2
play();
Symbol 36 MovieClip [waterbottle] Frame 22
gotoAndStop (1);
Symbol 50 MovieClip [lighter] Frame 1
stop();
_root.flamez = false;
Symbol 50 MovieClip [lighter] Frame 2
play();
_root.flamez = true;
Instance of Symbol 21 MovieClip "flame" in Symbol 50 MovieClip [lighter] Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.fc1) == true) {
_root.fc1.play();
}
}
Symbol 50 MovieClip [lighter] Frame 50
gotoAndStop (1);
Symbol 54 MovieClip [crystalball] Frame 1
pearl = SharedObject.getLocal("illusion");
if (pearl.data.pearl1 == 1) {
gotoAndStop (2);
} else {
stop();
}
Symbol 54 MovieClip [crystalball] Frame 2
stop();
Symbol 57 MovieClip [toothbrush] Frame 1
stop();
Symbol 65 MovieClip [pliers] Frame 1
pflower = SharedObject.getLocal("illusion");
if (pflower.data.pflower1 == 1) {
nextFrame();
} else {
stop();
}
Symbol 72 MovieClip [pills] Frame 1
stop();
Symbol 72 MovieClip [pills] Frame 10
gotoAndStop (1);
Symbol 77 MovieClip [scope] Frame 1
crystalball = SharedObject.getLocal("illusion");
if (crystalball.data.crystalball1 == 2) {
gotoAndStop (2);
} else {
stop();
}
Symbol 77 MovieClip [scope] Frame 2
_root.pearlset = 1;
Symbol 87 MovieClip [crowbar] Frame 1
stop();
Symbol 87 MovieClip [crowbar] Frame 29
gotoAndStop (1);
Symbol 96 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.used_pills == true) {
nextFrame();
}
};
Instance of Symbol 95 MovieClip in Symbol 96 MovieClip Frame 2
onClipEvent (load) {
}
on (release) {
_root.ufo = 1;
}
Symbol 99 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.used_pills == true) {
nextFrame();
}
};
Instance of Symbol 98 MovieClip in Symbol 99 MovieClip Frame 2
onClipEvent (load) {
}
Symbol 102 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.used_pills == true) {
nextFrame();
}
};
Instance of Symbol 101 MovieClip in Symbol 102 MovieClip Frame 2
onClipEvent (load) {
}
Symbol 105 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.used_pills == true) {
nextFrame();
}
};
Symbol 108 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal48 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal48.data.xtal481 = 1;
this._visible = false;
}
Symbol 109 MovieClip Frame 1
xtal48 = SharedObject.getLocal("illusion");
if (xtal48.data.xtal481 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 116 Button
on (release) {
if ((_root.use_shovel == true) && (_root.shovel_play == false)) {
_root.shovel_use.nextFrame();
gk1 = SharedObject.getLocal("illusion");
if (gk1.data.gk11 == undefined) {
_root.gk1._visible = true;
}
} else {
_root.info = "This is some dirt.";
}
}
Instance of Symbol 87 MovieClip [crowbar] in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
crowbar = SharedObject.getLocal("illusion");
if (crowbar.data.crowbar1 != undefined) {
this._visible = false;
}
}
on (release) {
crowbar.data.crowbar1 = 1;
_root.crowbar_itm._visible = true;
this._visible = false;
_root.info = "You picked up a crowbar.";
}
Instance of Symbol 111 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
shed = SharedObject.getLocal("illusion");
if (shed.data.shed1 != undefined) {
this._visible = false;
}
}
on (release) {
if (_root.use_gk == 1) {
shed.data.shed1 = 1;
this._visible = false;
_root.info = "You used the key to unlock the door.";
gks = SharedObject.getLocal("illusion");
gks.data.gks1 = gks.data.gks1 - 1;
Mouse.show();
_root.gk_use.swapDepths(0);
_root.gk_use.removeMovieClip();
_root.use_item = false;
_root.use_gk = 0;
_root.gk_itm._alpha = 100;
_root.delay = 0;
} else {
_root.info = "The door is locked.";
}
}
Instance of Symbol 114 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (load) {
shovel = SharedObject.getLocal("illusion");
if (shovel.data.shovel1 != undefined) {
this._visible = false;
}
}
on (release) {
shovel.data.shovel1 = 1;
_root.info = "You took the shovel.";
this._visible = false;
_root.shovel_itm._visible = true;
}
Symbol 127 MovieClip Frame 200
gotoAndPlay (1);
Symbol 998 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("2.4");
}
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 ("5cc6f7dfb67f2f08341c831480f7c2a7".length == 0) {
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 136 Button
on (release) {
nextFrame();
}
Symbol 144 Button
on (release) {
shovel = SharedObject.getLocal("illusion");
shovel.clear();
shovel.flush();
_root.alert = "All data has been erased.";
prevFrame();
}
Symbol 148 Button
on (release) {
_root.alert = " ";
prevFrame();
}
Symbol 149 MovieClip Frame 1
stop();
Symbol 149 MovieClip Frame 2
stop();
_root.alert = "Are You Sure???";
Symbol 152 Button
on (release) {
stopAllSounds();
nextFrame();
}
Instance of Symbol 87 MovieClip [crowbar] in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
crowbar = SharedObject.getLocal("illusion");
if (crowbar.data.crowbar1 != undefined) {
this._visible = false;
}
}
on (release) {
crowbar.data.crowbar1 = 1;
_root.crowbar_itm._visible = true;
this._visible = false;
_root.info = "You picked up a crowbar.";
}
Instance of Symbol 111 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
shed = SharedObject.getLocal("illusion");
if (shed.data.shed1 != undefined) {
this._visible = false;
}
}
on (release) {
if (_root.use_gk == 1) {
shed.data.shed1 = 1;
this._visible = false;
_root.info = "You used the key to unlock the shed door.";
gks = SharedObject.getLocal("illusion");
gks.data.gks1 = gks.data.gks1 - 1;
Mouse.show();
_root.gk_use.swapDepths(0);
_root.gk_use.removeMovieClip();
_root.use_item = false;
_root.use_gk = 0;
_root.gk_itm._alpha = 100;
_root.delay = 0;
} else {
_root.info = "The shed door is locked.";
}
}
Instance of Symbol 114 MovieClip in Symbol 157 MovieClip Frame 1
onClipEvent (load) {
shovel = SharedObject.getLocal("illusion");
if (shovel.data.shovel1 != undefined) {
this._visible = false;
}
}
on (release) {
shovel.data.shovel1 = 1;
_root.info = "You took the shovel.";
this._visible = false;
_root.shovel_itm._visible = true;
}
Symbol 162 MovieClip Frame 1
if (_root.music == false) {
_root.music = true;
nextFrame();
} else {
stop();
}
Symbol 162 MovieClip Frame 2
stop();
Symbol 163 Button
on (release) {
_root.crowbar_use.play();
if (_root.use_firecracker == 1) {
_root.dropFC();
}
if (use_toothbrush == 1) {
_root.toothbrush_use.gotoAndPlay(2);
}
if (use_pills == 1) {
_root.pills_use.gotoAndPlay(2);
_root.info = "You took some pills, strange....";
_root.used_pills = true;
}
if (_root.use_lighter == 1) {
_root.lighter_use.gotoAndPlay(2);
}
if (_root.use_waterbottle == 1) {
_root.waterbottle_use.gotoAndPlay(2);
}
}
Symbol 168 Button
on (release) {
_root.grabFC();
_root.tutdone = 1;
_root.nextFrame();
}
Symbol 170 Button
on (release) {
if ((_root.ufo == 3) && (_root.used_pills == true)) {
_root.ufo111.gotoAndPlay(2);
} else {
_root.ufo = 0;
}
}
Symbol 171 Button
on (release) {
_root.ufo = 1;
}
Symbol 172 Button
on (release) {
if (_root.ufo == 1) {
_root.ufo = 2;
} else {
_root.ufo = 0;
}
}
Symbol 173 Button
on (release) {
if (_root.ufo == 2) {
_root.ufo = 3;
} else {
_root.ufo = 0;
}
}
Symbol 178 Button
on (release) {
greenbeam = SharedObject.getLocal("illusion");
greenbeam.data.greenbeam1 = 1;
nextFrame();
}
Symbol 180 Button
on (release) {
_root.gotoAndStop("ufo");
}
Symbol 181 MovieClip Frame 1
greenbeam = SharedObject.getLocal("illusion");
if (greenbeam.data.greenbeam1 != undefined) {
nextFrame();
} else {
stop();
}
Symbol 183 MovieClip Frame 1
Symbol 184 MovieClip Frame 1
ufoshow = SharedObject.getLocal("illusion");
if (ufoshow.data.ufoshow1 != undefined) {
gotoAndStop ("land");
} else {
stop();
}
Symbol 184 MovieClip Frame 2
play();
Symbol 184 MovieClip Frame 85
stop();
ufoshow = SharedObject.getLocal("illusion");
ufoshow.data.ufoshow1 = 1;
Symbol 194 MovieClip Frame 1
tut = SharedObject.getLocal("illusion");
shovel = SharedObject.getLocal("illusion");
gk1 = SharedObject.getLocal("illusion");
if (tut.data.tut1 == 1) {
gotoAndStop ("end");
} else if ((_root.shovel_use != 1) && (gk1.data.gk11 == 1)) {
gotoAndPlay ("gotkey");
} else if (shovel.data.shovel1 != undefined) {
gotoAndStop ("useshovel");
}
Symbol 194 MovieClip Frame 40
stop();
_root.msg = "Click on the shovel to take it.";
onEnterFrame = function () {
shovel = SharedObject.getLocal("illusion");
if (shovel.data.shovel1 != undefined) {
nextFrame();
}
};
Symbol 194 MovieClip Frame 41
play();
_root.msg = "Click on the shovel to begin using it.";
Symbol 194 MovieClip Frame 65
stop();
onEnterFrame = function () {
if (_root.shovel_use != undefined) {
nextFrame();
}
};
Symbol 194 MovieClip Frame 66
play();
_root.msg = "Click on the dirt while holding the shovel.";
Symbol 194 MovieClip Frame 84
stop();
onEnterFrame = function () {
if (_root.gk1._visible == true) {
nextFrame();
}
};
Symbol 194 MovieClip Frame 85
play();
_root.msg = "Put the shovel back into inventory and pick up the key.";
Symbol 194 MovieClip Frame 105
stop();
onEnterFrame = function () {
gk1 = SharedObject.getLocal("illusion");
if ((_root.shovel_use != 1) && (gk1.data.gk11 == 1)) {
nextFrame();
}
};
Symbol 194 MovieClip Frame 106
play();
_root.msg = "Move to the edge of the screen to advance to the next area.";
_root.tutmove._visible = true;
Symbol 194 MovieClip Frame 125
stop();
tut = SharedObject.getLocal("illusion");
tut.data.tut1 = 1;
onEnterFrame = function () {
if (_root.tutdone == 1) {
nextFrame();
}
};
Symbol 194 MovieClip Frame 126
stop();
tut = SharedObject.getLocal("illusion");
tut.data.tut1 = 1;
Symbol 197 MovieClip Frame 1
gks = SharedObject.getLocal("illusion");
_root.gks = gks.data.gks1;
Symbol 201 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.itext != " ") {
play();
}
};
Symbol 201 MovieClip Frame 91
_root.itext = " ";
gotoAndStop (1);
Symbol 206 MovieClip Frame 1
xtals = SharedObject.getLocal("illusion");
_root.crystals = xtals.data.xtals1;
Symbol 210 Button
on (release) {
_root.music = true;
stopAllSounds();
nextFrame();
}
Symbol 213 Button
on (release) {
_root.music = false;
_root.musicMc.gotoAndPlay(2);
prevFrame();
}
Symbol 214 MovieClip Frame 1
stop();
Symbol 218 Button
on (release) {
getURL ("http://melting-mindz.com/forum/index.php?topic=203", "_blank");
}
Symbol 227 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.info != " ") {
this.nextFrame();
}
};
Symbol 227 MovieClip Frame 2
onEnterFrame = function () {
if (_root.infoTime <= _root.infoTime1) {
_root.infoTime++;
} else if (_root.infoTime >= _root.infoTime1) {
_root.infoTime = 0;
nextFrame();
}
};
Symbol 227 MovieClip Frame 3
play();
Symbol 227 MovieClip Frame 6
_root.info = " ";
_root.infoTime1 = 80;
gotoAndStop (1);
Symbol 228 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal1 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal1.data.xtal11 = 1;
this._visible = false;
}
Symbol 229 MovieClip Frame 1
xtal1 = SharedObject.getLocal("illusion");
if (xtal1.data.xtal11 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 234 Button
on (release) {
gotoAndStop (2);
}
Symbol 235 Button
on (release) {
_root.gotoAndStop("outside");
}
Symbol 241 MovieClip Frame 1
stop();
Symbol 242 Button
on (release) {
gotoAndStop (1);
}
Symbol 244 Button
on (release) {
if (_root.use_waterbottle == true) {
_root.waterbottle_use.gotoAndPlay(2);
dirt = SharedObject.getLocal("illusion");
dirt.data.dirt1 = 1;
_root.info = "Now the dirt is wet.";
nextFrame();
} else {
_root.info = "The dirt is hard and stuck.";
}
}
Symbol 246 Button
on (release) {
if (_root.use_toothbrush == true) {
_root.toothbrush_use.gotoAndPlay(2);
dirt = SharedObject.getLocal("illusion");
dirt.data.dirt1 = 2;
_root.info = "Hmmm, look at that!";
nextFrame();
} else {
_root.info = "Now the dirt is wet and stuck!";
}
}
Symbol 248 Button
on (release) {
_root.info = "It looks like numbers under the dirt.";
}
Symbol 249 MovieClip Frame 1
dirt = SharedObject.getLocal("illusion");
if (dirt.data.dirt1 == 1) {
nextFrame();
} else if (dirt.data.dirt1 == 2) {
gotoAndStop ("code");
} else {
stop();
}
Symbol 249 MovieClip Frame 2
stop();
Symbol 249 MovieClip Frame 3
stop();
Symbol 252 Button
on (release) {
nextFrame();
}
Symbol 253 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal2 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal2.data.xtal21 = 1;
this._visible = false;
}
Symbol 254 MovieClip Frame 1
xtal2 = SharedObject.getLocal("illusion");
if (xtal2.data.xtal21 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 255 MovieClip Frame 1
stop();
Symbol 256 Button
on (release) {
_root.grabFC();
gotoAndStop (6);
}
Symbol 257 Button
on (release) {
_root.grabFC();
gotoAndStop (3);
}
Symbol 262 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal3 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal3.data.xtal31 = 1;
this._visible = false;
}
Symbol 263 MovieClip Frame 1
xtal3 = SharedObject.getLocal("illusion");
if (xtal3.data.xtal31 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 265 Button
on (release) {
nextFrame();
}
Symbol 266 Button
on (release) {
prevFrame();
}
Symbol 267 MovieClip Frame 1
stop();
Symbol 269 Button
on (release) {
nextFrame();
}
Symbol 270 Button
on (release) {
prevFrame();
}
Symbol 271 MovieClip Frame 1
stop();
Instance of Symbol 50 MovieClip [lighter] in Symbol 272 MovieClip Frame 1
onClipEvent (load) {
lighter = SharedObject.getLocal("illusion");
if (lighter.data.lighter1 != undefined) {
this._visible = false;
}
}
on (release) {
lighter.data.lighter1 = 1;
_root.lighter_itm._visible = true;
this._visible = false;
_root.info = "You picked up a lighter.";
}
Symbol 282 Button
on (release) {
_root.info = "A pretty vase.";
}
Symbol 283 Button
on (release) {
_root.grabFC();
gotoAndStop (2);
}
Symbol 284 Button
on (release) {
_root.grabFC();
gotoAndStop (4);
}
Symbol 289 Button
on (release) {
nextFrame();
}
Symbol 292 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal6 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal6.data.xtal61 = 1;
this._visible = false;
}
Symbol 293 MovieClip Frame 1
xtal6 = SharedObject.getLocal("illusion");
if (xtal6.data.xtal61 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 294 Button
on (release) {
nextFrame();
}
Symbol 295 MovieClip Frame 1
stop();
Symbol 295 MovieClip Frame 2
play();
Symbol 295 MovieClip Frame 11
stop();
Symbol 295 MovieClip Frame 12
play();
Symbol 295 MovieClip Frame 20
gotoAndStop (1);
Symbol 297 Button
on (release) {
_root.house1.poem1_mc.nextFrame();
this.nextFrame();
}
Symbol 298 MovieClip Frame 1
stop();
Symbol 298 MovieClip Frame 2
play();
Symbol 298 MovieClip Frame 11
stop();
Symbol 298 MovieClip Frame 12
play();
Symbol 298 MovieClip Frame 20
gotoAndStop (1);
Symbol 302 Button
on (release) {
_root.info = "The light is on.";
nextFrame();
}
Symbol 306 Button
on (release) {
_root.info = "The light is off.";
prevFrame();
}
Symbol 307 MovieClip Frame 1
stop();
Symbol 309 Button
on (release) {
gotoAndStop (11);
}
Symbol 311 Button
on (release) {
play();
}
Symbol 312 Button
on (release) {
play();
}
Symbol 314 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal49 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal49.data.xtal491 = 1;
this._visible = false;
}
Symbol 315 MovieClip Frame 1
xtal49 = SharedObject.getLocal("illusion");
if (xtal49.data.xtal491 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 316 MovieClip Frame 1
stop();
Symbol 316 MovieClip Frame 2
play();
_root.info = "It is a nice calendar.";
Symbol 316 MovieClip Frame 20
stop();
Symbol 316 MovieClip Frame 40
gotoAndStop (1);
Symbol 317 Button
on (release) {
prevFrame();
}
Symbol 319 MovieClip Frame 1
stop();
Symbol 320 Button
on (release) {
_root.info = "There are a lot of stars out tonight.";
}
Symbol 321 Button
on (release) {
_root.grabFC();
gotoAndStop (3);
}
Symbol 322 Button
on (release) {
_root.grabFC();
gotoAndStop (5);
}
Symbol 323 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal4 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal4.data.xtal41 = 1;
this._visible = false;
}
Symbol 324 MovieClip Frame 1
xtal4 = SharedObject.getLocal("illusion");
if (xtal4.data.xtal41 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 328 Button
on (release) {
nextFrame();
}
Symbol 331 Button
on (release) {
_root.info = "Some plates.";
}
Symbol 333 Button
on (release) {
prevFrame();
}
Symbol 334 MovieClip Frame 1
stop();
Symbol 335 MovieClip Frame 1
stop();
Instance of Symbol 67 MovieClip [spoon] in Symbol 335 MovieClip Frame 2
onClipEvent (load) {
spoon = SharedObject.getLocal("illusion");
if (spoon.data.spoon1 != undefined) {
this._visible = false;
}
}
on (release) {
spoon.data.spoon1 = 1;
_root.spoon_itm._visible = true;
this._visible = false;
_root.info = "You picked up a spoon.";
}
Symbol 346 Button
on (release) {
_root.info = "These plates look odd.";
}
Symbol 347 Button
on (release) {
_root.grabFC();
gotoAndStop (4);
}
Symbol 348 Button
on (release) {
_root.grabFC();
gotoAndStop (6);
}
Symbol 349 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal5 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal5.data.xtal51 = 1;
this._visible = false;
}
Symbol 350 MovieClip Frame 1
xtal5 = SharedObject.getLocal("illusion");
if (xtal5.data.xtal51 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 352 Button
on (release) {
_root.info = "This speaker could break some windows!";
}
Symbol 359 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal8 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal8.data.xtal81 = 1;
this._visible = false;
}
Symbol 360 MovieClip Frame 1
xtal8 = SharedObject.getLocal("illusion");
if (xtal8.data.xtal81 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 364 MovieClip Frame 1
stop();
Instance of Symbol 362 MovieClip in Symbol 364 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.fc1.plode) == true) {
_root.info = "You destroyed the crate.";
this._parent.nextFrame();
}
}
Symbol 364 MovieClip Frame 2
stop();
Symbol 365 Button
on (release) {
_root.info = "I think the stereo is already on.";
}
Symbol 367 Button
on (release) {
nextFrame();
}
Symbol 369 Button
on (release) {
prevFrame();
}
Symbol 370 MovieClip Frame 1
stop();
Symbol 372 Button
on (release) {
nextFrame();
}
Symbol 373 Button
on (release) {
prevFrame();
}
Symbol 374 MovieClip Frame 1
stop();
Symbol 376 Button
on (release) {
stuckdoor1 = SharedObject.getLocal("illusion");
if (stuckdoor1.data.stuckdoor11 != undefined) {
nextFrame();
} else if (_root.use_crowbar == 1) {
stuckdoor1.data.stuckdoor11 = 1;
_root.info = "You managed to pry the door open.";
nextFrame();
} else {
_root.info = "The door is stuck shut.";
}
}
Symbol 378 Button
on (release) {
prevFrame();
}
Symbol 379 MovieClip Frame 1
stop();
Symbol 381 Button
on (release) {
nextFrame();
}
Symbol 382 Button
on (release) {
prevFrame();
}
Symbol 383 MovieClip Frame 1
stop();
Instance of Symbol 358 MovieClip "gk2" in Symbol 384 MovieClip Frame 1
onClipEvent (load) {
gk2 = SharedObject.getLocal("illusion");
if (gk2.data.gk22 != undefined) {
this._visible = false;
}
}
on (release) {
gk2 = SharedObject.getLocal("illusion");
gks = SharedObject.getLocal("illusion");
gk2.data.gk22 = 1;
gks.data.gks1 = gks.data.gks1 + 1;
this._visible = false;
_root.info = "You picked up a golden key.";
}
Symbol 387 MovieClip Frame 1
figure = SharedObject.getLocal("illusion");
if (figure.data.figure1 == 1) {
nextFrame();
} else {
stop();
}
Instance of Symbol 386 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.fc1.plode) == true) {
figure = SharedObject.getLocal("illusion");
figure.data.figure1 = 1;
_root.info = "You destroyed the statue.";
this._parent.nextFrame();
}
}
Instance of Symbol 54 MovieClip [crystalball] in Symbol 387 MovieClip Frame 2
onClipEvent (load) {
crystalball = SharedObject.getLocal("illusion");
if (crystalball.data.crystalball1 != undefined) {
this._visible = false;
}
}
on (release) {
crystalball.data.crystalball1 = 1;
_root.crystalball_itm._visible = true;
this._visible = false;
_root.info = "You picked up a crystal ball.";
}
Symbol 388 Button
on (release) {
_root.info = "The television is off, the cable must be out.";
}
Symbol 389 Button
on (release) {
_root.grabFC();
gotoAndStop (2);
}
Symbol 397 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal9 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal9.data.xtal91 = 1;
this._visible = false;
}
Symbol 398 MovieClip Frame 1
xtal9 = SharedObject.getLocal("illusion");
if (xtal9.data.xtal91 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 399 MovieClip Frame 1
stop();
Symbol 399 MovieClip Frame 2
play();
Symbol 399 MovieClip Frame 15
stop();
Symbol 404 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal10 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal10.data.xtal101 = 1;
this._visible = false;
}
Symbol 405 MovieClip Frame 1
xtal10 = SharedObject.getLocal("illusion");
if (xtal10.data.xtal101 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 406 MovieClip Frame 1
stop();
Symbol 411 Button
on (release) {
this.poem2.nextFrame();
}
Symbol 412 Button
on (release) {
_root.info = "Nice and clean.";
}
Symbol 414 MovieClip Frame 1
stop();
Symbol 415 Button
on (release) {
_root.grabFC();
gotoAndStop (10);
}
Symbol 416 Button
on (release) {
_root.grabFC();
gotoAndStop (8);
}
Symbol 425 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal11 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal11.data.xtal111 = 1;
this._visible = false;
}
Symbol 426 MovieClip Frame 1
xtal11 = SharedObject.getLocal("illusion");
if (xtal11.data.xtal111 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 428 Button
on (press) {
startDrag ("lotion");
}
on (release) {
stopDrag();
}
Symbol 429 Button
on (release) {
_root.info = "You gaze into the mirror and see yourself.";
}
Symbol 430 Button
on (release) {
_root.info = "A nice towel.";
}
Symbol 431 Button
on (release) {
_root.grabFC();
gotoAndStop (7);
}
Symbol 432 Button
on (release) {
_root.grabFC();
gotoAndStop (9);
}
Symbol 434 Button
on (release) {
gotoAndStop (11);
}
Symbol 436 Button
on (release) {
if (_root.use_waterbottle == true) {
_root.waterbottle_use.gotoAndPlay(2);
nextFrame();
} else {
_root.info = "The flower looks dry.";
}
}
Symbol 439 MovieClip Frame 50
stop();
this._parent.play();
Symbol 442 MovieClip Frame 1
painting2 = SharedObject.getLocal("illusion");
if (painting2.data.painting21 != undefined) {
gotoAndStop ("fell");
} else {
stop();
}
Symbol 442 MovieClip Frame 2
stop();
Symbol 442 MovieClip Frame 3
play();
Instance of Symbol 72 MovieClip [pills] in Symbol 442 MovieClip Frame 3
onClipEvent (load) {
pills = SharedObject.getLocal("illusion");
if (pills.data.pills1 != undefined) {
this._visible = false;
}
}
on (release) {
pills.data.pills1 = 1;
_root.pills_itm._visible = true;
this._visible = false;
_root.info = "You picked up a bottle of pills.";
}
Symbol 442 MovieClip Frame 35
painting2 = SharedObject.getLocal("illusion");
painting2.data.painting21 = 1;
Symbol 442 MovieClip Frame 36
stop();
Symbol 443 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal12 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal12.data.xtal121 = 1;
this._visible = false;
}
Symbol 444 MovieClip Frame 1
xtal12 = SharedObject.getLocal("illusion");
if (xtal12.data.xtal121 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 448 Button
on (release) {
if (_root.bathpuzz == 0) {
_root.bathpuzz = 1;
} else if (_root.bathpuzz == 2) {
_root.bathpuzz = 3;
} else {
_root.bathpuzz = 0;
}
nextFrame();
}
Symbol 449 Button
on (release) {
prevFrame();
}
Symbol 450 MovieClip Frame 1
stop();
Symbol 450 MovieClip Frame 2
if (_root.brd == true) {
stop();
} else {
nextFrame();
}
Symbol 450 MovieClip Frame 3
play();
Symbol 450 MovieClip Frame 6
gotoAndStop (1);
_root.info = "Something is wrong with the door.";
Symbol 451 Button
on (release) {
if (_root.bathpuzz == 4) {
_root.brd = true;
} else {
_root.bathpuzz = 0;
}
nextFrame();
}
Symbol 452 MovieClip Frame 1
stop();
Symbol 452 MovieClip Frame 2
if (_root.brd == true) {
stop();
} else {
nextFrame();
}
Symbol 452 MovieClip Frame 3
play();
Symbol 452 MovieClip Frame 6
gotoAndStop (1);
_root.info = "Something is wrong with the door.";
Symbol 453 Button
on (release) {
if (_root.bathpuzz == 1) {
_root.bathpuzz = 2;
} else if (_root.bathpuzz == 3) {
_root.bathpuzz = 4;
} else {
_root.bathpuzz = 0;
}
nextFrame();
}
Symbol 454 MovieClip Frame 1
stop();
Symbol 454 MovieClip Frame 2
if (_root.brd == true) {
stop();
} else {
nextFrame();
}
Symbol 454 MovieClip Frame 3
play();
Symbol 454 MovieClip Frame 6
gotoAndStop (1);
_root.info = "Something is wrong with the door.";
Instance of Symbol 44 MovieClip [rGem] in Symbol 456 MovieClip Frame 1
onClipEvent (load) {
rGem = SharedObject.getLocal("illusion");
if (rGem.data.rGem1 != undefined) {
this._visible = false;
}
}
on (release) {
rGem.data.rGem1 = 1;
_root.rGem_itm._visible = true;
this._visible = false;
_root.info = "You picked up a glowing red gem.";
}
Symbol 461 Button
on (release) {
beddoor = SharedObject.getLocal("illusion");
if (beddoor.data.beddoor1 != undefined) {
_root.grabFC();
gotoAndStop (16);
} else if (beddoor.data.beddoor1 == undefined) {
if (_root.use_gk == 1) {
gks = SharedObject.getLocal("illusion");
gks.data.gks1 = gks.data.gks1 - 1;
Mouse.show();
_root.gk_use.swapDepths(0);
_root.gk_use.removeMovieClip();
_root.use_item = false;
_root.use_gk = 0;
_root.gk_itm._alpha = 100;
_root.delay = 0;
_root.info = "You used the gold key to unlock the door.";
beddoor.data.beddoor1 = 1;
_root.grabFC();
gotoAndStop (16);
} else {
_root.info = "The door is locked.";
}
}
}
Symbol 462 MovieClip Frame 1
stop();
Symbol 462 MovieClip Frame 2
play();
Symbol 462 MovieClip Frame 11
stop();
Symbol 462 MovieClip Frame 12
play();
Symbol 462 MovieClip Frame 20
gotoAndStop (1);
Symbol 463 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal14 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal14.data.xtal141 = 1;
this._visible = false;
}
Symbol 464 MovieClip Frame 1
xtal14 = SharedObject.getLocal("illusion");
if (xtal14.data.xtal141 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 465 MovieClip Frame 1
stop();
Symbol 465 MovieClip Frame 2
play();
Symbol 465 MovieClip Frame 11
stop();
Symbol 465 MovieClip Frame 12
play();
Symbol 465 MovieClip Frame 20
gotoAndStop (1);
Symbol 467 Button
on (release) {
_root.grabFC();
gotoAndStop (9);
}
Symbol 468 Button
on (release) {
recdoor = SharedObject.getLocal("illusion");
if (recdoor.data.recdoor1 != undefined) {
_root.grabFC();
gotoAndStop (13);
} else if (recdoor.data.recdoor1 == undefined) {
if (_root.use_gk == 1) {
gks = SharedObject.getLocal("illusion");
gks.data.gks1 = gks.data.gks1 - 1;
Mouse.show();
_root.gk_use.swapDepths(0);
_root.gk_use.removeMovieClip();
_root.use_item = false;
_root.use_gk = 0;
_root.gk_itm._alpha = 100;
_root.delay = 0;
_root.info = "You used the gold key to unlock the door.";
recdoor.data.recdoor1 = 1;
_root.grabFC();
gotoAndStop (13);
} else {
_root.info = "The door is locked.";
}
}
}
Symbol 469 Button
on (release) {
_root.info = "It looks like a large mountain.";
}
Symbol 470 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal15 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal15.data.xtal151 = 1;
this._visible = false;
}
Symbol 471 MovieClip Frame 1
xtal15 = SharedObject.getLocal("illusion");
if (xtal15.data.xtal151 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 472 Button
on (release) {
gotoAndStop (4);
}
Symbol 482 MovieClip Frame 1
pflower = SharedObject.getLocal("illusion");
if (pflower.data.pflower1 == 2) {
gotoAndStop ("sleep");
}
Symbol 482 MovieClip Frame 720
gotoAndPlay (1);
Symbol 482 MovieClip Frame 721
stop();
Symbol 490 Button
on (release) {
pflower = SharedObject.getLocal("illusion");
if (((pflower.data.pflower1 == 2) && (_root.use_scope == true)) && (_root.pearlset == 1)) {
Mouse.show();
_root.scope_use.swapDepths(0);
_root.scope_use.removeMovieClip();
_root.use_item = false;
_root.use_scope = 0;
_root.scope_itm._alpha = 100;
_root.delay = 0;
gotoAndStop ("ship");
} else if ((pflower.data.pflower1 == 1) && (_root.use_pliers == true)) {
pflower.data.pflower1 = 2;
shark = SharedObject.getLocal("illusion");
shark.data.shark1 = 1;
Mouse.show();
_root.pliers_use.swapDepths(0);
_root.pliers_use.removeMovieClip();
_root.use_item = false;
_root.use_pliers = 0;
_root.delay = 0;
_root.pliers_itm.gotoAndStop(1);
this.fishtank.shark.gotoAndStop("sleep");
_root.info = "You put the shark to sleep.";
} else if (pflower.data.pflower1 == 2) {
_root.info = "The shark is asleep but how can you fit inside?";
} else if (pflower.data.pflower1 != 2) {
_root.info = "The shark looks like he might bite.";
} else {
_root.info = "The treasure could be in that sunken ship.";
}
}
Symbol 494 Button
on (release) {
nextFrame();
}
Symbol 495 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal16 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal16.data.xtal161 = 1;
this._visible = false;
}
Symbol 496 MovieClip Frame 1
xtal16 = SharedObject.getLocal("illusion");
if (xtal16.data.xtal161 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 499 MovieClip Frame 1
stop();
Symbol 499 MovieClip Frame 2
play();
Symbol 499 MovieClip Frame 15
stop();
Symbol 500 Button
on (release) {
_root.grabFC();
gotoAndStop (15);
}
Symbol 501 Button
on (release) {
_root.grabFC();
gotoAndStop (13);
}
Symbol 503 Button
on (release) {
_root.grabFC();
gotoAndStop (11);
}
Symbol 506 Button
on (release) {
nextFrame();
}
Symbol 508 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal17 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal17.data.xtal171 = 1;
this._visible = false;
}
Symbol 509 MovieClip Frame 1
xtal17 = SharedObject.getLocal("illusion");
if (xtal17.data.xtal171 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 510 MovieClip Frame 1
stop();
Symbol 512 MovieClip Frame 1
stop();
Symbol 514 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal18 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal18.data.xtal181 = 1;
this._visible = false;
}
Symbol 515 MovieClip Frame 1
xtal18 = SharedObject.getLocal("illusion");
if (xtal18.data.xtal181 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 517 Button
on (release) {
if (_root.book1 != 1) {
_root.book1 = 1;
if (_root.books == 0) {
_root.books = 1;
} else {
_root.books++;
}
}
}
Symbol 518 Button
on (release) {
if (_root.book2 != 1) {
_root.book2 = 1;
if (_root.books == 0) {
_root.books = 1;
} else {
_root.books++;
}
}
}
Symbol 519 Button
on (release) {
if (_root.book3 != 1) {
_root.book3 = 1;
if (_root.books == 0) {
_root.books = 1;
} else {
_root.books++;
}
}
}
Symbol 523 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.books == 3) {
nextFrame();
}
};
Instance of Symbol 81 MovieClip [gGem] in Symbol 524 MovieClip Frame 1
onClipEvent (load) {
gGem = SharedObject.getLocal("illusion");
if (gGem.data.gGem1 != undefined) {
this._visible = false;
}
}
on (release) {
gGem.data.gGem1 = 1;
_root.gGem_itm._visible = true;
this._visible = false;
_root.info = "You picked up a glowing green gem.";
}
Symbol 527 MovieClip Frame 1
stop();
Symbol 530 Button
on (release) {
_root.info = "It won't start, it must be broken.";
}
Symbol 531 Button
on (release) {
_root.grabFC();
gotoAndStop (12);
}
Symbol 532 Button
on (release) {
_root.grabFC();
gotoAndStop (14);
}
Symbol 536 MovieClip Frame 1
stop();
Instance of Symbol 535 MovieClip "gk2" in Symbol 536 MovieClip Frame 2
onClipEvent (load) {
gk4 = SharedObject.getLocal("illusion");
if (gk4.data.gk44 != undefined) {
this._visible = false;
}
}
on (release) {
gk4 = SharedObject.getLocal("illusion");
gks = SharedObject.getLocal("illusion");
gk4.data.gk44 = 1;
gks.data.gks1 = gks.data.gks1 + 1;
this._visible = false;
_root.info = "You picked up a golden key.";
}
Symbol 537 Button
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 21 MovieClip "hole" in Symbol 541 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(this._parent.cue) == true) {
this._parent.keydrop.nextFrame();
stopDrag();
_root.house1.pooltable.cue.swapDepths(0);
_root.house1.pooltable.cue.removeMovieClip();
this.swapDepths(0);
this.removeMovieClip();
}
}
Symbol 547 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal50 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal50.data.xtal501 = 1;
this._visible = false;
}
Symbol 548 MovieClip Frame 1
xtal50 = SharedObject.getLocal("illusion");
if (xtal50.data.xtal501 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 552 Button
on (press) {
startDrag ("beerpic3");
}
on (release) {
stopDrag();
}
Symbol 553 Button
on (release) {
_root.info = "Cue ball corner pocket.";
}
Symbol 554 Button
on (release) {
_root.info = "A cold one sounds nice right about now.";
}
Symbol 555 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal19 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal19.data.xtal191 = 1;
this._visible = false;
}
Symbol 556 MovieClip Frame 1
xtal19 = SharedObject.getLocal("illusion");
if (xtal19.data.xtal191 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 561 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal20 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal20.data.xtal201 = 1;
this._visible = false;
}
Symbol 562 MovieClip Frame 1
xtal20 = SharedObject.getLocal("illusion");
if (xtal20.data.xtal201 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 563 Button
on (release) {
_root.info = "There isn't any time to bowl right now.";
bowlcount = SharedObject.getLocal("illusion");
if (bowlcount.data.bowlcount1 == undefined) {
bowlcount.data.bowlcount1 = 1;
} else {
bowlcount.data.bowlcount1++;
}
}
Instance of Symbol 74 MovieClip [bball] in Symbol 564 MovieClip Frame 1
onClipEvent (load) {
bball = SharedObject.getLocal("illusion");
if (bball.data.bball1 != undefined) {
this._visible = false;
}
}
on (release) {
bball.data.bball1 = 1;
_root.bball_itm._visible = true;
this._visible = false;
_root.info = "You picked up a bowling ball.";
}
Symbol 571 Button
on (release) {
nextFrame();
}
Symbol 572 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal13 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal13.data.xtal131 = 1;
this._visible = false;
}
Symbol 573 MovieClip Frame 1
xtal13 = SharedObject.getLocal("illusion");
if (xtal13.data.xtal131 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 575 MovieClip Frame 1
stop();
Symbol 575 MovieClip Frame 2
play();
Symbol 575 MovieClip Frame 35
stop();
Symbol 581 Button
on (release) {
_root.info = "I am getting thirsty!!";
}
Symbol 582 Button
on (release) {
gotoAndStop (11);
}
Symbol 586 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal21 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal21.data.xtal211 = 1;
this._visible = false;
}
Symbol 587 MovieClip Frame 1
xtal21 = SharedObject.getLocal("illusion");
if (xtal21.data.xtal211 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 588 MovieClip Frame 1
lampx = SharedObject.getLocal("illusion");
if (lampx.data.lampx1 == 1) {
nextFrame();
} else {
stop();
}
Instance of Symbol 584 MovieClip in Symbol 588 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.fc1.plode) == true) {
lampx = SharedObject.getLocal("illusion");
lampx.data.lampx1 = 1;
_root.info = "You destroyed the lamp.";
this._parent.nextFrame();
}
}
Symbol 589 Button
on (release) {
_root.grabFC();
gotoAndStop (19);
}
Symbol 590 Button
on (release) {
_root.grabFC();
gotoAndStop (17);
}
Symbol 593 Button
on (release) {
_root.purp = 1;
ppuzz = SharedObject.getLocal("illusion");
ppuzz.data.ppuzz1 = 1;
nextFrame();
}
Symbol 594 Button
on (release) {
_root.purp = 0;
ppuzz = SharedObject.getLocal("illusion");
ppuzz.data.ppuzz1 = 0;
prevFrame();
}
Symbol 595 MovieClip Frame 1
if (_root.purp == 1) {
nextFrame();
} else {
stop();
}
Symbol 598 MovieClip Frame 1
stop();
Symbol 601 MovieClip Frame 1
stop();
Symbol 610 Button
on (release) {
nextFrame();
}
Symbol 611 Button
on (release) {
prevFrame();
}
Symbol 612 MovieClip Frame 1
stop();
Instance of Symbol 607 MovieClip "gk3" in Symbol 613 MovieClip Frame 1
onClipEvent (load) {
gk3 = SharedObject.getLocal("illusion");
if (gk3.data.gk33 != undefined) {
this._visible = false;
}
}
on (release) {
gk3 = SharedObject.getLocal("illusion");
gks = SharedObject.getLocal("illusion");
gk3.data.gk33 = 1;
gks.data.gks1 = gks.data.gks1 + 1;
this._visible = false;
_root.info = "You picked up a golden key.";
}
Symbol 615 Button
on (release) {
_root.rd = 1;
ppuzz = SharedObject.getLocal("illusion");
if (ppuzz.data.ppuzz1 == 3) {
ppuzz.data.ppuzz1 = 4;
} else {
ppuzz.data.ppuzz1 = 0;
}
nextFrame();
}
Symbol 616 Button
on (release) {
_root.rd = 0;
ppuzz = SharedObject.getLocal("illusion");
ppuzz.data.ppuzz1 = 0;
prevFrame();
}
Symbol 617 MovieClip Frame 1
if (_root.rd == 1) {
nextFrame();
} else {
stop();
}
Symbol 622 Button
on (release) {
_root.pnk = 1;
ppuzz = SharedObject.getLocal("illusion");
if (ppuzz.data.ppuzz1 == 1) {
ppuzz.data.ppuzz1 = 2;
} else {
ppuzz.data.ppuzz1 = 0;
}
nextFrame();
}
Symbol 623 Button
on (release) {
_root.pnk = 0;
ppuzz = SharedObject.getLocal("illusion");
ppuzz.data.ppuzz1 = 0;
prevFrame();
}
Symbol 624 MovieClip Frame 1
if (_root.pnk == 1) {
nextFrame();
} else {
stop();
}
Symbol 625 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal23 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal23.data.xtal231 = 1;
this._visible = false;
}
Symbol 626 MovieClip Frame 1
xtal23 = SharedObject.getLocal("illusion");
if (xtal23.data.xtal231 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 629 Button
on (release) {
_root.blu = 1;
ppuzz = SharedObject.getLocal("illusion");
if (ppuzz.data.ppuzz1 == 2) {
ppuzz.data.ppuzz1 = 3;
} else {
ppuzz.data.ppuzz1 = 0;
}
nextFrame();
}
Symbol 630 Button
on (release) {
_root.blu = 0;
ppuzz = SharedObject.getLocal("illusion");
ppuzz.data.ppuzz1 = 0;
prevFrame();
}
Symbol 631 MovieClip Frame 1
if (_root.blu == 1) {
nextFrame();
} else {
stop();
}
Symbol 636 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal22 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal22.data.xtal221 = 1;
this._visible = false;
}
Symbol 637 MovieClip Frame 1
xtal22 = SharedObject.getLocal("illusion");
if (xtal22.data.xtal221 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 638 Button
on (release) {
_root.grabFC();
gotoAndStop (16);
}
Symbol 639 Button
on (release) {
_root.grabFC();
gotoAndStop (18);
}
Symbol 642 Button
on (release) {
nextFrame();
}
Symbol 643 Button
on (release) {
prevFrame();
}
Symbol 644 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal25 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal25.data.xtal251 = 1;
this._visible = false;
}
Symbol 645 MovieClip Frame 1
xtal25 = SharedObject.getLocal("illusion");
if (xtal25.data.xtal251 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 646 MovieClip Frame 1
stop();
Symbol 648 Button
on (release) {
nextFrame();
}
Symbol 649 Button
on (release) {
prevFrame();
}
Symbol 650 MovieClip Frame 1
stop();
Instance of Symbol 51 MovieClip [firecracker] in Symbol 650 MovieClip Frame 2
onClipEvent (load) {
firecracker = SharedObject.getLocal("illusion");
if (firecracker.data.firecracker1 != undefined) {
this._visible = false;
}
}
on (release) {
firecracker.data.firecracker1 = 1;
_root.firecracker_itm._visible = true;
this._visible = false;
_root.info = "You picked up a firecracker.";
}
Symbol 651 MovieClip Frame 1
stop();
Symbol 653 Button
on (release) {
_root.lig2 = 1;
nextFrame();
}
Symbol 654 Button
on (release) {
_root.lig2 = 0;
prevFrame();
}
Symbol 655 MovieClip Frame 1
stop();
Symbol 656 Button
on (release) {
_root.lig1 = 1;
nextFrame();
}
Symbol 657 Button
on (release) {
_root.lig1 = 0;
prevFrame();
}
Symbol 658 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal24 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal24.data.xtal241 = 1;
this._visible = false;
}
Symbol 659 MovieClip Frame 1
xtal24 = SharedObject.getLocal("illusion");
if (xtal24.data.xtal241 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 660 MovieClip Frame 1
stop();
Symbol 664 Button
on (release) {
_root.info = "There is nothing behind this.";
}
Symbol 666 Button
on (release) {
_root.info = "There seems to be something behind the televsion, it won't move though.";
}
Symbol 670 Button
on (release) {
nextFrame();
}
Symbol 687 Button
on (release) {
gotoAndStop (1);
}
Symbol 688 Button
on (release) {
gotoAndStop (1);
}
Symbol 689 Button
on (release) {
gotoAndStop (1);
}
Symbol 690 Button
on (release) {
gotoAndStop (1);
}
Symbol 691 Button
on (release) {
gotoAndStop (1);
}
Symbol 692 Button
on (release) {
gotoAndStop (1);
}
Symbol 693 Button
on (release) {
nextFrame();
}
Symbol 694 Button
on (release) {
gotoAndStop (1);
}
Symbol 695 Button
on (release) {
gotoAndStop (1);
}
Symbol 696 Button
on (release) {
gotoAndStop (1);
}
Symbol 697 Button
on (release) {
tvsafe = SharedObject.getLocal("illusion");
tvsafe.data.tvsafe1 = 1;
this._parent.nextFrame();
nextFrame();
}
Symbol 699 MovieClip Frame 1
stop();
Symbol 699 MovieClip Frame 2
stop();
Symbol 699 MovieClip Frame 3
stop();
Symbol 699 MovieClip Frame 4
stop();
Symbol 699 MovieClip Frame 5
stop();
Symbol 701 MovieClip Frame 1
tvsafe = SharedObject.getLocal("illusion");
if (tvsafe.data.tvsafe1 == 1) {
nextFrame();
} else {
stop();
}
Instance of Symbol 77 MovieClip [scope] in Symbol 701 MovieClip Frame 2
onClipEvent (load) {
scope = SharedObject.getLocal("illusion");
if (scope.data.scope1 != undefined) {
this._visible = false;
}
}
on (release) {
scope.data.scope1 = 1;
_root.scope_itm._visible = true;
this._visible = false;
_root.info = "You picked up a telescope.";
}
Symbol 703 MovieClip Frame 1
ppuzz = SharedObject.getLocal("illusion");
if (ppuzz.data.ppuzz1 == 4) {
nextFrame();
} else {
stop();
}
Symbol 703 MovieClip Frame 2
play();
Symbol 703 MovieClip Frame 15
stop();
Symbol 704 Button
on (release) {
nextFrame();
}
Symbol 705 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal26 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal26.data.xtal261 = 1;
this._visible = false;
}
Symbol 706 MovieClip Frame 1
xtal26 = SharedObject.getLocal("illusion");
if (xtal26.data.xtal261 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 707 MovieClip Frame 1
stop();
Symbol 713 Button
on (release) {
_root.grabFC();
gotoAndStop (23);
}
Symbol 714 Button
on (release) {
_root.grabFC();
gotoAndStop (21);
}
Symbol 715 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal27 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal27.data.xtal271 = 1;
this._visible = false;
}
Symbol 716 MovieClip Frame 1
xtal27 = SharedObject.getLocal("illusion");
if (xtal27.data.xtal271 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 717 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal28 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal28.data.xtal281 = 1;
this._visible = false;
}
Symbol 718 MovieClip Frame 1
xtal28 = SharedObject.getLocal("illusion");
if (xtal28.data.xtal281 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 720 Button
on (release) {
_root.info = "Don't mind my brother, he is crazy.";
}
Symbol 722 Button
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Symbol 724 Button
on (release) {
_root.info = "My name is Benny bones and that is my brother Skinny.";
}
Symbol 727 Button
on (release) {
_root.grabFC();
gotoAndStop (20);
}
Symbol 728 Button
on (release) {
_root.grabFC();
gotoAndStop (22);
}
Symbol 730 Button
on (release) {
gotoAndStop (24);
}
Symbol 739 Button
on (release) {
_root.info = "The lock has a force surrounding it.";
}
Symbol 742 Button
on (press) {
_root.house1.gotoAndStop("Win");
}
Symbol 743 MovieClip Frame 1
gGemSet = SharedObject.getLocal("illusion");
bGemSet = SharedObject.getLocal("illusion");
rGemSet = SharedObject.getLocal("illusion");
if (((gGemSet.data.gGemSet1 == 1) && (bGemSet.data.bGemSet1 == 1)) && (rGemSet.data.rGemSet1 == 1)) {
nextFrame();
} else {
stop();
}
Symbol 743 MovieClip Frame 2
win = SharedObject.getLocal("illusion");
if (win.data.win1 == 1) {
nextFrame();
} else {
stop();
}
Instance of Symbol 735 MovieClip in Symbol 743 MovieClip Frame 2
on (release) {
if (_root.use_crowbar == true) {
win = SharedObject.getLocal("illusion");
win.data.win1 = 1;
_root.info = "You opened the chest and found the treasure!";
_root.house1.chest.nextFrame();
} else {
_root.info = "The lock is jammed.";
}
}
Symbol 744 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal29 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal29.data.xtal291 = 1;
this._visible = false;
}
Symbol 745 MovieClip Frame 1
xtal29 = SharedObject.getLocal("illusion");
if (xtal29.data.xtal291 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 747 Button
on (press) {
startDrag ("plank");
}
on (release) {
stopDrag();
}
Symbol 748 Button
on (release) {
gotoAndStop (22);
}
Symbol 749 MovieClip Frame 1
stop();
Instance of Symbol 362 MovieClip in Symbol 749 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.fc1.plode) == true) {
_root.info = "You destroyed the crate.";
this._parent.nextFrame();
}
}
Symbol 749 MovieClip Frame 2
stop();
Symbol 750 Button
on (release) {
_root.grabFC();
gotoAndStop (27);
}
Symbol 751 Button
on (release) {
_root.grabFC();
gotoAndStop (25);
}
Symbol 756 MovieClip Frame 1
gGemSet = SharedObject.getLocal("illusion");
if (gGemSet.data.gGemSet1 == 1) {
nextFrame();
} else {
stop();
}
Instance of Symbol 21 MovieClip in Symbol 756 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.gGem_use) == true) {
Mouse.show();
_root.gGem_use.swapDepths(0);
_root.gGem_use.removeMovieClip();
_root.use_item = false;
_root.use_gGem = 0;
_root.delay = 0;
_root.gGem_itm._visible = false;
gGemSet = SharedObject.getLocal("illusion");
gGemSet.data.gGemSet1 = 1;
this._parent.nextFrame();
}
}
Symbol 757 MovieClip Frame 1
rGemSet = SharedObject.getLocal("illusion");
if (rGemSet.data.rGemSet1 == 1) {
nextFrame();
} else {
stop();
}
Instance of Symbol 21 MovieClip in Symbol 757 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.rGem_use) == true) {
Mouse.show();
_root.rGem_use.swapDepths(0);
_root.rGem_use.removeMovieClip();
_root.use_item = false;
_root.use_rGem = 0;
_root.delay = 0;
_root.rGem_itm._visible = false;
rGemSet = SharedObject.getLocal("illusion");
rGemSet.data.rGemSet1 = 1;
this._parent.nextFrame();
}
}
Symbol 758 MovieClip Frame 1
bGemSet = SharedObject.getLocal("illusion");
if (bGemSet.data.bGemSet1 == 1) {
nextFrame();
} else {
stop();
}
Instance of Symbol 21 MovieClip in Symbol 758 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.bGem_use) == true) {
Mouse.show();
_root.bGem_use.swapDepths(0);
_root.bGem_use.removeMovieClip();
_root.use_item = false;
_root.use_bGem = 0;
_root.delay = 0;
_root.bGem_itm._visible = false;
bGemSet = SharedObject.getLocal("illusion");
bGemSet.data.bGemSet1 = 1;
this._parent.nextFrame();
}
}
Symbol 760 MovieClip Frame 1
bballSet = SharedObject.getLocal("illusion");
if (bballSet.data.bballSet1 == 1) {
nextFrame();
} else {
stop();
}
Instance of Symbol 21 MovieClip in Symbol 760 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.bball_use) == true) {
Mouse.show();
_root.bball_use.swapDepths(0);
_root.bball_use.removeMovieClip();
_root.use_item = false;
_root.use_bball = 1;
_root.delay = 0;
_root.bball_itm._visible = false;
bballSet = SharedObject.getLocal("illusion");
bballSet.data.bballSet1 = 1;
this._parent.nextFrame();
}
}
Symbol 761 MovieClip Frame 1
stop();
Instance of Symbol 362 MovieClip in Symbol 761 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.fc1.plode) == true) {
_root.info = "You destroyed the crate.";
this._parent.nextFrame();
}
}
Symbol 761 MovieClip Frame 2
stop();
Symbol 762 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal30 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal30.data.xtal301 = 1;
this._visible = false;
}
Symbol 763 MovieClip Frame 1
xtal30 = SharedObject.getLocal("illusion");
if (xtal30.data.xtal301 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 764 MovieClip Frame 1
stop();
Instance of Symbol 362 MovieClip in Symbol 764 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.fc1.plode) == true) {
_root.info = "You destroyed the crate.";
this._parent.nextFrame();
}
}
Symbol 764 MovieClip Frame 2
stop();
Symbol 765 MovieClip Frame 1
stop();
Instance of Symbol 362 MovieClip in Symbol 765 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.fc1.plode) == true) {
_root.info = "You destroyed the crate.";
this._parent.nextFrame();
}
}
Symbol 765 MovieClip Frame 2
stop();
Symbol 766 MovieClip Frame 1
stop();
Instance of Symbol 362 MovieClip in Symbol 766 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.fc1.plode) == true) {
_root.info = "You destroyed the crate.";
this._parent.nextFrame();
}
}
Symbol 766 MovieClip Frame 2
stop();
Symbol 767 MovieClip Frame 1
stop();
Instance of Symbol 362 MovieClip in Symbol 767 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.fc1.plode) == true) {
_root.info = "You destroyed the crate.";
this._parent.nextFrame();
}
}
Symbol 767 MovieClip Frame 2
stop();
Symbol 768 MovieClip Frame 1
stop();
Instance of Symbol 362 MovieClip in Symbol 768 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.fc1.plode) == true) {
_root.info = "You destroyed the crate.";
this._parent.nextFrame();
}
}
Symbol 768 MovieClip Frame 2
stop();
Symbol 771 MovieClip Frame 1
cratex2 = SharedObject.getLocal("illusion");
if (cratex2.data.cratex21 == 1) {
nextFrame();
} else {
stop();
}
Instance of Symbol 770 MovieClip in Symbol 771 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.fc1.plode) == true) {
cratex2 = SharedObject.getLocal("illusion");
cratex2.data.cratex21 = 1;
_root.info = "You destroyed the crate.";
this._parent.nextFrame();
}
}
Symbol 771 MovieClip Frame 2
stop();
Symbol 772 MovieClip Frame 1
cratex1 = SharedObject.getLocal("illusion");
if (cratex1.data.cratex11 == 1) {
nextFrame();
} else {
stop();
}
Instance of Symbol 770 MovieClip in Symbol 772 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.fc1.plode) == true) {
cratex1 = SharedObject.getLocal("illusion");
cratex1.data.cratex11 = 1;
_root.info = "You destroyed the crate.";
this._parent.nextFrame();
}
}
Symbol 773 Button
on (release) {
_root.grabFC();
gotoAndStop (24);
}
Symbol 774 Button
on (release) {
_root.grabFC();
gotoAndStop (26);
}
Symbol 775 MovieClip Frame 1
stop();
Instance of Symbol 362 MovieClip in Symbol 775 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.fc1.plode) == true) {
_root.info = "You destroyed the crate.";
this._parent.nextFrame();
}
}
Symbol 775 MovieClip Frame 2
stop();
Symbol 776 MovieClip Frame 1
stop();
Instance of Symbol 362 MovieClip in Symbol 776 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.fc1.plode) == true) {
_root.info = "You destroyed the crate.";
this._parent.nextFrame();
}
}
Symbol 776 MovieClip Frame 2
stop();
Symbol 777 MovieClip Frame 1
stop();
Instance of Symbol 362 MovieClip in Symbol 777 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.fc1.plode) == true) {
_root.info = "You destroyed the crate.";
this._parent.nextFrame();
}
}
Symbol 777 MovieClip Frame 2
stop();
Symbol 778 MovieClip Frame 1
stop();
Instance of Symbol 362 MovieClip in Symbol 778 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.fc1.plode) == true) {
_root.info = "You destroyed the crate.";
this._parent.nextFrame();
}
}
Symbol 778 MovieClip Frame 2
stop();
Symbol 779 MovieClip Frame 1
stop();
Instance of Symbol 362 MovieClip in Symbol 779 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.fc1.plode) == true) {
_root.info = "You destroyed the crate.";
this._parent.nextFrame();
}
}
Symbol 779 MovieClip Frame 2
stop();
Symbol 782 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal31 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal31.data.xtal311 = 1;
this._visible = false;
}
Symbol 783 MovieClip Frame 1
xtal31 = SharedObject.getLocal("illusion");
if (xtal31.data.xtal311 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 787 Button
on (release) {
_root.info = "Oh how cute, he is sleeping.";
}
Symbol 789 MovieClip Frame 1
stop();
Instance of Symbol 362 MovieClip in Symbol 789 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.fc1.plode) == true) {
_root.info = "You destroyed the crate.";
this._parent.nextFrame();
}
}
Symbol 789 MovieClip Frame 2
stop();
Symbol 790 MovieClip Frame 1
stop();
Instance of Symbol 362 MovieClip in Symbol 790 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.fc1.plode) == true) {
_root.info = "You destroyed the crate.";
this._parent.nextFrame();
}
}
Symbol 790 MovieClip Frame 2
stop();
Symbol 791 MovieClip Frame 1
stop();
Instance of Symbol 362 MovieClip in Symbol 791 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.fc1.plode) == true) {
_root.info = "You destroyed the crate.";
this._parent.nextFrame();
}
}
Symbol 791 MovieClip Frame 2
stop();
Symbol 792 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal32 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal32.data.xtal321 = 1;
this._visible = false;
}
Symbol 793 MovieClip Frame 1
xtal32 = SharedObject.getLocal("illusion");
if (xtal32.data.xtal321 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 796 Button
on (release) {
getURL ("http://melting-mindz.com/vaults.html", "_blank");
}
Symbol 803 MovieClip Frame 420
stop();
Symbol 805 MovieClip Frame 1
stop();
hint1 = SharedObject.getLocal("illusion");
if (hint1.data.hint11 == undefined) {
hint1.data.hint11 = 1;
_root.infoTime1 = 200;
_root.info = "So this is your house. It might be, strange feelings come about. Something doesn't seem quite right.";
}
Symbol 805 MovieClip Frame 2
stop();
Instance of Symbol 57 MovieClip [toothbrush] in Symbol 805 MovieClip Frame 8
onClipEvent (load) {
toothbrush = SharedObject.getLocal("illusion");
if (toothbrush.data.toothbrush1 != undefined) {
this._visible = false;
}
}
on (release) {
toothbrush.data.toothbrush1 = 1;
_root.toothbrush_itm._visible = true;
this._visible = false;
_root.info = "You picked up a tooth brush.";
}
Instance of Symbol 409 MovieClip "rrug2" in Symbol 805 MovieClip Frame 9
on (press) {
startDrag (this);
}
on (release) {
stopDrag();
}
Instance of Symbol 36 MovieClip [waterbottle] in Symbol 805 MovieClip Frame 15
onClipEvent (load) {
waterbottle = SharedObject.getLocal("illusion");
if (waterbottle.data.waterbottle1 != undefined) {
this._visible = false;
}
}
on (release) {
waterbottle.data.waterbottle1 = 1;
_root.waterbottle_itm._visible = true;
this._visible = false;
_root.info = "You picked up a spray bottle.";
}
Instance of Symbol 712 MovieClip in Symbol 805 MovieClip Frame 20
onClipEvent (load) {
}
on (release) {
this._parent.gotoAndStop("tank");
}
Symbol 805 MovieClip Frame 28
stop();
bowlcount = SharedObject.getLocal("illusion");
xtals = SharedObject.getLocal("illusion");
if (bowlcount.data.bowlcount1 == undefined) {
bowlcount.data.bowlcount1 = 0;
}
_root.bbclicks = bowlcount.data.bowlcount1;
_root.crystals = xtals.data.xtals1;
Symbol 818 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal33 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal33.data.xtal331 = 1;
this._visible = false;
}
Symbol 819 MovieClip Frame 1
xtal33 = SharedObject.getLocal("illusion");
if (xtal33.data.xtal331 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 820 MovieClip Frame 1
ufocab2 = SharedObject.getLocal("illusion");
if (ufocab2.data.ufocab21 == 1) {
nextFrame();
} else {
stop();
}
Instance of Symbol 816 MovieClip in Symbol 820 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.fc1.plode) == true) {
ufocab2 = SharedObject.getLocal("illusion");
ufocab2.data.ufocab21 = 1;
_root.info = "You destroyed the cabinet.";
this._parent.nextFrame();
}
}
Symbol 821 Button
on (release) {
_root.grabFC();
gotoAndStop (5);
}
Symbol 822 Button
on (release) {
_root.grabFC();
gotoAndStop (3);
}
Symbol 827 Button
on (release) {
_root.info = "This door won't open.";
}
Symbol 829 Button
on (release) {
ufopower = SharedObject.getLocal("illusion");
if (ufopower.data.ufopower1 == 1) {
nextFrame();
} else {
_root.info = "There isn't any power.";
}
}
Symbol 830 MovieClip Frame 1
stop();
Instance of Symbol 65 MovieClip [pliers] in Symbol 831 MovieClip Frame 1
onClipEvent (load) {
pliers = SharedObject.getLocal("illusion");
if (pliers.data.pliers1 != undefined) {
this._visible = false;
}
}
on (release) {
pliers.data.pliers1 = 1;
_root.pliers_itm._visible = true;
this._visible = false;
_root.info = "You picked up pliers.";
}
Symbol 834 Button
on (release) {
nextFrame();
}
Symbol 836 MovieClip Frame 20
stop();
Symbol 837 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal34 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal34.data.xtal341 = 1;
this._visible = false;
}
Symbol 838 MovieClip Frame 1
xtal34 = SharedObject.getLocal("illusion");
if (xtal34.data.xtal341 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 839 MovieClip Frame 20
stop();
Symbol 841 Button
on (release) {
nextFrame();
}
Symbol 842 MovieClip Frame 1
stop();
Symbol 846 Button
on (release) {
play();
}
Symbol 848 Button
on (release) {
this._parent.nextFrame();
}
Symbol 849 MovieClip Frame 1
stop();
Symbol 849 MovieClip Frame 10
stop();
Symbol 850 Button
on (release) {
_root.grabFC();
gotoAndStop (8);
}
Symbol 851 Button
on (release) {
_root.grabFC();
gotoAndStop (6);
}
Symbol 853 Button
on (release) {
nextFrame();
}
Symbol 855 Button
on (release) {
uforedbtn2 = SharedObject.getLocal("illusion");
uforedbtn2.data.uforedbtn21 = 1;
nextFrame();
}
Symbol 857 Button
on (release) {
uforedbtn2 = SharedObject.getLocal("illusion");
uforedbtn2.data.uforedbtn21 = 0;
prevFrame();
}
Symbol 858 MovieClip Frame 1
uforedbtn2 = SharedObject.getLocal("illusion");
if (uforedbtn2.data.uforedbtn21 == 1) {
nextFrame();
} else {
stop();
}
Symbol 860 MovieClip Frame 1
stop();
Symbol 860 MovieClip Frame 2
play();
Symbol 860 MovieClip Frame 15
stop();
Symbol 863 Button
on (release) {
this._parent.prevFrame();
}
Symbol 864 MovieClip Frame 1
stop();
Symbol 864 MovieClip Frame 10
stop();
Symbol 865 Button
on (release) {
_root.grabFC();
gotoAndStop (1);
}
Symbol 866 Button
on (release) {
_root.grabFC();
gotoAndStop (4);
}
Symbol 869 Button
on (release) {
this.hatch._visible = false;
}
Symbol 870 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal35 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal35.data.xtal351 = 1;
this._visible = false;
}
Symbol 871 MovieClip Frame 1
xtal35 = SharedObject.getLocal("illusion");
if (xtal35.data.xtal351 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 873 Button
on (release) {
_root.info = "This looks like a sleeping pod or something.";
}
Symbol 874 Button
on (release) {
_root.info = "There isn't any power.";
}
Symbol 876 MovieClip Frame 1
ufopower = SharedObject.getLocal("illusion");
if (ufopower.data.ufopower1 == 1) {
nextFrame();
} else {
stop();
}
Symbol 878 Button
on (release) {
nextFrame();
}
Symbol 879 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal36 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal36.data.xtal361 = 1;
this._visible = false;
}
Symbol 880 MovieClip Frame 1
xtal36 = SharedObject.getLocal("illusion");
if (xtal36.data.xtal361 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 882 MovieClip Frame 1
stop();
Symbol 882 MovieClip Frame 2
play();
Symbol 882 MovieClip Frame 20
stop();
Symbol 883 Button
on (release) {
_root.grabFC();
gotoAndStop (5);
}
Symbol 887 Button
on (release) {
if (_root.use_spoon == true) {
spoon = SharedObject.getLocal("illusion");
spoon.data.spoon1 = 2;
_root.spoon_itm._visible = false;
Mouse.show();
_root.spoon_use.swapDepths(0);
_root.spoon_use.removeMovieClip();
_root.use_item = false;
_root.use_spoon = 0;
_root.delay = 0;
nextFrame();
} else {
_root.info = "Something is missing.";
}
}
Symbol 890 MovieClip Frame 1
spoon = SharedObject.getLocal("illusion");
if (spoon.data.spoon1 == 2) {
nextFrame();
} else {
stop();
}
Symbol 892 Button
on (release) {
spoon = SharedObject.getLocal("illusion");
shrinker = SharedObject.getLocal("illusion");
ufopower = SharedObject.getLocal("illusion");
if (ufopower.data.ufopower1 == 1) {
if (spoon.data.spoon1 == 2) {
_root.ufo_inside.raybeam.nextFrame();
shrinker.data.shrinker1 = 1;
this._parent.nextFrame();
_root.info = "The machine is now turned on.";
} else {
_root.info = "Something is missing in the slot.";
}
} else {
_root.info = "There isnt any power!";
}
}
Symbol 894 MovieClip Frame 1
stop();
Symbol 894 MovieClip Frame 2
play();
Symbol 894 MovieClip Frame 25
stop();
Symbol 894 MovieClip Frame 26
play();
Symbol 894 MovieClip Frame 49
gotoAndStop (1);
Symbol 900 MovieClip Frame 1
crystalSet = SharedObject.getLocal("illusion");
if (_root.crystalball_itm._visible == true) {
stop();
} else if (crystalSet.data.crystalSet1 == 1) {
nextFrame();
} else {
stop();
}
Instance of Symbol 897 MovieClip in Symbol 900 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.crystalball_use) == true) {
Mouse.show();
_root.crystalball_use.swapDepths(0);
_root.crystalball_use.removeMovieClip();
_root.use_item = false;
_root.use_crystalball = 0;
_root.delay = 0;
_root.crystalball_itm._visible = false;
crystalSet = SharedObject.getLocal("illusion");
crystalSet.data.crystalSet1 = 1;
_root.ufo_inside.shrink_crystal.nextFrame();
}
}
Symbol 900 MovieClip Frame 2
crystalSet = SharedObject.getLocal("illusion");
crystalSet.data.crystalSet1 = 1;
stop();
onEnterFrame = function () {
shrinker = SharedObject.getLocal("illusion");
if (shrinker.data.shrinker1 == 1) {
_root.crystalball_itm.nextFrame();
this.nextFrame();
}
};
Instance of Symbol 54 MovieClip [crystalball] in Symbol 900 MovieClip Frame 2
onClipEvent (load) {
crystalball = SharedObject.getLocal("illusion");
if (_root.crystalball_itm._visible == true) {
this._visible = false;
}
}
on (release) {
crystalball.data.crystalball1 = 1;
_root.crystalball_itm._visible = true;
_root.crystalball_itm._alpha = 100;
this._visible = false;
_root.info = "You picked up a crystal ball.";
_root.use_item = false;
_root.use_crystalball = 0;
crystalSet = SharedObject.getLocal("illusion");
crystalSet.data.crystalSet1 = 0;
_root.ufo_inside.shrink_crystal.prevFrame();
}
Instance of Symbol 899 MovieClip in Symbol 900 MovieClip Frame 3
onClipEvent (load) {
crystalball = SharedObject.getLocal("illusion");
pearl = SharedObject.getLocal("illusion");
if ((crystalball.data.crystalball1 == 2) || (pearl.data.pearl1 == 1)) {
this._visible = false;
}
}
on (release) {
crystalball.data.crystalball1 = 1;
pearl = SharedObject.getLocal("illusion");
pearl.data.pearl1 = 1;
_root.crystalball_itm._visible = true;
_root.crystalball_itm._alpha = 100;
this._visible = false;
_root.info = "You picked up a pearl.";
_root.use_item = false;
_root.use_crystalball = 0;
crystalSet = SharedObject.getLocal("illusion");
crystalSet.data.crystalSet1 = 0;
_root.ufo_inside.shrink_crystal.gotoAndStop(1);
_root.crystalball_itm.gotoAndStop(2);
}
Symbol 905 MovieClip Frame 1
shrinker = SharedObject.getLocal("illusion");
if (shrinker.data.shrinker1 == 1) {
nextFrame();
} else {
stop();
}
Symbol 911 MovieClip Frame 1
if (_root.bolt1 == 1) {
nextFrame();
} else {
stop();
}
Symbol 912 MovieClip Frame 1
if (_root.bolt2 == 1) {
nextFrame();
} else {
stop();
}
Symbol 913 MovieClip Frame 1
if (_root.bolt3 == 1) {
nextFrame();
} else {
stop();
}
Symbol 914 MovieClip Frame 1
if (_root.bolt4 == 1) {
nextFrame();
} else {
stop();
}
Symbol 917 Button
on (release) {
uforedbtn1 = SharedObject.getLocal("illusion");
uforedbtn2 = SharedObject.getLocal("illusion");
if ((uforedbtn1.data.uforedbtn11 == 1) && (uforedbtn2.data.uforedbtn21 == 1)) {
_root.bolt1 = 1;
this._parent.b1.nextFrame();
} else {
_root.info = "The lights are red.";
}
}
Symbol 921 MovieClip Frame 1
uforedbtn1 = SharedObject.getLocal("illusion");
if (uforedbtn1.data.uforedbtn11 == 1) {
nextFrame();
} else {
stop();
}
Symbol 922 MovieClip Frame 1
uforedbtn2 = SharedObject.getLocal("illusion");
if (uforedbtn2.data.uforedbtn21 == 1) {
nextFrame();
} else {
stop();
}
Symbol 926 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal37 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal37.data.xtal371 = 1;
this._visible = false;
}
Symbol 927 MovieClip Frame 1
xtal37 = SharedObject.getLocal("illusion");
if (xtal37.data.xtal371 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 928 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((((_root.bolt1 == 1) && (_root.bolt2 == 1)) && (_root.bolt3 == 1)) && (_root.bolt4 == 1)) {
ufopower = SharedObject.getLocal("illusion");
ufopower.data.ufopower1 = 1;
nextFrame();
}
};
Instance of Symbol 918 MovieClip in Symbol 928 MovieClip Frame 1
on (release) {
uforedbtn1 = SharedObject.getLocal("illusion");
uforedbtn2 = SharedObject.getLocal("illusion");
if ((uforedbtn1.data.uforedbtn11 == 1) && (uforedbtn2.data.uforedbtn21 == 1)) {
_root.bolt2 = 1;
this._parent._parent.b2.nextFrame();
} else {
_root.info = "The lights are red.";
}
}
Instance of Symbol 919 MovieClip in Symbol 928 MovieClip Frame 1
on (release) {
uforedbtn1 = SharedObject.getLocal("illusion");
uforedbtn2 = SharedObject.getLocal("illusion");
if ((uforedbtn1.data.uforedbtn11 == 1) && (uforedbtn2.data.uforedbtn21 == 1)) {
_root.bolt3 = 1;
this._parent._parent.b3.nextFrame();
} else {
_root.info = "The lights are red.";
}
}
Instance of Symbol 920 MovieClip in Symbol 928 MovieClip Frame 1
on (release) {
uforedbtn1 = SharedObject.getLocal("illusion");
uforedbtn2 = SharedObject.getLocal("illusion");
if ((uforedbtn1.data.uforedbtn11 == 1) && (uforedbtn2.data.uforedbtn21 == 1)) {
_root.bolt4 = 1;
this._parent._parent.b4.nextFrame();
} else {
_root.info = "The lights are red.";
}
}
Symbol 931 Button
on (release) {
_root.grabFC();
gotoAndStop (2);
}
Symbol 932 Button
on (release) {
_root.grabFC();
gotoAndStop (7);
}
Symbol 935 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal38 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal38.data.xtal381 = 1;
this._visible = false;
}
Symbol 936 MovieClip Frame 1
xtal38 = SharedObject.getLocal("illusion");
if (xtal38.data.xtal381 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 937 MovieClip Frame 1
stop();
Symbol 938 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal39 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal39.data.xtal391 = 1;
this._visible = false;
}
Symbol 939 MovieClip Frame 1
xtal39 = SharedObject.getLocal("illusion");
if (xtal39.data.xtal391 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 940 MovieClip Frame 1
stop();
Symbol 941 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal40 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal40.data.xtal401 = 1;
this._visible = false;
}
Symbol 942 MovieClip Frame 1
xtal40 = SharedObject.getLocal("illusion");
if (xtal40.data.xtal401 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 943 MovieClip Frame 1
stop();
Symbol 944 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal41 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal41.data.xtal411 = 1;
this._visible = false;
}
Symbol 945 MovieClip Frame 1
xtal41 = SharedObject.getLocal("illusion");
if (xtal41.data.xtal411 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 946 MovieClip Frame 1
stop();
Symbol 948 MovieClip Frame 1
ufopower = SharedObject.getLocal("illusion");
if (ufopower.data.ufopower1 == 1) {
nextFrame();
} else {
stop();
}
Symbol 950 Button
on (release) {
nextFrame();
}
Symbol 951 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal45 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal45.data.xtal451 = 1;
this._visible = false;
}
Symbol 952 MovieClip Frame 1
xtal45 = SharedObject.getLocal("illusion");
if (xtal45.data.xtal451 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 953 MovieClip Frame 1
if (_root.wing4 == 1) {
gotoAndStop (15);
} else {
stop();
}
Symbol 953 MovieClip Frame 2
play();
_root.wing4 = 1;
Symbol 953 MovieClip Frame 15
stop();
Symbol 955 Button
on (release) {
nextFrame();
}
Symbol 956 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal43 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal43.data.xtal431 = 1;
this._visible = false;
}
Symbol 957 MovieClip Frame 1
xtal43 = SharedObject.getLocal("illusion");
if (xtal43.data.xtal431 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 958 MovieClip Frame 1
if (_root.wing2 == 1) {
gotoAndStop (15);
} else {
stop();
}
Symbol 958 MovieClip Frame 2
play();
_root.wing2 = 1;
Symbol 958 MovieClip Frame 15
stop();
Symbol 960 Button
on (release) {
nextFrame();
}
Symbol 961 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal42 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal42.data.xtal421 = 1;
this._visible = false;
}
Symbol 962 MovieClip Frame 1
xtal42 = SharedObject.getLocal("illusion");
if (xtal42.data.xtal421 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 963 MovieClip Frame 1
if (_root.wing1 == 1) {
gotoAndStop (15);
} else {
stop();
}
Symbol 963 MovieClip Frame 2
play();
_root.wing1 = 1;
Symbol 963 MovieClip Frame 15
stop();
Symbol 965 Button
on (release) {
nextFrame();
}
Symbol 966 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal44 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal44.data.xtal441 = 1;
this._visible = false;
}
Symbol 967 MovieClip Frame 1
xtal44 = SharedObject.getLocal("illusion");
if (xtal44.data.xtal441 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 968 MovieClip Frame 1
if (_root.wing3 == 1) {
gotoAndStop (15);
} else {
stop();
}
Symbol 968 MovieClip Frame 2
play();
_root.wing3 = 1;
Symbol 968 MovieClip Frame 15
stop();
Symbol 972 Button
on (release) {
if ((((_root.wing1 == 1) && (_root.wing2 == 1)) && (_root.wing3 == 1)) && (_root.wing4 == 1)) {
this.play();
} else {
_root.info = "It won't open.";
}
}
Symbol 974 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal46 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal46.data.xtal461 = 1;
this._visible = false;
}
Symbol 975 MovieClip Frame 1
xtal46 = SharedObject.getLocal("illusion");
if (xtal46.data.xtal461 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 976 MovieClip Frame 1
stop();
Instance of Symbol 40 MovieClip [bGem] in Symbol 976 MovieClip Frame 1
onClipEvent (load) {
bGem = SharedObject.getLocal("illusion");
if (bGem.data.bGem1 != undefined) {
this._visible = false;
}
}
on (release) {
bGem.data.bGem1 = 1;
_root.bGem_itm._visible = true;
this._visible = false;
_root.info = "You picked up a glowing blue gem.";
}
Symbol 976 MovieClip Frame 2
play();
Symbol 976 MovieClip Frame 20
stop();
Symbol 977 MovieClip Frame 1
ufopower = SharedObject.getLocal("illusion");
if (ufopower.data.ufopower1 == 1) {
nextFrame();
} else {
stop();
}
Symbol 979 Button
on (release) {
play();
}
Symbol 980 Button
on (release) {
uforedbtn1 = SharedObject.getLocal("illusion");
uforedbtn1.data.uforedbtn11 = 1;
nextFrame();
}
Symbol 981 Button
on (release) {
uforedbtn1 = SharedObject.getLocal("illusion");
uforedbtn1.data.uforedbtn11 = 0;
prevFrame();
}
Symbol 982 MovieClip Frame 1
uforedbtn1 = SharedObject.getLocal("illusion");
if (uforedbtn1.data.uforedbtn11 == 1) {
nextFrame();
} else {
stop();
}
Symbol 984 MovieClip Frame 1
stop();
Symbol 984 MovieClip Frame 2
play();
Symbol 984 MovieClip Frame 15
stop();
Symbol 991 Button
on (press) {
if (_root.use_pliers == true) {
pflower = SharedObject.getLocal("illusion");
pflower.data.pflower1 = 1;
_root.pliers_itm.nextFrame();
_root.pliers_use.nextFrame();
_root.info = "You used the pliers to pick a sleepy flower.";
} else {
_root.info = "Sleepy flowers, don't touch them with your hands.";
}
}
Symbol 993 Button
on (press) {
if (_root.use_pliers == true) {
pflower = SharedObject.getLocal("illusion");
pflower.data.pflower1 = 1;
_root.pliers_itm.nextFrame();
_root.pliers_use.nextFrame();
_root.info = "You used the pliers to pick a sleepy flower.";
} else {
_root.info = "Sleepy flowers, don't touch them with your hands.";
}
}
Symbol 994 Button
on (release) {
xtals = SharedObject.getLocal("illusion");
xtal47 = SharedObject.getLocal("illusion");
if (xtals.data.xtals1 == undefined) {
xtals.data.xtals1 = 1;
} else {
xtals.data.xtals1++;
}
xtal47.data.xtal471 = 1;
this._visible = false;
}
Symbol 995 MovieClip Frame 1
xtal47 = SharedObject.getLocal("illusion");
if (xtal47.data.xtal471 != undefined) {
this._visible = false;
} else {
stop();
}
Symbol 996 MovieClip Frame 1
ufopower = SharedObject.getLocal("illusion");
if (ufopower.data.ufopower1 == 1) {
nextFrame();
} else {
stop();
}
Symbol 997 MovieClip Frame 1
stop();
Instance of Symbol 810 MovieClip in Symbol 997 MovieClip Frame 1
on (release) {
_root.grabFC();
_root.gotoAndStop("outside");
}