Frame 1
stop();
Frame 2
function towers() {
_root.startx = 0;
_root.starty = 70;
lines = 1;
while (lines < 6) {
row = 1;
while (row < 6) {
duplicateMovieClip ("_root.t0", "t" add tilenumber, tilenumber);
setProperty("t" add tilenumber, _x , startx + (row * 40));
setProperty("t" add tilenumber, _y , (lines * 60) + starty);
Set(("t" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("t" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
lines++;
}
lines = 1;
row = 1;
lines = 1;
while (lines < 5) {
row = 1;
while (row < 5) {
duplicateMovieClip ("_root.tt0", "tt" add tilenumber, tilenumber);
setProperty("tt" add tilenumber, _x , startx + (row * 40));
setProperty("tt" add tilenumber, _y , (lines * 60) + starty);
Set(("tt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("tt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
lines++;
}
lines = 1;
row = 1;
lines = 1;
while (lines < 4) {
row = 1;
while (row < 4) {
duplicateMovieClip ("_root.ttt0", "ttt" add tilenumber, tilenumber);
setProperty("ttt" add tilenumber, _x , startx + (row * 40));
setProperty("ttt" add tilenumber, _y , (lines * 60) + starty);
Set(("ttt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("ttt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
lines++;
}
_root.startx = 362;
lines = 1;
row = 1;
lines = 1;
while (lines < 6) {
row = 1;
while (row < 6) {
duplicateMovieClip ("_root.t0", "t" add tilenumber, tilenumber);
setProperty("t" add tilenumber, _x , startx + (row * 40));
setProperty("t" add tilenumber, _y , (lines * 60) + starty);
Set(("t" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("t" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
lines++;
}
lines = 1;
row = 1;
lines = 1;
while (lines < 5) {
row = 1;
while (row < 5) {
duplicateMovieClip ("_root.tt0", "tt" add tilenumber, tilenumber);
setProperty("tt" add tilenumber, _x , startx + (row * 40));
setProperty("tt" add tilenumber, _y , (lines * 60) + starty);
Set(("tt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("tt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
lines++;
}
lines = 1;
row = 1;
lines = 1;
while (lines < 4) {
row = 1;
while (row < 4) {
duplicateMovieClip ("_root.ttt0", "ttt" add tilenumber, tilenumber);
setProperty("ttt" add tilenumber, _x , (startx + 40) + row);
setProperty("ttt" add tilenumber, _y , (lines * 60) + starty);
Set(("ttt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("ttt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
lines++;
}
_root.startx = 210;
_root.starty = 10;
lines = 1;
while (lines < 8) {
row = 1;
while (row < 2) {
duplicateMovieClip ("_root.t0", "t" add tilenumber, tilenumber);
setProperty("t" add tilenumber, _x , startx + (row * 40));
setProperty("t" add tilenumber, _y , (lines * 60) + starty);
Set(("t" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("t" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
duplicateMovieClip ("_root.t0", "t" add tilenumber, tilenumber);
setProperty("t" add tilenumber, _x , (startx + (row * 40)) + 100);
setProperty("t" add tilenumber, _y , (lines * 60) + starty);
Set(("t" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("t" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
lines++;
}
_root.startx = 210;
_root.starty = 40;
lines = 1;
while (lines < 7) {
row = 1;
while (row < 2) {
duplicateMovieClip ("_root.tt0", "tt" add tilenumber, tilenumber);
setProperty("tt" add tilenumber, _x , startx + (row * 40));
setProperty("tt" add tilenumber, _y , (lines * 60) + starty);
Set(("tt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("tt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
duplicateMovieClip ("_root.tt0", "tt" add tilenumber, tilenumber);
setProperty("tt" add tilenumber, _x , (startx + (row * 40)) + 100);
setProperty("tt" add tilenumber, _y , (lines * 60) + starty);
Set(("tt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("tt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
lines++;
}
_root.startx = 260;
_root.starty = 10;
lines = 1;
while (lines < 8) {
row = 1;
while (row < 2) {
duplicateMovieClip ("_root.t0", "t" add tilenumber, tilenumber);
setProperty("t" add tilenumber, _x , startx + (row * 40));
setProperty("t" add tilenumber, _y , (lines * 60) + starty);
Set(("t" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("t" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
lines++;
}
_root.startx = 260;
_root.starty = 40;
lines = 1;
while (lines < 7) {
row = 1;
while (row < 2) {
duplicateMovieClip ("_root.tt0", "tt" add tilenumber, tilenumber);
setProperty("tt" add tilenumber, _x , startx + (row * 40));
setProperty("tt" add tilenumber, _y , (lines * 60) + starty);
Set(("tt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("tt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
lines++;
}
_root.startx = 260;
_root.starty = 70;
lines = 1;
while (lines < 5) {
row = 1;
while (row < 2) {
duplicateMovieClip ("_root.ttt0", "ttt" add tilenumber, tilenumber);
setProperty("ttt" add tilenumber, _x , startx + (row * 40));
setProperty("ttt" add tilenumber, _y , (lines * 60) + starty);
Set(("ttt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("ttt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
lines++;
}
_root.startx = 400;
_root.starty = -50;
duplicateMovieClip ("_root.tttt0", "tttt" add tilenumber, tilenumber);
setProperty("tttt" add tilenumber, _x , startx + (row * 40));
setProperty("tttt" add tilenumber, _y , (lines * 60) + starty);
Set(("tttt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("tttt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
}
function maya() {
_root.startx = 0;
_root.starty = 70;
lines = 1;
while (lines < 6) {
row = 1;
while (row < 15) {
duplicateMovieClip ("_root.t0", "t" add tilenumber, tilenumber);
setProperty("t" add tilenumber, _x , startx + (row * 40));
setProperty("t" add tilenumber, _y , (lines * 60) + starty);
Set(("t" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("t" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
lines++;
}
lines = 1;
row = 1;
lines = 1;
while (lines < 5) {
row = 1;
while (row < 14) {
duplicateMovieClip ("_root.tt0", "tt" add tilenumber, tilenumber);
setProperty("tt" add tilenumber, _x , startx + (row * 40));
setProperty("tt" add tilenumber, _y , (lines * 60) + starty);
Set(("tt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("tt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row = row + 1;
row++;
}
lines++;
}
lines = 1;
row = 1;
lines = 1;
while (lines < 5) {
row = 1;
while (row < 14) {
duplicateMovieClip ("_root.ttt0", "ttt" add tilenumber, tilenumber);
setProperty("ttt" add tilenumber, _x , startx + (row * 40));
setProperty("ttt" add tilenumber, _y , (lines * 60) + starty);
Set(("ttt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("ttt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row = row + 1;
row++;
}
lines++;
}
_root.startx = 100;
_root.starty = 395;
lines = 1;
while (lines < 2) {
row = 1;
while (row < 10) {
duplicateMovieClip ("_root.t0", "t" add tilenumber, tilenumber);
setProperty("t" add tilenumber, _x , startx + (row * 40));
setProperty("t" add tilenumber, _y , (lines * 60) + starty);
Set(("t" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("t" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
lines++;
}
_root.startx = 120;
_root.starty = 395;
lines = 1;
while (lines < 2) {
row = 1;
while (row < 9) {
duplicateMovieClip ("_root.tt0", "tt" add tilenumber, tilenumber);
setProperty("tt" add tilenumber, _x , startx + (row * 40));
setProperty("tt" add tilenumber, _y , (lines * 60) + starty);
Set(("tt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("tt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
lines++;
}
_root.startx = 400;
_root.starty = -50;
duplicateMovieClip ("_root.tttt0", "tttt" add tilenumber, tilenumber);
setProperty("tttt" add tilenumber, _x , startx + (row * 40));
setProperty("tttt" add tilenumber, _y , (lines * 60) + starty);
Set(("tttt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("tttt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
}
function reddragon() {
_root.startx = 0;
_root.starty = 75;
lines = 1;
while (lines < 6) {
row = 1;
while (row < 15) {
duplicateMovieClip ("_root.t0", "t" add tilenumber, tilenumber);
row = row + 1;
setProperty("t" add tilenumber, _x , startx + (row * 40));
setProperty("t" add tilenumber, _y , (lines * 60) + starty);
Set(("t" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("t" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
lines++;
}
lines = 1;
row = 1;
lines = 1;
while (lines < 5) {
row = 1;
while (row < 14) {
duplicateMovieClip ("_root.tt0", "tt" add tilenumber, tilenumber);
row = row + 1;
setProperty("tt" add tilenumber, _x , startx + (row * 40));
setProperty("tt" add tilenumber, _y , ((lines * 60) + starty) + 30);
Set(("tt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("tt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
lines++;
}
lines = 1;
row = 1;
lines = 1;
while (lines < 5) {
row = 1;
while (row < 14) {
duplicateMovieClip ("_root.ttt0", "ttt" add tilenumber, tilenumber);
row = row + 1;
setProperty("ttt" add tilenumber, _x , startx + (row * 40));
setProperty("ttt" add tilenumber, _y , ((lines * 60) + starty) + 30);
Set(("ttt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("ttt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
lines++;
}
_root.startx = 0;
_root.starty = 0;
lines = 1;
while (lines < 2) {
row = 1;
while (row < 15) {
duplicateMovieClip ("_root.t0", "t" add tilenumber, tilenumber);
row = row + 1;
setProperty("t" add tilenumber, _x , startx + (row * 40));
setProperty("t" add tilenumber, _y , (lines * 60) + starty);
Set(("t" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("t" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
lines++;
}
_root.startx = 0;
_root.starty = 1;
lines = 1;
while (lines < 2) {
row = 1;
while (row < 15) {
duplicateMovieClip ("_root.tt0", "tt" add tilenumber, tilenumber);
row = row + 1;
setProperty("tt" add tilenumber, _x , startx + (row * 40));
setProperty("tt" add tilenumber, _y , (lines * 60) + starty);
Set(("tt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("tt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
lines++;
}
_root.startx = 10;
_root.starty = 380;
lines = 1;
while (lines < 2) {
row = 1;
while (row < 15) {
duplicateMovieClip ("_root.t0", "t" add tilenumber, tilenumber);
setProperty("t" add tilenumber, _x , startx + (row * 40));
setProperty("t" add tilenumber, _y , (lines * 60) + starty);
Set(("t" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("t" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
lines++;
}
_root.startx = 30;
_root.starty = 380;
lines = 1;
while (lines < 2) {
row = 1;
while (row < 14) {
duplicateMovieClip ("_root.tt0", "tt" add tilenumber, tilenumber);
setProperty("tt" add tilenumber, _x , startx + (row * 40));
setProperty("tt" add tilenumber, _y , (lines * 60) + starty);
Set(("tt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("tt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
lines++;
}
_root.startx = 50;
_root.starty = 380;
lines = 1;
while (lines < 2) {
row = 1;
while (row < 12) {
duplicateMovieClip ("_root.ttt0", "ttt" add tilenumber, tilenumber);
setProperty("ttt" add tilenumber, _x , startx + (row * 40));
setProperty("ttt" add tilenumber, _y , (lines * 60) + starty);
Set(("ttt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("ttt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
lines++;
}
_root.startx = 400;
_root.starty = -50;
duplicateMovieClip ("_root.tttt0", "tttt" add tilenumber, tilenumber);
setProperty("tttt" add tilenumber, _x , startx + (row * 40));
setProperty("tttt" add tilenumber, _y , (lines * 60) + starty);
Set(("tttt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("tttt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
}
function ninja() {
_root.startx = 70;
_root.starty = 10;
lines = 1;
while (lines < 7) {
row = 1;
while (row < 12) {
duplicateMovieClip ("_root.t0", "t" add tilenumber, tilenumber);
setProperty("t" add tilenumber, _x , startx + (row * 40));
setProperty("t" add tilenumber, _y , (lines * 60) + starty);
Set(("t" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("t" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
lines++;
}
_root.startx = 90;
_root.starty = 30;
lines = 1;
while (lines < 6) {
row = 1;
while (row < 11) {
duplicateMovieClip ("_root.tt0", "tt" add tilenumber, tilenumber);
setProperty("tt" add tilenumber, _x , startx + (row * 40));
setProperty("tt" add tilenumber, _y , (lines * 60) + starty);
Set(("tt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("tt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
lines++;
}
_root.startx = 190;
_root.starty = 60;
lines = 1;
while (lines < 5) {
row = 1;
while (row < 5) {
duplicateMovieClip ("_root.ttt0", "ttt" add tilenumber, tilenumber);
setProperty("ttt" add tilenumber, _x , startx + (row * 40));
setProperty("ttt" add tilenumber, _y , (lines * 60) + starty);
Set(("ttt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("ttt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
lines++;
}
_root.startx = 71;
_root.starty = 140;
row = 1;
while (row < 12) {
duplicateMovieClip ("_root.t0", "t" add tilenumber, tilenumber);
setProperty("t" add tilenumber, _x , startx + (row * 40));
setProperty("t" add tilenumber, _y , (lines * 60) + starty);
Set(("t" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("t" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row = row + 1;
row++;
}
_root.startx = 10;
_root.starty = 10;
lines = 1;
while (lines < 6) {
row = 1;
while (row < 2) {
duplicateMovieClip ("_root.t0", "t" add tilenumber, tilenumber);
setProperty("t" add tilenumber, _x , startx + (row * 40));
setProperty("t" add tilenumber, _y , (lines * 60) + starty);
Set(("t" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("t" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.starty = _root.starty + 10;
_root.tilenumber = _root.tilenumber + 1;
row++;
}
lines++;
}
setProperty(tt76, _x , 570);
setProperty(tt76, _y , 70);
setProperty(tt116, _x , 570);
setProperty(tt116, _y , 140);
setProperty(tt97, _x , 570);
setProperty(tt97, _y , 210);
setProperty(tt67, _x , 570);
setProperty(tt67, _y , 280);
setProperty(tt87, _x , 570);
setProperty(tt87, _y , 350);
_root.startx = 400;
_root.starty = -50;
duplicateMovieClip ("_root.tttt0", "tttt" add tilenumber, tilenumber);
setProperty("tttt" add tilenumber, _x , startx + (row * 40));
setProperty("tttt" add tilenumber, _y , (lines * 60) + starty);
Set(("tttt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("tttt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
}
function shrimp() {
pyr = 15;
startx = 10;
starty = 10;
lines = 1;
while (lines < 8) {
row = 1;
while (row < pyr) {
duplicateMovieClip ("_root.t0", "t" add tilenumber, tilenumber);
setProperty("t" add tilenumber, _x , startx + (row * 40));
setProperty("t" add tilenumber, _y , (lines * 60) + starty);
Set(("t" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("t" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
pyr = pyr - 2;
startx = startx + 40;
lines++;
}
pyr = 13;
startx = 50;
starty = 10;
lines = 1;
while (lines < 8) {
row = 1;
while (row < pyr) {
duplicateMovieClip ("_root.tt0", "tt" add tilenumber, tilenumber);
setProperty("tt" add tilenumber, _x , startx + (row * 40));
setProperty("tt" add tilenumber, _y , (lines * 60) + starty);
Set(("tt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("tt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
pyr = pyr - 2;
startx = startx + 40;
lines++;
}
pyr = 1;
startx = 0;
starty = 40;
lines = 1;
while (lines < 7) {
row = 1;
while (row < pyr) {
duplicateMovieClip ("_root.t0", "t" add tilenumber, tilenumber);
setProperty("t" add tilenumber, _x , startx + (row * 40));
setProperty("t" add tilenumber, _y , (lines * 60) + starty);
Set(("t" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("t" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
pyr = pyr + 1;
lines++;
}
pyr = 1;
startx = 580;
starty = 40;
lines = 1;
while (lines < 7) {
row = 1;
while (row < pyr) {
duplicateMovieClip ("_root.t0", "t" add tilenumber, tilenumber);
setProperty("t" add tilenumber, _x , startx + (row * 40));
setProperty("t" add tilenumber, _y , (lines * 60) + starty);
Set(("t" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("t" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
pyr = pyr + 1;
startx = startx - 40;
lines++;
}
pyr = 1;
startx = 0;
starty = 100;
lines = 1;
while (lines < 6) {
row = 1;
while (row < pyr) {
duplicateMovieClip ("_root.tt0", "tt" add tilenumber, tilenumber);
setProperty("tt" add tilenumber, _x , startx + (row * 40));
setProperty("tt" add tilenumber, _y , (lines * 60) + starty);
Set(("tt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("tt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
pyr = pyr + 1;
lines++;
}
startx = 230;
starty = 70;
last = 0;
lines = 1;
while (lines < 3) {
row = 1;
while (row < (4 - last)) {
duplicateMovieClip ("_root.ttt0", "ttt" add tilenumber, tilenumber);
setProperty("ttt" add tilenumber, _x , startx + (row * 40));
setProperty("ttt" add tilenumber, _y , (lines * 60) + starty);
Set(("ttt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("ttt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
last = 1;
_root.startx = 400;
_root.starty = -50;
duplicateMovieClip ("_root.tttt0", "tttt" add tilenumber, tilenumber);
setProperty("tttt" add tilenumber, _x , startx + (row * 40));
setProperty("tttt" add tilenumber, _y , (lines * 60) + starty);
Set(("tttt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("tttt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
lines++;
}
setProperty(tttt144, _x , 350);
setProperty(tttt144, _y , (lines * 60) + starty);
}
function dream() {
pyr = 11;
startx = 160;
starty = 10;
lines = 1;
while (lines < 8) {
row = 1;
while (row < pyr) {
duplicateMovieClip ("_root.t0", "t" add tilenumber, tilenumber);
setProperty("t" add tilenumber, _x , startx + (row * 40));
setProperty("t" add tilenumber, _y , (lines * 60) + starty);
Set(("t" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("t" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
pyr = pyr - 1;
startx = startx + 40;
lines++;
}
pyr = 9;
startx = 200;
starty = 10;
lines = 1;
while (lines < 8) {
row = 1;
while (row < pyr) {
duplicateMovieClip ("_root.tt0", "tt" add tilenumber, tilenumber);
setProperty("tt" add tilenumber, _x , startx + (row * 40));
setProperty("tt" add tilenumber, _y , (lines * 60) + starty);
Set(("tt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("tt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
pyr = pyr - 1;
startx = startx + 40;
lines++;
}
pyr = 7;
startx = 240;
starty = 10;
lines = 1;
while (lines < 7) {
row = 1;
while (row < pyr) {
duplicateMovieClip ("_root.ttt0", "ttt" add tilenumber, tilenumber);
setProperty("ttt" add tilenumber, _x , startx + (row * 40));
setProperty("ttt" add tilenumber, _y , (lines * 60) + starty);
Set(("ttt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("ttt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
pyr = pyr - 1;
startx = startx + 40;
lines++;
}
pyr = 5;
startx = 280;
starty = 10;
lines = 1;
while (lines < 6) {
row = 1;
while (row < pyr) {
duplicateMovieClip ("_root.tttt0", "tttt" add tilenumber, tilenumber);
setProperty("tttt" add tilenumber, _x , startx + (row * 40));
setProperty("tttt" add tilenumber, _y , (lines * 60) + starty);
Set(("tttt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("tttt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
pyr = pyr - 1;
startx = startx + 40;
lines++;
}
pyr = 1;
startx = 0;
starty = 40;
lines = 1;
while (lines < 7) {
row = 1;
while (row < pyr) {
duplicateMovieClip ("_root.t0", "t" add tilenumber, tilenumber);
setProperty("t" add tilenumber, _x , startx + (row * 40));
setProperty("t" add tilenumber, _y , (lines * 60) + starty);
Set(("t" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("t" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
pyr = pyr + 1;
lines++;
}
pyr = 1;
startx = 40;
starty = 160;
lines = 1;
while (lines < 5) {
row = 1;
while (row < pyr) {
duplicateMovieClip ("_root.tt0", "tt" add tilenumber, tilenumber);
setProperty("tt" add tilenumber, _x , startx + (row * 40));
setProperty("tt" add tilenumber, _y , (lines * 60) + starty);
Set(("tt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("tt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
pyr = pyr + 1;
lines++;
}
pyr = 1;
startx = 40;
starty = 220;
lines = 1;
while (lines < 4) {
row = 1;
while (row < pyr) {
duplicateMovieClip ("_root.ttt0", "ttt" add tilenumber, tilenumber);
setProperty("ttt" add tilenumber, _x , startx + (row * 40));
setProperty("ttt" add tilenumber, _y , (lines * 60) + starty);
Set(("ttt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("ttt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
pyr = pyr + 1;
lines++;
}
startx = 100;
starty = 60;
lines = 1;
while (lines < 5) {
row = 1;
while (row < 2) {
duplicateMovieClip ("_root.t0", "t" add tilenumber, tilenumber);
setProperty("t" add tilenumber, _x , startx + (row * 40));
setProperty("t" add tilenumber, _y , (lines * 60) + starty);
Set(("t" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("t" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
_root.tilenumber = _root.tilenumber + 1;
row++;
}
startx = startx + 40;
pyr = pyr + 1;
lines++;
}
startx = 230;
starty = 70;
duplicateMovieClip ("_root.tttt0", "tttt" add tilenumber, tilenumber);
setProperty("tttt" add tilenumber, _x , startx + (row * 47));
setProperty("tttt" add tilenumber, _y , ((lines * 64) + starty) - 2);
Set(("tttt" add tilenumber) add ".tilepick", myArrayb[tilenumber]);
Set(("tttt" add tilenumber) add ".tileface.tilepick", myArrayb[tilenumber]);
}
bgzakif = 10;
_root.interfirance = 20;
_root.scoregame = 1;
_root.lockthingy = 1;
txtPercentage = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
tellTarget ("loader") {
gotoAndPlay(Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100));
};
Frame 3
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
gotoAndStop (4);
myscore = 0;
} else {
gotoAndPlay (2);
}
Frame 4
table = 6;
count = 1;
chaoscount = 0;
ishere = 1;
myArray = new Array();
myArrayb = new Array();
loop = 1;
while (loop < 145) {
myArray[loop] = loop;
loop++;
}
stop();
Instance of Symbol 42 MovieClip in Frame 4
onClipEvent (load) {
scriptType = "PHP";
countname = "mahjongg";
gamename = "mahjongg";
}
Frame 6
rnd = random(144) + 1;
chaoscount = count - 45;
if (chaoscount < 1) {
chaoscount = 1;
}
tellTarget (_root.pleasewait) {
gotoAndPlay(_root.chaoscount);
};
Frame 7
check = 1;
while (check < count) {
if (rnd == myArrayb[check]) {
ishere = 1;
}
check++;
}
if (ishere < 1) {
myArrayb[check] = rnd;
count = count + 1;
}
if (count < 145) {
ishere = 0;
gotoAndPlay (6);
} else {
gotoAndPlay (8);
}
Frame 8
duplicateMovieClip ("_root.hint", "hintwindow", 1000);
duplicateMovieClip ("_root.pleasewait", "pw", 1001);
setProperty("hintwindow", _visible , false);
setProperty("pw", _visible , false);
setProperty("pleasewait", _visible , false);
setProperty("hint", _visible , false);
_root.stam = 0;
_root.correntselect = 1;
_root.totaltiles = 144;
_root.tilenumber = 1;
if (7 < _root.tileart) {
_root.tileart = 1;
}
setProperty("_root.options", _visible , false);
duplicateMovieClip ("_root.options", "options_ontop", 300);
if (table == 1) {
towers();
}
if (table == 2) {
maya();
}
if (table == 3) {
reddragon();
}
if (table == 4) {
ninja();
}
if (table == 5) {
shrimp();
}
if (table == 6) {
dream();
}
if (table == 7) {
Chaos();
}
if (table == 8) {
T();
}
play();
Frame 9
stop();
Frame 17
gotoAndStop (4);
removeMovieClip("options_ontop");
Frame 27
duplicateMovieClip ("_root.goodshow", "gs", 2008);
setProperty("_root.goodshow", _visible , false);
loop = 1;
play();
Frame 28
setProperty("_root.outt" add loop, _y , random(400) + 50);
setProperty("_root.outt" add loop, _x , random(500) + 50);
setProperty("_root.outtt" add loop, _y , random(400) + 50);
setProperty("_root.outtt" add loop, _x , random(500) + 50);
setProperty("_root.outttt" add loop, _y , random(400) + 50);
setProperty("_root.outttt" add loop, _x , random(500) + 50);
Frame 29
loop = loop + 1;
if (140 < loop) {
loop = 1;
}
gotoAndPlay (28);
Frame 37
gotoAndPlay (8);
Frame 38
stop();
Symbol 15 MovieClip Frame 257
tellTarget ("../") {
play();
};
Symbol 27 MovieClip Frame 1
stop();
Symbol 27 MovieClip Frame 7
gotoAndStop (1);
Symbol 32 Button
on (release) {
getURL ("http://www.miniclip.com/Homepage.htm", "_blank");
}
Symbol 42 MovieClip Frame 1
if ((this.gamename != "") && (this.countname != "")) {
this.preventcache = getTime();
this.gamename = this.gamename;
this.countername = this.countname;
this.formaction = "sethits";
if (((_url.indexOf("file:///") == -1) || (_url.indexOf("http://64.239.33.252") == 1)) || (_url.indexOf("http://www.playcount.com") == 1)) {
proxyurl = "proxy." + this.scriptType.toLowerCase();
loadVariables (proxyurl, this._target, "GET");
} else {
loadVariables ("http://64.239.33.252/stats/flashdata.php", this._target, "GET");
}
} else {
trace("HIT COUNTER HAS NO PROPERTYS SET: _root" + this._target);
}
stop();
Symbol 46 Button
on (release) {
tablename = "Maya";
table = 2;
play();
}
Symbol 47 Button
on (release) {
table = 3;
tablename = "Red Dragon";
play();
}
Symbol 48 Button
on (release) {
tablename = "Ninja";
table = 4;
play();
}
Symbol 49 Button
on (release) {
tablename = "Shrimp";
table = 5;
play();
}
Symbol 50 Button
on (release) {
table = 6;
tablename = "Dream";
play();
}
Symbol 53 Button
on (release) {
gotoAndStop (38);
}
Symbol 56 Button
on (release) {
getURL ("http://www.miniclip.com", "_blank");
}
Symbol 57 Button
on (release) {
getURL ("http://www.miniclip.com/signup.htm", "_blank");
}
Symbol 58 Button
on (release) {
getURL ("http://www.miniclip.com/download_mahjongg.htm", "_blank");
}
Symbol 61 Button
on (release) {
getURL ("http://www.nastypixel.com/arcade/", "_blank");
}
Symbol 67 Button
on (release) {
tellTarget (_root) {
gotoAndStop (1);
};
}
Symbol 68 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 1
stop();
Symbol 76 Button
on (release) {
play();
}
Symbol 77 Button
on (rollOver) {
play();
}
Symbol 83 Button
on (release) {
_root.tileart = _root.tileart + 1;
if (7 < _root.tileart) {
_root.tileart = 1;
}
loop = 1;
while (loop < 145) {
tellTarget (("_root.t" add loop) add ".tileart") {
nextFrame();
};
tellTarget (("_root.tt" add loop) add ".tileart") {
nextFrame();
};
tellTarget (("_root.ttt" add loop) add ".tileart") {
nextFrame();
};
tellTarget (("_root.tttt" add loop) add ".tileart") {
nextFrame();
};
loop++;
}
}
Symbol 84 Button
on (release) {
tellTarget ("_root.background") {
nextFrame();
};
}
Symbol 85 Button
on (release) {
loop = 1;
while (loop < 145) {
removeMovieClip("_root.tttt" add loop);
removeMovieClip("_root.ttt" add loop);
removeMovieClip("_root.tt" add loop);
removeMovieClip("_root.t" add loop);
loop++;
}
tellTarget (_root) {
gotoAndPlay (10);
};
}
Symbol 86 Button
on (release) {
loop = 1;
while (loop < 145) {
removeMovieClip("_root.tttt" add loop);
removeMovieClip("_root.ttt" add loop);
removeMovieClip("_root.tt" add loop);
removeMovieClip("_root.t" add loop);
loop++;
}
tellTarget (_root) {
gotoAndPlay (30);
};
}
Symbol 87 Button
on (release) {
getURL ("http://www.miniclip.com", "_blank");
}
Symbol 94 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 21
stop();
Symbol 94 MovieClip Frame 36
gotoAndStop (1);
Symbol 102 MovieClip Frame 1
stop();
Symbol 102 MovieClip Frame 2
stop();
Symbol 102 MovieClip Frame 7
gotoAndStop (1);
Symbol 149 MovieClip Frame 1
tileset = "Dragon - Green";
gotoAndStop(tilepick);
stop();
Symbol 149 MovieClip Frame 2
tileset = "Dragon - Green";
Symbol 149 MovieClip Frame 3
tileset = "Dragon - Green";
Symbol 149 MovieClip Frame 4
tileset = "Dragon - Green";
Symbol 149 MovieClip Frame 5
tileset = "Dragon - Red";
Symbol 149 MovieClip Frame 6
tileset = "Dragon - Red";
Symbol 149 MovieClip Frame 7
tileset = "Dragon - Red";
Symbol 149 MovieClip Frame 8
tileset = "Dragon - Red";
Symbol 149 MovieClip Frame 9
tileset = "Dragon - Black";
Symbol 149 MovieClip Frame 10
tileset = "Dragon - Black";
Symbol 149 MovieClip Frame 11
tileset = "Dragon - Black";
Symbol 149 MovieClip Frame 12
tileset = "Dragon - Black";
Symbol 149 MovieClip Frame 13
tileset = "Winds - North";
Symbol 149 MovieClip Frame 14
tileset = "Winds - North";
Symbol 149 MovieClip Frame 15
tileset = "Winds - North";
Symbol 149 MovieClip Frame 16
tileset = "Winds - North";
Symbol 149 MovieClip Frame 17
tileset = "Winds - South";
Symbol 149 MovieClip Frame 18
tileset = "Winds - South";
Symbol 149 MovieClip Frame 19
tileset = "Winds - South";
Symbol 149 MovieClip Frame 20
tileset = "Winds - South";
Symbol 149 MovieClip Frame 21
tileset = "Winds - East";
Symbol 149 MovieClip Frame 22
tileset = "Winds - East";
Symbol 149 MovieClip Frame 23
tileset = "Winds - East";
Symbol 149 MovieClip Frame 24
tileset = "Winds - East";
Symbol 149 MovieClip Frame 25
tileset = "Winds - West";
Symbol 149 MovieClip Frame 26
tileset = "Winds - West";
Symbol 149 MovieClip Frame 27
tileset = "Winds - West";
Symbol 149 MovieClip Frame 28
tileset = "Winds - West";
Symbol 149 MovieClip Frame 29
tileset = "Flowers - Any";
Symbol 149 MovieClip Frame 30
tileset = "Flowers - Any";
Symbol 149 MovieClip Frame 31
tileset = "Flowers - Any";
Symbol 149 MovieClip Frame 32
tileset = "Flowers - Any";
Symbol 149 MovieClip Frame 33
tileset = "Seasons - Any";
Symbol 149 MovieClip Frame 34
tileset = "Seasons - Any";
Symbol 149 MovieClip Frame 35
tileset = "Seasons - Any";
Symbol 149 MovieClip Frame 36
tileset = "Seasons - Any";
Symbol 149 MovieClip Frame 37
tileset = "Bamboo - 1";
Symbol 149 MovieClip Frame 38
tileset = "Bamboo - 1";
Symbol 149 MovieClip Frame 39
tileset = "Bamboo - 1";
Symbol 149 MovieClip Frame 40
tileset = "Bamboo - 1";
Symbol 149 MovieClip Frame 41
tileset = "Bamboo - 2";
Symbol 149 MovieClip Frame 42
tileset = "Bamboo - 2";
Symbol 149 MovieClip Frame 43
tileset = "Bamboo - 2";
Symbol 149 MovieClip Frame 44
tileset = "Bamboo - 2";
Symbol 149 MovieClip Frame 45
tileset = "Bamboo - 3";
Symbol 149 MovieClip Frame 46
tileset = "Bamboo - 3";
Symbol 149 MovieClip Frame 47
tileset = "Bamboo - 3";
Symbol 149 MovieClip Frame 48
tileset = "Bamboo - 3";
Symbol 149 MovieClip Frame 49
tileset = "Bamboo - 4";
Symbol 149 MovieClip Frame 50
tileset = "Bamboo - 4";
Symbol 149 MovieClip Frame 51
tileset = "Bamboo - 4";
Symbol 149 MovieClip Frame 52
tileset = "Bamboo - 4";
Symbol 149 MovieClip Frame 53
tileset = "Bamboo - 5";
Symbol 149 MovieClip Frame 54
tileset = "Bamboo - 5";
Symbol 149 MovieClip Frame 55
tileset = "Bamboo - 5";
Symbol 149 MovieClip Frame 56
tileset = "Bamboo - 5";
Symbol 149 MovieClip Frame 57
tileset = "Bamboo - 6";
Symbol 149 MovieClip Frame 58
tileset = "Bamboo - 6";
Symbol 149 MovieClip Frame 59
tileset = "Bamboo - 6";
Symbol 149 MovieClip Frame 60
tileset = "Bamboo - 6";
Symbol 149 MovieClip Frame 61
tileset = "Bamboo - 7";
Symbol 149 MovieClip Frame 62
tileset = "Bamboo - 7";
Symbol 149 MovieClip Frame 63
tileset = "Bamboo - 7";
Symbol 149 MovieClip Frame 64
tileset = "Bamboo - 7";
Symbol 149 MovieClip Frame 65
tileset = "Bamboo - 8";
Symbol 149 MovieClip Frame 66
tileset = "Bamboo - 8";
Symbol 149 MovieClip Frame 67
tileset = "Bamboo - 8";
Symbol 149 MovieClip Frame 68
tileset = "Bamboo - 8";
Symbol 149 MovieClip Frame 69
tileset = "Bamboo - 9";
Symbol 149 MovieClip Frame 70
tileset = "Bamboo - 9";
Symbol 149 MovieClip Frame 71
tileset = "Bamboo - 9";
Symbol 149 MovieClip Frame 72
tileset = "Bamboo - 9";
Symbol 149 MovieClip Frame 73
tileset = "Character - 1";
Symbol 149 MovieClip Frame 74
tileset = "Character - 1";
Symbol 149 MovieClip Frame 75
tileset = "Character - 1";
Symbol 149 MovieClip Frame 76
tileset = "Character - 1";
Symbol 149 MovieClip Frame 77
tileset = "Character - 2";
Symbol 149 MovieClip Frame 78
tileset = "Character - 2";
Symbol 149 MovieClip Frame 79
tileset = "Character - 2";
Symbol 149 MovieClip Frame 80
tileset = "Character - 2";
Symbol 149 MovieClip Frame 81
tileset = "Character - 3";
Symbol 149 MovieClip Frame 82
tileset = "Character - 3";
Symbol 149 MovieClip Frame 83
tileset = "Character - 3";
Symbol 149 MovieClip Frame 84
tileset = "Character - 3";
Symbol 149 MovieClip Frame 85
tileset = "Character - 4";
Symbol 149 MovieClip Frame 86
tileset = "Character - 4";
Symbol 149 MovieClip Frame 87
tileset = "Character - 4";
Symbol 149 MovieClip Frame 88
tileset = "Character - 4";
Symbol 149 MovieClip Frame 89
tileset = "Character - 5";
Symbol 149 MovieClip Frame 90
tileset = "Character - 5";
Symbol 149 MovieClip Frame 91
tileset = "Character - 5";
Symbol 149 MovieClip Frame 92
tileset = "Character - 5";
Symbol 149 MovieClip Frame 93
tileset = "Character - 6";
Symbol 149 MovieClip Frame 94
tileset = "Character - 6";
Symbol 149 MovieClip Frame 95
tileset = "Character - 6";
Symbol 149 MovieClip Frame 96
tileset = "Character - 6";
Symbol 149 MovieClip Frame 97
tileset = "Character - 7";
Symbol 149 MovieClip Frame 98
tileset = "Character - 7";
Symbol 149 MovieClip Frame 99
tileset = "Character - 7";
Symbol 149 MovieClip Frame 100
tileset = "Character - 7";
Symbol 149 MovieClip Frame 101
tileset = "Character - 8";
Symbol 149 MovieClip Frame 102
tileset = "Character - 8";
Symbol 149 MovieClip Frame 103
tileset = "Character - 8";
Symbol 149 MovieClip Frame 104
tileset = "Character - 8";
Symbol 149 MovieClip Frame 105
tileset = "Character - 9";
Symbol 149 MovieClip Frame 106
tileset = "Character - 9";
Symbol 149 MovieClip Frame 107
tileset = "Character - 9";
Symbol 149 MovieClip Frame 108
tileset = "Character - 9";
Symbol 149 MovieClip Frame 109
tileset = "Circle - 1";
Symbol 149 MovieClip Frame 110
tileset = "Circle - 1";
Symbol 149 MovieClip Frame 111
tileset = "Circle - 1";
Symbol 149 MovieClip Frame 112
tileset = "Circle - 1";
Symbol 149 MovieClip Frame 113
tileset = "Circle - 2";
Symbol 149 MovieClip Frame 114
tileset = "Circle - 2";
Symbol 149 MovieClip Frame 115
tileset = "Circle - 2";
Symbol 149 MovieClip Frame 116
tileset = "Circle - 2";
Symbol 149 MovieClip Frame 117
tileset = "Circle - 3";
Symbol 149 MovieClip Frame 118
tileset = "Circle - 3";
Symbol 149 MovieClip Frame 119
tileset = "Circle - 3";
Symbol 149 MovieClip Frame 120
tileset = "Circle - 3";
Symbol 149 MovieClip Frame 121
tileset = "Circle - 4";
Symbol 149 MovieClip Frame 122
tileset = "Circle - 4";
Symbol 149 MovieClip Frame 123
tileset = "Circle - 4";
Symbol 149 MovieClip Frame 124
tileset = "Circle - 4";
Symbol 149 MovieClip Frame 125
tileset = "Circle - 5";
Symbol 149 MovieClip Frame 126
tileset = "Circle - 5";
Symbol 149 MovieClip Frame 127
tileset = "Circle - 5";
Symbol 149 MovieClip Frame 128
tileset = "Circle - 5";
Symbol 149 MovieClip Frame 129
tileset = "Circle - 6";
Symbol 149 MovieClip Frame 130
tileset = "Circle - 6";
Symbol 149 MovieClip Frame 131
tileset = "Circle - 6";
Symbol 149 MovieClip Frame 132
tileset = "Circle - 6";
Symbol 149 MovieClip Frame 133
tileset = "Circle - 7";
Symbol 149 MovieClip Frame 134
tileset = "Circle - 7";
Symbol 149 MovieClip Frame 135
tileset = "Circle - 7";
Symbol 149 MovieClip Frame 136
tileset = "Circle - 7";
Symbol 149 MovieClip Frame 137
tileset = "Circle - 8";
Symbol 149 MovieClip Frame 138
tileset = "Circle - 8";
Symbol 149 MovieClip Frame 139
tileset = "Circle - 8";
Symbol 149 MovieClip Frame 140
tileset = "Circle - 8";
Symbol 149 MovieClip Frame 141
tileset = "Circle - 9";
Symbol 149 MovieClip Frame 142
tileset = "Circle - 9";
Symbol 149 MovieClip Frame 143
tileset = "Circle - 9";
Symbol 149 MovieClip Frame 144
tileset = "Circle - 9";
Symbol 150 Button
on (release) {
pressme = 1;
play();
}
Symbol 154 MovieClip Frame 1
n = 0;
s = 0;
e = 0;
w = 0;
c = 0;
pressme = 0;
Instance of Symbol 102 MovieClip "tileart" in Symbol 154 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(_root.tileart);
}
Symbol 154 MovieClip Frame 2
stop();
Instance of Symbol 151 MovieClip "w" in Symbol 154 MovieClip Frame 3
onClipEvent (enterFrame) {
tilecheckloopw = 1;
while (tilecheckloopw < _root.totaltiles) {
if (((this.hitTest(("_root.t" add tilecheckloopw) add ".e") or this.hitTest(("_root.tt" add tilecheckloopw) add ".e")) or this.hitTest(("_root.ttt" add tilecheckloopw) add ".e")) or this.hitTest(("_root.tttt" add tilecheckloopw) add ".e")) {
tellTarget ("../") {
w = 1;
};
break;
}
tellTarget ("../") {
w = 0;
};
tilecheckloopw++;
}
}
Instance of Symbol 152 MovieClip "e" in Symbol 154 MovieClip Frame 3
onClipEvent (enterFrame) {
tilecheckloopw = 1;
while (tilecheckloopw < _root.totaltiles) {
if (((this.hitTest(("_root.t" add tilecheckloopw) add ".w") or this.hitTest(("_root.tt" add tilecheckloopw) add ".w")) or this.hitTest(("_root.ttt" add tilecheckloopw) add ".w")) or this.hitTest(("_root.tttt" add tilecheckloopw) add ".w")) {
tellTarget ("../") {
s = 1;
};
break;
}
tellTarget ("../") {
s = 0;
};
tilecheckloopw++;
}
}
Instance of Symbol 153 MovieClip "center" in Symbol 154 MovieClip Frame 3
onClipEvent (enterFrame) {
tilecheckloopw = 1;
while (tilecheckloopw < _root.totaltiles) {
if ((this.hitTest(("_root.tt" add tilecheckloopw) add ".center") or this.hitTest(("_root.ttt" add tilecheckloopw) add ".center")) or this.hitTest(("_root.tttt" add tilecheckloopw) add ".center")) {
tellTarget ("../") {
c = 2;
};
break;
}
tellTarget ("../") {
c = 0;
};
tilecheckloopw++;
}
}
Symbol 154 MovieClip Frame 4
tilestatus = (((n + s) + e) + w) + c;
if ((tilestatus < 2) && (_root.correntselect < 3)) {
Set("_root.selected" add _root.correntselect, _name);
Set(("_root.selected" add _root.correntselect) add "pick", tileface.tileset);
if (0 < pressme) {
pressme = 0;
setProperty(this, _alpha , 70);
tellTarget ("_root.selectcount") {
nextFrame();
};
}
} else {
gotoAndPlay (1);
}
Symbol 158 MovieClip Frame 1
n = 0;
s = 0;
e = 0;
w = 0;
c = 0;
pressme = 0;
Instance of Symbol 102 MovieClip "tileart" in Symbol 158 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(_root.tileart);
}
Symbol 158 MovieClip Frame 2
stop();
Instance of Symbol 155 MovieClip "w" in Symbol 158 MovieClip Frame 3
onClipEvent (enterFrame) {
tilecheckloopw = 1;
while (tilecheckloopw < _root.totaltiles) {
if ((this.hitTest(("_root.tt" add tilecheckloopw) add ".e") or this.hitTest(("_root.ttt" add tilecheckloopw) add ".e")) or this.hitTest(("_root.tttt" add tilecheckloopw) add ".e")) {
tellTarget ("../") {
w = 1;
};
break;
}
tellTarget ("../") {
w = 0;
};
tilecheckloopw++;
}
}
Instance of Symbol 156 MovieClip "e" in Symbol 158 MovieClip Frame 3
onClipEvent (enterFrame) {
tilecheckloopw = 1;
while (tilecheckloopw < _root.totaltiles) {
if ((this.hitTest(("_root.tt" add tilecheckloopw) add ".w") or this.hitTest(("_root.ttt" add tilecheckloopw) add ".w")) or this.hitTest(("_root.tttt" add tilecheckloopw) add ".w")) {
tellTarget ("../") {
s = 1;
};
break;
}
tellTarget ("../") {
s = 0;
};
tilecheckloopw++;
}
}
Instance of Symbol 157 MovieClip "center" in Symbol 158 MovieClip Frame 3
onClipEvent (enterFrame) {
tilecheckloopw = 1;
while (tilecheckloopw < _root.totaltiles) {
if (this.hitTest(("_root.ttt" add tilecheckloopw) add ".center") or this.hitTest(("_root.tttt" add tilecheckloopw) add ".center")) {
tellTarget ("../") {
c = 2;
};
break;
}
tellTarget ("../") {
c = 0;
};
tilecheckloopw++;
}
}
Symbol 158 MovieClip Frame 4
tilestatus = (((n + s) + e) + w) + c;
if ((tilestatus < 2) && (_root.correntselect < 3)) {
Set("_root.selected" add _root.correntselect, _name);
Set(("_root.selected" add _root.correntselect) add "pick", tileface.tileset);
if (0 < pressme) {
pressme = 0;
setProperty(this, _alpha , 70);
tellTarget ("_root.selectcount") {
nextFrame();
};
}
} else {
gotoAndPlay (1);
}
Symbol 162 MovieClip Frame 1
n = 0;
s = 0;
e = 0;
w = 0;
c = 0;
pressme = 0;
Instance of Symbol 102 MovieClip "tileart" in Symbol 162 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(_root.tileart);
}
Symbol 162 MovieClip Frame 2
stop();
Instance of Symbol 159 MovieClip "w" in Symbol 162 MovieClip Frame 3
onClipEvent (enterFrame) {
tilecheckloopw = 1;
while (tilecheckloopw < _root.totaltiles) {
if (this.hitTest(("_root.ttt" add tilecheckloopw) add ".e") or this.hitTest(("_root.tttt" add tilecheckloopw) add ".e")) {
tellTarget ("../") {
w = 1;
};
break;
}
tellTarget ("../") {
w = 0;
};
tilecheckloopw++;
}
}
Instance of Symbol 160 MovieClip "e" in Symbol 162 MovieClip Frame 3
onClipEvent (enterFrame) {
tilecheckloopw = 1;
while (tilecheckloopw < _root.totaltiles) {
if (this.hitTest(("_root.ttt" add tilecheckloopw) add ".w") or this.hitTest(("_root.tttt" add tilecheckloopw) add ".w")) {
tellTarget ("../") {
s = 1;
};
break;
}
tellTarget ("../") {
s = 0;
};
tilecheckloopw++;
}
}
Instance of Symbol 161 MovieClip "center" in Symbol 162 MovieClip Frame 3
onClipEvent (enterFrame) {
tilecheckloopw = 1;
while (tilecheckloopw < _root.totaltiles) {
if (this.hitTest(("_root.tttt" add tilecheckloopw) add ".center")) {
tellTarget ("../") {
c = 2;
};
break;
}
tellTarget ("../") {
c = 0;
};
tilecheckloopw++;
}
}
Symbol 162 MovieClip Frame 4
tilestatus = (((n + s) + e) + w) + c;
if ((tilestatus < 2) && (_root.correntselect < 3)) {
Set("_root.selected" add _root.correntselect, _name);
Set(("_root.selected" add _root.correntselect) add "pick", tileface.tileset);
if (0 < pressme) {
pressme = 0;
setProperty(this, _alpha , 70);
tellTarget ("_root.selectcount") {
nextFrame();
};
}
} else {
gotoAndPlay (1);
}
Symbol 166 MovieClip Frame 1
n = 0;
s = 0;
e = 0;
w = 0;
c = 0;
pressme = 0;
Instance of Symbol 102 MovieClip "tileart" in Symbol 166 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(_root.tileart);
}
Symbol 166 MovieClip Frame 2
stop();
Instance of Symbol 163 MovieClip "w" in Symbol 166 MovieClip Frame 3
onClipEvent (enterFrame) {
tilecheckloopw = 1;
while (tilecheckloopw < _root.totaltiles) {
if (this.hitTest(("_root.tttt" add tilecheckloopw) add ".e") or this.hitTest(("_root.ttttt" add tilecheckloopw) add ".e")) {
tellTarget ("../") {
w = 1;
};
break;
}
tellTarget ("../") {
w = 0;
};
tilecheckloopw++;
}
}
Instance of Symbol 164 MovieClip "e" in Symbol 166 MovieClip Frame 3
onClipEvent (enterFrame) {
tilecheckloopw = 1;
while (tilecheckloopw < _root.totaltiles) {
if (this.hitTest(("_root.tttt" add tilecheckloopw) add ".w") or this.hitTest(("_root.ttttt" add tilecheckloopw) add ".e")) {
tellTarget ("../") {
s = 1;
};
break;
}
tellTarget ("../") {
s = 0;
};
tilecheckloopw++;
}
}
Instance of Symbol 165 MovieClip "center" in Symbol 166 MovieClip Frame 3
onClipEvent (enterFrame) {
tilecheckloopw = 1;
while (tilecheckloopw < _root.totaltiles) {
if (this.hitTest(("_root.ttttt" add tilecheckloopw) add ".center")) {
tellTarget ("../") {
c = 2;
};
break;
}
tellTarget ("../") {
c = 0;
};
tilecheckloopw++;
}
}
Symbol 166 MovieClip Frame 4
tilestatus = (((n + s) + e) + w) + c;
_rootready = 1;
if ((tilestatus < 2) && (_root.correntselect < 3)) {
Set("_root.selected" add _root.correntselect, _name);
Set(("_root.selected" add _root.correntselect) add "pick", tileface.tileset);
if (0 < pressme) {
pressme = 0;
setProperty(this, _alpha , 70);
tellTarget ("_root.selectcount") {
nextFrame();
};
}
} else {
gotoAndPlay (1);
}
Symbol 168 Button
on (release) {
setProperty("_root.pw", _visible , true);
tellTarget ("_root.hintmove") {
gotoAndPlay (2);
};
}
Symbol 174 Button
on (release) {
setProperty(_root.hintwindow, _visible , false);
}
Symbol 183 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 2
_root.correntselect = _root.correntselect + 1;
Symbol 183 MovieClip Frame 3
play();
Symbol 183 MovieClip Frame 10
_root.correntselect = _root.correntselect + 1;
if ((_root.selected1 != _root.selected2) && (_root.selected1pick == _root.selected2pick)) {
setProperty("_root." add _root.selected1, _x , -100);
setProperty("_root." add _root.selected2, _x , -100);
setProperty("_root." add _root.selected1, _y , -100);
setProperty("_root." add _root.selected2, _y , -100);
setProperty("_root." add _root.selected1, _alpha , 100);
setProperty("_root." add _root.selected2, _alpha , 100);
setProperty("_root." add _root.selected1, _name , "out" add _root.selected1);
setProperty("_root." add _root.selected2, _name , "out" add _root.selected2);
tellTarget ("_root.sounds") {
gotoAndPlay (70);
};
_root.tilenumber = _root.tilenumber - 2;
} else {
tellTarget ("_root.sounds") {
gotoAndPlay (10);
};
setProperty("_root." add _root.selected1, _alpha , 100);
setProperty("_root." add _root.selected2, _alpha , 100);
}
_root.correntselect = 1;
if (_root.tilenumber == 0) {
setProperty("_root." add _root.selected1, _alpha , 100);
setProperty("_root." add _root.selected2, _alpha , 100);
tellTarget (_root) {
gotoAndPlay (20);
};
} else {
gotoAndPlay (1);
}
Symbol 197 MovieClip Frame 1
stop();
Symbol 197 MovieClip Frame 59
gotoAndStop (1);
Symbol 197 MovieClip Frame 86
gotoAndStop (1);
Symbol 208 MovieClip Frame 1
stop();
_rootready = 0;
Symbol 208 MovieClip Frame 2
loop = 1;
Symbol 208 MovieClip Frame 3
tellTarget ("_root.t" add loop) {
gotoAndPlay (3);
};
tellTarget ("_root.tt" add loop) {
gotoAndPlay (3);
};
tellTarget ("_root.ttt" add loop) {
gotoAndPlay (3);
};
tellTarget ("_root.tttt" add loop) {
gotoAndPlay (3);
};
Symbol 208 MovieClip Frame 4
loop = loop + 1;
_root.comeon = loop - 144;
if (_root.comeon < 0) {
_root.comeon = 0;
}
if (loop < 144) {
gotoAndPlay (3);
}
Symbol 208 MovieClip Frame 7
robarray = new Array();
_root.robcount = 0;
_root.stam = 0;
_root.robout = "";
Symbol 208 MovieClip Frame 8
loop = 1;
while (loop < 145) {
robcheck = ("_root.t" add loop) add ".tilestatus";
if ((eval (robcheck) == 1) or (eval (robcheck) == 0)) {
_root.robcount = _root.robcount + 1;
toadd = eval (("_root.t" add loop) add ".tileface.tileset");
robarray[_root.robcount] = toadd;
}
loop++;
}
Symbol 208 MovieClip Frame 10
loop = 1;
while (loop < 145) {
robcheck = ("_root.tt" add loop) add ".tilestatus";
if ((eval (robcheck) == 1) or (eval (robcheck) == 0)) {
_root.robcount = _root.robcount + 1;
toadd = eval (("_root.tt" add loop) add ".tileface.tileset");
robarray[_root.robcount] = toadd;
}
loop++;
}
Symbol 208 MovieClip Frame 14
loop = 1;
while (loop < 145) {
robcheck = ("_root.ttt" add loop) add ".tilestatus";
if ((eval (robcheck) == 1) or (eval (robcheck) == 0)) {
_root.robcount = _root.robcount + 1;
toadd = eval (("_root.ttt" add loop) add ".tileface.tileset");
robarray[_root.robcount] = toadd;
}
loop++;
}
Symbol 208 MovieClip Frame 18
loop = 1;
while (loop < 145) {
robcheck = ("_root.tttt" add loop) add ".tilestatus";
if ((eval (robcheck) == 1) or (eval (robcheck) == 0)) {
_root.robcount = _root.robcount + 1;
toadd = eval (("_root.tttt" add loop) add ".tileface.tileset");
robarray[_root.robcount] = toadd;
}
loop++;
}
Symbol 208 MovieClip Frame 19
loop = 1;
while (loop < (_root.robcount + 1)) {
loopb = 1;
while (loopb < (_root.robcount + 1)) {
if ((robarray[loop] eq robarray[loopb]) && (loop != loopb)) {
_root.robout = (_root.robout add robarray[loop]) add "<BR>";
_root.stam = _root.stam + 1;
break;
}
loopb++;
}
loop++;
}
Symbol 208 MovieClip Frame 23
if (_root.stam == 0) {
_root.robout = "There are no more moves. <BR><BR>This game is over <BR><BR>You can Start a new game from the top left menu";
}
setProperty("_root.hintwindow", _visible , true);
setProperty("_root.pw", _visible , false);
Symbol 214 Button
on (release) {
loop = 1;
while (loop < 145) {
removeMovieClip("_root.tttt" add loop);
removeMovieClip("_root.ttt" add loop);
removeMovieClip("_root.tt" add loop);
removeMovieClip("_root.t" add loop);
loop++;
}
loop = 1;
while (loop < 145) {
removeMovieClip("_root.outtttt" add loop);
removeMovieClip("_root.outttt" add loop);
removeMovieClip("_root.outtt" add loop);
removeMovieClip("_root.outt" add loop);
loop++;
}
tellTarget ("../") {
gotoAndPlay (10);
};
removeMovieClip(_root.gs);
}
Symbol 216 Button
on (release) {
gotoAndStop (4);
}