Combined Code
frame 1 {
rock = 'unfound';
spellbook = 'unfound';
knife = 'unfound';
rope = 'unfound';
lyradoll = 'unfound';
chisel = 'unfound';
gem = 'unfound';
gem2 = 'unfound';
gem3 = 'unfound';
key = 'unfound';
pickaxe = 'unfound';
limestone = 'unfound';
wood = 'unfound';
saw = 'unfound';
shovel = 'unfound';
notes = 'unfound';
dice = 'unfound';
anyitem = false;
slotfree = new Array();
muteoff = true;
soundint = true;
var globalVolume = new Sound();
globalVolume.setVolume(100);
anyevent = false;
rockevent = 'incomplete';
crackevent = 'incomplete';
spellbookevent = 'incomplete';
magicevent = 'incomplete';
wallgone = false;
knifeevent = 'incomplete';
ropeevent = 'incomplete';
lyradollevent = 'incomplete';
chiselevent = 'incomplete';
gemevent = 'incomplete';
gem2event = 'incomplete';
gem3event = 'incomplete';
keyevent = 'imcomplete';
pickaxeevent = 'incomplete';
limestoneevent = 'incomplete';
woodevent = 'incomplete';
sawevent = 'incomplete';
shovelevent = 'incomplete';
fallevent = 'incomplete';
gamecomplete = false;
switch1 = 'off';
switch2 = 'off';
switch3 = 'off';
switch4 = 'off';
switch5 = 'off';
switch6 = 'off';
switch7 = 'off';
switch8 = 'off';
switch9 = 'off';
timer = 0;
sec = 0;
min = 0;
count = function () {
if (gamecomplete == true) {
clearInterval(countInterval);
}
++timer;
++sec;
if (sec >= 60) {
++min;
sec -= 60;
}
};
countInterval = setInterval(count, 1000);
Stage.showMenu = false;
Mouse.hide();
stop();
}
movieClip 5 {
}
// unknown tag 88 length 63
movieClip 10 {
}
movieClip 13 {
frame 15 {
gotoAndPlay(1);
}
instance of movieClip 10 {
onClipEvent (enterFrame) {
tellTarget ('_root.startbtn') {
spacePressed = true;
}
}
}
frame 45 {
stop();
stopAllSounds();
_root.gotoAndStop('gameStart');
}
}
instance startbtn of movieClip 13 {
onClipEvent (load) {
spacePressed = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && spacePressed == false) {
ifFrameLoaded (20) {
this.gotoAndPlay('start');
}
}
}
}
// unknown tag 88 length 63
movieClip 23 {
}
instance of movieClip 23 {
onClipEvent (enterFrame) {
ifFrameLoaded (20) {
loadMovie('', this);
}
}
}
// unknown tag 88 length 63
movieClip 26 {
}
movieClip 29 {
}
instance of movieClip 29 {
onClipEvent (load) {
startDrag(this, true);
}
onClipEvent (enterFrame) {
Mouse.hide();
}
}
movieClip 31 {
}
instance of movieClip 31 {
onClipEvent (load) {
i = 1;
while (i <= 19) {
_root.slotfree[i] = true;
++i;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(9)) {
stopAllSounds();
_root.gotoAndStop('badend');
}
}
}
movieClip 33 {
}
movieClip 37 {
}
movieClip 44 {
frame 1 {
stop();
}
frame 10 {
stop();
}
frame 20 {
stop();
}
frame 30 {
stop();
}
frame 31 {
_root.gotoAndStop('room1');
}
}
instance of movieClip 44 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.play();
}
}
}
movieClip 47 {
}
movieClip 53 {
frame 1 {
stop();
}
}
instance of movieClip 53 {
onClipEvent (enterFrame) {
if (_root.wallgone == true) {
this.gotoAndStop(2);
}
}
}
movieClip 55 {
}
instance of movieClip 55 {
onClipEvent (enterFrame) {
}
onClipEvent (release) {
if (_root.anyevent == false) {
_root.gotoAndStop('room2');
}
}
}
movieClip 58 {
}
instance of movieClip 58 {
onClipEvent (enterFrame) {
if (_root.rock == 'found' || _root.rock == 'used') {
loadMovie('', this);
}
}
onClipEvent (press) {
if (!_root.slotfree[19] == false) {
_root.rock = 'found';
}
}
}
movieClip 61 {
}
movieClip 63 {
frame 20 {
}
frame 21 {
_root.rockevent = 'done';
stop();
}
}
movieClip 64 {
frame 1 {
stop();
}
instance of movieClip 63 {
onClipEvent (enterFrame) {
if (_root.rockevent == 'done') {
this.gotoAndStop('eventcomplete');
}
}
}
}
instance crackevent of movieClip 64 {
onClipEvent (load) {
ini = false;
if (_root.wallgone == true) {
loadMovie('', this);
}
}
onClipEvent (enterFrame) {
if (_root.wallgone == true) {
loadMovie('', this);
}
if (_root.rockevent == 'now') {
this.gotoAndStop('event1');
_root.anyevent = true;
_root.rock = 'used';
_root.anyitem = false;
tellTarget ('_root.itemrock') {
potition = 0;
}
}
if (_root.rockevent == 'done') {
_root.anyevent = false;
this.gotoAndStop('event1');
}
}
}
movieClip 67 {
frame 1 {
stop();
}
}
instance of movieClip 67 {
onClipEvent (enterFrame) {
}
onClipEvent (release) {
tellTarget ('_root.itemrock') {
if (itemselected == true && _root.magicevent == 'incomplete') {
_root.rockevent = 'now';
}
}
if (_root.anyitem == false && _root.spellbookevent == 'incomplete') {
this.gotoAndPlay(2);
}
if (_root.anyitem == false && _root.spellbookevent == 'done') {
_root.magicevent = 'now';
}
if (_root.wallgone == true && _root.anyevent == false) {
_root.gotoAndStop('scene1');
}
}
}
movieClip 69 {
}
// unknown tag 88 length 63
movieClip 73 {
}
movieClip 75 {
}
movieClip 76 {
frame 1 {
stop();
_root.anyitem = false;
}
frame 2 {
_root.anyitem = true;
}
}
instance itemrock of movieClip 76 {
onClipEvent (load) {
itemselected = false;
position = 0;
ini = 0;
if (_root.rock == 'found') {
this._visible = true;
} else {
position = 0;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.rock == 'found' && ini == 0) {
i = 1;
for (;;) {
if (!(i <= 19 && ini != 1)) break;
if (_root.slotfree[i] == true) {
_root.slotfree[i] = false;
position = i;
this._visible = true;
ini = 1;
}
++i;
}
this._visible = true;
ini = 1;
}
if (position == 1) {
this._x = 29;
this._y = 33;
} else {
if (position == 2) {
this._x = 59;
this._y = 33;
} else {
if (position == 3) {
this._x = 89;
this._y = 33;
} else {
if (position == 4) {
this._x = 119;
this._y = 33;
} else {
if (position == 5) {
this._x = 149;
this._y = 33;
} else {
if (position == 6) {
this._x = 179;
this._y = 33;
} else {
if (position == 7) {
this._x = 209;
this._y = 33;
} else {
if (position == 8) {
this._x = 239;
this._y = 33;
} else {
if (position == 10) {
this._x = 269;
this._y = 33;
} else {
if (position == 11) {
this._x = 299;
this._y = 33;
} else {
if (position == 12) {
this._x = 329;
this._y = 33;
} else {
if (position == 13) {
this._x = 359;
this._y = 33;
} else {
if (position == 14) {
this._x = 389;
this._y = 33;
} else {
if (position == 15) {
this._x = 419;
this._y = 33;
} else {
if (position == 16) {
this._x = 449;
this._y = 33;
} else {
if (position == 17) {
this._x = 479;
this._y = 33;
} else {
if (position == 18) {
this._x = 509;
this._y = 33;
} else {
if (position == 19) {
this._x = 539;
this._y = 33;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.rock == 'used') {
_root.slotfree[position] = true;
loadMovie('', this);
}
}
onClipEvent (release) {
if (_root.rock == 'found' && itemselected == false && _root.anyitem == false) {
this.gotoAndStop(2);
itemselected = true;
}
if (_root.rock == 'found' && itemselected == true && _root.anyitem == true) {
this.gotoAndStop(1);
itemselected = false;
}
}
}
movieClip 79 {
frame 1 {
stop();
_root.anyitem = false;
}
frame 2 {
stop();
}
}
instance itemspellbook of movieClip 79 {
onClipEvent (load) {
itemselected = false;
position = 0;
ini = 0;
if (_root.spellbook == 'found') {
this._visible = true;
} else {
position = 0;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.spellbook == 'found' && ini == 0) {
i = 1;
for (;;) {
if (!(i <= 19 && ini != 1)) break;
if (_root.slotfree[i] == true) {
_root.slotfree[i] = false;
position = i;
this._visible = true;
ini = 1;
}
++i;
}
this._visible = true;
ini = 1;
} else {
if (_root.spellbook == 'unfound') {
position = 0;
this._visible = false;
}
}
if (position == 1) {
this._x = 29;
this._y = 33;
} else {
if (position == 2) {
this._x = 59;
this._y = 33;
} else {
if (position == 3) {
this._x = 89;
this._y = 33;
} else {
if (position == 4) {
this._x = 119;
this._y = 33;
} else {
if (position == 5) {
this._x = 149;
this._y = 33;
} else {
if (position == 6) {
this._x = 179;
this._y = 33;
} else {
if (position == 7) {
this._x = 209;
this._y = 33;
} else {
if (position == 8) {
this._x = 239;
this._y = 33;
} else {
if (position == 10) {
this._x = 269;
this._y = 33;
} else {
if (position == 11) {
this._x = 299;
this._y = 33;
} else {
if (position == 12) {
this._x = 329;
this._y = 33;
} else {
if (position == 13) {
this._x = 359;
this._y = 33;
} else {
if (position == 14) {
this._x = 389;
this._y = 33;
} else {
if (position == 15) {
this._x = 419;
this._y = 33;
} else {
if (position == 16) {
this._x = 449;
this._y = 33;
} else {
if (position == 17) {
this._x = 479;
this._y = 33;
} else {
if (position == 18) {
this._x = 509;
this._y = 33;
} else {
if (position == 19) {
this._x = 539;
this._y = 33;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.spellbook == 'used') {
_root.slotfree[position] = true;
loadMovie('', this);
}
}
onClipEvent (release) {
if (_root.spellbook == 'found' && itemselected == false && _root.anyitem == false) {
this.gotoAndStop(2);
_root.spellbookevent = 'now';
itemselected = false;
_root.anyitem = false;
}
if (!_root.spellbookevent == 'now' && _root.spellbook == 'found' && itemselected == true && _root.anyitem == true) {
this.gotoAndStop(1);
itemselected = false;
}
}
}
// unknown tag 88 length 63
movieClip 87 {
frame 20 {
_root.anyevent = false;
}
frame 21 {
stop();
_root.spellbookevent = 'done';
}
}
movieClip 88 {
frame 1 {
stop();
}
instance of movieClip 87 {
onClipEvent (enterFrame) {
if (_root.spellbookevent == 'done') {
this.gotoAndStop('eventcomplete');
}
}
}
}
instance of movieClip 88 {
onClipEvent (enterFrame) {
if (_root.spellbookevent == 'now' && _root.magicevent == 'incomplete') {
this.gotoAndStop('event1');
_root.anyevent = true;
_root.spellbook = 'used';
_root.anyitem = false;
tellTarget ('_root.itemspellbook') {
potition = 0;
}
}
if (_root.spellbookevent == 'done') {
_root.anyevent = false;
loadMovie('', this);
}
}
}
movieClip 96 {
frame 1 {
stopAllSounds();
}
frame 65 {
_root.wallgone = true;
}
frame 135 {
_root.magicevent = 'done';
_root.anyevent = false;
}
}
movieClip 97 {
frame 1 {
stop();
}
}
instance magiceventMC of movieClip 97 {
onClipEvent (load) {
ini = false;
if (_root.magicevent == 'done') {
loadMovie('', this);
}
}
onClipEvent (enterFrame) {
if (_root.magicevent == 'now') {
this.gotoAndStop('event1');
_root.anyevent = true;
}
if (_root.magicevent == 'done') {
_root.anyevent = false;
loadMovie('', this);
}
}
}
movieClip 100 {
frame 1 {
_root.anyitem = false;
stop();
}
frame 2 {
_root.anyitem = true;
}
}
instance itemknife of movieClip 100 {
onClipEvent (load) {
itemselected = false;
position = 0;
ini = 0;
if (_root.knife == 'found') {
this._visible = true;
} else {
position = 0;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.knife == 'found' && ini == 0) {
i = 1;
for (;;) {
if (!(i <= 19 && ini != 1)) break;
if (_root.slotfree[i] == true) {
_root.slotfree[i] = false;
position = i;
this._visible = true;
ini = 1;
}
++i;
}
this._visible = true;
ini = 1;
} else {
if (_root.knife == 'unfound') {
position = 0;
this._visible = false;
}
}
if (position == 1) {
this._x = 29;
this._y = 33;
} else {
if (position == 2) {
this._x = 59;
this._y = 33;
} else {
if (position == 3) {
this._x = 89;
this._y = 33;
} else {
if (position == 4) {
this._x = 119;
this._y = 33;
} else {
if (position == 5) {
this._x = 149;
this._y = 33;
} else {
if (position == 6) {
this._x = 179;
this._y = 33;
} else {
if (position == 7) {
this._x = 209;
this._y = 33;
} else {
if (position == 8) {
this._x = 239;
this._y = 33;
} else {
if (position == 10) {
this._x = 269;
this._y = 33;
} else {
if (position == 11) {
this._x = 299;
this._y = 33;
} else {
if (position == 12) {
this._x = 329;
this._y = 33;
} else {
if (position == 13) {
this._x = 359;
this._y = 33;
} else {
if (position == 14) {
this._x = 389;
this._y = 33;
} else {
if (position == 15) {
this._x = 419;
this._y = 33;
} else {
if (position == 16) {
this._x = 449;
this._y = 33;
} else {
if (position == 17) {
this._x = 479;
this._y = 33;
} else {
if (position == 18) {
this._x = 509;
this._y = 33;
} else {
if (position == 19) {
this._x = 539;
this._y = 33;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.knife == 'used') {
_root.slotfree[position] = true;
loadMovie('', this);
}
}
onClipEvent (release) {
if (_root.knife == 'found' && itemselected == false && _root.anyitem == false) {
this.gotoAndStop(2);
itemselected = true;
}
if (_root.knife == 'found' && itemselected == true && _root.anyitem == true) {
this.gotoAndStop(1);
itemselected = false;
}
}
}
movieClip 103 {
frame 1 {
_root.anyitem = false;
stop();
}
frame 2 {
_root.anyitem = true;
}
}
instance itemrope of movieClip 103 {
onClipEvent (load) {
itemselected = false;
position = 0;
ini = 0;
if (_root.rope == 'found') {
this._visible = true;
} else {
position = 0;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.rope == 'found' && ini == 0) {
i = 1;
for (;;) {
if (!(i <= 19 && ini != 1)) break;
if (_root.slotfree[i] == true) {
_root.slotfree[i] = false;
position = i;
this._visible = true;
ini = 1;
}
++i;
}
this._visible = true;
ini = 1;
} else {
if (_root.rope == 'unfound') {
position = 0;
this._visible = false;
}
}
if (position == 1) {
this._x = 29;
this._y = 33;
} else {
if (position == 2) {
this._x = 59;
this._y = 33;
} else {
if (position == 3) {
this._x = 89;
this._y = 33;
} else {
if (position == 4) {
this._x = 119;
this._y = 33;
} else {
if (position == 5) {
this._x = 149;
this._y = 33;
} else {
if (position == 6) {
this._x = 179;
this._y = 33;
} else {
if (position == 7) {
this._x = 209;
this._y = 33;
} else {
if (position == 8) {
this._x = 239;
this._y = 33;
} else {
if (position == 10) {
this._x = 269;
this._y = 33;
} else {
if (position == 11) {
this._x = 299;
this._y = 33;
} else {
if (position == 12) {
this._x = 329;
this._y = 33;
} else {
if (position == 13) {
this._x = 359;
this._y = 33;
} else {
if (position == 14) {
this._x = 389;
this._y = 33;
} else {
if (position == 15) {
this._x = 419;
this._y = 33;
} else {
if (position == 16) {
this._x = 449;
this._y = 33;
} else {
if (position == 17) {
this._x = 479;
this._y = 33;
} else {
if (position == 18) {
this._x = 509;
this._y = 33;
} else {
if (position == 19) {
this._x = 539;
this._y = 33;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.rope == 'used') {
_root.slotfree[position] = true;
loadMovie('', this);
}
}
onClipEvent (release) {
if (_root.rope == 'found' && itemselected == false && _root.anyitem == false) {
this.gotoAndStop(2);
itemselected = true;
}
if (_root.rope == 'found' && itemselected == true && _root.anyitem == true) {
this.gotoAndStop(1);
itemselected = false;
}
}
}
movieClip 106 {
frame 1 {
stop();
_root.anyitem = false;
}
frame 2 {
_root.anyitem = true;
}
}
instance itemlyradoll of movieClip 106 {
onClipEvent (load) {
itemselected = false;
position = 0;
ini = 0;
if (_root.lyradoll == 'found') {
this._visible = true;
} else {
position = 0;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.lyradoll == 'found' && ini == 0) {
i = 1;
for (;;) {
if (!(i <= 19 && ini != 1)) break;
if (_root.slotfree[i] == true) {
_root.slotfree[i] = false;
position = i;
this._visible = true;
ini = 1;
}
++i;
}
this._visible = true;
ini = 1;
} else {
if (_root.lyradoll == 'unfound') {
position = 0;
this._visible = false;
}
}
if (position == 1) {
this._x = 29;
this._y = 33;
} else {
if (position == 2) {
this._x = 59;
this._y = 33;
} else {
if (position == 3) {
this._x = 89;
this._y = 33;
} else {
if (position == 4) {
this._x = 119;
this._y = 33;
} else {
if (position == 5) {
this._x = 149;
this._y = 33;
} else {
if (position == 6) {
this._x = 179;
this._y = 33;
} else {
if (position == 7) {
this._x = 209;
this._y = 33;
} else {
if (position == 8) {
this._x = 239;
this._y = 33;
} else {
if (position == 10) {
this._x = 269;
this._y = 33;
} else {
if (position == 11) {
this._x = 299;
this._y = 33;
} else {
if (position == 12) {
this._x = 329;
this._y = 33;
} else {
if (position == 13) {
this._x = 359;
this._y = 33;
} else {
if (position == 14) {
this._x = 389;
this._y = 33;
} else {
if (position == 15) {
this._x = 419;
this._y = 33;
} else {
if (position == 16) {
this._x = 449;
this._y = 33;
} else {
if (position == 17) {
this._x = 479;
this._y = 33;
} else {
if (position == 18) {
this._x = 509;
this._y = 33;
} else {
if (position == 19) {
this._x = 539;
this._y = 33;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.lyradoll == 'used') {
_root.slotfree[position] = true;
loadMovie('', this);
}
}
onClipEvent (release) {
if (_root.lyradoll == 'found' && itemselected == false && _root.anyitem == false) {
this.gotoAndStop(2);
itemselected = true;
}
if (_root.lyradoll == 'found' && itemselected == true && _root.anyitem == true) {
this.gotoAndStop(1);
itemselected = false;
}
}
}
movieClip 109 {
frame 1 {
stop();
_root.anyitem = false;
}
frame 2 {
_root.anyitem = true;
}
}
instance itemchisel of movieClip 109 {
onClipEvent (load) {
itemselected = false;
position = 0;
ini = 0;
if (_root.chisel == 'found') {
this._visible = true;
} else {
position = 0;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.chisel == 'found' && ini == 0) {
i = 1;
for (;;) {
if (!(i <= 19 && ini != 1)) break;
if (_root.slotfree[i] == true) {
_root.slotfree[i] = false;
position = i;
this._visible = true;
ini = 1;
}
++i;
}
this._visible = true;
ini = 1;
} else {
if (_root.chisel == 'unfound') {
position = 0;
this._visible = false;
}
}
if (position == 1) {
this._x = 29;
this._y = 33;
} else {
if (position == 2) {
this._x = 59;
this._y = 33;
} else {
if (position == 3) {
this._x = 89;
this._y = 33;
} else {
if (position == 4) {
this._x = 119;
this._y = 33;
} else {
if (position == 5) {
this._x = 149;
this._y = 33;
} else {
if (position == 6) {
this._x = 179;
this._y = 33;
} else {
if (position == 7) {
this._x = 209;
this._y = 33;
} else {
if (position == 8) {
this._x = 239;
this._y = 33;
} else {
if (position == 10) {
this._x = 269;
this._y = 33;
} else {
if (position == 11) {
this._x = 299;
this._y = 33;
} else {
if (position == 12) {
this._x = 329;
this._y = 33;
} else {
if (position == 13) {
this._x = 359;
this._y = 33;
} else {
if (position == 14) {
this._x = 389;
this._y = 33;
} else {
if (position == 15) {
this._x = 419;
this._y = 33;
} else {
if (position == 16) {
this._x = 449;
this._y = 33;
} else {
if (position == 17) {
this._x = 479;
this._y = 33;
} else {
if (position == 18) {
this._x = 509;
this._y = 33;
} else {
if (position == 19) {
this._x = 539;
this._y = 33;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.chisel == 'used') {
_root.slotfree[position] = true;
loadMovie('', this);
}
}
onClipEvent (release) {
if (_root.chisel == 'found' && itemselected == false && _root.anyitem == false) {
this.gotoAndStop(2);
itemselected = true;
}
if (_root.chisel == 'found' && itemselected == true && _root.anyitem == true) {
this.gotoAndStop(1);
itemselected = false;
}
}
}
movieClip 112 {
frame 1 {
stop();
_root.anyitem = false;
}
frame 2 {
_root.anyitem = true;
}
}
instance itemgem of movieClip 112 {
onClipEvent (load) {
itemselected = false;
position = 0;
ini = 0;
if (_root.gem == 'found') {
this._visible = true;
} else {
position = 0;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.gem == 'found' && ini == 0) {
i = 1;
for (;;) {
if (!(i <= 19 && ini != 1)) break;
if (_root.slotfree[i] == true) {
_root.slotfree[i] = false;
position = i;
this._visible = true;
ini = 1;
}
++i;
}
this._visible = true;
ini = 1;
} else {
if (_root.gem == 'unfound') {
position = 0;
this._visible = false;
}
}
if (position == 1) {
this._x = 29;
this._y = 33;
} else {
if (position == 2) {
this._x = 59;
this._y = 33;
} else {
if (position == 3) {
this._x = 89;
this._y = 33;
} else {
if (position == 4) {
this._x = 119;
this._y = 33;
} else {
if (position == 5) {
this._x = 149;
this._y = 33;
} else {
if (position == 6) {
this._x = 179;
this._y = 33;
} else {
if (position == 7) {
this._x = 209;
this._y = 33;
} else {
if (position == 8) {
this._x = 239;
this._y = 33;
} else {
if (position == 10) {
this._x = 269;
this._y = 33;
} else {
if (position == 11) {
this._x = 299;
this._y = 33;
} else {
if (position == 12) {
this._x = 329;
this._y = 33;
} else {
if (position == 13) {
this._x = 359;
this._y = 33;
} else {
if (position == 14) {
this._x = 389;
this._y = 33;
} else {
if (position == 15) {
this._x = 419;
this._y = 33;
} else {
if (position == 16) {
this._x = 449;
this._y = 33;
} else {
if (position == 17) {
this._x = 479;
this._y = 33;
} else {
if (position == 18) {
this._x = 509;
this._y = 33;
} else {
if (position == 19) {
this._x = 539;
this._y = 33;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.gem == 'used') {
_root.slotfree[position] = true;
loadMovie('', this);
}
}
onClipEvent (release) {
if (_root.gem == 'found' && itemselected == false && _root.anyitem == false) {
this.gotoAndStop(2);
itemselected = true;
}
if (_root.gem == 'found' && itemselected == true && _root.anyitem == true) {
this.gotoAndStop(1);
itemselected = false;
}
}
}
movieClip 115 {
frame 1 {
stop();
_root.anyitem = false;
}
frame 2 {
_root.anyitem = true;
}
}
instance itemkey of movieClip 115 {
onClipEvent (load) {
itemselected = false;
position = 0;
ini = 0;
if (_root.key == 'found') {
this._visible = true;
} else {
position = 0;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.key == 'found' && ini == 0) {
i = 1;
for (;;) {
if (!(i <= 19 && ini != 1)) break;
if (_root.slotfree[i] == true) {
_root.slotfree[i] = false;
position = i;
this._visible = true;
ini = 1;
}
++i;
}
this._visible = true;
ini = 1;
} else {
if (_root.key == 'unfound') {
position = 0;
this._visible = false;
}
}
if (position == 1) {
this._x = 29;
this._y = 33;
} else {
if (position == 2) {
this._x = 59;
this._y = 33;
} else {
if (position == 3) {
this._x = 89;
this._y = 33;
} else {
if (position == 4) {
this._x = 119;
this._y = 33;
} else {
if (position == 5) {
this._x = 149;
this._y = 33;
} else {
if (position == 6) {
this._x = 179;
this._y = 33;
} else {
if (position == 7) {
this._x = 209;
this._y = 33;
} else {
if (position == 8) {
this._x = 239;
this._y = 33;
} else {
if (position == 10) {
this._x = 269;
this._y = 33;
} else {
if (position == 11) {
this._x = 299;
this._y = 33;
} else {
if (position == 12) {
this._x = 329;
this._y = 33;
} else {
if (position == 13) {
this._x = 359;
this._y = 33;
} else {
if (position == 14) {
this._x = 389;
this._y = 33;
} else {
if (position == 15) {
this._x = 419;
this._y = 33;
} else {
if (position == 16) {
this._x = 449;
this._y = 33;
} else {
if (position == 17) {
this._x = 479;
this._y = 33;
} else {
if (position == 18) {
this._x = 509;
this._y = 33;
} else {
if (position == 19) {
this._x = 539;
this._y = 33;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.key == 'used') {
_root.slotfree[position] = true;
loadMovie('', this);
}
}
onClipEvent (release) {
if (_root.key == 'found' && itemselected == false && _root.anyitem == false) {
this.gotoAndStop(2);
itemselected = true;
}
if (_root.key == 'found' && itemselected == true && _root.anyitem == true) {
this.gotoAndStop(1);
itemselected = false;
}
}
}
movieClip 118 {
frame 1 {
stop();
_root.anyitem = false;
}
frame 2 {
_root.anyitem = true;
}
}
instance itemlimestone of movieClip 118 {
onClipEvent (load) {
itemselected = false;
position = 0;
ini = 0;
if (_root.limestone == 'found') {
this._visible = true;
} else {
position = 0;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.limestone == 'found' && ini == 0) {
i = 1;
for (;;) {
if (!(i <= 19 && ini != 1)) break;
if (_root.slotfree[i] == true) {
_root.slotfree[i] = false;
position = i;
this._visible = true;
ini = 1;
}
++i;
}
this._visible = true;
ini = 1;
} else {
if (_root.limestone == 'unfound') {
position = 0;
this._visible = false;
}
}
if (position == 1) {
this._x = 29;
this._y = 33;
} else {
if (position == 2) {
this._x = 59;
this._y = 33;
} else {
if (position == 3) {
this._x = 89;
this._y = 33;
} else {
if (position == 4) {
this._x = 119;
this._y = 33;
} else {
if (position == 5) {
this._x = 149;
this._y = 33;
} else {
if (position == 6) {
this._x = 179;
this._y = 33;
} else {
if (position == 7) {
this._x = 209;
this._y = 33;
} else {
if (position == 8) {
this._x = 239;
this._y = 33;
} else {
if (position == 10) {
this._x = 269;
this._y = 33;
} else {
if (position == 11) {
this._x = 299;
this._y = 33;
} else {
if (position == 12) {
this._x = 329;
this._y = 33;
} else {
if (position == 13) {
this._x = 359;
this._y = 33;
} else {
if (position == 14) {
this._x = 389;
this._y = 33;
} else {
if (position == 15) {
this._x = 419;
this._y = 33;
} else {
if (position == 16) {
this._x = 449;
this._y = 33;
} else {
if (position == 17) {
this._x = 479;
this._y = 33;
} else {
if (position == 18) {
this._x = 509;
this._y = 33;
} else {
if (position == 19) {
this._x = 539;
this._y = 33;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.limestone == 'used') {
_root.slotfree[position] = true;
loadMovie('', this);
}
}
onClipEvent (release) {
if (_root.limestone == 'found' && itemselected == false && _root.anyitem == false) {
this.gotoAndStop(2);
itemselected = true;
}
if (_root.limestone == 'found' && itemselected == true && _root.anyitem == true) {
this.gotoAndStop(1);
itemselected = false;
}
}
}
movieClip 121 {
frame 1 {
stop();
_root.anyitem = false;
}
frame 2 {
_root.anyitem = true;
}
}
instance of movieClip 121 {
onClipEvent (load) {
itemselected = false;
position = 0;
ini = 0;
if (_root.sharpknife == 'found') {
this._visible = true;
} else {
position = 0;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.sharpknife == 'found' && ini == 0) {
i = 1;
for (;;) {
if (!(i <= 19 && ini != 1)) break;
if (_root.slotfree[i] == true) {
_root.slotfree[i] = false;
position = i;
this._visible = true;
ini = 1;
}
++i;
}
this._visible = true;
ini = 1;
} else {
if (_root.sharpknife == 'unfound') {
position = 0;
this._visible = false;
}
}
if (position == 1) {
this._x = 29;
this._y = 33;
} else {
if (position == 2) {
this._x = 59;
this._y = 33;
} else {
if (position == 3) {
this._x = 89;
this._y = 33;
} else {
if (position == 4) {
this._x = 119;
this._y = 33;
} else {
if (position == 5) {
this._x = 149;
this._y = 33;
} else {
if (position == 6) {
this._x = 179;
this._y = 33;
} else {
if (position == 7) {
this._x = 209;
this._y = 33;
} else {
if (position == 8) {
this._x = 239;
this._y = 33;
} else {
if (position == 10) {
this._x = 269;
this._y = 33;
} else {
if (position == 11) {
this._x = 299;
this._y = 33;
} else {
if (position == 12) {
this._x = 329;
this._y = 33;
} else {
if (position == 13) {
this._x = 359;
this._y = 33;
} else {
if (position == 14) {
this._x = 389;
this._y = 33;
} else {
if (position == 15) {
this._x = 419;
this._y = 33;
} else {
if (position == 16) {
this._x = 449;
this._y = 33;
} else {
if (position == 17) {
this._x = 479;
this._y = 33;
} else {
if (position == 18) {
this._x = 509;
this._y = 33;
} else {
if (position == 19) {
this._x = 539;
this._y = 33;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.sharpknife == 'used') {
_root.slotfree[position] = true;
loadMovie('', this);
}
}
onClipEvent (release) {
if (_root.sharpknife == 'found' && itemselected == false && _root.anyitem == false) {
this.gotoAndStop(2);
itemselected = true;
}
if (_root.sharpknife == 'found' && itemselected == true && _root.anyitem == true) {
this.gotoAndStop(1);
itemselected = false;
}
}
}
movieClip 124 {
frame 1 {
stop();
_root.anyitem = false;
}
frame 2 {
_root.anyitem = true;
}
}
instance itempickaxe of movieClip 124 {
onClipEvent (load) {
itemselected = false;
position = 0;
ini = 0;
if (_root.pickaxe == 'found') {
this._visible = true;
} else {
position = 0;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.pickaxe == 'found' && ini == 0) {
i = 1;
for (;;) {
if (!(i <= 19 && ini != 1)) break;
if (_root.slotfree[i] == true) {
_root.slotfree[i] = false;
position = i;
this._visible = true;
ini = 1;
}
++i;
}
this._visible = true;
ini = 1;
} else {
if (_root.pickaxe == 'unfound') {
position = 0;
this._visible = false;
}
}
if (position == 1) {
this._x = 29;
this._y = 33;
} else {
if (position == 2) {
this._x = 59;
this._y = 33;
} else {
if (position == 3) {
this._x = 89;
this._y = 33;
} else {
if (position == 4) {
this._x = 119;
this._y = 33;
} else {
if (position == 5) {
this._x = 149;
this._y = 33;
} else {
if (position == 6) {
this._x = 179;
this._y = 33;
} else {
if (position == 7) {
this._x = 209;
this._y = 33;
} else {
if (position == 8) {
this._x = 239;
this._y = 33;
} else {
if (position == 10) {
this._x = 269;
this._y = 33;
} else {
if (position == 11) {
this._x = 299;
this._y = 33;
} else {
if (position == 12) {
this._x = 329;
this._y = 33;
} else {
if (position == 13) {
this._x = 359;
this._y = 33;
} else {
if (position == 14) {
this._x = 389;
this._y = 33;
} else {
if (position == 15) {
this._x = 419;
this._y = 33;
} else {
if (position == 16) {
this._x = 449;
this._y = 33;
} else {
if (position == 17) {
this._x = 479;
this._y = 33;
} else {
if (position == 18) {
this._x = 509;
this._y = 33;
} else {
if (position == 19) {
this._x = 539;
this._y = 33;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.pickaxe == 'used') {
_root.slotfree[position] = true;
loadMovie('', this);
}
}
onClipEvent (release) {
if (_root.pickaxe == 'found' && itemselected == false && _root.anyitem == false) {
this.gotoAndStop(2);
itemselected = true;
}
if (_root.pickaxe == 'found' && itemselected == true && _root.anyitem == true) {
this.gotoAndStop(1);
itemselected = false;
}
}
}
movieClip 127 {
frame 1 {
stop();
_root.anyitem = false;
}
frame 2 {
_root.anyitem = true;
}
}
instance itemwood of movieClip 127 {
onClipEvent (load) {
itemselected = false;
position = 0;
ini = 0;
if (_root.wood == 'found') {
this._visible = true;
} else {
position = 0;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.wood == 'found' && ini == 0) {
i = 1;
for (;;) {
if (!(i <= 19 && ini != 1)) break;
if (_root.slotfree[i] == true) {
_root.slotfree[i] = false;
position = i;
this._visible = true;
ini = 1;
}
++i;
}
this._visible = true;
ini = 1;
} else {
if (_root.wood == 'unfound') {
position = 0;
this._visible = false;
}
}
if (position == 1) {
this._x = 29;
this._y = 33;
} else {
if (position == 2) {
this._x = 59;
this._y = 33;
} else {
if (position == 3) {
this._x = 89;
this._y = 33;
} else {
if (position == 4) {
this._x = 119;
this._y = 33;
} else {
if (position == 5) {
this._x = 149;
this._y = 33;
} else {
if (position == 6) {
this._x = 179;
this._y = 33;
} else {
if (position == 7) {
this._x = 209;
this._y = 33;
} else {
if (position == 8) {
this._x = 239;
this._y = 33;
} else {
if (position == 10) {
this._x = 269;
this._y = 33;
} else {
if (position == 11) {
this._x = 299;
this._y = 33;
} else {
if (position == 12) {
this._x = 329;
this._y = 33;
} else {
if (position == 13) {
this._x = 359;
this._y = 33;
} else {
if (position == 14) {
this._x = 389;
this._y = 33;
} else {
if (position == 15) {
this._x = 419;
this._y = 33;
} else {
if (position == 16) {
this._x = 449;
this._y = 33;
} else {
if (position == 17) {
this._x = 479;
this._y = 33;
} else {
if (position == 18) {
this._x = 509;
this._y = 33;
} else {
if (position == 19) {
this._x = 539;
this._y = 33;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.wood == 'used') {
_root.slotfree[position] = true;
loadMovie('', this);
}
}
onClipEvent (release) {
if (_root.wood == 'found' && itemselected == false && _root.anyitem == false) {
this.gotoAndStop(2);
itemselected = true;
}
if (_root.wood == 'found' && itemselected == true && _root.anyitem == true) {
this.gotoAndStop(1);
itemselected = false;
}
}
}
movieClip 130 {
frame 1 {
stop();
_root.anyitem = false;
}
frame 2 {
_root.anyitem = true;
}
}
instance itemsaw of movieClip 130 {
onClipEvent (load) {
itemselected = false;
position = 0;
ini = 0;
if (_root.saw == 'found') {
this._visible = true;
} else {
position = 0;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.saw == 'found' && ini == 0) {
i = 1;
for (;;) {
if (!(i <= 19 && ini != 1)) break;
if (_root.slotfree[i] == true) {
_root.slotfree[i] = false;
position = i;
this._visible = true;
ini = 1;
}
++i;
}
this._visible = true;
ini = 1;
} else {
if (_root.saw == 'unfound') {
position = 0;
this._visible = false;
}
}
if (position == 1) {
this._x = 29;
this._y = 33;
} else {
if (position == 2) {
this._x = 59;
this._y = 33;
} else {
if (position == 3) {
this._x = 89;
this._y = 33;
} else {
if (position == 4) {
this._x = 119;
this._y = 33;
} else {
if (position == 5) {
this._x = 149;
this._y = 33;
} else {
if (position == 6) {
this._x = 179;
this._y = 33;
} else {
if (position == 7) {
this._x = 209;
this._y = 33;
} else {
if (position == 8) {
this._x = 239;
this._y = 33;
} else {
if (position == 10) {
this._x = 269;
this._y = 33;
} else {
if (position == 11) {
this._x = 299;
this._y = 33;
} else {
if (position == 12) {
this._x = 329;
this._y = 33;
} else {
if (position == 13) {
this._x = 359;
this._y = 33;
} else {
if (position == 14) {
this._x = 389;
this._y = 33;
} else {
if (position == 15) {
this._x = 419;
this._y = 33;
} else {
if (position == 16) {
this._x = 449;
this._y = 33;
} else {
if (position == 17) {
this._x = 479;
this._y = 33;
} else {
if (position == 18) {
this._x = 509;
this._y = 33;
} else {
if (position == 19) {
this._x = 539;
this._y = 33;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.saw == 'used') {
_root.slotfree[position] = true;
loadMovie('', this);
}
}
onClipEvent (release) {
if (_root.saw == 'found' && itemselected == false && _root.anyitem == false) {
this.gotoAndStop(2);
itemselected = true;
}
if (_root.saw == 'found' && itemselected == true && _root.anyitem == true) {
this.gotoAndStop(1);
itemselected = false;
}
}
}
movieClip 133 {
frame 1 {
stop();
_root.anyitem = false;
}
frame 2 {
_root.anyitem = true;
}
}
instance itemgem2 of movieClip 133 {
onClipEvent (load) {
itemselected = false;
position = 0;
ini = 0;
if (_root.gem2 == 'found') {
this._visible = true;
} else {
position = 0;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.gem2 == 'found' && ini == 0) {
i = 1;
for (;;) {
if (!(i <= 19 && ini != 1)) break;
if (_root.slotfree[i] == true) {
_root.slotfree[i] = false;
position = i;
this._visible = true;
ini = 1;
}
++i;
}
this._visible = true;
ini = 1;
} else {
if (_root.gem2 == 'unfound') {
position = 0;
this._visible = false;
}
}
if (position == 1) {
this._x = 29;
this._y = 33;
} else {
if (position == 2) {
this._x = 59;
this._y = 33;
} else {
if (position == 3) {
this._x = 89;
this._y = 33;
} else {
if (position == 4) {
this._x = 119;
this._y = 33;
} else {
if (position == 5) {
this._x = 149;
this._y = 33;
} else {
if (position == 6) {
this._x = 179;
this._y = 33;
} else {
if (position == 7) {
this._x = 209;
this._y = 33;
} else {
if (position == 8) {
this._x = 239;
this._y = 33;
} else {
if (position == 10) {
this._x = 269;
this._y = 33;
} else {
if (position == 11) {
this._x = 299;
this._y = 33;
} else {
if (position == 12) {
this._x = 329;
this._y = 33;
} else {
if (position == 13) {
this._x = 359;
this._y = 33;
} else {
if (position == 14) {
this._x = 389;
this._y = 33;
} else {
if (position == 15) {
this._x = 419;
this._y = 33;
} else {
if (position == 16) {
this._x = 449;
this._y = 33;
} else {
if (position == 17) {
this._x = 479;
this._y = 33;
} else {
if (position == 18) {
this._x = 509;
this._y = 33;
} else {
if (position == 19) {
this._x = 539;
this._y = 33;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.gem2 == 'used') {
_root.slotfree[position] = true;
loadMovie('', this);
}
}
onClipEvent (release) {
if (_root.gem2 == 'found' && itemselected == false && _root.anyitem == false) {
this.gotoAndStop(2);
itemselected = true;
}
if (_root.gem2 == 'found' && itemselected == true && _root.anyitem == true) {
this.gotoAndStop(1);
itemselected = false;
}
}
}
movieClip 136 {
frame 1 {
stop();
_root.anyitem = false;
}
frame 2 {
_root.anyitem = true;
}
}
instance itemshovel of movieClip 136 {
onClipEvent (load) {
itemselected = false;
position = 0;
ini = 0;
if (_root.shovel == 'found') {
this._visible = true;
} else {
position = 0;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.shovel == 'found' && ini == 0) {
i = 1;
for (;;) {
if (!(i <= 19 && ini != 1)) break;
if (_root.slotfree[i] == true) {
_root.slotfree[i] = false;
position = i;
this._visible = true;
ini = 1;
}
++i;
}
this._visible = true;
ini = 1;
} else {
if (_root.shovel == 'unfound') {
position = 0;
this._visible = false;
}
}
if (position == 1) {
this._x = 29;
this._y = 33;
} else {
if (position == 2) {
this._x = 59;
this._y = 33;
} else {
if (position == 3) {
this._x = 89;
this._y = 33;
} else {
if (position == 4) {
this._x = 119;
this._y = 33;
} else {
if (position == 5) {
this._x = 149;
this._y = 33;
} else {
if (position == 6) {
this._x = 179;
this._y = 33;
} else {
if (position == 7) {
this._x = 209;
this._y = 33;
} else {
if (position == 8) {
this._x = 239;
this._y = 33;
} else {
if (position == 10) {
this._x = 269;
this._y = 33;
} else {
if (position == 11) {
this._x = 299;
this._y = 33;
} else {
if (position == 12) {
this._x = 329;
this._y = 33;
} else {
if (position == 13) {
this._x = 359;
this._y = 33;
} else {
if (position == 14) {
this._x = 389;
this._y = 33;
} else {
if (position == 15) {
this._x = 419;
this._y = 33;
} else {
if (position == 16) {
this._x = 449;
this._y = 33;
} else {
if (position == 17) {
this._x = 479;
this._y = 33;
} else {
if (position == 18) {
this._x = 509;
this._y = 33;
} else {
if (position == 19) {
this._x = 539;
this._y = 33;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.shovel == 'used') {
_root.slotfree[position] = true;
loadMovie('', this);
}
}
onClipEvent (release) {
if (_root.shovel == 'found' && itemselected == false && _root.anyitem == false) {
this.gotoAndStop(2);
itemselected = true;
}
if (_root.shovel == 'found' && itemselected == true && _root.anyitem == true) {
this.gotoAndStop(1);
itemselected = false;
}
}
}
movieClip 139 {
frame 1 {
stop();
_root.anyitem = false;
}
frame 2 {
_root.anyitem = true;
}
}
instance itemgem3 of movieClip 139 {
onClipEvent (load) {
itemselected = false;
position = 0;
ini = 0;
if (_root.gem3 == 'found') {
this._visible = true;
} else {
position = 0;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.gem3 == 'found' && ini == 0) {
i = 1;
for (;;) {
if (!(i <= 19 && ini != 1)) break;
if (_root.slotfree[i] == true) {
_root.slotfree[i] = false;
position = i;
this._visible = true;
ini = 1;
}
++i;
}
this._visible = true;
ini = 1;
} else {
if (_root.gem3 == 'unfound') {
position = 0;
this._visible = false;
}
}
if (position == 1) {
this._x = 29;
this._y = 33;
} else {
if (position == 2) {
this._x = 59;
this._y = 33;
} else {
if (position == 3) {
this._x = 89;
this._y = 33;
} else {
if (position == 4) {
this._x = 119;
this._y = 33;
} else {
if (position == 5) {
this._x = 149;
this._y = 33;
} else {
if (position == 6) {
this._x = 179;
this._y = 33;
} else {
if (position == 7) {
this._x = 209;
this._y = 33;
} else {
if (position == 8) {
this._x = 239;
this._y = 33;
} else {
if (position == 10) {
this._x = 269;
this._y = 33;
} else {
if (position == 11) {
this._x = 299;
this._y = 33;
} else {
if (position == 12) {
this._x = 329;
this._y = 33;
} else {
if (position == 13) {
this._x = 359;
this._y = 33;
} else {
if (position == 14) {
this._x = 389;
this._y = 33;
} else {
if (position == 15) {
this._x = 419;
this._y = 33;
} else {
if (position == 16) {
this._x = 449;
this._y = 33;
} else {
if (position == 17) {
this._x = 479;
this._y = 33;
} else {
if (position == 18) {
this._x = 509;
this._y = 33;
} else {
if (position == 19) {
this._x = 539;
this._y = 33;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.gem3 == 'used') {
_root.slotfree[position] = true;
loadMovie('', this);
}
}
onClipEvent (release) {
if (_root.gem3 == 'found' && itemselected == false && _root.anyitem == false) {
this.gotoAndStop(2);
itemselected = true;
}
if (_root.gem3 == 'found' && itemselected == true && _root.anyitem == true) {
this.gotoAndStop(1);
itemselected = false;
}
}
}
movieClip 145 {
frame 5 {
stop();
}
}
movieClip 146 {
frame 1 {
stop();
_root.anyitem = false;
}
frame 2 {
_root.anyitem = true;
}
}
instance itemnotes of movieClip 146 {
onClipEvent (load) {
inuse = false;
itemselected = false;
position = 0;
ini = 0;
if (_root.notes == 'found') {
this._visible = true;
} else {
position = 0;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.notes == 'found' && ini == 0) {
i = 1;
for (;;) {
if (!(i <= 19 && ini != 1)) break;
if (_root.slotfree[i] == true) {
_root.slotfree[i] = false;
position = i;
this._visible = true;
ini = 1;
}
++i;
}
this._visible = true;
ini = 1;
} else {
if (_root.notes == 'unfound') {
position = 0;
this._visible = false;
}
}
if (itemselected == false) {
if (position == 1) {
this._x = 29;
this._y = 33;
} else {
if (position == 2) {
this._x = 59;
this._y = 33;
} else {
if (position == 3) {
this._x = 89;
this._y = 33;
} else {
if (position == 4) {
this._x = 119;
this._y = 33;
} else {
if (position == 5) {
this._x = 149;
this._y = 33;
} else {
if (position == 6) {
this._x = 179;
this._y = 33;
} else {
if (position == 7) {
this._x = 209;
this._y = 33;
} else {
if (position == 8) {
this._x = 239;
this._y = 33;
} else {
if (position == 10) {
this._x = 269;
this._y = 33;
} else {
if (position == 11) {
this._x = 299;
this._y = 33;
} else {
if (position == 12) {
this._x = 329;
this._y = 33;
} else {
if (position == 13) {
this._x = 359;
this._y = 33;
} else {
if (position == 14) {
this._x = 389;
this._y = 33;
} else {
if (position == 15) {
this._x = 419;
this._y = 33;
} else {
if (position == 16) {
this._x = 449;
this._y = 33;
} else {
if (position == 17) {
this._x = 479;
this._y = 33;
} else {
if (position == 18) {
this._x = 509;
this._y = 33;
} else {
if (position == 19) {
this._x = 539;
this._y = 33;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
} else {
if (itemselected == true) {
this._x = 0;
this._y = 0;
}
}
if (_root.notes == 'used') {
_root.slotfree[position] = true;
loadMovie('', this);
}
}
onClipEvent (release) {
if (_root.notes == 'found' && itemselected == false && _root.anyitem == false) {
this.gotoAndStop(2);
itemselected = true;
}
if (_root.notes == 'found' && itemselected == true && _root.anyitem == true) {
this.gotoAndStop(1);
itemselected = false;
}
}
}
movieClip 149 {
frame 1 {
stop();
_root.anyitem = false;
}
frame 2 {
_root.anyitem = true;
}
}
instance itemdice of movieClip 149 {
onClipEvent (load) {
itemselected = false;
position = 0;
ini = 0;
if (_root.dice == 'found') {
this._visible = true;
} else {
position = 0;
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.dice == 'found' && ini == 0) {
i = 1;
for (;;) {
if (!(i <= 19 && ini != 1)) break;
if (_root.slotfree[i] == true) {
_root.slotfree[i] = false;
position = i;
this._visible = true;
ini = 1;
}
++i;
}
this._visible = true;
ini = 1;
} else {
if (_root.dice == 'unfound') {
position = 0;
this._visible = false;
}
}
if (position == 1) {
this._x = 29;
this._y = 33;
} else {
if (position == 2) {
this._x = 59;
this._y = 33;
} else {
if (position == 3) {
this._x = 89;
this._y = 33;
} else {
if (position == 4) {
this._x = 119;
this._y = 33;
} else {
if (position == 5) {
this._x = 149;
this._y = 33;
} else {
if (position == 6) {
this._x = 179;
this._y = 33;
} else {
if (position == 7) {
this._x = 209;
this._y = 33;
} else {
if (position == 8) {
this._x = 239;
this._y = 33;
} else {
if (position == 10) {
this._x = 269;
this._y = 33;
} else {
if (position == 11) {
this._x = 299;
this._y = 33;
} else {
if (position == 12) {
this._x = 329;
this._y = 33;
} else {
if (position == 13) {
this._x = 359;
this._y = 33;
} else {
if (position == 14) {
this._x = 389;
this._y = 33;
} else {
if (position == 15) {
this._x = 419;
this._y = 33;
} else {
if (position == 16) {
this._x = 449;
this._y = 33;
} else {
if (position == 17) {
this._x = 479;
this._y = 33;
} else {
if (position == 18) {
this._x = 509;
this._y = 33;
} else {
if (position == 19) {
this._x = 539;
this._y = 33;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (_root.dice == 'used') {
_root.slotfree[position] = true;
loadMovie('', this);
}
}
onClipEvent (release) {
if (_root.dice == 'found' && itemselected == false && _root.anyitem == false) {
this.gotoAndStop(2);
itemselected = true;
}
if (_root.dice == 'found' && itemselected == true && _root.anyitem == true) {
this.gotoAndStop(1);
itemselected = false;
}
}
}
movieClip 152 {
frame 20 {
stop();
}
}
instance of movieClip 55 {
onClipEvent (enterFrame) {
}
onClipEvent (release) {
if (_root.anyevent == false) {
_root.gotoAndStop('room1');
}
}
}
movieClip 160 {
frame 11 {
stop();
_root.crackevent = 'done';
_root.anyevent = false;
}
}
movieClip 161 {
frame 1 {
stop();
}
instance of movieClip 160 {
onClipEvent (enterFrame) {
if (_root.crackevent == 'done') {
this.gotoAndStop('eventcomplete');
}
}
}
}
instance of movieClip 161 {
onClipEvent (enterFrame) {
if (_root.crackevent == 'now') {
this.gotoAndStop('event1');
_root.anyevent = true;
}
if (_root.crackevent == 'done') {
_root.anyevent = false;
this.gotoAndStop('event1');
tellTarget ('_root.bookbtn') {
_x = 360;
_y = 315;
}
}
}
onClipEvent (release) {
if (_root.crackevent == 'incomplete') {
_root.crackevent = 'now';
}
}
}
movieClip 162 {
}
instance bookbtn of movieClip 162 {
onClipEvent (enterFrame) {
if (_root.spellbook == 'found' || _root.spellbook == 'used') {
loadMovie('', this);
}
}
onClipEvent (press) {
if (!_root.slotfree[19] == false) {
_root.spellbook = 'found';
}
}
}
frame 5 {
_root.anyevent = false;
}
movieClip 178 {
frame 1 {
stop();
}
frame 10 {
stop();
}
frame 20 {
stop();
}
frame 30 {
stop();
}
frame 40 {
stop();
}
frame 50 {
stop();
}
frame 60 {
stop();
}
frame 70 {
stop();
}
frame 80 {
_root.gotoAndStop('room3');
_root.anyevent = false;
}
}
instance of movieClip 178 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.play();
}
with (_root.itemrock) {
if (itemselected == true) {
_root.gotoAndStop('ow');
}
}
}
}
frame 6 {
_root.anyevent = false;
_root.magicevent = 'done';
}
instance of movieClip 55 {
onClipEvent (enterFrame) {
}
onClipEvent (release) {
if (_root.anyevent == false) {
_root.gotoAndStop('room4');
}
}
}
movieClip 183 {
}
instance of movieClip 183 {
onClipEvent (enterFrame) {
}
onClipEvent (release) {
if (_root.anyevent == false) {
_root.gotoAndStop('room6');
}
}
}
movieClip 184 {
}
instance ropeboutton of movieClip 184 {
onClipEvent (enterFrame) {
if (_root.rope == 'found' || _root.rope == 'used') {
loadMovie('', this);
}
}
onClipEvent (press) {
if (!_root.slotfree[19] == false) {
_root.rope = 'found';
}
}
}
movieClip 191 {
frame 22 {
_root.anyevent = false;
}
frame 23 {
_root.knifeevent = 'done';
stop();
}
}
movieClip 192 {
frame 1 {
stop();
}
instance of movieClip 191 {
onClipEvent (enterFrame) {
if (_root.knifeevent == 'done') {
this.gotoAndStop('eventcomplete');
}
}
}
}
instance of movieClip 192 {
onClipEvent (enterFrame) {
if (_root.knifeevent == 'now') {
this.gotoAndStop('event1');
_root.anyevent = true;
_root.knife = 'used';
_root.anyitem = false;
tellTarget ('_root.itemknife') {
potition = 0;
}
}
if (_root.knifeevent == 'done') {
with (_root.ropeboutton) {
_x = 220;
_y = 323;
}
this.gotoAndStop('event1');
}
}
onClipEvent (release) {
with (_root.itemknife) {
if (itemselected == true) {
_root.knifeevent = 'now';
_root.anyitem = false;
_root.itemselected = false;
}
}
}
}
movieClip 198 {
frame 1 {
stop();
}
frame 2 {
_root.switch9 = 'on';
}
frame 3 {
stop();
}
frame 4 {
_root.switch9 = 'off';
}
}
instance of movieClip 198 {
onClipEvent (enterFrame) {
if (_root.fallevent == 'now') {
loadMovie('', this);
}
if (_root.switch9 == 'off') {
this.gotoAndStop('off');
}
if (_root.switch9 == 'on') {
this.gotoAndStop('on');
}
}
onClipEvent (release) {
this.play();
}
}
instance of movieClip 55 {
onClipEvent (enterFrame) {
}
onClipEvent (release) {
if (_root.anyevent == false) {
_root.gotoAndStop('room5');
}
}
}
instance of movieClip 55 {
onClipEvent (enterFrame) {
}
onClipEvent (release) {
if (_root.anyevent == false) {
_root.gotoAndStop('room3');
}
}
}
movieClip 202 {
}
instance lyrabtn of movieClip 202 {
onClipEvent (enterFrame) {
if (_root.lyradoll == 'found' || _root.lyradoll == 'used') {
loadMovie('', this);
}
}
onClipEvent (press) {
if (!_root.slotfree[19] == false) {
_root.lyradoll = 'found';
}
}
}
movieClip 207 {
frame 1 {
stop();
}
}
instance of movieClip 207 {
onClipEvent (enterFrame) {
if (_root.keyevent == 'done') {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (release) {
with (_root.itemkey) {
if (itemselected == true) {
_root.key = 'used';
_root.keyevent = 'done';
_root.anyitem = false;
_root.itemselected = false;
}
}
}
}
movieClip 212 {
frame 1 {
stop();
}
}
instance of movieClip 212 {
onClipEvent (enterFrame) {
if (_root.sawevent == 'done') {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (release) {
with (_root.itemsaw) {
if (itemselected == true) {
_root.saw = 'used';
_root.sawevent = 'done';
_root.anyitem = false;
_root.itemselected = false;
if (!_root.slotfree[19] == false) {
_root.wood = 'found';
}
}
}
}
}
movieClip 214 {
}
instance of movieClip 214 {
onClipEvent (enterFrame) {
if (_root.knife == 'found' || _root.knife == 'used') {
loadMovie('', this);
}
}
onClipEvent (press) {
if (!_root.slotfree[19] == false) {
_root.knife = 'found';
}
}
}
movieClip 215 {
frame 1 {
stop();
}
frame 2 {
_root.switch7 = 'on';
}
frame 3 {
stop();
}
frame 4 {
_root.switch7 = 'off';
}
}
instance of movieClip 215 {
onClipEvent (enterFrame) {
if (_root.switch7 == 'off') {
this.gotoAndStop('off');
}
if (_root.switch7 == 'on') {
this.gotoAndStop('on');
}
}
onClipEvent (release) {
this.play();
}
}
instance of movieClip 55 {
onClipEvent (enterFrame) {
}
onClipEvent (release) {
if (_root.anyevent == false) {
_root.gotoAndStop('room4');
}
}
}
movieClip 222 {
frame 1 {
stop();
}
frame 2 {
_root.woodevent = 'done2';
}
}
instance of movieClip 222 {
onClipEvent (enterFrame) {
if (_root.woodevent == 'done' || _root.woodevent == 'done2') {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (release) {
with (_root.itemwood) {
if (itemselected == true) {
_root.wood = 'used';
_root.woodevent = 'done';
_root.anyitem = false;
_root.itemselected = false;
}
}
if (_root.woodevent == 'done2') {
if (_root.anyevent == false) {
_root.gotoAndStop('room9');
}
}
}
}
movieClip 228 {
frame 29 {
_root.anyevent = false;
}
frame 30 {
_root.pickaxeevent = 'done';
}
}
movieClip 229 {
frame 1 {
stop();
}
}
instance of movieClip 229 {
onClipEvent (enterFrame) {
if (_root.pickaxeevent == 'now') {
this.gotoAndStop(2);
_root.anyevent = true;
_root.pickaxe = 'used';
_root.anyitem = false;
tellTarget ('_root.itempickaxe') {
potition = 0;
}
}
if (_root.pickaxeevent == 'done') {
if (_root.limestone == 'unfound') {
if (!_root.slotfree[19] == false) {
_root.limestone = 'found';
}
}
this.gotoAndStop(1);
}
}
onClipEvent (release) {
with (_root.itempickaxe) {
if (itemselected == true) {
_root.pickaxeevent = 'now';
_root.anyitem = false;
_root.itemselected = false;
}
}
}
}
movieClip 230 {
frame 1 {
stop();
}
frame 2 {
_root.switch8 = 'on';
}
frame 3 {
stop();
}
frame 4 {
_root.switch8 = 'off';
}
}
instance of movieClip 230 {
onClipEvent (enterFrame) {
if (_root.switch8 == 'off') {
this.gotoAndStop('off');
}
if (_root.switch8 == 'on') {
this.gotoAndStop('on');
}
}
onClipEvent (release) {
this.play();
}
}
instance of movieClip 55 {
onClipEvent (enterFrame) {
}
onClipEvent (release) {
if (_root.anyevent == false) {
_root.gotoAndStop('room3');
}
}
}
movieClip 236 {
}
movieClip 237 {
frame 1 {
stop();
}
instance of movieClip 236 {
onClipEvent (enterFrame) {
if (!_root.slotfree[19] == false) {
_root.gem = 'found';
}
}
}
frame 20 {
_root.chiselevent = 'done';
_root.anyevent = false;
}
}
movieClip 238 {
frame 1 {
stop();
}
instance of movieClip 237 {
onClipEvent (enterFrame) {
if (_root.chiselevent == 'now') {
_root.chiselevent = 'now1';
this.gotoAndPlay('event1');
_root.anyevent = true;
_root.anyitem = false;
with (_root.itemchisel) {
potition = 0;
}
_root.chisel = 'used';
}
if (_root.chiselevent == 'done') {
this.gotoAndStop('eventdone');
}
if (_root.gem == 'found' || _root.gem == 'used') {
loadMovie('', this);
}
}
onClipEvent (press) {
with (_root.itemchisel) {
if (itemselected == true) {
_root.chiselevent = 'now';
_root.anyitem = false;
_root.itemselected = false;
}
}
}
}
}
instance of movieClip 238 {
onClipEvent (enterFrame) {
if (_root.keyevent == 'done') {
this.gotoAndStop(2);
}
}
}
instance of movieClip 55 {
onClipEvent (enterFrame) {
}
onClipEvent (release) {
if (_root.anyevent == false) {
_root.gotoAndStop('room7');
}
}
}
instance of movieClip 55 {
onClipEvent (enterFrame) {
}
onClipEvent (release) {
if (_root.anyevent == false) {
_root.gotoAndStop('room8');
}
}
}
movieClip 239 {
frame 1 {
stop();
}
frame 2 {
_root.switch6 = 'on';
}
frame 3 {
stop();
}
frame 4 {
_root.switch6 = 'off';
}
}
instance of movieClip 239 {
onClipEvent (enterFrame) {
if (_root.switch6 == 'off') {
this.gotoAndStop('off');
}
if (_root.switch6 == 'on') {
this.gotoAndStop('on');
}
}
onClipEvent (release) {
this.play();
}
}
movieClip 244 {
frame 1 {
stop();
_root.anyevent = false;
}
frame 2 {
_root.anyevent = true;
}
}
instance hole of movieClip 244 {
onClipEvent (load) {
curFrame = 1;
}
onClipEvent (enterFrame) {
if (_root.key == 'found') {
curFrame = 1;
this.gotoAndStop(1);
}
}
onClipEvent (release) {
if (_root.anyitem == false && _root.ropeevent == 'incomplete' && curFrame == 1) {
this.gotoAndStop(2);
curFrame = 2;
_root.anyevent = true;
} else {
if (_root.anyitem == false && _root.ropeevent == 'incomplete' && curFrame == 2) {
this.gotoAndStop(1);
curFrame = 1;
_root.anyevent = false;
}
}
with (_root.itemrope) {
if (itemselected == true) {
_root.ropeevent = 'complete';
_root.rope = 'used';
_root.anyitem = false;
_root.itemselected = false;
if (!_root.slotfree[19] == false) {
_root.key = 'found';
}
}
}
}
}
instance of movieClip 55 {
onClipEvent (enterFrame) {
}
onClipEvent (release) {
if (_root.anyevent == false) {
_root.gotoAndStop('room6');
}
}
}
movieClip 246 {
frame 1 {
stop();
}
frame 2 {
_root.switch1 = 'on';
}
frame 3 {
stop();
}
frame 4 {
_root.switch1 = 'off';
}
}
instance of movieClip 246 {
onClipEvent (enterFrame) {
if (_root.switch1 == 'off') {
this.gotoAndStop('off');
}
if (_root.switch1 == 'on') {
this.gotoAndStop('on');
}
}
onClipEvent (release) {
this.play();
}
}
movieClip 253 {
}
movieClip 257 {
}
movieClip 258 {
}
movieClip 259 {
}
movieClip 260 {
}
movieClip 264 {
frame 41 {
_root.anyevent = false;
}
frame 42 {
stop();
_root.limestoneevent = 'done';
}
}
movieClip 265 {
frame 1 {
stop();
}
instance of movieClip 264 {
onClipEvent (enterFrame) {
if (_root.limestoneevent == 'done') {
this.gotoAndStop('eventdone');
}
}
}
}
instance of movieClip 265 {
onClipEvent (enterFrame) {
if (_root.limestoneevent == 'now') {
this.gotoAndStop('event1');
_root.anyevent = true;
_root.limestone = 'used';
_root.anyitem = false;
tellTarget ('_root.itemlimestone') {
potition = 0;
}
}
if (_root.limestoneevent == 'done') {
if (_root.chisel == 'unfound') {
with (_root.chiselbtn) {
_x = 406;
_y = 286;
}
}
this.gotoAndStop('event1');
}
}
onClipEvent (release) {
with (_root.itemlimestone) {
if (itemselected == true) {
_root.limestoneevent = 'now';
_root.anyitem = false;
_root.itemselected = false;
}
}
}
}
movieClip 266 {
}
instance chiselbtn of movieClip 266 {
onClipEvent (enterFrame) {
if (_root.chisel == 'found' || _root.chisel == 'used') {
loadMovie('', this);
}
}
onClipEvent (press) {
if (!_root.slotfree[19] == false) {
_root.chisel = 'found';
}
}
}
movieClip 267 {
}
instance of movieClip 267 {
onClipEvent (enterFrame) {
if (_root.dice == 'found' || _root.dice == 'used') {
loadMovie('', this);
}
}
onClipEvent (press) {
if (!_root.slotfree[19] == false) {
_root.dice = 'found';
}
}
}
instance of movieClip 55 {
onClipEvent (enterFrame) {
}
onClipEvent (release) {
if (_root.anyevent == false) {
_root.gotoAndStop('room10');
}
}
}
movieClip 270 {
frame 1 {
stop();
}
frame 2 {
_root.switch4 = 'on';
}
frame 3 {
stop();
}
frame 4 {
_root.switch4 = 'off';
}
}
instance of movieClip 270 {
onClipEvent (enterFrame) {
if (_root.switch4 == 'off') {
this.gotoAndStop('off');
}
if (_root.switch4 == 'on') {
this.gotoAndStop('on');
}
}
onClipEvent (release) {
this.play();
}
}
instance of movieClip 55 {
onClipEvent (enterFrame) {
}
onClipEvent (release) {
if (_root.anyevent == false) {
_root.gotoAndStop('room5');
}
}
}
movieClip 275 {
}
instance of movieClip 275 {
onClipEvent (enterFrame) {
if (_root.pickaxe == 'found' || _root.pickaxe == 'used') {
loadMovie('', this);
}
}
onClipEvent (press) {
if (!_root.slotfree[19] == false) {
_root.pickaxe = 'found';
}
}
}
movieClip 277 {
}
movieClip 281 {
frame 21 {
_root.anyevent = false;
}
frame 22 {
_root.shovelevent = 'done';
stop();
}
}
movieClip 282 {
frame 1 {
stop();
}
instance of movieClip 281 {
onClipEvent (enterFrame) {
if (_root.shovelevent == 'done') {
this.gotoAndStop('eventcomplete');
}
}
}
}
instance of movieClip 282 {
onClipEvent (enterFrame) {
if (_root.shovelevent == 'now') {
this.gotoAndStop(2);
_root.anyevent = true;
_root.shovel = 'used';
_root.anyitem = false;
tellTarget ('_root.itemshovel') {
potition = 0;
}
}
if (_root.shovelevent == 'done') {
with (_root.gem2btn) {
_x = 266;
_y = 335;
}
this.gotoAndStop(2);
}
}
onClipEvent (release) {
with (_root.itemshovel) {
if (itemselected == true) {
_root.shovelevent = 'now';
_root.anyitem = false;
_root.itemselected = false;
}
}
}
}
movieClip 284 {
frame 1 {
stop();
}
frame 2 {
_root.switch3 = 'on';
}
frame 3 {
stop();
}
frame 4 {
_root.switch3 = 'off';
}
}
instance of movieClip 284 {
onClipEvent (enterFrame) {
if (_root.switch3 == 'off') {
this.gotoAndStop('off');
}
if (_root.switch3 == 'on') {
this.gotoAndStop('on');
}
}
onClipEvent (release) {
this.play();
}
}
movieClip 285 {
}
instance gem2btn of movieClip 285 {
onClipEvent (enterFrame) {
if (_root.gem2 == 'found' || _root.gem2 == 'used') {
loadMovie('', this);
}
}
onClipEvent (press) {
if (!_root.slotfree[19] == false) {
_root.gem2 = 'found';
}
}
}
instance of movieClip 55 {
onClipEvent (enterFrame) {
}
onClipEvent (release) {
if (_root.anyevent == false) {
_root.gotoAndStop('room8');
}
}
}
movieClip 294 {
frame 1 {
stop();
}
}
movieClip 295 {
instance of movieClip 294 {
onClipEvent (enterFrame) {
if (_root.switch2 == 'off') {
this.gotoAndStop(1);
}
if (_root.switch2 == 'on') {
this.gotoAndStop(2);
}
}
}
instance of movieClip 294 {
onClipEvent (enterFrame) {
if (_root.switch9 == 'off') {
this.gotoAndStop(1);
}
if (_root.switch9 == 'on') {
this.gotoAndStop(2);
}
}
}
instance of movieClip 294 {
onClipEvent (enterFrame) {
if (_root.switch7 == 'off') {
this.gotoAndStop(1);
}
if (_root.switch7 == 'on') {
this.gotoAndStop(2);
}
}
}
instance of movieClip 294 {
onClipEvent (enterFrame) {
if (_root.switch1 == 'off') {
this.gotoAndStop(1);
}
if (_root.switch1 == 'on') {
this.gotoAndStop(2);
}
}
}
instance of movieClip 294 {
onClipEvent (enterFrame) {
if (_root.switch4 == 'off') {
this.gotoAndStop(1);
}
if (_root.switch4 == 'on') {
this.gotoAndStop(2);
}
}
}
instance of movieClip 294 {
onClipEvent (enterFrame) {
if (_root.switch5 == 'off') {
this.gotoAndStop(1);
}
if (_root.switch5 == 'on') {
this.gotoAndStop(2);
}
}
}
instance of movieClip 294 {
onClipEvent (enterFrame) {
if (_root.switch3 == 'off') {
this.gotoAndStop(1);
}
if (_root.switch3 == 'on') {
this.gotoAndStop(2);
}
}
}
instance of movieClip 294 {
onClipEvent (enterFrame) {
if (_root.switch8 == 'off') {
this.gotoAndStop(1);
}
if (_root.switch8 == 'on') {
this.gotoAndStop(2);
}
}
}
instance of movieClip 294 {
onClipEvent (enterFrame) {
if (_root.switch6 == 'off') {
this.gotoAndStop(1);
}
if (_root.switch6 == 'on') {
this.gotoAndStop(2);
}
}
}
}
movieClip 296 {
frame 1 {
stop();
}
frame 2 {
_root.switch5 = 'on';
}
frame 3 {
stop();
}
frame 4 {
_root.switch5 = 'off';
}
}
instance of movieClip 296 {
onClipEvent (enterFrame) {
if (_root.switch5 == 'off') {
this.gotoAndStop('off');
}
if (_root.switch5 == 'on') {
this.gotoAndStop('on');
}
}
onClipEvent (release) {
this.play();
}
}
movieClip 299 {
}
instance of movieClip 299 {
onClipEvent (enterFrame) {
}
onClipEvent (release) {
if (_root.anyevent == false) {
_root.gotoAndStop('room11');
}
}
}
instance of movieClip 55 {
onClipEvent (enterFrame) {
}
onClipEvent (release) {
if (_root.anyevent == false) {
_root.gotoAndStop('room12');
}
}
}
movieClip 302 {
}
instance of movieClip 302 {
onClipEvent (enterFrame) {
if (_root.switch2 == 'on' && _root.switch1 == 'on' && _root.switch3 == 'on' && _root.switch4 == 'off' && _root.switch5 == 'off' && _root.switch6 == 'on' && _root.switch7 == 'on' && _root.switch8 == 'off' && _root.switch9 == 'off') {
_root.gem3btn._x = this._x;
_root.gem3btn._y = this._y;
}
if (_root.switch1 == 'off' && _root.switch2 == 'on' && _root.switch8 == 'on' && _root.switch3 == 'on' && _root.switch6 == 'on' && _root.switch4 == 'on' && _root.switch5 == 'off' && _root.switch7 == 'off' && _root.switch9 == 'off') {
_root.lyrabtn._x = this._x;
_root.lyrabtn._y = this._y;
}
}
}
movieClip 303 {
}
instance gem3btn of movieClip 303 {
onClipEvent (enterFrame) {
if (_root.gem3 == 'found' || _root.gem3 == 'used') {
loadMovie('', this);
}
}
onClipEvent (press) {
if (!_root.slotfree[19] == false) {
_root.gem3 = 'found';
}
}
}
movieClip 304 {
}
instance lyrabtn of movieClip 304 {
onClipEvent (enterFrame) {
if (_root.lyradoll == 'found' || _root.lyradoll == 'used') {
loadMovie('', this);
}
}
onClipEvent (press) {
if (!_root.slotfree[19] == false) {
_root.lyradoll = 'found';
}
}
}
movieClip 308 {
}
instance of movieClip 308 {
onClipEvent (enterFrame) {
if (_root.shovel == 'found' || _root.shovel == 'used') {
loadMovie('', this);
}
}
onClipEvent (press) {
if (!_root.slotfree[19] == false) {
_root.shovel = 'found';
}
}
}
movieClip 311 {
}
instance of movieClip 311 {
onClipEvent (enterFrame) {
if (_root.notes == 'found' || _root.notes == 'used') {
loadMovie('', this);
}
}
onClipEvent (press) {
if (!_root.slotfree[19] == false) {
_root.notes = 'found';
}
}
}
movieClip 313 {
}
instance of movieClip 313 {
onClipEvent (enterFrame) {
}
onClipEvent (release) {
if (_root.anyevent == false) {
_root.gotoAndStop('room10');
}
}
}
movieClip 316 {
}
movieClip 320 {
}
movieClip 322 {
frame 10 {
stop();
}
}
movieClip 324 {
frame 50 {
stop();
stopAllSounds();
_root.fallevent = 'done';
_root.anyevent = false;
_root.gotoAndStop('scene3');
}
}
movieClip 325 {
frame 1 {
stop();
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (_root.fallevent == 'now') {
this.gotoAndStop(2);
}
}
}
instance of movieClip 55 {
onClipEvent (enterFrame) {
}
onClipEvent (release) {
if (_root.anyevent == false) {
_root.gotoAndStop('room10');
}
}
}
movieClip 329 {
frame 1 {
stop();
}
}
movieClip 330 {
frame 1 {
stop();
}
}
movieClip 331 {
frame 1 {
stop();
}
}
movieClip 332 {
instance of movieClip 329 {
onClipEvent (enterFrame) {
if (_root.gem == 'used') {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (release) {
with (_root.itemgem) {
if (itemselected == true) {
_root.gem = 'used';
_root.anyitem = false;
_root.itemselected = false;
}
}
}
}
instance of movieClip 330 {
onClipEvent (enterFrame) {
if (_root.gem2 == 'used') {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (release) {
with (_root.itemgem2) {
if (itemselected == true) {
_root.gem2 = 'used';
_root.anyitem = false;
_root.itemselected = false;
}
}
}
}
instance of movieClip 331 {
onClipEvent (enterFrame) {
if (_root.gem3 == 'used') {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (release) {
with (_root.itemgem3) {
if (itemselected == true) {
_root.gem3 = 'used';
_root.anyitem = false;
_root.itemselected = false;
}
}
}
}
}
movieClip 333 {
frame 1 {
stop();
}
instance of movieClip 329 {
onClipEvent (enterFrame) {
if (_root.gem == 'used') {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (release) {
with (_root.itemgem) {
if (itemselected == true) {
_root.gem = 'used';
_root.anyitem = false;
_root.itemselected = false;
}
}
}
}
instance of movieClip 330 {
onClipEvent (enterFrame) {
if (_root.gem2 == 'used') {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (release) {
with (_root.itemgem2) {
if (itemselected == true) {
_root.gem2 = 'used';
_root.anyitem = false;
_root.itemselected = false;
}
}
}
}
instance of movieClip 331 {
onClipEvent (enterFrame) {
if (_root.gem3 == 'used') {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (release) {
with (_root.itemgem3) {
if (itemselected == true) {
_root.gem3 = 'used';
_root.anyitem = false;
_root.itemselected = false;
}
}
}
}
}
instance of movieClip 333 {
onClipEvent (enterFrame) {
if (_root.gem == 'used' && _root.gem2 == 'used' && _root.gem3 == 'used') {
_root.anyevent = true;
_root.fallevent = 'now';
loadMovie('', this);
}
}
}
movieClip 334 {
frame 1 {
stop();
}
frame 2 {
_root.switch2 = 'on';
}
frame 3 {
stop();
}
frame 4 {
_root.switch2 = 'off';
}
}
instance of movieClip 334 {
onClipEvent (enterFrame) {
if (_root.fallevent == 'now') {
loadMovie('', this);
}
if (_root.switch2 == 'off') {
this.gotoAndStop('off');
}
if (_root.switch2 == 'on') {
this.gotoAndStop('on');
}
}
onClipEvent (release) {
this.play();
}
}
movieClip 336 {
}
instance of movieClip 336 {
onClipEvent (enterFrame) {
if (_root.saw == 'found' || _root.saw == 'used') {
loadMovie('', this);
}
}
onClipEvent (press) {
if (!_root.slotfree[19] == false) {
_root.saw = 'found';
}
}
}
frame 16 {
_root.anyevent = false;
}
movieClip 337 {
frame 1 {
stop();
}
}
movieClip 340 {
frame 1 {
stop();
}
frame 10 {
stop();
}
frame 20 {
_root.gotoAndStop('room13');
_root.anyevent = false;
}
}
instance of movieClip 340 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
this.play();
}
}
}
movieClip 344 {
}
movieClip 346 {
}
instance of movieClip 346 {
onClipEvent (enterFrame) {
}
onClipEvent (release) {
if (_root.anyevent == false) {
stopAllSounds();
_root.gotoAndStop('ending');
}
}
}
frame 18 {
gamecomplete = true;
}
movieClip 354 {
}
movieClip 357 {
}
movieClip 358 {
}
movieClip 366 {
}
movieClip 367 {
}
// unknown tag 88 length 63
movieClip 372 {
}
movieClip 376 {
}
// unknown tag 88 length 63
movieClip 387 {
}
movieClip 388 {
}
movieClip 389 {
}
movieClip 390 {
frame 1 {
stopAllSounds();
}
frame 175 {
stop();
}
}
movieClip 393 {
}
movieClip 398 {
frame 74 {
stop();
}
}
frame 20 {
stopAllSounds();
_root.anyevent = false;
_root.rock = 'used';
_root.anyitem = false;
}
movieClip 400 {
}
movieClip 404 {
frame 40 {
_root.gotoAndStop('room3');
_root.anyevent = false;
}
}