Frame 1
ifFrameLoaded (60) {
gotoAndPlay (7);
}
Frame 6
gotoAndPlay (1);
Frame 8
while (ny < "20") {
ny = ny + "1";
nx = "0";
while (nx < "10") {
nx = nx + "1";
duplicateMovieClip ("box", ("b" add (nx + "20")) add (ny + "20"), (ny * "10") + nx);
setProperty(("b" add (nx + "20")) add (ny + "20"), _x , (nx * "19") + "150");
setProperty(("b" add (nx + "20")) add (ny + "20"), _y , ny * "19");
Set(("c" add (nx + "20")) add "41", "1");
Set(("c" add (nx + "20")) add "20", "0");
Set(("c" add (nx + "20")) add "19", "0");
Set(("c" add (nx + "20")) add "18", "0");
}
Set("c20" add (ny + "20"), "1");
Set("c31" add (ny + "20"), "1");
}
ny = "0";
nx = "0";
while (ny < "4") {
ny = ny + "1";
while (nx < "4") {
nx = nx + "1";
Set(("x1" add ny) add nx, substring("1223323212233232", ((ny - "1") * "4") + nx, "1"));
Set(("y1" add ny) add nx, substring("2233122322331223", ((ny - "1") * "4") + nx, "1"));
Set(("x2" add ny) add nx, substring("3123222312312333", ((ny - "1") * "4") + nx, "1"));
Set(("y2" add ny) add nx, substring("2333123322231123", ((ny - "1") * "4") + nx, "1"));
Set(("x3" add ny) add nx, substring("2312223323122233", ((ny - "1") * "4") + nx, "1"));
Set(("y3" add ny) add nx, substring("2233122322331223", ((ny - "1") * "4") + nx, "1"));
Set(("x4" add ny) add nx, substring("1123232212333332", ((ny - "1") * "4") + nx, "1"));
Set(("y4" add ny) add nx, substring("2333112322231233", ((ny - "1") * "4") + nx, "1"));
Set(("x5" add ny) add nx, substring("2123223212323323", ((ny - "1") * "4") + nx, "1"));
Set(("y5" add ny) add nx, substring("2333122322231223", ((ny - "1") * "4") + nx, "1"));
Set(("x6" add ny) add nx, substring("1234222212342222", ((ny - "1") * "4") + nx, "1"));
Set(("y6" add ny) add nx, substring("3333123433331234", ((ny - "1") * "4") + nx, "1"));
Set(("x7" add ny) add nx, substring("2323232323232323", ((ny - "1") * "4") + nx, "1"));
Set(("y7" add ny) add nx, substring("2233223322332233", ((ny - "1") * "4") + nx, "1"));
duplicateMovieClip ("box", ("bn" add nx) add ny, ((ny * "4") + nx) + "210");
setProperty(("bn" add nx) add ny, _x , (nx * "19") + "360");
setProperty(("bn" add nx) add ny, _y , (ny * "19") + "20");
}
nx = "0";
}
sc1 = "10";
sc2 = "30";
sc3 = "60";
sc4 = "120";
ny = "0";
ts = "1";
tn = "1";
Frame 11
stop();
Frame 14
stop();
Frame 17
n = "0";
while (n < "4") {
n = n + "1";
tellTarget (("bn" add eval ((("x" add tn) add "1") add n)) add eval ((("y" add tn) add "1") add n)) {
gotoAndStop (1);
};
}
tn = random("7") + "1";
ny = "0";
line = "0";
while (ny < "20") {
ny = ny + "1";
nx = "0";
while (nx < "10") {
nx = nx + "1";
Set(("c" add (nx + "20")) add (ny + "20"), "0");
tellTarget (("b" add (nx + "20")) add (ny + "20")) {
gotoAndStop (1);
};
}
}
n = "0";
while (n < "7") {
n = n + "1";
tellTarget ("c" add n) {
gotoAndStop (1);
};
}
ny = high * "2";
while ("0" < ny) {
nx = "0";
while (nx < "10") {
nx = nx + "1";
if (random("2") == "1") {
Set(("c" add (nx + "20")) add ("41" - ny), "1");
tellTarget (("b" add (nx + "20")) add ("41" - ny)) {
gotoAndStop(/:lev + "1");
};
}
}
ny = ny - "1";
}
sc = "0";
Frame 18
tc = tn;
tellTarget ("c" add tc) {
nextFrame();
};
tn = random("7") + "1";
n = "0";
while (n < "4") {
n = n + "1";
tellTarget (("bn" add eval ((("x" add tc) add "1") add n)) add eval ((("y" add tc) add "1") add n)) {
gotoAndStop (1);
};
}
n = "0";
while (n < "4") {
n = n + "1";
tellTarget (("bn" add eval ((("x" add tn) add "1") add n)) add eval ((("y" add tn) add "1") add n)) {
gotoAndStop(/:tn + "1");
};
}
ts = "1";
x = "3";
y = "0";
call("addbox");
Frame 19
ny = "0";
yn = "0";
while (yn == "0") {
ny = ny + "1";
n = "0";
while (n < "4") {
n = n + "1";
if ("0" < eval (("c" add ((x + eval ((("x" add tc) add ts) add n)) + "20")) add (((y + eval ((("y" add tc) add ts) add n)) + "20") + ny))) {
yn = "1";
}
}
}
call("delbox");
y = (y + ny) - "1";
n = "0";
while (n < "4") {
n = n + "1";
Set(("c" add ((x + eval ((("x" add tc) add ts) add n)) + "20")) add ((y + eval ((("y" add tc) add ts) add n)) + "20"), "1");
tellTarget (("b" add ((x + eval ((("x" add tc) add ts) add n)) + "20")) add ((y + eval ((("y" add tc) add ts) add n)) + "20")) {
gotoAndStop(/:lev + "1");
};
}
gotoAndPlay (32);
Frame 20
n = "0";
yn = "0";
while (n < "4") {
n = n + "1";
if ("0" < eval (("c" add ((x + eval ((("x" add tc) add ts) add n)) + "20")) add ((y + eval ((("y" add tc) add ts) add n)) + "21"))) {
yn = "1";
}
}
if (yn == "0") {
call("delbox");
y = y + "1";
call("addbox");
gotoAndPlay (34);
} else {
n = "0";
while (n < "4") {
n = n + "1";
Set(("c" add ((x + eval ((("x" add tc) add ts) add n)) + "20")) add ((y + eval ((("y" add tc) add ts) add n)) + "20"), "1");
tellTarget (("b" add ((x + eval ((("x" add tc) add ts) add n)) + "20")) add ((y + eval ((("y" add tc) add ts) add n)) + "20")) {
gotoAndStop(/:lev + "1");
};
}
gotoAndPlay (32);
}
Frame 22
n = "0";
yn = "0";
while (n < "4") {
n = n + "1";
if ("0" < eval (("c" add ((x + eval ((("x" add tc) add ts) add n)) + "19")) add ((y + eval ((("y" add tc) add ts) add n)) + "20"))) {
yn = "1";
}
}
if (yn == "0") {
call("delbox");
x = x - "1";
call("addbox");
}
Frame 23
n = "0";
yn = "0";
while (n < "4") {
n = n + "1";
if ("0" < eval (("c" add ((x + eval ((("x" add tc) add ts) add n)) + "21")) add ((y + eval ((("y" add tc) add ts) add n)) + "20"))) {
yn = "1";
}
}
if (yn == "0") {
call("delbox");
x = x + "1";
call("addbox");
}
Frame 24
n = "0";
yn = "0";
while (n < "4") {
n = n + "1";
ts1 = ts + "1";
if (ts1 == "5") {
ts1 = "1";
}
if ("0" < eval (("c" add ((x + eval ((("x" add tc) add ts1) add n)) + "20")) add ((y + eval ((("y" add tc) add ts1) add n)) + "20"))) {
yn = "1";
}
}
if (yn == "0") {
call("delbox");
ts = ts + "1";
if (ts == "5") {
ts = "1";
}
call("addbox");
}
Frame 26
n = "0";
while (n < "4") {
n = n + "1";
tellTarget (("b" add ((x + eval ((("x" add tc) add ts) add n)) + "20")) add ((y + eval ((("y" add tc) add ts) add n)) + "20")) {
gotoAndStop(/:tc + "1");
};
}
Frame 27
n = "0";
while (n < "4") {
n = n + "1";
tellTarget (("b" add ((x + eval ((("x" add tc) add ts) add n)) + "20")) add ((y + eval ((("y" add tc) add ts) add n)) + "20")) {
gotoAndStop (1);
};
}
Frame 28
n = "0";
while (n < "10") {
n = n + "1";
n1 = (y + n3) + "21";
while ("21" < n1) {
n1 = n1 - "1";
n2 = eval (("c" add (n + "20")) add (n1 - n3));
if (n2 <> eval (("c" add (n + "20")) add n1)) {
Set(("c" add (n + "20")) add n1, n2);
if (n2 == "0") {
tellTarget (("b" add (n + "20")) add n1) {
gotoAndStop (1);
};
} else {
tellTarget (("b" add (n + "20")) add n1) {
gotoAndStop(/:lev + "1");
};
}
}
}
}
Frame 30
ny = "0";
while (ny < "20") {
ny = ny + "1";
nx = "0";
while (nx < "10") {
nx = nx + "1";
if (eval (("c" add (nx + "20")) add (ny + "20")) == "1") {
tellTarget (("b" add (nx + "20")) add (ny + "20")) {
gotoAndStop(/:lev + "1");
};
}
}
}
Frame 33
ny = "5";
n3 = "0";
nd = "0";
while ("1" < ny) {
ny = ny - "1";
nx = "0";
if (((y + ny) + "20") < "41") {
yn = "1";
while (nx < "10") {
nx = nx + "1";
if (eval (("c" add (nx + "20")) add ((y + ny) + "20")) == "0") {
yn = "0";
}
}
if (yn == "1") {
n3 = n3 + "1";
nd = nd + "1";
} else if ("0" < nd) {
n = "0";
while (n < "10") {
n = n + "1";
n2 = eval (("c" add (n + "20")) add ((y + ny) + "20"));
if (n2 <> eval (("c" add (n + "20")) add (((ny + y) + "20") + nd))) {
Set(("c" add (n + "20")) add (((ny + y) + "20") + nd), n2);
if (n2 == "0") {
tellTarget (("b" add (n + "20")) add (((ny + y) + "20") + nd)) {
gotoAndStop (1);
};
} else {
tellTarget (("b" add (n + "20")) add (((ny + y) + "20") + nd)) {
gotoAndStop(/:lev + "1");
};
}
}
}
}
}
}
if ("0" < n3) {
call("delline");
sc = sc + (eval ("sc" add n3) * lev);
line = line + n3;
if ((lev < (int(line / "10") + "1")) and (lev < "21")) {
lev = lev + "1";
call("uplev");
}
}
if ((n3 == "0") and (y == "0")) {
gotoAndStop (60);
} else {
call("next");
gotoAndPlay (34);
}
Frame 34
if (lev < "6") {
gotoAndPlay("l" add lev);
} else {
gotoAndPlay (57);
}
Frame 41
call("dn1");
Frame 47
call("dn1");
Frame 52
call("dn1");
Frame 56
call("dn1");
Frame 59
call("dn1");
Frame 60
n = "0";
while (n < "10") {
n = n + "1";
tellTarget (("b" add (n + "20")) add "30") {
gotoAndStop (1);
};
}
Symbol 33 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 60
stop();
Symbol 43 MovieClip Frame 145
stop();
Symbol 45 Button
on (release) {
play();
}
Symbol 85 Button
on (release) {
getURL ("http://www.weaselcircus.com", "_blank");
}
Symbol 92 Button
on (release) {
if (lev < "5") {
lev = lev + "1";
call("uplev");
}
}
Symbol 93 Button
on (release) {
if ("1" < lev) {
lev = lev - "1";
call("uplev");
}
}
Symbol 101 Button
on (release) {
gotoAndStop (61);
}
Symbol 106 Button
on (release, keyPress "n") {
call("new");
call("next");
gotoAndPlay (34);
}
Symbol 114 Button
on (release, keyPress "n") {
call("new");
call("next");
gotoAndPlay (34);
}
on (keyPress "<Down>") {
call("dn");
}
on (keyPress "<Left>") {
call("lt");
}
on (keyPress "<Right>") {
call("rt");
}
on (keyPress "<Space>") {
call("sp");
}
Symbol 123 Button
on (release) {
getURL ("http://www.weaselcircus.com", "_blank");
}
Symbol 127 Button
on (release) {
getURL ("http://www.weaselcircus.com", "_blank");
}
Symbol 130 Button
on (release) {
call("new");
call("next");
gotoAndPlay (34);
tellTarget ("/enter") {
gotoAndStop (1);
}
}
Symbol 139 Button
on (release) {
gotoAndPlay (6);
}