Instance of Symbol 24 MovieClip "t10" in Frame 1
onClipEvent (enterFrame) {
kload = int((_root.getBytesTotal() - _root.getBytesLoaded()) / 1000) + "kbs";
if (kload == "0kbs") {
}
if ((kload == "0kbs") && (_currentframe == 1)) {
this.play();
}
}
Frame 2
function screens() {
gotoAndStop ("game");
}
stop();
Frame 3
function replay() {
replay_go = true;
r = 2;
c = 0;
checktile("down");
bowl.gotoAndStop(1);
}
function scorer(samount) {
menu.score = menu.score + samount;
menu.roundscore = menu.roundscore + samount;
if (length(menu.score) == 1) {
menu.sc = "000" + menu.score;
}
if (length(menu.score) == 2) {
menu.sc = "00" + menu.score;
}
if (length(menu.score) == 3) {
menu.sc = "0" + menu.score;
}
if (length(menu.score) == 4) {
menu.sc = menu.score;
}
}
function gameOver() {
instructions.gotoAndStop(8);
menu.gotoAndStop(6);
}
function resetCounter() {
menu.a = 0;
menu.u = 0;
menu.t = 1;
}
function checktile(dir) {
trace(dir);
part = eval ("row" + r)[c].toString();
trace(part);
if (eval ("row" + r)[c] == 0) {
eval (("a" + (r - 1)) + c).gotoAndPlay(dir);
if (flyFX != true) {
mySound = new Sound();
mySound.attachSound("flyinginair");
mySound.setVolume(100);
mySound.start();
flyFX = true;
}
} else {
eval (part.substr(4, 9)).gotoAndPlay(dir);
TEMPamount = Number(eval ("row" + r)[c].toString().substr(8, 3));
if (TEMPamount > 0) {
TEMPscore = TEMPscore + TEMPamount;
}
}
uplook = part.substr(1, 1);
downlook = part.substr(0, 1);
leftlook = part.substr(3, 1);
rightlook = part.substr(2, 1);
if ((part == undefined) || (part == "xxxx")) {
explode(dir);
}
if ((dir == "up") && (uplook == 2)) {
explode(dir);
}
if ((dir == "down") && (downlook == 2)) {
explode(dir);
}
if ((dir == "left") && (leftlook == 2)) {
explode(dir);
}
if ((dir == "right") && (rightlook == 2)) {
explode(dir);
}
}
function explode(dir) {
ex = c * 48;
ey = (r - 1) * 48;
duplicateMovieClip (Aexp, "boom", 800);
boom._x = ex;
boom._y = ey;
boom.dir = dir;
}
function legalremove() {
eval (("a" + legalr) + legalc).legal.gotoAndStop(1);
}
function legalmove() {
eval (("a" + legalr) + legalc).legal.gotoAndPlay(2);
}
function level(num) {
var _local1 = num;
if (_local1 == 1) {
backs.gotoAndStop(1);
resetCounter();
over = false;
helper._visible = 1;
legalremove();
if (completed) {
unlock = 30;
} else {
unlock = 21;
}
legalr = 1;
legalc = 0;
legalmove();
gotoAndStop(_local1 +2);
row1 = new Array("2122", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx");
row2 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row3 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row4 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row5 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row6 = new Array(0, "0222bowl", 0, 0, 0, 0, 0, 0, 0);
row7 = new Array(0, "xxxx", 0, 0, 0, 0, 0, 0, 0);
}
if (_local1 == 2) {
backs.gotoAndStop(2);
resetCounter();
legalremove();
if (completed) {
unlock = 30;
} else {
unlock = 22;
}
legalr = 1;
legalc = 0;
legalmove();
gotoAndStop(_local1 +2);
row1 = new Array("2122", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx");
row2 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row3 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row4 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row5 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row6 = new Array(0, 0, 0, 0, "0222bowl", 0, 0, 0, 0);
row7 = new Array(0, 0, 0, 0, "xxxx", 0, 0, 0, 0);
}
if (_local1 == 3) {
backs.gotoAndStop(3);
resetCounter();
legalremove();
if (completed) {
unlock = 30;
} else {
unlock = 23;
}
legalr = 1;
legalc = 0;
legalmove();
gotoAndStop(_local1 +2);
row1 = new Array("2122", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx");
row2 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row3 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row4 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row5 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row6 = new Array(0, 0, "0222bowl", 0, 0, 0, 0, 0, 0);
row7 = new Array(0, 0, "xxxx", 0, 0, 0, 0, 0, 0);
}
if (_local1 == 4) {
backs.gotoAndStop(4);
resetCounter();
legalremove();
if (completed) {
unlock = 30;
} else {
unlock = 24;
}
legalr = 1;
legalc = 0;
legalmove();
gotoAndStop(_local1 +2);
row1 = new Array("2122", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx");
row2 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row3 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row4 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row5 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row6 = new Array("0222bowl", 0, 0, 0, 0, 0, 0, 0, 0);
row7 = new Array("xxxx", 0, 0, 0, 0, 0, 0, 0, 0);
}
if (_local1 == 5) {
backs.gotoAndStop(5);
resetCounter();
legalremove();
if (completed) {
unlock = 30;
} else {
unlock = 25;
}
legalr = 1;
legalc = 0;
legalmove();
gotoAndStop(_local1 +2);
row1 = new Array("2122", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx");
row2 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row3 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row4 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row5 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row6 = new Array(0, 0, 0, "0222bowl", 0, 0, 0, 0, 0);
row7 = new Array(0, 0, 0, "xxxx", 0, 0, 0, 0, 0);
}
if (_local1 == 6) {
backs.gotoAndStop(6);
resetCounter();
legalremove();
if (completed) {
unlock = 30;
} else {
unlock = 26;
}
legalr = 1;
legalc = 0;
legalmove();
gotoAndStop(_local1 +2);
row1 = new Array("2122", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx");
row2 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row3 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row4 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row5 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row6 = new Array(0, "0222bowl", 0, 0, 0, 0, 0, 0, 0);
row7 = new Array(0, "xxxx", 0, 0, 0, 0, 0, 0, 0);
}
if (_local1 == 7) {
backs.gotoAndStop(7);
resetCounter();
legalremove();
if (completed) {
unlock = 30;
} else {
unlock = 27;
}
legalr = 1;
legalc = 0;
legalmove();
gotoAndStop(_local1 +2);
row1 = new Array("2122", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx");
row2 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row3 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row4 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row5 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row6 = new Array(0, 0, 0, 0, 0, "0222bowl", 0, 0, 0);
row7 = new Array(0, 0, 0, 0, 0, "xxxx", 0, 0, 0);
}
if (_local1 == 8) {
backs.gotoAndStop(8);
resetCounter();
legalremove();
if (completed) {
unlock = 30;
} else {
unlock = 28;
}
legalr = 1;
legalc = 0;
legalmove();
gotoAndStop(_local1 +2);
row1 = new Array("2122", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx");
row2 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row3 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row4 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row5 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row6 = new Array(0, 0, "0222bowl", 0, 0, 0, 0, 0, 0);
row7 = new Array(0, 0, "xxxx", 0, 0, 0, 0, 0, 0);
}
if (_local1 == 9) {
backs.gotoAndStop(9);
resetCounter();
legalremove();
if (completed) {
unlock = 30;
} else {
unlock = 29;
}
legalr = 1;
legalc = 0;
legalmove();
gotoAndStop(_local1 +2);
row1 = new Array("2122", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx");
row2 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row3 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row4 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row5 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row6 = new Array(0, 0, 0, 0, "0222bowl", 0, 0, 0, 0);
row7 = new Array(0, 0, 0, 0, "xxxx", 0, 0, 0, 0);
}
if (_local1 == 10) {
backs.gotoAndStop(10);
resetCounter();
legalremove();
unlock = 30;
legalr = 1;
legalc = 0;
legalmove();
gotoAndStop(_local1 +2);
row1 = new Array("2122", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx", "xxxx");
row2 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row3 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row4 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row5 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
row6 = new Array("0222bowl", 0, 0, 0, 0, 0, 0, 0, 0);
row7 = new Array("xxxx", 0, 0, 0, 0, 0, 0, 0, 0);
}
}
version = "v2.1";
totalLevels = 10;
place = 0;
helper._visible = 0;
menu.swapDepths(900);
instructions.swapDepths(901);
if (playedOnce != true) {
duplicateMovieClip (menuOriginal, "menu", 900);
menu._x = -2;
menu._y = 1;
menu.gotoAndStop(5);
duplicateMovieClip (inst, "instructions", 901);
instructions.test = true;
instructions.gotoAndStop(2);
playedOnce = true;
}
key_up = true;
cheat_keys = [];
cheat = new Object();
cheat.onKeyDown = function () {
if (key_up) {
key_up = false;
cheat_keys.push(Key.getCode());
cheat_code = (((cheat_keys[cheat_keys.length - 3] + " ") + cheat_keys[cheat_keys.length - 2]) + " ") + cheat_keys[cheat_keys.length - 1];
if (cheat_code == "69 68 51") {
completed = true;
unlock = 30;
}
}
};
cheat.onKeyUp = function () {
key_up = true;
};
Key.addListener(cheat);
elementsArray = new Array("pipA005", "pipB005", "pipC005", "pipD005", "pipE005", "pipF005", "spin025", "pong030", "cter015", "robt015", "hbet030", "fish025", "micr060", "lift060", "whst050", "ligt045", "dsco050", "volc050", "goby050", "rarm100", "bran050", "wigl125", "cano060", "xray125", "cstl100", "shwr050", "ufox250", "lava050", "frog100", "blad060");
scorer(0);
stop();
Instance of Symbol 57 MovieClip "whst050" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
eval ("_root.row" + (row - 1))[cht] = 0;
_root.legalremove();
_root.legalr = row - 1;
_root.legalc = cht;
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
_root.hand = false;
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
sameLook = eval ("_root.row" + _root.y)[_root.x];
UPsameLook = eval ("_root.row" + (_root.y - 1))[_root.x];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
lookResult = downLook + leftLook;
sameResult = samelook + Upsamelook;
if ((((sameResult == 0) && ((lookResult * legalCheck) == true)) && (_root.x >= 1)) && (_root.y <= 6)) {
_root.legalremove();
_root.legalc = _root.legalc - (downlook == 1);
_root.legalr = _root.legalr + (leftlook == 1);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + (_root.y - 1))[_root.x] = (2222 + id) + level;
eval ("_root.row" + _root.y)[_root.x] = (2112 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 62 MovieClip "pong030" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
_root.legalremove();
_root.legalr = row - 1;
_root.legalc = cht;
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
sameLook = eval ("_root.row" + _root.y)[_root.x];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
lookResult = leftLook + upLook;
if (((sameLook == 0) && ((lookResult * legalCheck) == true)) && (_root.x >= 1)) {
_root.legalremove();
_root.legalr = _root.legalr - (leftlook == 1);
_root.legalc = _root.legalc - (uplook == 1);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + _root.y)[_root.x] = (1212 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 291 MovieClip "menuOriginal" in Frame 3
onClipEvent (load) {
d = 0;
item = _root.elementsArray[d];
itemlevel = 20;
}
Instance of Symbol 299 MovieClip "cter015" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
_root.legalremove();
_root.legalr = row - 1;
_root.legalc = cht;
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
sameLook = eval ("_root.row" + _root.y)[_root.x];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
lookResult = rightLook + leftLook;
if ((((sameLook == 0) && ((lookResult * legalCheck) == true)) && (_root.x <= 7)) && (_root.x >= 1)) {
_root.legalremove();
_root.legalc = _root.legalc - (rightlook == 1);
_root.legalc = _root.legalc + (leftlook == 1);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + _root.y)[_root.x] = (2211 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 313 MovieClip "cano060" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
eval ("_root.row" + row)[cht + 1] = 0;
_root.legalremove();
_root.legalr = row - 1;
_root.legalc = cht + (RIGHTrightLook == 1);
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
_root.hand = false;
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
legalCheck2 = int((_root.legalr == (_root.y - 1)) * (_root.legalc == (_root.x + 1)));
lgt = legalCheck + legalCheck2;
sameLook = eval ("_root.row" + _root.y)[_root.x];
RIGHTsameLook = eval ("_root.row" + _root.y)[_root.x + 1];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
RIGHTrightLook = eval ("_root.row" + _root.y)[_root.x + 2].toString().substr(2, 1);
if ((RIGHTrightLook == "") || (RIGHTrightLook == undefined)) {
RIGHTrightLook = 0;
}
lookResult = Number(RIGHTrightLook) + Number(downLook);
sameResult = samelook + RIGHTsamelook;
if (((((sameResult == 0) && ((lookResult * lgt) == true)) && (_root.x <= 6)) && (_root.x >= 0)) && (_root.y <= 6)) {
_root.legalremove();
_root.legalc = _root.legalc + ((downlook == 1) * 2);
_root.legalr = _root.legalr + (RIGHTrightlook == 1);
_root.legalc = _root.legalc - (RIGHTrightlook == 1);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + _root.y)[_root.x] = (2122 + id) + level;
eval ("_root.row" + _root.y)[_root.x + 1] = (2221 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 317 MovieClip "cstl100" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
eval ("_root.row" + row)[cht + 1] = 0;
eval ("_root.row" + row)[cht + 2] = 0;
_root.legalremove();
_root.legalr = row - 1;
_root.legalc = cht + ((downRIGHTrightlook == 1) * 2);
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
_root.hand = false;
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
legalCheck2 = int((_root.legalr == (_root.y - 1)) * (_root.legalc == (_root.x + 2)));
lgt = legalCheck + legalCheck2;
sameLook = eval ("_root.row" + _root.y)[_root.x];
RIGHTsameLook = eval ("_root.row" + _root.y)[_root.x + 1];
xRIGHTsameLook = eval ("_root.row" + _root.y)[_root.x + 2];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
downRIGHTrightLook = eval ("_root.row" + (_root.y + 1))[_root.x + 2].toString().substr(0, 1);
leftdrop = _root.y add _root.x;
rightdrop = _root.y add (_root.x + 2);
lookResult = Number(downRIGHTrightLook) + Number(downLook);
sameResult = (samelook + RIGHTsamelook) + xRIGHTsamelook;
if ((((sameResult == 0) && ((lookResult * lgt) == true)) && (_root.x <= 6)) && (_root.x >= 0)) {
_root.legalremove();
_root.legalr = _root.legalr + (downlook == 1);
_root.legalc = _root.legalc + ((downlook == 1) * 2);
_root.legalr = _root.legalr + (downRIGHTrightlook == 1);
_root.legalc = _root.legalc - ((downRIGHTrightlook == 1) * 2);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + _root.y)[_root.x] = (2122 + id) + level;
eval ("_root.row" + _root.y)[_root.x + 1] = (2222 + id) + level;
eval ("_root.row" + _root.y)[_root.x + 2] = (2122 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 337 MovieClip "lift060" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
eval ("_root.row" + (row - 1))[cht] = 0;
_root.legalremove();
_root.legalr = (row - 1) - (UPrightLook == 1);
_root.legalc = cht;
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
_root.hand = false;
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
legalCheck2 = int((_root.legalr == (_root.y - 2)) * (_root.legalc == _root.x));
sameLook = eval ("_root.row" + _root.y)[_root.x];
UPsameLook = eval ("_root.row" + (_root.y - 1))[_root.x];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
UPrightLook = eval ("_root.row" + (_root.y - 1))[_root.x + 1].toString().substr(2, 1);
lookResult = UPrightLook + leftLook;
sameResult = samelook + Upsamelook;
if ((((sameResult == 0) && ((lookResult * (legalCheck + legalCheck2)) == true)) && (_root.x <= 7)) && (_root.x >= 1)) {
_root.legalremove();
_root.legalr = _root.legalr + (UPrightlook == 1);
_root.legalc = _root.legalc - (UPrightlook == 1);
_root.legalr = _root.legalr - (leftlook == 1);
_root.legalc = _root.legalc + (leftlook == 1);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + (_root.y - 1))[_root.x] = (2221 + id) + level;
eval ("_root.row" + _root.y)[_root.x] = (2212 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 349 MovieClip "hbet030" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
_root.legalremove();
_root.legalr = row - 1;
_root.legalc = cht;
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
sameLook = eval ("_root.row" + _root.y)[_root.x];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
lookResult = leftLook + upLook;
if (((sameLook == 0) && ((lookResult * legalCheck) == true)) && (_root.x >= 1)) {
_root.legalremove();
_root.legalr = _root.legalr - (leftlook == 1);
_root.legalc = _root.legalc - (uplook == 1);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + _root.y)[_root.x] = (1212 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 353 MovieClip "robt015" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
_root.legalremove();
_root.legalr = row - 1;
_root.legalc = cht;
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
sameLook = eval ("_root.row" + _root.y)[_root.x];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
lookResult = downLook + upLook;
if (((sameLook == 0) && ((lookResult * legalCheck) == true)) && (_root.y <= 6)) {
_root.legalremove();
_root.legalr = _root.legalr - (downlook == 1);
_root.legalr = _root.legalr + (uplook == 1);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + _root.y)[_root.x] = (1122 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 373 MovieClip "rarm100" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
eval ("_root.row" + row)[cht + 1] = 0;
eval ("_root.row" + row)[cht + 2] = 0;
_root.legalremove();
_root.legalr = row - 1;
_root.legalc = cht + ((downRIGHTrightlook == 1) * 2);
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
_root.hand = false;
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
legalCheck2 = int((_root.legalr == (_root.y - 1)) * (_root.legalc == (_root.x + 2)));
lgt = legalCheck + legalCheck2;
sameLook = eval ("_root.row" + _root.y)[_root.x];
RIGHTsameLook = eval ("_root.row" + _root.y)[_root.x + 1];
xRIGHTsameLook = eval ("_root.row" + _root.y)[_root.x + 2];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
downRIGHTrightLook = eval ("_root.row" + (_root.y + 1))[_root.x + 2].toString().substr(0, 1);
leftdrop = _root.y add _root.x;
rightdrop = _root.y add (_root.x + 2);
lookResult = Number(downRIGHTrightLook) + Number(downLook);
sameResult = (samelook + RIGHTsamelook) + xRIGHTsamelook;
if ((((sameResult == 0) && ((lookResult * lgt) == true)) && (_root.x <= 6)) && (_root.x >= 0)) {
_root.legalremove();
_root.legalr = _root.legalr + (downlook == 1);
_root.legalc = _root.legalc + ((downlook == 1) * 2);
_root.legalr = _root.legalr + (downRIGHTrightlook == 1);
_root.legalc = _root.legalc - ((downRIGHTrightlook == 1) * 2);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + _root.y)[_root.x] = (2122 + id) + level;
eval ("_root.row" + _root.y)[_root.x + 1] = (2222 + id) + level;
eval ("_root.row" + _root.y)[_root.x + 2] = (2122 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 384 MovieClip "ligt045" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
eval ("_root.row" + (row - 1))[cht] = 0;
_root.legalremove();
_root.legalr = row - 1;
_root.legalc = cht;
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
_root.hand = false;
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
sameLook = eval ("_root.row" + _root.y)[_root.x];
UPsameLook = eval ("_root.row" + (_root.y - 1))[_root.x];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
lookResult = rightLook + leftLook;
sameResult = samelook + Upsamelook;
if ((((sameResult == 0) && ((lookResult * legalCheck) == true)) && (_root.x <= 7)) && (_root.x >= 1)) {
_root.legalremove();
_root.legalc = _root.legalc - (rightlook == 1);
_root.legalc = _root.legalc + (leftlook == 1);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + (_root.y - 1))[_root.x] = (2222 + id) + level;
eval ("_root.row" + _root.y)[_root.x] = (2211 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 396 MovieClip "xray125" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
eval ("_root.row" + row)[cht + 1] = 0;
eval ("_root.row" + (row - 1))[cht] = 0;
_root.legalremove();
_root.legalr = (row - 1) - (xupLook == 1);
_root.legalc = cht + (RIGHTrightLook == 1);
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
_root.hand = false;
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
legalCheck2 = int((_root.legalr == (_root.y - 1)) * (_root.legalc == (_root.x + 1)));
legalCheck3 = int((_root.legalr == (_root.y - 2)) * (_root.legalc == _root.x));
sameLook = eval ("_root.row" + _root.y)[_root.x];
RIGHTsameLook = eval ("_root.row" + _root.y)[_root.x + 1];
UPsameLook = eval ("_root.row" + (_root.y - 1))[_root.x];
upRIGHTsameLook = eval ("_root.row" + (_root.y - 1))[_root.x + 1];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
xupLook = eval ("_root.row" + (_root.y - 2))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
RIGHTrightLook = eval ("_root.row" + _root.y)[_root.x + 2].toString().substr(2, 1);
lookResult = xupLook + RightrightLook;
sameResult = ((samelook + RIGHTsamelook) + UPsameLook) + upRIGHTsameLook;
if ((((sameResult == 0) && ((lookResult * ((legalCheck + legalCheck2) + legalCheck3)) == true)) && (_root.x <= 6)) && (_root.x >= 0)) {
_root.legalremove();
_root.legalr = _root.legalr + (xupLook == 1);
_root.legalc = _root.legalc + ((xupLook == 1) * 2);
_root.legalr = _root.legalr - ((RIGHTrightLook == 1) * 2);
_root.legalc = _root.legalc - (RIGHTrightLook == 1);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + (_root.y - 1))[_root.x] = (1222 + id) + level;
eval ("_root.row" + _root.y)[_root.x] = (2222 + id) + level;
eval ("_root.row" + _root.y)[_root.x + 1] = (2221 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 407 MovieClip "volc050" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
eval ("_root.row" + (row - 1))[cht] = 0;
_root.legalremove();
trace(UPrightLook);
_root.legalr = (row - 1) - (xupLook == 1);
_root.legalc = cht;
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
_root.hand = false;
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
legalCheck2 = int((_root.legalr == (_root.y - 2)) * (_root.legalc == _root.x));
lgt = legalCheck + legalCheck2;
sameLook = eval ("_root.row" + _root.y)[_root.x];
UPsameLook = eval ("_root.row" + (_root.y - 1))[_root.x];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
xupLook = eval ("_root.row" + (_root.y - 2))[_root.x].toString().substr(1, 1);
if ((xuplook == "") || (xuplook == undefined)) {
xuplook = 0;
}
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
lookResult = Number(xupLook) + Number(downLook);
sameResult = samelook + UPsamelook;
if (((sameResult == 0) && ((lookResult * lgt) == true)) && (_root.y <= 6)) {
_root.legalremove();
_root.legalr = _root.legalr + ((xupLook == 1) * 2);
_root.legalr = _root.legalr - ((downLook == 1) * 2);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + (_root.y - 1))[_root.x] = (1222 + id) + level;
eval ("_root.row" + _root.y)[_root.x] = (2122 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 414 MovieClip "ufox250" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + (row - 1))[cht] = 0;
eval ("_root.row" + (row - 1))[cht + 1] = 0;
eval ("_root.row" + (row - 1))[cht + 2] = 0;
eval ("_root.row" + row)[cht] = 0;
eval ("_root.row" + row)[cht + 1] = 0;
eval ("_root.row" + row)[cht + 2] = 0;
_root.legalremove();
_root.legalr = row - 1;
_root.legalc = cht + ((downRIGHTrightlook == 1) * 2);
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
_root.hand = false;
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
legalCheck2 = int((_root.legalr == (_root.y - 1)) * (_root.legalc == (_root.x + 2)));
lgt = legalCheck + legalCheck2;
upsameLook = eval ("_root.row" + (_root.y - 1))[_root.x];
upRIGHTsameLook = eval ("_root.row" + (_root.y - 1))[_root.x + 1];
upxRIGHTsameLook = eval ("_root.row" + (_root.y - 1))[_root.x + 2];
sameLook = eval ("_root.row" + _root.y)[_root.x];
RIGHTsameLook = eval ("_root.row" + _root.y)[_root.x + 1];
xRIGHTsameLook = eval ("_root.row" + _root.y)[_root.x + 2];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
downRIGHTrightLook = eval ("_root.row" + (_root.y + 1))[_root.x + 2].toString().substr(0, 1);
leftdrop = _root.y add _root.x;
rightdrop = _root.y add (_root.x + 2);
lookResult = Number(downRIGHTrightLook) + Number(downLook);
sameResult = ((((samelook + RIGHTsamelook) + xRIGHTsamelook) + upsamelook) + upRIGHTsamelook) + upxRIGHTsamelook;
if ((((sameResult == 0) && ((lookResult * lgt) == true)) && (_root.x <= 6)) && (_root.x >= 0)) {
_root.legalremove();
_root.legalr = _root.legalr + (downlook == 1);
_root.legalc = _root.legalc + ((downlook == 1) * 2);
_root.legalr = _root.legalr + (downRIGHTrightlook == 1);
_root.legalc = _root.legalc - ((downRIGHTrightlook == 1) * 2);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + (_root.y - 1))[_root.x] = (2222 + id) + level;
eval ("_root.row" + (_root.y - 1))[_root.x + 1] = (2222 + id) + level;
eval ("_root.row" + (_root.y - 1))[_root.x + 2] = (2222 + id) + level;
eval ("_root.row" + _root.y)[_root.x] = (2122 + id) + level;
eval ("_root.row" + _root.y)[_root.x + 1] = (2222 + id) + level;
eval ("_root.row" + _root.y)[_root.x + 2] = (2122 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 433 MovieClip "pipC005" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
_root.legalremove();
_root.legalr = row - 1;
_root.legalc = cht;
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
_root.hand = false;
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
sameLook = eval ("_root.row" + _root.y)[_root.x];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
lookResult = rightLook + upLook;
if (((sameLook == 0) && ((lookResult * legalCheck) == true)) && (_root.x <= 7)) {
_root.legalremove();
_root.legalr = _root.legalr - (rightlook == 1);
_root.legalc = _root.legalc + (uplook == 1);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + _root.y)[_root.x] = (1221 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 434 MovieClip "pipE005" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
_root.legalremove();
_root.legalr = row - 1;
_root.legalc = cht;
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
_root.hand = false;
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
sameLook = eval ("_root.row" + _root.y)[_root.x];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
lookResult = downLook + leftLook;
if (((sameLook == 0) && ((lookResult * legalCheck) == true)) && (_root.x >= 1)) {
_root.legalremove();
_root.legalc = _root.legalc - (downlook == 1);
_root.legalr = _root.legalr + (leftlook == 1);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + _root.y)[_root.x] = (2112 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 435 MovieClip "pipD005" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
_root.legalremove();
_root.legalr = row - 1;
_root.legalc = cht;
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
_root.hand = false;
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
sameLook = eval ("_root.row" + _root.y)[_root.x];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
lookResult = downLook + rightLook;
if (((sameLook == 0) && ((lookResult * legalCheck) == true)) && (_root.x <= 7)) {
_root.legalremove();
_root.legalc = _root.legalc + (downlook == 1);
_root.legalr = _root.legalr + (rightlook == 1);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + _root.y)[_root.x] = (2121 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 492 MovieClip "wigl125" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
eval ("_root.row" + row)[cht + 1] = 0;
eval ("_root.row" + (row - 1))[cht] = 0;
eval ("_root.row" + (row - 1))[cht + 1] = 0;
_root.legalremove();
_root.legalr = (row - 1) - (xupLook == 1);
_root.legalc = cht + (RIGHTrightLook == 1);
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
_root.hand = false;
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
legalCheck2 = int((_root.legalr == (_root.y - 1)) * (_root.legalc == (_root.x + 1)));
legalCheck3 = int((_root.legalr == (_root.y - 2)) * (_root.legalc == _root.x));
legalCheck4 = int((_root.legalr == (_root.y - 2)) * (_root.legalc == (_root.x + 1)));
sameLook = eval ("_root.row" + _root.y)[_root.x];
RIGHTsameLook = eval ("_root.row" + _root.y)[_root.x + 1];
UPsameLook = eval ("_root.row" + (_root.y - 1))[_root.x];
upRIGHTsameLook = eval ("_root.row" + (_root.y - 1))[_root.x + 1];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
xupLook = eval ("_root.row" + (_root.y - 2))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
RIGHTrightLook = eval ("_root.row" + _root.y)[_root.x + 2].toString().substr(2, 1);
lookResult = xupLook + RightrightLook;
sameResult = ((samelook + RIGHTsamelook) + UPsameLook) + upRIGHTsameLook;
if ((((sameResult == 0) && ((lookResult * (((legalCheck + legalCheck2) + legalCheck3) + legalCheck4)) == true)) && (_root.x <= 6)) && (_root.x >= 0)) {
_root.legalremove();
_root.legalr = _root.legalr + (xupLook == 1);
_root.legalc = _root.legalc + ((xupLook == 1) * 2);
_root.legalr = _root.legalr - ((RIGHTrightLook == 1) * 2);
_root.legalc = _root.legalc - (RIGHTrightLook == 1);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + (_root.y - 1))[_root.x] = (1222 + id) + level;
eval ("_root.row" + (_root.y - 1))[_root.x + 1] = (2222 + id) + level;
eval ("_root.row" + _root.y)[_root.x] = (2222 + id) + level;
eval ("_root.row" + _root.y)[_root.x + 1] = (2221 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 494 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_root.hand == true) {
if (a < 40) {
a = a + 5;
}
_alpha = a;
} else {
if (a > 0) {
a = a - 5;
}
_alpha = Math.max(0, a);
}
}
Instance of Symbol 505 MovieClip "Aexp" in Frame 3
onClipEvent (load) {
this.gotoAndPlay(dir);
_root.mySound.stop();
}
onClipEvent (unload) {
_root.theme.gotoAndStop(1);
_root.flyFX = false;
if (_root.menu.tempc == 1) {
_root.gameOver();
} else {
_root.menu.gotoAndStop(1);
}
_root.TEMPscore = 0;
}
Instance of Symbol 506 MovieClip "pipF005" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
_root.legalremove();
_root.legalr = row - 1;
_root.legalc = cht;
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
sameLook = eval ("_root.row" + _root.y)[_root.x];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
lookResult = leftLook + upLook;
if (((sameLook == 0) && ((lookResult * legalCheck) == true)) && (_root.x >= 1)) {
_root.legalremove();
_root.legalr = _root.legalr - (leftlook == 1);
_root.legalc = _root.legalc - (uplook == 1);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + _root.y)[_root.x] = (1212 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 526 MovieClip "pipA005" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if ((((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) && (dropped != true)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
_root.legalremove();
_root.legalr = row - 1;
_root.legalc = cht;
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
_root.hand = false;
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
sameLook = eval ("_root.row" + _root.y)[_root.x];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
lookResult = downLook + upLook;
if (((sameLook == 0) && ((lookResult * legalCheck) == true)) && (_root.y <= 6)) {
_root.legalremove();
_root.legalr = _root.legalr - (downlook == 1);
_root.legalr = _root.legalr + (uplook == 1);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + _root.y)[_root.x] = (1122 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 527 MovieClip "pipB005" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
_root.legalremove();
_root.legalr = row - 1;
_root.legalc = cht;
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
_root.hand = false;
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
sameLook = eval ("_root.row" + _root.y)[_root.x];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
lookResult = rightLook + leftLook;
if ((((sameLook == 0) && ((lookResult * legalCheck) == true)) && (_root.x <= 7)) && (_root.x >= 1)) {
_root.legalremove();
_root.legalc = _root.legalc - (rightlook == 1);
_root.legalc = _root.legalc + (leftlook == 1);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + _root.y)[_root.x] = (2211 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 547 MovieClip "spin025" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
_root.legalremove();
_root.legalr = row - 1;
_root.legalc = cht;
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
sameLook = eval ("_root.row" + _root.y)[_root.x];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
lookResult = rightLook + upLook;
if (((sameLook == 0) && ((lookResult * legalCheck) == true)) && (_root.x <= 7)) {
_root.legalremove();
_root.legalr = _root.legalr - (rightlook == 1);
_root.legalc = _root.legalc + (uplook == 1);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + _root.y)[_root.x] = (1221 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 581 MovieClip "fish025" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
_root.legalremove();
_root.legalr = row - 1;
_root.legalc = cht;
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
sameLook = eval ("_root.row" + _root.y)[_root.x];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
lookResult = rightLook + upLook;
if (((sameLook == 0) && ((lookResult * legalCheck) == true)) && (_root.x <= 7)) {
_root.legalremove();
_root.legalr = _root.legalr - (rightlook == 1);
_root.legalc = _root.legalc + (uplook == 1);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + _root.y)[_root.x] = (1221 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 627 MovieClip "micr060" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
eval ("_root.row" + row)[cht + 1] = 0;
_root.legalremove();
_root.legalr = row - 1;
_root.legalc = cht + (RIGHTrightLook == 1);
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
_root.hand = false;
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
legalCheck2 = int((_root.legalr == (_root.y - 1)) * (_root.legalc == (_root.x + 1)));
sameLook = eval ("_root.row" + _root.y)[_root.x];
RIGHTsameLook = eval ("_root.row" + _root.y)[_root.x + 1];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
RIGHTrightLook = eval ("_root.row" + _root.y)[_root.x + 2].toString().substr(2, 1);
lookResult = RIGHTrightLook + upLook;
sameResult = samelook + RIGHTsamelook;
if ((((sameResult == 0) && ((lookResult * (legalCheck + legalCheck2)) == true)) && (_root.x <= 6)) && (_root.x >= 0)) {
_root.legalremove();
_root.legalc = _root.legalc + ((uplook == 1) * 2);
_root.legalr = _root.legalr - (RIGHTrightlook == 1);
_root.legalc = _root.legalc - (RIGHTrightlook == 1);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + _root.y)[_root.x] = (1222 + id) + level;
eval ("_root.row" + _root.y)[_root.x + 1] = (2221 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 653 MovieClip "shwr050" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseMove) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (!_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
_root.menu.gotoAndStop(1);
}
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
eval ("_root.row" + (row - 1))[cht] = 0;
_root.legalremove();
_root.legalr = row - 1;
_root.legalc = cht;
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
sameLook = eval ("_root.row" + _root.y)[_root.x];
UPsameLook = eval ("_root.row" + (_root.y - 1))[_root.x];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
lookResult = Math.min(1, downLook + leftLook);
sameResult = samelook + Upsamelook;
if ((sameResult == 0) && ((lookResult * legalCheck) == true)) {
_root.legalremove();
_root.legalc = _root.legalc - (downlook == 1);
_root.legalr = _root.legalr + (leftlook == 1);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + (_root.y - 1))[_root.x] = (2222 + id) + level;
eval ("_root.row" + _root.y)[_root.x] = (2112 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
if (samelook == "T") {
_root.trash.ani.play();
removeMovieClip(this);
}
}
}
Instance of Symbol 675 MovieClip "frog100" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
eval ("_root.row" + row)[cht + 1] = 0;
eval ("_root.row" + row)[cht + 2] = 0;
_root.legalremove();
_root.legalr = row - 1;
_root.legalc = cht + ((downRIGHTrightlook == 1) * 2);
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
_root.hand = false;
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
legalCheck2 = int((_root.legalr == (_root.y - 1)) * (_root.legalc == (_root.x + 2)));
lgt = legalCheck + legalCheck2;
sameLook = eval ("_root.row" + _root.y)[_root.x];
RIGHTsameLook = eval ("_root.row" + _root.y)[_root.x + 1];
xRIGHTsameLook = eval ("_root.row" + _root.y)[_root.x + 2];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
downRIGHTrightLook = eval ("_root.row" + (_root.y + 1))[_root.x + 2].toString().substr(0, 1);
leftdrop = _root.y add _root.x;
rightdrop = _root.y add (_root.x + 2);
lookResult = Number(downRIGHTrightLook) + Number(downLook);
sameResult = (samelook + RIGHTsamelook) + xRIGHTsamelook;
if ((((sameResult == 0) && ((lookResult * lgt) == true)) && (_root.x <= 6)) && (_root.x >= 0)) {
_root.legalremove();
_root.legalr = _root.legalr + (downlook == 1);
_root.legalc = _root.legalc + ((downlook == 1) * 2);
_root.legalr = _root.legalr + (downRIGHTrightlook == 1);
_root.legalc = _root.legalc - ((downRIGHTrightlook == 1) * 2);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + _root.y)[_root.x] = (2122 + id) + level;
eval ("_root.row" + _root.y)[_root.x + 1] = (2222 + id) + level;
eval ("_root.row" + _root.y)[_root.x + 2] = (2122 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 687 MovieClip "lava050" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
eval ("_root.row" + (row - 1))[cht] = 0;
_root.legalremove();
trace(UPrightLook);
_root.legalr = (row - 1) - (xupLook == 1);
_root.legalc = cht;
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
_root.hand = false;
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
legalCheck2 = int((_root.legalr == (_root.y - 2)) * (_root.legalc == _root.x));
lgt = legalCheck + legalCheck2;
sameLook = eval ("_root.row" + _root.y)[_root.x];
UPsameLook = eval ("_root.row" + (_root.y - 1))[_root.x];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
xupLook = eval ("_root.row" + (_root.y - 2))[_root.x].toString().substr(1, 1);
if ((xuplook == "") || (xuplook == undefined)) {
xuplook = 0;
}
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
lookResult = Number(xupLook) + Number(downLook);
sameResult = samelook + UPsamelook;
if (((sameResult == 0) && ((lookResult * lgt) == true)) && (_root.y <= 6)) {
_root.legalremove();
_root.legalr = _root.legalr + ((xupLook == 1) * 2);
_root.legalr = _root.legalr - ((downLook == 1) * 2);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + (_root.y - 1))[_root.x] = (1222 + id) + level;
eval ("_root.row" + _root.y)[_root.x] = (2122 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 723 MovieClip "blad060" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
eval ("_root.row" + row)[cht + 1] = 0;
_root.legalremove();
_root.legalr = row - 1;
_root.legalc = cht + (RIGHTrightLook == 1);
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
_root.hand = false;
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
legalCheck2 = int((_root.legalr == (_root.y - 1)) * (_root.legalc == (_root.x + 1)));
sameLook = eval ("_root.row" + _root.y)[_root.x];
RIGHTsameLook = eval ("_root.row" + _root.y)[_root.x + 1];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
RIGHTrightLook = eval ("_root.row" + _root.y)[_root.x + 2].toString().substr(2, 1);
lookResult = RIGHTrightLook + upLook;
sameResult = samelook + RIGHTsamelook;
if ((((sameResult == 0) && ((lookResult * (legalCheck + legalCheck2)) == true)) && (_root.x <= 6)) && (_root.x >= 0)) {
_root.legalremove();
_root.legalc = _root.legalc + ((uplook == 1) * 2);
_root.legalr = _root.legalr - (RIGHTrightlook == 1);
_root.legalc = _root.legalc - (RIGHTrightlook == 1);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + _root.y)[_root.x] = (1222 + id) + level;
eval ("_root.row" + _root.y)[_root.x + 1] = (2221 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 734 MovieClip "dsco050" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
_root.legalremove();
_root.legalr = row - 1;
_root.legalc = cht;
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
_root.hand = false;
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
sameLook = eval ("_root.row" + _root.y)[_root.x];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
lookResult = downLook + leftLook;
if (((sameLook == 0) && ((lookResult * legalCheck) == true)) && (_root.x >= 1)) {
_root.legalremove();
_root.legalc = _root.legalc - (downlook == 1);
_root.legalr = _root.legalr + (leftlook == 1);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + _root.y)[_root.x] = (2112 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 763 MovieClip "a11" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a12" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a14" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a15" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a16" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a17" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a18" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a10" in Frame 3
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_currentframe == 15) {
drop = new Sound();
drop.attachSound("adropped");
drop.setVolume(100);
drop.start();
}
}
Instance of Symbol 763 MovieClip "a21" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a22" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a24" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a25" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a26" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a27" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a28" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a20" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a31" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a32" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a33" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a34" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a35" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a36" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a37" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a38" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a30" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a41" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a42" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a43" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a44" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a45" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a46" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a47" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a48" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a40" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a51" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a52" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a53" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a54" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a55" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a56" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a57" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a58" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a50" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a61" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a62" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a63" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a64" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a65" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a66" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a67" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a68" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a60" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a23" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 763 MovieClip "a13" in Frame 3
onClipEvent (load) {
stop();
}
Instance of Symbol 766 MovieClip "helper" in Frame 3
onClipEvent (enterFrame) {
if ((goAway == true) && (_alpha > 0)) {
_alpha = (_alpha - 5);
} else {
goAway = false;
}
}
Instance of Symbol 769 MovieClip in Frame 3
onClipEvent (enterFrame) {
see = Key.isDown(86) == true;
this.gotoAndStop(see + 1);
}
Instance of Symbol 771 MovieClip "goby050" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
_root.legalremove();
_root.legalr = row - 1;
_root.legalc = cht;
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
_root.hand = false;
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
sameLook = eval ("_root.row" + _root.y)[_root.x];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
lookResult = downLook + leftLook;
if (((sameLook == 0) && ((lookResult * legalCheck) == true)) && (_root.x >= 1)) {
_root.legalremove();
_root.legalc = _root.legalc - (downlook == 1);
_root.legalr = _root.legalr + (leftlook == 1);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + _root.y)[_root.x] = (2112 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 781 MovieClip "bran050" in Frame 3
onClipEvent (load) {
function playSound(name) {
mySound = new Sound();
mySound.attachSound(name);
mySound.setVolume(100);
mySound.start();
}
fr = _root._currentframe;
}
onClipEvent (enterFrame) {
if ((fr != _root._currentframe) || (_root.over == true)) {
removeMovieClip(this);
}
if (remove == true) {
y = y + 6;
this._y = this._y - (28 - y);
}
if ((dropped == true) && (_root.itemlevel == level)) {
_root.hand = false;
ym = ym + 6;
_y = (_y + ym);
} else {
dropped = false;
}
if (_y > 340) {
removeMovieClip(this);
}
}
onClipEvent (unload) {
_root.itemlevel--;
}
onClipEvent (mouseDown) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == false)) && (_root.menu._currentframe == 1)) && (_root.itemlevel == level)) {
row = int(Math.ceil(_y + 12) / 48) + 1;
cht = int(Math.ceil(_x + 12) / 48);
eval ("_root.row" + row)[cht] = 0;
_root.legalremove();
_root.legalr = row - 1;
_root.legalc = cht;
_root.legalmove();
if (Key.isDown(32)) {
this.stopDrag();
remove = true;
_root.hand = false;
} else {
this.swapDepths(999);
_x = (_root._xmouse - 25);
_y = (_root._ymouse - 25);
this.startDrag();
_root.hand = true;
_root.bin = true;
}
}
}
onClipEvent (mouseUp) {
if (((hitTest(_root._xmouse, _root._ymouse, true) && (_root.menu.area.hitTest(_root._xmouse, _root._ymouse, true))) && (_root.menu._currentframe == 2)) && (placed != true)) {
playSound("whipBack");
_root.hand = false;
removeMovieClip(this);
}
if ((hitTest(_root._xmouse, _root._ymouse, true) && (_root.hand == true)) && (_root.menu._currentframe == 1)) {
legalCheck = int((_root.legalr == (_root.y - 1)) * (_root.legalc == _root.x));
sameLook = eval ("_root.row" + _root.y)[_root.x];
upLook = eval ("_root.row" + (_root.y - 1))[_root.x].toString().substr(1, 1);
downLook = eval ("_root.row" + (_root.y + 1))[_root.x].toString().substr(0, 1);
leftLook = eval ("_root.row" + _root.y)[_root.x - 1].toString().substr(3, 1);
rightLook = eval ("_root.row" + _root.y)[_root.x + 1].toString().substr(2, 1);
lookResult = downLook + leftLook;
if (((sameLook == 0) && ((lookResult * legalCheck) == true)) && (_root.x >= 1)) {
_root.legalremove();
_root.legalc = _root.legalc - (downlook == 1);
_root.legalr = _root.legalr + (leftlook == 1);
_root.legalmove();
playSound("goodDrop");
eval ("_root.row" + _root.y)[_root.x] = (2112 + id) + level;
this.stopDrag();
this.swapDepths(level);
_root.hand = false;
(this._x = (_root.x * 48) - 1);
(this._y = ((_root.y - 1) * 48) - 6);
placed = true;
} else {
this.stopDrag();
playSound("aDropped");
dropped = true;
}
}
}
Instance of Symbol 846 MovieClip "inst" in Frame 3
onClipEvent (load) {
this.swapDepths(1973);
}
onClipEvent (enterFrame) {
_root.x = int(_root._xmouse / 48);
_root.y = int(_root._ymouse / 48) + 1;
_root.mr1 = _root.row1.toString();
_root.mr2 = _root.row2.toString();
_root.mr3 = _root.row3.toString();
_root.mr4 = _root.row4.toString();
_root.mr5 = _root.row5.toString();
_root.mr6 = _root.row6.toString();
_root.mr7 = _root.row7.toString();
}
Symbol 12 Button
on (release) {
_root.screens();
}
Symbol 15 MovieClip Frame 10
gotoAndPlay (1);
Symbol 24 MovieClip Frame 1
stop();
Symbol 24 MovieClip Frame 6
stop();
Symbol 39 MovieClip Frame 1
stop();
Symbol 57 MovieClip Frame 1
stop();
Symbol 57 MovieClip Frame 2
_root.c = _root.c - 1;
Symbol 57 MovieClip Frame 14
_root.checktile("left");
Symbol 57 MovieClip Frame 16
stop();
Symbol 57 MovieClip Frame 18
_root.r = _root.r + 1;
Symbol 57 MovieClip Frame 30
_root.checktile("down");
Symbol 57 MovieClip Frame 32
stop();
Symbol 62 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 2
_root.c = _root.c - 1;
Symbol 62 MovieClip Frame 58
_root.checktile("left");
Symbol 62 MovieClip Frame 60
stop();
Symbol 62 MovieClip Frame 61
_root.r = _root.r - 1;
Symbol 62 MovieClip Frame 117
_root.checktile("up");
Symbol 62 MovieClip Frame 119
stop();
Symbol 75 MovieClip Frame 1
stop();
Symbol 82 Button
on (release) {
if (_currentframe == 1) {
_root.instructions.gotoAndStop(5);
gotoAndStop (5);
}
}
Symbol 89 Button
on (release) {
if (t == 1) {
if (_root.replay_go != true) {
tblur.play();
}
}
tempc = 10 - a;
if (tempc > 0) {
_root.theme.gotoAndStop(2);
if (_root.replay_go != true) {
blur.play();
u = u - ((-9 * (tempc == 10)) + (1 * (u > 0)));
t = t - (1 * (tempc == 10));
}
a++;
_root.r = 2;
_root.c = 0;
_root.checktile("down");
gotoAndStop (4);
}
}
Symbol 97 Button
on (release) {
gotoAndStop (2);
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 154 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.dist == 0) {
play();
} else {
gotoAndStop (1);
}
}
Symbol 197 Button
on (release) {
slide();
}
Instance of Symbol 187 MovieClip "pieces" in Symbol 206 MovieClip Frame 1
onClipEvent (load) {
points = 29;
if (_root.scrolldone != true) {
_parent.scroller.sub = _parent.scroller.limit / points;
_root.scrolldone = true;
}
}
onClipEvent (enterFrame) {
if (_root.place > (_root.unlock - 1)) {
_parent.locked.gotoAndStop(2);
} else {
_parent.locked.gotoAndStop(1);
}
_parent._parent.labels.gotoAndStop(_root.place + 1);
dest = _root.place * -146;
dist = int(dest - _x);
this._x = this._x + (dist * 0.65);
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (load) {
function slide() {
if (_root.place < _parent.pieces.points) {
_root.place = _root.place + 1;
}
}
}
Instance of Symbol 198 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (load) {
function slide() {
if (_root.place > 0) {
_root.place = _root.place - 1;
}
}
}
Instance of Symbol 205 MovieClip "scroller" in Symbol 206 MovieClip Frame 1
onClipEvent (load) {
x = _x;
y = _y;
limit = 57;
sub = limit / _parent.pieces.points;
}
onClipEvent (enterFrame) {
if (drag != true) {
_x = ((_root.place * sub) + x);
}
}
onClipEvent (mouseMove) {
if (drag == true) {
xmod = _x - x;
diff = xmod / sub;
_root.place = int(diff);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
drag = true;
this.startDrag(true, x, y, x + limit, y);
}
}
onClipEvent (mouseUp) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
drag = false;
this.stopDrag();
_x = ((_root.place * sub) + x);
}
}
Symbol 260 Button
on (press) {
if (hitTest(_root._xmouse, _root._ymouse, true) && (_root.place < _root.unlock)) {
item = _root.elementsArray[_root.place];
_root.itemlevel++;
duplicateMovieClip (eval ("_root." + item), item + _root.itemlevel, 999);
eval (("_root." + item) + _root.itemlevel)._y = _root._ymouse - 25;
eval (("_root." + item) + _root.itemlevel)._x = _root._xmouse - 25;
eval (("_root." + item) + _root.itemlevel).startDrag();
eval (("_root." + item) + _root.itemlevel).id = item;
eval (("_root." + item) + _root.itemlevel).level = _root.itemlevel;
_root.holding = _root.itemlevel;
clicked = true;
_root.hand = true;
gotoAndStop (1);
}
}
Symbol 266 MovieClip Frame 26
gotoAndPlay (1);
Symbol 279 Button
on (release) {
_root.num++;
_root.replay_go = false;
_root.theme.gotoAndStop(1);
_parent.roundscore = 0;
_root.level(_root.num);
_root.helper._alpha = 100;
_root.bowl.gotoAndStop(1);
_parent.gotoAndStop(1);
}
Symbol 284 Button
on (release) {
_root.replay();
_parent.gotoAndStop(4);
}
Symbol 285 MovieClip Frame 20
stop();
Symbol 288 Button
on (release) {
gotoAndStop (4);
}
Symbol 290 Button
on (release) {
gotoAndStop (3);
}
Symbol 291 MovieClip Frame 1
stop();
clicked = false;
_root.legalmove();
Symbol 291 MovieClip Frame 2
_root.hand = true;
_root.helper.goAway = true;
controller.pieces._x = -(_root.place * 146);
Instance of Symbol 206 MovieClip "controller" in Symbol 291 MovieClip Frame 2
onClipEvent (mouseMove) {
if (!this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_parent.clicked != true) {
_root.hand = false;
}
_parent.gotoAndStop(1);
}
}
Symbol 291 MovieClip Frame 3
if (length(roundscore) == 1) {
round = "000" + roundscore;
}
if (length(roundscore) == 2) {
round = "00" + roundscore;
}
if (length(roundscore) == 3) {
round = "0" + roundscore;
}
if (length(roundscore) == 4) {
round = roundscore;
}
Symbol 291 MovieClip Frame 4
_root.legalremove();
_root.helper.goAway = true;
Symbol 299 MovieClip Frame 1
stop();
Symbol 299 MovieClip Frame 2
_root.c = _root.c - 1;
Symbol 299 MovieClip Frame 26
_root.checktile("left");
Symbol 299 MovieClip Frame 29
stop();
Symbol 299 MovieClip Frame 31
stop();
Symbol 299 MovieClip Frame 32
_root.c = _root.c + 1;
Symbol 299 MovieClip Frame 57
_root.checktile("right");
Symbol 299 MovieClip Frame 59
stop();
Symbol 313 MovieClip Frame 1
stop();
Symbol 313 MovieClip Frame 2
_root.c = _root.c + 2;
Symbol 313 MovieClip Frame 16
_root.checktile("right");
Symbol 313 MovieClip Frame 17
gotoAndStop (1);
Symbol 313 MovieClip Frame 20
_root.c = _root.c - 1;
_root.r = _root.r + 1;
Symbol 313 MovieClip Frame 34
_root.checktile("down");
Symbol 313 MovieClip Frame 35
gotoAndStop (1);
Symbol 317 MovieClip Frame 1
stop();
Symbol 317 MovieClip Frame 2
_root.r = _root.r + 1;
_root.c = _root.c + 2;
Symbol 317 MovieClip Frame 25
_root.checktile("down");
Symbol 317 MovieClip Frame 29
gotoAndStop (1);
Symbol 317 MovieClip Frame 31
_root.r = _root.r + 1;
_root.c = _root.c - 2;
Symbol 317 MovieClip Frame 55
_root.checktile("down");
Symbol 317 MovieClip Frame 58
gotoAndStop (1);
Symbol 317 MovieClip Frame 59
from = _root.r add _root.c;
if (from == rightdrop) {
gotoAndPlay ("leftdrop");
}
if (from == leftdrop) {
gotoAndPlay ("rightdrop");
}
Symbol 337 MovieClip Frame 1
stop();
Symbol 337 MovieClip Frame 2
_root.c = _root.c + 1;
_root.r = _root.r - 1;
Symbol 337 MovieClip Frame 16
_root.checktile("right");
Symbol 337 MovieClip Frame 18
gotoAndStop (1);
Symbol 337 MovieClip Frame 20
_root.c = _root.c - 1;
_root.r = _root.r + 1;
Symbol 337 MovieClip Frame 35
_root.checktile("left");
Symbol 337 MovieClip Frame 37
gotoAndStop (1);
Symbol 349 MovieClip Frame 1
stop();
Symbol 349 MovieClip Frame 2
_root.c = _root.c - 1;
Symbol 349 MovieClip Frame 17
_root.checktile("left");
Symbol 349 MovieClip Frame 19
stop();
Symbol 349 MovieClip Frame 20
_root.r = _root.r - 1;
Symbol 349 MovieClip Frame 35
_root.checktile("up");
Symbol 349 MovieClip Frame 37
stop();
Symbol 353 MovieClip Frame 1
stop();
Symbol 353 MovieClip Frame 2
_root.r = _root.r - 1;
Symbol 353 MovieClip Frame 22
_root.checktile("up");
Symbol 353 MovieClip Frame 25
stop();
Symbol 353 MovieClip Frame 27
stop();
Symbol 353 MovieClip Frame 28
_root.r = _root.r + 1;
Symbol 353 MovieClip Frame 48
_root.checktile("down");
Symbol 353 MovieClip Frame 51
stop();
Symbol 373 MovieClip Frame 1
stop();
stop();
Symbol 373 MovieClip Frame 2
_root.r = _root.r + 1;
_root.c = _root.c + 2;
Symbol 373 MovieClip Frame 23
_root.checktile("down");
Symbol 373 MovieClip Frame 24
gotoAndStop (1);
Symbol 373 MovieClip Frame 28
_root.r = _root.r + 1;
_root.c = _root.c - 2;
Symbol 373 MovieClip Frame 52
_root.checktile("down");
Symbol 373 MovieClip Frame 53
gotoAndStop (1);
Symbol 373 MovieClip Frame 54
from = _root.r add _root.c;
if (from == rightdrop) {
gotoAndPlay ("leftdrop");
}
if (from == leftdrop) {
gotoAndPlay ("rightdrop");
}
Symbol 384 MovieClip Frame 1
stop();
Symbol 384 MovieClip Frame 2
_root.c = _root.c + 1;
Symbol 384 MovieClip Frame 25
_root.checktile("right");
Symbol 384 MovieClip Frame 30
stop();
Symbol 384 MovieClip Frame 31
stop();
Symbol 384 MovieClip Frame 32
_root.c = _root.c - 1;
Symbol 384 MovieClip Frame 57
_root.checktile("left");
Symbol 384 MovieClip Frame 60
stop();
Symbol 396 MovieClip Frame 1
stop();
Symbol 396 MovieClip Frame 2
_root.r = _root.r + 1;
_root.c = _root.c + 2;
Symbol 396 MovieClip Frame 54
_root.checktile("right");
Symbol 396 MovieClip Frame 57
gotoAndStop (1);
Symbol 396 MovieClip Frame 59
_root.r = _root.r - 2;
_root.c = _root.c - 1;
Symbol 396 MovieClip Frame 112
_root.checktile("up");
Symbol 396 MovieClip Frame 115
gotoAndStop (1);
Symbol 407 MovieClip Frame 1
stop();
Symbol 407 MovieClip Frame 2
_root.r = _root.r - 2;
Symbol 407 MovieClip Frame 13
_root.checkTile("up");
Symbol 407 MovieClip Frame 17
gotoAndStop (1);
Symbol 407 MovieClip Frame 19
_root.r = _root.r + 2;
Symbol 407 MovieClip Frame 31
_root.checktile("down");
Symbol 407 MovieClip Frame 34
gotoAndStop (1);
Symbol 414 MovieClip Frame 1
stop();
Symbol 414 MovieClip Frame 2
_root.r = _root.r + 1;
_root.c = _root.c + 2;
Symbol 414 MovieClip Frame 43
_root.checktile("down");
Symbol 414 MovieClip Frame 46
gotoAndStop (1);
Symbol 414 MovieClip Frame 48
stop();
Symbol 414 MovieClip Frame 52
_root.r = _root.r + 1;
_root.c = _root.c - 2;
Symbol 414 MovieClip Frame 84
_root.checktile("down");
Symbol 414 MovieClip Frame 93
gotoAndStop (1);
Symbol 414 MovieClip Frame 94
from = _root.r add _root.c;
if (from == rightdrop) {
gotoAndPlay ("leftdrop");
}
if (from == leftdrop) {
gotoAndPlay ("rightdrop");
}
Symbol 433 MovieClip Frame 1
stop();
Symbol 433 MovieClip Frame 2
_root.c = _root.c + 1;
Symbol 433 MovieClip Frame 10
_root.checktile("right");
Symbol 433 MovieClip Frame 11
stop();
Symbol 433 MovieClip Frame 12
_root.r = _root.r - 1;
Symbol 433 MovieClip Frame 20
_root.checktile("up");
Symbol 433 MovieClip Frame 21
stop();
Symbol 434 MovieClip Frame 1
stop();
Symbol 434 MovieClip Frame 2
_root.r = _root.r + 1;
Symbol 434 MovieClip Frame 10
_root.checktile("down");
Symbol 434 MovieClip Frame 11
stop();
Symbol 434 MovieClip Frame 13
_root.c = _root.c - 1;
Symbol 434 MovieClip Frame 20
_root.checktile("left");
Symbol 434 MovieClip Frame 21
stop();
Symbol 435 MovieClip Frame 1
stop();
Symbol 435 MovieClip Frame 2
_root.r = _root.r + 1;
Symbol 435 MovieClip Frame 10
_root.checktile("down");
Symbol 435 MovieClip Frame 11
stop();
Symbol 435 MovieClip Frame 13
_root.c = _root.c + 1;
Symbol 435 MovieClip Frame 20
_root.checktile("right");
Symbol 435 MovieClip Frame 21
stop();
Symbol 492 MovieClip Frame 1
stop();
Symbol 492 MovieClip Frame 2
_root.r = _root.r + 1;
_root.c = _root.c + 2;
Symbol 492 MovieClip Frame 56
_root.checktile("right");
Symbol 492 MovieClip Frame 58
gotoAndStop (1);
Symbol 492 MovieClip Frame 61
_root.r = _root.r - 2;
_root.c = _root.c - 1;
Symbol 492 MovieClip Frame 115
_root.checktile("up");
Symbol 492 MovieClip Frame 117
gotoAndStop (1);
Symbol 505 MovieClip Frame 1
stop();
Symbol 505 MovieClip Frame 2
play();
Symbol 505 MovieClip Frame 8
stop();
removeMovieClip(this);
Symbol 505 MovieClip Frame 9
play();
Symbol 505 MovieClip Frame 15
stop();
removeMovieClip(this);
Symbol 505 MovieClip Frame 16
play();
Symbol 505 MovieClip Frame 22
stop();
removeMovieClip(this);
Symbol 505 MovieClip Frame 23
play();
Symbol 505 MovieClip Frame 29
stop();
removeMovieClip(this);
Symbol 506 MovieClip Frame 1
stop();
Symbol 506 MovieClip Frame 2
_root.c = _root.c - 1;
Symbol 506 MovieClip Frame 10
_root.checktile("left");
Symbol 506 MovieClip Frame 11
stop();
Symbol 506 MovieClip Frame 12
_root.r = _root.r - 1;
Symbol 506 MovieClip Frame 20
_root.checktile("up");
Symbol 506 MovieClip Frame 21
stop();
Symbol 509 MovieClip Frame 1
stop();
Symbol 509 MovieClip Frame 2
stop();
Symbol 526 MovieClip Frame 1
stop();
Symbol 526 MovieClip Frame 5
_root.r = _root.r + 1;
Symbol 526 MovieClip Frame 12
_root.checktile("down");
Symbol 526 MovieClip Frame 14
stop();
Symbol 526 MovieClip Frame 15
_root.r = _root.r - 1;
Symbol 526 MovieClip Frame 23
_root.checktile("up");
Symbol 526 MovieClip Frame 24
stop();
Symbol 527 MovieClip Frame 1
stop();
Symbol 527 MovieClip Frame 5
_root.c = _root.c - 1;
Symbol 527 MovieClip Frame 12
_root.checktile("left");
Symbol 527 MovieClip Frame 14
stop();
Symbol 527 MovieClip Frame 15
_root.c = _root.c + 1;
Symbol 527 MovieClip Frame 22
_root.checktile("right");
Symbol 527 MovieClip Frame 24
stop();
Symbol 547 MovieClip Frame 1
stop();
stop();
Symbol 547 MovieClip Frame 2
_root.c = _root.c + 1;
Symbol 547 MovieClip Frame 27
_root.checktile("right");
Symbol 547 MovieClip Frame 29
stop();
stop();
Symbol 547 MovieClip Frame 30
_root.r = _root.r - 1;
Symbol 547 MovieClip Frame 55
_root.checktile("up");
Symbol 547 MovieClip Frame 57
stop();
Symbol 581 MovieClip Frame 1
stop();
Symbol 581 MovieClip Frame 5
_root.c = _root.c + 1;
Symbol 581 MovieClip Frame 16
_root.checktile("right");
Symbol 581 MovieClip Frame 19
stop();
stop();
Symbol 581 MovieClip Frame 20
_root.r = _root.r - 1;
Symbol 581 MovieClip Frame 31
_root.checktile("up");
Symbol 581 MovieClip Frame 35
stop();
Symbol 627 MovieClip Frame 1
stop();
Symbol 627 MovieClip Frame 2
_root.c = _root.c + 2;
Symbol 627 MovieClip Frame 42
_root.checktile("right");
Symbol 627 MovieClip Frame 44
gotoAndStop (1);
Symbol 627 MovieClip Frame 49
_root.r = _root.r - 1;
_root.c = _root.c - 1;
Symbol 627 MovieClip Frame 89
_root.checktile("up");
Symbol 627 MovieClip Frame 91
gotoAndStop (1);
Symbol 653 MovieClip Frame 1
stop();
Symbol 653 MovieClip Frame 2
_root.r = _root.r + 1;
Symbol 653 MovieClip Frame 21
_root.checktile("down");
Symbol 653 MovieClip Frame 22
gotoAndStop (1);
Symbol 653 MovieClip Frame 23
_root.c = _root.c - 1;
Symbol 653 MovieClip Frame 42
_root.checktile("left");
Symbol 675 MovieClip Frame 1
stop();
Symbol 675 MovieClip Frame 2
_root.r = _root.r + 1;
_root.c = _root.c + 2;
Symbol 675 MovieClip Frame 98
_root.checktile("down");
Symbol 675 MovieClip Frame 99
gotoAndStop (1);
Symbol 675 MovieClip Frame 102
_root.r = _root.r + 1;
_root.c = _root.c - 2;
Symbol 675 MovieClip Frame 198
_root.checktile("down");
Symbol 675 MovieClip Frame 199
gotoAndStop (1);
Symbol 675 MovieClip Frame 200
from = _root.r add _root.c;
if (from == rightdrop) {
gotoAndPlay ("leftdrop");
}
if (from == leftdrop) {
gotoAndPlay ("rightdrop");
}
Symbol 687 MovieClip Frame 1
stop();
Symbol 687 MovieClip Frame 2
_root.r = _root.r - 2;
Symbol 687 MovieClip Frame 47
_root.checkTile("up");
Symbol 687 MovieClip Frame 63
gotoAndStop (1);
Symbol 687 MovieClip Frame 65
_root.r = _root.r + 2;
Symbol 687 MovieClip Frame 124
_root.checktile("down");
Symbol 687 MovieClip Frame 125
gotoAndStop (1);
Symbol 723 MovieClip Frame 1
stop();
Symbol 723 MovieClip Frame 2
_root.c = _root.c + 2;
Symbol 723 MovieClip Frame 55
_root.checktile("right");
Symbol 723 MovieClip Frame 57
gotoAndStop (1);
Symbol 723 MovieClip Frame 63
_root.r = _root.r - 1;
_root.c = _root.c - 1;
Symbol 723 MovieClip Frame 114
_root.checktile("up");
Symbol 723 MovieClip Frame 116
gotoAndStop (1);
Symbol 734 MovieClip Frame 1
stop();
Symbol 734 MovieClip Frame 2
_root.r = _root.r + 1;
Symbol 734 MovieClip Frame 30
_root.checktile("down");
Symbol 734 MovieClip Frame 31
gotoAndStop (1);
Symbol 734 MovieClip Frame 32
_root.c = _root.c - 1;
Symbol 734 MovieClip Frame 59
_root.checktile("left");
Symbol 734 MovieClip Frame 60
stop();
Symbol 754 MovieClip Frame 1
stop();
Symbol 754 MovieClip Frame 37
((_root.replay_go != true) ? (_root.scorer(_root.TEMPscore)) : ((f = f)));
_root.TEMPscore = 0;
if (_root.num == _root.totalLevels) {
_root.instructions.gotoAndStop(9);
_root.menu.gotoAndStop(6);
} else {
_root.menu.gotoAndStop(3);
}
_root.flyFX = false;
stop();
Symbol 762 MovieClip Frame 1
stop();
Symbol 762 MovieClip Frame 2
play();
Symbol 762 MovieClip Frame 24
gotoAndPlay (6);
Symbol 763 MovieClip Frame 1
stop();
Symbol 763 MovieClip Frame 2
_root.c = _root.c + 1;
Symbol 763 MovieClip Frame 6
_root.checktile("right");
Symbol 763 MovieClip Frame 7
stop();
Symbol 763 MovieClip Frame 8
_root.c = _root.c - 1;
Symbol 763 MovieClip Frame 12
_root.checktile("left");
Symbol 763 MovieClip Frame 13
stop();
Symbol 763 MovieClip Frame 14
_root.r = _root.r + 1;
Symbol 763 MovieClip Frame 18
_root.checktile("down");
Symbol 763 MovieClip Frame 19
stop();
Symbol 763 MovieClip Frame 20
_root.r = _root.r - 1;
Symbol 763 MovieClip Frame 24
_root.checktile("up");
Symbol 763 MovieClip Frame 25
stop();
Symbol 769 MovieClip Frame 1
stop();
Symbol 771 MovieClip Frame 1
stop();
Symbol 771 MovieClip Frame 2
_root.r = _root.r + 1;
Symbol 771 MovieClip Frame 30
_root.checktile("down");
Symbol 771 MovieClip Frame 32
stop();
Symbol 771 MovieClip Frame 34
_root.c = _root.c - 1;
Symbol 771 MovieClip Frame 62
_root.checktile("left");
Symbol 771 MovieClip Frame 65
stop();
Symbol 781 MovieClip Frame 1
stop();
Symbol 781 MovieClip Frame 2
_root.c = _root.c - 1;
Symbol 781 MovieClip Frame 30
_root.checktile("left");
Symbol 781 MovieClip Frame 32
gotoAndStop (1);
Symbol 781 MovieClip Frame 34
_root.r = _root.r + 1;
Symbol 781 MovieClip Frame 60
_root.checktile("down");
Symbol 781 MovieClip Frame 62
gotoAndStop (1);
Symbol 791 Button
on (release) {
if (_root.num < 1) {
_root.num++;
_root.level(_root.num);
_root.helper._alpha = 100;
_root.menu.gotoAndStop(1);
gotoAndStop (1);
} else {
gotoAndStop (1);
_root.menu.gotoAndStop(3);
}
}
Symbol 796 Button
on (release) {
nextFrame();
}
Symbol 806 Button
on (release) {
prevFrame();
}
Symbol 819 Button
on (release) {
if (_root.num < 1) {
_root.num++;
_root.level(_root.num);
_root.helper._alpha = 100;
_root.menu.gotoAndStop(1);
gotoAndStop (1);
} else {
gotoAndStop (1);
_root.menu.gotoAndStop(3);
}
}
Symbol 826 Button
on (release) {
_root.menu.gotoAndStop(1);
gotoAndStop (1);
}
Symbol 836 Button
on (release) {
_root.bowl.gotoAndStop(1);
_root.theme.gotoAndStop(1);
_root.over = true;
_root.num = 0;
_root.menu.gotoAndStop(5);
_root.resetCounter();
_root.scorer(-_root.menu.score);
_root.menu.roundscore = 0;
_root.gotoAndStop("game");
_parent.gotoAndStop(2);
}
Symbol 837 MovieClip Frame 20
stop();
Symbol 843 Button
on (release) {
_root.bowl.gotoAndStop(1);
_root.theme.gotoAndStop(1);
_root.menu.roundscore = 0;
_root.scorer(-_root.menu.score);
_root.over = true;
_root.num = 0;
_root.menu.gotoAndStop(5);
_root.resetCounter();
_root.gotoAndStop("game");
_root.menu.roundscore = 0;
_root.menu.round = 0;
_parent.gotoAndStop(2);
_root.myGameObject.LaunchOrbitPopup();
}
Symbol 844 Button
on (release) {
_root.replay();
_parent.gotoAndStop(1);
}
Symbol 845 MovieClip Frame 20
stop();
Symbol 846 MovieClip Frame 1
stop();
Symbol 846 MovieClip Frame 9
_root.completed = true;