Frame 2
fscommand ("showmenu", false);
Set("/:FlashVersion", getVersion());
if ((substring(/:FlashVersion, 5, 1)) >= 5) {
gotoAndPlay (4);
}
Frame 3
stop();
Frame 4
ifFrameLoaded (19) {
gotoAndStop (6);
}
A = (this.getBytesLoaded() / this.getBytesTotal()) * 100;
bytes = int(this.getBytesLoaded() / 1024) add "KB";
percent = int(A) add "%";
setProperty("_root.bar", _xscale , A);
Frame 5
gotoAndPlay (2);
Frame 6
stop();
startDrag ("/coin", true);
Frame 7
stop();
Set("/:tries", 3);
Set("/:score", 0);
Set("/:a", 1);
Set("/:pCount", 2);
Set("/:level", 1);
Set("/:pLeft", /:pCount);
Set("/:nextLevel", "level2");
Set("/:lastSwap", "0");
Set("/:keeper", 0);
Set("/:bronto", 0);
Set("/:cupie", 0);
Set("/:bear", 0);
Set("/:monkey", 0);
Set("/:beaver", 0);
Set("/:bunny", 0);
Set("/move:clawX", 13);
Set("/move:clawY", 13);
tellTarget ("/scale") {
gotoAndStop(/move:clawY);
};
tellTarget ("/scale/claw") {
gotoAndStop(/move:clawX);
};
do {
Set([("/:p" + /:a) + "y"], (Number(random(int(25 / /:pCount))) + int((25 / /:pCount) * (/:a - 1))) + 1);
Set([("/:p" + /:a) + "x"], Number(random(25)) + 1);
if ((eval (("/:p" add /:a) add "y") < 10) and (eval (("/:p" add /:a) add "x") < 12)) {
Set(("/:p" + /:a) + "x", Number(random(13)) + 12);
}
duplicateMovieClip ("/plushy" + (random(2) + 1), "p" + /:a, /:a);
if (/:a == 1) {
_root.p1.swapDepths("/swap1");
} else if (/:a == 2) {
_root.p2.swapDepths("/swap2");
} else if (/:a == 3) {
_root.p3.swapDepths("/swap3");
} else if (/:a == 4) {
_root.p4.swapDepths("/swap4");
} else if (/:a == 5) {
_root.p5.swapDepths("/swap5");
}
setProperty("/p" + /:a, _x , 326.4);
setProperty("/p" + /:a, _y , 259.7);
setProperty("/p" + /:a, _alpha , 100);
tellTarget (["/p" + /:a]) {
gotoAndStop(eval (("/:p" add /:a) add "y"));
};
tellTarget ([("/p" + /:a) + "/move"]) {
gotoAndStop(eval (("/:p" add /:a) add "x"));
};
Set(("/p" + /:a) + ":ID", /:a);
Set(("/p" + /:a) + ":depthID", /:a);
Set("/:depthID" + /:a, /:a);
Set("/:a", /:a + 1);
} while (pCount >= /:a);
Set("/:check", 1);
Set("/:check2", 1);
Frame 8
gotoAndStop (6);
Frame 9
gotoAndStop (6);
Frame 10
stop();
Set("/:a", 1);
Set("/:pCount", 3);
Set("/:level", 2);
Set("/:pLeft", /:pCount);
Set("/:lastSwap", "0");
Set("/:nextLevel", "level3");
Set("/:keeper", 0);
Set("/:bronto", 0);
Set("/:cupie", 0);
Set("/:bear", 0);
Set("/:monkey", 0);
Set("/:beaver", 0);
Set("/:bunny", 0);
Set("/move:clawX", 13);
Set("/move:clawY", 13);
tellTarget ("/scale") {
gotoAndStop(/move:clawY);
};
tellTarget ("/scale/claw") {
gotoAndStop(/move:clawX);
};
do {
Set([("/:p" + /:a) + "y"], (Number(random(int(25 / /:pCount))) + int((25 / /:pCount) * (/:a - 1))) + 1);
Set([("/:p" + /:a) + "x"], Number(random(25)) + 1);
if ((eval (("/:p" add /:a) add "y") < 10) and (eval (("/:p" add /:a) add "x") < 12)) {
Set(("/:p" + /:a) + "x", Number(random(13)) + 12);
}
duplicateMovieClip ("/plushy" + (random(2) + 1), "p" + /:a, /:a);
if (/:a == 1) {
_root.p1.swapDepths("/swap1");
} else if (/:a == 2) {
_root.p2.swapDepths("/swap2");
} else if (/:a == 3) {
_root.p3.swapDepths("/swap3");
} else if (/:a == 4) {
_root.p4.swapDepths("/swap4");
} else if (/:a == 5) {
_root.p5.swapDepths("/swap5");
}
setProperty("/p" + /:a, _x , 326.4);
setProperty("/p" + /:a, _y , 259.7);
setProperty("/p" + /:a, _alpha , 100);
tellTarget (["/p" + /:a]) {
gotoAndStop(eval (("/:p" add /:a) add "y"));
};
tellTarget ([("/p" + /:a) + "/move"]) {
gotoAndStop(eval (("/:p" add /:a) add "x"));
};
Set(("/p" + /:a) + ":ID", /:a);
Set(("/p" + /:a) + ":depthID", /:a);
Set("/:depthID" + /:a, /:a);
Set("/:a", /:a + 1);
} while (pCount >= /:a);
mover = random(2) + 1;
Set(("/p" + mover) + ":ID", mover);
Set(("/p" + mover) + ":move", 1);
Set(("/p" + mover) + ":speed", 5);
mover = 0;
Set("/:check", 1);
Set("/:check2", 1);
Frame 11
gotoAndStop (6);
Frame 12
gotoAndStop (6);
Frame 13
stop();
Set("/:a", 1);
Set("/:pCount", 3);
Set("/:level", 3);
Set("/:pLeft", /:pCount);
Set("/:lastSwap", "0");
Set("/:nextLevel", "level4");
Set("/:keeper", 0);
Set("/:bronto", 0);
Set("/:cupie", 0);
Set("/:bear", 0);
Set("/:monkey", 0);
Set("/:beaver", 0);
Set("/:bunny", 0);
Set("/move:clawX", 13);
Set("/move:clawY", 13);
tellTarget ("/scale") {
gotoAndStop(/move:clawY);
};
tellTarget ("/scale/claw") {
gotoAndStop(/move:clawX);
};
do {
Set([("/:p" + /:a) + "y"], (Number(random(int(25 / /:pCount))) + int((25 / /:pCount) * (/:a - 1))) + 1);
Set([("/:p" + /:a) + "x"], Number(random(25)) + 1);
if ((eval (("/:p" add /:a) add "y") < 10) and (eval (("/:p" add /:a) add "x") < 12)) {
Set(("/:p" + /:a) + "x", Number(random(13)) + 12);
}
duplicateMovieClip ("/plushy" + (random(3) + 1), "p" + /:a, /:a);
if (/:a == 1) {
_root.p1.swapDepths("/swap1");
} else if (/:a == 2) {
_root.p2.swapDepths("/swap2");
} else if (/:a == 3) {
_root.p3.swapDepths("/swap3");
} else if (/:a == 4) {
_root.p4.swapDepths("/swap4");
} else if (/:a == 5) {
_root.p5.swapDepths("/swap5");
}
setProperty("/p" + /:a, _x , 326.4);
setProperty("/p" + /:a, _y , 259.7);
setProperty("/p" + /:a, _alpha , 100);
tellTarget (["/p" + /:a]) {
gotoAndStop(eval (("/:p" add /:a) add "y"));
};
tellTarget ([("/p" + /:a) + "/move"]) {
gotoAndStop(eval (("/:p" add /:a) add "x"));
};
Set(("/p" + /:a) + ":ID", /:a);
Set(("/p" + /:a) + ":depthID", /:a);
Set("/:depthID" + /:a, /:a);
Set("/:a", /:a + 1);
} while (pCount >= /:a);
mover = random(3) + 1;
Set(("/p" + mover) + ":ID", mover);
Set(("/p" + mover) + ":move", 1);
Set(("/p" + mover) + ":speed", 3);
Set("/:check", 1);
Set("/:check2", 1);
Frame 14
gotoAndStop (6);
Frame 15
gotoAndStop (6);
Frame 16
stop();
Set("/:a", 1);
Set("/:pCount", 3);
Set("/:level", 4);
Set("/:pLeft", /:pCount);
Set("/:lastSwap", "0");
Set("/:nextLevel", "level5");
Set("/:keeper", 0);
Set("/:bronto", 0);
Set("/:cupie", 0);
Set("/:bear", 0);
Set("/:monkey", 0);
Set("/:beaver", 0);
Set("/:bunny", 0);
Set("/move:clawX", 13);
Set("/move:clawY", 13);
tellTarget ("/scale") {
gotoAndStop(/move:clawY);
};
tellTarget ("/scale/claw") {
gotoAndStop(/move:clawX);
};
do {
Set([("/:p" + /:a) + "y"], (Number(random(int(25 / /:pCount))) + int((25 / /:pCount) * (/:a - 1))) + 1);
Set([("/:p" + /:a) + "x"], Number(random(25)) + 1);
if ((eval (("/:p" add /:a) add "y") < 10) and (eval (("/:p" add /:a) add "x") < 12)) {
Set(("/:p" + /:a) + "x", Number(random(13)) + 12);
}
duplicateMovieClip ("/plushy" + (random(4) + 1), "p" + /:a, /:a);
if (/:a == 1) {
_root.p1.swapDepths("/swap1");
} else if (/:a == 2) {
_root.p2.swapDepths("/swap2");
} else if (/:a == 3) {
_root.p3.swapDepths("/swap3");
} else if (/:a == 4) {
_root.p4.swapDepths("/swap4");
} else if (/:a == 5) {
_root.p5.swapDepths("/swap5");
}
setProperty("/p" + /:a, _x , 326.4);
setProperty("/p" + /:a, _y , 259.7);
setProperty("/p" + /:a, _alpha , 100);
tellTarget (["/p" + /:a]) {
gotoAndStop(eval (("/:p" add /:a) add "y"));
};
tellTarget ([("/p" + /:a) + "/move"]) {
gotoAndStop(eval (("/:p" add /:a) add "x"));
};
Set(("/p" + /:a) + ":ID", /:a);
Set(("/p" + /:a) + ":depthID", /:a);
Set("/:depthID" + /:a, /:a);
Set("/:a", /:a + 1);
} while (pCount >= /:a);
mover = random(4) + 1;
Set(("/p" + mover) + ":ID", mover);
Set(("/p" + mover) + ":move", 1);
Set(("/p" + mover) + ":speed", 3);
do {
mover2 = random(4) + 1;
} while (mover2 == mover);
Set(("/p" + mover2) + ":ID", mover2);
Set(("/p" + mover2) + ":move", 1);
Set(("/p" + mover2) + ":speed", 3);
Set("/:check", 1);
Set("/:check2", 1);
Frame 17
gotoAndStop (6);
Frame 18
gotoAndStop (6);
Frame 19
stop();
Set("/:a", 1);
Set("/:pCount", 4);
Set("/:level", 5);
Set("/:pLeft", /:pCount);
Set("/:lastSwap", "0");
Set("/:nextLevel", "level6");
Set("/:keeper", 0);
Set("/:bronto", 0);
Set("/:cupie", 0);
Set("/:bear", 0);
Set("/:monkey", 0);
Set("/:beaver", 0);
Set("/:bunny", 0);
Set("/move:clawX", 13);
Set("/move:clawY", 13);
tellTarget ("/scale") {
gotoAndStop(/move:clawY);
};
tellTarget ("/scale/claw") {
gotoAndStop(/move:clawX);
};
do {
Set([("/:p" + /:a) + "y"], (Number(random(int(25 / /:pCount))) + int((25 / /:pCount) * (/:a - 1))) + 1);
Set([("/:p" + /:a) + "x"], Number(random(25)) + 1);
if ((eval (("/:p" add /:a) add "y") < 10) and (eval (("/:p" add /:a) add "x") < 12)) {
Set(("/:p" + /:a) + "x", Number(random(13)) + 12);
}
duplicateMovieClip ("/plushy" + (random(5) + 1), "p" + /:a, /:a);
if (/:a == 1) {
_root.p1.swapDepths("/swap1");
} else if (/:a == 2) {
_root.p2.swapDepths("/swap2");
} else if (/:a == 3) {
_root.p3.swapDepths("/swap3");
} else if (/:a == 4) {
_root.p4.swapDepths("/swap4");
} else if (/:a == 5) {
_root.p5.swapDepths("/swap5");
}
setProperty("/p" + /:a, _x , 326.4);
setProperty("/p" + /:a, _y , 259.7);
setProperty("/p" + /:a, _alpha , 100);
tellTarget (["/p" + /:a]) {
gotoAndStop(eval (("/:p" add /:a) add "y"));
};
tellTarget ([("/p" + /:a) + "/move"]) {
gotoAndStop(eval (("/:p" add /:a) add "x"));
};
Set(("/p" + /:a) + ":depthID", /:a);
Set("/:depthID" + /:a, /:a);
Set("/:a", /:a + 1);
} while (pCount >= /:a);
mover = random(4) + 1;
Set(("/p" + mover) + ":ID", mover);
Set(("/p" + mover) + ":move", 1);
Set(("/p" + mover) + ":speed", 3);
do {
mover2 = random(4) + 1;
} while (mover2 == mover);
Set(("/p" + mover2) + ":ID", mover2);
Set(("/p" + mover2) + ":move", 1);
Set(("/p" + mover2) + ":speed", 3);
do {
mover3 = random(4) + 1;
} while ((mover3 == mover) or (mover3 == mover2));
Set(("/p" + mover3) + ":ID", mover3);
Set(("/p" + mover3) + ":move", 1);
Set(("/p" + mover3) + ":speed", 1);
Set("/:check", 1);
Set("/:check2", 1);
Frame 20
gotoAndStop (6);
Frame 21
gotoAndStop (6);
Frame 22
stop();
Set("/:a", 1);
Set("/:pCount", 4);
Set("/:level", 6);
Set("/:pLeft", /:pCount);
Set("/:lastSwap", "0");
Set("/:nextLevel", "gameOver");
Set("/:keeper", 0);
Set("/:bronto", 0);
Set("/:cupie", 0);
Set("/:bear", 0);
Set("/:monkey", 0);
Set("/:beaver", 0);
Set("/:bunny", 0);
Set("/move:clawX", 13);
Set("/move:clawY", 13);
tellTarget ("/scale") {
gotoAndStop(/move:clawY);
};
tellTarget ("/scale/claw") {
gotoAndStop(/move:clawX);
};
do {
Set([("/:p" + /:a) + "y"], (Number(random(int(25 / /:pCount))) + int((25 / /:pCount) * (/:a - 1))) + 1);
Set([("/:p" + /:a) + "x"], Number(random(25)) + 1);
if ((eval (("/:p" add /:a) add "y") < 10) and (eval (("/:p" add /:a) add "x") < 12)) {
Set(("/:p" + /:a) + "x", Number(random(13)) + 12);
}
duplicateMovieClip ("/plushy" + (random(6) + 1), "p" + /:a, /:a);
if (/:a == 1) {
_root.p1.swapDepths("/swap1");
} else if (/:a == 2) {
_root.p2.swapDepths("/swap2");
} else if (/:a == 3) {
_root.p3.swapDepths("/swap3");
} else if (/:a == 4) {
_root.p4.swapDepths("/swap4");
} else if (/:a == 5) {
_root.p5.swapDepths("/swap5");
}
setProperty("/p" + /:a, _x , 326.4);
setProperty("/p" + /:a, _y , 259.7);
setProperty("/p" + /:a, _alpha , 100);
tellTarget (["/p" + /:a]) {
gotoAndStop(eval (("/:p" add /:a) add "y"));
};
tellTarget ([("/p" + /:a) + "/move"]) {
gotoAndStop(eval (("/:p" add /:a) add "x"));
};
Set(("/p" + /:a) + ":ID", /:a);
Set(("/p" + /:a) + ":move", 1);
Set(("/p" + /:a) + ":speed", 1);
Set(("/p" + /:a) + ":depthID", /:a);
Set("/:depthID" + /:a, /:a);
Set("/:a", /:a + 1);
} while (pCount >= /:a);
Set("/:check", 1);
Set("/:check2", 1);
Frame 23
gotoAndStop (6);
Frame 24
gotoAndStop (6);
Frame 25
stop();
Frame 26
gotoAndStop (6);
Frame 27
gotoAndStop (6);
Frame 28
stop();
Frame 29
gotoAndStop (6);
Frame 30
gotoAndStop (6);
Frame 31
stop();
Symbol 14 Button
on (release) {
Set("/:tries", 3);
Set("/:score", 0);
gotoAndStop (7);
}
Symbol 31 MovieClip Frame 3
stop();
Symbol 33 MovieClip Frame 1
stop();
Symbol 33 MovieClip Frame 2
tellTarget ("/move") {
gotoAndStop ("disable");
};
Symbol 33 MovieClip Frame 16
a = 1;
do {
if (/move:clawX < eval (("/:p" add a) add "x")) {
if (4 >= (eval (("/:p" add a) add "x") - /move:clawX)) {
if (1 >= (eval (("/:p" add a) add "x") - /move:clawX)) {
keepx = 1;
} else {
keepx = 0;
}
if (Number(/move:clawY) < Number(eval (("/:p" add a) add "y"))) {
if (4 >= Number(eval (("/:p" add a) add "y") - /move:clawY)) {
if (1 >= Number(eval (("/:p" add a) add "y") - /move:clawY)) {
keepy = 1;
} else {
keepy = 0;
}
if ((Number(keepx) == 1) and (Number(keepy) == 1)) {
Set("/:keep", 1);
Set("/:keeper", a);
}
tellTarget (("/p" + a) + "/move/action") {
gotoAndPlay ("grabbed");
};
Set(("/p" + a) + "/move/action:grabbed", a);
if (/:keep == 1) {
a = /:pCount + 1;
}
}
} else if (4 >= Number(/move:clawY - eval (("/:p" add a) add "y"))) {
if (1 >= Number(/move:clawY - eval (("/:p" add a) add "y"))) {
keepy = 1;
} else {
keepy = 0;
}
if ((Number(keepx) == 1) and (Number(keepy) == 1)) {
Set("/:keep", 1);
Set("/:keeper", a);
}
tellTarget (("/p" + a) + "/move/action") {
gotoAndPlay ("grabbed");
};
Set(("/p" + a) + "/move/action:grabbed", a);
if (/:keep == 1) {
a = /:pCount + 1;
}
}
}
} else if (4 >= Number(/move:clawX - eval (("/:p" add a) add "x"))) {
if (1 >= Number(/move:clawX - eval (("/:p" add a) add "x"))) {
keepx = 1;
} else {
keepx = 0;
}
if (Number(/move:clawY) < Number(eval (("/:p" add a) add "y"))) {
if (4 >= Number(eval (("/:p" add a) add "y") - /move:clawY)) {
if (1 >= Number(eval (("/:p" add a) add "y") - /move:clawY)) {
keepy = 1;
} else {
keepy = 0;
}
if ((Number(keepx) == 1) and (Number(keepy) == 1)) {
Set("/:keep", 1);
Set("/:keeper", a);
}
tellTarget (("/p" + a) + "/move/action") {
gotoAndPlay ("grabbed");
};
Set(("/p" + a) + "/move/action:grabbed", a);
if (/:keep == 1) {
a = /:pCount + 1;
}
}
} else if (4 >= Number(/move:clawY - eval (("/:p" add a) add "y"))) {
if (1 >= Number(/move:clawY - eval (("/:p" add a) add "y"))) {
keepy = 1;
} else {
keepy = 0;
}
if ((Number(keepx) == 1) and (Number(keepy) == 1)) {
Set("/:keep", 1);
Set("/:keeper", a);
}
tellTarget (("/p" + a) + "/move/action") {
gotoAndPlay ("grabbed");
};
Set(("/p" + a) + "/move/action:grabbed", a);
if (/:keep == 1) {
a = /:pCount + 1;
}
}
}
a = a + 1;
} while (/:pCount >= a);
Symbol 33 MovieClip Frame 25
stop();
tellTarget ("/move") {
gotoAndPlay ("moveBack");
};
Symbol 33 MovieClip Frame 28
if (Number(/:keep) == 1) {
tellTarget (("/p" + /:keeper) + "/move/action") {
gotoAndStop ("chute");
Set("/:keep", 0);
};
} else {
Set("/:tries", /:tries - 1);
if (/:pDropped eq "") {
if (0 < /:bronto) {
Set("/:pDropped", "bronto");
} else if (0 < /:cupie) {
Set("/:pDropped", "cupie");
} else if (0 < /:bear) {
Set("/:pDropped", "bear");
} else if (0 < /:monkey) {
Set("/:pDropped", "monkey");
} else if (0 < /:beaver) {
Set("/:pDropped", "beaver");
} else if (0 < /:bunny) {
Set("/:pDropped", "bunny");
}
}
tellTarget ("/taunt") {
gotoAndPlay(/:pDropped);
};
tellTarget ("/move") {
gotoAndStop ("stop");
};
}
gotoAndStop (1);
Symbol 36 MovieClip Frame 1
stop();
if (/:check2 == 1) {
Set("/:check2", 0);
} else if (1 < /move:clawY) {
tellTarget ("/sound") {
gotoAndStop ("hitWall");
};
}
Symbol 36 MovieClip Frame 25
tellTarget ("/sound") {
gotoAndStop ("hitWall");
};
Symbol 37 MovieClip Frame 1
stop();
if (/:check == 1) {
Set("/:check", 0);
} else {
tellTarget ("/sound") {
gotoAndStop ("hitWall");
};
}
Symbol 37 MovieClip Frame 25
tellTarget ("/sound") {
gotoAndStop ("hitWall");
};
Symbol 46 MovieClip Frame 1
move = ../../../:move;
ID = ../../../:ID;
speed = ../../../:speed;
depthID = ../../../:depthID;
if (move == 1) {
gotoAndStop (81);
} else if (Number(Number(random(15)) + 1) == 10) {
gotoAndPlay (4);
}
Symbol 46 MovieClip Frame 3
gotoAndPlay (1);
Symbol 46 MovieClip Frame 8
gotoAndPlay (1);
Symbol 46 MovieClip Frame 15
if (1 < eval (("/:p" add ID) add "x")) {
if ((eval (("/:p" add ID) add "y") < 9) and (eval (("/:p" add ID) add "x") < 13)) {
gotoAndStop (81);
} else {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thatX < thisX) and ((thisX - 5) < thatX)) and ((thatY < (thisY + 5)) and ((thisY - 5) < thatY))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "x", eval (("/:p" add ID) add "x") - 1);
tellTarget (("/p" + ID) + "/move") {
prevFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
}
} else {
gotoAndStop (81);
}
Symbol 46 MovieClip Frame 19
count = count + 1;
if (count == speed) {
count = 0;
gotoAndPlay (10);
}
Symbol 46 MovieClip Frame 21
gotoAndPlay (19);
Symbol 46 MovieClip Frame 28
if (eval (("/:p" add ID) add "x") < (/move:gridWidth - 1)) {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thisX < thatX) and (thatX < (thisX + 5))) and ((thatY < (thisY + 5)) and ((thisY - 5) < thatY))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "x", eval (("/:p" add ID) add "x") + 1);
tellTarget (("/p" + ID) + "/move") {
nextFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
} else {
gotoAndStop (81);
}
Symbol 46 MovieClip Frame 32
count = count + 1;
if (count == speed) {
count = 0;
gotoAndPlay (23);
}
Symbol 46 MovieClip Frame 34
gotoAndPlay (32);
Symbol 46 MovieClip Frame 44
if (eval (("/:p" add ID) add "y") < (/move:gridDepth - 1)) {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thisY < thatY) and (thatY < (thisY + 5))) and ((thatX < (thisX + 5)) and ((thisX - 5) < thatX))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "y", eval (("/:p" add ID) add "y") + 1);
tellTarget ("/p" + ID) {
nextFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
} else {
gotoAndStop (81);
}
Symbol 46 MovieClip Frame 52
if (eval (("/:p" add ID) add "y") < (/move:gridDepth - 1)) {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thisY < thatY) and (thatY < (thisY + 5))) and ((thatX < (thisX + 5)) and ((thisX - 5) < thatX))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "y", eval (("/:p" add ID) add "y") + 1);
tellTarget ("/p" + ID) {
nextFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
} else {
gotoAndStop (81);
}
Symbol 46 MovieClip Frame 55
count = count + 1;
if (count == speed) {
count = 0;
gotoAndPlay (36);
}
Symbol 46 MovieClip Frame 57
gotoAndPlay (55);
Symbol 46 MovieClip Frame 66
if (1 < eval (("/:p" add ID) add "y")) {
if ((eval (("/:p" add ID) add "y") < 9) and (eval (("/:p" add ID) add "x") < 13)) {
gotoAndStop (81);
} else {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thatY < thisY) and ((thisY - 5) < thatY)) and ((thatX < (thisX + 5)) and ((thisX - 5) < thatX))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "y", eval (("/:p" add ID) add "y") - 1);
tellTarget ("/p" + ID) {
prevFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
}
} else {
gotoAndStop (81);
}
Symbol 46 MovieClip Frame 74
if (1 < eval (("/:p" add ID) add "y")) {
if ((eval (("/:p" add ID) add "y") < 9) and (eval (("/:p" add ID) add "x") < 13)) {
gotoAndStop (81);
} else {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thatY < thisY) and ((thisY - 5) < thatY)) and ((thatX < (thisX + 5)) and ((thisX - 5) < thatX))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "y", eval (("/:p" add ID) add "y") - 1);
tellTarget ("/p" + ID) {
prevFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
}
} else {
gotoAndStop (81);
}
Symbol 46 MovieClip Frame 77
count = count + 1;
if (count == speed) {
count = 0;
gotoAndPlay (59);
}
Symbol 46 MovieClip Frame 79
gotoAndPlay (77);
Symbol 46 MovieClip Frame 81
choose = random(4) + 1;
if (choose == 1) {
choose = 0;
gotoAndPlay (23);
} else if (choose == 2) {
choose = 0;
gotoAndPlay (10);
} else if (choose == 3) {
choose = 0;
gotoAndPlay (36);
} else if (choose == 4) {
choose = 0;
gotoAndPlay (59);
}
Symbol 54 MovieClip Frame 18
stop();
Symbol 54 MovieClip Frame 19
stop();
Symbol 57 MovieClip Frame 2
if ((random(2) + 1) == 2) {
gotoAndPlay (22);
}
Symbol 57 MovieClip Frame 12
_root.chute.swapDepths("_root.p" + /:keeper);
Symbol 57 MovieClip Frame 21
stop();
Set("/:score", /:score + 1);
Set("/:pLeft", /:pLeft - 1);
tellTarget ("_root.win") {
gotoAndPlay ("bear");
};
Set(("/:p" + /:keeper) + "x", -500);
Set(("/:p" + /:keeper) + "y", -500);
tellTarget ("/move") {
gotoAndStop ("stop");
};
Set("/:keeper", 0);
Symbol 57 MovieClip Frame 69
_root.chute.swapDepths("_root.p" + /:keeper);
Symbol 57 MovieClip Frame 78
stop();
Set("/:score", /:score + 1);
Set("/:pLeft", /:pLeft - 1);
tellTarget ("_root.win") {
gotoAndPlay ("bear");
};
Set(("/:p" + /:keeper) + "x", -500);
Set(("/:p" + /:keeper) + "y", -500);
tellTarget ("/move") {
gotoAndStop ("stop");
};
Set("/:keeper", 0);
Symbol 58 MovieClip Frame 1
Set("/:bear", /:bear + 1);
stop();
Symbol 58 MovieClip Frame 13
if ((Number(/:keep) == 1) and (grabbed == /:keeper)) {
gotoAndStop (27);
} else {
gotoAndPlay (15);
}
Symbol 58 MovieClip Frame 25
Set("/:pDropped", "bear");
gotoAndPlay (1);
Symbol 58 MovieClip Frame 27
stop();
_root.chute.swapDepths("_root.p" + /:keeper);
Symbol 58 MovieClip Frame 29
Set("/:bear", /:bear - 1);
stop();
Symbol 60 MovieClip Frame 1
stop();
Symbol 61 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 1
move = ../../../:move;
ID = ../../../:ID;
speed = ../../../:speed;
depthID = ../../../:depthID;
if (move == 1) {
gotoAndStop (81);
} else if (Number(Number(random(15)) + 1) == 10) {
gotoAndPlay (4);
}
Symbol 70 MovieClip Frame 3
gotoAndPlay (1);
Symbol 70 MovieClip Frame 8
gotoAndPlay (1);
Symbol 70 MovieClip Frame 15
if (1 < eval (("/:p" add ID) add "x")) {
if ((eval (("/:p" add ID) add "y") < 9) and (eval (("/:p" add ID) add "x") < 13)) {
gotoAndStop (81);
} else {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thatX < thisX) and ((thisX - 5) < thatX)) and ((thatY < (thisY + 5)) and ((thisY - 5) < thatY))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "x", eval (("/:p" add ID) add "x") - 1);
tellTarget (("/p" + ID) + "/move") {
prevFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
}
} else {
gotoAndStop (81);
}
Symbol 70 MovieClip Frame 19
count = count + 1;
if (count == speed) {
count = 0;
gotoAndPlay (10);
}
Symbol 70 MovieClip Frame 21
gotoAndPlay (19);
Symbol 70 MovieClip Frame 28
if (eval (("/:p" add ID) add "x") < (/move:gridWidth - 1)) {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thisX < thatX) and (thatX < (thisX + 5))) and ((thatY < (thisY + 5)) and ((thisY - 5) < thatY))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "x", eval (("/:p" add ID) add "x") + 1);
tellTarget (("/p" + ID) + "/move") {
nextFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
} else {
gotoAndStop (81);
}
Symbol 70 MovieClip Frame 32
count = count + 1;
if (count == speed) {
count = 0;
gotoAndPlay (23);
}
Symbol 70 MovieClip Frame 34
gotoAndPlay (32);
Symbol 70 MovieClip Frame 44
if (eval (("/:p" add ID) add "y") < (/move:gridDepth - 1)) {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thisY < thatY) and (thatY < (thisY + 5))) and ((thatX < (thisX + 5)) and ((thisX - 5) < thatX))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "y", eval (("/:p" add ID) add "y") + 1);
tellTarget ("/p" + ID) {
nextFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
} else {
gotoAndStop (81);
}
Symbol 70 MovieClip Frame 52
if (eval (("/:p" add ID) add "y") < (/move:gridDepth - 1)) {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thisY < thatY) and (thatY < (thisY + 5))) and ((thatX < (thisX + 5)) and ((thisX - 5) < thatX))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "y", eval (("/:p" add ID) add "y") + 1);
tellTarget ("/p" + ID) {
nextFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
} else {
gotoAndStop (81);
}
Symbol 70 MovieClip Frame 55
count = count + 1;
if (count == speed) {
count = 0;
gotoAndPlay (36);
}
Symbol 70 MovieClip Frame 57
gotoAndPlay (55);
Symbol 70 MovieClip Frame 66
if (1 < eval (("/:p" add ID) add "y")) {
if ((eval (("/:p" add ID) add "y") < 9) and (eval (("/:p" add ID) add "x") < 13)) {
gotoAndStop (81);
} else {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thatY < thisY) and ((thisY - 5) < thatY)) and ((thatX < (thisX + 5)) and ((thisX - 5) < thatX))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "y", eval (("/:p" add ID) add "y") - 1);
tellTarget ("/p" + ID) {
prevFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
}
} else {
gotoAndStop (81);
}
Symbol 70 MovieClip Frame 74
if (1 < eval (("/:p" add ID) add "y")) {
if ((eval (("/:p" add ID) add "y") < 9) and (eval (("/:p" add ID) add "x") < 13)) {
gotoAndStop (81);
} else {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thatY < thisY) and ((thisY - 5) < thatY)) and ((thatX < (thisX + 5)) and ((thisX - 5) < thatX))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "y", eval (("/:p" add ID) add "y") - 1);
tellTarget ("/p" + ID) {
prevFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
}
} else {
gotoAndStop (81);
}
Symbol 70 MovieClip Frame 77
count = count + 1;
if (count == speed) {
count = 0;
gotoAndPlay (59);
}
Symbol 70 MovieClip Frame 79
gotoAndPlay (77);
Symbol 70 MovieClip Frame 81
choose = random(4) + 1;
if (choose == 1) {
choose = 0;
gotoAndPlay (23);
} else if (choose == 2) {
choose = 0;
gotoAndPlay (10);
} else if (choose == 3) {
choose = 0;
gotoAndPlay (36);
} else if (choose == 4) {
choose = 0;
gotoAndPlay (59);
}
Symbol 76 MovieClip Frame 18
stop();
Symbol 76 MovieClip Frame 19
stop();
Symbol 83 MovieClip Frame 2
if ((random(2) + 1) == 2) {
gotoAndPlay (22);
}
Symbol 83 MovieClip Frame 12
_root.chute.swapDepths("_root.p" + /:keeper);
Symbol 83 MovieClip Frame 21
stop();
Set("/:score", /:score + 1);
Set("/:pLeft", /:pLeft - 1);
tellTarget ("_root.win") {
gotoAndPlay ("cupie");
};
Set(("/:p" + /:keeper) + "x", -500);
Set(("/:p" + /:keeper) + "y", -500);
tellTarget ("/move") {
gotoAndStop ("stop");
};
Set("/:keeper", 0);
Symbol 83 MovieClip Frame 53
_root.chute.swapDepths("_root.p" + /:keeper);
Symbol 83 MovieClip Frame 62
stop();
Set("/:score", /:score + 1);
Set("/:pLeft", /:pLeft - 1);
tellTarget ("_root.win") {
gotoAndPlay ("cupie");
};
Set(("/:p" + /:keeper) + "x", -500);
Set(("/:p" + /:keeper) + "y", -500);
tellTarget ("/move") {
gotoAndStop ("stop");
};
Set("/:keeper", 0);
Symbol 84 MovieClip Frame 1
Set("/:cupie", /:cupie + 1);
stop();
Symbol 84 MovieClip Frame 13
if ((Number(/:keep) == 1) and (grabbed == /:keeper)) {
gotoAndStop (27);
} else {
gotoAndPlay (15);
}
Symbol 84 MovieClip Frame 25
Set("/:pDropped", "cupie");
gotoAndPlay (1);
Symbol 84 MovieClip Frame 27
stop();
_root.chute.swapDepths("_root.p" + /:keeper);
Symbol 84 MovieClip Frame 29
Set("/:cupie", /:cupie - 1);
stop();
Symbol 85 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 1
move = ../../../:move;
ID = ../../../:ID;
speed = ../../../:speed;
depthID = ../../../:depthID;
if (move == 1) {
gotoAndStop (81);
} else if (Number(Number(random(15)) + 1) == 10) {
gotoAndPlay (4);
}
Symbol 98 MovieClip Frame 3
gotoAndPlay (1);
Symbol 98 MovieClip Frame 8
gotoAndPlay (1);
Symbol 98 MovieClip Frame 15
if (1 < eval (("/:p" add ID) add "x")) {
if ((eval (("/:p" add ID) add "y") < 9) and (eval (("/:p" add ID) add "x") < 13)) {
gotoAndStop (81);
} else {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thatX < thisX) and ((thisX - 5) < thatX)) and ((thatY < (thisY + 5)) and ((thisY - 5) < thatY))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "x", eval (("/:p" add ID) add "x") - 1);
tellTarget (("/p" + ID) + "/move") {
prevFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
}
} else {
gotoAndStop (81);
}
Symbol 98 MovieClip Frame 19
count = count + 1;
if (count == speed) {
count = 0;
gotoAndPlay (10);
}
Symbol 98 MovieClip Frame 21
gotoAndPlay (19);
Symbol 98 MovieClip Frame 28
if (eval (("/:p" add ID) add "x") < (/move:gridWidth - 1)) {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thisX < thatX) and (thatX < (thisX + 5))) and ((thatY < (thisY + 5)) and ((thisY - 5) < thatY))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "x", eval (("/:p" add ID) add "x") + 1);
tellTarget (("/p" + ID) + "/move") {
nextFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
} else {
gotoAndStop (81);
}
Symbol 98 MovieClip Frame 32
count = count + 1;
if (count == speed) {
count = 0;
gotoAndPlay (23);
}
Symbol 98 MovieClip Frame 34
gotoAndPlay (32);
Symbol 98 MovieClip Frame 44
if (eval (("/:p" add ID) add "y") < (/move:gridDepth - 1)) {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thisY < thatY) and (thatY < (thisY + 5))) and ((thatX < (thisX + 5)) and ((thisX - 5) < thatX))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "y", eval (("/:p" add ID) add "y") + 1);
tellTarget ("/p" + ID) {
nextFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
} else {
gotoAndStop (81);
}
Symbol 98 MovieClip Frame 52
if (eval (("/:p" add ID) add "y") < (/move:gridDepth - 1)) {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thisY < thatY) and (thatY < (thisY + 5))) and ((thatX < (thisX + 5)) and ((thisX - 5) < thatX))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "y", eval (("/:p" add ID) add "y") + 1);
tellTarget ("/p" + ID) {
nextFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
} else {
gotoAndStop (81);
}
Symbol 98 MovieClip Frame 55
count = count + 1;
if (count == speed) {
count = 0;
gotoAndPlay (36);
}
Symbol 98 MovieClip Frame 57
gotoAndPlay (55);
Symbol 98 MovieClip Frame 66
if (1 < eval (("/:p" add ID) add "y")) {
if ((eval (("/:p" add ID) add "y") < 9) and (eval (("/:p" add ID) add "x") < 13)) {
gotoAndStop (81);
} else {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thatY < thisY) and ((thisY - 5) < thatY)) and ((thatX < (thisX + 5)) and ((thisX - 5) < thatX))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "y", eval (("/:p" add ID) add "y") - 1);
tellTarget ("/p" + ID) {
prevFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
}
} else {
gotoAndStop (81);
}
Symbol 98 MovieClip Frame 74
if (1 < eval (("/:p" add ID) add "y")) {
if ((eval (("/:p" add ID) add "y") < 9) and (eval (("/:p" add ID) add "x") < 13)) {
gotoAndStop (81);
} else {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thatY < thisY) and ((thisY - 5) < thatY)) and ((thatX < (thisX + 5)) and ((thisX - 5) < thatX))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "y", eval (("/:p" add ID) add "y") - 1);
tellTarget ("/p" + ID) {
prevFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
}
} else {
gotoAndStop (81);
}
Symbol 98 MovieClip Frame 77
count = count + 1;
if (count == speed) {
count = 0;
gotoAndPlay (59);
}
Symbol 98 MovieClip Frame 79
gotoAndPlay (77);
Symbol 98 MovieClip Frame 81
choose = random(4) + 1;
if (choose == 1) {
choose = 0;
gotoAndPlay (23);
} else if (choose == 2) {
choose = 0;
gotoAndPlay (10);
} else if (choose == 3) {
choose = 0;
gotoAndPlay (36);
} else if (choose == 4) {
choose = 0;
gotoAndPlay (59);
}
Symbol 104 MovieClip Frame 18
stop();
Symbol 104 MovieClip Frame 19
stop();
Symbol 123 MovieClip Frame 11
if ((random(2) + 1) == 2) {
gotoAndPlay (34);
}
Symbol 123 MovieClip Frame 34
_root.chute.swapDepths("_root.p" + /:keeper);
Symbol 123 MovieClip Frame 43
stop();
Set("/:score", /:score + 1);
Set("/:pLeft", /:pLeft - 1);
tellTarget ("_root.win") {
gotoAndPlay ("bronto");
};
Set(("/:p" + /:keeper) + "x", -500);
Set(("/:p" + /:keeper) + "y", -500);
tellTarget ("/move") {
gotoAndStop ("stop");
};
Set("/:keeper", 0);
Symbol 124 MovieClip Frame 1
stop();
Set("/:bronto", /:bronto + 1);
Symbol 124 MovieClip Frame 13
if ((Number(/:keep) == 1) and (grabbed == /:keeper)) {
gotoAndStop (27);
} else {
gotoAndPlay (15);
}
Symbol 124 MovieClip Frame 25
Set("/:pDropped", "bronto");
gotoAndPlay (1);
Symbol 124 MovieClip Frame 27
stop();
_root.chute.swapDepths("_root.p" + /:keeper);
Symbol 124 MovieClip Frame 29
Set("/:bronto", /:bronto - 1);
stop();
Symbol 125 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 1
move = ../../../:move;
ID = ../../../:ID;
speed = ../../../:speed;
depthID = ../../../:depthID;
if (move == 1) {
gotoAndStop (81);
} else if (Number(Number(random(15)) + 1) == 10) {
gotoAndPlay (4);
}
Symbol 136 MovieClip Frame 3
gotoAndPlay (1);
Symbol 136 MovieClip Frame 8
gotoAndPlay (1);
Symbol 136 MovieClip Frame 15
if (1 < eval (("/:p" add ID) add "x")) {
if ((eval (("/:p" add ID) add "y") < 9) and (eval (("/:p" add ID) add "x") < 13)) {
gotoAndStop (81);
} else {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thatX < thisX) and ((thisX - 5) < thatX)) and ((thatY < (thisY + 5)) and ((thisY - 5) < thatY))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "x", eval (("/:p" add ID) add "x") - 1);
tellTarget (("/p" + ID) + "/move") {
prevFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
}
} else {
gotoAndStop (81);
}
Symbol 136 MovieClip Frame 19
count = count + 1;
if (count == speed) {
count = 0;
gotoAndPlay (10);
}
Symbol 136 MovieClip Frame 21
gotoAndPlay (19);
Symbol 136 MovieClip Frame 28
if (eval (("/:p" add ID) add "x") < (/move:gridWidth - 1)) {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thisX < thatX) and (thatX < (thisX + 5))) and ((thatY < (thisY + 5)) and ((thisY - 5) < thatY))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "x", eval (("/:p" add ID) add "x") + 1);
tellTarget (("/p" + ID) + "/move") {
nextFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
} else {
gotoAndStop (81);
}
Symbol 136 MovieClip Frame 32
count = count + 1;
if (count == speed) {
count = 0;
gotoAndPlay (23);
}
Symbol 136 MovieClip Frame 34
gotoAndPlay (32);
Symbol 136 MovieClip Frame 44
if (eval (("/:p" add ID) add "y") < (/move:gridDepth - 1)) {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thisY < thatY) and (thatY < (thisY + 5))) and ((thatX < (thisX + 5)) and ((thisX - 5) < thatX))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "y", eval (("/:p" add ID) add "y") + 1);
tellTarget ("/p" + ID) {
nextFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
} else {
gotoAndStop (81);
}
Symbol 136 MovieClip Frame 52
if (eval (("/:p" add ID) add "y") < (/move:gridDepth - 1)) {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thisY < thatY) and (thatY < (thisY + 5))) and ((thatX < (thisX + 5)) and ((thisX - 5) < thatX))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "y", eval (("/:p" add ID) add "y") + 1);
tellTarget ("/p" + ID) {
nextFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
} else {
gotoAndStop (81);
}
Symbol 136 MovieClip Frame 55
count = count + 1;
if (count == speed) {
count = 0;
gotoAndPlay (36);
}
Symbol 136 MovieClip Frame 57
gotoAndPlay (55);
Symbol 136 MovieClip Frame 66
if (1 < eval (("/:p" add ID) add "y")) {
if ((eval (("/:p" add ID) add "y") < 9) and (eval (("/:p" add ID) add "x") < 13)) {
gotoAndStop (81);
} else {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thatY < thisY) and ((thisY - 5) < thatY)) and ((thatX < (thisX + 5)) and ((thisX - 5) < thatX))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "y", eval (("/:p" add ID) add "y") - 1);
tellTarget ("/p" + ID) {
prevFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
}
} else {
gotoAndStop (81);
}
Symbol 136 MovieClip Frame 74
if (1 < eval (("/:p" add ID) add "y")) {
if ((eval (("/:p" add ID) add "y") < 9) and (eval (("/:p" add ID) add "x") < 13)) {
gotoAndStop (81);
} else {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thatY < thisY) and ((thisY - 5) < thatY)) and ((thatX < (thisX + 5)) and ((thisX - 5) < thatX))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "y", eval (("/:p" add ID) add "y") - 1);
tellTarget ("/p" + ID) {
prevFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
}
} else {
gotoAndStop (81);
}
Symbol 136 MovieClip Frame 77
count = count + 1;
if (count == speed) {
count = 0;
gotoAndPlay (59);
}
Symbol 136 MovieClip Frame 79
gotoAndPlay (77);
Symbol 136 MovieClip Frame 81
choose = random(4) + 1;
if (choose == 1) {
choose = 0;
gotoAndPlay (23);
} else if (choose == 2) {
choose = 0;
gotoAndPlay (10);
} else if (choose == 3) {
choose = 0;
gotoAndPlay (36);
} else if (choose == 4) {
choose = 0;
gotoAndPlay (59);
}
Symbol 143 MovieClip Frame 19
stop();
Symbol 143 MovieClip Frame 20
stop();
Symbol 144 MovieClip Frame 11
_root.chute.swapDepths("_root.p" + /:keeper);
Symbol 144 MovieClip Frame 20
stop();
Set("/:score", /:score + 1);
Set("/:pLeft", /:pLeft - 1);
tellTarget ("_root.win") {
gotoAndPlay ("monkey");
};
Set(("/:p" + /:keeper) + "x", -500);
Set(("/:p" + /:keeper) + "y", -500);
tellTarget ("/move") {
gotoAndStop ("stop");
};
Set("/:keeper", 0);
Symbol 145 MovieClip Frame 1
Set("/:monkey", /:monkey + 1);
stop();
Symbol 145 MovieClip Frame 13
if ((Number(/:keep) == 1) and (grabbed == /:keeper)) {
gotoAndStop (27);
} else {
gotoAndPlay (15);
}
Symbol 145 MovieClip Frame 25
Set("/:pDropped", "monkey");
gotoAndStop (1);
Symbol 145 MovieClip Frame 27
stop();
_root.chute.swapDepths("_root.p" + /:keeper);
Symbol 145 MovieClip Frame 29
Set("/:monkey", /:monkey - 1);
stop();
Symbol 146 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 1
stop();
Symbol 157 MovieClip Frame 1
move = ../../../:move;
ID = ../../../:ID;
speed = ../../../:speed;
depthID = ../../../:depthID;
if (move == 1) {
gotoAndStop (81);
} else if (Number(Number(random(15)) + 1) == 10) {
gotoAndPlay (4);
}
Symbol 157 MovieClip Frame 3
gotoAndPlay (1);
Symbol 157 MovieClip Frame 8
gotoAndPlay (1);
Symbol 157 MovieClip Frame 15
if (1 < eval (("/:p" add ID) add "x")) {
if ((eval (("/:p" add ID) add "y") < 9) and (eval (("/:p" add ID) add "x") < 13)) {
gotoAndStop (81);
} else {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thatX < thisX) and ((thisX - 5) < thatX)) and ((thatY < (thisY + 5)) and ((thisY - 5) < thatY))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "x", eval (("/:p" add ID) add "x") - 1);
tellTarget (("/p" + ID) + "/move") {
prevFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
}
} else {
gotoAndStop (81);
}
Symbol 157 MovieClip Frame 19
count = count + 1;
if (count == speed) {
count = 0;
gotoAndPlay (10);
}
Symbol 157 MovieClip Frame 21
gotoAndPlay (19);
Symbol 157 MovieClip Frame 28
if (eval (("/:p" add ID) add "x") < (/move:gridWidth - 1)) {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thisX < thatX) and (thatX < (thisX + 5))) and ((thatY < (thisY + 5)) and ((thisY - 5) < thatY))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "x", eval (("/:p" add ID) add "x") + 1);
tellTarget (("/p" + ID) + "/move") {
nextFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
} else {
gotoAndStop (81);
}
Symbol 157 MovieClip Frame 32
count = count + 1;
if (count == speed) {
count = 0;
gotoAndPlay (23);
}
Symbol 157 MovieClip Frame 34
gotoAndPlay (32);
Symbol 157 MovieClip Frame 44
if (eval (("/:p" add ID) add "y") < (/move:gridDepth - 1)) {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thisY < thatY) and (thatY < (thisY + 5))) and ((thatX < (thisX + 5)) and ((thisX - 5) < thatX))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "y", eval (("/:p" add ID) add "y") + 1);
tellTarget ("/p" + ID) {
nextFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
} else {
gotoAndStop (81);
}
Symbol 157 MovieClip Frame 52
if (eval (("/:p" add ID) add "y") < (/move:gridDepth - 1)) {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thisY < thatY) and (thatY < (thisY + 5))) and ((thatX < (thisX + 5)) and ((thisX - 5) < thatX))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "y", eval (("/:p" add ID) add "y") + 1);
tellTarget ("/p" + ID) {
nextFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
} else {
gotoAndStop (81);
}
Symbol 157 MovieClip Frame 55
count = count + 1;
if (count == speed) {
count = 0;
gotoAndPlay (36);
}
Symbol 157 MovieClip Frame 57
gotoAndPlay (55);
Symbol 157 MovieClip Frame 66
if (1 < eval (("/:p" add ID) add "y")) {
if ((eval (("/:p" add ID) add "y") < 9) and (eval (("/:p" add ID) add "x") < 13)) {
gotoAndStop (81);
} else {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thatY < thisY) and ((thisY - 5) < thatY)) and ((thatX < (thisX + 5)) and ((thisX - 5) < thatX))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "y", eval (("/:p" add ID) add "y") - 1);
tellTarget ("/p" + ID) {
prevFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
}
} else {
gotoAndStop (81);
}
Symbol 157 MovieClip Frame 74
if (1 < eval (("/:p" add ID) add "y")) {
if ((eval (("/:p" add ID) add "y") < 9) and (eval (("/:p" add ID) add "x") < 13)) {
gotoAndStop (81);
} else {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thatY < thisY) and ((thisY - 5) < thatY)) and ((thatX < (thisX + 5)) and ((thisX - 5) < thatX))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "y", eval (("/:p" add ID) add "y") - 1);
tellTarget ("/p" + ID) {
prevFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
}
} else {
gotoAndStop (81);
}
Symbol 157 MovieClip Frame 77
count = count + 1;
if (count == speed) {
count = 0;
gotoAndPlay (59);
}
Symbol 157 MovieClip Frame 79
gotoAndPlay (77);
Symbol 157 MovieClip Frame 81
choose = random(4) + 1;
if (choose == 1) {
choose = 0;
gotoAndPlay (23);
} else if (choose == 2) {
choose = 0;
gotoAndPlay (10);
} else if (choose == 3) {
choose = 0;
gotoAndPlay (36);
} else if (choose == 4) {
choose = 0;
gotoAndPlay (59);
}
Symbol 162 MovieClip Frame 18
stop();
Symbol 162 MovieClip Frame 19
stop();
Symbol 170 MovieClip Frame 11
if ((random(2) + 1) == 2) {
gotoAndPlay (33);
}
Symbol 170 MovieClip Frame 33
_root.chute.swapDepths("_root.p" + /:keeper);
Symbol 170 MovieClip Frame 42
stop();
Set("/:score", /:score + 1);
Set("/:pLeft", /:pLeft - 1);
tellTarget ("_root.win") {
gotoAndPlay ("beaver");
};
Set(("/:p" + /:keeper) + "x", -500);
Set(("/:p" + /:keeper) + "y", -500);
tellTarget ("/move") {
gotoAndStop ("stop");
};
Set("/:keeper", 0);
Symbol 171 MovieClip Frame 1
Set("/:beaver", /:beaver + 1);
stop();
Symbol 171 MovieClip Frame 13
if ((Number(/:keep) == 1) and (grabbed == /:keeper)) {
gotoAndStop (27);
} else {
gotoAndPlay (15);
}
Symbol 171 MovieClip Frame 25
Set("/:pDropped", "beaver");
gotoAndPlay (1);
Symbol 171 MovieClip Frame 27
stop();
_root.chute.swapDepths("_root.p" + /:keeper);
Symbol 171 MovieClip Frame 29
Set("/:beaver", /:beaver - 1);
stop();
Symbol 172 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 1
stop();
Symbol 182 MovieClip Frame 1
move = ../../../:move;
ID = ../../../:ID;
Set("../:ID", ../../../:ID);
speed = ../../../:speed;
depthID = ../../../:depthID;
if (move == 1) {
gotoAndStop (81);
} else if (Number(Number(random(15)) + 1) == 10) {
gotoAndPlay (4);
}
Symbol 182 MovieClip Frame 3
gotoAndPlay (1);
Symbol 182 MovieClip Frame 8
gotoAndPlay (1);
Symbol 182 MovieClip Frame 15
if (1 < eval (("/:p" add ID) add "x")) {
if ((eval (("/:p" add ID) add "y") < 9) and (eval (("/:p" add ID) add "x") < 13)) {
gotoAndStop (81);
} else {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thatX < thisX) and ((thisX - 5) < thatX)) and ((thatY < (thisY + 5)) and ((thisY - 5) < thatY))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "x", eval (("/:p" add ID) add "x") - 1);
tellTarget (("/p" + ID) + "/move") {
prevFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
}
} else {
gotoAndStop (81);
}
Symbol 182 MovieClip Frame 19
count = count + 1;
if (count == speed) {
count = 0;
gotoAndPlay (10);
}
Symbol 182 MovieClip Frame 21
gotoAndPlay (19);
Symbol 182 MovieClip Frame 28
if (eval (("/:p" add ID) add "x") < (/move:gridWidth - 1)) {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thisX < thatX) and (thatX < (thisX + 5))) and ((thatY < (thisY + 5)) and ((thisY - 5) < thatY))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "x", eval (("/:p" add ID) add "x") + 1);
tellTarget (("/p" + ID) + "/move") {
nextFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
} else {
gotoAndStop (81);
}
Symbol 182 MovieClip Frame 32
count = count + 1;
if (count == speed) {
count = 0;
gotoAndPlay (23);
}
Symbol 182 MovieClip Frame 34
gotoAndPlay (32);
Symbol 182 MovieClip Frame 44
if (eval (("/:p" add ID) add "y") < (/move:gridDepth - 1)) {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thisY < thatY) and (thatY < (thisY + 5))) and ((thatX < (thisX + 5)) and ((thisX - 5) < thatX))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "y", eval (("/:p" add ID) add "y") + 1);
tellTarget ("/p" + ID) {
nextFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
} else {
gotoAndStop (81);
}
Symbol 182 MovieClip Frame 52
if (eval (("/:p" add ID) add "y") < (/move:gridDepth - 1)) {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thisY < thatY) and (thatY < (thisY + 5))) and ((thatX < (thisX + 5)) and ((thisX - 5) < thatX))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "y", eval (("/:p" add ID) add "y") + 1);
tellTarget ("/p" + ID) {
nextFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
} else {
gotoAndStop (81);
}
Symbol 182 MovieClip Frame 55
count = count + 1;
if (count == speed) {
count = 0;
gotoAndPlay (36);
}
Symbol 182 MovieClip Frame 57
gotoAndPlay (55);
Symbol 182 MovieClip Frame 66
if (1 < eval (("/:p" add ID) add "y")) {
if ((eval (("/:p" add ID) add "y") < 9) and (eval (("/:p" add ID) add "x") < 13)) {
gotoAndStop (81);
} else {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thatY < thisY) and ((thisY - 5) < thatY)) and ((thatX < (thisX + 5)) and ((thisX - 5) < thatX))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "y", eval (("/:p" add ID) add "y") - 1);
tellTarget ("/p" + ID) {
prevFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
}
} else {
gotoAndStop (81);
}
Symbol 182 MovieClip Frame 74
if (1 < eval (("/:p" add ID) add "y")) {
if ((eval (("/:p" add ID) add "y") < 9) and (eval (("/:p" add ID) add "x") < 13)) {
gotoAndStop (81);
} else {
a = 1;
do {
if (a != ID) {
thisX = eval (("/:p" add ID) add "x");
thisY = eval (("/:p" add ID) add "y");
thatX = eval (("/:p" add a) add "x");
thatY = eval (("/:p" add a) add "y");
if (((thatY < thisY) and ((thisY - 5) < thatY)) and ((thatX < (thisX + 5)) and ((thisX - 5) < thatX))) {
collision = 1;
}
}
a = a + 1;
} while (/:pCount >= a);
if (collision != 1) {
Set(("/:p" + ID) + "y", eval (("/:p" add ID) add "y") - 1);
tellTarget ("/p" + ID) {
prevFrame();
};
} else {
tellTarget ("/sound") {
gotoAndStop("bump" add (random(2) + 1));
};
collision = 0;
gotoAndStop (81);
}
}
} else {
gotoAndStop (81);
}
Symbol 182 MovieClip Frame 77
count = count + 1;
if (count == speed) {
count = 0;
gotoAndPlay (59);
}
Symbol 182 MovieClip Frame 79
gotoAndPlay (77);
Symbol 182 MovieClip Frame 81
choose = random(4) + 1;
if (choose == 1) {
choose = 0;
gotoAndPlay (23);
} else if (choose == 2) {
choose = 0;
gotoAndPlay (10);
} else if (choose == 3) {
choose = 0;
gotoAndPlay (36);
} else if (choose == 4) {
choose = 0;
gotoAndPlay (59);
}
Symbol 189 MovieClip Frame 19
stop();
Symbol 189 MovieClip Frame 20
stop();
Symbol 190 MovieClip Frame 11
_root.chute.swapDepths("_root.p" + /:keeper);
Symbol 190 MovieClip Frame 20
stop();
Set("/:score", /:score + 1);
Set("/:pLeft", /:pLeft - 1);
tellTarget ("_root.win") {
gotoAndPlay ("bunny");
};
Set(("/:p" + /:keeper) + "x", -500);
Set(("/:p" + /:keeper) + "y", -500);
Set("/:keeper", 0);
tellTarget ("/move") {
gotoAndStop ("stop");
};
Symbol 191 MovieClip Frame 1
Set("/:bunny", /:bunny + 1);
stop();
Symbol 191 MovieClip Frame 3
if (/:keep != 1) {
if (((random(5) + 1) == 2) and (eval (("/:p" add ID) add "x") < 17)) {
gotoAndPlay (31);
}
}
Symbol 191 MovieClip Frame 13
if ((Number(/:keep) == 1) and (grabbed == /:keeper)) {
gotoAndStop (27);
} else {
gotoAndPlay (15);
}
Symbol 191 MovieClip Frame 25
Set("/:pDropped", "bunny");
gotoAndStop (1);
Symbol 191 MovieClip Frame 27
stop();
_root.chute.swapDepths("_root.p" + /:keeper);
Symbol 191 MovieClip Frame 29
Set("/:bunny", /:bunny - 1);
stop();
Symbol 191 MovieClip Frame 51
Set("/:pDropped", "bunny");
gotoAndStop (1);
Symbol 192 MovieClip Frame 1
stop();
Symbol 193 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 1
stop();
gotoAndStop(random(3) + 2);
Symbol 206 Button
on (release) {
if (/:tries < 1) {
tellTarget ("/") {
gotoAndPlay ("gameOver");
};
gotoAndStop (1);
} else {
loop = 0;
gotoAndStop (1);
}
}
Symbol 213 MovieClip Frame 1
stop();
gotoAndStop(random(6) + 2);
Symbol 230 MovieClip Frame 1
stop();
loop = 0;
Symbol 230 MovieClip Frame 4
loop = loop + 1;
if (30 < loop) {
if (/:tries < 1) {
tellTarget ("/") {
gotoAndPlay ("gameOver");
};
} else {
loop = 0;
gotoAndStop (1);
}
} else {
loop = loop + 1;
gotoAndPlay (2);
}
Symbol 230 MovieClip Frame 8
loop = loop + 1;
if (30 < loop) {
if (/:tries < 1) {
tellTarget ("/") {
gotoAndPlay ("gameOver");
};
} else {
loop = 0;
gotoAndStop (1);
}
} else {
loop = loop + 1;
gotoAndPlay (6);
}
Symbol 230 MovieClip Frame 12
loop = loop + 1;
if (30 < loop) {
if (/:tries < 1) {
tellTarget ("/") {
gotoAndPlay ("gameOver");
};
} else {
loop = 0;
gotoAndStop (1);
}
} else {
loop = loop + 1;
gotoAndPlay (10);
}
Symbol 230 MovieClip Frame 16
loop = loop + 1;
if (30 < loop) {
if (/:tries < 1) {
tellTarget ("/") {
gotoAndPlay ("gameOver");
};
} else {
loop = 0;
gotoAndStop (1);
}
} else {
loop = loop + 1;
gotoAndPlay (14);
}
Symbol 230 MovieClip Frame 20
loop = loop + 1;
if (30 < loop) {
if (/:tries < 1) {
tellTarget ("/") {
gotoAndPlay ("gameOver");
};
} else {
loop = 0;
gotoAndStop (1);
}
} else {
loop = loop + 1;
gotoAndPlay (18);
}
Symbol 230 MovieClip Frame 24
loop = loop + 1;
if (30 < loop) {
if (/:tries < 1) {
tellTarget ("/") {
gotoAndPlay ("gameOver");
};
} else {
loop = 0;
gotoAndStop (1);
}
} else {
loop = loop + 1;
gotoAndPlay (22);
}
Symbol 232 MovieClip Frame 1
stop();
gotoAndStop (2);
Symbol 270 MovieClip Frame 1
stop();
gotoAndStop(random(18) + 2);
Symbol 271 Button
on (release) {
if (/:pLeft < 1) {
if (/:nextLevel == "gameOver") {
tellTarget ("/") {
gotoAndStop ("winner");
};
} else {
tellTarget ("/") {
gotoAndStop(/:nextLevel);
};
gotoAndStop (1);
}
} else {
gotoAndStop (1);
}
}
Symbol 278 MovieClip Frame 1
stop();
stopAllSounds();
loop = 0;
Symbol 278 MovieClip Frame 5
if (30 < loop) {
loop = 0;
if (/:pLeft < 1) {
if (/:nextLevel == "gameOver") {
tellTarget ("/") {
gotoAndStop ("winner");
};
} else {
tellTarget ("/") {
gotoAndStop(/:nextLevel);
};
}
} else {
loop = 0;
gotoAndStop (1);
}
} else {
loop = loop + 1;
gotoAndPlay (3);
}
Symbol 278 MovieClip Frame 6
gotoAndStop (1);
Symbol 278 MovieClip Frame 9
if (30 < loop) {
loop = 0;
if (/:pLeft < 1) {
if (/:nextLevel == "gameOver") {
tellTarget ("/") {
gotoAndStop ("winner");
};
} else {
tellTarget ("/") {
gotoAndStop(/:nextLevel);
};
}
} else {
loop = 0;
gotoAndStop (1);
}
} else {
loop = loop + 1;
gotoAndPlay (7);
}
Symbol 278 MovieClip Frame 10
gotoAndStop (1);
Symbol 278 MovieClip Frame 13
if (30 < loop) {
loop = 0;
if (/:pLeft < 1) {
if (/:nextLevel == "gameOver") {
tellTarget ("/") {
gotoAndStop ("winner");
};
} else {
tellTarget ("/") {
gotoAndStop(/:nextLevel);
};
}
} else {
loop = 0;
gotoAndStop (1);
}
} else {
loop = loop + 1;
gotoAndPlay (11);
}
Symbol 278 MovieClip Frame 14
gotoAndStop (1);
Symbol 278 MovieClip Frame 17
if (30 < loop) {
loop = 0;
if (/:pLeft < 1) {
if (/:nextLevel == "gameOver") {
tellTarget ("/") {
gotoAndStop ("winner");
};
} else {
tellTarget ("/") {
gotoAndStop(/:nextLevel);
};
}
} else {
loop = 0;
gotoAndStop (1);
}
} else {
loop = loop + 1;
gotoAndPlay (15);
}
Symbol 278 MovieClip Frame 18
gotoAndStop (1);
Symbol 278 MovieClip Frame 21
if (30 < loop) {
loop = 0;
if (/:pLeft < 1) {
if (/:nextLevel == "gameOver") {
tellTarget ("/") {
gotoAndStop ("winner");
};
} else {
tellTarget ("/") {
gotoAndStop(/:nextLevel);
};
}
} else {
loop = 0;
gotoAndStop (1);
}
} else {
loop = loop + 1;
gotoAndPlay (19);
}
Symbol 278 MovieClip Frame 22
gotoAndStop (1);
Symbol 278 MovieClip Frame 25
if (30 < loop) {
loop = 0;
if (/:pLeft < 1) {
if (/:nextLevel == "gameOver") {
tellTarget ("/") {
gotoAndStop ("winner");
};
} else {
tellTarget ("/") {
gotoAndStop(/:nextLevel);
};
}
} else {
loop = 0;
gotoAndStop (1);
}
} else {
loop = loop + 1;
gotoAndPlay (23);
}
Symbol 278 MovieClip Frame 26
gotoAndStop (1);
Symbol 290 MovieClip Frame 7
gotoAndPlay (1);
Symbol 294 Button
on (press) {
gotoAndPlay (13);
}
on (rollOut, release, releaseOutside) {
gotoAndStop (2);
}
Symbol 298 Button
on (press) {
gotoAndPlay (4);
}
on (rollOut, release, releaseOutside) {
gotoAndStop (2);
}
Symbol 302 Button
on (press) {
gotoAndPlay (7);
}
on (rollOut, release, releaseOutside) {
gotoAndStop (2);
}
Symbol 306 Button
on (press) {
gotoAndPlay (10);
}
on (rollOut, release, releaseOutside) {
gotoAndStop (2);
}
Symbol 313 Button
on (release) {
tellTarget ("/scale/claw/grab") {
play();
};
}
Symbol 315 MovieClip Frame 1
gridWidth = 25;
gridDepth = 25;
Symbol 315 MovieClip Frame 2
stop();
Symbol 315 MovieClip Frame 5
if (Number(clawX) < Number(gridWidth)) {
clawX = Number(clawX) + 1;
tellTarget ("../scale/claw") {
gotoAndStop(/move:clawX);
};
gotoAndPlay (4);
} else {
gotoAndStop (2);
}
Symbol 315 MovieClip Frame 8
if (1 < Number(clawX)) {
clawX = clawX - 1;
tellTarget ("../scale/claw") {
gotoAndStop(/move:clawX);
};
gotoAndPlay (7);
} else {
gotoAndStop (2);
}
Symbol 315 MovieClip Frame 11
if (Number(clawY) < Number(gridDepth)) {
clawY = clawY + 1;
tellTarget ("../scale") {
gotoAndStop(/move:clawY);
};
gotoAndPlay (10);
} else {
gotoAndStop (2);
}
Symbol 315 MovieClip Frame 14
if (1 < Number(clawY)) {
clawY = clawY - 1;
tellTarget ("../scale") {
gotoAndStop(/move:clawY);
};
gotoAndPlay (13);
} else {
gotoAndStop (2);
}
Symbol 315 MovieClip Frame 16
stop();
Symbol 315 MovieClip Frame 19
if (1 < clawY) {
clawY = clawY - 1;
tellTarget ("../scale") {
gotoAndStop(/move:clawY);
};
if (/:keep == 1) {
if (1 < eval (("/:p" add /:keeper) add "y")) {
Set(("/:p" + /:keeper) + "y", eval (("/:p" add /:keeper) add "y") - 1);
tellTarget ("/p" + /:keeper) {
gotoAndStop(eval (("/:p" add /:keeper) add "y"));
};
}
}
gotoAndPlay (18);
} else {
if (/:keep == 1) {
tellTarget (("/p" + /:keeper) + "/move/action/held") {
gotoAndStop ("smashed");
};
while (1 < eval (("/:p" add /:keeper) add "y")) {
Set(("/:p" + /:keeper) + "y", eval (("/:p" add /:keeper) add "y") - 1);
tellTarget ("/p" + /:keeper) {
gotoAndStop(eval (("/:p" add /:keeper) add "y"));
};
}
}
gotoAndPlay (21);
}
Symbol 315 MovieClip Frame 22
if (1 < clawX) {
clawX = clawX - 1;
tellTarget ("/scale/claw") {
gotoAndStop(/move:clawX);
};
if (/:keep == 1) {
if (1 < eval (("/:p" add /:keeper) add "x")) {
Set(("/:p" + /:keeper) + "x", eval (("/:p" add /:keeper) add "x") - 1);
tellTarget (("/p" + /:keeper) + "/move") {
gotoAndStop(eval (("/:p" add /:keeper) add "x"));
};
}
}
gotoAndPlay (21);
} else {
if (/:keep == 1) {
while (1 < eval (("/:p" add /:keeper) add "x")) {
Set(("/:p" + /:keeper) + "x", eval (("/:p" add /:keeper) add "x") - 1);
tellTarget (("/p" + /:keeper) + "/move") {
gotoAndStop(eval (("/:p" add /:keeper) add "x"));
};
}
}
gotoAndStop (24);
}
Symbol 315 MovieClip Frame 24
tellTarget ("/scale/claw/grab") {
play();
};
Symbol 316 MovieClip Frame 1
a = 1;
do {
thisY = eval (("/:p" add eval ("/:depthID" add a)) add "y");
thatY = eval (("/:p" add eval ("/:depthID" add (a + 1))) add "y");
if (thatY < thisY) {
oldID = eval ("/:depthID" add a);
if (/:keeper == 0) {
if (oldID == 1) {
_root.p1.swapDepths("/p" + eval ("/:depthID" add (a + 1)));
} else if (oldID == 2) {
_root.p2.swapDepths("/p" + eval ("/:depthID" add (a + 1)));
} else if (oldID == 3) {
_root.p3.swapDepths("/p" + eval ("/:depthID" add (a + 1)));
} else if (oldID == 4) {
_root.p4.swapDepths("/p" + eval ("/:depthID" add (a + 1)));
} else if (oldID == 5) {
_root.p5.swapDepths("/p" + eval ("/:depthID" add (a + 1)));
}
Set("/:depthID" + a, eval ("/:depthID" add (a + 1)));
Set("/:depthID" + (a + 1), oldID);
}
}
a = a + 1;
} while (a < /:pCount);
a = 1;
do {
thisY = eval (("/:p" add eval ("/:depthID" add a)) add "y");
if ((thisY < (/move:clawY + 4)) and (0 < thisY)) {
if (0 < /:lastSwap) {
_root.scale.swapDepths("/cSwap" + /:lastSwap);
}
_root.scale.swapDepths("/cSwap" + a);
Set("/:lastSwap", a);
} else if (a == 1) {
_root.scale.swapDepths("/cSwap" + /:lastSwap);
Set("/:lastSwap", 0);
}
a = a + 1;
} while (/:pCount >= a);
Symbol 316 MovieClip Frame 10
gotoAndPlay (1);
Symbol 320 MovieClip Frame 1
stop();
Symbol 320 MovieClip Frame 3
gotoAndStop (1);
Symbol 320 MovieClip Frame 5
gotoAndStop (1);
Symbol 320 MovieClip Frame 7
gotoAndStop (1);
Symbol 355 MovieClip Frame 1
stop();
if (/:score < 4) {
gotoAndStop (2);
} else if ((3 < /:score) and (/:score < 7)) {
gotoAndStop (3);
} else if ((6 < /:score) and (/:score < 10)) {
gotoAndStop (4);
} else if ((9 < /:score) and (/:score < 13)) {
gotoAndStop (5);
} else if ((12 < /:score) and (/:score < 16)) {
gotoAndStop (6);
} else if (15 < /:score) {
gotoAndStop (7);
}
Symbol 375 Button
on (release) {
getURL ("mailto:?subject=Cool New EA.com Game!&body=Hey there! Check this out: www.eaandpepsistuffgame.ea.com It takes you to this new game by EA.com and Pepsistuff.com with all kinds of wacky stuff going on - it's really funny! Let me know what you think ...");
}
Symbol 380 Button
on (release) {
gotoAndStop (6);
}