Frame 1
stop();
Frame 5
stop();
Frame 12
stop();
Instance of Symbol 87 MovieClip [clipLogo] in Frame 12
on (press) {
_root.gotoAndPlay("main");
}
Frame 18
function accionCalcularDireccionCoordenadas(x_o, y_o, x_d, y_d) {
if (y_o > y_d) {
return(0);
}
if (y_o < y_d) {
return(1);
}
if (x_o < x_d) {
return(2);
}
if (x_o > x_d) {
return(3);
}
return(-1);
}
function accionDistanciaCoordenadas(x_o, y_o, x_d, y_d) {
return(Math.abs(x_o - x_d) + Math.abs(y_o - y_d));
}
function accionHijoCorrecto(typePersonaje, pos_x, pos_y, tamanyo_matriz) {
var _local5;
var _local1;
if ((pos_x < 0) || (pos_x >= widthMatrix)) {
return(0);
}
if ((pos_y < 0) || (pos_y >= heightMatrix)) {
return(0);
}
_local5 = matrixLevel[(pos_x * heightMatrix) + pos_y][0];
if (((_local5 == 1) || (_local5 == 2)) || ((_local5 == 7) && (typePersonaje != 3))) {
return(0);
}
_local1 = 0;
while (_local1 <= tamanyo_matriz) {
if ((matriz[_local1][0] == pos_x) && (matriz[_local1][1] == pos_y)) {
return(0);
}
_local1++;
}
return(1);
}
function accionBuscarCamino(nindex, typePersonaje, typeMark, x_ori, y_ori, x_des, y_des, tipo_casilla) {
var _local2;
var _local6;
var _local13;
var _local7;
var _local4;
var _local3;
var _local1;
var _local14;
var _local5;
_local2 = 0;
while (_local2 < totalCellMatriz) {
matriz[_local2][0] = -1;
matriz[_local2][1] = -1;
matriz[_local2][2] = -1;
matriz[_local2][3] = -1;
matriz[_local2][4] = 1000000 /* 0x0F4240 */;
matriz[_local2][5] = -1;
_local2++;
}
_local1 = 0;
matriz[_local1][0] = x_ori;
matriz[_local1][1] = y_ori;
matriz[_local1][2] = 1;
matriz[_local1][3] = -1;
if ((x_des == -1) && (y_des == -1)) {
matriz[_local1][4] = 0;
} else {
matriz[_local1][4] = accionDistanciaCoordenadas(x_ori, y_ori, x_des, y_des);
}
matriz[_local1][5] = -1;
_local2 = 0;
do {
_local13 = 0;
if (_local1 > (totalCellMatriz - 40)) {
return(-1);
}
_local14 = 1000000 /* 0x0F4240 */;
_local2 = -1;
_local6 = 0;
while (_local6 <= _local1) {
if (matriz[_local6][2] == 1) {
if (matriz[_local6][4] < _local14) {
_local2 = _local6;
_local14 = matriz[_local6][4];
}
}
_local6++;
}
if (_local2 == -1) {
return(-1);
}
_local5 = _local2;
if (tipo_casilla != -1) {
if (matrixLevel[(matriz[_local2][0] * heightMatrix) + matriz[_local2][1]][0] == tipo_casilla) {
if (typeMark != -1) {
var _local8 = _local5;
var _local9 = 100;
while (matriz[_local8][5] != -1) {
world[nindex].listToSearchObjective.push([matriz[_local8][0], matriz[_local8][1], typeMark, _local9]);
_local8 = matriz[_local8][5];
_local9 = _local9 - 15;
if (_local9 < 0) {
_local9 = 100;
}
}
}
return(matriz[_local5][3]);
}
} else if ((matriz[_local2][0] == x_des) && (matriz[_local2][1] == y_des)) {
if (typeMark != -1) {
var _local8 = _local5;
var _local9 = 100;
while (matriz[_local8][5] != -1) {
world[nindex].listToSearchObjective.push([matriz[_local8][0], matriz[_local8][1], typeMark, _local9]);
_local8 = matriz[_local8][5];
_local9 = _local9 - 15;
if (_local9 < 0) {
_local9 = 100;
}
}
}
return(matriz[_local5][3]);
}
matriz[_local5][2] = 0;
_local4 = matriz[_local2][0];
_local3 = matriz[_local2][1] + 1;
if (accionHijoCorrecto(typePersonaje, _local4, _local3, _local1) == 1) {
if (matriz[_local5][3] == -1) {
_local7 = 1;
} else {
_local7 = matriz[_local5][3];
}
_local1++;
matriz[_local1][0] = _local4;
matriz[_local1][1] = _local3;
matriz[_local1][2] = 1;
matriz[_local1][3] = _local7;
if ((x_des == -1) && (y_des == -1)) {
matriz[_local1][4] = 0;
} else {
matriz[_local1][4] = accionDistanciaCoordenadas(_local4, _local3, x_des, y_des);
}
matriz[_local1][5] = _local2;
_local13++;
}
_local4 = matriz[_local2][0];
_local3 = matriz[_local2][1] - 1;
if (accionHijoCorrecto(typePersonaje, _local4, _local3, _local1) == 1) {
if (matriz[_local5][3] == -1) {
_local7 = 0;
} else {
_local7 = matriz[_local5][3];
}
_local1++;
matriz[_local1][0] = _local4;
matriz[_local1][1] = _local3;
matriz[_local1][2] = 1;
matriz[_local1][3] = _local7;
if ((x_des == -1) && (y_des == -1)) {
matriz[_local1][4] = 0;
} else {
matriz[_local1][4] = accionDistanciaCoordenadas(_local4, _local3, x_des, y_des);
}
matriz[_local1][5] = _local2;
_local13++;
}
_local4 = matriz[_local2][0] - 1;
_local3 = matriz[_local2][1];
if (accionHijoCorrecto(typePersonaje, _local4, _local3, _local1) == 1) {
if (matriz[_local5][3] == -1) {
_local7 = 3;
} else {
_local7 = matriz[_local5][3];
}
_local1++;
matriz[_local1][0] = _local4;
matriz[_local1][1] = _local3;
matriz[_local1][2] = 1;
matriz[_local1][3] = _local7;
if ((x_des == -1) && (y_des == -1)) {
matriz[_local1][4] = 0;
} else {
matriz[_local1][4] = accionDistanciaCoordenadas(_local4, _local3, x_des, y_des);
}
matriz[_local1][5] = _local2;
_local13++;
}
_local4 = matriz[_local2][0] + 1;
_local3 = matriz[_local2][1];
if (accionHijoCorrecto(typePersonaje, _local4, _local3, _local1) == 1) {
if (matriz[_local5][3] == -1) {
_local7 = 2;
} else {
_local7 = matriz[_local5][3];
}
_local1++;
matriz[_local1][0] = _local4;
matriz[_local1][1] = _local3;
matriz[_local1][2] = 1;
matriz[_local1][3] = _local7;
if ((x_des == -1) && (y_des == -1)) {
matriz[_local1][4] = 0;
} else {
matriz[_local1][4] = accionDistanciaCoordenadas(_local4, _local3, x_des, y_des);
}
matriz[_local1][5] = _local2;
_local13++;
}
} while (true);
}
buildWorld = function () {
world._x = 0;
world._y = 0;
var _local7 = 0;
var _local6 = 0;
bcnt = 0;
var _local2 = 0;
while (_local2 < widthMatrix) {
var _local1 = 0;
while (_local1 < heightMatrix) {
switch (matrixLevel[(_local2 * heightMatrix) + _local1][0]) {
case 0 :
break;
case 1 :
break;
case 2 :
miRocks.push("Rock" + _local7);
initObjects_Rock(miRocks[_local7], _local7 + 10001, _local2 * blockSize, _local1 * blockSize);
_local7++;
break;
case 3 :
initObjects_GamePlayer(_local2 * blockSize, _local1 * blockSize, 0);
matrixLevel[(_local2 * heightMatrix) + _local1][0] = 0;
break;
case 4 :
initObjects_Monster(_local2 * blockSize, _local1 * blockSize, 0);
matrixLevel[(_local2 * heightMatrix) + _local1][0] = 0;
break;
case 5 :
initObjects_Hunter(_local2 * blockSize, _local1 * blockSize, 0);
matrixLevel[(_local2 * heightMatrix) + _local1][0] = 0;
break;
case 6 :
miFood.push("Food" + _local6);
initObjects_Food(miFood[_local6], _local6 + 15001, _local2 * blockSize, _local1 * blockSize);
_local6++;
break;
case 7 :
break;
case 8 :
}
var _local5 = matrixLevel[(_local2 * heightMatrix) + _local1][1];
if ((_local5 >= 1) && (_local5 <= 32)) {
var _local4 = (("Tile_i" + _local2) + "_j") + _local1;
world.attachMovie("Tiles1", _local4, bcnt);
world[_local4]._x = _local2 * blockSize;
world[_local4]._y = _local1 * blockSize;
world[_local4].gotoAndStop(_local5);
var _local3 = (("Rect_i" + _local2) + "_j") + _local1;
world.attachMovie("Rectangulo", _local3, bcnt + 40000);
world[_local3]._x = _local2 * blockSize;
world[_local3]._y = _local1 * blockSize;
world[_local3]._visible = false;
world[_local3].gotoAndStop(0);
bcnt++;
}
_local1++;
}
_local2++;
}
};
testColision = function (nindex, px, py, psize) {
var _local1 = world[nindex];
var _local7 = px + (_local1._width >> 1);
var _local6 = py + (_local1._height >> 1);
_local1.xCellMatrix = Math.floor(_local7 / blockSize);
_local1.yCellMatrix = Math.floor(_local6 / blockSize);
if ((_local1.xCellMatrix != _local1.xOldCellMatrix) || (_local1.yCellMatrix != _local1.yOldCellMatrix)) {
_local1.xOldCellMatrix = _local1.xCellMatrix;
_local1.yOldCellMatrix = _local1.yCellMatrix;
_local1.oldContenidoType = _local1.contenidoType;
_local1.isChangedOfCellMatrix = 1;
}
_local1.contenidoType = matrixLevel[(_local1.xCellMatrix * heightMatrix) + _local1.yCellMatrix][0];
var _local5 = Math.floor(psize >> 1);
var _local15 = _local7 - _local5;
var _local13 = _local6 - _local5;
var _local14 = _local7 + _local5;
var _local11 = _local6 - _local5;
var _local12 = _local7 - _local5;
var _local9 = _local6 + _local5;
var _local10 = _local7 + _local5;
var _local8 = _local6 + _local5;
_local1.xCollisionCell = -1;
_local1.yCollisionCell = -1;
var _local3 = Math.floor(_local15 / blockSize);
var _local4 = Math.floor(_local13 / blockSize);
var _local2 = matrixLevel[(_local3 * heightMatrix) + _local4][0];
if ((_local2 == 1) || (_local2 == 2)) {
_local1.isCollision = 1;
_local1.collisionType = _local2;
_local1.xCollisionCell = _local3;
_local1.yCollisionCell = _local4;
} else {
_local1.isCollision = 0;
}
if (_local1.isCollision == 0) {
_local3 = Math.floor(_local14 / blockSize);
_local4 = Math.floor(_local11 / blockSize);
_local2 = matrixLevel[(_local3 * heightMatrix) + _local4][0];
if ((_local2 == 1) || (_local2 == 2)) {
_local1.isCollision = 1;
_local1.collisionType = _local2;
_local1.xCollisionCell = _local3;
_local1.yCollisionCell = _local4;
} else {
_local1.isCollision = 0;
}
}
if (_local1.isCollision == 0) {
_local3 = Math.floor(_local12 / blockSize);
_local4 = Math.floor(_local9 / blockSize);
_local2 = matrixLevel[(_local3 * heightMatrix) + _local4][0];
if ((_local2 == 1) || (_local2 == 2)) {
_local1.isCollision = 1;
_local1.collisionType = _local2;
_local1.xCollisionCell = _local3;
_local1.yCollisionCell = _local4;
} else {
_local1.isCollision = 0;
}
}
if (_local1.isCollision == 0) {
_local3 = Math.floor(_local10 / blockSize);
_local4 = Math.floor(_local8 / blockSize);
_local2 = matrixLevel[(_local3 * heightMatrix) + _local4][0];
if ((_local2 == 1) || (_local2 == 2)) {
_local1.isCollision = 1;
_local1.collisionType = _local2;
_local1.xCollisionCell = _local3;
_local1.yCollisionCell = _local4;
} else {
_local1.isCollision = 0;
}
}
};
initObjects_GamePlayer = function (px, py, apply) {
nmGamePlayer = "nmPlayer";
world.attachMovie("PlayerTiles", nmGamePlayer, 30000);
world[nmGamePlayer]._x = px;
world[nmGamePlayer]._y = py;
world[nmGamePlayer].xOld = world[nmGamePlayer]._x;
world[nmGamePlayer].yOld = world[nmGamePlayer]._y;
world[nmGamePlayer].xCellMatrix = -1;
world[nmGamePlayer].yCellMatrix = -1;
world[nmGamePlayer].xOldCellMatrix = -1;
world[nmGamePlayer].yOldCellMatrix = -1;
world[nmGamePlayer].contenidoType = -1;
world[nmGamePlayer].oldContenidoType = -1;
world[nmGamePlayer].isChangedOfCellMatrix = 0;
world[nmGamePlayer].isCollision = 0;
world[nmGamePlayer].collisionType = -1;
world[nmGamePlayer].xCollisionCell = -1;
world[nmGamePlayer].yCollisionCell = -1;
world[nmGamePlayer].speedMov = 3;
world[nmGamePlayer].collisionSize = world[nmGamePlayer]._width - 8;
world[nmGamePlayer].state = 0;
world[nmGamePlayer].isTakenRock = -1;
world[nmGamePlayer].direccionRockTaken = -1;
world[nmGamePlayer].xToReleaseRock = -1;
world[nmGamePlayer].yToReleaseRock = -1;
world[nmGamePlayer].xOldToReleaseRock = -1;
world[nmGamePlayer].yOldToReleaseRock = -1;
world[nmGamePlayer].lifes = 12;
world[nmGamePlayer].iterator = 0;
world[nmGamePlayer].ansietyActual = 0;
world[nmGamePlayer].ansietyLast = 0;
world[nmGamePlayer].listToSearchObjective = new Array();
world[nmGamePlayer].directionToPoint = -1;
world[nmGamePlayer].newDirection = -1;
world[nmGamePlayer].animationHasBeenDone = 0;
world[nmGamePlayer].direccion = 1;
world[nmGamePlayer].gotoAndPlay("caminarTranquiloAbajo");
};
logicObjects_Movement = function (nindex, newDireccion, pspeed, apply) {
var _local1 = world[nindex];
var _local3 = _local1._x;
var _local2 = _local1._y;
var _local6 = 0;
switch (newDireccion) {
case 0 :
_local2 = _local2 - pspeed;
if (((_local1.state == 0) || (_local1.direccion != 0)) || (_local1.ansietyLast != _local1.ansietyActual)) {
_local1.state = 1;
_local1.direccion = 0;
if (_local1.ansietyActual == 0) {
_local1.gotoAndPlay("caminarTranquiloArriba");
} else {
_local1.gotoAndPlay("caminarMiedoArriba");
}
}
break;
case 1 :
_local2 = _local2 + pspeed;
if (((_local1.state == 0) || (_local1.direccion != 1)) || (_local1.ansietyLast != _local1.ansietyActual)) {
_local1.state = 1;
_local1.direccion = 1;
if (_local1.ansietyActual == 0) {
_local1.gotoAndPlay("caminarTranquiloAbajo");
} else {
_local1.gotoAndPlay("caminarMiedoAbajo");
}
}
break;
case 2 :
_local3 = _local3 + pspeed;
if (((_local1.state == 0) || (_local1.direccion != 2)) || (_local1.ansietyLast != _local1.ansietyActual)) {
_local1.state = 1;
_local1.direccion = 2;
if (_local1.ansietyActual == 0) {
_local1.gotoAndPlay("caminarTranquiloDerecha");
} else {
_local1.gotoAndPlay("caminarMiedoDerecha");
}
}
break;
case 3 :
_local3 = _local3 - pspeed;
if (((_local1.state == 0) || (_local1.direccion != 3)) || (_local1.ansietyLast != _local1.ansietyActual)) {
_local1.state = 1;
_local1.direccion = 3;
if (_local1.ansietyActual == 0) {
_local1.gotoAndPlay("caminarTranquiloIzquierda");
} else {
_local1.gotoAndPlay("caminarMiedoIzquierda");
}
}
break;
default :
_local1.state = 0;
switch (_local1.direccion) {
case 0 :
if (_local1.ansietyLast == 0) {
_local1.gotoAndStop("caminarTranquiloArriba");
} else {
_local1.gotoAndStop("caminarMiedoArriba");
}
break;
case 1 :
if (_local1.ansietyLast == 0) {
_local1.gotoAndStop("caminarTranquiloAbajo");
} else {
_local1.gotoAndStop("caminarMiedoAbajo");
}
break;
case 2 :
if (_local1.ansietyLast == 0) {
_local1.gotoAndStop("caminarTranquiloDerecha");
} else {
_local1.gotoAndStop("caminarMiedoDerecha");
}
break;
case 3 :
if (_local1.ansietyLast == 0) {
_local1.gotoAndStop("caminarTranquiloIzquierda");
} else {
_local1.gotoAndStop("caminarMiedoIzquierda");
}
}
}
testColision(nindex, _local3, _local2, _local1.collisionSize);
if (_local1.isCollision == 0) {
if (apply == 1) {
_local1.xOld = _local1._x;
_local1.yOld = _local1._y;
_local1._x = _local3;
_local1._y = _local2;
}
}
};
logicObjects_Gameplayer_InteractRock = function () {
var _local1 = world[nmGamePlayer];
switch (_local1.isTakenRock) {
case -1 :
logicObjects_Movement(nmGamePlayer, _local1.direccion, _local1.speedMov, 0);
if (_local1.isCollision == 1) {
if (_local1.collisionType == 2) {
takeRockInPosition(nmGamePlayer, _local1.xCollisionCell, _local1.yCollisionCell);
}
}
break;
default :
var _local2 = -1;
var _local3 = -1;
switch (_local1.direccionRockTaken) {
case 0 :
_local2 = Math.floor((_local1._x + (world[nmGamePlayer]._width >> 1)) / blockSize);
_local3 = Math.floor(_local1._y / blockSize);
_local3 = _local3 - 1;
break;
case 1 :
_local2 = Math.floor((_local1._x + (world[nmGamePlayer]._width >> 1)) / blockSize);
_local3 = Math.floor((_local1._y + world[nmGamePlayer]._height) / blockSize);
_local3 = _local3 + 1;
break;
case 2 :
_local2 = Math.floor((_local1._x + world[nmGamePlayer]._width) / blockSize);
_local3 = Math.floor((_local1._y + (world[nmGamePlayer]._height >> 1)) / blockSize);
_local2 = _local2 + 1;
break;
case 3 :
_local2 = Math.floor(_local1._x / blockSize);
_local3 = Math.floor((_local1._y + (world[nmGamePlayer]._height >> 1)) / blockSize);
_local2 = _local2 - 1;
}
releaseRockInPosition(nmGamePlayer, _local1.isTakenRock, _local2, _local3, 1);
}
};
logicObjects_Gameplayer = function () {
var _local1 = world[nmGamePlayer];
switch (_local1.state) {
case 0 :
case 1 :
if ((_local1.listToSearchObjective.length == 0) && (listObjetivesMouse.length == 0)) {
_local1.newDirection = -1;
logicObjects_Movement(nmGamePlayer, _local1.newDirection, _local1.speedMov, 1);
} else if (_local1.listToSearchObjective.length > 0) {
logicObjects_MoveIA(nmGamePlayer);
var _local3 = 0;
if (_local1.isCollision == 1) {
if (_local1.listToSearchObjective.length == 1) {
if (_local1.collisionType == 2) {
logicObjects_Rectangulos(1, nmGamePlayer);
_local1.newDirection = _local1.direccion;
_local1.iterator = 0;
logicObjects_Gameplayer_InteractRock();
_local1._x = Math.floor(_local1.xCellMatrix * blockSize);
_local1._y = Math.floor(_local1.yCellMatrix * blockSize);
_local3 = 1;
}
}
}
if (_local3 == 0) {
if (_local1.listToSearchObjective.length == 0) {
logicObjects_Gameplayer_InteractRock();
}
}
} else if (listObjetivesMouse.length > 0) {
_local1._x = Math.floor(_local1.xCellMatrix * blockSize);
_local1._y = Math.floor(_local1.yCellMatrix * blockSize);
logicObjects_Rectangulos(1, nmGamePlayer);
_local1.directionToPoint = -1;
var _local2 = listObjetivesMouse.shift();
switch (matrixLevel[(_local2[0] * heightMatrix) + _local2[1]][0]) {
case 1 :
break;
case 2 :
matrixLevel[(_local2[0] * heightMatrix) + _local2[1]][0] = 0;
_local1.directionToPoint = accionBuscarCamino(nmGamePlayer, 3, 1, _local1.xCellMatrix, _local1.yCellMatrix, _local2[0], _local2[1], -1);
matrixLevel[(_local2[0] * heightMatrix) + _local2[1]][0] = 2;
break;
default :
if ((_local1.xCellMatrix == _local2[0]) && (_local1.yCellMatrix == _local2[1])) {
if (_local1.isTakenRock != -1) {
logicObjects_Gameplayer_InteractRock();
}
} else {
_local1.directionToPoint = accionBuscarCamino(nmGamePlayer, 3, 1, _local1.xCellMatrix, _local1.yCellMatrix, _local2[0], _local2[1], -1);
}
}
if (_local1.directionToPoint != -1) {
_local1.newDirection = _local1.directionToPoint;
}
}
_local1.ansietyLast = _local1.ansietyActual;
if (world[nmMonster].directionToGuy != -1) {
_local1.ansietyActual = 1;
if (_local1.isChangedOfCellMatrix == 1) {
situationAlteredMonster = 1;
}
} else {
_local1.ansietyActual = 0;
}
if (_local1.isChangedOfCellMatrix == 1) {
if (_local1.oldContenidoType == 7) {
if (_local1.contenidoType != _local1.oldContenidoType) {
situationAlteredMonster = 1;
}
}
}
_local1.isChangedOfCellMatrix = 0;
logicObjects_Rectangulos(0, nmGamePlayer);
}
};
initObjects_Rock = function (nindex, nlayer, px, py) {
world.attachMovie("Rock", nindex, nlayer);
world[nindex]._x = px;
world[nindex]._y = py;
world[nindex].isFree = 0;
world[nindex].gotoAndStop(0);
};
logicObjects_Rock = function () {
var _local2 = 0;
while (_local2 < miRocks.length) {
var _local1 = world[miRocks[_local2]];
if (_local1.isFree == 1) {
if (world[nmGamePlayer].isCollision == 0) {
_local1._x = _local1._x + (world[nmGamePlayer]._x - world[nmGamePlayer].xOld);
_local1._y = _local1._y + (world[nmGamePlayer]._y - world[nmGamePlayer].yOld);
_local1._alpha = _local1._alpha - 4;
if (_local1._alpha < 0) {
_local1._alpha = 80;
}
}
}
_local2++;
}
};
takeRockInPosition = function (nindex, px, py) {
var _local5 = px * blockSize;
var _local4 = py * blockSize;
var _local1 = 0;
while (_local1 < miRocks.length) {
var _local2 = world[miRocks[_local1]];
if ((_local2._x == _local5) && (_local2._y == _local4)) {
_local2.isFree = 1;
world[nindex].isTakenRock = _local1;
world[nindex].direccionRockTaken = world[nindex].direccion;
matrixLevel[(px * heightMatrix) + py][0] = 0;
situationAlteredMonster = 1;
situationAlteredHunter = 1;
break;
}
_local1++;
}
};
releaseRockInPosition = function (nindex, nindexRock, px, py, apply) {
var _local1 = 1;
if (matrixLevel[(px * heightMatrix) + py][0] != 0) {
_local1 = 0;
}
if (_local1 == 1) {
matrixLevel[(px * heightMatrix) + py][0] = 2;
var _local6 = world[nmMonster].isCollision;
testColision(nmMonster, world[nmMonster]._x, world[nmMonster]._y, world[nmMonster].collisionSize);
if (world[nmMonster].isCollision == 1) {
_local1 = 0;
}
world[nmMonster].isCollision = _local6;
matrixLevel[(px * heightMatrix) + py][0] = 0;
}
if (_local1 == 1) {
matrixLevel[(px * heightMatrix) + py][0] = 2;
var _local5 = world[nmHunter].isCollision;
testColision(nmHunter, world[nmHunter]._x, world[nmHunter]._y, world[nmHunter].collisionSize);
if (world[nmHunter].isCollision == 1) {
_local1 = 0;
}
world[nmHunter].isCollision = _local5;
matrixLevel[(px * heightMatrix) + py][0] = 0;
}
if (_local1 == 1) {
if (apply == 1) {
world[nindex].isTakenRock = -1;
world[nindex].direccionRockTaken = -1;
world[miRocks[nindexRock]].isFree = 0;
world[miRocks[nindexRock]]._alpha = 100;
world[miRocks[nindexRock]]._x = px * blockSize;
world[miRocks[nindexRock]]._y = py * blockSize;
matrixLevel[(px * heightMatrix) + py][0] = 2;
situationAlteredMonster = 1;
situationAlteredHunter = 1;
}
}
};
logicObjects_Rectangulos = function (eventRectangulos, nindex) {
var _local2 = world[nindex];
switch (eventRectangulos) {
case 0 :
var _local3 = 0;
while (_local3 < _local2.listToSearchObjective.length) {
var _local4 = _local2.listToSearchObjective[_local3][0];
var _local5 = _local2.listToSearchObjective[_local3][1];
var _local6 = _local2.listToSearchObjective[_local3][2];
var _local1 = _local2.listToSearchObjective[_local3][3];
var _local9 = (("Rect_i" + _local4) + "_j") + _local5;
if (nmShowWayEnabled == true) {
world[_local9]._visible = true;
} else {
world[_local9]._visible = false;
}
_local1 = _local1 - 5;
if (_local1 < 0) {
_local1 = 100;
}
_local2.listToSearchObjective[_local3][3] = _local1;
world[_local9]._alpha = _local1;
world[_local9].gotoAndStop(_local6);
_local3++;
}
break;
case 1 :
var _local7 = _local2.listToSearchObjective.length;
_local3 = 0;
while (_local3 < _local7) {
var _local8 = _local2.listToSearchObjective.pop();
var _local9 = (("Rect_i" + _local8[0]) + "_j") + _local8[1];
world[_local9]._visible = false;
_local3++;
}
break;
case 2 :
var _local8 = _local2.listToSearchObjective.pop();
var _local9 = (("Rect_i" + _local8[0]) + "_j") + _local8[1];
world[_local9]._visible = false;
}
};
initObjects_Monster = function (px, py, apply) {
nmMonster = "nmMonster";
world.attachMovie("MonsterTiles", nmMonster, 30001);
world[nmMonster]._x = px;
world[nmMonster]._y = py;
world[nmMonster].xInitialPosition = px;
world[nmMonster].yInitialPosition = py;
world[nmMonster].xOld = world[nmMonster]._x;
world[nmMonster].yOld = world[nmMonster]._y;
world[nmMonster].xCellMatrix = Math.floor((world[nmMonster]._x + (world[nmMonster]._width >> 1)) / blockSize);
world[nmMonster].yCellMatrix = Math.floor((world[nmMonster]._y + (world[nmMonster]._height >> 1)) / blockSize);
world[nmMonster].xOldCellMatrix = -1;
world[nmMonster].yOldCellMatrix = -1;
world[nmMonster].contenidoType = -1;
world[nmMonster].oldContenidoType = -1;
world[nmMonster].isChangedOfCellMatrix = 0;
world[nmMonster].isCollision = 0;
world[nmMonster].collisionType = -1;
world[nmMonster].xCollisionCell = -1;
world[nmMonster].yCollisionCell = -1;
world[nmMonster].speedMov = 2;
world[nmMonster].collisionSize = world[nmMonster]._width - 8;
world[nmMonster].state = 0;
world[nmMonster].iterator = 0;
world[nmMonster].listToSearchObjective = new Array();
world[nmMonster].directionToFood = -1;
world[nmMonster].directionToGuy = -1;
world[nmMonster].directionToDoor = -1;
world[nmMonster].ansietyActual = 0;
world[nmMonster].ansietyLast = 0;
world[nmMonster].animationHasBeenDone = 0;
world[nmMonster].direccion = random(4);
world[nmMonster].newDirection = world[nmMonster].direccion;
world[nmMonster].gotoAndPlay("caminarTranquiloAbajo");
};
logicObjects_MoveIA = function (nindex) {
var _local1 = world[nindex];
if ((_local1.listToSearchObjective.length == 0) || (_local1.iterator > 0)) {
if (_local1.iterator > 0) {
_local1.iterator--;
if (_local1.iterator <= 0) {
situationAlteredMonster = 1;
situationAlteredHunter = 1;
}
}
if (_local1.newDirection == -1) {
_local1.newDirection = random(4);
}
logicObjects_Movement(nindex, _local1.newDirection, _local1.speedMov, 1);
if (_local1.isCollision == 1) {
_local1.newDirection = random(4);
}
} else {
logicObjects_Movement(nindex, _local1.newDirection, _local1.speedMov, 1);
if (_local1.isCollision == 1) {
_local1.newDirection = random(4);
_local1.iterator = 5;
return(undefined);
}
var _local2 = Math.floor((_local1.listToSearchObjective[_local1.listToSearchObjective.length - 1][0] * blockSize) + (blockSize >> 1));
var _local3 = Math.floor((_local1.listToSearchObjective[_local1.listToSearchObjective.length - 1][1] * blockSize) + (blockSize >> 1));
var _local4 = Math.floor(_local1._x + (blockSize >> 1));
var _local5 = Math.floor(_local1._y + (blockSize >> 1));
var _local7 = accionDistanciaCoordenadas(_local4, _local5, _local2, _local3);
if (_local7 <= _local1.speedMov) {
_local1._x = _local2 - (blockSize >> 1);
_local1._y = _local3 - (blockSize >> 1);
logicObjects_Rectangulos(2, nindex);
if (_local1.listToSearchObjective.length > 0) {
_local2 = Math.floor((_local1.listToSearchObjective[_local1.listToSearchObjective.length - 1][0] * blockSize) + (blockSize >> 1));
_local3 = Math.floor((_local1.listToSearchObjective[_local1.listToSearchObjective.length - 1][1] * blockSize) + (blockSize >> 1));
}
_local4 = Math.floor(_local1._x + (blockSize >> 1));
_local5 = Math.floor(_local1._y + (blockSize >> 1));
}
_local1.newDirection = accionCalcularDireccionCoordenadas(_local4, _local5, _local2, _local3);
}
};
logicObjects_Monster = function () {
var _local1 = world[nmMonster];
switch (_local1.state) {
case 0 :
case 1 :
logicObjects_MoveIA(nmMonster);
if (situationAlteredMonster == 1) {
situationAlteredMonster = 0;
logicObjects_Rectangulos(1, nmMonster);
_local1.directionToDoor = -1;
_local1.directionToGuy = -1;
_local1.directionToFood = -1;
_local1.directionToFood = accionBuscarCamino(nmMonster, 4, 2, _local1.xCellMatrix, _local1.yCellMatrix, -1, -1, 6);
if (_local1.directionToFood == -1) {
_local1.directionToGuy = accionBuscarCamino(nmMonster, 4, 2, _local1.xCellMatrix, _local1.yCellMatrix, world[nmGamePlayer].xCellMatrix, world[nmGamePlayer].yCellMatrix, -1);
if (_local1.directionToGuy == -1) {
_local1.directionToDoor = accionBuscarCamino(nmMonster, 4, 2, _local1.xCellMatrix, _local1.yCellMatrix, -1, -1, 8);
if (_local1.directionToDoor == -1) {
_local1.newDirection = _local1.directionToDoor;
}
} else {
if (nmCurrentSoundPlayer != 4) {
playGameSound(4, 1);
}
_local1.newDirection = _local1.directionToGuy;
}
} else {
_local1.newDirection = _local1.directionToFood;
}
}
logicObjects_Rectangulos(0, nmMonster);
_local1.ansietyLast = _local1.ansietyActual;
if (_local1.directionToGuy == -1) {
_local1.ansietyActual = 1;
} else {
_local1.ansietyActual = 0;
}
if (world[nmHunter].directionToMonster != -1) {
if (_local1.isChangedOfCellMatrix == 1) {
situationAlteredHunter = 1;
}
}
if (accionDistanciaCoordenadas(_local1._x, _local1._y, world[nmGamePlayer]._x, world[nmGamePlayer]._y) < _local1.collisionSize) {
_local1.iterator = 0;
_local1.state = 4;
return(undefined);
}
if (_local1.isChangedOfCellMatrix == 1) {
var _local3 = matrixLevel[(_local1.xCellMatrix * heightMatrix) + _local1.yCellMatrix][0];
if (_local3 == 6) {
if (deleteFood(_local1.xCellMatrix, _local1.yCellMatrix) == 1) {
logicObjects_Rectangulos(1, nmMonster);
_local1._x = Math.floor(_local1.xCellMatrix * blockSize);
_local1._y = Math.floor(_local1.yCellMatrix * blockSize);
_local1.iterator = 0;
_local1.state = 2;
}
return(undefined);
}
if (_local3 == 7) {
logicObjects_Rectangulos(1, nmMonster);
_local1._x = Math.floor(_local1.xCellMatrix * blockSize);
_local1._y = Math.floor(_local1.yCellMatrix * blockSize);
_local1.iterator = 0;
_local1.state = 3;
return(undefined);
}
if (((_local3 == 8) && (_local1.directionToGuy == -1)) && (_local1.directionToFood == -1)) {
_local1.iterator = 0;
_local1.state = 5;
return(undefined);
}
}
_local1.isChangedOfCellMatrix = 0;
break;
case 2 :
_local1.iterator++;
if (_local1.iterator == 1) {
_local1.gotoAndPlay("comer");
}
if (_local1.iterator > 120) {
_local1.iterator = 0;
_local1.state = 0;
situationAlteredMonster = 1;
}
break;
case 3 :
_local1.iterator++;
var _local2 = world[nmMonster].collisionSize + 16;
if (_local1.iterator < _local2) {
if ((_local1.iterator % 2) == 1) {
_local1._x = _local1._x + 1;
_local1._y = _local1._y + 1;
}
_local1._xscale = ((_local2 - _local1.iterator) * 100) / _local2;
_local1._yscale = ((_local2 - _local1.iterator) * 100) / _local2;
} else if (_local1.iterator == _local2) {
_local1._x = _local1.xInitialPosition + ((world[nmMonster].collisionSize + 16) / 2);
_local1._y = _local1.yInitialPosition + ((world[nmMonster].collisionSize + 16) / 2);
} else if ((_local1.iterator > _local2) && (_local1.iterator < (_local2 * 2))) {
if (((_local1.iterator - _local2) % 2) == 1) {
_local1._x = _local1._x - 1;
_local1._y = _local1._y - 1;
}
_local1._xscale = ((_local1.iterator - _local2) * 100) / _local2;
_local1._yscale = ((_local1.iterator - _local2) * 100) / _local2;
} else {
_local1._xscale = 100;
_local1._yscale = 100;
initObjects_Monster(_local1.xInitialPosition, _local1.yInitialPosition, 0);
_local1.iterator = 0;
_local1.state = 1;
situationAlteredMonster = 1;
situationAlteredHunter = 1;
}
break;
case 4 :
_local1.iterator++;
if (_local1.iterator == 1) {
changeGeneralState(4);
}
break;
case 5 :
_local1.iterator++;
if (_local1.iterator != 1) {
break;
}
changeGeneralState(3);
}
};
initObjects_Food = function (nindex, nlayer, px, py) {
world.attachMovie("Food", nindex, nlayer);
world[nindex]._x = px;
world[nindex]._y = py;
world[nindex].gotoAndStop(0);
};
deleteFood = function (px, py) {
var _local4 = px * blockSize;
var _local3 = py * blockSize;
var _local1 = 0;
while (_local1 < miFood.length) {
var _local2 = world[miFood[_local1]];
if ((_local2._x == _local4) && (_local2._y == _local3)) {
matrixLevel[(px * heightMatrix) + py][0] = 0;
situationAlteredMonster = 1;
_local2._visible = false;
miFood.splice(_local1, 1);
return(1);
}
_local1++;
}
return(0);
};
initObjects_Hunter = function (px, py, apply) {
nmHunter = "nmHunter";
world.attachMovie("HunterTiles", nmHunter, 30002);
existMCHunter = 1;
world[nmHunter]._x = px;
world[nmHunter]._y = py;
world[nmHunter].xInitialPosition = px;
world[nmHunter].yInitialPosition = py;
world[nmHunter].xOld = world[nmHunter]._x;
world[nmHunter].yOld = world[nmHunter]._y;
world[nmHunter].xCellMatrix = Math.floor((world[nmHunter]._x + (world[nmHunter]._width >> 1)) / blockSize);
world[nmHunter].yCellMatrix = Math.floor((world[nmHunter]._y + (world[nmHunter]._height >> 1)) / blockSize);
world[nmHunter].xOldCellMatrix = -1;
world[nmHunter].yOldCellMatrix = -1;
world[nmHunter].contenidoType = -1;
world[nmHunter].oldContenidoType = -1;
world[nmHunter].isChangedOfCellMatrix = 0;
world[nmHunter].isCollision = 0;
world[nmHunter].collisionType = -1;
world[nmHunter].xCollisionCell = -1;
world[nmHunter].yCollisionCell = -1;
world[nmHunter].speedMov = 2;
world[nmHunter].collisionSize = world[nmHunter]._width - 8;
world[nmHunter].state = 0;
world[nmHunter].iterator = 0;
world[nmHunter].listToSearchObjective = new Array();
world[nmHunter].directionToMonster = -1;
world[nmHunter].ansietyActual = 0;
world[nmHunter].ansietyLast = 0;
world[nmHunter].animationHasBeenDone = 0;
world[nmHunter].direccion = 1;
world[nmHunter].newDirection = 1;
world[nmHunter].gotoAndPlay("caminarTranquiloAbajo");
};
logicObjects_Hunter = function () {
var _local1 = world[nmHunter];
switch (_local1.state) {
case 0 :
case 1 :
logicObjects_MoveIA(nmHunter);
if ((situationAlteredMonster == 1) || (situationAlteredHunter == 1)) {
situationAlteredHunter = 0;
logicObjects_Rectangulos(1, nmHunter);
_local1.directionToMonster = -1;
_local1.directionToMonster = accionBuscarCamino(nmHunter, 5, 3, _local1.xCellMatrix, _local1.yCellMatrix, world[nmMonster].xCellMatrix, world[nmMonster].yCellMatrix, -1);
if (_local1.directionToMonster != -1) {
_local1.newDirection = _local1.directionToMonster;
if (nmCurrentSoundPlayer != 4) {
playGameSound(4, 1);
}
}
}
logicObjects_Rectangulos(0, nmHunter);
_local1.ansietyLast = _local1.ansietyActual;
if (_local1.directionToMonster == -1) {
_local1.ansietyActual = 0;
} else {
_local1.ansietyActual = 1;
}
if (accionDistanciaCoordenadas(_local1._x, _local1._y, world[nmMonster]._x, world[nmMonster]._y) < _local1.collisionSize) {
_local1.iterator = 0;
_local1.state = 3;
return(undefined);
}
if (_local1.isChangedOfCellMatrix == 1) {
if (matrixLevel[(_local1.xCellMatrix * heightMatrix) + _local1.yCellMatrix][0] == 7) {
_local1._x = Math.floor(_local1.xCellMatrix * blockSize);
_local1._y = Math.floor(_local1.yCellMatrix * blockSize);
_local1.iterator = 0;
_local1.state = 2;
}
}
_local1.isChangedOfCellMatrix = 0;
break;
case 2 :
_local1.iterator++;
var _local2 = world[nmMonster].collisionSize + 16;
if (_local1.iterator < _local2) {
if ((_local1.iterator % 2) == 1) {
_local1._x = _local1._x + 1;
_local1._y = _local1._y + 1;
}
_local1._xscale = ((_local2 - _local1.iterator) * 100) / _local2;
_local1._yscale = ((_local2 - _local1.iterator) * 100) / _local2;
} else if (_local1.iterator == _local2) {
_local1._x = _local1.xInitialPosition + ((world[nmMonster].collisionSize + 16) / 2);
_local1._y = _local1.yInitialPosition + ((world[nmMonster].collisionSize + 16) / 2);
} else if ((_local1.iterator > _local2) && (_local1.iterator < (_local2 * 2))) {
if (((_local1.iterator - _local2) % 2) == 1) {
_local1._x = _local1._x - 1;
_local1._y = _local1._y - 1;
}
_local1._xscale = ((_local1.iterator - _local2) * 100) / _local2;
_local1._yscale = ((_local1.iterator - _local2) * 100) / _local2;
} else {
_local1._xscale = 100;
_local1._yscale = 100;
initObjects_Hunter(_local1.xInitialPosition, _local1.yInitialPosition, 0);
_local1.iterator = 0;
_local1.state = 1;
situationAlteredHunter = 1;
}
break;
case 3 :
_local1.iterator++;
if (_local1.iterator == 1) {
changeGeneralState(5);
}
break;
case 4 :
_local1.iterator++;
if (_local1.iterator != 1) {
break;
}
trace("HUNTER LOSE");
}
};
initAI = function () {
matriz = new Array();
totalCellMatriz = widthMatrix * heightMatrix;
i = 0;
while (i < totalCellMatriz) {
matriz.push([-1, -1, -1, -1, 1000000, -1]);
i++;
}
};
initMouseInteration = function () {
if (listObjetivesMouse.length > 0) {
listObjetivesMouse.splice(0, listObjetivesMouse.length);
}
nmRectMousePosition = "RectMousePosition";
world.attachMovie("Rectangulo", nmRectMousePosition, bcnt + 50000);
world[nmRectMousePosition]._visible = false;
world[nmRectMousePosition]._x = Math.floor(_xmouse / _root.blockSize);
world[nmRectMousePosition]._y = Math.floor(_ymouse / _root.blockSize);
world[nmRectMousePosition]._alpha = 100;
};
logic_MouseInteration = function () {
var _local1 = world[nmRectMousePosition];
_local1._x = Math.floor(_xmouse / blockSize) * blockSize;
_local1._y = Math.floor(_ymouse / blockSize) * blockSize;
_local1._visible = true;
_local1._alpha = _local1._alpha - 5;
if (_local1._alpha < 0) {
_local1._alpha = 100;
}
_local1.gotoAndStop(4);
};
changeCamera = function (px, py) {
xMyCamera = px;
yMyCamera = py;
if (Math.abs(px) < iFrontierXLow) {
xMyCamera = -iFrontierXLow;
}
if (Math.abs(py) < iFrontierYLow) {
yMyCamera = -iFrontierYLow;
}
if (Math.abs(px) > iFrontierXHigh) {
xMyCamera = -iFrontierXHigh;
}
if (Math.abs(py) > iFrontierYHigh) {
yMyCamera = -iFrontierYHigh;
}
};
nmPreviousSoundLoaded = -1;
nmCurrentSoundLoaded = 0;
nmCurrentSoundPlayer = 0;
loadGameSound = function (nindex) {
var _local2 = new Sound();
nmPreviousSoundLoaded = nmCurrentSoundLoaded;
switch (nindex) {
case 0 :
_local2.attachSound("mainmelody");
break;
case 1 :
_local2.attachSound("selection");
break;
case 2 :
_local2.attachSound("presentation");
break;
case 3 :
_local2.attachSound("tranquility");
break;
case 4 :
_local2.attachSound("danger");
break;
case 5 :
_local2.attachSound("victory");
break;
case 6 :
_local2.attachSound("lose");
}
_root.nmCurrentSoundLoaded = _root.nmCurrentSoundLoaded + 1;
nmSounds.push(_local2);
};
stopGameSounds = function () {
var _local1 = 0;
while (_local1 < nmSounds.length) {
nmSounds[_local1].stop();
_local1++;
}
};
playGameSound = function (nindex, iter) {
nmCurrentSoundPlayer = nindex;
if (nmSoundEnabled == true) {
stopGameSounds();
nmSounds[nindex].start(0, iter);
}
};
loadGameData = function () {
listLevelScore = new Array();
var _local1 = 0;
while (_local1 < nmNumberTotalOfLevels) {
listLevelScore.push(-1);
_local1++;
}
nmTotalLevelDone = 0;
var _local2 = SharedObject.getLocal(nmRecordStoreName);
_local1 = 0;
while (_local1 < nmNumberTotalOfLevels) {
listLevelScore[_local1] = _local2.data.levelData.listLevelScore[_local1];
if (!isNaN(listLevelScore[_local1])) {
nmTotalLevelDone++;
}
_local1++;
}
if (nmTotalLevelDone >= nmNumberTotalOfLevels) {
nmTotalLevelDone = nmNumberTotalOfLevels - 1;
}
};
saveGameData = function () {
var _local1 = new Object();
_local1.listLevelScore = listLevelScore;
var _local2 = SharedObject.getLocal(nmRecordStoreName);
_local2.data.levelData = _local1;
_local2.flush();
};
docxml = new XML();
docxml.ignoreWhite = true;
docxml.onLoad = function () {
interpretLevelXml();
};
interpretLevelXml = function () {
var _local4;
var _local7;
var _local3 = 0;
while (_local3 < docxml.firstChild.childNodes.length) {
var _local1 = docxml.firstChild.childNodes[_local3].firstChild.nodeValue;
switch (_local3) {
case 0 :
widthMatrix = new Number(_local1);
break;
case 1 :
heightMatrix = new Number(_local1);
break;
case 2 :
blockSize = new Number(_local1);
break;
case 3 :
_local4 = _local1.split(",");
break;
case 4 :
_local7 = _local1.split(",");
}
_local3++;
}
matrixLevel = new Array(Number(widthMatrix) * Number(heightMatrix));
var _local2 = 1;
while (_local2 < _local4.length) {
var _local5 = new Number(_local4[_local2]);
var _local6 = new Number(_local7[_local2]);
matrixLevel[_local2 - 1] = [Number(_local5), Number(_local6)];
_local2++;
}
changeGeneralState(9);
};
initGameLevelDirectory = function () {
var _local2;
if (matrixLevel.length > 0) {
matrixLevel.splice(0, matrixLevel.length);
}
var _local1 = new String(cXml.XML_LEVELS[nmCurrentLevel]);
docxml = new XML(_local1);
docxml.ignoreWhite = true;
interpretLevelXml();
};
freeGameResources = function () {
world[nmGamePlayer].removeMovieClip();
world[nmMonster].removeMovieClip();
if (existMCHunter == 1) {
world[nmHunter].removeMovieClip();
existMCHunter = 0;
}
if (miRocks.length > 0) {
var _local2 = 0;
while (_local2 < miRocks.length) {
var _local4 = world[miRocks[_local2]];
_local4.removeMovieClip();
_local2++;
}
miRocks.splice(0, miRocks.length);
}
if (miFood.length > 0) {
var _local1 = 0;
while (_local1 < miFood.length) {
var _local3 = world[miFood[_local1]];
_local3.removeMovieClip();
_local1++;
}
miFood.splice(0, miFood.length);
}
world.unloadMovie();
};
changeGeneralState = function (newState) {
gIterator = 0;
gState = newState;
world[nmGamePlayer].animationHasBeenDone = 0;
world[nmMonster].animationHasBeenDone = 0;
if (existMCHunter == 1) {
world[nmHunter].animationHasBeenDone = 0;
}
};
initGame = function () {
_root.onEnterFrame = function () {
gFrames++;
if (gFrames > 1) {
gFrames = 0;
}
switch (gState) {
case 0 :
gIterator = 0;
gFrames = 0;
initGameLevelDirectory();
break;
case 9 :
gIterator = 0;
gFrames = 0;
buildWorld();
initMouseInteration();
situationAlteredMonster = 0;
situationAlteredHunter = 0;
if ((instMenuGame.instCaratula._alpha < 100) || (instMenuGame._visible == false)) {
instMenuGame._visible = false;
instClipResultGame._visible = false;
changeGeneralState(1);
} else {
changeGeneralState(7);
}
break;
case 7 :
instMenuGame.instCaratula._alpha = instMenuGame.instCaratula._alpha - 2;
if (instMenuGame.instCaratula._alpha < 5) {
instMenuGame._visible = false;
changeGeneralState(1);
}
break;
case 1 :
gIterator++;
switch (gIterator) {
case 1 :
world[nmGamePlayer].gotoAndPlay("presentacion");
world[nmMonster].gotoAndPlay("presentacion");
if (existMCHunter == 1) {
world[nmHunter].gotoAndPlay("presentacion");
}
break;
case 2 :
if ((world[nmGamePlayer].animationHasBeenDone == 1) && (world[nmMonster].animationHasBeenDone == 1)) {
instClipPresentationLevel._visible = true;
instClipPresentationLevel.gotoAndPlay("Seccion1");
} else {
gIterator = 1;
}
break;
case 3 :
gIterator = 2;
break;
default :
world[nmGamePlayer].gotoAndStop("caminarTranquiloAbajo");
instClipPause._visible = true;
instClipPause.instTextCircle.text = "PAUSE";
nmCurrentDataTime = new Date();
nmInitialTime = nmCurrentDataTime.getTime();
world[nmRectMousePosition]._visible = true;
_root.playGameSound(3, 1);
changeGeneralState(2);
}
break;
case 2 :
if (gIterator < 11) {
gIterator++;
}
if (nmTutorialActive == 1) {
if (instClipTutorialGrafico._visible != true) {
instClipTutorialGrafico._visible = true;
instClipTutorialGrafico.gotoAndPlay("level1Presentacion");
}
}
logicObjects_Gameplayer();
logicObjects_Rock();
logicObjects_Monster();
if (existMCHunter == 1) {
logicObjects_Hunter();
}
if (world[nmMonster].directionToGuy == -1) {
if (existMCHunter == 0) {
if (nmCurrentSoundPlayer != 3) {
playGameSound(3, 1);
}
}
}
if (existMCHunter == 1) {
if ((world[nmHunter].directionToMonster == -1) && (world[nmMonster].directionToGuy == -1)) {
if (nmCurrentSoundPlayer != 3) {
playGameSound(3, 1);
}
}
}
logic_MouseInteration();
if (instClipTutorialGrafico._visible == true) {
switch (instClipTutorialGrafico.state) {
case 3 :
case 5 :
case 6 :
case 7 :
world[nmRectMousePosition]._visible = true;
break;
default :
world[nmRectMousePosition]._visible = false;
}
}
break;
case 3 :
gIterator++;
if (gIterator == 1) {
playGameSound(5, 1);
if (!isNaN(listLevelScore[nmCurrentLevel])) {
nmCurrentDataTime = new Date();
var _local2 = nmCurrentDataTime.getTime();
timeDoneInCurrentLevel = Math.floor((_local2 - nmInitialTime) / 1000);
if (listLevelScore[nmCurrentLevel] > timeDoneInCurrentLevel) {
listLevelScore[nmCurrentLevel] = timeDoneInCurrentLevel;
}
} else {
nmCurrentDataTime = new Date();
var _local2 = nmCurrentDataTime.getTime();
timeDoneInCurrentLevel = Math.floor((_local2 - nmInitialTime) / 1000);
listLevelScore[nmCurrentLevel] = timeDoneInCurrentLevel;
}
saveGameData();
nmCurrentLevel++;
if ((nmCurrentLevel >= nmTotalLevelDone) && (nmCurrentLevel < nmNumberTotalOfLevels)) {
nmTotalLevelDone++;
}
instClipResultGame._alpha = 100;
instClipResultGame._visible = true;
instClipPause._visible = false;
instClipResultGame.gotoAndStop("vacio");
instClipResultGame.gotoAndPlay("winLevel");
world[nmRectMousePosition]._visible = false;
freeGameResources();
if (nmTutorialActive == 1) {
nmTutorialActive = 0;
nmCurrentLevel = 0;
}
}
break;
case 4 :
gIterator++;
if (gIterator == 1) {
playGameSound(6, 1);
instClipResultGame._alpha = 100;
instClipResultGame._visible = true;
instClipPause._visible = false;
world[nmRectMousePosition]._visible = false;
instClipResultGame.gotoAndStop("vacio");
instClipResultGame.gotoAndPlay("guyEatedByMonster");
freeGameResources();
}
break;
case 5 :
gIterator++;
if (gIterator == 1) {
playGameSound(6, 1);
instClipResultGame._alpha = 100;
instClipResultGame._visible = true;
instClipPause._visible = false;
world[nmRectMousePosition]._visible = false;
instClipResultGame.gotoAndStop("vacio");
instClipResultGame.gotoAndPlay("monsterCaptured");
freeGameResources();
}
break;
case 6 :
break;
case 8 :
gIterator++;
if (gIterator > 10) {
instClipPause._visible = true;
instClipPause.instTextCircle.text = "PAUSE";
instMenuGame._visible = false;
instMenuGame._alpha = 100;
world[nmRectMousePosition]._visible = true;
changeGeneralState(2);
} else {
if (instMenuGame._alpha <= 10) {
break;
}
instMenuGame._alpha = instMenuGame._alpha - 10;
}
}
};
};
initEfectiveGame = function (levelSelected) {
nmCurrentLevel = levelSelected;
existMCHunter = 0;
changeGeneralState(0);
initGame();
};
instClipPause._visible = false;
instClipPause.onRelease = function () {
_root.playGameSound(1, 1);
changeGeneralState(6);
instMenuGame._visible = true;
instMenuGame.gotoAndPlay("pause");
this._visible = false;
};
nmChorradaLoadingBarColor = 0;
instClipPresentationLevel._visible = false;
instClipTutorialGrafico._visible = false;
instClipTutorialGrafico.state = 0;
instClipTutorialGrafico.instBackgroundTutorial._alpha = 20;
instClipPresentationLevel.gotoAndPlay("vacio");
instClipResultGame._visible = false;
nmSoundEnabled = true;
nmShowWayEnabled = true;
gState = -1;
nmTotalLevelDone = 0;
nmLevelToShow = 0;
nmCurrentDataTime = new Date();
nmRecordStoreName = "careTheMonterAx";
nmTutorialActive = 0;
nmSounds = new Array();
nmNumberTotalOfLevels = 50;
loadGameData();
widthMatrix = 12;
heightMatrix = 12;
blockSize = 40;
xMyCamera = -200;
yMyCamera = -200;
screenWidthDiv2 = Stage.width >> 1;
screenHeightDiv2 = Stage.height >> 1;
iFrontierXLow = screenWidthDiv2 / 2;
iFrontierYLow = screenHeightDiv2 / 2;
iFrontierXHigh = (widthMatrix * blockSize) - iFrontierXLow;
iFrontierYHigh = (heightMatrix * blockSize) - iFrontierYLow;
initAI();
miRocks = new Array();
miFood = new Array();
listObjetivesMouse = new Array();
loadGameSound(0);
loadGameSound(1);
loadGameSound(2);
loadGameSound(3);
loadGameSound(4);
loadGameSound(5);
loadGameSound(6);
stop();
Instance of Symbol 89 MovieClip [world] "world" in Frame 18
on (keyPress "<Space>") {
if (_root.gState == 2) {
}
}
on (press) {
if ((_root.gState == 2) && (_root.gIterator > 10)) {
_root.listObjetivesMouse.push([Math.floor(_xmouse / _root.blockSize), Math.floor(_ymouse / _root.blockSize)]);
}
}
Instance of Symbol 522 MovieClip "instClipTutorialGrafico" in Frame 18
on (press) {
_root.instClipTutorialGrafico.state++;
switch (_root.instClipTutorialGrafico.state) {
case 0 :
break;
case 1 :
gotoAndPlay ("level1PresentacionMonster");
break;
case 2 :
gotoAndPlay ("level1PresentacionDoor");
break;
case 3 :
gotoAndPlay ("level1UseMouseToMove");
break;
case 4 :
var casXTmp = Math.floor(_xmouse / _root.blockSize);
var casYTmp = Math.floor(_ymouse / _root.blockSize);
if ((casXTmp == 9) && (casYTmp == 3)) {
_root.listObjetivesMouse.push([casXTmp, casYTmp]);
gotoAndPlay ("level1UseMouseToMove2");
} else {
_root.instClipTutorialGrafico.state--;
}
break;
case 5 :
_root.instClipTutorialGrafico.state--;
break;
case 6 :
var casXTmp = Math.floor(_xmouse / _root.blockSize);
var casYTmp = Math.floor(_ymouse / _root.blockSize);
if ((casXTmp == 6) && (casYTmp == 7)) {
_root.listObjetivesMouse.push([casXTmp, casYTmp]);
gotoAndPlay ("level1PickUpTheRock2");
} else {
_root.instClipTutorialGrafico.state--;
}
break;
case 7 :
var casXTmp = Math.floor(_xmouse / _root.blockSize);
var casYTmp = Math.floor(_ymouse / _root.blockSize);
if ((casXTmp == 6) && (casYTmp == 4)) {
_root.listObjetivesMouse.push([casXTmp, casYTmp]);
gotoAndPlay ("level1ReleaseTheRock2");
} else {
_root.instClipTutorialGrafico.state--;
}
break;
case 8 :
break;
case 9 :
break;
}
}
Symbol 13 MovieClip [Rectangulo] Frame 1
stop();
Symbol 13 MovieClip [Rectangulo] Frame 2
stop();
Symbol 13 MovieClip [Rectangulo] Frame 3
stop();
Symbol 13 MovieClip [Rectangulo] Frame 4
stop();
Symbol 33 MovieClip Frame 1
stop();
Symbol 33 MovieClip Frame 10
stop();
Symbol 33 MovieClip Frame 20
stop();
Symbol 36 MovieClip [cargador] Frame 1
kabiertos = int(_root.getBytesLoaded() / 1024);
ktotal = int(_root.getBytesTotal() / 1024);
porcentaje = int((kabiertos * 100) / ktotal);
instProgress.instTextMenuEntry.text = ("LOADING " + porcentaje) + " %";
if (kabiertos >= ktotal) {
_root.gotoAndPlay("logo");
}
Instance of Symbol 33 MovieClip "instProgress" in Symbol 36 MovieClip [cargador] Frame 1
on (press) {
switch (_root.nmChorradaLoadingBarColor) {
case 0 :
_root.nmChorradaLoadingBarColor = 1;
this.gotoAndStop("rojo");
break;
case 1 :
_root.nmChorradaLoadingBarColor = 2;
this.gotoAndStop("azul");
break;
default :
_root.nmChorradaLoadingBarColor = 0;
this.gotoAndStop("verde");
}
}
Symbol 523 MovieClip [__Packages.cXml] Frame 0
class cXml
{
function cXml () {
}
static var XML_LEVELS = ["<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,0,1,0,0,1,1,0,0,3,0,0,1,4,1,0,0,1,1,0,0,0,0,0,1,0,1,0,0,1,1,0,0,0,0,0,1,0,1,0,0,1,1,0,0,0,0,2,1,0,1,0,0,1,1,0,0,0,0,0,0,2,1,0,0,1,1,0,0,0,0,2,1,0,1,0,0,1,1,0,0,0,0,0,1,0,1,0,0,1,1,0,0,0,0,0,1,0,1,0,0,1,1,0,0,0,0,0,1,8,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,6,6,6,6,6,6,6,6,6,6,6,6,6,1,1,1,1,1,6,1,6,1,1,6,6,1,1,1,1,1,6,1,6,1,1,6,6,1,1,1,1,1,6,1,6,1,1,6,6,1,1,1,1,1,6,1,6,1,1,6,6,1,1,1,1,1,6,1,6,1,1,6,6,1,1,1,1,1,1,1,6,1,1,6,6,1,1,1,1,1,6,1,6,1,1,6,6,1,1,1,1,1,6,1,6,1,1,6,6,1,1,1,1,1,6,1,6,1,1,6,6,1,1,1,1,1,6,17,6,1,1,6,6,6,6,6,6,6,6,6,6,6,6,6</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,4,1,0,0,0,0,0,0,0,0,1,1,0,1,0,0,0,0,0,0,0,0,1,1,0,1,0,0,0,3,0,0,1,1,1,1,0,1,0,0,0,0,0,0,1,8,1,1,2,0,0,0,0,0,0,0,0,0,1,1,0,1,0,0,0,0,0,0,1,0,1,1,0,1,0,0,0,2,2,0,1,0,1,1,0,1,0,0,0,0,0,0,1,0,1,1,0,1,1,1,1,0,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,7,7,7,7,7,7,7,7,7,7,7,7,7,1,7,1,1,1,1,1,1,1,1,7,7,1,7,1,1,1,1,1,1,1,1,7,7,1,7,1,1,1,1,1,1,7,7,7,7,1,7,1,1,1,1,1,1,7,17,7,7,1,1,1,1,1,1,1,1,1,1,7,7,1,7,1,1,1,1,1,1,7,1,7,7,1,7,1,1,1,1,1,1,7,1,7,7,1,7,1,1,1,1,1,1,7,1,7,7,1,7,7,7,7,1,7,7,7,1,7,7,1,1,1,1,1,1,1,1,1,1,7,7,7,7,7,7,7,7,7,7,7,7,7</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,1,0,0,8,1,1,0,2,0,3,0,0,1,0,0,0,1,1,0,0,0,0,1,0,0,0,0,0,1,1,0,0,0,0,1,0,1,1,1,1,1,1,0,1,1,1,1,0,0,0,0,0,1,1,0,1,0,0,1,0,0,0,0,0,1,1,0,1,4,0,2,0,0,0,0,0,1,1,0,1,0,0,1,0,0,0,0,0,1,1,0,1,1,1,1,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,8,8,8,8,8,8,8,8,8,8,8,8,8,1,1,1,1,1,1,8,1,1,17,8,8,1,1,1,1,1,1,8,1,1,1,8,8,1,1,1,1,8,1,1,1,1,1,8,8,1,1,1,1,8,1,8,8,8,8,8,8,1,8,8,8,8,1,1,1,1,1,8,8,1,8,1,1,8,1,1,1,1,1,8,8,1,8,1,1,1,1,1,1,1,1,8,8,1,8,1,1,8,1,1,1,1,1,8,8,1,8,8,8,8,1,1,1,1,1,8,8,1,1,1,1,1,1,1,1,1,1,8,8,8,8,8,8,8,8,8,8,8,8,8</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,3,0,1,1,1,0,0,0,0,1,1,0,0,2,0,0,0,1,0,0,0,1,1,0,1,0,0,1,0,0,2,0,0,1,1,1,0,0,1,0,1,0,0,1,1,1,1,1,0,2,0,8,0,1,2,0,4,1,1,1,0,0,1,0,1,0,0,1,1,1,1,0,1,0,0,1,0,0,1,0,0,1,1,0,0,1,0,0,0,1,0,0,0,1,1,0,0,0,1,1,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,9,9,9,9,9,9,9,9,9,9,9,9,9,1,1,1,1,1,1,1,1,1,1,9,9,1,1,1,9,9,9,1,1,1,1,9,9,1,1,1,1,1,1,9,1,1,1,9,9,1,9,1,1,9,1,1,1,1,1,9,9,9,1,1,9,1,9,1,1,9,9,9,9,9,1,1,1,17,1,9,1,1,1,9,9,9,1,1,9,1,9,1,1,9,9,9,9,1,9,1,1,9,1,1,9,1,1,9,9,1,1,9,1,1,1,9,1,1,1,9,9,1,1,1,9,9,9,1,1,1,1,9,9,9,9,9,9,9,9,9,9,9,9,9</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,2,0,0,2,0,0,0,4,1,1,3,1,0,0,0,0,1,0,0,0,1,1,1,0,0,1,0,0,0,1,0,0,1,1,0,1,0,0,1,0,0,0,1,2,1,1,0,0,1,0,0,1,0,0,0,0,1,1,0,0,0,1,0,0,2,0,0,0,1,1,0,0,0,0,1,0,0,0,0,0,1,1,0,0,0,0,0,1,0,2,1,2,1,1,0,0,0,0,0,0,1,0,0,0,1,1,0,0,0,0,0,0,1,0,0,8,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,10,10,1,10,1,1,1,1,10,1,1,1,10,10,10,1,1,10,1,1,1,10,1,1,10,10,1,10,1,1,10,1,1,1,10,1,10,10,1,1,10,1,1,10,1,1,1,1,10,10,1,1,1,10,1,1,1,1,1,1,10,10,1,1,1,1,10,1,1,1,1,1,10,10,1,1,1,1,1,10,1,1,10,1,10,10,1,1,1,1,1,1,10,1,1,1,10,10,1,1,1,1,1,1,10,1,1,17,10,10,10,10,10,10,10,10,10,10,10,10,10</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,4,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,2,0,1,1,1,1,1,1,1,0,0,0,1,0,1,1,0,0,5,0,2,0,3,0,1,0,1,1,8,0,0,0,1,0,0,0,1,0,1,1,1,1,1,1,1,0,0,0,1,0,1,1,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,11,11,11,11,11,11,11,11,11,11,11,11,11,1,1,1,1,1,1,1,1,1,1,11,11,11,11,11,11,11,11,11,11,11,1,11,11,1,1,1,1,1,1,1,1,1,1,11,11,11,11,11,11,11,1,1,1,11,1,11,11,1,1,1,1,1,1,1,1,11,1,11,11,17,1,1,1,11,1,1,1,11,1,11,11,11,11,11,11,11,1,1,1,11,1,11,11,1,1,1,1,1,1,1,1,11,1,11,11,11,11,11,11,11,11,11,11,11,1,11,11,1,1,1,1,1,1,1,1,1,1,11,11,11,11,11,11,11,11,11,11,11,11,11</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,8,0,0,1,0,0,1,1,0,0,1,0,0,0,1,0,0,0,1,1,1,0,0,2,1,1,0,0,0,0,1,1,0,2,0,0,0,0,0,0,0,0,1,1,0,0,1,0,0,0,0,1,1,1,1,1,5,0,1,0,0,0,0,0,0,3,1,1,0,2,0,0,0,0,0,1,1,1,1,1,1,0,0,1,1,1,0,0,0,0,1,1,0,0,2,0,0,0,2,0,0,0,1,1,0,1,0,0,4,0,0,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,12,12,12,12,12,12,12,12,12,12,12,12,12,1,12,1,1,17,1,1,12,1,1,12,12,1,1,12,1,1,1,12,1,1,1,12,12,12,1,1,1,12,12,1,1,1,1,12,12,1,1,1,1,1,1,1,1,1,1,12,12,1,1,12,1,1,1,1,12,12,12,12,12,1,1,12,1,1,1,1,1,1,1,12,12,1,1,1,1,1,1,1,12,12,12,12,12,12,1,1,12,12,12,1,1,1,1,12,12,1,1,1,1,1,1,1,1,1,1,12,12,1,12,1,1,1,1,1,12,1,1,12,12,12,12,12,12,12,12,12,12,12,12,12</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,3,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,0,1,1,1,1,0,0,0,6,0,0,0,2,6,8,1,1,0,1,1,1,1,1,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,2,0,0,0,0,0,0,4,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,13,13,13,13,13,13,13,13,13,13,13,13,13,1,1,1,1,1,1,1,1,1,1,13,13,1,1,1,1,1,1,1,1,1,1,13,13,1,1,1,1,1,1,1,1,1,1,13,13,1,13,13,13,13,13,13,1,13,13,13,13,1,1,1,1,1,1,1,1,1,17,13,13,1,13,13,13,13,13,13,1,13,13,13,13,1,1,1,1,1,1,1,1,1,1,13,13,1,1,1,1,1,1,1,1,1,1,13,13,1,13,13,13,13,13,13,13,13,13,13,13,1,1,1,1,1,1,1,1,1,1,13,13,13,13,13,13,13,13,13,13,13,13,13</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,3,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,7,2,7,7,0,0,0,0,0,1,1,0,7,0,0,7,0,0,1,1,1,1,1,0,7,0,0,7,0,0,0,0,0,1,1,0,7,4,0,7,0,0,1,1,0,1,1,0,7,7,7,7,0,0,0,1,5,1,1,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,2,0,0,0,0,0,0,1,1,0,0,1,8,1,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,14,14,14,14,14,14,14,14,14,14,14,14,14,1,1,1,1,1,1,1,1,1,1,14,14,1,1,1,1,1,1,1,1,1,1,14,14,1,16,1,16,16,1,1,1,1,1,14,14,1,16,1,1,16,1,1,14,14,14,14,14,1,16,1,1,16,1,1,1,1,1,14,14,1,16,1,1,16,1,1,14,14,1,14,14,1,16,16,16,16,1,1,1,14,1,14,14,1,1,1,1,1,1,1,1,14,14,14,14,1,1,1,1,1,1,1,1,1,1,14,14,1,1,14,17,14,1,1,1,1,1,14,14,14,14,14,14,14,14,14,14,14,14,14</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,0,1,1,0,1,0,0,4,0,0,1,0,0,1,1,0,0,1,0,0,0,1,0,0,0,1,1,0,0,0,1,0,1,0,0,0,0,1,1,8,6,0,0,2,0,0,0,0,0,1,1,0,0,0,1,0,1,0,0,0,0,1,1,0,0,1,0,0,0,1,0,5,0,1,1,0,1,0,0,3,0,0,1,0,0,1,1,1,0,0,0,0,0,0,0,1,0,1,1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,15,15,15,15,15,15,15,15,15,15,15,15,15,15,1,1,1,1,1,1,1,15,1,15,15,1,15,1,1,1,1,1,15,1,1,15,15,1,1,15,1,1,1,15,1,1,1,15,15,1,1,1,15,1,15,1,1,1,1,15,15,17,1,1,1,1,1,1,1,1,1,15,15,1,1,1,15,1,15,1,1,1,1,15,15,1,1,15,1,1,1,15,1,1,1,15,15,1,15,1,1,1,1,1,15,1,1,15,15,15,1,1,1,1,1,1,1,15,1,15,15,1,1,1,1,1,1,1,1,1,15,15,15,15,15,15,15,15,15,15,15,15,15,15</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,8,1,1,0,0,0,0,0,0,0,0,0,0,1,1,2,2,2,2,0,0,0,3,0,0,1,1,2,2,2,2,0,0,0,0,0,0,1,1,4,0,2,2,0,0,0,0,0,0,1,1,2,2,2,2,0,0,0,0,0,0,1,1,2,2,2,2,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,5,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,6,6,6,6,6,6,6,6,6,6,6,6,6,2,2,2,2,2,2,2,2,2,17,6,6,2,2,2,2,2,2,2,2,2,2,6,6,2,2,2,2,2,2,2,2,2,2,6,6,2,2,2,2,2,2,2,2,2,2,6,6,2,2,2,2,2,2,2,2,2,2,6,6,2,2,2,2,2,2,2,2,2,2,6,6,2,2,2,2,2,2,2,2,2,2,6,6,2,2,2,2,2,2,2,2,2,2,6,6,2,2,2,2,2,2,2,2,2,2,6,6,2,2,2,2,2,2,2,2,2,2,6,6,6,6,6,6,6,6,6,6,6,6,6</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,1,1,1,1,1,0,2,1,0,1,0,0,2,0,0,1,1,0,0,1,0,1,0,0,0,1,0,1,1,0,3,1,8,1,1,1,1,1,4,1,1,0,0,1,6,1,1,1,1,1,0,1,1,0,0,1,0,1,0,0,0,1,0,1,1,0,2,1,0,1,0,0,2,0,0,1,1,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,7,7,7,7,7,7,7,7,7,7,7,7,7,2,2,2,2,2,2,2,2,2,2,7,7,2,2,2,2,2,2,2,7,7,7,7,7,2,2,7,2,7,2,2,2,2,2,7,7,2,2,7,2,7,2,2,2,7,2,7,7,2,2,7,17,7,7,7,7,7,2,7,7,2,2,7,2,7,7,7,7,7,2,7,7,2,2,7,2,7,2,2,2,7,2,7,7,2,2,7,2,7,2,2,2,2,2,7,7,2,2,2,2,2,2,2,7,7,7,7,7,2,2,2,2,2,2,2,2,2,2,7,7,7,7,7,7,7,7,7,7,7,7,7</par>/level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,3,1,0,0,0,1,1,0,0,0,0,1,0,1,0,0,0,1,1,0,0,0,0,0,2,0,0,0,0,1,1,1,1,0,7,7,0,7,0,1,1,1,1,5,0,0,1,0,8,1,0,0,4,1,1,1,1,0,7,7,0,7,0,1,1,1,1,0,0,0,0,0,2,0,0,0,0,1,1,0,0,0,0,1,0,1,0,0,0,1,1,0,0,0,0,1,0,1,0,0,0,1,1,0,0,0,0,1,0,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,8,8,8,8,8,8,8,8,8,8,8,8,8,2,2,2,2,8,2,8,2,2,2,8,8,2,2,2,2,8,2,8,2,2,2,8,8,2,2,2,2,2,2,2,2,2,2,8,8,8,8,2,16,16,2,16,2,8,8,8,8,2,2,2,8,2,17,8,2,2,2,8,8,8,8,2,16,16,2,16,2,8,8,8,8,2,2,2,2,2,2,2,2,2,2,8,8,2,2,2,2,8,2,8,2,2,2,8,8,2,2,2,2,8,2,8,2,2,2,8,8,2,2,2,2,8,2,8,2,2,2,8,8,8,8,8,8,8,8,8,8,8,8,8</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,8,1,0,0,0,0,1,1,1,1,0,1,0,1,0,0,0,0,1,1,5,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,3,0,0,0,2,0,1,1,0,0,0,0,0,0,0,1,0,1,1,1,2,0,0,0,7,0,0,1,0,1,1,1,0,1,1,1,0,1,1,1,0,7,1,1,0,0,2,0,0,0,0,0,0,7,1,1,1,1,0,1,0,1,1,1,0,7,1,1,0,1,4,1,7,0,0,0,7,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,9,9,9,9,9,9,9,9,9,9,9,9,9,2,2,2,9,17,9,2,2,2,2,9,9,9,9,2,9,2,9,2,2,2,2,9,9,2,2,2,2,2,2,2,2,2,2,9,9,9,9,2,2,2,2,2,2,2,2,9,9,2,2,2,2,2,2,2,9,2,9,9,9,2,2,2,2,16,2,2,9,2,9,9,9,2,9,9,9,2,9,9,9,2,16,9,9,2,2,2,2,2,2,2,2,2,16,9,9,9,9,2,9,2,9,9,9,2,16,9,9,2,9,2,9,16,2,2,2,16,2,9,9,9,9,9,9,9,9,9,9,9,9,9</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,3,0,0,0,0,0,0,0,1,1,1,1,0,0,1,1,1,1,1,0,1,1,0,2,0,0,2,6,0,0,1,0,1,1,0,1,0,0,2,0,1,0,1,0,1,1,0,1,0,0,1,0,1,0,1,0,1,1,0,1,0,0,1,0,1,0,1,0,1,1,4,1,0,0,1,5,1,0,1,0,1,1,0,1,0,0,1,0,1,8,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,10,10,10,10,10,10,10,10,10,10,10,10,10,2,2,2,2,2,2,2,2,2,2,10,10,10,10,2,2,10,10,10,10,10,2,10,10,2,2,2,2,2,2,2,2,10,2,10,10,2,10,2,2,2,2,10,2,10,2,10,10,2,10,2,2,10,2,10,2,10,2,10,10,2,10,2,2,10,2,10,2,10,2,10,10,2,10,2,2,10,2,10,2,10,2,10,10,2,10,2,2,10,2,10,17,10,2,10,10,10,10,10,10,10,10,10,10,10,2,10,10,2,2,2,2,2,2,2,2,2,2,10,10,10,10,10,10,10,10,10,10,10,10,10</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,8,1,1,0,0,3,0,0,0,0,0,2,0,1,1,0,0,0,7,0,0,0,0,1,0,1,1,1,1,1,0,1,1,1,0,1,0,1,1,1,0,0,2,0,0,1,0,1,5,1,1,1,0,1,0,1,0,1,0,1,0,1,1,0,2,0,7,0,2,0,0,1,0,1,1,1,0,1,0,1,0,1,0,1,0,1,1,0,0,1,0,1,0,0,2,0,0,1,1,0,4,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,11,11,11,11,11,11,11,11,11,11,11,11,11,2,2,2,2,2,2,2,2,11,17,11,11,2,2,2,2,2,2,2,2,2,2,11,11,2,2,2,16,2,2,2,2,11,2,11,11,11,11,11,2,11,11,11,2,11,2,11,11,11,2,2,2,2,2,11,2,11,2,11,11,11,2,11,2,11,2,11,2,11,2,11,11,2,2,2,16,2,2,2,2,11,2,11,11,11,2,11,2,11,2,11,2,11,2,11,11,2,2,11,2,11,2,2,2,2,2,11,11,2,2,11,2,11,2,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,2,0,0,0,0,0,1,1,0,3,0,1,1,1,0,0,4,0,1,1,0,0,1,0,0,0,1,0,0,0,1,1,0,1,0,0,2,0,0,1,0,0,1,1,0,0,0,1,0,1,0,0,1,0,1,1,0,0,1,0,0,0,1,0,0,1,1,1,0,1,0,0,1,0,0,1,0,0,1,1,1,0,0,1,0,1,0,0,1,0,1,1,0,0,2,0,0,0,2,0,0,1,1,1,0,1,5,0,8,0,0,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,12,12,12,12,12,12,12,12,12,12,12,12,12,2,2,2,2,2,2,2,2,2,2,12,12,2,2,2,12,12,12,2,2,2,2,12,12,2,2,12,2,2,2,12,2,2,2,12,12,2,12,2,2,2,2,2,12,2,2,12,12,2,2,2,12,2,12,2,2,12,2,12,12,2,2,12,2,2,2,12,2,2,12,12,12,2,12,2,2,12,2,2,12,2,2,12,12,12,2,2,12,2,12,2,2,12,2,12,12,2,2,2,2,2,2,2,2,2,12,12,12,2,12,2,2,17,2,2,12,2,2,12,12,12,12,12,12,12,12,12,12,12,12,12</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,0,1,1,0,1,0,0,4,0,0,1,1,0,1,1,0,1,1,0,0,0,1,0,1,0,1,1,0,1,0,1,0,1,0,0,1,0,1,1,0,1,2,0,2,0,0,0,1,0,1,1,0,1,0,1,0,1,0,0,1,0,1,1,0,1,1,0,3,0,1,0,1,0,1,1,1,1,0,0,6,0,0,1,1,1,1,1,0,0,1,0,5,0,1,0,0,0,1,1,0,0,0,1,8,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,13,13,13,13,13,13,13,13,13,13,13,13,13,13,2,2,2,2,2,2,2,13,2,13,13,2,13,2,2,2,2,2,13,13,2,13,13,2,13,13,2,2,2,13,2,13,2,13,13,2,13,2,13,2,13,2,2,13,2,13,13,2,13,2,2,2,2,2,2,13,2,13,13,2,13,2,13,2,13,2,2,13,2,13,13,2,13,13,2,2,2,13,2,13,2,13,13,13,13,2,2,2,2,2,13,13,13,13,13,2,2,13,2,2,2,13,2,2,2,13,13,2,2,2,13,17,13,2,2,2,2,13,13,13,13,13,13,13,13,13,13,13,13,13</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,2,0,3,0,0,0,1,1,0,1,0,1,0,1,0,1,1,0,1,1,0,1,0,1,0,1,0,1,1,0,1,1,0,1,0,1,0,1,0,1,1,0,1,1,0,1,0,1,0,1,0,1,1,0,1,1,0,1,0,1,5,1,0,1,1,0,1,1,0,1,0,1,0,1,0,1,1,0,1,1,0,1,0,1,0,1,0,1,1,0,1,1,0,1,0,1,0,1,0,1,1,0,1,1,4,0,0,1,8,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,14,14,14,14,14,14,14,14,14,14,14,14,14,2,2,2,2,2,2,2,2,2,2,14,14,2,14,2,14,2,14,2,14,14,2,14,14,2,14,2,14,2,14,2,14,14,2,14,14,2,14,2,14,2,14,2,14,14,2,14,14,2,14,2,14,2,14,2,14,14,2,14,14,2,14,2,14,2,14,2,14,14,2,14,14,2,14,2,14,2,14,2,14,14,2,14,14,2,14,2,14,2,14,2,14,14,2,14,14,2,14,2,14,2,14,2,14,14,2,14,14,2,2,2,14,17,14,2,2,2,2,14,14,14,14,14,14,14,14,14,14,14,14,14</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,3,0,0,0,0,0,0,5,0,1,1,0,0,0,1,2,1,0,0,0,0,1,1,0,0,1,0,0,0,1,0,0,0,1,1,0,1,0,0,2,0,0,1,0,0,1,1,0,2,0,1,4,1,0,2,0,0,1,1,0,1,0,0,2,0,0,1,0,0,1,1,0,0,1,0,0,0,1,0,0,0,1,1,0,0,0,1,2,1,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,8,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,15,15,15,15,15,15,15,15,15,15,15,15,15,2,2,2,2,2,2,2,2,2,2,15,15,2,2,2,2,2,2,2,2,2,2,15,15,2,2,2,15,2,15,2,2,2,2,15,15,2,2,15,2,2,2,15,2,2,2,15,15,2,15,2,2,2,2,2,15,2,2,15,15,2,2,2,15,2,15,2,2,2,2,15,15,2,15,2,2,2,2,2,15,2,2,15,15,2,2,15,2,2,2,15,2,2,2,15,15,2,2,2,15,2,15,2,2,2,2,15,15,2,2,2,2,2,2,2,2,2,17,15,15,15,15,15,15,15,15,15,15,15,15,15</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,2,0,0,0,0,2,0,0,1,1,0,1,0,1,0,0,1,0,1,0,1,1,0,1,3,1,0,0,1,4,1,0,1,1,0,1,1,1,0,0,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,2,0,0,0,0,2,0,0,1,1,0,1,5,1,0,0,1,0,1,0,1,1,0,1,8,1,0,0,1,0,1,0,1,1,0,1,1,1,0,0,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,6,6,6,6,6,6,6,6,6,6,6,6,6,3,3,3,3,3,3,3,3,3,3,6,6,3,6,3,6,3,3,6,3,6,3,6,6,3,6,3,6,3,3,6,3,6,3,6,6,3,6,6,6,3,3,6,6,6,3,6,6,3,3,3,3,3,3,3,3,3,3,6,6,3,3,3,3,3,3,3,3,3,3,6,6,3,6,3,6,3,3,6,3,6,3,6,6,3,6,17,6,3,3,6,3,6,3,6,6,3,6,6,6,3,3,6,6,6,3,6,6,3,3,3,3,3,3,3,3,3,3,6,6,6,6,6,6,6,6,6,6,6,6,6</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,4,0,0,0,0,0,1,1,2,1,1,1,1,1,1,1,1,2,1,1,0,0,1,5,8,0,0,1,0,0,1,1,0,0,0,1,0,0,1,0,0,0,1,1,0,0,0,1,0,1,0,0,0,0,1,1,0,3,0,1,0,1,0,0,0,0,1,1,0,0,0,1,0,1,0,0,0,0,1,1,0,0,0,1,2,1,0,0,0,0,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,7,7,7,7,7,7,7,7,7,7,7,7,7,3,3,3,3,3,3,3,3,3,3,7,7,3,7,7,7,7,7,7,7,7,3,7,7,3,3,7,3,17,3,3,7,3,3,7,7,3,3,3,7,3,3,7,3,3,3,7,7,3,3,3,7,3,7,3,3,3,3,7,7,3,3,3,7,3,7,3,3,3,3,7,7,3,3,3,7,3,7,3,3,3,3,7,7,3,3,3,7,3,7,3,3,3,3,7,7,7,7,3,3,3,3,3,7,7,7,7,7,3,3,3,3,3,3,3,3,3,3,7,7,7,7,7,7,7,7,7,7,7,7,7</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,0,0,0,0,1,1,0,0,0,0,0,1,0,0,4,0,1,1,0,0,3,0,0,1,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,1,1,0,0,0,0,0,2,0,0,0,0,1,1,1,1,1,1,2,2,1,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1,0,0,5,0,0,1,1,1,1,1,1,1,8,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,8,8,8,8,8,8,8,8,8,8,8,8,8,3,3,3,3,3,8,3,3,3,3,8,8,3,3,3,3,3,8,3,3,3,3,8,8,3,3,3,3,3,8,3,3,3,3,8,8,3,3,3,3,3,8,3,3,3,3,8,8,3,3,3,3,3,3,3,3,3,3,8,8,8,8,8,8,3,3,8,8,8,8,8,8,3,3,3,3,3,8,8,8,8,8,8,8,3,3,3,3,3,8,8,8,8,8,8,8,3,3,3,3,3,8,8,8,8,8,8,8,17,3,3,3,3,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,1,1,1,2,0,0,0,1,1,0,0,0,1,8,1,0,1,1,1,1,1,0,0,0,1,6,1,0,0,0,5,1,1,0,0,0,1,0,1,0,1,1,1,1,1,0,3,0,0,6,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,1,1,0,0,0,0,2,0,0,0,0,0,1,1,0,0,0,1,0,1,0,0,0,0,1,1,0,0,0,1,4,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,9,9,9,9,9,9,9,9,9,9,9,9,9,3,3,3,3,3,3,3,3,3,3,9,9,3,3,3,9,9,9,3,3,3,3,9,9,3,3,3,9,17,9,3,9,9,9,9,9,3,3,3,9,3,9,3,3,3,3,9,9,3,3,3,9,3,9,3,9,9,9,9,9,3,3,3,3,3,3,3,3,3,3,9,9,3,3,3,3,3,9,3,3,3,3,9,9,3,3,3,3,3,3,3,3,3,3,9,9,3,3,3,9,3,9,3,3,3,3,9,9,3,3,3,9,3,9,3,3,3,3,9,9,9,9,9,9,9,9,9,9,9,9,9</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,8,0,1,1,0,0,0,0,0,0,1,1,1,0,0,1,1,1,1,1,1,0,1,1,0,2,0,5,0,2,0,0,0,0,1,1,0,1,1,0,0,1,1,1,1,0,1,1,0,0,1,1,2,0,0,1,0,0,1,1,7,7,7,7,7,7,0,7,7,7,1,1,0,1,1,1,1,1,0,1,0,0,1,1,0,1,0,0,0,0,0,1,0,0,1,1,3,1,0,1,1,1,1,1,0,0,1,1,0,1,4,1,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,10,10,10,10,10,10,10,10,10,10,10,10,10,17,3,10,10,3,3,3,3,3,3,10,10,10,3,3,10,10,10,10,10,10,3,10,10,3,3,3,3,3,3,3,3,3,3,10,10,3,10,10,3,3,10,10,10,10,3,10,10,3,3,10,10,3,3,3,10,3,3,10,10,16,16,16,16,16,16,3,16,16,16,10,10,3,10,10,10,10,10,3,10,3,3,10,10,3,10,3,3,3,3,3,10,3,3,10,10,3,10,3,10,10,10,10,10,3,3,10,10,3,10,3,10,3,3,3,3,3,3,10,10,10,10,10,10,10,10,10,10,10,10,10</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,3,0,0,0,0,0,0,0,1,1,0,1,0,1,0,0,1,0,1,0,1,1,0,0,6,0,0,0,0,0,0,0,1,1,0,1,0,1,0,0,1,0,1,5,1,1,2,0,0,0,0,8,0,0,0,2,1,1,0,1,0,1,0,0,1,0,1,0,1,1,0,0,0,0,0,0,0,6,0,0,1,1,0,1,0,1,0,0,1,0,1,0,1,1,0,0,0,0,0,2,0,0,0,0,1,1,0,0,0,0,1,4,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,11,11,11,11,11,11,11,11,11,11,11,11,11,3,3,3,3,3,3,3,3,3,3,11,11,3,11,3,11,3,3,11,3,11,3,11,11,3,3,3,3,3,3,3,3,3,3,11,11,3,11,3,11,3,3,11,3,11,3,11,11,3,3,3,3,3,17,3,3,3,3,11,11,3,11,3,11,3,3,11,3,11,3,11,11,3,3,3,3,3,3,3,3,3,3,11,11,3,11,3,11,3,3,11,3,11,3,11,11,3,3,3,3,3,3,3,3,3,3,11,11,3,3,3,3,11,3,11,3,3,3,11,11,11,11,11,11,11,11,11,11,11,11,11</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,0,1,1,0,0,1,1,1,1,1,0,0,1,1,1,0,1,0,0,0,0,5,1,0,1,1,1,0,1,0,1,1,0,0,1,0,1,1,1,3,1,2,0,8,1,0,2,0,1,1,1,0,1,0,1,1,0,0,1,0,1,1,1,0,1,0,0,0,0,0,1,0,1,1,1,0,1,1,1,1,1,1,0,0,1,1,1,0,0,0,0,0,0,0,0,2,0,1,1,1,1,1,1,1,1,1,1,0,4,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,12,12,12,12,12,12,12,12,12,12,12,12,12,3,3,3,3,3,3,3,3,12,3,12,12,3,3,12,12,12,12,12,3,3,12,12,12,3,12,3,3,3,3,3,12,3,12,12,12,3,12,3,12,12,3,3,12,3,12,12,12,3,12,3,3,17,12,3,3,3,12,12,12,3,12,3,12,12,3,3,12,3,12,12,12,3,12,3,3,3,3,3,12,3,12,12,12,3,12,12,12,12,12,12,3,3,12,12,12,3,3,3,3,3,3,3,3,3,3,12,12,12,12,12,12,12,12,12,12,3,3,12,12,12,12,12,12,12,12,12,12,12,12,12</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,1,0,1,0,1,0,1,0,1,1,0,2,0,0,0,0,0,0,0,0,1,1,0,1,0,1,0,1,0,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,0,1,0,1,0,1,0,1,1,0,0,0,0,0,3,0,0,0,0,1,1,2,1,0,1,0,1,0,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,0,1,0,1,0,1,0,1,1,0,0,0,0,5,0,0,0,0,8,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,13,13,13,13,13,13,13,13,13,13,13,13,13,13,3,13,3,13,3,13,3,13,3,13,13,3,3,3,3,3,3,3,3,3,3,13,13,3,13,3,13,3,13,3,13,3,13,13,13,3,3,3,3,3,3,3,3,3,3,13,13,13,3,13,3,13,3,13,3,13,3,13,13,3,3,3,3,3,3,3,3,3,3,13,13,3,13,3,13,3,13,3,13,3,13,13,13,3,3,3,3,3,3,3,3,3,3,13,13,13,3,13,3,13,3,13,3,13,3,13,13,3,3,3,3,3,3,3,3,3,17,13,13,13,13,13,13,13,13,13,13,13,13,13</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,3,0,0,0,0,0,1,1,0,1,1,1,0,0,1,1,1,0,1,1,1,0,0,0,2,2,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,0,0,5,0,0,8,0,0,1,1,1,0,1,0,0,0,0,0,0,1,0,1,1,0,0,1,1,0,0,1,1,0,0,1,1,0,0,0,0,2,2,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,4,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,14,14,14,14,14,14,14,14,14,14,14,14,14,3,3,3,3,3,3,3,3,3,3,14,14,3,14,14,14,3,3,14,14,14,3,14,14,14,3,3,3,3,3,3,3,3,14,14,14,14,3,3,3,3,3,3,3,3,14,14,14,14,3,3,3,3,3,17,3,3,14,14,14,3,14,3,3,3,3,3,3,14,3,14,14,3,3,14,14,3,3,14,14,3,3,14,14,3,3,3,3,3,3,3,3,3,3,14,14,3,3,3,3,3,3,3,3,3,3,14,14,3,3,3,3,3,3,3,3,3,3,14,14,14,14,14,14,14,14,14,14,14,14,14</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,0,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,1,0,3,0,1,1,0,0,8,1,1,1,1,0,0,0,2,2,0,0,0,1,1,1,1,0,0,1,0,0,1,0,0,1,1,1,1,0,1,0,0,0,0,1,5,1,1,1,0,1,0,0,0,0,0,0,1,0,1,1,0,0,1,0,0,0,0,1,0,0,1,1,0,0,0,1,2,1,1,0,0,0,1,1,0,0,0,0,0,0,0,0,0,4,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,15,15,15,15,15,15,15,15,15,15,15,15,15,3,3,15,15,15,15,15,15,3,3,15,15,3,15,3,3,15,15,3,3,15,3,15,15,15,3,3,3,15,15,3,3,17,15,15,15,15,3,3,3,3,3,3,3,3,15,15,15,15,3,3,15,3,3,15,3,3,15,15,15,15,3,15,3,3,3,3,15,3,15,15,15,3,15,3,3,3,3,3,3,15,3,15,15,3,3,15,3,3,3,3,15,3,3,15,15,3,3,3,15,3,15,15,3,3,3,15,15,3,3,3,3,3,3,3,3,3,3,15,15,15,15,15,15,15,15,15,15,15,15,15</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,0,0,1,0,0,0,1,1,1,0,0,0,0,0,2,0,0,0,0,1,1,1,0,1,1,1,0,1,1,1,0,1,1,0,0,0,1,0,0,0,1,0,0,1,1,0,3,0,0,0,8,0,2,0,4,1,1,0,0,0,1,0,0,0,1,0,0,1,1,1,0,1,1,1,5,1,1,1,0,1,1,0,0,0,0,0,2,0,0,0,0,1,1,0,1,0,0,0,1,0,0,0,1,1,1,1,1,1,0,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,6,6,6,6,6,6,6,6,6,6,6,6,6,4,6,4,4,4,6,4,4,4,6,6,6,4,4,4,4,4,4,4,4,4,4,6,6,6,4,6,6,6,4,6,6,6,4,6,6,4,4,4,6,4,4,4,6,4,4,6,6,4,4,4,4,4,17,4,4,4,4,6,6,4,4,4,6,4,4,4,6,4,4,6,6,6,4,6,6,6,4,6,6,6,4,6,6,4,4,4,4,4,4,4,4,4,4,6,6,4,6,4,4,4,6,4,4,4,6,6,6,6,6,6,4,6,6,6,4,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,6,6,8,1,1,0,0,1,1,0,0,0,1,1,0,1,1,0,1,0,0,1,2,1,0,0,1,1,1,0,1,0,0,1,0,1,0,0,1,1,1,3,0,1,1,0,0,0,1,1,0,1,1,0,0,2,0,0,4,0,0,0,0,1,1,0,0,1,1,0,0,0,1,1,0,1,1,5,1,0,0,1,0,1,0,0,1,1,1,0,1,0,0,1,0,1,0,0,1,1,1,0,0,1,1,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,7,7,7,7,7,7,7,7,7,7,7,7,7,4,4,4,4,4,4,4,4,4,17,7,7,4,4,7,7,4,4,4,7,7,4,7,7,4,7,4,4,7,4,7,4,4,7,7,7,4,7,4,4,7,4,7,4,4,7,7,7,4,4,7,7,4,4,4,7,7,4,7,7,4,4,4,4,4,4,4,4,4,4,7,7,4,4,7,7,4,4,4,7,7,4,7,7,4,7,4,4,7,4,7,4,4,7,7,7,4,7,4,4,7,4,7,4,4,7,7,7,4,4,7,7,4,4,4,7,7,4,7,7,7,7,7,7,7,7,7,7,7,7,7</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,4,0,1,0,0,1,0,0,1,0,1,1,0,2,0,0,1,0,0,1,0,0,1,1,1,0,0,0,0,0,1,0,0,1,1,1,0,0,1,0,3,0,0,0,1,0,1,1,6,1,0,0,1,0,0,0,0,0,1,1,1,0,0,1,0,0,1,0,0,0,1,1,0,0,1,0,5,1,0,0,1,0,1,1,1,1,0,0,1,0,0,1,0,0,1,1,0,0,0,1,0,0,1,0,0,0,1,1,0,0,1,0,0,1,0,0,0,8,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,8,8,8,8,8,8,8,8,8,8,8,8,8,4,4,8,4,4,8,4,4,8,4,8,8,4,4,4,4,8,4,4,8,4,4,8,8,8,4,4,4,4,4,8,4,4,8,8,8,4,4,8,4,4,4,4,4,8,4,8,8,4,8,4,4,8,4,4,4,4,4,8,8,8,4,4,8,4,4,8,4,4,4,8,8,4,4,8,4,4,8,4,4,8,4,8,8,8,8,4,4,8,4,4,8,4,4,8,8,4,4,4,8,4,4,8,4,4,4,8,8,4,4,8,4,4,8,4,4,4,17,8,8,8,8,8,8,8,8,8,8,8,8,8</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,2,0,0,0,0,4,1,1,0,1,1,1,0,1,1,1,1,0,1,1,0,1,1,1,0,1,1,1,1,0,1,1,0,1,1,1,0,1,1,1,1,0,1,1,8,0,0,0,3,0,0,5,0,2,1,1,0,1,1,1,0,1,1,1,1,0,1,1,0,1,1,1,0,1,1,1,1,0,1,1,0,1,1,1,0,1,1,1,1,0,1,1,0,1,1,1,0,1,1,1,1,0,1,1,0,0,0,0,2,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,9,9,9,9,9,9,9,9,9,9,9,9,9,4,4,4,4,4,4,4,4,4,4,9,9,4,9,9,9,4,9,9,9,9,4,9,9,4,9,9,9,4,9,9,9,9,4,9,9,4,9,9,9,4,9,9,9,9,4,9,9,17,4,4,4,4,4,4,4,4,4,9,9,4,9,9,9,4,9,9,9,9,4,9,9,4,9,9,9,4,9,9,9,9,4,9,9,4,9,9,9,4,9,9,9,9,4,9,9,4,9,9,9,4,9,9,9,9,4,9,9,4,4,4,4,4,4,4,4,4,4,9,9,9,9,9,9,9,9,9,9,9,9,9</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,5,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,2,1,0,1,1,0,1,1,4,2,0,0,2,0,2,0,6,8,1,1,1,0,1,1,2,1,0,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,3,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,10,10,10,10,10,10,10,10,10,10,10,10,10,4,4,4,4,4,4,4,4,4,4,10,10,4,4,4,4,4,4,4,4,4,4,10,10,4,4,4,4,4,4,4,4,4,4,10,10,10,4,10,10,4,10,4,10,10,4,10,10,4,4,4,4,4,4,4,4,4,17,10,10,10,4,10,10,4,10,4,10,10,4,10,10,4,4,4,4,4,4,4,4,4,4,10,10,4,4,4,4,4,4,4,4,4,4,10,10,4,4,4,4,4,4,4,4,4,4,10,10,4,4,4,4,4,4,4,4,4,4,10,10,10,10,10,10,10,10,10,10,10,10,10</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,0,0,0,1,1,1,0,1,1,1,1,1,0,3,0,0,1,0,0,1,1,0,0,0,0,0,0,2,0,0,0,1,1,0,0,1,0,0,1,1,0,0,0,1,1,0,0,1,0,1,1,0,0,0,0,1,1,0,0,1,0,0,0,0,1,1,5,1,1,0,0,1,6,0,0,2,0,1,1,1,1,0,0,0,0,1,1,0,0,0,0,1,1,8,0,0,0,1,1,0,0,4,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,11,11,11,11,11,11,11,11,11,11,11,11,11,4,4,4,4,4,4,4,4,4,4,11,11,4,4,11,4,4,4,11,11,11,4,11,11,11,11,11,4,4,4,4,11,4,4,11,11,4,4,4,4,4,4,4,4,4,4,11,11,4,4,11,4,4,11,11,4,4,4,11,11,4,4,11,4,11,11,4,4,4,4,11,11,4,4,11,4,4,4,4,11,11,4,11,11,4,4,11,4,4,4,4,4,11,11,11,11,4,4,4,4,11,11,4,4,4,4,11,11,17,4,4,4,11,11,4,4,4,4,11,11,11,11,11,11,11,11,11,11,11,11,11</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,6,0,0,0,0,1,1,0,1,0,1,1,2,1,0,1,0,1,1,1,0,0,1,0,0,1,0,0,1,1,1,0,0,3,1,0,0,1,0,0,0,1,1,0,1,0,1,5,0,1,0,1,8,1,1,1,0,0,1,0,0,1,0,0,1,1,1,0,0,0,1,0,0,1,0,0,0,1,1,0,1,1,1,0,0,1,1,1,0,1,1,0,1,0,0,0,2,0,4,1,0,1,1,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,12,12,12,12,12,12,12,12,12,12,12,12,12,4,4,4,4,4,4,4,4,4,4,12,12,4,12,4,12,12,4,12,4,12,4,12,12,12,4,4,12,4,4,12,4,4,12,12,12,4,4,4,12,4,4,12,4,4,4,12,12,4,12,4,12,4,4,12,4,12,17,12,12,12,4,4,12,4,4,12,4,4,12,12,12,4,4,4,12,4,4,12,4,4,4,12,12,4,12,12,12,4,4,12,12,12,4,12,12,4,12,4,4,4,4,4,4,12,4,12,12,4,12,12,12,12,12,12,12,12,4,12,12,12,12,12,12,12,12,12,12,12,12,12</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,1,1,1,0,1,1,1,0,0,4,1,1,0,0,0,1,1,1,1,0,0,0,1,1,0,8,5,1,1,1,1,0,2,0,1,1,0,2,0,1,1,1,0,1,2,1,0,0,1,2,1,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,1,2,1,1,0,0,0,1,1,0,3,0,1,0,0,1,0,0,0,1,1,0,0,0,0,1,1,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,13,13,13,13,13,13,13,13,13,13,13,13,13,4,13,13,13,4,4,13,13,13,4,13,13,13,4,4,4,13,13,4,4,4,13,13,13,13,4,4,4,13,13,4,17,4,13,13,13,13,4,4,4,13,13,4,4,4,13,13,13,4,13,4,13,4,4,13,4,13,4,13,13,4,4,4,4,4,4,4,4,4,4,13,13,4,4,4,13,4,13,13,4,4,4,13,13,4,4,4,13,4,4,13,4,4,4,13,13,4,4,4,4,13,13,4,4,4,4,13,13,4,4,4,4,4,4,4,4,4,4,13,13,13,13,13,13,13,13,13,13,13,13,13</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,7,0,7,1,1,0,0,1,1,1,0,0,1,0,1,0,0,1,0,1,1,1,0,0,0,5,1,0,0,1,4,1,1,1,0,1,1,0,1,0,0,1,0,1,1,1,0,8,1,0,1,0,0,1,0,1,1,0,1,1,0,3,2,1,1,0,0,1,1,7,0,0,0,0,2,0,0,0,0,1,1,1,0,1,0,0,1,0,0,1,0,1,1,1,1,0,0,0,1,0,0,1,0,1,1,1,0,1,0,7,1,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,14,14,14,14,14,14,14,14,14,14,14,14,14,4,14,14,16,4,16,14,14,4,4,14,14,14,4,4,14,4,14,4,4,14,4,14,14,14,4,4,4,4,14,4,4,14,4,14,14,14,4,14,14,4,14,4,4,14,4,14,14,14,4,17,14,4,14,4,4,14,4,14,14,4,14,14,4,4,4,14,14,4,4,14,14,16,4,4,4,4,4,4,4,4,4,14,14,14,4,14,4,4,14,4,4,14,4,14,14,14,14,4,4,4,14,4,4,14,4,14,14,14,4,14,4,16,14,4,4,14,4,14,14,14,14,14,14,14,14,14,14,14,14,14</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,6,0,1,0,0,0,0,0,0,8,1,1,0,0,1,0,1,0,0,0,0,0,1,1,0,1,1,0,1,3,0,0,0,0,1,1,2,0,0,0,1,0,0,5,0,0,1,1,0,1,1,1,1,2,0,0,0,0,1,1,0,0,0,0,0,0,1,1,1,0,1,1,0,0,0,0,0,0,1,0,0,0,1,1,0,0,4,0,0,0,1,0,1,1,1,1,0,0,0,0,0,0,1,0,1,0,1,1,0,0,0,0,0,0,0,2,0,6,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,15,15,15,15,15,15,15,15,15,15,15,15,15,4,4,15,4,4,4,4,4,4,17,15,15,4,4,15,4,15,4,4,4,4,4,15,15,4,15,15,4,15,4,4,4,4,4,15,15,4,4,4,4,15,4,4,4,4,4,15,15,4,15,15,15,15,4,4,4,4,4,15,15,4,4,4,4,4,4,15,15,15,4,15,15,4,4,4,4,4,4,15,4,4,4,15,15,4,4,4,4,4,4,15,4,15,15,15,15,4,4,4,4,4,4,15,4,15,4,15,15,4,4,4,4,4,4,4,4,4,4,15,15,15,15,15,15,15,15,15,15,15,15,15</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,1,1,1,0,1,1,1,0,8,0,1,1,0,0,0,1,1,1,1,0,0,5,2,2,0,0,0,1,1,1,0,1,1,1,0,0,1,1,1,0,1,1,0,0,0,1,0,3,1,0,0,0,1,1,0,1,1,1,0,0,1,1,1,1,1,1,1,0,0,0,2,2,0,0,4,1,1,1,1,0,0,1,0,0,1,0,0,1,1,1,0,1,1,0,0,0,0,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,6,6,6,6,6,6,6,6,6,6,6,6,6,5,6,6,6,5,5,6,6,6,5,6,6,6,5,17,5,6,6,5,5,5,6,6,6,6,5,5,5,5,5,5,5,5,6,6,6,5,6,6,6,5,5,6,6,6,5,6,6,5,5,5,6,5,5,6,5,5,5,6,6,5,6,6,6,5,5,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,6,6,6,6,5,5,6,5,5,6,5,5,6,6,6,5,6,6,5,5,5,5,6,6,5,6,6,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,1,1,0,0,6,1,1,0,0,0,1,4,0,0,1,0,0,1,1,0,0,0,1,0,0,0,2,0,0,1,1,0,0,0,0,1,0,1,2,0,0,1,1,7,7,7,7,7,2,7,7,1,2,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,3,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,5,0,0,0,0,0,1,1,0,0,0,0,8,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,7,7,7,7,7,7,7,7,7,7,7,7,7,5,5,5,5,7,7,7,5,5,5,7,7,5,5,5,7,5,5,5,7,5,5,7,7,5,5,5,7,5,5,5,5,5,5,7,7,5,5,5,5,7,5,7,5,5,5,7,7,16,16,16,16,16,5,16,16,7,5,7,7,5,5,5,5,5,5,5,5,5,5,7,7,5,5,5,5,5,5,5,5,5,5,7,7,5,5,5,5,5,5,5,5,5,5,7,7,5,5,5,5,5,5,5,5,5,5,7,7,5,5,5,5,17,5,5,5,5,5,7,7,7,7,7,7,7,7,7,7,7,7,7</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,1,0,0,4,1,1,1,1,1,0,1,0,0,0,1,0,1,1,0,1,0,0,1,2,2,2,0,1,1,1,0,0,0,1,0,0,1,0,0,1,1,1,1,1,1,0,3,0,0,7,1,0,1,1,7,0,0,0,1,5,0,1,0,0,1,1,7,0,0,1,0,1,0,0,1,7,1,1,0,1,0,1,0,1,0,1,0,0,1,1,0,1,2,1,1,0,1,0,0,1,1,1,0,0,0,0,0,0,0,8,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,8,8,8,8,8,8,8,8,8,8,8,8,8,5,8,5,8,5,5,8,5,5,5,8,8,8,8,8,5,8,5,5,5,8,5,8,8,5,8,5,5,8,5,5,5,5,8,8,8,5,5,5,8,5,5,8,5,5,8,8,8,8,8,8,5,5,5,5,16,8,5,8,8,16,5,5,5,8,5,5,8,5,5,8,8,16,5,5,8,5,8,5,5,8,16,8,8,5,8,5,8,5,8,5,8,5,5,8,8,5,8,5,8,8,5,8,5,5,8,8,8,5,5,5,5,5,5,5,17,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,4,1,0,0,0,0,0,1,1,0,0,0,2,0,0,0,0,0,0,1,1,7,0,7,0,7,0,7,0,7,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,7,0,7,2,7,0,7,0,7,1,1,0,0,0,2,6,2,0,0,0,0,1,1,7,0,7,0,2,0,7,0,7,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,5,0,0,0,3,0,0,0,1,1,0,0,0,0,0,0,0,0,0,8,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,9,9,9,9,9,9,9,9,9,9,9,9,9,5,5,9,5,9,5,5,5,5,5,9,9,5,5,5,5,5,5,5,5,5,5,9,9,16,5,16,5,16,5,16,5,16,5,9,9,5,5,5,5,5,5,5,5,5,5,9,9,5,16,5,16,5,16,5,16,5,16,9,9,5,5,5,5,5,5,5,5,5,5,9,9,16,5,16,5,5,5,16,5,16,5,9,9,5,5,5,5,5,5,5,5,5,5,9,9,5,5,5,5,5,5,5,5,5,5,9,9,5,5,5,5,5,5,5,5,5,17,9,9,9,9,9,9,9,9,9,9,9,9,9</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,0,0,1,1,1,0,4,0,0,0,1,0,0,0,0,1,1,0,1,0,1,0,0,0,1,0,1,1,1,1,0,2,0,1,0,1,0,2,0,1,1,0,0,1,0,0,2,0,0,1,7,1,1,7,1,0,1,0,3,0,1,0,1,1,1,1,0,0,0,1,0,1,0,0,0,1,1,0,0,1,0,0,2,0,0,1,7,1,1,7,1,0,1,5,0,0,1,0,1,1,1,1,0,0,0,1,8,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,10,10,10,10,10,10,10,10,10,10,10,10,10,10,5,5,5,10,10,10,5,5,10,10,10,5,5,5,5,5,10,5,5,5,5,10,10,5,10,5,10,5,5,5,10,5,10,10,10,10,5,5,5,10,5,10,5,5,5,10,10,5,5,10,5,5,5,5,5,10,16,10,10,16,10,5,10,5,5,5,10,5,10,10,10,10,5,5,5,10,5,10,5,5,5,10,10,5,5,10,5,5,5,5,5,10,16,10,10,16,10,5,10,5,5,5,10,5,10,10,10,10,5,5,5,10,17,10,5,5,5,10,10,10,10,10,10,10,10,10,10,10,10,10</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,7,7,7,7,7,8,7,7,7,7,1,1,5,0,0,0,0,3,0,0,0,0,1,1,7,7,7,7,7,0,7,7,7,7,1,1,0,0,0,0,7,2,7,0,0,0,1,1,0,0,0,0,7,0,7,0,0,0,1,1,0,0,0,0,7,0,7,0,0,0,1,1,0,0,0,0,7,0,7,0,0,0,1,1,7,7,7,7,7,0,7,7,7,7,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,4,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,11,11,11,11,11,11,11,11,11,11,11,11,11,16,16,16,16,16,17,16,16,16,16,11,11,5,5,5,5,5,5,5,5,5,5,11,11,16,16,16,16,16,5,16,16,16,16,11,11,5,5,5,5,16,5,16,5,5,5,11,11,5,5,5,5,16,5,16,5,5,5,11,11,5,5,5,5,16,5,16,5,5,5,11,11,5,5,5,5,16,5,16,5,5,5,11,11,16,16,16,16,16,5,16,16,16,16,11,11,5,5,5,5,5,5,5,5,5,5,11,11,5,5,5,5,5,5,5,5,5,5,11,11,11,11,11,11,11,11,11,11,11,11,11</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,7,1,1,1,1,1,1,4,0,1,0,0,0,1,0,0,1,1,1,0,0,1,0,3,0,1,0,0,1,1,1,0,0,1,0,0,0,1,1,1,1,1,1,0,0,2,0,0,0,0,0,0,0,1,1,1,1,2,1,1,0,1,1,1,7,1,1,1,0,0,0,1,0,1,0,5,1,1,1,1,1,1,1,1,0,2,0,8,1,1,1,1,0,0,0,1,0,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,12,12,12,12,12,12,12,12,12,12,12,12,12,5,5,5,5,5,5,5,5,5,5,12,12,12,12,12,12,12,16,12,12,12,12,12,12,5,5,12,5,5,5,12,5,5,12,12,12,5,5,12,5,5,5,12,5,5,12,12,12,5,5,12,5,5,5,12,12,12,12,12,12,5,5,5,5,5,5,5,5,5,5,12,12,12,12,5,12,12,5,12,12,12,16,12,12,12,5,5,5,12,5,12,5,5,12,12,12,12,12,12,12,12,5,5,5,17,12,12,12,12,5,5,5,12,5,12,12,12,5,12,12,12,12,12,12,12,12,12,12,12,12,12</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,8,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,1,1,2,1,2,1,1,1,1,0,0,0,1,0,0,1,4,1,1,1,1,1,1,0,1,1,0,1,0,1,1,1,0,0,1,3,1,0,0,1,0,1,1,1,0,0,1,0,1,0,0,1,0,1,1,1,1,1,1,0,1,0,0,1,2,1,1,1,5,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,6,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,13,13,13,13,13,13,13,13,13,13,13,13,13,17,5,5,5,5,5,5,5,5,5,13,13,13,13,13,5,13,13,5,13,5,13,13,13,13,5,5,5,13,5,5,13,5,13,13,13,13,13,13,5,13,13,5,13,5,13,13,13,5,5,13,5,13,5,5,13,5,13,13,13,5,5,13,5,13,5,5,13,5,13,13,13,13,13,13,5,13,5,5,13,5,13,13,13,5,5,5,5,5,5,5,5,5,5,13,13,5,5,5,5,5,5,5,5,5,5,13,13,5,5,5,5,5,5,5,5,5,5,13,13,13,13,13,13,13,13,13,13,13,13,13</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,7,0,0,0,0,0,1,1,1,2,0,0,7,0,0,0,1,1,1,1,0,1,0,1,7,1,0,0,1,0,1,1,0,1,0,1,1,1,0,0,2,0,1,1,0,2,3,2,0,2,0,0,2,0,1,1,4,1,0,1,1,1,0,0,1,5,1,1,0,1,0,1,7,1,0,0,1,0,1,1,0,1,0,0,7,0,0,0,1,8,1,1,1,2,0,0,7,0,0,0,1,1,1,1,0,0,0,0,7,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,14,14,14,14,14,14,14,14,14,14,14,14,14,5,5,5,5,16,5,5,5,5,5,14,14,14,5,5,5,16,5,5,5,14,14,14,14,5,14,5,14,16,14,5,5,14,5,14,14,5,14,5,14,14,14,5,5,5,5,14,14,5,5,5,5,5,5,5,5,5,5,14,14,5,14,5,14,14,14,5,5,14,5,14,14,5,14,5,14,16,14,5,5,14,5,14,14,5,14,5,5,16,5,5,5,14,17,14,14,14,5,5,5,16,5,5,5,14,14,14,14,5,5,5,5,16,5,5,5,5,5,14,14,14,14,14,14,14,14,14,14,14,14,14</par></level>", "<level><par name=\"matrixwidth\">12</par><par name=\"matrixheight\">12</par><par name=\"blocksize\">40</par><par name=\"colision\">,1,1,1,1,1,1,1,1,1,1,1,1,1,8,1,1,1,4,0,1,0,0,0,1,1,0,1,0,1,0,0,2,0,0,0,1,1,0,1,0,1,1,1,1,0,3,0,1,1,0,7,0,0,0,0,0,0,0,0,1,1,0,2,2,2,2,2,2,0,0,0,1,1,0,7,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,0,5,0,1,1,0,1,0,1,0,0,0,0,0,0,1,1,0,1,0,1,1,0,0,0,0,0,1,1,0,1,1,1,0,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1</par><par name=\"render\">,15,15,15,15,15,15,15,15,15,15,15,15,15,17,15,15,15,5,5,15,5,5,5,15,15,5,15,5,15,5,5,5,5,5,5,15,15,5,15,5,15,15,15,15,5,5,5,15,15,5,16,5,5,5,5,5,5,5,5,15,15,5,5,5,5,5,5,5,5,5,5,15,15,5,16,5,5,5,5,5,5,5,5,15,15,5,15,15,15,15,15,15,5,5,5,15,15,5,15,5,15,5,5,5,5,5,5,15,15,5,15,5,15,15,5,5,5,5,5,15,15,5,15,15,15,5,15,15,5,5,5,15,15,15,15,15,15,15,15,15,15,15,15,15</par></level>"];
}
Symbol 41 MovieClip [clipSponsor] Frame 50
_root.gotoAndPlay("logo");
Symbol 87 MovieClip [clipLogo] Frame 95
var mySoundTmp = new Sound();
mySoundTmp.attachSound("logomelody");
mySoundTmp.start(0, 1);
Symbol 87 MovieClip [clipLogo] Frame 271
stop();
_root.gotoAndPlay("main");
Symbol 155 MovieClip [PlayerTiles] Frame 12
gotoAndPlay ("caminarTranquiloArriba");
Symbol 155 MovieClip [PlayerTiles] Frame 24
gotoAndPlay ("caminarTranquiloAbajo");
Symbol 155 MovieClip [PlayerTiles] Frame 36
gotoAndPlay ("caminarTranquiloDerecha");
Symbol 155 MovieClip [PlayerTiles] Frame 48
gotoAndPlay ("caminarTranquiloIzquierda");
Symbol 155 MovieClip [PlayerTiles] Frame 52
gotoAndPlay ("caminarMiedoAbajo");
Symbol 155 MovieClip [PlayerTiles] Frame 56
gotoAndPlay ("caminarMiedoArriba");
Symbol 155 MovieClip [PlayerTiles] Frame 60
gotoAndPlay ("caminarMiedoDerecha");
Symbol 155 MovieClip [PlayerTiles] Frame 64
gotoAndPlay ("caminarMiedoIzquierda");
Symbol 155 MovieClip [PlayerTiles] Frame 72
_root.world[_root.nmGamePlayer].animationHasBeenDone = 1;
gotoAndPlay ("presentacion");
Symbol 155 MovieClip [PlayerTiles] Frame 111
_root.world[_root.nmGamePlayer].animationHasBeenDone = 1;
gotoAndPlay ("victoria");
Symbol 336 MovieClip [MonsterTiles] Frame 18
gotoAndPlay ("caminarTranquiloAbajo");
Symbol 336 MovieClip [MonsterTiles] Frame 36
gotoAndPlay ("caminarTranquiloArriba");
Symbol 336 MovieClip [MonsterTiles] Frame 54
gotoAndPlay ("caminarTranquiloDerecha");
Symbol 336 MovieClip [MonsterTiles] Frame 72
gotoAndPlay ("caminarTranquiloIzquierda");
Symbol 336 MovieClip [MonsterTiles] Frame 90
gotoAndPlay ("caminarMiedoAbajo");
Symbol 336 MovieClip [MonsterTiles] Frame 108
gotoAndPlay ("caminarMiedoArriba");
Symbol 336 MovieClip [MonsterTiles] Frame 126
gotoAndPlay ("caminarMiedoDerecha");
Symbol 336 MovieClip [MonsterTiles] Frame 144
gotoAndPlay ("caminarMiedoIzquierda");
Symbol 336 MovieClip [MonsterTiles] Frame 162
_root.world[_root.nmMonster].animationHasBeenDone = 1;
stop();
Symbol 336 MovieClip [MonsterTiles] Frame 174
_root.world[_root.nmMonster].animationHasBeenDone = 1;
gotoAndPlay ("comer");
Symbol 336 MovieClip [MonsterTiles] Frame 323
_root.world[_root.nmMonster].animationHasBeenDone = 1;
stop();
Symbol 407 MovieClip [Tiles1] Frame 1
stop();
Symbol 407 MovieClip [Tiles1] Frame 2
stop();
Symbol 407 MovieClip [Tiles1] Frame 3
stop();
Symbol 407 MovieClip [Tiles1] Frame 4
stop();
Symbol 407 MovieClip [Tiles1] Frame 5
stop();
Symbol 407 MovieClip [Tiles1] Frame 6
stop();
Symbol 407 MovieClip [Tiles1] Frame 7
stop();
Symbol 407 MovieClip [Tiles1] Frame 8
stop();
Symbol 407 MovieClip [Tiles1] Frame 9
stop();
Symbol 407 MovieClip [Tiles1] Frame 10
stop();
Symbol 407 MovieClip [Tiles1] Frame 11
stop();
Symbol 407 MovieClip [Tiles1] Frame 12
stop();
Symbol 407 MovieClip [Tiles1] Frame 13
stop();
Symbol 407 MovieClip [Tiles1] Frame 14
stop();
Symbol 407 MovieClip [Tiles1] Frame 15
stop();
Symbol 407 MovieClip [Tiles1] Frame 16
gotoAndPlay ("holesecuencia");
Symbol 407 MovieClip [Tiles1] Frame 17
stop();
Symbol 407 MovieClip [Tiles1] Frame 18
stop();
Symbol 464 MovieClip [HunterTiles] Frame 12
gotoAndPlay ("caminarTranquiloAbajo");
Symbol 464 MovieClip [HunterTiles] Frame 24
gotoAndPlay ("caminarTranquiloArriba");
Symbol 464 MovieClip [HunterTiles] Frame 36
gotoAndPlay ("caminarTranquiloDerecha");
Symbol 464 MovieClip [HunterTiles] Frame 48
gotoAndPlay ("caminarTranquiloIzquierda");
Symbol 464 MovieClip [HunterTiles] Frame 52
gotoAndPlay ("caminarMiedoAbajo");
Symbol 464 MovieClip [HunterTiles] Frame 56
gotoAndPlay ("caminarMiedoArriba");
Symbol 464 MovieClip [HunterTiles] Frame 60
gotoAndPlay ("caminarMiedoDerecha");
Symbol 464 MovieClip [HunterTiles] Frame 64
gotoAndPlay ("caminarMiedoIzquierda");
Symbol 464 MovieClip [HunterTiles] Frame 72
_root.world[_root.nmHunter].animationHasBeenDone = 1;
stop();
Symbol 464 MovieClip [HunterTiles] Frame 97
_root.world[_root.nmHunter].animationHasBeenDone = 1;
stop();
Symbol 464 MovieClip [HunterTiles] Frame 118
_root.world[_root.nmHunter].animationHasBeenDone = 1;
stop();
Symbol 480 MovieClip [menuGame] Frame 1
instMenuPlay.onRelease = function () {
_root.playGameSound(1, 1);
gotoAndPlay ("menuPlay");
};
instMenuSettings.onRelease = function () {
_root.playGameSound(1, 1);
gotoAndPlay ("Settings");
};
instMenuHelp.onRelease = function () {
_root.playGameSound(1, 1);
gotoAndPlay ("Help");
};
instMenuAbout.onRelease = function () {
_root.playGameSound(1, 1);
gotoAndPlay ("About");
};
instMenuPlay.instTextMenuEntry.text = "Play";
instMenuSettings.instTextMenuEntry.text = "Settings";
instMenuHelp.instTextMenuEntry.text = "Help";
instMenuAbout.instTextMenuEntry.text = "About";
instMenuPlay._alpha = 0;
instMenuSettings._alpha = 0;
instMenuHelp._alpha = 0;
instMenuAbout._alpha = 0;
totalNumberFramesAnimationMainMenu = 20;
instMenuPlay.onEnterFrame = function () {
this._x = this._x - (396.8 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instMenuSettings.onEnterFrame = function () {
this._x = this._x + (377.4 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instMenuHelp.onEnterFrame = function () {
this._x = this._x - (396.8 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instMenuAbout.onEnterFrame = function () {
this._x = this._x + (377.4 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
_root.playGameSound(0, 1);
Symbol 480 MovieClip [menuGame] Frame 21
delete instMenuPlay.onEnterFrame;
delete instMenuSettings.onEnterFrame;
delete instMenuHelp.onEnterFrame;
delete instMenuAbout.onEnterFrame;
Symbol 480 MovieClip [menuGame] Frame 22
activeChangeColor = -1;
factorEscalaContraccion = 0;
instMenuPlay.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instMenuPlay.onRollOut = function () {
activeChangeColor = -1;
};
instMenuSettings.onRollOver = function () {
activeChangeColor = 1;
this.shiftInX = 0;
};
instMenuSettings.onRollOut = function () {
activeChangeColor = -1;
};
instMenuHelp.onRollOver = function () {
activeChangeColor = 2;
this.shiftInX = 0;
};
instMenuHelp.onRollOut = function () {
activeChangeColor = -1;
};
instMenuAbout.onRollOver = function () {
activeChangeColor = 3;
this.shiftInX = 0;
};
instMenuAbout.onRollOut = function () {
activeChangeColor = -1;
};
instMenuPlay.onEnterFrame = function () {
if (activeChangeColor == 0) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instMenuSettings.onEnterFrame = function () {
if (activeChangeColor == 1) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instMenuHelp.onEnterFrame = function () {
if (activeChangeColor == 2) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instMenuAbout.onEnterFrame = function () {
if (activeChangeColor == 3) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
Symbol 480 MovieClip [menuGame] Frame 30
gotoAndPlay(this._currentframe - 1);
Symbol 480 MovieClip [menuGame] Frame 31
instPlayNewGame.onRelease = function () {
_root.nmTutorialActive = 1;
_root.initEfectiveGame(0);
_root.instClipTutorialGrafico.state = 0;
_root.playGameSound(1, 1);
gotoAndStop ("vaciocaratula");
gotoAndStop ("intro");
};
instAccessLoadMenu.onRelease = function () {
_root.playGameSound(1, 1);
gotoAndPlay ("menuLoad");
};
instBackMainMenu.onRelease = function () {
_root.playGameSound(1, 1);
gotoAndPlay ("mainMenu");
};
instPlayNewGame.instTextMenuEntry.text = "New Game";
instAccessLoadMenu.instTextMenuEntry.text = "Continue";
instBackMainMenu.instTextMenuEntry.text = "Back";
instPlayNewGame._alpha = 0;
instAccessLoadMenu._alpha = 0;
instBackMainMenu._alpha = 0;
totalNumberFramesAnimationMainMenu = 20;
instPlayNewGame.onEnterFrame = function () {
this._x = this._x - (396 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instAccessLoadMenu.onEnterFrame = function () {
this._x = this._x + (380 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instBackMainMenu.onEnterFrame = function () {
this._y = this._y - (90 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
Symbol 480 MovieClip [menuGame] Frame 51
delete instPlayNewGame.onEnterFrame;
delete instAccessLoadMenu.onEnterFrame;
delete instBackMainMenu.onEnterFrame;
Symbol 480 MovieClip [menuGame] Frame 52
activeChangeColor = -1;
factorEscalaContraccion = 0;
instPlayNewGame.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instPlayNewGame.onRollOut = function () {
activeChangeColor = -1;
};
instAccessLoadMenu.onRollOver = function () {
activeChangeColor = 1;
this.shiftInX = 0;
};
instAccessLoadMenu.onRollOut = function () {
activeChangeColor = -1;
};
instBackMainMenu.onRollOver = function () {
activeChangeColor = 2;
this.shiftInX = 0;
};
instBackMainMenu.onRollOut = function () {
activeChangeColor = -1;
};
instPlayNewGame.onEnterFrame = function () {
if (activeChangeColor == 0) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instAccessLoadMenu.onEnterFrame = function () {
if (activeChangeColor == 1) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instBackMainMenu.onEnterFrame = function () {
if (activeChangeColor == 2) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
Symbol 480 MovieClip [menuGame] Frame 61
gotoAndPlay(this._currentframe - 1);
Symbol 480 MovieClip [menuGame] Frame 62
limitOfLevelsDoneLoadLevel = _root.nmTotalLevelDone + 1;
delete instSelectedLevel.onRelease;
delete instBackLevel.onRelease;
delete instNextLevel.onRelease;
delete instSelectLevelEntry1.onRelease;
delete instSelectLevelEntry2.onRelease;
delete instSelectLevelEntry3.onRelease;
delete instSelectLevelEntry4.onRelease;
delete instSelectLevelEntry5.onRelease;
delete instSelectedLevel.onEnterFrame;
delete instBackLevel.onEnterFrame;
delete instNextLevel.onEnterFrame;
delete instSelectLevelEntry1.onEnterFrame;
delete instSelectLevelEntry2.onEnterFrame;
delete instSelectLevelEntry3.onEnterFrame;
delete instSelectLevelEntry4.onEnterFrame;
delete instSelectLevelEntry5.onEnterFrame;
instSelectedLevel._x = 10.4;
instSelectedLevel._y = -382.9;
instBackLevel._x = -34.7;
instBackLevel._y = 150.1;
instNextLevel._x = 233.4;
instNextLevel._y = 150.1;
instSelectLevelEntry1._x = -380.4;
instSelectLevelEntry1._y = -227.9;
instSelectLevelEntry2._x = 400.4;
instSelectLevelEntry2._y = -176.1;
instSelectLevelEntry3._x = -380.4;
instSelectLevelEntry3._y = -124.3;
instSelectLevelEntry4._x = 400.4;
instSelectLevelEntry4._y = -72.5;
instSelectLevelEntry5._x = -380.4;
instSelectLevelEntry5._y = -17.9;
setElementsVisibility = function (optionVisibility) {
instSelectedLevel._visible = optionVisibility;
instBackLevel._visible = optionVisibility;
instNextLevel._visible = optionVisibility;
instSelectLevelEntry1._visible = optionVisibility;
instSelectLevelEntry2._visible = optionVisibility;
instSelectLevelEntry3._visible = optionVisibility;
instSelectLevelEntry4._visible = optionVisibility;
instSelectLevelEntry5._visible = optionVisibility;
};
setElementsVisibility(true);
instBackLevel.onRelease = function () {
_root.playGameSound(1, 1);
if ((_root.nmLevelToShow - 5) < 0) {
gotoAndPlay ("menuPlay");
} else {
_root.nmLevelToShow = _root.nmLevelToShow - 5;
gotoAndPlay ("menuLoad");
}
};
instNextLevel.onRelease = function () {
_root.playGameSound(1, 1);
if ((_root.nmLevelToShow + 5) > limitOfLevelsDoneLoadLevel) {
gotoAndPlay ("menuPlay");
} else {
_root.nmLevelToShow = _root.nmLevelToShow + 5;
gotoAndPlay ("menuLoad");
}
};
instSelectLevelEntry1.onRelease = function () {
_root.playGameSound(1, 1);
setElementsVisibility(false);
_root.initEfectiveGame(_root.nmLevelToShow);
};
instSelectLevelEntry2.onRelease = function () {
_root.playGameSound(1, 1);
setElementsVisibility(false);
_root.initEfectiveGame(_root.nmLevelToShow + 1);
};
instSelectLevelEntry3.onRelease = function () {
_root.playGameSound(1, 1);
setElementsVisibility(false);
_root.initEfectiveGame(_root.nmLevelToShow + 2);
};
instSelectLevelEntry4.onRelease = function () {
_root.playGameSound(1, 1);
setElementsVisibility(false);
_root.initEfectiveGame(_root.nmLevelToShow + 3);
};
instSelectLevelEntry5.onRelease = function () {
_root.playGameSound(1, 1);
setElementsVisibility(false);
_root.initEfectiveGame(_root.nmLevelToShow + 4);
};
instSelectedLevel.instTextMenuEntry.text = "Select Level";
if ((_root.nmLevelToShow - 5) < 0) {
instBackLevel.instTextMenuEntry.text = "Exit";
} else {
instBackLevel.instTextMenuEntry.text = "Previous";
}
if ((_root.nmLevelToShow + 5) > limitOfLevelsDoneLoadLevel) {
instNextLevel.instTextMenuEntry.text = "Exit";
} else {
instNextLevel.instTextMenuEntry.text = "Next";
}
if (_root.nmLevelToShow < limitOfLevelsDoneLoadLevel) {
instSelectLevelEntry1.instTextMenuEntry.text = "";
instSelectLevelEntry1.instTextMenuEntryA.text = "LEVEL " + (_root.nmLevelToShow + 1);
if (!isNaN(_root.listLevelScore[_root.nmLevelToShow])) {
instSelectLevelEntry1.instTextMenuEntryB.text = "TIME " + ((Math.floor(_root.listLevelScore[_root.nmLevelToShow] / 60) + ":") + Math.floor(_root.listLevelScore[_root.nmLevelToShow] % 60));
} else {
instSelectLevelEntry1.instTextMenuEntryB.text = "NEW";
}
}
if ((_root.nmLevelToShow + 1) < limitOfLevelsDoneLoadLevel) {
instSelectLevelEntry2.instTextMenuEntry.text = "";
instSelectLevelEntry2.instTextMenuEntryA.text = "LEVEL " + (_root.nmLevelToShow + 2);
if (!isNaN(_root.listLevelScore[_root.nmLevelToShow + 1])) {
instSelectLevelEntry2.instTextMenuEntryB.text = "TIME " + ((Math.floor(_root.listLevelScore[_root.nmLevelToShow + 1] / 60) + ":") + Math.floor(_root.listLevelScore[_root.nmLevelToShow + 1] % 60));
} else {
instSelectLevelEntry2.instTextMenuEntryB.text = "NEW";
}
}
if ((_root.nmLevelToShow + 2) < limitOfLevelsDoneLoadLevel) {
instSelectLevelEntry3.instTextMenuEntry.text = "";
instSelectLevelEntry3.instTextMenuEntryA.text = "LEVEL " + (_root.nmLevelToShow + 3);
if (!isNaN(_root.listLevelScore[_root.nmLevelToShow + 2])) {
instSelectLevelEntry3.instTextMenuEntryB.text = "TIME " + ((Math.floor(_root.listLevelScore[_root.nmLevelToShow + 2] / 60) + ":") + Math.floor(_root.listLevelScore[_root.nmLevelToShow + 2] % 60));
} else {
instSelectLevelEntry3.instTextMenuEntryB.text = "NEW";
}
}
if ((_root.nmLevelToShow + 3) < limitOfLevelsDoneLoadLevel) {
instSelectLevelEntry4.instTextMenuEntry.text = "";
instSelectLevelEntry4.instTextMenuEntryA.text = "LEVEL " + (_root.nmLevelToShow + 4);
if (!isNaN(_root.listLevelScore[_root.nmLevelToShow + 3])) {
instSelectLevelEntry4.instTextMenuEntryB.text = "TIME " + ((Math.floor(_root.listLevelScore[_root.nmLevelToShow + 3] / 60) + ":") + Math.floor(_root.listLevelScore[_root.nmLevelToShow + 3] % 60));
} else {
instSelectLevelEntry4.instTextMenuEntryB.text = "NEW";
}
}
if ((_root.nmLevelToShow + 4) < limitOfLevelsDoneLoadLevel) {
instSelectLevelEntry5.instTextMenuEntry.text = "";
instSelectLevelEntry5.instTextMenuEntryA.text = "LEVEL " + (_root.nmLevelToShow + 5);
if (!isNaN(_root.listLevelScore[_root.nmLevelToShow + 4])) {
instSelectLevelEntry5.instTextMenuEntryB.text = "TIME " + ((Math.floor(_root.listLevelScore[_root.nmLevelToShow + 4] / 60) + ":") + Math.floor(_root.listLevelScore[_root.nmLevelToShow + 4] % 60));
} else {
instSelectLevelEntry5.instTextMenuEntryB.text = "NEW";
}
}
instSelectedLevel._alpha = 0;
instBackLevel._alpha = 0;
instNextLevel._alpha = 0;
instSelectLevelEntry1._alpha = 0;
instSelectLevelEntry2._alpha = 0;
instSelectLevelEntry3._alpha = 0;
instSelectLevelEntry4._alpha = 0;
instSelectLevelEntry5._alpha = 0;
totalNumberFramesAnimationMainMenu = 20;
instSelectedLevel.onEnterFrame = function () {
this._y = this._y + (80 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instBackLevel.onEnterFrame = function () {
this._y = this._y - (87 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instNextLevel.onEnterFrame = function () {
this._y = this._y - (87 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instSelectLevelEntry1.onEnterFrame = function () {
if (_root.nmLevelToShow < limitOfLevelsDoneLoadLevel) {
this._x = this._x + (390 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
}
};
instSelectLevelEntry2.onEnterFrame = function () {
if ((_root.nmLevelToShow + 1) < limitOfLevelsDoneLoadLevel) {
this._x = this._x - (390 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
}
};
instSelectLevelEntry3.onEnterFrame = function () {
if ((_root.nmLevelToShow + 2) < limitOfLevelsDoneLoadLevel) {
this._x = this._x + (390 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
}
};
instSelectLevelEntry4.onEnterFrame = function () {
if ((_root.nmLevelToShow + 3) < limitOfLevelsDoneLoadLevel) {
this._x = this._x - (390 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
}
};
instSelectLevelEntry5.onEnterFrame = function () {
if ((_root.nmLevelToShow + 4) < limitOfLevelsDoneLoadLevel) {
this._x = this._x + (390 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
}
};
Symbol 480 MovieClip [menuGame] Frame 82
limitOfLevelsDoneLoadLevel = _root.nmTotalLevelDone + 1;
delete instSelectedLevel.onEnterFrame;
delete instBackLevel.onEnterFrame;
delete instNextLevel.onEnterFrame;
delete instSelectLevelEntry1.onEnterFrame;
delete instSelectLevelEntry2.onEnterFrame;
delete instSelectLevelEntry3.onEnterFrame;
delete instSelectLevelEntry4.onEnterFrame;
delete instSelectLevelEntry5.onEnterFrame;
activeChangeColor = -1;
factorEscalaContraccion = 0;
instBackLevel.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instBackLevel.onRollOut = function () {
activeChangeColor = -1;
};
instNextLevel.onRollOver = function () {
activeChangeColor = 1;
this.shiftInX = 0;
};
instNextLevel.onRollOut = function () {
activeChangeColor = -1;
};
instSelectLevelEntry1.onRollOver = function () {
activeChangeColor = 2;
this.shiftInX = 0;
};
instSelectLevelEntry1.onRollOut = function () {
activeChangeColor = -1;
};
instSelectLevelEntry2.onRollOver = function () {
activeChangeColor = 3;
this.shiftInX = 0;
};
instSelectLevelEntry2.onRollOut = function () {
activeChangeColor = -1;
};
instSelectLevelEntry3.onRollOver = function () {
activeChangeColor = 4;
this.shiftInX = 0;
};
instSelectLevelEntry3.onRollOut = function () {
activeChangeColor = -1;
};
instSelectLevelEntry4.onRollOver = function () {
activeChangeColor = 5;
this.shiftInX = 0;
};
instSelectLevelEntry4.onRollOut = function () {
activeChangeColor = -1;
};
instSelectLevelEntry5.onRollOver = function () {
activeChangeColor = 6;
this.shiftInX = 0;
};
instSelectLevelEntry5.onRollOut = function () {
activeChangeColor = -1;
};
instBackLevel.onEnterFrame = function () {
if (activeChangeColor == 0) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instNextLevel.onEnterFrame = function () {
if (activeChangeColor == 1) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instSelectLevelEntry1.onEnterFrame = function () {
if (_root.nmLevelToShow >= limitOfLevelsDoneLoadLevel) {
this._visible = false;
} else if (activeChangeColor == 2) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instSelectLevelEntry2.onEnterFrame = function () {
if ((_root.nmLevelToShow + 1) >= limitOfLevelsDoneLoadLevel) {
this._visible = false;
} else if (activeChangeColor == 3) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instSelectLevelEntry3.onEnterFrame = function () {
if ((_root.nmLevelToShow + 2) >= limitOfLevelsDoneLoadLevel) {
this._visible = false;
} else if (activeChangeColor == 4) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instSelectLevelEntry4.onEnterFrame = function () {
if ((_root.nmLevelToShow + 3) >= limitOfLevelsDoneLoadLevel) {
this._visible = false;
} else if (activeChangeColor == 5) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instSelectLevelEntry5.onEnterFrame = function () {
if ((_root.nmLevelToShow + 4) >= limitOfLevelsDoneLoadLevel) {
this._visible = false;
} else if (activeChangeColor == 6) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
stop();
Symbol 480 MovieClip [menuGame] Frame 93
instSound.onRelease = function () {
_root.playGameSound(1, 1);
if (_root.nmSoundEnabled == true) {
_root.nmSoundEnabled = false;
instSoundValue.instTextMenuEntry.text = "No";
} else {
_root.nmSoundEnabled = true;
instSoundValue.instTextMenuEntry.text = "Yes";
}
};
instSoundValue.onRelease = function () {
_root.playGameSound(1, 1);
if (_root.nmSoundEnabled == true) {
_root.nmSoundEnabled = false;
instSoundValue.instTextMenuEntry.text = "No";
} else {
_root.nmSoundEnabled = true;
instSoundValue.instTextMenuEntry.text = "Yes";
}
};
instShowWay.onRelease = function () {
_root.playGameSound(1, 1);
if (_root.nmShowWayEnabled == true) {
_root.nmShowWayEnabled = false;
instShowWayValue.instTextMenuEntry.text = "No";
} else {
_root.nmShowWayEnabled = true;
instShowWayValue.instTextMenuEntry.text = "Yes";
}
};
instShowWayValue.onRelease = function () {
_root.playGameSound(1, 1);
if (_root.nmShowWayEnabled == true) {
_root.nmShowWayEnabled = false;
instShowWayValue.instTextMenuEntry.text = "No";
} else {
_root.nmShowWayEnabled = true;
instShowWayValue.instTextMenuEntry.text = "Yes";
}
};
instBackTo.onRelease = function () {
_root.playGameSound(1, 1);
if (_root.gState == -1) {
gotoAndPlay ("mainMenu");
} else {
gotoAndPlay ("pause");
}
};
instSound.instTextMenuEntry.text = "Sound";
if (_root.nmSoundEnabled == true) {
instSoundValue.instTextMenuEntry.text = "Yes";
} else {
instSoundValue.instTextMenuEntry.text = "No";
}
instShowWay.instTextMenuEntry.text = "Show way";
if (_root.nmShowWayEnabled == true) {
instShowWayValue.instTextMenuEntry.text = "Yes";
} else {
instShowWayValue.instTextMenuEntry.text = "No";
}
instBackTo.instTextMenuEntry.text = "Back";
instSound._alpha = 0;
instSoundValue._alpha = 0;
instShowWay._alpha = 0;
instShowWayValue._alpha = 0;
instBackTo._alpha = 0;
totalNumberFramesAnimationMainMenu = 20;
instSound.onEnterFrame = function () {
this._x = this._x + (234 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instSoundValue.onEnterFrame = function () {
this._x = this._x - (235 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instShowWay.onEnterFrame = function () {
this._x = this._x + (234 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instShowWayValue.onEnterFrame = function () {
this._x = this._x - (235 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instBackTo.onEnterFrame = function () {
this._y = this._y - (89 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
Symbol 480 MovieClip [menuGame] Frame 113
delete instSound.onEnterFrame;
delete instSoundValue.onEnterFrame;
delete instShowWay.onEnterFrame;
delete instShowWayValue.onEnterFrame;
delete instBackTo.onEnterFrame;
Symbol 480 MovieClip [menuGame] Frame 114
activeChangeColor = -1;
factorEscalaContraccion = 0;
instSound.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instSound.onRollOut = function () {
activeChangeColor = -1;
};
instSoundValue.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instSoundValue.onRollOut = function () {
activeChangeColor = -1;
};
instShowWay.onRollOver = function () {
activeChangeColor = 1;
this.shiftInX = 0;
};
instShowWay.onRollOut = function () {
activeChangeColor = -1;
};
instShowWayValue.onRollOver = function () {
activeChangeColor = 1;
this.shiftInX = 0;
};
instShowWayValue.onRollOut = function () {
activeChangeColor = -1;
};
instBackTo.onRollOver = function () {
activeChangeColor = 2;
this.shiftInX = 0;
};
instBackTo.onRollOut = function () {
activeChangeColor = -1;
};
instSound.onEnterFrame = function () {
if (activeChangeColor == 0) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instSoundValue.onEnterFrame = function () {
if (activeChangeColor == 0) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instShowWay.onEnterFrame = function () {
if (activeChangeColor == 1) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instShowWayValue.onEnterFrame = function () {
if (activeChangeColor == 1) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instBackTo.onEnterFrame = function () {
if (activeChangeColor == 2) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
Symbol 480 MovieClip [menuGame] Frame 122
gotoAndPlay(this._currentframe - 1);
Symbol 480 MovieClip [menuGame] Frame 123
instNextHelp.onRelease = function () {
_root.playGameSound(1, 1);
gotoAndPlay ("helpRocks");
};
instBackHelp.onRelease = function () {
_root.playGameSound(1, 1);
if (_root.gState == -1) {
gotoAndPlay ("mainMenu");
} else {
gotoAndPlay ("pause");
}
};
instTituloHelp.instTextMenuEntry.text = "HELP 1/5";
instHelpFondo.contentTextHelp.text = "Guide the monster to reach the door and avoid to be eated by it";
instNextHelp.instTextMenuEntry.text = "Next";
instBackHelp.instTextMenuEntry.text = "Exit";
instTituloHelp._alpha = 0;
instHelpFondo._alpha = 0;
instNextHelp._alpha = 0;
instBackHelp._alpha = 0;
totalNumberFramesAnimationMainMenu = 10;
instTituloHelp.onEnterFrame = function () {
this._y = this._y + (72 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instHelpFondo.onEnterFrame = function () {
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instNextHelp.onEnterFrame = function () {
this._x = this._x - (143 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instBackHelp.onEnterFrame = function () {
this._x = this._x + (160 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
Symbol 480 MovieClip [menuGame] Frame 133
delete instTituloHelp.onEnterFrame;
delete instHelpFondo.onEnterFrame;
delete instNextHelp.onEnterFrame;
delete instBackHelp.onEnterFrame;
Symbol 480 MovieClip [menuGame] Frame 134
activeChangeColor = -1;
factorEscalaContraccion = 0;
instNextHelp.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instNextHelp.onRollOut = function () {
activeChangeColor = -1;
};
instBackHelp.onRollOver = function () {
activeChangeColor = 1;
this.shiftInX = 0;
};
instBackHelp.onRollOut = function () {
activeChangeColor = -1;
};
instNextHelp.onEnterFrame = function () {
if (activeChangeColor == 0) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instBackHelp.onEnterFrame = function () {
if (activeChangeColor == 1) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instGuyHelp1.gotoAndPlay("caminarTranquiloAbajo");
instMonsterHelp1.gotoAndPlay("caminarTranquiloAbajo");
instTilesHelp1.gotoAndPlay("puerta");
instClipFlecha1Help1.gotoAndStop(2);
instClipFlecha2Help1.gotoAndStop(1);
stop();
Symbol 480 MovieClip [menuGame] Frame 141
instNextHelp1.onRelease = function () {
_root.playGameSound(1, 1);
gotoAndPlay ("helpHunter");
};
instBackHelp1.onRelease = function () {
_root.playGameSound(1, 1);
gotoAndPlay ("help");
};
instTituloHelp1.instTextMenuEntry.text = "HELP 2/5";
instHelpFondo1.contentTextHelp.text = "You can pick up the rocks and release them with mouse";
instNextHelp1.instTextMenuEntry.text = "Next";
instBackHelp1.instTextMenuEntry.text = "Back";
instTituloHelp1._alpha = 0;
instHelpFondo1._alpha = 0;
instNextHelp1._alpha = 0;
instBackHelp1._alpha = 0;
totalNumberFramesAnimationMainMenu = 10;
instTituloHelp1.onEnterFrame = function () {
this._y = this._y + (72 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instHelpFondo1.onEnterFrame = function () {
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instNextHelp1.onEnterFrame = function () {
this._x = this._x - (143 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instBackHelp1.onEnterFrame = function () {
this._x = this._x + (160 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
Symbol 480 MovieClip [menuGame] Frame 151
delete instTituloHelp1.onEnterFrame;
delete instHelpFondo1.onEnterFrame;
delete instNextHelp1.onEnterFrame;
delete instBackHelp1.onEnterFrame;
Symbol 480 MovieClip [menuGame] Frame 152
activeChangeColor = -1;
factorEscalaContraccion = 0;
instNextHelp1.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instNextHelp1.onRollOut = function () {
activeChangeColor = -1;
};
instBackHelp1.onRollOver = function () {
activeChangeColor = 1;
this.shiftInX = 0;
};
instBackHelp1.onRollOut = function () {
activeChangeColor = -1;
};
instNextHelp1.onEnterFrame = function () {
if (activeChangeColor == 0) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instBackHelp1.onEnterFrame = function () {
if (activeChangeColor == 1) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instGuyHelp2.gotoAndPlay("caminarTranquiloAbajo");
instGuyHelp2.totalAnimationHelpFrames = 0;
instGuyHelp2.iterator = 0;
instGuyHelp2.state = 0;
instRockHelp2.totalAnimationHelpFrames = 0;
instRockHelp2.state = 0;
counterTotalAnimationHelpFrames = 90;
instGuyHelp2.onEnterFrame = function () {
this.totalAnimationHelpFrames++;
if (this.totalAnimationHelpFrames < Math.floor(counterTotalAnimationHelpFrames / 4)) {
this._y = this._y + (87.1 / Math.floor(counterTotalAnimationHelpFrames / 4));
} else if (this.totalAnimationHelpFrames <= ((3 * counterTotalAnimationHelpFrames) / 4)) {
if (this.state == 0) {
this.state = 1;
}
if (this.iterator < 5) {
this.iterator++;
this.gotoAndPlay("caminarTranquiloDerecha");
}
this._x = this._x + (200.1 / Math.floor(counterTotalAnimationHelpFrames / 2));
} else {
if (this.state == 1) {
this.state = 2;
this.iterator = 0;
}
if (this.iterator < 5) {
this.iterator++;
this.gotoAndPlay("caminarTranquiloArriba");
}
if (this.totalAnimationHelpFrames <= counterTotalAnimationHelpFrames) {
this._y = this._y - (87.1 / Math.floor(counterTotalAnimationHelpFrames / 3));
} else {
this.gotoAndStop("caminarTranquiloAbajo");
}
}
};
instRockHelp2.onEnterFrame = function () {
this.totalAnimationHelpFrames++;
if ((this.totalAnimationHelpFrames > Math.floor(counterTotalAnimationHelpFrames / 4)) && (this.totalAnimationHelpFrames <= ((3 * counterTotalAnimationHelpFrames) / 4))) {
this._x = this._x + (201.1 / Math.floor(counterTotalAnimationHelpFrames / 2));
this._alpha = this._alpha - 10;
if (this._alpha < 10) {
this._alpha = 100;
}
} else {
this._alpha = 100;
}
};
stop();
Symbol 480 MovieClip [menuGame] Frame 161
instNextHelp2.onRelease = function () {
_root.playGameSound(1, 1);
gotoAndPlay ("helpFood");
};
instBackHelp2.onRelease = function () {
_root.playGameSound(1, 1);
gotoAndPlay ("helpRocks");
};
instTituloHelp2.instTextMenuEntry.text = "HELP 3/5";
instHelpFondo2.contentTextHelp.text = "Avoid that the hunter can catch the monster";
instNextHelp2.instTextMenuEntry.text = "Next";
instBackHelp2.instTextMenuEntry.text = "Back";
instTituloHelp2._alpha = 0;
instHelpFondo2._alpha = 0;
instNextHelp2._alpha = 0;
instBackHelp2._alpha = 0;
totalNumberFramesAnimationMainMenu = 10;
instTituloHelp2.onEnterFrame = function () {
this._y = this._y + (72 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instHelpFondo2.onEnterFrame = function () {
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instNextHelp2.onEnterFrame = function () {
this._x = this._x - (143 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instBackHelp2.onEnterFrame = function () {
this._x = this._x + (160 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
Symbol 480 MovieClip [menuGame] Frame 171
delete instTituloHelp2.onEnterFrame;
delete instHelpFondo2.onEnterFrame;
delete instNextHelp2.onEnterFrame;
delete instBackHelp2.onEnterFrame;
Symbol 480 MovieClip [menuGame] Frame 172
activeChangeColor = -1;
factorEscalaContraccion = 0;
instNextHelp2.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instNextHelp2.onRollOut = function () {
activeChangeColor = -1;
};
instBackHelp2.onRollOver = function () {
activeChangeColor = 1;
this.shiftInX = 0;
};
instBackHelp2.onRollOut = function () {
activeChangeColor = -1;
};
instNextHelp2.onEnterFrame = function () {
if (activeChangeColor == 0) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instBackHelp2.onEnterFrame = function () {
if (activeChangeColor == 1) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instHunterHelp3.gotoAndPlay("caminarMiedoDerecha");
instMonsterHelp3.gotoAndPlay("caminarTranquiloDerecha");
instClipFlechaHelp3.gotoAndStop(2);
stop();
Symbol 480 MovieClip [menuGame] Frame 182
instNextHelp3.onRelease = function () {
_root.playGameSound(1, 1);
gotoAndPlay ("helpHole");
};
instBackHelp3.onRelease = function () {
_root.playGameSound(1, 1);
gotoAndPlay ("helpHunter");
};
instTituloHelp3.instTextMenuEntry.text = "HELP 4/5";
instHelpFondo3.contentTextHelp.text = "The monster will also look for is favourite meal, and will ignore you meanwhile";
instNextHelp3.instTextMenuEntry.text = "Next";
instBackHelp3.instTextMenuEntry.text = "Back";
instTituloHelp3._alpha = 0;
instHelpFondo3._alpha = 0;
instNextHelp3._alpha = 0;
instBackHelp3._alpha = 0;
totalNumberFramesAnimationMainMenu = 10;
instTituloHelp3.onEnterFrame = function () {
this._y = this._y + (72 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instHelpFondo3.onEnterFrame = function () {
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instNextHelp3.onEnterFrame = function () {
this._x = this._x - (143 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instBackHelp3.onEnterFrame = function () {
this._x = this._x + (160 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
Symbol 480 MovieClip [menuGame] Frame 192
delete instTituloHelp3.onEnterFrame;
delete instHelpFondo3.onEnterFrame;
delete instNextHelp3.onEnterFrame;
delete instBackHelp3.onEnterFrame;
Symbol 480 MovieClip [menuGame] Frame 193
activeChangeColor = -1;
factorEscalaContraccion = 0;
instNextHelp3.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instNextHelp3.onRollOut = function () {
activeChangeColor = -1;
};
instBackHelp3.onRollOver = function () {
activeChangeColor = 1;
this.shiftInX = 0;
};
instBackHelp3.onRollOut = function () {
activeChangeColor = -1;
};
instNextHelp3.onEnterFrame = function () {
if (activeChangeColor == 0) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instBackHelp3.onEnterFrame = function () {
if (activeChangeColor == 1) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instMonsterHelp4.gotoAndPlay("caminarTranquiloDerecha");
instMonsterHelp4.totalAnimationHelpFrames = 0;
instMonsterHelp4.iterator = 0;
instMonsterHelp4.state = 0;
counterTotalAnimationHelpFrames = 50;
instFoodHelp4.totalAnimationHelpFrames = 0;
instMonsterHelp4.onEnterFrame = function () {
this.totalAnimationHelpFrames++;
if (this.totalAnimationHelpFrames < counterTotalAnimationHelpFrames) {
this._x = this._x + Math.floor(158 / counterTotalAnimationHelpFrames);
} else {
if (this.state == 0) {
this.state = 1;
this.iterator = 0;
}
this.iterator++;
if (this.iterator < 4) {
this.gotoAndPlay("comer");
}
}
};
instFoodHelp4.onEnterFrame = function () {
this.totalAnimationHelpFrames++;
if (this.totalAnimationHelpFrames > counterTotalAnimationHelpFrames) {
this._visible = false;
}
};
stop();
Symbol 480 MovieClip [menuGame] Frame 202
instNextHelp4.onRelease = function () {
_root.playGameSound(1, 1);
if (_root.gState == -1) {
gotoAndPlay ("mainMenu");
} else {
gotoAndPlay ("pause");
}
};
instBackHelp4.onRelease = function () {
_root.playGameSound(1, 1);
gotoAndPlay ("helpFood");
};
instTituloHelp4.instTextMenuEntry.text = "HELP 5/5";
instHelpFondo4.contentTextHelp.text = "The monster and the hunter will fall in the hole if they step into, but you are free to walk on by";
instNextHelp4.instTextMenuEntry.text = "Exit";
instBackHelp4.instTextMenuEntry.text = "Back";
instTituloHelp4._alpha = 0;
instHelpFondo4._alpha = 0;
instNextHelp4._alpha = 0;
instBackHelp4._alpha = 0;
totalNumberFramesAnimationMainMenu = 10;
instTituloHelp4.onEnterFrame = function () {
this._y = this._y + (72 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instHelpFondo4.onEnterFrame = function () {
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instNextHelp4.onEnterFrame = function () {
this._x = this._x - (143 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instBackHelp4.onEnterFrame = function () {
this._x = this._x + (160 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
Symbol 480 MovieClip [menuGame] Frame 212
delete instTituloHelp4.onEnterFrame;
delete instHelpFondo4.onEnterFrame;
delete instNextHelp4.onEnterFrame;
delete instBackHelp4.onEnterFrame;
Symbol 480 MovieClip [menuGame] Frame 213
activeChangeColor = -1;
factorEscalaContraccion = 0;
instNextHelp4.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instNextHelp4.onRollOut = function () {
activeChangeColor = -1;
};
instBackHelp4.onRollOver = function () {
activeChangeColor = 1;
this.shiftInX = 0;
};
instBackHelp4.onRollOut = function () {
activeChangeColor = -1;
};
instNextHelp4.onEnterFrame = function () {
if (activeChangeColor == 0) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instBackHelp4.onEnterFrame = function () {
if (activeChangeColor == 1) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instGuyHelp5.gotoAndStop("caminarTranquiloAbajo");
instGuyHelp5.state = 0;
instGuyHelp5.iterator = 0;
instGuyHelp5.counterFrames = 0;
instMonsterHelp5.gotoAndPlay("caminarTranquiloDerecha");
instMonsterHelp5.state = 0;
instMonsterHelp5.iterator = 0;
instMonsterHelp5.counterFrames = 0;
instHunterHelp5.gotoAndStop("caminarTranquiloIzquierda");
instHunterHelp5.state = 0;
instHunterHelp5.iterator = 0;
instHunterHelp5.counterFrames = 0;
instHoleHelp5.gotoAndStop("hole");
currentPhase = 0;
phasesAnimationHelpFrames = 3;
counterTotalAnimationHelpFrames = 100;
instGuyHelp5.onEnterFrame = function () {
if (currentPhase == 2) {
this.counterFrames++;
if (this.counterFrames < (counterTotalAnimationHelpFrames / 2)) {
this._y = this._y + Math.floor(168 / (counterTotalAnimationHelpFrames / 2));
} else if (this.counterFrames < counterTotalAnimationHelpFrames) {
this.iterator++;
if (this.iterator < 4) {
this.gotoAndPlay("caminarTranquiloArriba");
}
this._y = this._y - Math.floor(168 / (counterTotalAnimationHelpFrames / 2));
} else {
instGuyHelp5.gotoAndStop("caminarTranquiloAbajo");
currentPhase = 3;
}
} else {
this.gotoAndStop("caminarTranquiloAbajo");
}
};
instMonsterHelp5.onEnterFrame = function () {
if (currentPhase == 0) {
this.counterFrames++;
if (this.counterFrames < (counterTotalAnimationHelpFrames / 2)) {
this._x = this._x + Math.floor(160 / (counterTotalAnimationHelpFrames / 2));
} else if (this.counterFrames < counterTotalAnimationHelpFrames) {
var _local3 = Math.floor(100 / (counterTotalAnimationHelpFrames / 2));
this._xscale = this._xscale - _local3;
this._x = this._x + (_local3 / 4);
var _local2 = Math.floor(100 / (counterTotalAnimationHelpFrames / 2));
this._yscale = this._yscale - _local2;
this._y = this._y + (_local2 / 4);
} else {
this._visible = false;
currentPhase = 1;
instHunterHelp5.gotoAndPlay("caminarTranquiloIzquierda");
}
}
};
instHunterHelp5.onEnterFrame = function () {
if (currentPhase == 1) {
this.counterFrames++;
if (this.counterFrames < (counterTotalAnimationHelpFrames / 2)) {
this._x = this._x - Math.floor(160 / (counterTotalAnimationHelpFrames / 2));
} else if (this.counterFrames < counterTotalAnimationHelpFrames) {
var _local3 = Math.floor(100 / (counterTotalAnimationHelpFrames / 2));
this._xscale = this._xscale - _local3;
var _local2 = Math.floor(100 / (counterTotalAnimationHelpFrames / 2));
this._yscale = this._yscale - _local2;
this._y = this._y + (_local2 / 4);
} else {
this._visible = false;
currentPhase = 2;
instGuyHelp5.gotoAndPlay("caminarTranquiloAbajo");
}
}
};
stop();
Symbol 480 MovieClip [menuGame] Frame 222
instBackAboutTo.onRelease = function () {
_root.playGameSound(1, 1);
gotoAndPlay ("aboutAdress");
};
instTitleAbout.instTextMenuEntry.text = "Team";
instTitleDesigner.instTextMenuEntry.text = "Designer";
instTitleDesignerValue.instTextMenuEntry.text = "Free Creator";
instTitleArt.instTextMenuEntry.text = "Art";
instTitleArtValue.instTextMenuEntry.text = "Joaquin Ferrer";
instTitleSound.instTextMenuEntry.text = "Sound";
instTitleSoundValue.instTextMenuEntry.text = "Sergio Ferrer";
instBackAboutTo.instTextMenuEntry.text = "Next";
instTitleAbout._alpha = 0;
instTitleDesigner._alpha = 0;
instTitleDesignerValue._alpha = 0;
instTitleArt._alpha = 0;
instTitleArtValue._alpha = 0;
instTitleSound._alpha = 0;
instTitleSoundValue._alpha = 0;
instBackAboutTo._alpha = 0;
totalNumberFramesAnimationMainMenu = 10;
instTitleAbout.onEnterFrame = function () {
this._y = this._y + (71 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instBackAboutTo.onEnterFrame = function () {
this._y = this._y - (66 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
Symbol 480 MovieClip [menuGame] Frame 232
delete instTitleAbout.onEnterFrame;
delete instBackAboutTo.onEnterFrame;
totalNumberFramesAnimationMainMenu = 10;
instTitleDesigner.onEnterFrame = function () {
this._x = this._x + (318 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instTitleDesignerValue.onEnterFrame = function () {
this._x = this._x - (318 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
Symbol 480 MovieClip [menuGame] Frame 242
delete instTitleDesigner.onEnterFrame;
delete instTitleDesignerValue.onEnterFrame;
totalNumberFramesAnimationMainMenu = 10;
instTitleArt.onEnterFrame = function () {
this._x = this._x + (318 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instTitleArtValue.onEnterFrame = function () {
this._x = this._x - (318 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
Symbol 480 MovieClip [menuGame] Frame 252
delete instTitleArt.onEnterFrame;
delete instTitleArtValue.onEnterFrame;
instBackAboutTo.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instBackAboutTo.onRollOut = function () {
activeChangeColor = -1;
};
instBackAboutTo.onEnterFrame = function () {
if (activeChangeColor == 0) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
totalNumberFramesAnimationMainMenu = 10;
instTitleSound.onEnterFrame = function () {
this._x = this._x + (318 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instTitleSoundValue.onEnterFrame = function () {
this._x = this._x - (318 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
Symbol 480 MovieClip [menuGame] Frame 262
delete instTitleSound.onEnterFrame;
delete instTitleSoundValue.onEnterFrame;
activeChangeColor = -1;
factorEscalaContraccion = 0;
instBackAboutTo.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instBackAboutTo.onRollOut = function () {
activeChangeColor = -1;
};
instBackAboutTo.onEnterFrame = function () {
if (activeChangeColor == 0) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
stop();
Symbol 480 MovieClip [menuGame] Frame 266
instBackAboutAdressTo.onRelease = function () {
_root.playGameSound(1, 1);
if (_root.gState == -1) {
gotoAndPlay ("mainMenu");
} else {
gotoAndPlay ("pause");
}
};
instTitleAboutAdress.instTextMenuEntry.text = "Contact";
instBackAboutAdressTo.instTextMenuEntry.text = "Exit";
instTitleAboutAdress._alpha = 0;
instAdressWebSite._alpha = 0;
instBackAboutAdressTo._alpha = 0;
totalNumberFramesAnimationMainMenu = 10;
instTitleAboutAdress.onEnterFrame = function () {
this._y = this._y + (70 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instAdressWebSite.onEnterFrame = function () {
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instBackAboutAdressTo.onEnterFrame = function () {
this._y = this._y - (100 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
Symbol 480 MovieClip [menuGame] Frame 277
delete instTitleAboutAdress.onEnterFrame;
delete instAdressWebSite.onEnterFrame;
delete instBackAboutAdressTo.onEnterFrame;
activeChangeColor = -1;
factorEscalaContraccion = 0;
instBackAboutAdressTo.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instBackAboutAdressTo.onRollOut = function () {
activeChangeColor = -1;
};
instBackAboutAdressTo.onEnterFrame = function () {
if (activeChangeColor == 0) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
stop();
Symbol 480 MovieClip [menuGame] Frame 283
stop();
Symbol 480 MovieClip [menuGame] Frame 290
instTitlePauseContinue.onRelease = function () {
_root.playGameSound(1, 1);
_root.changeGeneralState(8);
gotoAndPlay ("vacio");
};
instTitlePauseHelp.onRelease = function () {
_root.playGameSound(1, 1);
gotoAndPlay ("Help");
};
instTitlePauseGoMenu.onRelease = function () {
_root.playGameSound(1, 1);
_root.changeGeneralState(-1);
instMenuGame.instCaratula._alpha = 100;
instMenuGame.instCaratula._visible = true;
instMenuGame._visible = true;
_root.freeGameResources();
gotoAndPlay ("mainMenu");
};
instTitlePause.instTextMenuEntry.text = "Pause";
instTitlePauseContinue.instTextMenuEntry.text = "Continue";
instTitlePauseHelp.instTextMenuEntry.text = "Help";
instTitlePauseGoMenu.instTextMenuEntry.text = "Exit";
instTitlePause._alpha = 0;
instTitlePauseContinue._alpha = 0;
instTitlePauseHelp._alpha = 0;
instTitlePauseGoMenu._alpha = 0;
totalNumberFramesAnimationMainMenu = 10;
instTitlePause.onEnterFrame = function () {
this._y = this._y + (80 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instTitlePauseContinue.onEnterFrame = function () {
this._x = this._x + (400 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instTitlePauseHelp.onEnterFrame = function () {
this._x = this._x - (390 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instTitlePauseGoMenu.onEnterFrame = function () {
this._x = this._x + (400 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instBackgroundPause._alpha = 50;
Symbol 480 MovieClip [menuGame] Frame 300
delete instTitlePause.onEnterFrame;
delete instTitlePauseContinue.onEnterFrame;
delete instTitlePauseHelp.onEnterFrame;
delete instTitlePauseGoMenu.onEnterFrame;
Symbol 480 MovieClip [menuGame] Frame 301
activeChangeColor = -1;
factorEscalaContraccion = 0;
instTitlePauseContinue.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instTitlePauseContinue.onRollOut = function () {
activeChangeColor = -1;
};
instTitlePauseHelp.onRollOver = function () {
activeChangeColor = 1;
this.shiftInX = 0;
};
instTitlePauseHelp.onRollOut = function () {
activeChangeColor = -1;
};
instTitlePauseGoMenu.onRollOver = function () {
activeChangeColor = 2;
this.shiftInX = 0;
};
instTitlePauseGoMenu.onRollOut = function () {
activeChangeColor = -1;
};
instTitlePauseContinue.onEnterFrame = function () {
if (activeChangeColor == 0) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instTitlePauseHelp.onEnterFrame = function () {
if (activeChangeColor == 1) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instTitlePauseGoMenu.onEnterFrame = function () {
if (activeChangeColor == 2) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
stop();
Symbol 480 MovieClip [menuGame] Frame 307
stop();
Symbol 491 MovieClip [clipPause] Frame 1
stop();
Symbol 491 MovieClip [clipPause] Frame 10
stop();
Symbol 491 MovieClip [clipPause] Frame 20
stop();
Symbol 503 MovieClip [clipResultGame] Frame 1
instButtonExit1.onRelease = function () {
_root.instClipResultGame._alpha = 100;
_root.instClipResultGame._visible = false;
_root.changeGeneralState(-1);
_root.instClipPause._visible = false;
_root.instMenuGame.instCaratula._alpha = 100;
_root.instMenuGame.instCaratula._visible = true;
_root.instMenuGame._visible = true;
_root.instMenuGame.gotoAndPlay("mainMenu");
};
instButtonNext1.onRelease = function () {
if (_root.nmCurrentLevel < _root.nmNumberTotalOfLevels) {
_root.changeGeneralState(0);
gotoAndStop ("vacio");
} else {
gotoAndPlay ("gameEnd");
}
};
instTitleWinLevel.gotoAndStop("azul");
instTitleWinLevelTime.gotoAndStop("azul");
instButtonExit1.gotoAndStop("azul");
instButtonNext1.gotoAndStop("azul");
instTitleWinLevel.instTextMenuEntry.text = "Congratulations";
instTitleWinLevelTime.instTextMenuEntry.text = "";
instTitleWinLevelTime.instTextMenuEntryA.text = "LEVEL " + _root.nmCurrentLevel;
if (_root.listLevelScore[_root.nmCurrentLevel - 1] == _root.timeDoneInCurrentLevel) {
instTitleWinLevelTime._visible = true;
instTitleWinLevelTime.instTextMenuEntryB.text = "NEW TIME " + ((Math.floor(_root.listLevelScore[_root.nmCurrentLevel - 1] / 60) + ":") + Math.floor(_root.listLevelScore[_root.nmCurrentLevel - 1] % 60));
} else {
instTitleWinLevelTime._visible = false;
instTitleWinLevelTime.instTextMenuEntryB.text = "";
}
instButtonExit1.instTextCircleMiddle.text = "Exit";
instButtonNext1.instTextCircleMiddle.text = "Next";
instTitleWinLevel._alpha = 0;
instTitleWinLevelTime._alpha = 0;
instButtonExit1._alpha = 0;
instButtonNext1._alpha = 0;
totalNumberFramesAnimationMainMenu = 10;
instTitleWinLevel.onEnterFrame = function () {
this._y = this._y + (103 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instTitleWinLevelTime.onEnterFrame = function () {
this._x = this._x + (380 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instButtonExit1.onEnterFrame = function () {
this._x = this._x + (234 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instButtonNext1.onEnterFrame = function () {
this._x = this._x - (230 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
Symbol 503 MovieClip [clipResultGame] Frame 11
delete instTitleWinLevel.onEnterFrame;
delete instTitleWinLevelTime.onEnterFrame;
delete instButtonExit1.onEnterFrame;
delete instButtonNext1.onEnterFrame;
activeChangeColor = -1;
factorEscalaContraccion = 0;
instButtonExit1.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instButtonExit1.onRollOut = function () {
activeChangeColor = -1;
};
instButtonNext1.onRollOver = function () {
activeChangeColor = 1;
this.shiftInX = 0;
};
instButtonNext1.onRollOut = function () {
activeChangeColor = -1;
};
instButtonExit1.onEnterFrame = function () {
if (activeChangeColor == 0) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instButtonNext1.onEnterFrame = function () {
if (activeChangeColor == 1) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instPlayerResult1.gotoAndPlay("caminarTranquiloDerecha");
instPlayerResult1.iterator = 0;
instPlayerResult1.state = 0;
instPlayerResult1.counterFrames = 0;
counterTotalAnimationResult1Frames = 120;
instPlayerResult1.onEnterFrame = function () {
this.counterFrames++;
if (this.counterFrames < Math.floor(counterTotalAnimationResult1Frames / 4)) {
this._x = this._x + (170 / Math.floor(counterTotalAnimationResult1Frames / 4));
} else if (this.counterFrames <= ((2 * counterTotalAnimationResult1Frames) / 4)) {
if (this.state == 0) {
this.state = 1;
this.iterator = 0;
}
if (this.iterator < 3) {
this.iterator++;
this.gotoAndPlay("victoria");
}
} else if (this.counterFrames <= ((3 * counterTotalAnimationResult1Frames) / 4)) {
if (this.state == 1) {
this.state = 2;
this.iterator = 0;
}
if (this.iterator < 3) {
this.iterator++;
this.gotoAndPlay("caminarTranquiloIzquierda");
}
this._x = this._x - (170 / Math.floor(counterTotalAnimationResult1Frames / 4));
} else if (this.counterFrames <= counterTotalAnimationResult1Frames) {
if (this.state == 2) {
this.state = 3;
this.iterator = 0;
}
if (this.iterator < 3) {
this.iterator++;
this.gotoAndPlay("victoria");
}
} else {
if (this.state == 3) {
this.state = 4;
this.iterator = 0;
}
if (this.iterator < 3) {
this.iterator++;
this.gotoAndPlay("caminarTranquiloDerecha");
this.state = 0;
this.counterFrames = 0;
}
}
};
stop();
Symbol 503 MovieClip [clipResultGame] Frame 16
instButtonExit2.onRelease = function () {
_root.instClipResultGame._alpha = 100;
_root.instClipResultGame._visible = false;
_root.changeGeneralState(-1);
_root.instClipPause._visible = false;
_root.instMenuGame.instCaratula._alpha = 100;
_root.instMenuGame.instCaratula._visible = true;
_root.instMenuGame._visible = true;
_root.instMenuGame.gotoAndPlay("mainMenu");
};
instButtonNext2.onRelease = function () {
_root.changeGeneralState(0);
gotoAndStop ("vacio");
};
instTitleLoseByMonster.gotoAndStop("rojo");
instButtonExit2.gotoAndStop("rojo");
instButtonNext2.gotoAndStop("rojo");
instTitleLoseByMonster.instTextMenuEntry.text = "Eated by Monster";
instButtonExit2.instTextCircleMiddle.text = "Exit";
instButtonNext2.instTextCircleMiddle.text = "Retry";
instTitleLoseByMonster._alpha = 0;
instButtonExit2._alpha = 0;
instButtonNext2._alpha = 0;
totalNumberFramesAnimationMainMenu = 10;
instTitleLoseByMonster.onEnterFrame = function () {
this._y = this._y + (103 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instButtonExit2.onEnterFrame = function () {
this._x = this._x + (234 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instButtonNext2.onEnterFrame = function () {
this._x = this._x - (230 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
Symbol 503 MovieClip [clipResultGame] Frame 26
delete instTitleLoseByMonster.onEnterFrame;
delete instButtonExit2.onEnterFrame;
delete instButtonNext2.onEnterFrame;
activeChangeColor = -1;
factorEscalaContraccion = 0;
instButtonExit2.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instButtonExit2.onRollOut = function () {
activeChangeColor = -1;
};
instButtonNext2.onRollOver = function () {
activeChangeColor = 1;
this.shiftInX = 0;
};
instButtonNext2.onRollOut = function () {
activeChangeColor = -1;
};
instButtonExit2.onEnterFrame = function () {
if (activeChangeColor == 0) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instButtonNext2.onEnterFrame = function () {
if (activeChangeColor == 1) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instMonsterResult2.gotoAndPlay("comerGuy");
stop();
Symbol 503 MovieClip [clipResultGame] Frame 30
instButtonExit3.onRelease = function () {
_root.instClipResultGame._alpha = 100;
_root.instClipResultGame._visible = false;
_root.changeGeneralState(-1);
_root.instClipPause._visible = false;
_root.instMenuGame.instCaratula._alpha = 100;
_root.instMenuGame.instCaratula._visible = true;
_root.instMenuGame._visible = true;
_root.instMenuGame.gotoAndPlay("mainMenu");
};
instButtonNext3.onRelease = function () {
_root.changeGeneralState(0);
gotoAndStop ("vacio");
};
instTitleLoseByHunter.gotoAndStop("verde");
instButtonExit3.gotoAndStop("verde");
instButtonNext3.gotoAndStop("verde");
instTitleLoseByHunter.instTextMenuEntry.text = "Hunter catch Monster";
instButtonExit3.instTextCircleMiddle.text = "Exit";
instButtonNext3.instTextCircleMiddle.text = "Retry";
instTitleLoseByHunter._alpha = 0;
instButtonExit3._alpha = 0;
instButtonNext3._alpha = 0;
totalNumberFramesAnimationMainMenu = 10;
instTitleLoseByHunter.onEnterFrame = function () {
this._y = this._y + (103 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instButtonExit3.onEnterFrame = function () {
this._x = this._x + (234 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instButtonNext3.onEnterFrame = function () {
this._x = this._x - (230 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
Symbol 503 MovieClip [clipResultGame] Frame 40
delete instTitleLoseByHunter.onEnterFrame;
delete instButtonExit3.onEnterFrame;
delete instButtonNext3.onEnterFrame;
activeChangeColor = -1;
factorEscalaContraccion = 0;
instButtonExit3.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instButtonExit3.onRollOut = function () {
activeChangeColor = -1;
};
instButtonNext3.onRollOver = function () {
activeChangeColor = 1;
this.shiftInX = 0;
};
instButtonNext3.onRollOut = function () {
activeChangeColor = -1;
};
instButtonExit3.onEnterFrame = function () {
if (activeChangeColor == 0) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instButtonNext3.onEnterFrame = function () {
if (activeChangeColor == 1) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
instHunterResult3.gotoAndPlay("victoria");
stop();
Symbol 503 MovieClip [clipResultGame] Frame 44
instButtonGoCredits.onRelease = function () {
_root.instClipResultGame._alpha = 100;
_root.instClipResultGame._visible = false;
_root.changeGeneralState(-1);
_root.instClipPause._visible = false;
_root.instMenuGame.instCaratula._alpha = 100;
_root.instMenuGame.instCaratula._visible = true;
_root.instMenuGame._visible = true;
_root.instMenuGame.gotoAndPlay("about");
};
if (_root.nmNumberTotalOfLevels == 50) {
instTitleFinalVictory.instTextMenuEntry.text = "Game Complete";
} else {
instTitleFinalVictory.instTextMenuEntry.text = "Demo Complete";
}
instButtonGoCredits.instTextCircleMiddle.text = "Next";
instTitleFinalVictory._alpha = 0;
instButtonGoCredits._alpha = 0;
totalNumberFramesAnimationMainMenu = 10;
instTitleFinalVictory.onEnterFrame = function () {
this._y = this._y + (103 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instButtonGoCredits.onEnterFrame = function () {
this._y = this._y - (130 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
Symbol 503 MovieClip [clipResultGame] Frame 54
delete instTitleFinalVictory.onEnterFrame;
delete instButtonGoCredits.onEnterFrame;
activeChangeColor = -1;
factorEscalaContraccion = 0;
if (_root.nmNumberTotalOfLevels != 50) {
instTextBuy.text = "Enjoy the 50 levels of the complete game. ";
}
instButtonGoCredits.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instButtonGoCredits.onRollOut = function () {
activeChangeColor = -1;
};
instButtonGoCredits.onEnterFrame = function () {
if (activeChangeColor == 0) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
waypoints = new Array([390, 284], [390, 132], [68, 132], [68, 284]);
instPlayerResultEnd.gotoAndPlay("caminarTranquiloDerecha");
instPlayerResultEnd.iterator = 0;
instPlayerResultEnd.state = 0;
instPlayerResultEnd.currentWaypoint = 0;
instPlayerResultEnd.setFlagActiveAnsiety = 0;
instMonsterResultEnd.gotoAndPlay("caminarTranquiloDerecha");
instMonsterResultEnd.iterator = 0;
instMonsterResultEnd.state = 0;
instMonsterResultEnd.currentWaypoint = 0;
instMonsterResultEnd.setFlagActiveAnsiety = 0;
instHunterResultEnd.gotoAndPlay("caminarTranquiloDerecha");
instHunterResultEnd.iterator = 0;
instHunterResultEnd.state = 0;
instHunterResultEnd.currentWaypoint = 0;
instHunterResultEnd.setFlagActiveAnsiety = 0;
stepLength = 4;
ansietyActive = 0;
instPlayerResultEnd.onEnterFrame = function () {
var _local3 = Math.abs(this._x - waypoints[this.currentWaypoint][0]) + Math.abs(this._y - waypoints[this.currentWaypoint][1]);
if (_local3 < (stepLength * 2)) {
this._x = waypoints[this.currentWaypoint][0];
this._y = waypoints[this.currentWaypoint][1];
this.currentWaypoint++;
this.iterator = 0;
if (this.currentWaypoint >= waypoints.length) {
this.currentWaypoint = 0;
}
}
if (this.setFlagActiveAnsiety == 1) {
this.setFlagActiveAnsiety = 0;
this.iterator = 0;
}
this.iterator++;
var _local4 = _root.accionCalcularDireccionCoordenadas(this._x, this._y, waypoints[this.currentWaypoint][0], waypoints[this.currentWaypoint][1]);
switch (_local4) {
case 0 :
if (this.iterator < 3) {
if (ansietyActive == 1) {
this.gotoAndPlay("caminarTranquiloArriba");
} else {
this.gotoAndPlay("caminarMiedoArriba");
}
}
this._y = this._y - stepLength;
break;
case 1 :
if (this.iterator < 3) {
if (ansietyActive == 1) {
this.gotoAndPlay("caminarTranquiloAbajo");
} else {
this.gotoAndPlay("caminarMiedoAbajo");
}
}
this._y = this._y + stepLength;
break;
case 2 :
if (this.iterator < 3) {
if (ansietyActive == 1) {
this.gotoAndPlay("caminarTranquiloDerecha");
} else {
this.gotoAndPlay("caminarMiedoDerecha");
}
}
this._x = this._x + stepLength;
break;
case 3 :
if (this.iterator < 3) {
if (ansietyActive == 1) {
this.gotoAndPlay("caminarTranquiloIzquierda");
} else {
this.gotoAndPlay("caminarMiedoIzquierda");
}
}
this._x = this._x - stepLength;
break;
}
};
instPlayerResultEnd.onRollOver = function () {
stepLength = 5;
ansietyActive = 1;
this.setFlagActiveAnsiety = 1;
instMonsterResultEnd.setFlagActiveAnsiety = 1;
instHunterResultEnd.setFlagActiveAnsiety = 1;
};
instPlayerResultEnd.onRollOut = function () {
stepLength = 4;
ansietyActive = 0;
this.setFlagActiveAnsiety = 1;
instMonsterResultEnd.setFlagActiveAnsiety = 1;
instHunterResultEnd.setFlagActiveAnsiety = 1;
};
instMonsterResultEnd.onEnterFrame = function () {
var _local3 = Math.abs(this._x - waypoints[this.currentWaypoint][0]) + Math.abs(this._y - waypoints[this.currentWaypoint][1]);
if (_local3 < (stepLength * 2)) {
this._x = waypoints[this.currentWaypoint][0];
this._y = waypoints[this.currentWaypoint][1];
this.currentWaypoint++;
this.iterator = 0;
if (this.currentWaypoint >= waypoints.length) {
this.currentWaypoint = 0;
}
}
if (this.setFlagActiveAnsiety == 1) {
this.setFlagActiveAnsiety = 0;
this.iterator = 0;
}
this.iterator++;
var _local4 = _root.accionCalcularDireccionCoordenadas(this._x, this._y, waypoints[this.currentWaypoint][0], waypoints[this.currentWaypoint][1]);
switch (_local4) {
case 0 :
if (this.iterator < 3) {
if (ansietyActive == 1) {
this.gotoAndPlay("caminarTranquiloArriba");
} else {
this.gotoAndPlay("caminarMiedoArriba");
}
}
this._y = this._y - stepLength;
break;
case 1 :
if (this.iterator < 3) {
if (ansietyActive == 1) {
this.gotoAndPlay("caminarTranquiloAbajo");
} else {
this.gotoAndPlay("caminarMiedoAbajo");
}
}
this._y = this._y + stepLength;
break;
case 2 :
if (this.iterator < 3) {
if (ansietyActive == 1) {
this.gotoAndPlay("caminarTranquiloDerecha");
} else {
this.gotoAndPlay("caminarMiedoDerecha");
}
}
this._x = this._x + stepLength;
break;
case 3 :
if (this.iterator < 3) {
if (ansietyActive == 1) {
this.gotoAndPlay("caminarTranquiloIzquierda");
} else {
this.gotoAndPlay("caminarMiedoIzquierda");
}
}
this._x = this._x - stepLength;
break;
}
};
instMonsterResultEnd.onRollOver = function () {
stepLength = 6;
ansietyActive = 1;
this.setFlagActiveAnsiety = 1;
instPlayerResultEnd.setFlagActiveAnsiety = 1;
instHunterResultEnd.setFlagActiveAnsiety = 1;
};
instMonsterResultEnd.onRollOut = function () {
stepLength = 4;
ansietyActive = 0;
this.setFlagActiveAnsiety = 1;
instPlayerResultEnd.setFlagActiveAnsiety = 1;
instHunterResultEnd.setFlagActiveAnsiety = 1;
};
instHunterResultEnd.onEnterFrame = function () {
var _local3 = Math.abs(this._x - waypoints[this.currentWaypoint][0]) + Math.abs(this._y - waypoints[this.currentWaypoint][1]);
if (_local3 < (stepLength * 2)) {
this._x = waypoints[this.currentWaypoint][0];
this._y = waypoints[this.currentWaypoint][1];
this.currentWaypoint++;
this.iterator = 0;
if (this.currentWaypoint >= waypoints.length) {
this.currentWaypoint = 0;
}
}
if (this.setFlagActiveAnsiety == 1) {
this.setFlagActiveAnsiety = 0;
this.iterator = 0;
}
this.iterator++;
var _local4 = _root.accionCalcularDireccionCoordenadas(this._x, this._y, waypoints[this.currentWaypoint][0], waypoints[this.currentWaypoint][1]);
switch (_local4) {
case 0 :
if (this.iterator < 3) {
if (ansietyActive == 1) {
this.gotoAndPlay("caminarTranquiloArriba");
} else {
this.gotoAndPlay("caminarMiedoArriba");
}
}
this._y = this._y - stepLength;
break;
case 1 :
if (this.iterator < 3) {
if (ansietyActive == 1) {
this.gotoAndPlay("caminarTranquiloAbajo");
} else {
this.gotoAndPlay("caminarMiedoAbajo");
}
}
this._y = this._y + stepLength;
break;
case 2 :
if (this.iterator < 3) {
if (ansietyActive == 1) {
this.gotoAndPlay("caminarTranquiloDerecha");
} else {
this.gotoAndPlay("caminarMiedoDerecha");
}
}
this._x = this._x + stepLength;
break;
case 3 :
if (this.iterator < 3) {
if (ansietyActive == 1) {
this.gotoAndPlay("caminarTranquiloIzquierda");
} else {
this.gotoAndPlay("caminarMiedoIzquierda");
}
}
this._x = this._x - stepLength;
break;
}
};
instHunterResultEnd.onRollOver = function () {
stepLength = 8;
ansietyActive = 1;
this.setFlagActiveAnsiety = 1;
instPlayerResultEnd.setFlagActiveAnsiety = 1;
instMonsterResultEnd.setFlagActiveAnsiety = 1;
};
instHunterResultEnd.onRollOut = function () {
stepLength = 4;
ansietyActive = 0;
this.setFlagActiveAnsiety = 1;
instPlayerResultEnd.setFlagActiveAnsiety = 1;
instMonsterResultEnd.setFlagActiveAnsiety = 1;
};
stop();
Symbol 519 MovieClip Frame 1
stop();
Symbol 519 MovieClip Frame 2
stop();
Symbol 519 MovieClip Frame 3
stop();
Symbol 519 MovieClip Frame 4
stop();
Symbol 519 MovieClip Frame 5
stop();
Symbol 520 MovieClip Frame 1
instLetreroLevel.onRelease = function () {
this._alpha = 100;
gotoAndPlay ("Seccion2");
};
instLetreroLevel.gotoAndStop(Math.floor(_root.nmCurrentLevel / 10) + 1);
instLetreroLevel.instTextLevel.text = "Level " + (_root.nmCurrentLevel + 1);
if (!isNaN(_root.listLevelScore[_root.nmCurrentLevel])) {
instLetreroLevel.instTextLevelTime.text = (("Time =" + Math.floor(_root.listLevelScore[_root.nmCurrentLevel] / 60)) + ":") + Math.floor(_root.listLevelScore[_root.nmCurrentLevel] % 60);
} else {
instLetreroLevel.instTextLevelTime.text = "New Level";
}
instLetreroLevel._alpha = 0;
totalNumberFramesAnimationMainMenu = 20;
instLetreroLevel.onEnterFrame = function () {
this._x = this._x - (480 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
Symbol 520 MovieClip Frame 21
delete instLetreroLevel.onEnterFrame;
activeChangeColor = -1;
factorEscalaContraccion = 0;
instLetreroLevel.onRollOver = function () {
activeChangeColor = 0;
this.shiftInX = 0;
};
instLetreroLevel.onRollOut = function () {
activeChangeColor = -1;
};
instLetreroLevel.onEnterFrame = function () {
if (activeChangeColor == 0) {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._width = this._width - factorEscalaContraccion;
this.shiftInX = this.shiftInX + (factorEscalaContraccion / 2);
this._x = this._x + (factorEscalaContraccion / 2);
if (this._width < (((this._width + (this.shiftInX * 2)) * 60) / 100)) {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
} else {
this._alpha = 100;
this._width = this._width + (2 * this.shiftInX);
this._x = this._x - this.shiftInX;
this.shiftInX = 0;
}
};
stop();
Symbol 520 MovieClip Frame 22
delete instLetreroLevel.onEnterFrame;
totalNumberFramesAnimationMainMenu = 20;
instLetreroLevel.onEnterFrame = function () {
this._x = this._x - (480 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha - (100 / totalNumberFramesAnimationMainMenu);
if (this._alpha < 5) {
_root.gIterator = 5;
this._visible = false;
}
};
Symbol 520 MovieClip Frame 44
stop();
Symbol 522 MovieClip Frame 1
stop();
Symbol 522 MovieClip Frame 5
instTutorialRetulo.instTextMenuEntry.text = "TUTORIAL";
instTutorialRetulo._alpha = 0;
totalNumberFramesAnimationMainMenu = 20;
instTutorialRetulo.onEnterFrame = function () {
this._y = this._y - (120 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
instTutorialTextbox1.instSuperLongText.text = "YOU THIS ARE LITTLE GUY";
instTutorialTextbox1._alpha = 0;
totalNumberFramesAnimationMainMenu = 20;
instTutorialTextbox1.onEnterFrame = function () {
this._y = this._y + (106 / totalNumberFramesAnimationMainMenu);
this._alpha = this._alpha + (100 / totalNumberFramesAnimationMainMenu);
};
Instance of Symbol 33 MovieClip "instTutorialTextbox1" in Symbol 522 MovieClip Frame 5
/* no clip actions */
Symbol 522 MovieClip Frame 26
delete instTutorialRetulo.onEnterFrame;
stop();
delete instTutorialTextbox1.onEnterFrame;
instClipFlecha._x = (_root.world[_root.nmGamePlayer]._x + _root.world[_root.nmGamePlayer]._width) + (instClipFlecha._width / 2);
instClipFlecha._y = (_root.world[_root.nmGamePlayer]._y + _root.world[_root.nmGamePlayer]._height) + (instClipFlecha._height / 2);
instClipFlecha.gotoAndStop(1);
instClipFlecha.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
instClipFlecha._x = (_root.world[_root.nmGamePlayer]._x + _root.world[_root.nmGamePlayer]._width) + (instClipFlecha._width / 2);
instClipFlecha._y = (_root.world[_root.nmGamePlayer]._y + _root.world[_root.nmGamePlayer]._height) + (instClipFlecha._height / 2);
};
stop();
Symbol 522 MovieClip Frame 38
instTutorialTextbox2.instSuperLongText.text = "THIS IS THE MONSTER";
instClipFlecha2._x = (_root.world[_root.nmMonster]._x + _root.world[_root.nmMonster]._width) + (instClipFlecha2._width / 2);
instClipFlecha2._y = (_root.world[_root.nmMonster]._y + _root.world[_root.nmMonster]._height) + (instClipFlecha2._height / 2);
instClipFlecha2.gotoAndStop(1);
instClipFlecha2.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
this._x = (_root.world[_root.nmMonster]._x + _root.world[_root.nmMonster]._width) + (instClipFlecha2._width / 2);
this._y = (_root.world[_root.nmMonster]._y + _root.world[_root.nmMonster]._height) + (instClipFlecha2._height / 2);
};
stop();
Instance of Symbol 33 MovieClip "instTutorialTextbox2" in Symbol 522 MovieClip Frame 38
/* no clip actions */
Symbol 522 MovieClip Frame 53
instTutorialTextbox3.instSuperLongText.text = "THIS IS THE DOOR WHERE THE MONSTER MUST GO";
instClipFlecha3.gotoAndStop(1);
instClipFlecha3.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
};
stop();
Instance of Symbol 33 MovieClip "instTutorialTextbox3" in Symbol 522 MovieClip Frame 53
/* no clip actions */
Symbol 522 MovieClip Frame 68
instTutorialTextbox4.instSuperLongText.text = "PRESS WITH MOUSE BUTTON ON THE ARROW TO MOVE THERE";
instClipFlecha4.gotoAndStop(1);
instClipFlecha4.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
};
stop();
Instance of Symbol 33 MovieClip "instTutorialTextbox4" in Symbol 522 MovieClip Frame 68
/* no clip actions */
Symbol 522 MovieClip Frame 83
instClipFlecha4b.gotoAndStop(1);
instClipFlecha4b.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
if ((_root.world[_root.nmGamePlayer].listToSearchObjective.length == 0) && (_root.listObjetivesMouse.length == 0)) {
_root.instClipTutorialGrafico.gotoAndPlay("level1PickUpTheRock");
_root.instClipTutorialGrafico.state = 5;
}
};
stop();
Symbol 522 MovieClip Frame 99
instTutorialTextbox5.instSuperLongText.text = "NOW, PICK UP THE ROCK PRESSING WITH THE MOUSE BUTTON";
instClipFlecha5.gotoAndStop(1);
instClipFlecha5.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
};
stop();
Symbol 522 MovieClip Frame 114
instClipFlecha5b.gotoAndStop(1);
instClipFlecha5b.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
if ((_root.world[_root.nmGamePlayer].listToSearchObjective.length == 0) && (_root.listObjetivesMouse.length == 0)) {
_root.instClipTutorialGrafico.gotoAndPlay("level1ReleaseTheRock");
_root.instClipTutorialGrafico.state = 6;
_root.world[_root.nmMonster].speedMov = 0;
}
};
stop();
Symbol 522 MovieClip Frame 129
instTutorialTextbox7.instSuperLongText.text = "MOVE THE GUY AT THIS POSITION AND HE WILL RELEASE THE ROCK";
instClipFlecha7.gotoAndStop(1);
instClipFlecha7.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
};
stop();
Symbol 522 MovieClip Frame 143
instClipFlecha7b.gotoAndStop(1);
instClipFlecha7b.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 10) {
this._alpha = 100;
}
if ((_root.world[_root.nmGamePlayer].listToSearchObjective.length == 0) && (_root.listObjetivesMouse.length == 0)) {
_root.instClipTutorialGrafico.gotoAndPlay("waitMonsterToDoor");
_root.instClipTutorialGrafico.state = 7;
_root.world[_root.nmMonster].speedMov = 2;
}
};
stop();
Symbol 522 MovieClip Frame 156
instTutorialTextbox7.instSuperLongText.text = "THE MONSTER WON'T CATCH YOU AND IT WILL GO TO THE DOOR";
instTutorialTextbox7.onEnterFrame = function () {
if (_root.gState != 2) {
_root.instClipTutorialGrafico.instTutorialRetulo._visible = false;
_root.instClipTutorialGrafico._visible = false;
_root.instClipTutorialGrafico.gotoAndStop("vacio");
}
};
stop();