Frame 1
System.security.allowDomain("http://www.systemx.co.uk");
stop();
onEnterFrame = function () {
gotBytes = _root.getBytesLoaded();
totBytes = _root.getBytesTotal();
rainbowMask._rotation = (gotBytes / totBytes) * 180;
if (_root.gotBytes == _root.totBytes) {
gotoAndStop (2);
}
};
Frame 2
stop();
_root.soundsLoaded = false;
onEnterFrame = function () {
if (_root.soundsLoaded == true) {
_root.gotoAndPlay(3);
}
};
Frame 3
onEnterFrame = function () {
};
_root.tvc_media = "831";
_root.createEmptyMovieClip("TVC_mc", 0);
System.security.allowDomain("http://www.viralchart.com");
TVC_mc.loadMovie("http://www.viralchart.com/tvc_tracker.swf");
Frame 4
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("48ecd919", this, 10301, true);
Frame 6
function goUniversal() {
getURL ("http://www.universalmusic.com", "_blank");
}
function goMatmi() {
getURL ("http://www.matmi.com", "_blank");
}
function checkPass(entered) {
if (entered == "roygbiv") {
_root.introWhereGo = "game";
_root.passwordToScene = "10";
} else if (entered == "gorok") {
_root.introWhereGo = "game";
_root.passwordToScene = "12";
} else if (entered == "molehole") {
_root.introWhereGo = "game";
_root.passwordToScene = "9";
} else if (entered == "hippo") {
_root.introWhereGo = "game";
_root.passwordToScene = "4";
} else if (entered == "dune") {
_root.introWhereGo = "game";
_root.passwordToScene = "5";
} else if (entered == "postbox") {
_root.introWhereGo = "game";
_root.passwordToScene = "3";
} else if (entered == "apple") {
_root.introWhereGo = "game";
_root.passwordToScene = "6";
} else if (entered == "fishy") {
_root.introWhereGo = "game";
_root.passwordToScene = "7";
} else if (entered == "vineyard") {
_root.introWhereGo = "game";
_root.passwordToScene = "8";
}
if (_root.passwordToScene != "") {
_root.introFade.play();
_root.royBeenFound == true;
_root.royMissionGot == true;
_root.firstPlay = false;
_root.hasBackpack = true;
_root.hasSpanner = true;
_root.shipFixed = true;
titlemusic.stop();
}
}
function resetVars() {
_root.firstPlay = true;
_root.hasBackpack = false;
_root.hasSpanner = false;
_root.royBeenFound = false;
_root.royMissionFound = false;
_root.shipFixed = false;
_root.shipParked = true;
_root.gotPostMission = false;
_root.gotPaper = false;
_root.gotPen = false;
_root.gotEnvelope = false;
_root.gotStamp = false;
_root.letterWriting = 1;
_root.gotFinishedLetter = false;
_root.deliveredLetter = false;
_root.donePostMission = false;
_root.gotOrangeMission = false;
_root.stripesToGet = 4;
_root.stripe2Ready = false;
_root.gotStripe1 = false;
_root.gotStripe2 = false;
_root.gotStripe3 = false;
_root.gotStripe4 = false;
_root.doneOrangeMission = false;
_root.gotYellowMission = false;
_root.pyramidDone = false;
_root.whichStickDidIt = 0;
_root.whichStickDidntIt = 0;
_root.whichStickDidntIt2 = 0;
_root.doneYellowMission = false;
_root.gotGreenMission = false;
_root.gotHose = false;
_root.attachedHose = false;
_root.gotKink1 = false;
_root.gotKink2 = false;
_root.gotKink3 = false;
_root.gotKink3 = false;
_root.treeWatered = false;
_root.doneGreenMission = false;
_root.gotBlueMission = false;
_root.splodgesToWipe = 10;
_root.whaleSaved = false;
_root.doneBlueMission = false;
_root.gotIndigoMission = false;
_root.gotCog1 = false;
_root.gotCog2 = false;
_root.gotCog3 = false;
_root.gotCog4 = false;
_root.fixedPress = false;
_root.doneIndigoMission = false;
_root.gotVioletMission = false;
_root.doneRythmGame = false;
_root.doneVioletMission = false;
_root.gotRedBit = false;
_root.gotOrangeBit = false;
_root.gotGreenBit = false;
_root.gotYellowBit = false;
_root.gotBlueBit = false;
_root.gotIndigoBit = false;
_root.gotVioletBit = false;
_root.roysColoursBack = false;
}
stop();
Mouse.show();
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("(C) 2008 Universal Music", goUniversal);
Functionee = new ContextMenuItem("Written and Designed by Matmi", goMatmi);
MENU.customItems.push(Functioned, Functionee);
_root.menu = MENU;
_root.radio_bg.stop();
S_mainmenu.start(0, 999);
matmiLink.onRelease = function () {
getURL ("http://www.matmi.com");
};
umusicLink.onRelease = function () {
getURL ("http://www.universalmusic.com");
};
gamesgamesLink.onRelease = function () {
getURL ("http://www.gamesgames.com");
};
_root.passwordToScene = "";
var firstPlay = true;
var hasBackpack = false;
var hasSpanner = false;
var royBeenFound = false;
var royMissionFound = false;
var shipFixed = false;
var shipParked = true;
var gotPostMission = false;
var gotPaper = false;
var gotPen = false;
var gotEnvelope = false;
var gotStamp = false;
var letterWriting = 1;
var gotFinishedLetter = false;
var deliveredLetter = false;
var donePostMission = false;
var gotOrangeMission = false;
var stripesToGet = 4;
var stripe2Ready = false;
var gotStripe1 = false;
var gotStripe2 = false;
var gotStripe3 = false;
var gotStripe4 = false;
var doneOrangeMission = false;
var gotYellowMission = false;
var pyramidDone = false;
var whichStickDidIt = 0;
var whichStickDidntIt = 0;
var whichStickDidntIt2 = 0;
var doneYellowMission = false;
var gotGreenMission = false;
var gotHose = false;
var attachedHose = false;
var gotKink1 = false;
var gotKink2 = false;
var gotKink3 = false;
var gotKink3 = false;
var treeWatered = false;
var doneGreenMission = false;
var gotBlueMission = false;
var splodgesToWipe = 10;
var whaleSaved = false;
var doneBlueMission = false;
var gotIndigoMission = false;
var gotCog1 = false;
var gotCog2 = false;
var gotCog3 = false;
var gotCog4 = false;
var fixedPress = false;
var doneIndigoMission = false;
var gotVioletMission = false;
var doneRythmGame = false;
var doneVioletMission = false;
var gotRedBit = false;
var gotOrangeBit = false;
var gotGreenBit = false;
var gotYellowBit = false;
var gotBlueBit = false;
var gotIndigoBit = false;
var gotVioletBit = false;
var roysColoursBack = false;
Frame 7
onEnterFrame = function () {
if (playon == 1) {
playon--;
play();
} else if (playon == 0) {
} else {
playon--;
}
};
S_doos.start(0, 5);
introContinue.onRelease = function () {
play();
};
Frame 30
stop();
playon = 100;
Frame 37
stop();
playon = 100;
Frame 38
bgmusic.setVolume(90);
Frame 39
bgmusic.setVolume(70);
Frame 40
bgmusic.setVolume(30);
Frame 41
bgmusic.stop();
Frame 44
stop();
playon = 150;
S_doos.stop();
_root.S_rocketDie.start();
skipper.onRelease = function () {
stopAllSounds();
_root.gotoAndPlay("game");
};
Frame 59
_root.introCrash.start();
Frame 73
_root.introBing2.start();
_root.introCrash.start();
Frame 88
_root.introBing3.start();
_root.introCrash.start();
Frame 106
stop();
playon = 100;
Frame 131
S_whistle.start();
Frame 152
_root.endIntroCrash.start();
Frame 154
stop();
playon = 100;
Frame 178
stop();
playon = 100;
Frame 179
onEnterFrame = function () {
};
Frame 181
function moveRay() {
if ((levelMap.door.hitTest(levelMap.ray._x, levelMap.ray._y) && (steps != 0)) && (_root.hasBackpack == true)) {
swapScenes(_root.doorExit);
_root.stopAllSounds();
_root.levelMap.ray.gotoAndStop("stood");
}
if (_root.steps > 0) {
_root.rayPosition = _root.rayPosition + 8;
_root.levelMap.ray._xscale = 100;
_root.steps--;
rayIsWalking = true;
} else if (_root.steps < 0) {
_root.rayPosition = _root.rayPosition - 8;
_root.levelMap.ray._xscale = -100;
_root.steps++;
rayIsWalking = true;
} else {
rayIsWalking = false;
_root.levelMap.ray.gotoAndStop("stood");
}
}
function swapScenes(whatScene) {
_root.sceneChanging = true;
_root.rayIsWalking = false;
_root.steps = 0;
_root.sceneToGo = whatScene;
sceneChanger.gotoAndPlay(1);
}
function displayText(whatText) {
_root.levelMap.rayTextBox._visible = true;
_root.levelMap.rayTextBox.gotoAndPlay("appear");
_root.levelMap.rayTextBox.thisTextNow = whatText;
_root.rayMouthTalk = true;
_root.levelMap.ray.gotoAndStop("talker");
}
function selectItem(itemNum) {
if (_root.cursorItem._currentframe >= 60) {
_root.levelMap["stick_" + _root.pickedFromStick].gotoAndStop(_root.frameWhenPicked);
_root.picked_p = null;
}
_root.bagIsOpen = false;
_root.itemBar._visible = false;
i = 1;
while (i < 6) {
_root.itemBar["item" + i]._y = 400 + (70 * i);
_root.bag.gotoAndStop(1);
i++;
}
_root.handMode = "useItem";
_root.cursorItem.gotoAndStop(itemNum + 3);
}
function doParalaxWalls() {
levelMap.wall1._xscale = 50 + (perc * 50);
levelMap.wall2._xscale = 50 + ((1 - perc) * 50);
levelMap.wall1._x = levelMap.bg1._x - levelMap.wall1._width;
levelMap.wall2._x = levelMap.bg1._x + levelMap.bg1._width;
levelMap.cubside._xscale = (1 - perc) * 50;
}
function doParalax(whatObject, depth, horz) {
var _local2 = _root.levelMap[whatObject];
if (thisSceneWalls == true) {
distance = (((-levelMap.wall1._width) - (levelMap.bg1._width - 700)) * depth) - levelMap.wall2._width;
_local2._x = ((distance * perc) + horz) + levelMap.wall1._width;
} else {
distance = (700 - levelMap.bg1._width) * depth;
_local2._x = (distance * perc) + horz;
}
}
function buttonGrow(movieClipName, rollover) {
if (movieClipName.hitTest(_root._xmouse, _root._ymouse, true)) {
movieClipName._xscale = (movieClipName._yscale = movieClipName._yscale - ((movieClipName._xscale - 120) / 5));
if (rollover == true) {
movieClipName.gotoAndStop(2);
}
} else {
movieClipName._xscale = (movieClipName._yscale = movieClipName._yscale - ((movieClipName._xscale - 100) / 5));
if (rollover == true) {
movieClipName.gotoAndStop(1);
}
}
}
function setMode(whichMode) {
_root.handMode = whichMode;
_root.cursorItem.gotoAndStop(whichMode);
if (_root.cursorItem._currentframe >= 60) {
_root.levelMap["stick_" + _root.pickedFromStick].gotoAndStop(_root.frameWhenPicked);
_root.picked_p = null;
}
}
function pickUp(objectNo, itemNo) {
_root.levelMap["clickObject" + objectNo]._visible = false;
_root.levelMap["clickItem" + objectNo]._visible = false;
_root.levelMap["clickObject" + objectNo]._x = -400;
_root.levelMap["clickItem" + objectNo]._x = -400;
inv = 1;
while (inv < 6) {
if (_root[("item" + inv) + "ItemNo"] == 0) {
itemBar["item" + inv].gotoAndStop(itemNo);
_root[("item" + inv) + "ItemNo"] = itemNo;
inv = 6;
}
inv++;
}
}
function useItem() {
_root.itemBar["item" + _root.inventoryInUse].gotoAndStop(1);
_root[("item" + _root.inventoryInUse) + "ItemNo"] = 0;
_root.cursorItem.gotoAndStop("lookAt");
_root.handMode = "lookAt";
}
function chooseHole() {
if (_root.doneRythmGame == false) {
oldHoleAt = _root.sceneHoleAt;
while (oldHoleAt == _root.sceneHoleAt) {
_root.sceneHoleAt = random(5) + 1;
}
_root.levelMap["mole" + _root.sceneHoleAt].gotoAndStop(2);
}
}
stop();
Mouse.hide();
var thisSceneWalls = true;
var handMode = "lookAt";
var actionInProcess = false;
var sceneChanging = false;
var nextText = "";
var nextTextWho = "";
var nextNextText = "";
var nextNextTextWho = "";
var rayIsWalking = false;
var rayMouthTalk = false;
var rayPosition = 100;
var steps = 0;
var rayToGo = _root.rayPosition;
var choseToLeave = false;
var sceneToGo = 1;
var bagIsOpen = false;
var itemSelected = 0;
var inventoryInUse = 0;
var item1ItemNo = 0;
var item2ItemNo = 0;
var item3ItemNo = 0;
var item4ItemNo = 0;
var item5ItemNo = 0;
_root.itemBar._visible = false;
var num_moles_avail = 0;
if (_root.passwordToScene != "") {
_root.stopAllSounds();
_root.levelMap.gotoAndStop(_root.passwordToScene);
}
i = 1;
while (i < 6) {
_root.itemBar["item" + i]._y = 400 + (70 * i);
i++;
}
_root.onEnterFrame = function () {
if (_root.thisSceneWalls == true) {
mX = (_root.rayPosition + _root.levelMap.wall1._width) - _root.levelMap.wall2._width;
levelBounds = (_root.levelMap.bg1._width + _root.levelMap.wall1._width) - _root.levelMap.wall2._width;
} else if (_root.thisSceneWalls == false) {
mX = _root.rayPosition;
levelBounds = _root.levelMap.bg1._width;
}
if (mX <= 1) {
mX = 1;
} else if (mX >= levelBounds) {
mX = levelBounds;
}
perc = mX / levelBounds;
if (_root.thisSceneWalls == true) {
movePerc = _root._xmouse - _root.levelMap.ray._x;
} else {
movePerc = _root._xmouse - _root.levelMap.ray._x;
}
moveRay();
cursorItem._x = _root._xmouse;
cursorItem._y = _root._ymouse;
buttonGrow(_root.menuBar.lookAtBut, true);
buttonGrow(_root.menuBar.talkToBut, true);
buttonGrow(_root.menuBar.walkToBut, true);
buttonGrow(_root.menuBar.pickUpBut, true);
buttonGrow(_root.menuBar.rayLogo, true);
if (_root.bagIsOpen == false) {
if (bag.hitTest(_root._xmouse, _root._ymouse)) {
bag.gotoAndStop(2);
} else {
bag.gotoAndStop(1);
}
} else {
i = 1;
while (i < 6) {
_root.itemBar["item" + i]._y = _root.itemBar["item" + i]._y - ((_root.itemBar["item" + i]._y - (-40 + (70 * i))) / 6);
i++;
}
}
if ((((((((actionInProcess == false) && (handMode == "walkTo")) && (rayIsWalking == false)) && (clicking == true)) && (_root._ymouse <= 330)) && (_root._ymouse >= 58)) && (sceneChanging == false)) && (((bagIsOpen == true) && (_root._xmouse <= 600)) || (bagIsOpen == false))) {
if (_root._xmouse > _root.levelMap.ray._x) {
buffer = -100;
} else {
buffer = 100;
}
if (_root.levelMap._currentframe != 7) {
_root.rayToGo = movePerc;
_root.steps = Math.round(rayToGo / 8);
_root.levelMap.ray.gotoAndStop("walking");
} else if (_root.gotBlueMission == false) {
_root.displayText("I should talk to that Sailor first.");
_root.actionInProcess = true;
}
}
if (clicking == true) {
clicking = false;
}
};
_root.checkValid = function () {
_root.valid = false;
if (((_root.actionInProcess == false) && (_root.rayIsWalking == false)) && (_root.handMode != "walkTo")) {
_root.valid = true;
}
};
_root.checkCloseEnough = function (whatObject) {
_root.closeEnough = false;
minBounds = _root.levelMap[whatObject]._x - 240;
maxBounds = (_root.levelMap[whatObject]._x + _root.levelMap[whatObject]._width) + 240;
if ((_root.levelMap.ray._x >= minBounds) && (_root.levelMap.ray._x <= maxBounds)) {
_root.closeEnough = true;
}
};
menuBar.lookAtBut.onRelease = function () {
_root.setMode("lookAt");
};
menuBar.talkToBut.onRelease = function () {
_root.setMode("talkTo");
};
menuBar.walkToBut.onRelease = function () {
_root.setMode("walkTo");
};
menuBar.pickUpBut.onRelease = function () {
_root.setMode("pickUp");
};
_root.bag.onRelease = function () {
if (_root.bagIsOpen == false) {
_root.S_bagOpen.start();
_root.bagIsOpen = true;
_root.itemBar._visible = true;
_root.bag.gotoAndStop(3);
} else {
_root.S_bagClose.start();
_root.bagIsOpen = false;
_root.itemBar._visible = false;
i = 1;
while (i < 6) {
_root.itemBar["item" + i]._y = 400 + (70 * i);
i++;
}
_root.bag.gotoAndStop(1);
}
};
_root.itemBar.item1.onRelease = function () {
if (item1ItemNo >= 0) {
_root.inventoryInUse = 1;
selectItem(item1ItemNo);
}
};
_root.itemBar.item2.onRelease = function () {
if (item2ItemNo >= 0) {
selectItem(item2ItemNo);
_root.inventoryInUse = 2;
}
};
_root.itemBar.item3.onRelease = function () {
if (item3ItemNo >= 0) {
selectItem(item3ItemNo);
_root.inventoryInUse = 3;
}
};
_root.itemBar.item4.onRelease = function () {
if (item4ItemNo >= 0) {
selectItem(item4ItemNo);
_root.inventoryInUse = 4;
}
};
_root.itemBar.item5.onRelease = function () {
if (item5ItemNo >= 0) {
selectItem(item5ItemNo);
_root.inventoryInUse = 5;
}
};
_root.onMouseDown = function () {
clicking = true;
};
_root.onMouseUp = function () {
clicking = false;
};
hintButton.onRelease = function () {
_root["hint" + levelMap._currentframe].start();
};
Symbol 49 MovieClip [hole2] Frame 1
this._x = 720;
this._y = _root.MrRayWalk._y + _root.MrRayWalk._height;
Symbol 51 MovieClip [holefront] Frame 1
this.onEnterFrame = function () {
this._x = _parent.hole._x;
this._y = _parent.hole._y;
};
Symbol 66 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 38
_parent._parent.finished();
stop();
Symbol 71 MovieClip [hole] Frame 1
stop();
if ((_parent.MrRayWalk._x + 80) > 710) {
this._x = _parent.MrRayWalk._x + 80;
} else {
this._x = 710;
}
this._y = _parent.MrRayWalk._y + _parent.MrRayWalk._height;
Symbol 82 MovieClip [mole] Frame 1
this.onEnterFrame = function () {
this._x = this._x - 3;
this.randomWhenPopUp = random(300) + 300;
if ((this._x <= this.randomWhenPopUp) && (this._currentframe == 1)) {
this.play();
}
};
this.onPress = function () {
if (this.hitTest(_root.levelMap.rythmGame.mole_line)) {
this.gotoAndPlay(13);
}
};
stop();
Symbol 82 MovieClip [mole] Frame 13
stop();
Symbol 82 MovieClip [mole] Frame 23
stop();
_root.num_moles_avail++;
_parent.MrRayWalk["m" + _root.num_moles_avail]._visible = 1;
_parent.d = _parent.d + 60;
this.removeMovieClip();
Symbol 85 MovieClip [violet_flower] Frame 1
this.onEnterFrame = function () {
if (this._x >= -40) {
this._x = this._x - _root.levelMap.rythmGame.flowerMoveSpeed;
} else {
this.removeMovieClip();
}
};
Symbol 87 MovieClip [bubble] Frame 1
scale = random(80) + 20;
this._yscale = (this._xscale = scale);
this.float = 0;
this.onEnterFrame = function () {
this._x = this._x + (Math.random(2) - 1);
this._y = this._y + this.float;
this._xscale = scale + this.float;
this.float = this.float - 0.5;
if (this._y <= -300) {
this.removeMovieClip();
}
};
Symbol 96 MovieClip Frame 1
_root.S_doos = new Sound(S_nav);
_root.S_doos.attachSound("doos");
_root.S_mainmenu = new Sound(S_nav);
_root.S_mainmenu.attachSound("roysmall");
_root.S_inOut = new Sound(S_nav);
_root.S_inOut.attachSound("inOutSound");
_root.S_bagOpen = new Sound(S_nav);
_root.S_bagOpen.attachSound("openBagSound");
_root.S_bagClose = new Sound(S_nav);
_root.S_bagClose.attachSound("closeBagSound");
_root.S_gotRainbow = new Sound(S_sfx);
_root.S_gotRainbow.attachSound("gotRainbowSound");
_root.tapSqueak = new Sound(S_sfx);
_root.tapSqueak.attachSound("tapSqueakSound");
_root.ribbit = new Sound(S_sfx);
_root.ribbit.attachSound("ribbitSound");
_root.waterSpray = new Sound(S_sfx);
_root.waterSpray.attachSound("waterSpraySound");
_root.S_mew = new Sound(S_sfx);
_root.S_mew.attachSound("mewSound");
_root.S_postBoxLaugh = new Sound(S_sfx);
_root.S_postBoxLaugh.attachSound("postBoxLaughSound");
_root.S_whaleLaugh = new Sound(S_sfx);
_root.S_whaleLaugh.attachSound("whaleLaughSound");
_root.S_tingle = new Sound(S_sfx);
_root.S_tingle.attachSound("tingleSound");
_root.crying_sound = new Sound(S_sfx);
_root.crying_sound.attachSound("crying_sound");
_root.snooring = new Sound(S_sfx);
_root.snooring.attachSound("snooring");
_root.waterfallsound = new Sound(S_bg);
_root.waterfallsound.attachSound("waterfall");
_root.desertsound = new Sound(S_bg);
_root.desertsound.attachSound("desertsound");
_root.seagullsound = new Sound(S_bg);
_root.seagullsound.attachSound("seagullsound");
_root.runningwater = new Sound(S_bg);
_root.runningwater.attachSound("runningwater");
_root.underwater = new Sound(S_bg);
_root.underwater.attachSound("underwater");
_root.green_bg = new Sound(S_bg);
_root.green_bg.attachSound("green_bg");
_root.red_bg = new Sound(S_bg);
_root.red_bg.attachSound("red_bg");
_root.S_string1 = new Sound(S_bg);
_root.S_string1.attachSound("nloew");
_root.S_string2 = new Sound(S_bg);
_root.S_string2.attachSound("na");
_root.S_string3 = new Sound(S_bg);
_root.S_string3.attachSound("nd");
_root.S_string4 = new Sound(S_bg);
_root.S_string4.attachSound("ng");
_root.S_string5 = new Sound(S_bg);
_root.S_string5.attachSound("nb");
_root.S_string6 = new Sound(S_bg);
_root.S_string6.attachSound("nhie");
_root.S_rocketFly = new Sound(S_sfx);
_root.S_rocketFly.attachSound("rocketFlySound");
_root.S_rocketDie = new Sound(S_sfx);
_root.S_rocketDie.attachSound("rocketDieSound");
_root.introCrash = new Sound(S_sfx);
_root.introCrash.attachSound("crash");
_root.endIntroCrash = new Sound(S_nav);
_root.endIntroCrash.attachSound("endCrash");
_root.S_whistle = new Sound(S_sfx);
_root.S_whistle.attachSound("whistleSound");
_root.introBing1 = new Sound(S_sfx);
_root.introBing1.attachSound("bing1");
_root.introBing2 = new Sound(S_sfx);
_root.introBing2.attachSound("bing2");
_root.introBing3 = new Sound(S_sfx);
_root.introBing3.attachSound("bing3");
_root.hint1 = new Sound(S_sfx);
_root.hint1.attachSound("hint0Sound");
_root.hint2 = new Sound(S_sfx);
_root.hint2.attachSound("hint1Sound");
_root.hint3 = new Sound(S_sfx);
_root.hint3.attachSound("hint2Sound");
_root.hint4 = new Sound(S_sfx);
_root.hint4.attachSound("hint3Sound");
_root.hint5 = new Sound(S_sfx);
_root.hint5.attachSound("hint4Sound");
_root.hint6 = new Sound(S_sfx);
_root.hint6.attachSound("hint5Sound");
_root.hint7 = new Sound(S_sfx);
_root.hint7.attachSound("hint6Sound");
_root.hint8 = new Sound(S_sfx);
_root.hint8.attachSound("hint7Sound");
_root.hint9 = new Sound(S_sfx);
_root.hint9.attachSound("hint8Sound");
_root.hint10 = new Sound(S_sfx);
_root.hint10.attachSound("hint9Sound");
_root.hint11 = new Sound(S_sfx);
_root.hint11.attachSound("hint6Sound");
_root.soundsLoaded = true;
Symbol 105 MovieClip Frame 1
angle = 0;
this.onEnterFrame = function () {
this._rotation = Math.sin(angle / 30) * 10;
angle = angle + 0.2;
this._x = (Math.sin(angle / 30) * 180) + 300;
this._xscale = (this._yscale = (Math.sin(angle / 30) * 2) + 200);
};
Symbol 108 MovieClip Frame 1
stop();
Symbol 108 MovieClip Frame 2
_root.stopAllSounds();
_root.S_inOut.start();
Symbol 108 MovieClip Frame 20
_root.gotoAndPlay(_root.introWhereGo);
Symbol 115 MovieClip Frame 16
stop();
Symbol 118 MovieClip Frame 1
stop();
waitTime = 0;
wait = random(30);
onEnterFrame = function () {
waitTime++;
if (waitTime == wait) {
play();
waitTime = 0;
}
};
Symbol 120 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.titleMove == true) {
this._y = this._y - ((this._y - 100) / 5);
this._xscale = (this._yscale = this._yscale - ((this._xscale - 90) / 5));
} else {
this._y = this._y - ((this._y - 155) / 5);
this._xscale = (this._yscale = this._yscale - ((this._xscale - 100) / 5));
}
};
Symbol 136 MovieClip Frame 1
Symbol 145 MovieClip Frame 1
Mouse.show();
_root.titleMove = false;
this.onEnterFrame = function () {
if (_root.titleMove == true) {
this._y = this._y - ((this._y - 300) / 5);
} else {
this._y = this._y - ((this._y - 220) / 5);
}
h = 1;
while (h < 5) {
if (_root.titleBar[("titleBut" + h) + "hitter"].hitTest(_root._xmouse, _root._ymouse, true)) {
_root.titleBar["titleBut" + h]._xscale = (_root.titleBar["titleBut" + h]._yscale = 120);
_root.titleBar["titleBut" + h].gotoAndStop(2);
} else {
_root.titleBar["titleBut" + h]._xscale = (_root.titleBar["titleBut" + h]._yscale = 100);
_root.titleBar["titleBut" + h].gotoAndStop(1);
}
h++;
}
};
titleBut1.gotoAndStop(1);
titleBut2.gotoAndStop(1);
titleBut3.gotoAndStop(1);
titleBut4.gotoAndStop(1);
titleMrRayLink.onRelease = function () {
getURL ("http://www.mrraymusic.com", "_blank");
};
titleBut1hitter.onRelease = function () {
_root.resetVars();
stopAllSounds();
_root.introFade.play();
_root.introWhereGo = "introAnim";
};
titleBut2hitter.onRelease = function () {
if (_root.howToInfo._currentframe == 1) {
_root.titleMove = true;
_root.howToInfo.gotoAndPlay(2);
_root.aboutInfo.gotoAndStop(1);
_root.passInfo.gotoAndStop(1);
}
};
titleBut3hitter.onRelease = function () {
if (_root.aboutInfo._currentframe == 1) {
_root.titleMove = true;
_root.howToInfo.gotoAndStop(1);
_root.aboutInfo.gotoAndPlay(2);
_root.passInfo.gotoAndStop(1);
}
};
titleBut4hitter.onRelease = function () {
if (_root.aboutInfo._currentframe == 1) {
_root.titleMove = true;
_root.howToInfo.gotoAndStop(1);
_root.aboutInfo.gotoAndStop(1);
_root.passInfo.gotoAndPlay(2);
}
};
Symbol 156 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 7
stop();
submitty.onEnterFrame = function () {
if (Key.isDown(13)) {
_root.checkPass(passSpace.text);
}
};
passSpace.onSetFocus = function () {
passSpace.text = "";
};
submitty.onRelease = function () {
_root.checkPass(passSpace.text);
};
Symbol 159 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 7
stop();
Symbol 161 MovieClip Frame 1
stop();
Symbol 161 MovieClip Frame 7
stop();
Symbol 164 MovieClip Frame 20
stop();
Symbol 206 MovieClip Frame 1
angle = 0;
this.onEnterFrame = function () {
kalienHead._rotation = (Math.sin(angle) * 10) - 180;
royHead._rotation = (Math.sin(angle) * 10) - 180;
angle = angle + 0.2;
};
Symbol 251 MovieClip Frame 25
stop();
Symbol 267 MovieClip Frame 1
stop();
Symbol 267 MovieClip Frame 2
textBubble.spokenText.text = thisTextNow;
play();
Symbol 267 MovieClip Frame 10
stop();
textBubble.yesButton.onRelease = function () {
_root.choseToLeave = true;
gotoAndPlay (11);
_root.actionInProgress = true;
};
textBubble.noButton.onRelease = function () {
_root.choseToLeave = false;
gotoAndPlay (11);
_root.actionInProgress = true;
};
Symbol 267 MovieClip Frame 11
Symbol 267 MovieClip Frame 17
if (_root.choseToLeave == true) {
_root.swapScenes(_root.thisPlanetId);
_root.actionInProgress = false;
} else {
gotoAndStop (1);
_root.actionInProgress = false;
}
_root.nextTextWho = "";
Symbol 273 MovieClip Frame 1
_root.S_tingle.start();
onEnterFrame = function () {
this._rotation = this._rotation + 10;
if (this._alpha <= 80) {
this._alpha = this._alpha + 5;
}
};
Symbol 286 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
if ((((_root.planetredVisible >= 1) && (planetArea.hitTest(_root.levelMap.ray.locator))) && (visitBox._currentframe == 1)) && (_root.displayedPlanet2 == false)) {
visitBox.gotoAndPlay("choiceAppear");
_root.thisPlanetId = 2;
_root.displayedPlanet2 = true;
} else if (!planetArea.hitTest(_root.levelMap.ray.locator)) {
visitBox.gotoAndStop(1);
_root.displayedPlanet2 = false;
}
};
Symbol 290 MovieClip Frame 1
stop();
Symbol 290 MovieClip Frame 20
_root.gotoAndPlay("game");
Symbol 294 MovieClip Frame 1
stop();
Symbol 294 MovieClip Frame 2
_root.stopAllSounds();
_root.sceneChanging = true;
_root.S_inOut.start();
Symbol 294 MovieClip Frame 13
_root.levelMap.gotoAndStop(_root.sceneToGo);
Symbol 294 MovieClip Frame 25
_root.sceneChanging = false;
Symbol 355 MovieClip Frame 1
stop();
Symbol 368 MovieClip Frame 1
stop();
Symbol 376 MovieClip Frame 1
stop();
Symbol 385 MovieClip Frame 15
stop();
Symbol 386 MovieClip Frame 1
stop();
if (_root.hasBackpack == true) {
this._visible = true;
}
Symbol 410 MovieClip Frame 1
quitter.onRelease = function () {
_root.radio_bg.stop();
_root.titleMove = false;
_root.gotoAndStop("titleMenu");
_root.Mouse.show();
Mouse.show();
_root.stopAllSounds();
};
moreBut.onRelease = function () {
getURL ("http://www.mrraymusic.com", "_blank");
};
this.onEnterFrame = function () {
if (!this.hitTest(_root._xmouse, _root._ymouse, true)) {
this._visible = false;
}
if (_parent.rayLogo.hitTest(_root._xmouse, _root._ymouse, true)) {
this._visible = true;
}
};
Symbol 412 MovieClip Frame 1
quitBar._visible = false;
Symbol 413 MovieClip Frame 1
onEnterFrame = function () {
this._rotation = this._rotation + 10;
if ((this._alpha != 100) && (sendSpaceNext == 1)) {
this._alpha = this._alpha + 5;
}
};
Symbol 416 MovieClip Frame 1
redPiece._visible = false;
orangePiece._visible = false;
yellowPiece._visible = false;
greenPiece._visible = false;
bluePiece._visible = false;
indigoPiece._visible = false;
violetPiece._visible = false;
sendSpaceNext = 0;
stop();
Symbol 416 MovieClip Frame 2
textBubble.spokenText.text = thisTextNow;
if (((((((redPiece._visible == true) || (orangePiece._visible == true)) || (yellowPiece._visible == true)) || (greenPiece._visible == true)) || (bluePiece._visible == true)) || (indigoPiece._visible == true)) || (violetPiece._visible == true)) {
sendSpaceNext = 1;
}
play();
Symbol 416 MovieClip Frame 10
stop();
this.onMouseDown = function () {
if ((this._currentframe == 10) && (sendSpaceNext == 0)) {
gotoAndPlay (11);
} else if (((this._currentframe == 10) && (sendSpaceNext == 1)) && (_root.levelMap._currentframe != 9)) {
gotoAndPlay (2);
thisTextNow = "Lets get the next one!";
sendSpaceNext = 2;
redPiece._visible = false;
orangePiece._visible = false;
yellowPiece._visible = false;
greenPiece._visible = false;
bluePiece._visible = false;
indigoPiece._visible = false;
violetPiece._visible = false;
} else if (((this._currentframe == 10) && (sendSpaceNext == 1)) && (_root.levelMap._currentframe == 9)) {
gotoAndPlay (2);
thisTextNow = "Lets give the rainbow back to Roy!";
sendSpaceNext = 2;
glower._alpha = 0;
redPiece._visible = false;
orangePiece._visible = false;
yellowPiece._visible = false;
greenPiece._visible = false;
bluePiece._visible = false;
indigoPiece._visible = false;
violetPiece._visible = false;
} else if ((this._currentframe == 10) && (sendSpaceNext == 2)) {
gotoAndPlay (11);
sendSpaceNext = 0;
_root.swapScenes("space");
}
};
Symbol 420 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.nextTextWho != "") {
this._x = ((_root.levelMap[_root.nextTextWho]._x / 700) * 230) + 40;
} else {
this._x = ((_root.levelMap[_root.nextNextTextWho]._x / 700) * 230) + 40;
}
if (this._x < 20) {
this._x = 20;
} else if (this._x > 270) {
this._x = 270;
}
if (this._x > 220) {
this._xscale = -100;
} else if (this._x < 220) {
this._xscale = 100;
}
};
Symbol 422 MovieClip Frame 1
stop();
Symbol 422 MovieClip Frame 2
textBubble.spokenText.text = thisTextNow;
play();
_root.actionInProgress = true;
Symbol 422 MovieClip Frame 10
stop();
this.onMouseDown = function () {
if (this._currentframe == 10) {
gotoAndPlay (11);
}
};
Symbol 422 MovieClip Frame 11
if ((_root.gotPen == false) && (_root.nextText == "Here, you can use my pen to write a letter.")) {
_root.gotPen = true;
_root.levelMap.postMan.pen._visible = false;
_root.pickUp(8, 6);
}
if (_root.nextNextText == "Don't worry, I'm good at puzzles!") {
_root.levelMap.how_to_puzzle._visible = true;
_root.levelMap.how_to_puzzle.play();
_root.actionInProgress = true;
}
Symbol 422 MovieClip Frame 17
if ((_root.nextText != "") && (_root.nextTextWho != "ray")) {
thisTextNow = _root.nextText;
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.nextText = "";
_root.actionInProcess = true;
} else if ((_root.nextText != "") && (_root.nextTextWho == "ray")) {
_root.levelMap.rayTextBox.thisTextNow = _root.nextText;
_root.rayMouthTalk = true;
_root.nextText = "";
_root.levelMap.ray.gotoAndStop("talker");
_root.levelMap.rayTextBox.gotoAndPlay(2);
_root.actionInProcess = true;
} else if ((_root.nextNextText != "") && (_root.nextNextTextWho != "ray")) {
thisTextNow = _root.nextNextText;
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.nextNextText = "";
_root.actionInProcess = true;
} else if ((_root.nextNextText != "") && (_root.nextNextTextWho == "ray")) {
_root.levelMap.rayTextBox.thisTextNow = _root.nextNextText;
_root.rayMouthTalk = true;
_root.nextNextText = "";
_root.levelMap.ray.gotoAndStop("talker");
_root.levelMap.rayTextBox.gotoAndPlay(2);
_root.actionInProcess = true;
} else {
if (((_root.needToSaveWhale == true) && (_root.levelMap._currentframe == 7)) && (_root.whaleSaved == false)) {
_root.levelMap.diveChoice.gotoAndPlay(2);
_root.needToSaveWhale = false;
_root.actionInProcess = true;
} else if (((_root.needToHelpRoy == true) && (_root.levelMap._currentframe == 10)) && (_root.royColoursBack != true)) {
_root.levelMap.helpChoice.gotoAndPlay(2);
_root.needToHelpRoy = false;
_root.actionInProcess = true;
} else if ((_root.goIntoSpaceQuestion == true) && (_root.levelMap._currentframe == 2)) {
_root.levelMap.flyChoice.gotoAndPlay(2);
_root.goIntoSpaceQuestion = false;
_root.actionInProcess = true;
} else {
_root.actionInProcess = false;
}
gotoAndStop (1);
_root.rayMouthTalk = false;
_root.levelMap.ray.gotoAndStop("stood");
}
Symbol 426 MovieClip Frame 1
this.onEnterFrame = function () {
this._x = ((_root.levelMap.ray._x / 700) * 230) + 40;
if (this._x < 20) {
this._x = 20;
} else if (this._x > 270) {
this._x = 270;
}
if (this._x > 220) {
this._xscale = -100;
} else if (this._x < 220) {
this._xscale = 100;
}
};
Symbol 428 MovieClip Frame 1
stop();
Symbol 428 MovieClip Frame 2
textBubble.spokenText.text = thisTextNow;
play();
Symbol 428 MovieClip Frame 10
stop();
this.onMouseDown = function () {
if (this._currentframe == 10) {
gotoAndPlay (11);
}
};
Symbol 428 MovieClip Frame 11
Symbol 428 MovieClip Frame 17
if ((_root.nextText != "") && (_root.nextTextWho == "ray")) {
thisTextNow = _root.nextText;
this.gotoAndPlay(2);
_root.nextText = "";
} else if (_root.nextText != "") {
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.levelMap.otherTextBox.thisTextNow = _root.nextText;
_root.rayMouthTalk = false;
_root.levelMap.ray.gotoAndStop("stood");
_root.nextText = "";
} else if ((_root.nextNextText != "") && (_root.nextNextTextWho == "ray")) {
thisTextNow = _root.nextNextText;
this.gotoAndPlay(2);
_root.nextNextText = "";
} else if (_root.nextNextText != "") {
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.levelMap.otherTextBox.thisTextNow = _root.nextNextText;
_root.rayMouthTalk = false;
_root.levelMap.ray.gotoAndStop("stood");
_root.nextNextText = "";
} else {
_root.actionInProcess = false;
_root.rayMouthTalk = false;
_root.levelMap.ray.gotoAndStop("stood");
if (_root.violetGameStarter == true) {
_root.levelMap.rythmGame._visible = true;
_root.levelMap.rythmGame.revealer.gotoAndPlay(2);
_root.levelMap.rythmGame.gotoAndStop(1);
_parent.violetLevelBits(1, 0);
_root.handMode = "walkTo";
_root.cursorItem.gotoAndStop("walkTo");
_root.violetGameStarter = false;
_root.actionInProcess = true;
} else if (_root.goDoEndScene == true) {
_root.swapScenes("space");
}
}
Symbol 449 MovieClip Frame 1
stop();
if (_root.rayMouthTalk == true) {
gotoAndPlay (2);
}
Symbol 488 MovieClip Frame 1
stop();
Symbol 496 MovieClip Frame 1
stop();
this.talkAble = true;
Symbol 503 MovieClip Frame 30
gotoAndPlay (2);
Symbol 529 MovieClip Frame 1
stop();
Symbol 529 MovieClip Frame 2
play();
Symbol 529 MovieClip Frame 10
stop();
_root.choseToLeave = false;
textBubble.yesButton.onRelease = function () {
_root.choseToLeave = true;
gotoAndPlay (11);
_root.actionInProcess = true;
};
textBubble.noButton.onRelease = function () {
_root.choseToLeave = false;
gotoAndPlay (11);
_root.actionInProcess = true;
};
Symbol 529 MovieClip Frame 11
Symbol 529 MovieClip Frame 17
if (_root.choseToLeave == true) {
_root.actionInProcess = false;
_root.levelMap.parkedShip.gotoAndStop(3);
} else {
_root.actionInProcess = false;
this.gotoAndStop(1);
}
_root.nextTextWho = "";
Symbol 566 MovieClip Frame 1
stop();
Symbol 570 MovieClip Frame 1
angle = 0;
this.onEnterFrame = function () {
kalienHead._rotation = Math.sin(angle) * 10;
royHead._rotation = (Math.sin(angle) * 10) - 180;
angle = angle + 0.2;
};
Symbol 576 MovieClip Frame 1
stop();
Symbol 579 MovieClip Frame 1
_root.levelMap.ray._visible = false;
_root.levelMap.kalien._visible = false;
Symbol 579 MovieClip Frame 20
_root.swapScenes("space");
Symbol 579 MovieClip Frame 26
stop();
Symbol 580 MovieClip Frame 1
stop();
Symbol 603 MovieClip Frame 1
stop();
Symbol 609 MovieClip Frame 1
stop();
Symbol 610 MovieClip Frame 95
gotoAndPlay (1);
Symbol 610 MovieClip Frame 110
stop();
this.roy;
Symbol 631 MovieClip Frame 1
doneButton.onRelease = function () {
_root.levelMap.writeLetter._visible = false;
_root.letterWriting = 3;
_root.levelMap.writingDesk.gotoAndStop(3);
_root.displayText("Now I need to put it in an envelope.");
_root.nextText = "and put a stamp on it";
_root.nextTextWho = "ray";
_root.actionInProcess = true;
};
Symbol 680 MovieClip Frame 18
gotoAndPlay (11);
randomLaugh = random(16);
if (randomLaugh >= 15) {
_root.S_postBoxLaugh.start();
}
Symbol 681 MovieClip Frame 1
stop();
_root.crying_sound.start();
Symbol 684 MovieClip Frame 1
stop();
Symbol 684 MovieClip Frame 27
stop();
Symbol 693 MovieClip Frame 1
stop();
Symbol 710 MovieClip Frame 1
stop();
Symbol 710 MovieClip Frame 21
_root.levelMap.clickObject5._visible = true;
Symbol 710 MovieClip Frame 26
stop();
_root.snooring.start(0, 4);
Symbol 723 MovieClip Frame 1
stop();
Symbol 723 MovieClip Frame 72
gotoAndPlay (46);
Symbol 757 MovieClip Frame 1
stop();
Symbol 766 MovieClip Frame 1
this._xscale = (this._yscale = random(80) + 80);
this._rotation = random(360);
rotationMer = Math.random(7) - 3;
this.onEnterFrame = function () {
this._rotation = this._rotation + rotationMer;
};
Symbol 791 MovieClip Frame 1
stop();
Symbol 791 MovieClip Frame 27
stop();
Symbol 800 MovieClip Frame 1
stop();
if (_root.planetredVisible == 1) {
_root.planetredVisible == 2;
gotoAndPlay (2);
} else if (_root.planetredVisible == 2) {
gotoAndStop (50);
}
Symbol 800 MovieClip Frame 50
stop();
this.onEnterFrame = function () {
if ((((_root.planetredVisible >= 1) && (planetArea.hitTest(_root.levelMap.ray.locator))) && (visitBox._currentframe == 1)) && (_root.displayedPlanet3 == false)) {
visitBox.gotoAndPlay("choiceAppear");
_root.thisPlanetId = 3;
_root.displayedPlanet3 = true;
} else if (!planetArea.hitTest(_root.levelMap.ray.locator)) {
visitBox.gotoAndStop(1);
_root.displayedPlanet3 = false;
}
};
Symbol 824 MovieClip Frame 1
xins.onRelease = function () {
_root.levelMap.how_to_puzzle._visible = false;
_root.levelMap.how_to_puzzle.gotoAndStop(1);
};
stop();
Symbol 824 MovieClip Frame 15
stop();
countDown = 100;
playArrow.onRelease = function () {
play();
};
this.onEnterFrame = function () {
countDown--;
if (countDown == 0) {
play();
}
};
Symbol 824 MovieClip Frame 50
stop();
countDown = 100;
playArrow.onRelease = function () {
play();
};
this.onEnterFrame = function () {
countDown--;
if (countDown == 0) {
play();
}
};
Symbol 824 MovieClip Frame 90
stop();
countDown = 100;
playArrow.onRelease = function () {
play();
};
this.onEnterFrame = function () {
countDown--;
if (countDown == 0) {
play();
}
};
Symbol 824 MovieClip Frame 120
stop();
countDown = 100;
playArrow.onRelease = function () {
play();
};
this.onEnterFrame = function () {
countDown--;
if (countDown == 0) {
play();
}
};
Symbol 824 MovieClip Frame 150
stop();
countDown = 100;
playArrow.onRelease = function () {
play();
};
this.onEnterFrame = function () {
countDown--;
if (countDown == 0) {
play();
}
};
Symbol 825 MovieClip Frame 1
stop();
Symbol 825 MovieClip Frame 27
stop();
Symbol 846 MovieClip Frame 20
if ((_root.levelMap.yellowAppear._visible == false) && (_root.gotYellowBit == false)) {
_root.levelMap.yellowAppear._visible = true;
_root.levelMap.yellowAppear.gotoAndPlay(2);
_root.levelMap.camel.gotoAndStop(2);
}
Symbol 847 MovieClip Frame 1
stop();
Symbol 859 MovieClip Frame 10
stop();
Symbol 861 MovieClip Frame 20
stop();
Symbol 864 MovieClip Frame 1
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if (_root.handMode == "pickUp") {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 1;
current_1 = 1;
current_2 = 2;
current_3 = 3;
current_4 = 4;
function no(x) {
if (x == 1) {
_root.displayText("I can't move that. There is a piece above it");
}
_root.actionInProcess = true;
}
function place(what, where) {
if (((((current_1 == 0) && (current_2 == 0)) && (current_3 == 0)) && (current_4 == 0)) || (top_1 > what)) {
_root.cursorItem.gotoAndStop("pickUp");
_root.handMode = "pickUp";
if ((((_root.levelMap["stick_" + where].current_1 == 0) && (_root.levelMap["stick_" + where].current_2 == 0)) && (_root.levelMap["stick_" + where].current_3 == 0)) && (_root.levelMap["stick_" + where].current_4 == 0)) {
_root.levelMap["stick_" + where].gotoAndStop("s_0_0_0_" + what);
} else if ((((_root.levelMap["stick_" + where].current_1 == 0) && (_root.levelMap["stick_" + where].current_2 == 0)) && (_root.levelMap["stick_" + where].current_3 == 0)) && (_root.levelMap["stick_" + where].current_4 != 0)) {
_root.levelMap["stick_" + where].gotoAndStop((("s_0_0_" + what) + "_") + _root.levelMap["stick_" + where].current_4);
} else if (((_root.levelMap["stick_" + where].current_1 == 0) && (_root.levelMap["stick_" + where].current_2 == 0)) && (_root.levelMap["stick_" + where].current_3 != 0)) {
_root.levelMap["stick_" + where].gotoAndStop((((("s_0_" + what) + "_") + _root.levelMap["stick_" + where].current_3) + "_") + _root.levelMap["stick_" + where].current_4);
} else if ((_root.levelMap["stick_" + where].current_1 == 0) && (_root.levelMap["stick_" + where].current_2 != 0)) {
_root.levelMap["stick_" + where].gotoAndStop((((((("s_" + what) + "_") + _root.levelMap["stick_" + where].current_2) + "_") + _root.levelMap["stick_" + where].current_3) + "_") + _root.levelMap["stick_" + where].current_4);
}
if (_root.levelMap.stick_1._currentframe == 1) {
_root.whichStickDidIt = 1;
_root.whichStickDidntIt = 2;
_root.whichStickDidntIt2 = 3;
_root.levelMap["stick_" + whichStick].gotoAndStop(65);
} else if (_root.levelMap.stick_2._currentframe == 1) {
_root.whichStickDidIt = 2;
_root.whichStickDidntIt = 1;
_root.whichStickDidntIt2 = 3;
} else if (_root.levelMap.stick_3._currentframe == 1) {
_root.whichStickDidIt = 3;
_root.whichStickDidntIt = 1;
_root.whichStickDidntIt2 = 2;
}
if (((_root.levelMap.stick_1._currentframe == 1) || (_root.levelMap.stick_2._currentframe == 1)) || (_root.levelMap.stick_3._currentframe == 1)) {
_root.levelMap["stick_" + _root.whichStickDidntIt].gotoAndStop(65);
_root.levelMap["stick_" + _root.whichStickDidntIt2].gotoAndStop(65);
_root.levelMap["stick_" + _root.whichStickDidIt].gotoAndStop(66);
_root.pyramidDone = true;
}
_root.picked_p = null;
} else {
_root.levelMap["stick_" + _root.pickedFromStick].gotoAndStop(_root.frameWhenPicked);
_root.picked_p = null;
_root.cursorItem.gotoAndStop("pickUp");
_root.handMode = "pickUp";
_root.displayText("I can't put that there.");
_root.actionInProcess = true;
}
}
function change_mouse(x) {
_root.cursorItem.gotoAndStop(x);
_root.handMode = "useItem";
}
bob.onRelease = function () {
if (_root.picked_p != null) {
place(_root.picked_p, nam);
}
};
Symbol 864 MovieClip Frame 2
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 2;
current_1 = 0;
current_2 = 2;
current_3 = 3;
current_4 = 4;
Symbol 864 MovieClip Frame 3
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 3;
current_1 = 0;
current_2 = 0;
current_3 = 3;
current_4 = 4;
Symbol 864 MovieClip Frame 4
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 4;
current_1 = 0;
current_2 = 0;
current_3 = 0;
current_4 = 4;
Symbol 864 MovieClip Frame 5
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 2;
current_1 = 2;
current_2 = 1;
current_3 = 3;
current_4 = 4;
Symbol 864 MovieClip Frame 6
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 1;
current_1 = 0;
current_2 = 1;
current_3 = 3;
current_4 = 4;
Symbol 864 MovieClip Frame 7
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 3;
current_1 = 3;
current_2 = 1;
current_3 = 2;
current_4 = 4;
Symbol 864 MovieClip Frame 8
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 1;
current_1 = 0;
current_2 = 1;
current_3 = 2;
current_4 = 4;
Symbol 864 MovieClip Frame 9
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 2;
current_1 = 0;
current_2 = 0;
current_3 = 2;
current_4 = 4;
Symbol 864 MovieClip Frame 10
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 1;
current_1 = 1;
current_2 = 3;
current_3 = 2;
current_4 = 4;
Symbol 864 MovieClip Frame 11
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 3;
current_1 = 0;
current_2 = 3;
current_3 = 2;
current_4 = 4;
Symbol 864 MovieClip Frame 12
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 2;
current_1 = 2;
current_2 = 3;
current_3 = 1;
current_4 = 4;
Symbol 864 MovieClip Frame 13
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 3;
current_1 = 0;
current_2 = 3;
current_3 = 1;
current_4 = 4;
Symbol 864 MovieClip Frame 14
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 1;
current_1 = 0;
current_2 = 0;
current_3 = 1;
current_4 = 4;
Symbol 864 MovieClip Frame 15
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 3;
current_1 = 3;
current_2 = 2;
current_3 = 1;
current_4 = 4;
Symbol 864 MovieClip Frame 16
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 2;
current_1 = 0;
current_2 = 2;
current_3 = 1;
current_4 = 4;
Symbol 864 MovieClip Frame 17
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 1;
current_1 = 1;
current_2 = 2;
current_3 = 4;
current_4 = 3;
Symbol 864 MovieClip Frame 18
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 2;
current_1 = 0;
current_2 = 2;
current_3 = 4;
current_4 = 3;
Symbol 864 MovieClip Frame 19
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 4;
current_1 = 0;
current_2 = 0;
current_3 = 4;
current_4 = 3;
Symbol 864 MovieClip Frame 20
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 2;
current_1 = 2;
current_2 = 1;
current_3 = 4;
current_4 = 3;
Symbol 864 MovieClip Frame 21
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 1;
current_1 = 0;
current_2 = 1;
current_3 = 4;
current_4 = 3;
Symbol 864 MovieClip Frame 22
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 3;
current_1 = 3;
current_2 = 1;
current_3 = 4;
current_4 = 2;
Symbol 864 MovieClip Frame 23
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 1;
current_1 = 0;
current_2 = 1;
current_3 = 4;
current_4 = 2;
Symbol 864 MovieClip Frame 24
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 4;
current_1 = 0;
current_2 = 0;
current_3 = 4;
current_4 = 2;
Symbol 864 MovieClip Frame 25
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 1;
current_1 = 1;
current_2 = 3;
current_3 = 4;
current_4 = 2;
Symbol 864 MovieClip Frame 26
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 3;
current_1 = 0;
current_2 = 3;
current_3 = 4;
current_4 = 2;
Symbol 864 MovieClip Frame 27
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 2;
current_1 = 2;
current_2 = 3;
current_3 = 4;
current_4 = 1;
Symbol 864 MovieClip Frame 28
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 3;
current_1 = 0;
current_2 = 3;
current_3 = 4;
current_4 = 1;
Symbol 864 MovieClip Frame 29
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 4;
current_1 = 0;
current_2 = 0;
current_3 = 4;
current_4 = 1;
Symbol 864 MovieClip Frame 30
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 3;
current_1 = 3;
current_2 = 2;
current_3 = 4;
current_4 = 1;
Symbol 864 MovieClip Frame 31
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 2;
current_1 = 0;
current_2 = 2;
current_3 = 4;
current_4 = 1;
Symbol 864 MovieClip Frame 32
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 1;
current_1 = 1;
current_2 = 4;
current_3 = 3;
current_4 = 2;
Symbol 864 MovieClip Frame 33
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 4;
current_1 = 0;
current_2 = 4;
current_3 = 3;
current_4 = 2;
Symbol 864 MovieClip Frame 34
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 2;
current_1 = 2;
current_2 = 4;
current_3 = 3;
current_4 = 1;
Symbol 864 MovieClip Frame 35
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 4;
current_1 = 0;
current_2 = 4;
current_3 = 3;
current_4 = 1;
Symbol 864 MovieClip Frame 36
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 3;
current_1 = 3;
current_2 = 4;
current_3 = 2;
current_4 = 1;
Symbol 864 MovieClip Frame 37
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 4;
current_1 = 0;
current_2 = 4;
current_3 = 2;
current_4 = 1;
Symbol 864 MovieClip Frame 38
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 1;
current_1 = 1;
current_2 = 4;
current_3 = 2;
current_4 = 3;
Symbol 864 MovieClip Frame 39
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 4;
current_1 = 0;
current_2 = 4;
current_3 = 2;
current_4 = 3;
Symbol 864 MovieClip Frame 40
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 2;
current_1 = 2;
current_2 = 4;
current_3 = 1;
current_4 = 3;
Symbol 864 MovieClip Frame 41
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 4;
current_1 = 0;
current_2 = 4;
current_3 = 1;
current_4 = 3;
Symbol 864 MovieClip Frame 42
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 3;
current_1 = 3;
current_2 = 4;
current_3 = 1;
current_4 = 2;
Symbol 864 MovieClip Frame 43
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 4;
current_1 = 0;
current_2 = 4;
current_3 = 1;
current_4 = 2;
Symbol 864 MovieClip Frame 44
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 4;
current_1 = 4;
current_2 = 2;
current_3 = 3;
current_4 = 1;
Symbol 864 MovieClip Frame 45
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 4;
current_1 = 4;
current_2 = 1;
current_3 = 3;
current_4 = 2;
Symbol 864 MovieClip Frame 46
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 4;
current_1 = 4;
current_2 = 3;
current_3 = 1;
current_4 = 2;
Symbol 864 MovieClip Frame 47
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 4;
current_1 = 4;
current_2 = 3;
current_3 = 2;
current_4 = 1;
Symbol 864 MovieClip Frame 48
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 1;
current_1 = 0;
current_2 = 1;
current_3 = 2;
current_4 = 3;
Symbol 864 MovieClip Frame 49
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 1;
current_1 = 0;
current_2 = 0;
current_3 = 1;
current_4 = 2;
Symbol 864 MovieClip Frame 50
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 1;
current_1 = 0;
current_2 = 0;
current_3 = 0;
current_4 = 1;
Symbol 864 MovieClip Frame 51
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 2;
current_1 = 0;
current_2 = 0;
current_3 = 0;
current_4 = 2;
Symbol 864 MovieClip Frame 52
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 3;
current_1 = 0;
current_2 = 0;
current_3 = 0;
current_4 = 3;
Symbol 864 MovieClip Frame 53
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 1;
current_1 = 0;
current_2 = 0;
current_3 = 1;
current_4 = 3;
Symbol 864 MovieClip Frame 54
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 2;
current_1 = 0;
current_2 = 2;
current_3 = 1;
current_4 = 3;
Symbol 864 MovieClip Frame 55
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 4;
current_1 = 4;
current_2 = 2;
current_3 = 1;
current_4 = 3;
Symbol 864 MovieClip Frame 56
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 3;
current_1 = 0;
current_2 = 3;
current_3 = 1;
current_4 = 2;
Symbol 864 MovieClip Frame 57
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 2;
current_1 = 0;
current_2 = 0;
current_3 = 2;
current_4 = 1;
Symbol 864 MovieClip Frame 58
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 3;
current_1 = 0;
current_2 = 0;
current_3 = 3;
current_4 = 2;
Symbol 864 MovieClip Frame 59
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 3;
current_1 = 0;
current_2 = 0;
current_3 = 3;
current_4 = 1;
Symbol 864 MovieClip Frame 60
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 1;
current_1 = 0;
current_2 = 1;
current_3 = 3;
current_4 = 2;
Symbol 864 MovieClip Frame 61
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 2;
current_1 = 0;
current_2 = 0;
current_3 = 2;
current_4 = 3;
Symbol 864 MovieClip Frame 62
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 4;
current_1 = 4;
current_2 = 1;
current_3 = 2;
current_4 = 3;
Symbol 864 MovieClip Frame 63
stop();
p1.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 1) {
_root.picked_p = 1;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(60);
if (current_1 == 1) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 1) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 1) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 1) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p2.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 2) {
_root.picked_p = 2;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(61);
if (current_1 == 2) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 2) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 2) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 2) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p3.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 3) {
_root.picked_p = 3;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(62);
if (current_1 == 3) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 3) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 3) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 3) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
p4.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if ((_root.handMode == "pickUp") && (_root.gotYellowMission == true)) {
if (top_1 == 4) {
_root.picked_p = 4;
_root.pickedFromStick = nam;
_root.frameWhenPicked = _root.levelMap["stick_" + nam]._currentframe;
change_mouse(63);
if (current_1 == 4) {
gotoAndStop((((("s_0_" + current_2) + "_") + current_3) + "_") + current_4);
} else if (current_2 == 4) {
gotoAndStop((("s_0_0_" + current_3) + "_") + current_4);
} else if (current_3 == 4) {
gotoAndStop("s_0_0_0_" + current_4);
} else if (current_4 == 4) {
gotoAndStop ("s_0_0_0_0");
}
} else {
no(1);
}
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe >= 60)) {
place(_root.picked_p, nam);
} else if (_root.handMode == "lookAt") {
if (_root.gotYellowMission == true) {
_root.displayText("Ooh, what a strange puzzle");
_root.actionInProcess = true;
} else {
_root.displayText("It's a piece of pyramid!");
_root.actionInProcess = true;
}
}
}
};
top_1 = 3;
current_1 = 0;
current_2 = 3;
current_3 = 2;
current_4 = 1;
Symbol 864 MovieClip Frame 64
stop();
bob.onRelease = function () {
if (_root.picked_p != null) {
place(_root.picked_p, nam);
}
};
current_1 = 0;
current_2 = 0;
current_3 = 0;
current_4 = 0;
Symbol 864 MovieClip Frame 66
this.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("kalienHitter");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's the finished pyramid!");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
Symbol 891 MovieClip Frame 1
stop();
if (_root.planetorgVisible == 1) {
_root.planetorgVisible == 2;
gotoAndPlay (2);
} else if (_root.planetorgVisible == 2) {
gotoAndStop (50);
}
Symbol 891 MovieClip Frame 50
stop();
this.onEnterFrame = function () {
if ((((_root.planetredVisible >= 1) && (planetArea.hitTest(_root.levelMap.ray.locator))) && (visitBox._currentframe == 1)) && (_root.displayedPlanet4 == false)) {
visitBox.gotoAndPlay("choiceAppear");
_root.thisPlanetId = 4;
_root.displayedPlanet4 = true;
} else if (!planetArea.hitTest(_root.levelMap.ray.locator)) {
visitBox.gotoAndStop(1);
_root.displayedPlanet4 = false;
}
};
Symbol 899 MovieClip Frame 1
stop();
Symbol 899 MovieClip Frame 27
stop();
Symbol 935 MovieClip Frame 1
stop();
Symbol 935 MovieClip Frame 2
_root.waterSpray.start();
Symbol 935 MovieClip Frame 62
stop();
_root.treeWatered = true;
_root.levelMap.mainTree.gotoAndStop(2);
Symbol 941 MovieClip Frame 1
stop();
Symbol 941 MovieClip Frame 2
_root.levelMap.kink1._visible = true;
Symbol 941 MovieClip Frame 6
_root.levelMap.kink2._visible = true;
Symbol 941 MovieClip Frame 8
_root.levelMap.kink3._visible = true;
Symbol 941 MovieClip Frame 10
_root.levelMap.kink4._visible = true;
Symbol 941 MovieClip Frame 15
stop();
_root.levelMap.hoseEnd._visible = true;
Symbol 960 MovieClip Frame 1
if (this.tapTurns == 5) {
stop();
} else {
play();
_root.tapSqueak.start();
this.tapTurns++;
}
Symbol 961 MovieClip Frame 1
stop();
Symbol 961 MovieClip Frame 2
handle.tapTurns = 0;
Symbol 999 MovieClip Frame 16
_parent.gotoAndStop(3);
Symbol 1006 MovieClip Frame 15
stop();
Symbol 1017 MovieClip Frame 15
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.levelMap.otherTextBox.thisTextNow = "Thanks! I feel SO much better!";
_root.nextTextWho = "mainTree";
_root.nextNextText = "OH! Look what fell out of my branches!";
_root.nextNextTextWho = "mainTree";
_root.actionInProcess = true;
_root.treeWatered = true;
_root.levelMap.greenAppear._visible = true;
_root.levelMap.greenAppear.gotoAndPlay(2);
_parent.gotoAndStop(3);
Symbol 1022 MovieClip Frame 13
stop();
Symbol 1032 MovieClip Frame 1
randomLaugh = random(16);
if (randomLaugh >= 10) {
_root.S_treeLaugh.start();
}
Symbol 1033 MovieClip Frame 1
stop();
Symbol 1044 MovieClip Frame 2
frogNoiseRandomer = random(50);
if (frogNoiseRandomer > 46) {
play();
_root.ribbit.start();
} else {
gotoAndPlay (1);
}
Symbol 1054 MovieClip Frame 1
stop();
Symbol 1054 MovieClip Frame 2
play();
Symbol 1054 MovieClip Frame 10
stop();
_root.choseToLeave = false;
textBubble.yesButton.onRelease = function () {
_root.choseToLeave = true;
gotoAndPlay (11);
_root.actionInProcess = true;
};
textBubble.noButton.onRelease = function () {
_root.choseToLeave = false;
gotoAndPlay (11);
_root.actionInProcess = true;
};
Symbol 1054 MovieClip Frame 11
Symbol 1054 MovieClip Frame 17
if (_root.choseToLeave == true) {
_root.actionInProcess = false;
_root.swapScenes(11);
} else {
_root.actionInProcess = false;
this.gotoAndStop(1);
}
_root.nextTextWho = "";
Symbol 1105 MovieClip Frame 1
_root.seagullsound.start();
Symbol 1129 MovieClip Frame 1
stop();
Symbol 1129 MovieClip Frame 29
stop();
_parent.instructions.play();
Symbol 1129 MovieClip Frame 59
stop();
this.gotoAndStop(1);
_parent._visible = false;
Symbol 1135 MovieClip Frame 1
stop();
this.onRelease = function () {
if ((_root.handMode == "useItem") && (this._currentframe == 1)) {
this.gotoAndStop(_root.cursorItem._currentframe - 16);
_root.useItem();
} else if ((_root.handMode == "useItem") && (this._currentframe != 1)) {
_root.pickUp(99, this._currentframe + 13);
this.gotoAndStop(_root.cursorItem._currentframe - 16);
_root.useItem();
} else if ((_root.handMode == "pickUp") && (this._currentframe != 1)) {
_root.pickUp(99, this._currentframe + 13);
this.gotoAndStop(1);
}
if ((((_parent.drop1._currentframe == 2) && (_parent.drop2._currentframe == 4)) && (_parent.drop3._currentframe == 5)) && (_parent.drop4._currentframe == 3)) {
_root.fixedPress = true;
_root.actionInProcess = false;
_parent.revealer.play();
_root.S_gotRainbow.start();
}
_root.levelMap.chute["drop" + this.dropId].gotoAndStop(this._currentframe);
};
Symbol 1137 MovieClip Frame 1
cogBackButton.onRelease = function () {
revealer.play();
_root.actionInProcess = false;
};
Symbol 1165 MovieClip Frame 1
stop();
Symbol 1169 MovieClip Frame 1
this.onEnterFrame = function () {
if (((_root.pressTurns != 0) && (_root.doneIndigoMission == false)) && (_root.fixedPress == true)) {
this.gotoAndStop(2);
}
};
Symbol 1169 MovieClip Frame 2
this.onEnterFrame = function () {
if (_root.pressTurns == 0) {
this.gotoAndStop(1);
}
};
Symbol 1171 MovieClip Frame 1
this.onEnterFrame = function () {
if (((_root.pressTurns != 0) && (_root.doneIndigoMission == false)) && (_root.fixedPress == true)) {
this._rotation = this._rotation + 12;
}
};
Symbol 1172 MovieClip Frame 1
stop();
Symbol 1172 MovieClip Frame 17
stop();
Symbol 1174 MovieClip Frame 1
stop();
Symbol 1176 MovieClip Frame 1
this.onEnterFrame = function () {
if (((_root.pressTurns != 0) && (_root.doneIndigoMission == false)) && (_root.fixedPress == true)) {
drop1._rotation = drop1._rotation - 3;
drop2._rotation = drop2._rotation + 6;
drop3._rotation = drop3._rotation - 12;
drop4._rotation = drop4._rotation + 4.5;
_root.levelMap.farmer.gotoAndStop(2);
}
};
Symbol 1189 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
if (((_root.pressTurns != 0) && (_root.doneIndigoMission == false)) && (_root.fixedPress == true)) {
this.gotoAndStop(2);
}
};
Symbol 1189 MovieClip Frame 2
this.onEnterFrame = function () {
if (_root.pressTurns == 1) {
}
if (_root.pressTurns == 0) {
this.gotoAndStop(1);
}
};
_root.levelMap.indigoAppear._visible = true;
_root.levelMap.indigoAppear.play();
Symbol 1211 MovieClip Frame 1
stop();
Symbol 1211 MovieClip Frame 15
stop();
countDown = 100;
playArrow.onRelease = function () {
play();
};
this.onEnterFrame = function () {
countDown--;
if (countDown == 0) {
play();
}
};
Symbol 1211 MovieClip Frame 50
stop();
countDown = 100;
playArrow.onRelease = function () {
play();
};
this.onEnterFrame = function () {
countDown--;
if (countDown == 0) {
play();
}
};
Symbol 1211 MovieClip Frame 71
stop();
countDown = 100;
playArrow.onRelease = function () {
play();
};
this.onEnterFrame = function () {
countDown--;
if (countDown == 0) {
play();
}
};
Symbol 1219 MovieClip Frame 1
this.onEnterFrame = function () {
if (_parent._parent.moledone == 2) {
if (this.hitTest(_parent._parent.hole)) {
this.play();
} else {
this._x = this._x + 4;
}
}
};
stop();
Symbol 1219 MovieClip Frame 2
this.onEnterFrame = function () {
};
Symbol 1219 MovieClip Frame 12
_root.num_moles_in_hole++;
if (_root.num_moles_in_hole == _root.num_moles_avail) {
if (_root.num_moles_avail >= 10) {
_root.levelMap.rythmGame.hole.gotoAndStop(2);
} else {
_root.levelMap.rythmGame.finished();
}
}
stop();
removeMovieClip(this);
Symbol 1230 MovieClip Frame 1
stop();
Symbol 1231 MovieClip Frame 1
stop();
i = 1;
while (i <= 20) {
this["m" + i]._visible = false;
i++;
}
Symbol 1237 MovieClip Frame 1
startRythmGame.onRelease = function () {
this.GAMEON = true;
stopAllSounds();
gotoAndPlay (2);
};
stop();
Symbol 1237 MovieClip Frame 2
function create_flower() {
n++;
ob = this.attachMovie("violet_flower", "violet_flower" + n, n);
pos = 1 + random(5);
ob._y = this["line" + pos]._y;
ob._x = 710;
}
function create_mole(pos) {
n++;
ob = this.attachMovie("mole", "mole" + n, n);
ob._y = this["line" + pos]._y;
ob._x = 710;
}
function fpsec() {
var _local1 = new Date();
timepassed = (((_local1.getMilliseconds() - lasttime) >= 0) ? (_local1.getMilliseconds() - lasttime) : (1000 + (_local1.getMilliseconds() - lasttime)));
fps = Math.round(10000 / timepassed) / 10;
lasttime = _local1.getMilliseconds();
}
function finished() {
if (_root.num_moles_avail < 10) {
_root.displayText("I didn't charm enough moles...");
_root.nextText = "...I'll have to try again.";
_root.nextTextWho = "ray";
_root.actionInProcess = true;
this.GAMEON = false;
} else {
_root.displayText("There! The moles have found their way home!");
_root.nextText = "That violet looks much happier.";
_root.nextTextWho = "ray";
_root.doneRythmGame = true;
_root.nextNextTextWho = "violet1";
_root.nextNextText = "Thanks Mr Ray!.";
_root.levelMap.violet1.gotoAndStop(2);
_root.levelMap.flowerBed.gotoAndStop(2);
_root.levelMap.flowerBed2.gotoAndStop(2);
_root.levelMap.flowerBed3.gotoAndStop(2);
_root.levelMap.moleHouse.gotoAndStop(2);
_root.actionInProcess = true;
this.GAMEON = false;
_root.levelMap.violetAppear._visible = true;
_root.levelMap.violetAppear.gotoAndPlay(2);
}
_root.levelMap.rythmGame.revealer.play();
_root.levelMap.violetLevelBits(false, true);
}
n = 0;
fps = 30;
var timeinit = new Date();
var lasttime = timeinit.getMilliseconds();
_root.ended = false;
var d = MrRayWalk._x;
this.moledone = 0;
_root.num_moles_in_hole = 0;
_root.num_moles_avail = 0;
hole.removeMovieClip();
line1._alpha = 100;
line2._alpha = 100;
line3._alpha = 100;
line4._alpha = 100;
line5._alpha = 100;
mole_line._x = 165;
MrRayWalk.rayAnim.gotoAndStop(1);
var flowerMoveSpeed = 3;
this.onEnterFrame = function () {
if (!_root.ended) {
fpsec();
if (MrRayWalk._x < d) {
MrRayWalk._x = MrRayWalk._x + 4;
}
if (this.moledone == 1) {
this.moledone = 2;
}
}
};
Symbol 1237 MovieClip Frame 6
create_flower();
Symbol 1237 MovieClip Frame 18
create_flower();
Symbol 1237 MovieClip Frame 27
create_flower();
Symbol 1237 MovieClip Frame 35
create_flower();
Symbol 1237 MovieClip Frame 54
create_flower();
Symbol 1237 MovieClip Frame 77
create_flower();
Symbol 1237 MovieClip Frame 109
create_flower();
Symbol 1237 MovieClip Frame 144
create_flower();
Symbol 1237 MovieClip Frame 175
create_flower();
Symbol 1237 MovieClip Frame 203
create_mole(4);
Symbol 1237 MovieClip Frame 221
create_flower();
Symbol 1237 MovieClip Frame 236
create_flower();
Symbol 1237 MovieClip Frame 253
create_mole(2);
Symbol 1237 MovieClip Frame 287
create_mole(4);
Symbol 1237 MovieClip Frame 304
create_flower();
Symbol 1237 MovieClip Frame 322
create_mole(5);
Symbol 1237 MovieClip Frame 340
create_flower();
Symbol 1237 MovieClip Frame 367
create_mole(3);
Symbol 1237 MovieClip Frame 379
create_flower();
Symbol 1237 MovieClip Frame 392
create_mole(1);
Symbol 1237 MovieClip Frame 411
create_mole(3);
Symbol 1237 MovieClip Frame 428
create_flower();
Symbol 1237 MovieClip Frame 447
create_mole(4);
Symbol 1237 MovieClip Frame 470
create_flower();
Symbol 1237 MovieClip Frame 491
create_mole(5);
Symbol 1237 MovieClip Frame 510
create_flower();
Symbol 1237 MovieClip Frame 532
create_mole(4);
Symbol 1237 MovieClip Frame 552
create_flower();
Symbol 1237 MovieClip Frame 583
create_mole(2);
Symbol 1237 MovieClip Frame 599
create_flower();
Symbol 1237 MovieClip Frame 616
create_mole(4);
Symbol 1237 MovieClip Frame 633
create_flower();
Symbol 1237 MovieClip Frame 651
create_mole(5);
Symbol 1237 MovieClip Frame 674
create_flower();
Symbol 1237 MovieClip Frame 697
create_mole(3);
Symbol 1237 MovieClip Frame 713
create_flower();
Symbol 1237 MovieClip Frame 727
create_mole(1);
Symbol 1237 MovieClip Frame 746
create_mole(5);
Symbol 1237 MovieClip Frame 777
create_flower();
Symbol 1237 MovieClip Frame 808
create_mole(3);
Symbol 1237 MovieClip Frame 837
create_flower();
Symbol 1237 MovieClip Frame 873
create_mole(1);
Symbol 1237 MovieClip Frame 893
create_flower();
Symbol 1237 MovieClip Frame 932
create_flower();
Symbol 1237 MovieClip Frame 1132
ob = this.attachMovie("hole", "hole", this.getNextHighestDepth());
ob._y = MrRayWalk._y;
var flowerMoveSpeed = 10;
if (_root.num_moles_avail == 0) {
finished();
}
this.onEnterFrame = function () {
if (this.hole.hitTest(MrRayWalk) && (this.hole._x > 500)) {
MrRayWalk.rayAnim.gotoAndStop(2);
if (line1._alpha > 0) {
line1._alpha = line1._alpha - 10;
line2._alpha = line2._alpha - 10;
line3._alpha = line3._alpha - 10;
line4._alpha = line4._alpha - 10;
line5._alpha = line5._alpha - 10;
}
MrRayWalk._x = MrRayWalk._x - 10;
this.hole._x = this.hole._x - 10;
mole_line._x = mole_line._x - 10;
} else if (this.hole._x > 500) {
hole._x = hole._x - 10;
} else if (this.moledone != 2) {
this.moledone = 2;
}
};
Symbol 1237 MovieClip Frame 1332
stop();
_root.ended = true;
Symbol 1238 MovieClip Frame 1
stop();
Symbol 1238 MovieClip Frame 26
stop();
Symbol 1257 MovieClip Frame 20
gotoAndPlay (10);
Symbol 1258 MovieClip Frame 1
stop();
Symbol 1270 MovieClip Frame 1
stop();
Symbol 1275 MovieClip Frame 13
_root.readyToDrop = random(60) + 60;
Symbol 1275 MovieClip Frame 23
if (_root.readyToDrop != 0) {
gotoAndPlay (22);
_root.readyToDrop--;
}
Symbol 1275 MovieClip Frame 27
_root.chooseHole();
_parent.gotoAndStop(1);
Symbol 1276 MovieClip Frame 1
stop();
this.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's a mole hole.");
_root.actionInProcess = true;
}
}
};
Symbol 1276 MovieClip Frame 2
this.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's a lost mole!");
_root.actionInProcess = true;
} else if (_root.handMode == "talkTo") {
_root.displayText("Hello mole!");
_root.actionInProcess = true;
}
}
};
Symbol 1294 MovieClip Frame 1
stop();
Symbol 1312 MovieClip Frame 2
royLook = random(30);
if (royLook >= 28) {
play();
} else {
gotoAndPlay (1);
}
Symbol 1312 MovieClip Frame 8
royLook = random(30);
if (royLook >= 28) {
play();
} else {
gotoAndPlay (6);
}
Symbol 1312 MovieClip Frame 12
gotoAndPlay (1);
Symbol 1312 MovieClip Frame 22
gotoAndPlay (1);
Symbol 1312 MovieClip Frame 55
stop();
_root.displayText("THERE! Good as new!");
_root.nextText = "Thanks Mr Ray! I feel MUCH better!";
_root.nextTextWho = "roy";
_root.nextNextText = "Let's go and play some rock and roll!";
_root.nextNextTextWho = "ray";
_root.royColoursBack = true;
_root.goDoEndScene = true;
_root.levelMap.helpRoyOverlay.revealer.gotoAndPlay(30);
Symbol 1314 MovieClip Frame 1
royColoursAdded = 0;
_root.cursorItem.gotoAndStop("pickUp");
_root.handMode = "pickUp";
rp.onRelease = function () {
_root.levelMap.helpRoyOverlay[pieceInHand]._visible = true;
rp._visible = false;
_root.cursorItem.gotoAndStop(22);
pieceInHand = "rp";
};
op.onRelease = function () {
_root.levelMap.helpRoyOverlay[pieceInHand]._visible = true;
op._visible = false;
_root.cursorItem.gotoAndStop(23);
pieceInHand = "op";
};
yp.onRelease = function () {
_root.levelMap.helpRoyOverlay[pieceInHand]._visible = true;
yp._visible = false;
_root.cursorItem.gotoAndStop(24);
pieceInHand = "yp";
};
gp.onRelease = function () {
_root.levelMap.helpRoyOverlay[pieceInHand]._visible = true;
gp._visible = false;
_root.cursorItem.gotoAndStop(25);
pieceInHand = "gp";
};
bp.onRelease = function () {
_root.levelMap.helpRoyOverlay[pieceInHand]._visible = true;
bp._visible = false;
_root.cursorItem.gotoAndStop(26);
pieceInHand = "bp";
};
ip.onRelease = function () {
_root.levelMap.helpRoyOverlay[pieceInHand]._visible = true;
ip._visible = false;
_root.cursorItem.gotoAndStop(27);
pieceInHand = "ip";
};
vip.onRelease = function () {
_root.levelMap.helpRoyOverlay[pieceInHand]._visible = true;
vip._visible = false;
_root.cursorItem.gotoAndStop(28);
pieceInHand = "vip";
};
royBody.onRelease = function () {
if ((royColoursAdded == 6) && (_root.cursorItem._currentframe == 28)) {
royColoursAdded++;
_root.S_gotRainbow.start();
royHead.gotoAndPlay(23);
_root.levelMap.bush1.roy.gotoAndStop(2);
} else if (royColoursAdded == (_root.cursorItem._currentframe - 22)) {
_root["S_string" + (royColoursAdded + 1)].start();
royColoursAdded++;
royHead.gotoAndPlay(13);
} else {
_root.levelMap.helpRoyOverlay[pieceInHand]._visible = true;
}
pieceInHand = "";
_root.cursorItem.gotoAndStop("pickUp");
royBody.gotoAndStop(royColoursAdded + 1);
};
Symbol 1317 MovieClip Frame 1
stop();
Symbol 1317 MovieClip Frame 2
play();
Symbol 1317 MovieClip Frame 10
stop();
textBubble.yesButton.onRelease = function () {
_root.choseToHelp = true;
gotoAndPlay (11);
_root.actionInProcess = true;
};
textBubble.noButton.onRelease = function () {
_root.choseToHelp = false;
gotoAndPlay (11);
_root.actionInProcess = true;
};
Symbol 1317 MovieClip Frame 11
Symbol 1317 MovieClip Frame 17
if (_root.choseToHelp == true) {
_root.actionInProcess = true;
_root.levelMap.helpRoyOverlay._visible = true;
_root.levelMap.helpRoyOverlay.revealer.play();
} else {
_root.actionInProcess = false;
gotoAndStop (1);
}
_root.nextTextWho = "";
Symbol 1318 MovieClip Frame 1
stop();
Symbol 1318 MovieClip Frame 72
stop();
Symbol 1323 MovieClip Frame 1
b = 1;
this.onEnterFrame = function () {
randomBubbler = random(50);
if (randomBubbler == 49) {
this.attachMovie("bubble", "bubb" + b, b);
this["bubb" + b]._x = -5;
this["bubb" + b]._y = 30;
b++;
} else if (randomBubbler == 25) {
this.attachMovie("bubble", "bubb" + b, b);
this["bubb" + b]._x = 126;
this["bubb" + b]._y = 22;
b++;
} else if (randomBubbler == 10) {
this.attachMovie("bubble", "bubb" + b, b);
this["bubb" + b]._x = 30;
this["bubb" + b]._y = -10;
b++;
}
};
Symbol 1338 MovieClip Frame 1
stop();
if (_root.rayMouthTalk == true) {
gotoAndPlay (2);
}
Symbol 1348 MovieClip Frame 1
stop();
this.talkAble = true;
Symbol 1353 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
if (this.hitTest(_root._xmouse, _root._ymouse, true) && (_root.cursorItem._currentframe == 17)) {
this.nextFrame();
}
};
Symbol 1353 MovieClip Frame 5
_root.splodgesToWipe--;
if (_root.splodgesToWipe == 0) {
_root.useItem();
_root.levelMap.whale.gotoAndStop(2);
}
this.removeMovieClip();
Symbol 1356 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
if (this.hitTest(_root._xmouse, _root._ymouse, true) && (_root.cursorItem._currentframe == 17)) {
this.nextFrame();
}
};
Symbol 1356 MovieClip Frame 5
_root.splodgesToWipe--;
if (_root.splodgesToWipe == 0) {
_root.useItem();
_root.levelMap.whale.gotoAndStop(2);
}
this.removeMovieClip();
Symbol 1376 MovieClip Frame 40
stop();
Symbol 1409 MovieClip Frame 18
_root.whaleSaved = true;
_root.levelMap.otherTextBox.thisTextNow = "Thank you! I feel so much better now!";
_root.nextTextWho = "whale";
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.actionInProcess = true;
_root.S_whaleLaugh.start();
Symbol 1409 MovieClip Frame 101
stop();
_root.levelMap.blueAppear.gotoAndPlay(2);
_root.levelMap.blueAppear._visible = true;
Symbol 1410 MovieClip Frame 1
stop();
Symbol 1416 MovieClip Frame 1
b = 1;
this.onEnterFrame = function () {
randomBubbler = random(50);
if (randomBubbler == 49) {
this.attachMovie("bubble", "bubb" + b, b);
this["bubb" + b]._x = -5;
this["bubb" + b]._y = 60;
b++;
} else if (randomBubbler == 25) {
this.attachMovie("bubble", "bubb" + b, b);
this["bubb" + b]._x = 126;
this["bubb" + b]._y = 62;
b++;
} else if (randomBubbler == 10) {
this.attachMovie("bubble", "bubb" + b, b);
this["bubb" + b]._x = 30;
this["bubb" + b]._y = 80;
b++;
}
};
Symbol 1423 MovieClip Frame 1
thisTextNow = "THANKS FOR PLAYING!";
Symbol 1423 MovieClip Frame 2
play();
textBubble.spokenText.text = thisTextNow;
Symbol 1423 MovieClip Frame 10
stop();
this.onRelease = function () {
gotoAndPlay (11);
};
Symbol 1423 MovieClip Frame 18
stop();
_parent.endMrrayLink._visible = true;
_parent.endMenuLink._visible = true;
Symbol 1428 MovieClip Frame 99
stop();
Symbol 1439 MovieClip Frame 1
this.gotoAndPlay(random(12) + 1);
this.onEnterFrame = function () {
confettiFall = random(5) - 2;
this._y = this._y + this._currentframe;
this._x = this._x + confettiFall;
if (this._y >= 400) {
this._y = -50;
}
};
Symbol 1503 MovieClip Frame 1
stop();
Symbol 1503 MovieClip Frame 10
barp.gotoAndPlay(20);
babarp.gotoAndPlay(40);
Symbol 1523 MovieClip Frame 37
this.planetShown.gotoAndStop(_root.planetNext - 1);
Symbol 1523 MovieClip Frame 56
_root.S_rocketFly.start();
Symbol 1523 MovieClip Frame 140
stop();
_root.swapScenes(_root.planetNext);
_parent._parent.hintButton._visible = true;
Symbol 1524 MovieClip Frame 1
_root.radio_bg = new Sound(this);
_root.radio_bg.attachSound("NradioSound");
_root.radio_bg.start(0, 999);
_root.green_bg.stop();
stop();
if (_root.firstPlay == true) {
_root.rayPosition = 100;
_root.bag._visible = false;
_root.actionInProcess = true;
_root.endIntroCrash.start();
_root.endIntroCrash.setVolume(100);
_root.displayText("What was that noise? I should go and find out...");
_root.nextText = "but first I need to find my backpack.";
_root.nextTextWho = "ray";
_root.firstPlay = false;
} else {
_root.rayPosition = 800;
}
_root.thisSceneWalls = true;
_root.doorExit = 2;
_root.exitVariable = "hasBackpack";
_root.valid = false;
_root.closeEnough = false;
this.onEnterFrame = function () {
_root.doParalax("bg1", 1, 0);
_root.doParalax("bg2", 0.8, 0);
_root.doParalax("scenery1", 1.3, -10);
_root.doParalax("scenery2", 1.1, 500);
_root.doParalax("cubside", 1.1, 500);
_root.doParalax("handle", 1.1, 823);
_root.doParalax("mrRadio", 1.1, 700);
_root.doParalax("clickItem3", 1.05, 430);
_root.doParalax("clickItem4", 1.05, 170);
_root.doParalax("scenery3", 1.2, 0);
_root.doParalax("scenery4", 1.5, 450);
_root.doParalax("scenery5", 1.05, 680);
_root.doParalax("ray", 1.5, _root.rayPosition);
_root.doParalax("door", 1.5, 850);
_root.doParalax("rayTextBox", 1.8, _root.rayPosition);
_root.doParalax("clickObject1", 1.3, -10);
_root.doParalax("clickObject2", 1.1, 500);
_root.doParalax("clickObject3", 1.05, 430);
_root.doParalax("clickObject4", 1.05, 170);
_root.doParalax("clock", 1.8, -120);
_root.doParalax("curtains", 1, 300);
_root.doParalax("poster", 1, 60);
_root.doParalaxWalls();
clickItem3._xscale = 60 + (10 * (1 - _root.perc));
if (_root.levelMap.rayTextBox._x < 10) {
_root.levelMap.rayTextBox._x = 10;
} else if (_root.levelMap.rayTextBox._x > 400) {
_root.levelMap.rayTextBox._x = 400;
}
};
if (_root.hasBackpack == true) {
clickObject3._visible = false;
clickItem3._visible = false;
clickObject3._x = -400;
clickItem3._x = -400;
}
if (_root.hasSpanner == true) {
clickObject4._visible = false;
clickItem4._visible = false;
clickObject4._x = -400;
clickItem4._x = -400;
}
clickObject1.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("clickObject1");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("It's my comfy bed");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
clickObject2.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("clickObject2");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("It's where I keep all my red shirts and brown pants!");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
clickObject3.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("clickObject3");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("It's my backpack!");
_root.actionInProcess = true;
} else if (_root.handMode == "pickUp") {
_root.displayText("I got my backpack!");
_root.nextText = "This is where I keep all my useful items.";
_root.nextNextText = "Open it by clicking on it.";
_root.nextTextWho = "ray";
_root.nextNextTextWho = "ray";
_root.actionInProcess = true;
_root.hasBackpack = true;
_root.bag._visible = true;
clickObject3._visible = false;
clickItem3._visible = false;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
clickObject4.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("clickObject4");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That looks like a spanner");
_root.actionInProcess = true;
} else if ((_root.handMode == "pickUp") && (_root.hasBackpack == true)) {
_root.displayText("I got a spanner");
_root.nextText = "This should come in handy.";
_root.nextTextWho = "ray";
_root.hasSpanner = true;
_root.pickUp(4, 2);
_root.actionInProcess = true;
} else if ((_root.handMode == "pickUp") && (_root.hasBackpack == false)) {
_root.displayText("I need my backpack first!");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
mrRadio.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("mrRadio");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's my radio, listen...");
_root.nextText = "Cool, it's playing some of my songs!";
_root.nextTextWho = "ray";
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
curtains.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("curtains");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("It's a lovely sunny day out there.");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
scenery4.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("scenery4");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("The lamp makes my room nice and bright.");
_root.actionInProcess = true;
} else {
_root.displayText("That's just silly.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
clock.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("clock");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("The time is always 5 o'clock.");
_root.nextText = "It must be broken.";
_root.nextTextWho = "ray";
_root.actionInProcess = true;
} else {
_root.displayText("That's just silly.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
Symbol 1524 MovieClip Frame 2
_root.radio_bg.stop();
_root.green_bg.start(0, 9999);
_root.thisSceneWalls = true;
_root.actionInProcess = false;
_root.rayIsWalking = false;
_root.rayPosition = 100;
_root.steps = 0;
_root.rayToGo = _root.rayPosition;
_root.bagIsOpen = false;
_root.doorExit = 1;
_root.valid = false;
_root.closeEnough = false;
_root.shipParked = true;
_root.planetNext = 3;
_root.planetNextName = "Planet Red";
_root.passwordNext = "postbox";
this.onEnterFrame = function () {
_root.doParalax("bg1", 1, 0);
_root.doParalax("bush1", 1.1, 200);
_root.doParalax("shroom", 1.05, 100);
_root.doParalax("bg2", 0.5, 0);
_root.doParalax("handle", 1.1, -33);
_root.doParalax("crashMark", 1.2, 600);
_root.doParalax("parkedShip", 1.2, 620);
_root.doParalax("redPanel", 1.2, 950);
_root.doParalax("ray", 1.5, _root.rayPosition);
_root.doParalax("door", 1.5, -10);
_root.doParalax("bush", 1.1, 200);
_root.doParalax("roy", 1.1, 350);
_root.doParalax("kalien", 1.3, 700);
_root.doParalax("kalienHitter", 1.3, 700);
_root.doParalax("rayTextBox", 1.8, _root.rayPosition);
_root.doParalax("otherTextBox", 0, _root.levelMap[_root.nextTextWho]._x);
_root.doParalax("tree", 0.9, 200);
_root.doParalax("birdy", 0.9, 400);
_root.doParalaxWalls();
if (_root.levelMap.rayTextBox._x < 10) {
_root.levelMap.rayTextBox._x = 10;
} else if (_root.levelMap.rayTextBox._x > 400) {
_root.levelMap.rayTextBox._x = 400;
}
if (_root.levelMap.otherTextBox._x < 10) {
_root.levelMap.otherTextBox._x = 10;
} else if (_root.levelMap.otherTextBox._x > 400) {
_root.levelMap.otherTextBox._x = 400;
}
if (_root.levelMap.flyChoice._x < 10) {
_root.levelMap.flyChoice._x = 10;
} else if (_root.levelMap.flyChoice._x > 400) {
_root.levelMap.flyChoice._x = 400;
}
};
if (_root.shipFixed == true) {
_root.levelMap.parkedShip.gotoAndStop(2);
kalien.gotoAndStop(2);
}
if (_root.royBeenFound == false) {
roy._visible = false;
} else {
roy._visible = true;
bush1.gotoAndPlay(96);
}
bush.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("bush");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") || (_root.handMode == "talkTo")) {
if (_root.royBeenFound == false) {
_root.royBeenFound = true;
_root.levelMap.bush1.gotoAndPlay(96);
roy._visible = true;
_root.displayText("It's just a bush... oh wait!");
_root.nextText = "That's Roy G Biv!";
_root.nextTextWho = "ray";
_root.actionInProcess = true;
} else {
_root.displayText("It's the bush where roy was hiding");
_root.actionInProcess = true;
}
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
roy.onRelease = function () {
if (_root.royBeenFound == true) {
_root.checkValid();
_root.checkCloseEnough("roy");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("Roy has lost all of his colours!");
_root.actionInProcess = true;
} else if ((_root.handMode == "talkTo") && (_root.royMissionFound == false)) {
_root.displayText("What's wrong Roy?");
_root.nextText = "I've lost all of my colours in SPACE. Please help!";
_root.nextTextWho = "roy";
_root.nextNextText = "I'll try to find them for you!";
_root.nextNextTextWho = "ray";
_root.actionInProcess = true;
_root.royMissionFound = true;
} else if (_root.handMode == "talkTo") {
_root.displayText("Don't worry Roy");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
}
};
parkedShip.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("parkedShip");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && (_root.shipFixed == true)) {
_root.displayText("The guitar ship is ready for takeoff!");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
birdy.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("parkedShip");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("Aww.. a little birdy!");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
kalienHitter.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("kalienHitter");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's Kalien the Alien!");
_root.actionInProcess = true;
} else if (((_root.handMode == "talkTo") && (_root.royMissionFound == false)) && (_root.shipFixed == false)) {
_root.displayText("What's up Kalien?");
_root.nextText = "The Guitar Ship's broken down!";
_root.nextTextWho = "kalien";
_root.nextNextText = "That RED pannel on the side looks suspicious.";
_root.nextNextTextWho = "ray";
_root.actionInProcess = true;
} else if (((_root.handMode == "talkTo") && (_root.royMissionFound == false)) && (_root.shipFixed == true)) {
_root.displayText("The guitar ship's fixed, Kalien!");
_root.nextText = "Thanks Ray, I owe you one.";
_root.nextTextWho = "kalien";
_root.actionInProcess = true;
} else if (((_root.handMode == "talkTo") && (_root.royMissionFound == true)) && (_root.shipFixed == false)) {
_root.displayText("We have to help Roy.");
_root.nextText = "We can't get into space without the Guitar Ship!";
_root.nextTextWho = "kalien";
if (_root.hasSpanner == true) {
_root.nextNextText = "I think I have just the tool to fix it.";
_root.nextNextTextWho = "ray";
}
_root.actionInProcess = true;
} else if (((_root.handMode == "talkTo") && (_root.royMissionFound == true)) && (_root.shipFixed == true)) {
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.goIntoSpaceQuestion = true;
_root.levelMap.otherTextBox.thisTextNow = "Let's go and help Roy!";
_root.nextTextWho = "kalien";
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
redPanel.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("redPanel");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && (_root.shipFixed == false)) {
_root.displayText("This must be what's causing the trouble");
_root.actionInProcess = true;
} else if (((_root.handMode == "useItem") && (_root.cursorItem._currentframe == 5)) && (_root.shipFixed == false)) {
_root.displayText("There! I've fixed the ship!");
_root.nextText = "I should tell Kalien";
_root.nextTextWho = "ray";
kalien.gotoAndStop(2);
_root.levelMap.redPanel._visible = false;
_root.levelMap.parkedShip.gotoAndStop(2);
_root.useItem();
_root.actionInProcess = true;
_root.shipFixed = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
shroom.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("shroom");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("A mushroom. Don't pick it up though...");
_root.nextText = "It could be poisonous!";
_root.nextTextWho = "ray";
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
wall2.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("wall2");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("My neighbour helped me paint this fence white.");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
tree.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("tree");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's a great big tree!");
_root.nextText = "I bet it would be great for a treehouse!";
_root.nextTextWho = "ray";
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
Symbol 1524 MovieClip Frame 3
_root.radio_bg.stop();
_root.green_bg.stop();
_root.red_bg.start(0, 999);
_parent.menuBar._visible = true;
_parent.bag._visible = true;
_root.thisSceneWalls = false;
_root.actionInProcess = false;
_root.rayIsWalking = false;
_root.rayPosition = 200;
_root.steps = 0;
_root.rayToGo = _root.rayPosition;
_root.bagIsOpen = false;
_root.doorExit = 1;
_root.valid = false;
_root.closeEnough = false;
_root.shipParked = true;
_root.planetNext = 4;
_root.planetNextName = "Planet Orange";
_root.passwordNext = "hippo";
kalien.gotoAndStop(3);
this.onEnterFrame = function () {
_root.doParalax("bg1", 0.5, 0);
_root.doParalax("erf", 0.1, 0);
_root.doParalax("wall", 0.8, 0);
_root.doParalax("wall2", 0.8, 800);
_root.doParalax("postCat", 0.8, 1000);
_root.doParalax("clickObject5", 0.8, 1030);
_root.doParalax("clickObject6", 1.1, 770);
_root.doParalax("clickObject7", 1.5, 1170);
_root.doParalax("postOffice", 1.1, 630);
_root.doParalax("postMan", 1.2, 1000);
_root.doParalax("postBag", 1.15, 1040);
_root.doParalax("redBitAppear", 1.15, 1040);
_root.doParalax("writingDesk", 1, 500);
_root.doParalax("postBox", 1.2, 400);
_root.doParalax("postOfficeKnob", 1.12, 780);
_root.doParalax("parkedShip", 1.2, -200);
_root.doParalax("lampPost", 3, 500);
_root.doParalax("lampPost2", 3, 1500);
_root.doParalax("pavement", 1.5, 0);
_root.doParalax("ray", 1.5, _root.rayPosition);
_root.doParalax("kalien", 1.3, 150);
_root.doParalax("kalienHitter", 1.3, 20);
_root.doParalax("rayTextBox", 1.8, _root.rayPosition);
_root.doParalax("otherTextBox", 0, _root.levelMap[_root.nextTextWho]._x);
if (_root.levelMap.rayTextBox._x < 10) {
_root.levelMap.rayTextBox._x = 10;
} else if (_root.levelMap.rayTextBox._x > 400) {
_root.levelMap.rayTextBox._x = 400;
}
if (_root.levelMap.otherTextBox._x < 10) {
_root.levelMap.otherTextBox._x = 10;
} else if (_root.levelMap.otherTextBox._x > 400) {
_root.levelMap.otherTextBox._x = 400;
}
};
_root.levelMap.clickObject5._visible = false;
if (_root.gotPaper == true) {
_root.levelMap.postCat.gotoAndStop(26);
}
if (_root.gotEnvelope == true) {
_root.levelMap.clickObject6._visible = false;
}
if (_root.gotStamp == true) {
_root.levelMap.clickObject7._visible = false;
}
writeLetter._visible = false;
if ((_root.gotRedBit == false) && (_root.donePostMission == true)) {
_root.levelMap.redBitAppear._visible = true;
_root.levelMap.redBitAppear.gotoAndStop(27);
} else {
_root.levelMap.redBitAppear._visible = false;
}
if (_root.gotFinishedLetter == false) {
writingDesk.gotoAndStop(_root.letterWriting);
}
if (_root.deliveredLetter == true) {
postBox.gotoAndStop(2);
}
if (_root.shipParked == true) {
_root.levelMap.parkedShip.gotoAndStop(2);
}
kalienHitter.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("kalienHitter");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's Kalien the Alien!");
_root.actionInProcess = true;
} else if (_root.handMode == "talkTo") {
_root.nextText = "Lets find that RED piece of rainbow.";
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.nextTextWho = "kalien";
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
postBox.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("postBox");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && (_root.deliveredLetter == false)) {
_root.displayText("That poor Post Box looks very upset.");
_root.actionInProcess = true;
} else if ((_root.handMode == "lookAt") && (_root.deliveredLetter == true)) {
_root.displayText("That certainly cheered him up!");
_root.actionInProcess = true;
} else if ((_root.handMode == "talkTo") && (_root.deliveredLetter == true)) {
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.levelMap.otherTextBox.thisTextNow = "Thanks for the letter! Good luck with your adventure!";
_root.nextTextWho = "postBox";
_root.actionInProcess = true;
} else if ((_root.handMode == "talkTo") && (_root.gotPostMission == false)) {
_root.displayText("Why are you crying, Post Box?");
_root.actionInProcess = true;
_root.nextText = "I'm so lonely... sniff";
_root.nextTextWho = "postBox";
_root.nextNextText = "I wish someone would send me a letter.";
_root.nextNextTextWho = "postBox";
_root.gotPostMission = true;
} else if ((_root.handMode == "talkTo") && (_root.gotPostMission == true)) {
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.levelMap.otherTextBox.thisTextNow = "sob sniffle whine";
_root.nextTextWho = "postBox";
_root.actionInProcess = true;
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe == 10)) {
_root.useItem();
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.levelMap.otherTextBox.thisTextNow = "Thank you for your kind letter!";
_root.deliveredLetter = true;
postBox.gotoAndStop(2);
_root.nextTextWho = "postBox";
_root.nextNextText = "I think the postman might have a gift for you.";
_root.nextNextTextWho = "postBox";
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
postMan.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("postMan");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("He must be the postman.");
_root.actionInProcess = true;
} else if ((((((_root.handMode == "talkTo") && (_root.gotPaper == true)) && (_root.gotStamp == true)) && (_root.gotEnvelope == true)) && (_root.gotPostMission == true)) && (_root.deliveredLetter == false)) {
_root.levelMap.otherTextBox.gotoAndPlay(2);
if (_root.gotPen == false) {
_root.levelMap.otherTextBox.thisTextNow = "Well done! You've nearly got everything you need.";
_root.nextTextWho = "postMan";
_root.nextText = "Here, you can use my pen to write a letter.";
_root.actionInProcess = true;
} else if (_root.gotPen == true) {
_root.levelMap.otherTextBox.thisTextNow = "You've got everything you need!";
_root.nextTextWho = "postMan";
_root.nextNextText = "Now go and cheer up the post box!";
}
} else if (((_root.handMode == "talkTo") && (_root.deliveredLetter == false)) && (_root.gotPostMission == true)) {
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.levelMap.otherTextBox.thisTextNow = "To send a letter you need 4 things...";
_root.nextTextWho = "postMan";
_root.nextNextText = "Paper, an envelope, a stamp... and a pen!";
_root.actionInProcess = true;
} else if (((_root.handMode == "talkTo") && (_root.deliveredLetter == true)) && (_root.donePostMission == false)) {
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.donePostMission = true;
_root.levelMap.otherTextBox.thisTextNow = "I found this in my post bag today.";
_root.levelMap.redBitAppear._visible = true;
_root.levelMap.redBitAppear.gotoAndPlay(2);
_root.nextTextWho = "postMan";
_root.nextNextText = "You were very kind to write a letter for Post Box!";
_root.nextNextTextWho = "postMan";
_root.actionInProcess = true;
} else if (_root.handMode == "talkTo") {
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.levelMap.otherTextBox.thisTextNow = "Good afternoon Mr Ray!";
_root.nextNextTextWho = "postMan";
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
redBitAppear.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("redBitAppear");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's the missing RED rainbow piece!");
_root.actionInProcess = true;
} else if (_root.handMode == "pickUp") {
_root.gotRedBit = true;
_root.levelMap.redBitAppear._visible = false;
_root.levelMap.narratorTextBox.gotoAndPlay(2);
_root.levelMap.narratorTextBox.thisTextNow = "You got the RED rainbow piece!";
_root.S_gotRainbow.start();
_root.levelMap.narratorTextBox.redPiece._visible = true;
_root.actionInProcess = true;
_root.planetorgVisible = 1;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
postOffice.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("postOffice");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's a wobbly post office!");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
postBag.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("postBag");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's a bag full of mail!");
_root.actionInProcess = true;
} else if (_root.handMode == "pickUp") {
_root.displayText("Stealing is wrong!");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
writingDesk.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("writingDesk");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && (writingDesk._currentframe == 1)) {
_root.displayText("Strange for a writing desk to be out here...");
_root.actionInProcess = true;
} else if ((_root.handMode == "lookAt") && (writingDesk._currentframe == 2)) {
_root.displayText("It's a desk with paper on it.");
_root.actionInProcess = true;
} else if ((_root.handMode == "lookAt") && (writingDesk._currentframe >= 3)) {
_root.displayText("It's a desk with a letter on it.");
_root.actionInProcess = true;
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe == 6)) {
_root.useItem();
_root.displayText("I've put the paper on the desk...");
if (_root.gotPen == true) {
_root.nextText = "Now I need to write something";
} else {
_root.nextText = "I can't write a letter without a pen...";
}
_root.nextTextWho = "ray";
_root.actionInProcess = true;
_root.levelMap.writingDesk.gotoAndStop(2);
_root.letterWriting = 2;
} else if (((_root.handMode == "useItem") && (_root.cursorItem._currentframe == 9)) && (_root.letterWriting == 2)) {
_root.useItem();
_root.levelMap.writeLetter._visible = true;
_root.actionInProcess = true;
} else if (((_root.handMode == "useItem") && (_root.cursorItem._currentframe == 7)) && (_root.letterWriting == 3)) {
_root.useItem();
_root.levelMap.writingDesk.gotoAndStop(4);
_root.letterWriting = 4;
} else if (((_root.handMode == "useItem") && (_root.cursorItem._currentframe == 8)) && (_root.letterWriting == 4)) {
_root.displayText("Right! Now I just need to post it.");
_root.actionInProcess = true;
_root.useItem();
_root.levelMap.writingDesk.gotoAndStop(5);
_root.letterWriting = 5;
} else if (((_root.handMode == "pickUp") && (_root.letterWriting == 5)) && (_root.gotFinishedLetter == false)) {
_root.levelMap.writingDesk.gotoAndStop(1);
_root.gotFinishedLetter = true;
_root.pickUp(4, 7);
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
postCat.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("postCat");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "talkTo") && (postCat._currentframe != 1)) {
_root.displayText("I'm afraid I can't talk cat language.");
_root.actionInProcess = true;
} else if (((_root.handMode == "lookAt") || (_root.handMode == "talkTo")) && (postCat._currentframe == 1)) {
if (_root.gotPostMission == true) {
_root.displayText("Hey! That cat's got some paper!");
postCat.gotoAndPlay(2);
} else {
_root.displayText("What a cute kitty.");
}
_root.S_mew.start();
_root.actionInProcess = true;
} else if ((_root.handMode == "lookAt") && (postCat._currentframe != 1)) {
_root.displayText("What a cute kitty.");
_root.nextText = "and what a fabulous tail!";
_root.nextTextWho = "ray";
_root.actionInProcess = true;
} else if (_root.handMode == "pickUp") {
_root.displayText("I don't think he'd like that!");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
clickObject5.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("clickObject5");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("The cat on the wall dropped some paper!");
_root.actionInProcess = true;
} else if (_root.handMode == "pickUp") {
_root.displayText("I got some paper");
_root.gotPaper = true;
_root.pickUp(5, 3);
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
clickObject6.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("clickObject6");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && (_root.gotPostMission == false)) {
_root.displayText("It's just an envelope.");
_root.actionInProcess = true;
} else if ((_root.handMode == "lookAt") && (_root.gotPostMission == true)) {
_root.displayText("Ah an envelope! I could use that.");
_root.actionInProcess = true;
} else if ((_root.handMode == "pickUp") && (_root.gotPostMission == true)) {
_root.displayText("I got an envelope!");
_root.gotEnvelope = true;
_root.pickUp(6, 4);
_root.actionInProcess = true;
} else {
_root.displayText("Why would I want to do that?");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
clickObject7.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("clickObject7");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && (_root.gotPostMission == false)) {
_root.displayText("Some rubbish stuck in that grid..");
_root.actionInProcess = true;
} else if ((_root.handMode == "lookAt") && (_root.gotPostMission == true)) {
_root.displayText("Ah a stamp! I'll need this.");
_root.actionInProcess = true;
} else if ((_root.handMode == "pickUp") && (_root.gotPostMission == true)) {
_root.displayText("I got a stamp!");
_root.gotStamp = true;
_root.pickUp(7, 5);
_root.actionInProcess = true;
} else {
_root.displayText("Why would I want to do that?");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
erf.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if (_root.handMode == "lookAt") {
_root.displayText("The earth looks so small from here!");
_root.actionInProcess = true;
} else {
_root.displayText("Why would I want to do that?");
_root.actionInProcess = true;
}
}
};
Symbol 1524 MovieClip Frame 4
_root.red_bg.stop();
_root.radio_bg.stop();
_root.waterfallsound.start(0, 9999);
_root.junglesound.start(0, 9999);
_parent.menuBar._visible = true;
_parent.bag._visible = true;
_root.thisSceneWalls = false;
_root.actionInProcess = false;
_root.rayIsWalking = false;
_root.rayPosition = 200;
_root.steps = 0;
_root.rayToGo = _root.rayPosition;
_root.bagIsOpen = false;
_root.doorExit = 1;
_root.valid = false;
_root.closeEnough = false;
_root.walkConstrained = 0.8;
_root.shipParked = true;
_root.planetNext = 5;
_root.planetNextName = "Planet Yellow";
_root.passwordNext = "dune";
kalien.gotoAndStop(3);
this.onEnterFrame = function () {
_root.doParalax("bg1", 0.01, 0);
_root.doParalax("erf", 0.05, 50);
_root.doParalax("rplanet", 0.1, 150);
_root.doParalax("forestFloor", 0.6, 0);
_root.doParalax("parkedShip", 1.2, -200);
_root.doParalax("ray", 1.5, _root.rayPosition);
_root.doParalax("kalien", 1.3, 150);
_root.doParalax("tiger", 1.1, 550);
_root.doParalax("foreTree1", 3, 300);
_root.doParalax("foreTree2", 2.5, 600);
_root.doParalax("foreTree3", 3, 1800);
_root.doParalax("foreTree4", 3, 2100);
_root.doParalax("orangePile", 0.7, 200);
_root.doParalax("orangeAppear", 1.3, 600);
_root.doParalax("bgTrees2", 0.8, 0);
_root.doParalax("clickObject9", 0.6, 600);
_root.doParalax("clickObject10", 1, 940);
_root.doParalax("clickObject11", 1, 1200);
_root.doParalax("clickObject12", 3, 1750);
_root.doParalax("waterfall1", 1, 1100);
_root.doParalax("waterfall2", 1, 1280);
_root.doParalax("hippo", 1, 970);
_root.doParalax("waterfall3", 1.3, 950);
_root.doParalax("steam", 1, 1220);
_root.doParalax("kalienHitter", 1.3, 20);
_root.doParalax("rayTextBox", 1.8, _root.rayPosition);
_root.doParalax("otherTextBox", 0, _root.levelMap[_root.nextTextWho]._x);
_root.levelMap.waterfall2._xscale = 50 + (150 * (1 - _root.perc));
if (_root.levelMap.rayTextBox._x < 10) {
_root.levelMap.rayTextBox._x = 10;
} else if (_root.levelMap.rayTextBox._x > 400) {
_root.levelMap.rayTextBox._x = 400;
}
if (_root.levelMap.otherTextBox._x < 10) {
_root.levelMap.otherTextBox._x = 10;
} else if (_root.levelMap.otherTextBox._x > 400) {
_root.levelMap.otherTextBox._x = 400;
}
};
if (_root.shipParked == true) {
_root.levelMap.parkedShip.gotoAndStop(2);
}
_root.levelMap.rplanet.gotoAndStop(50);
kalienHitter.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("kalienHitter");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's Kalien the Alien!");
_root.actionInProcess = true;
} else if (_root.handMode == "talkTo") {
_root.nextText = "Lets find that ORANGE piece of rainbow.";
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.nextTextWho = "kalien";
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
tiger.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("tiger");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && (_root.doneOrangeMission == false)) {
_root.displayText("It's a tiger without any stripes!");
_root.actionInProcess = true;
} else if ((_root.handMode == "lookAt") && (_root.doneOrangeMission == true)) {
_root.displayText("The tiger's got his stripes back!");
_root.actionInProcess = true;
} else if ((_root.handMode == "talkTo") && (_root.gotOrangeMission == false)) {
_root.displayText("Hello, are you okay?");
_root.nextText = "Not really... I've lost my stripes somewhere.";
_root.nextTextWho = "tiger";
_root.nextNextText = "Don't worry, I'll help you find them.";
_root.nextNextTextWho = "ray";
_root.gotOrangeMission = true;
_root.actionInProcess = true;
} else if (((_root.handMode == "talkTo") && (_root.gotOrangeMission == true)) && (_root.doneOrangeMission == false)) {
_root.displayText("You'll be stripey again in no time!");
_root.nextText = "Thanks for helping me out!";
_root.nextTextWho = "tiger";
_root.actionInProcess = true;
} else if ((_root.handMode == "talkTo") && (_root.doneOrangeMission == true)) {
_root.displayText("How are your stripes feeling?");
_root.nextText = "Good as Gnu!";
_root.nextTextWho = "tiger";
_root.actionInProcess = true;
} else if (((_root.handMode == "useItem") && (_root.cursorItem._currentframe > 10)) && (_root.stripesToGet > 1)) {
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.levelMap.otherTextBox.thisTextNow = ("Great! Only " + (_root.stripesToGet - 1)) + " stripes left.";
_root.actionInProcess = true;
_root.useItem();
_root.stripesToGet--;
_root.levelMap.tiger.gotoAndStop(5 - _root.stripesToGet);
_root.nextTextWho = "tiger";
} else if (((_root.handMode == "useItem") && (_root.cursorItem._currentframe > 10)) && (_root.stripesToGet == 1)) {
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.levelMap.otherTextBox.thisTextNow = "THANK YOU! You found all of my stripes!";
_root.nextText = "This was lying around amongst my oranges...";
_root.nextTextWho = "tiger";
orangeAppear._visible = true;
orangeAppear.gotoAndPlay(2);
_root.doneOrangeMission = true;
_root.useItem();
_root.stripesToGet--;
_root.levelMap.tiger.gotoAndStop(5 - _root.stripesToGet);
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
orangeAppear.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("orangeAppear");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's the missing ORANGE rainbow piece!");
_root.actionInProcess = true;
} else if (_root.handMode == "pickUp") {
_root.levelMap.orangeAppear._visible = false;
_root.levelMap.narratorTextBox.gotoAndPlay(2);
_root.levelMap.narratorTextBox.thisTextNow = "You got the ORANGE rainbow piece!";
_root.S_gotRainbow.start();
_root.levelMap.narratorTextBox.orangePiece._visible = true;
_root.actionInProcess = true;
_root.planetyelVisible = 1;
_root.gotOrangeBit = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
clickObject9.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("clickObject9");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && (_root.gotOrangeMission == true)) {
_root.displayText("That's one of his stripes!");
_root.actionInProcess = true;
} else if ((_root.handMode == "pickUp") && (_root.gotOrangeMission == true)) {
_root.pickUp(9, 8);
_root.gotStripe1 = true;
_root.displayText("I got a stripe.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
clickObject10.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("clickObject10");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && (_root.gotOrangeMission == true)) {
_root.displayText("That's one of his stripes!");
_root.actionInProcess = true;
} else if ((_root.handMode == "pickUp") && (_root.gotOrangeMission == true)) {
_root.pickUp(10, 9);
_root.gotStripe2 = true;
_root.displayText("I got a stripe.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
clickObject11.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("clickObject11");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && (_root.gotOrangeMission == true)) {
_root.displayText("That's one of his stripes!");
_root.actionInProcess = true;
} else if ((_root.handMode == "pickUp") && (_root.gotOrangeMission == true)) {
_root.pickUp(11, 10);
_root.gotStripe3 = true;
_root.displayText("I got a stripe.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
clickObject12.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("clickObject12");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && (_root.gotOrangeMission == true)) {
_root.displayText("That's one of his stripes!");
_root.actionInProcess = true;
} else if ((_root.handMode == "pickUp") && (_root.gotOrangeMission == true)) {
_root.pickUp(12, 11);
_root.gotStripe4 = true;
_root.displayText("I got a stripe.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
orangePile.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("orangePile");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("A pile of oranges...");
_root.nextText = "That tiger must be a vegetarian!";
_root.nextTextWho = "ray";
_root.actionInProcess = true;
} else if (_root.handMode == "pickUp") {
_root.displayText("I should leave them alone");
_root.nextText = "The tiger will get mad!";
_root.nextTextWho = "ray";
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
hippo.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("hippo");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("Aw look! He's having a bath.");
_root.nextText = "I won't disturb him.";
_root.nextTextWho = "ray";
_root.actionInProcess = true;
} else if (_root.handMode == "pickUp") {
_root.displayText("He's not my type.");
_root.actionInProcess = true;
} else if ((_root.handMode == "talkTo") && (_root.gotOrangeMission == true)) {
if (_root.gotStripe2 == true) {
_root.displayText("He looks a bit too busy to talk.");
} else if (_root.stripe2Ready == false) {
_root.displayText("Have you seen a stripe around here?");
_root.nextText = "Yes, it was floating in my bath!";
_root.nextNextTextWho = "hippo";
_root.nextNextText = "You can have it if you want.";
_root.nextTextWho = "hippo";
_root.stripe2Ready = true;
_root.levelMap.clickObject10.gotoAndPlay(2);
}
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
waterfall1.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("waterfall1");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("Wow, what a neat waterfall!");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
Symbol 1524 MovieClip Frame 5
_root.waterfallsound.stop();
_root.junglesound.stop();
_root.radio_bg.stop();
_root.desertsound.start(0, 9999);
_parent.menuBar._visible = true;
_parent.bag._visible = true;
_root.thisSceneWalls = false;
_root.actionInProcess = false;
_root.rayIsWalking = false;
_root.rayPosition = 200;
_root.steps = 0;
_root.rayToGo = _root.rayPosition;
_root.bagIsOpen = false;
_root.doorExit = 1;
_root.valid = false;
_root.closeEnough = false;
_root.walkConstrained = 0.8;
_root.shipParked = true;
_root.planetNext = 6;
_root.planetNextName = "Planet Green";
_root.passwordNext = "apple";
_root.pickedUpPiece = false;
kalien.gotoAndStop(3);
how_to_puzzle._visible = false;
this.onEnterFrame = function () {
_root.doParalax("bg1", 0.01, 0);
_root.doParalax("oplanet", 0.1, 150);
_root.doParalax("forestFloor", 0.6, 0);
_root.doParalax("parkedShip", 1.2, -200);
_root.doParalax("ray", 1.5, _root.rayPosition);
_root.doParalax("kalien", 1.3, 150);
_root.doParalax("rayTextBox", 1.8, _root.rayPosition);
_root.doParalax("otherTextBox", 0, _root.levelMap[_root.nextTextWho]._x);
_root.doParalax("dunes", 0.6, 0);
_root.doParalax("cloud", 0.2, 0);
_root.doParalax("dunes2", 0.3, 0);
_root.doParalax("pyramids", 0.4, 800);
_root.doParalax("oasis", 0.8, 200);
_root.doParalax("yellowAppear", 1.3, 800);
_root.doParalax("cactus2", 0.7, 600);
_root.doParalax("cactus1", 0.6, 500);
_root.doParalax("stick_1", 1.1, 750);
_root.doParalax("stick_2", 1.1, 1000);
_root.doParalax("stick_3", 1.1, 1250);
_root.doParalax("camel", 1.3, 450);
if (_root.levelMap.rayTextBox._x < 10) {
_root.levelMap.rayTextBox._x = 10;
} else if (_root.levelMap.rayTextBox._x > 400) {
_root.levelMap.rayTextBox._x = 400;
}
if (_root.levelMap.otherTextBox._x < 10) {
_root.levelMap.otherTextBox._x = 10;
} else if (_root.levelMap.otherTextBox._x > 400) {
_root.levelMap.otherTextBox._x = 400;
}
};
if (_root.shipParked == true) {
_root.levelMap.parkedShip.gotoAndStop(2);
}
if ((_root.gotYellowBit == false) && (_root.pyramidDone == true)) {
_root.levelMap.yellowAppear._visible = true;
_root.levelMap.yellowAppear.gotoAndStop(27);
} else {
_root.levelMap.yellowAppear._visible = false;
}
if (_root.pyramidDone == false) {
stick_1.nam = 1;
stick_2.nam = 2;
stick_3.nam = 3;
stick_1.gotoAndStop("s_0_0_1_4");
stick_2.gotoAndStop("s_0_0_0_3");
stick_3.gotoAndStop("s_0_0_0_2");
_root.picked_p = null;
} else {
_root.levelMap["stick_" + whichStickDidntIt].gotoAndStop(65);
_root.levelMap["stick_" + whichStickDidntIt2].gotoAndStop(65);
_root.levelMap["stick_" + whichStickDidIt].gotoAndStop(66);
}
oplanet.gotoAndStop(50);
kalienHitter.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("kalienHitter");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's Kalien the Alien!");
_root.actionInProcess = true;
} else if (_root.handMode == "talkTo") {
_root.nextText = "Lets find that YELLOW piece of rainbow.";
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.nextTextWho = "kalien";
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
camel.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("camel");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && (_root.pyramidDone == false)) {
_root.displayText("That camel looks upset.");
_root.actionInProcess = true;
} else if ((_root.handMode == "lookAt") && (_root.pyramidDone == true)) {
_root.displayText("She's much happier now the pyramid's fixed.");
_root.actionInProcess = true;
} else if ((((_root.handMode == "talkTo") && (_root.gotYellowMission == false)) && (_root.pyramidDone == false)) && (_root.doneYellowMission == false)) {
_root.displayText("Why are you so glum, Mrs Camel?");
_root.nextText = "I can't put this pyramid together properly!";
_root.nextTextWho = "camel";
_root.nextNextText = "Don't worry, I'm good at puzzles!";
_root.nextNextTextWho = "ray";
_root.gotYellowMission = true;
_root.actionInProcess = true;
} else if ((((_root.handMode == "talkTo") && (_root.gotYellowMission == true)) && (_root.pyramidDone == false)) && (_root.doneYellowMission == false)) {
_root.displayText("Don't worry, Mrs Camel, I'll sort your pyramid.");
_root.actionInProcess = true;
} else if ((((_root.handMode == "talkTo") && (_root.gotYellowMission == true)) && (_root.pyramidDone == true)) && (_root.doneYellowMission == false)) {
_root.displayText("The pyramid is built!");
_root.levelMap.camel.gotoAndStop(2);
_root.nextText = "Thank you darling! You can have this curvy thing.";
_root.nextTextWho = "camel";
_root.doneYellowMission = true;
_root.actionInProcess = true;
} else if ((((_root.handMode == "talkTo") && (_root.gotYellowMission == true)) && (_root.pyramidDone == true)) && (_root.doneYellowMission == true)) {
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.levelMap.otherTextBox.thisTextNow = "Thanks for your help! See you again soon.";
_root.nextTextWho = "camel";
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
yellowAppear.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("yellowAppear");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's the missing YELLOW rainbow piece!");
_root.actionInProcess = true;
} else if (_root.handMode == "pickUp") {
_root.levelMap.yellowAppear._visible = false;
_root.levelMap.narratorTextBox.gotoAndPlay(2);
_root.levelMap.narratorTextBox.thisTextNow = "You got the YELLOW rainbow piece!";
_root.S_gotRainbow.start();
_root.levelMap.narratorTextBox.yellowPiece._visible = true;
_root.actionInProcess = true;
_root.planetgrnVisible = 1;
_root.gotYellowBit = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
oasis.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("oasis");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's an oasis. A little lake in the desert.");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
pyramids.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("pyramids");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("The pyramids are thousands of years old.");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
cactus2.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("cactus2");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's a small cactus");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
cactus1.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("cactus1");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's a big cactus");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
Symbol 1524 MovieClip Frame 6
_root.desertsound.stop();
_root.radio_bg.stop();
_root.green_bg.start(0, 9999);
_parent.menuBar._visible = true;
_parent.bag._visible = true;
_root.thisSceneWalls = false;
_root.actionInProcess = false;
_root.rayIsWalking = false;
_root.rayPosition = 200;
_root.steps = 0;
_root.rayToGo = _root.rayPosition;
_root.bagIsOpen = false;
_root.doorExit = 1;
_root.valid = false;
_root.closeEnough = false;
_root.shipParked = true;
_root.planetNext = 7;
_root.planetNextName = "Planet Blue";
_root.passwordNext = "fishy";
startedWatering = false;
kalien.gotoAndStop(3);
this.onEnterFrame = function () {
_root.doParalax("bg1", 0.3, 0);
_root.doParalax("ray", 1.5, _root.rayPosition);
_root.doParalax("kalien", 1.3, 150);
_root.doParalax("kalienHitter", 1.3, 20);
_root.doParalax("parkedShip", 1.2, -200);
_root.doParalax("rayTextBox", 1.8, _root.rayPosition);
_root.doParalax("otherTextBox", 0, _root.levelMap[_root.nextTextWho]._x);
_root.doParalax("foreTree", 2.2, 600);
_root.doParalax("clickObject10", 2.2, 795);
_root.doParalax("waterTower", 0.8, 200);
_root.doParalax("pipe1", 0.78, 300);
_root.doParalax("pipe2", 0.9, 350);
_root.doParalax("pipe3", 1.3, 400);
_root.doParalax("tapHose", 1.3, 437);
_root.doParalax("kink1", 1.3, 487);
_root.doParalax("kink2", 1.3, 716);
_root.doParalax("kink3", 1.3, 790);
_root.doParalax("kink4", 1.3, 950);
_root.doParalax("hoseEnd", 1.3, 1080);
_root.doParalax("backLeg", 0.73, 250);
_root.doParalax("mainTree", 1.3, 1230);
_root.doParalax("hills", 0.6, 0);
_root.doParalax("farBgTrees", 0.4, 200);
_root.doParalax("frog", 1, 800);
_root.doParalax("bush1", 2, 300);
_root.doParalax("bush2", 1.8, 1000);
_root.doParalax("greenAppear", 0.9, 1120);
if (_root.levelMap.rayTextBox._x < 10) {
_root.levelMap.rayTextBox._x = 10;
} else if (_root.levelMap.rayTextBox._x > 400) {
_root.levelMap.rayTextBox._x = 400;
}
if (_root.levelMap.otherTextBox._x < 10) {
_root.levelMap.otherTextBox._x = 10;
} else if (_root.levelMap.otherTextBox._x > 400) {
_root.levelMap.otherTextBox._x = 400;
}
};
if ((_root.gotGreenBit == false) && (_root.treeWatered == true)) {
_root.levelMap.greenAppear._visible = true;
_root.levelMap.greenAppear.gotoAndStop(27);
} else {
_root.levelMap.greenAppear._visible = false;
}
_root.levelMap.kink4._visible = false;
_root.levelMap.kink3._visible = false;
_root.levelMap.kink2._visible = false;
_root.levelMap.kink1._visible = false;
_root.levelMap.hoseEnd._visible = false;
if (_root.gotHose == true) {
_root.levelMap.clickObject10._visible = false;
}
if (_root.attachedHose == true) {
_root.levelMap.tapHose._visible = true;
_root.levelMap.tapHose.gotoAndStop(15);
_root.levelMap.kink4._visible = true;
_root.levelMap.kink3._visible = true;
_root.levelMap.kink2._visible = true;
_root.levelMap.kink1._visible = true;
_root.levelMap.hoseEnd._visible = true;
} else {
_root.levelMap.tapHose._visible = false;
}
if (_root.gotKink1 == true) {
_root.levelMap.kink1._visible = false;
}
if (_root.gotKink2 == true) {
_root.levelMap.kink2._visible = false;
}
if (_root.gotKink3 == true) {
_root.levelMap.kink3._visible = false;
}
if (_root.gotKink4 == true) {
_root.levelMap.kink4._visible = false;
}
if (_root.treeWatered == true) {
_root.levelMap.mainTree.gotoAndStop(3);
}
if (_root.shipParked == true) {
_root.levelMap.parkedShip.gotoAndStop(2);
}
kalienHitter.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("kalienHitter");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's Kalien the Alien!");
_root.actionInProcess = true;
} else if (_root.handMode == "talkTo") {
_root.nextText = "Lets find that GREEN piece of rainbow.";
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.nextTextWho = "kalien";
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
clickObject10.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("clickObject10");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && (_root.gotGreenMission == false)) {
_root.displayText("What a strange looking snake.");
_root.actionInProcess = true;
} else if ((_root.handMode == "lookAt") && (_root.gotGreenMission == true)) {
_root.displayText("Thats a hose! I can use that.");
_root.actionInProcess = true;
} else if ((_root.handMode == "pickUp") && (_root.gotGreenMission == true)) {
_root.displayText("I got the hose.");
_root.pickUp(10, 12);
_root.gotHose = true;
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
pipe3.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("pipe3");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && (_root.gotGreenMission == false)) {
_root.displayText("It's a pipe with a tap on the end...");
_root.actionInProcess = true;
} else if ((((_root.handMode == "lookAt") && (_root.gotGreenMission == true)) && (_root.doneGreenMission == false)) && (_root.attachedHose == true)) {
_root.displayText("That's a water tap with a hose on it.");
_root.actionInProcess = true;
} else if ((((_root.handMode == "lookAt") && (_root.gotGreenMission == true)) && (_root.doneGreenMission == false)) && (_root.attachedHose == false)) {
_root.displayText("That's a handy outdoor water tap.");
_root.actionInProcess = true;
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe == 15)) {
_root.displayText("I've attached the pipe to the tap...");
_root.nextText = "but it's got kinks in it!";
_root.nextTextWho = "ray";
_root.useItem();
_root.attachedHose = true;
_root.levelMap.pipe3.gotoAndStop(2);
tapHose._visible = true;
tapHose.gotoAndPlay(1);
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
hoseEnd.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("hoseEnd");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's the end of the hosepipe.");
_root.actionInProcess = true;
} else if (((_root.handMode == "pickUp") && (_root.treeWatered == false)) && (startedWatering == false)) {
_root.cursorItem.gotoAndStop(16);
_root.handMode = "useItem";
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
greenAppear.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("hoseEnd");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's the missing GREEN rainbow piece!");
_root.actionInProcess = true;
} else if (_root.handMode == "pickUp") {
_root.doneGreenMission = true;
_root.levelMap.greenAppear._visible = false;
_root.levelMap.narratorTextBox.gotoAndPlay(2);
_root.levelMap.narratorTextBox.thisTextNow = "You got the GREEN rainbow piece!";
_root.S_gotRainbow.start();
_root.levelMap.narratorTextBox.greenPiece._visible = true;
_root.actionInProcess = true;
_root.planetbluVisible = 1;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
mainTree.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("mainTree");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && (_root.gotGreenMission == false)) {
_root.displayText("He looks sad.");
_root.actionInProcess = true;
} else if (((_root.handMode == "lookAt") && (_root.gotGreenMission == true)) && (_root.treeWatered == false)) {
_root.displayText("That tree needs a good watering.");
_root.actionInProcess = true;
} else if (((_root.handMode == "lookAt") && (_root.gotGreenMission == true)) && (_root.treeWatered == true)) {
_root.displayText("He's happy and watered now!");
_root.actionInProcess = true;
} else if (((_root.handMode == "talkTo") && (_root.gotGreenMission == true)) && (_root.treeWatered == true)) {
_root.displayText("You look much better Mr Tree!");
_root.nextText = "Thanks Mr Ray!";
_root.nextTextWho = "mainTree";
_root.actionInProcess = true;
} else if (((_root.handMode == "talkTo") && (_root.gotGreenMission == true)) && (_root.treeWatered == false)) {
_root.levelMap.otherTextBox.thisTextNow = "Please WATER me!";
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.nextTextWho = "mainTree";
_root.actionInProcess = true;
} else if ((_root.handMode == "talkTo") && (_root.gotGreenMission == false)) {
_root.displayText("Hello grumpy tree. What's the matter?");
_root.nextText = "I'm too dry. I haven't been watered in ages!";
_root.nextTextWho = "mainTree";
_root.nextNextText = "I'm sure I can help you out!";
_root.nextNextTextWho = "ray";
_root.gotGreenMission = true;
_root.actionInProcess = true;
} else if (((((((_root.handMode == "useItem") && (_root.cursorItem._currentframe == 16)) && (_root.gotKink1 == true)) && (_root.gotKink2 == true)) && (_root.gotKink3 == true)) && (_root.gotKink4 == true)) && (startedWatering == false)) {
hoseEnd.gotoAndPlay(2);
_root.handMode = "talkTo";
_root.cursorItem.gotoAndStop("talkTo");
startedWatering = true;
_root.actionInProcess = true;
} else if ((_root.handMode == "useItem") && (_root.cursorItem._currentframe == 16)) {
_root.displayText("There's something blocking the water flow...");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
kink1.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("kink1");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "pickUp") {
kink1._visible = false;
_root.gotKink1 = true;
} else {
_root.displayText("I should probably pick the kinks up.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
kink2.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("kink2");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "pickUp") {
kink2._visible = false;
_root.gotKink2 = true;
} else {
_root.displayText("I should probably pick the kinks up.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
kink3.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("kink3");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "pickUp") {
kink3._visible = false;
_root.gotKink3 = true;
} else {
_root.displayText("I should probably pick the kinks up.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
kink4.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("kink4");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "pickUp") {
kink4._visible = false;
_root.gotKink4 = true;
} else {
_root.displayText("I should probably pick the kinks up.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
frog.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("frog");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("I wonder if he is really a prince!");
_root.actionInProcess = true;
} else if (_root.handMode == "talkTo") {
_root.displayText("Hello Mr Frog");
_root.nextText = "Ribbit!";
_root.nextTextWho = "frog";
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
waterTower.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("waterTower");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("A water tower, and a pipe...");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
Symbol 1524 MovieClip Frame 7
_root.radio_bg.stop();
_root.green_bg.stop();
_parent.menuBar._visible = true;
_parent.bag._visible = true;
_root.thisSceneWalls = false;
_root.actionInProcess = false;
_root.rayIsWalking = false;
_root.rayPosition = 600;
_root.steps = 0;
_root.rayToGo = _root.rayPosition;
_root.bagIsOpen = false;
_root.doorExit = 1;
_root.valid = false;
_root.closeEnough = false;
_root.shipParked = true;
kalien.gotoAndStop(3);
this.onEnterFrame = function () {
_root.doParalax("bg1", 0.3, 0);
_root.doParalax("ray", 1.5, _root.rayPosition);
_root.doParalax("kalien", 1.3, 450);
_root.doParalax("kalienHitter", 1.3, 320);
_root.doParalax("parkedShip", 1.2, 200);
_root.doParalax("rayTextBox", 1.8, _root.rayPosition);
_root.doParalax("otherTextBox", 0, _root.levelMap[_root.nextTextWho]._x);
_root.doParalax("diveChoice", 1.8, 780);
_root.doParalax("island", 1.3, 250);
_root.doParalax("miniwavesNear", 1, 250);
_root.doParalax("miniwavesMid", 0.6, 450);
_root.doParalax("miniwavesFar", 0.4, 650);
_root.doParalax("midIsle", 0.8, 750);
_root.doParalax("farIsle", 0.5, 150);
_root.doParalax("sink_boat", 0.6, 670);
_root.doParalax("waves", 0.3, 0);
_root.doParalax("sailor", 1.3, 650);
_root.doParalax("seagull", 0.8, 0);
_root.doParalax("seagull2", 0.4, 700);
if (_root.levelMap.rayTextBox._x < 10) {
_root.levelMap.rayTextBox._x = 10;
} else if (_root.levelMap.rayTextBox._x > 400) {
_root.levelMap.rayTextBox._x = 400;
}
if (_root.levelMap.otherTextBox._x < 10) {
_root.levelMap.otherTextBox._x = 10;
} else if (_root.levelMap.otherTextBox._x > 400) {
_root.levelMap.otherTextBox._x = 400;
}
if (_root.levelMap.diveChoice._x < 10) {
_root.levelMap.diveChoice._x = 10;
} else if (_root.levelMap.diveChoice._x > 400) {
_root.levelMap.diveChoice._x = 400;
}
};
_root.levelMap.blueAppear._visible = false;
if (_root.shipParked == true) {
_root.levelMap.parkedShip.gotoAndStop(2);
}
if (_root.whaleSaved == true) {
_root.levelMap.sink_boat._visible = false;
}
kalienHitter.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's Kalien the Alien!");
_root.actionInProcess = true;
} else if (_root.handMode == "talkTo") {
_root.nextText = "Lets find that BLUE piece of rainbow.";
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.nextTextWho = "kalien";
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
}
};
sailor.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if (_root.handMode == "lookAt") {
_root.displayText("He's a real salty sea-dog!");
_root.actionInProcess = true;
} else if (((_root.handMode == "talkTo") && (_root.gotBlueMission == false)) && (_root.doneBlueMission == false)) {
_root.displayText("What's going on?");
_root.nextText = "Me ship's come adrift 'pon these here islands.";
_root.nextNextText = "The cargo o' oil be pourin' out into the sea!";
_root.nextTextWho = "sailor";
_root.nextNextTextWho = "sailor";
_root.gotBlueMission = true;
_root.actionInProcess = true;
} else if (((_root.handMode == "talkTo") && (_root.gotBlueMission == true)) && (_root.whaleSaved == false)) {
_root.needToSaveWhale = true;
_root.levelMap.otherTextBox.thisTextNow = "There's a poor whale sufferin' down there!";
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.nextTextWho = "sailor";
_root.actionInProcess = true;
} else if ((_root.handMode == "talkTo") && (_root.whaleSaved == true)) {
_root.displayText("I've saved the poor whale.");
_root.nextText = "Yarr, me laddy! Ye've done a fine job.";
_root.nextNextText = "As a thank-ye. Here's a piece of me treasure!";
_root.nextTextWho = "sailor";
_root.nextNextTextWho = "sailor";
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
}
};
sink_boat.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if (_root.handMode == "lookAt") {
_root.displayText("oh no! There must have been an accident!");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
}
};
Symbol 1524 MovieClip Frame 8
_root.radio_bg.stop();
_root.underwater.stop();
_parent.menuBar._visible = true;
_parent.bag._visible = true;
_root.thisSceneWalls = false;
_root.actionInProcess = false;
_root.rayIsWalking = false;
_root.rayPosition = 200;
_root.steps = 0;
_root.rayToGo = _root.rayPosition;
_root.bagIsOpen = false;
_root.doorExit = 1;
_root.valid = false;
_root.closeEnough = false;
_root.shipParked = true;
_root.planetNext = 9;
_root.planetNextName = "Planet Violet";
_root.passwordNext = "molehole";
kalien.gotoAndStop(3);
this.onEnterFrame = function () {
_root.doParalax("bg1", 0.3, 0);
_root.doParalax("ray", 1.5, _root.rayPosition);
_root.doParalax("kalien", 1.3, 150);
_root.doParalax("kalienHitter", 1.3, 20);
_root.doParalax("parkedShip", 1.2, -200);
_root.doParalax("rayTextBox", 1.8, _root.rayPosition);
_root.doParalax("otherTextBox", 0, _root.levelMap[_root.nextTextWho]._x);
_root.doParalax("hills", 0.4, 0);
_root.doParalax("silo", 1.3, 800);
_root.doParalax("farmer", 1.3, 700);
_root.doParalax("bigWheel", 1.2, 930);
_root.doParalax("chuteTop", 1, 880);
_root.doParalax("chute", 1.1, 910);
_root.doParalax("indigoAppear", 1, 980);
_root.doParalax("vines1", 1.1, 210);
_root.doParalax("vines2", 1.1, 410);
_root.doParalax("vines3", 0.7, 250);
_root.doParalax("vines4", 0.7, 450);
_root.doParalax("vines5", 1.1, 10);
_root.doParalax("vines6", 0.7, 50);
_root.doParalax("clickObject20", 1.05, 490);
_root.doParalax("clickObject19", 0.5, 920);
_root.doParalax("clickObject21", 0.6, 350);
_root.doParalax("clickObject18", 2.15, 1220);
_root.doParalax("tractor", 0.6, 300);
_root.doParalax("barrow", 2.2, 1150);
if (_root.levelMap.rayTextBox._x < 10) {
_root.levelMap.rayTextBox._x = 10;
} else if (_root.levelMap.rayTextBox._x > 400) {
_root.levelMap.rayTextBox._x = 400;
}
if (_root.levelMap.otherTextBox._x < 10) {
_root.levelMap.otherTextBox._x = 10;
} else if (_root.levelMap.otherTextBox._x > 400) {
_root.levelMap.otherTextBox._x = 400;
}
};
if ((_root.gotIndigoBit == false) && (_root.fixedPress == true)) {
_root.levelMap.indigoAppear._visible = true;
_root.levelMap.indigoAppear.gotoAndStop(27);
} else {
_root.levelMap.indigoAppear._visible = false;
}
if (_root.gotCog1 == true) {
_root.levelMap.clickObject18._visible = false;
}
if (_root.gotCog2 == true) {
_root.levelMap.clickObject19._visible = false;
}
if (_root.gotCog3 == true) {
_root.levelMap.clickObject20._visible = false;
}
if (_root.gotCog4 == true) {
_root.levelMap.clickObject21._visible = false;
}
_root.levelMap.expandedChute._visible = false;
_root.levelMap.expandedChute.drop1.dropId = 1;
_root.levelMap.expandedChute.drop2.dropId = 2;
_root.levelMap.expandedChute.drop3.dropId = 3;
_root.levelMap.expandedChute.drop4.dropId = 4;
_root.pressTurns = 250;
if (_root.fixedPress == true) {
_root.levelMap.farmer.gotoAndStop(2);
}
if (_root.shipParked == true) {
_root.levelMap.parkedShip.gotoAndStop(2);
}
kalienHitter.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("kalienHitter");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's Kalien the Alien!");
_root.actionInProcess = true;
} else if (_root.handMode == "talkTo") {
_root.nextText = "Lets find that INDIGO piece of rainbow.";
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.nextTextWho = "kalien";
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
farmer.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("farmer");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's a NICE moustache!");
_root.actionInProcess = true;
} else if (((_root.handMode == "talkTo") && (_root.gotIndigoMission == false)) && (_root.doneIndigoMission == false)) {
_root.displayText("Have you seen any rainbow pieces?");
_root.nextText = "Nah, sorry feller. But while yer here...";
_root.nextNextText = "can you help me fix this here grape press?";
_root.nextTextWho = "farmer";
_root.nextNextTextWho = "farmer";
_root.gotIndigoMission = true;
_root.actionInProcess = true;
} else if (((_root.handMode == "talkTo") && (_root.fixedPress == true)) && (_root.doneIndigoMission == false)) {
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.levelMap.otherTextBox.thisTextNow = "Wow! Ya fixed it! Well done!";
_root.nextNextText = "Did ya find what was clogging them pipes?!";
_root.nextTextWho = "farmer";
_root.nextNextTextWho = "farmer";
_root.actionInProcess = true;
} else if (((((((_root.handMode == "talkTo") && (_root.gotIndigoMission == true)) && (_root.doneIndigoMission == false)) && (_root.gotCog1 == true)) && (_root.gotCog2 == true)) && (_root.gotCog3 == true)) && (_root.gotCog4 == true)) {
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.levelMap.otherTextBox.thisTextNow = "Now put the cogs back in the right order!";
_root.nextTextWho = "farmer";
_root.actionInProcess = true;
} else if (((_root.handMode == "talkTo") && (_root.gotIndigoMission == true)) && (_root.doneIndigoMission == false)) {
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.levelMap.otherTextBox.thisTextNow = "You found the cogs that fit the machine yet?";
_root.nextTextWho = "farmer";
_root.actionInProcess = true;
} else if (((_root.handMode == "talkTo") && (_root.fixedPress == true)) && (_root.doneIndigoMission == true)) {
_root.nextText = "Thanks fer yer help m'boy!";
_root.nextNextText = "Did ya find what was clogging them pipes?!";
_root.nextTextWho = "farmer";
_root.nextNextTextWho = "farmer";
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
chuteTop.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("chuteTop");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("Bells, whistles... and a spout!");
_root.nextText = "That must be where the grape juice comes from";
_root.nextTextWho = "ray";
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
silo.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("silo");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("Press-o-matic... It's a grape juice machine!");
if (_root.fixedPress == true) {
_root.nextText = "... but it's broken.";
_root.nextTextWho = "ray";
}
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
chute.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("chute");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && (_root.gotIndigoMission == false)) {
_root.displayText("It looks broken... lets ask the farmer.");
_root.actionInProcess = true;
} else if ((((((_root.handMode == "lookAt") && (_root.gotIndigoMission == true)) && (_root.gotCog1 == false)) && (_root.gotCog2 == false)) && (_root.gotCog3 == false)) && (_root.gotCog4 == false)) {
_root.displayText("I need to find the cogs that fit.");
_root.actionInProcess = true;
} else if ((((((((_root.handMode == "lookAt") || (_root.handMode == "useItem")) && (_root.gotIndigoMission == true)) && (_root.gotCog1 == true)) && (_root.gotCog2 == true)) && (_root.gotCog3 == true)) && (_root.gotCog4 == true)) && (_root.fixedPress == false)) {
_root.levelMap.expandedChute._visible = true;
_root.levelMap.expandedChute.revealer.play();
_root.actionInProcess = true;
} else if ((_root.handMode == "lookAt") && (_root.fixedPress == true)) {
_root.displayText("She's running like a dream.");
_root.actionInProcess = true;
} else {
_root.displayText("That won't work.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
indigoAppear.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("indigoAppear");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's the missing INDIGO rainbow piece!");
_root.actionInProcess = true;
} else if (_root.handMode == "pickUp") {
_root.doneIndigoMission = true;
_root.levelMap.indigoAppear._visible = false;
_root.levelMap.narratorTextBox.gotoAndPlay(2);
_root.levelMap.narratorTextBox.thisTextNow = "You got the INDIGO rainbow piece!";
_root.S_gotRainbow.start();
_root.levelMap.narratorTextBox.indigoPiece._visible = true;
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
}
}
};
clickObject18.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("clickObject18");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && (_root.gotIndigoMission == true)) {
_root.displayText("That's the biggest cog in a wheelbarrow!");
_root.actionInProcess = true;
} else if ((_root.handMode == "pickUp") && (_root.gotIndigoMission == true)) {
_root.pickUp(18, 15);
_root.gotCog1 = true;
_root.displayText("I got the biggest cog!");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
clickObject19.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("clickObject19");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's a big cog hidden on the horizon!");
_root.actionInProcess = true;
} else if ((_root.handMode == "pickUp") && (_root.gotIndigoMission == true)) {
_root.pickUp(19, 16);
_root.gotCog2 = true;
_root.displayText("I got a big cog!");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
clickObject20.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("clickObject20");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && (_root.gotIndigoMission == true)) {
_root.displayText("That's a small cog hidden amongst the vines!");
_root.actionInProcess = true;
} else if ((_root.handMode == "pickUp") && (_root.gotIndigoMission == true)) {
_root.pickUp(20, 17);
_root.gotCog3 = true;
_root.displayText("I got a small cog!");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
clickObject21.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("clickObject21");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && (_root.gotIndigoMission == true)) {
_root.displayText("That's a tiny cog hidden on a tractor!");
_root.actionInProcess = true;
} else if ((_root.handMode == "pickUp") && (_root.gotIndigoMission == true)) {
_root.pickUp(21, 18);
_root.gotCog4 = true;
_root.displayText("I got a tiny cog!");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
silo.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("silo");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("Press-o-matic... It's a grape juice machine!");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
vines1.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("vines1");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("Wow! Look at those grape vines!");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
vines2.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("vines2");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && ((!_root.gotCog3) == true)) {
_root.displayText("It's a grape vine with a cog in it!");
_root.actionInProcess = true;
} else if ((_root.handMode == "lookAt") && (_root.gotCog3 == true)) {
_root.displayText("They'd make great grape juice.");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
barrow.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("barrow");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && ((!_root.gotCog1) == true)) {
_root.displayText("It's a wheelbarrow with a cog in it!");
_root.actionInProcess = true;
} else if ((_root.handMode == "lookAt") && (_root.gotCog1 == true)) {
_root.displayText("That's a nice wheelbarrow!");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
tractor.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("tractor");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && ((!_root.gotCog4) == true)) {
_root.displayText("There's a cog on that tractor!");
_root.actionInProcess = true;
} else if ((_root.handMode == "lookAt") && (_root.gotCog4 == true)) {
_root.displayText("An indigo tractor!");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
Symbol 1524 MovieClip Frame 9
_root.radio_bg.stop();
_root.waterfallsound.start(0, 9999);
_parent.menuBar._visible = true;
_parent.bag._visible = true;
_root.thisSceneWalls = false;
_root.actionInProcess = false;
_root.rayIsWalking = false;
_root.rayPosition = 200;
_root.steps = 0;
_root.rayToGo = _root.rayPosition;
_root.bagIsOpen = false;
_root.doorExit = 1;
_root.valid = false;
_root.closeEnough = false;
_root.shipParked = true;
_root.planetNext = 10;
_root.planetNextName = "Planet Earth";
_root.passwordNext = "roygbiv";
kalien.gotoAndStop(3);
_root.violetHidden = false;
_root.chooseHole();
_root.levelMap.rythmGame._visible = false;
this.onEnterFrame = function () {
if (_root.violetHidden == false) {
_root.doParalax("bg1", 0.3, 0);
_root.doParalax("ray", 1.5, _root.rayPosition);
_root.doParalax("kalien", 1.3, 150);
_root.doParalax("kalienHitter", 1.3, 20);
_root.doParalax("parkedShip", 1.2, -200);
_root.doParalax("rayTextBox", 1.8, _root.rayPosition);
_root.doParalax("otherTextBox", 0, _root.levelMap[_root.nextTextWho]._x);
_root.doParalax("hills", 0.4, 0);
_root.doParalax("mole1", 1.3, 300);
_root.doParalax("mole2", 1.3, 500);
_root.doParalax("mole3", 1.3, 700);
_root.doParalax("mole4", 1, 350);
_root.doParalax("mole5", 1, 500);
_root.doParalax("mole6", 1, 850);
_root.doParalax("field1", 1.3, -40);
_root.doParalax("violet1", 1.4, 950);
_root.doParalax("field2", 1, 40);
_root.doParalax("flowerBed", 1, 240);
_root.doParalax("flowerBed2", 1, 700);
_root.doParalax("flowerBed3", 1.5, 1080);
_root.doParalax("field3", 0.7, 80);
_root.doParalax("moleHouse", 0.5, 760);
_root.doParalax("violetAppear", 1.5, 500);
_root.doParalax("canBody", 0.6, 250);
_root.doParalax("canEnd", 0.75, 350);
_root.doParalax("rocks", 0.8, 220);
_root.doParalax("canHandle", 0.55, 260);
_root.doParalax("shed", 0.35, 580);
if (_root.levelMap.rayTextBox._x < 10) {
_root.levelMap.rayTextBox._x = 10;
} else if (_root.levelMap.rayTextBox._x > 400) {
_root.levelMap.rayTextBox._x = 400;
}
if (_root.levelMap.otherTextBox._x < 10) {
_root.levelMap.otherTextBox._x = 10;
} else if (_root.levelMap.otherTextBox._x > 400) {
_root.levelMap.otherTextBox._x = 400;
}
}
};
if ((_root.gotVioletBit == false) && (_root.gatheredEnough == true)) {
_root.levelMap.violetAppear._visible = true;
_root.levelMap.violetAppear.gotoAndStop(27);
} else {
_root.levelMap.violetAppear._visible = false;
}
if (_root.shipParked == true) {
_root.levelMap.parkedShip.gotoAndStop(2);
}
function violetLevelBits(hideMode, visibility) {
_root.violetHidden = hideMode;
violet1._visible = visibility;
bg1._visible = visibility;
ray._visible = visibility;
kalien._visible = visibility;
kalienHitter._visible = visibility;
parkedShip._visible = visibility;
rayTextBox._visible = visibility;
otherTextBox._visible = visibility;
hills._visible = visibility;
mole1._visible = visibility;
mole2._visible = visibility;
mole3._visible = visibility;
mole4._visible = visibility;
mole5._visible = visibility;
mole6._visible = visibility;
field1._visible = visibility;
violet1._visible = visibility;
field2._visible = visibility;
flowerBed._visible = visibility;
flowerBed2._visible = visibility;
flowerBed3._visible = visibility;
field3._visible = visibility;
moleHouse._visible = visibility;
violetAppear._visible = visibility;
canBody._visible = visibility;
canEnd._visible = visibility;
rocks._visible = visibility;
canHandle._visible = visibility;
shed._visible = visibility;
}
kalienHitter.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("kalienHitter");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's Kalien the Alien!");
_root.actionInProcess = true;
} else if (_root.handMode == "talkTo") {
_root.nextText = "Lets find that VIOLET piece of rainbow.";
_root.levelMap.otherTextBox.gotoAndPlay(2);
_root.nextTextWho = "kalien";
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
violet1.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("violet1");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
if (_root.doneVioletMission == false) {
_root.displayText("That's a frightened looking violet!");
} else {
_root.displayText("That's a happy looking violet!");
}
_root.actionInProcess = true;
} else if ((((_root.handMode == "talkTo") && (_root.gotVioletMission == false)) && (_root.doneRythmGame == false)) && (_root.doneVioletMission == false)) {
_root.displayText("Why are you so worried?");
_root.nextText = "Lost moles are digging us up!";
_root.nextNextText = "I'll show them how to get back home.";
_root.nextTextWho = "violet1";
_root.nextNextTextWho = "ray";
_root.violetGameStarter = true;
_root.actionInProcess = true;
} else if (((_root.handMode == "talkTo") && (_root.doneRythmGame == true)) && (_root.doneVioletMission == false)) {
_root.displayText("You don't need to worry any more");
_root.nextText = "Thank you, Mr Ray!";
_root.nextTextWho = "violet1";
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
violetAppear.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("violetAppear");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's the missing VIOLET rainbow piece!");
_root.actionInProcess = true;
} else if (_root.handMode == "pickUp") {
_root.doneVioletMission = true;
_root.levelMap.violetAppear._visible = false;
_root.levelMap.narratorTextBox.gotoAndPlay(2);
_root.levelMap.narratorTextBox.thisTextNow = "You got the VIOLET rainbow piece!";
_root.S_gotRainbow.start();
_root.levelMap.narratorTextBox.violetPiece._visible = true;
_root.actionInProcess = true;
_root.gorokVisible = 1;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
}
}
};
canBody.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("canBody");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("WOW! A giant watering can!");
_root.actionInProcess = true;
}
}
}
};
canEnd.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("canEnd");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("The can's pouring out purple water!");
_root.actionInProcess = true;
}
}
}
};
flowerBed.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("flowerBed");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && (_root.doneRythmGame == true)) {
_root.displayText("That's a bed of happy violets!");
_root.actionInProcess = true;
} else if ((_root.handMode == "lookAt") && (_root.doneRythmGame == false)) {
_root.displayText("That's a bed of worried violets.");
_root.actionInProcess = true;
}
}
}
};
flowerBed2.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("flowerBed2");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && (_root.doneRythmGame == true)) {
_root.displayText("More happy violets!");
_root.actionInProcess = true;
} else if ((_root.handMode == "lookAt") && (_root.doneRythmGame == false)) {
_root.displayText("More worried violets.");
_root.actionInProcess = true;
}
}
}
};
flowerBed3.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("flowerBed3");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && (_root.doneRythmGame == true)) {
_root.displayText("Plenty of happy violets!");
_root.actionInProcess = true;
} else if ((_root.handMode == "lookAt") && (_root.doneRythmGame == false)) {
_root.displayText("A lot of unhappy violets.");
_root.actionInProcess = true;
}
}
}
};
shed.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("shed");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("'Dad's shed'...");
_root.nextText = "Also known as DIY nirvana!";
_root.nextTextWho = "ray";
_root.actionInProcess = true;
}
}
}
};
moleHouse.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("moleHouse");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's the mole's home!");
_root.actionInProcess = true;
}
}
}
};
Symbol 1524 MovieClip Frame 10
_root.radio_bg.stop();
_root.waterfallsound.stop();
_parent.menuBar._visible = true;
_parent.bag._visible = true;
_root.thisSceneWalls = true;
_root.actionInProcess = false;
_root.rayIsWalking = false;
_root.rayPosition = 1000;
_root.levelMap.ray._xscale = -100;
_root.steps = 0;
_root.rayToGo = _root.rayPosition;
_root.bagIsOpen = false;
_root.doorExit = 1;
_root.valid = false;
_root.closeEnough = false;
_root.shipParked = true;
_root.planetNext = 12;
_root.planetNextName = "Planet Gorok";
_root.passwordNext = "gorok";
_root.needToHelpRoy = false;
this.onEnterFrame = function () {
_root.doParalax("bg1", 1, 0);
_root.doParalax("bush1", 1.1, 200);
_root.doParalax("shroom", 1.05, 100);
_root.doParalax("bg2", 0.5, 0);
_root.doParalax("handle", 1.1, -33);
_root.doParalax("crashMark", 1.2, 600);
_root.doParalax("parkedShip", 1.2, 620);
_root.doParalax("redPanel", 1.2, 1000);
_root.doParalax("ray", 1.5, _root.rayPosition);
_root.doParalax("door", 1.5, -10);
_root.doParalax("bush", 1.1, 200);
_root.doParalax("roy", 1.1, 350);
_root.doParalax("kalien", 1.3, 700);
_root.doParalax("kalienHitter", 1.3, 700);
_root.doParalax("rayTextBox", 1.8, _root.rayPosition);
_root.doParalax("otherTextBox", 0, _root.levelMap[_root.nextTextWho]._x);
_root.doParalax("tree", 0.9, 200);
_root.doParalax("birdy", 0.9, 400);
_root.doParalaxWalls();
if (_root.levelMap.rayTextBox._x < 10) {
_root.levelMap.rayTextBox._x = 10;
} else if (_root.levelMap.rayTextBox._x > 400) {
_root.levelMap.rayTextBox._x = 400;
}
if (_root.levelMap.otherTextBox._x < 10) {
_root.levelMap.otherTextBox._x = 10;
} else if (_root.levelMap.otherTextBox._x > 400) {
_root.levelMap.otherTextBox._x = 400;
}
};
_root.levelMap.helpRoyOverlay._visible = false;
_root.levelMap.helpRoyOverlay.rp.gotoAndStop(1);
_root.levelMap.helpRoyOverlay.op.gotoAndStop(1);
_root.levelMap.helpRoyOverlay.yp.gotoAndStop(1);
_root.levelMap.helpRoyOverlay.gp.gotoAndStop(1);
_root.levelMap.helpRoyOverlay.bp.gotoAndStop(1);
_root.levelMap.helpRoyOverlay.ip.gotoAndStop(1);
_root.levelMap.helpRoyOverlay.vip.gotoAndStop(1);
_root.levelMap.parkedShip.gotoAndStop(2);
kalien.gotoAndStop(2);
roy._visible = true;
bush1.gotoAndPlay(96);
bush.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("bush");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("It's the bush where I found roy");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
roy.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("roy");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && (_root.roysColoursBack == false)) {
_root.displayText("Roy has lost all of his colours!");
_root.actionInProcess = true;
} else if ((_root.handMode == "talkTo") && (_root.roysColoursBack == false)) {
_root.displayText("We found all of your colours!");
_root.nextText = "Brilliant! Can you help me put them back in order?";
_root.nextTextWho = "roy";
_root.needToHelpRoy = true;
_root.actionInProcess = true;
} else if (_root.handMode == "talkTo") {
_root.displayText("Don't worry Roy");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
parkedShip.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("parkedShip");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && (_root.shipFixed == true)) {
_root.displayText("The guitar ship is ready for takeoff!");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
birdy.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("parkedShip");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("Aww.. a little birdy!");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
kalienHitter.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("kalienHitter");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's Kalien the Alien!");
_root.actionInProcess = true;
} else if (_root.handMode == "talkTo") {
_root.displayText("Hey Kalien, what's new?");
_root.nextText = "You have to give the colours to Roy";
_root.nextNextText = "You party pooper.";
_root.nextTextWho = "roy";
_root.nextNextTextWho = "ray";
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
shroom.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("shroom");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("A mushroom. Don't pick it up though...");
_root.nextText = "It could be poisonous!";
_root.nextTextWho = "ray";
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
wall2.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("wall2");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("My neighbour helped me paint this fence white.");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
tree.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("tree");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's a great big tree!");
_root.nextText = "I bet it would be great for a treehouse!";
_root.nextTextWho = "ray";
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
Symbol 1524 MovieClip Frame 11
_root.radio_bg.stop();
_root.underwater.start(0, 9999);
_parent.menuBar._visible = true;
_parent.bag._visible = true;
_root.thisSceneWalls = false;
_root.actionInProcess = false;
_root.rayIsWalking = false;
_root.rayPosition = 200;
_root.steps = 0;
_root.rayToGo = _root.rayPosition;
_root.bagIsOpen = false;
_root.valid = false;
_root.closeEnough = false;
_root.planetNext = 8;
_root.planetNextName = "Planet Indigo";
_root.passwordNext = "vineyard";
kalien.gotoAndStop(2);
this.onEnterFrame = function () {
_root.doParalax("bg1", 0.3, 0);
_root.doParalax("ray", 1.5, _root.rayPosition);
_root.doParalax("rayTextBox", 1.8, _root.rayPosition);
_root.doParalax("otherTextBox", 0, _root.levelMap[_root.nextTextWho]._x);
_root.doParalax("surfaceChoice", 1.8, 780);
_root.doParalax("doorrr", 1.5, 0);
_root.doParalax("blueAppear", 2, 640);
_root.doParalax("surface", 0.3, 0);
_root.doParalax("miniwavesNear", 1, 50);
_root.doParalax("miniwavesMid", 0.6, 250);
_root.doParalax("miniwavesFar", 0.4, 450);
_root.doParalax("whale", 1.1, 700);
_root.doParalax("seaBedMid", 0.8, 0);
_root.doParalax("seaBedFar", 0.4, 0);
_root.doParalax("reef", 2.2, 0);
_root.doParalax("clickObject17", 2.2, 329);
_root.doParalax("chest", 2, 600);
_root.doParalax("anchor", 0.7, 300);
if (_root.levelMap.rayTextBox._x < 10) {
_root.levelMap.rayTextBox._x = 10;
} else if (_root.levelMap.rayTextBox._x > 400) {
_root.levelMap.rayTextBox._x = 400;
}
if (_root.levelMap.otherTextBox._x < 10) {
_root.levelMap.otherTextBox._x = 10;
} else if (_root.levelMap.otherTextBox._x > 400) {
_root.levelMap.otherTextBox._x = 400;
}
};
if (_root.gotSponge == true) {
_root.levelMap.clickObject17._visible = false;
}
_root.levelMap.blueAppear._visible = false;
if (_root.whaleSaved == true) {
_root.levelMap.whale.gotoAndStop(2);
}
whale.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("whale");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if ((_root.handMode == "lookAt") && (_root.whaleSaved == false)) {
_root.displayText("That poor whale is covered in oil!");
_root.nextText = "I should find a way to clean him";
_root.nextTextWho = "ray";
_root.actionInProcess = true;
} else if ((_root.handMode == "lookAt") && (_root.whaleSaved == true)) {
_root.displayText("He looks much happier");
_root.nextText = "I wonder if the sailor is okay.";
_root.nextTextWho = "ray";
_root.actionInProcess = true;
} else if ((_root.handMode == "talkTo") && (_root.whaleSaved == false)) {
_root.displayText("Hey, are you okay?!");
_root.nextText = "No. This sticky oil stops me from swimming!";
_root.nextTextWho = "whale";
_root.nextText = "Please find a way to clean me!";
_root.nextTextWho = "whale";
_root.actionInProcess = true;
} else if ((_root.handMode == "talkTo") && (_root.whaleSaved == true)) {
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
clickObject17.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("clickObject17");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's a sea sponge! I can use this!");
_root.actionInProcess = true;
} else if (_root.handMode == "pickUp") {
_root.pickUp(17, 14);
_root.gotSponge = true;
_root.displayText("I got a sea sponge!");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
blueAppear.onRelease = function () {
_root.checkValid();
if (_root.valid == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's the missing BLUE rainbow piece!");
_root.actionInProcess = true;
} else if (_root.handMode == "pickUp") {
_root.doneBlueMission = true;
_root.levelMap.blueAppear._visible = false;
_root.levelMap.narratorTextBox.gotoAndPlay(2);
_root.levelMap.narratorTextBox.thisTextNow = "You got the BLUE rainbow piece!";
_root.S_gotRainbow.start();
_root.levelMap.narratorTextBox.bluePiece._visible = true;
_root.actionInProcess = true;
_root.planetindVisible = 1;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
}
};
reef.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("reef");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("Wow, what a pretty coral reef!");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
school_fish.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("school_fish");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("A group of fish is called a 'School'");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
chest.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("chest");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("A treasure chest..");
_root.nextText = "Aww... it's empty!";
_root.nextTextWho = "ray";
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
anchor.onRelease = function () {
_root.checkValid();
_root.checkCloseEnough("anchor");
if (_root.valid == true) {
if (_root.closeEnough == true) {
if (_root.handMode == "lookAt") {
_root.displayText("That's a boat anchor");
_root.actionInProcess = true;
} else {
_root.displayText("Hmm... Let's try something else instead.");
_root.actionInProcess = true;
}
} else {
_root.actionInProcess = true;
_root.displayText("I'm not close enough.");
}
}
};
Symbol 1524 MovieClip Frame 12
var endGameMusic = new Sound(this);
endGameMusic.loadSound("http://www.mrraymusic.com/songs/highfivesmall.mp3", true);
endGameMusic.start(999);
kalien.gotoAndStop(4);
endMrRayLink._visible = false;
endMenuLink._visible = false;
_parent.hintButton._visible = false;
matmiLink.onRelease = function () {
getURL ("http://www.matmi.com");
};
endMrrayLink.onRelease = function () {
getURL ("http://www.mrraymusic.com");
};
endMenuLink.onRelease = function () {
_root.titleMove = false;
_root.gotoAndStop("titleMenu");
};
umusicLink.onRelease = function () {
getURL ("http://www.universalmusic.com");
};
Symbol 1524 MovieClip Frame 15
_root.red_bg.stop();
_root.waterfallsound.stop();
_root.radio_bg.stop();
_root.catPurr.stop();
_root.junglesound.stop();
_root.desertsound.stop();
_root.green_bg.stop();
_root.waterfallsound.stop();
_root.underwater.stop();
_parent.menuBar._visible = false;
_parent.bag._visible = false;
_parent.hintButton._visible = false;
stop();