Frame 1
ifFrameLoaded (10) {
gotoAndPlay (10);
}
Frame 2
gotoAndPlay (1);
Frame 20
if (_totalframes == _framesloaded) {
gotoAndPlay (50);
} else {
gotoAndPlay (10);
}
Frame 51
stop();
StartNumRows = "0";
Set("/:diffsett", "0");
Set("/:gamtyp", "0");
call("setdiff");
setProperty("/option22", _visible , "0");
call("SetType");
Frame 60
x = "1";
while ("3" >= x) {
setProperty("/diff0" add x, _visible , "0");
x = x + "1";
}
setProperty("/diff0" add (/:diffsett + "1"), _visible , "1");
Frame 66
x = "1";
while ("2" >= x) {
setProperty("/Type0" add x, _visible , "0");
x = x + "1";
}
setProperty("/Type0" add (/:Gamtyp + "1"), _visible , "1");
Frame 74
x = "1";
while ("4" >= x) {
setProperty("/option22/bType0" add x, _visible , "0");
x = x + "1";
}
setProperty("/option22", _visible , "1");
setProperty("/option22/bType0" add TypeOfGam, _visible , "1");
Frame 91
call("Init");
gotoAndPlay (96);
Frame 92
if ("1" == "1") {
Set("/:Theplayer", "");
setProperty("/maincube", _visible , "0");
y = "1";
z = "0";
Pause = "0";
Restart = "0";
setProperty("ThePause", _visible , "0");
setProperty("Restart", _visible , "0");
while ("20" >= y) {
x = "1";
while ("10" >= x) {
z = z + "1";
duplicateMovieClip ("/mainCube", (("PosX_" add x) add "_Y_") add y, z);
setProperty((("PosX_" add x) add "_Y_") add y, _x , "20" + ("20" * x));
setProperty((("PosX_" add x) add "_Y_") add y, _y , "10" + ("20" * y));
setProperty((("PosX_" add x) add "_Y_") add y, _visible , "0");
x = x + "1";
}
y = y + "1";
}
tellTarget ("/test") {
gotoAndStop (1);
};
if ("1" == "1") {
setProperty("/TheMessage", _visible , "0");
removeMovieClip("/message01");
score01 = "0";
Set("/:nextCol", random("4") + "1");
Set("/:nextshape", random("7") + "1");
y = "1";
while (/:startNumRows >= y) {
x = "1";
while ("7" >= x) {
z = random("10") + "1";
setProperty((("PosX_" add z) add "_Y_") add ("21" - y), _visible , "1");
tellTarget ((("/PosX_" add z) add "_Y_") add ("21" - y)) {
gotoAndStop(random("4") + "1");
};
x = x + "1";
}
y = y + "1";
}
if (diffsett == "0") {
difftxt = "EASY";
} else if (diffsett == "1") {
difftxt = "MEDIUM";
} else if (diffsett == "2") {
difftxt = "HARD";
}
call("onentry");
}
}
Frame 95
if (GameOver == "0") {
call("movement");
} else {
duplicateMovieClip ("/Themessage", "Message01", "500");
Set("/Message01/:score", /:score01);
stop();
}
Frame 97
if (/:diffsett == "2") {
gotoAndPlay (95);
}
Frame 100
if (/:diffsett == "1") {
gotoAndPlay (95);
}
Frame 105
gotoAndPlay (95);
Frame 120
Stopping = "0";
while (stopping == "0") {
call("movement");
}
Frame 128
x = "1";
Stopping = "0";
xx = (getProperty("/test", _x) - "20") / "20";
yy = (getProperty("/test", _y) - "10") / "20";
while ("4" >= x) {
if ((getProperty((("PosX_" add (xx + eval ((("/:wx_" add x) add "_") add /:current))) add "_Y_") add ((yy + "1") + eval ((("/:wy_" add x) add "_") add /:current)), _visible) == "1") or ((yy + eval ((("/:wy_" add x) add "_") add /:current)) == "20")) {
Stopping = "1";
}
x = x + "1";
}
if (stopping == "0") {
setProperty("/test", _y , getProperty("/test", _y) + "20");
} else {
x = (getProperty("/test", _x) - "20") / "20";
y = (getProperty("/test", _y) - "10") / "20";
setProperty((("PosX_" add x) add "_Y_") add y, _visible , "1");
setProperty((("PosX_" add (x + eval ("/:wx_1_" add /:current))) add "_Y_") add (y + eval ("/:wy_1_" add /:current)), _visible , "1");
setProperty((("PosX_" add (x + eval ("/:wx_2_" add /:current))) add "_Y_") add (y + eval ("/:wy_2_" add /:current)), _visible , "1");
setProperty((("PosX_" add (x + eval ("/:wx_3_" add /:current))) add "_Y_") add (y + eval ("/:wy_3_" add /:current)), _visible , "1");
setProperty((("PosX_" add (x + eval ("/:wx_4_" add /:current))) add "_Y_") add (y + eval ("/:wy_4_" add /:current)), _visible , "1");
tellTarget ((("PosX_" add (x + eval ("/:wx_1_" add /:current))) add "_Y_") add (y + eval ("/:wy_1_" add /:current))) {
gotoAndStop(/:setcol);
};
tellTarget ((("PosX_" add (x + eval ("/:wx_2_" add /:current))) add "_Y_") add (y + eval ("/:wy_2_" add /:current))) {
gotoAndStop(/:setcol);
};
tellTarget ((("PosX_" add (x + eval ("/:wx_3_" add /:current))) add "_Y_") add (y + eval ("/:wy_3_" add /:current))) {
gotoAndStop(/:setcol);
};
tellTarget ((("PosX_" add (x + eval ("/:wx_4_" add /:current))) add "_Y_") add (y + eval ("/:wy_4_" add /:current))) {
gotoAndStop(/:setcol);
};
setProperty("/test", _visible , "0");
call("checklines");
call("onentry");
}
Frame 137
Set("/:SetCol", /:nextCol);
Set("/:nextCol", random("4") + "1");
Set("/:current", "1");
setProperty("/test", _rotation , "0");
tellTarget ("/test") {
gotoAndStop(/:nextshape);
};
Set("/:nextshape", random("7") + "1");
tellTarget ("/TheNext") {
gotoAndStop(/:nextshape);
};
x = "1";
while ("4" >= x) {
tellTarget ("/test/c" add x) {
gotoAndStop(/:setCol);
};
tellTarget ("/thenext/c" add x) {
gotoAndStop(/:nextCol);
};
x = x + "1";
}
setProperty("/test", _x , "120");
setProperty("/test", _y , "50");
setProperty("/test", _visible , "1");
Set("/:gameover", "0");
x = "1";
xx = (getProperty("/test", _x) - "20") / "20";
yy = (getProperty("/test", _y) - "10") / "20";
while ("4" >= x) {
if (getProperty((("PosX_" add (xx + eval ((("/:wx_" add x) add "_") add /:current))) add "_Y_") add (yy + eval ((("/:wy_" add x) add "_") add /:current)), _visible) == "1") {
Set("/:gameover", "1");
}
x = x + "1";
}
Frame 144
NothingHappen = "0";
while (NothingHappen == "0") {
NothingHappen = "1";
x = "20";
while (x >= "1") {
xx = "1";
fullline = "1";
while ("10" >= xx) {
if (getProperty((("PosX_" add xx) add "_Y_") add x, _visible) == "0") {
fullline = "0";
}
xx = xx + "1";
}
if (fullline == "1") {
score01 = (score01 + "10") + ((/:diffsett / "2") * "10");
NothingHappen = "0";
y = x;
x = "0";
while (y >= "2") {
Acol = "1";
while ("10" >= Acol) {
if (getProperty((("PosX_" add /:Acol) add "_Y_") add (y - "1"), _visible) == "1") {
setProperty((("PosX_" add /:Acol) add "_Y_") add y, _visible , "1");
tellTarget ((("PosX_" add /:Acol) add "_Y_") add y) {
gotoAndStop(getProperty((("/PosX_" add /:Acol) add "_Y_") add (/:y - "1"), _currentframe));
};
} else {
setProperty((("PosX_" add /:Acol) add "_Y_") add y, _visible , "0");
}
Acol = Acol + "1";
}
y = y - "1";
}
}
x = x - "1";
}
}
Frame 154
if ((GameOver == "0") and (Pause == "0")) {
if (getProperty("/test", _currentframe) == "7") {
} else {
temp1 = /:current - "1";
if (temp1 < "1") {
temp1 = "4";
}
x = "1";
Stopping = "0";
xx = (getProperty("/test", _x) - "20") / "20";
yy = (getProperty("/test", _y) - "10") / "20";
while ("4" >= x) {
if ((getProperty((("PosX_" add (xx + eval ((("/:wx_" add x) add "_") add temp1))) add "_Y_") add (yy + eval ((("/:wy_" add x) add "_") add temp1)), _visible) == "1") or ((yy + eval ((("/:wy_" add x) add "_") add temp1)) >= "20")) {
Stopping = "1";
}
x = x + "1";
}
if (stopping == "0") {
if (getProperty("/test", _x) < "130") {
if (getProperty("/test", _x) >= eval ("lx_" add temp1)) {
setProperty("/test", _rotation , getProperty("/test", _rotation) - "90");
Set("/:current", temp1);
}
} else if (eval ("rx_" add temp1) >= getProperty("/test", _x)) {
setProperty("/test", _rotation , getProperty("/test", _rotation) - "90");
Set("/:current", temp1);
}
}
}
tellTarget ("/Up_arr") {
gotoAndPlay (2);
};
}
Frame 159
if ((GameOver == "0") and (Pause == "0")) {
if (getProperty("/test", _currentframe) == "7") {
} else {
temp2 = /:current + "1";
if ("4" < temp2) {
temp2 = "1";
}
x = "1";
Stopping = "0";
xx = (getProperty("/test", _x) - "20") / "20";
yy = (getProperty("/test", _y) - "10") / "20";
while ("4" >= x) {
if ((getProperty((("PosX_" add (xx + eval ((("/:wx_" add x) add "_") add temp2))) add "_Y_") add (yy + eval ((("/:wy_" add x) add "_") add temp2)), _visible) == "1") or ((yy + eval ((("/:wy_" add x) add "_") add temp2)) >= "20")) {
Stopping = "1";
}
x = x + "1";
}
if (stopping == "0") {
if (getProperty("/test", _x) < "130") {
if (getProperty("/test", _x) >= eval ("lx_" add temp2)) {
setProperty("/test", _rotation , getProperty("/test", _rotation) + "90");
Set("/:current", temp2);
}
} else if (eval ("rx_" add temp2) >= getProperty("/test", _x)) {
setProperty("/test", _rotation , getProperty("/test", _rotation) + "90");
Set("/:current", temp2);
}
}
}
tellTarget ("/Down_arr") {
gotoAndPlay (2);
};
}
Frame 165
if ((GameOver == "0") and (Pause == "0")) {
x = "1";
Stopping = "0";
xx = (getProperty("/test", _x) - "20") / "20";
yy = (getProperty("/test", _y) - "10") / "20";
while ("4" >= x) {
if (getProperty((("PosX_" add ((xx - "1") + eval ((("/:wx_" add x) add "_") add /:current))) add "_Y_") add (yy + eval ((("/:wy_" add x) add "_") add /:current)), _visible) == "1") {
Stopping = "1";
}
x = x + "1";
}
if (((eval ("/:lx_" add /:current) + "20") < getProperty("/test", _x)) and (stopping == "0")) {
setProperty("/test", _x , getProperty("/test", _x) - "20");
}
tellTarget ("/Left_arr") {
gotoAndPlay (2);
};
}
Frame 170
if ((GameOver == "0") and (Pause == "0")) {
x = "1";
Stopping = "0";
xx = (getProperty("/test", _x) - "20") / "20";
yy = (getProperty("/test", _y) - "10") / "20";
while ("4" >= x) {
if (getProperty((("PosX_" add ((xx + "1") + eval ((("/:wx_" add x) add "_") add /:current))) add "_Y_") add (yy + eval ((("/:wy_" add x) add "_") add /:current)), _visible) == "1") {
Stopping = "1";
}
x = x + "1";
}
if ((getProperty("/test", _x) < (eval ("/:rx_" add /:current) - "10")) and (stopping == "0")) {
setProperty("/test", _x , getProperty("/test", _x) + "20");
}
tellTarget ("/Right_arr") {
gotoAndPlay (2);
};
}
Frame 186
call("InitMulti");
gotoAndPlay (191);
Frame 187
if ("1" == "1") {
Set("/:Theplayer", "");
y = "1";
z = "0";
Pause = "0";
Restart = "0";
setProperty("ThePause", _visible , "0");
setProperty("Restart", _visible , "0");
while ("20" >= y) {
x = "1";
while ("10" >= x) {
z = z + "1";
duplicateMovieClip ("/mycube", (("PosX_" add x) add "_Y_") add y, z);
setProperty((("PosX_" add x) add "_Y_") add y, _x , "20" + ("20" * x));
setProperty((("PosX_" add x) add "_Y_") add y, _y , "10" + ("20" * y));
setProperty((("PosX_" add x) add "_Y_") add y, _visible , "0");
x = x + "1";
}
y = y + "1";
}
y = "1";
while ("20" >= y) {
x = "1";
while ("10" >= x) {
z = z + "1";
duplicateMovieClip ("/mycube", (("Pos2X_" add x) add "_Y_") add y, z);
setProperty((("Pos2X_" add x) add "_Y_") add y, _x , "360" + ("20" * x));
setProperty((("Pos2X_" add x) add "_Y_") add y, _y , "10" + ("20" * y));
setProperty((("Pos2X_" add x) add "_Y_") add y, _visible , "0");
x = x + "1";
}
y = y + "1";
}
tellTarget ("/test") {
gotoAndStop (1);
};
if ("1" == "1") {
setProperty("/TheMessage", _visible , "0");
removeMovieClip("/message01");
score01 = "0";
score02 = "0";
Set("/:nextCol", random("4") + "1");
Set("/:nextCol2", /:nextCol);
Set("/:nextshape", random("7") + "1");
Set("/:nextshape2", /:nextshape);
y = "1";
while (/:startNumRows >= y) {
x = "1";
while ("7" >= x) {
z = random("10") + "1";
setProperty((("PosX_" add z) add "_Y_") add ("21" - y), _visible , "1");
setProperty((("Pos2X_" add z) add "_Y_") add ("21" - y), _visible , "1");
zz = random("4") + "1";
tellTarget ((("/PosX_" add z) add "_Y_") add ("21" - y)) {
gotoAndStop(/:zz);
};
tellTarget ((("/Pos2X_" add z) add "_Y_") add ("21" - y)) {
gotoAndStop(/:zz);
};
x = x + "1";
}
y = y + "1";
}
if (diffsett == "0") {
difftxt = "EASY";
} else if (diffsett == "1") {
difftxt = "MEDIUM";
} else if (diffsett == "2") {
difftxt = "HARD";
}
call("onentry");
call("onentry2");
setProperty("/mycube", _visible , "0");
}
}
Frame 190
TheWinner = "0";
if (((((/:TypeOfGam == "1") and (score01 >= "100")) or ((/:TypeOfGam == "2") and (score01 >= "500"))) or ((/:TypeOfGam == "3") and (score01 >= "1000"))) or (GameOver2 == "1")) {
TheWinner = "1";
}
if (((((/:TypeOfGam == "1") and (score02 >= "100")) or ((/:TypeOfGam == "2") and (score02 >= "500"))) or ((/:TypeOfGam == "3") and (score03 >= "1000"))) or (GameOver == "1")) {
TheWinner = "2";
}
if (TheWinner == "0") {
call("movement");
call("movement2");
} else {
GameOver2 = "1";
GameOver = "1";
duplicateMovieClip ("/Themessage", "Message01", "500");
if (TypeOfGam == "1") {
Set("/Message01/:score", "Reach 100 points");
} else if (TypeOfGam == "2") {
Set("/Message01/:score", "Reach 500 points");
} else if (TypeOfGam == "3") {
Set("/Message01/:score", "Reach 1000 points");
} else if (TypeOfGam == "4") {
Set("/Message01/:score", "Last man standing");
}
if (TheWinner == "1") {
Set("/Message01/:txt1", "Player one has won!");
} else {
Set("/Message01/:txt1", "Player two has won!");
}
stop();
}
Frame 192
if (/:diffsett == "2") {
gotoAndPlay (190);
}
Frame 195
if (/:diffsett == "1") {
gotoAndPlay (190);
}
Frame 200
gotoAndPlay (190);
Frame 215
Stopping2 = "0";
while (stopping2 == "0") {
call("movement2");
}
Frame 223
x = "1";
Stopping2 = "0";
xx = (getProperty("/test2", _x) - "360") / "20";
yy = (getProperty("/test2", _y) - "10") / "20";
while ("4" >= x) {
if ((getProperty((("Pos2X_" add (xx + eval ((("/:w2x_" add x) add "_") add /:current2))) add "_Y_") add ((yy + "1") + eval ((("/:w2y_" add x) add "_") add /:current2)), _visible) == "1") or ((yy + eval ((("/:w2y_" add x) add "_") add /:current2)) == "20")) {
Stopping2 = "1";
}
x = x + "1";
}
if (stopping2 == "0") {
setProperty("/test2", _y , getProperty("/test2", _y) + "20");
} else {
x = (getProperty("/test2", _x) - "360") / "20";
y = (getProperty("/test2", _y) - "10") / "20";
setProperty((("Pos2X_" add x) add "_Y_") add y, _visible , "1");
setProperty((("Pos2X_" add (x + eval ("/:w2x_1_" add /:current2))) add "_Y_") add (y + eval ("/:w2y_1_" add /:current2)), _visible , "1");
setProperty((("Pos2X_" add (x + eval ("/:w2x_2_" add /:current2))) add "_Y_") add (y + eval ("/:w2y_2_" add /:current2)), _visible , "1");
setProperty((("Pos2X_" add (x + eval ("/:w2x_3_" add /:current2))) add "_Y_") add (y + eval ("/:w2y_3_" add /:current2)), _visible , "1");
setProperty((("Pos2X_" add (x + eval ("/:w2x_4_" add /:current2))) add "_Y_") add (y + eval ("/:w2y_4_" add /:current2)), _visible , "1");
tellTarget ((("Pos2X_" add (x + eval ("/:w2x_1_" add /:current2))) add "_Y_") add (y + eval ("/:w2y_1_" add /:current2))) {
gotoAndStop(/:setcol2);
};
tellTarget ((("Pos2X_" add (x + eval ("/:w2x_2_" add /:current2))) add "_Y_") add (y + eval ("/:w2y_2_" add /:current2))) {
gotoAndStop(/:setcol2);
};
tellTarget ((("Pos2X_" add (x + eval ("/:w2x_3_" add /:current2))) add "_Y_") add (y + eval ("/:w2y_3_" add /:current2))) {
gotoAndStop(/:setcol2);
};
tellTarget ((("Pos2X_" add (x + eval ("/:w2x_4_" add /:current2))) add "_Y_") add (y + eval ("/:w2y_4_" add /:current2))) {
gotoAndStop(/:setcol2);
};
setProperty("/test2", _visible , "0");
call("checklines2");
call("onentry2");
}
Frame 232
Set("/:SetCol2", /:nextCol2);
Set("/:nextCol2", random("4") + "1");
Set("/:current2", "1");
setProperty("/test2", _rotation , "0");
tellTarget ("/test2") {
gotoAndStop(/:nextshape2);
};
Set("/:nextshape2", random("7") + "1");
tellTarget ("/TheNext2") {
gotoAndStop(/:nextshape2);
};
x = "1";
while ("4" >= x) {
tellTarget ("/test2/c" add x) {
gotoAndStop(/:setCol2);
};
tellTarget ("/thenext2/c" add x) {
gotoAndStop(/:nextCol2);
};
x = x + "1";
}
setProperty("/test2", _x , "460");
setProperty("/test2", _y , "50");
setProperty("/test2", _visible , "1");
Set("/:gameover2", "0");
x = "1";
xx = (getProperty("/test2", _x) - "360") / "20";
yy = (getProperty("/test2", _y) - "10") / "20";
while ("4" >= x) {
if (getProperty((("Pos2X_" add (xx + eval ((("/:w2x_" add x) add "_") add /:current2))) add "_Y_") add (yy + eval ((("/:w2y_" add x) add "_") add /:current2)), _visible) == "1") {
Set("/:gameover2", "1");
}
x = x + "1";
}
Frame 239
NothingHappen2 = "0";
while (NothingHappen2 == "0") {
NothingHappen2 = "1";
x = "20";
while (x >= "1") {
xx = "1";
fullline = "1";
while ("10" >= xx) {
if (getProperty((("Pos2X_" add xx) add "_Y_") add x, _visible) == "0") {
fullline = "0";
}
xx = xx + "1";
}
if (fullline == "1") {
score02 = (score02 + "10") + ((/:diffsett / "2") * "10");
NothingHappen2 = "0";
y = x;
x = "0";
while (y >= "2") {
Acol = "1";
while ("10" >= Acol) {
if (getProperty((("Pos2X_" add /:Acol) add "_Y_") add (y - "1"), _visible) == "1") {
setProperty((("Pos2X_" add /:Acol) add "_Y_") add y, _visible , "1");
tellTarget ((("Pos2X_" add /:Acol) add "_Y_") add y) {
gotoAndStop(getProperty((("/Pos2X_" add /:Acol) add "_Y_") add (/:y - "1"), _currentframe));
};
} else {
setProperty((("Pos2X_" add /:Acol) add "_Y_") add y, _visible , "0");
}
Acol = Acol + "1";
}
y = y - "1";
}
}
x = x - "1";
}
}
Frame 249
if ((GameOver2 == "0") and (Pause == "0")) {
if (getProperty("/test2", _currentframe) == "7") {
} else {
temp1 = /:current2 - "1";
if (temp1 < "1") {
temp1 = "4";
}
x = "1";
Stopping2 = "0";
xx = (getProperty("/test2", _x) - "360") / "20";
yy = (getProperty("/test2", _y) - "10") / "20";
while ("4" >= x) {
if ((getProperty((("Pos2X_" add (xx + eval ((("/:w2x_" add x) add "_") add temp1))) add "_Y_") add (yy + eval ((("/:w2y_" add x) add "_") add temp1)), _visible) == "1") or ((yy + eval ((("/:w2y_" add x) add "_") add temp1)) >= "20")) {
Stopping2 = "1";
}
x = x + "1";
}
if (stopping2 == "0") {
if (getProperty("/test2", _x) < "400") {
if (getProperty("/test2", _x) >= eval ("l2x_" add temp1)) {
setProperty("/test2", _rotation , getProperty("/test2", _rotation) - "90");
Set("/:current2", temp1);
}
} else if (eval ("r2x_" add temp1) >= getProperty("/test2", _x)) {
setProperty("/test2", _rotation , getProperty("/test2", _rotation) - "90");
Set("/:current2", temp1);
}
}
}
tellTarget ("/Up_arr2") {
gotoAndPlay (2);
};
}
Frame 254
if ((GameOver2 == "0") and (Pause == "0")) {
if (getProperty("/test2", _currentframe) == "7") {
} else {
temp2 = /:current2 + "1";
if ("4" < temp2) {
temp2 = "1";
}
x = "1";
Stopping2 = "0";
xx = (getProperty("/test2", _x) - "360") / "20";
yy = (getProperty("/test2", _y) - "10") / "20";
while ("4" >= x) {
if ((getProperty((("Pos2X_" add (xx + eval ((("/:w2x_" add x) add "_") add temp2))) add "_Y_") add (yy + eval ((("/:w2y_" add x) add "_") add temp2)), _visible) == "1") or ((yy + eval ((("/:w2y_" add x) add "_") add temp2)) >= "20")) {
Stopping2 = "1";
}
x = x + "1";
}
if (stopping2 == "0") {
if (getProperty("/test2", _x) < "400") {
if (getProperty("/test2", _x) >= eval ("l2x_" add temp2)) {
setProperty("/test2", _rotation , getProperty("/test2", _rotation) + "90");
Set("/:current2", temp2);
}
} else if (eval ("r2x_" add temp2) >= getProperty("/test2", _x)) {
setProperty("/test2", _rotation , getProperty("/test2", _rotation) + "90");
Set("/:current2", temp2);
}
}
}
tellTarget ("/Down_arr2") {
gotoAndPlay (2);
};
}
Frame 260
if ((GameOver2 == "0") and (Pause == "0")) {
x = "1";
Stopping2 = "0";
xx = (getProperty("/test2", _x) - "360") / "20";
yy = (getProperty("/test2", _y) - "10") / "20";
while ("4" >= x) {
if (getProperty((("Pos2X_" add ((xx - "1") + eval ((("/:w2x_" add x) add "_") add /:current2))) add "_Y_") add (yy + eval ((("/:w2y_" add x) add "_") add /:current2)), _visible) == "1") {
Stopping2 = "1";
}
x = x + "1";
}
if (((eval ("/:l2x_" add /:current2) + "20") < getProperty("/test2", _x)) and (stopping2 == "0")) {
setProperty("/test2", _x , getProperty("/test2", _x) - "20");
}
tellTarget ("/Left_arr2") {
gotoAndPlay (2);
};
}
Frame 265
if ((GameOver2 == "0") and (Pause == "0")) {
x = "1";
Stopping2 = "0";
xx = (getProperty("/test2", _x) - "360") / "20";
yy = (getProperty("/test2", _y) - "10") / "20";
while ("4" >= x) {
if (getProperty((("Pos2X_" add ((xx + "1") + eval ((("/:w2x_" add x) add "_") add /:current2))) add "_Y_") add (yy + eval ((("/:w2y_" add x) add "_") add /:current2)), _visible) == "1") {
Stopping2 = "1";
}
x = x + "1";
}
if ((getProperty("/test2", _x) < (eval ("/:r2x_" add /:current2) - "10")) and (stopping2 == "0")) {
setProperty("/test2", _x , getProperty("/test2", _x) + "20");
}
tellTarget ("/Right_arr2") {
gotoAndPlay (2);
};
}
Symbol 20 Button
on (release) {
getURL ("mailto:daniel.favot@swipnet.se?subject=Hi");
}
Symbol 24 Button
on (release) {
getURL ("http://www.danielfavot.com", "_blank");
}
Symbol 34 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 2
play();
Symbol 35 Button
on (rollOver) {
tellTarget ("/Decision_down") {
gotoAndStop (3);
}
}
on (rollOut) {
tellTarget ("/Decision_down") {
gotoAndStop (1);
}
}
on (release) {
if (/:moveready == "1") {
if ((getProperty("/StartRows", _currentframe) == "110") or (getProperty("/StartRows", _currentframe) == "1")) {
} else {
Set("/:Moveready", "0");
if ("50" < getProperty("/StartRows", _currentframe)) {
Set("/:StartNumRows", /:StartNumRows - "1");
tellTarget ("/StartRows") {
play();
};
} else {
Set("/:StartNumRows", /:StartNumRows - "1");
tellTarget ("/StartRows") {
gotoAndPlay(("110" - getProperty("/StartRows", _currentframe)) + "1");
};
}
}
}
}
Symbol 36 Button
on (rollOver) {
tellTarget ("/decision_up") {
gotoAndStop (3);
}
}
on (rollOut) {
tellTarget ("/decision_up") {
gotoAndStop (1);
}
}
on (release) {
if (/:moveready == "1") {
Set("/:Moveready", "0");
if (getProperty("/StartRows", _currentframe) < "50") {
tellTarget ("/StartRows") {
Set("/:StartNumRows", /:StartNumRows + "1");
play();
};
} else if (getProperty("/StartRows", _currentframe) == "50") {
Set("/:Moveready", "1");
} else if (("110" - getProperty("/StartRows", _currentframe)) == "0") {
Set("/:StartNumRows", /:StartNumRows + "1");
tellTarget ("/StartRows") {
gotoAndPlay(("110" - getProperty("/StartRows", _currentframe)) + "2");
};
} else {
Set("/:StartNumRows", /:StartNumRows + "1");
tellTarget ("/StartRows") {
gotoAndPlay(("110" - getProperty("/StartRows", _currentframe)) + "1");
};
}
}
}
Symbol 39 Button
on (release) {
Set("/:diffsett", "2");
call("setdiff");
}
Symbol 40 Button
on (release) {
Set("/:diffsett", "1");
call("setdiff");
}
Symbol 41 Button
on (release) {
Set("/:diffsett", "0");
call("setdiff");
}
Symbol 42 Button
on (release) {
setProperty("/option22", _visible , "0");
Set("/:GamTyp", "0");
call("setType");
tellTarget ("/Help") {
gotoAndStop (1);
}
}
Symbol 43 Button
on (release) {
Set("/:GamTyp", "1");
call("setType");
Set("/:TypeOfGam", "1");
call("setMulti");
tellTarget ("/Help") {
gotoAndStop (2);
}
}
Symbol 45 MovieClip Frame 1
stop();
Symbol 46 MovieClip Frame 1
x = "1";
while ("12" >= x) {
tellTarget ("c" add x) {
gotoAndStop (3);
};
x = x + "1";
}
Set("/:Moveready", "1");
stop();
Symbol 46 MovieClip Frame 10
Set("/:Moveready", "1");
stop();
Symbol 46 MovieClip Frame 20
Set("/:Moveready", "1");
stop();
Symbol 46 MovieClip Frame 30
Set("/:Moveready", "1");
stop();
Symbol 46 MovieClip Frame 40
Set("/:Moveready", "1");
stop();
Symbol 46 MovieClip Frame 50
Set("/:Moveready", "1");
stop();
Symbol 46 MovieClip Frame 60
Set("/:Moveready", "1");
stop();
Symbol 46 MovieClip Frame 70
Set("/:Moveready", "1");
stop();
Symbol 46 MovieClip Frame 80
Set("/:Moveready", "1");
stop();
Symbol 46 MovieClip Frame 90
Set("/:Moveready", "1");
stop();
Symbol 46 MovieClip Frame 100
Set("/:Moveready", "1");
stop();
Symbol 46 MovieClip Frame 110
Set("/:Moveready", "1");
stop();
Symbol 47 Button
on (release) {
if (gamtyp == "0") {
gotoAndPlay (91);
} else {
gotoAndPlay (186);
}
}
Symbol 51 Button
on (release) {
Set("/:TypeOfGam", "4");
tellTarget ("/") {
call("setmulti");
}
}
Symbol 52 Button
on (release) {
Set("/:TypeOfGam", "3");
tellTarget ("/") {
call("setmulti");
}
}
Symbol 53 Button
on (release) {
Set("/:TypeOfGam", "2");
tellTarget ("/") {
call("setmulti");
}
}
Symbol 54 Button
on (release) {
Set("/:TypeOfGam", "1");
tellTarget ("/") {
call("setmulti");
}
}
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 2
stop();
Symbol 91 MovieClip Frame 1
stop();
Set("/:current" add /:Theplayer, "1");
Set("/:lx_1" add /:Theplayer, "30");
Set("/:rx_1" add /:Theplayer, "210");
Set("/:lx_2" add /:Theplayer, "50");
Set("/:rx_2" add /:Theplayer, "210");
Set("/:lx_3" add /:Theplayer, "50");
Set("/:rx_3" add /:Theplayer, "230");
Set("/:lx_4" add /:Theplayer, "50");
Set("/:rx_4" add /:Theplayer, "210");
Set("/:wx_1_1" add /:Theplayer, "0");
Set("/:wy_1_1" add /:Theplayer, -"1");
Set("/:wx_2_1" add /:Theplayer, "0");
Set("/:wy_2_1" add /:Theplayer, "0");
Set("/:wx_3_1" add /:Theplayer, "1");
Set("/:wy_3_1" add /:Theplayer, "0");
Set("/:wx_4_1" add /:Theplayer, "0");
Set("/:wy_4_1" add /:Theplayer, "1");
Set("/:wx_1_2" add /:Theplayer, -"1");
Set("/:wy_1_2" add /:Theplayer, "0");
Set("/:wx_2_2" add /:Theplayer, "0");
Set("/:wy_2_2" add /:Theplayer, "0");
Set("/:wx_3_2" add /:Theplayer, "1");
Set("/:wy_3_2" add /:Theplayer, "0");
Set("/:wx_4_2" add /:Theplayer, "0");
Set("/:wy_4_2" add /:Theplayer, "1");
Set("/:wx_1_3" add /:Theplayer, "0");
Set("/:wy_1_3" add /:Theplayer, -"1");
Set("/:wx_2_3" add /:Theplayer, "0");
Set("/:wy_2_3" add /:Theplayer, "0");
Set("/:wx_3_3" add /:Theplayer, -"1");
Set("/:wy_3_3" add /:Theplayer, "0");
Set("/:wx_4_3" add /:Theplayer, "0");
Set("/:wy_4_3" add /:Theplayer, "1");
Set("/:wx_1_4" add /:Theplayer, "0");
Set("/:wy_1_4" add /:Theplayer, -"1");
Set("/:wx_2_4" add /:Theplayer, "0");
Set("/:wy_2_4" add /:Theplayer, "0");
Set("/:wx_3_4" add /:Theplayer, "1");
Set("/:wy_3_4" add /:Theplayer, "0");
Set("/:wx_4_4" add /:Theplayer, -"1");
Set("/:wy_4_4" add /:Theplayer, "0");
Symbol 91 MovieClip Frame 2
stop();
Set("/:current" add /:Theplayer, "1");
Set("/:lx_1" add /:Theplayer, "50");
Set("/:rx_1" add /:Theplayer, "230");
Set("/:lx_2" add /:Theplayer, "50");
Set("/:rx_2" add /:Theplayer, "210");
Set("/:lx_3" add /:Theplayer, "30");
Set("/:rx_3" add /:Theplayer, "210");
Set("/:lx_4" add /:Theplayer, "50");
Set("/:rx_4" add /:Theplayer, "210");
Set("/:wx_1_1" add /:Theplayer, "0");
Set("/:wy_1_1" add /:Theplayer, -"1");
Set("/:wx_2_1" add /:Theplayer, "0");
Set("/:wy_2_1" add /:Theplayer, "0");
Set("/:wx_3_1" add /:Theplayer, "0");
Set("/:wy_3_1" add /:Theplayer, "1");
Set("/:wx_4_1" add /:Theplayer, -"1");
Set("/:wy_4_1" add /:Theplayer, "1");
Set("/:wx_1_2" add /:Theplayer, -"1");
Set("/:wy_1_2" add /:Theplayer, -"1");
Set("/:wx_2_2" add /:Theplayer, -"1");
Set("/:wy_2_2" add /:Theplayer, "0");
Set("/:wx_3_2" add /:Theplayer, "0");
Set("/:wy_3_2" add /:Theplayer, "0");
Set("/:wx_4_2" add /:Theplayer, "1");
Set("/:wy_4_2" add /:Theplayer, "0");
Set("/:wx_1_3" add /:Theplayer, "0");
Set("/:wy_1_3" add /:Theplayer, -"1");
Set("/:wx_2_3" add /:Theplayer, "0");
Set("/:wy_2_3" add /:Theplayer, "0");
Set("/:wx_3_3" add /:Theplayer, "0");
Set("/:wy_3_3" add /:Theplayer, "1");
Set("/:wx_4_3" add /:Theplayer, "1");
Set("/:wy_4_3" add /:Theplayer, -"1");
Set("/:wx_1_4" add /:Theplayer, -"1");
Set("/:wy_1_4" add /:Theplayer, "0");
Set("/:wx_2_4" add /:Theplayer, "0");
Set("/:wy_2_4" add /:Theplayer, "0");
Set("/:wx_3_4" add /:Theplayer, "1");
Set("/:wy_3_4" add /:Theplayer, "0");
Set("/:wx_4_4" add /:Theplayer, "1");
Set("/:wy_4_4" add /:Theplayer, "1");
Symbol 91 MovieClip Frame 3
stop();
Set("/:current" add /:Theplayer, "1");
Set("/:lx_1" add /:Theplayer, "30");
Set("/:rx_1" add /:Theplayer, "210");
Set("/:lx_2" add /:Theplayer, "50");
Set("/:rx_2" add /:Theplayer, "210");
Set("/:lx_3" add /:Theplayer, "50");
Set("/:rx_3" add /:Theplayer, "230");
Set("/:lx_4" add /:Theplayer, "50");
Set("/:rx_4" add /:Theplayer, "210");
Set("/:wx_1_1" add /:Theplayer, "0");
Set("/:wy_1_1" add /:Theplayer, -"1");
Set("/:wx_2_1" add /:Theplayer, "0");
Set("/:wy_2_1" add /:Theplayer, "0");
Set("/:wx_3_1" add /:Theplayer, "0");
Set("/:wy_3_1" add /:Theplayer, "1");
Set("/:wx_4_1" add /:Theplayer, "1");
Set("/:wy_4_1" add /:Theplayer, "1");
Set("/:wx_1_2" add /:Theplayer, -"1");
Set("/:wy_1_2" add /:Theplayer, "1");
Set("/:wx_2_2" add /:Theplayer, -"1");
Set("/:wy_2_2" add /:Theplayer, "0");
Set("/:wx_3_2" add /:Theplayer, "0");
Set("/:wy_3_2" add /:Theplayer, "0");
Set("/:wx_4_2" add /:Theplayer, "1");
Set("/:wy_4_2" add /:Theplayer, "0");
Set("/:wx_1_3" add /:Theplayer, "0");
Set("/:wy_1_3" add /:Theplayer, -"1");
Set("/:wx_2_3" add /:Theplayer, "0");
Set("/:wy_2_3" add /:Theplayer, "0");
Set("/:wx_3_3" add /:Theplayer, "0");
Set("/:wy_3_3" add /:Theplayer, "1");
Set("/:wx_4_3" add /:Theplayer, -"1");
Set("/:wy_4_3" add /:Theplayer, -"1");
Set("/:wx_1_4" add /:Theplayer, -"1");
Set("/:wy_1_4" add /:Theplayer, "0");
Set("/:wx_2_4" add /:Theplayer, "0");
Set("/:wy_2_4" add /:Theplayer, "0");
Set("/:wx_3_4" add /:Theplayer, "1");
Set("/:wy_3_4" add /:Theplayer, "0");
Set("/:wx_4_4" add /:Theplayer, "1");
Set("/:wy_4_4" add /:Theplayer, -"1");
Symbol 91 MovieClip Frame 4
stop();
Set("/:current" add /:Theplayer, "1");
Set("/:lx_1" add /:Theplayer, "30");
Set("/:rx_1" add /:Theplayer, "210");
Set("/:lx_2" add /:Theplayer, "50");
Set("/:rx_2" add /:Theplayer, "210");
Set("/:lx_3" add /:Theplayer, "50");
Set("/:rx_3" add /:Theplayer, "230");
Set("/:lx_4" add /:Theplayer, "50");
Set("/:rx_4" add /:Theplayer, "210");
Set("/:wx_1_1" add /:Theplayer, "0");
Set("/:wy_1_1" add /:Theplayer, -"1");
Set("/:wx_2_1" add /:Theplayer, "0");
Set("/:wy_2_1" add /:Theplayer, "0");
Set("/:wx_3_1" add /:Theplayer, "1");
Set("/:wy_3_1" add /:Theplayer, "0");
Set("/:wx_4_1" add /:Theplayer, "1");
Set("/:wy_4_1" add /:Theplayer, "1");
Set("/:wx_1_2" add /:Theplayer, -"1");
Set("/:wy_1_2" add /:Theplayer, "1");
Set("/:wx_2_2" add /:Theplayer, "0");
Set("/:wy_2_2" add /:Theplayer, "1");
Set("/:wx_3_2" add /:Theplayer, "0");
Set("/:wy_3_2" add /:Theplayer, "0");
Set("/:wx_4_2" add /:Theplayer, "1");
Set("/:wy_4_2" add /:Theplayer, "0");
Set("/:wx_1_3" add /:Theplayer, -"1");
Set("/:wy_1_3" add /:Theplayer, -"1");
Set("/:wx_2_3" add /:Theplayer, "0");
Set("/:wy_2_3" add /:Theplayer, "0");
Set("/:wx_3_3" add /:Theplayer, -"1");
Set("/:wy_3_3" add /:Theplayer, "0");
Set("/:wx_4_3" add /:Theplayer, "0");
Set("/:wy_4_3" add /:Theplayer, "1");
Set("/:wx_1_4" add /:Theplayer, -"1");
Set("/:wy_1_4" add /:Theplayer, "0");
Set("/:wx_2_4" add /:Theplayer, "0");
Set("/:wy_2_4" add /:Theplayer, "0");
Set("/:wx_3_4" add /:Theplayer, "0");
Set("/:wy_3_4" add /:Theplayer, -"1");
Set("/:wx_4_4" add /:Theplayer, "1");
Set("/:wy_4_4" add /:Theplayer, -"1");
Symbol 91 MovieClip Frame 5
stop();
Set("/:current" add /:Theplayer, "1");
Set("/:lx_1" add /:Theplayer, "50");
Set("/:rx_1" add /:Theplayer, "230");
Set("/:lx_2" add /:Theplayer, "50");
Set("/:rx_2" add /:Theplayer, "210");
Set("/:lx_3" add /:Theplayer, "30");
Set("/:rx_3" add /:Theplayer, "210");
Set("/:lx_4" add /:Theplayer, "50");
Set("/:rx_4" add /:Theplayer, "210");
Set("/:wx_1_1" add /:Theplayer, "0");
Set("/:wy_1_1" add /:Theplayer, -"1");
Set("/:wx_2_1" add /:Theplayer, "0");
Set("/:wy_2_1" add /:Theplayer, "0");
Set("/:wx_3_1" add /:Theplayer, -"1");
Set("/:wy_3_1" add /:Theplayer, "0");
Set("/:wx_4_1" add /:Theplayer, -"1");
Set("/:wy_4_1" add /:Theplayer, "1");
Set("/:wx_1_2" add /:Theplayer, -"1");
Set("/:wy_1_2" add /:Theplayer, -"1");
Set("/:wx_2_2" add /:Theplayer, "0");
Set("/:wy_2_2" add /:Theplayer, -"1");
Set("/:wx_3_2" add /:Theplayer, "0");
Set("/:wy_3_2" add /:Theplayer, "0");
Set("/:wx_4_2" add /:Theplayer, "1");
Set("/:wy_4_2" add /:Theplayer, "0");
Set("/:wx_1_3" add /:Theplayer, "1");
Set("/:wy_1_3" add /:Theplayer, -"1");
Set("/:wx_2_3" add /:Theplayer, "0");
Set("/:wy_2_3" add /:Theplayer, "0");
Set("/:wx_3_3" add /:Theplayer, "1");
Set("/:wy_3_3" add /:Theplayer, "0");
Set("/:wx_4_3" add /:Theplayer, "0");
Set("/:wy_4_3" add /:Theplayer, "1");
Set("/:wx_1_4" add /:Theplayer, -"1");
Set("/:wy_1_4" add /:Theplayer, "0");
Set("/:wx_2_4" add /:Theplayer, "0");
Set("/:wy_2_4" add /:Theplayer, "0");
Set("/:wx_3_4" add /:Theplayer, "0");
Set("/:wy_3_4" add /:Theplayer, "1");
Set("/:wx_4_4" add /:Theplayer, "1");
Set("/:wy_4_4" add /:Theplayer, "1");
Symbol 91 MovieClip Frame 6
stop();
Set("/:current" add /:Theplayer, "1");
Set("/:lx_1" add /:Theplayer, "30");
Set("/:rx_1" add /:Theplayer, "230");
Set("/:lx_2" add /:Theplayer, "70");
Set("/:rx_2" add /:Theplayer, "210");
Set("/:lx_3" add /:Theplayer, "30");
Set("/:rx_3" add /:Theplayer, "230");
Set("/:lx_4" add /:Theplayer, "50");
Set("/:rx_4" add /:Theplayer, "190");
Set("/:wx_1_1" add /:Theplayer, "0");
Set("/:wy_1_1" add /:Theplayer, -"1");
Set("/:wx_2_1" add /:Theplayer, "0");
Set("/:wy_2_1" add /:Theplayer, "0");
Set("/:wx_3_1" add /:Theplayer, "0");
Set("/:wy_3_1" add /:Theplayer, "1");
Set("/:wx_4_1" add /:Theplayer, "0");
Set("/:wy_4_1" add /:Theplayer, "2");
Set("/:wx_1_2" add /:Theplayer, -"2");
Set("/:wy_1_2" add /:Theplayer, "0");
Set("/:wx_2_2" add /:Theplayer, -"1");
Set("/:wy_2_2" add /:Theplayer, "0");
Set("/:wx_3_2" add /:Theplayer, "0");
Set("/:wy_3_2" add /:Theplayer, "0");
Set("/:wx_4_2" add /:Theplayer, "1");
Set("/:wy_4_2" add /:Theplayer, "0");
Set("/:wx_1_3" add /:Theplayer, "0");
Set("/:wy_1_3" add /:Theplayer, -"2");
Set("/:wx_2_3" add /:Theplayer, "0");
Set("/:wy_2_3" add /:Theplayer, -"1");
Set("/:wx_3_3" add /:Theplayer, "0");
Set("/:wy_3_3" add /:Theplayer, "0");
Set("/:wx_4_3" add /:Theplayer, "0");
Set("/:wy_4_3" add /:Theplayer, "1");
Set("/:wx_1_4" add /:Theplayer, -"1");
Set("/:wy_1_4" add /:Theplayer, "0");
Set("/:wx_2_4" add /:Theplayer, "0");
Set("/:wy_2_4" add /:Theplayer, "0");
Set("/:wx_3_4" add /:Theplayer, "1");
Set("/:wy_3_4" add /:Theplayer, "0");
Set("/:wx_4_4" add /:Theplayer, "2");
Set("/:wy_4_4" add /:Theplayer, "0");
Symbol 91 MovieClip Frame 7
stop();
Set("/:current" add /:Theplayer, "1");
Set("/:lx_1" add /:Theplayer, "30");
Set("/:rx_1" add /:Theplayer, "210");
Set("/:lx_2" add /:Theplayer, "30");
Set("/:rx_2" add /:Theplayer, "210");
Set("/:lx_3" add /:Theplayer, "30");
Set("/:rx_3" add /:Theplayer, "210");
Set("/:lx_4" add /:Theplayer, "30");
Set("/:rx_4" add /:Theplayer, "210");
Set("/:wx_1_1" add /:Theplayer, "0");
Set("/:wy_1_1" add /:Theplayer, "0");
Set("/:wx_2_1" add /:Theplayer, "1");
Set("/:wy_2_1" add /:Theplayer, "0");
Set("/:wx_3_1" add /:Theplayer, "0");
Set("/:wy_3_1" add /:Theplayer, "1");
Set("/:wx_4_1" add /:Theplayer, "1");
Set("/:wy_4_1" add /:Theplayer, "1");
Set("/:wx_1_2", -"2");
Set("/:wy_1_2", "0");
Set("/:wx_2_2", -"1");
Set("/:wy_2_2", "0");
Set("/:wx_3_2", "0");
Set("/:wy_3_2", "0");
Set("/:wx_4_2", "1");
Set("/:wy_4_2", "0");
Set("/:wx_1_3", "0");
Set("/:wy_1_3", -"2");
Set("/:wx_2_3", "0");
Set("/:wy_2_3", -"1");
Set("/:wx_3_3", "0");
Set("/:wy_3_3", "0");
Set("/:wx_4_3", "0");
Set("/:wy_4_3", "1");
Set("/:wx_1_4", -"1");
Set("/:wy_1_4", "0");
Set("/:wx_2_4", "0");
Set("/:wy_2_4", "0");
Set("/:wx_3_4", "1");
Set("/:wy_3_4", "0");
Set("/:wx_4_4", "2");
Set("/:wy_4_4", "0");
Symbol 92 MovieClip Frame 1
stop();
Symbol 94 Button
on (release, keyPress "<Up>") {
call("p_up");
}
Symbol 95 Button
on (release, keyPress "<Left>") {
call("P_left");
}
Symbol 96 Button
on (release, keyPress "<Right>") {
call("P_right");
}
Symbol 97 Button
on (release, keyPress "<Down>") {
call("p_down");
}
Symbol 100 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 2
play();
Symbol 101 Button
on (release, keyPress "<Space>") {
if ((GameOver == "0") and (Pause == "0")) {
call("fastdrop");
tellTarget ("/Drop_arr") {
gotoAndPlay (2);
};
}
}
Symbol 103 Button
on (release, keyPress "p") {
if ((restart == "0") and (gameover == "0")) {
tellTarget ("/Pauseclip") {
gotoAndPlay (2);
};
if (Pause == "0") {
stop();
Pause = "1";
duplicateMovieClip ("ThePause", "ThePause01", "1001");
} else {
play();
Pause = "0";
removeMovieClip("ThePause01");
}
}
}
Symbol 106 Button
on (release, keyPress "g") {
tellTarget ("/GridClip") {
gotoAndPlay (2);
};
if (getProperty("/theGrid", _visible) == "1") {
setProperty("/TheGrid", _visible , "0");
} else {
setProperty("/TheGrid", _visible , "1");
}
}
Symbol 107 Button
on (release, keyPress "r") {
if ((Restart == "0") and (pause == "0")) {
Pause = "1";
tellTarget ("/RestartClip") {
gotoAndPlay (2);
};
if (GameOver == "1") {
tellTarget ("/") {
gotoAndPlay ("TrueStart");
};
removeMovieClip("/restart01");
} else {
Restart = "1";
duplicateMovieClip ("/restart", "Restart01", "1002");
ToDo = "again";
Set("/Restart01/:txt", "Restart game?");
}
stop();
}
}
Symbol 108 Button
on (release, keyPress "q") {
if ((Restart == "0") and (pause == "0")) {
tellTarget ("/ReturnClip") {
gotoAndPlay (2);
};
Pause = "1";
stop();
Restart = "1";
duplicateMovieClip ("/restart", "Restart01", "1002");
ToDo = "return";
Set("/Restart01/:txt", "Return to menu?");
}
}
Symbol 117 Button
on (release, keyPress "y") {
if (getProperty("/Restart01", _visible)) {
if (/:todo eq "again") {
tellTarget ("/") {
if ("150" < _currentframe) {
gotoAndPlay ("TrueStartMulti");
} else {
gotoAndPlay ("TrueStart");
}
};
removeMovieClip("/restart01");
} else {
y = "1";
while ("20" >= y) {
x = "1";
while ("10" >= x) {
z = z + "1";
removeMovieClip((("/PosX_" add x) add "_Y_") add y);
removeMovieClip((("/Pos2X_" add x) add "_Y_") add y);
x = x + "1";
}
y = y + "1";
}
tellTarget ("/") {
gotoAndPlay ("Mainmenu");
};
removeMovieClip("/restart01");
removeMovieClip("/message01");
}
}
}
Symbol 118 Button
on (release, keyPress "n") {
if (getProperty("/Restart01", _visible)) {
Set("/:pause", "0");
Set("/:restart", "0");
tellTarget ("/") {
play();
};
removeMovieClip("/restart01");
}
}
Symbol 126 Button
on (release, keyPress "w") {
if (TheWinner == "0") {
call("P_up");
}
}
Symbol 127 Button
on (release, keyPress "a") {
if (TheWinner == "0") {
call("P_left");
}
}
Symbol 128 Button
on (release, keyPress "d") {
if (TheWinner == "0") {
call("P_Right");
}
}
Symbol 129 Button
on (release, keyPress "s") {
if (TheWinner == "0") {
call("P_down");
}
}
Symbol 130 Button
on (release, keyPress "<Space>") {
if (TheWinner == "0") {
if ((GameOver == "0") and (Pause == "0")) {
call("fastdrop");
tellTarget ("/Drop_arr") {
gotoAndPlay (2);
};
}
}
}
Symbol 131 Button
on (release, keyPress "p") {
if ((restart == "0") and (gameover == "0")) {
tellTarget ("/Pauseclip") {
gotoAndPlay (2);
};
if (Pause == "0") {
stop();
Pause = "1";
duplicateMovieClip ("ThePause", "ThePause01", "1001");
} else {
play();
Pause = "0";
removeMovieClip("ThePause01");
}
}
}
Symbol 133 MovieClip Frame 1
stop();
Set("/:current2" add /:Theplayer, "1");
TheAdd = "340";
Set("/:l2x_1" add /:Theplayer, "30" + TheAdd);
Set("/:r2x_1" add /:Theplayer, "210" + TheAdd);
Set("/:l2x_2" add /:Theplayer, "50" + TheAdd);
Set("/:r2x_2" add /:Theplayer, "210" + TheAdd);
Set("/:l2x_3" add /:Theplayer, "50" + TheAdd);
Set("/:r2x_3" add /:Theplayer, "230" + TheAdd);
Set("/:l2x_4" add /:Theplayer, "50" + TheAdd);
Set("/:r2x_4" add /:Theplayer, "210" + TheAdd);
Set("/:w2x_1_1" add /:Theplayer, "0");
Set("/:w2y_1_1" add /:Theplayer, -"1");
Set("/:w2x_2_1" add /:Theplayer, "0");
Set("/:w2y_2_1" add /:Theplayer, "0");
Set("/:w2x_3_1" add /:Theplayer, "1");
Set("/:w2y_3_1" add /:Theplayer, "0");
Set("/:w2x_4_1" add /:Theplayer, "0");
Set("/:w2y_4_1" add /:Theplayer, "1");
Set("/:w2x_1_2" add /:Theplayer, -"1");
Set("/:w2y_1_2" add /:Theplayer, "0");
Set("/:w2x_2_2" add /:Theplayer, "0");
Set("/:w2y_2_2" add /:Theplayer, "0");
Set("/:w2x_3_2" add /:Theplayer, "1");
Set("/:w2y_3_2" add /:Theplayer, "0");
Set("/:w2x_4_2" add /:Theplayer, "0");
Set("/:w2y_4_2" add /:Theplayer, "1");
Set("/:w2x_1_3" add /:Theplayer, "0");
Set("/:w2y_1_3" add /:Theplayer, -"1");
Set("/:w2x_2_3" add /:Theplayer, "0");
Set("/:w2y_2_3" add /:Theplayer, "0");
Set("/:w2x_3_3" add /:Theplayer, -"1");
Set("/:w2y_3_3" add /:Theplayer, "0");
Set("/:w2x_4_3" add /:Theplayer, "0");
Set("/:w2y_4_3" add /:Theplayer, "1");
Set("/:w2x_1_4" add /:Theplayer, "0");
Set("/:w2y_1_4" add /:Theplayer, -"1");
Set("/:w2x_2_4" add /:Theplayer, "0");
Set("/:w2y_2_4" add /:Theplayer, "0");
Set("/:w2x_3_4" add /:Theplayer, "1");
Set("/:w2y_3_4" add /:Theplayer, "0");
Set("/:w2x_4_4" add /:Theplayer, -"1");
Set("/:w2y_4_4" add /:Theplayer, "0");
Symbol 133 MovieClip Frame 2
stop();
Set("/:current2" add /:Theplayer, "1");
TheAdd = "340";
Set("/:l2x_1" add /:Theplayer, "50" + TheAdd);
Set("/:r2x_1" add /:Theplayer, "230" + TheAdd);
Set("/:l2x_2" add /:Theplayer, "50" + TheAdd);
Set("/:r2x_2" add /:Theplayer, "210" + TheAdd);
Set("/:l2x_3" add /:Theplayer, "30" + TheAdd);
Set("/:r2x_3" add /:Theplayer, "210" + TheAdd);
Set("/:l2x_4" add /:Theplayer, "50" + TheAdd);
Set("/:r2x_4" add /:Theplayer, "210" + TheAdd);
Set("/:w2x_1_1" add /:Theplayer, "0");
Set("/:w2y_1_1" add /:Theplayer, -"1");
Set("/:w2x_2_1" add /:Theplayer, "0");
Set("/:w2y_2_1" add /:Theplayer, "0");
Set("/:w2x_3_1" add /:Theplayer, "0");
Set("/:w2y_3_1" add /:Theplayer, "1");
Set("/:w2x_4_1" add /:Theplayer, -"1");
Set("/:w2y_4_1" add /:Theplayer, "1");
Set("/:w2x_1_2" add /:Theplayer, -"1");
Set("/:w2y_1_2" add /:Theplayer, -"1");
Set("/:w2x_2_2" add /:Theplayer, -"1");
Set("/:w2y_2_2" add /:Theplayer, "0");
Set("/:w2x_3_2" add /:Theplayer, "0");
Set("/:w2y_3_2" add /:Theplayer, "0");
Set("/:w2x_4_2" add /:Theplayer, "1");
Set("/:w2y_4_2" add /:Theplayer, "0");
Set("/:w2x_1_3" add /:Theplayer, "0");
Set("/:w2y_1_3" add /:Theplayer, -"1");
Set("/:w2x_2_3" add /:Theplayer, "0");
Set("/:w2y_2_3" add /:Theplayer, "0");
Set("/:w2x_3_3" add /:Theplayer, "0");
Set("/:w2y_3_3" add /:Theplayer, "1");
Set("/:w2x_4_3" add /:Theplayer, "1");
Set("/:w2y_4_3" add /:Theplayer, -"1");
Set("/:w2x_1_4" add /:Theplayer, -"1");
Set("/:w2y_1_4" add /:Theplayer, "0");
Set("/:w2x_2_4" add /:Theplayer, "0");
Set("/:w2y_2_4" add /:Theplayer, "0");
Set("/:w2x_3_4" add /:Theplayer, "1");
Set("/:w2y_3_4" add /:Theplayer, "0");
Set("/:w2x_4_4" add /:Theplayer, "1");
Set("/:w2y_4_4" add /:Theplayer, "1");
Symbol 133 MovieClip Frame 3
stop();
Set("/:current2" add /:Theplayer, "1");
TheAdd = "340";
Set("/:l2x_1" add /:Theplayer, "30" + TheAdd);
Set("/:r2x_1" add /:Theplayer, "210" + TheAdd);
Set("/:l2x_2" add /:Theplayer, "50" + TheAdd);
Set("/:r2x_2" add /:Theplayer, "210" + TheAdd);
Set("/:l2x_3" add /:Theplayer, "50" + TheAdd);
Set("/:r2x_3" add /:Theplayer, "230" + TheAdd);
Set("/:l2x_4" add /:Theplayer, "50" + TheAdd);
Set("/:r2x_4" add /:Theplayer, "210" + TheAdd);
Set("/:w2x_1_1" add /:Theplayer, "0");
Set("/:w2y_1_1" add /:Theplayer, -"1");
Set("/:w2x_2_1" add /:Theplayer, "0");
Set("/:w2y_2_1" add /:Theplayer, "0");
Set("/:w2x_3_1" add /:Theplayer, "0");
Set("/:w2y_3_1" add /:Theplayer, "1");
Set("/:w2x_4_1" add /:Theplayer, "1");
Set("/:w2y_4_1" add /:Theplayer, "1");
Set("/:w2x_1_2" add /:Theplayer, -"1");
Set("/:w2y_1_2" add /:Theplayer, "1");
Set("/:w2x_2_2" add /:Theplayer, -"1");
Set("/:w2y_2_2" add /:Theplayer, "0");
Set("/:w2x_3_2" add /:Theplayer, "0");
Set("/:w2y_3_2" add /:Theplayer, "0");
Set("/:w2x_4_2" add /:Theplayer, "1");
Set("/:w2y_4_2" add /:Theplayer, "0");
Set("/:w2x_1_3" add /:Theplayer, "0");
Set("/:w2y_1_3" add /:Theplayer, -"1");
Set("/:w2x_2_3" add /:Theplayer, "0");
Set("/:w2y_2_3" add /:Theplayer, "0");
Set("/:w2x_3_3" add /:Theplayer, "0");
Set("/:w2y_3_3" add /:Theplayer, "1");
Set("/:w2x_4_3" add /:Theplayer, -"1");
Set("/:w2y_4_3" add /:Theplayer, -"1");
Set("/:w2x_1_4" add /:Theplayer, -"1");
Set("/:w2y_1_4" add /:Theplayer, "0");
Set("/:w2x_2_4" add /:Theplayer, "0");
Set("/:w2y_2_4" add /:Theplayer, "0");
Set("/:w2x_3_4" add /:Theplayer, "1");
Set("/:w2y_3_4" add /:Theplayer, "0");
Set("/:w2x_4_4" add /:Theplayer, "1");
Set("/:w2y_4_4" add /:Theplayer, -"1");
Symbol 133 MovieClip Frame 4
stop();
Set("/:current2" add /:Theplayer, "1");
TheAdd = "340";
Set("/:l2x_1" add /:Theplayer, "30" + TheAdd);
Set("/:r2x_1" add /:Theplayer, "210" + TheAdd);
Set("/:l2x_2" add /:Theplayer, "50" + TheAdd);
Set("/:r2x_2" add /:Theplayer, "210" + TheAdd);
Set("/:l2x_3" add /:Theplayer, "50" + TheAdd);
Set("/:r2x_3" add /:Theplayer, "230" + TheAdd);
Set("/:l2x_4" add /:Theplayer, "50" + TheAdd);
Set("/:r2x_4" add /:Theplayer, "210" + TheAdd);
Set("/:w2x_1_1" add /:Theplayer, "0");
Set("/:w2y_1_1" add /:Theplayer, -"1");
Set("/:w2x_2_1" add /:Theplayer, "0");
Set("/:w2y_2_1" add /:Theplayer, "0");
Set("/:w2x_3_1" add /:Theplayer, "1");
Set("/:w2y_3_1" add /:Theplayer, "0");
Set("/:w2x_4_1" add /:Theplayer, "1");
Set("/:w2y_4_1" add /:Theplayer, "1");
Set("/:w2x_1_2" add /:Theplayer, -"1");
Set("/:w2y_1_2" add /:Theplayer, "1");
Set("/:w2x_2_2" add /:Theplayer, "0");
Set("/:w2y_2_2" add /:Theplayer, "1");
Set("/:w2x_3_2" add /:Theplayer, "0");
Set("/:w2y_3_2" add /:Theplayer, "0");
Set("/:w2x_4_2" add /:Theplayer, "1");
Set("/:w2y_4_2" add /:Theplayer, "0");
Set("/:w2x_1_3" add /:Theplayer, -"1");
Set("/:w2y_1_3" add /:Theplayer, -"1");
Set("/:w2x_2_3" add /:Theplayer, "0");
Set("/:w2y_2_3" add /:Theplayer, "0");
Set("/:w2x_3_3" add /:Theplayer, -"1");
Set("/:w2y_3_3" add /:Theplayer, "0");
Set("/:w2x_4_3" add /:Theplayer, "0");
Set("/:w2y_4_3" add /:Theplayer, "1");
Set("/:w2x_1_4" add /:Theplayer, -"1");
Set("/:w2y_1_4" add /:Theplayer, "0");
Set("/:w2x_2_4" add /:Theplayer, "0");
Set("/:w2y_2_4" add /:Theplayer, "0");
Set("/:w2x_3_4" add /:Theplayer, "0");
Set("/:w2y_3_4" add /:Theplayer, -"1");
Set("/:w2x_4_4" add /:Theplayer, "1");
Set("/:w2y_4_4" add /:Theplayer, -"1");
Symbol 133 MovieClip Frame 5
stop();
Set("/:current2" add /:Theplayer, "1");
TheAdd = "340";
Set("/:l2x_1" add /:Theplayer, "50" + TheAdd);
Set("/:r2x_1" add /:Theplayer, "230" + TheAdd);
Set("/:l2x_2" add /:Theplayer, "50" + TheAdd);
Set("/:r2x_2" add /:Theplayer, "210" + TheAdd);
Set("/:l2x_3" add /:Theplayer, "30" + TheAdd);
Set("/:r2x_3" add /:Theplayer, "210" + TheAdd);
Set("/:l2x_4" add /:Theplayer, "50" + TheAdd);
Set("/:r2x_4" add /:Theplayer, "210" + TheAdd);
Set("/:w2x_1_1" add /:Theplayer, "0");
Set("/:w2y_1_1" add /:Theplayer, -"1");
Set("/:w2x_2_1" add /:Theplayer, "0");
Set("/:w2y_2_1" add /:Theplayer, "0");
Set("/:w2x_3_1" add /:Theplayer, -"1");
Set("/:w2y_3_1" add /:Theplayer, "0");
Set("/:w2x_4_1" add /:Theplayer, -"1");
Set("/:w2y_4_1" add /:Theplayer, "1");
Set("/:w2x_1_2" add /:Theplayer, -"1");
Set("/:w2y_1_2" add /:Theplayer, -"1");
Set("/:w2x_2_2" add /:Theplayer, "0");
Set("/:w2y_2_2" add /:Theplayer, -"1");
Set("/:w2x_3_2" add /:Theplayer, "0");
Set("/:w2y_3_2" add /:Theplayer, "0");
Set("/:w2x_4_2" add /:Theplayer, "1");
Set("/:w2y_4_2" add /:Theplayer, "0");
Set("/:w2x_1_3" add /:Theplayer, "1");
Set("/:w2y_1_3" add /:Theplayer, -"1");
Set("/:w2x_2_3" add /:Theplayer, "0");
Set("/:w2y_2_3" add /:Theplayer, "0");
Set("/:w2x_3_3" add /:Theplayer, "1");
Set("/:w2y_3_3" add /:Theplayer, "0");
Set("/:w2x_4_3" add /:Theplayer, "0");
Set("/:w2y_4_3" add /:Theplayer, "1");
Set("/:w2x_1_4" add /:Theplayer, -"1");
Set("/:w2y_1_4" add /:Theplayer, "0");
Set("/:w2x_2_4" add /:Theplayer, "0");
Set("/:w2y_2_4" add /:Theplayer, "0");
Set("/:w2x_3_4" add /:Theplayer, "0");
Set("/:w2y_3_4" add /:Theplayer, "1");
Set("/:w2x_4_4" add /:Theplayer, "1");
Set("/:w2y_4_4" add /:Theplayer, "1");
Symbol 133 MovieClip Frame 6
stop();
Set("/:current2" add /:Theplayer, "1");
TheAdd = "340";
Set("/:l2x_1" add /:Theplayer, "30" + TheAdd);
Set("/:r2x_1" add /:Theplayer, "230" + TheAdd);
Set("/:l2x_2" add /:Theplayer, "70" + TheAdd);
Set("/:r2x_2" add /:Theplayer, "210" + TheAdd);
Set("/:l2x_3" add /:Theplayer, "30" + TheAdd);
Set("/:r2x_3" add /:Theplayer, "230" + TheAdd);
Set("/:l2x_4" add /:Theplayer, "50" + TheAdd);
Set("/:r2x_4" add /:Theplayer, "190" + TheAdd);
Set("/:w2x_1_1" add /:Theplayer, "0");
Set("/:w2y_1_1" add /:Theplayer, -"1");
Set("/:w2x_2_1" add /:Theplayer, "0");
Set("/:w2y_2_1" add /:Theplayer, "0");
Set("/:w2x_3_1" add /:Theplayer, "0");
Set("/:w2y_3_1" add /:Theplayer, "1");
Set("/:w2x_4_1" add /:Theplayer, "0");
Set("/:w2y_4_1" add /:Theplayer, "2");
Set("/:w2x_1_2" add /:Theplayer, -"2");
Set("/:w2y_1_2" add /:Theplayer, "0");
Set("/:w2x_2_2" add /:Theplayer, -"1");
Set("/:w2y_2_2" add /:Theplayer, "0");
Set("/:w2x_3_2" add /:Theplayer, "0");
Set("/:w2y_3_2" add /:Theplayer, "0");
Set("/:w2x_4_2" add /:Theplayer, "1");
Set("/:w2y_4_2" add /:Theplayer, "0");
Set("/:w2x_1_3" add /:Theplayer, "0");
Set("/:w2y_1_3" add /:Theplayer, -"2");
Set("/:w2x_2_3" add /:Theplayer, "0");
Set("/:w2y_2_3" add /:Theplayer, -"1");
Set("/:w2x_3_3" add /:Theplayer, "0");
Set("/:w2y_3_3" add /:Theplayer, "0");
Set("/:w2x_4_3" add /:Theplayer, "0");
Set("/:w2y_4_3" add /:Theplayer, "1");
Set("/:w2x_1_4" add /:Theplayer, -"1");
Set("/:w2y_1_4" add /:Theplayer, "0");
Set("/:w2x_2_4" add /:Theplayer, "0");
Set("/:w2y_2_4" add /:Theplayer, "0");
Set("/:w2x_3_4" add /:Theplayer, "1");
Set("/:w2y_3_4" add /:Theplayer, "0");
Set("/:w2x_4_4" add /:Theplayer, "2");
Set("/:w2y_4_4" add /:Theplayer, "0");
Symbol 133 MovieClip Frame 7
stop();
Set("/:current2" add /:Theplayer, "1");
TheAdd = "340";
Set("/:l2x_1" add /:Theplayer, "30" + TheAdd);
Set("/:r2x_1" add /:Theplayer, "210" + TheAdd);
Set("/:l2x_2" add /:Theplayer, "30" + TheAdd);
Set("/:r2x_2" add /:Theplayer, "210" + TheAdd);
Set("/:l2x_3" add /:Theplayer, "30" + TheAdd);
Set("/:r2x_3" add /:Theplayer, "210" + TheAdd);
Set("/:l2x_4" add /:Theplayer, "30" + TheAdd);
Set("/:r2x_4" add /:Theplayer, "210" + TheAdd);
Set("/:w2x_1_1" add /:Theplayer, "0");
Set("/:w2y_1_1" add /:Theplayer, "0");
Set("/:w2x_2_1" add /:Theplayer, "1");
Set("/:w2y_2_1" add /:Theplayer, "0");
Set("/:w2x_3_1" add /:Theplayer, "0");
Set("/:w2y_3_1" add /:Theplayer, "1");
Set("/:w2x_4_1" add /:Theplayer, "1");
Set("/:w2y_4_1" add /:Theplayer, "1");
Symbol 134 Button
on (release, keyPress "<Up>") {
if (TheWinner == "0") {
call("P_up2");
}
}
Symbol 135 Button
on (release, keyPress "<Left>") {
if (TheWinner == "0") {
call("P_left2");
}
}
Symbol 136 Button
on (release, keyPress "<Right>") {
if (TheWinner == "0") {
call("P_Right2");
}
}
Symbol 137 Button
on (release, keyPress "<Down>") {
if (TheWinner == "0") {
call("P_down2");
}
}
Symbol 138 Button
on (release, keyPress "<End>") {
if (TheWinner == "0") {
if ((GameOver == "0") and (Pause == "0")) {
call("fastdrop2");
tellTarget ("/Drop_arr2") {
gotoAndPlay (2);
};
}
}
}
Symbol 145 Button
on (release, keyPress "g") {
tellTarget ("/GridClip") {
gotoAndPlay (2);
};
if (getProperty("/theGrid", _visible) == "1") {
setProperty("/TheGrid", _visible , "0");
setProperty("/TheGrid1", _visible , "0");
} else {
setProperty("/TheGrid", _visible , "1");
setProperty("/TheGrid1", _visible , "1");
}
}
Symbol 146 Button
on (release, keyPress "r") {
if ((Restart == "0") and (pause == "0")) {
Pause = "1";
tellTarget ("/RestartClip") {
gotoAndPlay (2);
};
if (GameOver == "1") {
tellTarget ("/") {
gotoAndPlay ("TrueStartMulti");
};
removeMovieClip("/restart01");
} else {
Restart = "1";
duplicateMovieClip ("/restart", "Restart01", "1002");
ToDo = "again";
Set("/Restart01/:txt", "Restart game?");
}
stop();
}
}
Symbol 147 Button
on (release, keyPress "q") {
if ((Restart == "0") and (pause == "0")) {
tellTarget ("/ReturnClip") {
gotoAndPlay (2);
};
Pause = "1";
stop();
Restart = "1";
duplicateMovieClip ("/restart", "Restart01", "1002");
ToDo = "return";
Set("/Restart01/:txt", "Return to menu?");
}
}