Frame 1
stop();
_root.WPI_ArcadeStartSingleGame = function () {
trace("WPI_ArcadeStartSingleGame called - the current game has started");
};
_root.WPI_ArcadeStopSingleGame = function (score) {
trace("WPI_ArcadeStopSingleGame called - the current game has finished with score: " + score);
};
var menu = new ContextMenu();
menu.builtInItems.play = false;
menu.builtInItems.quality = true;
menu.builtInItems.forward_back = false;
menu.builtInItems.rewind = false;
menu.builtInItems.zoom = false;
menu.builtInItems.print = false;
menu.builtInItems.loop = false;
this.menu = menu;
Frame 2
stop();
myLoop.stop();
myLoop = new Sound();
myLoop.attachSound("ww_clip2");
myLoop.start(0, 1);
Frame 3
stop();
myLoop.stop();
myLoop = new Sound();
myLoop.attachSound("ww_clip1");
myLoop.start(0, 999);
bblocky.gotoAndStop(1);
rblocky.gotoAndStop(1);
pblocky.gotoAndStop(1);
gblocky.gotoAndStop(1);
var moved = false;
var gblockymoved = false;
var roundcont = false;
var currentxpos = 0;
var currentypos = 0;
var gpixcount = 0;
var enemytouch = false;
var noenemytesting = false;
var fromagate = false;
var moving = false;
var gbaxis = 1;
duplicateMovieClip (sidebara, "sidebar", 1200);
duplicateMovieClip (iggyy, "iggy", 1050);
duplicateMovieClip (uparrowa, "uparrow", 1151);
duplicateMovieClip (rightarrowa, "rightarrow", 1152);
duplicateMovieClip (downarrowa, "downarrow", 1153);
duplicateMovieClip (leftarrowa, "leftarrow", 1154);
iggy.gotoAndStop(1);
conveyup.gotoAndStop(1);
conveydown.gotoAndStop(1);
conveyleft.gotoAndStop(1);
conveyright.gotoAndStop(1);
i = 0;
while (i <= 48) {
duplicateMovieClip (square, ["square" + i], 1000 + i);
i++;
}
bigbordera._visible = false;
bigborderb._visible = false;
bigborderc._visible = false;
bigborderd._visible = false;
set4x4squares();
puzzlesetup();
setarrows();
onEnterFrame = function () {
if ((((iggy.hitTest(gblocky) && (gblocky._currentframe != 1)) or (iggy.hitTest(pblocky) && (pblocky._currentframe != 1))) or (iggy.hitTest(bblocky) && (bblocky._currentframe != 1))) or (iggy.hitTest(rblocky) && (rblocky._currentframe != 1))) {
if (((iggy._currentframe != 10) && (iggy._currentframe != 11)) && (noenemytesting == false)) {
removeMovieClip("gblocky");
removeMovieClip("pblocky");
removeMovieClip("rblocky");
removeMovieClip("bblocky");
timebonus = 0;
timerstop = true;
conveying = false;
conveyup.gotoAndStop(1);
conveydown.gotoAndStop(1);
conveyleft.gotoAndStop(1);
conveyright.gotoAndStop(1);
iggy.gotoAndStop(12);
enemytouch = true;
uparrow._x = -100;
uparrow._y = -100;
rightarrow._x = -100;
rightarrow._y = -100;
downarrow._x = -100;
downarrow._y = -100;
leftarrow._x = -100;
leftarrow._y = -100;
}
}
};
var timebonus = 3000;
var timerstop = false;
timer = setInterval(function () {
if (timerstop == false) {
timebonus = timebonus - 100;
}
if ((timebonus <= 0) or (timerstop == true)) {
clearInterval(timer);
if (timebonus < 0) {
timebonus = 0;
}
timerstop = false;
}
}, 1500);
if (rblockyvar != 0) {
duplicateMovieClip (rblockya, "rblocky", 1051);
if (rblockyvar == 100) {
rblockyvar = 0;
}
rblocky._x = this["square" + rblockyvar]._x + 10;
rblocky._y = this["square" + rblockyvar]._y + 10;
rblocky.play();
}
if (bblockyvar != 0) {
duplicateMovieClip (bblockya, "bblocky", 1052);
if (bblockyvar == 100) {
bblockyvar = 0;
}
bblocky._x = this["square" + bblockyvar]._x + 10;
bblocky._y = this["square" + bblockyvar]._y + 10;
bblocky.play();
}
if (pblockyvar != 0) {
duplicateMovieClip (pblockya, "pblocky", 1053);
if (pblockyvar == 100) {
pblockyvar = 0;
}
pblocky._x = this["square" + pblockyvar]._x + 10;
pblocky._y = this["square" + pblockyvar]._y + 10;
pblocky.play();
}
if (gblockyvar != 0) {
duplicateMovieClip (gblockya, "gblocky", 1054);
if (gblockyvar == 100) {
gblockyvar = 0;
}
gblocky._x = this["square" + gblockyvar]._x + 10;
gblocky._y = this["square" + gblockyvar]._y + 10;
gblockyfunction();
}
Frame 4
stop();
myLoop.stop();
myLoop = new Sound();
myLoop.attachSound("ww_clip1");
myLoop.start(0, 999);
bblocky.gotoAndStop(1);
rblocky.gotoAndStop(1);
pblocky.gotoAndStop(1);
gblocky.gotoAndStop(1);
var moved = false;
var gblockymoved = false;
var roundcont = false;
var currentxpos = 0;
var currentypos = 0;
var gpixcount = 0;
var enemytouch = false;
var noenemytesting = false;
var fromagate = false;
var moving = false;
var gbaxis = 1;
duplicateMovieClip (sidebara, "sidebar", 1200);
duplicateMovieClip (iggyy, "iggy", 1050);
duplicateMovieClip (uparrowa, "uparrow", 1151);
duplicateMovieClip (rightarrowa, "rightarrow", 1152);
duplicateMovieClip (downarrowa, "downarrow", 1153);
duplicateMovieClip (leftarrowa, "leftarrow", 1154);
iggy.gotoAndStop(1);
conveyup.gotoAndStop(1);
conveydown.gotoAndStop(1);
conveyleft.gotoAndStop(1);
conveyright.gotoAndStop(1);
i = 0;
while (i <= 48) {
duplicateMovieClip (square, ["square" + i], 1000 + i);
i++;
}
bigbordera._visible = false;
bigborderb._visible = false;
bigborderc._visible = false;
bigborderd._visible = false;
set5x5squares();
puzzlesetup();
setarrows();
onEnterFrame = function () {
if ((((iggy.hitTest(gblocky) && (gblocky._currentframe != 1)) or (iggy.hitTest(pblocky) && (pblocky._currentframe != 1))) or (iggy.hitTest(bblocky) && (bblocky._currentframe != 1))) or (iggy.hitTest(rblocky) && (rblocky._currentframe != 1))) {
if (((iggy._currentframe != 10) && (iggy._currentframe != 11)) && (noenemytesting == false)) {
removeMovieClip("gblocky");
removeMovieClip("pblocky");
removeMovieClip("rblocky");
removeMovieClip("bblocky");
timebonus = 0;
timerstop = true;
conveying = false;
conveyup.gotoAndStop(1);
conveydown.gotoAndStop(1);
conveyleft.gotoAndStop(1);
conveyright.gotoAndStop(1);
iggy.gotoAndStop(12);
enemytouch = true;
uparrow._x = -100;
uparrow._y = -100;
rightarrow._x = -100;
rightarrow._y = -100;
downarrow._x = -100;
downarrow._y = -100;
leftarrow._x = -100;
leftarrow._y = -100;
}
}
};
var timebonus = 3000;
var timerstop = false;
timer = setInterval(function () {
trace(timerstop);
if (timerstop == false) {
timebonus = timebonus - 100;
}
if ((timebonus <= 0) or (timerstop == true)) {
clearInterval(timer);
if (timebonus < 0) {
timebonus = 0;
}
timerstop = false;
}
}, 2000);
if (rblockyvar != 0) {
duplicateMovieClip (rblockya, "rblocky", 1051);
if (rblockyvar == 100) {
rblockyvar = 0;
}
rblocky._x = this["square" + rblockyvar]._x + 10;
rblocky._y = this["square" + rblockyvar]._y + 10;
rblocky.play();
}
if (bblockyvar != 0) {
duplicateMovieClip (bblockya, "bblocky", 1052);
if (bblockyvar == 100) {
bblockyvar = 0;
}
bblocky._x = this["square" + bblockyvar]._x + 10;
bblocky._y = this["square" + bblockyvar]._y + 10;
bblocky.play();
}
if (pblockyvar != 0) {
duplicateMovieClip (pblockya, "pblocky", 1053);
if (pblockyvar == 100) {
pblockyvar = 0;
}
pblocky._x = this["square" + pblockyvar]._x + 10;
pblocky._y = this["square" + pblockyvar]._y + 10;
pblocky.play();
}
if (gblockyvar != 0) {
duplicateMovieClip (gblockya, "gblocky", 1054);
if (gblockyvar == 100) {
gblockyvar = 0;
}
gblocky._x = this["square" + gblockyvar]._x + 10;
gblocky._y = this["square" + gblockyvar]._y + 10;
gblockyfunction();
}
Frame 5
stop();
myLoop.stop();
myLoop = new Sound();
myLoop.attachSound("ww_clip1");
myLoop.start(0, 999);
bblocky.gotoAndStop(1);
rblocky.gotoAndStop(1);
pblocky.gotoAndStop(1);
gblocky.gotoAndStop(1);
var moved = false;
var gblockymoved = false;
var roundcont = false;
var currentxpos = 0;
var currentypos = 0;
var gpixcount = 0;
var enemytouch = false;
var noenemytesting = false;
var fromagate = false;
var moving = false;
var gbaxis = 1;
duplicateMovieClip (sidebara, "sidebar", 1200);
duplicateMovieClip (iggyy, "iggy", 1050);
duplicateMovieClip (uparrowa, "uparrow", 1151);
duplicateMovieClip (rightarrowa, "rightarrow", 1152);
duplicateMovieClip (downarrowa, "downarrow", 1153);
duplicateMovieClip (leftarrowa, "leftarrow", 1154);
iggy.gotoAndStop(1);
conveyup.gotoAndStop(1);
conveydown.gotoAndStop(1);
conveyleft.gotoAndStop(1);
conveyright.gotoAndStop(1);
i = 0;
while (i <= 48) {
duplicateMovieClip (square, ["square" + i], 1000 + i);
i++;
}
bigbordera._visible = false;
bigborderb._visible = false;
bigborderc._visible = false;
bigborderd._visible = false;
set6x6squares();
puzzlesetup();
setarrows();
onEnterFrame = function () {
if ((((iggy.hitTest(gblocky) && (gblocky._currentframe != 1)) or (iggy.hitTest(pblocky) && (pblocky._currentframe != 1))) or (iggy.hitTest(bblocky) && (bblocky._currentframe != 1))) or (iggy.hitTest(rblocky) && (rblocky._currentframe != 1))) {
if (((iggy._currentframe != 10) && (iggy._currentframe != 11)) && (noenemytesting == false)) {
removeMovieClip("gblocky");
removeMovieClip("pblocky");
removeMovieClip("rblocky");
removeMovieClip("bblocky");
timebonus = 0;
timerstop = true;
conveying = false;
conveyup.gotoAndStop(1);
conveydown.gotoAndStop(1);
conveyleft.gotoAndStop(1);
conveyright.gotoAndStop(1);
iggy.gotoAndStop(12);
enemytouch = true;
uparrow._x = -100;
uparrow._y = -100;
rightarrow._x = -100;
rightarrow._y = -100;
downarrow._x = -100;
downarrow._y = -100;
leftarrow._x = -100;
leftarrow._y = -100;
}
}
};
var timebonus = 3000;
var timerstop = false;
timer = setInterval(function () {
trace(timerstop);
if (timerstop == false) {
timebonus = timebonus - 100;
}
if ((timebonus <= 0) or (timerstop == true)) {
clearInterval(timer);
if (timebonus < 0) {
timebonus = 0;
}
timerstop = false;
}
}, 2500);
if (rblockyvar != 0) {
duplicateMovieClip (rblockya, "rblocky", 1051);
if (rblockyvar == 100) {
rblockyvar = 0;
}
rblocky._x = this["square" + rblockyvar]._x + 10;
rblocky._y = this["square" + rblockyvar]._y + 10;
rblocky.play();
}
if (bblockyvar != 0) {
duplicateMovieClip (bblockya, "bblocky", 1052);
if (bblockyvar == 100) {
bblockyvar = 0;
}
bblocky._x = this["square" + bblockyvar]._x + 10;
bblocky._y = this["square" + bblockyvar]._y + 10;
bblocky.play();
}
if (pblockyvar != 0) {
duplicateMovieClip (pblockya, "pblocky", 1053);
if (pblockyvar == 100) {
pblockyvar = 0;
}
pblocky._x = this["square" + pblockyvar]._x + 10;
pblocky._y = this["square" + pblockyvar]._y + 10;
pblocky.play();
}
if (gblockyvar != 0) {
duplicateMovieClip (gblockya, "gblocky", 1054);
if (gblockyvar == 100) {
gblockyvar = 0;
}
gblocky._x = this["square" + gblockyvar]._x + 10;
gblocky._y = this["square" + gblockyvar]._y + 10;
gblockyfunction();
}
Frame 6
stop();
myLoop.stop();
myLoop = new Sound();
myLoop.attachSound("ww_clip1");
myLoop.start(0, 999);
bblocky.gotoAndStop(1);
rblocky.gotoAndStop(1);
pblocky.gotoAndStop(1);
gblocky.gotoAndStop(1);
var moved = false;
var gblockymoved = false;
var roundcont = false;
var currentxpos = 0;
var currentypos = 0;
var gpixcount = 0;
var enemytouch = false;
var noenemytesting = false;
var fromagate = false;
var moving = false;
var gbaxis = 1;
duplicateMovieClip (sidebara, "sidebar", 1200);
duplicateMovieClip (iggyy, "iggy", 1050);
duplicateMovieClip (uparrowa, "uparrow", 1151);
duplicateMovieClip (rightarrowa, "rightarrow", 1152);
duplicateMovieClip (downarrowa, "downarrow", 1153);
duplicateMovieClip (leftarrowa, "leftarrow", 1154);
iggy.gotoAndStop(1);
conveyup.gotoAndStop(1);
conveydown.gotoAndStop(1);
conveyleft.gotoAndStop(1);
conveyright.gotoAndStop(1);
i = 0;
while (i <= 48) {
duplicateMovieClip (square, ["square" + i], 1000 + i);
i++;
}
bigbordera._visible = false;
bigborderb._visible = false;
bigborderc._visible = false;
bigborderd._visible = false;
set7x7squares();
puzzlesetup();
setarrows();
onEnterFrame = function () {
if ((((iggy.hitTest(gblocky) && (gblocky._currentframe != 1)) or (iggy.hitTest(pblocky) && (pblocky._currentframe != 1))) or (iggy.hitTest(bblocky) && (bblocky._currentframe != 1))) or (iggy.hitTest(rblocky) && (rblocky._currentframe != 1))) {
if (((iggy._currentframe != 10) && (iggy._currentframe != 11)) && (noenemytesting == false)) {
removeMovieClip("gblocky");
removeMovieClip("pblocky");
removeMovieClip("rblocky");
removeMovieClip("bblocky");
timebonus = 0;
timerstop = true;
conveying = false;
conveyup.gotoAndStop(1);
conveydown.gotoAndStop(1);
conveyleft.gotoAndStop(1);
conveyright.gotoAndStop(1);
iggy.gotoAndStop(12);
enemytouch = true;
uparrow._x = -100;
uparrow._y = -100;
rightarrow._x = -100;
rightarrow._y = -100;
downarrow._x = -100;
downarrow._y = -100;
leftarrow._x = -100;
leftarrow._y = -100;
}
}
};
var timebonus = 3000;
var timerstop = false;
timer = setInterval(function () {
trace(timerstop);
if (timerstop == false) {
timebonus = timebonus - 100;
}
if ((timebonus <= 0) or (timerstop == true)) {
clearInterval(timer);
if (timebonus < 0) {
timebonus = 0;
}
timerstop = false;
}
}, 3000);
if (rblockyvar != 0) {
duplicateMovieClip (rblockya, "rblocky", 1051);
if (rblockyvar == 100) {
rblockyvar = 0;
}
rblocky._x = this["square" + rblockyvar]._x + 10;
rblocky._y = this["square" + rblockyvar]._y + 10;
rblocky.play();
}
if (bblockyvar != 0) {
duplicateMovieClip (bblockya, "bblocky", 1052);
if (bblockyvar == 100) {
bblockyvar = 0;
}
bblocky._x = this["square" + bblockyvar]._x + 10;
bblocky._y = this["square" + bblockyvar]._y + 10;
bblocky.play();
}
if (pblockyvar != 0) {
duplicateMovieClip (pblockya, "pblocky", 1053);
if (pblockyvar == 100) {
pblockyvar = 0;
}
pblocky._x = this["square" + pblockyvar]._x + 10;
pblocky._y = this["square" + pblockyvar]._y + 10;
pblocky.play();
}
if (gblockyvar != 0) {
duplicateMovieClip (gblockya, "gblocky", 1054);
if (gblockyvar == 100) {
gblockyvar = 0;
}
trace(gblockyvar);
gblocky._x = this["square" + gblockyvar]._x + 10;
gblocky._y = this["square" + gblockyvar]._y + 10;
gblockyfunction();
}
Frame 7
stop();
myLoop.stop();
myLoop = new Sound();
myLoop.attachSound("ww_clip1");
myLoop.start(0, 999);
bblocky.gotoAndStop(1);
rblocky.gotoAndStop(1);
pblocky.gotoAndStop(1);
gblocky.gotoAndStop(1);
var moved = false;
var ebosssameframe = false;
var gblockymoved = false;
var roundcont = false;
var currentxpos = 0;
var currentypos = 0;
var gpixcount = 0;
var enemytouch = false;
var noenemytesting = false;
var fromagate = false;
var moving = false;
var gbaxis = 1;
var ebossturn = 1;
var gbossturn = 1;
var gbossturn3 = false;
duplicateMovieClip (sidebara, "sidebar", 1200);
duplicateMovieClip (iggyy, "iggy", 1050);
duplicateMovieClip (uparrowa, "uparrow", 1151);
duplicateMovieClip (rightarrowa, "rightarrow", 1152);
duplicateMovieClip (downarrowa, "downarrow", 1153);
duplicateMovieClip (leftarrowa, "leftarrow", 1154);
iggy.gotoAndStop(1);
conveyup.gotoAndStop(1);
conveydown.gotoAndStop(1);
conveyleft.gotoAndStop(1);
conveyright.gotoAndStop(1);
i = 0;
while (i <= 48) {
duplicateMovieClip (square, ["square" + i], 1000 + i);
i++;
}
bigbordera._visible = false;
bigborderb._visible = false;
bigborderc._visible = false;
bigborderd._visible = false;
set7x7squares();
puzzlesetup();
setarrows();
onEnterFrame = function () {
if ((((((((((((((iggy.hitTest(gblocky) && (gblocky._currentframe != 1)) or (iggy.hitTest(pblocky) && (pblocky._currentframe != 1))) or (iggy.hitTest(bblocky) && (bblocky._currentframe != 1))) or (iggy.hitTest(rblocky) && (rblocky._currentframe != 1))) or (iggy.hitTest(eboss) && (eboss._currentframe != 1))) or (iggy.hitTest(fboss) && (fboss._currentframe != 1))) or (iggy.hitTest(fireball1) && (fireball1._currentframe != 1))) or (iggy.hitTest(fireball2) && (fireball2._currentframe != 1))) or (iggy.hitTest(fireball3) && (fireball3._currentframe != 1))) or iggy.hitTest(kboss)) or (iggy.hitTest(rboss) && (rboss._currentframe != 1))) or (iggy.hitTest(gboss) && (gboss._currentframe != 1))) or (iggy.hitTest(flower1) && (flower1._currentframe != 1))) or (iggy.hitTest(flower2) && (flower2._currentframe != 1))) {
if (((iggy._currentframe != 10) && (iggy._currentframe != 11)) && (noenemytesting == false)) {
removeMovieClip("gblocky");
removeMovieClip("pblocky");
removeMovieClip("rblocky");
removeMovieClip("bblocky");
removeMovieClip("eboss");
removeMovieClip("fboss");
removeMovieClip("gboss");
removeMovieClip("flower1");
removeMovieClip("flower2");
removeMovieClip("fireball1");
removeMovieClip("fireball2");
removeMovieClip("fireball3");
timebonus = 0;
timerstop = true;
conveying = false;
conveyup.gotoAndStop(1);
conveydown.gotoAndStop(1);
conveyleft.gotoAndStop(1);
conveyright.gotoAndStop(1);
iggy.gotoAndStop(12);
enemytouch = true;
uparrow._x = -100;
uparrow._y = -100;
rightarrow._x = -100;
rightarrow._y = -100;
downarrow._x = -100;
downarrow._y = -100;
leftarrow._x = -100;
leftarrow._y = -100;
}
}
};
var timebonus = 3000;
var timerstop = false;
timer = setInterval(function () {
trace(timerstop);
if (timerstop == false) {
timebonus = timebonus - 100;
}
if ((timebonus <= 0) or (timerstop == true)) {
clearInterval(timer);
if (timebonus < 0) {
timebonus = 0;
}
timerstop = false;
}
}, 3500);
if (rblockyvar != 0) {
duplicateMovieClip (rblockya, "rblocky", 1051);
if (rblockyvar == 100) {
rblockyvar = 0;
}
rblocky._x = this["square" + rblockyvar]._x + 10;
rblocky._y = this["square" + rblockyvar]._y + 10;
rblocky.play();
}
if (bblockyvar != 0) {
duplicateMovieClip (bblockya, "bblocky", 1052);
if (bblockyvar == 100) {
bblockyvar = 0;
}
bblocky._x = this["square" + bblockyvar]._x + 10;
bblocky._y = this["square" + bblockyvar]._y + 10;
bblocky.play();
}
if (pblockyvar != 0) {
duplicateMovieClip (pblockya, "pblocky", 1053);
if (pblockyvar == 100) {
pblockyvar = 0;
}
pblocky._x = this["square" + pblockyvar]._x + 10;
pblocky._y = this["square" + pblockyvar]._y + 10;
pblocky.play();
}
if (gblockyvar != 0) {
duplicateMovieClip (gblockya, "gblocky", 1054);
if (gblockyvar == 100) {
gblockyvar = 0;
}
gblocky._x = this["square" + gblockyvar]._x + 10;
gblocky._y = this["square" + gblockyvar]._y + 10;
gblockyfunction();
}
if (ebossvar == true) {
duplicateMovieClip (ebossa, "eboss", 1055);
ebossvar = false;
eboss._x = square0._x + 10;
eboss._y = square0._y + 10;
ebossfunction();
}
if (fbossvar == true) {
duplicateMovieClip (fbossa, "fboss", 1056);
duplicateMovieClip (fireballa, "fireball1", 1057);
duplicateMovieClip (fireballb, "fireball2", 1058);
duplicateMovieClip (fireballc, "fireball3", 1059);
fboss._x = square0._x + 10;
fboss._y = square0._y + 10;
fbossstarted = true;
}
if (kbossvar == true) {
duplicateMovieClip (kbossa, "kboss", 1060);
kboss._x = square7._x + 10;
kboss._y = square7._y + 10;
}
if (gbossvar == true) {
duplicateMovieClip (gbossa, "gboss", 1061);
duplicateMovieClip (flowera, "flower1", 1062);
duplicateMovieClip (flowerb, "flower2", 1063);
duplicateMovieClip (flowerc, "flower3", 1064);
gboss._x = square0._x + 10;
gboss._y = square0._y + 10;
gbossfunction();
}
if (rbossvar == true) {
duplicateMovieClip (rbossa, "rboss", 1065);
rboss.gotoAndStop(2);
trace("rboss " + rboss._currentframe);
}
Frame 8
stop();
myLoop.stop();
myLoop = new Sound();
myLoop.attachSound("ww_clip2");
myLoop.start(0, 1);
ebossvar = false;
fbossvar = false;
gbossvar = false;
rbossvar = false;
kbossvar = false;
if ((puzzid > 0) && (puzzid <= 40)) {
lscore = 1000;
} else if ((puzzid > 40) && (puzzid <= 80)) {
lscore = 1250;
} else if ((puzzid > 80) && (puzzid <= 120)) {
lscore = 1500;
} else if ((puzzid > 120) && (puzzid <= 160)) {
lscore = 1750;
} else if ((puzzid > 160) && (puzzid <= 200)) {
lscore = 2000;
}
mbonus = movelimit * 250;
if (mbonus > 1000) {
mbonus = 1000;
}
finalbonus = (lscore + timebonus) + mbonus;
cscore = score;
score = score + finalbonus;
Frame 9
stop();
myLoop.stop();
lives--;
Frame 10
stop();
myLoop.stop();
_root.WPI_ArcadeStopSingleGame(score);
Frame 11
stop();
_root.WPI_ArcadeStopSingleGame(score);
myLoop.stop();
myLoop = new Sound();
myLoop.attachSound("ww_clip2");
myLoop.start(0, 1);
Frame 12
stop();
myLoop = new Sound();
Frame 13
stop();
myLoop = new Sound();
Frame 14
stop();
myLoop = new Sound();
Frame 15
stop();
myLoop.stop();
puzznum++;
Frame 16
stop();
myLoop.stop();
myLoop = new Sound();
myLoop.attachSound("ww_clip3");
myLoop.start(0, 999);
Symbol 12 MovieClip Frame 17
gotoAndPlay (15);
Symbol 13 Button
on (release) {
getURL ("http://www.wiggiworld.com", "_blank");
}
Symbol 22 MovieClip Frame 15
stop();
Symbol 24 Button
on (release) {
_parent.play();
}
Symbol 38 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
bl = _root.getBytesLoaded();
bt = _root.getBytesTotal();
perc = (bl / bt) * 100;
bar.bar._xscale = perc;
if (perc >= 100) {
this.gotoAndPlay("goplay");
delete this.onEnterFrame;
}
};
Symbol 38 MovieClip Frame 25
stop();
Symbol 49 Button
on (release) {
function deletemcs() {
trace("told2delete");
trace(gboss._currentframe);
iggcurrentframe = iggy._currentframe;
removeMovieClip("iggy");
removeMovieClip("uparrow");
removeMovieClip("rightarrow");
removeMovieClip("downarrow");
removeMovieClip("leftarrow");
removeMovieClip("rblocky");
removeMovieClip("bblocky");
removeMovieClip("pblocky");
removeMovieClip("gblocky");
removeMovieClip("eboss");
removeMovieClip("fboss");
removeMovieClip("gboss");
removeMovieClip("rboss");
removeMovieClip("kboss");
removeMovieClip("fireball1");
removeMovieClip("fireball2");
removeMovieClip("fireball3");
removeMovieClip("flower1");
removeMovieClip("flower2");
removeMovieClip("sidebar");
i = 0;
while (i <= 48) {
removeMovieClip(this["square" + i]);
i++;
}
if (iggcurrentframe == 13) {
gotoAndPlay ("score");
} else if ((iggcurrentframe == 9) or (iggcurrentframe == 12)) {
if (lives > 1) {
gotoAndPlay ("loselevel");
} else if (lives <= 1) {
gotoAndPlay ("gameover");
}
}
}
function iggmovetest() {
if (((iggy._currentframe >= 1) && (iggy._currentframe <= 4)) && (conveying == false)) {
setarrows();
}
}
function set4x4squares() {
i = 0;
while (i <= 24) {
if (((((((((i != 4) && (i != 5)) && (i != 6)) && (i != 11)) && (i != 12)) && (i != 13)) && (i != 18)) && (i != 19)) && (i != 20)) {
if ((i >= 0) && (i <= 3)) {
currentypos = 140;
} else if ((i >= 7) && (i <= 10)) {
currentypos = 220;
} else if ((i >= 14) && (i <= 17)) {
currentypos = 300;
} else if ((i >= 21) && (i <= 24)) {
currentypos = 380;
}
if ((((i == 0) or (i == 7)) or (i == 14)) or (i == 21)) {
currentxpos = 140;
} else if ((((i == 1) or (i == 8)) or (i == 15)) or (i == 22)) {
currentxpos = 220;
} else if ((((i == 2) or (i == 9)) or (i == 16)) or (i == 23)) {
currentxpos = 300;
} else if ((((i == 3) or (i == 10)) or (i == 17)) or (i == 24)) {
currentxpos = 380;
}
this["square" + i]._x = currentxpos;
this["square" + i]._y = currentypos;
}
i++;
}
iggy._x = square24._x + 5;
iggy._y = square24._y + 2.5;
}
function set5x5squares() {
i = 0;
while (i <= 32) {
if ((((((((i != 5) && (i != 6)) && (i != 12)) && (i != 13)) && (i != 19)) && (i != 20)) && (i != 26)) && (i != 27)) {
if ((i >= 0) && (i <= 4)) {
currentypos = 100;
} else if ((i >= 7) && (i <= 11)) {
currentypos = 180;
} else if ((i >= 14) && (i <= 18)) {
currentypos = 260;
} else if ((i >= 21) && (i <= 25)) {
currentypos = 340;
} else if ((i >= 28) && (i <= 32)) {
currentypos = 420;
}
if (((((i == 0) or (i == 7)) or (i == 14)) or (i == 21)) or (i == 28)) {
currentxpos = 100;
} else if (((((i == 1) or (i == 8)) or (i == 15)) or (i == 22)) or (i == 29)) {
currentxpos = 180;
} else if (((((i == 2) or (i == 9)) or (i == 16)) or (i == 23)) or (i == 30)) {
currentxpos = 260;
} else if (((((i == 3) or (i == 10)) or (i == 17)) or (i == 24)) or (i == 31)) {
currentxpos = 340;
} else if (((((i == 4) or (i == 11)) or (i == 18)) or (i == 25)) or (i == 32)) {
currentxpos = 420;
}
trace(currentxpos);
trace(currentypos);
this["square" + i]._x = currentxpos;
this["square" + i]._y = currentypos;
}
i++;
}
iggy._x = square32._x + 5;
iggy._y = square32._y + 2.5;
}
function set6x6squares() {
i = 0;
while (i <= 40) {
if (((((i != 6) && (i != 13)) && (i != 20)) && (i != 27)) && (i != 34)) {
if ((i >= 0) && (i <= 5)) {
currentypos = 60;
} else if ((i >= 7) && (i <= 12)) {
currentypos = 140;
} else if ((i >= 14) && (i <= 19)) {
currentypos = 220;
} else if ((i >= 21) && (i <= 26)) {
currentypos = 300;
} else if ((i >= 28) && (i <= 33)) {
currentypos = 380;
} else if ((i >= 35) && (i <= 40)) {
currentypos = 460;
}
if ((((((i == 0) or (i == 7)) or (i == 14)) or (i == 21)) or (i == 28)) or (i == 35)) {
currentxpos = 60;
} else if ((((((i == 1) or (i == 8)) or (i == 15)) or (i == 22)) or (i == 29)) or (i == 36)) {
currentxpos = 140;
} else if ((((((i == 2) or (i == 9)) or (i == 16)) or (i == 23)) or (i == 30)) or (i == 37)) {
currentxpos = 220;
} else if ((((((i == 3) or (i == 10)) or (i == 17)) or (i == 24)) or (i == 31)) or (i == 38)) {
currentxpos = 300;
} else if ((((((i == 4) or (i == 11)) or (i == 18)) or (i == 25)) or (i == 32)) or (i == 39)) {
currentxpos = 380;
} else if ((((((i == 5) or (i == 12)) or (i == 19)) or (i == 26)) or (i == 33)) or (i == 40)) {
currentxpos = 460;
}
this["square" + i]._x = currentxpos;
this["square" + i]._y = currentypos;
}
i++;
}
iggy._x = square40._x + 5;
iggy._y = square40._y + 2.5;
}
function set7x7squares() {
i = 0;
while (i <= 48) {
if ((i >= 0) && (i <= 6)) {
currentypos = 20;
} else if ((i >= 7) && (i <= 13)) {
currentypos = 100;
} else if ((i >= 14) && (i <= 20)) {
currentypos = 180;
} else if ((i >= 21) && (i <= 27)) {
currentypos = 260;
} else if ((i >= 28) && (i <= 34)) {
currentypos = 340;
} else if ((i >= 35) && (i <= 41)) {
currentypos = 420;
} else if ((i >= 42) && (i <= 48)) {
currentypos = 500;
}
if (((((((i == 0) or (i == 7)) or (i == 14)) or (i == 21)) or (i == 28)) or (i == 35)) or (i == 42)) {
currentxpos = 20;
} else if (((((((i == 1) or (i == 8)) or (i == 15)) or (i == 22)) or (i == 29)) or (i == 36)) or (i == 43)) {
currentxpos = 100;
} else if (((((((i == 2) or (i == 9)) or (i == 16)) or (i == 23)) or (i == 30)) or (i == 37)) or (i == 44)) {
currentxpos = 180;
} else if (((((((i == 3) or (i == 10)) or (i == 17)) or (i == 24)) or (i == 31)) or (i == 38)) or (i == 45)) {
currentxpos = 260;
} else if (((((((i == 4) or (i == 11)) or (i == 18)) or (i == 25)) or (i == 32)) or (i == 39)) or (i == 46)) {
currentxpos = 340;
} else if (((((((i == 5) or (i == 12)) or (i == 19)) or (i == 26)) or (i == 33)) or (i == 40)) or (i == 47)) {
currentxpos = 420;
} else if (((((((i == 6) or (i == 13)) or (i == 20)) or (i == 27)) or (i == 34)) or (i == 41)) or (i == 48)) {
currentxpos = 500;
}
this["square" + i]._x = currentxpos;
this["square" + i]._y = currentypos;
i++;
}
iggy._x = square48._x + 5;
iggy._y = square48._y + 2.5;
}
function gblockyfunction() {
if ((iggy._x - 5) > (gblocky._x - 10)) {
if (gblocky._currentframe != 3) {
gblocky.gotoAndStop(3);
} else {
gblocky.gblockyright.play();
}
} else if ((iggy._x - 5) < (gblocky._x - 10)) {
if (gblocky._currentframe != 5) {
gblocky.gotoAndStop(5);
} else {
gblocky.gblockyleft.play();
}
} else if ((iggy._x - 5) == (gblocky._x - 10)) {
if ((iggy._y - 2.5) > (gblocky._y - 10)) {
if (gblocky._currentframe != 4) {
gblocky.gotoAndStop(4);
} else {
gblocky.gblockydown.play();
}
} else if ((iggy._y - 2.5) < (gblocky._y - 10)) {
if (gblocky._currentframe != 2) {
gblocky.gotoAndStop(2);
} else {
gblocky.gblockyup.play();
}
} else {
gblocky._x = -100;
gblocky._y = -100;
gblocky.gotoAndStop(1);
}
}
}
function gblockyfunction2() {
trace((iggy._y - 2.5) + "!");
trace((gblocky._y - 10) + "!");
if ((iggy._y - 2.5) > (gblocky._y - 10)) {
if (gblocky._currentframe != 4) {
gblocky.gotoAndStop(4);
} else {
gblocky.gblockydown.play();
}
} else if ((iggy._y - 2.5) < (gblocky._y - 10)) {
if (gblocky._currentframe != 2) {
gblocky.gotoAndStop(2);
} else {
gblocky.gblockyup.play();
}
} else if ((iggy._y - 2.5) == (gblocky._y - 10)) {
if ((iggy._x - 5) > (gblocky._x - 10)) {
if (gblocky._currentframe != 3) {
gblocky.gotoAndStop(3);
} else {
gblocky.gblockyright.play();
}
} else if ((iggy._x - 5) < (gblocky._x - 10)) {
if (gblocky._currentframe != 5) {
gblocky.gotoAndStop(5);
} else {
gblocky.gblockyleft.play();
}
} else {
gblocky._x = -100;
gblocky._y = -100;
gblocky.gotoAndStop(1);
}
}
}
function ebossfunction() {
if (ebossturn == 1) {
if ((iggy._x - 5) > (eboss._x - 10)) {
if (eboss._currentframe != 3) {
ebosssameframe = false;
eboss.gotoAndStop(3);
} else {
ebosssameframe = true;
}
} else if ((iggy._x - 5) < (eboss._x - 10)) {
if (eboss._currentframe != 5) {
ebosssameframe = false;
eboss.gotoAndStop(5);
} else {
ebosssameframe = true;
}
} else if ((iggy._x - 5) == (eboss._x - 10)) {
if ((iggy._y - 2.5) > (eboss._y - 10)) {
if (eboss._currentframe != 4) {
ebosssameframe = false;
eboss.gotoAndStop(4);
} else {
ebosssameframe = true;
}
} else if ((iggy._y - 2.5) < (eboss._y - 10)) {
if (eboss._currentframe != 2) {
ebosssameframe = false;
eboss.gotoAndStop(2);
} else {
ebosssameframe = true;
}
} else {
eboss._x = -100;
eboss._y = -100;
eboss.gotoAndStop(1);
}
}
} else if (ebossturn == 2) {
if ((iggy._y - 2.5) > (eboss._y - 10)) {
if (eboss._currentframe != 4) {
ebosssameframe = false;
eboss.gotoAndStop(4);
} else {
ebosssameframe = true;
}
} else if ((iggy._y - 2.5) < (eboss._y - 10)) {
if (eboss._currentframe != 2) {
ebosssameframe = false;
eboss.gotoAndStop(2);
} else {
ebosssameframe = true;
}
} else if ((iggy._y - 2.5) == (eboss._y - 10)) {
if ((iggy._x - 5) > (eboss._x - 10)) {
if (eboss._currentframe != 3) {
ebosssameframe = false;
eboss.gotoAndStop(3);
} else {
ebosssameframe = true;
}
} else if ((iggy._x - 5) < (eboss._x - 10)) {
if (eboss._currentframe != 5) {
ebosssameframe = false;
eboss.gotoAndStop(5);
} else {
ebosssameframe = true;
}
} else {
eboss._x = -100;
eboss._y = -100;
eboss.gotoAndStop(1);
}
}
} else if (ebossturn == 3) {
eboss.gotoAndStop(6);
}
}
function fbossfunction() {
fboss.gotoAndPlay(2);
}
function gbossfunction() {
if (gbossturn == 1) {
if ((iggy._x - 5) > (gboss._x - 10)) {
if (gboss._currentframe != 3) {
gbosssameframe = false;
gboss.gotoAndStop(3);
} else {
gbosssameframe = true;
}
} else if ((iggy._x - 5) < (gboss._x - 10)) {
if (gboss._currentframe != 5) {
gbosssameframe = false;
gboss.gotoAndStop(5);
} else {
gbosssameframe = true;
}
} else if ((iggy._x - 5) == (gboss._x - 10)) {
if ((iggy._y - 2.5) > (gboss._y - 10)) {
if (gboss._currentframe != 4) {
gbosssameframe = false;
gboss.gotoAndStop(4);
} else {
gbosssameframe = true;
}
} else if ((iggy._y - 2.5) < (gboss._y - 10)) {
if (gboss._currentframe != 2) {
gbosssameframe = false;
gboss.gotoAndStop(2);
} else {
gbosssameframe = true;
}
} else {
gboss._x = -100;
gboss._y = -100;
gboss.gotoAndStop(1);
}
}
} else if (gbossturn == 2) {
if ((iggy._y - 2.5) > (gboss._y - 10)) {
if (gboss._currentframe != 4) {
gbosssameframe = false;
gboss.gotoAndStop(4);
} else {
gbosssameframe = true;
}
} else if ((iggy._y - 2.5) < (gboss._y - 10)) {
if (gboss._currentframe != 2) {
gbosssameframe = false;
gboss.gotoAndStop(2);
} else {
gbosssameframe = true;
}
} else if ((iggy._y - 2.5) == (gboss._y - 10)) {
if ((iggy._x - 5) > (gboss._x - 10)) {
if (gboss._currentframe != 3) {
gbosssameframe = false;
gboss.gotoAndStop(3);
} else {
gbosssameframe = true;
}
} else if ((iggy._x - 5) < (gboss._x - 10)) {
if (gboss._currentframe != 5) {
gbosssameframe = false;
gboss.gotoAndStop(5);
} else {
gbosssameframe = true;
}
} else {
gboss._x = -100;
gboss._y = -100;
gboss.gotoAndStop(1);
}
}
} else if (gbossturn == 3) {
gboss.gotoAndStop(6);
flower1._x = gboss._x - flower1._width;
flower1._y = gboss._y + 20;
flower1.play();
flower2._x = gboss._x + gboss._width;
flower2._y = gboss._y + 20;
flower2.play();
}
}
function setarrows() {
if (movelimit == 0) {
iggy.gotoAndStop(12);
} else if (enemytouch == false) {
uparrow._x = iggy._x + 25;
uparrow._y = iggy._y - 32.5;
downarrow._x = iggy._x + 25;
downarrow._y = iggy._y + 77.5;
rightarrow._y = iggy._y + 27.5;
rightarrow._x = iggy._x + 75;
leftarrow._x = iggy._x - 35;
leftarrow._y = iggy._y + 27.5;
if (uparrow.hitTest(bigbordera)) {
uparrow._x = -100;
uparrow._y = -100;
}
if (rightarrow.hitTest(bigborderb)) {
rightarrow._x = -100;
rightarrow._y = -100;
}
if (downarrow.hitTest(bigborderc)) {
downarrow._x = -100;
downarrow._y = -100;
}
if (leftarrow.hitTest(bigborderd)) {
leftarrow._x = -100;
leftarrow._y = -100;
}
i = 0;
while (i < 49) {
if ((this["square" + i]._currentframe == 10) or (this["square" + i]._currentframe == 12)) {
trace("squarei currentframe, squarei");
trace(this["square" + i]._currentframe);
trace(this["square" + i]);
if (this.uparrow.hitTest(this["square" + i])) {
uparrow._x = -100;
uparrow._y = -100;
}
if (this.downarrow.hitTest(this["square" + i])) {
downarrow._x = -100;
downarrow._y = -100;
}
if (this.rightarrow.hitTest(this["square" + i])) {
rightarrow._x = -100;
rightarrow._y = -100;
}
if (this.leftarrow.hitTest(this["square" + i])) {
leftarrow._x = -100;
leftarrow._y = -100;
}
}
i++;
}
}
}
function switcharrows() {
x = 0;
while (x < 49) {
checked = false;
if ((this["square" + x]._currentframe == 3) && (checked == false)) {
this["square" + x].gotoAndStop(5);
checked = true;
}
if ((this["square" + x]._currentframe == 5) && (checked == false)) {
this["square" + x].gotoAndStop(3);
checked = true;
}
if ((this["square" + x]._currentframe == 4) && (checked == false)) {
this["square" + x].gotoAndStop(6);
checked = true;
}
if ((this["square" + x]._currentframe == 6) && (checked == false)) {
this["square" + x].gotoAndStop(4);
checked = true;
}
x++;
}
}
function hittests() {
if (enemytouch == false) {
arrowsset = false;
i = 0;
while (i < 49) {
if (((iggy._x == (this["square" + i]._x + 5)) && (iggy._y == (this["square" + i]._y + 2.5))) && (enemytouch == false)) {
if (this["square" + i]._currentframe == 2) {
iggy.gotoAndStop(9);
seffect = new Sound();
seffect.attachSound("electric");
seffect.start(0, 1);
}
if (this["square" + i]._currentframe == 3) {
conveying = true;
if (iggy._currentframe != 1) {
iggy.gotoAndStop(1);
} else {
iggy.conveyup.play();
}
}
if (this["square" + i]._currentframe == 4) {
conveying = true;
if (iggy._currentframe != 2) {
iggy.gotoAndStop(2);
} else {
iggy.conveyright.play();
}
}
if (this["square" + i]._currentframe == 5) {
conveying = true;
if (iggy._currentframe != 3) {
iggy.gotoAndStop(3);
} else {
iggy.conveydown.play();
}
}
if (this["square" + i]._currentframe == 6) {
conveying = true;
if (iggy._currentframe != 4) {
iggy.gotoAndStop(4);
} else {
iggy.conveyleft.play();
}
}
if (this["square" + i]._currentframe == 7) {
iggy.gotoAndStop(10);
seffect = new Sound();
seffect.attachSound("warp");
seffect.start(0, 1);
}
if (this["square" + i]._currentframe == 9) {
iggy.gotoAndStop(13);
removeMovieClip(rblocky);
removeMovieClip(bblocky);
removeMovieClip(pblocky);
removeMovieClip(gblocky);
removeMovieClip(eboss);
removeMovieClip(fboss);
removeMovieClip(gboss);
removeMovieClip(rboss);
removeMovieClip(kboss);
removeMovieClip(flower1);
removeMovieClip(flower2);
removeMovieClip(fireball1);
removeMovieClip(fireball2);
removeMovieClip(fireball3);
}
if (this["square" + i]._currentframe == 11) {
this["square" + i].redkey.play();
seffect = new Sound();
seffect.attachSound("key");
seffect.start(0, 1);
setarrows();
}
if (this["square" + i]._currentframe == 13) {
seffect = new Sound();
seffect.attachSound("key");
seffect.start(0, 1);
this["square" + i].yellowkey.play();
setarrows();
}
if (this["square" + i]._currentframe == 14) {
seffect = new Sound();
seffect.attachSound("powerup");
seffect.start(0, 1);
score = score + 500;
this["square" + i].coin500.play();
setarrows();
}
if (this["square" + i]._currentframe == 15) {
seffect = new Sound();
seffect.attachSound("powerup");
seffect.start(0, 1);
timebonus = timebonus + 1000;
this["square" + i].clock.play();
setarrows();
}
if (this["square" + i]._currentframe == 16) {
seffect = new Sound();
seffect.attachSound("powerup");
seffect.start(0, 1);
lives++;
this["square" + i].coiniggy.play();
setarrows();
}
if (this["square" + i]._currentframe == 17) {
seffect = new Sound();
seffect.attachSound("powerup");
seffect.start(0, 1);
rblocky._x = -200;
rblocky._y = -200;
rblocky.gotoAndStop(1);
bblocky._x = -200;
bblocky._y = -200;
bblocky.gotoAndStop(1);
pblocky._x = -200;
pblocky._y = -200;
pblocky.gotoAndStop(1);
gblocky._x = -200;
gblocky._y = -200;
gblocky.gotoAndStop(1);
this["square" + i].antivirus.play();
setarrows();
}
if (this["square" + i]._currentframe == 18) {
if (this["square" + i].switchy._currentframe == 1) {
this["square" + i].switchy.gotoAndStop(3);
} else if (this["square" + i].switchy._currentframe == 2) {
this["square" + i].switchy.gotoAndStop(4);
}
}
if ((((this["square" + i]._currentframe == 1) or (this["square" + i]._currentframe == 8)) or (this["square" + i]._currentframe == 10)) or (this["square" + i]._currentframe == 12)) {
setarrows();
}
}
i++;
}
} else if (enemytouch == true) {
enemytouch = false;
iggy.gotoAndStop(12);
}
}
function toapuzzle() {
if (puzznum == 10) {
puzzid = 201;
gotoAndPlay (7);
} else if (puzznum == 20) {
puzzid = 202;
gotoAndPlay (7);
} else if (puzznum == 30) {
puzzid = 203;
gotoAndPlay (7);
} else if (puzznum == 40) {
puzzid = 204;
gotoAndPlay (7);
} else if (puzznum == 50) {
puzzid = 205;
gotoAndPlay (7);
}
if ((puzznum > 0) && (puzznum < 10)) {
randveasy = random(veasypuzzles.length);
puzzid = veasypuzzles[randveasy];
veasypuzzles.splice(randveasy, 1);
gotoAndStop (3);
} else if ((puzznum > 10) && (puzznum < 20)) {
randeasy = random(easypuzzles.length);
puzzid = easypuzzles[randeasy];
puzzid = puzzid + 40;
easypuzzles.splice(randeasy, 1);
gotoAndStop (4);
} else if ((puzznum > 20) && (puzznum < 30)) {
randnorm = random(normpuzzles.length);
puzzid = normpuzzles[randnorm];
puzzid = puzzid + 80;
normpuzzles.splice(randnorm, 1);
gotoAndStop (5);
} else if ((puzznum > 30) && (puzznum < 40)) {
randadv = random(veasypuzzles.length);
puzzid = advpuzzles[randadv];
puzzid = puzzid + 120;
advpuzzles.splice(randadv, 1);
gotoAndStop (6);
} else if ((puzznum > 40) && (puzznum < 50)) {
randhard = random(hardpuzzles.length);
puzzid = hardpuzzles[randhard];
puzzid = puzzid + 160;
hardpuzzles.splice(randhard, 1);
gotoAndStop (7);
}
}
function puzzlesetup() {
gblockyvar = 0;
if (puzzid == 1) {
setup = [9, 7, 1, 5, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 7, 3, 1, 8];
movelimit = 5;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 2) {
setup = [9, 1, 7, 2, 1, 1, 1, 2, 7, 2, 1, 1, 1, 1, 3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 8];
movelimit = 5;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 3) {
setup = [9, 14, 5, 2, 1, 1, 1, 2, 1, 6, 1, 1, 1, 1, 2, 3, 2, 1, 1, 1, 1, 1, 1, 3, 8];
movelimit = 5;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 4) {
setup = [9, 6, 5, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1, 3, 3, 1, 1, 1, 2, 3, 6, 8];
movelimit = 3;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 5) {
setup = [9, 4, 2, 2, 1, 1, 1, 1, 7, 2, 6, 1, 1, 1, 1, 1, 2, 7, 1, 1, 1, 1, 2, 14, 8];
movelimit = 4;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 6) {
setup = [9, 1, 2, 7, 1, 1, 1, 4, 15, 2, 1, 1, 1, 1, 1, 3, 2, 1, 1, 1, 1, 1, 7, 4, 8];
movelimit = 6;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 7) {
setup = [9, 2, 2, 7, 1, 1, 1, 3, 2, 2, 1, 1, 1, 1, 3, 1, 2, 1, 1, 1, 1, 2, 7, 2, 8];
movelimit = 5;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 8) {
setup = [9, 6, 2, 5, 1, 1, 1, 10, 16, 2, 1, 1, 1, 1, 1, 2, 2, 11, 1, 1, 1, 3, 6, 6, 8];
movelimit = 6;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 9) {
setup = [9, 1, 1, 6, 1, 1, 1, 2, 1, 1, 3, 1, 1, 1, 2, 1, 3, 1, 1, 1, 1, 3, 1, 2, 8];
movelimit = 4;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 10) {
setup = [9, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 4, 3, 1, 1, 1, 1, 1, 14, 6, 1, 8];
movelimit = 5;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 11) {
setup = [9, 2, 1, 1, 1, 1, 1, 1, 2, 1, 7, 1, 1, 1, 7, 2, 1, 2, 1, 1, 1, 2, 1, 1, 8];
movelimit = 6;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 12) {
setup = [9, 6, 5, 2, 1, 1, 1, 2, 1, 7, 2, 1, 1, 1, 2, 7, 3, 2, 1, 1, 1, 2, 1, 1, 8];
movelimit = 4;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 13) {
setup = [9, 7, 2, 6, 1, 1, 1, 4, 4, 3, 3, 1, 1, 1, 14, 7, 6, 2, 1, 1, 1, 1, 1, 6, 8];
movelimit = 5;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 14) {
setup = [9, 1, 4, 5, 1, 1, 1, 2, 3, 3, 5, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 4, 4, 3, 8];
movelimit = 4;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 15) {
setup = [9, 1, 6, 7, 1, 1, 1, 4, 1, 7, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 3, 8];
movelimit = 4;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 16) {
setup = [9, 1, 14, 7, 1, 1, 1, 1, 2, 2, 3, 1, 1, 1, 5, 2, 3, 6, 1, 1, 1, 4, 2, 7, 8];
movelimit = 4;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 17) {
setup = [9, 7, 2, 11, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 3, 3, 5, 3, 1, 1, 1, 7, 10, 1, 8];
movelimit = 8;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 18) {
setup = [9, 2, 6, 7, 1, 1, 1, 12, 1, 1, 2, 1, 1, 1, 1, 6, 2, 7, 1, 1, 1, 13, 3, 1, 8];
movelimit = 6;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 19) {
setup = [9, 6, 6, 2, 1, 1, 1, 2, 3, 2, 3, 1, 1, 1, 2, 14, 4, 3, 1, 1, 1, 2, 1, 1, 8];
movelimit = 4;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 20) {
setup = [9, 10, 1, 11, 1, 1, 1, 2, 1, 1, 12, 1, 1, 1, 4, 3, 4, 1, 1, 1, 1, 3, 13, 6, 8];
movelimit = 8;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 21) {
setup = [9, 2, 6, 1, 1, 1, 1, 3, 2, 6, 1, 1, 1, 1, 1, 1, 6, 1, 1, 1, 1, 1, 2, 6, 8];
rblockyvar = 22;
bblockyvar = 0;
pblockyvar = 0;
movelimit = 4;
}
if (puzzid == 22) {
setup = [9, 1, 6, 1, 1, 1, 1, 4, 4, 2, 7, 1, 1, 1, 3, 3, 3, 3, 1, 1, 1, 7, 1, 1, 8];
rblockyvar = 0;
bblockyvar = 7;
pblockyvar = 0;
movelimit = 6;
}
if (puzzid == 23) {
setup = [9, 10, 1, 2, 1, 1, 1, 2, 1, 6, 1, 1, 1, 1, 4, 1, 2, 3, 1, 1, 1, 11, 1, 6, 8];
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 21;
movelimit = 6;
}
if (puzzid == 24) {
setup = [9, 12, 5, 6, 1, 1, 1, 2, 1, 1, 7, 1, 1, 1, 2, 13, 2, 2, 1, 1, 1, 7, 6, 1, 8];
gblockyvar = 0;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
movelimit = 11;
}
if (puzzid == 25) {
setup = [9, 1, 2, 2, 1, 1, 1, 1, 2, 7, 14, 1, 1, 1, 1, 3, 2, 3, 1, 1, 1, 3, 1, 7, 8];
movelimit = 6;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 26) {
setup = [9, 10, 1, 5, 1, 1, 1, 12, 2, 7, 1, 1, 1, 1, 11, 7, 2, 13, 1, 1, 1, 3, 1, 1, 8];
movelimit = 7;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 27) {
setup = [9, 2, 1, 6, 1, 1, 1, 10, 5, 6, 11, 1, 1, 1, 1, 1, 2, 3, 1, 1, 1, 3, 4, 2, 8];
movelimit = 5;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 28) {
setup = [9, 14, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 8];
gblockyvar = 7;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
movelimit = 8;
}
if (puzzid == 29) {
setup = [9, 1, 1, 6, 1, 1, 1, 1, 15, 7, 6, 1, 1, 1, 1, 3, 1, 3, 1, 1, 1, 7, 1, 3, 8];
rblockyvar = 0;
bblockyvar = 100;
pblockyvar = 0;
movelimit = 4;
}
if (puzzid == 30) {
setup = [9, 10, 4, 7, 1, 1, 1, 2, 13, 1, 12, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 11, 7, 1, 8];
movelimit = 15;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 31) {
setup = [9, 2, 11, 1, 1, 1, 1, 12, 1, 2, 1, 1, 1, 1, 1, 13, 2, 1, 1, 1, 1, 3, 1, 10, 8];
movelimit = 14;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 32) {
setup = [9, 7, 1, 1, 1, 1, 1, 1, 5, 5, 1, 1, 1, 1, 1, 7, 1, 1, 1, 1, 1, 2, 2, 2, 8];
rblockyvar = 0;
bblockyvar = 14;
pblockyvar = 0;
movelimit = 4;
}
if (puzzid == 33) {
setup = [9, 2, 1, 13, 1, 1, 1, 12, 1, 2, 1, 1, 1, 1, 2, 15, 10, 11, 1, 1, 1, 2, 2, 2, 8];
rblockyvar = 21;
bblockyvar = 0;
pblockyvar = 0;
movelimit = 10;
}
if (puzzid == 34) {
setup = [9, 1, 5, 6, 1, 1, 1, 4, 3, 2, 3, 1, 1, 1, 3, 4, 3, 3, 1, 1, 1, 3, 6, 6, 8];
movelimit = 2;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 35) {
setup = [9, 1, 1, 7, 1, 1, 1, 5, 2, 6, 6, 1, 1, 1, 16, 3, 7, 3, 1, 1, 1, 16, 3, 14, 8];
movelimit = 5;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 36) {
setup = [9, 12, 2, 1, 1, 1, 1, 2, 10, 1, 1, 1, 1, 1, 11, 4, 1, 1, 1, 1, 1, 13, 1, 1, 8];
rblockyvar = 21;
bblockyvar = 0;
pblockyvar = 0;
movelimit = 9;
}
if (puzzid == 37) {
setup = [9, 5, 5, 5, 1, 1, 1, 3, 1, 2, 6, 1, 1, 1, 4, 1, 7, 1, 1, 1, 1, 7, 3, 3, 8];
movelimit = 4;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 38) {
setup = [9, 4, 4, 1, 1, 1, 1, 10, 12, 1, 1, 1, 1, 1, 5, 7, 1, 1, 1, 1, 1, 11, 13, 7, 8];
movelimit = 8;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 39) {
setup = [9, 1, 1, 2, 1, 1, 1, 1, 6, 2, 7, 1, 1, 1, 4, 1, 3, 3, 1, 1, 1, 1, 6, 7, 8];
movelimit = 5;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 40) {
setup = [9, 1, 1, 1, 1, 1, 1, 7, 3, 4, 7, 1, 1, 1, 1, 6, 5, 2, 1, 1, 1, 1, 1, 1, 8];
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 21;
movelimit = 7;
}
if (puzzid == 41) {
setup = [9, 1, 1, 1, 7, 1, 1, 2, 5, 6, 5, 14, 1, 1, 7, 5, 3, 5, 3, 1, 1, 3, 5, 3, 5, 3, 1, 1, 3, 6, 3, 6, 8];
movelimit = 6;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 42) {
setup = [9, 2, 1, 6, 1, 1, 1, 1, 2, 2, 1, 7, 1, 1, 1, 1, 2, 2, 3, 1, 1, 1, 4, 4, 11, 10, 1, 1, 7, 1, 1, 1, 8];
movelimit = 8;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 43) {
setup = [9, 2, 2, 2, 14, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 2, 1, 1, 1, 1, 1, 14, 1, 2, 1, 2, 1, 1, 1, 14, 2, 1, 8];
gblockyvar = 28;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
movelimit = 9;
}
if (puzzid == 44) {
setup = [9, 1, 1, 13, 7, 1, 1, 12, 3, 1, 1, 2, 1, 1, 7, 2, 1, 1, 1, 1, 1, 3, 6, 4, 1, 1, 1, 1, 1, 1, 2, 1, 8];
movelimit = 8;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 45) {
setup = [9, 4, 2, 2, 2, 1, 1, 7, 12, 1, 1, 2, 1, 1, 2, 7, 4, 13, 2, 1, 1, 2, 4, 3, 2, 11, 1, 1, 2, 3, 1, 10, 8];
movelimit = 10;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 46) {
setup = [9, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 7, 1, 1, 1, 2, 2, 2, 2, 1, 1, 3, 2, 13, 2, 7, 1, 1, 3, 12, 1, 6, 8];
movelimit = 7;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 47) {
setup = [9, 1, 1, 1, 1, 1, 1, 4, 1, 1, 3, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 5, 15, 3, 6, 1, 1, 3, 1, 3, 1, 8];
rblockyvar = 24;
bblockyvar = 8;
pblockyvar = 0;
movelimit = 9;
}
if (puzzid == 48) {
setup = [9, 1, 1, 1, 7, 1, 1, 5, 6, 6, 6, 6, 1, 1, 5, 5, 6, 2, 3, 1, 1, 5, 7, 3, 2, 3, 1, 1, 4, 4, 1, 2, 8];
movelimit = 6;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 49) {
setup = [9, 12, 1, 14, 1, 1, 1, 10, 2, 2, 2, 3, 1, 1, 1, 1, 13, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 11, 2, 1, 1, 8];
movelimit = 10;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 50) {
setup = [9, 2, 7, 1, 2, 1, 1, 1, 2, 11, 2, 1, 1, 1, 1, 1, 10, 7, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 8];
movelimit = 9;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 51) {
setup = [9, 2, 1, 1, 2, 1, 1, 5, 1, 2, 2, 2, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 4, 1, 4, 3, 1, 1, 18, 1, 1, 1, 8];
gblockyvar = 0;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
movelimit = 15;
}
if (puzzid == 52) {
setup = [9, 6, 6, 6, 1, 1, 1, 1, 3, 1, 3, 1, 1, 1, 1, 1, 3, 1, 3, 1, 1, 1, 3, 1, 6, 1, 1, 1, 3, 6, 6, 6, 8];
movelimit = 3;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 53) {
setup = [9, 14, 2, 1, 7, 1, 1, 3, 1, 2, 4, 13, 1, 1, 1, 3, 2, 1, 6, 1, 1, 1, 3, 2, 2, 1, 1, 1, 1, 3, 12, 7, 8];
movelimit = 7;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 54) {
setup = [9, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 7, 1, 1, 3, 6, 1, 1, 17, 1, 1, 7, 3, 6, 6, 8];
rblockyvar = 25;
bblockyvar = 21;
pblockyvar = 0;
movelimit = 1;
}
if (puzzid == 55) {
setup = [9, 10, 2, 5, 6, 1, 1, 12, 2, 2, 13, 2, 1, 1, 7, 1, 1, 1, 2, 1, 1, 2, 11, 1, 1, 7, 1, 1, 1, 2, 2, 1, 8];
movelimit = 9;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 56) {
setup = [9, 2, 1, 1, 1, 1, 1, 1, 10, 2, 1, 7, 1, 1, 1, 1, 2, 15, 11, 1, 1, 1, 1, 2, 2, 2, 1, 1, 2, 1, 1, 7, 8];
movelimit = 12;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 57) {
setup = [9, 1, 4, 4, 1, 1, 1, 3, 2, 2, 1, 2, 1, 1, 3, 1, 1, 5, 1, 1, 1, 2, 1, 18, 17, 3, 1, 1, 1, 1, 1, 2, 8];
rblockyvar = 0;
bblockyvar = 15;
pblockyvar = 29;
movelimit = 8;
}
if (puzzid == 58) {
setup = [9, 14, 1, 6, 1, 1, 1, 1, 1, 1, 4, 3, 1, 1, 1, 3, 1, 7, 6, 1, 1, 3, 1, 1, 3, 3, 1, 1, 3, 6, 7, 1, 8];
movelimit = 5;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 59) {
setup = [9, 4, 4, 1, 1, 1, 1, 5, 2, 2, 1, 1, 1, 1, 5, 2, 2, 1, 1, 1, 1, 1, 1, 18, 1, 14, 1, 1, 1, 1, 6, 1, 8];
movelimit = 6;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 60) {
setup = [9, 4, 4, 4, 1, 1, 1, 10, 1, 2, 1, 12, 1, 1, 11, 4, 1, 6, 13, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 18, 8];
movelimit = 7;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 61) {
setup = [9, 2, 2, 1, 1, 1, 1, 10, 2, 18, 2, 2, 1, 1, 1, 2, 13, 2, 11, 1, 1, 5, 5, 3, 5, 1, 1, 1, 12, 1, 1, 1, 8];
movelimit = 15;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 62) {
setup = [9, 6, 6, 1, 1, 1, 1, 1, 18, 7, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 7, 2, 3, 2, 2, 1, 1, 1, 6, 1, 6, 8];
movelimit = 5;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 63) {
setup = [9, 2, 2, 7, 2, 1, 1, 1, 11, 2, 16, 2, 1, 1, 7, 1, 2, 10, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 6, 1, 8];
rblockyvar = 24;
bblockyvar = 8;
pblockyvar = 0;
movelimit = 8;
}
if (puzzid == 64) {
setup = [9, 6, 6, 18, 7, 1, 1, 12, 2, 6, 2, 1, 1, 1, 1, 2, 2, 6, 1, 1, 1, 13, 2, 1, 2, 3, 1, 1, 7, 1, 1, 1, 8];
movelimit = 7;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 65) {
setup = [9, 1, 2, 7, 12, 1, 1, 3, 1, 1, 2, 11, 1, 1, 1, 3, 7, 2, 1, 1, 1, 3, 1, 3, 2, 13, 1, 1, 1, 3, 1, 10, 8];
movelimit = 8;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 66) {
setup = [9, 1, 6, 1, 2, 1, 1, 1, 4, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 1, 1, 1, 4, 1, 1, 1, 1, 2, 1, 6, 6, 8];
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 28;
movelimit = 6;
}
if (puzzid == 67) {
setup = [9, 1, 4, 4, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 2, 18, 7, 1, 1, 2, 1, 1, 1, 1, 1, 1, 7, 4, 4, 4, 8];
movelimit = 10;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 68) {
setup = [9, 1, 6, 2, 7, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 3, 1, 3, 1, 1, 1, 3, 16, 3, 14, 3, 1, 1, 7, 6, 1, 6, 8];
movelimit = 6;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 69) {
setup = [9, 5, 1, 1, 1, 1, 1, 1, 1, 1, 6, 1, 1, 1, 3, 1, 17, 1, 3, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 8];
rblockyvar = 24;
bblockyvar = 28;
pblockyvar = 21;
movelimit = 7;
}
if (puzzid == 70) {
setup = [9, 6, 1, 6, 7, 1, 1, 2, 1, 2, 1, 1, 1, 1, 3, 1, 3, 1, 3, 1, 1, 14, 1, 3, 1, 3, 1, 1, 7, 3, 1, 1, 8];
movelimit = 6;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 71) {
setup = [9, 1, 6, 6, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 2, 1, 7, 1, 1, 2, 1, 1, 1, 1, 1, 1, 7, 6, 6, 6, 8];
movelimit = 5;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 72) {
setup = [9, 4, 1, 6, 1, 1, 1, 2, 6, 1, 4, 1, 1, 1, 18, 2, 1, 1, 5, 1, 1, 13, 2, 2, 2, 12, 1, 1, 1, 6, 6, 1, 8];
movelimit = 13;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 73) {
setup = [9, 1, 1, 5, 7, 1, 1, 3, 1, 1, 1, 1, 1, 1, 10, 2, 2, 2, 1, 1, 1, 1, 11, 7, 5, 1, 1, 1, 1, 3, 1, 1, 8];
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 29;
movelimit = 6;
}
if (puzzid == 74) {
setup = [9, 12, 1, 1, 1, 1, 1, 2, 2, 2, 2, 1, 1, 1, 11, 1, 7, 2, 1, 1, 1, 7, 2, 1, 2, 10, 1, 1, 13, 1, 1, 1, 8];
movelimit = 22;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 75) {
setup = [9, 1, 1, 10, 11, 1, 1, 4, 4, 4, 1, 1, 1, 1, 1, 6, 5, 6, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 7, 1, 2, 7, 8];
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 28;
movelimit = 11;
}
if (puzzid == 76) {
setup = [9, 12, 5, 5, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 7, 4, 3, 6, 1, 1, 3, 13, 5, 1, 6, 1, 1, 7, 1, 1, 1, 8];
gblockyvar = 7;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
movelimit = 10;
}
if (puzzid == 77) {
setup = [9, 2, 13, 6, 11, 1, 1, 3, 2, 4, 1, 1, 1, 1, 10, 2, 2, 2, 1, 1, 1, 12, 2, 1, 1, 1, 1, 1, 1, 6, 1, 6, 8];
movelimit = 16;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 78) {
setup = [9, 2, 18, 14, 1, 1, 1, 1, 2, 7, 6, 1, 1, 1, 5, 1, 3, 1, 1, 1, 1, 5, 4, 1, 1, 7, 1, 1, 1, 1, 4, 4, 8];
movelimit = 8;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 79) {
setup = [9, 1, 6, 6, 7, 1, 1, 3, 2, 2, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 5, 6, 1, 1, 1, 3, 1, 6, 7, 8];
rblockyvar = 23;
bblockyvar = 0;
pblockyvar = 0;
movelimit = 3;
}
if (puzzid == 80) {
setup = [9, 1, 1, 2, 7, 1, 1, 1, 1, 6, 1, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 3, 6, 1, 7, 3, 1, 1, 1, 1, 1, 3, 8];
rblockyvar = 0;
bblockyvar = 1;
pblockyvar = 22;
movelimit = 5;
}
if (puzzid == 81) {
setup = [9, 1, 1, 7, 1, 1, 1, 5, 6, 6, 14, 6, 6, 1, 5, 5, 6, 6, 6, 3, 1, 5, 5, 7, 6, 3, 3, 1, 5, 4, 4, 3, 3, 3, 1, 1, 4, 4, 4, 3, 8];
movelimit = 5;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 82) {
setup = [9, 1, 6, 1, 2, 6, 1, 1, 1, 1, 10, 1, 1, 1, 1, 1, 2, 6, 1, 3, 1, 2, 2, 4, 1, 1, 1, 1, 11, 4, 1, 1, 1, 3, 1, 3, 1, 6, 1, 6, 8];
gblockyvar = 0;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
movelimit = 13;
}
if (puzzid == 83) {
setup = [9, 1, 4, 2, 1, 1, 1, 3, 2, 1, 2, 2, 3, 1, 3, 2, 1, 4, 7, 1, 1, 3, 2, 1, 1, 1, 1, 1, 3, 2, 2, 2, 2, 7, 1, 1, 6, 6, 6, 18, 8];
movelimit = 7;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 84) {
setup = [9, 1, 4, 2, 1, 14, 1, 7, 12, 2, 1, 1, 2, 1, 1, 1, 2, 7, 5, 11, 1, 1, 1, 2, 2, 5, 1, 1, 3, 1, 10, 1, 6, 1, 1, 13, 1, 2, 1, 1, 8];
movelimit = 14;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 85) {
setup = [9, 1, 1, 1, 1, 1, 1, 3, 6, 6, 6, 2, 2, 1, 1, 2, 2, 1, 5, 17, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 8];
gblockyvar = 1;
rblockyvar = 0;
bblockyvar = 15;
pblockyvar = 28;
movelimit = 12;
}
if (puzzid == 86) {
setup = [9, 6, 1, 1, 6, 15, 1, 12, 2, 1, 1, 1, 5, 1, 13, 4, 4, 4, 1, 1, 1, 3, 1, 3, 1, 1, 1, 1, 3, 5, 1, 5, 5, 5, 1, 2, 18, 1, 1, 1, 8];
movelimit = 9;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 87) {
setup = [9, 6, 6, 6, 1, 2, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1, 2, 1, 1, 4, 3, 2, 7, 6, 1, 1, 3, 5, 6, 6, 3, 1, 1, 7, 6, 1, 3, 8];
movelimit = 5;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 88) {
setup = [9, 10, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 2, 6, 3, 2, 1, 1, 2, 2, 1, 1, 2, 1, 1, 2, 1, 1, 3, 2, 1, 1, 4, 11, 1, 6, 8];
gblockyvar = 7;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
movelimit = 13;
}
if (puzzid == 89) {
setup = [9, 1, 1, 6, 1, 14, 1, 2, 1, 1, 4, 1, 2, 1, 14, 2, 3, 6, 2, 14, 1, 15, 2, 3, 7, 2, 15, 1, 14, 2, 2, 2, 2, 2, 1, 16, 15, 14, 16, 7, 8];
movelimit = 5;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 90) {
setup = [9, 1, 2, 1, 1, 7, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 3, 6, 1, 6, 1, 1, 1, 1, 1, 1, 1, 3, 1, 7, 6, 6, 6, 6, 8];
movelimit = 7;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 91) {
setup = [9, 1, 1, 6, 6, 6, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 3, 1, 1, 1, 7, 1, 4, 7, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 3, 1, 8];
movelimit = 8;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 92) {
setup = [9, 1, 2, 6, 1, 1, 1, 1, 5, 7, 6, 1, 1, 1, 1, 6, 1, 6, 1, 1, 1, 1, 2, 7, 6, 1, 1, 1, 1, 2, 6, 1, 1, 1, 1, 1, 1, 2, 1, 1, 8];
rblockyvar = 0;
bblockyvar = 16;
pblockyvar = 0;
movelimit = 7;
}
if (puzzid == 93) {
setup = [9, 1, 6, 1, 1, 13, 1, 5, 6, 6, 6, 1, 6, 1, 4, 4, 4, 4, 2, 3, 1, 7, 6, 6, 1, 1, 7, 1, 12, 1, 1, 6, 1, 1, 1, 1, 1, 1, 1, 1, 8];
movelimit = 9;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 94) {
setup = [9, 5, 6, 6, 6, 11, 1, 10, 2, 4, 4, 3, 1, 1, 1, 6, 1, 1, 6, 7, 1, 1, 1, 4, 4, 5, 1, 1, 1, 3, 6, 6, 6, 1, 1, 1, 2, 7, 1, 1, 8];
rblockyvar = 0;
bblockyvar = 22;
pblockyvar = 0;
movelimit = 12;
}
if (puzzid == 95) {
setup = [9, 1, 6, 6, 6, 10, 1, 1, 6, 5, 6, 2, 1, 1, 1, 1, 1, 7, 2, 7, 1, 2, 2, 6, 1, 1, 3, 1, 1, 1, 1, 3, 11, 1, 1, 1, 2, 1, 1, 1, 8];
rblockyvar = 0;
bblockyvar = 1;
pblockyvar = 0;
movelimit = 7;
}
if (puzzid == 96) {
setup = [9, 12, 1, 1, 1, 1, 1, 5, 2, 10, 1, 6, 6, 1, 1, 1, 6, 1, 1, 7, 1, 4, 4, 5, 3, 6, 6, 1, 1, 11, 1, 2, 1, 1, 1, 1, 1, 7, 2, 13, 8];
movelimit = 8;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 97) {
setup = [9, 6, 6, 1, 1, 1, 1, 2, 1, 1, 3, 6, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 3, 2, 12, 2, 1, 1, 7, 18, 2, 13, 4, 7, 1, 1, 1, 2, 2, 1, 8];
rblockyvar = 0;
bblockyvar = 29;
pblockyvar = 0;
movelimit = 12;
}
if (puzzid == 98) {
setup = [9, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 7, 1, 2, 1, 1, 1, 1, 1, 1, 1, 3, 6, 1, 6, 1, 1, 1, 1, 1, 1, 1, 3, 1, 7, 6, 6, 6, 6, 8];
movelimit = 6;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 99) {
setup = [9, 1, 1, 1, 1, 2, 1, 5, 6, 6, 6, 6, 1, 1, 5, 1, 6, 6, 1, 3, 1, 5, 4, 4, 18, 3, 3, 1, 1, 4, 4, 4, 1, 3, 1, 2, 1, 1, 1, 2, 8];
movelimit = 7;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 100) {
setup = [9, 2, 2, 13, 2, 11, 1, 12, 1, 2, 1, 1, 1, 1, 7, 1, 1, 4, 1, 2, 1, 3, 1, 5, 10, 1, 1, 1, 1, 1, 1, 5, 2, 1, 1, 1, 1, 1, 4, 7, 8];
movelimit = 20;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 101) {
setup = [9, 4, 4, 5, 6, 17, 1, 1, 1, 2, 7, 3, 1, 1, 3, 5, 1, 2, 6, 1, 1, 1, 1, 1, 14, 3, 1, 1, 2, 2, 1, 6, 6, 1, 1, 7, 2, 1, 1, 3, 8];
rblockyvar = 21;
bblockyvar = 23;
pblockyvar = 30;
movelimit = 15;
}
if (puzzid == 102) {
setup = [9, 12, 1, 2, 11, 13, 1, 2, 10, 2, 1, 2, 7, 1, 1, 15, 6, 1, 1, 2, 1, 4, 1, 2, 7, 3, 1, 1, 1, 6, 6, 4, 4, 1, 1, 1, 1, 3, 3, 1, 8];
movelimit = 14;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 103) {
setup = [9, 1, 1, 1, 4, 1, 1, 1, 2, 1, 1, 5, 1, 1, 3, 1, 2, 1, 5, 1, 1, 1, 1, 1, 1, 5, 1, 1, 1, 7, 1, 1, 5, 7, 1, 18, 6, 6, 6, 1, 8];
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
movelimit = 7;
}
if (puzzid == 104) {
setup = [9, 1, 4, 1, 4, 1, 1, 1, 4, 3, 6, 1, 5, 1, 1, 1, 1, 3, 6, 7, 1, 2, 2, 3, 1, 3, 6, 1, 5, 7, 2, 3, 1, 3, 1, 16, 2, 2, 1, 1, 8];
movelimit = 9;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 105) {
setup = [9, 6, 6, 1, 1, 1, 1, 2, 2, 2, 3, 2, 1, 1, 2, 2, 2, 1, 2, 1, 1, 1, 4, 1, 3, 2, 3, 1, 3, 2, 2, 2, 2, 1, 1, 1, 6, 6, 1, 1, 8];
gblockyvar = 7;
movelimit = 9;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 106) {
setup = [9, 10, 1, 1, 6, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 4, 1, 3, 1, 1, 2, 2, 7, 2, 2, 2, 1, 4, 1, 3, 1, 6, 6, 1, 11, 1, 1, 7, 1, 8];
movelimit = 10;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 107) {
setup = [9, 5, 1, 6, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 3, 2, 1, 6, 3, 1, 1, 1, 1, 2, 7, 7, 1, 1, 3, 1, 1, 3, 3, 1, 1, 1, 6, 1, 1, 8];
gblockyvar = 5;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
movelimit = 7;
}
if (puzzid == 108) {
setup = [9, 12, 7, 1, 7, 1, 1, 5, 1, 1, 1, 4, 3, 1, 1, 3, 1, 1, 3, 13, 1, 1, 3, 1, 1, 4, 3, 1, 1, 3, 1, 1, 3, 6, 1, 1, 3, 6, 6, 6, 8];
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 23;
movelimit = 5;
}
if (puzzid == 109) {
setup = [9, 1, 1, 1, 1, 1, 1, 1, 4, 4, 2, 7, 1, 1, 2, 3, 1, 1, 1, 1, 1, 4, 3, 7, 1, 1, 2, 1, 17, 4, 3, 1, 1, 3, 1, 3, 1, 1, 6, 1, 8];
gblockyvar = 1;
bblockyvar = 8;
pblockyvar = 29;
movelimit = 12;
}
if (puzzid == 110) {
setup = [9, 1, 1, 4, 4, 2, 1, 3, 1, 1, 3, 1, 13, 1, 2, 12, 2, 1, 3, 7, 1, 1, 7, 1, 3, 1, 1, 1, 1, 1, 2, 1, 3, 1, 1, 1, 1, 1, 1, 3, 8];
movelimit = 8;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 111) {
setup = [9, 2, 1, 7, 1, 6, 1, 1, 5, 1, 1, 1, 3, 1, 1, 1, 1, 2, 1, 3, 1, 1, 2, 2, 2, 1, 3, 1, 2, 7, 6, 1, 2, 15, 1, 2, 1, 2, 1, 15, 8];
movelimit = 10;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 112) {
setup = [9, 6, 1, 6, 1, 1, 1, 1, 1, 1, 2, 6, 6, 1, 3, 2, 2, 2, 2, 10, 1, 11, 1, 7, 6, 1, 13, 1, 12, 2, 3, 1, 6, 1, 1, 7, 1, 1, 1, 1, 8];
movelimit = 9;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 113) {
setup = [9, 4, 1, 1, 2, 18, 1, 2, 1, 4, 1, 2, 3, 1, 1, 1, 5, 2, 2, 3, 1, 1, 1, 1, 4, 2, 3, 1, 1, 2, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 8];
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 23;
movelimit = 8;
}
if (puzzid == 114) {
setup = [9, 10, 1, 1, 6, 7, 1, 1, 1, 1, 1, 7, 6, 1, 1, 1, 1, 4, 5, 3, 1, 2, 2, 1, 3, 4, 3, 1, 1, 1, 4, 1, 1, 2, 1, 11, 1, 1, 1, 1, 8];
movelimit = 10;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 115) {
setup = [9, 1, 1, 2, 1, 11, 1, 1, 1, 1, 2, 5, 3, 1, 2, 10, 2, 2, 5, 3, 1, 1, 1, 1, 2, 5, 3, 1, 1, 3, 1, 2, 5, 3, 1, 1, 1, 6, 1, 1, 8];
rblockyvar = 0;
bblockyvar = 2;
pblockyvar = 0;
movelimit = 11;
}
if (puzzid == 116) {
setup = [9, 6, 1, 2, 18, 7, 1, 1, 14, 1, 2, 2, 5, 1, 5, 4, 4, 4, 4, 14, 1, 7, 1, 6, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 8];
movelimit = 12;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 117) {
setup = [9, 2, 1, 7, 2, 7, 1, 3, 2, 5, 2, 2, 1, 1, 3, 1, 5, 1, 2, 1, 1, 1, 6, 1, 1, 12, 1, 1, 2, 2, 2, 2, 2, 1, 1, 13, 18, 1, 1, 1, 8];
movelimit = 9;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 118) {
setup = [9, 1, 2, 1, 1, 1, 1, 1, 10, 1, 1, 1, 1, 1, 2, 1, 3, 1, 11, 1, 1, 1, 1, 1, 1, 1, 7, 1, 5, 5, 5, 5, 5, 3, 1, 7, 1, 1, 1, 1, 8];
gblockyvar = 7;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
movelimit = 13;
}
if (puzzid == 119) {
setup = [9, 6, 6, 6, 6, 6, 1, 2, 3, 3, 1, 1, 2, 1, 1, 1, 1, 6, 6, 3, 1, 5, 3, 3, 1, 3, 1, 1, 4, 1, 1, 1, 3, 1, 1, 1, 3, 3, 6, 1, 8];
movelimit = 4;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 120) {
setup = [9, 1, 5, 1, 1, 1, 1, 12, 5, 4, 3, 1, 1, 1, 1, 1, 2, 13, 1, 1, 1, 1, 2, 6, 1, 6, 1, 1, 7, 2, 1, 1, 3, 7, 1, 1, 2, 1, 1, 1, 8];
rblockyvar = 38;
bblockyvar = 0;
pblockyvar = 0;
movelimit = 12;
}
if (puzzid == 121) {
setup = [9, 1, 2, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 1, 2, 1, 1, 2, 2, 2, 2, 2, 2, 1, 1, 2, 1, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 1, 8];
rblockyvar = 47;
bblockyvar = 0;
pblockyvar = 30;
movelimit = 12;
}
if (puzzid == 122) {
setup = [9, 7, 1, 2, 10, 1, 7, 1, 3, 1, 2, 16, 12, 1, 1, 1, 11, 2, 2, 2, 2, 3, 1, 1, 1, 1, 1, 13, 3, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 3, 6, 6, 6, 6, 6, 8];
movelimit = 12;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 123) {
setup = [9, 1, 1, 1, 1, 1, 7, 5, 6, 6, 6, 6, 6, 1, 5, 5, 6, 6, 6, 6, 3, 5, 5, 5, 6, 6, 3, 3, 5, 5, 4, 7, 3, 3, 3, 5, 4, 4, 4, 3, 3, 3, 4, 4, 4, 4, 4, 3, 8];
movelimit = 8;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 124) {
setup = [9, 1, 2, 11, 2, 5, 13, 3, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1, 2, 5, 3, 1, 1, 2, 1, 12, 1, 1, 3, 1, 2, 1, 2, 1, 3, 3, 1, 10, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 8];
movelimit = 23;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 125) {
setup = [9, 6, 1, 1, 1, 1, 7, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 7, 2, 1, 1, 1, 3, 2, 14, 2, 1, 1, 4, 1, 1, 3, 2, 2, 2, 3, 1, 1, 1, 2, 4, 13, 1, 1, 1, 1, 12, 1, 8];
movelimit = 12;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 126) {
setup = [9, 2, 1, 1, 1, 1, 1, 10, 1, 1, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 6, 2, 2, 2, 2, 2, 2, 1, 11, 1, 1, 1, 2, 1, 7, 7, 1, 1, 6, 1, 6, 8];
movelimit = 13;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 127) {
setup = [9, 1, 2, 1, 1, 1, 1, 1, 3, 1, 2, 1, 1, 2, 2, 10, 2, 1, 1, 1, 1, 1, 1, 1, 7, 1, 2, 7, 2, 2, 6, 6, 2, 3, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 2, 11, 1, 1, 8];
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 24;
movelimit = 15;
}
if (puzzid == 128) {
setup = [9, 1, 1, 14, 6, 1, 1, 10, 1, 5, 1, 1, 1, 1, 1, 4, 1, 6, 1, 1, 18, 1, 1, 1, 1, 6, 1, 1, 1, 1, 1, 3, 1, 6, 1, 11, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 2, 1, 8];
movelimit = 11;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 129) {
setup = [9, 1, 1, 1, 2, 2, 11, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 10, 2, 1, 2, 1, 3, 6, 1, 4, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 8];
rblockyvar = 0;
bblockyvar = 21;
pblockyvar = 0;
movelimit = 24;
}
if (puzzid == 130) {
setup = [9, 6, 6, 2, 6, 7, 6, 3, 1, 1, 1, 1, 5, 1, 3, 1, 3, 3, 1, 4, 2, 3, 2, 1, 1, 2, 7, 1, 3, 3, 1, 3, 1, 3, 12, 13, 2, 3, 1, 3, 1, 1, 18, 6, 6, 6, 6, 6, 8];
movelimit = 7;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 131) {
setup = [9, 1, 6, 1, 6, 1, 1, 2, 2, 1, 1, 3, 1, 1, 16, 12, 1, 1, 3, 1, 1, 2, 2, 1, 1, 1, 1, 7, 1, 1, 1, 2, 1, 1, 1, 4, 4, 5, 2, 3, 6, 6, 7, 6, 13, 2, 1, 1, 8];
movelimit = 7;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 132) {
setup = [9, 1, 1, 2, 1, 1, 1, 2, 2, 3, 1, 2, 1, 1, 1, 1, 1, 6, 14, 2, 1, 1, 1, 2, 1, 3, 1, 2, 1, 1, 1, 2, 1, 3, 1, 2, 1, 1, 1, 2, 1, 6, 1, 1, 1, 1, 1, 2, 8];
movelimit = 7;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 133) {
setup = [9, 1, 1, 5, 1, 1, 7, 3, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 13, 1, 1, 1, 1, 1, 1, 2, 3, 2, 2, 2, 2, 2, 3, 1, 2, 16, 2, 1, 1, 1, 3, 7, 12, 2, 1, 1, 1, 8];
movelimit = 14;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 134) {
setup = [9, 2, 1, 1, 13, 2, 1, 10, 3, 1, 1, 2, 1, 1, 12, 1, 1, 1, 3, 1, 2, 1, 1, 1, 7, 1, 1, 1, 1, 1, 1, 5, 1, 1, 2, 11, 1, 1, 6, 1, 7, 1, 1, 2, 1, 1, 2, 1, 8];
rblockyvar = 28;
bblockyvar = 0;
pblockyvar = 0;
movelimit = 22;
}
if (puzzid == 135) {
setup = [9, 1, 4, 2, 1, 4, 1, 1, 2, 1, 2, 3, 2, 5, 1, 2, 5, 15, 1, 2, 1, 2, 2, 2, 1, 2, 2, 1, 5, 5, 5, 4, 5, 5, 5, 2, 1, 1, 6, 1, 1, 1, 2, 18, 1, 4, 1, 1, 8];
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 30;
movelimit = 20;
}
if (puzzid == 136) {
setup = [9, 1, 2, 1, 6, 6, 2, 7, 2, 1, 6, 2, 1, 1, 2, 1, 1, 2, 1, 2, 3, 5, 1, 2, 1, 1, 2, 3, 1, 1, 1, 1, 2, 1, 1, 10, 2, 1, 2, 1, 1, 2, 7, 2, 2, 11, 1, 1, 8];
movelimit = 19;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 137) {
setup = [9, 1, 5, 6, 1, 1, 1, 2, 1, 6, 1, 6, 2, 1, 1, 1, 2, 1, 1, 1, 1, 2, 6, 6, 5, 7, 5, 1, 2, 2, 2, 2, 3, 2, 2, 1, 1, 2, 1, 1, 6, 1, 7, 1, 6, 1, 1, 1, 8];
gblockyvar = 7;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
movelimit = 10;
}
if (puzzid == 138) {
setup = [9, 1, 1, 1, 5, 7, 1, 3, 1, 6, 6, 1, 1, 1, 2, 2, 12, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 4, 1, 1, 1, 7, 1, 2, 13, 1, 1, 16, 1, 1, 1, 3, 1, 8];
movelimit = 10;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 139) {
setup = [9, 6, 1, 1, 6, 6, 1, 7, 3, 6, 1, 1, 1, 1, 1, 2, 1, 3, 1, 1, 3, 3, 1, 1, 1, 6, 1, 7, 1, 2, 1, 1, 1, 1, 2, 3, 1, 2, 1, 2, 1, 1, 1, 6, 1, 6, 1, 6, 8];
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 21;
movelimit = 9;
}
if (puzzid == 140) {
setup = [9, 1, 2, 13, 1, 2, 11, 1, 1, 2, 1, 1, 2, 12, 2, 10, 1, 3, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 3, 6, 1, 6, 3, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 6, 6, 8];
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
movelimit = 25;
}
if (puzzid == 141) {
setup = [9, 12, 1, 4, 1, 10, 13, 2, 2, 3, 1, 5, 2, 2, 4, 4, 3, 1, 4, 4, 5, 1, 1, 1, 16, 1, 1, 1, 3, 6, 6, 1, 5, 6, 6, 2, 2, 3, 1, 5, 2, 2, 11, 1, 1, 6, 1, 1, 8];
movelimit = 21;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 142) {
setup = [9, 6, 6, 6, 6, 6, 1, 3, 1, 3, 1, 3, 1, 3, 1, 6, 6, 6, 3, 6, 3, 3, 1, 3, 1, 3, 1, 1, 3, 6, 1, 6, 1, 6, 1, 3, 1, 3, 1, 3, 1, 3, 1, 6, 1, 6, 6, 6, 8];
movelimit = 3;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 143) {
setup = [9, 4, 1, 4, 1, 4, 1, 10, 1, 6, 1, 6, 1, 5, 1, 5, 1, 5, 1, 3, 1, 3, 1, 3, 11, 5, 1, 5, 1, 5, 1, 6, 1, 3, 1, 3, 1, 4, 1, 4, 1, 5, 1, 6, 1, 6, 1, 6, 8];
movelimit = 10;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 144) {
setup = [9, 4, 1, 4, 1, 4, 1, 10, 12, 1, 6, 6, 1, 5, 4, 5, 1, 4, 3, 3, 1, 3, 1, 3, 11, 6, 1, 5, 1, 5, 1, 6, 1, 3, 1, 3, 1, 4, 1, 4, 1, 5, 13, 6, 1, 6, 1, 6, 8];
movelimit = 14;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 145) {
setup = [9, 12, 1, 1, 1, 1, 1, 2, 2, 1, 2, 1, 2, 1, 1, 1, 10, 2, 1, 2, 1, 1, 1, 1, 2, 1, 2, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 2, 1, 13, 1, 1, 1, 11, 2, 8];
rblockyvar = 46;
bblockyvar = 2;
pblockyvar = 35;
movelimit = 32;
}
if (puzzid == 146) {
setup = [9, 2, 7, 14, 1, 1, 16, 7, 2, 1, 1, 12, 1, 1, 4, 4, 4, 4, 4, 3, 5, 1, 1, 1, 1, 1, 1, 5, 10, 2, 2, 2, 2, 2, 13, 1, 1, 1, 1, 1, 11, 5, 3, 6, 6, 6, 6, 6, 8];
rblockyvar = 0;
bblockyvar = 2;
pblockyvar = 0;
movelimit = 22;
}
if (puzzid == 147) {
setup = [9, 10, 1, 6, 1, 4, 1, 12, 1, 5, 1, 3, 1, 3, 1, 4, 1, 4, 13, 4, 1, 3, 1, 5, 1, 5, 1, 3, 1, 4, 11, 6, 15, 4, 16, 3, 1, 5, 1, 5, 1, 3, 1, 6, 1, 6, 1, 6, 8];
movelimit = 15;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 148) {
setup = [9, 10, 1, 1, 1, 1, 1, 12, 2, 2, 2, 2, 2, 1, 1, 2, 1, 13, 1, 2, 1, 1, 1, 1, 2, 16, 1, 1, 1, 2, 1, 11, 1, 2, 1, 1, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 8];
gblockyvar = 16;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
movelimit = 25;
}
if (puzzid == 149) {
setup = [9, 10, 5, 1, 4, 1, 1, 12, 1, 1, 3, 1, 1, 1, 4, 1, 1, 3, 1, 1, 3, 1, 6, 6, 16, 4, 4, 13, 5, 1, 1, 5, 1, 1, 5, 1, 1, 1, 5, 1, 1, 1, 1, 1, 6, 11, 4, 1, 8];
rblockyvar = 35;
bblockyvar = 2;
pblockyvar = 0;
movelimit = 12;
}
if (puzzid == 150) {
setup = [9, 7, 4, 4, 4, 4, 5, 2, 2, 3, 4, 4, 5, 5, 13, 4, 3, 3, 16, 5, 5, 3, 4, 4, 3, 1, 1, 5, 3, 3, 7, 12, 10, 5, 11, 3, 3, 6, 6, 6, 6, 5, 3, 6, 6, 6, 6, 6, 8];
movelimit = 8;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 151) {
setup = [9, 1, 1, 1, 15, 5, 17, 12, 2, 2, 2, 14, 5, 3, 10, 1, 13, 2, 16, 5, 3, 1, 2, 2, 2, 2, 5, 3, 1, 2, 2, 11, 2, 5, 3, 1, 2, 2, 1, 2, 5, 3, 1, 1, 1, 1, 1, 1, 8];
gblockyvar = 100;
movelimit = 21;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 152) {
setup = [9, 10, 12, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 13, 2, 2, 2, 1, 15, 2, 2, 2, 2, 2, 1, 2, 2, 11, 2, 2, 2, 1, 1, 1, 1, 1, 1, 8];
gblockyvar = 1;
movelimit = 30;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 153) {
setup = [9, 1, 1, 1, 1, 1, 1, 5, 3, 5, 3, 5, 3, 5, 5, 3, 5, 3, 5, 3, 5, 5, 3, 5, 3, 5, 3, 5, 5, 3, 5, 3, 5, 3, 5, 5, 3, 5, 3, 5, 3, 5, 1, 1, 1, 1, 1, 1, 8];
gblockyvar = 100;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
movelimit = 7;
}
if (puzzid == 154) {
setup = [9, 1, 1, 1, 1, 1, 1, 5, 3, 5, 3, 5, 3, 5, 5, 3, 5, 3, 5, 3, 5, 5, 3, 5, 3, 5, 3, 5, 5, 3, 5, 3, 5, 3, 5, 5, 3, 5, 3, 5, 3, 5, 1, 1, 1, 1, 1, 1, 8];
rblockyvar = 21;
bblockyvar = 100;
pblockyvar = 29;
movelimit = 7;
}
if (puzzid == 155) {
setup = [9, 12, 1, 1, 1, 2, 13, 10, 2, 2, 2, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 2, 2, 1, 11, 1, 2, 1, 1, 1, 1, 2, 16, 2, 1, 1, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 8];
movelimit = 14;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 156) {
setup = [9, 7, 2, 1, 2, 2, 1, 2, 2, 1, 1, 1, 2, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1, 2, 13, 2, 1, 2, 14, 2, 1, 1, 1, 1, 1, 15, 2, 1, 2, 1, 2, 1, 7, 10, 12, 2, 11, 2, 8];
movelimit = 17;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 157) {
setup = [9, 12, 1, 2, 5, 6, 15, 2, 11, 5, 2, 5, 2, 3, 2, 3, 1, 1, 1, 4, 3, 2, 2, 1, 2, 1, 2, 2, 5, 6, 1, 1, 1, 6, 6, 5, 2, 3, 2, 5, 2, 3, 14, 4, 3, 2, 13, 10, 8];
movelimit = 26;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 158) {
setup = [9, 6, 6, 5, 6, 6, 6, 3, 5, 6, 6, 4, 5, 3, 3, 6, 10, 6, 12, 4, 3, 4, 4, 1, 2, 1, 5, 6, 3, 6, 13, 4, 11, 5, 3, 4, 3, 5, 6, 3, 6, 3, 3, 6, 6, 3, 6, 6, 8];
movelimit = 6;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 159) {
setup = [9, 4, 1, 6, 1, 4, 1, 3, 1, 3, 1, 6, 1, 3, 1, 3, 1, 4, 1, 4, 1, 5, 1, 5, 1, 3, 1, 3, 1, 3, 1, 6, 1, 6, 1, 5, 1, 5, 1, 3, 1, 3, 1, 6, 1, 6, 1, 4, 8];
movelimit = 6;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 160) {
setup = [9, 10, 1, 6, 6, 1, 11, 5, 2, 2, 2, 4, 3, 5, 1, 5, 1, 4, 1, 6, 1, 3, 1, 3, 1, 4, 1, 3, 1, 6, 1, 6, 1, 4, 1, 5, 1, 5, 1, 3, 1, 5, 18, 6, 1, 6, 1, 6, 8];
movelimit = 11;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 161) {
setup = [9, 6, 6, 6, 6, 6, 6, 3, 1, 1, 1, 1, 1, 3, 3, 1, 1, 1, 1, 1, 3, 3, 1, 1, 16, 1, 1, 3, 3, 1, 1, 1, 1, 1, 3, 3, 1, 1, 1, 1, 1, 3, 3, 6, 6, 6, 6, 6, 8];
rblockyvar = 45;
bblockyvar = 23;
pblockyvar = 28;
gblockyvar = 6;
movelimit = 1;
}
if (puzzid == 162) {
setup = [9, 6, 6, 6, 6, 6, 6, 4, 4, 4, 4, 4, 5, 3, 3, 5, 6, 6, 6, 5, 3, 3, 5, 4, 2, 3, 5, 3, 3, 5, 3, 6, 6, 6, 3, 3, 4, 4, 4, 4, 4, 3, 3, 6, 6, 6, 6, 6, 8];
movelimit = 1;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 163) {
setup = [9, 6, 6, 6, 6, 6, 6, 1, 1, 1, 1, 1, 1, 16, 1, 1, 1, 1, 1, 1, 15, 1, 1, 1, 1, 1, 1, 14, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 17, 1, 1, 1, 1, 1, 8];
movelimit = 12;
gblockyvar = 100;
rblockyvar = 27;
bblockyvar = 0;
pblockyvar = 42;
}
if (puzzid == 164) {
setup = [9, 2, 1, 2, 1, 2, 1, 1, 6, 1, 6, 1, 6, 1, 1, 2, 1, 2, 1, 2, 1, 1, 6, 1, 6, 1, 6, 1, 1, 2, 1, 2, 1, 2, 1, 1, 6, 1, 6, 1, 6, 1, 16, 2, 1, 2, 1, 2, 8];
rblockyvar = 21;
bblockyvar = 23;
pblockyvar = 28;
gblockyvar = 20;
movelimit = 9;
}
if (puzzid == 165) {
setup = [9, 2, 16, 4, 1, 1, 1, 5, 2, 2, 2, 1, 1, 3, 5, 2, 1, 1, 1, 1, 3, 5, 2, 1, 18, 1, 2, 3, 5, 2, 1, 1, 1, 2, 3, 5, 2, 2, 2, 2, 2, 3, 5, 4, 4, 4, 4, 4, 8];
rblockyvar = 31;
bblockyvar = 23;
pblockyvar = 30;
movelimit = 15;
}
if (puzzid == 166) {
setup = [9, 6, 1, 4, 1, 6, 1, 1, 2, 3, 2, 5, 2, 3, 1, 6, 15, 6, 1, 4, 1, 1, 2, 5, 2, 5, 2, 3, 1, 6, 14, 4, 16, 6, 1, 1, 2, 3, 2, 3, 2, 3, 1, 1, 1, 1, 1, 1, 8];
rblockyvar = 21;
bblockyvar = 44;
pblockyvar = 0;
movelimit = 9;
}
if (puzzid == 167) {
setup = [9, 2, 1, 1, 1, 4, 17, 1, 2, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1, 2, 5, 2, 2, 2, 12, 1, 2, 13, 11, 1, 1, 1, 16, 2, 1, 1, 2, 2, 2, 2, 2, 10, 1, 1, 1, 1, 1, 1, 8];
rblockyvar = 45;
bblockyvar = 14;
pblockyvar = 30;
movelimit = 70;
}
if (puzzid == 168) {
setup = [9, 6, 6, 1, 4, 4, 16, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 3, 1, 1, 8];
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 16;
movelimit = 4;
}
if (puzzid == 169) {
setup = [9, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 8];
movelimit = 12;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 170) {
setup = [9, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 3, 1, 4, 1, 10, 1, 6, 11, 5, 1, 5, 18, 3, 1, 3, 1, 4, 1, 6, 1, 6, 1, 5, 1, 3, 1, 3, 1, 3, 1, 6, 1, 6, 1, 6, 8];
movelimit = 8;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 171) {
setup = [9, 4, 4, 1, 1, 1, 13, 7, 4, 5, 4, 4, 5, 1, 2, 3, 1, 10, 1, 5, 1, 1, 3, 12, 2, 7, 5, 1, 1, 3, 1, 18, 2, 5, 1, 1, 3, 6, 6, 6, 6, 1, 11, 1, 1, 1, 1, 1, 8];
movelimit = 12;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 172) {
setup = [9, 10, 1, 1, 1, 1, 1, 1, 4, 4, 18, 4, 5, 1, 2, 3, 1, 1, 1, 5, 1, 1, 3, 1, 1, 1, 5, 1, 1, 3, 1, 1, 1, 5, 1, 1, 3, 6, 11, 6, 6, 1, 1, 1, 1, 1, 1, 1, 8];
movelimit = 5;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 173) {
setup = [9, 1, 2, 2, 4, 4, 11, 2, 1, 2, 2, 3, 2, 5, 2, 1, 1, 1, 1, 6, 6, 2, 2, 1, 2, 1, 12, 17, 4, 4, 4, 1, 1, 4, 5, 3, 2, 5, 10, 3, 2, 5, 13, 6, 6, 1, 3, 6, 8];
rblockyvar = 22;
bblockyvar = 0;
pblockyvar = 30;
movelimit = 23;
}
if (puzzid == 174) {
setup = [9, 1, 1, 6, 12, 1, 7, 1, 10, 2, 2, 2, 2, 2, 1, 1, 2, 7, 2, 2, 1, 2, 2, 2, 17, 13, 6, 1, 1, 11, 4, 16, 18, 2, 1, 1, 1, 2, 2, 3, 2, 1, 1, 1, 1, 1, 1, 1, 8];
rblockyvar = 0;
bblockyvar = 1;
pblockyvar = 0;
movelimit = 11;
}
if (puzzid == 175) {
setup = [9, 1, 1, 1, 6, 6, 5, 3, 2, 3, 3, 5, 3, 6, 3, 2, 5, 6, 7, 4, 3, 3, 2, 5, 4, 5, 5, 6, 3, 2, 4, 4, 4, 4, 1, 1, 2, 2, 2, 2, 2, 2, 7, 6, 6, 6, 6, 6, 8];
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 24;
movelimit = 4;
}
if (puzzid == 176) {
setup = [9, 12, 11, 1, 1, 1, 7, 10, 2, 2, 3, 2, 3, 1, 13, 2, 2, 3, 2, 2, 1, 1, 6, 6, 17, 6, 6, 1, 1, 2, 2, 3, 2, 2, 1, 1, 6, 2, 3, 2, 18, 1, 7, 1, 1, 1, 1, 1, 8];
rblockyvar = 21;
bblockyvar = 3;
pblockyvar = 14;
movelimit = 16;
}
if (puzzid == 177) {
setup = [9, 12, 1, 1, 1, 1, 2, 10, 1, 2, 1, 2, 1, 1, 1, 2, 2, 11, 2, 2, 1, 1, 1, 13, 5, 18, 1, 1, 1, 2, 2, 1, 2, 2, 1, 1, 1, 2, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1, 8];
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
movelimit = 23;
}
if (puzzid == 178) {
setup = [9, 4, 1, 6, 6, 6, 17, 3, 18, 1, 2, 1, 3, 3, 3, 1, 1, 2, 7, 12, 3, 2, 2, 2, 2, 2, 2, 2, 1, 4, 7, 2, 5, 5, 6, 13, 4, 3, 2, 5, 11, 3, 10, 1, 6, 6, 6, 6, 8];
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 14;
movelimit = 7;
}
if (puzzid == 179) {
setup = [9, 2, 1, 1, 1, 1, 1, 1, 2, 5, 1, 6, 17, 3, 12, 2, 5, 3, 1, 3, 3, 10, 2, 5, 3, 4, 3, 3, 1, 2, 5, 3, 7, 4, 3, 1, 2, 4, 11, 1, 13, 6, 7, 2, 4, 3, 6, 6, 8];
rblockyvar = 21;
bblockyvar = 0;
pblockyvar = 0;
movelimit = 18;
}
if (puzzid == 180) {
setup = [9, 4, 1, 1, 1, 1, 1, 1, 12, 15, 6, 6, 6, 1, 1, 16, 10, 1, 6, 6, 3, 3, 2, 1, 6, 6, 3, 3, 3, 3, 6, 6, 13, 3, 3, 3, 6, 6, 6, 1, 11, 3, 1, 1, 1, 1, 1, 1, 8];
movelimit = 8;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 181) {
setup = [9, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 1, 4, 4, 11, 2, 1, 1, 1, 1, 1, 1, 2, 1, 3, 1, 2, 2, 18, 2, 1, 3, 1, 2, 2, 2, 2, 10, 1, 1, 1, 1, 1, 1, 8];
rblockyvar = 43;
bblockyvar = 22;
pblockyvar = 38;
movelimit = 37;
}
if (puzzid == 182) {
setup = [9, 10, 12, 11, 16, 4, 7, 3, 6, 6, 13, 5, 1, 6, 4, 4, 3, 6, 1, 5, 3, 1, 4, 5, 5, 6, 6, 3, 3, 7, 4, 5, 1, 3, 3, 3, 3, 5, 1, 4, 3, 3, 3, 1, 6, 3, 6, 6, 8];
movelimit = 3;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 183) {
setup = [9, 5, 1, 1, 1, 1, 1, 3, 5, 2, 3, 1, 2, 1, 3, 5, 2, 11, 2, 2, 1, 10, 1, 1, 1, 16, 4, 1, 2, 1, 2, 1, 2, 1, 1, 13, 1, 1, 1, 15, 2, 1, 2, 14, 2, 12, 2, 2, 8];
rblockyvar = 41;
bblockyvar = 2;
pblockyvar = 0;
movelimit = 23;
}
if (puzzid == 184) {
setup = [9, 10, 2, 11, 2, 1, 6, 5, 1, 1, 12, 1, 1, 3, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 5, 1, 1, 1, 1, 1, 6, 4, 3, 2, 13, 2, 3, 8];
rblockyvar = 21;
bblockyvar = 3;
pblockyvar = 30;
gblockyvar = 24;
movelimit = 15;
}
if (puzzid == 185) {
setup = [9, 1, 2, 2, 1, 1, 13, 2, 10, 2, 2, 1, 2, 2, 2, 1, 4, 11, 1, 1, 2, 2, 12, 2, 2, 5, 3, 2, 2, 1, 6, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 3, 8];
movelimit = 22;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 186) {
setup = [9, 12, 2, 7, 2, 2, 2, 2, 1, 1, 1, 2, 7, 2, 2, 2, 3, 4, 4, 1, 2, 2, 1, 3, 13, 10, 1, 2, 2, 1, 6, 6, 5, 2, 2, 2, 11, 2, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 8];
movelimit = 18;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 187) {
setup = [9, 2, 2, 7, 1, 1, 1, 10, 7, 18, 2, 2, 1, 1, 17, 1, 6, 3, 2, 1, 1, 2, 2, 2, 3, 2, 1, 1, 11, 1, 2, 6, 6, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 8];
rblockyvar = 0;
bblockyvar = 43;
pblockyvar = 0;
movelimit = 43;
}
if (puzzid == 188) {
setup = [9, 10, 1, 1, 1, 1, 1, 12, 2, 2, 1, 2, 2, 1, 1, 2, 16, 1, 15, 2, 1, 1, 2, 2, 17, 2, 2, 1, 1, 2, 11, 1, 13, 2, 1, 1, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 8];
gblockyvar = 0;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 30;
movelimit = 22;
}
if (puzzid == 189) {
setup = [9, 2, 2, 2, 2, 11, 1, 5, 12, 1, 1, 2, 1, 1, 5, 2, 1, 1, 2, 1, 1, 5, 2, 13, 1, 2, 1, 1, 5, 2, 1, 1, 2, 1, 1, 5, 2, 1, 1, 10, 1, 1, 18, 2, 2, 2, 2, 1, 8];
rblockyvar = 26;
bblockyvar = 0;
pblockyvar = 0;
movelimit = 24;
}
if (puzzid == 190) {
setup = [9, 12, 1, 1, 1, 7, 2, 10, 2, 2, 2, 3, 2, 7, 1, 4, 13, 1, 17, 2, 1, 1, 2, 1, 2, 1, 2, 1, 1, 2, 11, 1, 18, 6, 1, 1, 2, 3, 2, 2, 2, 1, 2, 1, 1, 1, 1, 1, 8];
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 30;
movelimit = 10;
}
if (puzzid == 191) {
setup = [9, 12, 1, 1, 1, 1, 1, 10, 2, 1, 2, 2, 2, 1, 1, 2, 5, 2, 3, 2, 1, 1, 2, 7, 2, 7, 2, 1, 1, 2, 5, 2, 3, 2, 1, 1, 2, 11, 2, 2, 2, 1, 1, 13, 6, 1, 1, 1, 8];
movelimit = 22;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 192) {
setup = [9, 2, 2, 2, 2, 2, 7, 1, 2, 13, 4, 17, 2, 3, 1, 2, 3, 7, 5, 2, 3, 12, 2, 11, 6, 18, 2, 3, 1, 2, 2, 2, 3, 2, 3, 10, 1, 4, 4, 4, 2, 3, 1, 2, 2, 2, 2, 2, 8];
rblockyvar = 21;
bblockyvar = 0;
pblockyvar = 0;
movelimit = 12;
}
if (puzzid == 193) {
setup = [9, 2, 1, 1, 1, 1, 1, 10, 2, 5, 6, 6, 1, 1, 12, 1, 5, 11, 4, 1, 1, 1, 1, 4, 3, 4, 1, 18, 1, 1, 5, 13, 3, 1, 1, 1, 1, 5, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 8];
movelimit = 13;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 194) {
setup = [9, 1, 2, 2, 2, 2, 1, 5, 4, 1, 18, 17, 2, 1, 2, 2, 2, 2, 12, 2, 1, 1, 1, 1, 2, 13, 2, 1, 1, 11, 1, 2, 10, 2, 1, 1, 1, 1, 2, 14, 2, 1, 1, 1, 1, 1, 1, 1, 8];
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 42;
movelimit = 20;
}
if (puzzid == 195) {
setup = [9, 7, 1, 1, 1, 2, 16, 1, 1, 5, 6, 6, 1, 1, 1, 1, 5, 1, 1, 2, 1, 1, 1, 5, 5, 6, 2, 1, 1, 1, 5, 7, 3, 2, 1, 1, 1, 4, 4, 3, 2, 1, 1, 1, 1, 1, 1, 1, 8];
rblockyvar = 25;
bblockyvar = 35;
pblockyvar = 0;
movelimit = 8;
}
if (puzzid == 196) {
setup = [9, 5, 6, 6, 6, 6, 1, 12, 5, 2, 2, 2, 3, 13, 1, 5, 2, 7, 6, 1, 1, 1, 5, 2, 2, 2, 3, 1, 1, 1, 6, 7, 2, 3, 1, 1, 5, 2, 2, 2, 3, 1, 1, 1, 4, 4, 4, 4, 8];
rblockyvar = 0;
bblockyvar = 2;
pblockyvar = 0;
movelimit = 14;
}
if (puzzid == 197) {
setup = [9, 4, 4, 1, 4, 1, 11, 5, 1, 2, 1, 2, 1, 1, 1, 1, 2, 7, 2, 1, 1, 3, 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 10, 1, 1, 1, 1, 7, 1, 2, 1, 1, 18, 1, 1, 1, 4, 1, 8];
rblockyvar = 26;
bblockyvar = 28;
pblockyvar = 0;
movelimit = 26;
}
if (puzzid == 198) {
setup = [9, 12, 7, 16, 1, 17, 1, 1, 2, 2, 2, 1, 1, 1, 1, 10, 13, 2, 1, 1, 1, 1, 2, 7, 2, 1, 1, 1, 1, 6, 11, 2, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 15, 1, 1, 1, 8];
rblockyvar = 30;
bblockyvar = 28;
pblockyvar = 0;
movelimit = 18;
}
if (puzzid == 199) {
setup = [9, 5, 6, 6, 6, 6, 1, 1, 5, 2, 2, 2, 3, 1, 1, 1, 12, 17, 2, 3, 1, 1, 5, 2, 2, 2, 3, 1, 1, 5, 2, 13, 10, 14, 1, 1, 5, 2, 2, 2, 3, 1, 11, 4, 4, 4, 4, 3, 8];
rblockyvar = 21;
bblockyvar = 0;
pblockyvar = 0;
movelimit = 20;
}
if (puzzid == 200) {
setup = [9, 12, 1, 4, 1, 1, 1, 10, 1, 2, 2, 13, 1, 16, 3, 1, 1, 2, 5, 1, 3, 3, 1, 4, 2, 18, 1, 11, 3, 1, 1, 2, 4, 1, 3, 3, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 8];
movelimit = 10;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
}
if (puzzid == 201) {
setup = [9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 8];
movelimit = 99;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
ebossvar = true;
}
if (puzzid == 202) {
setup = [9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 8];
movelimit = 99;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
fbossvar = true;
}
if (puzzid == 203) {
setup = [9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 8];
movelimit = 99;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
gbossvar = true;
}
if (puzzid == 204) {
setup = [9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 8];
movelimit = 99;
rblockyvar = 0;
bblockyvar = 0;
pblockyvar = 0;
rbossvar = true;
}
if (puzzid == 205) {
setup = [9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 8];
movelimit = 99;
rblockyvar = 28;
bblockyvar = 7;
pblockyvar = 30;
gblockyvar = 6;
kbossvar = true;
}
i = 0;
while (i <= 48) {
this["square" + i].gotoAndStop(setup[i]);
i++;
}
}
myLoop.stop();
var ebossvar = false;
var fbossvar = false;
var gbossvar = false;
var rbossvar = false;
var kbossvar = false;
var roundcont = false;
var currentxpos = 0;
var currentypos = 0;
var gpixcount = 0;
var arrowsset = false;
var iggcurrentframe = 0;
var score = 0;
var lives = 5;
var finalbonus = 0;
var mbonus = 0;
var lbonus = 0;
var timebonus = 0;
var rblockyvar = 0;
var bblockyvar = 0;
var pblockyvar = 0;
var gblockyvar = 0;
var moving = false;
var gblockymoved = false;
var gbaxis = 1;
var ebossturn = 1;
var gbossturn = 1;
var checked = false;
var pixcount = 0;
var conveying = false;
var puzznum = 0;
var bosslvl = false;
var veasypuzzles = new Array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40);
var easypuzzles = new Array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40);
var normpuzzles = new Array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40);
var advpuzzles = new Array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40);
var hardpuzzles = new Array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40);
var randveasy = 0;
var randeasy = 0;
var randnorm = 0;
var randadv = 0;
var randhard = 0;
var time = 0;
var setup = new Array();
var enemytouch = false;
gotoAndPlay ("introanimation");
}
Symbol 60 Button
on (release) {
gotoAndPlay (16);
}
Symbol 89 MovieClip Frame 401
gotoAndPlay (2);
Symbol 100 MovieClip Frame 301
this.gotoAndPlay(2);
Symbol 105 MovieClip Frame 301
gotoAndPlay (2);
Symbol 141 Button
on (release) {
_parent.myLoop.stop();
}
Symbol 144 Button
on (release) {
_parent.myLoop.stop();
_parent.myLoop = new Sound();
_parent.myLoop.attachSound("ww_clip1");
_parent.myLoop.start(0, 999);
}
Symbol 146 Button
on (release) {
_parent.removeMovieClip("gblocky");
_parent.removeMovieClip("pblocky");
_parent.removeMovieClip("rblocky");
_parent.removeMovieClip("bblocky");
_parent.timebonus = 0;
_parent.timerstop = true;
_parent.conveying = false;
_parent.conveyup.gotoAndStop(1);
_parent.conveydown.gotoAndStop(1);
_parent.conveyleft.gotoAndStop(1);
_parent.conveyright.gotoAndStop(1);
_parent.iggy.gotoAndStop(12);
_parent.enemytouch = true;
_parent.uparrow._x = -100;
_parent.uparrow._y = -100;
_parent.rightarrow._x = -100;
_parent.rightarrow._y = -100;
_parent.downarrow._x = -100;
_parent.downarrow._y = -100;
_parent.leftarrow._x = -100;
_parent.leftarrow._y = -100;
}
Symbol 178 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 26
stop();
_parent._parent.fromagate = true;
this._parent.gotoAndStop(1);
Symbol 181 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 26
stop();
i = 0;
while (i < 49) {
if (this._parent._parent["square" + i]._currentframe == 10) {
this._parent._parent["square" + i].redgate.play();
this._parent.gotoAndStop(1);
}
i++;
}
Symbol 187 MovieClip Frame 1
stop();
Symbol 187 MovieClip Frame 26
stop();
_parent._parent.fromagate = true;
this._parent.gotoAndStop(1);
Symbol 190 MovieClip Frame 1
stop();
Symbol 190 MovieClip Frame 26
stop();
stop();
i = 0;
while (i < 49) {
if (this._parent._parent["square" + i]._currentframe == 12) {
this._parent._parent["square" + i].yellowgate.play();
this._parent.gotoAndStop(1);
}
i++;
}
Symbol 197 MovieClip Frame 1
stop();
Symbol 197 MovieClip Frame 26
stop();
this._parent.gotoAndStop(1);
Symbol 203 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 26
stop();
this._parent.gotoAndStop(1);
Symbol 213 MovieClip Frame 1
stop();
Symbol 213 MovieClip Frame 26
stop();
this._parent.gotoAndStop(1);
Symbol 217 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 26
stop();
this._parent.gotoAndStop(1);
Symbol 222 MovieClip Frame 25
this._parent._parent._parent.switcharrows();
if (this._parent._parent._parent.arrowsset == false) {
this._parent._parent._parent.setarrows();
this._parent._parent._parent.arrowsset = true;
}
this._parent.gotoAndStop(2);
Symbol 224 MovieClip Frame 25
this._parent._parent._parent.switcharrows();
if (this._parent._parent._parent.arrowsset == false) {
this._parent._parent._parent.setarrows();
this._parent._parent._parent.arrowsset = true;
}
this._parent.gotoAndStop(1);
Symbol 225 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 2
stop();
Symbol 225 MovieClip Frame 3
stop();
Symbol 225 MovieClip Frame 4
stop();
Symbol 226 MovieClip Frame 1
stop();
if (this._parent.fromagate == true) {
this._parent.iggmovetest();
this._parent.fromagate = false;
}
Symbol 226 MovieClip Frame 2
stop();
Symbol 226 MovieClip Frame 3
stop();
Symbol 226 MovieClip Frame 4
stop();
Symbol 226 MovieClip Frame 5
stop();
Symbol 226 MovieClip Frame 6
stop();
Symbol 226 MovieClip Frame 7
stop();
Symbol 226 MovieClip Frame 8
stop();
Symbol 226 MovieClip Frame 9
stop();
Symbol 226 MovieClip Frame 10
stop();
Symbol 226 MovieClip Frame 11
stop();
Symbol 226 MovieClip Frame 12
stop();
Symbol 226 MovieClip Frame 13
stop();
Symbol 226 MovieClip Frame 14
stop();
Symbol 226 MovieClip Frame 15
stop();
Symbol 226 MovieClip Frame 16
stop();
Symbol 226 MovieClip Frame 17
stop();
Symbol 226 MovieClip Frame 18
stop();
Symbol 229 MovieClip Frame 1
if (_parent._parent.conveying == false) {
stop();
}
if (_parent._parent.moved == true) {
_parent._parent.conveying = false;
_parent._parent.iggy._y = _parent._parent.iggy._y - 80;
_parent._parent.noenemytesting = false;
_parent._parent.moved = false;
stop();
_parent._parent.hittests();
}
Symbol 229 MovieClip Frame 12
_parent._parent.moved = true;
_parent._parent.noenemytesting = true;
Symbol 233 MovieClip Frame 1
if (_parent._parent.conveying == false) {
stop();
}
if (_parent._parent.moved == true) {
_parent._parent.conveying = false;
_parent._parent.iggy._x = _parent._parent.iggy._x + 80;
_parent._parent.noenemytesting = false;
_parent._parent.moved = false;
stop();
_parent._parent.hittests();
}
Symbol 233 MovieClip Frame 12
_parent._parent.moved = true;
_parent._parent.noenemytesting = true;
Symbol 234 MovieClip Frame 1
if (_parent._parent.conveying == false) {
stop();
}
if (_parent._parent.moved == true) {
_parent._parent.conveying = false;
_parent._parent.iggy._y = _parent._parent.iggy._y + 80;
_parent._parent.noenemytesting = false;
_parent._parent.moved = false;
stop();
_parent._parent.hittests();
}
Symbol 234 MovieClip Frame 12
_parent._parent.moved = true;
_parent._parent.noenemytesting = true;
Symbol 237 MovieClip Frame 1
if (_parent._parent.conveying == false) {
stop();
}
if (_parent._parent.moved == true) {
_parent._parent.conveying = false;
_parent._parent.iggy._x = _parent._parent.iggy._x - 80;
_parent._parent.noenemytesting = false;
_parent._parent.moved = false;
stop();
_parent._parent.hittests();
}
Symbol 237 MovieClip Frame 12
_parent._parent.moved = true;
_parent._parent.noenemytesting = true;
Symbol 242 MovieClip Frame 1
_parent._parent.uparrow._x = -100;
_parent._parent.uparrow._y = -100;
_parent._parent.rightarrow._x = -100;
_parent._parent.rightarrow._y = -100;
_parent._parent.downarrow._x = -100;
_parent._parent.downarrow._y = -100;
_parent._parent.leftarrow._x = -100;
_parent._parent.leftarrow._y = -100;
if (_parent._parent.moved == true) {
stop();
_parent._parent.iggy._y = _parent._parent.iggy._y - 80;
_parent._parent.noenemytesting = false;
_parent._parent.moved = false;
_parent._parent.hittests();
_parent.gotoAndStop(1);
}
Symbol 242 MovieClip Frame 12
_parent._parent.moved = true;
_parent._parent.noenemytesting = true;
Symbol 248 MovieClip Frame 1
_parent._parent.uparrow._x = -100;
_parent._parent.uparrow._y = -100;
_parent._parent.rightarrow._x = -100;
_parent._parent.rightarrow._y = -100;
_parent._parent.downarrow._x = -100;
_parent._parent.downarrow._y = -100;
_parent._parent.leftarrow._x = -100;
_parent._parent.leftarrow._y = -100;
if (_parent._parent.moved == true) {
stop();
_parent._parent.iggy._x = _parent._parent.iggy._x + 80;
_parent._parent.noenemytesting = false;
_parent._parent.moved = false;
_parent._parent.hittests();
_parent.gotoAndStop(2);
}
Symbol 248 MovieClip Frame 12
_parent._parent.moved = true;
_parent._parent.noenemytesting = true;
Symbol 252 MovieClip Frame 1
_parent._parent.uparrow._x = -100;
_parent._parent.uparrow._y = -100;
_parent._parent.rightarrow._x = -100;
_parent._parent.rightarrow._y = -100;
_parent._parent.downarrow._x = -100;
_parent._parent.downarrow._y = -100;
_parent._parent.leftarrow._x = -100;
_parent._parent.leftarrow._y = -100;
if (_parent._parent.moved == true) {
stop();
_parent._parent.iggy._y = _parent._parent.iggy._y + 80;
_parent._parent.noenemytesting = false;
_parent._parent.moved = false;
_parent._parent.hittests();
_parent.gotoAndStop(3);
}
Symbol 252 MovieClip Frame 12
_parent._parent.moved = true;
_parent._parent.noenemytesting = true;
Symbol 258 MovieClip Frame 1
_parent._parent.uparrow._x = -100;
_parent._parent.uparrow._y = -100;
_parent._parent.rightarrow._x = -100;
_parent._parent.rightarrow._y = -100;
_parent._parent.downarrow._x = -100;
_parent._parent.downarrow._y = -100;
_parent._parent.leftarrow._x = -100;
_parent._parent.leftarrow._y = -100;
if (_parent._parent.moved == true) {
stop();
_parent._parent.iggy._x = _parent._parent.iggy._x - 80;
_parent._parent.noenemytesting = false;
_parent._parent.moved = false;
_parent._parent.hittests();
_parent.gotoAndStop(4);
}
Symbol 258 MovieClip Frame 12
_parent._parent.moved = true;
_parent._parent.noenemytesting = true;
Symbol 270 MovieClip Frame 1
this._parent._parent.timebonus = 0;
this._parent._parent.timerstop = true;
Symbol 270 MovieClip Frame 15
stop();
this._parent._parent.deletemcs();
Symbol 271 MovieClip Frame 15
stop();
i = 0;
while (i < 49) {
trace(i);
if (this._parent._parent["square" + i]._currentframe == 7) {
if ((this._parent._parent.iggy._x == (this._parent._parent["square" + i]._x + 5)) && (this._parent._parent.iggy._y == (this._parent._parent["square" + i]._y + 2.5))) {
} else {
this._parent._parent.iggy._x = this._parent._parent["square" + i]._x + 5;
this._parent._parent.iggy._y = this._parent._parent["square" + i]._y + 2.5;
this._parent.gotoAndStop(11);
i = 49;
}
}
i++;
}
Symbol 272 MovieClip Frame 15
stop();
this._parent._parent.setarrows();
this._parent.gotoAndStop(3);
Symbol 275 MovieClip Frame 1
this._parent._parent.timebonus = 0;
this._parent._parent.timerstop = true;
Symbol 275 MovieClip Frame 13
stop();
this._parent._parent.deletemcs();
Symbol 278 MovieClip Frame 1
this._parent._parent.timerstop = true;
Symbol 278 MovieClip Frame 23
stop();
this._parent._parent.deletemcs();
Symbol 279 MovieClip Frame 1
stop();
Symbol 279 MovieClip Frame 2
stop();
Symbol 279 MovieClip Frame 3
stop();
Symbol 279 MovieClip Frame 4
stop();
Symbol 279 MovieClip Frame 5
stop();
Symbol 279 MovieClip Frame 6
stop();
Symbol 279 MovieClip Frame 7
stop();
Symbol 279 MovieClip Frame 8
stop();
Symbol 279 MovieClip Frame 9
stop();
Symbol 279 MovieClip Frame 10
stop();
Symbol 279 MovieClip Frame 11
stop();
Symbol 279 MovieClip Frame 12
stop();
Symbol 279 MovieClip Frame 13
stop();
Symbol 284 MovieClip Frame 1
if (_parent._parent.gblockymoved == true) {
stop();
_parent._parent.gblockymoved = false;
_parent._parent.gblocky._y = _parent._parent.gblocky._y - 80;
_parent._parent.noenemytesting = false;
if (_parent._parent.gbaxis == 1) {
_parent._parent.gbaxis = 2;
_parent._parent.gblockyfunction2();
} else {
_parent._parent.gbaxis = 1;
_parent._parent.gblockyfunction();
}
}
Symbol 284 MovieClip Frame 75
_parent._parent.noenemytesting = true;
_parent._parent.gblockymoved = true;
Symbol 288 MovieClip Frame 1
if (_parent._parent.gblockymoved == true) {
stop();
_parent._parent.gblockymoved = false;
_parent._parent.gblocky._x = _parent._parent.gblocky._x + 80;
_parent._parent.noenemytesting = false;
if (_parent._parent.gbaxis == 1) {
_parent._parent.gbaxis = 2;
_parent._parent.gblockyfunction2();
} else {
_parent._parent.gbaxis = 1;
_parent._parent.gblockyfunction();
}
}
Symbol 288 MovieClip Frame 75
_parent._parent.noenemytesting = true;
_parent._parent.gblockymoved = true;
Symbol 293 MovieClip Frame 1
if (_parent._parent.gblockymoved == true) {
stop();
_parent._parent.gblockymoved = false;
_parent._parent.gblocky._y = _parent._parent.gblocky._y + 80;
_parent._parent.noenemytesting = false;
if (_parent._parent.gbaxis == 1) {
_parent._parent.gbaxis = 2;
_parent._parent.gblockyfunction2();
} else {
_parent._parent.gbaxis = 1;
_parent._parent.gblockyfunction();
}
}
Symbol 293 MovieClip Frame 75
_parent._parent.noenemytesting = true;
_parent._parent.gblockymoved = true;
Symbol 294 MovieClip Frame 1
if (_parent._parent.gblockymoved == true) {
stop();
_parent._parent.gblockymoved = false;
_parent._parent.gblocky._x = _parent._parent.gblocky._x - 80;
_parent._parent.noenemytesting = false;
if (_parent._parent.gbaxis == 1) {
_parent._parent.gbaxis = 2;
_parent._parent.gblockyfunction2();
} else {
_parent._parent.gbaxis = 1;
_parent._parent.gblockyfunction();
}
}
Symbol 294 MovieClip Frame 75
_parent._parent.noenemytesting = true;
_parent._parent.gblockymoved = true;
Symbol 295 MovieClip Frame 1
stop();
Symbol 295 MovieClip Frame 2
stop();
Symbol 295 MovieClip Frame 3
stop();
Symbol 295 MovieClip Frame 4
stop();
Symbol 295 MovieClip Frame 5
stop();
Symbol 300 Button
on (release) {
_parent.movelimit--;
_parent.iggy.gotoAndPlay(8);
}
Symbol 302 Button
on (release) {
_parent.movelimit--;
_parent.iggy.gotoAndStop(5);
}
Symbol 304 Button
on (release) {
_parent.movelimit--;
_parent.iggy.gotoAndPlay(6);
}
Symbol 306 Button
on (release) {
_parent.movelimit--;
_parent.iggy.gotoAndPlay(7);
}
Symbol 312 MovieClip Frame 1
stop();
if (this._parent.fromagate == true) {
this._parent.iggmovetest();
this._parent.fromagate = false;
}
Symbol 312 MovieClip Frame 2
stop();
Symbol 312 MovieClip Frame 3
stop();
Symbol 312 MovieClip Frame 4
stop();
Symbol 312 MovieClip Frame 5
stop();
Symbol 312 MovieClip Frame 6
stop();
Symbol 312 MovieClip Frame 7
stop();
Symbol 312 MovieClip Frame 8
stop();
Symbol 312 MovieClip Frame 9
stop();
Symbol 312 MovieClip Frame 10
stop();
Symbol 312 MovieClip Frame 11
stop();
Symbol 312 MovieClip Frame 12
stop();
Symbol 312 MovieClip Frame 13
stop();
Symbol 312 MovieClip Frame 14
stop();
Symbol 312 MovieClip Frame 15
stop();
Symbol 312 MovieClip Frame 16
stop();
Symbol 312 MovieClip Frame 17
stop();
Symbol 312 MovieClip Frame 18
stop();
Symbol 320 MovieClip Frame 1
stop();
if (this._parent.fromagate == true) {
this._parent.iggmovetest();
this._parent.fromagate = false;
}
Symbol 320 MovieClip Frame 2
stop();
Symbol 320 MovieClip Frame 3
stop();
Symbol 320 MovieClip Frame 4
stop();
Symbol 320 MovieClip Frame 5
stop();
Symbol 320 MovieClip Frame 6
stop();
Symbol 320 MovieClip Frame 7
stop();
Symbol 320 MovieClip Frame 8
stop();
Symbol 320 MovieClip Frame 9
stop();
Symbol 320 MovieClip Frame 10
stop();
Symbol 320 MovieClip Frame 11
stop();
Symbol 320 MovieClip Frame 12
stop();
Symbol 320 MovieClip Frame 13
stop();
Symbol 320 MovieClip Frame 14
stop();
Symbol 320 MovieClip Frame 15
stop();
Symbol 320 MovieClip Frame 16
stop();
Symbol 320 MovieClip Frame 17
stop();
Symbol 320 MovieClip Frame 18
stop();
Symbol 330 MovieClip Frame 1
stop();
if (this._parent.fromagate == true) {
this._parent.iggmovetest();
this._parent.fromagate = false;
}
Symbol 330 MovieClip Frame 2
stop();
Symbol 330 MovieClip Frame 3
stop();
Symbol 330 MovieClip Frame 4
stop();
Symbol 330 MovieClip Frame 5
stop();
Symbol 330 MovieClip Frame 6
stop();
Symbol 330 MovieClip Frame 7
stop();
Symbol 330 MovieClip Frame 8
stop();
Symbol 330 MovieClip Frame 9
stop();
Symbol 330 MovieClip Frame 10
stop();
Symbol 330 MovieClip Frame 11
stop();
Symbol 330 MovieClip Frame 12
stop();
Symbol 330 MovieClip Frame 13
stop();
Symbol 330 MovieClip Frame 14
stop();
Symbol 330 MovieClip Frame 15
stop();
Symbol 330 MovieClip Frame 16
stop();
Symbol 330 MovieClip Frame 17
stop();
Symbol 330 MovieClip Frame 18
stop();
Symbol 333 MovieClip Frame 1
stop();
if (this._parent.fromagate == true) {
this._parent.iggmovetest();
this._parent.fromagate = false;
}
Symbol 333 MovieClip Frame 2
stop();
Symbol 333 MovieClip Frame 3
stop();
Symbol 333 MovieClip Frame 4
stop();
Symbol 333 MovieClip Frame 5
stop();
Symbol 333 MovieClip Frame 6
stop();
Symbol 333 MovieClip Frame 7
stop();
Symbol 333 MovieClip Frame 8
stop();
Symbol 333 MovieClip Frame 9
stop();
Symbol 333 MovieClip Frame 10
stop();
Symbol 333 MovieClip Frame 11
stop();
Symbol 333 MovieClip Frame 12
stop();
Symbol 333 MovieClip Frame 13
stop();
Symbol 333 MovieClip Frame 14
stop();
Symbol 333 MovieClip Frame 15
stop();
Symbol 333 MovieClip Frame 16
stop();
Symbol 333 MovieClip Frame 17
stop();
Symbol 333 MovieClip Frame 18
stop();
Symbol 346 MovieClip Frame 50
this._parent._parent.eboss._y = this._parent._parent.eboss._y - 80;
this._parent._parent.ebossturn++;
if (this._parent._parent.ebossturn >= 4) {
this._parent._parent.ebossturn = 1;
}
this._parent._parent.ebossfunction();
if (this._parent._parent.ebosssameframe == true) {
gotoAndPlay (1);
}
Symbol 350 MovieClip Frame 50
this._parent._parent.eboss._x = this._parent._parent.eboss._x + 80;
this._parent._parent.ebossturn++;
if (this._parent._parent.ebossturn >= 4) {
this._parent._parent.ebossturn = 1;
}
this._parent._parent.ebossfunction();
if (this._parent._parent.ebosssameframe == true) {
gotoAndPlay (1);
}
Symbol 354 MovieClip Frame 50
this._parent._parent.eboss._y = this._parent._parent.eboss._y + 80;
this._parent._parent.ebossturn++;
if (this._parent._parent.ebossturn >= 4) {
this._parent._parent.ebossturn = 1;
}
this._parent._parent.ebossfunction();
if (this._parent._parent.ebosssameframe == true) {
gotoAndPlay (1);
}
Symbol 355 MovieClip Frame 50
this._parent._parent.eboss._x = this._parent._parent.eboss._x - 80;
this._parent._parent.ebossturn++;
if (this._parent._parent.ebossturn >= 4) {
this._parent._parent.ebossturn = 1;
}
this._parent._parent.ebossfunction();
if (this._parent._parent.ebosssameframe == true) {
gotoAndPlay (1);
}
Symbol 387 MovieClip Frame 40
i = 0;
while (i < 49) {
if (((this._parent._parent["square" + i]._x == (this._parent._parent.eboss._x - 10)) && (this._parent._parent["square" + i]._y == (this._parent._parent.eboss._y - 10))) && (this._parent._parent["square" + i]._currentframe == 1)) {
this._parent._parent["square" + i].gotoAndStop(2);
}
i++;
}
this._parent._parent.ebossturn++;
if (this._parent._parent.ebossturn >= 4) {
this._parent._parent.ebossturn = 1;
}
this._parent._parent.ebossfunction();
Symbol 388 MovieClip Frame 1
stop();
Symbol 388 MovieClip Frame 2
stop();
Symbol 388 MovieClip Frame 3
stop();
Symbol 388 MovieClip Frame 4
stop();
Symbol 388 MovieClip Frame 5
stop();
Symbol 388 MovieClip Frame 6
stop();
Symbol 392 MovieClip Frame 1
stop();
Symbol 393 MovieClip Frame 1
stop();
Symbol 394 MovieClip Frame 1
stop();
Symbol 403 MovieClip Frame 1
if (fbossstarted == false) {
stop();
} else {
fbossstarted = false;
gotoAndPlay (3);
}
Symbol 403 MovieClip Frame 2
_parent.fireball1._y = _parent.square0._y + 70;
_parent.fireball1._x = _parent.square0._x;
_parent.fireball1.play();
_parent.fireball2._y = _parent.square0._y + 70;
_parent.fireball2._x = _parent.square0._x + 70;
_parent.fireball2.play();
_parent.fireball3._y = _parent.square0._y;
_parent.fireball3._x = _parent.square0._x + 70;
_parent.fireball3.play();
Symbol 403 MovieClip Frame 400
gotoAndPlay (2);
Symbol 420 MovieClip Frame 1
if (_parent._parent.gbossturn3 == true) {
_parent._parent.gbossturn3 = false;
_parent._parent.gbossfunction();
}
Symbol 420 MovieClip Frame 40
this._parent._parent.gboss._y = this._parent._parent.gboss._y - 80;
this._parent._parent.gbossturn++;
if (this._parent._parent.gbossturn >= 4) {
this._parent._parent.gbossturn = 1;
}
this._parent._parent.gbossfunction();
if (this._parent._parent.gbosssameframe == true) {
gotoAndPlay (1);
}
Symbol 426 MovieClip Frame 1
if (_parent._parent.gbossturn3 == true) {
_parent._parent.gbossturn3 = false;
_parent._parent.gbossfunction();
}
Symbol 426 MovieClip Frame 40
this._parent._parent.gboss._x = this._parent._parent.gboss._x + 80;
this._parent._parent.gbossturn++;
if (this._parent._parent.gbossturn >= 4) {
this._parent._parent.gbossturn = 1;
}
this._parent._parent.gbossfunction();
if (this._parent._parent.gbosssameframe == true) {
gotoAndPlay (1);
}
Symbol 429 MovieClip Frame 1
if (_parent._parent.gbossturn3 == true) {
_parent._parent.gbossturn3 = false;
_parent._parent.gbossfunction();
}
Symbol 429 MovieClip Frame 40
this._parent._parent.gboss._y = this._parent._parent.gboss._y + 80;
this._parent._parent.gbossturn++;
if (this._parent._parent.gbossturn >= 4) {
this._parent._parent.gbossturn = 1;
}
this._parent._parent.gbossfunction();
if (this._parent._parent.gbosssameframe == true) {
gotoAndPlay (1);
}
Symbol 430 MovieClip Frame 1
if (_parent._parent.gbossturn3 == true) {
_parent._parent.gbossturn3 = false;
_parent._parent.gbossfunction();
}
Symbol 430 MovieClip Frame 40
this._parent._parent.gboss._x = this._parent._parent.gboss._x - 80;
this._parent._parent.gbossturn++;
if (this._parent._parent.gbossturn >= 4) {
this._parent._parent.gbossturn = 1;
}
this._parent._parent.gbossfunction();
if (this._parent._parent.gbosssameframe == true) {
gotoAndPlay (1);
}
Symbol 433 MovieClip Frame 51
_parent._parent.flower1._x = -100;
_parent._parent.flower1._y = -100;
_parent._parent.flower2._x = -100;
_parent._parent.flower2._y = -100;
this._parent._parent.gbossturn++;
if (this._parent._parent.gbossturn >= 4) {
this._parent._parent.gbossturn = 1;
}
this._parent._parent.gbossfunction();
Symbol 434 MovieClip Frame 1
stop();
Symbol 434 MovieClip Frame 2
stop();
Symbol 434 MovieClip Frame 3
stop();
Symbol 434 MovieClip Frame 4
stop();
Symbol 434 MovieClip Frame 5
stop();
Symbol 434 MovieClip Frame 6
stop();
Symbol 437 MovieClip Frame 1
stop();
Symbol 445 MovieClip Frame 1
this._parent._parent.rboss._x = this._parent._parent.iggy._x - 75;
this._parent._parent.rboss._y = 600;
Symbol 445 MovieClip Frame 70
stop();
_parent.play();
Symbol 446 MovieClip Frame 1
this._parent._parent.rboss._y = this._parent._parent.iggy._y - 75;
this._parent._parent.rboss._x = 0;
Symbol 446 MovieClip Frame 70
stop();
_parent.play();
Symbol 447 MovieClip Frame 1
this._parent._parent.rboss._x = this._parent._parent.iggy._x - 75;
this._parent._parent.rboss._y = 0;
Symbol 447 MovieClip Frame 70
stop();
_parent.play();
Symbol 448 MovieClip Frame 1
this._parent._parent.rboss._y = this._parent._parent.iggy._y - 75;
this._parent._parent.rboss._x = 600;
Symbol 448 MovieClip Frame 70
stop();
_parent.gotoAndStop(2);
Symbol 449 MovieClip Frame 1
stop();
Symbol 449 MovieClip Frame 2
stop();
Symbol 449 MovieClip Frame 3
stop();
Symbol 449 MovieClip Frame 4
stop();
Symbol 449 MovieClip Frame 5
stop();
Symbol 453 Button
on (release) {
_root.WPI_ArcadeStopSingleGame(score);
gotoAndPlay (2);
}
Symbol 511 Button
on (release) {
myLoop.stop();
if ((puzzid > 200) && (puzzid < 205)) {
gotoAndPlay ("middleanimation");
} else if (puzzid == 205) {
gotoAndPlay ("closinganimation");
} else {
gotoAndPlay ("nextlevel");
}
}
Symbol 536 Button
on (release) {
if ((puzzid < 41) && (puzzid > 0)) {
gotoAndPlay (3);
} else if ((puzzid < 81) && (puzzid > 40)) {
gotoAndPlay (4);
} else if ((puzzid < 121) && (puzzid > 80)) {
gotoAndPlay (5);
} else if ((puzzid < 161) && (puzzid > 120)) {
gotoAndPlay (6);
} else if (puzzid > 160) {
gotoAndPlay (7);
}
}
Symbol 537 Button
on (release) {
gotoAndPlay (2);
}
Symbol 575 Button
on (release) {
gotoAndStop (1708);
}
Symbol 643 Button
on (release) {
play();
}
Symbol 652 Button
on (release) {
prevFrame();
}
Symbol 658 Button
on (release) {
_root.WPI_ArcadeStartSingleGame();
this._parent.gotoAndPlay("nextlevel");
}
Symbol 659 MovieClip Frame 1708
stop();
Symbol 659 MovieClip Frame 1709
stop();
Symbol 659 MovieClip Frame 1710
stop();
Symbol 665 Button
on (release) {
gotoAndStop (230);
}
Symbol 670 MovieClip Frame 230
_parent.gotoAndPlay("nextlevel");
Symbol 679 Button
on (release) {
gotoAndStop (1251);
}
Symbol 710 MovieClip Frame 1251
_parent.gotoAndPlay("gamewon");
Symbol 716 Button
on (release) {
toapuzzle();
}
Symbol 773 Button
on (release) {
gotoAndStop (2);
}