Frame 1
fscommand ("allowscale", "false");
fscommand ("showmenu", "false");
Frame 2
loadMovieNum ("stage1.swf", 1);
Instance of Symbol 81 MovieClip in Frame 2
//component parameters
onClipEvent (initialize) {
colorbarra = "ff7f00";
frase1 = "NOW LOADING";
frase2 = "LOADED";
m_porcentaje = "no";
m_kb = "no";
m_tiempo = "no";
m_vel = "no";
}
Frame 331
_global.stage_mc = this;
_global.preloader = function () {
bytesTotal = _root.getBytesTotal();
bytesLoaded = _root.getBytesLoaded();
if (bytesLoaded >= bytesTotal) {
gotoAndStop ("start");
} else {
percent_mc.percentBar_mc._width = (bytesLoaded / bytesTotal) * 100;
gotoAndPlay ("preload");
}
};
_global.preloader2 = function () {
if (percent_mc.percentBar_mc._width >= 100) {
gotoAndStop ("start");
} else {
percent_mc.percentBar_mc._width = percent_mc.percentBar_mc._width + 1;
gotoAndPlay ("preload");
}
};
_global.preloader();
Frame 332
_global.preloader();
Frame 340
_level1.play();
function checkStage() {
var _local1 = _global;
rowBonus = 0;
row = _local1.ajrows - 1;
while (row >= 0) {
if (((((((((_local1.stage_array[row][0] && (_local1.stage_array[row][1])) && (_local1.stage_array[row][2])) && (_local1.stage_array[row][3])) && (_local1.stage_array[row][4])) && (_local1.stage_array[row][5])) && (_local1.stage_array[row][6])) && (_local1.stage_array[row][7])) && (_local1.stage_array[row][8])) && (_local1.stage_array[row][9])) {
_local1.clearedLines++;
_local1.totalLines++;
rowBonus++;
inCol = 0;
while (inCol < 10) {
if (mainWindow_mc[(("tile" + row.toString()) + "|") + inCol.toString()].shape == 7) {
_local1.score = _local1.score + 100;
}
mainWindow_mc[(("tile" + row.toString()) + "|") + inCol.toString()].removeMovieClip();
inCol++;
}
inRow = row;
while (inRow >= 0) {
inCol = 0;
while (inCol < 10) {
_local1.stage_array[inRow][inCol] = _local1.stage_array[inRow - 1][inCol];
if (_local1.stage_array[inRow - 1][inCol]) {
mainWindow_mc.attachMovie((("block|" + mainWindow_mc[(("tile" + (inRow - 1).toString()) + "|") + inCol.toString()].shape) + "|") + mainWindow_mc[(("tile" + (inRow - 1).toString()) + "|") + inCol.toString()].block, (("tile" + inRow.toString()) + "|") + inCol.toString(), _local1.depth++);
mainWindow_mc[(("tile" + inRow.toString()) + "|") + inCol.toString()].shape = mainWindow_mc[(("tile" + (inRow - 1).toString()) + "|") + inCol.toString()].shape;
mainWindow_mc[(("tile" + inRow.toString()) + "|") + inCol.toString()].block = mainWindow_mc[(("tile" + (inRow - 1).toString()) + "|") + inCol.toString()].block;
mainWindow_mc[(("tile" + inRow.toString()) + "|") + inCol.toString()].dir = mainWindow_mc[(("tile" + (inRow - 1).toString()) + "|") + inCol.toString()].dir;
mainWindow_mc[(("tile" + inRow.toString()) + "|") + inCol.toString()]._x = mainWindow_mc[(("tile" + (inRow - 1).toString()) + "|") + inCol.toString()]._x;
mainWindow_mc[(("tile" + inRow.toString()) + "|") + inCol.toString()]._y = mainWindow_mc[(("tile" + (inRow - 1).toString()) + "|") + inCol.toString()]._y + 25;
if (mainWindow_mc[(("tile" + (inRow - 1).toString()) + "|") + inCol.toString()].dir == 2) {
mainWindow_mc[(("tile" + inRow.toString()) + "|") + inCol.toString()]._rotation = 90;
} else if (mainWindow_mc[(("tile" + (inRow - 1).toString()) + "|") + inCol.toString()].dir == 3) {
mainWindow_mc[(("tile" + inRow.toString()) + "|") + inCol.toString()]._rotation = 180;
} else if (mainWindow_mc[(("tile" + (inRow - 1).toString()) + "|") + inCol.toString()].dir == 4) {
mainWindow_mc[(("tile" + inRow.toString()) + "|") + inCol.toString()]._rotation = 270;
}
mainWindow_mc[(("tile" + (inRow - 1).toString()) + "|") + inCol.toString()].removeMovieClip();
}
inCol++;
}
inRow--;
}
col = 0;
while (col < 10) {
_local1.stage_array[0][col] = 0;
col++;
}
row++;
}
row--;
}
if (rowBonus == 1) {
pitmanAnimation_mc.play();
playHeart("bonus100");
_local1.score = _local1.score + 100;
playSound();
} else if (rowBonus == 2) {
playHeart("bonus200");
_local1.score = _local1.score + 200;
pitmanAnimation_mc.play();
playSound();
} else if (rowBonus == 3) {
playHeart("bonus500");
_local1.score = _local1.score + 500;
pitmanAnimation_mc.play();
playSound();
} else if (rowBonus == 4) {
playHeart("bonus1000");
_local1.score = _local1.score + 500;
pitmanAnimation_mc.play();
playSound();
}
}
function playSound() {
if (!_global.mute) {
eval (("s" + _global.soundOrder_array[_global.soundOrderPos++]) + "_sound").start();
}
if (_global.soundOrderPos > 12) {
randomizeSounds();
}
}
function playHeart(n) {
stage_mc.attachMovie(n, "bonus_mc", depth++);
stage_mc.bonus_mc._x = 350;
stage_mc.bonus_mc._y = 375;
}
function changePiece() {
var _local1 = _global;
if (_local1.currentPiece != null) {
pieces[_local1.currentPiece].setNext();
for (piece in mainWindow_mc) {
if ((piece.toString().substr(0, 5) == "piece") || (piece.toString().substr(0, 5) == "shape")) {
mainWindow_mc[piece].removeMovieClip();
}
}
row = 0;
while (row < 4) {
col = 0;
while (col < 4) {
if (pieces[_local1.currentPiece].getArray()[row][col]) {
mainWindow_mc.attachMovie("tile" + _local1.lastColor, (("piece" + row.toString()) + "|") + col.toString(), _local1.depth++);
mainWindow_mc[(("piece" + row.toString()) + "|") + col.toString()].saveColor = pieceColor;
mainWindow_mc[(("piece" + row.toString()) + "|") + col.toString()]._x = (col + _local1.currentPiece_col) * 25;
mainWindow_mc[(("piece" + row.toString()) + "|") + col.toString()]._y = (row + _local1.currentPiece_row) * 25;
}
col++;
}
row++;
}
if (_local1.currentPiece == 0) {
if (_local1.shapeArray[0] == 0) {
_local1.shapeArray[0] = 1;
} else {
_local1.shapeArray[0] = 0;
}
} else if (_local1.currentPiece == 1) {
if (_local1.shapeArray[1] == 0) {
_local1.shapeArray[1] = 1;
} else if (_local1.shapeArray[1] == 1) {
_local1.shapeArray[1] = 2;
} else if (_local1.shapeArray[1] == 2) {
_local1.shapeArray[1] = 3;
} else if (_local1.shapeArray[1] == 3) {
_local1.shapeArray[1] = 0;
}
} else if (_local1.currentPiece == 2) {
if (_local1.shapeArray[2] == 0) {
_local1.shapeArray[2] = 1;
} else if (_local1.shapeArray[2] == 1) {
_local1.shapeArray[2] = 2;
} else if (_local1.shapeArray[2] == 2) {
_local1.shapeArray[2] = 3;
} else if (_local1.shapeArray[2] == 3) {
_local1.shapeArray[2] = 0;
}
} else if (_local1.currentPiece == 3) {
if (_local1.shapeArray[3] == 0) {
_local1.shapeArray[3] = 1;
} else if (_local1.shapeArray[3] == 1) {
_local1.shapeArray[3] = 2;
} else if (_local1.shapeArray[3] == 2) {
_local1.shapeArray[3] = 3;
} else if (_local1.shapeArray[3] == 3) {
_local1.shapeArray[3] = 0;
}
} else if (_local1.currentPiece == 4) {
} else if (_local1.currentPiece == 5) {
if (_local1.shapeArray[5] == 0) {
_local1.shapeArray[5] = 1;
} else {
_local1.shapeArray[5] = 0;
}
} else if (_local1.currentPiece == 6) {
if (_local1.shapeArray[6] == 0) {
_local1.shapeArray[6] = 1;
} else {
_local1.shapeArray[6] = 0;
}
}
draw_piece();
}
}
function drawPiece(moveDiag) {
var _local1 = _global;
if (_local1.currentPiece == null) {
if (_local1.nextPiece == null) {
_local1.currentPiece = Math.floor(Math.random() * 9);
if (_local1.currentPiece == 8) {
_local1.currentPiece = 7;
}
_local1.nextPiece = Math.floor(Math.random() * 9);
if (_local1.nextPiece == 8) {
_local1.nextPiece = 7;
}
pieceColor = _local1.currentPiece;
_local1.lastColor = pieceColor;
_local1.nextPieceColor = _local1.nextPiece;
updatePreview();
} else {
_local1.currentPiece = _local1.nextPiece;
pieceColor = (_local1.lastColor = _local1.nextPieceColor);
_local1.nextPiece = Math.floor(Math.random() * 9);
if (_local1.nextPiece == 8) {
_local1.nextPiece = 7;
}
_local1.nextPieceColor = _local1.nextPiece;
updatePreview();
}
row = 0;
while (row < 4) {
col = 0;
while (col < 4) {
if (pieces[_local1.currentPiece].getArray()[row][col] && (_local1.stage_array[_local1.currentPiece_row + row][_local1.currentPiece_col + col])) {
_local1.runGame = false;
_local1.gameOver = true;
showGameOverWindow();
}
col++;
}
row++;
}
if (_local1.runGame) {
draw_piece();
}
} else if ((_local1.speedCnt >= _local1.speed) || (moveDiag)) {
if (moveDownCheck()) {
if (!moveDiag) {
_local1.currentPiece_row++;
_local1.speedCnt = 0;
}
draw_piece();
} else {
if ((((((((_local1.currentPiece == 2) && (_local1.shapeArray[2] == 0)) && (_local1.stage_array[_local1.currentPiece_row + 2][_local1.currentPiece_col])) && (_local1.stage_array[_local1.currentPiece_row + 2][_local1.currentPiece_col + 1])) && (_local1.stage_array[_local1.currentPiece_row + 2][_local1.currentPiece_col + 2])) && (mainWindow_mc[(("tile" + (_local1.currentPiece_row + 2).toString()) + "|") + _local1.currentPiece_col.toString()].shape == 3)) && (mainWindow_mc[(("tile" + (_local1.currentPiece_row + 2).toString()) + "|") + (_local1.currentPiece_col + 1).toString()].shape == 3)) && (mainWindow_mc[(("tile" + (_local1.currentPiece_row + 2).toString()) + "|") + (_local1.currentPiece_col + 2).toString()].shape == 3)) {
playSound();
_local1.score = _local1.score + 69;
playHeart("bonus69");
}
if ((((((((_local1.currentPiece == 3) && (_local1.shapeArray[3] == 0)) && (_local1.stage_array[_local1.currentPiece_row + 2][_local1.currentPiece_col])) && (_local1.stage_array[_local1.currentPiece_row + 2][_local1.currentPiece_col + 1])) && (_local1.stage_array[_local1.currentPiece_row + 2][_local1.currentPiece_col + 2])) && (mainWindow_mc[(("tile" + (_local1.currentPiece_row + 2).toString()) + "|") + _local1.currentPiece_col.toString()].shape == 2)) && (mainWindow_mc[(("tile" + (_local1.currentPiece_row + 2).toString()) + "|") + (_local1.currentPiece_col + 1).toString()].shape == 2)) && (mainWindow_mc[(("tile" + (_local1.currentPiece_row + 2).toString()) + "|") + (_local1.currentPiece_col + 2).toString()].shape == 2)) {
playSound();
_local1.score = _local1.score + 69;
playHeart("bonus69");
}
if (_local1.currentPiece == 7) {
if (((((((_local1.stage_array[_local1.currentPiece_row][_local1.currentPiece_col - 1] && (_local1.stage_array[_local1.currentPiece_row + 1][_local1.currentPiece_col - 1])) && (mainWindow_mc[(("tile" + _local1.currentPiece_row.toString()) + "|") + (_local1.currentPiece_col - 1).toString()].shape == 1)) && (mainWindow_mc[(("tile" + (_local1.currentPiece_row + 1).toString()) + "|") + (_local1.currentPiece_col - 1).toString()].shape == 1)) && (_local1.stage_array[_local1.currentPiece_row][_local1.currentPiece_col + 2])) && (_local1.stage_array[_local1.currentPiece_row + 1][_local1.currentPiece_col + 2])) && (mainWindow_mc[(("tile" + _local1.currentPiece_row.toString()) + "|") + (_local1.currentPiece_col + 2).toString()].shape == 2)) && (mainWindow_mc[(("tile" + (_local1.currentPiece_row + 1).toString()) + "|") + (_local1.currentPiece_col + 2).toString()].shape == 2)) {
playSound();
_local1.score = _local1.score + 300;
playHeart("bonus300");
}
}
row = 0;
while (row < 4) {
col = 0;
while (col < 4) {
if (pieces[_local1.currentPiece].getArray()[row][col]) {
_local1.stage_array[_local1.currentPiece_row + row][col + _local1.currentPiece_col] = pieces[_local1.currentPiece].getArray()[row][col];
}
col++;
}
row++;
}
draw_piece();
for (piece in mainWindow_mc) {
if (piece.toString().substr(0, 5) == "piece") {
tempRow = mainWindow_mc[piece]._y / 25;
tempCol = mainWindow_mc[piece]._x / 25;
if (mainWindow_mc[piece].dir == 2) {
tempCol--;
} else if (mainWindow_mc[piece].dir == 3) {
tempCol--;
tempRow--;
} else if (mainWindow_mc[piece].dir == 4) {
tempRow--;
}
mainWindow_mc.attachMovie((("block|" + mainWindow_mc[piece].shape) + "|") + mainWindow_mc[piece].block, (("tile" + tempRow) + "|") + tempCol, _local1.depth++);
mainWindow_mc[(("tile" + tempRow) + "|") + tempCol]._x = mainWindow_mc[piece]._x;
mainWindow_mc[(("tile" + tempRow) + "|") + tempCol]._y = mainWindow_mc[piece]._y;
mainWindow_mc[(("tile" + tempRow) + "|") + tempCol].shape = mainWindow_mc[piece].shape;
mainWindow_mc[(("tile" + tempRow) + "|") + tempCol].block = mainWindow_mc[piece].block;
mainWindow_mc[(("tile" + tempRow) + "|") + tempCol].dir = mainWindow_mc[piece].dir;
if (mainWindow_mc[piece].dir == 2) {
mainWindow_mc[(("tile" + tempRow) + "|") + tempCol]._rotation = 90;
} else if (mainWindow_mc[piece].dir == 3) {
mainWindow_mc[(("tile" + tempRow) + "|") + tempCol]._rotation = 180;
} else if (mainWindow_mc[piece].dir == 4) {
mainWindow_mc[(("tile" + tempRow) + "|") + tempCol]._rotation = 270;
}
mainWindow_mc[piece].removeMovieClip();
}
}
_local1.currentPiece = null;
_local1.currentPiece_row = 0;
_local1.currentPiece_col = 4;
}
} else {
_local1.speedCnt++;
}
}
function updateHelpBar() {
var _local1 = _global;
farCol = 0;
row = 0;
while (row < 4) {
col = 0;
while (col < 4) {
if (pieces[_local1.currentPiece].getArray()[row][col] && (farCol < col)) {
farCol = col;
}
col++;
}
row++;
}
helpBarWindow_mc.helpBar_mc._x = _local1.currentPiece_col * 25;
helpBarWindow_mc.helpBar_mc._width = (farCol + 1) * 25;
}
function updatePreview() {
var _local1 = _global;
for (piece_mc in previewWindow_mc) {
previewWindow_mc[piece_mc].removeMovieClip();
}
switch (_local1.nextPiece) {
case 0 :
previewWindow_mc.attachMovie("shape-long1", "shape-long", _local1.depth++);
return;
case 1 :
previewWindow_mc.attachMovie("shape-Lleft1", "shape-Lleft", _local1.depth++);
return;
case 2 :
previewWindow_mc.attachMovie("shape-Lright1", "shape-Lright", _local1.depth++);
return;
case 3 :
previewWindow_mc.attachMovie("shape-T1", "shape-T", _local1.depth++);
return;
case 4 :
previewWindow_mc.attachMovie("shape-box", "shape-box", _local1.depth++);
return;
case 5 :
previewWindow_mc.attachMovie("shape-Zleft1", "shape-Zleft", _local1.depth++);
return;
case 6 :
previewWindow_mc.attachMovie("shape-Zright1", "shape-Zright", _local1.depth++);
return;
case 7 :
previewWindow_mc.attachMovie("shape-pitman", "shape-pitman", _local1.depth++);
}
}
function dropPiece() {
var _local1 = _global;
while (moveDownCheck()) {
_local1.currentPiece_row++;
draw_piece();
}
_local1.speedCnt = 0;
drawPiece();
}
function moveDownCheck() {
var _local1 = _global;
var _local2 = true;
row = 0;
while (row < 4) {
col = 0;
while (col < 4) {
if ((pieces[_local1.currentPiece].getArray()[row][col] && (_local1.stage_array[(_local1.currentPiece_row + row) + 1][col + _local1.currentPiece_col])) || (pieces[_local1.currentPiece].getArray()[row][col] && (((_local1.currentPiece_row + row) + 1) >= _local1.ajrows))) {
_local2 = false;
}
col++;
}
row++;
}
return(_local2);
}
function moveLeftCheck() {
var _local1 = _global;
var _local2 = true;
row = 0;
while (row < 4) {
col = 0;
while (col < 4) {
if ((pieces[_local1.currentPiece].getArray()[row][col] && (_local1.stage_array[_local1.currentPiece_row + row][(col + _local1.currentPiece_col) - 1])) || (_local1.currentPiece_col <= 0)) {
_local2 = false;
}
col++;
}
row++;
}
return(_local2);
}
function moveRightCheck() {
var _local1 = _global;
var _local2 = true;
row = 0;
while (row < 4) {
col = 0;
while (col < 4) {
if ((pieces[_local1.currentPiece].getArray()[row][col] && (_local1.stage_array[_local1.currentPiece_row + row][(col + _local1.currentPiece_col) + 1])) || (pieces[_local1.currentPiece].getArray()[row][col] && (((col + _local1.currentPiece_col) + 1) > 9))) {
_local2 = false;
}
col++;
}
row++;
}
return(_local2);
}
function pauseGame() {
var _local1 = _global;
if ((_local1.currentPiece != null) && (!_local1.gameOver)) {
_local1.runGame = !_local1.runGame;
playSound();
if (_local1.runGame) {
stage_mc.pauseSign_mc.removeMovieClip();
playMusic();
} else {
stage_mc.attachMovie("pauseSign", "pauseSign_mc", depth++);
stage_mc.pauseSign_mc._x = 356;
stage_mc.pauseSign_mc._y = 230;
stopMusic();
}
}
}
function playMusic() {
if (!_global.mute) {
music1_sound.start();
music1_sound.onSoundComplete = function () {
music2_sound.start();
};
music2_sound.onSoundComplete = function () {
music3_sound.start();
};
music3_sound.onSoundComplete = function () {
music4_sound.start();
};
music4_sound.onSoundComplete = function () {
music1_sound.start();
};
}
}
function stopMusic() {
music1_sound.stop();
music2_sound.stop();
music3_sound.stop();
music4_sound.stop();
}
function showGameOverWindow() {
if (!_global.windowUp) {
playSound();
stage_mc.attachMovie("gameOverWindow", "gameOverWindow_mc", depth++);
stage_mc.gameOverWindow_mc._x = 330;
stage_mc.gameOverWindow_mc._y = 180;
_global.windowUp = true;
}
}
function soundUsed(rNum) {
var _local1 = _global;
var _local2 = rNum;
i = 0;
while (i < _local1.soundOrder_array.length) {
if (_local1.soundOrder_array[i] == _local2) {
return(true);
}
i++;
}
return(false);
}
function randomizeSounds() {
var _local1 = _global;
_local1.soundOrder_array = new Array();
_local1.soundOrderPos = 0;
while (_local1.soundOrder_array.length < 12) {
do {
rNum = Math.floor(Math.random() * 12) + 1;
} while (soundUsed(rNum));
_local1.soundOrder_array.push(rNum);
}
}
function startGame() {
var _local1 = _global;
if (!_local1.windowUp) {
stopMusic();
randomizeSounds();
playSound();
playMusic();
_local1.runGame = true;
_local1.gameOver = false;
_local1.score = 0;
_local1.totalLines = 0;
_local1.level = 0;
_local1.clearedLines = 0;
_local1.totalLines = 0;
_local1.speed = 18;
_local1.speedCnt = 0;
stage_mc.scoreWindow_mc.score = -1;
for (piece in mainWindow_mc) {
mainWindow_mc[piece].removeMovieClip();
}
_local1.currentPiece = null;
_local1.currentPiece_row = 0;
_local1.currentPiece_col = 4;
stage_mc.pauseSign_mc.removeMovieClip();
_local1.stage_array = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
}
stage_mc.start_btn._visible = false;
}
function draw_piece() {
var _local1 = _global;
for (piece in mainWindow_mc) {
if ((piece.toString().substr(0, 5) == "piece") || (piece.toString().substr(0, 5) == "shape")) {
mainWindow_mc[piece].removeMovieClip();
}
}
if (_local1.currentPiece == 0) {
if (_local1.shapeArray[0] == 0) {
mainWindow_mc.attachMovie("block|0|1", ("piece" + _local1.currentPiece) + "|1", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._x = _local1.currentPiece_col * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._y = _local1.currentPiece_row * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].shape = 0;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].block = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].dir = 1;
mainWindow_mc.attachMovie("block|0|2", ("piece" + _local1.currentPiece) + "|2", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._y = _local1.currentPiece_row * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].shape = 0;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].block = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].dir = 1;
mainWindow_mc.attachMovie("block|0|3", ("piece" + _local1.currentPiece) + "|3", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._x = (_local1.currentPiece_col * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._y = _local1.currentPiece_row * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].shape = 0;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].block = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].dir = 1;
mainWindow_mc.attachMovie("block|0|4", ("piece" + _local1.currentPiece) + "|4", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._x = (_local1.currentPiece_col * 25) + 75;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._y = _local1.currentPiece_row * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].shape = 0;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].block = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].dir = 1;
} else {
mainWindow_mc.attachMovie("block|0|1", ("piece" + _local1.currentPiece) + "|1", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._y = _local1.currentPiece_row * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._rotation = 90;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].shape = 0;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].block = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].dir = 2;
mainWindow_mc.attachMovie("block|0|2", ("piece" + _local1.currentPiece) + "|2", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._rotation = 90;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].shape = 0;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].block = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].dir = 2;
mainWindow_mc.attachMovie("block|0|3", ("piece" + _local1.currentPiece) + "|3", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._y = (_local1.currentPiece_row * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._rotation = 90;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].shape = 0;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].block = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].dir = 2;
mainWindow_mc.attachMovie("block|0|4", ("piece" + _local1.currentPiece) + "|4", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._y = (_local1.currentPiece_row * 25) + 75;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._rotation = 90;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].shape = 0;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].block = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].dir = 2;
}
} else if (_local1.currentPiece == 1) {
if (_local1.shapeArray[1] == 0) {
mainWindow_mc.attachMovie("block|1|1", ("piece" + _local1.currentPiece) + "|1", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._x = _local1.currentPiece_col * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._y = _local1.currentPiece_row * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].shape = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].block = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].dir = 1;
mainWindow_mc.attachMovie("block|1|2", ("piece" + _local1.currentPiece) + "|2", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._y = _local1.currentPiece_row * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].shape = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].block = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].dir = 1;
mainWindow_mc.attachMovie("block|1|3", ("piece" + _local1.currentPiece) + "|3", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._x = (_local1.currentPiece_col * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._y = _local1.currentPiece_row * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].shape = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].block = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].dir = 1;
mainWindow_mc.attachMovie("block|1|4", ("piece" + _local1.currentPiece) + "|4", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._x = (_local1.currentPiece_col * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].shape = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].block = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].dir = 1;
} else if (_local1.shapeArray[1] == 1) {
mainWindow_mc.attachMovie("block|1|1", ("piece" + _local1.currentPiece) + "|1", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._x = (_local1.currentPiece_col * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._y = _local1.currentPiece_row * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].shape = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].block = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].dir = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._rotation = 90;
mainWindow_mc.attachMovie("block|1|2", ("piece" + _local1.currentPiece) + "|2", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._x = (_local1.currentPiece_col * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].shape = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].block = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].dir = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._rotation = 90;
mainWindow_mc.attachMovie("block|1|3", ("piece" + _local1.currentPiece) + "|3", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._x = (_local1.currentPiece_col * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._y = (_local1.currentPiece_row * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].shape = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].block = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].dir = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._rotation = 90;
mainWindow_mc.attachMovie("block|1|4", ("piece" + _local1.currentPiece) + "|4", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._y = (_local1.currentPiece_row * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].shape = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].block = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].dir = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._rotation = 90;
} else if (_local1.shapeArray[1] == 2) {
mainWindow_mc.attachMovie("block|1|1", ("piece" + _local1.currentPiece) + "|1", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._x = (_local1.currentPiece_col * 25) + 75;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._y = (_local1.currentPiece_row * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].shape = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].block = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].dir = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._rotation = 180;
mainWindow_mc.attachMovie("block|1|2", ("piece" + _local1.currentPiece) + "|2", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._x = (_local1.currentPiece_col * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._y = (_local1.currentPiece_row * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].shape = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].block = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].dir = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._rotation = 180;
mainWindow_mc.attachMovie("block|1|3", ("piece" + _local1.currentPiece) + "|3", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._y = (_local1.currentPiece_row * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].shape = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].block = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].dir = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._rotation = 180;
mainWindow_mc.attachMovie("block|1|4", ("piece" + _local1.currentPiece) + "|4", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].shape = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].block = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].dir = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._rotation = 180;
} else if (_local1.shapeArray[1] == 3) {
mainWindow_mc.attachMovie("block|1|1", ("piece" + _local1.currentPiece) + "|1", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._x = _local1.currentPiece_col * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._y = (_local1.currentPiece_row * 25) + 75;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].shape = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].block = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].dir = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._rotation = 270;
mainWindow_mc.attachMovie("block|1|2", ("piece" + _local1.currentPiece) + "|2", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._x = _local1.currentPiece_col * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._y = (_local1.currentPiece_row * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].shape = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].block = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].dir = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._rotation = 270;
mainWindow_mc.attachMovie("block|1|3", ("piece" + _local1.currentPiece) + "|3", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._x = _local1.currentPiece_col * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].shape = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].block = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].dir = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._rotation = 270;
mainWindow_mc.attachMovie("block|1|4", ("piece" + _local1.currentPiece) + "|4", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].shape = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].block = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].dir = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._rotation = 270;
}
} else if (_local1.currentPiece == 2) {
if (_local1.shapeArray[2] == 0) {
mainWindow_mc.attachMovie("block|2|1", ("piece" + _local1.currentPiece) + "|1", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._x = _local1.currentPiece_col * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].shape = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].block = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].dir = 1;
mainWindow_mc.attachMovie("block|2|2", ("piece" + _local1.currentPiece) + "|2", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].shape = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].block = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].dir = 1;
mainWindow_mc.attachMovie("block|2|3", ("piece" + _local1.currentPiece) + "|3", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._x = (_local1.currentPiece_col * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].shape = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].block = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].dir = 1;
mainWindow_mc.attachMovie("block|2|4", ("piece" + _local1.currentPiece) + "|4", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._x = (_local1.currentPiece_col * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._y = _local1.currentPiece_row * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].shape = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].block = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].dir = 1;
} else if (_local1.shapeArray[2] == 1) {
mainWindow_mc.attachMovie("block|2|1", ("piece" + _local1.currentPiece) + "|1", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._y = _local1.currentPiece_row * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].shape = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].block = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].dir = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._rotation = 90;
mainWindow_mc.attachMovie("block|2|2", ("piece" + _local1.currentPiece) + "|2", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].shape = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].block = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].dir = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._rotation = 90;
mainWindow_mc.attachMovie("block|2|3", ("piece" + _local1.currentPiece) + "|3", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._y = (_local1.currentPiece_row * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].shape = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].block = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].dir = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._rotation = 90;
mainWindow_mc.attachMovie("block|2|4", ("piece" + _local1.currentPiece) + "|4", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._x = (_local1.currentPiece_col * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._y = (_local1.currentPiece_row * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].shape = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].block = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].dir = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._rotation = 90;
} else if (_local1.shapeArray[2] == 2) {
mainWindow_mc.attachMovie("block|2|1", ("piece" + _local1.currentPiece) + "|1", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._x = (_local1.currentPiece_col * 25) + 75;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].shape = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].block = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].dir = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._rotation = 180;
mainWindow_mc.attachMovie("block|2|2", ("piece" + _local1.currentPiece) + "|2", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._x = (_local1.currentPiece_col * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].shape = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].block = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].dir = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._rotation = 180;
mainWindow_mc.attachMovie("block|2|3", ("piece" + _local1.currentPiece) + "|3", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].shape = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].block = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].dir = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._rotation = 180;
mainWindow_mc.attachMovie("block|2|4", ("piece" + _local1.currentPiece) + "|4", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._y = (_local1.currentPiece_row * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].shape = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].block = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].dir = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._rotation = 180;
} else if (_local1.shapeArray[2] == 3) {
mainWindow_mc.attachMovie("block|2|1", ("piece" + _local1.currentPiece) + "|1", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._y = (_local1.currentPiece_row * 25) + 75;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].shape = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].block = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].dir = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._rotation = 270;
mainWindow_mc.attachMovie("block|2|2", ("piece" + _local1.currentPiece) + "|2", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._y = (_local1.currentPiece_row * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].shape = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].block = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].dir = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._rotation = 270;
mainWindow_mc.attachMovie("block|2|3", ("piece" + _local1.currentPiece) + "|3", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].shape = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].block = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].dir = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._rotation = 270;
mainWindow_mc.attachMovie("block|2|4", ("piece" + _local1.currentPiece) + "|4", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._x = _local1.currentPiece_col * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].shape = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].block = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].dir = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._rotation = 270;
}
} else if (_local1.currentPiece == 3) {
if (_local1.shapeArray[3] == 0) {
mainWindow_mc.attachMovie("block|3|1", ("piece" + _local1.currentPiece) + "|1", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._y = _local1.currentPiece_row * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].shape = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].block = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].dir = 1;
mainWindow_mc.attachMovie("block|3|2", ("piece" + _local1.currentPiece) + "|2", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._x = _local1.currentPiece_col * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].shape = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].block = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].dir = 1;
mainWindow_mc.attachMovie("block|3|3", ("piece" + _local1.currentPiece) + "|3", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].shape = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].block = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].dir = 1;
mainWindow_mc.attachMovie("block|3|4", ("piece" + _local1.currentPiece) + "|4", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._x = (_local1.currentPiece_col * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].shape = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].block = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].dir = 1;
} else if (_local1.shapeArray[3] == 1) {
mainWindow_mc.attachMovie("block|3|1", ("piece" + _local1.currentPiece) + "|1", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._x = (_local1.currentPiece_col * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].shape = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].block = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].dir = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._rotation = 90;
mainWindow_mc.attachMovie("block|3|2", ("piece" + _local1.currentPiece) + "|2", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._y = _local1.currentPiece_row * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].shape = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].block = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].dir = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._rotation = 90;
mainWindow_mc.attachMovie("block|3|3", ("piece" + _local1.currentPiece) + "|3", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].shape = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].block = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].dir = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._rotation = 90;
mainWindow_mc.attachMovie("block|3|4", ("piece" + _local1.currentPiece) + "|4", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._y = (_local1.currentPiece_row * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].shape = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].block = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].dir = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._rotation = 90;
} else if (_local1.shapeArray[3] == 2) {
mainWindow_mc.attachMovie("block|3|1", ("piece" + _local1.currentPiece) + "|1", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._x = (_local1.currentPiece_col * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._y = (_local1.currentPiece_row * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].shape = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].block = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].dir = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._rotation = 180;
mainWindow_mc.attachMovie("block|3|2", ("piece" + _local1.currentPiece) + "|2", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._x = (_local1.currentPiece_col * 25) + 75;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].shape = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].block = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].dir = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._rotation = 180;
mainWindow_mc.attachMovie("block|3|3", ("piece" + _local1.currentPiece) + "|3", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._x = (_local1.currentPiece_col * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].shape = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].block = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].dir = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._rotation = 180;
mainWindow_mc.attachMovie("block|3|4", ("piece" + _local1.currentPiece) + "|4", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].shape = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].block = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].dir = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._rotation = 180;
} else if (_local1.shapeArray[3] == 3) {
mainWindow_mc.attachMovie("block|3|1", ("piece" + _local1.currentPiece) + "|1", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._x = _local1.currentPiece_col * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._y = (_local1.currentPiece_row * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].shape = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].block = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].dir = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._rotation = 270;
mainWindow_mc.attachMovie("block|3|2", ("piece" + _local1.currentPiece) + "|2", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._y = (_local1.currentPiece_row * 25) + 75;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].shape = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].block = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].dir = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._rotation = 270;
mainWindow_mc.attachMovie("block|3|3", ("piece" + _local1.currentPiece) + "|3", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._y = (_local1.currentPiece_row * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].shape = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].block = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].dir = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._rotation = 270;
mainWindow_mc.attachMovie("block|3|4", ("piece" + _local1.currentPiece) + "|4", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].shape = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].block = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].dir = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._rotation = 270;
}
} else if (_local1.currentPiece == 4) {
mainWindow_mc.attachMovie("block|4|1", ("piece" + _local1.currentPiece) + "|1", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._x = _local1.currentPiece_col * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._y = _local1.currentPiece_row * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].shape = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].block = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].dir = 1;
mainWindow_mc.attachMovie("block|4|2", ("piece" + _local1.currentPiece) + "|2", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._y = _local1.currentPiece_row * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].shape = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].block = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].dir = 1;
mainWindow_mc.attachMovie("block|4|3", ("piece" + _local1.currentPiece) + "|3", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._x = _local1.currentPiece_col * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].shape = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].block = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].dir = 1;
mainWindow_mc.attachMovie("block|4|4", ("piece" + _local1.currentPiece) + "|4", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].shape = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].block = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].dir = 1;
} else if (_local1.currentPiece == 5) {
if (_local1.shapeArray[5] == 0) {
mainWindow_mc.attachMovie("block|5|1", ("piece" + _local1.currentPiece) + "|1", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._x = _local1.currentPiece_col * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._y = _local1.currentPiece_row * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].shape = 5;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].block = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].dir = 1;
mainWindow_mc.attachMovie("block|5|2", ("piece" + _local1.currentPiece) + "|2", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._x = _local1.currentPiece_col * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].shape = 5;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].block = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].dir = 1;
mainWindow_mc.attachMovie("block|5|3", ("piece" + _local1.currentPiece) + "|3", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].shape = 5;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].block = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].dir = 1;
mainWindow_mc.attachMovie("block|5|4", ("piece" + _local1.currentPiece) + "|4", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._y = (_local1.currentPiece_row * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].shape = 5;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].block = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].dir = 1;
} else if (_local1.shapeArray[5] == 1) {
mainWindow_mc.attachMovie("block|5|1", ("piece" + _local1.currentPiece) + "|1", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._x = (_local1.currentPiece_col * 25) + 75;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._y = _local1.currentPiece_row * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].shape = 5;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].block = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].dir = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._rotation = 90;
mainWindow_mc.attachMovie("block|5|2", ("piece" + _local1.currentPiece) + "|2", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._x = (_local1.currentPiece_col * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._y = _local1.currentPiece_row * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].shape = 5;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].block = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].dir = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._rotation = 90;
mainWindow_mc.attachMovie("block|5|3", ("piece" + _local1.currentPiece) + "|3", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._x = (_local1.currentPiece_col * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].shape = 5;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].block = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].dir = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._rotation = 90;
mainWindow_mc.attachMovie("block|5|4", ("piece" + _local1.currentPiece) + "|4", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].shape = 5;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].block = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].dir = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._rotation = 90;
}
} else if (_local1.currentPiece == 6) {
if (_local1.shapeArray[6] == 0) {
mainWindow_mc.attachMovie("block|6|1", ("piece" + _local1.currentPiece) + "|1", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._y = _local1.currentPiece_row * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].shape = 6;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].block = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].dir = 1;
mainWindow_mc.attachMovie("block|6|2", ("piece" + _local1.currentPiece) + "|2", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._x = _local1.currentPiece_col * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].shape = 6;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].block = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].dir = 1;
mainWindow_mc.attachMovie("block|6|3", ("piece" + _local1.currentPiece) + "|3", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].shape = 6;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].block = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].dir = 1;
mainWindow_mc.attachMovie("block|6|4", ("piece" + _local1.currentPiece) + "|4", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._x = _local1.currentPiece_col * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._y = (_local1.currentPiece_row * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].shape = 6;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].block = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].dir = 1;
} else if (_local1.shapeArray[6] == 1) {
mainWindow_mc.attachMovie("block|6|1", ("piece" + _local1.currentPiece) + "|1", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._x = (_local1.currentPiece_col * 25) + 75;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].shape = 6;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].block = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].dir = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._rotation = 90;
mainWindow_mc.attachMovie("block|6|2", ("piece" + _local1.currentPiece) + "|2", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._x = (_local1.currentPiece_col * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._y = _local1.currentPiece_row * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].shape = 6;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].block = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].dir = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._rotation = 90;
mainWindow_mc.attachMovie("block|6|3", ("piece" + _local1.currentPiece) + "|3", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._x = (_local1.currentPiece_col * 25) + 50;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].shape = 6;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].block = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].dir = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._rotation = 90;
mainWindow_mc.attachMovie("block|6|4", ("piece" + _local1.currentPiece) + "|4", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._y = _local1.currentPiece_row * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].shape = 6;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].block = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].dir = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._rotation = 90;
}
} else if (_local1.currentPiece == 7) {
mainWindow_mc.attachMovie("block|7|1", ("piece" + _local1.currentPiece) + "|1", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._x = _local1.currentPiece_col * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"]._y = _local1.currentPiece_row * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].shape = 7;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].block = 1;
mainWindow_mc[("piece" + _local1.currentPiece) + "|1"].dir = 1;
mainWindow_mc.attachMovie("block|7|2", ("piece" + _local1.currentPiece) + "|2", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"]._y = _local1.currentPiece_row * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].shape = 7;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].block = 2;
mainWindow_mc[("piece" + _local1.currentPiece) + "|2"].dir = 1;
mainWindow_mc.attachMovie("block|7|3", ("piece" + _local1.currentPiece) + "|3", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._x = _local1.currentPiece_col * 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].shape = 7;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].block = 3;
mainWindow_mc[("piece" + _local1.currentPiece) + "|3"].dir = 1;
mainWindow_mc.attachMovie("block|7|4", ("piece" + _local1.currentPiece) + "|4", _local1.depth++);
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._x = (_local1.currentPiece_col * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"]._y = (_local1.currentPiece_row * 25) + 25;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].shape = 7;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].block = 4;
mainWindow_mc[("piece" + _local1.currentPiece) + "|4"].dir = 1;
}
}
_global.highScoresScript = "http://www.theaxeeffect.com/public_qa/pitman/game/scripts/score.php";
_global.scoreToWin = 999;
_global.musicVolume = 0;
s1_sound = new Sound();
s1_sound.attachSound("carla_giggle.aiff");
s2_sound = new Sound();
s2_sound.attachSound("carla_ooh.aiff");
s3_sound = new Sound();
s3_sound.attachSound("carla_pitalicious.aiff");
s4_sound = new Sound();
s4_sound.attachSound("kim_ohpitmanyouresodry.aiff");
s5_sound = new Sound();
s5_sound.attachSound("kim_ooooh.aiff");
s6_sound = new Sound();
s6_sound.attachSound("kim_pitrageous.aiff");
s7_sound = new Sound();
s7_sound.attachSound("sam_ohpitman_laugh.aiff");
s8_sound = new Sound();
s8_sound.attachSound("sam_pitalicious.aiff");
s9_sound = new Sound();
s9_sound.attachSound("kim_drypitsaredefinitelyhot.aiff");
s10_sound = new Sound();
s10_sound.attachSound("raina_pitrageous.aiff");
s11_sound = new Sound();
s11_sound.attachSound("carla_youliketopartypitman.aiff");
s12_sound = new Sound();
s12_sound.attachSound("kim_drypitsreallydowin.aiff");
music1_sound = new Sound();
music1_sound.attachSound("groove1a.aiff");
music2_sound = new Sound();
music2_sound.attachSound("groove1b.aiff");
music3_sound = new Sound();
music3_sound.attachSound("groove2a.aiff");
music4_sound = new Sound();
music4_sound.attachSound("groove2b.aiff");
_global.depth = 0;
_global.runGame = false;
_global.gameOver = false;
_global.score = 0;
_global.level = 0;
_global.levelChange = 5;
_global.clearedLines = 0;
_global.totalLines = 0;
_global.speed = 18;
_global.speedCnt = 0;
_global.ajrows = 17;
_global.currentPiece = null;
_global.nextPiece = null;
_global.nextPieceColor = 0;
_global.currentPiece_row = 0;
_global.currentPiece_col = 4;
_global.lastColor = 0;
_global.windowUp = false;
_global.mute = false;
_global.shapeArray = new Array();
_global.shapeArray = [0, 0, 0, 0, 0, 0, 0, 0];
_global.stage_array = new Array();
_global.stage_array = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
Piece = function (newPiece) {
this.piece_array = newPiece;
};
Piece.prototype.setNext = function () {
var _local1 = this;
temp_array = new Array();
temp_array = [[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]];
row = 0;
while (row < 4) {
col = 0;
while (col < 4) {
temp_array[col][3 - row] = _local1.piece_array[row][col];
col++;
}
row++;
}
_local1.piece_array = temp_array;
while (!(((_local1.piece_array[0][0] || (_local1.piece_array[1][0])) || (_local1.piece_array[2][0])) || (_local1.piece_array[3][0]))) {
row = 0;
while (row < 4) {
col = 1;
while (col < 4) {
_local1.piece_array[row][col - 1] = _local1.piece_array[row][col];
col++;
}
row++;
}
_local1.piece_array[0][3] = 0;
_local1.piece_array[1][3] = 0;
_local1.piece_array[2][3] = 0;
_local1.piece_array[3][3] = 0;
}
};
Piece.prototype.testNext = function () {
var _local1 = _global;
var _local2 = this;
returnBool = true;
temp_array = new Array();
temp_array = [[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]];
row = 0;
while (row < 4) {
col = 0;
while (col < 4) {
temp_array[col][3 - row] = _local2.piece_array[row][col];
col++;
}
row++;
}
while (!(((temp_array[0][0] || (temp_array[1][0])) || (temp_array[2][0])) || (temp_array[3][0]))) {
row = 0;
while (row < 4) {
col = 1;
while (col < 4) {
temp_array[row][col - 1] = temp_array[row][col];
col++;
}
row++;
}
temp_array[0][3] = 0;
temp_array[1][3] = 0;
temp_array[2][3] = 0;
temp_array[3][3] = 0;
}
row = 0;
while (row < 4) {
col = 0;
while (col < 4) {
if (((temp_array[row][col] && (_local1.stage_array[row + _local1.currentPiece_row][col + _local1.currentPiece_col])) || (temp_array[row][col] && ((col + _local1.currentPiece_col) > 9))) || (temp_array[row][col] && ((row + _local1.currentPiece_row) > (_local1.ajrows - 1)))) {
returnBool = false;
}
col++;
}
row++;
}
return(returnBool);
};
Piece.prototype.getArray = function () {
return(this.piece_array);
};
Piece.prototype.getShape = function () {
return(this.piece_shape);
};
pieces = new Array();
pieces.push(new Piece([[1, 1, 1, 1], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]));
pieces.push(new Piece([[1, 1, 1, 0], [0, 0, 1, 0], [0, 0, 0, 0], [0, 0, 0, 0]]));
pieces.push(new Piece([[0, 0, 1, 0], [1, 1, 1, 0], [0, 0, 0, 0], [0, 0, 0, 0]]));
pieces.push(new Piece([[0, 1, 0, 0], [1, 1, 1, 0], [0, 0, 0, 0], [0, 0, 0, 0]]));
pieces.push(new Piece([[1, 1, 0, 0], [1, 1, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]));
pieces.push(new Piece([[1, 0, 0, 0], [1, 1, 0, 0], [0, 1, 0, 0], [0, 0, 0, 0]]));
pieces.push(new Piece([[0, 1, 0, 0], [1, 1, 0, 0], [1, 0, 0, 0], [0, 0, 0, 0]]));
pieces.push(new Piece([[1, 1, 0, 0], [1, 1, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]));
_global.cheat_str = "";
keyListener = new Object();
keyListener.onKeyDown = function () {
var _local1 = _global;
if (_local1.runGame && (_local1.currentPiece != null)) {
if (Key.isDown(37)) {
if (moveLeftCheck()) {
_local1.currentPiece_col--;
}
drawPiece(true);
} else if (Key.isDown(39)) {
if (moveRightCheck()) {
_local1.currentPiece_col++;
}
drawPiece(true);
} else if (Key.isDown(38)) {
if (pieces[_local1.currentPiece].testNext()) {
changePiece();
}
} else if (Key.isDown(40)) {
dropPiece();
} else {
_local1.cheat_str = _local1.cheat_str + chr(Key.GetAscii());
if (Key.getCode() == 13) {
if (_local1.cheat_str.substr(0, 2) == "69") {
pitmanAnimation_mc.play();
}
_local1.cheat_str = "";
} else if (((chr(Key.GetAscii()) == "n") || (chr(Key.GetAscii()) == "N")) || (_local1.cheat_str.length > 5)) {
if (_local1.cheat_str.toLowerCase() == "pitman") {
for (piece in mainWindow_mc) {
mainWindow_mc[piece].removeMovieClip();
}
_local1.currentPiece = null;
_local1.currentPiece_row = 0;
_local1.currentPiece_col = 4;
stage_mc.pauseSign_mc.removeMovieClip();
_local1.stage_array = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]];
playSound();
}
_local1.cheat_str = "";
}
}
}
};
Key.addListener(keyListener);
playMusic();
stage_mc.createEmptyMovieClip("scoreWindow_mc", depth++);
stage_mc.scoreWindow_mc._x = 624;
stage_mc.scoreWindow_mc._y = 174;
stage_mc.scoreWindow_mc.score = -1;
stage_mc.createEmptyMovieClip("levelWindow_mc", depth++);
stage_mc.levelWindow_mc._x = 639;
stage_mc.levelWindow_mc._y = 243;
stage_mc.createEmptyMovieClip("linesWindow_mc", depth++);
stage_mc.linesWindow_mc._x = 624;
stage_mc.linesWindow_mc._y = 313;
stage_mc.linesWindow_mc.lines = -1;
stage_mc.scoreWindow_mc.onEnterFrame = function () {
var _local1 = _global;
if (stage_mc.scoreWindow_mc.score < _local1.score) {
if ((stage_mc.scoreWindow_mc.score + 10) > _local1.score) {
stage_mc.scoreWindow_mc.score++;
} else {
stage_mc.scoreWindow_mc.score = stage_mc.scoreWindow_mc.score + 10;
}
for (num in stage_mc.scoreWindow_mc) {
stage_mc.scoreWindow_mc[num].removeMovieClip();
}
newNumString = "000000".concat(stage_mc.scoreWindow_mc.score.toString()).substring(stage_mc.scoreWindow_mc.score.toString().length + 1, stage_mc.scoreWindow_mc.score.toString().length + 6);
pos = 0;
while (pos < newNumString.length) {
stage_mc.scoreWindow_mc.attachMovie("num" + newNumString.substr(pos, 1), "num" + pos, depth++);
stage_mc.scoreWindow_mc["num" + pos]._x = pos * 10;
stage_mc.scoreWindow_mc["num" + pos]._y = 0;
stage_mc.scoreWindow_mc["num" + pos]._xscale = 150;
stage_mc.scoreWindow_mc["num" + pos]._yscale = 150;
pos++;
}
if ((_local1.clearedLines >= _local1.levelChange) || (_local1.level == 0)) {
for (num in stage_mc.levelWindow_mc) {
stage_mc.levelWindow_mc[num].removeMovieClip();
}
_local1.level++;
if (_local1.level != 1) {
playSound();
}
_local1.clearedLines = 0;
if (_local1.speed >= 0) {
_local1.speed--;
}
newNumString = "00".concat(_local1.level.toString()).substring(_local1.level.toString().length, _local1.level.toString().length + 2);
pos = 0;
while (pos < newNumString.length) {
stage_mc.levelWindow_mc.attachMovie("num" + newNumString.substr(pos, 1), "num" + pos, depth++);
stage_mc.levelWindow_mc["num" + pos]._x = pos * 10;
stage_mc.levelWindow_mc["num" + pos]._y = 0;
stage_mc.levelWindow_mc["num" + pos]._xscale = 150;
stage_mc.levelWindow_mc["num" + pos]._yscale = 150;
pos++;
}
}
}
};
stage_mc.linesWindow_mc.onEnterFrame = function () {
var _local1 = _global;
if (stage_mc.linesWindow_mc.lines < _local1.totalLines) {
stage_mc.linesWindow_mc.lines++;
for (num in stage_mc.linesWindow_mc) {
stage_mc.linesWindow_mc[num].removeMovieClip();
}
newNumString = "000000".concat(stage_mc.linesWindow_mc.lines.toString()).substring(stage_mc.linesWindow_mc.lines.toString().length + 1, stage_mc.linesWindow_mc.lines.toString().length + 6);
pos = 0;
while (pos < newNumString.length) {
stage_mc.linesWindow_mc.attachMovie("num" + newNumString.substr(pos, 1), "num" + pos, depth++);
stage_mc.linesWindow_mc["num" + pos]._x = pos * 10;
stage_mc.linesWindow_mc["num" + pos]._y = 0;
stage_mc.linesWindow_mc["num" + pos]._xscale = 150;
stage_mc.linesWindow_mc["num" + pos]._yscale = 150;
pos++;
}
} else if (stage_mc.linesWindow_mc.lines > _local1.totalLines) {
stage_mc.linesWindow_mc.lines = _local1.totalLines;
for (num in stage_mc.linesWindow_mc) {
stage_mc.linesWindow_mc[num].removeMovieClip();
}
newNumString = "000000".concat(stage_mc.linesWindow_mc.lines.toString()).substring(stage_mc.linesWindow_mc.lines.toString().length + 1, stage_mc.linesWindow_mc.lines.toString().length + 6);
pos = 0;
while (pos < newNumString.length) {
stage_mc.linesWindow_mc.attachMovie("num" + newNumString.substr(pos, 1), "num" + pos, depth++);
stage_mc.linesWindow_mc["num" + pos]._x = pos * 10;
stage_mc.linesWindow_mc["num" + pos]._y = 0;
stage_mc.linesWindow_mc["num" + pos]._xscale = 150;
stage_mc.linesWindow_mc["num" + pos]._yscale = 150;
pos++;
}
}
};
stage_mc.pauseGame_btn.onPress = function () {
if (!_global.windowUp) {
pauseGame();
}
};
stage_mc.pitmanAnimation_mc.onPress = function () {
pitmanAnimation_mc.gotoAndPlay("scratch");
};
stage_mc.howto_btn.onPress = function () {
stage_mc.attachMovie("howtoClip", "howtoclip", depth++);
stage_mc.howtoclip._x = 0;
stage_mc.howtoclip._y = 0;
};
stage_mc.legal_btn.onPress = function () {
stage_mc.attachMovie("legalClip", "legal_mc", depth++);
stage_mc.legal_mc._x = 0;
stage_mc.legal_mc._y = 0;
};
stage_mc.mute_mc.onPress = function () {
var _local1 = _global;
if (!_local1.mute) {
_local1.mute = true;
stopMusic();
stage_mc.mute_mc.gotoAndStop("unmute");
} else {
_local1.mute = false;
if (_local1.runGame) {
playMusic();
}
stage_mc.mute_mc.gotoAndStop("mute");
}
};
randomizeSounds();
stage_mc.start_btn.onPress = function () {
startGame();
_level1.timerbubble.gotoAndStop(1);
_level1.howtobubble.gotoAndStop("zero");
unloadMovieNum (1.mobileLink);
};
stage_mc.newGame_btn.onPress = function () {
startGame();
_level1.timerbubble.gotoAndStop(1);
_level1.howtobubble.gotoAndStop("zero");
};
stage_mc.onEnterFrame = function () {
if (_global.runGame) {
checkStage();
drawPiece();
}
};
stop();
Symbol 17 MovieClip [Resizable Clip Compatibility] Frame 1
#initclip 3
$installSC = function (f) {
var _local2 = arguments;
var _local3 = f;
var _local1 = 1;
while (_local1 < _local2.length) {
if (!_local2[_local1].rcSetSize) {
_local2[_local1].prototype.rcSetSize = _local3;
}
_local1++;
}
};
$installSC(function (w, h) {
this.setSize(w, h);
}, FDraggablePaneClass, FLoadingBoxClass, FCalendarClass, FSimpleMenuClass, FIconButtonClass, FMessageBoxClass, FPushButtonClass, FSplitterClass, FTickerClass, FTreeClass, XFTreeClass, FListBoxClass, FScrollPaneClass);
$installSC(function (w) {
this.setSize(w);
}, ProgressBarClass, FCheckBoxClass, FRadioButtonClass, FComboBoxClass, TFPClass);
$installSC(function (w, h) {
var _local1 = this;
if (_local1.horizontal) {
_local1.setSize(w);
} else {
_local1.setSize(h);
}
}, FScrollBarClass);
$installSC(function (w, h) {
var _local1 = this;
if (((_local1._rotation + 90) % 180) == 0) {
_local1.setSize(h);
} else {
_local1.setSize(w);
}
}, SSliderClass);
FRichTextEditorClass.prototype.rcSetSize = function (w, h) {
var _local1 = this;
_local1.width = w;
_local1.height = h;
_local1.setSize(w, h);
};
TextField.prototype.bugFix = function () {
var _local1 = this;
_local1.broadcastMessage("onScroller");
_local1.broadcastMessage("onChanged");
clearInterval(_local1.iid);
_local1.iid = undefined;
};
TextField.prototype.rcSetSize = function (w, h) {
var _local1 = this;
if (_local1.iid != undefined) {
clearInterval(_local1.iid);
}
_local1._width = w;
_local1._height = h;
_local1.iid = setInterval(_local1, "bugFix", 0);
};
delete $installSC;
#endinitclip
Symbol 41 MovieClip [bonus500] Frame 53
this.removeMovieClip();
Symbol 45 MovieClip [bonus300] Frame 53
this.removeMovieClip();
Symbol 46 MovieClip [bonus100] Frame 41
this.removeMovieClip();
Symbol 49 MovieClip [bonus200] Frame 41
this.removeMovieClip();
Symbol 52 MovieClip [bonus69] Frame 41
this.removeMovieClip();
Symbol 56 MovieClip [Aligner Class] Frame 1
#initclip 1
_global.AlignerClass = function (host) {
var _local1 = this;
var _local2 = host;
ASBroadcaster.initialize(_local1);
_local1.host = _local2;
_local1.clipList = [];
_local1.ccList = [];
_local1.onResize = _local1.updateAll;
if (Stage.scaleMode != "noScale") {
Stage.scaleMode = "noScale";
}
if (_local2 == Stage) {
Stage.align = "TL";
Stage.showMenu = false;
}
_local2.addListener(_local1);
};
cproto = AlignerClass.prototype;
cproto.remove = function (mc) {
var _local1 = mc;
if (this.clipList[_local1] == 2) {
_local1.removeListener(_local1.$resizeFeedback);
delete _local1.$resizeFeedback;
}
delete this.clipList[_local1];
};
cproto.removeAll = function () {
for (var i in this.clipList) {
if (this.clipList[i] == 2) {
eval (i).removeListener(eval (i).$resizeFeedback);
delete eval (i).$resizeFeedback;
}
}
this.clipList = [];
};
cproto.register = function (mc, aobject) {
tellTarget (mc) {
$alignData = {canAlignRelease:false, host:this.host, pIRatio:aobject.pRectWidth / aobject.pRectHeight, pRectWidth:aobject.pRectWidth / 100, pRectHeight:aobject.pRectHeight / 100};
if (aobject.rX == undefined) {
aobject.rX = "(auto)";
}
if (aobject.rY == undefined) {
aobject.rY = "(auto)";
}
if (aobject.rWidth == undefined) {
aobject.rWidth = "(auto)";
}
if (aobject.rHeight == undefined) {
aobject.rHeight = "(auto)";
}
$alignData.pStretch = aobject.pStretch;
if (($alignData.pStretch == "(disabled)") || ($alignData.pStretch == undefined)) {
$alignData.pStretch = false;
} else {
if ($alignData.pStretch == "outward") {
$alignData.pSOut = true;
}
$alignData.pStretch = true;
}
if ((($alignData.hStretch = aobject.hStretch)) || ($alignData.pStretch)) {
$alignData.hStretchP = aobject.hStretchP / 100;
$alignData.hStretchM = aobject.hStretchM * 2;
$alignData.roundfH = ((aobject.rWidth == "(auto)") ? (Math["(no rounding)"]) : (eval ("Math." + aobject.rWidth)));
}
if ((($alignData.vStretch = aobject.vStretch)) || ($alignData.pStretch)) {
$alignData.vStretchP = aobject.vStretchP / 100;
$alignData.vStretchM = aobject.vStretchM * 2;
$alignData.roundfV = ((aobject.rHeight == "(auto)") ? (Math["(no rounding)"]) : (eval ("Math." + aobject.rHeight)));
}
$alignData.roundfX = ((aobject.rX == "(auto)") ? (($alignData.hStretch ? (Math["(no rounding)"]) : (Math.round))) : (eval ("Math." + aobject.rX)));
$alignData.roundfY = ((aobject.rY == "(auto)") ? (($alignData.vStretch ? (Math["(no rounding)"]) : (Math.round))) : (eval ("Math." + aobject.rY)));
$alignData.stretchAny = $alignData.hStretch || ($alignData.vStretch);
$alignData.offX = aobject.offX;
$alignData.offY = aobject.offY;
$alignData.percentOffX = aobject.percentOffX / 100;
$alignData.percentOffY = aobject.percentOffY / 100;
$alignData.calcHCP = ((aobject.calcHCP == undefined) ? "(disabled)" : (aobject.calcHCP));
$alignData.calcVCP = ((aobject.calcVCP == undefined) ? "(disabled)" : (aobject.calcVCP));
if (($alignData.calcHCP != "(disabled)") || ($alignData.calcVCP != "(disabled)")) {
mc.$resizeFeedback = new ResizeFeedbackClass(mc, $alignData.host);
mc.addListener(mc.$resizeFeedback);
}
this.clipList[mc] = 1 + (($alignData.calcHCP != "(disabled)") || ($alignData.calcVCP != "(disabled)"));
this.update(mc);
};
if (aobject.$vcleanup != undefined) {
for (var i in aobject) {
delete aobject[i];
}
}
};
cproto.update = function (mc) {
updateAfterEvent();
if (eval (mc) == undefined) {
delete this.clipList[mc];
delete this.ccList[mc];
} else {
tellTarget (mc) {
if ($alignData.pStretch) {
if (((!$alignData.pSOut) && (($alignData.host.width / $alignData.host.height) >= $alignData.pIRatio)) || ($alignData.pSOut && (($alignData.host.width / $alignData.host.height) < $alignData.pIRatio))) {
_xscale = $alignData.roundfH($alignData.host.height / $alignData.pRectHeight);
_yscale = $alignData.roundfV($alignData.host.height / $alignData.pRectHeight);
} else {
_xscale = $alignData.roundfH($alignData.host.width / $alignData.pRectWidth);
_yscale = $alignData.roundfV($alignData.host.width / $alignData.pRectWidth);
}
} else if (rcSetSize && ($alignData.stretchAny)) {
var nw = ($alignData.hStretch ? ($alignData.roundfH($alignData.host.width * $alignData.hStretchP) - $alignData.hStretchM) : (width));
if (nw < 0) {
nw = 0;
}
var nh = ($alignData.vStretch ? ($alignData.roundfV($alignData.host.height * $alignData.vStretchP) - $alignData.vStretchM) : (height));
if (nh < 0) {
nh = 0;
}
rcSetSize(nw, nh);
} else {
if ($alignData.hStretch) {
var nw = ($alignData.roundfH($alignData.host.width * $alignData.hStretchP) - $alignData.hStretchM);
if (nw < 0) {
nw = 0;
}
_width = nw;
}
if ($alignData.vStretch) {
var nh = ($alignData.roundfV($alignData.host.height * $alignData.vStretchP) - $alignData.vStretchM);
if (nh < 0) {
nh = 0;
}
_height = nh;
}
}
var t = {};
if ($alignData.calcHCP == "component center") {
t.x = ($alignData.offX + $alignData.roundfX($alignData.host.width * $alignData.percentOffX)) - Math.round((rcSetSize ? (width) : (_width)) / 2);
} else if ($alignData.calcHCP == "component right") {
t.x = ($alignData.offX + $alignData.roundfX($alignData.host.width * $alignData.percentOffX)) - Math.round((rcSetSize ? (width) : (_width)));
} else {
t.x = $alignData.offX + $alignData.roundfX($alignData.host.width * $alignData.percentOffX);
}
if ($alignData.calcVCP == "component center") {
t.y = ($alignData.offY + $alignData.roundfY($alignData.host.height * $alignData.percentOffY)) - Math.round((rcSetSize ? (height) : (_height)) / 2);
} else if ($alignData.calcVCP == "component bottom") {
t.y = ($alignData.offY + $alignData.roundfY($alignData.host.height * $alignData.percentOffY)) - Math.round((rcSetSize ? (height) : (_height)));
} else {
t.y = $alignData.offY + $alignData.roundfY($alignData.host.height * $alignData.percentOffY);
}
$alignData.host.localToGlobal(t);
_parent.globalToLocal(t);
if (rcSetPosition) {
rcSetPosition(t.x, t.y);
} else {
_x = t.x;
_y = t.y;
}
};
}
};
cproto.updateAll = function (timedout) {
var _local1 = this;
if (timedout) {
clearInterval(_local1.iid);
_local1.iid = undefined;
} else if (_local1.redrawInertness > 0) {
if (_local1.iid == undefined) {
_local1.iid = setInterval(_local1, "updateAll", _local1.redrawInertness, true);
_local1.iiStart = getTimer();
return;
}
if ((getTimer() - _local1.iiStart) > _local1.redrawInertness) {
clearInterval(_local1.iid);
_local1.iid = undefined;
} else {
return;
}
}
for (var _local2 in _local1.clipList) {
_local1.update(_local2);
}
_local1.broadcastMessage("onResize");
};
delete cproto;
_global.ResizeFeedbackClass = function (mc, host) {
this.mc = mc;
this.host = host;
};
ResizeFeedbackClass.prototype.onResize = function () {
this.host.Aligner.update(this.mc);
};
Math["(no rounding)"] = function (x) {
return(x);
};
#endinitclip
Symbol 58 MovieClip [Generic Align Component] Frame 1
#initclip 2
tclass = function () {
tellTarget (this._parent) {
var host = host;
if (host == undefined) {
host = "Stage";
} else if (host == "this") {
this._parent.host = (host = _parent);
}
tellTarget (_parent) {
if (!eval (host).Aligner) {
eval (host).Aligner = new AlignerClass(eval (host));
}
this.$Aligner = eval (host).Aligner;
};
};
};
tclass.prototype = new MovieClip();
tclass.prototype.initialize = function () {
tellTarget (this._parent) {
this.$Aligner.register(_parent[_targetInstanceName], this._parent);
delete this.$Aligner;
onEnterFrame = function () {
tellTarget (this._parent) {
eval (this._targetInstanceName).$alignData.canAlignRelease = true;
};
delete this.onEnterFrame;
};
onUnload = function () {
var a = host;
tellTarget (this._parent) {
if (eval (this._targetInstanceName).$alignData.canAlignRelease) {
eval (a).Aligner.remove(eval (this._targetInstanceName));
}
};
};
};
this.swapDepths(1);
this.removeMovieClip();
};
Object.registerClass("Generic Align Component", tclass);
delete tclass;
#endinitclip
this.initialize();
Symbol 81 MovieClip Frame 1
setProperty("fondo", _xscale , "1");
_parent.Stop();
stop();
texto = frase1;
Instance of Symbol 71 MovieClip "fondo" in Symbol 81 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.entrada == null) {
if (this._xscale <= 95) {
_xscale = (_xscale + ((100 - _xscale) / 5));
} else {
_parent.play();
_xscale = 100;
_parent.entrada = "listo";
}
} else if ((_parent.entrada == "salir") && (_xscale < 2)) {
setProperty("0", _visible , "0");
_parent._parent.play();
} else if (_parent.entrada == "salir") {
setProperty("_parent.barra", _visible , "0");
_xscale = (_xscale + ((1 - _xscale) / 5));
_parent.texto = _parent.frase2;
}
}
Instance of Symbol 77 MovieClip "barra" in Symbol 81 MovieClip Frame 2
onClipEvent (load) {
colorfondo = new Color(colorin);
colorfondo.setRGB(parseint(_parent.colorbarra, 16));
}
onClipEvent (enterFrame) {
totalk = _parent._parent.getBytesTotal() / 1024;
loadedk = _parent._parent.getBytesLoaded() / 1024;
if (loadedk >= totalk) {
_xscale = "100";
_parent.entrada = "salir";
} else {
_xscale = ((loadedk * 100) / totalk);
_parent.texto2 = "";
if ((_parent.m_vel == "si") && (_parent.kb_1 != null)) {
_parent.texto2 = ("Connection rate : " + _parent.kb_1) + " kb/s. <BR>";
}
if (_parent.m_porcentaje == "si") {
_parent.texto2 = ((_parent.texto2 + "Percentage :: ") + int((loadedk * 100) / totalk)) + " %<BR>";
}
if (_parent.m_kb == "si") {
_parent.texto2 = (((_parent.texto2 + int(loadedk)) + " of ") + int(totalk)) + " kb.<BR>";
}
if ((_parent.m_tiempo == "si") && (_parent.kb_1 != null)) {
_parent.texto2 = ((_parent.texto2 + "Time remaining :: ") + (int((totalk * _parent.motor.tiempo_ya) / loadedk) - int(_parent.motor.tiempo_ya))) + " seg.";
}
_parent._parent.Stop();
}
}
Instance of Symbol 80 MovieClip "motor" in Symbol 81 MovieClip Frame 2
onClipEvent (load) {
funcionar = "si";
}
onClipEvent (enterFrame) {
if (funcionar == "si") {
tiempo_ya = getTimer() / 1000;
kb_2 = _parent._parent.getBytesLoaded() / 1024;
if (tiempo == null) {
tiempo = getTimer() / 1000;
kb_1 = _parent._parent.getBytesLoaded() / 1024;
} else if (tiempo_ya >= (tiempo + 1)) {
kb_3 = String(kb_2 - kb_1);
_parent.kb_1 = kb_3.slice(0, 4);
tiempo = getTimer() / 1000;
kb_1 = _parent._parent.getBytesLoaded() / 1024;
}
}
}
Symbol 81 MovieClip Frame 3
stop();
Symbol 101 MovieClip Frame 1
#initclip 4
_global.ffhScrollBarButtonClass = function (coef) {
var _local1 = this;
_local1.coef = (coef ? 1 : -1);
_local1.pageScroll = coef == 666;
_local1.button.onPress = _local1._onPress;
_local1.button.useHandCursor = false;
_local1.field = _local1._parent.field;
_local1.horizontal = _local1._parent.horizontal;
};
p = (ffhScrollBarButtonClass.prototype = new MovieClip());
p.onUnload = function () {
clearInterval(this.iid);
};
p._ival1 = function (step) {
var _local1 = this;
clearInterval(_local1.button.iid);
_local1.doScroll(step);
_local1.button.iid = setInterval(_local1, "_ival2", 50, step);
};
p._ival2 = function (step) {
this.doScroll(step);
};
p.doScroll = function (step) {
var _local1 = this;
if (_local1.horizontal) {
_local1.field.hscroll = _local1.field.hscroll + step;
_local1._parent.update();
} else {
_local1.field.scroll = _local1.field.scroll + step;
}
};
p._onPress = function () {
var _local1 = this;
if (_local1._parent.pageScroll) {
var _local2 = ((_local1._ymouse < _local1._parent._parent.outerBar.innerBar._y) ? -1 : 1);
if (_local1._parent.horizontal) {
var _local3 = _local1._parent.field._width * _local2;
} else {
var _local3 = ((_local1._parent.field.bottomScroll - _local1._parent.field.scroll) + 1) * _local2;
}
} else {
var _local3 = 1;
}
_local1._parent.doScroll(_local3 * _local1._parent.coef);
if (_local1.iid != undefined) {
clearInterval(_local1.iid);
}
_local1.iid = setInterval(_local1._parent, "_ival1", 500, _local3 * _local1._parent.coef);
_local1.onRelease = (_local1.onReleaseOutside = function () {
clearInterval(this.iid);
});
};
_global.ffhScrollBarUpClass = function () {
super(false);
};
ffhScrollBarUpClass.prototype = new ffhScrollBarButtonClass();
_global.ffhScrollBarDownClass = function () {
super(true);
};
ffhScrollBarDownClass.prototype = new ffhScrollBarButtonClass();
_global.ffhScrollBarInnerBarClass = function () {
this.useHandCursor = false;
};
p = (ffhScrollBarInnerBarClass.prototype = new MovieClip());
p.onPress = function () {
var _local1 = this;
_local1._parent.field.removeListener(_local1._parent._parent);
_local1.startDrag(false, 0, 0, 0, 50 - _local1._parent.innerBar._height);
_local1.onMouseMove = function () {
this._parent.reverseUpdate();
};
};
p.onReleaseOutside = (p.onRelease = function () {
var _local1 = this;
stopDrag();
_local1.onMouseMove = undefined;
_local1._parent.field.addListener(_local1._parent._parent);
});
_global.ffhScrollBarOuterBarClass = function () {
var _local1 = this;
_local1.field = _local1._parent.field;
super(666);
_local1.rcSetSize(_local1._width, _local1._height);
};
p = (ffhScrollBarOuterBarClass.prototype = new ffhScrollBarButtonClass());
p.update = function (s, bs, maxs) {
var _local1 = this;
var _local2 = maxs;
var _local3 = s;
if (_local1.innerBar._visible != (_local2 > 1)) {
_local1.innerBar._visible = _local2 > 1;
}
_local1.innerBar._yscale = Math.max(2000 / _local1._parent._yscale, (((bs - _local3) + 1) / ((bs - _local3) + _local2)) * 100);
_local1.innerBar._y = ((_local3 - 1) * (50 - _local1.innerBar._height)) / (_local2 - 1);
if ((_local1.innerBar._y + _local1.innerBar._height) > 50) {
_local1.innerBar._y = 50 - _local1.innerBar._height;
}
};
p.reverseUpdate = function () {
var _local1 = this;
if (_local1._parent.horizontal) {
_local1.field.hscroll = (_local1.innerBar._y / ((50 - _local1.innerBar._height) - 1)) * _local1.field.maxhscroll;
} else {
_local1.field.scroll = (_local1.innerBar._y / ((50 - _local1.innerBar._height) - 1)) * _local1.field.maxscroll;
}
};
_global.ffhScrollBarClass = function () {
var _local1 = this;
ASBroadcaster.initialize(_local1);
_local1.tabEnabled = false;
_local1.tabChildren = false;
_local1.outerBar.update = ffhScrollBarOuterBarClass.prototype.update;
_local1.field = _local1._parent[_local1._targetInstanceName];
_local1.setEnabled(true);
_local1.rcSetSize(_local1._width, _local1._height);
_local1._yscale = 100;
_local1.rcSetPosition(_local1._x, _local1._y);
_local1.stop();
_local1.update();
};
p = (ffhScrollBarClass.prototype = new MovieClip());
p.getHorizontal = function () {
return(this.horizontal);
};
p.setHorizontal = function (h) {
var _local1 = this;
var _local2 = h;
if ((_local1.horizontal && (!_local2)) || (_root.xch)) {
_local1._xscale = 100;
_local1._rotation = 0;
} else if (_local2 && (!_local1.horizontal)) {
_local1._xscale = -100;
_local1._rotation = -90;
}
_local1.horizontal = _local2;
};
p.setSize = (p.rcSetSize = function (w, h) {
var _local1 = this;
var _local3 = h;
if (_local1.horizontal) {
var _local2 = w;
w = _local3;
_local3 = _local2;
}
_local1.broadcastMessage("onResize", (_local1.width = Math.round(w)), (_local1.height = Math.round(_local3)));
});
p.rcSetPosition = function (x, y) {
var _local1 = this;
_local1.broadcastMessage("onMove", (_local1.x = (_local1._x = Math.round(x))), (_local1.y = (_local1._y = Math.round(y))));
};
p.update = (p.onScroller = (p.onChanged = function () {
var _local1 = this;
if (_local1.horizontal) {
_local1.outerBar.update(_local1.field.hscroll, _local1.field.hscroll + _local1.field._width, _local1.field.maxhscroll + 1);
} else {
_local1.outerBar.update(_local1.field.scroll, _local1.field.bottomScroll, _local1.field.maxscroll);
}
}));
p.getEnabled = function () {
return(this.fenabled);
};
p.setEnabled = function (en) {
var _local1 = this;
var _local2 = en;
_local1.up.button.enabled = (_local1.down.button.enabled = (_local1.outerBar.button.enabled = (_local1.outerBar.innerBar._visible = _local2)));
if (_local2 && (!_local1.fenabled)) {
_local1.field.addListener(_local1);
} else if ((!_local2) && (_local1.fenabled)) {
_local1.field.removeListener(_local1);
}
_local1.fenabled = _local2;
};
delete p;
#endinitclip
Symbol 102 MovieClip [FFH Text Scrollbar (Skin 2)] Frame 1
#initclip 5
Object.registerClass("ffh_sbskin2_up", ffhScrollBarUpClass);
Object.registerClass("ffh_sbskin2_down", ffhScrollBarDownClass);
Object.registerClass("ffh_sbskin2_inner", ffhScrollBarInnerBarClass);
Object.registerClass("ffh_sbskin2_outer", ffhScrollBarOuterBarClass);
Object.registerClass("FFH Text Scrollbar (Skin 2)", ffhScrollBarClass);
#endinitclip
Instance of Symbol 100 MovieClip "InstanceName_0" in Symbol 102 MovieClip [FFH Text Scrollbar (Skin 2)] Frame 1
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "outerBar";
host = "this";
$vcleanup = "";
offX = 0;
offY = 12;
percentOffX = 0;
percentOffY = 0;
calcHCP = "(disabled)";
calcVCP = "(disabled)";
$vcleanup = "";
hStretch = false;
hStretchP = 100;
hStretchM = 0;
vStretch = true;
vStretchP = 100;
vStretchM = 11;
pStretch = "(disabled)";
pRectWidth = 550;
pRectHeight = 400;
$vcleanup = "";
rX = "(auto)";
rY = "(auto)";
rWidth = "(auto)";
rHeight = "(auto)";
}
Instance of Symbol 100 MovieClip in Symbol 102 MovieClip [FFH Text Scrollbar (Skin 2)] Frame 1
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "down";
host = "this";
$vcleanup = "";
offX = 0;
offY = 1;
percentOffX = 0;
percentOffY = 100;
calcHCP = "(disabled)";
calcVCP = "component bottom";
$vcleanup = "";
hStretch = false;
hStretchP = 100;
hStretchM = 0;
vStretch = false;
vStretchP = 100;
vStretchM = 0;
pStretch = "(disabled)";
pRectWidth = 550;
pRectHeight = 400;
$vcleanup = "";
rX = "(auto)";
rY = "(auto)";
rWidth = "(auto)";
rHeight = "(auto)";
}
Instance of Symbol 102 MovieClip [FFH Text Scrollbar (Skin 2)] in Symbol 103 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "field2";
horizontal = false;
}
Symbol 235 MovieClip [gameOverWindow] Frame 1
gameOver_mc = this;
dataSender = new LoadVars();
dataReceiver = new LoadVars();
if (_global.score > _global.scoreToWin) {
gameOver_mc.window.gotoAndStop(1);
} else {
gameOver_mc.window.gotoAndStop(2);
}
gameOver_mc.window.save_btn.onRelease = function () {
var _local1 = _global;
if (_local1.score > _local1.scoreToWin) {
if (_local1.score > highScoresWindow_mc.score1) {
dataSender.cacheKiller = new Date().getTime();
dataSender.action = "saveScores";
dataSender.score1 = _local1.score;
dataSender.sendAndLoad(_local1.highScoresScript, dataReceiver, "GET");
gameOver_mc.desc = "Saving...";
} else {
_local1.windowUp = false;
getURL ("javascript:highScore()");
gameOver_mc.removeMovieClip();
}
} else {
_local1.windowUp = false;
gameOver_mc.removeMovieClip();
}
};
dataReceiver.onLoad = function () {
var _local1 = _global;
if (_local1.score > _local1.stage_mc.highScoresWindow_mc.score1) {
_local1.stage_mc.highScoresWindow_mc.updateScore(_local1.score);
}
_local1.windowUp = false;
getURL ("javascript:highScore()");
gameOver_mc.removeMovieClip();
};
stop();
Symbol 237 MovieClip [highScoresWindow] Frame 1
highScores_mc = this;
myData = new LoadVars();
myData.load("http://www.theaxeeffect.com/public_qa/pitman/game/scripts/score.php?action=getScores");
myData.onLoad = function (success) {
if (success) {
highScores_mc.updateScore(this.score1);
highScores_mc.gotoAndStop("loaded");
} else {
trace("Error loading data");
}
};
stop();
highScores_mc.updateScore = function (newScore) {
highScores_mc.score1 = newScore;
for (num in highScores_mc) {
highScores_mc[num].removeMovieClip();
}
newNumString = "000000".concat(highScores_mc.score1.toString()).substring(highScores_mc.score1.toString().length + 1, highScores_mc.score1.toString().length + 6);
pos = 0;
while (pos < newNumString.length) {
highScores_mc.attachMovie("num" + newNumString.substr(pos, 1), "num" + pos, depth++);
highScores_mc["num" + pos]._x = pos * 10;
highScores_mc["num" + pos]._y = 0;
highScores_mc["num" + pos]._xscale = 150;
highScores_mc["num" + pos]._yscale = 150;
pos++;
}
};
Symbol 251 MovieClip [pauseSign] Frame 21
stop();
Symbol 394 MovieClip [bonus40] Frame 40
this.removeMovieClip();
Symbol 398 MovieClip [bonus1000] Frame 53
this.removeMovieClip();
Symbol 399 MovieClip Frame 6
stop();
Symbol 421 MovieClip Frame 1
stop();
Symbol 421 MovieClip Frame 93
stop();
stop();
Symbol 421 MovieClip Frame 168
stop();
Symbol 421 MovieClip Frame 296
stop();
Symbol 421 MovieClip Frame 571
stop();
Symbol 421 MovieClip Frame 652
stop();
Symbol 421 MovieClip Frame 760
stop();
Symbol 421 MovieClip Frame 849
stop();
Symbol 432 MovieClip Frame 41
stop();
Symbol 435 MovieClip Frame 1
m = 0;
Symbol 435 MovieClip Frame 8
if (m == 10) {
stop();
}
Symbol 435 MovieClip Frame 13
m++;
gotoAndPlay (2);
Symbol 437 MovieClip Frame 1
n = 0;
Symbol 437 MovieClip Frame 8
if (n == 10) {
stop();
}
Symbol 437 MovieClip Frame 13
n++;
gotoAndPlay (2);
Symbol 445 MovieClip Frame 1
stop();