Combined Code
movieClip 2 gameLoaderMC {
frame 1 {
function checkAds() {
var v2 = new Array();
var v3 = '';
showAds = 1;
if (_root._url) {
v2 = _root._url.split('://');
if (v2.length > 1) {
v3 = (v2[1].split('/'))[0];
} else {
v3 = (v2[0].split('/'))[0];
}
if (v3 == 'armorgames.com') {
showAds = 0;
} else {
v2 = new Array();
v2 = v3.split('.');
v2.shift();
v3 = v2.join('.');
if (v3 == 'armorgames.com') {
showAds = 0;
}
}
}
if (_root._url == 'file:///D|/FireVictory/Crypt/Game/Game.swf') {
showAds = 0;
}
if (showAds) {
attachMovie('preloadAdsMC', 'ads_mc', 100);
ads_mc._x = 170;
ads_mc._y = 95;
}
}
function showProgress() {
var v11;
var v2;
var v5;
var v3;
var v4;
var v8 = new flash.geom.Matrix();
var v6 = 1;
var v7 = 1;
var v10 = 0;
var v9 = 0;
++frame;
switch (proceso) {
case 1:
v11 = _parent.getBytesLoaded() / _parent.getBytesTotal();
if (v11 > frame / minDF) {
percent = (frame / minDF) * descargaP;
} else {
percent = v11 * descargaP;
}
if (v11 >= 1) {
if (descargaP > percent) {
descargaP = percent;
}
proceso = 2;
_parent.gotoAndStop(4);
}
break;
case 2:
attachMovie('terrainMC', 'terrain_mc', 9);
attachMovie('objectMC', 'object_mc', 10);
object_mc.gotoAndStop(10);
terrain_mc.gotoAndStop(waterBitmap);
terrain_mc.ani_mc.gotoAndStop(1);
processX = 1;
proceso = 3;
totalBitmaps = terrain_mc.ani_mc._totalframes + terrainLoad.length;
v2 = 0;
while (v2 < objectLoad.length) {
if (objectLoad[v2].length > 0) {
totalBitmaps += objectLoad[v2].length - 2;
} else {
++totalBitmaps;
}
++v2;
}
break;
case 3:
v2 = processX;
while (v2 < processX + processMax) {
if (v2 <= terrain_mc.ani_mc._totalframes) {
terrain_mc.ani_mc.gotoAndStop(v2);
_parent.waterBitmap[v2 - 1] = new flash.display.BitmapData(terrainTextureSize, terrainTextureSize, false, 0);
_parent.waterBitmap[v2 - 1].draw(terrain_mc);
++bitmapsCargados;
} else {
break;
}
++v2;
}
processX = v2;
if (processX > terrain_mc.ani_mc._totalframes) {
processX = 0;
proceso = 4;
}
break;
case 4:
v2 = processX;
while (v2 < processX + processMax) {
if (v2 < terrainLoad.length) {
v5 = terrainLoad[v2];
if (v5 != waterFrame) {
terrain_mc.gotoAndStop(v5);
_parent.terrainBitmap[v5] = new flash.display.BitmapData(terrainTextureSize, terrainTextureSize, true, 0);
_parent.terrainBitmap[v5].draw(terrain_mc);
++bitmapsCargados;
}
} else {
break;
}
++v2;
}
processX = v2;
if (processX >= terrainLoad.length) {
processX = 0;
processY = 0;
proceso = 5;
}
break;
case 5:
v2 = 0;
while (v2 < processMax) {
if (processY >= objectLoad.length) {
v2 += processMax;
proceso = 6;
break;
}
if (objectLoad[processY].length > 0) {
v5 = objectLoad[processY][0];
} else {
v5 = objectLoad[processY];
}
if (object_mc._currentframe != v5) {
object_mc.gotoAndStop(v5);
processX = -1;
if (objectLoad[processY].length > 0) {
processS = 'f-' + objectLoad[processY][0] + 'c-' + (objectLoad[processY][objectLoad[processY].length - 1].split(',')).join('-');
} else {
processS = 'f-' + v5 + 'c-';
}
_parent.objectBitmap[processS] = new Array();
_parent.objectaX[processS] = new Array();
_parent.objectaY[processS] = new Array();
_parent.objectAncho[processS] = new Array();
_parent.objectAlto[processS] = new Array();
if (objectLoad[processY].length > 0) {
v2 += processMax;
break;
}
}
if (processX == -1) {
processX = 0;
if (objectLoad[processY].length > 0) {
if (objectLoad[processY][objectLoad[processY].length - 1] != '') {
object_mc.object_mc.setConfig(objectLoad[processY][objectLoad[processY].length - 1]);
v2 += processMax;
break;
}
}
}
if (v2 < processMax) {
if (objectLoad[processY].length > 0) {
v3 = objectLoad[processY][processX + 1];
object_mc.object_mc.goTo(v3);
if (object_mc.shadow_mc) {
object_mc.shadow_mc.goTo(v3);
}
_parent.objectBitmap[processS][v3] = new flash.display.BitmapData(Math.ceil(object_mc._width), Math.ceil(object_mc._height), true, 0);
v4 = object_mc.getBounds(object_mc);
v8 = new flash.geom.Matrix();
v8.translate(-Math.ceil(v4.xMin), -Math.ceil(v4.yMin));
_parent.objectBitmap[processS][v3].draw(object_mc, v8);
_parent.objectaX[processS][v3] = Math.ceil(v4.xMin);
_parent.objectaY[processS][v3] = Math.ceil(v4.yMin);
_parent.objectAncho[processS][v3] = Math.ceil(object_mc._width);
_parent.objectAlto[processS][v3] = Math.ceil(object_mc._height);
++bitmapsCargados;
if (object_mc._width / 200 > v6) {
v6 = Math.ceil(object_mc._width / 200);
}
if (object_mc._height / 200 > v7) {
v7 = Math.ceil(object_mc._height / 200);
}
v10 = Math.floor(v4.xMin / 200);
v9 = Math.floor(v4.yMin / 200);
++processX;
v3 = objectLoad[processY].length - 2;
if (processX >= v3) {
_parent.aVZFill[v5] = new Array(v10, v9, v6, v7);
v6 = 1;
v7 = 1;
v10 = 0;
v9 = 0;
++processY;
}
} else {
v3 = 1;
_parent.objectBitmap[processS][v3] = new flash.display.BitmapData(Math.ceil(object_mc._width), Math.ceil(object_mc._height), true, 0);
v4 = object_mc.getBounds(object_mc);
v8 = new flash.geom.Matrix();
v8.translate(-Math.ceil(v4.xMin), -Math.ceil(v4.yMin));
_parent.objectBitmap[processS][v3].draw(object_mc, v8);
_parent.objectaX[processS][v3] = Math.ceil(v4.xMin);
_parent.objectaY[processS][v3] = Math.ceil(v4.yMin);
_parent.objectAncho[processS][v3] = Math.ceil(object_mc._width);
_parent.objectAlto[processS][v3] = Math.ceil(object_mc._height);
++bitmapsCargados;
v6 = Math.ceil(object_mc._width / 200);
v7 = Math.ceil(object_mc._height / 200);
v10 = Math.floor(v4.xMin / 200);
v9 = Math.floor(v4.yMin / 200);
_parent.aVZFill[v5] = new Array(v10, v9, v6, v7);
v6 = 1;
v7 = 1;
v10 = 0;
v9 = 0;
++processY;
}
}
++v2;
}
break;
case 6:
terrain_mc.removeMovieClip();
object_mc.removeMovieClip();
_parent.loadStaticBitmaps();
proceso = 7;
break;
case 7:
if (_parent.finCarga) {
if (showAds) {
attachMovie('UILoadPlayButtonMC', 'play_mc', 101);
play_mc._x = 206;
play_mc._y = 393;
play_mc.onRelease = function () {
showSplashScreens();
};
} else {
showSplashScreens();
}
}
proceso = 8;
}
if (proceso > 1) {
percent = (bitmapsCargados / totalBitmaps) * (1 - descargaP) + descargaP;
}
if (proceso < 7) {
pbc_mc.setPorc(percent * 100);
}
}
function showSplashScreens() {
ads_mc.quitarAds();
ads_mc.removeMovieClip();
fondoc_mc.removeMovieClip();
logoc_mc.removeMovieClip();
pbc_mc.removeMovieClip();
celc_mc.removeMovieClip();
bordes_mc.removeMovieClip();
_parent.attachMovie('ag_intro_mc', 'ag_introi_mc', 100);
_parent.ag_introi_mc._x = 320;
_parent.ag_introi_mc._y = 240;
this.removeMovieClip();
}
var proceso = 1;
var processX = 1;
var processY = -1;
var processMax = 30;
var processS = '';
var waterBitmap = 4;
var terrainTextureSize = 200;
var terrainLoad = new Array(1, 2, 3, 9, 10, 11, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171);
var objectLoad = new Array(18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 50, 51, 52, 53, 54, 55, 58, 59, 60, 62, 63, 64, 65, 66, 68, 69, 70, 72, 73, 74, 75, 76, 77, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 148, 150, 151, 152, 153, 154, 155, 160, 161, 162, 163, 164, 165, 170, 171, 172, 173, 174, 175, 176, 177, 178, 180, 181, 182, 183, 184, 185, 186, 187, 191, 192, 193, 194, 195, 196, 197, 201, 202, 203, 204, [28, 1, 2, 3, 4, ''], [29, 1, 2, 3, 4, ''], [30, 1, 2, 3, 4, ''], [31, 1, 2, 3, 4, ''], [32, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, ''], [33, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, ''], [34, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, ''], [35, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, ''], [36, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, ''], [37, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, ''], [56, 1, 2, 3, 4, ''], [57, 1, 2, 3, 4, ''], [61, 1, 2, 3, 4, ''], [67, 1, 2, 3, 4, 5, ''], [71, 1, 2, 3, 4, 5, ''], [78, 1, 2, 3, 4, 5, 6, ''], [79, 1, 2, 3, 4, 5, 6, ''], [96, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, ''], [117, 1, 2, 3, 4, 5, ''], [146, 1, 2, 3, 4, 5, 6, ''], [147, 1, 2, 3, 4, 5, 6, ''], [156, 1, 2, 3, 4, 5, 6, 7, 8, ''], [157, 1, 2, 3, 4, 5, 6, 7, ''], [190, 1, 2, 3, 4, 5, ''], [200, 1, 2, 3, 4, 5, ''], [205, 1, 2, ''], [206, 1, 2, 3, 4, 5, ''], 207, 208, 224, [225, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, ''], [226, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ''], [228, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, ''], [229, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, ''], [230, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, ''], [231, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, ''], [232, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, ''], [233, 1, 2, 3, 4, 5, 6, 7, 8, ''], [234, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, ''], [235, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, ''], [237, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, ''], [238, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, ''], [239, 1, 2, 3, 4, 5, ''], [240, 1, 2, 3, 4, 5, 6, 7, ''], [241, 1, 2, 3, 4, 5, ''], [242, 1, 2, 3, 4, 5, ''], [243, 1, 2, 3, 4, 5, ''], [244, 1, 2, 3, 4, 5, ''], [245, 1, 2, 3, 4, 5, ''], [246, 1, 2, 3, 4, 5, ''], [247, 1, 2, 3, 4, 5, ''], [248, 1, 2, 3, 4, 5, ''], [249, 1, 2, 3, 4, 5, ''], [250, 1, 2, 3, 4, 5, 6, 7, ''], [251, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, ''], [252, 1, 2, 3, 4, 5, 6, 7, 8, '']);
var percent = 0;
var frame = 0;
var descargaP = 0.85;
var minDF = 25;
var bitmapsCargados = 0;
var totalBitmaps = 1;
var showAds = 1;
attachMovie('fondoCompletoMC', 'fondoc_mc', 20);
attachMovie('IULogoMC', 'logoc_mc', 21);
attachMovie('ProgressBarMC', 'pbc_mc', 22);
attachMovie('CelosiaBarraMC', 'celc_mc', 23);
attachMovie('bordesMC', 'bordes_mc', 24);
checkAds();
attachMovie('agLogoReducidoMC', 'aglogo_mc', 110);
aglogo_mc._x = 585;
aglogo_mc._y = 437;
aglogo_mc.onRelease = function () {
getURL('http://armor.ag/MoreGames', '_blank');
};
logoc_mc._x = 88;
logoc_mc._y = 39;
pbc_mc._x = 195;
pbc_mc._y = 420;
pbc_mc._width = 250;
pbc_mc._height = 10;
celc_mc._x = pbc_mc._x;
celc_mc._y = pbc_mc._y;
}
}
// unknown tag 88 length 23
movieClip 6 UILoadPlayButtonMC {
frame 1 {
stop();
onRollOver = function () {
gotoAndStop(2);
};
onDragOver = function () {
gotoAndStop(2);
};
onRollOut = function () {
gotoAndStop(1);
};
onDragOut = function () {
gotoAndStop(1);
};
}
}
movieClip 9 UILoadMapMCPlay {
frame 1 {
stop();
onRollOver = function () {
gotoAndStop(2);
};
onDragOver = function () {
gotoAndStop(2);
};
onRollOut = function () {
gotoAndStop(1);
};
onDragOut = function () {
gotoAndStop(1);
};
}
}
movieClip 11 properSlotMC {
}
movieClip 12 fadeOutMC {
frame 1 {
_alpha = 100;
}
frame 2 {
_alpha = 85;
}
frame 3 {
_alpha = 70;
}
frame 4 {
_alpha = 55;
}
frame 5 {
_alpha = 40;
}
frame 6 {
_alpha = 25;
}
frame 7 {
_alpha = 10;
}
frame 8 {
this.removeMovieClip();
}
}
movieClip 13 sonidoFadeMC {
frame 1 {
_parent.snd_mc.volFade -= 5;
if (_parent.snd_mc.volFade < 2) {
_parent.snd_mc.stopMusic();
_parent.snd_mc.volFade = 100;
_parent.snd_mc.setMusicVolume(_parent.snd_mc.volMusic);
_parent.musicList.splice(0, _parent.musicList.length);
_parent.musicFinished();
} else {
_parent.snd_mc.setMusicVolume(_parent.snd_mc.volMusic);
}
}
}
movieClip 14 sonidoSilencioMC {
frame 1 {
var tIni;
}
frame 1 {
if (tIni == undefined) {
tIni = getTimer();
}
if (getTimer() - tIni > 15000) {
_parent.musicFinished();
}
}
}
movieClip 17 mensajeCentradoMC {
frame 1 {
function actualizar() {
if (texto != undefined) {
texto_txt.text = texto.toUpperCase();
}
}
var texto;
_y = 408;
actualizar();
}
frame 125 {
_alpha = 90;
}
frame 126 {
_alpha = 80;
}
frame 127 {
_alpha = 70;
}
frame 128 {
_alpha = 60;
}
frame 129 {
_alpha = 50;
}
frame 130 {
_alpha = 40;
}
frame 131 {
_alpha = 30;
}
frame 132 {
_alpha = 20;
}
frame 133 {
_alpha = 10;
}
frame 134 {
this.removeMovieClip();
}
}
movieClip 27 {
frame 1 {
stop();
}
}
movieClip 28 mensajePequeMC {
frame 1 {
function actualizar() {
if (texto != undefined) {
texto_txt.text = texto;
}
if (icono != undefined) {
icon_mc.gotoAndStop(Number(icono));
} else {
icon_mc.gotoAndStop(5);
}
}
var texto;
var icono;
actualizar();
}
frame 125 {
_alpha = 90;
}
frame 126 {
_alpha = 80;
}
frame 127 {
_alpha = 70;
}
frame 128 {
_alpha = 60;
}
frame 129 {
_alpha = 50;
}
frame 130 {
_alpha = 40;
}
frame 131 {
_alpha = 30;
}
frame 132 {
_alpha = 20;
}
frame 133 {
_alpha = 10;
}
frame 134 {
this.removeMovieClip();
}
}
movieClip 31 bloodBitmap01MC {
}
movieClip 33 {
}
// unknown tag 88 length 23
movieClip 40 {
}
movieClip 41 {
frame 1 {
function updateText() {
texto_mc.texto_txt.text = texto;
}
var texto;
var iniY;
var iniX;
if (iniY == undefined) {
iniY = _y;
iniX = _x;
}
stop();
if (texto != undefined && texto != '') {
texto_mc.texto_txt.text = texto;
}
onRelease = function () {
_y = iniY;
_x = iniX;
_parent.accionBoton(this._name);
};
onPress = function () {
Mouse.hide();
_y = iniY + 2;
_x = iniX + 2;
};
onRollOver = function () {
gotoAndPlay(2);
};
onDragOver = function () {
gotoAndPlay(2);
};
onRollOut = function () {
_y = iniY;
_x = iniX;
gotoAndStop(1);
};
onDragOut = function () {
_y = iniY;
_x = iniX;
gotoAndStop(1);
};
}
frame 8 {
stop();
}
}
movieClip 43 wmRandomEventMC {
frame 1 {
function inicializar() {
if (boton1t != undefined) {
button01_mc.texto = boton1t;
} else {
button01_mc.texto = 'STOP';
}
if (boton2t != undefined) {
button02_mc.texto = boton2t;
} else {
button02_mc.texto = 'CONTINUE';
}
if (boton2t == '') {
button02_mc._visible = false;
button01_mc._x = 236;
} else {
if (boton1t == '') {
button01_mc._visible = false;
button02_mc._x = 236;
}
}
if (descripcion != undefined) {
texto_txt.text = descripcion;
}
texto_txt.wordWrap = true;
texto_txt.autoSize = true;
if (texto_txt._height < 145) {
texto_txt._y = 129 + (145 - texto_txt._height) / 2;
}
}
function accionBoton(etiqueta) {
_parent._parent._parent.sonido_mc.playFX('BOTON');
switch (etiqueta) {
case 'button01_mc':
_parent._parent._parent.currentMap = map;
_parent._parent._parent.setMap(_parent._parent._parent.currentMap);
_parent._parent._parent.startGame();
_parent._parent.closeWorldMap();
this.removeMovieClip();
break;
case 'button02_mc':
_parent.contador = 0;
_parent.travelTo(_parent.nDestino);
this.removeMovieClip();
}
}
var descripcion;
var boton1t;
var boton2t;
var map;
inicializar();
}
}
movieClip 45 wmAmbushQuestMC {
frame 1 {
function inicializar() {
button01_mc.texto = 'FIGHT';
}
function accionBoton(etiqueta) {
_parent._parent._parent.sonido_mc.playFX('BOTON');
if (etiqueta !== 'button01_mc') {
} else {
_parent._parent._parent.currentMap = 20;
_parent._parent._parent.setMap(_parent._parent._parent.currentMap);
_parent._parent._parent.startGame();
_parent._parent.closeWorldMap();
this.removeMovieClip();
}
}
inicializar();
}
}
movieClip 47 bordesMC {
}
movieClip 52 {
}
movieClip 53 {
}
movieClip 58 {
}
movieClip 59 tutorialLowHPMC {
frame 1 {
function accionBoton(etiqueta) {
_parent._parent.sonido_mc.playFX('BOTON');
if (etiqueta !== 'button01_mc') {
} else {
_parent._parent.engine_mc.overUI = false;
_parent._parent.engine_mc.reproducir = true;
_parent.tutorialc_mc.removeMovieClip();
this.removeMovieClip();
}
}
button01_mc.texto = 'CLOSE';
}
}
movieClip 63 {
}
movieClip 66 tutorialFastTravelBMC {
frame 1 {
function accionBoton(etiqueta) {
_parent._parent.sonido_mc.playFX('BOTON');
if (etiqueta !== 'button01_mc') {
} else {
_parent._parent.engine_mc.overUI = false;
_parent._parent.engine_mc.reproducir = true;
this.removeMovieClip();
}
}
button01_mc.texto = 'CLOSE';
}
}
movieClip 68 tutorialFastTravelMC {
frame 1 {
function accionBoton(etiqueta) {
_parent._parent.sonido_mc.playFX('BOTON');
if (etiqueta !== 'button01_mc') {
} else {
_parent._parent.engine_mc.overUI = false;
_parent._parent.engine_mc.reproducir = true;
this.removeMovieClip();
}
}
button01_mc.texto = 'CLOSE';
}
}
movieClip 78 {
frame 56 {
stop();
}
}
movieClip 79 tutorialStep10MC {
frame 1 {
function checkCuenta() {
if (cuenta == undefined) {
cuenta = 1;
}
if (_parent._parent.engine_mc.reproducir) {
++cuenta;
if (cuenta == 10) {
if (_parent._parent.engine_mc.aZone == 0) {
nextStep();
} else {
cuenta = 9;
}
}
}
}
function nextStep() {
_parent._parent.engine_mc.overUI = true;
_parent._parent.engine_mc.reproducir = false;
_parent.attachMovie('tutorialFastTravelMC', 'fastt_mc', _parent.getNextHighestDepth());
_parent.fastt_mc._x = 215;
_parent.fastt_mc._y = 130;
}
var cuenta;
checkCuenta();
}
}
movieClip 81 tutorialStep9MC {
frame 1 {
function checkCuenta() {
if (cuenta == undefined) {
cuenta = 1;
}
if (_parent._parent.engine_mc.reproducir) {
++cuenta;
if (cuenta == 20) {
}
}
}
function nextStep() {
this.removeMovieClip();
}
var cuenta;
}
}
movieClip 84 tutorialStep13MC {
frame 1 {
function checkCuenta() {
if (cuenta == undefined) {
cuenta = 1;
_visible = false;
}
if (_parent._parent.engine_mc.reproducir) {
++cuenta;
if (cuenta == 10) {
_visible = true;
glow_mc.gotoAndPlay(1);
}
if (cuenta == 30) {
nextStep();
}
}
}
function nextStep() {
this.removeMovieClip();
}
var cuenta;
checkCuenta();
}
}
movieClip 86 tutorialStep12MC {
frame 1 {
function checkCuenta() {
if (cuenta == undefined) {
cuenta = 1;
}
if (_parent._parent.engine_mc.reproducir) {
++cuenta;
if (cuenta == 20) {
nextStep();
}
}
}
function nextStep() {
this.removeMovieClip();
}
var cuenta;
checkCuenta();
}
}
movieClip 88 tutorialStep11MC {
frame 1 {
function checkCuenta() {
if (cuenta == undefined) {
cuenta = 1;
}
if (_parent._parent.engine_mc.reproducir) {
++cuenta;
if (cuenta == 10) {
nextStep();
}
}
}
function nextStep() {
this.removeMovieClip();
}
var cuenta;
}
}
movieClip 92 {
}
movieClip 94 tutorialStep8MC {
frame 1 {
function checkCuenta() {
if (cuenta == undefined) {
cuenta = 1;
}
if (_parent._parent.engine_mc.reproducir) {
++cuenta;
if (cuenta == 20) {
}
}
}
function nextStep() {
this.removeMovieClip();
}
var cuenta;
}
}
movieClip 96 tutorialStep7MC {
frame 1 {
function checkCuenta() {
if (cuenta == undefined) {
cuenta = 1;
}
if (_parent._parent.engine_mc.reproducir) {
++cuenta;
if (cuenta == 20) {
}
}
}
function nextStep() {
this.removeMovieClip();
}
var cuenta;
}
}
movieClip 99 {
frame 1 {
var overThis = 0;
if (_xmouse > 0 && _xmouse < _width && _ymouse > 0 && _ymouse < _height) {
overThis = 1;
}
onRelease = function () {
_parent._parent._parent.engine_mc.overUI = false;
_parent.nextStep();
};
onRollOver = function () {
overThis = 1;
_parent._parent._parent.engine_mc.overUI = true;
};
onDragOver = function () {
overThis = 1;
_parent._parent._parent.engine_mc.overUI = true;
};
onRollOut = function () {
overThis = 0;
_parent._parent._parent.engine_mc.overUI = false;
};
onDragOut = function () {
overThis = 0;
_parent._parent._parent.engine_mc.overUI = false;
};
}
}
movieClip 100 tutorialStep6MC {
frame 1 {
function checkCuenta() {
if (cuenta == undefined) {
cuenta = 1;
}
if (_parent._parent.engine_mc.reproducir) {
++cuenta;
if (cuenta == 20) {
nextStep();
}
}
}
function nextStep() {
if (cerrar_mc.overThis) {
_parent._parent.engine_mc.overUI = false;
}
this.removeMovieClip();
}
var cuenta;
}
}
movieClip 102 tutorialStep5MC {
}
movieClip 104 unlockMsgMC {
}
movieClip 106 tutorialStep4MC {
}
movieClip 108 tutorialStep3MC {
frame 1 {
function checkCuenta() {
var v2 = _parent._parent.engine_mc.objectHP[_parent._parent.engine_mc.charIdIndex[_parent._parent.engine_mc.charIndex]] / _parent._parent.engine_mc.objectMaxHP[_parent._parent.engine_mc.charIdIndex[_parent._parent.engine_mc.charIndex]];
if (cuenta == undefined) {
cuenta = 1;
_visible = false;
}
if (v2 <= 1) {
_visible = true;
}
if (_parent._parent.engine_mc.reproducir) {
if (_visible) {
++cuenta;
}
if (cuenta == 20) {
nextStep();
}
}
}
function nextStep() {
if (cerrar_mc.overThis) {
_parent._parent.engine_mc.overUI = false;
}
this.removeMovieClip();
}
var cuenta;
checkCuenta();
}
}
movieClip 110 tutorialStep2MC {
frame 1 {
function checkCuenta() {
if (cuenta == undefined) {
cuenta = 1;
iniXP = _parent._parent.currentXP;
}
if (_parent._parent.engine_mc.reproducir) {
++cuenta;
if (_parent._parent.currentXP - iniXP > 60) {
nextStep();
}
}
}
function nextStep() {
_parent.attachMovie('tutorialStep3MC', 'tutorial3_mc', _parent.getNextHighestDepth());
_parent.tutorial3_mc._x = 420;
_parent.tutorial3_mc._y = 9;
this.removeMovieClip();
}
var cuenta;
var iniXP;
checkCuenta();
}
}
movieClip 112 {
}
movieClip 113 {
}
movieClip 118 {
}
movieClip 120 tutorialStep1bMC {
}
movieClip 123 tutorialStep1MC {
}
movieClip 124 tutorialCheckerMC {
frame 1 {
var mostrado;
}
frame 1 {
function checkFistMap() {
var v2 = _parent._parent.engine_mc.objectHP[_parent._parent.engine_mc.charIdIndex[_parent._parent.engine_mc.charIndex]] / _parent._parent.engine_mc.objectMaxHP[_parent._parent.engine_mc.charIdIndex[_parent._parent.engine_mc.charIndex]];
if (v2 < 0.5) {
if (_parent._parent.engine_mc.reproducir && _parent.lowhp_mc == undefined) {
_parent.attachMovie('tutorialLowHPMC', 'lowhp_mc', _parent.getNextHighestDepth());
_parent.lowhp_mc._x = 215;
_parent.lowhp_mc._y = 130;
_parent._parent.engine_mc.overUI = true;
_parent._parent.engine_mc.reproducir = false;
}
} else {
if (v2 < 1) {
if (mostrado == undefined) {
if (_parent.tutorial1_mc != undefined || _parent.tutorial1b_mc != undefined) {
if (_parent._parent.gameDif != 2) {
if (_parent._parent.quesInv[7] == 2) {
if (_parent.tutorial2_mc == undefined && _parent.tutorial3_mc == undefined && _parent.tutorial4_mc == undefined && _parent.tutorial5_mc == undefined && _parent.tutorial6_mc == undefined && _parent.tutorial7_mc == undefined && _parent.tutorial8_mc == undefined && _parent.tutorial9_mc == undefined && _parent.tutorial10_mc == undefined && _parent.tutorial11_mc == undefined) {
_parent.attachMovie('tutorialStep2MC', 'tutorial2_mc', _parent.getNextHighestDepth());
_parent.tutorial2_mc._x = 420;
_parent.tutorial2_mc._y = 9;
mostrado = 1;
}
}
}
}
}
}
}
}
checkFistMap();
}
}
movieClip 126 {
}
movieClip 127 interlevelAdsMC {
frame 1 {
function mostrarAds() {
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
function quitarAds() {
adBox.unloadMovie();
adBox.removeMovieClip();
}
var CPMStarContentSpotID = '12771Q220244DD';
System.security.allowDomain('server.cpmstar.com');
mostrarAds();
}
}
movieClip 128 preloadAdsMC {
frame 1 {
function mostrarAds() {
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
function quitarAds() {
adBox.unloadMovie();
adBox.removeMovieClip();
}
var CPMStarContentSpotID = '12770Q6784BCD1';
System.security.allowDomain('server.cpmstar.com');
mostrarAds();
}
}
movieClip 130 UINewGameDeleteWarningMC {
frame 1 {
function inicializar() {
if (nombre == undefined) {
texto_txt.text = 'ARE YOU SURE YOU WANT TO DELETE\n THE SELECTED CHARACTER?';
} else {
texto_txt.text = 'ARE YOU SURE YOU WANT TO DELETE\n THE CHARACTER ' + nombre.toUpperCase() + '?';
}
button01_mc.texto = 'YES';
button02_mc.texto = 'NO';
}
function accionBoton(etiqueta) {
switch (etiqueta) {
case 'button01_mc':
_parent.borrarPj();
this.removeMovieClip();
break;
case 'button02_mc':
this.removeMovieClip();
}
}
var nombre;
inicializar();
bg_mc.onRelease = function () {};
bg_mc.onRollOver = function () {};
}
}
movieClip 132 {
}
movieClip 137 {
}
movieClip 139 {
}
movieClip 140 agLogoReducidoMC {
}
movieClip 143 {
}
movieClip 144 IULogoMC {
}
movieClip 149 {
}
movieClip 150 {
}
movieClip 153 {
}
movieClip 156 {
}
movieClip 157 {
}
movieClip 158 {
}
movieClip 159 {
}
movieClip 160 {
frame 1 {
function moverNubes() {
var v3 = 0;
var v4 = 10;
var v2 = '';
v3 = 0;
while (v3 < v4) {
v2 = 'cloud' + v3 + '_mc';
this[v2]._x += speedX;
if (this[v2]._x > 650) {
this[v2]._x = -this[v2]._width - 5;
}
++v3;
}
}
var speedX = 0.3;
onEnterFrame = function () {
moverNubes();
};
}
}
movieClip 162 {
}
movieClip 163 {
}
movieClip 164 {
frame 1 {
clouds_mc.setMask(mask_mc);
}
}
movieClip 165 fondoCompletoMC {
}
movieClip 169 {
}
movieClip 170 {
}
movieClip 172 {
}
movieClip 173 {
}
movieClip 174 {
}
movieClip 175 {
}
movieClip 176 CelosiaBarraMC {
}
movieClip 179 {
}
movieClip 181 ProgressBarMC {
frame 1 {
function setPorc(c) {
n = c;
updatePorc();
}
function updatePorc() {
if (n == undefined) {
n = 0;
}
if (n > 100) {
n = 100;
}
progress_mc._xscale = n;
}
var n;
updatePorc();
}
}
frame 1 {
stop();
}
frame 1 {
function loadStaticBitmaps() {
terrainShadow = flash.display.BitmapData.loadBitmap('shadow');
mapPaperBitmap = flash.display.BitmapData.loadBitmap('mapPaper');
mapIconsBitmap = flash.display.BitmapData.loadBitmap('mapIcons');
}
function fadeOutScreen() {
var v2 = new flash.geom.Matrix();
if (fadeOut_mc != undefined) {
fadeOut_mc.removeMovieClip();
}
attachMovie('fadeOutMC', 'fadeOut_mc', 19);
fadeOut_mc.attachBitmap(fadeOutBitmap, 0, 'never', false);
fadeOutBitmap.draw(this, v2);
}
function fadeOutScreenB(mcs) {
var v2 = new flash.geom.Matrix();
if (fadeOut_mc != undefined) {
fadeOut_mc.removeMovieClip();
}
attachMovie('fadeOutMC', 'fadeOut_mc', 19);
fadeOut_mc.attachBitmap(fadeOutBitmap, 0, 'never', false);
fadeOutBitmap.draw(this[mcs], v2);
}
function fillBloodBitmap() {
attachMovie('bloodBitmap01MC', 'gradient_mc', getNextHighestDepth());
bloodBitmap01.draw(gradient_mc);
gradient_mc.removeMovieClip();
}
function fillShadowBitmap() {
var v3 = 640;
var v2 = 432;
createEmptyMovieClip('gradient_mc', this.getNextHighestDepth());
var v8 = 'radial';
var v4 = new flash.geom.Matrix();
var v6 = [14737632, 14737632, 14737632, 14737632];
var v5 = [100, 80, 20, 0];
var v7 = [0, 80, 200, 250];
if (lightningOption == 1) {
shadowBitmap.fillRect(shadowBitmap.rectangle, 0);
v4.createGradientBox(v3, v2, 0, 0, 0);
gradient_mc.beginGradientFill(v8, v6, v5, v7, v4);
gradient_mc.moveTo(0, 0);
gradient_mc.lineTo(v3, 0);
gradient_mc.lineTo(v3, v2);
gradient_mc.lineTo(0, v2);
gradient_mc.lineTo(0, 0);
gradient_mc.endFill();
gradient_mc.cacheAsBitmap = true;
shadowBitmap.draw(gradient_mc);
gradient_mc.removeMovieClip();
} else {
if (lightningOption == 2) {
shadowBitmap.fillRect(shadowBitmap.rectangle, 0);
v6 = [0, 0, 0, 0];
v5 = [0, 20, 50, 60];
v7 = [0, 100, 180, 250];
v4.createGradientBox(v3, v2, 0, 0, 0);
gradient_mc.beginGradientFill(v8, v6, v5, v7, v4);
gradient_mc.moveTo(0, 0);
gradient_mc.lineTo(v3, 0);
gradient_mc.lineTo(v3, v2);
gradient_mc.lineTo(0, v2);
gradient_mc.lineTo(0, 0);
gradient_mc.endFill();
gradient_mc.cacheAsBitmap = true;
shadowBitmap.draw(gradient_mc);
gradient_mc.removeMovieClip();
}
}
}
function testGame() {
baseAbilities = '100,100,100,100,100,100,100,100,100,100,100';
totalAbilities1 = '113,130,131,250,250,250,250,250,250,250,250,1,0,2,24-54,0-0,0-0';
totalAbilities2 = '113,130,131,250,250,250,250,250,250,250,250,2,2,0,1-3,13-42,0-0';
totalAbilities = totalAbilities1;
itemInv = 'Mantle of Shooting Stars,Archmage\'s Vestment,Silk,3,Armor,5,2,10,2500,25,25,-,100,0,0,25,0,25,0,0,0,0,0,0,20,25,30,0,20,0,5;Quiron\'s Coat,Elven Armor,Leather,3,Armor,1,3,5,2500,25,50,-,125,0,0,25,25,0,0,0,0,0,0,0,30,25,20,0,0,15,6;Achilles\' Cuirass,Light Plate Mail,Adamantine,3,Armor,5,6,0,5000,25,80,-,150,0,0,50,50,0,0,0,0,0,0,0,35,40,0,20,20,0,7;Hefesto\'s Plates,Plate Mail,Adamantine,3,Armor,7,8,0,7500,25,110,-,180,0,0,50,0,0,50,0,0,0,0,0,41,50,0,0,0,0,8;Dragon Scales,Full Plate Mail,Adamantine,3,Armor,4,11,2,10000,25,140,-,200,0,0,25,25,25,0,0,0,0,0,0,50,60,10,0,0,25,9;Lunatic\'s Hat,Archmage\'s Helm,Leather,3,Helm,7,12,10,250,25,20,-,20,0,0,0,0,25,0,0,0,25,0,0,16,10,20,0,20,10,14;Demoncreed,Horned Helm,Adamantine,3,Helm,4,14,5,750,25,70,-,40,0,0,40,0,0,0,0,0,0,0,0,32,20,0,20,0,10,16;Hermes\' Visor,Winged Helm,Adamantine,3,Helm,9,15,2,1000,25,100,-,50,0,0,10,10,10,0,0,0,0,50,50,20,15,10,0,0,0,17;Direward,Round Shield,Adamantine,3,Shield,5,17,2,2500,25,80,-,0,0,40,50,0,0,0,0,0,0,125,0,25,25,10,0,0,50,22;Scaeva\'s Emblem,Tower Shield,Adamantine,3,Shield,8,18,10,5000,25,110,-,0,0,50,50,50,0,0,0,0,25,0,0,50,50,0,20,0,0,23;Summoner\'s Edge,Short Sword,Adamantine,3,Sword-1H,1,19,5,1000,25,50,-,0,8-32,10,0,0,50,0,0,25,0,0,25,0,10,40,16,16,0,38;Joyeuse,Long Sword,Adamantine,3,Sword-1H,0,22,2,2000,25,65,-,0,24-40,15,25,25,0,0,0,25,10,50,0,0,0,10,16,16,60,39;Tizona,Giant Sword,Adamantine,3,Sword-2H,0,26,5,5000,25,-,120,0,64-152,25,100,0,0,0,0,50,0,50,0,0,0,0,40,40,100,41;Frostwing,Battle Axe,Adamantine,3,Axe-1H,3,30,5,2500,25,90,-,0,32-48,10,25,25,25,0,0,20,0,1,0,0,0,40,0,20,40,43;Myth of Creta,Giant Axe,Adamantine,3,Axe-2H,4,32,2,5000,25,-,130,0,80-160,15,50,0,50,0,0,40,20,40,0,0,0,0,80,0,80,44;Skullforge,Hammer,Adamantine,3,Hammer-1H,4,33,1,1000,25,50,-,0,20-28,4,50,0,0,0,0,25,0,25,0,0,0,20,20,0,60,45;Quake,Maul,Adamantine,3,Hammer-2H,5,35,3,5000,25,-,140,0,120-144,12,50,0,0,0,0,25,0,50,0,40,0,0,40,40,132,47;Eon,Elven Staff,Oak,3,Staff,9,39,5,1000,25,-,25,0,32-56,30,0,0,80,0,0,50,35,0,50,0,20,80,40,40,80,48;Epiro,Elven Short Bow,Oak,3,Bow,1,36,0,1000,25,-,25,0,12-24,0,50,50,50,0,0,25,25,25,0,0,0,0,0,0,44,49;Artemisa\'s Bow,Elven Long Bow,Oak,3,Bow,4,37,5,2500,25,-,50,0,16-32,0,75,75,75,0,0,25,0,25,0,0,0,80,32,0,84,50;;;;;';
itemEqu = ',Axe,Steel,3,Axe-1H,0,28,10,100,10,20,-,0,4-7,5,0,0,0,0,0,0,4,0,3,0,0,0,0,0,5,28;,Axe,Steel,2,Axe-1H,0,28,3,100,10,20,-,0,4-7,5,0,0,0,0,0,0,0,0,0,0,0,0,0,8,3,28;;,Composite Bow,Wood,3,Bow,0,38,8,500,10,-,50,0,5-10,0,0,0,0,0,0,0,0,0,0,0,0,10,8,0,8,37;,Winged Helm,Steel,2,Helm,0,15,4,500,10,70,-,25,0,0,0,0,0,0,0,0,0,5,0,0,1,0,0,0,0,13;,Plate Mail,Steel,3,Armor,0,8,5,750,10,70,-,90,0,0,10,0,0,5,0,0,0,1,0,0,0,0,0,0,0,3;,Ring,,2,Accessory,0,46,6,500,10,0,-,0,0,0,2,0,1,0,0,0,0,0,0,0,0,0,0,0,0,53;,Cape,,1,Accessory,0,41,4,250,10,0,-,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,52;,Cape,,2,Accessory,0,41,10,250,10,0,-,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,52;,Amulet,,2,Accessory,0,44,7,500,10,0,-,0,0,0,0,0,0,0,0,0,0,0,0,0,1,10,0,0,0,54;,Amulet,,2,Accessory,0,44,1,500,10,0,-,0,0,0,0,0,0,0,0,0,0,2,0,0,1,0,0,0,0,54';
pjConfig01 = '0,5,0,5,3,4,0,4,0,4,0,4,6,-1';
pjConfig02 = '0,5,0,5,3,4,0,1,0,9,0,4,6,-1';
saveSlot = 5;
creationTime = 0;
cPower = 0;
basePowers = new Array(1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
i = 20;
while (i < 26) {
basePowers[i] = 25;
++i;
}
i = 30;
while (i < 36) {
basePowers[i] = 25;
++i;
}
i = 40;
while (i < 46) {
basePowers[i] = 25;
++i;
}
i = 50;
while (i < 56) {
basePowers[i] = 25;
++i;
}
pjName = 'Argonas';
pjClass = 'Paladin';
pjRaza = 'Elf';
currentXP = 0;
currentXPLevel = 25;
miscInv = new Array(30000, 100, 100, 50, 40, 30, 20, 15);
updateTotalAbilities();
quesInv[9] = 2;
quesInv[8] = 2;
quesInv[7] = 1;
quesInv[0] = 5;
quesInv[1] = 1;
quesInv[2] = 1;
quesInv[3] = 1;
quesInv[4] = 5;
saveSlot = 5;
gameDif = 1;
setMap(11);
startGame();
}
function inicializar() {
if (stageX > maxResolution) {
stageX = maxResolution;
stageY = Math.round((Stage.height / Stage.width) * maxResolution);
}
if (stageY > 480) {
baseY = Math.round(stageY - 480) / 2;
}
if (stageX > 640) {
baseX = Math.round((stageX - 640) / 2);
}
}
function crearCursor() {
this.createEmptyMovieClip('cursor_mc', 110);
cursor_mc.attachBitmap(cursorBitmap, 0, 'never', false);
cursorBitmap.copyPixels(allCursorBitmap, new flash.geom.Rectangle(0, 0, 28, 28), new flash.geom.Point(0, 0), null, null, true);
}
function updateCursor(i) {
cursorBitmap.fillRect(cursorBitmap.rectangle, 0);
cursorBitmap.copyPixels(allCursorBitmap, new flash.geom.Rectangle(28 * i, 0, 28, 28), new flash.geom.Point(0, 0), null, null, true);
cursor_mc._x = _xmouse - 7;
cursor_mc._y = _ymouse - 5;
}
function crearBordes() {
this.createEmptyMovieClip('bordes_mc', 21);
bordes_mc.lineStyle(1, 0, 100);
bordes_mc.moveTo(0.5, 0.5);
bordes_mc.lineTo(stageX - 0.5, 0.5);
bordes_mc.lineTo(stageX - 0.5, stageY - 0.5);
bordes_mc.lineTo(0.5, stageY - 0.5);
bordes_mc.lineTo(0.5, 0.5);
}
function keyAction(s) {
switch (s) {
case hotKey[1]:
uigame_mc.seleccionarPoder('icon01_mc');
break;
case hotKey[2]:
uigame_mc.seleccionarPoder('icon02_mc');
break;
case hotKey[3]:
uigame_mc.seleccionarPoder('icon03_mc');
break;
case hotKey[4]:
uigame_mc.seleccionarPoder('icon04_mc');
break;
case hotKey[5]:
uigame_mc.seleccionarPoder('icon05_mc');
break;
case hotKey[6]:
uigame_mc.seleccionarPoder('icon06_mc');
break;
case hotKey[7]:
uigame_mc.lifePotion();
break;
case hotKey[8]:
uigame_mc.manaPotion();
break;
case hotKey[9]:
uigame_mc.switchWeapons(true);
break;
case hotKey[10]:
uigame_mc.openInventory();
break;
case hotKey[11]:
uigame_mc.openJournal(-1);
break;
case hotKey[12]:
uigame_mc.openMenu();
break;
case hotKey[13]:
uigame_mc.openZoneMap();
break;
case hotKey[14]:
if (uigame_mc.loot_mc != undefined) {
uigame_mc.loot_mc.lootAll();
}
break;
case hotKey[15]:
engine_mc.overUI = true;
engine_mc.reproducir = false;
uigame_mc.openCharacterScreen();
}
}
function keyCloseScreens() {
if (uigame_mc != undefined) {
if (uigame_mc.inve_mc != undefined) {
uigame_mc.seleccionarPoder('icon0' + initUIIcons[0] + '_mc');
uigame_mc.closeInventory();
}
if (uigame_mc.character_mc != undefined) {
uigame_mc.seleccionarPoder('icon0' + initUIIcons[0] + '_mc');
uigame_mc.closeInventory();
uigame_mc.closeCharacterScreen();
}
if (uigame_mc.journal_mc != undefined) {
uigame_mc.closeJournal();
}
if (uigame_mc.menu_mc != undefined && uigame_mc.sett_mc == undefined) {
uigame_mc.closeMenu();
}
if (uigame_mc.menu_mc != undefined && uigame_mc.sett_mc != undefined) {
uigame_mc.sett_mc.removeMovieClip();
savePref();
}
if (uigame_mc.zonemap_mc != undefined) {
uigame_mc.closeZoneMap();
}
if (uigame_mc.trad_mc != undefined) {
uigame_mc.closeTrading();
}
if (uigame_mc.ench_mc != undefined) {
uigame_mc.closeEnchant();
}
if (uigame_mc.black_mc != undefined) {
uigame_mc.closeBlacksmith();
}
if (uigame_mc.zonemap_mc != undefined) {
uigame_mc.closeZoneMap();
}
if (uigame_mc.worldmap_mc != undefined) {
uigame_mc.closeWorldMap();
}
}
if (uimainmenu_mc != undefined) {
if (uimainmenu_mc.sett_mc != undefined && uimainmenu_mc.sett_mc.hotk_mc == undefined) {
uimainmenu_mc.closeSettings();
savePref();
}
}
}
function valueToShow(s) {
var v1 = '';
var v2 = s.split('_');
if (v2[0] == 'kC') {
v1 = keyCode[v2[1]];
v1 = v1.toUpperCase();
return v1;
}
if (Number(v2[1] > 90)) {
v1 = 'KEY' + v2[1];
v1 = v1.toUpperCase();
return v1;
}
v1 = String.fromCharCode(v2[1]);
v1 = v1.toUpperCase();
return v1;
}
function fillPotions() {
var v1;
var v2 = new Date();
for (v1 in potions) {
delete potions[v1];
}
potions.estandar = '50,50,0,0,0,0,0';
potions.Tabernero = '50,50,0,0,0,0,0';
potions.Tabernera = '50,50,0,0,0,0,0';
potions.Innkeeper = '50,50,0,0,0,0,0';
potions.Storekeeper = '50,50,0,0,0,0,0';
potions.Tendera = '50,50,0,0,0,0,0';
potions.Tendero = '50,50,0,0,0,0,0';
potions.Atercrin = '50,50,0,0,0,0,0';
potions.Shardenias = '50,50,5,5,5,5,5';
potions.Trader = '50,50,5,5,5,5,5';
potions.Alchemist = '50,50,10,10,10,10,10';
potions.Nya = '50,50,10,10,10,10,10';
potions.Dargolus = '50,50,5,5,5,5,5';
potions.Reginald = '50,50,10,10,10,10,10';
potions.lastFill = Math.round(v2.getTime() / 1000);
}
function potionStock() {
var v1 = new Date();
var v3 = Math.round(v1.getTime() / 1000);
var v2 = 1800;
if (v3 - potions.lastFill > v2) {
fillPotions();
} else {
if (potions.lastFill == undefined) {
fillPotions();
}
}
}
function fillNpcBD() {
var v2 = '';
var v3 = '';
var v1 = '';
v2 = '1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120';
v1 = 'attack.3.9.10.25';
npcBD.Spider = new Array('spider', 1, 'combat', v1, 10, 10, 25, 5, '75,0', v2, 'REGULAR- 1', 10, 'Spider');
v1 = 'attack.5.15.25.25';
npcBD.GiantSpider = new Array('spider', 1, 'combat', v1, 25, 10, 25, 5, '100,0', v2, 'REGULAR+ 1', 30, 'Giant Spider');
v1 = 'attack.5.15.25.25';
npcBD.Sicarius = new Array('spider', 1, 'combat', v1, 10, 25, 25, 5, '100,22', v2, 'REGULAR+ 1', 30, 'Sicarius');
v1 = 'attack.6.18.30.30';
npcBD.Tarantula = new Array('spider', 1, 'combat', v1, 15, 30, 30, 5, '110,4', v2, 'GOOD 1', 100, 'Tarantula');
v1 = 'attack.6.18.30.30';
npcBD.Queen = new Array('spider', 1, 'combat', v1, 30, 15, 30, 5, '125,23', v2, 'TESORO 1', 200, 'Queen');
v2 = '12,13,14,15,16,17,18,19,26,27,28,29,30,31,32,33,34,35,36,37,38,50,51,52,53,54,55,56,57,64,65,66,67,68,69,70,71,72,73,74,75,76,88,89,90,91,92,93,94,95,102,103,104,105,106,107,108,109,110,111,112,113,114,126,127,128,129,130,131,132,133,140,141,142,143,144,145,146,147,148,149,150,151,152,164,165,166,167,168,169,170,171,178,179,180,181,182,183,184,185,186,187,188,189,190,202,203,204,205,206,207,208,209,216,217,218,219,220,221,222,223,224,225,226,227,228,240,241,242,243,244,245,246,247,254,255,256,257,258,259,260,261,262,263,264,265,266,278,279,280,281,282,283,284,285,292,293,294,295,296,297,298,299,300,301,302,303,304';
v1 = 'attack.4.12.15.10';
npcBD.WalkingDead = new Array('zombie', 1, 'combat', v1, 10, 10, 10, 1, '0,1,0,1,0,1,0,1,0,1,0,10,7,-1', v2, 'REGULAR 1', 15, 'Walking Dead');
v1 = 'attack.5.15.20.20';
npcBD.Zombie = new Array('zombie', 1, 'combat', v1, 20, 10, 20, 1, '0,1,0,2,0,1,0,1,0,1,0,10,9,-1', v2, 'REGULAR+ 1', 30, 'Zombie');
v1 = 'attack.5.15.20.20';
npcBD.RottenFlesh = new Array('zombie', 1, 'combat', v1, 10, 20, 20, 1, '0,1,0,2,8,1,0,1,0,1,0,9,9,-1', v2, 'REGULAR+ 1', 30, 'Rotten Flesh');
v1 = 'attack.6.18.30.25';
npcBD.HauntedZombie = new Array('zombiecham', 1, 'combat', v1, 15, 30, 25, 1, '0,2,0,2,1,1,0,1,0,1,0,9,7,-1', v2, 'GOOD 1', 100, 'Haunted Zombie');
v1 = 'attack.6.18.30.25';
npcBD.ArmoredZombie = new Array('zombiecham', 1, 'combat', v1, 30, 15, 25, 1, '0,6,0,2,0,1,0,1,0,1,0,10,1,-1', v2, 'GOOD 1', 100, 'Armored Zombie');
v2 = '1,2,3,4,5,6,7,8,9,10,11,12,13,14,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,188,189,190,191,192';
v1 = 'attack.5.15.25.25';
npcBD.SkeletonMelee = new Array('skeleton', 1, 'combat', v1, 20, 10, 25, 6, '4,1,0', v2, 'REGULAR+ 1', 25, 'Skeleton');
v1 = 'attack.5.15.25.25';
npcBD.Damned = new Array('skeleton', 1, 'combat', v1, 10, 20, 25, 6, '1,1,18', v2, 'REGULAR+ 1', 25, 'Damned');
v1 = 'attack.6.18.30.30';
npcBD.ReturnedVillain = new Array('skeletoncham', 1, 'combat', v1, 20, 10, 30, 6, '5,1,4', v2, 'GOOD 1', 120, 'Returned Villain');
v2 = '1,2,3,4,5,6,7,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,183,184,185,186,187,188,189,190,191,192';
v1 = 'ranged.4.12.25.25';
npcBD.SkeletonBow = new Array('skeleton', 2, 'combat', v1, 20, 10, 25, 6, '1,9,0', v2, 'REGULAR+ 1', 20, 'Skeleton Archer');
v1 = 'ranged.4.12.25.25';
npcBD.InfernalArcher = new Array('skeleton', 2, 'combat', v1, 10, 20, 25, 6, '1,9,18', v2, 'REGULAR+ 1', 20, 'Infernal Archer');
v2 = '9,10,11,1,2,3,4,5,6,7,8,12,13,14,15,16,17,18,19,33,34,35,36,37,38,47,48,49,39,40,41,42,43,44,45,46,50,51,52,53,54,55,56,57,71,72,73,74,75,76,85,86,87,77,78,79,80,81,82,83,84,88,89,90,91,92,93,94,95,109,110,111,112,113,114,123,124,125,115,116,117,118,119,120,121,122,126,127,128,129,130,131,132,133,147,148,149,150,151,152,161,162,163,153,154,155,156,157,158,159,160,164,165,166,167,168,169,170,171,185,186,187,188,189,190,199,200,201,191,192,193,194,195,196,197,198,202,203,204,205,206,207,208,209,223,224,225,226,227,228,237,238,239,229,230,231,232,233,234,235,236,240,241,242,243,244,245,246,247,261,262,263,264,265,266,275,276,277,267,268,269,270,271,272,273,274,278,279,280,281,282,283,284,285,299,300,301,302,303,304';
v1 = 'attack.4.12.15.15';
npcBD.Thug = new Array('human', 1, 'combat', v1, 15, 15, 15, 1, '0,2,0,5,0,1,8,2,0,1,0,0,9,14', v2, 'REGULAR 1', 20, 'Thug');
v1 = 'attack.5.15.25.25';
npcBD.Bandit = new Array('human', 1, 'combat', v1, 20, 10, 25, 1, '0,4,8,2,0,2,8,2,0,10,8,0,9,9', v2, 'REGULAR+ 1', 30, 'Bandit');
v1 = 'attack.5.15.25.25';
npcBD.CorruptedPriest = new Array('human', 1, 'combat', v1, 10, 20, 25, 1, '0,3,0,5,8,1,8,8,3,1,8,0,3,9', v2, 'REGULAR+ 1', 15, 'Corrupted Priest');
v1 = 'attack.6.18.30.25';
npcBD.MaleBanditChief = new Array('champion', 1, 'combat', v1, 30, 15, 30, 1, '0,4,0,2,1,3,7,4,0,4,0,0,13,9', v2, 'GOOD 1', 120, 'Bandit Chief');
v1 = 'attack.6.18.30.25';
npcBD.FemaleBanditChief = new Array('champion', 1, 'combat', v1, 30, 15, 30, 2, '0,4,5,5,4,3,5,6,0,6,0,0,13,9', v2, 'GOOD 1', 120, 'Bandit Chief');
v1 = 'attack.6.18.30.25';
npcBD.Villain = new Array('champion', 1, 'combat', v1, 30, 10, 25, 1, '0,6,0,5,6,1,1,3,8,3,8,0,9,9', v2, 'TESORO 1', 150, 'Villain');
v2 = '9,10,11,1,2,3,4,5,6,7,8,20,21,22,23,24,25,33,34,35,36,37,38,47,48,49,39,40,41,42,43,44,45,46,58,59,60,61,62,63,71,72,73,74,75,76,85,86,87,77,78,79,80,81,82,83,84,96,97,98,99,100,101,109,110,111,112,113,114,123,124,125,115,116,117,118,119,120,121,122,134,135,136,137,138,139,147,148,149,150,151,152,161,162,163,153,154,155,156,157,158,159,160,172,173,174,175,176,177,185,186,187,188,189,190,199,200,201,191,192,193,194,195,196,197,198,210,211,212,213,214,215,223,224,225,226,227,228,237,238,239,229,230,231,232,233,234,235,236,248,249,250,251,252,253,261,262,263,264,265,266,275,276,277,267,268,269,270,271,272,273,274,286,287,288,289,290,291,299,300,301,302,303,304';
v1 = 'ranged.4.12.25.25';
npcBD.MaleBanditBow = new Array('human', 2, 'combat', v1, 20, 10, 25, 1, '0,4,8,2,1,1,8,1,0,9,0,0,9,9', v2, 'REGULAR+ 1', 20, 'Bandit');
v1 = 'ranged.4.12.25.25';
npcBD.FemaleBanditBow = new Array('human', 2, 'combat', v1, 20, 10, 25, 2, '0,4,8,3,1,1,8,1,0,9,0,0,9,9', v2, 'REGULAR+ 1', 20, 'Bandit');
v1 = 'ranged.6.18.30.25';
npcBD.MaleBanditChiefBow = new Array('champion', 2, 'combat', v1, 30, 15, 25, 1, '0,4,4,6,4,1,7,1,0,9,0,0,13,9', v2, 'GOOD 1', 80, 'Bandit Chief');
v1 = 'ranged.6.18.30.25';
npcBD.FemaleBanditChiefBow = new Array('champion', 2, 'combat', v1, 30, 15, 25, 2, '0,4,4,4,4,1,7,1,0,9,0,0,13,9', v2, 'GOOD 1', 80, 'Bandit Chief');
v2 = '9,10,11,1,2,3,4,5,6,7,8,12,13,14,15,16,17,18,19,33,34,35,36,37,38,47,48,49,39,40,41,42,43,44,45,46,50,51,52,53,54,55,56,57,71,72,73,74,75,76,85,86,87,77,78,79,80,81,82,83,84,88,89,90,91,92,93,94,95,109,110,111,112,113,114,123,124,125,115,116,117,118,119,120,121,122,126,127,128,129,130,131,132,133,147,148,149,150,151,152,161,162,163,153,154,155,156,157,158,159,160,164,165,166,167,168,169,170,171,185,186,187,188,189,190,199,200,201,191,192,193,194,195,196,197,198,202,203,204,205,206,207,208,209,223,224,225,226,227,228,237,238,239,229,230,231,232,233,234,235,236,240,241,242,243,244,245,246,247,261,262,263,264,265,266,275,276,277,267,268,269,270,271,272,273,274,278,279,280,281,282,283,284,285,299,300,301,302,303,304';
v1 = 'attack.6.18.30.30';
npcBD.MaleVampire = new Array('vampire', 1, 'combat', v1, 30, 10, 30, 1, '0,4,7,2,1,1,0,3,0,1,0,1,13,6', v2, 'REGULAR+ 1', 40, 'Vampire');
v1 = 'attack.6.18.30.30';
npcBD.FemaleVampire = new Array('vampire', 1, 'combat', v1, 30, 10, 30, 2, '0,4,0,4,6,1,0,3,0,1,0,1,7,7', v2, 'REGULAR+ 1', 40, 'Vampire');
v1 = 'attack.7.21.30.30';
npcBD.AncientVampire = new Array('vampire', 1, 'combat', v1, 30, 15, 30, 1, '0,6,4,2,6,3,4,7,4,1,8,1,14,-1', v2, 'GOOD 1', 200, 'Ancient Vampire');
v1 = 'attack.7.21.30.30';
npcBD.Nosferatu = new Array('vampire', 1, 'combat', v1, 10, 30, 30, 1, '0,2,4,1,6,1,4,1,0,1,8,1,13,-1', v2, 'TESORO 1', 250, 'Nosferatu');
v2 = '9,10,11,1,2,3,4,5,6,7,8,12,13,14,15,16,17,18,19,33,34,35,36,37,38,47,48,49,39,40,41,42,43,44,45,46,50,51,52,53,54,55,56,57,71,72,73,74,75,76,85,86,87,77,78,79,80,81,82,83,84,88,89,90,91,92,93,94,95,109,110,111,112,113,114,123,124,125,115,116,117,118,119,120,121,122,126,127,128,129,130,131,132,133,147,148,149,150,151,152,161,162,163,153,154,155,156,157,158,159,160,164,165,166,167,168,169,170,171,185,186,187,188,189,190,199,200,201,191,192,193,194,195,196,197,198,202,203,204,205,206,207,208,209,223,224,225,226,227,228,237,238,239,229,230,231,232,233,234,235,236,240,241,242,243,244,245,246,247,261,262,263,264,265,266,275,276,277,267,268,269,270,271,272,273,274,278,279,280,281,282,283,284,285,299,300,301,302,303,304';
v1 = 'attack.125.250.800.800';
npcBD.Golem = new Array('golem', 1, 'combat', v1, 800, 800, 800, 1, '0,1,0,1,0,1,0,1,0,1,0,1,15,-1', v2, 'GOOD 1', 500, 'Golem');
v2 = '1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176';
v1 = 'attack.6.18.30.30';
npcBD.Demon = new Array('demon', 1, 'combat', v1, 15, 30, 30, 7, '7,0', v2, 'GOOD 1', 200, 'Demon');
v1 = 'attack.7.21.30.30';
npcBD.PitLord = new Array('demon', 1, 'combat', v1, 30, 30, 30, 7, '2,0', v2, 'TESORO 1', 250, 'Pit Lord');
v1 = 'attack.7.21.30.30';
npcBD.Lust = new Array('demon', 1, 'combat', v1, 30, 30, 30, 7, '2,0', v2, 'GOLD++ 1', 250, 'Lust');
v1 = 'attack.7.21.30.30';
npcBD.Envy = new Array('demon', 1, 'combat', v1, 30, 30, 30, 7, '2,0', v2, 'GOLD++ 1', 250, 'Envy');
v1 = 'attack.7.21.30.30';
npcBD.Gluttony = new Array('demon', 1, 'combat', v1, 30, 30, 30, 7, '2,0', v2, 'GOLD++ 1', 250, 'Gluttony');
v1 = 'attack.7.21.30.30';
npcBD.Sloth = new Array('demon', 1, 'combat', v1, 30, 30, 30, 7, '2,0', v2, 'GOLD++ 1', 250, 'Sloth');
v1 = 'attack.7.21.30.30';
npcBD.Greed = new Array('demon', 1, 'combat', v1, 30, 30, 30, 7, '2,0', v2, 'GOLD++ 1', 250, 'Greed');
v1 = 'attack.7.21.30.30';
npcBD.Pride = new Array('demon', 1, 'combat', v1, 30, 30, 30, 7, '2,0', v2, 'GOLD++ 1', 250, 'Pride');
v1 = 'attack.7.21.30.30';
npcBD.Wrath = new Array('demon', 1, 'combat', v1, 30, 30, 30, 7, '2,0', v2, 'GOLD++ 1', 250, 'Wrath');
v2 = '9,10,11,1,2,3,4,5,6,7,8,12,13,14,15,16,17,18,19,33,34,35,36,37,38,47,48,49,39,40,41,42,43,44,45,46,50,51,52,53,54,55,56,57,71,72,73,74,75,76,85,86,87,77,78,79,80,81,82,83,84,88,89,90,91,92,93,94,95,109,110,111,112,113,114,123,124,125,115,116,117,118,119,120,121,122,126,127,128,129,130,131,132,133,147,148,149,150,151,152,161,162,163,153,154,155,156,157,158,159,160,164,165,166,167,168,169,170,171,185,186,187,188,189,190,199,200,201,191,192,193,194,195,196,197,198,202,203,204,205,206,207,208,209,223,224,225,226,227,228,237,238,239,229,230,231,232,233,234,235,236,240,241,242,243,244,245,246,247,261,262,263,264,265,266,275,276,277,267,268,269,270,271,272,273,274,278,279,280,281,282,283,284,285,299,300,301,302,303,304';
v1 = 'attack.75.150.500.500';
npcBD.UrnebbarSwordMan = new Array('champion', 1, 'combat', v1, 500, 500, 500, 1, '0,4,0,2,1,2,0,2,0,10,0,5,9,9', v2, '', 500, 'Guard');
v1 = 'attack.250.500.1000.1000';
npcBD.Isis = new Array('champion', 1, 'combat', v1, 1000, 1000, 1000, 2, '0,6,6,5,4,1,6,3,6,1,0,0,1,9', v2, '', 1000, 'Isis');
v1 = 'attack.150.300.800.800';
npcBD.Edwin = new Array('champion', 1, 'combat', v1, 800, 800, 800, 1, '0,4,3,2,4,1,8,4,0,11,3,6,4,-1', v2, '', 800, 'Edwin');
v1 = 'attack.8.20.105.105';
npcBD.Thermas = new Array('champion', 1, 'combat', v1, 200, 200, 100, 1, '0,4,7,3,9,1,7,3,0,3,0,5,13,-1', v2, 'TESORO CLVL', 800, 'Thermas');
v1 = 'attack.25.75.250.250';
npcBD.Zalmerion = new Array('champion', 1, 'combat', v1, 1000, 1000, 600, 1, '0,6,7,5,9,3,7,8,4,1,4,1,6,-1', v2, generarRelic('Tenebra Iter,Elven Staff,Oak,3,Staff,4,39,2,1000,10,-,25,0,32-56,30,0,0,50,0,125,25,0,0,0,0,0,50,0,0,50,48') + ';TESORO+ CLVL', 10000, 'Zalmerion');
v1 = 'attack.10.30.200.200';
npcBD.Icaro = new Array('champion', 1, 'combat', v1, 400, 400, 150, 1, '0,5,4,2,4,4,4,5,9,1,0,1,14,-1', v2, 'TESORO CLVL', 2500, 'Icaro');
v1 = 'attack.12.40.150.150';
npcBD.Morgana = new Array('champion', 1, 'combat', v1, 500, 500, 200, 2, '0,3,0,5,0,1,5,8,8,1,0,2,2,9', v2, 'TESORO CLVL', 3000, 'Morgana');
v1 = 'attack.125.250.800.800';
npcBD.Dartenul = new Array('champion', 1, 'combat', v1, 800, 800, 800, 1, '0,6,6,2,8,1,0,3,9,1,0,3,6,6', v2, v3, 5000, 'Dartenul');
v2 = '9,10,11,1,2,3,4,5,6,7,8,20,21,22,23,24,25,33,34,35,36,37,38,47,48,49,39,40,41,42,43,44,45,46,58,59,60,61,62,63,71,72,73,74,75,76,85,86,87,77,78,79,80,81,82,83,84,96,97,98,99,100,101,109,110,111,112,113,114,123,124,125,115,116,117,118,119,120,121,122,134,135,136,137,138,139,147,148,149,150,151,152,161,162,163,153,154,155,156,157,158,159,160,172,173,174,175,176,177,185,186,187,188,189,190,199,200,201,191,192,193,194,195,196,197,198,210,211,212,213,214,215,223,224,225,226,227,228,237,238,239,229,230,231,232,233,234,235,236,248,249,250,251,252,253,261,262,263,264,265,266,275,276,277,267,268,269,270,271,272,273,274,286,287,288,289,290,291,299,300,301,302,303,304';
v1 = 'ranged.4.12.25.25';
npcBD.UrnebbarArcher = new Array('human', 2, 'combat', v1, 25, 15, 25, 1, '0,4,8,2,1,1,8,1,0,9,0,0,9,9', v2, '', 20, 'Guard');
v1 = 'attack.1.3.10.10';
v2 = '296,297,298';
v3 = ';;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;';
npcBD.NeutralGuard = new Array('human', 50, 'stand', v1, 10, 10, 10, 1, '0,4,0,1,0,2,6,2,0,11,6,4,9,9', v2, v3, 1000, 'Guard');
v2 = '30,31,32';
npcBD.Tabernero = new Array('human', 50, 'stand', v1, 10, 10, 10, 1, '0,2,3,2,1,1,0,1,0,1,0,0,4,1', v2, v3, 1000, 'Innkeeper');
npcBD.Tabernero02 = new Array('human', 50, 'stand', v1, 10, 10, 10, 1, '0,2,0,4,6,1,0,1,0,1,0,5,13,15', v2, v3, 1000, 'Innkeeper');
npcBD.Tabernera = new Array('human', 50, 'stand', v1, 10, 10, 10, 2, '0,2,3,3,0,1,0,1,0,1,0,4,4,8', v2, v3, 1000, 'Innkeeper');
v3 = 'ACC CLVL;ACC CLVL;ACC CLVL;ACC CLVL;ACC CLVL;WEAPON CLVL;WEAPON CLVL;WEAPON CLVL;WEAPON CLVL;WEAPON CLVL;HELM CLVL;HELM CLVL;ARMOR CLVL;ARMOR CLVL;ARMOR CLVL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;';
npcBD.Tendero = new Array('human', 50, 'stand', v1, 10, 10, 10, 1, '0,2,2,2,3,1,0,1,0,1,0,0,9,9', v2, v3, 1000, 'Storekeeper');
npcBD.Tendera = new Array('human', 50, 'stand', v1, 10, 10, 10, 2, '0,2,5,3,2,1,0,1,0,1,0,0,9,5', v2, v3, 1000, 'Storekeeper');
npcBD.Tendera02 = new Array('human', 50, 'stand', v1, 10, 10, 10, 2, '0,3,5,4,6,1,0,1,0,1,0,5,1,1', v2, v3, 1000, 'Storekeeper');
v3 = 'ANCIENT CLVL;ANCIENT CLVL;ANCIENT CLVL;ANCIENT CLVL;ANCIENT CLVL;ANCIENT CLVL;ANCIENT CLVL;ANCIENT CLVL;ANCIENT CLVL;RELIC CLVL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;';
npcBD.Trader01 = new Array('human', 50, 'stand', v1, 10, 10, 10, 1, '0,2,2,2,3,1,0,1,0,1,0,0,9,9', v2, v3, 1000, 'Trader');
npcBD.Trader02 = new Array('human', 50, 'stand', v1, 10, 10, 10, 1, '0,2,0,6,3,1,0,8,0,1,0,5,1,3', v2, v3, 1000, 'Trader');
npcBD.Trader03 = new Array('human', 50, 'stand', v1, 10, 10, 10, 1, '0,2,1,3,0,1,0,1,0,1,0,6,9,1', v2, v3, 1000, 'Trader');
npcBD.Trader04 = new Array('human', 50, 'stand', v1, 10, 10, 10, 1, '1,5,7,5,0,1,0,4,0,1,0,5,1,0', v2, v3, 1000, 'Trader');
v3 = 'HELM CLVL;HELM CLVL;HELM CLVL;HELM CLVL;;ARMOR CLVL;ARMOR CLVL;ARMOR CLVL;ARMOR CLVL;;SWORD CLVL;SWORD CLVL;SWORD CLVL;AXE CLVL;AXE CLVL;HAMMER CLVL;HAMMER CLVL;SHIELD CLVL;SHIELD CLVL;SHIELD CLVL;BOW CLVL;BOW CLVL;;;;;;;;;;;;;;;;;;;;;;;;;;;;';
npcBD.Atercrin = new Array('human', 50, 'stand', v1, 10, 10, 10, 1, '0,2,0,5,2,1,0,6,6,1,4,4,9,-1', v2, v3, 1000, 'Atercrin');
v3 = 'STAFF CLVL;STAFF CLVL;Ring CLVL;Ring CLVL;Ring CLVL;Amulet CLVL;Amulet CLVL;Tome CLVL;Tome CLVL;Tome CLVL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;';
npcBD.Shardenias = new Array('human', 50, 'stand', v1, 10, 10, 10, 1, '2,3,6,3,1,1,0,8,0,1,4,4,2,-1', v2, v3, 1000, 'Shardenias');
v3 = 'ANCIENT CLVL;ANCIENT CLVL;ANCIENT CLVL;ANCIENT CLVL;ANCIENT CLVL;RELIC CLVL;RELIC CLVL;RELIC CLVL;RELIC CLVL;RELIC CLVL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;';
npcBD.Nya = new Array('human', 50, 'stand', v1, 10, 10, 10, 2, '0,2,3,5,4,1,5,1,0,1,0,1,7,7', v2, v3, 1000, 'Nya');
v3 = 'Ring CLVL;Ring CLVL;Ring CLVL;Ring CLVL;Amulet CLVL;Amulet CLVL;Amulet CLVL;Amulet CLVL;Tome CLVL;Tome CLVL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;';
npcBD.Dargolus = new Array('human', 50, 'stand', v1, 10, 10, 10, 1, '0,3,5,2,8,1,7,1,0,1,0,3,6,-1', v2, v3, 1000, 'Dargolus');
npcBD.Reginald = new Array('human', 50, 'stand', v1, 10, 10, 10, 1, '0,3,1,5,1,1,0,1,0,1,0,0,3,3', v2, v3, 1000, 'Reginald');
v2 = '144,145,146';
npcBD.Farmer = new Array('human', 50, 'stand', v1, 10, 10, 10, 1, '0,4,0,5,6,1,0,1,0,1,0,6,4,9', v2, v3, 1000, 'Farmer');
enemyStat.Spider = new Array(15, 4, 15, 25, 25, 20, 14);
enemyStat.GiantSpider = new Array(80, 6, 25, 50, 25, 25, 14);
enemyStat.Sicarius = new Array(80, 6, 15, 40, 40, 25, 14);
enemyStat.Tarantula = new Array(150, 8, 20, 50, 50, 30, 14);
enemyStat.Queen = new Array(200, 8, 30, 50, 50, 30, 16);
enemyStat.WalkingDead = new Array(25, 5, 15, 25, 25, 20, 14);
enemyStat.Zombie = new Array(50, 6, 25, 40, 25, 20, 14);
enemyStat.RottenFlesh = new Array(50, 6, 15, 25, 40, 20, 14);
enemyStat.HauntedZombie = new Array(100, 8, 20, 40, 60, 25, 14);
enemyStat.ArmoredZombie = new Array(100, 8, 30, 60, 40, 25, 14);
enemyStat.SkeletonMelee = new Array(50, 6, 25, 50, 25, 20, 14);
enemyStat.SkeletonBow = new Array(35, 6, 25, 50, 25, 20, 14);
enemyStat.Damned = new Array(50, 6, 15, 50, 35, 20, 14);
enemyStat.InfernalArcher = new Array(35, 6, 15, 35, 50, 20, 14);
enemyStat.ReturnedVillain = new Array(120, 8, 30, 60, 35, 30, 16);
enemyStat.Thug = new Array(25, 5, 15, 25, 25, 20, 14);
enemyStat.Bandit = new Array(50, 6, 25, 50, 35, 20, 14);
enemyStat.MaleBanditBow = new Array(35, 6, 25, 50, 35, 20, 14);
enemyStat.FemaleBanditBow = new Array(35, 6, 25, 50, 35, 20, 14);
enemyStat.CorruptedPriest = new Array(50, 6, 15, 35, 50, 20, 14);
enemyStat.MaleBanditChief = new Array(120, 8, 30, 60, 35, 30, 14);
enemyStat.FemaleBanditChief = new Array(120, 8, 30, 60, 35, 30, 14);
enemyStat.MaleBanditChiefBow = new Array(80, 8, 30, 45, 45, 30, 14);
enemyStat.FemaleBanditChiefBow = new Array(80, 8, 30, 45, 45, 30, 14);
enemyStat.Villain = new Array(150, 8, 30, 60, 45, 30, 16);
enemyStat.MaleVampire = new Array(80, 8, 30, 60, 45, 25, 14);
enemyStat.FemaleVampire = new Array(80, 8, 30, 60, 45, 25, 14);
enemyStat.AncientVampire = new Array(200, 8, 30, 60, 45, 30, 15);
enemyStat.Nosferatu = new Array(250, 9, 20, 60, 60, 30, 16);
enemyStat.Golem = new Array(200, 9, 30, 60, 60, 30, 16);
enemyStat.Demon = new Array(200, 8, 30, 45, 60, 30, 16);
enemyStat.PitLord = new Array(250, 9, 30, 60, 60, 30, 16);
enemyStat.Lust = new Array();
enemyStat.Lust = enemyStat.PitLord;
enemyStat.Envy = new Array();
enemyStat.Envy = enemyStat.PitLord;
enemyStat.Gluttony = new Array();
enemyStat.Gluttony = enemyStat.PitLord;
enemyStat.Sloth = new Array();
enemyStat.Sloth = enemyStat.PitLord;
enemyStat.Greed = new Array();
enemyStat.Greed = enemyStat.PitLord;
enemyStat.Pride = new Array();
enemyStat.Pride = enemyStat.PitLord;
enemyStat.Wrath = new Array();
enemyStat.Wrath = enemyStat.PitLord;
}
function openMainMenu() {
if (uimainmenu_mc != undefined) {
uimainmenu_mc.removeMovieClip();
}
attachMovie('UIMainMenuMC', 'uimainmenu_mc', 10);
}
function quitToMainMenu() {
endGame();
openMainMenu();
}
function startGame() {
endGame();
if (uimainmenu_mc != undefined) {
uimainmenu_mc.removeMovieClip();
}
mensajes.splice(0, mensajes.length);
attachMovie('engineMC', 'engine_mc', 0);
attachMovie('UILoadMapMC', 'uiload_mc', 11);
}
function endGame() {
if (engine_mc != undefined) {
engine_mc.removeMovieClip();
}
if (uigame_mc != undefined) {
uigame_mc.removeMovieClip();
}
}
function savePref() {
var v1 = SharedObject.getLocal('CryptV10SavedData');
var v2 = '';
if (sonido_mc.snd_mc.getFXVolume() > 0) {
defaultFX = sonido_mc.snd_mc.getFXVolume();
}
if (sonido_mc.snd_mc.getMusicVolume() > 0) {
defaultMV = sonido_mc.snd_mc.getMusicVolume();
}
v2 = hotKey.join('.k.') + '.p.' + autoSave + '.p.' + terrainOption + '.p.' + lightningOption + '.p.' + stepSounds + '.p.' + invTradeComp + '.p.' + allowEqSell + '.p.' + sonido_mc.snd_mc.getFXVolume() + '.p.' + sonido_mc.snd_mc.getMusicVolume() + '.p.' + defaultFX + '.p.' + defaultMV;
v1.data.pref = String(v2);
v1.flush();
}
function loadPref() {
var v3 = SharedObject.getLocal('CryptV10SavedData');
var v2 = v3.data.pref;
var v1 = new Array();
v1 = v2.split('.p.');
if (v2 != undefined && v1.length > 0) {
hotKey = v1[0].split('.k.');
autoSave = Number(v1[1]);
terrainOption = Number(v1[2]);
lightningOption = Number(v1[3]);
stepSounds = Number(v1[4]);
invTradeComp = Number(v1[5]);
allowEqSell = Number(v1[6]);
sonido_mc.initFXVol = Number(v1[7]);
sonido_mc.initMusicVol = Number(v1[8]);
sonido_mc.snd_mc.setFXVolume(Number(v1[7]));
sonido_mc.snd_mc.setMusicVolume(Number(v1[8]));
if (Number(v1[9]) > 0) {
defaultFX = Number(v1[9]);
}
if (Number(v1[10]) > 0) {
defaultMV = Number(v1[10]);
}
}
}
function saveGame() {
var v9 = SharedObject.getLocal('CryptV10SavedData');
var v1 = 0;
var v3 = 0;
var v2 = 0;
var v7 = 0;
var v21 = saveSlot;
var v20 = new Date();
var v6 = new Array();
var v4 = new Array();
var v11 = new Array();
var v22 = '';
var v18 = '';
var v15 = '';
var v17 = '';
var v19 = '';
var v16 = '';
var v13 = '';
var v5 = '';
var v12 = '';
var v14 = '';
var v8;
var v10;
v22 = ((String(v20)).split('GMT'))[0].toUpperCase();
v6.push('10000 SC: ' + engine_mc.charPoX[0] + ' SC: ' + engine_mc.charPoY[0] + ' SC: START');
v1 = 0;
while (v1 < engine_mc.zone.length) {
v3 = 0;
while (v3 < engine_mc.zone[v1].length) {
if (engine_mc.zone[v1][v3] != '') {
v4 = engine_mc.zone[v1][v3].split(';');
v6.push(v4[0] + ' SC: ' + v3 + ' SC: ' + v1 + ' SC: ' + v4[1]);
}
++v3;
}
++v1;
}
v18 = v6.join(' SZ: ');
v6.splice(0, v6.length);
if (engine_mc.powerIndex[0].length > 0) {
v5 = engine_mc.powerIndex[0].join(',');
} else {
v5 = '';
}
if (initUIIcons.length > 0) {
v12 = initUIIcons.join(',');
} else {
v12 = '';
}
for (v8 in activePowers) {
if (activePowers[v8].length > 0) {
v6.push(v8 + ',' + activePowers[v8].join(','));
}
}
v14 = v6.join('%.');
v13 = pjName + ';' + pjClass + ';' + pjRaza + ';' + currentXPLevel + ';' + currentXP + ';' + pjConfig01 + ';' + pjConfig02 + ';' + pjGender + ';' + baseAbilities + ';' + itemAbilities1 + ';' + itemAbilities2 + ';' + totalAbilities1 + ';' + totalAbilities2 + ';' + totalAbilities + ';' + currentWeapon + ';' + itemReqOk.join(',') + ';' + miscInv.join(',') + ';' + quesInv.join(',');
v13 += ';' + Math.ceil(engine_mc.objectHP[0]) + ';' + basePowers.join(',') + ';' + creationTime + ';' + gameDif + ';' + gameMap + ';' + engine_mc.currentMana + ';' + cPower + ';' + v5 + ';' + v12 + ';' + v14 + ';' + engine_mc.servantIndex + ';' + engine_mc.objectMaxHP[engine_mc.charIdIndex[engine_mc.servantIndex]] + ';' + engine_mc.charAttack[engine_mc.servantIndex][4] + ';' + expPowers.join(',') + ';' + rPowers + ';' + visitedLoc.join(',');
v5 = 'f56f57f61f67f71f78f79f117f146f147f156f157f';
v6.splice(0, v6.length);
v4.splice(0, v4.length);
v11.splice(0, v11.length);
v1 = 0;
while (v1 < engine_mc.objectCount) {
v6[v1] = engine_mc.objectItems[v1];
v3 = engine_mc.object[v1].frame;
if (v5.indexOf(String('f' + v3 + 'f')) != -1) {
if (engine_mc.objectSelect[v1] == 5) {
v2 = 0;
while (v2 < engine_mc.objectScripts[v1].length) {
if (Number((engine_mc.objectScripts[v1][v2].split('.'))[0]) == 4) {
v11.push(v1 + ';' + engine_mc.objectFrame[v1] + ';' + (engine_mc.objectScripts[v1][v2].split('.'))[4] + ';' + 5);
}
++v2;
}
}
if (v3 == 117 || v3 == 156 || v3 == 157) {
v4.push(String(v1) + ',' + String(engine_mc.objectSelect[v1]) + ',' + String(engine_mc.objectFrame[v1]));
}
}
++v1;
}
v15 = v6.join('.') + ':' + v4.join(';') + ':' + v11.join('.');
v6.splice(0, v6.length);
v4.splice(0, v4.length);
v1 = 1;
while (v1 < engine_mc.charIdIndex.length) {
v3 = engine_mc.charIdIndex[v1];
if (engine_mc.objectHP[v3] == 0) {
v2 = Number((engine_mc.charAnimations[engine_mc.charClass[v1]].die.split(','))[(engine_mc.charAnimations[engine_mc.charClass[v1]].die.split(',')).length - 1]);
v2 += engine_mc.charAnimations[engine_mc.charClass[v1]].total * engine_mc.charAngle[v1];
v4.push(v3);
v4.push(v2);
} else {
v6.push(engine_mc.charType[v1] + '.' + Math.round(engine_mc.charPoX[v1]) + '.' + Math.round(engine_mc.charPoY[v1]) + '.' + Math.ceil(engine_mc.objectHP[v3]) + '.' + engine_mc.objectItems[v3] + '.' + engine_mc.objectTeam[v3] + '.' + engine_mc.charGuard[v1] + '.' + engine_mc.charAI[v1]);
}
++v1;
}
chrsA = v6.join(':');
v6.splice(0, v6.length);
v1 = engine_mc.objectCount;
while (v1 < engine_mc.objectId.length) {
if (engine_mc.objectHP[v1] == 0) {
v3 = Number(((engine_mc.objectId[v1].split('c-'))[0].split('f-'))[1]);
if (v3 < 20) {
v5 = (engine_mc.objectId[v1].split('c-'))[1];
v2 = 1;
while (v2 < v5.length) {
if (v5.charAt(v2) == '-' && !isNaN(Number(v5.charAt(v2 - 1)))) {
v5 = v5.slice(0, v2) + ',' + v5.slice(v2 + 1);
}
++v2;
}
for (v12 in npcBD) {
if (npcBD[v12][7] == v3 && npcBD[v12][8] == v5) {
v7 = engine_mc.objectFrame[v1];
v2 = 0;
while (v2 < v4.length) {
if (v4[v2] == v1) {
v7 = v4[v2 + 1];
break;
}
v2 += 2;
}
v6.push(v12 + '.' + Math.round(engine_mc.objectX[v1]) + '.' + Math.round(engine_mc.objectY[v1]) + '.' + v7 + '.' + engine_mc.objectItems[v1]);
break;
}
}
}
}
++v1;
}
v19 = v6.join(':');
v6.splice(0, v6.length);
v4.splice(0, v4.length);
v1 = engine_mc.objectCount;
while (v1 < engine_mc.objectId.length) {
v4 = engine_mc.objectId[v1].split('c-');
if (v4[0] == 'f-228') {
v6.push('228.' + engine_mc.objectFrame[v1] + '.' + Math.round(engine_mc.objectX[v1]) + '.' + Math.round(engine_mc.objectY[v1]));
} else {
if (v4[0] == 'f-18') {
v6.push('18.' + engine_mc.objectFrame[v1] + '.' + Math.round(engine_mc.objectX[v1]) + '.' + Math.round(engine_mc.objectY[v1]) + '.' + engine_mc.objectItems[v1]);
}
}
++v1;
}
v17 = v6.join(':');
v6.splice(0, v6.length);
for (v10 in potions) {
v6.push(v10 + ';' + potions[v10]);
}
v16 = v6.join(';');
v5 = currentMap + '_' + v15 + '_' + v13 + '_' + itemInv + '_' + itemEqu + '_' + v18 + '_' + chrsA + '_' + v19 + '_' + v17 + '_' + v16 + '_' + goBackToSurfaceX + ';' + goBackToSurfaceY + '_' + engine_mc.deletedArea.join(';') + '_' + mapXCoor + ';' + mapYCoor;
if (mensajes.length == 0) {
mensajes.push('_game saved');
} else {
if (mensajes[mensajes.length - 1] != '_game saved') {
mensajes.push('_game saved');
}
}
switch (v21) {
case 0:
v9.data.game00 = String(v5);
v9.flush();
break;
case 1:
v9.data.game01 = String(v5);
v9.flush();
break;
case 2:
v9.data.game02 = String(v5);
v9.flush();
break;
case 3:
v9.data.game03 = String(v5);
v9.flush();
break;
case 4:
v9.data.game04 = String(v5);
v9.flush();
break;
case 5:
v9.data.game05 = String(v5);
v9.flush();
break;
case 6:
v9.data.game06 = String(v5);
v9.flush();
break;
case 7:
v9.data.game07 = String(v5);
v9.flush();
break;
case 8:
v9.data.game08 = String(v5);
v9.flush();
break;
case 9:
v9.data.game09 = String(v5);
v9.flush();
}
}
function loadGame(slot) {
var v1 = 0;
var v4 = new Array();
var v2 = new Array();
var v5 = new Array();
var v3 = new Array();
var v6 = '';
trace('load game ' + slot);
v6 = getSlotInfo(slot);
v5 = v6.split('_');
if (v5.length > 1) {
saveSlot = slot;
v4 = v5[2].split(';');
v2 = v4[17].split(',');
v1 = 0;
while (v1 < v2.length) {
quesInv[v1] = Number(v2[v1]);
++v1;
}
gameDif = Number(v4[21]);
currentXPLevel = Number(v4[3]);
currentMap = Number(v5[0]);
setMap(currentMap);
endGame();
itemInv = v5[3];
itemEqu = v5[4];
v4 = v5[2].split(';');
pjName = v4[0];
pjClass = v4[1];
pjRaza = v4[2];
currentXP = Number(v4[4]);
pjConfig01 = v4[5];
pjConfig02 = v4[6];
pjGender = Number(v4[7]);
baseAbilities = v4[8];
itemAbilities1 = v4[9];
itemAbilities2 = v4[10];
totalAbilities1 = v4[11];
totalAbilities2 = v4[12];
totalAbilities = v4[13];
currentWeapon = Number(v4[14]);
v2 = v4[15].split(',');
v1 = 0;
while (v1 < v2.length) {
itemReqOk[v1] = Number(v2[v1]);
++v1;
}
v2 = v4[16].split(',');
v1 = 0;
while (v1 < v2.length) {
miscInv[v1] = Number(v2[v1]);
++v1;
}
initHP = Number(v4[18]);
v2 = v4[19].split(',');
v1 = 0;
while (v1 < v2.length) {
basePowers[v1] = Number(v2[v1]);
++v1;
}
creationTime = Number(v4[20]);
gameMap = v4[22];
initMana = Number(v4[23]);
cPower = Number(v4[24]);
if (v4[25] != '') {
initPowerIndexData = v4[25].split(',');
} else {
initPowerIndexData.splice(0, initPowerIndexData.length);
}
if (v4[26] != '') {
initUIIcons = v4[26].split(',');
} else {
initUIIcons.splice(0, initUIIcons.length);
}
if (v4[27] != '') {
v2 = v4[27].split('%.');
v1 = 0;
while (v1 < v2.length) {
v3 = v2[v1].split(',');
if (v3.length == 3) {
activePowers[v3[0]] = new Array(Number(v3[1]), Number(v3[2]));
} else {
if (v3.length == 5) {
activePowers[v3[0]] = new Array(Number(v3[1]), Number(v3[2]), Number(v3[3]), Number(v3[4]));
} else {
v6 = v3[0];
v3.splice(0, 1);
activePowers[v6] = v3;
}
}
++v1;
}
}
loadServantData = v4[28] + ',' + v4[29] + ',' + v4[30];
v2 = v4[31].split(',');
v1 = 0;
while (v1 < v2.length) {
expPowers[v1] = Number(v2[v1]);
++v1;
}
rPowers = Number(v4[32]);
if (v4[33] != undefined) {
v2 = v4[33].split(',');
v1 = 0;
while (v1 < v2.length) {
visitedLoc[v1] = Number(v2[v1]);
++v1;
}
}
updateObj = v5[1];
aliveNPCs = v5[6];
deadNPCs = v5[7];
aditionalObj = v5[8];
zoneData = v5[5];
v2 = v5[9].split(';');
v1 = 0;
while (v1 < v2.length) {
potions[v2[v1]] = v2[v1 + 1];
v1 += 2;
}
v2 = v5[10].split(';');
goBackToSurfaceX = Number(v2[0]);
goBackToSurfaceY = Number(v2[1]);
deletedArea = v5[11];
v2 = v5[12].split(';');
mapXCoor = Number(v2[0]);
mapYCoor = Number(v2[1]);
startGame();
}
}
function loadInfoPj(slot) {
var v1 = 0;
var v3 = new Array();
var v2 = new Array();
var v4 = new Array();
var v7 = new Array();
var v5 = '';
trace('load game ' + slot);
v5 = getSlotInfo(slot);
v4 = v5.split('_');
if (v4.length > 1) {
saveSlot = slot;
v3 = v4[2].split(';');
v2 = v3[17].split(',');
v1 = 0;
while (v1 < v2.length) {
quesInv[v1] = Number(v2[v1]);
++v1;
}
endGame();
itemInv = v4[3];
itemEqu = v4[4];
v3 = v4[2].split(';');
pjName = v3[0];
pjClass = v3[1];
pjRaza = v3[2];
currentXPLevel = Number(v3[3]);
currentXP = Number(v3[4]);
pjConfig01 = v3[5];
pjConfig02 = v3[6];
pjGender = Number(v3[7]);
baseAbilities = v3[8];
itemAbilities1 = v3[9];
itemAbilities2 = v3[10];
totalAbilities1 = v3[11];
totalAbilities2 = v3[12];
totalAbilities = v3[13];
currentWeapon = Number(v3[14]);
v2 = v3[15].split(',');
v1 = 0;
while (v1 < v2.length) {
itemReqOk[v1] = Number(v2[v1]);
++v1;
}
v2 = v3[16].split(',');
v1 = 0;
while (v1 < v2.length) {
miscInv[v1] = Number(v2[v1]);
++v1;
}
v2 = v3[19].split(',');
v1 = 0;
while (v1 < v2.length) {
basePowers[v1] = Number(v2[v1]);
++v1;
}
creationTime = Number(v3[20]);
cPower = Number(v3[24]);
if (v3[25] != '') {
initPowerIndexData = v3[25].split(',');
} else {
initPowerIndexData.splice(0, initPowerIndexData.length);
}
if (v3[26] != '') {
initUIIcons = v3[26].split(',');
} else {
initUIIcons.splice(0, initUIIcons.length);
}
v2 = v3[31].split(',');
v1 = 0;
while (v1 < v2.length) {
expPowers[v1] = Number(v2[v1]);
++v1;
}
rPowers = Number(v3[32]);
}
}
function getFreeSlot() {
var v2 = -1;
var v1 = 0;
v1 = 0;
while (v1 < 10) {
if (getSlotInfo(v1) == '') {
v2 = v1;
break;
}
++v1;
}
return v2;
}
function deleteSlot(slot) {
trace('borrar ' + slot);
var v1 = SharedObject.getLocal('CryptV10SavedData');
switch (slot) {
case 0:
v1.data.game00 = '';
trace(v1.data.game00);
v1.flush();
break;
case 1:
v1.data.game01 = '';
v1.flush();
break;
case 2:
v1.data.game02 = '';
v1.flush();
break;
case 3:
v1.data.game03 = '';
v1.flush();
break;
case 4:
v1.data.game04 = '';
v1.flush();
break;
case 5:
v1.data.game05 = '';
v1.flush();
break;
case 6:
v1.data.game06 = '';
v1.flush();
break;
case 7:
v1.data.game07 = '';
v1.flush();
break;
case 8:
v1.data.game08 = '';
v1.flush();
break;
case 9:
v1.data.game09 = '';
v1.flush();
}
}
function slotsInOrder() {
var v8 = '';
var v10 = '';
var v6 = new Array();
var v2 = new Array();
var v7 = new Array();
var v9 = new Array();
var v3 = 0;
var v1 = 0;
var v4 = 0;
var v5 = 0;
v3 = 0;
while (v3 < 10) {
v8 = getSlotInfo(v3);
if (v8 != '') {
v7 = v8.split('_');
v9 = v7[2].split(';');
v6.push(v3);
v2.push(Number(v9[20]));
}
++v3;
}
v7.splice(0, v7.length);
v3 = v6.length;
while (v3 > 0) {
v1 = 0;
while (v1 < v6.length) {
if (v1 == 0) {
v5 = v2[v1];
v4 = v1;
} else {
if (v2[v1] < v5) {
v5 = v2[v1];
v4 = v1;
}
}
++v1;
}
v7.push(v6[v4]);
v6.splice(v4, 1);
v2.splice(v4, 1);
--v3;
}
v10 = v7.join(',');
return v10;
}
function getSlotInfo(slot) {
var v1 = SharedObject.getLocal('CryptV10SavedData');
var v2 = '';
switch (slot) {
return v2;
case 0:
if (v1.data.game00) {
v2 = v1.data.game00;
}
return v2;
case 1:
if (v1.data.game01) {
v2 = v1.data.game01;
}
return v2;
case 2:
if (v1.data.game02) {
v2 = v1.data.game02;
}
return v2;
case 3:
if (v1.data.game03) {
v2 = v1.data.game03;
}
return v2;
case 4:
if (v1.data.game04) {
v2 = v1.data.game04;
}
return v2;
case 5:
if (v1.data.game05) {
v2 = v1.data.game05;
}
return v2;
case 6:
if (v1.data.game06) {
v2 = v1.data.game06;
}
return v2;
case 7:
if (v1.data.game07) {
v2 = v1.data.game07;
}
return v2;
case 8:
if (v1.data.game08) {
v2 = v1.data.game08;
}
return v2;
case 9:
if (v1.data.game09) {
v2 = v1.data.game09;
}
return v2;
}
return v2;
}
function setMap(n) {
if (n == 99) {
fillPotions();
}
mensajes.splice(0, mensajes.length);
area.splice(0, area.length);
deletedArea = '';
activePowers.splice(0, activePowers.length);
aditionalObj = '';
updateObj = '';
aliveNPCs = '';
deadNPCs = '';
initHP = Number((totalAbilities.split(','))[3]);
initMana = Number((totalAbilities.split(','))[4]);
currentMap = n;
objectData = '';
loadServantData = '-1,100,10';
setMapEnemies(n);
visitedLoc[n] = 1;
trace(visitedLoc);
if (lightL[n] == undefined) {
trace('WARNING: Niveles de luz no definidos para mapa ' + n + ' se usaran valores por defecto');
}
switch (n) {
case 0:
mapXCoor = 0;
mapYCoor = 0;
setMap000();
break;
case 1:
setMap001();
break;
case 2:
setMap002();
break;
case 3:
setMap003();
break;
case 4:
setMap004();
break;
case 5:
setMap005();
break;
case 6:
setMap006();
break;
case 7:
setMap007();
break;
case 8:
setMap008();
break;
case 9:
setMap009();
break;
case 10:
setMap010();
break;
case 11:
setMap011();
break;
case 20:
setMap020();
break;
case 21:
setMap021();
break;
case 22:
setMap022();
break;
case 30:
setMap030();
break;
case 31:
setMap031();
break;
case 32:
setMap032();
break;
case 33:
setMap033();
break;
case 34:
setMap034();
break;
case 35:
setMap035();
break;
case 36:
setMap036();
break;
case 37:
setMap037();
break;
case 40:
setMap040();
break;
case 41:
setMap041();
break;
case 42:
setMap042();
break;
case 45:
setMap045();
break;
case 46:
setMap046();
break;
case 47:
setMap047();
break;
case 50:
setMap050();
break;
case 51:
setMap051();
break;
case 52:
setMap052();
break;
case 99:
setMap099();
break;
case 100:
setMap100();
break;
case 101:
setMap101();
break;
case 102:
setMap102();
break;
case 103:
setMap103();
break;
case 104:
setMap104();
break;
case 105:
setMap105();
break;
case 106:
setMap106();
}
}
function setMapEnemies(n) {
var v1 = new Array();
var v12 = new Array(1, 1, 1, 2, 3, 3, 4, 5, 6, 8, 10);
var v3 = 1;
var v2 = 0;
var v7 = 0;
var v6 = 0;
var v10 = 0;
var v4 = 0;
var v9 = '';
var v11 = new Array();
v9 = '';
var v5 = '';
if (v12[currentXPLevel] == undefined) {
v3 = currentXPLevel;
} else {
v3 = v12[currentXPLevel];
}
if (currentXPLevel > 15) {
modDam = 1.25;
} else {
modDam = 0.8 + 0.025 * currentXPLevel;
}
if (gameDif == 2) {
v3 += 2;
modDam = 2;
modHP = 4;
v5 = 'UrnebbarSwordMan';
v9 = 'attack.100.200.1000.2000';
npcBD[v5][3] = v9;
npcBD[v5][4] = 2500;
npcBD[v5][5] = 2500;
npcBD[v5][6] = 2000;
npcBD[v5][11] = 100000;
v5 = 'Isis';
v9 = 'attack.1000.2000.10000.10000';
npcBD[v5][3] = v9;
npcBD[v5][4] = 2500;
npcBD[v5][5] = 2500;
npcBD[v5][6] = 2000;
npcBD[v5][11] = 500000;
v5 = 'Edwin';
v9 = 'attack.500.1000.10000.10000';
npcBD[v5][3] = v9;
npcBD[v5][4] = 2500;
npcBD[v5][5] = 2500;
npcBD[v5][6] = 2000;
npcBD[v5][11] = 250000;
v5 = 'Thermas';
v9 = 'attack.85.200.550.1000';
npcBD[v5][3] = v9;
npcBD[v5][4] = 1500;
npcBD[v5][5] = 1500;
npcBD[v5][6] = 1000;
npcBD[v5][11] = 150000;
v5 = 'Zalmerion';
v9 = 'attack.200.400.1000.2000';
npcBD[v5][3] = v9;
npcBD[v5][4] = 2500;
npcBD[v5][5] = 2500;
npcBD[v5][6] = 2000;
npcBD[v5][11] = 500000;
v5 = 'Icaro';
v9 = 'attack.125.350.650.1250';
npcBD[v5][3] = v9;
npcBD[v5][4] = 2000;
npcBD[v5][5] = 2000;
npcBD[v5][6] = 1250;
npcBD[v5][11] = 200000;
v5 = 'Morgana';
v9 = 'attack.125.350.650.1250';
npcBD[v5][3] = v9;
npcBD[v5][4] = 2000;
npcBD[v5][5] = 2000;
npcBD[v5][6] = 1250;
npcBD[v5][11] = 200000;
v5 = 'Dartenul';
v9 = 'attack.1000.2000.10000.10000';
npcBD[v5][3] = v9;
npcBD[v5][4] = 2500;
npcBD[v5][5] = 2500;
npcBD[v5][6] = 2000;
npcBD[v5][11] = 500000;
} else {
modDam = 0.8;
modHP = 1.5;
v5 = 'UrnebbarSwordMan';
v9 = 'attack.75.150.500.500';
npcBD[v5][3] = v9;
npcBD[v5][4] = 500;
npcBD[v5][5] = 500;
npcBD[v5][6] = 500;
npcBD[v5][11] = 500;
v5 = 'Isis';
v9 = 'attack.250.500.1000.1000';
npcBD[v5][3] = v9;
npcBD[v5][4] = 1000;
npcBD[v5][5] = 1000;
npcBD[v5][6] = 1000;
npcBD[v5][11] = 1000;
v5 = 'Edwin';
v9 = 'attack.150.300.800.800';
npcBD[v5][3] = v9;
npcBD[v5][4] = 800;
npcBD[v5][5] = 800;
npcBD[v5][6] = 800;
npcBD[v5][11] = 800;
v5 = 'Thermas';
v9 = 'attack.8.20.105.105';
npcBD[v5][3] = v9;
npcBD[v5][4] = 200;
npcBD[v5][5] = 200;
npcBD[v5][6] = 100;
npcBD[v5][11] = 800;
v5 = 'Zalmerion';
v9 = 'attack.25.75.250.250';
npcBD[v5][3] = v9;
npcBD[v5][4] = 1000;
npcBD[v5][5] = 1000;
npcBD[v5][6] = 600;
npcBD[v5][11] = 20000;
v5 = 'Icaro';
v9 = 'attack.10.30.200.200';
npcBD[v5][3] = v9;
npcBD[v5][4] = 400;
npcBD[v5][5] = 400;
npcBD[v5][6] = 150;
npcBD[v5][11] = 5000;
v5 = 'Morgana';
v9 = 'attack.12.40.150.150';
npcBD[v5][3] = v9;
npcBD[v5][4] = 500;
npcBD[v5][5] = 500;
npcBD[v5][6] = 200;
npcBD[v5][11] = 6000;
v5 = 'Dartenul';
v9 = 'attack.125.250.800.800';
npcBD[v5][3] = v9;
npcBD[v5][4] = 800;
npcBD[v5][5] = 800;
npcBD[v5][6] = 800;
npcBD[v5][11] = 10000;
}
switch (n) {
case 0:
if (gameDif == 2) {
v1 = new Array('Thug', v3, 'WalkingDead', v3, 'MaleBanditChief', v3, 'ArmoredZombie', v3);
} else {
v1 = new Array('Thug', 2, 'WalkingDead', 2, 'MaleBanditChief', 3, 'ArmoredZombie', 1.5);
}
break;
case 1:
if (gameDif == 2) {
v1 = new Array('Zombie', v3);
} else {
v1 = new Array('Zombie', 3);
}
break;
case 2:
if (gameDif == 2) {
v1 = new Array('Zombie', v3, 'Spider', v3, 'Sicarius', v3, 'Queen', v3);
} else {
v1 = new Array('Zombie', 4, 'Spider', 4, 'Sicarius', 5, 'Queen', 5);
}
break;
case 20:
if (gameDif == 2) {
v1 = new Array('Bandit', v3, 'CorruptedPriest', v3, 'FemaleBanditBow', v3, 'MaleBanditChief', v3);
} else {
v1 = new Array('Bandit', 3, 'CorruptedPriest', 3, 'FemaleBanditBow', 3, 'MaleBanditChief', 3);
}
break;
case 3:
if (gameDif == 2) {
v1 = new Array('Bandit', v3, 'CorruptedPriest', v3, 'FemaleBanditBow', v3, 'MaleBanditChief', v3, 'Villain', v3);
} else {
v1 = new Array('Bandit', 6, 'CorruptedPriest', 6, 'FemaleBanditBow', 6, 'MaleBanditChief', 6, 'Villain', 6);
}
break;
case 4:
if (gameDif == 2) {
v1 = new Array('Zombie', v3, 'RottenFlesh', v3, 'SkeletonBow', v3, 'ReturnedVillain', v3, 'ArmoredZombie', v3);
} else {
v1 = new Array('Zombie', 7, 'RottenFlesh', 7, 'SkeletonBow', 7, 'ReturnedVillain', 7, 'ArmoredZombie', 7);
}
break;
case 5:
if (gameDif == 2) {
v1 = new Array('Zombie', v3, 'SkeletonBow', v3, 'GiantSpider', v3, 'Tarantula', v3, 'Nosferatu', v3);
} else {
v1 = new Array('Zombie', 9, 'SkeletonBow', 9, 'GiantSpider', 9, 'Tarantula', 9, 'Nosferatu', 10);
}
break;
case 6:
if (gameDif == 2) {
v1 = new Array('SkeletonMelee', v3, 'RottenFlesh', v3, 'InfernalArcher', v3, 'ReturnedVillain', v3, 'Nosferatu', v3);
} else {
v1 = new Array('SkeletonMelee', 12, 'RottenFlesh', 12, 'InfernalArcher', 12, 'ReturnedVillain', 12, 'Nosferatu', 12);
}
break;
case 7:
if (gameDif == 2) {
v1 = new Array('SkeletonMelee', v3, 'Zombie', v3, 'ArmoredZombie', v3, 'Golem', v3 + 20);
} else {
v1 = new Array('SkeletonMelee', 16, 'Zombie', 16, 'ArmoredZombie', 16, 'Golem', 30);
}
break;
case 8:
if (gameDif == 2) {
v1 = new Array('Demon', v3, 'SkeletonMelee', v3, 'GiantSpider', v3, 'Tarantula', v3);
} else {
v1 = new Array('Demon', 18, 'SkeletonMelee', 18, 'GiantSpider', 18, 'Tarantula', 18);
}
break;
case 9:
if (gameDif == 2) {
v1 = new Array('Demon', v3);
} else {
v1 = new Array('Demon', 18);
}
break;
case 10:
if (gameDif == 2) {
v1 = new Array('Nosferatu', v3, 'MaleVampire', v3, 'FemaleVampire', v3, 'SkeletonBow', v3);
} else {
v1 = new Array('Nosferatu', 20, 'MaleVampire', 20, 'FemaleVampire', 20, 'SkeletonBow', 20);
}
break;
case 11:
if (gameDif == 2) {
v1 = new Array('Lust', v3, 'Envy', v3, 'Gluttony', v3, 'Sloth', v3, 'Greed', v3, 'Pride', v3, 'Wrath', v3, 'ReturnedVillain', v3, 'InfernalArcher', v3, 'PitLord', v3);
} else {
v1 = new Array('Lust', 22, 'Envy', 22, 'Gluttony', 22, 'Sloth', 22, 'Greed', 22, 'Pride', 22, 'Wrath', 22, 'ReturnedVillain', 22, 'InfernalArcher', 22, 'PitLord', 22);
}
break;
case 21:
if (gameDif == 2) {
v1 = new Array('Demon', v3, 'Damned', v3, 'SkeletonBow', v3, 'RottenFlesh', v3);
} else {
v1 = new Array('Demon', 14, 'Damned', 14, 'SkeletonBow', 14, 'RottenFlesh', 14);
}
break;
case 35:
v1 = new Array('ReturnedVillain', v3, 'SkeletonBow', v3, 'HauntedZombie', v3);
break;
case 36:
v1 = new Array('Nosferatu', v3, 'FemaleVampire', v3, 'Damned', v3);
break;
case 37:
v1 = new Array('AncientVampire', v3, 'HauntedZombie', v3, 'InfernalArcher', v3);
break;
case 40:
v1 = new Array('FemaleBanditChiefBow', v3, 'FemaleBanditChief', v3, 'Thug', v3);
break;
case 41:
v1 = new Array('Villain', v3, 'Bandit', v3, 'FemaleBanditBow', v3);
break;
case 42:
v1 = new Array('Villain', v3, 'Bandit', v3);
break;
case 45:
v1 = new Array('AncientVampire', v3, 'MaleVampire', v3, 'RottenFlesh', v3);
break;
case 46:
v1 = new Array('WalkingDead', v3, 'ArmoredZombie', v3);
break;
case 47:
v1 = new Array('RottenFlesh', v3, 'SkeletonBow', v3, 'ArmoredZombie', v3);
break;
case 50:
v1 = new Array('GiantSpider', v3, 'Sicarius', v3, 'Tarantula', v3);
break;
case 51:
v1 = new Array('Bandit', v3, 'CorruptedPriest', v3, 'FemaleBanditChief', v3);
break;
case 52:
v1 = new Array('FemaleBanditChiefBow', v3, 'MaleBanditBow', v3, 'Thug', v3);
break;
case 99:
if (gameDif == 2) {
v1 = new Array('WalkingDead', v3, 'GiantSpider', v3);
} else {
v1 = new Array('WalkingDead', 0.8, 'GiantSpider', 0.4);
}
break;
case 100:
if (gameDif == 2) {
v1 = new Array('GiantSpider', v3, 'Damned', v3, 'ReturnedVillain', v3);
} else {
v1 = new Array('GiantSpider', 5, 'Damned', 5, 'ReturnedVillain', 5);
}
break;
case 101:
if (gameDif == 2) {
v1 = new Array('ReturnedVillain', v3, 'ArmoredZombie', v3, 'SkeletonBow', v3, 'Sicarius', v3);
} else {
v1 = new Array('ReturnedVillain', 16, 'ArmoredZombie', 16, 'SkeletonBow', 16, 'Sicarius', 16);
}
break;
case 102:
if (gameDif == 2) {
v1 = new Array('GiantSpider', v3, 'Sicarius', v3, 'Tarantula', v3);
} else {
v1 = new Array('GiantSpider', 12, 'Sicarius', 12, 'Tarantula', 12);
}
break;
case 103:
if (gameDif == 2) {
v1 = new Array('Bandit', v3, 'FemaleBanditChief', v3, 'CorruptedPriest', v3, 'Villain', v3);
} else {
v1 = new Array('Bandit', 10, 'FemaleBanditChief', 10, 'CorruptedPriest', 10, 'Villain', 10);
}
break;
case 104:
if (gameDif == 2) {
v1 = new Array('Demon', v3, 'HauntedZombie', v3, 'SkeletonMelee', v3, 'InfernalArcher', v3);
} else {
v1 = new Array('Demon', 18, 'HauntedZombie', 18, 'SkeletonMelee', 18, 'InfernalArcher', 18);
}
break;
case 105:
if (gameDif == 2) {
v1 = new Array('Villain', v3, 'MaleBanditChiefBow', v3, 'CorruptedPriest', v3);
} else {
v1 = new Array('Villain', 18, 'MaleBanditChiefBow', 18, 'CorruptedPriest', 18);
}
break;
case 106:
if (gameDif == 2) {
v1 = new Array('GiantSpider', v3, 'MaleVampire', v3, 'FemaleVampire', v3, 'Nosferatu', v3);
} else {
v1 = new Array('GiantSpider', 18, 'MaleVampire', 18, 'FemaleVampire', 18, 'Nosferatu', 18);
}
}
v2 = 0;
while (v2 < v1.length) {
v11 = npcBD[v1[v2]][3].split('.');
v4 = 2 + v1[v2 + 1] * 0.35;
if (v1[v2 + 1] < 1) {
v7 = Math.round(enemyStat[v1[v2]][1] * (1 + v4 * v1[v2 + 1] * 0.05) * 0.5 * v1[v2 + 1]);
v6 = Math.round(enemyStat[v1[v2]][1] * (1 + v4 * v1[v2 + 1] * 0.05) * 1.5 * v1[v2 + 1]);
v10 = Math.round(enemyStat[v1[v2]][2] * (1 + v4 * v1[v2 + 1] * 0.1) * v1[v2 + 1]);
n = Math.round(enemyStat[v1[v2]][5] * (1 + v4 * v1[v2 + 1] * 0.1) * v1[v2 + 1]);
v7 = Math.ceil(v7 * modDam);
v6 = Math.ceil(v6 * modDam);
v9 = v11[0] + '.' + v7 + '.' + v6 + '.' + v10 + '.' + n;
v7 = Math.round(enemyStat[v1[v2]][3] * (1 + v4 * v1[v2 + 1] * 0.1) * v1[v2 + 1]);
v6 = Math.round(enemyStat[v1[v2]][4] * (1 + v4 * v1[v2 + 1] * 0.1) * v1[v2 + 1]);
v10 = Math.round(enemyStat[v1[v2]][6] * (1 + v4 * v1[v2 + 1] * 0.1) * v1[v2 + 1]);
n = Math.round(enemyStat[v1[v2]][0] * (1 + v4 * v1[v2 + 1] * 0.1) * v1[v2 + 1]);
n = Math.ceil(n * modHP);
} else {
v7 = Math.round(enemyStat[v1[v2]][1] * (1 + v4 * v1[v2 + 1] * 0.05) * 0.5);
v6 = Math.round(enemyStat[v1[v2]][1] * (1 + v4 * v1[v2 + 1] * 0.05) * 1.5);
v10 = Math.round(enemyStat[v1[v2]][2] * (1 + v4 * v1[v2 + 1] * 0.1));
n = Math.round(enemyStat[v1[v2]][5] * (1 + v4 * v1[v2 + 1] * 0.1));
v7 = Math.ceil(v7 * modDam);
v6 = Math.ceil(v6 * modDam);
v9 = v11[0] + '.' + v7 + '.' + v6 + '.' + v10 + '.' + n;
v7 = Math.round(enemyStat[v1[v2]][3] * (1 + v4 * v1[v2 + 1] * 0.1));
v6 = Math.round(enemyStat[v1[v2]][4] * (1 + v4 * v1[v2 + 1] * 0.1));
v10 = Math.round(enemyStat[v1[v2]][6] * (1 + v4 * v1[v2 + 1] * 0.1));
n = Math.round(enemyStat[v1[v2]][0] * (1 + v4 * v1[v2 + 1] * 0.1));
n = Math.ceil(n * modHP);
}
setNPCChar(v1[v2], v9, v7, v6, v10, n, Math.ceil(v1[v2 + 1]));
v2 += 2;
}
}
function setNPCChar(ids, auxAtt, auxDef, auxRes, auxEva, auxHP, auxLevel) {
var v3 = new Array();
var v2 = new Array();
var v1 = 0;
var v5 = auxLevel;
npcBD[ids][3] = auxAtt;
npcBD[ids][4] = auxDef;
npcBD[ids][5] = auxRes;
npcBD[ids][6] = auxEva;
npcBD[ids][11] = auxHP;
if (npcBD[ids][10] != '') {
if (ids == 'Spider') {
v5 = Math.ceil(auxLevel / 2);
}
v3 = npcBD[ids][10].split(',');
v1 = 0;
while (v1 < v3.length) {
v2 = v3[v1].split(' ');
if (!isNaN(Number(v2[1]))) {
v2[1] = v5;
v3[v1] = v2.join(' ');
}
++v1;
}
npcBD[ids][10] = v3.join(',');
}
trace('Cambiando caracteristicas enemigo: ' + ids + ', tattack,minD,maxD,mod,acc => ' + npcBD[ids][3] + ' hp ' + auxHP + ' def ' + auxDef + 'res' + auxRes + ' niv ' + auxLevel);
}
function changeStart(cxS, cyS) {
var v3 = new Array();
var v2 = new Array();
var v1 = 0;
v3 = zoneData.split(' SZ: ');
v1 = 0;
while (v1 < v3.length) {
v2 = v3[v1].split(' SC: ');
if (v2[3] == 'START') {
v2[1] = cxS;
v2[2] = cyS;
v3[v1] = v2.join(' SC: ');
trace('inicio de mapa cambiado ' + v3[v1]);
break;
}
++v1;
}
zoneData = v3.join(' SZ: ');
}
function changeZone(s1, s2) {
var v3 = new Array();
var v2 = new Array();
var v1 = 0;
v3 = zoneData.split(' SZ: ');
v1 = 0;
while (v1 < v3.length) {
v2 = v3[v1].split(' SC: ');
if (v2[3] == s1) {
trace('Zona cambiada: ' + s1 + ' -> ' + s2);
v2[3] = s2;
v3[v1] = v2.join(' SC: ');
break;
}
++v1;
}
zoneData = v3.join(' SZ: ');
}
function setMap000() {
terrainData = '137,136,126,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,75,74,1,1,155,171,150,151,1,1,1,1,1,1,1,155,154,170,151,1,1,1;2,133,132,131,2,2,2,2,2,2,2,2,106,107,2,2,75,74,77,76,1,168,169,156,152,153,150,151,1,1,1,1,168,169,156,152,153,150,151,1;2,125,147,139,2,2,2,2,2,2,2,91,108,109,102,103,77,76,2,128,1,1,163,162,161,3,152,153,166,1,1,1,1,163,162,161,3,152,167,166;124,127,126,2,2,2,2,2,2,2,2,2,2,2,104,105,2,128,129,130,1,1,1,1,163,162,159,160,1,1,1,1,1,155,171,165,3,3,164,166;126,2,2,142,120,121,2,2,2,2,2,2,2,2,2,128,129,130,2,2,1,1,1,1,1,1,1,1,1,1,1,1,168,169,156,3,158,159,160,1;51,2,2,2,122,123,143,2,2,2,2,2,2,2,2,140,135,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,163,162,159,160,1,1,1;53,50,51,2,2,2,2,2,2,2,2,2,2,128,129,130,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;4,52,53,50,51,2,2,2,2,2,2,128,129,130,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;62,61,4,52,53,50,51,2,2,2,2,138,120,121,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,155,171,150,151,1;2,63,62,61,4,52,53,50,51,2,2,2,122,134,135,2,2,2,2,2,1,1,1,1,155,154,150,151,1,1,1,1,1,1,168,169,156,152,167,166;131,2,2,63,62,61,4,52,64,65,2,2,2,138,120,121,2,2,2,2,1,1,155,171,157,156,152,153,150,151,1,1,1,1,1,163,162,159,160,1;133,132,131,2,2,63,62,61,68,50,51,2,2,2,122,134,135,2,2,2,1,168,157,156,159,160,163,162,152,167,166,1,1,1,1,1,1,1,1,1;2,137,141,2,2,2,67,111,4,52,53,50,51,2,2,138,120,121,2,2,1,1,163,160,1,1,1,168,165,164,166,1,1,1,1,1,1,1,1,1;125,124,139,2,2,2,2,63,62,4,4,52,53,50,51,2,122,123,120,121,1,1,155,171,150,151,155,154,165,164,166,1,1,1,1,1,1,1,1,1;127,126,2,2,2,2,2,2,67,111,4,4,4,52,64,65,2,2,122,123,1,168,169,156,152,153,157,156,159,160,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,67,111,4,4,4,4,68,50,51,2,2,2,1,1,163,162,161,158,159,160,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,63,113,62,61,4,4,52,64,65,2,2,1,1,1,1,163,160,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,142,120,121,125,147,144,2,67,111,4,58,59,60,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,122,123,127,126,2,55,54,69,4,110,65,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,145,120,121,2,2,2,2,67,66,56,58,59,60,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1';
waterData = '4';
objectData += '25:false::1:31:107:-2:0:0::_23:false::1:38:136:1:0:0::_23:false::1:3:102:1:0:0::_22:false::1:1:76:1:0:0::_21:false::1:27:151:1:0:0::_21:false::1:1:132:1:0:0::_20:false::1:25:107:1:0:0::_20:false::1:53:7:1:0:0::_20:false::1:43:14:1:0:0::_20:false::1:8:6:1:0:0::_20:false::1:3:35:1:0:0::_22:false::1:2:15:1:0:0::_22:false::1:16:43:1:0:0::_22:false::1:38:21:1:0:0::_22:false::1:44:4:1:0:0::_22:false::1:35:9:1:0:0::_22:false::1:71:44:1:0:0::_22:false::1:56:67:1:0:0::_22:false::1:65:95:1:0:0::_23:false::1:59:91:1:0:0::_23:false::1:63:104:1:0:0::_23:false::1:73:51:1:0:0::_23:false::1:74:33:1:0:0::_23:false::1:76:20:1:0:0::_23:false::1:46:10:1:0:0::_23:false::1:35:27:1:0:0::_23:false::1:25:3:1:0:0::_23:false::1:27:10:1:0:0::_23:false::1:6:4:1:0:0::_23:false::1:2:43:1:0:0::_23:false::1:0:9:1:0:0::_21:false::1:34:14:1:0:0::_21:false::1:27:6:1:0:0::_21:false::1:46:9:1:0:0::_21:false::1:59:77:1:0:0::_21:false::1:69:38:1:0:0::_22:false::1:70:61:1:0:0::_23:false::1:76:68:1:0:0::_20:false::1:71:69:1:0:0::_20:false::1:79:116:1:0:0::_21:false::1:65:142:1:0:0::_22:false::1:60:154:1:0:0::_23:false::1:65:150:1:0:0::_23:false::1:75:148:1:0:0::_22:false::1:76:141:1:0:0::_21:false::1:75:152:1:0:0::_21:false::1:37:76:1:0:0::_22:false::1:32:66:1:0:0::_22:false::1:20:3:1:0:0::_22:false::1:29:16:1:0:0::_21:false::1:57:9:1:0:0::_21:false::1:61:41:1:0:0::_22:false::1:53:36:1:0:0::_23:false::1:55:46:1:0:0::_23:false::1:58:13:1:0:0::_23:false::1:66:2:1:0:0::_22:false::1:64:8:1:0:0::_20:false::1:27:136:1:0:0::_22:false::1:20:134:1:0:0::_22:false::1:23:125:1:0:0::_22:false::1:27:137:1:0:0::_23:false::1:18:128:1:0:0::_23:false::1:18:104:1:0:0::_23:false::1:18:91:1:0:0::_23:false::1:14:92:1:0:0::_23:false::1:0:85:1:0:0::_22:false::1:4:83:1:0:0::_22:false::1:1:121:1:0:0::_22:false::1:37:87:1:0:0::_23:false::1:42:50:1:0:0::_21:false::1:48:58:1:0:0::_22:false::1:44:56:1:0:0::_23:false::1:18:50:1:0:0::_23:false::1:60:118:1:0:0::_23:false::1:71:112:1:0:0::_34:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:69:118:1:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:71:118:1:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:91:122:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:108:122:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:100:90:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:111.25:95.5:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._176:false::1:107:18:0:0:0::_177:false::1:95:4:0:0:0::_178:false::1:95.5:6:0:0:0::_175:false::1:95:7:0:0:0::_176:false::1:86:14:0:0:0::_177:false::1:86:94:0:0:0::_178:false::1:104:76:0:0:0::_176:false::1:104:79:0:0:0::_44:false::1:146:19:1:0:0::_83:false::1:135:15:1:0:0::_86:false::1:137:14:1:0:0::_87:false::1:134:14:1:0:0::_90:false::1:134:17:1:0:0::_90:false::1:133:15:1:0:0::_91:false::1:130:14:1:0:0::_40:false::1:136.75:14:2:0:0::_40:false::1:137:14:2:0:0::_40:false::1:138:14:2:0:0::_96:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:137.8:14.2:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:135:18:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:146.8:16:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:141:3:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:135:30:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:152:34:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:144:42:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:152:70:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:143:82:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._91:false::1:140:77:1:0:0::_91:false::1:139:78:1:0:0::_91:false::1:138:79:1:0:0::_91:false::1:139:79:1:0:0::_91:false::1:140:78:1:0:0::_29:false::1,2,3,4:65:92:1:0:2:GOLD+ CLVL;ANY CLVL;ANY CLVL;POTION 0:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:152:73:1:0:2:RANDOM CLVL;RANDOM CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_31:false::1,2,3,4:153:74:1:0:2:GOLD+ CLVL;GOLD+ CLVL;GOLD+ CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:154:75:1:0:2:POTION 0;POTION 0;POTION 0;POTION 0:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_31:false::1,2,3,4:155:76:1:0:2:ANY CLVL;ANY CLVL;ANY CLVL;ANY+ CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_45:false::1:155:78:1:0:0::_44:false::1:142:79:1:0:0::_39:false::1:132.7:13.2:0:0:0::_39:false::1:132.9:13:0:0:0::_174:false::1:45:27:1:0:7:Road to Urnebbar:';
zoneData = '0 SC: 2 SC: 155 SC: START SZ: 1 SC: 142 SC: 6 SC: TELEPORT 145/70 SZ: 1 SC: 145 SC: 70 SC: TELEPORT 142/6 SZ: 2 SC: 93 SC: 110 SC: TELEPORT 137/30 SZ: 2 SC: 137 SC: 30 SC: TELEPORT 93/110 SZ: 3 SC: 9 SC: 21 SC: TELEPORT 93/86 SZ: 3 SC: 93 SC: 86 SC: TELEPORT 9/21 SZ: 4 SC: 33 SC: 141 SC: TELEPORT 93/6 SZ: 4 SC: 93 SC: 6 SC: TELEPORT 33/141 SZ: 5 SC: 19 SC: 151 SC: NPC WalkingDead 2 SZ: 6 SC: 22 SC: 147 SC: NPC WalkingDead 2 SZ: 7 SC: 22 SC: 157 SC: NPC WalkingDead 2 SZ: 8 SC: 25 SC: 151 SC: NPC WalkingDead 2 SZ: 9 SC: 29 SC: 157 SC: NPC WalkingDead 2 SZ: 10 SC: 32 SC: 148 SC: NPC WalkingDead 2 SZ: 11 SC: 36 SC: 157 SC: NPC WalkingDead 2 SZ: 12 SC: 37 SC: 144 SC: NPC WalkingDead 2 SZ: 13 SC: 42 SC: 143 SC: NPC WalkingDead 2 SZ: 14 SC: 43 SC: 136 SC: NPC WalkingDead 2 SZ: 15 SC: 38 SC: 135 SC: NPC WalkingDead 2 SZ: 16 SC: 32 SC: 133 SC: NPC WalkingDead 2 SZ: 17 SC: 92 SC: 14 SC: NPC WalkingDead 2 SZ: 18 SC: 97 SC: 12 SC: NPC WalkingDead 2 SZ: 19 SC: 97 SC: 18 SC: NPC WalkingDead 2 SZ: 20 SC: 100 SC: 23 SC: NPC WalkingDead 2 SZ: 21 SC: 107 SC: 24 SC: NPC ArmoredZombie 2 SZ: 22 SC: 5 SC: 117 SC: NPC Thug 2 SZ: 23 SC: 8 SC: 110 SC: NPC Thug 2 SZ: 24 SC: 15 SC: 118 SC: NPC Thug 2 SZ: 25 SC: 20 SC: 110 SC: NPC Thug 2 SZ: 26 SC: 15 SC: 107 SC: NPC Thug 2 SZ: 27 SC: 14 SC: 97 SC: NPC Thug 2 SZ: 28 SC: 9 SC: 94 SC: NPC Thug 2 SZ: 29 SC: 9 SC: 84 SC: NPC Thug 2 SZ: 30 SC: 6 SC: 88 SC: NPC Thug 2 SZ: 31 SC: 25 SC: 104 SC: NPC Thug 2 SZ: 32 SC: 25 SC: 112 SC: NPC Thug 2 SZ: 33 SC: 30 SC: 123 SC: NPC Thug 2 SZ: 34 SC: 31 SC: 114 SC: NPC Thug 2 SZ: 35 SC: 31 SC: 109 SC: NPC Thug 2 SZ: 36 SC: 42 SC: 88 SC: NPC Thug 2 SZ: 37 SC: 45 SC: 79 SC: NPC Thug 2 SZ: 38 SC: 49 SC: 86 SC: NPC Thug 2 SZ: 39 SC: 51 SC: 96 SC: NPC Thug 2 SZ: 40 SC: 58 SC: 90 SC: NPC Thug 2 SZ: 41 SC: 54 SC: 99 SC: NPC Thug 2 SZ:42 SZ: 43 SC: 63 SC: 101 SC: NPC Thug 2 SZ: 44 SC: 66 SC: 107 SC: NPC Thug 2 SZ: 45 SC: 64 SC: 111 SC: NPC Thug 2 SZ: 46 SC: 69 SC: 112 SC: NPC Thug 2 SZ: 47 SC: 66 SC: 117 SC: NPC Thug 2 SZ: 48 SC: 69 SC: 121 SC: NPC Thug 2 SZ: 49 SC: 74 SC: 123 SC: NPC Thug 2 SZ: 50 SC: 73 SC: 128 SC: NPC Thug 2 SZ: 51 SC: 72 SC: 135 SC: NPC Thug 2 SZ: 52 SC: 70 SC: 139 SC: NPC Thug 2 SZ: 53 SC: 75 SC: 140 SC: NPC Thug 2 SZ: 54 SC: 22 SC: 59 SC: NPC Thug 2 SZ: 55 SC: 25 SC: 47 SC: NPC Thug 2 SZ: 56 SC: 13 SC: 51 SC: NPC Thug 2 SZ: 57 SC: 17 SC: 42 SC: NPC Thug 2 SZ: 58 SC: 8 SC: 45 SC: NPC Thug 2 SZ: 59 SC: 10 SC: 39 SC: NPC Thug 2 SZ: 60 SC: 12 SC: 30 SC: NPC Thug 2 SZ: 61 SC: 2 SC: 38 SC: NPC Thug 2 SZ: 62 SC: 8 SC: 28 SC: NPC Thug 2 SZ: 63 SC: 14 SC: 22 SC: NPC Thug 2 SZ: 64 SC: 21 SC: 28 SC: NPC Thug 2 SZ: 65 SC: 21 SC: 18 SC: NPC Thug 2 SZ: 66 SC: 16 SC: 13 SC: NPC Thug 2 SZ: 67 SC: 14 SC: 12 SC: NPC Thug 2 SZ: 68 SC: 11 SC: 4 SC: NPC Thug 2 SZ: 69 SC: 16 SC: 4 SC: NPC Thug 2 SZ: 70 SC: 21 SC: 8 SC: NPC Thug 2 SZ: 71 SC: 23 SC: 6 SC: NPC Thug 2 SZ: 72 SC: 32 SC: 19 SC: NPC Thug 2 SZ: 73 SC: 32 SC: 28 SC: NPC Thug 2 SZ: 74 SC: 32 SC: 35 SC: NPC Thug 2 SZ: 75 SC: 44 SC: 56 SC: NPC Thug 2 SZ: 76 SC: 45 SC: 39 SC: NPC Thug 2 SZ: 77 SC: 42 SC: 32 SC: NPC Thug 2 SZ: 78 SC: 42 SC: 24 SC: NPC Thug 2 SZ: 79 SC: 47 SC: 29 SC: NPC Thug 2 SZ: 80 SC: 45 SC: 15 SC: NPC Thug 2 SZ: 81 SC: 52 SC: 43 SC: NPC Thug 2 SZ: 82 SC: 55 SC: 48 SC: NPC Thug 2 SZ: 83 SC: 54 SC: 53 SC: NPC Thug 2 SZ: 84 SC: 54 SC: 8 SC: NPC Thug 2 SZ: 85 SC: 58 SC: 15 SC: NPC Thug 2 SZ: 86 SC: 53 SC: 19 SC: NPC Thug 2 SZ: 87 SC: 67 SC: 20 SC: NPC Thug 2 SZ: 88 SC: 137 SC: 39 SC: NPC Thug 2 SZ: 89 SC: 142 SC: 39 SC: NPC Thug 2 SZ: 90 SC: 153 SC: NaN SC: undefined SZ: 91 SC: 152 SC: 21 SC: NPC Thug 2 SZ: 92 SC: 144 SC: 78 SC: NPC Thug 2 SZ: 93 SC: 148 SC: 82 SC: NPC Thug 2 SZ: 94 SC: 149 SC: 75 SC: NPC Thug 2 SZ: 95 SC: 90 SC: 94 SC: NPC Thug 2 SZ: 96 SC: 99 SC: 86 SC: NPC Thug 2 SZ: 97 SC: 103 SC: 80 SC: NPC Thug 2 SZ: 98 SC: 106 SC: 86 SC: NPC Thug 2 SZ: 99 SC: 110 SC: 88 SC: NPC Thug 2 SZ: 100 SC: 115 SC: 94 SC: NPC Thug 2 SZ: 101 SC: 117 SC: 99 SC: NPC Thug 2 SZ: 102 SC: 114 SC: 104 SC: NPC Thug 2 SZ: 103 SC: 117 SC: 109 SC: NPC Thug 2 SZ: 104 SC: 111 SC: 113 SC: NPC Thug 2 SZ: 105 SC: 108 SC: 120 SC: NPC Thug 2 SZ: 106 SC: 103 SC: 119 SC: NPC Thug 2 SZ: 107 SC: 102 SC: 126 SC: NPC Thug 2 SZ: 108 SC: 99 SC: 116 SC: NPC Thug 2 SZ: 109 SC: 94 SC: 121 SC: NPC Thug 2 SZ: 110 SC: 94 SC: 114 SC: NPC Thug 2 SZ: 111 SC: 140 SC: 17 SC: NPC MaleBanditChief 2';
limitData = '0:0:19:19_21:0:28:3_21:9:30:16_32:0:39:5_34:8:39:10';
if (quesInv[0] == 0) {
area.push(new Array(100, 3875, 810000, 'UPDATEQUEST 0 2'));
}
if (quesInv[0] == 2 || quesInv[0] == 0) {
area.push(new Array(3000, 550, 810000, 'UPDATEQUEST 0 3'));
area.push(new Array(3000, 550, 810000, 'MSG world map updated'));
}
}
function setMap001() {
terrainData = '2,2,2,2,2,2,2,133,132,131,2,2,2,2,2,2,2,75,74,89,88,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,55,54,50,51,2,2,2,142,139,2,2,2,2,2,75,74,77,76,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;67,66,56,52,64,65,2,2,2,2,2,2,2,78,79,77,76,2,2,2,2,2,2,2,1,1,9,9,9,9,1,1,9,9,9,9,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1;2,63,62,61,110,65,2,2,2,2,2,2,2,80,81,2,2,2,2,2,2,2,2,2,1,1,9,9,9,9,1,1,9,9,9,9,9,9,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1;2,2,67,111,110,65,2,2,2,2,2,2,2,82,83,85,84,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,9,9,9,9,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1;2,2,2,63,60,2,2,2,2,2,2,2,2,2,2,87,86,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1;70,71,2,2,2,2,2,2,2,2,2,2,2,75,74,89,88,2,2,2,2,2,2,2,1,1,9,9,9,9,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1;72,73,70,71,2,2,2,2,2,2,2,2,91,77,76,2,2,2,2,2,2,2,2,2,1,1,9,9,9,9,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1;2,2,72,73,70,71,2,2,2,2,2,2,106,107,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,11,11,11,11,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,72,73,70,71,2,2,75,74,108,109,90,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,11,11,11,11,11,11,11,11,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,72,73,99,98,77,76,2,2,2,2,2,2,2,2,2,2,2,2,1,1,9,9,9,9,1,1,11,11,11,11,11,11,11,11,1,1,1,1,1,10,10,10,10,10,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,75,74,101,100,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,9,9,9,9,1,1,1,1,11,11,11,11,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,75,74,77,76,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;124,143,78,79,77,76,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;126,2,80,81,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,82,83,85,84,2,2,2,2,2,2,2,2,2,2,2,2,2,2,125,124,120,121,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,106,107,87,86,2,2,2,2,2,2,2,2,2,2,2,2,2,137,136,126,122,123,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1;78,79,108,109,89,88,2,2,2,2,2,2,125,124,120,121,2,2,2,137,141,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1;80,81,2,2,2,2,2,125,124,143,145,148,127,126,122,123,144,2,125,124,139,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1;82,83,85,84,2,2,142,127,126,2,2,2,2,2,2,2,125,124,127,126,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,87,86,2,2,2,2,2,2,2,2,2,2,125,124,127,126,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;75,74,89,88,2,2,2,2,2,2,2,125,124,148,127,126,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;77,76,2,2,128,129,149,132,131,2,137,136,126,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,128,129,130,2,125,124,139,2,137,141,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1';
waterData = '4';
objectData = '180:false::1:348:16:-2:0:0::_120:false::1:351:21:1:0:0::_120:false::1:353:19:1:0:0::_120:false::1:355:17:1:0:0::_181:false::1:360:16:-2:0:0::_122:false::1:364:19:1:0:0::_122:false::1:366:21:1:0:0::_183:false::1:356:16:-2:0:0::_122:false::1:360:15:1:0:0::_122:false::1:362:17:1:0:0::_187:false::1:104:24:-2:0:0::_185:false::1:108:24:-2:0:0::_186:false::1:116:24:-2:0:0::_184:false::1:112:24:-2:0:0::_187:false::1:128:24:-2:0:0::_185:false::1:132:24:-2:0:0::_180:false::1:236:24:-2:0:0::_120:false::1:239:29:1:0:0::_120:false::1:241:27:1:0:0::_182:false::1:240:24:-2:0:0::_120:false::1:243:25:1:0:0::_120:false::1:245:23:1:0:0::_181:false::1:248:24:-2:0:0::_122:false::1:252:27:1:0:0::_122:false::1:254:29:1:0:0::_182:false::1:344:24:-2:0:0::_120:false::1:347:25:1:0:0::_120:false::1:349:23:1:0:0::_122:false::1:372:27:1:0:0::_183:false::1:364:24:-2:0:0::_122:false::1:368:23:1:0:0::_122:false::1:370:25:1:0:0::_187:false::1:136:32:-2:0:0::_186:false::1:148:32:-2:0:0::_184:false::1:144:32:-2:0:0::_180:false::1:228:32:-2:0:0::_120:false::1:231:37:1:0:0::_120:false::1:233:35:1:0:0::_182:false::1:232:32:-2:0:0::_120:false::1:235:33:1:0:0::_120:false::1:237:31:1:0:0::_181:false::1:256:32:-2:0:0::_122:false::1:260:35:1:0:0::_122:false::1:262:37:1:0:0::_183:false::1:252:32:-2:0:0::_122:false::1:256:31:1:0:0::_122:false::1:258:33:1:0:0::_180:false::1:332:32:-2:0:0::_182:false::1:336:32:-2:0:0::_180:false::1:220:40:-2:0:0::_120:false::1:225:43:1:0:0::_182:false::1:224:40:-2:0:0::_120:false::1:229:39:1:0:0::_181:false::1:264:40:-2:0:0::_122:false::1:268:43:1:0:0::_122:false::1:270:45:1:0:0::_183:false::1:260:40:-2:0:0::_122:false::1:264:39:1:0:0::_122:false::1:266:41:1:0:0::_180:false::1:324:40:-2:0:0::_182:false::1:328:40:-2:0:0::_180:false::1:212:48:-2:0:0::_120:false::1:217:51:1:0:0::_182:false::1:216:48:-2:0:0::_181:false::1:272:48:-2:0:0::_122:false::1:276:51:1:0:0::_122:false::1:278:53:1:0:0::_183:false::1:268:48:-2:0:0::_122:false::1:272:47:1:0:0::_122:false::1:274:49:1:0:0::_122:false::1:330:49:1:0:0::_185:false::1:328:48:-2:0:0::_122:false::1:332:51:1:0:0::_122:false::1:334:53:1:0:0::_187:false::1:104:56:-2:0:0::_185:false::1:108:56:-2:0:0::_186:false::1:116:56:-2:0:0::_184:false::1:112:56:-2:0:0::_180:false::1:204:56:-2:0:0::_182:false::1:208:56:-2:0:0::_120:false::1:211:57:1:0:0::_120:false::1:213:55:1:0:0::_122:false::1:284:59:1:0:0::_183:false::1:276:56:-2:0:0::_122:false::1:280:55:1:0:0::_122:false::1:282:57:1:0:0::_187:false::1:332:56:-2:0:0::_122:false::1:336:55:1:0:0::_122:false::1:338:57:1:0:0::_185:false::1:336:56:-2:0:0::_122:false::1:340:59:1:0:0::_122:false::1:342:61:1:0:0::_180:false::1:136:64:-2:0:0::_150:false::1:139:69:1:0:0::_150:false::1:141:67:1:0:0::_182:false::1:140:64:-2:0:0::_150:false::1:143:65:1:0:0::_150:false::1:145:63:1:0:0::_181:false::1:148:64:-2:0:0::_151:false::1:152:67:1:0:0::_151:false::1:154:69:1:0:0::_183:false::1:144:64:-2:0:0::_151:false::1:148:63:1:0:0::_151:false::1:150:65:1:0:0::_182:false::1:200:64:-2:0:0::_120:false::1:203:65:1:0:0::_187:false::1:340:64:-2:0:0::_122:false::1:344:63:1:0:0::_122:false::1:346:65:1:0:0::_185:false::1:344:64:-2:0:0::_180:false::1:128:72:-2:0:0::_150:false::1:131:77:1:0:0::_150:false::1:133:75:1:0:0::_182:false::1:132:72:-2:0:0::_150:false::1:135:73:1:0:0::_150:false::1:137:71:1:0:0::_181:false::1:156:72:-2:0:0::_151:false::1:160:75:1:0:0::_151:false::1:162:77:1:0:0::_183:false::1:152:72:-2:0:0::_151:false::1:156:71:1:0:0::_151:false::1:158:73:1:0:0::_187:false::1:128:80:-2:0:0::_151:false::1:134:81:1:0:0::_185:false::1:132:80:-2:0:0::_151:false::1:136:83:1:0:0::_186:false::1:156:80:-2:0:0::_150:false::1:159:81:1:0:0::_184:false::1:152:80:-2:0:0::_150:false::1:155:85:1:0:0::_150:false::1:157:83:1:0:0::_180:false::1:180:80:-2:0:0::_120:false::1:183:85:1:0:0::_120:false::1:185:83:1:0:0::_182:false::1:184:80:-2:0:0::_120:false::1:189:79:1:0:0::_187:false::1:104:88:-2:0:0::_185:false::1:108:88:-2:0:0::_186:false::1:116:88:-2:0:0::_184:false::1:112:88:-2:0:0::_187:false::1:136:88:-2:0:0::_151:false::1:142:89:1:0:0::_185:false::1:140:88:-2:0:0::_151:false::1:144:91:1:0:0::_151:false::1:146:93:1:0:0::_186:false::1:148:88:-2:0:0::_150:false::1:151:89:1:0:0::_150:false::1:153:87:1:0:0::_184:false::1:144:88:-2:0:0::_150:false::1:147:93:1:0:0::_150:false::1:149:91:1:0:0::_182:false::1:176:88:-2:0:0::_120:false::1:179:89:1:0:0::_120:false::1:181:87:1:0:0::_187:false::1:172:96:-2:0:0::_122:false::1:178:97:1:0:0::_185:false::1:176:96:-2:0:0::_122:false::1:180:99:1:0:0::_122:false::1:182:101:1:0:0::_122:false::1:184:103:1:0:0::_122:false::1:186:105:1:0:0::_185:false::1:184:104:-2:0:0::_122:false::1:188:107:1:0:0::_122:false::1:190:109:1:0:0::_187:false::1:188:112:-2:0:0::_122:false::1:192:111:1:0:0::_122:false::1:194:113:1:0:0::_185:false::1:192:112:-2:0:0::_122:false::1:196:115:1:0:0::_122:false::1:198:117:1:0:0::_187:false::1:196:120:-2:0:0::_122:false::1:200:119:1:0:0::_122:false::1:202:121:1:0:0::_185:false::1:200:120:-2:0:0::_122:false::1:204:123:1:0:0::_122:false::1:206:125:1:0:0::_180:false::1:332:120:-2:0:0::_120:false::1:335:125:1:0:0::_120:false::1:337:123:1:0:0::_182:false::1:336:120:-2:0:0::_120:false::1:339:121:1:0:0::_120:false::1:341:119:1:0:0::_181:false::1:344:120:-2:0:0::_122:false::1:348:123:1:0:0::_122:false::1:350:125:1:0:0::_183:false::1:340:120:-2:0:0::_122:false::1:344:119:1:0:0::_122:false::1:346:121:1:0:0::_187:false::1:204:128:-2:0:0::_122:false::1:208:127:1:0:0::_122:false::1:210:129:1:0:0::_185:false::1:208:128:-2:0:0::_122:false::1:212:131:1:0:0::_122:false::1:214:133:1:0:0::_180:false::1:324:128:-2:0:0::_120:false::1:327:133:1:0:0::_120:false::1:329:131:1:0:0::_182:false::1:328:128:-2:0:0::_120:false::1:331:129:1:0:0::_120:false::1:333:127:1:0:0::_181:false::1:352:128:-2:0:0::_122:false::1:356:131:1:0:0::_122:false::1:358:133:1:0:0::_183:false::1:348:128:-2:0:0::_122:false::1:352:127:1:0:0::_122:false::1:354:129:1:0:0::_187:false::1:212:136:-2:0:0::_122:false::1:216:135:1:0:0::_122:false::1:218:137:1:0:0::_185:false::1:216:136:-2:0:0::_122:false::1:220:139:1:0:0::_122:false::1:222:141:1:0:0::_120:false::1:271:141:1:0:0::_120:false::1:273:139:1:0:0::_187:false::1:324:136:-2:0:0::_122:false::1:328:135:1:0:0::_122:false::1:330:137:1:0:0::_185:false::1:328:136:-2:0:0::_122:false::1:332:139:1:0:0::_122:false::1:334:141:1:0:0::_186:false::1:352:136:-2:0:0::_120:false::1:355:137:1:0:0::_120:false::1:357:135:1:0:0::_184:false::1:348:136:-2:0:0::_120:false::1:351:141:1:0:0::_120:false::1:353:139:1:0:0::_187:false::1:220:144:-2:0:0::_122:false::1:224:143:1:0:0::_122:false::1:226:145:1:0:0::_185:false::1:224:144:-2:0:0::_122:false::1:228:147:1:0:0::_122:false::1:230:149:1:0:0::_186:false::1:264:144:-2:0:0::_120:false::1:267:145:1:0:0::_120:false::1:269:143:1:0:0::_184:false::1:260:144:-2:0:0::_120:false::1:263:149:1:0:0::_120:false::1:265:147:1:0:0::_187:false::1:332:144:-2:0:0::_122:false::1:336:143:1:0:0::_122:false::1:338:145:1:0:0::_185:false::1:336:144:-2:0:0::_122:false::1:340:147:1:0:0::_122:false::1:342:149:1:0:0::_186:false::1:344:144:-2:0:0::_120:false::1:347:145:1:0:0::_120:false::1:349:143:1:0:0::_184:false::1:340:144:-2:0:0::_120:false::1:343:149:1:0:0::_120:false::1:345:147:1:0:0::_187:false::1:228:152:-2:0:0::_122:false::1:232:151:1:0:0::_185:false::1:232:152:-2:0:0::_186:false::1:256:152:-2:0:0::_120:false::1:259:153:1:0:0::_120:false::1:261:151:1:0:0::_184:false::1:252:152:-2:0:0::_120:false::1:255:157:1:0:0::_120:false::1:257:155:1:0:0::_187:false::1:236:160:-2:0:0::_185:false::1:240:160:-2:0:0::_186:false::1:248:160:-2:0:0::_184:false::1:244:160:-2:0:0::_26:false::1:9:89:1:0:0::_26:false::1:10:90:1:0:0::_26:false::1:11:91:1:0:0::_26:false::1:12:92:1:0:0::_26:false::1:13:93:1:0:0::_26:false::1:14:94:1:0:0::_26:false::1:15:95:1:0:0::_26:false::1:16:96:1:0:0::_26:false::1:17:97:1:0:0::_26:false::1:18:98:1:0:0::_26:false::1:19:99:1:0:0::_26:false::1:8:88:1:0:0::_50:false::1:16:90:1:0:0::_54:false::1:32:106:1:0:0::_55:false::1:43:102:1:0:0::_51:false::1:8:82:1:0:0::_51:false::1:48:122:1:0:0::_51:false::1:40:114:1:0:0::_51:false::1:56:114:1:0:0::_51:false::1:48:106:1:0:0::_59:false::1:36:107:-2:0:0::_58:false::1:23:90:-2:0:0::_56:false::1,2,3,4:23:91:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_57:false::1,2,3,4:36:107:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_38:false::1:49:87:1:0:0::_22:false::1:53:95:1:0:0::_51:false::1:57:75:1:0:0::_51:false::1:65:83:1:0:0::_75:false::1:77:92:-2:0:0::_77:false::1:89:90:1:0:0::_77:false::1:90:91:1:0:0::_77:false::1:91:92:1:0:0::_77:false::1:92:93:1:0:0::_77:false::1:94:95:1:0:0::_77:false::1:95:96:1:0:0::_77:false::1:96:97:1:0:0::_77:false::1:97:98:1:0:0::_77:false::1:83:84:1:0:0::_77:false::1:82:83:1:0:0::_77:false::1:81:82:1:0:0::_77:false::1:80:81:1:0:0::_77:false::1:79:80:1:0:0::_77:false::1:78:79:1:0:0::_77:false::1:77:78:1:0:0::_77:false::1:76:77:1:0:0::_77:false::1:75:76:1:0:0::_77:false::1:74:75:1:0:0::_77:false::1:73:74:1:0:0::_77:false::1:72:73:1:0:0::_77:false::1:71:72:1:0:0::_77:false::1:70:71:1:0:0::_77:false::1:69:70:1:0:0::_77:false::1:68:69:1:0:0::_77:false::1:67:68:1:0:0::_77:false::1:66:67:1:0:0::_77:false::1:65:66:1:0:0::_76:false::1:65:65:1:0:0::_76:false::1:66:64:1:0:0::_76:false::1:67:63:1:0:0::_76:false::1:68:62:1:0:0::_76:false::1:69:61:1:0:0::_76:false::1:70:60:1:0:0::_76:false::1:71:59:1:0:0::_76:false::1:72:58:1:0:0::_76:false::1:72:58:1:0:0::_76:false::1:73:57:1:0:0::_76:false::1:74:56:1:0:0::_76:false::1:75:55:1:0:0::_76:false::1:76:54:1:0:0::_76:false::1:77:53:1:0:0::_76:false::1:78:52:1:0:0::_76:false::1:79:51:1:0:0::_76:false::1:80:50:1:0:0::_76:false::1:81:49:1:0:0::_76:false::1:82:48:1:0:0::_76:false::1:83:47:1:0:0::_76:false::1:84:46:1:0:0::_76:false::1:85:45:1:0:0::_76:false::1:86:44:1:0:0::_76:false::1:87:43:1:0:0::_77:false::1:88:43:1:0:0::_77:false::1:89:44:1:0:0::_77:false::1:90:45:1:0:0::_77:false::1:91:46:1:0:0::_77:false::1:92:47:1:0:0::_77:false::1:93:48:1:0:0::_77:false::1:94:49:1:0:0::_77:false::1:95:50:1:0:0::_77:false::1:96:51:1:0:0::_77:false::1:97:52:1:0:0::_60:false::1:73:91:1:0:0::_66:false::1:82:59:1:0:0::_65:false::1:89:59:1:0:0::_64:false::1:85:62:1:0:0::_63:false::1:83:59:-2:0:0::_26:false::1:97:41:1:0:0::_26:false::1:97:41:1:0:0::_26:false::1:96:40:1:0:0::_26:false::1:95:39:1:0:0::_26:false::1:94:38:1:0:0::_26:false::1:93:37:1:0:0::_26:false::1:92:36:1:0:0::_26:false::1:91:35:1:0:0::_26:false::1:90:34:1:0:0::_26:false::1:89:33:1:0:0::_26:false::1:88:32:1:0:0::_27:false::1:87:32:1:0:0::_27:false::1:86:33:1:0:0::_27:false::1:85:34:1:0:0::_27:false::1:84:35:1:0:0::_27:false::1:84:35:1:0:0::_27:false::1:83:36:1:0:0::_27:false::1:82:37:1:0:0::_27:false::1:81:38:1:0:0::_27:false::1:80:39:1:0:0::_27:false::1:79:40:1:0:0::_27:false::1:78:41:1:0:0::_27:false::1:77:42:1:0:0::_27:false::1:76:43:1:0:0::_27:false::1:75:44:1:0:0::_27:false::1:74:45:1:0:0::_27:false::1:73:46:1:0:0::_27:false::1:72:47:1:0:0::_27:false::1:71:48:1:0:0::_27:false::1:70:49:1:0:0::_27:false::1:69:50:1:0:0::_27:false::1:68:51:1:0:0::_27:false::1:67:52:1:0:0::_27:false::1:66:53:1:0:0::_27:false::1:65:54:1:0:0::_27:false::1:64:55:1:0:0::_27:false::1:63:56:1:0:0::_27:false::1:62:57:1:0:0::_27:false::1:61:58:1:0:0::_26:false::1:54:52:1:0:0::_26:false::1:53:51:1:0:0::_26:false::1:52:50:1:0:0::_26:false::1:51:49:1:0:0::_26:false::1:50:48:1:0:0::_26:false::1:49:47:1:0:0::_26:false::1:48:46:1:0:0::_26:false::1:47:45:1:0:0::_26:false::1:46:44:1:0:0::_27:false::1:37:38:1:0:0::_27:false::1:36:39:1:0:0::_27:false::1:35:40:1:0:0::_27:false::1:34:41:1:0:0::_27:false::1:33:42:1:0:0::_27:false::1:32:43:1:0:0::_27:false::1:31:44:1:0:0::_27:false::1:30:45:1:0:0::_27:false::1:29:46:1:0:0::_27:false::1:28:47:1:0:0::_27:false::1:27:48:1:0:0::_27:false::1:26:49:1:0:0::_27:false::1:25:50:1:0:0::_27:false::1:24:51:1:0:0::_27:false::1:23:52:1:0:0::_27:false::1:22:53:1:0:0::_27:false::1:21:54:1:0:0::_27:false::1:20:55:1:0:0::_27:false::1:19:56:1:0:0::_27:false::1:9:66:1:0:0::_27:false::1:8:67:1:0:0::_27:false::1:7:68:1:0:0::_27:false::1:6:69:1:0:0::_27:false::1:5:70:1:0:0::_27:false::1:4:71:1:0:0::_27:false::1:3:72:1:0:0::_27:false::1:2:73:1:0:0::_26:false::1:7:87:1:0:0::_26:false::1:6:86:1:0:0::_26:false::1:5:85:1:0:0::_26:false::1:4:84:1:0:0::_26:false::1:3:83:1:0:0::_26:false::1:2:82:1:0:0::_26:false::1:30:110:1:0:0::_26:false::1:31:111:1:0:0::_26:false::1:32:112:1:0:0::_26:false::1:33:113:1:0:0::_26:false::1:34:114:1:0:0::_26:false::1:35:115:1:0:0::_26:false::1:36:116:1:0:0::_26:false::1:37:117:1:0:0::_26:false::1:38:118:1:0:0::_26:false::1:39:119:1:0:0::_26:false::1:40:120:1:0:0::_26:false::1:41:121:1:0:0::_26:false::1:42:122:1:0:0::_26:false::1:43:123:1:0:0::_26:false::1:44:124:1:0:0::_26:false::1:45:125:1:0:0::_26:false::1:46:126:1:0:0::_26:false::1:47:127:1:0:0::_26:false::1:48:128:1:0:0::_26:false::1:49:129:1:0:0::_26:false::1:50:130:1:0:0::_26:false::1:51:131:1:0:0::_26:false::1:52:132:1:0:0::_26:false::1:53:133:1:0:0::_26:false::1:54:134:1:0:0::_26:false::1:55:135:1:0:0::_27:false::1:56:135:1:0:0::_27:false::1:57:134:1:0:0::_27:false::1:58:133:1:0:0::_27:false::1:59:132:1:0:0::_27:false::1:60:131:1:0:0::_27:false::1:61:130:1:0:0::_27:false::1:62:129:1:0:0::_27:false::1:63:128:1:0:0::_27:false::1:64:127:1:0:0::_27:false::1:65:126:1:0:0::_27:false::1:66:125:1:0:0::_27:false::1:67:124:1:0:0::_27:false::1:68:123:1:0:0::_27:false::1:69:122:1:0:0::_27:false::1:70:121:1:0:0::_27:false::1:71:120:1:0:0::_27:false::1:72:119:1:0:0::_27:false::1:73:118:1:0:0::_27:false::1:74:117:1:0:0::_27:false::1:75:116:1:0:0::_27:false::1:76:115:1:0:0::_27:false::1:77:114:1:0:0::_27:false::1:78:113:1:0:0::_27:false::1:79:112:1:0:0::_27:false::1:80:111:1:0:0::_27:false::1:81:110:1:0:0::_27:false::1:82:109:1:0:0::_27:false::1:83:108:1:0:0::_27:false::1:84:107:1:0:0::_27:false::1:85:106:1:0:0::_27:false::1:86:105:1:0:0::_27:false::1:87:104:1:0:0::_26:false::1:88:104:1:0:0::_26:false::1:89:105:1:0:0::_26:false::1:90:106:1:0:0::_26:false::1:91:107:1:0:0::_26:false::1:92:108:1:0:0::_26:false::1:93:109:1:0:0::_26:false::1:94:110:1:0:0::_26:false::1:95:111:1:0:0::_26:false::1:96:112:1:0:0::_26:false::1:97:113:1:0:0::_26:false::1:29:109:1:0:0::_26:false::1:28:108:1:0:0::_26:false::1:27:107:1:0:0::_26:false::1:26:106:1:0:0::_27:false::1:18:57:1:0:0::_27:false::1:17:58:1:0:0::_27:false::1:16:59:1:0:0::_50:false::1:23:20:1:0:0::_21:false::1:55:144:1:0:0::_21:false::1:91:187:1:0:0::_21:false::1:75:157:1:0:0::_21:false::1:74:180:1:0:0::_21:false::1:63:171:1:0:0::_21:false::1:90:138:1:0:0::_21:false::1:1:87:1:0:0::_21:false::1:7:31:1:0:0::_20:false::1:51:136:1:0:0::_20:false::1:78:141:1:0:0::_20:false::1:81:172:1:0:0::_20:false::1:42:189:1:0:0::_23:false::1:15:147:1:0:0::_23:false::1:1:94:1:0:0::_23:false::1:4:75:1:0:0::_23:false::1:6:40:1:0:0::_23:false::1:1:5:1:0:0::_23:false::1:24:4:1:0:0::_23:false::1:35:4:1:0:0::_23:false::1:59:9:1:0:0::_23:false::1:64:27:1:0:0::_23:false::1:84:28:1:0:0::_22:false::1:90:42:1:0:0::_22:false::1:80:178:1:0:0::_22:false::1:53:180:1:0:0::_22:false::1:58:188:1:0:0::_22:false::1:89:164:1:0:0::_22:false::1:84:146:1:0:0::_22:false::1:25:150:1:0:0::_22:false::1:1:121:1:0:0::_23:false::1:4:128:1:0:0::_21:false::1:85:49:1:0:0::_20:false::1:73:51:1:0:0::_26:false::1:60:58:1:0:0::_22:false::1:7:191:1:0:0::_22:false::1:6:186:1:0:0::_23:false::1:14:181:1:0:0::_21:false::1:26:181:1:0:0::_22:false::1:42:142:1:0:0::_23:false::1:15:93:1:0:0::_22:false::1:21:13:1:0:0::_23:false::1:17:5:1:0:0::_22:false::1:14:2:1:0:0::_23:false::1:10:6:1:0:0::_20:false::1:42:9:1:0:0::_22:false::1:42:15:1:0:0::_21:false::1:46:5:1:0:0::_21:false::1:50:17:1:0:0::_21:false::1:54:9:1:0:0::_22:false::1:54:14:1:0:0::_22:false::1:63:6:1:0:0::_22:false::1:68:35:1:0:0::_21:false::1:74:29:1:0:0::_20:false::1:81:26:1:0:0::_22:false::1:84:4:1:0:0::_22:false::1:81:12:1:0:0::_23:false::1:85:15:1:0:0::_23:false::1:91:25:1:0:0::_21:false::1:93:4:1:0:0::_170:false::1:89:49:-2:0:0::_170:false::1:87:51:-2:0:0::_170:false::1:85:53:-2:0:0::_170:false::1:91:51:-2:0:0::_170:false::1:89:53:-2:0:0::_170:false::1:87:55:-2:0:0::_170:false::1:93:53:-2:0:0::_170:false::1:91:55:-2:0:0::_170:false::1:89:57:-2:0:0::_171:false::1:91:53:1:0:0::_171:false::1:87:53:1:0:0::_171:false::1:87:49:1:0:0::_171:false::1:89:55:1:0:0::_172:false::1:89:51:1:0:0::_172:false::1:85:51:1:0:0::_172:false::1:85:55:1:0:0::_172:false::1:87:57:1:0:0::_172:false::1:83:53:1:0:0::_170:false::1:69:65:-2:0:0::_170:false::1:71:63:-2:0:0::_170:false::1:73:61:-2:0:0::_171:false::1:69:63:1:0:0::_170:false::1:75:63:-2:0:0::_170:false::1:73:65:-2:0:0::_170:false::1:71:67:-2:0:0::_170:false::1:77:65:-2:0:0::_170:false::1:75:67:-2:0:0::_170:false::1:73:69:-2:0:0::_170:false::1:77:69:-2:0:0::_170:false::1:75:71:-2:0:0::_170:false::1:79:67:-2:0:0::_171:false::1:73:63:1:0:0::_171:false::1:73:71:1:0:0::_171:false::1:71:69:1:0:0::_172:false::1:75:69:1:0:0::_172:false::1:75:65:1:0:0::_172:false::1:71:65:1:0:0::_172:false::1:71:61:1:0:0::_172:false::1:67:65:1:0:0::_172:false::1:69:67:1:0:0::_21:false::1:62:60:1:0:0::_22:false::1:91:116:1:0:0::_21:false::1:82:113:1:0:0::_37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:44:88:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:19.5:77:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:63.5:101:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:72.5:69:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._171:false::1:73:67:1:0:0::_37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:15.5:69:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:26.5:7:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._27:false::1:38:37:1:0:0::_26:false::1:45:43:1:0:0::_26:false::1:44:42:1:0:0::_26:false::1:43:41:1:0:0::_26:false::1:42:40:1:0:0::_26:false::1:41:39:1:0:0::_26:false::1:40:38:1:0:0::_26:false::1:39:37:1:0:0::_50:false::1:37:59:1:0:0::_50:false::1:29:51:1:0:0::_52:false::1:40:71:1:0:0::_53:false::1:27:67:1:0:0::_21:false::1:25:59:1:0:0::_22:false::1:35:42:1:0:0::_22:false::1:46:54:1:0:0::_23:false::1:40:47:1:0:0::_37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:30:53:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:40.5:46:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._105:false::1:112:31:2:0:0::_104:false::1:115:28:2:0:0::_104:false::1:119:24:2:0:0::_105:false::1:116:27:2:0:0::_106:false::1:104:24:2:0:0::_106:false::1:108:28:2:0:0::_107:false::1:111:31:2:0:0::_107:false::1:107:27:2:0:0::_107:false::1:111:63:2:0:0::_107:false::1:107:59:2:0:0::_106:false::1:108:60:2:0:0::_106:false::1:104:56:2:0:0::_105:false::1:112:63:2:0:0::_105:false::1:116:59:2:0:0::_104:false::1:119:56:2:0:0::_104:false::1:115:60:2:0:0::_104:false::1:119:88:2:0:0::_104:false::1:115:92:2:0:0::_105:false::1:116:91:2:0:0::_105:false::1:112:95:2:0:0::_106:false::1:104:88:2:0:0::_106:false::1:108:92:2:0:0::_107:false::1:111:95:2:0:0::_107:false::1:143:39:2:0:0::_107:false::1:139:35:2:0:0::_107:false::1:135:31:2:0:0::_107:false::1:131:27:2:0:0::_106:false::1:128:24:2:0:0::_106:false::1:132:28:2:0:0::_106:false::1:136:32:2:0:0::_106:false::1:140:36:2:0:0::_105:false::1:144:39:2:0:0::_105:false::1:148:35:2:0:0::_104:false::1:151:32:2:0:0::_104:false::1:147:36:2:0:0::_108:false::1:113:62:2:0:0::_108:false::1:113:30:2:0:0::_109:false::1:110:94:2:0:0::_108:false::1:145:38:2:0:0::_155:false::1:129:78:1:0:0::_154:false::1:162:78:1:0:0::_151:false::1:133:80:1:0:0::_150:false::1:160:80:1:0:0::_125:false::1:173:94:1:0:0::_122:false::1:177:96:1:0:0::_122:false::1:329:48:1:0:0::_81:false::1:136:17:1:0:0::_93:false::1:135:19:1:0:0::_98:false::1:132:20:1:0:0::_84:false::1:137:20:1:0:0::_97:false::1:138:21:1:0:0::_99:false::1:136:23:1:0:0::_91:false::1:131:21:1:0:0::_91:false::1:132:22:1:0:0::_84:false::1:133:24:1:0:0::_34:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:127:21:1:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._85:false::1:129:25:1:0:0::_85:false::1:130:24:1:0:0::_86:false::1:130:22:1:0:0::_96:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:136:22:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._83:false::1:140:23:1:0:0::_83:false::1:143:26:1:0:0::_83:false::1:146:29:1:0:0::_83:false::1:136:29:1:0:0::_87:false::1:140:22:1:0:0::_87:false::1:143:25:1:0:0::_87:false::1:146:28:1:0:0::_87:false::1:135:28:1:0:0::_86:false::1:137:27:1:0:0::_85:false::1:138:30:1:0:0::_85:false::1:141.7:24:1:0:0::_85:false::1:144.7:27:1:0:0::_85:false::1:147.7:30:1:0:0::_88:false::1:140:24:1:0:0::_88:false::1:143:27:1:0:0::_88:false::1:146:30:1:0:0::_89:false::1:135:30:1:0:0::_89:false::1:136:31:1:0:0::_89:false::1:137:23:1:0:0::_89:false::1:136:24:1:0:0::_86:false::1:138:28:1:0:0::_83:false::1:140:33:1:0:0::_87:false::1:140:31:1:0:0::_87:false::1:139:32:1:0:0::_86:false::1:141:31:1:0:0::_86:false::1:142:32:1:0:0::_88:false::1:139:34:1:0:0::_88:false::1:140:35:1:0:0::_187:false::1:140:36:-2:0:0::_89:false::1:131:22:1:0:0::_89:false::1:127:24:1:0:0::_89:false::1:128:25:1:0:0::_81:false::1:112:17:1:0:0::_94:false::1:112:19:1:0:0::_94:false::1:114:21:1:0:0::_94:false::1:116:23:1:0:0::_34:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:105:19:1:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._82:false::1:105.15:21.9:1:0:0::_95:false::1:103:22:1:0:0::_99:false::1:109:23:1:0:0::_80:false::1:111:21:1:0:0::_96:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:111:20:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._90:false::1:105:22:1:0:0::_91:false::1:110:18:1:0:0::_112:false::1:115:52:1:0:0::_113:false::1:114:53:1:0:0::_101:false::1:114:54:1:0:0::_103:false::1:111:52:1:0:0::_103:false::1:113:54:1:0:0::_82:false::1:112:47:1:0:0::_81:false::1:108:53:1:0:0::_102:false::1:112:53:0:0:0::_102:false::1:110:51:0:0:0::_83:false::1:113:58:1:0:0::_90:false::1:114:56:1:0:0::_90:false::1:115:57:1:0:0::_80:false::1:110:55:1:0:0::_99:false::1:108:57:1:0:0::_96:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:110:54:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._87:false::1:106:55:1:0:0::_40:false::1:116:57:2:0:0::_39:false::1:138:19.6:2:0:0::_40:false::1:137.7:20:2:0:0::_81:false::1:112:81:1:0:0::_91:false::1:110:83:1:0:0::_91:false::1:109:83:1:0:0::_91:false::1:111:84:1:0:0::_91:false::1:110:84:1:0:0::_95:false::1:103:86:1:0:0::_93:false::1:105:84:1:0:0::_99:false::1:108:89:1:0:0::_80:false::1:110:87:1:0:0::_96:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:110:86:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._87:false::1:107:86:1:0:0::_152:false::1:136:84:1:0:0::_153:false::1:136:87:1:0:0::_151:false::1:141:88:1:0:0::_126:false::1:178:90:1:0:0::_127:false::1:176:92:1:0:0::_182:false::1:172:88:-2:0:0::_120:false::1:187:81:1:0:0::_162:false::1:188:90:-2:0:0::_67:false::1,2,3,4,5:83:59:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5.SELECT 5,FREE 0/0 - 5.SELECT 1.PLAY.4,4,3,3,2,2,1.SELECT 4,NOFREE 0/0_180:false::1:128:16:-2:0:0::_181:false::1:148:24:-2:0:0::_181:false::1:140:16:-2:0:0::_182:false::1:132:16:-2:0:0::_183:false::1:136:16:-2:0:0::_183:false::1:144:24:-2:0:0::_107:false::1:107:91:2:0:0::_58:false::1:38:71:-2:0:0::_58:false::1:44:59:-2:0:0::_56:false::1,2,3,4:44:60:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_56:false::1,2,3,4:38:72:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_180:false::1:104:16:-2:0:0::_181:false::1:116:16:-2:0:0::_182:false::1:108:16:-2:0:0::_183:false::1:112:16:-2:0:0::_100:false::1:106:22:-2:0:0::_100:false::1:108:20:-2:0:0::_100:false::1:112:16:-2:0:0::_101:false::1:107:21:-2:0:0::_101:false::1:111:17:-2:0:0::_101:false::1:113:15:-2:0:0::_102:false::1:114:15:-2:0:0::_102:false::1:116:17:-2:0:0::_102:false::1:118:19:-2:0:0::_102:false::1:120:21:-2:0:0::_103:false::1:115:16:-2:0:0::_103:false::1:117:18:-2:0:0::_103:false::1:119:20:-2:0:0::_103:false::1:121:22:-2:0:0::_181:false::1:116:48:-2:0:0::_180:false::1:104:48:-2:0:0::_182:false::1:108:48:-2:0:0::_183:false::1:112:48:-2:0:0::_100:false::1:106:54:-2:0:0::_100:false::1:108:52:-2:0:0::_100:false::1:110:50:-2:0:0::_100:false::1:112:48:-2:0:0::_101:false::1:107:53:-2:0:0::_101:false::1:109:51:-2:0:0::_101:false::1:111:49:-2:0:0::_101:false::1:113:47:-2:0:0::_102:false::1:114:47:-2:0:0::_102:false::1:116:49:-2:0:0::_102:false::1:118:51:-2:0:0::_102:false::1:120:53:-2:0:0::_103:false::1:115:48:-2:0:0::_103:false::1:117:50:-2:0:0::_103:false::1:119:52:-2:0:0::_103:false::1:121:54:-2:0:0::_180:false::1:104:80:-2:0:0::_181:false::1:116:80:-2:0:0::_182:false::1:108:80:-2:0:0::_183:false::1:112:80:-2:0:0::_100:false::1:106:86:-2:0:0::_100:false::1:108:84:-2:0:0::_100:false::1:110:82:-2:0:0::_100:false::1:112:80:-2:0:0::_101:false::1:107:85:-2:0:0::_101:false::1:109:83:-2:0:0::_101:false::1:111:81:-2:0:0::_101:false::1:113:79:-2:0:0::_102:false::1:114:79:-2:0:0::_102:false::1:116:81:-2:0:0::_102:false::1:118:83:-2:0:0::_102:false::1:120:85:-2:0:0::_103:false::1:115:80:-2:0:0::_103:false::1:117:82:-2:0:0::_103:false::1:119:84:-2:0:0::_103:false::1:121:86:-2:0:0::_114:false::1:108:19:-2:0:0::_115:false::1:108:19:1:0:0::_115:false::1:130:21:1:0:0::_100:false::1:133:19:-2:0:0::_100:false::1:135:17:-2:0:0::_100:false::1:137:15:-2:0:0::_101:false::1:136:16:-2:0:0::_101:false::1:134:18:-2:0:0::_114:false::1:130:21:-2:0:0::_102:false::1:138:15:-2:0:0::_102:false::1:140:17:-2:0:0::_102:false::1:142:19:-2:0:0::_102:false::1:144:21:-2:0:0::_102:false::1:146:23:-2:0:0::_102:false::1:148:25:-2:0:0::_102:false::1:150:27:-2:0:0::_102:false::1:152:29:-2:0:0::_103:false::1:153:30:-2:0:0::_103:false::1:151:28:-2:0:0::_103:false::1:149:26:-2:0:0::_103:false::1:147:24:-2:0:0::_103:false::1:145:22:-2:0:0::_103:false::1:143:20:-2:0:0::_103:false::1:141:18:-2:0:0::_103:false::1:139:16:-2:0:0::_101:false::1:130:22:1:0:0::_111:false::1:142:21:-2:0:0::_111:false::1:150:29:-2:0:0::_111:false::1:146:25:-2:0:0::_111:false::1:134:29:2:0:0::_111:false::1:138:33:2:0:0::_111:false::1:142:37:2:0:0::_111:false::1:110:29:2:0:0::_111:false::1:110:61:2:0:0::_111:false::1:106:89:2:0:0::_111:false::1:116:83:-2:0:0::_111:false::1:118:53:-2:0:0::_174:false::1:30:104:1:0:7:Store:_173:false::1:25:88:1:0:7:Blacksmith:_174:false::1:33:76:1:0:7:Tavern:_174:false::1:39:64:1:0:7:Magical Potions And Items:_92:false::1:133:19:1:0:0::_89:false::1:134:20:1:0:0::_89:false::1:135:20:1:0:0::_56:false::1,2,3,4:114:52:1:0:0::_57:false::1,2,3,4:118:85:1:0:0::_57:false::1,2,3,4:69:84:1:0:0::_57:false::1,2,3,4:61:76:1:0:0::_57:false::1,2,3,4:52:107:1:0:0::_57:false::1,2,3,4:60:115:1:0:0::_57:false::1,2,3,4:52:123:1:0:0::_57:false::1,2,3,4:44:115:1:0:0::_57:false::1,2,3,4:12:83:1:0:0::_56:false::1,2,3,4:36:52:1:0:0::_61:false::1,2,3,4:77:92:1:0:0::_56:false::1,2,3,4:30:21:1:0:0::_142:false::1:187:86:-2:0:0::_142:false::1:189:84:-2:0:0::_142:false::1:191:82:-2:0:0::_160:false::1:184:84:-2:0:0::_160:false::1:186:86:-2:0:0::_144:false::1:185:95:-2:0:0::_142:false::1:187:98:-2:0:0::_142:false::1:185:100:-2:0:0::_142:false::1:183:102:-2:0:0::_162:false::1:188:86:-2:0:0::_163:false::1:188:86:-2:0:0::_187:false::1:180:104:-2:0:0::_143:false::1:188:82:-2:0:0::_143:false::1:190:84:-2:0:0::_143:false::1:192:86:-2:0:0::_143:false::1:194:88:-2:0:0::_143:false::1:196:90:-2:0:0::_143:false::1:198:92:-2:0:0::_143:false::1:200:94:-2:0:0::_122:false::1:194:77:1:0:0::_122:false::1:196:79:1:0:0::_122:false::1:198:81:1:0:0::_122:false::1:200:83:1:0:0::_122:false::1:202:85:1:0:0::_122:false::1:204:87:1:0:0::_122:false::1:206:89:1:0:0::_145:false::1:204:99:-2:0:0::_122:false::1:208:91:1:0:0::_122:false::1:210:93:1:0:0::_141:false::1:206:96:1:0:0::_140:false::1:214:98:1:0:0::_143:false::1:204:102:-2:0:0::_142:false::1:213:104:-2:0:0::_143:false::1:210:104:-2:0:0::_143:false::1:212:106:-2:0:0::_143:false::1:214:108:-2:0:0::_143:false::1:216:110:-2:0:0::_143:false::1:218:112:-2:0:0::_143:false::1:220:114:-2:0:0::_143:false::1:206:104:-2:0:0::_120:false::1:199:117:1:0:0::_120:false::1:201:115:1:0:0::_120:false::1:203:113:1:0:0::_120:false::1:205:111:1:0:0::_141:false::1:208:118:1:0:0::_140:false::1:216:120:1:0:0::_122:false::1:220:123:1:0:0::_124:false::1:223:127:1:0:0::_120:false::1:221:129:1:0:0::_120:false::1:219:131:1:0:0::_120:false::1:217:133:1:0:0::_120:false::1:216:134:1:0:0::_143:false::1:222:116:-2:0:0::_143:false::1:224:118:-2:0:0::_143:false::1:226:120:-2:0:0::_143:false::1:228:122:-2:0:0::_143:false::1:230:124:-2:0:0::_143:false::1:232:126:-2:0:0::_143:false::1:234:128:-2:0:0::_143:false::1:236:130:-2:0:0::_122:false::1:227:130:1:0:0::_141:false::1:225:135:1:0:0::_140:false::1:233:137:1:0:0::_122:false::1:237:140:1:0:0::_124:false::1:240:144:1:0:0::_120:false::1:238:146:1:0:0::_120:false::1:236:148:1:0:0::_120:false::1:234:150:1:0:0::_120:false::1:233:151:1:0:0::_122:false::1:216:99:1:0:0::_122:false::1:218:101:1:0:0::_122:false::1:220:103:1:0:0::_122:false::1:222:105:1:0:0::_122:false::1:224:107:1:0:0::_122:false::1:226:109:1:0:0::_122:false::1:228:111:1:0:0::_122:false::1:230:113:1:0:0::_122:false::1:232:115:1:0:0::_122:false::1:234:117:1:0:0::_122:false::1:236:119:1:0:0::_122:false::1:238:121:1:0:0::_122:false::1:240:123:1:0:0::_122:false::1:242:125:1:0:0::_122:false::1:244:127:1:0:0::_143:false::1:238:132:-2:0:0::_143:false::1:240:134:-2:0:0::_122:false::1:246:129:1:0:0::_122:false::1:248:131:1:0:0::_143:false::1:242:136:-2:0:0::_143:false::1:244:138:-2:0:0::_143:false::1:246:140:-2:0:0::_122:false::1:250:133:1:0:0::_122:false::1:252:135:1:0:0::_122:false::1:242:145:1:0:0::_122:false::1:244:147:1:0:0::_122:false::1:246:149:1:0:0::_122:false::1:248:151:1:0:0::_122:false::1:250:153:1:0:0::_122:false::1:252:155:1:0:0::_122:false::1:254:157:1:0:0::_142:false::1:253:140:-2:0:0::_142:false::1:255:138:-2:0:0::_144:false::1:253:135:-2:0:0::_142:false::1:259:130:-2:0:0::_143:false::1:256:130:-2:0:0::_143:false::1:258:132:-2:0:0::_143:false::1:260:134:-2:0:0::_143:false::1:262:136:-2:0:0::_143:false::1:264:138:-2:0:0::_143:false::1:266:140:-2:0:0::_184:false::1:268:136:-2:0:0::_186:false::1:234:146:-2:0:0::_187:false::1:238:146:-2:0:0::_187:false::1:244:152:-2:0:0::_186:false::1:230:150:-2:0:0::_185:false::1:248:152:-2:0:0::_185:false::1:241:145:-2:0:0::_136:false::1:252:136:1:0:0::_120:false::1:191:77:1:0:0::_32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:187:82:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:177:95:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:190:108:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:203:92:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:219:108:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:233:122:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:247:136:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:234:138:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:207:111:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:217:121:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:224:128:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._133:false::1:208:111:1:0:0::_133:false::1:212:115:1:0:0::_133:false::1:222:125:1:0:0::_133:false::1:218:121:1:0:0::_133:false::1:229:132:1:0:0::_133:false::1:225:128:1:0:0::_133:false::1:239:142:1:0:0::_133:false::1:235:138:1:0:0::_122:false::1:210:113:1:0:0::_33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:263:132:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._122:false::1:274:137:1:0:0::_122:false::1:272:135:1:0:0::_122:false::1:270:133:1:0:0::_122:false::1:268:131:1:0:0::_122:false::1:266:129:1:0:0::_122:false::1:264:127:1:0:0::_122:false::1:262:125:1:0:0::_122:false::1:260:123:1:0:0::_122:false::1:258:121:1:0:0::_122:false::1:256:119:1:0:0::_122:false::1:246:109:1:0:0::_122:false::1:244:107:1:0:0::_122:false::1:242:105:1:0:0::_122:false::1:240:103:1:0:0::_122:false::1:234:97:1:0:0::_122:false::1:232:95:1:0:0::_122:false::1:230:93:1:0:0::_141:false::1:230:100:1:0:0::_140:false::1:238:102:1:0:0::_120:false::1:261:123:1:0:0::_120:false::1:263:121:1:0:0::_120:false::1:265:119:1:0:0::_124:false::1:267:117:1:0:0::_116:false::1:199:117:1:0:0::_116:false::1:202:120:1:0:0::_116:false::1:205:123:1:0:0::_116:false::1:208:126:1:0:0::_116:false::1:211:129:1:0:0::_116:false::1:216:134:1:0:0::_116:false::1:228:146:1:0:0::_116:false::1:219:137:1:0:0::_116:false::1:222:140:1:0:0::_116:false::1:225:143:1:0:0::_117:false::1,2,3,4,5:200:117:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:203:120:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:206:123:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:209:126:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:212:129:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:217:134:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:220:137:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:223:140:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:226:143:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:229:146:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._133:false::1:264:113:1:0:0::_122:false::1:262:111:1:0:0::_122:false::1:266:115:1:0:0::_122:false::1:250:99:1:0:0::_122:false::1:254:103:1:0:0::_122:false::1:258:107:1:0:0::_133:false::1:260:109:1:0:0::_133:false::1:256:105:1:0:0::_133:false::1:252:101:1:0:0::_133:false::1:248:97:1:0:0::_133:false::1:244:93:1:0:0::_133:false::1:240:89:1:0:0::_133:false::1:236:85:1:0:0::_122:false::1:238:87:1:0:0::_122:false::1:242:91:1:0:0::_122:false::1:246:95:1:0:0::_120:false::1:231:83:1:0:0::_125:false::1:224:89:1:0:0::_122:false::1:228:91:1:0:0::_122:false::1:254:117:1:0:0::_122:false::1:252:115:1:0:0::_140:false::1:250:114:1:0:0::_141:false::1:242:112:1:0:0::_33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:247:97:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:235:85:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:259:109:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:233:97:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:245:109:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._122:false::1:215:78:1:0:0::_122:false::1:213:76:1:0:0::_122:false::1:211:74:1:0:0::_122:false::1:209:72:1:0:0::_122:false::1:207:70:1:0:0::_122:false::1:205:68:1:0:0::_120:false::1:207:89:1:0:0::_120:false::1:209:87:1:0:0::_120:false::1:211:85:1:0:0::_120:false::1:213:83:1:0:0::_183:false::1:196:80:-2:0:0::_187:false::1:204:72:-2:0:0::_185:false::1:208:72:-2:0:0::_185:false::1:200:64:-2:0:0::_182:false::1:208:80:-2:0:0::_125:false::1:201:66:1:0:0::_124:false::1:216:80:1:0:0::_120:false::1:214:82:1:0:0::_76:false::1:211:73:1:0:0::_76:false::1:212:72:1:0:0::_76:false::1:213:71:1:0:0::_76:false::1:214:70:1:0:0::_76:false::1:215:69:1:0:0::_76:false::1:216:68:1:0:0::_76:false::1:217:67:1:0:0::_122:false::1:214:57:1:0:0::_122:false::1:215:58:1:0:0::_122:false::1:217:60:1:0:0::_122:false::1:219:62:1:0:0::_122:false::1:221:64:1:0:0::_136:false::1:221:65:1:0:0::_76:false::1:221:63:1:0:0::_76:false::1:222:62:1:0:0::_76:false::1:223:61:1:0:0::_76:false::1:224:60:1:0:0::_76:false::1:225:59:1:0:0::_76:false::1:226:58:1:0:0::_76:false::1:227:57:1:0:0::_76:false::1:231:53:1:0:0::_76:false::1:232:52:1:0:0::_76:false::1:233:51:1:0:0::_76:false::1:234:50:1:0:0::_76:false::1:235:49:1:0:0::_76:false::1:236:48:1:0:0::_141:false::1:212:82:1:0:0::_140:false::1:220:84:1:0:0::_122:false::1:222:85:1:0:0::_122:false::1:224:87:1:0:0::_122:false::1:225:88:1:0:0::_120:false::1:221:83:1:0:0::_120:false::1:223:81:1:0:0::_120:false::1:225:79:1:0:0::_122:false::1:232:81:1:0:0::_122:false::1:230:79:1:0:0::_122:false::1:229:78:1:0:0::_136:false::1:227:87:1:0:0::_137:false::1:227:84:1:0:0::_120:false::1:226:88:1:0:0::_116:false::1:222:82:1:0:0::_117:false::1,2,3,4,5:223:82:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._132:false::1:210:58:1:0:0::_132:false::1:206:62:1:0:0::_120:false::1:208:60:1:0:0::_120:false::1:204:64:1:0:0::_122:false::1:237:44:1:0:0::_76:false::1:236.8:47.2:1:0:0::_76:false::1:252.8:31.2:1:0:0::_76:false::1:252:32:1:0:0::_76:false::1:251:33:1:0:0::_76:false::1:248:36:1:0:0::_76:false::1:247:37:1:0:0::_76:false::1:246:38:1:0:0::_78:false::1,2,3,4,5,6:249:35:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5,5,6.SELECT 5,FREE -2/1,FREE -2/0,LAYER 40 - 5.SELECT 1.PLAY.5,5,4,4,3,3,2,2,1.SELECT 4,NOFREE -2/1,NOFREE -2/0,LAYER 1_79:false::1,2,3,4,5,6:250:34:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5,5,6.SELECT 5,FREE -2/1,FREE -2/0,LAYER -50 - 5.SELECT 1.PLAY.5,5,4,4,3,3,2,2,1.SELECT 4,NOFREE -2/1,NOFREE -2/0,LAYER 1_32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:215:49:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:223:41:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:206:58:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._122:false::1:246:39:1:0:0::_122:false::1:244:37:1:0:0::_122:false::1:242:35:1:0:0::_122:false::1:240:33:1:0:0::_122:false::1:239:32:1:0:0::_124:false::1:246:40:1:0:0::_120:false::1:244:42:1:0:0::_120:false::1:242:44:1:0:0::_141:false::1:226:40:1:0:0::_140:false::1:234:42:1:0:0::_122:false::1:236:43:1:0:0::_156:false::1,2,3,4,5,6,7,8:227:42:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,6,6,6,6,7,7,7,7,8.SELECT 0,FREE 3/0,FREE 3/-1,FREE 3/-2_120:false::1:240:46:1:0:0::_122:false::1:239:46:1:0:0::_116:false::1:233:37:1:0:0::_116:false::1:235:39:1:0:0::_117:false::1,2,3,4,5:234:37:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:236:39:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:249:25:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._143:false::1:257:43:-2:0:0::_143:false::1:259:45:-2:0:0::_142:false::1:260:43:-2:0:0::_142:false::1:258:45:-2:0:0::_144:false::1:252:50:-2:0:0::_142:false::1:254:53:-2:0:0::_142:false::1:252:55:-2:0:0::_142:false::1:250:57:-2:0:0::_142:false::1:248:59:-2:0:0::_142:false::1:246:61:-2:0:0::_142:false::1:244:63:-2:0:0::_142:false::1:242:65:-2:0:0::_142:false::1:241:66:-2:0:0::_160:false::1:238:64:-2:0:0::_160:false::1:240:66:-2:0:0::_162:false::1:238:62:-2:0:0::_160:false::1:242:68:-2:0:0::_142:false::1:245:74:-2:0:0::_142:false::1:243:76:-2:0:0::_142:false::1:241:78:-2:0:0::_142:false::1:239:80:-2:0:0::_142:false::1:237:82:-2:0:0::_142:false::1:236:83:-2:0:0::_162:false::1:244:68:-2:0:0::_163:false::1:244:68:-2:0:0::_120:false::1:226:78:1:0:0::_120:false::1:233:81:1:0:0::_120:false::1:235:79:1:0:0::_120:false::1:237:77:1:0:0::_120:false::1:239:75:1:0:0::_122:false::1:234:83:1:0:0::_120:false::1:243:71:1:0:0::_120:false::1:241:73:1:0:0::_122:false::1:248:23:1:0:0::_122:false::1:250:25:1:0:0::_131:false::1:244:31:-2:0:0::_143:false::1:261:47:-2:0:0::_143:false::1:263:49:-2:0:0::_143:false::1:265:51:-2:0:0::_143:false::1:267:53:-2:0:0::_143:false::1:269:55:-2:0:0::_143:false::1:271:57:-2:0:0::_143:false::1:273:59:-2:0:0::_143:false::1:275:61:-2:0:0::_120:false::1:249:95:1:0:0::_120:false::1:251:93:1:0:0::_120:false::1:253:91:1:0:0::_120:false::1:255:89:1:0:0::_120:false::1:257:87:1:0:0::_120:false::1:259:85:1:0:0::_120:false::1:261:83:1:0:0::_120:false::1:263:81:1:0:0::_120:false::1:265:79:1:0:0::_120:false::1:267:77:1:0:0::_120:false::1:269:75:1:0:0::_120:false::1:271:73:1:0:0::_120:false::1:273:71:1:0:0::_120:false::1:275:69:1:0:0::_120:false::1:277:67:1:0:0::_120:false::1:279:65:1:0:0::_120:false::1:281:63:1:0:0::_120:false::1:283:61:1:0:0::_124:false::1:274:138:1:0:0::_124:false::1:284:60:1:0:0::_181:false::1:280:55:-2:0:0::_184:false::1:280:56:-2:0:0::_184:false::1:272:64:-2:0:0::_184:false::1:264:72:-2:0:0::_184:false::1:256:80:-2:0:0::_186:false::1:276:64:-2:0:0::_186:false::1:268:72:-2:0:0::_186:false::1:260:80:-2:0:0::_186:false::1:252:88:-2:0:0::_184:false::1:248:88:-2:0:0::_183:false::1:248:96:-2:0:0::_183:false::1:256:104:-2:0:0::_183:false::1:265:128:-2:0:0::_181:false::1:252:96:-2:0:0::_181:false::1:260:104:-2:0:0::_181:false::1:269:127:-2:0:0::_183:false::1:260:123:-2:0:0::_184:false::1:261:115:-2:0:0::_130:false::1:243:86:-2:0:0::_122:false::1:260:83:1:0:0::_122:false::1:258:81:1:0:0::_122:false::1:256:79:1:0:0::_122:false::1:254:77:1:0:0::_122:false::1:252:75:1:0:0::_136:false::1:245.25:68.75:1:0:0::_120:false::1:244.25:69.75:1:0:0::_137:false::1:247:74:1:0:0::_116:false::1:260:51:1:0:0::_116:false::1:263:54:1:0:0::_116:false::1:266:57:1:0:0::_116:false::1:269:60:1:0:0::_116:false::1:272:63:1:0:0::_117:false::1,2,3,4,5:261:51:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:264:54:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:267:57:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:270:60:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:273:63:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._116:false::1:257:78:1:0:0::_116:false::1:254:75:1:0:0::_116:false::1:251:72:1:0:0::_117:false::1,2,3,4,5:252:72:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:255:75:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:258:78:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._132:false::1:220:48:1:0:0::_132:false::1:223:45:1:0:0::_132:false::1:215:53:1:0:0::_132:false::1:227:41:1:0:0::_120:false::1:221:47:1:0:0::_120:false::1:218:50:1:0:0::_32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:246:57:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:221:76:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:236:71:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:262:43:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:276:57:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:254:76:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:248:70:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:250:87:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._145:false::1:336:43:-2:0:0::_143:false::1:336:46:-2:0:0::_142:false::1:343:46:-2:0:0::_144:false::1:345:43:-2:0:0::_143:false::1:340:46:-2:0:0::_142:false::1:347:46:-2:0:0::_142:false::1:351:38:-2:0:0::_142:false::1:353:36:-2:0:0::_142:false::1:355:34:-2:0:0::_142:false::1:357:32:-2:0:0::_142:false::1:359:30:-2:0:0::_142:false::1:361:28:-2:0:0::_142:false::1:363:26:-2:0:0::_143:false::1:360:26:-2:0:0::_143:false::1:362:28:-2:0:0::_143:false::1:364:30:-2:0:0::_143:false::1:366:32:-2:0:0::_187:false::1:324:48:-2:0:0::_120:false::1:363:21:1:0:0::_120:false::1:361:23:1:0:0::_120:false::1:359:25:1:0:0::_120:false::1:357:27:1:0:0::_120:false::1:355:29:1:0:0::_120:false::1:353:31:1:0:0::_141:false::1:342:28:1:0:0::_140:false::1:350:30:1:0:0::_122:false::1:352:31:1:0:0::_125:false::1:349:52:1:0:0::_120:false::1:352:50:1:0:0::_120:false::1:354:48:1:0:0::_120:false::1:356:46:1:0:0::_120:false::1:358:44:1:0:0::_120:false::1:360:42:1:0:0::_120:false::1:362:40:1:0:0::_120:false::1:364:38:1:0:0::_120:false::1:366:36:1:0:0::_120:false::1:368:34:1:0:0::_120:false::1:370:32:1:0:0::_120:false::1:372:30:1:0:0::_128:false::1:352:54:1:0:0::_129:false::1:354:56:1:0:0::_124:false::1:356:58:1:0:0::_120:false::1:354:60:1:0:0::_120:false::1:352:62:1:0:0::_120:false::1:350:64:1:0:0::_120:false::1:348:66:1:0:0::_126:false::1:357:15:1:0:0::_124:false::1:373:29:1:0:0::_122:false::1:347:66:1:0:0::_186:false::1:345:65:-2:0:0::_186:false::1:352:58:-2:0:0::_184:false::1:349:57:-2:0:0::_186:false::1:364:34:-2:0:0::_186:false::1:356:42:-2:0:0::_184:false::1:353:41:-2:0:0::_184:false::1:360:34:-2:0:0::_184:false::1:367:27:-2:0:0::_184:false::1:370:24:-2:0:0::_181:false::1:368:23:-2:0:0::_183:false::1:352:57:-2:0:0::_183:false::1:349:52:-2:0:0::_183:false::1:353:56:-2:0:0::_184:false::1:349:45:-2:0:0::_116:false::1:340:37:1:0:0::_117:false::5:341:37:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:348:50:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:353:15:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:333:51:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:363:32:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._116:false::1:358:29:1:0:0::_116:false::1:354:33:1:0:0::_116:false::1:350:37:1:0:0::_117:false::1,2,3,4,5:359:29:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:355:33:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:351:37:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._76:false::1:189:107:1:0:0::_76:false::1:190:106:1:0:0::_76:false::1:191:105:1:0:0::_76:false::1:192:104:1:0:0::_76:false::1:193:103:1:0:0::_76:false::1:194:102:1:0:0::_76:false::1:195:101:1:0:0::_76:false::1:196:100:1:0:0::_76:false::1:197:99:1:0:0::_76:false::1:198:98:1:0:0::_143:false::1:332:38:-2:0:0::_142:false::1:335:38:-2:0:0::_142:false::1:333:40:-2:0:0::_142:false::1:331:42:-2:0:0::_142:false::1:329:44:-2:0:0::_142:false::1:327:46:-2:0:0::_120:false::1:335:33:1:0:0::_122:false::1:338:33:1:0:0::_120:false::1:339:33:1:0:0::_120:false::1:341:31:1:0:0::_120:false::1:343:29:1:0:0::_120:false::1:345:27:1:0:0::_120:false::1:333:35:1:0:0::_120:false::1:331:37:1:0:0::_120:false::1:329:39:1:0:0::_120:false::1:327:41:1:0:0::_122:false::1:327:46:1:0:0::_125:false::1:323:44:1:0:0::_120:false::1:326:42:1:0:0::_185:false::1:323:43:-2:0:0::_182:false::1:339:23:-2:0:0::_32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:340:28:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._120:false::1:248:96:1:0:0::_164:false::1:228:35:2:0:0::_164:false::1:235:28:2:0:0::_164:false::1:210:53:2:0:0::_164:false::1:196:115:2:0:0::_164:false::1:213:132:2:0:0::_165:false::1:272:135:2:0:0::_164:false::1:258:121:2:0:0::_164:false::1:204:87:2:0:0::_164:false::1:218:81:2:0:0::_164:false::1:230:79:2:0:0::_165:false::1:230:79:2:0:0::_165:false::1:223:86:2:0:0::_164:false::1:245:94:2:0:0::_165:false::1:282:57:2:0:0::_165:false::1:258:81:2:0:0::_164:false::1:344:23:2:0:0::_165:false::1:362:17:2:0:0::_165:false::1:371:26:2:0:0::_29:false::1,2,3,4:27:20:1:0:2:WEAPON CLVL;ARMOR CLVL;GOLD+ CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:94:112:1:0:2:GOOD CLVL;GOLD+ CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_146:false::1,2,3,4,5,6:93:94:1:0:0::';
zoneData = '0 SC: 4 SC: 176 SC: START SZ: 1 SC: 110 SC: 93 SC: TELEPORT 36/108 SZ: 1 SC: 36 SC: 108 SC: TELEPORT 110/93 SZ: 2 SC: 113 SC: 61 SC: TELEPORT 23/92 SZ: 2 SC: 23 SC: 92 SC: TELEPORT 113/61 SZ: 5 SC: 175 SC: 92 SC: TELEPORT 83/59 SZ: 5 SC: 83 SC: 59 SC: TELEPORT 175/92 SZ: 6 SC: 145 SC: 37 SC: TELEPORT 38/73 SZ: 6 SC: 38 SC: 73 SC: TELEPORT 145/37 SZ: 7 SC: 113 SC: 29 SC: TELEPORT 44/61 SZ: 7 SC: 44 SC: 61 SC: TELEPORT 113/29 SZ: 8 SC: 354 SC: 17 SC: TELEPORT 244/31 SZ: 8 SC: 244 SC: 31 SC: TELEPORT 354/17 SZ: 9 SC: 350 SC: 56 SC: TELEPORT 243/86 SZ: 9 SC: 243 SC: 86 SC: TELEPORT 350/56 SZ: 10 SC: 18 SC: 105 SC: NPC Isis 1 SZ: 11 SC: 21 SC: 108 SC: NPC Edwin 1 SZ: 12 SC: 16 SC: 101 SC: NPC UrnebbarSwordMan 1 SZ: 13 SC: 23 SC: 109 SC: NPC UrnebbarSwordMan 1 SZ: 14 SC: 5 SC: 61 SC: NPC UrnebbarSwordMan 1 SZ: 15 SC: 13 SC: 57 SC: NPC UrnebbarSwordMan 1 SZ: 16 SC: 53 SC: 50 SC: NPC UrnebbarSwordMan 1 SZ: 17 SC: 57 SC: 55 SC: NPC UrnebbarSwordMan 1 SZ: 18 SC: 136 SC: 21 SC: NPC Tabernero 0 SZ: 19 SC: 110 SC: 21 SC: NPC Shardenias 0 SZ: 20 SC: 108 SC: 56 SC: NPC Atercrin 0 SZ: 21 SC: 109 SC: 87 SC: NPC Tendera 0 SZ: 22 SC: 13 SC: 171 SC: NPC Zombie 2 SZ: 23 SC: 6 SC: 165 SC: NPC Zombie 2 SZ: 24 SC: 13 SC: 155 SC: NPC Zombie 2 SZ: 25 SC: 6 SC: 147 SC: NPC Zombie 2 SZ: 26 SC: 10 SC: 108 SC: NPC Zombie 2 SZ: 27 SC: 14 SC: 114 SC: NPC Zombie 2 SZ: 28 SC: 22 SC: 115 SC: NPC Zombie 2 SZ: 29 SC: 24 SC: 111 SC: NPC Zombie 2 SZ: 30 SC: 11 SC: 104 SC: NPC Zombie 2 SZ: 31 SC: 9 SC: 114 SC: NPC Zombie 2 SZ: 32 SC: 33 SC: 168 SC: NPC Zombie 2 SZ: 33 SC: 43 SC: 157 SC: NPC Zombie 2 SZ: 34 SC: 56 SC: 160 SC: NPC Zombie 2 SZ: 35 SC: 61 SC: 151 SC: NPC Zombie 2 SZ: 36 SC: 67 SC: 138 SC: NPC Zombie 2 SZ: 37 SC: 90 SC: 117 SC: NPC Zombie 2 SZ: 38 SC: 40 SC: 134 SC: NPC Zombie 2 SZ: 39 SC: 1 SC: 5 SC: NPC Zombie 2 SZ: 40 SC: 9 SC: 4 SC: NPC Zombie 2 SZ: 41 SC: 29 SC: 7 SC: NPC Zombie 2 SZ: 42 SC: 59 SC: 11 SC: NPC Zombie 2 SZ: 43 SC: 65 SC: 9 SC: NPC Zombie 2 SZ: 44 SC: 68 SC: 3 SC: NPC Zombie 2 SZ: 45 SC: 78 SC: 9 SC: NPC Zombie 2 SZ: 46 SC: 73 SC: 17 SC: NPC Zombie 2';
limitData = '0:0:23:23_24:0:30:4_24:5:30:8_24:9:30:13_30:0:41:6_30:5:41:13_42:0:72:22_79:0:94:11_79:10:98:20';
}
function setMap022() {
terrainData = '2,2,2,2,2,2,2,133,132,131,2,2,2,2,2,2,2,75,74,89,88,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,55,54,50,51,2,2,2,142,139,2,2,2,2,2,75,74,77,76,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;67,66,56,52,64,65,2,2,2,2,2,2,2,78,79,77,76,2,2,2,2,2,2,2,1,1,9,9,9,9,1,1,9,9,9,9,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1;2,63,62,61,110,65,2,2,2,2,2,2,2,80,81,2,2,2,2,2,2,2,2,2,1,1,9,9,9,9,1,1,9,9,9,9,9,9,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1;2,2,67,111,110,65,2,2,2,2,2,2,2,82,83,85,84,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,9,9,9,9,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1;2,2,2,63,60,2,2,2,2,2,2,2,2,2,2,87,86,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1;70,71,2,2,2,2,2,2,2,2,2,2,2,75,74,89,88,2,2,2,2,2,2,2,1,1,9,9,9,9,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1;72,73,70,71,2,2,2,2,2,2,2,2,91,77,76,2,2,2,2,2,2,2,2,2,1,1,9,9,9,9,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1;2,2,72,73,70,71,2,2,2,2,2,2,106,107,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,11,11,11,11,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,72,73,70,71,2,2,75,74,108,109,90,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,11,11,11,11,11,11,11,11,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,72,73,99,98,77,76,2,2,2,2,2,2,2,2,2,2,2,2,1,1,9,9,9,9,1,1,11,11,11,11,11,11,11,11,1,1,1,1,1,10,10,10,10,10,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,75,74,101,100,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,9,9,9,9,1,1,1,1,11,11,11,11,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,75,74,77,76,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;124,143,78,79,77,76,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;126,2,80,81,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,82,83,85,84,2,2,2,2,2,2,2,2,2,2,2,2,2,2,125,124,120,121,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,106,107,87,86,2,2,2,2,2,2,2,2,2,2,2,2,2,137,136,126,122,123,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1;78,79,108,109,89,88,2,2,2,2,2,2,125,124,120,121,2,2,2,137,141,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1;80,81,2,2,2,2,2,125,124,143,145,148,127,126,122,123,144,2,125,124,139,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1;82,83,85,84,2,2,142,127,126,2,2,2,2,2,2,2,125,124,127,126,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,87,86,2,2,2,2,2,2,2,2,2,2,125,124,127,126,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;75,74,89,88,2,2,2,2,2,2,2,125,124,148,127,126,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;77,76,2,2,128,129,149,132,131,2,137,136,126,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,128,129,130,2,125,124,139,2,137,141,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1';
waterData = '4';
objectData = '180:false::1:348:16:-2:0:0::_120:false::1:351:21:1:0:0::_120:false::1:353:19:1:0:0::_120:false::1:355:17:1:0:0::_181:false::1:360:16:-2:0:0::_122:false::1:364:19:1:0:0::_122:false::1:366:21:1:0:0::_183:false::1:356:16:-2:0:0::_122:false::1:360:15:1:0:0::_122:false::1:362:17:1:0:0::_187:false::1:104:24:-2:0:0::_185:false::1:108:24:-2:0:0::_186:false::1:116:24:-2:0:0::_184:false::1:112:24:-2:0:0::_187:false::1:128:24:-2:0:0::_185:false::1:132:24:-2:0:0::_180:false::1:236:24:-2:0:0::_120:false::1:239:29:1:0:0::_120:false::1:241:27:1:0:0::_182:false::1:240:24:-2:0:0::_120:false::1:243:25:1:0:0::_120:false::1:245:23:1:0:0::_181:false::1:248:24:-2:0:0::_122:false::1:252:27:1:0:0::_122:false::1:254:29:1:0:0::_182:false::1:344:24:-2:0:0::_120:false::1:347:25:1:0:0::_120:false::1:349:23:1:0:0::_122:false::1:372:27:1:0:0::_183:false::1:364:24:-2:0:0::_122:false::1:368:23:1:0:0::_122:false::1:370:25:1:0:0::_187:false::1:136:32:-2:0:0::_186:false::1:148:32:-2:0:0::_184:false::1:144:32:-2:0:0::_180:false::1:228:32:-2:0:0::_120:false::1:231:37:1:0:0::_120:false::1:233:35:1:0:0::_182:false::1:232:32:-2:0:0::_120:false::1:235:33:1:0:0::_120:false::1:237:31:1:0:0::_181:false::1:256:32:-2:0:0::_122:false::1:260:35:1:0:0::_122:false::1:262:37:1:0:0::_183:false::1:252:32:-2:0:0::_122:false::1:256:31:1:0:0::_122:false::1:258:33:1:0:0::_180:false::1:332:32:-2:0:0::_182:false::1:336:32:-2:0:0::_180:false::1:220:40:-2:0:0::_120:false::1:225:43:1:0:0::_182:false::1:224:40:-2:0:0::_120:false::1:229:39:1:0:0::_181:false::1:264:40:-2:0:0::_122:false::1:268:43:1:0:0::_122:false::1:270:45:1:0:0::_183:false::1:260:40:-2:0:0::_122:false::1:264:39:1:0:0::_122:false::1:266:41:1:0:0::_180:false::1:324:40:-2:0:0::_182:false::1:328:40:-2:0:0::_180:false::1:212:48:-2:0:0::_120:false::1:217:51:1:0:0::_182:false::1:216:48:-2:0:0::_181:false::1:272:48:-2:0:0::_122:false::1:276:51:1:0:0::_122:false::1:278:53:1:0:0::_183:false::1:268:48:-2:0:0::_122:false::1:272:47:1:0:0::_122:false::1:274:49:1:0:0::_122:false::1:330:49:1:0:0::_185:false::1:328:48:-2:0:0::_122:false::1:332:51:1:0:0::_122:false::1:334:53:1:0:0::_187:false::1:104:56:-2:0:0::_185:false::1:108:56:-2:0:0::_186:false::1:116:56:-2:0:0::_184:false::1:112:56:-2:0:0::_180:false::1:204:56:-2:0:0::_182:false::1:208:56:-2:0:0::_120:false::1:211:57:1:0:0::_120:false::1:213:55:1:0:0::_122:false::1:284:59:1:0:0::_183:false::1:276:56:-2:0:0::_122:false::1:280:55:1:0:0::_122:false::1:282:57:1:0:0::_187:false::1:332:56:-2:0:0::_122:false::1:336:55:1:0:0::_122:false::1:338:57:1:0:0::_185:false::1:336:56:-2:0:0::_122:false::1:340:59:1:0:0::_122:false::1:342:61:1:0:0::_180:false::1:136:64:-2:0:0::_150:false::1:139:69:1:0:0::_150:false::1:141:67:1:0:0::_182:false::1:140:64:-2:0:0::_150:false::1:143:65:1:0:0::_150:false::1:145:63:1:0:0::_181:false::1:148:64:-2:0:0::_151:false::1:152:67:1:0:0::_151:false::1:154:69:1:0:0::_183:false::1:144:64:-2:0:0::_151:false::1:148:63:1:0:0::_151:false::1:150:65:1:0:0::_182:false::1:200:64:-2:0:0::_120:false::1:203:65:1:0:0::_187:false::1:340:64:-2:0:0::_122:false::1:344:63:1:0:0::_122:false::1:346:65:1:0:0::_185:false::1:344:64:-2:0:0::_180:false::1:128:72:-2:0:0::_150:false::1:131:77:1:0:0::_150:false::1:133:75:1:0:0::_182:false::1:132:72:-2:0:0::_150:false::1:135:73:1:0:0::_150:false::1:137:71:1:0:0::_181:false::1:156:72:-2:0:0::_151:false::1:160:75:1:0:0::_151:false::1:162:77:1:0:0::_183:false::1:152:72:-2:0:0::_151:false::1:156:71:1:0:0::_151:false::1:158:73:1:0:0::_187:false::1:128:80:-2:0:0::_151:false::1:134:81:1:0:0::_185:false::1:132:80:-2:0:0::_151:false::1:136:83:1:0:0::_186:false::1:156:80:-2:0:0::_150:false::1:159:81:1:0:0::_184:false::1:152:80:-2:0:0::_150:false::1:155:85:1:0:0::_150:false::1:157:83:1:0:0::_180:false::1:180:80:-2:0:0::_120:false::1:183:85:1:0:0::_120:false::1:185:83:1:0:0::_182:false::1:184:80:-2:0:0::_120:false::1:189:79:1:0:0::_187:false::1:104:88:-2:0:0::_185:false::1:108:88:-2:0:0::_186:false::1:116:88:-2:0:0::_184:false::1:112:88:-2:0:0::_187:false::1:136:88:-2:0:0::_151:false::1:142:89:1:0:0::_185:false::1:140:88:-2:0:0::_151:false::1:144:91:1:0:0::_151:false::1:146:93:1:0:0::_186:false::1:148:88:-2:0:0::_150:false::1:151:89:1:0:0::_150:false::1:153:87:1:0:0::_184:false::1:144:88:-2:0:0::_150:false::1:147:93:1:0:0::_150:false::1:149:91:1:0:0::_182:false::1:176:88:-2:0:0::_120:false::1:179:89:1:0:0::_120:false::1:181:87:1:0:0::_187:false::1:172:96:-2:0:0::_122:false::1:178:97:1:0:0::_185:false::1:176:96:-2:0:0::_122:false::1:180:99:1:0:0::_122:false::1:182:101:1:0:0::_122:false::1:184:103:1:0:0::_122:false::1:186:105:1:0:0::_185:false::1:184:104:-2:0:0::_122:false::1:188:107:1:0:0::_122:false::1:190:109:1:0:0::_187:false::1:188:112:-2:0:0::_122:false::1:192:111:1:0:0::_122:false::1:194:113:1:0:0::_185:false::1:192:112:-2:0:0::_122:false::1:196:115:1:0:0::_122:false::1:198:117:1:0:0::_187:false::1:196:120:-2:0:0::_122:false::1:200:119:1:0:0::_122:false::1:202:121:1:0:0::_185:false::1:200:120:-2:0:0::_122:false::1:204:123:1:0:0::_122:false::1:206:125:1:0:0::_180:false::1:332:120:-2:0:0::_120:false::1:335:125:1:0:0::_120:false::1:337:123:1:0:0::_182:false::1:336:120:-2:0:0::_120:false::1:339:121:1:0:0::_120:false::1:341:119:1:0:0::_181:false::1:344:120:-2:0:0::_122:false::1:348:123:1:0:0::_122:false::1:350:125:1:0:0::_183:false::1:340:120:-2:0:0::_122:false::1:344:119:1:0:0::_122:false::1:346:121:1:0:0::_187:false::1:204:128:-2:0:0::_122:false::1:208:127:1:0:0::_122:false::1:210:129:1:0:0::_185:false::1:208:128:-2:0:0::_122:false::1:212:131:1:0:0::_122:false::1:214:133:1:0:0::_180:false::1:324:128:-2:0:0::_120:false::1:327:133:1:0:0::_120:false::1:329:131:1:0:0::_182:false::1:328:128:-2:0:0::_120:false::1:331:129:1:0:0::_120:false::1:333:127:1:0:0::_181:false::1:352:128:-2:0:0::_122:false::1:356:131:1:0:0::_122:false::1:358:133:1:0:0::_183:false::1:348:128:-2:0:0::_122:false::1:352:127:1:0:0::_122:false::1:354:129:1:0:0::_187:false::1:212:136:-2:0:0::_122:false::1:216:135:1:0:0::_122:false::1:218:137:1:0:0::_185:false::1:216:136:-2:0:0::_122:false::1:220:139:1:0:0::_122:false::1:222:141:1:0:0::_120:false::1:271:141:1:0:0::_120:false::1:273:139:1:0:0::_187:false::1:324:136:-2:0:0::_122:false::1:328:135:1:0:0::_122:false::1:330:137:1:0:0::_185:false::1:328:136:-2:0:0::_122:false::1:332:139:1:0:0::_122:false::1:334:141:1:0:0::_186:false::1:352:136:-2:0:0::_120:false::1:355:137:1:0:0::_120:false::1:357:135:1:0:0::_184:false::1:348:136:-2:0:0::_120:false::1:351:141:1:0:0::_120:false::1:353:139:1:0:0::_187:false::1:220:144:-2:0:0::_122:false::1:224:143:1:0:0::_122:false::1:226:145:1:0:0::_185:false::1:224:144:-2:0:0::_122:false::1:228:147:1:0:0::_122:false::1:230:149:1:0:0::_186:false::1:264:144:-2:0:0::_120:false::1:267:145:1:0:0::_120:false::1:269:143:1:0:0::_184:false::1:260:144:-2:0:0::_120:false::1:263:149:1:0:0::_120:false::1:265:147:1:0:0::_187:false::1:332:144:-2:0:0::_122:false::1:336:143:1:0:0::_122:false::1:338:145:1:0:0::_185:false::1:336:144:-2:0:0::_122:false::1:340:147:1:0:0::_122:false::1:342:149:1:0:0::_186:false::1:344:144:-2:0:0::_120:false::1:347:145:1:0:0::_120:false::1:349:143:1:0:0::_184:false::1:340:144:-2:0:0::_120:false::1:343:149:1:0:0::_120:false::1:345:147:1:0:0::_187:false::1:228:152:-2:0:0::_122:false::1:232:151:1:0:0::_185:false::1:232:152:-2:0:0::_186:false::1:256:152:-2:0:0::_120:false::1:259:153:1:0:0::_120:false::1:261:151:1:0:0::_184:false::1:252:152:-2:0:0::_120:false::1:255:157:1:0:0::_120:false::1:257:155:1:0:0::_187:false::1:236:160:-2:0:0::_185:false::1:240:160:-2:0:0::_186:false::1:248:160:-2:0:0::_184:false::1:244:160:-2:0:0::_26:false::1:9:89:1:0:0::_26:false::1:10:90:1:0:0::_26:false::1:11:91:1:0:0::_26:false::1:12:92:1:0:0::_26:false::1:13:93:1:0:0::_26:false::1:14:94:1:0:0::_26:false::1:15:95:1:0:0::_26:false::1:16:96:1:0:0::_26:false::1:17:97:1:0:0::_26:false::1:18:98:1:0:0::_26:false::1:19:99:1:0:0::_26:false::1:8:88:1:0:0::_50:false::1:16:90:1:0:0::_54:false::1:32:106:1:0:0::_55:false::1:43:102:1:0:0::_51:false::1:8:82:1:0:0::_51:false::1:48:122:1:0:0::_51:false::1:40:114:1:0:0::_51:false::1:56:114:1:0:0::_51:false::1:48:106:1:0:0::_59:false::1:36:107:-2:0:0::_58:false::1:23:90:-2:0:0::_56:false::1,2,3,4:23:91:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_57:false::1,2,3,4:36:107:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_38:false::1:49:87:1:0:0::_22:false::1:53:95:1:0:0::_51:false::1:57:75:1:0:0::_51:false::1:65:83:1:0:0::_75:false::1:77:92:-2:0:0::_77:false::1:89:90:1:0:0::_77:false::1:90:91:1:0:0::_77:false::1:91:92:1:0:0::_77:false::1:92:93:1:0:0::_77:false::1:94:95:1:0:0::_77:false::1:95:96:1:0:0::_77:false::1:96:97:1:0:0::_77:false::1:97:98:1:0:0::_77:false::1:83:84:1:0:0::_77:false::1:82:83:1:0:0::_77:false::1:81:82:1:0:0::_77:false::1:80:81:1:0:0::_77:false::1:79:80:1:0:0::_77:false::1:78:79:1:0:0::_77:false::1:77:78:1:0:0::_77:false::1:76:77:1:0:0::_77:false::1:75:76:1:0:0::_77:false::1:74:75:1:0:0::_77:false::1:73:74:1:0:0::_77:false::1:72:73:1:0:0::_77:false::1:71:72:1:0:0::_77:false::1:70:71:1:0:0::_77:false::1:69:70:1:0:0::_77:false::1:68:69:1:0:0::_77:false::1:67:68:1:0:0::_77:false::1:66:67:1:0:0::_77:false::1:65:66:1:0:0::_76:false::1:65:65:1:0:0::_76:false::1:66:64:1:0:0::_76:false::1:67:63:1:0:0::_76:false::1:68:62:1:0:0::_76:false::1:69:61:1:0:0::_76:false::1:70:60:1:0:0::_76:false::1:71:59:1:0:0::_76:false::1:72:58:1:0:0::_76:false::1:72:58:1:0:0::_76:false::1:73:57:1:0:0::_76:false::1:74:56:1:0:0::_76:false::1:75:55:1:0:0::_76:false::1:76:54:1:0:0::_76:false::1:77:53:1:0:0::_76:false::1:78:52:1:0:0::_76:false::1:79:51:1:0:0::_76:false::1:80:50:1:0:0::_76:false::1:81:49:1:0:0::_76:false::1:82:48:1:0:0::_76:false::1:83:47:1:0:0::_76:false::1:84:46:1:0:0::_76:false::1:85:45:1:0:0::_76:false::1:86:44:1:0:0::_76:false::1:87:43:1:0:0::_77:false::1:88:43:1:0:0::_77:false::1:89:44:1:0:0::_77:false::1:90:45:1:0:0::_77:false::1:91:46:1:0:0::_77:false::1:92:47:1:0:0::_77:false::1:93:48:1:0:0::_77:false::1:94:49:1:0:0::_77:false::1:95:50:1:0:0::_77:false::1:96:51:1:0:0::_77:false::1:97:52:1:0:0::_60:false::1:73:91:1:0:0::_66:false::1:82:59:1:0:0::_65:false::1:89:59:1:0:0::_64:false::1:85:62:1:0:0::_63:false::1:83:59:-2:0:0::_26:false::1:97:41:1:0:0::_26:false::1:97:41:1:0:0::_26:false::1:96:40:1:0:0::_26:false::1:95:39:1:0:0::_26:false::1:94:38:1:0:0::_26:false::1:93:37:1:0:0::_26:false::1:92:36:1:0:0::_26:false::1:91:35:1:0:0::_26:false::1:90:34:1:0:0::_26:false::1:89:33:1:0:0::_26:false::1:88:32:1:0:0::_27:false::1:87:32:1:0:0::_27:false::1:86:33:1:0:0::_27:false::1:85:34:1:0:0::_27:false::1:84:35:1:0:0::_27:false::1:84:35:1:0:0::_27:false::1:83:36:1:0:0::_27:false::1:82:37:1:0:0::_27:false::1:81:38:1:0:0::_27:false::1:80:39:1:0:0::_27:false::1:79:40:1:0:0::_27:false::1:78:41:1:0:0::_27:false::1:77:42:1:0:0::_27:false::1:76:43:1:0:0::_27:false::1:75:44:1:0:0::_27:false::1:74:45:1:0:0::_27:false::1:73:46:1:0:0::_27:false::1:72:47:1:0:0::_27:false::1:71:48:1:0:0::_27:false::1:70:49:1:0:0::_27:false::1:69:50:1:0:0::_27:false::1:68:51:1:0:0::_27:false::1:67:52:1:0:0::_27:false::1:66:53:1:0:0::_27:false::1:65:54:1:0:0::_27:false::1:64:55:1:0:0::_27:false::1:63:56:1:0:0::_27:false::1:62:57:1:0:0::_27:false::1:61:58:1:0:0::_26:false::1:54:52:1:0:0::_26:false::1:53:51:1:0:0::_26:false::1:52:50:1:0:0::_26:false::1:51:49:1:0:0::_26:false::1:50:48:1:0:0::_26:false::1:49:47:1:0:0::_26:false::1:48:46:1:0:0::_26:false::1:47:45:1:0:0::_26:false::1:46:44:1:0:0::_27:false::1:37:38:1:0:0::_27:false::1:36:39:1:0:0::_27:false::1:35:40:1:0:0::_27:false::1:34:41:1:0:0::_27:false::1:33:42:1:0:0::_27:false::1:32:43:1:0:0::_27:false::1:31:44:1:0:0::_27:false::1:30:45:1:0:0::_27:false::1:29:46:1:0:0::_27:false::1:28:47:1:0:0::_27:false::1:27:48:1:0:0::_27:false::1:26:49:1:0:0::_27:false::1:25:50:1:0:0::_27:false::1:24:51:1:0:0::_27:false::1:23:52:1:0:0::_27:false::1:22:53:1:0:0::_27:false::1:21:54:1:0:0::_27:false::1:20:55:1:0:0::_27:false::1:19:56:1:0:0::_27:false::1:9:66:1:0:0::_27:false::1:8:67:1:0:0::_27:false::1:7:68:1:0:0::_27:false::1:6:69:1:0:0::_27:false::1:5:70:1:0:0::_27:false::1:4:71:1:0:0::_27:false::1:3:72:1:0:0::_27:false::1:2:73:1:0:0::_26:false::1:7:87:1:0:0::_26:false::1:6:86:1:0:0::_26:false::1:5:85:1:0:0::_26:false::1:4:84:1:0:0::_26:false::1:3:83:1:0:0::_26:false::1:2:82:1:0:0::_26:false::1:30:110:1:0:0::_26:false::1:31:111:1:0:0::_26:false::1:32:112:1:0:0::_26:false::1:33:113:1:0:0::_26:false::1:34:114:1:0:0::_26:false::1:35:115:1:0:0::_26:false::1:36:116:1:0:0::_26:false::1:37:117:1:0:0::_26:false::1:38:118:1:0:0::_26:false::1:39:119:1:0:0::_26:false::1:40:120:1:0:0::_26:false::1:41:121:1:0:0::_26:false::1:42:122:1:0:0::_26:false::1:43:123:1:0:0::_26:false::1:44:124:1:0:0::_26:false::1:45:125:1:0:0::_26:false::1:46:126:1:0:0::_26:false::1:47:127:1:0:0::_26:false::1:48:128:1:0:0::_26:false::1:49:129:1:0:0::_26:false::1:50:130:1:0:0::_26:false::1:51:131:1:0:0::_26:false::1:52:132:1:0:0::_26:false::1:53:133:1:0:0::_26:false::1:54:134:1:0:0::_26:false::1:55:135:1:0:0::_27:false::1:56:135:1:0:0::_27:false::1:57:134:1:0:0::_27:false::1:58:133:1:0:0::_27:false::1:59:132:1:0:0::_27:false::1:60:131:1:0:0::_27:false::1:61:130:1:0:0::_27:false::1:62:129:1:0:0::_27:false::1:63:128:1:0:0::_27:false::1:64:127:1:0:0::_27:false::1:65:126:1:0:0::_27:false::1:66:125:1:0:0::_27:false::1:67:124:1:0:0::_27:false::1:68:123:1:0:0::_27:false::1:69:122:1:0:0::_27:false::1:70:121:1:0:0::_27:false::1:71:120:1:0:0::_27:false::1:72:119:1:0:0::_27:false::1:73:118:1:0:0::_27:false::1:74:117:1:0:0::_27:false::1:75:116:1:0:0::_27:false::1:76:115:1:0:0::_27:false::1:77:114:1:0:0::_27:false::1:78:113:1:0:0::_27:false::1:79:112:1:0:0::_27:false::1:80:111:1:0:0::_27:false::1:81:110:1:0:0::_27:false::1:82:109:1:0:0::_27:false::1:83:108:1:0:0::_27:false::1:84:107:1:0:0::_27:false::1:85:106:1:0:0::_27:false::1:86:105:1:0:0::_27:false::1:87:104:1:0:0::_26:false::1:88:104:1:0:0::_26:false::1:89:105:1:0:0::_26:false::1:90:106:1:0:0::_26:false::1:91:107:1:0:0::_26:false::1:92:108:1:0:0::_26:false::1:93:109:1:0:0::_26:false::1:94:110:1:0:0::_26:false::1:95:111:1:0:0::_26:false::1:96:112:1:0:0::_26:false::1:97:113:1:0:0::_26:false::1:29:109:1:0:0::_26:false::1:28:108:1:0:0::_26:false::1:27:107:1:0:0::_26:false::1:26:106:1:0:0::_27:false::1:18:57:1:0:0::_27:false::1:17:58:1:0:0::_27:false::1:16:59:1:0:0::_50:false::1:23:20:1:0:0::_21:false::1:55:144:1:0:0::_21:false::1:91:187:1:0:0::_21:false::1:75:157:1:0:0::_21:false::1:74:180:1:0:0::_21:false::1:63:171:1:0:0::_21:false::1:90:138:1:0:0::_21:false::1:1:87:1:0:0::_21:false::1:7:31:1:0:0::_20:false::1:51:136:1:0:0::_20:false::1:78:141:1:0:0::_20:false::1:81:172:1:0:0::_20:false::1:42:189:1:0:0::_23:false::1:15:147:1:0:0::_23:false::1:1:94:1:0:0::_23:false::1:4:75:1:0:0::_23:false::1:6:40:1:0:0::_23:false::1:1:5:1:0:0::_23:false::1:24:4:1:0:0::_23:false::1:35:4:1:0:0::_23:false::1:59:9:1:0:0::_23:false::1:64:27:1:0:0::_23:false::1:84:28:1:0:0::_22:false::1:90:42:1:0:0::_22:false::1:80:178:1:0:0::_22:false::1:53:180:1:0:0::_22:false::1:58:188:1:0:0::_22:false::1:89:164:1:0:0::_22:false::1:84:146:1:0:0::_22:false::1:25:150:1:0:0::_22:false::1:1:121:1:0:0::_23:false::1:4:128:1:0:0::_21:false::1:85:49:1:0:0::_20:false::1:73:51:1:0:0::_26:false::1:60:58:1:0:0::_22:false::1:7:191:1:0:0::_22:false::1:6:186:1:0:0::_23:false::1:14:181:1:0:0::_21:false::1:26:181:1:0:0::_22:false::1:42:142:1:0:0::_23:false::1:15:93:1:0:0::_22:false::1:21:13:1:0:0::_23:false::1:17:5:1:0:0::_22:false::1:14:2:1:0:0::_23:false::1:10:6:1:0:0::_20:false::1:42:9:1:0:0::_22:false::1:42:15:1:0:0::_21:false::1:46:5:1:0:0::_21:false::1:50:17:1:0:0::_21:false::1:54:9:1:0:0::_22:false::1:54:14:1:0:0::_22:false::1:63:6:1:0:0::_22:false::1:68:35:1:0:0::_21:false::1:74:29:1:0:0::_20:false::1:81:26:1:0:0::_22:false::1:84:4:1:0:0::_22:false::1:81:12:1:0:0::_23:false::1:85:15:1:0:0::_23:false::1:91:25:1:0:0::_21:false::1:93:4:1:0:0::_170:false::1:89:49:-2:0:0::_170:false::1:87:51:-2:0:0::_170:false::1:85:53:-2:0:0::_170:false::1:91:51:-2:0:0::_170:false::1:89:53:-2:0:0::_170:false::1:87:55:-2:0:0::_170:false::1:93:53:-2:0:0::_170:false::1:91:55:-2:0:0::_170:false::1:89:57:-2:0:0::_171:false::1:91:53:1:0:0::_171:false::1:87:53:1:0:0::_171:false::1:87:49:1:0:0::_171:false::1:89:55:1:0:0::_172:false::1:89:51:1:0:0::_172:false::1:85:51:1:0:0::_172:false::1:85:55:1:0:0::_172:false::1:87:57:1:0:0::_172:false::1:83:53:1:0:0::_170:false::1:69:65:-2:0:0::_170:false::1:71:63:-2:0:0::_170:false::1:73:61:-2:0:0::_171:false::1:69:63:1:0:0::_170:false::1:75:63:-2:0:0::_170:false::1:73:65:-2:0:0::_170:false::1:71:67:-2:0:0::_170:false::1:77:65:-2:0:0::_170:false::1:75:67:-2:0:0::_170:false::1:73:69:-2:0:0::_170:false::1:77:69:-2:0:0::_170:false::1:75:71:-2:0:0::_170:false::1:79:67:-2:0:0::_171:false::1:73:63:1:0:0::_171:false::1:73:71:1:0:0::_171:false::1:71:69:1:0:0::_172:false::1:75:69:1:0:0::_172:false::1:75:65:1:0:0::_172:false::1:71:65:1:0:0::_172:false::1:71:61:1:0:0::_172:false::1:67:65:1:0:0::_172:false::1:69:67:1:0:0::_21:false::1:62:60:1:0:0::_22:false::1:91:116:1:0:0::_21:false::1:82:113:1:0:0::_37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:44:88:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:19.5:77:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:63.5:101:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:72.5:69:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._171:false::1:73:67:1:0:0::_37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:15.5:69:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:26.5:7:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._27:false::1:38:37:1:0:0::_26:false::1:45:43:1:0:0::_26:false::1:44:42:1:0:0::_26:false::1:43:41:1:0:0::_26:false::1:42:40:1:0:0::_26:false::1:41:39:1:0:0::_26:false::1:40:38:1:0:0::_26:false::1:39:37:1:0:0::_50:false::1:37:59:1:0:0::_50:false::1:29:51:1:0:0::_52:false::1:40:71:1:0:0::_53:false::1:27:67:1:0:0::_21:false::1:25:59:1:0:0::_22:false::1:35:42:1:0:0::_22:false::1:46:54:1:0:0::_23:false::1:40:47:1:0:0::_37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:30:53:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:40.5:46:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._105:false::1:112:31:2:0:0::_104:false::1:115:28:2:0:0::_104:false::1:119:24:2:0:0::_105:false::1:116:27:2:0:0::_106:false::1:104:24:2:0:0::_106:false::1:108:28:2:0:0::_107:false::1:111:31:2:0:0::_107:false::1:107:27:2:0:0::_107:false::1:111:63:2:0:0::_107:false::1:107:59:2:0:0::_106:false::1:108:60:2:0:0::_106:false::1:104:56:2:0:0::_105:false::1:112:63:2:0:0::_105:false::1:116:59:2:0:0::_104:false::1:119:56:2:0:0::_104:false::1:115:60:2:0:0::_104:false::1:119:88:2:0:0::_104:false::1:115:92:2:0:0::_105:false::1:116:91:2:0:0::_105:false::1:112:95:2:0:0::_106:false::1:104:88:2:0:0::_106:false::1:108:92:2:0:0::_107:false::1:111:95:2:0:0::_107:false::1:143:39:2:0:0::_107:false::1:139:35:2:0:0::_107:false::1:135:31:2:0:0::_107:false::1:131:27:2:0:0::_106:false::1:128:24:2:0:0::_106:false::1:132:28:2:0:0::_106:false::1:136:32:2:0:0::_106:false::1:140:36:2:0:0::_105:false::1:144:39:2:0:0::_105:false::1:148:35:2:0:0::_104:false::1:151:32:2:0:0::_104:false::1:147:36:2:0:0::_108:false::1:113:62:2:0:0::_108:false::1:113:30:2:0:0::_109:false::1:110:94:2:0:0::_108:false::1:145:38:2:0:0::_155:false::1:129:78:1:0:0::_154:false::1:162:78:1:0:0::_151:false::1:133:80:1:0:0::_150:false::1:160:80:1:0:0::_125:false::1:173:94:1:0:0::_122:false::1:177:96:1:0:0::_122:false::1:329:48:1:0:0::_81:false::1:136:17:1:0:0::_93:false::1:135:19:1:0:0::_98:false::1:132:20:1:0:0::_84:false::1:137:20:1:0:0::_97:false::1:138:21:1:0:0::_99:false::1:136:23:1:0:0::_91:false::1:131:21:1:0:0::_91:false::1:132:22:1:0:0::_84:false::1:133:24:1:0:0::_34:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:127:21:1:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._85:false::1:129:25:1:0:0::_85:false::1:130:24:1:0:0::_86:false::1:130:22:1:0:0::_96:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:136:22:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._83:false::1:140:23:1:0:0::_83:false::1:143:26:1:0:0::_83:false::1:146:29:1:0:0::_83:false::1:136:29:1:0:0::_87:false::1:140:22:1:0:0::_87:false::1:143:25:1:0:0::_87:false::1:146:28:1:0:0::_87:false::1:135:28:1:0:0::_86:false::1:137:27:1:0:0::_85:false::1:138:30:1:0:0::_85:false::1:141.7:24:1:0:0::_85:false::1:144.7:27:1:0:0::_85:false::1:147.7:30:1:0:0::_88:false::1:140:24:1:0:0::_88:false::1:143:27:1:0:0::_88:false::1:146:30:1:0:0::_89:false::1:135:30:1:0:0::_89:false::1:136:31:1:0:0::_89:false::1:137:23:1:0:0::_89:false::1:136:24:1:0:0::_86:false::1:138:28:1:0:0::_83:false::1:140:33:1:0:0::_87:false::1:140:31:1:0:0::_87:false::1:139:32:1:0:0::_86:false::1:141:31:1:0:0::_86:false::1:142:32:1:0:0::_88:false::1:139:34:1:0:0::_88:false::1:140:35:1:0:0::_187:false::1:140:36:-2:0:0::_89:false::1:131:22:1:0:0::_89:false::1:127:24:1:0:0::_89:false::1:128:25:1:0:0::_81:false::1:112:17:1:0:0::_94:false::1:112:19:1:0:0::_94:false::1:114:21:1:0:0::_94:false::1:116:23:1:0:0::_34:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:105:19:1:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._82:false::1:105.15:21.9:1:0:0::_95:false::1:103:22:1:0:0::_99:false::1:109:23:1:0:0::_80:false::1:111:21:1:0:0::_96:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:111:20:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._90:false::1:105:22:1:0:0::_91:false::1:110:18:1:0:0::_112:false::1:115:52:1:0:0::_113:false::1:114:53:1:0:0::_101:false::1:114:54:1:0:0::_103:false::1:111:52:1:0:0::_103:false::1:113:54:1:0:0::_82:false::1:112:47:1:0:0::_81:false::1:108:53:1:0:0::_102:false::1:112:53:0:0:0::_102:false::1:110:51:0:0:0::_83:false::1:113:58:1:0:0::_90:false::1:114:56:1:0:0::_90:false::1:115:57:1:0:0::_80:false::1:110:55:1:0:0::_99:false::1:108:57:1:0:0::_96:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:110:54:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._87:false::1:106:55:1:0:0::_40:false::1:116:57:2:0:0::_39:false::1:138:19.6:2:0:0::_40:false::1:137.7:20:2:0:0::_81:false::1:112:81:1:0:0::_91:false::1:110:83:1:0:0::_91:false::1:109:83:1:0:0::_91:false::1:111:84:1:0:0::_91:false::1:110:84:1:0:0::_95:false::1:103:86:1:0:0::_93:false::1:105:84:1:0:0::_99:false::1:108:89:1:0:0::_80:false::1:110:87:1:0:0::_96:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:110:86:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._87:false::1:107:86:1:0:0::_152:false::1:136:84:1:0:0::_153:false::1:136:87:1:0:0::_151:false::1:141:88:1:0:0::_126:false::1:178:90:1:0:0::_127:false::1:176:92:1:0:0::_182:false::1:172:88:-2:0:0::_120:false::1:187:81:1:0:0::_162:false::1:188:90:-2:0:0::_67:false::1,2,3,4,5:83:59:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5.SELECT 5,FREE 0/0 - 5.SELECT 1.PLAY.4,4,3,3,2,2,1.SELECT 4,NOFREE 0/0_180:false::1:128:16:-2:0:0::_181:false::1:148:24:-2:0:0::_181:false::1:140:16:-2:0:0::_182:false::1:132:16:-2:0:0::_183:false::1:136:16:-2:0:0::_183:false::1:144:24:-2:0:0::_107:false::1:107:91:2:0:0::_58:false::1:38:71:-2:0:0::_58:false::1:44:59:-2:0:0::_56:false::1,2,3,4:44:60:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_56:false::1,2,3,4:38:72:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_180:false::1:104:16:-2:0:0::_181:false::1:116:16:-2:0:0::_182:false::1:108:16:-2:0:0::_183:false::1:112:16:-2:0:0::_100:false::1:106:22:-2:0:0::_100:false::1:108:20:-2:0:0::_100:false::1:112:16:-2:0:0::_101:false::1:107:21:-2:0:0::_101:false::1:111:17:-2:0:0::_101:false::1:113:15:-2:0:0::_102:false::1:114:15:-2:0:0::_102:false::1:116:17:-2:0:0::_102:false::1:118:19:-2:0:0::_102:false::1:120:21:-2:0:0::_103:false::1:115:16:-2:0:0::_103:false::1:117:18:-2:0:0::_103:false::1:119:20:-2:0:0::_103:false::1:121:22:-2:0:0::_181:false::1:116:48:-2:0:0::_180:false::1:104:48:-2:0:0::_182:false::1:108:48:-2:0:0::_183:false::1:112:48:-2:0:0::_100:false::1:106:54:-2:0:0::_100:false::1:108:52:-2:0:0::_100:false::1:110:50:-2:0:0::_100:false::1:112:48:-2:0:0::_101:false::1:107:53:-2:0:0::_101:false::1:109:51:-2:0:0::_101:false::1:111:49:-2:0:0::_101:false::1:113:47:-2:0:0::_102:false::1:114:47:-2:0:0::_102:false::1:116:49:-2:0:0::_102:false::1:118:51:-2:0:0::_102:false::1:120:53:-2:0:0::_103:false::1:115:48:-2:0:0::_103:false::1:117:50:-2:0:0::_103:false::1:119:52:-2:0:0::_103:false::1:121:54:-2:0:0::_180:false::1:104:80:-2:0:0::_181:false::1:116:80:-2:0:0::_182:false::1:108:80:-2:0:0::_183:false::1:112:80:-2:0:0::_100:false::1:106:86:-2:0:0::_100:false::1:108:84:-2:0:0::_100:false::1:110:82:-2:0:0::_100:false::1:112:80:-2:0:0::_101:false::1:107:85:-2:0:0::_101:false::1:109:83:-2:0:0::_101:false::1:111:81:-2:0:0::_101:false::1:113:79:-2:0:0::_102:false::1:114:79:-2:0:0::_102:false::1:116:81:-2:0:0::_102:false::1:118:83:-2:0:0::_102:false::1:120:85:-2:0:0::_103:false::1:115:80:-2:0:0::_103:false::1:117:82:-2:0:0::_103:false::1:119:84:-2:0:0::_103:false::1:121:86:-2:0:0::_114:false::1:108:19:-2:0:0::_115:false::1:108:19:1:0:0::_115:false::1:130:21:1:0:0::_100:false::1:133:19:-2:0:0::_100:false::1:135:17:-2:0:0::_100:false::1:137:15:-2:0:0::_101:false::1:136:16:-2:0:0::_101:false::1:134:18:-2:0:0::_114:false::1:130:21:-2:0:0::_102:false::1:138:15:-2:0:0::_102:false::1:140:17:-2:0:0::_102:false::1:142:19:-2:0:0::_102:false::1:144:21:-2:0:0::_102:false::1:146:23:-2:0:0::_102:false::1:148:25:-2:0:0::_102:false::1:150:27:-2:0:0::_102:false::1:152:29:-2:0:0::_103:false::1:153:30:-2:0:0::_103:false::1:151:28:-2:0:0::_103:false::1:149:26:-2:0:0::_103:false::1:147:24:-2:0:0::_103:false::1:145:22:-2:0:0::_103:false::1:143:20:-2:0:0::_103:false::1:141:18:-2:0:0::_103:false::1:139:16:-2:0:0::_101:false::1:130:22:1:0:0::_111:false::1:142:21:-2:0:0::_111:false::1:150:29:-2:0:0::_111:false::1:146:25:-2:0:0::_111:false::1:134:29:2:0:0::_111:false::1:138:33:2:0:0::_111:false::1:142:37:2:0:0::_111:false::1:110:29:2:0:0::_111:false::1:110:61:2:0:0::_111:false::1:106:89:2:0:0::_111:false::1:116:83:-2:0:0::_111:false::1:118:53:-2:0:0::_174:false::1:30:104:1:0:7:Store:_173:false::1:25:88:1:0:7:Blacksmith:_174:false::1:33:76:1:0:7:Tavern:_174:false::1:39:64:1:0:7:Magical Potions And Items:_92:false::1:133:19:1:0:0::_89:false::1:134:20:1:0:0::_89:false::1:135:20:1:0:0::_56:false::1,2,3,4:114:52:1:0:0::_57:false::1,2,3,4:118:85:1:0:0::_57:false::1,2,3,4:69:84:1:0:0::_57:false::1,2,3,4:61:76:1:0:0::_57:false::1,2,3,4:52:107:1:0:0::_57:false::1,2,3,4:60:115:1:0:0::_57:false::1,2,3,4:52:123:1:0:0::_57:false::1,2,3,4:44:115:1:0:0::_57:false::1,2,3,4:12:83:1:0:0::_56:false::1,2,3,4:36:52:1:0:0::_61:false::1,2,3,4:77:92:1:0:0::_56:false::1,2,3,4:30:21:1:0:0::_142:false::1:187:86:-2:0:0::_142:false::1:189:84:-2:0:0::_142:false::1:191:82:-2:0:0::_160:false::1:184:84:-2:0:0::_160:false::1:186:86:-2:0:0::_144:false::1:185:95:-2:0:0::_142:false::1:187:98:-2:0:0::_142:false::1:185:100:-2:0:0::_142:false::1:183:102:-2:0:0::_162:false::1:188:86:-2:0:0::_163:false::1:188:86:-2:0:0::_187:false::1:180:104:-2:0:0::_143:false::1:188:82:-2:0:0::_143:false::1:190:84:-2:0:0::_143:false::1:192:86:-2:0:0::_143:false::1:194:88:-2:0:0::_143:false::1:196:90:-2:0:0::_143:false::1:198:92:-2:0:0::_143:false::1:200:94:-2:0:0::_122:false::1:194:77:1:0:0::_122:false::1:196:79:1:0:0::_122:false::1:198:81:1:0:0::_122:false::1:200:83:1:0:0::_122:false::1:202:85:1:0:0::_122:false::1:204:87:1:0:0::_122:false::1:206:89:1:0:0::_145:false::1:204:99:-2:0:0::_122:false::1:208:91:1:0:0::_122:false::1:210:93:1:0:0::_141:false::1:206:96:1:0:0::_140:false::1:214:98:1:0:0::_143:false::1:204:102:-2:0:0::_142:false::1:213:104:-2:0:0::_143:false::1:210:104:-2:0:0::_143:false::1:212:106:-2:0:0::_143:false::1:214:108:-2:0:0::_143:false::1:216:110:-2:0:0::_143:false::1:218:112:-2:0:0::_143:false::1:220:114:-2:0:0::_143:false::1:206:104:-2:0:0::_120:false::1:199:117:1:0:0::_120:false::1:201:115:1:0:0::_120:false::1:203:113:1:0:0::_120:false::1:205:111:1:0:0::_141:false::1:208:118:1:0:0::_140:false::1:216:120:1:0:0::_122:false::1:220:123:1:0:0::_124:false::1:223:127:1:0:0::_120:false::1:221:129:1:0:0::_120:false::1:219:131:1:0:0::_120:false::1:217:133:1:0:0::_120:false::1:216:134:1:0:0::_143:false::1:222:116:-2:0:0::_143:false::1:224:118:-2:0:0::_143:false::1:226:120:-2:0:0::_143:false::1:228:122:-2:0:0::_143:false::1:230:124:-2:0:0::_143:false::1:232:126:-2:0:0::_143:false::1:234:128:-2:0:0::_143:false::1:236:130:-2:0:0::_122:false::1:227:130:1:0:0::_141:false::1:225:135:1:0:0::_140:false::1:233:137:1:0:0::_122:false::1:237:140:1:0:0::_124:false::1:240:144:1:0:0::_120:false::1:238:146:1:0:0::_120:false::1:236:148:1:0:0::_120:false::1:234:150:1:0:0::_120:false::1:233:151:1:0:0::_122:false::1:216:99:1:0:0::_122:false::1:218:101:1:0:0::_122:false::1:220:103:1:0:0::_122:false::1:222:105:1:0:0::_122:false::1:224:107:1:0:0::_122:false::1:226:109:1:0:0::_122:false::1:228:111:1:0:0::_122:false::1:230:113:1:0:0::_122:false::1:232:115:1:0:0::_122:false::1:234:117:1:0:0::_122:false::1:236:119:1:0:0::_122:false::1:238:121:1:0:0::_122:false::1:240:123:1:0:0::_122:false::1:242:125:1:0:0::_122:false::1:244:127:1:0:0::_143:false::1:238:132:-2:0:0::_143:false::1:240:134:-2:0:0::_122:false::1:246:129:1:0:0::_122:false::1:248:131:1:0:0::_143:false::1:242:136:-2:0:0::_143:false::1:244:138:-2:0:0::_143:false::1:246:140:-2:0:0::_122:false::1:250:133:1:0:0::_122:false::1:252:135:1:0:0::_122:false::1:242:145:1:0:0::_122:false::1:244:147:1:0:0::_122:false::1:246:149:1:0:0::_122:false::1:248:151:1:0:0::_122:false::1:250:153:1:0:0::_122:false::1:252:155:1:0:0::_122:false::1:254:157:1:0:0::_142:false::1:253:140:-2:0:0::_142:false::1:255:138:-2:0:0::_144:false::1:253:135:-2:0:0::_142:false::1:259:130:-2:0:0::_143:false::1:256:130:-2:0:0::_143:false::1:258:132:-2:0:0::_143:false::1:260:134:-2:0:0::_143:false::1:262:136:-2:0:0::_143:false::1:264:138:-2:0:0::_143:false::1:266:140:-2:0:0::_184:false::1:268:136:-2:0:0::_186:false::1:234:146:-2:0:0::_187:false::1:238:146:-2:0:0::_187:false::1:244:152:-2:0:0::_186:false::1:230:150:-2:0:0::_185:false::1:248:152:-2:0:0::_185:false::1:241:145:-2:0:0::_136:false::1:252:136:1:0:0::_120:false::1:191:77:1:0:0::_32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:187:82:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:177:95:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:190:108:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:203:92:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:219:108:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:233:122:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:247:136:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:234:138:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:207:111:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:217:121:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:224:128:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._133:false::1:208:111:1:0:0::_133:false::1:212:115:1:0:0::_133:false::1:222:125:1:0:0::_133:false::1:218:121:1:0:0::_133:false::1:229:132:1:0:0::_133:false::1:225:128:1:0:0::_133:false::1:239:142:1:0:0::_133:false::1:235:138:1:0:0::_122:false::1:210:113:1:0:0::_33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:263:132:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._122:false::1:274:137:1:0:0::_122:false::1:272:135:1:0:0::_122:false::1:270:133:1:0:0::_122:false::1:268:131:1:0:0::_122:false::1:266:129:1:0:0::_122:false::1:264:127:1:0:0::_122:false::1:262:125:1:0:0::_122:false::1:260:123:1:0:0::_122:false::1:258:121:1:0:0::_122:false::1:256:119:1:0:0::_122:false::1:246:109:1:0:0::_122:false::1:244:107:1:0:0::_122:false::1:242:105:1:0:0::_122:false::1:240:103:1:0:0::_122:false::1:234:97:1:0:0::_122:false::1:232:95:1:0:0::_122:false::1:230:93:1:0:0::_141:false::1:230:100:1:0:0::_140:false::1:238:102:1:0:0::_120:false::1:261:123:1:0:0::_120:false::1:263:121:1:0:0::_120:false::1:265:119:1:0:0::_124:false::1:267:117:1:0:0::_116:false::1:199:117:1:0:0::_116:false::1:202:120:1:0:0::_116:false::1:205:123:1:0:0::_116:false::1:208:126:1:0:0::_116:false::1:211:129:1:0:0::_116:false::1:216:134:1:0:0::_116:false::1:228:146:1:0:0::_116:false::1:219:137:1:0:0::_116:false::1:222:140:1:0:0::_116:false::1:225:143:1:0:0::_117:false::1,2,3,4,5:200:117:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:203:120:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:206:123:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:209:126:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:212:129:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:217:134:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:220:137:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:223:140:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:226:143:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:229:146:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._133:false::1:264:113:1:0:0::_122:false::1:262:111:1:0:0::_122:false::1:266:115:1:0:0::_122:false::1:250:99:1:0:0::_122:false::1:254:103:1:0:0::_122:false::1:258:107:1:0:0::_133:false::1:260:109:1:0:0::_133:false::1:256:105:1:0:0::_133:false::1:252:101:1:0:0::_133:false::1:248:97:1:0:0::_133:false::1:244:93:1:0:0::_133:false::1:240:89:1:0:0::_133:false::1:236:85:1:0:0::_122:false::1:238:87:1:0:0::_122:false::1:242:91:1:0:0::_122:false::1:246:95:1:0:0::_120:false::1:231:83:1:0:0::_125:false::1:224:89:1:0:0::_122:false::1:228:91:1:0:0::_122:false::1:254:117:1:0:0::_122:false::1:252:115:1:0:0::_140:false::1:250:114:1:0:0::_141:false::1:242:112:1:0:0::_33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:247:97:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:235:85:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:259:109:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:233:97:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:245:109:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._122:false::1:215:78:1:0:0::_122:false::1:213:76:1:0:0::_122:false::1:211:74:1:0:0::_122:false::1:209:72:1:0:0::_122:false::1:207:70:1:0:0::_122:false::1:205:68:1:0:0::_120:false::1:207:89:1:0:0::_120:false::1:209:87:1:0:0::_120:false::1:211:85:1:0:0::_120:false::1:213:83:1:0:0::_183:false::1:196:80:-2:0:0::_187:false::1:204:72:-2:0:0::_185:false::1:208:72:-2:0:0::_185:false::1:200:64:-2:0:0::_182:false::1:208:80:-2:0:0::_125:false::1:201:66:1:0:0::_124:false::1:216:80:1:0:0::_120:false::1:214:82:1:0:0::_76:false::1:211:73:1:0:0::_76:false::1:212:72:1:0:0::_76:false::1:213:71:1:0:0::_76:false::1:214:70:1:0:0::_76:false::1:215:69:1:0:0::_76:false::1:216:68:1:0:0::_76:false::1:217:67:1:0:0::_122:false::1:214:57:1:0:0::_122:false::1:215:58:1:0:0::_122:false::1:217:60:1:0:0::_122:false::1:219:62:1:0:0::_122:false::1:221:64:1:0:0::_136:false::1:221:65:1:0:0::_76:false::1:221:63:1:0:0::_76:false::1:222:62:1:0:0::_76:false::1:223:61:1:0:0::_76:false::1:224:60:1:0:0::_76:false::1:225:59:1:0:0::_76:false::1:226:58:1:0:0::_76:false::1:227:57:1:0:0::_76:false::1:231:53:1:0:0::_76:false::1:232:52:1:0:0::_76:false::1:233:51:1:0:0::_76:false::1:234:50:1:0:0::_76:false::1:235:49:1:0:0::_76:false::1:236:48:1:0:0::_141:false::1:212:82:1:0:0::_140:false::1:220:84:1:0:0::_122:false::1:222:85:1:0:0::_122:false::1:224:87:1:0:0::_122:false::1:225:88:1:0:0::_120:false::1:221:83:1:0:0::_120:false::1:223:81:1:0:0::_120:false::1:225:79:1:0:0::_122:false::1:232:81:1:0:0::_122:false::1:230:79:1:0:0::_122:false::1:229:78:1:0:0::_136:false::1:227:87:1:0:0::_137:false::1:227:84:1:0:0::_120:false::1:226:88:1:0:0::_116:false::1:222:82:1:0:0::_117:false::1,2,3,4,5:223:82:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._132:false::1:210:58:1:0:0::_132:false::1:206:62:1:0:0::_120:false::1:208:60:1:0:0::_120:false::1:204:64:1:0:0::_122:false::1:237:44:1:0:0::_76:false::1:236.8:47.2:1:0:0::_76:false::1:252.8:31.2:1:0:0::_76:false::1:252:32:1:0:0::_76:false::1:251:33:1:0:0::_76:false::1:248:36:1:0:0::_76:false::1:247:37:1:0:0::_76:false::1:246:38:1:0:0::_78:false::1,2,3,4,5,6:249:35:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5,5,6.SELECT 5,FREE -2/1,FREE -2/0,LAYER 40 - 5.SELECT 1.PLAY.5,5,4,4,3,3,2,2,1.SELECT 4,NOFREE -2/1,NOFREE -2/0,LAYER 1_79:false::1,2,3,4,5,6:250:34:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5,5,6.SELECT 5,FREE -2/1,FREE -2/0,LAYER -50 - 5.SELECT 1.PLAY.5,5,4,4,3,3,2,2,1.SELECT 4,NOFREE -2/1,NOFREE -2/0,LAYER 1_32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:215:49:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:223:41:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:206:58:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._122:false::1:246:39:1:0:0::_122:false::1:244:37:1:0:0::_122:false::1:242:35:1:0:0::_122:false::1:240:33:1:0:0::_122:false::1:239:32:1:0:0::_124:false::1:246:40:1:0:0::_120:false::1:244:42:1:0:0::_120:false::1:242:44:1:0:0::_141:false::1:226:40:1:0:0::_140:false::1:234:42:1:0:0::_122:false::1:236:43:1:0:0::_156:false::1,2,3,4,5,6,7,8:227:42:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,6,6,6,6,7,7,7,7,8.SELECT 0,FREE 3/0,FREE 3/-1,FREE 3/-2_120:false::1:240:46:1:0:0::_122:false::1:239:46:1:0:0::_116:false::1:233:37:1:0:0::_116:false::1:235:39:1:0:0::_117:false::1,2,3,4,5:234:37:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:236:39:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:249:25:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._143:false::1:257:43:-2:0:0::_143:false::1:259:45:-2:0:0::_142:false::1:260:43:-2:0:0::_142:false::1:258:45:-2:0:0::_144:false::1:252:50:-2:0:0::_142:false::1:254:53:-2:0:0::_142:false::1:252:55:-2:0:0::_142:false::1:250:57:-2:0:0::_142:false::1:248:59:-2:0:0::_142:false::1:246:61:-2:0:0::_142:false::1:244:63:-2:0:0::_142:false::1:242:65:-2:0:0::_142:false::1:241:66:-2:0:0::_160:false::1:238:64:-2:0:0::_160:false::1:240:66:-2:0:0::_162:false::1:238:62:-2:0:0::_160:false::1:242:68:-2:0:0::_142:false::1:245:74:-2:0:0::_142:false::1:243:76:-2:0:0::_142:false::1:241:78:-2:0:0::_142:false::1:239:80:-2:0:0::_142:false::1:237:82:-2:0:0::_142:false::1:236:83:-2:0:0::_162:false::1:244:68:-2:0:0::_163:false::1:244:68:-2:0:0::_120:false::1:226:78:1:0:0::_120:false::1:233:81:1:0:0::_120:false::1:235:79:1:0:0::_120:false::1:237:77:1:0:0::_120:false::1:239:75:1:0:0::_122:false::1:234:83:1:0:0::_120:false::1:243:71:1:0:0::_120:false::1:241:73:1:0:0::_122:false::1:248:23:1:0:0::_122:false::1:250:25:1:0:0::_131:false::1:244:31:-2:0:0::_143:false::1:261:47:-2:0:0::_143:false::1:263:49:-2:0:0::_143:false::1:265:51:-2:0:0::_143:false::1:267:53:-2:0:0::_143:false::1:269:55:-2:0:0::_143:false::1:271:57:-2:0:0::_143:false::1:273:59:-2:0:0::_143:false::1:275:61:-2:0:0::_120:false::1:249:95:1:0:0::_120:false::1:251:93:1:0:0::_120:false::1:253:91:1:0:0::_120:false::1:255:89:1:0:0::_120:false::1:257:87:1:0:0::_120:false::1:259:85:1:0:0::_120:false::1:261:83:1:0:0::_120:false::1:263:81:1:0:0::_120:false::1:265:79:1:0:0::_120:false::1:267:77:1:0:0::_120:false::1:269:75:1:0:0::_120:false::1:271:73:1:0:0::_120:false::1:273:71:1:0:0::_120:false::1:275:69:1:0:0::_120:false::1:277:67:1:0:0::_120:false::1:279:65:1:0:0::_120:false::1:281:63:1:0:0::_120:false::1:283:61:1:0:0::_124:false::1:274:138:1:0:0::_124:false::1:284:60:1:0:0::_181:false::1:280:55:-2:0:0::_184:false::1:280:56:-2:0:0::_184:false::1:272:64:-2:0:0::_184:false::1:264:72:-2:0:0::_184:false::1:256:80:-2:0:0::_186:false::1:276:64:-2:0:0::_186:false::1:268:72:-2:0:0::_186:false::1:260:80:-2:0:0::_186:false::1:252:88:-2:0:0::_184:false::1:248:88:-2:0:0::_183:false::1:248:96:-2:0:0::_183:false::1:256:104:-2:0:0::_183:false::1:265:128:-2:0:0::_181:false::1:252:96:-2:0:0::_181:false::1:260:104:-2:0:0::_181:false::1:269:127:-2:0:0::_183:false::1:260:123:-2:0:0::_184:false::1:261:115:-2:0:0::_130:false::1:243:86:-2:0:0::_122:false::1:260:83:1:0:0::_122:false::1:258:81:1:0:0::_122:false::1:256:79:1:0:0::_122:false::1:254:77:1:0:0::_122:false::1:252:75:1:0:0::_136:false::1:245.25:68.75:1:0:0::_120:false::1:244.25:69.75:1:0:0::_137:false::1:247:74:1:0:0::_116:false::1:260:51:1:0:0::_116:false::1:263:54:1:0:0::_116:false::1:266:57:1:0:0::_116:false::1:269:60:1:0:0::_116:false::1:272:63:1:0:0::_117:false::1,2,3,4,5:261:51:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:264:54:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:267:57:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:270:60:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:273:63:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._116:false::1:257:78:1:0:0::_116:false::1:254:75:1:0:0::_116:false::1:251:72:1:0:0::_117:false::1,2,3,4,5:252:72:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:255:75:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:258:78:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._132:false::1:220:48:1:0:0::_132:false::1:223:45:1:0:0::_132:false::1:215:53:1:0:0::_132:false::1:227:41:1:0:0::_120:false::1:221:47:1:0:0::_120:false::1:218:50:1:0:0::_32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:246:57:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:221:76:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:236:71:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:262:43:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:276:57:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:254:76:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:248:70:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:250:87:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._145:false::1:336:43:-2:0:0::_143:false::1:336:46:-2:0:0::_142:false::1:343:46:-2:0:0::_144:false::1:345:43:-2:0:0::_143:false::1:340:46:-2:0:0::_142:false::1:347:46:-2:0:0::_142:false::1:351:38:-2:0:0::_142:false::1:353:36:-2:0:0::_142:false::1:355:34:-2:0:0::_142:false::1:357:32:-2:0:0::_142:false::1:359:30:-2:0:0::_142:false::1:361:28:-2:0:0::_142:false::1:363:26:-2:0:0::_143:false::1:360:26:-2:0:0::_143:false::1:362:28:-2:0:0::_143:false::1:364:30:-2:0:0::_143:false::1:366:32:-2:0:0::_187:false::1:324:48:-2:0:0::_120:false::1:363:21:1:0:0::_120:false::1:361:23:1:0:0::_120:false::1:359:25:1:0:0::_120:false::1:357:27:1:0:0::_120:false::1:355:29:1:0:0::_120:false::1:353:31:1:0:0::_141:false::1:342:28:1:0:0::_140:false::1:350:30:1:0:0::_122:false::1:352:31:1:0:0::_125:false::1:349:52:1:0:0::_120:false::1:352:50:1:0:0::_120:false::1:354:48:1:0:0::_120:false::1:356:46:1:0:0::_120:false::1:358:44:1:0:0::_120:false::1:360:42:1:0:0::_120:false::1:362:40:1:0:0::_120:false::1:364:38:1:0:0::_120:false::1:366:36:1:0:0::_120:false::1:368:34:1:0:0::_120:false::1:370:32:1:0:0::_120:false::1:372:30:1:0:0::_128:false::1:352:54:1:0:0::_129:false::1:354:56:1:0:0::_124:false::1:356:58:1:0:0::_120:false::1:354:60:1:0:0::_120:false::1:352:62:1:0:0::_120:false::1:350:64:1:0:0::_120:false::1:348:66:1:0:0::_126:false::1:357:15:1:0:0::_124:false::1:373:29:1:0:0::_122:false::1:347:66:1:0:0::_186:false::1:345:65:-2:0:0::_186:false::1:352:58:-2:0:0::_184:false::1:349:57:-2:0:0::_186:false::1:364:34:-2:0:0::_186:false::1:356:42:-2:0:0::_184:false::1:353:41:-2:0:0::_184:false::1:360:34:-2:0:0::_184:false::1:367:27:-2:0:0::_184:false::1:370:24:-2:0:0::_181:false::1:368:23:-2:0:0::_183:false::1:352:57:-2:0:0::_183:false::1:349:52:-2:0:0::_183:false::1:353:56:-2:0:0::_184:false::1:349:45:-2:0:0::_116:false::1:340:37:1:0:0::_117:false::5:341:37:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:348:50:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:353:15:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:333:51:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:363:32:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._116:false::1:358:29:1:0:0::_116:false::1:354:33:1:0:0::_116:false::1:350:37:1:0:0::_117:false::1,2,3,4,5:359:29:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:355:33:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._117:false::1,2,3,4,5:351:37:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5._76:false::1:189:107:1:0:0::_76:false::1:190:106:1:0:0::_76:false::1:191:105:1:0:0::_76:false::1:192:104:1:0:0::_76:false::1:193:103:1:0:0::_76:false::1:194:102:1:0:0::_76:false::1:195:101:1:0:0::_76:false::1:196:100:1:0:0::_76:false::1:197:99:1:0:0::_76:false::1:198:98:1:0:0::_143:false::1:332:38:-2:0:0::_142:false::1:335:38:-2:0:0::_142:false::1:333:40:-2:0:0::_142:false::1:331:42:-2:0:0::_142:false::1:329:44:-2:0:0::_142:false::1:327:46:-2:0:0::_120:false::1:335:33:1:0:0::_122:false::1:338:33:1:0:0::_120:false::1:339:33:1:0:0::_120:false::1:341:31:1:0:0::_120:false::1:343:29:1:0:0::_120:false::1:345:27:1:0:0::_120:false::1:333:35:1:0:0::_120:false::1:331:37:1:0:0::_120:false::1:329:39:1:0:0::_120:false::1:327:41:1:0:0::_122:false::1:327:46:1:0:0::_125:false::1:323:44:1:0:0::_120:false::1:326:42:1:0:0::_185:false::1:323:43:-2:0:0::_182:false::1:339:23:-2:0:0::_32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:340:28:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._120:false::1:248:96:1:0:0::_164:false::1:228:35:2:0:0::_164:false::1:235:28:2:0:0::_164:false::1:210:53:2:0:0::_164:false::1:196:115:2:0:0::_164:false::1:213:132:2:0:0::_165:false::1:272:135:2:0:0::_164:false::1:258:121:2:0:0::_164:false::1:204:87:2:0:0::_164:false::1:218:81:2:0:0::_164:false::1:230:79:2:0:0::_165:false::1:230:79:2:0:0::_165:false::1:223:86:2:0:0::_164:false::1:245:94:2:0:0::_165:false::1:282:57:2:0:0::_165:false::1:258:81:2:0:0::_164:false::1:344:23:2:0:0::_165:false::1:362:17:2:0:0::_165:false::1:371:26:2:0:0::_29:false::1,2,3,4:27:20:1:0:2:WEAPON CLVL;ARMOR CLVL;GOLD+ CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:94:112:1:0:2:GOOD CLVL;GOLD+ CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_146:false::1,2,3,4,5,6:93:94:1:0:0::';
zoneData = '0 SC: 4 SC: 176 SC: START SZ: 1 SC: 110 SC: 93 SC: TELEPORT 36/108 SZ: 1 SC: 36 SC: 108 SC: TELEPORT 110/93 SZ: 2 SC: 113 SC: 61 SC: TELEPORT 23/92 SZ: 2 SC: 23 SC: 92 SC: TELEPORT 113/61 SZ: 5 SC: 175 SC: 92 SC: TELEPORT 83/59 SZ: 5 SC: 83 SC: 59 SC: TELEPORT 175/92 SZ: 6 SC: 145 SC: 37 SC: TELEPORT 38/73 SZ: 6 SC: 38 SC: 73 SC: TELEPORT 145/37 SZ: 7 SC: 113 SC: 29 SC: TELEPORT 44/61 SZ: 7 SC: 44 SC: 61 SC: TELEPORT 113/29 SZ: 8 SC: 354 SC: 17 SC: TELEPORT 244/31 SZ: 8 SC: 244 SC: 31 SC: TELEPORT 354/17 SZ: 9 SC: 350 SC: 56 SC: TELEPORT 243/86 SZ: 9 SC: 243 SC: 86 SC: TELEPORT 350/56 SZ: 10 SC: 18 SC: 105 SC: NPC Edwin 1 SZ: 12 SC: 16 SC: 101 SC: NPC UrnebbarSwordMan 1 SZ: 13 SC: 23 SC: 109 SC: NPC UrnebbarSwordMan 1 SZ: 14 SC: 5 SC: 61 SC: NPC UrnebbarSwordMan 1 SZ: 15 SC: 13 SC: 57 SC: NPC UrnebbarSwordMan 1 SZ: 16 SC: 53 SC: 50 SC: NPC UrnebbarSwordMan 1 SZ: 17 SC: 57 SC: 55 SC: NPC UrnebbarSwordMan 1 SZ: 18 SC: 136 SC: 21 SC: NPC Tabernero 0 SZ: 19 SC: 110 SC: 21 SC: NPC Shardenias 0 SZ: 20 SC: 108 SC: 56 SC: NPC Atercrin 0 SZ: 21 SC: 109 SC: 87 SC: NPC Tendera 0';
limitData = '0:0:23:23_24:0:30:4_24:5:30:8_24:9:30:13_30:0:41:6_30:5:41:13_42:0:72:22_79:0:94:11_79:10:98:20';
}
function setMap002() {
terrainData = '2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,155,154,150,151,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,155,154,150,151,1,1,1,1,1,1;2,2,2,2,125,124,120,121,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,155,154,150,151,1,1,1,1,1,1,1,1,1,1,1,1,1,155,154,157,156,152,153,150,151,155,154,170,151,1,1,1,1,1,1,1,155,171,157,156,152,153,150,151,1,1,1,1;2,125,147,148,127,126,122,134,135,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,155,171,157,156,152,153,150,151,1,1,1,1,1,1,1,1,1,1,168,169,156,3,3,3,3,152,153,157,156,152,167,166,1,1,1,1,155,154,157,156,3,3,3,3,152,153,150,151,1,1;137,136,126,2,2,2,2,140,135,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,155,154,157,156,3,3,3,3,152,153,150,151,1,1,1,1,1,1,1,1,1,163,162,161,3,3,3,3,3,3,158,159,160,1,1,1,1,168,169,156,3,3,3,3,3,3,3,3,152,167,166,1;2,133,132,131,2,2,2,138,120,121,125,124,148,146,121,2,2,2,2,2,1,1,1,168,169,156,3,3,3,3,3,158,161,3,152,153,166,1,1,1,1,1,1,1,1,1,1,163,162,159,162,159,162,159,160,1,1,1,1,1,1,1,163,162,161,3,3,3,3,3,3,158,159,160,1,1;2,2,2,133,132,131,2,2,122,123,127,126,2,122,134,135,2,2,2,2,1,1,1,1,163,162,161,3,3,158,159,160,163,162,161,164,150,151,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,163,162,161,3,3,158,159,160,1,1,1,1;2,2,2,2,2,133,132,131,2,2,2,2,128,129,130,2,2,2,2,2,1,1,1,1,1,1,163,162,159,160,1,1,1,168,165,3,152,153,150,151,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,163,162,159,160,1,1,1,1,1,1;2,2,2,2,2,2,2,133,132,131,2,2,138,120,121,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,155,154,165,3,3,3,152,153,166,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,125,124,139,2,2,2,122,134,135,2,2,2,2,1,1,1,1,155,154,150,151,1,1,155,154,157,156,3,3,3,158,159,160,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,125,124,127,126,2,2,2,128,129,130,2,2,2,2,2,1,1,1,168,157,156,152,153,150,154,157,156,3,3,3,158,159,160,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,125,124,127,126,2,2,128,129,149,130,2,2,2,2,2,2,2,1,1,1,168,165,3,3,3,152,156,3,3,3,158,159,160,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,155,154,150,151,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,137,136,126,2,2,128,129,130,2,2,2,2,2,2,2,2,2,2,1,1,1,1,163,162,161,3,3,3,3,158,159,160,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,168,169,156,152,153,166,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,137,141,2,128,129,130,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,155,154,165,3,3,158,159,160,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,168,165,3,3,164,150,151,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,137,141,2,140,135,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,168,169,156,3,158,159,160,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,155,154,165,3,3,3,152,153,166,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,125,147,139,2,140,135,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,163,162,161,164,150,151,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,155,154,157,156,3,3,3,158,159,160,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;137,136,126,128,129,130,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,155,154,165,3,152,153,150,151,155,154,150,154,150,151,1,1,1,1,1,1,1,1,155,171,157,156,3,3,3,158,159,160,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;137,141,2,138,120,121,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,168,169,156,3,158,159,162,152,153,157,156,152,156,152,153,170,151,1,1,1,1,1,168,157,156,3,158,161,3,3,164,150,151,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,133,132,131,122,123,120,121,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,163,162,159,160,1,1,163,162,161,158,161,3,3,3,152,167,166,1,1,1,1,1,163,162,159,160,163,162,161,3,152,153,150,151,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,133,132,131,122,123,120,121,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,163,160,163,162,159,162,159,160,1,1,1,1,1,1,1,1,1,1,1,1,163,162,161,3,152,153,166,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,133,132,131,122,123,120,121,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,163,162,159,160,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3';
waterData = '4';
objectData = '21:false::1:6:131:1:0:0::_21:false::1:6:94:1:0:0::_21:false::1:18:88:1:0:0::_21:false::1:30:63:1:0:0::_21:false::1:6:15:1:0:0::_21:false::1:20:19:1:0:0::_21:false::1:36:22:1:0:0::_21:false::1:50:11:1:0:0::_21:false::1:55:25:1:0:0::_21:false::1:52:64:1:0:0::_21:false::1:31:77:1:0:0::_21:false::1:52:90:1:0:0::_21:false::1:27:121:1:0:0::_21:false::1:40:147:1:0:0::_21:false::1:8:48:1:0:0::_21:false::1:4:154:1:0:0::_21:false::1:1:106:1:0:0::_21:false::1:4:66:1:0:0::_21:false::1:64:77:1:0:0::_21:false::1:76:13:1:0:0::_21:false::1:62:133:1:0:0::_21:false::1:74:145:1:0:0::_21:false::1:41:105:1:0:0::_21:false::1:77:110:1:0:0::_22:false::1:64:154:1:0:0::_22:false::1:47:140:1:0:0::_22:false::1:30:105:1:0:0::_22:false::1:61:49:1:0:0::_22:false::1:16:159:1:0:0::_23:false::1:55:114:1:0:0::_20:false::1:74:30:1:0:0::_20:false::1:67:20:1:0:0::_177:false::1:157:140:0:0:0::_177:false::1:141:128:0:0:0::_177:false::1:115:121:0:0:0::_177:false::1:96:133:0:0:0::_177:false::1:96:109:0:0:0::_177:false::1:100:73:0:0:0::_177:false::1:129:66:0:0:0::_177:false::1:128:69:0:0:0::_177:false::1:141:35:0:0:0::_177:false::1:122:15:0:0:0::_177:false::1:94:38:0:0:0::_177:false::1:270:7:0:0:0::_177:false::1:277:8:0:0:0::_177:false::1:276:11:0:0:0::_177:false::1:271:6:0:0:0::_177:false::1:297:30:0:0:0::_177:false::1:248:27:0:0:0::_177:false::1:246:30:0:0:0::_177:false::1:260:14:0:0:0::_177:false::1:259:18:0:0:0::_177:false::1:255:20:0:0:0::_178:false::1:296:28:0:0:0::_178:false::1:255:23:0:0:0::_178:false::1:252:25:0:0:0::_178:false::1:248:29:0:0:0::_178:false::1:266:10:0:0:0::_178:false::1:267:11:0:0:0::_178:false::1:272:3:0:0:0::_178:false::1:288:22:0:0:0::_178:false::1:288:20:0:0:0::_177:false::1:286:21:0:0:0::_178:false::1:95:36:0:0:0::_178:false::1:108:25:0:0:0::_178:false::1:119:13:0:0:0::_178:false::1:120:15:0:0:0::_178:false::1:120:12:0:0:0::_177:false::1:120:12:0:0:0::_178:false::1:128:21:0:0:0::_178:false::1:129:23:0:0:0::_178:false::1:96:131:0:0:0::_178:false::1:141:127:0:0:0::_178:false::1:157:137:0:0:0::_178:false::1:152:132:0:0:0::_177:false::1:152:135:0:0:0::_177:false::1:147:129:0:0:0::_177:false::1:135:125:0:0:0::_177:false::1:134:127:0:0:0::_177:false::1:97:130:0:0:0::_177:false::1:94:133:0:0:0::_177:false::1:101:127:0:0:0::_177:false::1:102:124:0:0:0::_178:false::1:102:125:0:0:0::_178:false::1:144:124:0:0:0::_178:false::1:122:127:0:0:0::_178:false::1:102:103:0:0:0::_177:false::1:102:101:0:0:0::_177:false::1:94:78:0:0:0::_177:false::1:95:75:0:0:0::_178:false::1:123:73:0:0:0::_178:false::1:124:74:0:0:0::_178:false::1:94:39:0:0:0::_178:false::1:97:37:0:0:0::_177:false::1:103:29:0:0:0::_177:false::1:105:26:0:0:0::_177:false::1:104:27:0:0:0::_178:false::1:105:26:0:0:0::_177:false::1:117:15:0:0:0::_176:false::1:122:17:0:0:0::_176:false::1:112:22:0:0:0::_176:false::1:133:28:0:0:0::_176:false::1:139:34:0:0:0::_176:false::1:144:47:0:0:0::_176:false::1:149:52:0:0:0::_176:false::1:159:62:0:0:0::_175:false::1:161:62:0:0:0::_177:false::1:159:60:0:0:0::_176:false::1:128:70:0:0:0::_176:false::1:119:79:0:0:0::_175:false::1:112:78:0:0:0::_175:false::1:103:71:0:0:0::_175:false::1:100:75:0:0:0::_175:false::1:96:110:0:0:0::_175:false::1:112:119:0:0:0::_176:false::1:130:132:0:0:0::_176:false::1:259:20:0:0:0::_176:false::1:252:27:0:0:0::_176:false::1:284:20:0:0:0::_176:false::1:291:26:0:0:0::_178:false::1:284:16:0:0:0::_178:false::1:283:15:0:0:0::_177:false::1:267:8:0:0:0::_178:false::1:276.5:8.5:0:0:0::_29:false::1,2,3,4:231:150:1:0:2:GOOD CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:230:149:1:0:2:GOOD CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_28:false::1,2,3,4:197:7:1:0:2:GOOD CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_28:false::1,2,3,4:196:8:1:0:2:GOOD CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2';
zoneData = '0 SC: 32 SC: 157 SC: START SZ: 1 SC: 154 SC: 134 SC: TELEPORT 9/21 SZ: 1 SC: 9 SC: 21 SC: TELEPORT 154/134 SZ: 2 SC: 9 SC: 117 SC: TELEPORT 189/126 SZ: 2 SC: 189 SC: 126 SC: TELEPORT 9/117 SZ: 3 SC: 222 SC: 14 SC: TELEPORT 54/37 SZ: 3 SC: 54 SC: 37 SC: TELEPORT 222/14 SZ: 4 SC: 109 SC: 22 SC: TELEPORT 261/14 SZ: 4 SC: 261 SC: 14 SC: TELEPORT 109/22 SZ: 5 SC: 20 SC: 24 SC: NPC Spider 2 SZ: 6 SC: 23 SC: 31 SC: NPC Spider 2 SZ: 7 SC: 21 SC: 37 SC: NPC Spider 2 SZ: 8 SC: 14 SC: 37 SC: NPC Spider 2 SZ: 9 SC: 8 SC: 29 SC: NPC Spider 2 SZ: 10 SC: 16 SC: 28 SC: NPC Sicarius 2 SZ: 11 SC: 30 SC: 39 SC: NPC Spider 2 SZ: 12 SC: 28 SC: 43 SC: NPC Spider 2 SZ: 13 SC: 24 SC: 48 SC: NPC Spider 2 SZ: 14 SC: 42 SC: 47 SC: NPC Zombie 2 SZ: 15 SC: 50 SC: 41 SC: NPC Zombie 2 SZ: 16 SC: 53 SC: 46 SC: NPC Zombie 2 SZ: 17 SC: 48 SC: 51 SC: NPC Zombie 2 SZ: 18 SC: 45 SC: 58 SC: NPC Zombie 2 SZ: 19 SC: 41 SC: 62 SC: NPC Zombie 2 SZ: 20 SC: 39 SC: 67 SC: NPC Zombie 2 SZ: 21 SC: 53 SC: 69 SC: NPC Zombie 2 SZ: 22 SC: 47 SC: 72 SC: NPC Zombie 2 SZ: 23 SC: 36 SC: 75 SC: NPC Zombie 2 SZ: 24 SC: 30 SC: 89 SC: NPC Zombie 2 SZ: 25 SC: 24 SC: 85 SC: NPC Zombie 2 SZ: 26 SC: 23 SC: 101 SC: NPC Zombie 2 SZ: 27 SC: 19 SC: 97 SC: NPC Zombie 2 SZ: 28 SC: 14 SC: 102 SC: NPC Zombie 2 SZ: 29 SC: 14 SC: 111 SC: NPC Zombie 2 SZ: 30 SC: 22 SC: 111 SC: NPC Zombie 2 SZ: 31 SC: 18 SC: 120 SC: NPC Zombie 2 SZ: 32 SC: 13 SC: 119 SC: NPC Zombie 2 SZ: 33 SC: 11 SC: 122 SC: NPC Zombie 2 SZ: 34 SC: 12 SC: 132 SC: NPC Zombie 2 SZ: 35 SC: 8 SC: 134 SC: NPC Zombie 2 SZ: 36 SC: 10 SC: 138 SC: NPC Zombie 2 SZ: 37 SC: 191 SC: 136 SC: NPC Zombie 2 SZ: 38 SC: 196 SC: 133 SC: NPC Zombie 2 SZ: 39 SC: 198 SC: 125 SC: NPC Zombie 2 SZ: 40 SC: 203 SC: 133 SC: NPC Zombie 2 SZ: 41 SC: 203 SC: 122 SC: NPC Zombie 2 SZ: 42 SC: 208 SC: 128 SC: NPC Zombie 2 SZ: 43 SC: 207 SC: 134 SC: NPC Zombie 2 SZ: 44 SC: 218 SC: 124 SC: NPC Zombie 2 SZ: 45 SC: 215 SC: 142 SC: NPC Zombie 2 SZ: 46 SC: 218 SC: 142 SC: NPC Zombie 2 SZ: 47 SC: 216 SC: 148 SC: NPC Zombie 2 SZ: 48 SC: 222 SC: 152 SC: NPC Zombie 2 SZ: 49 SC: 224 SC: 148 SC: NPC Zombie 2 SZ: 50 SC: 226 SC: 153 SC: NPC Zombie 2 SZ: 51 SC: 218 SC: 116 SC: NPC Zombie 2 SZ: 52 SC: 210 SC: 115 SC: NPC Zombie 2 SZ: 53 SC: 222 SC: 106 SC: NPC Zombie 2 SZ: 54 SC: 216 SC: 105 SC: NPC Zombie 2 SZ: 55 SC: 214 SC: 99 SC: NPC Zombie 2 SZ: 56 SC: 210 SC: 93 SC: NPC Zombie 2 SZ: 57 SC: 215 SC: 95 SC: NPC Zombie 2 SZ: 58 SC: 220 SC: 96 SC: NPC Zombie 2 SZ: 59 SC: 216 SC: 89 SC: NPC Zombie 2 SZ: 60 SC: 211 SC: 24 SC: NPC Zombie 2 SZ: 61 SC: 210 SC: 31 SC: NPC Zombie 2 SZ: 62 SC: 203 SC: 32 SC: NPC Zombie 2 SZ: 63 SC: 204 SC: 23 SC: NPC Zombie 2 SZ: 64 SC: 200 SC: 14 SC: NPC Zombie 2 SZ: 65 SC: 194 SC: 13 SC: NPC Zombie 2 SZ: 66 SC: 189 SC: 17 SC: NPC Zombie 2 SZ: 67 SC: 193 SC: 25 SC: NPC Zombie 2 SZ: 68 SC: 192 SC: 31 SC: NPC Zombie 2 SZ: 69 SC: 185 SC: 23 SC: NPC Zombie 2 SZ: 70 SC: 141 SC: 134 SC: NPC Spider 2 SZ: 71 SC: 139 SC: 140 SC: NPC Spider 2 SZ: 72 SC: 132 SC: 141 SC: NPC Spider 2 SZ: 73 SC: 132 SC: 133 SC: NPC Spider 2 SZ: 74 SC: 122 SC: 132 SC: NPC Spider 2 SZ: 75 SC: 117 SC: 127 SC: NPC Spider 2 SZ: 76 SC: 112 SC: 127 SC: NPC Spider 2 SZ: 77 SC: 111 SC: 132 SC: NPC Spider 2 SZ: 78 SC: 109 SC: 125 SC: NPC Spider 2 SZ: 79 SC: 106 SC: 137 SC: NPC Spider 2 SZ: 80 SC: 102 SC: 135 SC: NPC Spider 2 SZ: 81 SC: 107 SC: 116 SC: NPC Spider 2 SZ: 82 SC: 101 SC: 109 SC: NPC Spider 2 SZ: 83 SC: 112 SC: 106 SC: NPC Spider 2 SZ: 84 SC: 108 SC: 103 SC: NPC Spider 2 SZ: 85 SC: 99 SC: 86 SC: NPC Spider 2 SZ: 86 SC: 100 SC: 78 SC: NPC Spider 2 SZ: 87 SC: 108 SC: 82 SC: NPC Spider 2 SZ: 88 SC: 107 SC: 88 SC: NPC Spider 2 SZ: 89 SC: 113 SC: 91 SC: NPC Spider 2 SZ: 90 SC: 114 SC: 100 SC: NPC Spider 2 SZ: 91 SC: 119 SC: 98 SC: NPC Spider 2 SZ: 92 SC: 118 SC: 88 SC: NPC Spider 2 SZ: 93 SC: 123 SC: 95 SC: NPC Spider 2 SZ: 94 SC: 121 SC: 86 SC: NPC Spider 2 SZ: 95 SC: 119 SC: 83 SC: NPC Spider 2 SZ: 96 SC: 126 SC: 81 SC: NPC Spider 2 SZ: 97 SC: 127 SC: 89 SC: NPC Spider 2 SZ: 98 SC: 128 SC: 91 SC: NPC Spider 2 SZ: 99 SC: 135 SC: 84 SC: NPC Spider 2 SZ: 100 SC: 130 SC: 73 SC: NPC Spider 2 SZ: 101 SC: 135 SC: 74 SC: NPC Spider 2 SZ: 102 SC: 142 SC: 77 SC: NPC Spider 2 SZ: 103 SC: 148 SC: 69 SC: NPC Spider 2 SZ: 104 SC: 145 SC: 64 SC: NPC Spider 2 SZ: 105 SC: 137 SC: 63 SC: NPC Spider 2 SZ: 106 SC: 152 SC: 60 SC: NPC Spider 2 SZ: 107 SC: 140 SC: 51 SC: NPC Spider 2 SZ: 108 SC: 110 SC: 45 SC: NPC Sicarius 2 SZ: 109 SC: 108 SC: 35 SC: NPC Sicarius 2 SZ: 110 SC: 119 SC: 25 SC: NPC Sicarius 2 SZ: 111 SC: 121 SC: 24 SC: NPC Spider 2 SZ: 112 SC: 120 SC: 31 SC: NPC Spider 2 SZ: 113 SC: 106 SC: 35 SC: NPC Spider 2 SZ: 114 SC: 104 SC: 41 SC: NPC Spider 2 SZ: 115 SC: 115 SC: 47 SC: NPC Spider 2 SZ: 116 SC: 271 SC: 29 SC: NPC Queen 2 SZ: 117 SC: 274 SC: 46 SC: NPC Spider 2 SZ: 118 SC: 270 SC: 46 SC: NPC Spider 2 SZ: 119 SC: 267 SC: 45 SC: NPC Spider 2 SZ: 120 SC: 262 SC: 39 SC: NPC Spider 2 SZ: 121 SC: 258 SC: 36 SC: NPC Spider 2 SZ: 122 SC: 261 SC: 26 SC: NPC Spider 2 SZ: 123 SC: 265 SC: 22 SC: NPC Spider 2 SZ: 124 SC: 268 SC: 19 SC: NPC Spider 2 SZ: 125 SC: 273 SC: 15 SC: NPC Spider 2 SZ: 126 SC: 273 SC: 20 SC: NPC Spider 2 SZ: 127 SC: 279 SC: 21 SC: NPC Spider 2 SZ: 128 SC: 279 SC: 26 SC: NPC Spider 2 SZ: 129 SC: 287 SC: 26 SC: NPC Spider 2 SZ: 130 SC: 285 SC: 33 SC: NPC Spider 2 SZ: 131 SC: 289 SC: 31 SC: NPC Spider 2';
limitData = '0:0:19:19_20:0:42:19_42:0:59:8_42:8:59:19_60:0:75:10';
}
function setMap003() {
terrainData = '2,2,67,112,112,112,112,65,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,55,54,69,58,59,60,2,2,2,125,124,148,120,121,125,124,148,148,120,121,2,2,2,1,1,1,1,1,1,1,1,1,1,155,171,150,151,1,1,1;67,57,56,4,110,65,2,2,125,147,127,126,2,122,123,127,126,2,2,122,123,120,121,2,1,1,1,1,1,1,1,1,1,168,169,156,152,153,150,151,1;67,111,4,4,110,65,2,137,127,126,2,2,2,2,2,2,2,2,2,2,2,122,134,135,1,1,1,1,1,1,1,1,1,1,163,162,161,3,152,153,166;2,63,113,113,60,2,2,137,141,2,2,2,2,2,2,2,2,2,2,2,128,129,130,2,1,1,1,1,1,1,1,1,1,1,155,154,165,158,159,160,1;2,2,2,2,2,2,2,2,133,132,131,2,2,2,2,2,2,2,2,2,138,120,121,2,1,1,1,1,155,154,150,151,155,154,157,156,3,164,150,151,1;2,125,124,148,120,121,2,2,2,2,133,132,131,2,2,2,2,2,2,2,2,122,134,135,1,1,1,168,157,156,152,153,157,156,3,3,3,3,152,167,166;137,136,126,2,122,123,120,121,2,2,2,2,133,132,131,2,2,2,2,2,128,129,130,2,1,1,1,1,163,162,161,3,3,3,3,3,3,158,159,160,1;2,133,132,131,2,2,122,123,148,120,121,2,2,2,133,132,131,2,2,2,140,135,2,2,1,1,1,1,1,168,165,3,3,3,3,3,3,164,170,151,1;2,2,137,141,2,2,2,2,2,122,134,135,2,2,125,124,139,2,128,129,130,2,2,2,1,1,1,1,1,1,163,162,161,3,3,3,3,3,152,167,166;2,125,124,139,2,2,2,2,128,129,130,2,125,124,127,126,2,2,138,120,121,2,2,2,1,1,1,1,1,1,1,1,163,162,161,3,3,158,159,160,1;137,127,126,2,2,2,2,2,140,135,2,137,127,126,2,2,2,2,2,122,123,120,121,2,1,1,1,1,1,1,1,1,1,1,163,162,159,160,1,1,1;137,141,2,2,2,2,2,2,140,135,2,2,133,132,131,2,2,2,2,2,2,122,123,148,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,133,132,131,2,2,2,2,138,146,121,2,2,2,133,149,132,131,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,133,149,132,131,2,2,122,134,135,2,2,2,2,2,133,132,131,2,2,2,2,1,1,1,9,9,9,9,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,133,149,132,129,130,2,2,2,2,2,2,2,137,141,2,2,2,2,1,1,9,9,9,9,9,9,9,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,125,124,139,2,2,2,2,1,1,1,9,9,9,9,9,9,1,1,1,1,1,1,1,1;120,121,2,2,2,2,2,2,2,2,2,2,2,2,2,2,137,127,126,2,2,2,2,2,1,1,1,1,1,9,9,1,1,1,1,1,1,1,1,1,1;122,123,120,121,2,2,2,2,2,2,2,2,2,2,2,2,137,141,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,122,123,148,120,121,2,2,2,2,2,2,2,2,125,124,139,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,122,123,148,120,121,2,125,124,120,124,127,126,2,2,2,128,129,149,149,1,1,1,1,9,9,1,1,1,1,1,1,1,1,1,1,1;132,131,2,2,2,2,2,2,122,123,148,127,126,122,126,2,2,2,2,2,140,135,2,2,1,1,9,9,9,9,9,9,1,1,1,1,1,1,1,1,1;2,133,132,131,2,2,2,2,2,2,128,129,130,133,132,131,2,2,128,129,130,2,2,2,1,1,9,9,9,9,9,9,9,1,1,1,1,1,1,1,1;2,2,2,133,149,132,131,128,129,149,130,2,2,2,137,141,128,129,130,2,2,2,2,2,1,1,1,1,9,9,9,9,1,1,1,1,1,1,1,1,1';
waterData = '4';
objectData = '21:false::1:4:190:1:0:0::_21:false::1:52:191:1:0:0::_21:false::1:44:105:1:0:0::_21:false::1:92:176:1:0:0::_21:false::1:73:189:1:0:0::_52:false::1:27:76:1:0:0::_53:false::1:14:72:1:0:0::_38:false::1:19:85:1:0:0::_58:false::1:25:76:-2:0:0::_56:false::1,2,3,4:25:77:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_21:false::1:28:40:1:0:0::_23:false::1:2:42:1:0:0::_23:false::1:27:16:1:0:0::_21:false::1:6:9:1:0:0::_21:false::1:4:68:1:0:0::_182:false::1:104:120:-2:0:0::_180:false::1:108:112:-2:0:0::_182:false::1:112:112:-2:0:0::_183:false::1:116:112:-2:0:0::_181:false::1:120:112:-2:0:0::_183:false::1:124:120:-2:0:0::_181:false::1:128:120:-2:0:0::_185:false::1:104:120:-2:0:0::_187:false::1:108:128:-2:0:0::_185:false::1:112:128:-2:0:0::_187:false::1:116:136:-2:0:0::_186:false::1:120:136:-2:0:0::_186:false::1:128:128:-2:0:0::_184:false::1:124:128:-2:0:0::_106:false::1:104:124:2:0:0::_106:false::1:108:128:2:0:0::_106:false::1:112:132:2:0:0::_106:false::1:116:136:2:0:0::_107:false::1:107:127:2:0:0::_107:false::1:111:131:2:0:0::_107:false::1:115:135:2:0:0::_107:false::1:119:139:2:0:0::_105:false::1:120:139:2:0:0::_105:false::1:124:135:2:0:0::_105:false::1:128:131:2:0:0::_104:false::1:123:136:2:0:0::_104:false::1:127:132:2:0:0::_104:false::1:131:128:2:0:0::_111:false::1:114:133:2:0:0::_111:false::1:110:129:2:0:0::_111:false::1:106:125:2:0:0::_101:false::1:106:122:-2:0:0::_101:false::1:108:120:-2:0:0::_101:false::1:110:118:-2:0:0::_101:false::1:112:116:-2:0:0::_101:false::1:114:114:-2:0:0::_101:false::1:116:112:-2:0:0::_100:false::1:107:121:-2:0:0::_100:false::1:109:119:-2:0:0::_100:false::1:111:117:-2:0:0::_100:false::1:113:115:-2:0:0::_100:false::1:115:113:-2:0:0::_100:false::1:117:111:-2:0:0::_102:false::1:118:111:-2:0:0::_102:false::1:120:113:-2:0:0::_102:false::1:122:115:-2:0:0::_102:false::1:124:117:-2:0:0::_102:false::1:126:119:-2:0:0::_102:false::1:128:121:-2:0:0::_102:false::1:130:123:-2:0:0::_102:false::1:132:125:-2:0:0::_103:false::1:133:126:-2:0:0::_103:false::1:131:124:-2:0:0::_103:false::1:129:122:-2:0:0::_103:false::1:127:120:-2:0:0::_103:false::1:125:118:-2:0:0::_103:false::1:123:116:-2:0:0::_103:false::1:121:114:-2:0:0::_103:false::1:119:112:-2:0:0::_111:false::1:118:113:1:0:0::_111:false::1:122:117:1:0:0::_111:false::1:126:121:1:0:0::_108:false::1:122:137:2:0:0::_180:false::1:104:168:-2:0:0::_182:false::1:108:168:-2:0:0::_180:false::1:112:160:-2:0:0::_181:false::1:116:160:-2:0:0::_183:false::1:120:168:-2:0:0::_181:false::1:124:168:-2:0:0::_183:false::1:128:176:-2:0:0::_184:false::1:128:176:-2:0:0::_186:false::1:124:184:-2:0:0::_184:false::1:120:184:-2:0:0::_187:false::1:104:176:-2:0:0::_187:false::1:112:184:-2:0:0::_185:false::1:108:176:-2:0:0::_185:false::1:116:184:-2:0:0::_101:false::1:106:174:-2:0:0::_101:false::1:108:172:-2:0:0::_101:false::1:110:170:-2:0:0::_101:false::1:112:168:-2:0:0::_101:false::1:114:166:-2:0:0::_101:false::1:116:164:-2:0:0::_100:false::1:107:173:-2:0:0::_100:false::1:109:171:-2:0:0::_100:false::1:111:169:-2:0:0::_100:false::1:113:167:-2:0:0::_100:false::1:115:165:-2:0:0::_100:false::1:117:163:-2:0:0::_102:false::1:118:163:-2:0:0::_102:false::1:120:165:-2:0:0::_102:false::1:122:167:-2:0:0::_102:false::1:124:169:-2:0:0::_102:false::1:126:171:-2:0:0::_102:false::1:128:173:-2:0:0::_102:false::1:130:175:-2:0:0::_102:false::1:132:177:-2:0:0::_103:false::1:133:178:-2:0:0::_103:false::1:131:176:-2:0:0::_103:false::1:129:174:-2:0:0::_103:false::1:127:172:-2:0:0::_103:false::1:125:170:-2:0:0::_103:false::1:123:168:-2:0:0::_103:false::1:121:166:-2:0:0::_103:false::1:119:164:-2:0:0::_106:false::1:104:176:2:0:0::_106:false::1:112:184:2:0:0::_107:false::1:119:191:2:0:0::_107:false::1:115:187:2:0:0::_107:false::1:111:183:2:0:0::_107:false::1:107:179:2:0:0::_105:false::1:120:191:2:0:0::_105:false::1:124:187:2:0:0::_105:false::1:128:183:2:0:0::_104:false::1:131:180:2:0:0::_104:false::1:127:184:2:0:0::_104:false::1:123:188:2:0:0::_22:false::1:5:187:1:0:0::_22:false::1:12:191:1:0:0::_23:false::1:22:188:1:0:0::_22:false::1:27:185:1:0:0::_22:false::1:26:157:1:0:0::_22:false::1:8:153:1:0:0::_22:false::1:4:116:1:0:0::_22:false::1:22:132:1:0:0::_22:false::1:3:126:1:0:0::_22:false::1:43:130:1:0:0::_22:false::1:56:149:1:0:0::_22:false::1:62:162:1:0:0::_22:false::1:66:187:1:0:0::_22:false::1:86:186:1:0:0::_22:false::1:91:151:1:0:0::_22:false::1:72:137:1:0:0::_22:false::1:87:134:1:0:0::_22:false::1:91:104:1:0:0::_22:false::1:81:79:1:0:0::_22:false::1:90:62:1:0:0::_22:false::1:86:9:1:0:0::_22:false::1:53:18:1:0:0::_22:false::1:44:64:1:0:0::_22:false::1:45:18:1:0:0::_23:false::1:7:130:1:0:0::_23:false::1:4:79:1:0:0::_23:false::1:32:191:1:0:0::_23:false::1:59:189:1:0:0::_23:false::1:80:173:1:0:0::_23:false::1:89:157:1:0:0::_23:false::1:90:124:1:0:0::_23:false::1:88:110:1:0:0::_23:false::1:85:85:1:0:0::_23:false::1:91:35:1:0:0::_23:false::1:73:15:1:0:0::_23:false::1:55:62:1:0:0::_23:false::1:31:37:1:0:0::_23:false::1:51:89:1:0:0::_23:false::1:7:96:1:0:0::_23:false::1:13:111:1:0:0::_23:false::1:34:136:1:0:0::_23:false::1:40:3:1:0:0::_20:false::1:37:12:1:0:0::_20:false::1:12:38:1:0:0::_20:false::1:14:155:1:0:0::_20:false::1:35:167:1:0:0::_20:false::1:55:157:1:0:0::_20:false::1:84:191:1:0:0::_20:false::1:91:147:1:0:0::_20:false::1:89:103:1:0:0::_20:false::1:70:108:1:0:0::_20:false::1:53:95:1:0:0::_20:false::1:26:116:1:0:0::_20:false::1:15:107:1:0:0::_20:false::1:14:58:1:0:0::_21:false::1:51:21:1:0:0::_21:false::1:13:90:1:0:0::_21:false::1:41:77:1:0:0::_21:false::1:8:156:1:0:0::_21:false::1:4:150:1:0:0::_21:false::1:94:115:1:0:0::_21:false::1:65:119:1:0:0::_21:false::1:55:74:1:0:0::_21:false::1:64:4:1:0:0::_21:false::1:93:17:1:0:0::_23:false::1:37:88:1:0:0::_23:false::1:24:65:1:0:0::_23:false::1:27:57:1:0:0::_33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:153:18:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:152:41:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:158:71:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:126:47:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:111.3:55.5:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:119:63:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:139:90:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:127:79:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:135:42:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:139:14:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:156:58:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._102:false::1:111:118:1:0:0::_102:false::1:113:120:1:0:0::_103:false::1:112:119:1:0:0::_103:false::1:114:121:1:0:0::_100:false::1:114:122:1:0:0::_112:false::1:111:124:1:0:0::_113:false::1:110:125:1:0:0::_101:false::1:110:126:1:0:0::_56:false::1,2,3,4:110:124:1:0:0::_81:false::1:109:121:1:0:0::_33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:121:165:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:127:171:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:108:177:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:116:185:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._106:false::1:108:180:2:0:0::_106:false::1:116:188:2:0:0::_93:false::1:111:114:1:0:0::_93:false::1:109:116:1:0:0::_93:false::1:102:175:1:0:0::_93:false::1:104:173:1:0:0::_93:false::1:106:171:1:0:0::_93:false::1:108:169:1:0:0::_91:false::1:103:176:1:0:0::_91:false::1:104:175:1:0:0::_91:false::1:104:177:1:0:0::_91:false::1:105:178:1:0:0::_91:false::1:105:176:1:0:0::_91:false::1:105:174:1:0:0::_91:false::1:106:177:1:0:0::_91:false::1:106:175:1:0:0::_91:false::1:128:179:1:0:0::_91:false::1:128:180:1:0:0::_91:false::1:127:180:1:0:0::_91:false::1:126:181:1:0:0::_84:false::1:112:118:1:0:0::_84:false::1:122:125:1:0:0::_84:false::1:117:183:1:0:0::_84:false::1:113:179:1:0:0::_89:false::1:111:117:1:0:0::_89:false::1:112:116:1:0:0::_89:false::1:121:124:1:0:0::_90:false::1:124:126:1:0:0::_89:false::1:123:123:1:0:0::_89:false::1:123:127:1:0:0::_88:false::1:111:119:1:0:0::_88:false::1:112:120:1:0:0::_86:false::1:114:117:1:0:0::_90:false::1:113:116:1:0:0::_87:false::1:122:123:1:0:0::_86:false::1:124:124:1:0:0::_86:false::1:119:182:1:0:0::_86:false::1:118:181:1:0:0::_86:false::1:115:178:1:0:0::_87:false::1:113:177:1:0:0::_87:false::1:116:182:1:0:0::_88:false::1:117:185:1:0:0::_88:false::1:113:181:1:0:0::_89:false::1:112:180:1:0:0::_89:false::1:117:181:1:0:0::_90:false::1:116:184:1:0:0::_89:false::1:112:178:1:0:0::_89:false::1:119:184:1:0:0::_89:false::1:114:177:1:0:0::_31:false::1,2,3,4:129:176:1:0:2:GOOD CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_31:false::1,2,3,4:128:175:1:0:2:GOOD CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:127:174:1:0:2:GOOD CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:126:173:1:0:2:GOOD CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:125:172:1:0:2:GOOD CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:124:171:1:0:2:GOOD CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_28:false::1,2,3,4:121:47:1:0:2:GOOD CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_28:false::1,2,3,4:71:139:1:0:2:GOOD CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_28:false::1,2,3,4:72:138:1:0:2:GOOD CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_22:false::1:62.5:150.2:1:0:0::_81:false::1:116:165:-2:0:0::_82:false::1:116:111:-2:0:0::_84:false::1:116:55:1:0:0::_89:false::1:116:53:1:0:0::_89:false::1:115:54:1:0:0::_89:false::1:115:56:1:0:0::_89:false::1:116:57:1:0:0::_93:false::1:111:53:1:0:0::_93:false::1:113:51:1:0:0::';
zoneData = '0 SC: 5 SC: 165 SC: START SZ: 1 SC: 141 SC: 14 SC: TELEPORT 37/21 SZ: 1 SC: 37 SC: 21 SC: TELEPORT 141/14 SZ: 2 SC: 38 SC: 109 SC: TELEPORT 154/70 SZ: 2 SC: 154 SC: 70 SC: TELEPORT 38/109 SZ: 3 SC: 38 SC: 174 SC: NPC Bandit 2 SZ: 4 SC: 38 SC: 178 SC: NPC Bandit 2 SZ: 5 SC: 38 SC: 182 SC: NPC Bandit 2 SZ: 6 SC: 43 SC: 174 SC: NPC FemaleBanditBow 2 SZ: 7 SC: 43 SC: 181 SC: NPC FemaleBanditBow 2 SZ: 8 SC: 59 SC: 168 SC: NPC FemaleBanditBow 2 SZ: 9 SC: 69 SC: 145 SC: NPC FemaleBanditBow 2 SZ: 10 SC: 69 SC: 172 SC: NPC FemaleBanditBow 2 SZ: 11 SC: 68 SC: 163 SC: NPC Bandit 2 SZ: 12 SC: 68 SC: 168 SC: NPC Bandit 2 SZ: 13 SC: 68 SC: 173 SC: NPC Bandit 2 SZ: 14 SC: 76 SC: 170 SC: NPC Bandit 2 SZ: 15 SC: 75 SC: 163 SC: NPC Bandit 2 SZ: 16 SC: 73 SC: 156 SC: NPC Bandit 2 SZ: 17 SC: 73 SC: 153 SC: NPC Bandit 2 SZ: 18 SC: 77 SC: 157 SC: NPC Bandit 2 SZ: 19 SC: 74 SC: 159 SC: NPC Bandit 2 SZ: 20 SC: 82 SC: 147 SC: NPC CorruptedPriest 2 SZ: 21 SC: 73 SC: 146 SC: NPC CorruptedPriest 2 SZ: 22 SC: 75 SC: 140 SC: NPC FemaleBanditBow 2 SZ: 23 SC: 77 SC: 111 SC: NPC Bandit 2 SZ: 24 SC: 80 SC: 106 SC: NPC Bandit 2 SZ: 25 SC: 85 SC: 107 SC: NPC Bandit 2 SZ: 26 SC: 76 SC: 105 SC: NPC Bandit 2 SZ: 27 SC: 59 SC: 94 SC: NPC Bandit 2 SZ: 28 SC: 60 SC: 84 SC: NPC Bandit 2 SZ: 29 SC: 62 SC: 93 SC: NPC Bandit 2 SZ: 30 SC: 68 SC: 68 SC: NPC Bandit 2 SZ: 31 SC: 73 SC: 67 SC: NPC Bandit 2 SZ: 32 SC: 74 SC: 73 SC: NPC Bandit 2 SZ: 33 SC: 73 SC: 55 SC: NPC FemaleBanditBow 2 SZ: 34 SC: 60 SC: 61 SC: NPC FemaleBanditBow 2 SZ: 35 SC: 85 SC: 49 SC: NPC FemaleBanditBow 2 SZ: 36 SC: 72 SC: 35 SC: NPC FemaleBanditBow 2 SZ: 37 SC: 38 SC: 33 SC: NPC Bandit 2 SZ: 38 SC: 38 SC: 27 SC: NPC Bandit 2 SZ: 39 SC: 45 SC: 32 SC: NPC Bandit 2 SZ: 40 SC: 67 SC: 18 SC: NPC Bandit 2 SZ: 41 SC: 64 SC: 22 SC: NPC Bandit 2 SZ: 42 SC: 67 SC: 25 SC: NPC Bandit 2 SZ: 43 SC: 82 SC: 25 SC: NPC Bandit 2 SZ: 44 SC: 80 SC: 29 SC: NPC Bandit 2 SZ: 45 SC: 83 SC: 33 SC: NPC Bandit 2 SZ: 46 SC: 86 SC: 29 SC: NPC Bandit 2 SZ: 47 SC: 63 SC: 29 SC: NPC Bandit 2 SZ: 48 SC: 48 SC: 33 SC: NPC MaleBanditChief 2 SZ: 49 SC: 123 SC: 53 SC: NPC MaleBanditChief 2 SZ: 50 SC: 120 SC: 58 SC: NPC MaleBanditChief 2 SZ: 51 SC: 144 SC: 41 SC: NPC Bandit 2 SZ: 52 SC: 148 SC: 45 SC: NPC Bandit 2 SZ: 53 SC: 143 SC: 49 SC: NPC Bandit 2 SZ: 54 SC: 148 SC: 48 SC: NPC Bandit 2 SZ: 55 SC: 139 SC: 67 SC: NPC Bandit 2 SZ: 56 SC: 133 SC: 71 SC: NPC Bandit 2 SZ: 57 SC: 134 SC: 76 SC: NPC Bandit 2 SZ: 58 SC: 139 SC: 75 SC: NPC Bandit 2 SZ: 59 SC: 142 SC: 71 SC: NPC Bandit 2 SZ: 60 SC: 150 SC: 76 SC: NPC Bandit 2 SZ: 61 SC: 142 SC: 81 SC: NPC Bandit 2 SZ: 62 SC: 156 SC: 78 SC: NPC FemaleBanditBow 2 SZ: 63 SC: 143 SC: 89 SC: NPC FemaleBanditBow 2 SZ: 64 SC: 123 SC: 69 SC: NPC FemaleBanditBow 2 SZ: 65 SC: 121 SC: 49 SC: NPC FemaleBanditBow 2 SZ: 66 SC: 21 SC: 82 SC: NPC FemaleBanditBow 2 SZ: 67 SC: 18 SC: 92 SC: NPC FemaleBanditBow 2 SZ: 68 SC: 25 SC: 87 SC: NPC Bandit 2 SZ: 69 SC: 24 SC: 93 SC: NPC Bandit 2 SZ: 70 SC: 21 SC: 97 SC: NPC Bandit 2 SZ: 71 SC: 27 SC: 91 SC: NPC Bandit 2 SZ: 72 SC: 118 SC: 169 SC: NPC Bandit 2 SZ: 73 SC: 115 SC: 173 SC: NPC Bandit 2 SZ: 74 SC: 119 SC: 176 SC: NPC Bandit 2 SZ: 75 SC: 121 SC: 174 SC: NPC Bandit 2 SZ: 76 SC: 123 SC: 180 SC: NPC Bandit 2 SZ: 77 SC: 111 SC: 176 SC: NPC Bandit 2 SZ: 78 SC: 110 SC: 172 SC: NPC Bandit 2 SZ: 79 SC: 127 SC: 178 SC: NPC FemaleBanditBow 2 SZ: 80 SC: 114 SC: 183 SC: NPC FemaleBanditBow 2 SZ: 81 SC: 120 SC: 118 SC: NPC FemaleBanditBow 2 SZ: 82 SC: 113 SC: 126 SC: NPC CorruptedPriest 2 SZ: 83 SC: 121 SC: 121 SC: NPC CorruptedPriest 2 SZ: 84 SC: 118 SC: 126 SC: NPC Thermas 2 SZ: 85 SC: 117 SC: 126 SC: NPC Bandit 2 SZ: 86 SC: 117 SC: 131 SC: NPC Bandit 2 SZ: 87 SC: 114 SC: 166 SC: TELEPORT 117/114 SZ: 87 SC: 117 SC: 114 SC: TELEPORT 114/166 SZ: 88 SC: 122 SC: 136 SC: TELEPORT 25/78 SZ: 88 SC: 25 SC: 78 SC: TELEPORT 122/136';
limitData = '0:0:23:23_25:0:40:12_25:12:40:18_25:18:40:23';
if (quesInv[1] == 2) {
area.push(new Array(1350, 2075, 160000, 'UPDATEQUEST 1 3'));
}
if (quesInv[1] == 1) {
changeZone('NPC Thermas 2', 'NPC Villain 2');
}
}
function setMap004() {
terrainData = '2,2,2,2,2,2,125,124,127,126,2,128,129,130,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,155,154,150,154,150,151,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,125,124,127,126,128,129,149,130,2,2,2,2,2,2,128,129,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,155,171,150,151,1,1,1,1,1,155,171,157,156,152,156,152,153,150,151,1,1,1,1,1,1,1,155,154,150,151,155,154,150,151,1,1,1,1,1,1,1;2,125,124,148,127,126,2,2,140,135,2,2,2,2,2,2,128,129,130,2,1,1,1,1,1,1,1,1,155,154,150,151,155,154,150,154,157,156,152,167,166,1,1,1,168,169,156,3,158,159,162,161,3,152,167,166,1,1,1,1,1,168,169,156,152,153,157,156,152,167,166,1,1,1,1,1,1;137,136,126,2,2,2,2,2,138,120,121,2,2,2,2,2,140,135,2,2,1,1,1,1,1,1,155,154,157,156,152,153,157,156,152,156,3,158,159,160,1,1,1,1,1,163,162,159,160,155,154,165,3,3,164,166,1,1,1,1,1,1,163,162,161,3,3,158,161,164,150,151,1,1,1,1,1;2,133,149,132,129,132,131,2,2,122,123,120,121,2,128,129,130,2,2,2,1,1,1,1,155,154,157,156,3,3,3,3,3,3,3,158,159,160,1,1,1,1,1,1,1,1,1,155,154,157,156,3,158,159,160,1,1,1,1,1,1,1,1,168,165,158,159,160,163,162,152,153,150,151,1,1,1;2,2,2,2,2,2,133,132,131,2,2,122,134,135,138,146,121,2,2,2,1,1,1,168,169,156,3,3,3,3,3,3,3,158,159,160,1,1,1,1,1,1,1,1,1,1,168,169,156,3,158,159,160,1,1,1,1,1,1,1,1,1,155,154,165,164,170,151,1,1,163,162,152,153,166,1,1;2,2,2,2,2,2,125,124,139,2,128,129,130,2,2,122,123,120,121,2,1,1,1,1,163,162,159,162,161,3,3,3,3,164,150,151,155,171,150,151,1,1,1,1,1,1,1,163,162,159,160,1,1,1,1,1,1,1,1,1,1,168,169,156,3,3,152,153,150,151,155,154,165,164,166,1,1;2,2,2,2,2,137,136,126,2,2,138,144,2,2,2,2,2,122,134,135,1,1,1,1,1,1,155,154,165,3,3,3,3,3,152,153,157,156,152,167,166,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,163,162,161,158,161,3,152,153,157,156,159,160,1,1,1;2,2,2,2,125,124,139,2,2,2,2,2,2,2,2,2,128,129,130,2,1,1,1,1,155,154,157,156,3,3,3,3,3,158,161,3,3,158,159,160,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,163,160,163,162,159,162,159,160,1,1,1,1,1;2,2,125,147,127,126,2,2,2,2,2,2,2,2,128,129,130,2,2,2,1,1,1,168,169,156,3,3,3,3,3,158,159,160,163,162,159,160,1,1,1,1,1,1,1,1,155,154,170,151,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,137,136,126,2,2,2,2,2,2,55,54,50,51,138,120,121,2,2,2,1,1,1,1,163,162,161,3,3,3,3,164,150,151,1,1,1,1,1,1,1,1,1,1,1,168,169,156,152,153,150,151,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,137,141,2,2,2,2,2,67,112,57,56,52,64,65,122,134,135,2,2,1,1,1,1,155,154,165,3,3,3,3,3,152,167,166,1,1,1,1,1,1,1,1,1,1,1,163,162,161,3,152,153,150,151,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1;2,2,133,132,131,2,2,2,2,63,113,62,59,60,128,129,130,2,2,2,1,1,1,168,169,156,3,3,3,3,3,3,3,164,150,151,155,171,150,151,1,1,1,1,1,1,1,168,165,3,3,3,152,167,166,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1;2,2,125,124,139,2,2,2,2,2,2,125,124,144,138,146,121,2,2,2,1,1,1,1,163,162,161,3,3,158,161,158,161,3,152,153,157,156,152,167,166,1,1,1,1,1,155,171,165,3,3,158,159,160,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1;2,137,136,126,2,2,2,2,2,125,124,127,126,2,2,122,123,135,2,2,1,1,1,1,1,1,163,162,159,160,163,160,163,162,161,3,3,158,159,160,1,1,1,1,1,168,169,156,3,158,159,160,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1;2,2,133,132,131,2,2,2,142,127,126,2,128,131,2,2,140,135,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,163,162,159,160,1,1,1,1,1,1,1,1,163,162,159,160,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1;2,2,2,2,133,132,131,2,2,2,128,129,130,133,132,129,130,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1;2,2,2,2,2,137,141,2,128,129,130,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1;2,2,2,2,2,2,133,149,130,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1';
waterData = '4';
objectData = '21:false::1:36:103:1:0:0::_21:false::1:5:12:1:0:0::_21:false::1:25:3:1:0:0::_21:false::1:3:44:1:0:0::_21:false::1:24:52:1:0:0::_21:false::1:4:86:1:0:0::_21:false::1:2:108:1:0:0::_21:false::1:5:144:1:0:0::_21:false::1:22:156:1:0:0::_21:false::1:47:151:1:0:0::_21:false::1:42:138:1:0:0::_21:false::1:72:126:1:0:0::_21:false::1:68:82:1:0:0::_21:false::1:77:92:1:0:0::_21:false::1:79:72:1:0:0::_21:false::1:77:22:1:0:0::_21:false::1:63:10:1:0:0::_21:false::1:47:21:1:0:0::_21:false::1:53:36:1:0:0::_21:false::1:10:117:1:0:0::_20:false::1:17:4:1:0:0::_20:false::1:19:21:1:0:0::_20:false::1:17:68:1:0:0::_20:false::1:17:111:1:0:0::_20:false::1:18:140:1:0:0::_20:false::1:72:102:1:0:0::_20:false::1:77:51:1:0:0::_22:false::1:64:17:1:0:0::_22:false::1:56:7:1:0:0::_22:false::1:49:18:1:0:0::_22:false::1:37:34:1:0:0::_22:false::1:14:24:1:0:0::_22:false::1:2:21:1:0:0::_22:false::1:30:55:1:0:0::_22:false::1:19:73:1:0:0::_22:false::1:6:76:1:0:0::_22:false::1:45:105:1:0:0::_22:false::1:59:141:1:0:0::_22:false::1:75:9:1:0:0::_22:false::1:69:23:1:0:0::_23:false::1:71:28:1:0:0::_23:false::1:61:23:1:0:0::_23:false::1:10:12:1:0:0::_23:false::1:6:27:1:0:0::_23:false::1:23:62:1:0:0::_23:false::1:5:129:1:0:0::_23:false::1:24:134:1:0:0::_23:false::1:27:142:1:0:0::_23:false::1:52:136:1:0:0::_23:false::1:64:108:1:0:0::_23:false::1:70:61:1:0:0::_36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:140:42:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:156:26:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:156:66:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:148:74:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:132:74:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:156:114:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:148:122:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:116:114:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:99:50:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:99:82:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:99:106:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:107:114:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:131:114:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:139:122:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:103:67:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:103:35:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:111:27:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:129:26:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:140:102:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:133:87:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:157:55:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:140:54:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:183:26:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:203:23:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:191:50:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:208:42:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:216:34:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:190:8:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:213:11:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:201:83:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:209:91:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:187:122:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:187:90:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:204:114:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:212:106:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:196:122:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:191:103:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:251:58:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:267:66:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:292:58:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:284:66:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:251:26:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:283:42:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:275:34:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:277:15:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:264:41:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._28:false::1,2,3,4:8:27:1:0:2:GOOD CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_28:false::1,2,3,4:7:28:1:0:2:GOOD CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:72:57:1:0:2:GOOD CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:71:56:1:0:2:GOOD CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_31:false::1,2,3,4:280:22:1:0:2:GOOD CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_77:false::1:153:30:1:0:0::_77:false::1:152:29:1:0:0::_77:false::1:151:28:1:0:0::_77:false::1:150:27:1:0:0::_77:false::1:148:25:1:0:0::_77:false::1:147:24:1:0:0::_77:false::1:146:23:1:0:0::_77:false::1:145:22:1:0:0::_146:false::1,2,3,4,5,6:149:26:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5,5,6.SELECT 5,FREE -2/1,FREE -2/0,LAYER 50 - 5.SELECT 1.PLAY.5,5,4,4,3,3,2,2,1.SELECT 4,NOFREE -2/1,NOFREE -2/0,LAYER 1_32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:142:20:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._77:false::1:201:118:1:0:0::_77:false::1:200:117:1:0:0::_77:false::1:199:116:1:0:0::_77:false::1:198:115:1:0:0::_77:false::1:196:113:1:0:0::_77:false::1:195:112:1:0:0::_77:false::1:194:111:1:0:0::_77:false::1:193:110:1:0:0::_146:false::1,2,3,4,5,6:197:114:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5,5,6.SELECT 5,FREE -2/1,FREE -2/0,LAYER 50 - 5.SELECT 1.PLAY.5,5,4,4,3,3,2,2,1.SELECT 4,NOFREE -2/1,NOFREE -2/0,LAYER 1_76:false::1:265:45:1:0:0::_76:false::1:264:46:1:0:0::_76:false::1:263:47:1:0:0::_77:false::1:263:48:1:0:0::_77:false::1:264:49:1:0:0::_77:false::1:265:50:1:0:0::_77:false::1:268:53:1:0:0::_77:false::1:269:54:1:0:0::_77:false::1:270:55:1:0:0::_76:false::1:271:55:1:0:0::_76:false::1:272:54:1:0:0::_76:false::1:273:53:1:0:0::_146:false::1,2,3,4,5,6:267:52:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5,5,6.SELECT 5,FREE -2/1,FREE -2/0,LAYER 50 - 5.SELECT 1.PLAY.5,5,4,4,3,3,2,2,1.SELECT 4,NOFREE -2/1,NOFREE -2/0,LAYER 1_147:false::1,2,3,4,5,6:266:51:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5,5,6.SELECT 5,FREE -2/1,FREE -2/0,LAYER -50 - 5.SELECT 1.PLAY.5,5,4,4,3,3,2,2,1.SELECT 4,NOFREE -2/1,NOFREE -2/0,LAYER 1';
zoneData = '0 SC: 43 SC: 3 SC: START SZ: 1 SC: 13 SC: 77 SC: TELEPORT 266/46 SZ: 1 SC: 266 SC: 46 SC: TELEPORT 13/77 SZ: 2 SC: 149 SC: 14 SC: TELEPORT 62/45 SZ: 2 SC: 62 SC: 45 SC: TELEPORT 149/14 SZ: 3 SC: 185 SC: 14 SC: TELEPORT 149/54 SZ: 3 SC: 149 SC: 54 SC: TELEPORT 185/14 SZ: 4 SC: 149 SC: 102 SC: TELEPORT 194/78 SZ: 4 SC: 194 SC: 78 SC: TELEPORT 149/102 SZ: 5 SC: 62 SC: 109 SC: TELEPORT 189/110 SZ: 5 SC: 189 SC: 110 SC: TELEPORT 62/109 SZ: 6 SC: 12 SC: 27 SC: NPC SkeletonBow 2 SZ: 7 SC: 13 SC: 31 SC: NPC SkeletonBow 2 SZ: 8 SC: 16 SC: 34 SC: NPC SkeletonBow 2 SZ: 9 SC: 12 SC: 31 SC: NPC ReturnedVillain 2 SZ: 10 SC: 57 SC: 51 SC: NPC ReturnedVillain 2 SZ: 11 SC: 61 SC: 56 SC: NPC ReturnedVillain 2 SZ: 12 SC: 51 SC: 52 SC: NPC SkeletonBow 2 SZ: 13 SC: 55 SC: 59 SC: NPC SkeletonBow 2 SZ: 14 SC: 59 SC: 60 SC: NPC SkeletonBow 2 SZ: 15 SC: 63 SC: 53 SC: NPC SkeletonBow 2 SZ: 16 SC: 56 SC: 45 SC: NPC SkeletonBow 2 SZ: 17 SC: 60 SC: 21 SC: NPC SkeletonBow 2 SZ: 18 SC: 62 SC: 27 SC: NPC SkeletonBow 2 SZ: 19 SC: 62 SC: 92 SC: NPC SkeletonBow 2 SZ: 20 SC: 61 SC: 97 SC: NPC SkeletonBow 2 SZ: 21 SC: 58 SC: 105 SC: NPC SkeletonBow 2 SZ: 22 SC: 61 SC: 117 SC: NPC SkeletonBow 2 SZ: 23 SC: 60 SC: 123 SC: NPC SkeletonBow 2 SZ: 24 SC: 16 SC: 117 SC: NPC SkeletonBow 2 SZ: 25 SC: 18 SC: 120 SC: NPC SkeletonBow 2 SZ: 26 SC: 13 SC: 120 SC: NPC SkeletonBow 2 SZ: 27 SC: 15 SC: 85 SC: NPC SkeletonBow 2 SZ: 28 SC: 15 SC: 90 SC: NPC SkeletonBow 2 SZ: 29 SC: 17 SC: 91 SC: NPC SkeletonBow 2 SZ: 30 SC: 20 SC: 91 SC: NPC SkeletonBow 2 SZ: 31 SC: 18 SC: 85 SC: NPC SkeletonBow 2 SZ: 32 SC: 40 SC: 81 SC: NPC SkeletonBow 2 SZ: 33 SC: 38 SC: 84 SC: NPC SkeletonBow 2 SZ: 34 SC: 139 SC: 28 SC: NPC SkeletonBow 2 SZ: 35 SC: 144 SC: 35 SC: NPC SkeletonBow 2 SZ: 36 SC: 135 SC: 29 SC: NPC Zombie 2 SZ: 37 SC: 137 SC: 35 SC: NPC Zombie 2 SZ: 38 SC: 139 SC: 38 SC: NPC Zombie 2 SZ: 39 SC: 135 SC: 25 SC: NPC Zombie 2 SZ: 40 SC: 132 SC: 29 SC: NPC Zombie 2 SZ: 41 SC: 133 SC: 38 SC: NPC Zombie 2 SZ: 42 SC: 137 SC: 40 SC: NPC Zombie 2 SZ: 43 SC: 126 SC: 34 SC: NPC RottenFlesh 2 SZ: 44 SC: 125 SC: 39 SC: NPC RottenFlesh 2 SZ: 45 SC: 127 SC: 41 SC: NPC RottenFlesh 2 SZ: 46 SC: 128 SC: 47 SC: NPC RottenFlesh 2 SZ: 47 SC: 132 SC: 49 SC: NPC RottenFlesh 2 SZ: 48 SC: 134 SC: 52 SC: NPC RottenFlesh 2 SZ: 49 SC: 120 SC: 29 SC: NPC RottenFlesh 2 SZ: 50 SC: 118 SC: 32 SC: NPC RottenFlesh 2 SZ: 51 SC: 120 SC: 36 SC: NPC RottenFlesh 2 SZ: 52 SC: 113 SC: 34 SC: NPC Zombie 2 SZ: 53 SC: 114 SC: 38 SC: NPC Zombie 2 SZ: 54 SC: 116 SC: 40 SC: NPC Zombie 2 SZ: 55 SC: 111 SC: 42 SC: NPC Zombie 2 SZ: 56 SC: 105 SC: 49 SC: NPC Zombie 2 SZ: 57 SC: 111 SC: 49 SC: NPC Zombie 2 SZ: 58 SC: 115 SC: 50 SC: NPC Zombie 2 SZ: 59 SC: 101 SC: 44 SC: NPC Zombie 2 SZ: 60 SC: 99 SC: 46 SC: NPC Zombie 2 SZ: 61 SC: 103 SC: 49 SC: NPC Zombie 2 SZ: 62 SC: 118 SC: 49 SC: NPC Zombie 2 SZ: 63 SC: 117 SC: 53 SC: NPC Zombie 2 SZ: 64 SC: 121 SC: 51 SC: NPC Zombie 2 SZ: 65 SC: 125 SC: 57 SC: NPC Zombie 2 SZ: 66 SC: 121 SC: 59 SC: NPC Zombie 2 SZ: 67 SC: 121 SC: 64 SC: NPC Zombie 2 SZ: 68 SC: 126 SC: 63 SC: NPC Zombie 2 SZ: 69 SC: 132 SC: 56 SC: NPC Zombie 2 SZ: 70 SC: 135 SC: 58 SC: NPC Zombie 2 SZ: 71 SC: 134 SC: 63 SC: NPC Zombie 2 SZ: 72 SC: 119 SC: 69 SC: NPC Zombie 2 SZ: 73 SC: 127 SC: 71 SC: NPC Zombie 2 SZ: 74 SC: 127 SC: 75 SC: NPC Zombie 2 SZ: 75 SC: 101 SC: 78 SC: NPC RottenFlesh 2 SZ: 76 SC: 105 SC: 82 SC: NPC RottenFlesh 2 SZ: 77 SC: 108 SC: 84 SC: NPC RottenFlesh 2 SZ: 78 SC: 108 SC: 88 SC: NPC RottenFlesh 2 SZ: 79 SC: 118 SC: 89 SC: NPC RottenFlesh 2 SZ: 80 SC: 128 SC: 74 SC: NPC RottenFlesh 2 SZ: 81 SC: 127 SC: 90 SC: NPC RottenFlesh 2 SZ: 82 SC: 128 SC: 93 SC: NPC SkeletonBow 2 SZ: 83 SC: 124 SC: 96 SC: NPC SkeletonBow 2 SZ: 84 SC: 115 SC: 95 SC: NPC SkeletonBow 2 SZ: 85 SC: 108 SC: 93 SC: NPC SkeletonBow 2 SZ: 86 SC: 102 SC: 99 SC: NPC Zombie 2 SZ: 87 SC: 100 SC: 103 SC: NPC Zombie 2 SZ: 88 SC: 104 SC: 108 SC: NPC Zombie 2 SZ: 89 SC: 106 SC: 105 SC: NPC Zombie 2 SZ: 90 SC: 108 SC: 109 SC: NPC Zombie 2 SZ: 91 SC: 111 SC: 106 SC: NPC Zombie 2 SZ: 92 SC: 127 SC: 90 SC: NPC Zombie 2 SZ: 93 SC: 130 SC: 100 SC: NPC Zombie 2 SZ: 94 SC: 120 SC: 108 SC: NPC Zombie 2 SZ: 95 SC: 135 SC: 113 SC: NPC Zombie 2 SZ: 96 SC: 137 SC: 108 SC: NPC Zombie 2 SZ: 97 SC: 140 SC: 116 SC: NPC Zombie 2 SZ: 98 SC: 137 SC: 119 SC: NPC Zombie 2 SZ: 99 SC: 147 SC: 110 SC: NPC SkeletonBow 2 SZ: 100 SC: 151 SC: 110 SC: NPC SkeletonBow 2 SZ: 101 SC: 150 SC: 115 SC: NPC SkeletonBow 2 SZ: 102 SC: 143 SC: 118 SC: NPC RottenFlesh 2 SZ: 103 SC: 143 SC: 112 SC: NPC RottenFlesh 2 SZ: 104 SC: 144 SC: 123 SC: NPC RottenFlesh 2 SZ: 105 SC: 149 SC: 61 SC: NPC RottenFlesh 2 SZ: 106 SC: 151 SC: 63 SC: NPC RottenFlesh 2 SZ: 107 SC: 150 SC: 65 SC: NPC RottenFlesh 2 SZ: 108 SC: 142 SC: 66 SC: NPC Zombie 2 SZ: 109 SC: 141 SC: 82 SC: NPC Zombie 2 SZ: 110 SC: 193 SC: 14 SC: NPC Zombie 2 SZ: 111 SC: 192 SC: 20 SC: NPC Zombie 2 SZ: 112 SC: 195 SC: 18 SC: NPC Zombie 2 SZ: 113 SC: 198 SC: 11 SC: NPC Zombie 2 SZ: 114 SC: 201 SC: 13 SC: NPC Zombie 2 SZ: 115 SC: 201 SC: 17 SC: NPC Zombie 2 SZ: 116 SC: 208 SC: 15 SC: NPC Zombie 2 SZ: 117 SC: 206 SC: 20 SC: NPC Zombie 2 SZ: 118 SC: 215 SC: 23 SC: NPC Zombie 2 SZ: 119 SC: 211 SC: 25 SC: NPC Zombie 2 SZ: 120 SC: 216 SC: 31 SC: NPC Zombie 2 SZ: 121 SC: 199 SC: 38 SC: NPC SkeletonBow 2 SZ: 122 SC: 200 SC: 42 SC: NPC SkeletonBow 2 SZ: 123 SC: 203 SC: 45 SC: NPC SkeletonBow 2 SZ: 124 SC: 193 SC: 45 SC: NPC ReturnedVillain 2 SZ: 125 SC: 196 SC: 51 SC: NPC ReturnedVillain 2 SZ: 126 SC: 195 SC: 40 SC: NPC RottenFlesh 2 SZ: 127 SC: 193 SC: 47 SC: NPC RottenFlesh 2 SZ: 128 SC: 197 SC: 48 SC: NPC RottenFlesh 2 SZ: 129 SC: 188 SC: 86 SC: NPC RottenFlesh 2 SZ: 130 SC: 192 SC: 85 SC: NPC RottenFlesh 2 SZ: 131 SC: 192 SC: 80 SC: NPC RottenFlesh 2 SZ: 132 SC: 195 SC: 85 SC: NPC RottenFlesh 2 SZ: 133 SC: 191 SC: 89 SC: NPC RottenFlesh 2 SZ: 134 SC: 197 SC: 87 SC: NPC SkeletonBow 2 SZ: 135 SC: 194 SC: 89 SC: NPC SkeletonBow 2 SZ: 136 SC: 198 SC: 91 SC: NPC SkeletonBow 2 SZ: 137 SC: 203 SC: 96 SC: NPC SkeletonBow 2 SZ: 138 SC: 209 SC: 103 SC: NPC SkeletonBow 2 SZ: 139 SC: 206 SC: 105 SC: NPC SkeletonBow 2 SZ: 140 SC: 203 SC: 99 SC: NPC SkeletonBow 2 SZ: 141 SC: 212 SC: 102 SC: NPC Zombie 2 SZ: 142 SC: 206 SC: 103 SC: NPC Zombie 2 SZ: 143 SC: 203 SC: 105 SC: NPC Zombie 2 SZ: 144 SC: 193 SC: 93 SC: NPC Zombie 2 SZ: 145 SC: 189 SC: 83 SC: NPC Zombie 2 SZ: 146 SC: 268 SC: 20 SC: NPC SkeletonBow 2 SZ: 147 SC: 270 SC: 24 SC: NPC SkeletonBow 2 SZ: 148 SC: 271 SC: 26 SC: NPC SkeletonBow 2 SZ: 149 SC: 276 SC: 29 SC: NPC SkeletonBow 2 SZ: 150 SC: 272 SC: 16 SC: NPC RottenFlesh 2 SZ: 151 SC: 274 SC: 19 SC: NPC RottenFlesh 2 SZ: 152 SC: 276 SC: 22 SC: NPC RottenFlesh 2 SZ: 153 SC: 265 SC: 24 SC: NPC RottenFlesh 2 SZ: 154 SC: 268 SC: 30 SC: NPC RottenFlesh 2 SZ: 155 SC: 271 SC: 23 SC: NPC ReturnedVillain 2 SZ: 156 SC: 277 SC: 31 SC: NPC ReturnedVillain 2 SZ: 157 SC: 254 SC: 52 SC: NPC SkeletonBow 2 SZ: 158 SC: 260 SC: 63 SC: NPC SkeletonBow 2 SZ: 159 SC: 278 SC: 64 SC: NPC SkeletonBow 2 SZ: 160 SC: 293 SC: 49 SC: NPC SkeletonBow 2 SZ: 161 SC: 258 SC: 32 SC: NPC SkeletonBow 2 SZ: 162 SC: 256 SC: 19 SC: NPC Zombie 2 SZ: 163 SC: 250 SC: 22 SC: NPC Zombie 2 SZ: 164 SC: 265 SC: 27 SC: NPC Zombie 2 SZ: 165 SC: 262 SC: 39 SC: NPC Zombie 2 SZ: 166 SC: 261 SC: 53 SC: NPC Zombie 2 SZ: 167 SC: 256 SC: 60 SC: NPC Zombie 2 SZ: 168 SC: 272 SC: 62 SC: NPC Zombie 2 SZ: 169 SC: 266 SC: 60 SC: NPC Zombie 2 SZ: 170 SC: 278 SC: 65 SC: NPC Zombie 2 SZ: 171 SC: 284 SC: 62 SC: NPC Zombie 2 SZ: 172 SC: 292 SC: 51 SC: NPC Zombie 2 SZ: 173 SC: 290 SC: 43 SC: NPC Zombie 2 SZ: 174 SC: 286 SC: 42 SC: NPC Zombie 2 SZ: 175 SC: 255 SC: 50 SC: NPC Zombie 2 SZ: 176 SC: 201 SC: 36 SC: NPC ArmoredZombie 2 SZ: 177 SC: 205 SC: 42 SC: NPC ArmoredZombie 2 SZ: 178 SC: 290 SC: 58 SC: NPC ArmoredZombie 2';
limitData = '0:0:19:19_20:0:41:16_42:0:58:7_42:8:58:16_59:0:75:9';
if (quesInv[2] < 4) {
area.push(new Array(7450, 425, 40000, 'UPDATEQUEST 2 4'));
area.push(new Array(9450, 2750, 40000, 'UPDATEQUEST 2 4'));
}
if (quesInv[2] < 5) {
area.push(new Array(9250, 350, 40000, 'UPDATEQUEST 2 5'));
}
}
function setMap005() {
terrainData = '2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1';
waterData = '4';
objectData = '180:false::1:176:24:-2:0:0::_120:false::1:181:27:1:0:0::_120:false::1:185:23:1:0:0::_181:false::1:188:24:-2:0:0::_122:false::1:192:27:1:0:0::_183:false::1:184:24:-2:0:0::_122:false::1:188:23:1:0:0::_180:false::1:168:32:-2:0:0::_120:false::1:173:35:1:0:0::_182:false::1:172:32:-2:0:0::_120:false::1:177:31:1:0:0::_181:false::1:196:32:-2:0:0::_122:false::1:200:35:1:0:0::_183:false::1:192:32:-2:0:0::_122:false::1:196:31:1:0:0::_180:false::1:160:40:-2:0:0::_120:false::1:163:45:1:0:0::_120:false::1:165:43:1:0:0::_182:false::1:164:40:-2:0:0::_120:false::1:167:41:1:0:0::_120:false::1:169:39:1:0:0::_181:false::1:204:40:-2:0:0::_122:false::1:208:43:1:0:0::_122:false::1:210:45:1:0:0::_183:false::1:200:40:-2:0:0::_122:false::1:204:39:1:0:0::_122:false::1:206:41:1:0:0::_180:false::1:152:48:-2:0:0::_120:false::1:155:53:1:0:0::_182:false::1:156:48:-2:0:0::_120:false::1:159:49:1:0:0::_120:false::1:161:47:1:0:0::_183:false::1:208:48:-2:0:0::_122:false::1:212:47:1:0:0::_122:false::1:214:49:1:0:0::_180:false::1:312:48:-2:0:0::_120:false::1:315:53:1:0:0::_182:false::1:316:48:-2:0:0::_120:false::1:319:49:1:0:0::_120:false::1:321:47:1:0:0::_181:false::1:324:48:-2:0:0::_122:false::1:328:51:1:0:0::_183:false::1:320:48:-2:0:0::_122:false::1:324:47:1:0:0::_180:false::1:144:56:-2:0:0::_120:false::1:147:61:1:0:0::_182:false::1:148:56:-2:0:0::_120:false::1:151:57:1:0:0::_181:false::1:220:56:-2:0:0::_122:false::1:224:59:1:0:0::_122:false::1:226:61:1:0:0::_183:false::1:216:56:-2:0:0::_122:false::1:220:55:1:0:0::_122:false::1:222:57:1:0:0::_180:false::1:304:56:-2:0:0::_120:false::1:307:61:1:0:0::_182:false::1:308:56:-2:0:0::_120:false::1:311:57:1:0:0::_181:false::1:332:56:-2:0:0::_122:false::1:336:59:1:0:0::_122:false::1:338:61:1:0:0::_183:false::1:328:56:-2:0:0::_122:false::1:332:55:1:0:0::_122:false::1:334:57:1:0:0::_180:false::1:136:64:-2:0:0::_120:false::1:141:67:1:0:0::_182:false::1:140:64:-2:0:0::_120:false::1:145:63:1:0:0::_181:false::1:228:64:-2:0:0::_122:false::1:232:67:1:0:0::_122:false::1:234:69:1:0:0::_183:false::1:224:64:-2:0:0::_122:false::1:228:63:1:0:0::_122:false::1:230:65:1:0:0::_180:false::1:296:64:-2:0:0::_120:false::1:301:67:1:0:0::_182:false::1:300:64:-2:0:0::_181:false::1:340:64:-2:0:0::_122:false::1:344:67:1:0:0::_122:false::1:346:69:1:0:0::_183:false::1:336:64:-2:0:0::_122:false::1:340:63:1:0:0::_122:false::1:342:65:1:0:0::_180:false::1:128:72:-2:0:0::_120:false::1:131:77:1:0:0::_120:false::1:133:75:1:0:0::_182:false::1:132:72:-2:0:0::_120:false::1:135:73:1:0:0::_120:false::1:137:71:1:0:0::_181:false::1:236:72:-2:0:0::_122:false::1:240:75:1:0:0::_122:false::1:242:77:1:0:0::_183:false::1:232:72:-2:0:0::_122:false::1:236:71:1:0:0::_122:false::1:238:73:1:0:0::_180:false::1:288:72:-2:0:0::_120:false::1:291:77:1:0:0::_120:false::1:293:75:1:0:0::_182:false::1:292:72:-2:0:0::_181:false::1:348:72:-2:0:0::_122:false::1:352:75:1:0:0::_122:false::1:354:77:1:0:0::_183:false::1:344:72:-2:0:0::_122:false::1:348:71:1:0:0::_122:false::1:350:73:1:0:0::_180:false::1:120:80:-2:0:0::_120:false::1:123:85:1:0:0::_120:false::1:125:83:1:0:0::_182:false::1:124:80:-2:0:0::_120:false::1:127:81:1:0:0::_120:false::1:129:79:1:0:0::_181:false::1:244:80:-2:0:0::_122:false::1:250:85:1:0:0::_183:false::1:240:80:-2:0:0::_122:false::1:246:81:1:0:0::_180:false::1:280:80:-2:0:0::_120:false::1:283:85:1:0:0::_120:false::1:285:83:1:0:0::_182:false::1:284:80:-2:0:0::_120:false::1:287:81:1:0:0::_120:false::1:289:79:1:0:0::_181:false::1:356:80:-2:0:0::_122:false::1:360:83:1:0:0::_122:false::1:362:85:1:0:0::_183:false::1:352:80:-2:0:0::_122:false::1:356:79:1:0:0::_122:false::1:358:81:1:0:0::_180:false::1:112:88:-2:0:0::_120:false::1:115:93:1:0:0::_120:false::1:117:91:1:0:0::_182:false::1:116:88:-2:0:0::_120:false::1:119:89:1:0:0::_120:false::1:121:87:1:0:0::_181:false::1:252:88:-2:0:0::_122:false::1:258:93:1:0:0::_183:false::1:248:88:-2:0:0::_122:false::1:254:89:1:0:0::_180:false::1:272:88:-2:0:0::_120:false::1:275:93:1:0:0::_120:false::1:277:91:1:0:0::_182:false::1:276:88:-2:0:0::_120:false::1:279:89:1:0:0::_120:false::1:281:87:1:0:0::_181:false::1:364:88:-2:0:0::_122:false::1:370:93:1:0:0::_183:false::1:360:88:-2:0:0::_122:false::1:366:89:1:0:0::_122:false::1:118:97:1:0:0::_185:false::1:116:96:-2:0:0::_122:false::1:120:99:1:0:0::_122:false::1:122:101:1:0:0::_186:false::1:252:96:-2:0:0::_120:false::1:255:97:1:0:0::_184:false::1:248:96:-2:0:0::_120:false::1:251:101:1:0:0::_120:false::1:253:99:1:0:0::_122:false::1:278:97:1:0:0::_185:false::1:276:96:-2:0:0::_122:false::1:280:99:1:0:0::_122:false::1:282:101:1:0:0::_186:false::1:364:96:-2:0:0::_120:false::1:367:97:1:0:0::_184:false::1:360:96:-2:0:0::_120:false::1:363:101:1:0:0::_120:false::1:365:99:1:0:0::_187:false::1:120:104:-2:0:0::_122:false::1:124:103:1:0:0::_122:false::1:126:105:1:0:0::_185:false::1:124:104:-2:0:0::_122:false::1:128:107:1:0:0::_122:false::1:130:109:1:0:0::_186:false::1:244:104:-2:0:0::_120:false::1:247:105:1:0:0::_120:false::1:249:103:1:0:0::_184:false::1:240:104:-2:0:0::_120:false::1:243:109:1:0:0::_120:false::1:245:107:1:0:0::_187:false::1:280:104:-2:0:0::_122:false::1:284:103:1:0:0::_122:false::1:286:105:1:0:0::_185:false::1:284:104:-2:0:0::_122:false::1:288:107:1:0:0::_122:false::1:290:109:1:0:0::_186:false::1:356:104:-2:0:0::_120:false::1:359:105:1:0:0::_120:false::1:361:103:1:0:0::_184:false::1:352:104:-2:0:0::_120:false::1:355:109:1:0:0::_120:false::1:357:107:1:0:0::_187:false::1:128:112:-2:0:0::_122:false::1:132:111:1:0:0::_122:false::1:134:113:1:0:0::_185:false::1:132:112:-2:0:0::_122:false::1:136:115:1:0:0::_122:false::1:138:117:1:0:0::_120:false::1:239:113:1:0:0::_120:false::1:241:111:1:0:0::_184:false::1:232:112:-2:0:0::_120:false::1:235:117:1:0:0::_120:false::1:237:115:1:0:0::_187:false::1:288:112:-2:0:0::_122:false::1:292:111:1:0:0::_185:false::1:292:112:-2:0:0::_122:false::1:296:115:1:0:0::_122:false::1:298:117:1:0:0::_186:false::1:348:112:-2:0:0::_120:false::1:351:113:1:0:0::_120:false::1:353:111:1:0:0::_184:false::1:344:112:-2:0:0::_120:false::1:347:117:1:0:0::_120:false::1:349:115:1:0:0::_187:false::1:136:120:-2:0:0::_122:false::1:140:119:1:0:0::_122:false::1:142:121:1:0:0::_185:false::1:140:120:-2:0:0::_122:false::1:144:123:1:0:0::_122:false::1:146:125:1:0:0::_186:false::1:228:120:-2:0:0::_120:false::1:231:121:1:0:0::_120:false::1:233:119:1:0:0::_120:false::1:227:125:1:0:0::_120:false::1:229:123:1:0:0::_187:false::1:296:120:-2:0:0::_122:false::1:300:119:1:0:0::_122:false::1:302:121:1:0:0::_185:false::1:300:120:-2:0:0::_122:false::1:304:123:1:0:0::_122:false::1:306:125:1:0:0::_186:false::1:340:120:-2:0:0::_120:false::1:343:121:1:0:0::_120:false::1:345:119:1:0:0::_184:false::1:336:120:-2:0:0::_120:false::1:339:125:1:0:0::_120:false::1:341:123:1:0:0::_187:false::1:144:128:-2:0:0::_122:false::1:148:127:1:0:0::_122:false::1:150:129:1:0:0::_185:false::1:148:128:-2:0:0::_122:false::1:152:131:1:0:0::_122:false::1:154:133:1:0:0::_120:false::1:223:129:1:0:0::_120:false::1:225:127:1:0:0::_184:false::1:216:128:-2:0:0::_120:false::1:219:133:1:0:0::_120:false::1:221:131:1:0:0::_187:false::1:304:128:-2:0:0::_122:false::1:308:127:1:0:0::_122:false::1:310:129:1:0:0::_185:false::1:308:128:-2:0:0::_122:false::1:312:131:1:0:0::_122:false::1:314:133:1:0:0::_186:false::1:332:128:-2:0:0::_120:false::1:335:129:1:0:0::_120:false::1:337:127:1:0:0::_120:false::1:331:133:1:0:0::_120:false::1:333:131:1:0:0::_187:false::1:152:136:-2:0:0::_122:false::1:156:135:1:0:0::_122:false::1:158:137:1:0:0::_185:false::1:156:136:-2:0:0::_122:false::1:160:139:1:0:0::_122:false::1:162:141:1:0:0::_186:false::1:212:136:-2:0:0::_120:false::1:215:137:1:0:0::_120:false::1:217:135:1:0:0::_184:false::1:208:136:-2:0:0::_120:false::1:211:141:1:0:0::_120:false::1:213:139:1:0:0::_187:false::1:312:136:-2:0:0::_122:false::1:316:135:1:0:0::_122:false::1:318:137:1:0:0::_185:false::1:316:136:-2:0:0::_122:false::1:320:139:1:0:0::_122:false::1:322:141:1:0:0::_186:false::1:324:136:-2:0:0::_120:false::1:327:137:1:0:0::_120:false::1:329:135:1:0:0::_184:false::1:320:136:-2:0:0::_120:false::1:323:141:1:0:0::_120:false::1:325:139:1:0:0::_187:false::1:160:144:-2:0:0::_122:false::1:164:143:1:0:0::_122:false::1:166:145:1:0:0::_185:false::1:164:144:-2:0:0::_122:false::1:168:147:1:0:0::_122:false::1:170:149:1:0:0::_186:false::1:204:144:-2:0:0::_120:false::1:207:145:1:0:0::_120:false::1:209:143:1:0:0::_184:false::1:200:144:-2:0:0::_120:false::1:203:149:1:0:0::_120:false::1:205:147:1:0:0::_187:false::1:168:152:-2:0:0::_122:false::1:172:151:1:0:0::_122:false::1:174:153:1:0:0::_185:false::1:172:152:-2:0:0::_122:false::1:176:155:1:0:0::_122:false::1:178:157:1:0:0::_186:false::1:196:152:-2:0:0::_120:false::1:199:153:1:0:0::_120:false::1:201:151:1:0:0::_120:false::1:195:157:1:0:0::_120:false::1:197:155:1:0:0::_187:false::1:176:160:-2:0:0::_122:false::1:180:159:1:0:0::_122:false::1:182:161:1:0:0::_185:false::1:180:160:-2:0:0::_122:false::1:184:163:1:0:0::_122:false::1:186:165:1:0:0::_186:false::1:188:160:-2:0:0::_120:false::1:191:161:1:0:0::_120:false::1:193:159:1:0:0::_184:false::1:184:160:-2:0:0::_120:false::1:187:165:1:0:0::_120:false::1:189:163:1:0:0::_76:false::1:8:30:1:0:0::_76:false::1:9:29:1:0:0::_76:false::1:10:28:1:0:0::_76:false::1:11:27:1:0:0::_76:false::1:12:26:1:0:0::_76:false::1:13:25:1:0:0::_76:false::1:14:24:1:0:0::_76:false::1:15:23:1:0:0::_76:false::1:16:22:1:0:0::_76:false::1:17:21:1:0:0::_76:false::1:18:20:1:0:0::_76:false::1:19:19:1:0:0::_76:false::1:20:18:1:0:0::_76:false::1:21:17:1:0:0::_76:false::1:22:16:1:0:0::_76:false::1:23:15:1:0:0::_76:false::1:24:14:1:0:0::_76:false::1:25:13:1:0:0::_76:false::1:26:12:1:0:0::_76:false::1:27:11:1:0:0::_76:false::1:28:10:1:0:0::_76:false::1:29:9:1:0:0::_76:false::1:30:8:1:0:0::_76:false::1:31:7:1:0:0::_76:false::1:32:6:1:0:0::_77:false::1:33:6:1:0:0::_77:false::1:34:7:1:0:0::_77:false::1:35:8:1:0:0::_77:false::1:36:9:1:0:0::_77:false::1:37:10:1:0:0::_77:false::1:38:11:1:0:0::_77:false::1:8:31:1:0:0::_77:false::1:9:32:1:0:0::_77:false::1:10:33:1:0:0::_77:false::1:11:34:1:0:0::_77:false::1:12:35:1:0:0::_77:false::1:13:36:1:0:0::_77:false::1:14:37:1:0:0::_77:false::1:15:38:1:0:0::_77:false::1:16:39:1:0:0::_77:false::1:17:40:1:0:0::_77:false::1:18:41:1:0:0::_77:false::1:19:42:1:0:0::_77:false::1:22:45:1:0:0::_77:false::1:23:46:1:0:0::_77:false::1:24:47:1:0:0::_77:false::1:25:48:1:0:0::_77:false::1:26:49:1:0:0::_77:false::1:27:50:1:0:0::_77:false::1:28:51:1:0:0::_77:false::1:29:52:1:0:0::_77:false::1:30:53:1:0:0::_77:false::1:31:54:1:0:0::_77:false::1:39:12:1:0:0::_77:false::1:40:13:1:0:0::_77:false::1:41:14:1:0:0::_77:false::1:42:15:1:0:0::_77:false::1:43:16:1:0:0::_77:false::1:44:17:1:0:0::_77:false::1:45:18:1:0:0::_77:false::1:46:19:1:0:0::_77:false::1:47:20:1:0:0::_77:false::1:48:21:1:0:0::_77:false::1:49:22:1:0:0::_77:false::1:50:23:1:0:0::_77:false::1:51:24:1:0:0::_77:false::1:52:25:1:0:0::_77:false::1:53:26:1:0:0::_77:false::1:54:27:1:0:0::_76:false::1:33:55:1:0:0::_76:false::1:34:54:1:0:0::_77:false::1:32:55:1:0:0::_76:false::1:35:53:1:0:0::_76:false::1:36:52:1:0:0::_76:false::1:37:51:1:0:0::_76:false::1:38:50:1:0:0::_76:false::1:39:49:1:0:0::_76:false::1:40:48:1:0:0::_76:false::1:41:47:1:0:0::_76:false::1:42:46:1:0:0::_76:false::1:43:45:1:0:0::_76:false::1:44:44:1:0:0::_76:false::1:45:43:1:0:0::_76:false::1:46:42:1:0:0::_76:false::1:47:41:1:0:0::_76:false::1:48:40:1:0:0::_76:false::1:49:39:1:0:0::_76:false::1:50:38:1:0:0::_76:false::1:51:37:1:0:0::_76:false::1:52:36:1:0:0::_76:false::1:53:35:1:0:0::_76:false::1:54:34:1:0:0::_76:false::1:55:33:1:0:0::_76:false::1:56:32:1:0:0::_77:false::1:55:28:1:0:0::_77:false::1:56:29:1:0:0::_77:false::1:57:30:1:0:0::_76:false::1:57:31:1:0:0::_146:false::1,2,3,4,5,6:21:44:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5,5,6.SELECT 5,FREE -2/1,FREE -2/0,LAYER 50 - 5.SELECT 1.PLAY.5,5,4,4,3,3,2,2,1.SELECT 4,NOFREE -2/1,NOFREE -2/0,LAYER 1_147:false::1,2,3,4,5,6:20:43:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5,5,6.SELECT 5,FREE -2/1,FREE -2/0,LAYER -50 - 5.SELECT 1.PLAY.5,5,4,4,3,3,2,2,1.SELECT 4,NOFREE -2/1,NOFREE -2/0,LAYER 1_21:false::1:10:29:1:0:0::_21:false::1:24:8:1:0:0::_22:false::1:35:9:1:0:0::_23:false::1:43:52:1:0:0::_22:false::1:38:59:1:0:0::_22:false::1:54:38:1:0:0::_22:false::1:4:38:1:0:0::_23:false::1:2:23:1:0:0::_23:false::1:12:10:1:0:0::_21:false::1:5:5:1:0:0::_22:false::1:17:15:1:0:0::_22:false::1:15:24:1:0:0::_22:false::1:27:4:1:0:0::_22:false::1:46:5:1:0:0::_23:false::1:42:10:1:0:0::_23:false::1:50:46:1:0:0::_23:false::1:1:46:1:0:0::_21:false::1:6:53:1:0:0::_21:false::1:24:62:1:0:0::_22:false::1:31:51:1:0:0::_46:false::1:30:10:-2:0:0::_46:false::1:32:12:-2:0:0::_46:false::1:34:14:-2:0:0::_46:false::1:28:12:-2:0:0::_46:false::1:30:14:-2:0:0::_46:false::1:32:16:-2:0:0::_46:false::1:26:14:-2:0:0::_46:false::1:28:16:-2:0:0::_46:false::1:30:18:-2:0:0::_46:false::1:24:16:-2:0:0::_46:false::1:26:18:-2:0:0::_46:false::1:28:20:-2:0:0::_46:false::1:22:18:-2:0:0::_46:false::1:24:20:-2:0:0::_46:false::1:20:20:-2:0:0::_46:false::1:22:22:-2:0:0::_46:false::1:26:22:-2:0:0::_46:false::1:24:24:-2:0:0::_46:false::1:46:26:-2:0:0::_46:false::1:48:28:-2:0:0::_46:false::1:50:30:-2:0:0::_46:false::1:48:32:-2:0:0::_46:false::1:46:30:-2:0:0::_46:false::1:44:28:-2:0:0::_46:false::1:42:30:-2:0:0::_46:false::1:44:32:-2:0:0::_46:false::1:46:34:-2:0:0::_46:false::1:40:32:-2:0:0::_46:false::1:42:34:-2:0:0::_46:false::1:44:36:-2:0:0::_46:false::1:38:34:-2:0:0::_46:false::1:40:36:-2:0:0::_46:false::1:42:38:-2:0:0::_46:false::1:36:36:-2:0:0::_46:false::1:38:38:-2:0:0::_46:false::1:40:40:-2:0:0::_70:false::1:33:23:1:0:0::_69:false::1:32:23:1:0:0::_68:false::1:30:26:1:0:0::_72:false::1:34:23:-2:0:0::_71:false::1,2,3,4,5:34:23:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5.SELECT 5,FREE 0/0 - 5.SELECT 1.PLAY.4,4,3,3,2,2,1.SELECT 4,NOFREE 0/0_46:false::1:18:22:-2:0:0::_46:false::1:20:24:-2:0:0::_46:false::1:22:26:-2:0:0::_46:false::1:34:38:-2:0:0::_46:false::1:36:40:-2:0:0::_46:false::1:38:42:-2:0:0::_48:false::1:16:22:1:0:0::_48:false::1:20:22:1:0:0::_48:false::1:20:18:1:0:0::_48:false::1:18:20:1:0:0::_48:false::1:24:22:1:0:0::_48:false::1:24:18:1:0:0::_48:false::1:26:20:1:0:0::_48:false::1:28:18:1:0:0::_48:false::1:30:16:1:0:0::_48:false::1:32:14:1:0:0::_48:false::1:28:14:1:0:0::_48:false::1:26:16:1:0:0::_48:false::1:28:10:1:0:0::_48:false::1:26:12:1:0:0::_48:false::1:42:32:1:0:0::_48:false::1:40:34:1:0:0::_48:false::1:38:36:1:0:0::_48:false::1:42:28:1:0:0::_48:false::1:40:30:1:0:0::_48:false::1:44:26:1:0:0::_48:false::1:36:34:1:0:0::_48:false::1:38:40:1:0:0::_48:false::1:42:36:1:0:0::_48:false::1:46:32:1:0:0::_48:false::1:48:30:1:0:0::_48:false::1:34:36:1:0:0::_48:false::1:36:42:1:0:0::_48:false::1:36:38:1:0:0::_47:false::1:46:28:1:0:0::_47:false::1:44:30:1:0:0::_47:false::1:44:34:1:0:0::_47:false::1:38:32:1:0:0::_47:false::1:40:38:1:0:0::_47:false::1:34:40:1:0:0::_47:false::1:32:38:1:0:0::_47:false::1:20:26:1:0:0::_47:false::1:18:24:1:0:0::_47:false::1:22:24:1:0:0::_47:false::1:22:20:1:0:0::_47:false::1:22:16:1:0:0::_47:false::1:24:14:1:0:0::_47:false::1:30:12:1:0:0::_20:false::1:16:26:1:0:0::_20:false::1:39:44:1:0:0::_20:false::1:32:65:1:0:0::_21:false::1:44:24:1:0:0::_21:false::1:55:9:1:0:0::_21:false::1:55:57:1:0:0::_20:false::1:52:68:1:0:0::_20:false::1:3:64:1:0:0::_23:false::1:18:69:1:0:0::_23:false::1:9:43:1:0:0::_22:false::1:14:71:1:0:0::_22:false::1:38:72:1:0:0::_22:false::1:52:74:1:0:0::_125:false::1:113:94:1:0:0::_122:false::1:117:96:1:0:0::_124:false::1:258:94:1:0:0::_120:false::1:256:96:1:0:0::_125:false::1:273:94:1:0:0::_122:false::1:277:96:1:0:0::_124:false::1:370:94:1:0:0::_120:false::1:368:96:1:0:0::_143:false::1:224:82:-2:0:0::_143:false::1:222:80:-2:0:0::_161:false::1:226:88:-2:0:0::_161:false::1:224:90:-2:0:0::_161:false::1:222:92:-2:0:0::_143:false::1:232:110:-2:0:0::_143:false::1:234:112:-2:0:0::_163:false::1:222:92:-2:0:0::_162:false::1:222:92:-2:0:0::_162:false::1:232:82:-2:0:0::_143:false::1:226:84:-2:0:0::_143:false::1:228:86:-2:0:0::_161:false::1:230:84:-2:0:0::_161:false::1:228:86:-2:0:0::_162:false::1:232:82:-2:0:0::_143:false::1:220:98:-2:0:0::_143:false::1:222:100:-2:0:0::_143:false::1:220:78:-2:0:0::_143:false::1:218:76:-2:0:0::_143:false::1:216:74:-2:0:0::_143:false::1:214:72:-2:0:0::_143:false::1:212:70:-2:0:0::_143:false::1:202:60:-2:0:0::_143:false::1:200:58:-2:0:0::_143:false::1:198:56:-2:0:0::_143:false::1:196:54:-2:0:0::_143:false::1:194:52:-2:0:0::_143:false::1:192:50:-2:0:0::_142:false::1:195:50:-2:0:0::_142:false::1:193:52:-2:0:0::_142:false::1:191:54:-2:0:0::_142:false::1:189:56:-2:0:0::_142:false::1:187:58:-2:0:0::_143:false::1:180:58:-2:0:0::_143:false::1:178:56:-2:0:0::_143:false::1:168:46:-2:0:0::_143:false::1:166:44:-2:0:0::_145:false::1:178:53:-2:0:0::_142:false::1:175:46:-2:0:0::_143:false::1:172:46:-2:0:0::_143:false::1:174:48:-2:0:0::_145:false::1:232:107:-2:0:0::_143:false::1:228:102:-2:0:0::_143:false::1:226:100:-2:0:0::_142:false::1:229:100:-2:0:0::_128:false::1:215:51:1:0:0::_129:false::1:217:53:1:0:0::_181:false::1:212:45:-2:0:0::_142:false::1:169:44:-2:0:0::_142:false::1:167:46:-2:0:0::_142:false::1:165:48:-2:0:0::_142:false::1:163:50:-2:0:0::_142:false::1:161:52:-2:0:0::_142:false::1:159:54:-2:0:0::_120:false::1:157:51:1:0:0::_142:false::1:157:56:-2:0:0::_160:false::1:154:54:-2:0:0::_160:false::1:156:56:-2:0:0::_160:false::1:158:58:-2:0:0::_160:false::1:160:60:-2:0:0::_160:false::1:162:62:-2:0:0::_160:false::1:164:64:-2:0:0::_160:false::1:166:66:-2:0:0::_160:false::1:168:68:-2:0:0::_160:false::1:170:70:-2:0:0::_160:false::1:172:72:-2:0:0::_160:false::1:174:74:-2:0:0::_160:false::1:176:76:-2:0:0::_160:false::1:178:78:-2:0:0::_160:false::1:204:104:-2:0:0::_160:false::1:206:106:-2:0:0::_160:false::1:208:108:-2:0:0::_160:false::1:210:110:-2:0:0::_160:false::1:212:112:-2:0:0::_160:false::1:214:114:-2:0:0::_160:false::1:216:116:-2:0:0::_160:false::1:218:118:-2:0:0::_160:false::1:220:120:-2:0:0::_160:false::1:222:122:-2:0:0::_160:false::1:224:124:-2:0:0::_143:false::1:210:68:-2:0:0::_145:false::1:210:65:-2:0:0::_143:false::1:206:60:-2:0:0::_142:false::1:209:60:-2:0:0::_142:false::1:205:100:-2:0:0::_142:false::1:203:102:-2:0:0::_160:false::1:200:100:-2:0:0::_160:false::1:202:102:-2:0:0::_161:false::1:180:78:-2:0:0::_161:false::1:182:76:-2:0:0::_161:false::1:184:74:-2:0:0::_161:false::1:186:72:-2:0:0::_161:false::1:188:70:-2:0:0::_160:false::1:190:70:-2:0:0::_160:false::1:192:72:-2:0:0::_160:false::1:194:74:-2:0:0::_160:false::1:196:76:-2:0:0::_160:false::1:198:78:-2:0:0::_160:false::1:200:80:-2:0:0::_160:false::1:202:82:-2:0:0::_160:false::1:206:86:-2:0:0::_142:false::1:209:92:-2:0:0::_162:false::1:208:86:-2:0:0::_163:false::1:208:86:-2:0:0::_186:false::1:236:112:-2:0:0::_186:false::1:220:128:-2:0:0::_186:false::1:224:124:-2:0:0::_162:false::1:200:98:-2:0:0::_122:false::1:148:63:1:0:0::_122:false::1:150:65:1:0:0::_122:false::1:156:71:1:0:0::_122:false::1:158:73:1:0:0::_122:false::1:160:75:1:0:0::_122:false::1:162:77:1:0:0::_122:false::1:164:79:1:0:0::_122:false::1:170:85:1:0:0::_122:false::1:172:87:1:0:0::_122:false::1:174:89:1:0:0::_122:false::1:192:107:1:0:0::_122:false::1:194:109:1:0:0::_122:false::1:200:115:1:0:0::_122:false::1:202:117:1:0:0::_122:false::1:204:119:1:0:0::_122:false::1:206:121:1:0:0::_122:false::1:208:123:1:0:0::_122:false::1:214:129:1:0:0::_122:false::1:216:131:1:0:0::_122:false::1:218:133:1:0:0::_122:false::1:137:74:1:0:0::_122:false::1:139:76:1:0:0::_122:false::1:141:78:1:0:0::_122:false::1:145:82:1:0:0::_122:false::1:147:84:1:0:0::_122:false::1:149:86:1:0:0::_122:false::1:151:88:1:0:0::_122:false::1:153:90:1:0:0::_122:false::1:155:92:1:0:0::_122:false::1:159:96:1:0:0::_122:false::1:161:98:1:0:0::_122:false::1:163:100:1:0:0::_122:false::1:181:118:1:0:0::_122:false::1:183:120:1:0:0::_122:false::1:185:122:1:0:0::_122:false::1:187:124:1:0:0::_122:false::1:189:126:1:0:0::_122:false::1:191:128:1:0:0::_122:false::1:193:130:1:0:0::_122:false::1:195:132:1:0:0::_122:false::1:197:134:1:0:0::_122:false::1:199:136:1:0:0::_122:false::1:201:138:1:0:0::_122:false::1:203:140:1:0:0::_122:false::1:205:142:1:0:0::_122:false::1:207:144:1:0:0::_120:false::1:194:130:1:0:0::_120:false::1:196:128:1:0:0::_120:false::1:202:122:1:0:0::_120:false::1:203:121:1:0:0::_120:false::1:180:116:1:0:0::_120:false::1:182:114:1:0:0::_120:false::1:188:108:1:0:0::_120:false::1:189:107:1:0:0::_120:false::1:150:86:1:0:0::_120:false::1:152:84:1:0:0::_120:false::1:158:78:1:0:0::_120:false::1:159:77:1:0:0::_120:false::1:164:100:1:0:0::_122:false::1:157:94:1:0:0::_122:false::1:143:80:1:0:0::_120:false::1:166:98:1:0:0::_120:false::1:172:92:1:0:0::_120:false::1:173:91:1:0:0::_120:false::1:178:118:1:0:0::_120:false::1:172:124:1:0:0::_120:false::1:162:102:1:0:0::_120:false::1:156:108:1:0:0::_140:false::1:154:70:1:0:0::_141:false::1:146:68:1:0:0::_141:false::1:160:82:1:0:0::_140:false::1:168:84:1:0:0::_141:false::1:190:112:1:0:0::_140:false::1:198:114:1:0:0::_140:false::1:212:128:1:0:0::_141:false::1:204:126:1:0:0::_136:false::1:174:90:1:0:0::_138:false::1:195:128:1:0:0::_139:false::1:198:125:1:0:0::_139:false::1:184:111:1:0:0::_138:false::1:181:114:1:0:0::_138:false::1:165:98:1:0:0::_139:false::1:168:95:1:0:0::_139:false::1:154:81:1:0:0::_138:false::1:151:84:1:0:0::_122:false::1:155:108:1:0:0::_122:false::1:153:106:1:0:0::_122:false::1:151:104:1:0:0::_122:false::1:149:102:1:0:0::_122:false::1:147:100:1:0:0::_122:false::1:145:98:1:0:0::_122:false::1:143:96:1:0:0::_122:false::1:141:94:1:0:0::_122:false::1:139:92:1:0:0::_122:false::1:137:90:1:0:0::_122:false::1:135:88:1:0:0::_122:false::1:133:86:1:0:0::_122:false::1:131:84:1:0:0::_122:false::1:129:82:1:0:0::_122:false::1:173:126:1:0:0::_122:false::1:175:128:1:0:0::_122:false::1:177:130:1:0:0::_122:false::1:179:132:1:0:0::_122:false::1:181:134:1:0:0::_122:false::1:183:136:1:0:0::_122:false::1:185:138:1:0:0::_122:false::1:187:140:1:0:0::_122:false::1:189:142:1:0:0::_122:false::1:191:144:1:0:0::_122:false::1:193:146:1:0:0::_122:false::1:195:148:1:0:0::_122:false::1:197:150:1:0:0::_122:false::1:199:152:1:0:0::_139:false::1:158:105:1:0:0::_138:false::1:155:108:1:0:0::_138:false::1:171:124:1:0:0::_139:false::1:174:121:1:0:0::_143:false::1:151:115:-2:0:0::_143:false::1:153:117:-2:0:0::_145:false::1:157:122:-2:0:0::_143:false::1:157:125:-2:0:0::_143:false::1:159:127:-2:0:0::_143:false::1:161:129:-2:0:0::_143:false::1:123:87:-2:0:0::_143:false::1:125:89:-2:0:0::_143:false::1:127:91:-2:0:0::_143:false::1:129:93:-2:0:0::_143:false::1:131:95:-2:0:0::_143:false::1:133:97:-2:0:0::_143:false::1:135:99:-2:0:0::_143:false::1:137:101:-2:0:0::_143:false::1:139:103:-2:0:0::_143:false::1:141:105:-2:0:0::_143:false::1:143:107:-2:0:0::_143:false::1:145:109:-2:0:0::_143:false::1:147:111:-2:0:0::_143:false::1:149:113:-2:0:0::_143:false::1:167:131:-2:0:0::_143:false::1:163:131:-2:0:0::_142:false::1:170:131:-2:0:0::_137:false::1:168:125:1:0:0::_143:false::1:169:133:-2:0:0::_143:false::1:171:135:-2:0:0::_143:false::1:173:137:-2:0:0::_143:false::1:175:139:-2:0:0::_143:false::1:177:141:-2:0:0::_143:false::1:179:143:-2:0:0::_143:false::1:181:145:-2:0:0::_143:false::1:183:147:-2:0:0::_143:false::1:185:149:-2:0:0::_143:false::1:187:151:-2:0:0::_143:false::1:189:153:-2:0:0::_143:false::1:191:155:-2:0:0::_184:false::1:192:152:-2:0:0::_142:false::1:126:87:-2:0:0::_142:false::1:124:89:-2:0:0::_142:false::1:122:91:-2:0:0::_142:false::1:120:93:-2:0:0::_142:false::1:118:95:-2:0:0::_142:false::1:116:97:-2:0:0::_187:false::1:112:96:-2:0:0::_164:false::1:133:70:2:0:0::_164:false::1:125:78:2:0:0::_164:false::1:144:59:2:0:0::_165:false::1:216:131:2:0:0::_165:false::1:202:117:2:0:0::_165:false::1:205:142:2:0:0::_164:false::1:191:128:2:0:0::_164:false::1:177:114:2:0:0::_164:false::1:169:122:2:0:0::_165:false::1:197:150:2:0:0::_165:false::1:161:98:2:0:0::_165:false::1:172:87:2:0:0::_164:false::1:147:84:2:0:0::_165:false::1:158:73:2:0:0::_130:false::1:124:99:-2:0:0::_130:false::1:183:157:-2:0:0::_33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:132:91:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:188:147:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:178:137:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:142:101:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:152:111:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:166:129:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:127:105:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:136:114:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:146:124:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:180:158:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:170:148:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:158:136:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:189:156:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:120:89:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:130:74:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:200:145:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:139:65:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:210:135:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:173:116:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:183:106:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:197:120:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:158:102:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:168:92:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:154:78:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:142:80:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:152:90:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:186:124:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:196:134:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:207:121:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:193:107:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:163:77:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:149:63:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:207:90:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:231:100:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:177:46:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:229:82:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:197:50:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:219:72:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:209:58:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:215:51:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:193:29:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:247:83:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:237:73:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:227:63:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:203:39:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:157:52:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:165:44:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:225:120:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:233:112:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._122:false::1:292:79:1:0:0::_122:false::1:314:69:1:0:0::_122:false::1:316:71:1:0:0::_122:false::1:298:85:1:0:0::_122:false::1:300:87:1:0:0::_122:false::1:302:89:1:0:0::_122:false::1:308:95:1:0:0::_122:false::1:310:97:1:0:0::_122:false::1:320:107:1:0:0::_122:false::1:328:115:1:0:0::_122:false::1:330:117:1:0:0::_122:false::1:338:125:1:0:0::_122:false::1:318:73:1:0:0::_122:false::1:320:75:1:0:0::_122:false::1:322:77:1:0:0::_122:false::1:324:79:1:0:0::_122:false::1:326:81:1:0:0::_122:false::1:336:91:1:0:0::_122:false::1:338:93:1:0:0::_122:false::1:340:95:1:0:0::_122:false::1:342:97:1:0:0::_122:false::1:344:99:1:0:0::_122:false::1:346:101:1:0:0::_122:false::1:354:109:1:0:0::_120:false::1:329:115:1:0:0::_120:false::1:331:113:1:0:0::_120:false::1:333:111:1:0:0::_120:false::1:339:105:1:0:0::_120:false::1:319:105:1:0:0::_120:false::1:301:87:1:0:0::_120:false::1:303:85:1:0:0::_120:false::1:305:83:1:0:0::_120:false::1:311:77:1:0:0::_120:false::1:313:75:1:0:0::_120:false::1:315:73:1:0:0::_120:false::1:311:97:1:0:0::_120:false::1:313:95:1:0:0::_120:false::1:315:93:1:0:0::_120:false::1:317:91:1:0:0::_120:false::1:319:89:1:0:0::_120:false::1:321:87:1:0:0::_120:false::1:323:85:1:0:0::_120:false::1:321:103:1:0:0::_120:false::1:323:101:1:0:0::_120:false::1:325:99:1:0:0::_120:false::1:327:97:1:0:0::_120:false::1:329:95:1:0:0::_120:false::1:331:93:1:0:0::_120:false::1:333:91:1:0:0::_120:false::1:317:71:1:0:0::_120:false::1:319:69:1:0:0::_120:false::1:321:67:1:0:0::_120:false::1:323:65:1:0:0::_120:false::1:325:63:1:0:0::_120:false::1:327:61:1:0:0::_120:false::1:329:59:1:0:0::_120:false::1:331:57:1:0:0::_120:false::1:345:99:1:0:0::_120:false::1:349:95:1:0:0::_120:false::1:353:91:1:0:0::_120:false::1:357:87:1:0:0::_120:false::1:359:85:1:0:0::_125:false::1:317:106:1:0:0::_142:false::1:285:88:-2:0:0::_142:false::1:283:90:-2:0:0::_142:false::1:281:92:-2:0:0::_142:false::1:279:94:-2:0:0::_142:false::1:277:96:-2:0:0::_142:false::1:309:104:-2:0:0::_142:false::1:311:102:-2:0:0::_142:false::1:313:100:-2:0:0::_161:false::1:312:108:-2:0:0::_161:false::1:314:106:-2:0:0::_143:false::1:310:114:-2:0:0::_143:false::1:312:116:-2:0:0::_142:false::1:308:105:-2:0:0::_143:false::1:301:105:-2:0:0::_143:false::1:299:103:-2:0:0::_143:false::1:297:101:-2:0:0::_143:false::1:287:91:-2:0:0::_143:false::1:285:89:-2:0:0::_143:false::1:283:87:-2:0:0::_142:false::1:286:87:-2:0:0::_143:false::1:314:118:-2:0:0::_143:false::1:324:128:-2:0:0::_143:false::1:326:130:-2:0:0::_143:false::1:328:132:-2:0:0::_184:false::1:328:128:-2:0:0::_163:false::1:312:108:-2:0:0::_162:false::1:312:108:-2:0:0::_145:false::1:291:96:-2:0:0::_143:false::1:291:99:-2:0:0::_143:false::1:293:101:-2:0:0::_142:false::1:300:101:-2:0:0::_142:false::1:315:98:-2:0:0::_142:false::1:317:96:-2:0:0::_142:false::1:319:94:-2:0:0::_142:false::1:321:92:-2:0:0::_142:false::1:323:90:-2:0:0::_142:false::1:327:128:-2:0:0::_143:false::1:320:128:-2:0:0::_145:false::1:318:123:-2:0:0::_143:false::1:318:126:-2:0:0::_141:false::1:288:82:1:0:0::_141:false::1:298:92:1:0:0::_140:false::1:306:94:1:0:0::_140:false::1:296:84:1:0:0::_140:false::1:312:68:1:0:0::_141:false::1:304:66:1:0:0::_141:false::1:326:120:1:0:0::_141:false::1:316:110:1:0:0::_141:false::1:342:104:1:0:0::_140:false::1:350:106:1:0:0::_140:false::1:334:122:1:0:0::_140:false::1:324:112:1:0:0::_122:false::1:326:113:1:0:0::_122:false::1:336:123:1:0:0::_187:false::1:272:96:-2:0:0::_164:false::1:314:69:2:0:0::_164:false::1:288:75:2:0:0::_164:false::1:304:59:2:0:0::_164:false::1:298:85:2:0:0::_165:false::1:314:69:2:0:0::_165:false::1:324:79:2:0:0::_164:false::1:316:103:2:0:0::_164:false::1:326:113:2:0:0::_164:false::1:342:97:2:0:0::_165:false::1:342:97:2:0:0::_165:false::1:352:107:2:0:0::_165:false::1:336:123:2:0:0::_165:false::1:330:53:2:0:0::_165:false::1:358:81:2:0:0::_142:false::1:331:62:-2:0:0::_142:false::1:329:64:-2:0:0::_142:false::1:327:66:-2:0:0::_142:false::1:325:68:-2:0:0::_142:false::1:323:70:-2:0:0::_142:false::1:321:72:-2:0:0::_142:false::1:320:73:-2:0:0::_143:false::1:328:62:-2:0:0::_143:false::1:330:64:-2:0:0::_143:false::1:332:66:-2:0:0::_143:false::1:334:68:-2:0:0::_143:false::1:336:70:-2:0:0::_143:false::1:338:72:-2:0:0::_143:false::1:340:74:-2:0:0::_143:false::1:342:76:-2:0:0::_143:false::1:344:78:-2:0:0::_143:false::1:346:80:-2:0:0::_143:false::1:348:82:-2:0:0::_143:false::1:350:84:-2:0:0::_143:false::1:351:85:-2:0:0::_139:false::1:307:80:1:0:0::_138:false::1:304:83:1:0:0::_138:false::1:332:111:1:0:0::_139:false::1:335:108:1:0:0::_120:false::1:297:71:1:0:0::_120:false::1:341:103:1:0:0::_120:false::1:343:101:1:0:0::_128:false::1:351:107:1:0:0::_128:false::1:307:63:1:0:0::_120:false::1:305:63:1:0:0::_32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:296:68:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:312:52:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:281:88:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:324:133:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:343:114:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:359:98:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:334:103:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:307:77:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:302:101:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:315:114:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._122:false::1:294:113:1:0:0::_35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:283:101:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:292:110:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:304:122:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:312:130:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:311:98:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:319:90:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:327:62:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:320:69:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:352:85:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:345:92:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:337:66:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:348:77:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:332:86:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:323:77:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._136:false::1:326:82:1:0:0::_120:false::1:325:83:1:0:0::_124:false::1:326:86:-2:0:0::_142:false::1:325:88:-2:0:0::_142:false::1:325.75:87.25:-2:0:0::_116:false::1:318:51:1:0:0::_116:false::1:320:53:1:0:0::_116:false::1:322:55:1:0:0::_116:false::1:356:89:1:0:0::_116:false::1:358:91:1:0:0::_116:false::1:360:93:1:0:0::_116:false::1:328:66:1:0:0::_116:false::1:332:70:1:0:0::_116:false::1:336:74:1:0:0::_116:false::1:340:78:1:0:0::_116:false::1:344:82:1:0:0::_116:false::1:348:86:1:0:0::_132:false::1:309:59:1:0:0::_132:false::1:313:55:1:0:0::_132:false::1:317:51:1:0:0::_120:false::1:347:97:1:0:0::_120:false::1:351:93:1:0:0::_120:false::1:355:89:1:0:0::_133:false::1:368:91:1:0:0::_133:false::1:364:87:1:0:0::_133:false::1:326:49:1:0:0::_133:false::1:330:53:1:0:0::_132:false::1:303:65:1:0:0::_132:false::1:299:69:1:0:0::_132:false::1:295:73:1:0:0::_117:false::1,2,3,4,5:323:55:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:321:53:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:359:91:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:333:70:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:337:74:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:349:86:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:329:66:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:341:78:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:345:82:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:357:89:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:361:93:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:319:51:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_132:false::1:175:33:1:0:0::_132:false::1:171:37:1:0:0::_132:false::1:179:29:1:0:0::_132:false::1:183:25:1:0:0::_132:false::1:153:55:1:0:0::_132:false::1:149:59:1:0:0::_132:false::1:143:65:1:0:0::_132:false::1:139:69:1:0:0::_133:false::1:190:25:1:0:0::_133:false::1:194:29:1:0:0::_133:false::1:198:33:1:0:0::_133:false::1:202:37:1:0:0::_133:false::1:256:91:1:0:0::_133:false::1:252:87:1:0:0::_133:false::1:248:83:1:0:0::_133:false::1:244:79:1:0:0::_116:false::1:131:78:1:0:0::_116:false::1:133:80:1:0:0::_116:false::1:135:82:1:0:0::_116:false::1:137:84:1:0:0::_116:false::1:139:86:1:0:0::_116:false::1:197:144:1:0:0::_116:false::1:195:142:1:0:0::_116:false::1:193:140:1:0:0::_116:false::1:191:138:1:0:0::_116:false::1:189:136:1:0:0::_116:false::1:166:48:1:0:0::_116:false::1:162:52:1:0:0::_116:false::1:158:56:1:0:0::_116:false::1:230:112:1:0:0::_116:false::1:226:116:1:0:0::_116:false::1:222:120:1:0:0::_116:false::1:192:54:1:0:0::_116:false::1:195:57:1:0:0::_116:false::1:198:60:1:0:0::_117:false::1,2,3,4,5:199:60:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:163:52:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:231:112:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:136:82:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:190:136:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:196:142:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:198:144:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:194:140:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:192:138:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:132:78:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:134:80:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:138:84:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:140:86:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:159:56:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:167:48:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:196:57:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:193:54:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:227:116:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:223:120:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_160:false::1:204:84:-2:0:0::_144:false::1:203:97:-2:0:0::';
zoneData = '0 SC: 10 SC: 58 SC: START SZ: 1 SC: 213 SC: 53 SC: TELEPORT 34/23 SZ: 1 SC: 34 SC: 23 SC: TELEPORT 213/53 SZ: 2 SC: 305 SC: 65 SC: TELEPORT 124/99 SZ: 2 SC: 124 SC: 99 SC: TELEPORT 305/65 SZ: 3 SC: 348 SC: 109 SC: TELEPORT 183/157 SZ: 3 SC: 183 SC: 157 SC: TELEPORT 348/109 SZ: 4 SC: 185 SC: 37 SC: NPC Tarantula 2 SZ: 5 SC: 144 SC: 73 SC: NPC Tarantula 2 SZ: 6 SC: 178 SC: 149 SC: NPC Tarantula 2 SZ: 7 SC: 182 SC: 147 SC: NPC GiantSpider 2 SZ: 8 SC: 177 SC: 153 SC: NPC GiantSpider 2 SZ: 9 SC: 172 SC: 144 SC: NPC GiantSpider 2 SZ: 10 SC: 171 SC: 137 SC: NPC GiantSpider 2 SZ: 11 SC: 167 SC: 140 SC: NPC GiantSpider 2 SZ: 12 SC: 163 SC: 133 SC: NPC GiantSpider 2 SZ: 13 SC: 158 SC: 133 SC: NPC GiantSpider 2 SZ: 14 SC: 155 SC: 126 SC: NPC GiantSpider 2 SZ: 15 SC: 143 SC: 67 SC: NPC GiantSpider 2 SZ: 16 SC: 140 SC: 73 SC: NPC GiantSpider 2 SZ: 17 SC: 147 SC: 79 SC: NPC GiantSpider 2 SZ: 18 SC: 158 SC: 83 SC: NPC GiantSpider 2 SZ: 19 SC: 156 SC: 86 SC: NPC GiantSpider 2 SZ: 20 SC: 160 SC: 90 SC: NPC GiantSpider 2 SZ: 21 SC: 172 SC: 39 SC: NPC GiantSpider 2 SZ: 22 SC: 183 SC: 27 SC: NPC GiantSpider 2 SZ: 23 SC: 179 SC: 41 SC: NPC GiantSpider 2 SZ: 24 SC: 184 SC: 44 SC: NPC GiantSpider 2 SZ: 25 SC: 187 SC: 32 SC: NPC GiantSpider 2 SZ: 26 SC: 187 SC: 38 SC: NPC GiantSpider 2 SZ: 27 SC: 188 SC: 44 SC: NPC GiantSpider 2 SZ: 28 SC: 196 SC: 43 SC: NPC GiantSpider 2 SZ: 29 SC: 203 SC: 46 SC: NPC GiantSpider 2 SZ: 30 SC: 202 SC: 51 SC: NPC GiantSpider 2 SZ: 31 SC: 155 SC: 60 SC: NPC SkeletonBow 2 SZ: 32 SC: 160 SC: 68 SC: NPC SkeletonBow 2 SZ: 33 SC: 173 SC: 78 SC: NPC SkeletonBow 2 SZ: 34 SC: 170 SC: 53 SC: NPC SkeletonBow 2 SZ: 35 SC: 170 SC: 65 SC: NPC SkeletonBow 2 SZ: 36 SC: 191 SC: 66 SC: NPC SkeletonBow 2 SZ: 37 SC: 211 SC: 74 SC: NPC SkeletonBow 2 SZ: 38 SC: 211 SC: 94 SC: NPC SkeletonBow 2 SZ: 39 SC: 216 SC: 112 SC: NPC SkeletonBow 2 SZ: 40 SC: 227 SC: 109 SC: NPC SkeletonBow 2 SZ: 41 SC: 230 SC: 91 SC: NPC SkeletonBow 2 SZ: 42 SC: 239 SC: 100 SC: NPC SkeletonBow 2 SZ: 43 SC: 245 SC: 95 SC: NPC SkeletonBow 2 SZ: 44 SC: 229 SC: 74 SC: NPC SkeletonBow 2 SZ: 45 SC: 201 SC: 127 SC: NPC SkeletonBow 2 SZ: 46 SC: 204 SC: 137 SC: NPC SkeletonBow 2 SZ: 47 SC: 185 SC: 115 SC: NPC SkeletonBow 2 SZ: 48 SC: 191 SC: 122 SC: NPC SkeletonBow 2 SZ: 49 SC: 126 SC: 103 SC: NPC SkeletonBow 2 SZ: 50 SC: 125 SC: 91 SC: NPC SkeletonBow 2 SZ: 51 SC: 139 SC: 107 SC: NPC SkeletonBow 2 SZ: 52 SC: 18 SC: 28 SC: NPC SkeletonBow 2 SZ: 53 SC: 282 SC: 95 SC: NPC SkeletonBow 2 SZ: 54 SC: 297 SC: 110 SC: NPC SkeletonBow 2 SZ: 55 SC: 321 SC: 133 SC: NPC SkeletonBow 2 SZ: 56 SC: 316 SC: 131 SC: NPC SkeletonBow 2 SZ: 57 SC: 318 SC: 56 SC: NPC Zombie 2 SZ: 58 SC: 313 SC: 57 SC: NPC Zombie 2 SZ: 59 SC: 312 SC: 63 SC: NPC Zombie 2 SZ: 60 SC: 318 SC: 60 SC: NPC Zombie 2 SZ: 61 SC: 309 SC: 81 SC: NPC Zombie 2 SZ: 62 SC: 304 SC: 86 SC: NPC Zombie 2 SZ: 63 SC: 307 SC: 89 SC: NPC Zombie 2 SZ: 64 SC: 309 SC: 83 SC: NPC Zombie 2 SZ: 65 SC: 285 SC: 94 SC: NPC Zombie 2 SZ: 66 SC: 286 SC: 102 SC: NPC Zombie 2 SZ: 67 SC: 289 SC: 100 SC: NPC Zombie 2 SZ: 68 SC: 313 SC: 124 SC: NPC Zombie 2 SZ: 69 SC: 319 SC: 133 SC: NPC Zombie 2 SZ: 70 SC: 318 SC: 112 SC: NPC Zombie 2 SZ: 71 SC: 328 SC: 101 SC: NPC Zombie 2 SZ: 72 SC: 325 SC: 104 SC: NPC Zombie 2 SZ: 73 SC: 336 SC: 99 SC: NPC Zombie 2 SZ: 74 SC: 337 SC: 112 SC: NPC Zombie 2 SZ: 75 SC: 334 SC: 115 SC: NPC Zombie 2 SZ: 76 SC: 354 SC: 91 SC: NPC Zombie 2 SZ: 77 SC: 351 SC: 94 SC: NPC Zombie 2 SZ: 78 SC: 351 SC: 97 SC: NPC Zombie 2 SZ: 79 SC: 355 SC: 100 SC: NPC Zombie 2 SZ: 80 SC: 133 SC: 100 SC: NPC Zombie 2 SZ: 81 SC: 132 SC: 106 SC: NPC Zombie 2 SZ: 82 SC: 136 SC: 106 SC: NPC Zombie 2 SZ: 83 SC: 138 SC: 113 SC: NPC Zombie 2 SZ: 84 SC: 140 SC: 110 SC: NPC Zombie 2 SZ: 85 SC: 141 SC: 106 SC: NPC Zombie 2 SZ: 86 SC: 146 SC: 112 SC: NPC Zombie 2 SZ: 87 SC: 144 SC: 118 SC: NPC Zombie 2 SZ: 88 SC: 152 SC: 126 SC: NPC Zombie 2 SZ: 89 SC: 136 SC: 86 SC: NPC Zombie 2 SZ: 90 SC: 141 SC: 91 SC: NPC Zombie 2 SZ: 91 SC: 149 SC: 91 SC: NPC Zombie 2 SZ: 92 SC: 149 SC: 98 SC: NPC Zombie 2 SZ: 93 SC: 153 SC: 100 SC: NPC Zombie 2 SZ: 94 SC: 187 SC: 133 SC: NPC Zombie 2 SZ: 95 SC: 185 SC: 134 SC: NPC Zombie 2 SZ: 96 SC: 183 SC: 127 SC: NPC Zombie 2 SZ: 97 SC: 164 SC: 106 SC: NPC Zombie 2 SZ: 98 SC: 163 SC: 111 SC: NPC Zombie 2 SZ: 99 SC: 170 SC: 113 SC: NPC Zombie 2 SZ: 100 SC: 170 SC: 105 SC: NPC Zombie 2 SZ: 101 SC: 171 SC: 97 SC: NPC Zombie 2 SZ: 102 SC: 183 SC: 96 SC: NPC Zombie 2 SZ: 103 SC: 189 SC: 114 SC: NPC Zombie 2 SZ: 104 SC: 207 SC: 130 SC: NPC Zombie 2 SZ: 105 SC: 203 SC: 128 SC: NPC Zombie 2 SZ: 106 SC: 209 SC: 116 SC: NPC Zombie 2 SZ: 107 SC: 196 SC: 104 SC: NPC Zombie 2 SZ: 108 SC: 189 SC: 79 SC: NPC Zombie 2 SZ: 109 SC: 186 SC: 82 SC: NPC Zombie 2 SZ: 110 SC: 191 SC: 88 SC: NPC Zombie 2 SZ: 111 SC: 194 SC: 82 SC: NPC Zombie 2 SZ: 112 SC: 168 SC: 73 SC: NPC Zombie 2 SZ: 113 SC: 163 SC: 67 SC: NPC Zombie 2 SZ: 114 SC: 171 SC: 54 SC: NPC Zombie 2 SZ: 115 SC: 166 SC: 57 SC: NPC Zombie 2 SZ: 116 SC: 170 SC: 64 SC: NPC Zombie 2 SZ: 117 SC: 179 SC: 59 SC: NPC Zombie 2 SZ: 118 SC: 178 SC: 67 SC: NPC Zombie 2 SZ: 119 SC: 193 SC: 60 SC: NPC Zombie 2 SZ: 120 SC: 193 SC: 65 SC: NPC Zombie 2 SZ: 121 SC: 204 SC: 67 SC: NPC Zombie 2 SZ: 122 SC: 203 SC: 74 SC: NPC Zombie 2 SZ: 123 SC: 208 SC: 103 SC: NPC Zombie 2 SZ: 124 SC: 215 SC: 107 SC: NPC Zombie 2 SZ: 125 SC: 217 SC: 101 SC: NPC Zombie 2 SZ: 126 SC: 226 SC: 104 SC: NPC Zombie 2 SZ: 127 SC: 223 SC: 114 SC: NPC Zombie 2 SZ: 128 SC: 226 SC: 92 SC: NPC Zombie 2 SZ: 129 SC: 238 SC: 94 SC: NPC Zombie 2 SZ: 130 SC: 242 SC: 93 SC: NPC Zombie 2 SZ: 131 SC: 241 SC: 86 SC: NPC Zombie 2 SZ: 132 SC: 235 SC: 83 SC: NPC Zombie 2 SZ: 133 SC: 227 SC: 74 SC: NPC Zombie 2 SZ: 134 SC: 24 SC: 27 SC: NPC Zombie 2 SZ: 135 SC: 13 SC: 29 SC: NPC Zombie 2 SZ: 136 SC: 20 SC: 35 SC: NPC Zombie 2 SZ: 137 SC: 33 SC: 36 SC: NPC Zombie 2 SZ: 138 SC: 30 SC: 45 SC: NPC Zombie 2 SZ: 139 SC: 6 SC: 9 SC: NPC Zombie 2 SZ: 140 SC: 58 SC: 41 SC: NPC Zombie 2 SZ: 141 SC: 46 SC: 67 SC: NPC Zombie 2 SZ: 142 SC: 332 SC: 77 SC: NPC Icaro 0';
limitData = '0:0:14:9_27:0:64:22_66:4:93:19';
if (quesInv[3] == 1 || quesInv[3] > 2) {
changeZone('NPC Icaro 0', 'NPC Nosferatu 2');
} else {
area.push(new Array(16600, 1925, 15625, 'OPENDIALOGPJ Icaro'));
}
}
function setMap006() {
terrainData = '2,2,2,2,2,2,75,74,77,76,2,2,2,2,2,137,136,126,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3;70,71,2,2,75,74,77,76,2,2,2,2,2,2,125,124,139,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,9,9,9,9,1,1,9,9,9,9,1,1,3,3,3,3,3,3,3,3;72,73,102,103,77,76,2,2,2,2,2,2,2,137,127,126,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,9,9,9,9,1,1,9,9,9,9,1,1,3,3,3,3,3,3,3,3;2,2,104,105,2,2,2,2,2,2,2,2,2,2,133,132,131,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,137,141,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,125,124,139,2,2,2,2,2,2,2,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,137,136,126,2,128,131,2,2,128,129,130,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,133,132,129,130,133,132,129,130,2,2,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3';
waterData = '4';
objectData = '180:false::1:144:16:-2:0:0::_120:false::1:147:21:1:0:0::_120:false::1:149:19:1:0:0::_182:false::1:148:16:-2:0:0::_120:false::1:153:15:1:0:0::_181:false::1:156:16:-2:0:0::_122:false::1:160:19:1:0:0::_122:false::1:162:21:1:0:0::_183:false::1:152:16:-2:0:0::_122:false::1:156:15:1:0:0::_180:false::1:256:16:-2:0:0::_182:false::1:260:16:-2:0:0::_120:false::1:265:15:1:0:0::_181:false::1:268:16:-2:0:0::_122:false::1:272:19:1:0:0::_183:false::1:264:16:-2:0:0::_122:false::1:268:15:1:0:0::_180:false::1:136:24:-2:0:0::_182:false::1:140:24:-2:0:0::_120:false::1:145:23:1:0:0::_181:false::1:164:24:-2:0:0::_122:false::1:168:27:1:0:0::_122:false::1:170:29:1:0:0::_183:false::1:160:24:-2:0:0::_122:false::1:164:23:1:0:0::_180:false::1:248:24:-2:0:0::_182:false::1:252:24:-2:0:0::_181:false::1:276:24:-2:0:0::_122:false::1:280:27:1:0:0::_183:false::1:272:24:-2:0:0::_122:false::1:276:23:1:0:0::_180:false::1:128:32:-2:0:0::_120:false::1:131:37:1:0:0::_120:false::1:133:35:1:0:0::_182:false::1:132:32:-2:0:0::_181:false::1:172:32:-2:0:0::_122:false::1:176:35:1:0:0::_183:false::1:168:32:-2:0:0::_122:false::1:174:33:1:0:0::_180:false::1:240:32:-2:0:0::_182:false::1:244:32:-2:0:0::_181:false::1:284:32:-2:0:0::_122:false::1:288:35:1:0:0::_183:false::1:280:32:-2:0:0::_122:false::1:284:31:1:0:0::_180:false::1:120:40:-2:0:0::_120:false::1:125:43:1:0:0::_182:false::1:124:40:-2:0:0::_120:false::1:127:41:1:0:0::_181:false::1:180:40:-2:0:0::_122:false::1:186:45:1:0:0::_183:false::1:176:40:-2:0:0::_122:false::1:180:39:1:0:0::_122:false::1:182:41:1:0:0::_180:false::1:232:40:-2:0:0::_182:false::1:236:40:-2:0:0::_181:false::1:292:40:-2:0:0::_122:false::1:296:43:1:0:0::_183:false::1:288:40:-2:0:0::_122:false::1:292:39:1:0:0::_180:false::1:112:48:-2:0:0::_120:false::1:115:53:1:0:0::_182:false::1:116:48:-2:0:0::_120:false::1:119:49:1:0:0::_120:false::1:121:47:1:0:0::_181:false::1:188:48:-2:0:0::_122:false::1:192:51:1:0:0::_183:false::1:184:48:-2:0:0::_122:false::1:188:47:1:0:0::_180:false::1:224:48:-2:0:0::_120:false::1:227:53:1:0:0::_182:false::1:228:48:-2:0:0::_181:false::1:300:48:-2:0:0::_122:false::1:304:51:1:0:0::_183:false::1:296:48:-2:0:0::_122:false::1:300:47:1:0:0::_180:false::1:336:48:-2:0:0::_120:false::1:339:53:1:0:0::_120:false::1:341:51:1:0:0::_182:false::1:340:48:-2:0:0::_120:false::1:343:49:1:0:0::_120:false::1:345:47:1:0:0::_180:false::1:104:56:-2:0:0::_120:false::1:107:61:1:0:0::_182:false::1:108:56:-2:0:0::_120:false::1:111:57:1:0:0::_181:false::1:196:56:-2:0:0::_122:false::1:200:59:1:0:0::_183:false::1:192:56:-2:0:0::_122:false::1:196:55:1:0:0::_180:false::1:216:56:-2:0:0::_120:false::1:219:61:1:0:0::_120:false::1:221:59:1:0:0::_181:false::1:308:56:-2:0:0::_122:false::1:312:59:1:0:0::_122:false::1:314:61:1:0:0::_183:false::1:304:56:-2:0:0::_122:false::1:308:55:1:0:0::_180:false::1:328:56:-2:0:0::_120:false::1:331:61:1:0:0::_120:false::1:333:59:1:0:0::_182:false::1:332:56:-2:0:0::_120:false::1:335:57:1:0:0::_120:false::1:337:55:1:0:0::_187:false::1:104:64:-2:0:0::_122:false::1:110:65:1:0:0::_185:false::1:108:64:-2:0:0::_122:false::1:112:67:1:0:0::_122:false::1:114:69:1:0:0::_186:false::1:196:64:-2:0:0::_120:false::1:199:65:1:0:0::_184:false::1:192:64:-2:0:0::_120:false::1:195:69:1:0:0::_120:false::1:197:67:1:0:0::_187:false::1:216:64:-2:0:0::_122:false::1:222:65:1:0:0::_185:false::1:220:64:-2:0:0::_122:false::1:224:67:1:0:0::_122:false::1:226:69:1:0:0::_186:false::1:308:64:-2:0:0::_120:false::1:311:65:1:0:0::_184:false::1:304:64:-2:0:0::_120:false::1:307:69:1:0:0::_120:false::1:309:67:1:0:0::_187:false::1:328:64:-2:0:0::_122:false::1:334:65:1:0:0::_185:false::1:332:64:-2:0:0::_122:false::1:336:67:1:0:0::_122:false::1:338:69:1:0:0::_187:false::1:112:72:-2:0:0::_122:false::1:116:71:1:0:0::_122:false::1:118:73:1:0:0::_185:false::1:116:72:-2:0:0::_122:false::1:120:75:1:0:0::_122:false::1:122:77:1:0:0::_186:false::1:188:72:-2:0:0::_120:false::1:191:73:1:0:0::_120:false::1:193:71:1:0:0::_184:false::1:184:72:-2:0:0::_120:false::1:187:77:1:0:0::_120:false::1:189:75:1:0:0::_187:false::1:224:72:-2:0:0::_122:false::1:228:71:1:0:0::_122:false::1:230:73:1:0:0::_185:false::1:228:72:-2:0:0::_122:false::1:232:75:1:0:0::_122:false::1:234:77:1:0:0::_186:false::1:300:72:-2:0:0::_120:false::1:303:73:1:0:0::_120:false::1:305:71:1:0:0::_184:false::1:296:72:-2:0:0::_120:false::1:299:77:1:0:0::_120:false::1:301:75:1:0:0::_187:false::1:336:72:-2:0:0::_122:false::1:340:71:1:0:0::_122:false::1:342:73:1:0:0::_185:false::1:340:72:-2:0:0::_122:false::1:344:75:1:0:0::_122:false::1:346:77:1:0:0::_187:false::1:120:80:-2:0:0::_122:false::1:124:79:1:0:0::_122:false::1:126:81:1:0:0::_185:false::1:124:80:-2:0:0::_122:false::1:128:83:1:0:0::_122:false::1:130:85:1:0:0::_186:false::1:180:80:-2:0:0::_120:false::1:183:81:1:0:0::_120:false::1:185:79:1:0:0::_184:false::1:176:80:-2:0:0::_120:false::1:179:85:1:0:0::_120:false::1:181:83:1:0:0::_187:false::1:232:80:-2:0:0::_122:false::1:236:79:1:0:0::_122:false::1:238:81:1:0:0::_185:false::1:236:80:-2:0:0::_122:false::1:240:83:1:0:0::_122:false::1:242:85:1:0:0::_186:false::1:292:80:-2:0:0::_120:false::1:295:81:1:0:0::_120:false::1:297:79:1:0:0::_184:false::1:288:80:-2:0:0::_120:false::1:291:85:1:0:0::_120:false::1:293:83:1:0:0::_187:false::1:128:88:-2:0:0::_122:false::1:132:87:1:0:0::_122:false::1:134:89:1:0:0::_185:false::1:132:88:-2:0:0::_122:false::1:136:91:1:0:0::_122:false::1:138:93:1:0:0::_186:false::1:172:88:-2:0:0::_120:false::1:175:89:1:0:0::_120:false::1:177:87:1:0:0::_120:false::1:171:93:1:0:0::_120:false::1:173:91:1:0:0::_187:false::1:240:88:-2:0:0::_122:false::1:244:87:1:0:0::_122:false::1:246:89:1:0:0::_185:false::1:244:88:-2:0:0::_122:false::1:248:91:1:0:0::_122:false::1:250:93:1:0:0::_186:false::1:284:88:-2:0:0::_120:false::1:287:89:1:0:0::_120:false::1:289:87:1:0:0::_184:false::1:280:88:-2:0:0::_120:false::1:283:93:1:0:0::_120:false::1:285:91:1:0:0::_187:false::1:136:96:-2:0:0::_122:false::1:140:95:1:0:0::_122:false::1:142:97:1:0:0::_185:false::1:140:96:-2:0:0::_122:false::1:144:99:1:0:0::_122:false::1:146:101:1:0:0::_186:false::1:164:96:-2:0:0::_120:false::1:167:97:1:0:0::_120:false::1:169:95:1:0:0::_184:false::1:160:96:-2:0:0::_120:false::1:163:101:1:0:0::_120:false::1:165:99:1:0:0::_187:false::1:248:96:-2:0:0::_122:false::1:252:95:1:0:0::_122:false::1:254:97:1:0:0::_185:false::1:252:96:-2:0:0::_122:false::1:256:99:1:0:0::_122:false::1:258:101:1:0:0::_186:false::1:276:96:-2:0:0::_120:false::1:279:97:1:0:0::_120:false::1:281:95:1:0:0::_184:false::1:272:96:-2:0:0::_120:false::1:275:101:1:0:0::_120:false::1:277:99:1:0:0::_187:false::1:144:104:-2:0:0::_122:false::1:148:103:1:0:0::_122:false::1:150:105:1:0:0::_185:false::1:148:104:-2:0:0::_122:false::1:152:107:1:0:0::_122:false::1:154:109:1:0:0::_186:false::1:156:104:-2:0:0::_120:false::1:159:105:1:0:0::_120:false::1:161:103:1:0:0::_184:false::1:152:104:-2:0:0::_120:false::1:155:109:1:0:0::_120:false::1:157:107:1:0:0::_187:false::1:256:104:-2:0:0::_122:false::1:260:103:1:0:0::_122:false::1:262:105:1:0:0::_185:false::1:260:104:-2:0:0::_122:false::1:264:107:1:0:0::_122:false::1:266:109:1:0:0::_186:false::1:268:104:-2:0:0::_120:false::1:271:105:1:0:0::_120:false::1:273:103:1:0:0::_184:false::1:264:104:-2:0:0::_120:false::1:267:109:1:0:0::_120:false::1:269:107:1:0:0::_50:false::1:2:78:1:0:0::_50:false::1:9:71:1:0:0::_50:false::1:17:63:1:0:0::_51:false::1:41:63:1:0:0::_51:false::1:49:71:1:0:0::_50:false::1:2:94:1:0:0::_50:false::1:10:102:1:0:0::_53:false::1:18:110:1:0:0::_52:false::1:31:114:1:0:0::_27:false::1:2:73:1:0:0::_27:false::1:3:72:1:0:0::_27:false::1:4:71:1:0:0::_27:false::1:5:70:1:0:0::_27:false::1:6:69:1:0:0::_27:false::1:7:68:1:0:0::_27:false::1:8:67:1:0:0::_27:false::1:9:66:1:0:0::_27:false::1:10:65:1:0:0::_27:false::1:11:64:1:0:0::_27:false::1:12:63:1:0:0::_27:false::1:13:62:1:0:0::_27:false::1:14:61:1:0:0::_27:false::1:15:60:1:0:0::_27:false::1:16:59:1:0:0::_27:false::1:17:58:1:0:0::_27:false::1:18:57:1:0:0::_27:false::1:19:56:1:0:0::_27:false::1:20:55:1:0:0::_27:false::1:21:54:1:0:0::_27:false::1:22:53:1:0:0::_27:false::1:23:52:1:0:0::_27:false::1:24:51:1:0:0::_27:false::1:25:50:1:0:0::_27:false::1:26:49:1:0:0::_27:false::1:27:48:1:0:0::_27:false::1:28:47:1:0:0::_26:false::1:51:51:1:0:0::_26:false::1:52:52:1:0:0::_26:false::1:53:53:1:0:0::_26:false::1:50:50:1:0:0::_26:false::1:49:49:1:0:0::_26:false::1:48:48:1:0:0::_26:false::1:47:47:1:0:0::_26:false::1:46:46:1:0:0::_26:false::1:45:45:1:0:0::_26:false::1:44:44:1:0:0::_26:false::1:43:43:1:0:0::_26:false::1:42:42:1:0:0::_27:false::1:29:46:1:0:0::_27:false::1:30:45:1:0:0::_27:false::1:31:44:1:0:0::_27:false::1:32:43:1:0:0::_27:false::1:33:42:1:0:0::_26:false::1:54:54:1:0:0::_26:false::1:55:55:1:0:0::_26:false::1:56:56:1:0:0::_26:false::1:57:57:1:0:0::_26:false::1:58:58:1:0:0::_26:false::1:59:59:1:0:0::_26:false::1:60:60:1:0:0::_26:false::1:61:61:1:0:0::_26:false::1:62:62:1:0:0::_26:false::1:63:63:1:0:0::_26:false::1:64:64:1:0:0::_26:false::1:65:65:1:0:0::_26:false::1:66:66:1:0:0::_26:false::1:67:67:1:0:0::_26:false::1:68:68:1:0:0::_27:false::1:68:69:1:0:0::_27:false::1:67:70:1:0:0::_27:false::1:66:71:1:0:0::_27:false::1:65:72:1:0:0::_27:false::1:64:73:1:0:0::_27:false::1:63:74:1:0:0::_27:false::1:62:75:1:0:0::_27:false::1:61:76:1:0:0::_27:false::1:60:77:1:0:0::_27:false::1:59:78:1:0:0::_27:false::1:58:79:1:0:0::_27:false::1:57:80:1:0:0::_27:false::1:56:81:1:0:0::_27:false::1:55:82:1:0:0::_27:false::1:54:83:1:0:0::_27:false::1:53:84:1:0:0::_27:false::1:52:85:1:0:0::_27:false::1:51:86:1:0:0::_27:false::1:50:87:1:0:0::_27:false::1:49:88:1:0:0::_27:false::1:48:89:1:0:0::_27:false::1:47:90:1:0:0::_27:false::1:46:91:1:0:0::_27:false::1:45:92:1:0:0::_27:false::1:44:93:1:0:0::_27:false::1:43:94:1:0:0::_27:false::1:42:95:1:0:0::_27:false::1:41:96:1:0:0::_27:false::1:40:97:1:0:0::_27:false::1:39:98:1:0:0::_27:false::1:38:99:1:0:0::_27:false::1:37:100:1:0:0::_27:false::1:36:101:1:0:0::_27:false::1:35:102:1:0:0::_26:false::1:2:96:1:0:0::_26:false::1:3:97:1:0:0::_26:false::1:4:98:1:0:0::_26:false::1:5:99:1:0:0::_26:false::1:6:100:1:0:0::_26:false::1:7:101:1:0:0::_26:false::1:8:102:1:0:0::_26:false::1:9:103:1:0:0::_26:false::1:10:104:1:0:0::_26:false::1:11:105:1:0:0::_26:false::1:12:106:1:0:0::_26:false::1:13:107:1:0:0::_26:false::1:14:108:1:0:0::_26:false::1:15:109:1:0:0::_26:false::1:16:110:1:0:0::_26:false::1:17:111:1:0:0::_26:false::1:18:112:1:0:0::_26:false::1:19:113:1:0:0::_26:false::1:20:114:1:0:0::_26:false::1:21:115:1:0:0::_26:false::1:22:116:1:0:0::_26:false::1:23:117:1:0:0::_26:false::1:24:118:1:0:0::_26:false::1:25:119:1:0:0::_26:false::1:26:120:1:0:0::_26:false::1:27:121:1:0:0::_26:false::1:28:122:1:0:0::_26:false::1:29:123:1:0:0::_26:false::1:30:124:1:0:0::_26:false::1:31:125:1:0:0::_26:false::1:32:126:1:0:0::_26:false::1:33:127:1:0:0::_26:false::1:34:128:1:0:0::_26:false::1:35:129:1:0:0::_26:false::1:35:103:1:0:0::_26:false::1:36:104:1:0:0::_26:false::1:37:105:1:0:0::_26:false::1:38:106:1:0:0::_26:false::1:39:107:1:0:0::_26:false::1:40:108:1:0:0::_26:false::1:41:109:1:0:0::_26:false::1:42:110:1:0:0::_26:false::1:43:111:1:0:0::_26:false::1:44:112:1:0:0::_50:false::1:25:55:1:0:0::_38:false::1:27:80:1:0:0::_70:false::1:70:110:1:0:0::_69:false::1:69:110:1:0:0::_68:false::1:67:113:1:0:0::_72:false::1:71:110:-2:0:0::_71:false::1,2,3,4,5:71:110:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5.SELECT 5,FREE 0/0 - 5.SELECT 1.PLAY.4,4,3,3,2,2,1.SELECT 4,NOFREE 0/0_20:false::1:67:64:1:0:0::_22:false::1:49:49:1:0:0::_23:false::1:41:52:1:0:0::_23:false::1:19:87:1:0:0::_22:false::1:15:62:1:0:0::_22:false::1:0:79:1:0:0::_23:false::1:-2:87:1:0:0::_23:false::1:0:53:1:0:0::_23:false::1:5:40:1:0:0::_23:false::1:5:5:1:0:0::_23:false::1:16:9:1:0:0::_23:false::1:23:27:1:0:0::_23:false::1:37:7:1:0:0::_23:false::1:49:26:1:0:0::_23:false::1:51:7:1:0:0::_23:false::1:66:12:1:0:0::_23:false::1:57:3:1:0:0::_23:false::1:85:17:1:0:0::_23:false::1:90:57:1:0:0::_23:false::1:76:67:1:0:0::_23:false::1:72:47:1:0:0::_23:false::1:67:30:1:0:0::_23:false::1:81:29:1:0:0::_23:false::1:77:8:1:0:0::_23:false::1:84:87:1:0:0::_23:false::1:67:74:1:0:0::_23:false::1:80:139:1:0:0::_23:false::1:73:145:1:0:0::_23:false::1:67:138:1:0:0::_23:false::1:53:133:1:0:0::_23:false::1:27:137:1:0:0::_23:false::1:32:143:1:0:0::_23:false::1:18:128:1:0:0::_23:false::1:6:121:1:0:0::_23:false::1:0:111:1:0:0::_23:false::1:0:131:1:0:0::_23:false::1:51:89:1:0:0::_23:false::1:39:102:1:0:0::_20:false::1:27:145:1:0:0::_20:false::1:7:140:1:0:0::_20:false::1:5:32:1:0:0::_20:false::1:37:18:1:0:0::_20:false::1:50:16:1:0:0::_20:false::1:81:32:1:0:0::_20:false::1:78:3:1:0:0::_20:false::1:91:31:1:0:0::_20:false::1:84:78:1:0:0::_20:false::1:58:102:1:0:0::_20:false::1:93:135:1:0:0::_20:false::1:80:156:1:0:0::_21:false::1:14:138:1:0:0::_21:false::1:11:52:1:0:0::_21:false::1:13:11:1:0:0::_21:false::1:57:36:1:0:0::_21:false::1:86:47:1:0:0::_21:false::1:89:73:1:0:0::_21:false::1:91:101:1:0:0::_21:false::1:64:83:1:0:0::_22:false::1:13:43:1:0:0::_22:false::1:37:25:1:0:0::_22:false::1:72:82:1:0:0::_22:false::1:70:62:1:0:0::_22:false::1:85:99:1:0:0::_22:false::1:93:120:1:0:0::_22:false::1:51:124:1:0:0::_22:false::1:49:115:1:0:0::_22:false::1:42:108:1:0:0::_180:false::1:408:8:-2:0:0::_182:false::1:412:8:-2:0:0::_183:false::1:416:8:-2:0:0::_181:false::1:420:8:-2:0:0::_186:false::1:420:16:-2:0:0::_187:false::1:408:16:-2:0:0::_185:false::1:412:16:-2:0:0::_184:false::1:416:16:-2:0:0::_180:false::1:432:8:-2:0:0::_187:false::1:432:16:-2:0:0::_185:false::1:436:16:-2:0:0::_182:false::1:436:8:-2:0:0::_183:false::1:440:8:-2:0:0::_181:false::1:444:8:-2:0:0::_186:false::1:444:16:-2:0:0::_184:false::1:440:16:-2:0:0::_104:false::1:423:16:2:0:0::_104:false::1:419:20:2:0:0::_104:false::1:447:16:2:0:0::_104:false::1:443:20:2:0:0::_105:false::1:416:23:2:0:0::_105:false::1:420:19:2:0:0::_105:false::1:440:23:2:0:0::_105:false::1:444:19:2:0:0::_106:false::1:408:16:2:0:0::_106:false::1:412:20:2:0:0::_106:false::1:432:16:2:0:0::_106:false::1:436:20:2:0:0::_107:false::1:411:19:2:0:0::_107:false::1:415:23:2:0:0::_107:false::1:435:19:2:0:0::_107:false::1:439:23:2:0:0::_109:false::1:414:22:2:0:0::_109:false::1:438:22:2:0:0::_100:false::1:410:14:-2:0:0::_100:false::1:414:10:-2:0:0::_100:false::1:416:8:-2:0:0::_101:false::1:411:13:-2:0:0::_101:false::1:415:9:-2:0:0::_101:false::1:417:7:-2:0:0::_102:false::1:418:7:-2:0:0::_102:false::1:420:9:-2:0:0::_102:false::1:422:11:-2:0:0::_102:false::1:424:13:-2:0:0::_103:false::1:419:8:-2:0:0::_103:false::1:421:10:-2:0:0::_103:false::1:423:12:-2:0:0::_103:false::1:425:14:-2:0:0::_103:false::1:443:8:-2:0:0::_103:false::1:445:10:-2:0:0::_103:false::1:447:12:-2:0:0::_103:false::1:449:14:-2:0:0::_102:false::1:448:13:-2:0:0::_102:false::1:444:9:-2:0:0::_102:false::1:442:7:-2:0:0::_101:false::1:441:7:-2:0:0::_101:false::1:439:9:-2:0:0::_101:false::1:437:11:-2:0:0::_101:false::1:435:13:-2:0:0::_100:false::1:434:14:-2:0:0::_100:false::1:436:12:-2:0:0::_100:false::1:438:10:-2:0:0::_100:false::1:440:8:-2:0:0::_81:false::1:416:9:1:0:0::_81:false::1:440:9:1:0:0::_99:false::1:412:17:1:0:0::_97:false::1:414:15:1:0:0::_99:false::1:435:17:1:0:0::_80:false::1:437:15:1:0:0::_82:false::1:433.1:13.9:-2:0:0::_102:false::1:446:11:-2:0:0::_110:false::1:433:13:-2:0:0::_110:false::1:436:10:-2:0:0::_111:false::1:443:10:-2:0:0::_111:false::1:446:13:-2:0:0::_111:false::1:422:13:-2:0:0::_111:false::1:419:10:-2:0:0::_114:false::1:411:12:-1:0:0::_115:false::1:411:12:1:0:0::_34:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:408.1:12:0:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._83:false::1:417:16:1:0:0::_83:false::1:414:19:1:0:0::_86:false::1:418:15:1:0:0::_86:false::1:419:16:1:0:0::_85:false::1:419:17:1:0:0::_85:false::1:418:18:1:0:0::_85:false::1:416:20:1:0:0::_85:false::1:415:21:1:0:0::_86:false::1:416:18:1:0:0::_86:false::1:415:17:1:0:0::_90:false::1:417:14:1:0:0::_90:false::1:416:15:1:0:0::_90:false::1:413:11:1:0:0::_89:false::1:414:11:1:0:0::_91:false::1:415:11:1:0:0::_91:false::1:416:11:1:0:0::_91:false::1:415:12:1:0:0::_92:false::1:417:12:1:0:0::_92:false::1:420:15:1:0:0::_93:false::1:406:15:1:0:0::_94:false::1:441:12:1:0:0::_95:false::1:433:12:1:0:0::_92:false::1:444:15:1:0:0::_125:false::1:105:62:1:0:0::_122:false::1:109:64:1:0:0::_124:false::1:202:62:1:0:0::_122:false::1:201:60:1:0:0::_120:false::1:200:64:1:0:0::_125:false::1:217:62:1:0:0::_122:false::1:221:64:1:0:0::_124:false::1:314:62:1:0:0::_120:false::1:312:64:1:0:0::_125:false::1:329:62:1:0:0::_122:false::1:333:64:1:0:0::_122:false::1:160:103:1:0:0::_122:false::1:154:97:1:0:0::_122:false::1:152:95:1:0:0::_122:false::1:150:93:1:0:0::_122:false::1:148:91:1:0:0::_122:false::1:146:89:1:0:0::_122:false::1:144:87:1:0:0::_122:false::1:142:85:1:0:0::_122:false::1:140:83:1:0:0::_122:false::1:138:81:1:0:0::_122:false::1:136:79:1:0:0::_122:false::1:134:77:1:0:0::_122:false::1:132:75:1:0:0::_122:false::1:130:73:1:0:0::_120:false::1:123:77:1:0:0::_138:false::1:122:77:1:0:0::_139:false::1:125:74:1:0:0::_120:false::1:129:71:1:0:0::_120:false::1:131:69:1:0:0::_120:false::1:133:67:1:0:0::_120:false::1:135:65:1:0:0::_120:false::1:137:63:1:0:0::_120:false::1:139:61:1:0:0::_120:false::1:141:59:1:0:0::_120:false::1:143:57:1:0:0::_120:false::1:145:55:1:0:0::_120:false::1:147:53:1:0:0::_122:false::1:150:53:1:0:0::_122:false::1:152:55:1:0:0::_122:false::1:154:57:1:0:0::_122:false::1:156:59:1:0:0::_122:false::1:158:61:1:0:0::_122:false::1:160:63:1:0:0::_122:false::1:162:65:1:0:0::_122:false::1:164:67:1:0:0::_120:false::1:115:69:1:0:0::_120:false::1:117:67:1:0:0::_120:false::1:119:65:1:0:0::_120:false::1:125:59:1:0:0::_120:false::1:127:57:1:0:0::_120:false::1:129:55:1:0:0::_120:false::1:131:53:1:0:0::_120:false::1:137:47:1:0:0::_120:false::1:139:45:1:0:0::_120:false::1:141:43:1:0:0::_120:false::1:143:41:1:0:0::_120:false::1:151:33:1:0:0::_122:false::1:128:55:1:0:0::_122:false::1:122:49:1:0:0::_120:false::1:153:31:1:0:0::_120:false::1:155:29:1:0:0::_120:false::1:161:23:1:0:0::_122:false::1:156:31:1:0:0::_122:false::1:158:33:1:0:0::_122:false::1:164:39:1:0:0::_120:false::1:149:51:1:0:0::_120:false::1:151:49:1:0:0::_120:false::1:153:47:1:0:0::_122:false::1:156:47:1:0:0::_122:false::1:162:53:1:0:0::_122:false::1:164:55:1:0:0::_122:false::1:166:57:1:0:0::_122:false::1:168:59:1:0:0::_122:false::1:170:61:1:0:0::_122:false::1:172:63:1:0:0::_122:false::1:178:69:1:0:0::_124:false::1:179:71:1:0:0::_120:false::1:177:73:1:0:0::_120:false::1:175:75:1:0:0::_122:false::1:166:69:1:0:0::_122:false::1:168:71:1:0:0::_122:false::1:170:73:1:0:0::_122:false::1:172:75:1:0:0::_122:false::1:173:76:1:0:0::_120:false::1:174:76:1:0:0::_122:false::1:166:41:1:0:0::_122:false::1:168:43:1:0:0::_122:false::1:170:45:1:0:0::_122:false::1:176:51:1:0:0::_122:false::1:178:53:1:0:0::_122:false::1:180:55:1:0:0::_122:false::1:182:57:1:0:0::_122:false::1:188:63:1:0:0::_122:false::1:190:65:1:0:0::_122:false::1:192:67:1:0:0::_122:false::1:194:69:1:0:0::_122:false::1:140:43:1:0:0::_122:false::1:134:37:1:0:0::_122:false::1:154:29:1:0:0::_122:false::1:148:23:1:0:0::_139:false::1:121:62:1:0:0::_139:false::1:133:50:1:0:0::_139:false::1:147:36:1:0:0::_120:false::1:145:39:1:0:0::_120:false::1:167:41:1:0:0::_120:false::1:173:35:1:0:0::_120:false::1:179:53:1:0:0::_120:false::1:185:47:1:0:0::_138:false::1:130:53:1:0:0::_138:false::1:118:65:1:0:0::_138:false::1:144:39:1:0:0::_138:false::1:154:29:1:0:0::_139:false::1:157:26:1:0:0::_139:false::1:169:38:1:0:0::_139:false::1:181:50:1:0:0::_138:false::1:178:53:1:0:0::_138:false::1:166:41:1:0:0::_140:false::1:176:68:1:0:0::_140:false::1:186:62:1:0:0::_140:false::1:160:52:1:0:0::_140:false::1:174:50:1:0:0::_140:false::1:162:38:1:0:0::_140:false::1:138:42:1:0:0::_140:false::1:126:54:1:0:0::_141:false::1:118:52:1:0:0::_141:false::1:130:40:1:0:0::_141:false::1:144:26:1:0:0::_140:false::1:152:28:1:0:0::_141:false::1:154:36:1:0:0::_141:false::1:166:48:1:0:0::_141:false::1:178:60:1:0:0::_141:false::1:168:66:1:0:0::_141:false::1:152:50:1:0:0::_132:false::1:143:25:1:0:0::_132:false::1:129:39:1:0:0::_132:false::1:123:45:1:0:0::_132:false::1:117:51:1:0:0::_132:false::1:113:55:1:0:0::_132:false::1:109:59:1:0:0::_132:false::1:135:33:1:0:0::_132:false::1:139:29:1:0:0::_120:false::1:137:31:1:0:0::_120:false::1:141:27:1:0:0::_133:false::1:166:25:1:0:0::_133:false::1:172:31:1:0:0::_133:false::1:178:37:1:0:0::_133:false::1:184:43:1:0:0::_133:false::1:190:49:1:0:0::_133:false::1:194:53:1:0:0::_133:false::1:198:57:1:0:0::_133:false::1:158:17:1:0:0::_132:false::1:151:17:1:0:0::_116:false::1:144:58:1:0:0::_116:false::1:148:62:1:0:0::_116:false::1:152:66:1:0:0::_116:false::1:156:70:1:0:0::_116:false::1:160:74:1:0:0::_116:false::1:164:78:1:0:0::_116:false::1:156:56:1:0:0::_116:false::1:160:60:1:0:0::_116:false::1:164:64:1:0:0::_142:false::1:132:73:-2:0:0::_142:false::1:134:71:-2:0:0::_142:false::1:136:69:-2:0:0::_142:false::1:138:67:-2:0:0::_142:false::1:140:65:-2:0:0::_142:false::1:142:63:-2:0:0::_143:false::1:139:63:-2:0:0::_143:false::1:141:65:-2:0:0::_143:false::1:149:73:-2:0:0::_143:false::1:151:75:-2:0:0::_143:false::1:153:77:-2:0:0::_143:false::1:155:79:-2:0:0::_143:false::1:157:81:-2:0:0::_143:false::1:159:83:-2:0:0::_143:false::1:161:85:-2:0:0::_143:false::1:163:87:-2:0:0::_143:false::1:165:89:-2:0:0::_143:false::1:167:91:-2:0:0::_145:false::1:145:70:-2:0:0::_143:false::1:145:73:-2:0:0::_142:false::1:152:73:-2:0:0::_164:false::1:146:49:2:0:0::_164:false::1:126:69:2:0:0::_164:false::1:120:75:2:0:0::_164:false::1:112:67:2:0:0::_164:false::1:118:45:2:0:0::_164:false::1:130:33:2:0:0::_164:false::1:144:19:2:0:0::_164:false::1:152:27:2:0:0::_164:false::1:164:39:2:0:0::_164:false::1:176:51:2:0:0::_165:false::1:126:53:2:0:0::_165:false::1:138:41:2:0:0::_165:false::1:152:27:2:0:0::_165:false::1:160:19:2:0:0::_165:false::1:172:31:2:0:0::_165:false::1:184:43:2:0:0::_165:false::1:192:67:2:0:0::_184:false::1:168:88:-2:0:0::_131:false::1:156:89:-2:0:0::_117:false::1,2,3,4,5:149:62:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:153:66:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:161:74:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:165:78:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:157:56:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:165:64:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:145:58:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:157:70:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:161:60:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_128:false::1:155:99:1:0:0::_129:false::1:157:101:1:0:0::_127:false::1:223:57:1:0:0::_126:false::1:225:55:1:0:0::_120:false::1:229:71:1:0:0::_120:false::1:231:69:1:0:0::_120:false::1:233:67:1:0:0::_120:false::1:235:65:1:0:0::_120:false::1:237:63:1:0:0::_120:false::1:239:61:1:0:0::_120:false::1:241:59:1:0:0::_122:false::1:244:59:1:0:0::_122:false::1:250:65:1:0:0::_122:false::1:252:67:1:0:0::_122:false::1:254:69:1:0:0::_122:false::1:256:71:1:0:0::_122:false::1:258:73:1:0:0::_122:false::1:260:75:1:0:0::_122:false::1:262:77:1:0:0::_122:false::1:264:79:1:0:0::_122:false::1:266:81:1:0:0::_122:false::1:268:83:1:0:0::_122:false::1:270:85:1:0:0::_122:false::1:272:87:1:0:0::_122:false::1:274:89:1:0:0::_122:false::1:276:91:1:0:0::_122:false::1:278:93:1:0:0::_122:false::1:280:95:1:0:0::_120:false::1:263:77:1:0:0::_120:false::1:265:75:1:0:0::_120:false::1:267:73:1:0:0::_120:false::1:269:71:1:0:0::_120:false::1:277:63:1:0:0::_120:false::1:279:61:1:0:0::_120:false::1:281:59:1:0:0::_120:false::1:283:57:1:0:0::_120:false::1:243:57:1:0:0::_120:false::1:245:55:1:0:0::_120:false::1:247:53:1:0:0::_120:false::1:249:51:1:0:0::_120:false::1:251:49:1:0:0::_120:false::1:253:47:1:0:0::_120:false::1:255:45:1:0:0::_120:false::1:257:43:1:0:0::_120:false::1:259:41:1:0:0::_120:false::1:261:39:1:0:0::_120:false::1:263:37:1:0:0::_122:false::1:266:37:1:0:0::_122:false::1:268:39:1:0:0::_122:false::1:270:41:1:0:0::_122:false::1:272:43:1:0:0::_122:false::1:278:49:1:0:0::_122:false::1:280:51:1:0:0::_122:false::1:282:53:1:0:0::_122:false::1:284:55:1:0:0::_124:false::1:284:56:1:0:0::_122:false::1:286:57:1:0:0::_122:false::1:288:59:1:0:0::_122:false::1:290:61:1:0:0::_122:false::1:292:63:1:0:0::_122:false::1:294:65:1:0:0::_122:false::1:296:67:1:0:0::_122:false::1:298:69:1:0:0::_122:false::1:300:71:1:0:0::_122:false::1:302:73:1:0:0::_122:false::1:272:71:1:0:0::_122:false::1:278:65:1:0:0::_125:false::1:275:64:1:0:0::_122:false::1:280:67:1:0:0::_122:false::1:282:69:1:0:0::_122:false::1:274:73:1:0:0::_122:false::1:276:75:1:0:0::_122:false::1:282:81:1:0:0::_122:false::1:284:83:1:0:0::_122:false::1:286:85:1:0:0::_122:false::1:288:87:1:0:0::_122:false::1:288:75:1:0:0::_122:false::1:290:77:1:0:0::_122:false::1:292:79:1:0:0::_122:false::1:294:81:1:0:0::_140:false::1:248:64:1:0:0::_141:false::1:240:62:1:0:0::_141:false::1:268:46:1:0:0::_140:false::1:276:48:1:0:0::_140:false::1:280:80:1:0:0::_141:false::1:272:78:1:0:0::_141:false::1:278:72:1:0:0::_140:false::1:286:74:1:0:0::_131:false::1:266:95:-2:0:0::_132:false::1:239:41:1:0:0::_132:false::1:263:17:1:0:0::_132:false::1:259:21:1:0:0::_132:false::1:255:25:1:0:0::_132:false::1:251:29:1:0:0::_132:false::1:247:33:1:0:0::_132:false::1:243:37:1:0:0::_132:false::1:235:45:1:0:0::_132:false::1:231:49:1:0:0::_133:false::1:310:57:1:0:0::_133:false::1:306:53:1:0:0::_133:false::1:302:49:1:0:0::_133:false::1:298:45:1:0:0::_133:false::1:294:41:1:0:0::_133:false::1:290:37:1:0:0::_133:false::1:286:33:1:0:0::_133:false::1:282:29:1:0:0::_133:false::1:278:25:1:0:0::_133:false::1:274:21:1:0:0::_133:false::1:270:17:1:0:0::_120:false::1:261:19:1:0:0::_120:false::1:257:23:1:0:0::_120:false::1:253:27:1:0:0::_120:false::1:249:31:1:0:0::_120:false::1:245:35:1:0:0::_120:false::1:241:39:1:0:0::_120:false::1:237:43:1:0:0::_120:false::1:233:47:1:0:0::_120:false::1:229:51:1:0:0::_116:false::1:280:62:1:0:0::_116:false::1:283:65:1:0:0::_116:false::1:286:68:1:0:0::_116:false::1:289:71:1:0:0::_116:false::1:292:74:1:0:0::_116:false::1:264:78:1:0:0::_116:false::1:267:81:1:0:0::_116:false::1:270:84:1:0:0::_116:false::1:273:87:1:0:0::_116:false::1:276:90:1:0:0::_116:false::1:259:41:1:0:0::_116:false::1:274:56:1:0:0::_116:false::1:262:44:1:0:0::_116:false::1:271:53:1:0:0::_117:false::1,2,3,4,5:260:41:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:275:56:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:271:84:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:274:87:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:277:90:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:268:81:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:290:71:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:287:68:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:281:62:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:284:65:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:293:74:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:265:78:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:263:44:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:272:53:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_164:false::1:226:69:2:0:0::_164:false::1:240:55:2:0:0::_164:false::1:260:75:2:0:0::_164:false::1:274:61:2:0:0::_165:false::1:278:93:2:0:0::_165:false::1:286:85:2:0:0::_165:false::1:292:79:2:0:0::_165:false::1:282:53:2:0:0::_174:false::1:49:72:1:0:7:Tavern:_174:false::1:41:64:1:0:7:Store:_59:false::1:53:72:-2:0:0::_59:false::1:45:64:-2:0:0::_56:false::1,2,3,4:29:115:1:0:0::_56:false::1,2,3,4:17:103:1:0:0::_56:false::1,2,3,4:9:95:1:0:0::_56:false::1,2,3,4:9:79:1:0:0::_56:false::1,2,3,4:16:72:1:0:0::_56:false::1,2,3,4:24:64:1:0:0::_56:false::1,2,3,4:32:56:1:0:0::_57:false::1,2,3,4:45:64:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_57:false::1,2,3,4:53:72:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:146:100:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:134:88:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:123:77:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:116:70:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:108:62:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:151:93:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:139:81:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:129:71:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:121:47:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:133:35:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:147:21:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:157:31:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:169:43:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:181:55:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:171:61:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:155:45:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:144:33:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:130:47:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:118:59:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:132:61:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:143:50:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:151:42:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:166:35:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:178:47:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:194:63:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:149:53:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:159:63:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:167:71:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:162:81:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:154:73:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:136:65:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:163:94:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:183:74:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:231:62:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:243:50:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:254:39:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:269:39:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:280:50:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:291:61:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:269:100:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:281:88:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:295:74:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:288:81:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:304:65:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:264:69:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:277:56:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:246:62:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:274:46:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:297:45:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:277:25:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:226:50:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:239:37:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:251:25:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:249:47:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:281:69:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:275:75:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._122:false::1:348:47:1:0:0::_122:false::1:354:53:1:0:0::_122:false::1:356:55:1:0:0::_122:false::1:358:57:1:0:0::_120:false::1:347:77:1:0:0::_120:false::1:349:75:1:0:0::_120:false::1:351:73:1:0:0::_120:false::1:353:71:1:0:0::_120:false::1:355:69:1:0:0::_120:false::1:357:67:1:0:0::_120:false::1:359:65:1:0:0::_122:false::1:360:59:1:0:0::_122:false::1:362:61:1:0:0::_124:false::1:362:62:1:0:0::_120:false::1:360:64:1:0:0::_181:false::1:344:40:-2:0:0::_181:false::1:352:48:-2:0:0::_183:false::1:348:48:-2:0:0::_183:false::1:356:56:-2:0:0::_186:false::1:348:72:-2:0:0::_186:false::1:356:64:-2:0:0::_184:false::1:352:64:-2:0:0::_184:false::1:344:72:-2:0:0::_128:false::1:349:49:1:0:0::_129:false::1:351:51:1:0:0::_116:false::1:341:51:1:0:0::_116:false::1:337:55:1:0:0::_116:false::1:333:59:1:0:0::_116:false::1:352:62:1:0:0::_116:false::1:348:66:1:0:0::_116:false::1:344:70:1:0:0::_117:false::1,2,3,4,5:353:62:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:349:66:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:345:70:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:342:51:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:338:55:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:334:59:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:354:63:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:348:69:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:340:48:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:334:54:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:351:51:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:333:63:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:338:68:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:5.5:64:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:28.5:42:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:56.5:58:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:13.5:89:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:21:97:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15.';
zoneData = '0 SC: 8 SC: 16 SC: START SZ: 1 SC: 438 SC: 21 SC: TELEPORT 45/65 SZ: 1 SC: 45 SC: 65 SC: TELEPORT 438/21 SZ: 2 SC: 414 SC: 21 SC: TELEPORT 53/73 SZ: 2 SC: 53 SC: 73 SC: TELEPORT 414/21 SZ: 3 SC: 71 SC: 110 SC: TELEPORT 222/57 SZ: 3 SC: 222 SC: 57 SC: TELEPORT 71/110 SZ: 4 SC: 266 SC: 95 SC: TELEPORT 153/101 SZ: 4 SC: 153 SC: 101 SC: TELEPORT 266/95 SZ: 5 SC: 156 SC: 89 SC: TELEPORT 347/51 SZ: 5 SC: 347 SC: 51 SC: TELEPORT 156/89 SZ: 6 SC: 436 SC: 15 SC: NPC Tendero 0 SZ: 7 SC: 413 SC: 14 SC: NPC Tabernera 0 SZ: 8 SC: 347 SC: 57 SC: NPC Morgana 0 SZ: 9 SC: 341 SC: 57 SC: NPC InfernalArcher 0 SZ: 10 SC: 348 SC: 62 SC: NPC InfernalArcher 0 SZ: 11 SC: 350 SC: 58 SC: NPC SkeletonMelee 0 SZ: 12 SC: 342 SC: 54 SC: NPC SkeletonMelee 0 SZ: 13 SC: 252 SC: 83 SC: NPC ReturnedVillain 2 SZ: 14 SC: 122 SC: 62 SC: NPC ReturnedVillain 2 SZ: 15 SC: 126 SC: 66 SC: NPC ReturnedVillain 2 SZ: 16 SC: 176 SC: 77 SC: NPC ReturnedVillain 2 SZ: 17 SC: 172 SC: 79 SC: NPC InfernalArcher 2 SZ: 18 SC: 171 SC: 84 SC: NPC InfernalArcher 2 SZ: 19 SC: 161 SC: 89 SC: NPC InfernalArcher 2 SZ: 20 SC: 150 SC: 87 SC: NPC InfernalArcher 2 SZ: 21 SC: 138 SC: 75 SC: NPC InfernalArcher 2 SZ: 22 SC: 160 SC: 44 SC: NPC InfernalArcher 2 SZ: 23 SC: 190 SC: 57 SC: NPC InfernalArcher 2 SZ: 24 SC: 188 SC: 60 SC: NPC InfernalArcher 2 SZ: 25 SC: 172 SC: 39 SC: NPC InfernalArcher 2 SZ: 26 SC: 159 SC: 27 SC: NPC InfernalArcher 2 SZ: 27 SC: 163 SC: 30 SC: NPC InfernalArcher 2 SZ: 28 SC: 142 SC: 30 SC: NPC InfernalArcher 2 SZ: 29 SC: 125 SC: 46 SC: NPC InfernalArcher 2 SZ: 30 SC: 116 SC: 56 SC: NPC InfernalArcher 2 SZ: 31 SC: 111 SC: 61 SC: NPC InfernalArcher 2 SZ: 32 SC: 130 SC: 81 SC: NPC InfernalArcher 2 SZ: 33 SC: 241 SC: 41 SC: NPC InfernalArcher 2 SZ: 34 SC: 257 SC: 32 SC: NPC InfernalArcher 2 SZ: 35 SC: 254 SC: 27 SC: NPC InfernalArcher 2 SZ: 36 SC: 270 SC: 36 SC: NPC InfernalArcher 2 SZ: 37 SC: 275 SC: 31 SC: NPC InfernalArcher 2 SZ: 38 SC: 296 SC: 51 SC: NPC InfernalArcher 2 SZ: 39 SC: 291 SC: 56 SC: NPC InfernalArcher 2 SZ: 40 SC: 254 SC: 49 SC: NPC InfernalArcher 2 SZ: 41 SC: 252 SC: 55 SC: NPC InfernalArcher 2 SZ: 42 SC: 246 SC: 84 SC: NPC InfernalArcher 2 SZ: 43 SC: 261 SC: 98 SC: NPC InfernalArcher 2 SZ: 44 SC: 267 SC: 89 SC: NPC InfernalArcher 2 SZ: 45 SC: 257 SC: 82 SC: NPC RottenFlesh 2 SZ: 46 SC: 252 SC: 85 SC: NPC RottenFlesh 2 SZ: 47 SC: 244 SC: 71 SC: NPC RottenFlesh 2 SZ: 48 SC: 239 SC: 70 SC: NPC RottenFlesh 2 SZ: 49 SC: 239 SC: 65 SC: NPC RottenFlesh 2 SZ: 50 SC: 260 SC: 51 SC: NPC RottenFlesh 2 SZ: 51 SC: 259 SC: 60 SC: NPC RottenFlesh 2 SZ: 52 SC: 264 SC: 61 SC: NPC RottenFlesh 2 SZ: 53 SC: 266 SC: 52 SC: NPC RottenFlesh 2 SZ: 54 SC: 270 SC: 77 SC: NPC RottenFlesh 2 SZ: 55 SC: 272 SC: 80 SC: NPC RottenFlesh 2 SZ: 56 SC: 276 SC: 83 SC: NPC RottenFlesh 2 SZ: 57 SC: 279 SC: 85 SC: NPC RottenFlesh 2 SZ: 58 SC: 280 SC: 63 SC: NPC RottenFlesh 2 SZ: 59 SC: 283 SC: 66 SC: NPC RottenFlesh 2 SZ: 60 SC: 284 SC: 70 SC: NPC RottenFlesh 2 SZ: 61 SC: 286 SC: 71 SC: NPC RottenFlesh 2 SZ: 62 SC: 290 SC: 74 SC: NPC RottenFlesh 2 SZ: 63 SC: 300 SC: 58 SC: NPC RottenFlesh 2 SZ: 64 SC: 297 SC: 59 SC: NPC RottenFlesh 2 SZ: 65 SC: 297 SC: 53 SC: NPC RottenFlesh 2 SZ: 66 SC: 285 SC: 41 SC: NPC RottenFlesh 2 SZ: 67 SC: 281 SC: 44 SC: NPC RottenFlesh 2 SZ: 68 SC: 280 SC: 38 SC: NPC RottenFlesh 2 SZ: 69 SC: 267 SC: 27 SC: NPC RottenFlesh 2 SZ: 70 SC: 256 SC: 28 SC: NPC RottenFlesh 2 SZ: 71 SC: 255 SC: 34 SC: NPC RottenFlesh 2 SZ: 72 SC: 242 SC: 42 SC: NPC RottenFlesh 2 SZ: 73 SC: 240 SC: 49 SC: NPC RottenFlesh 2 SZ: 74 SC: 229 SC: 56 SC: NPC RottenFlesh 2 SZ: 75 SC: 190 SC: 59 SC: NPC RottenFlesh 2 SZ: 76 SC: 184 SC: 53 SC: NPC RottenFlesh 2 SZ: 77 SC: 174 SC: 60 SC: NPC RottenFlesh 2 SZ: 78 SC: 171 SC: 40 SC: NPC RottenFlesh 2 SZ: 79 SC: 161 SC: 32 SC: NPC RottenFlesh 2 SZ: 80 SC: 147 SC: 38 SC: NPC RottenFlesh 2 SZ: 81 SC: 144 SC: 30 SC: NPC RottenFlesh 2 SZ: 82 SC: 129 SC: 42 SC: NPC RottenFlesh 2 SZ: 83 SC: 113 SC: 60 SC: NPC RottenFlesh 2 SZ: 84 SC: 130 SC: 82 SC: NPC RottenFlesh 2 SZ: 85 SC: 138 SC: 87 SC: NPC SkeletonMelee 2 SZ: 86 SC: 111 SC: 60 SC: NPC SkeletonMelee 2 SZ: 87 SC: 136 SC: 54 SC: NPC SkeletonMelee 2 SZ: 88 SC: 137 SC: 34 SC: NPC SkeletonMelee 2 SZ: 89 SC: 155 SC: 40 SC: NPC SkeletonMelee 2 SZ: 90 SC: 152 SC: 21 SC: NPC SkeletonMelee 2 SZ: 91 SC: 170 SC: 42 SC: NPC SkeletonMelee 2 SZ: 92 SC: 171 SC: 70 SC: NPC SkeletonMelee 2 SZ: 93 SC: 159 SC: 59 SC: NPC SkeletonMelee 2 SZ: 94 SC: 144 SC: 76 SC: NPC SkeletonMelee 2 SZ: 95 SC: 141 SC: 67 SC: NPC SkeletonMelee 2 SZ: 96 SC: 245 SC: 74 SC: NPC SkeletonMelee 2 SZ: 97 SC: 244 SC: 83 SC: NPC SkeletonMelee 2 SZ: 98 SC: 249 SC: 82 SC: NPC SkeletonMelee 2 SZ: 99 SC: 269 SC: 97 SC: NPC SkeletonMelee 2 SZ: 100 SC: 269 SC: 51 SC: NPC SkeletonMelee 2 SZ: 101 SC: 262 SC: 48 SC: NPC SkeletonMelee 2 SZ: 102 SC: 292 SC: 50 SC: NPC SkeletonMelee 2 SZ: 103 SC: 280 SC: 37 SC: NPC SkeletonMelee 2 SZ: 104 SC: 257 SC: 29 SC: NPC SkeletonMelee 2 SZ: 105 SC: 245 SC: 42 SC: NPC SkeletonMelee 2 SZ: 107 SC: 39 SC: 44 SC: NPC NeutralGuard 0 SZ: 108 SC: 41 SC: 114 SC: NPC NeutralGuard 0';
limitData = '0:0:23:15_24:0:50:15_51:0:79:15_80:1:99:13_100:0:106:3_106:0:113:3';
if (quesInv[3] == 1 || quesInv[3] > 3) {
changeZone('NPC Morgana 0', 'NPC Nosferatu 2');
} else {
area.push(new Array(17350, 1425, 15625, 'OPENDIALOGPJ Morgana'));
}
if (quesInv[8] != 1) {
zoneData += ' SZ: 109 SC: 418 SC: 13 SC: NPC Reginald 0';
}
}
function setMap007() {
terrainData = '2,2,2,125,124,127,126,2,2,2,2,2,2,2,2,2,122,134,135,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3;2,125,147,127,126,2,2,2,2,2,2,2,2,2,2,2,2,140,135,2,2,2,2,2,1,1,1,1,11,11,11,11,1,1,1,1,1,1,1,1,1,1,3,3;137,136,126,2,2,2,2,142,120,121,2,2,2,2,2,2,2,138,144,2,2,2,2,2,1,1,11,11,11,11,11,11,11,11,1,1,1,1,1,1,1,1,3,3;145,139,2,2,2,2,2,2,122,134,135,2,2,2,2,2,2,2,2,2,125,124,143,2,1,1,11,11,11,11,11,11,11,11,1,1,1,1,1,1,1,1,3,3;2,2,2,2,2,2,2,2,2,140,135,2,2,2,2,2,2,2,2,142,127,126,2,125,1,1,1,1,11,11,11,11,1,1,1,1,1,1,1,1,1,1,3,3;2,55,54,112,50,54,50,51,2,138,144,2,2,2,2,2,2,2,2,2,2,125,124,127,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3;67,66,56,4,52,56,52,53,50,51,2,2,55,54,50,51,2,2,2,142,148,127,126,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3;2,63,62,61,4,4,58,61,52,64,65,67,57,56,52,53,50,51,2,2,2,2,2,2,1,1,155,171,150,151,155,154,150,151,1,1,1,1,1,1,1,1,3,3;2,2,2,63,62,59,60,63,113,60,2,67,111,4,4,4,52,64,65,2,2,2,2,2,1,168,169,156,152,153,157,156,152,167,166,1,1,1,1,1,1,1,3,3;2,2,2,2,2,2,2,2,2,2,2,2,63,62,61,4,4,68,50,51,142,120,121,2,1,1,163,162,161,3,3,158,159,160,1,1,1,1,1,1,1,1,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,67,111,4,4,4,52,64,65,122,123,120,1,1,1,1,163,162,159,160,1,1,1,1,1,1,1,1,1,1,3,3;2,2,125,124,143,2,2,2,2,2,2,2,55,54,69,4,4,58,59,60,2,2,2,122,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3;2,137,136,126,2,2,2,2,2,2,55,54,57,56,4,58,59,60,2,2,2,2,2,128,1,1,155,171,150,151,1,1,1,1,1,1,1,1,1,1,1,1,3,3;125,124,139,2,2,2,2,2,2,67,66,56,4,58,59,60,2,2,2,2,2,128,129,130,1,168,169,156,152,153,150,151,1,1,1,1,1,1,1,1,1,1,3,3;127,126,2,2,2,2,2,2,2,2,63,62,59,60,2,2,2,2,2,2,2,138,144,2,1,1,163,162,161,3,152,153,150,151,1,1,1,1,1,1,1,1,3,3;133,132,131,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,168,165,3,3,3,152,153,170,151,1,1,1,1,1,1,3,3;2,2,133,149,132,131,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,155,154,165,3,3,3,3,3,152,167,166,1,1,1,1,1,3,3;2,2,2,2,142,139,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,168,169,156,3,158,161,3,3,158,159,160,1,1,1,1,1,1,3,3;132,131,2,2,2,2,2,128,131,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,163,162,159,160,163,162,159,160,1,1,1,1,1,1,1,1,3,3;137,141,2,2,2,128,129,130,133,149,132,131,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3;2,133,132,131,2,138,143,2,2,2,137,141,2,2,2,2,2,2,2,2,2,2,2,2,1,1,155,154,170,151,1,1,1,1,1,1,1,1,1,1,1,1,3,3;2,125,147,139,2,2,2,2,2,2,145,139,2,2,2,2,2,2,2,2,2,2,2,2,1,168,169,156,152,167,166,1,1,1,1,1,1,1,1,1,1,1,3,3;137,136,126,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,163,162,159,160,1,1,1,1,1,1,1,1,1,1,1,1,3,3;2,133,132,131,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3';
waterData = '4';
objectData = '21:false::1:78:186:1:0:0::_21:false::1:50:76:1:0:0::_62:false::1:92:10:1:0:0::_75:false::1:83:15:-2:0:0::_61:false::1,2,3,4:83:15:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1,FREE 1/2 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1,NOFREE 1/2_180:false::1:112:8:-2:0:0::_180:false::1:104:16:-2:0:0::_182:false::1:108:16:-2:0:0::_182:false::1:116:8:-2:0:0::_183:false::1:120:8:-2:0:0::_183:false::1:128:16:-2:0:0::_181:false::1:124:8:-2:0:0::_181:false::1:132:16:-2:0:0::_185:false::1:108:24:-2:0:0::_185:false::1:116:32:-2:0:0::_186:false::1:124:32:-2:0:0::_186:false::1:132:24:-2:0:0::_187:false::1:112:32:-2:0:0::_187:false::1:104:24:-2:0:0::_184:false::1:128:24:-2:0:0::_184:false::1:120:32:-2:0:0::_151:false::1:122:37:1:0:0::_150:false::1:125:35:1:0:0::_150:false::1:127:33:1:0:0::_150:false::1:129:31:1:0:0::_150:false::1:131:29:1:0:0::_150:false::1:133:27:1:0:0::_150:false::1:135:25:1:0:0::_151:false::1:120:35:1:0:0::_151:false::1:118:33:1:0:0::_151:false::1:112:27:1:0:0::_151:false::1:110:25:1:0:0::_154:false::1:138:22:1:0:0::_151:false::1:137:20:1:0:0::_151:false::1:135:18:1:0:0::_151:false::1:133:16:1:0:0::_151:false::1:131:14:1:0:0::_151:false::1:129:12:1:0:0::_151:false::1:127:10:1:0:0::_151:false::1:125:8:1:0:0::_151:false::1:124:7:1:0:0::_150:false::1:121:7:1:0:0::_150:false::1:117:11:1:0:0::_150:false::1:115:13:1:0:0::_150:false::1:113:15:1:0:0::_150:false::1:111:17:1:0:0::_150:false::1:109:19:1:0:0::_150:false::1:108:20:1:0:0::_155:false::1:105:22:1:0:0::_151:false::1:109:24:1:0:0::_150:false::1:136:24:1:0:0::_152:false::1:112:28:1:0:0::_153:false::1:113:32:1:0:0::_153:false::1:111:20:1:0:0::_152:false::1:114:20:1:0:0::_152:false::1:123:29:1:0:0::_153:false::1:120:29:1:0:0::_95:false::1:103:22:1:0:0::_95:false::1:105:20:1:0:0::_94:false::1:130:21:1:0:0::_94:false::1:128:19:1:0:0::_83:false::1:107:22:1:0:0::_86:false::1:108:20:1:0:0::_89:false::1:107:21:1:0:0::_90:false::1:106:22:1:0:0::_89:false::1:129:20:1:0:0::_89:false::1:129:21:1:0:0::_81:false::1:120:9:1:0:0::_150:false::1:119:9:1:0:0::_98:false::1:122:11:1:0:0::_91:false::1:118:11:1:0:0::_91:false::1:118:12:1:0:0::_90:false::1:119:12:1:0:0::_150:false::1:123:37:1:0:0::_35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:107.8:22:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:114.8:29:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:120.8:26.6:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:111.8:17.6:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._153:false::1:127:22:1:0:0::_153:false::1:118:13:1:0:0::_152:false::1:121:13:1:0:0::_152:false::1:130:22:1:0:0::_33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:118.8:10.6:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:127.8:19.6:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._21:false::1:31:154:1:0:0::_21:false::1:35:185:1:0:0::_21:false::1:4:190:1:0:0::_21:false::1:2:163:1:0:0::_21:false::1:6:132:1:0:0::_21:false::1:12:98:1:0:0::_21:false::1:5:11:1:0:0::_21:false::1:24:5:1:0:0::_21:false::1:29:27:1:0:0::_21:false::1:24:83:1:0:0::_21:false::1:29:106:1:0:0::_21:false::1:46:147:1:0:0::_21:false::1:49:120:1:0:0::_21:false::1:46:92:1:0:0::_21:false::1:42:21:1:0:0::_21:false::1:62:4:1:0:0::_21:false::1:63:49:1:0:0::_21:false::1:77:11:1:0:0::_21:false::1:93:56:1:0:0::_21:false::1:91:75:1:0:0::_21:false::1:92:111:1:0:0::_21:false::1:70:104:1:0:0::_21:false::1:58:175:1:0:0::_21:false::1:55:153:1:0:0::_20:false::1:55:128:1:0:0::_20:false::1:63:160:1:0:0::_20:false::1:94:156:1:0:0::_20:false::1:89:103:1:0:0::_20:false::1:89:63:1:0:0::_20:false::1:54:11:1:0:0::_20:false::1:8:62:1:0:0::_20:false::1:20:12:1:0:0::_22:false::1:32:70:1:0:0::_22:false::1:31:97:1:0:0::_22:false::1:24:154:1:0:0::_22:false::1:29:177:1:0:0::_22:false::1:71:175:1:0:0::_22:false::1:64:189:1:0:0::_22:false::1:88:141:1:0:0::_22:false::1:83:134:1:0:0::_22:false::1:92:24:1:0:0::_22:false::1:10:4:1:0:0::_22:false::1:7:68:1:0:0::_22:false::1:2:103:1:0:0::_23:false::1:5:88:1:0:0::_23:false::1:64:8:1:0:0::_23:false::1:90:87:1:0:0::_23:false::1:91:125:1:0:0::_23:false::1:70:190:1:0:0::_23:false::1:7:138:1:0:0::_23:false::1:7:166:1:0:0::_36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:140:138:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:132:146:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:107:146:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:107:114:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:119:105:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:135:121:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:118:168:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:107:178:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:107:74:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:115:82:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:132:74:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:120:65:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._30:false::1,2,3,4:107:173:1:0:2:ANY CLVL;ANY CLVL;ANY CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_30:false::1,2,3,4:108:172:1:0:2:GOLD+ CLVL;GOLD+ CLVL;GOLD+ CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2';
zoneData = '0 SC: 84 SC: 168 SC: START SZ: 1 SC: 111 SC: 30 SC: TELEPORT 83/16 SZ: 1 SC: 83 SC: 16 SC: TELEPORT 111/30 SZ: 2 SC: 112 SC: 31 SC: TELEPORT 84/17 SZ: 2 SC: 84 SC: 17 SC: TELEPORT 112/31 SZ: 3 SC: 109 SC: 102 SC: TELEPORT 9/173 SZ: 3 SC: 9 SC: 173 SC: TELEPORT 109/102 SZ: 4 SC: 114 SC: 166 SC: TELEPORT 138/126 SZ: 4 SC: 138 SC: 126 SC: TELEPORT 114/166 SZ: 5 SC: 9 SC: 13 SC: TELEPORT 109/62 SZ: 5 SC: 109 SC: 62 SC: TELEPORT 9/13 SZ: 6 SC: 110 SC: 173 SC: NPC ArmoredZombie 2 SZ: 7 SC: 113 SC: 176 SC: NPC ArmoredZombie 2 SZ: 8 SC: 116 SC: 75 SC: NPC ArmoredZombie 2 SZ: 9 SC: 40 SC: 69 SC: NPC ArmoredZombie 2 SZ: 10 SC: 44 SC: 72 SC: NPC SkeletonMelee 2 SZ: 11 SC: 36 SC: 72 SC: NPC SkeletonMelee 2 SZ: 12 SC: 30 SC: 71 SC: NPC SkeletonMelee 2 SZ: 13 SC: 28 SC: 86 SC: NPC SkeletonMelee 2 SZ: 14 SC: 17 SC: 97 SC: NPC SkeletonMelee 2 SZ: 15 SC: 11 SC: 123 SC: NPC SkeletonMelee 2 SZ: 16 SC: 16 SC: 119 SC: NPC SkeletonMelee 2 SZ: 17 SC: 16 SC: 129 SC: NPC SkeletonMelee 2 SZ: 18 SC: 21 SC: 145 SC: NPC SkeletonMelee 2 SZ: 19 SC: 15 SC: 145 SC: NPC SkeletonMelee 2 SZ: 20 SC: 16 SC: 136 SC: NPC SkeletonMelee 2 SZ: 21 SC: 3 SC: 136 SC: NPC SkeletonMelee 2 SZ: 22 SC: 2 SC: 133 SC: NPC SkeletonMelee 2 SZ: 23 SC: 35 SC: 134 SC: NPC SkeletonMelee 2 SZ: 24 SC: 34 SC: 139 SC: NPC SkeletonMelee 2 SZ: 25 SC: 40 SC: 142 SC: NPC SkeletonMelee 2 SZ: 26 SC: 40 SC: 135 SC: NPC SkeletonMelee 2 SZ: 27 SC: 38 SC: 120 SC: NPC SkeletonMelee 2 SZ: 28 SC: 35 SC: 109 SC: NPC SkeletonMelee 2 SZ: 29 SC: 33 SC: 109 SC: NPC SkeletonMelee 2 SZ: 30 SC: 51 SC: 131 SC: NPC SkeletonMelee 2 SZ: 31 SC: 55 SC: 133 SC: NPC SkeletonMelee 2 SZ: 32 SC: 57 SC: 125 SC: NPC SkeletonMelee 2 SZ: 33 SC: 66 SC: 115 SC: NPC SkeletonMelee 2 SZ: 34 SC: 70 SC: 118 SC: NPC SkeletonMelee 2 SZ: 35 SC: 83 SC: 103 SC: NPC SkeletonMelee 2 SZ: 36 SC: 86 SC: 105 SC: NPC SkeletonMelee 2 SZ: 37 SC: 89 SC: 86 SC: NPC SkeletonMelee 2 SZ: 38 SC: 84 SC: 82 SC: NPC SkeletonMelee 2 SZ: 39 SC: 77 SC: 70 SC: NPC SkeletonMelee 2 SZ: 40 SC: 58 SC: 9 SC: NPC SkeletonMelee 2 SZ: 41 SC: 56 SC: 12 SC: NPC SkeletonMelee 2 SZ: 42 SC: 60 SC: 16 SC: NPC SkeletonMelee 2 SZ: 43 SC: 60 SC: 5 SC: NPC SkeletonMelee 2 SZ: 44 SC: 45 SC: 4 SC: NPC SkeletonMelee 2 SZ: 45 SC: 40 SC: 4 SC: NPC SkeletonMelee 2 SZ: 46 SC: 33 SC: 4 SC: NPC SkeletonMelee 2 SZ: 47 SC: 28 SC: 8 SC: NPC SkeletonMelee 2 SZ: 48 SC: 22 SC: 13 SC: NPC SkeletonMelee 2 SZ: 49 SC: 17 SC: 17 SC: NPC SkeletonMelee 2 SZ: 50 SC: 12 SC: 19 SC: NPC SkeletonMelee 2 SZ: 51 SC: 7 SC: 21 SC: NPC SkeletonMelee 2 SZ: 52 SC: 9 SC: 36 SC: NPC SkeletonMelee 2 SZ: 53 SC: 3 SC: 66 SC: NPC SkeletonMelee 2 SZ: 54 SC: 2 SC: 73 SC: NPC SkeletonMelee 2 SZ: 55 SC: 18 SC: 74 SC: NPC SkeletonMelee 2 SZ: 56 SC: 112 SC: 68 SC: NPC SkeletonMelee 2 SZ: 57 SC: 110 SC: 71 SC: NPC SkeletonMelee 2 SZ: 58 SC: 117 SC: 76 SC: NPC SkeletonMelee 2 SZ: 59 SC: 126 SC: 68 SC: NPC SkeletonMelee 2 SZ: 60 SC: 123 SC: 74 SC: NPC SkeletonMelee 2 SZ: 62 SC: 130 SC: 69 SC: NPC SkeletonMelee 2 SZ: 63 SC: 112 SC: 108 SC: NPC SkeletonMelee 2 SZ: 64 SC: 109 SC: 111 SC: NPC SkeletonMelee 2 SZ: 65 SC: 114 SC: 114 SC: NPC SkeletonMelee 2 SZ: 66 SC: 117 SC: 112 SC: NPC SkeletonMelee 2 SZ: 67 SC: 114 SC: 129 SC: NPC SkeletonMelee 2 SZ: 68 SC: 118 SC: 125 SC: NPC SkeletonMelee 2 SZ: 69 SC: 130 SC: 125 SC: NPC SkeletonMelee 2 SZ: 70 SC: 132 SC: 130 SC: NPC SkeletonMelee 2 SZ: 71 SC: 128 SC: 134 SC: NPC SkeletonMelee 2 SZ: 72 SC: 127 SC: 145 SC: NPC SkeletonMelee 2 SZ: 73 SC: 111 SC: 140 SC: NPC SkeletonMelee 2 SZ: 74 SC: 111 SC: 145 SC: NPC SkeletonMelee 2 SZ: 75 SC: 113 SC: 137 SC: NPC Zombie 2 SZ: 76 SC: 116 SC: 137 SC: NPC Zombie 2 SZ: 77 SC: 114 SC: 125 SC: NPC Zombie 2 SZ: 78 SC: 121 SC: 114 SC: NPC Zombie 2 SZ: 79 SC: 108 SC: 110 SC: NPC Zombie 2 SZ: 80 SC: 112 SC: 107 SC: NPC Zombie 2 SZ: 81 SC: 117 SC: 70 SC: NPC Zombie 2 SZ: 82 SC: 121 SC: 80 SC: NPC Zombie 2 SZ: 83 SC: 129 SC: 70 SC: NPC Zombie 2 SZ: 84 SC: 73 SC: 24 SC: NPC Zombie 2 SZ: 85 SC: 76 SC: 20 SC: NPC Zombie 2 SZ: 86 SC: 80 SC: 27 SC: NPC Zombie 2 SZ: 87 SC: 65 SC: 13 SC: NPC Zombie 2 SZ: 88 SC: 64 SC: 7 SC: NPC Zombie 2 SZ: 89 SC: 56 SC: 11 SC: NPC Zombie 2 SZ: 90 SC: 56 SC: 19 SC: NPC Zombie 2 SZ: 91 SC: 37 SC: 8 SC: NPC Zombie 2 SZ: 92 SC: 21 SC: 12 SC: NPC Zombie 2 SZ: 93 SC: 21 SC: 18 SC: NPC Zombie 2 SZ: 94 SC: 5 SC: 37 SC: NPC Zombie 2 SZ: 95 SC: 10 SC: 36 SC: NPC Zombie 2 SZ: 96 SC: 4 SC: 72 SC: NPC Zombie 2 SZ: 97 SC: 10 SC: 75 SC: NPC Zombie 2 SZ: 98 SC: 9 SC: 102 SC: NPC Zombie 2 SZ: 99 SC: 26 SC: 87 SC: NPC Zombie 2 SZ: 100 SC: 40 SC: 89 SC: NPC Zombie 2 SZ: 101 SC: 42 SC: 68 SC: NPC Zombie 2 SZ: 102 SC: 40 SC: 120 SC: NPC Zombie 2 SZ: 103 SC: 35 SC: 122 SC: NPC Zombie 2 SZ: 104 SC: 25 SC: 135 SC: NPC Zombie 2 SZ: 105 SC: 14 SC: 137 SC: NPC Zombie 2 SZ: 106 SC: 10 SC: 154 SC: NPC Zombie 2 SZ: 107 SC: 15 SC: 162 SC: NPC Zombie 2 SZ: 108 SC: 30 SC: 161 SC: NPC Zombie 2 SZ: 109 SC: 39 SC: 160 SC: NPC Zombie 2 SZ: 110 SC: 43 SC: 147 SC: NPC Zombie 2 SZ: 111 SC: 44 SC: 123 SC: NPC Zombie 2 SZ: 112 SC: 58 SC: 187 SC: NPC Zombie 2 SZ: 113 SC: 58 SC: 122 SC: NPC Zombie 2 SZ: 114 SC: 61 SC: 119 SC: NPC Zombie 2 SZ: 115 SC: 65 SC: 109 SC: NPC Zombie 2 SZ: 116 SC: 85 SC: 105 SC: NPC Zombie 2 SZ: 117 SC: 86 SC: 83 SC: NPC Zombie 2 SZ: 118 SC: 85 SC: 38 SC: NPC Zombie 2 SZ: 119 SC: 78 SC: 40 SC: NPC Zombie 2 SZ: 120 SC: 79 SC: 66 SC: NPC Zombie 2 SZ: 121 SC: 78 SC: 14 SC: NPC Golem 1 SZ: 122 SC: 84 SC: 23 SC: NPC Golem 1 SZ: 123 SC: 120 SC: 19 SC: NPC Dargolus 0';
limitData = '0:0:23:23_24:0:35:6_24:6:36:11_24:11:38:23';
}
function setMap008() {
terrainData = '2,2,2,2,2,2,125,124,127,126,72,73,70,71,2,2,2,2,2,2,1,1,1,155,171,150,151,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,125,124,148,127,126,2,2,2,2,72,73,85,84,2,2,2,2,1,1,168,169,156,152,153,150,151,155,154,170,151,1,1,1,1,1,1,1,1,1,1,1,1,155,154,170,151,1,1,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,125,147,127,126,2,2,125,124,143,2,2,2,2,87,86,2,2,2,2,1,1,1,163,162,161,3,152,153,157,156,152,167,166,1,1,1,1,1,155,154,150,151,155,154,157,156,152,167,166,1,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;137,136,126,2,2,125,124,127,126,2,2,2,75,74,89,88,2,2,2,2,1,1,1,155,171,165,3,3,3,3,158,159,160,1,1,1,1,155,154,157,156,152,153,157,156,3,158,159,160,1,1,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,133,149,132,142,127,126,2,2,2,75,74,77,76,2,2,2,2,2,2,1,1,168,169,156,3,3,3,158,159,160,1,1,1,1,1,168,157,156,3,158,161,3,3,158,159,160,1,1,1,1,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,137,141,2,2,2,75,74,77,76,2,2,2,2,2,2,128,129,1,1,1,163,162,159,162,159,160,1,1,1,1,1,1,1,1,163,162,159,160,163,162,159,160,1,1,1,1,1,1,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,125,124,139,2,78,79,77,76,2,2,2,2,2,2,128,129,130,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;125,124,127,126,2,2,80,81,2,2,2,2,2,2,2,2,138,120,121,2,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;127,126,2,2,2,2,82,83,70,71,2,2,2,2,2,2,2,122,123,135,1,1,1,155,171,150,151,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,55,54,112,50,51,2,2,72,73,70,71,2,2,2,2,128,129,130,2,1,1,168,169,156,152,153,150,151,1,1,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;67,66,56,4,52,64,65,2,2,2,72,73,85,84,2,2,138,120,121,2,1,1,1,163,162,161,3,152,167,166,1,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,63,113,62,59,60,2,2,2,2,2,2,87,86,2,2,2,122,123,135,1,1,1,155,154,165,158,159,160,1,1,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,106,107,2,2,75,74,89,88,2,2,128,129,130,2,1,1,168,169,156,3,164,150,151,1,1,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,75,74,108,109,102,103,77,76,2,128,129,149,130,2,2,2,1,1,1,163,162,161,3,152,167,166,1,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,75,74,77,76,2,2,104,105,2,128,129,130,2,2,2,2,2,2,1,1,1,1,1,163,162,159,160,1,1,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;78,79,77,76,2,2,128,129,149,132,131,138,120,121,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;80,81,2,2,128,129,130,2,2,145,139,2,122,123,120,121,2,2,2,2,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;82,83,85,84,138,143,2,2,2,2,2,2,2,2,122,134,135,2,2,2,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,87,86,2,2,2,2,2,2,2,2,2,128,129,130,2,2,2,2,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;75,74,89,88,2,2,2,2,2,2,2,128,129,130,2,2,2,2,2,2,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3';
waterData = '4';
objectData = '21:false::1:13:11:1:0:0::_21:false::1:5:41:1:0:0::_21:false::1:14:59:1:0:0::_21:false::1:3:109:1:0:0::_21:false::1:3:148:1:0:0::_21:false::1:18:155:1:0:0::_21:false::1:15:132:1:0:0::_21:false::1:21:93:1:0:0::_21:false::1:17:66:1:0:0::_21:false::1:33:13:1:0:0::_21:false::1:63:3:1:0:0::_21:false::1:73:31:1:0:0::_21:false::1:77:52:1:0:0::_21:false::1:63:72:1:0:0::_21:false::1:76:97:1:0:0::_21:false::1:59:113:1:0:0::_21:false::1:60:84:1:0:0::_21:false::1:43:137:1:0:0::_21:false::1:68:145:1:0:0::_21:false::1:77:127:1:0:0::_21:false::1:55:123:1:0:0::_21:false::1:45:62:1:0:0::_20:false::1:2:8:1:0:0::_20:false::1:22:71:1:0:0::_20:false::1:33:149:1:0:0::_20:false::1:64:151:1:0:0::_20:false::1:64:57:1:0:0::_20:false::1:69:13:1:0:0::_22:false::1:3:118:1:0:0::_22:false::1:2:53:1:0:0::_22:false::1:2:17:1:0:0::_22:false::1:34:3:1:0:0::_22:false::1:74:20:1:0:0::_22:false::1:75:153:1:0:0::_22:false::1:33:156:1:0:0::_23:false::1:41:122:1:0:0::_23:false::1:40:93:1:0:0::_23:false::1:22:98:1:0:0::_23:false::1:9:39:1:0:0::_23:false::1:0:97:1:0:0::_23:false::1:20:158:1:0:0::_23:false::1:53:158:1:0:0::_23:false::1:33:62:1:0:0::_23:false::1:45:70:1:0:0::_22:false::1:41:16:1:0:0::_176:false::1:100:7:0:0:0::_176:false::1:108:15:0:0:0::_176:false::1:123:14:0:0:0::_176:false::1:99:29:0:0:0::_176:false::1:92:78:0:0:0::_176:false::1:94:76:0:0:0::_176:false::1:101:72:0:0:0::_176:false::1:110:82:0:0:0::_176:false::1:111:107:0:0:0::_176:false::1:108:103:0:0:0::_176:false::1:94:101:0:0:0::_176:false::1:149:38:0:0:0::_176:false::1:150:37:0:0:0::_176:false::1:160:27:0:0:0::_176:false::1:164:23:0:0:0::_176:false::1:177:26:0:0:0::_176:false::1:194:20:0:0:0::_176:false::1:193:18:0:0:0::_176:false::1:186:16:0:0:0::_177:false::1:195:20:0:0:0::_177:false::1:186:13:0:0:0::_177:false::1:183:19:0:0:0::_177:false::1:163:20:0:0:0::_177:false::1:160:24:0:0:0::_177:false::1:149:35:0:0:0::_177:false::1:90:38:0:0:0::_177:false::1:90:14:0:0:0::_177:false::1:100:4:0:0:0::_177:false::1:103:9:0:0:0::_177:false::1:123:12:0:0:0::_178:false::1:92:14:0:0:0::_178:false::1:108:12:0:0:0::_178:false::1:133:21:0:0:0::_178:false::1:101:69:0:0:0::_178:false::1:93:75:0:0:0::_178:false::1:110:79:0:0:0::_178:false::1:117:86:0:0:0::_178:false::1:112:106:0:0:0::_178:false::1:90:102:0:0:0::_177:false::1:94:96:0:0:0::_177:false::1:90:100:0:0:0::_177:false::1:99:68:0:0:0::_30:false::1,2,3,4:154:34:1:0:2:GOOD CLVL;ANY CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_30:false::1,2,3,4:155:33:1:0:2:GOOD CLVL;ANY CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_31:false::1,2,3,4:116:110:1:0:2:ANY CLVL;ANY CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_31:false::1,2,3,4:115:109:1:0:2:GOLD+ CLVL;GOLD+ CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_31:false::1,2,3,4:114:108:1:0:2:GOLD+ CLVL;GOLD+ CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2';
zoneData = '0 SC: 7 SC: 155 SC: START SZ: 1 SC: 126 SC: 14 SC: TELEPORT 190/14 SZ: 1 SC: 190 SC: 14 SC: TELEPORT 126/14 SZ: 2 SC: 97 SC: 70 SC: TELEPORT 97/30 SZ: 2 SC: 97 SC: 30 SC: TELEPORT 97/70 SZ: 3 SC: 9 SC: 21 SC: TELEPORT 97/6 SZ: 3 SC: 97 SC: 6 SC: TELEPORT 9/21 SZ: 4 SC: 6 SC: 125 SC: NPC Demon 2 SZ: 5 SC: 52 SC: 9 SC: NPC Demon 2 SZ: 6 SC: 107 SC: 25 SC: NPC Tarantula 2 SZ: 7 SC: 101 SC: 99 SC: NPC Tarantula 2 SZ: 8 SC: 106 SC: 93 SC: NPC Tarantula 2 SZ: 9 SC: 162 SC: 30 SC: NPC Tarantula 2 SZ: 10 SC: 159 SC: 36 SC: NPC Tarantula 2 SZ: 11 SC: 152 SC: 39 SC: NPC GiantSpider 2 SZ: 12 SC: 156 SC: 32 SC: NPC GiantSpider 2 SZ: 13 SC: 155 SC: 42 SC: NPC GiantSpider 2 SZ: 14 SC: 170 SC: 37 SC: NPC GiantSpider 2 SZ: 15 SC: 174 SC: 40 SC: NPC GiantSpider 2 SZ: 16 SC: 175 SC: 30 SC: NPC GiantSpider 2 SZ: 17 SC: 183 SC: 30 SC: NPC GiantSpider 2 SZ: 18 SC: 186 SC: 26 SC: NPC GiantSpider 2 SZ: 19 SC: 184 SC: 22 SC: NPC GiantSpider 2 SZ: 20 SC: 123 SC: 23 SC: NPC GiantSpider 2 SZ: 21 SC: 118 SC: 29 SC: NPC GiantSpider 2 SZ: 22 SC: 116 SC: 34 SC: NPC GiantSpider 2 SZ: 23 SC: 109 SC: 24 SC: NPC GiantSpider 2 SZ: 25 SC: 100 SC: 11 SC: NPC GiantSpider 2 SZ: 26 SC: 96 SC: 14 SC: NPC GiantSpider 2 SZ: 27 SC: 98 SC: 38 SC: NPC GiantSpider 2 SZ: 28 SC: 98 SC: 79 SC: NPC GiantSpider 2 SZ: 29 SC: 101 SC: 101 SC: NPC GiantSpider 2 SZ: 30 SC: 98 SC: 105 SC: NPC GiantSpider 2 SZ: 31 SC: 104 SC: 111 SC: NPC GiantSpider 2 SZ: 32 SC: 8 SC: 68 SC: NPC GiantSpider 2 SZ: 33 SC: 2 SC: 74 SC: NPC GiantSpider 2 SZ: 34 SC: 9 SC: 106 SC: NPC GiantSpider 2 SZ: 35 SC: 28 SC: 153 SC: NPC GiantSpider 2 SZ: 36 SC: 25 SC: 143 SC: NPC GiantSpider 2 SZ: 37 SC: 44 SC: 150 SC: NPC GiantSpider 2 SZ: 38 SC: 50 SC: 130 SC: NPC GiantSpider 2 SZ: 39 SC: 66 SC: 98 SC: NPC GiantSpider 2 SZ: 40 SC: 58 SC: 58 SC: NPC GiantSpider 2 SZ: 41 SC: 63 SC: 9 SC: NPC GiantSpider 2 SZ: 42 SC: 38 SC: 31 SC: NPC GiantSpider 2 SZ: 43 SC: 39 SC: 9 SC: NPC SkeletonMelee 2 SZ: 44 SC: 51 SC: 15 SC: NPC SkeletonMelee 2 SZ: 45 SC: 59 SC: 8 SC: NPC SkeletonMelee 2 SZ: 46 SC: 63 SC: 20 SC: NPC SkeletonMelee 2 SZ: 47 SC: 69 SC: 46 SC: NPC SkeletonMelee 2 SZ: 48 SC: 51 SC: 48 SC: NPC SkeletonMelee 2 SZ: 49 SC: 55 SC: 67 SC: NPC SkeletonMelee 2 SZ: 50 SC: 52 SC: 66 SC: NPC SkeletonMelee 2 SZ: 51 SC: 49 SC: 79 SC: NPC SkeletonMelee 2 SZ: 52 SC: 56 SC: 93 SC: NPC SkeletonMelee 2 SZ: 53 SC: 50 SC: 88 SC: NPC SkeletonMelee 2 SZ: 54 SC: 50 SC: 98 SC: NPC SkeletonMelee 2 SZ: 55 SC: 48 SC: 113 SC: NPC SkeletonMelee 2 SZ: 56 SC: 35 SC: 108 SC: NPC SkeletonMelee 2 SZ: 57 SC: 34 SC: 98 SC: NPC SkeletonMelee 2 SZ: 58 SC: 20 SC: 102 SC: NPC SkeletonMelee 2 SZ: 59 SC: 21 SC: 112 SC: NPC SkeletonMelee 2 SZ: 60 SC: 13 SC: 137 SC: NPC SkeletonMelee 2 SZ: 61 SC: 2 SC: 119 SC: NPC SkeletonMelee 2 SZ: 62 SC: 8 SC: 94 SC: NPC SkeletonMelee 2 SZ: 63 SC: 7 SC: 66 SC: NPC SkeletonMelee 2 SZ: 64 SC: 27 SC: 68 SC: NPC SkeletonMelee 2 SZ: 65 SC: 34 SC: 34 SC: NPC SkeletonMelee 2 SZ: 66 SC: 22 SC: 17 SC: NPC SkeletonMelee 2 SZ: 67 SC: 56 SC: 142 SC: NPC SkeletonMelee 2';
limitData = '0:0:19:19_20:0:34:6_20:6:30:15_34:0:50:6';
if (quesInv[5] != 1) {
area.push(new Array(2300, 150, 810000, 'UPDATEQUEST 5 1'));
}
}
function setMap009() {
terrainData = '2,2,2,2,2,122,134,135,2,2,2,78,79,77,76,2,2,137,136,126,2,2,2,2,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3;2,2,2,2,128,129,130,2,2,2,2,80,81,2,2,2,2,137,141,2,2,128,131,2,1,1,9,9,9,9,1,1,3,3,3,3,3,3,3,3,3;2,128,129,149,130,2,2,2,2,2,2,82,83,70,71,2,2,2,133,132,129,130,133,132,1,1,9,9,9,9,9,1,3,3,3,3,3,3,3,3,3;129,130,2,2,2,2,2,2,2,2,2,2,2,72,73,70,71,2,2,2,2,2,2,2,1,1,1,1,9,9,1,1,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,128,131,2,2,72,73,70,71,2,2,2,2,2,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3;120,121,2,2,2,2,2,2,2,128,129,130,133,132,131,2,2,72,73,85,84,2,2,2,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3;122,123,120,121,2,2,2,128,129,130,2,2,2,145,139,106,107,2,2,87,86,2,2,2,1,1,9,9,9,9,1,1,3,3,3,3,3,3,3,3,3;2,2,122,123,120,121,2,140,135,2,2,2,2,75,74,108,109,102,103,89,88,2,2,2,1,1,9,9,9,9,1,1,3,3,3,3,3,3,3,3,3;2,2,2,2,122,134,135,138,144,2,2,75,74,77,76,2,2,104,105,2,2,2,2,2,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3;2,2,2,128,129,130,2,2,2,78,79,77,76,2,2,2,2,2,2,2,2,2,2,2,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,140,135,2,2,2,2,80,81,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,128,129,130,2,2,2,2,2,82,83,70,71,2,2,2,2,2,2,2,2,2,2,2,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;129,130,2,2,2,2,2,2,2,2,2,72,73,70,71,2,2,2,2,2,2,2,2,2,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,72,73,85,84,2,2,2,2,2,2,2,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,106,107,2,2,87,86,2,2,2,2,2,2,2,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,75,74,108,109,102,103,89,88,2,2,2,2,2,2,2,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,78,79,77,76,2,2,104,105,2,2,2,2,2,2,2,2,2,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,80,81,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,82,83,70,71,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,72,73,70,71,2,2,2,2,2,2,2,2,2,2,2,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,72,73,85,84,2,2,2,2,2,2,2,2,2,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,87,86,2,2,2,2,2,2,2,2,2,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,55,54,50,51,2,2,2,2,2,2,75,74,89,88,2,2,2,2,2,2,2,2,2,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;67,66,56,52,64,65,2,2,2,75,74,77,76,2,2,2,2,2,2,2,2,2,2,2,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3';
waterData = '4';
objectData = '27:false::1:55:156:1:0:0::_27:false::1:56:155:1:0:0::_27:false::1:57:154:1:0:0::_27:false::1:58:153:1:0:0::_27:false::1:59:152:1:0:0::_27:false::1:60:151:1:0:0::_27:false::1:61:150:1:0:0::_27:false::1:62:149:1:0:0::_27:false::1:63:148:1:0:0::_27:false::1:64:147:1:0:0::_27:false::1:46:166:1:0:0::_27:false::1:45:167:1:0:0::_27:false::1:44:168:1:0:0::_27:false::1:43:169:1:0:0::_27:false::1:42:170:1:0:0::_27:false::1:41:171:1:0:0::_27:false::1:40:172:1:0:0::_27:false::1:39:173:1:0:0::_27:false::1:38:174:1:0:0::_27:false::1:37:175:1:0:0::_26:false::1:36:175:1:0:0::_26:false::1:35:174:1:0:0::_26:false::1:34:173:1:0:0::_26:false::1:33:172:1:0:0::_26:false::1:32:171:1:0:0::_26:false::1:31:170:1:0:0::_26:false::1:30:169:1:0:0::_26:false::1:29:168:1:0:0::_26:false::1:28:167:1:0:0::_26:false::1:27:166:1:0:0::_26:false::1:65:147:1:0:0::_26:false::1:66:148:1:0:0::_26:false::1:67:149:1:0:0::_26:false::1:68:150:1:0:0::_26:false::1:69:151:1:0:0::_26:false::1:70:152:1:0:0::_26:false::1:71:153:1:0:0::_26:false::1:72:154:1:0:0::_26:false::1:73:155:1:0:0::_26:false::1:74:156:1:0:0::_27:false::1:75:156:1:0:0::_27:false::1:76:155:1:0:0::_27:false::1:78:153:1:0:0::_27:false::1:77:154:1:0:0::_27:false::1:79:152:1:0:0::_27:false::1:80:151:1:0:0::_27:false::1:81:150:1:0:0::_27:false::1:82:149:1:0:0::_27:false::1:83:148:1:0:0::_27:false::1:26:166:1:0:0::_27:false::1:25:167:1:0:0::_27:false::1:24:168:1:0:0::_27:false::1:23:169:1:0:0::_27:false::1:22:170:1:0:0::_27:false::1:21:171:1:0:0::_27:false::1:20:172:1:0:0::_27:false::1:19:173:1:0:0::_27:false::1:18:174:1:0:0::_27:false::1:17:175:1:0:0::_26:false::1:16:175:1:0:0::_26:false::1:15:174:1:0:0::_26:false::1:14:173:1:0:0::_26:false::1:13:172:1:0:0::_26:false::1:12:171:1:0:0::_26:false::1:7:166:1:0:0::_27:false::1:7:165:1:0:0::_27:false::1:8:164:1:0:0::_27:false::1:9:163:1:0:0::_27:false::1:10:162:1:0:0::_27:false::1:11:161:1:0:0::_27:false::1:12:160:1:0:0::_27:false::1:13:159:1:0:0::_27:false::1:14:158:1:0:0::_27:false::1:15:157:1:0:0::_27:false::1:16:156:1:0:0::_26:false::1:8:167:1:0:0::_26:false::1:9:168:1:0:0::_26:false::1:10:169:1:0:0::_26:false::1:11:170:1:0:0::_26:false::1:16:155:1:0:0::_26:false::1:15:154:1:0:0::_26:false::1:14:153:1:0:0::_26:false::1:13:152:1:0:0::_26:false::1:12:151:1:0:0::_26:false::1:11:150:1:0:0::_26:false::1:10:149:1:0:0::_26:false::1:9:148:1:0:0::_26:false::1:8:147:1:0:0::_26:false::1:7:146:1:0:0::_27:false::1:7:145:1:0:0::_27:false::1:8:144:1:0:0::_27:false::1:9:143:1:0:0::_27:false::1:10:142:1:0:0::_27:false::1:11:141:1:0:0::_27:false::1:12:140:1:0:0::_27:false::1:13:139:1:0:0::_27:false::1:14:138:1:0:0::_27:false::1:15:137:1:0:0::_27:false::1:16:136:1:0:0::_26:false::1:16:135:1:0:0::_26:false::1:15:134:1:0:0::_26:false::1:14:133:1:0:0::_26:false::1:13:132:1:0:0::_26:false::1:12:131:1:0:0::_26:false::1:11:130:1:0:0::_26:false::1:10:129:1:0:0::_26:false::1:9:128:1:0:0::_26:false::1:8:127:1:0:0::_26:false::1:7:126:1:0:0::_27:false::1:7:125:1:0:0::_27:false::1:8:124:1:0:0::_27:false::1:9:123:1:0:0::_27:false::1:10:122:1:0:0::_27:false::1:11:121:1:0:0::_27:false::1:12:120:1:0:0::_27:false::1:13:119:1:0:0::_27:false::1:14:118:1:0:0::_27:false::1:15:117:1:0:0::_27:false::1:16:116:1:0:0::_27:false::1:17:115:1:0:0::_27:false::1:18:114:1:0:0::_27:false::1:19:113:1:0:0::_27:false::1:20:112:1:0:0::_27:false::1:21:111:1:0:0::_27:false::1:22:110:1:0:0::_27:false::1:23:109:1:0:0::_27:false::1:24:108:1:0:0::_27:false::1:25:107:1:0:0::_27:false::1:26:106:1:0:0::_27:false::1:27:105:1:0:0::_27:false::1:28:104:1:0:0::_27:false::1:29:103:1:0:0::_27:false::1:30:102:1:0:0::_27:false::1:31:101:1:0:0::_27:false::1:32:100:1:0:0::_27:false::1:33:99:1:0:0::_27:false::1:34:98:1:0:0::_27:false::1:35:97:1:0:0::_27:false::1:36:96:1:0:0::_27:false::1:84:147:1:0:0::_27:false::1:85:146:1:0:0::_27:false::1:86:145:1:0:0::_27:false::1:87:144:1:0:0::_27:false::1:88:143:1:0:0::_27:false::1:89:142:1:0:0::_27:false::1:90:141:1:0:0::_27:false::1:91:140:1:0:0::_27:false::1:92:139:1:0:0::_27:false::1:93:138:1:0:0::_27:false::1:94:137:1:0:0::_27:false::1:95:136:1:0:0::_27:false::1:96:135:1:0:0::_26:false::1:96:134:1:0:0::_26:false::1:95:133:1:0:0::_26:false::1:94:132:1:0:0::_26:false::1:93:131:1:0:0::_26:false::1:92:130:1:0:0::_26:false::1:91:129:1:0:0::_26:false::1:90:128:1:0:0::_26:false::1:89:127:1:0:0::_26:false::1:88:126:1:0:0::_26:false::1:87:125:1:0:0::_27:false::1:87:124:1:0:0::_27:false::1:88:123:1:0:0::_27:false::1:89:122:1:0:0::_27:false::1:90:121:1:0:0::_27:false::1:91:120:1:0:0::_27:false::1:92:119:1:0:0::_27:false::1:93:118:1:0:0::_27:false::1:94:117:1:0:0::_27:false::1:95:116:1:0:0::_27:false::1:96:115:1:0:0::_26:false::1:96:114:1:0:0::_26:false::1:95:113:1:0:0::_26:false::1:94:112:1:0:0::_26:false::1:93:111:1:0:0::_26:false::1:92:110:1:0:0::_26:false::1:91:109:1:0:0::_26:false::1:90:108:1:0:0::_26:false::1:89:107:1:0:0::_26:false::1:88:106:1:0:0::_26:false::1:87:105:1:0:0::_27:false::1:87:104:1:0:0::_27:false::1:88:103:1:0:0::_27:false::1:89:102:1:0:0::_27:false::1:90:101:1:0:0::_27:false::1:91:100:1:0:0::_27:false::1:92:99:1:0:0::_27:false::1:93:98:1:0:0::_27:false::1:94:97:1:0:0::_27:false::1:95:96:1:0:0::_27:false::1:96:95:1:0:0::_26:false::1:96:94:1:0:0::_26:false::1:95:93:1:0:0::_26:false::1:94:92:1:0:0::_26:false::1:93:91:1:0:0::_26:false::1:92:90:1:0:0::_26:false::1:91:89:1:0:0::_26:false::1:90:88:1:0:0::_26:false::1:89:87:1:0:0::_26:false::1:88:86:1:0:0::_26:false::1:87:85:1:0:0::_26:false::1:86:84:1:0:0::_26:false::1:85:83:1:0:0::_26:false::1:84:82:1:0:0::_26:false::1:83:81:1:0:0::_26:false::1:82:80:1:0:0::_26:false::1:81:79:1:0:0::_26:false::1:80:78:1:0:0::_26:false::1:79:77:1:0:0::_26:false::1:78:76:1:0:0::_26:false::1:77:75:1:0:0::_26:false::1:76:74:1:0:0::_27:false::1:37:95:1:0:0::_27:false::1:38:94:1:0:0::_27:false::1:39:93:1:0:0::_27:false::1:40:92:1:0:0::_26:false::1:75:73:1:0:0::_26:false::1:74:72:1:0:0::_26:false::1:73:71:1:0:0::_26:false::1:72:70:1:0:0::_26:false::1:71:69:1:0:0::_26:false::1:70:68:1:0:0::_26:false::1:69:67:1:0:0::_26:false::1:68:66:1:0:0::_27:false::1:67:66:1:0:0::_27:false::1:66:67:1:0:0::_27:false::1:65:68:1:0:0::_27:false::1:64:69:1:0:0::_27:false::1:63:70:1:0:0::_27:false::1:62:71:1:0:0::_27:false::1:61:72:1:0:0::_27:false::1:60:73:1:0:0::_27:false::1:59:74:1:0:0::_27:false::1:58:75:1:0:0::_27:false::1:57:76:1:0:0::_27:false::1:56:77:1:0:0::_27:false::1:55:78:1:0:0::_27:false::1:54:79:1:0:0::_27:false::1:53:80:1:0:0::_27:false::1:52:81:1:0:0::_27:false::1:51:82:1:0:0::_27:false::1:50:83:1:0:0::_27:false::1:49:84:1:0:0::_27:false::1:48:85:1:0:0::_27:false::1:47:165:1:0:0::_27:false::1:54:157:1:0:0::_20:false::1:97:136:1:0:0::_50:false::1:9:165:1:0:0::_54:false::1:10:147:1:0:0::_55:false::1:21:143:1:0:0::_50:false::1:29:162:1:0:0::_50:false::1:16:158:1:0:0::_50:false::1:23:151:1:0:0::_50:false::1:10:125:1:0:0::_50:false::1:17:118:1:0:0::_50:false::1:24:111:1:0:0::_50:false::1:31:104:1:0:0::_52:false::1:54:146:1:0:0::_53:false::1:41:142:1:0:0::_98:false::1:48:148:1:0:0::_98:false::1:47:147:1:0:0::_98:false::1:46:146:1:0:0::_91:false::1:43:145:1:0:0::_91:false::1:42:145:1:0:0::_91:false::1:44:148:1:0:0::_91:false::1:43:148:1:0:0::_50:false::1:52:139:1:0:0::_50:false::1:17:132:1:0:0::_50:false::1:24:125:1:0:0::_50:false::1:31:118:1:0:0::_51:false::1:59:76:1:0:0::_51:false::1:52:83:1:0:0::_51:false::1:66:83:1:0:0::_51:false::1:73:90:1:0:0::_51:false::1:80:97:1:0:0::_51:false::1:59:90:1:0:0::_51:false::1:66:97:1:0:0::_51:false::1:73:104:1:0:0::_55:false::1:84:115:1:0:0::_54:false::1:73:119:1:0:0::_50:false::1:66:145:1:0:0::_50:false::1:77:134:1:0:0::_56:false::1,2,3,4:31:112:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_56:false::1,2,3,4:38:105:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_56:false::1,2,3,4:38:119:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_56:false::1,2,3,4:31:126:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_56:false::1,2,3,4:24:119:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_56:false::1,2,3,4:24:133:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_56:false::1,2,3,4:17:126:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_56:false::1,2,3,4:16:166:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_56:false::1,2,3,4:23:159:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_56:false::1,2,3,4:36:163:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_56:false::1,2,3,4:30:152:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_56:false::1,2,3,4:59:140:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_56:false::1,2,3,4:73:146:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_56:false::1,2,3,4:84:135:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_57:false::1,2,3,4:63:77:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_57:false::1,2,3,4:63:91:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_57:false::1,2,3,4:70:84:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_57:false::1,2,3,4:70:98:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_57:false::1,2,3,4:77:105:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_57:false::1,2,3,4:77:91:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_57:false::1,2,3,4:84:98:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_57:false::1,2,3,4:77:120:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_57:false::1,2,3,4:14:148:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_58:false::1:52:146:-2:0:0::_59:false::1:56:84:-2:0:0::_57:false::1,2,3,4:56:84:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_56:false::1,2,3,4:52:147:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_21:false::1:4:57:1:0:0::_21:false::1:20:78:1:0:0::_21:false::1:6:80:1:0:0::_21:false::1:9:41:1:0:0::_21:false::1:3:7:1:0:0::_21:false::1:22:15:1:0:0::_21:false::1:36:10:1:0:0::_21:false::1:64:10:1:0:0::_21:false::1:82:23:1:0:0::_21:false::1:91:3:1:0:0::_21:false::1:76:8:1:0:0::_21:false::1:84:34:1:0:0::_21:false::1:85:71:1:0:0::_21:false::1:94:85:1:0:0::_21:false::1:70:110:1:0:0::_21:false::1:92:148:1:0:0::_21:false::1:88:165:1:0:0::_21:false::1:72:171:1:0:0::_21:false::1:92:187:1:0:0::_21:false::1:67:184:1:0:0::_21:false::1:31:183:1:0:0::_20:false::1:20:95:1:0:0::_20:false::1:19:46:1:0:0::_20:false::1:28:33:1:0:0::_20:false::1:20:3:1:0:0::_20:false::1:43:31:1:0:0::_20:false::1:75:26:1:0:0::_20:false::1:91:47:1:0:0::_20:false::1:80:189:1:0:0::_22:false::1:17:178:1:0:0::_22:false::1:1:177:1:0:0::_22:false::1:5:135:1:0:0::_22:false::1:6:100:1:0:0::_22:false::1:7:86:1:0:0::_22:false::1:1:34:1:0:0::_22:false::1:4:19:1:0:0::_22:false::1:22:55:1:0:0::_22:false::1:35:66:1:0:0::_22:false::1:33:55:1:0:0::_22:false::1:87:74:1:0:0::_22:false::1:79:178:1:0:0::_22:false::1:80:160:1:0:0::_23:false::1:75:138:1:0:0::_23:false::1:14:134:1:0:0::_23:false::1:8:106:1:0:0::_23:false::1:0:165:1:0:0::_23:false::1:1:140:1:0:0::_23:false::1:10:5:1:0:0::_23:false::1:8:28:1:0:0::_23:false::1:29:79:1:0:0::_23:false::1:65:19:1:0:0::_23:false::1:68:190:1:0:0::_37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:44:129:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:85:102:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:12.5:152:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:27.5:112:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:34.5:91:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:34.5:105:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:80.5:121:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:73.5:84:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:66.5:77:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:73.5:70:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:87.5:84:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._180:false::1:104:8:-2:0:0::_182:false::1:108:8:-2:0:0::_181:false::1:116:8:-2:0:0::_183:false::1:112:8:-2:0:0::_183:false::1:120:16:-2:0:0::_184:false::1:120:16:-2:0:0::_185:false::1:108:16:-2:0:0::_186:false::1:116:24:-2:0:0::_187:false::1:112:24:-2:0:0::_187:false::1:104:16:-2:0:0::_104:false::1:123:20:2:0:0::_104:false::1:119:24:2:0:0::_105:false::1:120:23:2:0:0::_105:false::1:116:27:2:0:0::_106:false::1:112:24:2:0:0::_106:false::1:108:20:2:0:0::_106:false::1:104:16:2:0:0::_107:false::1:107:19:2:0:0::_107:false::1:111:23:2:0:0::_107:false::1:115:27:2:0:0::_108:false::1:117:26:2:0:0::_101:false::1:106:14:-2:0:0::_101:false::1:110:10:-2:0:0::_101:false::1:112:8:-2:0:0::_102:false::1:114:7:-2:0:0::_102:false::1:116:9:-2:0:0::_102:false::1:118:11:-2:0:0::_102:false::1:120:13:-2:0:0::_102:false::1:122:15:-2:0:0::_102:false::1:124:17:-2:0:0::_103:false::1:125:18:-2:0:0::_103:false::1:123:16:-2:0:0::_103:false::1:121:14:-2:0:0::_103:false::1:119:12:-2:0:0::_103:false::1:117:10:-2:0:0::_103:false::1:115:8:-2:0:0::_100:false::1:113:7:-2:0:0::_100:false::1:111:9:-2:0:0::_100:false::1:107:13:-2:0:0::_111:false::1:122:17:-2:0:0::_111:false::1:114:25:2:0:0::_111:false::1:110:21:2:0:0::_111:false::1:106:17:2:0:0::_111:false::1:118:13:-2:0:0::_111:false::1:114:9:-2:0:0::_81:false::1:112:9:1:0:0::_97:false::1:112:12:1:0:0::_99:false::1:110:14:1:0:0::_114:false::1:107:12:-1:0:0::_34:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:104.1:12:1:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._115:false::1:107:12:1:0:0::_98:false::1:114:11:1:0:0::_93:false::1:102:15:1:0:0::_92:false::1:113:12:1:0:0::_90:false::1:112:14:1:0:0::_90:false::1:112:13:1:0:0::_89:false::1:113:13:1:0:0::_83:false::1:118:17:1:0:0::_83:false::1:114:13:1:0:0::_83:false::1:115:20:1:0:0::_83:false::1:111:16:1:0:0::_86:false::1:112:15:1:0:0::_86:false::1:113:16:1:0:0::_85:false::1:113:17:1:0:0::_85:false::1:112:18:1:0:0::_85:false::1:115:15:1:0:0::_88:false::1:114:15:1:0:0::_88:false::1:113:14:1:0:0::_86:false::1:116:19:1:0:0::_86:false::1:117:20:1:0:0::_87:false::1:115:18:1:0:0::_87:false::1:114:19:1:0:0::_87:false::1:117:16:1:0:0::_85:false::1:120:19:1:0:0::_89:false::1:119:19:1:0:0::_89:false::1:117:17:1:0:0::_180:false::1:104:48:-2:0:0::_182:false::1:108:48:-2:0:0::_183:false::1:112:48:-2:0:0::_185:false::1:108:56:-2:0:0::_186:false::1:116:56:-2:0:0::_187:false::1:104:56:-2:0:0::_184:false::1:112:56:-2:0:0::_100:false::1:106:54:-2:0:0::_100:false::1:108:52:-2:0:0::_100:false::1:110:50:-2:0:0::_100:false::1:112:48:-2:0:0::_101:false::1:107:53:-2:0:0::_101:false::1:109:51:-2:0:0::_101:false::1:111:49:-2:0:0::_101:false::1:113:47:-2:0:0::_102:false::1:114:47:-2:0:0::_102:false::1:116:49:-2:0:0::_103:false::1:115:48:-2:0:0::_104:false::1:119:56:2:0:0::_104:false::1:115:60:2:0:0::_105:false::1:116:59:2:0:0::_105:false::1:112:63:2:0:0::_106:false::1:104:56:2:0:0::_106:false::1:108:60:2:0:0::_107:false::1:107:59:2:0:0::_107:false::1:111:63:2:0:0::_109:false::1:110:62:2:0:0::_181:false::1:116:48:-2:0:0::_102:false::1:118:51:-2:0:0::_102:false::1:120:53:-2:0:0::_103:false::1:121:54:-2:0:0::_103:false::1:119:52:-2:0:0::_103:false::1:117:50:-2:0:0::_111:false::1:106:57:2:0:0::_111:false::1:114:49:-2:0:0::_111:false::1:118:53:-2:0:0::_99:false::1:108:55:1:0:0::_82:false::1:105.15:53.9:-2:0:0::_80:false::1:110:53:1:0:0::_83:false::1:109:52:1:0:0::_87:false::1:108:52:1:0:0::_93:false::1:108:49:1:0:0::_95:false::1:106:51:1:0:0::_91:false::1:116:56:1:0:0::_91:false::1:115:55:1:0:0::_91:false::1:115:56:1:0:0::_91:false::1:114:54:1:0:0::_91:false::1:115:57:1:0:0::_174:false::1:52:85:1:0:1:Store:_174:false::1:47:150:1:0:1:Tavern:_38:false::1:72:51:1:0:0::_21:false::1:64:48:1:0:0::';
objectData += '_228:false::8:49.5:168.5:0:0:0::';
objectData += '_228:false::8:35.5:135.5:0:0:0::';
objectData += '_228:false::8:37.5:80.5:0:0:0::';
objectData += '_7:true:' + npcBD.Demon[8] + ':176:49:169:0:0:0::';
objectData += '_7:true:' + npcBD.Demon[8] + ':44:36:136:0:0:0::';
objectData += '_7:true:' + npcBD.Demon[8] + ':176:37:81:0:0:0::';
zoneData = '0 SC: 44 SC: 186 SC: START SZ: 1 SC: 56 SC: 85 SC: TELEPORT 110/61 SZ: 1 SC: 110 SC: 61 SC: TELEPORT 56/85 SZ: 2 SC: 117 SC: 25 SC: TELEPORT 52/148 SZ: 2 SC: 52 SC: 148 SC: TELEPORT 117/25 SZ: 3 SC: 49 SC: 162 SC: NPC Dartenul 1 SZ: 4 SC: 110 SC: 12 SC: NPC Tabernero02 0 SZ: 5 SC: 109 SC: 53 SC: NPC Tendera02 0';
limitData = '0:0:23:23_25:0:31:4_25:5:30:8';
if (quesInv[4] < 4) {
area.push(new Array(2200, 4650, 810000, 'UPDATEQUEST 4 4'));
zoneData += ' SZ: 6 SC: 52 SC: 161 SC: NPC Demon 2 SZ: 7 SC: 45 SC: 55 SC: NPC Demon 2';
} else {
zoneData += ' SZ: 7 SC: 45 SC: 55 SC: NPC Demon 2';
}
}
function setMap010() {
terrainData = '2,2,2,2,2,2,2,128,129,130,2,137,136,126,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,140,135,2,2,2,133,132,131,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,138,120,121,2,2,2,142,139,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,122,134,135,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;133,132,131,2,2,2,2,128,129,130,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,137,141,2,2,128,129,130,2,2,125,124,120,121,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,133,132,129,130,2,2,2,137,136,126,122,123,120,121,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;120,121,2,2,2,2,2,2,125,124,139,2,2,2,122,134,135,2,2,2,2,2,2,2,1,1,1,1,1,1,1,10,10,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;122,123,120,121,2,125,124,148,127,126,2,2,2,2,2,140,135,2,2,2,2,2,2,2,1,1,1,1,1,10,10,10,10,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,122,123,148,127,126,2,2,2,2,2,2,128,129,130,2,2,2,2,2,2,2,2,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,140,135,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,138,120,121,2,2,2,2,2,2,2,2,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,1,1,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,122,123,120,121,2,2,2,2,2,2,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,122,134,135,2,2,2,2,2,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,128,129,130,2,2,2,2,2,2,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,138,120,121,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,122,134,135,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,128,131,2,2,2,2,2,2,2,2,2,2,128,129,149,130,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;132,129,130,133,132,131,2,2,2,2,2,2,2,2,140,135,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,125,124,139,2,2,2,2,2,2,128,129,130,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,137,136,126,2,2,2,2,2,128,129,130,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,125,124,139,2,2,2,128,129,149,130,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;124,127,126,2,2,128,129,130,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;126,2,2,128,129,130,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1';
waterData = '4';
objectData = '180:false::1:176:24:-2:0:0::_120:false::1:181:27:1:0:0::_182:false::1:180:24:-2:0:0::_120:false::1:185:23:1:0:0::_181:false::1:188:24:-2:0:0::_122:false::1:192:27:1:0:0::_183:false::1:184:24:-2:0:0::_122:false::1:188:23:1:0:0::_180:false::1:168:32:-2:0:0::_120:false::1:171:37:1:0:0::_120:false::1:173:35:1:0:0::_182:false::1:172:32:-2:0:0::_120:false::1:175:33:1:0:0::_120:false::1:177:31:1:0:0::_181:false::1:196:32:-2:0:0::_122:false::1:200:35:1:0:0::_122:false::1:202:37:1:0:0::_183:false::1:192:32:-2:0:0::_122:false::1:196:31:1:0:0::_122:false::1:198:33:1:0:0::_122:false::1:204:39:1:0:0::_180:false::1:152:48:-2:0:0::_120:false::1:155:53:1:0:0::_120:false::1:157:51:1:0:0::_180:false::1:312:48:-2:0:0::_120:false::1:315:53:1:0:0::_120:false::1:317:51:1:0:0::_182:false::1:316:48:-2:0:0::_120:false::1:319:49:1:0:0::_120:false::1:321:47:1:0:0::_122:false::1:330:53:1:0:0::_122:false::1:324:47:1:0:0::_180:false::1:144:56:-2:0:0::_120:false::1:147:61:1:0:0::_120:false::1:149:59:1:0:0::_181:false::1:220:56:-2:0:0::_180:false::1:304:56:-2:0:0::_120:false::1:307:61:1:0:0::_182:false::1:308:56:-2:0:0::_120:false::1:311:57:1:0:0::_120:false::1:313:55:1:0:0::_122:false::1:332:55:1:0:0::_120:false::1:141:67:1:0:0::_182:false::1:140:64:-2:0:0::_120:false::1:143:65:1:0:0::_120:false::1:145:63:1:0:0::_181:false::1:228:64:-2:0:0::_122:false::1:232:67:1:0:0::_183:false::1:224:64:-2:0:0::_122:false::1:228:63:1:0:0::_180:false::1:296:64:-2:0:0::_120:false::1:301:67:1:0:0::_182:false::1:300:64:-2:0:0::_120:false::1:303:65:1:0:0::_181:false::1:236:72:-2:0:0::_122:false::1:242:77:1:0:0::_183:false::1:232:72:-2:0:0::_122:false::1:238:73:1:0:0::_180:false::1:288:72:-2:0:0::_120:false::1:293:75:1:0:0::_182:false::1:292:72:-2:0:0::_120:false::1:297:71:1:0:0::_120:false::1:123:85:1:0:0::_120:false::1:125:83:1:0:0::_181:false::1:244:80:-2:0:0::_122:false::1:248:83:1:0:0::_122:false::1:250:85:1:0:0::_183:false::1:240:80:-2:0:0::_122:false::1:246:81:1:0:0::_180:false::1:112:88:-2:0:0::_120:false::1:115:93:1:0:0::_120:false::1:117:91:1:0:0::_181:false::1:252:88:-2:0:0::_122:false::1:256:91:1:0:0::_122:false::1:258:93:1:0:0::_181:false::1:364:88:-2:0:0::_122:false::1:370:93:1:0:0::_187:false::1:112:96:-2:0:0::_122:false::1:116:95:1:0:0::_122:false::1:118:97:1:0:0::_185:false::1:116:96:-2:0:0::_122:false::1:120:99:1:0:0::_122:false::1:122:101:1:0:0::_186:false::1:252:96:-2:0:0::_120:false::1:255:97:1:0:0::_120:false::1:257:95:1:0:0::_184:false::1:248:96:-2:0:0::_120:false::1:251:101:1:0:0::_120:false::1:253:99:1:0:0::_186:false::1:364:96:-2:0:0::_120:false::1:367:97:1:0:0::_120:false::1:369:95:1:0:0::_184:false::1:360:96:-2:0:0::_120:false::1:363:101:1:0:0::_120:false::1:365:99:1:0:0::_122:false::1:124:103:1:0:0::_122:false::1:126:105:1:0:0::_185:false::1:124:104:-2:0:0::_122:false::1:128:107:1:0:0::_122:false::1:130:109:1:0:0::_186:false::1:244:104:-2:0:0::_120:false::1:247:105:1:0:0::_120:false::1:249:103:1:0:0::_184:false::1:240:104:-2:0:0::_120:false::1:243:109:1:0:0::_120:false::1:245:107:1:0:0::_186:false::1:356:104:-2:0:0::_120:false::1:359:105:1:0:0::_120:false::1:361:103:1:0:0::_184:false::1:352:104:-2:0:0::_120:false::1:355:109:1:0:0::_120:false::1:357:107:1:0:0::_187:false::1:128:112:-2:0:0::_122:false::1:132:111:1:0:0::_122:false::1:134:113:1:0:0::_185:false::1:132:112:-2:0:0::_122:false::1:136:115:1:0:0::_122:false::1:138:117:1:0:0::_186:false::1:236:112:-2:0:0::_120:false::1:239:113:1:0:0::_120:false::1:241:111:1:0:0::_184:false::1:232:112:-2:0:0::_120:false::1:235:117:1:0:0::_120:false::1:237:115:1:0:0::_186:false::1:348:112:-2:0:0::_120:false::1:351:113:1:0:0::_120:false::1:353:111:1:0:0::_184:false::1:344:112:-2:0:0::_120:false::1:347:117:1:0:0::_120:false::1:349:115:1:0:0::_187:false::1:136:120:-2:0:0::_122:false::1:140:119:1:0:0::_122:false::1:142:121:1:0:0::_185:false::1:140:120:-2:0:0::_122:false::1:144:123:1:0:0::_122:false::1:146:125:1:0:0::_186:false::1:228:120:-2:0:0::_120:false::1:231:121:1:0:0::_120:false::1:233:119:1:0:0::_184:false::1:224:120:-2:0:0::_120:false::1:227:125:1:0:0::_120:false::1:229:123:1:0:0::_186:false::1:340:120:-2:0:0::_120:false::1:343:121:1:0:0::_120:false::1:345:119:1:0:0::_184:false::1:336:120:-2:0:0::_120:false::1:339:125:1:0:0::_120:false::1:341:123:1:0:0::_187:false::1:144:128:-2:0:0::_122:false::1:148:127:1:0:0::_122:false::1:150:129:1:0:0::_185:false::1:148:128:-2:0:0::_122:false::1:152:131:1:0:0::_122:false::1:154:133:1:0:0::_186:false::1:220:128:-2:0:0::_120:false::1:223:129:1:0:0::_120:false::1:225:127:1:0:0::_184:false::1:216:128:-2:0:0::_120:false::1:219:133:1:0:0::_120:false::1:221:131:1:0:0::_186:false::1:332:128:-2:0:0::_120:false::1:337:127:1:0:0::_187:false::1:152:136:-2:0:0::_122:false::1:156:135:1:0:0::_122:false::1:158:137:1:0:0::_185:false::1:156:136:-2:0:0::_122:false::1:160:139:1:0:0::_122:false::1:162:141:1:0:0::_186:false::1:212:136:-2:0:0::_120:false::1:215:137:1:0:0::_120:false::1:217:135:1:0:0::_184:false::1:208:136:-2:0:0::_120:false::1:211:141:1:0:0::_120:false::1:213:139:1:0:0::_187:false::1:160:144:-2:0:0::_122:false::1:164:143:1:0:0::_122:false::1:166:145:1:0:0::_185:false::1:164:144:-2:0:0::_122:false::1:168:147:1:0:0::_122:false::1:170:149:1:0:0::_186:false::1:204:144:-2:0:0::_120:false::1:207:145:1:0:0::_120:false::1:209:143:1:0:0::_184:false::1:200:144:-2:0:0::_120:false::1:203:149:1:0:0::_120:false::1:205:147:1:0:0::_187:false::1:168:152:-2:0:0::_122:false::1:172:151:1:0:0::_122:false::1:174:153:1:0:0::_185:false::1:172:152:-2:0:0::_122:false::1:176:155:1:0:0::_122:false::1:178:157:1:0:0::_186:false::1:196:152:-2:0:0::_120:false::1:199:153:1:0:0::_120:false::1:201:151:1:0:0::_184:false::1:192:152:-2:0:0::_120:false::1:195:157:1:0:0::_120:false::1:197:155:1:0:0::_187:false::1:176:160:-2:0:0::_122:false::1:180:159:1:0:0::_122:false::1:182:161:1:0:0::_185:false::1:180:160:-2:0:0::_122:false::1:184:163:1:0:0::_122:false::1:186:165:1:0:0::_186:false::1:188:160:-2:0:0::_120:false::1:191:161:1:0:0::_120:false::1:193:159:1:0:0::_184:false::1:184:160:-2:0:0::_120:false::1:187:165:1:0:0::_120:false::1:189:163:1:0:0::_70:false::1:11:23:1:0:0::_69:false::1:10:23:1:0:0::_68:false::1:8:26:1:0:0::_72:false::1:12:23:-2:0:0::_66:false::1:7:95:1:0:0::_65:false::1:14:95:1:0:0::_64:false::1:10:98:1:0:0::_63:false::1:8:95:-2:0:0::_70:false::1:42:72:1:0:0::_69:false::1:41:72:1:0:0::_68:false::1:39:75:1:0:0::_72:false::1:43:72:-2:0:0::_71:false::1,2,3,4,5:43:72:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5.SELECT 5,FREE 0/0 - 5.SELECT 1.PLAY.4,4,3,3,2,2,1.SELECT 4,NOFREE 0/0_67:false::1,2,3,4,5:8:95:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5.SELECT 5,FREE 0/0 - 5.SELECT 1.PLAY.4,4,3,3,2,2,1.SELECT 4,NOFREE 0/0_125:false::1:113:94:1:0:0::_124:false::1:258:94:1:0:0::_126:false::1:121:87:1:0:0::_127:false::1:119:89:1:0:0::_128:false::1:251:87:1:0:0::_129:false::1:253:89:1:0:0::_185:false::1:116:72:-2:0:0::_120:false::1:127:81:1:0:0::_120:false::1:139:69:1:0:0::_182:false::1:148:56:-2:0:0::_120:false::1:151:57:1:0:0::_120:false::1:153:55:1:0:0::_120:false::1:137:71:1:0:0::_120:false::1:129:79:1:0:0::_120:false::1:169:39:1:0:0::_122:false::1:168:39:1:0:0::_122:false::1:136:71:1:0:0::_124:false::1:131:77:1:0:0::_122:false::1:130:75:1:0:0::_120:false::1:159:49:1:0:0::_120:false::1:161:47:1:0:0::_122:false::1:162:43:1:0:0::_124:false::1:163:45:1:0:0::_122:false::1:128:73:1:0:0::_122:false::1:134:69:1:0:0::_125:false::1:130:67:1:0:0::_120:false::1:125:73:1:0:0::_120:false::1:123:75:1:0:0::_120:false::1:133:65:1:0:0::_124:false::1:135:63:1:0:0::_122:false::1:122:75:1:0:0::_122:false::1:120:73:1:0:0::_125:false::1:116:71:1:0:0::_120:false::1:119:69:1:0:0::_120:false::1:123:65:1:0:0::_120:false::1:125:63:1:0:0::_120:false::1:129:59:1:0:0::_122:false::1:132:59:1:0:0::_122:false::1:134:61:1:0:0::_122:false::1:166:37:1:0:0::_122:false::1:160:41:1:0:0::_125:false::1:162:35:1:0:0::_120:false::1:157:41:1:0:0::_120:false::1:155:43:1:0:0::_122:false::1:154:43:1:0:0::_122:false::1:152:41:1:0:0::_125:false::1:148:39:1:0:0::_120:false::1:151:37:1:0:0::_120:false::1:155:33:1:0:0::_120:false::1:157:31:1:0:0::_120:false::1:161:27:1:0:0::_122:false::1:164:27:1:0:0::_122:false::1:166:29:1:0:0::_120:false::1:165:33:1:0:0::_124:false::1:167:31:1:0:0::_180:false::1:120:80:-2:0:0::_187:false::1:148:42:-2:0:0::_187:false::1:116:74:-2:0:0::_182:false::1:116:64:-2:0:0::_182:false::1:124:56:-2:0:0::_182:false::1:148:32:-2:0:0::_182:false::1:156:24:-2:0:0::_182:false::1:136:64:-2:0:0::_183:false::1:128:56:-2:0:0::_186:false::1:120:74:-2:0:0::_186:false::1:152:42:-2:0:0::_185:false::1:124:70:-2:0:0::_185:false::1:156:38:-2:0:0::_183:false::1:160:24:-2:0:0::_120:false::1:203:41:1:0:0::_120:false::1:201:43:1:0:0::_120:false::1:199:45:1:0:0::_120:false::1:197:47:1:0:0::_125:false::1:194:49:1:0:0::_122:false::1:198:51:1:0:0::_122:false::1:200:53:1:0:0::_122:false::1:202:55:1:0:0::_122:false::1:204:57:1:0:0::_122:false::1:206:59:1:0:0::_122:false::1:208:61:1:0:0::_122:false::1:210:63:1:0:0::_122:false::1:212:65:1:0:0::_122:false::1:214:67:1:0:0::_120:false::1:215:67:1:0:0::_120:false::1:219:63:1:0:0::_120:false::1:222:60:1:0:0::_122:false::1:225:60:1:0:0::_124:false::1:204:40:1:0:0::_186:false::1:200:40:-2:0:0::_186:false::1:196:44:-2:0:0::_183:false::1:200:39:-2:0:0::_183:false::1:204:56:-2:0:0::_182:false::1:216:56:-2:0:0::_120:false::1:213:69:1:0:0::_120:false::1:211:71:1:0:0::_120:false::1:209:73:1:0:0::_120:false::1:245:83:1:0:0::_122:false::1:213:72:1:0:0::_122:false::1:215:74:1:0:0::_122:false::1:217:76:1:0:0::_122:false::1:219:78:1:0:0::_122:false::1:221:80:1:0:0::_122:false::1:223:82:1:0:0::_122:false::1:225:84:1:0:0::_122:false::1:227:86:1:0:0::_122:false::1:229:88:1:0:0::_122:false::1:231:90:1:0:0::_122:false::1:233:92:1:0:0::_120:false::1:243:85:1:0:0::_120:false::1:237:91:1:0:0::_120:false::1:235:93:1:0:0::_122:false::1:234:93:1:0:0::_122:false::1:236:115:1:0:0::_122:false::1:234:113:1:0:0::_122:false::1:228:107:1:0:0::_120:false::1:225:107:1:0:0::_120:false::1:223:109:1:0:0::_120:false::1:221:111:1:0:0::_120:false::1:219:113:1:0:0::_120:false::1:217:115:1:0:0::_120:false::1:215:117:1:0:0::_120:false::1:213:119:1:0:0::_120:false::1:211:121:1:0:0::_125:false::1:208:123:1:0:0::_122:false::1:212:125:1:0:0::_122:false::1:214:127:1:0:0::_122:false::1:216:129:1:0:0::_122:false::1:218:131:1:0:0::_122:false::1:219:132:1:0:0::_120:false::1:203:79:1:0:0::_125:false::1:200:81:1:0:0::_122:false::1:204:83:1:0:0::_122:false::1:206:85:1:0:0::_122:false::1:208:87:1:0:0::_122:false::1:210:89:1:0:0::_122:false::1:212:91:1:0:0::_122:false::1:214:93:1:0:0::_122:false::1:216:95:1:0:0::_122:false::1:218:97:1:0:0::_122:false::1:220:99:1:0:0::_122:false::1:222:101:1:0:0::_122:false::1:224:103:1:0:0::_122:false::1:226:105:1:0:0::_160:false::1:144:72:-2:0:0::_162:false::1:146:72:-2:0:0::_142:false::1:145:84:-2:0:0::_142:false::1:143:86:-2:0:0::_142:false::1:141:88:-2:0:0::_142:false::1:139:90:-2:0:0::_142:false::1:137:92:-2:0:0::_142:false::1:135:94:-2:0:0::_142:false::1:133:96:-2:0:0::_142:false::1:131:98:-2:0:0::_142:false::1:129:100:-2:0:0::_142:false::1:127:102:-2:0:0::_142:false::1:125:104:-2:0:0::_142:false::1:143:70:-2:0:0::_142:false::1:145:68:-2:0:0::_142:false::1:147:66:-2:0:0::_142:false::1:149:64:-2:0:0::_142:false::1:153:60:-2:0:0::_142:false::1:155:58:-2:0:0::_142:false::1:157:56:-2:0:0::_142:false::1:159:54:-2:0:0::_142:false::1:151:62:-2:0:0::_160:false::1:140:68:-2:0:0::_160:false::1:142:70:-2:0:0::_143:false::1:156:54:-2:0:0::_145:false::1:160:59:-2:0:0::_143:false::1:160:62:-2:0:0::_142:false::1:167:62:-2:0:0::_142:false::1:169:60:-2:0:0::_144:false::1:143:81:-2:0:0::_163:false::1:146:72:-2:0:0::_142:false::1:175:50:-2:0:0::_142:false::1:173:52:-2:0:0::_142:false::1:171:54:-2:0:0::_160:false::1:168:52:-2:0:0::_142:false::1:171:58:-2:0:0::_163:false::1:170:52:-2:0:0::_142:false::1:177:48:-2:0:0::_142:false::1:179:46:-2:0:0::_143:false::1:218:108:-2:0:0::_143:false::1:216:106:-2:0:0::_143:false::1:214:104:-2:0:0::_143:false::1:212:102:-2:0:0::_143:false::1:210:100:-2:0:0::_143:false::1:208:98:-2:0:0::_143:false::1:206:96:-2:0:0::_143:false::1:204:94:-2:0:0::_143:false::1:202:92:-2:0:0::_143:false::1:200:90:-2:0:0::_143:false::1:198:88:-2:0:0::_143:false::1:196:86:-2:0:0::_143:false::1:194:84:-2:0:0::_143:false::1:192:82:-2:0:0::_143:false::1:190:80:-2:0:0::_143:false::1:188:78:-2:0:0::_143:false::1:186:76:-2:0:0::_143:false::1:184:74:-2:0:0::_143:false::1:176:46:-2:0:0::_143:false::1:178:48:-2:0:0::_143:false::1:180:50:-2:0:0::_143:false::1:182:52:-2:0:0::_143:false::1:184:54:-2:0:0::_143:false::1:186:56:-2:0:0::_143:false::1:188:58:-2:0:0::_161:false::1:190:56:-2:0:0::_161:false::1:188:58:-2:0:0::_161:false::1:186:60:-2:0:0::_161:false::1:184:62:-2:0:0::_162:false::1:184:62:-2:0:0::_145:false::1:184:71:-2:0:0::_163:false::1:184:62:-2:0:0::_162:false::1:168:50:-2:0:0::_162:false::1:192:54:-2:0:0::_187:false::1:120:104:-2:0:0::_120:false::1:137:115:1:0:0::_120:false::1:139:113:1:0:0::_120:false::1:141:111:1:0:0::_120:false::1:143:109:1:0:0::_120:false::1:145:107:1:0:0::_120:false::1:147:105:1:0:0::_120:false::1:149:103:1:0:0::_122:false::1:152:103:1:0:0::_122:false::1:154:105:1:0:0::_122:false::1:162:113:1:0:0::_122:false::1:164:115:1:0:0::_120:false::1:163:117:1:0:0::_122:false::1:166:117:1:0:0::_122:false::1:168:119:1:0:0::_122:false::1:168:119:1:0:0::_122:false::1:174:125:1:0:0::_122:false::1:176:127:1:0:0::_122:false::1:178:129:1:0:0::_120:false::1:175:133:1:0:0::_120:false::1:173:135:1:0:0::_120:false::1:171:137:1:0:0::_120:false::1:169:139:1:0:0::_120:false::1:167:141:1:0:0::_120:false::1:165:143:1:0:0::_120:false::1:161:119:1:0:0::_120:false::1:159:121:1:0:0::_120:false::1:157:123:1:0:0::_120:false::1:155:125:1:0:0::_120:false::1:153:127:1:0:0::_120:false::1:151:129:1:0:0::_124:false::1:178:130:1:0:0::_120:false::1:176:132:1:0:0::_120:false::1:159:93:1:0:0::_120:false::1:161:91:1:0:0::_120:false::1:163:89:1:0:0::_120:false::1:165:87:1:0:0::_120:false::1:167:85:1:0:0::_120:false::1:169:83:1:0:0::_120:false::1:171:81:1:0:0::_122:false::1:174:81:1:0:0::_122:false::1:176:83:1:0:0::_122:false::1:178:85:1:0:0::_122:false::1:180:87:1:0:0::_122:false::1:182:89:1:0:0::_122:false::1:184:91:1:0:0::_122:false::1:186:93:1:0:0::_120:false::1:185:95:1:0:0::_122:false::1:188:95:1:0:0::_122:false::1:190:97:1:0:0::_122:false::1:192:99:1:0:0::_122:false::1:193:100:1:0:0::_122:false::1:195:102:1:0:0::_122:false::1:197:104:1:0:0::_122:false::1:199:106:1:0:0::_122:false::1:201:108:1:0:0::_122:false::1:203:110:1:0:0::_122:false::1:209:116:1:0:0::_122:false::1:211:118:1:0:0::_122:false::1:212:119:1:0:0::_120:false::1:173:107:1:0:0::_120:false::1:175:105:1:0:0::_120:false::1:177:103:1:0:0::_120:false::1:179:101:1:0:0::_120:false::1:181:99:1:0:0::_120:false::1:183:97:1:0:0::_120:false::1:187:121:1:0:0::_120:false::1:189:119:1:0:0::_120:false::1:191:117:1:0:0::_120:false::1:193:115:1:0:0::_120:false::1:195:113:1:0:0::_120:false::1:197:111:1:0:0::_120:false::1:199:109:1:0:0::_122:false::1:162:97:1:0:0::_122:false::1:168:103:1:0:0::_122:false::1:170:105:1:0:0::_122:false::1:172:107:1:0:0::_122:false::1:174:109:1:0:0::_122:false::1:176:111:1:0:0::_122:false::1:182:117:1:0:0::_122:false::1:184:119:1:0:0::_122:false::1:186:121:1:0:0::_125:false::1:157:94:1:0:0::_122:false::1:161:96:1:0:0::_164:false::1:112:91:2:0:0::_164:false::1:134:113:2:0:0::_164:false::1:148:127:2:0:0::_165:false::1:162:113:2:0:0::_164:false::1:162:141:2:0:0::_165:false::1:217:130:2:0:0::_165:false::1:198:105:2:0:0::_165:false::1:184:91:2:0:0::_164:false::1:170:105:2:0:0::_165:false::1:234:113:2:0:0::_165:false::1:224:103:2:0:0::_165:false::1:256:91:2:0:0::_165:false::1:244:79:2:0:0::_164:false::1:209:68:2:0:0::_165:false::1:212:65:2:0:0::_131:false::1:191:140:-2:0:0::_76:false::1:123:101:1:0:0::_76:false::1:124:100:1:0:0::_76:false::1:125:99:1:0:0::_76:false::1:126:98:1:0:0::_76:false::1:127:97:1:0:0::_76:false::1:128:96:1:0:0::_76:false::1:129:95:1:0:0::_76:false::1:130:94:1:0:0::_76:false::1:131:93:1:0:0::_76:false::1:132:92:1:0:0::_76:false::1:133:91:1:0:0::_76:false::1:134:90:1:0:0::_76:false::1:135:89:1:0:0::_76:false::1:136:88:1:0:0::_76:false::1:137:87:1:0:0::_76:false::1:138:86:1:0:0::_76:false::1:139:85:1:0:0::_76:false::1:140:84:1:0:0::_76:false::1:141:83:1:0:0::_124:false::1:370:94:1:0:0::_120:false::1:360:86:1:0:0::_120:false::1:358:88:1:0:0::_120:false::1:356:90:1:0:0::_120:false::1:354:92:1:0:0::_120:false::1:352:94:1:0:0::_120:false::1:350:96:1:0:0::_120:false::1:348:98:1:0:0::_120:false::1:346:100:1:0:0::_122:false::1:345:100:1:0:0::_122:false::1:343:98:1:0:0::_122:false::1:341:96:1:0:0::_122:false::1:339:94:1:0:0::_122:false::1:337:92:1:0:0::_122:false::1:335:90:1:0:0::_122:false::1:333:88:1:0:0::_122:false::1:331:86:1:0:0::_122:false::1:329:84:1:0:0::_122:false::1:327:82:1:0:0::_120:false::1:324:66:1:0:0::_120:false::1:326:64:1:0:0::_120:false::1:328:62:1:0:0::_120:false::1:330:60:1:0:0::_120:false::1:332:58:1:0:0::_122:false::1:346:117:1:0:0::_122:false::1:344:115:1:0:0::_122:false::1:338:109:1:0:0::_120:false::1:335:109:1:0:0::_120:false::1:333:111:1:0:0::_120:false::1:331:113:1:0:0::_120:false::1:329:115:1:0:0::_120:false::1:327:117:1:0:0::_122:false::1:328:119:1:0:0::_122:false::1:330:121:1:0:0::_122:false::1:332:123:1:0:0::_122:false::1:334:125:1:0:0::_122:false::1:336:127:1:0:0::_122:false::1:336:107:1:0:0::_122:false::1:334:105:1:0:0::_122:false::1:332:103:1:0:0::_122:false::1:330:101:1:0:0::_122:false::1:328:99:1:0:0::_120:false::1:325:99:1:0:0::_120:false::1:323:101:1:0:0::_120:false::1:321:103:1:0:0::_120:false::1:319:105:1:0:0::_120:false::1:317:107:1:0:0::_122:false::1:316:107:1:0:0::_122:false::1:314:105:1:0:0::_122:false::1:312:103:1:0:0::_122:false::1:310:101:1:0:0::_122:false::1:308:99:1:0:0::_120:false::1:307:97:1:0:0::_120:false::1:309:95:1:0:0::_120:false::1:311:93:1:0:0::_120:false::1:313:91:1:0:0::_120:false::1:315:89:1:0:0::_122:false::1:326:97:1:0:0::_122:false::1:324:95:1:0:0::_122:false::1:318:89:1:0:0::_120:false::1:317:87:1:0:0::_120:false::1:323:81:1:0:0::_120:false::1:325:79:1:0:0::_120:false::1:327:77:1:0:0::_120:false::1:329:75:1:0:0::_122:false::1:310:93:1:0:0::_122:false::1:308:91:1:0:0::_122:false::1:306:89:1:0:0::_122:false::1:304:87:1:0:0::_122:false::1:302:85:1:0:0::_122:false::1:300:83:1:0:0::_122:false::1:298:81:1:0:0::_122:false::1:296:79:1:0:0::_122:false::1:294:77:1:0:0::_122:false::1:330:73:1:0:0::_122:false::1:328:71:1:0:0::_122:false::1:326:69:1:0:0::_122:false::1:324:67:1:0:0::_122:false::1:322:65:1:0:0::_122:false::1:320:63:1:0:0::_122:false::1:314:57:1:0:0::_122:false::1:326:81:1:0:0::_125:false::1:305:98:1:0:0::_124:false::1:330:74:1:0:0::_125:false::1:325:118:1:0:0::_125:false::1:291:76:1:0:0::_124:false::1:333:57:1:0:0::_122:false::1:363:86:1:0:0::_164:false::1:290:73:2:0:0::_164:false::1:310:53:2:0:0::_165:false::1:331:54:2:0:0::_164:false::1:321:64:2:0:0::_165:false::1:308:91:2:0:0::_164:false::1:314:85:2:0:0::_164:false::1:304:95:2:0:0::_164:false::1:322:77:2:0:0::_165:false::1:324:95:2:0:0::_165:false::1:334:105:2:0:0::_165:false::1:344:115:2:0:0::_164:false::1:324:115:2:0:0::_165:false::1:368:91:2:0:0::_165:false::1:328:71:2:0:0::_185:false::1:296:80:-2:0:0::_185:false::1:288:72:-2:0:0::_185:false::1:304:88:-2:0:0::_187:false::1:300:88:-2:0:0::_187:false::1:292:80:-2:0:0::_187:false::1:308:104:-2:0:0::_187:false::1:324:120:-2:0:0::_185:false::1:304:96:-2:0:0::_185:false::1:312:104:-2:0:0::_185:false::1:328:120:-2:0:0::_185:false::1:332:124:-2:0:0::_186:false::1:316:104:-2:0:0::_184:false::1:320:96:-2:0:0::_186:false::1:314:106:-2:0:0::_185:false::1:324:96:-2:0:0::_185:false::1:328:100:-2:0:0::_182:false::1:328:108:-2:0:0::_182:false::1:324:112:-2:0:0::_180:false::1:348:88:-2:0:0::_180:false::1:356:80:-2:0:0::_181:false::1:336:87:-2:0:0::_181:false::1:324:64:-2:0:0::_183:false::1:332:88:-2:0:0::_183:false::1:341:96:-2:0:0::_184:false::1:324:72:-2:0:0::_183:false::1:324:80:-2:0:0::_186:false::1:328:58:-2:0:0::_184:false::1:325:57:-2:0:0::_181:false::1:329:52:-2:0:0::_139:false::1:319:84:1:0:0::_138:false::1:316:87:1:0:0::_140:false::1:322:94:1:0:0::_141:false::1:314:92:1:0:0::_141:false::1:310:60:1:0:0::_140:false::1:318:62:1:0:0::_140:false::1:342:114:1:0:0::_141:false::1:334:112:1:0:0::_128:false::1:364:88:1:0:0::_129:false::1:366:90:1:0:0::_122:false::1:369:92:1:0:0::_140:false::1:232:112:1:0:0::_141:false::1:224:110:1:0:0::_139:false::1:239:88:1:0:0::_138:false::1:236:91:1:0:0::_138:false::1:202:79:1:0:0::_139:false::1:205:76:1:0:0::_140:false::1:207:115:1:0:0::_141:false::1:199:113:1:0:0::_141:false::1:158:100:1:0:0::_140:false::1:166:102:1:0:0::_141:false::1:150:108:1:0:0::_140:false::1:158:110:1:0:0::_122:false::1:160:111:1:0:0::_140:false::1:180:116:1:0:0::_140:false::1:172:124:1:0:0::_141:false::1:164:122:1:0:0::_141:false::1:172:114:1:0:0::_132:false::1:159:29:1:0:0::_132:false::1:153:35:1:0:0::_132:false::1:127:61:1:0:0::_132:false::1:121:67:1:0:0::_132:false::1:183:25:1:0:0::_132:false::1:179:29:1:0:0::_133:false::1:190:25:1:0:0::_133:false::1:194:29:1:0:0::_165:false::1:202:37:2:0:0::_132:false::1:217:65:1:0:0::_132:false::1:221:61:1:0:0::_133:false::1:226:61:1:0:0::_133:false::1:244:79:1:0:0::_133:false::1:240:75:1:0:0::_133:false::1:230:65:1:0:0::_122:false::1:236:71:1:0:0::_122:false::1:234:69:1:0:0::_116:false::1:226:72:1:0:0::_116:false::1:228:74:1:0:0::_116:false::1:230:76:1:0:0::_32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:121:83:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:245:81:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:206:84:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:218:96:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:204:71:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:225:83:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:216:74:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:239:85:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:227:107:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:212:124:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:217:111:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._128:false::1:325:49:1:0:0::_129:false::1:327:51:1:0:0::_183:false::1:324:48:-2:0:0::_36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:243:102:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:201:55:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:193:29:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:175:29:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:167:37:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:129:75:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:122:62:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:154:30:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:133:92:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:143:82:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:165:60:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:187:72:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:175:111:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:161:97:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:153:105:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:167:119:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:129:107:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:142:120:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:156:134:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:202:110:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:191:99:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:176:84:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:317:89:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:337:109:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:361:85:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:313:57:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:322:46:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:318:79:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:299:81:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:308:98:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:328:118:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:331:87:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._20:false::1:4:173:1:0:0::_20:false::1:11:156:1:0:0::_20:false::1:7:127:1:0:0::_20:false::1:15:78:1:0:0::_20:false::1:8:52:1:0:0::_20:false::1:14:10:1:0:0::_20:false::1:27:33:1:0:0::_20:false::1:32:58:1:0:0::_20:false::1:31:93:1:0:0::_20:false::1:37:126:1:0:0::_20:false::1:32:167:1:0:0::_20:false::1:35:180:1:0:0::_20:false::1:52:165:1:0:0::_20:false::1:58:128:1:0:0::_20:false::1:53:103:1:0:0::_20:false::1:62:78:1:0:0::_20:false::1:43:53:1:0:0::_20:false::1:42:34:1:0:0::_20:false::1:38:6:1:0:0::_20:false::1:60:8:1:0:0::_20:false::1:63:27:1:0:0::_20:false::1:67:47:1:0:0::_20:false::1:75:70:1:0:0::_20:false::1:69:90:1:0:0::_20:false::1:84:113:1:0:0::_20:false::1:69:167:1:0:0::_20:false::1:55:183:1:0:0::_21:false::1:74:146:1:0:0::_21:false::1:56:147:1:0:0::_21:false::1:5:143:1:0:0::_21:false::1:3:69:1:0:0::_21:false::1:21:44:1:0:0::_21:false::1:45:10:1:0:0::_21:false::1:58:65:1:0:0::_21:false::1:51:38:1:0:0::_21:false::1:76:178:1:0:0::_21:false::1:77:114:1:0:0::_21:false::1:73:24:1:0:0::_21:false::1:88:11:1:0:0::_21:false::1:88:39:1:0:0::_21:false::1:85:73:1:0:0::_22:false::1:76:129:1:0:0::_22:false::1:66:130:1:0:0::_22:false::1:51:136:1:0:0::_22:false::1:44:58:1:0:0::_22:false::1:27:14:1:0:0::_22:false::1:5:3:1:0:0::_22:false::1:0:45:1:0:0::_22:false::1:0:117:1:0:0::_22:false::1:11:165:1:0:0::_23:false::1:1:185:1:0:0::_23:false::1:24:185:1:0:0::_23:false::1:17:84:1:0:0::_23:false::1:19:56:1:0:0::_23:false::1:38:156:1:0:0::_23:false::1:67:12:1:0:0::_23:false::1:82:26:1:0:0::_23:false::1:87:85:1:0:0::_23:false::1:84:119:1:0:0::_92:false::1:184:99:1:0:0::_93:false::1:179:98:1:0:0::_93:false::1:175:102:1:0:0::_94:false::1:188:103:1:0:0::_95:false::1:158:91:1:0:0::_95:false::1:160:89:1:0:0::_95:false::1:162:87:1:0:0::_95:false::1:164:85:1:0:0::_95:false::1:166:83:1:0:0::_95:false::1:156:93:1:0:0::_91:false::1:181:97:1:0:0::_91:false::1:182:98:1:0:0::_91:false::1:181:98:1:0:0::_91:false::1:180:99:1:0:0::_91:false::1:179:99:1:0:0::_91:false::1:178:100:1:0:0::_90:false::1:182:99:1:0:0::_89:false::1:182:100:1:0:0::_89:false::1:184:100:1:0:0::_89:false::1:185:100:1:0:0::_91:false::1:186:101:1:0:0::_91:false::1:187:102:1:0:0::_84:false::1:176:106:1:0:0::_84:false::1:181:111:1:0:0::_84:false::1:180:102:1:0:0::_84:false::1:185:107:1:0:0::_85:false::1:187:108:1:0:0::_85:false::1:186:109:1:0:0::_85:false::1:183:112:1:0:0::_85:false::1:182:113:1:0:0::_85:false::1:181:104:1:0:0::_85:false::1:177:108:1:0:0::_86:false::1:178:105:1:0:0::_86:false::1:177:104:1:0:0::_86:false::1:181:101:1:0:0::_86:false::1:186:106:1:0:0::_86:false::1:183:110:1:0:0::_86:false::1:182:109:1:0:0::_87:false::1:176:105:1:0:0::_87:false::1:179:101:1:0:0::_87:false::1:185:105:1:0:0::_87:false::1:184:106:1:0:0::_83:false::1:167:96:1:0:0::_83:false::1:163:92:1:0:0::_83:false::1:167:88:1:0:0::_83:false::1:171:92:1:0:0::_86:false::1:172:91:1:0:0::_86:false::1:168:87:1:0:0::_86:false::1:164:91:1:0:0::_86:false::1:168:95:1:0:0::_87:false::1:171:91:1:0:0::_87:false::1:167:87:1:0:0::_85:false::1:165:93:1:0:0::_85:false::1:169:97:1:0:0::_85:false::1:168:98:1:0:0::_85:false::1:173:93:1:0:0::_90:false::1:164:86:1:0:0::_89:false::1:166:84:1:0:0::_116:false::1:145:107:1:0:0::_116:false::1:147:109:1:0:0::_116:false::1:155:117:1:0:0::_116:false::1:153:115:1:0:0::_116:false::1:159:121:1:0:0::_116:false::1:161:123:1:0:0::_116:false::1:169:131:1:0:0::_116:false::1:167:129:1:0:0::_116:false::1:195:113:1:0:0::_116:false::1:197:115:1:0:0::_116:false::1:165:143:1:0:0::_116:false::1:169:147:1:0:0::_116:false::1:179:157:1:0:0::_116:false::1:183:161:1:0:0::_35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:168:146:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:180:158:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:193:152:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:207:138:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:186:118:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:175:129:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._116:false::1:212:122:1:0:0::_116:false::1:216:126:1:0:0::_116:false::1:214:124:1:0:0::_116:false::1:307:97:1:0:0::_116:false::1:312:102:1:0:0::_116:false::1:327:117:1:0:0::_116:false::1:332:122:1:0:0::_30:false::1,2,3,4:140:114:1:0:2:ANY CLVL;ANY CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_30:false::1,2,3,4:141:113:1:0:2:ANY CLVL;ANY CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_30:false::1,2,3,4:154:128:1:0:2:ANY CLVL;ANY CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_30:false::1,2,3,4:155:127:1:0:2:ANY CLVL;ANY CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_132:false::1:299:69:1:0:0::_132:false::1:295:73:1:0:0::_132:false::1:309:59:1:0:0::_132:false::1:305:63:1:0:0::_32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:300:64:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._71:false::1,2,3,4,5:12:23:1:0:5::..STOP.5. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5.SELECT 5,FREE 0/0 - 5.SELECT 1.PLAY.4,4,3,3,2,2,1.SELECT 4,NOFREE 0/0_117:false::1,2,3,4,5:146:107:1:0:4:GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:148:109:1:0:4:GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:154:115:1:0:4:GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:160:121:1:0:4:GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:168:129:1:0:4:GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:170:131:1:0:4:GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:170:147:1:0:4:GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:184:161:1:0:4:GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:180:157:1:0:4:GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:198:115:1:0:4:GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:217:126:1:0:4:GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:215:124:1:0:4:GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:231:76:1:0:4:GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:227:72:1:0:4:GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:229:74:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:213:122:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:196:113:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:166:143:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:162:123:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:156:117:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:333:122:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:313:102:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:308:97:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:328:117:1:0:4:GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2';
zoneData = '0 SC: 10 SC: 185 SC: START SZ: 1 SC: 8 SC: 95 SC: TELEPORT 118/89 SZ: 1 SC: 118 SC: 89 SC: TELEPORT 8/95 SZ: 2 SC: 249 SC: 89 SC: TELEPORT 43/72 SZ: 2 SC: 43 SC: 72 SC: TELEPORT 249/89 SZ: 3 SC: 362 SC: 90 SC: TELEPORT 191/140 SZ: 3 SC: 191 SC: 140 SC: TELEPORT 362/90 SZ: 4 SC: 323 SC: 51 SC: TELEPORT 12/23 SZ: 4 SC: 12 SC: 23 SC: TELEPORT 323/51 SZ: 5 SC: 308 SC: 71 SC: NPC Nosferatu 2 SZ: 6 SC: 307 SC: 79 SC: NPC Nosferatu 2 SZ: 7 SC: 169 SC: 69 SC: NPC Nosferatu 2 SZ: 8 SC: 125 SC: 65 SC: NPC FemaleVampire 2 SZ: 9 SC: 123 SC: 66 SC: NPC FemaleVampire 2 SZ: 10 SC: 157 SC: 34 SC: NPC FemaleVampire 2 SZ: 11 SC: 181 SC: 34 SC: NPC FemaleVampire 2 SZ: 12 SC: 195 SC: 63 SC: NPC FemaleVampire 2 SZ: 13 SC: 222 SC: 68 SC: NPC FemaleVampire 2 SZ: 14 SC: 224 SC: 73 SC: NPC FemaleVampire 2 SZ: 15 SC: 220 SC: 117 SC: NPC FemaleVampire 2 SZ: 16 SC: 215 SC: 89 SC: NPC FemaleVampire 2 SZ: 17 SC: 211 SC: 79 SC: NPC FemaleVampire 2 SZ: 18 SC: 202 SC: 101 SC: NPC FemaleVampire 2 SZ: 19 SC: 197 SC: 91 SC: NPC FemaleVampire 2 SZ: 20 SC: 181 SC: 80 SC: NPC FemaleVampire 2 SZ: 21 SC: 172 SC: 66 SC: NPC FemaleVampire 2 SZ: 22 SC: 167 SC: 67 SC: NPC FemaleVampire 2 SZ: 23 SC: 145 SC: 113 SC: NPC FemaleVampire 2 SZ: 24 SC: 150 SC: 116 SC: NPC FemaleVampire 2 SZ: 25 SC: 158 SC: 131 SC: NPC FemaleVampire 2 SZ: 26 SC: 160 SC: 131 SC: NPC FemaleVampire 2 SZ: 27 SC: 159 SC: 125 SC: NPC FemaleVampire 2 SZ: 28 SC: 180 SC: 110 SC: NPC FemaleVampire 2 SZ: 29 SC: 176 SC: 107 SC: NPC FemaleVampire 2 SZ: 30 SC: 164 SC: 93 SC: NPC FemaleVampire 2 SZ: 31 SC: 166 SC: 96 SC: NPC FemaleVampire 2 SZ: 32 SC: 180 SC: 146 SC: NPC FemaleVampire 2 SZ: 33 SC: 184 SC: 146 SC: NPC FemaleVampire 2 SZ: 34 SC: 184 SC: 138 SC: NPC FemaleVampire 2 SZ: 35 SC: 198 SC: 127 SC: NPC FemaleVampire 2 SZ: 36 SC: 340 SC: 106 SC: NPC FemaleVampire 2 SZ: 37 SC: 332 SC: 114 SC: NPC FemaleVampire 2 SZ: 38 SC: 332 SC: 95 SC: NPC FemaleVampire 2 SZ: 39 SC: 314 SC: 95 SC: NPC FemaleVampire 2 SZ: 40 SC: 30 SC: 116 SC: NPC FemaleVampire 2 SZ: 41 SC: 17 SC: 113 SC: NPC FemaleVampire 2 SZ: 42 SC: 37 SC: 81 SC: NPC FemaleVampire 2 SZ: 43 SC: 43 SC: 95 SC: NPC MaleVampire 2 SZ: 44 SC: 37 SC: 96 SC: NPC MaleVampire 2 SZ: 45 SC: 24 SC: 94 SC: NPC MaleVampire 2 SZ: 46 SC: 13 SC: 116 SC: NPC MaleVampire 2 SZ: 47 SC: 17 SC: 110 SC: NPC MaleVampire 2 SZ: 48 SC: 40 SC: 135 SC: NPC MaleVampire 2 SZ: 49 SC: 46 SC: 133 SC: NPC MaleVampire 2 SZ: 50 SC: 19 SC: 140 SC: NPC MaleVampire 2 SZ: 51 SC: 127 SC: 65 SC: NPC MaleVampire 2 SZ: 52 SC: 123 SC: 65 SC: NPC MaleVampire 2 SZ: 53 SC: 159 SC: 36 SC: NPC MaleVampire 2 SZ: 54 SC: 170 SC: 46 SC: NPC MaleVampire 2 SZ: 55 SC: 181 SC: 37 SC: NPC MaleVampire 2 SZ: 56 SC: 187 SC: 39 SC: NPC MaleVampire 2 SZ: 57 SC: 196 SC: 58 SC: NPC MaleVampire 2 SZ: 58 SC: 198 SC: 66 SC: NPC MaleVampire 2 SZ: 59 SC: 195 SC: 67 SC: NPC MaleVampire 2 SZ: 60 SC: 224 SC: 91 SC: NPC MaleVampire 2 SZ: 61 SC: 215 SC: 90 SC: NPC MaleVampire 2 SZ: 62 SC: 233 SC: 80 SC: NPC MaleVampire 2 SZ: 63 SC: 229 SC: 83 SC: NPC MaleVampire 2 SZ: 64 SC: 222 SC: 112 SC: NPC MaleVampire 2 SZ: 65 SC: 225 SC: 117 SC: NPC MaleVampire 2 SZ: 66 SC: 215 SC: 118 SC: NPC MaleVampire 2 SZ: 67 SC: 205 SC: 101 SC: NPC MaleVampire 2 SZ: 68 SC: 194 SC: 96 SC: NPC MaleVampire 2 SZ: 69 SC: 194 SC: 89 SC: NPC MaleVampire 2 SZ: 70 SC: 162 SC: 94 SC: NPC MaleVampire 2 SZ: 71 SC: 136 SC: 103 SC: NPC MaleVampire 2 SZ: 72 SC: 145 SC: 95 SC: NPC MaleVampire 2 SZ: 73 SC: 151 SC: 110 SC: NPC MaleVampire 2 SZ: 74 SC: 152 SC: 117 SC: NPC MaleVampire 2 SZ: 75 SC: 165 SC: 125 SC: NPC MaleVampire 2 SZ: 76 SC: 166 SC: 134 SC: NPC MaleVampire 2 SZ: 77 SC: 159 SC: 131 SC: NPC MaleVampire 2 SZ: 78 SC: 178 SC: 135 SC: NPC MaleVampire 2 SZ: 79 SC: 184 SC: 133 SC: NPC MaleVampire 2 SZ: 80 SC: 185 SC: 149 SC: NPC MaleVampire 2 SZ: 81 SC: 198 SC: 124 SC: NPC MaleVampire 2 SZ: 82 SC: 315 SC: 94 SC: NPC MaleVampire 2 SZ: 83 SC: 331 SC: 92 SC: NPC MaleVampire 2 SZ: 84 SC: 335 SC: 118 SC: NPC MaleVampire 2 SZ: 85 SC: 22 SC: 151 SC: NPC SkeletonBow 2 SZ: 86 SC: 18 SC: 137 SC: NPC SkeletonBow 2 SZ: 87 SC: 19 SC: 132 SC: NPC SkeletonBow 2 SZ: 88 SC: 3 SC: 123 SC: NPC SkeletonBow 2 SZ: 89 SC: 11 SC: 119 SC: NPC SkeletonBow 2 SZ: 90 SC: 23 SC: 94 SC: NPC SkeletonBow 2 SZ: 91 SC: 22 SC: 103 SC: NPC SkeletonBow 2 SZ: 92 SC: 39 SC: 97 SC: NPC SkeletonBow 2 SZ: 93 SC: 36 SC: 83 SC: NPC SkeletonBow 2 SZ: 94 SC: 30 SC: 76 SC: NPC SkeletonBow 2 SZ: 95 SC: 49 SC: 83 SC: NPC SkeletonBow 2 SZ: 96 SC: 51 SC: 119 SC: NPC SkeletonBow 2 SZ: 97 SC: 52 SC: 146 SC: NPC SkeletonBow 2';
limitData = '0:0:20:23_26:1:64:21_70:3:93:17';
if (quesInv[4] < 5) {
area.push(new Array(500, 4625, 810000, 'UPDATEQUEST 4 5'));
}
if (quesInv[6] != 1) {
area.push(new Array(500, 700, 810000, 'UPDATEQUEST 6 1'));
}
}
function setMap011() {
terrainData = '2,2,2,125,124,120,121,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,125,124,127,126,122,123,148,120,121,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;137,136,126,2,2,2,2,2,122,134,135,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,133,132,131,2,2,2,128,129,130,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,125,124,139,2,2,2,140,135,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;137,136,126,2,2,2,2,138,120,121,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,133,132,131,2,2,128,131,122,123,120,121,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,133,132,129,130,133,132,131,122,123,120,121,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,10,10,1,1,1,10,10,10,10,10,10,10,1,1,1,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,133,132,131,122,123,120,121,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,133,132,131,122,123,144,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,1,1,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,137,141,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,1,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,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,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,133,132,131,2,2,2,2,2,2,2,2,1,1,1,1,10,10,10,10,10,10,10,1,10,10,1,1,1,10,10,1,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,142,139,2,2,2,2,2,2,2,2,1,1,1,1,10,10,10,10,1,1,10,1,10,10,1,1,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,1,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,10,10,10,10,10,10,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,1,1,1,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1';
waterData = '4';
objectData = '180:false::1:152:48:-2:0:0::_120:false::1:155:53:1:0:0::_120:false::1:157:51:1:0:0::_120:false::1:159:49:1:0:0::_180:false::1:144:56:-2:0:0::_120:false::1:147:61:1:0:0::_120:false::1:149:59:1:0:0::_182:false::1:148:56:-2:0:0::_120:false::1:151:57:1:0:0::_120:false::1:153:55:1:0:0::_180:false::1:120:80:-2:0:0::_120:false::1:123:85:1:0:0::_120:false::1:125:83:1:0:0::_182:false::1:124:80:-2:0:0::_120:false::1:127:81:1:0:0::_120:false::1:129:79:1:0:0::_180:false::1:280:80:-2:0:0::_120:false::1:283:85:1:0:0::_120:false::1:285:83:1:0:0::_182:false::1:284:80:-2:0:0::_120:false::1:287:81:1:0:0::_120:false::1:289:79:1:0:0::_180:false::1:112:88:-2:0:0::_120:false::1:115:93:1:0:0::_120:false::1:117:91:1:0:0::_180:false::1:272:88:-2:0:0::_120:false::1:275:93:1:0:0::_120:false::1:277:91:1:0:0::_182:false::1:276:88:-2:0:0::_120:false::1:279:89:1:0:0::_120:false::1:281:87:1:0:0::_187:false::1:112:96:-2:0:0::_122:false::1:116:95:1:0:0::_122:false::1:118:97:1:0:0::_185:false::1:116:96:-2:0:0::_122:false::1:120:99:1:0:0::_122:false::1:122:101:1:0:0::_122:false::1:276:95:1:0:0::_122:false::1:278:97:1:0:0::_185:false::1:276:96:-2:0:0::_122:false::1:280:99:1:0:0::_122:false::1:282:101:1:0:0::_187:false::1:280:104:-2:0:0::_122:false::1:284:103:1:0:0::_122:false::1:286:105:1:0:0::_185:false::1:284:104:-2:0:0::_122:false::1:288:107:1:0:0::_122:false::1:290:109:1:0:0::_187:false::1:288:112:-2:0:0::_122:false::1:292:111:1:0:0::_122:false::1:294:113:1:0:0::_185:false::1:292:112:-2:0:0::_122:false::1:296:115:1:0:0::_122:false::1:298:117:1:0:0::_187:false::1:296:120:-2:0:0::_122:false::1:300:119:1:0:0::_122:false::1:302:121:1:0:0::_66:false::1:17:20:1:0:0::_65:false::1:24:20:1:0:0::_64:false::1:20:23:1:0:0::_63:false::1:18:20:-2:0:0::_67:false::1,2,3,4,5:18:20:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5.SELECT 5,FREE 0/0 - 5.SELECT 1.PLAY.4,4,3,3,2,2,1.SELECT 4,NOFREE 0/0_20:false::1:5:11:1:0:0::_20:false::1:5:35:1:0:0::_20:false::1:11:64:1:0:0::_20:false::1:24:72:1:0:0::_20:false::1:31:37:1:0:0::_20:false::1:22:10:1:0:0::_20:false::1:34:5:1:0:0::_21:false::1:29:69:1:0:0::_21:false::1:8:22:1:0:0::_21:false::1:33:48:1:0:0::_21:false::1:1:71:1:0:0::_22:false::1:32:17:1:0:0::_22:false::1:10:5:1:0:0::_23:false::1:3:46:1:0:0::_127:false::1:119:89:1:0:0::_126:false::1:121:87:1:0:0::_125:false::1:113:94:1:0:0::_120:false::1:123:101:1:0:0::_120:false::1:125:99:1:0:0::_120:false::1:127:97:1:0:0::_120:false::1:129:95:1:0:0::_120:false::1:131:93:1:0:0::_120:false::1:133:91:1:0:0::_120:false::1:135:89:1:0:0::_120:false::1:137:87:1:0:0::_122:false::1:140:87:1:0:0::_120:false::1:141:87:1:0:0::_120:false::1:143:85:1:0:0::_122:false::1:146:85:1:0:0::_122:false::1:148:87:1:0:0::_122:false::1:150:89:1:0:0::_120:false::1:151:89:1:0:0::_120:false::1:153:87:1:0:0::_120:false::1:155:85:1:0:0::_184:false::1:120:96:-2:0:0::_184:false::1:128:88:-2:0:0::_186:false::1:132:88:-2:0:0::_186:false::1:124:96:-2:0:0::_187:false::1:136:88:-2:0:0::_187:false::1:144:88:-2:0:0::_186:false::1:148:88:-2:0:0::_184:false::1:152:80:-2:0:0::_186:false::1:138:86:-2:0:0::_185:false::1:142:82:-2:0:0::_122:false::1:138:85:1:0:0::_122:false::1:132:79:1:0:0::_122:false::1:130:77:1:0:0::_125:false::1:127:76:1:0:0::_122:false::1:132:71:1:0:0::_124:false::1:132:72:1:0:0::_120:false::1:130:74:1:0:0::_122:false::1:130:69:1:0:0::_122:false::1:128:67:1:0:0::_120:false::1:127:65:1:0:0::_120:false::1:129:63:1:0:0::_120:false::1:131:61:1:0:0::_122:false::1:134:61:1:0:0::_122:false::1:136:63:1:0:0::_122:false::1:138:65:1:0:0::_125:false::1:125:66:1:0:0::_120:false::1:139:65:1:0:0::_120:false::1:141:63:1:0:0::_122:false::1:144:63:1:0:0::_122:false::1:146:65:1:0:0::_122:false::1:152:71:1:0:0::_122:false::1:154:73:1:0:0::_122:false::1:152:79:1:0:0::_122:false::1:154:81:1:0:0::_122:false::1:156:83:1:0:0::_125:false::1:149:78:1:0:0::_124:false::1:154:74:1:0:0::_120:false::1:152:76:1:0:0::_124:false::1:156:84:1:0:0::_120:false::1:145:63:1:0:0::_120:false::1:153:71:1:0:0::_120:false::1:155:69:1:0:0::_120:false::1:157:67:1:0:0::_120:false::1:159:65:1:0:0::_122:false::1:162:49:1:0:0::_122:false::1:164:51:1:0:0::_122:false::1:166:53:1:0:0::_122:false::1:168:55:1:0:0::_122:false::1:170:57:1:0:0::_122:false::1:172:59:1:0:0::_122:false::1:174:61:1:0:0::_122:false::1:176:63:1:0:0::_122:false::1:162:65:1:0:0::_122:false::1:164:67:1:0:0::_122:false::1:166:69:1:0:0::_122:false::1:168:71:1:0:0::_120:false::1:167:73:1:0:0::_120:false::1:177:63:1:0:0::_122:false::1:180:63:1:0:0::_122:false::1:182:65:1:0:0::_122:false::1:168:75:1:0:0::_122:false::1:170:77:1:0:0::_120:false::1:183:65:1:0:0::_120:false::1:185:63:1:0:0::_120:false::1:187:61:1:0:0::_120:false::1:169:79:1:0:0::_120:false::1:167:81:1:0:0::_120:false::1:165:83:1:0:0::_122:false::1:166:85:1:0:0::_122:false::1:168:87:1:0:0::_122:false::1:170:89:1:0:0::_120:false::1:171:89:1:0:0::_120:false::1:173:87:1:0:0::_120:false::1:175:85:1:0:0::_122:false::1:190:61:1:0:0::_122:false::1:192:63:1:0:0::_122:false::1:194:65:1:0:0::_120:false::1:193:67:1:0:0::_120:false::1:191:69:1:0:0::_120:false::1:189:71:1:0:0::_122:false::1:178:85:1:0:0::_122:false::1:180:87:1:0:0::_120:false::1:181:87:1:0:0::_122:false::1:190:73:1:0:0::_122:false::1:192:75:1:0:0::_120:false::1:191:77:1:0:0::_122:false::1:192:79:1:0:0::_122:false::1:184:87:1:0:0::_120:false::1:175:65:1:0:0::_120:false::1:169:71:1:0:0::_120:false::1:189:79:1:0:0::_120:false::1:183:85:1:0:0::_122:false::1:194:81:1:0:0::_122:false::1:196:83:1:0:0::_122:false::1:198:85:1:0:0::_122:false::1:200:87:1:0:0::_122:false::1:202:89:1:0:0::_122:false::1:204:91:1:0:0::_122:false::1:206:93:1:0:0::_122:false::1:186:89:1:0:0::_122:false::1:188:91:1:0:0::_122:false::1:190:93:1:0:0::_120:false::1:205:95:1:0:0::_120:false::1:203:97:1:0:0::_120:false::1:201:99:1:0:0::_120:false::1:199:101:1:0:0::_120:false::1:197:103:1:0:0::_120:false::1:195:105:1:0:0::_120:false::1:193:107:1:0:0::_120:false::1:191:109:1:0:0::_120:false::1:189:95:1:0:0::_120:false::1:187:97:1:0:0::_120:false::1:185:99:1:0:0::_120:false::1:183:101:1:0:0::_122:false::1:184:103:1:0:0::_122:false::1:190:109:1:0:0::_122:false::1:192:111:1:0:0::_122:false::1:182:101:1:0:0::_120:false::1:179:101:1:0:0::_120:false::1:177:103:1:0:0::_120:false::1:191:113:1:0:0::_120:false::1:189:115:1:0:0::_122:false::1:190:117:1:0:0::_122:false::1:176:103:1:0:0::_122:false::1:174:101:1:0:0::_122:false::1:172:99:1:0:0::_120:false::1:169:99:1:0:0::_120:false::1:167:101:1:0:0::_120:false::1:165:103:1:0:0::_122:false::1:166:105:1:0:0::_122:false::1:168:107:1:0:0::_122:false::1:170:109:1:0:0::_122:false::1:192:119:1:0:0::_122:false::1:194:121:1:0:0::_120:false::1:193:123:1:0:0::_120:false::1:191:125:1:0:0::_120:false::1:189:127:1:0:0::_122:false::1:188:127:1:0:0::_122:false::1:186:125:1:0:0::_122:false::1:184:123:1:0:0::_120:false::1:181:123:1:0:0::_120:false::1:179:125:1:0:0::_120:false::1:169:111:1:0:0::_120:false::1:167:113:1:0:0::_122:false::1:168:115:1:0:0::_122:false::1:178:125:1:0:0::_120:false::1:167:117:1:0:0::_120:false::1:175:125:1:0:0::_122:false::1:176:123:1:0:0::_122:false::1:170:117:1:0:0::_120:false::1:173:127:1:0:0::_120:false::1:171:129:1:0:0::_120:false::1:169:131:1:0:0::_120:false::1:167:133:1:0:0::_120:false::1:165:135:1:0:0::_120:false::1:163:137:1:0:0::_120:false::1:161:139:1:0:0::_120:false::1:165:119:1:0:0::_120:false::1:163:121:1:0:0::_120:false::1:161:123:1:0:0::_122:false::1:160:139:1:0:0::_122:false::1:158:137:1:0:0::_122:false::1:156:135:1:0:0::_122:false::1:154:133:1:0:0::_122:false::1:152:131:1:0:0::_122:false::1:150:129:1:0:0::_122:false::1:148:127:1:0:0::_122:false::1:146:125:1:0:0::_122:false::1:160:123:1:0:0::_122:false::1:158:121:1:0:0::_122:false::1:156:119:1:0:0::_122:false::1:154:117:1:0:0::_120:false::1:151:117:1:0:0::_120:false::1:145:123:1:0:0::_120:false::1:143:125:1:0:0::_120:false::1:153:115:1:0:0::_122:false::1:142:125:1:0:0::_122:false::1:140:123:1:0:0::_122:false::1:154:113:1:0:0::_122:false::1:152:111:1:0:0::_120:false::1:151:109:1:0:0::_120:false::1:153:107:1:0:0::_120:false::1:155:105:1:0:0::_122:false::1:156:103:1:0:0::_122:false::1:154:101:1:0:0::_122:false::1:152:99:1:0:0::_120:false::1:149:99:1:0:0::_120:false::1:147:101:1:0:0::_120:false::1:145:103:1:0:0::_122:false::1:144:103:1:0:0::_122:false::1:142:101:1:0:0::_120:false::1:137:123:1:0:0::_120:false::1:135:125:1:0:0::_120:false::1:133:127:1:0:0::_122:false::1:132:127:1:0:0::_122:false::1:130:125:1:0:0::_122:false::1:128:123:1:0:0::_120:false::1:127:121:1:0:0::_120:false::1:129:119:1:0:0::_120:false::1:131:117:1:0:0::_122:false::1:132:115:1:0:0::_122:false::1:130:113:1:0:0::_120:false::1:129:111:1:0:0::_120:false::1:139:101:1:0:0::_120:false::1:131:109:1:0:0::_120:false::1:133:107:1:0:0::_120:false::1:135:105:1:0:0::_120:false::1:137:103:1:0:0::_125:false::1:125:122:1:0:0::_125:false::1:127:112:1:0:0::_124:false::1:132:116:1:0:0::_124:false::1:156:104:1:0:0::_125:false::1:149:110:1:0:0::_124:false::1:154:114:1:0:0::_124:false::1:170:110:1:0:0::_125:false::1:165:114:1:0:0::_125:false::1:163:104:1:0:0::_125:false::1:187:116:1:0:0::_124:false::1:194:122:1:0:0::_124:false::1:192:112:1:0:0::_124:false::1:190:94:1:0:0::_124:false::1:206:94:1:0:0::_124:false::1:192:76:1:0:0::_125:false::1:187:72:1:0:0::_124:false::1:194:66:1:0:0::_124:false::1:170:78:1:0:0::_125:false::1:163:84:1:0:0::_125:false::1:165:74:1:0:0::_164:false::1:112:91:2:0:0::_165:false::1:136:83:2:0:0::_165:false::1:128:75:2:0:0::_164:false::1:126:73:2:0:0::_164:false::1:124:63:2:0:0::_164:false::1:142:61:2:0:0::_164:false::1:150:69:2:0:0::_164:false::1:148:75:2:0:0::_165:false::1:154:81:2:0:0::_165:false::1:166:69:2:0:0::_165:false::1:174:61:2:0:0::_164:false::1:164:71:2:0:0::_164:false::1:186:69:2:0:0::_165:false::1:192:63:2:0:0::_165:false::1:190:73:2:0:0::_164:false::1:188:75:2:0:0::_164:false::1:180:83:2:0:0::_164:false::1:162:81:2:0:0::_165:false::1:168:75:2:0:0::_165:false::1:204:91:2:0:0::_165:false::1:188:91:2:0:0::_164:false::1:180:99:2:0:0::_164:false::1:188:107:2:0:0::_165:false::1:190:109:2:0:0::_164:false::1:186:113:2:0:0::_164:false::1:162:101:2:0:0::_165:false::1:168:107:2:0:0::_165:false::1:192:119:2:0:0::_165:false::1:174:121:2:0:0::_164:false::1:164:111:2:0:0::_165:false::1:166:113:2:0:0::_164:false::1:142:121:2:0:0::_164:false::1:150:113:2:0:0::_164:false::1:148:107:2:0:0::_165:false::1:152:111:2:0:0::_165:false::1:154:101:2:0:0::_165:false::1:130:113:2:0:0::_164:false::1:124:119:2:0:0::_164:false::1:126:109:2:0:0::_186:false::1:154:66:-2:0:0::_186:false::1:152.75:67.25:-2:0:0::_186:false::1:154.75:78.25:-2:0:0::_187:false::1:158:66:-2:0:0::_185:false::1:161:65:-2:0:0::_185:false::1:162:70:-2:0:0::_186:false::1:151:73:-2:0:0::_181:false::1:151:77:-2:0:0::_180:false::1:155:75:-2:0:0::_187:false::1:160:84:-2:0:0::_187:false::1:164:88:-2:0:0::_182:false::1:160:80:-2:0:0::_186:false::1:157.3:81:-2:0:0::_186:false::1:168:88:-2:0:0::_184:false::1:170:82:-2:0:0::_185:false::1:174:82:-2:0:0::_184:false::1:176:84:-2:0:0::_187:false::1:180:88:-2:0:0::_185:false::1:183:87:-2:0:0::_182:false::1:180:95:-2:0:0::_182:false::1:174:96:-2:0:0::_183:false::1:170:96:-2:0:0::_187:false::1:176:88:-2:0:0::_183:false::1:176:94:-2:0:0::_183:false::1:138:96:-2:0:0::_182:false::1:127:103:-2:0:0::_182:false::1:136:95:-2:0:0::_182:false::1:144:95:-2:0:0::_183:false::1:149:95:-2:0:0::_185:false::1:124:120:-2:0:0::_185:false::1:136:120:-2:0:0::_184:false::1:132:120:-2:0:0::_184:false::1:138:122:-2:0:0::_185:false::1:142:122:-2:0:0::_187:false::1:144:128:-2:0:0::_185:false::1:148:128:-2:0:0::_187:false::1:152:136:-2:0:0::_186:false::1:160:136:-2:0:0::_187:false::1:156:140:-2:0:0::_186:false::1:158:138:-2:0:0::_186:false::1:168:128:-2:0:0::_185:false::1:180:120:-2:0:0::_184:false::1:176:120:-2:0:0::_184:false::1:170:122:-2:0:0::_185:false::1:174:122:-2:0:0::_184:false::1:164:128:-2:0:0::_186:false::1:152:104:-2:0:0::_184:false::1:149:103:-2:0:0::_183:false::1:152:103:-2:0:0::_182:false::1:164:96:-2:0:0::_180:false::1:160:96:-2:0:0::_180:false::1:160:110:-2:0:0::_187:false::1:160:104:-2:0:0::_185:false::1:163:103:-2:0:0::_186:false::1:158:99:-2:0:0::_186:false::1:192:120:-2:0:0::_186:false::1:184:128:-2:0:0::_186:false::1:192:104:-2:0:0::_186:false::1:200:96:-2:0:0::_184:false::1:188:120:-2:0:0::_185:false::1:184:124:-2:0:0::_181:false::1:189:116:-2:0:0::_184:false::1:188:108:-2:0:0::_186:false::1:193:116:-2:0:0::_186:false::1:190:106:-2:0:0::_184:false::1:196:96:-2:0:0::_183:false::1:201:87:-2:0:0::_181:false::1:196:79:-2:0:0::_183:false::1:192:79:-2:0:0::_184:false::1:188:64:-2:0:0::_181:false::1:190:72:-2:0:0::_183:false::1:184:54:-2:0:0::_182:false::1:183:55:-2:0:0::_183:false::1:168:54:-2:0:0::_181:false::1:164:46:-2:0:0::_183:false::1:162:48:-2:0:0::_183:false::1:129:55:-2:0:0::_180:false::1:124:54:-2:0:0::_182:false::1:127:55:-2:0:0::_185:false::1:124:64:-2:0:0::_32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:120:84:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._141:false::1:128:82:1:0:0::_140:false::1:136:84:1:0:0::_140:false::1:150:70:1:0:0::_141:false::1:142:68:1:0:0::_139:false::1:171:68:1:0:0::_138:false::1:168:71:1:0:0::_138:false::1:182:85:1:0:0::_139:false::1:185:82:1:0:0::_140:false::1:188:108:1:0:0::_141:false::1:180:106:1:0:0::_141:false::1:166:120:1:0:0::_140:false::1:174:122:1:0:0::_139:false::1:147:120:1:0:0::_138:false::1:144:123:1:0:0::_32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:129:71:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:138:62:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:140:81:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:149:72:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:187:110:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:178:119:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:167:109:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:176:100:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:166:72:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:175:81:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:187:71:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:178:62:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:140:100:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:149:109:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:137:119:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:128:110:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:165:128:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:150:128:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:165:53:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:151:53:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:197:85:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:196:97:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._142:false::1:277:96:-2:0:0::_142:false::1:279:94:-2:0:0::_142:false::1:281:92:-2:0:0::_142:false::1:283:90:-2:0:0::_143:false::1:280:90:-2:0:0::_143:false::1:282:92:-2:0:0::_145:false::1:286:97:-2:0:0::_143:false::1:286:100:-2:0:0::_143:false::1:288:102:-2:0:0::_142:false::1:295:102:-2:0:0::_142:false::1:297:100:-2:0:0::_144:false::1:295:97:-2:0:0::_142:false::1:301:92:-2:0:0::_142:false::1:303:90:-2:0:0::_143:false::1:300:90:-2:0:0::_143:false::1:302:92:-2:0:0::_143:false::1:304:94:-2:0:0::_143:false::1:306:96:-2:0:0::_122:false::1:306:85:1:0:0::_122:false::1:304:83:1:0:0::_122:false::1:302:81:1:0:0::_122:false::1:300:79:1:0:0::_122:false::1:298:77:1:0:0::_122:false::1:296:75:1:0:0::_122:false::1:308:87:1:0:0::_122:false::1:310:89:1:0:0::_122:false::1:312:91:1:0:0::_145:false::1:310:101:-2:0:0::_143:false::1:310:104:-2:0:0::_143:false::1:312:106:-2:0:0::_120:false::1:307:117:1:0:0::_120:false::1:303:121:1:0:0::_120:false::1:305:119:1:0:0::_120:false::1:309:115:1:0:0::_120:false::1:311:113:1:0:0::_120:false::1:313:111:1:0:0::_120:false::1:315:109:1:0:0::_120:false::1:317:107:1:0:0::_120:false::1:319:105:1:0:0::_120:false::1:321:103:1:0:0::_120:false::1:323:101:1:0:0::_120:false::1:325:99:1:0:0::_122:false::1:314:93:1:0:0::_122:false::1:316:95:1:0:0::_122:false::1:322:101:1:0:0::_140:false::1:320:100:1:0:0::_141:false::1:312:98:1:0:0::_126:false::1:293:75:1:0:0::_127:false::1:291:77:1:0:0::_120:false::1:327:97:1:0:0::_120:false::1:329:95:1:0:0::_120:false::1:331:93:1:0:0::_120:false::1:333:91:1:0:0::_120:false::1:335:89:1:0:0::_122:false::1:336:87:1:0:0::_122:false::1:332:83:1:0:0::_122:false::1:330:81:1:0:0::_122:false::1:326:77:1:0:0::_124:false::1:336:88:1:0:0::_125:false::1:273:94:1:0:0::_120:false::1:295:73:1:0:0::_120:false::1:299:69:1:0:0::_120:false::1:303:65:1:0:0::_120:false::1:307:61:1:0:0::_122:false::1:324:75:1:0:0::_122:false::1:322:73:1:0:0::_122:false::1:318:69:1:0:0::_122:false::1:316:67:1:0:0::_122:false::1:314:65:1:0:0::_122:false::1:310:61:1:0:0::_186:false::1:300:120:-2:0:0::_184:false::1:304:112:-2:0:0::_184:false::1:312:104:-2:0:0::_184:false::1:320:96:-2:0:0::_184:false::1:328:88:-2:0:0::_186:false::1:308:112:-2:0:0::_186:false::1:316:104:-2:0:0::_186:false::1:324:96:-2:0:0::_186:false::1:332:88:-2:0:0::_187:false::1:272:96:-2:0:0::_182:false::1:288:70:-2:0:0::_182:false::1:296:64:-2:0:0::_182:false::1:304:55:-2:0:0::_183:false::1:306:56:-2:0:0::_183:false::1:329:79:-2:0:0::_183:false::1:320:70:-2:0:0::_183:false::1:313:63:-2:0:0::_181:false::1:308:55:-2:0:0::_180:false::1:334:85:-2:0:0::_130:false::1:134:110:-2:0:0::_32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:288:76:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:294:99:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:315:93:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:299:77:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:306:84:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:313:65:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:321:73:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:308:109:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:292:110:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:279:97:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._132:false::1:297:71:1:0:0::_132:false::1:301:67:1:0:0::_132:false::1:305:63:1:0:0::_133:false::1:312:63:1:0:0::_133:false::1:334:85:1:0:0::_133:false::1:328:79:1:0:0::_133:false::1:320:71:1:0:0::_33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:328:80:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._116:false::1:127:65:1:0:0::_116:false::1:146:84:1:0:0::_116:false::1:166:84:1:0:0::_116:false::1:184:66:1:0:0::_116:false::1:184:122:1:0:0::_116:false::1:165:103:1:0:0::_116:false::1:128:122:1:0:0::_116:false::1:146:104:1:0:0::_117:false::1,2,3,4,5:185:66:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:167:84:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:128:65:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:147:84:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:129:122:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:147:104:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:166:103:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:185:122:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_164:false::1:272:91:2:0:0::_164:false::1:292:71:2:0:0::_165:false::1:320:99:2:0:0::_165:false::1:334:85:2:0:0::';
zoneData = '0 SC: 36 SC: 57 SC: START SZ: 1 SC: 18 SC: 20 SC: TELEPORT 118/89 SZ: 1 SC: 118 SC: 89 SC: TELEPORT 18/20 SZ: 2 SC: 290 SC: 77 SC: TELEPORT 134/110 SZ: 2 SC: 134 SC: 110 SC: TELEPORT 290/77 SZ: 3 SC: 373 SC: 82 SC: NPC Lust 2 SZ: 4 SC: 375 SC: 81 SC: NPC Envy 2 SZ: 5 SC: 378 SC: 81 SC: NPC Gluttony 2 SZ: 6 SC: 372 SC: 86 SC: NPC Sloth 2 SZ: 7 SC: 375 SC: 85 SC: NPC Greed 2 SZ: 8 SC: 378 SC: 84 SC: NPC Pride 2 SZ: 9 SC: 375 SC: 91 SC: NPC Wrath 2 SZ: 10 SC: 304 SC: 71 SC: NPC Zalmerion 0 SZ: 11 SC: 135 SC: 115 SC: NPC ReturnedVillain 2 SZ: 12 SC: 145 SC: 106 SC: NPC ReturnedVillain 2 SZ: 13 SC: 170 SC: 105 SC: NPC ReturnedVillain 2 SZ: 14 SC: 181 SC: 116 SC: NPC ReturnedVillain 2 SZ: 15 SC: 180 SC: 71 SC: NPC ReturnedVillain 2 SZ: 16 SC: 175 SC: 75 SC: NPC ReturnedVillain 2 SZ: 17 SC: 134 SC: 70 SC: NPC ReturnedVillain 2 SZ: 18 SC: 143 SC: 77 SC: NPC ReturnedVillain 2 SZ: 19 SC: 138 SC: 68 SC: NPC InfernalArcher 2 SZ: 20 SC: 141 SC: 71 SC: NPC InfernalArcher 2 SZ: 21 SC: 144 SC: 78 SC: NPC InfernalArcher 2 SZ: 22 SC: 126 SC: 87 SC: NPC InfernalArcher 2 SZ: 23 SC: 122 SC: 90 SC: NPC InfernalArcher 2 SZ: 24 SC: 152 SC: 58 SC: NPC InfernalArcher 2 SZ: 25 SC: 159 SC: 56 SC: NPC InfernalArcher 2 SZ: 26 SC: 165 SC: 62 SC: NPC InfernalArcher 2 SZ: 27 SC: 170 SC: 79 SC: NPC InfernalArcher 2 SZ: 28 SC: 175 SC: 78 SC: NPC InfernalArcher 2 SZ: 29 SC: 179 SC: 75 SC: NPC InfernalArcher 2 SZ: 30 SC: 180 SC: 68 SC: NPC InfernalArcher 2 SZ: 31 SC: 191 SC: 91 SC: NPC InfernalArcher 2 SZ: 32 SC: 188 SC: 103 SC: NPC InfernalArcher 2 SZ: 33 SC: 173 SC: 113 SC: NPC InfernalArcher 2 SZ: 35 SC: 178 SC: 106 SC: NPC InfernalArcher 2 SZ: 36 SC: 183 SC: 114 SC: NPC InfernalArcher 2 SZ: 37 SC: 165 SC: 125 SC: NPC InfernalArcher 2 SZ: 38 SC: 158 SC: 129 SC: NPC InfernalArcher 2 SZ: 39 SC: 144 SC: 110 SC: NPC InfernalArcher 2 SZ: 40 SC: 142 SC: 115 SC: NPC InfernalArcher 2 SZ: 41 SC: 139 SC: 106 SC: NPC InfernalArcher 2 SZ: 42 SC: 18 SC: 37 SC: NPC InfernalArcher 2 SZ: 43 SC: 25 SC: 32 SC: NPC InfernalArcher 2 SZ: 44 SC: 25 SC: 49 SC: NPC InfernalArcher 2';
limitData = '0:0:10:8_26:3:52:19_66:6:84:16_92:9:95:12';
if (quesInv[4] == 1) {
changeZone('NPC Zalmerion 0', 'NPC PitLord 2');
} else {
area.push(new Array(15200, 1775, 15625, 'OPENDIALOGPJ Zalmerion'));
area.push(new Array(6000, 2250, 810000, 'UPDATEQUEST 4 6'));
}
}
function setMap020() {
terrainData = '70,71,2,2,2,2,2,2,2,2;72,73,70,71,2,2,2,2,2,2;2,2,72,73,70,71,2,2,2,2;2,2,2,2,72,73,85,84,2,2;2,2,2,2,2,2,87,86,2,2;2,2,2,2,75,74,89,88,2,2;2,2,78,79,77,76,2,2,2,2;2,2,80,81,2,2,2,2,2,2;2,2,82,83,70,71,2,2,2,2;2,2,2,2,72,73,70,71,2,2';
waterData = '4';
objectData = '21:false::1:22:64:1:0:0::_21:false::1:5:36:1:0:0::_21:false::1:11:4:1:0:0::_21:false::1:27:11:1:0:0::_21:false::1:36:57:1:0:0::_21:false::1:34:76:1:0:0::_21:false::1:6:77:1:0:0::_21:false::1:32:37:1:0:0::_22:false::1:28:18:1:0:0::_22:false::1:1:26:1:0:0::_22:false::1:2:44:1:0:0::_23:false::1:16:35:1:0:0::_23:false::1:15:10:1:0:0::_23:false::1:28:64:1:0:0::_23:false::1:26:58:1:0:0::_23:false::1:1:69:1:0:0::_21:false::1:8:50:1:0:0::_20:false::1:6:59:1:0:0::_20:false::1:39:10:1:0:0::';
zoneData = '0 SC: 17 SC: 48 SC: START SZ: 1 SC: 15 SC: 53 SC: NPC MaleBanditChief 2 SZ: 2 SC: 9 SC: 53 SC: NPC FemaleBanditBow 2 SZ: 3 SC: 15 SC: 62 SC: NPC FemaleBanditBow 2 SZ: 4 SC: 12 SC: 45 SC: NPC Bandit 2 SZ: 5 SC: 12 SC: 50 SC: NPC Bandit 2 SZ: 6 SC: 14 SC: 59 SC: NPC Bandit 2 SZ: 7 SC: 10 SC: 57 SC: NPC Bandit 2';
limitData = '0:0:9:9';
}
function setMap021() {
terrainData = '2,2,2,2,2,2,2,133,132,131,2,2,2,2,2,2,2,75,74,89,88,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,55,54,50,51,2,2,2,142,139,2,2,2,2,2,75,74,77,76,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;67,66,56,52,64,65,2,2,2,2,2,2,2,78,79,77,76,2,2,2,2,2,2,2,1,1,9,9,9,9,1,1,9,9,9,9,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1;2,63,62,61,110,65,2,2,2,2,2,2,2,80,81,2,2,2,2,2,2,2,2,2,1,1,9,9,9,9,1,1,9,9,9,9,9,9,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1;2,2,67,111,110,65,2,2,2,2,2,2,2,82,83,85,84,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,9,9,9,9,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1;2,2,2,63,60,2,2,2,2,2,2,2,2,2,2,87,86,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1;70,71,2,2,2,2,2,2,2,2,2,2,2,75,74,89,88,2,2,2,2,2,2,2,1,1,9,9,9,9,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1;72,73,70,71,2,2,2,2,2,2,2,2,91,77,76,2,2,2,2,2,2,2,2,2,1,1,9,9,9,9,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1;2,2,72,73,70,71,2,2,2,2,2,2,106,107,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,11,11,11,11,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,72,73,70,71,2,2,75,74,108,109,90,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,11,11,11,11,11,11,11,11,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,72,73,99,98,77,76,2,2,2,2,2,2,2,2,2,2,2,2,1,1,9,9,9,9,1,1,11,11,11,11,11,11,11,11,1,1,1,1,1,10,10,10,10,10,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,75,74,101,100,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,9,9,9,9,1,1,1,1,11,11,11,11,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,75,74,77,76,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;124,143,78,79,77,76,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;126,2,80,81,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,82,83,85,84,2,2,2,2,2,2,2,2,2,2,2,2,2,2,125,124,120,121,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,106,107,87,86,2,2,2,2,2,2,2,2,2,2,2,2,2,137,136,126,122,123,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1;78,79,108,109,89,88,2,2,2,2,2,2,125,124,120,121,2,2,2,137,141,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1;80,81,2,2,2,2,2,125,124,143,145,148,127,126,122,123,144,2,125,124,139,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1;82,83,85,84,2,2,142,127,126,2,2,2,2,2,2,2,125,124,127,126,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,87,86,2,2,2,2,2,2,2,2,2,2,125,124,127,126,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;75,74,89,88,2,2,2,2,2,2,2,125,124,148,127,126,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;77,76,2,2,128,129,149,132,131,2,137,136,126,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,128,129,130,2,125,124,139,2,137,141,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1';
waterData = '4';
objectData = '180:false::1:348:16:-2:0:0::_120:false::1:351:21:1:0:0::_120:false::1:353:19:1:0:0::_120:false::1:355:17:1:0:0::_181:false::1:360:16:-2:0:0::_122:false::1:364:19:1:0:0::_122:false::1:366:21:1:0:0::_183:false::1:356:16:-2:0:0::_122:false::1:360:15:1:0:0::_122:false::1:362:17:1:0:0::_187:false::1:104:24:-2:0:0::_185:false::1:108:24:-2:0:0::_186:false::1:116:24:-2:0:0::_184:false::1:112:24:-2:0:0::_187:false::1:128:24:-2:0:0::_185:false::1:132:24:-2:0:0::_180:false::1:236:24:-2:0:0::_120:false::1:239:29:1:0:0::_120:false::1:241:27:1:0:0::_182:false::1:240:24:-2:0:0::_120:false::1:243:25:1:0:0::_120:false::1:245:23:1:0:0::_181:false::1:248:24:-2:0:0::_122:false::1:252:27:1:0:0::_122:false::1:254:29:1:0:0::_182:false::1:344:24:-2:0:0::_120:false::1:347:25:1:0:0::_120:false::1:349:23:1:0:0::_122:false::1:372:27:1:0:0::_183:false::1:364:24:-2:0:0::_122:false::1:368:23:1:0:0::_122:false::1:370:25:1:0:0::_187:false::1:136:32:-2:0:0::_186:false::1:148:32:-2:0:0::_184:false::1:144:32:-2:0:0::_180:false::1:228:32:-2:0:0::_120:false::1:231:37:1:0:0::_120:false::1:233:35:1:0:0::_182:false::1:232:32:-2:0:0::_120:false::1:235:33:1:0:0::_120:false::1:237:31:1:0:0::_181:false::1:256:32:-2:0:0::_122:false::1:260:35:1:0:0::_122:false::1:262:37:1:0:0::_183:false::1:252:32:-2:0:0::_122:false::1:256:31:1:0:0::_122:false::1:258:33:1:0:0::_180:false::1:332:32:-2:0:0::_182:false::1:336:32:-2:0:0::_180:false::1:220:40:-2:0:0::_120:false::1:225:43:1:0:0::_182:false::1:224:40:-2:0:0::_120:false::1:229:39:1:0:0::_181:false::1:264:40:-2:0:0::_122:false::1:268:43:1:0:0::_122:false::1:270:45:1:0:0::_183:false::1:260:40:-2:0:0::_122:false::1:264:39:1:0:0::_122:false::1:266:41:1:0:0::_180:false::1:324:40:-2:0:0::_182:false::1:328:40:-2:0:0::_180:false::1:212:48:-2:0:0::_120:false::1:217:51:1:0:0::_182:false::1:216:48:-2:0:0::_181:false::1:272:48:-2:0:0::_122:false::1:276:51:1:0:0::_122:false::1:278:53:1:0:0::_183:false::1:268:48:-2:0:0::_122:false::1:272:47:1:0:0::_122:false::1:274:49:1:0:0::_122:false::1:330:49:1:0:0::_185:false::1:328:48:-2:0:0::_122:false::1:332:51:1:0:0::_122:false::1:334:53:1:0:0::_187:false::1:104:56:-2:0:0::_185:false::1:108:56:-2:0:0::_186:false::1:116:56:-2:0:0::_184:false::1:112:56:-2:0:0::_180:false::1:204:56:-2:0:0::_182:false::1:208:56:-2:0:0::_120:false::1:211:57:1:0:0::_120:false::1:213:55:1:0:0::_122:false::1:284:59:1:0:0::_183:false::1:276:56:-2:0:0::_122:false::1:280:55:1:0:0::_122:false::1:282:57:1:0:0::_187:false::1:332:56:-2:0:0::_122:false::1:336:55:1:0:0::_122:false::1:338:57:1:0:0::_185:false::1:336:56:-2:0:0::_122:false::1:340:59:1:0:0::_122:false::1:342:61:1:0:0::_180:false::1:136:64:-2:0:0::_150:false::1:139:69:1:0:0::_150:false::1:141:67:1:0:0::_182:false::1:140:64:-2:0:0::_150:false::1:143:65:1:0:0::_150:false::1:145:63:1:0:0::_181:false::1:148:64:-2:0:0::_151:false::1:152:67:1:0:0::_151:false::1:154:69:1:0:0::_183:false::1:144:64:-2:0:0::_151:false::1:148:63:1:0:0::_151:false::1:150:65:1:0:0::_182:false::1:200:64:-2:0:0::_120:false::1:203:65:1:0:0::_187:false::1:340:64:-2:0:0::_122:false::1:344:63:1:0:0::_122:false::1:346:65:1:0:0::_185:false::1:344:64:-2:0:0::_180:false::1:128:72:-2:0:0::_150:false::1:131:77:1:0:0::_150:false::1:133:75:1:0:0::_182:false::1:132:72:-2:0:0::_150:false::1:135:73:1:0:0::_150:false::1:137:71:1:0:0::_181:false::1:156:72:-2:0:0::_151:false::1:160:75:1:0:0::_151:false::1:162:77:1:0:0::_183:false::1:152:72:-2:0:0::_151:false::1:156:71:1:0:0::_151:false::1:158:73:1:0:0::_187:false::1:128:80:-2:0:0::_151:false::1:134:81:1:0:0::_185:false::1:132:80:-2:0:0::_151:false::1:136:83:1:0:0::_186:false::1:156:80:-2:0:0::_150:false::1:159:81:1:0:0::_184:false::1:152:80:-2:0:0::_150:false::1:155:85:1:0:0::_150:false::1:157:83:1:0:0::_180:false::1:180:80:-2:0:0::_120:false::1:183:85:1:0:0::_120:false::1:185:83:1:0:0::_182:false::1:184:80:-2:0:0::_120:false::1:189:79:1:0:0::_187:false::1:104:88:-2:0:0::_185:false::1:108:88:-2:0:0::_186:false::1:116:88:-2:0:0::_184:false::1:112:88:-2:0:0::_187:false::1:136:88:-2:0:0::_151:false::1:142:89:1:0:0::_185:false::1:140:88:-2:0:0::_151:false::1:144:91:1:0:0::_151:false::1:146:93:1:0:0::_186:false::1:148:88:-2:0:0::_150:false::1:151:89:1:0:0::_150:false::1:153:87:1:0:0::_184:false::1:144:88:-2:0:0::_150:false::1:147:93:1:0:0::_150:false::1:149:91:1:0:0::_182:false::1:176:88:-2:0:0::_120:false::1:179:89:1:0:0::_120:false::1:181:87:1:0:0::_187:false::1:172:96:-2:0:0::_122:false::1:178:97:1:0:0::_185:false::1:176:96:-2:0:0::_122:false::1:180:99:1:0:0::_122:false::1:182:101:1:0:0::_122:false::1:184:103:1:0:0::_122:false::1:186:105:1:0:0::_185:false::1:184:104:-2:0:0::_122:false::1:188:107:1:0:0::_122:false::1:190:109:1:0:0::_187:false::1:188:112:-2:0:0::_122:false::1:192:111:1:0:0::_122:false::1:194:113:1:0:0::_185:false::1:192:112:-2:0:0::_122:false::1:196:115:1:0:0::_122:false::1:198:117:1:0:0::_187:false::1:196:120:-2:0:0::_122:false::1:200:119:1:0:0::_122:false::1:202:121:1:0:0::_185:false::1:200:120:-2:0:0::_122:false::1:204:123:1:0:0::_122:false::1:206:125:1:0:0::_180:false::1:332:120:-2:0:0::_120:false::1:335:125:1:0:0::_120:false::1:337:123:1:0:0::_182:false::1:336:120:-2:0:0::_120:false::1:339:121:1:0:0::_120:false::1:341:119:1:0:0::_181:false::1:344:120:-2:0:0::_122:false::1:348:123:1:0:0::_122:false::1:350:125:1:0:0::_183:false::1:340:120:-2:0:0::_122:false::1:344:119:1:0:0::_122:false::1:346:121:1:0:0::_187:false::1:204:128:-2:0:0::_122:false::1:208:127:1:0:0::_122:false::1:210:129:1:0:0::_185:false::1:208:128:-2:0:0::_122:false::1:212:131:1:0:0::_122:false::1:214:133:1:0:0::_180:false::1:324:128:-2:0:0::_120:false::1:327:133:1:0:0::_120:false::1:329:131:1:0:0::_182:false::1:328:128:-2:0:0::_120:false::1:331:129:1:0:0::_120:false::1:333:127:1:0:0::_181:false::1:352:128:-2:0:0::_122:false::1:356:131:1:0:0::_122:false::1:358:133:1:0:0::_183:false::1:348:128:-2:0:0::_122:false::1:352:127:1:0:0::_122:false::1:354:129:1:0:0::_187:false::1:212:136:-2:0:0::_122:false::1:216:135:1:0:0::_122:false::1:218:137:1:0:0::_185:false::1:216:136:-2:0:0::_122:false::1:220:139:1:0:0::_122:false::1:222:141:1:0:0::_120:false::1:271:141:1:0:0::_120:false::1:273:139:1:0:0::_187:false::1:324:136:-2:0:0::_122:false::1:328:135:1:0:0::_122:false::1:330:137:1:0:0::_185:false::1:328:136:-2:0:0::_122:false::1:332:139:1:0:0::_122:false::1:334:141:1:0:0::_186:false::1:352:136:-2:0:0::_120:false::1:355:137:1:0:0::_120:false::1:357:135:1:0:0::_184:false::1:348:136:-2:0:0::_120:false::1:351:141:1:0:0::_120:false::1:353:139:1:0:0::_187:false::1:220:144:-2:0:0::_122:false::1:224:143:1:0:0::_122:false::1:226:145:1:0:0::_185:false::1:224:144:-2:0:0::_122:false::1:228:147:1:0:0::_122:false::1:230:149:1:0:0::_186:false::1:264:144:-2:0:0::_120:false::1:267:145:1:0:0::_120:false::1:269:143:1:0:0::_184:false::1:260:144:-2:0:0::_120:false::1:263:149:1:0:0::_120:false::1:265:147:1:0:0::_187:false::1:332:144:-2:0:0::_122:false::1:336:143:1:0:0::_122:false::1:338:145:1:0:0::_185:false::1:336:144:-2:0:0::_122:false::1:340:147:1:0:0::_122:false::1:342:149:1:0:0::_186:false::1:344:144:-2:0:0::_120:false::1:347:145:1:0:0::_120:false::1:349:143:1:0:0::_184:false::1:340:144:-2:0:0::_120:false::1:343:149:1:0:0::_120:false::1:345:147:1:0:0::_187:false::1:228:152:-2:0:0::_122:false::1:232:151:1:0:0::_185:false::1:232:152:-2:0:0::_186:false::1:256:152:-2:0:0::_120:false::1:259:153:1:0:0::_120:false::1:261:151:1:0:0::_184:false::1:252:152:-2:0:0::_120:false::1:255:157:1:0:0::_120:false::1:257:155:1:0:0::_187:false::1:236:160:-2:0:0::_185:false::1:240:160:-2:0:0::_186:false::1:248:160:-2:0:0::_184:false::1:244:160:-2:0:0::_26:false::1:9:89:1:0:0::_26:false::1:10:90:1:0:0::_26:false::1:11:91:1:0:0::_26:false::1:12:92:1:0:0::_26:false::1:13:93:1:0:0::_26:false::1:14:94:1:0:0::_26:false::1:15:95:1:0:0::_26:false::1:16:96:1:0:0::_26:false::1:17:97:1:0:0::_26:false::1:18:98:1:0:0::_26:false::1:19:99:1:0:0::_26:false::1:8:88:1:0:0::_50:false::1:16:90:1:0:0::_54:false::1:32:106:1:0:0::_55:false::1:43:102:1:0:0::_51:false::1:8:82:1:0:0::_51:false::1:48:122:1:0:0::_51:false::1:40:114:1:0:0::_51:false::1:56:114:1:0:0::_51:false::1:48:106:1:0:0::_59:false::1:36:107:-2:0:0::_58:false::1:23:90:-2:0:0::_56:false::1,2,3,4:23:91:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_57:false::1,2,3,4:36:107:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_38:false::1:49:87:1:0:0::_22:false::1:53:95:1:0:0::_51:false::1:57:75:1:0:0::_51:false::1:65:83:1:0:0::_75:false::1:77:92:-2:0:0::_77:false::1:89:90:1:0:0::_77:false::1:90:91:1:0:0::_77:false::1:91:92:1:0:0::_77:false::1:92:93:1:0:0::_77:false::1:94:95:1:0:0::_77:false::1:95:96:1:0:0::_77:false::1:96:97:1:0:0::_77:false::1:97:98:1:0:0::_77:false::1:83:84:1:0:0::_77:false::1:82:83:1:0:0::_77:false::1:81:82:1:0:0::_77:false::1:80:81:1:0:0::_77:false::1:79:80:1:0:0::_77:false::1:78:79:1:0:0::_77:false::1:77:78:1:0:0::_77:false::1:76:77:1:0:0::_77:false::1:75:76:1:0:0::_77:false::1:74:75:1:0:0::_77:false::1:73:74:1:0:0::_77:false::1:72:73:1:0:0::_77:false::1:71:72:1:0:0::_77:false::1:70:71:1:0:0::_77:false::1:69:70:1:0:0::_77:false::1:68:69:1:0:0::_77:false::1:67:68:1:0:0::_77:false::1:66:67:1:0:0::_77:false::1:65:66:1:0:0::_76:false::1:65:65:1:0:0::_76:false::1:66:64:1:0:0::_76:false::1:67:63:1:0:0::_76:false::1:68:62:1:0:0::_76:false::1:69:61:1:0:0::_76:false::1:70:60:1:0:0::_76:false::1:71:59:1:0:0::_76:false::1:72:58:1:0:0::_76:false::1:72:58:1:0:0::_76:false::1:73:57:1:0:0::_76:false::1:74:56:1:0:0::_76:false::1:75:55:1:0:0::_76:false::1:76:54:1:0:0::_76:false::1:77:53:1:0:0::_76:false::1:78:52:1:0:0::_76:false::1:79:51:1:0:0::_76:false::1:80:50:1:0:0::_76:false::1:81:49:1:0:0::_76:false::1:82:48:1:0:0::_76:false::1:83:47:1:0:0::_76:false::1:84:46:1:0:0::_76:false::1:85:45:1:0:0::_76:false::1:86:44:1:0:0::_76:false::1:87:43:1:0:0::_77:false::1:88:43:1:0:0::_77:false::1:89:44:1:0:0::_77:false::1:90:45:1:0:0::_77:false::1:91:46:1:0:0::_77:false::1:92:47:1:0:0::_77:false::1:93:48:1:0:0::_77:false::1:94:49:1:0:0::_77:false::1:95:50:1:0:0::_77:false::1:96:51:1:0:0::_77:false::1:97:52:1:0:0::_60:false::1:73:91:1:0:0::_66:false::1:82:59:1:0:0::_65:false::1:89:59:1:0:0::_64:false::1:85:62:1:0:0::_63:false::1:83:59:-2:0:0::_26:false::1:97:41:1:0:0::_26:false::1:97:41:1:0:0::_26:false::1:96:40:1:0:0::_26:false::1:95:39:1:0:0::_26:false::1:94:38:1:0:0::_26:false::1:93:37:1:0:0::_26:false::1:92:36:1:0:0::_26:false::1:91:35:1:0:0::_26:false::1:90:34:1:0:0::_26:false::1:89:33:1:0:0::_26:false::1:88:32:1:0:0::_27:false::1:87:32:1:0:0::_27:false::1:86:33:1:0:0::_27:false::1:85:34:1:0:0::_27:false::1:84:35:1:0:0::_27:false::1:84:35:1:0:0::_27:false::1:83:36:1:0:0::_27:false::1:82:37:1:0:0::_27:false::1:81:38:1:0:0::_27:false::1:80:39:1:0:0::_27:false::1:79:40:1:0:0::_27:false::1:78:41:1:0:0::_27:false::1:77:42:1:0:0::_27:false::1:76:43:1:0:0::_27:false::1:75:44:1:0:0::_27:false::1:74:45:1:0:0::_27:false::1:73:46:1:0:0::_27:false::1:72:47:1:0:0::_27:false::1:71:48:1:0:0::_27:false::1:70:49:1:0:0::_27:false::1:69:50:1:0:0::_27:false::1:68:51:1:0:0::_27:false::1:67:52:1:0:0::_27:false::1:66:53:1:0:0::_27:false::1:65:54:1:0:0::_27:false::1:64:55:1:0:0::_27:false::1:63:56:1:0:0::_27:false::1:62:57:1:0:0::_27:false::1:61:58:1:0:0::_26:false::1:54:52:1:0:0::_26:false::1:53:51:1:0:0::_26:false::1:52:50:1:0:0::_26:false::1:51:49:1:0:0::_26:false::1:50:48:1:0:0::_26:false::1:49:47:1:0:0::_26:false::1:48:46:1:0:0::_26:false::1:47:45:1:0:0::_26:false::1:46:44:1:0:0::_27:false::1:37:38:1:0:0::_27:false::1:36:39:1:0:0::_27:false::1:35:40:1:0:0::_27:false::1:34:41:1:0:0::_27:false::1:33:42:1:0:0::_27:false::1:32:43:1:0:0::_27:false::1:31:44:1:0:0::_27:false::1:30:45:1:0:0::_27:false::1:29:46:1:0:0::_27:false::1:28:47:1:0:0::_27:false::1:27:48:1:0:0::_27:false::1:26:49:1:0:0::_27:false::1:25:50:1:0:0::_27:false::1:24:51:1:0:0::_27:false::1:23:52:1:0:0::_27:false::1:22:53:1:0:0::_27:false::1:21:54:1:0:0::_27:false::1:20:55:1:0:0::_27:false::1:19:56:1:0:0::_27:false::1:9:66:1:0:0::_27:false::1:8:67:1:0:0::_27:false::1:7:68:1:0:0::_27:false::1:6:69:1:0:0::_27:false::1:5:70:1:0:0::_27:false::1:4:71:1:0:0::_27:false::1:3:72:1:0:0::_27:false::1:2:73:1:0:0::_26:false::1:7:87:1:0:0::_26:false::1:6:86:1:0:0::_26:false::1:5:85:1:0:0::_26:false::1:4:84:1:0:0::_26:false::1:3:83:1:0:0::_26:false::1:2:82:1:0:0::_26:false::1:30:110:1:0:0::_26:false::1:31:111:1:0:0::_26:false::1:32:112:1:0:0::_26:false::1:33:113:1:0:0::_26:false::1:34:114:1:0:0::_26:false::1:35:115:1:0:0::_26:false::1:36:116:1:0:0::_26:false::1:37:117:1:0:0::_26:false::1:38:118:1:0:0::_26:false::1:39:119:1:0:0::_26:false::1:40:120:1:0:0::_26:false::1:41:121:1:0:0::_26:false::1:42:122:1:0:0::_26:false::1:43:123:1:0:0::_26:false::1:44:124:1:0:0::_26:false::1:45:125:1:0:0::_26:false::1:46:126:1:0:0::_26:false::1:47:127:1:0:0::_26:false::1:48:128:1:0:0::_26:false::1:49:129:1:0:0::_26:false::1:50:130:1:0:0::_26:false::1:51:131:1:0:0::_26:false::1:52:132:1:0:0::_26:false::1:53:133:1:0:0::_26:false::1:54:134:1:0:0::_26:false::1:55:135:1:0:0::_27:false::1:56:135:1:0:0::_27:false::1:57:134:1:0:0::_27:false::1:58:133:1:0:0::_27:false::1:59:132:1:0:0::_27:false::1:60:131:1:0:0::_27:false::1:61:130:1:0:0::_27:false::1:62:129:1:0:0::_27:false::1:63:128:1:0:0::_27:false::1:64:127:1:0:0::_27:false::1:65:126:1:0:0::_27:false::1:66:125:1:0:0::_27:false::1:67:124:1:0:0::_27:false::1:68:123:1:0:0::_27:false::1:69:122:1:0:0::_27:false::1:70:121:1:0:0::_27:false::1:71:120:1:0:0::_27:false::1:72:119:1:0:0::_27:false::1:73:118:1:0:0::_27:false::1:74:117:1:0:0::_27:false::1:75:116:1:0:0::_27:false::1:76:115:1:0:0::_27:false::1:77:114:1:0:0::_27:false::1:78:113:1:0:0::_27:false::1:79:112:1:0:0::_27:false::1:80:111:1:0:0::_27:false::1:81:110:1:0:0::_27:false::1:82:109:1:0:0::_27:false::1:83:108:1:0:0::_27:false::1:84:107:1:0:0::_27:false::1:85:106:1:0:0::_27:false::1:86:105:1:0:0::_27:false::1:87:104:1:0:0::_26:false::1:88:104:1:0:0::_26:false::1:89:105:1:0:0::_26:false::1:90:106:1:0:0::_26:false::1:91:107:1:0:0::_26:false::1:92:108:1:0:0::_26:false::1:93:109:1:0:0::_26:false::1:94:110:1:0:0::_26:false::1:95:111:1:0:0::_26:false::1:96:112:1:0:0::_26:false::1:97:113:1:0:0::_26:false::1:29:109:1:0:0::_26:false::1:28:108:1:0:0::_26:false::1:27:107:1:0:0::_26:false::1:26:106:1:0:0::_27:false::1:18:57:1:0:0::_27:false::1:17:58:1:0:0::_27:false::1:16:59:1:0:0::_50:false::1:23:20:1:0:0::_21:false::1:55:144:1:0:0::_21:false::1:91:187:1:0:0::_21:false::1:75:157:1:0:0::_21:false::1:74:180:1:0:0::_21:false::1:63:171:1:0:0::_21:false::1:90:138:1:0:0::_21:false::1:1:87:1:0:0::_21:false::1:7:31:1:0:0::_20:false::1:51:136:1:0:0::_20:false::1:78:141:1:0:0::_20:false::1:81:172:1:0:0::_20:false::1:42:189:1:0:0::_23:false::1:15:147:1:0:0::_23:false::1:1:94:1:0:0::_23:false::1:4:75:1:0:0::_23:false::1:6:40:1:0:0::_23:false::1:1:5:1:0:0::_23:false::1:24:4:1:0:0::_23:false::1:35:4:1:0:0::_23:false::1:59:9:1:0:0::_23:false::1:64:27:1:0:0::_23:false::1:84:28:1:0:0::_22:false::1:90:42:1:0:0::_22:false::1:80:178:1:0:0::_22:false::1:53:180:1:0:0::_22:false::1:58:188:1:0:0::_22:false::1:89:164:1:0:0::_22:false::1:84:146:1:0:0::_22:false::1:25:150:1:0:0::_22:false::1:1:121:1:0:0::_23:false::1:4:128:1:0:0::_21:false::1:85:49:1:0:0::_20:false::1:73:51:1:0:0::_26:false::1:60:58:1:0:0::_22:false::1:7:191:1:0:0::_22:false::1:6:186:1:0:0::_23:false::1:14:181:1:0:0::_21:false::1:26:181:1:0:0::_22:false::1:42:142:1:0:0::_23:false::1:15:93:1:0:0::_22:false::1:21:13:1:0:0::_23:false::1:17:5:1:0:0::_22:false::1:14:2:1:0:0::_23:false::1:10:6:1:0:0::_20:false::1:42:9:1:0:0::_22:false::1:42:15:1:0:0::_21:false::1:46:5:1:0:0::_21:false::1:50:17:1:0:0::_21:false::1:54:9:1:0:0::_22:false::1:54:14:1:0:0::_22:false::1:63:6:1:0:0::_22:false::1:68:35:1:0:0::_21:false::1:74:29:1:0:0::_20:false::1:81:26:1:0:0::_22:false::1:84:4:1:0:0::_22:false::1:81:12:1:0:0::_23:false::1:85:15:1:0:0::_23:false::1:91:25:1:0:0::_21:false::1:93:4:1:0:0::_170:false::1:89:49:-2:0:0::_170:false::1:87:51:-2:0:0::_170:false::1:85:53:-2:0:0::_170:false::1:91:51:-2:0:0::_170:false::1:89:53:-2:0:0::_170:false::1:87:55:-2:0:0::_170:false::1:93:53:-2:0:0::_170:false::1:91:55:-2:0:0::_170:false::1:89:57:-2:0:0::_171:false::1:91:53:1:0:0::_171:false::1:87:53:1:0:0::_171:false::1:87:49:1:0:0::_171:false::1:89:55:1:0:0::_172:false::1:89:51:1:0:0::_172:false::1:85:51:1:0:0::_172:false::1:85:55:1:0:0::_172:false::1:87:57:1:0:0::_172:false::1:83:53:1:0:0::_170:false::1:69:65:-2:0:0::_170:false::1:71:63:-2:0:0::_170:false::1:73:61:-2:0:0::_171:false::1:69:63:1:0:0::_170:false::1:75:63:-2:0:0::_170:false::1:73:65:-2:0:0::_170:false::1:71:67:-2:0:0::_170:false::1:77:65:-2:0:0::_170:false::1:75:67:-2:0:0::_170:false::1:73:69:-2:0:0::_170:false::1:77:69:-2:0:0::_170:false::1:75:71:-2:0:0::_170:false::1:79:67:-2:0:0::_171:false::1:73:63:1:0:0::_171:false::1:73:71:1:0:0::_171:false::1:71:69:1:0:0::_172:false::1:75:69:1:0:0::_172:false::1:75:65:1:0:0::_172:false::1:71:65:1:0:0::_172:false::1:71:61:1:0:0::_172:false::1:67:65:1:0:0::_172:false::1:69:67:1:0:0::_21:false::1:62:60:1:0:0::_22:false::1:91:116:1:0:0::_21:false::1:82:113:1:0:0::_37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:44:88:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:19.5:77:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:63.5:101:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:72.5:69:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._171:false::1:73:67:1:0:0::_37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:15.5:69:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:26.5:7:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._27:false::1:38:37:1:0:0::_26:false::1:45:43:1:0:0::_26:false::1:44:42:1:0:0::_26:false::1:43:41:1:0:0::_26:false::1:42:40:1:0:0::_26:false::1:41:39:1:0:0::_26:false::1:40:38:1:0:0::_26:false::1:39:37:1:0:0::_50:false::1:37:59:1:0:0::_50:false::1:29:51:1:0:0::_52:false::1:40:71:1:0:0::_53:false::1:27:67:1:0:0::_21:false::1:25:59:1:0:0::_22:false::1:35:42:1:0:0::_22:false::1:46:54:1:0:0::_23:false::1:40:47:1:0:0::_37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:30:53:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:40.5:46:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._105:false::1:112:31:2:0:0::_104:false::1:115:28:2:0:0::_104:false::1:119:24:2:0:0::_105:false::1:116:27:2:0:0::_106:false::1:104:24:2:0:0::_106:false::1:108:28:2:0:0::_107:false::1:111:31:2:0:0::_107:false::1:107:27:2:0:0::_107:false::1:111:63:2:0:0::_107:false::1:107:59:2:0:0::_106:false::1:108:60:2:0:0::_106:false::1:104:56:2:0:0::_105:false::1:112:63:2:0:0::_105:false::1:116:59:2:0:0::_104:false::1:119:56:2:0:0::_104:false::1:115:60:2:0:0::_104:false::1:119:88:2:0:0::_104:false::1:115:92:2:0:0::_105:false::1:116:91:2:0:0::_105:false::1:112:95:2:0:0::_106:false::1:104:88:2:0:0::_106:false::1:108:92:2:0:0::_107:false::1:111:95:2:0:0::_107:false::1:143:39:2:0:0::_107:false::1:139:35:2:0:0::_107:false::1:135:31:2:0:0::_107:false::1:131:27:2:0:0::_106:false::1:128:24:2:0:0::_106:false::1:132:28:2:0:0::_106:false::1:136:32:2:0:0::_106:false::1:140:36:2:0:0::_105:false::1:144:39:2:0:0::_105:false::1:148:35:2:0:0::_104:false::1:151:32:2:0:0::_104:false::1:147:36:2:0:0::_108:false::1:113:62:2:0:0::_108:false::1:113:30:2:0:0::_109:false::1:110:94:2:0:0::_108:false::1:145:38:2:0:0::_155:false::1:129:78:1:0:0::_154:false::1:162:78:1:0:0::_151:false::1:133:80:1:0:0::_150:false::1:160:80:1:0:0::_125:false::1:173:94:1:0:0::_122:false::1:177:96:1:0:0::_122:false::1:329:48:1:0:0::_81:false::1:136:17:1:0:0::_93:false::1:135:19:1:0:0::_98:false::1:132:20:1:0:0::_84:false::1:137:20:1:0:0::_97:false::1:138:21:1:0:0::_99:false::1:136:23:1:0:0::_91:false::1:131:21:1:0:0::_91:false::1:132:22:1:0:0::_84:false::1:133:24:1:0:0::_34:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:127:21:1:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._85:false::1:129:25:1:0:0::_85:false::1:130:24:1:0:0::_86:false::1:130:22:1:0:0::_96:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:136:22:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._83:false::1:140:23:1:0:0::_83:false::1:143:26:1:0:0::_83:false::1:146:29:1:0:0::_83:false::1:136:29:1:0:0::_87:false::1:140:22:1:0:0::_87:false::1:143:25:1:0:0::_87:false::1:146:28:1:0:0::_87:false::1:135:28:1:0:0::_86:false::1:137:27:1:0:0::_85:false::1:138:30:1:0:0::_85:false::1:141.7:24:1:0:0::_85:false::1:144.7:27:1:0:0::_85:false::1:147.7:30:1:0:0::_88:false::1:140:24:1:0:0::_88:false::1:143:27:1:0:0::_88:false::1:146:30:1:0:0::_89:false::1:135:30:1:0:0::_89:false::1:136:31:1:0:0::_89:false::1:137:23:1:0:0::_89:false::1:136:24:1:0:0::_86:false::1:138:28:1:0:0::_83:false::1:140:33:1:0:0::_87:false::1:140:31:1:0:0::_87:false::1:139:32:1:0:0::_86:false::1:141:31:1:0:0::_86:false::1:142:32:1:0:0::_88:false::1:139:34:1:0:0::_88:false::1:140:35:1:0:0::_187:false::1:140:36:-2:0:0::_89:false::1:131:22:1:0:0::_89:false::1:127:24:1:0:0::_89:false::1:128:25:1:0:0::_81:false::1:112:17:1:0:0::_94:false::1:112:19:1:0:0::_94:false::1:114:21:1:0:0::_94:false::1:116:23:1:0:0::_34:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:105:19:1:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._82:false::1:105.15:21.9:1:0:0::_95:false::1:103:22:1:0:0::_99:false::1:109:23:1:0:0::_80:false::1:111:21:1:0:0::_96:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:111:20:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._90:false::1:105:22:1:0:0::_91:false::1:110:18:1:0:0::_112:false::1:115:52:1:0:0::_113:false::1:114:53:1:0:0::_101:false::1:114:54:1:0:0::_103:false::1:111:52:1:0:0::_103:false::1:113:54:1:0:0::_82:false::1:112:47:1:0:0::_81:false::1:108:53:1:0:0::_102:false::1:112:53:0:0:0::_102:false::1:110:51:0:0:0::_83:false::1:113:58:1:0:0::_90:false::1:114:56:1:0:0::_90:false::1:115:57:1:0:0::_80:false::1:110:55:1:0:0::_99:false::1:108:57:1:0:0::_96:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:110:54:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._87:false::1:106:55:1:0:0::_40:false::1:116:57:2:0:0::_39:false::1:138:19.6:2:0:0::_40:false::1:137.7:20:2:0:0::_81:false::1:112:81:1:0:0::_91:false::1:110:83:1:0:0::_91:false::1:109:83:1:0:0::_91:false::1:111:84:1:0:0::_91:false::1:110:84:1:0:0::_95:false::1:103:86:1:0:0::_93:false::1:105:84:1:0:0::_99:false::1:108:89:1:0:0::_80:false::1:110:87:1:0:0::_96:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:110:86:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._87:false::1:107:86:1:0:0::_152:false::1:136:84:1:0:0::_153:false::1:136:87:1:0:0::_151:false::1:141:88:1:0:0::_126:false::1:178:90:1:0:0::_127:false::1:176:92:1:0:0::_182:false::1:172:88:-2:0:0::_120:false::1:187:81:1:0:0::_162:false::1:188:90:-2:0:0::_67:false::1,2,3,4,5:83:59:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5.SELECT 5,FREE 0/0 - 5.SELECT 1.PLAY.4,4,3,3,2,2,1.SELECT 4,NOFREE 0/0_180:false::1:128:16:-2:0:0::_181:false::1:148:24:-2:0:0::_181:false::1:140:16:-2:0:0::_182:false::1:132:16:-2:0:0::_183:false::1:136:16:-2:0:0::_183:false::1:144:24:-2:0:0::_107:false::1:107:91:2:0:0::_58:false::1:38:71:-2:0:0::_58:false::1:44:59:-2:0:0::_56:false::1,2,3,4:44:60:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_56:false::1,2,3,4:38:72:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_180:false::1:104:16:-2:0:0::_181:false::1:116:16:-2:0:0::_182:false::1:108:16:-2:0:0::_183:false::1:112:16:-2:0:0::_100:false::1:106:22:-2:0:0::_100:false::1:108:20:-2:0:0::_100:false::1:112:16:-2:0:0::_101:false::1:107:21:-2:0:0::_101:false::1:111:17:-2:0:0::_101:false::1:113:15:-2:0:0::_102:false::1:114:15:-2:0:0::_102:false::1:116:17:-2:0:0::_102:false::1:118:19:-2:0:0::_102:false::1:120:21:-2:0:0::_103:false::1:115:16:-2:0:0::_103:false::1:117:18:-2:0:0::_103:false::1:119:20:-2:0:0::_103:false::1:121:22:-2:0:0::_181:false::1:116:48:-2:0:0::_180:false::1:104:48:-2:0:0::_182:false::1:108:48:-2:0:0::_183:false::1:112:48:-2:0:0::_100:false::1:106:54:-2:0:0::_100:false::1:108:52:-2:0:0::_100:false::1:110:50:-2:0:0::_100:false::1:112:48:-2:0:0::_101:false::1:107:53:-2:0:0::_101:false::1:109:51:-2:0:0::_101:false::1:111:49:-2:0:0::_101:false::1:113:47:-2:0:0::_102:false::1:114:47:-2:0:0::_102:false::1:116:49:-2:0:0::_102:false::1:118:51:-2:0:0::_102:false::1:120:53:-2:0:0::_103:false::1:115:48:-2:0:0::_103:false::1:117:50:-2:0:0::_103:false::1:119:52:-2:0:0::_103:false::1:121:54:-2:0:0::_180:false::1:104:80:-2:0:0::_181:false::1:116:80:-2:0:0::_182:false::1:108:80:-2:0:0::_183:false::1:112:80:-2:0:0::_100:false::1:106:86:-2:0:0::_100:false::1:108:84:-2:0:0::_100:false::1:110:82:-2:0:0::_100:false::1:112:80:-2:0:0::_101:false::1:107:85:-2:0:0::_101:false::1:109:83:-2:0:0::_101:false::1:111:81:-2:0:0::_101:false::1:113:79:-2:0:0::_102:false::1:114:79:-2:0:0::_102:false::1:116:81:-2:0:0::_102:false::1:118:83:-2:0:0::_102:false::1:120:85:-2:0:0::_103:false::1:115:80:-2:0:0::_103:false::1:117:82:-2:0:0::_103:false::1:119:84:-2:0:0::_103:false::1:121:86:-2:0:0::_114:false::1:108:19:-2:0:0::_115:false::1:108:19:1:0:0::_115:false::1:130:21:1:0:0::_100:false::1:133:19:-2:0:0::_100:false::1:135:17:-2:0:0::_100:false::1:137:15:-2:0:0::_101:false::1:136:16:-2:0:0::_101:false::1:134:18:-2:0:0::_114:false::1:130:21:-2:0:0::_102:false::1:138:15:-2:0:0::_102:false::1:140:17:-2:0:0::_102:false::1:142:19:-2:0:0::_102:false::1:144:21:-2:0:0::_102:false::1:146:23:-2:0:0::_102:false::1:148:25:-2:0:0::_102:false::1:150:27:-2:0:0::_102:false::1:152:29:-2:0:0::_103:false::1:153:30:-2:0:0::_103:false::1:151:28:-2:0:0::_103:false::1:149:26:-2:0:0::_103:false::1:147:24:-2:0:0::_103:false::1:145:22:-2:0:0::_103:false::1:143:20:-2:0:0::_103:false::1:141:18:-2:0:0::_103:false::1:139:16:-2:0:0::_101:false::1:130:22:1:0:0::_111:false::1:142:21:-2:0:0::_111:false::1:150:29:-2:0:0::_111:false::1:146:25:-2:0:0::_111:false::1:134:29:2:0:0::_111:false::1:138:33:2:0:0::_111:false::1:142:37:2:0:0::_111:false::1:110:29:2:0:0::_111:false::1:110:61:2:0:0::_111:false::1:106:89:2:0:0::_111:false::1:116:83:-2:0:0::_111:false::1:118:53:-2:0:0::_174:false::1:30:104:1:0:7:Store:_173:false::1:25:88:1:0:7:Blacksmith:_174:false::1:33:76:1:0:7:Tavern:_174:false::1:39:64:1:0:7:Magical Potions And Items:_92:false::1:133:19:1:0:0::_89:false::1:134:20:1:0:0::_89:false::1:135:20:1:0:0::_56:false::1,2,3,4:114:52:1:0:0::_57:false::1,2,3,4:118:85:1:0:0::_57:false::1,2,3,4:69:84:1:0:0::_57:false::1,2,3,4:61:76:1:0:0::_57:false::1,2,3,4:52:107:1:0:0::_57:false::1,2,3,4:60:115:1:0:0::_57:false::1,2,3,4:52:123:1:0:0::_57:false::1,2,3,4:44:115:1:0:0::_57:false::1,2,3,4:12:83:1:0:0::_56:false::1,2,3,4:36:52:1:0:0::_61:false::1,2,3,4:77:92:1:0:0::_56:false::1,2,3,4:30:21:1:0:0::_142:false::1:187:86:-2:0:0::_142:false::1:189:84:-2:0:0::_142:false::1:191:82:-2:0:0::_160:false::1:184:84:-2:0:0::_160:false::1:186:86:-2:0:0::_144:false::1:185:95:-2:0:0::_142:false::1:187:98:-2:0:0::_142:false::1:185:100:-2:0:0::_142:false::1:183:102:-2:0:0::_162:false::1:188:86:-2:0:0::_163:false::1:188:86:-2:0:0::_187:false::1:180:104:-2:0:0::_143:false::1:188:82:-2:0:0::_143:false::1:190:84:-2:0:0::_143:false::1:192:86:-2:0:0::_143:false::1:194:88:-2:0:0::_143:false::1:196:90:-2:0:0::_143:false::1:198:92:-2:0:0::_143:false::1:200:94:-2:0:0::_122:false::1:194:77:1:0:0::_122:false::1:196:79:1:0:0::_122:false::1:198:81:1:0:0::_122:false::1:200:83:1:0:0::_122:false::1:202:85:1:0:0::_122:false::1:204:87:1:0:0::_122:false::1:206:89:1:0:0::_145:false::1:204:99:-2:0:0::_122:false::1:208:91:1:0:0::_122:false::1:210:93:1:0:0::_141:false::1:206:96:1:0:0::_140:false::1:214:98:1:0:0::_143:false::1:204:102:-2:0:0::_142:false::1:213:104:-2:0:0::_143:false::1:210:104:-2:0:0::_143:false::1:212:106:-2:0:0::_143:false::1:214:108:-2:0:0::_143:false::1:216:110:-2:0:0::_143:false::1:218:112:-2:0:0::_143:false::1:220:114:-2:0:0::_143:false::1:206:104:-2:0:0::_120:false::1:199:117:1:0:0::_120:false::1:201:115:1:0:0::_120:false::1:203:113:1:0:0::_120:false::1:205:111:1:0:0::_141:false::1:208:118:1:0:0::_140:false::1:216:120:1:0:0::_122:false::1:220:123:1:0:0::_124:false::1:223:127:1:0:0::_120:false::1:221:129:1:0:0::_120:false::1:219:131:1:0:0::_120:false::1:217:133:1:0:0::_120:false::1:216:134:1:0:0::_143:false::1:222:116:-2:0:0::_143:false::1:224:118:-2:0:0::_143:false::1:226:120:-2:0:0::_143:false::1:228:122:-2:0:0::_143:false::1:230:124:-2:0:0::_143:false::1:232:126:-2:0:0::_143:false::1:234:128:-2:0:0::_143:false::1:236:130:-2:0:0::_122:false::1:227:130:1:0:0::_141:false::1:225:135:1:0:0::_140:false::1:233:137:1:0:0::_122:false::1:237:140:1:0:0::_124:false::1:240:144:1:0:0::_120:false::1:238:146:1:0:0::_120:false::1:236:148:1:0:0::_120:false::1:234:150:1:0:0::_120:false::1:233:151:1:0:0::_122:false::1:216:99:1:0:0::_122:false::1:218:101:1:0:0::_122:false::1:220:103:1:0:0::_122:false::1:222:105:1:0:0::_122:false::1:224:107:1:0:0::_122:false::1:226:109:1:0:0::_122:false::1:228:111:1:0:0::_122:false::1:230:113:1:0:0::_122:false::1:232:115:1:0:0::_122:false::1:234:117:1:0:0::_122:false::1:236:119:1:0:0::_122:false::1:238:121:1:0:0::_122:false::1:240:123:1:0:0::_122:false::1:242:125:1:0:0::_122:false::1:244:127:1:0:0::_143:false::1:238:132:-2:0:0::_143:false::1:240:134:-2:0:0::_122:false::1:246:129:1:0:0::_122:false::1:248:131:1:0:0::_143:false::1:242:136:-2:0:0::_143:false::1:244:138:-2:0:0::_143:false::1:246:140:-2:0:0::_122:false::1:250:133:1:0:0::_122:false::1:252:135:1:0:0::_122:false::1:242:145:1:0:0::_122:false::1:244:147:1:0:0::_122:false::1:246:149:1:0:0::_122:false::1:248:151:1:0:0::_122:false::1:250:153:1:0:0::_122:false::1:252:155:1:0:0::_122:false::1:254:157:1:0:0::_142:false::1:253:140:-2:0:0::_142:false::1:255:138:-2:0:0::_144:false::1:253:135:-2:0:0::_142:false::1:259:130:-2:0:0::_143:false::1:256:130:-2:0:0::_143:false::1:258:132:-2:0:0::_143:false::1:260:134:-2:0:0::_143:false::1:262:136:-2:0:0::_143:false::1:264:138:-2:0:0::_143:false::1:266:140:-2:0:0::_184:false::1:268:136:-2:0:0::_186:false::1:234:146:-2:0:0::_187:false::1:238:146:-2:0:0::_187:false::1:244:152:-2:0:0::_186:false::1:230:150:-2:0:0::_185:false::1:248:152:-2:0:0::_185:false::1:241:145:-2:0:0::_136:false::1:252:136:1:0:0::_120:false::1:191:77:1:0:0::_32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:187:82:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:177:95:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:190:108:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:203:92:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:219:108:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:233:122:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:247:136:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:234:138:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:207:111:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:217:121:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:224:128:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._133:false::1:208:111:1:0:0::_133:false::1:212:115:1:0:0::_133:false::1:222:125:1:0:0::_133:false::1:218:121:1:0:0::_133:false::1:229:132:1:0:0::_133:false::1:225:128:1:0:0::_133:false::1:239:142:1:0:0::_133:false::1:235:138:1:0:0::_122:false::1:210:113:1:0:0::_33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:263:132:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._122:false::1:274:137:1:0:0::_122:false::1:272:135:1:0:0::_122:false::1:270:133:1:0:0::_122:false::1:268:131:1:0:0::_122:false::1:266:129:1:0:0::_122:false::1:264:127:1:0:0::_122:false::1:262:125:1:0:0::_122:false::1:260:123:1:0:0::_122:false::1:258:121:1:0:0::_122:false::1:256:119:1:0:0::_122:false::1:246:109:1:0:0::_122:false::1:244:107:1:0:0::_122:false::1:242:105:1:0:0::_122:false::1:240:103:1:0:0::_122:false::1:234:97:1:0:0::_122:false::1:232:95:1:0:0::_122:false::1:230:93:1:0:0::_141:false::1:230:100:1:0:0::_140:false::1:238:102:1:0:0::_120:false::1:261:123:1:0:0::_120:false::1:263:121:1:0:0::_120:false::1:265:119:1:0:0::_124:false::1:267:117:1:0:0::_116:false::1:199:117:1:0:0::_116:false::1:202:120:1:0:0::_116:false::1:205:123:1:0:0::_116:false::1:208:126:1:0:0::_116:false::1:211:129:1:0:0::_116:false::1:216:134:1:0:0::_116:false::1:228:146:1:0:0::_116:false::1:219:137:1:0:0::_116:false::1:222:140:1:0:0::_116:false::1:225:143:1:0:0::_133:false::1:264:113:1:0:0::_122:false::1:262:111:1:0:0::_122:false::1:266:115:1:0:0::_122:false::1:250:99:1:0:0::_122:false::1:254:103:1:0:0::_122:false::1:258:107:1:0:0::_133:false::1:260:109:1:0:0::_133:false::1:256:105:1:0:0::_133:false::1:252:101:1:0:0::_133:false::1:248:97:1:0:0::_133:false::1:244:93:1:0:0::_133:false::1:240:89:1:0:0::_133:false::1:236:85:1:0:0::_122:false::1:238:87:1:0:0::_122:false::1:242:91:1:0:0::_122:false::1:246:95:1:0:0::_120:false::1:231:83:1:0:0::_125:false::1:224:89:1:0:0::_122:false::1:228:91:1:0:0::_122:false::1:254:117:1:0:0::_122:false::1:252:115:1:0:0::_140:false::1:250:114:1:0:0::_141:false::1:242:112:1:0:0::_33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:247:97:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:235:85:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:259:109:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:233:97:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:245:109:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._122:false::1:215:78:1:0:0::_122:false::1:213:76:1:0:0::_122:false::1:211:74:1:0:0::_122:false::1:209:72:1:0:0::_122:false::1:207:70:1:0:0::_122:false::1:205:68:1:0:0::_120:false::1:207:89:1:0:0::_120:false::1:209:87:1:0:0::_120:false::1:211:85:1:0:0::_120:false::1:213:83:1:0:0::_183:false::1:196:80:-2:0:0::_187:false::1:204:72:-2:0:0::_185:false::1:208:72:-2:0:0::_185:false::1:200:64:-2:0:0::_182:false::1:208:80:-2:0:0::_125:false::1:201:66:1:0:0::_124:false::1:216:80:1:0:0::_120:false::1:214:82:1:0:0::_76:false::1:211:73:1:0:0::_76:false::1:212:72:1:0:0::_76:false::1:213:71:1:0:0::_76:false::1:214:70:1:0:0::_76:false::1:215:69:1:0:0::_76:false::1:216:68:1:0:0::_76:false::1:217:67:1:0:0::_122:false::1:214:57:1:0:0::_122:false::1:215:58:1:0:0::_122:false::1:217:60:1:0:0::_122:false::1:219:62:1:0:0::_122:false::1:221:64:1:0:0::_136:false::1:221:65:1:0:0::_76:false::1:221:63:1:0:0::_76:false::1:222:62:1:0:0::_76:false::1:223:61:1:0:0::_76:false::1:224:60:1:0:0::_76:false::1:225:59:1:0:0::_76:false::1:226:58:1:0:0::_76:false::1:227:57:1:0:0::_76:false::1:231:53:1:0:0::_76:false::1:232:52:1:0:0::_76:false::1:233:51:1:0:0::_76:false::1:234:50:1:0:0::_76:false::1:235:49:1:0:0::_76:false::1:236:48:1:0:0::_141:false::1:212:82:1:0:0::_140:false::1:220:84:1:0:0::_122:false::1:222:85:1:0:0::_122:false::1:224:87:1:0:0::_122:false::1:225:88:1:0:0::_120:false::1:221:83:1:0:0::_120:false::1:223:81:1:0:0::_120:false::1:225:79:1:0:0::_122:false::1:232:81:1:0:0::_122:false::1:230:79:1:0:0::_122:false::1:229:78:1:0:0::_136:false::1:227:87:1:0:0::_137:false::1:227:84:1:0:0::_120:false::1:226:88:1:0:0::_116:false::1:222:82:1:0:0::_132:false::1:210:58:1:0:0::_132:false::1:206:62:1:0:0::_120:false::1:208:60:1:0:0::_120:false::1:204:64:1:0:0::_122:false::1:237:44:1:0:0::_76:false::1:236.8:47.2:1:0:0::_76:false::1:252.8:31.2:1:0:0::_76:false::1:252:32:1:0:0::_76:false::1:251:33:1:0:0::_76:false::1:248:36:1:0:0::_76:false::1:247:37:1:0:0::_76:false::1:246:38:1:0:0::_32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:215:49:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:223:41:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:206:58:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._122:false::1:246:39:1:0:0::_122:false::1:244:37:1:0:0::_122:false::1:242:35:1:0:0::_122:false::1:240:33:1:0:0::_122:false::1:239:32:1:0:0::_124:false::1:246:40:1:0:0::_120:false::1:244:42:1:0:0::_120:false::1:242:44:1:0:0::_141:false::1:226:40:1:0:0::_140:false::1:234:42:1:0:0::_122:false::1:236:43:1:0:0::_156:false::1,2,3,4,5,6,7,8:227:42:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,6,6,6,6,7,7,7,7,8.SELECT 0,FREE 3/0,FREE 3/-1,FREE 3/-2_120:false::1:240:46:1:0:0::_122:false::1:239:46:1:0:0::_116:false::1:233:37:1:0:0::_116:false::1:235:39:1:0:0::_33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:249:25:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._143:false::1:257:43:-2:0:0::_143:false::1:259:45:-2:0:0::_142:false::1:260:43:-2:0:0::_142:false::1:258:45:-2:0:0::_144:false::1:252:50:-2:0:0::_142:false::1:254:53:-2:0:0::_142:false::1:252:55:-2:0:0::_142:false::1:250:57:-2:0:0::_142:false::1:248:59:-2:0:0::_142:false::1:246:61:-2:0:0::_142:false::1:244:63:-2:0:0::_142:false::1:242:65:-2:0:0::_142:false::1:241:66:-2:0:0::_160:false::1:238:64:-2:0:0::_160:false::1:240:66:-2:0:0::_162:false::1:238:62:-2:0:0::_160:false::1:242:68:-2:0:0::_142:false::1:245:74:-2:0:0::_142:false::1:243:76:-2:0:0::_142:false::1:241:78:-2:0:0::_142:false::1:239:80:-2:0:0::_142:false::1:237:82:-2:0:0::_142:false::1:236:83:-2:0:0::_162:false::1:244:68:-2:0:0::_163:false::1:244:68:-2:0:0::_120:false::1:226:78:1:0:0::_120:false::1:233:81:1:0:0::_120:false::1:235:79:1:0:0::_120:false::1:237:77:1:0:0::_120:false::1:239:75:1:0:0::_122:false::1:234:83:1:0:0::_120:false::1:243:71:1:0:0::_120:false::1:241:73:1:0:0::_122:false::1:248:23:1:0:0::_122:false::1:250:25:1:0:0::_131:false::1:244:31:-2:0:0::_143:false::1:261:47:-2:0:0::_143:false::1:263:49:-2:0:0::_143:false::1:265:51:-2:0:0::_143:false::1:267:53:-2:0:0::_143:false::1:269:55:-2:0:0::_143:false::1:271:57:-2:0:0::_143:false::1:273:59:-2:0:0::_143:false::1:275:61:-2:0:0::_120:false::1:249:95:1:0:0::_120:false::1:251:93:1:0:0::_120:false::1:253:91:1:0:0::_120:false::1:255:89:1:0:0::_120:false::1:257:87:1:0:0::_120:false::1:259:85:1:0:0::_120:false::1:261:83:1:0:0::_120:false::1:263:81:1:0:0::_120:false::1:265:79:1:0:0::_120:false::1:267:77:1:0:0::_120:false::1:269:75:1:0:0::_120:false::1:271:73:1:0:0::_120:false::1:273:71:1:0:0::_120:false::1:275:69:1:0:0::_120:false::1:277:67:1:0:0::_120:false::1:279:65:1:0:0::_120:false::1:281:63:1:0:0::_120:false::1:283:61:1:0:0::_124:false::1:274:138:1:0:0::_124:false::1:284:60:1:0:0::_181:false::1:280:55:-2:0:0::_184:false::1:280:56:-2:0:0::_184:false::1:272:64:-2:0:0::_184:false::1:264:72:-2:0:0::_184:false::1:256:80:-2:0:0::_186:false::1:276:64:-2:0:0::_186:false::1:268:72:-2:0:0::_186:false::1:260:80:-2:0:0::_186:false::1:252:88:-2:0:0::_184:false::1:248:88:-2:0:0::_183:false::1:248:96:-2:0:0::_183:false::1:256:104:-2:0:0::_183:false::1:265:128:-2:0:0::_181:false::1:252:96:-2:0:0::_181:false::1:260:104:-2:0:0::_181:false::1:269:127:-2:0:0::_183:false::1:260:123:-2:0:0::_184:false::1:261:115:-2:0:0::_130:false::1:243:86:-2:0:0::_122:false::1:260:83:1:0:0::_122:false::1:258:81:1:0:0::_122:false::1:256:79:1:0:0::_122:false::1:254:77:1:0:0::_122:false::1:252:75:1:0:0::_136:false::1:245.25:68.75:1:0:0::_120:false::1:244.25:69.75:1:0:0::_137:false::1:247:74:1:0:0::_116:false::1:260:51:1:0:0::_116:false::1:263:54:1:0:0::_116:false::1:266:57:1:0:0::_116:false::1:269:60:1:0:0::_116:false::1:272:63:1:0:0::_116:false::1:257:78:1:0:0::_116:false::1:254:75:1:0:0::_116:false::1:251:72:1:0:0::_132:false::1:220:48:1:0:0::_132:false::1:223:45:1:0:0::_132:false::1:215:53:1:0:0::_132:false::1:227:41:1:0:0::_120:false::1:221:47:1:0:0::_120:false::1:218:50:1:0:0::_32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:246:57:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:221:76:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:236:71:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:262:43:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:276:57:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:254:76:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:248:70:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:250:87:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._145:false::1:336:43:-2:0:0::_143:false::1:336:46:-2:0:0::_142:false::1:343:46:-2:0:0::_144:false::1:345:43:-2:0:0::_143:false::1:340:46:-2:0:0::_142:false::1:347:46:-2:0:0::_142:false::1:351:38:-2:0:0::_142:false::1:353:36:-2:0:0::_142:false::1:355:34:-2:0:0::_142:false::1:357:32:-2:0:0::_142:false::1:359:30:-2:0:0::_142:false::1:361:28:-2:0:0::_142:false::1:363:26:-2:0:0::_143:false::1:360:26:-2:0:0::_143:false::1:362:28:-2:0:0::_143:false::1:364:30:-2:0:0::_143:false::1:366:32:-2:0:0::_187:false::1:324:48:-2:0:0::_120:false::1:363:21:1:0:0::_120:false::1:361:23:1:0:0::_120:false::1:359:25:1:0:0::_120:false::1:357:27:1:0:0::_120:false::1:355:29:1:0:0::_120:false::1:353:31:1:0:0::_141:false::1:342:28:1:0:0::_140:false::1:350:30:1:0:0::_122:false::1:352:31:1:0:0::_125:false::1:349:52:1:0:0::_120:false::1:352:50:1:0:0::_120:false::1:354:48:1:0:0::_120:false::1:356:46:1:0:0::_120:false::1:358:44:1:0:0::_120:false::1:360:42:1:0:0::_120:false::1:362:40:1:0:0::_120:false::1:364:38:1:0:0::_120:false::1:366:36:1:0:0::_120:false::1:368:34:1:0:0::_120:false::1:370:32:1:0:0::_120:false::1:372:30:1:0:0::_128:false::1:352:54:1:0:0::_129:false::1:354:56:1:0:0::_124:false::1:356:58:1:0:0::_120:false::1:354:60:1:0:0::_120:false::1:352:62:1:0:0::_120:false::1:350:64:1:0:0::_120:false::1:348:66:1:0:0::_126:false::1:357:15:1:0:0::_124:false::1:373:29:1:0:0::_122:false::1:347:66:1:0:0::_186:false::1:345:65:-2:0:0::_186:false::1:352:58:-2:0:0::_184:false::1:349:57:-2:0:0::_186:false::1:364:34:-2:0:0::_186:false::1:356:42:-2:0:0::_184:false::1:353:41:-2:0:0::_184:false::1:360:34:-2:0:0::_184:false::1:367:27:-2:0:0::_184:false::1:370:24:-2:0:0::_181:false::1:368:23:-2:0:0::_183:false::1:352:57:-2:0:0::_183:false::1:349:52:-2:0:0::_183:false::1:353:56:-2:0:0::_184:false::1:349:45:-2:0:0::_116:false::1:340:37:1:0:0::_33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:348:50:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:353:15:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:333:51:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:363:32:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._116:false::1:358:29:1:0:0::_116:false::1:354:33:1:0:0::_116:false::1:350:37:1:0:0::_76:false::1:189:107:1:0:0::_76:false::1:190:106:1:0:0::_76:false::1:191:105:1:0:0::_76:false::1:192:104:1:0:0::_76:false::1:193:103:1:0:0::_76:false::1:194:102:1:0:0::_76:false::1:195:101:1:0:0::_76:false::1:196:100:1:0:0::_76:false::1:197:99:1:0:0::_76:false::1:198:98:1:0:0::_143:false::1:332:38:-2:0:0::_142:false::1:335:38:-2:0:0::_142:false::1:333:40:-2:0:0::_142:false::1:331:42:-2:0:0::_142:false::1:329:44:-2:0:0::_142:false::1:327:46:-2:0:0::_120:false::1:335:33:1:0:0::_122:false::1:338:33:1:0:0::_120:false::1:339:33:1:0:0::_120:false::1:341:31:1:0:0::_120:false::1:343:29:1:0:0::_120:false::1:345:27:1:0:0::_120:false::1:333:35:1:0:0::_120:false::1:331:37:1:0:0::_120:false::1:329:39:1:0:0::_120:false::1:327:41:1:0:0::_122:false::1:327:46:1:0:0::_125:false::1:323:44:1:0:0::_120:false::1:326:42:1:0:0::_185:false::1:323:43:-2:0:0::_182:false::1:339:23:-2:0:0::_32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:340:28:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._120:false::1:248:96:1:0:0::_164:false::1:228:35:2:0:0::_164:false::1:235:28:2:0:0::_164:false::1:210:53:2:0:0::_164:false::1:196:115:2:0:0::_164:false::1:213:132:2:0:0::_165:false::1:272:135:2:0:0::_164:false::1:258:121:2:0:0::_164:false::1:204:87:2:0:0::_164:false::1:218:81:2:0:0::_164:false::1:230:79:2:0:0::_165:false::1:230:79:2:0:0::_165:false::1:223:86:2:0:0::_164:false::1:245:94:2:0:0::_165:false::1:282:57:2:0:0::_165:false::1:258:81:2:0:0::_164:false::1:344:23:2:0:0::_165:false::1:362:17:2:0:0::_165:false::1:371:26:2:0:0::_29:false::1,2,3,4:27:20:1:0:2:WEAPON CLVL;ARMOR CLVL;GOLD+ CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:94:112:1:0:2:GOOD CLVL;GOLD+ CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_146:false::1,2,3,4,5,6:93:94:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5,5,6.SELECT 5,FREE -2/1,FREE -2/0,LAYER 50 - 5.SELECT 1.PLAY.5,5,4,4,3,3,2,2,1.SELECT 4,NOFREE -2/1,NOFREE -2/0,LAYER 1_78:false::1,2,3,4,5,6:249:35:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5,5,6.SELECT 5,FREE -2/1,FREE -2/0,LAYER 40 - 5.SELECT 1.PLAY.5,5,4,4,3,3,2,2,1.SELECT 4,NOFREE -2/1,NOFREE -2/0,LAYER 1_79:false::1,2,3,4,5,6:250:34:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5,5,6.SELECT 5,FREE -2/1,FREE -2/0,LAYER -50 - 5.SELECT 1.PLAY.5,5,4,4,3,3,2,2,1.SELECT 4,NOFREE -2/1,NOFREE -2/0,LAYER 1_117:false::1,2,3,4,5:351:37:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:355:33:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:359:29:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:341:37:1:0:0::..STOP.5._117:false::1,2,3,4,5:273:63:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:267:57:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:261:51:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:270:60:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:258:78:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:255:75:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:252:72:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:264:54:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:234:37:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:236:39:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:223:82:1:0:4:GOOD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:223:140:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:209:126:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:203:120:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:200:117:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:206:123:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:212:129:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:217:134:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:220:137:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:226:143:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:229:146:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2';
zoneData = '0 SC: 73 SC: 5 SC: START SZ: 1 SC: 110 SC: 93 SC: TELEPORT 36/108 SZ: 1 SC: 36 SC: 108 SC: TELEPORT 110/93 SZ: 2 SC: 113 SC: 61 SC: TELEPORT 23/92 SZ: 2 SC: 23 SC: 92 SC: TELEPORT 113/61 SZ: 5 SC: 175 SC: 92 SC: TELEPORT 83/59 SZ: 5 SC: 83 SC: 59 SC: TELEPORT 175/92 SZ: 6 SC: 145 SC: 37 SC: TELEPORT 38/73 SZ: 6 SC: 38 SC: 73 SC: TELEPORT 145/37 SZ: 7 SC: 113 SC: 29 SC: TELEPORT 44/61 SZ: 7 SC: 44 SC: 61 SC: TELEPORT 113/29 SZ: 8 SC: 354 SC: 17 SC: TELEPORT 244/31 SZ: 8 SC: 244 SC: 31 SC: TELEPORT 354/17 SZ: 9 SC: 350 SC: 56 SC: TELEPORT 243/86 SZ: 9 SC: 243 SC: 86 SC: TELEPORT 350/56 SZ: 10 SC: 47 SC: 71 SC: NPC Isis 1 SZ: 11 SC: 51 SC: 76 SC: NPC Edwin 1 SZ: 12 SC: 44 SC: 66 SC: NPC UrnebbarSwordMan 1 SZ: 13 SC: 38 SC: 78 SC: NPC UrnebbarSwordMan 1 SZ: 14 SC: 42 SC: 85 SC: NPC UrnebbarSwordMan 1 SZ: 15 SC: 51 SC: 85 SC: NPC UrnebbarSwordMan 1 SZ: 16 SC: 57 SC: 74 SC: NPC UrnebbarSwordMan 1 SZ: 17 SC: 54 SC: 59 SC: NPC UrnebbarSwordMan 1 SZ: 18 SC: 8 SC: 56 SC: NPC UrnebbarSwordMan 1 SZ: 19 SC: 56 SC: 49 SC: NPC UrnebbarSwordMan 1 SZ: 20 SC: 16 SC: 108 SC: NPC UrnebbarSwordMan 1 SZ: 21 SC: 110 SC: 21 SC: NPC Shardenias 0 SZ: 22 SC: 108 SC: 87 SC: NPC Tendera 0 SZ: 23 SC: 108 SC: 56 SC: NPC Atercrin 0 SZ: 24 SC: 136 SC: 21 SC: NPC Tabernero 0 SZ: 25 SC: 343 SC: 35 SC: NPC Zalmerion 0 SZ: 26 SC: 355 SC: 18 SC: NPC Demon 2 SZ: 27 SC: 357 SC: 19 SC: NPC Demon 2 SZ: 28 SC: 192 SC: 90 SC: NPC Damned 2 SZ: 29 SC: 191 SC: 96 SC: NPC Damned 2 SZ: 30 SC: 198 SC: 107 SC: NPC Damned 2 SZ: 31 SC: 205 SC: 116 SC: NPC Damned 2 SZ: 32 SC: 209 SC: 121 SC: NPC Damned 2 SZ: 33 SC: 216 SC: 114 SC: NPC Damned 2 SZ: 34 SC: 223 SC: 133 SC: NPC Damned 2 SZ: 35 SC: 226 SC: 138 SC: NPC Damned 2 SZ: 36 SC: 230 SC: 127 SC: NPC Damned 2 SZ: 37 SC: 245 SC: 143 SC: NPC Damned 2 SZ: 38 SC: 256 SC: 144 SC: NPC Damned 2 SZ: 39 SC: 253 SC: 126 SC: NPC Damned 2 SZ: 40 SC: 248 SC: 124 SC: NPC Damned 2 SZ: 41 SC: 231 SC: 108 SC: NPC Damned 2 SZ: 42 SC: 220 SC: 93 SC: NPC Damned 2 SZ: 43 SC: 217 SC: 91 SC: NPC Damned 2 SZ: 44 SC: 210 SC: 60 SC: NPC Damned 2 SZ: 45 SC: 209 SC: 64 SC: NPC Damned 2 SZ: 46 SC: 221 SC: 53 SC: NPC Damned 2 SZ: 47 SC: 227 SC: 86 SC: NPC Damned 2 SZ: 48 SC: 232 SC: 91 SC: NPC Damned 2 SZ: 49 SC: 237 SC: 95 SC: NPC Damned 2 SZ: 50 SC: 240 SC: 97 SC: NPC Damned 2 SZ: 51 SC: 251 SC: 109 SC: NPC Damned 2 SZ: 52 SC: 255 SC: 114 SC: NPC Damned 2 SZ: 53 SC: 228 SC: 45 SC: NPC Damned 2 SZ: 54 SC: 253 SC: 37 SC: NPC Damned 2 SZ: 55 SC: 247 SC: 46 SC: NPC Damned 2 SZ: 56 SC: 245 SC: 69 SC: NPC Damned 2 SZ: 57 SC: 247 SC: 81 SC: NPC Damned 2 SZ: 58 SC: 259 SC: 67 SC: NPC Damned 2 SZ: 59 SC: 262 SC: 60 SC: NPC Damned 2 SZ: 60 SC: 92 SC: 66 SC: NPC Damned 2 SZ: 61 SC: 88 SC: 70 SC: NPC Damned 2 SZ: 62 SC: 90 SC: 79 SC: NPC Damned 2 SZ: 63 SC: 31 SC: 77 SC: NPC Damned 2 SZ: 64 SC: 31 SC: 84 SC: NPC Damned 2 SZ: 65 SC: 35 SC: 90 SC: NPC Damned 2 SZ: 66 SC: 40 SC: 88 SC: NPC Damned 2 SZ: 67 SC: 46 SC: 89 SC: NPC Damned 2 SZ: 68 SC: 56 SC: 83 SC: NPC Damned 2 SZ: 69 SC: 56 SC: 78 SC: NPC Damned 2 SZ: 70 SC: 54 SC: 65 SC: NPC Damned 2 SZ: 71 SC: 51 SC: 62 SC: NPC Damned 2 SZ: 72 SC: 53 SC: 31 SC: NPC Damned 2 SZ: 73 SC: 57 SC: 32 SC: NPC Damned 2 SZ: 74 SC: 59 SC: 15 SC: NPC Damned 2 SZ: 75 SC: 67 SC: 36 SC: NPC Damned 2 SZ: 76 SC: 7 SC: 47 SC: NPC Damned 2 SZ: 77 SC: 4 SC: 41 SC: NPC Damned 2 SZ: 78 SC: 7 SC: 100 SC: NPC Damned 2 SZ: 79 SC: 10 SC: 109 SC: NPC Damned 2 SZ: 80 SC: 3 SC: 143 SC: NPC Damned 2 SZ: 81 SC: 9 SC: 151 SC: NPC Damned 2 SZ: 82 SC: 22 SC: 148 SC: NPC Damned 2 SZ: 83 SC: 22 SC: 141 SC: NPC Damned 2 SZ: 84 SC: 22 SC: 119 SC: NPC Damned 2 SZ: 85 SC: 35 SC: 127 SC: NPC Damned 2 SZ: 86 SC: 40 SC: 147 SC: NPC Damned 2 SZ: 87 SC: 45 SC: 156 SC: NPC Damned 2 SZ: 88 SC: 49 SC: 154 SC: NPC Damned 2 SZ: 89 SC: 62 SC: 154 SC: NPC Damned 2 SZ: 90 SC: 73 SC: 137 SC: NPC Damned 2 SZ: 91 SC: 79 SC: 118 SC: NPC Damned 2 SZ: 92 SC: 87 SC: 115 SC: NPC Damned 2 SZ: 93 SC: 5 SC: 40 SC: NPC SkeletonBow 2 SZ: 94 SC: 10 SC: 44 SC: NPC SkeletonBow 2 SZ: 95 SC: 2 SC: 60 SC: NPC SkeletonBow 2 SZ: 96 SC: 40 SC: 80 SC: NPC SkeletonBow 2 SZ: 97 SC: 55 SC: 78 SC: NPC SkeletonBow 2 SZ: 98 SC: 89 SC: 66 SC: NPC SkeletonBow 2 SZ: 99 SC: 196 SC: 106 SC: NPC SkeletonBow 2 SZ: 100 SC: 214 SC: 113 SC: NPC SkeletonBow 2 SZ: 101 SC: 211 SC: 123 SC: NPC SkeletonBow 2 SZ: 102 SC: 231 SC: 128 SC: NPC SkeletonBow 2 SZ: 103 SC: 252 SC: 145 SC: NPC SkeletonBow 2 SZ: 104 SC: 245 SC: 120 SC: NPC SkeletonBow 2 SZ: 105 SC: 233 SC: 90 SC: NPC SkeletonBow 2 SZ: 106 SC: 209 SC: 64 SC: NPC SkeletonBow 2 SZ: 107 SC: 219 SC: 55 SC: NPC SkeletonBow 2 SZ: 108 SC: 223 SC: 52 SC: NPC SkeletonBow 2 SZ: 109 SC: 237 SC: 55 SC: NPC SkeletonBow 2 SZ: 110 SC: 255 SC: 64 SC: NPC SkeletonBow 2 SZ: 111 SC: 245 SC: 88 SC: NPC SkeletonBow 2 SZ: 112 SC: 247 SC: 87 SC: NPC RottenFlesh 2 SZ: 113 SC: 241 SC: 79 SC: NPC RottenFlesh 2 SZ: 114 SC: 258 SC: 63 SC: NPC RottenFlesh 2 SZ: 115 SC: 248 SC: 44 SC: NPC RottenFlesh 2 SZ: 116 SC: 229 SC: 58 SC: NPC RottenFlesh 2 SZ: 117 SC: 215 SC: 90 SC: NPC RottenFlesh 2 SZ: 118 SC: 236 SC: 94 SC: NPC RottenFlesh 2 SZ: 119 SC: 248 SC: 108 SC: NPC RottenFlesh 2 SZ: 120 SC: 241 SC: 114 SC: NPC RottenFlesh 2 SZ: 121 SC: 248 SC: 123 SC: NPC RottenFlesh 2 SZ: 122 SC: 249 SC: 120 SC: NPC RottenFlesh 2 SZ: 123 SC: 260 SC: 138 SC: NPC RottenFlesh 2 SZ: 124 SC: 241 SC: 139 SC: NPC RottenFlesh 2 SZ: 125 SC: 221 SC: 133 SC: NPC RottenFlesh 2 SZ: 126 SC: 221 SC: 115 SC: NPC RottenFlesh 2 SZ: 127 SC: 204 SC: 115 SC: NPC RottenFlesh 2 SZ: 128 SC: 197 SC: 101 SC: NPC RottenFlesh 2 SZ: 129 SC: 191 SC: 89 SC: NPC RottenFlesh 2 SZ: 130 SC: 93 SC: 69 SC: NPC RottenFlesh 2 SZ: 131 SC: 92 SC: 75 SC: NPC RottenFlesh 2 SZ: 132 SC: 88 SC: 75 SC: NPC RottenFlesh 2 SZ: 133 SC: 36 SC: 78 SC: NPC RottenFlesh 2 SZ: 134 SC: 40 SC: 74 SC: NPC RottenFlesh 2 SZ: 135 SC: 56 SC: 76 SC: NPC RottenFlesh 2 SZ: 136 SC: 54 SC: 81 SC: NPC RottenFlesh 2 SZ: 137 SC: 44 SC: 87 SC: NPC RottenFlesh 2 SZ: 138 SC: 48 SC: 64 SC: NPC RottenFlesh 2 SZ: 139 SC: 41 SC: 24 SC: NPC RottenFlesh 2 SZ: 140 SC: 44 SC: 18 SC: NPC RottenFlesh 2 SZ: 141 SC: 47 SC: 27 SC: NPC RottenFlesh 2 SZ: 142 SC: 64 SC: 29 SC: NPC RottenFlesh 2 SZ: 143 SC: 16 SC: 45 SC: NPC RottenFlesh 2 SZ: 144 SC: 4 SC: 37 SC: NPC RottenFlesh 2 SZ: 145 SC: 2 SC: 45 SC: NPC RottenFlesh 2 SZ: 146 SC: 2 SC: 61 SC: NPC RottenFlesh 2 SZ: 147 SC: 7 SC: 103 SC: NPC RottenFlesh 2 SZ: 148 SC: 10 SC: 113 SC: NPC RottenFlesh 2 SZ: 149 SC: 8 SC: 116 SC: NPC RottenFlesh 2 SZ: 150 SC: 4 SC: 141 SC: NPC RottenFlesh 2 SZ: 151 SC: 10 SC: 144 SC: NPC RottenFlesh 2 SZ: 152 SC: 25 SC: 141 SC: NPC RottenFlesh 2 SZ: 153 SC: 24 SC: 132 SC: NPC RottenFlesh 2 SZ: 154 SC: 26 SC: 131 SC: NPC RottenFlesh 2 SZ: 155 SC: 36 SC: 126 SC: NPC RottenFlesh 2 SZ: 156 SC: 39 SC: 135 SC: NPC RottenFlesh 2 SZ: 157 SC: 70 SC: 128 SC: NPC RottenFlesh 2 SZ: 158 SC: 68 SC: 135 SC: NPC RottenFlesh 2 SZ: 159 SC: 43 SC: 168 SC: NPC RottenFlesh 2';
limitData = '0:0:23:23_24:0:30:4_24:5:30:8_24:9:30:13_30:0:41:6_30:5:41:13_42:0:72:22_79:0:94:11_79:10:98:20';
if (quesInv[3] == 4 || quesInv[3] == 5) {
area.push(new Array(17150, 875, 15625, 'OPENDIALOGPJ Zalmerion'));
}
}
function setMap030() {
terrainData = '2,2,2,2;70,71,2,2;72,73,70,71';
waterData = '4';
objectData = '21:false::1:4:4:1:0:0::_22:false::1:6:7:1:0:0::_22:false::1:15:19:1:0:0::_23:false::1:13:7:1:0:0::_22:false::1:0:23:1:0:0::';
zoneData = '0 SC: 5 SC: 13 SC: START SZ: 1 SC: 6 SC: 12 SC: NPC Trader01 0';
limitData = '0:0:3:2';
}
function setMap031() {
terrainData = '2,2,2,87;2,75,74,89;74,77,76,2';
waterData = '4';
objectData = '21:false::1:2:15:1:0:0::_23:false::1:14:23:1:0:0::_22:false::1:5:9:1:0:0::_21:false::1:10:1:1:0:0::_21:false::1:2:2:1:0:0::';
zoneData = '0 SC: 11 SC: 11 SC: START SZ: 1 SC: 11 SC: 6 SC: NPC Trader02 0';
limitData = '0:0:3:2';
}
function setMap032() {
terrainData = '2,2,2,2,2;2,2,2,2,2;2,2,2,2,2;2,2,2,75,74;2,75,74,77,76';
waterData = '4';
objectData = '170:false::1:3:11:-2:0:0::_170:false::1:8:6:-2:0:0::_170:false::1:6:4:-2:0:0::_170:false::1:4:6:-2:0:0::_170:false::1:1:8:-2:0:0::_170:false::1:2:4:-2:0:0::_170:false::1:4:2:-2:0:0::_170:false::1:2:0:-2:0:0::_170:false::1:0:2:-2:0:0::_171:false::1:4:4:1:0:0::_171:false::1:2:2:1:0:0::_171:false::1:0:0:1:0:0::_172:false::1:4:8:1:0:0::_172:false::1:2:6:1:0:0::_172:false::1:0:4:1:0:0::_170:false::1:6:8:-2:0:0::_172:false::1:0:0:1:0:0::_23:false::1:9:3:1:0:0::_21:false::1:0:20:1:0:0::_22:false::1:13:12:1:0:0::_21:false::1:4:31:1:0:0::_23:false::1:16:38:1:0:0::_23:false::1:16:17:1:0:0::_23:false::1:16:3:1:0:0::';
zoneData = '0 SC: 11 SC: 16 SC: START SZ: 1 SC: 9 SC: 13 SC: NPC Nya 0';
limitData = '0:0:4:4';
}
function setMap033() {
terrainData = '2,2,2,2,2;2,2,2,2,2;2,2,2,2,2;2,2,2,2,2;2,2,2,2,2';
waterData = '4';
objectData = '23:false::1:0:2:1:0:0::_50:false::1:0:13:1:0:0::_56:false::1,2,3,4:7:14:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_38:false::1:4:21:1:0:0::_21:false::1:1:36:1:0:0::_20:false::1:13:4:1:0:0::_21:false::1:18:10:1:0:0::_22:false::1:16:38:1:0:0::_23:false::1:17:27:1:0:0::_23:false::1:3:39:1:0:0::_83:false::1:9:15:1:0:0::_87:false::1:8:15:1:0:0::_96:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:11.4:13:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._91:false::1:8:12:1:0:0::_91:false::1:9:13:1:0:0::_91:false::1:9:12:1:0:0::_91:false::1:8:10:1:0:0::';
zoneData = '0 SC: 11 SC: 22 SC: START SZ: 1 SC: 9 SC: 18 SC: NPC Trader03 0';
limitData = '0:0:4:4';
}
function setMap034() {
terrainData = '2,122,123,120,121;2,2,2,122,123;50,51,2,2,2;52,64,65,2,2;59,60,2,2,2';
waterData = '4';
objectData = '34:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:5:10:1:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:7:9:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._90:false::1:3:10:1:0:0::_91:false::1:5:5:1:0:0::_91:false::1:4:6:1:0:0::_91:false::1:5:6:1:0:0::_21:false::1:4:5:1:0:0::_21:false::1:19:2:1:0:0::_22:false::1:17:16:1:0:0::_23:false::1:16:38:1:0:0::_22:false::1:13:33:1:0:0::_23:false::1:16:25:1:0:0::_23:false::1:9:38:1:0:0::';
zoneData = '0 SC: 6 SC: 13 SC: START SZ: 1 SC: 3 SC: 12 SC: NPC Trader04 0';
limitData = '0:0:4:4';
}
function setMap035() {
terrainData = '2,2,2,2,122,123,120,121,2,122,134,135,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,122,134,135,2,140,135,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,138,143,2,140,135,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,128,129,130,2,2,2,2,2,2,2,2,2,2,2,2,2,2;131,2,2,2,2,2,2,2,140,135,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;133,132,129,149,132,131,128,129,130,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,133,130,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,1,10,10,1,1,1,1,1,1,2,2,2,2,2;1,1,1,1,1,10,10,1,1,10,10,10,10,10,10,10,1,1,1,1,2,2,2,2,2;1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,2,2,2,2,2;1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,2,2,2,2,2;1,10,10,10,10,1,1,10,10,10,10,1,10,10,10,10,10,1,1,1,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2';
waterData = '4';
objectData = '66:false::1:10:15:1:0:0::_65:false::1:17:15:1:0:0::_64:false::1:13:18:1:0:0::_21:false::1:1:7:1:0:0::_21:false::1:38:42:1:0:0::_21:false::1:49:14:1:0:0::_21:false::1:27:13:1:0:0::_21:false::1:1:51:1:0:0::_22:false::1:1:38:1:0:0::_22:false::1:1:18:1:0:0::_22:false::1:18:5:1:0:0::_22:false::1:49:21:1:0:0::_22:false::1:24:58:1:0:0::_23:false::1:10:5:1:0:0::_23:false::1:5:54:1:0:0::_67:false::1,2,3,4,5:11:15:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5.SELECT 5,FREE 0/0 - 5.SELECT 1.PLAY.4,4,3,3,2,2,1.SELECT 4,NOFREE 0/0_63:false::1:11:15:-2:0:0::_120:false::1:7:181:1:0:0::_120:false::1:13:175:1:0:0::_122:false::1:8:185:1:0:0::_125:false::1:4:183:1:0:0::_122:false::1:10:187:1:0:0::_122:false::1:12:189:1:0:0::_122:false::1:14:191:1:0:0::_120:false::1:15:191:1:0:0::_120:false::1:17:189:1:0:0::_120:false::1:19:187:1:0:0::_120:false::1:21:185:1:0:0::_120:false::1:23:183:1:0:0::_120:false::1:25:181:1:0:0::_120:false::1:15:173:1:0:0::_120:false::1:17:171:1:0:0::_120:false::1:19:169:1:0:0::_122:false::1:28:181:1:0:0::_122:false::1:30:183:1:0:0::_122:false::1:32:185:1:0:0::_122:false::1:34:187:1:0:0::_122:false::1:36:189:1:0:0::_120:false::1:37:189:1:0:0::_120:false::1:39:187:1:0:0::_120:false::1:41:185:1:0:0::_120:false::1:43:183:1:0:0::_120:false::1:45:181:1:0:0::_120:false::1:47:179:1:0:0::_122:false::1:50:179:1:0:0::_122:false::1:52:181:1:0:0::_122:false::1:54:183:1:0:0::_122:false::1:56:185:1:0:0::_122:false::1:58:187:1:0:0::_122:false::1:60:189:1:0:0::_120:false::1:61:189:1:0:0::_120:false::1:63:187:1:0:0::_120:false::1:65:185:1:0:0::_120:false::1:67:183:1:0:0::_120:false::1:69:181:1:0:0::_120:false::1:71:179:1:0:0::_120:false::1:73:177:1:0:0::_120:false::1:21:167:1:0:0::_120:false::1:23:165:1:0:0::_120:false::1:25:163:1:0:0::_122:false::1:28:163:1:0:0::_122:false::1:30:165:1:0:0::_122:false::1:32:167:1:0:0::_122:false::1:34:169:1:0:0::_122:false::1:36:171:1:0:0::_120:false::1:37:171:1:0:0::_120:false::1:39:169:1:0:0::_120:false::1:41:167:1:0:0::_120:false::1:45:163:1:0:0::_124:false::1:75:175:1:0:0::_122:false::1:74:173:1:0:0::_122:false::1:70:169:1:0:0::_122:false::1:66:165:1:0:0::_122:false::1:64:163:1:0:0::_122:false::1:60:159:1:0:0::_122:false::1:56:155:1:0:0::_120:false::1:49:159:1:0:0::_120:false::1:53:155:1:0:0::_187:false::1:4:186:-2:0:0::_185:false::1:8:186:-2:0:0::_185:false::1:24:178:-2:0:0::_186:false::1:16:186:-2:0:0::_184:false::1:12:186:-2:0:0::_184:false::1:20:178:-2:0:0::_187:false::1:28:186:-2:0:0::_187:false::1:32:190:-2:0:0::_184:false::1:34:184:-2:0:0::_185:false::1:54:184:-2:0:0::_186:false::1:38:184:-2:0:0::_187:false::1:50:184:-2:0:0::_185:false::1:46:176:-2:0:0::_184:false::1:42:176:-2:0:0::_187:false::1:48:184:-2:0:0::_186:false::1:40:184:-2:0:0::_185:false::1:48:178:-2:0:0::_184:false::1:40:178:-2:0:0::_184:false::1:58:184:-2:0:0::_186:false::1:62:184:-2:0:0::_186:false::1:64:184:-2:0:0::_186:false::1:68:178:-2:0:0::_186:false::1:65:181:-2:0:0::_183:false::1:68:166:-2:0:0::_183:false::1:61:159:-2:0:0::_183:false::1:52:150:-2:0:0::_182:false::1:48:150:-2:0:0::_182:false::1:38:160:-2:0:0::_180:false::1:35:159:-2:0:0::_183:false::1:25:159:-2:0:0::_182:false::1:19:159:-2:0:0::_182:false::1:11:167:-2:0:0::_182:false::1:4:174:-2:0:0::_126:false::1:11:177:1:0:0::_127:false::1:9:179:1:0:0::_36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:18:181:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:40:179:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:65:178:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:29:165:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:65:165:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:59:159:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:39:165:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:47:157:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:19:165:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._31:false::1,2,3,4:62:165:1:0:2:TESORO CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_133:false::1:72:171:1:0:0::_133:false::1:58:157:1:0:0::_133:false::1:68:167:1:0:0::_133:false::1:62:161:1:0:0::_132:false::1:51:157:1:0:0::_132:false::1:47:161:1:0:0::_120:false::1:43:165:1:0:0::';
zoneData = '0 SC: 39 SC: 9 SC: START SZ: 1 SC: 11 SC: 15 SC: TELEPORT 8/179 SZ: 1 SC: 8 SC: 179 SC: TELEPORT 11/15 SZ: 2 SC: 57 SC: 169 SC: NPC ReturnedVillain 2 SZ: 3 SC: 55 SC: 178 SC: NPC HauntedZombie 2 SZ: 4 SC: 47 SC: 167 SC: NPC HauntedZombie 2 SZ: 5 SC: 37 SC: 177 SC: NPC HauntedZombie 2 SZ: 6 SC: 24 SC: 169 SC: NPC HauntedZombie 2 SZ: 7 SC: 29 SC: 175 SC: NPC HauntedZombie 2 SZ: 8 SC: 32 SC: 183 SC: NPC SkeletonBow 2 SZ: 9 SC: 23 SC: 165 SC: NPC SkeletonBow 2 SZ: 10 SC: 49 SC: 162 SC: NPC SkeletonBow 2 SZ: 11 SC: 60 SC: 174 SC: NPC SkeletonBow 2';
limitData = '0:0:15:7_0:8:19:24';
}
function setMap036() {
terrainData = '125,124,127,126,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2;127,126,2,2,2,2,2,2,2,2,1,1,10,10,10,10,10,1,1,1,1,1,2,2,2;2,2,2,2,2,2,2,2,2,2,1,1,10,10,10,10,10,10,10,10,1,1,2,2,2;2,2,2,2,2,2,2,2,2,2,1,1,1,1,10,10,10,10,10,10,10,1,2,2,2;2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,10,10,10,10,1,1,2,2,2;2,142,120,121,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2;2,2,122,123,144,2,2,2,2,2,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2;1,1,1,1,1,10,10,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2;1,1,1,10,10,10,10,10,10,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2;1,10,10,10,10,10,10,10,10,10,10,1,1,2,2,2,2,2,2,2,2,2,2,2,2;1,10,10,10,10,10,10,10,10,10,10,1,1,2,2,2,2,2,2,2,2,2,2,2,2;1,1,10,10,10,10,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2';
waterData = '4';
objectData = '70:false::1:14:18:1:0:0::_69:false::1:13:18:1:0:0::_68:false::1:11:21:1:0:0::_71:false::1,2,3,4,5:15:18:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5.SELECT 5,FREE 0/0 - 5.SELECT 1.PLAY.4,4,3,3,2,2,1.SELECT 4,NOFREE 0/0_72:false::1:15:18:-2:0:0::_21:false::1:26:6:1:0:0::_21:false::1:1:1:1:0:0::_21:false::1:15:55:1:0:0::_22:false::1:16:61:1:0:0::_21:false::1:6:15:1:0:0::_20:false::1:16:10:1:0:0::_21:false::1:32:13:1:0:0::_21:false::1:25:28:1:0:0::_23:false::1:1:21:1:0:0::_23:false::1:27:41:1:0:0::_22:false::1:30:57:1:0:0::_21:false::1:27:67:1:0:0::_23:false::1:33:64:1:0:0::_21:false::1:12:68:1:0:0::_120:false::1:55:13:1:0:0::_120:false::1:61:7:1:0:0::_122:false::1:64:7:1:0:0::_122:false::1:66:9:1:0:0::_122:false::1:68:11:1:0:0::_122:false::1:70:13:1:0:0::_122:false::1:72:15:1:0:0::_122:false::1:74:17:1:0:0::_122:false::1:76:19:1:0:0::_122:false::1:78:21:1:0:0::_122:false::1:80:23:1:0:0::_122:false::1:82:25:1:0:0::_125:false::1:52:15:1:0:0::_122:false::1:56:17:1:0:0::_122:false::1:58:19:1:0:0::_122:false::1:60:21:1:0:0::_122:false::1:62:23:1:0:0::_122:false::1:64:25:1:0:0::_122:false::1:66:27:1:0:0::_122:false::1:68:29:1:0:0::_122:false::1:70:31:1:0:0::_122:false::1:72:33:1:0:0::_122:false::1:74:35:1:0:0::_124:false::1:83:27:1:0:0::_120:false::1:81:29:1:0:0::_120:false::1:79:31:1:0:0::_120:false::1:77:33:1:0:0::_120:false::1:75:35:1:0:0::_131:false::1:74:27:-2:0:0::_126:false::1:59:9:1:0:0::_127:false::1:57:11:1:0:0::_120:false::1:7:125:1:0:0::_120:false::1:11:121:1:0:0::_120:false::1:15:117:1:0:0::_120:false::1:17:115:1:0:0::_120:false::1:21:111:1:0:0::_120:false::1:25:107:1:0:0::_122:false::1:28:107:1:0:0::_122:false::1:30:109:1:0:0::_122:false::1:32:111:1:0:0::_122:false::1:34:113:1:0:0::_122:false::1:36:115:1:0:0::_122:false::1:38:117:1:0:0::_122:false::1:40:119:1:0:0::_125:false::1:4:127:1:0:0::_122:false::1:8:129:1:0:0::_122:false::1:10:131:1:0:0::_122:false::1:12:133:1:0:0::_122:false::1:14:135:1:0:0::_122:false::1:16:137:1:0:0::_122:false::1:18:139:1:0:0::_120:false::1:19:139:1:0:0::_120:false::1:21:137:1:0:0::_120:false::1:23:135:1:0:0::_120:false::1:25:133:1:0:0::_120:false::1:27:131:1:0:0::_120:false::1:29:129:1:0:0::_120:false::1:31:127:1:0:0::_122:false::1:34:127:1:0:0::_122:false::1:36:129:1:0:0::_122:false::1:46:125:1:0:0::_124:false::1:47:127:1:0:0::_120:false::1:45:129:1:0:0::_120:false::1:43:131:1:0:0::_120:false::1:41:133:1:0:0::_122:false::1:38:131:1:0:0::_122:false::1:40:133:1:0:0::_128:false::1:41:121:1:0:0::_129:false::1:43:123:1:0:0::_187:false::1:60:26:-2:0:0::_187:false::1:56:22:-2:0:0::_187:false::1:52:18:-2:0:0::_187:false::1:48:14:-2:0:0::_187:false::1:64:30:-2:0:0::_187:false::1:68:34:-2:0:0::_187:false::1:64:32:-2:0:0::_187:false::1:56:25:-2:0:0::_187:false::1:48:16:-2:0:0::_181:false::1:46.5:10:-2:0:0::_180:false::1:48:5:-2:0:0::_180:false::1:50:5:-2:0:0::_183:false::1:65:7:-2:0:0::_181:false::1:76:14:-2:0:0::_183:false::1:73:15:-2:0:0::_186:false::1:72:34:-2:0:0::_186:false::1:76:30:-2:0:0::_186:false::1:76:33:-2:0:0::_186:false::1:80:26:-2:0:0::_180:false::1:81.5:23:-2:0:0::_187:false::1:12:138:-2:0:0::_187:false::1:8:134:-2:0:0::_187:false::1:4:130:-2:0:0::_187:false::1:0:126:-2:0:0::_187:false::1:0:129:-2:0:0::_187:false::1:8:137:-2:0:0::_186:false::1:16:138:-2:0:0::_186:false::1:20:134:-2:0:0::_186:false::1:20:136:-2:0:0::_186:false::1:24:130:-2:0:0::_186:false::1:26:128:-2:0:0::_187:false::1:30:128:-2:0:0::_187:false::1:34:132:-2:0:0::_186:false::1:38:132:-2:0:0::_186:false::1:42:128:-2:0:0::_182:false::1:4:118:-2:0:0::_182:false::1:12:111:-2:0:0::_182:false::1:20:103:-2:0:0::_183:false::1:26:104:-2:0:0::_183:false::1:33:111:-2:0:0::_183:false::1:40:118:-2:0:0::_35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:9:129:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:33:125:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:57:17:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:65:25:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:31:111:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:17:111:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._132:false::1:9:123:1:0:0::_132:false::1:13:119:1:0:0::_132:false::1:19:113:1:0:0::_132:false::1:23:109:1:0:0::_116:false::1:12:127:1:0:0::_117:false::1,2,3,4,5:13:127:1:0:4:TESORO CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2';
zoneData = '1 SC: 6 SC: 60 SC: START SZ: 2 SC: 74 SC: 27 SC: TELEPORT 39/123 SZ: 2 SC: 39 SC: 123 SC: TELEPORT 74/27 SZ: 3 SC: 15 SC: 18 SC: TELEPORT 56/11 SZ: 3 SC: 56 SC: 11 SC: TELEPORT 15/18 SZ: 4 SC: 18 SC: 121 SC: NPC Nosferatu 2 SZ: 5 SC: 14 SC: 119 SC: NPC FemaleVampire 2 SZ: 6 SC: 21 SC: 128 SC: NPC FemaleVampire 2 SZ: 7 SC: 20 SC: 113 SC: NPC FemaleVampire 2 SZ: 8 SC: 68 SC: 19 SC: NPC Damned 2 SZ: 9 SC: 65 SC: 22 SC: NPC Damned 2 SZ: 10 SC: 64 SC: 15 SC: NPC Damned 2 SZ: 11 SC: 61 SC: 19 SC: NPC Damned 2';
limitData = '0:0:9:8_11:0:21:5_0:9:12:18';
}
function setMap037() {
terrainData = '2,2,2,2,2,125,124,127,126,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,137,136,126,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,142,139,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;120,121,2,2,2,2,125,124,144,2,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;122,123,120,121,125,124,127,126,128,129,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,122,123,127,126,128,129,130,2,1,1,1,1,1,10,10,10,10,10,1,1,10,10,10,10,10,10,10,10,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,128,129,130,2,2,2,1,1,1,10,10,10,10,10,10,1,1,1,1,1,10,10,10,10,10,10,10,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,1,1,1,1,10,10,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,1,1,10,10,10,10,10,10,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,1,1,1,10,10,10,10,10,10,10,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,1,10,10,10,10,10,10,10,10,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,1,10,10,10,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2';
waterData = '4';
objectData = '21:false::1:1:17:1:0:0::_66:false::1:7:10:1:0:0::_67:false::1,2,3,4,5:8:10:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5.SELECT 5,FREE 0/0 - 5.SELECT 1.PLAY.4,4,3,3,2,2,1.SELECT 4,NOFREE 0/0_65:false::1:14:10:1:0:0::_64:false::1:10:13:1:0:0::_63:false::1:8:10:-2:0:0::_21:false::1:22:12:1:0:0::_22:false::1:1:36:1:0:0::_23:false::1:4:40:1:0:0::_23:false::1:9:6:1:0:0::_21:false::1:36:8:1:0:0::_23:false::1:32:49:1:0:0::_120:false::1:55:53:1:0:0::_120:false::1:57:51:1:0:0::_120:false::1:59:49:1:0:0::_120:false::1:61:47:1:0:0::_120:false::1:63:45:1:0:0::_120:false::1:65:43:1:0:0::_120:false::1:67:41:1:0:0::_120:false::1:69:39:1:0:0::_120:false::1:73:35:1:0:0::_125:false::1:52:55:1:0:0::_122:false::1:56:57:1:0:0::_122:false::1:58:59:1:0:0::_122:false::1:60:61:1:0:0::_122:false::1:62:63:1:0:0::_122:false::1:64:65:1:0:0::_122:false::1:66:67:1:0:0::_120:false::1:67:67:1:0:0::_120:false::1:69:65:1:0:0::_120:false::1:71:63:1:0:0::_120:false::1:73:61:1:0:0::_120:false::1:75:59:1:0:0::_120:false::1:77:57:1:0:0::_124:false::1:79:55:1:0:0::_122:false::1:78:53:1:0:0::_122:false::1:76:51:1:0:0::_122:false::1:74:49:1:0:0::_122:false::1:72:47:1:0:0::_140:false::1:70:46:1:0:0::_141:false::1:62:44:1:0:0::_120:false::1:73:47:1:0:0::_120:false::1:75:45:1:0:0::_120:false::1:77:43:1:0:0::_120:false::1:79:41:1:0:0::_120:false::1:81:39:1:0:0::_120:false::1:77:31:1:0:0::_120:false::1:81:27:1:0:0::_120:false::1:85:23:1:0:0::_122:false::1:88:23:1:0:0::_122:false::1:92:27:1:0:0::_122:false::1:96:31:1:0:0::_120:false::1:83:37:1:0:0::_120:false::1:85:35:1:0:0::_122:false::1:88:35:1:0:0::_122:false::1:90:37:1:0:0::_122:false::1:92:39:1:0:0::_120:false::1:97:31:1:0:0::_120:false::1:101:27:1:0:0::_120:false::1:91:37:1:0:0::_139:false::1:93:34:1:0:0::_138:false::1:90:37:1:0:0::_122:false::1:104:27:1:0:0::_122:false::1:108:31:1:0:0::_122:false::1:112:35:1:0:0::_122:false::1:114:37:1:0:0::_122:false::1:94:41:1:0:0::_122:false::1:96:43:1:0:0::_122:false::1:98:45:1:0:0::_122:false::1:100:47:1:0:0::_122:false::1:102:49:1:0:0::_122:false::1:104:51:1:0:0::_120:false::1:105:51:1:0:0::_120:false::1:107:49:1:0:0::_122:false::1:116:39:1:0:0::_120:false::1:109:47:1:0:0::_122:false::1:112:47:1:0:0::_122:false::1:114:49:1:0:0::_122:false::1:116:51:1:0:0::_122:false::1:118:53:1:0:0::_120:false::1:119:53:1:0:0::_120:false::1:121:51:1:0:0::_120:false::1:123:49:1:0:0::_122:false::1:124:47:1:0:0::_124:false::1:124:48:1:0:0::_129:false::1:121:45:1:0:0::_128:false::1:119:43:1:0:0::_122:false::1:118:41:1:0:0::_133:false::1:106:29:1:0:0::_133:false::1:110:33:1:0:0::_132:false::1:99:29:1:0:0::_133:false::1:94:29:1:0:0::_133:false::1:90:25:1:0:0::_132:false::1:83:25:1:0:0::_132:false::1:79:29:1:0:0::_132:false::1:75:33:1:0:0::_132:false::1:71:37:1:0:0::_130:false::1:60:53:-2:0:0::_116:false::1:68:54:1:0:0::_116:false::1:62:60:1:0:0::_164:false::1:64:39:2:0:0::_164:false::1:70:45:2:0:0::_164:false::1:88:35:2:0:0::_165:false::1:94:29:2:0:0::_165:false::1:122:45:2:0:0::_186:false::1:64:66:-2:0:0::_186:false::1:72:58:-2:0:0::_186:false::1:76:40:-2:0:0::_186:false::1:102:50:-2:0:0::_186:false::1:120:48:-2:0:0::_184:false::1:72:40:-2:0:0::_184:false::1:80:32:-2:0:0::_184:false::1:116:48:-2:0:0::_186:false::1:68:62:-2:0:0::_186:false::1:68:66:-2:0:0::_187:false::1:52:58:-2:0:0::_187:false::1:60:66:-2:0:0::_187:false::1:56:62:-2:0:0::_187:false::1:56:65:-2:0:0::_187:false::1:88:40:-2:0:0::_187:false::1:98:50:-2:0:0::_187:false::1:96:48:-2:0:0::_187:false::1:108:48:-2:0:0::_186:false::1:104:48:-2:0:0::_185:false::1:112:48:-2:0:0::_185:false::1:92:40:-2:0:0::_185:false::1:84:32:-2:0:0::_183:false::1:72:48:-2:0:0::_183:false::1:109:31:-2:0:0::_183:false::1:90:24:-2:0:0::_182:false::1:52:46:-2:0:0::_183:false::1:117:39:-2:0:0::_183:false::1:101:23:-2:0:0::_182:false::1:94:24:-2:0:0::_182:false::1:76:22:-2:0:0::_182:false::1:67:31:-2:0:0::_182:false::1:60:38:-2:0:0::_180:false::1:122.75:47:-2:0:0::_36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:69:58:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:78:35:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:96:42:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:116:40:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._120:false::1:43:125:1:0:0::_120:false::1:49:119:1:0:0::_120:false::1:51:117:1:0:0::_120:false::1:53:115:1:0:0::_122:false::1:52:111:1:0:0::_122:false::1:50:109:1:0:0::_120:false::1:49:107:1:0:0::_120:false::1:53:103:1:0:0::_120:false::1:57:99:1:0:0::_122:false::1:60:99:1:0:0::_122:false::1:64:103:1:0:0::_122:false::1:68:107:1:0:0::_122:false::1:44:127:1:0:0::_122:false::1:46:129:1:0:0::_122:false::1:48:131:1:0:0::_120:false::1:49:131:1:0:0::_120:false::1:51:129:1:0:0::_120:false::1:53:127:1:0:0::_120:false::1:55:125:1:0:0::_120:false::1:57:123:1:0:0::_120:false::1:59:121:1:0:0::_122:false::1:62:121:1:0:0::_122:false::1:64:123:1:0:0::_122:false::1:66:125:1:0:0::_120:false::1:67:125:1:0:0::_120:false::1:69:123:1:0:0::_120:false::1:71:121:1:0:0::_120:false::1:73:119:1:0:0::_122:false::1:72:111:1:0:0::_122:false::1:76:115:1:0:0::_120:false::1:75:117:1:0:0::_124:false::1:76:116:1:0:0::_125:false::1:41:126:1:0:0::_125:false::1:47:108:1:0:0::_124:false::1:54:114:1:0:0::_122:false::1:53:112:1:0:0::_182:false::1:40:118:-2:0:0::_182:false::1:52:94:-2:0:0::_183:false::1:57:95:-2:0:0::_183:false::1:65:103:-2:0:0::_185:false::1:46:106:-2:0:0::_185:false::1:44:104:-2:0:0::_182:false::1:44:103:-2:0:0::_181:false::1:41.3:104:-2:0:0::_180:false::1:74.75:112:-2:0:0::_183:false::1:71:109:-2:0:0::_186:false::1:68:120:-2:0:0::_184:false::1:72:112:-2:0:0::_184:false::1:64:120:-2:0:0::_186:false::1:46:130:-2:0:0::_186:false::1:54:122:-2:0:0::_186:false::1:50:126:-2:0:0::_186:false::1:50:130:-2:0:0::_187:false::1:58:122:-2:0:0::_187:false::1:62:126:-2:0:0::_187:false::1:40:128:-2:0:0::_187:false::1:44:132:-2:0:0::_164:false::1:46:105:2:0:0::_165:false::1:52:111:2:0:0::_165:false::1:74:113:2:0:0::_164:false::1:40:123:2:0:0::_126:false::1:47:121:1:0:0::_127:false::1:45:123:1:0:0::_132:false::1:55:101:1:0:0::_132:false::1:51:105:1:0:0::_133:false::1:74:113:1:0:0::_133:false::1:70:109:1:0:0::_133:false::1:66:105:1:0:0::_133:false::1:62:101:1:0:0::_117:false::1,2,3,4,5:69:54:1:0:4:GOLD+ CLVL;GOLD+ CLVL;GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:63:60:1:0:4:GOLD+ CLVL;GOLD+ CLVL;GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_29:false::1,2,3,4:61:104:1:0:2:POTION 0;POTION 0;POTION 0;POTION 3;POTION 3;POTION 3:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:64:107:1:0:2:GOLD+ CLVL;GOLD+ CLVL;GOLD+ CLVL;GOLD+ CLVL;GOLD+ CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_31:false::1,2,3,4:62:106:1:0:2:ANY++ CLVL;ANY++ CLVL;ANY++ CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:48:116:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:52:100:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:69:116:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20.';
zoneData = '0 SC: 6 SC: 49 SC: START SZ: 1 SC: 60 SC: 53 SC: TELEPORT 44/123 SZ: 1 SC: 44 SC: 123 SC: TELEPORT 60/53 SZ: 2 SC: 8 SC: 10 SC: TELEPORT 117/45 SZ: 2 SC: 117 SC: 45 SC: TELEPORT 8/10 SZ: 3 SC: 55 SC: 106 SC: NPC AncientVampire 2 SZ: 4 SC: 61 SC: 112 SC: NPC AncientVampire 2 SZ: 5 SC: 58 SC: 110 SC: NPC HauntedZombie 2 SZ: 6 SC: 66 SC: 52 SC: NPC HauntedZombie 2 SZ: 7 SC: 102 SC: 36 SC: NPC HauntedZombie 2 SZ: 8 SC: 14 SC: 18 SC: NPC HauntedZombie 2 SZ: 9 SC: 16 SC: 16 SC: NPC InfernalArcher 2 SZ: 10 SC: 10 SC: 20 SC: NPC InfernalArcher 2 SZ: 11 SC: 28 SC: 14 SC: NPC InfernalArcher 2 SZ: 12 SC: 33 SC: 15 SC: NPC InfernalArcher 2 SZ: 13 SC: 29 SC: 21 SC: NPC InfernalArcher 2 SZ: 14 SC: 96 SC: 34 SC: NPC InfernalArcher 2 SZ: 15 SC: 96 SC: 38 SC: NPC InfernalArcher 2 SZ: 16 SC: 100 SC: 42 SC: NPC InfernalArcher 2 SZ: 17 SC: 104 SC: 41 SC: NPC InfernalArcher 2 SZ: 18 SC: 99 SC: 31 SC: NPC InfernalArcher 2 SZ: 19 SC: 80 SC: 29 SC: NPC InfernalArcher 2 SZ: 20 SC: 83 SC: 27 SC: NPC InfernalArcher 2 SZ: 21 SC: 61 SC: 57 SC: NPC InfernalArcher 2 SZ: 22 SC: 66 SC: 57 SC: NPC InfernalArcher 2 SZ: 23 SC: 56 SC: 102 SC: NPC InfernalArcher 2 SZ: 24 SC: 52 SC: 108 SC: NPC InfernalArcher 2 SZ: 25 SC: 65 SC: 113 SC: NPC InfernalArcher 2';
limitData = '0:0:9:6_11:1:31:9_9:10:19:17';
}
function setMap040() {
terrainData = '124,127,126,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;126,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,106,107,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;102,103,108,109,70,71,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;104,105,2,2,72,73,70,71,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;129,149,132,131,2,2,72,73,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;142,144,142,139,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2';
waterData = '4';
objectData = '21:false::1:9:2:1:0:0::_21:false::1:4:23:1:0:0::_23:false::1:11:33:1:0:0::_20:false::1:28:24:1:0:0::_21:false::1:23:10:1:0:0::_22:false::1:26:8:1:0:0::_22:false::1:12:10:1:0:0::_23:false::1:8:15:1:0:0::_23:false::1:0:40:1:0:0::_23:false::1:16:61:1:0:0::';
zoneData = '0 SC: 23 SC: 35 SC: START SZ: 1 SC: 14 SC: 44 SC: NPC FemaleBanditChiefBow 2 SZ: 2 SC: 23 SC: 24 SC: NPC FemaleBanditChief 2 SZ: 3 SC: 18 SC: 40 SC: NPC Thug 2 SZ: 4 SC: 19 SC: 44 SC: NPC Thug 2 SZ: 5 SC: 20 SC: 22 SC: NPC Thug 2';
limitData = '0:0:7:7';
}
function setMap041() {
terrainData = '2,2,2,75,74,77,76,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,78,79,77,76,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,80,81,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,82,83,70,71,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,72,73,85,84,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,87,86,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,75,74,89,88,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,75,74,77,76,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;74,77,76,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;76,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2';
waterData = '4';
objectData = '21:false::1:4:7:1:0:0::_21:false::1:31:12:1:0:0::_21:false::1:12:49:1:0:0::_21:false::1:1:45:1:0:0::_21:false::1:9:83:1:0:0::_20:false::1:33:82:1:0:0::_20:false::1:31:27:1:0:0::_20:false::1:2:17:1:0:0::_22:false::1:14:21:1:0:0::_22:false::1:25:16:1:0:0::_22:false::1:27:71:1:0:0::_22:false::1:2:56:1:0:0::_23:false::1:17:26:1:0:0::_23:false::1:31:36:1:0:0::';
zoneData = '0 SC: 16 SC: 32 SC: START SZ: 1 SC: 9 SC: 19 SC: NPC Villain 2 SZ: 2 SC: 18 SC: 41 SC: NPC Bandit 2 SZ: 3 SC: 22 SC: 30 SC: NPC Bandit 2 SZ: 4 SC: 4 SC: 26 SC: NPC FemaleBanditBow 2 SZ: 5 SC: 23 SC: 30 SC: NPC FemaleBanditBow 2';
limitData = '0:0:8:10';
}
function setMap042() {
terrainData = '2,55,54,112,57,56,58,59;67,66,56,4,58,59,60,2;2,63,62,59,60,2,2,2;2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2';
waterData = '4';
objectData = '21:false::1:5:2:1:0:0::_21:false::1:1:17:1:0:0::_21:false::1:30:41:1:0:0::_23:false::1:26:50:1:0:0::_22:false::1:22:53:1:0:0::_21:false::1:28:62:1:0:0::_21:false::1:19:62:1:0:0::_22:false::1:3:24:1:0:0::_22:false::1:26:13:1:0:0::_23:false::1:19:18:1:0:0::_21:false::1:12:27:1:0:0::_30:false::1,2,3,4:6:26:1:0:2:TESORO CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_23:false::1:0:39:1:0:0::_22:false::1:0:30:1:0:0::';
zoneData = '0 SC: 18 SC: 29 SC: START SZ: 1 SC: 8 SC: 32 SC: NPC Villain 2 SZ: 2 SC: 7 SC: 39 SC: NPC Bandit 2 SZ: 3 SC: 6 SC: 46 SC: NPC Bandit 2 SZ: 4 SC: 10 SC: 48 SC: NPC Bandit 2 SZ: 5 SC: 6 SC: 52 SC: NPC Bandit 2 SZ: 6 SC: 4 SC: 45 SC: NPC Bandit 2 SZ: 7 SC: 26 SC: 19 SC: NPC Bandit 2 SZ: 8 SC: 22 SC: 22 SC: NPC Bandit 2 SZ: 9 SC: 26 SC: 24 SC: NPC Bandit 2 SZ: 10 SC: 25 SC: 28 SC: NPC Bandit 2';
limitData = '0:0:7:7';
}
function setMap045() {
terrainData = '2,2,2,2,2,2,2,125,124,127,126,2,2,1,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,137,136,126,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,125,124,139,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2;120,121,2,2,142,127,126,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2;122,123,120,121,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2;2,2,122,123,143,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2;2,55,54,50,51,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2;67,66,56,52,53,112,50,51,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2;2,63,62,61,4,4,52,64,65,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2;131,2,2,63,62,59,113,60,2,2,2,128,129,1,2,2,2,2,2,2,2,2,2,2,2;133,132,131,2,2,128,131,2,2,128,129,130,2,1,2,2,2,2,2,2,2,2,2,2,2;2,2,133,132,129,130,133,132,129,130,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2';
waterData = '4';
objectData = '29:false::1,2,3,4:35:105:1:0:2:ANY CLVL;ANY CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:36:104:1:0:2:ANY CLVL;ANY CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_34:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:28:99:1:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._37:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15:30:98:2:0:0::..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15._21:false::1:1:20:1:0:0::_21:false::1:4:39:1:0:0::_21:false::1:6:114:1:0:0::_21:false::1:34:10:1:0:0::_21:false::1:24:15:1:0:0::_21:false::1:49:26:1:0:0::_21:false::1:45:85:1:0:0::_21:false::1:49:116:1:0:0::_20:false::1:46:109:1:0:0::_20:false::1:19:117:1:0:0::_20:false::1:4:50:1:0:0::_20:false::1:21:8:1:0:0::_22:false::1:26:25:1:0:0::_22:false::1:35:43:1:0:0::_22:false::1:38:50:1:0:0::_22:false::1:44:35:1:0:0::_22:false::1:3:58:1:0:0::_23:false::1:9:43:1:0:0::_23:false::1:2:24:1:0:0::_23:false::1:17:20:1:0:0::_23:false::1:44:13:1:0:0::';
zoneData = '0 SC: 9 SC: 9 SC: START SZ: 1 SC: 29 SC: 62 SC: NPC AncientVampire 2 SZ: 2 SC: 20 SC: 65 SC: NPC MaleVampire 2 SZ: 3 SC: 27 SC: 38 SC: NPC MaleVampire 2 SZ: 4 SC: 6 SC: 92 SC: NPC MaleVampire 2 SZ: 5 SC: 33 SC: 96 SC: NPC MaleVampire 2 SZ: 6 SC: 26 SC: 99 SC: NPC RottenFlesh 2 SZ: 7 SC: 32 SC: 90 SC: NPC RottenFlesh 2 SZ: 8 SC: 48 SC: 67 SC: NPC RottenFlesh 2 SZ: 9 SC: 22 SC: 34 SC: NPC RottenFlesh 2 SZ: 10 SC: 20 SC: 39 SC: NPC RottenFlesh 2 SZ: 11 SC: 13 SC: 54 SC: NPC RottenFlesh 2 SZ: 12 SC: 9 SC: 58 SC: NPC RottenFlesh 2 SZ: 13 SC: 5 SC: 84 SC: NPC RottenFlesh 2 SZ: 14 SC: 22 SC: 70 SC: NPC RottenFlesh 2';
limitData = '0:0:12:14';
}
function setMap046() {
terrainData = '2,2,2,125,124,127,126,2,122,123,120,121,2,2,2,2,2,2,1,2,2,2,2,2,2;2,2,137,136,126,2,2,2,2,2,122,123,120,121,2,2,2,2,1,2,2,2,2,2,2;2,125,124,139,2,2,2,2,2,2,2,2,122,134,135,2,2,2,1,2,2,2,2,2,2;124,127,126,2,2,2,2,2,2,2,2,128,129,130,2,2,2,2,1,2,2,2,2,2,2;126,2,2,2,2,2,2,2,2,128,129,130,2,2,2,2,2,2,1,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,138,120,121,2,2,2,2,2,2,1,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,122,123,120,121,2,2,2,2,1,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,122,123,120,121,2,2,1,2,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2';
waterData = '4';
objectData = '50:false::1:21:13:1:0:0::_50:false::1:13:22:1:0:0::_51:false::1:34:26:1:0:0::_57:false::1,2,3,4:38:27:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_56:false::1,2,3,4:20:23:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_56:false::1,2,3,4:28:14:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_38:false::1:41:32:1:0:0::_21:false::1:3:18:1:0:0::_21:false::1:40:9:1:0:0::_21:false::1:66:12:1:0:0::_21:false::1:61:42:1:0:0::_21:false::1:50:60:1:0:0::_21:false::1:7:28:1:0:0::_20:false::1:55:46:1:0:0::_20:false::1:53:6:1:0:0::_22:false::1:18:8:1:0:0::_22:false::1:8:4:1:0:0::_22:false::1:1:37:1:0:0::_22:false::1:19:59:1:0:0::_22:false::1:22:50:1:0:0::_22:false::1:66:54:1:0:0::_23:false::1:60:19:1:0:0::_23:false::1:38:48:1:0:0::_23:false::1:25:55:1:0:0::_23:false::1:33:2:1:0:0::_23:false::1:51:21:1:0:0::';
zoneData = '0 SC: 9 SC: 42 SC: START SZ: 1 SC: 33 SC: 17 SC: NPC ArmoredZombie 2 SZ: 2 SC: 33 SC: 4 SC: NPC WalkingDead 2 SZ: 3 SC: 24 SC: 18 SC: NPC WalkingDead 2 SZ: 4 SC: 22 SC: 26 SC: NPC WalkingDead 2 SZ: 5 SC: 37 SC: 33 SC: NPC WalkingDead 2 SZ: 6 SC: 46 SC: 15 SC: NPC WalkingDead 2 SZ: 7 SC: 46 SC: 29 SC: NPC WalkingDead 2';
limitData = '0:0:17:7';
}
function setMap047() {
terrainData = '2,125,124,120,121,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2;137,136,126,122,123,120,121,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2;124,139,2,2,2,122,123,120,121,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2;126,2,2,2,2,2,2,122,134,135,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2;132,131,2,2,2,2,128,129,130,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2;2,133,132,131,2,2,138,120,121,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2;2,2,2,133,132,131,2,122,123,120,121,2,2,2,2,2,2,2,2,2,1,2,2,2,2;2,2,2,2,2,133,132,131,2,122,123,120,121,2,2,2,2,2,2,2,1,2,2,2,2;2,2,2,2,2,2,2,133,132,131,2,122,123,120,121,2,2,2,2,2,1,2,2,2,2;2,2,2,2,2,2,2,125,124,139,128,131,2,122,123,120,121,2,2,2,1,2,2,2,2;2,2,2,2,2,125,124,127,126,129,130,133,132,131,2,122,134,135,2,2,1,2,2,2,2;2,2,2,2,137,136,126,2,138,143,2,2,2,133,132,129,130,2,2,2,1,2,2,2,2;2,2,2,2,2,133,132,131,2,2,128,131,2,142,120,121,2,2,2,2,1,2,2,2,2;2,2,2,2,2,2,2,133,132,129,130,133,132,131,122,123,120,121,2,2,1,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,133,132,131,122,134,135,2,1,2,2,2,2;2,2,2,2,2,125,124,120,121,2,2,2,2,125,124,139,2,140,135,2,1,2,2,2,2;2,2,2,125,124,127,126,122,123,120,121,125,124,127,126,128,129,130,2,2,1,2,2,2,2;2,125,124,127,126,106,107,2,2,122,123,127,126,128,129,130,2,2,2,2,1,2,2,2,2;124,127,126,75,74,108,109,70,71,2,2,2,2,140,135,2,2,2,2,2,1,2,2,2,2;126,75,74,77,76,2,2,72,73,70,71,128,129,130,2,2,2,2,2,2,1,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2';
waterData = '4';
objectData = '20:false::1:65:156:1:0:0::_20:false::1:76:139:1:0:0::_20:false::1:76:104:1:0:0::_20:false::1:71:65:1:0:0::_20:false::1:61:52:1:0:0::_20:false::1:14:8:1:0:0::_20:false::1:2:3:1:0:0::_20:false::1:4:53:1:0:0::_20:false::1:12:68:1:0:0::_20:false::1:5:86:1:0:0::_20:false::1:19:80:1:0:0::_20:false::1:18:107:1:0:0::_20:false::1:6:122:1:0:0::_20:false::1:37:122:1:0:0::_20:false::1:51:121:1:0:0::_20:false::1:23:134:1:0:0::_20:false::1:6:135:1:0:0::_20:false::1:38:135:1:0:0::_21:false::1:41:140:1:0:0::_21:false::1:20:116:1:0:0::_21:false::1:29:74:1:0:0::_21:false::1:36:43:1:0:0::_21:false::1:35:12:1:0:0::_21:false::1:59:12:1:0:0::_21:false::1:54:33:1:0:0::_21:false::1:74:38:1:0:0::_21:false::1:71:156:1:0:0::_21:false::1:1:27:1:0:0::_21:false::1:52:60:1:0:0::_23:false::1:54:94:1:0:0::_22:false::1:58:97:1:0:0::_22:false::1:61:37:1:0:0::_22:false::1:75:56:1:0:0::_22:false::1:24:47:1:0:0::_22:false::1:17:64:1:0:0::_23:false::1:13:35:1:0:0::_23:false::1:2:153:1:0:0::_23:false::1:23:157:1:0:0::_23:false::1:51:149:1:0:0::_23:false::1:20:94:1:0:0::_23:false::1:43:84:1:0:0::_22:false::1:41:89:1:0:0::_22:false::1:56:105:1:0:0::_22:false::1:41:63:1:0:0::_22:false::1:64:85:1:0:0::_28:false::1,2,3,4:10:10:1:0:2:ANY CLVL;GOLD CLVL;GOLD CLVL;POTION 3:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_28:false::1,2,3,4:9:11:1:0:2:ANY CLVL;GOLD CLVL;GOLD CLVL;POTION 3:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_28:false::1,2,3,4:8:12:1:0:2:ANY CLVL;GOLD CLVL;GOLD CLVL;POTION 3:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_23:false::1:36:94:1:0:0::';
zoneData = '0 SC: 16 SC: 155 SC: START SZ: 1 SC: 7 SC: 26 SC: NPC ArmoredZombie 2 SZ: 2 SC: 20 SC: 19 SC: NPC ArmoredZombie 2 SZ: 3 SC: 21 SC: 34 SC: NPC ArmoredZombie 2 SZ: 4 SC: 40 SC: 97 SC: NPC ArmoredZombie 2 SZ: 5 SC: 36 SC: 99 SC: NPC ArmoredZombie 2 SZ: 6 SC: 50 SC: 74 SC: NPC ArmoredZombie 2 SZ: 7 SC: 52 SC: 134 SC: NPC SkeletonBow 2 SZ: 8 SC: 50 SC: 138 SC: NPC SkeletonBow 2 SZ: 9 SC: 57 SC: 133 SC: NPC SkeletonBow 2 SZ: 10 SC: 67 SC: 119 SC: NPC SkeletonBow 2 SZ: 11 SC: 65 SC: 124 SC: NPC SkeletonBow 2 SZ: 12 SC: 63 SC: 116 SC: NPC SkeletonBow 2 SZ: 13 SC: 51 SC: 101 SC: NPC SkeletonBow 2 SZ: 14 SC: 48 SC: 103 SC: NPC SkeletonBow 2 SZ: 15 SC: 46 SC: 91 SC: NPC SkeletonBow 2 SZ: 16 SC: 41 SC: 92 SC: NPC SkeletonBow 2 SZ: 17 SC: 29 SC: 96 SC: NPC SkeletonBow 2 SZ: 18 SC: 28 SC: 89 SC: NPC SkeletonBow 2 SZ: 19 SC: 25 SC: 93 SC: NPC SkeletonBow 2 SZ: 20 SC: 41 SC: 70 SC: NPC SkeletonBow 2 SZ: 21 SC: 35 SC: 60 SC: NPC SkeletonBow 2 SZ: 22 SC: 25 SC: 53 SC: NPC SkeletonBow 2 SZ: 23 SC: 18 SC: 40 SC: NPC SkeletonBow 2 SZ: 24 SC: 16 SC: 18 SC: NPC SkeletonBow 2 SZ: 25 SC: 13 SC: 14 SC: NPC SkeletonBow 2 SZ: 26 SC: 13 SC: 40 SC: NPC SkeletonBow 2 SZ: 27 SC: 59 SC: 79 SC: NPC SkeletonBow 2 SZ: 28 SC: 56 SC: 80 SC: NPC SkeletonBow 2 SZ: 29 SC: 40 SC: 143 SC: NPC RottenFlesh 2 SZ: 30 SC: 43 SC: 154 SC: NPC RottenFlesh 2 SZ: 31 SC: 57 SC: 134 SC: NPC RottenFlesh 2 SZ: 32 SC: 50 SC: 139 SC: NPC RottenFlesh 2 SZ: 33 SC: 68 SC: 117 SC: NPC RottenFlesh 2 SZ: 34 SC: 63 SC: 116 SC: NPC RottenFlesh 2 SZ: 35 SC: 52 SC: 102 SC: NPC RottenFlesh 2 SZ: 36 SC: 44 SC: 98 SC: NPC RottenFlesh 2 SZ: 37 SC: 37 SC: 99 SC: NPC RottenFlesh 2 SZ: 38 SC: 30 SC: 96 SC: NPC RottenFlesh 2 SZ: 39 SC: 39 SC: 77 SC: NPC RottenFlesh 2 SZ: 40 SC: 36 SC: 58 SC: NPC RottenFlesh 2 SZ: 41 SC: 34 SC: 59 SC: NPC RottenFlesh 2 SZ: 42 SC: 21 SC: 42 SC: NPC RottenFlesh 2 SZ: 43 SC: 20 SC: 42 SC: NPC RottenFlesh 2 SZ: 44 SC: 12 SC: 36 SC: NPC RottenFlesh 2 SZ: 45 SC: 15 SC: 15 SC: NPC RottenFlesh 2 SZ: 46 SC: 61 SC: 83 SC: NPC RottenFlesh 2';
limitData = '0:0:19:19';
}
function setMap050() {
terrainData = '125,124,120,121,2,2,2,2,2,1,1,155,171,150,151,1,1,1,1,1,1,1,1,2,2;127,126,122,123,148,146,121,2,2,1,168,169,156,152,153,150,151,1,1,1,1,1,1,2,2;2,2,2,2,2,122,134,135,2,1,1,163,162,161,3,152,167,166,1,1,1,1,1,2,2;2,2,2,2,128,129,130,2,2,1,1,1,168,165,3,3,164,150,151,1,1,1,1,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,163,162,161,3,152,153,150,151,1,1,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,155,154,165,3,3,3,152,167,166,1,2,2;1,1,1,1,1,1,1,1,1,1,1,155,171,157,156,3,3,3,158,159,160,1,1,2,2;1,1,1,1,1,1,1,1,1,1,168,169,156,3,3,3,158,159,160,1,1,1,1,2,2;1,1,1,1,1,1,1,1,1,1,1,163,162,161,3,3,164,166,1,1,1,1,1,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,163,162,159,160,1,1,1,1,1,1,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2;1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2;1,155,171,150,151,155,154,150,151,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2;168,169,156,152,153,157,156,152,167,166,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2;1,163,162,161,3,3,158,159,160,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2;1,155,154,165,3,3,164,166,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2;168,157,156,3,158,159,160,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2;1,163,162,159,160,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2';
waterData = '4';
objectData = '21:false::1:1:3:1:0:0::_21:false::1:2:17:1:0:0::_21:false::1:17:3:1:0:0::_21:false::1:31:27:1:0:0::_22:false::1:25:12:1:0:0::_22:false::1:5:7:1:0:0::_22:false::1:18:6:1:0:0::_23:false::1:30:5:1:0:0::_23:false::1:24:30:1:0:0::_35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:47:18:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:55:34:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:47:66:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:64:74:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:72:58:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:75:32:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:66:16:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:51:2:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:54:47:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:6:104:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:22:103:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:5:129:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:32:114:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:24:130:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._30:false::1,2,3,4:11:130:1:0:2:TESORO CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_175:false::1:12:103:0:0:0::_175:false::1:2:110:0:0:0::_175:false::1:27:103:0:0:0::_175:false::1:36:111:0:0:0::_175:false::1:52:6:0:0:0::_175:false::1:41:15:0:0:0::_175:false::1:60:14:0:0:0::_175:false::1:69:22:0:0:0::_175:false::1:80:43:0:0:0::_175:false::1:85:46:0:0:0::_175:false::1:69:70:0:0:0::_175:false::1:41:63:0:0:0::_176:false::1:51:31:0:0:0::_177:false::1:52:4:0:0:0::_177:false::1:60:16:0:0:0::_177:false::1:79:41:0:0:0::_177:false::1:56:48:0:0:0::_177:false::1:55:51:0:0:0::_177:false::1:46:57:0:0:0::_177:false::1:11:100:0:0:0::_177:false::1:27:100:0:0:0::_177:false::1:37:108:0:0:0::_177:false::1:3:107:0:0:0::_177:false::1:10:125:0:0:0::_178:false::1:10:127:0:0:0::_178:false::1:4:133:0:0:0::_178:false::1:5:108:0:0:0::_178:false::1:14:104:0:0:0::_178:false::1:29:126:0:0:0::_178:false::1:47:10:0:0:0::_178:false::1:63:16:0:0:0::_178:false::1:76:37:0:0:0::_176:false::1:47:13:0:0:0::_176:false::1:68:31:0:0:0::_176:false::1:52:54:0:0:0::_176:false::1:59:47:0:0:0::_176:false::1:3:135:0:0:0::_176:false::1:20:110:0:0:0::_176:false::1:23:16:0:0:0::_177:false::1:21:13:0:0:0::_178:false::1:21:12:0:0:0::';
zoneData = '1 SC: 17 SC: 23 SC: START SZ: 2 SC: 49 SC: 6 SC: TELEPORT 9/102 SZ: 2 SC: 9 SC: 102 SC: TELEPORT 49/6 SZ: 3 SC: 22 SC: 13 SC: TELEPORT 49/54 SZ: 3 SC: 49 SC: 54 SC: TELEPORT 22/13 SZ: 4 SC: 20 SC: 120 SC: NPC Tarantula 2 SZ: 5 SC: 57 SC: 21 SC: NPC Tarantula 2 SZ: 6 SC: 54 SC: 29 SC: NPC GiantSpider 2 SZ: 7 SC: 59 SC: 73 SC: NPC GiantSpider 2 SZ: 8 SC: 65 SC: 50 SC: NPC GiantSpider 2 SZ: 9 SC: 74 SC: 39 SC: NPC GiantSpider 2 SZ: 10 SC: 62 SC: 19 SC: NPC GiantSpider 2 SZ: 11 SC: 51 SC: 19 SC: NPC GiantSpider 2 SZ: 12 SC: 52 SC: 10 SC: NPC GiantSpider 2 SZ: 13 SC: 10 SC: 134 SC: NPC Sicarius 2 SZ: 14 SC: 14 SC: 136 SC: NPC Sicarius 2 SZ: 15 SC: 29 SC: 111 SC: NPC Sicarius 2 SZ: 16 SC: 12 SC: 115 SC: NPC Sicarius 2';
limitData = '0:0:8:3_9:0:22:10_0:10:10:18';
}
function setMap051() {
terrainData = '2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,125,124,146,121,2,2,2,2,1,1,155,154,150,151,155,154,150,151,1,1,1,1,1,1;137,136,126,122,123,120,121,2,2,1,168,169,156,152,153,157,156,152,153,150,151,1,1,1,1;2,133,132,131,2,122,134,135,2,1,1,163,162,161,3,3,3,3,3,152,153,150,151,1,1;2,2,142,139,128,129,130,2,2,1,1,1,1,163,162,161,3,3,3,3,3,152,167,166,1;2,2,128,129,130,2,2,2,2,1,1,1,1,155,154,165,3,3,3,3,158,159,160,1,1;1,1,1,1,1,1,1,1,1,1,1,155,171,157,156,3,158,161,3,3,164,150,151,1,1;2,2,2,2,2,2,2,2,2,1,168,169,156,3,158,159,160,163,162,161,3,152,167,166,1;2,2,2,2,2,2,2,2,2,1,1,163,162,159,160,1,1,1,1,163,162,159,160,1,1;2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2';
waterData = '4';
objectData = '20:false::1:5:11:1:0:0::_20:false::1:34:11:1:0:0::_20:false::1:35:44:1:0:0::_21:false::1:20:11:1:0:0::_22:false::1:29:34:1:0:0::_22:false::1:27:18:1:0:0::_23:false::1:13:4:1:0:0::_23:false::1:29:22:1:0:0::_23:false::1:18:34:1:0:0::_21:false::1:8:18:1:0:0::_23:false::1:0:24:1:0:0::_30:false::1,2,3,4:51:19:1:0:2:TESORO CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:79:66:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:71:58:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:56:66:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:54:48:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:47:15:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:63:15:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:84:49:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:83:25:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:55:34:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20.';
zoneData = '1 SC: 5 SC: 28 SC: START SZ: 2 SC: 49 SC: 54 SC: TELEPORT 14/13 SZ: 2 SC: 14 SC: 13 SC: TELEPORT 49/54 SZ: 3 SC: 54 SC: 25 SC: NPC FemaleBanditChief 2 SZ: 4 SC: 67 SC: 24 SC: NPC CorruptedPriest 2 SZ: 5 SC: 53 SC: 28 SC: NPC Bandit 2 SZ: 6 SC: 75 SC: 29 SC: NPC Bandit 2 SZ: 7 SC: 85 SC: 59 SC: NPC Bandit 2 SZ: 8 SC: 78 SC: 61 SC: NPC Bandit 2 SZ: 9 SC: 62 SC: 53 SC: NPC Bandit 2';
limitData = '0:0:8:5_9:0:24:9';
}
function setMap052() {
terrainData = '2,2,2,2,145,146,121,2,1,1,1,1,1,155,154,150,151,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,125,124,144,2,122,134,135,1,1,1,155,171,157,156,152,153,150,151,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;137,136,126,2,128,129,130,2,1,1,168,169,156,3,158,161,3,152,153,150,151,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;124,139,128,129,130,2,2,2,1,1,1,163,162,159,160,163,162,161,3,152,153,150,151,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;126,2,140,135,2,2,2,2,1,1,1,1,1,1,1,1,1,163,162,161,3,152,153,150,151,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;128,129,130,2,2,2,2,2,1,1,1,1,1,1,1,1,1,155,154,165,3,3,3,152,167,166,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;130,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,168,169,156,3,3,3,158,159,160,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,155,154,150,151,163,162,161,3,3,164,150,151,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,1,1,1,155,154,157,156,152,153,166,1,163,162,161,3,152,153,150,151,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,1,1,168,169,156,3,158,159,160,1,1,155,154,165,3,3,3,152,167,166,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,1,1,168,165,3,3,164,150,151,155,154,157,156,3,3,3,158,159,160,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,1,1,168,165,3,3,3,152,153,157,156,3,3,3,158,159,160,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,1,1,1,163,162,161,3,3,3,3,3,3,158,159,160,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,1,1,1,1,1,163,162,161,3,3,158,159,160,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,163,162,159,160,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2';
waterData = '4';
objectData = '21:false::1:16:44:1:0:0::_21:false::1:4:32:1:0:0::_23:false::1:5:20:1:0:0::_23:false::1:2:50:1:0:0::_22:false::1:10:24:1:0:0::_22:false::1:28:5:1:0:0::_23:false::1:27:20:1:0:0::_22:false::1:25:45:1:0:0::_20:false::1:23:52:1:0:0::_32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:46:16:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:66:8:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:83:25:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:69:48:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:77:81:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:53:65:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:63:85:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:43.3:87.6:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:63:114:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:80:106:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:104:82:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:92:57:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._44:false::1:94:78:1:0:0::_45:false::1:85:89:1:0:0::_45:false::1:85:54:1:0:0::_44:false::1:51:84:1:0:0::_28:false::1,2,3,4:11:19:1:0:2:ANY CLVL;GOLD CLVL;GOLD CLVL;POTION 3:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:62:64:1:0:2:GOLD+ CLVL;GOLD+ CLVL;GOLD+ CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:63:65:1:0:2:GOLD+ CLVL;GOLD+ CLVL;GOLD+ CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:64:66:1:0:2:POTION 0;POTION 0;POTION 0;POTION 3;POTION 3;POTION 3:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_31:false::1,2,3,4:65:67:1:0:2:ANY++ CLVL;ANY++ CLVL;ANY++ CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_91:false::1:64:70:1:0:0::_91:false::1:63:71:1:0:0::_91:false::1:63:69:1:0:0::_91:false::1:62:71:1:0:0::_93:false::1:55:65:1:0:0::_93:false::1:52:68:1:0:0::_90:false::1:55:66:1:0:0::_89:false::1:54:67:1:0:0::_89:false::1:55:67:1:0:0::_84:false::1:52:72:1:0:0::_84:false::1:49:75:1:0:0::_89:false::1:52:70:1:0:0::_89:false::1:51:71:1:0:0::_89:false::1:49:73:1:0:0::_89:false::1:48:74:1:0:0::';
zoneData = '0 SC: 4 SC: 4 SC: START SZ: 1 SC: 22 SC: 5 SC: TELEPORT 49/14 SZ: 1 SC: 49 SC: 14 SC: TELEPORT 22/5 SZ: 2 SC: 57 SC: 78 SC: NPC FemaleBanditChiefBow 2 SZ: 3 SC: 52 SC: 78 SC: NPC FemaleBanditChiefBow 2 SZ: 4 SC: 70 SC: 24 SC: NPC FemaleBanditChiefBow 2 SZ: 5 SC: 59 SC: 10 SC: NPC MaleBanditBow 2 SZ: 6 SC: 56 SC: 13 SC: NPC MaleBanditBow 2 SZ: 7 SC: 71 SC: 23 SC: NPC MaleBanditBow 2 SZ: 8 SC: 69 SC: 28 SC: NPC MaleBanditBow 2 SZ: 9 SC: 86 SC: 46 SC: NPC MaleBanditBow 2 SZ: 10 SC: 81 SC: 47 SC: NPC MaleBanditBow 2 SZ: 11 SC: 81 SC: 51 SC: NPC MaleBanditBow 2 SZ: 12 SC: 91 SC: 66 SC: NPC MaleBanditBow 2 SZ: 13 SC: 87 SC: 66 SC: NPC MaleBanditBow 2 SZ: 14 SC: 96 SC: 84 SC: NPC MaleBanditBow 2 SZ: 15 SC: 90 SC: 87 SC: NPC MaleBanditBow 2 SZ: 16 SC: 76 SC: 97 SC: NPC MaleBanditBow 2 SZ: 17 SC: 78 SC: 101 SC: NPC MaleBanditBow 2 SZ: 18 SC: 69 SC: 97 SC: NPC MaleBanditBow 2 SZ: 19 SC: 67 SC: 105 SC: NPC MaleBanditBow 2 SZ: 20 SC: 58 SC: 89 SC: NPC MaleBanditBow 2 SZ: 21 SC: 56 SC: 96 SC: NPC MaleBanditBow 2 SZ: 22 SC: 47 SC: 87 SC: NPC MaleBanditBow 2 SZ: 23 SC: 66 SC: 16 SC: NPC Thug 2 SZ: 24 SC: 64 SC: 18 SC: NPC Thug 2 SZ: 25 SC: 65 SC: 24 SC: NPC Thug 2 SZ: 26 SC: 67 SC: 23 SC: NPC Thug 2 SZ: 27 SC: 77 SC: 27 SC: NPC Thug 2 SZ: 28 SC: 74 SC: 27 SC: NPC Thug 2 SZ: 29 SC: 75 SC: 34 SC: NPC Thug 2 SZ: 30 SC: 79 SC: 34 SC: NPC Thug 2 SZ: 31 SC: 86 SC: 40 SC: NPC Thug 2 SZ: 32 SC: 79 SC: 39 SC: NPC Thug 2 SZ: 33 SC: 81 SC: 47 SC: NPC Thug 2 SZ: 34 SC: 90 SC: 49 SC: NPC Thug 2 SZ: 35 SC: 79 SC: 54 SC: NPC Thug 2 SZ: 36 SC: 78 SC: 58 SC: NPC Thug 2 SZ: 37 SC: 89 SC: 66 SC: NPC Thug 2 SZ: 38 SC: 86 SC: 69 SC: NPC Thug 2 SZ: 39 SC: 90 SC: 88 SC: NPC Thug 2 SZ: 40 SC: 82 SC: 86 SC: NPC Thug 2 SZ: 41 SC: 78 SC: 98 SC: NPC Thug 2 SZ: 42 SC: 69 SC: 101 SC: NPC Thug 2 SZ: 43 SC: 68 SC: 109 SC: NPC Thug 2 SZ: 44 SC: 58 SC: 91 SC: NPC Thug 2 SZ: 45 SC: 51 SC: 94 SC: NPC Thug 2 SZ: 46 SC: 54 SC: 99 SC: NPC Thug 2 SZ: 47 SC: 54 SC: 87 SC: NPC Thug 2 SZ: 48 SC: 48 SC: 83 SC: NPC Thug 2 SZ: 49 SC: 59 SC: 75 SC: NPC Thug 2 SZ: 50 SC: 55 SC: 80 SC: NPC Thug 2 SZ: 51 SC: 56 SC: 85 SC: NPC Thug 2';
limitData = '0:0:7:6_9:0:28:15';
}
function setMap099() {
terrainData = '2,2,2,2,125,124,120,121,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,10,10,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2;2,2,125,124,127,126,122,123,120,121,2,2,2,2,2,2,2,2,2,1,1,1,1,10,1,10,10,10,10,10,10,10,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2;125,124,127,126,2,2,2,2,122,123,120,121,2,2,2,2,2,2,2,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2;127,126,2,2,2,128,131,2,2,2,122,123,120,121,2,2,2,2,2,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,128,129,130,133,132,131,2,2,2,122,134,135,2,2,2,2,1,1,10,10,10,10,10,10,1,1,1,1,10,10,10,10,10,10,1,2,2,2,2,2,2,2,2,2,2,2,2;2,128,129,130,2,2,2,137,141,2,2,128,129,130,2,2,2,2,2,1,1,1,1,10,10,1,1,1,1,1,10,10,10,10,10,10,1,1,2,2,2,2,2,2,2,2,2,2,2,2;2,138,120,121,2,2,2,2,133,132,129,130,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2;2,2,122,123,120,121,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,10,10,10,10,10,10,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2;50,51,2,2,122,123,120,121,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,10,10,10,10,10,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2;52,53,50,51,2,2,122,123,120,121,125,124,120,121,2,2,2,2,2,1,1,1,1,1,1,1,1,10,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2;4,4,52,53,50,51,2,2,122,123,127,126,122,123,120,121,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;4,4,4,4,52,53,50,51,2,2,2,2,2,2,122,134,135,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;4,58,61,4,4,4,52,64,65,2,2,2,2,128,129,130,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;59,60,63,62,61,58,59,60,2,2,2,128,129,130,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,63,60,2,2,2,128,129,130,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,128,129,130,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2';
waterData = '4';
objectData = '70:false::1:43:35:1:0:0::_72:false::1:44:35:-2:0:0::_69:false::1:42:35:1:0:0::_68:false::1:40:38:1:0:0::_71:false::1,2,3,4,5:44:35:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5.SELECT 5,FREE 0/0 - 5.SELECT 1.PLAY.4,4,3,3,2,2,1.SELECT 4,NOFREE 0/0_21:false::1:3:29:1:0:0::_22:false::1:5:7:1:0:0::_22:false::1:10:20:1:0:0::_22:false::1:22:10:1:0:0::_22:false::1:43:11:1:0:0::_20:false::1:45:125:1:0:0::_20:false::1:56:117:1:0:0::_20:false::1:74:124:1:0:0::_20:false::1:70:83:1:0:0::_20:false::1:72:43:1:0:0::_20:false::1:44:65:1:0:0::_20:false::1:20:50:1:0:0::_21:false::1:65:31:1:0:0::_21:false::1:31:78:1:0:0::_21:false::1:68:113:1:0:0::_21:false::1:55:26:1:0:0::_23:false::1:71:8:1:0:0::_23:false::1:51:14:1:0:0::_23:false::1:2:13:1:0:0::_23:false::1:31:104:1:0:0::_23:false::1:62:102:1:0:0::_22:false::1:54:76:1:0:0::_22:false::1:50:56:1:0:0::_22:false::1:26:50:1:0:0::_22:false::1:22:41:1:0:0::_22:false::1:28:56:1:0:0::_22:false::1:8:57:1:0:0::_21:false::1:8:110:1:0:0::_23:false::1:18:119:1:0:0::_22:false::1:12:114:1:0:0::_22:false::1:0:117:1:0:0::_22:false::1:57:124:1:0:0::_22:false::1:71:93:1:0:0::_22:false::1:58:60:1:0:0::_23:false::1:59:45:1:0:0::_23:false::1:63:8:1:0:0::_23:false::1:29:5:1:0:0::_23:false::1:38:87:1:0:0::_23:false::1:0:62:1:0:0::_23:false::1:25:14:1:0:0::_23:false::1:38:34:1:0:0::_22:false::1:52:38:1:0:0::_120:false::1:87:27:1:0:0::_120:false::1:91:23:1:0:0::_120:false::1:95:19:1:0:0::_120:false::1:99:15:1:0:0::_122:false::1:88:29:1:0:0::_122:false::1:90:31:1:0:0::_125:false::1:85:28:1:0:0::_122:false::1:92:33:1:0:0::_122:false::1:94:35:1:0:0::_122:false::1:96:37:1:0:0::_122:false::1:98:39:1:0:0::_120:false::1:99:39:1:0:0::_120:false::1:101:37:1:0:0::_120:false::1:103:35:1:0:0::_120:false::1:105:33:1:0:0::_120:false::1:107:31:1:0:0::_120:false::1:109:29:1:0:0::_120:false::1:111:27:1:0:0::_122:false::1:112:25:1:0:0::_122:false::1:106:19:1:0:0::_122:false::1:104:17:1:0:0::_122:false::1:102:15:1:0:0::_120:false::1:109:13:1:0:0::_120:false::1:113:9:1:0:0::_120:false::1:113:25:1:0:0::_120:false::1:115:23:1:0:0::_120:false::1:117:21:1:0:0::_120:false::1:117:5:1:0:0::_122:false::1:120:5:1:0:0::_122:false::1:124:9:1:0:0::_122:false::1:120:21:1:0:0::_122:false::1:122:23:1:0:0::_122:false::1:124:25:1:0:0::_122:false::1:128:13:1:0:0::_122:false::1:132:17:1:0:0::_122:false::1:134:19:1:0:0::_122:false::1:136:21:1:0:0::_122:false::1:138:23:1:0:0::_122:false::1:126:27:1:0:0::_122:false::1:128:29:1:0:0::_122:false::1:130:31:1:0:0::_122:false::1:132:33:1:0:0::_122:false::1:140:25:1:0:0::_122:false::1:142:27:1:0:0::_122:false::1:144:29:1:0:0::_122:false::1:146:31:1:0:0::_122:false::1:148:33:1:0:0::_122:false::1:134:35:1:0:0::_120:false::1:133:37:1:0:0::_120:false::1:131:39:1:0:0::_120:false::1:129:41:1:0:0::_120:false::1:127:43:1:0:0::_120:false::1:125:45:1:0:0::_120:false::1:123:47:1:0:0::_120:false::1:121:49:1:0:0::_120:false::1:119:51:1:0:0::_120:false::1:117:53:1:0:0::_120:false::1:115:55:1:0:0::_120:false::1:113:57:1:0:0::_120:false::1:107:63:1:0:0::_125:false::1:104:65:1:0:0::_122:false::1:108:67:1:0:0::_122:false::1:110:69:1:0:0::_122:false::1:112:71:1:0:0::_120:false::1:113:71:1:0:0::_120:false::1:115:69:1:0:0::_120:false::1:117:67:1:0:0::_120:false::1:119:65:1:0:0::_120:false::1:121:63:1:0:0::_120:false::1:123:61:1:0:0::_120:false::1:125:59:1:0:0::_120:false::1:127:57:1:0:0::_120:false::1:129:55:1:0:0::_120:false::1:131:53:1:0:0::_120:false::1:133:51:1:0:0::_120:false::1:135:49:1:0:0::_120:false::1:137:47:1:0:0::_120:false::1:139:45:1:0:0::_120:false::1:141:43:1:0:0::_120:false::1:143:41:1:0:0::_120:false::1:145:39:1:0:0::_120:false::1:147:37:1:0:0::_120:false::1:148:36:1:0:0::_124:false::1:149:35:1:0:0::_124:false::1:134:36:1:0:0::_140:false::1:110:24:1:0:0::_141:false::1:102:22:1:0:0::_187:false::1:108:72:-2:0:0::_187:false::1:104:68:-2:0:0::_187:false::1:100:64:-2:0:0::_187:false::1:92:38:-2:0:0::_187:false::1:92:41:-2:0:0::_187:false::1:88:34:-2:0:0::_187:false::1:84:30:-2:0:0::_187:false::1:84:32:-2:0:0::_187:false::1:80:26:-2:0:0::_186:false::1:110:70:-2:0:0::_186:false::1:124:56:-2:0:0::_186:false::1:132:48:-2:0:0::_186:false::1:140:40:-2:0:0::_186:false::1:144:36:-2:0:0::_186:false::1:116:64:-2:0:0::_186:false::1:114:66:-2:0:0::_184:false::1:120:56:-2:0:0::_184:false::1:128:48:-2:0:0::_184:false::1:136:40:-2:0:0::_186:false::1:96:38:-2:0:0::_186:false::1:96:40:-2:0:0::_186:false::1:104:30:-2:0:0::_186:false::1:104:32:-2:0:0::_186:false::1:100:34:-2:0:0::_186:false::1:112:22:-2:0:0::_186:false::1:108:26:-2:0:0::_186:false::1:112:25:-2:0:0::_187:false::1:116:22:-2:0:0::_187:false::1:116:24:-2:0:0::_187:false::1:120:26:-2:0:0::_187:false::1:124:30:-2:0:0::_187:false::1:126:32:-2:0:0::_187:false::1:147.75:30:-2:0:0::_180:false::1:84:16:-2:0:0::_180:false::1:92:8:-2:0:0::_182:false::1:88:16:-2:0:0::_182:false::1:83:21:-2:0:0::_182:false::1:104:8:-2:0:0::_180:false::1:100:8:-2:0:0::_181:false::1:79.25:23:-2:0:0::_181:false::1:116:0:-2:0:0::_180:false::1:112:0:-2:0:0::_181:false::1:144:24:-2:0:0::_181:false::1:136:16:-2:0:0::_183:false::1:124:8:-2:0:0::_183:false::1:132:16:-2:0:0::_183:false::1:140:24:-2:0:0::_181:false::1:98.3:62:-2:0:0::_182:false::1:104:56:-2:0:0::_182:false::1:112:48:-2:0:0::_182:false::1:120:40:-2:0:0::_182:false::1:124:38:-2:0:0::_164:false::1:84:25:2:0:0::_164:false::1:102:15:2:0:0::_165:false::1:110:23:2:0:0::_165:false::1:132:33:2:0:0::_165:false::1:147:32:2:0:0::_127:false::1:109:61:1:0:0::_126:false::1:111:59:1:0:0::_28:false::1,2,3,4:7:30:1:0:2:HELM CLVL;ACC CLVL;POTION 0;GOLD CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_28:false::1,2,3,4:95:21:1:0:2:GOLD CLVL;POTION 0;POTION 0;POTION 0:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_30:false::1,2,3,4:93:23:1:0:2:GOLD CLVL;GOLD CLVL;ACC CLVL;ANY CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:91:31:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:131:31:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:116:16:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:105:19:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._120:false::1:105:17:1:0:0::_132:false::1:115:7:1:0:0::_132:false::1:111:11:1:0:0::_132:false::1:107:15:1:0:0::_132:false::1:89:25:1:0:0::_132:false::1:93:21:1:0:0::_132:false::1:97:17:1:0:0::_133:false::1:122:7:1:0:0::_133:false::1:126:11:1:0:0::_133:false::1:130:15:1:0:0::_116:false::1:139:35:1:0:0::_116:false::1:137:33:1:0:0::_117:false::1,2,3,4,5:140:35:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:138:33:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_116:false::1:95:19:1:0:0::_116:false::1:87:27:1:0:0::_117:false::1,2,3,4,5:88:27:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:96:19:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:111:55:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:123:43:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._28:false::1,2,3,4:94:22:1:0:2:GOLD CLVL;GOLD CLVL;GOLD CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2';
zoneData = '0 SC: 10 SC: 120 SC: START SZ: 1 SC: 44 SC: 35 SC: TELEPORT 108/61 SZ: 1 SC: 108 SC: 61 SC: TELEPORT 44/35 SZ: 2 SC: 37 SC: 103 SC: NPC WalkingDead 2 SZ: 3 SC: 35 SC: 108 SC: NPC WalkingDead 2 SZ: 4 SC: 41 SC: 108 SC: NPC WalkingDead 2 SZ: 5 SC: 44 SC: 88 SC: NPC WalkingDead 2 SZ: 6 SC: 50 SC: 86 SC: NPC WalkingDead 2 SZ: 7 SC: 50 SC: 93 SC: NPC WalkingDead 2 SZ: 8 SC: 36 SC: 90 SC: NPC WalkingDead 2 SZ: 9 SC: 49 SC: 101 SC: NPC WalkingDead 2 SZ: 10 SC: 35 SC: 29 SC: NPC WalkingDead 2 SZ: 11 SC: 35 SC: 34 SC: NPC WalkingDead 2 SZ: 12 SC: 32 SC: 34 SC: NPC WalkingDead 2 SZ: 13 SC: 34 SC: 45 SC: NPC WalkingDead 2 SZ: 14 SC: 37 SC: 43 SC: NPC WalkingDead 2 SZ: 15 SC: 41 SC: 46 SC: NPC WalkingDead 2 SZ: 16 SC: 99 SC: 23 SC: NPC WalkingDead 2 SZ: 17 SC: 95 SC: 24 SC: NPC WalkingDead 2 SZ: 18 SC: 94 SC: 30 SC: NPC WalkingDead 2 SZ: 19 SC: 98 SC: 28 SC: NPC WalkingDead 2 SZ: 20 SC: 110 SC: 13 SC: NPC WalkingDead 2 SZ: 21 SC: 111 SC: 17 SC: NPC WalkingDead 2 SZ: 22 SC: 118 SC: 13 SC: NPC WalkingDead 2 SZ: 23 SC: 126 SC: 19 SC: NPC WalkingDead 2 SZ: 24 SC: 126 SC: 24 SC: NPC WalkingDead 2 SZ: 25 SC: 134 SC: 28 SC: NPC WalkingDead 2 SZ: 26 SC: 134 SC: 34 SC: NPC WalkingDead 2 SZ: 27 SC: 137 SC: 36 SC: NPC WalkingDead 2 SZ: 28 SC: 132 SC: 42 SC: NPC WalkingDead 2 SZ: 29 SC: 123 SC: 49 SC: NPC WalkingDead 2 SZ: 30 SC: 9 SC: 28 SC: NPC GiantSpider 2 SZ: 31 SC: 10 SC: 34 SC: NPC GiantSpider 2 SZ: 32 SC: 5 SC: 38 SC: NPC GiantSpider 2 SZ: 33 SC: 2 SC: 43 SC: NPC GiantSpider 2 SZ: 34 SC: 6 SC: 51 SC: NPC GiantSpider 2 SZ: 35 SC: 6 SC: 64 SC: NPC GiantSpider 2 SZ: 36 SC: 35 SC: 117 SC: NPC WalkingDead 2 SZ: 37 SC: 29 SC: 115 SC: NPC WalkingDead 2 SZ: 38 SC: 40 SC: 91 SC: NPC WalkingDead 2 SZ: 39 SC: 44 SC: 93 SC: NPC WalkingDead 2 SZ: 40 SC: 50 SC: 100 SC: NPC WalkingDead 2 SZ: 41 SC: 14 SC: 64 SC: NPC WalkingDead 2 SZ: 42 SC: 11 SC: 70 SC: NPC WalkingDead 2 SZ: 43 SC: 18 SC: 73 SC: NPC WalkingDead 2 SZ: 44 SC: 16 SC: 26 SC: NPC GiantSpider 2 SZ: 45 SC: 20 SC: 14 SC: NPC GiantSpider 2 SZ: 46 SC: 25 SC: 23 SC: NPC GiantSpider 2 SZ: 47 SC: 126 SC: 49 SC: NPC WalkingDead 2 SZ: 48 SC: 135 SC: 41 SC: NPC WalkingDead 2 SZ: 49 SC: 126 SC: 19 SC: NPC WalkingDead 2 SZ: 50 SC: 100 SC: 21 SC: NPC WalkingDead 2';
limitData = '0:0:18:15_19:0:37:9';
if (quesInv[7] != 1) {
if (gameDif != 2) {
area.push(new Array(300, 925, 90000, 'TUTORIAL 4'));
area.push(new Array(2050, 1050, 90000, 'TUTORIAL 7'));
area.push(new Array(5400, 1525, 90000, 'TUTORIAL 11'));
}
}
}
function setMap100() {
terrainData = '2,125,124,148,120,121,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;124,127,126,2,122,123,120,121,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;126,2,2,2,2,2,122,123,120,121,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;129,149,132,131,2,2,2,2,122,134,135,2,2,2,125,124,148,120,121,2,2,2,2,2,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,133,132,131,2,128,129,130,2,2,125,124,127,126,2,122,123,120,121,2,2,2,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,137,141,2,138,120,121,125,124,127,126,2,2,2,2,2,122,134,135,2,2,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,133,132,131,122,123,127,126,2,2,2,2,2,2,128,129,130,2,2,2,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,133,132,131,2,2,128,129,149,132,131,2,140,135,2,2,2,2,1,1,10,10,10,10,10,10,10,10,10,10,10,10,1,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,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,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,133,132,129,130,2,125,124,139,2,140,135,2,2,2,2,1,1,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,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,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,125,124,127,126,2,2,138,120,121,2,2,2,1,1,1,1,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,125,124,127,126,2,2,2,2,2,122,134,135,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,137,136,126,2,2,2,2,2,2,128,129,130,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,133,132,131,2,2,2,2,2,140,135,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,133,132,129,149,132,129,130,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3';
waterData = '4';
objectData = '120:false::1:149:19:1:0:0::_182:false::1:148:16:-2:0:0::_120:false::1:151:17:1:0:0::_120:false::1:153:15:1:0:0::_181:false::1:156:16:-2:0:0::_122:false::1:160:19:1:0:0::_122:false::1:162:21:1:0:0::_183:false::1:152:16:-2:0:0::_122:false::1:156:15:1:0:0::_122:false::1:158:17:1:0:0::_122:false::1:272:19:1:0:0::_183:false::1:160:24:-2:0:0::_122:false::1:164:23:1:0:0::_122:false::1:166:25:1:0:0::_122:false::1:278:25:1:0:0::_180:false::1:352:32:-2:0:0::_120:false::1:355:37:1:0:0::_120:false::1:357:35:1:0:0::_182:false::1:356:32:-2:0:0::_120:false::1:359:33:1:0:0::_120:false::1:361:31:1:0:0::_181:false::1:364:32:-2:0:0::_122:false::1:368:35:1:0:0::_122:false::1:370:37:1:0:0::_183:false::1:360:32:-2:0:0::_122:false::1:364:31:1:0:0::_122:false::1:366:33:1:0:0::_180:false::1:120:40:-2:0:0::_120:false::1:123:45:1:0:0::_120:false::1:125:43:1:0:0::_180:false::1:344:40:-2:0:0::_120:false::1:347:45:1:0:0::_120:false::1:349:43:1:0:0::_182:false::1:348:40:-2:0:0::_120:false::1:351:41:1:0:0::_120:false::1:353:39:1:0:0::_181:false::1:372:40:-2:0:0::_122:false::1:376:43:1:0:0::_122:false::1:378:45:1:0:0::_183:false::1:368:40:-2:0:0::_122:false::1:372:39:1:0:0::_122:false::1:374:41:1:0:0::_180:false::1:112:48:-2:0:0::_120:false::1:115:53:1:0:0::_120:false::1:117:51:1:0:0::_182:false::1:116:48:-2:0:0::_120:false::1:119:49:1:0:0::_120:false::1:121:47:1:0:0::_180:false::1:224:48:-2:0:0::_120:false::1:227:53:1:0:0::_120:false::1:229:51:1:0:0::_182:false::1:228:48:-2:0:0::_120:false::1:231:49:1:0:0::_120:false::1:233:47:1:0:0::_180:false::1:336:48:-2:0:0::_120:false::1:339:53:1:0:0::_120:false::1:341:51:1:0:0::_182:false::1:340:48:-2:0:0::_120:false::1:343:49:1:0:0::_120:false::1:345:47:1:0:0::_181:false::1:380:48:-2:0:0::_122:false::1:384:51:1:0:0::_122:false::1:386:53:1:0:0::_183:false::1:376:48:-2:0:0::_122:false::1:380:47:1:0:0::_122:false::1:382:49:1:0:0::_180:false::1:104:56:-2:0:0::_120:false::1:107:61:1:0:0::_120:false::1:109:59:1:0:0::_180:false::1:216:56:-2:0:0::_120:false::1:219:61:1:0:0::_120:false::1:221:59:1:0:0::_182:false::1:220:56:-2:0:0::_120:false::1:223:57:1:0:0::_120:false::1:225:55:1:0:0::_180:false::1:328:56:-2:0:0::_120:false::1:331:61:1:0:0::_120:false::1:333:59:1:0:0::_182:false::1:332:56:-2:0:0::_120:false::1:335:57:1:0:0::_120:false::1:337:55:1:0:0::_181:false::1:388:56:-2:0:0::_122:false::1:392:59:1:0:0::_122:false::1:394:61:1:0:0::_183:false::1:384:56:-2:0:0::_122:false::1:388:55:1:0:0::_122:false::1:390:57:1:0:0::_187:false::1:104:64:-2:0:0::_122:false::1:108:63:1:0:0::_122:false::1:110:65:1:0:0::_185:false::1:108:64:-2:0:0::_122:false::1:112:67:1:0:0::_122:false::1:114:69:1:0:0::_187:false::1:216:64:-2:0:0::_122:false::1:220:63:1:0:0::_122:false::1:222:65:1:0:0::_185:false::1:220:64:-2:0:0::_122:false::1:224:67:1:0:0::_122:false::1:226:69:1:0:0::_187:false::1:328:64:-2:0:0::_122:false::1:332:63:1:0:0::_122:false::1:334:65:1:0:0::_185:false::1:332:64:-2:0:0::_122:false::1:336:67:1:0:0::_122:false::1:338:69:1:0:0::_186:false::1:388:64:-2:0:0::_120:false::1:391:65:1:0:0::_120:false::1:393:63:1:0:0::_184:false::1:384:64:-2:0:0::_120:false::1:387:69:1:0:0::_120:false::1:389:67:1:0:0::_187:false::1:112:72:-2:0:0::_122:false::1:116:71:1:0:0::_122:false::1:118:73:1:0:0::_187:false::1:224:72:-2:0:0::_122:false::1:228:71:1:0:0::_122:false::1:230:73:1:0:0::_185:false::1:228:72:-2:0:0::_122:false::1:232:75:1:0:0::_122:false::1:234:77:1:0:0::_187:false::1:336:72:-2:0:0::_122:false::1:340:71:1:0:0::_122:false::1:342:73:1:0:0::_185:false::1:340:72:-2:0:0::_122:false::1:344:75:1:0:0::_122:false::1:346:77:1:0:0::_186:false::1:380:72:-2:0:0::_120:false::1:383:73:1:0:0::_120:false::1:385:71:1:0:0::_184:false::1:376:72:-2:0:0::_120:false::1:379:77:1:0:0::_120:false::1:381:75:1:0:0::_187:false::1:344:80:-2:0:0::_122:false::1:348:79:1:0:0::_122:false::1:350:81:1:0:0::_185:false::1:348:80:-2:0:0::_122:false::1:352:83:1:0:0::_122:false::1:354:85:1:0:0::_186:false::1:372:80:-2:0:0::_120:false::1:375:81:1:0:0::_120:false::1:377:79:1:0:0::_184:false::1:368:80:-2:0:0::_120:false::1:371:85:1:0:0::_120:false::1:373:83:1:0:0::_187:false::1:352:88:-2:0:0::_122:false::1:356:87:1:0:0::_122:false::1:358:89:1:0:0::_185:false::1:356:88:-2:0:0::_122:false::1:360:91:1:0:0::_122:false::1:362:93:1:0:0::_186:false::1:364:88:-2:0:0::_120:false::1:367:89:1:0:0::_120:false::1:369:87:1:0:0::_184:false::1:360:88:-2:0:0::_120:false::1:363:93:1:0:0::_120:false::1:365:91:1:0:0::_66:false::1:54:88:1:0:0::_65:false::1:61:88:1:0:0::_64:false::1:57:91:1:0:0::_63:false::1:55:88:-2:0:0::_67:false::1,2,3,4,5:55:88:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5.SELECT 5,FREE 0/0 - 5.SELECT 1.PLAY.4,4,3,3,2,2,1.SELECT 4,NOFREE 0/0_20:false::1:5:2:1:0:0::_20:false::1:10:51:1:0:0::_20:false::1:42:112:1:0:0::_20:false::1:30:104:1:0:0::_20:false::1:10:94:1:0:0::_20:false::1:17:72:1:0:0::_20:false::1:35:77:1:0:0::_20:false::1:28:19:1:0:0::_20:false::1:42:4:1:0:0::_20:false::1:56:21:1:0:0::_20:false::1:81:23:1:0:0::_20:false::1:91:56:1:0:0::_20:false::1:84:108:1:0:0::_20:false::1:76:120:1:0:0::_20:false::1:92:113:1:0:0::_21:false::1:59:76:1:0:0::_21:false::1:41:37:1:0:0::_21:false::1:5:13:1:0:0::_21:false::1:3:39:1:0:0::_21:false::1:4:67:1:0:0::_21:false::1:26:87:1:0:0::_21:false::1:47:9:1:0:0::_21:false::1:68:32:1:0:0::_21:false::1:54:117:1:0:0::_21:false::1:42:92:1:0:0::_22:false::1:28:8:1:0:0::_22:false::1:43:17:1:0:0::_22:false::1:56:10:1:0:0::_22:false::1:80:9:1:0:0::_22:false::1:85:65:1:0:0::_22:false::1:72:70:1:0:0::_22:false::1:34:101:1:0:0::_23:false::1:42:76:1:0:0::_23:false::1:13:9:1:0:0::_23:false::1:13:39:1:0:0::_23:false::1:70:9:1:0:0::_21:false::1:90:16:1:0:0::_125:false::1:105:62:1:0:0::_120:false::1:119:73:1:0:0::_120:false::1:121:71:1:0:0::_120:false::1:123:69:1:0:0::_120:false::1:125:67:1:0:0::_120:false::1:127:65:1:0:0::_120:false::1:129:63:1:0:0::_120:false::1:131:61:1:0:0::_120:false::1:133:59:1:0:0::_120:false::1:135:57:1:0:0::_120:false::1:137:55:1:0:0::_122:false::1:138:53:1:0:0::_122:false::1:136:51:1:0:0::_122:false::1:130:45:1:0:0::_122:false::1:128:43:1:0:0::_122:false::1:126:41:1:0:0::_122:false::1:124:39:1:0:0::_122:false::1:122:37:1:0:0::_122:false::1:120:35:1:0:0::_120:false::1:119:33:1:0:0::_120:false::1:121:31:1:0:0::_120:false::1:123:29:1:0:0::_120:false::1:125:27:1:0:0::_120:false::1:127:25:1:0:0::_122:false::1:140:55:1:0:0::_122:false::1:142:57:1:0:0::_122:false::1:144:59:1:0:0::_122:false::1:146:61:1:0:0::_120:false::1:147:61:1:0:0::_120:false::1:149:59:1:0:0::_120:false::1:151:57:1:0:0::_120:false::1:153:55:1:0:0::_120:false::1:155:53:1:0:0::_122:false::1:134:21:1:0:0::_122:false::1:136:23:1:0:0::_122:false::1:138:25:1:0:0::_122:false::1:140:27:1:0:0::_122:false::1:142:29:1:0:0::_122:false::1:144:31:1:0:0::_122:false::1:146:33:1:0:0::_122:false::1:148:35:1:0:0::_122:false::1:150:37:1:0:0::_122:false::1:152:39:1:0:0::_122:false::1:154:41:1:0:0::_122:false::1:156:43:1:0:0::_122:false::1:158:45:1:0:0::_122:false::1:160:47:1:0:0::_124:false::1:160:48:1:0:0::_125:false::1:117:34:1:0:0::_122:false::1:128:23:1:0:0::_122:false::1:126:21:1:0:0::_122:false::1:124:19:1:0:0::_122:false::1:158:53:1:0:0::_122:false::1:160:55:1:0:0::_122:false::1:162:57:1:0:0::_120:false::1:163:57:1:0:0::_120:false::1:165:55:1:0:0::_120:false::1:167:53:1:0:0::_120:false::1:169:51:1:0:0::_120:false::1:171:49:1:0:0::_120:false::1:123:17:1:0:0::_120:false::1:125:15:1:0:0::_120:false::1:129:11:1:0:0::_120:false::1:133:7:1:0:0::_122:false::1:136:7:1:0:0::_122:false::1:140:11:1:0:0::_122:false::1:144:15:1:0:0::_122:false::1:148:19:1:0:0::_120:false::1:173:47:1:0:0::_122:false::1:174:45:1:0:0::_122:false::1:170:41:1:0:0::_122:false::1:166:37:1:0:0::_122:false::1:162:33:1:0:0::_120:false::1:153:39:1:0:0::_120:false::1:159:33:1:0:0::_120:false::1:141:27:1:0:0::_120:false::1:147:21:1:0:0::_120:false::1:161:31:1:0:0::_120:false::1:163:29:1:0:0::_120:false::1:165:27:1:0:0::_125:false::1:121:18:1:0:0::_124:false::1:174:46:1:0:0::_124:false::1:166:26:1:0:0::_186:false::1:116:72:-2:0:0::_186:false::1:124:64:-2:0:0::_186:false::1:132:56:-2:0:0::_184:false::1:128:56:-2:0:0::_184:false::1:120:64:-2:0:0::_185:false::1:140:56:-2:0:0::_187:false::1:136:56:-2:0:0::_186:false::1:148:56:-2:0:0::_184:false::1:144:56:-2:0:0::_184:false::1:150:50:-2:0:0::_185:false::1:154:50:-2:0:0::_187:false::1:156:56:-2:0:0::_186:false::1:160:56:-2:0:0::_186:false::1:168:48:-2:0:0::_184:false::1:164:48:-2:0:0::_183:false::1:169:39:-2:0:0::_183:false::1:161:31:-2:0:0::_184:false::1:160:24:-2:0:0::_183:false::1:136:6:-2:0:0::_182:false::1:123:7:-2:0:0::_182:false::1:119:23:-2:0:0::_185:false::1:120:16:-2:0:0::_185:false::1:116:32:-2:0:0::_140:false::1:134:50:1:0:0::_141:false::1:126:48:1:0:0::_138:false::1:126:25:1:0:0::_139:false::1:129:22:1:0:0::_138:false::1:154:53:1:0:0::_139:false::1:157:50:1:0:0::_139:false::1:155:36:1:0:0::_138:false::1:152:39:1:0:0::_138:false::1:140:27:1:0:0::_139:false::1:143:24:1:0:0::_131:false::1:154:25:-2:0:0::_165:false::1:164:23:2:0:0::_164:false::1:158:29:2:0:0::_165:false::1:146:17:2:0:0::_164:false::1:120:15:2:0:0::_165:false::1:126:21:2:0:0::_164:false::1:138:25:2:0:0::_164:false::1:150:37:2:0:0::_165:false::1:158:45:2:0:0::_164:false::1:154:49:2:0:0::_165:false::1:136:51:2:0:0::_165:false::1:124:39:2:0:0::_164:false::1:116:31:2:0:0::_164:false::1:104:59:2:0:0::_127:false::1:111:57:1:0:0::_126:false::1:113:55:1:0:0::_32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:115:49:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:127:58:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:111:65:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:128:44:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:157:17:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:144:32:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:128:17:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:157:47:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:121:27:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:147:54:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:155:30:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:144:20:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._125:false::1:217:62:1:0:0::_122:false::1:236:47:1:0:0::_122:false::1:238:49:1:0:0::_122:false::1:240:51:1:0:0::_122:false::1:246:57:1:0:0::_122:false::1:248:59:1:0:0::_122:false::1:250:61:1:0:0::_120:false::1:249:63:1:0:0::_120:false::1:247:65:1:0:0::_120:false::1:245:67:1:0:0::_120:false::1:243:69:1:0:0::_120:false::1:241:71:1:0:0::_120:false::1:239:73:1:0:0::_120:false::1:237:75:1:0:0::_120:false::1:235:77:1:0:0::_122:false::1:252:63:1:0:0::_122:false::1:254:65:1:0:0::_122:false::1:256:67:1:0:0::_122:false::1:234:45:1:0:0::_122:false::1:232:43:1:0:0::_122:false::1:230:41:1:0:0::_120:false::1:229:39:1:0:0::_120:false::1:231:37:1:0:0::_120:false::1:233:35:1:0:0::_120:false::1:257:67:1:0:0::_120:false::1:259:65:1:0:0::_120:false::1:261:63:1:0:0::_122:false::1:234:33:1:0:0::_122:false::1:232:31:1:0:0::_122:false::1:230:29:1:0:0::_122:false::1:228:27:1:0:0::_122:false::1:226:25:1:0:0::_122:false::1:224:23:1:0:0::_122:false::1:222:21:1:0:0::_122:false::1:220:19:1:0:0::_120:false::1:219:17:1:0:0::_120:false::1:221:15:1:0:0::_120:false::1:223:13:1:0:0::_120:false::1:225:11:1:0:0::_120:false::1:227:9:1:0:0::_120:false::1:229:7:1:0:0::_122:false::1:232:7:1:0:0::_122:false::1:234:9:1:0:0::_122:false::1:236:11:1:0:0::_122:false::1:238:13:1:0:0::_122:false::1:242:17:1:0:0::_122:false::1:246:21:1:0:0::_120:false::1:235:33:1:0:0::_120:false::1:237:31:1:0:0::_120:false::1:245:23:1:0:0::_122:false::1:264:63:1:0:0::_122:false::1:266:65:1:0:0::_122:false::1:268:67:1:0:0::_122:false::1:270:69:1:0:0::_122:false::1:272:71:1:0:0::_122:false::1:274:73:1:0:0::_122:false::1:276:75:1:0:0::_122:false::1:278:77:1:0:0::_120:false::1:279:77:1:0:0::_120:false::1:281:75:1:0:0::_120:false::1:283:73:1:0:0::_120:false::1:285:71:1:0:0::_120:false::1:289:67:1:0:0::_120:false::1:263:61:1:0:0::_120:false::1:265:59:1:0:0::_120:false::1:273:51:1:0:0::_120:false::1:275:49:1:0:0::_120:false::1:277:47:1:0:0::_120:false::1:279:45:1:0:0::_120:false::1:247:21:1:0:0::_120:false::1:249:19:1:0:0::_120:false::1:251:17:1:0:0::_120:false::1:243:25:1:0:0::_122:false::1:290:65:1:0:0::_122:false::1:288:63:1:0:0::_122:false::1:286:61:1:0:0::_122:false::1:284:59:1:0:0::_122:false::1:280:55:1:0:0::_122:false::1:276:51:1:0:0::_120:false::1:287:69:1:0:0::_122:false::1:254:17:1:0:0::_122:false::1:258:21:1:0:0::_122:false::1:262:25:1:0:0::_122:false::1:264:27:1:0:0::_122:false::1:270:33:1:0:0::_122:false::1:272:35:1:0:0::_122:false::1:276:39:1:0:0::_122:false::1:280:43:1:0:0::_120:false::1:271:53:1:0:0::_124:false::1:290:66:1:0:0::_125:false::1:217:18:1:0:0::_125:false::1:227:40:1:0:0::_124:false::1:280:44:1:0:0::_120:false::1:272:34:1:0:0::_120:false::1:263:25:1:0:0::_120:false::1:274:32:1:0:0::_120:false::1:276:30:1:0:0::_120:false::1:278:28:1:0:0::_120:false::1:265:23:1:0:0::_120:false::1:267:21:1:0:0::_120:false::1:269:19:1:0:0::_124:false::1:279:27:1:0:0::_128:false::1:273:21:1:0:0::_129:false::1:275:23:1:0:0::_185:false::1:216:16:-2:0:0::_187:false::1:220:24:-2:0:0::_185:false::1:224:24:-2:0:0::_185:false::1:228:28:-2:0:0::_185:false::1:227:39:-2:0:0::_180:false::1:216:7:-2:0:0::_182:false::1:220:6:-2:0:0::_183:false::1:233:7:-2:0:0::_183:false::1:240:14:-2:0:0::_182:false::1:244:14:-2:0:0::_181:false::1:256:14:-2:0:0::_180:false::1:260:15:-2:0:0::_182:false::1:264:14:-2:0:0::_183:false::1:252:15:-2:0:0::_181:false::1:272:15:-2:0:0::_183:false::1:269:15:-2:0:0::_183:false::1:272:34:-2:0:0::_184:false::1:272:26:-2:0:0::_186:false::1:275:45:-2:0:0::_187:false::1:278.5:38:-2:0:0::_187:false::1:278.5:41:-2:0:0::_183:false::1:276:38:-2:0:0::_181:false::1:284:56:-2:0:0::_183:false::1:281:55:-2:0:0::_184:false::1:284:64:-2:0:0::_184:false::1:276:72:-2:0:0::_186:false::1:280:72:-2:0:0::_187:false::1:268:72:-2:0:0::_187:false::1:260:64:-2:0:0::_185:false::1:264:64:-2:0:0::_185:false::1:272:72:-2:0:0::_186:false::1:256:64:-2:0:0::_186:false::1:252:68:-2:0:0::_187:false::1:250:66:-2:0:0::_187:false::1:248:64:-2:0:0::_186:false::1:244:64:-2:0:0::_186:false::1:236:72:-2:0:0::_184:false::1:232:72:-2:0:0::_184:false::1:240:64:-2:0:0::_164:false::1:272:47:2:0:0::_164:false::1:269:32:2:0:0::_165:false::1:278:41:2:0:0::_165:false::1:277:24:2:0:0::_164:false::1:260:23:2:0:0::_165:false::1:244:19:2:0:0::_164:false::1:216:15:2:0:0::_165:false::1:232:31:2:0:0::_164:false::1:226:37:2:0:0::_165:false::1:232:43:2:0:0::_164:false::1:216:59:2:0:0::_165:false::1:248:59:2:0:0::_164:false::1:260:59:2:0:0::_165:false::1:288:63:2:0:0::_138:false::1:236:31:1:0:0::_139:false::1:239:28:1:0:0::_138:false::1:264:59:1:0:0::_139:false::1:267:56:1:0:0::_140:false::1:268:32:1:0:0::_141:false::1:260:30:1:0:0::_140:false::1:244:56:1:0:0::_141:false::1:236:54:1:0:0::_33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:239:51:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:263:27:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:270:18:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:239:25:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:266:51:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:223:9:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:282:67:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:240:65:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:224:52:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:223:65:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._116:false::1:230:39:1:0:0::_116:false::1:232:41:1:0:0::_116:false::1:252:61:1:0:0::_116:false::1:250:59:1:0:0::_116:false::1:221:61:1:0:0::_116:false::1:231:71:1:0:0::_116:false::1:228:68:1:0:0::_116:false::1:224:64:1:0:0::_116:false::1:225:12:1:0:0::_116:false::1:221:16:1:0:0::_116:false::1:279:66:1:0:0::_116:false::1:275:70:1:0:0::_117:false::1,2,3,4,5:226:12:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:222:61:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:225:64:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:229:68:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:231:39:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:233:41:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:253:61:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:276:70:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:280:66:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:251:59:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:232:71:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:222:16:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:231:41:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:248:58:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:256:20:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:272:36:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._133:false::1:256:19:1:0:0::_133:false::1:260:23:1:0:0::_133:false::1:278:41:1:0:0::_133:false::1:274:37:1:0:0::_133:false::1:282:57:1:0:0::_133:false::1:278:53:1:0:0::_133:false::1:244:19:1:0:0::_133:false::1:240:15:1:0:0::_133:false::1:172:43:1:0:0::_133:false::1:168:39:1:0:0::_133:false::1:164:35:1:0:0::_133:false::1:138:9:1:0:0::_133:false::1:142:13:1:0:0::_133:false::1:146:17:1:0:0::_132:false::1:131:9:1:0:0::_132:false::1:127:13:1:0:0::_116:false::1:142:56:1:0:0::_116:false::1:140:54:1:0:0::_116:false::1:119:33:1:0:0::_116:false::1:121:35:1:0:0::_117:false::1,2,3,4,5:143:56:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:122:35:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:120:33:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:141:54:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_30:false::1,2,3,4:229:66:1:0:2:TESORO CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2';
zoneData = '1 SC: 3 SC: 19 SC: START SZ: 2 SC: 55 SC: 88 SC: TELEPORT 110/57 SZ: 2 SC: 110 SC: 57 SC: TELEPORT 55/88 SZ: 3 SC: 154 SC: 25 SC: TELEPORT 271/23 SZ: 3 SC: 271 SC: 23 SC: TELEPORT 154/25 SZ: 4 SC: 233 SC: 17 SC: NPC ReturnedVillain 2 SZ: 5 SC: 229 SC: 22 SC: NPC ReturnedVillain 2 SZ: 6 SC: 275 SC: 59 SC: NPC ReturnedVillain 2 SZ: 7 SC: 228 SC: 57 SC: NPC ReturnedVillain 2 SZ: 8 SC: 231 SC: 63 SC: NPC ReturnedVillain 2 SZ: 9 SC: 236 SC: 64 SC: NPC ReturnedVillain 2 SZ: 10 SC: 232 SC: 50 SC: NPC GiantSpider 2 SZ: 11 SC: 229 SC: 64 SC: NPC GiantSpider 2 SZ: 12 SC: 238 SC: 61 SC: NPC GiantSpider 2 SZ: 13 SC: 271 SC: 57 SC: NPC GiantSpider 2 SZ: 14 SC: 274 SC: 57 SC: NPC GiantSpider 2 SZ: 15 SC: 275 SC: 63 SC: NPC GiantSpider 2 SZ: 16 SC: 241 SC: 39 SC: NPC GiantSpider 2 SZ: 17 SC: 260 SC: 49 SC: NPC GiantSpider 2 SZ: 18 SC: 263 SC: 42 SC: NPC GiantSpider 2 SZ: 19 SC: 231 SC: 25 SC: NPC GiantSpider 2 SZ: 20 SC: 135 SC: 16 SC: NPC GiantSpider 2 SZ: 21 SC: 128 SC: 14 SC: NPC GiantSpider 2 SZ: 22 SC: 128 SC: 33 SC: NPC GiantSpider 2 SZ: 23 SC: 122 SC: 56 SC: NPC GiantSpider 2 SZ: 24 SC: 21 SC: 16 SC: NPC GiantSpider 2 SZ: 25 SC: 18 SC: 26 SC: NPC GiantSpider 2 SZ: 26 SC: 27 SC: 37 SC: NPC GiantSpider 2 SZ: 27 SC: 31 SC: 30 SC: NPC GiantSpider 2 SZ: 28 SC: 31 SC: 53 SC: NPC GiantSpider 2 SZ: 29 SC: 45 SC: 54 SC: NPC GiantSpider 2 SZ: 30 SC: 63 SC: 51 SC: NPC GiantSpider 2 SZ: 31 SC: 64 SC: 40 SC: NPC GiantSpider 2 SZ: 32 SC: 75 SC: 48 SC: NPC GiantSpider 2 SZ: 33 SC: 69 SC: 74 SC: NPC GiantSpider 2 SZ: 34 SC: 62 SC: 80 SC: NPC GiantSpider 2 SZ: 35 SC: 68 SC: 101 SC: NPC GiantSpider 2 SZ: 36 SC: 76 SC: 89 SC: NPC GiantSpider 2 SZ: 37 SC: 75 SC: 87 SC: NPC Damned 2 SZ: 38 SC: 69 SC: 90 SC: NPC Damned 2 SZ: 39 SC: 57 SC: 95 SC: NPC Damned 2 SZ: 40 SC: 63 SC: 74 SC: NPC Damned 2 SZ: 41 SC: 120 SC: 51 SC: NPC Damned 2 SZ: 42 SC: 113 SC: 58 SC: NPC Damned 2 SZ: 43 SC: 121 SC: 62 SC: NPC Damned 2 SZ: 44 SC: 144 SC: 43 SC: NPC Damned 2 SZ: 45 SC: 141 SC: 45 SC: NPC Damned 2 SZ: 46 SC: 138 SC: 34 SC: NPC Damned 2 SZ: 47 SC: 135 SC: 38 SC: NPC Damned 2 SZ: 48 SC: 158 SC: 38 SC: NPC Damned 2 SZ: 49 SC: 161 SC: 43 SC: NPC Damned 2 SZ: 50 SC: 160 SC: 49 SC: NPC Damned 2 SZ: 51 SC: 252 SC: 29 SC: NPC Damned 2 SZ: 52 SC: 246 SC: 31 SC: NPC Damned 2 SZ: 53 SC: 246 SC: 39 SC: NPC Damned 2 SZ: 54 SC: 253 SC: 42 SC: NPC Damned 2 SZ: 55 SC: 254 SC: 34 SC: NPC Damned 2 SZ: 56 SC: 270 SC: 55 SC: NPC Damned 2 SZ: 57 SC: 234 SC: 18 SC: NPC Damned 2';
limitData = '0:0:23:15_24:0:44:10_52:0:73:10';
}
function setMap101() {
terrainData = '2,2,2,125,124,148,146,121,125,124,120,121,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,125,147,127,126,2,122,123,127,126,122,123,120,121,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2;137,136,126,2,55,54,50,51,2,2,2,2,122,134,135,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2;137,141,2,67,66,56,52,53,50,51,2,2,2,140,135,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,155,154,150,151,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2;137,141,2,2,63,62,61,4,52,64,65,128,129,130,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,168,169,156,152,153,150,151,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,155,154,150,151,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2;2,133,132,131,2,2,63,62,59,60,2,140,135,2,2,2,1,1,1,1,155,154,170,151,1,1,1,1,1,1,163,162,161,3,152,153,170,151,1,1,1,1,1,1,1,1,1,1,1,155,154,157,156,152,153,150,151,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2;2,125,124,139,2,128,131,2,2,128,129,130,2,2,2,2,1,1,1,168,169,156,152,153,150,151,155,154,150,151,155,154,165,3,3,3,152,153,150,151,1,1,1,1,1,1,1,1,168,157,156,3,3,3,3,152,153,150,151,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2;124,127,126,128,129,130,133,132,129,130,2,2,2,2,2,2,1,1,1,1,163,162,161,3,152,153,157,156,152,153,157,156,3,3,3,158,161,3,152,167,166,1,1,1,1,1,1,1,1,163,162,161,3,3,3,3,3,152,153,150,151,1,1,1,1,2,2,2,2,2,2,2,2,2,2;126,128,129,130,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,163,162,161,3,3,158,161,3,3,3,3,158,159,160,163,162,159,160,1,1,1,1,1,1,1,1,1,1,1,163,162,161,3,3,3,3,3,152,153,150,151,1,1,2,2,2,2,2,2,2,2,2,2;129,130,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,163,162,159,160,163,162,161,3,3,164,150,151,1,1,1,1,1,1,1,155,154,170,151,1,1,1,1,155,154,165,3,3,3,3,3,3,3,152,167,166,1,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,163,162,161,3,152,167,166,1,1,1,1,1,168,169,156,152,153,150,151,155,154,157,156,3,3,3,158,161,3,3,158,159,160,1,1,2,2,2,2,2,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,155,154,165,158,159,160,1,1,1,1,1,1,1,163,162,161,3,152,153,157,156,3,3,3,158,159,160,163,162,159,160,1,1,1,1,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,155,154,157,156,3,164,166,1,1,1,1,1,1,1,1,1,1,163,162,161,3,3,3,3,158,159,160,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,155,154,170,151,155,154,157,156,3,158,159,160,1,1,1,1,1,1,1,1,1,1,1,1,1,163,162,159,162,159,160,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,155,154,157,156,152,153,157,156,3,158,159,160,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,168,169,156,3,3,3,3,3,158,159,160,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,168,165,3,3,3,3,3,3,164,150,151,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,163,162,161,3,3,3,3,3,152,153,150,151,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,163,162,161,3,3,3,3,3,152,167,166,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,163,162,161,3,3,158,159,160,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,163,162,159,160,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2';
waterData = '4';
objectData = '21:false::1:3:49:1:0:0::_21:false::1:6:6:1:0:0::_21:false::1:21:6:1:0:0::_21:false::1:38:9:1:0:0::_21:false::1:56:9:1:0:0::_21:false::1:62:3:1:0:0::_21:false::1:59:49:1:0:0::_21:false::1:55:68:1:0:0::_21:false::1:49:79:1:0:0::_21:false::1:41:64:1:0:0::_21:false::1:30:75:1:0:0::_21:false::1:12:81:1:0:0::_21:false::1:3:63:1:0:0::_21:false::1:22:41:1:0:0::_21:false::1:53:20:1:0:0::_20:false::1:3:14:1:0:0::_22:false::1:13:12:1:0:0::_22:false::1:13:33:1:0:0::_22:false::1:3:30:1:0:0::_22:false::1:46:56:1:0:0::_22:false::1:49:31:1:0:0::_23:false::1:56:33:1:0:0::_23:false::1:33:81:1:0:0::_23:false::1:16:67:1:0:0::_23:false::1:56:80:1:0:0::_33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:143:41:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:159:57:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:128:27:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:120:58:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:104:58:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:84:46:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:136:73:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:136:97:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:104:113:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:112:129:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:126:144:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:89:113:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:80:129:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:116:162:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:89:145:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:100:156:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:187:80:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:243:65:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:227:49:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:207:66:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:231:90:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:208:106:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:205:81:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._29:false::1,2,3,4:233:60:1:0:2:GOLD++ CLVL;GOLD++ CLVL;POTION 0;POTION 0:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:232:59:1:0:2:GOLD++ CLVL;GOLD++ CLVL;POTION 0;POTION 0:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:234:61:1:0:2:ANY+ CLVL;GOLD++ CLVL;ANY+ CLVL;RANDOM CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:235:62:1:0:2:ANY+ CLVL;GOLD++ CLVL;ANY+ CLVL;RANDOM CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2';
zoneData = '0 SC: 4 SC: 67 SC: START SZ: 1 SC: 98 SC: 110 SC: TELEPORT 182/78 SZ: 1 SC: 182 SC: 78 SC: TELEPORT 98/110 SZ: 2 SC: 9 SC: 13 SC: TELEPORT 90/46 SZ: 2 SC: 90 SC: 46 SC: TELEPORT 9/13 SZ: 3 SC: 146 SC: 46 SC: TELEPORT 26/5 SZ: 3 SC: 26 SC: 5 SC: TELEPORT 146/46 SZ: 4 SC: 100 SC: 125 SC: NPC ReturnedVillain 2 SZ: 5 SC: 106 SC: 134 SC: NPC ReturnedVillain 2 SZ: 6 SC: 218 SC: 62 SC: NPC ReturnedVillain 2 SZ: 7 SC: 218 SC: 70 SC: NPC ReturnedVillain 2 SZ: 8 SC: 224 SC: 73 SC: NPC ReturnedVillain 2 SZ: 9 SC: 225 SC: 67 SC: NPC ArmoredZombie 2 SZ: 10 SC: 217 SC: 70 SC: NPC ArmoredZombie 2 SZ: 11 SC: 211 SC: 64 SC: NPC ArmoredZombie 2 SZ: 12 SC: 109 SC: 127 SC: NPC ArmoredZombie 2 SZ: 13 SC: 121 SC: 65 SC: NPC ArmoredZombie 2 SZ: 14 SC: 121 SC: 70 SC: NPC ArmoredZombie 2 SZ: 15 SC: 131 SC: 57 SC: NPC SkeletonBow 2 SZ: 16 SC: 136 SC: 63 SC: NPC SkeletonBow 2 SZ: 17 SC: 132 SC: 68 SC: NPC SkeletonBow 2 SZ: 18 SC: 128 SC: 62 SC: NPC SkeletonBow 2 SZ: 19 SC: 111 SC: 61 SC: NPC SkeletonBow 2 SZ: 20 SC: 106 SC: 69 SC: NPC SkeletonBow 2 SZ: 21 SC: 101 SC: 71 SC: NPC SkeletonBow 2 SZ: 22 SC: 131 SC: 83 SC: NPC SkeletonBow 2 SZ: 23 SC: 135 SC: 67 SC: NPC SkeletonBow 2 SZ: 24 SC: 129 SC: 35 SC: NPC SkeletonBow 2 SZ: 25 SC: 126 SC: 39 SC: NPC SkeletonBow 2 SZ: 26 SC: 134 SC: 93 SC: NPC SkeletonBow 2 SZ: 27 SC: 130 SC: 96 SC: NPC SkeletonBow 2 SZ: 28 SC: 131 SC: 103 SC: NPC SkeletonBow 2 SZ: 29 SC: 120 SC: 107 SC: NPC SkeletonBow 2 SZ: 30 SC: 123 SC: 113 SC: NPC SkeletonBow 2 SZ: 31 SC: 116 SC: 116 SC: NPC SkeletonBow 2 SZ: 32 SC: 114 SC: 111 SC: NPC SkeletonBow 2 SZ: 33 SC: 107 SC: 124 SC: NPC SkeletonBow 2 SZ: 34 SC: 109 SC: 129 SC: NPC SkeletonBow 2 SZ: 35 SC: 97 SC: 121 SC: NPC SkeletonBow 2 SZ: 36 SC: 93 SC: 122 SC: NPC SkeletonBow 2 SZ: 37 SC: 94 SC: 128 SC: NPC SkeletonBow 2 SZ: 38 SC: 93 SC: 133 SC: NPC SkeletonBow 2 SZ: 39 SC: 99 SC: 134 SC: NPC SkeletonBow 2 SZ: 40 SC: 104 SC: 153 SC: NPC SkeletonBow 2 SZ: 41 SC: 110 SC: 153 SC: NPC SkeletonBow 2 SZ: 42 SC: 119 SC: 147 SC: NPC SkeletonBow 2 SZ: 43 SC: 118 SC: 155 SC: NPC SkeletonBow 2 SZ: 44 SC: 194 SC: 97 SC: NPC SkeletonBow 2 SZ: 45 SC: 195 SC: 103 SC: NPC SkeletonBow 2 SZ: 46 SC: 201 SC: 102 SC: NPC SkeletonBow 2 SZ: 47 SC: 201 SC: 96 SC: NPC SkeletonBow 2 SZ: 48 SC: 211 SC: 87 SC: NPC SkeletonBow 2 SZ: 49 SC: 215 SC: 91 SC: NPC SkeletonBow 2 SZ: 50 SC: 223 SC: 73 SC: NPC SkeletonBow 2 SZ: 51 SC: 226 SC: 78 SC: NPC SkeletonBow 2 SZ: 52 SC: 222 SC: 59 SC: NPC SkeletonBow 2 SZ: 53 SC: 216 SC: 53 SC: NPC SkeletonBow 2 SZ: 54 SC: 211 SC: 53 SC: NPC SkeletonBow 2 SZ: 55 SC: 212 SC: 44 SC: NPC SkeletonBow 2 SZ: 56 SC: 209 SC: 48 SC: NPC SkeletonBow 2 SZ: 57 SC: 232 SC: 70 SC: NPC SkeletonBow 2 SZ: 58 SC: 235 SC: 72 SC: NPC SkeletonBow 2 SZ: 59 SC: 234 SC: 81 SC: NPC SkeletonBow 2 SZ: 60 SC: 231 SC: 81 SC: NPC SkeletonBow 2 SZ: 61 SC: 243 SC: 78 SC: NPC SkeletonBow 2 SZ: 62 SC: 10 SC: 28 SC: NPC SkeletonBow 2 SZ: 63 SC: 8 SC: 34 SC: NPC SkeletonBow 2 SZ: 64 SC: 12 SC: 37 SC: NPC SkeletonBow 2 SZ: 65 SC: 29 SC: 51 SC: NPC SkeletonBow 2 SZ: 66 SC: 32 SC: 58 SC: NPC SkeletonBow 2 SZ: 67 SC: 45 SC: 40 SC: NPC SkeletonBow 2 SZ: 68 SC: 46 SC: 29 SC: NPC SkeletonBow 2 SZ: 69 SC: 43 SC: 27 SC: NPC SkeletonBow 2 SZ: 70 SC: 38 SC: 14 SC: NPC SkeletonBow 2 SZ: 71 SC: 35 SC: 18 SC: NPC SkeletonBow 2 SZ: 72 SC: 21 SC: 12 SC: NPC SkeletonBow 2 SZ: 73 SC: 37 SC: 21 SC: NPC Sicarius 2 SZ: 74 SC: 44 SC: 17 SC: NPC Sicarius 2 SZ: 75 SC: 44 SC: 24 SC: NPC Sicarius 2 SZ: 76 SC: 40 SC: 44 SC: NPC Sicarius 2 SZ: 77 SC: 38 SC: 48 SC: NPC Sicarius 2 SZ: 78 SC: 19 SC: 50 SC: NPC Sicarius 2 SZ: 79 SC: 9 SC: 32 SC: NPC Sicarius 2 SZ: 80 SC: 6 SC: 33 SC: NPC Sicarius 2 SZ: 81 SC: 11 SC: 21 SC: NPC Sicarius 2 SZ: 82 SC: 98 SC: 60 SC: NPC Sicarius 2 SZ: 83 SC: 96 SC: 65 SC: NPC Sicarius 2 SZ: 84 SC: 109 SC: 66 SC: NPC Sicarius 2 SZ: 85 SC: 121 SC: 69 SC: NPC Sicarius 2 SZ: 86 SC: 130 SC: 61 SC: NPC Sicarius 2 SZ: 87 SC: 127 SC: 39 SC: NPC Sicarius 2 SZ: 88 SC: 130 SC: 36 SC: NPC Sicarius 2 SZ: 89 SC: 132 SC: 70 SC: NPC Sicarius 2 SZ: 90 SC: 136 SC: 85 SC: NPC Sicarius 2 SZ: 91 SC: 133 SC: 87 SC: NPC Sicarius 2 SZ: 92 SC: 125 SC: 102 SC: NPC Sicarius 2 SZ: 93 SC: 127 SC: 106 SC: NPC Sicarius 2 SZ: 94 SC: 113 SC: 114 SC: NPC Sicarius 2 SZ: 95 SC: 111 SC: 122 SC: NPC Sicarius 2 SZ: 96 SC: 96 SC: 125 SC: NPC Sicarius 2 SZ: 97 SC: 92 SC: 128 SC: NPC Sicarius 2 SZ: 98 SC: 94 SC: 135 SC: NPC Sicarius 2 SZ: 99 SC: 100 SC: 148 SC: NPC Sicarius 2 SZ: 100 SC: 109 SC: 161 SC: NPC Sicarius 2 SZ: 101 SC: 114 SC: 158 SC: NPC Sicarius 2 SZ: 102 SC: 118 SC: 144 SC: NPC Sicarius 2 SZ: 103 SC: 196 SC: 104 SC: NPC Sicarius 2 SZ: 104 SC: 199 SC: 99 SC: NPC Sicarius 2 SZ: 105 SC: 208 SC: 95 SC: NPC Sicarius 2 SZ: 106 SC: 212 SC: 94 SC: NPC Sicarius 2 SZ: 107 SC: 221 SC: 83 SC: NPC Sicarius 2 SZ: 108 SC: 213 SC: 63 SC: NPC Sicarius 2 SZ: 109 SC: 216 SC: 58 SC: NPC Sicarius 2 SZ: 110 SC: 214 SC: 48 SC: NPC Sicarius 2 SZ: 111 SC: 235 SC: 69 SC: NPC Sicarius 2 SZ: 112 SC: 231 SC: 71 SC: NPC Sicarius 2 SZ: 113 SC: 231 SC: 78 SC: NPC Sicarius 2 SZ: 114 SC: 238 SC: 76 SC: NPC Sicarius 2';
limitData = '0:0:15:10_18:1:40:21_41:3:64:14';
}
function setMap102() {
terrainData = '2,2,2,125,124,127,126,2,63,62,61,4,4,52,53,50,51,2,2,122,123,120,121,2,2,2,1,1,1,1,9,9,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,125,124,127,126,2,2,2,128,131,63,62,61,4,4,52,53,50,51,2,2,122,123,120,121,2,1,1,9,9,9,9,9,9,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;124,127,126,2,2,2,128,129,130,133,132,131,63,62,61,4,4,52,53,50,51,2,2,122,123,120,1,1,9,9,9,9,9,9,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;126,2,2,2,128,129,130,2,2,2,2,133,132,131,63,62,61,4,4,52,64,65,2,2,2,122,1,1,1,1,9,9,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,128,129,130,2,2,2,2,2,2,2,142,139,55,54,69,4,58,59,60,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,140,135,2,2,2,2,2,2,2,2,55,54,57,56,58,59,60,2,2,2,2,2,2,2,1,1,1,1,155,154,150,151,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,138,143,2,2,2,2,2,2,55,54,57,56,58,59,60,2,2,2,2,2,2,2,2,2,1,1,155,171,157,156,152,153,150,151,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,67,66,56,4,4,68,50,51,2,2,142,120,121,2,2,2,2,1,168,169,156,3,3,3,3,152,167,166,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,63,62,61,4,4,52,53,50,51,2,122,123,144,2,2,2,1,1,163,162,161,3,3,158,159,160,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,137,143,2,2,63,62,61,4,4,52,53,50,51,2,2,2,2,2,1,1,1,1,163,162,161,164,150,151,155,154,150,151,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,133,132,131,2,2,63,62,61,4,4,52,53,50,51,2,2,2,1,1,1,1,155,154,165,3,152,153,157,156,152,153,170,151,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,125,124,139,2,2,55,54,69,4,4,4,4,52,64,65,2,2,1,1,1,168,169,156,3,3,3,3,3,3,3,3,152,167,166,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,142,127,126,2,55,54,57,56,4,4,4,4,58,59,60,2,2,2,1,1,1,1,163,162,161,3,3,3,3,3,3,158,159,160,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,125,124,143,2,2,55,54,57,56,4,4,4,4,58,59,60,2,2,2,2,2,1,1,1,1,1,1,163,162,161,3,3,158,159,160,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,125,124,127,126,2,55,54,57,56,4,58,59,113,62,59,60,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,163,162,159,160,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,145,127,126,2,55,54,57,56,4,58,59,60,2,2,2,2,2,2,2,2,2,128,129,130,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,55,54,57,56,4,58,59,60,2,2,2,2,2,2,2,2,2,2,2,140,135,2,1,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,55,54,57,56,4,58,59,60,2,2,2,125,124,143,2,2,2,2,2,128,129,130,2,2,1,2,2,2,1,1,155,171,150,151,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;55,54,57,56,4,58,59,60,2,2,2,125,124,127,126,2,2,2,2,128,129,130,2,2,2,2,1,2,2,2,1,168,169,156,152,153,150,151,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;57,56,4,58,59,60,2,2,2,125,124,127,126,2,2,2,2,128,129,130,2,2,2,2,2,2,1,2,2,2,1,1,163,162,161,3,152,153,150,151,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,1,1,1,1,163,162,161,3,152,167,166,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,163,162,159,160,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2';
waterData = '4';
objectData = '24:false::1:36:138:-2:0:0::_50:false::1:29:33:1:0:0::_58:false::1:36:33:-2:0:0::_56:false::1,2,3,4:36:34:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_21:false::1:21:157:1:0:0::_21:false::1:46:157:1:0:0::_21:false::1:78:156:1:0:0::_21:false::1:74:135:1:0:0::_21:false::1:96:117:1:0:0::_21:false::1:87:59:1:0:0::_21:false::1:101:25:1:0:0::_21:false::1:35:19:1:0:0::_21:false::1:11:5:1:0:0::_21:false::1:7:45:1:0:0::_21:false::1:13:89:1:0:0::_21:false::1:16:124:1:0:0::_21:false::1:4:139:1:0:0::_21:false::1:38:86:1:0:0::_20:false::1:17:13:1:0:0::_20:false::1:3:62:1:0:0::_20:false::1:3:112:1:0:0::_20:false::1:102:125:1:0:0::_20:false::1:99:5:1:0:0::_22:false::1:66:6:1:0:0::_22:false::1:89:2:1:0:0::_22:false::1:89:15:1:0:0::_22:false::1:71:45:1:0:0::_22:false::1:82:68:1:0:0::_22:false::1:89:99:1:0:0::_22:false::1:95:144:1:0:0::_22:false::1:21:116:1:0:0::_22:false::1:18:108:1:0:0::_23:false::1:14:75:1:0:0::_23:false::1:16:39:1:0:0::_22:false::1:45:33:1:0:0::_23:false::1:42:37:1:0:0::_22:false::1:19:47:1:0:0::_22:false::1:23:33:1:0:0::_23:false::1:37:53:1:0:0::_23:false::1:55:146:1:0:0::_23:false::1:44:131:1:0:0::_23:false::1:63:125:1:0:0::_23:false::1:97:80:1:0:0::_22:false::1:98:49:1:0:0::_23:false::1:96:37:1:0:0::_38:false::1:29:42:1:0:0::_180:false::1:112:8:-2:0:0::_182:false::1:116:8:-2:0:0::_180:false::1:120:0:-2:0:0::_181:false::1:124:0:-2:0:0::_183:false::1:128:8:-2:0:0::_181:false::1:132:8:-2:0:0::_187:false::1:112:16:-2:0:0::_187:false::1:120:24:-2:0:0::_185:false::1:116:16:-2:0:0::_186:false::1:124:24:-2:0:0::_186:false::1:132:16:-2:0:0::_184:false::1:128:16:-2:0:0::_101:false::1:114:14:-2:0:0::_101:false::1:116:12:-2:0:0::_101:false::1:118:10:-2:0:0::_101:false::1:120:8:-2:0:0::_101:false::1:122:6:-2:0:0::_101:false::1:124:4:-2:0:0::_100:false::1:115:13:-2:0:0::_100:false::1:117:11:-2:0:0::_100:false::1:119:9:-2:0:0::_100:false::1:121:7:-2:0:0::_100:false::1:123:5:-2:0:0::_100:false::1:125:3:-2:0:0::_102:false::1:126:3:-2:0:0::_102:false::1:128:5:-2:0:0::_102:false::1:130:7:-2:0:0::_102:false::1:132:9:-2:0:0::_102:false::1:134:11:-2:0:0::_102:false::1:136:13:-2:0:0::_103:false::1:137:14:-2:0:0::_103:false::1:135:12:-2:0:0::_103:false::1:133:10:-2:0:0::_103:false::1:131:8:-2:0:0::_103:false::1:129:6:-2:0:0::_103:false::1:127:4:-2:0:0::_106:false::1:112:16:2:0:0::_107:false::1:115:19:2:0:0::_106:false::1:116:20:2:0:0::_107:false::1:119:23:2:0:0::_106:false::1:120:24:2:0:0::_107:false::1:123:27:2:0:0::_105:false::1:124:27:2:0:0::_104:false::1:127:24:2:0:0::_105:false::1:128:23:2:0:0::_104:false::1:131:20:2:0:0::_104:false::1:135:16:2:0:0::_105:false::1:132:19:2:0:0::_108:false::1:126:25:2:0:0::_81:false::1:124:5:1:0:0::_82:false::1:117:10:-2:0:0::_84:false::1:126:9:1:0:0::_91:false::1:124:7:1:0:0::_91:false::1:123:7:1:0:0::_91:false::1:122:7:1:0:0::_91:false::1:125:8:1:0:0::_93:false::1:117:8:1:0:0::_111:false::1:118:21:2:0:0::_111:false::1:130:9:-2:0:0::_90:false::1:125:10:1:0:0::_89:false::1:128:11:1:0:0::_94:false::1:130:13:1:0:0::_91:false::1:118:23:1:0:0::_91:false::1:119:24:1:0:0::_91:false::1:119:22:1:0:0::_177:false::1:135:141:0:0:0::_177:false::1:141:147:0:0:0::_177:false::1:126:150:0:0:0::_177:false::1:152:158:0:0:0::_177:false::1:161:167:0:0:0::_177:false::1:170:94:0:0:0::_177:false::1:165:89:0:0:0::_177:false::1:161:86:0:0:0::_177:false::1:150:77:0:0:0::_177:false::1:138:80:0:0:0::_177:false::1:145:62:0:0:0::_177:false::1:132:49:0:0:0::_177:false::1:109:62:0:0:0::_178:false::1:128:44:0:0:0::_178:false::1:129:47:0:0:0::_178:false::1:114:58:0:0:0::_178:false::1:138:55:0:0:0::_178:false::1:150:80:0:0:0::_178:false::1:163:86:0:0:0::_178:false::1:152:156:0:0:0::_178:false::1:134:143:0:0:0::_176:false::1:145:152:0:0:0::_176:false::1:152:159:0:0:0::_176:false::1:163:90:0:0:0::_176:false::1:124:50:0:0:0::_176:false::1:138:57:0:0:0::_176:false::1:157:164:0:0:0::_176:false::1:116:57:0:0:0::_176:false::1:132:145:0:0:0::_83:false::1:125:52:1:0:0::_83:false::1:127:54:1:0:0::_90:false::1:124:51:1:0:0::_90:false::1:126:50:1:0:0::_93:false::1:124:48:1:0:0::_94:false::1:128:50:1:0:0::_94:false::1:131:53:1:0:0::_95:false::1:121:51:1:0:0::_95:false::1:111:61:1:0:0::_98:false::1:123:93:1:0:0::_91:false::1:122:91:1:0:0::_91:false::1:119:94:1:0:0::_91:false::1:122:93:1:0:0::_91:false::1:139:61:1:0:0::_91:false::1:140:62:1:0:0::_91:false::1:139:63:1:0:0::_91:false::1:149:79:1:0:0::_91:false::1:150:80:1:0:0::_91:false::1:149:80:1:0:0::_91:false::1:148:81:1:0:0::_96:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:129.5:52:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._89:false::1:129:53:1:0:0::_89:false::1:138:61:1:0:0::_32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:144:81:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:121:49:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:140:66:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:123:74:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:123:98:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:139:114:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:164:98:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:158:80:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20.';
zoneData = '0 SC: 81 SC: 10 SC: START SZ: 1 SC: 162 SC: 86 SC: TELEPORT 133/142 SZ: 1 SC: 133 SC: 142 SC: TELEPORT 162/86 SZ: 2 SC: 118 SC: 13 SC: TELEPORT 117/54 SZ: 2 SC: 117 SC: 54 SC: TELEPORT 118/13 SZ: 3 SC: 36 SC: 35 SC: TELEPORT 126/24 SZ: 3 SC: 126 SC: 24 SC: TELEPORT 36/35 SZ: 4 SC: 31 SC: 102 SC: NPC Tarantula 2 SZ: 5 SC: 86 SC: 37 SC: NPC GiantSpider 2 SZ: 6 SC: 90 SC: 43 SC: NPC GiantSpider 2 SZ: 7 SC: 70 SC: 55 SC: NPC GiantSpider 2 SZ: 8 SC: 73 SC: 61 SC: NPC GiantSpider 2 SZ: 9 SC: 82 SC: 70 SC: NPC GiantSpider 2 SZ: 10 SC: 91 SC: 72 SC: NPC GiantSpider 2 SZ: 11 SC: 102 SC: 83 SC: NPC GiantSpider 2 SZ: 12 SC: 98 SC: 90 SC: NPC GiantSpider 2 SZ: 13 SC: 92 SC: 117 SC: NPC GiantSpider 2 SZ: 14 SC: 84 SC: 112 SC: NPC GiantSpider 2 SZ: 15 SC: 77 SC: 120 SC: NPC GiantSpider 2 SZ: 16 SC: 82 SC: 131 SC: NPC GiantSpider 2 SZ: 17 SC: 80 SC: 140 SC: NPC GiantSpider 2 SZ: 18 SC: 70 SC: 137 SC: NPC GiantSpider 2 SZ: 19 SC: 62 SC: 145 SC: NPC GiantSpider 2 SZ: 20 SC: 60 SC: 126 SC: NPC GiantSpider 2 SZ: 21 SC: 57 SC: 124 SC: NPC GiantSpider 2 SZ: 22 SC: 48 SC: 132 SC: NPC GiantSpider 2 SZ: 23 SC: 40 SC: 140 SC: NPC GiantSpider 2 SZ: 24 SC: 22 SC: 120 SC: NPC GiantSpider 2 SZ: 25 SC: 18 SC: 125 SC: NPC GiantSpider 2 SZ: 26 SC: 11 SC: 130 SC: NPC GiantSpider 2 SZ: 27 SC: 5 SC: 116 SC: NPC GiantSpider 2 SZ: 28 SC: 8 SC: 109 SC: NPC GiantSpider 2 SZ: 29 SC: 16 SC: 102 SC: NPC GiantSpider 2 SZ: 30 SC: 12 SC: 98 SC: NPC GiantSpider 2 SZ: 31 SC: 4 SC: 90 SC: NPC GiantSpider 2 SZ: 32 SC: 22 SC: 92 SC: NPC GiantSpider 2 SZ: 33 SC: 31 SC: 92 SC: NPC GiantSpider 2 SZ: 34 SC: 40 SC: 103 SC: NPC GiantSpider 2 SZ: 35 SC: 44 SC: 100 SC: NPC GiantSpider 2 SZ: 36 SC: 52 SC: 91 SC: NPC GiantSpider 2 SZ: 37 SC: 50 SC: 79 SC: NPC GiantSpider 2 SZ: 38 SC: 37 SC: 65 SC: NPC GiantSpider 2 SZ: 39 SC: 27 SC: 66 SC: NPC GiantSpider 2 SZ: 40 SC: 16 SC: 87 SC: NPC GiantSpider 2 SZ: 41 SC: 5 SC: 70 SC: NPC GiantSpider 2 SZ: 42 SC: 7 SC: 56 SC: NPC GiantSpider 2 SZ: 43 SC: 1 SC: 37 SC: NPC GiantSpider 2 SZ: 44 SC: 9 SC: 25 SC: NPC GiantSpider 2 SZ: 45 SC: 11 SC: 28 SC: NPC GiantSpider 2 SZ: 46 SC: 19 SC: 26 SC: NPC GiantSpider 2 SZ: 47 SC: 17 SC: 18 SC: NPC GiantSpider 2 SZ: 48 SC: 23 SC: 9 SC: NPC GiantSpider 2 SZ: 49 SC: 25 SC: 15 SC: NPC GiantSpider 2 SZ: 50 SC: 29 SC: 3 SC: NPC GiantSpider 2 SZ: 51 SC: 42 SC: 14 SC: NPC GiantSpider 2 SZ: 52 SC: 41 SC: 17 SC: NPC GiantSpider 2 SZ: 53 SC: 46 SC: 19 SC: NPC GiantSpider 2 SZ: 54 SC: 55 SC: 30 SC: NPC GiantSpider 2 SZ: 55 SC: 94 SC: 21 SC: NPC Sicarius 2 SZ: 56 SC: 87 SC: 34 SC: NPC Sicarius 2 SZ: 57 SC: 93 SC: 37 SC: NPC Sicarius 2 SZ: 58 SC: 94 SC: 59 SC: NPC Sicarius 2 SZ: 59 SC: 74 SC: 55 SC: NPC Sicarius 2 SZ: 60 SC: 66 SC: 54 SC: NPC Sicarius 2 SZ: 61 SC: 90 SC: 78 SC: NPC Sicarius 2 SZ: 62 SC: 96 SC: 79 SC: NPC Sicarius 2 SZ: 63 SC: 89 SC: 105 SC: NPC Sicarius 2 SZ: 64 SC: 81 SC: 115 SC: NPC Sicarius 2 SZ: 65 SC: 87 SC: 126 SC: NPC Sicarius 2 SZ: 66 SC: 82 SC: 138 SC: NPC Sicarius 2 SZ: 67 SC: 68 SC: 132 SC: NPC Sicarius 2 SZ: 68 SC: 60 SC: 122 SC: NPC Sicarius 2 SZ: 69 SC: 62 SC: 133 SC: NPC Sicarius 2 SZ: 70 SC: 59 SC: 153 SC: NPC Sicarius 2 SZ: 71 SC: 38 SC: 145 SC: NPC Sicarius 2 SZ: 72 SC: 30 SC: 147 SC: NPC Sicarius 2 SZ: 73 SC: 27 SC: 115 SC: NPC Sicarius 2 SZ: 74 SC: 14 SC: 130 SC: NPC Sicarius 2 SZ: 75 SC: 7 SC: 136 SC: NPC Sicarius 2 SZ: 76 SC: 5 SC: 114 SC: NPC Sicarius 2 SZ: 77 SC: 9 SC: 111 SC: NPC Sicarius 2 SZ: 78 SC: 8 SC: 97 SC: NPC Sicarius 2 SZ: 79 SC: 3 SC: 85 SC: NPC Sicarius 2 SZ: 80 SC: 27 SC: 95 SC: NPC Sicarius 2 SZ: 81 SC: 23 SC: 78 SC: NPC Sicarius 2 SZ: 82 SC: 40 SC: 104 SC: NPC Sicarius 2 SZ: 83 SC: 45 SC: 98 SC: NPC Sicarius 2 SZ: 84 SC: 53 SC: 87 SC: NPC Sicarius 2 SZ: 85 SC: 38 SC: 68 SC: NPC Sicarius 2 SZ: 86 SC: 24 SC: 55 SC: NPC Sicarius 2 SZ: 87 SC: 6 SC: 23 SC: NPC Sicarius 2 SZ: 88 SC: 10 SC: 27 SC: NPC Sicarius 2 SZ: 89 SC: 20 SC: 10 SC: NPC Sicarius 2 SZ: 90 SC: 30 SC: 7 SC: NPC Sicarius 2 SZ: 91 SC: 46 SC: 17 SC: NPC Sicarius 2';
limitData = '0:0:25:19_26:0:34:3_26:4:43:15_30:16:41:22';
if (quesInv[8] != 1) {
objectData += '_28:false::1,2,3,4:117:13:1:0:0:POTION 0;POTION 0;POTION 0;POTION 0;POTION 0;POTION 0;POTION 0;POTION 0;POTION 0;POTION 0:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_28:false::1,2,3,4:116:14:1:0:0:POTION 3;POTION 3;POTION 3;POTION 3;POTION 3;POTION 3;POTION 3;POTION 3;POTION 3;POTION 3:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:137:55:1:0:0:POTION 3;POTION 3;POTION 3;POTION 3;POTION 3;POTION 3;POTION 3;POTION 3;POTION 3;POTION 3:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:139:57:1:0:0:POTION 3;POTION 3;POTION 3;POTION 3;POTION 3;POTION 3;POTION 3;POTION 3;POTION 3;POTION 3:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:141:59:1:0:0:POTION 3;POTION 3;POTION 3;POTION 3;POTION 3;POTION 3;POTION 3;POTION 3;POTION 3;POTION 3:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:140:58:1:0:0:POTION 0;POTION 0;POTION 0;POTION 0;POTION 0;POTION 0;POTION 0;POTION 0;POTION 0;POTION 0:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:138:56:1:0:0:POTION 0;POTION 0;POTION 0;POTION 0;POTION 0;POTION 0;POTION 0;POTION 0;POTION 0;POTION 0:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_31:false::1,2,3,4:167:93:1:0:0:GOLD+ CLVL;GOLD+ CLVL;GOLD CLVL;GOLD CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_31:false::1,2,3,4:166:92:1:0:0:GOLD+ CLVL;GOLD+ CLVL;GOLD CLVL;GOLD CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_31:false::1,2,3,4:165:91:1:0:0:GOLD+ CLVL;GOLD+ CLVL;GOLD CLVL;GOLD CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_31:false::1,2,3,4:168:94:1:0:0:RELIC CLVL;RELIC CLVL;GOLD+ CLVL;GOLD+ CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2';
zoneData += ' SZ: 92 SC: 145 SC: 163 SC: NPC Tarantula 2 SZ: 93 SC: 148 SC: 159 SC: NPC Tarantula 2 SZ: 94 SC: 149 SC: 88 SC: NPC Tarantula 2 SZ: 95 SC: 150 SC: 99 SC: NPC Tarantula 2 SZ: 96 SC: 156 SC: 88 SC: NPC GiantSpider 2 SZ: 97 SC: 156 SC: 96 SC: NPC GiantSpider 2 SZ: 98 SC: 159 SC: 95 SC: NPC GiantSpider 2 SZ: 99 SC: 147 SC: 87 SC: NPC GiantSpider 2 SZ: 100 SC: 143 SC: 96 SC: NPC GiantSpider 2 SZ: 101 SC: 138 SC: 107 SC: NPC GiantSpider 2 SZ: 102 SC: 130 SC: 97 SC: NPC GiantSpider 2 SZ: 103 SC: 135 SC: 85 SC: NPC GiantSpider 2 SZ: 104 SC: 132 SC: 79 SC: NPC GiantSpider 2 SZ: 105 SC: 133 SC: 61 SC: NPC GiantSpider 2 SZ: 106 SC: 135 SC: 66 SC: NPC GiantSpider 2 SZ: 107 SC: 129 SC: 67 SC: NPC GiantSpider 2 SZ: 108 SC: 127 SC: 61 SC: NPC GiantSpider 2 SZ: 109 SC: 119 SC: 66 SC: NPC GiantSpider 2 SZ: 110 SC: 123 SC: 61 SC: NPC GiantSpider 2 SZ: 111 SC: 143 SC: 153 SC: NPC GiantSpider 2 SZ: 112 SC: 139 SC: 156 SC: NPC GiantSpider 2 SZ: 113 SC: 152 SC: 166 SC: NPC GiantSpider 2 SZ: 114 SC: 154 SC: 163 SC: NPC Sicarius 2 SZ: 115 SC: 146 SC: 166 SC: NPC Sicarius 2 SZ: 116 SC: 141 SC: 151 SC: NPC Sicarius 2 SZ: 117 SC: 135 SC: 154 SC: NPC Sicarius 2 SZ: 118 SC: 153 SC: 83 SC: NPC Sicarius 2 SZ: 119 SC: 147 SC: 90 SC: NPC Sicarius 2 SZ: 120 SC: 146 SC: 109 SC: NPC Sicarius 2 SZ: 121 SC: 136 SC: 104 SC: NPC Sicarius 2 SZ: 122 SC: 132 SC: 86 SC: NPC Sicarius 2 SZ: 123 SC: 127 SC: 91 SC: NPC Sicarius 2 SZ: 124 SC: 134 SC: 66 SC: NPC Sicarius 2 SZ: 125 SC: 124 SC: 70 SC: NPC Sicarius 2';
} else {
objectData += '_28:false::1,2,3,4:117:13:1:0:0::..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_28:false::1,2,3,4:116:14:1:0:0::..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:137:55:1:0:0::..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:139:57:1:0:0::..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:141:59:1:0:0::..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:140:58:1:0:0::..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:138:56:1:0:0::..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_31:false::1,2,3,4:167:93:1:0:0::..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_31:false::1,2,3,4:166:92:1:0:0::..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_31:false::1,2,3,4:165:91:1:0:0::..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_31:false::1,2,3,4:168:94:1:0:0::..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2';
zoneData += ' SZ: 92 SC: 123 SC: 17 SC: NPC Reginald 0';
}
}
function setMap103() {
terrainData = '2,125,147,127,126,2,2,2,2,63,62,61,4,4,4,52,53,50,51,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,1,1,1,1;124,127,126,2,2,2,2,2,2,2,2,63,62,61,4,4,4,52,64,65,1,1,1,155,171,150,151,1,1,1,1,1,1,1,1,3,1,1,1,1;126,2,2,2,2,125,124,143,2,2,2,55,54,69,4,4,58,59,60,2,1,1,168,169,156,152,153,150,151,155,154,150,151,1,1,3,1,1,1,1;2,2,2,2,137,136,126,2,2,55,54,57,56,4,58,59,60,2,2,2,1,1,1,163,162,161,3,152,153,157,156,152,167,166,1,3,3,3,3,3;2,2,2,2,2,133,132,131,67,66,56,4,58,59,60,2,2,2,2,2,1,1,1,1,168,165,3,3,3,3,158,159,160,1,1,3,3,3,3,3;2,2,142,120,121,125,124,139,2,63,62,61,68,50,51,2,2,2,2,2,1,1,1,155,171,165,3,3,158,159,160,1,1,1,1,3,3,3,3,3;2,2,2,122,123,127,126,2,2,2,67,111,4,52,64,65,2,2,2,2,1,1,168,169,156,3,3,3,164,150,151,1,1,1,1,3,3,3,3,3;147,143,2,2,2,55,54,50,51,2,2,63,62,61,68,50,51,2,2,2,1,1,1,163,162,161,3,3,3,152,167,166,1,1,1,1,1,1,1,1;126,2,2,55,54,57,56,52,53,50,51,55,54,69,4,52,64,65,2,2,1,1,1,1,1,163,162,159,162,159,160,1,1,1,1,1,1,1,1,1;2,2,67,66,56,4,4,4,4,52,53,57,56,4,58,59,60,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,55,54,69,4,4,4,4,4,4,4,4,58,59,60,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;54,57,56,4,4,4,4,4,58,61,4,4,110,65,2,2,2,2,2,2,1,1,155,171,150,151,1,1,1,3,3,1,1,1,1,1,1,1,1,1;56,4,4,4,4,4,58,59,60,63,62,61,68,50,51,2,2,2,2,2,1,168,169,156,152,167,166,1,1,3,3,1,1,1,1,1,1,1,1,1;4,4,4,4,58,59,60,125,147,144,67,111,4,52,53,50,51,2,2,2,1,1,163,162,159,160,1,1,1,1,1,1,1,1,1,1,1,1,1,1;4,4,58,59,60,2,145,127,126,2,2,63,62,61,4,52,53,50,51,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;4,4,68,50,51,2,2,2,2,2,2,2,2,63,62,61,4,52,53,50,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;4,4,4,52,64,65,2,142,144,2,2,2,2,2,2,63,62,61,4,52,1,3,3,3,3,3,3,3,1,1,1,1,1,1,1,1,1,1,1,1;4,4,4,4,68,50,51,2,2,2,2,2,2,2,2,2,2,63,62,61,1,3,3,3,3,3,3,3,1,1,1,1,1,1,1,1,1,1,1,1;4,4,4,4,4,52,53,50,51,2,2,137,143,2,2,2,2,2,2,63,1,3,3,3,3,3,3,3,1,1,1,1,1,1,1,1,1,1,1,1;4,4,4,4,4,4,4,52,53,50,51,2,133,132,131,2,2,2,2,2,1,3,3,3,3,3,3,3,1,1,1,1,1,1,1,1,1,1,1,1';
waterData = '4';
objectData = '25:false::1:47:114:-2:0:0::_24:false::1:55:36:-2:0:0::_23:false::1:45:159:1:0:0::_20:false::1:5:4:1:0:0::_20:false::1:7:28:1:0:0::_20:false::1:17:51:1:0:0::_20:false::1:10:78:1:0:0::_20:false::1:30:3:1:0:0::_20:false::1:50:62:1:0:0::_20:false::1:77:4:1:0:0::_20:false::1:81:11:1:0:0::_20:false::1:72:35:1:0:0::_20:false::1:61:85:1:0:0::_20:false::1:41:103:1:0:0::_21:false::1:18:119:1:0:0::_21:false::1:56:127:1:0:0::_21:false::1:75:101:1:0:0::_21:false::1:63:53:1:0:0::_21:false::1:76:22:1:0:0::_21:false::1:40:10:1:0:0::_21:false::1:38:48:1:0:0::_22:false::1:1:86:1:0:0::_22:false::1:0:16:1:0:0::_22:false::1:1:36:1:0:0::_22:false::1:23:9:1:0:0::_22:false::1:44:13:1:0:0::_22:false::1:63:29:1:0:0::_22:false::1:19:126:1:0:0::_23:false::1:42:140:1:0:0::_23:false::1:22:132:1:0:0::_23:false::1:64:76:1:0:0::_23:false::1:21:39:1:0:0::_33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:101:94:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:122:55:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:130:23:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:107:17:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:95:26:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:95:58:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:103:66:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._29:false::1,2,3,4:102:99:1:0:2:ANY CLVL;ANY CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:100:97:1:0:2:GOLD+ CLVL;GOLD+ CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_31:false::1,2,3,4:128:26:1:0:2:RELIC CLVL;ANY CLVL;GOLD+ CLVL;GOLD+ CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2';
zoneData = '0 SC: 64 SC: 151 SC: START SZ: 1 SC: 33 SC: 109 SC: TELEPORT 93/94 SZ: 1 SC: 93 SC: 94 SC: TELEPORT 33/109 SZ: 2 SC: 97 SC: 46 SC: TELEPORT 1/61 SZ: 2 SC: 1 SC: 61 SC: TELEPORT 97/46 SZ: 3 SC: 9 SC: 5 SC: TELEPORT 97/14 SZ: 3 SC: 97 SC: 14 SC: TELEPORT 9/5 SZ: 4 SC: 123 SC: 30 SC: NPC Villain 2 SZ: 5 SC: 124 SC: 35 SC: NPC FemaleBanditChief 2 SZ: 6 SC: 119 SC: 29 SC: NPC FemaleBanditChief 2 SZ: 7 SC: 96 SC: 102 SC: NPC FemaleBanditChief 2 SZ: 8 SC: 37 SC: 16 SC: NPC FemaleBanditChief 2 SZ: 9 SC: 40 SC: 115 SC: NPC CorruptedPriest 2 SZ: 10 SC: 36 SC: 117 SC: NPC CorruptedPriest 2 SZ: 11 SC: 38 SC: 121 SC: NPC CorruptedPriest 2 SZ: 12 SC: 66 SC: 97 SC: NPC CorruptedPriest 2 SZ: 13 SC: 63 SC: 86 SC: NPC CorruptedPriest 2 SZ: 14 SC: 75 SC: 51 SC: NPC CorruptedPriest 2 SZ: 15 SC: 72 SC: 52 SC: NPC CorruptedPriest 2 SZ: 16 SC: 38 SC: 22 SC: NPC CorruptedPriest 2 SZ: 17 SC: 40 SC: 22 SC: NPC CorruptedPriest 2 SZ: 18 SC: 43 SC: 13 SC: NPC CorruptedPriest 2 SZ: 19 SC: 30 SC: 50 SC: NPC CorruptedPriest 2 SZ: 20 SC: 14 SC: 60 SC: NPC CorruptedPriest 2 SZ: 21 SC: 7 SC: 57 SC: NPC CorruptedPriest 2 SZ: 22 SC: 9 SC: 33 SC: NPC CorruptedPriest 2 SZ: 23 SC: 16 SC: 18 SC: NPC CorruptedPriest 2 SZ: 24 SC: 20 SC: 8 SC: NPC CorruptedPriest 2 SZ: 25 SC: 101 SC: 21 SC: NPC CorruptedPriest 2 SZ: 26 SC: 102 SC: 31 SC: NPC CorruptedPriest 2 SZ: 27 SC: 112 SC: 45 SC: NPC CorruptedPriest 2 SZ: 28 SC: 116 SC: 64 SC: NPC CorruptedPriest 2 SZ: 29 SC: 106 SC: 63 SC: NPC CorruptedPriest 2 SZ: 30 SC: 91 SC: 102 SC: NPC CorruptedPriest 2 SZ: 31 SC: 96 SC: 107 SC: NPC Bandit 2 SZ: 32 SC: 96 SC: 97 SC: NPC Bandit 2 SZ: 33 SC: 99 SC: 55 SC: NPC Bandit 2 SZ: 34 SC: 103 SC: 57 SC: NPC Bandit 2 SZ: 35 SC: 104 SC: 49 SC: NPC Bandit 2 SZ: 36 SC: 118 SC: 62 SC: NPC Bandit 2 SZ: 37 SC: 112 SC: 64 SC: NPC Bandit 2 SZ: 38 SC: 117 SC: 38 SC: NPC Bandit 2 SZ: 39 SC: 117 SC: 31 SC: NPC Bandit 2 SZ: 40 SC: 106 SC: 26 SC: NPC Bandit 2 SZ: 41 SC: 101 SC: 25 SC: NPC Bandit 2 SZ: 42 SC: 101 SC: 19 SC: NPC Bandit 2 SZ: 43 SC: 97 SC: 23 SC: NPC Bandit 2 SZ: 44 SC: 14 SC: 9 SC: NPC Bandit 2 SZ: 45 SC: 13 SC: 15 SC: NPC Bandit 2 SZ: 46 SC: 19 SC: 16 SC: NPC Bandit 2 SZ: 47 SC: 9 SC: 50 SC: NPC Bandit 2 SZ: 48 SC: 7 SC: 55 SC: NPC Bandit 2 SZ: 49 SC: 30 SC: 51 SC: NPC Bandit 2 SZ: 50 SC: 40 SC: 56 SC: NPC Bandit 2 SZ: 51 SC: 45 SC: 66 SC: NPC Bandit 2 SZ: 52 SC: 46 SC: 16 SC: NPC Bandit 2 SZ: 53 SC: 71 SC: 45 SC: NPC Bandit 2 SZ: 54 SC: 68 SC: 38 SC: NPC Bandit 2 SZ: 55 SC: 68 SC: 60 SC: NPC Bandit 2 SZ: 56 SC: 71 SC: 83 SC: NPC Bandit 2 SZ: 57 SC: 64 SC: 84 SC: NPC Bandit 2 SZ: 58 SC: 68 SC: 102 SC: NPC Bandit 2 SZ: 59 SC: 63 SC: 96 SC: NPC Bandit 2 SZ: 60 SC: 46 SC: 119 SC: NPC Bandit 2 SZ: 61 SC: 37 SC: 121 SC: NPC Bandit 2 SZ: 62 SC: 30 SC: 122 SC: NPC Bandit 2 SZ: 63 SC: 32 SC: 142 SC: NPC Bandit 2';
limitData = '0:0:19:19_21:0:34:9_20:10:27:14';
}
function setMap104() {
terrainData = '2,2,133,132,131,2,2,2,63,62,61,4,52,53,50,51,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2;2,2,2,2,133,132,131,2,2,2,63,62,61,4,52,53,50,51,2,2,2,2,2,2,2,2,1,1,1,1,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2;2,2,125,124,120,121,133,132,131,2,2,2,63,62,61,4,52,53,50,51,2,2,2,2,55,54,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,2,2,2;125,124,127,126,122,123,120,121,133,132,131,2,2,2,63,62,61,4,52,53,50,51,55,54,57,56,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,2,2,2;127,126,2,2,2,2,122,123,120,121,133,132,131,2,2,2,63,62,61,4,52,53,57,56,4,4,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,2,2,2;2,2,2,128,131,2,2,2,122,123,120,121,133,132,131,2,2,2,63,62,61,4,4,4,4,4,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,2,2,2;2,128,129,130,133,132,131,2,2,2,122,134,135,2,133,132,131,2,2,2,63,62,61,4,4,4,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,2,2,2;129,130,2,2,125,124,139,2,2,128,129,130,2,2,125,124,139,2,2,2,2,2,63,62,61,4,1,1,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,1,1,1,1,2,2,2;2,2,2,137,136,126,2,128,129,130,2,2,125,124,127,126,128,131,2,2,2,2,2,67,111,4,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,10,10,10,10,10,10,10,10,10,10,1,1,2,2,2;2,2,2,2,133,132,131,138,120,121,125,124,127,126,128,129,130,133,132,131,2,2,2,2,63,62,1,1,1,1,1,1,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,1,1,2,2,2;2,2,2,2,2,2,133,132,122,123,127,126,2,2,138,120,121,2,2,133,132,131,2,2,128,131,1,1,1,1,1,1,1,1,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,1,2,2,2;2,2,2,2,2,2,2,2,133,132,129,149,132,131,2,122,123,120,121,2,2,133,132,129,130,133,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,1,2,2,2;2,2,2,2,2,2,2,2,2,2,2,125,124,139,2,2,2,122,134,135,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2;2,2,2,2,2,2,2,2,2,125,124,127,126,2,2,2,128,129,130,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2;2,2,2,2,2,2,2,2,137,136,126,2,2,2,128,129,130,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,133,132,131,128,129,130,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,133,130,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,10,10,10,10,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2';
waterData = '4';
objectData = '25:false::1:67:34:-2:0:0::_70:false::1:86:10:1:0:0::_71:false::1,2,3,4,5:87:10:1:0:4::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4,4,5.SELECT 5,FREE 0/0 - 5.SELECT 1.PLAY.4,4,3,3,2,2,1.SELECT 4,NOFREE 0/0_72:false::1:87:10:-2:0:0::_69:false::1:85:10:1:0:0::_68:false::1:83:13:1:0:0::_187:false::1:120:16:-2:0:0::_185:false::1:124:16:-2:0:0::_187:false::1:128:24:-2:0:0::_185:false::1:132:24:-2:0:0::_182:false::1:132:32:-2:0:0::_180:false::1:128:32:-2:0:0::_182:false::1:124:40:-2:0:0::_180:false::1:120:40:-2:0:0::_122:false::1:126:17:1:0:0::_122:false::1:128:19:1:0:0::_122:false::1:130:21:1:0:0::_122:false::1:132:23:1:0:0::_122:false::1:136:27:1:0:0::_122:false::1:138:29:1:0:0::_124:false::1:138:30:1:0:0::_120:false::1:136:32:1:0:0::_120:false::1:132:36:1:0:0::_182:false::1:116:48:-2:0:0::_180:false::1:112:48:-2:0:0::_187:false::1:112:56:-2:0:0::_185:false::1:116:56:-2:0:0::_187:false::1:120:64:-2:0:0::_185:false::1:124:64:-2:0:0::_187:false::1:128:72:-2:0:0::_185:false::1:132:72:-2:0:0::_187:false::1:136:80:-2:0:0::_185:false::1:140:80:-2:0:0::_187:false::1:144:88:-2:0:0::_185:false::1:148:88:-2:0:0::_187:false::1:152:96:-2:0:0::_185:false::1:156:96:-2:0:0::_182:false::1:156:104:-2:0:0::_180:false::1:152:104:-2:0:0::_181:false::1:148:104:-2:0:0::_183:false::1:144:104:-2:0:0::_182:false::1:140:104:-2:0:0::_180:false::1:136:104:-2:0:0::_182:false::1:132:112:-2:0:0::_180:false::1:128:112:-2:0:0::_187:false::1:128:120:-2:0:0::_185:false::1:132:120:-2:0:0::_187:false::1:136:128:-2:0:0::_185:false::1:140:128:-2:0:0::_187:false::1:144:136:-2:0:0::_185:false::1:148:136:-2:0:0::_187:false::1:152:144:-2:0:0::_185:false::1:156:144:-2:0:0::_184:false::1:160:144:-2:0:0::_186:false::1:164:144:-2:0:0::_184:false::1:168:136:-2:0:0::_186:false::1:172:136:-2:0:0::_181:false::1:172:128:-2:0:0::_183:false::1:168:128:-2:0:0::_181:false::1:164:120:-2:0:0::_183:false::1:160:120:-2:0:0::_184:false::1:160:112:-2:0:0::_186:false::1:164:112:-2:0:0::_184:false::1:168:104:-2:0:0::_186:false::1:172:104:-2:0:0::_181:false::1:172:96:-2:0:0::_183:false::1:168:96:-2:0:0::_181:false::1:164:88:-2:0:0::_183:false::1:160:88:-2:0:0::_181:false::1:156:80:-2:0:0::_183:false::1:152:80:-2:0:0::_181:false::1:148:72:-2:0:0::_183:false::1:144:72:-2:0:0::_184:false::1:144:64:-2:0:0::_186:false::1:148:64:-2:0:0::_184:false::1:152:56:-2:0:0::_186:false::1:156:56:-2:0:0::_184:false::1:160:48:-2:0:0::_186:false::1:164:48:-2:0:0::_184:false::1:168:40:-2:0:0::_180:false::1:120:8:-2:0:0::_182:false::1:124:8:-2:0:0::_122:false::1:124:15:1:0:0::_125:false::1:121:14:1:0:0::_183:false::1:168:40:-2:0:0::_181:false::1:156:24:-2:0:0::_183:false::1:152:24:-2:0:0::_181:false::1:148:16:-2:0:0::_183:false::1:144:16:-2:0:0::_181:false::1:140:8:-2:0:0::_183:false::1:136:8:-2:0:0::_181:false::1:132:0:-2:0:0::_180:false::1:128:0:-2:0:0::_122:false::1:136:3:1:0:0::_122:false::1:140:7:1:0:0::_122:false::1:144:11:1:0:0::_122:false::1:148:15:1:0:0::_122:false::1:150:17:1:0:0::_122:false::1:152:19:1:0:0::_122:false::1:154:21:1:0:0::_122:false::1:156:23:1:0:0::_122:false::1:158:25:1:0:0::_122:false::1:160:27:1:0:0::_122:false::1:162:29:1:0:0::_122:false::1:164:31:1:0:0::_122:false::1:170:37:1:0:0::_122:false::1:172:39:1:0:0::_122:false::1:174:41:1:0:0::_122:false::1:148:71:1:0:0::_125:false::1:145:70:1:0:0::_122:false::1:134:25:1:0:0::_120:false::1:148:68:1:0:0::_120:false::1:150:66:1:0:0::_120:false::1:152:64:1:0:0::_120:false::1:154:62:1:0:0::_120:false::1:156:60:1:0:0::_120:false::1:158:58:1:0:0::_120:false::1:160:56:1:0:0::_120:false::1:162:54:1:0:0::_120:false::1:164:52:1:0:0::_120:false::1:166:50:1:0:0::_120:false::1:168:48:1:0:0::_120:false::1:170:46:1:0:0::_120:false::1:172:44:1:0:0::_124:false::1:174:42:1:0:0::_122:false::1:150:73:1:0:0::_122:false::1:152:75:1:0:0::_122:false::1:154:77:1:0:0::_122:false::1:156:79:1:0:0::_122:false::1:158:81:1:0:0::_122:false::1:160:83:1:0:0::_122:false::1:162:85:1:0:0::_122:false::1:164:87:1:0:0::_122:false::1:166:89:1:0:0::_122:false::1:168:91:1:0:0::_122:false::1:170:93:1:0:0::_122:false::1:172:95:1:0:0::_122:false::1:174:97:1:0:0::_122:false::1:176:99:1:0:0::_122:false::1:178:101:1:0:0::_124:false::1:178:102:1:0:0::_120:false::1:176:104:1:0:0::_120:false::1:174:106:1:0:0::_120:false::1:172:108:1:0:0::_120:false::1:170:110:1:0:0::_120:false::1:168:112:1:0:0::_120:false::1:166:114:1:0:0::_120:false::1:164:116:1:0:0::_125:false::1:161:118:1:0:0::_122:false::1:165:120:1:0:0::_122:false::1:167:122:1:0:0::_122:false::1:169:124:1:0:0::_122:false::1:171:126:1:0:0::_122:false::1:173:128:1:0:0::_122:false::1:175:130:1:0:0::_122:false::1:177:132:1:0:0::_124:false::1:178:134:1:0:0::_120:false::1:176:136:1:0:0::_120:false::1:174:138:1:0:0::_120:false::1:172:140:1:0:0::_120:false::1:170:142:1:0:0::_120:false::1:168:144:1:0:0::_120:false::1:166:146:1:0:0::_120:false::1:164:148:1:0:0::_120:false::1:163:149:1:0:0::_122:false::1:162:149:1:0:0::_122:false::1:160:147:1:0:0::_122:false::1:158:145:1:0:0::_122:false::1:156:143:1:0:0::_122:false::1:154:141:1:0:0::_122:false::1:152:139:1:0:0::_122:false::1:150:137:1:0:0::_122:false::1:148:135:1:0:0::_122:false::1:146:133:1:0:0::_122:false::1:144:131:1:0:0::_122:false::1:142:129:1:0:0::_122:false::1:140:127:1:0:0::_122:false::1:138:125:1:0:0::_122:false::1:136:123:1:0:0::_122:false::1:134:121:1:0:0::_125:false::1:129:118:1:0:0::_122:false::1:133:120:1:0:0::_120:false::1:132:116:1:0:0::_120:false::1:134:114:1:0:0::_120:false::1:136:112:1:0:0::_120:false::1:138:110:1:0:0::_120:false::1:140:108:1:0:0::_120:false::1:142:106:1:0:0::_120:false::1:144:104:1:0:0::_120:false::1:145:103:1:0:0::_122:false::1:148:103:1:0:0::_122:false::1:150:105:1:0:0::_122:false::1:152:107:1:0:0::_122:false::1:154:109:1:0:0::_120:false::1:155:109:1:0:0::_120:false::1:157:107:1:0:0::_120:false::1:159:105:1:0:0::_124:false::1:162:102:1:0:0::_122:false::1:161:100:1:0:0::_122:false::1:159:98:1:0:0::_120:false::1:160:104:1:0:0::_122:false::1:157:96:1:0:0::_122:false::1:155:94:1:0:0::_122:false::1:153:92:1:0:0::_122:false::1:151:90:1:0:0::_122:false::1:149:88:1:0:0::_122:false::1:147:86:1:0:0::_122:false::1:145:84:1:0:0::_122:false::1:143:82:1:0:0::_122:false::1:141:80:1:0:0::_122:false::1:139:78:1:0:0::_122:false::1:137:76:1:0:0::_122:false::1:135:74:1:0:0::_122:false::1:133:72:1:0:0::_122:false::1:131:70:1:0:0::_122:false::1:129:68:1:0:0::_122:false::1:127:66:1:0:0::_122:false::1:125:64:1:0:0::_122:false::1:123:62:1:0:0::_122:false::1:121:60:1:0:0::_122:false::1:119:58:1:0:0::_122:false::1:117:56:1:0:0::_125:false::1:113:54:1:0:0::_120:false::1:116:52:1:0:0::_120:false::1:120:48:1:0:0::_120:false::1:124:44:1:0:0::_120:false::1:128:40:1:0:0::_120:false::1:139:29:1:0:0::_120:false::1:141:27:1:0:0::_120:false::1:147:21:1:0:0::_120:false::1:149:19:1:0:0::_139:false::1:143:24:1:0:0::_138:false::1:140:27:1:0:0::_122:false::1:167:48:1:0:0::_122:false::1:165:46:1:0:0::_122:false::1:163:44:1:0:0::_122:false::1:161:42:1:0:0::_122:false::1:159:40:1:0:0::_122:false::1:157:38:1:0:0::_122:false::1:155:36:1:0:0::_122:false::1:153:34:1:0:0::_120:false::1:150:34:1:0:0::_120:false::1:148:36:1:0:0::_120:false::1:146:38:1:0:0::_120:false::1:144:40:1:0:0::_120:false::1:142:42:1:0:0::_120:false::1:140:44:1:0:0::_120:false::1:138:46:1:0:0::_120:false::1:136:48:1:0:0::_120:false::1:134:50:1:0:0::_120:false::1:132:52:1:0:0::_122:false::1:146:69:1:0:0::_122:false::1:144:67:1:0:0::_122:false::1:142:65:1:0:0::_122:false::1:136:59:1:0:0::_122:false::1:134:57:1:0:0::_122:false::1:132:55:1:0:0::_125:false::1:129:54:1:0:0::_140:false::1:140:64:1:0:0::_141:false::1:132:62:1:0:0::_128:false::1:165:33:1:0:0::_129:false::1:167:35:1:0:0::_183:false::1:164:32:-2:0:0::_130:false::1:140:116:-2:0:0::_180:false::1:192:40:-2:0:0::_182:false::1:204:32:-2:0:0::_180:false::1:208:24:-2:0:0::_182:false::1:212:24:-2:0:0::_180:false::1:216:16:-2:0:0::_182:false::1:220:16:-2:0:0::_180:false::1:224:8:-2:0:0::_182:false::1:228:8:-2:0:0::_183:false::1:232:8:-2:0:0::_181:false::1:236:8:-2:0:0::_183:false::1:240:16:-2:0:0::_181:false::1:244:16:-2:0:0::_183:false::1:248:24:-2:0:0::_181:false::1:252:24:-2:0:0::_187:false::1:192:48:-2:0:0::_185:false::1:196:48:-2:0:0::_187:false::1:200:56:-2:0:0::_185:false::1:204:56:-2:0:0::_187:false::1:208:64:-2:0:0::_185:false::1:212:64:-2:0:0::_184:false::1:216:64:-2:0:0::_186:false::1:220:64:-2:0:0::_186:false::1:228:56:-2:0:0::_184:false::1:224:56:-2:0:0::_184:false::1:248:32:-2:0:0::_184:false::1:240:40:-2:0:0::_186:false::1:252:32:-2:0:0::_186:false::1:244:40:-2:0:0::_122:false::1:218:69:1:0:0::_120:false::1:219:69:1:0:0::_120:false::1:221:67:1:0:0::_120:false::1:223:65:1:0:0::_120:false::1:225:63:1:0:0::_120:false::1:227:61:1:0:0::_120:false::1:229:59:1:0:0::_120:false::1:231:57:1:0:0::_120:false::1:233:55:1:0:0::_120:false::1:245:43:1:0:0::_120:false::1:247:41:1:0:0::_120:false::1:249:39:1:0:0::_120:false::1:251:37:1:0:0::_120:false::1:253:35:1:0:0::_120:false::1:255:33:1:0:0::_120:false::1:257:31:1:0:0::_122:false::1:216:67:1:0:0::_122:false::1:214:65:1:0:0::_122:false::1:212:63:1:0:0::_122:false::1:210:61:1:0:0::_122:false::1:208:59:1:0:0::_122:false::1:206:57:1:0:0::_122:false::1:204:55:1:0:0::_122:false::1:202:53:1:0:0::_122:false::1:200:51:1:0:0::_122:false::1:198:49:1:0:0::_122:false::1:196:47:1:0:0::_125:false::1:193:46:1:0:0::_120:false::1:196:44:1:0:0::_120:false::1:198:42:1:0:0::_120:false::1:204:36:1:0:0::_120:false::1:206:34:1:0:0::_120:false::1:208:32:1:0:0::_120:false::1:210:30:1:0:0::_120:false::1:212:28:1:0:0::_120:false::1:214:26:1:0:0::_120:false::1:216:24:1:0:0::_120:false::1:218:22:1:0:0::_120:false::1:220:20:1:0:0::_120:false::1:222:18:1:0:0::_120:false::1:224:16:1:0:0::_120:false::1:226:14:1:0:0::_120:false::1:228:12:1:0:0::_120:false::1:230:10:1:0:0::_120:false::1:232:8:1:0:0::_120:false::1:233:7:1:0:0::_122:false::1:236:7:1:0:0::_122:false::1:238:9:1:0:0::_122:false::1:240:11:1:0:0::_122:false::1:242:13:1:0:0::_122:false::1:244:15:1:0:0::_122:false::1:246:17:1:0:0::_122:false::1:248:19:1:0:0::_122:false::1:250:21:1:0:0::_122:false::1:252:23:1:0:0::_122:false::1:254:25:1:0:0::_122:false::1:256:27:1:0:0::_122:false::1:258:29:1:0:0::_124:false::1:258:30:1:0:0::_120:false::1:203:53:1:0:0::_120:false::1:205:51:1:0:0::_120:false::1:207:49:1:0:0::_120:false::1:209:47:1:0:0::_120:false::1:211:45:1:0:0::_120:false::1:213:43:1:0:0::_120:false::1:215:41:1:0:0::_120:false::1:217:39:1:0:0::_120:false::1:219:37:1:0:0::_120:false::1:221:35:1:0:0::_120:false::1:223:33:1:0:0::_120:false::1:225:31:1:0:0::_120:false::1:227:29:1:0:0::_120:false::1:229:27:1:0:0::_120:false::1:231:25:1:0:0::_120:false::1:233:23:1:0:0::_120:false::1:235:21:1:0:0::_136:false::1:236:20:1:0:0::_120:false::1:249:23:1:0:0::_120:false::1:247:25:1:0:0::_120:false::1:245:27:1:0:0::_120:false::1:243:29:1:0:0::_120:false::1:241:31:1:0:0::_120:false::1:239:33:1:0:0::_120:false::1:237:35:1:0:0::_120:false::1:235:37:1:0:0::_120:false::1:233:39:1:0:0::_120:false::1:231:41:1:0:0::_120:false::1:229:43:1:0:0::_120:false::1:227:45:1:0:0::_120:false::1:225:47:1:0:0::_120:false::1:223:49:1:0:0::_120:false::1:221:51:1:0:0::_120:false::1:219:53:1:0:0::_120:false::1:217:55:1:0:0::_137:false::1:213:56:1:0:0::_120:false::1:243:45:1:0:0::_187:false::1:232:56:-2:0:0::_185:false::1:236:56:-2:0:0::_187:false::1:240:64:-2:0:0::_185:false::1:244:64:-2:0:0::_183:false::1:240:48:-2:0:0::_181:false::1:244:48:-2:0:0::_183:false::1:248:56:-2:0:0::_181:false::1:252:56:-2:0:0::_180:false::1:256:56:-2:0:0::_182:false::1:260:56:-2:0:0::_183:false::1:264:56:-2:0:0::_181:false::1:268:56:-2:0:0::_183:false::1:272:64:-2:0:0::_181:false::1:276:64:-2:0:0::_182:false::1:244:72:-2:0:0::_180:false::1:240:72:-2:0:0::_184:false::1:256:88:-2:0:0::_186:false::1:260:88:-2:0:0::_184:false::1:264:80:-2:0:0::_186:false::1:268:80:-2:0:0::_184:false::1:272:72:-2:0:0::_186:false::1:276:72:-2:0:0::_122:false::1:236:55:1:0:0::_122:false::1:238:57:1:0:0::_122:false::1:240:59:1:0:0::_122:false::1:242:61:1:0:0::_122:false::1:244:63:1:0:0::_122:false::1:246:65:1:0:0::_122:false::1:248:67:1:0:0::_122:false::1:250:69:1:0:0::_124:false::1:250:70:1:0:0::_120:false::1:248:72:1:0:0::_120:false::1:246:74:1:0:0::_120:false::1:244:76:1:0:0::_120:false::1:259:93:1:0:0::_120:false::1:261:91:1:0:0::_120:false::1:263:89:1:0:0::_120:false::1:265:87:1:0:0::_120:false::1:267:85:1:0:0::_120:false::1:269:83:1:0:0::_120:false::1:271:81:1:0:0::_120:false::1:273:79:1:0:0::_120:false::1:275:77:1:0:0::_120:false::1:277:75:1:0:0::_120:false::1:279:73:1:0:0::_122:false::1:282:69:1:0:0::_124:false::1:282:70:1:0:0::_120:false::1:280:72:1:0:0::_122:false::1:280:67:1:0:0::_122:false::1:278:65:1:0:0::_122:false::1:276:63:1:0:0::_122:false::1:274:61:1:0:0::_122:false::1:272:59:1:0:0::_122:false::1:270:57:1:0:0::_122:false::1:268:55:1:0:0::_120:false::1:265:55:1:0:0::_120:false::1:263:57:1:0:0::_120:false::1:261:59:1:0:0::_120:false::1:259:61:1:0:0::_122:false::1:258:61:1:0:0::_122:false::1:256:59:1:0:0::_122:false::1:254:57:1:0:0::_122:false::1:252:55:1:0:0::_122:false::1:250:53:1:0:0::_122:false::1:248:51:1:0:0::_122:false::1:246:49:1:0:0::_122:false::1:244:47:1:0:0::_125:false::1:241:46:1:0:0::_127:false::1:200:40:1:0:0::_126:false::1:202:38:1:0:0::_180:false::1:196:32:-2:0:0::_182:false::1:200:32:-2:0:0::_164:false::1:192:43:2:0:0::_164:false::1:200:51:2:0:0::_164:false::1:240:43:2:0:0::_165:false::1:256:27:2:0:0::_165:false::1:248:19:2:0:0::_165:false::1:165:46:2:0:0::_165:false::1:148:15:2:0:0::_164:false::1:120:11:2:0:0::_164:false::1:136:27:2:0:0::_165:false::1:144:67:2:0:0::_164:false::1:144:67:2:0:0::_164:false::1:128:51:2:0:0::_187:false::1:240:80:-2:0:0::_185:false::1:244:80:-2:0:0::_187:false::1:248:88:-2:0:0::_185:false::1:252:88:-2:0:0::_122:false::1:258:93:1:0:0::_122:false::1:256:91:1:0:0::_122:false::1:254:89:1:0:0::_122:false::1:252:87:1:0:0::_122:false::1:250:85:1:0:0::_122:false::1:248:83:1:0:0::_122:false::1:246:81:1:0:0::_125:false::1:241:78:1:0:0::_122:false::1:245:80:1:0:0::_33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:272:60:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:248:82:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:248:52:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:223:13:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:205:31:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:238:30:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:218:50:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:227:38:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:221:28:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:161:29:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:127:17:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:140:8:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:140:24:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:125:39:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:166:90:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:156:80:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:146:70:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:135:59:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:120:58:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:154:55:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:140:40:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:156:104:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:137:107:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:167:138:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:141:127:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._21:false::1:83:6:1:0:0::_21:false::1:65:4:1:0:0::_21:false::1:99:94:1:0:0::_21:false::1:90:104:1:0:0::_21:false::1:95:133:1:0:0::_21:false::1:63:128:1:0:0::_21:false::1:45:141:1:0:0::_21:false::1:28:119:1:0:0::_21:false::1:36:104:1:0:0::_21:false::1:12:81:1:0:0::_21:false::1:15:60:1:0:0::_21:false::1:4:137:1:0:0::_21:false::1:9:120:1:0:0::_21:false::1:6:34:1:0:0::_21:false::1:20:4:1:0:0::_21:false::1:11:13:1:0:0::_21:false::1:44:16:1:0:0::_21:false::1:77:48:1:0:0::_21:false::1:53:60:1:0:0::_21:false::1:42:49:1:0:0::_21:false::1:43:83:1:0:0::_20:false::1:23:29:1:0:0::_20:false::1:25:108:1:0:0::_20:false::1:45:111:1:0:0::_20:false::1:87:114:1:0:0::_20:false::1:98:17:1:0:0::_20:false::1:88:63:1:0:0::_20:false::1:100:121:1:0:0::_20:false::1:73:99:1:0:0::_22:false::1:50:25:1:0:0::_22:false::1:53:32:1:0:0::_22:false::1:28:26:1:0:0::_22:false::1:10:26:1:0:0::_22:false::1:2:6:1:0:0::_22:false::1:4:92:1:0:0::_22:false::1:10:110:1:0:0::_22:false::1:36:132:1:0:0::_22:false::1:66:119:1:0:0::_22:false::1:70:12:1:0:0::_23:false::1:89:23:1:0:0::_23:false::1:100:104:1:0:0::_23:false::1:80:125:1:0:0::_23:false::1:70:127:1:0:0::_23:false::1:44:117:1:0:0::_23:false::1:13:89:1:0:0::_23:false::1:0:40:1:0:0::_23:false::1:1:19:1:0:0::_23:false::1:30:6:1:0:0::_23:false::1:78:88:1:0:0::_23:false::1:67:79:1:0:0::_132:false::1:127:9:1:0:0::_132:false::1:131:5:1:0:0::_120:false::1:125:11:1:0:0::_120:false::1:124:12:1:0:0::_120:false::1:129:7:1:0:0::_120:false::1:133:3:1:0:0::_133:false::1:146:13:1:0:0::_133:false::1:142:9:1:0:0::_133:false::1:138:5:1:0:0::_132:false::1:126:42:1:0:0::_132:false::1:130:38:1:0:0::_132:false::1:134:34:1:0:0::_132:false::1:122:46:1:0:0::_132:false::1:118:50:1:0:0::_116:false::1:146:38:1:0:0::_116:false::1:148:40:1:0:0::_116:false::1:157:49:1:0:0::_116:false::1:155:47:1:0:0::_116:false::1:159:125:1:0:0::_116:false::1:161:127:1:0:0::_116:false::1:163:129:1:0:0::_116:false::1:165:131:1:0:0::_116:false::1:167:133:1:0:0::_117:false::1,2,3,4,5:168:133:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:166:131:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:162:127:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:158:49:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:147:38:1:0:4:GOLD CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:156:47:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:149:40:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:164:129:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:160:125:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_116:false::1:261:59:1:0:0::_116:false::1:263:61:1:0:0::_116:false::1:243:77:1:0:0::_116:false::1:245:79:1:0:0::_117:false::1,2,3,4,5:244:77:1:0:4:GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:246:79:1:0:4:GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:264:61:1:0:4:GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:262:59:1:0:4:GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_28:false::1,2,3,4:42:114:1:0:2:GOLD CLVL;GOLD CLVL;ANY CLVL;ANY CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_28:false::1,2,3,4:41:115:1:0:2:GOLD CLVL;GOLD CLVL;GOLD CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2';
zoneData = '0 SC: 5 SC: 44 SC: START SZ: 1 SC: 87 SC: 10 SC: TELEPORT 163/35 SZ: 1 SC: 163 SC: 35 SC: TELEPORT 87/10 SZ: 2 SC: 199 SC: 40 SC: TELEPORT 140/116 SZ: 2 SC: 140 SC: 116 SC: TELEPORT 199/40 SZ: 3 SC: 254 SC: 73 SC: NPC Demon 2 SZ: 4 SC: 258 SC: 69 SC: NPC Demon 2 SZ: 5 SC: 141 SC: 51 SC: NPC HauntedZombie 2 SZ: 6 SC: 144 SC: 57 SC: NPC HauntedZombie 2 SZ: 7 SC: 135 SC: 16 SC: NPC HauntedZombie 2 SZ: 8 SC: 45 SC: 119 SC: NPC HauntedZombie 2 SZ: 9 SC: 52 SC: 120 SC: NPC HauntedZombie 2 SZ: 10 SC: 59 SC: 41 SC: NPC InfernalArcher 2 SZ: 11 SC: 64 SC: 42 SC: NPC InfernalArcher 2 SZ: 12 SC: 45 SC: 24 SC: NPC InfernalArcher 2 SZ: 13 SC: 36 SC: 18 SC: NPC InfernalArcher 2 SZ: 14 SC: 71 SC: 51 SC: NPC InfernalArcher 2 SZ: 15 SC: 68 SC: 57 SC: NPC InfernalArcher 2 SZ: 16 SC: 75 SC: 58 SC: NPC InfernalArcher 2 SZ: 17 SC: 82 SC: 68 SC: NPC InfernalArcher 2 SZ: 18 SC: 77 SC: 71 SC: NPC InfernalArcher 2 SZ: 19 SC: 91 SC: 81 SC: NPC InfernalArcher 2 SZ: 20 SC: 51 SC: 107 SC: NPC InfernalArcher 2 SZ: 21 SC: 55 SC: 110 SC: NPC InfernalArcher 2 SZ: 22 SC: 45 SC: 123 SC: NPC InfernalArcher 2 SZ: 23 SC: 62 SC: 94 SC: NPC InfernalArcher 2 SZ: 24 SC: 34 SC: 80 SC: NPC InfernalArcher 2 SZ: 25 SC: 31 SC: 82 SC: NPC InfernalArcher 2 SZ: 26 SC: 27 SC: 69 SC: NPC InfernalArcher 2 SZ: 27 SC: 28 SC: 55 SC: NPC InfernalArcher 2 SZ: 28 SC: 26 SC: 39 SC: NPC InfernalArcher 2 SZ: 29 SC: 129 SC: 15 SC: NPC InfernalArcher 2 SZ: 30 SC: 136 SC: 11 SC: NPC InfernalArcher 2 SZ: 31 SC: 134 SC: 19 SC: NPC InfernalArcher 2 SZ: 32 SC: 130 SC: 41 SC: NPC InfernalArcher 2 SZ: 33 SC: 129 SC: 45 SC: NPC InfernalArcher 2 SZ: 34 SC: 126 SC: 47 SC: NPC InfernalArcher 2 SZ: 35 SC: 120 SC: 54 SC: NPC InfernalArcher 2 SZ: 36 SC: 127 SC: 59 SC: NPC InfernalArcher 2 SZ: 37 SC: 136 SC: 71 SC: NPC InfernalArcher 2 SZ: 38 SC: 134 SC: 51 SC: NPC InfernalArcher 2 SZ: 39 SC: 137 SC: 56 SC: NPC InfernalArcher 2 SZ: 40 SC: 145 SC: 57 SC: NPC InfernalArcher 2 SZ: 41 SC: 151 SC: 49 SC: NPC InfernalArcher 2 SZ: 42 SC: 147 SC: 46 SC: NPC InfernalArcher 2 SZ: 43 SC: 152 SC: 85 SC: NPC InfernalArcher 2 SZ: 44 SC: 149 SC: 84 SC: NPC InfernalArcher 2 SZ: 45 SC: 163 SC: 92 SC: NPC InfernalArcher 2 SZ: 46 SC: 159 SC: 92 SC: NPC InfernalArcher 2 SZ: 47 SC: 164 SC: 97 SC: NPC InfernalArcher 2 SZ: 48 SC: 158 SC: 111 SC: NPC InfernalArcher 2 SZ: 49 SC: 152 SC: 127 SC: NPC InfernalArcher 2 SZ: 50 SC: 158 SC: 129 SC: NPC InfernalArcher 2 SZ: 51 SC: 159 SC: 139 SC: NPC InfernalArcher 2 SZ: 52 SC: 145 SC: 121 SC: NPC InfernalArcher 2 SZ: 53 SC: 146 SC: 114 SC: NPC InfernalArcher 2 SZ: 54 SC: 216 SC: 27 SC: NPC InfernalArcher 2 SZ: 55 SC: 222 SC: 24 SC: NPC InfernalArcher 2 SZ: 56 SC: 222 SC: 20 SC: NPC InfernalArcher 2 SZ: 57 SC: 236 SC: 15 SC: NPC InfernalArcher 2 SZ: 58 SC: 231 SC: 30 SC: NPC InfernalArcher 2 SZ: 59 SC: 235 SC: 27 SC: NPC InfernalArcher 2 SZ: 60 SC: 220 SC: 41 SC: NPC InfernalArcher 2 SZ: 61 SC: 217 SC: 45 SC: NPC InfernalArcher 2 SZ: 62 SC: 209 SC: 51 SC: NPC InfernalArcher 2 SZ: 63 SC: 210 SC: 57 SC: NPC InfernalArcher 2 SZ: 64 SC: 215 SC: 59 SC: NPC InfernalArcher 2 SZ: 65 SC: 225 SC: 53 SC: NPC InfernalArcher 2 SZ: 66 SC: 232 SC: 42 SC: NPC InfernalArcher 2 SZ: 67 SC: 241 SC: 38 SC: NPC InfernalArcher 2 SZ: 68 SC: 242 SC: 34 SC: NPC InfernalArcher 2 SZ: 69 SC: 247 SC: 29 SC: NPC InfernalArcher 2 SZ: 70 SC: 239 SC: 52 SC: NPC InfernalArcher 2 SZ: 71 SC: 239 SC: 57 SC: NPC InfernalArcher 2 SZ: 72 SC: 245 SC: 58 SC: NPC InfernalArcher 2 SZ: 73 SC: 251 SC: 64 SC: NPC InfernalArcher 2 SZ: 74 SC: 251 SC: 70 SC: NPC InfernalArcher 2 SZ: 75 SC: 251 SC: 81 SC: NPC InfernalArcher 2 SZ: 76 SC: 256 SC: 84 SC: NPC InfernalArcher 2 SZ: 77 SC: 257 SC: 77 SC: NPC InfernalArcher 2 SZ: 78 SC: 265 SC: 67 SC: NPC InfernalArcher 2 SZ: 79 SC: 260 SC: 68 SC: NPC InfernalArcher 2 SZ: 80 SC: 253 SC: 70 SC: NPC InfernalArcher 2 SZ: 81 SC: 253 SC: 65 SC: NPC SkeletonMelee 2 SZ: 82 SC: 249 SC: 65 SC: NPC SkeletonMelee 2 SZ: 83 SC: 239 SC: 51 SC: NPC SkeletonMelee 2 SZ: 84 SC: 237 SC: 52 SC: NPC SkeletonMelee 2 SZ: 85 SC: 244 SC: 30 SC: NPC SkeletonMelee 2 SZ: 86 SC: 248 SC: 30 SC: NPC SkeletonMelee 2 SZ: 87 SC: 233 SC: 44 SC: NPC SkeletonMelee 2 SZ: 88 SC: 232 SC: 48 SC: NPC SkeletonMelee 2 SZ: 89 SC: 220 SC: 56 SC: NPC SkeletonMelee 2 SZ: 90 SC: 219 SC: 60 SC: NPC SkeletonMelee 2 SZ: 91 SC: 210 SC: 55 SC: NPC SkeletonMelee 2 SZ: 92 SC: 208 SC: 52 SC: NPC SkeletonMelee 2 SZ: 93 SC: 222 SC: 40 SC: NPC SkeletonMelee 2 SZ: 94 SC: 222 SC: 37 SC: NPC SkeletonMelee 2 SZ: 95 SC: 235 SC: 27 SC: NPC SkeletonMelee 2 SZ: 96 SC: 235 SC: 24 SC: NPC SkeletonMelee 2 SZ: 97 SC: 237 SC: 16 SC: NPC SkeletonMelee 2 SZ: 98 SC: 234 SC: 13 SC: NPC SkeletonMelee 2 SZ: 99 SC: 225 SC: 17 SC: NPC SkeletonMelee 2 SZ: 100 SC: 224 SC: 21 SC: NPC SkeletonMelee 2 SZ: 101 SC: 214 SC: 30 SC: NPC SkeletonMelee 2 SZ: 102 SC: 213 SC: 33 SC: NPC SkeletonMelee 2 SZ: 103 SC: 140 SC: 46 SC: NPC SkeletonMelee 2 SZ: 104 SC: 138 SC: 50 SC: NPC SkeletonMelee 2 SZ: 105 SC: 146 SC: 51 SC: NPC SkeletonMelee 2 SZ: 106 SC: 146 SC: 58 SC: NPC SkeletonMelee 2 SZ: 107 SC: 140 SC: 61 SC: NPC SkeletonMelee 2 SZ: 108 SC: 132 SC: 66 SC: NPC SkeletonMelee 2 SZ: 109 SC: 139 SC: 72 SC: NPC SkeletonMelee 2 SZ: 110 SC: 151 SC: 83 SC: NPC SkeletonMelee 2 SZ: 111 SC: 147 SC: 82 SC: NPC SkeletonMelee 2 SZ: 112 SC: 165 SC: 99 SC: NPC SkeletonMelee 2 SZ: 113 SC: 163 SC: 105 SC: NPC SkeletonMelee 2 SZ: 114 SC: 157 SC: 109 SC: NPC SkeletonMelee 2 SZ: 115 SC: 158 SC: 114 SC: NPC SkeletonMelee 2 SZ: 116 SC: 150 SC: 115 SC: NPC SkeletonMelee 2 SZ: 117 SC: 149 SC: 126 SC: NPC SkeletonMelee 2 SZ: 118 SC: 125 SC: 46 SC: NPC SkeletonMelee 2 SZ: 119 SC: 128 SC: 46 SC: NPC SkeletonMelee 2 SZ: 120 SC: 135 SC: 36 SC: NPC SkeletonMelee 2 SZ: 121 SC: 141 SC: 34 SC: NPC SkeletonMelee 2 SZ: 122 SC: 139 SC: 17 SC: NPC SkeletonMelee 2 SZ: 123 SC: 136 SC: 19 SC: NPC SkeletonMelee 2 SZ: 124 SC: 129 SC: 16 SC: NPC SkeletonMelee 2 SZ: 125 SC: 79 SC: 17 SC: NPC SkeletonMelee 2 SZ: 126 SC: 85 SC: 21 SC: NPC SkeletonMelee 2 SZ: 127 SC: 65 SC: 38 SC: NPC SkeletonMelee 2 SZ: 128 SC: 58 SC: 35 SC: NPC SkeletonMelee 2 SZ: 129 SC: 47 SC: 27 SC: NPC SkeletonMelee 2 SZ: 130 SC: 72 SC: 52 SC: NPC SkeletonMelee 2 SZ: 131 SC: 69 SC: 55 SC: NPC SkeletonMelee 2 SZ: 132 SC: 83 SC: 67 SC: NPC SkeletonMelee 2 SZ: 133 SC: 79 SC: 70 SC: NPC SkeletonMelee 2 SZ: 134 SC: 85 SC: 76 SC: NPC SkeletonMelee 2 SZ: 135 SC: 91 SC: 80 SC: NPC SkeletonMelee 2 SZ: 136 SC: 50 SC: 120 SC: NPC SkeletonMelee 2 SZ: 137 SC: 61 SC: 106 SC: NPC SkeletonMelee 2 SZ: 138 SC: 58 SC: 91 SC: NPC SkeletonMelee 2 SZ: 139 SC: 49 SC: 80 SC: NPC SkeletonMelee 2 SZ: 140 SC: 38 SC: 88 SC: NPC SkeletonMelee 2 SZ: 141 SC: 26 SC: 75 SC: NPC SkeletonMelee 2 SZ: 142 SC: 29 SC: 68 SC: NPC SkeletonMelee 2 SZ: 143 SC: 31 SC: 54 SC: NPC SkeletonMelee 2 SZ: 144 SC: 30 SC: 47 SC: NPC SkeletonMelee 2 SZ: 145 SC: 25 SC: 43 SC: NPC SkeletonMelee 2 SZ: 146 SC: 23 SC: 35 SC: NPC SkeletonMelee 2';
limitData = '0:0:25:17_26:0:45:19_46:0:71:13';
if (quesInv[9] == 2) {
objectData += '_30:false::1,2,3,4:259:63:1:0:2:' + generarRelic('Lilith\'s Charm,Amulet,,3,Accessory,2,42,10,500,10,0,-,0,0,0,0,0,25,0,0,0,0,0,0,0,5,20,8,8,0,54') + ';GOLD++ CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_30:false::1,2,3,4:250:72:1:0:2:' + generarRelic('Amber Stone,Ring,,3,Accessory,5,46,3,500,10,0,-,0,0,0,0,0,0,0,0,15,15,0,0,3,3,0,12,12,0,53') + ';GOLD++ CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_23:false::1:27:95:1:0:0::';
} else {
objectData += '_30:false::1,2,3,4:259:63:1:0:2:ANY CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_30:false::1,2,3,4:250:72:1:0:2:ANY CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_23:false::1:27:95:1:0:0::';
}
}
function setMap105() {
terrainData = '2,2,2,2,125,124,120,121,125,124,120,121,2,2,2,2,125,124,127,126,2,1,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,125,124,127,126,122,123,127,126,122,123,120,121,125,124,127,126,2,55,54,1,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,137,136,126,2,2,2,2,2,2,2,2,122,123,127,126,2,2,67,66,56,1,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,133,132,131,2,2,2,2,2,128,131,2,2,2,2,2,2,2,63,62,1,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,133,132,131,2,128,129,130,133,132,131,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,125,124,139,2,138,120,121,2,2,133,132,131,2,2,2,2,2,1,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,125,124,127,126,2,2,2,122,123,120,121,2,2,133,132,131,2,2,2,1,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,137,136,126,2,2,2,2,2,2,2,122,123,120,121,2,2,133,132,131,2,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,137,141,2,2,2,2,2,2,2,2,2,2,122,134,135,2,125,124,139,2,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,137,141,2,2,2,2,2,2,2,2,2,128,129,130,125,124,127,126,2,2,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,137,141,2,2,2,2,2,2,2,128,129,130,125,124,127,126,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,133,132,131,2,2,2,128,129,130,125,124,127,126,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,133,149,132,129,130,125,124,127,126,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,125,124,127,126,2,2,2,2,2,2,2,2,2,2,1,1,155,171,150,151,155,154,150,151,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,125,147,120,121,125,124,127,126,2,2,2,2,2,2,2,2,2,2,2,2,1,168,169,156,152,153,157,156,152,153,150,151,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;124,127,126,122,123,127,126,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,163,162,161,3,3,3,3,3,152,167,166,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;126,2,2,2,2,2,55,54,50,51,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,163,162,161,3,3,158,159,160,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;55,54,50,51,55,54,57,56,52,53,50,51,2,2,2,2,2,2,2,2,55,1,1,1,1,1,1,163,162,159,160,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;57,56,52,53,57,56,4,4,4,4,52,53,50,51,2,2,2,2,2,67,66,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;4,4,4,4,4,4,4,4,4,4,4,4,52,53,50,51,2,2,2,2,63,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2;2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2';
waterData = '4';
objectData = '21:false::1:7:12:1:0:0::_53:false::1:8:71:1:0:0::_52:false::1:21:75:1:0:0::_58:false::1:19:75:-2:0:0::_56:false::1,2,3,4:19:76:1:0:0::..STOP.1. - 4.SELECT 1.PLAY.2,2,3,3,4.SELECT 5,FREE 0/1 - 5.SELECT 1.PLAY.3,3,2,2,1.SELECT 4,NOFREE 0/1_38:false::1:13:84:1:0:0::_21:false::1:56:11:1:0:0::_21:false::1:17:2:1:0:0::_21:false::1:3:41:1:0:0::_21:false::1:15:43:1:0:0::_21:false::1:5:88:1:0:0::_21:false::1:13:108:1:0:0::_21:false::1:23:123:1:0:0::_21:false::1:74:155:1:0:0::_21:false::1:70:143:1:0:0::_21:false::1:81:128:1:0:0::_21:false::1:77:109:1:0:0::_21:false::1:79:43:1:0:0::_21:false::1:77:11:1:0:0::_21:false::1:66:65:1:0:0::_21:false::1:60:87:1:0:0::_20:false::1:48:102:1:0:0::_20:false::1:58:148:1:0:0::_20:false::1:45:59:1:0:0::_20:false::1:54:74:1:0:0::_20:false::1:15:60:1:0:0::_20:false::1:13:21:1:0:0::_20:false::1:35:14:1:0:0::_20:false::1:54:50:1:0:0::_22:false::1:72:26:1:0:0::_22:false::1:57:23:1:0:0::_22:false::1:34:21:1:0:0::_22:false::1:19:13:1:0:0::_22:false::1:10:34:1:0:0::_22:false::1:19:107:1:0:0::_22:false::1:40:83:1:0:0::_22:false::1:38:72:1:0:0::_22:false::1:58:137:1:0:0::_22:false::1:78:96:1:0:0::_22:false::1:68:78:1:0:0::_23:false::1:46:141:1:0:0::_23:false::1:13:140:1:0:0::_23:false::1:1:109:1:0:0::_23:false::1:2:70:1:0:0::_23:false::1:25:98:1:0:0::_23:false::1:46:78:1:0:0::_23:false::1:16:21:1:0:0::_32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:94:112:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:103:130:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:122:112:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._30:false::1,2,3,4:24:75:1:0:0:RELIC CLVL;RELIC CLVL;ANY++ CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:124:118:1:0:2:GOLD+ CLVL;GOLD+ CLVL;GOLD+ CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:123:117:1:0:2:GOLD+ CLVL;GOLD+ CLVL;GOLD+ CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:122:116:1:0:2:GOLD+ CLVL;GOLD+ CLVL;GOLD+ CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:125:119:1:0:2:POTION 0;POTION 0;POTION 0;POTION 0:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2_29:false::1,2,3,4:126:120:1:0:2:ANY CLVL;ANY CLVL:..STOP.1. - 2.SELECT 1.PLAY.2,2,3,3,4.SELECT 3 - 3.SELECT 1.PLAY.3,3,2,2,1.SELECT 2';
zoneData = '0 SC: 4 SC: 132 SC: START SZ: 1 SC: 9 SC: 117 SC: TELEPORT 97/110 SZ: 1 SC: 97 SC: 110 SC: TELEPORT 9/117 SZ: 2 SC: 27 SC: 76 SC: NPC Farmer 0 SZ: 3 SC: 94 SC: 6 SC: NPC Villain 0 SZ: 4 SC: 98 SC: 4 SC: NPC MaleBanditChiefBow 0 SZ: 5 SC: 101 SC: 4 SC: NPC MaleBanditChiefBow 0 SZ: 6 SC: 105 SC: 4 SC: NPC MaleBanditChiefBow 0 SZ: 7 SC: 93 SC: 11 SC: NPC CorruptedPriest 0 SZ: 8 SC: 95 SC: 10 SC: NPC CorruptedPriest 0 SZ: 9 SC: 98 SC: 11 SC: NPC CorruptedPriest 0 SZ: 10 SC: 101 SC: 11 SC: NPC CorruptedPriest 0 SZ: 11 SC: 103 SC: 10 SC: NPC CorruptedPriest 0 SZ: 12 SC: 105 SC: 10 SC: NPC CorruptedPriest 0 SZ: 13 SC: 114 SC: 119 SC: NPC MaleBanditChiefBow 2 SZ: 14 SC: 115 SC: 130 SC: NPC MaleBanditChiefBow 2 SZ: 15 SC: 110 SC: 118 SC: NPC CorruptedPriest 2 SZ: 16 SC: 110 SC: 124 SC: NPC CorruptedPriest 2 SZ: 17 SC: 110 SC: 132 SC: NPC CorruptedPriest 2 SZ: 18 SC: 123 SC: 130 SC: NPC CorruptedPriest 2 SZ: 19 SC: 122 SC: 125 SC: NPC CorruptedPriest 2 SZ: 20 SC: 119 SC: 123 SC: NPC CorruptedPriest 2 SZ: 21 SC: 113 SC: 129 SC: NPC CorruptedPriest 2 SZ: 22 SC: 115 SC: 138 SC: NPC CorruptedPriest 2';
limitData = '0:0:20:19_21:11:35:18_21:0:28:6';
}
function setMap106() {
terrainData = '2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,155,171,150,151,155,154,150,151,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,125,124,120,121,2,2,2,2,125,124,1,1,168,169,156,152,153,157,156,152,167,166,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,125,147,127,126,122,123,120,121,125,124,127,126,1,1,1,163,162,161,3,3,158,159,160,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;137,136,126,2,2,2,2,122,123,127,126,2,2,1,1,1,155,154,165,158,159,160,1,1,155,154,150,151,1,1,1,1,1,1,1,1,1,1,1,1;2,133,132,131,2,2,128,131,2,2,128,129,130,1,1,168,169,156,3,164,170,151,155,154,157,156,152,153,150,151,1,1,1,1,1,1,1,1,1,1;2,125,124,139,128,129,130,133,132,129,130,2,2,1,1,1,163,162,161,3,152,153,157,156,3,3,3,3,152,153,150,151,155,154,150,151,1,1,1,1;137,136,126,2,138,146,121,2,2,2,2,2,2,1,1,1,1,1,163,162,161,3,3,3,3,3,158,161,3,3,152,153,157,156,152,153,150,151,1,1;2,133,132,131,2,122,134,135,2,2,2,2,2,1,1,1,1,1,155,154,165,3,3,3,158,159,160,163,162,161,3,3,3,3,3,3,152,167,166,1;2,2,2,133,132,129,130,2,2,2,2,2,2,1,1,1,155,154,157,156,3,3,158,159,160,1,1,155,154,165,3,3,3,158,159,162,159,160,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,168,169,156,3,3,158,159,160,1,1,155,154,157,156,3,3,158,159,160,1,1,1,1,1,1;1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,163,162,161,3,164,150,151,155,154,157,156,3,3,158,159,160,1,1,1,1,1,1,1,1;1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,163,162,161,152,153,157,156,3,3,158,159,160,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,4,2,2,1,1,1,1,1,1,163,162,161,3,3,158,159,160,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,4,2,1,1,1,1,1,1,1,1,163,162,159,160,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,4,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,4,1,2,2,2,2,2,1,3,3,3,3,3,3,3,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,4,2,2,2,2,1,3,3,3,3,3,3,3,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,4,2,2,2,2,1,3,3,3,3,3,3,3,1,1,1,1,1,1,1,1,1,1,1,1;2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,4,4,2,2,2,1,3,3,3,3,3,3,3,1,1,1,1,1,1,1,1,1,1,1,1';
waterData = '4';
objectData = '21:false::1:13:9:1:0:0::_21:false::1:49:18:1:0:0::_21:false::1:46:45:1:0:0::_21:false::1:32:69:1:0:0::_21:false::1:3:68:1:0:0::_22:false::1:1:42:1:0:0::_22:false::1:2:21:1:0:0::_22:false::1:27:24:1:0:0::_22:false::1:25:53:1:0:0::_22:false::1:24:10:1:0:0::_23:false::1:20:3:1:0:0::_23:false::1:5:75:1:0:0::_23:false::1:20:78:1:0:0::_22:false::1:5:14:1:0:0::_22:false::1:41:10:1:0:0::_22:false::1:44:75:1:0:0::_23:false::1:41:63:1:0:0::_36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:148:66:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:132:74:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:116:90:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:100:106:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:83:98:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:67:82:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:73:65:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:111:58:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:100:63:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:88:74:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:142:47:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:119:41:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:97:33:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:67:42:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._35:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:75:50:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._36:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:92:18:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:80:9:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:66:7:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._32:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:72:25:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._33:false::1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20:86:39:2:0:0::..REPEAT.1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20._116:false::1:144:65:1:0:0::_116:false::1:101:34:1:0:0::_116:false::1:103:36:1:0:0::_116:false::1:105:38:1:0:0::_116:false::1:98:38:1:0:0::_116:false::1:100:40:1:0:0::_116:false::1:102:42:1:0:0::_116:false::1:85:10:1:0:0::_116:false::1:87:12:1:0:0::_116:false::1:89:14:1:0:0::_116:false::1:107:40:1:0:0::_116:false::1:104:44:1:0:0::_178:false::1:72:5:0:0:0::_178:false::1:73:7:0:0:0::_178:false::1:62:14:0:0:0::_178:false::1:97:14:0:0:0::_178:false::1:88:3:0:0:0::_178:false::1:87:5:0:0:0::_178:false::1:69:72:0:0:0::_178:false::1:97:87:0:0:0::_178:false::1:136:46:0:0:0::_178:false::1:123:48:0:0:0::_177:false::1:123:49:0:0:0::_177:false::1:134:45:0:0:0::_177:false::1:136:44:0:0:0::_177:false::1:87:88:0:0:0::_177:false::1:97:85:0:0:0::_177:false::1:112:72:0:0:0::_177:false::1:69:69:0:0:0::_177:false::1:69:31:0:0:0::_177:false::1:73:8:0:0:0::_177:false::1:18:13:0:0:0::_177:false::1:39:24:0:0:0::_177:false::1:2:53:0:0:0::_178:false::1:2:29:0:0:0::_178:false::1:18:13:0:0:0::_178:false::1:26:19:0:0:0::_178:false::1:30:22:0:0:0::_178:false::1:39:25:0:0:0::_178:false::1:21:52:0:0:0::_117:false::1,2,3,4,5:145:65:1:0:4:TESORO CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:108:40:1:0:4:GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:103:42:1:0:4:GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:104:36:1:0:4:GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:105:44:1:0:4:GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:99:38:1:0:4:GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:90:14:1:0:4:GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:86:10:1:0:4:GOLD+ CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:88:12:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:101:40:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:102:34:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_117:false::1,2,3,4,5:106:38:1:0:4:ANY CLVL:..STOP.1. - 4.SELECT 1,OPENLOOT.PLAY.2,2,3,3,4,5.SELECT 3 - 2.SELECT 1.PLAY.5,5.SELECT 3 - 3.SELECT 1.PLAY.5,5.SELECT 2_176:false::1:104:32:0:0:0::_175:false::1:103:31:0:0:0::_178:false::1:103:28:0:0:0::_177:false::1:103:28:0:0:0::_177:false::1:104:28:0:0:0::';
zoneData = '0 SC: 46 SC: 27 SC: START SZ: 1 SC: 69 SC: 6 SC: TELEPORT 9/21 SZ: 1 SC: 9 SC: 21 SC: TELEPORT 69/6 SZ: 2 SC: 22 SC: 53 SC: TELEPORT 82/38 SZ: 2 SC: 82 SC: 38 SC: TELEPORT 22/53 SZ: 3 SC: 143 SC: 61 SC: NPC Nosferatu 2 SZ: 4 SC: 99 SC: 45 SC: NPC Nosferatu 2 SZ: 5 SC: 128 SC: 57 SC: NPC MaleVampire 2 SZ: 6 SC: 132 SC: 63 SC: NPC MaleVampire 2 SZ: 7 SC: 125 SC: 75 SC: NPC MaleVampire 2 SZ: 8 SC: 116 SC: 56 SC: NPC MaleVampire 2 SZ: 9 SC: 111 SC: 46 SC: NPC MaleVampire 2 SZ: 10 SC: 91 SC: 49 SC: NPC MaleVampire 2 SZ: 11 SC: 91 SC: 63 SC: NPC MaleVampire 2 SZ: 12 SC: 82 SC: 65 SC: NPC MaleVampire 2 SZ: 13 SC: 81 SC: 78 SC: NPC MaleVampire 2 SZ: 14 SC: 72 SC: 77 SC: NPC MaleVampire 2 SZ: 15 SC: 77 SC: 87 SC: NPC MaleVampire 2 SZ: 16 SC: 88 SC: 96 SC: NPC MaleVampire 2 SZ: 17 SC: 91 SC: 99 SC: NPC MaleVampire 2 SZ: 18 SC: 98 SC: 102 SC: NPC MaleVampire 2 SZ: 19 SC: 99 SC: 96 SC: NPC MaleVampire 2 SZ: 20 SC: 109 SC: 89 SC: NPC MaleVampire 2 SZ: 21 SC: 70 SC: 34 SC: NPC MaleVampire 2 SZ: 22 SC: 83 SC: 19 SC: NPC MaleVampire 2 SZ: 23 SC: 84 SC: 15 SC: NPC MaleVampire 2 SZ: 24 SC: 67 SC: 13 SC: NPC MaleVampire 2 SZ: 25 SC: 77 SC: 16 SC: NPC FemaleVampire 2 SZ: 26 SC: 70 SC: 17 SC: NPC FemaleVampire 2 SZ: 27 SC: 85 SC: 16 SC: NPC FemaleVampire 2 SZ: 28 SC: 72 SC: 35 SC: NPC FemaleVampire 2 SZ: 29 SC: 69 SC: 37 SC: NPC FemaleVampire 2 SZ: 30 SC: 75 SC: 41 SC: NPC FemaleVampire 2 SZ: 31 SC: 90 SC: 48 SC: NPC FemaleVampire 2 SZ: 32 SC: 91 SC: 53 SC: NPC FemaleVampire 2 SZ: 33 SC: 101 SC: 45 SC: NPC FemaleVampire 2 SZ: 34 SC: 103 SC: 51 SC: NPC FemaleVampire 2 SZ: 35 SC: 79 SC: 74 SC: NPC FemaleVampire 2 SZ: 36 SC: 82 SC: 81 SC: NPC FemaleVampire 2 SZ: 37 SC: 80 SC: 87 SC: NPC FemaleVampire 2 SZ: 38 SC: 88 SC: 98 SC: NPC FemaleVampire 2 SZ: 39 SC: 103 SC: 91 SC: NPC FemaleVampire 2 SZ: 40 SC: 117 SC: 79 SC: NPC FemaleVampire 2 SZ: 41 SC: 126 SC: 60 SC: NPC FemaleVampire 2 SZ: 42 SC: 129 SC: 71 SC: NPC FemaleVampire 2 SZ: 43 SC: 10 SC: 31 SC: NPC GiantSpider 2 SZ: 44 SC: 14 SC: 23 SC: NPC GiantSpider 2 SZ: 45 SC: 18 SC: 30 SC: NPC GiantSpider 2 SZ: 46 SC: 16 SC: 35 SC: NPC GiantSpider 2 SZ: 47 SC: 21 SC: 20 SC: NPC GiantSpider 2 SZ: 48 SC: 29 SC: 30 SC: NPC GiantSpider 2 SZ: 49 SC: 24 SC: 39 SC: NPC GiantSpider 2 SZ: 50 SC: 38 SC: 32 SC: NPC GiantSpider 2 SZ: 51 SC: 38 SC: 39 SC: NPC GiantSpider 2 SZ: 52 SC: 17 SC: 52 SC: NPC GiantSpider 2 SZ: 53 SC: 10 SC: 53 SC: NPC GiantSpider 2 SZ: 54 SC: 12 SC: 60 SC: NPC GiantSpider 2 SZ: 55 SC: 17 SC: 61 SC: NPC GiantSpider 2 SZ: 56 SC: 23 SC: 61 SC: NPC GiantSpider 2 SZ: 57 SC: 20 SC: 66 SC: NPC GiantSpider 2';
limitData = '0:0:12:9_13:0:39:14';
}
function getEnemyXP(s, argHP) {
var v1 = 0;
var v2 = 0;
var v4 = Math.round(20 * modHP);
var v3 = 0;
if (argHP < 25) {
v2 = 0.5;
} else {
v3 = (argHP / v4 - 1) * 10;
v2 = (-2 + Math.sqrt(4 + 1.4 * v3)) / 0.7;
}
v1 = Math.round(v2 * 25);
if (gameDif == 2) {
v1 = Math.round(v1 * 2);
}
return v1;
}
function experienceLevel(n) {
var v1 = xPTable[n];
if (n > 99) {
v1 = 57500000 + 1250000 * (n - 99);
}
return v1;
}
function addXP(c, p) {
var v1 = 0;
var v3 = 0;
var v2 = 0;
v2 = -pLevel();
currentXP += c;
v1 = pLevel();
v2 += v1;
if (v1 == 1) {
++currentXPLevel;
v1 = pLevel();
v2 += v1;
mensajes.push('LEVEL UP');
incrementarHabilidades();
incrementarPoderClase();
if (currentXPLevel % 4 == 0) {
++rPowers;
}
v3 = 1;
if (gameDif == 1) {
if (currentXPLevel == 4) {
if (uigame_mc.menu_mc == undefined) {
uigame_mc.attachMovie('tutorialStep12MC', 'tutorial12_mc', uigame_mc.getNextHighestDepth());
uigame_mc.tutorial12_mc._x = 420;
uigame_mc.tutorial12_mc._y = 9;
}
}
}
}
if (!(p > -1 && p < 60)) {
p = 0;
}
if (addPowerXP(c, p, v2)) {
v3 = 1;
}
if (rPowers > 0) {
uigame_mc.addi_mc.iconoNivelV();
}
if (v3) {
actualizarAbilitiesVars();
}
uigame_mc.xp_mc.n = v1 * 100;
uigame_mc.xp_mc.updatePorc();
}
function addPowerXP(c, p, porcS) {
var v9 = 4;
var v10 = new Array([1, 0, 0], [1, 0, 0], [0.2, 0.2, 0.6], [0.2, 0.2, 0.6], [0.6, 0.2, 0.2], [0.2, 0.6, 0.2]);
var v1 = 0;
var v2 = 0;
var v3 = 0;
var v5 = Math.ceil(c * 0.1);
var v7 = 0;
var v8 = new Array();
var v4 = 0;
if (p == 0) {
v9 = 4;
if (basePowers[40] > 0) {
p = 40;
} else {
if (basePowers[41] > 0) {
p = 41;
}
}
} else {
if (p == 1) {
v9 = 5;
if (basePowers[50] > 0) {
p = 50;
}
} else {
v9 = Math.floor(p / 10);
}
}
v2 = v9 * 10;
v3 = v2 + 6;
v1 = v2;
while (v1 < v3) {
if (basePowers[v1] > 0) {
v4 = 1;
break;
}
++v1;
}
if (!v4) {
v1 = 20;
while (v1 < 26) {
if (basePowers[v1] > 0) {
v4 = 1;
v2 = 20;
v3 = 26;
break;
}
++v1;
}
if (!v4) {
v1 = 30;
while (v1 < 36) {
if (basePowers[v1] > 0) {
v4 = 1;
v2 = 30;
v3 = 36;
break;
}
++v1;
}
}
if (!v4) {
v1 = 40;
while (v1 < 46) {
if (basePowers[v1] > 0) {
v4 = 1;
v2 = 40;
v3 = 46;
break;
}
++v1;
}
}
if (!v4) {
v1 = 50;
while (v1 < 56) {
if (basePowers[v1] > 0) {
v4 = 1;
v2 = 50;
v3 = 56;
break;
}
++v1;
}
}
}
v1 = v2;
while (v1 < v3) {
if (basePowers[v1] > 0) {
if (v1 > 19) {
expPowers[v1] += v5;
}
if (expPowers[v1] >= experienceLevel(basePowers[v1])) {
++basePowers[v1];
v7 = 1;
mensajes.push('=' + (getPowerName(v1, basePowers[v1], 0)).toLowerCase() + ' acquired');
}
}
++v1;
}
if (p > 19) {
if (v1 > 19) {
expPowers[p] += Math.ceil(c * 0.8);
}
if (expPowers[p] >= experienceLevel(basePowers[p])) {
++basePowers[p];
v7 = 1;
mensajes.push('=' + (getPowerName(p, basePowers[p], 0)).toLowerCase() + ' acquired');
}
}
expPowers[2] += Math.ceil(10000000 * porcS * v10[v9][0]);
expPowers[3] += Math.ceil(10000000 * porcS * v10[v9][1]);
expPowers[4] += Math.ceil(10000000 * porcS * v10[v9][2]);
v8 = baseAbilities.split(',');
if (expPowers[2] > 1000000) {
v5 = Math.floor(expPowers[2] / 1000000);
v8[0] = Number(v8[0]) + v5;
expPowers[2] -= v5 * 1000000;
mensajes.push('_+' + v5 + ' vigor');
v7 = 1;
}
if (expPowers[3] > 1000000) {
v5 = Math.floor(expPowers[3] / 1000000);
v8[1] = Number(v8[1]) + v5;
expPowers[3] -= v5 * 1000000;
mensajes.push('_+' + v5 + ' dexterity');
v7 = 1;
}
if (expPowers[4] > 1000000) {
v5 = Math.floor(expPowers[4] / 1000000);
v8[2] = Number(v8[2]) + v5;
expPowers[4] -= v5 * 1000000;
mensajes.push('_+' + v5 + ' spirit');
v7 = 1;
}
baseAbilities = v8.join(',');
return v7;
}
function incrementarPoderClase() {
var v1 = 0;
v1 = 10;
while (v1 < 20) {
if (basePowers[v1] > 0) {
basePowers[v1] = currentXPLevel;
mensajes.push('=' + (getPowerName(v1, basePowers[v1], 0)).toLowerCase() + ' acquired');
}
++v1;
}
}
function incrementarHabilidades() {
var v1 = new Array(0, 0, 0, 0, 0, 0, 0, 0);
var v2 = '=';
switch (pjClass) {
case 'Priest':
v1 = new Array(2, 6, 4, 12, 8, 8, 2, 6);
break;
case 'Dark Priest':
v1 = new Array(2, 6, 4, 12, 8, 8, 2, 6);
break;
case 'Paladin':
v1 = new Array(4, 4, 8, 8, 8, 8, 4, 4);
break;
case 'Seer':
v1 = new Array(4, 4, 8, 8, 8, 8, 4, 4);
break;
case 'Necromancer':
v1 = new Array(2, 6, 4, 12, 8, 8, 2, 6);
break;
case 'Dark Lord':
v1 = new Array(4, 4, 8, 8, 8, 8, 4, 4);
break;
case 'Stalker':
v1 = new Array(4, 4, 8, 8, 8, 8, 4, 4);
break;
case 'Barbarian':
v1 = new Array(6, 0, 14, 0, 10, 10, 6, 2);
break;
case 'Fighter':
v1 = new Array(6, 0, 12, 4, 10, 8, 6, 2);
break;
case 'Archer':
v1 = new Array(6, 0, 12, 4, 8, 10, 6, 2);
}
aux2 = baseAbilities.split(',');
aux2[3] = Number(aux2[3]) + v1[6];
aux2[4] = Number(aux2[4]) + v1[7];
aux2[5] = Number(aux2[5]) + v1[4];
aux2[6] = Number(aux2[6]) + v1[5];
aux2[7] = Number(aux2[7]) + v1[0];
aux2[8] = Number(aux2[8]) + v1[1];
aux2[9] = Number(aux2[9]) + v1[2];
aux2[10] = Number(aux2[10]) + v1[3];
if (v1[6] != 0) {
v2 += '+' + v1[6] + ' hp';
}
if (v1[7] != 0) {
v2 += ' +' + v1[7] + ' mp';
}
if (v1[4] != 0) {
v2 += ' +' + v1[4] + ' accuracy';
}
if (v1[5] != 0) {
v2 += ' +' + v1[5] + ' evasion';
}
if (v1[0] != 0) {
v2 += ' +' + v1[0] + ' attack';
}
if (v1[1] != 0) {
v2 += ' +' + v1[1] + ' magic';
}
if (v1[2] != 0) {
v2 += ' +' + v1[2] + ' defense';
}
if (v1[3] != 0) {
v2 += ' +' + v1[3] + ' resistance';
}
mensajes.push(v2);
baseAbilities = aux2.join(',');
return v1.join(',');
}
function pLevel() {
var v1 = 0;
var v2 = experienceLevel(currentXPLevel - 1);
v1 = (currentXP - v2) / (experienceLevel(currentXPLevel) - v2);
if (v1 < 0.001) {
v1 = 0.001;
return v1;
}
if (v1 > 1) {
v1 = 1;
}
return v1;
}
function fillPowerTable() {
powerTable.push({'Cate': 'Standard Skills', 'Name': 'Melee Attack', 'Type': 'Attack skill', 'Desc': 'A standard melee attack.', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 0, 'CIni2': 0, 'CInc1': 0, 'CInc2': 0, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': 'Standard Skills', 'Name': 'Ranged Attack', 'Type': 'Attack skill', 'Desc': 'A standard ranged attack.', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 0, 'CIni2': 0, 'CInc1': 0, 'CInc2': 0, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': '', 'Name': '', 'Type': '', 'Desc': '', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 0, 'CIni2': 0, 'CInc1': 0, 'CInc2': 0, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': '', 'Name': '', 'Type': '', 'Desc': '', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 0, 'CIni2': 0, 'CInc1': 0, 'CInc2': 0, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': '', 'Name': '', 'Type': '', 'Desc': '', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 0, 'CIni2': 0, 'CInc1': 0, 'CInc2': 0, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': '', 'Name': '', 'Type': '', 'Desc': '', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 0, 'CIni2': 0, 'CInc1': 0, 'CInc2': 0, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': '', 'Name': '', 'Type': '', 'Desc': '', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 0, 'CIni2': 0, 'CInc1': 0, 'CInc2': 0, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': '', 'Name': '', 'Type': '', 'Desc': '', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 0, 'CIni2': 0, 'CInc1': 0, 'CInc2': 0, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': '', 'Name': '', 'Type': '', 'Desc': '', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 0, 'CIni2': 0, 'CInc1': 0, 'CInc2': 0, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': '', 'Name': '', 'Type': '', 'Desc': '', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 0, 'CIni2': 0, 'CInc1': 0, 'CInc2': 0, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': 'Class Power', 'Name': 'Worshipper', 'Type': 'Innate Power', 'Desc': '+dmax --(+d2max)-- to magic', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 10, 'CIni2': 10, 'CInc1': 10, 'CInc2': 10, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': 'Class Power', 'Name': 'Duality', 'Type': 'Innate Power', 'Desc': '+dmax --(+d2max)-- to resistance', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 10, 'CIni2': 10, 'CInc1': 10, 'CInc2': 10, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': 'Class Power', 'Name': 'Redeemer', 'Type': 'Innate Power', 'Desc': '+dmax% --(+d2max%)-- to damage vs demons and undeads', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 4, 'CIni2': 4, 'CInc1': 4, 'CInc2': 4, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': 'Class Power', 'Name': 'Premonitions', 'Type': 'Innate Power', 'Desc': '+dmax to evasion and accuracy', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 10, 'CIni2': 10, 'CInc1': 10, 'CInc2': 10, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': 'Class Power', 'Name': 'Occultism', 'Type': 'Innate Power', 'Desc': '+dmax --(+d2max)-- to magic', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 10, 'CIni2': 10, 'CInc1': 10, 'CInc2': 10, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': 'Class Power', 'Name': 'Vampirism', 'Type': 'Innate Power', 'Desc': '+dmax --(+d2max)-- to hp and mp per hit', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 1, 'CIni2': 1, 'CInc1': 0.5, 'CInc2': 0.5, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': 'Class Power', 'Name': 'Stealth', 'Type': 'Innate Power', 'Desc': '+dmax --(+d2max)-- to evasion', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 20, 'CIni2': 20, 'CInc1': 20, 'CInc2': 20, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': 'Class Power', 'Name': 'Iron Skin', 'Type': 'Innate Power', 'Desc': '+dmax --(+d2max)-- to resistance', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 10, 'CIni2': 10, 'CInc1': 10, 'CInc2': 10, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': 'Class Power', 'Name': 'Affinity with weapons', 'Type': 'Innate Power', 'Desc': '+dmax --(+d2max)-- to attack and accuracy', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 10, 'CIni2': 10, 'CInc1': 10, 'CInc2': 10, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': 'Class Power', 'Name': 'Hawk Eye', 'Type': 'Innate Power', 'Desc': '+dmax --(+d2max)-- to accuracy', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 20, 'CIni2': 20, 'CInc1': 20, 'CInc2': 20, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': 'Holy Magic', 'Name': 'Spiritual Bolts', 'Type': 'Spell', 'Desc': 'Beams of holy energy.\nDamage: dmin-dmax x 3 --(d2min-d2max x 3)--', 'AoE': 0, 'HalfDam': 1, 'levelUp': 1, 'CIni1': 8, 'CIni2': 12, 'CInc1': 5, 'CInc2': 9, 'ManaIni': 3, 'ManaInc': 0.5, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': 'Holy Magic', 'Name': 'Solar Break', 'Type': 'Spell', 'Desc': 'Explosion of sacred magic. The enemies around you are knocked backwards.\nDamage: dmin-dmax --(d2min-d2max)--', 'AoE': 1, 'HalfDam': 1, 'levelUp': 1, 'CIni1': 40, 'CIni2': 80, 'CInc1': 30, 'CInc2': 70, 'ManaIni': 10, 'ManaInc': 0.5, 'Req': '20,1', 'LReq': 4});
powerTable.push({'Cate': 'Holy Magic', 'Name': 'Scourge of God', 'Type': 'Spell', 'Desc': 'Lightning strike with area of effect damage.\nDamage: dmin-dmax --(d2min-d2max)--', 'AoE': 1, 'HalfDam': 1, 'levelUp': 1, 'CIni1': 80, 'CIni2': 120, 'CInc1': 80, 'CInc2': 120, 'ManaIni': 30, 'ManaInc': 2, 'Req': '21,1', 'LReq': 8});
powerTable.push({'Cate': 'Holy Magic', 'Name': 'Cure', 'Type': 'Buff Spell', 'Desc': 'Heal yourself or an ally.\nHit points healed: +dmax --(+d2max)-- in 2 seconds', 'AoE': 0, 'HalfDam': 0, 'levelUp': 1, 'CIni1': 50, 'CIni2': 50, 'CInc1': 15, 'CInc2': 15, 'ManaIni': 10, 'ManaInc': 1, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': 'Holy Magic', 'Name': 'Bless', 'Type': 'Buff Spell', 'Desc': 'Hp and mana are increased for 90 seconds.\nHp: +dmax% --(+d2max%)--\nMana: +dmax% --(+d2max%)--', 'AoE': 0, 'HalfDam': 0, 'levelUp': 1, 'CIni1': 15, 'CIni2': 15, 'CInc1': 1, 'CInc2': 1, 'ManaIni': 20, 'ManaInc': 2, 'Req': '23,1', 'LReq': 4});
powerTable.push({'Cate': 'Holy Magic', 'Name': 'Sacred Might', 'Type': 'Buff Spell', 'Desc': 'Your damage is increased for 90 seconds. This power increases both types of damage: physical and magical.\nDamage: +dmax% --(+d2max%)--', 'AoE': 0, 'HalfDam': 0, 'levelUp': 1, 'CIni1': 15, 'CIni2': 15, 'CInc1': 1, 'CInc2': 1, 'ManaIni': 30, 'ManaInc': 3, 'Req': '24,1', 'LReq': 8});
powerTable.push({'Cate': '', 'Name': '', 'Type': '', 'Desc': '', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 0, 'CIni2': 0, 'CInc1': 0, 'CInc2': 0, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': '', 'Name': '', 'Type': '', 'Desc': '', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 0, 'CIni2': 0, 'CInc1': 0, 'CInc2': 0, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': '', 'Name': '', 'Type': '', 'Desc': '', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 0, 'CIni2': 0, 'CInc1': 0, 'CInc2': 0, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': '', 'Name': '', 'Type': '', 'Desc': '', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 0, 'CIni2': 0, 'CInc1': 0, 'CInc2': 0, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': 'Black Magic', 'Name': 'Dark Minion', 'Type': 'Bondage Spell', 'Desc': 'Take control of a undead. You can only have one servant at a time.\nTarget: skeleton or zombie\nMinion hit points: +dmax% --(+d2max%)--', 'AoE': 0, 'HalfDam': 0, 'levelUp': 1, 'CIni1': 50, 'CIni2': 50, 'CInc1': 5, 'CInc2': 5, 'ManaIni': 10, 'ManaInc': 1, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': 'Black Magic', 'Name': 'Possession', 'Type': 'Bondage Spell', 'Desc': 'Submit your enemies with your will and turn them against their former companions. You can only have one servant at a time.\nTarget: living enemy\nAttack of possesed enemy: +dmax% --(+d2max%)--', 'AoE': 0, 'HalfDam': 0, 'levelUp': 1, 'CIni1': 100, 'CIni2': 100, 'CInc1': 10, 'CInc2': 10, 'ManaIni': 20, 'ManaInc': 2, 'Req': '30,1', 'LReq': 8});
powerTable.push({'Cate': 'Black Magic', 'Name': 'Grim Dagger', 'Type': 'Spell', 'Desc': 'A throwing dagger imbued with black magic which will pierce everything in its path.\nDamage: dmin-dmax --(d2min-d2max)--', 'AoE': 0, 'HalfDam': 1, 'levelUp': 1, 'CIni1': 20, 'CIni2': 36, 'CInc1': 18, 'CInc2': 30, 'ManaIni': 3, 'ManaInc': 0.5, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': 'Black Magic', 'Name': 'Murk Blades', 'Type': 'Spell', 'Desc': 'Sharp shadows hit the marked area.\nDamage: dmin-dmax x 5 --(d2min-d2max x 5)--', 'AoE': 1, 'HalfDam': 1, 'levelUp': 1, 'CIni1': 10, 'CIni2': 20, 'CInc1': 10, 'CInc2': 20, 'ManaIni': 15, 'ManaInc': 0.75, 'Req': '32,1', 'LReq': 4});
powerTable.push({'Cate': 'Black Magic', 'Name': 'Rift', 'Type': 'Spell', 'Desc': 'A vortex of black magic hits an area.\nDamage: dmin-dmax --(d2min-d2max)--', 'AoE': 1, 'HalfDam': 1, 'levelUp': 1, 'CIni1': 90, 'CIni2': 130, 'CInc1': 90, 'CInc2': 130, 'ManaIni': 30, 'ManaInc': 2, 'Req': '33,1', 'LReq': 8});
powerTable.push({'Cate': 'Black Magic', 'Name': 'Mist', 'Type': 'Buff Spell', 'Desc': 'Increases your evasion by dmax% --(d2max%)-- for 90 seconds.', 'AoE': 0, 'HalfDam': 0, 'levelUp': 1, 'CIni1': 50, 'CIni2': 50, 'CInc1': 5, 'CInc2': 5, 'ManaIni': 20, 'ManaInc': 2, 'Req': '', 'LReq': 4});
powerTable.push({'Cate': '', 'Name': '', 'Type': '', 'Desc': '', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 0, 'CIni2': 0, 'CInc1': 0, 'CInc2': 0, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': '', 'Name': '', 'Type': '', 'Desc': '', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 0, 'CIni2': 0, 'CInc1': 0, 'CInc2': 0, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': '', 'Name': '', 'Type': '', 'Desc': '', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 0, 'CIni2': 0, 'CInc1': 0, 'CInc2': 0, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': '', 'Name': '', 'Type': '', 'Desc': '', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 0, 'CIni2': 0, 'CInc1': 0, 'CInc2': 0, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': 'Melee Combat', 'Name': 'Brutality', 'Type': 'Passive', 'Desc': 'Increases damage with melee weapons.\nDamage: +dmin% --(d2min%)--', 'AoE': 0, 'HalfDam': 0, 'levelUp': 1, 'CIni1': 100, 'CIni2': 100, 'CInc1': 10, 'CInc2': 10, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': 'Melee Combat', 'Name': 'Weapon Block', 'Type': 'Passive', 'Desc': 'You are able to block more attacks using your weapons, increasing evasion when using melee weapons.\n1-Handed weapons: +dmin% --(+d2min%)-- evasion\n2-Handed weapons: +dmax% --(+d2max%)-- evasion', 'AoE': 0, 'HalfDam': 0, 'levelUp': 1, 'CIni1': 10, 'CIni2': 20, 'CInc1': 1, 'CInc2': 2, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 4});
powerTable.push({'Cate': 'Melee Combat', 'Name': 'Amalgam', 'Type': 'Passive', 'Desc': 'The skilled warrior knows all the weaknesses and strengths of his armor which becomes a second skin to him.\nDefense: +dmax% --(+d2max%)--\nResistance: +dmax% --(+d2max%)--', 'AoE': 0, 'HalfDam': 0, 'levelUp': 1, 'CIni1': 25, 'CIni2': 25, 'CInc1': 2.5, 'CInc2': 2.5, 'ManaIni': 0, 'ManaInc': 0, 'Req': '41,1', 'LReq': 8});
powerTable.push({'Cate': 'Melee Combat', 'Name': 'Critical Hit', 'Type': 'Attack Skill', 'Desc': 'A localized blow which deals extra damage to your opponent.\nDamage: +dmax% --(+d2max%)--', 'AoE': 0, 'HalfDam': 0, 'levelUp': 1, 'CIni1': 150, 'CIni2': 150, 'CInc1': 15, 'CInc2': 15, 'ManaIni': 3, 'ManaInc': 0.5, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': 'Melee Combat', 'Name': 'Horizon Strike', 'Type': 'Attack Skill', 'Desc': 'A long range attack which will hit all enemies in line.\nDamage: +dmax% --(+d2max%)--', 'AoE': 1, 'HalfDam': 1, 'levelUp': 1, 'CIni1': 150, 'CIni2': 150, 'CInc1': 15, 'CInc2': 15, 'ManaIni': 6, 'ManaInc': 0.75, 'Req': '43,1', 'LReq': 4});
powerTable.push({'Cate': 'Melee Combat', 'Name': 'Devastation', 'Type': 'Attack Skill', 'Desc': 'A merciless attack which will hit all enemies in front of you.\nDamage: +dmax% --(+d2max%)--', 'AoE': 1, 'HalfDam': 1, 'levelUp': 1, 'CIni1': 300, 'CIni2': 250, 'CInc1': 25, 'CInc2': 25, 'ManaIni': 20, 'ManaInc': 1, 'Req': '44,1', 'LReq': 8});
powerTable.push({'Cate': '', 'Name': '', 'Type': '', 'Desc': '', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 0, 'CIni2': 0, 'CInc1': 0, 'CInc2': 0, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': '', 'Name': '', 'Type': '', 'Desc': '', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 0, 'CIni2': 0, 'CInc1': 0, 'CInc2': 0, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': '', 'Name': '', 'Type': '', 'Desc': '', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 0, 'CIni2': 0, 'CInc1': 0, 'CInc2': 0, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': '', 'Name': '', 'Type': '', 'Desc': '', 'AoE': 0, 'HalfDam': 0, 'levelUp': 0, 'CIni1': 0, 'CIni2': 0, 'CInc1': 0, 'CInc2': 0, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': 'Ranged Combat', 'Name': 'Marksmanship', 'Type': 'Passive', 'Desc': 'Your proficiency with bows allows you to deal more damage with localized shots.\nAttack is increased by +dmax% --(+d2max%)-- of your dexterity.', 'AoE': 0, 'HalfDam': 0, 'levelUp': 1, 'CIni1': 100, 'CIni2': 100, 'CInc1': 5, 'CInc2': 5, 'ManaIni': 0, 'ManaInc': 0, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': 'Ranged Combat', 'Name': 'Sidestep', 'Type': 'Passive', 'Desc': 'Your evasion is increased when you use ranged weapons.\nEvasion: +dmax% --(+d2max%)--', 'AoE': 0, 'HalfDam': 0, 'levelUp': 1, 'CIni1': 40, 'CIni2': 40, 'CInc1': 4, 'CInc2': 4, 'ManaIni': 0, 'ManaInc': 0, 'Req': '50,1', 'LReq': 4});
powerTable.push({'Cate': 'Ranged Combat', 'Name': 'Point Blank', 'Type': 'Passive', 'Desc': 'Your damage is increased when you hit an enemy at close distance with a bow.\nDamage: +dmax% --(+d2max%)--', 'AoE': 0, 'HalfDam': 0, 'levelUp': 1, 'CIni1': 40, 'CIni2': 40, 'CInc1': 4, 'CInc2': 4, 'ManaIni': 0, 'ManaInc': 0, 'Req': '50,3', 'LReq': 8});
powerTable.push({'Cate': 'Ranged Combat', 'Name': 'Composite Shot', 'Type': 'Attack Skill', 'Desc': 'A composite shot will release dmin --(d2min)-- arrows instead of just one.\nDamage: +dmax% --(+d2max%)-- each arrow', 'AoE': 0, 'HalfDam': 0, 'levelUp': 1, 'CIni1': 4, 'CIni2': 4, 'CInc1': 0.25, 'CInc2': 0.25, 'ManaIni': 3, 'ManaInc': 0.5, 'Req': '', 'LReq': 1});
powerTable.push({'Cate': 'Ranged Combat', 'Name': 'Incendiary', 'Type': 'Attack Skill', 'Desc': 'The arrow will explode upon impact, damaging all enemies in the area.\nExplosion damage: dmax% --(d2max%)--', 'AoE': 1, 'HalfDam': 1, 'levelUp': 1, 'CIni1': 400, 'CIni2': 400, 'CInc1': 30, 'CInc2': 30, 'ManaIni': 6, 'ManaInc': 0.5, 'Req': '', 'LReq': 4});
powerTable.push({'Cate': 'Ranged Combat', 'Name': 'Serpentine Arrow', 'Type': 'Attack Skill', 'Desc': 'A serpentine arrow will hit multiple times with increased damage.\nNumber of hits: dmin --(d2min)--\nDamage: +dmax% --(+d2max%)-- each hit', 'AoE': 0, 'HalfDam': 0, 'levelUp': 1, 'CIni1': 5, 'CIni2': 5, 'CInc1': 0.25, 'CInc2': 0.25, 'ManaIni': 20, 'ManaInc': 1, 'Req': '53,1', 'LReq': 8});
}
function numeroRomano(n) {
var v1 = '';
var v4 = new Array('', 'I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX');
var v3 = new Array('', 'X', 'XX', 'XXX', 'XL', 'L', 'LX', 'LXX', 'LXXX', 'XC', 'C');
if (n < 110) {
v1 = v3[Math.floor(n / 10)] + v4[n % 10];
}
return v1;
}
function getPowerReq(p, nvp) {
var v2 = 'Requirements: level ' + powerTable[p].LReq + ', ' + getPowerName((powerTable[p].Req.split(','))[0], (powerTable[p].Req.split(','))[1]);
if (powerTable[p].Req == '') {
v2 = 'Requirements: level ' + (powerTable[p].LReq + nvp);
}
return v2;
}
function getPowerName(p, l, mejora) {
var v1 = powerTable[p].Name;
var v2 = '#8E410D';
if (p > 9) {
v1 += ' ' + numeroRomano(l);
if (mejora) {
v1 += ' <font color=\'' + v2 + '\'> ( ' + numeroRomano(l + mejora) + ' )</font>';
}
}
return v1;
}
function getPowerDesc(p, l, mejora) {
var v3 = '';
var v2 = new Array();
var v6 = powerTable[p].CIni1 + powerTable[p].CInc1 * (l - 1);
var v7 = powerTable[p].CIni2 + powerTable[p].CInc2 * (l - 1);
var v5 = 0;
var v8 = 0;
var v1 = 0;
var v13 = 0;
var v11 = '#8E410D';
var v12 = '#003366';
if (p == 53 || p == 55) {
v7 = Math.floor((v6 - Math.floor(v6)) * 100 / Math.floor(v6));
v6 = Math.floor(v6);
if (p == 55) {
v7 = 100 + v7 * 2;
}
}
v2 = powerTable[p].Desc.split('dmin');
v3 = v2.join(String(v6));
v2 = v3.split('dmax');
v3 = v2.join(String(v7));
if (p > 9) {
if (mejora) {
v5 = powerTable[p].CIni1 + powerTable[p].CInc1 * (l + mejora - 1);
v8 = powerTable[p].CIni2 + powerTable[p].CInc2 * (l + mejora - 1);
if (p == 53 || p == 55) {
v8 = Math.floor((v5 - Math.floor(v5)) * 100 / Math.floor(v5));
v5 = Math.floor(v5);
if (p == 55) {
v8 = 100 + v8 * 2;
}
}
v2 = v3.split('--(d2min)--');
if (v5 != v6) {
v3 = v2.join('<font color=\'' + v11 + '\'> ( ' + v5 + ' ) </font>');
} else {
if (v2.length > 0) {
v1 = 1;
while (v1 < v2.length) {
if (v2[v1].charAt(0) == ' ') {
v2[v1] = v2[v1].substr(1);
}
v1 += 2;
}
}
v3 = v2.join('');
}
v2 = v3.split('d2min');
v3 = v2.join(String(v5));
v2 = v3.split('d2max');
v3 = v2.join(String(v8));
v2 = v3.split('--(');
v3 = v2.join('<font color=\'' + v11 + '\'> ( ');
v2 = v3.split(')--');
v3 = v2.join(' ) </font>');
} else {
v2 = v3.split('--(');
v1 = 1;
while (v1 < v2.length) {
v2[v1] = (v2[v1].split(')--'))[1];
++v1;
}
v1 = 1;
while (v1 < v2.length) {
if (v2[v1].charAt(0) == ' ') {
v2[v1] = v2[v1].substr(1);
}
v1 += 2;
}
v3 = v2.join('');
}
}
if (p == 53 || p == 55) {
if (mejora) {
if (v7 == 0 && v8 == 0) {
v2 = v3.split('\n');
v2.splice(v2.length - 1, 1);
v3 = v2.join('\n');
}
} else {
if (v7 == 0) {
v2 = v3.split('\n');
v2.splice(v2.length - 1, 1);
v3 = v2.join('\n');
}
}
}
if (powerTable[p].AoE) {
v3 += '\nArea of effect damage';
}
v3 += '\nType: ' + powerTable[p].Type;
if (mejora == undefined) {
mejora = 0;
}
if (powerTable[p].ManaIni != 0 || powerTable[p].ManaInc != 0) {
v3 += '\n<font color=\'' + v12 + '\'>Mana cost: ' + Math.floor(powerTable[p].ManaIni + powerTable[p].ManaInc * (l + mejora - 1)) + '</font>';
}
return v3;
}
function getPowerEffect(p, l, mejora) {
var v1 = powerTable[p].CIni1 + powerTable[p].CInc1 * (l + mejora - 1);
var v5 = powerTable[p].CIni2 + powerTable[p].CInc2 * (l + mejora - 1);
var v3 = v5 - v1;
var v4 = v1 + Math.round(Math.random() * v3);
return v4;
}
function getMinPowerEffect(p, l, mejora) {
var v1 = powerTable[p].CIni1 + powerTable[p].CInc1 * (l + mejora - 1);
return v1;
}
function getMaxPowerEffect(p, l, mejora) {
var v1 = powerTable[p].CIni2 + powerTable[p].CInc2 * (l + mejora - 1);
return v1;
}
function getArcherPowerEffectA(p, l, mejora) {
var v1 = Math.floor(powerTable[p].CIni1 + powerTable[p].CInc1 * (l + mejora - 1));
return v1;
}
function getArcherPowerEffectB(p, l, mejora) {
var v1 = powerTable[p].CIni1 + powerTable[p].CInc1 * (l + mejora - 1);
var v2 = Math.floor((v1 - Math.floor(v1)) * 100 / Math.floor(v1));
if (p == 55) {
v2 = 100 + v2 * 2;
}
return v2;
}
function getManaCost(p, l, mejora) {
var v1 = Math.floor(powerTable[p].ManaIni + powerTable[p].ManaInc * (l + mejora - 1));
return v1;
}
function availPowers(bP) {
var v7 = new String();
var v4 = new Array();
var v5 = new Array();
var v2 = new Array();
var v1 = 0;
var v3 = true;
var v6 = currentXPLevel;
v4 = bP.split(',');
v1 = 0;
while (v1 < powerTable.length) {
if (powerTable[v1].Name != '') {
if (powerTable[v1].levelUp && v6 >= powerTable[v1].LReq + Number(v4[v1])) {
if (powerTable[v1].Req == '') {
v5.push(v1);
} else {
v3 = true;
v2 = powerTable[v1].Req.split(',');
j = 0;
while (j < v2.length) {
if (v4[Number(v2[j])] < Number(v2[j + 1])) {
v3 = false;
}
j += 2;
}
if (v3) {
v5.push(v1);
}
}
}
}
++v1;
}
v7 = v5.join(',');
return v7;
}
function fillBD() {
itemBD.splice(0, itemBD.length);
relicBD.splice(0, relicBD.length);
itemBD.push('Wizard\'s Vestment;Silk;Armor;3;1,2;20;1;250;10;-;50;0;0;20;20;20;20;20;0;5;20;20;15;25;20;0;0;0');
itemBD.push('Armor;Leather;Armor;4;3,4;20;1;250;20;-;60;0;0;20;20;20;20;20;0;5;20;20;20;25;20;0;0;0');
itemBD.push('Light Plate Mail;Steel;Armor;5;5,6;20;5;500;40;-;75;0;0;20;20;20;20;20;0;5;20;20;25;25;20;0;0;0');
itemBD.push('Plate Mail;Steel;Armor;5;7,8;20;7;750;60;-;90;0;0;20;20;20;20;20;0;5;20;20;25;25;20;0;0;0');
itemBD.push('Full Plate Mail;Steel;Armor;6;9,10,11;20;9;1000;80;-;100;0;0;20;20;20;20;20;0;5;20;20;25;25;20;0;0;0');
itemBD.push('Archmage\'s Vestment;Silk;Armor;3;1,2;40;11;2500;25;-;100;0;0;40;40;40;40;40;0;10;40;40;40;50;40;0;0;0');
itemBD.push('Elven Armor;Leather;Armor;4;3,4;40;11;2500;50;-;125;0;0;40;40;40;40;40;0;10;40;40;40;50;40;0;0;0');
itemBD.push('Light Plate Mail;Adamantine;Armor;5;5,6;40;13;5000;80;-;150;0;0;40;40;40;40;40;0;10;40;40;50;50;40;0;0;0');
itemBD.push('Plate Mail;Adamantine;Armor;5;7,8;40;15;7500;110;-;180;0;0;40;40;40;40;40;0;10;40;40;50;50;40;0;0;0');
itemBD.push('Full Plate Mail;Adamantine;Armor;6;9,10,11;40;17;10000;140;-;200;0;0;40;40;40;40;40;0;10;40;40;50;50;40;0;0;0');
itemBD.push('Wizard\'s Helm;Leather;Helm;2;12;20;1;100;10;-;10;0;0;10;10;10;10;10;5;0;10;10;15;15;10;0;0;0');
itemBD.push('Helm;Steel;Helm;2;13;20;1;100;20;-;15;0;0;10;10;10;10;10;5;0;10;10;15;15;10;0;0;0');
itemBD.push('Horned Helm;Steel;Helm;3;14;20;5;250;35;-;20;0;0;10;10;10;10;10;5;0;10;10;15;15;10;0;0;0');
itemBD.push('Winged Helm;Steel;Helm;4;15;20;7;500;50;-;25;0;0;10;10;10;10;10;5;0;10;10;15;15;20;0;0;0');
itemBD.push('Archmage\'s Helm;Leather;Helm;2;12;40;9;250;20;-;20;0;0;20;20;20;20;20;10;0;20;20;30;30;20;0;0;0');
itemBD.push('Helm;Adamantine;Helm;2;13;40;9;500;40;-;30;0;0;20;20;20;20;20;10;0;20;20;30;30;20;0;0;0');
itemBD.push('Horned Helm;Adamantine;Helm;3;14;40;11;750;70;-;40;0;0;20;20;20;20;20;10;0;20;20;30;30;20;0;0;0');
itemBD.push('Winged Helm;Adamantine;Helm;4;15;40;13;1000;100;-;50;0;0;20;20;20;20;20;10;0;20;20;30;30;40;0;0;0');
itemBD.push('Small Shield;Steel;Shield;10;16;20;1;200;20;-;0;0;40;10;10;10;10;10;5;10;10;10;15;15;0;0;0;0');
itemBD.push('Round Shield;Steel;Shield;11;17;20;3;400;40;-;0;0;50;10;10;10;10;10;5;10;10;10;15;15;0;0;0;0');
itemBD.push('Tower Shield;Steel;Shield;12;18;20;5;600;60;-;0;0;60;10;10;10;10;10;5;10;10;10;15;15;0;0;0;0');
itemBD.push('Small Shield;Adamantine;Shield;10;16;40;11;1000;40;-;0;0;40;20;20;20;20;20;10;20;20;20;30;30;10;0;0;0');
itemBD.push('Round Shield;Adamantine;Shield;11;17;40;13;2500;80;-;0;0;50;20;20;20;20;20;10;20;20;20;30;30;10;0;0;0');
itemBD.push('Tower Shield;Adamantine;Shield;12;18;40;15;5000;110;-;0;0;60;20;20;20;20;20;10;20;20;20;30;30;10;0;0;0');
itemBD.push('Short Sword;Steel;Sword-1H;2;19,20;20;1;100;10;-;0;4-16;10;10;10;10;10;10;10;5;10;10;0;0;10;20;20;10');
itemBD.push('Long Sword;Steel;Sword-1H;3;21,22;20;3;200;25;-;0;12-20;15;10;10;10;10;10;10;5;10;10;0;0;10;20;20;15');
itemBD.push('Bastard Sword;Steel;Sword-1H;3;23,24;20;5;400;40;-;0;12-24;20;10;10;10;10;10;10;5;10;10;0;0;10;20;20;15');
itemBD.push('Giant Sword;Steel;Sword-2H;3;25,26;20;7;500;-;60;0;32-76;25;20;20;20;20;20;20;10;20;20;0;0;20;40;40;30');
itemBD.push('Axe;Steel;Axe-1H;4;27,28;20;1;100;10;-;0;8-14;5;10;10;10;10;10;10;5;10;10;0;0;10;20;20;10');
itemBD.push('Battle Axe;Steel;Axe-1H;4;29,30;20;4;250;45;-;0;16-24;10;10;10;10;10;10;10;5;10;10;0;0;10;20;20;15');
itemBD.push('Giant Axe;Steel;Axe-2H;5;31,32;20;7;500;-;70;0;40-80;15;20;20;20;20;20;20;10;20;20;0;0;20;40;40;30');
itemBD.push('Hammer;Steel;Hammer-1H;6;33;20;1;100;10;-;0;10-14;4;10;10;10;10;10;10;5;10;10;0;0;10;20;20;10');
itemBD.push('War Hammer;Steel;Hammer-1H;6;34;20;4;250;50;-;0;20-24;8;10;10;10;10;10;10;5;10;10;0;0;10;20;20;15');
itemBD.push('Maul;Steel;Hammer-2H;7;35;20;7;500;-;80;0;60-72;12;20;20;20;20;20;20;10;20;20;0;0;20;40;40;30');
itemBD.push('Staff;Wood;Staff;8;39;20;1;100;-;10;0;16-28;30;20;20;20;20;20;20;10;20;20;0;0;30;40;40;25');
itemBD.push('Short Bow;Wood;Bow;9;36;20;1;100;-;10;0;6-12;0;20;20;20;20;20;20;10;20;20;0;0;10;20;20;10');
itemBD.push('Long Bow;Wood;Bow;9;37;20;4;250;-;25;0;8-16;0;20;20;20;20;20;20;10;20;20;0;0;10;20;20;15');
itemBD.push('Composite Bow;Wood;Bow;9;38;20;7;500;-;40;0;10-20;0;20;20;20;20;20;20;10;20;20;0;0;10;20;20;15');
itemBD.push('Short Sword;Adamantine;Sword-1H;2;19,20;40;11;1000;50;-;0;8-32;10;20;20;20;20;20;20;10;20;20;0;0;20;40;40;30');
itemBD.push('Long Sword;Adamantine;Sword-1H;3;21,22;40;13;2000;65;-;0;24-40;15;20;20;20;20;20;20;10;20;20;0;0;20;40;40;40');
itemBD.push('Bastard Sword;Adamantine;Sword-1H;3;23,24;40;15;4000;80;-;0;24-48;20;20;20;20;20;20;20;10;20;20;0;0;20;40;40;40');
itemBD.push('Giant Sword;Adamantine;Sword-2H;3;25,26;40;17;5000;-;120;0;64-152;25;40;40;40;40;40;40;20;40;40;0;0;40;80;80;80');
itemBD.push('Axe;Adamantine;Axe-1H;4;27,28;40;11;1000;45;-;0;16-28;5;20;20;20;20;20;20;10;20;20;0;0;20;40;40;30');
itemBD.push('Battle Axe;Adamantine;Axe-1H;4;29,30;40;14;2500;90;-;0;32-48;10;20;20;20;20;20;20;10;20;20;0;0;20;40;40;40');
itemBD.push('Giant Axe;Adamantine;Axe-2H;5;31,32;40;17;5000;-;130;0;80-160;15;40;40;40;40;40;40;20;40;40;0;0;40;80;80;80');
itemBD.push('Hammer;Adamantine;Hammer-1H;6;33;40;11;1000;50;-;0;20-28;4;20;20;20;20;20;20;10;20;20;0;0;20;40;40;30');
itemBD.push('War Hammer;Adamantine;Hammer-1H;6;34;40;14;2500;100;-;0;40-48;8;20;20;20;20;20;20;10;20;20;0;0;20;40;40;40');
itemBD.push('Maul;Adamantine;Hammer-2H;7;35;40;17;5000;-;140;0;120-144;12;40;40;40;40;40;40;20;40;40;0;0;40;80;80;80');
itemBD.push('Elven Staff;Oak;Staff;8;39;40;11;1000;-;25;0;32-56;30;40;40;40;40;40;40;20;40;40;0;0;60;80;80;60');
itemBD.push('Elven Short Bow;Oak;Bow;9;36;40;11;1000;-;25;0;12-24;0;40;40;40;40;40;40;20;40;40;0;0;20;40;40;30');
itemBD.push('Elven Long Bow;Oak;Bow;9;37;40;14;2500;-;50;0;16-32;0;40;40;40;40;40;40;20;40;40;0;0;20;40;40;40');
itemBD.push('Elven Composite Bow;Oak;Bow;9;38;40;17;5000;-;75;0;20-40;0;40;40;40;40;40;40;20;40;40;0;0;20;40;40;40');
itemBD.push('Cape;;Accessory;1;41;40;1;250;0;-;0;0;0;20;20;20;20;20;0;10;20;20;5;5;0;0;0;0');
itemBD.push('Ring;;Accessory;1;45,46,47;40;3;500;0;-;0;0;0;20;20;20;20;20;10;10;20;20;0;5;10;20;20;0');
itemBD.push('Amulet;;Accessory;1;42,43,44;40;3;500;0;-;0;0;0;20;20;20;20;20;0;10;20;20;0;5;10;20;20;0');
itemBD.push('Tome;;Accessory;1;40;40;7;1000;0;-;0;0;0;0;0;20;20;20;0;0;0;20;0;5;40;0;0;0');
relicBD.push('Covenant,Wizard\'s Vestment,Silk,3,Armor,6,2,0,250,1,10,-,50,0,0,0,0,0,10,10,0,0,0,10,0,0,0,0,10,0,0');
relicBD.push('Sanctum,Wizard\'s Vestment,Silk,3,Armor,2,2,2,250,4,10,-,50,0,0,0,0,20,0,0,0,0,0,0,5,5,10,0,0,0,0');
relicBD.push('Den,Armor,Leather,3,Armor,7,3,4,250,1,20,-,60,0,0,0,10,0,0,0,5,5,0,0,2,0,0,0,0,0,1');
relicBD.push('Duel,Armor,Leather,3,Armor,4,4,3,250,4,20,-,60,0,0,8,8,0,0,0,0,0,0,0,7,0,0,0,0,10,1');
relicBD.push('Cindertank,Light Plate Mail,Steel,3,Armor,8,5,10,500,12,40,-,75,0,0,0,0,0,0,0,0,0,0,0,10,10,0,20,20,0,2');
relicBD.push('Boneshell,Plate Mail,Steel,3,Armor,8,9,9,750,12,60,-,90,0,0,10,0,0,0,0,0,10,0,0,23,25,0,0,0,0,3');
relicBD.push('Ataud,Full Plate Mail,Steel,3,Armor,5,10,0,1000,16,80,-,100,0,0,0,0,0,50,0,0,0,0,0,25,30,10,0,0,0,4');
relicBD.push('Nomad Hood,Wizard\'s Helm,Leather,3,Helm,0,12,5,100,1,10,-,10,0,0,0,0,0,0,0,0,0,5,5,2,2,0,0,0,0,10');
relicBD.push('Verbo,Wizard\'s Helm,Leather,3,Helm,6,12,4,100,1,10,-,10,0,0,0,0,10,5,5,0,0,0,0,0,0,10,0,5,0,10');
relicBD.push('Defiant Helmet,Helm,Steel,3,Helm,6,13,0,100,1,20,-,15,0,0,5,0,0,5,0,0,0,0,0,4,0,0,0,10,0,11');
relicBD.push('Acumen,Helm,Steel,3,Helm,2,13,5,100,4,20,-,15,0,0,0,0,0,0,0,0,0,5,5,7,5,0,0,0,0,11');
relicBD.push('Eldritch Crown,Horned Helm,Steel,3,Helm,15,14,10,500,12,50,-,25,0,0,10,10,10,0,0,0,0,0,0,15,10,20,0,0,0,13');
relicBD.push('Mimic,Winged Helm,Steel,3,Helm,8,15,2,250,12,35,-,20,0,0,10,0,10,0,0,0,0,0,0,20,12,0,0,0,10,12');
relicBD.push('Hoja,Small Shield,Steel,3,Shield,1,16,2,200,1,20,-,0,0,40,0,0,0,0,0,25,5,0,0,5,5,10,5,5,0,18');
relicBD.push('Mirror,Round Shield,Steel,3,Shield,9,17,0,400,6,40,-,0,0,50,10,0,10,0,0,0,25,0,0,15,15,0,0,0,0,19');
relicBD.push('Soul Canvas,Tower Shield,Steel,3,Shield,14,18,8,600,12,60,-,0,0,60,10,10,10,0,0,0,0,0,0,10,10,10,0,0,0,20');
relicBD.push('Oxide,Short Sword,Steel,3,Sword-1H,6,19,6,100,1,10,-,0,4-16,10,0,0,0,0,0,5,0,5,0,0,4,0,0,0,5,24');
relicBD.push('Chill,Short Sword,Steel,3,Sword-1H,3,20,7,100,4,10,-,0,4-16,10,0,0,0,0,0,10,0,10,0,0,0,0,0,10,8,24');
relicBD.push('Aurora,Long Sword,Steel,3,Sword-1H,5,22,8,200,8,25,-,0,12-20,15,0,0,0,0,0,0,5,12,12,0,10,10,0,0,9,25');
relicBD.push('Bloodvein,Bastard Sword,Steel,3,Sword-1H,4,23,2,400,12,40,-,0,12-24,20,0,0,0,30,0,0,0,15,0,0,0,0,20,0,19,26');
relicBD.push('Sigurd\'s Blade,Giant Sword,Steel,3,Sword-2H,6,25,2,500,12,-,60,0,32-76,25,45,0,0,0,0,0,10,0,0,0,0,0,30,30,46,27');
relicBD.push('Direrazor,Axe,Steel,3,Axe-1H,6,27,4,100,4,10,-,0,8-14,5,5,5,0,0,0,0,0,5,0,0,0,0,0,0,12,28');
relicBD.push('Silvercross,Battle Axe,Steel,3,Axe-1H,8,30,10,250,8,45,-,0,16-24,10,10,10,10,0,0,0,0,0,0,0,0,10,0,0,7,29');
relicBD.push('Guillotine,Giant Axe,Steel,3,Axe-2H,7,31,9,500,12,-,70,0,40-80,15,15,15,0,0,0,15,0,0,0,0,0,0,0,0,35,30');
relicBD.push('Shillelagh,Hammer,Steel,3,Hammer-1H,14,33,3,100,1,10,-,0,10-14,4,5,0,0,0,0,0,2,5,0,0,0,0,10,0,6,31');
relicBD.push('Sequel,Hammer,Steel,3,Hammer-1H,7,33,9,100,4,10,-,0,10-14,4,10,0,0,0,0,5,0,5,0,0,0,0,0,0,10,31');
relicBD.push('Blaze,War Hammer,Steel,3,Hammer-1H,6,34,10,250,8,50,-,0,20-24,8,8,0,8,0,0,0,0,0,0,0,4,10,0,0,10,32');
relicBD.push('Wreck,Maul,Steel,3,Hammer-2H,13,35,5,500,12,-,80,0,60-72,12,20,0,0,0,0,0,0,15,0,0,0,0,40,0,30,33');
relicBD.push('Praxis,Staff,Wood,3,Staff,15,39,8,100,1,-,10,0,16-28,30,5,0,5,0,10,0,0,0,0,0,0,10,0,0,0,34');
relicBD.push('Trick,Staff,Wood,3,Staff,20,39,2,100,8,-,10,0,16-28,30,0,0,10,0,0,10,25,0,0,0,0,20,0,0,0,34');
relicBD.push('Sliver Beat,Short Bow,Wood,3,Bow,0,36,8,100,1,-,10,0,6-12,0,0,10,0,0,0,0,0,0,0,0,0,0,5,5,5,35');
relicBD.push('Lyre,Long Bow,Wood,3,Bow,24,37,5,250,6,-,25,0,8-16,0,0,10,10,0,0,0,0,0,0,0,0,10,0,0,12,36');
relicBD.push('Emerald Shot,Composite Bow,Wood,3,Bow,20,38,7,500,12,-,40,0,10-20,0,0,0,0,0,0,10,0,10,0,0,4,0,20,20,20,37');
relicBD.push('Spiral of Bones,Ring,,3,Accessory,9,47,4,500,1,0,-,0,0,0,0,0,0,0,0,0,0,10,0,2,2,0,0,0,5,53');
relicBD.push('Tempest,Ring,,3,Accessory,6,46,3,500,8,0,-,0,0,0,0,0,0,0,0,10,10,0,20,4,4,0,0,10,0,53');
relicBD.push('Ring of the Nibelungs,Ring,,3,Accessory,5,45,2,500,16,0,-,0,0,0,10,10,10,0,0,0,0,0,0,0,0,20,0,0,0,53');
relicBD.push('Gladiator\'s Seal,Ring,,3,Accessory,1,45,4,500,16,0,-,0,0,0,20,0,0,0,0,0,0,10,0,2,2,0,11,0,0,53');
relicBD.push('Memento,Amulet,,3,Accessory,5,42,7,500,1,0,-,0,0,0,0,0,5,0,0,0,0,0,0,2,2,10,0,0,0,54');
relicBD.push('Azurechain,Amulet,,3,Accessory,3,43,5,500,8,0,-,0,0,0,5,5,5,0,0,0,0,0,0,0,0,10,10,10,0,54');
relicBD.push('Primaeval Token,Amulet,,3,Accessory,7,43,10,500,16,0,-,0,0,0,20,0,0,0,0,0,0,10,0,4,4,0,0,0,10,54');
relicBD.push('Lair,Cape,,3,Accessory,1,41,7,250,1,0,-,0,0,0,0,5,0,0,0,0,5,0,0,2,2,0,0,0,0,52');
relicBD.push('Crimson Host,Cape,,3,Accessory,0,41,8,250,12,0,-,0,0,0,10,10,0,0,0,0,0,0,0,5,5,0,10,0,0,52');
relicBD.push('Conflict,Tome,,3,Accessory,2,40,7,1000,1,0,-,0,0,0,5,5,5,0,0,0,0,5,5,0,0,0,0,0,0,55');
relicBD.push('Necronomicon,Tome,,3,Accessory,0,40,9,1000,16,0,-,0,0,0,0,0,20,0,0,0,0,0,10,0,4,40,0,0,0,55');
relicBD.push('Mantle of Shooting Stars,Archmage\'s Vestment,Silk,3,Armor,5,2,10,2500,25,25,-,100,0,0,25,0,25,0,0,0,0,0,0,20,25,30,0,20,0,5');
relicBD.push('Quiron\'s Coat,Elven Armor,Leather,3,Armor,1,3,5,2500,25,50,-,125,0,0,25,25,0,0,0,0,0,0,0,30,25,20,0,0,15,6');
relicBD.push('Achilles\' Cuirass,Light Plate Mail,Adamantine,3,Armor,5,6,0,5000,25,80,-,150,0,0,50,50,0,0,0,0,0,0,0,35,40,0,20,20,0,7');
relicBD.push('Hefesto\'s Plates,Plate Mail,Adamantine,3,Armor,7,8,0,7500,25,110,-,180,0,0,50,0,0,50,0,0,0,0,0,41,50,0,0,0,0,8');
relicBD.push('Dragon Scales,Full Plate Mail,Adamantine,3,Armor,4,11,2,10000,25,140,-,200,0,0,25,25,25,0,0,0,0,0,0,50,60,10,0,0,25,9');
relicBD.push('Lunatic\'s Hat,Archmage\'s Helm,Leather,3,Helm,7,12,10,250,25,20,-,20,0,0,0,0,25,0,0,0,25,0,0,16,10,20,0,20,10,14');
relicBD.push('Demoncreed,Horned Helm,Adamantine,3,Helm,4,14,5,750,25,70,-,40,0,0,40,0,0,0,0,0,0,0,0,32,20,0,20,0,10,16');
relicBD.push('Hermes\' Visor,Winged Helm,Adamantine,3,Helm,9,15,2,1000,25,100,-,50,0,0,10,10,10,0,0,0,0,50,50,20,15,10,0,0,0,17');
relicBD.push('Direward,Round Shield,Adamantine,3,Shield,5,17,2,2500,25,80,-,0,0,50,50,0,0,0,0,0,0,125,0,25,25,10,0,0,50,22');
relicBD.push('Scaeva\'s Emblem,Tower Shield,Adamantine,3,Shield,8,18,10,5000,25,110,-,0,0,60,50,50,0,0,0,0,20,0,0,50,50,0,20,0,0,23');
relicBD.push('Summoner\'s Edge,Short Sword,Adamantine,3,Sword-1H,1,19,5,1000,25,50,-,0,8-32,10,0,0,50,0,0,25,0,0,25,0,10,40,16,16,0,38');
relicBD.push('Joyeuse,Long Sword,Adamantine,3,Sword-1H,0,22,2,2000,25,65,-,0,24-40,15,25,25,0,0,0,25,10,50,0,0,0,10,16,16,60,39');
relicBD.push('Tizona,Giant Sword,Adamantine,3,Sword-2H,0,26,5,5000,25,-,120,0,64-152,25,100,0,0,0,0,50,0,50,0,0,0,0,40,40,100,41');
relicBD.push('Frostwing,Battle Axe,Adamantine,3,Axe-1H,3,30,5,2500,25,90,-,0,32-48,10,25,25,25,0,0,20,0,1,0,0,0,40,0,20,40,43');
relicBD.push('Myth of Creta,Giant Axe,Adamantine,3,Axe-2H,4,32,2,5000,25,-,130,0,80-160,15,50,0,50,0,0,40,20,40,0,0,0,0,80,0,80,44');
relicBD.push('Skullforge,Hammer,Adamantine,3,Hammer-1H,4,33,1,1000,25,50,-,0,20-28,4,50,0,0,0,0,25,0,25,0,0,0,20,20,0,60,45');
relicBD.push('Quake,Maul,Adamantine,3,Hammer-2H,5,35,3,5000,25,-,140,0,120-144,12,50,0,0,0,0,25,0,50,0,40,0,0,40,40,132,47');
relicBD.push('Eon,Elven Staff,Oak,3,Staff,9,39,5,1000,25,-,25,0,32-56,30,0,0,80,0,0,50,35,0,50,0,20,80,40,40,80,48');
relicBD.push('Epiro,Elven Short Bow,Oak,3,Bow,1,36,0,1000,25,-,25,0,12-24,0,50,50,50,0,0,25,25,25,0,0,0,0,0,0,44,49');
relicBD.push('Artemisa\'s Bow,Elven Long Bow,Oak,3,Bow,4,37,5,2500,25,-,50,0,16-32,0,75,75,75,0,0,25,0,25,0,0,0,80,32,0,84,50');
relicBD.push('Lion Skin,Cape,,3,Accessory,5,41,1,250,25,0,-,0,0,0,25,0,0,0,0,0,0,0,0,15,15,20,20,20,0,52');
relicBD.push('Ouroboros,Ring,,3,Accessory,1,45,5,500,25,0,-,0,0,0,25,25,25,0,0,0,0,25,25,0,0,30,12,12,0,53');
relicBD.push('Horus\'s Eye,Amulet,,3,Accessory,7,43,1,500,25,0,-,0,0,0,40,0,40,0,0,0,0,0,0,10,10,20,0,0,20,54');
relicBD.push('Salomon\'s Seal,Amulet,,3,Accessory,5,44,2,500,25,0,-,0,0,0,0,0,50,50,50,0,0,0,0,0,0,40,16,16,0,54');
relicBD.push('Astaroth\'s Compendium,Tome,,3,Accessory,0,40,10,1000,25,0,-,0,0,0,50,50,50,0,0,0,0,0,0,0,0,50,0,0,0,55');
}
function instanciarItem(icad) {
var v1 = new Array();
var v2 = false;
v1 = icad.split(' ');
if (v1[1] == 'CLVL') {
v1[1] = currentXPLevel;
icad = v1.join(' ');
}
if (v1[0] == 'RANDOM' || v1[0] == 'ANY' || v1[0] == 'RELIC' || v1[0] == 'GOLD' || v1[0] == 'POTION') {
v2 = true;
} else {
if (v1[0] == 'ANY+' || v1[0] == 'ANY++' || v1[0] == 'MAGIC' || v1[0] == 'GRAND' || v1[0] == 'ANCIENT') {
v2 = true;
} else {
if (v1[0] == 'GOLD+' || v1[0] == 'GOLD++' || v1[0] == 'HELM' || v1[0] == 'ARMOR' || v1[0] == 'WEAPON' || v1[0] == 'SHIELD' || v1[0] == 'ACC') {
v2 = true;
} else {
if (v1[0] == 'Ring' || v1[0] == 'Amulet' || v1[0] == 'Tome' || v1[0] == 'BOW' || v1[0] == 'AXE' || v1[0] == 'SWORD' || v1[0] == 'HAMMER' || v1[0] == 'STAFF') {
v2 = true;
}
}
}
}
if (v2) {
icad = genItem(icad);
}
return icad;
}
function genItem(tipo) {
var v8 = -1;
var v6 = 0;
var v4 = 0;
var v1 = 0;
var v5 = 0;
var v2 = new Array();
var v3 = new Array();
var v7 = new String('gold,30');
v2 = tipo.split(' ');
if (v2[0] == 'RANDOM') {
v1 = Math.random();
if (v1 < 0.15) {
tipo = 'POTION 0';
} else {
if (v1 < 0.35) {
if (Math.random() > 0.98) {
v2[0] = 'RELIC';
} else {
v2[0] = 'ANY';
}
} else {
v2[0] = 'GOLD';
}
}
}
if (tipo == 'POTION 0') {
v5 = Math.random();
v2[0] = 'POTION';
if (v5 < 0.65) {
v2[1] = '1';
} else {
if (v5 < 0.98) {
v2[1] = '2';
} else {
v2[1] = '3';
}
}
}
if (v2[0] == 'MAGIC') {
v2[0] = 'ANY';
v6 = 1;
} else {
if (v2[0] == 'GRAND') {
v2[0] = 'ANY';
v6 = 2;
} else {
if (v2[0] == 'ANCIENT') {
v2[0] = 'ANY';
v6 = 3;
}
}
}
if (v2[0] == 'ANY+') {
v2[0] = 'ANY';
v5 = Math.random();
if (v5 < 0.5) {
v6 = 2;
} else {
if (v5 < 0.95) {
v6 = 3;
} else {
v2[0] = 'RELIC';
}
}
}
if (v2[0] == 'ANY++') {
v2[0] = 'ANY';
v5 = Math.random();
if (v5 < 0.9) {
v6 = 2;
} else {
v2[0] = 'RELIC';
}
}
if (v6 == 0) {
v5 = Math.random();
if (v5 < 0.5) {
v6 = 1;
} else {
if (v5 < 0.85) {
v6 = 2;
} else {
v6 = 3;
}
}
}
if (generateHighML) {
v5 = Math.random();
if (v5 < 0.5) {
v6 = 2;
} else {
v6 = 3;
}
}
v4 = Number(v2[1]);
v3.splice(0, v3.length);
v2[2] = new Array();
switch (v2[0]) {
case 'ANY':
v1 = 0;
while (v1 < itemBD.length) {
v2[2] = itemBD[v1].split(';');
if (Number(v2[2][6]) <= v4) {
v3.push(v1);
}
++v1;
}
break;
case 'RELIC':
v1 = 0;
while (v1 < relicBD.length) {
v2[2] = relicBD[v1].split(',');
if (v2[2][9] <= v4) {
v3.push(relicBD[v1]);
}
++v1;
}
if (v3.length > 0) {
v7 = generarRelic(v3[Math.floor(Math.random() * v3.length)]);
}
v3.splice(0, v3.length);
break;
case 'HELM':
v1 = 0;
while (v1 < itemBD.length) {
v2[2] = itemBD[v1].split(';');
if (Number(v2[2][6]) <= v4) {
if (v2[2][2] == 'Helm') {
v3.push(v1);
}
}
++v1;
}
break;
case 'ARMOR':
v1 = 0;
while (v1 < itemBD.length) {
v2[2] = itemBD[v1].split(';');
if (Number(v2[2][6]) <= v4) {
if (v2[2][2] == 'Armor') {
v3.push(v1);
}
}
++v1;
}
break;
case 'SWORD':
v1 = 0;
while (v1 < itemBD.length) {
v2[2] = itemBD[v1].split(';');
if (Number(v2[2][6]) <= v4) {
if (v2[2][2] == 'Sword-1H' || v2[2][2] == 'Sword-2H') {
v3.push(v1);
}
}
++v1;
}
break;
case 'AXE':
v1 = 0;
while (v1 < itemBD.length) {
v2[2] = itemBD[v1].split(';');
if (Number(v2[2][6]) <= v4) {
if (v2[2][2] == 'Axe-1H' || v2[2][2] == 'Axe-2H') {
v3.push(v1);
}
}
++v1;
}
break;
case 'HAMMER':
v1 = 0;
while (v1 < itemBD.length) {
v2[2] = itemBD[v1].split(';');
if (Number(v2[2][6]) <= v4) {
if (v2[2][2] == 'Hammer-1H' || v2[2][2] == 'Hammer-2H') {
v3.push(v1);
}
}
++v1;
}
break;
case 'BOW':
v1 = 0;
while (v1 < itemBD.length) {
v2[2] = itemBD[v1].split(';');
if (Number(v2[2][6]) <= v4) {
if (v2[2][2] == 'Bow') {
v3.push(v1);
}
}
++v1;
}
break;
case 'STAFF':
v1 = 0;
while (v1 < itemBD.length) {
v2[2] = itemBD[v1].split(';');
if (Number(v2[2][6]) <= v4) {
if (v2[2][2] == 'Staff') {
v3.push(v1);
}
}
++v1;
}
break;
case 'WEAPON':
v1 = 0;
while (v1 < itemBD.length) {
v2[2] = itemBD[v1].split(';');
if (Number(v2[2][6]) <= v4) {
if (v2[2][2] == 'Sword-1H' || v2[2][2] == 'Axe-1H' || v2[2][2] == 'Hammer-1H' || v2[2][2] == 'Sword-2H' || v2[2][2] == 'Axe-2H' || v2[2][2] == 'Hammer-2H' || v2[2][2] == 'Staff' || v2[2][2] == 'Bow') {
v3.push(v1);
}
}
++v1;
}
break;
case 'SHIELD':
v1 = 0;
while (v1 < itemBD.length) {
v2[2] = itemBD[v1].split(';');
if (Number(v2[2][6]) <= v4) {
if (v2[2][2] == 'Shield') {
v3.push(v1);
}
}
++v1;
}
break;
case 'ACC':
v1 = 0;
while (v1 < itemBD.length) {
v2[2] = itemBD[v1].split(';');
if (Number(v2[2][6]) <= v4) {
if (v2[2][2] == 'Accessory') {
v3.push(v1);
}
}
++v1;
}
break;
case 'GOLD':
v5 = Math.round(v4 * Math.random()) + 15 + v4;
v7 = 'gold,' + v5;
break;
case 'GOLD+':
v5 = Math.round(v4 * Math.random() * 3) + 50 + 3 * v4;
v7 = 'gold,' + v5;
break;
case 'GOLD++':
v5 = Math.round(v4 * Math.random() * 25) + 500 + 25 * v4;
v7 = 'gold,' + v5;
break;
case 'POTION':
if (v2[1] == '3') {
v5 = 3 + Math.floor(Math.random() * 5);
} else {
v5 = Number(v2[1]);
}
v7 = 'potion,' + v5;
}
if (v3.length == 0) {
v1 = 0;
while (v1 < itemBD.length) {
v2[2] = itemBD[v1].split(';');
if (v2[2][0] == v2[0]) {
v3.push(v1);
break;
}
++v1;
}
}
if (v3.length > 0) {
v8 = v3[Math.floor(Math.random() * v3.length)];
if (v6 == 0 || v6 == undefined) {
v6 = 1;
}
v7 = createIt(v8, v6, v4);
}
return v7;
}
function generarRelic(baseRelic) {
var v6 = baseRelic;
var v1 = 0;
var v4 = 1;
var v7 = 0;
var v5 = 0;
var v8 = 0;
var v3 = 0;
var v2 = new Array();
v2 = v6.split(',');
v8 = Number(v2[30]);
aux = itemBD[v8].split(';');
if (currentXPLevel < 20) {
v5 = 10;
} else {
v5 = 20;
}
if (v5 > Number(aux[5])) {
v5 = Number(aux[5]);
}
v7 = v5 / Number(aux[5]);
v1 = Math.floor(Math.random() * 15);
if (Number(aux[13 + v1]) == 0 || Number(v2[15 + v1]) != 0) {
v1 = Math.floor(Math.random() * 15);
}
if (Number(aux[13 + v1]) == 0 || Number(v2[15 + v1]) != 0) {
v1 = Math.floor(Math.random() * 15);
}
if (Number(aux[13 + v1]) == 0 || Number(v2[15 + v1]) != 0) {
v1 = Math.floor(Math.random() * 15);
}
if (Number(aux[13 + v1]) == 0 || Number(v2[15 + v1]) != 0) {
v1 = Math.floor(Math.random() * 15);
}
if (Number(aux[13 + v1]) == 0 || Number(v2[15 + v1]) != 0) {
v1 = Math.floor(Math.random() * 15);
}
if (Math.random() < 0.5) {
v4 = -1;
}
for (;;) {
if (!(Number(aux[13 + v1]) == 0 || Number(v2[15 + v1]) != 0)) break;
v1 += v4;
++v3;
if (v1 > 14) {
v1 = 0;
}
if (v1 < 0) {
v1 = 14;
}
if (v3 > 50) {
} else {}
}
m = v7;
v2[15 + v1] = Math.ceil(Number(aux[13 + v1]) * m);
if (v1 == 11 || v1 == 12 || v1 == 13) {
if (v2[15 + v1] * magicStatsE[v1] < 1) {
v2[15 + v1] = 1 / magicStatsE[v1];
}
}
if (v2[15 + v1] < 1) {
v2[15 + v1] = 1;
}
v6 = v2.join(',');
return v6;
}
function createIt(index, mlev, lev) {
var v2 = new Array();
var v10 = new Array();
var v3 = new Array();
var v11 = ',,,1,,0,,,100,1,-,-,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0';
var v13 = '';
var v6 = 0;
var v1 = 0;
var v15 = 0;
var v7 = 1;
var v5 = 0;
var v4 = 0;
var v8 = 0;
v2 = itemBD[index].split(';');
v10 = v2[4].split(',');
v3 = v11.split(',');
if (lev > Number(v2[5])) {
lev = Number(v2[5]);
}
v7 = lev / Number(v2[5]);
while (v6 < mlev) {
v1 = Math.floor(Math.random() * 15);
if (Math.random() < 0.5) {
if (v2[2] == 'Sword-1H' || v2[2] == 'Axe-1H' || v2[2] == 'Hammer-1H' || v2[2] == 'Sword-2H' || v2[2] == 'Axe-2H' || v2[2] == 'Hammer-2H' || v2[2] == 'Bow') {
if (Math.random() < 0.8) {
v1 = 14;
if (Number(v3[15 + v1]) != 0) {
v1 = 5;
}
} else {
v1 = 5;
if (Number(v3[15 + v1]) != 0) {
v1 = 14;
}
}
} else {
if (v2[2] == 'Staff') {
v1 = 2;
} else {
if (v2[2] == 'Armor' || v2[2] == 'Helm' || v2[2] == 'Shield') {
if (Math.random() < 0.5) {
v1 = 9;
if (Number(v3[15 + v1]) != 0) {
v1 = 10;
}
} else {
v1 = 10;
if (Number(v3[15 + v1]) != 0) {
v1 = 9;
}
}
}
}
}
}
v4 = 0;
for (;;) {
if (!(Number(v2[13 + v1]) == 0 || Number(v3[15 + v1]) != 0)) break;
++v1;
++v4;
if (v1 > 14) {
v1 = 0;
}
if (v4 > 50) {
} else {}
}
v5 = Math.random() * v7;
v3[15 + v1] = Math.ceil(Number(v2[13 + v1]) * v5);
v8 = magicColor[v1];
if (v1 == 11 || v1 == 12 || v1 == 13) {
if (v3[15 + v1] * magicStatsE[v1] < 1) {
v3[15 + v1] = 1 / magicStatsE[v1];
}
}
if (v3[15 + v1] < 1) {
v3[15 + v1] = 1;
}
++v6;
}
v3[1] = v2[0];
v3[2] = v2[1];
v3[3] = mlev;
v3[4] = v2[2];
v3[5] = 0;
if (mlev >= 3 && Math.random() > 0.5) {
v3[5] = v8;
}
v3[6] = Number(v10[Math.floor(Math.random() * v10.length)]);
v3[7] = Math.ceil(Math.random() * 10);
v3[8] = v2[7];
v3[9] = lev;
v3[10] = v2[8];
v3[11] = v2[9];
v3[12] = v2[10];
v3[13] = v2[11];
v3[14] = v2[12];
v3[30] = index;
v11 = v3.join(',');
return v11;
}
function getItemDescription(s) {
var v2 = new String('');
var v1 = new Array();
v1 = s.split(',');
if (v1.length > 2) {
v2 = 'Type: ';
if (v1[4] == 'Helm') {
v2 += 'Helm';
} else {
if (v1[4] == 'Armor') {
v2 += 'Armor';
} else {
if (v1[4] == 'Shield') {
v2 += 'Shield';
} else {
if (v1[4] == 'Sword-1H' || v1[4] == 'Hammer-1H' || v1[4] == 'Axe-1H') {
v2 += 'One-Handed Melee Weapon';
} else {
if (v1[4] == 'Sword-2H' || v1[4] == 'Staff' || v1[4] == 'Hammer-2H' || v1[4] == 'Axe-2H') {
v2 += 'Two-Handed Melee Weapon';
} else {
if (v1[4] == 'Bow') {
v2 += 'Ranged Weapon';
} else {
v2 += 'Accessory';
}
}
}
}
}
}
return v2;
}
if (v1[0] == 'potion') {
if (v1[1] == '1' || v1[1] == '2') {
v2 = 'Type: Restoration Potion\nQuantity: 1';
} else {
v2 = 'Type: Enchantment\nQuantity: 1';
}
return v2;
}
if (v1[0] == 'gold') {
v2 = 'Type: Treasure\nQuantity: ' + v1[1];
return v2;
}
v2 = 'Type: Quest item';
return v2;
}
function getItemStats(s) {
var v10 = new String('');
var v1 = 0;
var v3 = -1;
var v7 = -1;
var v9 = -1;
var v2 = new String('');
var v5 = new Array('');
var v4 = new Array();
var v6 = new String('');
v5 = s.split(',');
if (v5[4] == 'Helm') {
v3 = 9;
} else {
if (v5[4] == 'Armor') {
v3 = 9;
} else {
if (v5[4] == 'Shield') {
v3 = 6;
} else {
if (v5[4] == 'Bow') {
v3 = 14;
} else {
if (v5[4] == 'Sword-1H' || v5[4] == 'Axe-1H' || v5[4] == 'Hammer-1H' || v5[4] == 'Sword-2H' || v5[4] == 'Axe-2H' || v5[4] == 'Hammer-2H' || v5[4] == 'Staff') {
v3 = 14;
v7 = 6;
}
}
}
}
}
if (v3 != -1) {
v2 = getItemStat(s, v3);
v6 = '';
if (v2 != '0') {
v6 = 'MAGIC!';
}
if (v3 == 14) {
if (v2 == '0') {
v2 = '0-0';
}
v4.push(v6 + magicStats[v3] + ': +' + String(Number((v2.split('-'))[0]) + Number((v5[13].split('-'))[0])) + ' to +' + String(Number((v2.split('-'))[1]) + Number((v5[13].split('-'))[1])));
} else {
if (v3 == 9) {
v4.push(v6 + magicStats[v3] + ': +' + String(Number(v2) + Number(v5[12])));
} else {
if (v3 == 6) {
v4.push(v6 + magicStats[v3] + ': +' + String(Number(v2) + Number(v5[14])) + '%');
} else {
if (v3 == 5) {
v4.push(v6 + magicStats[v3] + ': +' + v2 + '%');
} else {
v4.push(v6 + magicStats[v3] + ': +' + v2);
}
}
}
}
}
if (v7 != -1) {
v9 = v3;
v3 = v7;
v7 = v9;
v2 = getItemStat(s, v3);
v6 = '';
if (v2 != '0') {
v6 = 'MAGIC!';
}
if (v3 == 14) {
if (v2 == '0') {
v2 = '0-0';
}
v4.push(v6 + magicStats[v3] + ': +' + String(Number((v2.split('-'))[0]) + Number((v5[13].split('-'))[0])) + ' to +' + String(Number((v2.split('-'))[1]) + Number((v5[13].split('-'))[1])));
} else {
if (v3 == 9) {
v4.push(v6 + magicStats[v3] + ': +' + String(Number(v2) + Number(v5[12])));
} else {
if (v3 == 6) {
v4.push(v6 + magicStats[v3] + ': +' + String(Number(v2) + Number(v5[14])) + '%');
} else {
if (v3 == 5) {
v4.push(v6 + magicStats[v3] + ': +' + v2 + '%');
} else {
v4.push(v6 + magicStats[v3] + ': ' + v2);
}
}
}
}
}
v1 = 0;
while (v1 < 15) {
if (v1 != v3 && v1 != v7) {
v2 = getItemStat(s, v1);
if (v2 != '0') {
if (v1 == 5 || v1 == 6) {
v4.push('MAGIC!' + magicStats[v1] + ': +' + v2 + '%');
} else {
v4.push('MAGIC!' + magicStats[v1] + ': +' + v2);
}
}
}
++v1;
}
v10 = v4.join('\n');
return v10;
}
function getItemStat(s, n) {
var v3 = new String('0');
var v1 = new Array();
v1 = s.split(',');
v3 = String(Math.floor(magicStatsE[n] * Number(v1[n + 15])));
if (v1[4] == 'Helm' && n == 9) {
v3 = String(Math.floor(magicStatsE[n] * 0.5 * Number(v1[n + 15])));
}
if (n == 14 && Number(v1[n + 15]) != 0) {
if (v1[4] == 'Sword-2H') {
v3 = String(Math.floor(1.5 * Number(v1[n + 15]))) + '-' + String(Math.floor(5 * Number(v1[n + 15])));
}
if (v1[4] == 'Axe-2H') {
v3 = String(Math.floor(2 * Number(v1[n + 15]))) + '-' + String(Math.floor(5 * Number(v1[n + 15])));
}
if (v1[4] == 'Hammer-2H') {
v3 = String(Math.floor(2.5 * Number(v1[n + 15]))) + '-' + String(Math.floor(5 * Number(v1[n + 15])));
}
if (v1[4] == 'Sword-1H') {
v3 = String(Math.floor(1.5 * Number(v1[n + 15]))) + '-' + String(Math.floor(5 * Number(v1[n + 15])));
}
if (v1[4] == 'Axe-1H') {
v3 = String(Math.floor(2 * Number(v1[n + 15]))) + '-' + String(Math.floor(5 * Number(v1[n + 15])));
}
if (v1[4] == 'Hammer-1H') {
v3 = String(Math.floor(2.5 * Number(v1[n + 15]))) + '-' + String(Math.floor(5 * Number(v1[n + 15])));
}
if (v1[4] == 'Staff') {
v3 = String(Math.floor(2.5 * Number(v1[n + 15]))) + '-' + String(Math.floor(5 * Number(v1[n + 15])));
}
if (v1[4] == 'Bow') {
v3 = String(Math.floor(1 * Number(v1[n + 15]))) + '-' + String(Math.floor(4 * Number(v1[n + 15])));
}
}
if (n == 9 || n == 10) {
if (v1[4] == 'Armor') {
v3 = String(magicStatsE[n] * 2 * Number(v1[n + 15]));
}
}
if (n == 5 || n == 7 || n == 8) {
if (v1[4] == 'Sword-2H' || v1[4] == 'Axe-2H' || v1[4] == 'Hammer-2H' || v1[4] == 'Sword-1H' || v1[4] == 'Axe-1H' || v1[4] == 'Hammer-1H' || v1[4] == 'Staff' || v1[4] == 'Bow') {
v3 = String(magicStatsE[n] * 2 * Number(v1[n + 15]));
}
}
return v3;
}
function getItemReqs(s) {
var v2 = new String('');
var v1 = new Array();
v1 = s.split(',');
if (v1[4] == 'Helm' || v1[4] == 'Armor' || v1[4] == 'Shield') {
v2 = 'Vigor Required: ' + v1[10];
return v2;
}
if (v1[4] == 'Sword-1H' || v1[4] == 'Axe-1H' || v1[4] == 'Hammer-1H' || v1[4] == 'Staff' || v1[4] == 'Bow' || v1[4] == 'Sword-2H' || v1[4] == 'Axe-2H' || v1[4] == 'Hammer-2H') {
if (v1[4] == 'Bow') {
v2 = 'Vigor Required: ' + v1[11];
return v2;
}
if (v1[11] == '-') {
v2 = 'Vigor Required: ' + v1[10];
return v2;
}
v2 = 'Vigor Required: ' + v1[11];
}
return v2;
}
function getItemName(s) {
var v2 = new String('');
var v1 = new Array();
v1 = s.split(',');
if (v1.length > 2) {
if (v1[0] == '') {
if (v1[2] == '') {
v2 = magicLevel[Number(v1[3]) - 1] + ' ' + v1[1];
} else {
v2 = v1[1] + ' Of ' + magicLevel[Number(v1[3]) - 1] + ' ' + v1[2];
}
} else {
v2 = v1[0];
}
return v2;
}
if (v1[0] == 'potion') {
if (v1[1] == '1') {
v2 = 'Potion Of Health Restoration';
} else {
if (v1[1] == '2') {
v2 = 'Potion Of Magic Restoration';
} else {
if (v1[1] == '3') {
v2 = 'Corporal Enchanment';
} else {
if (v1[1] == '4') {
v2 = 'Spiritual Enchanment';
} else {
if (v1[1] == '5') {
v2 = 'Speed Enchanment';
} else {
if (v1[1] == '6') {
v2 = 'Master\'s Enchanment';
} else {
v2 = 'Hardening Enchanment';
}
}
}
}
}
}
return v2;
}
if (v1[0] == 'gold') {
v2 = 'Gold Coins';
return v2;
}
return v2;
}
function getItemMagicLevel(s) {
var v2 = new Array();
var v1 = 0;
var v3 = 0;
if (s != '' && s != undefined) {
v2 = s.split(',');
v1 = 0;
while (v1 < 15) {
if (Number(v2[v1 + 15]) != 0) {
++v3;
}
++v1;
}
}
return v3;
}
function getItemValue(s) {
var v3 = 0;
var v1 = 0;
var v4 = 0;
var v2 = new Array();
v2 = s.split(',');
if (v2.length > 2) {
v3 = Number(v2[8]);
v1 = 0;
while (v1 < 15) {
if (Number(v2[v1 + 15]) != 0) {
v4 = Number(v2[v1 + 15]);
v3 += v4 * enchantValue[magicStatsEN[v1]];
}
++v1;
}
v3 = Math.round(v3 / 3);
return v3;
}
if (v2[0] == 'potion') {
if (v2[1] == '1') {
v3 = 250;
return v3;
}
if (v2[1] == '2') {
v3 = 250;
return v3;
}
if (v2[1] == '3') {
v3 = enchantValue[0];
return v3;
}
if (v2[1] == '4') {
v3 = enchantValue[1];
return v3;
}
if (v2[1] == '5') {
v3 = enchantValue[2];
return v3;
}
if (v2[1] == '6') {
v3 = enchantValue[3];
return v3;
}
v3 = enchantValue[4];
}
return v3;
}
function getItemFrame(s) {
var v1 = -1;
var v2 = new Array(-1, 3, 3, 4, 4, 5, 5, 5, 5, 6, 6, 6, 2, 2, 3, 4, 10, 11, 12, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 6, 6, 7, 9, 9, 9, 8);
v1 = v2[Number((s.split(','))[6])];
if (v1 == undefined) {
v1 = -1;
}
return v1;
}
function sumaItems(s, n) {
var v9 = new String('');
var v7 = new Array();
var v1 = new Array();
var v3 = 0;
var v4 = 0;
var v2 = new String('');
var v6 = 0;
var v8 = 0;
v7 = s.split(';');
v6 = 0;
while (v6 < v7.length) {
if (v7[v6] != '') {
v1 = v7[v6].split(',');
v8 = n;
if (n == 15 || n == 16) {
v8 = 14;
}
v2 = getItemStat(v7[v6], v8);
if (n == 14) {
if (isNaN(Number(v2))) {
if (v1[4] != 'Bow') {
v3 += Number((v2.split('-'))[0]);
v4 += Number((v2.split('-'))[1]);
}
} else {
v3 += Number(v2);
v4 += Number(v2);
}
if (v1[4] == 'Sword-1H' || v1[4] == 'Axe-1H' || v1[4] == 'Hammer-1H' || v1[4] == 'Sword-2H' || v1[4] == 'Axe-2H' || v1[4] == 'Hammer-2H' || v1[4] == 'Staff') {
v3 += Number((v1[13].split('-'))[0]);
v4 += Number((v1[13].split('-'))[1]);
}
} else {
if (n == 15) {
if (isNaN(Number(v2))) {
if (v1[4] != 'Sword-1H' && v1[4] != 'Axe-1H' && v1[4] != 'Hammer-1H' && v1[4] != 'Sword-2H' && v1[4] != 'Axe-2H' && v1[4] != 'Hammer-2H' && v1[4] != 'Staff') {
v3 += Number((v2.split('-'))[0]);
v4 += Number((v2.split('-'))[1]);
}
} else {
v3 += Number(v2);
v4 += Number(v2);
}
if (v1[4] == 'Bow') {
v3 += Number((v1[13].split('-'))[0]);
v4 += Number((v1[13].split('-'))[1]);
}
} else {
if (n == 16) {
if (isNaN(Number(v2))) {
if (v1[4] != 'Sword-1H' && v1[4] != 'Axe-1H' && v1[4] != 'Hammer-1H' && v1[4] != 'Sword-2H' && v1[4] != 'Axe-2H' && v1[4] != 'Hammer-2H' && v1[4] != 'Bow' && v1[4] != 'Staff') {
v3 += Number((v2.split('-'))[0]);
v4 += Number((v2.split('-'))[1]);
}
} else {
v3 += Number(v2);
v4 += Number(v2);
}
} else {
if (n == 9) {
if (v1[4] == 'Helm' || v1[4] == 'Armor') {
v3 += Number(v1[12]);
}
v3 += Number(v2);
} else {
if (n == 6) {
if (v1[4] == 'Sword-1H' || v1[4] == 'Axe-1H' || v1[4] == 'Hammer-1H' || v1[4] == 'Sword-2H' || v1[4] == 'Axe-2H' || v1[4] == 'Hammer-2H' || v1[4] == 'Staff' || v1[4] == 'Bow' || v1[4] == 'Shield') {
v3 += Number(v1[14]);
}
v3 += Number(v2);
} else {
v3 += Number(v2);
}
}
}
}
}
}
++v6;
}
if (n != 14 && n != 15 && n != 16) {
v9 = String(v3);
return v9;
}
v9 = String(v3) + '-' + String(v4);
return v9;
}
function actualizarAbilitiesVars() {
var v3 = new Array();
var v4 = new Array();
var v2 = new Array();
var v5 = new String();
var v1 = 0;
var v6 = 0;
v4 = itemEqu.split(';');
v4.splice(2, 2);
v6 = 0;
v1 = 0;
if (itemReqOk[v1] == 0) {
v4.splice(0, 1);
++v6;
}
v1 = 1;
if (itemReqOk[v1] == 0) {
v4.splice(1 - v6, 1);
++v6;
}
v1 = 4;
if (itemReqOk[v1] == 0) {
v4.splice(2 - v6, 1);
++v6;
}
v1 = 5;
if (itemReqOk[v1] == 0) {
v4.splice(3 - v6, 1);
}
v5 = v4.join(';');
v1 = 0;
while (v1 < 17) {
v3[v1] = sumaItems(v5, v1);
++v1;
}
itemAbilities1 = v3.join(',');
v4 = baseAbilities.split(',');
v1 = 0;
while (v1 < 17) {
if (v4[v1] != undefined) {
v2[v1] = Number(v4[v1]);
}
++v1;
}
v1 = 0;
while (v1 < 17) {
if (v1 != 5 && v1 != 6) {
if (v2[v1] != undefined) {
v2[v1] += Number(v3[v1]);
} else {
v2[v1] = v3[v1];
}
}
++v1;
}
v2[3] += v2[0] * 2;
v2[4] += v2[2] * 2;
v2[5] += v2[1] * 2;
v2[5] = Math.round(v2[5] * (1 + v3[5] / 100));
v2[6] += v2[1] * 2;
v2[6] = Math.round(v2[6] * (1 + v3[6] / 100));
v2[7] += v2[0] * 2 + v3[1] * 2;
v2[8] += v2[2] * 2;
if (v2[14] == '0-0') {
v2[14] = '1-3';
}
totalAbilities1 = v2.join(',');
v2.splice(0, v2.length);
v4 = itemEqu.split(';');
v4.splice(0, 2);
v6 = 0;
v1 = 2;
if (itemReqOk[v1] == 0) {
v4.splice(0, 1);
++v6;
}
v1 = 3;
if (itemReqOk[v1] == 0) {
v4.splice(1 - v6, 1);
++v6;
}
v1 = 4;
if (itemReqOk[v1] == 0) {
v4.splice(2 - v6, 1);
++v6;
}
v1 = 5;
if (itemReqOk[v1] == 0) {
v4.splice(3 - v6, 1);
}
v5 = v4.join(';');
v1 = 0;
while (v1 < 17) {
v3[v1] = sumaItems(v5, v1);
++v1;
}
itemAbilities2 = v3.join(',');
v4 = baseAbilities.split(',');
v1 = 0;
while (v1 < 17) {
if (v4[v1] != undefined) {
v2[v1] = Number(v4[v1]);
}
++v1;
}
v1 = 0;
while (v1 < 17) {
if (v1 != 5 && v1 != 6) {
if (v2[v1] != undefined) {
v2[v1] += Number(v3[v1]);
} else {
v2[v1] = v3[v1];
}
}
++v1;
}
v2[3] += v2[0] * 2;
v2[4] += v2[2] * 2;
v2[5] += v2[1] * 2;
v2[5] = Math.round(v2[5] * (1 + v3[5] / 100));
v2[6] += v2[1] * 2;
v2[6] = Math.round(v2[6] * (1 + v3[6] / 100));
v2[7] += v2[0] * 2 + v3[1] * 2;
v2[8] += v2[2] * 2;
if (v2[14] == '0-0') {
v2[14] = '1-3';
}
totalAbilities2 = v2.join(',');
actualizarMagicDamage();
updateTotalAbilities();
}
function updateTotalAbilities() {
var v1 = new Array();
if (currentWeapon == 1) {
totalAbilities = totalAbilities1;
} else {
totalAbilities = totalAbilities2;
}
applyPowers();
v1 = totalAbilities.split(',');
engine_mc.objectHP[0] = (engine_mc.objectHP[0] / engine_mc.objectMaxHP[0]) * Number(v1[3]);
engine_mc.objectMaxHP[0] = Number(v1[3]);
engine_mc.currentMana = (engine_mc.currentMana / engine_mc.maxMana) * Number(v1[4]);
engine_mc.maxMana = Number(v1[4]);
}
function checkRanged(n) {
var v2 = new Array();
var v1 = 0;
if (n == 1) {
i = 1;
} else {
i = 3;
}
v2 = (String(itemEqu)).split(';');
if (v2[i] != '' && itemReqOk[i] == 1) {
if ((v2[i].split(','))[4] == 'Bow') {
v1 = 1;
} else {
v1 = 0;
}
return v1;
}
v1 = 0;
return v1;
}
function checkTwoHanded(n) {
var v2 = new Array();
var v4 = '';
var v3 = '';
var v5 = 0;
var v1 = new Array();
v1.Staff = true;
v1.Sword-2H = true;
v1.Axe-2H = true;
v1.Hammer-2H = true;
v2 = (String(itemEqu)).split(';');
if (n == 1) {
v4 = (v2[0].split(','))[4];
v3 = (v2[1].split(','))[4];
} else {
v4 = (v2[3].split(','))[4];
v3 = (v2[4].split(','))[4];
}
if (v1[v4]) {
++v5;
}
if (v1[v3]) {
++v5;
}
return v5;
}
function checkOneHanded(n) {
var v2 = new Array();
var v4 = '';
var v3 = '';
var v5 = 0;
var v1 = new Array();
v1.Sword-1H = true;
v1.Axe-1H = true;
v1.Hammer-1H = true;
v2 = (String(itemEqu)).split(';');
if (n == 1) {
v4 = (v2[0].split(','))[4];
v3 = (v2[1].split(','))[4];
} else {
v4 = (v2[3].split(','))[4];
v3 = (v2[4].split(','))[4];
}
if (v1[v4]) {
++v5;
}
if (v1[v3]) {
++v5;
}
return v5;
}
function applyPowers() {
var v3 = 0;
var v8 = 0;
var v7 = 0;
var v2 = 0;
var v5;
var v1 = totalAbilities.split(',');
var v4 = new Array();
var v6 = 0;
var v9 = 0;
var v10 = 0;
var v11 = 0;
if (currentWeapon == 1) {
v4 = itemAbilities1.split(',');
} else {
v4 = itemAbilities2.split(',');
}
v3 = 10;
while (v3 < 20) {
if (basePowers[v3] > 0) {
v2 = getPowerEffect(v3, basePowers[v3], Number(v1[11]));
switch (v3) {
case 10:
v1[8] = Number(v1[8]) + v2;
break;
case 11:
v1[10] = Number(v1[10]) + v2;
break;
case 13:
v1[5] = Math.round(Number(v1[5]) + v2 * (1 + Number(v4[5]) / 100));
v1[6] = Math.round(Number(v1[6]) + v2 * (1 + Number(v4[6]) / 100));
break;
case 14:
v1[8] = Number(v1[8]) + v2;
break;
case 15:
v1[12] = Number(v1[12]) + v2;
v1[13] = Number(v1[13]) + v2;
break;
case 16:
v1[6] = Math.round(Number(v1[6]) + v2 * (1 + Number(v4[6]) / 100));
break;
case 17:
v1[10] = Number(v1[10]) + v2;
break;
case 18:
v1[5] = Math.round(Number(v1[5]) + v2 * (1 + Number(v4[5]) / 100));
v1[7] = Number(v1[7]) + v2;
break;
case 19:
v1[5] = Math.round(Number(v1[5]) + v2 * (1 + Number(v4[5]) / 100));
}
}
++v3;
}
v3 = 40;
while (v3 < 43) {
if (basePowers[v3] > 0) {
v2 = getPowerEffect(v3, basePowers[v3], Number(v1[11]));
switch (v3) {
case 40:
v9 += v2;
break;
case 41:
if (checkRanged(currentWeapon) == 0) {
v8 = checkTwoHanded(currentWeapon) * getMaxPowerEffect(v3, basePowers[v3], Number(v1[11]));
v7 = checkOneHanded(currentWeapon) * getMinPowerEffect(v3, basePowers[v3], Number(v1[11]));
v6 += v8 + v7;
}
break;
case 42:
v1[9] = Math.round(Number(v1[9]) * (v2 / 100 + 1));
v1[10] = Math.round(Number(v1[10]) * (v2 / 100 + 1));
}
}
++v3;
}
v3 = 50;
while (v3 < 52) {
if (basePowers[v3] > 0) {
v2 = getPowerEffect(v3, basePowers[v3], Number(v1[11]));
switch (v3) {
case 50:
if (checkRanged(currentWeapon)) {
v1[7] = Number(v1[7]) + Math.round(v1[1] * v2 / 100);
}
break;
case 51:
if (checkRanged(currentWeapon)) {
v6 += v2;
}
}
}
++v3;
}
for (v5 in activePowers) {
if (activePowers[v5].length == 2) {
v2 = getMaxPowerEffect(v5, activePowers[v5][1], 0);
switch (v5) {
case '24':
v1[3] = Math.round(v1[3] * (1 + v2 / 100));
v1[4] = Math.round(v1[4] * (1 + v2 / 100));
break;
case '25':
v9 += v2;
v10 += v2;
v11 += v2;
break;
case '35':
v6 += v2;
}
}
}
if (v6 > 0) {
v1[6] = Number(v1[6]) / (1 + Number(v4[6]) / 100);
v6 += Number(v4[6]);
v1[6] = Math.round(v1[6] * (1 + v6 / 100));
}
if (v9 > 0) {
v8 = Number((v1[14].split('-'))[0]) * (v9 / 100 + 1);
v7 = Number((v1[14].split('-'))[1]) * (v9 / 100 + 1);
v1[14] = Math.round(v8) + '-' + Math.round(v7);
}
if (v10 > 0) {
v8 = Number((v1[15].split('-'))[0]) * (v10 / 100 + 1);
v7 = Number((v1[15].split('-'))[1]) * (v10 / 100 + 1);
v1[15] = Math.round(v8) + '-' + Math.round(v7);
}
if (v11 > 0) {
v8 = Number((v1[16].split('-'))[0]) * (v11 / 100 + 1);
v7 = Number((v1[16].split('-'))[1]) * (v11 / 100 + 1);
v1[16] = Math.round(v8) + '-' + Math.round(v7);
}
totalAbilities = v1.join(',');
}
function actualizarMagicDamage() {
var v2 = new Array();
var v8 = '0-0';
var v7 = '0-0';
var v6 = '0-0';
var v5 = 0;
var v4 = 0;
var v3 = 0;
var v1 = Number(((itemAbilities1.split(','))[16].split('-'))[0]);
if (isNaN(v1)) {
v1 = 0;
}
if (cPower > 19 && cPower < 23 || cPower > 31 && cPower < 35) {
v5 = Number((totalAbilities.split(','))[11]);
v4 = Number((totalAbilities1.split(','))[11]);
v3 = Number((totalAbilities2.split(','))[11]);
if (cPower == 20) {
v8 = (getMinPowerEffect(cPower, basePowers[cPower], v5) + v1) * 3 + '-' + (getMaxPowerEffect(cPower, basePowers[cPower], v5) + v1) * 3;
v7 = (getMinPowerEffect(cPower, basePowers[cPower], v4) + v1) * 3 + '-' + (getMaxPowerEffect(cPower, basePowers[cPower], v4) + v1) * 3;
v6 = (getMinPowerEffect(cPower, basePowers[cPower], v3) + v1) * 3 + '-' + (getMaxPowerEffect(cPower, basePowers[cPower], v3) + v1) * 3;
} else {
if (cPower == 33) {
v8 = (getMinPowerEffect(cPower, basePowers[cPower], v5) + v1) * 5 + '-' + (getMaxPowerEffect(cPower, basePowers[cPower], v5) + v1) * 5;
v7 = (getMinPowerEffect(cPower, basePowers[cPower], v4) + v1) * 5 + '-' + (getMaxPowerEffect(cPower, basePowers[cPower], v4) + v1) * 5;
v6 = (getMinPowerEffect(cPower, basePowers[cPower], v3) + v1) * 5 + '-' + (getMaxPowerEffect(cPower, basePowers[cPower], v3) + v1) * 5;
} else {
v8 = getMinPowerEffect(cPower, basePowers[cPower], v5) + v1 + '-' + (getMaxPowerEffect(cPower, basePowers[cPower], v5) + v1);
v7 = getMinPowerEffect(cPower, basePowers[cPower], v4) + v1 + '-' + (getMaxPowerEffect(cPower, basePowers[cPower], v4) + v1);
v6 = getMinPowerEffect(cPower, basePowers[cPower], v3) + v1 + '-' + (getMaxPowerEffect(cPower, basePowers[cPower], v3) + v1);
}
}
}
v2 = totalAbilities1.split(',');
v2[16] = v7;
totalAbilities1 = v2.join(',');
v2 = totalAbilities2.split(',');
v2[16] = v6;
totalAbilities2 = v2.join(',');
v2 = totalAbilities.split(',');
v2[16] = v8;
totalAbilities = v2.join(',');
}
var finCarga = 1;
var maxResolution = 1920;
var baseY = 0;
var baseX = 0;
var stageY = 480;
var stageX = 640;
var FrameRate = 30;
var mapXCoor = 0;
var mapYCoor = 0;
var currentMap;
var terrainData;
var waterData;
var objectData;
var zoneData;
var limitData;
var defaultFX = 85;
var defaultMV = 75;
var updateObj = '';
var aditionalObj = '';
var aliveNPCs = '';
var deadNPCs = '';
var initMana = 0;
var initPowerIndexData = new Array();
var initUIIcons = new Array();
var terrainBitmap = new Array();
var waterBitmap = new Array();
var objectBitmap = new Array();
var objectaX = new Array();
var objectaY = new Array();
var objectAncho = new Array();
var objectAlto = new Array();
var cacheBitmap = new Array();
var cacheX = new Array();
var cacheY = new Array();
var cacheAncho = new Array();
var cacheAlto = new Array();
var cacheTime = new Array();
var maxCache = 5;
var fadeOutBitmap = new flash.display.BitmapData(640, 480, true, 0);
var shadowBitmap = new flash.display.BitmapData(640, 432, true, 0);
var terrainShadow;
var allCursorBitmap = flash.display.BitmapData.loadBitmap('Cursor');
var cursorBitmap = new flash.display.BitmapData(28, 28, true, 0);
var bloodBitmap01 = new flash.display.BitmapData(640, 80, true, 0);
var mapPaperBitmap;
var mapIconsBitmap;
var lightL = new Array([0, 2, 2, 2, 2], [0, 3, 3, 3, 3, 3, 2, 2, 2], [1, 2, 2, 2, 2], [0, 2, 3, 3], [0, 2, 2, 2, 2], [1, 2, 2], [0, 2, 2, 2, 3, 3], [0, 3, 2, 2], [0, 2, 2, 2], [0, 3, 3], [1, 2, 2], [1, 2, 2], [0], [0], [0], [0], [0], [0], [0], [0], [1], [1, 4, 4, 4, 4, 4, 2, 2, 2], [0, 3, 3, 3, 3, 3, 2, 2, 2], [0], [0], [0], [0], [0], [0], [0], [0], [0], [1], [0], [0], [0, 2], [0, 2, 2], [0, 2, 2], [0], [0], [0], [0], [0], [0], [0], [1], [1], [0], [0], [0], [0, 2, 2], [0, 2], [0, 2]);
lightL[99] = new Array(0, 2);
lightL[100] = new Array(0, 2, 2);
lightL[101] = new Array(0, 2, 2);
lightL[102] = new Array(0, 3, 2, 2);
lightL[103] = new Array(0, 2, 2, 2);
lightL[104] = new Array(0, 2, 2, 2);
lightL[105] = new Array(0, 2, 2);
lightL[106] = new Array(0, 2);
var xPTable = new Array(0, 1000, 3500, 8000, 15000, 25000, 38500, 56000, 78000, 105000, 137500, 176000, 221000, 273000, 332500, 400000, 476000, 561000, 655500, 760000, 875000, 1001000, 1138500, 1288000, 1450000, 1625000, 1813500, 2016000, 2233000, 2465000, 2712500, 2976000, 3256000, 3553000, 3867500, 4200000, 4551000, 4921000, 5310500, 5720000, 6150000, 6601000, 7073500, 7568000, 8085000, 8625000, 9188500, 9776000, 10376000, 10988500, 11613500, 12251000, 12901000, 13563500, 14238500, 14926000, 15626000, 16338500, 17063500, 17801000, 18551000, 19313500, 20088500, 20876000, 21676000, 22488500, 23313500, 24151000, 25001000, 25863500, 26738500, 27626000, 28526000, 29438500, 30363500, 31301000, 32251000, 33213500, 34188500, 35176000, 36176000, 37188500, 38213500, 39251000, 40301000, 41363500, 42438500, 43526000, 44626000, 45738500, 46863500, 48001000, 49151000, 50313500, 51488500, 52676000, 53876000, 55088500, 56313500, 57500000);
var powerTable = new Array();
var activePowers = new Array();
var itemBD = new Array();
var relicBD = new Array();
var magicLevel = new Array('Magic', 'Grand', 'Ancient');
var magicStats = new Array('Vigor', 'Dexterity', 'Spirit', 'Hp', 'Mp', 'Accuracy', 'Evasion', 'Attack', 'Magic', 'Defense', 'Resistance', 'Powers', 'Hp Per Hit', 'Mp Per Hit', 'Damage');
var magicStatsE = new Array(1, 1, 1, 2, 2, 2, 2, 2, 2, 10, 10, 0.1, 0.25, 0.25, 1);
var magicColor = new Array(6, 1, 3, 4, 2, 1, 8, 6, 3, 7, 9, 5, 4, 2, 7);
var magicStatsEN = new Array(0, 2, 1, 0, 1, 2, 2, 0, 1, 4, 1, 3, 3, 3, 4);
var enchantValue = new Array(250, 250, 250, 500, 500);
var pjName = 'Argonas';
var pjClass = 'Paladin';
var pjRaza = 'Elf';
var currentXP = 0;
var currentXPLevel = 1;
var basePowers = new Array(1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
var expPowers = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
var rPowers = 0;
var pjConfig01 = '0,6,6,5,3,4,6,3,6,3,6,4,6,-1';
var pjConfig02 = '0,6,6,5,3,4,6,3,6,3,6,4,6,-1';
var pjGender = 1;
var baseAbilities = '100,30,30,8,4,10,10,10,10,10,10';
var itemAbilities1 = '0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0';
var itemAbilities2 = '0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0';
var totalAbilities1 = '0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0';
var totalAbilities2 = '0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0';
var totalAbilities = '0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0';
var currentWeapon = 1;
var itemInv = new String(';;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;');
var itemEqu = new String(';;;;;;;;;;');
var itemReqOk = new Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
var miscInv = new Array(0, 0, 0, 0, 0, 0, 0, 0);
var quesInv = new Array(0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
var visitedLoc = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
var initHP = Number((totalAbilities.split(','))[3]);
var saveSlot = 0;
var creationTime = 0;
var gameDif = 1;
var autoSave = 1;
var terrainOption = 1;
var lightningOption = 1;
var stepSounds = 1;
var invTradeComp = 0;
var allowEqSell = 0;
var gameMap = '';
var goBackToSurfaceX = 50;
var goBackToSurfaceY = 50;
var area = new Array();
var deletedArea = '';
var loadServantData = '-1,100,10';
var npcBD = new Object();
var potions = new Object();
var mensajes = new Array();
var modHP = 1.5;
var modDam = 0.8;
var monsterBD = new Array();
var enemyStat = new Object();
monsterBD[0] = new Array('Spider', 'Spider', 'Spider', 'Spider', 'Spider');
var hotKey = new Array('kC_16', 'cC_49', 'cC_50', 'cC_51', 'cC_52', 'cC_53', 'cC_54', 'cC_81', 'cC_87', 'cC_69', 'cC_73', 'cC_74', 'kC_27', 'cC_77', 'kC_32', 'cC_67');
var isDown = new Object();
var keyCode = new Array('', '', '', '', '', '', '', '', 'Backspace', 'Tab', '', '', '', 'Enter', '', '', 'Shift', 'Control', '', 'Pause', 'Caps Lock', '', '', '', '', '', '', 'Esc', '', '', '', '', 'Spacebar', 'Page Up', 'Page Down', 'End', 'Home', 'Left Arrow', 'Up Arrow', 'Right Arrow', 'Down Arrow', '', '', '', '', 'Insert', 'Delete', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'Numpad 0', 'Numpad 1', 'Numpad 2', 'Numpad 3', 'Numpad 4', 'Numpad 5', 'Numpad 6', 'Numpad 7', 'Numpad 8', 'Numpad 9', 'Multiply', 'Add', '', 'Subtract', 'Decimal', 'Divide', 'F1', 'F2', 'F3', 'F4', 'F5', 'F6', 'F7', 'F8', 'F9', '', 'F11', 'F12', 'F13', 'F14', 'F15', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'Num lock', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '');
var precachingB = 0;
var cPower = 0;
var generateHighML = 0;
var freeTerrain = new Array([], [4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4], [], [], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [2, 0, 0, 0, 2, 2, 2, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 2, 0, 0, 2, 2, 0, 0, 2, 2, 2, 0], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [0, 0, 0, 2, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 2, 2, 0, 0, 2, 2, 0, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 2, 2, 0, 0, 2, 0, 0, 0], [2, 2, 2, 2, 2, 2, 2, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 2, 2, 2, 0, 0, 2, 2, 0, 0, 0, 2], [2, 2, 2, 2, 0, 2, 2, 2, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 0, 0, 2, 2, 2, 0, 2, 2, 2, 0, 2, 2, 2, 0, 2, 2, 0, 0, 2, 2, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [0, 0, 2, 2, 0, 2, 2, 2, 0, 2, 2, 2, 0, 2, 2, 2, 0, 0, 2, 2, 0, 0, 2, 2, 0, 0, 0, 2, 0, 0, 0, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [], [], [], [], [], [], [3, 1, 1, 1, 3, 3, 3, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0, 3, 3, 3, 0, 0, 3, 3, 0, 0, 0, 3], [0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 3, 1, 1, 0, 3, 1, 1, 0, 3, 3, 1, 1, 3, 3, 3, 1, 3, 3, 3, 1], [], [3, 3, 3, 3, 0, 3, 3, 3, 0, 0, 3, 3, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 3, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0, 3, 3, 0, 0, 3, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 3, 0, 1, 1, 3, 1, 1, 3, 3, 1, 3, 3, 3, 1, 3, 3, 3], [], [3, 3, 3, 3, 3, 3, 3, 0, 3, 3, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 0, 0, 3, 3, 0, 3, 3, 1, 3, 3, 1, 1, 3, 1, 1, 1], [0, 3, 3, 3, 3, 3, 3, 1, 3, 1, 1, 1, 3, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 0, 0, 3, 3, 0, 0, 1, 3, 3, 0, 1, 1, 3, 3, 0, 1, 1, 3], [3, 3, 3, 0, 1, 3, 3, 3, 1, 1, 1, 3, 0, 0, 1, 3, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [3, 3, 3, 3, 3, 3, 3, 3, 0, 3, 3, 3, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3], [3, 3, 1, 1, 3, 3, 3, 1, 3, 3, 3, 1, 3, 3, 3, 1, 3, 3, 1, 0, 3, 3, 1, 0, 3, 3, 1, 0, 3, 1, 0, 0], [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0], [1, 1, 3, 3, 1, 3, 3, 3, 1, 3, 3, 3, 1, 3, 3, 3, 0, 1, 3, 3, 0, 1, 3, 3, 0, 1, 3, 3, 0, 0, 1, 3], [0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [3, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3], [3, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0], [0, 0, 1, 3, 0, 0, 1, 3, 0, 1, 3, 3, 0, 1, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [3, 1, 0, 0, 3, 1, 0, 0, 3, 3, 1, 0, 3, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [3, 3, 1, 0, 3, 3, 1, 0, 3, 3, 1, 0, 3, 3, 1, 0, 3, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 1, 3, 3, 0, 1, 3, 3, 0, 1, 3, 3, 0, 1, 3, 3, 0, 1, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [3, 3, 1, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0, 3], [1, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 2, 0, 2, 2, 2, 2, 2, 2, 0, 2, 2, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 2, 4, 4, 4, 2, 2, 4, 4, 0, 2, 2, 4, 0, 0, 2, 2], [4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 2, 4, 4, 4], [0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [4, 4, 4, 4, 2, 4, 4, 4, 2, 2, 4, 4, 0, 2, 2, 4, 0, 0, 2, 2, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0], [4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 2, 4, 4, 2, 2, 4, 2, 2, 0, 2, 2, 0, 0], [4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 2], [2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [4, 4, 4, 4, 4, 4, 4, 2, 4, 4, 2, 2, 4, 2, 2, 0, 2, 2, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 2, 2, 4, 0, 2, 4, 4, 2, 4, 4, 4, 4, 4, 4, 4], [0, 2, 2, 4, 2, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 0, 4, 2, 2, 0, 4, 4, 2, 0, 4, 4, 4, 2, 4, 4, 4, 4], [4, 2, 2, 0, 4, 4, 4, 2, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4], [0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0], [2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 2, 4, 4, 4, 2, 2, 4, 4, 2, 2, 4, 4, 2, 4, 4, 4, 4, 4, 4, 4], [4, 4, 4, 4, 2, 4, 4, 4, 2, 2, 4, 4, 0, 2, 2, 4, 0, 0, 2, 2, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0], [4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 2, 4, 4, 2, 2, 4, 4, 2, 2, 4, 4, 4, 2, 4, 4, 4, 4], [4, 4, 4, 4, 4, 4, 4, 2, 4, 4, 2, 2, 4, 2, 2, 0, 2, 2, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 2, 4, 4, 4, 2, 2, 4, 4, 0, 0, 0, 4, 0, 0, 0, 2], [4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 2, 4, 4, 2, 2, 4, 0, 0, 0, 2, 0, 0, 0], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []);
var freeObject = new Array([], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [-2, 1, 5, -2, 0, 4], [0, 0, 5, 0, -1, 4], [2, 0, 5, 2, -1, 4], [2, 0, 5, 2, -1, 4], [1, -1, 0, 1, 0, 0, 0, 0, 0, 0, -1, 0, 0, -2, 0, -1, -1, 0, -1, -2, 0, -1, -3, 0, -2, -2, 0, -2, -3, 0, -2, -4, 0, -3, -3, 0, -3, -4, 0, -3, -5, 0, -4, -4, 0, -4, -5, 0, -4, -6, 0, -5, -5, 0, -5, -6, 0, -5, -7, 0, -6, -6, 0, -6, -7, 0, -6, -8, 0, -7, -7, 0, -7, -8, 0, -7, -9, 0, -8, -8, 0, -8, -9, 0, -8, -10, 0, -9, -9, 0, -9, -10, 0, -9, -11, 0, -10, -10, 0, -10, -12, 0, -10, -11, 0, -11, -11, 0, -11, -12, 0, -11, -13, 0, -12, -12, 0, -12, -13, 0, -13, -12, 0, -11, -14, 0, 0, 1, 0], [0, 1, 0, 0, 0, 0, -1, 0, 0, -1, -1, 0, 0, -1, 0, 1, -2, 0, 2, -3, 0, 3, -4, 0, 1, -1, 0, 2, -2, 0, 1, -3, 0, 0, -2, 0, 2, -4, 0, 3, -3, 0, 3, -5, 0, 4, -4, 0, 4, -5, 0, 4, -6, 0, 5, -6, 0, 5, -5, 0, 5, -7, 0, 6, -6, 0, 6, -7, 0, 6, -8, 0, 7, -8, 0, 7, -7, 0, 7, -9, 0, 8, -8, 0, 8, -10, 0, 8, -9, 0, 9, -9, 0, 9, -10, 0, 9, -11, 0, 10, -10, 0, 10, -11, 0, 10, -12, 0, 11, -11, 0, 11, -12, 0, 11, -13, 0, 12, -12, 0, 12, -13, 0, 13, -12, 0, 11, -14, 0], [-2, 1, 5, -2, 0, 4, -2, -1, 5], [-2, 1, 5, -2, 0, 4, -2, -1, 5], [-2, 1, 5, -2, 0, 5], [-2, 1, 5, -2, 0, 5], [-2, 1, 5, -2, 0, 5], [-2, 1, 5, -2, 0, 5], [], [], [2, 0, 5], [], [], [], [-1, 1, 4, 0, 1, 4, 0, 0, 4, -1, 0, 4], [], [], [], [], [], [0, 1, 5, 0, 0, 4], [0, 1, 5, 0, 0, 4], [], [2, 0, 5], [2, 0, 5], [], [6, 3, 5, 7, 2, 5, 8, 1, 5, 9, 0, 5, 5, 3, 5, 4, 2, 5, 3, 1, 5, 2, 0, 5, 2, -1, 5, 9, -1, 5, 8, -2, 5, 7, -3, 5, 6, -4, 5, 3, -2, 5, 4, -3, 5, 5, -4, 5, 6, 2, 4, 5, 2, 4, 4, 1, 4, 3, 0, 4, 3, -1, 4, 4, -2, 4, 5, -3, 4, 6, -3, 4, 7, -2, 4, 8, -1, 4, 8, 0, 4, 7, 1, 4, 7, 0, 4, 7, -1, 4, 6, -1, 4, 6, 0, 4, 6, 1, 4, 5, 1, 4, 5, 0, 4, 4, 0, 4, 4, -1, 4, 5, -1, 4, 5, -2, 4, 6, -2, 4], [2, 0, 5, 2, -1, 5, 3, 1, 5, 4, 2, 5, 5, 3, 5, 6, 3, 5, 7, 2, 5, 8, 1, 5, 9, 0, 5, 9, -1, 5, 8, -2, 5, 7, -3, 5, 3, -2, 5, 4, -3, 5, 5, -4, 5, 6, -4, 5, 3, -1, 4, 3, 0, 4, 4, -2, 4, 4, -1, 4, 4, 0, 4, 4, 1, 4, 5, 2, 4, 5, 1, 4, 5, 0, 4, 5, -1, 4, 5, -2, 4, 5, -3, 4, 6, -3, 4, 6, -2, 4, 6, -1, 4, 6, 0, 4, 6, 1, 4, 6, 2, 4, 7, 1, 4, 7, 0, 4, 7, -1, 4, 7, -2, 4, 8, -1, 4, 8, 0, 4], [-4, 3, 5, -3, 3, 5, -2, 2, 5, -1, 1, 5, 0, 0, 5, -5, 2, 5, -6, 1, 5, -7, 0, 5, -8, -1, 5, -9, -2, 5, -10, -3, 5, -11, -4, 5, -11, -5, 5, 0, -1, 5, -1, -2, 5, -2, -3, 5, -3, -4, 5, -4, -5, 5, -5, -6, 5, -6, -7, 5, -7, -8, 5, -10, -6, 5, -9, -7, 5, -8, -8, 5, -4, 2, 4, -3, 2, 4, -2, 1, 4, -1, 0, 4, -1, -1, 4, -2, -1, 4, -2, 0, 4, -3, 0, 4, -3, -1, 4, -3, -2, 4, -3, -3, 4, -2, -2, 4, -3, 1, 4, -4, 1, 4, -4, 0, 4, -4, -1, 4, -4, -2, 4, -4, -4, 4, -5, -3, 4, -4, -3, 4, -5, -4, 4, -5, -5, 4, -5, -1, 4, -5, -2, 4, -5, 1, 4, -5, 0, 4, -6, 0, 4, -6, -1, 4, -6, -2, 4, -6, -3, 4, -6, -4, 4, -6, -5, 4, -6, -6, 4, -7, -6, 4, -7, -7, 4, -7, -5, 4, -7, -4, 4, -7, -3, 4, -7, -2, 4, -7, -1, 4, -8, -2, 4, -8, -3, 4, -8, -4, 4, -8, -5, 4, -8, -6, 4, -8, -7, 4, -9, -6, 4, -9, -4, 4, -9, -3, 4, -9, -5, 4, -10, -4, 4, -10, -5, 4], [], [5, 3, 5, 6, 3, 5, 4, 2, 5, 3, 1, 5, 2, 0, 5, 2, -1, 5, 3, -2, 5, 4, -3, 5, 5, -4, 5, 6, -5, 5, 7, -6, 5, 7, 2, 5, 8, 1, 5, 9, 0, 5, 10, -1, 5, 11, -2, 5, 12, -3, 5, 8, -7, 5, 9, -8, 5, 13, -4, 5, 13, -5, 5, 12, -6, 5, 11, -7, 5, 10, -8, 5, 12, -4, 4, 12, -5, 4, 11, -3, 4, 11, -4, 4, 11, -5, 4, 11, -6, 4, 10, -7, 4, 10, -6, 4, 10, -5, 4, 10, -4, 4, 10, -3, 4, 10, -2, 4, 9, -1, 4, 9, -2, 4, 9, -3, 4, 9, -4, 4, 9, -5, 4, 9, -6, 4, 9, -7, 4, 8, -6, 4, 8, -5, 4, 8, -4, 4, 8, -3, 4, 8, -2, 4, 8, -1, 4, 8, 0, 4, 7, 1, 4, 7, 0, 4, 7, -1, 4, 7, -2, 4, 7, -3, 4, 7, -4, 4, 7, -5, 4, 6, -4, 4, 6, -2, 4, 6, -3, 4, 6, -1, 4, 6, 0, 4, 6, 1, 4, 6, 2, 4, 5, 2, 4, 5, 1, 4, 5, 0, 4, 5, -1, 4, 5, -2, 4, 5, -3, 4, 4, -2, 4, 4, -1, 4, 4, 0, 4, 4, 1, 4, 3, 0, 4, 3, -1, 4], [], [0, 0, 4, 0, 1, 5], [0, 0, 4, 0, 1, 5], [], [], [8, 5, 5, 7, 5, 5, 6, 4, 5, 5, 3, 5, 4, 2, 5, 3, 1, 5, 2, 0, 5, 2, -1, 5, 9, 4, 5, 10, 3, 5, 11, 2, 5, 12, 1, 5, 13, 0, 5, 13, -1, 5, 12, -2, 5, 3, -2, 5, 4, -3, 5, 5, -4, 5, 6, -5, 5, 11, -3, 5, 10, -4, 5, 9, -5, 5, 8, -6, 5, 7, -6, 5, 12, 0, 4, 12, -1, 4, 11, 1, 4, 11, 0, 4, 11, -1, 4, 11, -2, 4, 10, -2, 4, 10, -3, 4, 10, -1, 4, 10, 0, 4, 10, 1, 4, 10, 2, 4, 9, 3, 4, 9, 2, 4, 9, 1, 4, 9, 0, 4, 9, -1, 4, 9, -2, 4, 9, -3, 4, 9, -4, 4, 8, -5, 4, 8, -4, 4, 8, -3, 4, 8, -2, 4, 8, -1, 4, 8, 0, 4, 8, 1, 4, 8, 2, 4, 8, 3, 4, 8, 4, 4, 7, 4, 4, 7, 3, 4, 7, 2, 4, 7, 1, 4, 7, 0, 4, 7, -1, 4, 7, -2, 4, 7, -3, 4, 7, -4, 4, 7, -5, 4, 6, -4, 4, 6, -3, 4, 6, -2, 4, 6, 0, 4, 6, 1, 4, 6, -1, 4, 6, 2, 4, 6, 3, 4, 5, 2, 4, 5, 1, 4, 5, 0, 4, 5, -1, 4, 5, -2, 4, 5, -3, 4, 4, -2, 4, 4, -1, 4, 4, 0, 4, 4, 1, 4, 3, 0, 4, 3, -1, 4], [], [-11, 3, 5, -10, 5, 5, -9, 6, 5, -8, 7, 5, -7, 8, 5, -6, 8, 5, -5, 8, 5, -4, 8, 5, -3, 8, 5, -2, 7, 5, -2, 8, 5, -1, 7, 5, 0, 7, 5, 0, 6, 5, 1, 5, 5, 1, 3, 5, 1, 4, 5, 1, 2, 5, 1, 1, 5, -11, 2, 5, -11, 1, 5, -11, 0, 5, -11, -1, 5, -1, -2, 5, -10, 4, 5, 1, 0, 5, -10, -2, 5, -9, -3, 5, -8, -4, 5, 0, -1, 5, -2, -3, 5, -3, -4, 5, -7, -4, 5, -6, -4, 5, -5, -4, 5, -4, -4, 5, -10, -1, 4, -10, 0, 4, -10, 2, 4, -10, 3, 4, -10, 1, 4, -9, 2, 4, -9, 4, 4, -9, 5, 4, -9, 3, 4, -9, 1, 4, -9, 0, 4, -9, -1, 4, -9, -2, 4, -8, -3, 4, -8, -2, 4, -8, -1, 4, -8, 1, 4, -8, 0, 4, -8, 3, 4, -8, 2, 4, -8, 4, 4, -8, 5, 4, -8, 6, 4, -7, 7, 4, -7, 6, 4, -7, 5, 4, -7, 4, 4, -7, 2, 4, -7, 3, 4, -7, 1, 4, -7, -1, 4, -7, -2, 4, -7, -3, 4, -6, -3, 4, -6, -2, 4, -6, -1, 4, -6, 0, 4, -7, 0, 4, -6, 1, 4, -6, 2, 4, -6, 3, 4, -6, 4, 4, -6, 5, 4, -6, 6, 4, -6, 7, 4, -5, 7, 4, -5, 6, 4, -5, 5, 4, -5, 4, 4, -5, 3, 4, -5, 2, 4, -5, 1, 4, -5, 0, 4, -5, -1, 4, -5, -2, 4, -5, -3, 4, -4, -3, 4, -4, -2, 4, -4, -1, 4, -4, 0, 4, -4, 1, 4, -4, 3, 4, -4, 4, 4, -4, 5, 4, -4, 6, 4, -4, 7, 4, -3, 7, 4, -3, 6, 4, -3, 5, 4, -3, 4, 4, -3, 3, 4, -3, 2, 4, -3, 1, 4, -3, -1, 4, -4, 2, 4, -3, -2, 4, -3, -3, 4, -2, -2, 4, -2, -1, 4, -2, 0, 4, -2, 1, 4, -3, 0, 4, -2, 3, 4, -2, 4, 4, -2, 5, 4, -2, 6, 4, -2, 2, 4, -1, 6, 4, -1, 5, 4, -1, 4, 4, -1, 3, 4, -1, 2, 4, -1, 1, 4, -1, 0, 4, -1, -1, 4, 0, 0, 4, 0, 1, 4, 0, 2, 4, 0, 3, 4, 0, 4, 4, 0, 5, 4], [], [], [], [1, 12, 5, 1, 11, 5, 1, 10, 5, 1, 9, 5, 1, 8, 5, 1, 13, 5, 1, 7, 5, 1, 6, 5, 1, 5, 5, 1, 4, 5, 1, 3, 5, 1, 2, 5, 1, 1, 5, 0, 0, 5, 0, 6, 5, -1, 5, 5, -2, 4, 5, -3, 3, 5, -4, 2, 5, -5, 1, 5, -4, 0, 5, -3, -1, 5, -2, -2, 5, -1, -3, 5, 3, -1, 5, 2, -2, 5, 1, -3, 5, 0, -4, 5, 4, 0, 5, 5, 1, 5, 6, 2, 5, 7, 3, 5, 8, 3, 5, 9, 3, 5, 1, -1, 5, 2, -1, 4, 2, 0, 5, 0, 5, 4, 0, 4, 4, 0, 3, 4, -1, 4, 4, -1, 3, 4, 0, 2, 4, 0, 1, 4, -1, 1, 4, -1, 2, 4, -2, 3, 4, -2, 1, 4, -2, 2, 4, -3, 2, 4, -3, 1, 4, -4, 1, 4, -3, 0, 4, -2, 0, 4, -1, 0, 4, -1, -1, 4, -2, -1, 4, 0, -1, 4, 0, -2, 4, -1, -2, 4, 0, -3, 4, 1, -2, 4, 9, 4, 5, 8, 4, 5, 7, 4, 5, 6, 4, 5, 5, 3, 5, 4, 2, 5, 3, 1, 5, 6, 3, 4, 5, 2, 4, 4, 1, 4, 3, 0, 4, 1, 0, 5], [], [], [], [1, 12, 5, 1, 13, 5, 1, 11, 5, 1, 10, 5, 1, 9, 5, 1, 8, 5, 1, 7, 5, 2, 6, 5, 3, 5, 5, 4, 4, 5, 5, 3, 5, 6, 2, 5, 7, 1, 5, 7, 0, 5, 6, -1, 5, 5, -2, 5, 4, -3, 5, 3, -4, 5, -1, -1, 5, 0, -2, 5, 1, -3, 5, 2, -4, 5, -2, 0, 5, -3, 1, 5, -4, 2, 5, -5, 3, 5, -6, 3, 5, -7, 3, 5, -7, 4, 5, -6, 4, 5, -5, 4, 5, -4, 4, 5, -3, 3, 5, -2, 2, 5, -1, 0, 4, -1, 1, 5, 0, 0, 5, 1, -1, 4, 2, 0, 4, 2, 1, 4, 1, 2, 5, 1, 3, 5, 1, 4, 5, 1, 5, 5, 1, 6, 5, -2, 1, 4, -3, 2, 4, -4, 3, 4, 0, -1, 4, 1, -2, 4, 2, -3, 4, 2, -2, 4, 2, -1, 4, 3, -3, 4, 3, -2, 4, 3, -1, 4, 3, 0, 4, 3, 1, 4, 1, 1, 5, 2, 2, 4, 2, 4, 4, 2, 3, 4, 2, 5, 4, 3, 4, 4, 3, 3, 4, 3, 2, 4, 4, 3, 4, 4, 2, 4, 4, 1, 4, 4, 0, 4, 4, -1, 4, 4, -2, 4, 5, -1, 4, 5, 1, 4, 5, 0, 4, 5, 2, 4, 6, 1, 4, 6, 0, 4, 1, 0, 5], [], [], [], [], [], [-2, 1, 5, -2, 0, 5], [-2, 1, 5, -2, 0, 5], [-2, 1, 5, -2, 0, 5], [-2, 1, 5, -2, 0, 5], [], [2, 1, 5, 1, 2, 5, 1, 1, 5, 1, 0, 5, 0, 0, 5, 0, 1, 5, 0, -1, 5, -3, 1, 5, -3, 0, 5, -2, 0, 5, -2, -1, 4, -1, -1, 4, -1, 0, 4, -2, -2, 4, -1, -2, 4, 0, -2, 4, 0, -3, 4, -1, -3, 4, 1, -3, 4, 1, -2, 4, 1, -1, 4, 2, 0, 4, 2, -1, 4, 2, -2, 4, 2, -3, 4], [-1, 1, 5, 0, 1, 5, -1, 2, 5, 0, 2, 5, 0, 3, 5, 1, 2, 5], [3, 1, 5, 3, 0, 5, 2, 0, 5], [2, 1, 5, 2, 0, 5, 3, 0, 5], [2, 0, 5], [2, 0, 5], [2, 0, 5], [2, 0, 5], [2, 0, 5], [2, 0, 5], [2, 0, 5], [2, 0, 5, 3, 0, 4, 2, -1, 4], [3, 0, 5, 2, 0, 4, 3, -1, 4], [2, 0, 5, 3, 0, 4, 2, -1, 4], [3, 0, 5, 2, 0, 4, 3, -1, 4], [], [], [0, 0, 5, -1, 1, 5, -1, 0, 4], [3, -1, 5, 3, -2, 5, 3, -3, 5, 2, 0, 5, 2, -1, 5, 2, -2, 5, 1, 1, 5, 1, 0, 5, 1, -1, 5, 0, 1, 5, 0, 0, 5], [-2, 1, 5, -2, -1, 5, -2, 0, 4], [-2, 1, 5, -2, -1, 5, -2, 0, 4], [-2, 1, 5, -2, 0, 4, -2, -1, 5], [-2, 1, 5, -2, 0, 4, -2, -1, 5], [0, 0, 5, -1, 1, 5, 0, 1, 4, -1, 2, 4], [0, 0, 5, 1, -1, 5, 0, 1, 4, 1, 0, 4], [0, 0, 5, 1, 1, 5, 0, 1, 4, 1, 2, 4], [0, 1, 4, 0, 0, 5, -1, -1, 5, -1, 0, 4], [], [], [], [], [0, 0, 5, 0, -2, 5, 0, -1, 4], [-1, 1, 5, -1, -1, 5, -1, 0, 4], [-1, 1, 5, -1, -1, 5, 0, 0, 5, 0, -2, 5, 0, -1, 4, -1, 0, 4], [], [], [0, 1, 5, 1, 1, 5, 1, 0, 5, 0, 0, 5, 1, -1, 5, 2, 0, 5], [-2, 0, 4, -2, 1, 5, -2, -1, 5], [-2, 1, 5, -2, -1, 5, -2, 0, 4], [-3, 2, 5, -2, 1, 5, -3, -1, 5, -2, -2, 5, -2, -1, 4, -2, 0, 4, -3, 0, 4, -3, 1, 4], [-3, 2, 5, -2, 1, 5, -3, -1, 5, -2, -2, 5, -2, -1, 4, -2, 0, 4, -3, 0, 4, -3, 1, 4], [-3, 2, 5, -4, 1, 5, -4, -2, 5, -3, -1, 5, -3, 1, 4, -3, 0, 4, -4, 0, 4, -4, -1, 4], [-3, 2, 5, -4, 1, 5, -4, -2, 5, -3, -1, 5, -3, 1, 4, -3, 0, 4, -4, 0, 4, -4, -1, 4], [-3, 2, 5, -2, 1, 5, -2, -2, 5, -3, -3, 5, -2, 0, 4, -2, -1, 4, -3, -1, 4, -3, 0, 4, -3, 1, 4, -3, -2, 4], [-1, 2, 5, -2, 1, 5, -2, -2, 5, -1, -3, 5, -1, -2, 4, -1, -1, 4, -1, 0, 4, -1, 1, 4, -2, 0, 4, -2, -1, 4], [-4, 3, 5, -2, 1, 5, -2, -2, 5, -3, -1, 5, -4, 0, 5, -3, 1, 5, -4, 2, 5, -4, 1, 4, -3, 0, 4, -2, 0, 4, -2, -1, 4], [-3, 2, 5, -3, -1, 5, -3, 1, 4, -3, 0, 4], [-1, 3, 5, -3, 1, 5, -3, -2, 5, -2, -1, 5, -1, 0, 5, -1, 2, 5, -2, 1, 5, -1, 1, 4, -2, 0, 4, -3, 0, 4, -3, -1, 4], [-2, 2, 5, -2, -1, 5, -2, 1, 4, -2, 0, 4], [3, -3, 2, 3, -4, 2, 2, -4, 2, 2, -3, 2, 2, -2, 2, 1, -2, 2, 1, -3, 2, 1, -4, 2, 0, -4, 2, 0, -3, 2, 0, -2, 2, -1, -3, 2, -1, -2, 2, -1, -1, 2, -1, 0, 2, 1, -1, 2, 0, -1, 2], [-3, -3, 2, -3, -4, 2, -2, -4, 2, -2, -3, 2, -2, -2, 2, -1, -2, 2, -1, -3, 2, -1, -4, 2, 0, -4, 2, 0, -3, 2, 0, -2, 2, -1, -1, 2, 1, -3, 2, 1, -2, 2, 1, -1, 2, 1, 0, 2, 0, -1, 2], [-3, 2, 5, -2, 1, 5, -3, -1, 5, -2, -2, 5, -2, -1, 4, -2, 0, 4, -3, 0, 4, -3, 1, 4], [-3, 2, 5, -4, 1, 5, -3, -1, 5, -4, -2, 5, -3, 1, 4, -3, 0, 4, -4, -1, 4, -4, 0, 4], [-2, 1, 5, -2, -2, 5, -3, -1, 5, -3, 0, 5, -2, 0, 4, -2, -1, 4], [-3, 1, 5, -3, -2, 5, -2, 0, 5, -2, -1, 5, -3, 0, 4, -3, -1, 4], [-2, 1, 5, -2, -1, 5, -2, 0, 4], [0, 1, 5, 0, -1, 5, 0, 0, 4], [0, 0, 5, 0, -1, 4, 0, -2, 5], [-1, 1, 5, 0, 0, 5, 0, -3, 5, -1, -2, 5, -1, 0, 4, -1, -1, 4, 0, -1, 4, 0, -2, 4], [-3, 1, 5, -3, -1, 5, -3, 0, 4], [3, 1, 5, 2, 0, 5, 2, -3, 5, 3, -2, 5, 3, 0, 4, 3, -1, 4, 2, -1, 4, 2, -2, 4], [-3, 2, 5, -2, 1, 5, -3, 1, 5, -2, -1, 5, -2, 0, 5, -3, 0, 5, -3, -1, 5, -3, -2, 5, -3, -3, 5, -2, -2, 5, -2, -3, 5, -2, -4, 5], [3, 2, 5, 3, 1, 5, 3, 0, 5, 3, -1, 5, 3, -2, 5, 3, -3, 5, 2, 1, 5, 2, 0, 5, 2, -1, 5, 2, -2, 5, 2, -3, 5, 2, -4, 5], [1, 3, 2, 2, 2, 2, 3, 1, 2, 1, 2, 2, 2, 1, 2, 3, 0, 2, 4, 0, 2, 2, 0, 2, 1, 1, 2, 1, 0, 2, 1, -1, 2, 2, -1, 2, 2, -3, 5, 1, -3, 5, 0, -4, 5, -1, -4, 5, 2, -4, 2, 1, -4, 2, 2, -5, 2, 2, -6, 2, 1, -6, 2, 1, -5, 2, 0, -5, 2, 2, -7, 2], [1, 3, 2, 0, 2, 2, -1, 1, 2, -2, 0, 2, 0, -1, 2, 1, -1, 2, 1, 0, 2, 0, 0, 2, -1, 0, 2, 0, 1, 2, 1, 2, 2, 1, 1, 2, 0, -3, 5, 1, -3, 5, 2, -4, 5, 3, -4, 5, 2, -5, 2, 1, -5, 2, 1, -4, 2, 0, -4, 2, 0, -5, 2, 0, -6, 2, 0, -7, 2, 1, -6, 2], [-2, 1, 5, -2, 0, 5], [-2, 1, 5, -2, 0, 5], [5, 1, 5, 4, 1, 5, 3, 1, 5, 3, -2, 5, 5, -2, 5, 4, -2, 5, 5, -1, 4, 5, 0, 4, 4, -1, 4, 4, 0, 4, 3, 0, 4, 3, -1, 4], [], [-3, 2, 5, -2, 1, 5, -3, -1, 5, -2, -2, 5, -2, -1, 4, -2, 0, 4, -3, 0, 4, -3, 1, 4], [-3, 2, 5, -4, 1, 5, -4, -2, 5, -3, -1, 5, -3, 1, 4, -3, 0, 4, -4, 0, 4, -4, -1, 4], [-2, 1, 5, -2, -1, 5, -2, 0, 4], [0, 1, 5, 0, -1, 5, 0, 0, 4], [-3, 2, 5, -2, 1, 5, -2, -2, 5, -3, -3, 5, -2, 0, 4, -2, -1, 4, -3, -1, 4, -3, 0, 4, -3, 1, 4, -3, -2, 4], [-1, 2, 5, -2, 1, 5, -2, -2, 5, -1, -3, 5, -1, -2, 4, -1, -1, 4, -1, 0, 4, -1, 1, 4, -2, 0, 4, -2, -1, 4], [3, 0, 5, 3, -1, 4, 3, -2, 5], [0, -2, 5, 0, -1, 5, 0, 0, 5, -1, -2, 5, -1, -1, 5], [], [], [0, 0, 5, 1, 1, 5, 1, 0, 5, 0, -1, 5, 0, 1, 0, 0, 2, 0, 0, 3, 0, 0, 4, 0, 0, 5, 0, 0, 6, 0, 1, 6, 0, 1, 5, 0, 1, 4, 0, 1, 3, 0, 1, 2, 0], [1, 0, 5, 0, 1, 5, 0, 0, 5, 1, -1, 5, 1, 1, 0, 1, 2, 0, 1, 3, 0, 1, 4, 0, 1, 5, 0, 1, 6, 0, 0, 6, 0, 0, 5, 0, 0, 4, 0, 0, 3, 0, 0, 2, 0], [], [], [], [], [], [], [], [], [], [2, 0, 5], [2, 0, 5], [2, 0, 5], [2, 0, 5], [], [], [], [], [], [0, 6, 4, 1, 5, 4, 2, 4, 4, 3, 3, 4, 3, 2, 4, 3, 1, 4, 3, 0, 4, 2, 0, 4, 2, 1, 4, 2, 2, 4, 2, 3, 4, 1, 3, 4, 1, 2, 4, 1, 1, 4, 1, 0, 4, 1, 4, 4, 0, 5, 4, 0, 4, 4, 0, 3, 4, 0, 2, 4, 0, 1, 4, 0, 0, 4], [0, 3, 4, 1, 3, 4, 1, 4, 4, 2, 3, 4, 2, 4, 4, 2, 5, 4, 3, 6, 4, 3, 5, 4, 3, 4, 4, 3, 3, 4, 3, 2, 4, 3, 1, 4, 3, 0, 4, 2, 0, 4, 2, 1, 4, 1, 2, 4, 2, 2, 4, 1, 1, 4, 1, 0, 4, 0, 0, 4, 0, 1, 4, 0, 2, 4], [0, 2, 4, 0, 1, 4, 0, 0, 4, 1, 0, 4, 1, 1, 4, 2, 0, 4], [3, 2, 4, 3, 1, 4, 3, 0, 4, 2, 0, 4, 2, 1, 4, 1, 0, 4], [1, 7, 4, 2, 7, 4, 2, 6, 4, 3, 7, 4, 3, 6, 4, 3, 5, 4], [0, 5, 4, 0, 6, 4, 0, 7, 4, 1, 7, 4, 1, 6, 4, 2, 7, 4], [0, 4, 4, 0, 5, 4, 0, 6, 4, 0, 7, 4, 1, 7, 4, 1, 6, 4, 1, 5, 4, 1, 4, 4, 1, 3, 4, 2, 2, 4, 2, 3, 4, 2, 4, 4, 2, 5, 4, 2, 6, 4, 2, 7, 4, 3, 6, 4, 3, 4, 4, 3, 5, 4, 3, 3, 4, 3, 2, 4, 3, 1, 4, 3, 7, 4], [0, 1, 4, 0, 2, 4, 0, 3, 4, 0, 4, 4, 0, 5, 4, 0, 6, 4, 0, 7, 4, 1, 7, 4, 1, 6, 4, 1, 5, 4, 1, 4, 4, 1, 3, 4, 1, 2, 4, 2, 3, 4, 2, 4, 4, 2, 5, 4, 2, 6, 4, 2, 7, 4, 3, 7, 4, 3, 6, 4, 3, 4, 4, 3, 5, 4], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []);
var aVZFill = new Array();
var minimapT = new Array([], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [4287147451.0, 15, 15, 14, 15, 13, 14, 12, 14, 10, 13, 11, 13, 9, 12, 8, 12, 7, 11, 6, 11, 4, 10, 5, 10, 3, 9, 2, 9, 1, 8, 0, 8, 14, 14, 15, 14, 12, 13, 13, 13, 15, 13, 14, 13, 13, 12, 12, 12, 11, 12, 10, 12, 10, 11, 11, 11, 9, 11, 8, 11, 8, 10, 7, 10, 6, 10, 5, 9, 4, 9, 3, 8, 2, 8, 1, 7, 0, 7, 0, 9, 0, 10, 0, 11, 0, 12, 0, 13, 0, 14, 0, 15, 1, 15, 2, 15, 3, 15, 4, 15, 6, 15, 7, 15, 8, 15, 10, 15, 11, 15, 12, 15, 13, 15, 5, 15, 9, 15, 10, 14, 9, 14, 11, 14, 8, 14, 7, 14, 6, 14, 5, 14, 4, 14, 3, 14, 2, 14, 1, 14, 1, 13, 1, 12, 1, 11, 1, 10, 1, 9, 2, 10, 2, 11, 2, 12, 2, 13, 3, 13, 3, 12, 3, 11, 3, 10, 4, 12, 4, 13, 5, 11, 5, 12, 4, 11, 5, 13, 6, 12, 6, 13, 7, 13, 8, 13, 9, 13, 7, 12, 9, 10, 7, 9, 6, 9, 5, 8, 4, 8, 3, 7, 2, 7, 1, 6, 0, 6], [], [4287147451.0, 15, 0, 13, 0, 12, 0, 10, 0, 9, 0, 8, 0, 7, 0, 6, 0, 5, 0, 4, 0, 3, 0, 2, 0, 14, 0, 11, 0, 1, 0, 0, 1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 6, 0, 8, 0, 9, 0, 7, 0, 10, 0, 11, 0, 12, 0, 13, 0, 14, 0, 15, 1, 15, 2, 15, 3, 15, 4, 15, 6, 15, 8, 15, 9, 15, 10, 15, 11, 15, 12, 15, 13, 15, 14, 15, 0, 0, 15, 15, 15, 14, 15, 13, 15, 12, 15, 11, 15, 9, 15, 8, 15, 6, 15, 5, 15, 4, 15, 3, 15, 1, 14, 1, 13, 1, 12, 1, 11, 1, 10, 1, 9, 1, 7, 1, 6, 1, 5, 1, 4, 1, 2, 1, 1, 1, 3, 1, 8, 1, 10, 2, 12, 2, 14, 2, 15, 2, 11, 2, 13, 2, 9, 2, 6, 2, 5, 2, 4, 2, 3, 2, 2, 2, 1, 2, 1, 3, 1, 4, 1, 5, 1, 6, 1, 7, 1, 8, 1, 9, 1, 10, 1, 11, 1, 12, 1, 13, 1, 14, 2, 14, 2, 13, 2, 11, 2, 10, 2, 8, 2, 7, 2, 6, 2, 4, 2, 3, 2, 9, 2, 12, 2, 5, 3, 4, 4, 3, 5, 3, 6, 3, 8, 3, 8, 2, 7, 2, 7, 3, 3, 3, 10, 3, 12, 3, 13, 3, 14, 3, 9, 3, 11, 3, 5, 4, 4, 4, 6, 4, 7, 4, 8, 4, 9, 4, 10, 4, 12, 4, 13, 4, 14, 4, 11, 4, 12, 5, 14, 5, 14, 6, 15, 7, 15, 10, 14, 8, 14, 7, 14, 10, 14, 11, 14, 13, 14, 14, 14, 12, 14, 9, 13, 8, 13, 7, 13, 6, 13, 5, 13, 11, 13, 13, 13, 14, 13, 12, 13, 10, 13, 9, 12, 8, 12, 7, 12, 6, 12, 10, 12, 12, 12, 13, 12, 14, 11, 14, 10, 14, 8, 14, 7, 14, 6, 14, 5, 14, 5, 15, 7, 15, 9, 14, 11, 13, 8, 13, 7, 13, 5, 13, 4, 13, 3, 13, 3, 14, 4, 14, 6, 13, 10, 13, 10, 12, 8, 12, 7, 12, 6, 12, 4, 11, 3, 12, 4, 12, 5, 12, 3, 11, 5, 11, 7, 11, 8, 11, 9, 12, 9, 13, 9, 11, 10, 11, 11, 12, 11, 11, 12, 11, 9, 10, 7, 10, 5, 10, 6, 11, 6, 10, 4, 10, 3, 10, 3, 9, 3, 8, 3, 7, 3, 5, 4, 5, 4, 7, 4, 8, 4, 9, 4, 6, 3, 6, 5, 5, 5, 6, 5, 7, 5, 8, 5, 9, 6, 9, 6, 7, 6, 6, 6, 5, 6, 8, 7, 6, 7, 5, 7, 7, 7, 9, 7, 8, 8, 9, 8, 10, 8, 7, 8, 6, 8, 8, 8, 5, 9, 6, 9, 8, 9, 9, 9, 7, 10, 5, 10, 7, 10, 8, 10, 10, 11, 10, 11, 9, 10, 9, 12, 9, 11, 7, 11, 6, 11, 5, 11, 8, 10, 6, 9, 5], [4287147451.0, 0, 0, 1, 0, 2, 1, 3, 1, 4, 2, 5, 2, 6, 3, 7, 3, 8, 4, 9, 4, 11, 5, 10, 5, 12, 6, 13, 6, 14, 7, 15, 7, 15, 8, 15, 9, 15, 10, 15, 11, 15, 12, 15, 13, 15, 14, 15, 15, 14, 15, 13, 15, 12, 15, 11, 15, 9, 15, 8, 15, 7, 15, 6, 15, 4, 15, 2, 15, 1, 15, 0, 15, 0, 1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 7, 0, 8, 0, 9, 0, 10, 0, 11, 0, 12, 0, 13, 0, 14, 0, 6, 1, 4, 1, 2, 1, 1, 1, 3, 1, 5, 1, 6, 1, 7, 1, 9, 2, 11, 2, 13, 1, 11, 1, 13, 1, 14, 2, 14, 3, 14, 3, 15, 5, 15, 4, 14, 5, 14, 6, 14, 7, 14, 8, 14, 9, 14, 10, 14, 10, 15, 11, 14, 12, 14, 13, 14, 14, 14, 14, 13, 13, 13, 12, 13, 11, 13, 10, 13, 9, 13, 8, 13, 7, 13, 6, 13, 5, 13, 4, 13, 3, 13, 3, 12, 2, 12, 1, 12, 2, 10, 1, 10, 1, 8, 2, 8, 2, 9, 2, 7, 2, 6, 2, 5, 2, 4, 2, 3, 2, 2, 3, 2, 3, 3, 3, 4, 3, 5, 3, 6, 3, 7, 3, 8, 3, 10, 3, 11, 4, 11, 3, 9, 4, 10, 4, 12, 4, 8, 4, 4, 4, 5, 4, 6, 4, 7, 4, 9, 4, 3, 5, 3, 5, 5, 5, 6, 5, 8, 5, 9, 5, 10, 5, 11, 5, 12, 5, 7, 5, 4, 6, 4, 7, 4, 7, 5, 6, 6, 6, 5, 6, 8, 6, 9, 6, 10, 6, 11, 6, 12, 7, 11, 7, 10, 7, 8, 7, 7, 7, 6, 6, 7, 7, 9, 7, 12, 8, 8, 8, 7, 8, 6, 8, 5, 9, 5, 9, 6, 9, 7, 9, 8, 8, 9, 9, 9, 9, 10, 8, 10, 8, 11, 8, 12, 9, 12, 9, 11, 10, 11, 10, 10, 10, 9, 10, 8, 10, 7, 10, 6, 11, 6, 11, 7, 11, 9, 11, 10, 11, 11, 10, 12, 11, 12, 11, 8, 12, 7, 13, 8, 12, 9, 12, 10, 12, 12, 13, 12, 14, 12, 14, 11, 12, 11, 13, 11, 13, 10, 14, 10, 14, 9, 13, 9, 12, 8, 13, 7, 14, 8], [4287147451.0, 0, 15, 1, 15, 2, 14, 3, 14, 5, 13, 4, 13, 6, 12, 7, 12, 8, 11, 9, 11, 11, 10, 10, 10, 12, 9, 13, 9, 14, 8, 15, 8, 1, 14, 0, 14, 3, 13, 2, 13, 0, 13, 1, 13, 2, 12, 3, 12, 4, 12, 5, 12, 5, 11, 4, 11, 6, 11, 7, 11, 7, 10, 8, 10, 9, 10, 10, 9, 11, 9, 12, 8, 13, 8, 14, 7, 15, 7, 15, 9, 15, 10, 15, 11, 15, 12, 15, 13, 15, 14, 15, 15, 14, 15, 13, 15, 12, 15, 11, 15, 9, 15, 8, 15, 7, 15, 5, 15, 4, 15, 3, 15, 2, 15, 10, 15, 6, 15, 5, 14, 6, 14, 4, 14, 7, 14, 8, 14, 9, 14, 10, 14, 11, 14, 12, 14, 13, 14, 14, 14, 14, 13, 14, 12, 14, 11, 14, 10, 14, 9, 13, 10, 13, 11, 13, 12, 13, 13, 12, 13, 12, 12, 12, 11, 12, 10, 11, 12, 11, 13, 10, 11, 10, 12, 11, 11, 10, 13, 9, 12, 9, 13, 8, 13, 7, 13, 6, 13, 8, 12, 6, 10, 8, 9, 9, 9, 10, 8, 11, 8, 12, 7, 13, 7, 14, 6, 15, 6], [], [], [4287147451.0, 15, 0, 14, 0, 13, 1, 12, 1, 11, 2, 10, 2, 9, 3, 8, 3, 7, 4, 6, 4, 4, 5, 5, 5, 3, 6, 2, 6, 1, 7, 0, 7, 0, 8, 0, 9, 0, 10, 0, 11, 0, 12, 0, 13, 0, 14, 0, 15, 1, 15, 2, 15, 3, 15, 4, 15, 6, 15, 7, 15, 8, 15, 9, 15, 11, 15, 13, 15, 14, 15, 15, 15, 15, 1, 15, 2, 15, 3, 15, 4, 15, 5, 15, 7, 15, 8, 15, 9, 15, 10, 15, 11, 15, 12, 15, 13, 15, 14, 15, 6, 14, 4, 14, 2, 14, 1, 14, 3, 14, 5, 14, 6, 14, 7, 14, 9, 13, 11, 13, 13, 14, 11, 14, 13, 14, 14, 13, 14, 12, 14, 12, 15, 10, 15, 11, 14, 10, 14, 9, 14, 8, 14, 7, 14, 6, 14, 5, 14, 5, 15, 4, 14, 3, 14, 2, 14, 1, 14, 1, 13, 2, 13, 3, 13, 4, 13, 5, 13, 6, 13, 7, 13, 8, 13, 9, 13, 10, 13, 11, 13, 12, 13, 12, 12, 13, 12, 14, 12, 13, 10, 14, 10, 14, 8, 13, 8, 13, 9, 13, 7, 13, 6, 13, 5, 13, 4, 13, 3, 13, 2, 12, 2, 12, 3, 12, 4, 12, 5, 12, 6, 12, 7, 12, 8, 12, 10, 12, 11, 11, 11, 12, 9, 11, 10, 11, 12, 11, 8, 11, 4, 11, 5, 11, 6, 11, 7, 11, 9, 11, 3, 10, 3, 10, 5, 10, 6, 10, 8, 10, 9, 10, 10, 10, 11, 10, 12, 10, 7, 10, 4, 9, 4, 8, 4, 8, 5, 9, 6, 9, 5, 9, 8, 9, 9, 9, 10, 9, 11, 9, 12, 8, 11, 8, 10, 8, 8, 8, 7, 8, 6, 9, 7, 8, 9, 8, 12, 7, 8, 7, 7, 7, 6, 7, 5, 6, 5, 6, 6, 6, 7, 6, 8, 7, 9, 6, 9, 6, 10, 7, 10, 7, 11, 7, 12, 6, 12, 6, 11, 5, 11, 5, 10, 5, 9, 5, 8, 5, 7, 5, 6, 4, 6, 4, 7, 4, 9, 4, 10, 4, 11, 5, 12, 4, 12, 4, 8, 3, 7, 2, 8, 3, 9, 3, 10, 3, 12, 2, 12, 1, 12, 1, 11, 3, 11, 2, 11, 2, 10, 1, 10, 1, 9, 2, 9, 3, 8, 2, 7, 1, 8], [], [4287147451.0, 0, 14, 0, 13, 0, 12, 0, 11, 0, 10, 0, 9, 0, 8, 0, 7, 0, 6, 0, 5, 0, 4, 0, 3, 0, 2, 0, 1, 0, 0, 1, 0, 2, 0, 4, 0, 6, 0, 7, 0, 8, 0, 9, 0, 10, 0, 11, 0, 12, 0, 13, 0, 14, 0, 15, 0, 15, 1, 15, 2, 15, 3, 15, 4, 15, 5, 15, 6, 15, 7, 14, 7, 14, 6, 14, 5, 14, 4, 14, 3, 13, 3, 13, 2, 14, 2, 14, 1, 13, 1, 12, 1, 11, 1, 10, 1, 9, 1, 8, 1, 7, 1, 6, 1, 5, 1, 4, 1, 5, 0, 3, 0, 3, 1, 2, 1, 1, 1, 1, 2, 1, 3, 1, 4, 1, 5, 1, 6, 1, 7, 1, 8, 1, 9, 1, 10, 1, 11, 1, 12, 1, 13, 1, 14, 2, 13, 3, 13, 3, 12, 2, 12, 2, 11, 2, 10, 2, 9, 2, 8, 2, 7, 2, 6, 2, 5, 2, 4, 2, 3, 2, 2, 3, 2, 4, 2, 5, 2, 6, 2, 7, 2, 8, 2, 9, 2, 10, 2, 11, 2, 12, 2, 13, 4, 13, 5, 13, 6, 12, 4, 12, 3, 11, 3, 10, 3, 9, 3, 8, 3, 7, 3, 6, 3, 5, 3, 4, 3, 3, 4, 4, 4, 5, 4, 7, 4, 8, 4, 9, 4, 10, 4, 11, 4, 6, 4, 4, 5, 3, 5, 3, 3, 6, 5, 7, 5, 9, 5, 10, 5, 11, 5, 12, 5, 8, 5, 5, 5, 4, 6, 4, 7, 3, 7, 3, 6, 5, 6, 6, 6, 7, 6, 8, 6, 9, 6, 10, 6, 11, 6, 12, 6, 13, 7, 13, 8, 12, 8, 12, 7, 11, 8, 11, 9, 10, 9, 11, 7, 10, 8, 10, 7, 9, 8, 9, 9, 9, 10, 9, 7, 8, 8, 8, 9, 8, 10, 8, 7, 7, 7, 7, 8, 7, 9, 7, 10, 7, 11, 6, 11, 6, 10, 6, 9, 6, 8, 6, 7, 5, 7, 5, 8, 5, 9, 5, 10, 5, 11, 5, 12, 4, 12, 4, 11, 4, 10, 4, 9, 4, 8, 3, 8, 3, 9, 3, 10, 3, 11], [4287147451.0, 13, 0, 12, 0, 11, 1, 10, 1, 9, 2, 8, 2, 7, 3, 6, 3, 5, 4, 4, 4, 3, 5, 2, 5, 1, 6, 0, 6, 0, 5, 0, 4, 0, 3, 0, 2, 0, 1, 0, 0, 1, 0, 2, 0, 3, 0, 5, 0, 6, 0, 7, 0, 10, 0, 11, 0, 9, 0, 8, 0, 4, 0, 3, 1, 2, 1, 2, 2, 1, 3, 1, 4, 1, 2, 1, 1, 1, 5, 2, 4, 2, 3, 3, 3, 3, 2, 3, 4, 4, 2, 4, 1, 4, 3, 5, 3, 5, 2, 5, 1, 6, 1, 7, 1, 7, 2, 6, 2, 8, 1, 9, 1], [], [4287147451.0, 15, 14, 15, 13, 15, 12, 15, 11, 15, 10, 15, 9, 15, 8, 15, 7, 15, 6, 15, 5, 15, 4, 15, 3, 15, 2, 15, 1, 15, 0, 14, 0, 13, 0, 11, 0, 9, 0, 8, 0, 7, 0, 6, 0, 5, 0, 4, 0, 3, 0, 2, 0, 1, 0, 0, 0, 0, 1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 6, 0, 7, 1, 7, 1, 6, 1, 5, 1, 4, 1, 3, 2, 3, 2, 2, 1, 2, 1, 1, 2, 1, 3, 1, 4, 1, 5, 1, 6, 1, 7, 1, 8, 1, 9, 1, 10, 1, 11, 1, 10, 0, 12, 0, 12, 1, 13, 1, 14, 1, 14, 2, 14, 3, 14, 4, 14, 5, 14, 6, 14, 7, 14, 8, 14, 9, 14, 10, 14, 11, 14, 12, 14, 13, 14, 14, 13, 13, 12, 13, 12, 12, 13, 12, 13, 11, 13, 10, 13, 9, 13, 8, 13, 7, 13, 6, 13, 5, 13, 4, 13, 3, 13, 2, 12, 2, 11, 2, 10, 2, 9, 2, 8, 2, 7, 2, 6, 2, 5, 2, 4, 2, 3, 2, 2, 4, 2, 5, 2, 6, 3, 4, 3, 3, 4, 3, 5, 3, 6, 3, 7, 3, 8, 3, 9, 3, 10, 3, 11, 3, 12, 4, 11, 4, 10, 4, 8, 4, 7, 4, 6, 4, 5, 4, 4, 4, 9, 4, 11, 5, 12, 5, 12, 3, 9, 5, 8, 5, 6, 5, 5, 5, 4, 5, 3, 5, 7, 5, 10, 5, 11, 6, 11, 7, 12, 7, 12, 6, 10, 6, 9, 6, 8, 6, 7, 6, 6, 6, 5, 6, 4, 6, 3, 6, 2, 7, 2, 8, 3, 8, 3, 7, 4, 8, 4, 9, 5, 9, 4, 7, 5, 8, 5, 7, 6, 8, 6, 9, 6, 10, 6, 7, 7, 8, 7, 9, 7, 10, 7, 7, 8, 7, 8, 8, 8, 9, 8, 10, 8, 11, 9, 11, 9, 10, 9, 9, 9, 8, 9, 7, 10, 7, 10, 8, 10, 9, 10, 10, 10, 11, 10, 12, 11, 12, 11, 11, 11, 10, 11, 9, 11, 8, 12, 8, 12, 9, 12, 10, 12, 11], [4287147451.0, 2, 0, 3, 0, 4, 1, 5, 1, 6, 2, 7, 2, 8, 3, 9, 3, 10, 4, 11, 4, 12, 5, 13, 5, 14, 6, 15, 6, 15, 5, 15, 4, 15, 3, 15, 2, 15, 1, 15, 0, 14, 0, 13, 0, 12, 0, 10, 0, 9, 0, 8, 0, 5, 0, 4, 0, 6, 0, 7, 0, 11, 0, 12, 1, 13, 1, 13, 2, 14, 3, 14, 4, 14, 2, 14, 1, 14, 5, 13, 4, 13, 3, 12, 3, 12, 2, 12, 4, 11, 2, 11, 1, 11, 3, 10, 3, 10, 2, 10, 1, 9, 1, 8, 1, 8, 2, 9, 2, 7, 1, 6, 1], [4287147451.0, 0, 0, 1, 0, 2, 1, 3, 1, 4, 2, 5, 2, 6, 3, 7, 3, 8, 4, 9, 4, 11, 5, 10, 5, 12, 6, 13, 6, 14, 7, 15, 7, 15, 8, 15, 9, 15, 10, 15, 11, 15, 12, 15, 13, 15, 14, 15, 15, 14, 15, 13, 15, 12, 15, 11, 15, 9, 15, 8, 15, 7, 15, 6, 15, 4, 15, 2, 15, 1, 15, 0, 15, 0, 1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 7, 0, 8, 0, 9, 0, 10, 0, 11, 0, 12, 0, 13, 0, 14, 0, 6, 1, 4, 1, 2, 1, 1, 1, 3, 1, 5, 1, 6, 1, 7, 1, 9, 2, 11, 2, 13, 1, 11, 1, 13, 1, 14, 2, 14, 3, 14, 3, 15, 5, 15, 4, 14, 5, 14, 6, 14, 7, 14, 8, 14, 9, 14, 10, 14, 10, 15, 11, 14, 12, 14, 13, 14, 14, 14, 14, 13, 13, 13, 12, 13, 11, 13, 10, 13, 9, 13, 8, 13, 7, 13, 6, 13, 5, 13, 4, 13, 3, 13, 3, 12, 2, 12, 1, 12, 2, 10, 1, 10, 1, 8, 2, 8, 2, 9, 2, 7, 2, 6, 2, 5, 2, 4, 2, 3, 2, 2, 3, 2, 3, 3, 3, 4, 3, 5, 3, 6, 3, 7, 3, 8, 3, 10, 3, 11, 4, 11, 3, 9, 4, 10, 4, 12, 4, 8, 4, 4, 4, 5, 4, 6, 4, 7, 4, 9, 4, 3, 5, 3, 5, 5, 5, 6, 5, 8, 5, 9, 5, 10, 5, 11, 5, 12, 5, 7, 5, 4, 6, 4, 7, 4, 7, 5, 6, 6, 6, 5, 6, 8, 6, 9, 6, 10, 6, 11, 6, 12, 7, 11, 7, 10, 7, 8, 7, 7, 7, 6, 6, 7, 7, 9, 7, 12, 8, 8, 8, 7, 8, 6, 8, 5, 9, 5, 9, 6, 9, 7, 9, 8, 8, 9, 9, 9, 9, 10, 8, 10, 8, 11, 8, 12, 9, 12, 9, 11, 10, 11, 10, 10, 10, 9, 10, 8, 10, 7, 10, 6, 11, 6, 11, 7, 11, 9, 11, 10, 11, 11, 10, 12, 11, 12, 11, 8, 12, 7, 13, 8, 12, 9, 12, 10, 12, 12, 13, 12, 14, 12, 14, 11, 12, 11, 13, 11, 13, 10, 14, 10, 14, 9, 13, 9, 12, 8, 13, 7, 14, 8], [4287147451.0, 0, 14, 1, 13, 2, 12, 3, 11, 4, 10, 4, 9, 5, 9, 5, 8, 4, 7, 3, 7, 2, 6, 1, 6, 0, 6, 0, 7, 1, 7, 2, 7, 1, 8, 1, 9, 0, 8, 0, 9, 0, 10, 0, 11, 0, 13, 0, 12, 1, 11, 1, 10, 1, 12, 2, 11, 2, 10, 2, 9, 2, 8, 3, 9, 3, 10, 3, 8, 4, 8], [4287147451.0, 15, 0, 14, 0, 13, 1, 12, 1, 11, 2, 10, 2, 9, 3, 8, 3, 7, 4, 6, 4, 4, 5, 5, 5, 3, 6, 2, 6, 1, 7, 0, 7, 0, 8, 0, 9, 0, 10, 0, 11, 0, 12, 0, 13, 0, 14, 0, 15, 1, 15, 2, 15, 3, 15, 4, 15, 6, 15, 7, 15, 8, 15, 9, 15, 11, 15, 13, 15, 14, 15, 15, 15, 15, 1, 15, 2, 15, 3, 15, 4, 15, 5, 15, 7, 15, 8, 15, 9, 15, 10, 15, 11, 15, 12, 15, 13, 15, 14, 15, 6, 14, 4, 14, 2, 14, 1, 14, 3, 14, 5, 14, 6, 14, 7, 14, 9, 13, 11, 13, 13, 14, 11, 14, 13, 14, 14, 13, 14, 12, 14, 12, 15, 10, 15, 11, 14, 10, 14, 9, 14, 8, 14, 7, 14, 6, 14, 5, 14, 5, 15, 4, 14, 3, 14, 2, 14, 1, 14, 1, 13, 2, 13, 3, 13, 4, 13, 5, 13, 6, 13, 7, 13, 8, 13, 9, 13, 10, 13, 11, 13, 12, 13, 12, 12, 13, 12, 14, 12, 13, 10, 14, 10, 14, 8, 13, 8, 13, 9, 13, 7, 13, 6, 13, 5, 13, 4, 13, 3, 13, 2, 12, 2, 12, 3, 12, 4, 12, 5, 12, 6, 12, 7, 12, 8, 12, 10, 12, 11, 11, 11, 12, 9, 11, 10, 11, 12, 11, 8, 11, 4, 11, 5, 11, 6, 11, 7, 11, 9, 11, 3, 10, 3, 10, 5, 10, 6, 10, 8, 10, 9, 10, 10, 10, 11, 10, 12, 10, 7, 10, 4, 9, 4, 8, 4, 8, 5, 9, 6, 9, 5, 9, 8, 9, 9, 9, 10, 9, 11, 9, 12, 8, 11, 8, 10, 8, 8, 8, 7, 8, 6, 9, 7, 8, 9, 8, 12, 7, 8, 7, 7, 7, 6, 7, 5, 6, 5, 6, 6, 6, 7, 6, 8, 7, 9, 6, 9, 6, 10, 7, 10, 7, 11, 7, 12, 6, 12, 6, 11, 5, 11, 5, 10, 5, 9, 5, 8, 5, 7, 5, 6, 4, 6, 4, 7, 4, 9, 4, 10, 4, 11, 5, 12, 4, 12, 4, 8, 3, 7, 2, 8, 3, 9, 3, 10, 3, 12, 2, 12, 1, 12, 1, 11, 3, 11, 2, 11, 2, 10, 1, 10, 1, 9, 2, 9, 3, 8, 2, 7, 1, 8], [4287147451.0, 15, 14, 14, 13, 13, 12, 12, 11, 11, 10, 11, 9, 10, 9, 10, 8, 11, 7, 12, 7, 13, 6, 14, 6, 15, 6, 15, 7, 14, 7, 13, 7, 14, 8, 14, 9, 15, 8, 15, 9, 15, 10, 15, 11, 15, 13, 15, 12, 14, 11, 14, 10, 14, 12, 13, 11, 13, 10, 13, 9, 13, 8, 12, 9, 12, 10, 12, 8, 11, 8], [], [], [4284636508.0, 0, 2, 0, 3, 0, 5, 0, 4, 0, 6, 0, 7, 0, 9, 0, 8, 0, 10, 0, 11, 1, 2, 2, 3, 3, 3, 4, 4, 5, 4, 6, 5, 7, 5, 8, 6, 9, 6, 9, 7, 10, 7, 11, 7, 11, 8, 12, 8, 13, 8, 14, 9, 15, 9, 1, 3, 1, 4, 1, 5, 1, 6, 1, 7, 1, 8, 1, 9, 2, 9, 2, 10, 2, 11, 2, 12, 1, 11, 1, 10, 3, 12, 3, 11, 3, 10, 3, 9, 3, 8, 3, 7, 3, 6, 3, 5, 3, 4, 2, 5, 2, 6, 2, 7, 2, 8, 2, 4, 4, 5, 5, 5, 5, 6, 5, 7, 5, 8, 4, 8, 4, 7, 4, 6, 4, 9, 4, 10, 4, 11, 4, 12, 4, 13, 5, 13, 5, 12, 5, 11, 5, 10, 5, 9, 6, 7, 7, 6, 6, 6, 6, 8, 6, 9, 6, 10, 6, 14, 7, 13, 7, 12, 7, 11, 6, 12, 6, 13, 6, 11, 7, 10, 7, 9, 7, 8, 7, 7, 8, 7, 8, 8, 8, 9, 8, 10, 8, 11, 8, 12, 8, 13, 8, 14, 7, 14, 9, 15, 10, 15, 11, 15, 12, 15, 13, 15, 14, 15, 15, 14, 15, 13, 15, 15, 15, 12, 15, 11, 15, 10, 14, 11, 14, 12, 14, 13, 14, 10, 14, 14, 13, 11, 13, 10, 13, 9, 13, 12, 13, 13, 13, 14, 12, 12, 12, 11, 12, 10, 12, 9, 12, 13, 12, 14, 11, 11, 11, 9, 11, 10, 11, 12, 11, 13, 11, 14, 10, 14, 10, 12, 10, 11, 10, 10, 10, 9, 10, 8, 9, 8, 9, 9, 9, 11, 9, 12, 9, 13, 9, 14, 9, 10, 10, 13, 8, 15], [4284636508.0, 0, 15, 0, 14, 0, 13, 0, 12, 0, 11, 0, 10, 1, 10, 2, 11, 3, 11, 4, 12, 5, 12, 6, 13, 7, 13, 8, 14, 9, 14, 10, 15, 11, 15, 9, 15, 8, 15, 7, 15, 6, 15, 5, 15, 4, 15, 3, 15, 2, 15, 1, 15, 1, 14, 1, 13, 1, 12, 1, 11, 2, 14, 2, 13, 2, 12, 3, 14, 3, 13, 3, 12, 4, 14, 4, 13, 5, 14, 5, 13, 6, 14, 7, 14], [4284636508.0, 15, 2, 15, 1, 15, 0, 14, 2, 14, 1, 14, 0, 13, 0, 12, 0, 11, 0, 10, 0, 12, 1, 13, 1], [4284636508.0, 12, 0, 13, 0, 14, 1, 15, 1, 0, 3, 1, 3, 2, 4, 3, 4, 4, 5, 5, 5, 6, 6, 7, 6, 8, 7, 9, 7, 10, 8, 11, 8, 12, 9, 13, 9, 14, 10, 15, 10, 15, 8, 15, 7, 15, 6, 15, 5, 15, 4, 15, 3, 15, 2, 15, 9, 14, 9, 14, 8, 14, 7, 14, 6, 14, 5, 14, 4, 14, 3, 14, 2, 13, 3, 13, 5, 13, 7, 13, 8, 12, 8, 12, 7, 12, 6, 13, 6, 11, 7, 10, 7, 10, 6, 11, 6, 9, 6, 8, 6, 8, 5, 7, 5, 6, 5, 6, 4, 5, 4, 4, 4, 4, 3, 3, 3, 2, 3, 2, 2, 1, 2, 0, 2, 0, 1, 0, 0, 1, 0, 1, 1, 2, 1, 2, 0, 3, 1, 3, 0, 4, 1, 4, 2, 3, 2, 4, 0, 5, 0, 5, 1, 5, 2, 5, 3, 6, 2, 6, 1, 6, 3, 7, 2, 7, 1, 6, 0, 7, 3, 7, 4, 7, 0, 8, 0, 8, 1, 8, 3, 8, 4, 9, 3, 9, 2, 8, 2, 9, 1, 9, 0, 10, 0, 11, 0, 11, 1, 10, 1, 10, 2, 10, 3, 9, 4, 9, 5, 10, 5, 10, 4, 11, 5, 12, 5, 13, 4, 12, 4, 11, 4, 11, 3, 12, 3, 11, 2, 12, 2, 13, 2, 13, 1, 12, 1], [4284636508.0, 15, 2, 15, 3, 15, 5, 15, 4, 15, 6, 15, 7, 15, 9, 15, 8, 15, 10, 15, 11, 14, 2, 13, 3, 12, 3, 11, 4, 10, 4, 9, 5, 8, 5, 7, 6, 6, 6, 6, 7, 5, 7, 4, 7, 4, 8, 3, 8, 2, 8, 1, 9, 0, 9, 14, 3, 14, 4, 14, 5, 14, 6, 14, 7, 14, 8, 14, 9, 13, 9, 13, 10, 13, 11, 13, 12, 14, 11, 14, 10, 12, 12, 12, 11, 12, 10, 12, 9, 12, 8, 12, 7, 12, 6, 12, 5, 12, 4, 13, 5, 13, 6, 13, 7, 13, 8, 13, 4, 11, 5, 10, 5, 10, 6, 10, 7, 10, 8, 11, 8, 11, 7, 11, 6, 11, 9, 11, 10, 11, 11, 11, 12, 11, 13, 10, 13, 10, 12, 10, 11, 10, 10, 10, 9, 9, 7, 8, 6, 9, 6, 9, 8, 9, 9, 9, 10, 9, 14, 8, 13, 8, 12, 8, 11, 9, 12, 9, 13, 9, 11, 8, 10, 8, 9, 8, 8, 8, 7, 7, 7, 7, 8, 7, 9, 7, 10, 7, 11, 7, 12, 7, 13, 7, 14, 8, 14, 6, 15, 5, 15, 4, 15, 3, 15, 2, 15, 1, 15, 0, 14, 0, 13, 0, 15, 0, 12, 0, 11, 0, 10, 1, 11, 1, 12, 1, 13, 1, 10, 1, 14, 2, 11, 2, 10, 2, 9, 2, 12, 2, 13, 2, 14, 3, 12, 3, 11, 3, 10, 3, 9, 3, 13, 3, 14, 4, 11, 4, 9, 4, 10, 4, 12, 4, 13, 4, 14, 5, 14, 5, 12, 5, 11, 5, 10, 5, 9, 5, 8, 6, 8, 6, 9, 6, 11, 6, 12, 6, 13, 6, 14, 6, 10, 5, 13, 7, 15], [4284636508.0, 15, 15, 15, 14, 15, 13, 15, 12, 15, 11, 15, 10, 14, 10, 13, 11, 12, 11, 11, 12, 10, 12, 9, 13, 8, 13, 7, 14, 6, 14, 5, 15, 4, 15, 6, 15, 7, 15, 8, 15, 9, 15, 10, 15, 11, 15, 12, 15, 13, 15, 14, 15, 14, 14, 14, 13, 14, 12, 14, 11, 13, 14, 13, 13, 13, 12, 12, 14, 12, 13, 12, 12, 11, 14, 11, 13, 10, 14, 10, 13, 9, 14, 8, 14], [4284636508.0, 0, 2, 0, 1, 0, 0, 1, 2, 1, 1, 1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 3, 1, 2, 1], [4284636508.0, 3, 0, 2, 0, 1, 1, 0, 1, 15, 3, 14, 3, 13, 4, 12, 4, 11, 5, 10, 5, 9, 6, 8, 6, 7, 7, 6, 7, 5, 8, 4, 8, 3, 9, 2, 9, 1, 10, 0, 10, 0, 8, 0, 7, 0, 6, 0, 5, 0, 4, 0, 3, 0, 2, 0, 9, 1, 9, 1, 8, 1, 7, 1, 6, 1, 5, 1, 4, 1, 3, 1, 2, 2, 3, 2, 5, 2, 7, 2, 8, 3, 8, 3, 7, 3, 6, 2, 6, 4, 7, 5, 7, 5, 6, 4, 6, 6, 6, 7, 6, 7, 5, 8, 5, 9, 5, 9, 4, 10, 4, 11, 4, 11, 3, 12, 3, 13, 3, 13, 2, 14, 2, 15, 2, 15, 1, 15, 0, 14, 0, 14, 1, 13, 1, 13, 0, 12, 1, 12, 0, 11, 1, 11, 2, 12, 2, 11, 0, 10, 0, 10, 1, 10, 2, 10, 3, 9, 2, 9, 1, 9, 3, 8, 2, 8, 1, 9, 0, 8, 3, 8, 4, 8, 0, 7, 0, 7, 1, 7, 3, 7, 4, 6, 3, 6, 2, 7, 2, 6, 1, 6, 0, 5, 0, 4, 0, 4, 1, 5, 1, 5, 2, 5, 3, 6, 4, 6, 5, 5, 5, 5, 4, 4, 5, 3, 5, 2, 4, 3, 4, 4, 4, 4, 3, 3, 3, 4, 2, 3, 2, 2, 2, 2, 1, 3, 1], [], [4284636508.0, 15, 2, 14, 2, 15, 11, 12, 3, 12, 12, 11, 12, 10, 4, 10, 13, 9, 13, 8, 14, 7, 15, 8, 5, -1, 15, 0, 15, 0, 14, 1, 14, 2, 14, 2, 15, 3, 15, 4, 15, 5, 15, 6, 15, 1, 15, 0, 13, 1, 13, 1, 12, 2, 12, 3, 11, 4, 10, 4, 9, 5, 9, 3, 10, 2, 11, 6, 8, 6, 9, 3, 12, 2, 13, 4, 11, 5, 10, 5, 11, 4, 12, 3, 13, 3, 14, 4, 14, 5, 14, 6, 14, 7, 14, 7, 13, 6, 13, 4, 13, 5, 13, 8, 13, 8, 12, 9, 12, 10, 12, 7, 12, 6, 12, 5, 12, 6, 11, 6, 10, 7, 11, 8, 11, 9, 11, 10, 11, 11, 11, 12, 11, 12, 10, 13, 10, 14, 10, 15, 10, 15, 9, 15, 8, 15, 7, 15, 6, 15, 5, 15, 4, 15, 3, 14, 3, 13, 3, 13, 4, 12, 4, 12, 5, 11, 5, 10, 5, 11, 4, 9, 6, 8, 6, 8, 7, 7, 7, 9, 5, 7, 6, 6, 7, 5, 8, 7, 8, 8, 8, 7, 9, 7, 10, 8, 10, 9, 10, 10, 10, 11, 10, 8, 9, 9, 9, 11, 9, 12, 9, 13, 9, 14, 9, 14, 8, 14, 7, 14, 6, 14, 4, 14, 5, 13, 6, 13, 8, 13, 7, 12, 7, 13, 5, 12, 8, 11, 8, 10, 9, 10, 8, 9, 8, 9, 7, 10, 7, 11, 6, 12, 6, 11, 7, 10, 6, 9, 14, 8, 15, 6, 6, 5, 7, 4, 8, 3, 9, 2, 10, 1, 11, 0, 12, -1, 14, -1, 13, 13, 2, 12, 2, 11, 3, 10, 3, 9, 3, 9, 4, 8, 4, 7, 4, 7, 5, 6, 5, 5, 5, 5, 6, 4, 6, 3, 7, 2, 8, 1, 9, 1, 10, 0, 11, 4, 7, 3, 8, 2, 9, 14, 11, 13, 11], [], [4284636508.0, -2, 4, -2, 5, -2, 6, -2, 7, -2, 9, -2, 8, -2, 10, -2, 11, -1, 15, -1, 14, -1, 12, -1, 13, -1, 0, -1, 1, -1, 2, -1, 3, 7, 0, 6, 0, 5, 0, 4, 0, 3, 0, 2, 0, 1, 0, 0, 1, 0, 0, 0, 2, 0, 3, -1, 4, -1, 5, -1, 6, -1, 7, -1, 8, -1, 9, -1, 10, -1, 11, 0, 8, 0, 7, 0, 6, 0, 5, 0, 4, 0, 9, 0, 10, 0, 11, 0, 12, 0, 13, 0, 14, 0, 15, 1, 15, 3, 15, 4, 15, 5, 15, 6, 15, 7, 15, 6, 14, 4, 14, 3, 14, 2, 14, 2, 15, 1, 14, 5, 14, 6, 13, 5, 13, 5, 12, 4, 13, 4, 11, 4, 12, 3, 12, 5, 11, 3, 13, 2, 13, 1, 13, 1, 12, 2, 12, 3, 11, 4, 10, 3, 10, 2, 10, 2, 11, 1, 11, 4, 9, 2, 9, 1, 10, 1, 9, 3, 8, 3, 9, 6, 1, 5, 3, 4, 5, 5, 2, 5, 1, 4, 3, 4, 4, 3, 6, 3, 7, 2, 8, 1, 8, 1, 7, 2, 7, 2, 6, 2, 5, 3, 5, 3, 4, 4, 2, 4, 1, 3, 3, 2, 4, 3, 2, 3, 1, 2, 2, 2, 3, 2, 1, 1, 2, 1, 3, 1, 4, 1, 5, 1, 6, 1, 1, -2, 0, -2, 1, -2, 2, -2, 3, -2, 12, -2, 13, -2, 14, -2, 15, -3, 12, -3, 11, -3, 10, -3, 9, -3, 8, -3, 7, -3, 6, -3, 5, -3, 4, -3, 3, -4, 6, -4, 8, -4, 9, -4, 7, -4, 5, -4, 10, -3, 13, -3, 2, 4, 8, 4, 6, 4, 7, 5, 4, 5, 10, 6, 2, 5, 5], [], [4284636508.0, 15, 2, 14, 2, 13, 1, 12, 1, 11, 1, 10, 1, 8, 0, 9, 0, 15, 11, -1, 0, -1, 1, 0, 2, 1, 3, 2, 4, 3, 5, 4, 5, 5, 6, 6, 7, 7, 7, 8, 8, 14, 10, 10, 8, 7, 8, 5, 7, 4, 6, 3, 6, 2, 5, 1, 4, 0, 3, -1, 2, 2, 3, 1, 2, 3, 4, 4, 4, 6, 5, 8, 6, 9, 6, 10, 7, 11, 7, 12, 8, 13, 8, 14, 7, 14, 6, 14, 5, 13, 4, 10, 3, 9, 3, 8, 3, 7, 2, 7, 1, 6, 0, 5, 0, 7, 0, 4, 0, 3, 0, 2, 0, 1, 0, 0, 0, 0, 1, 1, 1, 2, 1, 3, 1, 4, 1, 5, 1, 6, 1, 8, 1, 9, 1, 4, 2, 3, 2, 2, 2, 6, 2, 8, 2, 10, 2, 11, 2, 12, 2, 13, 2, 9, 2, 5, 2, 4, 3, 3, 3, 5, 3, 5, 4, 5, 5, 6, 4, 6, 3, 7, 3, 7, 4, 7, 5, 7, 6, 6, 6, 8, 5, 8, 4, 9, 4, 9, 5, 8, 7, 9, 7, 10, 6, 10, 5, 10, 4, 11, 4, 11, 3, 12, 3, 13, 3, 14, 3, 15, 3, 15, 4, 15, 5, 15, 6, 15, 7, 15, 8, 15, 9, 15, 10, 14, 9, 13, 9, 12, 9, 14, 8, 11, 8, 13, 7, 12, 7, 13, 6, 12, 6, 11, 6, 12, 5, 11, 5, 12, 4, 13, 5, 14, 4, 9, 8, 14, 11, 12, 10, 13, 10, 9, 9, 11, 9, 10, 9, 6, 8, 4, 7, 2, 6, 1, 5, 0, 4], [], [4284636508.0, 0, 2, 1, 2, 0, 11, 3, 3, 3, 12, 4, 12, 5, 4, 5, 13, 6, 13, 7, 14, 8, 15, 7, 5, 16, 15, 15, 15, 15, 14, 14, 14, 13, 14, 13, 15, 12, 15, 11, 15, 10, 15, 9, 15, 14, 15, 15, 13, 14, 13, 14, 12, 13, 12, 12, 11, 11, 10, 11, 9, 10, 9, 12, 10, 13, 11, 9, 8, 9, 9, 12, 12, 13, 13, 11, 11, 10, 10, 10, 11, 11, 12, 12, 13, 12, 14, 11, 14, 10, 14, 9, 14, 8, 14, 8, 13, 9, 13, 11, 13, 10, 13, 7, 13, 7, 12, 6, 12, 5, 12, 8, 12, 9, 12, 10, 12, 9, 11, 9, 10, 8, 11, 7, 11, 6, 11, 5, 11, 4, 11, 3, 11, 3, 10, 2, 10, 1, 10, 0, 10, 0, 9, 0, 8, 0, 7, 0, 6, 0, 5, 0, 4, 0, 3, 1, 3, 2, 3, 2, 4, 3, 4, 3, 5, 4, 5, 5, 5, 4, 4, 6, 6, 7, 6, 7, 7, 8, 7, 6, 5, 8, 6, 9, 7, 10, 8, 8, 8, 7, 8, 8, 9, 8, 10, 7, 10, 6, 10, 5, 10, 4, 10, 7, 9, 6, 9, 4, 9, 3, 9, 2, 9, 1, 9, 1, 8, 1, 7, 1, 6, 1, 4, 1, 5, 2, 6, 2, 8, 2, 7, 3, 7, 2, 5, 3, 8, 4, 8, 5, 9, 5, 8, 6, 8, 6, 7, 5, 7, 4, 6, 3, 6, 4, 7, 5, 6, 6, 14, 7, 15, 9, 6, 10, 7, 11, 8, 12, 9, 13, 10, 14, 11, 15, 12, 16, 14, 16, 13, 2, 2, 3, 2, 4, 3, 5, 3, 6, 3, 6, 4, 7, 4, 8, 4, 8, 5, 9, 5, 10, 5, 10, 6, 11, 6, 12, 7, 13, 8, 14, 9, 14, 10, 15, 11, 11, 7, 12, 8, 13, 9, 1, 11, 2, 11], [], [4284636508.0, 17, 4, 17, 5, 17, 6, 17, 7, 17, 9, 17, 8, 17, 10, 17, 11, 16, 15, 16, 14, 16, 12, 16, 13, 16, 0, 16, 1, 16, 2, 16, 3, 8, 0, 9, 0, 10, 0, 11, 0, 12, 0, 13, 0, 14, 0, 15, 1, 15, 0, 15, 2, 15, 3, 16, 4, 16, 5, 16, 6, 16, 7, 16, 8, 16, 9, 16, 10, 16, 11, 15, 8, 15, 7, 15, 6, 15, 5, 15, 4, 15, 9, 15, 10, 15, 11, 15, 12, 15, 13, 15, 14, 15, 15, 14, 15, 12, 15, 11, 15, 10, 15, 9, 15, 8, 15, 9, 14, 11, 14, 12, 14, 13, 14, 13, 15, 14, 14, 10, 14, 9, 13, 10, 13, 10, 12, 11, 13, 11, 11, 11, 12, 12, 12, 10, 11, 12, 13, 13, 13, 14, 13, 14, 12, 13, 12, 12, 11, 11, 10, 12, 10, 13, 10, 13, 11, 14, 11, 11, 9, 13, 9, 14, 10, 14, 9, 12, 8, 12, 9, 9, 1, 10, 3, 11, 5, 10, 2, 10, 1, 11, 3, 11, 4, 12, 6, 12, 7, 13, 8, 14, 8, 14, 7, 13, 7, 13, 6, 13, 5, 12, 5, 12, 4, 11, 2, 11, 1, 12, 3, 13, 4, 12, 2, 12, 1, 13, 2, 13, 3, 13, 1, 14, 2, 14, 3, 14, 4, 14, 5, 14, 6, 14, 1, 17, 0, 17, 1, 17, 2, 17, 3, 17, 12, 17, 13, 17, 14, 17, 15, 18, 12, 18, 11, 18, 10, 18, 9, 18, 8, 18, 7, 18, 6, 18, 5, 18, 4, 18, 3, 19, 6, 19, 8, 19, 9, 19, 7, 19, 5, 19, 10, 18, 13, 18, 2, 11, 8, 11, 6, 11, 7, 10, 4, 10, 10, 9, 2, 10, 5], [], [4284636508.0, 0, 2, 1, 2, 2, 1, 3, 1, 4, 1, 5, 1, 7, 0, 6, 0, 0, 11, 16, 0, 16, 1, 15, 2, 14, 3, 13, 4, 12, 5, 11, 5, 10, 6, 9, 7, 8, 7, 7, 8, 1, 10, 5, 8, 8, 8, 10, 7, 11, 6, 12, 6, 13, 5, 14, 4, 15, 3, 16, 2, 13, 3, 14, 2, 12, 4, 11, 4, 9, 5, 7, 6, 6, 6, 5, 7, 4, 7, 3, 8, 2, 8, 1, 7, 1, 6, 1, 5, 2, 4, 5, 3, 6, 3, 7, 3, 8, 2, 8, 1, 9, 0, 10, 0, 8, 0, 11, 0, 12, 0, 13, 0, 14, 0, 15, 0, 15, 1, 14, 1, 13, 1, 12, 1, 11, 1, 10, 1, 9, 1, 7, 1, 6, 1, 11, 2, 12, 2, 13, 2, 9, 2, 7, 2, 5, 2, 4, 2, 3, 2, 2, 2, 6, 2, 10, 2, 11, 3, 12, 3, 10, 3, 10, 4, 10, 5, 9, 4, 9, 3, 8, 3, 8, 4, 8, 5, 8, 6, 9, 6, 7, 5, 7, 4, 6, 4, 6, 5, 7, 7, 6, 7, 5, 6, 5, 5, 5, 4, 4, 4, 4, 3, 3, 3, 2, 3, 1, 3, 0, 3, 0, 4, 0, 5, 0, 6, 0, 7, 0, 8, 0, 9, 0, 10, 1, 9, 2, 9, 3, 9, 1, 8, 4, 8, 2, 7, 3, 7, 2, 6, 3, 6, 4, 6, 3, 5, 4, 5, 3, 4, 2, 5, 1, 4, 6, 8, 1, 11, 3, 10, 2, 10, 6, 9, 4, 9, 5, 9, 9, 8, 11, 7, 13, 6, 14, 5, 15, 4], [4284636508.0, 0, 2, 1, 2, 0, 11, 1, 11, 2, 12, 3, 12, 2, 3, 4, 13, 5, 13, 7, 7, 8, 8, 9, 9, 6, 13, 8, 13, 7, 13, 12, 12, 11, 11, 11, 10, 10, 9, 9, 10, 10, 11, 10, 12, 10, 10, 11, 12, 9, 12, 8, 12, 7, 12, 6, 12, 5, 12, 4, 12, 4, 11, 3, 11, 3, 10, 2, 10, 2, 11, 1, 10, 0, 9, 0, 10, 0, 8, 0, 7, 0, 6, 0, 5, 0, 4, 0, 3, 1, 3, 1, 4, 1, 5, 1, 6, 1, 7, 1, 8, 1, 9, 2, 9, 2, 8, 2, 7, 2, 6, 2, 5, 2, 4, 3, 8, 3, 7, 3, 6, 3, 5, 3, 4, 3, 9, 4, 5, 4, 6, 4, 7, 4, 8, 4, 9, 4, 10, 5, 6, 5, 7, 5, 8, 5, 10, 5, 9, 5, 11, 6, 10, 6, 9, 6, 8, 6, 7, 6, 6, 6, 11, 7, 9, 7, 8, 7, 10, 7, 11, 8, 11, 8, 9, 8, 10, 9, 11, 12, 11, 5, 5], [4284636508.0, 15, 2, 14, 2, 15, 11, 14, 11, 13, 12, 12, 12, 13, 3, 11, 13, 10, 13, 8, 7, 7, 8, 6, 9, 9, 13, 7, 13, 8, 13, 3, 12, 4, 11, 4, 10, 5, 9, 6, 10, 5, 11, 5, 12, 5, 10, 4, 12, 6, 12, 7, 12, 8, 12, 9, 12, 10, 12, 11, 12, 11, 11, 12, 11, 12, 10, 13, 10, 13, 11, 14, 10, 15, 9, 15, 10, 15, 8, 15, 7, 15, 6, 15, 5, 15, 4, 15, 3, 14, 3, 14, 4, 14, 5, 14, 6, 14, 7, 14, 8, 14, 9, 13, 9, 13, 8, 13, 7, 13, 6, 13, 5, 13, 4, 12, 8, 12, 7, 12, 6, 12, 5, 12, 4, 12, 9, 11, 5, 11, 6, 11, 7, 11, 8, 11, 9, 11, 10, 10, 6, 10, 7, 10, 8, 10, 10, 10, 9, 10, 11, 9, 10, 9, 9, 9, 8, 9, 7, 9, 6, 9, 11, 8, 9, 8, 8, 8, 10, 8, 11, 7, 11, 7, 9, 7, 10, 6, 11, 3, 11, 10, 5], [4284636508.0, 15, 1, 14, 1, 13, 1, 12, 1, 11, 1, 10, 1, 6, 4, 7, 5, 14, 10, 15, 10, 15, 9, 15, 8, 15, 7, 15, 6, 15, 5, 15, 4, 15, 3, 14, 2, 13, 2, 12, 2, 11, 2, 10, 2, 9, 2, 5, 2, 6, 2, 7, 2, 6, 3, 5, 3, 8, 2, 7, 3, 8, 3, 7, 4, 8, 4, 9, 3, 9, 4, 9, 5, 10, 4, 10, 3, 8, 5, 11, 4, 11, 3, 10, 5, 9, 6, 10, 7, 10, 6, 11, 8, 11, 7, 11, 6, 11, 5, 12, 8, 12, 9, 13, 9, 14, 9, 14, 8, 14, 7, 14, 6, 14, 5, 14, 4, 14, 3, 15, 2, 13, 3, 13, 4, 12, 3, 12, 4, 12, 5, 12, 6, 12, 7, 13, 8, 13, 7, 13, 6, 13, 5], [4284636508.0, 0, 1, 1, 1, 2, 1, 3, 1, 4, 1, 5, 1, 9, 4, 8, 5, 1, 10, 0, 10, 0, 9, 0, 8, 0, 7, 0, 6, 0, 5, 0, 4, 0, 3, 1, 2, 2, 2, 3, 2, 4, 2, 5, 2, 6, 2, 10, 2, 9, 2, 8, 2, 9, 3, 10, 3, 7, 2, 8, 3, 7, 3, 8, 4, 7, 4, 6, 3, 6, 4, 6, 5, 5, 4, 5, 3, 7, 5, 4, 4, 4, 3, 5, 5, 6, 6, 5, 7, 5, 6, 4, 8, 4, 7, 4, 6, 4, 5, 3, 8, 3, 9, 2, 9, 1, 9, 1, 8, 1, 7, 1, 6, 1, 5, 1, 4, 1, 3, 0, 2, 2, 3, 2, 4, 3, 3, 3, 4, 3, 5, 3, 6, 3, 7, 2, 8, 2, 7, 2, 6, 2, 5], [4284636508.0, 0, 2, 0, 3, 0, 5, 0, 4, 0, 6, 0, 7, 0, 9, 0, 8, 0, 10, 0, 11, 1, 2, 2, 3, 3, 3, 4, 4, 5, 4, 6, 5, 7, 5, 8, 6, 9, 6, 9, 7, 10, 7, 11, 7, 11, 8, 12, 8, 13, 8, 14, 9, 15, 9, 1, 3, 1, 4, 1, 5, 1, 6, 1, 7, 1, 8, 1, 9, 2, 9, 2, 10, 2, 11, 2, 12, 1, 11, 1, 10, 3, 12, 3, 11, 3, 10, 3, 9, 3, 8, 3, 7, 3, 6, 3, 5, 3, 4, 2, 5, 2, 6, 2, 7, 2, 8, 2, 4, 4, 5, 5, 5, 5, 6, 5, 7, 5, 8, 4, 8, 4, 7, 4, 6, 4, 9, 4, 10, 4, 11, 4, 12, 4, 13, 5, 13, 5, 12, 5, 11, 5, 10, 5, 9, 6, 7, 7, 6, 6, 6, 6, 8, 6, 9, 6, 10, 6, 14, 7, 13, 7, 12, 7, 11, 6, 12, 6, 13, 6, 11, 7, 10, 7, 9, 7, 8, 7, 7, 8, 7, 8, 8, 8, 9, 8, 10, 8, 11, 8, 12, 8, 13, 8, 14, 7, 14, 9, 15, 10, 15, 11, 15, 12, 15, 13, 15, 14, 15, 15, 14, 15, 13, 15, 15, 15, 12, 15, 11, 15, 10, 14, 11, 14, 12, 14, 13, 14, 10, 14, 14, 13, 11, 13, 10, 13, 9, 13, 12, 13, 13, 13, 14, 12, 12, 12, 11, 12, 10, 12, 9, 12, 13, 12, 14, 11, 11, 11, 9, 11, 10, 11, 12, 11, 13, 11, 14, 10, 14, 10, 12, 10, 11, 10, 10, 10, 9, 10, 8, 9, 8, 9, 9, 9, 11, 9, 12, 9, 13, 9, 14, 9, 10, 10, 13, 8, 15], [4284636508.0, 11, 15, 10, 15, 9, 14, 8, 14, 7, 13, 6, 13, 5, 12, 4, 12, 3, 11, 2, 11, 1, 10, 0, 10, 0, 11, 0, 12, 0, 13, 0, 14, 0, 15, 1, 11, 1, 13, 1, 14, 1, 15, 1, 12, 2, 13, 2, 14, 3, 13, 3, 12, 2, 12, 2, 15, 3, 15, 5, 15, 6, 15, 7, 15, 8, 15, 9, 15, 7, 14, 5, 13, 4, 13, 5, 14, 6, 14, 4, 14, 3, 14, 4, 15, 15, 11, 14, 11, 13, 12, 12, 12, 11, 13, 10, 13, 15, 2, 14, 2, 13, 3, 12, 3, 11, 4, 10, 4, 9, 5, 8, 5, 7, 6, 6, 6, 5, 7, 4, 7, 3, 8, 2, 8, 1, 9, 0, 9, 14, 3, 15, 3, 15, 4, 14, 4, 13, 5, 13, 4, 12, 4, 12, 5, 11, 5, 10, 6, 10, 5, 9, 6, 9, 7, 8, 7, 8, 6, 7, 7, 6, 7, 6, 8, 5, 8, 4, 8, 4, 9, 3, 9, 2, 9, 2, 10, 3, 10, 4, 10, 5, 10, 5, 9, 6, 9, 7, 9, 7, 8, 8, 8, 11, 6, 12, 6, 14, 5, 15, 5, 15, 6, 15, 7, 15, 8, 15, 9, 15, 10, 14, 10, 14, 9, 14, 8, 14, 7, 14, 6, 13, 6, 13, 7, 13, 8, 13, 9, 13, 10, 13, 11, 12, 11, 12, 10, 12, 9, 12, 8, 12, 7, 11, 7, 11, 8, 11, 9, 11, 10, 11, 11, 11, 12, 10, 9, 10, 8, 10, 7, 9, 8, 9, 9, 9, 10, 10, 11, 10, 12, 10, 10, 9, 11, 9, 12, 8, 12, 8, 11, 9, 13, 8, 13, 8, 10, 8, 9, 7, 11, 7, 10, 6, 10, 5, 11, 6, 11, 7, 12, 6, 12, 4, 11], [4284636508.0, 15, 2, 15, 1, 15, 0, 14, 2, 14, 1, 14, 0, 13, 0, 12, 0, 11, 0, 10, 0, 12, 1, 13, 1], [4284636508.0, 12, 0, 13, 0, 14, 1, 15, 1, 0, 3, 1, 3, 2, 4, 3, 4, 4, 5, 5, 5, 6, 6, 7, 6, 8, 7, 9, 7, 10, 8, 11, 8, 12, 9, 13, 9, 14, 10, 15, 10, 15, 8, 15, 7, 15, 6, 15, 5, 15, 4, 15, 3, 15, 2, 15, 9, 14, 9, 14, 8, 14, 7, 14, 6, 14, 5, 14, 4, 14, 3, 14, 2, 13, 3, 13, 5, 13, 7, 13, 8, 12, 8, 12, 7, 12, 6, 13, 6, 11, 7, 10, 7, 10, 6, 11, 6, 9, 6, 8, 6, 8, 5, 7, 5, 6, 5, 6, 4, 5, 4, 4, 4, 4, 3, 3, 3, 2, 3, 2, 2, 1, 2, 0, 2, 0, 1, 0, 0, 1, 0, 1, 1, 2, 1, 2, 0, 3, 1, 3, 0, 4, 1, 4, 2, 3, 2, 4, 0, 5, 0, 5, 1, 5, 2, 5, 3, 6, 2, 6, 1, 6, 3, 7, 2, 7, 1, 6, 0, 7, 3, 7, 4, 7, 0, 8, 0, 8, 1, 8, 3, 8, 4, 9, 3, 9, 2, 8, 2, 9, 1, 9, 0, 10, 0, 11, 0, 11, 1, 10, 1, 10, 2, 10, 3, 9, 4, 9, 5, 10, 5, 10, 4, 11, 5, 12, 5, 13, 4, 12, 4, 11, 4, 11, 3, 12, 3, 11, 2, 12, 2, 13, 2, 13, 1, 12, 1], [4284636508.0, 15, 2, 15, 3, 15, 5, 15, 4, 15, 6, 15, 7, 15, 9, 15, 8, 15, 10, 15, 11, 14, 2, 13, 3, 12, 3, 11, 4, 10, 4, 9, 5, 8, 5, 7, 6, 6, 6, 6, 7, 5, 7, 4, 7, 4, 8, 3, 8, 2, 8, 1, 9, 0, 9, 14, 3, 14, 4, 14, 5, 14, 6, 14, 7, 14, 8, 14, 9, 13, 9, 13, 10, 13, 11, 13, 12, 14, 11, 14, 10, 12, 12, 12, 11, 12, 10, 12, 9, 12, 8, 12, 7, 12, 6, 12, 5, 12, 4, 13, 5, 13, 6, 13, 7, 13, 8, 13, 4, 11, 5, 10, 5, 10, 6, 10, 7, 10, 8, 11, 8, 11, 7, 11, 6, 11, 9, 11, 10, 11, 11, 11, 12, 11, 13, 10, 13, 10, 12, 10, 11, 10, 10, 10, 9, 9, 7, 8, 6, 9, 6, 9, 8, 9, 9, 9, 10, 9, 14, 8, 13, 8, 12, 8, 11, 9, 12, 9, 13, 9, 11, 8, 10, 8, 9, 8, 8, 8, 7, 7, 7, 7, 8, 7, 9, 7, 10, 7, 11, 7, 12, 7, 13, 7, 14, 8, 14, 6, 15, 5, 15, 4, 15, 3, 15, 2, 15, 1, 15, 0, 14, 0, 13, 0, 15, 0, 12, 0, 11, 0, 10, 1, 11, 1, 12, 1, 13, 1, 10, 1, 14, 2, 11, 2, 10, 2, 9, 2, 12, 2, 13, 2, 14, 3, 12, 3, 11, 3, 10, 3, 9, 3, 13, 3, 14, 4, 11, 4, 9, 4, 10, 4, 12, 4, 13, 4, 14, 5, 14, 5, 12, 5, 11, 5, 10, 5, 9, 5, 8, 6, 8, 6, 9, 6, 11, 6, 12, 6, 13, 6, 14, 6, 10, 5, 13, 7, 15], [4284636508.0, 4, 15, 5, 15, 6, 14, 7, 14, 8, 13, 9, 13, 10, 12, 11, 12, 12, 11, 13, 11, 14, 10, 15, 10, 15, 11, 15, 12, 15, 13, 15, 14, 15, 15, 14, 11, 14, 13, 14, 14, 14, 15, 14, 12, 13, 13, 13, 14, 12, 13, 12, 12, 13, 12, 13, 15, 12, 15, 10, 15, 9, 15, 8, 15, 7, 15, 6, 15, 8, 14, 10, 13, 11, 13, 10, 14, 9, 14, 11, 14, 12, 14, 11, 15, 0, 11, 1, 11, 2, 12, 3, 12, 4, 13, 5, 13, 0, 2, 1, 2, 2, 3, 3, 3, 4, 4, 5, 4, 6, 5, 7, 5, 8, 6, 9, 6, 10, 7, 11, 7, 12, 8, 13, 8, 14, 9, 15, 9, 1, 3, 0, 3, 0, 4, 1, 4, 2, 5, 2, 4, 3, 4, 3, 5, 4, 5, 5, 6, 5, 5, 6, 6, 6, 7, 7, 7, 7, 6, 8, 7, 9, 7, 9, 8, 10, 8, 11, 8, 11, 9, 12, 9, 13, 9, 13, 10, 12, 10, 11, 10, 10, 10, 10, 9, 9, 9, 8, 9, 8, 8, 7, 8, 4, 6, 3, 6, 1, 5, 0, 5, 0, 6, 0, 7, 0, 8, 0, 9, 0, 10, 1, 10, 1, 9, 1, 8, 1, 7, 1, 6, 2, 6, 2, 7, 2, 8, 2, 9, 2, 10, 2, 11, 3, 11, 3, 10, 3, 9, 3, 8, 3, 7, 4, 7, 4, 8, 4, 9, 4, 10, 4, 11, 4, 12, 5, 9, 5, 8, 5, 7, 6, 8, 6, 9, 6, 10, 5, 11, 5, 12, 5, 10, 6, 11, 6, 12, 7, 12, 7, 11, 6, 13, 7, 13, 7, 10, 7, 9, 8, 11, 8, 10, 9, 10, 10, 11, 9, 11, 8, 12, 9, 12, 11, 11], [4284636508.0, 0, 2, 0, 1, 0, 0, 1, 2, 1, 1, 1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 3, 1, 2, 1], [4284636508.0, 3, 0, 2, 0, 1, 1, 0, 1, 15, 3, 14, 3, 13, 4, 12, 4, 11, 5, 10, 5, 9, 6, 8, 6, 7, 7, 6, 7, 5, 8, 4, 8, 3, 9, 2, 9, 1, 10, 0, 10, 0, 8, 0, 7, 0, 6, 0, 5, 0, 4, 0, 3, 0, 2, 0, 9, 1, 9, 1, 8, 1, 7, 1, 6, 1, 5, 1, 4, 1, 3, 1, 2, 2, 3, 2, 5, 2, 7, 2, 8, 3, 8, 3, 7, 3, 6, 2, 6, 4, 7, 5, 7, 5, 6, 4, 6, 6, 6, 7, 6, 7, 5, 8, 5, 9, 5, 9, 4, 10, 4, 11, 4, 11, 3, 12, 3, 13, 3, 13, 2, 14, 2, 15, 2, 15, 1, 15, 0, 14, 0, 14, 1, 13, 1, 13, 0, 12, 1, 12, 0, 11, 1, 11, 2, 12, 2, 11, 0, 10, 0, 10, 1, 10, 2, 10, 3, 9, 2, 9, 1, 9, 3, 8, 2, 8, 1, 9, 0, 8, 3, 8, 4, 8, 0, 7, 0, 7, 1, 7, 3, 7, 4, 6, 3, 6, 2, 7, 2, 6, 1, 6, 0, 5, 0, 4, 0, 4, 1, 5, 1, 5, 2, 5, 3, 6, 4, 6, 5, 5, 5, 5, 4, 4, 5, 3, 5, 2, 4, 3, 4, 4, 4, 4, 3, 3, 3, 4, 2, 3, 2, 2, 2, 2, 1, 3, 1], [4284636508.0, 0, 2, 0, 3, 0, 5, 0, 4, 0, 6, 0, 7, 0, 9, 0, 8, 0, 10, 0, 11, 1, 2, 2, 3, 3, 3, 4, 4, 5, 4, 6, 5, 7, 5, 8, 6, 9, 6, 9, 7, 10, 7, 11, 7, 11, 8, 12, 8, 13, 8, 14, 9, 15, 9, 1, 3, 1, 4, 1, 5, 1, 6, 1, 7, 1, 8, 1, 9, 2, 9, 2, 10, 2, 11, 2, 12, 1, 11, 1, 10, 3, 12, 3, 11, 3, 10, 3, 9, 3, 8, 3, 7, 3, 6, 3, 5, 3, 4, 2, 5, 2, 6, 2, 7, 2, 8, 2, 4, 4, 5, 5, 5, 5, 6, 5, 7, 5, 8, 4, 8, 4, 7, 4, 6, 4, 9, 4, 10, 4, 11, 4, 12, 4, 13, 5, 13, 5, 12, 5, 11, 5, 10, 5, 9, 6, 7, 7, 6, 6, 6, 6, 8, 6, 9, 6, 10, 6, 14, 7, 13, 7, 12, 7, 11, 6, 12, 6, 13, 6, 11, 7, 10, 7, 9, 7, 8, 7, 7, 8, 7, 8, 8, 8, 9, 8, 10, 8, 11, 8, 12, 8, 13, 8, 14, 7, 14, 9, 15, 10, 15, 11, 15, 12, 15, 13, 15, 14, 15, 15, 14, 15, 13, 15, 15, 15, 12, 15, 11, 15, 10, 14, 11, 14, 12, 14, 13, 14, 10, 14, 14, 13, 11, 13, 10, 13, 9, 13, 12, 13, 13, 13, 14, 12, 12, 12, 11, 12, 10, 12, 9, 12, 13, 12, 14, 11, 11, 11, 9, 11, 10, 11, 12, 11, 13, 11, 14, 10, 14, 10, 12, 10, 11, 10, 10, 10, 9, 10, 8, 9, 8, 9, 9, 9, 11, 9, 12, 9, 13, 9, 14, 9, 10, 10, 13, 8, 15], [4284636508.0, 15, 2, 15, 3, 15, 5, 15, 4, 15, 6, 15, 7, 15, 9, 15, 8, 15, 10, 15, 11, 14, 2, 13, 3, 12, 3, 11, 4, 10, 4, 9, 5, 8, 5, 7, 6, 6, 6, 6, 7, 5, 7, 4, 7, 4, 8, 3, 8, 2, 8, 1, 9, 0, 9, 14, 3, 14, 4, 14, 5, 14, 6, 14, 7, 14, 8, 14, 9, 13, 9, 13, 10, 13, 11, 13, 12, 14, 11, 14, 10, 12, 12, 12, 11, 12, 10, 12, 9, 12, 8, 12, 7, 12, 6, 12, 5, 12, 4, 13, 5, 13, 6, 13, 7, 13, 8, 13, 4, 11, 5, 10, 5, 10, 6, 10, 7, 10, 8, 11, 8, 11, 7, 11, 6, 11, 9, 11, 10, 11, 11, 11, 12, 11, 13, 10, 13, 10, 12, 10, 11, 10, 10, 10, 9, 9, 7, 8, 6, 9, 6, 9, 8, 9, 9, 9, 10, 9, 14, 8, 13, 8, 12, 8, 11, 9, 12, 9, 13, 9, 11, 8, 10, 8, 9, 8, 8, 8, 7, 7, 7, 7, 8, 7, 9, 7, 10, 7, 11, 7, 12, 7, 13, 7, 14, 8, 14, 6, 15, 5, 15, 4, 15, 3, 15, 2, 15, 1, 15, 0, 14, 0, 13, 0, 15, 0, 12, 0, 11, 0, 10, 1, 11, 1, 12, 1, 13, 1, 10, 1, 14, 2, 11, 2, 10, 2, 9, 2, 12, 2, 13, 2, 14, 3, 12, 3, 11, 3, 10, 3, 9, 3, 13, 3, 14, 4, 11, 4, 9, 4, 10, 4, 12, 4, 13, 4, 14, 5, 14, 5, 12, 5, 11, 5, 10, 5, 9, 5, 8, 6, 8, 6, 9, 6, 11, 6, 12, 6, 13, 6, 14, 6, 10, 5, 13, 7, 15], [4284636508.0, 15, 0, 14, 0, 13, 0, 12, 0, 11, 0, 10, 0, 15, 1, 14, 1, 13, 1, 9, 0], [4284636508.0, 0, 1, 1, 1, 2, 1, 0, 0, 1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 6, 0], [4284636508.0, 15, 14, 14, 14, 13, 14, 15, 15, 14, 15, 13, 15, 12, 15, 11, 15, 10, 15, 9, 15], [4284636508.0, 0, 14, 1, 14, 2, 14, 0, 15, 2, 15, 1, 15, 3, 15, 4, 15, 5, 15, 6, 15], [4284636508.0, 0, 3, 1, 3, 1, 10, 0, 10, 1, 4, 1, 5, 1, 6, 1, 7, 1, 8, 1, 9, 0, 9, 0, 8, 0, 7, 0, 6, 0, 5, 0, 4, 2, 9, 3, 9, 2, 2, 3, 2, 4, 1, 5, 1, 6, 0, 7, 0, 7, 1, 6, 1, 6, 2, 5, 2, 5, 3, 4, 3, 4, 2, 3, 3, 2, 4, 2, 3, 2, 5, 2, 6, 2, 7, 3, 7, 3, 6, 2, 8, 3, 8, 3, 5, 3, 4, 4, 8, 5, 8, 6, 7, 7, 7, 8, 6, 9, 6, 10, 5, 11, 5, 12, 4, 13, 4, 14, 3, 15, 3, 15, 2, 15, 1, 15, 0, 14, 0, 13, 0, 12, 0, 11, 0, 10, 0, 9, 0, 8, 0, 8, 1, 7, 2, 6, 3, 6, 4, 5, 4, 5, 5, 4, 5, 4, 4, 4, 6, 4, 7, 5, 7, 5, 6, 6, 5, 6, 6, 7, 5, 7, 4, 7, 6, 7, 3, 8, 5, 8, 4, 8, 2, 9, 3, 9, 4, 9, 5, 10, 4, 11, 4, 11, 3, 12, 3, 13, 3, 13, 2, 14, 2, 14, 1, 13, 1, 12, 2, 11, 2, 10, 3, 12, 1, 10, 2, 9, 2, 10, 1, 11, 1, 9, 1, 15, 4, 15, 5, 15, 6, 13, 6, 12, 6, 12, 5, 14, 6, 14, 5, 13, 5, 14, 4, 11, 6, 10, 6, 8, 3, 0, 2, 1, 2, 1, 1, 2, 1, 3, 1, 5, 0, 6, 8, 9, 7, 8, 7, 10, 7, 4, 9, 7, 8], [4284636508.0, 15, 3, 14, 3, 14, 10, 15, 10, 14, 4, 14, 5, 14, 6, 14, 7, 14, 8, 14, 9, 15, 9, 15, 8, 15, 7, 15, 6, 15, 5, 15, 4, 13, 9, 12, 9, 13, 2, 12, 2, 11, 1, 10, 1, 9, 0, 8, 0, 8, 1, 9, 1, 9, 2, 10, 2, 10, 3, 11, 3, 11, 2, 12, 3, 13, 4, 13, 3, 13, 5, 13, 6, 13, 7, 12, 7, 12, 6, 13, 8, 12, 8, 12, 5, 12, 4, 11, 8, 10, 8, 9, 7, 8, 7, 7, 6, 6, 6, 5, 5, 4, 5, 3, 4, 2, 4, 1, 3, 0, 3, 0, 2, 0, 1, 0, 0, 1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 6, 0, 7, 0, 7, 1, 8, 2, 9, 3, 9, 4, 10, 4, 10, 5, 11, 5, 11, 4, 11, 6, 11, 7, 10, 7, 10, 6, 9, 5, 9, 6, 8, 5, 8, 4, 8, 6, 8, 3, 7, 5, 7, 4, 7, 2, 6, 3, 6, 4, 6, 5, 5, 4, 4, 4, 4, 3, 3, 3, 2, 3, 2, 2, 1, 2, 1, 1, 2, 1, 3, 2, 4, 2, 5, 3, 3, 1, 5, 2, 6, 2, 5, 1, 4, 1, 6, 1, 0, 4, 0, 5, 0, 6, 2, 6, 3, 6, 3, 5, 1, 6, 1, 5, 2, 5, 1, 4, 4, 6, 5, 6, 7, 3, 15, 2, 14, 2, 14, 1, 13, 1, 12, 1, 10, 0, 9, 8, 6, 7, 7, 7, 5, 7, 11, 9, 8, 8], [], [], [4287147451.0, 0, 8, 1, 8, 2, 9, 3, 9, 4, 9, 5, 9, 6, 9, 7, 9, 8, 9, 9, 9, 10, 9, 11, 9, 12, 9, 13, 9, 14, 8, 15, 8, 2, 8, 3, 8, 4, 8, 5, 8, 6, 8, 7, 8, 8, 8, 9, 8, 10, 8, 11, 8, 12, 8, 13, 8, 0, 7, 1, 7, 2, 7, 3, 7, 13, 7, 14, 7, 15, 7, 0, 9, 0, 10, 0, 11, 0, 12, 0, 13, 0, 14, 0, 15, 1, 15, 2, 15, 3, 15, 4, 15, 5, 15, 6, 15, 8, 15, 9, 15, 11, 15, 12, 15, 13, 15, 14, 15, 15, 15, 15, 14, 15, 12, 15, 11, 15, 10, 15, 9, 15, 13, 14, 13, 14, 11, 14, 10, 14, 9, 14, 12, 14, 14, 13, 14, 13, 13, 13, 12, 13, 11, 13, 10, 12, 11, 12, 12, 12, 13, 12, 14, 12, 10, 11, 10, 11, 11, 11, 12, 11, 13, 11, 14, 10, 14, 10, 15, 7, 15, 8, 14, 9, 14, 7, 14, 5, 14, 4, 14, 3, 14, 2, 14, 1, 14, 6, 14, 8, 13, 9, 13, 10, 13, 6, 13, 5, 13, 4, 13, 3, 13, 2, 13, 1, 13, 7, 13, 10, 12, 9, 12, 8, 12, 7, 12, 6, 12, 5, 12, 4, 12, 3, 12, 2, 12, 1, 12, 1, 11, 1, 10, 1, 9, 2, 10, 2, 11, 3, 10, 3, 11, 4, 11, 4, 10, 5, 11, 5, 10, 6, 10, 6, 11, 7, 10, 7, 11, 8, 10, 8, 11, 9, 10, 9, 11, 10, 10, 10, 11], [4287147451.0, 0, 5, 1, 4, 2, 3, 3, 3, 4, 3, 5, 3, 6, 2, 7, 2, 8, 2, 9, 2, 10, 2, 11, 2, 12, 2, 12, 3, 13, 3, 14, 4, 15, 4, 15, 5, 15, 3, 15, 2, 15, 1, 15, 0, 14, 0, 13, 0, 12, 0, 11, 0, 10, 0, 9, 0, 8, 0, 7, 0, 6, 0, 5, 0, 4, 0, 3, 0, 2, 0, 1, 0, 0, 0, 0, 1, 0, 2, 0, 3, 0, 4, 1, 3, 1, 2, 1, 1, 2, 1, 2, 2, 3, 2, 4, 2, 5, 2, 4, 1, 3, 1, 5, 1, 6, 1, 7, 1, 8, 1, 9, 1, 10, 1, 11, 1, 12, 1, 13, 1, 14, 1, 14, 2, 14, 3, 13, 2], [], [], [], [], [], [], [4282597176.0, 15, 15, 14, 14, 14, 15, 13, 14, 12, 14, 11, 13, 10, 13, 9, 12, 5, 10, 4, 10, 3, 9, 1, 8, 15, 14, 15, 13, 15, 12, 15, 11, 15, 10, 15, 9, 15, 8, 0, 7, 0, 6, 0, 5, 0, 4, 0, 3, 0, 2, 0, 1, 1, 1, 2, 2, 3, 2, 4, 3, 5, 3, 6, 4, 7, 4, 8, 5, 9, 5, 10, 6, 11, 6, 12, 7, 13, 7, 14, 8, 14, 10, 14, 11, 14, 12, 14, 13, 14, 9, 13, 10, 13, 12, 13, 13, 13, 11, 12, 12, 12, 13, 12, 11, 13, 9, 13, 8, 12, 8, 12, 9, 12, 10, 11, 11, 11, 12, 10, 12, 10, 11, 9, 11, 8, 11, 6, 10, 7, 10, 8, 10, 9, 10, 10, 10, 11, 10, 11, 9, 11, 8, 11, 7, 10, 8, 10, 9, 10, 7, 9, 8, 9, 9, 9, 7, 9, 6, 8, 6, 8, 7, 8, 8, 8, 9, 7, 7, 7, 6, 7, 5, 7, 8, 7, 9, 6, 8, 6, 7, 6, 5, 6, 6, 6, 9, 5, 9, 4, 9, 4, 8, 5, 8, 3, 8, 2, 8, 2, 7, 1, 7, 1, 6, 1, 5, 1, 4, 1, 3, 1, 2, 2, 3, 2, 4, 2, 5, 2, 6, 3, 4, 3, 5, 3, 6, 3, 7, 4, 7, 5, 7, 5, 6, 4, 6, 5, 5, 4, 5, 5, 4, 4, 4, 3, 3, 14, 7, 10, 5, 9, 4, 8, 4, 2, 1, 0, 8], [], [], [4282597176.0, 0, 0, 5, 2, 6, 3, 7, 3, 9, 4, 10, 5, 11, 5, 12, 6, 13, 6, 14, 7, 15, 7, 15, 6, 15, 5, 15, 3, 15, 4, 15, 2, 15, 1, 15, 0, 0, -1, 0, -2, 0, -3, 0, -4, 0, -5, 0, -6, 0, -7, 1, -7, 2, -6, 3, -6, 4, -5, 5, -5, 6, -4, 10, -2, 11, -2, 12, -1, 13, -1, 14, 0, 14, 1, 14, 3, 14, 4, 14, 5, 14, 6, 14, 2, 13, 4, 13, 5, 12, 5, 13, 3, 13, 2, 13, 1, 13, 0, 12, 1, 12, 2, 12, 3, 12, 4, 12, 0, 11, 1, 10, 3, 10, 4, 11, 4, 11, 2, 11, 0, 11, -1, 10, 0, 10, 1, 10, 2, 11, 3, 10, -1, 8, -2, 8, -1, 8, 0, 8, 1, 8, 2, 8, 3, 9, 3, 9, 2, 9, 1, 9, 0, 9, -1, 7, -2, 7, -3, 6, -3, 6, -2, 6, -1, 6, 0, 6, 1, 6, 2, 7, 2, 7, 0, 7, -1, 7, 1, 5, 1, 4, 1, 4, 0, 5, 0, 5, -1, 4, -1, 4, -2, 5, -2, 5, -3, 4, -3, 4, -4, 5, -4, 3, -5, 2, -5, 2, -4, 2, -2, 2, -1, 3, 0, 3, -1, 2, -3, 3, -3, 3, -2, 3, -4, 1, -5, 1, -6, 1, -3, 1, -2, 1, -1, 1, -4, 12, -2, 4, -6, 8, 4, 9, 5, 11, 6, 1, 0, 2, 0, 3, 1, 4, 2, 9, -2, 11, -3, 10, -3], [4282597176.0, 0, 15, 1, 14, 1, 15, 2, 14, 3, 14, 4, 13, 5, 13, 6, 12, 10, 10, 11, 10, 12, 9, 14, 8, 0, 14, 0, 13, 0, 12, 0, 11, 0, 10, 0, 9, 0, 8, 15, 7, 15, 6, 15, 5, 15, 4, 15, 3, 15, 2, 15, 1, 14, 1, 13, 2, 12, 2, 11, 3, 10, 3, 9, 4, 8, 4, 7, 5, 6, 5, 5, 6, 4, 6, 3, 7, 2, 7, 1, 8, 1, 10, 1, 11, 1, 12, 1, 13, 1, 9, 2, 10, 2, 12, 2, 13, 2, 11, 3, 12, 3, 13, 3, 11, 2, 9, 2, 8, 3, 8, 3, 9, 3, 10, 4, 11, 4, 12, 5, 12, 5, 11, 6, 11, 7, 11, 9, 10, 8, 10, 7, 10, 6, 10, 5, 10, 4, 10, 4, 9, 4, 8, 4, 7, 5, 8, 5, 9, 5, 7, 6, 8, 6, 9, 6, 7, 6, 6, 7, 6, 7, 7, 7, 8, 7, 9, 8, 7, 8, 6, 8, 5, 8, 8, 8, 9, 9, 8, 9, 7, 9, 5, 9, 6, 9, 9, 10, 9, 11, 9, 11, 8, 10, 8, 12, 8, 13, 8, 13, 7, 14, 7, 14, 6, 14, 5, 14, 4, 14, 3, 14, 2, 13, 3, 13, 4, 13, 5, 13, 6, 12, 4, 12, 5, 12, 6, 12, 7, 11, 7, 10, 7, 10, 6, 11, 6, 10, 5, 11, 5, 10, 4, 11, 4, 12, 3, 1, 7, 5, 5, 6, 4, 7, 4, 13, 1, 15, 8], [], [], [4282597176.0, 15, 0, 10, 2, 9, 3, 8, 3, 6, 4, 5, 5, 4, 5, 3, 6, 2, 6, 1, 7, 0, 7, 0, 6, 0, 5, 0, 3, 0, 4, 0, 2, 0, 1, 0, 0, 15, -1, 15, -2, 15, -3, 15, -4, 15, -5, 15, -6, 15, -7, 14, -7, 13, -6, 12, -6, 11, -5, 10, -5, 9, -4, 5, -2, 4, -2, 3, -1, 2, -1, 1, 0, 1, 1, 1, 3, 1, 4, 1, 5, 1, 6, 1, 2, 2, 4, 2, 5, 3, 5, 2, 3, 2, 2, 2, 1, 2, 0, 3, 1, 3, 2, 3, 3, 3, 4, 3, 0, 4, 1, 5, 3, 5, 4, 4, 4, 4, 2, 4, 0, 4, -1, 5, 0, 5, 1, 5, 2, 4, 3, 5, -1, 7, -2, 7, -1, 7, 0, 7, 1, 7, 2, 7, 3, 6, 3, 6, 2, 6, 1, 6, 0, 6, -1, 8, -2, 8, -3, 9, -3, 9, -2, 9, -1, 9, 0, 9, 1, 9, 2, 8, 2, 8, 0, 8, -1, 8, 1, 10, 1, 11, 1, 11, 0, 10, 0, 10, -1, 11, -1, 11, -2, 10, -2, 10, -3, 11, -3, 11, -4, 10, -4, 12, -5, 13, -5, 13, -4, 13, -2, 13, -1, 12, 0, 12, -1, 13, -3, 12, -3, 12, -2, 12, -4, 14, -5, 14, -6, 14, -3, 14, -2, 14, -1, 14, -4, 3, -2, 11, -6, 7, 4, 6, 5, 4, 6, 14, 0, 13, 0, 12, 1, 11, 2, 6, -2, 4, -3, 5, -3], [], [4282597176.0, 0, 15, 1, 15, 2, 14, 3, 14, 4, 13, 5, 13, 6, 12, 7, 12, 8, 11, 9, 11, 10, 10, 11, 10, 12, 9, 13, 9, 14, 8, 15, 8, 0, 14, 1, 14, 2, 13, 3, 13, 4, 12, 5, 12, 6, 11, 7, 11, 8, 10, 9, 10, 10, 9, 11, 9, 14, 7, 15, 7, 3, 12, 5, 11, 4, 11, 7, 10, 8, 9, 9, 9, 14, 9, 13, 8], [4282597176.0, 0, 7, 1, 7, 15, 0, 14, 0, 12, 1, 10, 2, 11, 2, 9, 3, 8, 3, 4, 5, 3, 6, 2, 6, 0, 6, 1, 6, 2, 5, 3, 5, 4, 4, 5, 4, 6, 3, 7, 3, 8, 2, 9, 2, 10, 1, 11, 1, 13, 0, 15, -1, 14, -1, 3, 4, 4, 3, 5, 2, 5, 3, 6, 2, 7, 2, 9, 1, 6, 4, 12, 0, 13, 1], [], [4282597176.0, 15, 15, 14, 15, 13, 14, 12, 14, 11, 13, 10, 13, 9, 12, 8, 12, 7, 11, 6, 11, 5, 10, 4, 10, 3, 9, 2, 9, 1, 8, 0, 8, 15, 14, 14, 14, 13, 13, 12, 13, 11, 12, 10, 12, 9, 11, 8, 11, 7, 10, 6, 10, 5, 9, 4, 9, 1, 7, 0, 7, 12, 12, 10, 11, 11, 11, 8, 10, 7, 9, 6, 9, 1, 9, 2, 8], [4282597176.0, 15, 7, 14, 7, 0, 0, 1, 0, 3, 1, 5, 2, 4, 2, 6, 3, 7, 3, 11, 5, 12, 6, 13, 6, 15, 6, 14, 6, 13, 5, 12, 5, 11, 4, 10, 4, 9, 3, 8, 3, 7, 2, 6, 2, 5, 1, 4, 1, 2, 0, 0, -1, 1, -1, 12, 4, 11, 3, 10, 2, 10, 3, 9, 2, 8, 2, 6, 1, 9, 4, 3, 0, 2, 1], [4282597176.0, 0, 0, 5, 2, 6, 3, 7, 3, 9, 4, 10, 5, 11, 5, 12, 6, 13, 6, 14, 7, 15, 7, 15, 6, 15, 5, 15, 3, 15, 4, 15, 2, 15, 1, 15, 0, 0, -1, 0, -2, 0, -3, 0, -4, 0, -5, 0, -6, 0, -7, 1, -7, 2, -6, 3, -6, 4, -5, 5, -5, 6, -4, 10, -2, 11, -2, 12, -1, 13, -1, 14, 0, 14, 1, 14, 3, 14, 4, 14, 5, 14, 6, 14, 2, 13, 4, 13, 5, 12, 5, 13, 3, 13, 2, 13, 1, 13, 0, 12, 1, 12, 2, 12, 3, 12, 4, 12, 0, 11, 1, 10, 3, 10, 4, 11, 4, 11, 2, 11, 0, 11, -1, 10, 0, 10, 1, 10, 2, 11, 3, 10, -1, 8, -2, 8, -1, 8, 0, 8, 1, 8, 2, 8, 3, 9, 3, 9, 2, 9, 1, 9, 0, 9, -1, 7, -2, 7, -3, 6, -3, 6, -2, 6, -1, 6, 0, 6, 1, 6, 2, 7, 2, 7, 0, 7, -1, 7, 1, 5, 1, 4, 1, 4, 0, 5, 0, 5, -1, 4, -1, 4, -2, 5, -2, 5, -3, 4, -3, 4, -4, 5, -4, 3, -5, 2, -5, 2, -4, 2, -2, 2, -1, 3, 0, 3, -1, 2, -3, 3, -3, 3, -2, 3, -4, 1, -5, 1, -6, 1, -3, 1, -2, 1, -1, 1, -4, 12, -2, 4, -6, 8, 4, 9, 5, 11, 6, 1, 0, 2, 0, 3, 1, 4, 2, 9, -2, 11, -3, 10, -3], [4282597176.0, 0, 0, 1, 0, 2, 1, 3, 1, 4, 2, 5, 2, 0, 15, 1, 15, 2, 14, 3, 14, 4, 13, 6, 3, 7, 3, 8, 4, 9, 4, 10, 5, 11, 5, 0, 1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 6, 0, 14, 1, 14, 2, 13, 3, 13, 4, 12, 5, 12, 6, 11, 7, 10, 8, 9, 8, 8, 9, 7, 9, 8, 10, 6, 5, 11, 6, 10, 7, 9, 6, 9, 6, 8, 4, 7, 4, 6, 3, 7, 3, 6, 2, 6, 1, 6, 1, 5, 1, 4, 1, 3, 1, 2, 1, 1, 2, 2, 2, 3, 2, 4, 2, 5, 3, 4, 3, 3, 3, 2, 3, 5, 4, 4, 4, 3, 4, 5, 5, 4, 5, 3, 5, 5, 5, 6, 5, 7, 6, 6, 6, 5, 7, 4, 6, 4, 6, 7, 7, 6, 8, 5, 7, 7, 7, 5, 7, 8, 8, 7, 8, 6, 9, 6, 9, 5, 4, 1, 6, 2, 5, 1, 8, 3, 10, 4, 11, 4, 5, 10, 4, 11, 9, 3, 7, 2, 10, 3, 9, 2, 8, 2, 6, 1, 2, 7, 3, 8, 4, 8, 5, 8, 5, 9, 5, 13], [4282597176.0, 15, 0, 10, 2, 9, 3, 8, 3, 6, 4, 5, 5, 4, 5, 3, 6, 2, 6, 1, 7, 0, 7, 0, 6, 0, 5, 0, 3, 0, 4, 0, 2, 0, 1, 0, 0, 15, -1, 15, -2, 15, -3, 15, -4, 15, -5, 15, -6, 15, -7, 14, -7, 13, -6, 12, -6, 11, -5, 10, -5, 9, -4, 5, -2, 4, -2, 3, -1, 2, -1, 1, 0, 1, 1, 1, 3, 1, 4, 1, 5, 1, 6, 1, 2, 2, 4, 2, 5, 3, 5, 2, 3, 2, 2, 2, 1, 2, 0, 3, 1, 3, 2, 3, 3, 3, 4, 3, 0, 4, 1, 5, 3, 5, 4, 4, 4, 4, 2, 4, 0, 4, -1, 5, 0, 5, 1, 5, 2, 4, 3, 5, -1, 7, -2, 7, -1, 7, 0, 7, 1, 7, 2, 7, 3, 6, 3, 6, 2, 6, 1, 6, 0, 6, -1, 8, -2, 8, -3, 9, -3, 9, -2, 9, -1, 9, 0, 9, 1, 9, 2, 8, 2, 8, 0, 8, -1, 8, 1, 10, 1, 11, 1, 11, 0, 10, 0, 10, -1, 11, -1, 11, -2, 10, -2, 10, -3, 11, -3, 11, -4, 10, -4, 12, -5, 13, -5, 13, -4, 13, -2, 13, -1, 12, 0, 12, -1, 13, -3, 12, -3, 12, -2, 12, -4, 14, -5, 14, -6, 14, -3, 14, -2, 14, -1, 14, -4, 3, -2, 11, -6, 7, 4, 6, 5, 4, 6, 14, 0, 13, 0, 12, 1, 11, 2, 6, -2, 4, -3, 5, -3], [4282597176.0, 15, 0, 14, 0, 13, 1, 12, 1, 11, 2, 10, 2, 15, 15, 14, 15, 13, 14, 12, 14, 11, 13, 9, 3, 8, 3, 7, 4, 6, 4, 5, 5, 4, 5, 15, 1, 15, 2, 15, 3, 15, 4, 15, 5, 15, 6, 15, 14, 14, 14, 13, 13, 12, 13, 11, 12, 10, 12, 9, 11, 8, 10, 7, 9, 7, 8, 6, 7, 6, 8, 5, 6, 10, 11, 9, 10, 8, 9, 9, 9, 9, 8, 11, 7, 11, 6, 12, 7, 12, 6, 13, 6, 14, 6, 14, 5, 14, 4, 14, 3, 14, 2, 14, 1, 13, 2, 13, 3, 13, 4, 13, 5, 12, 4, 12, 3, 12, 2, 12, 5, 11, 4, 11, 3, 11, 5, 10, 4, 10, 3, 10, 5, 10, 6, 10, 7, 9, 6, 9, 5, 8, 4, 9, 4, 9, 7, 8, 6, 7, 5, 8, 7, 8, 5, 8, 8, 7, 7, 7, 6, 6, 6, 6, 5, 11, 1, 9, 2, 10, 1, 7, 3, 5, 4, 4, 4, 10, 10, 11, 11, 6, 3, 8, 2, 5, 3, 6, 2, 7, 2, 9, 1, 13, 7, 12, 8, 11, 8, 10, 8, 10, 9, 10, 13], [4282597176.0, 15, 7, 14, 7, 13, 6, 12, 6, 15, -1, 15, 0, 14, 2, 15, 1, 15, 2, 15, 4, 15, 5, 15, 6, 15, 3, 14, 4, 14, 5, 14, 6, 14, 3, 13, 4, 13, 5, 12, 5, 11, 6, 14, 1, 13, 3, 12, 4, 11, 5], [4282597176.0, 0, 7, 1, 7, 2, 6, 3, 6, 0, -1, 0, 0, 1, 2, 0, 1, 0, 2, 0, 4, 0, 5, 0, 6, 0, 3, 1, 4, 1, 5, 1, 6, 1, 3, 2, 4, 2, 5, 3, 5, 4, 6, 1, 1, 2, 3, 3, 4, 4, 5], [4282597176.0, 15, 7, 14, 7, 13, 6, 12, 6, 15, -1, 15, 0, 14, 2, 15, 1, 15, 2, 15, 4, 15, 5, 15, 6, 15, 3, 14, 4, 14, 5, 14, 6, 14, 3, 13, 4, 13, 5, 12, 5, 11, 6, 14, 1, 13, 3, 12, 4, 11, 5], [4282597176.0, 0, 7, 1, 7, 2, 6, 3, 6, 0, -1, 0, 0, 1, 2, 0, 1, 0, 2, 0, 4, 0, 5, 0, 6, 0, 3, 1, 4, 1, 5, 1, 6, 1, 3, 2, 4, 2, 5, 3, 5, 4, 6, 1, 1, 2, 3, 3, 4, 4, 5], [4282597176.0, 15, 0, 15, 1, 15, 2, 15, 3, 15, 4, 15, 5, 15, 6, 15, 7, 14, 7, 14, 6, 13, 6, 12, 6, 11, 7, 10, 7, 9, 8, 8, 8, 14, 1, 14, 2, 14, 3, 14, 4, 14, 5, 13, 2, 13, 1, 13, 3, 13, 4, 13, 5, 12, 2, 12, 3, 12, 4, 12, 5, 11, 5, 11, 4, 11, 6, 10, 5, 10, 6, 9, 6, 8, 7, 9, 7, 7, 8, 14, 0], [4282597176.0, 0, 0, 0, 1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 6, 0, 7, 1, 7, 1, 6, 2, 6, 3, 6, 4, 7, 5, 7, 6, 8, 7, 8, 1, 1, 1, 2, 1, 3, 1, 4, 1, 5, 2, 2, 2, 1, 2, 3, 2, 4, 2, 5, 3, 2, 3, 3, 3, 4, 3, 5, 4, 5, 4, 4, 4, 6, 5, 5, 5, 6, 6, 6, 7, 7, 6, 7, 8, 8, 1, 0], [4282597176.0, 1, 7, 0, 6, 0, 5, 0, 4, 0, 3, 0, 2, 0, 1, 0, 0, 1, 2, 1, 4, 1, 5, 1, 1, 1, 6, 4, 8, 4, 9, 3, 10, 5, 9, 5, 8, 6, 7, 6, 6, 6, 5, 7, 4, 6, 3, 5, 2, 3, 1, 3, 2, 2, 1, 2, 2, 1, 3, 2, 4, 2, 5, 2, 6, 3, 7, 3, 6, 3, 5, 3, 4, 2, 3, 3, 3, 4, 3, 4, 2, 4, 6, 4, 7, 2, 7, 5, 7, 5, 6, 5, 4, 5, 3, 4, 4, 4, 5, 5, 5, 6, 4, 4, 10, 7, 5, 3, 8, 0, 7, 2, 8], [4282597176.0, 14, 7, 15, 6, 15, 5, 15, 4, 15, 3, 15, 2, 15, 1, 15, 0, 14, 2, 14, 4, 14, 5, 14, 1, 14, 6, 11, 8, 11, 9, 12, 10, 10, 9, 10, 8, 9, 7, 9, 6, 9, 5, 8, 4, 9, 3, 10, 2, 12, 1, 12, 2, 13, 1, 13, 2, 14, 3, 13, 4, 13, 5, 13, 6, 12, 7, 12, 6, 12, 5, 12, 4, 13, 3, 12, 3, 11, 3, 11, 2, 11, 6, 11, 7, 13, 7, 10, 7, 10, 6, 10, 4, 10, 3, 11, 4, 11, 5, 10, 5, 9, 4, 11, 10, 8, 5, 12, 8, 15, 7, 13, 8], [4282597176.0, 15, 15, 14, 14, 14, 15, 13, 14, 5, 10, 4, 10, 3, 9, 1, 8, 15, 14, 15, 13, 15, 12, 15, 11, 15, 10, 15, 9, 15, 8, 0, 7, 0, 6, 0, 5, 0, 4, 0, 3, 0, 2, 0, 1, 1, 1, 2, 2, 3, 2, 4, 3, 5, 3, 6, 4, 7, 4, 8, 5, 9, 5, 13, 7, 14, 8, 14, 10, 14, 11, 14, 12, 14, 13, 14, 9, 13, 10, 13, 12, 13, 13, 13, 11, 13, 9, 13, 8, 6, 10, 8, 6, 8, 7, 7, 7, 7, 6, 7, 5, 7, 8, 7, 9, 6, 8, 6, 7, 6, 5, 6, 6, 6, 9, 5, 9, 4, 9, 4, 8, 5, 8, 3, 8, 2, 8, 2, 7, 1, 7, 1, 6, 1, 5, 1, 4, 1, 3, 1, 2, 2, 3, 2, 4, 2, 5, 2, 6, 3, 4, 3, 5, 3, 6, 3, 7, 4, 7, 5, 7, 5, 6, 4, 6, 5, 5, 4, 5, 5, 4, 4, 4, 3, 3, 14, 7, 9, 4, 8, 4, 2, 1, 0, 8, 12, 6, 13, 6, 12, 7, 12, 8, 11, 5, 10, 5, 10, 4, 12, 5, 11, 6, 9, 6], [4282597176.0, 0, 15, 1, 14, 1, 15, 2, 14, 10, 10, 11, 10, 12, 9, 14, 8, 0, 14, 0, 13, 0, 12, 0, 11, 0, 10, 0, 9, 0, 8, 15, 7, 15, 6, 15, 5, 15, 4, 15, 3, 15, 2, 15, 1, 14, 1, 13, 2, 12, 2, 11, 3, 10, 3, 9, 4, 8, 4, 7, 5, 6, 5, 2, 7, 1, 8, 1, 10, 1, 11, 1, 12, 1, 13, 1, 9, 2, 10, 2, 12, 2, 13, 2, 11, 2, 9, 2, 8, 9, 10, 7, 6, 7, 7, 8, 7, 8, 6, 8, 5, 8, 8, 8, 9, 9, 8, 9, 7, 9, 5, 9, 6, 9, 9, 10, 9, 11, 9, 11, 8, 10, 8, 12, 8, 13, 8, 13, 7, 14, 7, 14, 6, 14, 5, 14, 4, 14, 3, 14, 2, 13, 3, 13, 4, 13, 5, 13, 6, 12, 4, 12, 5, 12, 6, 12, 7, 11, 7, 10, 7, 10, 6, 11, 6, 10, 5, 11, 5, 10, 4, 11, 4, 12, 3, 1, 7, 6, 4, 7, 4, 13, 1, 15, 8, 3, 6, 2, 6, 3, 7, 3, 8, 4, 5, 5, 5, 5, 4, 3, 5, 4, 6, 6, 6], [4282597176.0, 0, 1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 6, 0, 7, 1, 8, 1, 7, 1, 6, 1, 5, 1, 4, 1, 3, 1, 2, 1, 1, 2, 9, 3, 9, 4, 9, 5, 9, 6, 9, 6, 10, 7, 10, 8, 10, 8, 9, 7, 9, 9, 9, 10, 9, 11, 9, 9, 10, 12, 9, 14, 8, 2, 2, 3, 2, 4, 2, 5, 3, 6, 3, 7, 3, 8, 3, 9, 3, 14, 1, 15, 1, 15, 2, 15, 3, 15, 4, 15, 5, 15, 6, 15, 7, 14, 6, 14, 4, 14, 3, 14, 2, 14, 5, 14, 7, 13, 2, 13, 3, 13, 6, 13, 7, 13, 4, 13, 5, 13, 8, 12, 8, 11, 8, 10, 8, 9, 8, 8, 8, 7, 8, 5, 8, 4, 8, 3, 8, 2, 8, 6, 8, 4, 7, 3, 7, 2, 7, 2, 6, 2, 5, 2, 4, 2, 3, 3, 5, 3, 6, 3, 3, 4, 4, 4, 3, 4, 5, 3, 4, 4, 6, 5, 5, 5, 4, 5, 6, 5, 7, 6, 7, 6, 5, 6, 4, 6, 6, 7, 5, 7, 4, 7, 7, 8, 6, 7, 6, 9, 7, 9, 5, 9, 4, 8, 5, 8, 7, 8, 4, 9, 6, 10, 7, 11, 7, 12, 7, 12, 6, 10, 6, 11, 6, 12, 5, 10, 5, 11, 5, 12, 4, 11, 4, 10, 4, 10, 3, 11, 3, 12, 3, 5, 2, 6, 2, 12, 2, 11, 2, 0, 8], [4282597176.0, 0, 7, 1, 7, 0, 6, 15, 7, 14, 7, 14, 6, 13, 6, 13, 5, 12, 5, 15, 6, 1, 6, 2, 6, 3, 5, 4, 5, 5, 5, 6, 4, 7, 3, 7, 4, 8, 3, 8, 4, 9, 3, 10, 3, 11, 4, 2, 5, 4, 4, 5, 4, 6, 3, 8, 2, 9, 2, 10, 2, 11, 2, 11, 3, 12, 3, 13, 4, 12, 4, 14, 5, 14, 4, 13, 3, 12, 2], [4282597176.0, 15, 15, 14, 14, 14, 15, 13, 14, 12, 14, 11, 13, 10, 13, 9, 12, 5, 10, 4, 10, 3, 9, 1, 8, 15, 14, 15, 13, 15, 12, 15, 11, 15, 10, 15, 9, 15, 8, 0, 7, 0, 6, 0, 5, 0, 4, 0, 3, 0, 2, 0, 1, 1, 1, 2, 2, 3, 2, 4, 3, 5, 3, 6, 4, 7, 4, 8, 5, 9, 5, 10, 6, 11, 6, 12, 7, 13, 7, 14, 8, 14, 10, 14, 11, 14, 12, 14, 13, 14, 9, 13, 10, 13, 12, 13, 13, 13, 11, 12, 12, 12, 13, 12, 11, 13, 9, 13, 8, 12, 8, 12, 9, 12, 10, 11, 11, 11, 12, 10, 12, 10, 11, 9, 11, 8, 11, 6, 10, 7, 10, 8, 10, 9, 10, 10, 10, 11, 10, 11, 9, 11, 8, 11, 7, 10, 8, 10, 9, 10, 7, 9, 8, 9, 9, 9, 7, 9, 6, 8, 6, 8, 7, 8, 8, 8, 9, 7, 7, 7, 6, 7, 5, 7, 8, 7, 9, 6, 8, 6, 7, 6, 5, 6, 6, 6, 9, 5, 9, 4, 9, 4, 8, 5, 8, 3, 8, 2, 8, 2, 7, 1, 7, 1, 6, 1, 5, 1, 4, 1, 3, 1, 2, 2, 3, 2, 4, 2, 5, 2, 6, 3, 4, 3, 5, 3, 6, 3, 7, 4, 7, 5, 7, 5, 6, 4, 6, 5, 5, 4, 5, 5, 4, 4, 4, 3, 3, 14, 7, 10, 5, 9, 4, 8, 4, 2, 1, 0, 8], [], [], [4282597176.0, 0, 0, 5, 2, 6, 3, 7, 3, 9, 4, 10, 5, 11, 5, 12, 6, 13, 6, 14, 7, 15, 7, 15, 6, 15, 5, 15, 3, 15, 4, 15, 2, 15, 1, 15, 0, 0, -1, 0, -2, 0, -3, 0, -4, 0, -5, 0, -6, 0, -7, 1, -7, 2, -6, 3, -6, 4, -5, 5, -5, 6, -4, 10, -2, 11, -2, 12, -1, 13, -1, 14, 0, 14, 1, 14, 3, 14, 4, 14, 5, 14, 6, 14, 2, 13, 4, 13, 5, 12, 5, 13, 3, 13, 2, 13, 1, 13, 0, 12, 1, 12, 2, 12, 3, 12, 4, 12, 0, 11, 1, 10, 3, 10, 4, 11, 4, 11, 2, 11, 0, 11, -1, 10, 0, 10, 1, 10, 2, 11, 3, 10, -1, 8, -2, 8, -1, 8, 0, 8, 1, 8, 2, 8, 3, 9, 3, 9, 2, 9, 1, 9, 0, 9, -1, 7, -2, 7, -3, 6, -3, 6, -2, 6, -1, 6, 0, 6, 1, 6, 2, 7, 2, 7, 0, 7, -1, 7, 1, 5, 1, 4, 1, 4, 0, 5, 0, 5, -1, 4, -1, 4, -2, 5, -2, 5, -3, 4, -3, 4, -4, 5, -4, 3, -5, 2, -5, 2, -4, 2, -2, 2, -1, 3, 0, 3, -1, 2, -3, 3, -3, 3, -2, 3, -4, 1, -5, 1, -6, 1, -3, 1, -2, 1, -1, 1, -4, 12, -2, 4, -6, 8, 4, 9, 5, 11, 6, 1, 0, 2, 0, 3, 1, 4, 2, 9, -2, 11, -3, 10, -3], [4282597176.0, 0, 15, 1, 14, 1, 15, 2, 14, 3, 14, 4, 13, 5, 13, 6, 12, 10, 10, 11, 10, 12, 9, 14, 8, 0, 14, 0, 13, 0, 12, 0, 11, 0, 10, 0, 9, 0, 8, 15, 7, 15, 6, 15, 5, 15, 4, 15, 3, 15, 2, 15, 1, 14, 1, 13, 2, 12, 2, 11, 3, 10, 3, 9, 4, 8, 4, 7, 5, 6, 5, 5, 6, 4, 6, 3, 7, 2, 7, 1, 8, 1, 10, 1, 11, 1, 12, 1, 13, 1, 9, 2, 10, 2, 12, 2, 13, 2, 11, 3, 12, 3, 13, 3, 11, 2, 9, 2, 8, 3, 8, 3, 9, 3, 10, 4, 11, 4, 12, 5, 12, 5, 11, 6, 11, 7, 11, 9, 10, 8, 10, 7, 10, 6, 10, 5, 10, 4, 10, 4, 9, 4, 8, 4, 7, 5, 8, 5, 9, 5, 7, 6, 8, 6, 9, 6, 7, 6, 6, 7, 6, 7, 7, 7, 8, 7, 9, 8, 7, 8, 6, 8, 5, 8, 8, 8, 9, 9, 8, 9, 7, 9, 5, 9, 6, 9, 9, 10, 9, 11, 9, 11, 8, 10, 8, 12, 8, 13, 8, 13, 7, 14, 7, 14, 6, 14, 5, 14, 4, 14, 3, 14, 2, 13, 3, 13, 4, 13, 5, 13, 6, 12, 4, 12, 5, 12, 6, 12, 7, 11, 7, 10, 7, 10, 6, 11, 6, 10, 5, 11, 5, 10, 4, 11, 4, 12, 3, 1, 7, 5, 5, 6, 4, 7, 4, 13, 1, 15, 8], [], [], [4282597176.0, 15, 0, 10, 2, 9, 3, 8, 3, 6, 4, 5, 5, 4, 5, 3, 6, 2, 6, 1, 7, 0, 7, 0, 6, 0, 5, 0, 3, 0, 4, 0, 2, 0, 1, 0, 0, 15, -1, 15, -2, 15, -3, 15, -4, 15, -5, 15, -6, 15, -7, 14, -7, 13, -6, 12, -6, 11, -5, 10, -5, 9, -4, 5, -2, 4, -2, 3, -1, 2, -1, 1, 0, 1, 1, 1, 3, 1, 4, 1, 5, 1, 6, 1, 2, 2, 4, 2, 5, 3, 5, 2, 3, 2, 2, 2, 1, 2, 0, 3, 1, 3, 2, 3, 3, 3, 4, 3, 0, 4, 1, 5, 3, 5, 4, 4, 4, 4, 2, 4, 0, 4, -1, 5, 0, 5, 1, 5, 2, 4, 3, 5, -1, 7, -2, 7, -1, 7, 0, 7, 1, 7, 2, 7, 3, 6, 3, 6, 2, 6, 1, 6, 0, 6, -1, 8, -2, 8, -3, 9, -3, 9, -2, 9, -1, 9, 0, 9, 1, 9, 2, 8, 2, 8, 0, 8, -1, 8, 1, 10, 1, 11, 1, 11, 0, 10, 0, 10, -1, 11, -1, 11, -2, 10, -2, 10, -3, 11, -3, 11, -4, 10, -4, 12, -5, 13, -5, 13, -4, 13, -2, 13, -1, 12, 0, 12, -1, 13, -3, 12, -3, 12, -2, 12, -4, 14, -5, 14, -6, 14, -3, 14, -2, 14, -1, 14, -4, 3, -2, 11, -6, 7, 4, 6, 5, 4, 6, 14, 0, 13, 0, 12, 1, 11, 2, 6, -2, 4, -3, 5, -3], [], [4282597176.0, 0, 15, 1, 15, 2, 14, 3, 14, 4, 13, 5, 13, 6, 12, 7, 12, 8, 11, 9, 11, 10, 10, 11, 10, 12, 9, 13, 9, 14, 8, 15, 8, 0, 14, 1, 14, 2, 13, 3, 13, 4, 12, 5, 12, 6, 11, 7, 11, 8, 10, 9, 10, 10, 9, 11, 9, 14, 7, 15, 7, 3, 12, 5, 11, 4, 11, 7, 10, 8, 9, 9, 9, 14, 9, 13, 8], [4282597176.0, 0, 7, 1, 7, 15, 0, 14, 0, 12, 1, 10, 2, 11, 2, 9, 3, 8, 3, 4, 5, 3, 6, 2, 6, 0, 6, 1, 6, 2, 5, 3, 5, 4, 4, 5, 4, 6, 3, 7, 3, 8, 2, 9, 2, 10, 1, 11, 1, 13, 0, 15, -1, 14, -1, 3, 4, 4, 3, 5, 2, 5, 3, 6, 2, 7, 2, 9, 1, 6, 4, 12, 0, 13, 1], [], [4282597176.0, 15, 15, 14, 15, 13, 14, 12, 14, 11, 13, 10, 13, 9, 12, 8, 12, 7, 11, 6, 11, 5, 10, 4, 10, 3, 9, 2, 9, 1, 8, 0, 8, 15, 14, 14, 14, 13, 13, 12, 13, 11, 12, 10, 12, 9, 11, 8, 11, 7, 10, 6, 10, 5, 9, 4, 9, 1, 7, 0, 7, 12, 12, 10, 11, 11, 11, 8, 10, 7, 9, 6, 9, 1, 9, 2, 8], [4282597176.0, 15, 7, 14, 7, 0, 0, 1, 0, 3, 1, 5, 2, 4, 2, 6, 3, 7, 3, 11, 5, 12, 6, 13, 6, 15, 6, 14, 6, 13, 5, 12, 5, 11, 4, 10, 4, 9, 3, 8, 3, 7, 2, 6, 2, 5, 1, 4, 1, 2, 0, 0, -1, 1, -1, 12, 4, 11, 3, 10, 2, 10, 3, 9, 2, 8, 2, 6, 1, 9, 4, 3, 0, 2, 1], [4282597176.0, 15, 7, 14, 7, 13, 6, 12, 6, 15, -1, 15, 0, 14, 2, 15, 1, 15, 2, 15, 4, 15, 5, 15, 6, 15, 3, 14, 4, 14, 5, 14, 6, 14, 3, 13, 4, 13, 5, 12, 5, 11, 6, 14, 1, 13, 3, 12, 4, 11, 5], [4282597176.0, 0, 7, 1, 7, 2, 6, 3, 6, 0, -1, 0, 0, 1, 2, 0, 1, 0, 2, 0, 4, 0, 5, 0, 6, 0, 3, 1, 4, 1, 5, 1, 6, 1, 3, 2, 4, 2, 5, 3, 5, 4, 6, 1, 1, 2, 3, 3, 4, 4, 5], [4282597176.0, 0, 0, 1, 0, 2, 1, 3, 1, 4, 2, 5, 2, 0, 15, 1, 15, 2, 14, 3, 14, 4, 13, 6, 3, 7, 3, 8, 4, 9, 4, 10, 5, 11, 5, 0, 1, 0, 2, 0, 3, 0, 4, 0, 5, 0, 6, 0, 14, 1, 14, 2, 13, 3, 13, 4, 12, 5, 12, 6, 11, 7, 10, 8, 9, 8, 8, 9, 7, 9, 8, 10, 6, 5, 11, 6, 10, 7, 9, 6, 9, 6, 8, 4, 7, 4, 6, 3, 7, 3, 6, 2, 6, 1, 6, 1, 5, 1, 4, 1, 3, 1, 2, 1, 1, 2, 2, 2, 3, 2, 4, 2, 5, 3, 4, 3, 3, 3, 2, 3, 5, 4, 4, 4, 3, 4, 5, 5, 4, 5, 3, 5, 5, 5, 6, 5, 7, 6, 6, 6, 5, 7, 4, 6, 4, 6, 7, 7, 6, 8, 5, 7, 7, 7, 5, 7, 8, 8, 7, 8, 6, 9, 6, 9, 5, 4, 1, 6, 2, 5, 1, 8, 3, 10, 4, 11, 4, 5, 10, 4, 11, 9, 3, 7, 2, 10, 3, 9, 2, 8, 2, 6, 1, 2, 7, 3, 8, 4, 8, 5, 8, 5, 9, 5, 13], [4282597176.0, 0, 0, 5, 2, 6, 3, 7, 3, 9, 4, 10, 5, 11, 5, 12, 6, 13, 6, 14, 7, 15, 7, 15, 6, 15, 5, 15, 3, 15, 4, 15, 2, 15, 1, 15, 0, 0, -1, 0, -2, 0, -3, 0, -4, 0, -5, 0, -6, 0, -7, 1, -7, 2, -6, 3, -6, 4, -5, 5, -5, 6, -4, 10, -2, 11, -2, 12, -1, 13, -1, 14, 0, 14, 1, 14, 3, 14, 4, 14, 5, 14, 6, 14, 2, 13, 4, 13, 5, 12, 5, 13, 3, 13, 2, 13, 1, 13, 0, 12, 1, 12, 2, 12, 3, 12, 4, 12, 0, 11, 1, 10, 3, 10, 4, 11, 4, 11, 2, 11, 0, 11, -1, 10, 0, 10, 1, 10, 2, 11, 3, 10, -1, 8, -2, 8, -1, 8, 0, 8, 1, 8, 2, 8, 3, 9, 3, 9, 2, 9, 1, 9, 0, 9, -1, 7, -2, 7, -3, 6, -3, 6, -2, 6, -1, 6, 0, 6, 1, 6, 2, 7, 2, 7, 0, 7, -1, 7, 1, 5, 1, 4, 1, 4, 0, 5, 0, 5, -1, 4, -1, 4, -2, 5, -2, 5, -3, 4, -3, 4, -4, 5, -4, 3, -5, 2, -5, 2, -4, 2, -2, 2, -1, 3, 0, 3, -1, 2, -3, 3, -3, 3, -2, 3, -4, 1, -5, 1, -6, 1, -3, 1, -2, 1, -1, 1, -4, 12, -2, 4, -6, 8, 4, 9, 5, 11, 6, 1, 0, 2, 0, 3, 1, 4, 2, 9, -2, 11, -3, 10, -3], [4282597176.0, 15, 0, 14, 0, 13, 1, 12, 1, 11, 2, 10, 2, 15, 15, 14, 15, 13, 14, 12, 14, 11, 13, 9, 3, 8, 3, 7, 4, 6, 4, 5, 5, 4, 5, 15, 1, 15, 2, 15, 3, 15, 4, 15, 5, 15, 6, 15, 14, 14, 14, 13, 13, 12, 13, 11, 12, 10, 12, 9, 11, 8, 10, 7, 9, 7, 8, 6, 7, 6, 8, 5, 6, 10, 11, 9, 10, 8, 9, 9, 9, 9, 8, 11, 7, 11, 6, 12, 7, 12, 6, 13, 6, 14, 6, 14, 5, 14, 4, 14, 3, 14, 2, 14, 1, 13, 2, 13, 3, 13, 4, 13, 5, 12, 4, 12, 3, 12, 2, 12, 5, 11, 4, 11, 3, 11, 5, 10, 4, 10, 3, 10, 5, 10, 6, 10, 7, 9, 6, 9, 5, 8, 4, 9, 4, 9, 7, 8, 6, 7, 5, 8, 7, 8, 5, 8, 8, 7, 7, 7, 6, 6, 6, 6, 5, 11, 1, 9, 2, 10, 1, 7, 3, 5, 4, 4, 4, 10, 10, 11, 11, 6, 3, 8, 2, 5, 3, 6, 2, 7, 2, 9, 1, 13, 7, 12, 8, 11, 8, 10, 8, 10, 9, 10, 13], [4282597176.0, 15, 0, 10, 2, 9, 3, 8, 3, 6, 4, 5, 5, 4, 5, 3, 6, 2, 6, 1, 7, 0, 7, 0, 6, 0, 5, 0, 3, 0, 4, 0, 2, 0, 1, 0, 0, 15, -1, 15, -2, 15, -3, 15, -4, 15, -5, 15, -6, 15, -7, 14, -7, 13, -6, 12, -6, 11, -5, 10, -5, 9, -4, 5, -2, 4, -2, 3, -1, 2, -1, 1, 0, 1, 1, 1, 3, 1, 4, 1, 5, 1, 6, 1, 2, 2, 4, 2, 5, 3, 5, 2, 3, 2, 2, 2, 1, 2, 0, 3, 1, 3, 2, 3, 3, 3, 4, 3, 0, 4, 1, 5, 3, 5, 4, 4, 4, 4, 2, 4, 0, 4, -1, 5, 0, 5, 1, 5, 2, 4, 3, 5, -1, 7, -2, 7, -1, 7, 0, 7, 1, 7, 2, 7, 3, 6, 3, 6, 2, 6, 1, 6, 0, 6, -1, 8, -2, 8, -3, 9, -3, 9, -2, 9, -1, 9, 0, 9, 1, 9, 2, 8, 2, 8, 0, 8, -1, 8, 1, 10, 1, 11, 1, 11, 0, 10, 0, 10, -1, 11, -1, 11, -2, 10, -2, 10, -3, 11, -3, 11, -4, 10, -4, 12, -5, 13, -5, 13, -4, 13, -2, 13, -1, 12, 0, 12, -1, 13, -3, 12, -3, 12, -2, 12, -4, 14, -5, 14, -6, 14, -3, 14, -2, 14, -1, 14, -4, 3, -2, 11, -6, 7, 4, 6, 5, 4, 6, 14, 0, 13, 0, 12, 1, 11, 2, 6, -2, 4, -3, 5, -3], [4282597176.0, 15, 15, 14, 14, 14, 15, 13, 14, 12, 14, 11, 13, 10, 13, 9, 12, 5, 10, 4, 10, 3, 9, 1, 8, 15, 14, 15, 13, 15, 12, 15, 11, 15, 10, 15, 9, 15, 8, 0, 7, 0, 6, 0, 5, 0, 4, 0, 3, 0, 2, 0, 1, 1, 1, 2, 2, 3, 2, 4, 3, 5, 3, 6, 4, 7, 4, 8, 5, 9, 5, 10, 6, 11, 6, 12, 7, 13, 7, 14, 8, 14, 10, 14, 11, 14, 12, 14, 13, 14, 9, 13, 10, 13, 12, 13, 13, 13, 11, 12, 12, 12, 13, 12, 11, 13, 9, 13, 8, 12, 8, 12, 9, 12, 10, 11, 11, 11, 12, 10, 12, 10, 11, 9, 11, 8, 11, 6, 10, 7, 10, 8, 10, 9, 10, 10, 10, 11, 10, 11, 9, 11, 8, 11, 7, 10, 8, 10, 9, 10, 7, 9, 8, 9, 9, 9, 7, 9, 6, 8, 6, 8, 7, 8, 8, 8, 9, 7, 7, 7, 6, 7, 5, 7, 8, 7, 9, 6, 8, 6, 7, 6, 5, 6, 6, 6, 9, 5, 9, 4, 9, 4, 8, 5, 8, 3, 8, 2, 8, 2, 7, 1, 7, 1, 6, 1, 5, 1, 4, 1, 3, 1, 2, 2, 3, 2, 4, 2, 5, 2, 6, 3, 4, 3, 5, 3, 6, 3, 7, 4, 7, 5, 7, 5, 6, 4, 6, 5, 5, 4, 5, 5, 4, 4, 4, 3, 3, 14, 7, 10, 5, 9, 4, 8, 4, 2, 1, 0, 8], [4282597176.0, 0, 15, 1, 14, 1, 15, 2, 14, 3, 14, 4, 13, 5, 13, 6, 12, 10, 10, 11, 10, 12, 9, 14, 8, 0, 14, 0, 13, 0, 12, 0, 11, 0, 10, 0, 9, 0, 8, 15, 7, 15, 6, 15, 5, 15, 4, 15, 3, 15, 2, 15, 1, 14, 1, 13, 2, 12, 2, 11, 3, 10, 3, 9, 4, 8, 4, 7, 5, 6, 5, 5, 6, 4, 6, 3, 7, 2, 7, 1, 8, 1, 10, 1, 11, 1, 12, 1, 13, 1, 9, 2, 10, 2, 12, 2, 13, 2, 11, 3, 12, 3, 13, 3, 11, 2, 9, 2, 8, 3, 8, 3, 9, 3, 10, 4, 11, 4, 12, 5, 12, 5, 11, 6, 11, 7, 11, 9, 10, 8, 10, 7, 10, 6, 10, 5, 10, 4, 10, 4, 9, 4, 8, 4, 7, 5, 8, 5, 9, 5, 7, 6, 8, 6, 9, 6, 7, 6, 6, 7, 6, 7, 7, 7, 8, 7, 9, 8, 7, 8, 6, 8, 5, 8, 8, 8, 9, 9, 8, 9, 7, 9, 5, 9, 6, 9, 9, 10, 9, 11, 9, 11, 8, 10, 8, 12, 8, 13, 8, 13, 7, 14, 7, 14, 6, 14, 5, 14, 4, 14, 3, 14, 2, 13, 3, 13, 4, 13, 5, 13, 6, 12, 4, 12, 5, 12, 6, 12, 7, 11, 7, 10, 7, 10, 6, 11, 6, 10, 5, 11, 5, 10, 4, 11, 4, 12, 3, 1, 7, 5, 5, 6, 4, 7, 4, 13, 1, 15, 8], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []);
var minimapO = new Array([], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [4286611584.0, 1, 2, 2, 2, 3, 1, 4, 1, 6, 0, 5, 0, 8, -1, 7, -1, 0, 1, -1, 1, -2, 0, -3, 0, -4, -1, -5, -1, -6, -2, -7, -2, -8, -3, -9, -3, -10, -4, -11, -4, -12, -5, -13, -5, -14, -6, -15, -6, -16, -7, -17, -7, -18, -8, -19, -8, -20, -9, -21, -9, -22, -10, -23, -10, -24, -11, -25, -11, -26, -12, -27, -12, -28, -13, -29, -13, -30, -14, -31, -14, -32, -15, -33, -15, -34, -16, -35, -16, -36, -17, -37, -17, -39, -18, -38, -18, -40, -19, -41, -19, -42, -20, -43, -20, -44, -21, -45, -21, -46, -22, -47, -22, -48, -23, -49, -23, -47, -24, -46, -24, -45, -25, -44, -25, -43, -26, -42, -26, -41, -25, -40, -25, -38, -24, 6, -2, 5, -2, 4, -3, 3, -3, 2, -4, 1, -4, 0, -5, -1, -5, -3, -6, -2, -6, -4, -7, -5, -7, -6, -8, -7, -8, -8, -9, -9, -9, -10, -10, -11, -10, -13, -11, -12, -11, -14, -12, -15, -12, -16, -13, -17, -13, -18, -14, -19, -14, -20, -15, -21, -15, -22, -16, -23, -16, -24, -17, -25, -17, -26, -18, -27, -18, -28, -19, -29, -19, -30, -20, -31, -20, -32, -21, -33, -21, -34, -22, -35, -22, -36, -23, -37, -23, -39, -24, 1, 1, 2, 1, 2, 0, 3, 0, 4, 0, 4, -1, 5, -1, 6, -1, 4, -2, 3, -1, 3, -2, 2, -1, 1, 0, 2, -2, 2, -3, 1, -3, 1, -2, 1, -1, 0, 0, -1, 0, 0, -1, 0, -2, 0, -3, 0, -4, -1, -3, -1, -2, -1, -1, -1, -4, -2, -2, -2, -1, -3, -1, -3, -2, -4, -2, -5, -2, -3, -3, -4, -3, -5, -3, -6, -3, -7, -3, -2, -3, -2, -4, -2, -5, -3, -5, -3, -4, -4, -4, -4, -5, -4, -6, -5, -4, -5, -6, -5, -5, -6, -4, -6, -5, -7, -4, -6, -6, -6, -7, -7, -6, -7, -5, -8, -4, -9, -4, -9, -5, -8, -5, -10, -5, -11, -5, -10, -6, -9, -6, -8, -6, -7, -7, -9, -7, -11, -6, -12, -6, -13, -6, -12, -7, -11, -7, -10, -7, -8, -7, -8, -8, -10, -8, -9, -8, -10, -9, -11, -9, -12, -8, -12, -9, -12, -10, -11, -8, -13, -10, -13, -8, -13, -7, -13, -9, -14, -7, -15, -7, -15, -8, -14, -8, -15, -9, -15, -11, -14, -11, -14, -10, -14, -9, -15, -10, -16, -8, -17, -8, -16, -9, -17, -9, -17, -10, -16, -10, -16, -11, -16, -12, -17, -12, -17, -11, -18, -9, -19, -9, -18, -10, -18, -11, -20, -11, -19, -11, -19, -10, -19, -12, -18, -13, -18, -12, -19, -13, -20, -13, -20, -14, -21, -14, -21, -13, -21, -12, -21, -11, -20, -10, -21, -10, -22, -11, -20, -12, -23, -11, -23, -12, -22, -12, -22, -13, -22, -15, -23, -15, -23, -13, -22, -14, -23, -14, -24, -13, -25, -13, -25, -12, -24, -12, -24, -14, -24, -15, -24, -16, -25, -16, -25, -14, -25, -15, -26, -13, -27, -14, -26, -14, -27, -13, -26, -16, -26, -17, -27, -15, -26, -15, -27, -16, -27, -17, -28, -14, -29, -14, -29, -15, -28, -15, -30, -15, -31, -15, -31, -16, -30, -16, -29, -16, -28, -16, -28, -17, -29, -18, -29, -17, -28, -18, -30, -19, -30, -18, -30, -17, -31, -18, -31, -19, -31, -17, -32, -16, -33, -16, -33, -17, -32, -17, -32, -18, -32, -19, -32, -20, -33, -18, -33, -19, -33, -20, -34, -20, -34, -21, -35, -21, -35, -20, -35, -19, -35, -18, -35, -17, -34, -17, -34, -18, -34, -19, -36, -18, -37, -18, -36, -19, -36, -20, -36, -21, -36, -22, -37, -22, -37, -21, -37, -20, -37, -19, -38, -19, -39, -19, -39, -20, -38, -22, -38, -23, -39, -23, -39, -22, -39, -21, -38, -20, -38, -21, -40, -20, -41, -20, -40, -22, -40, -23, -40, -24, -41, -22, -41, -21, -41, -23, -40, -21, -41, -24, -42, -21, -42, -23, -42, -24, -42, -22, -43, -22, -43, -21, -43, -23, -42, -25, -43, -25, -43, -24, -44, -22, -45, -22, -44, -23, -44, -24, -45, -23, -45, -24, -47, -23, -46, -23, -48, -24, -49, -24, -46, -25, -47, -25, -44, -26, -45, -26, -43, -27, -42, -27, 1, 3, 2, 3, 3, 2, 4, 2, 5, 1, 6, 1, 7, 0, 8, 0, -41, -26, 0, 2], [4286611584.0, 1, 2, -1, 1, -3, 0, 2, 2, 0, 1, -2, 0, -4, -1, -5, -1, 3, 1, 4, 1, 5, 0, 6, 0, 7, -1, 8, -1, 9, -2, 10, -2, 11, -3, 12, -3, 13, -4, 14, -4, 14, -5, 15, -5, 16, -5, 17, -6, 18, -6, 19, -7, 20, -7, 21, -8, 22, -8, 24, -9, 23, -9, 25, -10, 26, -10, 27, -11, 28, -11, 29, -12, 30, -12, 31, -13, 32, -13, 33, -14, 34, -14, 35, -15, 36, -15, 37, -16, 38, -16, 39, -17, 40, -17, 41, -18, 42, -18, 43, -19, 44, -19, 45, -20, 46, -20, 47, -21, 48, -21, 49, -22, 50, -22, 51, -23, 52, -23, 50, -24, 49, -24, 48, -25, 47, -25, 46, -26, 45, -26, 44, -25, 43, -25, -3, -2, -2, -2, -1, -3, 0, -3, 1, -4, 2, -4, 3, -5, 4, -5, 6, -6, 5, -6, 7, -7, 8, -7, 10, -8, 9, -8, 11, -9, 12, -9, 13, -10, 14, -10, 15, -11, 16, -11, 17, -12, 18, -12, 19, -13, 20, -13, 21, -13, 21, -14, 22, -14, 23, -15, 24, -15, 25, -16, 26, -16, 27, -17, 28, -17, 29, -18, 30, -18, 31, -19, 32, -19, 33, -20, 34, -20, 35, -21, 36, -21, 37, -22, 38, -22, 39, -23, 40, -23, 41, -24, 42, -24, 52, -24, 51, -24, 50, -25, 49, -25, 48, -26, 47, -26, 46, -27, 45, -27, 44, -26, 2, 3, 1, 3, 0, 2, -1, 2, -2, 1, -3, 1, -4, 0, -5, 0, 3, 2, -3, -1, -2, -1, -1, -1, -1, 0, 0, -2, 0, -1, 0, 0, -1, -2, 1, 1, 2, 1, 2, 0, 2, -1, 2, -2, 2, -3, 1, 0, 1, -2, 1, -3, 1, -1, 3, -1, 3, 0, 4, 0, 4, -2, 4, -3, 4, -4, 3, -4, 3, -3, 3, -2, 4, -1, 5, -1, 6, -1, 6, -2, 6, -3, 6, -4, 6, -5, 5, -4, 5, -2, 5, -5, 5, -3, 7, -3, 8, -3, 8, -2, 7, -2, 7, -4, 8, -5, 8, -6, 7, -6, 8, -4, 7, -5, 9, -3, 10, -3, 10, -4, 10, -5, 10, -6, 10, -7, 9, -7, 9, -5, 9, -4, 9, -6, 11, -5, 11, -4, 12, -4, 12, -5, 12, -6, 12, -7, 12, -8, 11, -8, 11, -7, 11, -6, 13, -6, 13, -5, 13, -7, 13, -8, 13, -9, 14, -8, 14, -7, 14, -6, 14, -9, 15, -8, 15, -7, 15, -6, 16, -6, 16, -7, 16, -8, 16, -9, 16, -10, 15, -9, 15, -10, 18, -9, 18, -8, 18, -7, 17, -7, 17, -8, 17, -9, 17, -10, 17, -11, 18, -11, 18, -10, 19, -9, 20, -9, 20, -8, 19, -8, 19, -10, 19, -11, 19, -12, 20, -12, 20, -11, 20, -10, 21, -10, 21, -9, 22, -9, 22, -10, 21, -12, 21, -11, 22, -12, 22, -13, 22, -11, 23, -11, 23, -10, 24, -10, 24, -11, 24, -12, 24, -13, 23, -14, 23, -12, 23, -13, 24, -14, 25, -11, 26, -11, 26, -12, 26, -13, 26, -14, 26, -15, 25, -15, 25, -14, 25, -13, 25, -12, 27, -12, 27, -13, 28, -12, 28, -13, 27, -15, 28, -15, 28, -16, 28, -14, 27, -14, 27, -16, 29, -16, 29, -17, 29, -15, 29, -13, 30, -13, 30, -14, 30, -16, 30, -17, 30, -15, 29, -14, 31, -14, 32, -14, 32, -15, 32, -16, 32, -17, 32, -18, 31, -18, 31, -17, 31, -16, 31, -15, 33, -15, 34, -15, 34, -17, 34, -18, 34, -19, 34, -16, 33, -17, 33, -18, 33, -19, 33, -16, 35, -16, 36, -16, 36, -18, 35, -19, 35, -20, 35, -18, 35, -17, 36, -17, 36, -19, 36, -20, 37, -20, 37, -19, 37, -18, 37, -17, 38, -17, 38, -18, 38, -19, 38, -20, 38, -21, 37, -21, 39, -22, 40, -22, 41, -23, 42, -23, 43, -23, 43, -24, 44, -24, 45, -25, 46, -25, 46, -24, 45, -24, 44, -23, 42, -22, 39, -21, 41, -22, 41, -21, 40, -21, 40, -20, 39, -20, 39, -19, 39, -18, 40, -19, 41, -19, 42, -19, 40, -18, 41, -20, 42, -20, 43, -20, 42, -21, 44, -21, 44, -20, 43, -21, 44, -22, 43, -22, 45, -21, 46, -22, 45, -23, 46, -23, 46, -21, 45, -22, 47, -22, 48, -22, 48, -23, 49, -23, 50, -23, 47, -23, 47, -24, 48, -24], [4282597176.0, -5, 3, -6, 3, -7, 2, -8, 2, -7, 1, -8, 1, -5, 2, -6, 2, -6, 1, -5, 1, -7, 0, -8, 0, -5, 0, -6, 0, -7, -1, -8, -1], [4282597176.0, -8, 3, -7, 3, -6, 2, -5, 2, -5, 1, -5, 0, -5, -1, -6, -1, -6, 0, -6, 1, -7, 2, -8, 2, -7, 1, -8, 1, -7, 0, -8, 0], [], [], [], [], [], [], [], [], [], [], [4282597176.0, -2, 3, -1, 3, 0, 3, 1, 3, -3, 2, -4, 2, 2, 2, 3, 2, -4, 1, 3, 1, -2, 0, -3, 1, -1, 0, 0, 0, 1, 0, 2, 1, 1, 1, -1, 1, -2, 1, 0, 1, -1, 2, 0, 2, 1, 2, -2, 2], [], [], [], [], [], [4282597176.0, 1, 3, 2, 3, 0, 2, 1, 2, 2, 2, 3, 2, 1, 1, 2, 1, 1, 0, 2, 0, 0, 1, 3, 1], [4282597176.0, 1, 3, 2, 3, 0, 2, 2, 2, 3, 2, 1, 2, 0, 1, 1, 1, 2, 1, 3, 1, 1, 0, 2, 0], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [4282597176.0, -8, 2, -7, 2, -6, 1, -5, 1, -5, -1, -6, -1, -5, 0, -6, 0, -7, 0, -8, 0, -8, 1, -7, 1], [4282597176.0, -5, 2, -6, 2, -7, 1, -8, 1, -7, 0, -8, 0, -7, -1, -8, -1, -6, 1, -5, 1, -5, 0, -6, 0], [4282597176.0, -8, 2, -7, 2, -6, 1, -5, 1, -8, 1, -7, 1, -8, 0, -7, 0, -6, -1, -5, -1, -5, 0, -6, 0], [4282597176.0, -5, 1, -6, 1, -7, 2, -8, 2, -8, 1, -7, 1, -8, 0, -7, 0, -6, 0, -5, 0, -6, -1, -5, -1], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [4282597176.0, -8, 3, -7, 3, -6, 2, -5, 2, -6, 1, -5, 1, -6, 0, -5, 0, -7, 2, -8, 2, -7, 1, -8, 1], [4282597176.0, -8, 3, -7, 3, -6, 2, -5, 2, -6, 1, -5, 1, -6, 0, -5, 0, -7, 2, -8, 2, -7, 1, -8, 1], [4282597176.0, -5, 3, -6, 3, -7, 2, -8, 2, -8, 0, -7, 0, -7, 1, -8, 1, -6, 1, -5, 1, -5, 2, -6, 2], [4282597176.0, -5, 3, -6, 3, -7, 2, -8, 2, -8, 0, -7, 0, -7, 1, -8, 1, -6, 1, -5, 1, -5, 2, -6, 2], [4282597176.0, 2, 0, 3, 0, 2, 1, 3, 1, 2, 2, 3, 2, 0, 1, 1, 1, 0, 2, 1, 2, 0, 3, 1, 3, -1, 2, -2, 2, -3, 3, -4, 3, -4, 4, -3, 4, -4, 5, -3, 5, -2, 4, -1, 4, -1, 3, -2, 3], [4282597176.0, 0, 2, 1, 2, 2, 1, 3, 1, 4, 0, 5, 0, 6, -1, 7, -1, 8, -2, 9, -2, 0, 3, 1, 3, 0, 4, 1, 4, 2, 3, 3, 3, 3, 2, 2, 2, 4, 2, 5, 2, 5, 1, 4, 1, 6, 0, 6, 1, 7, 1, 7, 0, 8, -1, 8, 0, 9, 0, 9, -1], [4282597176.0, 0, 0, 1, 0, 2, 1, 3, 1, 4, 2, 5, 2, 6, 3, 7, 3, 0, 1, 0, 2, 1, 2, 1, 1, 2, 2, 2, 3, 3, 3, 3, 2, 4, 3, 4, 4, 5, 4, 5, 3, 6, 4, 6, 5, 7, 5, 7, 4], [4282597176.0, 2, 2, 3, 2, 0, 1, 1, 1, -1, 0, -2, 0, -4, -1, -3, -1, -4, 0, -4, 1, -3, 1, -3, 0, -2, 1, -2, 2, -1, 2, -1, 1, 0, 2, 0, 3, 1, 3, 1, 2, 2, 3, 2, 4, 3, 3, 3, 4], [], [], [], [], [4282597176.0, 3, 0, 2, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, -1, 1, -1, 2, -1, 3, -1, 3, -2, 2, -2], [4282597176.0, -4, 3, -3, 3, -2, 2, -1, 2, -4, 2, -3, 2, -4, 1, -3, 1, -2, 1, -1, 1, -2, 0, -1, 0], [4282597176.0, -4, 3, -3, 3, -2, 2, -1, 2, 0, 1, 1, 1, 2, 0, 3, 0, -4, 2, -3, 2, -2, 1, -1, 1, 0, 0, 1, 0, 2, -1, 3, -1, -4, 1, -3, 1, -2, 0, -1, 0, 0, -1, 1, -1, 2, -2, 3, -2], [], [], [], [4282597176.0, -5, 3, -6, 3, -7, 2, -8, 2, -8, 1, -7, 1, -7, 0, -8, 0, -5, 2, -6, 2, -5, 1, -6, 1], [4282597176.0, -8, 2, -7, 2, -6, 3, -5, 3, -8, 1, -7, 1, -8, 0, -7, 0, -6, 2, -5, 2, -6, 1, -5, 1], [4282597176.0, -12, 5, -11, 5, -10, 4, -9, 4, -8, 3, -7, 3, -6, 2, -5, 2, -6, 1, -5, 1, -5, 0, -6, 0, -6, -1, -5, -1, -5, -2, -6, -2, -5, -3, -6, -3, -7, -2, -8, -2, -9, -1, -10, -1, -11, 0, -12, 0, -12, 1, -12, 3, -12, 4, -12, 2, -11, 3, -11, 1, -11, 2, -11, 4, -10, 3, -9, 3, -9, 2, -10, 2, -10, 1, -10, 0, -9, 0, -9, 1, -8, 2, -7, 2, -7, 1, -8, 0, -7, -1, -7, 0, -8, 1, -8, -1], [4282597176.0, -12, 5, -11, 5, -10, 4, -9, 4, -8, 3, -7, 3, -6, 2, -5, 2, -6, 1, -5, 1, -5, 0, -6, 0, -6, -1, -5, -1, -5, -2, -6, -2, -5, -3, -6, -3, -7, -2, -8, -2, -9, -1, -10, -1, -11, 0, -12, 0, -12, 1, -12, 3, -12, 4, -12, 2, -11, 3, -11, 1, -11, 2, -11, 4, -10, 3, -9, 3, -9, 2, -10, 2, -10, 1, -10, 0, -9, 0, -9, 1, -8, 2, -7, 2, -7, 1, -8, 0, -7, -1, -7, 0, -8, 1, -8, -1], [4282597176.0, -9, 5, -10, 5, -11, 4, -12, 4, -13, 3, -14, 3, -15, 2, -16, 2, -16, 1, -16, 0, -16, -1, -16, -2, -16, -3, -15, -3, -14, -2, -13, -2, -12, -1, -11, -1, -10, 0, -9, 0, -9, 1, -10, 1, -10, 2, -9, 2, -10, 3, -9, 3, -9, 4, -10, 4, -11, 2, -11, 1, -11, 3, -12, 2, -12, 1, -11, 0, -12, 0, -12, 3, -13, 2, -13, 1, -13, 0, -13, -1, -14, -1, -14, 0, -14, 1, -14, 2, -15, 1, -15, 0, -15, -1, -15, -2], [4282597176.0, -9, 5, -10, 5, -11, 4, -12, 4, -13, 3, -14, 3, -15, 2, -16, 2, -16, 1, -16, 0, -16, -1, -16, -2, -16, -3, -15, -3, -14, -2, -13, -2, -12, -1, -11, -1, -10, 0, -9, 0, -9, 1, -10, 1, -10, 2, -9, 2, -10, 3, -9, 3, -9, 4, -10, 4, -11, 2, -11, 1, -11, 3, -12, 2, -12, 1, -11, 0, -12, 0, -12, 3, -13, 2, -13, 1, -13, 0, -13, -1, -14, -1, -14, 0, -14, 1, -14, 2, -15, 1, -15, 0, -15, -1, -15, -2], [4282597176.0, -12, 5, -11, 5, -10, 4, -9, 4, -8, 3, -7, 3, -6, 2, -6, 1, -6, 0, -7, -1, -8, -1, -9, -2, -10, -2, -12, -3, -11, -3, -12, -2, -12, 0, -12, 2, -12, 3, -12, 4, -12, 1, -12, -1, -11, -2, -11, -1, -11, 0, -11, 1, -11, 2, -11, 3, -11, 4, -10, 3, -9, 3, -10, 2, -10, 0, -9, 0, -9, -1, -10, 1, -10, -1, -9, 1, -9, 2, -8, 2, -7, 2, -7, 1, -7, 0, -8, 0, -8, 1], [4282597176.0, -1, 5, -2, 5, -3, 4, -4, 4, -5, 3, -6, 3, -7, 2, -1, 4, -1, 3, -1, 2, -1, 1, -1, 0, -2, 0, -2, 2, -2, 3, -2, 4, -2, 1, -1, -3, -2, -3, -1, -2, -1, -1, -2, -2, -2, -1, -3, -2, -4, -2, -4, -1, -5, -1, -6, -1, -6, 0, -7, 0, -7, 1, -6, 1, -6, 2, -5, 1, -5, 2, -5, 0, -4, 0, -4, 1, -4, 2, -4, 3, -3, 3, -3, 1, -3, 0, -3, -1, -3, 2], [4282597176.0, -20, 9, -19, 9, -18, 8, -17, 8, -16, 7, -15, 7, -14, 6, -5, 2, -6, 2, -20, 8, -19, 8, -20, 7, -20, 6, -20, 5, -20, 4, -19, 4, -19, 6, -19, 7, -19, 5, -18, 7, -18, 6, -18, 5, -18, 4, -18, 3, -17, 3, -17, 4, -17, 5, -16, 2, -15, 2, -14, 1, -14, 2, -14, 3, -14, 4, -14, 5, -15, 3, -15, 5, -15, 6, -15, 4, -16, 5, -16, 4, -16, 3, -16, 6, -17, 6, -17, 7, -5, 1, -5, 0, -5, -1, -5, -2, -5, -3, -6, -3, -6, -2, -6, -1, -6, 0, -6, 1, -7, 1, -7, 0, -7, -1, -7, -2, -12, 0, -13, 1, -11, 0, -10, -1, -9, -1, -8, -2, -12, 1, -11, 1, -9, 0, -9, 1, -10, 0, -10, 1, -8, -1, -8, 0, -8, 1, -13, 3, -12, 3, -11, 3, -10, 3, -9, 2, -8, 2, -7, 2, -10, 2, -11, 2, -12, 2, -13, 2, -9, 3], [], [4282597176.0, 3, 9, 2, 9, 1, 8, 0, 8, -1, 7, -2, 7, -3, 6, -11, 2, -12, 2, -10, 2, -9, 2, -12, 1, -12, 0, -12, -1, -12, -2, -12, -3, -11, -3, -10, -2, -9, -2, -8, -1, -7, -1, -6, 0, -5, 0, -4, 1, -3, 1, -2, 2, -1, 2, 1, 3, 0, 3, 2, 4, 3, 4, 3, 5, 3, 6, 3, 7, 3, 8, 2, 7, 2, 6, 2, 5, 2, 8, 1, 6, 1, 5, 1, 4, 1, 7, 0, 7, 0, 6, 0, 5, 0, 4, -1, 5, -1, 6, -1, 4, -1, 3, -2, 4, -2, 5, -2, 3, -2, 6, -3, 3, -3, 2, -3, 4, -3, 5, -8, 2, -7, 2, -4, 3, -5, 3, -6, 3, -7, 3, -8, 3, -4, 2, -5, 2, -6, 2, -5, 1, -6, 1, -8, 1, -7, 1, -7, 0, -8, 0, -9, 1, -10, 1, -9, 0, -9, -1, -10, -1, -10, 0, -11, 0, -11, -1, -11, -2, -11, 1], [], [], [], [4282597176.0, -12, 5, -11, 5, -10, 4, -9, 4, -8, 3, -7, 3, -6, 2, -5, 2, -6, 1, -5, 1, -5, 0, -6, 0, -6, -1, -5, -1, -5, -2, -6, -2, -5, -3, -6, -3, -7, -2, -8, -2, -9, -1, -10, -1, -11, 0, -12, 0, -12, 1, -12, 3, -12, 4, -12, 2, -11, 3, -11, 1, -11, 2, -11, 4, -10, 3, -9, 3, -9, 2, -10, 2, -10, 1, -10, 0, -9, 0, -9, 1, -8, 2, -7, 2, -7, 1, -8, 0, -7, -1, -7, 0, -8, 1, -8, -1], [4282597176.0, -9, 5, -10, 5, -11, 4, -12, 4, -13, 3, -14, 3, -15, 2, -16, 2, -16, 1, -16, 0, -16, -1, -16, -2, -16, -3, -15, -3, -14, -2, -13, -2, -12, -1, -11, -1, -10, 0, -9, 0, -9, 1, -10, 1, -10, 2, -9, 2, -10, 3, -9, 3, -9, 4, -10, 4, -11, 2, -11, 1, -11, 3, -12, 2, -12, 1, -11, 0, -12, 0, -12, 3, -13, 2, -13, 1, -13, 0, -13, -1, -14, -1, -14, 0, -14, 1, -14, 2, -15, 1, -15, 0, -15, -1, -15, -2], [4282597176.0, -5, 2, -6, 2, -5, 1, -5, 0, -5, -1, -5, -2, -5, -3, -6, -3, -6, 0, -6, -1, -6, -2, -6, 1, -7, 3, -7, 2, -7, 1, -7, 0, -7, -1, -7, -2, -8, 2, -8, 1, -8, 0, -8, -1, -9, 1, -9, 0, -8, 3, -8, -2, -9, 2, -10, 2, -10, 1, -10, 0, -10, -1, -9, -1], [4282597176.0, -12, 2, -11, 2, -10, 3, -9, 3, -8, 2, -7, 2, -12, 1, -12, 0, -12, -1, -12, -2, -12, -3, -11, -3, -11, -2, -11, 0, -11, 1, -11, -1, -10, -2, -9, -2, -9, -1, -9, 0, -9, 1, -9, 2, -10, -1, -10, 0, -10, 1, -10, 2, -8, -1, -8, 0, -8, 1, -7, 1, -7, -1, -7, 0], [4282597176.0, -8, -1, -7, -1, -6, 0, -7, 0, -8, 0, -8, 1, -7, 1, -6, 1, -6, 2, -7, 2, -8, 2, -8, 3, -7, 3], [4282597176.0, 3, 3, 2, 3, 1, 2, 2, 2, 3, 2, 3, 1, 2, 1, 2, 0, 3, 0, 3, -1, 2, -1, 1, 0, 1, 1], [4282597176.0, 0, 1, 1, 1, 2, 0, 3, 0, 3, -1, 3, -2, 3, -3, 3, -4, 3, -5, 2, -5, 2, -3, 2, -2, 2, -1, 2, -4, 1, -4, 0, -4, 0, -3, 0, -2, 0, -1, 0, 0, 1, -1, 1, -2, 1, -3, 1, 0], [4282597176.0, 3, 0, 2, 0, 1, 1, 0, 1, -1, 2, -2, 2, 3, -1, 3, -2, 3, -3, 3, -4, 3, -5, -1, 1, -2, 1, -1, 0, -2, 0, 1, 0, 0, 0, 2, -1, 1, -1, 2, -5, 2, -4, 2, -3, 2, -2, 1, -4, 0, -4, 0, -3, 0, -2, 0, -1, 1, -3, 1, -2, -1, -3, -2, -3, -2, -2, -2, -1, -1, -2, -1, -1, -3, 3, -4, 3, -3, -2, -4, -2, -4, -1, -4, 0, -4, 1, -4, 2, -3, 2, -3, 1, -3, -1, -3, 0, -5, 2, -6, 2, -6, 1, -6, 0, -5, -1, -5, 0, -5, 1, -6, -1], [4282597176.0, -9, 3, -10, 3, -11, 2, -12, 2, -12, 1, -11, 1, -11, 0, -12, 0, -12, -1, -11, -1, -11, -2, -12, -2, -10, 2, -10, 1, -10, 0, -10, -1, -10, -2, -11, -3, -12, -3, -9, -2, -9, 2, -9, 0, -9, -1, -9, 1], [4282597176.0, 8, 0, 9, 0, 10, 1, 11, 1, 12, 2, 13, 2, 14, 3, 15, 3, 16, 2, 17, 2, 8, -1, 8, -2, 8, -3, 8, -4, 8, -5, 9, -5, 10, -4, 11, -4, 12, -3, 13, -3, 14, -2, 15, -2, 16, -1, 17, -1, 17, 0, 17, 1, 16, 0, 16, 1, 15, -1, 15, 0, 15, 1, 15, 2, 14, -1, 14, 0, 14, 1, 14, 2, 13, -1, 13, 1, 13, 0, 13, -2, 12, 0, 12, 1, 12, -2, 11, -1, 11, 0, 12, -1, 11, -2, 11, -3, 10, -1, 10, 0, 10, -3, 10, -2, 9, -1, 9, -3, 9, -4, 9, -2], [4282597176.0, -12, 5, -11, 5, -10, 4, -9, 4, -8, 3, -7, 3, -6, 2, -5, 2, -12, 4, -12, 3, -12, 2, -12, 1, -12, 0, -11, 0, -11, 2, -11, 3, -10, -1, -9, -1, -8, -2, -7, -2, -6, -3, -5, -3, -5, -2, -6, -2, -6, -1, -5, 0, -5, 1, -5, -1, -6, 0, -6, 1, -7, -1, -7, 0, -8, -1, -8, 0, -8, 1, -8, 2, -7, 2, -7, 1, -9, 1, -9, 0, -10, 1, -10, 2, -10, 3, -9, 3, -9, 2, -11, 4, -11, 1, -10, 0], [4282597176.0, 15, 5, 14, 5, 13, 4, 12, 4, 11, 3, 10, 3, 9, 2, 8, 2, 15, 4, 15, 3, 15, 2, 15, 1, 15, 0, 14, 0, 14, 1, 14, 2, 14, 3, 14, 4, 13, 3, 12, 3, 12, 2, 12, 1, 12, 0, 12, -1, 13, 0, 13, 1, 13, 2, 13, -1, 11, -1, 11, -2, 10, -2, 10, -1, 10, 1, 10, 2, 10, 0, 11, 1, 11, 2, 11, 0, 9, -3, 8, -3, 8, -2, 8, 0, 8, 1, 8, -1, 9, -1, 9, -2, 9, 0, 9, 1], [4282597176.0, 4, 7, 5, 7, 6, 6, 7, 6, 8, 5, 9, 5, 10, 4, 11, 4, 12, 3, 13, 3, 14, 2, 15, 2, 16, 1, 17, 1, 5, 6, 4, 6, 5, 5, 4, 5, 5, 4, 4, 4, 5, 3, 4, 3, 5, 2, 4, 2, 6, 3, 7, 3, 7, 4, 7, 5, 6, 5, 6, 4, 8, 3, 8, 4, 9, 4, 9, 3, 10, 3, 11, 3, 12, 2, 13, 2, 15, 1, 6, 2, 7, 2, 8, 2, 9, 2, 10, 2, 11, 2, 10, 1, 11, 1, 12, 1, 13, 1, 14, 1, 6, 1, 7, 1, 8, 0, 9, 0, 8, 1, 9, 1, 10, 0, 11, 0, 12, 0, 13, 0, 14, 0, 16, 0, 17, 0, 15, 0], [4282597176.0, 7, 7, 6, 7, 5, 6, 4, 6, 3, 5, 2, 5, 1, 4, 0, 4, -1, 3, -2, 3, -3, 2, -4, 2, -5, 1, -6, 1, -6, 0, -5, 0, -4, 0, -3, 0, -2, 0, -1, 0, 0, 0, 1, 0, 2, 0, 3, 0, 4, 1, 5, 1, 6, 2, 7, 2, 7, 6, 7, 5, 7, 4, 7, 3, 6, 3, 6, 4, 6, 5, 6, 6, 5, 3, 5, 2, 5, 4, 5, 5, 4, 5, 4, 4, 4, 3, 4, 2, 3, 4, 3, 3, 3, 1, 3, 2, 2, 3, 2, 2, 2, 4, 2, 1, 1, 1, 0, 1, -1, 1, -2, 1, -3, 1, -4, 1, -2, 2, -1, 2, 0, 2, 1, 2, 1, 3, 0, 3], [4282597176.0, -5, 2, -6, 2, -7, 1, -8, 1, -5, 1, -6, 1, -5, 0, -6, 0, -7, 0, -8, 0, -7, -1, -8, -1], [4282597176.0, -8, 1, -7, 1, -6, 2, -5, 2, -6, 1, -5, 1, -8, 0, -7, 0, -6, 0, -5, 0, -7, -1, -8, -1], [4282597176.0, 12, 2, 13, 2, 12, 1, 13, 1, 12, 0, 13, 0, 12, -1, 13, -1, 12, -2, 13, -2, 12, -3, 13, -3, 23, 2, 22, 2, 23, 1, 23, 0, 23, -1, 23, -2, 23, -3, 22, -3, 22, -2, 22, -1, 22, 0, 22, 1, 21, 3, 20, 3, 14, 3, 15, 3, 14, -2, 15, -2, 15, -1, 15, 1, 15, 2, 15, 0, 14, 0, 14, 2, 14, -1, 14, 1, 20, -2, 21, -2, 21, -1, 21, 0, 20, 1, 20, 2, 20, -1, 21, 1, 21, 2, 20, 0, 16, -1, 18, -1, 19, -1, 17, -1, 16, 0, 19, 0, 17, 0, 18, 0, 16, 1, 16, 2, 18, 1, 19, 1, 17, 1, 17, 2, 19, 2, 18, 2], [], [4282597176.0, -12, 5, -11, 5, -10, 4, -9, 4, -8, 3, -7, 3, -6, 2, -5, 2, -6, 1, -5, 1, -5, 0, -6, 0, -6, -1, -5, -1, -5, -2, -6, -2, -5, -3, -6, -3, -7, -2, -8, -2, -9, -1, -10, -1, -11, 0, -12, 0, -12, 1, -12, 3, -12, 4, -12, 2, -11, 3, -11, 1, -11, 2, -11, 4, -10, 3, -9, 3, -9, 2, -10, 2, -10, 1, -10, 0, -9, 0, -9, 1, -8, 2, -7, 2, -7, 1, -8, 0, -7, -1, -7, 0, -8, 1, -8, -1], [4282597176.0, -9, 5, -10, 5, -11, 4, -12, 4, -13, 3, -14, 3, -15, 2, -16, 2, -16, 1, -16, 0, -16, -1, -16, -2, -16, -3, -15, -3, -14, -2, -13, -2, -12, -1, -11, -1, -10, 0, -9, 0, -9, 1, -10, 1, -10, 2, -9, 2, -10, 3, -9, 3, -9, 4, -10, 4, -11, 2, -11, 1, -11, 3, -12, 2, -12, 1, -11, 0, -12, 0, -12, 3, -13, 2, -13, 1, -13, 0, -13, -1, -14, -1, -14, 0, -14, 1, -14, 2, -15, 1, -15, 0, -15, -1, -15, -2], [4282597176.0, -8, -1, -7, -1, -6, 0, -7, 0, -8, 0, -8, 1, -7, 1, -6, 1, -6, 2, -7, 2, -8, 2, -8, 3, -7, 3], [4282597176.0, 3, 3, 2, 3, 1, 2, 2, 2, 3, 2, 3, 1, 2, 1, 2, 0, 3, 0, 3, -1, 2, -1, 1, 0, 1, 1], [4282597176.0, -12, 5, -11, 5, -10, 4, -9, 4, -8, 3, -7, 3, -6, 2, -6, 1, -6, 0, -7, -1, -8, -1, -9, -2, -10, -2, -12, -3, -11, -3, -12, -2, -12, 0, -12, 2, -12, 3, -12, 4, -12, 1, -12, -1, -11, -2, -11, -1, -11, 0, -11, 1, -11, 2, -11, 3, -11, 4, -10, 3, -9, 3, -10, 2, -10, 0, -9, 0, -9, -1, -10, 1, -10, -1, -9, 1, -9, 2, -8, 2, -7, 2, -7, 1, -7, 0, -8, 0, -8, 1], [4282597176.0, -1, 5, -2, 5, -3, 4, -4, 4, -5, 3, -6, 3, -7, 2, -1, 4, -1, 3, -1, 2, -1, 1, -1, 0, -2, 0, -2, 2, -2, 3, -2, 4, -2, 1, -1, -3, -2, -3, -1, -2, -1, -1, -2, -2, -2, -1, -3, -2, -4, -2, -4, -1, -5, -1, -6, -1, -6, 0, -7, 0, -7, 1, -6, 1, -6, 2, -5, 1, -5, 2, -5, 0, -4, 0, -4, 1, -4, 2, -4, 3, -3, 3, -3, 1, -3, 0, -3, -1, -3, 2], [], [], [], [], [4282597176.0, 7, 4, 6, 4, 5, 3, 4, 3, 3, 2, 2, 2, 1, 1, 0, 1, 7, 5, 6, 5, 6, 6, 7, 6, 7, 7, 6, 7, 5, 4, 5, 5, 5, 6, 4, 4, 4, 5, 4, 6, 3, 4, 3, 5, 2, 5, 2, 4, 2, 3, 3, 3, 1, 4, 0, 4, 0, 3, 0, 2, 1, 2, 1, 3, 6, 8, 6, 9, 7, 9, 7, 8, 5, 8, 4, 8, 4, 7, 5, 7, 3, 7, 2, 7, 2, 6, 3, 6, 1, 6, 0, 6, 0, 5, 1, 5], [4282597176.0, 0, 4, 1, 4, 2, 3, 3, 3, 4, 2, 5, 2, 6, 1, 7, 1, 0, 5, 0, 6, 0, 7, 0, 8, 0, 9, 1, 9, 1, 8, 1, 7, 1, 6, 1, 5, 2, 8, 3, 8, 3, 7, 3, 6, 3, 5, 3, 4, 2, 5, 2, 6, 2, 7, 2, 4, 4, 7, 5, 7, 6, 6, 7, 6, 7, 5, 7, 4, 7, 3, 7, 2, 6, 3, 6, 4, 6, 5, 6, 2, 5, 5, 5, 6, 5, 3, 5, 4, 4, 4, 4, 5, 4, 6, 4, 3], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []);
tabChildren = false;
fillBloodBitmap();
inicializar();
fillPowerTable();
fillBD();
fillNpcBD();
attachMovie('gameLoaderMC', 'gl_mc', 12);
crearCursor();
fillShadowBitmap();
Mouse.hide();
var keyListener = new Object();
keyListener.onKeyDown = function () {
var v1 = '';
var v2 = Key.getCode();
if (keyCode[v2] != '') {
v1 = 'kC_' + v2;
} else {
v1 = 'cC_' + v2;
}
if (isDown[v1]) {
} else {
isDown[v1] = true;
if (engine_mc != undefined) {
if (engine_mc.reproducir) {
keyAction(v1);
} else {
if (uigame_mc != undefined) {
if (uigame_mc.sett_mc.hotk_mc != undefined) {
uigame_mc.sett_mc.hotk_mc.bindKey(v1);
} else {
if (v1 == 'kC_27') {
keyCloseScreens();
} else {
if (uigame_mc.inve_mc != undefined && v1 == hotKey[10]) {
uigame_mc.closeInventory();
}
if (uigame_mc.journal_mc != undefined && v1 == hotKey[11]) {
uigame_mc.closeJournal();
}
if (uigame_mc.zonemap_mc != undefined && v1 == hotKey[13]) {
uigame_mc.closeZoneMap();
}
if (uigame_mc.character_mc != undefined && v1 == hotKey[15]) {
uigame_mc.closeInventory();
uigame_mc.closeCharacterScreen();
}
}
}
}
}
} else {
if (uimainmenu_mc != undefined) {
if (uimainmenu_mc.sett_mc.hotk_mc != undefined) {
uimainmenu_mc.sett_mc.hotk_mc.bindKey(v1);
} else {
if (v1 == 'kC_27') {
keyCloseScreens();
}
}
}
}
}
};
keyListener.onKeyUp = function () {
var v1 = '';
var v2 = Key.getCode();
if (keyCode[v2] != '') {
v1 = 'kC_' + v2;
} else {
v1 = 'cC_' + v2;
}
if (isDown[v1]) {
delete isDown[v1];
}
};
Key.addListener(keyListener);
onEnterFrame = function () {
if (engine_mc != undefined) {
engine_mc.onFrame();
if (!engine_mc.reproducir) {
if (uigame_mc != undefined) {
uigame_mc.pauseEnterFrame();
}
}
} else {
if (uimainmenu_mc != undefined) {
uimainmenu_mc.onFrame();
} else {
if (gl_mc != undefined) {
gl_mc.showProgress();
}
}
updateCursor(0);
}
};
}
frame 2 {
stop();
}
frame 3 {
gotoAndStop(4);
}
movieClip 182 engineMC {
frame 1 {
function clearTime() {
eTime = new Array();
eTime.push(getTimer());
}
function addTime(s) {
var v1 = 0;
if (eTime.length == 1) {
v1 = getTimer() - eTime[0];
} else {
v1 = getTimer() - eTime[0];
}
eTime.push(s);
eTime.push(v1);
}
function showTime() {
var v1 = 0;
trace(eTime);
}
function inicializar() {
charIdIndex.push(0);
charAI.push(0);
charClass.push('human');
charAngle.push(0);
charDefaultAction.push('combat');
charAction.push('combat');
charActionArray[0] = new Array();
charDX[0] = new Array();
charDY[0] = new Array();
charTarget[0] = -1;
charAnimations.human = new Array();
charAnimations.human.stand = '30,30,30,30,30,30,30,30,30,30,30,30,31,31,31,31,31,31,31,31,31,31,31,31,32,32,32,32,32,32,32,32,32,32,32,32,31,31,31,31,31,31,31,31,31,31,31,31';
charAnimations.human.esperar2 = '9,9,9,9,9,9,10,10,10,10,10,10';
charAnimations.human.walk = '3,3,3,3,3,4,4,4,4,4,5,5,5,5,5,4,4,4,4,4,3,3,3,3,3,2,2,2,2,2';
charAnimations.human.combat = '9,9,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,10,10,10,10,10,10,10,10,10,10,10,10';
charAnimations.human.run = '3,3,7,7,7,1,1,2,2,3,3,4,4,8,8,8,6,6,5,5,4,4';
charAnimations.human.attack = '12,13,14,15,16,16,17,17,18,19';
charAnimations.human.ranged = '20,21,22,23,23,23,23,24,25,25';
charAnimations.human.rangeddelay = '20,21,22,23,23,23,23,24,25,25,9,9,9,9,10,10,10,10,11,11,11,11';
charAnimations.human.damage = '33,33,34,34,34,33,33';
charAnimations.human.die = '33,33,33,34,34,34,35,35,35,36,36,37,37,38';
charAnimations.human.dielayer = 37;
charAnimations.human.releasearrow = 24;
charAnimations.human.attackdamage = 16;
charAnimations.human.run_speed = 8;
charAnimations.human.total = 38;
charAnimations.champion = new Array();
charAnimations.champion.stand = charAnimations.human.stand;
charAnimations.champion.esperar2 = charAnimations.human.esperar2;
charAnimations.champion.walk = charAnimations.human.walk;
charAnimations.champion.combat = charAnimations.human.combat;
charAnimations.champion.run = charAnimations.human.run;
charAnimations.champion.attack = charAnimations.human.attack;
charAnimations.champion.ranged = charAnimations.human.ranged;
charAnimations.champion.rangeddelay = charAnimations.human.rangeddelay;
charAnimations.champion.damage = charAnimations.human.damage;
charAnimations.champion.die = charAnimations.human.die;
charAnimations.champion.dielayer = charAnimations.human.dielayer;
charAnimations.champion.releasearrow = charAnimations.human.releasearrow;
charAnimations.champion.attackdamage = charAnimations.human.attackdamage;
charAnimations.champion.run_speed = charAnimations.human.run_speed;
charAnimations.champion.total = charAnimations.human.total;
charAnimations.zombie = new Array();
charAnimations.zombie.combat = '30,30,30,31,31,31,32,32,32,31,31,31';
charAnimations.zombie.esperar2 = '30,30,30,31,31,31,32,32,32,31,31,31';
charAnimations.zombie.run = '28,28,29,29,29,28,28,27,27,26,26,26,27,27';
charAnimations.zombie.attack = '12,12,13,13,14,14,15,15,16,16,17,17,18,18,19,19';
charAnimations.zombie.damage = '33,33,33,34,34,34,33,33,33';
charAnimations.zombie.die = '33,33,33,34,34,34,35,35,35,36,36,37,37,38';
charAnimations.zombie.dielayer = 37;
charAnimations.zombie.attackdamage = 16;
charAnimations.zombie.run_speed = 6;
charAnimations.zombie.total = 38;
charAnimations.zombiecham = new Array();
charAnimations.zombiecham.stand = charAnimations.zombie.stand;
charAnimations.zombiecham.esperar2 = charAnimations.zombie.esperar2;
charAnimations.zombiecham.walk = charAnimations.zombie.walk;
charAnimations.zombiecham.combat = charAnimations.zombie.combat;
charAnimations.zombiecham.run = charAnimations.zombie.run;
charAnimations.zombiecham.attack = charAnimations.zombie.attack;
charAnimations.zombiecham.ranged = charAnimations.zombie.ranged;
charAnimations.zombiecham.damage = charAnimations.zombie.damage;
charAnimations.zombiecham.die = charAnimations.zombie.die;
charAnimations.zombiecham.dielayer = charAnimations.zombie.dielayer;
charAnimations.zombiecham.releasearrow = charAnimations.zombie.releasearrow;
charAnimations.zombiecham.attackdamage = charAnimations.zombie.attackdamage;
charAnimations.zombiecham.run_speed = charAnimations.zombie.run_speed;
charAnimations.zombiecham.total = charAnimations.zombie.total;
charAnimations.spider = new Array();
charAnimations.spider.stand = '1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2';
charAnimations.spider.esperar2 = '1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2';
charAnimations.spider.combat = charAnimations.spider.stand;
charAnimations.spider.run = '5,6,6,5,1,4,3,3,4,1';
charAnimations.spider.attack = '7,8,9,9,10,10,9,9,8,8';
charAnimations.spider.attackdamage = 10;
charAnimations.spider.die = '11,11,12,12,12,12,13,13,13,14,14,15';
charAnimations.spider.damage = '11,12,12,11';
charAnimations.spider.dielayer = 13;
charAnimations.spider.run_speed = 7;
charAnimations.spider.total = 15;
charAnimations.skeleton = new Array();
charAnimations.skeleton.stand = '1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2';
charAnimations.skeleton.esperar2 = '1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2';
charAnimations.skeleton.combat = charAnimations.skeleton.stand;
charAnimations.skeleton.run = '5,5,6,6,7,7,6,6,5,5,4,4,3,3,4,4';
charAnimations.skeleton.attack = '8,9,10,11,12,12,13,13,14,14';
charAnimations.skeleton.ranged = '15,15,16,16,17,17,18,18,19,19';
charAnimations.skeleton.rangeddelay = '15,15,16,16,17,17,18,18,19,19,1,1,1,1,1,2,2,2,2,2';
charAnimations.skeleton.attackdamage = 12;
charAnimations.skeleton.releasearrow = 18;
charAnimations.skeleton.die = '20,20,20,21,21,22,22,23,23,24';
charAnimations.skeleton.damage = '20,20,20,21,21,21,20,20,20';
charAnimations.skeleton.dielayer = 22;
charAnimations.skeleton.run_speed = 7;
charAnimations.skeleton.total = 24;
charAnimations.skeletoncham = new Array();
charAnimations.skeletoncham.stand = charAnimations.skeleton.stand;
charAnimations.skeletoncham.esperar2 = charAnimations.skeleton.esperar2;
charAnimations.skeletoncham.walk = charAnimations.skeleton.walk;
charAnimations.skeletoncham.combat = charAnimations.skeleton.combat;
charAnimations.skeletoncham.run = charAnimations.skeleton.run;
charAnimations.skeletoncham.attack = charAnimations.skeleton.attack;
charAnimations.skeletoncham.ranged = charAnimations.skeleton.ranged;
charAnimations.skeletoncham.rangeddelay = charAnimations.skeleton.rangeddelay;
charAnimations.skeletoncham.damage = charAnimations.skeleton.damage;
charAnimations.skeletoncham.die = charAnimations.skeleton.die;
charAnimations.skeletoncham.dielayer = charAnimations.skeleton.dielayer;
charAnimations.skeletoncham.releasearrow = charAnimations.skeleton.releasearrow;
charAnimations.skeletoncham.attackdamage = charAnimations.skeleton.attackdamage;
charAnimations.skeletoncham.run_speed = charAnimations.skeleton.run_speed;
charAnimations.skeletoncham.total = charAnimations.skeleton.total;
charAnimations.vampire = new Array();
charAnimations.vampire.stand = charAnimations.human.stand;
charAnimations.vampire.esperar2 = charAnimations.human.esperar2;
charAnimations.vampire.walk = charAnimations.human.walk;
charAnimations.vampire.combat = charAnimations.human.combat;
charAnimations.vampire.run = charAnimations.human.run;
charAnimations.vampire.attack = charAnimations.human.attack;
charAnimations.vampire.ranged = charAnimations.human.ranged;
charAnimations.vampire.rangeddelay = charAnimations.human.rangeddelay;
charAnimations.vampire.damage = charAnimations.human.damage;
charAnimations.vampire.die = charAnimations.human.die;
charAnimations.vampire.dielayer = charAnimations.human.dielayer;
charAnimations.vampire.releasearrow = charAnimations.human.releasearrow;
charAnimations.vampire.attackdamage = charAnimations.human.attackdamage;
charAnimations.vampire.run_speed = charAnimations.human.run_speed;
charAnimations.vampire.total = charAnimations.human.total;
charAnimations.demon = new Array();
charAnimations.demon.stand = '1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3';
charAnimations.demon.esperar2 = '1,1,1,1,1,1,1,1';
charAnimations.demon.combat = charAnimations.demon.stand;
charAnimations.demon.run = '14,14,14,15,15,15,16,16,16,15,15,15,14,14,14,13,13,13';
charAnimations.demon.walk = charAnimations.demon.run;
charAnimations.demon.attack = '4,5,6,7,8,9,9,10,11,12';
charAnimations.demon.ranged = charAnimations.demon.attack;
charAnimations.demon.rangeddelay = charAnimations.demon.ranged;
charAnimations.demon.damage = '17,17,18,18,17,17';
charAnimations.demon.die = '17,17,17,18,18,18,19,19,19,20,20,21,21,22,22,22,22,22,22,22,22,22';
charAnimations.demon.dielayer = 21;
charAnimations.demon.releasearrow = 9;
charAnimations.demon.attackdamage = 9;
charAnimations.demon.run_speed = 6;
charAnimations.demon.total = 22;
charAnimations.golem = new Array();
charAnimations.golem.stand = charAnimations.human.stand;
charAnimations.golem.esperar2 = charAnimations.human.esperar2;
charAnimations.golem.walk = charAnimations.human.walk;
charAnimations.golem.combat = charAnimations.human.combat;
charAnimations.golem.run = charAnimations.human.run;
charAnimations.golem.attack = charAnimations.human.attack;
charAnimations.golem.ranged = charAnimations.human.ranged;
charAnimations.golem.rangeddelay = charAnimations.human.rangeddelay;
charAnimations.golem.damage = charAnimations.human.damage;
charAnimations.golem.die = charAnimations.human.die;
charAnimations.golem.dielayer = charAnimations.human.dielayer;
charAnimations.golem.releasearrow = charAnimations.human.releasearrow;
charAnimations.golem.attackdamage = charAnimations.human.attackdamage;
charAnimations.golem.run_speed = charAnimations.human.run_speed;
charAnimations.golem.total = charAnimations.human.total;
}
function calcFrameTime() {
var v1 = getTimer();
frameTime = v1 - t1ms;
t1ms = v1;
}
function showFPS() {
var v1 = 0;
if (!my_txt) {
t1ms = getTimer();
createTextField('my_txt', 100, 10, 10, 100, 300);
my_txt.text = 'FPS:';
my_txt.selectable = false;
my_txt.autoSize = true;
my_txt.textColor = 16711680;
avgFPS = 0;
totalCountFPS = 0;
} else {
v1 = Math.round(1000 / frameTime);
avgFPS = (avgFPS * totalCountFPS + v1) / (totalCountFPS + 1);
++totalCountFPS;
my_txt.text = 'FPS: ' + v1 + ' (' + Math.round(avgFPS) + ' AVG)';
}
}
function onFrame() {
var v3 = 0;
if (reproducir) {
++fCounter;
if (fCounter > 100) {
fCounter = 1;
}
indO = -1;
var v14 = 0;
var v13 = 0;
var v7 = 0;
var v10 = 0;
var v24 = 0;
var v16 = 0;
var v4 = 0;
var v5 = 0;
var v11 = 0;
var v8 = 0;
var v18 = 0;
var v17 = 0;
var v26 = 0;
var v25 = 0;
var v19 = 0;
var v20 = new Array();
var v2 = new Array();
var v21 = new Array();
var v32 = new String('');
var v30 = new flash.geom.Matrix();
var v29;
var v12;
var v9 = new flash.geom.Point(0, 0);
var v23 = new flash.geom.Point(0, 0);
var v6 = new flash.geom.Rectangle(0, 0, 0, 0);
var v22 = 100000;
if (fCounter == fC1) {
updateActiveObjs();
_parent.sonido_mc.snd_mc.manageLoop(activeFire);
fC1 += 15;
if (fC1 > 100) {
fC1 -= 100;
}
}
if (fCounter == fC4) {
updateActiveChrs();
fC4 += 15;
if (fC4 > 100) {
fC4 -= 100;
}
}
if (cinematicScript.length == 0) {
if (fCounter % 2 == 0) {
playAIscripts();
}
}
if (fCounter == fC3) {
showMsg();
fC3 += 15;
if (fC3 > 100) {
fC3 -= 100;
}
}
if (fCounter == fC4) {
fC4 += 15;
if (fC4 > 100) {
fC4 -= 100;
}
}
if (fCounter == fC5) {
fC5 += 15;
if (fC5 > 100) {
fC5 -= 100;
}
}
if (tablaBorrado2.length > 0) {
while (tablaBorrado2.length > 0) {
borrarObjeto(tablaBorrado2.pop());
}
}
if (fCounter == fC6) {
fC6 += 15;
if (fC6 > 100) {
fC6 -= 100;
}
if (tablaBorrado.length > 10) {
v3 = 0;
while (v3 < 5) {
borrarObjeto(tablaBorrado.shift());
++v3;
}
} else {
if (tablaBorrado.length > 0) {
v3 = 0;
while (v3 < tablaBorrado.length) {
if (activeObjs[tablaBorrado[v3]] != 1) {
borrarObjeto(tablaBorrado[v3]);
tablaBorrado.splice(v3, 1);
--v3;
}
++v3;
}
}
}
}
playCinematics();
if (actionQueue.length > 0) {
while (actionQueue.length > 0) {
accionSimple(String(actionQueue.pop()));
}
}
playProyectiles();
playObjectScripts();
playCharacterScripts();
if (charIdIndex[charIndex] != undefined) {
coordenadaY = objectY[charIdIndex[charIndex]] - ALTO / 2 + 25;
coordenadaX = objectX[charIdIndex[charIndex]] - ANCHO / 2 + 25;
}
if (coordenadaX < coorXMin) {
coordenadaX = coorXMin;
}
if (coordenadaY < coorYMin) {
coordenadaY = coorYMin;
}
if (coordenadaX > coorXMax) {
coordenadaX = coorXMax;
}
if (coordenadaY > coorYMax) {
coordenadaY = coorYMax;
}
waterFrame += 1;
v10 = Math.floor(waterFrame);
if (v10 >= _parent.waterBitmap.length) {
waterFrame = 0;
v10 = 0;
}
v13 = Math.floor(coordenadaY / terrainTextureSize);
v3 = ALTO;
v4 = coordenadaY % terrainTextureSize;
while (v3 > 0) {
v14 = Math.floor(coordenadaX / terrainTextureSize);
v5 = coordenadaX % terrainTextureSize;
v7 = ANCHO;
v11 = terrainTextureSize - v4;
if (v11 > v3) {
v11 = v3;
}
while (v7 > 0) {
v8 = terrainTextureSize - v5;
if (v8 > v7) {
v8 = v7;
}
if (terrain[v13] != null) {
if (terrain[v13][v14] != null) {
v9.x = ANCHO - v7;
v9.y = ALTO - v3;
v6.x = v5;
v6.y = v4;
v6.width = v8;
v6.height = v11;
if (waterFlag[v13][v14]) {
screenBitmap.copyPixels(_parent.waterBitmap[v10], v6, v9, null, null, false);
}
if (terrain[v13][v14] != waterTerrain) {
screenBitmap.copyPixels(_parent.terrainBitmap[terrain[v13][v14]], v6, v9, null, null, false);
}
}
}
v7 -= v8;
if (v5 != 0) {
v5 = 0;
}
++v14;
}
v3 -= v11;
if (v4 != 0) {
v4 = 0;
}
++v13;
}
v3 = objectFrame[0];
if (_parent.cacheBitmap[objectId[0]][v3] == undefined) {
objectpj_mc.object_mc.goTo(v3);
objectpj_mc.shadow_mc.goTo(v3);
_parent.cacheBitmap[objectId[0]][v3] = new flash.display.BitmapData(Math.ceil(objectpj_mc._width), Math.ceil(objectpj_mc._height), true, 0);
v29 = objectpj_mc.getBounds(objectpj_mc);
v30.translate(-Math.ceil(v29.xMin), -Math.ceil(v29.yMin));
_parent.cacheBitmap[objectId[0]][v3].draw(objectpj_mc, v30);
_parent.cacheX[objectId[0]][v3] = Math.ceil(v29.xMin);
_parent.cacheY[objectId[0]][v3] = Math.ceil(v29.yMin);
_parent.cacheAncho[objectId[0]][v3] = Math.ceil(objectpj_mc._width);
_parent.cacheAlto[objectId[0]][v3] = Math.ceil(objectpj_mc._height);
loadedFrame = 1;
} else {
if (cacheList.length > 0) {
if (loadedFrame) {
loadedFrame = 0;
} else {
checkCache();
loadedFrame = 1;
}
}
}
v19 = Math.floor(coordenadaX / 25) + Math.round(coordenadaY / 12.5) * 50 - 200000;
v2[8] = '';
v2[9] = '0';
v2[10] = '00';
v2[11] = '000';
v2[12] = '0000';
v2[13] = '00000';
v2[14] = '000000';
v24 = Math.round(objectY[charIdIndex[charIndex]] / 12.5) * 50 + Math.round(objectX[charIdIndex[charIndex]] / 25) - v19;
v18 = objectX[charIdIndex[charIndex]] - coordenadaX;
v26 = v18 + 50;
v17 = objectY[charIdIndex[charIndex]] - coordenadaY;
v25 = v17 + 25;
indO = -1;
for (v12 in activeObjs) {
v3 = Number(v12);
if (!objectMC[v3]) {
v4 = objectX[v3] + _parent.objectaX[objectId[v3]][objectFrame[v3]] - coordenadaX;
v11 = v4 + _parent.objectAncho[objectId[v3]][objectFrame[v3]];
v5 = objectY[v3] + _parent.objectaY[objectId[v3]][objectFrame[v3]] - coordenadaY;
v8 = v5 + _parent.objectAlto[objectId[v3]][objectFrame[v3]];
} else {
v4 = objectX[v3] + _parent.cacheX[objectId[v3]][objectFrame[v3]] - coordenadaX;
v11 = v4 + _parent.cacheAncho[objectId[v3]][objectFrame[v3]];
v5 = objectY[v3] + _parent.cacheY[objectId[v3]][objectFrame[v3]] - coordenadaY;
v8 = v5 + _parent.cacheAlto[objectId[v3]][objectFrame[v3]];
}
if (v5 < ALTO) {
if (v8 > 0) {
if (v4 < ANCHO) {
if (v11 > 0) {
if (v4 < 0) {
v2[0] = -v4;
v4 = 0;
} else {
v2[0] = 0;
}
if (v5 < 0) {
v2[1] = -v5;
v5 = 0;
} else {
v2[1] = 0;
}
if (v11 > ANCHO) {
v11 = ANCHO;
}
if (v8 > ALTO) {
v8 = ALTO;
}
v2[2] = v11 - v4;
v2[3] = v8 - v5;
v2[4] = v4;
v2[5] = v5;
if (objectLayer[v3] != 1) {
if (objectLayer[v3] == -1) {
v2[6] = 150000 + v3;
} else {
if (objectLayer[v3] == 0) {
v16 = Math.round(objectY[v3] / 12.5) * 50 + Math.round(objectX[v3] / 25) - v19 - 5000;
v2[6] = String(v16);
v2[7] = 6 - v2[6].length;
v2[6] = v2[8 + v2[7]] + v2[6];
} else {
if (objectLayer[v3] == 2) {
v2[6] = 950000 + v3;
} else {
if (objectLayer[v3] == -2) {
v2[6] = 100000 + v3;
} else {
v16 = Math.round(objectY[v3] / 12.5) * 50 + Math.round(objectX[v3] / 25) - v19;
v16 += objectLayer[v3];
v2[6] = String(v16);
v2[7] = 6 - v2[6].length;
v2[6] = v2[8 + v2[7]] + v2[6];
}
}
}
}
v16 = 0;
} else {
v16 = Math.round(objectY[v3] / 12.5) * 50 + Math.round(objectX[v3] / 25) - v19;
v2[6] = String(v16);
v2[7] = 6 - v2[6].length;
v2[6] = v2[8 + v2[7]] + v2[6];
}
if (objectLayer[v3] == 10) {
v21.push(v2[6] + ',' + v3 + ',' + v2[0] + ',' + v2[1] + ',' + v2[2] + ',' + v2[3] + ',' + v2[4] + ',' + v2[5]);
} else {
v10 = 0;
if (alphaObj[v3]) {
if (v16 > v24) {
if (v18 > v11) {
} else {
if (v26 < v4) {
} else {
if (v17 > v8) {
} else {
if (v25 < v5) {
} else {
v4 = _parent.objectBitmap[objectId[v3]][objectFrame[v3]].getPixel32(v18 - v2[4] + v2[0], v17 - v2[5] + v2[1]) >> 24 & 255;
if (v4 > 150) {
v10 = 1;
} else {
v4 = _parent.objectBitmap[objectId[v3]][objectFrame[v3]].getPixel32(v18 - v2[4] + v2[0] + 50, v17 - v2[5] + v2[1] + 25) >> 24 & 255;
if (v4 > 150) {
v10 = 1;
}
}
}
}
}
}
}
}
v20.push(v2[6] + ',' + v3 + ',' + v2[0] + ',' + v2[1] + ',' + v2[2] + ',' + v2[3] + ',' + v2[4] + ',' + v2[5] + ',' + v10);
if (objectSelect[v3] > 0) {
if (objectTeam[v3] == 2 || objectTeam[v3] == 1) {
v4 = objectX[v3] - coordenadaX - 10;
v5 = objectY[v3] - coordenadaY + 30;
if (Number(((objectId[v3].split('c-'))[0].split('f-'))[1]) == 5) {
v4 -= 10;
v5 += 15;
v10 = 90;
v8 = 65;
} else {
v8 = 85;
v10 = 70;
}
if (_xmouse > v4 && _xmouse < v4 + v10 && _ymouse < v5 && _ymouse > v5 - v8) {
if (objectTeam[indO] != 2 && objectTeam[v3] == 2) {
indO = -1;
}
if (indO == -1) {
indO = v3;
v22 = Math.pow(objectX[indO] - objectX[0], 2) + Math.pow(objectY[indO] - objectY[0], 2);
} else {
if (Math.pow(objectX[v3] - objectX[0], 2) + Math.pow(objectY[v3] - objectY[0], 2) < v22) {
if (objectTeam[indO] == 2 && objectTeam[v3] == 1) {
} else {
indO = v3;
v22 = Math.pow(objectX[indO] - objectX[0], 2) + Math.pow(objectY[indO] - objectY[0], 2);
}
}
}
}
} else {
if (_xmouse > v2[4] && _xmouse < v4 + v2[2] && _ymouse > v2[5] && _ymouse < v5 + v2[3]) {
if (objectId[v3] == 'f-18c-') {
indO = v3;
} else {
if ((objectId[v3].split('c-'))[0] == 'f-1' || (objectId[v3].split('c-'))[0] == 'f-2') {
v4 = objectX[v3] - coordenadaX - 8;
v5 = objectY[v3] - coordenadaY + 25;
v8 = 80;
if (_xmouse > v4 && _xmouse < v4 + 66 && _ymouse < v5 && _ymouse > v5 - v8) {
if (indO == -1) {
indO = v3;
} else {
if (objectY[v3] > objectY[indO]) {
indO = v3;
}
}
}
} else {
if (!objectMC[v3]) {
v4 = _parent.objectBitmap[objectId[v3]][objectFrame[v3]].getPixel32(_xmouse - v2[4] + v2[0], _ymouse - v2[5] + v2[1]) >> 24 & 255;
} else {
v4 = _parent.cacheBitmap[objectId[v3]][objectFrame[v3]].getPixel32(_xmouse - v2[4] + v2[0], _ymouse - v2[5] + v2[1]) >> 24 & 255;
}
if (v4 > 150) {
if (indO == -1) {
indO = v3;
}
}
}
}
}
}
}
}
}
}
}
}
}
v20.sort();
v2 = new Array();
var v28 = new flash.filters.ColorMatrixFilter([1, 0, 0, 0, 25, 0, 1, 0, 0, 25, 0, 0, 1, 0, 25, 0, 0, 0, 1, 0]);
var v27 = new flash.filters.ColorMatrixFilter([1, 0, 0, 0, 0, 0, 1, 0, 0, 10, 0, 0, 1.5, 0, 30, 0, 0, 0, 1, 0]);
v3 = 0;
while (v3 < v20.length) {
v2 = v20[v3].split(',');
v9.x = v2[6];
v9.y = v2[7];
v6.x = v2[2];
v6.y = v2[3];
v6.width = v2[4];
v6.height = v2[5];
if (!objectMC[v2[1]]) {
if (Number(v2[8])) {
objectAlpha[v2[1]] -= 20;
if (objectAlpha[v2[1]] < minAlpha[v2[1]]) {
objectAlpha[v2[1]] = minAlpha[v2[1]];
}
if (multiPart[v2[1]].length > 0) {
v7 = 0;
while (v7 < multiPart[v2[1]].length) {
objectAlpha[multiPart[v2[1]][v7]] = objectAlpha[v2[1]];
++v7;
}
}
}
if (objectAlpha[v2[1]] == 255) {
screenBitmap.copyPixels(_parent.objectBitmap[objectId[v2[1]]][objectFrame[v2[1]]], v6, v9, null, null, true);
} else {
alphaBitmap.fillRect(alphaBitmap.rectangle, Number('0x' + objectAlpha[v2[1]].toString(16) + '000000'));
screenBitmap.copyPixels(_parent.objectBitmap[objectId[v2[1]]][objectFrame[v2[1]]], v6, v9, alphaBitmap, v23, true);
objectAlpha[v2[1]] += 10;
if (objectAlpha[v2[1]] > 255) {
objectAlpha[v2[1]] = 255;
}
}
} else {
screenBitmap.copyPixels(_parent.cacheBitmap[objectId[v2[1]]][objectFrame[v2[1]]], v6, v9, null, null, true);
}
if (indO == v2[1]) {
if (objectId[indO] != 'f-157c-' && objectId[indO] != 'f-156c-') {
if (!objectMC[v2[1]]) {
var v15 = new flash.display.BitmapData(_parent.objectBitmap[objectId[v2[1]]][objectFrame[v2[1]]].width, _parent.objectBitmap[objectId[v2[1]]][objectFrame[v2[1]]].height, true, 0);
v15.threshold(_parent.objectBitmap[objectId[v2[1]]][objectFrame[v2[1]]], _parent.objectBitmap[objectId[v2[1]]][objectFrame[v2[1]]].rectangle, v15.rectangle.topLeft, '<', 3422552064.0, 0, 4278190080.0, true);
} else {
var v15 = new flash.display.BitmapData(_parent.cacheBitmap[objectId[v2[1]]][objectFrame[v2[1]]].width, _parent.cacheBitmap[objectId[v2[1]]][objectFrame[v2[1]]].height, true, 0);
v15.threshold(_parent.cacheBitmap[objectId[v2[1]]][objectFrame[v2[1]]], _parent.cacheBitmap[objectId[v2[1]]][objectFrame[v2[1]]].rectangle, v15.rectangle.topLeft, '<', 3422552064.0, 0, 4278190080.0, true);
}
v15.applyFilter(v15, v15.rectangle, v15.rectangle.topLeft, v28);
screenBitmap.copyPixels(v15, v6, v9, null, null, true);
v15.dispose();
v15 = null;
}
}
if (servantIndex != -1) {
if (v2[1] == charIdIndex[servantIndex]) {
if (!objectMC[v2[1]]) {
v15 = new flash.display.BitmapData(_parent.objectBitmap[objectId[v2[1]]][objectFrame[v2[1]]].width, _parent.objectBitmap[objectId[v2[1]]][objectFrame[v2[1]]].height, true, 0);
v15.threshold(_parent.objectBitmap[objectId[v2[1]]][objectFrame[v2[1]]], _parent.objectBitmap[objectId[v2[1]]][objectFrame[v2[1]]].rectangle, v15.rectangle.topLeft, '<', 3422552064.0, 0, 4278190080.0, true);
} else {
v15 = new flash.display.BitmapData(_parent.cacheBitmap[objectId[v2[1]]][objectFrame[v2[1]]].width, _parent.cacheBitmap[objectId[v2[1]]][objectFrame[v2[1]]].height, true, 0);
v15.threshold(_parent.cacheBitmap[objectId[v2[1]]][objectFrame[v2[1]]], _parent.cacheBitmap[objectId[v2[1]]][objectFrame[v2[1]]].rectangle, v15.rectangle.topLeft, '<', 3422552064.0, 0, 4278190080.0, true);
}
v15.applyFilter(v15, v15.rectangle, v15.rectangle.topLeft, v27);
screenBitmap.copyPixels(v15, v6, v9, null, null, true);
v15.dispose();
v15 = null;
}
}
++v3;
}
v3 = ALTO;
v4 = coordenadaY % 800;
if (_parent.terrainOption) {
while (v3 > 0) {
v5 = coordenadaX % 800;
v7 = ANCHO;
v11 = 800 - v4;
if (v11 > v3) {
v11 = v3;
}
while (v7 > 0) {
v8 = 800 - v5;
if (v8 > v7) {
v8 = v7;
}
v9.x = ANCHO - v7;
v9.y = ALTO - v3;
v6.x = v5;
v6.y = v4;
v6.width = v8;
v6.height = v11;
screenBitmap.copyPixels(_parent.terrainShadow, v6, v9, null, null, false);
v7 -= v8;
if (v5 != 0) {
v5 = 0;
}
}
v3 -= v11;
if (v4 != 0) {
v4 = 0;
}
}
}
if (nightEnabled) {
if (_parent.lightningOption == 1) {
if (nightEnabled == 1) {
var v31 = new flash.display.BitmapData(ANCHO, ALTO, false, 4210752);
} else {
if (nightEnabled == 2) {
var v31 = new flash.display.BitmapData(ANCHO, ALTO, false, 1381653);
} else {
if (nightEnabled == 3) {
var v31 = new flash.display.BitmapData(ANCHO, ALTO, false, 9474192);
} else {
if (nightEnabled == 4) {
var v31 = new flash.display.BitmapData(ANCHO, ALTO, false, 7368816);
}
}
}
}
v4 = objectX[charIdIndex[charIndex]] - coordenadaX - 320 + 25;
v11 = v4 + 640;
v5 = objectY[charIdIndex[charIndex]] - coordenadaY - 216 + 25;
v8 = v5 + 432;
if (v4 < 0) {
v3 = -v4;
v4 = 0;
} else {
v3 = 0;
}
if (v5 < 0) {
v7 = -v5;
v5 = 0;
} else {
v7 = 0;
}
if (v11 > ANCHO) {
v11 = ANCHO;
}
if (v8 > ALTO) {
v8 = ALTO;
}
v9.x = v4;
v9.y = v5;
v6.x = v3;
v6.y = v7;
v6.width = v11 - v4;
v6.height = v8 - v5;
v31.copyPixels(_parent.shadowBitmap, v6, v9, null, null, true);
v3 = 0;
while (v3 < v21.length) {
v2 = v21[v3].split(',');
v9.x = v2[6];
v9.y = v2[7];
v6.x = v2[2];
v6.y = v2[3];
v6.width = v2[4];
v6.height = v2[5];
v31.copyPixels(_parent.objectBitmap[objectId[v2[1]]][objectFrame[v2[1]]], v6, v9, null, null, true);
++v3;
}
screenBitmap.draw(v31, new flash.geom.Matrix(), null, 'multiply', v31.rectangle);
v31.dispose();
} else {
if (_parent.lightningOption == 2) {
v4 = objectX[charIdIndex[charIndex]] - coordenadaX - 320 + 25;
v11 = v4 + 640;
v5 = objectY[charIdIndex[charIndex]] - coordenadaY - 216 + 25;
v8 = v5 + 432;
if (v4 < 0) {
v3 = -v4;
v4 = 0;
var v31 = new flash.display.BitmapData(Math.ceil(v3), ALTO, true, 2566914048.0);
v9.x = 640 - Math.ceil(v3);
v9.y = 0;
screenBitmap.copyPixels(v31, v31.rectangle, v9, null, null, true);
v31.dispose();
} else {
v3 = 0;
}
if (v4 > 0) {
var v31 = new flash.display.BitmapData(v4, ALTO, true, 2566914048.0);
v6.x = 0;
v6.y = 0;
v6.width = v4;
v6.height = ALTO;
screenBitmap.copyPixels(v31, v6, v23, null, null, true);
v31.dispose();
}
if (v5 < 0) {
v7 = -v5;
v5 = 0;
v31 = new flash.display.BitmapData(v11 - v4, v7, true, 2566914048.0);
v9.x = v4;
v9.y = ALTO - v7 - 1;
screenBitmap.copyPixels(v31, v31.rectangle, v9, null, null, true);
v31.dispose();
} else {
v7 = 0;
}
if (v5 > 0) {
v31 = new flash.display.BitmapData(v11 - v4, v5, true, 2566914048.0);
v9.x = v4;
v9.y = 0;
screenBitmap.copyPixels(v31, v31.rectangle, v9, null, null, true);
v31.dispose();
}
if (v11 > ANCHO) {
v11 = ANCHO;
}
if (v8 > ALTO) {
v8 = ALTO;
}
v9.x = v4;
v9.y = v5;
v6.x = v3;
v6.y = v7;
v6.width = v11 - v4;
v6.height = v8 - v5;
screenBitmap.copyPixels(_parent.shadowBitmap, v6, v9, null, null, true);
}
}
}
if (objectHP[charIdIndex[charIndex]] / objectMaxHP[charIdIndex[charIndex]] < 0.4) {
bloodAlpha += 25;
if (bloodAlpha > 255) {
bloodAlpha = 255;
}
} else {
bloodAlpha -= 25;
if (bloodAlpha < 0) {
bloodAlpha = 0;
}
}
if (bloodAlpha > 0) {
var v33 = new flash.display.BitmapData(640, 80, true, '0x' + bloodAlpha.toString(16) + '000000');
v9.x = 0;
v9.y = bloodBitmapY;
screenBitmap.copyPixels(_parent.bloodBitmap01, _parent.bloodBitmap01.rectangle, v9, v33, null, true);
}
if (fade) {
v32 = '0x' + fadeO.toString(16) + '000000';
v31 = new flash.display.BitmapData(ANCHO, ALTO, true, v32);
screenBitmap.copyPixels(v31, screenBitmap.rectangle, v23, null, null, true);
v31.dispose();
fadeO += fadeI;
if (fadeO > 255) {
fadeI = -fadeI;
fadeO = 255;
}
if (fadeO < 0) {
fade = false;
}
}
v7 = 5000;
if (objectHP[0] > 0) {
if (currentMana < maxMana) {
currentMana += maxMana / v7;
if (currentMana > maxMana) {
currentMana = maxMana;
}
_parent.uigame_mc.mp_mc.n = (currentMana / maxMana) * 100;
_parent.uigame_mc.mp_mc.updatePorc();
_parent.uigame_mc.checkManaBars();
}
if (objectHP[0] < objectMaxHP[0]) {
objectHP[0] += objectMaxHP[0] / v7;
if (objectHP[0] > objectMaxHP[0]) {
objectHP[0] = objectMaxHP[0];
}
_parent.uigame_mc.hp_mc.n = (objectHP[0] / objectMaxHP[0]) * 100;
_parent.uigame_mc.hp_mc.updatePorc();
}
}
v3 = 0;
v7 = 0;
for (v12 in _parent.activePowers) {
if (_parent.activePowers[v12].length > 0) {
v7 = 1;
if (_parent.activePowers[v12].length == 4) {
v10 = charIdIndex[_parent.activePowers[v12][2]];
if (v10 == 0) {
objectHP[v10] += _parent.activePowers[v12][1];
if (objectHP[v10] > objectMaxHP[v10]) {
objectHP[v10] = objectMaxHP[v10];
}
_parent.uigame_mc.hp_mc.n = (objectHP[0] / objectMaxHP[0]) * 100;
_parent.uigame_mc.hp_mc.updatePorc();
} else {
if (objectTeam[v10] == objectTeam[charIdIndex[_parent.activePowers[v12][3]]]) {
objectHP[v10] += _parent.activePowers[v12][1];
if (objectHP[v10] > objectMaxHP[v10]) {
objectHP[v10] = objectMaxHP[v10];
}
}
}
} else {
if (_parent.activePowers[v12].length == 1) {
if (v12 == '1') {
objectHP[0] += objectMaxHP[0] / _parent.FrameRate * 4;
if (objectHP[0] > objectMaxHP[0]) {
objectHP[0] = objectMaxHP[0];
}
_parent.uigame_mc.hp_mc.n = (objectHP[0] / objectMaxHP[0]) * 100;
_parent.uigame_mc.hp_mc.updatePorc();
} else {
currentMana += maxMana / _parent.FrameRate * 4;
if (currentMana > maxMana) {
currentMana = maxMana;
}
_parent.uigame_mc.mp_mc.n = (currentMana / maxMana) * 100;
_parent.uigame_mc.mp_mc.updatePorc();
_parent.uigame_mc.checkManaBars();
}
}
}
--_parent.activePowers[v12][0];
if (_parent.activePowers[v12][0] < 1) {
v3 = 1;
_parent.activePowers[v12].splice(0, _parent.activePowers[v12].length);
}
}
}
if (v3) {
_parent.updateTotalAbilities();
_parent.uigame_mc.addi_mc.actualizar();
} else {
if (v7) {
_parent.uigame_mc.addi_mc.actualizarPorcs();
}
}
if (v3 == 0 && servantIndex != -1) {
_parent.uigame_mc.addi_mc.actualizarPorcs();
}
if (mouseIsPressed) {
if (!overUI) {
if (_ymouse < ALTO) {
mouseActionB();
}
}
if (objetivo.length == 1) {
_parent.uigame_mc.info_mc.setInfo(objectDesc[objetivo[0]], (objectHP[objetivo[0]] / objectMaxHP[objetivo[0]]) * 100, object[objetivo[0]].frame, objetivo[0]);
} else {
_parent.uigame_mc.info_mc.hideInfo();
}
} else {
if (indO != -1) {
_parent.uigame_mc.info_mc.setInfo(objectDesc[indO], (objectHP[indO] / objectMaxHP[indO]) * 100, object[indO].frame, indO);
} else {
_parent.uigame_mc.info_mc.hideInfo();
}
}
checkObjetivo(true);
v3 = coordenadaX - minLX[aZone] * 200;
v7 = coordenadaY - minLY[aZone] * 200;
_parent.uigame_mc.minimap_mc.moveMap2(aZone, v3 - 617, v7 - 697, objectX[0] - coordenadaX + 617, objectY[0] - coordenadaY + 697);
if (indO != -1) {
v3 = cursorT[objectSelect[indO]];
if (v3 == 3) {
v5 = 0;
while (v5 < activeChrs.length) {
v4 = activeChrs[v5];
if (charIdIndex[v4] == indO) {
if (charAction[v4] != charDefaultAction[v4]) {
v3 = 0;
}
break;
}
++v5;
}
}
} else {
v3 = 0;
if (aZone == 0) {
v4 = _xmouse + coordenadaX;
v5 = _ymouse + coordenadaY;
v7 = 30;
fastTravelArea = 0;
if (v4 < v7 || v4 > coorXMax + ANCHO - v7) {
if (_parent.quesInv[7] != 2) {
v3 = 4;
fastTravelArea = 1;
}
} else {
if (v5 < v7 || v5 > coorYMax + ALTO - v7) {
if (_parent.quesInv[7] != 2) {
v3 = 4;
fastTravelArea = 1;
}
}
}
}
}
} else {
if (cacheList.length > 0) {
checkCache();
}
}
if (overUI) {
v3 = 0;
}
_parent.updateCursor(v3);
}
function checkCache() {
var v8 = '';
var v6 = '';
var v3 = '';
var v2 = 0;
var v5 = 0;
var v4;
var v7 = new flash.geom.Matrix();
var v9 = 0;
if (_parent.currentWeapon == 1) {
v8 = _parent.pjConfig01;
v6 = _parent.pjConfig02;
} else {
v8 = _parent.pjConfig02;
v6 = _parent.pjConfig01;
}
if (cacheList[0][0] == v8) {
if (_parent.currentWeapon == 1) {
v3 = 'f-' + _parent.pjGender + 'c-' + (_parent.pjConfig01.split(',')).join('-');
} else {
v3 = 'f-' + _parent.pjGender + 'c-' + (_parent.pjConfig02.split(',')).join('-');
}
v2 = cacheList[0].pop();
while (_parent.cacheBitmap[v3][v2] != undefined) {
if (cacheList[0].length < 2) {
break;
}
v2 = cacheList[0].pop();
}
if (_parent.cacheBitmap[v3][v2] == undefined) {
objectpj_mc.object_mc.goTo(v2);
objectpj_mc.shadow_mc.goTo(v2);
_parent.cacheBitmap[v3][v2] = new flash.display.BitmapData(Math.ceil(objectpj_mc._width), Math.ceil(objectpj_mc._height), true, 0);
v4 = objectpj_mc.getBounds(objectpj_mc);
v7.translate(-Math.ceil(v4.xMin), -Math.ceil(v4.yMin));
_parent.cacheBitmap[v3][v2].draw(objectpj_mc, v7);
_parent.cacheX[v3][v2] = Math.ceil(v4.xMin);
_parent.cacheY[v3][v2] = Math.ceil(v4.yMin);
_parent.cacheAncho[v3][v2] = Math.ceil(objectpj_mc._width);
_parent.cacheAlto[v3][v2] = Math.ceil(objectpj_mc._height);
}
if (cacheList[0].length == 1) {
cacheList.shift();
}
} else {
if (cacheList[0][0] == v6) {
if (_parent.currentWeapon == 1) {
v3 = 'f-' + _parent.pjGender + 'c-' + (_parent.pjConfig02.split(',')).join('-');
} else {
v3 = 'f-' + _parent.pjGender + 'c-' + (_parent.pjConfig01.split(',')).join('-');
}
if (objectpj2_mc != undefined) {
if (waitForConfig) {
objectpj2_mc.object_mc.setConfig(v6);
objectpj2_mc.shadow_mc.setConfig(v6);
waitForConfig = false;
} else {
v2 = cacheList[0].pop();
while (_parent.cacheBitmap[v3][v2] != undefined) {
if (cacheList[0].length < 2) {
break;
}
v2 = cacheList[0].pop();
}
if (_parent.cacheBitmap[v3][v2] == undefined) {
objectpj2_mc.object_mc.goTo(v2);
objectpj2_mc.shadow_mc.goTo(v2);
_parent.cacheBitmap[v3][v2] = new flash.display.BitmapData(Math.ceil(objectpj2_mc._width), Math.ceil(objectpj2_mc._height), true, 0);
v4 = objectpj2_mc.getBounds(objectpj2_mc);
v7.translate(-Math.ceil(v4.xMin), -Math.ceil(v4.yMin));
_parent.cacheBitmap[v3][v2].draw(objectpj2_mc, v7);
_parent.cacheX[v3][v2] = Math.ceil(v4.xMin);
_parent.cacheY[v3][v2] = Math.ceil(v4.yMin);
_parent.cacheAncho[v3][v2] = Math.ceil(objectpj2_mc._width);
_parent.cacheAlto[v3][v2] = Math.ceil(objectpj2_mc._height);
}
}
} else {
v5 = 0;
v2 = 1;
while (v2 < cacheList[0].length) {
if (_parent.cacheBitmap[v3][cacheList[0][v2]] == undefined) {
v5 = 1;
break;
}
++v2;
}
if (v5) {
attachMovie('objectMC', 'objectpj2_mc', getNextHighestDepth());
objectpj2_mc.gotoAndStop(_parent.pjGender);
actionQueue.push('RESETFRAME2 ' + cacheList[0][cacheList[0].length - 1]);
objectpj2_mc._x = -400;
objectpj2_mc._y = -200;
} else {
cacheList.shift();
}
}
if (cacheList[0].length == 1) {
cacheList.shift();
}
}
}
if (cacheList.length == 0) {
objectpj2_mc.removeMovieClip();
}
}
function startPrecaching() {
var v2 = '';
var v3 = '';
var v4 = 2;
var v5 = 0;
if (_parent.currentWeapon == 1) {
v2 = _parent.pjConfig01;
v3 = _parent.pjConfig02;
} else {
v2 = _parent.pjConfig02;
v3 = _parent.pjConfig01;
}
actionQueue.push('RESETFRAME1 ' + objectFrame[0]);
cacheList[0] = new Array();
cacheList[1] = new Array();
cacheList = new Array();
objectpj2_mc.removeMovieClip();
waitForConfig = true;
if (_parent.checkRanged(_parent.currentWeapon)) {
cacheList[0] = new Array(v2, 270, 232, 194, 156, 118, 80, 42, 4, 268, 230, 192, 154, 116, 78, 40, 2, 275, 237, 199, 161, 123, 85, 47, 9, 291, 253, 215, 177, 139, 101, 63, 25, 289, 251, 213, 175, 137, 99, 61, 23, 287, 249, 211, 173, 135, 97, 59, 21, 290, 252, 214, 176, 138, 100, 62, 24, 288, 250, 212, 174, 136, 98, 60, 22, 286, 248, 210, 172, 134, 96, 58, 20, 276, 238, 200, 162, 124, 86, 48, 10, 274, 236, 198, 160, 122, 84, 46, 8, 271, 233, 195, 157, 119, 81, 43, 5, 269, 231, 193, 155, 117, 79, 41, 3, 267, 229, 191, 153, 115, 77, 39, 1);
} else {
cacheList[0] = new Array(v2, 270, 232, 194, 156, 118, 80, 42, 4, 268, 230, 192, 154, 116, 78, 40, 2, 275, 237, 199, 161, 123, 85, 47, 9, 282, 244, 206, 168, 130, 92, 54, 16, 284, 246, 208, 170, 132, 94, 56, 18, 285, 247, 209, 171, 133, 95, 57, 19, 283, 245, 207, 169, 131, 93, 55, 17, 281, 243, 205, 167, 129, 91, 53, 15, 279, 241, 203, 165, 127, 89, 51, 13, 276, 238, 200, 162, 124, 86, 48, 10, 274, 236, 198, 160, 122, 84, 46, 8, 271, 233, 195, 157, 119, 81, 43, 5, 269, 231, 193, 155, 117, 79, 41, 3, 267, 229, 191, 153, 115, 77, 39, 1);
}
if (_parent.precachingB) {
if (_parent.currentWeapon == 2) {
v4 = 1;
}
if (_parent.checkRanged(v4)) {
cacheList[1] = new Array(v3, 270, 232, 194, 156, 118, 80, 42, 4, 268, 230, 192, 154, 116, 78, 40, 2, 275, 237, 199, 161, 123, 85, 47, 9, 291, 253, 215, 177, 139, 101, 63, 25, 289, 251, 213, 175, 137, 99, 61, 23, 287, 249, 211, 173, 135, 97, 59, 21, 290, 252, 214, 176, 138, 100, 62, 24, 288, 250, 212, 174, 136, 98, 60, 22, 286, 248, 210, 172, 134, 96, 58, 20, 276, 238, 200, 162, 124, 86, 48, 10, 274, 236, 198, 160, 122, 84, 46, 8, 271, 233, 195, 157, 119, 81, 43, 5, 269, 231, 193, 155, 117, 79, 41, 3, 267, 229, 191, 153, 115, 77, 39, 1);
} else {
cacheList[1] = new Array(v3, 270, 232, 194, 156, 118, 80, 42, 4, 268, 230, 192, 154, 116, 78, 40, 2, 275, 237, 199, 161, 123, 85, 47, 9, 282, 244, 206, 168, 130, 92, 54, 16, 284, 246, 208, 170, 132, 94, 56, 18, 285, 247, 209, 171, 133, 95, 57, 19, 283, 245, 207, 169, 131, 93, 55, 17, 281, 243, 205, 167, 129, 91, 53, 15, 279, 241, 203, 165, 127, 89, 51, 13, 276, 238, 200, 162, 124, 86, 48, 10, 274, 236, 198, 160, 122, 84, 46, 8, 271, 233, 195, 157, 119, 81, 43, 5, 269, 231, 193, 155, 117, 79, 41, 3, 267, 229, 191, 153, 115, 77, 39, 1);
}
}
}
function playCinematics() {
var v1 = 0;
var v3 = 0;
var v4 = cinematicScript.length;
var v2 = new Array();
if (v4 > 0) {
v1 = 0;
while (v1 < v4) {
v2 = cinematicScript[v1].split(' - c - ');
v3 = Number(v2[0]);
if (charAction[v3] == charDefaultAction[v3]) {
trace('script de personaje: ' + v2[1]);
cinematicScript.splice(v1, 1);
accionesSimples(v2[1]);
break;
}
++v1;
}
}
}
function initArea() {
var v4 = 0;
var v3 = 0;
var v2 = 0;
if (_parent.deletedArea != '') {
deletedArea = _parent.deletedArea.split(';');
}
v4 = deletedArea.length;
v3 = 0;
while (v3 < v4) {
v2 = 0;
while (v2 < _parent.area.length) {
if (_parent.area[v2][3] == deletedArea[v3]) {
_parent.area.splice(v2, 1);
break;
}
++v2;
}
++v3;
}
}
function checkArea() {
var v2 = 0;
var v3 = 0;
v2 = 0;
while (v2 < _parent.area.length) {
v3 = Math.pow(_parent.area[v2][0] - objectX[charIdIndex[charIndex]], 2) + Math.pow(_parent.area[v2][1] - objectY[charIdIndex[charIndex]], 2);
if (v3 < _parent.area[v2][2]) {
accionSimple(_parent.area[v2][3]);
deletedArea.push(_parent.area[v2][3]);
_parent.area.splice(v2, 1);
--v2;
}
++v2;
}
}
function iniciarCombateLM() {
var v1 = getCharId('Zalmerion');
objectSelect[charIdIndex[v1]] = 6;
objectTeam[charIdIndex[v1]] = 2;
charAI[v1] = 5;
crearObjeto('f-230c-', 1, objectX[charIdIndex[v1]], objectY[charIdIndex[v1]], 0, '..PLAY.1,2,3,4,4,5,5,6,6,7,7,8,8,9,10.DELETE');
v1 = getCharId('Lust');
teletransportarPJ(charIdIndex[v1], 301, 73);
crearObjeto('f-230c-', 1, 15050, 1837.5, 0, '..PLAY.1,2,3,4,4,5,5,6,6,7,7,8,8,9,10.DELETE');
v1 = getCharId('Envy');
teletransportarPJ(charIdIndex[v1], 307, 68);
crearObjeto('f-230c-', 1, 15350, 1712.5, 0, '..PLAY.1,2,3,4,4,5,5,6,6,7,7,8,8,9,10.DELETE');
}
function moverEnemigosUrnebbar() {
var v1 = getObjectId('Zalmerion');
var v2 = 0;
crearObjeto('f-230c-', 1, objectX[v1], objectY[v1], 0, '..PLAY.1,2,3,4,4,5,5,6,6,7,7,8,8,9,10.DELETE');
v1 = 0;
while (v1 < charIdIndex.length) {
if (objectDesc[charIdIndex[v1]] == 'Demon') {
if (v2 == 0) {
teletransportarPJ(charIdIndex[v1], 344, 29);
crearObjeto('f-230c-', 1, 17200, 737.5, 0, '..PLAY.1,2,3,4,4,5,5,6,6,7,7,8,8,9,10.DELETE');
}
if (v2 == 1) {
teletransportarPJ(charIdIndex[v1], 347, 32);
crearObjeto('f-230c-', 1, 17350, 812.5, 0, '..PLAY.1,2,3,4,4,5,5,6,6,7,7,8,8,9,10.DELETE');
break;
}
++v2;
}
++v1;
}
openDoors('f-78c-', -1);
openDoors('f-79c-', -1);
accionSimple('CAMBIARSCRIPT Zalmerion 3');
}
function ponerTodosHostiles(oDesc) {
var v1 = 0;
v1 = 0;
while (v1 < charIdIndex.length) {
if (objectDesc[charIdIndex[v1]] == oDesc) {
objectTeam[charIdIndex[v1]] = 2;
objectSelect[charIdIndex[v1]] = 6;
}
++v1;
}
}
function accionesSimples(argS) {
var v2 = new Array();
var v1 = 0;
v2 = argS.split(' - a - ');
v1 = 0;
while (v1 < v2.length) {
accionSimple(v2[v1]);
++v1;
}
}
function getCharId(oDesc) {
var v1 = 0;
var v2 = -1;
v1 = 0;
while (v1 < charIdIndex.length) {
if (objectDesc[charIdIndex[v1]] == oDesc) {
v2 = v1;
break;
}
++v1;
}
return v2;
}
function getObjectId(oDesc) {
var v1 = 0;
var v2 = -1;
v1 = 0;
while (v1 < charIdIndex.length) {
if (objectDesc[charIdIndex[v1]] == oDesc) {
v2 = charIdIndex[v1];
break;
}
++v1;
}
return v2;
}
function farmQuestStep1() {
var v3 = 0;
var v2 = 0;
var v1 = 0;
var v4 = new Array(29, 31, 27, 26, 28, 30, 32, 34, 25, 23);
var v6 = new Array(44, 44, 44, 42, 42, 42, 42, 47, 47, 46);
var v8 = minLX[2] * 200;
var v5 = maxLX[2] * 200 + 200;
var v7 = minLY[2] * 200;
var v9 = maxLY[2] * 200 + 200;
v3 = 0;
while (v3 < charIdIndex.length) {
v1 = charIdIndex[v3];
if (objectX[v1] > v8) {
if (objectX[v1] < v5) {
if (objectY[v1] > v7) {
if (objectY[v1] < v9) {
if (objectHP[v1] > 0) {
if (objectTeam[v1] == 0) {
teletransportarPJ(v1, v4[v2], v6[v2]);
objectTeam[v1] = 2;
objectSelect[v1] = 6;
++v2;
if (v2 >= v4.length) {
v2 = 0;
}
}
}
}
}
}
}
++v3;
}
}
function accionSimple(argS) {
var v2 = new Array();
var v6 = new Array();
var v4 = 0;
var v7 = 0;
var v5 = 0;
var v3 = 0;
v2 = argS.split(' ');
switch (v2[0]) {
case 'MSG':
v2.splice(0, 1);
_parent.mensajes.push(v2.join(' '));
break;
case 'SECRET':
_parent.mensajes.push('SECRET FOUND!');
break;
case 'UPDATEQUEST':
updateQuest(Number(v2[1]), Number(v2[2]));
break;
case 'TUTORIAL':
_parent.uigame_mc.closeTutorial();
if (_parent.gameDif != 2) {
trace('abrir tutorial ' + v2[1]);
if (v2[1] == '4') {
_parent.uigame_mc.attachMovie('tutorialStep4MC', 'tutorial4_mc', _parent.uigame_mc.getNextHighestDepth());
_parent.uigame_mc.tutorial4_mc._x = 420;
_parent.uigame_mc.tutorial4_mc._y = 9;
} else {
if (v2[1] == '7') {
_parent.uigame_mc.attachMovie('tutorialStep7MC', 'tutorial7_mc', _parent.uigame_mc.getNextHighestDepth());
_parent.uigame_mc.tutorial7_mc._x = 420;
_parent.uigame_mc.tutorial7_mc._y = 9;
} else {
if (v2[1] == '11') {
_parent.uigame_mc.attachMovie('tutorialStep11MC', 'tutorial11_mc', _parent.uigame_mc.getNextHighestDepth());
_parent.uigame_mc.tutorial11_mc._x = 420;
_parent.uigame_mc.tutorial11_mc._y = 9;
}
}
}
}
break;
case 'CLOSEDIALOG':
_parent.uigame_mc.closeDialog();
break;
case 'OPENDIALOG':
if (v2.length == 2) {
_parent.uigame_mc.openDialog(Number(v2[1]), -1);
} else {
if (v2.length == 3) {
_parent.uigame_mc.openDialog(Number(v2[1]), Number(v2[2]));
}
}
break;
case 'OPENDIALOGPJ':
v4 = getObjectId(v2[1]);
if (v4 != -1) {
_parent.uigame_mc.openDialog(v4, -1);
orientarPJ(getCharId(v2[1]));
}
break;
case 'PJHOSTIL':
v4 = getObjectId(v2[1]);
if (v4 != -1) {
objectTeam[v4] = 2;
objectSelect[v4] = 6;
}
break;
case 'CAMBIARSCRIPT':
v4 = getCharId(v2[1]);
if (v4 != -1) {
charAI[v4] = Number(v2[2]);
}
break;
case 'OPENTRADE':
currentLoot = Number(v2[1]);
_parent.uigame_mc.openTrading();
break;
case 'OPENENCHANT':
_parent.uigame_mc.openEnchant();
break;
case 'OPENBLACKSMITH':
_parent.uigame_mc.openBlacksmith();
break;
case 'FADE':
fadeIn();
break;
case 'NPCWAIT':
v4 = Number(v2[1]);
v7 = Number(v2[2]);
charActionArray[v4].splice(0, charActionArray[v4].length);
charAction[v4] = 'esperar3';
v6 = charAnimations[charClass[v4]][charDefaultAction[v4]].split(',');
v3 = 0;
v5 = 0;
while (v5 < v7) {
charActionArray[v4].push(v6[v3]);
++v3;
if (v3 >= v6.length) {
v3 = 0;
}
++v5;
}
break;
case 'RESETFRAME1':
objectpj_mc.object_mc.goTo(Number(v2[1]));
objectpj_mc.shadow_mc.goTo(Number(v2[1]));
break;
case 'RESETFRAME2':
objectpj2_mc.object_mc.goTo(Number(v2[1]));
objectpj2_mc.shadow_mc.goTo(Number(v2[1]));
break;
case 'FARMQUEST1':
trace('teletransportar enemigos');
farmQuestStep1();
break;
case 'FARMQUEST2':
unlockChests(0, objectCount);
_parent.mensajes.push('CHEST UNLOCKED');
}
}
function openDoors(dId, aId) {
var v1 = 0;
var v8 = true;
var v5 = minLX[aId] * 200;
var v3 = maxLX[aId] * 200 + 200;
var v4 = minLY[aId] * 200;
var v6 = maxLY[aId] * 200 + 200;
if (aId != -1) {
v1 = 0;
while (v1 < objectId.length) {
if (objectX[v1] > v5) {
if (objectX[v1] < v3) {
if (objectY[v1] > v4) {
if (objectY[v1] < v6) {
if (objectId[v1] == dId) {
if (objectSelect[v1] == 0) {
objectSelect[v1] = 4;
}
}
}
}
}
}
++v1;
}
} else {
v1 = 0;
while (v1 < objectId.length) {
if (objectId[v1] == dId) {
if (objectSelect[v1] == 0) {
objectSelect[v1] = 4;
}
}
++v1;
}
}
}
function updateQuest(questId, questState) {
var v2 = new Array();
if (questState > _parent.quesInv[questId] && _parent.quesInv[questId] != 1 || _parent.quesInv[questId] != 1 && questState == 1) {
_parent.quesInv[questId] = questState;
if (questId < 100 && questId != 5 && questId != 6) {
_parent.uigame_mc.addi_mc.updatedQ = questId;
_parent.uigame_mc.addi_mc.actualizar();
}
if (questId == 5 || questId == 6) {
_parent.mensajes.push('WORLD MAP UPDATED');
showMsg();
}
if (questId == 0) {
if (questState == 3) {
if (_parent.gameDif != 2) {
overUI = true;
reproducir = false;
_parent.uigame_mc.attachMovie('tutorialFastTravelBMC', 'fastt_mc', _parent.uigame_mc.getNextHighestDepth());
_parent.uigame_mc.fastt_mc._x = 215;
_parent.uigame_mc.fastt_mc._y = 130;
}
}
if (questState == 1) {
crearObjeto('f-229c-', 1, objectX[charIdIndex[charIndex]], objectY[charIdIndex[charIndex]], 0, '..PLAY.1,2,3,4,4,5,5,6,6,7,7,8,8,9,10.DELETE');
v2 = _parent.baseAbilities.split(',');
v2[0] = Number(v2[0]) + 10;
v2[1] = Number(v2[1]) + 10;
v2[2] = Number(v2[2]) + 10;
v2[9] = Number(v2[9]) + 25;
v2[10] = Number(v2[10]) + 25;
_parent.mensajes.push('YOU DRINK THE ELIXIR');
_parent.mensajes.push('= +10 vigor +10 dexterity +10 spirit +25 defense +25 resistance');
_parent.baseAbilities = v2.join(',');
_parent.actualizarAbilitiesVars();
if (_parent.gameDif == 1) {
if (_parent.uigame_mc.menu_mc == undefined) {
_parent.uigame_mc.attachMovie('tutorialStep13MC', 'tutorial13_mc', uigame_mc.getNextHighestDepth());
_parent.uigame_mc.tutorial13_mc._x = 420;
_parent.uigame_mc.tutorial13_mc._y = 9;
}
}
}
} else {
if (questId == 2) {
if (questState == 3) {
_parent.miscInv[0] += 2500;
_parent.mensajes.push('_+2500 gold_1');
_parent.sonido_mc.playFX('ORO');
_parent.mensajes.push('WORLD MAP UPDATED');
showMsg();
}
if (questState == 1) {
_parent.miscInv[0] += 2500;
_parent.mensajes.push('_+2500 gold_1');
_parent.sonido_mc.playFX('ORO');
showMsg();
}
} else {
if (questId == 3) {
if (questState == 2) {
_parent.miscInv[0] += 10000;
_parent.miscInv[1] += 5;
_parent.miscInv[2] += 5;
_parent.uigame_mc.updatePotions();
_parent.mensajes.push('_+10000 gold_1');
_parent.mensajes.push('_+5 potion_2');
_parent.mensajes.push('_+5 potion_3');
_parent.sonido_mc.playFX('ORO');
_parent.mensajes.push('WORLD MAP UPDATED');
showMsg();
}
if (questState == 5) {
openDoors('f-146c-', -1);
}
}
}
}
}
}
function updateActiveVarsZ2(auxO) {
var v3 = Math.floor(objectX[auxO] / avSize2);
var v2 = Math.floor(objectY[auxO] / avSize2);
activeVarsZ2[v2][v3].push(auxO);
}
function updateActiveObjs() {
var v3 = 0;
var v1 = 0;
var v33 = 0;
var v32 = 0;
var v30 = 0;
var v31 = 0;
var v29 = 0;
var v4 = 0;
var v2 = 0;
var v12 = 0;
var v13 = 0;
var v9 = 0;
var v10 = 0;
var v14 = charAnimations.human.run_speed * 15 * 2;
var v26 = coordenadaX - v14 * 0.5;
var v25 = coordenadaY - v14 * 0.5;
var v28 = coordenadaX + ANCHO + v14 * 0.5;
var v27 = coordenadaY + ALTO + v14 * 0.5;
var v22 = coordenadaX - v14;
var v21 = coordenadaY - v14;
var v20 = coordenadaX + ANCHO + v14;
var v19 = coordenadaY + ALTO + v14;
var v17 = v22 - 50;
var v16 = v21 - 25;
var v15 = v20;
var v18 = v19 + 150;
var v11 = new Array();
var v6 = 0;
var v8 = 0;
var v5 = 0;
var v7 = 0;
var v23 = coorXMax + ANCHO;
var v24 = coorYMax + ALTO;
activeObjs = new Array();
if (v26 < coorXMin) {
v26 = coorXMin;
}
if (v25 < coorYMin) {
v25 = coorYMin;
}
if (v28 > v23) {
v28 = v23;
}
if (v27 > v24) {
v27 = v24;
}
activeObjs[0] = 1;
v12 = Math.floor(v25 / avSize);
v9 = Math.floor(v26 / avSize);
v13 = Math.ceil(v27 / avSize);
v10 = Math.ceil(v28 / avSize);
v4 = v12;
while (v4 < v13) {
v2 = v9;
while (v2 < v10) {
fn = activeVarsZ[v4][v2].length;
v3 = 0;
while (v3 < fn) {
v1 = activeVarsZ[v4][v2][v3];
if (activeObjs[v1] != 1) {
activeObjs[v1] = 1;
if (objectId[v1] == 'f-32c-' || objectId[v1] == 'f-33c-' || objectId[v1] == 'f-34c-' || objectId[v1] == 'f-35c-' || objectId[v1] == 'f-36c-') {
v11.push(v1);
}
}
++v3;
}
++v2;
}
++v4;
}
activeFire = v11.join(',');
if (v22 < coorXMin) {
v22 = coorXMin;
v17 = v22;
}
if (v21 < coorYMin) {
v21 = coorYMin;
v16 = v21;
}
if (v20 > v23) {
v20 = v23;
v15 = v20;
}
if (v19 > v24) {
v19 = v24;
v18 = v19;
}
v12 = Math.floor(v21 / avSize2);
v9 = Math.floor(v22 / avSize2);
v13 = Math.ceil(v19 / avSize2);
v10 = Math.ceil(v20 / avSize2);
v4 = v12;
while (v4 < v13) {
v2 = v9;
while (v2 < v10) {
fn = activeVarsZ2[v4][v2].length;
if (fn > 0) {
v5 = v4 * avSize2;
v7 = v5 + avSize2;
v6 = v2 * avSize2;
v8 = v6 + avSize2;
v3 = 0;
while (v3 < fn) {
v1 = activeVarsZ2[v4][v2][v3];
if (objectX[v1] >= v6 && objectX[v1] < v8 && objectY[v1] >= v5 && objectY[v1] < v7 && activeObjs[v1] != 1) {
activeObjs[v1] = 1;
} else {
if (v3 == fn - 1) {
activeVarsZ2[v4][v2].pop();
} else {
activeVarsZ2[v4][v2][v3] = activeVarsZ2[v4][v2].pop();
--v3;
--fn;
}
}
++v3;
}
}
++v2;
}
++v4;
}
v1 = objectCount2;
while (v1 < objectId.length) {
if (objectX[v1] < v15) {
if (objectX[v1] > v17) {
if (objectY[v1] < v18) {
if (objectY[v1] > v16) {
activeObjs[v1] = 1;
}
}
}
}
++v1;
}
}
function updateActiveChrs() {
var v1 = 0;
activeChrs = new Array();
activeChrs.push(0);
v1 = 1;
while (v1 < charIdIndex.length) {
if (activeObjs[charIdIndex[v1]]) {
activeChrs.push(v1);
} else {
if (charDX[v1].length > 0) {
activeChrs.push(v1);
}
}
++v1;
}
}
function playProyectiles() {
var v1 = 0;
var v5 = ANCHO + 260 + coordenadaX;
var v4 = ALTO + 260 + coordenadaY;
var v3 = -260 + coordenadaX;
var v2 = -260 + coordenadaY;
v1 = 0;
while (v1 < proyectilId.length) {
if (playProyectil(v1, v3, v5, v2, v4)) {
--v1;
}
++v1;
}
}
function playProyectil(i, iniX, finX, iniY, finY) {
var v8 = proyectilAngle[i] * 180 / Math.PI;
var v7 = false;
var v17 = true;
var v14 = false;
var v15 = 2;
var v12 = 1;
var v9 = 0;
var v4 = 0;
var v3 = 0;
var v10 = 0;
var v5 = 0;
var v13 = 35;
var v6 = 0;
var v11 = 0;
var v16 = 0;
var v18 = false;
if (proyectilColis[i].length != 0) {
v17 = false;
objectFrame[proyectilId[i]] = proyectilColis[i].shift();
if (proyectilColis[i].length > 7) {
v4 = (proyectilColis[i].length - 7) * 1.5;
if (v4 > 9) {
v4 = 9;
}
objectX[proyectilId[i]] -= Math.cos(proyectilAngle[i]) * v4;
objectY[proyectilId[i]] += Math.sin(proyectilAngle[i]) * v4;
} else {
objectLayer[proyectilId[i]] = -1;
v4 = (8 - proyectilColis[i].length) * 1.2;
objectY[proyectilId[i]] += v4;
v4 = Math.cos(proyectilAngle[i]);
if (v4 > 0) {
objectX[proyectilId[i]] -= 0.5;
} else {
if (v4 < 0) {
objectX[proyectilId[i]] += 0.5;
}
}
if (proyectilColis[i].length < 3) {
objectFrame[proyectilId[i]] += 17;
}
}
if (proyectilColis[i].length == 0) {
v10 = proyectilId[i];
scriptType[v10] = 1;
scriptFrames[v10] = new Array();
scriptFrames[v10].push(objectFrame[proyectilId[i]]);
scriptAllFrames[v10] = scriptFrames[v10].join(',');
scriptActions[v10] = '';
v7 = true;
v14 = true;
}
} else {
if (proyectilType[i] == 'FOLLOWSCRIPT') {
if (proyectilAux[i].length > 0) {
switch (String(proyectilAux[i].shift())) {
case 'damage3x3':
v3 = 0;
while (v3 < activeChrs.length) {
v9 = Math.pow(objectX[charIdIndex[activeChrs[v3]]] - objectX[proyectilId[i]], 2) + Math.pow(objectY[charIdIndex[activeChrs[v3]]] - objectY[proyectilId[i]], 2);
if (v9 < 6100) {
if (proyectilPower[i] > 19 && proyectilPower[i] < 40) {
v5 = takeDamage(proyectilOwner[i], activeChrs[v3], proyectilDamage[i], proyectilAtt[i], 0, proyectilPre[i], Math.floor(((v8 + 112) % 360) / 45), proyectilPower[i]);
} else {
v5 = takeDamage(proyectilOwner[i], activeChrs[v3], proyectilDamage[i], proyectilAtt[i], 1, proyectilPre[i], Math.floor(((v8 + 112) % 360) / 45), proyectilPower[i]);
}
}
++v3;
}
if (proyectilPower[i] == 45 || proyectilPower[i] == 22) {
objectLayer[crearObjeto('f-240c-', 1, objectX[proyectilId[i]], objectY[proyectilId[i]], 0, '..PLAY.6,6,6,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,.DELETE')] = -1;
objectLayer[crearObjeto('f-240c-', 1, objectX[proyectilId[i]] + 16, objectY[proyectilId[i]] + 16, 0, '..PLAY.7,7,7,4,4,4,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7.DELETE')] = -1;
objectLayer[crearObjeto('f-240c-', 1, objectX[proyectilId[i]] - 16, objectY[proyectilId[i]] + 16, 0, '..PLAY.7,7,7,4,4,4,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7.DELETE')] = -1;
objectLayer[crearObjeto('f-240c-', 1, objectX[proyectilId[i]] + 16, objectY[proyectilId[i]] - 16, 0, '..PLAY.7,7,7,4,4,4,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7.DELETE')] = -1;
objectLayer[crearObjeto('f-240c-', 1, objectX[proyectilId[i]] - 16, objectY[proyectilId[i]] - 16, 0, '..PLAY.7,7,7,4,4,4,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7.DELETE')] = -1;
_parent.sonido_mc.playFX('GROUNDCRACK');
_parent.sonido_mc.playFX('GROUNDCRACK');
} else {
if (proyectilPower[i] == 54) {
_parent.sonido_mc.playFX('INCENDIARY');
}
}
break;
case 'damage5x5':
v3 = 0;
while (v3 < activeChrs.length) {
v9 = Math.pow(objectX[charIdIndex[activeChrs[v3]]] - objectX[proyectilId[i]], 2) + Math.pow(objectY[charIdIndex[activeChrs[v3]]] - objectY[proyectilId[i]], 2);
if (v9 < 15000) {
if (proyectilPower[i] > 19 && proyectilPower[i] < 40) {
v5 = takeDamage(proyectilOwner[i], activeChrs[v3], proyectilDamage[i], proyectilAtt[i], 0, proyectilPre[i], Math.floor(((v8 + 112) % 360) / 45), proyectilPower[i]);
} else {
v5 = takeDamage(proyectilOwner[i], activeChrs[v3], proyectilDamage[i], proyectilAtt[i], 1, proyectilPre[i], Math.floor(((v8 + 112) % 360) / 45), proyectilPower[i]);
}
}
++v3;
}
if (proyectilPower[i] == 34) {
_parent.sonido_mc.playFX('GROUNDCRACK');
}
}
} else {
v7 = true;
}
v17 = false;
}
}
if (proyectilPower[i] == 55) {
if (objectHP[charIdIndex[proyectilAux[i][3]]] < 1) {
proyectilAux[i][3] = -1;
}
if (proyectilAux[i][3] != -1) {
v10 = objectX[charIdIndex[proyectilAux[i][3]]] - objectX[proyectilId[i]];
v5 = objectY[charIdIndex[proyectilAux[i][3]]] - objectY[proyectilId[i]];
if (v10 == 0 && v5 == 0) {
v8 = 90;
} else {
v8 = Math.atan(-v5 / v10) * 180 / Math.PI;
}
if (v10 >= 0 && v5 < 0) {
v8 += 360;
} else {
if (v10 < 0) {
v8 += 180;
}
}
v8 = (v8 + 360) % 360;
if (!isNaN(Number(v8))) {
proyectilAngle[i] = v8 * Math.PI / 180;
objectFrame[proyectilId[i]] = Math.floor(((v8 + 11.25) % 360) / 22.5) + 1;
}
}
}
if (v17) {
v10 = 0;
while (v10 < v15) {
if (proyectilPower[i] != 1) {
if (proyectilPower[i] == 32) {
crearObjeto('f-239c-', 1, objectX[proyectilId[i]], objectY[proyectilId[i]], 0, '..PLAY.1,1,2,2,3,3,4,4.DELETE');
} else {
if (proyectilPower[i] == 33) {
if (proyectilVel[i] < 20) {
proyectilVel[i] += 0.01;
if (proyectilVel[i] > 0.1) {
proyectilVel[i] += 0.5;
}
}
} else {
if (proyectilPower[i] == 20) {
crearObjeto('f-249c-', 1, objectX[proyectilId[i]], objectY[proyectilId[i]], 0, '..PLAY.2,4.DELETE');
v6 = 0;
if (proyectilAux[i][5] == -1) {
v6 = -0.03;
} else {
if (proyectilAux[i][5] == 1) {
v6 = 0.03;
}
}
if (v6 != 0) {
if (proyectilAux[i][4] < 2) {
proyectilAngle[i] += v6;
} else {
if (proyectilAux[i][4] < 5) {
proyectilAngle[i] -= v6;
} else {
if (proyectilAux[i][4] < 8) {
proyectilAngle[i] += v6;
} else {
if (proyectilAux[i][4] < 11) {
proyectilAngle[i] -= v6;
}
}
}
}
}
proyectilVel[i] += 0.25;
}
}
}
}
objectX[proyectilId[i]] += Math.cos(proyectilAngle[i]) * proyectilVel[i] / v15;
objectY[proyectilId[i]] -= Math.sin(proyectilAngle[i]) * proyectilVel[i] / v15;
v6 = Math.floor(objectY[proyectilId[i]] / 25);
v11 = Math.floor((objectX[proyectilId[i]] + v13) / 50);
v16 = Math.floor(objectX[proyectilId[i]] / 50);
if (freeT[v6][v11] == 4) {
if (proyectilPower[i] == 1) {
v14 = true;
} else {
if (proyectilPower[i] == 53 || proyectilPower[i] == 55) {
v14 = true;
} else {
if (proyectilPower[i] == 26) {
v4 = crearProyectil('f-233c-', 1, '..PLAY.1,2,3,4,5,6,7,8.DELETE', proyectilOwner[i], proyectilAngle[i], proyectilDamage[i], proyectilAtt[i], proyectilPre[i], 0, proyectilPower[i], 'FOLLOWSCRIPT', ',,damage3x3');
objectX[v4] = objectX[proyectilId[i]];
objectY[v4] = objectY[proyectilId[i]];
v7 = true;
} else {
if (proyectilPower[i] == 54) {
objectLayer[crearObjeto('f-200c-', 1, objectX[proyectilId[i]], objectY[proyectilId[i]], 0, '..PLAY.1,2,3,4,5,5,4.DELETE')] = 10;
v4 = crearProyectil('f-233c-', 1, '..PLAY.1,2,3,4,5,6,7,8.DELETE', proyectilOwner[i], proyectilAngle[i], proyectilDamage[i] * v12, proyectilAtt[i], proyectilPre[i], 0, proyectilPower[i], 'FOLLOWSCRIPT', ',,damage3x3');
objectX[v4] = objectX[proyectilId[i]];
objectY[v4] = objectY[proyectilId[i]];
objectLayer[crearObjeto('f-251c-', 1, objectX[proyectilId[i]], objectY[proyectilId[i]], 0, '..PLAY.1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10.DELETE')] = -1;
v7 = true;
} else {
v7 = true;
}
}
}
}
break;
} else {
if (freeT[v6][v16] == 4) {
v13 = 0;
if (proyectilPower[i] == 1) {
v14 = true;
} else {
if (proyectilPower[i] == 53 || proyectilPower[i] == 55) {
v14 = true;
} else {
if (proyectilPower[i] == 26) {
v4 = crearProyectil('f-233c-', 1, '..PLAY.1,2,3,4,5,6,7,8.DELETE', proyectilOwner[i], proyectilAngle[i], proyectilDamage[i], proyectilAtt[i], proyectilPre[i], 0, proyectilPower[i], 'FOLLOWSCRIPT', ',,damage3x3');
objectX[v4] = objectX[proyectilId[i]];
objectY[v4] = objectY[proyectilId[i]];
v7 = true;
} else {
if (proyectilPower[i] == 54) {
objectLayer[crearObjeto('f-200c-', 1, objectX[proyectilId[i]], objectY[proyectilId[i]], 0, '..PLAY.1,2,3,4,5,5,4.DELETE')] = 10;
v4 = crearProyectil('f-233c-', 1, '..PLAY.1,2,3,4,5,6,7,8.DELETE', proyectilOwner[i], proyectilAngle[i], proyectilDamage[i] * v12, proyectilAtt[i], proyectilPre[i], 0, proyectilPower[i], 'FOLLOWSCRIPT', ',,damage3x3');
objectX[v4] = objectX[proyectilId[i]];
objectY[v4] = objectY[proyectilId[i]];
objectLayer[crearObjeto('f-251c-', 1, objectX[proyectilId[i]], objectY[proyectilId[i]], 0, '..PLAY.1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10.DELETE')] = -1;
v7 = true;
} else {
v7 = true;
}
}
}
}
break;
} else {
v3 = 0;
while (v3 < activeChrs.length) {
if (proyectilPower[i] != 1) {
if (proyectilPower[i] == 32 || proyectilPower[i] == 33 || proyectilPower[i] == 44 || proyectilPower[i] == 55) {
if (proyectilAux[i][0] != activeChrs[v3]) {
v9 = Math.pow(objectX[charIdIndex[activeChrs[v3]]] - objectX[proyectilId[i]], 2) + Math.pow(objectY[charIdIndex[activeChrs[v3]]] - objectY[proyectilId[i]], 2);
} else {
v9 = 50000;
}
} else {
v9 = Math.pow(objectX[charIdIndex[activeChrs[v3]]] - objectX[proyectilId[i]], 2) + Math.pow(objectY[charIdIndex[activeChrs[v3]]] - objectY[proyectilId[i]], 2);
}
} else {
v9 = Math.pow(objectX[charIdIndex[activeChrs[v3]]] - objectX[proyectilId[i]], 2) + Math.pow(objectY[charIdIndex[activeChrs[v3]]] - objectY[proyectilId[i]], 2);
}
if (v9 < 350) {
if (proyectilOwner[i] == 0) {
if (_parent.basePowers[52] > 0 && proyectilAux[i][4] < 3) {
if (proyectilPower[i] == 1 || proyectilPower[i] == 53 || proyectilPower[i] == 54 || proyectilPower[i] == 55) {
v12 = 1 + _parent.getMaxPowerEffect(52, _parent.basePowers[52], Number((_parent.totalAbilities.split(','))[11])) / 100;
}
}
}
if (proyectilPower[i] == 1) {
v5 = takeDamage(proyectilOwner[i], activeChrs[v3], proyectilDamage[i] * v12, proyectilAtt[i], 1, proyectilPre[i], Math.floor(((v8 + 112) % 360) / 45), proyectilPower[i]);
} else {
if (proyectilPower[i] == 26) {
if (objectTeam[charIdIndex[proyectilOwner[i]]] != objectTeam[charIdIndex[activeChrs[v3]]] && objectTeam[charIdIndex[activeChrs[v3]]] != 0) {
v5 = 1;
} else {
v5 = 0;
}
} else {
if (proyectilPower[i] > 19 && proyectilPower[i] < 40) {
v5 = takeDamage(proyectilOwner[i], activeChrs[v3], proyectilDamage[i], proyectilAtt[i], 0, proyectilPre[i], Math.floor(((v8 + 112) % 360) / 45), proyectilPower[i]);
} else {
v5 = takeDamage(proyectilOwner[i], activeChrs[v3], proyectilDamage[i] * v12, proyectilAtt[i], 1, proyectilPre[i], Math.floor(((v8 + 112) % 360) / 45), proyectilPower[i]);
}
}
}
if (v5 > 0) {
v6 = Math.floor(objectX[proyectilId[i]] / 50) * 50 + v13;
v11 = Math.floor(objectY[proyectilId[i]] / 25) * 25;
if (v8 > 90 && v8 < 270) {
if (objectX[proyectilId[i]] < v6) {
objectX[proyectilId[i]] = v6 + 1;
}
} else {
if (objectX[proyectilId[i]] > v6) {
objectX[proyectilId[i]] = v6 - 1;
}
}
if (v8 > 180) {
if (objectY[proyectilId[i]] > v11) {
objectY[proyectilId[i]] = v11 - 1;
}
} else {
if (objectY[proyectilId[i]] < v11) {
objectY[proyectilId[i]] = v11 + 1;
}
}
v7 = true;
if (proyectilPower[i] != 1) {
switch (proyectilPower[i]) {
case 26:
v4 = crearProyectil('f-233c-', 1, '..PLAY.1,2,3,4,5,6,7,8.DELETE', proyectilOwner[i], proyectilAngle[i], proyectilDamage[i], proyectilAtt[i], proyectilPre[i], 0, proyectilPower[i], 'FOLLOWSCRIPT', ',,damage3x3');
objectX[v4] = objectX[proyectilId[i]];
objectY[v4] = objectY[proyectilId[i]];
break;
case 54:
objectLayer[crearObjeto('f-200c-', 1, objectX[proyectilId[i]], objectY[proyectilId[i]], 0, '..PLAY.1,2,3,4,5,5,4.DELETE')] = 10;
v4 = crearProyectil('f-233c-', 1, '..PLAY.1,2,3,4,5,6,7,8.DELETE', proyectilOwner[i], proyectilAngle[i], proyectilDamage[i], proyectilAtt[i], proyectilPre[i], 0, proyectilPower[i], 'FOLLOWSCRIPT', ',,damage3x3');
objectX[v4] = objectX[proyectilId[i]];
objectY[v4] = objectY[proyectilId[i]];
objectLayer[crearObjeto('f-251c-', 1, objectX[proyectilId[i]], objectY[proyectilId[i]], 0, '..PLAY.1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10.DELETE')] = -1;
break;
case 32:
proyectilAux[i][0] = activeChrs[v3];
v7 = false;
break;
case 33:
proyectilAux[i][0] = activeChrs[v3];
v7 = false;
break;
case 44:
proyectilAux[i][0] = activeChrs[v3];
v7 = false;
break;
case 55:
if (proyectilAux[i][2] > 1) {
proyectilAux[i][0] = activeChrs[v3];
proyectilAux[i][1] = 4;
--proyectilAux[i][2];
proyectilAux[i][3] = -1;
v7 = false;
}
}
}
break;
}
}
++v3;
}
if (v7 || v14) {
break;
}
}
}
++v10;
}
}
if (objectX[proyectilId[i]] > finX || objectX[proyectilId[i]] < iniX || objectY[proyectilId[i]] > finY || objectY[proyectilId[i]] < iniY) {
proyectilType[i] = 'LEJANO';
v7 = true;
}
if (v14) {
if (v7 == false) {
if (Math.cos(proyectilAngle[i]) > 0) {
v10 = -4;
} else {
v10 = 4;
}
v5 = freeT[Math.floor((objectY[proyectilId[i]] + Math.sin(proyectilAngle[i]) * 31.5 + 43.2) / 25)][Math.floor((objectX[proyectilId[i]] - Math.cos(proyectilAngle[i]) * 31.5 + v10) / 50)];
v10 = objectFrame[proyectilId[i]];
if (v5 != 0 && v5 != 1) {
v5 = 1;
while (v5 < 6) {
v4 = (v10 + v5) % 17;
if (v4 == 0) {
v4 = 1;
}
proyectilColis[i].push(v4);
++v5;
}
v10 = (v10 + v5 - 1) % 17;
if (v10 == 0) {
v10 = 1;
}
}
v5 = 1;
while (v5 < 6) {
v4 = (v10 + v5) % 17;
if (v4 == 0) {
v4 = 1;
}
proyectilColis[i].push(v4);
proyectilColis[i].push(v4);
if (v5 > 2) {
proyectilColis[i].push(v4);
}
if (v5 > 4) {
proyectilColis[i].push(v4);
}
++v5;
}
}
}
if (proyectilType[i] != 'FOLLOWSCRIPT') {
++proyectilAux[i][4];
}
if (v7) {
if (!v14 && proyectilType[i] != 'FOLLOWSCRIPT') {
tablaBorrado2.push(proyectilId[i]);
} else {
if (proyectilType[i] != 'FOLLOWSCRIPT') {
tablaBorrado.push(proyectilId[i]);
}
}
v18 = true;
proyectilId.splice(i, 1);
proyectilAngle.splice(i, 1);
proyectilDamage.splice(i, 1);
proyectilTeam.splice(i, 1);
proyectilAtt.splice(i, 1);
proyectilPre.splice(i, 1);
proyectilVel.splice(i, 1);
proyectilOwner.splice(i, 1);
proyectilColis[i].splice(0, proyectilColis[i].length);
proyectilColis.splice(i, 1);
proyectilPower.splice(i, 1);
proyectilType.splice(i, 1);
proyectilAux[i].splice(0, proyectilAux[i].length);
proyectilAux.splice(i, 1);
return v18;
}
if (proyectilPower[i] == 55) {
if (proyectilAux[i][1] > 0) {
--proyectilAux[i][1];
}
if (proyectilAux[i][1] == 0) {
proyectilAux[i][0] = -1;
proyectilAux[i][1] = 10000;
v4 = Math.floor(activeChrs.length * Math.random());
v9 = 9999999;
v10 = 0;
while (v10 < activeChrs.length) {
v3 = (v10 + v4) % activeChrs.length;
if (objectTeam[charIdIndex[proyectilOwner[i]]] != objectTeam[charIdIndex[activeChrs[v3]]] && objectTeam[charIdIndex[activeChrs[v3]]] != 0) {
if (objectHP[charIdIndex[activeChrs[v3]]] > 0) {
v13 = Math.pow(objectX[charIdIndex[activeChrs[v3]]] - objectX[proyectilId[i]], 2) + Math.pow(objectY[charIdIndex[activeChrs[v3]]] - objectY[proyectilId[i]], 2);
if (v13 < v9) {
v9 = v13;
proyectilAux[i][3] = activeChrs[v3];
if (v9 < 25000) {
break;
}
}
}
}
++v10;
}
}
return v18;
}
if (proyectilPower[i] == 44) {
if (proyectilAux[i][4] % 2 == 0) {
_parent.sonido_mc.playFX('GROUNDCRACK');
objectLayer[crearObjeto('f-240c-', 1, objectX[proyectilId[i]], objectY[proyectilId[i]], 0, '..PLAY.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7.DELETE')] = -1;
}
return v18;
}
if (proyectilPower[i] == 20) {
objectLayer[crearObjeto('f-208c-', 1, objectX[proyectilId[i]], objectY[proyectilId[i]], 0, '..PLAY.1.DELETE')] = 10;
}
return v18;
}
function showMsg() {
var v3 = 0;
var v4 = 0;
var v6 = -1;
var v7 = _parent.mensajes.length;
var v2 = '';
var v5 = new Array();
if (v7 > 0) {
v3 = 0;
while (v3 < _parent.mensajes.length) {
v2 = _parent.mensajes[v3];
if (v2.charAt(0) == '_') {
v5 = v2.split('_');
v6 = -1;
v4 = 0;
while (v4 < 15) {
v2 = 'mens' + v4 + '_mc';
if (_parent.uigame_mc[v2] == undefined) {
v6 = v4;
break;
}
++v4;
}
if (v6 != -1) {
_parent.uigame_mc.attachMovie('mensajePequeMC', v2, _parent.uigame_mc.getNextHighestDepth());
_parent.uigame_mc[v2].texto = v5[1];
if (v5.length > 2) {
_parent.uigame_mc[v2].icono = Number(v5[2]);
} else {
_parent.uigame_mc[v2].icono = 5;
}
_parent.uigame_mc[v2].actualizar();
_parent.uigame_mc[v2]._x = 505;
if (v5[1] == 'game saved') {
_parent.uigame_mc[v2]._x = 513;
}
_parent.uigame_mc[v2]._y = 355 - v6 * 20;
_parent.mensajes.splice(v3, 1);
--v3;
}
} else {
if (v2.charAt(0) == '=') {
v5 = v2.split('=');
if (_parent.uigame_mc.mensajec_mc == undefined) {
_parent.uigame_mc.attachMovie('mensajeCentradoMC', 'mensajec_mc', _parent.uigame_mc.getNextHighestDepth());
_parent.uigame_mc.mensajec_mc.texto = v5[1];
_parent.mensajes.splice(v3, 1);
--v3;
}
} else {
if (_parent.uigame_mc.mensaje_mc == undefined) {
_parent.uigame_mc.attachMovie('mensajeMC', 'mensaje_mc', _parent.uigame_mc.getNextHighestDepth());
_parent.uigame_mc.mensaje_mc.texto = _parent.mensajes[v3];
_parent.mensajes.splice(v3, 1);
--v3;
}
}
}
++v3;
}
}
}
function showText(indO, auxs) {
var v2 = 'texto' + indO + '_mc';
if (_parent.uigame_mc[v2] == undefined) {
_parent.uigame_mc.attachMovie('textoMC', v2, _parent.uigame_mc.getNextHighestDepth());
_parent.uigame_mc[v2].texto = auxs;
_parent.uigame_mc[v2].obj = indO;
}
}
function aLaVista(ori_x, ori_y, des_x, des_y) {
var v6 = true;
var v5 = maxRuta;
var v8 = new Array();
var v7 = new Array();
var v9 = true;
while (v5 > 0) {
if (ori_x == des_x && ori_y == des_y) {
break;
}
if (des_x > ori_x) {
++ori_x;
} else {
if (des_x < ori_x) {
--ori_x;
}
}
if (des_y > ori_y) {
++ori_y;
} else {
if (des_y < ori_y) {
--ori_y;
}
}
if (freeT[ori_y][ori_x] == 4) {
v6 = false;
break;
}
--v5;
}
return v6;
}
function playAIscripts() {
var v10 = new Array();
var v7 = new Array();
var v2 = 0;
var v9 = 0;
var v3 = 0;
var v14 = 0;
var v4 = 0;
var v5 = 0;
var v18 = 6750;
var v16 = 41;
var v17 = 71;
var v21 = 280;
var v20 = 160;
var v13 = 300;
var v12 = 180;
var v15 = 0.25;
var v11 = 450000;
var v8 = false;
var v6 = new Array();
var v22 = 10;
var v19 = 0;
if (currentAI >= activeChrs.length) {
currentAI = 0;
}
v9 = 0;
while (v9 < activeChrs.length) {
if (objectTeam[charIdIndex[activeChrs[v9]]] == 1) {
if (objectHP[charIdIndex[activeChrs[v9]]] > 0) {
v10.push(activeChrs[v9]);
}
} else {
if (objectTeam[charIdIndex[activeChrs[v9]]] == 2) {
v7.push(activeChrs[v9]);
}
}
++v9;
}
if (v10.length == 0) {
v10.push(-1);
}
if (v7.length == 0) {
v7.push(-1);
}
v9 = currentAI;
while (v9 < activeChrs.length) {
v2 = activeChrs[v9];
++v19;
if (v19 > v22) {
break;
}
if (objectHP[charIdIndex[v2]] > 0) {
switch (charAI[v2]) {
case 1:
v3 = charIdIndex[v2];
if (charTarget[v2] == -1) {
if (objectTeam[v3] == 2) {
charTarget[v2] = v10[Math.floor(Math.random() * v10.length)];
v4 = objectX[charIdIndex[charTarget[v2]]] - objectX[v3];
v5 = objectY[charIdIndex[charTarget[v2]]] - objectY[v3];
if (charClass[v2] == 'zombie') {
v13 = 240;
v12 = 160;
}
if (Math.abs(v4) > v13 || Math.abs(v5) > v12) {
charTarget[v2] = -1;
}
} else {
if (objectTeam[v3] == 1) {
if (charDX[v2].length == 0 || Math.random() < 0.05) {
charTarget[v2] = v7[Math.floor(Math.random() * v7.length)];
d = Math.pow(objectX[charIdIndex[charTarget[v2]]] - objectX[v3], 2) + Math.pow(objectY[charIdIndex[charTarget[v2]]] - objectY[v3], 2);
if (d >= v11) {
charTarget[v2] = -1;
}
}
}
}
if (charTarget[v2] == -1) {
if (objectTeam[v3] == 2) {
if (fCounter % 15 == 0) {
if (charDX[v2].length == 0) {
if (Math.random() < v15) {
moverAleatoriamente(v2);
}
}
}
} else {
if (charGuard[v2] != '') {
if (charGuard[v2] != undefined) {
v6 = charGuard[v2].split(',');
if (_parent.uigame_mc.talk_mc == undefined) {
if (acercarPJ(v2, Number(v6[0]), Number(v6[1])) == '') {
charAngle[v2] = Number(v6[2]);
}
}
}
}
}
}
} else {
v8 = false;
if (charTarget[v2] < charTarget.length && objectTeam[charIdIndex[v2]] != objectTeam[charIdIndex[charTarget[v2]]]) {
d = Math.pow(objectX[charIdIndex[charTarget[v2]]] - objectX[v3], 2) + Math.pow(objectY[charIdIndex[charTarget[v2]]] - objectY[v3], 2);
if (d < v11) {
v8 = true;
} else {
charTarget[v2] = -1;
}
if (objectDesc[v3] == 'Isis') {
if (charGuard[v2] != '') {
if (d > v18) {
if (charTarget[v2] != -1) {
v6 = charGuard[v2].split(',');
v4 = Math.pow(Number(v6[0]) * 50 - objectX[v3], 2) + Math.pow(2 * (Number(v6[1]) * 25 - objectY[v3]), 2);
if (v4 > 150000) {
if (v4 > 250000) {
teletransportarPJ(v3, Number(v6[0]), Number(v6[1]));
} else {
v4 = Math.round();
if (v4 < 0.5) {
} else {
if (v4 < 0.7) {
moveCharacter(v2, Number(v6[0]), Number(v6[1]));
} else {
if (v4 < 0.9) {
acercarPJ(v2, Number(v6[0]), Number(v6[1]));
} else {
moverAleatoriamente(v2);
}
}
}
charTarget[v2] = -1;
v8 = false;
}
}
}
}
}
}
} else {
charTarget[v2] = -1;
}
if (v8) {
if (Math.abs(objectX[charIdIndex[charTarget[v2]]] - objectX[v3]) < v17 && Math.abs(objectY[charIdIndex[charTarget[v2]]] - objectY[v3]) < v16) {
if (charAction[v2] == charDefaultAction[v2]) {
charAction[v2] = 'attack';
v4 = objectX[charIdIndex[charTarget[v2]]] - objectX[v3];
v5 = objectY[charIdIndex[charTarget[v2]]] - objectY[v3];
if (v4 == 0 && v5 == 0) {
angulo = 0;
} else {
angulo = Math.atan(-v5 / v4) * 180 / Math.PI;
}
if (v4 >= 0 && v5 < 0) {
angulo += 360;
} else {
if (v4 < 0) {
angulo += 180;
}
}
charAngle[v2] = Math.floor(((angulo + 112.5) % 360) / 45);
}
} else {
if (charDX[v2].length < 2) {
if (acercarPJ(v2, objectX[charIdIndex[charTarget[v2]]] / 50, objectY[charIdIndex[charTarget[v2]]] / 25) == '') {
if (charDX[v2].length == 0) {
if (Math.random() > 0.2) {
if (moveCharacter(v2, objectX[charIdIndex[charTarget[v2]]] / 50, objectY[charIdIndex[charTarget[v2]]] / 25) == '') {
if (Math.random() > 0.75) {
charTarget[v2] = -1;
} else {
moverAleatoriamente(v2);
}
}
} else {
if (Math.random() > 0.5) {
moverAleatoriamente(v2);
} else {
charTarget[v2] = -1;
}
}
}
}
} else {
if (charAction[v2] == charDefaultAction[v2]) {
if (Math.random() > 0.5) {
moverAleatoriamente(v2);
} else {
if (objectX[charIdIndex[v2]] % 50 == 0 && objectY[charIdIndex[v2]] % 25 == 0) {
charDX[v2] = new Array();
charDY[v2] = new Array();
}
charTarget[v2] = -1;
}
}
}
}
} else {
charTarget[v2] = -1;
}
}
break;
case 2:
v3 = charIdIndex[v2];
if (charTarget[v2] == -1) {
if (objectTeam[v3] == 2) {
charTarget[v2] = v10[Math.floor(Math.random() * v10.length)];
v4 = objectX[charIdIndex[charTarget[v2]]] - objectX[v3];
v5 = objectY[charIdIndex[charTarget[v2]]] - objectY[v3];
if (Math.abs(v4) > v13 || Math.abs(v5) > v12) {
charTarget[v2] = -1;
} else {
if (!aLaVista(charPoX[v2], charPoY[v2], charPoX[charTarget[v2]], charPoY[charTarget[v2]])) {
charTarget[v2] = -1;
}
}
} else {
if (objectTeam[v3] == 1) {
charTarget[v2] = v7[Math.floor(Math.random() * v7.length)];
}
}
if (charTarget[v2] == -1) {
if (fCounter % 15 == 0) {
if (Math.random() < v15) {
if (charDX[v2].length == 0) {
moverAleatoriamente(v2);
}
}
}
}
} else {
v8 = false;
if (charTarget[v2] < charTarget.length && objectTeam[charIdIndex[v2]] != objectTeam[charIdIndex[charTarget[v2]]]) {
d = Math.pow(objectX[charIdIndex[charTarget[v2]]] - objectX[v3], 2) + Math.pow(objectY[charIdIndex[charTarget[v2]]] - objectY[v3], 2);
if (d < v11) {
if (!aLaVista(charPoX[v2], charPoY[v2], charPoX[charTarget[v2]], charPoY[charTarget[v2]])) {
charTarget[v2] = -1;
} else {
v8 = true;
}
} else {
charTarget[v2] = -1;
}
} else {
charTarget[v2] = -1;
}
if (v8) {
if (d <= v18 && Math.random() < 0.3) {
if (charDX[v2].length < 2) {
alejarPJ(v2, objectX[charIdIndex[charTarget[v2]]] / 50, objectY[charIdIndex[charTarget[v2]]] / 25, 1);
alejarPJ(v2, objectX[charIdIndex[charTarget[v2]]] / 50, objectY[charIdIndex[charTarget[v2]]] / 25, 0);
}
} else {
v4 = objectX[charIdIndex[charTarget[v2]]] - objectX[v3];
v5 = objectY[charIdIndex[charTarget[v2]]] - objectY[v3];
if (Math.abs(v4) > v21 || Math.abs(v5) > v20) {
if (charDX[v2].length < 2) {
if (acercarPJ(v2, objectX[charIdIndex[charTarget[v2]]] / 50, objectY[charIdIndex[charTarget[v2]]] / 25) == '') {
v14 = 1;
} else {
v14 = 0;
}
}
} else {
v14 = 1;
}
if (v14) {
if (charAction[v2] == charDefaultAction[v2]) {
if (v4 == 0 && v5 == 0) {
angulo = 0;
} else {
angulo = Math.atan(-v5 / v4) * 180 / Math.PI;
}
if (v4 >= 0 && v5 < 0) {
angulo += 360;
} else {
if (v4 < 0) {
angulo += 180;
}
}
charAngle[v2] = Math.floor(((angulo + 112.5) % 360) / 45);
charAction[v2] = 'ranged2';
charActionArray[v2] = charAnimations[charClass[v2]].rangeddelay.split(',');
charDirecP[v2] = (angulo + 360) % 360;
}
}
}
} else {
charTarget[v2] = -1;
}
}
break;
case 3:
if (charDX[v2].length < 2) {
if (acercarPJ(v2, 346, 30) == '') {
charAI[v2] = 4;
}
}
break;
case 4:
if (charDX[v2].length < 2) {
if (acercarPJ(v2, 354, 18) == '') {
charAI[v2] = 0;
freeO[charPoY[v2]][charPoX[v2]] = 0;
v3 = charIdIndex[v2];
objectX[v3] = 12500;
objectY[v3] = 4375;
charPoX[v2] = 250;
charPoY[v2] = 175;
updateActiveVarsZ2(v3);
charDX[v2].splice(0, charDX[v2].length);
charDY[v2].splice(0, charDY[v2].length);
}
}
break;
case 5:
v3 = charIdIndex[v2];
if (charTarget[v2] == -1) {
if (objectTeam[v3] == 2) {
charTarget[v2] = v10[Math.floor(Math.random() * v10.length)];
v4 = objectX[charIdIndex[charTarget[v2]]] - objectX[v3];
v5 = objectY[charIdIndex[charTarget[v2]]] - objectY[v3];
if (charClass[v2] == 'zombie') {
v13 = 240;
v12 = 160;
}
if (Math.abs(v4) > v13 || Math.abs(v5) > v12) {
charTarget[v2] = -1;
}
} else {
if (objectTeam[v3] == 1) {
charTarget[v2] = v7[Math.floor(Math.random() * v7.length)];
d = Math.pow(objectX[charIdIndex[charTarget[v2]]] - objectX[v3], 2) + Math.pow(objectY[charIdIndex[charTarget[v2]]] - objectY[v3], 2);
if (d >= v11) {
charTarget[v2] = -1;
}
}
}
if (charTarget[v2] == -1) {
if (objectTeam[v3] == 2) {
if (fCounter % 15 == 0) {
if (charDX[v2].length == 0) {
if (Math.random() < v15) {
moverAleatoriamente(v2);
}
}
}
} else {
if (charGuard[v2] != '') {
if (charGuard[v2] != undefined) {
v6 = charGuard[v2].split(',');
if (acercarPJ(v2, Number(v6[0]), Number(v6[1])) == '') {
charAngle[v2] = Number(v6[2]);
}
}
}
}
}
} else {
v8 = false;
if (charTarget[v2] < charTarget.length && objectTeam[charIdIndex[v2]] != objectTeam[charIdIndex[charTarget[v2]]]) {
d = Math.pow(objectX[charIdIndex[charTarget[v2]]] - objectX[v3], 2) + Math.pow(objectY[charIdIndex[charTarget[v2]]] - objectY[v3], 2);
if (d < v11) {
v8 = true;
} else {
charTarget[v2] = -1;
}
} else {
charTarget[v2] = -1;
}
if (v8) {
if (Math.abs(objectX[charIdIndex[charTarget[v2]]] - objectX[v3]) < v17 && Math.abs(objectY[charIdIndex[charTarget[v2]]] - objectY[v3]) < v16) {
if (charAction[v2] == charDefaultAction[v2]) {
charAction[v2] = 'attack';
v4 = objectX[charIdIndex[charTarget[v2]]] - objectX[v3];
v5 = objectY[charIdIndex[charTarget[v2]]] - objectY[v3];
if (v4 == 0 && v5 == 0) {
angulo = 0;
} else {
angulo = Math.atan(-v5 / v4) * 180 / Math.PI;
}
if (v4 >= 0 && v5 < 0) {
angulo += 360;
} else {
if (v4 < 0) {
angulo += 180;
}
}
charAngle[v2] = Math.floor(((angulo + 112.5) % 360) / 45);
}
} else {
if (charDX[v2].length < 2) {
if (acercarPJ(v2, objectX[charIdIndex[charTarget[v2]]] / 50, objectY[charIdIndex[charTarget[v2]]] / 25) == '') {
if (charDX[v2].length == 0) {
if (Math.random() > 0.2) {
if (moveCharacter(v2, objectX[charIdIndex[charTarget[v2]]] / 50, objectY[charIdIndex[charTarget[v2]]] / 25) == '') {
if (Math.random() > 0.75) {
charTarget[v2] = -1;
} else {
moverAleatoriamente(v2);
}
}
} else {
if (Math.random() > 0.5) {
moverAleatoriamente(v2);
} else {
charTarget[v2] = -1;
}
}
}
}
} else {
if (charAction[v2] == charDefaultAction[v2]) {
if (Math.random() > 0.5) {
moverAleatoriamente(v2);
} else {
if (objectX[charIdIndex[v2]] % 50 == 0 && objectY[charIdIndex[v2]] % 25 == 0) {
charDX[v2] = new Array();
charDY[v2] = new Array();
}
charTarget[v2] = -1;
}
}
}
}
} else {
charTarget[v2] = -1;
}
}
v3 = charIdIndex[v2];
if (objectHP[v3] < objectMaxHP[v3] * 0.66) {
if (objectHP[v3] > 0) {
v4 = Math.round(Math.random() * 3);
if (Math.random() < 0.5) {
v4 = -v4;
}
v5 = Math.round(Math.random() * 3);
if (Math.random() < 0.5) {
v5 = -v5;
}
teletransportarPJ(v3, Math.floor(objectX[v3] / 50) + v4, Math.floor(objectY[v3] / 25) + v5);
crearObjeto('f-230c-', 1, objectX[v3], objectY[v3 + 10], 0, '..PLAY.1,2,3,4,4,5,5,6,6,7,7,8,8,9,10.DELETE');
v4 = getCharId('Gluttony');
teletransportarPJ(charIdIndex[v4], Math.floor(objectX[v3] / 50), Math.floor(objectY[v3] / 25));
crearObjeto('f-230c-', 1, objectX[charIdIndex[v4]], objectY[charIdIndex[v4]] + 10, 0, '..PLAY.1,2,3,4,4,5,5,6,6,7,7,8,8,9,10.DELETE');
charAI[v4] = 7;
v4 = getCharId('Sloth');
teletransportarPJ(charIdIndex[v4], Math.floor(objectX[v3] / 50), Math.floor(objectY[v3] / 25));
crearObjeto('f-230c-', 1, objectX[charIdIndex[v4]], objectY[charIdIndex[v4]] + 10, 0, '..PLAY.1,2,3,4,4,5,5,6,6,7,7,8,8,9,10.DELETE');
charAI[v4] = 7;
charAI[v2] = 6;
}
}
break;
case 6:
v3 = charIdIndex[v2];
if (charTarget[v2] == -1) {
if (objectTeam[v3] == 2) {
charTarget[v2] = v10[Math.floor(Math.random() * v10.length)];
v4 = objectX[charIdIndex[charTarget[v2]]] - objectX[v3];
v5 = objectY[charIdIndex[charTarget[v2]]] - objectY[v3];
if (charClass[v2] == 'zombie') {
v13 = 240;
v12 = 160;
}
if (Math.abs(v4) > v13 || Math.abs(v5) > v12) {
charTarget[v2] = -1;
}
} else {
if (objectTeam[v3] == 1) {
charTarget[v2] = v7[Math.floor(Math.random() * v7.length)];
d = Math.pow(objectX[charIdIndex[charTarget[v2]]] - objectX[v3], 2) + Math.pow(objectY[charIdIndex[charTarget[v2]]] - objectY[v3], 2);
if (d >= v11) {
charTarget[v2] = -1;
}
}
}
if (charTarget[v2] == -1) {
if (objectTeam[v3] == 2) {
if (fCounter % 15 == 0) {
if (charDX[v2].length == 0) {
if (Math.random() < v15) {
moverAleatoriamente(v2);
}
}
}
} else {
if (charGuard[v2] != '') {
if (charGuard[v2] != undefined) {
v6 = charGuard[v2].split(',');
if (acercarPJ(v2, Number(v6[0]), Number(v6[1])) == '') {
charAngle[v2] = Number(v6[2]);
}
}
}
}
}
} else {
v8 = false;
if (charTarget[v2] < charTarget.length && objectTeam[charIdIndex[v2]] != objectTeam[charIdIndex[charTarget[v2]]]) {
d = Math.pow(objectX[charIdIndex[charTarget[v2]]] - objectX[v3], 2) + Math.pow(objectY[charIdIndex[charTarget[v2]]] - objectY[v3], 2);
if (d < v11) {
v8 = true;
} else {
charTarget[v2] = -1;
}
} else {
charTarget[v2] = -1;
}
if (v8) {
if (Math.abs(objectX[charIdIndex[charTarget[v2]]] - objectX[v3]) < v17 && Math.abs(objectY[charIdIndex[charTarget[v2]]] - objectY[v3]) < v16) {
if (charAction[v2] == charDefaultAction[v2]) {
charAction[v2] = 'attack';
v4 = objectX[charIdIndex[charTarget[v2]]] - objectX[v3];
v5 = objectY[charIdIndex[charTarget[v2]]] - objectY[v3];
if (v4 == 0 && v5 == 0) {
angulo = 0;
} else {
angulo = Math.atan(-v5 / v4) * 180 / Math.PI;
}
if (v4 >= 0 && v5 < 0) {
angulo += 360;
} else {
if (v4 < 0) {
angulo += 180;
}
}
charAngle[v2] = Math.floor(((angulo + 112.5) % 360) / 45);
}
} else {
if (charDX[v2].length < 2) {
if (acercarPJ(v2, objectX[charIdIndex[charTarget[v2]]] / 50, objectY[charIdIndex[charTarget[v2]]] / 25) == '') {
if (charDX[v2].length == 0) {
if (Math.random() > 0.2) {
if (moveCharacter(v2, objectX[charIdIndex[charTarget[v2]]] / 50, objectY[charIdIndex[charTarget[v2]]] / 25) == '') {
if (Math.random() > 0.75) {
charTarget[v2] = -1;
} else {
moverAleatoriamente(v2);
}
}
} else {
if (Math.random() > 0.5) {
moverAleatoriamente(v2);
} else {
charTarget[v2] = -1;
}
}
}
}
} else {
if (charAction[v2] == charDefaultAction[v2]) {
if (Math.random() > 0.5) {
moverAleatoriamente(v2);
} else {
if (objectX[charIdIndex[v2]] % 50 == 0 && objectY[charIdIndex[v2]] % 25 == 0) {
charDX[v2] = new Array();
charDY[v2] = new Array();
}
charTarget[v2] = -1;
}
}
}
}
} else {
charTarget[v2] = -1;
}
}
v3 = charIdIndex[v2];
if (objectHP[v3] < objectMaxHP[v3] * 0.33) {
if (objectHP[v3] > 0) {
v4 = Math.round(Math.random() * 3);
if (Math.random() < 0.5) {
v4 = -v4;
}
v5 = Math.round(Math.random() * 3);
if (Math.random() < 0.5) {
v5 = -v5;
}
teletransportarPJ(v3, Math.floor(objectX[v3] / 50) + v4, Math.floor(objectY[v3] / 25) + v5);
crearObjeto('f-230c-', 1, objectX[v3], objectY[v3 + 10], 0, '..PLAY.1,2,3,4,4,5,5,6,6,7,7,8,8,9,10.DELETE');
v4 = getCharId('Greed');
teletransportarPJ(charIdIndex[v4], Math.floor(objectX[v3] / 50), Math.floor(objectY[v3] / 25));
crearObjeto('f-230c-', 1, objectX[charIdIndex[v4]], objectY[charIdIndex[v4]] + 10, 0, '..PLAY.1,2,3,4,4,5,5,6,6,7,7,8,8,9,10.DELETE');
charAI[v4] = 7;
v4 = getCharId('Pride');
teletransportarPJ(charIdIndex[v4], Math.floor(objectX[v3] / 50), Math.floor(objectY[v3] / 25));
crearObjeto('f-230c-', 1, objectX[charIdIndex[v4]], objectY[charIdIndex[v4]] + 10, 0, '..PLAY.1,2,3,4,4,5,5,6,6,7,7,8,8,9,10.DELETE');
charAI[v4] = 7;
v4 = getCharId('Wrath');
teletransportarPJ(charIdIndex[v4], Math.floor(objectX[v3] / 50), Math.floor(objectY[v3] / 25));
crearObjeto('f-230c-', 1, objectX[charIdIndex[v4]], objectY[charIdIndex[v4]] + 10, 0, '..PLAY.1,2,3,4,4,5,5,6,6,7,7,8,8,9,10.DELETE');
charAI[v4] = 7;
charAI[v2] = 1;
}
}
break;
case 7:
moverAleatoriamente(v2);
charAI[v2] = 8;
break;
case 8:
moverAleatoriamente(v2);
charAI[v2] = 9;
break;
case 9:
moverAleatoriamente(v2);
charAI[v2] = 1;
}
}
++v9;
}
currentAI = v9;
if (servantIndex != -1) {
if (objectHP[charIdIndex[servantIndex]] <= 0 || objectId[charIdIndex[servantIndex]] == undefined) {
servantIndex = -1;
}
if (servantIndex != -1) {
v3 = charIdIndex[servantIndex];
if (charTarget[servantIndex] != -1) {
d = Math.pow(objectX[charIdIndex[charTarget[servantIndex]]] - objectX[charIdIndex[charIndex]], 2) + Math.pow(objectY[charIdIndex[charTarget[servantIndex]]] - objectY[charIdIndex[charIndex]], 2);
if (d > 75000) {
if (Math.abs(objectX[charIdIndex[charTarget[servantIndex]]] - objectX[v3]) < v17 && Math.abs(objectY[charIdIndex[charTarget[servantIndex]]] - objectY[v3]) < v16) {
} else {
charTarget[servantIndex] = -1;
}
}
}
d = Math.pow(objectX[charIdIndex[servantIndex]] - objectX[charIdIndex[charIndex]], 2) + Math.pow(objectY[charIdIndex[servantIndex]] - objectY[charIdIndex[charIndex]], 2);
if (d > 360000) {
charTarget[servantIndex] = -1;
v4 = Math.round((objectX[charIdIndex[servantIndex]] - objectX[charIdIndex[charIndex]]) / 50);
if (v4 < -7) {
v4 = -7;
} else {
if (v4 > 7) {
v4 = 7;
}
}
v5 = Math.round((objectY[charIdIndex[servantIndex]] - objectY[charIdIndex[charIndex]]) / 25);
if (v5 < -10) {
v5 = -10;
} else {
if (v5 > 10) {
v5 = 10;
}
}
teletransportarPJ(charIdIndex[servantIndex], Math.floor(objectX[charIdIndex[charIndex]] / 50) + v4, Math.floor(objectY[charIdIndex[charIndex]] / 25) + v5);
} else {
if (d > 90000) {
charTarget[servantIndex] = -1;
if (charDX[servantIndex].length < 2) {
acercarPJ(servantIndex, objectX[charIdIndex[charIndex]] / 50, objectY[charIdIndex[charIndex]] / 25);
}
} else {
if (d > 12500) {
if (charTarget[servantIndex] == -1) {
if (charDX[servantIndex].length < 2) {
acercarPJ(servantIndex, objectX[charIdIndex[charIndex]] / 50, objectY[charIdIndex[charIndex]] / 25);
}
}
}
}
}
if (charTarget[servantIndex] == -1) {
v4 = 1000000;
v2 = 0;
while (v2 < v7.length) {
d = Math.pow(objectX[charIdIndex[v7[v2]]] - objectX[charIdIndex[charIndex]], 2) + Math.pow(objectY[charIdIndex[v7[v2]]] - objectY[charIdIndex[charIndex]], 2);
if (d < 75000) {
if (d < v4) {
charTarget[servantIndex] = v7[v2];
v4 = d;
}
}
++v2;
}
}
}
}
}
function moverAleatoriamente(indC) {
var v4 = 0;
var v3 = 0;
var v5 = 0;
var v2 = 0;
if (objectX[charIdIndex[indC]] % 50 == 0 && objectY[charIdIndex[indC]] % 25 == 0) {
charDX[indC] = new Array();
charDY[indC] = new Array();
}
if (charDX[indC].length > 0) {
charDX[indC].splice(1, charDX[indC].length);
charDY[indC].splice(1, charDY[indC].length);
v4 = charDX[indC][0] / 50;
v3 = charDY[indC][0] / 25;
} else {
if (objectX[charIdIndex[indC]] % 50 == 0 && objectY[charIdIndex[indC]] % 25 == 0) {
v4 = Math.floor(objectX[charIdIndex[indC]] / 50);
v3 = Math.floor(objectY[charIdIndex[indC]] / 25);
} else {
v4 = charPoX[indC];
v3 = charPoY[indC];
charDX[indC].push(v4 * 50);
charDY[indC].push(v3 * 25);
}
}
v5 = v4;
v2 = v3;
if (Math.random() > 0.33) {
v4 += 5;
} else {
if (Math.random() > 0.5) {
v4 -= 5;
}
}
if (Math.random() > 0.33) {
v3 += 5;
} else {
if (Math.random() > 0.5) {
v3 -= 5;
}
}
if (v4 < 0) {
v4 = 0;
}
if (v3 < 0) {
v3 = 0;
}
if (v5 != v4 || v3 != v2) {
v5 = Math.round(Math.random() * 3) + 2;
v2 = 0;
while (v2 < v5) {
alejarPJ(indC, v4, v3, 0);
++v2;
}
}
}
function moveCharacter(indC, dX, dY) {
var v1 = 0;
var v4 = 0;
var v5 = new String('');
var v3 = new Array();
dX = Math.floor(dX);
dY = Math.floor(dY);
if (objectX[charIdIndex[indC]] % 50 == 0 && objectY[charIdIndex[indC]] % 25 == 0) {
charDX[indC] = new Array();
charDY[indC] = new Array();
}
if (charDX[indC].length > 0) {
charDX[indC].splice(1, charDX[indC].length);
charDY[indC].splice(1, charDY[indC].length);
v1 = charDX[indC][0] / 50;
v4 = charDY[indC][0] / 25;
} else {
if (objectX[charIdIndex[indC]] % 50 == 0 && objectY[charIdIndex[indC]] % 25 == 0) {
v1 = Math.floor(objectX[charIdIndex[indC]] / 50);
v4 = Math.floor(objectY[charIdIndex[indC]] / 25);
} else {
v1 = charPoX[indC];
v4 = charPoY[indC];
charDX[indC].push(v1 * 50);
charDY[indC].push(v4 * 25);
}
}
if (v1 != dX || v4 != dY) {
v5 = rutaRodear(v1, v4, dX, dY);
if (v5 != '') {
v3 = (v5.split(';'))[0].split(',');
v1 = 0;
while (v1 < v3.length) {
charDX[indC].push(Number(v3[v1]));
++v1;
}
v3 = (v5.split(';'))[1].split(',');
v1 = 0;
while (v1 < v3.length) {
charDY[indC].push(Number(v3[v1]));
++v1;
}
}
}
return v5;
}
function alejarPJ(indC, dX, dY, D) {
var v1 = 0;
var v4 = 0;
var v7 = new String('');
var v3 = new Array();
dX = Math.floor(dX);
dY = Math.floor(dY);
if (objectX[charIdIndex[indC]] % 50 == 0 && objectY[charIdIndex[indC]] % 25 == 0) {
if (D) {
charDX[indC] = new Array();
charDY[indC] = new Array();
}
}
if (charDX[indC].length > 0) {
charDX[indC].splice(1, charDX[indC].length);
charDY[indC].splice(1, charDY[indC].length);
v1 = charDX[indC][0] / 50;
v4 = charDY[indC][0] / 25;
} else {
if (objectX[charIdIndex[indC]] % 50 == 0 && objectY[charIdIndex[indC]] % 25 == 0) {
v1 = Math.floor(objectX[charIdIndex[indC]] / 50);
v4 = Math.floor(objectY[charIdIndex[indC]] / 25);
} else {
v1 = charPoX[indC];
v4 = charPoY[indC];
charDX[indC].push(v1 * 50);
charDY[indC].push(v4 * 25);
}
}
if (v1 != dX || v4 != dY) {
dX = 2 * v1 - dX;
dY = 2 * v4 - dY;
if (dX < 0) {
dX = 0;
}
if (dY < 0) {
dY = 0;
}
v7 = rutaAcercar(v1, v4, dX, dY);
if (v7 != '') {
v3 = (v7.split(';'))[0].split(',');
v1 = 0;
while (v1 < v3.length) {
charDX[indC].push(Number(v3[v1]));
++v1;
}
v3 = (v7.split(';'))[1].split(',');
v1 = 0;
while (v1 < v3.length) {
charDY[indC].push(Number(v3[v1]));
++v1;
}
}
}
}
function acercarPJPF(indC, dX, dY) {
var v1 = dX * 50;
var v5 = dY * 25;
var v8 = 0;
var v9 = 0;
var v10 = new String('');
var v4 = new Array();
var v3 = new Array();
if (!isNaN(dX)) {
if (!isNaN(dY)) {
dX = Math.floor(dX);
dY = Math.floor(dY);
if (objectX[charIdIndex[indC]] % 50 != 0 || objectY[charIdIndex[indC]] % 25 != 0) {
if (v1 > objectX[charIdIndex[indC]]) {
v8 = Math.ceil(objectX[charIdIndex[indC]] / 50);
} else {
v8 = Math.floor(objectX[charIdIndex[indC]] / 50);
}
if (v5 > objectY[charIdIndex[indC]]) {
v9 = Math.ceil(objectY[charIdIndex[indC]] / 25);
} else {
v9 = Math.floor(objectY[charIdIndex[indC]] / 25);
}
if (freeT[v9][v8] > 1 || freeO[v9][v8] > 1) {
if (charDX[indC].length > 0) {
charDX[indC].splice(1, charDX[indC].length);
charDY[indC].splice(1, charDY[indC].length);
v1 = Math.floor(charDX[indC][0] / 50);
v5 = Math.floor(charDY[indC][0] / 25);
} else {
charDX[indC].push(charPoX[indC] * 50);
charDY[indC].push(charPoY[indC] * 25);
v1 = charPoX[indC];
v5 = charPoY[indC];
}
} else {
charDX[indC] = new Array();
charDY[indC] = new Array();
charDX[indC].push(v8 * 50);
charDY[indC].push(v9 * 25);
v1 = v8;
v5 = v9;
}
} else {
v1 = Math.floor(objectX[charIdIndex[indC]] / 50);
v5 = Math.floor(objectY[charIdIndex[indC]] / 25);
}
if (v1 != dX || v5 != dY) {
v10 = rutaAcercarP(v1, v5, dX, dY);
if (v10 != '') {
v4 = (v10.split(';'))[0].split(',');
v3 = (v10.split(';'))[1].split(',');
if (Math.abs(v1 - dX) < 2 && Math.abs(v5 - dY) < 2) {
if (Number(v4[0]) == dX * 50 && Number(v3[0]) == dY * 25) {
v1 = 0;
while (v1 < v4.length) {
charDX[indC].push(Number(v4[v1]));
++v1;
}
v1 = 0;
while (v1 < v3.length) {
charDY[indC].push(Number(v3[v1]));
++v1;
}
} else {
v10 = '';
}
return v10;
}
v1 = 0;
while (v1 < v4.length) {
charDX[indC].push(Number(v4[v1]));
++v1;
}
v1 = 0;
while (v1 < v3.length) {
charDY[indC].push(Number(v3[v1]));
++v1;
}
}
}
}
}
return v10;
}
function rutaAcercarP(ori_x, ori_y, des_x, des_y) {
var v12 = '';
var v1 = new Array();
var v16 = new Array();
var v9 = new Array([[-1, 0, 0, -1], [-1, -1, -1, 1], [-1, 0, 0, 1]], [[-1, -1, 1, -1], [0, 0, 0, 0], [1, 1, -1, 1]], [[1, 0, 0, -1], [1, -1, 1, 1], [1, 0, 0, 1]]);
var v15 = new Array([[1, -1, -1, 1], [0, 1, 0, -1], [-1, -1, 1, 1]], [[-1, 0, 1, 0], [0, 0, 0, 0], [-1, 0, 1, 0]], [[-1, -1, 1, 1], [0, 1, 0, -1], [1, -1, -1, 1]]);
var v2 = new Array();
var v5 = new Array();
var v4 = 0;
var v3 = 0;
var v8 = ori_x;
var v7 = ori_y;
var v6 = charIndex + 1;
if (ori_x != des_x || ori_y != des_y) {
if (des_x > v8) {
++v4;
} else {
if (des_x < v8) {
--v4;
}
}
if (des_y > v7) {
++v3;
} else {
if (des_y < v7) {
--v3;
}
}
v8 += v4;
v7 += v3;
v1.push(new Array(v8, v7));
++v4;
++v3;
v1.push(new Array(v9[v4][v3][2] + ori_x, v9[v4][v3][3] + ori_y));
v1.push(new Array(v9[v4][v3][0] + ori_x, v9[v4][v3][1] + ori_y));
i = 0;
while (i < v1.length) {
ok = freeT[v1[i][1]][v1[i][0]] < 2 && (!freeO[v1[i][1]][v1[i][0]] || freeO[v1[i][1]][v1[i][0]] == v6);
if (ok) {
v2.push(v1[i][0] * 50);
v5.push(v1[i][1] * 25);
break;
}
++i;
}
}
if (v2.length > 0) {
v12 = v2.join(',') + ';' + v5.join(',');
}
return v12;
}
function acercarPJ(indC, dX, dY) {
var v1 = 0;
var v5 = 0;
var v6 = new String('');
var v4 = new Array();
var v3 = new Array();
var v9 = 0;
if (freeO[charPoY[indC]][charPoX[indC]] == indC + 1) {
freeO[charPoY[indC]][charPoX[indC]] = 0;
v9 = 1;
}
dX = Math.floor(dX);
dY = Math.floor(dY);
if (objectX[charIdIndex[indC]] % 50 == 0 && objectY[charIdIndex[indC]] % 25 == 0) {
charDX[indC] = new Array();
charDY[indC] = new Array();
}
if (charDX[indC].length > 0) {
charDX[indC].splice(1, charDX[indC].length);
charDY[indC].splice(1, charDY[indC].length);
v1 = charDX[indC][0] / 50;
v5 = charDY[indC][0] / 25;
} else {
if (objectX[charIdIndex[indC]] % 50 == 0 && objectY[charIdIndex[indC]] % 25 == 0) {
v1 = Math.floor(objectX[charIdIndex[indC]] / 50);
v5 = Math.floor(objectY[charIdIndex[indC]] / 25);
} else {
v1 = charPoX[indC];
v5 = charPoY[indC];
charDX[indC].push(v1 * 50);
charDY[indC].push(v5 * 25);
}
}
if (v1 != dX || v5 != dY) {
v6 = rutaAcercar(v1, v5, dX, dY);
if (v6 != '') {
v4 = (v6.split(';'))[0].split(',');
v3 = (v6.split(';'))[1].split(',');
if (Math.abs(v1 - dX) < 2 && Math.abs(v5 - dY) < 2) {
if (Number(v4[0]) == dX * 50 && Number(v3[0]) == dY * 25) {
v1 = 0;
while (v1 < v4.length) {
charDX[indC].push(Number(v4[v1]));
++v1;
}
v1 = 0;
while (v1 < v3.length) {
charDY[indC].push(Number(v3[v1]));
++v1;
}
} else {
v6 = '';
}
} else {
v1 = 0;
while (v1 < v4.length) {
charDX[indC].push(Number(v4[v1]));
++v1;
}
v1 = 0;
while (v1 < v3.length) {
charDY[indC].push(Number(v3[v1]));
++v1;
}
}
}
}
if (v9) {
freeO[charPoY[indC]][charPoX[indC]] = indC + 1;
}
return v6;
}
function rutaAcercar(ori_x, ori_y, des_x, des_y) {
var v15 = '';
var v1 = new Array();
var v4 = new Array();
var v14 = new Array([[-1, 0, 0, -1], [-1, -1, -1, 1], [-1, 0, 0, 1]], [[-1, -1, 1, -1], [0, 0, 0, 0], [1, 1, -1, 1]], [[1, 0, 0, -1], [1, -1, 1, 1], [1, 0, 0, 1]]);
var v13 = new Array([[1, -1, -1, 1], [0, 1, 0, -1], [-1, -1, 1, 1]], [[-1, 0, 1, 0], [0, 0, 0, 0], [-1, 0, 1, 0]], [[-1, -1, 1, 1], [0, 1, 0, -1], [1, -1, -1, 1]]);
var v7 = new Array();
var v8 = new Array();
var v10 = 0;
var v9 = 0;
var v3 = ori_x;
var v2 = ori_y;
if (ori_x != des_x || ori_y != des_y) {
if (des_x > v3) {
++v10;
} else {
if (des_x < v3) {
--v10;
}
}
if (des_y > v2) {
++v9;
} else {
if (des_y < v2) {
--v9;
}
}
v3 += v10;
v2 += v9;
v1.push(new Array(v3, v2));
++v10;
++v9;
v1.push(new Array(v14[v10][v9][2] + ori_x, v14[v10][v9][3] + ori_y));
v1.push(new Array(v14[v10][v9][0] + ori_x, v14[v10][v9][1] + ori_y));
i = 0;
while (i < v1.length) {
ok = freeT[v1[i][1]][v1[i][0]] < 2 && !freeO[v1[i][1]][v1[i][0]];
if (ok) {
v7.push(v1[i][0] * 50);
v8.push(v1[i][1] * 25);
break;
}
++i;
}
if (v7.length == 0) {
v1 = new Array();
v1.push(new Array(v13[v10][v9][0] + ori_x, v13[v10][v9][1] + ori_y));
v1.push(new Array(v13[v10][v9][2] + ori_x, v13[v10][v9][3] + ori_y));
v4.push(new Array(v13[v10][v9][0] * 2 + ori_x, v13[v10][v9][1] * 2 + ori_y));
v4.push(new Array(v13[v10][v9][2] * 2 + ori_x, v13[v10][v9][3] * 2 + ori_y));
i = 0;
while (i < v1.length) {
ok = freeT[v1[i][1]][v1[i][0]] < 2 && !freeO[v1[i][1]][v1[i][0]];
if (ok) {
v3 = v1[i][0];
v2 = v1[i][1];
if (des_x > v3) {
++v3;
} else {
if (des_x < v3) {
--v3;
}
}
if (des_y > v2) {
++v2;
} else {
if (des_y < v2) {
--v2;
}
}
if (v3 != ori_x || v2 != ori_y) {
ok = freeT[v2][v3] < 2 && !freeO[v2][v3];
} else {
ok = false;
}
if (ok) {
v7.push(v1[i][0] * 50);
v8.push(v1[i][1] * 25);
break;
} else {
ok = freeT[v4[i][1]][v4[i][0]] < 2 && !freeO[v4[i][1]][v4[i][0]];
if (ok) {
v3 = v4[i][0];
v2 = v4[i][1];
if (des_x > v3) {
++v3;
} else {
if (des_x < v3) {
--v3;
}
}
if (des_y > v2) {
++v2;
} else {
if (des_y < v2) {
--v2;
}
}
if (v3 != v1[i][0] || v2 != v1[i][1]) {
ok = freeT[v2][v3] < 2 && !freeO[v2][v3];
} else {
ok = false;
}
if (ok) {
v7.push(v1[i][0] * 50);
v8.push(v1[i][1] * 25);
break;
}
}
}
}
++i;
}
}
}
if (v7.length > 0) {
v15 = v7.join(',') + ';' + v8.join(',');
}
return v15;
}
function playObjectScripts() {
var v1 = 0;
var v6 = 0;
var v5 = 0;
var v4 = 0;
var v2 = new String('');
var v3;
for (v3 in activeObjs) {
v1 = Number(v3);
if (scriptType[v1] != -1) {
if (scriptType[v1] == 0 || scriptType[v1] == 1) {
if (scriptFrames[v1].length == 0) {
v2 = scriptActions[v1];
if (scriptType[v1] == 0) {
scriptFrames[v1] = scriptAllFrames[v1].split(',');
objectFrame[v1] = Number(scriptFrames[v1].shift());
} else {
scriptType[v1] = -1;
}
if (v2 != '') {
ejecutarAcciones(v1, v2);
}
} else {
objectFrame[v1] = Number(scriptFrames[v1].shift());
}
}
}
}
}
function orientarPJ(iP) {
var v4 = 0;
var v1 = objectX[charIdIndex[charIndex]] - objectX[charIdIndex[iP]];
var v3 = objectY[charIdIndex[charIndex]] - objectY[charIdIndex[iP]];
var v2 = 0;
if (v1 == 0 && v3 == 0) {
v1 = 1;
}
v2 = Math.atan(-v3 / v1) * 180 / Math.PI;
if (v1 >= 0 && v3 < 0) {
v2 += 360;
} else {
if (v1 < 0) {
v2 += 180;
}
}
v4 = Math.floor(((v2 + 112.5) % 360) / 45);
cambiarAnguloPJ(iP, v4);
}
function cambiarAnguloPJ(iP, nA) {
var v3 = Number((charAnimations[charClass[iP]][charDefaultAction[iP]].split(','))[0]) + charAnimations[charClass[iP]].total * nA;
if (_parent.cacheBitmap[objectId[charIdIndex[iP]]][v3] != undefined) {
charAngle[iP] = nA;
}
}
function recibirEvento(o, e) {
var v4 = new Array();
var v3 = 0;
var v5 = 0;
if (o != -1) {
if (objectSelect[o] >= 1) {
if (e == undefined) {
e = objectSelect[o];
}
trace('el objeto ' + o + ' recibe el evento ' + e);
if (e == 7) {
if (objectId[o] == 'f-173c-' || objectId[o] == 'f-174c-') {
} else {
v3 = 0;
while (v3 < activeChrs.length) {
v5 = activeChrs[v3];
if (charIdIndex[v5] == o) {
if (charAction[v5] == charDefaultAction[v5]) {
if (objectDesc[o] == 'Storekeeper' || objectDesc[o] == 'Innkeeper' || objectDesc[o] == 'Trader') {
currentLoot = o;
_parent.uigame_mc.openTrading();
} else {
orientarPJ(v5);
_parent.uigame_mc.openDialog(o, -1);
}
}
break;
}
++v3;
}
}
}
if (e == 2) {
if (objectId[o] == 'f-28c-' || objectId[o] == 'f-29c-' || objectId[o] == 'f-30c-' || objectId[o] == 'f-31c-') {
_parent.sonido_mc.playFX('OPENCHEST');
}
} else {
if (e == 3) {
if (objectId[o] == 'f-28c-' || objectId[o] == 'f-29c-' || objectId[o] == 'f-30c-' || objectId[o] == 'f-31c-') {
_parent.sonido_mc.playFX('CLOSECHEST');
}
}
}
if (e == 4) {
if (objectId[o] == 'f-78c-' || objectId[o] == 'f-79c-' || objectId[o] == 'f-146c-' || objectId[o] == 'f-147c-') {
_parent.sonido_mc.playFX('OPENGATE');
} else {
if (objectId[o] == 'f-67c-' || objectId[o] == 'f-71c-') {
_parent.sonido_mc.playFX('OPENBARS');
} else {
if (objectId[o] == 'f-117c-' || objectId[o] == 'f-156c-' || objectId[o] == 'f-157c-') {
if (objectId[o] == 'f-117c-') {
_parent.sonido_mc.playFX('SARCOFAGO');
}
} else {
_parent.sonido_mc.playFX('OPENDOOR');
}
}
}
} else {
if (e == 5) {
if (objectId[o] == 'f-78c-' || objectId[o] == 'f-79c-' || objectId[o] == 'f-146c-' || objectId[o] == 'f-147c-') {
_parent.sonido_mc.playFX('OPENGATE');
} else {
if (objectId[o] == 'f-67c-' || objectId[o] == 'f-71c-') {
_parent.sonido_mc.playFX('OPENBARS');
} else {
if (objectId[o] == 'f-117c-' || objectId[o] == 'f-156c-' || objectId[o] == 'f-157c-') {
} else {
_parent.sonido_mc.playFX('CLOSEDOOR');
}
}
}
}
}
if (objectScripts[o]) {
v3 = 0;
while (v3 < objectScripts[o].length) {
v4 = objectScripts[o][v3].split('.');
if (Number(v4[0]) == e) {
if (v4[2] == 'REPEAT') {
scriptType[o] = 0;
} else {
scriptType[o] = 1;
}
scriptFrames[o] = new Array();
scriptFrames[o] = v4[3].split(',');
scriptAllFrames[o] = v4[3];
scriptActions[o] = v4[4];
scriptObjectIndex[o] = o;
ejecutarAcciones(o, v4[1]);
break;
}
++v3;
}
}
if (e == 2) {
inicioSaqueo(o);
}
}
}
}
function ejecutarAcciones(o, act) {
var v11 = new Array();
var v8 = new Array();
var v9 = new Array();
var v10 = 0;
var v5 = 0;
var v3 = 0;
var v2 = 0;
var v13 = 0;
var v7 = 0;
var v6 = 0;
var v12 = false;
if (o != undefined && act != undefined) {
v11 = act.split(',');
v10 = 0;
while (v10 < v11.length) {
v8 = v11[v10].split(' ');
switch (v8[0]) {
case 'SELECT':
objectSelect[o] = Number(v8[1]);
break;
case 'OPENLOOT':
inicioSaqueo(o);
break;
case 'FREE':
v7 = Number((v8[1].split('/'))[0]) + Math.floor(objectX[o] / 50);
v6 = Number((v8[1].split('/'))[1]) + Math.floor(objectY[o] / 25);
freeT[v6][v7] = 0;
v9 = zone[v6][v7].split(';');
v5 = 1;
while (v5 < v9.length) {
if ((v9[v5].split(' '))[0] == 'TELEPORT') {
v2 = crearObjeto('f-190c-', 1, v7 * 50, v6 * 25, 0, '');
objectLayer[v2] = 0;
scriptType[v2] = 0;
scriptFrames[v2] = new Array(1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5);
scriptAllFrames[v2] = scriptFrames[v2].join(',');
scriptActions[v2] = '';
scriptObjectIndex[v2] = v2;
break;
}
++v5;
}
break;
case 'NOFREE':
v7 = Number((v8[1].split('/'))[0]) + Math.floor(objectX[o] / 50);
v6 = Number((v8[1].split('/'))[1]) + Math.floor(objectY[o] / 25);
if (isNaN(Number((v8[1].split('/'))[2]))) {
freeT[v6][v7] = 5;
} else {
freeT[v6][v7] = Number((v8[1].split('/'))[2]);
}
v9 = zone[v6][v7].split(';');
v3 = 0;
v5 = 1;
while (v5 < v9.length) {
if ((v9[v5].split(' '))[0] == 'TELEPORT') {
v3 = 1;
break;
}
++v5;
}
if (v3) {
v3 = objectCount;
while (v3 < objectId.length) {
if (objectId[v3] == 'f-190c-') {
if (objectX[v3] == v7 * 50 && objectY[v3] == v6 * 25) {
borrarObjeto(v3);
break;
}
}
++v3;
}
}
break;
case 'DELETE':
if (o >= objectCount) {
tablaBorrado2.push(o);
}
break;
case 'DELETEAFTER':
if (o >= objectCount) {
tablaBorrado.push(o);
}
break;
case 'LAYER':
objectLayer[o] = Number(v8[1]);
if (isNaN(Number(objectLayer[o]))) {
objectLayer[o] = 1;
}
trace('Profundidad de objeto cambiada a ' + objectLayer[o]);
break;
case 'TELEPORT':
v7 = Number((v8[1].split('/'))[0]);
v6 = Number((v8[1].split('/'))[1]);
if (_parent.lightL[_parent.currentMap][aZone] < 2) {
_parent.goBackToSurfaceX = objectX[o];
_parent.goBackToSurfaceY = objectY[o];
}
teletransportarPJ(o, v7, v6);
if (o == charIdIndex[charIndex]) {
if (servantIndex != -1) {
teletransportarPJ(charIdIndex[servantIndex], v7 + 1, v6 + 1);
activeObjs[charIdIndex[servantIndex]] = 1;
updateActiveChrs();
}
}
break;
case '':
}
++v10;
}
}
}
function teletransportarPJ(indO, cX, cY) {
var v6 = false;
var v2 = 0;
var v3 = 0;
var v9 = 0;
var v8 = 0;
v6 = (freeT[cY][cX] == 0 || freeT[cY][cX] == 1) && !freeO[cY][cX];
if (!v6) {
v3 = -1;
v2 = -1;
v6 = (freeT[cY + v3][cX + v2] == 0 || freeT[cY + v3][cX + v2] == 1) && !freeO[cY + v3][cX + v2];
if (!v6) {
v3 = -1;
v2 = 0;
v6 = (freeT[cY + v3][cX + v2] == 0 || freeT[cY + v3][cX + v2] == 1) && !freeO[cY + v3][cX + v2];
}
if (!v6) {
v3 = -1;
v2 = 1;
v6 = (freeT[cY + v3][cX + v2] == 0 || freeT[cY + v3][cX + v2] == 1) && !freeO[cY + v3][cX + v2];
}
if (!v6) {
v3 = 1;
v2 = 0;
v6 = (freeT[cY + v3][cX + v2] == 0 || freeT[cY + v3][cX + v2] == 1) && !freeO[cY + v3][cX + v2];
}
if (!v6) {
v3 = 1;
v2 = 1;
v6 = (freeT[cY + v3][cX + v2] == 0 || freeT[cY + v3][cX + v2] == 1) && !freeO[cY + v3][cX + v2];
}
if (!v6) {
v3 = 1;
v2 = -1;
v6 = (freeT[cY + v3][cX + v2] == 0 || freeT[cY + v3][cX + v2] == 1) && !freeO[cY + v3][cX + v2];
}
if (!v6) {
v3 = -2;
while (v3 < 3) {
v2 = -2;
while (v2 < 3) {
v6 = (freeT[cY + v3][cX + v2] == 0 || freeT[cY + v3][cX + v2] == 1) && !freeO[cY + v3][cX + v2];
if (v6) {
break;
}
++v2;
}
if (v6) {
break;
}
++v3;
}
}
if (!v6) {
v3 = -3;
while (v3 < 4) {
v2 = -3;
while (v2 < 4) {
v6 = (freeT[cY + v3][cX + v2] == 0 || freeT[cY + v3][cX + v2] == 1) && !freeO[cY + v3][cX + v2];
if (v6) {
break;
}
++v2;
}
if (v6) {
break;
}
++v3;
}
}
}
if (v6) {
cY += v3;
cX += v2;
}
if (v6) {
if (indO == charIdIndex[charIndex]) {
v9 = charPoX[0];
v8 = charPoY[0];
switch (charAngle[0]) {
case 0:
--v8;
break;
case 1:
--v9;
--v8;
break;
case 2:
--v9;
break;
case 3:
--v9;
++v8;
break;
case 4:
++v8;
break;
case 5:
++v9;
++v8;
break;
case 6:
++v9;
break;
case 7:
++v9;
--v8;
}
if (!freeO[v8][v9]) {
charPoX[0] = v9;
charPoY[0] = v8;
}
if (_parent.autoSave == 1) {
_parent.saveGame();
}
}
trace('Teletransportación con exito a coordenadas ' + cX + ',' + cY);
j = 0;
while (j < charIdIndex.length) {
if (charIdIndex[j] == indO) {
freeO[charPoY[j]][charPoX[j]] = 0;
if (freeO[Math.floor(objectY[indO] / 25)][Math.floor(objectX[indO] / 50)] == j + 1) {
freeO[Math.floor(objectY[indO] / 25)][Math.floor(objectX[indO] / 50)] = 0;
}
if (charDX[j].length > 0) {
charDX[j] = new Array();
charDY[j] = new Array();
}
charPoX[j] = cX;
charPoY[j] = cY;
charActionArray[j] = new Array();
if (charIndex == j) {
if (freeT[cY - 1][cX]) {
charAngle[j] = 0;
} else {
if (freeT[cY + 1][cX]) {
charAngle[j] = 4;
}
}
objetivo = new Array();
}
freeO[charPoY[j]][charPoX[j]] = j + 1;
break;
}
++j;
}
objectX[indO] = 50 * cX;
objectY[indO] = 25 * cY;
updateActiveVarsZ2(indO);
if (indO == charIdIndex[charIndex]) {
updateLimits();
updateActiveObjs();
updateActiveChrs();
fadeOut();
}
} else {
trace('No hay posicion libre para teletransportar ' + indO + ' a coordenadas ' + cX + ',' + cY);
}
}
function fadeOut() {
fade = true;
fadeO = 255;
fadeI = -5;
}
function fadeIn() {
fade = true;
fadeO = 0;
fadeI = 5;
}
function inicioSaqueo(obj) {
if (currentLoot != obj) {
finSaqueo();
currentLoot = obj;
_parent.uigame_mc.openLoot();
}
}
function finSaqueo() {
var v2 = 0;
if (currentLoot != -1) {
lastInteract = currentLoot;
overUI = false;
recibirEvento(currentLoot, 3);
v2 = Number(((objectId[currentLoot].split('c-'))[0].split('f-'))[1]);
if (v2 < 20) {
if (objectItems[currentLoot] == '') {
objectSelect[currentLoot] = 0;
if (v2 == 18) {
tablaBorrado2.push(currentLoot);
}
}
}
if (_parent.uigame_mc.textinfo_mc.ins == 'loot_mc') {
_parent.uigame_mc.ocultarInfo();
}
_parent.uigame_mc.closeLoot();
currentLoot = -1;
}
}
function playCharacterScripts() {
var v2 = 0;
var v22 = 0;
var v3 = 0;
var v4 = 0;
var v33 = 0;
var v34 = 0;
var v32 = 0;
var v35 = 0;
var v8 = 0;
var v7 = 0;
var v13 = 0;
var v5 = 0;
var v14 = 0;
var v10 = 0;
var v12 = 0;
var v6 = 0;
var v18 = 0;
var v11 = 0;
var v25 = 6750;
var v28 = new Array(1, 1, 3, 2, 2, 2, 4, 1);
var v9 = new Array();
var v17 = '';
var v15 = '';
var v19 = '';
var v21 = '';
var v20 = 0;
var v16 = 0;
var v29 = false;
var v31 = 0;
var v30 = 0;
var v27 = 0;
var v26 = 0;
var v24 = 0;
var v23 = 0;
v22 = 0;
while (v22 < activeChrs.length) {
v2 = activeChrs[v22];
v4 = charIdIndex[v2];
v27 = Math.floor(objectX[v4] / avSize2);
v26 = Math.floor(objectY[v4] / avSize2);
if (charAction[v2] == 'run' || charAction[v2] == 'walk') {
if (charDX[v2].length == 0) {
charActionArray[v2] = new Array();
}
}
if (charDX[v2].length > 0) {
freeO[charPoY[v2]][charPoX[v2]] = 0;
if (v2 == charIndex) {
if (freeO[Math.floor(charDY[v2][0] / 25)][Math.floor(charDX[v2][0] / 50)] == charIndex + 1) {
freeO[Math.floor(charDY[v2][0] / 25)][Math.floor(charDX[v2][0] / 50)] = 0;
}
}
if (freeO[Math.floor(charDY[v2][0] / 25)][Math.floor(charDX[v2][0] / 50)]) {
if (v2 == charIndex) {
if (objetivo.length == 2) {
charDX[v2] = new Array();
charDY[v2] = new Array();
}
}
if (charAction[v2] == 'run' || charAction[v2] == 'walk') {
charActionArray[v2] = new Array();
if (v2 != charIndex) {
charAction[v2] = 'esperar2';
} else {
charAction[v2] = charDefaultAction[v2];
}
charActionArray[v2] = charAnimations[charClass[v2]][charAction[v2]].split(',');
}
} else {
if (charAction[v2] == 'combat' || charAction[v2] == 'stand') {
charActionArray[v2] = new Array();
charAction[v2] = 'run';
if (charClass[v2] == 'human') {
if (v2 > 0) {
if (charTarget[v2] == -1) {
if (objectTeam[charIdIndex[v2]] == 2) {
charAction[v2] = 'walk';
}
}
}
}
}
}
if (charAction[v2] == 'run' || charAction[v2] == 'walk') {
v24 = charPoX[v2];
v23 = charPoY[v2];
charPoX[v2] = Math.floor(charDX[v2][0] / 50);
charPoY[v2] = Math.floor(charDY[v2][0] / 25);
v13 = charDX[v2][0] - objectX[v4];
v5 = charDY[v2][0] - objectY[v4];
if (v13 == 0 && v5 == 0) {
v13 = 1;
}
v11 = Math.atan(-v5 / v13) * 180 / Math.PI;
if (v13 >= 0 && v5 < 0) {
v11 += 360;
} else {
if (v13 < 0) {
v11 += 180;
}
}
v11 %= 360;
charAngle[v2] = Math.floor(((v11 + 112.5) % 360) / 45);
v11 = v11 * Math.PI / 180;
v5 = charAnimations[charClass[v2]].run_speed;
if (charClass[v2] == 'human') {
if (v2 != charIndex) {
--v5;
if (objectFrame[v4] % charAnimations[charClass[v2]].total == 1 || objectFrame[v4] % charAnimations[charClass[v2]].total == 6) {
if (objectFrame[v4] != Number(charActionArray[v2][0]) + charAnimations[charClass[v2]].total * charAngle[v2]) {
if (_parent.stepSounds > 1) {
_parent.sonido_mc.playFXV('STEP', 60);
}
}
}
} else {
if (objectFrame[v4] % charAnimations[charClass[v2]].total == 1 || objectFrame[v4] % charAnimations[charClass[v2]].total == 6) {
if (objectFrame[v4] != Number(charActionArray[v2][0]) + charAnimations[charClass[v2]].total * charAngle[v2]) {
if (_parent.stepSounds > 0) {
_parent.sonido_mc.playFX('STEP');
}
}
}
}
}
if (charAction[v2] == 'walk') {
v5 -= 3;
}
if (v2 != charIndex) {
if (_parent.gameDif == 2) {
++v5;
}
}
objectX[v4] += Math.cos(v11) * v5;
objectY[v4] -= Math.sin(v11) * v5;
if (v28[charAngle[v2]] == 1) {
if (objectY[v4] >= charDY[v2][0]) {
v5 = 1;
}
} else {
if (v28[charAngle[v2]] == 2) {
if (objectY[v4] <= charDY[v2][0]) {
v5 = 1;
}
} else {
if (charAngle[v2] == 2) {
if (objectX[v4] >= charDX[v2][0]) {
v5 = 1;
}
} else {
if (charAngle[v2] == 6) {
if (objectX[v4] <= charDX[v2][0]) {
v5 = 1;
}
} else {
v5 = 0;
}
}
}
}
if (v5 == 1) {
v7 = Math.sqrt(Math.pow(objectY[v4] - charDY[v2][0], 2) + Math.pow(objectX[v4] - charDX[v2][0], 2));
objectX[v4] = charDX[v2].shift();
objectY[v4] = charDY[v2].shift();
checkZone(charIdIndex[v2], objectX[v4] / 50, objectY[v4] / 25);
if (charIndex == v2) {
if (checkObjetivo(false)) {
v5 = 0;
charDX[v2] = new Array();
charDY[v2] = new Array();
}
checkArea();
if (_parent.uigame_mc.talk_mc != undefined) {
if (objectTeam[_parent.uigame_mc.talk_mc.indiceO] == 0) {
if (Math.pow(objectX[v4] - objectX[_parent.uigame_mc.talk_mc.indiceO], 2) + Math.pow(objectY[v4] - objectY[_parent.uigame_mc.talk_mc.indiceO], 2) > 62500) {
_parent.uigame_mc.closeDialog();
}
} else {
if (Math.pow(objectX[v4] - objectX[_parent.uigame_mc.talk_mc.indiceO], 2) + Math.pow(objectY[v4] - objectY[_parent.uigame_mc.talk_mc.indiceO], 2) > 2500) {
_parent.uigame_mc.closeDialog();
}
}
}
} else {
if (charTarget[v2] != -1) {
if (charAI[v2] == 1 || charAI[v2] == 5 || charAI[v2] == 6) {
if (objectHP[charIdIndex[charTarget[v2]]] > 0) {
if (Math.abs(objectX[charIdIndex[charTarget[v2]]] - objectX[charIdIndex[v2]]) < 60 && Math.abs(objectY[charIdIndex[charTarget[v2]]] - objectY[charIdIndex[v2]]) < 40) {
v5 = 0;
charDX[v2] = new Array();
charDY[v2] = new Array();
}
}
}
}
if (objectTeam[v4] == 1) {
if (_parent.uigame_mc.talk_mc != undefined) {
if (v4 == _parent.uigame_mc.talk_mc.indiceO) {
if (Math.pow(objectX[charIdIndex[charIndex]] - objectX[_parent.uigame_mc.talk_mc.indiceO], 2) + Math.pow(objectY[charIdIndex[charIndex]] - objectY[_parent.uigame_mc.talk_mc.indiceO], 2) > 2500) {
_parent.uigame_mc.closeDialog();
}
}
}
}
}
if (charDX[v2].length > 0) {
if (freeO[Math.floor(charDY[v2][0] / 25)][Math.floor(charDX[v2][0] / 50)]) {
charActionArray[v2] = new Array();
if (v2 != charIndex) {
charAction[v2] = 'esperar2';
} else {
charAction[v2] = charDefaultAction[v2];
}
charActionArray[v2] = charAnimations[charClass[v2]][charAction[v2]].split(',');
v5 = 0;
}
}
} else {
if (charIndex == v2) {
if (checkObjetivo(false)) {
v5 = 0;
charDX[v2] = new Array();
charDY[v2] = new Array();
}
}
}
if (v5 == 1) {
if (charDX[v2].length > 0) {
if (v7 > 0) {
if (freeO[Math.floor(charDY[v2][0] / 25)][Math.floor(charDX[v2][0] / 50)] == 0) {
charPoX[v2] = Math.floor(charDX[v2][0] / 50);
charPoY[v2] = Math.floor(charDY[v2][0] / 25);
v3 = objectFrame[v4] - charAnimations[charClass[v2]].total * charAngle[v2];
v13 = charDX[v2][0] - objectX[v4];
v5 = charDY[v2][0] - objectY[v4];
if (v13 == 0 && v5 == 0) {
v13 = 1;
}
v11 = Math.atan(-v5 / v13) * 180 / Math.PI;
if (v13 >= 0 && v5 < 0) {
v11 += 360;
} else {
if (v13 < 0) {
v11 += 180;
}
}
charAngle[v2] = Math.floor(((v11 + 112.5) % 360) / 45);
v11 = (v11 % 360) * Math.PI / 180;
objectX[v4] += Math.cos(v11) * v7;
objectY[v4] -= Math.sin(v11) * v7;
objectFrame[v4] = v3 + charAnimations[charClass[v2]].total * charAngle[v2];
}
}
}
}
if (charDX[v2].length > 0 && charActionArray[v2].length == 0) {
if (charAction[v2] == 'walk') {
if (charClass[v2] == 'human') {
if (v2 > 0) {
if (charTarget[v2] != -1) {
charAction[v2] = 'run';
}
}
}
}
charActionArray[v2] = charAnimations[charClass[v2]][charAction[v2]].split(',');
}
}
v24 = charPoX[v2];
v23 = charPoY[v2];
charPoX[v2] = Math.round(objectX[v4] / 50);
charPoY[v2] = Math.round(objectY[v4] / 25);
if (!freeO[charPoY[v2]][charPoX[v2]]) {
freeO[charPoY[v2]][charPoX[v2]] = v2 + 1;
} else {
charPoX[v2] = v24;
charPoY[v2] = v23;
if (!freeO[charPoY[v2]][charPoX[v2]]) {
freeO[charPoY[v2]][charPoX[v2]] = v2 + 1;
}
}
if (!freeO[charPoY[v2]][charPoX[v2]]) {
freeO[charPoY[v2]][charPoX[v2]] = v2 + 1;
}
}
if (charAction[v2] == 'esperar2') {
if (charActionArray[v2].length == 1) {
if (v2 != charIndex) {
if (charDX[v2].length > 0) {
if (Math.random() > 0.5) {
charDX[v2] = new Array();
charDY[v2] = new Array();
moverAleatoriamente(v2);
} else {
charAction[v2] = charDefaultAction[v2];
}
} else {
charAction[v2] = charDefaultAction[v2];
}
}
}
}
if (charAction[v2] == 'attack' || charAction[v2] == 'ranged' || charAction[v2] == 'die' || charAction[v2] == 'damage') {
if (charAction[v2] == 'die') {
freeO[charPoY[v2]][charPoX[v2]] = 0;
if (objetivo.length == 1) {
if (objetivo[0] == charIdIndex[v2]) {
objetivo.pop();
}
}
}
charActionArray[v2] = charAnimations[charClass[v2]][charAction[v2]].split(',');
charAction[v2] += '2';
if (v2 == charIndex) {
if (charAction[v2] == 'attack2') {
if (v2 == charIndex) {
_parent.sonido_mc.playFX('WEAPONSWING');
} else {
_parent.sonido_mc.playFXV('WEAPONSWING', 60);
}
}
}
}
if (charAction[v2] == 'knockback') {
v11 = ((charAngle[v2] + 6) % 8) * 45 * Math.PI / 180;
v8 = -Math.cos(v11) * 10;
v7 = Math.sin(v11) * 10;
v13 = objectX[v4] + v8;
v5 = objectY[v4] + v7;
v6 = Math.floor(v13 / 50);
v18 = Math.floor(v5 / 25);
freeO[charPoY[v2]][charPoX[v2]] = 0;
if (freeT[v18][v6] < 2 && !freeO[v18][v6]) {
objectX[v4] = v13;
objectY[v4] = v5;
charPoX[v2] = Math.floor(objectX[v4] / 50);
charPoY[v2] = Math.floor(objectY[v4] / 25);
}
freeO[charPoY[v2]][charPoX[v2]] = v2 + 1;
charTarget[v2] = -1;
}
if (charAction[v2] == 'power') {
if (powerIndex[v2][0] == 43) {
charActionArray[v2] = charAnimations[charClass[v2]].attack.split(',');
charAction[v2] = 'attack2';
if (v2 == charIndex) {
_parent.sonido_mc.playFX('WEAPONSWING');
} else {
_parent.sonido_mc.playFXV('WEAPONSWING', 60);
}
} else {
if (powerIndex[v2][0] < 50) {
charActionArray[v2] = charAnimations[charClass[v2]].attack.split(',');
charAction[v2] += '2';
if (powerIndex[v2][0] > 19 && powerIndex[v2][0] < 30) {
crearObjeto('f-229c-', 1, objectX[v4], objectY[v4], 0, '..PLAY.1,2,3,4,4,5,5,6,6,7,7,8,8,9,10.DELETE');
_parent.sonido_mc.playFX('MAGIC');
if (powerIndex[v2][0] == 21) {
_parent.sonido_mc.playFX('SOLARBREAK');
} else {
if (powerIndex[v2][0] == 22) {
_parent.sonido_mc.playFX('SCOURGEOFGOD');
}
}
} else {
if (powerIndex[v2][0] > 29 && powerIndex[v2][0] < 40) {
crearObjeto('f-230c-', 1, objectX[v4], objectY[v4], 0, '..PLAY.1,2,3,4,4,5,5,6,6,7,7,8,8,9,10.DELETE');
_parent.sonido_mc.playFX('MAGIC');
} else {
if (powerIndex[v2][0] > 39 && powerIndex[v2][0] < 50) {
_parent.sonido_mc.playFX('WEAPONSWING');
}
}
}
} else {
charActionArray[v2] = charAnimations[charClass[v2]].ranged.split(',');
charAction[v2] += '3';
}
}
}
if (charAction[v2] == 'attack2') {
if (Number(charActionArray[v2][0]) == charAnimations[charClass[v2]].attackdamage) {
v16 = 0;
charAction[v2] = 'continuar';
if (v2 == 0) {
v9 = _parent.totalAbilities.split(',');
v8 = Number(v9[7]);
v5 = Number(v9[5]);
v7 = Math.floor(Math.random() * (1 + Number((v9[14].split('-'))[1]) - Number((v9[14].split('-'))[0]))) + Number((v9[14].split('-'))[0]);
if (powerIndex[v2][0] == 43) {
v16 = 43;
crearEfectoGolpear(objectX[v4], objectY[v4], charAngle[v2]);
v6 = _parent.getMaxPowerEffect(powerIndex[v2][0], powerIndex[v2][1], 0) / 100;
if (v6 > 0) {
if (_parent.currentWeapon == 1) {
v9 = _parent.itemAbilities1.split(',');
} else {
v9 = _parent.itemAbilities2.split(',');
}
if (v9[14] != undefined && v9[14] != 0) {
v20 = Math.random() * (1 + Number((v9[14].split('-'))[1]) - Number((v9[14].split('-'))[0])) + Number((v9[14].split('-'))[0]);
v20 *= v6;
v7 += Math.floor(v20);
}
}
powerIndex[v2].splice(0, powerIndex[v2].length);
}
} else {
v3 = 0;
while (v3 < charAttack[v2].length) {
if (charAttack[v2][v3] == 'attack') {
v8 = charAttack[v2][v3 + 3];
v5 = charAttack[v2][v3 + 4];
v7 = Math.floor(Math.random() * (1 + charAttack[v2][v3 + 2] - charAttack[v2][v3 + 1])) + charAttack[v2][v3 + 1];
break;
}
v3 += 5;
}
}
if (v2 == charIndex) {
v3 = 1;
if (charTarget[v2] != -1) {
v13 = Math.pow(objectX[charIdIndex[charTarget[v2]]] - objectX[v4], 2) + Math.pow(objectY[charIdIndex[charTarget[v2]]] - objectY[v4], 2);
if (v13 < v25) {
if (objectHP[charIdIndex[charTarget[v2]]] > 0) {
v3 = 0;
takeDamage(v2, charTarget[v2], v7, v8, 1, v5, charAngle[v2], v16);
}
}
}
if (v3) {
v3 = -1;
v14 = 10000;
v10 = 10;
v12 = 0;
while (v12 < activeChrs.length) {
if (activeChrs[v12] != charIndex && objectHP[charIdIndex[activeChrs[v12]]] > 0 && objectTeam[charIdIndex[activeChrs[v12]]] == 2) {
v6 = objectX[charIdIndex[activeChrs[v12]]] - objectX[v4];
v18 = objectY[charIdIndex[activeChrs[v12]]] - objectY[v4];
v11 = Math.atan(-v18 / v6) * 180 / Math.PI;
if (v6 >= 0 && v18 < 0) {
v11 += 360;
} else {
if (v6 < 0) {
v11 += 180;
}
}
v13 = Math.pow(v6, 2) + Math.pow(v18, 2);
v11 = ((v11 + 90) % 360) / 45;
v11 = Math.abs(v11 - charAngle[v2]);
if (v11 <= 1) {
if (v13 <= v25) {
if (v11 < v10) {
v10 = v11;
v14 = v13;
v3 = activeChrs[v12];
}
}
}
}
++v12;
}
if (v3 != -1) {
takeDamage(v2, v3, v7, v8, 1, v5, charAngle[v2], v16);
}
}
} else {
v13 = Math.pow(objectX[charIdIndex[charTarget[v2]]] - objectX[v4], 2) + Math.pow(objectY[charIdIndex[charTarget[v2]]] - objectY[v4], 2);
if (charDX[charTarget[v2]].length > 0) {
if (v13 < 4500) {
takeDamage(v2, charTarget[v2], v7, v8, 1, v5, charAngle[v2], v16);
}
} else {
if (v13 < 6750) {
takeDamage(v2, charTarget[v2], v7, v8, 1, v5, charAngle[v2], v16);
}
}
}
}
}
if (charAction[v2] == 'ranged2') {
if (Number(charActionArray[v2][0]) == charAnimations[charClass[v2]].releasearrow) {
charAction[v2] = 'continuar';
if (v2 == 0) {
v9 = _parent.totalAbilities.split(',');
v7 = Math.floor(Math.random() * (1 + Number((v9[15].split('-'))[1]) - Number((v9[15].split('-'))[0]))) + Number((v9[15].split('-'))[0]);
crearProyectil('f-225c-', 1, '', v2, charDirecP[v2], v7, Number(v9[7]), Number(v9[5]), 22, 1, 'ARROW', '');
} else {
v7 = 1;
v8 = 1;
v5 = 1;
v3 = 0;
while (v3 < charAttack[v2].length) {
if (charAttack[v2][v3] == 'ranged') {
v8 = charAttack[v2][v3 + 3];
v5 = charAttack[v2][v3 + 4];
v7 = Math.floor(Math.random() * (1 + charAttack[v2][v3 + 2] - charAttack[v2][v3 + 1])) + charAttack[v2][v3 + 1];
break;
}
v3 += 5;
}
crearProyectil('f-225c-', 1, '', v2, charDirecP[v2], v7, v8, v5, 22, 1, 'ARROW', '');
}
}
}
if (charAction[v2] == 'power2') {
if (Number(charActionArray[v2][0]) == charAnimations[charClass[v2]].attackdamage) {
v8 = 0;
v10 = 14;
v14 = -100;
v12 = -100;
v17 = 'f-225c-';
v15 = '';
v19 = 'ARROW';
v21 = '';
v6 = 0;
v16 = 20;
switch (powerIndex[v2][0]) {
case 23:
if (objectTeam[charIdIndex[charTarget[v2]]] == objectTeam[v4]) {
_parent.activePowers[powerIndex[v2][0] + 'x' + charTarget[v2]] = new Array(2 * _parent.FrameRate, _parent.getMaxPowerEffect(powerIndex[v2][0], powerIndex[v2][1], 0) / _parent.FrameRate * 2, charTarget[v2], v2);
} else {
_parent.activePowers[powerIndex[v2][0] + 'x' + 0] = new Array(2 * _parent.FrameRate, _parent.getMaxPowerEffect(powerIndex[v2][0], powerIndex[v2][1], 0) / _parent.FrameRate * 2, v2, v2);
}
_parent.uigame_mc.addi_mc.actualizar();
_parent.addPowerXP(50 * _parent.basePowers[powerIndex[v2][0]], powerIndex[v2][0], 0);
break;
case 24:
_parent.activePowers[powerIndex[v2][0]] = new Array(90 * _parent.FrameRate, powerIndex[v2][1]);
_parent.updateTotalAbilities();
_parent.uigame_mc.addi_mc.actualizar();
_parent.addPowerXP(50 * _parent.basePowers[powerIndex[v2][0]], powerIndex[v2][0], 0);
break;
case 25:
_parent.activePowers[powerIndex[v2][0]] = new Array(90 * _parent.FrameRate, powerIndex[v2][1]);
_parent.updateTotalAbilities();
_parent.uigame_mc.addi_mc.actualizar();
_parent.addPowerXP(50 * _parent.basePowers[powerIndex[v2][0]], powerIndex[v2][0], 0);
break;
case 35:
_parent.activePowers[powerIndex[v2][0]] = new Array(90 * _parent.FrameRate, powerIndex[v2][1]);
_parent.updateTotalAbilities();
_parent.uigame_mc.addi_mc.actualizar();
_parent.addPowerXP(50 * _parent.basePowers[powerIndex[v2][0]], powerIndex[v2][0], 0);
break;
case 20:
v17 = 'f-231c-';
v15 = '..REPEAT.1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10';
v8 = 1;
v10 = 16;
v16 = 9;
objectLayer[crearObjeto('f-208c-', 1, objectX[charIdIndex[v2]], objectY[charIdIndex[v2]], 0, '..PLAY.1.DELETE')] = 10;
break;
case 21:
v17 = 'f-233c-';
v15 = '..PLAY.1,2,3,4,5,6,7,8.DELETE';
v19 = 'FOLLOWSCRIPT';
v21 = ',,damage3x3';
v14 = objectX[v4];
v12 = objectY[v4];
v8 = 1;
v10 = 16;
objectLayer[crearObjeto('f-252c-', 1, v14, v12, 0, '..PLAY.1,2,3,4,5,6,7,8.DELETE')] = 50;
objectLayer[crearObjeto('f-200c-', 1, v14, v12, 0, '..PLAY.1,2,3,4,5,5,4.DELETE')] = 10;
break;
case 22:
v17 = 'f-234c-';
v15 = '..PLAY.1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10.DELETE';
v19 = 'FOLLOWSCRIPT';
v21 = ',,damage3x3';
v14 = powerIndex[v2][2];
v12 = powerIndex[v2][3];
v8 = 1;
v10 = 16;
objectLayer[crearObjeto('f-207c-', 1, v14, v12, 0, '..PLAY.1,1,1,1,1,1,1,1,1,1,1,1.DELETE')] = 10;
break;
case 26:
v17 = 'f-232c-';
v15 = '..REPEAT.1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10';
v16 = 12;
v8 = 1;
v10 = 16;
break;
case 32:
v17 = 'f-238c-';
v8 = 1;
v16 = 18;
v10 = 16;
break;
case 33:
v17 = 'f-235c-';
v15 = '..PLAY.11,11,10,10,9,9,8,8,7,7,6,6,12,12,1.';
v16 = 0;
v14 = powerIndex[v2][2];
v12 = powerIndex[v2][3];
v8 = 1;
v10 = 16;
break;
case 34:
v17 = 'f-237c-';
v15 = '..PLAY.1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,14,14,15,15,16,16.DELETE';
v19 = 'FOLLOWSCRIPT';
v21 = ',,,,,,,,damage5x5';
_parent.sonido_mc.playFX('GROUNDCRACK');
v14 = powerIndex[v2][2];
v12 = powerIndex[v2][3];
v8 = 1;
v10 = 16;
break;
case 44:
crearEfectoGolpear(objectX[v4], objectY[v4], charAngle[v2]);
v17 = 'f-19c-';
v15 = '';
v6 = _parent.getMaxPowerEffect(powerIndex[v2][0], powerIndex[v2][1], 0) / 100;
v8 = 1;
v16 = 30;
break;
case 45:
v17 = 'f-250c-';
v15 = '..PLAY.1,1,2,2,3,3,4,4,5,5,6,6,7,7.DELETE';
v19 = 'FOLLOWSCRIPT';
v21 = ',,,,damage3x3';
v14 = objectX[v4] + Math.cos(charDirecP[v2] * Math.PI / 180) * 50;
v12 = objectY[v4] - Math.sin(charDirecP[v2] * Math.PI / 180) * 25;
v6 = _parent.getMaxPowerEffect(powerIndex[v2][0], powerIndex[v2][1], 0) / 100;
crearEfectoGolpear(objectX[v4], objectY[v4], charAngle[v2]);
v8 = 1;
}
if (v8) {
if (v2 == charIndex) {
v9 = _parent.totalAbilities.split(',');
v7 = Math.floor(Math.random() * (1 + Number((v9[v10].split('-'))[1]) - Number((v9[v10].split('-'))[0]))) + Number((v9[v10].split('-'))[0]);
v8 = Number(v9[7]);
v5 = Number(v9[5]);
if (v10 == 16) {
v8 = Number(v9[8]);
}
if (v6 > 0) {
if (_parent.currentWeapon == 1) {
v9 = _parent.itemAbilities1.split(',');
} else {
v9 = _parent.itemAbilities2.split(',');
}
if (v9[14] != undefined && v9[14] != 0) {
v20 = Math.random() * (1 + Number((v9[14].split('-'))[1]) - Number((v9[14].split('-'))[0])) + Number((v9[14].split('-'))[0]);
v20 *= v6;
v7 += Math.floor(v20);
}
}
} else {
v7 = 1;
v8 = 1;
v5 = 1;
v3 = 0;
while (v3 < charAttack[v2].length) {
if (charAttack[v2][v3] == 'spell') {
v8 = charAttack[v2][v3 + 3];
v5 = charAttack[v2][v3 + 4];
v7 = Math.floor(Math.random() * (1 + charAttack[v2][v3 + 2] - charAttack[v2][v3 + 1])) + charAttack[v2][v3 + 1];
break;
}
v3 += 5;
}
}
if (powerIndex[v2][0] == 20) {
v7 = Math.round(v7 / 3);
v14 = Math.sin(charDirecP[v2] * Math.PI / 180);
v12 = Math.cos(charDirecP[v2] * Math.PI / 180);
v6 = crearProyectil(v17, 1, v15, v2, charDirecP[v2], v7, v8, v5, v16, powerIndex[v2][0], v19, '0,0,0,0,0,1');
objectX[v6] -= 10 * v14;
objectY[v6] -= 10 * v12;
v6 = crearProyectil(v17, 1, v15, v2, charDirecP[v2], v7, v8, v5, v16, powerIndex[v2][0], v19, '0,0,0,0,0,-1');
objectX[v6] += 10 * v14;
objectY[v6] += 10 * v12;
v14 = -100;
v12 = -100;
}
if (powerIndex[v2][0] == 33) {
v7 = Math.round(v7 / 5);
v6 = crearProyectil(v17, 11, v15, v2, 270, v7, v8, v5, v16, powerIndex[v2][0], v19, v21);
} else {
v6 = crearProyectil(v17, 1, v15, v2, charDirecP[v2], v7, v8, v5, v16, powerIndex[v2][0], v19, v21);
}
if (v14 != -100) {
if (v12 != -100) {
objectX[v6] = v14;
objectY[v6] = v12;
if (powerIndex[v2][0] == 33) {
objectY[v6] = v12 - 100;
v15 = '..PLAY.11,11,10,10,9,9,8,8,7,7,6,6,13,13,2.';
v6 = crearProyectil(v17, 11, v15, v2, 198, v7, v8, v5, v16, powerIndex[v2][0], v19, v21);
objectX[v6] = v14 + 95;
objectY[v6] = v12 - 30;
v15 = '..PLAY.11,11,10,10,9,9,8,8,7,7,6,6,14,14,3.';
v6 = crearProyectil(v17, 11, v15, v2, 126, v7, v8, v5, v16, powerIndex[v2][0], v19, v21);
objectX[v6] = v14 + 58;
objectY[v6] = v12 + 80;
v15 = '..PLAY.11,11,10,10,9,9,8,8,7,7,6,6,15,15,4.';
v6 = crearProyectil(v17, 11, v15, v2, 54, v7, v8, v5, v16, powerIndex[v2][0], v19, v21);
objectX[v6] = v14 - 58;
objectY[v6] = v12 + 80;
v15 = '..PLAY.11,11,10,10,9,9,8,8,7,7,6,6,16,16,5.';
v6 = crearProyectil(v17, 11, v15, v2, 342, v7, v8, v5, v16, powerIndex[v2][0], v19, v21);
objectX[v6] = v14 - 95;
objectY[v6] = v12 - 30;
}
}
}
if (powerIndex[v2][0] == 34) {
objectLayer[v6] = -1;
} else {
if (powerIndex[v2][0] == 21) {
objectLayer[v6] = -1;
}
}
}
powerIndex[v2].splice(0, powerIndex[v2].length);
charAction[v2] = 'continuar';
}
}
if (charAction[v2] == 'power3') {
if (Number(charActionArray[v2][0]) == charAnimations[charClass[v2]].releasearrow) {
if (v2 == 0) {
v9 = _parent.totalAbilities.split(',');
v7 = Math.floor(Math.random() * (1 + Number((v9[15].split('-'))[1]) - Number((v9[15].split('-'))[0]))) + Number((v9[15].split('-'))[0]);
v8 = Number(v9[7]);
v5 = Number(v9[5]);
if (powerIndex[v2][0] == 54) {
v6 = _parent.getMaxPowerEffect(powerIndex[v2][0], powerIndex[v2][1], 0) / 100;
v6 -= 1;
} else {
v6 = _parent.getArcherPowerEffectB(powerIndex[v2][0], powerIndex[v2][1], 0) / 100;
}
if (v6 > 0) {
if (_parent.currentWeapon == 1) {
v9 = _parent.itemAbilities1.split(',');
} else {
v9 = _parent.itemAbilities2.split(',');
}
if (v9[15] != undefined && v9[15] != 0) {
v20 = Math.random() * (1 + Number((v9[15].split('-'))[1]) - Number((v9[15].split('-'))[0])) + Number((v9[15].split('-'))[0]);
v20 *= v6;
v7 += Math.floor(v20);
}
}
} else {
v7 = 1;
v8 = 1;
v5 = 1;
v3 = 0;
while (v3 < charAttack[v2].length) {
if (charAttack[v2][v3] == 'ranged') {
v8 = charAttack[v2][v3 + 3];
v5 = charAttack[v2][v3 + 4];
v7 = Math.floor(Math.random() * (1 + charAttack[v2][v3 + 2] - charAttack[v2][v3 + 1])) + charAttack[v2][v3 + 1];
break;
}
v3 += 5;
}
}
if (powerIndex[v2][0] == 53) {
v18 = _parent.getArcherPowerEffectA(powerIndex[v2][0], powerIndex[v2][1], 0);
if (v18 % 2 == 0) {
v10 = 0;
while (v10 < v18) {
if (v10 % 2 == 0) {
v6 = crearProyectil('f-225c-', 1, '', v2, charDirecP[v2] + Math.ceil(v10 / 2) * 3, v7, v8, v5, 22, powerIndex[v2][0], 'ARROW', '');
} else {
v6 = crearProyectil('f-225c-', 1, '', v2, charDirecP[v2] - Math.ceil(v10 / 2) * 3, v7, v8, v5, 22, powerIndex[v2][0], 'ARROW', '');
}
++v10;
}
} else {
v6 = crearProyectil('f-225c-', 1, '', v2, charDirecP[v2], v7, v8, v5, 22, powerIndex[v2][0], 'ARROW', '');
v10 = 1;
while (v10 < v18) {
if (v10 % 2 == 0) {
v6 = crearProyectil('f-225c-', 1, '', v2, charDirecP[v2] + Math.ceil(v10 / 2) * 3, v7, v8, v5, 22, powerIndex[v2][0], 'ARROW', '');
} else {
v6 = crearProyectil('f-225c-', 1, '', v2, charDirecP[v2] - Math.ceil(v10 / 2) * 3, v7, v8, v5, 22, powerIndex[v2][0], 'ARROW', '');
}
++v10;
}
}
} else {
if (powerIndex[v2][0] == 54) {
crearProyectil('f-225c-', 1, '', v2, charDirecP[v2], v7, v8, v5, 22, powerIndex[v2][0], 'ARROW', '');
} else {
if (powerIndex[v2][0] == 55) {
v14 = _parent.getArcherPowerEffectA(powerIndex[v2][0], powerIndex[v2][1], 0);
if (charTarget[v2] != -1) {
crearProyectil('f-225c-', 1, '', v2, charDirecP[v2], v7, v8, v5, 22, powerIndex[v2][0], 'ARROW', '-1,10000,' + v14 + ',' + charTarget[v2]);
} else {
crearProyectil('f-225c-', 1, '', v2, charDirecP[v2], v7, v8, v5, 22, powerIndex[v2][0], 'ARROW', '-1,5,' + v14 + ',' + charTarget[v2]);
}
}
}
}
powerIndex[v2].splice(0, powerIndex[v2].length);
charAction[v2] = 'continuar';
}
}
if (charActionArray[v2].length != 0) {
objectFrame[v4] = Number(charActionArray[v2].shift()) + charAnimations[charClass[v2]].total * charAngle[v2];
} else {
charAction[v2] = charDefaultAction[v2];
charActionArray[v2] = charAnimations[charClass[v2]][charAction[v2]].split(',');
objectFrame[v4] = Number(charActionArray[v2].shift()) + charAnimations[charClass[v2]].total * charAngle[v2];
}
if (charAction[v2] == 'die2') {
if (charActionArray[v2].length == 0) {
if (v2 != charIndex) {
v29 = true;
deleteCharacter(v2);
--v2;
} else {
limpiarObjetivos(2);
charAction[v2] = 'die3';
_parent.uigame_mc.openDeath();
}
} else {
if (charActionArray[v2][0] == charAnimations[charClass[v2]].dielayer) {
objectLayer[v4] = 0;
}
}
}
if (charAction[v2] == 'die3') {
charActionArray[v2].push(objectFrame[v4] - charAnimations[charClass[v2]].total * charAngle[v2]);
}
v13 = Math.floor(objectX[v4] / avSize2);
v5 = Math.floor(objectY[v4] / avSize2);
if (v13 != v27 || v5 != v26) {
if (v2 != charIndex) {
activeVarsZ2[v5][v13].push(v4);
}
}
++v22;
}
if (v29) {
updateActiveChrs();
}
}
function knockbackChr(cInd) {
charAction[cInd] = 'knockback';
charActionArray[cInd] = charAnimations[charClass[cInd]].damage.split(',');
charDX[cInd] = new Array();
charDY[cInd] = new Array();
}
function crearEfectoGolpear(px, py, ang) {
var v1 = new Array('f-241c-', 'f-242c-', 'f-243c-', 'f-244c-', 'f-245c-', 'f-246c-', 'f-247c-', 'f-248c-');
var v2 = new Array(1, 1, 1, -50, -50, -50, -50, 1);
objectLayer[crearObjeto(v1[ang], 1, px, py, 0, '..PLAY.1,2,3,4,5.DELETE')] = v2[ang];
}
function limpiarObjetivos(tAux) {
trace('limpiando objetivos');
var v2 = 0;
var v1 = 0;
var v3 = 0;
v1 = 0;
while (v1 < activeChrs.length) {
v2 = activeChrs[v1];
v3 = charIdIndex[v2];
if (objectTeam[v3] == 2) {
charTarget[v2] = -1;
}
++v1;
}
}
function deleteCharacter(indC) {
var v2 = 0;
var v4 = 0;
var v6 = new Array();
var v5 = new Array();
var v3;
if (objectItems[charIdIndex[indC]] != '') {
for (v3 in activeObjs) {
v2 = Number(v3);
if (objectSelect[v2] == 2) {
if (objectX[v2] == objectX[charIdIndex[indC]] && objectY[v2] == objectY[charIdIndex[indC]]) {
if (objectItems[v2] != '') {
objectItems[v2] = objectItems[charIdIndex[indC]] + ';' + objectItems[v2];
objectItems[charIdIndex[indC]] = '';
objectSelect[charIdIndex[indC]] = 0;
break;
}
}
}
}
v4 = crearObjeto('f-18c-', 1, Math.round(objectX[charIdIndex[indC]] / 50) * 50, Math.round(objectY[charIdIndex[indC]] / 25) * 25, 0, '');
objectLayer[v4] = -1000;
objectDesc[v4] = 'Loot';
objectSelect[v4] = 2;
objectItems[v4] = objectItems[charIdIndex[indC]];
objectItems[charIdIndex[indC]] = '';
objectSelect[charIdIndex[indC]] = 0;
} else {
objectSelect[charIdIndex[indC]] = 0;
}
if (servantIndex == indC) {
servantIndex = -1;
} else {
if (indC < servantIndex) {
--servantIndex;
}
}
charIdIndex.splice(indC, 1);
charAI.splice(indC, 1);
charClass.splice(indC, 1);
charAngle.splice(indC, 1);
charDefaultAction.splice(indC, 1);
charAction.splice(indC, 1);
charPoX.splice(indC, 1);
charPoY.splice(indC, 1);
charTarget.splice(indC, 1);
charType.splice(indC, 1);
charGuard.splice(indC, 1);
charActionArray[indC].splice(0, charActionArray[indC].length);
charAttack[indC].splice(0, charAttack[indC].length);
charStats[indC].splice(0, charStats[indC].length);
charDX[indC].splice(0, charDX[indC].length);
charDY[indC].splice(0, charDY[indC].length);
charActionArray.splice(indC, 1);
charAttack.splice(indC, 1);
charStats.splice(indC, 1);
charDX.splice(indC, 1);
charDY.splice(indC, 1);
powerIndex.splice(indC, 1);
}
function pGolpe(acc, eva) {
var v1 = 0;
if (eva < 1) {
eva = 1;
}
if (acc < 1) {
acc = 1;
}
if (acc / eva < 0.6666666666666666) {
v1 = acc * 0.875 / (acc * 0.25 + eva);
} else {
v1 = acc / (acc * 0.8 + eva * 0.8);
}
if (v1 > 0.99) {
v1 = 0.99;
}
if (v1 < 0.01) {
v1 = 0.01;
}
return v1;
}
function autoLoot(indC) {
var v3 = 0;
var v4 = new Array();
var v2 = new Array();
if (objectItems[charIdIndex[indC]] != '') {
v4 = objectItems[charIdIndex[indC]].split(';');
v3 = 0;
while (v3 < v4.length) {
v2 = v4[v3].split(',');
if (v2.length == 2) {
if (v2[0] == 'potion') {
++_parent.miscInv[Number(v2[1])];
_parent.uigame_mc.updatePotions();
v4.splice(v3, 1);
--v3;
if (v2[1] == '0') {
_parent.mensajes.push('_+1 potion_2');
} else {
if (v2[1] == '1') {
_parent.mensajes.push('_+1 potion_3');
} else {
_parent.mensajes.push('_+1 potion_4');
}
}
showMsg();
} else {
if (v2[0] == 'gold') {
_parent.miscInv[0] += Number(v2[1]);
v4.splice(v3, 1);
--v3;
_parent.mensajes.push('_+' + v2[1] + ' gold_1');
_parent.sonido_mc.playFX('ORO');
showMsg();
}
}
}
++v3;
}
objectItems[charIdIndex[indC]] = v4.join(';');
}
}
function unlockChests(sI, eI) {
var v1 = 0;
if (eI < sI) {
eI = sI + 1;
}
v1 = sI;
while (v1 < eI) {
if (objectId[v1] == 'f-28c-' || objectId[v1] == 'f-29c-' || objectId[v1] == 'f-30c-' || objectId[v1] == 'f-31c-') {
objectSelect[v1] = 2;
}
++v1;
}
}
function finishMainQuest() {
var v3 = 0;
var v2 = 0;
var v8 = true;
var v6 = minLX[2] * 200;
var v4 = maxLX[2] * 200 + 200;
var v5 = minLY[2] * 200;
var v7 = maxLY[2] * 200 + 200;
v3 = 0;
while (v3 < charIdIndex.length) {
v2 = charIdIndex[v3];
if (objectX[v2] > v6) {
if (objectX[v2] < v4) {
if (objectY[v2] > v5) {
if (objectY[v2] < v7) {
if (objectHP[v2] > 0) {
if (objectTeam[v2] == 2) {
objectHP[v2] = 0;
autoLoot(v3);
if (charAction[v3] != 'die' && charAction[v3] != 'die2') {
charAction[v3] = 'die';
}
}
}
}
}
}
}
++v3;
}
_parent.mensajes.push('VICTORY');
if (_parent.quesInv[150] != 1) {
_parent.quesInv[150] = 1;
_parent.mensajes.push('NEW DIFFICULTY MODE UNLOCKED');
_parent.uigame_mc.attachMovie('unlockMsgMC', 'unlock_mc', _parent.uigame_mc.getNextHighestDepth());
_parent.uigame_mc.unlock_mc._x = 420;
_parent.uigame_mc.unlock_mc._y = 9;
}
_parent.saveGame();
}
function testAlchemistQuest() {
var v4 = 0;
var v2 = 0;
var v5 = true;
var v8 = minLX[2] * 200;
var v6 = maxLX[2] * 200 + 200;
var v7 = minLY[2] * 200;
var v9 = maxLY[2] * 200 + 200;
v8 = minLX[3] * 200;
v6 = maxLX[3] * 200 + 200;
v7 = minLY[3] * 200;
v9 = maxLY[3] * 200 + 200;
var v3 = 0;
v4 = 0;
while (v4 < charIdIndex.length) {
v2 = charIdIndex[v4];
if (objectX[v2] > v8) {
if (objectX[v2] < v6) {
if (objectY[v2] > v7) {
if (objectY[v2] < v9) {
if (objectHP[v2] > 0) {
if (objectTeam[v2] == 2) {
if (objectTeam[v2] == 2) {
v5 = false;
++v3;
}
}
}
}
}
}
}
if (objectX[v2] > miLX2) {
if (objectX[v2] < maLX2) {
if (objectY[v2] > miLY2) {
if (objectY[v2] < maLY2) {
if (objectHP[v2] > 0) {
if (objectTeam[v2] == 2) {
v5 = false;
++v3;
}
}
}
}
}
}
++v4;
}
if (v3 < 5) {
if (_parent.mensajes.length > 0) {
if ((_parent.mensajes[_parent.mensajes.length - 1].split(' '))[2] == 'left') {
_parent.mensajes.shift();
}
}
if (_parent.uigame_mc.mensajec_mc != undefined) {
if ((_parent.uigame_mc.mensajec_mc.texto.split(' '))[2] == 'left') {
if (v3 == 0) {
_parent.uigame_mc.mensajec_mc.texto = 'objetive completed';
} else {
if (v3 == 1) {
_parent.uigame_mc.mensajec_mc.texto = v3 + ' spider left';
} else {
_parent.uigame_mc.mensajec_mc.texto = v3 + ' spiders left';
}
}
_parent.uigame_mc.mensajec_mc.gotoAndPlay(1);
} else {
if (v3 == 0) {
_parent.mensajes.push('objetive completed');
} else {
if (v3 == 1) {
_parent.mensajes.push('=' + v3 + ' spider left');
} else {
_parent.mensajes.push('=' + v3 + ' spiders left');
}
}
}
} else {
if (v3 == 1) {
_parent.mensajes.push('=' + v3 + ' spider left');
} else {
_parent.mensajes.push('=' + v3 + ' spiders left');
}
}
}
if (v3 == 0) {
unlockChests(172, 184);
_parent.mensajes.push('CHESTS UNLOCKED');
}
return v5;
}
function takeDamage(aCI, dCI, dam, mod, type, pre, ang, powerId) {
var v8 = 0;
var v2 = 0;
var v11 = 0;
var v6 = 0;
var v5 = 0;
var v4 = 0;
var v7 = new Array();
var v12 = 'WEAPONHIT';
v8 = charIdIndex[aCI];
v2 = charIdIndex[dCI];
if (charIndex == dCI) {
if (objectDesc[v8] == 'Sicarius' || objectDesc[v8] == 'Tarantula' || objectDesc[v8] == 'Rotten Flesh' || objectDesc[v8] == 'Haunted Zombie' || objectDesc[v8] == 'Damned' || objectDesc[v8] == 'Infernal Archer' || objectDesc[v8] == 'Corrupted Priest' || objectDesc[v8] == 'Nosferatu' || objectDesc[v8] == '' || objectDesc[v8] == 'Zalmerion' || objectDesc[v8] == 'Morgana') {
type = 2;
}
if (type == 1) {
}
}
if (objectTeam[v8] != objectTeam[v2] && objectTeam[v2] != 0) {
if (aCI == 0) {
if (_parent.basePowers[12] > 0) {
if (charClass[dCI] == 'skeleton' || charClass[dCI] == 'skeletoncham' || charClass[dCI] == 'zombie' || charClass[dCI] == 'zombiecham' || charClass[dCI] == 'vampire' || charClass[dCI] == 'demon') {
v11 = _parent.getMaxPowerEffect(12, _parent.basePowers[12], 0);
dam *= 1 + v11 / 100;
}
}
}
if (type == 1) {
if (dCI == 0) {
v7 = _parent.totalAbilities.split(',');
v5 = Number(v7[9]);
v4 = Number(v7[6]);
} else {
v5 = charStats[dCI][0];
v4 = charStats[dCI][2];
}
if (pGolpe(pre, v4) > Math.random()) {
v6 = Math.ceil(dam * mod / v5);
if (v6 > objectHP[v2]) {
v6 = objectHP[v2];
}
objectHP[v2] -= v6;
} else {
v6 = 0;
}
} else {
if (dCI == 0) {
v7 = _parent.totalAbilities.split(',');
v5 = Number(v7[10]);
v4 = Number(v7[6]);
} else {
v5 = charStats[dCI][1];
v4 = charStats[dCI][2];
}
if (pGolpe(pre, v4) > Math.random()) {
v6 = Math.ceil(dam * mod / v5);
if (v6 > objectHP[v2]) {
v6 = objectHP[v2];
}
objectHP[v2] -= v6;
} else {
v6 = Math.ceil(dam * mod / v5);
if (v6 > objectHP[v2]) {
v6 = objectHP[v2];
}
objectHP[v2] -= v6 / 2;
}
}
}
if (v6 > 0) {
if (charClass[dCI] == 'skeleton' || charClass[dCI] == 'skeletoncham') {
v12 = 'SKELETONHIT';
} else {
if (powerId == 1 || powerId > 50) {
v12 = 'ARROWHIT';
} else {
if (powerId > 19 && powerId < 40 || powerId == 44) {
v12 = 'MAGICHIT';
} else {
if (charClass[aCI] == 'zombie' || charClass[aCI] == 'zombiecham') {
v12 = 'ARROWHIT';
}
if (v6 > objectMaxHP[v2] * 0.2) {
if (aCI == charIndex) {
_parent.sonido_mc.playFX(v12);
} else {
_parent.sonido_mc.playFXV(v12, 60);
}
v12 = 'BOWCRIT';
}
}
}
}
if (aCI == charIndex) {
_parent.sonido_mc.playFX(v12);
} else {
_parent.sonido_mc.playFXV(v12, 60);
}
if (objectHP[v2] <= 0) {
if (objectTeam[v2] == 1) {
if (objectDesc[v2] == 'Isis' || objectDesc[v2] == 'Dartenul' || objectDesc[v2] == 'Edwin') {
objectHP[v2] = 1;
}
}
}
if (objectHP[v2] <= 0) {
objectHP[v2] = 0;
objectSelect[v2] = 0;
if (charAction[dCI] != 'die' && charAction[dCI] != 'die2') {
charAction[dCI] = 'die';
}
charDX[dCI] = new Array();
charDY[dCI] = new Array();
if (objectTeam[v2] == 2) {
--nEnemyZone;
if (charIndex == aCI || servantIndex == aCI) {
autoLoot(dCI);
}
}
if (charClass[dCI] != 'skeleton' && charClass[dCI] != 'skeletoncham') {
sangrar(objectX[v2], objectY[v2], ang);
if (charClass[dCI] == 'spider') {
v7 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
} else {
v7 = new Array(0, -25, -25, -10, -25, 0, -25, 25, 0, 25, 25, 25, 25, 0, 25, -10);
}
v5 = crearObjeto('f-228c-', 1, objectX[v2] + v7[charAngle[dCI] * 2], objectY[v2] + v7[charAngle[dCI] * 2 + 1], 0, '');
scriptType[v5] = 1;
scriptFrames[v5] = new Array();
scriptActions[v5] = '';
objectLayer[v5] = -1;
v7[0] = Math.random() * 5;
v4 = 0;
while (v4 < 5 + v7[0]) {
scriptFrames[v5].push(v4);
scriptFrames[v5].push(v4);
++v4;
}
scriptAllFrames[v5] = scriptFrames[v5].join(',');
if (objectDesc[v2] == 'Queen') {
if (_parent.quesInv[0] == 4) {
updateQuest(0, 5);
}
} else {
if (objectDesc[v2] == 'Bandit Chief') {
if (_parent.quesInv[1] == 0) {
if (_parent.currentMap == 20) {
updateQuest(1, 2);
}
}
} else {
if (objectDesc[v2] == 'Thermas') {
if (_parent.quesInv[1] != 1) {
updateQuest(1, 1);
}
} else {
if (objectDesc[v2] == 'Icaro') {
if (_parent.quesInv[3] == 2) {
updateQuest(3, 3);
}
} else {
if (objectDesc[v2] == 'Morgana') {
if (_parent.quesInv[3] == 3) {
updateQuest(3, 4);
}
} else {
if (objectDesc[v2] == 'Zalmerion') {
if (_parent.quesInv[4] != 1) {
updateQuest(4, 1);
}
finishMainQuest();
}
}
}
}
}
}
if (_parent.currentMap == 102) {
if (_parent.quesInv[8] != 1) {
if (nEnemyZone < 5) {
if (testAlchemistQuest()) {
updateQuest(8, 1);
}
}
}
}
if (_parent.currentMap == 105) {
if (objectDesc[v2] == 'Villain') {
if (_parent.quesInv[10] != 3) {
updateQuest(10, 3);
}
}
}
}
} else {
if (charIdIndex[dCI] > 0) {
if (charTarget[dCI] == -1) {
charTarget[dCI] = aCI;
} else {
v5 = Math.pow(objectX[v2] - objectX[charIdIndex[charTarget[dCI]]], 2) + Math.pow(objectY[v2] - objectY[charIdIndex[charTarget[dCI]]], 2);
v4 = Math.pow(objectX[v2] - objectX[v8], 2) + Math.pow(objectY[v2] - objectY[v8], 2);
if (v4 < v5) {
charTarget[dCI] = aCI;
} else {
if (v5 > 6500) {
charTarget[dCI] = aCI;
}
}
}
} else {
if (objectHP[charIdIndex[charIndex]] / objectMaxHP[charIdIndex[charIndex]] < 0.4) {
if (getTimer() - hbTime > 1000) {
hbTime = getTimer();
_parent.sonido_mc.playFX('HEARTBEAT');
}
}
}
if (v6 > objectMaxHP[v2] * 0.5) {
if (dCI != charIndex) {
if (Math.random() > 0.2) {
charAction[dCI] = 'damage';
}
}
} else {
if (dCI != charIndex) {
if (powerId == 53) {
if (Math.random() > 0.95) {
charAction[dCI] = 'damage';
}
} else {
if (powerId == 54) {
if (Math.random() > 0.75) {
charAction[dCI] = 'damage';
}
} else {
if (powerId == 55) {
if (Math.random() > 0.92) {
charAction[dCI] = 'damage';
}
} else {
if (Math.random() > 0.8) {
charAction[dCI] = 'damage';
}
}
}
}
}
}
if (charClass[dCI] != 'skeleton' && charClass[dCI] != 'skeletoncham') {
if (powerId == 55 || powerId == 53) {
if (Math.random() > 0.9) {
sangrar(objectX[v2], objectY[v2], ang);
}
} else {
sangrar(objectX[v2], objectY[v2], ang);
}
}
}
if (dCI == 0) {
_parent.uigame_mc.hp_mc.n = (objectHP[0] / objectMaxHP[0]) * 100;
_parent.uigame_mc.hp_mc.updatePorc();
}
if (aCI == 0) {
if (objectHP[v2] == 0) {
_parent.addXP(_parent.getEnemyXP(objectDesc[v2], objectMaxHP[v2]), powerId);
}
v11 = Number((_parent.totalAbilities.split(','))[12]);
if (v11 > 0) {
if (objectHP[0] < objectMaxHP[0]) {
objectHP[0] += v11;
if (objectHP[0] > objectMaxHP[0]) {
objectHP[0] = objectMaxHP[0];
}
_parent.uigame_mc.hp_mc.n = (objectHP[0] / objectMaxHP[0]) * 100;
_parent.uigame_mc.hp_mc.updatePorc();
}
}
v11 = Number((_parent.totalAbilities.split(','))[13]);
if (v11 > 0) {
if (currentMana < maxMana) {
currentMana += v11;
if (currentMana > maxMana) {
currentMana = maxMana;
}
_parent.uigame_mc.mp_mc.n = (currentMana / maxMana) * 100;
_parent.uigame_mc.mp_mc.updatePorc();
_parent.uigame_mc.checkManaBars();
}
}
} else {
if (aCI == servantIndex) {
if (objectHP[v2] == 0) {
if (charClass[servantIndex] == 'human') {
v11 = 31;
} else {
v11 = 30;
}
_parent.addXP(_parent.getEnemyXP(objectDesc[v2], objectMaxHP[v2]), powerId);
}
}
}
if (powerId == 21) {
if (objectHP[v2] > 0) {
knockbackChr(dCI);
}
}
}
return v6;
}
function checkZone(oIndex, cx, cy) {
var v5 = 0;
var v4 = 0;
var v1 = new Array();
if (zone[cy][cx] != '') {
v1 = zone[cy][cx].split(';');
v1.splice(0, 1);
ejecutarAcciones(oIndex, v1.join(';'));
}
}
function nEnemiesUpdate() {
var v8 = 0;
var v2 = 0;
var v3 = 0;
var v1 = 0;
var v6 = minLX[aZone] * 200;
var v4 = maxLX[aZone] * 200 + 200;
var v5 = minLY[aZone] * 200;
var v7 = maxLY[aZone] * 200 + 200;
v2 = 0;
while (v2 < charIdIndex.length) {
v1 = charIdIndex[v2];
if (objectX[v1] > v6) {
if (objectX[v1] < v4) {
if (objectY[v1] > v5) {
if (objectY[v1] < v7) {
if (objectHP[v1] > 0) {
if (objectTeam[v1] == 2) {
++v3;
}
}
}
}
}
}
++v2;
}
nEnemyZone = v3;
}
function updateLimits() {
var v2 = 0;
var v4 = 0;
var v3 = 0;
v4 = Math.floor(objectX[charIdIndex[charIndex]] / 200);
v3 = Math.floor(objectY[charIdIndex[charIndex]] / 200);
v2 = 0;
while (v2 < minLX.length) {
if (minLX[v2] <= v4 && maxLX[v2] >= v4 && minLY[v2] <= v3 && maxLY[v2] >= v3) {
if (_parent.lightL[_parent.currentMap][v2] != undefined) {
nightEnabled = _parent.lightL[_parent.currentMap][v2];
} else {
if (v2 == 0) {
nightEnabled = 0;
} else {
nightEnabled = 2;
}
}
coorXMin = minLX[v2] * 200;
coorXMax = maxLX[v2] * 200 - ANCHO + 200;
coorYMin = minLY[v2] * 200;
coorYMax = maxLY[v2] * 200 - ALTO + 200;
aZone = v2;
nEnemiesUpdate();
if (_parent.currentMap == 99) {
if (aZone == 1) {
if (_parent.uigame_mc.tutorial7_mc != undefined) {
_parent.uigame_mc.closeTutorial();
}
}
}
if (v2 > 0) {
if (_parent.lightL[_parent.currentMap][v2] > 1) {
_parent.uigame_mc.addi_mc.iconoExitV();
}
} else {
_parent.uigame_mc.addi_mc.iconoTravelV();
}
break;
}
++v2;
}
coordenadaY = objectY[charIdIndex[charIndex]] - ALTO / 2 + 25;
coordenadaX = objectX[charIdIndex[charIndex]] - ANCHO / 2 + 25;
if (coordenadaX < coorXMin) {
coordenadaX = coorXMin;
}
if (coordenadaY < coorYMin) {
coordenadaY = coorYMin;
}
if (coordenadaX > coorXMax) {
coordenadaX = coorXMax;
}
if (coordenadaY > coorYMax) {
coordenadaY = coorYMax;
}
}
function checkObjetivo(genRuta) {
var v8 = -1;
var v7 = -1;
var v10 = 0;
var v9 = 0;
var v6 = 0;
var v4 = 0;
var v3 = 0;
var v5 = 0;
var v2 = 0;
var v11 = false;
if (objetivo.length > 0) {
switch (objetivo.length) {
case 1:
v8 = Math.round(objectX[objetivo[0]] / 50);
v7 = Math.round(objectY[objetivo[0]] / 25);
if (_parent.objectaX[objectId[objetivo[0]]][objectFrame[objetivo[0]]] != undefined) {
v10 = objectX[charIdIndex[charIndex]] - objectX[objetivo[0]] - _parent.objectaX[objectId[objetivo[0]]][objectFrame[objetivo[0]]] - _parent.objectAncho[objectId[objetivo[0]]][objectFrame[objetivo[0]]];
v9 = objectY[charIdIndex[charIndex]] - objectY[objetivo[0]] - _parent.objectaY[objectId[objetivo[0]]][objectFrame[objetivo[0]]] - _parent.objectAlto[objectId[objetivo[0]]][objectFrame[objetivo[0]]];
} else {
v10 = objectX[charIdIndex[charIndex]] - objectX[objetivo[0]];
v9 = objectY[charIdIndex[charIndex]] - objectY[objetivo[0]];
}
v6 = Number(((objectId[objetivo[0]].split('c-'))[0].split('f-'))[1]);
if (v6 < 18) {
if (_parent.checkRanged(_parent.currentWeapon)) {
v4 = -10000;
v3 = 10000;
v5 = -10000;
v2 = 10000;
} else {
v4 = -71;
v3 = 71;
v5 = -41;
v2 = 41;
}
if (_parent.getManaCost(_parent.cPower, _parent.basePowers[_parent.cPower] + Number((_parent.totalAbilities.split(','))[11]), 0) <= currentMana) {
if (_parent.cPower > 19 && _parent.cPower < 40) {
v4 = -10000;
v3 = 10000;
v5 = -10000;
v2 = 10000;
} else {
if (_parent.cPower > 43) {
v4 = -10000;
v3 = 10000;
v5 = -10000;
v2 = 10000;
}
}
if (_parent.cPower == 21 || _parent.cPower == 45) {
v4 = -70;
v3 = 70;
v5 = -50;
v2 = 50;
}
}
if (objectSelect[objetivo[0]] == 7) {
if (objectTeam[objetivo[0]] == 0) {
v4 = -80;
v3 = 255;
v5 = -46;
v2 = 125;
} else {
v4 = -80;
v3 = 80;
v5 = -60;
v2 = 60;
}
}
} else {
v4 = -100;
v3 = 100;
v5 = -100;
v2 = 100;
v8 += Math.floor((_parent.objectaX[objectId[objetivo[0]]][objectFrame[objetivo[0]]] + _parent.objectAncho[objectId[objetivo[0]]][objectFrame[objetivo[0]]] * 0.75) / 50);
v7 += Math.floor((_parent.objectaY[objectId[objetivo[0]]][objectFrame[objetivo[0]]] + _parent.objectAlto[objectId[objetivo[0]]][objectFrame[objetivo[0]]]) / 25);
if (v6 == 18) {
v4 = -110;
v3 = 40;
v5 = -80;
v2 = 40;
v8 = Math.floor(objectX[objetivo[0]] / 50);
v7 = Math.floor(objectY[objetivo[0]] / 25);
} else {
if (v6 == 28) {
v4 = -115;
v3 = 5;
v5 = -85;
v2 = 10;
} else {
if (v6 == 29) {
v4 = -115;
v3 = 5;
v5 = -85;
v2 = 10;
} else {
if (v6 == 30) {
v4 = -125;
v3 = 0;
v5 = -85;
v2 = 10;
} else {
if (v6 == 31) {
v4 = -125;
v3 = 0;
v5 = -85;
v2 = 10;
} else {
if (v6 == 56) {
v4 = -115;
v3 = 5;
v5 = -90;
v2 = 5;
} else {
if (v6 == 57) {
v4 = -115;
v3 = 5;
v5 = -90;
v2 = 5;
} else {
if (v6 == 61) {
v4 = -175;
v3 = -5;
v5 = -90;
v2 = 5;
} else {
if (v6 == 71) {
v4 = -110;
v3 = 10;
v5 = -60;
v2 = 0;
v8 = Math.floor(objectX[objetivo[0]] / 50);
v7 = Math.floor(objectY[objetivo[0]] / 25);
} else {
if (v6 == 78) {
v4 = -145;
v3 = -5;
v5 = -95;
v2 = 45;
} else {
if (v6 == 79) {
v4 = -145;
v3 = -5;
v5 = -95;
v2 = 45;
} else {
if (v6 == 117) {
v4 = -190;
v3 = 25;
v5 = -160;
v2 = -20;
} else {
if (v6 == 146) {
v4 = -130;
v3 = 5;
v5 = -100;
v2 = 40;
} else {
if (v6 == 147) {
v4 = -130;
v3 = 5;
v5 = -100;
v2 = 40;
} else {
if (v6 == 156) {
v4 = -160;
v3 = 10;
v5 = -110;
v2 = 35;
} else {
if (v6 == 157) {
v4 = -160;
v3 = 10;
v5 = -90;
v2 = 0;
} else {
if (v6 == 173) {
v4 = -110;
v3 = 10;
v5 = -90;
v2 = 10;
} else {
if (v6 == 174) {
v4 = -110;
v3 = 10;
v5 = -90;
v2 = 10;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (v10 > v4) {
if (v10 < v3) {
if (v9 > v5) {
if (v9 < v2) {
mouseAction(objetivo[0], -1);
v11 = true;
if (objectTeam[objetivo[0]] == 2) {
if (!mouseIsPressed) {
objetivo.splice(0, 1);
}
} else {
objetivo.splice(0, 1);
}
if (objectTeam[objetivo[0]] == 2) {
if (charAction[charIndex] != 'stand' && charAction[charIndex] != 'combat') {
v8 = -1;
v7 = -1;
} else {
objetivo.splice(0, 1);
objetivo[0] = v8;
objetivo[1] = v7;
}
} else {
v8 = -1;
v7 = -1;
}
}
}
}
}
break;
case 2:
v8 = objetivo[0];
v7 = objetivo[1];
if (tryFastTravel) {
if (aZone == 0) {
v10 = objectX[charIdIndex[charIndex]] + 25;
v9 = objectY[charIdIndex[charIndex]] + 12;
v3 = coorXMax + ANCHO - 130;
v2 = coorYMax + ALTO - 130;
if (v10 < 130 || v10 > v3) {
if (_parent.quesInv[7] != 2) {
_parent.uigame_mc.openWorldMap();
}
tryFastTravel = 0;
} else {
if (v9 < 130 || v9 > v2) {
if (_parent.quesInv[7] != 2) {
_parent.uigame_mc.openWorldMap();
}
tryFastTravel = 0;
}
}
} else {
tryFastTravel = 0;
}
}
break;
break;
case 3:
if (charAction[charIndex] == 'stand' || charAction[charIndex] == 'combat' || charAction[charIndex] == 'run') {
mouseAction(-1, objetivo[2]);
v11 = true;
objetivo.splice(0, 3);
}
}
if (genRuta) {
if (v8 != -1 && v7 != -1) {
if (objectX[0] == v8 * 50 && objectY[0] == v7 * 25) {
if (objetivo.length == 2) {
objetivo.splice(0, 2);
lastCX = -1;
lastCY = -1;
}
}
if (lastCX != v8 || lastCY != v7) {
if (acercarPJPF(charIndex, v8, v7) == '') {
if (charDX[charIndex].length == 0) {
lastCX = v8;
lastCY = v7;
}
}
return v11;
}
if (charDX[charIndex].length == 0) {
if (moveCharacter(charIndex, v8, v7) == '') {
if (objetivo.length == 2) {
objetivo.splice(0, 2);
lastCX = -1;
lastCY = -1;
}
}
if (charDX[charIndex][charDX[charIndex].length - 1] != v8 * 50 || charDY[charIndex][charDY[charIndex].length - 1] != v7 * 25) {
charDX[charIndex] = new Array();
charDY[charIndex] = new Array();
objetivo.splice(0, objetivo.length);
lastCX = -1;
lastCY = -1;
}
}
}
}
}
return v11;
}
function checkCloseMouse() {
var v5 = 0;
var v4 = 0;
var v3 = objectX[0] + 25 - coordenadaX - _xmouse;
var v1 = objectY[0] + 12 - coordenadaY - _ymouse;
var v2 = Math.abs(v1);
if (Math.abs(v3) < 25) {
if (v2 < 35) {
if (v2 < 12) {
objetivo = new Array();
} else {
if (v1 < 0) {
objetivo[0] = Math.floor(objectX[0] / 50);
objetivo[1] = Math.floor(objectY[0] / 25) + 3;
} else {
objetivo[0] = Math.floor(objectX[0] / 50);
objetivo[1] = Math.floor(objectY[0] / 25) - 3;
}
}
}
}
}
function mouseActionB() {
var v2 = coordenadaX + _xmouse;
var v3 = coordenadaY + _ymouse;
var v4 = 0;
var v5 = _parent.isDown[_parent.hotKey[0]];
var v6 = new Array();
if (v5) {
v6 = _parent.hotKey[0].split('_');
if (v6[0] == 'kC') {
if (Key.isDown(Number(v6[1]))) {
v5 = true;
} else {
v5 = false;
}
}
}
if (aZone == 0) {
if (fastTravelArea) {
tryFastTravel = 1;
} else {
tryFastTravel = 0;
}
}
if (objetivo.length == 2) {
if (v5) {
if (charAction[charIndex] == 'stand' || charAction[charIndex] == 'combat' || charAction[charIndex] == 'run') {
v4 = 1;
} else {
v4 = 0;
}
} else {
v2 = Math.floor(v2 / 50);
v3 = Math.floor(v3 / 25);
objetivo[0] = v2;
objetivo[1] = v3;
}
} else {
if (objetivo.length == 0) {
if (v5) {
if (charAction[charIndex] == 'stand' || charAction[charIndex] == 'combat' || charAction[charIndex] == 'run') {
v4 = 1;
} else {
v4 = 0;
}
} else {
if (indO != -1) {
if (objectSelect[indO] > 1) {
if (objetivo.length > 0) {
objetivo.pop();
}
objetivo[0] = indO;
} else {
v2 = Math.floor(v2 / 50);
v3 = Math.floor(v3 / 25);
objetivo[0] = v2;
objetivo[1] = v3;
}
} else {
if (_parent.cPower == 23 || _parent.cPower == 24 || _parent.cPower == 25 || _parent.cPower == 35) {
if (tryBuffSpell()) {
} else {
v2 = Math.floor(v2 / 50);
v3 = Math.floor(v3 / 25);
objetivo[0] = v2;
objetivo[1] = v3;
}
} else {
v2 = Math.floor(v2 / 50);
v3 = Math.floor(v3 / 25);
objetivo[0] = v2;
objetivo[1] = v3;
}
}
}
}
}
if (v4) {
objetivo[0] = v2;
objetivo[1] = v3;
objetivo[2] = _parent.cPower;
}
}
function tryBuffSpell(idP) {
var v3 = false;
if (idP == 23 && _parent.getManaCost(idP, _parent.basePowers[idP] + Number((_parent.totalAbilities.split(','))[11]), 0) <= currentMana) {
v3 = true;
} else {
if (idP == 24 && _parent.getManaCost(idP, _parent.basePowers[idP] + Number((_parent.totalAbilities.split(','))[11]), 0) <= currentMana) {
v3 = true;
} else {
if (idP == 25 && _parent.getManaCost(idP, _parent.basePowers[idP] + Number((_parent.totalAbilities.split(','))[11]), 0) <= currentMana) {
v3 = true;
} else {
if (idP == 35 && _parent.getManaCost(idP, _parent.basePowers[idP] + Number((_parent.totalAbilities.split(','))[11]), 0) <= currentMana) {
v3 = true;
}
}
}
}
if (v3) {
objetivo.splice(0, objetivo.length);
objetivo[0] = 0;
objetivo[1] = 0;
objetivo[2] = idP;
}
return v3;
}
function mouseAction(auxInd, auxP) {
var v2 = 0;
var v18 = 0;
var v15 = 0;
var v20 = true;
var v19 = true;
var v14 = new Array();
var v12 = new Array();
var v3 = new Array();
var v11 = 0;
var v8 = 0;
var v10 = 0;
var v7 = 0;
var v6 = 0;
var v17 = Math.floor(objectX[charIdIndex[charIndex]] / 50);
var v16 = Math.floor(objectY[charIdIndex[charIndex]] / 25);
var v9 = 0;
var v13 = _parent.cPower;
var v4 = new Array();
if (auxP != undefined && auxP != -1) {
v13 = auxP;
if (v13 == 23 && indO != -1) {
if (objectTeam[indO] == 1) {
auxInd = indO;
}
}
} else {
if (_parent.cPower == 23 || _parent.cPower == 24 || _parent.cPower == 25 || _parent.cPower == 35) {
if (_parent.checkRanged(_parent.currentWeapon)) {
v13 = 1;
} else {
v13 = 0;
}
}
}
if (!overUI && reproducir) {
charTarget[charIndex] = -1;
if (auxInd != -1 && objectSelect[auxInd] > 0) {
v9 = 1;
if (v13 == 23) {
if (objectTeam[auxInd] == 1) {
v2 = 0;
while (v2 < activeChrs.length) {
if (charIdIndex[activeChrs[v2]] == auxInd) {
charTarget[charIndex] = activeChrs[v2];
v9 = 0;
break;
}
++v2;
}
}
}
} else {
if (auxInd != -1) {
v19 = false;
}
}
if (v9) {
switch (objectSelect[auxInd]) {
case 3:
v19 = false;
if (lastInteract != auxInd) {
finSaqueo();
lastInteract = auxInd;
}
break;
case 5:
v19 = false;
v9 = 0;
v11 = 0;
while (v11 < objectScripts[auxInd].length) {
v14 = objectScripts[auxInd][v11].split('.');
if (Number(v14[0]) == 5) {
v9 = 1;
v12 = v14[4].split(',');
v8 = 0;
while (v8 < v12.length) {
v3 = v12[v8].split(' ');
if (v3[0] == 'NOFREE') {
v7 = Math.floor(objectX[auxInd] / 50) + Number((v3[1].split('/'))[0]);
v6 = Math.floor(objectY[auxInd] / 25) + Number((v3[1].split('/'))[1]);
v4.push(v6);
v4.push(v7);
if (isNaN(Number((v3[1].split('/'))[2]))) {
v4.push(5);
} else {
v4.push(Number((v3[1].split('/'))[2]));
}
if (v7 == v17 && v6 == v16) {
v9 = 0;
} else {
if (freeO[v6][v7]) {
v9 = 0;
}
}
}
++v8;
}
break;
}
++v11;
}
if (lastInteract != auxInd) {
if (v9) {
recibirEvento(auxInd);
lastInteract = auxInd;
charDX[0] = new Array();
charDY[0] = new Array();
v10 = 0;
while (v10 < v4.length) {
freeT[v4[v10]][v4[v10 + 1]] = v4[v10 + 2];
v10 += 3;
}
} else {
trace('This door can not be closed, it is obstructed or the character is going into its position');
}
}
break;
case 6:
if (objectTeam[auxInd] == 2) {
v2 = 0;
while (v2 < activeChrs.length) {
if (charIdIndex[activeChrs[v2]] == auxInd) {
charTarget[charIndex] = activeChrs[v2];
break;
}
++v2;
}
} else {
v19 = false;
}
if (charTarget[charIndex] != -1) {
v2 = objectX[auxInd] - objectX[charIdIndex[charIndex]];
v18 = objectY[auxInd] - objectY[charIdIndex[charIndex]];
if (v2 == 0 && v18 == 0) {
v15 = 90;
} else {
v15 = Math.atan(-v18 / v2) * 180 / Math.PI;
}
if (v2 >= 0 && v18 < 0) {
v15 += 360;
} else {
if (v2 < 0) {
v15 += 180;
}
}
v20 = false;
v19 = true;
}
break;
default:
v19 = false;
if (lastInteract != auxInd) {
recibirEvento(auxInd);
lastInteract = auxInd;
}
}
}
if (v19) {
if (charAction[charIndex] == 'stand' || charAction[charIndex] == 'combat' || charAction[charIndex] == 'run') {
if (currentLoot != -1) {
finSaqueo();
}
powerIndex[0] = new Array(v13, _parent.basePowers[v13] + Number((_parent.totalAbilities.split(','))[11]));
if (charTarget[charIndex] != -1) {
powerIndex[0].push(objectX[charIdIndex[charTarget[charIndex]]]);
powerIndex[0].push(objectY[charIdIndex[charTarget[charIndex]]]);
} else {
powerIndex[0].push(_xmouse + coordenadaX - 25);
powerIndex[0].push(_ymouse + coordenadaY);
}
v11 = v13;
if (v13 == 30 || v13 == 31) {
if (_parent.checkRanged(_parent.currentWeapon)) {
v11 = 1;
} else {
v11 = 0;
}
v2 = _parent.getManaCost(powerIndex[0][0], powerIndex[0][1], 0);
if (v2 <= currentMana) {
if (servantIndex != -1) {
if (objectHP[charIdIndex[servantIndex]] <= 0 || objectId[charIdIndex[servantIndex]] == undefined) {
servantIndex = -1;
} else {
if (objectTeam[charIdIndex[charTarget[charIndex]]] == 2) {
if (v13 == 30) {
if (charClass[charTarget[charIndex]] == 'skeleton' || charClass[charTarget[charIndex]] == 'zombie') {
objectTeam[charIdIndex[servantIndex]] = 2;
objectSelect[charIdIndex[servantIndex]] = 6;
charTarget[servantIndex] = -1;
servantIndex = -1;
}
} else {
if (v13 == 31) {
if (charClass[charTarget[charIndex]] == 'human') {
objectTeam[charIdIndex[servantIndex]] = 2;
objectSelect[charIdIndex[servantIndex]] = 6;
charTarget[servantIndex] = -1;
servantIndex = -1;
}
}
}
}
}
}
if (charTarget[charIndex] != -1 && servantIndex == -1) {
if (objectTeam[charIdIndex[charTarget[charIndex]]] == 2) {
if (v13 == 30) {
if (charClass[charTarget[charIndex]] == 'skeleton' || charClass[charTarget[charIndex]] == 'zombie') {
v11 = v13;
servantIndex = charTarget[charIndex];
objectTeam[charIdIndex[servantIndex]] = 1;
v2 = 1 + _parent.getMaxPowerEffect(30, _parent.basePowers[30] + Number((_parent.totalAbilities.split(','))[11]), 0) / 100;
objectHP[charIdIndex[servantIndex]] = Math.ceil(objectHP[charIdIndex[servantIndex]] * v2);
objectMaxHP[charIdIndex[servantIndex]] = Math.ceil(objectMaxHP[charIdIndex[servantIndex]] * v2);
objectSelect[charIdIndex[servantIndex]] = 1;
}
} else {
if (v13 == 31) {
if (charClass[charTarget[charIndex]] == 'human') {
v11 = v13;
servantIndex = charTarget[charIndex];
objectTeam[charIdIndex[servantIndex]] = 1;
v2 = 1 + _parent.getMaxPowerEffect(31, _parent.basePowers[31] + Number((_parent.totalAbilities.split(','))[11]), 0) / 100;
charAttack[servantIndex][4] = Math.ceil(charAttack[servantIndex][4] * v2);
objectSelect[charIdIndex[servantIndex]] = 1;
}
}
}
}
} else {
if (servantIndex != -1) {
trace('You already got a servant');
} else {
trace('Target not valid');
}
}
}
}
v2 = 0;
if (v11 > 1) {
v2 = _parent.getManaCost(powerIndex[0][0], powerIndex[0][1], 0);
}
if (v2 <= currentMana) {
currentMana -= v2;
_parent.uigame_mc.mp_mc.n = (currentMana / maxMana) * 100;
_parent.uigame_mc.mp_mc.updatePorc();
_parent.uigame_mc.checkManaBars();
} else {
trace('No hay mana suficiente para ejecutar ' + _parent.powerTable[powerIndex[0][0]].Name + ' ' + v2 + '/' + currentMana);
powerIndex[0].splice(0, powerIndex[0].length);
if (_parent.checkRanged(_parent.currentWeapon)) {
v11 = 1;
} else {
v11 = 0;
}
}
if (v20) {
v2 = _xmouse - 25 - (objectX[charIdIndex[charIndex]] - coordenadaX);
v18 = _ymouse - 12.5 - (objectY[charIdIndex[charIndex]] - coordenadaY);
if (v13 == 1) {
v18 = _ymouse + 30 - (objectY[charIdIndex[charIndex]] - coordenadaY);
}
if (v2 == 0 && v18 == 0) {
v15 = 90;
} else {
v15 = Math.atan(-v18 / v2) * 180 / Math.PI;
}
if (v2 >= 0 && v18 < 0) {
v15 += 360;
} else {
if (v2 < 0) {
v15 += 180;
}
}
}
if (v11 == 0) {
if (v13 == 30 || v13 == 31) {
if (Math.pow(objectX[charIdIndex[charIndex]] - objectX[charIdIndex[charTarget[charIndex]]], 2) + Math.pow(objectY[charIdIndex[charIndex]] - objectY[charIdIndex[charTarget[charIndex]]], 2) < 6750) {
charAngle[charIndex] = Math.floor(((v15 + 112.5) % 360) / 45);
charAction[charIndex] = 'attack';
}
} else {
charAngle[charIndex] = Math.floor(((v15 + 112.5) % 360) / 45);
charAction[charIndex] = 'attack';
}
} else {
if (v11 == 1) {
charAngle[charIndex] = Math.floor(((v15 + 112.5) % 360) / 45);
charAction[charIndex] = 'ranged';
charDirecP[charIndex] = (v15 + 360) % 360;
} else {
charAngle[charIndex] = Math.floor(((v15 + 112.5) % 360) / 45);
charAction[charIndex] = 'power';
charDirecP[charIndex] = (v15 + 360) % 360;
}
}
charDX[charIndex] = new Array();
charDY[charIndex] = new Array();
}
}
}
}
function movePJ(mCX, mCY) {
var v9 = charIdIndex[charIndex];
var v8 = Math.floor(objectX[v9] / 50);
var v7 = Math.floor(objectY[v9] / 25);
var v3 = 0;
var v4 = 0;
var v6 = false;
var v5 = false;
var v10 = new Array([5, 6, 7], [4, null, 0], [3, 2, 1]);
v3 = v8 + mCX;
v4 = v7 + mCY;
if (charAction[charIndex] == 'combat') {
if (objectX[v9] % 50 == 0 && objectY[v9] % 25 == 0) {
v6 = true;
} else {
v5 = true;
}
} else {
if (charAction[charIndex] == 'run') {
if (objectX[v9] % 50 == 0 && objectY[v9] % 25 == 0) {
v6 = true;
} else {
v5 = true;
}
}
}
if (v5) {
v5 = false;
if (charAngle[charIndex] == 0) {
if (mCX != 0 || mCY != 1) {
v5 = true;
v3 = charPoX[charIndex] + mCX;
if (mCY == -1 || mCY == 0) {
v4 = charPoY[charIndex] + mCY;
}
}
} else {
if (charAngle[charIndex] == 1) {
if (mCX != 1 || mCY != 1) {
v5 = true;
if (mCY == -1 || mCY == 0) {
v4 = charPoY[charIndex] + mCY;
}
if (mCX == -1 || mCX == 0) {
v3 = charPoX[charIndex] + mCX;
}
}
} else {
if (charAngle[charIndex] == 7) {
if (mCX != -1 || mCY != 1) {
v5 = true;
if (mCY == -1 || mCY == 0) {
v4 = charPoY[charIndex] + mCY;
}
if (mCX == 1 || mCX == 0) {
v3 = charPoX[charIndex] + mCX;
}
}
} else {
if (charAngle[charIndex] == 3) {
if (mCX != 1 || mCY != -1) {
v5 = true;
if (mCY == 1 || mCY == 0) {
v4 = charPoY[charIndex] + mCY;
}
if (mCX == -1 || mCX == 0) {
v3 = charPoX[charIndex] + mCX;
}
}
} else {
if (charAngle[charIndex] == 4) {
if (mCX != 0 || mCY != -1) {
v5 = true;
v3 = charPoX[charIndex] + mCX;
if (mCY == 1 || mCY == 0) {
v4 = charPoY[charIndex] + mCY;
}
}
} else {
if (charAngle[charIndex] == 5) {
if (mCX != -1 || mCY != -1) {
v5 = true;
if (mCY == 1 || mCY == 0) {
v4 = charPoY[charIndex] + mCY;
}
if (mCX == 1 || mCX == 0) {
v3 = charPoX[charIndex] + mCX;
}
}
} else {
if (charAngle[charIndex] == 2) {
if (mCX != 1) {
v5 = true;
v3 = charPoX[charIndex] + mCX;
}
} else {
if (charAngle[charIndex] == 6) {
if (mCX != -1) {
v5 = true;
v3 = charPoX[charIndex] + mCX;
}
}
}
}
}
}
}
}
}
if (v5) {
v6 = true;
v6 = (freeT[v7][v8] == 0 || freeT[v7][v8] == 1) && (!freeO[v7][v8] || freeO[v7][v8] == charIndex + 1);
if (v6) {
charDX[charIndex] = new Array();
charDY[charIndex] = new Array();
} else {
if (charDX[charIndex].length == 0) {
charDX[charIndex].push(charPoX[charIndex] * 50);
charDY[charIndex].push(charPoY[charIndex] * 25);
}
}
} else {
if (charDX[charIndex].length == 0) {
charDX[charIndex].push(charPoX[charIndex] * 50);
charDY[charIndex].push(charPoY[charIndex] * 25);
}
}
}
if (v6) {
v6 = (freeT[v4][v3] == 0 || freeT[v4][v3] == 1) && (!freeO[v4][v3] || freeO[v4][v3] == charIndex + 1);
if (!v6) {
if (mCX != 0 && mCY != 0) {
v3 = v8;
v4 = v7 + mCY;
v6 = (freeT[v4][v3] == 0 || freeT[v4][v3] == 1) && (!freeO[v4][v3] || freeO[v4][v3] == charIndex + 1);
if (!v6) {
v3 = v8 + mCX;
v4 = v7;
v6 = (freeT[v4][v3] == 0 || freeT[v4][v3] == 1) && (!freeO[v4][v3] || freeO[v4][v3] == charIndex + 1);
}
}
}
if (v6) {
if (objectX[charIdIndex[charIndex]] % 50 == 0 && objectY[charIdIndex[charIndex]] % 25 == 0) {
charDX[charIndex] = new Array();
charDY[charIndex] = new Array();
}
if (charDX[charIndex].length == 0) {
charDX[charIndex].push(v3 * 50);
charDY[charIndex].push(v4 * 25);
}
} else {
charAngle[charIndex] = v10[mCX + 1][mCY + 1];
}
}
}
function rutaRodear(ori_x, ori_y, des_x, des_y) {
var v21 = '';
var v22 = '';
var v20 = '';
var v4 = '';
var v9 = new Array();
var v16 = new Array();
var v15 = new Array();
var v13 = new Array('0,1', '1,1', '1,0', '1,-1', '0,-1', '-1,-1', '-1,0', '-1,1');
var v7 = new Array();
var v11 = new Array();
var v10 = new Array();
var v17 = 15;
var v1 = 0;
var v2 = 0;
var v3 = 0;
var v6 = 0;
var v5 = 0;
var v12 = 0;
var v14 = 0;
var v8 = true;
if (des_x > ori_x) {
++v1;
} else {
if (des_x < ori_x) {
--v1;
}
}
if (des_y > ori_y) {
++v2;
} else {
if (des_y < ori_y) {
--v2;
}
}
v20 = v1 + ',' + v2;
v1 = 0;
while (v1 < tZone.length) {
if (freeT[tZone[v1 + 1]][tZone[v1]] == 0) {
freeT[tZone[v1 + 1]][tZone[v1]] = 4;
v15.push(tZone[v1]);
v15.push(tZone[v1 + 1]);
}
v1 += 2;
}
v1 = 0;
while (v1 < v13.length) {
if (v13[v1] == v20) {
break;
}
++v1;
}
v2 = 8;
while (v2 > 0) {
v9 = v13[(v1 + v2) % 8].split(',');
v11.push(Number(v9[0]));
v10.push(Number(v9[1]));
--v2;
}
v9.splice(0, 2);
v2 = ori_x;
v3 = ori_y;
v7.push(v2 + ',' + v3);
v1 = 0;
while (v17 > 0) {
v12 = v2;
v14 = v3;
v5 = 0;
while (v5 < 8) {
v2 += v11[(v1 + v5) % 8];
v3 += v10[(v1 + v5) % 8];
v8 = freeT[v3][v2] == 0 || freeT[v3][v2] == 1;
v4 = v2 + ',' + v3;
v6 = 0;
while (v6 < v7.length) {
if (v7[v6] == v4) {
v8 = false;
}
++v6;
}
if (v8) {
v1 = (v1 + v5 + 7) % 8;
v7.push(v4);
v9.push(v2 * 50);
v16.push(v3 * 25);
v4 = rutaDirecta(v2, v3, des_x, des_y);
break;
} else {
v4 = '';
v2 = v12;
v3 = v14;
}
++v5;
}
if (!v8) {
break;
}
if (v4 != '') {
break;
}
--v17;
}
if (v9.length > 0) {
if (v4 != '') {
if (v9.length > 2) {
v21 = v9.join(',') + ',' + (v4.split(';'))[0] + ';' + v16.join(',') + ',' + (v4.split(';'))[1];
}
}
}
v11.splice(0, v11.length);
v10.splice(0, v10.length);
v9.splice(0, v9.length);
v16.splice(0, v16.length);
v7.splice(0, v7.length);
v1 = 0;
while (v1 < v13.length) {
if (v13[v1] == v20) {
break;
}
++v1;
}
v2 = 8;
while (v2 > 0) {
v9 = v13[(8 + v1 - v2) % 8].split(',');
v11.push(Number(v9[0]));
v10.push(Number(v9[1]));
--v2;
}
v9.splice(0, 2);
v2 = ori_x;
v3 = ori_y;
v7.push(v2 + ',' + v3);
v17 = 50;
v1 = 0;
while (v17 > 0) {
v12 = v2;
v14 = v3;
v5 = 0;
while (v5 < 8) {
v2 += v11[(v1 + v5) % 8];
v3 += v10[(v1 + v5) % 8];
v8 = freeT[v3][v2] == 0 || freeT[v3][v2] == 1;
v4 = v2 + ',' + v3;
v6 = 0;
while (v6 < v7.length) {
if (v7[v6] == v4) {
v8 = false;
}
++v6;
}
if (v8) {
v1 = (v1 + v5 + 7) % 8;
v7.push(v4);
v9.push(v2 * 50);
v16.push(v3 * 25);
v4 = rutaDirecta(v2, v3, des_x, des_y);
break;
} else {
v4 = '';
v2 = v12;
v3 = v14;
}
++v5;
}
if (!v8) {
break;
}
if (v4 != '') {
break;
}
--v17;
}
if (v9.length > 0) {
if (v21 == '') {
if (v4 != '') {
if (v9.length > 2) {
v21 = v9.join(',') + ',' + (v4.split(';'))[0] + ';' + v16.join(',') + ',' + (v4.split(';'))[1];
}
}
} else {
if (v4 != '') {
v22 = v9.join(',') + ',' + (v4.split(';'))[0] + ';' + v16.join(',') + ',' + (v4.split(';'))[1];
if (v22.length < v21.length) {
v21 = v22;
}
}
}
}
v1 = 0;
while (v1 < v15.length) {
freeT[v15[v1 + 1]][v15[v1]] = 0;
v1 += 2;
}
return v21;
}
function rutaDirecta(ori_x, ori_y, des_x, des_y) {
var v9 = '';
var v6 = maxRuta;
var v7 = new Array();
var v8 = new Array();
var v5 = true;
while (v6 > 0) {
if (ori_x == des_x && ori_y == des_y) {
break;
}
if (des_x > ori_x) {
++ori_x;
} else {
if (des_x < ori_x) {
--ori_x;
}
}
if (des_y > ori_y) {
++ori_y;
} else {
if (des_y < ori_y) {
--ori_y;
}
}
v5 = freeT[ori_y][ori_x] == 0 || freeT[ori_y][ori_x] == 1;
if (v5) {
v7.push(ori_x * 50);
v8.push(ori_y * 25);
} else {
break;
}
--v6;
}
if (v7.length > 0 && ori_x == des_x && ori_y == des_y) {
v9 = v7.join(',') + ';' + v8.join(',');
}
return v9;
}
function hitEffect(dX, dY, a) {
var v1 = 0;
var v9 = 0;
var v2 = new Array(0, 5, 5, 5, 0, -5, -5, -5);
var v4 = new Array(1, 1, 0, -15, -15, -15, 0, 1);
var v8 = 0;
var v7 = 0;
if (v2[a] == undefined) {
a = 0;
}
dX += v2[a];
dY += v4[a];
v1 = crearObjeto('f-224c-', 1, dX, dY, 0, '');
scriptType[v1] = 1;
scriptFrames[v1] = new Array(1, 1);
scriptAllFrames[v1] = scriptFrames[v1].join(',');
scriptActions[v1] = 'DELETE';
}
function sangrar(dX, dY, a) {
var v1 = 0;
var v9 = 0;
var v2 = new Array(-1, -5, -5, -10, 0, 5, 5, -1);
var v4 = new Array(-5, -5, 0, 0, 0, 0, 0, -5);
var v8 = 0;
var v7 = 0;
if (v2[a] == undefined) {
a = 0;
}
dX += v2[a];
dY += v4[a];
v1 = crearObjeto('f-226c-', 1, dX, dY, 0, '');
scriptType[v1] = 1;
scriptFrames[v1] = new Array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18);
scriptAllFrames[v1] = scriptFrames[v1].join(',');
scriptActions[v1] = 'DELETE';
}
function crearProyectil(objS, frameN, scriptS, cI, ang, dam, att, pre, vel, idpow, ptype, paux) {
var v7 = frameN;
var v10 = ang * Math.PI / 180;
var v3 = 0;
var v6 = 0;
var v5 = 0;
var v4 = new Array();
var v2 = 0;
v5 = charIdIndex[cI];
if (objS == 'f-225c-' || objS == 'f-238c-') {
v7 = Math.floor(((ang + 11.25) % 360) / 22.5) + 1;
if (objS == 'f-225c-') {
if (cI == charIndex) {
_parent.sonido_mc.playFX('ARROWRELEASE');
} else {
_parent.sonido_mc.playFXV('ARROWRELEASE', 60);
}
}
}
v6 = crearObjeto(objS, v7, objectX[v5], objectY[v5], objectTeam[v5], scriptS);
if (v6 != -1) {
v3 = proyectilId.length;
proyectilId[v3] = v6;
proyectilAngle[v3] = v10;
proyectilDamage[v3] = dam;
proyectilAtt[v3] = att;
proyectilPre[v3] = pre;
proyectilVel[v3] = vel;
proyectilTeam[v3] = objectTeam[v5];
proyectilOwner[v3] = cI;
proyectilColis[v3] = new Array();
proyectilPower[v3] = idpow;
proyectilType[v3] = ptype;
if (ptype != 'FOLLOWSCRIPT') {
proyectilAux[v3] = new Array(0, 0, 0, 0, 0);
} else {
proyectilAux[v3] = new Array();
}
if (paux != '') {
v4 = paux.split(',');
v2 = 0;
while (v2 < v4.length) {
if (isNaN(Number(v4[v2]))) {
proyectilAux[v3][v2] = v4[v2];
} else {
proyectilAux[v3][v2] = Number(v4[v2]);
}
++v2;
}
}
playProyectil(v3, -260 + coordenadaX, ANCHO + 260 + coordenadaX, -260 + coordenadaY, ALTO + 260 + coordenadaY);
}
return v6;
}
function borrarObjeto(iO) {
var v1 = 0;
var v3 = 0;
var v4;
v3 = objectId.length - 1;
if (iO != v3) {
v1 = 0;
while (v1 < proyectilId.length) {
if (proyectilId[v1] == v3) {
proyectilId[v1] = iO;
break;
}
++v1;
}
v1 = 0;
while (v1 < tablaBorrado.length) {
if (tablaBorrado[v1] == v3) {
tablaBorrado[v1] = iO;
break;
}
++v1;
}
v1 = 0;
while (v1 < tablaBorrado2.length) {
if (tablaBorrado2[v1] == v3) {
tablaBorrado2[v1] = iO;
break;
}
++v1;
}
if (currentLoot == objectId.length - 1) {
currentLoot = iO;
}
if (objetivo.length == 1) {
if (Number(objetivo[0]) == objectId.length - 1) {
objetivo[0] = iO;
}
}
if (activeObjs[objectId.length - 1]) {
activeObjs[iO] = 1;
}
objectId[iO] = objectId.pop();
objectX[iO] = objectX.pop();
objectY[iO] = objectY.pop();
objectFrame[iO] = objectFrame.pop();
objectSelect[iO] = objectSelect.pop();
objectLayer[iO] = objectLayer.pop();
objectMC[iO] = objectMC.pop();
objectItems[iO] = objectItems.pop();
objectHP[iO] = objectHP.pop();
objectMaxHP[iO] = objectMaxHP.pop();
objectTeam[iO] = objectTeam.pop();
objectDesc[iO] = objectDesc.pop();
objectAlpha[iO] = objectAlpha.pop();
objectScripts[iO] = objectScripts.pop();
scriptType[iO] = scriptType.pop();
scriptFrames[iO] = scriptFrames.pop();
scriptAllFrames[iO] = scriptAllFrames.pop();
scriptActions[iO] = scriptActions.pop();
} else {
objectId.pop();
objectX.pop();
objectY.pop();
objectFrame.pop();
objectSelect.pop();
objectLayer.pop();
objectMC.pop();
objectItems.pop();
objectHP.pop();
objectMaxHP.pop();
objectTeam.pop();
objectDesc.pop();
objectAlpha.pop();
objectScripts.pop();
scriptType.pop();
scriptFrames.pop();
scriptAllFrames.pop();
scriptActions.pop();
}
}
function crearObjeto(s, f, pX, pY, t, auxScript) {
var v1 = 0;
var v5 = 0;
var v4 = 0;
var v3 = 0;
var v2 = new Array();
v1 = objectId.length;
objectId[v1] = s;
objectX[v1] = pX;
objectY[v1] = pY;
objectFrame[v1] = f;
objectSelect[v1] = 0;
objectLayer[v1] = 1;
objectMC[v1] = false;
objectItems[v1] = '';
objectHP[v1] = 0;
objectMaxHP[v1] = 0;
objectTeam[v1] = t;
objectDesc[v1] = '';
objectAlpha[v1] = 255;
minAlpha[v1] = 100;
multiPart[v1] = new Array();
objectScripts[v1] = new Array();
if (auxScript != '') {
objectScripts[v1] = auxScript.split(' - ');
v2 = objectScripts[v1][0].split('.');
if (v2[2] == 'REPEAT') {
scriptType[v1] = 0;
} else {
if (v2[2] == 'PLAY') {
scriptType[v1] = 1;
}
}
scriptFrames[v1] = new Array();
scriptFrames[v1] = v2[3].split(',');
scriptAllFrames[v1] = v2[3];
scriptActions[v1] = v2[4];
activeObjs[v1] = 1;
return v1;
}
scriptType[v1] = -1;
scriptFrames[v1] = new Array();
scriptAllFrames[v1] = '1';
scriptActions[v1] = '';
activeObjs[v1] = 1;
return v1;
}
function createObjectBitmap(auxframe, auxconfig, auxframes, cacheB, ite, nP) {
var v2 = new Array();
var v3 = new String('');
var v12 = 0;
var v4;
var v5 = new flash.geom.Matrix();
var v6 = 0;
processC = 0;
v3 = 'f-' + auxframe + 'c-' + (auxconfig.split(',')).join('-');
switch (processX) {
case -2:
object_mc.gotoAndStop(auxframe);
if (cacheB) {
if (_parent.cacheBitmap[v3]) {
pCargaFrames += (auxframes.split(',')).length;
v6 = 1;
} else {
_parent.cacheBitmap[v3] = new Array();
_parent.cacheX[v3] = new Array();
_parent.cacheY[v3] = new Array();
_parent.cacheAncho[v3] = new Array();
_parent.cacheAlto[v3] = new Array();
}
_parent.cacheTime[v3] = getTimer();
} else {
if (_parent.objectBitmap[v3]) {
pCargaFrames += (auxframes.split(',')).length;
v6 = 1;
} else {
_parent.objectBitmap[v3] = new Array();
_parent.objectaX[v3] = new Array();
_parent.objectaY[v3] = new Array();
_parent.objectAncho[v3] = new Array();
_parent.objectAlto[v3] = new Array();
}
}
if (v6 == 0) {
++processX;
}
processC = nP;
return v6;
case -1:
object_mc.object_mc.setConfig(auxconfig);
if (object_mc.shadow_mc) {
object_mc.shadow_mc.setConfig(auxconfig);
}
++processX;
processC = nP;
return v6;
}
while (ite > 0) {
v2 = auxframes.split(',');
object_mc.object_mc.goTo(v2[processX]);
v5 = new flash.geom.Matrix();
if (object_mc.shadow_mc) {
object_mc.shadow_mc.goTo(v2[processX]);
}
if (cacheB) {
_parent.cacheBitmap[v3][v2[processX]] = new flash.display.BitmapData(Math.ceil(object_mc._width), Math.ceil(object_mc._height), true, 0);
v4 = object_mc.getBounds(object_mc);
v5.translate(-Math.ceil(v4.xMin), -Math.ceil(v4.yMin));
_parent.cacheBitmap[v3][v2[processX]].draw(object_mc, v5);
_parent.cacheX[v3][v2[processX]] = Math.ceil(v4.xMin);
_parent.cacheY[v3][v2[processX]] = Math.ceil(v4.yMin);
_parent.cacheAncho[v3][v2[processX]] = Math.ceil(object_mc._width);
_parent.cacheAlto[v3][v2[processX]] = Math.ceil(object_mc._height);
++processX;
++pCargaFrames;
} else {
_parent.objectBitmap[v3][v2[processX]] = new flash.display.BitmapData(Math.ceil(object_mc._width), Math.ceil(object_mc._height), true, 0);
v4 = object_mc.getBounds(object_mc);
v5.translate(-Math.ceil(v4.xMin), -Math.ceil(v4.yMin));
_parent.objectBitmap[v3][v2[processX]].draw(object_mc, v5);
_parent.objectaX[v3][v2[processX]] = Math.ceil(v4.xMin);
_parent.objectaY[v3][v2[processX]] = Math.ceil(v4.yMin);
_parent.objectAncho[v3][v2[processX]] = Math.ceil(object_mc._width);
_parent.objectAlto[v3][v2[processX]] = Math.ceil(object_mc._height);
++processX;
++pCargaFrames;
}
if (processX >= v2.length) {
processX = -2;
v6 = 1;
break;
}
--ite;
}
processC = nP;
return v6;
}
function asignarObjeto(i, s) {
var v8 = new Array();
var v10 = 0;
var v6 = 0;
var v3 = 0;
var v7 = 0;
var v5 = 0;
var v4 = 0;
var v9 = 0;
objectId[i] = s;
objectX[i] = object[i].cX * 50;
objectY[i] = object[i].cY * 25;
objectFrame[i] = (object[i].frames.split(','))[0];
objectSelect[i] = object[i].select;
objectLayer[i] = object[i].layer;
objectMC[i] = object[i].mc;
objectItems[i] = object[i].items;
objectHP[i] = object[i].hp;
objectMaxHP[i] = objectHP[i];
if (object[i].maxHP != undefined) {
objectMaxHP[i] = object[i].maxHP;
}
if (object[i].team != undefined) {
objectTeam[i] = object[i].team;
} else {
objectTeam[i] = 0;
}
if (object[i].desc != undefined) {
objectDesc[i] = object[i].desc;
} else {
objectDesc[i] = '';
}
objectAlpha[i] = 255;
minAlpha[i] = 100;
multiPart[i] = new Array();
if (object[i].scripts != '') {
objectScripts[i] = object[i].scripts.split(' - ');
v8 = objectScripts[i][0].split('.');
if (v8[0] == '') {
if (v8[2] == 'STOP') {
objectFrame[i] = Number((v8[3].split(','))[0]);
} else {
if (v8[2] == 'REPEAT') {
scriptType[i] = 0;
} else {
if (v8[2] == 'PLAY') {
scriptType[i] = 1;
}
}
scriptFrames[i] = new Array();
scriptFrames[i] = v8[3].split(',');
scriptAllFrames[i] = v8[3];
scriptActions[i] = v8[4];
}
} else {
scriptType[i] = -1;
scriptFrames[i] = new Array();
scriptAllFrames[i] = '1';
scriptActions[i] = '';
}
}
if (i < objectCount && i > 0) {
v5 = Math.floor((objectY[i] + _parent.objectaY[objectId[i]][objectFrame[i]]) / avSize);
v6 = Math.floor((objectX[i] + _parent.objectaX[objectId[i]][objectFrame[i]]) / avSize);
if (v5 < 0) {
v5 = 0;
}
if (v6 < 0) {
v6 = 0;
}
v4 = Math.ceil((objectY[i] + _parent.objectaY[objectId[i]][objectFrame[i]] + _parent.objectAlto[objectId[i]][objectFrame[i]]) / avSize);
v3 = Math.ceil((objectX[i] + _parent.objectaX[objectId[i]][objectFrame[i]] + _parent.objectAncho[objectId[i]][objectFrame[i]]) / avSize);
v9 = v4 - v5;
v7 = v3 - v6;
if (isNaN(v5)) {
v5 = Math.floor(objectY[i] / avSize);
v6 = Math.floor(objectX[i] / avSize);
v9 = 1;
v7 = 1;
trace('valor de n no valido ' + objectId[i] + ' ' + v5 + ',' + v6);
}
v4 = 0;
while (v4 < v9) {
v3 = 0;
while (v3 < v7) {
activeVarsZ[v5 + v4][v6 + v3].push(i);
++v3;
}
++v4;
}
} else {
v5 = Math.floor(objectY[i] / avSize2);
v6 = Math.floor(objectX[i] / avSize2);
activeVarsZ2[v5][v6].push(i);
}
}
function porcentajeCarga(pBase) {
var v2 = 0;
v2 = (pCargaFrames / pCargaTotalFrames) * (1 - pBase) + pBase;
if (v2 > 1) {
v2 = 1;
}
_parent.uiload_mc.setPorc(Math.floor(v2 * 99));
}
function loadMapTerrain(nP) {
processC = 0;
trace('Cargando terreno');
var v6 = new Array();
var v4 = new Array();
var v8 = '';
var v2 = 0;
var v7 = 0;
var v3 = 0;
var v5 = 0;
v8 = _parent.terrainData;
v6 = v8.split(';');
v2 = 0;
while (v2 < v6.length) {
terrain[v2] = new Array();
terrain[v2] = v6[v2].split(',');
++v2;
}
v2 = 0;
while (v2 < terrain.length) {
v3 = 0;
while (v3 < terrain[v2].length) {
terrain[v2][v3] = Number(terrain[v2][v3]);
++v3;
}
++v2;
}
v7 = Math.ceil(terrain.length * 200 / avSize);
v5 = Math.ceil(terrain[0].length * 200 / avSize);
v2 = 0;
while (v2 < v7) {
activeVarsZ[v2] = new Array();
v3 = 0;
while (v3 < v5) {
activeVarsZ[v2][v3] = new Array();
++v3;
}
++v2;
}
v7 = Math.ceil(terrain.length * 200 / avSize2);
v5 = Math.ceil(terrain[0].length * 200 / avSize2);
v2 = 0;
while (v2 < v7) {
activeVarsZ2[v2] = new Array();
v3 = 0;
while (v3 < v5) {
activeVarsZ2[v2][v3] = new Array();
++v3;
}
++v2;
}
waterTerrain = Number(_parent.waterData);
v8 = _parent.limitData;
v6 = v8.split('_');
v2 = 0;
while (v2 < v6.length) {
v4 = v6[v2].split(':');
minLX.push(Number(v4[0]));
minLY.push(Number(v4[1]));
maxLX.push(Number(v4[2]));
maxLY.push(Number(v4[3]));
v3 = minLX.length - 1;
miniMap[v2] = new flash.display.BitmapData((maxLX[v3] - minLX[v3] + 1) * 16 + 96, (maxLY[v3] - minLY[v3]) * 16 + 96, false, 4286611584.0);
++v2;
}
v2 = 0;
while (v2 < terrain.length) {
waterFlag[v2] = new Array();
++v2;
}
b = false;
v2 = 0;
while (v2 < terrain.length) {
v3 = 0;
while (v3 < terrain[0].length) {
if (terrain[v2][v3] == waterTerrain || buscar(overWater, terrain[v2][v3]) != -1) {
b = true;
waterFlag[v2][v3] = true;
} else {
waterFlag[v2][v3] = false;
}
++v3;
}
++v2;
}
if (!b) {
waterTerrain = -1;
}
processC = nP + 1;
}
function buscarObjeto(auxF, auxX, auxY) {
var v2 = -1;
var v1 = 0;
v1 = 0;
while (v1 < object.length) {
if (object[v1].frame == auxF) {
if (object[v1].cX == auxX) {
if (object[v1].cY == auxY) {
v2 = v1;
break;
}
}
}
++v1;
}
return v2;
}
function loadMapObjects(nP) {
processC = 0;
trace('Cargando objetos');
var v8 = new Array();
var v5 = new Array();
var v3 = new Array();
var v7 = '';
var v10 = '';
var v9 = '';
var v11 = '';
var v2 = 0;
var v6 = 0;
var v4 = 0;
v8 = _parent.totalAbilities.split(',');
object.push({'frame': _parent.pjGender, 'mc': true, 'config': _parent.pjConfig01, 'team': 1, 'frames': '9', 'cX': 5, 'cY': 5, 'layer': 1, 'select': 0, 'items': '', 'scripts': '', 'hp': _parent.initHP, 'maxHP': Number(v8[3])});
if (_parent.currentWeapon == 2) {
object[0].config = _parent.pjConfig02;
}
asignarObjeto(0, 'f-' + object[0].frame + 'c-' + (object[0].config.split(',')).join('-'));
v7 = _parent.objectData;
v8 = v7.split('_');
objectCount = v8.length + 1;
v10 = 'f32f33f34f35f36f96f110f111f108f109f50f51f52f54f60f66f70f';
v9 = 'f20f21f22f23f26f27f50f51f52f53f54f55f60f62f66f70f120f121f122f123f124f125f126f127f128f129f132f133f134f135f136f137f138f139f140f141f150f151f152f153f154f155f';
v11 = 'f50f51f52f54f60f62f66f70f';
alphaObj = new Array(objectCount);
v2 = 0;
while (v2 < v8.length) {
v5 = v8[v2].split(':');
if (v5[1] == 'true') {
object.push({'frame': Number(v5[0]), 'mc': true, 'config': v5[2], 'frames': v5[3], 'cX': Number(v5[4]), 'cY': Number(v5[5]), 'layer': Number(v5[6]), 'select': Number(v5[8]), 'items': v5[9], 'scripts': v5[10], 'hp': Number(v5[7])});
v7 = 'f-' + object[object.length - 1].frame + 'c-' + (object[object.length - 1].config.split(',')).join('-');
fillItem(object.length - 1);
asignarObjeto(object.length - 1, v7);
if (v10.indexOf(String('f' + v5[0] + 'f')) != -1) {
auxLoad.push(object.length - 1);
}
if (v9.indexOf(String('f' + v5[0] + 'f')) != -1) {
alphaObj[object.length - 1] = 1;
}
if (v11.indexOf(String('f' + v5[0] + 'f')) != -1) {
v3.push(object.length - 1);
}
} else {
object.push({'frame': Number(v5[0]), 'mc': false, 'config': v5[2], 'frames': v5[3], 'cX': Number(v5[4]), 'cY': Number(v5[5]), 'layer': Number(v5[6]), 'select': Number(v5[8]), 'items': v5[9], 'scripts': v5[10], 'hp': Number(v5[7])});
v7 = 'f-' + object[object.length - 1].frame + 'c-' + (object[object.length - 1].config.split(',')).join('-');
fillItem(object.length - 1);
asignarObjeto(object.length - 1, v7);
if (v10.indexOf(String('f' + v5[0] + 'f')) != -1) {
auxLoad.push(object.length - 1);
}
if (v9.indexOf(String('f' + v5[0] + 'f')) != -1) {
alphaObj[object.length - 1] = 1;
}
if (v11.indexOf(String('f' + v5[0] + 'f')) != -1) {
v3.push(object.length - 1);
}
}
++v2;
}
v2 = 0;
while (v2 < v3.length) {
switch (object[v3[v2]].frame) {
case 50:
v4 = buscarObjeto(56, object[v3[v2]].cX + 7, object[v3[v2]].cY + 1);
if (v4 != -1) {
multiPart[v3[v2]].push(v4);
}
v4 = buscarObjeto(58, object[v3[v2]].cX + 7, object[v3[v2]].cY);
if (v4 != -1) {
multiPart[v3[v2]].push(v4);
}
minAlpha[v3[v2]] = 160;
break;
case 51:
v4 = buscarObjeto(57, object[v3[v2]].cX + 4, object[v3[v2]].cY + 1);
if (v4 != -1) {
multiPart[v3[v2]].push(v4);
}
v4 = buscarObjeto(59, object[v3[v2]].cX + 4, object[v3[v2]].cY + 1);
if (v4 != -1) {
multiPart[v3[v2]].push(v4);
}
minAlpha[v3[v2]] = 160;
break;
case 52:
v4 = buscarObjeto(53, object[v3[v2]].cX - 13, object[v3[v2]].cY - 4);
if (v4 != -1) {
multiPart[v3[v2]].push(v4);
}
v4 = buscarObjeto(56, object[v3[v2]].cX - 2, object[v3[v2]].cY + 1);
if (v4 != -1) {
multiPart[v3[v2]].push(v4);
}
v4 = buscarObjeto(58, object[v3[v2]].cX - 2, object[v3[v2]].cY);
if (v4 != -1) {
multiPart[v3[v2]].push(v4);
}
minAlpha[v3[v2]] = 160;
break;
case 54:
v4 = buscarObjeto(55, object[v3[v2]].cX + 11, object[v3[v2]].cY - 4);
if (v4 != -1) {
multiPart[v3[v2]].push(v4);
}
v4 = buscarObjeto(57, object[v3[v2]].cX + 4, object[v3[v2]].cY + 1);
if (v4 != -1) {
multiPart[v3[v2]].push(v4);
}
v4 = buscarObjeto(59, object[v3[v2]].cX + 4, object[v3[v2]].cY + 1);
if (v4 != -1) {
multiPart[v3[v2]].push(v4);
}
minAlpha[v3[v2]] = 160;
break;
case 60:
v4 = buscarObjeto(61, object[v3[v2]].cX + 4, object[v3[v2]].cY + 1);
if (v4 != -1) {
multiPart[v3[v2]].push(v4);
}
v4 = buscarObjeto(75, object[v3[v2]].cX + 4, object[v3[v2]].cY + 1);
if (v4 != -1) {
multiPart[v3[v2]].push(v4);
objectX[v4] = -5000;
objectY[v4] = -5000;
}
minAlpha[v3[v2]] = 160;
break;
break;
case 62:
case 66:
v4 = buscarObjeto(63, object[v3[v2]].cX + 1, object[v3[v2]].cY);
if (v4 != -1) {
multiPart[v3[v2]].push(v4);
}
v4 = buscarObjeto(64, object[v3[v2]].cX + 3, object[v3[v2]].cY + 3);
if (v4 != -1) {
multiPart[v3[v2]].push(v4);
}
v4 = buscarObjeto(65, object[v3[v2]].cX + 7, object[v3[v2]].cY);
if (v4 != -1) {
multiPart[v3[v2]].push(v4);
}
v4 = buscarObjeto(67, object[v3[v2]].cX + 1, object[v3[v2]].cY);
if (v4 != -1) {
multiPart[v3[v2]].push(v4);
}
break;
case 70:
v4 = buscarObjeto(72, object[v3[v2]].cX + 1, object[v3[v2]].cY);
if (v4 != -1) {
multiPart[v3[v2]].push(v4);
}
v4 = buscarObjeto(68, object[v3[v2]].cX - 3, object[v3[v2]].cY + 3);
if (v4 != -1) {
multiPart[v3[v2]].push(v4);
}
v4 = buscarObjeto(69, object[v3[v2]].cX - 1, object[v3[v2]].cY);
if (v4 != -1) {
multiPart[v3[v2]].push(v4);
}
v4 = buscarObjeto(71, object[v3[v2]].cX + 1, object[v3[v2]].cY);
if (v4 != -1) {
multiPart[v3[v2]].push(v4);
}
}
v6 = 0;
while (v6 < multiPart[v3[v2]].length) {
if (alphaObj[multiPart[v3[v2]][v6]]) {
minAlpha[multiPart[v3[v2]][v6]] = minAlpha[v3[v2]];
multiPart[multiPart[v3[v2]][v6]].push(v3[v2]);
v4 = 0;
while (v4 < multiPart[v3[v2]].length) {
if (v4 != v6) {
multiPart[multiPart[v3[v2]][v6]].push(multiPart[v3[v2]][v4]);
}
++v4;
}
}
++v6;
}
++v2;
}
processC = nP + 1;
}
function fillItem(indI) {
processC = 0;
var v5 = 0;
var v4 = 0;
var v7 = 0;
var v6 = new Array();
var v3 = new Array();
var v2 = new Array();
var v8 = new Array(2, 3, 4, 6, 7, 9, 12, 16, 18, 18, 20, 22, 22, 22, 22, 22, 22, 22, 22, 22, 6, 14, 2);
v8[99] = 1;
v8[100] = 5;
v8[101] = 16;
v8[102] = 12;
v8[103] = 9;
v8[104] = 18;
v8[105] = 18;
v8[106] = 18;
var v9 = _parent.currentXPLevel;
if (v8[_parent.currentMap] != undefined) {
v9 = v8[_parent.currentMap];
}
if (_parent.gameDif == 2) {
v9 = Math.round(_parent.currentXPLevel * 1.5);
}
if (object[indI].items != '') {
if (object[indI].team != 2 && object[indI].hp > 0) {
_parent.generateHighML = 1;
v6 = object[indI].items.split(';');
v7 = v6.length;
v5 = 0;
while (v5 < v7) {
v3 = v6[v5].split(' ');
v2.splice(0, v2.length);
v4 = Math.random();
if (v3[1] == 'CLVL') {
v3[1] = v9;
}
switch (v3[0]) {
case 'REGULAR-':
v6.splice(v5, 1);
--v5;
--v7;
if (v4 < 0.2) {
v2.push('GOLD ' + v3[1]);
}
break;
case 'REGULAR':
v6.splice(v5, 1);
--v5;
--v7;
if (v4 < 0.15) {
v2.push('GOLD ' + v3[1]);
} else {
if (v4 < 0.2) {
v2.push('POTION 1');
} else {
if (v4 < 0.23) {
v2.push('POTION 2');
} else {
if (v4 < 0.26) {
v2.push('POTION 3');
}
}
}
}
break;
case 'REGULAR+':
v6.splice(v5, 1);
--v5;
--v7;
if (v4 < 0.2) {
v2.push('GOLD ' + v3[1]);
} else {
if (v4 < 0.3) {
v2.push('GOLD ' + v3[1]);
v2.push('POTION 0');
} else {
if (v4 < 0.33) {
v2.push('GOLD ' + v3[1]);
v2.push('POTION 3');
}
}
}
break;
case 'GOOD':
v6.splice(v5, 1);
--v5;
--v7;
v2.push('ANY++ ' + v3[1]);
if (v4 < 0.2) {
v2.push('ANY++ ' + v3[1]);
v2.push('GOLD+ ' + v3[1]);
v2.push('POTION 0');
} else {
if (v4 < 0.4) {
v2.push('GOLD++ ' + v3[1]);
v2.push('POTION 0');
} else {
if (v4 < 0.6) {
v2.push('POTION 3');
v2.push('POTION 3');
} else {
if (v4 < 0.8) {
v2.push('POTION 3');
v2.push('POTION 0');
} else {
v2.push('RANDOM ' + v3[1]);
}
}
}
}
break;
case 'GOOD+':
v6.splice(v5, 1);
--v5;
--v7;
v2.push('ANY++ ' + v3[1]);
if (v4 < 0.1) {
v2.push('ANY++ ' + v3[1]);
v2.push('ANY++ ' + v3[1]);
v2.push('GOLD+ ' + v3[1]);
v2.push('POTION 0');
} else {
if (v4 < 0.2) {
v2.push('ANY+ ' + v3[1]);
v2.push('ANY+ ' + v3[1]);
v2.push('POTION 0');
} else {
if (v4 < 0.5) {
v2.push('ANY+ ' + v3[1]);
v2.push('GOLD+ ' + v3[1]);
} else {
if (v4 < 0.8) {
v2.push('ANY ' + v3[1]);
v2.push('GOLD+ ' + v3[1]);
} else {
v2.push('GOLD+ ' + v3[1]);
}
}
}
}
break;
case 'TESORO':
v6.splice(v5, 1);
--v5;
--v7;
v2.push('ANY++ ' + v3[1]);
v2.push('ANY++ ' + v3[1]);
v2.push('ANY++ ' + v3[1]);
v2.push('GOLD++ ' + v3[1]);
v2.push('GOLD++ ' + v3[1]);
v2.push('GOLD++ ' + v3[1]);
v2.push('POTION 0');
v2.push('POTION 0');
v2.push('POTION 3');
v2.push('POTION 3');
break;
case 'TESORO+':
v6.splice(v5, 1);
--v5;
--v7;
v2.push('RELIC ' + v3[1]);
v2.push('RELIC ' + v3[1]);
v2.push('GOLD++ ' + v3[1]);
v2.push('GOLD++ ' + v3[1]);
v2.push('GOLD++ ' + v3[1]);
v2.push('POTION 0');
v2.push('POTION 0');
v2.push('POTION 3');
v2.push('POTION 3');
v2.push('POTION 3');
}
v4 = 0;
while (v4 < v2.length) {
v6.push(v2[v4]);
++v4;
}
++v5;
}
v5 = 0;
while (v5 < v6.length) {
v6[v5] = _parent.instanciarItem(v6[v5]);
++v5;
}
object[indI].items = v6.join(';');
} else {
lootTable.push(indI);
}
}
}
function processLootTable() {
var v8 = 0;
var v12 = 0;
var v11 = new Array();
var v13 = new Array();
var v14 = new Array();
var v10 = '';
var v5 = 0;
var v3 = 0;
var v7 = 0;
var v6 = new Array();
var v4 = new Array();
var v2 = new Array();
var v15 = new Array(2, 3, 4, 6, 7, 9, 12, 16, 18, 18, 20, 22, 22, 22, 22, 22, 22, 22, 22, 22, 6, 14, 2);
v15[99] = 1;
v15[100] = 5;
v15[101] = 16;
v15[102] = 12;
v15[103] = 9;
v15[104] = 18;
v15[105] = 18;
v15[106] = 18;
var v9 = _parent.currentXPLevel;
if (v15[_parent.currentMap] != undefined) {
v9 = v15[_parent.currentMap];
}
if (_parent.gameDif == 2) {
v9 = Math.round(_parent.currentXPLevel * 1.5);
}
_parent.generateHighML = 0;
while (lootTable.length > 0) {
v8 = Number(lootTable.shift());
v6 = object[v8].items.split(';');
v7 = v6.length;
v5 = 0;
while (v5 < v7) {
v4 = v6[v5].split(' ');
v2.splice(0, v2.length);
v3 = Math.random();
if (v4[1] == 'CLVL') {
v4[1] = v9;
}
switch (v4[0]) {
case 'REGULAR-':
v6.splice(v5, 1);
--v5;
--v7;
if (v3 < 0.2) {
v2.push('GOLD ' + v4[1]);
}
break;
case 'REGULAR':
v6.splice(v5, 1);
--v5;
--v7;
if (v3 < 0.15) {
v2.push('GOLD ' + v4[1]);
} else {
if (v3 < 0.2) {
v2.push('POTION 1');
} else {
if (v3 < 0.24) {
v2.push('POTION 2');
} else {
if (v3 < 0.29) {
v2.push('POTION 3');
}
}
}
}
break;
case 'REGULAR+':
v6.splice(v5, 1);
--v5;
--v7;
if (v3 < 0.2) {
v2.push('GOLD ' + v4[1]);
} else {
if (v3 < 0.3) {
v2.push('GOLD ' + v4[1]);
v2.push('POTION 0');
} else {
if (v3 < 0.35) {
v2.push('GOLD ' + v4[1]);
v2.push('POTION 3');
}
}
}
break;
case 'GOOD':
v6.splice(v5, 1);
--v5;
--v7;
v2.push('GOLD+ ' + v4[1]);
if (v3 < 0.1) {
v2.push('POTION 0');
} else {
if (v3 < 0.4) {
v2.push('POTION 3');
}
}
v11.push(v8);
v12 += 3;
break;
case 'ANY':
v6.splice(v5, 1);
--v5;
--v7;
if (v3 < 0.1) {
v2.push('POTION 0');
} else {
if (v3 < 0.2) {
v2.push('POTION 3');
} else {
if (v3 < 0.3) {
v2.push('GOLD ' + v4[1]);
v2.push('GOLD ' + v4[1]);
v2.push('POTION 0');
v2.push('POTION 3');
} else {
v2.push('GOLD ' + v4[1]);
}
}
}
v11.push(v8);
++v12;
break;
case 'ANY+':
v6.splice(v5, 1);
--v5;
--v7;
v2.push('GOLD ' + v4[1]);
if (v3 < 0.1) {
v2.push('POTION 0');
} else {
if (v3 < 0.3) {
v2.push('POTION 3');
} else {
if (v3 < 0.5) {
v2.push('GOLD+ ' + v4[1]);
v2.push('POTION 0');
v2.push('POTION 0');
v2.push('POTION 3');
}
}
}
v11.push(v8);
v12 += 2;
break;
case 'ANY++':
v6.splice(v5, 1);
--v5;
--v7;
v2.push('GOLD+ ' + v4[1]);
if (v3 < 0.1) {
v2.push('POTION 0');
} else {
if (v3 < 0.4) {
v2.push('POTION 0');
v2.push('POTION 0');
v2.push('POTION 3');
} else {
if (v3 < 0.6) {
v2.push('GOLD+ ' + v4[1]);
v2.push('POTION 0');
v2.push('POTION 3');
v2.push('POTION 3');
}
}
}
v11.push(v8);
v12 += 3;
break;
case 'TESORO':
v6.splice(v5, 1);
--v5;
--v7;
v2.push('ANY++ ' + v4[1]);
v2.push('ANY++ ' + v4[1]);
v2.push('ANY++ ' + v4[1]);
v2.push('GOLD++ ' + v4[1]);
v2.push('GOLD++ ' + v4[1]);
v2.push('GOLD++ ' + v4[1]);
v2.push('POTION 0');
v2.push('POTION 0');
v2.push('POTION 3');
v2.push('POTION 3');
break;
case 'TESORO+':
v6.splice(v5, 1);
--v5;
--v7;
v2.push('RELIC ' + v4[1]);
v2.push('RELIC ' + v4[1]);
v2.push('RELIC ' + v4[1]);
v2.push('GOLD++ ' + v4[1]);
v2.push('GOLD++ ' + v4[1]);
v2.push('GOLD++ ' + v4[1]);
v2.push('POTION 0');
v2.push('POTION 0');
v2.push('POTION 3');
v2.push('POTION 3');
v2.push('POTION 3');
}
v3 = 0;
while (v3 < v2.length) {
v6.push(v2[v3]);
++v3;
}
++v5;
}
v5 = 0;
while (v5 < v6.length) {
v6[v5] = _parent.instanciarItem(v6[v5]);
++v5;
}
object[v8].items = v6.join(';');
objectItems[v8] = object[v8].items;
}
trace('total de niveles magicos: ' + v12 + ' generados por ' + (v11.length + v14.length) + ' contenedores');
v5 = v11.length;
if (v5 > 6) {
v5 = 6;
}
v7 = v12 / v5;
while (v5 > 0) {
--v5;
if (v14.length > 0) {
v13.push(v14.splice(0, 1));
} else {
i = Math.floor(Math.random() * v11.length);
v13.push(v11.splice(i, 1));
}
}
trace('numero de contenedores reducidos a ' + v13.length + ' ' + v13[0]);
while (v13.length > 0) {
v8 = v13[0];
v13.shift();
v3 = Math.random();
if (v7 < 2) {
if (v3 < 0.4) {
v10 = _parent.instanciarItem('MAGIC ' + v9);
} else {
if (v3 < 0.8) {
v10 = _parent.instanciarItem('GRAND ' + v9);
} else {
if (v3 < 0.96) {
v10 = _parent.instanciarItem('ANCIENT ' + v9);
} else {
v10 = _parent.instanciarItem('RELIC ' + v9);
}
}
}
} else {
if (v7 < 3) {
if (v3 < 0.15) {
v10 = _parent.instanciarItem('MAGIC ' + v9);
} else {
if (v3 < 0.6) {
v10 = _parent.instanciarItem('GRAND ' + v9);
} else {
if (v3 < 0.95) {
v10 = _parent.instanciarItem('ANCIENT ' + v9);
} else {
v10 = _parent.instanciarItem('RELIC ' + v9);
}
}
}
} else {
if (v3 < 0.15) {
v10 = _parent.instanciarItem('MAGIC ' + v9);
} else {
if (v3 < 0.3) {
v10 = _parent.instanciarItem('GRAND ' + v9);
} else {
if (v3 < 0.9) {
v10 = _parent.instanciarItem('ANCIENT ' + v9);
} else {
v10 = _parent.instanciarItem('RELIC ' + v9);
}
}
}
}
}
v6 = object[v8].items.split(';');
v6.unshift(v10);
object[v8].items = v6.join(';');
objectItems[v8] = object[v8].items;
trace('loot generado: ' + v10 + ' para ' + v8);
}
}
function fillAditionalObj() {
var v5 = new Array();
var v2 = new Array();
var v4 = 0;
var v3 = 0;
v5 = _parent.aditionalObj.split(':');
v4 = 0;
while (v4 < v5.length) {
v2 = v5[v4].split('.');
if (v2[0] == '228') {
v3 = crearObjeto('f-228c-', Number(v2[1]), Number(v2[2]), Number(v2[3]), 0, '');
objectLayer[v3] = -1;
}
if (v2[0] == '18') {
v3 = crearObjeto('f-18c-', Number(v2[1]), Number(v2[2]), Number(v2[3]), 0, '');
objectLayer[v3] = -1000;
objectDesc[v3] = 'Loot';
objectSelect[v3] = 2;
objectItems[v3] = v2[4];
}
++v4;
}
}
function createNPCs(nP, indS) {
processC = 0;
var v19 = 0;
var v8 = 0;
var v11 = 0;
var v4 = 0;
var v13 = 0;
var v2 = 0;
var v17 = 0;
var v16 = 0;
var v15 = 0;
var v14 = 0;
var v6 = 0;
var v5 = 0;
var v3 = new String('');
var v7 = new Array();
var v18 = new Array();
var v12 = new Object();
var v10 = new Array();
var v9 = new Array();
var v21 = new Array(-1, 0, 1, 2, -1, 0, 1, 2, -1, 0, 1, 2, -1, 0, 1, 2);
var v20 = new Array(-1, -1, -1, -1, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2);
v9.push('0,5,2,7,8,13,10,15,4,1,6,3,12,9,14,11');
v9.push('4,1,6,3,12,9,14,11,0,5,2,7,8,13,10,15');
v9.push('0,5,6,3,8,11,13,14,4,1,2,7,12,9,10,15');
v9.push('4,1,2,7,12,9,10,15,0,5,6,3,8,11,13,14');
v9.push('4,5,6,3,11,14,13,12,0,1,2,7,8,9,10,15');
v9.push('5,9,10,6,0,3,12,15,4,8,7,11,1,2,13,14');
v9.push('5,13,6,14,8,3,11,0,1,9,2,10,12,15,4,7');
v9.push('4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3');
v8 = 0;
while (v8 < terrain.length * 8) {
freeO[v8] = new Array();
v11 = 0;
while (v11 < terrain[0].length) {
freeO[v8][v11] = 0;
++v11;
}
++v8;
}
freeO[object[0].cY][object[0].cX] = 1;
v18 = indS.split(',');
v15 = 0;
while (v15 < v18.length) {
v8 = Number(v18[v15]);
v11 = Number(v18[v15 + 1]);
v10 = zone[v8][v11].split(';');
if ((v10[1].split(' '))[0] == 'MONSTER') {
v17 = Number((v10[1].split(' '))[1]);
v14 = Number((v10[1].split(' '))[2]);
v19 = _parent.monsterBD[v17].length;
v10 = v9[Math.floor(Math.random() * v9.length)].split(',');
v13 = 0;
while (v13 < v19) {
v4 = Number(v10.shift());
v6 = v11 + v21[v4];
v5 = v8 + v20[v4];
v3 = _parent.monsterBD[v17][v13];
if ((freeT[v5][v6] == 0 || freeT[v5][v6] == 1) && !freeO[v5][v6]) {
freeO[v5][v6] = charIdIndex.length + 1;
charIdIndex.push(object.length);
v2 = charIdIndex.length - 1;
charActionArray[v2] = new Array();
charAttack[v2] = new Array();
charStats[v2] = new Array();
charDX[v2] = new Array();
charDY[v2] = new Array();
charClass[v2] = _parent.npcBD[v3][0];
charAI[v2] = _parent.npcBD[v3][1];
charAngle[v2] = 0;
charDefaultAction[v2] = _parent.npcBD[v3][2];
charAction[v2] = charDefaultAction[v2];
charTarget[v2] = -1;
charPoX[v2] = v6;
charPoY[v2] = v5;
charType[v2] = v3;
charGuard[v2] = '';
v7 = _parent.npcBD[v3][3].split('.');
v4 = 0;
while (v4 < v7.length) {
charAttack[v2].push(v7[v4]);
charAttack[v2].push(Number(v7[v4 + 1]));
charAttack[v2].push(Number(v7[v4 + 2]));
charAttack[v2].push(Number(v7[v4 + 3]));
charAttack[v2].push(Number(v7[v4 + 4]));
v4 += 5;
}
charStats[v2].push(_parent.npcBD[v3][4]);
charStats[v2].push(_parent.npcBD[v3][5]);
charStats[v2].push(_parent.npcBD[v3][6]);
object.push({'frame': _parent.npcBD[v3][7], 'mc': true, 'desc': _parent.npcBD[v3][12], 'team': v14, 'config': _parent.npcBD[v3][8], 'frames': _parent.npcBD[v3][9], 'cX': v6, 'cY': v5, 'layer': 1, 'select': 6, 'items': _parent.npcBD[v3][10], 'scripts': '', 'hp': _parent.npcBD[v3][11]});
v3 = 'f-' + object[object.length - 1].frame + 'c-' + (object[object.length - 1].config.split(',')).join('-');
fillItem(object.length - 1);
asignarObjeto(object.length - 1, v3);
if (v12[v3] != true) {
v12[v3] = true;
auxCount.push(v3);
auxLoad.push([object[object.length - 1].frame, object[object.length - 1].config, object[object.length - 1].frames]);
pCargaTotalFrames += (object[object.length - 1].frames.split(',')).length;
}
}
++v13;
}
zone[v8][v11] = '';
} else {
if ((v10[1].split(' '))[0] == 'NPC') {
v6 = v11;
v5 = v8;
if ((freeT[v5][v6] == 0 || freeT[v5][v6] == 1) && !freeO[v5][v6]) {
v14 = Number((v10[1].split(' '))[2]);
v3 = (v10[1].split(' '))[1];
freeO[v5][v6] = charIdIndex.length + 1;
charIdIndex.push(object.length);
v2 = charIdIndex.length - 1;
charActionArray[v2] = new Array();
charAttack[v2] = new Array();
charStats[v2] = new Array();
charDX[v2] = new Array();
charDY[v2] = new Array();
charClass[v2] = _parent.npcBD[v3][0];
charAI[v2] = _parent.npcBD[v3][1];
charAngle[v2] = Math.floor(Number((_parent.npcBD[v3][9].split(','))[0]) / charAnimations[_parent.npcBD[v3][0]].total);
charDefaultAction[v2] = _parent.npcBD[v3][2];
charAction[v2] = charDefaultAction[v2];
charTarget[v2] = -1;
charPoX[v2] = v6;
charPoY[v2] = v5;
charType[v2] = v3;
v7 = _parent.npcBD[v3][3].split('.');
v4 = 0;
while (v4 < v7.length) {
charAttack[v2].push(v7[v4]);
charAttack[v2].push(Number(v7[v4 + 1]));
charAttack[v2].push(Number(v7[v4 + 2]));
charAttack[v2].push(Number(v7[v4 + 3]));
charAttack[v2].push(Number(v7[v4 + 4]));
v4 += 5;
}
charStats[v2].push(_parent.npcBD[v3][4]);
charStats[v2].push(_parent.npcBD[v3][5]);
charStats[v2].push(_parent.npcBD[v3][6]);
charGuard[v2] = '';
v16 = 6;
if (v14 != 2) {
v16 = 7;
if (v14 == 1) {
charGuard[v2] = v6 + ',' + v5 + ',0';
}
if (v3 == 'UrnebbarSwordMan' || v3 == 'NeutralGuard' || v3 == 'Golem') {
v16 = 1;
}
if (v3 == 'Edwin' && _parent.currentMap == 21) {
v16 = 1;
}
}
object.push({'frame': _parent.npcBD[v3][7], 'mc': true, 'desc': _parent.npcBD[v3][12], 'team': v14, 'config': _parent.npcBD[v3][8], 'frames': _parent.npcBD[v3][9], 'cX': v6, 'cY': v5, 'layer': 1, 'select': v16, 'items': _parent.npcBD[v3][10], 'scripts': '', 'hp': _parent.npcBD[v3][11]});
fillItem(object.length - 1);
v3 = 'f-' + object[object.length - 1].frame + 'c-' + (object[object.length - 1].config.split(',')).join('-');
asignarObjeto(object.length - 1, v3);
if (v12[v3] != true) {
v12[v3] = true;
auxCount.push(v3);
auxLoad.push([object[object.length - 1].frame, object[object.length - 1].config, object[object.length - 1].frames]);
pCargaTotalFrames += (object[object.length - 1].frames.split(',')).length;
}
zone[v8][v11] = '';
} else {
trace('No se puede crear ' + _parent.npcBD[(v10[1].split(' '))[1]][12] + ' en posicion ocupada (cx50,cy25): ' + v6 + ',' + v5 + ' en el mapa ' + _parent.currentMap);
if ((freeT[v5 - 1][v6] == 0 || freeT[v5 - 1][v6] == 1) && !freeO[v5 - 1][v6]) {
trace('Posicion sugerida libre (cx50,cy25) ' + v6 + ',' + (v5 - 1));
} else {
if ((freeT[v5 + 1][v6] == 0 || freeT[v5 + 1][v6] == 1) && !freeO[v5 + 1][v6]) {
trace('Posicion sugerida libre (cx50,cy25) ' + v6 + ',' + (v5 + 1));
} else {
if ((freeT[v5 - 1][v6 - 1] == 0 || freeT[v5 - 1][v6 - 1] == 1) && !freeO[v5 - 1][v6 - 1]) {
trace('Posicion sugerida libre (cx50,cy25) ' + (v6 - 1) + ',' + (v5 - 1));
} else {
if ((freeT[v5 - 2][v6] == 0 || freeT[v5 - 2][v6] == 1) && !freeO[v5 - 2][v6]) {
trace('Posicion sugerida libre (cx50,cy25) ' + v6 + ',' + (v5 - 2));
} else {
if ((freeT[v5][v6 + 1] == 0 || freeT[v5][v6 + 1] == 1) && !freeO[v5][v6 + 1]) {
trace('Posicion sugerida libre (cx50,cy25) ' + (v6 + 1) + ',' + v5);
} else {
if ((freeT[v5][v6 - 1] == 0 || freeT[v5][v6 - 1] == 1) && !freeO[v5][v6 - 1]) {
trace('Posicion sugerida libre (cx50,cy25) ' + (v6 - 1) + ',' + v5);
}
}
}
}
}
}
}
}
}
v15 += 2;
}
v10.splice(0, v10.length);
v9.splice(0, v9.length);
if (_parent.aliveNPCs != '') {
v10 = _parent.aliveNPCs.split(':');
v8 = 0;
while (v8 < v10.length) {
if (v10[v8] != '' && v10[v8] != undefined) {
v9 = v10[v8].split('.');
v3 = v9[0];
v6 = Number(v9[1]);
v5 = Number(v9[2]);
freeO[v5][v6] = charIdIndex.length + 1;
charIdIndex.push(object.length);
v2 = charIdIndex.length - 1;
charActionArray[v2] = new Array();
charAttack[v2] = new Array();
charStats[v2] = new Array();
charDX[v2] = new Array();
charDY[v2] = new Array();
charClass[v2] = _parent.npcBD[v3][0];
charAI[v2] = Number(v9[7]);
charAngle[v2] = Math.floor(Number((_parent.npcBD[v3][9].split(','))[0]) / charAnimations[_parent.npcBD[v3][0]].total);
charDefaultAction[v2] = _parent.npcBD[v3][2];
charAction[v2] = charDefaultAction[v2];
charTarget[v2] = -1;
charPoX[v2] = v6;
charPoY[v2] = v5;
charType[v2] = v3;
v7 = _parent.npcBD[v3][3].split('.');
v4 = 0;
while (v4 < v7.length) {
charAttack[v2].push(v7[v4]);
charAttack[v2].push(Number(v7[v4 + 1]));
charAttack[v2].push(Number(v7[v4 + 2]));
charAttack[v2].push(Number(v7[v4 + 3]));
charAttack[v2].push(Number(v7[v4 + 4]));
v4 += 5;
}
charStats[v2].push(_parent.npcBD[v3][4]);
charStats[v2].push(_parent.npcBD[v3][5]);
charStats[v2].push(_parent.npcBD[v3][6]);
charGuard[v2] = v9[6];
if (v9[5] == '2') {
v4 = 6;
} else {
if (v3 == 'UrnebbarSwordMan' || v3 == 'Neutral Guard' || v3 == 'Golem') {
v4 = 1;
} else {
v4 = 7;
}
if (v3 == 'Edwin' && _parent.currentMap == 21) {
v4 = 1;
}
}
object.push({'frame': _parent.npcBD[v3][7], 'mc': true, 'desc': _parent.npcBD[v3][12], 'team': Number(v9[5]), 'config': _parent.npcBD[v3][8], 'frames': _parent.npcBD[v3][9], 'cX': v6, 'cY': v5, 'layer': 1, 'select': v4, 'items': v9[4], 'scripts': '', 'hp': Number(v9[3]), 'maxHP': _parent.npcBD[v3][11]});
if (object[object.length - 1].hp < 1) {
object[object.length - 1].hp = 1;
}
v3 = 'f-' + object[object.length - 1].frame + 'c-' + (object[object.length - 1].config.split(',')).join('-');
asignarObjeto(object.length - 1, v3);
if (v12[v3] != true) {
v12[v3] = true;
auxCount.push(v3);
auxLoad.push([object[object.length - 1].frame, object[object.length - 1].config, object[object.length - 1].frames]);
pCargaTotalFrames += (object[object.length - 1].frames.split(',')).length;
}
}
++v8;
}
}
v10.splice(0, v10.length);
v9.splice(0, v9.length);
if (_parent.deadNPCs != '') {
v10 = _parent.deadNPCs.split(':');
v8 = 0;
while (v8 < v10.length) {
if (v10[v8] != '' && v10[v8] != undefined) {
v9 = v10[v8].split('.');
v3 = v9[0];
v6 = Number(v9[1]) / 50;
v5 = Number(v9[2]) / 25;
if (v9[4] == '') {
v4 = 0;
} else {
v4 = 2;
}
object.push({'frame': _parent.npcBD[v3][7], 'mc': true, 'desc': _parent.npcBD[v3][12], 'team': 2, 'config': _parent.npcBD[v3][8], 'frames': String(v9[3] + ',' + _parent.npcBD[v3][9]), 'cX': v6, 'cY': v5, 'layer': 0, 'select': v4, 'items': v9[4], 'scripts': '', 'hp': 0});
v3 = 'f-' + object[object.length - 1].frame + 'c-' + (object[object.length - 1].config.split(',')).join('-');
asignarObjeto(object.length - 1, v3);
if (v12[v3] != true) {
v12[v3] = true;
auxCount.push(v3);
auxLoad.push([object[object.length - 1].frame, object[object.length - 1].config, object[object.length - 1].frames]);
pCargaTotalFrames += (object[object.length - 1].frames.split(',')).length;
}
}
++v8;
}
}
trace('Numero de objetos totales (estáticos):' + object.length + ' (' + objectCount + ')');
objectCount2 = object.length;
processC = nP + 1;
}
function updateFreeT(nP) {
processC = 0;
var v3 = 0;
var v2 = 0;
var v8 = 0;
var v6 = 0;
var v7 = 0;
var v4 = 0;
var v9 = 0;
var v5 = 0;
var v10 = 0;
var v15 = new Array();
var v13 = new Array();
var v12 = new Array();
var v11 = new Array();
var v14 = new String('');
v7 = terrain[0].length * 4;
v3 = 0;
while (v3 < terrain.length * 8) {
freeT[v3] = new Array(v7);
++v3;
}
v3 = 0;
while (v3 < terrain.length) {
v7 = 0;
while (v7 < terrain[0].length) {
v6 = v3 * 8;
v5 = v7 * 4;
if (_parent.freeTerrain[terrain[v3][v7]].length > 0) {
v8 = v6 + 8;
v9 = v5 + 4;
v10 = 0;
v2 = v6;
while (v2 < v8) {
v4 = v5;
while (v4 < v9) {
freeT[v2][v4] = _parent.freeTerrain[terrain[v3][v7]][v10];
++v10;
++v4;
}
++v2;
}
} else {
v8 = v6 + 8;
v9 = v5 + 4;
v2 = v6;
while (v2 < v8) {
v4 = v5;
while (v4 < v9) {
freeT[v2][v4] = 0;
++v4;
}
++v2;
}
}
++v7;
}
++v3;
}
v3 = 0;
while (v3 < object.length) {
if (_parent.freeObject[object[v3].frame].length > 0) {
v8 = _parent.freeObject[object[v3].frame].length;
v2 = 0;
while (v2 < v8) {
v6 = object[v3].cX + _parent.freeObject[object[v3].frame][v2];
v5 = object[v3].cY + _parent.freeObject[object[v3].frame][v2 + 1];
freeT[v5][v6] = _parent.freeObject[object[v3].frame][v2 + 2];
if (freeT[v5][v6] < 0) {
trace('error de carga de terreno ocupado por objeto(valor): ' + object[v3].frame + '(' + _parent.freeObject[object[v3].frame][v2] + ',' + _parent.freeObject[object[v3].frame][v2 + 1] + ',' + freeT[v5][v6] + ')');
}
v2 += 3;
}
} else {
if (object[v3].frame == '71') {
if (objectFrame[v3] == 5) {
freeT[object[v3].cY][object[v3].cX] = 0;
}
}
}
++v3;
}
processC = nP + 1;
}
function createLight(nP, objI) {
var v23 = '..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,4,4,4,3,3,3,2,2,2.';
var v5 = new Array([32, 1, 200, '1,2,3,4,5', v23, 0, -1.5], [33, 1, 200, '1,2,3,4,5', v23, -1, -1.5], [34, 1, 206, '1,2,3,4,5', v23, 0, 0], [35, 1, 200, '1,2,3,4,5', v23, 0.5, -1], [36, 1, 200, '1,2,3,4,5', v23, -0.5, -1], [96, 1, 200, '1,2,3,4,5', v23, 0, 0]);
var v9 = new Array();
var v3 = '';
var v8 = 0;
var v4 = 0;
var v7 = 0;
var v2 = 0;
var v6 = 0;
processC = 0;
v9 = objI.split(',');
v8 = 0;
while (v8 < v9.length) {
v2 = Number(v9[v8]);
v7 = object[v2].frame;
v6 = 0;
v4 = 0;
while (v4 < v5.length) {
if (v5[v4][0] == v7) {
if (v5[v4][1] == 1 || _parent.lightL[_parent.currentMap][0] == 2) {
object.push({'frame': v5[v4][2], 'mc': false, 'desc': '', 'team': 0, 'config': '', 'frames': v5[v4][3], 'cX': object[v2].cX + v5[v4][5], 'cY': object[v2].cY + v5[v4][6], 'layer': 10, 'select': 0, 'items': '', 'scripts': v5[v4][4], 'hp': 0});
v3 = 'f-' + object[object.length - 1].frame + 'c-' + (object[object.length - 1].config.split(',')).join('-');
asignarObjeto(object.length - 1, v3);
}
v6 = 1;
break;
}
++v4;
}
if (v6 == 0) {
switch (v7) {
case 50:
object.push({'frame': 191, 'mc': false, 'desc': '', 'team': 0, 'config': '', 'frames': '1', 'cX': object[v2].cX, 'cY': object[v2].cY, 'layer': -110000, 'select': 0, 'items': '', 'scripts': '', 'hp': 0});
v3 = 'f-' + object[object.length - 1].frame + 'c-' + (object[object.length - 1].config.split(',')).join('-');
asignarObjeto(object.length - 1, v3);
break;
case 51:
object.push({'frame': 192, 'mc': false, 'desc': '', 'team': 0, 'config': '', 'frames': '1', 'cX': object[v2].cX, 'cY': object[v2].cY, 'layer': -110000, 'select': 0, 'items': '', 'scripts': '', 'hp': 0});
v3 = 'f-' + object[object.length - 1].frame + 'c-' + (object[object.length - 1].config.split(',')).join('-');
asignarObjeto(object.length - 1, v3);
break;
case 52:
object.push({'frame': 193, 'mc': false, 'desc': '', 'team': 0, 'config': '', 'frames': '1', 'cX': object[v2].cX, 'cY': object[v2].cY, 'layer': -110000, 'select': 0, 'items': '', 'scripts': '', 'hp': 0});
v3 = 'f-' + object[object.length - 1].frame + 'c-' + (object[object.length - 1].config.split(',')).join('-');
asignarObjeto(object.length - 1, v3);
break;
case 54:
object.push({'frame': 194, 'mc': false, 'desc': '', 'team': 0, 'config': '', 'frames': '1', 'cX': object[v2].cX, 'cY': object[v2].cY, 'layer': -110000, 'select': 0, 'items': '', 'scripts': '', 'hp': 0});
v3 = 'f-' + object[object.length - 1].frame + 'c-' + (object[object.length - 1].config.split(',')).join('-');
asignarObjeto(object.length - 1, v3);
break;
case 60:
object.push({'frame': 195, 'mc': false, 'desc': '', 'team': 0, 'config': '', 'frames': '1', 'cX': object[v2].cX, 'cY': object[v2].cY, 'layer': -110000, 'select': 0, 'items': '', 'scripts': '', 'hp': 0});
v3 = 'f-' + object[object.length - 1].frame + 'c-' + (object[object.length - 1].config.split(',')).join('-');
asignarObjeto(object.length - 1, v3);
break;
case 66:
object.push({'frame': 196, 'mc': false, 'desc': '', 'team': 0, 'config': '', 'frames': '1', 'cX': object[v2].cX, 'cY': object[v2].cY, 'layer': -110000, 'select': 0, 'items': '', 'scripts': '', 'hp': 0});
v3 = 'f-' + object[object.length - 1].frame + 'c-' + (object[object.length - 1].config.split(',')).join('-');
asignarObjeto(object.length - 1, v3);
break;
case 70:
object.push({'frame': 197, 'mc': false, 'desc': '', 'team': 0, 'config': '', 'frames': '1', 'cX': object[v2].cX, 'cY': object[v2].cY, 'layer': -110000, 'select': 0, 'items': '', 'scripts': '', 'hp': 0});
v3 = 'f-' + object[object.length - 1].frame + 'c-' + (object[object.length - 1].config.split(',')).join('-');
asignarObjeto(object.length - 1, v3);
break;
case 110:
if (object[v2].layer == 2) {
object.push({'frame': 203, 'mc': false, 'desc': '', 'team': 0, 'config': '', 'frames': '1', 'cX': object[v2].cX, 'cY': object[v2].cY, 'layer': 10, 'select': 0, 'items': '', 'scripts': '', 'hp': 0});
} else {
object.push({'frame': 201, 'mc': false, 'desc': '', 'team': 0, 'config': '', 'frames': '1', 'cX': object[v2].cX, 'cY': object[v2].cY, 'layer': 10, 'select': 0, 'items': '', 'scripts': '', 'hp': 0});
}
v3 = 'f-' + object[object.length - 1].frame + 'c-' + (object[object.length - 1].config.split(',')).join('-');
asignarObjeto(object.length - 1, v3);
break;
case 111:
if (object[v2].layer == 2) {
object.push({'frame': 204, 'mc': false, 'desc': '', 'team': 0, 'config': '', 'frames': '1', 'cX': object[v2].cX, 'cY': object[v2].cY, 'layer': 10, 'select': 0, 'items': '', 'scripts': '', 'hp': 0});
} else {
object.push({'frame': 202, 'mc': false, 'desc': '', 'team': 0, 'config': '', 'frames': '1', 'cX': object[v2].cX, 'cY': object[v2].cY, 'layer': 10, 'select': 0, 'items': '', 'scripts': '', 'hp': 0});
}
v3 = 'f-' + object[object.length - 1].frame + 'c-' + (object[object.length - 1].config.split(',')).join('-');
asignarObjeto(object.length - 1, v3);
break;
case 108:
if (object[v2].layer == 2) {
object.push({'frame': 205, 'mc': false, 'desc': '', 'team': 0, 'config': '', 'frames': '2,1', 'cX': object[v2].cX, 'cY': object[v2].cY, 'layer': 10, 'select': 0, 'items': '', 'scripts': '', 'hp': 0});
v3 = 'f-' + object[object.length - 1].frame + 'c-' + (object[object.length - 1].config.split(',')).join('-');
asignarObjeto(object.length - 1, v3);
}
break;
case 109:
if (object[v2].layer == 2) {
object.push({'frame': 205, 'mc': false, 'desc': '', 'team': 0, 'config': '', 'frames': '1,2', 'cX': object[v2].cX, 'cY': object[v2].cY, 'layer': 10, 'select': 0, 'items': '', 'scripts': '', 'hp': 0});
v3 = 'f-' + object[object.length - 1].frame + 'c-' + (object[object.length - 1].config.split(',')).join('-');
asignarObjeto(object.length - 1, v3);
}
}
}
++v8;
}
processC = nP + 1;
}
function loadZone(nP) {
processC = 0;
var v4 = 0;
var v3 = 0;
var v7 = 0;
var v6 = 0;
var v22 = new String();
var v21 = new Array();
var v2 = new Array();
var v5 = new Array();
v3 = terrain[0].length * 4;
v4 = 0;
while (v4 < terrain.length * 8) {
zone[v4] = new Array();
v3 = 0;
while (v3 < terrain[0].length * 4) {
zone[v4][v3] = '';
++v3;
}
++v4;
}
v22 = _parent.zoneData;
v21 = v22.split(' SZ: ');
v4 = 0;
while (v4 < v21.length) {
v2 = v21[v4].split(' SC: ');
if (v2[3] == 'START') {
object[0].cX = Number(v2[1]);
object[0].cY = Number(v2[2]);
objectX[0] = object[0].cX * 50;
objectY[0] = object[0].cY * 25;
charPoX[0] = object[0].cX;
charPoY[0] = object[0].cY;
} else {
v2 = v21[v4].split(' SC: ');
zone[Number(v2[2])][Number(v2[1])] = v2[0] + ';' + v2[3];
auxLoad.push(Number(v2[2]));
auxLoad.push(Number(v2[1]));
v5 = v2[3].split(';');
v3 = 0;
while (v3 < v5.length) {
if ((v5[v3].split(' '))[0] == 'TELEPORT') {
if (freeT[Number(v2[2])][Number(v2[1])] == 0 || freeT[Number(v2[2])][Number(v2[1])] == 1) {
object.push({'frame': 190, 'mc': false, 'desc': '', 'team': 0, 'config': '', 'frames': '1,2,3,4,5', 'cX': Number(v2[1]), 'cY': Number(v2[2]), 'layer': 0, 'select': 0, 'items': '', 'scripts': '..REPEAT.1,1,1,2,2,2,3,3,3,4,4,4,5,5,5.', 'hp': 0});
asignarObjeto(object.length - 1, 'f-' + object[object.length - 1].frame + 'c-' + (object[object.length - 1].config.split(',')).join('-'));
}
v7 = Number(v2[1]);
v6 = Number(v2[2]);
tZone.push(v7);
tZone.push(v6);
break;
}
++v3;
}
}
++v4;
}
processC = nP + 1;
}
function createMinimapTerrain(nP) {
processC = 0;
var v5 = 0;
var v2 = 0;
var v6 = 0;
var v4 = 0;
var v8 = 0;
var v7 = 0;
var v11 = 0;
var v10 = 0;
var v12 = new flash.display.BitmapData(terrain[0].length * 16, terrain.length * 16, false, 4286611584.0);
var v15;
var v13 = new Object();
v13.arbol1 = new Array(162, 36, 40, 37, 18, 31);
v13.arbol2 = new Array(162, 77, 40, 37, 20, 32);
v13.arbol3 = new Array(165, 118, 40, 43, 18, 37);
v13.cueva1 = new Array(5, 11, 47, 38, 27, 31);
v13.cueva2 = new Array(57, 11, 47, 38, 18, 32);
v13.casap1 = new Array(118, 13, 32, 31, 2, 24);
v13.casap2 = new Array(119, 53, 32, 31, 2, 24);
v13.casag1 = new Array(0, 74, 50, 42, 2, 34);
v13.casag2 = new Array(0, 120, 50, 42, 48, 34);
v13.crypt1 = new Array(53, 51, 54, 56, 29, 30);
v13.crypt2 = new Array(52, 108, 54, 56, 22, 30);
v13.templo = new Array(110, 89, 50, 73, 2, 62);
v13.torre = new Array(209, 0, 48, 161, 47, 153);
var v19 = 'f20f21f22f23f50f51f52f54f60f62f66f70f';
var v16 = 'f146f147f';
var v17 = 'f4f56f58f61f68f69f110f111f';
var v14 = new Array();
var v9 = '';
var v3;
var v18 = new flash.geom.Matrix();
v5 = 0;
while (v5 < terrain.length) {
v2 = 0;
while (v2 < terrain[v5].length) {
v4 = terrain[v5][v2];
v9 = 'f' + v4 + 'f';
if (v16.indexOf(v9) != -1) {
v8 = v5 * 16;
v7 = v2 * 16;
v14.push(new Array(v4, v7, v8));
}
if (v17.indexOf(v9) != -1) {
v4 = 52;
}
if (_parent.minimapT[v4].length > 0) {
v8 = v5 * 16;
v7 = v2 * 16;
v6 = 1;
while (v6 < _parent.minimapT[v4].length) {
v12.setPixel(v7 + _parent.minimapT[v4][v6], v8 + _parent.minimapT[v4][v6 + 1], _parent.minimapT[v4][0]);
v6 += 2;
}
v4 = terrain[v5][v2];
v4 = v4;
if (v4 > 49 && v4 < 70 || v4 > 109 && v4 < 114) {
if (v4 > 49 && v4 < 70) {
v4 += 70;
} else {
if (v4 == 110) {
v4 = 140;
} else {
if (v4 == 111) {
v4 = 141;
} else {
if (v4 == 112) {
v4 = 148;
} else {
if (v4 == 113) {
v4 = 149;
}
}
}
}
}
v6 = 1;
while (v6 < _parent.minimapT[v4].length) {
v12.setPixel(v7 + _parent.minimapT[v4][v6], v8 + _parent.minimapT[v4][v6 + 1], _parent.minimapT[v4][0]);
v6 += 2;
}
}
}
++v2;
}
++v5;
}
v5 = 1;
while (v5 < objectCount) {
v4 = object[v5].frame;
if (_parent.minimapO[v4].length > 0) {
v8 = Math.floor(objectY[v5] / 12.5);
v7 = Math.floor(objectX[v5] / 12.5);
v6 = 1;
while (v6 < _parent.minimapO[v4].length) {
v12.setPixel(v7 + _parent.minimapO[v4][v6], v8 + _parent.minimapO[v4][v6 + 1], _parent.minimapO[v4][0]);
v6 += 2;
}
}
v9 = 'f' + v4 + 'f';
if (v19.indexOf(v9) != -1) {
v8 = Math.floor(objectY[v5] / 12.5);
v7 = Math.floor(objectX[v5] / 12.5);
v14.push(new Array(v4, v7, v8));
}
++v5;
}
v5 = 0;
while (v5 < minLX.length) {
miniMap[v5].copyPixels(v12, new flash.geom.Rectangle(minLX[v5] * 16, minLY[v5] * 16, miniMap[v5].width - 80, miniMap[v5].height - 80), new flash.geom.Point(40, 40), null, null, false);
++v5;
}
v2 = 0;
v6 = 0;
v5 = 0;
while (v5 < v14.length) {
v9 = '';
switch (v14[v5][0]) {
case 20:
v9 = 'arbol3';
v2 = -8;
v6 = 0;
break;
case 21:
v9 = 'arbol2';
v2 = 0;
v6 = 0;
break;
case 22:
v9 = 'arbol3';
v2 = 8;
v6 = 0;
break;
case 23:
v9 = 'arbol1';
v2 = 8;
v6 = 0;
break;
case 50:
v9 = 'casap2';
v2 = 8;
v6 = 0;
break;
case 51:
v9 = 'casap1';
v2 = 8;
v6 = 0;
break;
case 52:
v9 = 'casag2';
v2 = 0;
v6 = 0;
break;
case 54:
v9 = 'casag1';
v2 = 8;
v6 = 0;
break;
case 60:
v9 = 'templo';
v2 = 8;
v6 = 0;
break;
case 62:
v9 = 'torre';
v2 = 4;
v6 = 10;
break;
case 66:
v9 = 'crypt2';
v2 = 4;
v6 = 0;
break;
case 70:
v9 = 'crypt1';
v2 = 4;
v6 = 0;
break;
case 146:
v9 = 'cueva1';
v2 = 8;
v6 = 14;
break;
case 147:
v9 = 'cueva2';
v2 = 4;
v6 = 14;
}
if (v9 != '') {
v6 += 40;
v2 += 40;
miniMap[0].copyPixels(_parent.mapIconsBitmap, new flash.geom.Rectangle(v13[v9][0], v13[v9][1], v13[v9][2], v13[v9][3]), new flash.geom.Point(v14[v5][1] - v13[v9][4] + v2, v14[v5][2] - v13[v9][5] + v6), null, null, true);
}
++v5;
}
v5 = 0;
while (v5 < minLX.length) {
v8 = miniMap[v5].width;
v7 = miniMap[v5].height;
v6 = 0;
v4 = 0;
v2 = v4;
v15 = new flash.display.BitmapData(v8, v7, 4278190080.0);
while (v8 > 0) {
v11 = 640 - v6;
if (v11 > v8) {
v11 = v8;
}
v7 = miniMap[v5].height;
v4 = v2;
while (v7 > 0) {
v10 = 480 - v4;
if (v10 > v7) {
v10 = v7;
}
v15.copyPixels(_parent.mapPaperBitmap, new flash.geom.Rectangle(v6, v4, v11, v10), new flash.geom.Point(miniMap[v5].width - v8, miniMap[v5].height - v7), null, null, false);
v4 = 0;
v7 -= v10;
}
v6 = 0;
v8 -= v11;
}
miniMap[v5].draw(v15, new flash.geom.Matrix(), null, 'overlay', new flash.geom.Rectangle(0, 0, miniMap[v5].width, miniMap[v5].height));
++v5;
}
v18.scale(0.5, 0.5);
v5 = 0;
while (v5 < miniMap.length) {
miniMap2[v5] = new flash.display.BitmapData(miniMap[v5].width * 0.5, miniMap[v5].height * 0.5, true, 0);
miniMap2[v5].draw(miniMap[v5], v18, null, null, null, true);
++v5;
}
v5 = 0;
while (v5 < tZone.length) {
v8 = tZone[v5] * 0.25;
v7 = tZone[v5 + 1] * 0.125;
v2 = 0;
while (v2 < minLX.length) {
if (v8 > minLX[v2] && v8 < maxLX[v2] && v7 > minLY[v2] && v7 < maxLY[v2]) {
m = tZone[v5] * 4 + 40 - minLX[v2] * 16;
n = tZone[v5 + 1] * 2 + 40 - minLY[v2] * 16;
v3 = 4286898431.0;
miniMap[v2].setPixel(m - 1, n - 1, v3);
miniMap[v2].setPixel(m, n - 1, v3);
miniMap[v2].setPixel(m + 1, n - 1, v3);
miniMap[v2].setPixel(m - 2, n, v3);
miniMap[v2].setPixel(m - 1, n, v3);
v3 = 4280895663.0;
miniMap[v2].setPixel(m, n, v3);
v3 = 4286898431.0;
miniMap[v2].setPixel(m + 1, n, v3);
miniMap[v2].setPixel(m + 2, n, v3);
miniMap[v2].setPixel(m - 1, n + 1, v3);
miniMap[v2].setPixel(m, n + 1, v3);
miniMap[v2].setPixel(m + 1, n + 1, v3);
v3 = 4280895663.0;
miniMap[v2].setPixel(m - 2, n - 2, v3);
miniMap[v2].setPixel(m - 1, n - 2, v3);
miniMap[v2].setPixel(m, n - 2, v3);
miniMap[v2].setPixel(m + 1, n - 2, v3);
miniMap[v2].setPixel(m + 2, n - 2, v3);
miniMap[v2].setPixel(m - 3, n - 1, v3);
miniMap[v2].setPixel(m - 2, n - 1, v3);
miniMap[v2].setPixel(m + 2, n - 1, v3);
miniMap[v2].setPixel(m + 3, n - 1, v3);
miniMap[v2].setPixel(m - 3, n, v3);
miniMap[v2].setPixel(m + 3, n, v3);
miniMap[v2].setPixel(m - 3, n + 1, v3);
miniMap[v2].setPixel(m - 2, n + 1, v3);
miniMap[v2].setPixel(m + 2, n + 1, v3);
miniMap[v2].setPixel(m + 3, n + 1, v3);
miniMap[v2].setPixel(m - 2, n + 2, v3);
miniMap[v2].setPixel(m - 1, n + 2, v3);
miniMap[v2].setPixel(m, n + 2, v3);
miniMap[v2].setPixel(m + 1, n + 2, v3);
miniMap[v2].setPixel(m + 2, n + 2, v3);
v3 = 4286898431.0;
n *= 0.5;
m *= 0.5;
miniMap2[v2].setPixel(m, n - 1, v3);
miniMap2[v2].setPixel(m + 1, n - 1, v3);
miniMap2[v2].setPixel(m - 1, n, v3);
v3 = 4280895663.0;
miniMap2[v2].setPixel(m, n, v3);
miniMap2[v2].setPixel(m + 1, n, v3);
v3 = 4286898431.0;
miniMap2[v2].setPixel(m + 2, n, v3);
miniMap2[v2].setPixel(m, n + 1, v3);
miniMap2[v2].setPixel(m + 1, n + 1, v3);
v3 = 4280895663.0;
miniMap2[v2].setPixel(m, n - 2, v3);
miniMap2[v2].setPixel(m + 1, n - 2, v3);
miniMap2[v2].setPixel(m - 1, n - 1, v3);
miniMap2[v2].setPixel(m + 2, n - 1, v3);
miniMap2[v2].setPixel(m - 2, n, v3);
miniMap2[v2].setPixel(m + 3, n, v3);
miniMap2[v2].setPixel(m - 1, n + 1, v3);
miniMap2[v2].setPixel(m + 2, n + 1, v3);
miniMap2[v2].setPixel(m, n + 2, v3);
miniMap2[v2].setPixel(m + 1, n + 2, v3);
break;
}
++v2;
}
v5 += 2;
}
v12.dispose();
v12 = null;
v15.dispose();
v15 = null;
processC = nP + 1;
}
function createMinimapObject(nP) {
processC = 0;
processC = nP + 1;
}
function init() {
var v3 = '';
var v4 = new Array();
var v2 = 0;
switch (processC) {
case 0:
break;
case 1:
_parent.uiload_mc.setPorc(5);
loadMapTerrain(processC);
break;
case 2:
_parent.uiload_mc.setPorc(10);
loadMapObjects(processC);
break;
case 3:
_parent.uiload_mc.setPorc(15);
v3 = auxLoad.join(',');
createLight(processC, v3);
break;
case 4:
_parent.uiload_mc.setPorc(20);
updateFreeT(processC);
break;
case 5:
_parent.uiload_mc.setPorc(25);
auxLoad.splice(0, auxLoad.length);
loadZone(processC);
break;
case 6:
_parent.uiload_mc.setPorc(30);
v3 = auxLoad.join(',');
auxLoad.splice(0, auxLoad.length);
createNPCs(processC, v3);
break;
case 7:
_parent.uiload_mc.setPorc(35);
createMinimapTerrain(processC);
break;
case 8:
_parent.uiload_mc.setPorc(40);
createMinimapObject(processC);
break;
case 9:
processC = 20;
break;
case 10:
break;
case 20:
processC = 0;
attachMovie('objectMC', 'object_mc', getNextHighestDepth());
object_mc.gotoAndStop(10);
attachMovie('objectMC', 'objectpj_mc', getNextHighestDepth());
objectpj_mc.gotoAndStop(_parent.pjGender);
objectpj_mc._x = -200;
objectpj_mc._y = -200;
processX = -2;
processC = 21;
break;
case 21:
if (auxLoad.length > 0) {
if (createObjectBitmap(auxLoad[0][0], auxLoad[0][1], auxLoad[0][2], 1, 10, processC)) {
auxLoad.shift();
}
porcentajeCarga(0.45);
} else {
processC = 43;
}
break;
case 43:
processC = 0;
object_mc.removeMovieClip();
objectpj_mc.object_mc.goTo(1);
objectpj_mc.shadow_mc.goTo(1);
currentPjConfig();
_parent.updateTotalAbilities();
updateLimits();
processC = 44;
break;
case 44:
processC = 0;
if (_parent.updateObj != '') {
updateConfigObjs();
} else {
processLootTable();
}
fillAditionalObj();
processC = 45;
break;
case 45:
processC = 0;
limpiarCache();
updateActiveObjs();
if (_parent.rPowers > 0) {
_parent.uigame_mc.addi_mc.iconoNivelV();
}
_parent.addXP(0, -1);
_parent.uigame_mc.hp_mc.n = (objectHP[0] / objectMaxHP[0]) * 100;
_parent.uigame_mc.hp_mc.updatePorc();
currentMana = _parent.initMana;
maxMana = Number((_parent.totalAbilities.split(','))[4]);
if (currentMana > maxMana) {
currentMana = maxMana;
}
_parent.uigame_mc.mp_mc.n = (currentMana / maxMana) * 100;
_parent.uigame_mc.mp_mc.updatePorc();
_parent.uigame_mc.fillReqMana();
if (_parent.initPowerIndexData.length > 0) {
powerIndex[0] = new Array();
v2 = 0;
while (v2 < _parent.initPowerIndexData.length) {
powerIndex[0][v2] = Number(_parent.initPowerIndexData[v2]);
++v2;
}
}
v4 = _parent.loadServantData.split(',');
servantIndex = Number(v4[0]);
if (servantIndex != -1) {
objectMaxHP[charIdIndex[servantIndex]] = Number(v4[1]);
charAttack[servantIndex][4] = Number(v4[2]);
objectSelect[charIdIndex[servantIndex]] = 1;
}
setInitialAngle();
initArea();
_parent.uiload_mc.setPorc(100);
if (_parent.quesInv[7] == 2 && _parent.currentXP == 0 && _parent.updateObj == '' && _parent.aliveNPCs == '' && _parent.deadNPCs == '') {
_parent.saveGame();
} else {
if (_parent.updateObj == '' && _parent.aliveNPCs == '' && _parent.deadNPCs == '' && _parent.autoSave == 1) {
_parent.saveGame();
}
}
clearInterval(intervalID);
break;
case 100:
processC = 0;
currentPjConfig();
processC = 101;
break;
case 101:
processC = 0;
limpiarCache();
clearInterval(intervalID);
reproducir = true;
default:
}
}
function onStart() {
if (_parent.quesInv[7] == 2) {
if (_parent.currentXP == 0) {
if (_parent.updateObj == '' && _parent.aliveNPCs == '' && _parent.deadNPCs == '' && _parent.currentMap == 99) {
if (_parent.gameDif != 2) {
_parent.uigame_mc.attachMovie('tutorialStep1MC', 'tutorial1_mc', _parent.uigame_mc.getNextHighestDepth());
_parent.uigame_mc.tutorial1_mc._x = 246;
_parent.uigame_mc.tutorial1_mc._y = 345;
}
}
}
}
if (_parent.quesInv[7] != 1) {
if (_parent.gameDif != 2) {
_parent.uigame_mc.attachMovie('tutorialCheckerMC', 'tutorialc_mc', _parent.uigame_mc.getNextHighestDepth());
}
}
if (_parent.currentMap == 21) {
if (_parent.quesInv[3] == 5) {
openDoors('f-146c-', -1);
}
if (_parent.quesInv[3] == 6) {
openDoors('f-78c-', -1);
openDoors('f-79c-', -1);
}
}
if (_parent.currentMap == 11) {
trace('estado de quest 150 ' + _parent.quesInv[150]);
if (_parent.quesInv[150] == 1) {
if (_parent.gameDif == 1) {
_parent.uigame_mc.attachMovie('unlockMsgMC', 'unlock_mc', _parent.uigame_mc.getNextHighestDepth());
_parent.uigame_mc.unlock_mc._x = 420;
_parent.uigame_mc.unlock_mc._y = 9;
}
}
}
if (_parent.currentMap == 102) {
if (_parent.quesInv[8] == 1) {
if (getCharId('Reginald') == -1) {
unlockChests(172, 184);
}
}
}
if (_parent.currentMap == 105) {
if (_parent.quesInv[10] == 1) {
if (getCharId('Villain') == -1) {
unlockChests(0, objectCount);
}
}
}
checkArea();
_parent.actualizarAbilitiesVars();
if (objectHP[0] > objectMaxHP[0]) {
objectHP[0] = objectMaxHP[0];
}
if (currentMana > maxMana) {
currentMana = maxMana;
}
}
function updateConfigObjs() {
var v5 = new Array();
var v4 = new Array();
var v3 = new Array();
var v2 = 0;
v5 = _parent.updateObj.split(':');
v4 = v5[0].split('.');
v2 = 0;
while (v2 < v4.length) {
objectItems[v2] = v4[v2];
++v2;
}
v4 = v5[1].split(';');
v2 = 0;
while (v2 < v4.length) {
if (v4[v2] != '' && v4[v2] != undefined) {
v3 = v4[v2].split(',');
objectSelect[Number(v3[0])] = Number(v3[1]);
objectFrame[Number(v3[0])] = Number(v3[2]);
}
++v2;
}
v4 = v5[2].split('.');
v2 = 0;
while (v2 < v4.length) {
if (v4[v2] != '' && v4[v2] != undefined) {
v3 = v4[v2].split(';');
trace(v3[0] + ' script inicial de actualizacion... ' + v3[2]);
objectFrame[Number(v3[0])] = Number(v3[1]);
ejecutarAcciones(Number(v3[0]), v3[2]);
if (!isNaN(Number(v3[3]))) {
objectSelect[Number(v3[0])] = Number(v3[3]);
}
}
++v2;
}
}
function limpiarCache() {
var v5;
var v4 = 0;
var v3 = 0;
var v7 = 0;
var v8 = new Object();
var v6 = new Array();
var v2 = new String('');
for (v5 in _parent.cacheBitmap) {
++v3;
}
if (v3 > _parent.maxCache) {
mi = auxCount.length;
v4 = 0;
while (v4 < mi) {
v8[auxCount[v4]] = true;
++v4;
}
v2 = 'f-' + _parent.pjGender + 'c-' + (_parent.pjConfig01.split(',')).join('-');
v8[v2] = true;
v2 = 'f-' + _parent.pjGender + 'c-' + (_parent.pjConfig02.split(',')).join('-');
v8[v2] = true;
for (v5 in _parent.cacheBitmap) {
if (v8[v5]) {
} else {
v6.push(v5);
}
}
v4 = 0;
while (v4 < v6.length) {
v2 = v6[v4];
v7 = _parent.cacheBitmap[v2].length;
v3 = 0;
while (v3 < v7) {
if (_parent.cacheBitmap[v2][v3] != undefined) {
_parent.cacheBitmap[v2][v3].dispose();
_parent.cacheBitmap[v2][v3] = null;
}
++v3;
}
_parent.cacheBitmap[v2].splice(0, cacheBitmap[v2].length);
_parent.cacheX[v2].splice(0, cacheX[v2].length);
_parent.cacheY[v2].splice(0, cacheY[v2].length);
_parent.cacheAncho[v2].splice(0, cacheAncho[v2].length);
_parent.cacheAlto[v2].splice(0, cacheAlto[v2].length);
delete _parent.cacheBitmap[v2];
delete _parent.cacheX[v2];
delete _parent.cacheY[v2];
delete _parent.cacheAncho[v2];
delete _parent.cacheAlto[v2];
delete _parent.cacheTime[v2];
++v4;
}
v3 = 0;
for (v5 in _parent.cacheBitmap) {
++v3;
}
}
}
function currentPjConfig() {
var v2 = '';
var v3 = '';
var v4 = 0;
if (_parent.currentWeapon == 1) {
v2 = 'f-' + _parent.pjGender + 'c-' + (_parent.pjConfig01.split(',')).join('-');
v3 = 'f-' + _parent.pjGender + 'c-' + (_parent.pjConfig02.split(',')).join('-');
objectpj_mc.object_mc.setConfig(_parent.pjConfig01);
objectpj_mc.shadow_mc.setConfig(_parent.pjConfig01);
} else {
v2 = 'f-' + _parent.pjGender + 'c-' + (_parent.pjConfig02.split(',')).join('-');
v3 = 'f-' + _parent.pjGender + 'c-' + (_parent.pjConfig01.split(',')).join('-');
objectpj_mc.object_mc.setConfig(_parent.pjConfig02);
objectpj_mc.shadow_mc.setConfig(_parent.pjConfig02);
}
objectId[0] = v2;
if (!_parent.cacheBitmap[v2]) {
_parent.cacheBitmap[v2] = new Array();
_parent.cacheX[v2] = new Array();
_parent.cacheY[v2] = new Array();
_parent.cacheAncho[v2] = new Array();
_parent.cacheAlto[v2] = new Array();
}
if (!_parent.cacheBitmap[v3]) {
_parent.cacheBitmap[v3] = new Array();
_parent.cacheX[v3] = new Array();
_parent.cacheY[v3] = new Array();
_parent.cacheAncho[v3] = new Array();
_parent.cacheAlto[v3] = new Array();
}
_parent.cacheTime[v2] = getTimer();
startPrecaching();
}
function updateCachePJ() {
processC = 100;
intervalID = setInterval(init, 5);
}
function setInitialAngle() {
var v2 = 4;
var v5 = 0;
var v3 = 0;
var v4 = new Array();
v4[20] = 7;
v4[30] = 3;
v4[32] = 5;
v4[33] = 5;
v4[34] = 5;
if (_parent.updateObj == '' && _parent.aliveNPCs == '' && _parent.deadNPCs == '') {
if (aZone == 0) {
v5 = Math.floor(objectX[charIdIndex[charIndex]] / 200);
v3 = Math.floor(objectY[charIdIndex[charIndex]] / 200);
if (Math.abs(v5 - minLX[0]) < v2) {
if (Math.abs(v3 - minLY[0]) < v2) {
charAngle[charIndex] = 1;
} else {
if (Math.abs(v3 - maxLY[0]) < v2) {
charAngle[charIndex] = 3;
} else {
charAngle[charIndex] = 2;
}
}
} else {
if (Math.abs(v5 - maxLX[0]) < v2) {
if (Math.abs(v3 - minLY[0]) < v2) {
charAngle[charIndex] = 7;
} else {
if (Math.abs(v3 - maxLY[0]) < v2) {
charAngle[charIndex] = 5;
} else {
charAngle[charIndex] = 6;
}
}
} else {
if (Math.abs(v3 - minLY[0]) < v2) {
charAngle[charIndex] = 0;
} else {
if (Math.abs(v3 - maxLY[0]) < v2) {
charAngle[charIndex] = 4;
} else {
charAngle[charIndex] = 0;
}
}
}
}
if (v4[_parent.currentMap] != undefined) {
charAngle[charIndex] = v4[_parent.currentMap];
}
trace('Poniendo angulo inicial de personaje a ' + charAngle[charIndex]);
}
}
}
function buscar(a, c) {
var v1;
var v3 = a.length;
var v2 = -1;
v1 = 0;
while (v1 < v3) {
if (a[v1] == c) {
v2 = v1;
break;
}
++v1;
}
return v2;
}
var charIndex = 0;
var charIdIndex = new Array();
var charAI = new Array();
var charClass = new Array();
var charAngle = new Array();
var charAction = new Array();
var charDefaultAction = new Array();
var charActionArray = new Array();
var charDX = new Array();
var charDY = new Array();
var charTarget = new Array();
var charPoX = new Array();
var charPoY = new Array();
var charAttack = new Array();
var charStats = new Array();
var charType = new Array();
var charGuard = new Array();
var charDirecP = new Array();
var charAnimations = new Array();
var runSpeedX = new Array(0, 0.894, 1, 0.894, 0, -0.894, -1, -0.894);
var runSpeedY = new Array(1, 0.447, 0, -0.447, -1, -0.447, 0, 0.447);
var ANCHO = _parent.stageX;
var ALTO = _parent.stageY - 47;
var bloodBitmapY = ALTO - 80;
var bloodAlpha = 0;
var coordenadaX = 0;
var coordenadaY = 0;
var coorXMin = 0;
var coorXMax = 0;
var coorYMin = 0;
var coorYMax = 0;
var screenBitmap = new flash.display.BitmapData(ANCHO, ALTO, false, 0);
if (Stage.width > _parent.maxResolution) {
attachBitmap(screenBitmap, 0, 'true', true);
} else {
attachBitmap(screenBitmap, 0, 'never', false);
}
var nightEnabled = 0;
var terrain = new Array();
var freeT = new Array();
var freeO = new Array();
var terrainTextureSize = 200;
var coordenadaX = 0;
var coordenadaY = 0;
var waterFlag = new Array();
var waterTerrain = 4;
var waterFrame = 0;
var overWater = new Array(50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 110, 111, 112, 113);
var object = new Array();
var objectX = new Array();
var objectY = new Array();
var objectFrame = new Array();
var objectId = new Array();
var objectSelect = new Array();
var objectLayer = new Array();
var objectItems = new Array();
var objectTeam = new Array();
var objectDesc = new Array();
var objectHP = new Array();
var objectMaxHP = new Array();
var objectScripts = new Array();
var objectMC = new Array();
var objectAlpha = new Array();
var minAlpha = new Array();
var multiPart = new Array();
var indO = -1;
var scriptType = new Array();
var scriptFrames = new Array();
var scriptAllFrames = new Array();
var scriptActions = new Array();
var alphaObj = new Array();
var alphaBitmap = new flash.display.BitmapData(ANCHO, ALTO, true, 3204448256.0);
var activeChrs = new Array();
var activeObjs = new Array();
var activeVarsZ = new Array();
var activeVarsZ2 = new Array();
var avSize = 200;
var avSize2 = 300;
var aZone = 0;
var zone = new Array();
var tZone = new Array();
var minLX = new Array();
var minLY = new Array();
var maxLX = new Array();
var maxLY = new Array();
var intervalID = 0;
var processC = 1;
var processX = 0;
var currentLoot = -1;
var pCargaFrames = 0;
var pCargaTotalFrames = 0;
var objectCount = 0;
var objectCount2 = 0;
var auxCount = new Array();
var auxLoad = new Array();
var reproducir = false;
var mouseIsPressed = false;
var movKeysPressed = false;
var overUI = false;
var maxRuta = Math.ceil(_parent.stageY / 25);
var t1ms = 0;
var frameTime = 33;
var totalCountFPS = 0;
var avgFPS = 30;
var fCounter = 14;
var fC1 = 15;
var fC2 = 17;
var fC3 = 21;
var fC4 = 23;
var fC5 = 25;
var fC6 = 27;
var fade = true;
var fadeO = 255;
var fadeI = -5;
var cursorT = new Array(0, 0, 1, 1, 1, 1, 2, 3);
var proyectilId = new Array();
var proyectilAngle = new Array();
var proyectilDamage = new Array();
var proyectilTeam = new Array();
var proyectilAtt = new Array();
var proyectilPre = new Array();
var proyectilVel = new Array();
var proyectilOwner = new Array();
var proyectilColis = new Array();
var proyectilPower = new Array();
var proyectilType = new Array();
var proyectilAux = new Array();
var tablaBorrado = new Array();
var tablaBorrado2 = new Array();
var miniMap = new Array();
var miniMap2 = new Array();
var powerIndex = new Array();
var currentMana = 0;
var maxMana = 1;
inicializar();
intervalID = setInterval(init, 5);
var servantIndex = -1;
var objetivo = new Array();
var deletedArea = new Array();
var fastTravelArea = 0;
var tryFastTravel = 0;
var cinematicScript = new Array();
var cacheList = new Array();
var waitForConfig = true;
var actionQueue = new Array();
var activeFire = '';
var loadedFrame = 0;
var eTime = new Array();
var nEnemyZone = 10;
var currentAI = 0;
var hbTime = 0;
var lootTable = new Array();
var lastInteract = -1;
var lastCX = -1;
var lastCY = -1;
onMouseUp = function () {
mouseIsPressed = false;
lastInteract = -1;
lastCX = -1;
lastCY = -1;
};
onMouseDown = function () {
Mouse.hide();
if (!overUI) {
if (reproducir) {
if (cinematicScript.length == 0) {
mouseIsPressed = true;
objetivo.splice(0, objetivo.length);
if (currentLoot != -1) {
finSaqueo();
}
}
}
}
};
}
}
movieClip 186 {
}
movieClip 187 {
}
movieClip 217 {
}
movieClip 219 {
}
movieClip 244 {
frame 1 {
stop();
}
}
movieClip 339 {
frame 1 {
stop();
}
}
movieClip 363 {
}
movieClip 436 {
frame 1 {
function actualizar() {
icon_mc.filters = undefined;
if (fotograma == undefined) {
fotograma = 1;
}
if (iIcon == undefined) {
iIcon = 1;
}
if (iBG == undefined || iBG == 0) {
iBG = 1;
}
if (iColor == undefined) {
iColor = 0;
}
gotoAndStop(fotograma);
if (fotograma == 2) {
icon_mc.gotoAndStop(iIcon);
bg_mc.gotoAndStop(iBG);
if (iColor != 0) {
var v1 = new Number(0);
v1 = iColor;
if (iIcon > 2 && iIcon < 5) {
v1 += 9;
}
if (iIcon > 4 && iIcon < 12) {
v1 += 18;
}
if (iIcon > 11 && iIcon < 13) {
v1 += 27;
}
if (iIcon > 12 && iIcon < 19) {
v1 += 36;
}
if (iIcon > 18 && iIcon < 40) {
v1 += 45;
}
if (iIcon > 41) {
v1 += 63;
}
if (iIcon == 41) {
v1 += 54;
}
if (iIcon != 40) {
var v2 = new flash.filters.ColorMatrixFilter(filterColor[v1]);
var v4 = new flash.filters.DropShadowFilter(0, 0, 0, 350, 2, 2, 1);
var v3 = new flash.filters.DropShadowFilter(0, 0, 16777215, 350, 2, 2, 1);
icon_mc.filters = new Array(v2, v4, v3);
}
}
}
}
var fotograma;
var iIcon;
var iBG;
var iColor;
var filterColor = new Array();
filterColor[1] = [0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
filterColor[2] = [0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 25, 0, 0, 0, 1, 0];
filterColor[3] = [0, 0, 0, 0, 0, 0, 0.6, 0, 0.05, -10, 0, 0.8, 0, 0.05, 20, 0, 0, 0, 1, 0];
filterColor[4] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
filterColor[5] = [1, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
filterColor[6] = [1, 0, 0, 0, 10, 0, 1, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
filterColor[7] = [0.3086, 0.6094000000000001, 0.082, 0, -40, 0.3086, 0.6094000000000001, 0.082, 0, -40, 0.3086, 0.6094000000000001, 0.082, 0, -40, 0, 0, 0, 1, 0];
filterColor[8] = [0.3086, 0.6094000000000001, 0.082, 0, 0, 0.3086, 0.6094000000000001, 0.082, 0, 0, 0.3086, 0.6094000000000001, 0.082, 0, 0, 0, 0, 0, 1, 0];
filterColor[9] = [0.3086, 0.6094000000000001, 0.082, 0.5, 0, 0.3086, 0.6094000000000001, 0.082, 0.5, 0, 0.3086, 0.6094000000000001, 0.082, 0.5, 0, 0, 0, 0, 1, 0];
filterColor[10] = [0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
filterColor[11] = [0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
filterColor[12] = [0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 30, 0, 0, 0, 1, 0];
filterColor[13] = [0.9, 0, 0, 0.05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
filterColor[14] = [1, 0, 0, 0.05, 0, 0, 0.4, 0, 0.05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
filterColor[15] = [1, 0, 0, 0.05, 0, 0, 1, 0, 0.05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
filterColor[16] = [0.3086, 0.6094000000000001, 0.082, 0, -40, 0.3086, 0.6094000000000001, 0.082, 0, -40, 0.3086, 0.6094000000000001, 0.082, 0, -40, 0, 0, 0, 1, 0];
filterColor[17] = [0.3086, 0.6094000000000001, 0.082, 0, 0, 0.3086, 0.6094000000000001, 0.082, 0, 0, 0.3086, 0.6094000000000001, 0.082, 0, 0, 0, 0, 0, 1, 0];
filterColor[18] = [0.481416, 0.950664, 0.12792, 0, 89.24, 0.481416, 0.950664, 0.12792, 0, 89.24, 0.481416, 0.950664, 0.12792, 0, 89.24, 0, 0, 0, 1, 0];
filterColor[19] = [0, 0, 0, 0, 0, 0, 0.6, 0, 0, -20, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
filterColor[20] = [0, 0, 0, 0, 0, 0, 0.6, 0, 0, -20, 0, 0, 0.6, 0, -20, 0, 0, 0, 1, 0];
filterColor[21] = [0, 0, 0, 0, 0, 0, 0.3, 0, 0, 0, 0, 0, 0.6, 0, 0, 0, 0, 0, 1, 0];
filterColor[22] = [0.6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
filterColor[23] = [0.5, 0.1, 0.1, 0, -30, 0.1, 0.3, 0.1, 0, -50, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
filterColor[24] = [0.7, 0.1, 0.1, 0, -10, 0.1, 0.65, 0.1, 0, -20, 0.1, 0.1, 0.1, 0, 0, 0, 0, 0, 1, 0];
filterColor[25] = [0.3, 0, 0, 0, -34.6, 0, 0.3, 0, 0, -34.6, 0, 0, 0.3, 0, -34.6, 0, 0, 0, 1, 0];
filterColor[26] = [0.55, 0, 0, 0, -4.425, 0, 0.55, 0, 0, -4.425, 0, 0, 0.55, 0, -4.425, 0, 0, 0, 1, 0];
filterColor[27] = [1.18, 0, 0, 0, 59.37, 0, 1.18, 0, 0, 59.37, 0, 0, 1.18, 0, 59.37, 0, 0, 0, 1, 0];
filterColor[28] = [0, 0, 0, 0, 0, 0, 0.8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
filterColor[29] = [0, 0, 0, 0, 0, 0, 0.8, 0, 0, 0, 0, 0, 0.8, 0, 0, 0, 0, 0, 1, 0];
filterColor[30] = [0, 0, 0, 0, 0, 0, 0.5, 0, 0.05, -20, 0, 0, 1, 0.05, 0, 0, 0, 0, 1, 0];
filterColor[31] = [0.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
filterColor[32] = [0.8, 0, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
filterColor[33] = [0.35, 0.35, 0.35, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
filterColor[34] = [0.1, 0.1, 0.1, 0, 0, 0.1, 0.1, 0.1, 0, 0, 0.1, 0.1, 0.1, 0, 0, 0, 0, 0, 1, 0];
filterColor[35] = [0.3086, 0.6094000000000001, 0.082, 0, 0, 0.3086, 0.6094000000000001, 0.082, 0, 0, 0.3086, 0.6094000000000001, 0.082, 0, 0, 0, 0, 0, 1, 0];
filterColor[36] = [0.3086, 0.6094000000000001, 0.082, 0, 100, 0.3086, 0.6094000000000001, 0.082, 0, 100, 0.3086, 0.6094000000000001, 0.082, 0, 100, 0, 0, 0, 1, 0];
filterColor[37] = [0, 0, 0, 0, 0, 0, 0.5, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
filterColor[38] = [0, 0, 0, 0, 0, 0, 0.5, 0, 0, 10, 0, 0, 0.5, 0, 10, 0, 0, 0, 1, 0];
filterColor[39] = [0, 0, 0, 0, 0, 0.1, 0.15, 0.1, 0, 5, 0.2, 0.2, 0.35, 0, 5, 0, 0, 0, 1, 0];
filterColor[40] = [0.6, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
filterColor[41] = [0.6, 0, 0, 0, 10, 0, 0.3, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
filterColor[42] = [0.3, 0.3, 0.3, 0, 0, 0.25, 0.25, 0.25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
filterColor[43] = [0.1, 0.1, 0.1, 0, 0, 0.1, 0.1, 0.1, 0, 0, 0.1, 0.1, 0.1, 0, 0, 0, 0, 0, 1, 0];
filterColor[44] = [0.3086, 0.6094000000000001, 0.082, 0, 0, 0.3086, 0.6094000000000001, 0.082, 0, 0, 0.3086, 0.6094000000000001, 0.082, 0, 0, 0, 0, 0, 1, 0];
filterColor[45] = [0.3086, 0.6094000000000001, 0.082, 0, 100, 0.3086, 0.6094000000000001, 0.082, 0, 100, 0.3086, 0.6094000000000001, 0.082, 0, 100, 0, 0, 0, 1, 0];
filterColor[46] = [1, 0, 0, 0, -100, 0.25, 0.25, 0.25, 0, 10, 0, 0, 1, 0, -100, 0, 0, 0, 1, 0];
filterColor[47] = [1, 0, 0, 0, -100, 0.25, 0.25, 0.25, 0, 10, 0.25, 0.25, 0.25, 0, 10, 0, 0, 0, 1, 0];
filterColor[48] = [1, 0, 0, 0, -100, 0.25, 0.25, 0.25, 0, 10, 0.5, 0.5, 0.5, 0, 10, 0, 0, 0, 1, 0];
filterColor[49] = [0.6, 0, 0, 0, 0, 0, 0.25, 0, 0, -100, 0, 0, 0.25, 0, -100, 0, 0, 0, 1, 0];
filterColor[50] = [0.4, 0.4, 0.4, 0, 10, 0.2, 0.2, 0.2, 0, 10, 0, 0, 1, 0, -100, 0, 0, 0, 1, 0];
filterColor[51] = [0.35, 0.35, 0.35, 0, 10, 0.25, 0.25, 0.25, 0, 10, 0, 0, 1, 0, -100, 0, 0, 0, 1, 0];
filterColor[52] = [0.1, 0.1, 0.1, 0, 0, 0.1, 0.1, 0.1, 0, 0, 0.1, 0.1, 0.1, 0, 0, 0, 0, 0, 1, 0];
filterColor[53] = [0.3086, 0.6094000000000001, 0.082, 0, 0, 0.3086, 0.6094000000000001, 0.082, 0, 0, 0.3086, 0.6094000000000001, 0.082, 0, 0, 0, 0, 0, 1, 0];
filterColor[54] = [0.6172, 1.2188, 0.164, 0, 136.5, 0.6172, 1.2188, 0.164, 0, 136.5, 0.6172, 1.2188, 0.164, 0, 136.5, 0, 0, 0, 1, 0];
filterColor[55] = [0.289549430742755, 1.13998334744364, 0.430467221813605, 0, -17.41, 0.63011521923728, 1.14451445221867, 0.0853703285440507, 0, -17.41, 0.365094483695838, 1.54748834940521, -0.0525828331010497, 0, -17.41, 0, 0, 0, 1, 0];
filterColor[56] = [0.2456688, 1.4387472, 0.175584, 0, -17.41, 0.6176688, 1.0667472, 0.175584, 0, -17.41, 0.6176688, 1.4387472, -0.196416, 0, -17.41, 0, 0, 0, 1, 0];
filterColor[57] = [0.260643725543757, 1.75449052410782, -0.155134249651575, 0, -17.41, 0.560408051715135, 1.02037018414208, 0.279221764142788, 0, -17.41, 0.893976253885868, 1.24158457883454, -0.275560832720408, 0, -17.41, 0, 0, 0, 1, 0];
filterColor[58] = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
filterColor[59] = [1, 0, 0, 0, 20, 1, 0, 0, 0, -50, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
filterColor[60] = [1, 1, 1, 0.1, 0, 1, 1, 1, 0.1, -30, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
filterColor[61] = [0.89494, 1.76726, 0.2378, 0, -77.15000000000001, 0.89494, 1.76726, 0.2378, 0, -77.15000000000001, 0.89494, 1.76726, 0.2378, 0, -77.15000000000001, 0, 0, 0, 1, 0];
filterColor[62] = [0.3086, 0.6094000000000001, 0.082, 0, 0, 0.3086, 0.6094000000000001, 0.082, 0, 0, 0.3086, 0.6094000000000001, 0.082, 0, 0, 0, 0, 0, 1, 0];
filterColor[63] = [0.89494, 1.76726, 0.2378, 0, 111.35, 0.89494, 1.76726, 0.2378, 0, 111.35, 0.89494, 1.76726, 0.2378, 0, 111.35, 0, 0, 0, 1, 0];
filterColor[64] = [1, 0, 0, 0, -50, 0, 1, 0, 0, 0, 0, 0, 0.5, 0, -50, 0, 0, 0, 1, 0];
filterColor[65] = [1, 0, 0, 0, -80, 0, 1.5, 0, 0.1, -30, 0, 0, 1, 0.1, 0, 0, 0, 0, 1, 0];
filterColor[66] = [1, 0, 0, 0, -80, 0, 1.5, 0, 0.1, -50, 0, 0, 3, 0.1, 0, 0, 0, 0, 1, 0];
filterColor[67] = [1, 0, 0, 0.2, 0, 0, 1, 0, 0, -100, 0, 0, 1, 0, -100, 0, 0, 0, 1, 0];
filterColor[68] = [1, 0, 0, 0.1, 0, 0, 1, 0, 0, -50, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
filterColor[69] = [1, 0, 0, 0.3, -50, 0, 1, 0, 0.3, -50, 0, 0, 1, 0, -100, 0, 0, 0, 1, 0];
filterColor[70] = [0.18516, 0.36564, 0.0492, 0, -34.6, 0.18516, 0.36564, 0.0492, 0, -34.6, 0.18516, 0.36564, 0.0492, 0, -34.6, 0, 0, 0, 1, 0];
filterColor[71] = [0.3086, 0.6094000000000001, 0.082, 0, 0, 0.3086, 0.6094000000000001, 0.082, 0, 0, 0.3086, 0.6094000000000001, 0.082, 0, 0, 0, 0, 0, 1, 0];
filterColor[72] = [0.3086, 0.6094000000000001, 0.082, 0.3, 0, 0.3086, 0.6094000000000001, 0.082, 0.3, 0, 0.3086, 0.6094000000000001, 0.082, 0.3, 0, 0, 0, 0, 1, 0];
actualizar();
}
}
movieClip 437 {
}
movieClip 974 {
frame 1 {
stop();
}
}
movieClip 1511 {
frame 1 {
stop();
}
}
movieClip 2048 {
frame 1 {
stop();
}
}
movieClip 2585 {
frame 1 {
stop();
}
}
movieClip 3122 {
frame 1 {
stop();
}
}
movieClip 3659 {
frame 1 {
stop();
}
}
movieClip 4196 {
frame 1 {
stop();
}
}
movieClip 4733 {
frame 1 {
stop();
}
}
movieClip 4734 {
frame 1 {
stop();
}
}
movieClip 5271 {
frame 1 {
stop();
}
}
movieClip 5808 {
frame 1 {
stop();
}
}
movieClip 6345 {
frame 1 {
stop();
}
}
movieClip 6346 {
frame 1 {
stop();
}
}
movieClip 6883 {
frame 1 {
stop();
}
}
movieClip 7420 {
frame 1 {
stop();
}
}
movieClip 7957 {
frame 1 {
stop();
}
}
movieClip 7958 {
frame 1 {
stop();
}
}
movieClip 7959 {
}
movieClip 8110 {
}
movieClip 8261 {
}
movieClip 8412 {
}
movieClip 8563 {
}
movieClip 8714 {
}
movieClip 8865 {
}
movieClip 9016 {
}
movieClip 9167 {
}
movieClip 9408 {
}
movieClip 9649 {
}
movieClip 9890 {
}
movieClip 9893 {
}
movieClip 9894 {
}
movieClip 9895 {
frame 1 {
stop();
}
}
movieClip 9896 TMPcy3jsjvkip {
frame 1 {
function setConfig(s) {
var v1 = new Array();
var v2 = new String();
v1 = s.split(',');
characterType = Number(v1[0]);
base_mc.armor_mc.gotoAndStop(Number(v1[1]));
base_mc.hair_mc.gotoAndStop(Number(v1[3]));
base_mc.helm_mc.gotoAndStop(Number(v1[5]));
weapon01_mc.gotoAndStop(v1[7]);
weapon02_mc.gotoAndStop(v1[9]);
if (characterType == 0) {
weapon01_mc.weapon_mc._xscale = 98;
weapon01_mc.weapon_mc._yscale = 98;
weapon02_mc.weapon_mc._xscale = 98;
weapon02_mc.weapon_mc._yscale = 98;
} else {
if (characterType == 1) {
weapon01_mc.weapon_mc._xscale = 94;
weapon01_mc.weapon_mc._yscale = 94;
weapon02_mc.weapon_mc._xscale = 94;
weapon02_mc.weapon_mc._yscale = 94;
} else {
if (characterType == 2) {
weapon01_mc.weapon_mc._xscale = 94;
weapon01_mc.weapon_mc._yscale = 94;
weapon02_mc.weapon_mc._xscale = 94;
weapon02_mc.weapon_mc._yscale = 94;
}
}
}
v2 = '2,2,2,3,3,3,2,3,75,75,75,58,68,68,48,1,17,3,82,14,14,3,3,3,3,2,2,1,1,1,1,1,48,82,28,9,10,10,12,12,12,13,13,13,12,13,14,36,36,83,77,77,62,70,60,17,98,98,17,13,13,13,13,12,12,11,11,11,11,11,9,9,9,19,20,20,22,22,22,23,23,23,22,23,23,23,23,25,81,53,91,21,28,27,27,27,27,23,23,23,23,22,22,21,21,21,21,21,25,9,9,29,30,30,32,32,32,33,33,33,32,33,8,8,8,8,88,33,97,69,38,42,45,98,35,34,34,34,33,32,32,31,31,31,31,31,35,37,39,39,40,40,42,42,42,43,43,43,42,43,83,83,83,97,88,35,97,59,62,47,83,83,83,83,83,83,43,42,42,41,41,41,41,41,95,68,49,49,50,50,83,83,83,82,82,82,83,82,58,58,58,68,97,97,85,71,61,63,63,74,74,84,84,84,83,81,81,82,82,81,81,81,85,87,89,85,40,40,73,73,73,72,72,72,73,72,73,73,73,73,38,38,57,20,20,57,77,77,77,74,74,74,73,71,71,72,72,71,71,71,58,59,59,59,50,50,63,63,63,62,62,62,63,62,64,86,86,48,68,68,67,51,1,1,65,65,64,64,64,64,63,61,61,62,62,61,61,61,59,59,87,69,69,69';
wFraA = v2.split(',');
v2 = '-3,14,-3,13,-2,10,-3,8,-4,10,-4,11,-3,13,-3,11,-3,2,-3,1,-3,0,-11,-5,-15,-24,-10,-33,-24,-18,-3,9,15,11,6,11,-1,6,0,5,6,2,2,-7,0,-9,-1,-12,-3,1,-3,8,-2,8,-3,7,-3,7,-5,10,-5,10,-5,10,-2,-3,8,-7,-3,-13,-12,-9,-9,3,-10,27,9,16,10,15,11,11,13,10,13,12,12,13,9,15,13,13,1,8,1,7,0,6,-6,4,-17,-10,-17,-20,-10,-4,25,10,35,6,22,9,13,9,17,6,19,0,14,-6,10,-7,7,-9,8,3,9,11,8,11,2,11,-1,10,3,14,2,14,1,14,7,0,10,-5,-1,-7,-23,2,-25,15,-25,38,22,14,23,12,25,8,27,6,28,7,28,9,21,13,27,8,14,8,14,7,14,6,6,9,1,0,-5,-9,14,2,35,3,32,-3,31,1,22,7,20,4,27,-6,23,-10,20,-9,17,-9,20,2,21,9,19,9,10,12,7,14,14,14,13,14,12,14,19,-1,17,-7,6,-4,-14,14,-21,30,-20,52,26,8,27,5,29,1,31,-3,31,-1,32,0,26,7,31,0,26,4,26,3,26,2,26,7,26,1,13,-6,37,-3,41,-9,25,-8,28,-7,30,0,30,-2,27,-14,25,-16,24,-14,23,-14,26,-4,27,2,24,4,19,10,17,13,23,10,22,11,21,12,24,-6,23,-15,16,-5,8,20,1,38,2,59,21,-1,21,-2,21,-5,21,-12,22,-9,22,-9,21,-1,22,-8,33,-4,33,-5,33,-6,41,-2,46,-8,34,-12,48,-16,26,-17,9,-12,18,-12,31,-8,24,-8,20,-17,22,-21,24,-21,26,-20,22,-11,20,-5,20,-2,21,6,21,8,24,5,24,5,24,5,26,-13,23,-16,22,-9,30,16,27,36,28,57,7,-10,8,-9,9,-8,10,-8,10,-6,10,-4,8,-10,8,-8,-4,-5,-4,-6,-4,-8,0,-15,20,-33,28,-36,15,-30,-6,-9,-10,-7,-8,-6,-6,-6,-5,-13,-2,-17,3,-21,8,-24,12,-23,-2,-15,19,0,18,-2,10,-7,10,-8,20,1,19,0,18,-1,-5,-10,-1,-14,6,-15,33,-13,68,30,69,52,-8,-5,-8,-5,-6,-7,-3,-4,-2,0,-2,2,-7,-6,-3,0,-7,1,-7,0,-7,-1,-13,-7,-11,-33,0,-41,-10,-26,-17,0,-12,0,-6,0,-5,2,-8,-5,-7,-10,-6,-16,-2,-21,0,-22,-6,-9,7,-5,6,-5,0,-5,-2,-7,8,1,7,1,6,1,-7,-4,-5,-8,4,-14,29,-22,60,5,63,25,-13,4,-12,4,-11,1,-9,2,-8,6,-8,7,-13,3,-9,5,1,6,1,5,-1,3,-19,2,-22,-22,-13,-34,-23,-15,-3,7,0,4,0,5,4,6,0,0,-4,-5,-6,-10,-5,-16,-5,-17,-1,-4,-2,2,-5,2,-8,0,-10,0,-2,3,-3,3,-4,3,0,1,2,-3,4,-12,13,-26,27,-11,29,8';
wLocA = v2.split(',');
v2 = '1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,1,0,0,0,0,0,0,0,1,1,1,1,1,0';
wProA = v2.split(',');
v2 = '53,53,53,52,52,52,53,52,75,75,75,58,68,68,48,1,17,7,16,5,5,4,4,4,5,51,51,52,52,51,51,51,48,82,28,9,9,19,13,13,13,12,12,12,13,12,14,36,36,83,77,77,62,70,60,17,98,98,17,14,14,14,13,11,11,12,12,11,11,11,9,9,37,19,19,19,23,23,23,22,22,22,23,22,23,23,23,25,81,53,91,21,28,27,27,27,27,24,24,24,23,21,21,22,22,21,21,21,8,9,9,9,100,100,33,33,33,32,32,32,33,32,8,8,8,8,88,33,97,69,38,42,45,98,35,34,34,34,33,31,31,32,32,31,31,31,35,37,39,35,90,90,93,93,93,92,92,92,93,92,45,45,45,97,88,35,97,59,62,47,32,33,33,33,33,33,32,91,91,92,92,91,91,91,45,68,49,49,48,80,82,82,82,83,83,83,82,83,58,58,58,68,97,97,85,71,61,63,63,74,74,84,84,84,83,82,82,81,81,81,81,81,85,87,89,89,90,90,72,72,72,73,73,73,72,73,73,73,73,73,38,38,57,20,20,57,77,77,74,74,74,74,73,72,72,71,71,71,71,71,75,59,59,79,80,80,62,62,62,63,63,63,62,63,64,86,86,48,68,68,67,51,1,1,65,67,67,64,64,64,63,62,62,61,61,61,61,61,59,59,59,69,70,70';
wFraB = v2.split(',');
v2 = '29,11,28,11,28,8,28,9,28,12,28,14,29,10,27,13,12,8,12,7,12,6,8,3,6,-6,5,-9,5,0,30,10,34,5,30,9,14,11,7,10,12,11,11,1,11,1,11,1,9,9,29,7,29,7,29,7,30,7,30,9,30,9,30,9,5,3,11,-2,11,-10,23,-24,41,-8,41,9,32,4,31,4,30,1,28,2,27,6,27,7,32,3,27,5,18,6,18,5,20,3,23,2,19,-4,17,-8,28,-2,41,0,32,-3,30,1,31,6,28,7,30,7,32,-3,32,-3,32,-3,28,5,21,2,24,2,27,0,29,0,21,3,22,3,23,3,19,1,17,-3,15,-12,6,-26,-8,-11,-10,8,27,-5,27,-5,25,-7,22,-4,21,0,21,2,26,-6,22,0,26,1,26,0,26,-1,26,-2,31,-9,27,-11,38,-9,27,-10,15,-7,19,-5,28,-1,30,1,37,-3,41,-16,41,-16,41,-16,36,-5,12,-5,13,-5,19,-5,21,-7,11,1,12,1,13,1,26,-4,24,-8,15,-14,-10,-22,-41,5,-44,25,12,-10,11,-9,10,-8,9,-8,9,-6,9,-4,11,-10,11,-8,23,-5,23,-6,23,-8,27,-10,33,-15,25,-17,36,-19,14,-11,-9,-3,5,-10,20,-7,31,-9,25,-15,31,-27,31,-27,31,-27,29,-15,0,0,1,-2,9,-7,9,-8,0,1,1,0,2,-1,24,-10,20,-14,13,-15,-14,-13,-49,30,-50,52,1,-7,1,-6,1,-6,2,-5,2,-1,2,2,2,-8,2,0,1,-8,1,-9,1,-10,23,-16,25,-22,20,-23,15,-21,-6,-7,-9,7,-11,0,0,-11,4,-9,4,-16,8,-32,8,-32,8,-32,5,-17,1,6,1,3,1,-5,0,-5,1,6,1,6,1,6,13,-15,20,-18,8,-16,-5,-4,-23,51,-18,72,-7,8,-8,5,-10,1,-12,-3,-12,-1,-13,0,-7,7,-12,0,-7,4,-7,3,-7,2,-8,-6,0,-20,2,-20,-4,-19,-9,6,0,18,-4,16,-7,8,-16,-8,-17,-20,-13,-25,-13,-25,-13,-25,-19,-8,-8,2,-5,4,0,10,2,13,-4,10,-3,11,-2,12,-5,-6,-4,-15,3,-5,11,20,18,38,17,59,-3,14,-4,12,-6,8,-8,6,-9,7,-9,9,-2,13,-8,8,5,8,5,7,5,6,-4,0,-9,-10,-9,-19,-10,-11,-8,14,10,19,11,17,6,12,-7,2,-19,-8,-20,-14,-20,-14,-20,-14,-9,3,-2,9,0,9,8,12,11,13,5,14,7,15,8,15,0,-1,2,-7,13,-4,33,14,40,30,39,52,10,16,9,15,8,11,6,10,6,12,7,13,10,15,6,13,18,8,18,7,19,6,2,3,-1,-8,-2,-13,-3,-5,13,15,22,12,21,13,21,10,11,6,-2,1,-10,-3,-10,-3,-10,-3,11,7,10,10,11,11,17,11,20,10,16,14,17,14,18,14,12,0,9,-5,20,-7,42,2,44,15,44,38';
wLocB = v2.split(',');
v2 = '1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,1,1,0,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0';
wProB = v2.split(',');
if (v1[9] == '9') {
v2 = '34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,27,28,27,27,27,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,31,31,32,32,32,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,32,32,2,2,2,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,3,4,6,6,6,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,18,18,11,11,11,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,18,17,16,16,16,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,21,19,18,18,18,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,24,21,22,22,34,34,34,34,34,34,34,34,34,34,34,34,34,34';
wFraA = v2.split(',');
v2 = '70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,65,61,70,59,67,49,65,47,64,44,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,73,63,82,58,77,52,73,51,69,49,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,82,62,89,52,85,49,82,50,78,50,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,85,59,84,50,87,47,86,48,85,49,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,86,51,82,42,83,44,85,47,85,48,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,60,46,63,43,67,40,71,38,72,38,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,55,52,55,48,57,43,61,39,63,39,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,57,56,57,49,57,42,57,42,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70';
wLocA = v2.split(',');
v2 = '1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1';
wProA = v2.split(',');
v2 = '53,53,53,52,52,52,53,52,64,64,64,64,68,68,5,7,7,7,5,5,5,4,4,4,5,51,51,52,52,51,51,51,5,59,59,9,9,19,13,13,13,12,12,12,13,12,71,71,71,71,16,16,15,17,17,17,15,15,17,14,14,14,13,11,11,12,12,11,11,11,4,9,9,19,19,19,23,23,23,22,22,22,23,22,25,25,25,25,26,26,25,25,28,27,27,27,27,24,24,24,23,21,21,22,22,21,21,21,8,9,9,9,100,100,33,33,33,32,32,32,33,32,35,35,35,35,36,36,36,37,38,38,37,37,37,34,34,34,33,31,31,32,32,31,31,31,35,39,39,35,90,90,93,93,93,92,92,92,93,92,45,45,45,45,46,46,45,47,47,48,47,47,47,44,44,44,43,91,91,92,92,91,91,91,45,48,49,49,80,80,82,82,82,83,83,83,82,83,85,85,85,85,88,88,83,85,10,10,87,87,87,84,84,84,83,82,82,81,81,81,81,81,85,89,89,89,90,90,72,72,72,73,73,73,72,73,75,75,75,75,76,76,75,77,80,80,77,77,74,74,74,74,73,72,72,71,71,71,71,71,75,79,79,79,80,80,62,62,62,63,63,63,62,63,65,65,65,65,68,68,65,65,70,70,65,67,67,64,64,64,63,62,62,61,61,61,61,61,65,69,69,69,70,70';
wFraB = v2.split(',');
v2 = '29,11,28,11,28,8,28,9,28,12,28,14,29,10,27,13,12,8,12,7,12,6,8,2,6,-6,5,-9,5,0,30,11,33,6,30,10,14,11,7,10,12,11,11,1,11,1,11,1,9,9,29,7,29,7,29,7,30,7,30,9,30,9,30,9,5,3,11,-2,17,-10,23,-24,41,-8,41,9,32,4,31,4,30,1,28,2,27,6,26,7,31,4,27,6,25,7,25,6,25,5,22,2,13,-4,11,-8,23,-2,37,-1,25,-3,30,1,25,6,23,7,30,7,32,-3,32,-3,32,-3,28,5,21,2,22,2,27,1,29,0,22,3,23,3,24,3,19,1,17,-3,15,-12,6,-26,-8,-11,-10,8,27,-5,27,-5,25,-7,22,-4,21,0,21,2,26,-6,22,0,26,1,26,0,26,-1,26,-3,25,-9,23,-11,33,-9,26,-10,15,-7,19,-5,28,-1,30,1,37,-3,41,-16,41,-16,41,-16,36,-5,12,-5,13,-5,19,-5,21,-7,12,1,13,1,14,1,26,-4,24,-8,15,-14,-10,-22,-41,5,-44,25,12,-10,11,-9,10,-8,9,-8,9,-6,9,-4,11,-10,11,-8,23,-5,23,-6,23,-7,27,-10,27,-16,25,-17,29,-19,14,-11,-9,-3,5,-10,20,-7,25,-8,27,-13,31,-27,31,-27,31,-27,29,-15,0,0,1,-2,9,-7,9,-8,0,1,1,1,2,1,24,-10,21,-15,13,-15,-14,-13,-49,30,-50,52,1,-7,1,-6,1,-6,2,-5,2,-1,2,2,2,-8,2,0,5,-7,5,-8,5,-9,17,-16,19,-22,20,-23,10,-21,-11,-7,-15,7,-11,1,5,-9,6,-9,7,-17,9,-32,9,-32,9,-32,5,-17,1,6,1,3,1,-5,0,-5,0,6,0,6,0,6,13,-15,13,-18,8,-16,-5,-4,-17,51,-18,71,-7,8,-8,5,-9,1,-12,-3,-12,-1,-13,0,-7,7,-12,0,-7,4,-7,3,-7,2,-7,-5,0,-19,4,-22,-4,-19,-9,6,-5,17,-10,16,-7,8,-16,-7,-17,-20,-13,-25,-13,-25,-13,-25,-19,-8,-8,2,-5,4,0,10,2,13,-4,10,-3,11,-2,12,-5,-6,-1,-13,3,-5,11,20,18,38,17,59,-3,14,-4,12,-6,8,-8,6,-9,7,-9,9,-2,13,-8,8,5,8,5,7,5,6,-3,1,-5,-12,-2,-19,-9,-12,-2,14,17,17,12,18,6,12,-7,2,-19,-8,-20,-14,-20,-14,-20,-14,-9,3,-2,9,0,9,8,12,11,13,5,14,6,14,7,14,0,-1,2,-7,13,-5,33,14,40,30,39,52,10,16,9,15,8,11,6,10,6,12,7,13,10,15,6,13,19,7,19,6,19,5,8,3,-1,-8,-2,-13,-3,-5,13,15,29,12,27,13,21,10,11,6,-2,1,-10,-3,-10,-3,-10,-3,11,7,10,10,11,11,17,11,20,10,16,14,17,14,18,14,12,0,10,-5,20,-8,42,2,44,15,44,38';
wLocB = v2.split(',');
v2 = '1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,1,1,1,0,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0';
wProB = v2.split(',');
weapon01_mc.gotoAndStop(13);
} else {
if (Number(v1[9]) > 9) {
v2 = '2,2,2,3,3,3,2,3,5,5,5,5,5,6,5,8,8,8,7,5,4,4,4,4,4,1,1,3,3,1,1,1,5,5,5,9,10,10,12,12,12,13,13,13,12,13,15,15,15,16,16,16,15,18,18,18,17,15,14,14,14,14,14,11,11,13,13,11,11,11,15,16,15,19,20,20,22,22,22,23,23,23,22,23,25,25,25,25,26,26,25,28,28,28,27,25,24,24,24,24,24,21,21,23,23,21,21,21,25,26,25,29,30,30,32,32,32,33,33,33,32,33,35,35,35,35,35,36,36,31,38,31,37,35,35,34,34,34,35,31,31,33,33,31,31,31,35,36,36,39,40,40,42,42,42,43,43,43,42,43,45,45,45,45,45,46,45,48,48,41,47,45,45,44,44,44,45,41,41,43,43,41,41,41,45,45,47,49,50,50,103,103,103,102,102,102,103,102,55,55,55,55,75,75,54,57,56,56,56,55,102,102,102,102,55,103,103,101,101,101,101,101,102,54,54,55,57,90,113,113,113,112,112,112,113,112,155,155,155,125,154,54,154,155,4,4,155,125,125,125,125,125,125,113,113,111,111,111,111,111,125,152,152,5,142,80,123,123,123,122,122,122,123,122,122,122,122,122,125,125,125,134,135,135,4,122,124,124,124,124,122,123,123,121,121,121,121,121,124,124,7,69,140,70';
wFraB = v2.split(',');
v2 = '26,7,26,6,25,4,26,3,26,6,26,8,26,6,26,7,12,7,12,6,12,5,7,3,6,-3,3,-6,10,2,29,4,29,-1,29,2,19,7,13,8,17,8,16,-3,16,-3,16,-3,16,5,25,0,25,1,25,2,26,2,25,3,25,3,25,3,12,3,11,-2,17,-9,26,-22,37,-5,36,13,29,1,28,0,27,-3,26,-2,26,1,26,3,29,0,26,2,23,3,23,2,23,1,21,1,18,-5,16,-6,25,-4,29,-5,22,-6,26,-3,27,1,26,3,29,1,30,-6,30,-6,30,-6,27,0,19,-3,20,-4,23,-3,25,-3,20,-2,21,-2,22,-2,24,-2,22,-6,19,-14,5,-23,-10,-7,-13,12,21,-6,21,-7,20,-8,17,-7,16,-3,16,-1,21,-7,17,-3,24,-2,24,-3,24,-4,25,-5,27,-10,27,-11,30,-10,22,-10,11,-11,13,-7,26,-3,28,-2,32,-6,35,-16,35,-16,35,-16,30,-8,9,-7,10,-7,14,-7,17,-8,10,-4,11,-4,12,-4,25,-7,26,-11,15,-15,-13,-19,-46,9,-49,29,8,-6,6,-8,4,-10,6,-8,7,-7,8,-6,7,-7,7,-6,18,-8,18,-9,18,-10,22,-11,22,-17,23,-17,25,-18,2,-14,-9,-5,0,-7,13,-8,20,-10,23,-14,26,-25,26,-25,26,-25,23,-16,-2,-3,0,-6,4,-9,5,-10,-1,-4,0,-4,1,-4,18,-13,20,-17,10,-17,-19,-7,-50,34,-50,54,-8,-4,-7,-4,-7,-5,-6,-6,-6,-3,-7,0,-7,-6,-6,-3,4,-8,4,-9,4,-10,12,-15,12,-20,14,-22,6,-19,-10,-5,-13,4,-12,0,-3,-11,6,-12,3,-18,5,-28,5,-28,5,-28,2,-16,-6,2,-7,0,-5,-4,-7,-5,-7,1,-7,1,-7,1,8,-15,8,-18,3,-15,-9,3,-19,52,-19,72,-11,7,-12,5,-13,0,-15,-1,-15,2,-15,3,-11,5,-15,1,0,5,0,4,0,3,-3,-1,-5,-15,-3,-19,-8,-12,-5,6,4,11,2,11,0,7,-11,-2,-21,-15,-20,-21,-20,-21,-20,-21,-13,-4,-9,2,-8,2,-4,6,-4,7,-8,6,-7,7,-6,8,-9,1,-3,-5,4,2,18,21,25,40,24,61,-3,12,-3,11,-5,7,-7,5,-7,7,-7,9,-3,11,-7,8,12,8,12,7,12,6,-3,4,-3,-5,-5,-13,-4,-6,5,11,14,11,12,11,12,9,-8,3,-19,-6,-20,-11,-20,-11,-20,-11,-10,5,-3,8,-1,10,5,9,7,11,2,10,3,10,4,10,0,4,4,-3,17,0,32,14,48,29,45,50,9,12,8,10,7,7,6,7,6,10,6,11,9,11,6,10,15,5,15,4,15,3,9,3,-1,-2,-4,-8,-2,0,18,10,27,5,26,6,19,6,11,4,-2,1,-9,-3,-9,-3,-9,-3,10,5,9,7,10,6,15,6,16,5,12,8,13,8,14,8,10,2,9,-3,18,-4,39,1,44,13,44,34';
wLocB = v2.split(',');
v2 = '1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,1,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,1,1,0,0,1,1,1,0,0,0,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0';
wProB = v2.split(',');
}
}
if (characterType == 1) {
v2 = '100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93.1,100,94.5,100,93.2,100,93.2,100,94.9,100,95.2,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,97.2,92.6,100,94,100,92.9,96,95.7,95.3,94.3,94.2,95.5,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,94.2,103,92.8,100,92.7,96.2,95.6,93.2,97.2,93.2,100,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,94.3,100,92.8,104,95.4,95.6,94.9,96.2,95.8,96.3,95.4,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,92.7,100,94,100,93.7,100,97.9,100,97.3,100,91.8,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,94.3,100,92.8,104,95.4,95.6,94.9,96.2,95.8,96.3,95.4,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,94.2,103,92.8,100,92.7,96.2,95.6,93.2,97.2,93.2,100,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,97.2,92.6,100,94,100,92.9,96,95.7,95.3,94.3,94.2,95.5';
prop = v2.split(',');
}
base_mc.armor_mc.filters = undefined;
base_mc.hair_mc.filters = undefined;
base_mc.helm_mc.filters = undefined;
weapon01_mc.filters = undefined;
weapon02_mc.filters = undefined;
base_mc.body_mc.filters = undefined;
base_mc.legmask_mc.filters = undefined;
base_mc.bodymask_mc.filters = undefined;
if (v1[1] != '1' && v1[2] != '0') {
if (v1[1] == '2' || v1[1] == '3' || v1[1] == '4') {
v1[2] = Number(v1[2]) + 9;
}
var v3 = new flash.filters.ColorMatrixFilter(armorColor[v1[2]]);
base_mc.armor_mc.filters = new Array(v3);
}
if (v1[3] != '1' && v1[4] != 0) {
v3 = new flash.filters.ColorMatrixFilter(hairColor[v1[4]]);
base_mc.hair_mc.filters = new Array(v3);
}
if (v1[5] != '1' && v1[6] != 0) {
v3 = new flash.filters.ColorMatrixFilter(helmColor[v1[6]]);
base_mc.helm_mc.filters = new Array(v3);
}
if (v1[7] != '1' && v1[8] != '0') {
if (Number(v1[9]) > 7) {
if (Number(v1[10]) == 7) {
v1[10] = Number(v1[10]) + 9;
}
}
v3 = new flash.filters.ColorMatrixFilter(weaponColor[v1[8]]);
weapon01_mc.filters = new Array(v3);
}
if (v1[9] != '1' && v1[10] != '0') {
if (Number(v1[9]) > 9) {
v3 = new flash.filters.ColorMatrixFilter(armorColor[v1[10]]);
weapon02_mc.filters = new Array(v3);
} else {
if (Number(v1[9]) > 8) {
v1[10] = Number(v1[10]) + 9;
} else {
if (Number(v1[9]) > 7) {
if (Number(v1[10]) == 7) {
v1[10] = Number(v1[10]) + 9;
}
}
}
v3 = new flash.filters.ColorMatrixFilter(weaponColor[v1[10]]);
weapon02_mc.filters = new Array(v3);
}
}
v3 = new flash.filters.ColorMatrixFilter(bodyColor[v1[11]]);
base_mc.body_mc.filters = new Array(v3);
if (v1[12] == '0') {
v1[12] = '1';
}
v3 = new flash.filters.ColorMatrixFilter(maskColor[v1[12]]);
base_mc.legmask_mc.filters = new Array(v3);
base_mc.bodymask_mc._visible = true;
if (v1[13] != '-1') {
v3 = new flash.filters.ColorMatrixFilter(maskColor[v1[13]]);
base_mc.bodymask_mc.filters = new Array(v3);
} else {
base_mc.bodymask_mc._visible = false;
}
}
function goTo(f) {
var v3 = new Number(1);
var v2 = new Number(1);
base_mc.body_mc.gotoAndStop(f);
base_mc.bodymask_mc.gotoAndStop(f);
base_mc.legmask_mc.gotoAndStop(f);
if (base_mc.armor_mc.armor_mc) {
base_mc.armor_mc.armor_mc.gotoAndStop(f);
}
if (base_mc.armor_mc.armorb_mc) {
base_mc.armor_mc.armorb_mc.gotoAndStop(f);
}
if (base_mc.hair_mc.hair_mc) {
base_mc.hair_mc.hair_mc.gotoAndStop(f);
}
if (base_mc.hair_mc.hairb_mc) {
base_mc.hair_mc.hairb_mc.gotoAndStop(f);
}
if (base_mc.helm_mc.helm_mc) {
base_mc.helm_mc.helm_mc.gotoAndStop(f);
}
if (weapon01_mc.weapon_mc) {
weapon01_mc.weapon_mc.gotoAndStop(wFraA[f - 1]);
v3 = Number(wProA[f - 1]);
}
if (weapon02_mc.weapon_mc) {
weapon02_mc.weapon_mc.gotoAndStop(wFraB[f - 1]);
v2 = Number(wProB[f - 1]);
}
--f;
f *= 2;
if (characterType == 0) {
base_mc._xscale = 98;
base_mc._yscale = 98;
} else {
if (characterType == 1) {
base_mc._xscale = Number(prop[f]) * 0.92;
base_mc._yscale = Number(prop[f + 1]) * 0.92;
} else {
if (characterType == 2) {
base_mc._xscale = 92;
base_mc._yscale = 92;
}
}
}
base_mc._x = (145 - base_mc._width) / 2;
base_mc._y = (145 - base_mc._height) / 2;
if (weapon01_mc.weapon_mc) {
if (weapon01_mc._currentframe == 13) {
weapon01_mc.weapon_mc._x = base_mc._xscale * Number(wLocA[f]) / 100 + base_mc._x;
weapon01_mc.weapon_mc._y = base_mc._yscale * Number(wLocA[f + 1]) / 100 + base_mc._y;
} else {
weapon01_mc.weapon_mc._x = base_mc._xscale * (Number(wLocA[f]) + 62) / 100 + base_mc._x - 62 * weapon01_mc.weapon_mc._xscale / 100;
weapon01_mc.weapon_mc._y = base_mc._yscale * (Number(wLocA[f + 1]) + 62) / 100 + base_mc._y - 62 * weapon01_mc.weapon_mc._yscale / 100;
}
if (v3) {
if (weapon01_mc.getDepth() < wempty01_mc.getDepth()) {
weapon01_mc.swapDepths(wempty01_mc);
}
} else {
if (weapon01_mc.getDepth() > wempty01_mc.getDepth()) {
weapon01_mc.swapDepths(wempty01_mc);
}
}
}
if (weapon02_mc.weapon_mc) {
weapon02_mc.weapon_mc._x = base_mc._xscale * (Number(wLocB[f]) + 62) / 100 + base_mc._x - 62 * weapon02_mc.weapon_mc._xscale / 100;
weapon02_mc.weapon_mc._y = base_mc._yscale * (Number(wLocB[f + 1]) + 62) / 100 + base_mc._y - 62 * weapon02_mc.weapon_mc._yscale / 100;
if (v2) {
if (weapon02_mc.getDepth() < wempty02_mc.getDepth()) {
weapon02_mc.swapDepths(wempty02_mc);
}
} else {
if (weapon02_mc.getDepth() > wempty02_mc.getDepth()) {
weapon02_mc.swapDepths(wempty02_mc);
}
}
}
}
var prop = new Array();
var wLocA = new Array();
var wFraA = new Array();
var wProA = new Array();
var wLocB = new Array();
var wFraB = new Array();
var wProB = new Array();
var characterType = 0;
var bodyColor = new Array();
var maskColor = new Array();
var armorColor = new Array();
var helmColor = new Array();
var weaponColor = new Array();
var hairColor = new Array();
bodyColor[0] = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
bodyColor[1] = [0.3086, 0.6094000000000001, 0.082, 0, 0, 0.3086, 0.6094000000000001, 0.082, 0, 0, 0.3086, 0.6094000000000001, 0.082, 0, 0, 0, 0, 0, 1, 0];
bodyColor[2] = [0.595320657603824, 0.706264317952097, -0.301584975555921, 0, 0, 0.137570941885377, 0.700174123362003, 0.16225493475262, 0, 0, 0.493781607935701, 0.158542541122028, 0.347675850942271, 0, 0, 0, 0, 0, 1, 0];
bodyColor[3] = [0.917566148944114, 0.206177768083908, -0.123743917028022, 0, 0, 0.0279336203217244, 0.9170655450248431, 0.055000834653433, 0, 0, 0.165202504767433, -0.00489159187024629, 0.839689087102813, 0, 0, 0, 0, 0, 1, 0];
bodyColor[4] = [1.1144605, -0.2330955, -0.031365, 0, 1.025, -0.1180395, 0.9994045, -0.031365, 0, 1.025, -0.1180395, -0.2330955, 1.201135, 0, 1.025, 0, 0, 0, 1, 0];
bodyColor[5] = [1.062985, -0.319935, -0.04305, 0, 5.05, -0.162015, 0.905065, -0.04305, 0, 5.05, -0.162015, -0.319935, 1.18195, 0, 5.05, 0, 0, 0, 1, 0];
bodyColor[6] = [0.862985, -0.319935, -0.04305, 0, -0.75, -0.162015, 0.7050650000000001, -0.04305, 0, -0.75, -0.162015, -0.319935, 0.98195, 0, -0.75, 0, 0, 0, 1, 0];
bodyColor[7] = [0.482968, -0.073128, -0.00984, 0, 4.1, -0.037032, 0.446872, -0.00984, 0, 4.1, -0.037032, -0.073128, 0.51016, 0, 4.1, 0, 0, 0, 1, 0];
bodyColor[8] = [0.4033305, 0.0411345, 0.005535, 0, -10.075, 0.0208305, 0.4236345, 0.005535, 0, -10.075, 0.0208305, 0.0411345, 0.388035, 0, -10.075, 0, 0, 0, 1, 0];
bodyColor[9] = [0.60669512328503, 1.06496734807826, -0.491662471363293, 0, -17.33, 0.167613708389812, 0.765507684285625, 0.246878607324564, 0, -17.33, 0.734783983517563, 0.192866817505484, 0.252349198976953, 0, -17.33, 0, 0, 0, 1, 0];
bodyColor[10] = [0.760924696487376, -0.0292125928550762, 0.6082878963677, 0, -21.59, 0.257019789769181, 1.20484632988303, -0.121866119652214, 0, -21.59, -0.303709553664775, 0.832984139521866, 0.810725414142908, 0, -21.59, 0, 0, 0, 1, 0];
maskColor[0] = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
maskColor[1] = [0.182387443217613, -0.561906303627047, 0.829518860409434, 0, -10.075, 0.0834144805575172, 0.623630001833418, -0.257044482390935, 0, -10.075, -0.7510230989671261, 0.721153630480739, 0.479869468486388, 0, -10.075, 0, 0, 0, 1, 0];
maskColor[2] = [0.303979072029355, -0.936510506045078, 1.38253143401572, 0, -10.375, 0.139024134262529, 1.03938333638903, -0.428407470651559, 0, -10.375, -1.25170516494521, 1.2019227174679, 0.799782447477313, 0, -10.375, 0, 0, 0, 1, 0];
maskColor[3] = [-0.342030986405737, 0.470153523071855, 0.6218774633338821, 0, -10.375, 0.344593587171935, 0.479288814956995, -0.07388240212893001, 0, -10.375, -0.189722411903552, 1.29173618831696, -0.352013776413407, 0, -10.375, 0, 0, 0, 1, 0];
maskColor[4] = [-0.241329605759738, 1.12560659592376, -0.284276990164025, -0.1, 1.40000000000001, 0.182991988974395, 0.222010266739059, 0.194997744286546, -0.08, 1.40000000000001, 0.551055988180861, 0.559658726176185, -0.510714714357047, 0, 1.40000000000002, 0, 0, 0, 1, 0];
maskColor[5] = [-1.02540365355275, 2.39794309609461, -0.372539442541862, 0, -10, 0.405979883530699, 0.241733370268239, 0.352286746201062, 0, -10, 0.962617666793225, 1.54203768742212, -1.50465535421535, 0, -10, 0, 0, 0, 1, 0];
maskColor[6] = [0.26898826304153, 0.343445727180839, -0.112433990222369, 0, 0, 0.08588837675415061, 0.341009649344801, 0.073101973901048, -0.2, 1.75, 0.228372643174281, 0.124357016448811, 0.147270340376908, -0.2, 1.74999999999999, 0, 0, 0, 1, 0];
maskColor[7] = [0.3112395, 1.1695255, -0.830765, 0, -39.525, -0.0242905, 0.363688, 0.3106025, 0, -39.525, 0.8522345, -0.1782495, -0.0239849999999999, 0, -39.525, 0, 0, 0, 1, 0];
maskColor[8] = [0.269230137243521, 2.24371798326227, -1.51294812050579, 0, -5, -0.0404207819659567, 0.466315071900627, 0.574105710065329, 0, -5, 1.56235383606141, -0.220763418650779, -0.341590417410633, 0, -5, 0, 0, 0, 1, 0];
maskColor[9] = [0.177418426637035, 0.219499337722065, 0.0530822356409004, -0.02, -7.825, 0.122207918778102, 0.302667427146797, 0.0251246540751019, -0.07000000000000001, -7.825, 0.100737604280833, 0.252512832056575, 0.09674956366259201, -0.1, -7.825, 0, 0, 0, 1, 0];
maskColor[10] = [1.7611725, -0.8912475, -0.119925, 0, -14.125, -0.4513275, 1.3212525, -0.119925, 0, -14.125, -0.4513275, -0.8912475, 2.092575, 0, -14.125, 0, 0, 0, 1, 0];
maskColor[11] = [0.880713375429966, -0.313376286366786, 0.232662910936819, 0.1, -47.3, -0.0280243206519075, 0.921328467879007, -0.0933041472270993, 0.05, -47.3, -0.278354101075066, 0.0715393975096832, 1.00681470356538, -0.1, -47.3, 0, 0, 0, 1, 0];
maskColor[12] = [1.46923511066613, -1.66048067314687, 1.31124556248074, 0.05, -2.02, -0.149336537653056, 1.78628097672869, -0.516944439075636, 0.05, -2.02, -1.55331399549569, 0.498323374933739, 2.17499062056195, 0, -2.02000000000001, 0, 0, 0, 1, 0];
maskColor[13] = [0.12344, 0.24376, 0.0328, -0.1, -1.9, 0.12344, 0.24376, 0.0328, -0.1, -1.9, 0.12344, 0.24376, 0.0328, -0.1, -1.9, 0, 0, 0, 1, 0];
maskColor[14] = [0.1543, 0.3047, 0.041, 0, -5.75, 0.1543, 0.3047, 0.041, 0, -5.75, 0.1543, 0.3047, 0.041, 0, -5.75, 0, 0, 0, 1, 0];
maskColor[15] = [0.3086, 0.6094000000000001, 0.082, 0.06, 0, 0.3086, 0.6094000000000001, 0.082, 0.06, 0, 0.3086, 0.6094000000000001, 0.082, 0.06, 0, 0, 0, 0, 1, 0];
hairColor[0] = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
hairColor[1] = [1.5917706, 0.1042074, 0.014022, 0, 6.215, 0.0527706, 1.6432074, 0.014022, 0, 6.215, 0.0527706, 0.1042074, 1.553022, 0, 6.215, 0, 0, 0, 1, 0];
hairColor[2] = [2.35006951900213, -3.09632065536765, 2.18625113636552, 0.1, 27.66, -0.395106711277828, 2.74955472648818, -0.914448015210349, 0.05, 23.66, -2.77632075831792, 0.565115997607982, 3.65120476070994, 0, 18.66, 0, 0, 0, 1, 0];
hairColor[3] = [2.35006951900213, -3.09632065536765, 2.18625113636552, 0.1, 80.06, -0.395106711277828, 2.74955472648818, -0.914448015210349, 0.05, 80.06, -2.77632075831792, 0.565115997607982, 3.65120476070994, 0, 80.06, 0, 0, 0, 1, 0];
hairColor[4] = [3.3060969, -1.4067999, -0.189297, 0, -10.885, -0.7124031, 2.6117001, -0.189297, 0, -10.885, -0.7124031, -1.4067999, 3.829203, 0, -10.885, 0, 0, 0, 1, 0];
hairColor[5] = [3.86678, -1.64538, -0.2214, 0, 16.5, -0.83322, 3.05462, -0.2214, 0, 16.5, -0.83322, -1.64538, 4.4786, 0, 16.5, 0, 0, 0, 1, 0];
hairColor[6] = [0.3086, 0.6094000000000001, 0.082, 0, -10, 0.3086, 0.6094000000000001, 0.082, 0, -10, 0.3086, 0.6094000000000001, 0.082, 0, -10, 0, 0, 0, 1, 0];
hairColor[7] = [0.3086, 0.6094000000000001, 0.082, 0, 0, 0.3086, 0.6094000000000001, 0.082, 0, 0, 0.3086, 0.6094000000000001, 0.082, 0, 0, 0, 0, 0, 1, 0];
hairColor[8] = [0.481416, 0.950664, 0.12792, 0, 11.24, 0.481416, 0.950664, 0.12792, 0, 11.24, 0.481416, 0.950664, 0.12792, 0, 11.24, 0, 0, 0, 1, 0];
hairColor[9] = [2.0059, 3.9611, 0.533, 0, -24.25, 2.0059, 3.9611, 0.533, 0, -24.25, 2.0059, 3.9611, 0.533, 0, -24.25, 0, 0, 0, 1, 0];
armorColor[0] = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
armorColor[1] = [0.5, 0, 0, -0.08, 11.75, 0, 0.5, 0, 0, 11.75, 0, 0, 0.5, -0.16, 11.75, 0, 0, 0, 1, 0];
armorColor[2] = [0.8, 0, 0, -0.15, -3.3, 0, 0.8, 0, 0, -3.3, 0, 0, 0.8, 0, -3.3, 0, 0, 0, 1, 0];
armorColor[3] = [0.5, 0, 0, -0.16, 21.75, 0, 0.5, 0, -0.1, 21.75, 0, 0, 0.5, 0, 21.75, 0, 0, 0, 1, 0];
armorColor[4] = [0.2, 0.2, 0.2, -0.02, 8.025, 0, 0.2, 0, -0.05, 8.025, 0, 0, 0.2, -0.05, 8.025, 0, 0, 0, 1, 0];
armorColor[5] = [0.5, 0.2, 0.1, 0, 6.75, 0, 0.5, 0, 0, 6.75, 0, 0, 0.5, -0.12, 6.75, 0, 0, 0, 1, 0];
armorColor[6] = [0.4, 0.2, 0.12, 0.05, 6.75, 0.1, 0.4, 0.2, 0, 6.75, 0, 0, 0.5, -0.08, 6.75, 0, 0, 0, 1, 0];
armorColor[7] = [0.09258, 0.18282, 0.0246, -0.12, 29.45, 0.09258, 0.18282, 0.0246, -0.12, 29.45, 0.09258, 0.18282, 0.0246, -0.12, 29.45, 0, 0, 0, 1, 0];
armorColor[8] = [0.10801, 0.21329, 0.0287, 0, 8.025, 0.10801, 0.21329, 0.0287, 0, 8.025, 0.10801, 0.21329, 0.0287, 0, 8.025, 0, 0, 0, 1, 0];
armorColor[9] = [0.3086, 0.6094000000000001, 0.082, 0.2, 0, 0.3086, 0.6094000000000001, 0.082, 0.2, 0, 0.3086, 0.6094000000000001, 0.082, 0.2, 0, 0, 0, 0, 1, 0];
armorColor[10] = [0.75, 0, 0, -0.01, 0, 0, 1.5, 0, 0, 5, 0, 0, 0.75, -0.01, 0, 0, 0, 0, 1, 0];
armorColor[11] = [0.75, 0, 0, -0.01, 0, 0.1, 1.5, 0.1, 0, 5, 0.1, 0.1, 1.5, 0, 5, 0, 0, 0, 1, 0];
armorColor[12] = [0.75, 0, 0, -0.01, 0, 0.1, 1.1, 0.1, 0, 0, 0.1, 0.1, 1.5, 0, 10, 0, 0, 0, 1, 0];
armorColor[13] = [1, 0, 0, 0, 5, 0, 0.75, 0, -0.02, -5, 0, 0, 0.75, -0.02, -5, 0, 0, 0, 1, 0];
armorColor[14] = [1, 0.2, 0.2, 0.03, 5, 0.1, 1, 0.1, 0, 3, 0, 0, 0.75, -0.02, 0, 0, 0, 0, 1, 0];
armorColor[15] = [2, 0.1, 0.1, 0.04, -10, 0.1, 2, 0.1, 0.03, -5, 0, 0, 1, -0.1, -30, 0, 0, 0, 1, 0];
armorColor[16] = [0.18516, 0.36564, 0.0492, 0, 1.40000000000001, 0.18516, 0.36564, 0.0492, 0, 1.40000000000001, 0.18516, 0.36564, 0.0492, 0, 1.40000000000001, 0, 0, 0, 1, 0];
armorColor[17] = [0.364148, 0.719092, 0.09676, 0, 6.27, 0.364148, 0.719092, 0.09676, 0, 6.27, 0.364148, 0.719092, 0.09676, 0, 6.27, 0, 0, 0, 1, 0];
armorColor[18] = [1.2344, 2.4376, 0.328, 0.1, -10.5, 1.2344, 2.4376, 0.328, 0.1, -10.5, 1.2344, 2.4376, 0.328, 0.1, -10.5, 0, 0, 0, 1, 0];
helmColor[0] = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
helmColor[1] = [0.5, 0, 0, -0.08, 11.75, 0, 0.5, 0, 0, 11.75, 0, 0, 0.5, -0.16, 11.75, 0, 0, 0, 1, 0];
helmColor[2] = [0.8, 0, 0, -0.15, -3.3, 0, 0.8, 0, 0, -3.3, 0, 0, 0.8, 0, -3.3, 0, 0, 0, 1, 0];
helmColor[3] = [0.5, 0, 0, -0.16, 21.75, 0, 0.5, 0, -0.1, 21.75, 0, 0, 0.5, 0, 21.75, 0, 0, 0, 1, 0];
helmColor[4] = [0.2, 0.2, 0.2, -0.02, 8.025, 0, 0.2, 0, -0.05, 8.025, 0, 0, 0.2, -0.05, 8.025, 0, 0, 0, 1, 0];
helmColor[5] = [0.5, 0.2, 0.1, 0, 6.75, 0, 0.5, 0, 0, 6.75, 0, 0, 0.5, -0.12, 6.75, 0, 0, 0, 1, 0];
helmColor[6] = [0.4, 0.2, 0.12, 0.05, 6.75, 0.1, 0.4, 0.2, 0, 6.75, 0, 0, 0.5, -0.08, 6.75, 0, 0, 0, 1, 0];
helmColor[7] = [0.09258, 0.18282, 0.0246, -0.12, 29.45, 0.09258, 0.18282, 0.0246, -0.12, 29.45, 0.09258, 0.18282, 0.0246, -0.12, 29.45, 0, 0, 0, 1, 0];
helmColor[8] = [0.10801, 0.21329, 0.0287, 0, 8.025, 0.10801, 0.21329, 0.0287, 0, 8.025, 0.10801, 0.21329, 0.0287, 0, 8.025, 0, 0, 0, 1, 0];
helmColor[9] = [0.3086, 0.6094000000000001, 0.082, 0.2, 0, 0.3086, 0.6094000000000001, 0.082, 0.2, 0, 0.3086, 0.6094000000000001, 0.082, 0.2, 0, 0, 0, 0, 1, 0];
weaponColor[0] = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
weaponColor[1] = [0.5, 0, 0, -0.25, 22.225, 0, 0.5, 0, 0, 22.225, 0, 0, 0.5, -0.3, 22.225, 0, 0, 0, 1, 0];
weaponColor[2] = [0.5, 0, 0, -0.25, 22.225, 0, 0.5, 0, 0, 22.225, 0, 0, 0.5, 0, 22.225, 0, 0, 0, 1, 0];
weaponColor[3] = [0.5, 0, 0, -0.25, 22.225, 0, 0.5, 0, -0.15, 22.225, 0, 0, 0.5, 0, 22.225, 0, 0, 0, 1, 0];
weaponColor[4] = [0.2, 0.2, 0.2, -0.02, 22.225, 0, 0.2, 0, -0.2, 22.225, 0, 0, 0.2, -0.2, 22.225, 0, 0, 0, 1, 0];
weaponColor[5] = [0.5, 0.2, 0.1, 0, 22.225, 0, 0.5, 0, 0, 22.225, 0, 0, 0.5, -0.12, 22.225, 0, 0, 0, 1, 0];
weaponColor[6] = [0.4, 0.2, 0.12, 0.05, 22.225, 0.1, 0.4, 0.2, 0, 22.225, 0, 0, 0.5, -0.08, 22.225, 0, 0, 0, 1, 0];
weaponColor[7] = [0.3, 0, 0, 0, -34.6, 0, 0.3, 0, 0, -34.6, 0, 0, 0.3, 0, -34.6, 0, 0, 0, 1, 0];
weaponColor[8] = [0.10801, 0.21329, 0.0287, 0, 8.025, 0.10801, 0.21329, 0.0287, 0, 8.025, 0.10801, 0.21329, 0.0287, 0, 8.025, 0, 0, 0, 1, 0];
weaponColor[9] = [0.3086, 0.6094000000000001, 0.082, 0.2, 0, 0.3086, 0.6094000000000001, 0.082, 0.2, 0, 0.3086, 0.6094000000000001, 0.082, 0.2, 0, 0, 0, 0, 1, 0];
weaponColor[10] = [0.5, 0, 0, -0.25, 22.225, 0, 0.5, 0, 0, 22.225, 0, 0, 0.5, -0.3, 22.225, 0, 0, 0, 1, 0];
weaponColor[11] = [0.5, 0, 0, -0.25, 22.225, 0, 0.5, 0, 0, 22.225, 0, 0, 0.5, 0, 22.225, 0, 0, 0, 1, 0];
weaponColor[12] = [0.5, 0, 0, -0.25, 22.225, 0, 0.5, 0, -0.15, 22.225, 0, 0, 0.5, 0, 22.225, 0, 0, 0, 1, 0];
weaponColor[13] = [0.2, 0.2, 0.2, -0.02, 22.225, 0, 0.2, 0, -0.2, 22.225, 0, 0, 0.2, -0.2, 22.225, 0, 0, 0, 1, 0];
weaponColor[14] = [0.6, 0.2, 0.2, -0.05, 30, 0, 0.5, 0, -0.1, 30, 0, 0, 0.2, -0.3, 20, 0, 0, 0, 1, 0];
weaponColor[15] = [0.3, 0.2, 0.2, 0, 35, 0, 0.5, 0, 0, 35, 0, 0, 0.2, -0.3, 20, 0, 0, 0, 1, 0];
weaponColor[16] = [0.3, 0, 0, 0, -34.6, 0, 0.3, 0, 0, -34.6, 0, 0, 0.3, 0, -34.6, 0, 0, 0, 1, 0];
weaponColor[17] = [0.3086, 0.6094000000000001, 0.082, 0, 15, 0.3086, 0.6094000000000001, 0.082, 0, 15, 0.3086, 0.6094000000000001, 0.082, 0, 15, 0, 0, 0, 1, 0];
weaponColor[18] = [0.3086, 0.6094000000000001, 0.082, 0.2, 0, 0.3086, 0.6094000000000001, 0.082, 0.2, 0, 0.3086, 0.6094000000000001, 0.082, 0.2, 0, 0, 0, 0, 1, 0];
stop();
}
}
movieClip 9897 {
frame 1 {
function setConfig(s) {
var v1 = new Array();
v1 = s.split(',');
v1[2] = '0';
v1[4] = '0';
v1[6] = '0';
v1[8] = '0';
v1[10] = '0';
v1[11] = '0';
v1[12] = '0';
v1[13] = '0';
s = v1.join(',');
object_mc.setConfig(s);
}
function goTo(f) {
var v1 = new Number(0);
object_mc.goTo(f);
v1 = f % totalF;
if (v1 == 0) {
v1 = totalF;
}
if (v1 >= dieF1 && v1 <= dieF2) {
_visible = false;
} else {
_visible = true;
}
}
var totalF = 38;
var dieF1 = 36;
var dieF2 = 38;
}
}
movieClip 9898 {
frame 1 {
function colorBase(s) {
var v1 = Number(s);
if (v1 > 9) {
v1 %= 9;
if (v1 == 0) {
v1 = 9;
}
}
return v1;
}
function setConfig(s) {
var v1 = new Array();
v1 = s.split(',');
v1[2] = colorBase(v1[2]);
v1[6] = colorBase(v1[6]);
v1[8] = colorBase(v1[8]);
v1[10] = colorBase(v1[10]);
s = v1.join(',');
object_mc.setConfig(s);
}
function goTo(f) {
object_mc.goTo(f);
}
}
}
movieClip 10435 {
frame 1 {
stop();
}
}
movieClip 10972 {
frame 1 {
stop();
}
}
movieClip 11509 {
frame 1 {
stop();
}
}
movieClip 12046 {
frame 1 {
stop();
}
}
movieClip 12583 {
frame 1 {
stop();
}
}
movieClip 13120 {
frame 1 {
stop();
}
}
movieClip 13657 {
frame 1 {
stop();
}
}
movieClip 14194 {
frame 1 {
stop();
}
}
movieClip 14195 {
frame 1 {
stop();
}
}
movieClip 14732 {
frame 1 {
stop();
}
}
movieClip 15269 {
frame 1 {
stop();
}
}
movieClip 15806 {
frame 1 {
stop();
}
}
movieClip 15807 {
frame 1 {
stop();
}
}
movieClip 16344 {
frame 1 {
stop();
}
}
movieClip 16881 {
frame 1 {
stop();
}
}
movieClip 17418 {
frame 1 {
stop();
}
}
movieClip 17419 {
frame 1 {
stop();
}
}
movieClip 17420 {
}
movieClip 17421 TMPiwekojvs8g {
frame 1 {
function setConfig(s) {
var v1 = new Array();
var v2 = new String();
v1 = s.split(',');
characterType = Number(v1[0]);
base_mc.armor_mc.gotoAndStop(Number(v1[1]));
base_mc.hair_mc.gotoAndStop(Number(v1[3]));
base_mc.helm_mc.gotoAndStop(Number(v1[5]));
weapon01_mc.gotoAndStop(v1[7]);
weapon02_mc.gotoAndStop(v1[9]);
if (characterType == 0) {
weapon01_mc.weapon_mc._xscale = 98;
weapon01_mc.weapon_mc._yscale = 98;
weapon02_mc.weapon_mc._xscale = 98;
weapon02_mc.weapon_mc._yscale = 98;
} else {
if (characterType == 1) {
weapon01_mc.weapon_mc._xscale = 94;
weapon01_mc.weapon_mc._yscale = 94;
weapon02_mc.weapon_mc._xscale = 94;
weapon02_mc.weapon_mc._yscale = 94;
} else {
if (characterType == 2) {
weapon01_mc.weapon_mc._xscale = 94;
weapon01_mc.weapon_mc._yscale = 94;
weapon02_mc.weapon_mc._xscale = 94;
weapon02_mc.weapon_mc._yscale = 94;
}
}
}
v2 = '2,2,2,3,3,3,2,3,75,75,75,58,68,68,48,1,17,3,82,14,14,3,3,3,3,2,2,1,1,1,1,1,48,82,28,9,10,10,12,12,12,13,13,13,12,13,14,36,36,83,77,77,62,70,60,17,98,98,17,13,13,13,13,12,12,11,11,11,11,11,9,9,9,19,20,20,22,22,22,23,23,23,22,23,23,23,23,25,81,53,91,21,28,27,27,27,27,23,23,23,23,22,22,21,21,21,21,21,25,9,9,29,30,30,32,32,32,33,33,33,32,33,8,8,8,8,88,33,97,69,38,42,45,98,35,34,34,34,33,32,32,31,31,31,31,31,35,37,39,39,40,40,42,42,42,43,43,43,42,43,83,83,83,97,88,35,97,59,62,47,83,83,83,83,83,83,43,42,42,41,41,41,41,41,95,68,49,49,50,50,83,83,83,82,82,82,83,82,58,58,58,68,97,97,85,71,61,63,63,74,74,84,84,84,83,81,81,82,82,81,81,81,85,87,89,85,40,40,73,73,73,72,72,72,73,72,73,73,73,73,38,38,57,20,20,57,77,77,77,74,74,74,73,71,71,72,72,71,71,71,58,59,59,59,50,50,63,63,63,62,62,62,63,62,64,86,86,48,68,68,67,51,1,1,65,65,64,64,64,64,63,61,61,62,62,61,61,61,59,59,87,69,69,69';
wFraA = v2.split(',');
v2 = '-1,15,-1,13,-1,10,-2,9,-2,11,-2,13,-1,13,-2,12,2,4,2,4,1,4,-7,-1,-13,-20,-10,-28,-23,-13,-1,10,14,11,5,11,2,7,1,4,6,2,1,-5,0,-6,-1,-8,-2,2,-1,9,0,9,-1,7,-1,7,-2,10,-2,10,-2,10,0,-2,8,-6,-1,-11,-9,-8,-7,3,-6,26,10,17,11,15,12,12,13,10,13,13,13,14,10,15,13,13,3,7,3,7,3,7,-3,8,-15,-7,-14,-17,-6,-2,23,11,31,7,21,10,13,10,18,5,17,1,12,-4,9,-4,7,-6,7,5,9,11,9,11,3,10,1,10,4,13,3,13,2,13,9,1,9,-5,-1,-8,-20,2,-25,14,-23,36,20,15,22,13,23,9,26,6,27,8,27,9,21,13,27,9,14,8,14,8,14,8,6,12,1,1,-2,-8,17,2,33,4,29,-1,29,3,20,8,19,4,24,-4,23,-8,20,-7,18,-8,20,3,21,9,19,9,10,12,8,12,13,14,12,14,11,14,18,-1,17,-7,6,-5,-15,14,-22,28,-20,49,24,9,25,6,26,2,29,-2,30,0,30,1,24,8,29,1,21,4,22,4,22,4,22,10,24,3,15,-5,37,-3,40,-7,22,-8,26,-5,26,2,28,-3,23,-10,25,-13,24,-12,23,-12,24,-3,25,3,22,5,17,9,15,12,20,11,19,11,18,11,22,-6,19,-11,15,-4,7,19,-1,38,0,57,20,3,19,0,19,-4,20,-7,20,-7,21,-6,20,2,21,-5,27,-1,27,-1,28,-1,36,2,42,-5,33,-12,46,-14,25,-14,14,-12,17,-11,28,-4,19,-5,19,-13,23,-18,24,-17,25,-17,21,-8,18,-3,18,0,19,6,19,8,21,6,21,6,21,6,24,-10,20,-15,20,-8,28,16,25,35,25,56,12,-5,13,-4,14,-3,14,-5,13,-1,12,0,13,-5,13,-3,-3,-2,-3,-2,-3,-2,1,-8,20,-27,26,-32,15,-24,-4,-6,-7,-5,-7,-4,-4,-4,-4,-8,0,-13,4,-18,10,-22,12,-21,-2,-12,19,2,18,0,10,-5,10,-6,18,2,17,2,16,2,-3,-7,-2,-10,6,-12,33,-8,63,32,65,53,-6,-2,-5,-2,-4,-4,-1,-1,0,2,0,4,-6,-3,-1,2,-3,4,-3,3,-3,2,-9,-2,-8,-27,0,-36,-6,-22,-14,1,-10,1,-4,1,-3,3,-7,-2,-5,-8,-4,-14,-1,-19,1,-19,-5,-7,9,-3,8,-3,1,-3,0,-4,10,1,9,1,8,1,-5,-2,-4,-6,5,-12,30,-17,59,8,62,27,-9,5,-8,5,-7,3,-5,4,-5,7,-4,8,-9,5,-5,7,4,7,4,7,4,7,-14,3,-17,-19,-10,-30,-18,-12,-1,7,1,4,0,5,6,6,1,3,-3,-3,-5,-8,-4,-14,-4,-14,1,-2,1,2,0,2,-5,2,-6,2,2,3,1,3,0,3,2,2,3,-1,6,-10,15,-23,29,-8,31,10';
wLocA = v2.split(',');
v2 = '1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0,0,0,0,0,0,0,1,1,1,1,1,0';
wProA = v2.split(',');
v2 = '53,53,53,52,52,52,53,52,75,75,75,58,68,68,48,1,17,7,16,5,5,4,4,4,5,51,51,52,52,51,51,51,48,82,28,9,9,19,13,13,13,12,12,12,13,12,14,36,36,83,77,77,62,70,60,17,98,98,17,14,14,14,13,11,11,12,12,11,11,11,9,9,37,19,19,19,23,23,23,22,22,22,23,22,23,23,23,25,81,53,91,21,28,27,27,27,27,24,24,24,23,21,21,22,22,21,21,21,8,9,9,9,100,100,33,33,33,32,32,32,33,32,8,8,8,8,88,33,97,69,38,42,45,98,35,34,34,34,33,31,31,32,32,31,31,31,35,37,39,35,90,90,93,93,93,92,92,92,93,92,45,45,45,97,88,35,97,59,62,47,32,33,33,33,33,33,32,91,91,92,92,91,91,91,45,68,49,49,48,80,82,82,82,83,83,83,82,83,58,58,58,68,97,97,85,71,61,63,63,74,74,84,84,84,83,82,82,81,81,81,81,81,85,87,89,89,90,90,72,72,72,73,73,73,72,73,73,73,73,73,38,38,57,20,20,57,77,77,74,74,74,74,73,72,72,71,71,71,71,71,75,59,59,79,80,80,62,62,62,63,63,63,62,63,64,86,86,48,68,68,67,51,1,1,65,67,67,64,64,64,63,62,62,61,61,61,61,61,59,59,59,69,70,70';
wFraB = v2.split(',');
v2 = '26,11,26,10,26,8,25,9,25,12,25,14,26,11,25,12,10,7,10,7,11,7,7,2,6,-4,5,-8,4,0,27,10,29,5,25,9,12,10,7,10,11,11,9,1,9,1,9,1,9,9,27,7,27,7,27,7,27,7,26,9,26,9,26,9,5,3,11,-1,16,-9,22,-21,37,-7,37,12,28,5,27,5,26,3,24,4,24,7,23,8,28,5,24,7,15,6,15,6,15,6,20,3,18,-3,15,-7,25,0,37,1,27,-2,25,3,27,7,25,8,27,7,28,-3,28,-3,28,-3,25,5,18,2,19,2,24,2,25,2,17,3,18,3,19,3,17,2,16,-1,13,-10,4,-23,-10,-8,-12,10,25,-2,24,-2,23,-4,20,-1,19,2,19,4,25,-3,20,2,22,4,22,3,22,2,25,-2,28,-7,25,-9,34,-7,24,-7,6,-5,16,-3,24,2,26,3,33,-1,37,-13,37,-13,37,-13,33,-2,10,-3,11,-3,18,-3,19,-4,9,1,10,1,11,1,24,-2,23,-6,14,-12,-11,-17,-40,8,-43,27,7,-5,6,-4,5,-3,5,-5,6,-1,7,0,6,-5,6,-3,22,-2,22,-2,22,-2,26,-8,31,-13,24,-14,33,-15,17,-10,-7,0,1,-3,18,-3,26,-4,25,-10,29,-23,29,-23,29,-23,27,-12,0,2,1,0,9,-5,9,-6,1,2,2,2,3,2,22,-7,21,-10,13,-12,-14,-8,-44,32,-46,53,4,-5,4,-4,3,-4,5,-3,5,1,5,4,4,-5,5,2,3,-5,3,-5,2,-5,22,-13,24,-19,20,-20,20,-20,-3,-5,-5,8,-7,4,1,-5,6,-9,6,-15,11,-28,11,-28,11,-28,10,-14,3,7,3,4,4,-3,4,-5,4,7,4,7,4,7,12,-11,14,-15,7,-12,-3,0,-20,51,-14,72,-5,9,-6,6,-7,2,-10,-2,-11,0,-11,1,-5,8,-10,1,-2,5,-3,5,-3,5,-5,-4,0,-16,4,-19,-2,-16,-7,7,1,16,0,14,-2,9,-12,-2,-16,-16,-11,-23,-11,-23,-11,-23,-17,-4,-6,3,-3,5,2,9,4,12,-1,11,0,11,1,11,-3,-6,0,-11,4,-4,12,19,20,38,19,57,-1,15,-3,13,-4,9,-7,6,-8,8,-8,9,-1,13,-8,9,5,8,5,8,5,8,-2,2,-9,-12,-6,-17,-7,-10,-7,13,9,17,12,16,7,12,-5,6,-17,-5,-19,-12,-19,-12,-19,-12,-8,6,-1,9,1,9,9,11,12,12,6,14,7,14,8,14,1,-1,2,-7,13,-5,34,14,41,28,39,49,9,17,8,15,7,11,6,10,6,12,6,14,9,15,6,13,15,8,15,8,15,8,9,4,1,-6,0,-11,-1,-4,12,14,19,13,17,13,18,10,11,9,-2,4,-9,-2,-9,-2,-9,-2,11,9,10,11,11,11,16,10,18,10,15,13,16,13,17,13,10,1,10,-5,20,-8,39,2,44,14,42,36';
wLocB = v2.split(',');
v2 = '1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,1,1,1,0,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0';
wProB = v2.split(',');
if (v1[9] == '9') {
v2 = '34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,27,28,27,27,27,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,31,31,32,32,32,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,32,32,2,2,2,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,3,4,6,6,6,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,18,18,11,11,11,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,18,17,16,16,16,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,21,19,18,18,18,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,34,24,21,22,22,34,34,34,34,34,34,34,34,34,34,34,34,34,34';
wFraA = v2.split(',');
v2 = '70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,65,60,70,59,66,50,64,49,63,46,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,73,64,79,59,74,54,71,54,69,52,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,80,62,86,55,84,53,81,53,78,53,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,85,59,86,52,87,51,86,52,85,53,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,86,53,83,45,84,47,86,49,86,50,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,61,52,65,46,68,42,71,40,73,40,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,55,56,57,50,59,45,62,40,63,41,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,57,56,58,51,57,45,58,44,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70,70';
wLocA = v2.split(',');
v2 = '1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1';
wProA = v2.split(',');
v2 = '53,53,53,52,52,52,53,52,64,64,64,64,68,68,5,7,7,7,5,5,5,4,4,4,5,51,51,52,52,51,51,51,5,59,59,9,9,19,13,13,13,12,12,12,13,12,71,71,71,71,16,16,15,17,17,17,15,15,17,14,14,14,13,11,11,12,12,11,11,11,4,9,9,19,19,19,23,23,23,22,22,22,23,22,25,25,25,25,26,26,25,25,28,27,27,27,27,24,24,24,23,21,21,22,22,21,21,21,8,9,9,9,100,100,33,33,33,32,32,32,33,32,35,35,35,35,36,36,36,37,38,38,37,37,37,34,34,34,33,31,31,32,32,31,31,31,35,39,39,35,90,90,93,93,93,92,92,92,93,92,45,45,45,45,46,46,45,47,47,48,47,47,47,44,44,44,43,91,91,92,92,91,91,91,45,48,49,49,80,80,82,82,82,83,83,83,82,83,85,85,85,85,88,88,83,85,10,10,87,87,87,84,84,84,83,82,82,81,81,81,81,81,85,89,89,89,90,90,72,72,72,73,73,73,72,73,75,75,75,75,76,76,75,77,80,80,77,77,74,74,74,74,73,72,72,71,71,71,71,71,75,79,79,79,80,80,62,62,62,63,63,63,62,63,65,65,65,65,68,68,65,65,70,70,65,67,67,64,64,64,63,62,62,61,61,61,61,61,65,69,69,69,70,70';
wFraB = v2.split(',');
v2 = '26,11,26,10,26,8,25,9,25,12,25,14,26,11,25,12,10,7,10,7,11,7,7,2,6,-4,5,-8,4,0,27,10,29,5,25,9,12,10,7,10,11,11,9,1,9,1,9,1,9,9,27,7,27,7,27,7,27,7,26,9,26,9,26,9,5,3,11,-1,16,-9,22,-21,37,-7,37,12,28,5,27,5,26,3,24,4,24,7,23,8,28,5,24,7,20,8,20,8,21,8,20,3,13,-3,10,-7,20,0,32,1,22,-2,25,3,21,7,19,8,27,7,28,-3,28,-3,28,-3,25,5,18,2,19,2,24,2,25,2,17,3,18,3,19,3,17,2,16,-1,13,-10,4,-23,-10,-8,-12,10,25,-2,24,-2,23,-4,20,-1,19,2,19,4,25,-3,20,2,22,3,22,3,22,2,25,-2,23,-7,20,-9,29,-7,24,-7,6,-5,16,-3,24,2,26,3,33,-1,37,-13,37,-13,37,-13,33,-2,10,-3,11,-3,18,-3,19,-4,9,1,10,1,11,1,24,-2,23,-6,14,-12,-11,-17,-40,8,-43,27,7,-5,6,-4,5,-3,5,-5,6,-1,7,0,6,-5,6,-3,22,-2,22,-2,22,-2,26,-8,26,-13,24,-14,27,-15,12,-10,-7,0,1,-3,18,-3,22,-4,25,-10,29,-23,29,-23,29,-23,27,-12,0,2,1,0,9,-5,9,-6,1,2,2,2,3,2,22,-7,21,-10,13,-12,-14,-8,-44,32,-46,53,4,-5,4,-4,3,-4,5,-3,5,1,5,4,4,-5,5,2,6,-5,6,-5,6,-5,17,-13,19,-19,20,-20,15,-20,-9,-5,-11,8,-7,4,4,-5,6,-9,7,-15,11,-28,11,-28,11,-28,10,-14,3,7,3,4,4,-3,4,-5,4,7,4,7,4,7,13,-11,13,-15,7,-12,-3,0,-20,51,-19,72,-5,9,-6,6,-7,2,-10,-2,-11,0,-11,1,-5,8,-10,1,-3,4,-3,4,-3,4,-5,-4,0,-16,4,-19,-3,-15,-7,7,1,16,0,14,-2,9,-12,-2,-16,-16,-11,-23,-11,-23,-11,-23,-17,-4,-6,3,-3,5,2,9,4,12,-1,11,0,11,1,11,-3,-6,0,-11,4,-4,12,19,20,38,19,57,-1,15,-3,13,-4,9,-8,6,-8,8,-8,9,-1,13,-8,9,5,8,5,8,5,8,-2,2,-3,-12,0,-18,-7,-10,0,13,15,17,12,16,7,12,-5,6,-17,-5,-19,-12,-19,-12,-19,-12,-8,6,-1,9,1,9,9,11,12,12,6,14,7,14,8,14,1,-1,2,-7,13,-5,34,14,41,28,39,49,9,17,8,15,7,11,6,10,6,12,6,14,9,15,6,13,15,8,15,8,16,8,9,4,1,-6,0,-11,0,-3,13,14,25,13,23,13,18,10,11,9,-2,4,-9,-2,-9,-2,-9,-2,11,9,10,11,11,11,16,10,18,10,15,13,16,13,17,13,10,1,10,-5,20,-8,39,2,44,14,42,36';
wLocB = v2.split(',');
v2 = '1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,1,1,1,0,1,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0';
wProB = v2.split(',');
weapon01_mc.gotoAndStop(13);
} else {
if (Number(v1[9]) > 9) {
v2 = '2,2,2,3,3,3,2,3,5,5,5,5,5,6,5,8,8,8,7,5,4,4,4,4,4,1,1,3,3,1,1,1,5,5,5,9,10,10,12,12,12,13,13,13,12,13,15,15,15,16,16,16,15,18,18,18,17,15,14,14,14,14,14,11,11,13,13,11,11,11,15,16,15,19,20,20,22,22,22,23,23,23,22,23,25,25,25,25,26,26,25,28,28,28,27,25,24,24,24,24,24,21,21,23,23,21,21,21,25,26,25,29,30,30,32,32,32,33,33,33,32,33,35,35,35,35,35,36,36,31,38,31,37,35,35,34,34,34,35,31,31,33,33,31,31,31,35,36,36,39,40,40,42,42,42,43,43,43,42,42,45,45,45,45,45,46,45,48,48,41,47,45,45,44,44,44,45,41,41,43,43,41,41,41,45,45,47,49,50,50,103,103,103,102,102,102,103,102,55,55,55,55,75,75,54,57,56,56,56,55,102,102,102,102,55,103,103,101,101,101,101,101,102,54,54,55,57,90,113,113,113,112,112,112,113,112,155,155,155,125,154,54,154,155,4,4,155,125,125,125,125,125,125,113,113,111,111,111,111,111,125,152,152,5,142,80,123,123,123,122,122,122,123,122,122,122,122,122,125,125,125,134,135,135,4,122,124,124,124,124,122,123,123,121,121,121,121,121,124,124,7,69,140,70';
wFraB = v2.split(',');
v2 = '23,7,23,6,22,4,23,3,23,6,23,8,23,6,23,7,9,7,9,7,9,7,6,3,5,-3,3,-6,9,1,26,5,27,1,24,4,16,7,11,8,15,7,14,-2,14,-2,14,-2,15,5,24,0,24,1,23,2,23,3,22,3,22,3,22,3,10,3,9,-2,15,-9,25,-20,34,-4,32,15,24,0,23,-1,22,-4,21,-3,21,0,21,2,24,-1,21,1,18,3,18,3,18,3,17,1,16,-4,14,-6,21,-3,29,-2,19,-4,23,1,22,2,21,3,25,1,26,-6,26,-6,26,-6,24,0,16,-3,17,-4,20,-3,21,-3,16,0,17,0,18,0,21,-1,21,-4,17,-13,2,-20,-11,-4,-13,15,19,-3,19,-4,18,-5,15,-5,14,-1,14,1,19,-4,15,-1,21,-1,21,-1,21,-1,23,-5,24,-10,22,-9,27,-8,20,-8,6,-5,13,-7,21,0,24,0,29,-4,31,-13,31,-13,31,-13,28,-5,9,-5,10,-5,13,-5,14,-6,10,-2,11,-2,12,-2,23,-6,24,-11,12,-13,-14,-14,-45,12,-46,32,8,-4,9,-6,8,-8,7,-7,7,-3,7,-1,7,-5,7,-3,17,-4,17,-4,17,-4,21,-9,20,-14,21,-14,24,-15,3,-10,-6,-4,0,-4,13,-6,18,-6,19,-11,24,-21,24,-21,24,-21,23,-16,-1,0,0,-2,7,-5,8,-5,-1,0,0,0,1,0,17,-10,19,-13,8,-14,-18,-4,-46,36,-45,56,-5,-3,-6,-1,-5,-4,-3,-3,-3,1,-4,3,-5,-2,-3,1,5,-9,5,-9,5,-9,13,-11,13,-17,14,-19,10,-18,-8,-5,-9,3,-6,0,6,-6,6,-11,7,-15,7,-24,7,-24,7,-24,7,-11,-5,3,-5,0,-3,-5,-3,-6,-4,3,-4,3,-4,3,8,-10,6,-14,3,-11,-7,6,-14,53,-13,73,-11,7,-12,5,-13,0,-13,0,-15,2,-15,3,-11,5,-15,1,2,4,2,4,2,4,-3,-1,-2,-12,1,-16,-6,-11,-3,6,5,11,4,11,2,6,-8,-2,-19,-15,-17,-20,-17,-20,-17,-20,-12,-3,-9,2,-8,2,-4,6,-4,7,-8,6,-7,7,-6,8,-9,1,-3,-5,6,2,18,22,25,40,25,59,-3,12,-3,11,-5,7,-7,5,-7,7,-7,9,-3,11,-7,8,11,7,11,7,11,7,-3,4,-3,-5,-3,-13,-4,-3,5,12,11,11,10,11,12,9,-6,5,-19,-4,-20,-11,-20,-11,-20,-11,-7,5,-3,7,-2,6,7,9,9,10,2,10,3,10,4,10,-1,2,4,-1,17,0,32,14,46,28,45,48,9,12,8,10,7,7,6,7,6,10,6,11,9,11,6,10,13,5,13,5,13,5,7,3,-1,-3,-4,-8,-2,0,17,10,24,6,23,6,15,6,9,6,-2,1,-9,-2,-9,-2,-9,-2,10,5,8,7,9,6,14,6,15,5,11,8,12,8,13,8,9,0,8,-3,17,-5,37,2,45,11,43,31';
wLocB = v2.split(',');
v2 = '1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,1,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,1,1,0,0,1,1,1,0,0,0,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0';
wProB = v2.split(',');
}
}
if (characterType == 1) {
v2 = '100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93.1,100,94.5,100,93.2,100,93.2,100,94.9,100,95.2,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,97.2,92.6,100,94,100,92.9,96,95.7,95.3,94.3,94.2,95.5,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,94.2,103,92.8,100,92.7,96.2,95.6,93.2,97.2,93.2,100,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,94.3,100,92.8,104,95.4,95.6,94.9,96.2,95.8,96.3,95.4,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,92.7,100,94,100,93.7,100,97.9,100,97.3,100,91.8,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,94.3,100,92.8,104,95.4,95.6,94.9,96.2,95.8,96.3,95.4,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,94.2,103,92.8,100,92.7,96.2,95.6,93.2,97.2,93.2,100,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,100,93,97.2,92.6,100,94,100,92.9,96,95.7,95.3,94.3,94.2,95.5';
prop = v2.split(',');
}
base_mc.armor_mc.filters = undefined;
base_mc.hair_mc.filters = undefined;
base_mc.helm_mc.filters = undefined;
weapon01_mc.filters = undefined;
weapon02_mc.filters = undefined;
base_mc.body_mc.filters = undefined;
base_mc.legmask_mc.filters = undefined;
base_mc.bodymask_mc.filters = undefined;
if (v1[1] != '1' && v1[2] != '0') {
if (v1[1] == '2' || v1[1] == '3' || v1[1] == '4') {
v1[2] = Number(v1[2]) + 9;
}
var v3 = new flash.filters.ColorMatrixFilter(armorColor[v1[2]]);
base_mc.armor_mc.filters = new Array(v3);
}
if (v1[3] != '1' && v1[4] != 0) {
v3 = new flash.filters.ColorMatrixFilter(hairColor[v1[4]]);
base_mc.hair_mc.filters = new Array(v3);
}
if (v1[5] != '1' && v1[6] != 0) {
v3 = new flash.filters.ColorMatrixFilter(helmColor[v1[6]]);
base_mc.helm_mc.filters = new Array(v3);
}
if (v1[7] != '1' && v1[8] != '0') {
if (Number(v1[9]) > 7) {
if (Number(v1[10]) == 7) {
v1[10] = Number(v1[10]) + 9;
}
}
v3 = new flash.filters.ColorMatrixFilter(weaponColor[v1[8]]);
weapon01_mc.filters = new Array(v3);
}
if (v1[9] != '1' && v1[10] != '0') {
if (Number(v1[9]) > 9) {
v3 = new flash.filters.ColorMatrixFilter(armorColor[v1[10]]);
weapon02_mc.filters = new Array(v3);
} else {
if (Number(v1[9]) > 8) {
v1[10] = Number(v1[10]) + 9;
} else {
if (Number(v1[9]) > 7) {
if (Number(v1[10]) == 7) {
v1[10] = Number(v1[10]) + 9;
}
}
}
v3 = new flash.filters.ColorMatrixFilter(weaponColor[v1[10]]);
weapon02_mc.filters = new Array(v3);
}
}
v3 = new flash.filters.ColorMatrixFilter(bodyColor[v1[11]]);
base_mc.body_mc.filters = new Array(v3);
if (v1[12] == '0') {
v1[12] = '1';
}
v3 = new flash.filters.ColorMatrixFilter(maskColor[v1[12]]);
base_mc.legmask_mc.filters = new Array(v3);
base_mc.bodymask_mc._visible = true;
if (v1[13] != '-1') {
v3 = new flash.filters.ColorMatrixFilter(maskColor[v1[13]]);
base_mc.bodymask_mc.filters = new Array(v3);
} else {
base_mc.bodymask_mc._visible = false;
}
}
function goTo(f) {
var v3 = new Number(1);
var v2 = new Number(1);
base_mc.body_mc.gotoAndStop(f);
base_mc.bodymask_mc.gotoAndStop(f);
base_mc.legmask_mc.gotoAndStop(f);
if (base_mc.armor_mc.armor_mc) {
base_mc.armor_mc.armor_mc.gotoAndStop(f);
}
if (base_mc.armor_mc.armorb_mc) {
base_mc.armor_mc.armorb_mc.gotoAndStop(f);
}
if (base_mc.hair_mc.hair_mc) {
base_mc.hair_mc.hair_mc.gotoAndStop(f);
}
if (base_mc.hair_mc.hairb_mc) {
base_mc.hair_mc.hairb_mc.gotoAndStop(f);
}
if (base_mc.helm_mc.helm_mc) {
base_mc.helm_mc.helm_mc.gotoAndStop(f);
}
if (weapon01_mc.weapon_mc) {
weapon01_mc.weapon_mc.gotoAndStop(wFraA[f - 1]);
v3 = Number(wProA[f - 1]);
}
if (weapon02_mc.weapon_mc) {
weapon02_mc.weapon_mc.gotoAndStop(wFraB[f - 1]);
v2 = Number(wProB[f - 1]);
}
--f;
f *= 2;
if (characterType == 0) {
base_mc._xscale = 98;
base_mc._yscale = 98;
} else {
if (characterType == 1) {
base_mc._xscale = Number(prop[f]) * 0.92;
base_mc._yscale = Number(prop[f + 1]) * 0.92;
} else {
if (characterType == 2) {
base_mc._xscale = 92;
base_mc._yscale = 92;
}
}
}
base_mc._x = (145 - base_mc._width) / 2;
base_mc._y = (145 - base_mc._height) / 2;
if (weapon01_mc.weapon_mc) {
if (weapon01_mc._currentframe == 13) {
weapon01_mc.weapon_mc._x = base_mc._xscale * Number(wLocA[f]) / 100 + base_mc._x;
weapon01_mc.weapon_mc._y = base_mc._yscale * Number(wLocA[f + 1]) / 100 + base_mc._y;
} else {
weapon01_mc.weapon_mc._x = base_mc._xscale * (Number(wLocA[f]) + 62) / 100 + base_mc._x - 62 * weapon01_mc.weapon_mc._xscale / 100;
weapon01_mc.weapon_mc._y = base_mc._yscale * (Number(wLocA[f + 1]) + 62) / 100 + base_mc._y - 62 * weapon01_mc.weapon_mc._yscale / 100;
}
if (v3) {
if (weapon01_mc.getDepth() < wempty01_mc.getDepth()) {
weapon01_mc.swapDepths(wempty01_mc);
}
} else {
if (weapon01_mc.getDepth() > wempty01_mc.getDepth()) {
weapon01_mc.swapDepths(wempty01_mc);
}
}
}
if (weapon02_mc.weapon_mc) {
weapon02_mc.weapon_mc._x = base_mc._xscale * (Number(wLocB[f]) + 62) / 100 + base_mc._x - 62 * weapon02_mc.weapon_mc._xscale / 100;
weapon02_mc.weapon_mc._y = base_mc._yscale * (Number(wLocB[f + 1]) + 62) / 100 + base_mc._y - 62 * weapon02_mc.weapon_mc._yscale / 100;
if (v2) {
if (weapon02_mc.getDepth() < wempty02_mc.getDepth()) {
weapon02_mc.swapDepths(wempty02_mc);
}
} else {
if (weapon02_mc.getDepth() > wempty02_mc.getDepth()) {
weapon02_mc.swapDepths(wempty02_mc);
}
}
}
}
var prop = new Array();
var wLocA = new Array();
var wFraA = new Array();
var wProA = new Array();
var wLocB = new Array();
var wFraB = new Array();
var wProB = new Array();
var characterType = 0;
var bodyColor = new Array();
var maskColor = new Array();
var armorColor = new Array();
var helmColor = new Array();
var weaponColor = new Array();
var hairColor = new Array();
bodyColor[0] = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
bodyColor[1] = [0.3086, 0.6094000000000001, 0.082, 0, 0, 0.3086, 0.6094000000000001, 0.082, 0, 0, 0.3086, 0.6094000000000001, 0.082, 0, 0, 0, 0, 0, 1, 0];
bodyColor[2] = [0.595320657603824, 0.706264317952097, -0.301584975555921, 0, 0, 0.137570941885377, 0.700174123362003, 0.16225493475262, 0, 0, 0.493781607935701, 0.158542541122028, 0.347675850942271, 0, 0, 0, 0, 0, 1, 0];
bodyColor[3] = [0.917566148944114, 0.206177768083908, -0.123743917028022, 0, 0, 0.0279336203217244, 0.9170655450248431, 0.055000834653433, 0, 0, 0.165202504767433, -0.00489159187024629, 0.839689087102813, 0, 0, 0, 0, 0, 1, 0];
bodyColor[4] = [1.1144605, -0.2330955, -0.031365, 0, 1.025, -0.1180395, 0.9994045, -0.031365, 0, 1.025, -0.1180395, -0.2330955, 1.201135, 0, 1.025, 0, 0, 0, 1, 0];
bodyColor[5] = [1.062985, -0.319935, -0.04305, 0, 5.05, -0.162015, 0.905065, -0.04305, 0, 5.05, -0.162015, -0.319935, 1.18195, 0, 5.05, 0, 0, 0, 1, 0];
bodyColor[6] = [0.862985, -0.319935, -0.04305, 0, -0.75, -0.162015, 0.7050650000000001, -0.04305, 0, -0.75, -0.162015, -0.319935, 0.98195, 0, -0.75, 0, 0, 0, 1, 0];
bodyColor[7] = [0.482968, -0.073128, -0.00984, 0, 4.1, -0.037032, 0.446872, -0.00984, 0, 4.1, -0.037032, -0.073128, 0.51016, 0, 4.1, 0, 0, 0, 1, 0];
bodyColor[8] = [0.4033305, 0.0411345, 0.005535, 0, -10.075, 0.0208305, 0.4236345, 0.005535, 0, -10.075, 0.0208305, 0.0411345, 0.388035, 0, -10.075, 0, 0, 0, 1, 0];
bodyColor[9] = [0.60669512328503, 1.06496734807826, -0.491662471363293, 0, -17.33, 0.167613708389812, 0.765507684285625, 0.246878607324564, 0, -17.33, 0.734783983517563, 0.192866817505484, 0.252349198976953, 0, -17.33, 0, 0, 0, 1, 0];
bodyColor[10] = [0.760924696487376, -0.0292125928550762, 0.6082878963677, 0, -21.59, 0.257019789769181, 1.20484632988303, -0.121866119652214, 0, -21.59, -0.303709553664775, 0.832984139521866, 0.810725414142908, 0, -21.59, 0, 0, 0, 1, 0];
maskColor[0] = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
maskColor[1] = [0.182387443217613, -0.561906303627047, 0.829518860409434, 0, -10.075, 0.0834144805575172, 0.623630001833418, -0.257044482390935, 0, -10.075, -0.7510230989671261, 0.721153630480739, 0.479869468486388, 0, -10.075, 0, 0, 0, 1, 0];
maskColor[2] = [0.303979072029355, -0.936510506045078, 1.38253143401572, 0, -10.375, 0.139024134262529, 1.03938333638903, -0.428407470651559, 0, -10.375, -1.25170516494521, 1.2019227174679, 0.799782447477313, 0, -10.375, 0, 0, 0, 1, 0];
maskColor[3] = [-0.342030986405737, 0.470153523071855, 0.6218774633338821, 0, -10.375, 0.344593587171935, 0.479288814956995, -0.07388240212893001, 0, -10.375, -0.189722411903552, 1.29173618831696, -0.352013776413407, 0, -10.375, 0, 0, 0, 1, 0];
maskColor[4] = [-0.241329605759738, 1.12560659592376, -0.284276990164025, -0.1, 1.40000000000001, 0.182991988974395, 0.222010266739059, 0.194997744286546, -0.08, 1.40000000000001, 0.551055988180861, 0.559658726176185, -0.510714714357047, 0, 1.40000000000002, 0, 0, 0, 1, 0];
maskColor[5] = [-1.02540365355275, 2.39794309609461, -0.372539442541862, 0, -10, 0.405979883530699, 0.241733370268239, 0.352286746201062, 0, -10, 0.962617666793225, 1.54203768742212, -1.50465535421535, 0, -10, 0, 0, 0, 1, 0];
maskColor[6] = [0.26898826304153, 0.343445727180839, -0.112433990222369, 0, 0, 0.08588837675415061, 0.341009649344801, 0.073101973901048, -0.2, 1.75, 0.228372643174281, 0.124357016448811, 0.147270340376908, -0.2, 1.74999999999999, 0, 0, 0, 1, 0];
maskColor[7] = [0.3112395, 1.1695255, -0.830765, 0, -39.525, -0.0242905, 0.363688, 0.3106025, 0, -39.525, 0.8522345, -0.1782495, -0.0239849999999999, 0, -39.525, 0, 0, 0, 1, 0];
maskColor[8] = [0.269230137243521, 2.24371798326227, -1.51294812050579, 0, -5, -0.0404207819659567, 0.466315071900627, 0.574105710065329, 0, -5, 1.56235383606141, -0.220763418650779, -0.341590417410633, 0, -5, 0, 0, 0, 1, 0];
maskColor[9] = [0.177418426637035, 0.219499337722065, 0.0530822356409004, -0.02, -7.825, 0.122207918778102, 0.302667427146797, 0.0251246540751019, -0.07000000000000001, -7.825, 0.100737604280833, 0.252512832056575, 0.09674956366259201, -0.1, -7.825, 0, 0, 0, 1, 0];
maskColor[10] = [1.7611725, -0.8912475, -0.119925, 0, -14.125, -0.4513275, 1.3212525, -0.119925, 0, -14.125, -0.4513275, -0.8912475, 2.092575, 0, -14.125, 0, 0, 0, 1, 0];
maskColor[11] = [0.880713375429966, -0.313376286366786, 0.232662910936819, 0.1, -47.3, -0.0280243206519075, 0.921328467879007, -0.0933041472270993, 0.05, -47.3, -0.278354101075066, 0.0715393975096832, 1.00681470356538, -0.1, -47.3, 0, 0, 0, 1, 0];
maskColor[12] = [1.46923511066613, -1.66048067314687, 1.31124556248074, 0.05, -2.02, -0.149336537653056, 1.78628097672869, -0.516944439075636, 0.05, -2.02, -1.55331399549569, 0.498323374933739, 2.17499062056195, 0, -2.02000000000001, 0, 0, 0, 1, 0];
maskColor[13] = [0.12344, 0.24376, 0.0328, -0.1, -1.9, 0.12344, 0.24376, 0.0328, -0.1, -1.9, 0.12344, 0.24376, 0.0328, -0.1, -1.9, 0, 0, 0, 1, 0];
maskColor[14] = [0.1543, 0.3047, 0.041, 0, -5.75, 0.1543, 0.3047, 0.041, 0, -5.75, 0.1543, 0.3047, 0.041, 0, -5.75, 0, 0, 0, 1, 0];
maskColor[15] = [0.3086, 0.6094000000000001, 0.082, 0.06, 0, 0.3086, 0.6094000000000001, 0.082, 0.06, 0, 0.3086, 0.6094000000000001, 0.082, 0.06, 0, 0, 0, 0, 1, 0];
hairColor[0] = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
hairColor[1] = [1.5917706, 0.1042074, 0.014022, 0, 6.215, 0.0527706, 1.6432074, 0.014022, 0, 6.215, 0.0527706, 0.1042074, 1.553022, 0, 6.215, 0, 0, 0, 1, 0];
hairColor[2] = [2.35006951900213, -3.09632065536765, 2.18625113636552, 0.1, 27.66, -0.395106711277828, 2.74955472648818, -0.914448015210349, 0.05, 23.66, -2.77632075831792, 0.565115997607982, 3.65120476070994, 0, 18.66, 0, 0, 0, 1, 0];
hairColor[3] = [2.35006951900213, -3.09632065536765, 2.18625113636552, 0.1, 80.06, -0.395106711277828, 2.74955472648818, -0.914448015210349, 0.05, 80.06, -2.77632075831792, 0.565115997607982, 3.65120476070994, 0, 80.06, 0, 0, 0, 1, 0];
hairColor[4] = [3.3060969, -1.4067999, -0.189297, 0, -10.885, -0.7124031, 2.6117001, -0.189297, 0, -10.885, -0.7124031, -1.4067999, 3.829203, 0, -10.885, 0, 0, 0, 1, 0];
hairColor[5] = [3.86678, -1.64538, -0.2214, 0, 16.5, -0.83322, 3.05462, -0.2214, 0, 16.5, -0.83322, -1.64538, 4.4786, 0, 16.5, 0, 0, 0, 1, 0];
hairColor[6] = [0.3086, 0.6094000000000001, 0.082, 0, -10, 0.3086, 0.6094000000000001, 0.082, 0, -10, 0.3086, 0.6094000000000001, 0.082, 0, -10, 0, 0, 0, 1, 0];
hairColor[7] = [0.3086, 0.6094000000000001, 0.082, 0, 0, 0.3086, 0.6094000000000001, 0.082, 0, 0, 0.3086, 0.6094000000000001, 0.082, 0, 0, 0, 0, 0, 1, 0];
hairColor[8] = [0.481416, 0.950664, 0.12792, 0, 11.24, 0.481416, 0.950664, 0.12792, 0, 11.24, 0.481416, 0.950664, 0.12792, 0, 11.24, 0, 0, 0, 1, 0];
hairColor[9] = [2.0059, 3.9611, 0.533, 0, -24.25, 2.0059, 3.9611, 0.533, 0, -24.25, 2.0059, 3.9611, 0.533, 0, -24.25, 0, 0, 0, 1, 0];
armorColor[0] = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
armorColor[1] = [0.5, 0, 0, -0.08, 11.75, 0, 0.5, 0, 0, 11.75, 0, 0, 0.5, -0.16, 11.75, 0, 0, 0, 1, 0];
armorColor[2] = [0.8, 0, 0, -0.15, -3.3, 0, 0.8, 0, 0, -3.3, 0, 0, 0.8, 0, -3.3, 0, 0, 0, 1, 0];
armorColor[3] = [0.5, 0, 0, -0.16, 21.75, 0, 0.5, 0, -0.1, 21.75, 0, 0, 0.5, 0, 21.75, 0, 0, 0, 1, 0];
armorColor[4] = [0.2, 0.2, 0.2, -0.02, 8.025, 0, 0.2, 0, -0.05, 8.025, 0, 0, 0.2, -0.05, 8.025, 0, 0, 0, 1, 0];
armorColor[5] = [0.5, 0.2, 0.1, 0, 6.75, 0, 0.5, 0, 0, 6.75, 0, 0, 0.5, -0.12, 6.75, 0, 0, 0, 1, 0];
armorColor[6] = [0.4, 0.2, 0.12, 0.05, 6.75, 0.1, 0.4, 0.2, 0, 6.75, 0, 0, 0.5, -0.08, 6.75, 0, 0, 0, 1, 0];
armorColor[7] = [0.09258, 0.18282, 0.0246, -0.12, 29.45, 0.09258, 0.18282, 0.0246, -0.12, 29.45, 0.09258, 0.18282, 0.0246, -0.12, 29.45, 0, 0, 0, 1, 0];
armorColor[8] = [0.10801, 0.21329, 0.0287, 0, 8.025, 0.10801, 0.21329, 0.0287, 0, 8.025, 0.10801, 0.21329, 0.0287, 0, 8.025, 0, 0, 0, 1, 0];
armorColor[9] = [0.3086, 0.6094000000000001, 0.082, 0.2, 0, 0.3086, 0.6094000000000001, 0.082, 0.2, 0, 0.3086, 0.6094000000000001, 0.082, 0.2, 0, 0, 0, 0, 1, 0];
armorColor[10] = [0.75, 0, 0, -0.01, 0, 0, 1.5, 0, 0, 5, 0, 0, 0.75, -0.01, 0, 0, 0, 0, 1, 0];
armorColor[11] = [0.75, 0, 0, -0.01, 0, 0.1, 1.5, 0.1, 0, 5, 0.1, 0.1, 1.5, 0, 5, 0, 0, 0, 1, 0];
armorColor[12] = [0.75, 0, 0, -0.01, 0, 0.1, 1.1, 0.1, 0, 0, 0.1, 0.1, 1.5, 0, 10, 0, 0, 0, 1, 0];
armorColor[13] = [1, 0, 0, 0, 5, 0, 0.75, 0, -0.02, -5, 0, 0, 0.75, -0.02, -5, 0, 0, 0, 1, 0];
armorColor[14] = [1, 0.2, 0.2, 0.03, 5, 0.1, 1, 0.1, 0, 3, 0, 0, 0.75, -0.02, 0, 0, 0, 0, 1, 0];
armorColor[15] = [2, 0.1, 0.1, 0.04, -10, 0.1, 2, 0.1, 0.03, -5, 0, 0, 1, -0.1, -30, 0, 0, 0, 1, 0];
armorColor[16] = [0.18516, 0.36564, 0.0492, 0, 1.40000000000001, 0.18516, 0.36564, 0.0492, 0, 1.40000000000001, 0.18516, 0.36564, 0.0492, 0, 1.40000000000001, 0, 0, 0, 1, 0];
armorColor[17] = [0.364148, 0.719092, 0.09676, 0, 6.27, 0.364148, 0.719092, 0.09676, 0, 6.27, 0.364148, 0.719092, 0.09676, 0, 6.27, 0, 0, 0, 1, 0];
armorColor[18] = [1.2344, 2.4376, 0.328, 0.1, -10.5, 1.2344, 2.4376, 0.328, 0.1, -10.5, 1.2344, 2.4376, 0.328, 0.1, -10.5, 0, 0, 0, 1, 0];
helmColor[0] = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
helmColor[1] = [0.5, 0, 0, -0.08, 11.75, 0, 0.5, 0, 0, 11.75, 0, 0, 0.5, -0.16, 11.75, 0, 0, 0, 1, 0];
helmColor[2] = [0.8, 0, 0, -0.15, -3.3, 0, 0.8, 0, 0, -3.3, 0, 0, 0.8, 0, -3.3, 0, 0, 0, 1, 0];
helmColor[3] = [0.5, 0, 0, -0.16, 21.75, 0, 0.5, 0, -0.1, 21.75, 0, 0, 0.5, 0, 21.75, 0, 0, 0, 1, 0];
helmColor[4] = [0.2, 0.2, 0.2, -0.02, 8.025, 0, 0.2, 0, -0.05, 8.025, 0, 0, 0.2, -0.05, 8.025, 0, 0, 0, 1, 0];
helmColor[5] = [0.5, 0.2, 0.1, 0, 6.75, 0, 0.5, 0, 0, 6.75, 0, 0, 0.5, -0.12, 6.75, 0, 0, 0, 1, 0];
helmColor[6] = [0.4, 0.2, 0.12, 0.05, 6.75, 0.1, 0.4, 0.2, 0, 6.75, 0, 0, 0.5, -0.08, 6.75, 0, 0, 0, 1, 0];
helmColor[7] = [0.09258, 0.18282, 0.0246, -0.12, 29.45, 0.09258, 0.18282, 0.0246, -0.12, 29.45, 0.09258, 0.18282, 0.0246, -0.12, 29.45, 0, 0, 0, 1, 0];
helmColor[8] = [0.10801, 0.21329, 0.0287, 0, 8.025, 0.10801, 0.21329, 0.0287, 0, 8.025, 0.10801, 0.21329, 0.0287, 0, 8.025, 0, 0, 0, 1, 0];
helmColor[9] = [0.3086, 0.6094000000000001, 0.082, 0.2, 0, 0.3086, 0.6094000000000001, 0.082, 0.2, 0, 0.3086, 0.6094000000000001, 0.082, 0.2, 0, 0, 0, 0, 1, 0];
weaponColor[0] = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
weaponColor[1] = [0.5, 0, 0, -0.25, 22.225, 0, 0.5, 0, 0, 22.225, 0, 0, 0.5, -0.3, 22.225, 0, 0, 0, 1, 0];
weaponColor[2] = [0.5, 0, 0, -0.25, 22.225, 0, 0.5, 0, 0, 22.225, 0, 0, 0.5, 0, 22.225, 0, 0, 0, 1, 0];
weaponColor[3] = [0.5, 0, 0, -0.25, 22.225, 0, 0.5, 0, -0.15, 22.225, 0, 0, 0.5, 0, 22.225, 0, 0, 0, 1, 0];
weaponColor[4] = [0.2, 0.2, 0.2, -0.02, 22.225, 0, 0.2, 0, -0.2, 22.225, 0, 0, 0.2, -0.2, 22.225, 0, 0, 0, 1, 0];
weaponColor[5] = [0.5, 0.2, 0.1, 0, 22.225, 0, 0.5, 0, 0, 22.225, 0, 0, 0.5, -0.12, 22.225, 0, 0, 0, 1, 0];
weaponColor[6] = [0.4, 0.2, 0.12, 0.05, 22.225, 0.1, 0.4, 0.2, 0, 22.225, 0, 0, 0.5, -0.08, 22.225, 0, 0, 0, 1, 0];
weaponColor[7] = [0.3, 0, 0, 0, -34.6, 0, 0.3, 0, 0, -34.6, 0, 0, 0.3, 0, -34.6, 0, 0, 0, 1, 0];
weaponColor[8] = [0.10801, 0.21329, 0.0287, 0, 8.025, 0.10801, 0.21329, 0.0287, 0, 8.025, 0.10801, 0.21329, 0.0287, 0, 8.025, 0, 0, 0, 1, 0];
weaponColor[9] = [0.3086, 0.6094000000000001, 0.082, 0.2, 0, 0.3086, 0.6094000000000001, 0.082, 0.2, 0, 0.3086, 0.6094000000000001, 0.082, 0.2, 0, 0, 0, 0, 1, 0];
weaponColor[10] = [0.5, 0, 0, -0.25, 22.225, 0, 0.5, 0, 0, 22.225, 0, 0, 0.5, -0.3, 22.225, 0, 0, 0, 1, 0];
weaponColor[11] = [0.5, 0, 0, -0.25, 22.225, 0, 0.5, 0, 0, 22.225, 0, 0, 0.5, 0, 22.225, 0, 0, 0, 1, 0];
weaponColor[12] = [0.5, 0, 0, -0.25, 22.225, 0, 0.5, 0, -0.15, 22.225, 0, 0, 0.5, 0, 22.225, 0, 0, 0, 1, 0];
weaponColor[13] = [0.2, 0.2, 0.2, -0.02, 22.225, 0, 0.2, 0, -0.2, 22.225, 0, 0, 0.2, -0.2, 22.225, 0, 0, 0, 1, 0];
weaponColor[14] = [0.6, 0.2, 0.2, -0.05, 30, 0, 0.5, 0, -0.1, 30, 0, 0, 0.2, -0.3, 20, 0, 0, 0, 1, 0];
weaponColor[15] = [0.3, 0.2, 0.2, 0, 35, 0, 0.5, 0, 0, 35, 0, 0, 0.2, -0.3, 20, 0, 0, 0, 1, 0];
weaponColor[16] = [0.3, 0, 0, 0, -34.6, 0, 0.3, 0, 0, -34.6, 0, 0, 0.3, 0, -34.6, 0, 0, 0, 1, 0];
weaponColor[17] = [0.3086, 0.6094000000000001, 0.082, 0, 15, 0.3086, 0.6094000000000001, 0.082, 0, 15, 0.3086, 0.6094000000000001, 0.082, 0, 15, 0, 0, 0, 1, 0];
weaponColor[18] = [0.3086, 0.6094000000000001, 0.082, 0.2, 0, 0.3086, 0.6094000000000001, 0.082, 0.2, 0, 0.3086, 0.6094000000000001, 0.082, 0.2, 0, 0, 0, 0, 1, 0];
stop();
}
}
movieClip 17422 {
frame 1 {
function setConfig(s) {
var v1 = new Array();
v1 = s.split(',');
v1[2] = '0';
v1[4] = '0';
v1[6] = '0';
v1[8] = '0';
v1[10] = '0';
v1[11] = '0';
v1[12] = '0';
v1[13] = '0';
s = v1.join(',');
object_mc.setConfig(s);
}
function goTo(f) {
var v1 = new Number(0);
object_mc.goTo(f);
v1 = f % totalF;
if (v1 == 0) {
v1 = totalF;
}
if (v1 >= dieF1 && v1 <= dieF2) {
_visible = false;
} else {
_visible = true;
}
}
var totalF = 38;
var dieF1 = 36;
var dieF2 = 38;
}
}
movieClip 17423 {
frame 1 {
function colorBase(s) {
var v1 = Number(s);
if (v1 > 9) {
v1 %= 9;
if (v1 == 0) {
v1 = 9;
}
}
return v1;
}
function setConfig(s) {
var v1 = new Array();
v1 = s.split(',');
v1[2] = colorBase(v1[2]);
v1[6] = colorBase(v1[6]);
v1[8] = colorBase(v1[8]);
v1[10] = colorBase(v1[10]);
s = v1.join(',');
object_mc.setConfig(s);
}
function goTo(f) {
object_mc.goTo(f);
}
}
}
movieClip 17664 {
frame 1 {
stop();
}
}
movieClip 17860 {
frame 1 {
stop();
}
}
movieClip 17861 TMPai9a8ke0ft {
frame 1 {
function setConfig(s) {
var v1 = new Array();
v1 = s.split(',');
base_mc._xscale = Number(v1[0]);
base_mc._yscale = base_mc._xscale;
base_mc._y = 1.1 * (100 - base_mc._yscale) / 2;
base_mc._x = base_mc._y;
shadow_mc._xscale = base_mc._xscale;
shadow_mc._yscale = base_mc._yscale;
shadow_mc._x = base_mc._x;
shadow_mc._y = base_mc._y;
base_mc.filters = undefined;
if (Number(v1[1]) > 0) {
var v2 = new flash.filters.ColorMatrixFilter(bodyColor[v1[1]]);
base_mc.filters = new Array(v2);
}
}
function goTo(f) {
base_mc.gotoAndStop(f);
shadow_mc.gotoAndStop(f);
shadow_mc._x = base_mc._x;
}
var bodyColor = new Array();
bodyColor[0] = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
bodyColor[1] = [1, 1, 1, 0, 100, 1, 1, 1, 0, 100, 1, 1, 1, 0, 100, 0, 0, 0, 1, 0];
bodyColor[2] = [1, 1, 1, 0, 20, 1, 1, 1, 0, 20, 1, 1, 1, 0, 20, 0, 0, 0, 1, 0];
bodyColor[3] = [0.3086, 0.6094000000000001, 0.082, 0, 0, 0.3086, 0.6094000000000001, 0.082, 0, 0, 0.3086, 0.6094000000000001, 0.082, 0, 0, 0, 0, 0, 1, 0];
bodyColor[4] = [0.38575, 0.76175, 0.1025, 0, -40.875, 0.38575, 0.76175, 0.1025, 0, -40.875, 0.38575, 0.76175, 0.1025, 0, -40.875, 0, 0, 0, 1, 0];
bodyColor[5] = [-1.2078432, 2.4136992, 0.234144, 0, 0.859999999999999, 0.6641568, 0.5416992000000001, 0.234144, 0, 0.860000000000003, 0.6641568, 2.4136992, -1.637856, 0.1, 0.86000000000001, 0, 0, 0, 1, 0];
bodyColor[6] = [-1.2078432, 2.4136992, 0.234144, 0, 0.859999999999999, 0.6641568, 0.5416992000000001, 0.234144, 0, 0.860000000000003, 0.6641568, 2.4136992, -1.637856, 0.2, 0.86000000000001, 0, 0, 0, 1, 0];
bodyColor[7] = [-1.05828309438122, 1.0752192, 1.42306389438122, 0, 0.859999999999999, 0.736659386399713, 0.883282135314724, -0.179941521714437, 0.05, 0.859999999999996, -0.494385235374819, 2.96811576896514, -1.03373053359032, 0.05, 0.860000000000007, 0, 0, 0, 1, 0];
bodyColor[8] = [-1.05828309438122, 1.0752192, 1.42306389438122, 0, 0.859999999999999, 0.736659386399713, 0.883282135314724, -0.179941521714437, 0.1, 0.859999999999996, -0.494385235374819, 2.96811576896514, -1.03373053359032, 0.1, 0.860000000000007, 0, 0, 0, 1, 0];
bodyColor[9] = [-0.1333152, -0.2632608, 1.836576, 0, 0.859999999999999, 0.5331168, 1.3372992, -0.430416, 0.1, 0.859999999999999, -1.2078432, 2.4136992, 0.234144, 0, 0.860000000000003, 0, 0, 0, 1, 0];
bodyColor[10] = [-0.1333152, -0.2632608, 1.836576, 0, 0.859999999999999, 0.5331168, 1.3372992, -0.430416, 0.2, 0.859999999999999, -1.2078432, 2.4136992, 0.234144, 0, 0.860000000000003, 0, 0, 0, 1, 0];
bodyColor[11] = [1.24354244345251, -0.788920016767078, 0.985377573314571, 0.1, 0.859999999999999, 0.0923395081738141, 1.66257611110795, -0.314915619281759, 0.1, 0.859999999999999, -0.906234124455903, 0.746521160287218, 1.59971296416868, 0, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[12] = [1.24354244345251, -0.788920016767078, 0.985377573314571, 0.2, 0.859999999999999, 0.0923395081738141, 1.66257611110795, -0.314915619281759, 0.2, 0.859999999999999, -0.906234124455903, 0.746521160287218, 1.59971296416868, 0, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[13] = [1.7386848, -0.2632608, -0.035424, 0.15, 0.859999999999999, -0.1333152, 1.6087392, -0.035424, 0.07000000000000001, 0.859999999999999, -0.1333152, -0.2632608, 1.836576, 0, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[14] = [1.7386848, -0.2632608, -0.035424, 0.3, 0.859999999999999, -0.1333152, 1.6087392, -0.035424, 0.15, 0.859999999999999, -0.1333152, -0.2632608, 1.836576, 0, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[15] = [1.7691645507742, 0.427810444181876, -0.756974994956079, 0.1, 0.859999999999999, -0.209089959966784, 1.44799273650279, 0.201097223463993, 0, 0.860000000000003, 0.5266715289933041, -0.703521737767507, 1.6168502087742, 0, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[16] = [1.7691645507742, 0.427810444181876, -0.756974994956079, 0.2, 0.859999999999999, -0.209089959966784, 1.44799273650279, 0.201097223463993, 0, 0.860000000000003, 0.5266715289933041, -0.703521737767507, 1.6168502087742, 0, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[17] = [0.791042907321696, 2.29194966094895, -1.64299256827065, 0.1, 0.860000000000007, -0.0360086681405982, 0.860635825394846, 0.615372842745752, 0, 0.859999999999999, 1.69832645344921, -0.374823698054725, 0.116497244605518, 0, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[18] = [0.791042907321696, 2.29194966094895, -1.64299256827065, 0.2, 0.860000000000007, -0.0360086681405982, 0.860635825394846, 0.615372842745752, 0, 0.859999999999999, 1.69832645344921, -0.374823698054725, 0.116497244605518, 0, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[19] = [-0.125895694596608, 2.9036168824574, -1.33772118786079, 0.05, 0.859999999999996, 0.232957263508521, 0.581491262176174, 0.625551474315305, 0, 0.860000000000003, 1.74067285048108, 0.585301517542604, -0.885974368023681, 0.05, 0.860000000000003, 0, 0, 0, 1, 0];
bodyColor[20] = [-0.125895694596608, 2.9036168824574, -1.33772118786079, 0.1, 0.859999999999996, 0.232957263508521, 0.581491262176174, 0.625551474315305, 0, 0.860000000000003, 1.74067285048108, 0.585301517542604, -0.885974368023681, 0.1, 0.860000000000003, 0, 0, 0, 1, 0];
bodyColor[21] = [0.656737294596608, -0.7531784824573961, 1.53644118786079, -0.1, 0.860000000000007, 0.297884336491479, 1.56894713782383, -0.426831474315305, 0.1, 0.859999999999992, -1.20983125048108, 1.5651368824574, 1.08469436802368, -5, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[22] = [-1.20983125048108, 1.5651368824574, 1.08469436802368, 0, 0.860000000000003, 0.744584305403392, 0.7442173265729261, -0.0488016319763181, 0.1, 0.859999999999999, -0.125895694596608, 2.9036168824574, -1.33772118786079, -0.1, 0.859999999999996, 0, 0, 0, 1, 0];
bodyColor[23] = [1.24354244345251, -0.788920016767078, 0.985377573314571, 0.05, 0.859999999999999, 0.0923395081738141, 1.66257611110795, -0.314915619281759, 0.15, 0.859999999999999, -0.906234124455903, 0.746521160287218, 1.59971296416868, -1, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[24] = [1.24354244345251, -0.788920016767078, 0.985377573314571, 0.3, 0.859999999999999, 0.0923395081738141, 1.66257611110795, -0.314915619281759, 0.2, 0.859999999999999, -0.906234124455903, 0.746521160287218, 1.59971296416868, -1, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[25] = [1.7386848, -0.2632608, -0.035424, 0.3, 0.859999999999999, -0.1333152, 1.6087392, -0.035424, 0.1, 0.859999999999999, -0.1333152, -0.2632608, 1.836576, -0.5, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[26] = [1.65030906078321, 0.910242393587349, -1.12055145437056, 0.1, 0.860000000000007, -0.212100369034137, 1.31545745454619, 0.336642914487948, -0.2, 0.860000000000003, 0.906967147925741, -0.8104743260391289, 1.34350717811339, -0.2, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[27] = [1.65030906078321, 0.910242393587349, -1.12055145437056, 0, 0.860000000000007, -0.212100369034137, 1.31545745454619, 0.336642914487948, -0.4, 0.860000000000003, 0.906967147925741, -0.8104743260391289, 1.34350717811339, -0.4, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[28] = [1.37201866214093, 0.902694764297961, -0.834713426438892, 0, 0.860000000000007, -0.0606039761801051, 1.21439865734322, 0.286205318836883, -0.4, 0.860000000000003, 0.800217190712108, -0.420933481568561, 1.06071629085645, -0.4, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[29] = [0.513500977657634, 2.14501761388825, -1.21851859154588, 0, 0.859999999999999, 0.128315997184509, 0.792998432041065, 0.518685570774425, 0.1, 0.860000000000003, 1.46241993686898, 0.0936534915777277, -0.116073428446703, 0.1, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[30] = [0.444384, 0.877536, 0.11808, -0.05, 0.859999999999999, 0.444384, 0.877536, 0.11808, -0.3, 0.860000000000003, 0.444384, 0.877536, 0.11808, -0.3, 0.859999999999999, 0, 0, 0, 1, 0];
stop();
}
}
movieClip 17862 {
frame 1 {
function setConfig(s) {
object_mc.setConfig(s);
}
function goTo(f) {
object_mc.goTo(f);
}
}
}
movieClip 18217 {
frame 1 {
stop();
}
}
movieClip 18573 {
frame 1 {
stop();
}
}
movieClip 18574 {
frame 1 {
stop();
}
}
movieClip 18575 TMP6juwqpmc5w {
frame 1 {
function setConfig(s) {
var v1 = new Array();
v1 = s.split(',');
weapon01_mc.gotoAndStop(v1[0]);
weapon02_mc.gotoAndStop(v1[1]);
aux = '7,7,2,2,3,3,3,7,58,58,58,1,17,7,3,3,3,3,3,12,21,21,60,60,11,11,11,11,11,13,13,12,62,77,7,11,11,12,12,12,12,12,12,18,12,12,60,60,21,21,21,21,21,22,22,23,22,33,22,11,21,22,22,22,22,22,22,23,23,21,60,60,22,22,31,31,31,32,32,23,23,23,97,31,47,31,31,31,32,32,32,27,27,60,60,60,82,82,41,41,41,42,42,82,88,88,97,81,81,81,81,81,82,82,82,82,82,69,69,69,62,62,82,82,81,81,81,63,47,18,47,71,20,63,81,81,82,82,82,85,85,10,10,10,71,71,72,72,71,71,71,73,73,83,72,61,20,71,72,72,72,72,72,73,73,71,10,10,61,61,62,62,61,61,61,62,63,38,57,20,30,62,62,62,62,62,62,68,62,62,10,10';
wFraA = aux.split(',');
aux = '-22,-4,-23,-4,-21,-16,-20,-15,-20,-12,-20,-4,-21,-1,-26,-7,-33,-22,-33,-36,-34,-19,-14,-1,0,-1,-19,0,-17,-6,-9,-6,-9,-13,-15,-25,-21,-31,-10,-19,-15,-10,-21,3,-18,14,-22,22,-14,-1,-15,-1,-27,-9,-25,-9,-20,-7,-9,-1,-2,0,-14,-6,-23,-11,-32,-23,-25,-9,2,-2,9,-8,-3,3,-11,-4,-4,-10,8,-18,5,-27,-7,-30,5,-22,5,-11,1,0,-4,9,-9,21,-4,0,-5,0,-22,-6,-21,-3,-13,-4,3,-2,12,-5,1,-3,-8,-7,-21,-16,-2,-7,11,-9,8,-15,8,-4,-5,-4,1,-10,19,-26,17,-35,7,-33,12,-29,17,-20,6,1,-2,12,-5,20,3,-5,3,-4,-11,1,-10,-1,-4,-5,7,-9,14,-15,9,-10,13,-12,3,-15,23,-15,9,-17,-10,-26,10,-10,-1,-7,-2,-14,10,-37,13,-45,11,-41,7,-37,13,-31,7,-11,-1,6,-7,16,8,-10,9,-10,2,-3,2,-3,2,-7,2,-15,2,-23,13,-17,26,-23,25,-24,26,-27,2,-23,-9,-22,6,-18,5,-12,0,-22,-4,-42,3,-52,9,-47,-1,-40,2,-37,2,-17,-3,0,-4,19,0,-14,1,-14,-17,-30,-9,-21,4,-12,11,-8,12,-6,0,-21,9,-33,19,-36,6,-36,-15,-21,-29,-14,-9,-19,-2,-16,-6,-19,-18,-38,-17,-52,-6,-49,-21,-38,-15,-39,-12,-20,-8,1,-1,15,-9,-14,-9,-15,-32,-22,-22,-16,-2,-16,7,-15,9,-13,-15,-19,1,-34,8,-43,-12,-38,-24,-15,-28,-6,-22,-13,-8,-14,-14,-10,-30,-28,-30,-43,-20,-45,-30,-30,-27,-32,-14,-11,-11,6,-7,21,-17,-9,-17,-10,-33,-11,-25,-9,-12,-15,-7,-19,-5,-19,-23,-14,-26,-32,-21,-44,-30,-31,-28,-6,-16,-1,-24,-6,-12,-9,-11,-9,-24,-18,-28,-32,-24,-38,-26,-21,-27,-23,-15,-7,-13,5,-5,18';
wLocA = aux.split(',');
aux = '1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,1,1,0,0,0,0,0,0,0,0';
wProA = aux.split(',');
aux = '7,7,53,53,52,52,52,7,58,58,58,1,17,7,3,3,3,3,3,62,71,71,10,10,11,11,12,12,11,11,11,12,62,77,7,11,11,12,12,12,12,12,12,18,12,12,60,60,21,21,22,22,21,21,21,23,23,33,22,11,21,22,22,22,22,22,22,23,23,21,60,60,22,22,32,32,31,31,31,23,23,23,97,31,47,31,31,31,32,32,32,27,27,60,60,60,82,82,92,92,91,91,91,82,88,88,97,81,81,81,81,81,82,82,82,32,32,19,19,19,62,62,81,81,81,82,82,63,47,18,47,71,20,63,81,81,82,82,82,85,85,10,10,10,71,71,71,71,71,72,72,72,73,83,72,61,20,71,72,72,72,72,72,73,73,71,10,10,61,61,61,61,61,62,62,62,63,38,57,20,30,62,62,62,62,62,62,68,62,62,10,10';
wFraB = aux.split(',');
aux = '4,-9,4,-10,7,-3,7,-4,7,-12,8,-16,7,-16,5,-12,-2,-15,5,-22,1,-13,12,-14,14,-18,11,-14,-2,-7,-5,-5,-7,-9,-7,-19,-7,-19,1,-15,5,-16,7,-2,1,9,1,15,1,-13,1,-14,17,-11,9,-9,-4,-15,-9,-19,-11,-19,9,-17,9,-17,3,-17,6,-17,10,-23,4,-26,4,-21,-2,-12,1,-8,16,-14,19,-24,19,-24,10,-21,11,-23,3,-6,-1,4,-6,14,-6,-14,-7,-15,16,-22,6,-16,-14,-16,-23,-15,-25,-13,3,-23,8,-23,6,-22,8,-24,-3,-28,-13,-28,-8,-26,-6,-10,0,-10,24,-27,28,-38,29,-38,14,-30,11,-32,2,-17,-2,4,-6,11,-16,-14,-17,-14,1,-29,-7,-21,-20,-12,-27,-8,-28,-6,-10,-26,2,-29,5,-29,5,-29,-21,-27,-28,-23,-23,-21,-14,-15,-4,-15,14,-39,16,-52,16,-52,6,-39,-1,-39,-4,-18,-11,8,-15,15,-16,-11,-17,-11,-14,-29,-15,-18,-14,-8,-15,-2,-15,0,-18,-24,-4,-32,0,-33,-7,-33,-24,-21,-26,-15,-24,-13,-11,-11,-3,-24,-6,-45,-6,-57,-6,-57,-14,-40,-18,-39,-14,-18,-13,4,-8,16,-15,-7,-15,-6,-5,1,-6,-1,-12,-4,-23,-9,-30,-14,-22,-17,-23,-28,-11,-36,-25,-26,-23,-12,-23,-7,-17,-7,-12,-8,-14,-12,-29,-38,-31,-50,-31,-50,-23,-37,-29,-31,-16,-14,-11,6,-6,13,-6,-5,-6,-4,7,-3,4,-3,-3,-3,-19,-3,-29,-5,-16,-10,-21,-22,-19,-27,-21,-19,-9,-7,-6,-5,-3,-4,-8,-13,-14,-8,-39,-25,-41,-36,-41,-36,-28,-29,-33,-20,-18,-4,-13,12,-12,20,3,-4,4,-5,11,-9,9,-9,4,-7,-8,0,-14,0,-3,-8,-16,-16,-24,-21,-13,-14,0,-7,8,-10,10,-8,0,-6,-9,-9,-27,-13,-30,-23,-30,-23,-21,-22,-21,-12,-18,0,-12,13,-10,22';
wLocB = aux.split(',');
aux = '0,0,1,1,1,1,1,0,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,1,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,0,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0';
wProB = aux.split(',');
if (v1[1] == '9') {
aux = '7,7,53,53,52,52,52,7,58,58,58,1,17,7,3,3,3,14,24,62,71,71,10,10,11,11,12,12,11,11,11,12,62,77,7,11,11,12,12,12,25,24,24,18,12,12,60,60,21,21,22,22,21,21,21,23,23,33,22,11,21,22,22,22,25,24,24,23,23,21,60,60,22,22,32,32,31,31,31,23,23,23,97,31,47,31,31,31,25,24,24,27,27,60,60,60,82,82,92,92,91,91,91,82,88,88,97,81,81,81,81,81,82,86,86,32,32,19,19,19,62,62,81,81,81,82,82,63,47,18,47,71,20,63,63,63,75,74,74,85,85,10,10,10,71,71,71,71,71,72,72,72,73,83,72,61,20,71,72,72,75,74,74,73,73,71,10,10,61,61,61,61,61,62,62,62,63,38,57,20,30,62,62,62,75,74,74,62,62,62,10,10';
wFraB = aux.split(',');
aux = '4,-9,4,-10,7,-3,7,-4,7,-12,8,-16,7,-16,5,-12,-2,-15,5,-22,1,-13,12,-14,14,-18,11,-14,-2,-7,-5,-5,-7,-9,-7,-19,-7,-19,1,-15,5,-16,7,-2,-1,9,-5,19,1,-13,1,-14,17,-11,9,-9,-4,-15,-9,-19,-11,-19,9,-17,9,-17,3,-17,6,-17,10,-23,4,-26,4,-21,-2,-12,1,-8,16,-14,19,-24,19,-24,10,-21,11,-23,-1,-9,0,5,-1,18,-6,-14,-7,-15,16,-22,6,-16,-14,-16,-23,-15,-25,-13,3,-23,8,-23,6,-22,8,-24,-3,-28,-13,-28,-8,-26,-6,-10,0,-10,24,-27,28,-38,28,-38,14,-30,11,-32,3,-13,6,5,-2,21,-16,-14,-17,-14,1,-29,-7,-21,-20,-12,-27,-8,-28,-6,-10,-26,2,-29,5,-29,5,-29,-21,-27,-28,-23,-23,-21,-14,-15,-4,-15,14,-39,16,-52,16,-52,6,-38,-1,-39,-4,-18,-11,8,-15,15,-16,-11,-17,-11,-14,-29,-15,-18,-14,-8,-15,-2,-15,0,-18,-24,-4,-32,0,-33,-7,-33,-24,-21,-26,-15,-24,-13,-11,-11,-3,-24,-6,-45,-5,-57,-5,-57,-14,-40,-18,-39,-10,-17,-12,4,-12,12,-15,-7,-15,-6,-5,1,-6,-1,-12,-4,-23,-9,-30,-14,-22,-17,-23,-28,-11,-36,-25,-26,-23,-12,-23,-7,-17,-7,-12,-8,-14,-12,-28,-37,-31,-50,-31,-50,-23,-37,-29,-31,-14,-9,-10,11,-10,18,-6,-5,-6,-4,7,-3,4,-3,-3,-3,-19,-3,-29,-5,-16,-10,-21,-22,-19,-27,-21,-19,-9,-7,-6,-5,-3,-4,-8,-13,-14,-8,-39,-25,-41,-36,-41,-36,-28,-29,-33,-20,-9,1,-12,12,-7,20,3,-4,4,-5,11,-9,9,-9,4,-7,-8,0,-14,0,-3,-8,-16,-16,-24,-21,-13,-14,0,-7,8,-10,10,-8,0,-6,-9,-9,-27,-13,-30,-23,-30,-23,-20,-21,-20,-11,-17,-1,-15,12,-14,19';
wLocB = aux.split(',');
aux = '1,1,1,1,1,1,1,0,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,1,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,0,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0';
wProB = aux.split(',');
}
base_mc.filters = undefined;
var v2 = new flash.filters.DropShadowFilter(0, 0, 0, 50, 2, 2, 1, 1, false, false, false);
if (Number(v1[2]) > 0) {
var v3 = new flash.filters.ColorMatrixFilter(bodyColor[v1[2]]);
base_mc.filters = new Array(v3, v2);
} else {
base_mc.filters = new Array(v2);
}
}
function goTo(f) {
base_mc.gotoAndStop(f);
shadow_mc.gotoAndStop(f);
if (weapon01_mc.weapon_mc) {
weapon01_mc.weapon_mc.gotoAndStop(wFraA[f - 1]);
wp1 = Number(wProA[f - 1]);
}
if (weapon02_mc.weapon_mc) {
weapon02_mc.weapon_mc.gotoAndStop(wFraB[f - 1]);
wp2 = Number(wProB[f - 1]);
}
--f;
f *= 2;
if (weapon01_mc.weapon_mc) {
weapon01_mc.weapon_mc._x = Number(wLocA[f]);
weapon01_mc.weapon_mc._y = Number(wLocA[f + 1]);
if (wp1) {
if (weapon01_mc.getDepth() < wempty01_mc.getDepth()) {
weapon01_mc.swapDepths(wempty01_mc);
}
} else {
if (weapon01_mc.getDepth() > wempty01_mc.getDepth()) {
weapon01_mc.swapDepths(wempty01_mc);
}
}
}
if (weapon02_mc.weapon_mc) {
weapon02_mc.weapon_mc._x = Number(wLocB[f]);
weapon02_mc.weapon_mc._y = Number(wLocB[f + 1]);
if (wp2) {
if (weapon02_mc.getDepth() < wempty02_mc.getDepth()) {
weapon02_mc.swapDepths(wempty02_mc);
}
} else {
if (weapon02_mc.getDepth() > wempty02_mc.getDepth()) {
weapon02_mc.swapDepths(wempty02_mc);
}
}
}
}
var bodyColor = new Array();
var wLocA = new Array();
var wFraA = new Array();
var wProA = new Array();
var wLocB = new Array();
var wFraB = new Array();
var wProB = new Array();
bodyColor[0] = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
bodyColor[1] = [1.4735412, 0.2084148, 0.028044, 0, -45.085, 0.1055412, 1.5764148, 0.028044, 0, -45.085, 0.1055412, 0.2084148, 1.396044, 0, -45.085, 0, 0, 0, 1, 0];
bodyColor[2] = [0.527706, 1.042074, 0.14022, 0, -10.885, 0.527706, 1.042074, 0.14022, 0, -10.885, 0.527706, 1.042074, 0.14022, 0, -10.885, 0, 0, 0, 1, 0];
bodyColor[3] = [0.527706, 1.042074, 0.14022, 0, -96.38500000000001, 0.527706, 1.042074, 0.14022, 0, -96.38500000000001, 0.527706, 1.042074, 0.14022, 0, -96.38500000000001, 0, 0, 0, 1, 0];
bodyColor[4] = [0.527706, 1.042074, 0.14022, 0, -147.685, 0.527706, 1.042074, 0.14022, 0, -147.685, 0.527706, 1.042074, 0.14022, 0, -147.685, 0, 0, 0, 1, 0];
bodyColor[5] = [0.345632, 0.682528, 0.09184000000000001, 0, -119.62, 0.345632, 0.682528, 0.09184000000000001, 0, -119.62, 0.345632, 0.682528, 0.09184000000000001, 0, -119.62, 0, 0, 0, 1, 0];
bodyColor[6] = [-3.245409, 4.550139, 0.40527, 0, -164.785, 1.029591, 0.275138999999999, 0.40527, 0, -164.785, 1.029591, 4.550139, -3.86973, 0, -164.785, 0, 0, 0, 1, 0];
bodyColor[7] = [-3.245409, 4.550139, 0.40527, 0, -130.585, 1.029591, 0.275138999999999, 0.40527, 0, -130.585, 1.029591, 4.550139, -3.86973, 0, -130.585, 0, 0, 0, 1, 0];
bodyColor[8] = [-3.245409, 4.550139, 0.40527, 0, -96.38500000000001, 1.029591, 0.275138999999999, 0.40527, 0, -96.38500000000001, 1.029591, 4.550139, -3.86973, 0, -96.38500000000001, 0, 0, 0, 1, 0];
bodyColor[9] = [-1.87297674785025, 5.79978527340666, -2.21680852555642, 0, -164.785, 0.42360478330144, 0.175476217217521, 1.11091899948104, 0, -164.785, 2.9791676225127, 1.87026391849043, -3.13943154100313, 0, -164.785, 0, 0, 0, 1, 0];
bodyColor[10] = [-1.87297674785025, 5.79978527340666, -2.21680852555642, 0, -130.585, 0.42360478330144, 0.175476217217521, 1.11091899948104, 0, -130.585, 2.9791676225127, 1.87026391849043, -3.13943154100313, 0, -130.585, 0, 0, 0, 1, 0];
bodyColor[11] = [-1.87297674785025, 5.79978527340666, -2.21680852555642, 0, -96.38500000000001, 0.42360478330144, 0.175476217217521, 1.11091899948104, 0, -96.38500000000001, 2.9791676225127, 1.87026391849043, -3.13943154100313, 0, -96.38500000000001, 0, 0, 0, 1, 0];
bodyColor[12] = [0.43153104955203, 5.03447935911212, -3.75601040866415, 0, -164.785, -0.324901910231123, 0.692537961357247, 1.34236394887388, 0, -164.785, 3.59044751380716, -0.98589663698976, -0.894550876817404, 0, -164.785, 0, 0, 0, 1, 0];
bodyColor[13] = [0.43153104955203, 5.03447935911212, -3.75601040866415, 0, -130.585, -0.324901910231123, 0.692537961357247, 1.34236394887388, 0, -130.585, 3.59044751380716, -0.98589663698976, -0.894550876817404, 0, -130.585, 0, 0, 0, 1, 0];
bodyColor[14] = [0.43153104955203, 5.03447935911212, -3.75601040866415, 0, -96.38500000000001, -0.324901910231123, 0.692537961357247, 1.34236394887388, 0, -96.38500000000001, 3.59044751380716, -0.98589663698976, -0.894550876817404, 0, -96.38500000000001, 0, 0, 0, 1, 0];
bodyColor[15] = [2.9791676225127, 1.87026391849043, -3.13943154100313, 0, -164.785, -0.93459244688003, 1.81819275474513, 0.8263996921349011, 0, -164.785, 2.11100874785025, -2.81275727340667, 2.41174852555642, 0, -164.785, 0, 0, 0, 1, 0];
bodyColor[16] = [2.9791676225127, 1.87026391849043, -3.13943154100313, 0, -130.585, -0.93459244688003, 1.81819275474513, 0.8263996921349011, 0, -130.585, 2.11100874785025, -2.81275727340667, 2.41174852555642, 0, -130.585, 0, 0, 0, 1, 0];
bodyColor[17] = [2.9791676225127, 1.87026391849043, -3.13943154100313, 0, -96.38500000000001, -0.93459244688003, 1.81819275474513, 0.8263996921349011, 0, -96.38500000000001, 2.11100874785025, -2.81275727340667, 2.41174852555642, 0, -96.38500000000001, 0, 0, 0, 1, 0];
bodyColor[18] = [3.59044751380716, -0.98589663698976, -0.894550876817404, 0, -164.785, -0.883880791911328, 2.58945071174259, 0.00443008016873631, 0, -164.785, -0.193499049552029, -2.04745135911212, 3.95095040866415, 0, -164.785, 0, 0, 0, 1, 0];
bodyColor[19] = [3.59044751380716, -0.98589663698976, -0.894550876817404, 0, -130.585, -0.883880791911328, 2.58945071174259, 0.00443008016873631, 0, -130.585, -0.193499049552029, -2.04745135911212, 3.95095040866415, 0, -130.585, 0, 0, 0, 1, 0];
bodyColor[20] = [3.59044751380716, -0.98589663698976, -0.894550876817404, 0, -96.38500000000001, -0.883880791911328, 2.58945071174259, 0.00443008016873631, 0, -96.38500000000001, -0.193499049552029, -2.04745135911212, 3.95095040866415, 0, -96.38500000000001, 0, 0, 0, 1, 0];
bodyColor[21] = [3.13312684611837, -2.25007179251732, 0.826944946398945, 0, -164.785, -0.60230935652587, 2.8252770770988, -0.5129677205729321, 0, -164.785, -1.63130917509222, -0.667846265044331, 4.00915544013655, 0, -164.785, 0, 0, 0, 1, 0];
bodyColor[22] = [3.13312684611837, -2.25007179251732, 0.826944946398945, 0, -130.585, -0.60230935652587, 2.8252770770988, -0.5129677205729321, 0, -130.585, -1.63130917509222, -0.667846265044331, 4.00915544013655, 0, -130.585, 0, 0, 0, 1, 0];
bodyColor[23] = [3.13312684611837, -2.25007179251732, 0.826944946398945, 0, -96.38500000000001, -0.60230935652587, 2.8252770770988, -0.5129677205729321, 0, -96.38500000000001, -1.63130917509222, -0.667846265044331, 4.00915544013655, 0, -96.38500000000001, 0, 0, 0, 1, 0];
bodyColor[24] = [1.58408578492657, -2.81275727340667, 2.93867148848009, 0, -164.785, 0.00201179149938882, 2.73514795315855, -1.02715974465793, 0, -164.785, -3.04358940323089, 1.87026391849043, 2.88332548474046, 0, -164.785, 0, 0, 0, 1, 0];
bodyColor[25] = [1.58408578492657, -2.81275727340667, 2.93867148848009, 0, -130.585, 0.00201179149938882, 2.73514795315855, -1.02715974465793, 0, -130.585, -3.04358940323089, 1.87026391849043, 2.88332548474046, 0, -130.585, 0, 0, 0, 1, 0];
bodyColor[26] = [1.58408578492657, -2.81275727340667, 2.93867148848009, 0, -96.38500000000001, 0.00201179149938882, 2.73514795315855, -1.02715974465793, 0, -96.38500000000001, -3.04358940323089, 1.87026391849043, 2.88332548474046, 0, -96.38500000000001, 0, 0, 0, 1, 0];
bodyColor[27] = [-2.55663827459882, 0.742881457386675, 3.52375681721214, 0, -164.785, 1.14206848700532, 1.28494530786776, -0.717013794873078, 0, -164.785, -2.11467525307664, 5.75056269213636, -1.92588743905972, 0, -164.785, 0, 0, 0, 1, 0];
bodyColor[28] = [-2.55663827459882, 0.742881457386675, 3.52375681721214, 0, -130.585, 1.14206848700532, 1.28494530786776, -0.717013794873078, 0, -130.585, -2.11467525307664, 5.75056269213636, -1.92588743905972, 0, -130.585, 0, 0, 0, 1, 0];
bodyColor[29] = [-2.55663827459882, 0.742881457386675, 3.52375681721214, 0, -96.38500000000001, 1.14206848700532, 1.28494530786776, -0.717013794873078, 0, -96.38500000000001, -2.11467525307664, 5.75056269213636, -1.92588743905972, 0, -96.38500000000001, 0, 0, 0, 1, 0];
bodyColor[30] = [1.71, 0, 0, 0.1, -25.085, 0, 1.71, 0, -0.5, -25.085, 0, 0, 1.71, -0.35, -25.085, 0, 0, 0, 1, 0];
bodyColor[31] = [1.50829064900508, 1.37334996739617, -1.17164061640125, 0, -45.085, -0.0572133787520119, 1.35252150189805, 0.41469187685396, -0.6, -45.085, 1.1610270991401, -0.499858509362666, 1.04883141022257, -0.4, -45.085, 0, 0, 0, 1, 0];
bodyColor[32] = [1.71, 0, 0, 0.2, -45.085, 0, 1.71, 0, 0.1, -45.085, 0, 0, 1.71, -0.3, -45.085, 0, 0, 0, 1, 0];
bodyColor[33] = [1.71, 0, 0, 0.2, -45.085, 0, 1.71, 0, -0.1, -45.085, 0, 0, 1.71, -0.3, -45.085, 0, 0, 0, 1, 0];
bodyColor[34] = [1.71, 0, 0, 0.1, -45.085, 0, 1.71, 0, -0.15, -45.085, 0, 0, 1.71, -0.2, -45.085, 0, 0, 0, 1, 0];
bodyColor[35] = [1.71, 0, 0, -0.1, -45.085, 0, 1.71, 0, 0.1, -45.085, 0, 0, 1.71, -0.2, -45.085, 0, 0, 0, 1, 0];
bodyColor[36] = [0.6172, 1.2188, 0.164, -0.2, -113.5, 0.6172, 1.2188, 0.164, -0.1, -113.5, 0.6172, 1.2188, 0.164, -0.2, -113.5, 0, 0, 0, 1, 0];
bodyColor[37] = [0.6172, 1.2188, 0.164, -0.1, -113.5, 0.6172, 1.2188, 0.164, -0.2, -113.5, 0.6172, 1.2188, 0.164, -0.1, -113.5, 0, 0, 0, 1, 0];
bodyColor[38] = [0.89494, 1.76726, 0.2378, -0.1, -193.15, 0.89494, 1.76726, 0.2378, -0.1, -193.15, 0.89494, 1.76726, 0.2378, -0.1, -193.15, 0, 0, 0, 1, 0];
bodyColor[39] = [0.89494, 1.76726, 0.2378, 0.3, -193.15, 0.89494, 1.76726, 0.2378, 0.3, -193.15, 0.89494, 1.76726, 0.2378, 0.3, -193.15, 0, 0, 0, 1, 0];
stop();
}
}
movieClip 18576 {
frame 1 {
function setConfig(s) {
object_mc.setConfig(s);
}
function goTo(f) {
object_mc.goTo(f);
}
}
}
movieClip 18863 {
frame 1 {
stop();
}
}
movieClip 18864 TMP4ex0l4paz3 {
frame 1 {
function setConfig(s) {
var v1 = new Array();
v1 = s.split(',');
base_mc.filters = undefined;
if (Number(v1[0]) > 0) {
var v2 = new flash.filters.ColorMatrixFilter(bodyColor[v1[0]]);
base_mc.filters = new Array(v2);
}
}
function goTo(f) {
base_mc.gotoAndStop(f);
shadow_mc.gotoAndStop(f);
if (f % 22 == 0) {
shadow_mc._visible = false;
} else {
shadow_mc._visible = true;
}
}
var bodyColor = new Array();
bodyColor[0] = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
bodyColor[1] = [0.3086, 0.6094000000000001, 0.082, 0, 0, 0.3086, 0.6094000000000001, 0.082, 0, 0, 0.3086, 0.6094000000000001, 0.082, 0, 0, 0, 0, 0, 1, 0];
bodyColor[2] = [0.75, 0.5, 0.5, 0, 10, 0, 0.5, 0, 0, 10, 0, 0, 0.5, 0, 10, 0, 0, 0, 1, 0];
bodyColor[3] = [0.55059, 0.39611, 0.0533, 0.02, -10, 0.20059, 0.7461100000000001, 0.0533, 0.02, -10, 0.20059, 0.39611, 0.4033, 0.02, -10, 0, 0, 0, 1, 0];
bodyColor[4] = [0.3086, 0.6094000000000001, 0.082, 0, -25, 0.3086, 0.6094000000000001, 0.082, 0, -25, 0.3086, 0.6094000000000001, 0.082, 0, -25, 0, 0, 0, 1, 0];
bodyColor[5] = [0.573996, 1.133484, 0.15252, 0, -8.109999999999999, 0.573996, 1.133484, 0.15252, 0, -8.109999999999999, 0.573996, 1.133484, 0.15252, 0, -8.109999999999999, 0, 0, 0, 1, 0];
bodyColor[6] = [0.573996, 1.133484, 0.15252, 0.2, 0.11, 0.573996, 1.133484, 0.15252, 0, -6, 0.573996, 1.133484, 0.15252, 0, -1, 0, 0, 0, 1, 0];
bodyColor[7] = [0.573996, 1.133484, 0.15252, 0.2, -54.61, 0.573996, 1.133484, 0.15252, 0.1, -54.61, 0.573996, 1.133484, 0.15252, 0, -54.61, 0, 0, 0, 1, 0];
bodyColor[8] = [0.573996, 1.133484, 0.15252, 0.35, -54.61, 0.573996, 1.133484, 0.15252, 0.15, -54.61, 0.573996, 1.133484, 0.15252, 0, -54.61, 0, 0, 0, 1, 0];
bodyColor[9] = [0.3996, 1.133484, 0.15252, 0.15, -54.61, 0.573996, 1.133484, 0.15252, 0.1, -54.61, 0.573996, 1.133484, 0.15252, 0.2, -54.61, 0, 0, 0, 1, 0];
bodyColor[10] = [0.3996, 1.133484, 0.15252, 0.15, -5, 0.573996, 1.133484, 0.15252, 0, -5, 0.573996, 1.133484, 0.15252, 0, -50, 0, 0, 0, 1, 0];
bodyColor[11] = [0.3996, 1.133484, 0.15252, 0.15, -5, 0.573996, 1.133484, 0.15252, 0, -25, 0.573996, 1.133484, 0.15252, 0, -50, 0, 0, 0, 1, 0];
bodyColor[12] = [1.24354244345251, -0.788920016767078, 0.985377573314571, 0.2, 0.859999999999999, 0.0923395081738141, 1.66257611110795, -0.314915619281759, 0.2, 0.859999999999999, -0.906234124455903, 0.746521160287218, 1.59971296416868, 0, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[13] = [1.7386848, -0.2632608, -0.035424, 0.15, 0.859999999999999, -0.1333152, 1.6087392, -0.035424, 0.07000000000000001, 0.859999999999999, -0.1333152, -0.2632608, 1.836576, 0, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[14] = [1.7386848, -0.2632608, -0.035424, 0.3, 0.859999999999999, -0.1333152, 1.6087392, -0.035424, 0.15, 0.859999999999999, -0.1333152, -0.2632608, 1.836576, 0, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[15] = [1.7691645507742, 0.427810444181876, -0.756974994956079, 0.1, 0.859999999999999, -0.209089959966784, 1.44799273650279, 0.201097223463993, 0, 0.860000000000003, 0.5266715289933041, -0.703521737767507, 1.6168502087742, 0, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[16] = [1.7691645507742, 0.427810444181876, -0.756974994956079, 0.2, 0.859999999999999, -0.209089959966784, 1.44799273650279, 0.201097223463993, 0, 0.860000000000003, 0.5266715289933041, -0.703521737767507, 1.6168502087742, 0, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[17] = [0.791042907321696, 2.29194966094895, -1.64299256827065, 0.1, 0.860000000000007, -0.0360086681405982, 0.860635825394846, 0.615372842745752, 0, 0.859999999999999, 1.69832645344921, -0.374823698054725, 0.116497244605518, 0, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[18] = [0.791042907321696, 2.29194966094895, -1.64299256827065, 0.2, 0.860000000000007, -0.0360086681405982, 0.860635825394846, 0.615372842745752, 0, 0.859999999999999, 1.69832645344921, -0.374823698054725, 0.116497244605518, 0, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[19] = [-0.125895694596608, 2.9036168824574, -1.33772118786079, 0.05, 0.859999999999996, 0.232957263508521, 0.581491262176174, 0.625551474315305, 0, 0.860000000000003, 1.74067285048108, 0.585301517542604, -0.885974368023681, 0.05, 0.860000000000003, 0, 0, 0, 1, 0];
bodyColor[20] = [-0.125895694596608, 2.9036168824574, -1.33772118786079, 0.1, 0.859999999999996, 0.232957263508521, 0.581491262176174, 0.625551474315305, 0, 0.860000000000003, 1.74067285048108, 0.585301517542604, -0.885974368023681, 0.1, 0.860000000000003, 0, 0, 0, 1, 0];
bodyColor[21] = [0.656737294596608, -0.7531784824573961, 1.53644118786079, -0.1, 0.860000000000007, 0.297884336491479, 1.56894713782383, -0.426831474315305, 0.1, 0.859999999999992, -1.20983125048108, 1.5651368824574, 1.08469436802368, -5, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[22] = [-1.20983125048108, 1.5651368824574, 1.08469436802368, 0, 0.860000000000003, 0.744584305403392, 0.7442173265729261, -0.0488016319763181, 0.1, 0.859999999999999, -0.125895694596608, 2.9036168824574, -1.33772118786079, -0.1, 0.859999999999996, 0, 0, 0, 1, 0];
bodyColor[23] = [1.24354244345251, -0.788920016767078, 0.985377573314571, 0.05, 0.859999999999999, 0.0923395081738141, 1.66257611110795, -0.314915619281759, 0.15, 0.859999999999999, -0.906234124455903, 0.746521160287218, 1.59971296416868, -1, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[24] = [1.24354244345251, -0.788920016767078, 0.985377573314571, 0.3, 0.859999999999999, 0.0923395081738141, 1.66257611110795, -0.314915619281759, 0.2, 0.859999999999999, -0.906234124455903, 0.746521160287218, 1.59971296416868, -1, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[25] = [1.7386848, -0.2632608, -0.035424, 0.3, 0.859999999999999, -0.1333152, 1.6087392, -0.035424, 0.1, 0.859999999999999, -0.1333152, -0.2632608, 1.836576, -0.5, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[26] = [1.65030906078321, 0.910242393587349, -1.12055145437056, 0.1, 0.860000000000007, -0.212100369034137, 1.31545745454619, 0.336642914487948, -0.2, 0.860000000000003, 0.906967147925741, -0.8104743260391289, 1.34350717811339, -0.2, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[27] = [1.65030906078321, 0.910242393587349, -1.12055145437056, 0, 0.860000000000007, -0.212100369034137, 1.31545745454619, 0.336642914487948, -0.4, 0.860000000000003, 0.906967147925741, -0.8104743260391289, 1.34350717811339, -0.4, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[28] = [1.37201866214093, 0.902694764297961, -0.834713426438892, 0, 0.860000000000007, -0.0606039761801051, 1.21439865734322, 0.286205318836883, -0.4, 0.860000000000003, 0.800217190712108, -0.420933481568561, 1.06071629085645, -0.4, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[29] = [0.513500977657634, 2.14501761388825, -1.21851859154588, 0, 0.859999999999999, 0.128315997184509, 0.792998432041065, 0.518685570774425, 0.1, 0.860000000000003, 1.46241993686898, 0.0936534915777277, -0.116073428446703, 0.1, 0.859999999999999, 0, 0, 0, 1, 0];
bodyColor[30] = [0.444384, 0.877536, 0.11808, -0.05, 0.859999999999999, 0.444384, 0.877536, 0.11808, -0.3, 0.860000000000003, 0.444384, 0.877536, 0.11808, -0.3, 0.859999999999999, 0, 0, 0, 1, 0];
stop();
}
}
movieClip 18870 {
}
movieClip 18874 {
}
movieClip 18877 {
}
movieClip 18880 {
}
movieClip 18886 {
}
movieClip 18887 {
}
movieClip 18888 {
}
movieClip 18900 {
frame 1 {
function setConfig(s) {}
function goTo(n) {
gotoAndStop(n);
}
}
}
movieClip 18909 {
frame 1 {
function setConfig(s) {}
function goTo(n) {
gotoAndStop(n);
}
}
}
movieClip 18952 {
}
movieClip 18953 {
frame 1 {
function setConfig(s) {}
function goTo(n) {
base_mc.gotoAndStop(n);
}
}
}
movieClip 18956 {
}
movieClip 18957 {
frame 1 {
function setConfig(s) {}
function goTo(n) {
var v1 = Number(n) + 4;
var v2 = v1 + 8;
if (v1 > 20) {
v1 -= 20;
}
if (v2 > 20) {
v2 -= 20;
}
base_mc.base01_mc.gotoAndStop(n);
base_mc.base02_mc.gotoAndStop(v1);
base_mc.base03_mc.gotoAndStop(v2);
}
}
}
movieClip 18961 {
frame 1 {
function setConfig(s) {}
function goTo(n) {
base_mc.gotoAndStop(n);
}
}
}
movieClip 18962 {
}
movieClip 18963 {
frame 1 {
function setConfig(s) {}
function goTo(n) {
var v2 = Number(n) + 7;
var v1 = Number(n) + 14;
if (v2 > 15) {
v2 -= 15;
}
if (v1 > 15) {
v1 -= 15;
}
base01_mc.gotoAndStop(n);
base02_mc.gotoAndStop(v2);
base03_mc.gotoAndStop(v1);
}
}
}
movieClip 18982 {
}
movieClip 18986 {
}
movieClip 18990 {
}
movieClip 18995 {
}
movieClip 18997 {
}
movieClip 19001 {
frame 1 {
function setConfig(s) {}
function goTo(n) {}
}
}
movieClip 19003 {
}
movieClip 19004 {
frame 1 {
function setConfig(s) {}
function goTo(n) {}
}
}
movieClip 19006 {
}
movieClip 19008 {
}
movieClip 19010 {
}
movieClip 19019 {
frame 1 {
function setConfig(s) {}
function goTo(n) {
gotoAndStop(n);
}
}
}
movieClip 19021 {
}
movieClip 19023 {
}
movieClip 19024 {
frame 1 {
function setConfig(s) {}
function goTo(n) {
gotoAndStop(n);
}
}
}
movieClip 19028 {
}
movieClip 19030 {
}
movieClip 19034 {
}
movieClip 19037 {
}
movieClip 19046 {
frame 1 {
function setConfig(s) {}
function goTo(n) {
gotoAndStop(n);
}
}
}
movieClip 19048 {
}
movieClip 19052 {
}
movieClip 19056 {
}
movieClip 19058 {
}
movieClip 19059 {
}
movieClip 19060 {
}
movieClip 19062 {
}
movieClip 19064 {
}
movieClip 19068 {
}
movieClip 19069 {
frame 1 {
function setConfig(s) {}
function goTo(n) {
gotoAndStop(n);
}
}
}
movieClip 19071 {
}
movieClip 19073 {
}
movieClip 19076 {
}
movieClip 19081 {
}
movieClip 19084 {
}
movieClip 19099 {
frame 1 {
function setConfig(s) {}
function goTo(n) {
gotoAndStop(n);
}
}
}
movieClip 19100 {
frame 1 {
function setConfig(s) {}
function goTo(n) {
base_mc.gotoAndStop(n);
}
}
}
movieClip 19113 {
frame 1 {
function setConfig(s) {}
function goTo(n) {
gotoAndStop(n);
}
}
}
movieClip 19114 {
frame 1 {
function setConfig(s) {}
function goTo(n) {
base_mc.gotoAndStop(n);
}
}
}
movieClip 19116 {
}
movieClip 19120 {
}
movieClip 19123 {
}
movieClip 19124 {
}
movieClip 19130 {
}
movieClip 19134 {
}
movieClip 19138 {
}
movieClip 19142 {
}
movieClip 19146 {
}
movieClip 19150 {
}
movieClip 19154 {
}
movieClip 19158 {
}
movieClip 19162 {
}
movieClip 19174 {
}
movieClip 19179 {
frame 1 {
function setConfig(s) {}
function goTo(n) {
base_mc.gotoAndStop(n);
}
}
}
movieClip 19181 {
}
movieClip 19185 {
}
movieClip 19188 {
}
movieClip 19189 {
}
movieClip 19191 {
}
movieClip 19192 {
}
movieClip 19195 {
}
movieClip 19196 {
}
movieClip 19198 {
}
movieClip 19199 {
}
movieClip 19206 {
}
movieClip 19208 {
}
movieClip 19210 {
}
movieClip 19211 {
}
movieClip 19215 {
}
movieClip 19219 {
}
movieClip 19221 {
}
movieClip 19232 {
frame 1 {
function setConfig(s) {}
function goTo(n) {
gotoAndStop(n);
}
}
}
movieClip 19234 {
}
movieClip 19237 {
}
movieClip 19238 {
}
movieClip 19240 {
}
movieClip 19241 {
}
movieClip 19248 {
}
movieClip 19250 {
}
movieClip 19265 {
}
movieClip 19266 {
}
movieClip 19273 {
}
movieClip 19298 {
frame 1 {
function setConfig(s) {}
function goTo(f) {
gotoAndStop(f);
}
}
}
movieClip 19312 {
frame 1 {
function setConfig(s) {}
function goTo(f) {
gotoAndStop(f);
}
}
}
movieClip 19324 {
}
movieClip 19327 {
}
movieClip 19330 {
}
movieClip 19334 {
}
movieClip 19343 {
}
movieClip 19345 {
}
movieClip 19347 {
}
movieClip 19349 {
}
movieClip 19351 {
}
movieClip 19353 {
}
movieClip 19355 {
}
movieClip 19357 {
}
movieClip 19360 {
}
movieClip 19361 {
}
movieClip 19362 {
frame 1 {
function setConfig(s) {}
function goTo(n) {
base_mc.gotoAndStop(n);
}
}
}
movieClip 19371 {
frame 1 {
function setConfig(s) {}
function goTo(n) {
gotoAndStop(n);
}
}
}
movieClip 19373 {
frame 1 {
function setConfig(s) {}
function goTo(n) {
gotoAndStop(n);
}
}
}
movieClip 19375 {
frame 1 {
function setConfig(s) {}
function goTo(n) {
gotoAndStop(n);
}
}
}
movieClip 19379 {
}
movieClip 19383 {
}
movieClip 19384 {
frame 1 {
function setConfig(s) {}
function goTo(n) {
gotoAndStop(n);
}
}
}
movieClip 19386 {
frame 1 {
function setConfig(s) {}
function goTo(n) {
gotoAndStop(n);
}
}
}
movieClip 19388 {
frame 1 {
function setConfig(s) {}
function goTo(n) {
gotoAndStop(n);
}
}
}
movieClip 19391 {
frame 1 {
function setConfig(s) {}
function goTo(f) {
gotoAndStop(f);
}
}
}
movieClip 19394 {
}
movieClip 19395 {
frame 1 {
function setConfig(s) {}
function goTo(f) {
gotoAndStop(f);
if (this._name == 'shadow_mc') {
if (f > 17) {
_visible = false;
}
}
}
}
}
movieClip 19434 {
frame 1 {
function setConfig(s) {}
function goTo(f) {
gotoAndStop(f);
}
}
}
movieClip 19455 {
frame 1 {
function setConfig(s) {}
function goTo(f) {
gotoAndStop(f);
}
}
}
movieClip 19476 {
frame 1 {
function setConfig(s) {}
function goTo(f) {
gotoAndStop(f);
}
}
}
movieClip 19497 {
}
movieClip 19498 {
frame 1 {
function setConfig(s) {}
function goTo(f) {
base_mc.gotoAndStop(f);
base2_mc.gotoAndStop(f);
}
}
}
movieClip 19499 {
frame 1 {
function setConfig(s) {}
function goTo(f) {
base_mc.gotoAndStop(f);
base2_mc.gotoAndStop(f);
}
}
}
movieClip 19516 {
frame 1 {
function setConfig(s) {}
function goTo(f) {
gotoAndStop(f);
}
}
}
movieClip 19519 {
}
movieClip 19537 {
}
movieClip 19538 {
frame 1 {
function setConfig(s) {}
function goTo(f) {
gotoAndStop(f);
}
}
}
movieClip 19545 {
}
movieClip 19546 {
}
movieClip 19547 {
}
movieClip 19548 {
}
movieClip 19549 {
}
movieClip 19550 {
}
movieClip 19551 {
frame 1 {
function setConfig(s) {}
function goTo(f) {
gotoAndStop(f);
}
}
}
movieClip 19560 {
}
movieClip 19589 {
frame 1 {
function setConfig(s) {}
function goTo(f) {
gotoAndStop(f);
}
}
}
movieClip 19592 {
}
movieClip 19593 {
frame 1 {
function setConfig(s) {}
function goTo(f) {
gotoAndStop(f);
}
}
}
movieClip 19596 {
}
movieClip 19597 {
frame 1 {
function setConfig(s) {}
function goTo(f) {
gotoAndStop(f);
}
}
}
movieClip 19608 {
}
movieClip 19609 {
frame 1 {
function setConfig(s) {}
function goTo(f) {
gotoAndStop(f);
}
}
}
movieClip 19619 {
frame 1 {
function setConfig(s) {}
function goTo(f) {
gotoAndStop(f);
}
}
}
movieClip 19632 {
frame 1 {
function setConfig(s) {}
function goTo(f) {
gotoAndStop(f);
}
}
}
movieClip 19651 {
}
movieClip 19654 {
}
movieClip 19655 {
frame 1 {
function setConfig(s) {}
function goTo(f) {
gotoAndStop(f);
}
}
}
movieClip 19656 {
}
movieClip 19658 {
}
movieClip 19659 {
frame 1 {
function setConfig(s) {}
function goTo(f) {
base_mc.gotoAndStop(f);
}
base_mc.setMask(mask_mc);
}
}
movieClip 19660 objectMC {
}
movieClip 19664 {
}
movieClip 19671 {
frame 1 {
stop();
}
}
movieClip 19676 {
}
movieClip 19679 {
}
movieClip 19682 {
}
movieClip 19683 {
frame 1 {
function inicializar() {
b1_mc.texto = 'sort by value';
b2_mc.texto = 'sort by magic level';
b3_mc.texto = 'sort by type';
b4_mc.texto = 'cancel';
indicator_mc._visible = false;
icon_mc.onRelease = function () {
if (!b1_mc._visible) {
expandir();
} else {
contraer();
}
_parent._parent._parent.sonido_mc.playFX('BOTON');
};
icon_mc.onRollOver = function () {
if (!b1_mc._visible) {
indicator_mc._visible = true;
}
};
icon_mc.onDragOver = function () {
if (!b1_mc._visible) {
indicator_mc._visible = true;
}
};
icon_mc.onRollOut = function () {
indicator_mc._visible = false;
};
icon_mc.onDragOut = function () {
indicator_mc._visible = false;
};
b1_mc.onRelease = function () {
ordenarInventario(1);
_parent._parent._parent.sonido_mc.playFX('BOTON');
};
b2_mc.onRelease = function () {
ordenarInventario(2);
_parent._parent._parent.sonido_mc.playFX('BOTON');
};
b3_mc.onRelease = function () {
ordenarInventario(3);
_parent._parent._parent.sonido_mc.playFX('BOTON');
};
b4_mc.onRelease = function () {
contraer();
_parent._parent._parent.sonido_mc.playFX('BOTON');
};
contraer();
}
function contraer() {
b1_mc._visible = false;
b2_mc._visible = false;
b3_mc._visible = false;
b4_mc._visible = false;
}
function expandir() {
indicator_mc._visible = false;
b1_mc._visible = true;
b2_mc._visible = true;
b3_mc._visible = true;
b4_mc._visible = true;
}
function ordenarInventario(c) {
var v3 = 0;
var v6 = 0;
var v10 = 0;
var v5 = new Array();
var v7 = new Array();
var v9 = new Array('', '0', '00', '000', '0000', '00000', '000000', '0000000', '00000000', '000000000', '0000000000');
var v2 = '';
var v4 = '';
contraer();
v5 = _parent._parent._parent.itemInv.split(';');
v3 = 0;
while (v3 < v5.length) {
if (c == 1) {
v2 = String(_parent._parent._parent.getItemValue(v5[v3]) + 1);
} else {
if (c == 2) {
v2 = String(_parent._parent._parent.getItemMagicLevel(v5[v3]) + 1);
} else {
if (c == 3) {
v4 = (v5[v3].split(','))[4];
if (v4 == 'Helm') {
v2 = '20';
} else {
if (v4 == 'Armor') {
v2 = '19';
} else {
if (v4 == 'Shield') {
v2 = '18';
} else {
if (v4 == 'Bow') {
v2 = '17';
} else {
if (v4 == 'Staff') {
v2 = '16';
} else {
if (v4 == 'Sword-2H') {
v2 = '15';
} else {
if (v4 == 'Axe-2H') {
v2 = '14';
} else {
if (v4 == 'Hammer-2H') {
v2 = '13';
} else {
if (v4 == 'Sword-1H') {
v2 = '12';
} else {
if (v4 == 'Axe-1H') {
v2 = '11';
} else {
if (v4 == 'Hammer-1H') {
v2 = '10';
} else {
if (v4 == 'Accessory') {
v2 = '9';
} else {
v2 = '1';
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
if (v5[v3] == '' || v5[v3] == undefined) {
v2 = '0';
}
v6 = 10 - v2.length;
v2 = v9[v6] + v2;
v7.push(v2 + ',' + v3);
++v3;
}
v7.sort();
v9.splice(0, v9.length);
v3 = v7.length - 1;
while (v3 >= 0) {
v6 = Number((v7[v3].split(','))[1]);
v9.push(v5[v6]);
--v3;
}
_parent._parent._parent.itemInv = v9.join(';');
if (_parent._name == 'trad_mc') {
v3 = 0;
while (v3 < _parent.inventorySelect.length) {
_parent.inventorySelect[v3] = 0;
++v3;
}
}
_parent.actualizar();
}
inicializar();
}
}
movieClip 19685 {
}
movieClip 19693 {
frame 1 {
texto_txt.text = 'enchantments:\n';
texto_txt.text += 'corporal (' + _parent._parent._parent.miscInv[3] + ')\n';
texto_txt.text += 'spiritual (' + _parent._parent._parent.miscInv[4] + ')\n';
texto_txt.text += 'speed (' + _parent._parent._parent.miscInv[5] + ')\n';
texto_txt.text += 'master (' + _parent._parent._parent.miscInv[6] + ')\n';
texto_txt.text += 'hardening (' + _parent._parent._parent.miscInv[7] + ')\n';
}
}
movieClip 19711 {
}
movieClip 19713 {
}
movieClip 19714 {
}
movieClip 19715 {
frame 1 {
function setColor(c) {
n = c;
updateColor();
}
function updateColor() {
if (n == undefined) {
n = 1;
}
color_mc.gotoAndStop(n + 2);
}
function switchColor(c) {
n = c - 2;
color_mc.gotoAndStop(c);
closeSelector();
_parent.updateClothColor();
}
function checkRollOut() {
var v1 = true;
if (_xmouse > area_mc._x + 2 && _xmouse < area_mc._width + area_mc._x - 2 && _ymouse > area_mc._y + 2 && _ymouse < area_mc._height + area_mc._y - 2) {
v1 = false;
}
if (v1) {
closeSelector();
}
}
function closeSelector() {
gotoAndStop(1);
}
var n;
updateColor();
color_mc.onRelease = function () {
if (_name == 'pantColor_mc') {
_parent.camiColor_mc.closeSelector();
} else {
_parent.pantColor_mc.closeSelector();
}
gotoAndStop(2);
};
color_mc.onRollOut = function () {
checkRollOut();
};
color_mc.onDragOut = function () {
checkRollOut();
};
}
frame 1 {
stop();
if (this._name == 'pantColor_mc') {
color_mc._y = 35;
}
}
frame 2 {
function inicializar() {
var v4 = new Number(0);
var v3 = new String('');
if (this._name == 'pantColor_mc' || _parent._parent._parent.pjGender == 2) {
color01_mc._visible = false;
}
v4 = 1;
while (v4 < 18) {
if (v4 < 10) {
v3 = 'color0' + v4 + '_mc';
} else {
v3 = 'color' + v4 + '_mc';
}
if (v4 - 2 == n) {
this[v3].attachMovie('inventorySelectedWeaponMC', 'select_mc', 10);
this[v3].select_mc._x = 3;
this[v3].select_mc._y = 3;
}
if (this[v3]) {
this[v3].gotoAndStop(v4);
this[v3].onRelease = function () {
switchColor(this._currentFrame);
};
this[v3].onRollOut = function () {
checkRollOut();
};
this[v3].onDragOut = function () {
checkRollOut();
};
}
++v4;
}
area_mc.onRollOut = function () {
checkRollOut();
};
area_mc.onDragOut = function () {
checkRollOut();
};
}
inicializar();
}
}
movieClip 19717 {
}
movieClip 19719 {
frame 1 {
animation();
}
frame 1 {
function animation() {
if (alphaInc != 0 && alphaInc != undefined) {
cAlpha += alphaInc;
if (cAlpha > 0) {
_alpha = cAlpha;
} else {
_alpha = 0;
}
if (cAlpha >= 100) {
_alpha = 100;
alphaInc = 0;
}
if (cAlpha < -500) {
_alpha = 0;
alphaInc = 0;
}
}
}
var alphaInc;
var cAlpha;
if (cAlpha == undefined) {
cAlpha = 0;
}
}
frame 2 {
animation();
}
}
movieClip 19720 inventoryMC {
frame 1 {
function ocultarMensaje() {
invhelp_mc.alphaInc = -10;
}
function mostrarMensaje(s, cx, cy) {
invhelp_mc.alphaInc = 10;
invhelp_mc.cAlpha = -300;
invhelp_mc._alpha = 0;
invhelp_mc.texto_txt.text = s;
invhelp_mc._x = cx;
invhelp_mc._y = cy;
invhelp_mc.texto_txt.wordWrap = true;
invhelp_mc.texto_txt.autoSize = true;
invhelp_mc.bg_mc._height = invhelp_mc.texto_txt._height + 4;
}
function showSelectedWeapon() {
if (_parent._parent.currentWeapon == 1) {
right01_mc.attachMovie('inventorySelectedWeaponMC', 'select_mc', 15);
left01_mc.attachMovie('inventorySelectedWeaponMC', 'select_mc', 15);
right02_mc.select_mc.removeMovieClip();
left02_mc.select_mc.removeMovieClip();
} else {
right02_mc.attachMovie('inventorySelectedWeaponMC', 'select_mc', 15);
left02_mc.attachMovie('inventorySelectedWeaponMC', 'select_mc', 15);
right01_mc.select_mc.removeMovieClip();
left01_mc.select_mc.removeMovieClip();
}
}
function actualizar() {
var v3 = 0;
var v7 = 0;
var v4 = new String('');
var v5 = new Array();
var v6 = new Array();
var v8 = new String('left01_mc,right01_mc,left02_mc,right02_mc,head_mc,body_mc,acc01_mc,acc02_mc,acc03_mc,acc04_mc,acc05_mc');
checkItemReq();
v5 = (String(_parent._parent.itemEqu)).split(';');
v6 = v8.split(',');
v3 = 0;
while (v3 < v5.length) {
if (v5[v3] != '' && v5[v3] != undefined && v5[v3] != null) {
setIcono(v5[v3], v6[v3]);
} else {
this[v6[v3]].fotograma = 1;
this[v6[v3]].actualizar();
}
++v3;
}
v6 = _parent._parent.pjConfig01.split(',');
if (v5[5] != '' && _parent._parent.itemReqOk[5] == 1) {
v6[1] = _parent._parent.getItemFrame(v5[5]);
v6[2] = (v5[5].split(','))[5];
} else {
v6[1] = 2;
v6[2] = 0;
}
if (v5[4] != '' && _parent._parent.itemReqOk[4] == 1) {
v6[5] = _parent._parent.getItemFrame(v5[4]);
v6[6] = (v5[4].split(','))[5];
} else {
v6[5] = 1;
v6[6] = 0;
}
v3 = 1;
v7 = 0;
if (v5[v3] != '' && _parent._parent.itemReqOk[v3] == 1) {
if ((v5[v3].split(','))[4] == 'Bow') {
v6[9] = _parent._parent.getItemFrame(v5[v3]);
v6[10] = (v5[v3].split(','))[5];
v6[7] = 1;
v6[8] = 0;
} else {
v6[7] = _parent._parent.getItemFrame(v5[v3]);
v6[8] = (v5[v3].split(','))[5];
}
} else {
v6[7] = 1;
v6[8] = 0;
v6[9] = 1;
v6[10] = 0;
}
if ((v5[v3].split(','))[4] != 'Bow') {
if (v5[v7] != '' && _parent._parent.itemReqOk[v7] == 1) {
v6[9] = _parent._parent.getItemFrame(v5[v7]);
v6[10] = (v5[v7].split(','))[5];
} else {
v6[9] = 1;
v6[10] = 0;
}
}
_parent._parent.pjConfig01 = v6.join(',');
v3 = 3;
v7 = 2;
if (v5[v3] != '' && _parent._parent.itemReqOk[v3] == 1) {
if ((v5[v3].split(','))[4] == 'Bow') {
v6[9] = _parent._parent.getItemFrame(v5[v3]);
v6[10] = (v5[v3].split(','))[5];
v6[7] = 1;
v6[8] = 0;
} else {
v6[7] = _parent._parent.getItemFrame(v5[v3]);
v6[8] = (v5[v3].split(','))[5];
}
} else {
v6[7] = 1;
v6[8] = 0;
v6[9] = 1;
v6[10] = 0;
}
if ((v5[v3].split(','))[4] != 'Bow') {
if (v5[v7] != '' && _parent._parent.itemReqOk[v7] == 1) {
v6[9] = _parent._parent.getItemFrame(v5[v7]);
v6[10] = (v5[v7].split(','))[5];
} else {
v6[9] = 1;
v6[10] = 0;
}
}
_parent._parent.pjConfig02 = v6.join(',');
v5 = (String(_parent._parent.itemInv)).split(';');
v3 = 1;
while (v3 < 51) {
if (v3 < 10) {
v4 = 'inv0' + v3 + '_mc';
} else {
v4 = 'inv' + v3 + '_mc';
}
if (v5[v3 - 1] != '' && v5[v3 - 1] != undefined && v5[v3 - 1] != null) {
setIcono(v5[v3 - 1], v4);
} else {
this[v4].fotograma = 1;
this[v4].actualizar();
}
if (inventoryReq[v3 - 1] != 1) {
this[v4].attachMovie('itemNoEquipable', 'noEq_mc', 10);
} else {
if (this[v4].noEq_mc != undefined) {
this[v4].noEq_mc.removeMovieClip();
}
}
++v3;
}
v3 = 0;
while (v3 < _parent._parent.itemReqOk.length) {
v7 = _parent._parent.itemReqOk[v3];
if (v3 == 0) {
v4 = 'left01_mc';
} else {
if (v3 == 1) {
v4 = 'right01_mc';
} else {
if (v3 == 2) {
v4 = 'left02_mc';
} else {
if (v3 == 3) {
v4 = 'right02_mc';
} else {
if (v3 == 4) {
v4 = 'head_mc';
} else {
if (v3 == 5) {
v4 = 'body_mc';
} else {
if (v3 == 6) {
v4 = 'acc01_mc';
} else {
if (v3 == 7) {
v4 = 'acc02_mc';
} else {
if (v3 == 8) {
v4 = 'acc03_mc';
} else {
if (v3 == 9) {
v4 = 'acc04_mc';
} else {
if (v3 == 10) {
v4 = 'acc05_mc';
}
}
}
}
}
}
}
}
}
}
}
if (v7 != 1) {
this[v4].attachMovie('itemNoEquipable', 'noEq_mc', 10);
} else {
if (this[v4].noEq_mc != undefined) {
this[v4].noEq_mc.removeMovieClip();
}
}
++v3;
}
if (_parent._parent.currentWeapon == 1) {
object_mc.object_mc.setConfig(_parent._parent.pjConfig01);
} else {
object_mc.object_mc.setConfig(_parent._parent.pjConfig02);
}
}
function inicializar() {
var v3 = 0;
var v4 = new String('');
var v5 = new Array();
var v6 = new String('left01_mc,right01_mc,left02_mc,right02_mc,head_mc,body_mc,acc01_mc,acc02_mc,acc03_mc,acc04_mc,acc05_mc');
if (_parent._parent.miscInv[0] > 1000000000) {
gold_txt.text = Math.round(_parent._parent.miscInv[0] / 1000000) + 'M';
} else {
if (_parent._parent.miscInv[0] > 1000000) {
gold_txt.text = Math.round(_parent._parent.miscInv[0] / 1000) + 'K';
} else {
gold_txt.text = _parent._parent.miscInv[0];
}
}
eliminar_mc.fotograma = 8;
switch_mc.fotograma = 9;
lifep_mc.gotoAndStop(1);
manap_mc.gotoAndStop(2);
enchp_mc.gotoAndStop(3);
if (_parent._parent.miscInv[1] < 100) {
lifep_txt.text = _parent._parent.miscInv[1];
} else {
lifep_txt.text = '99+';
}
if (_parent._parent.miscInv[2] < 100) {
manap_txt.text = _parent._parent.miscInv[2];
} else {
manap_txt.text = '99+';
}
v3 = _parent._parent.miscInv[3] + _parent._parent.miscInv[4] + _parent._parent.miscInv[5] + _parent._parent.miscInv[6] + _parent._parent.miscInv[7];
if (v3 < 100) {
enchp_txt.text = v3;
} else {
enchp_txt.text = '99+';
}
enchinfo_mc._visible = false;
areae_mc.onRollOver = function () {
enchinfo_mc._visible = true;
};
areae_mc.onDragOver = function () {
enchinfo_mc._visible = true;
};
areae_mc.onRollOut = function () {
enchinfo_mc._visible = false;
};
areae_mc.onDragOut = function () {
enchinfo_mc._visible = false;
};
eliminar_mc.onRollOver = function () {
mostrarMensaje('drag an item here to remove it from your inventory', 23, 405);
};
eliminar_mc.onDragOver = function () {
mostrarMensaje('drag an item here to remove it from your inventory', 23, 405);
};
eliminar_mc.onRollOut = function () {
ocultarMensaje();
};
eliminar_mc.onDragOut = function () {
ocultarMensaje();
};
areaa1_mc.onRollOver = function () {
mostrarMensaje(texto1, 140, 169);
};
areaa1_mc.onDragOver = function () {
mostrarMensaje(texto1, 140, 169);
};
areaa1_mc.onRollOut = function () {
ocultarMensaje();
};
areaa1_mc.onDragOut = function () {
ocultarMensaje();
};
areaa2_mc.onRollOver = function () {
mostrarMensaje(texto2, 140, 236);
};
areaa2_mc.onDragOver = function () {
mostrarMensaje(texto2, 140, 236);
};
areaa2_mc.onRollOut = function () {
ocultarMensaje();
};
areaa2_mc.onDragOut = function () {
ocultarMensaje();
};
areaa3_mc.onRollOver = function () {
mostrarMensaje(texto3, 140, 318);
};
areaa3_mc.onDragOver = function () {
mostrarMensaje(texto3, 140, 318);
};
areaa3_mc.onRollOut = function () {
ocultarMensaje();
};
areaa3_mc.onDragOut = function () {
ocultarMensaje();
};
areaa4_mc.onRollOver = function () {
mostrarMensaje(texto4, 140, 364);
};
areaa4_mc.onDragOver = function () {
mostrarMensaje(texto4, 140, 364);
};
areaa4_mc.onRollOut = function () {
ocultarMensaje();
};
areaa4_mc.onDragOut = function () {
ocultarMensaje();
};
areaa5_mc.onRollOver = function () {
mostrarMensaje(texto5, 140, 410);
};
areaa5_mc.onDragOver = function () {
mostrarMensaje(texto5, 140, 410);
};
areaa5_mc.onRollOut = function () {
ocultarMensaje();
};
areaa5_mc.onDragOut = function () {
ocultarMensaje();
};
pb_mc.n = _parent._parent.pLevel() * 100;
pb_mc.updatePorc();
name_txt.text = _parent._parent.pjName.toUpperCase();
info_txt.text = 'level ' + _parent._parent.currentXPLevel + ' ' + _parent._parent.pjClass.toLowerCase();
info_txt.text += '\n';
if (_parent._parent.pjGender == 1) {
info_txt.text += 'male ';
} else {
info_txt.text += 'female ';
}
v3 = Number((_parent._parent.pjConfig01.split(','))[0]);
if (v3 == 0) {
info_txt.text += 'human';
} else {
if (v3 == 2) {
info_txt.text += 'elf';
} else {
info_txt.text += 'dwarf';
}
}
info_txt.text += '\nexperience ' + _parent._parent.currentXP + '/' + _parent._parent.experienceLevel(_parent._parent.currentXPLevel);
camiColor_mc.n = Number((_parent._parent.pjConfig01.split(','))[13]);
camiColor_mc.updateColor();
pantColor_mc.n = Number((_parent._parent.pjConfig01.split(','))[12]);
pantColor_mc.updateColor();
button01_mc.texto = 'RETURN TO GAME';
button02_mc.texto = 'CHARACTER';
bg_mc._width = _parent._parent.stageX;
bg_mc._height = _parent._parent.stageY;
bg_mc._y = -_parent._parent.baseY;
bg_mc._x = -_parent._parent.baseX;
if (_parent._parent.pjGender == 1) {
object_mc.gotoAndStop(1);
} else {
object_mc.gotoAndStop(2);
}
object_mc._visible = false;
icondrag_mc._visible = false;
icondrag_mc.fotograma = 1;
icondrag_mc.actualizar();
icondrag_mc.onRelease = function () {
sorting_mc.contraer();
_parent._parent.sonido_mc.playFX('MOVEITEM');
moverItem();
};
v5 = v6.split(',');
v3 = 0;
while (v3 < v5.length) {
this[v5[v3]].onPress = function () {
sorting_mc.contraer();
_parent._parent.sonido_mc.playFX('MOVEITEM');
arrastrarItem(this._name);
};
this[v5[v3]].onRollOver = function () {
overItemE(this._name);
};
this[v5[v3]].onDragOver = function () {
overItemE(this._name);
};
this[v5[v3]].onRollOut = function () {
hideItem();
};
this[v5[v3]].onDragOut = function () {
hideItem();
};
++v3;
}
v3 = 1;
while (v3 < 51) {
inventoryReq[v3 - 1] = 1;
if (v3 < 10) {
v4 = 'inv0' + v3 + '_mc';
} else {
v4 = 'inv' + v3 + '_mc';
}
this[v4].onPress = function () {
sorting_mc.contraer();
_parent._parent.sonido_mc.playFX('MOVEITEM');
arrastrarItem(this._name);
};
this[v4].onRollOver = function () {
overItemI(this._name);
};
this[v4].onDragOver = function () {
overItemI(this._name);
};
this[v4].onRollOut = function () {
hideItem();
};
this[v4].onDragOut = function () {
hideItem();
};
++v3;
}
}
function checkItemReq() {
var v4 = new Array();
var v5 = new Array();
var v8 = new String();
var v10 = 0;
var v7 = 0;
var v3 = 0;
var v2 = 0;
var v9 = 20;
var v11 = '';
var v6 = 1;
v4 = _parent._parent.itemInv.split(';');
v11 = v4[0];
v4[0] = '';
_parent._parent.itemInv = v4.join(';');
v3 = 0;
while (v3 < _parent._parent.itemReqOk.length) {
_parent._parent.itemReqOk[v3] = 1;
++v3;
}
v5 = _parent._parent.itemEqu.split(';');
for (;;) {
if (!(v6 == 1 && v9 > 0)) break;
v6 = 0;
--v9;
v2 = 0;
while (v2 < 6) {
if (v5[v2] != '' && _parent._parent.itemReqOk[v2] != 0) {
if (!requisitosConItemOk(v5.join(';'), v5[v2], v2)) {
_parent._parent.itemReqOk[v2] = 0;
v6 = 1;
break;
}
}
++v2;
}
}
v4 = _parent._parent.itemInv.split(';');
v4[0] = v11;
_parent._parent.itemInv = v4.join(';');
_parent._parent.actualizarAbilitiesVars();
actualizarAbilitiesScreen();
v4 = _parent._parent.totalAbilities.split(',');
v10 = v4[0];
v5 = _parent._parent.itemInv.split(';');
v3 = 0;
while (v3 < v5.length) {
v8 = _parent._parent.getItemReqs(v5[v3]);
v7 = 0;
if (v8 != '') {
v4 = v8.split(' ');
v2 = 0;
while (v2 < v4.length) {
if (isNaN(Number(v4[v2]))) {
} else {
v7 = Number(v4[v2]);
break;
}
++v2;
}
}
if (v10 >= v7) {
inventoryReq[v3] = 1;
} else {
inventoryReq[v3] = 0;
}
++v3;
}
}
function initProperSlots() {
var v2 = 0;
var v3 = new Array();
v3 = 'left01_mc,right01_mc,left02_mc,right02_mc,head_mc,body_mc,acc01_mc,acc02_mc,acc03_mc,acc04_mc,acc05_mc'.split(',');
v2 = 0;
while (v2 < v3.length) {
this[v3[v2]].attachMovie('properSlotMC', 'prop_mc', 20);
this[v3[v2]].prop_mc._visible = false;
++v2;
}
}
function showProperSlots() {
var v4 = '';
var v2 = 0;
var v3 = new Array();
v3 = 'left01_mc,right01_mc,left02_mc,right02_mc,head_mc,body_mc,acc01_mc,acc02_mc,acc03_mc,acc04_mc,acc05_mc'.split(',');
if (itemDrag != '') {
v4 = (itemDrag.split(','))[4];
if (v4 == 'Armor') {
body_mc.prop_mc._visible = true;
} else {
if (v4 == 'Helm') {
head_mc.prop_mc._visible = true;
} else {
if (v4 == 'Shield') {
left01_mc.prop_mc._visible = true;
left02_mc.prop_mc._visible = true;
} else {
if (v4 == 'Accessory') {
v2 = 6;
while (v2 < v3.length) {
this[v3[v2]].prop_mc._visible = true;
++v2;
}
} else {
if (v4 == 'Bow' || v4 == 'Staff' || v4 == 'Sword-2H' || v4 == 'Axe-2H' || v4 == 'Hammer-2H') {
right01_mc.prop_mc._visible = true;
right02_mc.prop_mc._visible = true;
} else {
right01_mc.prop_mc._visible = true;
right02_mc.prop_mc._visible = true;
left01_mc.prop_mc._visible = true;
left02_mc.prop_mc._visible = true;
}
}
}
}
}
} else {
v2 = 0;
while (v2 < v3.length) {
this[v3[v2]].prop_mc._visible = false;
++v2;
}
}
}
function arrastrarItem(instancia) {
var v5 = new String('left01_mc,right01_mc,left02_mc,right02_mc,head_mc,body_mc,acc01_mc,acc02_mc,acc03_mc,acc04_mc,acc05_mc');
var v4 = new Array();
var v3 = 0;
insDrag = instancia;
if (v5.indexOf(insDrag) != -1) {
v4 = (String(_parent._parent.itemEqu)).split(';');
if (insDrag == 'left01_mc') {
v3 = 0;
} else {
if (insDrag == 'right01_mc') {
v3 = 1;
} else {
if (insDrag == 'left02_mc') {
v3 = 2;
} else {
if (insDrag == 'right02_mc') {
v3 = 3;
} else {
if (insDrag == 'head_mc') {
v3 = 4;
} else {
if (insDrag == 'body_mc') {
v3 = 5;
} else {
if (insDrag == 'acc01_mc') {
v3 = 6;
} else {
if (insDrag == 'acc02_mc') {
v3 = 7;
} else {
if (insDrag == 'acc03_mc') {
v3 = 8;
} else {
if (insDrag == 'acc04_mc') {
v3 = 9;
} else {
if (insDrag == 'acc05_mc') {
v3 = 10;
}
}
}
}
}
}
}
}
}
}
}
itemDrag = v4[v3];
} else {
if (insDrag.charAt(0) == 'i' && insDrag.charAt(1) == 'n' && insDrag.charAt(2) == 'v') {
lastDrag = insDrag;
lastDragTimer = getTimer();
v4 = (String(_parent._parent.itemInv)).split(';');
itemDrag = v4[Number(((instancia.split('inv'))[1].split('_'))[0]) - 1];
}
}
if (itemDrag != '') {
this[insDrag].icon_mc._visible = false;
this[insDrag].bg_mc._visible = false;
icondrag_mc._visible = true;
setIcono(itemDrag, 'icondrag_mc');
icondrag_mc._x = _xmouse - 14;
icondrag_mc._y = _ymouse - 14;
showProperSlots();
} else {
insDrag = '';
}
}
function moverItem() {
var v4 = 0;
var v6 = new Array();
var v12 = new Array();
var v3 = new String('');
var v8 = '';
var v11 = false;
var v9 = new String('');
var v5 = new String('');
var v10 = new String('');
var v7 = new String('');
var v13 = new String('left01_mc,right01_mc,left02_mc,right02_mc,head_mc,body_mc,acc01_mc,acc02_mc,acc03_mc,acc04_mc,acc05_mc');
if (v13.indexOf(insDrag) != -1) {
v10 = 'equipo';
} else {
if (insDrag.charAt(0) == 'i' && insDrag.charAt(1) == 'n' && insDrag.charAt(2) == 'v') {
v10 = 'inventario';
}
}
v9 = insDrag;
v4 = 1;
while (v4 < 51) {
if (v4 < 10) {
v3 = 'inv0' + v4 + '_mc';
} else {
v3 = 'inv' + v4 + '_mc';
}
if (_xmouse >= this[v3]._x && _ymouse >= this[v3]._y && _xmouse <= this[v3]._x + this[v3]._width && _ymouse <= this[v3]._y + this[v3]._height) {
v5 = v3;
v7 = 'inventario';
break;
}
++v4;
}
if (v7 == '') {
v3 = 'eliminar_mc';
if (_xmouse >= this[v3]._x && _ymouse >= this[v3]._y && _xmouse <= this[v3]._x + this[v3]._width && _ymouse <= this[v3]._y + this[v3]._height) {
v5 = v3;
v7 = 'eliminar';
}
}
if (v7 == '') {
v6 = v13.split(',');
v4 = 0;
while (v4 < v6.length) {
v3 = v6[v4];
if (_xmouse >= this[v3]._x && _ymouse >= this[v3]._y && _xmouse <= this[v3]._x + this[v3]._width && _ymouse <= this[v3]._y + this[v3]._height) {
v5 = v3;
v7 = 'equipo';
break;
}
++v4;
}
}
if (v5 == lastDrag) {
if (getTimer() - lastDragTimer < 300) {
v8 = ((_parent._parent.itemInv.split(';'))[Number(((v5.split('inv'))[1].split('_'))[0]) - 1].split(','))[4];
if (v8 == 'Armor') {
v5 = 'body_mc';
} else {
if (v8 == 'Helm') {
v5 = 'head_mc';
} else {
if (v8 == 'Shield') {
if (_parent._parent.currentWeapon == 1) {
v5 = 'left01_mc';
} else {
v5 = 'left02_mc';
}
} else {
if (v8 == 'Accessory') {
v5 = 'acc05_mc';
v5 = getCheapestAcc();
if (acc01_mc.fotograma == 1) {
v5 = 'acc01_mc';
} else {
if (acc02_mc.fotograma == 1) {
v5 = 'acc02_mc';
} else {
if (acc03_mc.fotograma == 1) {
v5 = 'acc03_mc';
} else {
if (acc04_mc.fotograma == 1) {
v5 = 'acc04_mc';
} else {
if (acc05_mc.fotograma == 1) {
v5 = 'acc05_mc';
}
}
}
}
}
} else {
if (v8 == 'Bow' || v8 == 'Staff' || v8 == 'Sword-2H' || v8 == 'Axe-2H' || v8 == 'Hammer-2H') {
if (_parent._parent.currentWeapon == 1) {
v5 = 'right01_mc';
} else {
v5 = 'right02_mc';
}
} else {
if (_parent._parent.currentWeapon == 1) {
v5 = 'left01_mc';
} else {
v5 = 'left02_mc';
}
if (_parent._parent.currentWeapon == 1) {
v8 = ((_parent._parent.itemEqu.split(';'))[0].split(','))[4];
} else {
v8 = ((_parent._parent.itemEqu.split(';'))[2].split(','))[4];
}
if (v8 == 'Shield') {
if (_parent._parent.currentWeapon == 1) {
v5 = 'right01_mc';
} else {
v5 = 'right02_mc';
}
}
if (_parent._parent.currentWeapon == 1) {
v8 = ((_parent._parent.itemEqu.split(';'))[1].split(','))[4];
} else {
v8 = ((_parent._parent.itemEqu.split(';'))[3].split(','))[4];
}
if (v8 == 'Bow' || v8 == 'Staff' || v8 == 'Sword-2H' || v8 == 'Axe-2H' || v8 == 'Hammer-2H') {
if (_parent._parent.currentWeapon == 1) {
v5 = 'right01_mc';
} else {
v5 = 'right02_mc';
}
}
}
}
}
}
}
v7 = 'equipo';
}
}
lastDrag = '';
v11 = false;
if (v10 == 'inventario' && v7 == 'inventario') {
v11 = true;
} else {
if (v10 == 'equipo' && v7 == 'inventario') {
v11 = true;
} else {
if (v10 == 'inventario' && v7 == 'equipo') {
v11 = true;
} else {
if (v10 == 'equipo' && v7 == 'equipo') {
v11 = true;
} else {
if (v10 == 'inventario' && v7 == 'eliminar') {
v11 = true;
} else {
if (v10 == 'equipo' && v7 == 'eliminar') {
v11 = true;
}
}
}
}
}
}
if (v7 == 'equipo' && (v5 == 'left01_mc' || v5 == 'left02_mc')) {
v6 = itemDrag.split(',');
if (v6[4] == 'Bow' || v6[4] == 'Staff' || v6[4] == 'Sword-2H' || v6[4] == 'Axe-2H' || v6[4] == 'Hammer-2H') {
if (v5 == 'left01_mc' && v9 != 'right01_mc') {
v5 = 'right01_mc';
}
if (v5 == 'left02_mc' && v9 != 'right02_mc') {
v5 = 'right02_mc';
}
}
}
if (v10 == 'equipo' && v7 == 'equipo') {
v6 = _parent._parent.itemEqu.split(';');
if (v5 == 'left01_mc') {
v4 = 0;
} else {
if (v5 == 'right01_mc') {
v4 = 1;
} else {
if (v5 == 'left02_mc') {
v4 = 2;
} else {
if (v5 == 'right02_mc') {
v4 = 3;
} else {
if (v5 == 'head_mc') {
v4 = 4;
} else {
if (v5 == 'body_mc') {
v4 = 5;
} else {
if (v5 == 'acc01_mc') {
v4 = 6;
} else {
if (v5 == 'acc02_mc') {
v4 = 7;
} else {
if (v5 == 'acc03_mc') {
v4 = 8;
} else {
if (v5 == 'acc04_mc') {
v4 = 9;
} else {
if (v5 == 'acc05_mc') {
v4 = 10;
}
}
}
}
}
}
}
}
}
}
}
if (!slotItemOk(v5, (itemDrag.split(','))[4])) {
v11 = false;
}
if (!slotItemOk(insDrag, (v6[v4].split(','))[4])) {
v11 = false;
}
}
if (v10 == 'equipo' && v7 == 'inventario') {
v6 = _parent._parent.itemInv.split(';');
v4 = Number(((v5.split('inv'))[1].split('_'))[0]) - 1;
if (!slotItemOk(insDrag, (v6[v4].split(','))[4])) {
v11 = false;
}
}
if (v10 == 'inventario' && v7 == 'equipo') {
if (!slotItemOk(v5, (itemDrag.split(','))[4])) {
v11 = false;
}
}
if (v11) {
if (v7 == 'inventario') {
v6 = _parent._parent.itemInv.split(';');
v4 = Number(((v5.split('inv'))[1].split('_'))[0]) - 1;
v3 = v6[v4];
v6[v4] = itemDrag;
if (v10 == 'equipo') {
v12 = _parent._parent.itemEqu.split(';');
if (insDrag == 'left01_mc') {
v4 = 0;
} else {
if (insDrag == 'right01_mc') {
v4 = 1;
} else {
if (insDrag == 'left02_mc') {
v4 = 2;
} else {
if (insDrag == 'right02_mc') {
v4 = 3;
} else {
if (insDrag == 'head_mc') {
v4 = 4;
} else {
if (insDrag == 'body_mc') {
v4 = 5;
} else {
if (insDrag == 'acc01_mc') {
v4 = 6;
} else {
if (insDrag == 'acc02_mc') {
v4 = 7;
} else {
if (insDrag == 'acc03_mc') {
v4 = 8;
} else {
if (insDrag == 'acc04_mc') {
v4 = 9;
} else {
if (insDrag == 'acc05_mc') {
v4 = 10;
}
}
}
}
}
}
}
}
}
}
}
v12[v4] = v3;
if (requisitosConItemOk(v12.join(';'), v3, v4)) {
_parent._parent.itemInv = v6.join(';');
} else {
v3 = itemDrag;
}
} else {
_parent._parent.itemInv = v6.join(';');
}
} else {
if (v7 == 'equipo') {
v6 = _parent._parent.itemEqu.split(';');
if (v5 == 'left01_mc') {
v4 = 0;
} else {
if (v5 == 'right01_mc') {
v4 = 1;
} else {
if (v5 == 'left02_mc') {
v4 = 2;
} else {
if (v5 == 'right02_mc') {
v4 = 3;
} else {
if (v5 == 'head_mc') {
v4 = 4;
} else {
if (v5 == 'body_mc') {
v4 = 5;
} else {
if (v5 == 'acc01_mc') {
v4 = 6;
} else {
if (v5 == 'acc02_mc') {
v4 = 7;
} else {
if (v5 == 'acc03_mc') {
v4 = 8;
} else {
if (v5 == 'acc04_mc') {
v4 = 9;
} else {
if (v5 == 'acc05_mc') {
v4 = 10;
}
}
}
}
}
}
}
}
}
}
}
v3 = v6[v4];
v6[v4] = itemDrag;
if (requisitosConItemOk(v6.join(';'), itemDrag, v4)) {
_parent._parent.itemEqu = v6.join(';');
} else {
v3 = itemDrag;
}
} else {
if (v7 == 'eliminar') {
v3 = '';
}
}
}
if (v10 == 'inventario') {
v6 = _parent._parent.itemInv.split(';');
v4 = Number(((v9.split('inv'))[1].split('_'))[0]) - 1;
v6[v4] = v3;
_parent._parent.itemInv = v6.join(';');
} else {
if (v10 == 'equipo') {
v6 = (String(_parent._parent.itemEqu)).split(';');
if (v9 == 'left01_mc') {
v4 = 0;
} else {
if (v9 == 'right01_mc') {
v4 = 1;
} else {
if (v9 == 'left02_mc') {
v4 = 2;
} else {
if (v9 == 'right02_mc') {
v4 = 3;
} else {
if (v9 == 'head_mc') {
v4 = 4;
} else {
if (v9 == 'body_mc') {
v4 = 5;
} else {
if (v9 == 'acc01_mc') {
v4 = 6;
} else {
if (v9 == 'acc02_mc') {
v4 = 7;
} else {
if (v9 == 'acc03_mc') {
v4 = 8;
} else {
if (v9 == 'acc04_mc') {
v4 = 9;
} else {
if (v9 == 'acc05_mc') {
v4 = 10;
}
}
}
}
}
}
}
}
}
}
}
v6[v4] = v3;
_parent._parent.itemEqu = v6.join(';');
}
}
}
this[insDrag].icon_mc._visible = true;
this[insDrag].bg_mc._visible = true;
icondrag_mc.stopDrag();
icondrag_mc._visible = false;
armaDosManosVaciaSlot();
armaUnaManoCambiaSlot();
_parent._parent.actualizarAbilitiesVars();
actualizarAbilitiesScreen();
actualizar();
itemDrag = '';
insDrag = '';
showProperSlots();
}
function armaUnaManoCambiaSlot() {
var v2 = new Array();
var v3 = new Array();
var v4 = 0;
v2 = _parent._parent.itemEqu.split(';');
if (v2[0] != '') {
v3 = v2[0].split(',');
if ((v3[4] == 'Sword-1H' || v3[4] == 'Axe-1H' || v3[4] == 'Hammer-1H') && v2[1] == '') {
v2[1] = v2[0];
v2[0] = '';
_parent._parent.itemEqu = v2.join(';');
}
}
if (v2[2] != '') {
v3 = v2[2].split(',');
if ((v3[4] == 'Sword-1H' || v3[4] == 'Axe-1H' || v3[4] == 'Hammer-1H') && v2[3] == '') {
v2[3] = v2[2];
v2[2] = '';
_parent._parent.itemEqu = v2.join(';');
}
}
}
function armaDosManosVaciaSlot() {
var v4 = new Array();
var v2 = new Array();
var v3 = 0;
v4 = _parent._parent.itemEqu.split(';');
if (v4[1] != '') {
v2 = v4[1].split(',');
if (v2[4] == 'Staff' || v2[4] == 'Bow' || v2[4] == 'Sword-2H' || v2[4] == 'Axe-2H' || v2[4] == 'Hammer-2H') {
if (v4[0] != '') {
v2 = _parent._parent.itemInv.split(';');
v3 = 0;
while (v3 < v2.length) {
if (v2[v3] == '') {
v2[v3] = v4[0];
v4[0] = '';
_parent._parent.itemInv = v2.join(';');
_parent._parent.itemEqu = v4.join(';');
break;
}
++v3;
}
}
}
}
if (v4[3] != '') {
v2 = v4[3].split(',');
if (v2[4] == 'Staff' || v2[4] == 'Bow' || v2[4] == 'Sword-2H' || v2[4] == 'Axe-2H' || v2[4] == 'Hammer-2H') {
if (v4[2] != '') {
v2 = _parent._parent.itemInv.split(';');
v3 = 0;
while (v3 < v2.length) {
if (v2[v3] == '') {
v2[v3] = v4[2];
v4[2] = '';
_parent._parent.itemInv = v2.join(';');
_parent._parent.itemEqu = v4.join(';');
break;
}
++v3;
}
}
}
}
}
function slotItemOk(slot, itemType) {
var v3 = true;
if (itemType == 'Armor' && slot != 'body_mc') {
v3 = false;
}
if (itemType == 'Helm' && slot != 'head_mc') {
v3 = false;
}
if (itemType == 'Shield') {
if (slot != 'left01_mc' && slot != 'left02_mc') {
v3 = false;
}
}
if (itemType == 'Bow' || itemType == 'Staff' || itemType == 'Sword-2H' || itemType == 'Axe-2H' || itemType == 'Hammer-2H') {
if (slot != 'right01_mc' && slot != 'right02_mc') {
v3 = false;
}
}
if (itemType == 'Sword-1H' || itemType == 'Axe-1H' || itemType == 'Hammer-1H') {
if (slot != 'right01_mc' && slot != 'right02_mc' && slot != 'left01_mc' && slot != 'left02_mc') {
v3 = false;
}
}
if (itemType == 'Accessory') {
if (slot != 'acc01_mc' && slot != 'acc02_mc' && slot != 'acc03_mc' && slot != 'acc04_mc' && slot != 'acc05_mc') {
v3 = false;
}
}
return v3;
}
function requisitosConItemOk(s, s2, n) {
var v6 = true;
var v3 = new Array();
var v4 = new Array();
var v9 = new String();
var v7 = 0;
var v11 = 0;
var v2 = 0;
var v5 = 0;
v6 = true;
v9 = _parent._parent.getItemReqs(s2);
if (v9 != '') {
v3 = v9.split(' ');
v2 = 0;
while (v2 < v3.length) {
if (isNaN(Number(v3[v2]))) {
} else {
v7 = Number(v3[v2]);
break;
}
++v2;
}
}
v3 = s.split(';');
if (n == 2 || n == 3) {
v3.splice(0, 2);
v4 = s2.split(',');
if (v4[4] == 'Staff' || v4[4] == 'Bow' || v4[4] == 'Sword-2H' || v4[4] == 'Axe-2H' || v4[4] == 'Hammer-2H') {
v3.splice(0, 1);
}
} else {
if (n == 0 || n == 1) {
v3.splice(2, 2);
v4 = s2.split(',');
if (v4[4] == 'Staff' || v4[4] == 'Bow' || v4[4] == 'Sword-2H' || v4[4] == 'Axe-2H' || v4[4] == 'Hammer-2H') {
v3.splice(0, 1);
}
} else {
if (_parent._parent.currentWeapon == 1) {
v3.splice(2, 2);
} else {
v3.splice(0, 2);
}
}
}
v2 = 0;
while (v2 < 6) {
if (_parent._parent.itemReqOk[v2] == 0) {
v5 = 0;
while (v5 < v3.length) {
if (v3[v2] == _parent._parent.itemEqu[v2]) {
v3.splice(v2, 1);
break;
}
++v5;
}
}
++v2;
}
v11 = Number(_parent._parent.sumaItems(v3.join(';'), 0)) + Number((_parent._parent.baseAbilities.split(','))[0]);
if (v7 > v11) {
v6 = false;
return v6;
}
v3 = s2.split(',');
if (v3[4] == 'Staff' || v3[4] == 'Bow' || v3[4] == 'Sword-2H' || v3[4] == 'Axe-2H' || v3[4] == 'Hammer-2H') {
if (n == 1) {
v3 = _parent._parent.itemEqu.split(';');
if (v3[0] != '') {
v4 = _parent._parent.itemInv.split(';');
v6 = false;
v2 = 0;
while (v2 < v4.length) {
if (v4[v2] == '') {
v6 = true;
break;
}
++v2;
}
if (v3[1] == '') {
v6 = true;
}
}
}
if (n == 3) {
v3 = _parent._parent.itemEqu.split(';');
if (v3[2] != '') {
v4 = _parent._parent.itemInv.split(';');
v6 = false;
v2 = 0;
while (v2 < v4.length) {
if (v4[v2] == '') {
v6 = true;
break;
}
++v2;
}
if (v3[3] == '') {
v6 = true;
}
}
}
}
return v6;
}
function actualizarAbilitiesScreen(s) {
var v2 = new Array();
var v4 = new Array();
var v6 = new Array();
var v3 = 14;
var v9 = _parent._parent.cPower;
var v8 = 0;
var v7 = 0;
var v5 = 0;
if (_parent._parent.cPower == 0 || _parent._parent.cPower > 39 && _parent._parent.cPower < 49) {
if (_parent._parent.checkRanged(_parent._parent.currentWeapon)) {
v3 = 15;
} else {
v3 = 14;
}
} else {
if (_parent._parent.cPower == 1 || _parent._parent.cPower > 49 && _parent._parent.cPower < 59) {
if (_parent._parent.checkRanged(_parent._parent.currentWeapon)) {
v3 = 15;
} else {
v3 = 14;
}
} else {
if (_parent._parent.cPower > 19 && _parent._parent.cPower < 23 || _parent._parent.cPower > 31 && _parent._parent.cPower < 35) {
v3 = 16;
} else {
if (_parent._parent.checkRanged(_parent._parent.currentWeapon)) {
v3 = 15;
v9 = 1;
} else {
v3 = 14;
v9 = 0;
}
}
}
}
powername_txt.text = _parent._parent.powerTable[v9].Name.toLowerCase();
switch (_parent._parent.cPower) {
case 43:
if (v3 == 14) {
v5 = _parent._parent.getMaxPowerEffect(43, _parent._parent.basePowers[43] + Number((_parent._parent.totalAbilities.split(','))[11]), 0) / 100;
}
break;
case 44:
if (v3 == 14) {
v5 = _parent._parent.getMaxPowerEffect(44, _parent._parent.basePowers[44] + Number((_parent._parent.totalAbilities.split(','))[11]), 0) / 100;
}
break;
case 45:
if (v3 == 14) {
v5 = _parent._parent.getMaxPowerEffect(45, _parent._parent.basePowers[45] + Number((_parent._parent.totalAbilities.split(','))[11]), 0) / 100;
}
break;
case 53:
if (v3 == 15) {
v5 = _parent._parent.getArcherPowerEffectB(53, _parent._parent.basePowers[53] + Number((_parent._parent.totalAbilities.split(','))[11]), 0) / 100;
}
break;
case 54:
if (v3 == 15) {
v5 = _parent._parent.getMaxPowerEffect(54, _parent._parent.basePowers[54] + Number((_parent._parent.totalAbilities.split(','))[11]), 0) / 100;
}
break;
case 55:
if (v3 == 15) {
v5 = _parent._parent.getArcherPowerEffectB(55, _parent._parent.basePowers[55] + Number((_parent._parent.totalAbilities.split(','))[11]), 0) / 100;
}
}
if (v5 > 0) {
if (_parent._parent.currentWeapon == 1) {
v4 = _parent._parent.itemAbilities1.split(',');
} else {
v4 = _parent._parent.itemAbilities2.split(',');
}
if (v4[v3] != undefined && v4[v3] != 0) {
v6 = v4[v3].split('-');
v8 = Math.round(Number(v6[0]) * v5);
v7 = Math.round(Number(v6[1]) * v5);
}
}
v2 = _parent._parent.totalAbilities.split(',');
vig2_txt.text = v2[0];
dex2_txt.text = v2[1];
spi2_txt.text = v2[2];
att2_txt.text = v2[7];
mag2_txt.text = v2[8];
def2_txt.text = v2[9];
res2_txt.text = v2[10];
pre2_txt.text = v2[5];
eva2_txt.text = v2[6];
if (v7 > 0 || v8 > 0) {
v6 = v2[v3].split('-');
v8 += Number(v6[0]);
v7 += Number(v6[1]);
dam2_txt.text = v8 + '-' + v7;
} else {
dam2_txt.text = v2[v3];
}
hp2_txt.text = Math.round(_parent._parent.engine_mc.objectHP[0]) + '/' + v2[3];
mp2_txt.text = Math.round(_parent._parent.engine_mc.currentMana) + '/' + v2[4];
if (_parent._parent.currentWeapon == 1) {
v2 = _parent._parent.itemAbilities1.split(',');
} else {
v2 = _parent._parent.itemAbilities2.split(',');
}
if (Number(v2[0]) != 0) {
vig2_txt.textColor = 10056546;
} else {
vig2_txt.textColor = 12040634;
}
if (Number(v2[1]) != 0) {
dex2_txt.textColor = 10056546;
} else {
dex2_txt.textColor = 12040634;
}
if (Number(v2[2]) != 0) {
spi2_txt.textColor = 10056546;
} else {
spi2_txt.textColor = 12040634;
}
if (Number(v2[3]) != 0 || Number(v2[0]) != 0) {
hp2_txt.textColor = 10056546;
} else {
hp2_txt.textColor = 12040634;
}
if (Number(v2[4]) != 0 || Number(v2[2]) != 0) {
mp2_txt.textColor = 10056546;
} else {
mp2_txt.textColor = 12040634;
}
if (Number(v2[5]) != 0 || Number(v2[1]) != 0) {
pre2_txt.textColor = 10056546;
} else {
pre2_txt.textColor = 12040634;
}
if (Number(v2[6]) != 0 || Number(v2[1]) != 0) {
eva2_txt.textColor = 10056546;
} else {
eva2_txt.textColor = 12040634;
}
if (Number(v2[7]) != 0 || Number(v2[1]) != 0 || Number(v2[0]) != 0) {
att2_txt.textColor = 10056546;
} else {
att2_txt.textColor = 12040634;
}
if (Number(v2[8]) != 0 || Number(v2[2]) != 0) {
mag2_txt.textColor = 10056546;
} else {
mag2_txt.textColor = 12040634;
}
if (Number(v2[9]) != 0) {
def2_txt.textColor = 10056546;
} else {
def2_txt.textColor = 12040634;
}
if (Number(v2[10]) != 0) {
res2_txt.textColor = 10056546;
} else {
res2_txt.textColor = 12040634;
}
if (Number(v2[v3]) != 0 && v2[v3] != '0-0') {
dam2_txt.textColor = 10056546;
} else {
dam2_txt.textColor = 12040634;
}
v2 = _parent._parent.totalAbilities.split(',');
if (_parent._parent.currentWeapon == 1) {
v4 = _parent._parent.totalAbilities.split(',');
} else {
v4 = _parent._parent.totalAbilities.split(',');
}
if (v2[0] != v4[0]) {
vig2_txt.textColor = 10056546;
}
if (v2[1] != v4[1]) {
dex2_txt.textColor = 10056546;
}
if (v2[2] != v4[2]) {
spi2_txt.textColor = 10056546;
}
if (v2[3] != v4[3]) {
hp2_txt.textColor = 10056546;
}
if (v2[4] != v4[4]) {
mp2_txt.textColor = 10056546;
}
if (v2[5] != v4[5]) {
pre2_txt.textColor = 10056546;
}
if (v2[6] != v4[6]) {
eva2_txt.textColor = 10056546;
}
if (v2[7] != v4[7]) {
att2_txt.textColor = 10056546;
}
if (v2[8] != v4[8]) {
mag2_txt.textColor = 10056546;
}
if (v2[9] != v4[9]) {
def2_txt.textColor = 10056546;
}
if (v2[10] != v4[10]) {
res2_txt.textColor = 10056546;
}
if (v2[v3] != v4[v3]) {
dam2_txt.textColor = 10056546;
}
}
function accionBoton(etiqueta) {
_parent._parent.sonido_mc.playFX('BOTON');
_parent._parent.fadeOutScreen();
switch (etiqueta) {
case 'button01_mc':
_parent.seleccionarPoder('icon0' + _parent._parent.initUIIcons[0] + '_mc');
_parent.closeInventory();
break;
case 'button02_mc':
_parent.seleccionarPoder('icon0' + _parent._parent.initUIIcons[0] + '_mc');
_parent.openCharacterScreen();
this.removeMovieClip();
}
}
function overItemE(ori) {
var v7 = new Array();
var v6 = 0;
var v5 = 0;
var v3 = 0;
v6 = this[ori]._x - 1;
v5 = this[ori]._y - 1;
if (ori == 'left01_mc') {
v3 = 0;
} else {
if (ori == 'right01_mc') {
v3 = 1;
} else {
if (ori == 'left02_mc') {
v3 = 2;
} else {
if (ori == 'right02_mc') {
v3 = 3;
} else {
if (ori == 'head_mc') {
v3 = 4;
} else {
if (ori == 'body_mc') {
v3 = 5;
} else {
if (ori == 'acc01_mc') {
v3 = 6;
} else {
if (ori == 'acc02_mc') {
v3 = 7;
} else {
if (ori == 'acc03_mc') {
v3 = 8;
} else {
if (ori == 'acc04_mc') {
v3 = 9;
} else {
if (ori == 'acc05_mc') {
v3 = 10;
}
}
}
}
}
}
}
}
}
}
}
v7 = (String(_parent._parent.itemEqu)).split(';');
j = _parent._parent.itemReqOk[v3];
if (j == 0) {
overItem(v7[v3], v6, v5, 0, 1, 'iteminfo2_mc');
} else {
overItem(v7[v3], v6, v5, 0, 0, 'iteminfo2_mc');
}
}
function getCheapestAcc() {
var v6 = 'acc05_mc';
var v5 = new Array();
var v2 = 6;
var v7 = 10;
var v4 = 0;
var v3 = 0;
v5 = _parent._parent.itemEqu.split(';');
v4 = _parent._parent.getItemValue(v5[10]);
while (v2 < v7) {
v3 = _parent._parent.getItemValue(v5[v2]);
if (v3 > 0 && v3 < v4) {
v4 = v3;
v6 = 'acc0' + (v2 - 5) + '_mc';
}
++v2;
}
return v6;
}
function overItemI(ori) {
var v5 = new Array();
var v7 = 0;
var v6 = 0;
var v4 = Number(((ori.split('inv'))[1].split('_'))[0]) - 1;
var v3 = '';
v7 = this[ori]._x - 1;
v6 = this[ori]._y - 1;
v5 = (String(_parent._parent.itemInv)).split(';');
if (inventoryReq[v4] != 1) {
overItem(v5[v4], v7, v6, 0, 1, 'iteminfo_mc');
} else {
overItem(v5[v4], v7, v6, 0, 0, 'iteminfo_mc');
}
if (v5[v4] != '') {
itT = (v5[v4].split(','))[4];
if (itT == 'Armor') {
v3 = 'body_mc';
} else {
if (itT == 'Helm') {
v3 = 'head_mc';
} else {
if (itT == 'Shield') {
if (_parent._parent.currentWeapon == 1) {
v3 = 'left01_mc';
} else {
v3 = 'left02_mc';
}
} else {
if (itT == 'Accessory') {
v3 = 'acc05_mc';
v3 = getCheapestAcc();
if (acc01_mc.fotograma == 1) {
v3 = 'acc01_mc';
} else {
if (acc02_mc.fotograma == 1) {
v3 = 'acc02_mc';
} else {
if (acc03_mc.fotograma == 1) {
v3 = 'acc03_mc';
} else {
if (acc04_mc.fotograma == 1) {
v3 = 'acc04_mc';
} else {
if (acc05_mc.fotograma == 1) {
v3 = 'acc05_mc';
}
}
}
}
}
} else {
if (itT == 'Bow' || itT == 'Staff' || itT == 'Sword-2H' || itT == 'Axe-2H' || itT == 'Hammer-2H') {
if (_parent._parent.currentWeapon == 1) {
v3 = 'right01_mc';
} else {
v3 = 'right02_mc';
}
} else {
if (_parent._parent.currentWeapon == 1) {
v3 = 'left01_mc';
} else {
v3 = 'left02_mc';
}
if (_parent._parent.currentWeapon == 1) {
itT = ((_parent._parent.itemEqu.split(';'))[0].split(','))[4];
} else {
itT = ((_parent._parent.itemEqu.split(';'))[2].split(','))[4];
}
if (itT == 'Shield') {
if (_parent._parent.currentWeapon == 1) {
v3 = 'right01_mc';
} else {
v3 = 'right02_mc';
}
}
if (_parent._parent.currentWeapon == 1) {
itT = ((_parent._parent.itemEqu.split(';'))[1].split(','))[4];
} else {
itT = ((_parent._parent.itemEqu.split(';'))[3].split(','))[4];
}
if (itT == 'Bow' || itT == 'Staff' || itT == 'Sword-2H' || itT == 'Axe-2H' || itT == 'Hammer-2H') {
if (_parent._parent.currentWeapon == 1) {
v3 = 'right01_mc';
} else {
v3 = 'right02_mc';
}
}
}
}
}
}
}
overItemE(v3);
if (iteminfo_mc._x < iteminfo_mc._width / 2) {
iteminfo2_mc._x = iteminfo_mc._width + 125;
} else {
iteminfo2_mc._x = iteminfo_mc._x + iteminfo_mc._width / 2 + 139;
}
iteminfo2_mc._y = iteminfo_mc._y;
iteminfo2_mc.requisitos = 'currently equipped';
iteminfo2_mc.actualizar();
}
}
function setIcono(item, mc) {
var v3 = new Array();
v3 = item.split(',');
if (v3.length > 2) {
this[mc].fotograma = 2;
this[mc].iIcon = Number(v3[6]);
this[mc].iBG = Number(v3[7]);
this[mc].iColor = Number(v3[5]);
this[mc].actualizar();
} else {
if (v3[0] == 'potion') {
if (v3[1] == '1') {
this[mc].fotograma = 3;
} else {
if (v3[1] == '2') {
this[mc].fotograma = 4;
} else {
this[mc].fotograma = 5;
}
}
this[mc].actualizar();
} else {
if (v3[0] == 'gold') {
this[mc].fotograma = 6;
this[mc].actualizar();
} else {
if (auxs[0] == 'quest') {
}
}
}
}
}
function overItem(auxs, desX, desY, align, redreq, itarget) {
var v7 = new Array();
var v6 = new String('');
var v5 = new String('');
var v3 = new String('');
var v4 = new String('');
if (auxs != '' && auxs != undefined && auxs != null) {
v7 = auxs.split(',');
v6 = _parent._parent.getItemName(auxs);
if (v7.length > 2) {
v5 = _parent._parent.getItemReqs(auxs);
v3 = _parent._parent.getItemDescription(auxs);
v4 = _parent._parent.getItemStats(auxs);
} else {
v3 = _parent._parent.getItemDescription(auxs);
}
showItem(v6, v5, v3, v4, desX, desY, align, redreq, itarget);
}
}
function showItem(t1, t2, t3, t4, desX, desY, align, redreq, itarget) {
var v3 = new String('');
if (t4 == '') {
v3 = t3;
} else {
v3 = t3 + '\n' + t4;
}
if (t1 != '' && t1 != undefined && t1 != null) {
attachMovie('itemInfoMC', itarget, this.getNextHighestDepth());
this[itarget].titulo = t1;
this[itarget].descripcion = v3;
this[itarget].requisitos = t2;
this[itarget].alinea = align;
this[itarget].reqRojo = redreq;
this[itarget].actualizar();
this[itarget]._x = desX;
this[itarget]._y = desY;
}
}
function hideItem() {
iteminfo_mc.removeMovieClip();
iteminfo2_mc.removeMovieClip();
}
function updateClothColor() {
var v2 = new Array();
v2 = _parent._parent.pjConfig01.split(',');
v2[12] = pantColor_mc.n;
v2[13] = camiColor_mc.n;
_parent._parent.pjConfig01 = v2.join(',');
v2 = _parent._parent.pjConfig02.split(',');
v2[12] = pantColor_mc.n;
v2[13] = camiColor_mc.n;
_parent._parent.pjConfig02 = v2.join(',');
actualizar();
}
var insDrag = '';
var itemDrag = '';
var lastDrag = '';
var lastDragTimer = getTimer();
var frames = new Array(9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10);
var cFrame = 0;
var inventoryReq = new Array();
var texto1 = '- each vigor point grants you 2 attack and 2 hp.\n- each dexterity point grants you 2 evasion and 2 accuracy.\n- each spirit point grants you 2 magic and 2 mp.';
var texto2 = '- attack: damage modifier when using melee and ranged powers.\n- magic: damage modifier when using spells (black and holy magic powers).\n- defense: your protection against physical attacks.\n- resistance: your protection against magic.';
var texto3 = 'accuracy is an indicator about your chance to hit an enemy and evasion is about your chance to dodge attacks.';
var texto4 = 'the basic damage you are able to deal to enemies';
var texto5 = '- hit points (hp): it is the life of your character.\n- mana points (mp): mana is a resource that you spend when using powers.';
inicializar();
initProperSlots();
showSelectedWeapon();
_parent._parent.actualizarAbilitiesVars();
actualizarAbilitiesScreen();
actualizar();
invhelp_mc._alpha = 0;
switch_mc.onRelease = function () {
sorting_mc.contraer();
_parent.switchWeapons(false);
showSelectedWeapon();
_parent._parent.actualizarAbilitiesVars();
actualizarAbilitiesScreen();
actualizar();
};
onEnterFrame = function () {
if (object_mc.object_mc != undefined) {
if (object_mc.shadow_mc._visible == true) {
object_mc._visible = true;
object_mc.shadow_mc._visible = false;
if (_parent._parent.currentWeapon == 1) {
object_mc.object_mc.setConfig(_parent._parent.pjConfig01);
} else {
object_mc.object_mc.setConfig(_parent._parent.pjConfig02);
}
}
object_mc.object_mc.goTo(frames[cFrame]);
++cFrame;
if (cFrame >= frames.length) {
cFrame = 0;
}
}
if (insDrag != '') {
icondrag_mc._x = _xmouse - 14;
icondrag_mc._y = _ymouse - 14;
}
};
}
}
movieClip 19721 {
}
movieClip 19722 {
}
movieClip 19723 {
}
movieClip 19724 {
}
movieClip 19725 {
}
movieClip 19726 {
}
movieClip 19736 {
frame 1 {
stop();
}
}
movieClip 19737 blacksmithMC {
frame 1 {
function cambiarColorObjeto() {
var v3 = new Array();
var v2 = new Array();
if (_parent._parent.miscInv[0] >= costG) {
v3 = (String(_parent._parent.itemEqu)).split(';');
v2 = v3[itemIndex].split(',');
v2[5] = selectedColor;
v3[itemIndex] = v2.join(',');
_parent._parent.itemEqu = v3.join(';');
if (currentWeaponEdit == 1) {
_parent._parent.pjConfig01 = getPjConfig();
v3 = _parent._parent.pjConfig01.split(',');
v2 = _parent._parent.pjConfig02.split(',');
v2[2] = v3[2];
v2[6] = v3[6];
_parent._parent.pjConfig02 = v2.join(',');
} else {
if (currentWeaponEdit == 2) {
_parent._parent.pjConfig02 = getPjConfig();
v3 = _parent._parent.pjConfig02.split(',');
v2 = _parent._parent.pjConfig01.split(',');
v2[2] = v3[2];
v2[6] = v3[6];
_parent._parent.pjConfig01 = v2.join(',');
}
}
button02_mc._alpha = 50;
_parent._parent.sonido_mc.playFX('ORO');
_parent._parent.miscInv[0] -= costG;
actualizarOro();
}
}
function getPjConfig() {
var v4 = _parent._parent.pjConfig01;
var v2 = new Array();
var v3 = new Array();
if (currentWeaponEdit == 2) {
v4 = _parent._parent.pjConfig02;
}
v2 = v4.split(',');
if (selectedColor != -1) {
if (itemIndex == 0 || itemIndex == 1) {
v3 = (String(_parent._parent.itemEqu)).split(';');
if (itemIndex == 1) {
if ((v3[itemIndex].split(','))[4] == 'Bow') {
v2[10] = selectedColor;
} else {
v2[8] = selectedColor;
}
} else {
v2[10] = selectedColor;
}
}
if (itemIndex == 2 || itemIndex == 3) {
v3 = (String(_parent._parent.itemEqu)).split(';');
if (itemIndex == 3) {
if ((v3[itemIndex].split(','))[4] == 'Bow') {
v2[10] = selectedColor;
} else {
v2[8] = selectedColor;
}
} else {
v2[10] = selectedColor;
}
}
if (itemIndex == 4) {
v2[6] = selectedColor;
}
if (itemIndex == 5) {
v2[2] = selectedColor;
}
}
v4 = v2.join(',');
return v4;
}
function actualizarOro() {
if (_parent._parent.miscInv[0] > 1000000000) {
gold_txt.text = Math.round(_parent._parent.miscInv[0] / 1000000) + 'M';
} else {
if (_parent._parent.miscInv[0] > 1000000) {
gold_txt.text = Math.round(_parent._parent.miscInv[0] / 1000) + 'K';
} else {
gold_txt.text = _parent._parent.miscInv[0];
}
}
}
function actualizar() {
var v6 = new Array('left01_mc', 'right01_mc', 'left02_mc', 'right02_mc', 'head_mc', 'body_mc', 'acc01_mc', 'acc02_mc', 'acc03_mc', 'acc04_mc', 'acc05_mc');
var v3 = 0;
var v8 = 0;
var v4 = '';
var v5 = new Array();
var v7 = new Array();
actualizarOro();
v5 = (String(_parent._parent.itemEqu)).split(';');
v3 = 0;
while (v3 < v5.length) {
if (v5[v3] != '' && v5[v3] != undefined && v5[v3] != null) {
v4 = v5[v3];
if (v6[v3] == equipSelect) {
v7 = v5[v3].split(',');
v7[5] = selectedColor;
v4 = v7.join(',');
}
setIcono(v4, v6[v3]);
} else {
this[v7[v3]].fotograma = 1;
this[v7[v3]].actualizar();
}
++v3;
}
v3 = 0;
while (v3 < _parent._parent.itemReqOk.length) {
v8 = _parent._parent.itemReqOk[v3];
if (v3 == 0) {
des = 'left01_mc';
} else {
if (v3 == 1) {
des = 'right01_mc';
} else {
if (v3 == 2) {
des = 'left02_mc';
} else {
if (v3 == 3) {
des = 'right02_mc';
} else {
if (v3 == 4) {
des = 'head_mc';
} else {
if (v3 == 5) {
des = 'body_mc';
} else {
if (v3 == 6) {
des = 'acc01_mc';
} else {
if (v3 == 7) {
des = 'acc02_mc';
} else {
if (v3 == 8) {
des = 'acc03_mc';
} else {
if (v3 == 9) {
des = 'acc04_mc';
} else {
if (v3 == 10) {
des = 'acc05_mc';
}
}
}
}
}
}
}
}
}
}
}
if (v8 != 1) {
this[des].attachMovie('itemNoEquipable', 'noEq_mc', 10);
} else {
if (this[des].noEq_mc != undefined) {
this[des].noEq_mc.removeMovieClip();
}
}
++v3;
}
v3 = 0;
while (v3 < v6.length) {
if (v6[v3] == equipSelect) {
this[v6[v3]].attachMovie('inventorySelectedWeaponMC', 'select_mc', 15);
} else {
this[v6[v3]].select_mc.removeMovieClip();
}
++v3;
}
v3 = 0;
while (v3 < 10) {
v4 = 'c' + v3 + '_mc';
if (selectedColor == v3) {
this[v4].attachMovie('inventorySelectedWeaponMC', 'select_mc', 15);
this[v4].select_mc._x = 3;
this[v4].select_mc._y = 3;
} else {
this[v4].select_mc.removeMovieClip();
}
++v3;
}
}
function colorBase(s) {
var v1 = Number(s);
if (v1 > 9) {
v1 %= 9;
if (v1 == 0) {
v1 = 9;
}
}
return v1;
}
function seleccionarI(s) {
var v3 = new Array('left01_mc', 'right01_mc', 'left02_mc', 'right02_mc', 'head_mc', 'body_mc', 'acc01_mc', 'acc02_mc', 'acc03_mc', 'acc04_mc', 'acc05_mc');
var v2 = 0;
var v5 = new Array();
v2 = 0;
while (v2 < v3.length) {
if (v3[v2] == s) {
break;
}
++v2;
}
if (v3[v2] == s) {
v5 = (String(_parent._parent.itemEqu)).split(';');
if (v5[v2] != '') {
if (v2 == 2 || v2 == 3) {
if (currentWeaponEdit != 2) {
currentWeaponEdit = 2;
object_mc.shadow_mc._visible = true;
object_mc._visible = false;
}
}
if (v2 == 0 || v2 == 1) {
if (currentWeaponEdit != 1) {
currentWeaponEdit = 1;
object_mc.shadow_mc._visible = true;
object_mc._visible = false;
}
}
selectedColor = colorBase((v5[v2].split(','))[5]);
button02_mc._alpha = 50;
equipSelect = s;
itemIndex = v2;
object_mc.object_mc.setConfig(getPjConfig());
actualizar();
}
}
}
function seleccionarC(s) {
var v2 = new Array();
if (equipSelect != '') {
selectedColor = Number(((s.split('_'))[0].split('c'))[1]);
object_mc.object_mc.setConfig(getPjConfig());
v2 = (String(_parent._parent.itemEqu)).split(';');
if (colorBase((v2[itemIndex].split(','))[5]) != selectedColor) {
button02_mc._alpha = 100;
} else {
button02_mc._alpha = 50;
}
if (_parent._parent.miscInv[0] < costG) {
button02_mc._alpha = 50;
}
actualizar();
}
}
function inicializar() {
var v3 = 0;
var v9 = 0;
var v7 = new String('');
var v4 = new Array();
var v8 = new Array();
var v5 = '';
var v6 = new String('left01_mc,right01_mc,left02_mc,right02_mc,head_mc,body_mc,acc01_mc,acc02_mc,acc03_mc,acc04_mc,acc05_mc');
object_mc._visible = false;
if (_parent._parent.pjGender == 1) {
object_mc.gotoAndStop(1);
} else {
object_mc.gotoAndStop(2);
}
v3 = 0;
while (v3 < 10) {
v5 = 'c' + v3 + '_mc';
this[v5].gotoAndStop(v3 + 1);
this[v5].onRelease = function () {
seleccionarC(this._name);
};
++v3;
}
button01_mc.texto = 'RETURN TO GAME';
button02_mc.texto = 'CHANGE COLOR';
bg_mc._width = _parent._parent.stageX;
bg_mc._height = _parent._parent.stageY;
bg_mc._y = -_parent._parent.baseY;
bg_mc._x = -_parent._parent.baseX;
v4 = v6.split(',');
v3 = 0;
while (v3 < v4.length) {
this[v4[v3]].onPress = function () {
seleccionarI(this._name);
};
this[v4[v3]].onRollOver = function () {
overItemE(this._name);
};
this[v4[v3]].onDragOver = function () {
overItemE(this._name);
};
this[v4[v3]].onRollOut = function () {
hideItem();
};
this[v4[v3]].onDragOut = function () {
hideItem();
};
++v3;
}
}
function accionBoton(etiqueta) {
_parent._parent.sonido_mc.playFX('BOTON');
_parent._parent.fadeOutScreen();
switch (etiqueta) {
case 'button01_mc':
_parent.closeBlacksmith();
break;
case 'button02_mc':
if (button02_mc._alpha == 100) {
cambiarColorObjeto();
}
}
}
function overItemE(ori) {
var v7 = new Array();
var v6 = 0;
var v5 = 0;
var v3 = 0;
v6 = this[ori]._x - 1;
v5 = this[ori]._y - 1;
if (ori == 'left01_mc') {
v3 = 0;
} else {
if (ori == 'right01_mc') {
v3 = 1;
} else {
if (ori == 'left02_mc') {
v3 = 2;
} else {
if (ori == 'right02_mc') {
v3 = 3;
} else {
if (ori == 'head_mc') {
v3 = 4;
} else {
if (ori == 'body_mc') {
v3 = 5;
} else {
if (ori == 'acc01_mc') {
v3 = 6;
} else {
if (ori == 'acc02_mc') {
v3 = 7;
} else {
if (ori == 'acc03_mc') {
v3 = 8;
} else {
if (ori == 'acc04_mc') {
v3 = 9;
} else {
if (ori == 'acc05_mc') {
v3 = 10;
}
}
}
}
}
}
}
}
}
}
}
v7 = (String(_parent._parent.itemEqu)).split(';');
j = _parent._parent.itemReqOk[v3];
if (j == 0) {
overItem(v7[v3], v6, v5, 0, 1, 0);
} else {
overItem(v7[v3], v6, v5, 0, 0, 0);
}
}
function overItem(auxs, desX, desY, align, redreq, v) {
var v7 = new Array();
var v6 = new String('');
var v5 = new String('');
var v3 = new String('');
var v4 = new String('');
if (auxs != '' && auxs != undefined && auxs != null) {
v7 = auxs.split(',');
v6 = _parent._parent.getItemName(auxs);
if (v7.length > 2) {
v5 = _parent._parent.getItemReqs(auxs);
v3 = _parent._parent.getItemDescription(auxs);
v4 = _parent._parent.getItemStats(auxs);
} else {
v3 = _parent._parent.getItemDescription(auxs);
}
showItem(v6, v5, v3, v4, desX, desY, align, redreq, v);
}
}
function showItem(t1, t2, t3, t4, desX, desY, align, redreq, v) {
var v1 = new String('');
if (t4 == '') {
v1 = t3;
} else {
v1 = t3 + '\n' + t4;
}
if (t1 != '' && t1 != undefined && t1 != null) {
attachMovie('itemInfoMC', 'iteminfo_mc', 3);
iteminfo_mc.titulo = t1;
iteminfo_mc.descripcion = v1;
iteminfo_mc.requisitos = t2;
iteminfo_mc.alinea = align;
iteminfo_mc.reqRojo = redreq;
iteminfo_mc.valor = v;
iteminfo_mc.actualizar();
iteminfo_mc._x = desX;
iteminfo_mc._y = desY;
}
}
function setIcono(item, mc) {
var v3 = new Array();
v3 = item.split(',');
if (v3.length > 2) {
this[mc].fotograma = 2;
this[mc].iIcon = Number(v3[6]);
this[mc].iBG = Number(v3[7]);
this[mc].iColor = Number(v3[5]);
this[mc].actualizar();
} else {
if (v3[0] == 'potion') {
if (v3[1] == '1') {
this[mc].fotograma = 3;
} else {
if (v3[1] == '2') {
this[mc].fotograma = 4;
} else {
this[mc].fotograma = 5;
}
}
this[mc].actualizar();
} else {
if (v3[0] == 'gold') {
this[mc].fotograma = 6;
this[mc].actualizar();
} else {
if (auxs[0] == 'quest') {
}
}
}
}
}
function hideItem() {
iteminfo_mc.removeMovieClip();
}
var frames = new Array(9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10);
var cFrame = 0;
var equipSelect = '';
var itemIndex = 0;
var selectedColor = -1;
var costG = 1000;
var currentWeaponEdit = 1;
inicializar();
actualizar();
onEnterFrame = function () {
if (object_mc.object_mc != undefined) {
if (object_mc.shadow_mc._visible == true) {
object_mc._visible = true;
object_mc.shadow_mc._visible = false;
object_mc.object_mc.setConfig(getPjConfig());
}
object_mc.object_mc.goTo(frames[cFrame]);
++cFrame;
if (cFrame >= frames.length) {
cFrame = 0;
}
}
};
}
}
movieClip 19738 {
}
movieClip 19740 {
frame 1 {
onRollOver = function () {
if (_parent.iconoActivo()) {
_parent._parent.engine_mc.overUI = true;
}
};
onDragOver = function () {
if (_parent.iconoActivo()) {
_parent._parent.engine_mc.overUI = true;
}
};
onRollOut = function () {
if (_parent.iconoActivo()) {
_parent._parent.engine_mc.overUI = false;
}
};
onDragOut = function () {
if (_parent.iconoActivo()) {
_parent._parent.engine_mc.overUI = false;
}
};
}
}
movieClip 19834 objectInfoIconMC {
frame 1 {
stop();
}
}
movieClip 19835 {
frame 1 {
function inicializar() {
descripciones[28] = 'Chest';
descripciones[29] = 'Chest';
descripciones[30] = 'Chest';
descripciones[31] = 'Chest';
descripciones[56] = 'Door';
descripciones[57] = 'Door';
descripciones[61] = 'Door';
descripciones[67] = 'Door';
descripciones[71] = 'Door';
descripciones[78] = 'Door';
descripciones[79] = 'Door';
descripciones[146] = 'Door';
descripciones[147] = 'Door';
descripciones[117] = 'Sarcophagus';
iconoD[_parent._parent.npcBD.Spider[12]] = 7;
iconoD[_parent._parent.npcBD.GiantSpider[12]] = 8;
iconoD[_parent._parent.npcBD.Sicarius[12]] = 8;
iconoD[_parent._parent.npcBD.Tarantula[12]] = 9;
iconoD[_parent._parent.npcBD.Queen[12]] = 9;
iconoD[_parent._parent.npcBD.WalkingDead[12]] = 10;
iconoD[_parent._parent.npcBD.Zombie[12]] = 11;
iconoD[_parent._parent.npcBD.RottenFlesh[12]] = 12;
iconoD[_parent._parent.npcBD.HauntedZombie[12]] = 12;
iconoD[_parent._parent.npcBD.ArmoredZombie[12]] = 13;
iconoD[_parent._parent.npcBD.SkeletonMelee[12]] = 14;
iconoD[_parent._parent.npcBD.SkeletonBow[12]] = 14;
iconoD[_parent._parent.npcBD.Damned[12]] = 15;
iconoD[_parent._parent.npcBD.InfernalArcher[12]] = 15;
iconoD[_parent._parent.npcBD.ReturnedVillain[12]] = 16;
iconoD[_parent._parent.npcBD.Thug[12]] = 17;
iconoD[_parent._parent.npcBD.CorruptedPriest[12]] = 19;
iconoD[_parent._parent.npcBD.Villain[12]] = 22;
iconoD[_parent._parent.npcBD.AncientVampire[12]] = 29;
iconoD[_parent._parent.npcBD.Nosferatu[12]] = 30;
iconoD[_parent._parent.npcBD.Golem[12]] = 31;
iconoD[_parent._parent.npcBD.Demon[12]] = 32;
iconoD[_parent._parent.npcBD.PitLord[12]] = 33;
iconoD[_parent._parent.npcBD.Lust[12]] = 33;
iconoD[_parent._parent.npcBD.Envy[12]] = 33;
iconoD[_parent._parent.npcBD.Gluttony[12]] = 33;
iconoD[_parent._parent.npcBD.Sloth[12]] = 33;
iconoD[_parent._parent.npcBD.Greed[12]] = 33;
iconoD[_parent._parent.npcBD.Pride[12]] = 33;
iconoD[_parent._parent.npcBD.Wrath[12]] = 33;
iconoD[_parent._parent.npcBD.Isis[12]] = 35;
iconoD[_parent._parent.npcBD.Edwin[12]] = 36;
iconoD[_parent._parent.npcBD.Thermas[12]] = 37;
iconoD[_parent._parent.npcBD.Zalmerion[12]] = 38;
iconoD[_parent._parent.npcBD.Morgana[12]] = 39;
iconoD[_parent._parent.npcBD.Icaro[12]] = 40;
iconoD[_parent._parent.npcBD.Dartenul[12]] = 41;
iconoD[_parent._parent.npcBD.Atercrin[12]] = 43;
iconoD[_parent._parent.npcBD.Shardenias[12]] = 44;
iconoD[_parent._parent.npcBD.Nya[12]] = 45;
iconoD[_parent._parent.npcBD.Dargolus[12]] = 46;
iconoId.f-18c- = 49;
iconoId.f-28c- = 1;
iconoId.f-29c- = 1;
iconoId.f-30c- = 2;
iconoId.f-31c- = 2;
iconoId.f-56c- = 3;
iconoId.f-57c- = 3;
iconoId.f-61c- = 4;
iconoId.f-67c- = 5;
iconoId.f-71c- = 5;
iconoId.f-78c- = 5;
iconoId.f-79c- = 5;
iconoId.f-146c- = 5;
iconoId.f-147c- = 5;
iconoId.f-117c- = 48;
iconoId.f-173c- = 6;
iconoId.f-174c- = 6;
iconoId['f-' + _parent._parent.npcBD.UrnebbarSwordMan[7] + 'c-' + (_parent._parent.npcBD.UrnebbarSwordMan[8].split(',')).join('-')] = 34;
iconoId['f-' + _parent._parent.npcBD.NeutralGuard[7] + 'c-' + (_parent._parent.npcBD.NeutralGuard[8].split(',')).join('-')] = 42;
iconoId['f-' + _parent._parent.npcBD.Bandit[7] + 'c-' + (_parent._parent.npcBD.Bandit[8].split(',')).join('-')] = 18;
iconoId['f-' + _parent._parent.npcBD.MaleBanditBow[7] + 'c-' + (_parent._parent.npcBD.MaleBanditBow[8].split(',')).join('-')] = 23;
iconoId['f-' + _parent._parent.npcBD.FemaleBanditBow[7] + 'c-' + (_parent._parent.npcBD.FemaleBanditBow[8].split(',')).join('-')] = 24;
iconoId['f-' + _parent._parent.npcBD.MaleBanditChief[7] + 'c-' + (_parent._parent.npcBD.MaleBanditChief[8].split(',')).join('-')] = 20;
iconoId['f-' + _parent._parent.npcBD.FemaleBanditChief[7] + 'c-' + (_parent._parent.npcBD.FemaleBanditChief[8].split(',')).join('-')] = 21;
iconoId['f-' + _parent._parent.npcBD.MaleBanditChiefBow[7] + 'c-' + (_parent._parent.npcBD.MaleBanditChiefBow[8].split(',')).join('-')] = 25;
iconoId['f-' + _parent._parent.npcBD.FemaleBanditChiefBow[7] + 'c-' + (_parent._parent.npcBD.FemaleBanditChiefBow[8].split(',')).join('-')] = 26;
iconoId['f-' + _parent._parent.npcBD.MaleVampire[7] + 'c-' + (_parent._parent.npcBD.MaleVampire[8].split(',')).join('-')] = 27;
iconoId['f-' + _parent._parent.npcBD.FemaleVampire[7] + 'c-' + (_parent._parent.npcBD.FemaleVampire[8].split(',')).join('-')] = 28;
_visible = false;
}
function hideInfo() {
if (_visible) {
_visible = false;
}
}
function setInfo(texto, porc, frame, indiceO) {
var v2 = 47;
if (texto == '' && descripciones[frame] != undefined) {
texto = descripciones[frame];
hp_mc._visible = false;
info_txt._y = 8;
} else {
if (frame < 18) {
hp_mc.setPorc(porc);
hp_mc._visible = true;
info_txt._y = 3;
} else {
hp_mc._visible = false;
if (frame == 173 || frame == 174) {
texto = _parent._parent.engine_mc.objectItems[indiceO];
}
if (texto.length < 20) {
info_txt._y = 8;
} else {
info_txt._y = 2;
}
}
}
if (iconoD[_parent._parent.engine_mc.objectDesc[indiceO]] != undefined) {
v2 = iconoD[_parent._parent.engine_mc.objectDesc[indiceO]];
} else {
if (iconoId[_parent._parent.engine_mc.objectId[indiceO]] != undefined) {
v2 = iconoId[_parent._parent.engine_mc.objectId[indiceO]];
}
}
icon_mc.gotoAndStop(v2);
info_txt.text = texto;
if (!_visible) {
_visible = true;
}
}
var descripciones = new Array();
var iconoD = new Object();
var iconoId = new Object();
inicializar();
}
}
movieClip 19837 {
}
movieClip 19838 {
frame 1 {
function moveMap2(indZ, cX, cY, apjX, apjY) {
var v3 = Math.floor((cX / 12.5) * 0.5) + 20;
var v2 = Math.floor((cY / 12.5) * 0.5) + 20;
var v5 = Math.floor((apjX / 12.5) * 0.5);
var v4 = Math.floor((apjY / 12.5) * 0.5);
var v12 = 0;
var v11 = 0;
var v8 = 20;
var v7 = 20;
var v10 = 77;
var v9 = 77;
var v14 = 0;
var v13 = 0;
if (v3 != pX || v2 != pY || v5 != pjX || v4 != pjY || zona != indZ) {
pX = v3;
pY = v2;
pjX = v5;
pjY = v4;
zona = indZ;
v12 = _parent._parent.engine_mc.miniMap2[indZ].width - 100;
v11 = _parent._parent.engine_mc.miniMap2[indZ].height - 100;
if (_parent._parent.engine_mc.miniMap2[indZ].width < 120) {
v10 = _parent._parent.engine_mc.miniMap2[indZ].width;
copiarPapel2();
if (v10 < 77) {
v14 = Math.round((77 - v10) / 2);
v5 += v3 + v14;
v3 = 0;
} else {
v8 = Math.round((v10 - 77) / 2);
v5 += v3 - v8;
v3 = v8;
v10 = 77;
}
} else {
if (v3 < v8) {
v5 += v3 - v8;
v3 = v8;
} else {
if (v3 > v12) {
v5 += v3 - v12;
v3 = v12;
}
}
}
if (_parent._parent.engine_mc.miniMap2[indZ].height < 120) {
v9 = _parent._parent.engine_mc.miniMap2[indZ].height;
copiarPapel2();
if (v9 < 77) {
v13 = Math.round((77 - v9) / 2);
v4 += v2 + v13;
v2 = 0;
} else {
v7 = Math.round((v9 - 77) / 2);
v4 += v2 - v7;
v2 = v7;
v9 = 77;
}
} else {
if (v2 < v7) {
v4 += v2 - v7;
v2 = v7;
} else {
if (v2 > v11) {
v4 += v2 - v11;
v2 = v11;
}
}
}
mapBitmap.copyPixels(_parent._parent.engine_mc.miniMap2[indZ], new flash.geom.Rectangle(v3, v2, v10, v9), new flash.geom.Point(v14, v13), null, null, false);
dibujarPJ(v5, v4, 4280895663.0);
}
}
function puntoLadoLinea(x1, y1, x2, y2, x3, y3) {
return (x2 - x1) * (y3 - y1) - (y2 - y1) * (x3 - x1);
}
function dibujarPJ(px, py, color) {
var v3 = 0;
if (px < 29) {
if (py > 50) {
if (puntoLadoLinea(px, py, 1, 51, 28, 77) > 0) {
v3 = (py - 63) * 0.8;
px = 15 + v3;
py = 62 + v3;
}
} else {
if (py < 29) {
if (puntoLadoLinea(px, py, 1, 28, 28, 1) < 0) {
v3 = (py - 15) * 0.8;
px = 15 - v3;
py = 15 + v3;
}
}
}
} else {
if (px > 50) {
if (py > 50) {
if (puntoLadoLinea(px, py, 76, 50, 50, 76) < 0) {
v3 = (py - 62) * 0.8;
px = 62 - v3;
py = 62 + v3;
}
} else {
if (py < 29) {
if (puntoLadoLinea(px, py, 51, 1, 77, 28) < 0) {
v3 = (py - 15) * 0.8;
px = 62 + v3;
py = 15 + v3;
}
}
}
}
}
++px;
++py;
mapBitmap.setPixel(px - 1, py, color);
mapBitmap.setPixel(px, py, color);
mapBitmap.setPixel(px + 1, py, color);
mapBitmap.setPixel(px, py - 1, color);
mapBitmap.setPixel(px, py + 1, color);
}
function copiarPapel(indZ, px, py) {
var v4 = 0;
var v5 = 0;
var v3 = 0;
var v2 = 0;
v4 = _parent._parent.engine_mc.miniMap[indZ].width;
v5 = _parent._parent.engine_mc.miniMap[indZ].height;
if (v4 < 561) {
v3 = (640 - v4) / 2 + px;
} else {
v3 = 40 + px;
}
if (v5 < 401) {
v2 = (480 - v5) / 2 + py;
} else {
v2 = 40 + py;
}
v3 %= 640;
v2 %= 480;
mapBitmap.copyPixels(_parent._parent.mapPaperBitmap, new flash.geom.Rectangle(v3, v2, 80, 80), new flash.geom.Point(0, 0), null, null, false);
}
function copiarPapel2(indZ, px, py) {
mapBitmap.copyPixels(_parent._parent.mapPaperBitmap, new flash.geom.Rectangle(85, 0, 77, 77), new flash.geom.Point(0, 0), null, null, false);
}
var mapBitmap = new flash.display.BitmapData(80, 80, false, 4278190080.0);
vacio_mc.attachBitmap(mapBitmap, 0, 'never', false);
var pX = -1;
var pY = -1;
var pjX = -1;
var pjY = -1;
var zona = -1;
var getT = 0;
onRelease = function () {
var v2 = getTimer();
if (_parent.iconoActivo() && _parent.talk_mc == undefined) {
_parent.ocultarInfo();
_parent.openZoneMap();
}
};
onRollOver = function () {
if (_parent.iconoActivo()) {
_parent._parent.engine_mc.overUI = true;
_parent.checkMostrarInfo(this._name);
}
};
onDragOver = function () {
if (_parent.iconoActivo()) {
_parent._parent.engine_mc.overUI = true;
_parent.checkMostrarInfo(this._name);
}
};
onRollOut = function () {
if (_parent.iconoActivo()) {
_parent._parent.engine_mc.overUI = false;
_parent.ocultarInfo();
}
};
onDragOut = function () {
if (_parent.iconoActivo()) {
_parent._parent.engine_mc.overUI = false;
_parent.ocultarInfo();
}
};
}
}
movieClip 19843 {
}
movieClip 19844 {
frame 1 {
function inicializar() {
var v3 = 0;
icon01_mc.fotograma = 7;
icon02_mc.fotograma = 14;
icon01_mc.attachMovie('celosiaIconoMC', 'celosia_mc', 15);
icon02_mc.attachMovie('celosiaIconoMC', 'celosia_mc', 15);
icon03_mc.attachMovie('celosiaIconoMC', 'celosia_mc', 15);
icon04_mc.attachMovie('celosiaIconoMC', 'celosia_mc', 15);
icon05_mc.attachMovie('celosiaIconoMC', 'celosia_mc', 15);
icon06_mc.attachMovie('celosiaIconoMC', 'celosia_mc', 15);
icon07_mc.attachMovie('celosiaIconoMC', 'celosia_mc', 15);
icon08_mc.attachMovie('celosiaIconoMC', 'celosia_mc', 15);
icon09_mc.attachMovie('celosiaIconoMC', 'celosia_mc', 15);
icon10_mc.attachMovie('celosiaIconoMC', 'celosia_mc', 15);
icon03_mc.attachMovie('ProgressBar2MC', 'pb_mc', 10);
icon03_mc.pb_mc._y = 22;
icon04_mc.attachMovie('ProgressBar2MC', 'pb_mc', 10);
icon04_mc.pb_mc._y = 22;
icon05_mc.attachMovie('ProgressBar2MC', 'pb_mc', 10);
icon05_mc.pb_mc._y = 22;
icon06_mc.attachMovie('ProgressBar2MC', 'pb_mc', 10);
icon06_mc.pb_mc._y = 22;
icon07_mc.attachMovie('ProgressBar2MC', 'pb_mc', 10);
icon07_mc.pb_mc._y = 22;
icon08_mc.attachMovie('ProgressBar2MC', 'pb_mc', 10);
icon08_mc.pb_mc._y = 22;
icon09_mc.attachMovie('ProgressBar2MC', 'pb_mc', 10);
icon09_mc.pb_mc._y = 22;
icon10_mc.attachMovie('ProgressBar2MC', 'pb_mc', 10);
icon10_mc.pb_mc._y = 22;
icon02_mc.onRelease = function () {
if (_parent.iconoActivo()) {
_parent.openJournal(updatedQ);
updatedQ = -1;
actualizar();
}
};
icon01_mc.onRelease = function () {
if (_parent.iconoActivo()) {
_parent.ocultarInfo();
_parent.openLevelUp();
}
};
icon00_mc.onRelease = function () {
if (_parent.iconoActivo()) {
if (travelB) {
_parent.ocultarInfo();
_parent.openWorldMap();
} else {
if (exitB) {
_parent.ocultarInfo();
_parent._parent.engine_mc.teletransportarPJ(0, _parent._parent.goBackToSurfaceX / 50, _parent._parent.goBackToSurfaceY / 25);
}
}
}
};
v3 = 0;
while (v3 < 11) {
auxs = 'icon';
if (v3 < 10) {
auxs += '0' + v3 + '_mc';
} else {
auxs += v3 + '_mc';
}
this[auxs].onRollOver = function () {
if (_parent.iconoActivo()) {
_parent._parent.engine_mc.overUI = true;
_parent.checkMostrarInfo(_name + '.' + this._name);
}
};
this[auxs].onDragOver = function () {
if (_parent.iconoActivo()) {
_parent._parent.engine_mc.overUI = true;
_parent.checkMostrarInfo(_name + '.' + this._name);
}
};
this[auxs].onRollOut = function () {
if (_parent.iconoActivo()) {
_parent.ocultarInfo();
_parent._parent.engine_mc.overUI = false;
}
};
this[auxs].onDragOut = function () {
if (_parent.iconoActivo()) {
_parent.ocultarInfo();
_parent._parent.engine_mc.overUI = false;
}
};
++v3;
}
}
function actualizar() {
var v6 = new Array();
var v3 = 0;
var v4 = 0;
var v8 = 0;
var v5 = '';
var v7;
var v9 = new Array();
if (_parent._parent.currentMap == 99) {
if (_parent._parent.engine_mc.aZone == 0) {
if (_parent._parent.quesInv[7] == 3) {
_parent._parent.engine_mc.updateQuest(7, 1);
if (_parent._parent.gameDif != 2) {
_parent.closeTutorial();
_parent.attachMovie('tutorialStep9MC', 'tutorial9_mc', _parent.getNextHighestDepth());
_parent.tutorial9_mc._x = 420;
_parent.tutorial9_mc._y = 9;
}
}
}
}
if (icon01_mc._visible == false) {
v9.push('icon01_mc');
}
icon01_mc._visible = subirB;
if (icon01_mc._visible) {
v6.push('icon01_mc');
}
if (updatedQ != -1) {
if (icon02_mc._visible == false) {
v9.push('icon02_mc');
}
icon02_mc._visible = true;
v6.push('icon02_mc');
} else {
icon02_mc._visible = false;
}
if (travelB) {
icon00_mc.gotoAndStop(1);
if (_parent._parent.quesInv[7] != 2) {
icon00_mc._visible = true;
} else {
icon00_mc._visible = false;
}
} else {
if (exitB) {
icon00_mc.gotoAndStop(2);
icon00_mc._visible = true;
} else {
icon00_mc._visible = false;
}
}
v3 = 3;
for (v7 in _parent._parent.activePowers) {
if (_parent._parent.activePowers[v7].length == 2) {
if (v3 < 10) {
v5 = 'icon0' + v3 + '_mc';
} else {
v5 = 'icon' + v3 + '_mc';
}
++v3;
v4 = Number(v7);
if (v4 < 2) {
v8 = v4 + 30;
} else {
if (v4 < 30) {
v8 = v4 + 12;
} else {
if (v4 < 40) {
v8 = v4 + 8;
} else {
if (v4 < 50) {
v8 = v4 + 4;
} else {
v8 = v4;
}
}
}
}
this[v5].fotograma = v8;
this[v5].actualizar();
this[v5]._visible = true;
v6.push(v5);
} else {
if (_parent._parent.activePowers[v7].length == 1) {
if (v3 < 10) {
v5 = 'icon0' + v3 + '_mc';
} else {
v5 = 'icon' + v3 + '_mc';
}
++v3;
if (v7 == '1') {
this[v5].fotograma = 3;
} else {
this[v5].fotograma = 4;
}
this[v5].actualizar();
this[v5]._visible = true;
v6.push(v5);
} else {
if (_parent._parent.activePowers[v7].length == 4) {
if (_parent._parent.activePowers[v7][2] == '0') {
if (v3 < 10) {
v5 = 'icon0' + v3 + '_mc';
} else {
v5 = 'icon' + v3 + '_mc';
}
++v3;
this[v5].fotograma = 35;
this[v5].actualizar();
this[v5]._visible = true;
v6.push(v5);
}
}
}
}
}
if (_parent._parent.engine_mc.servantIndex > 0) {
if (v3 < 10) {
v5 = 'icon0' + v3 + '_mc';
} else {
v5 = 'icon' + v3 + '_mc';
}
++v3;
if (_parent._parent.engine_mc.charClass[_parent._parent.engine_mc.servantIndex] == 'human') {
this[v5].fotograma = 39;
} else {
this[v5].fotograma = 38;
}
this[v5].actualizar();
this[v5]._visible = true;
v6.push(v5);
}
v4 = v3;
while (v4 < 11) {
if (v4 < 10) {
v5 = 'icon0' + v4 + '_mc';
} else {
v5 = 'icon' + v4 + '_mc';
}
this[v5]._visible = false;
++v4;
}
v3 = 0;
while (v3 < v6.length) {
this[v6[v3]]._x = -v3 * 34;
v4 = 0;
while (v4 < v9.length) {
if (v6[v3] == v9[v4]) {
this[v6[v3]].attachMovie('iconResaltMC', 'resaltar_mc', this[v6[v3]].getNextHighestDepth());
}
++v4;
}
++v3;
}
if (_parent._parent.activePowers.length > 0) {
actualizarPorcs();
}
}
function actualizarPorcs() {
var v4 = 3;
var v5 = 0;
var v7 = 90 * _parent._parent.FrameRate;
var v8 = 2 * _parent._parent.FrameRate;
var v6;
var v3 = '';
for (v6 in _parent._parent.activePowers) {
if (_parent._parent.activePowers[v6].length == 2) {
if (v4 < 10) {
v3 = 'icon0' + v4 + '_mc';
} else {
v3 = 'icon' + v4 + '_mc';
}
++v4;
v5 = Math.round((_parent._parent.activePowers[v6][0] / v7) * 100);
if (v5 != this[v3].pb_mc.n) {
this[v3].pb_mc.setPorc(v5);
}
} else {
if (_parent._parent.activePowers[v6].length == 1) {
if (v4 < 10) {
v3 = 'icon0' + v4 + '_mc';
} else {
v3 = 'icon' + v4 + '_mc';
}
++v4;
v5 = Math.round((_parent._parent.activePowers[v6][0] / v8) * 100);
if (v5 != this[v3].pb_mc.n) {
this[v3].pb_mc.setPorc(v5);
}
} else {
if (_parent._parent.activePowers[v6].length == 4) {
if (_parent._parent.activePowers[v6][2] == '0') {
if (v4 < 10) {
v3 = 'icon0' + v4 + '_mc';
} else {
v3 = 'icon' + v4 + '_mc';
}
++v4;
v5 = Math.round((_parent._parent.activePowers[v6][0] / 2 * _parent._parent.FrameRate) * 100);
if (v5 != this[v3].pb_mc.n) {
this[v3].pb_mc.setPorc(v5);
}
}
}
}
}
}
if (_parent._parent.engine_mc.servantIndex > 0) {
if (v4 < 10) {
v3 = 'icon0' + v4 + '_mc';
} else {
v3 = 'icon' + v4 + '_mc';
}
++v4;
if (this[v3]._visible == false) {
if (_parent._parent.engine_mc.charClass[_parent._parent.engine_mc.servantIndex] == 'human') {
this[v3].fotograma = 39;
} else {
this[v3].fotograma = 38;
}
this[v3].actualizar();
this[v3]._visible = true;
}
if (_parent._parent.engine_mc.objectHP[_parent._parent.engine_mc.charIdIndex[_parent._parent.engine_mc.servantIndex]] > 0) {
v5 = Math.round((_parent._parent.engine_mc.objectHP[_parent._parent.engine_mc.charIdIndex[_parent._parent.engine_mc.servantIndex]] / _parent._parent.engine_mc.objectMaxHP[_parent._parent.engine_mc.charIdIndex[_parent._parent.engine_mc.servantIndex]]) * 100);
} else {
v5 = 0;
}
if (v5 == 0) {
this[v3]._visible = false;
}
if (v5 > 100) {
v5 = 100;
}
if (v5 != this[v3].pb_mc.n) {
this[v3].pb_mc.setPorc(v5);
}
}
}
function iconoNivelV() {
if (!subirB) {
subirB = true;
actualizar();
}
}
function iconoNivelI() {
if (subirB) {
subirB = false;
actualizar();
}
}
function iconoExitV() {
if (!exitB) {
exitB = true;
travelB = false;
actualizar();
}
}
function iconoExitI() {
if (exitB) {
exitB = false;
actualizar();
}
}
function iconoTravelV() {
if (!travelB) {
travelB = true;
exitB = false;
actualizar();
}
}
function iconoTravelI() {
if (travelB) {
travelB = false;
actualizar();
}
}
var subirB = false;
var travelB = false;
var exitB = false;
var updatedQ = -1;
inicializar();
actualizar();
}
}
movieClip 19845 {
}
movieClip 19846 {
}
movieClip 19847 UIGameMC {
frame 1 {
function pauseEnterFrame() {}
function inicializar() {
var v3 = 1;
var j = 0;
var v4 = new String('');
_y = _parent.baseY;
_x = _parent.baseX;
info_mc._y = 5 - _y;
attachMovie('inGameControls02MC', 'ingamecontrols02_mc', this.getNextHighestDepth());
ingamecontrols02_mc.cacheAsBitmap = true;
var v5 = new flash.geom.Matrix();
v5.translate(_x, 0);
inGameControlsBitmap.draw(ingamecontrols02_mc, v5, null, null, new flash.geom.Rectangle(0, 0, _parent.stageX, ingamecontrols02_mc._width));
ingamecontrols02_mc.removeMovieClip();
ingamecontrols01_mc._x = -_x;
ingamecontrols01_mc._y = 376 + _y;
addi_mc._y = 394 + _y;
icon01_mc._y = 444 + _y;
icon02_mc._y = 444 + _y;
icon03_mc._y = 444 + _y;
icon04_mc._y = 444 + _y;
icon05_mc._y = 444 + _y;
icon06_mc._y = 444 + _y;
icon07_mc._y = 444 + _y;
icon08_mc._y = 444 + _y;
icon09_mc._y = 444 + _y;
icon10_mc._y = 444 + _y;
icon11_mc._y = 444 + _y;
icon12_mc._y = 444 + _y;
hp_mc._y = 443 + _y;
mp_mc._y = 453 + _y;
xp_mc._y = 463 + _y;
if (_parent.engine_mc.objectHP[0] > _parent.engine_mc.objectMaxHP[0]) {
_parent.engine_mc.objectHP[0] = _parent.engine_mc.objectMaxHP[0];
}
hp_mc.n = (_parent.engine_mc.objectHP[0] / _parent.engine_mc.objectMaxHP[0]) * 100;
hp_mc.updatePorc();
icon01_mc.fotograma = 30;
icon02_mc.fotograma = 1;
icon03_mc.fotograma = 1;
icon04_mc.fotograma = 1;
icon05_mc.fotograma = 1;
icon06_mc.fotograma = 1;
icon07_mc.fotograma = 3;
icon08_mc.fotograma = 4;
icon09_mc.fotograma = 11;
icon10_mc.fotograma = 13;
icon11_mc.fotograma = 12;
icon12_mc.fotograma = 10;
v3 = 1;
while (v3 < 7) {
v4 = 'icon0' + v3 + '_mc';
this[v4].onRelease = function () {
if (iconoActivo()) {
seleccionarPoder(this._name);
if (lastClick != this._name) {
lastClick = this._name;
getT = getTimer();
} else {
j = getTimer();
if (j - getT < 300) {
openPowerSelector();
} else {
getT = j;
}
}
}
};
++v3;
}
if (_parent.initUIIcons.length > 0) {
v3 = 1;
while (v3 < _parent.initUIIcons.length) {
v4 = 'icon0' + v3 + '_mc';
this[v4].fotograma = Number(_parent.initUIIcons[v3]);
this[v4].actualizar();
++v3;
}
seleccionarPoder('icon0' + _parent.initUIIcons[0] + '_mc');
} else {
if (_parent.checkRanged(_parent.currentWeapon)) {
if (icon01_mc.fotograma == 30) {
icon01_mc.fotograma = 31;
icon01_mc.actualizar();
}
} else {
if (icon01_mc.fotograma == 31) {
icon01_mc.fotograma = 30;
icon01_mc.actualizar();
}
}
seleccionarPoder('icon01_mc');
addNewPowers('');
}
icon07_mc.onRelease = function () {
if (iconoActivo()) {
lifePotion();
}
};
icon08_mc.onRelease = function () {
if (iconoActivo()) {
manaPotion();
}
};
icon07_mc.attachMovie('potionCounterMC', 'pc_mc', 10);
icon08_mc.attachMovie('potionCounterMC', 'pc_mc', 10);
updatePotions();
icon09_mc.onRelease = function () {
if (iconoActivo() && talk_mc == undefined) {
switchWeapons(true);
}
};
icon10_mc.onRelease = function () {
if (iconoActivo() && talk_mc == undefined) {
openInventory();
}
};
icon11_mc.onRelease = function () {
if (iconoActivo() && talk_mc == undefined) {
openJournal(-1);
}
};
icon12_mc.onRelease = function () {
if (iconoActivo() && talk_mc == undefined) {
openMenu();
}
};
v3 = 1;
while (v3 < 13) {
v4 = 'icon';
if (v3 < 10) {
v4 += '0' + v3 + '_mc';
} else {
v4 += v3 + '_mc';
}
this[v4].onRollOver = function () {
if (iconoActivo()) {
_parent.engine_mc.overUI = true;
checkMostrarInfo(this._name);
}
};
this[v4].onDragOver = function () {
if (iconoActivo()) {
_parent.engine_mc.overUI = true;
checkMostrarInfo(this._name);
}
};
this[v4].onRollOut = function () {
if (iconoActivo()) {
_parent.engine_mc.overUI = false;
}
ocultarInfo();
};
this[v4].onDragOut = function () {
if (iconoActivo()) {
_parent.engine_mc.overUI = false;
}
ocultarInfo();
};
++v3;
}
hp_mc.onRollOver = function () {
if (iconoActivo()) {
_parent.engine_mc.overUI = true;
checkMostrarInfo(this._name);
}
};
hp_mc.onDragOver = function () {
if (iconoActivo()) {
_parent.engine_mc.overUI = true;
checkMostrarInfo(this._name);
}
};
hp_mc.onRollOut = function () {
if (iconoActivo()) {
ocultarInfo();
_parent.engine_mc.overUI = false;
}
};
hp_mc.onDragOut = function () {
if (iconoActivo()) {
ocultarInfo();
_parent.engine_mc.overUI = false;
}
};
mp_mc.onRollOver = function () {
if (iconoActivo()) {
_parent.engine_mc.overUI = true;
checkMostrarInfo(this._name);
}
};
mp_mc.onDragOver = function () {
if (iconoActivo()) {
_parent.engine_mc.overUI = true;
checkMostrarInfo(this._name);
}
};
mp_mc.onRollOut = function () {
if (iconoActivo()) {
ocultarInfo();
_parent.engine_mc.overUI = false;
}
};
mp_mc.onDragOut = function () {
if (iconoActivo()) {
ocultarInfo();
_parent.engine_mc.overUI = false;
}
};
xp_mc.onRollOver = function () {
if (iconoActivo()) {
_parent.engine_mc.overUI = true;
checkMostrarInfo(this._name);
}
};
xp_mc.onDragOver = function () {
if (iconoActivo()) {
_parent.engine_mc.overUI = true;
checkMostrarInfo(this._name);
}
};
xp_mc.onRollOut = function () {
if (iconoActivo()) {
ocultarInfo();
_parent.engine_mc.overUI = false;
}
};
xp_mc.onDragOut = function () {
if (iconoActivo()) {
ocultarInfo();
_parent.engine_mc.overUI = false;
}
};
aglogo_mc.onRelease = function () {
getURL('http://armor.ag/MoreGames', '_blank');
};
aglogo_mc.onRollOver = function () {
_parent.engine_mc.overUI = true;
};
aglogo_mc.onDragOver = function () {
_parent.engine_mc.overUI = true;
};
aglogo_mc.onRollOut = function () {
_parent.engine_mc.overUI = false;
};
aglogo_mc.onDragOut = function () {
_parent.engine_mc.overUI = false;
};
}
function checkMostrarInfo(ins) {
if (textinfocheck_mc != undefined) {
textinfocheck_mc.removeMovieClip();
}
attachMovie('textInfoCheckMC', 'textinfocheck_mc', this.getNextHighestDepth());
textinfocheck_mc.ins = ins;
}
function mostrarInfoS(tituI, descI, insI, pX, pY) {
if (textinfo_mc != undefined) {
textinfo_mc.removeMovieClip();
}
if (textinfocheck_mc != undefined) {
textinfocheck_mc.removeMovieClip();
}
if (tituI != '' || descI != '') {
attachMovie('textInfoMC', 'textinfo_mc', this.getNextHighestDepth());
textinfo_mc._x = pX;
textinfo_mc._y = pY;
textinfo_mc.titulo = tituI.toUpperCase();
textinfo_mc.descripcion = descI;
textinfo_mc.alinea = 1;
textinfo_mc.ins = insI;
textinfo_mc.checkUpdate = 0;
}
}
function mostrarInfo(ins) {
var v12 = -1;
var v7 = 1;
var v4 = '';
var v5 = '';
var v15 = new Array(0, 1, 20, 21, 22, 23, 24, 25, 30, 31, 32, 33, 34, 35, 40, 41, 42, 43, 44, 45, 50, 51, 52, 53, 54, 55);
var v11 = Number((_parent.totalAbilities.split(','))[11]);
var v9 = 0;
var v8 = 0;
var v13 = 0;
var v10 = 0;
var v6 = '';
var v14 = '#999999';
var v17 = '#333333';
var v16 = '#145392';
if (textinfocheck_mc != undefined) {
textinfocheck_mc.removeMovieClip();
}
if ((ins.split('icon')).length > 1 && (ins.split('.')).length == 1) {
v12 = Number(((ins.split('icon'))[1].split('_mc'))[0]);
if (v12 < 7) {
if (this[ins]._currentframe > 1) {
v7 = v15[this[ins].fotograma - 30];
v4 = _parent.getPowerName(v7, _parent.basePowers[v7], v11);
v5 = _parent.getPowerDesc(v7, _parent.basePowers[v7], v11);
v5 += '\n<font color=\'' + v14 + '\'>Hotkey \' ' + _parent.valueToShow(_parent.hotKey[v12]) + ' \'</font>';
v5 += '\n<font color=\'' + v17 + '\'>[ double click to assign a different power ]</font>';
}
} else {
switch (ins) {
case 'icon07_mc':
v4 = 'Life Potion';
v5 = 'Regenerates ' + Math.floor(_parent.engine_mc.objectMaxHP[0] / 2) + ' hit points in 2 seconds\n';
break;
case 'icon08_mc':
v4 = 'Mana Potion';
v5 = 'Recovers ' + Math.floor(_parent.engine_mc.maxMana / 2) + ' mana in 2 seconds\n';
break;
case 'icon09_mc':
v4 = 'Switch Weapon';
v5 = '';
break;
case 'icon10_mc':
v4 = 'Inventory';
v5 = '';
break;
case 'icon11_mc':
v4 = 'Journal';
v5 = '';
break;
case 'icon12_mc':
v4 = 'Menu';
v5 = '';
}
v5 += '<font color=\'' + v14 + '\'>Hotkey \' ' + _parent.valueToShow(_parent.hotKey[v12]) + ' \'</font>';
}
v9 = this[ins]._x;
v8 = this[ins]._y;
v13 = 1;
} else {
if ((ins.split('.')).length == 1) {
v9 = this[ins]._x;
v8 = this[ins]._y;
v13 = 1;
switch (ins) {
case 'minimap_mc':
v4 = 'ZONE MAP';
v5 = 'click to expand';
v5 += '\n<font color=\'' + v14 + '\'>Hotkey \' ' + _parent.valueToShow(_parent.hotKey[13]) + ' \'</font>';
break;
case 'hp_mc':
v4 = 'HIT POINTS';
v10 = 1;
break;
case 'mp_mc':
v4 = 'MANA POINTS';
v10 = 1;
break;
case 'xp_mc':
v4 = 'EXPERIENCE';
v10 = 1;
}
} else {
v6 = (ins.split('.'))[0];
ins = (ins.split('.'))[1];
v4 = ins;
if (v6 == 'addi_mc') {
v9 = this[v6]._x + this[v6][ins]._x;
v8 = this[v6]._y + this[v6][ins]._y;
v13 = 1;
if (ins == 'icon00_mc') {
if (this[v6][ins]._visible) {
if (this[v6][ins]._currentFrame == 1) {
v4 = 'TRAVEL';
} else {
v4 = 'GO OUTSIDE';
}
}
} else {
if (ins == 'icon01_mc') {
v4 = 'LEVEL UP';
v5 = 'click to learn new powers';
} else {
if (ins == 'icon02_mc') {
v4 = 'QUEST UPDATED';
v5 = 'click to open the journal';
} else {
if (addi_mc[ins].fotograma == 3) {
v4 = 'Regenerating Hit Points';
if (addi_mc[ins]._visible) {
checkMostrarInfo(v6 + '.' + ins);
} else {
v4 = '';
v5 = '';
}
} else {
if (addi_mc[ins].fotograma == 4) {
v4 = 'Recovering Mana';
if (addi_mc[ins]._visible) {
checkMostrarInfo(v6 + '.' + ins);
} else {
v4 = '';
v5 = '';
}
} else {
if (addi_mc[ins].fotograma == 38) {
v4 = 'Dark Minion';
v5 = 'HP: ' + Math.round(addi_mc[ins].pb_mc.n) + '%';
if (addi_mc[ins]._visible) {
checkMostrarInfo(v6 + '.' + ins);
} else {
v4 = '';
v5 = '';
}
} else {
if (addi_mc[ins].fotograma == 39) {
v4 = 'Possession';
v5 = 'HP: ' + Math.round(addi_mc[ins].pb_mc.n) + '%';
if (addi_mc[ins]._visible) {
checkMostrarInfo(v6 + '.' + ins);
} else {
v4 = '';
v5 = '';
}
} else {
if (addi_mc[ins].fotograma == 35) {
v4 = 'Healing';
if (addi_mc[ins]._visible) {
checkMostrarInfo(v6 + '.' + ins);
} else {
v4 = '';
v5 = '';
}
} else {
v7 = v15[this[v6][ins].fotograma - 30];
v4 = _parent.getPowerName(v7, _parent.activePowers[v7][1], 0);
v5 = 'Time: ' + Math.round(_parent.activePowers[v7][0] / _parent.FrameRate) + ' s';
if (addi_mc[ins]._visible) {
checkMostrarInfo(v6 + '.' + ins);
} else {
v4 = '';
v5 = '';
}
}
}
}
}
}
}
}
}
ins = v6 + '.' + ins;
} else {
if (v6 == 'powerselector_mc') {
v7 = v15[this[v6][ins].fotograma - 30];
v9 = this[v6]._x + this[v6][ins]._x;
v8 = this[v6]._y + this[v6][ins]._y + this[v6][ins]._height;
v4 = _parent.getPowerName(v7, _parent.basePowers[v7], v11);
v5 = _parent.getPowerDesc(v7, _parent.basePowers[v7], v11);
}
}
}
}
if (v4 != '' || v5 != '') {
if (textinfo_mc == undefined) {
attachMovie('textInfoMC', 'textinfo_mc', this.getNextHighestDepth());
}
textinfo_mc._x = v9;
textinfo_mc._y = v8;
textinfo_mc.titulo = v4.toUpperCase();
textinfo_mc.descripcion = (v5.split('#003366')).join(v16);
textinfo_mc.alinea = v13;
textinfo_mc.ins = ins;
textinfo_mc.checkUpdate = v10;
textinfo_mc.inicializar();
} else {
if (textinfo_mc != undefined) {
textinfo_mc.removeMovieClip();
}
}
}
function ocultarInfo() {
if (textinfocheck_mc != undefined) {
textinfocheck_mc.removeMovieClip();
}
if (textinfo_mc != undefined) {
textinfo_mc.removeMovieClip();
}
lastInfoIns = '';
}
function iconoActivo() {
var v2 = false;
if (_parent.engine_mc.reproducir) {
v2 = true;
}
if (death_mc != undefined) {
v2 = false;
}
return v2;
}
function switchWeapons(b) {
if (b) {
if (_parent.engine_mc.charAction[0] == 'stand' || _parent.engine_mc.charAction[0] == 'combat' || _parent.engine_mc.charAction[0] == 'run') {
if (_parent.currentWeapon == 1) {
_parent.currentWeapon = 2;
} else {
_parent.currentWeapon = 1;
}
_parent.engine_mc.currentPjConfig();
_parent.updateTotalAbilities();
seleccionarPoder('icon0' + _parent.initUIIcons[0] + '_mc');
}
} else {
if (_parent.currentWeapon == 1) {
_parent.currentWeapon = 2;
} else {
_parent.currentWeapon = 1;
}
seleccionarPoder('icon0' + _parent.initUIIcons[0] + '_mc');
}
}
function cerrarPantallas() {
_parent.engine_mc.finSaqueo();
if (character_mc != undefined) {
character_mc.removeMovieClip();
}
if (death_mc != undefined) {
death_mc.removeMovieClip();
}
if (inve_mc != undefined) {
inve_mc.removeMovieClip();
}
if (trad_mc != undefined) {
trade_mc.removeMovieClip();
}
if (ench_mc != undefined) {
ench_mc.removeMovieClip();
}
if (black_mc != undefined) {
black_mc.removeMovieClip();
}
if (leup_mc != undefined) {
leup_mc.removeMovieClip();
}
if (talk_mc != undefined) {
talk_mc.removeMovieClip();
}
if (powers_mc != undefined) {
powers_mc.removeMovieClip();
}
if (journal_mc != undefined) {
journal_mc.removeMovieClip();
}
if (zonemap_mc != undefined) {
zonemap_mc.removeMovieClip();
}
if (worldmap_mc != undefined) {
worldmap_mc.removeMovieClip();
}
}
function openDeath() {
cerrarPantallas();
attachMovie('deathMC', 'death_mc', this.getNextHighestDepth());
_parent.engine_mc.overUI = true;
}
function openDialog(idO, dS) {
cerrarPantallas();
attachMovie('talkMC', 'talk_mc', this.getNextHighestDepth());
talk_mc.indiceO = idO;
if (dS != -1 && dS != undefined) {
talk_mc.initState = dS;
}
}
function closeDialog() {
if (talk_mc.overTalk || _ymouse < 496) {
_parent.engine_mc.overUI = false;
}
if (_parent.currentMap == 5) {
_parent.engine_mc.accionSimple('PJHOSTIL Icaro');
} else {
if (_parent.currentMap == 6) {
_parent.engine_mc.accionSimple('PJHOSTIL Morgana');
_parent.engine_mc.ponerTodosHostiles('Skeleton');
_parent.engine_mc.ponerTodosHostiles('Infernal Archer');
} else {
if (_parent.currentMap == 21) {
if (_parent.engine_mc.objectDesc[talk_mc.indiceO] == 'Zalmerion') {
_parent.engine_mc.objectSelect[talk_mc.indiceO] = 0;
_parent.engine_mc.moverEnemigosUrnebbar();
_parent.engine_mc.updateQuest(3, 6);
}
} else {
if (_parent.currentMap == 11) {
if (_parent.engine_mc.objectDesc[talk_mc.indiceO] == 'Zalmerion') {
_parent.engine_mc.iniciarCombateLM();
}
}
}
}
}
talk_mc.removeMovieClip();
}
function closeTutorial() {
tutorial2_mc.removeMovieClip();
tutorial3_mc.removeMovieClip();
tutorial4_mc.removeMovieClip();
tutorial5_mc.removeMovieClip();
tutorial6_mc.removeMovieClip();
tutorial7_mc.removeMovieClip();
tutorial8_mc.removeMovieClip();
tutorial9_mc.removeMovieClip();
tutorial10_mc.removeMovieClip();
tutorial11_mc.removeMovieClip();
}
function openJournal(qId) {
_parent.sonido_mc.playFX('PAPER');
ocultarInfo();
cerrarPantallas();
attachMovie('journalMC', 'journal_mc', this.getNextHighestDepth());
if (qId != -1) {
journal_mc.showQuestOnInit = qId;
}
journal_mc._y = 15;
_parent.engine_mc.overUI = true;
_parent.engine_mc.reproducir = false;
}
function closeJournal() {
journal_mc.removeMovieClip();
_parent.engine_mc.overUI = false;
_parent.engine_mc.reproducir = true;
if (_parent.gameDif != 2) {
if (_parent.currentMap == 99) {
if (tutorial1_mc != undefined) {
tutorial1_mc.removeMovieClip();
if (_parent.quesInv[7] == 2) {
attachMovie('tutorialStep1bMC', 'tutorial1b_mc', this.getNextHighestDepth());
tutorial1b_mc._x = 246;
tutorial1b_mc._y = 345;
}
}
if (tutorial9_mc != undefined) {
closeTutorial();
attachMovie('tutorialStep10MC', 'tutorial10_mc', this.getNextHighestDepth());
tutorial10_mc._x = 420;
tutorial10_mc._y = 9;
}
}
}
}
function openLoot() {
if (loot_mc != undefined) {
loot_mc.removeMovieClip();
}
attachMovie('objectLootMC', 'loot_mc', this.getNextHighestDepth());
loot_mc._x = 0;
loot_mc._y = 0;
}
function closeLoot() {
var v3 = 0;
loot_mc.removeMovieClip();
if (_parent.currentMap == 99) {
if (tutorial4_mc != undefined) {
if (_parent.engine_mc.aZone == 0) {
if (_parent.gameDif != 2) {
if (_parent.engine_mc.objectId[_parent.engine_mc.currentLoot] == 'f-28c-') {
closeTutorial();
attachMovie('tutorialStep5MC', 'tutorial5_mc', this.getNextHighestDepth());
tutorial5_mc._x = 420;
tutorial5_mc._y = 9;
}
}
}
} else {
if (_parent.engine_mc.aZone == 1 && _parent.quesInv[7] == 2) {
if (_parent.engine_mc.objectId[_parent.engine_mc.currentLoot] == 'f-30c-') {
_parent.engine_mc.updateQuest(7, 3);
closeTutorial();
if (_parent.gameDif != 2) {
attachMovie('tutorialStep8MC', 'tutorial8_mc', this.getNextHighestDepth());
tutorial8_mc._x = 420;
tutorial8_mc._y = 9;
}
}
}
}
} else {
if (_parent.currentMap == 104) {
if (_parent.engine_mc.objectId[_parent.engine_mc.currentLoot] == 'f-30c-') {
_parent.engine_mc.updateQuest(9, 1);
}
}
}
}
function openInventory() {
cerrarPantallas();
ocultarInfo();
attachMovie('inventoryMC', 'inve_mc', this.getNextHighestDepth());
_parent.engine_mc.overUI = true;
_parent.engine_mc.reproducir = false;
}
function closeInventory() {
inve_mc.removeMovieClip();
_parent.engine_mc.updateCachePJ();
_parent.engine_mc.overUI = false;
if (_parent.currentMap == 99) {
if (tutorial5_mc != undefined) {
closeTutorial();
attachMovie('tutorialStep6MC', 'tutorial6_mc', this.getNextHighestDepth());
tutorial6_mc._x = 420;
tutorial6_mc._y = 9;
}
}
}
function openTrading() {
var v3 = _parent.engine_mc.currentLoot;
cerrarPantallas();
_parent.engine_mc.currentLoot = v3;
attachMovie('tradingMC', 'trad_mc', this.getNextHighestDepth());
_parent.engine_mc.overUI = true;
_parent.engine_mc.reproducir = false;
}
function closeTrading() {
updatePotions();
trad_mc.removeMovieClip();
_parent.engine_mc.updateCachePJ();
_parent.engine_mc.currentLoot = 0;
_parent.engine_mc.overUI = false;
}
function openBlacksmith() {
cerrarPantallas();
attachMovie('blacksmithMC', 'black_mc', this.getNextHighestDepth());
_parent.engine_mc.overUI = true;
_parent.engine_mc.reproducir = false;
}
function closeBlacksmith() {
black_mc.removeMovieClip();
_parent.engine_mc.overUI = false;
_parent.engine_mc.updateCachePJ();
_parent.engine_mc.overUI = false;
}
function openEnchant() {
cerrarPantallas();
attachMovie('enchantMC', 'ench_mc', this.getNextHighestDepth());
_parent.engine_mc.overUI = true;
_parent.engine_mc.reproducir = false;
}
function closeEnchant() {
ench_mc.removeMovieClip();
_parent.engine_mc.overUI = false;
_parent.engine_mc.reproducir = true;
}
function openMenu() {
ocultarInfo();
if (menu_mc != undefined) {
menu_mc.removeMovieClip();
}
attachMovie('inGameMenuMC', 'menu_mc', 13);
_parent.engine_mc.overUI = true;
_parent.engine_mc.reproducir = false;
}
function closeMenu() {
menu_mc.removeMovieClip();
_parent.engine_mc.overUI = false;
_parent.engine_mc.reproducir = true;
}
function openSettings() {
var v1 = menu_mc.getDepth() + 1;
if (v1 == undefined) {
v1 = 50;
}
if (sett_mc != undefined) {
sett_mc.removeMovieClip();
}
attachMovie('UISettingsMC', 'sett_mc', v1);
}
function openLevelUp() {
if (leup_mc != undefined) {
leup_mc.removeMovieClip();
}
attachMovie('levelUpMC', 'leup_mc', this.getNextHighestDepth());
_parent.engine_mc.overUI = true;
_parent.engine_mc.reproducir = false;
}
function closeLevelUp() {
leup_mc.removeMovieClip();
_parent.engine_mc.overUI = false;
_parent.engine_mc.reproducir = true;
}
function openCharacterScreen() {
ocultarInfo();
cerrarPantallas();
if (character_mc != undefined) {
character_mc.removeMovieClip();
}
attachMovie('characterMC', 'character_mc', this.getNextHighestDepth());
}
function closeCharacterScreen() {
character_mc.removeMovieClip();
}
function openZoneMap() {
ocultarInfo();
if (zonemap_mc != undefined) {
zonemap_mc.removeMovieClip();
}
attachMovie('zoneMapMC', 'zonemap_mc', this.getNextHighestDepth());
_parent.sonido_mc.playFX('PAPER');
_parent.engine_mc.overUI = true;
_parent.engine_mc.reproducir = false;
}
function closeZoneMap() {
zonemap_mc.removeMovieClip();
_parent.sonido_mc.playFX('PAPER');
_parent.engine_mc.overUI = false;
_parent.engine_mc.reproducir = true;
if (tutorial1b_mc != undefined) {
if (_parent.gameDif != 2) {
if (_parent.quesInv[7] == 2) {
tutorial1b_mc.removeMovieClip();
if (tutorialc_mc.mostrado == undefined) {
attachMovie('tutorialStep2MC', 'tutorial2_mc', this.getNextHighestDepth());
tutorial2_mc._x = 420;
tutorial2_mc._y = 9;
}
}
}
}
}
function openWorldMap() {
ocultarInfo();
if (worldmap_mc != undefined) {
worldmap_mc.removeMovieClip();
}
attachMovie('worldMapMC', 'worldmap_mc', this.getNextHighestDepth());
_parent.sonido_mc.playFX('PAPER');
_parent.engine_mc.overUI = true;
_parent.engine_mc.reproducir = false;
}
function closeWorldMap() {
worldmap_mc.removeMovieClip();
_parent.sonido_mc.playFX('PAPER');
_parent.engine_mc.overUI = false;
_parent.engine_mc.reproducir = true;
}
function openPowerSelector() {
if (powerselector_mc != undefined) {
powerselector_mc.removeMovieClip();
}
attachMovie('powerSelectorMC', 'powerselector_mc', this.getNextHighestDepth());
_parent.engine_mc.overUI = true;
_parent.engine_mc.reproducir = false;
}
function closePowerSelector() {
powerselector_mc.removeMovieClip();
_parent.engine_mc.overUI = false;
_parent.engine_mc.reproducir = true;
}
function seleccionarPoder(ins) {
var v3 = 0;
var v6 = new Array(0, 1, 20, 21, 22, 23, 24, 25, 30, 31, 32, 33, 34, 35, 40, 41, 42, 43, 44, 45, 50, 51, 52, 53, 54, 55);
var v7 = new Array();
var v4 = '';
if (_parent.checkRanged(_parent.currentWeapon)) {
v3 = 1;
while (v3 < 7) {
v4 = 'icon0' + v3 + '_mc';
if (this[v4].fotograma == 30) {
this[v4].fotograma = 31;
this[v4].actualizar();
}
++v3;
}
} else {
v3 = 1;
while (v3 < 7) {
v4 = 'icon0' + v3 + '_mc';
if (this[v4].fotograma == 31) {
this[v4].fotograma = 30;
this[v4].actualizar();
}
++v3;
}
}
v3 = v6[this[ins].fotograma - 30];
if (v3 == 23 || v3 == 24 || v3 == 25 || v3 == 35) {
_parent.engine_mc.overUI = false;
if (_parent.engine_mc.reproducir) {
_parent.engine_mc.tryBuffSpell(v3);
}
v3 = 1;
while (v3 < 7) {
v4 = 'icon0' + v3 + '_mc';
_parent.initUIIcons[v3] = this[v4].fotograma;
++v3;
}
} else {
if (v3 != undefined) {
_parent.cPower = v3;
checkPowers();
this[poderS].select_mc.removeMovieClip();
poderS = ins;
this[ins].attachMovie('inventorySelectedWeaponMC', 'select_mc', 15);
_parent.actualizarMagicDamage();
_parent.updateTotalAbilities();
_parent.initUIIcons[0] = ((ins.split('_'))[0].split('icon0'))[1];
v3 = 1;
while (v3 < 7) {
v4 = 'icon0' + v3 + '_mc';
_parent.initUIIcons[v3] = this[v4].fotograma;
++v3;
}
}
}
}
function checkPowers() {
checkPIcons();
checkCPowerWeapon();
}
function checkPIcons() {
var v5 = 0;
var v3 = 0;
var v7 = _parent.checkRanged(_parent.currentWeapon);
var v4 = '';
var v6 = new Array(0, 1, 20, 21, 22, 23, 24, 25, 30, 31, 32, 33, 34, 35, 40, 41, 42, 43, 44, 45, 50, 51, 52, 53, 54, 55);
v5 = 1;
while (v5 < 7) {
v4 = 'icon0' + v5 + '_mc';
v3 = v6[this[v4].fotograma - 30];
if (v7) {
if (v3 > 39 && v3 < 46 || v3 == 0) {
this[v4]._alpha = 25;
} else {
this[v4]._alpha = 100;
}
} else {
if (v3 > 49 && v3 < 56 || v3 == 1) {
this[v4]._alpha = 25;
} else {
this[v4]._alpha = 100;
}
}
++v5;
}
}
function checkCPowerWeapon() {
var v2 = _parent.checkRanged(_parent.currentWeapon);
if (v2) {
if (_parent.cPower == 0 || _parent.cPower > 39 && _parent.cPower < 46) {
_parent.cPower = 1;
}
} else {
if (_parent.cPower == 1 || _parent.cPower > 49 && _parent.cPower < 56) {
_parent.cPower = 0;
}
}
}
function fillReqMana() {
var v3 = 0;
var v5 = Number((_parent.totalAbilities.split(','))[11]);
var v4 = '';
var v6 = new Array(0, 1, 20, 21, 22, 23, 24, 25, 30, 31, 32, 33, 34, 35, 40, 41, 42, 43, 44, 45, 50, 51, 52, 53, 54, 55);
maxManaReq = 0;
v3 = 1;
while (v3 < 7) {
v4 = 'icon0' + v3 + '_mc';
j = v6[this[v4].fotograma - 30];
if (j < 0) {
j = 0;
}
reqMana[v3] = _parent.getManaCost(j, _parent.basePowers[j], v5);
if (reqMana[v3] > maxManaReq) {
maxManaReq = reqMana[v3];
}
++v3;
}
maxManaReq += _parent.engine_mc.maxMana / 25;
checkManaBars();
}
function checkManaBars() {
var v4 = 0;
var v5 = 0;
var v3 = '';
if (_parent.engine_mc.currentMana < maxManaReq) {
v4 = 1;
while (v4 < 7) {
v3 = 'icon0' + v4 + '_mc';
if (_parent.engine_mc.currentMana >= reqMana[v4]) {
if (this[v3].pb_mc) {
this[v3].pb_mc.removeMovieClip();
}
} else {
if (this[v3].pb_mc == undefined) {
this[v3].attachMovie('ProgressBar3MC', 'pb_mc', 10);
this[v3].pb_mc._y = 22;
}
v5 = Math.round((_parent.engine_mc.currentMana / reqMana[v4]) * 100);
if (v5 != this[v3].pb_mc.n) {
this[v3].pb_mc.setPorc(v5);
}
}
++v4;
}
}
}
function lifePotion() {
if (_parent.miscInv[1] > 0) {
_parent.sonido_mc.playFX('POTION');
--_parent.miscInv[1];
_parent.activePowers[1] = new Array();
_parent.activePowers[1].push(_parent.FrameRate * 2);
updatePotions();
addi_mc.actualizar();
} else {
trace('You dont have life potions');
}
}
function manaPotion() {
if (_parent.miscInv[2] > 0) {
_parent.sonido_mc.playFX('POTION');
--_parent.miscInv[2];
_parent.activePowers[2] = new Array();
_parent.activePowers[2].push(_parent.FrameRate * 2);
updatePotions();
addi_mc.actualizar();
} else {
trace('You dont have mana potions');
}
}
function updatePotions() {
var v2 = '';
if (_parent.miscInv[1] == 0) {
icon07_mc._alpha = 25;
icon07_mc.pc_mc.texto = '';
} else {
icon07_mc._alpha = 100;
if (_parent.miscInv[1] > 9999) {
v2 = '9999 +';
} else {
v2 = _parent.miscInv[1];
}
icon07_mc.pc_mc.texto = v2;
}
if (_parent.miscInv[2] == 0) {
icon08_mc._alpha = 25;
icon08_mc.pc_mc.texto = '';
} else {
icon08_mc._alpha = 100;
if (_parent.miscInv[2] > 9999) {
v2 = '9999 +';
} else {
v2 = _parent.miscInv[2];
}
icon08_mc.pc_mc.texto = v2;
}
}
function addNewPowers(s) {
var v4 = new Array(20, 21, 22, 23, 24, 25, 30, 31, 32, 33, 34, 35, 43, 44, 45, 53, 54, 55);
var v7 = new Array();
var v3 = 0;
var v6 = 0;
var v8 = 0;
var v5 = '';
var v9 = 1;
if (s != '' && s != undefined) {
v6 = v4.length;
v7 = s.split(',');
v5 = v4.join(',');
v3 = 0;
while (v3 < v7.length) {
if (v5.indexOf(v7[v3]) != -1) {
v4.push(Number(v7[v3]));
}
++v3;
}
v4.splice(0, v6);
}
v7.splice(0, v7.length);
v3 = 1;
while (v3 < 7) {
v5 = 'icon0' + v3 + '_mc';
if (this[v5].fotograma == 1) {
v7.push(v5);
}
++v3;
}
if (v4[0] == v4[1]) {
v9 = 2;
v4.splice(0, 1);
}
v3 = 0;
while (v3 < v4.length) {
if (_parent.basePowers[v4[v3]] == 1 || _parent.basePowers[v4[v3]] == v9) {
v5 = String(v7.shift());
if (v4[v3] < 2) {
v6 = v4[v3] + 30;
} else {
if (v4[v3] < 30) {
v6 = v4[v3] + 12;
} else {
if (v4[v3] < 40) {
v6 = v4[v3] + 8;
} else {
if (v4[v3] < 50) {
v6 = v4[v3] + 4;
} else {
v6 = v4[v3];
}
}
}
}
this[v5].fotograma = v6;
this[v5].actualizar();
v8 = 1;
}
++v3;
}
if (v8 == 1) {
checkPowers();
seleccionarPoder('icon0' + _parent.initUIIcons[0] + '_mc');
}
}
var inGameControlsBitmap = new flash.display.BitmapData(_parent.stageX, 103, true, 0);
var getT = 0;
var lastClick = '';
var poderS = 'icon01_mc';
var reqMana = new Array();
var maxManaReq = 0;
ingamecontrols01_mc.attachBitmap(inGameControlsBitmap, 0, 'never', true);
inicializar();
}
}
movieClip 19848 {
frame 1 {
function inicializar() {
if (iniY == undefined) {
iniY = _y;
}
iniX = _x;
}
function updateText() {
texto_mc.texto_txt.text = texto;
}
var texto;
var iniY;
var iniX;
stop();
inicializar();
if (texto != undefined && texto != '') {
texto_mc.texto_txt.text = texto;
}
onRelease = function () {
_y = iniY;
_x = iniX;
_parent.accionBoton(this._name);
};
onPress = function () {
_y = iniY + 2;
_x = iniX;
};
onRollOver = function () {
gotoAndPlay(2);
};
onDragOver = function () {
gotoAndPlay(2);
};
onRollOut = function () {
_y = iniY;
_x = iniX;
gotoAndStop(1);
};
onDragOut = function () {
_y = iniY;
_x = iniX;
gotoAndStop(1);
};
}
frame 8 {
stop();
}
}
movieClip 19849 {
frame 1 {
function accionBoton(etiqueta) {
var v2 = Number(((etiqueta.split('_'))[0].split('p'))[1]);
_parent._parent._parent.sonido_mc.playFX('BOTON');
_parent.pestanaActual = v2;
_parent.updatePestanas();
_parent.showLowerInfo();
_parent.vacio_mc._y = _parent.vacioY;
_parent.scrollbar01_mc.updateS(0);
}
}
}
movieClip 19850 {
}
movieClip 19851 {
}
movieClip 19852 {
}
movieClip 19853 {
}
movieClip 19855 {
}
movieClip 19857 {
}
movieClip 19858 {
frame 1 {
function drag() {
if (_visible) {
square_mc.startDrag(false, 0, 0, 0, bg_mc._height - square_mc._height - 1);
dragB = 1;
}
}
function noDrag() {
square_mc.stopDrag();
dragB = 0;
}
function updateP() {
p = square_mc._y / (bg_mc._height - square_mc._height - 1);
_parent.moveContent(this._name);
}
function updateS(n) {
p = n;
square_mc._y = (bg_mc._height - square_mc._height - 1) * p;
}
function mouseScrollDown() {
updateP();
p += 0.15;
if (p < 0) {
p = 0;
}
if (p > 1) {
p = 1;
}
square_mc._y = (bg_mc._height - square_mc._height - 1) * p;
updateP();
}
function mouseScrollUp() {
updateP();
p -= 0.15;
if (p < 0) {
p = 0;
}
if (p > 1) {
p = 1;
}
square_mc._y = (bg_mc._height - square_mc._height - 1) * p;
updateP();
}
var p = new Number(0);
var dragB = 0;
square_mc.onPress = function () {
drag();
};
square_mc.onRelease = function () {
noDrag();
};
square_mc.onReleaseOutside = function () {
noDrag();
};
bg_mc.onPress = function () {
var v1 = 0;
if (_visible) {
updateP();
if (_ymouse < square_mc._y) {
p -= 0.15;
v1 = 1;
} else {
if (_ymouse > square_mc._y + square_mc._height) {
p += 0.15;
v1 = 1;
}
}
if (v1) {
if (p < 0) {
p = 0;
}
if (p > 1) {
p = 1;
}
square_mc._y = (bg_mc._height - square_mc._height - 1) * p;
updateP();
}
}
};
}
}
movieClip 19859 {
}
movieClip 19860 {
}
movieClip 19861 {
}
movieClip 19869 {
frame 1 {
function addListeners() {
texto_txt.html = true;
if (icono != undefined) {
icon_mc.fotograma = icono;
} else {
icon_mc.fotograma = 1;
}
onRollOver = function () {
mostrar();
};
onDragOver = function () {
mostrar();
};
onRollOut = function () {
ocultar();
};
onDragOut = function () {
ocultar();
};
}
function mostrar() {
_parent.showDes(_x + _parent._x + 20, _y + _parent._y + 27, des, 1);
}
function ocultar() {
_parent.hideDes();
}
var des;
var icono;
addListeners();
}
}
movieClip 19875 {
}
movieClip 19878 {
frame 1 {
stop();
}
}
movieClip 19880 {
frame 1 {
texto_txt.html = true;
}
}
movieClip 19881 characterMC {
frame 1 {
function inicializar() {
button01_mc.texto = 'RETURN TO GAME';
button02_mc.texto = 'INVENTORY';
bg_mc._width = _parent._parent.stageX;
bg_mc._height = _parent._parent.stageY;
bg_mc._y = -_parent._parent.baseY;
bg_mc._x = -_parent._parent.baseX;
}
function accionBoton(etiqueta) {
_parent._parent.sonido_mc.playFX('BOTON');
_parent._parent.fadeOutScreen();
switch (etiqueta) {
case 'button01_mc':
Mouse.removeListener(mouseListener);
_parent.seleccionarPoder('icon0' + _parent._parent.initUIIcons[0] + '_mc');
_parent.closeInventory();
_parent.closeCharacterScreen();
break;
case 'button02_mc':
Mouse.removeListener(mouseListener);
_parent.openInventory();
_parent.closeCharacterScreen();
}
}
function initTopInfo() {
var v2 = 0;
var v4 = Number((_parent._parent.totalAbilities.split(','))[11]);
var v5 = '';
var v3 = '';
name_txt.text = _parent._parent.pjName.toUpperCase();
v2 = Number((_parent._parent.pjConfig01.split(','))[0]);
if (v2 == 0) {
text2_txt.text = 'HUMAN';
} else {
if (v2 == 2) {
text2_txt.text = 'ELF';
} else {
text2_txt.text = 'DWARF';
}
}
text2_txt.text += '\n' + _parent._parent.pjClass.toUpperCase();
if (_parent._parent.pjGender == 1) {
text4_txt.text = 'MALE';
} else {
text4_txt.text = 'FEMALE';
}
text4_txt.text += '\n' + _parent._parent.currentXPLevel;
text6_txt.text = _parent._parent.currentXP + '/' + _parent._parent.experienceLevel(_parent._parent.currentXPLevel);
pb_mc.n = _parent._parent.pLevel() * 100;
pb_mc.updatePorc();
v2 = 10;
while (v2 < 20) {
if (_parent._parent.basePowers[v2] > 0) {
v5 = _parent._parent.getPowerName(v2, _parent._parent.basePowers[v2], v4);
v3 = _parent._parent.getPowerDesc(v2, _parent._parent.basePowers[v2], v4);
innatepower_mc.icono = v2 + 46;
innatepower_mc.texto_txt.htmlText = v5;
innatepower_mc.des = v3;
break;
}
++v2;
}
}
function initLowerInfo() {
var v3 = 0;
var v2 = 0;
var v4 = 0;
pestanas.push(0);
v3 = 2;
while (v3 < 6) {
v2 = 0;
while (v2 < 6) {
v4 = v3 * 10 + v2;
if (_parent._parent.basePowers[v4] > 0) {
pestanas.push(v3);
break;
}
++v2;
}
++v3;
}
updatePestanas();
showLowerInfo();
}
function updatePestanas() {
var v2 = 0;
var v5 = '';
var v3 = '';
var v4 = 5;
v2 = 0;
while (v2 < 5) {
v3 = 'p0' + v2 + '_mc';
if (pestanas[v2] != undefined) {
if (pestanas[v2] == 0) {
v5 = 'Abilities';
} else {
v5 = _parent._parent.powerTable[pestanas[v2] * 10].Cate;
}
pestanas_mc[v3].texto = v5;
pestanas_mc[v3]._visible = true;
} else {
pestanas_mc[v3].texto = '';
pestanas_mc[v3]._visible = false;
}
++v2;
}
v2 = 0;
while (v2 < pestanaActual) {
v3 = 'p0' + v2 + '_mc';
pestanas_mc[v3].swapDepths(v4);
pestanas_mc[v3]._y = 5;
pestanas_mc[v3].iniY = 5;
++v4;
++v2;
}
v4 = 4;
v2 = pestanaActual;
while (v2 < 5) {
v3 = 'p0' + v2 + '_mc';
pestanas_mc[v3].swapDepths(5 - v2);
pestanas_mc[v3]._y = 5;
pestanas_mc[v3].iniY = 5;
--v4;
++v2;
}
v3 = 'p0' + pestanaActual + '_mc';
cover_mc._x = 57 + pestanas_mc[v3]._x;
pestanas_mc[v3].swapDepths(10);
pestanas_mc[v3]._y = 0;
pestanas_mc[v3].iniY = 0;
}
function showLowerInfo() {
if (pestanas[pestanaActual] == 0) {
showAbilities();
} else {
showPowers(pestanas[pestanaActual]);
}
}
function showAbilities() {
cleanVacio();
vacio_mc.attachMovie('characterAbilitiesMC', 'chra_mc', vacio_mc.getNextHighestDepth());
vacio_mc.chra_mc._x = 25;
vacio_mc.chra_mc._y = 20;
}
function showPowers(rama) {
var v5 = 0;
var v12 = rama * 10;
var v6 = 0;
var v3 = 0;
var v4 = 0;
var v7 = 0;
var v10 = 0;
var v11 = Number((_parent._parent.totalAbilities.split(','))[11]);
var v9 = '';
var v8 = '';
var v2 = '';
cleanVacio();
v6 = 0;
while (v6 < 6) {
v3 = v12 + v6;
if (_parent._parent.basePowers[v3] > 0) {
v9 = _parent._parent.getPowerName(v3, _parent._parent.basePowers[v3], v11);
v8 = _parent._parent.getPowerDesc(v3, _parent._parent.basePowers[v3], v11);
v2 = 'pinfo' + v6 + '_mc';
vacio_mc.attachMovie('powerInfoMC', v2, vacio_mc.getNextHighestDepth());
vacio_mc[v2].texto_txt.htmlText = v9;
vacio_mc[v2].textodesc_txt.htmlText = v8;
vacio_mc[v2].textodesc_txt.wordWrap = true;
vacio_mc[v2].textodesc_txt.autoSize = true;
v7 = _parent._parent.experienceLevel(_parent._parent.basePowers[v3] - 1);
v4 = (_parent._parent.expPowers[v3] - v7) / (_parent._parent.experienceLevel(_parent._parent.basePowers[v3]) - v7);
v4 = Math.floor(v4 * 100);
if (v4 < 0) {
v4 = 0;
} else {
if (v4 > 100) {
v4 = 100;
}
}
v5 = vacio_mc[v2].textodesc_txt._height;
if (v5 < 100) {
vacio_mc[v2].removeMovieClip();
if (v5 < 55) {
vacio_mc.attachMovie('powerInfo3MC', v2, vacio_mc.getNextHighestDepth());
} else {
if (v5 < 70) {
vacio_mc.attachMovie('powerInfo4MC', v2, vacio_mc.getNextHighestDepth());
} else {
if (v5 < 85) {
vacio_mc.attachMovie('powerInfo5MC', v2, vacio_mc.getNextHighestDepth());
} else {
if (v5 < 100) {
vacio_mc.attachMovie('powerInfo6MC', v2, vacio_mc.getNextHighestDepth());
}
}
}
}
vacio_mc[v2].texto_txt.htmlText = v9;
vacio_mc[v2].textodesc_txt.htmlText = v8;
vacio_mc[v2].textodesc_txt.wordWrap = true;
vacio_mc[v2].textodesc_txt.autoSize = true;
} else {
vacio_mc[v2].bg_mc._height = Math.round(vacio_mc[v2].textodesc_txt._height) + 48;
}
vacio_mc[v2].textoporc_txt.text = v4 + '%';
vacio_mc[v2].pb_mc.n = v4;
vacio_mc[v2].pb_mc.updatePorc();
if (v3 < 10) {
vacio_mc[v2].icono = v3 + 30;
} else {
if (v3 < 20) {
vacio_mc[v2].icono = v3 + 46;
} else {
if (v3 < 30) {
vacio_mc[v2].icono = v3 + 12;
} else {
if (v3 < 40) {
vacio_mc[v2].icono = v3 + 8;
} else {
if (v3 < 50) {
vacio_mc[v2].icono = v3 + 4;
} else {
vacio_mc[v2].icono = v3;
}
}
}
}
}
vacio_mc[v2]._y = v10;
v10 += Math.round(vacio_mc[v2]._height) + 15;
}
++v6;
}
}
function cleanVacio() {
var v1 = 0;
v1 = 0;
while (v1 < vacio_mc.getNextHighestDepth()) {
(vacio_mc.getInstanceAtDepth(v1)).removeMovieClip();
++v1;
}
}
function gestionScroll() {
if (vacio_mc._height > areaY) {
if (!scrollbar01_mc._visible) {
scrollbar01_mc._visible = true;
}
if (scrollbar01_mc.dragB) {
scrollbar01_mc.updateP();
}
} else {
if (scrollbar01_mc._visible) {
scrollbar01_mc._visible = false;
}
if (vacio_mc._y != vacioY) {
vacio_mc._y = vacioY;
}
}
}
function moveContent(s) {
vacio_mc._y = vacioY - scrollbar01_mc.p * (vacio_mc._height - areaY);
}
function hideDes() {
des_mc._visible = false;
}
function showDes(px, py, texto, bgcolor) {
des_mc._visible = true;
des_mc.texto_txt.htmlText = texto;
des_mc.texto_txt.wordWrap = true;
des_mc.texto_txt.autoSize = true;
des_mc.bg_mc._height = des_mc.texto_txt._height + 10;
des_mc.border_mc._height = des_mc.texto_txt._height + 11;
des_mc.bg_mc.gotoAndStop(bgcolor);
}
var pestanas = new Array();
var pestanaActual = 0;
var vacioY = vacio_mc._y;
var areaY = 200;
stop();
inicializar();
initTopInfo();
initLowerInfo();
hideDes();
onEnterFrame = function () {
gestionScroll();
};
var mouseListener = new Object();
mouseListener.onMouseWheel = function (delta) {
if (delta < 0) {
scrollbar01_mc.mouseScrollDown();
} else {
scrollbar01_mc.mouseScrollUp();
}
};
Mouse.addListener(mouseListener);
}
}
movieClip 19892 enchantMC {
frame 1 {
function mejorarEncantamiento(n) {
var v3 = new Array();
var v2 = new Array();
v2 = (String(_parent._parent.itemEqu)).split(';');
v3 = v2[enchantIndex].split(',');
if (_parent._parent.miscInv[0] >= costG && hayP(n) > 0 && porcInc(n) < 1) {
_parent._parent.sonido_mc.playFX('ENCHANT');
v3[enchantLines[n].pcad] = Number(v3[enchantLines[n].pcad]) + 1;
--_parent._parent.miscInv[enchantLines[n].enct + 3];
_parent._parent.miscInv[0] -= costG;
v2[enchantIndex] = v3.join(',');
_parent._parent.itemEqu = v2.join(';');
startEnchant();
actualizarOro();
actualizarPot();
}
}
function hayP(n) {
var v2 = 0;
v2 = _parent._parent.miscInv[enchantLines[n].enct + 3];
return v2;
}
function porcInc(n) {
var v1 = 0;
var v3 = 0;
var v2 = 0;
var v4 = 0;
v3 = actPot(n);
v2 = maxPot(n);
if (v2 < v3) {
v1 = 1;
} else {
v1 = v3 / v2;
}
if (v1 > 1) {
v1 = 1;
}
return v1;
}
function nPot(n) {
var v2 = 0;
v2 = 1 / _parent._parent.magicStatsE[enchantLines[n].pcad - 15];
if (v2 < 1) {
v2 = 1;
}
return v2;
}
function enchantT(n) {
return tiposEncantamientos[enchantLines[n].enct];
}
function actPot(n) {
var v3 = new Array();
var v2 = new Array();
var v4 = 0;
v2 = (String(_parent._parent.itemEqu)).split(';');
v3 = v2[enchantIndex].split(',');
v4 = Number(v3[enchantLines[n].pcad]);
return v4;
}
function maxPot(n) {
var v4 = 0;
var v3 = 0;
var v2 = 0;
var v6 = new Array();
var v8 = new Array();
var v5 = _parent._parent.currentXPLevel;
if (_parent._parent.gameDif == 2) {
v5 = Math.round(v5 * 1.5);
}
v8 = (String(_parent._parent.itemEqu)).split(';');
v6 = v8[enchantIndex].split(',');
v2 = v5 / Number((_parent._parent.itemBD[v6[30]].split(';'))[5]);
v3 = (_parent._parent.itemBD[v6[30]].split(';'))[enchantLines[n].pcad - 2];
v3 *= v2;
v2 = nPot(n);
v3 = Math.floor(v3 / v2) * v2;
if (v3 == 0) {
v3 = Math.round(v5 / 2);
v2 = v5 / Number((_parent._parent.itemBD[v6[30]].split(';'))[5]);
if (enchantLines[n].pcad == 22) {
v4 = (_parent._parent.itemBD[v6[30]].split(';'))[21];
if (v4 != 0) {
v3 = v4 * v2;
v2 = 1 / _parent._parent.magicStatsE[8];
if (v2 < 1) {
v2 = 1;
}
v3 = Math.floor(v3 / v2) * v2;
} else {
v3 = Math.round(v5 / 4);
}
}
if (enchantLines[n].pcad == 23) {
v4 = (_parent._parent.itemBD[v6[30]].split(';'))[20];
if (v4 != 0) {
v3 = v4 * v2;
v2 = 1 / _parent._parent.magicStatsE[7];
if (v2 < 1) {
v2 = 1;
}
v3 = Math.floor(v3 / v2) * v2;
} else {
v3 = Math.round(v5 / 4);
}
}
if (enchantLines[n].pcad == 24) {
v4 = (_parent._parent.itemBD[v6[30]].split(';'))[23];
if (v4 != 0) {
v3 = v4 * v2;
v2 = 1 / _parent._parent.magicStatsE[10];
if (v2 < 1) {
v2 = 1;
}
v3 = Math.floor(v3 / v2) * v2;
} else {
v3 = Math.round(v5 / 4);
}
}
if (enchantLines[n].pcad == 25) {
v4 = (_parent._parent.itemBD[v6[30]].split(';'))[22];
if (v4 != 0) {
v3 = v4 * v2;
v2 = 1 / _parent._parent.magicStatsE[9];
if (v2 < 1) {
v2 = 1;
}
v3 = Math.floor(v3 / v2) * v2;
} else {
v3 = Math.round(v5 / 4);
}
}
}
v2 = actPot(n);
if (v3 < v2) {
v3 = v2;
}
return v3;
}
function actualizarPot() {
enc1_txt.text = tiposEncantamientos[0] + '\nenchantment (' + _parent._parent.miscInv[3] + ')';
enc2_txt.text = tiposEncantamientos[1] + '\nenchantment (' + _parent._parent.miscInv[4] + ')';
enc3_txt.text = tiposEncantamientos[2] + '\nenchantment (' + _parent._parent.miscInv[5] + ')';
enc4_txt.text = tiposEncantamientos[3] + '\nenchantment (' + _parent._parent.miscInv[6] + ')';
enc5_txt.text = tiposEncantamientos[4] + '\nenchantment (' + _parent._parent.miscInv[7] + ')';
}
function actualizarOro() {
if (_parent._parent.miscInv[0] > 1000000000) {
gold_txt.text = Math.round(_parent._parent.miscInv[0] / 1000000) + 'M';
} else {
if (_parent._parent.miscInv[0] > 1000000) {
gold_txt.text = Math.round(_parent._parent.miscInv[0] / 1000) + 'K';
} else {
gold_txt.text = _parent._parent.miscInv[0];
}
}
}
function actualizar() {
var v3 = new Array('left01_mc', 'right01_mc', 'left02_mc', 'right02_mc', 'head_mc', 'body_mc', 'acc01_mc', 'acc02_mc', 'acc03_mc', 'acc04_mc', 'acc05_mc');
var v2 = 0;
actualizarOro();
actualizarPot();
v2 = 0;
while (v2 < v3.length) {
if (v3[v2] == equipSelect) {
this[v3[v2]].attachMovie('inventorySelectedWeaponMC', 'select_mc', 15);
} else {
this[v3[v2]].select_mc.removeMovieClip();
}
++v2;
}
}
function seleccionarI(s) {
var v3 = new Array('left01_mc', 'right01_mc', 'left02_mc', 'right02_mc', 'head_mc', 'body_mc', 'acc01_mc', 'acc02_mc', 'acc03_mc', 'acc04_mc', 'acc05_mc');
var v2 = 0;
var v5 = new Array();
v2 = 0;
while (v2 < v3.length) {
if (v3[v2] == s) {
break;
}
++v2;
}
if (v3[v2] == s) {
v5 = (String(_parent._parent.itemEqu)).split(';');
if (v5[v2] != '') {
equipSelect = s;
enchantIndex = v2;
actualizar();
startEnchant();
}
}
}
function startEnchant() {
var v6 = new Array();
var v5 = new Array();
var v4 = 0;
var v2 = 0;
var v3 = 0;
var v7 = '';
enchC_mc.removeMovieClip();
v4 = 0;
while (v4 < enchantLines.length) {
delete enchantLines[v4];
++v4;
}
enchantLines.splice(0, enchantLines.length);
v6 = (String(_parent._parent.itemEqu)).split(';');
enchantTitu = _parent._parent.getItemName(v6[enchantIndex]);
enchantDesc = _parent._parent.getItemDescription(v6[enchantIndex]);
v6 = (_parent._parent.getItemStats(v6[enchantIndex])).split('\n');
v4 = 0;
while (v4 < v6.length) {
v5 = v6[v4].split('!');
v3 = enchantLines.length;
enchantLines[v3] = new Object();
if (v5[0] == 'MAGIC') {
v7 = (v5[1].split(':'))[0];
v2 = 0;
while (v2 < _parent._parent.magicStats.length) {
if (_parent._parent.magicStats[v2] == v7) {
enchantLines[v3].text = v5[1];
enchantLines[v3].enct = _parent._parent.magicStatsEN[v2];
enchantLines[v3].pcad = v2 + 15;
break;
}
++v2;
}
} else {
enchantLines[v3].text = v6[v4];
enchantLines[v3].enct = -1;
enchantLines[v3].pcad = -1;
}
++v4;
}
attachMovie('enchantControlsMC', 'enchC_mc', 1);
enchC_mc._x = _x + 240;
enchC_mc._y = _y + 100;
}
function inicializar() {
var v3 = 0;
var v7 = 0;
var v4 = new String('');
var v5 = new Array();
var v6 = new Array();
var v8 = new String('left01_mc,right01_mc,left02_mc,right02_mc,head_mc,body_mc,acc01_mc,acc02_mc,acc03_mc,acc04_mc,acc05_mc');
v5 = (String(_parent._parent.itemEqu)).split(';');
v6 = v8.split(',');
v3 = 0;
while (v3 < v5.length) {
if (v5[v3] != '' && v5[v3] != undefined && v5[v3] != null) {
setIcono(v5[v3], v6[v3]);
} else {
this[v6[v3]].fotograma = 1;
this[v6[v3]].actualizar();
}
++v3;
}
v3 = 0;
while (v3 < _parent._parent.itemReqOk.length) {
v7 = _parent._parent.itemReqOk[v3];
if (v3 == 0) {
v4 = 'left01_mc';
} else {
if (v3 == 1) {
v4 = 'right01_mc';
} else {
if (v3 == 2) {
v4 = 'left02_mc';
} else {
if (v3 == 3) {
v4 = 'right02_mc';
} else {
if (v3 == 4) {
v4 = 'head_mc';
} else {
if (v3 == 5) {
v4 = 'body_mc';
} else {
if (v3 == 6) {
v4 = 'acc01_mc';
} else {
if (v3 == 7) {
v4 = 'acc02_mc';
} else {
if (v3 == 8) {
v4 = 'acc03_mc';
} else {
if (v3 == 9) {
v4 = 'acc04_mc';
} else {
if (v3 == 10) {
v4 = 'acc05_mc';
}
}
}
}
}
}
}
}
}
}
}
if (v7 != 1) {
this[v4].attachMovie('itemNoEquipable', 'noEq_mc', 10);
} else {
if (this[v4].noEq_mc != undefined) {
this[v4].noEq_mc.removeMovieClip();
}
}
++v3;
}
button01_mc.texto = 'RETURN TO GAME';
bg_mc._width = _parent._parent.stageX;
bg_mc._height = _parent._parent.stageY;
bg_mc._y = -_parent._parent.baseY;
bg_mc._x = -_parent._parent.baseX;
v5 = v8.split(',');
v3 = 0;
while (v3 < v5.length) {
this[v5[v3]].onPress = function () {
seleccionarI(this._name);
};
this[v5[v3]].onRollOver = function () {
overItemE(this._name);
};
this[v5[v3]].onDragOver = function () {
overItemE(this._name);
};
this[v5[v3]].onRollOut = function () {
hideItem();
};
this[v5[v3]].onDragOut = function () {
hideItem();
};
++v3;
}
}
function selectItem(s) {
var v2 = 0;
var v4 = new Array();
if (s.charAt(0) == 'm') {
v2 = Number(((s.split('mer'))[1].split('_'))[0]) - 1;
if (merchantItems[v2] != '') {
if (merchantSelect[v2] == 1) {
merchantSelect[v2] = 0;
} else {
merchantSelect[v2] = 1;
}
}
} else {
if (s.charAt(0) == 'i') {
v2 = Number(((s.split('inv'))[1].split('_'))[0]) - 1;
v4 = _parent._parent.itemInv.split(';');
if (v4[v2] != '') {
if (inventorySelect[v2] == 1) {
inventorySelect[v2] = 0;
} else {
inventorySelect[v2] = 1;
}
}
}
}
actualizar();
}
function accionBoton(etiqueta) {
_parent._parent.sonido_mc.playFX('BOTON');
_parent._parent.fadeOutScreen();
switch (etiqueta) {
case 'button01_mc':
_parent._parent.actualizarAbilitiesVars();
_parent.closeEnchant();
break;
case 'button02_mc':
}
}
function overItemE(ori) {
var v7 = new Array();
var v6 = 0;
var v5 = 0;
var v3 = 0;
v6 = this[ori]._x - 1;
v5 = this[ori]._y - 1;
if (ori == 'left01_mc') {
v3 = 0;
} else {
if (ori == 'right01_mc') {
v3 = 1;
} else {
if (ori == 'left02_mc') {
v3 = 2;
} else {
if (ori == 'right02_mc') {
v3 = 3;
} else {
if (ori == 'head_mc') {
v3 = 4;
} else {
if (ori == 'body_mc') {
v3 = 5;
} else {
if (ori == 'acc01_mc') {
v3 = 6;
} else {
if (ori == 'acc02_mc') {
v3 = 7;
} else {
if (ori == 'acc03_mc') {
v3 = 8;
} else {
if (ori == 'acc04_mc') {
v3 = 9;
} else {
if (ori == 'acc05_mc') {
v3 = 10;
}
}
}
}
}
}
}
}
}
}
}
v7 = (String(_parent._parent.itemEqu)).split(';');
j = _parent._parent.itemReqOk[v3];
if (j == 0) {
overItem(v7[v3], v6, v5, 0, 1, 0);
} else {
overItem(v7[v3], v6, v5, 0, 0, 0);
}
}
function overItem(auxs, desX, desY, align, redreq, v) {
var v7 = new Array();
var v6 = new String('');
var v5 = new String('');
var v3 = new String('');
var v4 = new String('');
if (auxs != '' && auxs != undefined && auxs != null) {
v7 = auxs.split(',');
v6 = _parent._parent.getItemName(auxs);
if (v7.length > 2) {
v5 = _parent._parent.getItemReqs(auxs);
v3 = _parent._parent.getItemDescription(auxs);
v4 = _parent._parent.getItemStats(auxs);
} else {
v3 = _parent._parent.getItemDescription(auxs);
}
showItem(v6, v5, v3, v4, desX, desY, align, redreq, v);
}
}
function showItem(t1, t2, t3, t4, desX, desY, align, redreq, v) {
var v1 = new String('');
if (t4 == '') {
v1 = t3;
} else {
v1 = t3 + '\n' + t4;
}
if (t1 != '' && t1 != undefined && t1 != null) {
attachMovie('itemInfoMC', 'iteminfo_mc', 3);
iteminfo_mc.titulo = t1;
iteminfo_mc.descripcion = v1;
iteminfo_mc.requisitos = t2;
iteminfo_mc.alinea = align;
iteminfo_mc.reqRojo = redreq;
iteminfo_mc.valor = v;
iteminfo_mc.actualizar();
iteminfo_mc._x = desX;
iteminfo_mc._y = desY;
}
}
function setIcono(item, mc) {
var v3 = new Array();
v3 = item.split(',');
if (v3.length > 2) {
this[mc].fotograma = 2;
this[mc].iIcon = Number(v3[6]);
this[mc].iBG = Number(v3[7]);
this[mc].iColor = Number(v3[5]);
this[mc].actualizar();
} else {
if (v3[0] == 'potion') {
if (v3[1] == '1') {
this[mc].fotograma = 3;
} else {
if (v3[1] == '2') {
this[mc].fotograma = 4;
} else {
this[mc].fotograma = 5;
}
}
this[mc].actualizar();
} else {
if (v3[0] == 'gold') {
this[mc].fotograma = 6;
this[mc].actualizar();
} else {
if (auxs[0] == 'quest') {
}
}
}
}
}
function hideItem() {
iteminfo_mc.removeMovieClip();
}
var equipSelect = '';
var enchantIndex = 0;
var enchantTitu = '';
var enchantDesc = '';
var enchantLines = new Array();
var costG = 500;
var tiposEncantamientos = new Array('corporal', 'spiritual', 'speed', 'master', 'hardening');
inicializar();
actualizar();
}
}
movieClip 19893 {
}
movieClip 19895 {
}
movieClip 19897 {
}
movieClip 19899 {
}
movieClip 19902 itemInfoMC {
frame 1 {
function actualizar() {
var v9 = new Number(29);
var v5 = new Array();
var v6 = new Array();
var v3 = new String('');
var v4 = new Number(0);
var v8 = new TextFormat();
var v7 = new TextFormat();
v8 = requ_txt.getTextFormat();
v7 = requ_txt.getTextFormat();
myFormat3 = requ_txt.getTextFormat();
v8.align = 'left';
v7.align = 'left';
v7.color = 10056546;
if (titulo == undefined) {
titulo = '';
}
if (descripcion == undefined) {
descripcion = '';
}
if (requisitos == undefined) {
requisitos = '';
}
if (alinea == undefined) {
alinea = 0;
}
titu_txt.text = titulo.toUpperCase();
descripcion = descripcion.toLowerCase();
v5 = descripcion.split('\n');
v4 = 0;
while (v4 < v5.length) {
v6 = v5[v4].split('!');
v3 = 'text' + v4;
this.createTextField(v3, v4 + 10, 9, v4 * 20 + 40, 287, 20);
if (v6[0] == 'magic' && v6.length == 2) {
v5[v4] = v6[1];
this[v3].text = v5[v4];
this[v3].setTextFormat(v7);
} else {
this[v3].text = v5[v4];
this[v3].setTextFormat(v8);
}
this[v3].antiAliasType = 'advanced';
this[v3].embedFonts = true;
this[v3].sharpness = -400;
this[v3].thickness = 200;
this[v3].autoSize = true;
this[v3].wordWrap = true;
this[v3].selectable = false;
this[v3].filters = requ_txt.filters;
++v4;
}
v4 = 0;
if (v5.length == 6) {
v4 = 3;
} else {
if (v5.length == 4) {
v4 = 5;
} else {
if (v5.length == 3) {
v4 = 5;
}
}
}
v9 = v5.length * 20 - 10 + v4;
v4 = v5.length * 20 + 20;
if (requisitos != '') {
requ_txt.text = requisitos.toLowerCase();
requ_txt._y = v5.length * 20 + 20;
v4 -= 20;
if (reqRojo == 1) {
requ_txt.textColor = 10027008;
}
}
if (valor != undefined && valor != 0) {
v3 = 'valor_txt';
this.createTextField(v3, this.getNextHighestDepth(), 9, v4, 265, 20);
this[v3].text = valor;
this[v3].setTextFormat(myFormat3);
this[v3].antiAliasType = 'advanced';
this[v3].embedFonts = true;
this[v3].sharpness = -400;
this[v3].thickness = 200;
this[v3].autoSize = true;
this[v3].wordWrap = true;
this[v3].selectable = false;
this[v3].filters = requ_txt.filters;
attachMovie('smallGoldMC', 'smallg_mc', this.getNextHighestDepth());
this.smallg_mc._x = 276;
this.smallg_mc._y = v4;
}
if (v9 < 25) {
v9 = 25;
}
lado_mc.mask_mc._height = v9 + 3;
v4 = 0;
infe_mc._y = Math.round(lado_mc._y + v9 - v4);
fondo_mc._height = infe_mc._y + infe_mc._height - 5;
_y = _y + 14;
_x = _x + 14;
if (alinea == 1) {
_y = _y - (64 + v9);
} else {
_y = _y - 1;
}
_x = _x + -Math.round(_width / 2);
if (_x + infe_mc._width + _parent._x + _parent._parent._x > _parent._parent._parent.stageX) {
_x = _parent._parent._parent.stageX - infe_mc._width - 10 - _parent._x - _parent._parent._x;
}
if (_y + infe_mc._y + infe_mc._height + _parent._y + _parent._parent._y > _parent._parent._parent.stageY) {
_y = _parent._parent._parent.stageY - infe_mc._y - infe_mc._height - 10 - _parent._y - _parent._parent._y;
}
if (_x < -_parent._x - _parent._parent._x) {
_x = -_parent._x - _parent._parent._x;
}
if (_y < -_parent._y - _parent._parent._y) {
_y = -_parent._y - _parent._parent._y;
}
_x = Math.round(_x);
_y = Math.round(_y);
}
var titulo;
var descripcion;
var requisitos;
var alinea;
var reqRojo;
var valor;
actualizar();
}
}
movieClip 19907 {
}
movieClip 19908 {
frame 1 {
function updateText() {
texto_mc.texto_txt.text = texto;
}
var texto;
stop();
if (texto != undefined && texto != '') {
texto_mc.texto_txt.text = texto;
}
onRelease = function () {
_parent.accionBoton(this._name);
};
onPress = function () {};
}
}
movieClip 19912 {
}
movieClip 19913 {
frame 1 {
function updateText() {
texto_mc.texto_txt.text = texto;
}
var texto;
var iniY;
var iniX;
if (iniY == undefined) {
iniY = _y;
iniX = _x;
}
stop();
if (texto != undefined && texto != '') {
texto_mc.texto_txt.text = texto;
}
onRelease = function () {
_y = iniY;
_x = iniX;
_parent.accionBoton(this._name);
};
onPress = function () {
_y = iniY + 2;
_x = iniX + 2;
};
onRollOver = function () {
gotoAndPlay(2);
};
onDragOver = function () {
gotoAndPlay(2);
};
onRollOut = function () {
_y = iniY;
_x = iniX;
gotoAndStop(1);
};
onDragOut = function () {
_y = iniY;
_x = iniX;
gotoAndStop(1);
};
}
}
movieClip 19914 journalMC {
frame 1 {
function fillQuestInfo() {
var v1 = new Array();
questInfo[0] = new Array();
questInfo[1] = new Array();
questInfo[2] = new Array();
questInfo[3] = new Array();
questInfo[4] = new Array();
questInfo[7] = new Array();
questInfo[8] = new Array();
questInfo[9] = new Array();
questInfo[10] = new Array();
questInfo[0][0] = 'Elixir Of Heroes';
questInfo[1][0] = 'Bandits!';
questInfo[2][0] = 'Hideous Noises';
questInfo[3][0] = 'The Undead Army';
questInfo[4][0] = 'The Stolen Artifact';
questInfo[7][0] = 'The Dungeon\'s Mystery';
questInfo[8][0] = 'The Alchemist\'s Basement';
questInfo[9][0] = 'Dungeon Explorer';
questInfo[10][0] = 'Blackmail';
v1.splice(0, v1.length);
v1[2] = 'Find the way to Urnebbar';
v1[3] = 'Find the magician of Urnebbar and ask him to brew the elixir of heroes.';
v1[4] = 'Locate the spider silk for Shardenias.';
v1[5] = 'Deliver the spider silk to Shardenias.';
v1[6] = 'Talk to Shardenias and drink the elixir once it is ready.';
questInfo[0][1] = v1.join('-c-');
v1.splice(0, v1.length);
v1[2] = 'Locate bandits\' lair in the forest to the northwest of Urnebbar.';
v1[3] = 'Find the leader of the bandits.';
questInfo[1][1] = v1.join('-c-');
v1.splice(0, v1.length);
v1[2] = 'Talk with Isis, you can locate her at the south gate of the city.';
v1[3] = 'Explore the caves to east of Urnebbar.';
v1[4] = 'Continue exploring the caves deeper and kill all the undeads you can.';
v1[5] = 'Go back to Urnebbar and talk with Isis.';
questInfo[2][1] = v1.join('-c-');
v1.splice(0, v1.length);
v1[2] = 'Explore the first crypt marked on your map.';
v1[3] = 'Explore the crypt of the town marked on your map.';
v1[4] = 'Go back to Urnebbar and talk with Isis.';
v1[5] = 'Enter into the crypt of Urnebbar and kill the necromancer before he finds the artifact.';
v1[6] = 'Talk with Isis.';
questInfo[3][1] = v1.join('-c-');
v1.splice(0, v1.length);
v1[2] = 'Head to the wizard\'s tower and talk with Dargolus about the relic.';
v1[3] = 'Head to New Isantir.';
v1[4] = 'Go to the city of the vampires.';
v1[5] = 'Go through the city of vampires to gain access to the dungeon.';
v1[6] = 'Find and kill Zalmerion.';
questInfo[4][1] = v1.join('-c-');
v1.splice(0, v1.length);
v1[2] = 'Find the dungeon and the secret inside of it.';
v1[3] = 'Get out of the dungeon.';
questInfo[7][1] = v1.join('-c-');
v1.splice(0, v1.length);
v1[2] = 'Find the house and kill the spiders of the basement.';
questInfo[8][1] = v1.join('-c-');
v1.splice(0, v1.length);
v1[2] = 'Go to the dungeon to the west of New Isantir and explore it.';
questInfo[9][1] = v1.join('-c-');
v1.splice(0, v1.length);
v1[2] = 'Help the farmer with the bandits.';
v1[3] = 'Talk with the farmer.';
questInfo[10][1] = v1.join('-c-');
v1.splice(0, v1.length);
v1[2] = 'I start the search of the elixir of heroes in the region of Prounteril. Whoever drinks it will have their physical and mental capabilities increased. According to the notes i found, the magician of Urnebbar should be able to create this potion.';
v1[3] = v1[2];
v1[4] = 'Shardenias has promised to help me if i can find the silk of a giant spider. He has marked on my map the location of a nearby cave where i should be able to find it.';
v1[5] = 'I found the spider silk, it\'s time to go back to Urnebbar and talk to the magician.';
v1[6] = 'I have given the potion reagent to Shardenias, he will have the potion ready soon.';
v1[1] = 'Shardenias made the elixir of heroes for me, the wizard told me that the potion effect is permanent. After drinking it i feel stronger, faster and more perceptive.';
questInfo[0][2] = v1.join('-c-');
v1.splice(0, v1.length);
v1[2] = 'I was ambushed by a group of bandits on my way back to to Urnebbar. I found a note in the bandit\'s chief body with their last assaults, their lair could be located inside the forest to the northwest of Urnebbar, i should head there to investigate.';
v1[3] = 'I have found their base. Now it is time to enter and find out who is behind the assaults.';
v1[1] = 'I met the leader of the bandits and i killed him and his henchmen.';
questInfo[1][2] = v1.join('-c-');
v1.splice(0, v1.length);
v1[2] = 'Shardenias told me that captain Isis wants to speak with me, i can locate her in the south gate of the town.';
v1[3] = 'Isis told me that some villagers have heard strange noises in caves to the east of Urnebbar. She has given me 2500 in advance for the task. I must find out what happens in these caverns.';
v1[4] = 'The caves are infested with undeads, i will continue deeper to see what i discover.';
v1[5] = 'There is definitely something weird going on, too many undeads. I must inform Isis in Urnebbar.';
v1[1] = 'Isis has rewarded me with another 2500 gold coins for my time and asked me to help her investigate the matter of the undeads.';
questInfo[2][2] = v1.join('-c-');
v1.splice(0, v1.length);
v1[2] = 'After investigating the caves we concluded that someone might be gathering an army of undeads, i must investigate the nearby crypts.';
v1[3] = 'I have killed the necromancer of the crypt, it might be an organized attack, i must visit the second crypt marked on the map to see if i can find something more.';
v1[4] = 'I killed the necromancers of the two crypts. I suppose that those dark magicians were the ones leading the undead, although i have no proof.';
v1[5] = 'Someone has infiltrated in the crypt of Urnebbar during the attack, Isis has told me that in one of the tombs there is an artifact of great power that should not fall into the hands of any necromancer.';
v1[6] = 'The Necromancer has escaped with the artifact, i must speak with Isis.';
v1[1] = 'Shardenias told me that he knows nothing about the artifact hidden in the crypt of Urnebbar. However, he told me that an old wizard in the region may know something. He has marked on my map the site where I can find him.';
questInfo[3][2] = v1.join('-c-');
v1.splice(0, v1.length);
v1[2] = 'To find out more information about the artifact i have to visit an old wizard in the region. He lives in a tower that Shardenias has marked on my map.';
v1[3] = 'The old wizard has told me about the importance of the artifact: it is not just a weapon of great power, it is also a key to open gates to other planes. The power of the staff is increased if it used in a dungeon beyond New Isantir.';
v1[4] = v1[3];
v1[5] = v1[3];
v1[6] = v1[3];
v1[1] = 'I have destroyed Zalmerion and retrieved the artifact, setting free the people of Prounteril of the threat of the undead.';
questInfo[4][2] = v1.join('-c-');
v1.splice(0, v1.length);
v1[2] = 'It is rumored there\'s a dungeon nearby where a wizard hid some kind of secret. Maybe it is a relic or a treasure, i don\'t know yet, but all the clues i found led me here.';
v1[3] = 'I found some gold and items in the dungeon but what caught my attention was a recipe for an elixir.';
v1[1] = 'An alchemist should be able to brew the elixir with the notes i found in the dungeon. If i recall correctly there is a wizard in Urnebbar who is good at creating potions, i\'ll head there.';
questInfo[7][2] = v1.join('-c-');
v1.splice(0, v1.length);
v1[2] = 'I met an alchemist, Reginald, he told me that spiders have invaded the basement of his laboratory, which is located in a forest to the west of the town where i found him and that i can take what i want of the chests in there if i clear it.';
v1[1] = 'My task is completed, i have killed all the spiders of the basement.';
questInfo[8][2] = v1.join('-c-');
v1.splice(0, v1.length);
v1[2] = 'A warrior mentioned a dungeon to the west of New Isantir, i should go there to investigate, maybe i\'ll find something useful to help me in my adventures.';
v1[1] = 'I have destroyed most of the evil forces inside the dungeon and i found a few items that could be useful.';
questInfo[9][2] = v1.join('-c-');
v1.splice(0, v1.length);
v1[2] = 'It looks like some bandits are taking the gold of the people of the region, i found a farmer who was really scared. I must help this man.';
v1[3] = 'I have taken care of the bandits, they should no longer bother the farmer.';
v1[1] = '';
questInfo[10][2] = v1.join('-c-');
}
function getQuestTitle(qId) {
var v1 = '';
if (qId < questInfo.length) {
v1 = questInfo[qId][0];
}
return v1;
}
function getQuestObjetive(qId, qS) {
var v1 = '';
if (qId < questInfo.length) {
v1 = (questInfo[qId][1].split('-c-'))[qS];
}
return v1;
}
function getQuestDescription(qId, qS) {
var v1 = '';
if (qId < questInfo.length) {
v1 = (questInfo[qId][2].split('-c-'))[qS];
}
return v1;
}
function getQuestFullDescription(qId) {
var v6 = '';
var v5 = '';
var v2 = new Array();
var v3 = new Array();
var v1 = 0;
var v4 = 1;
if (qId < questInfo.length) {
v2 = questInfo[qId][2].split('-c-');
v1 = 2;
while (v1 < v2.length) {
if (v5 != v2[v1]) {
if (v2[v1] != '' && v2[v1] != undefined) {
v3.push('Entry #' + v4);
v3.push('\n');
v3.push(v2[v1]);
v3.push('\n\n');
++v4;
}
}
v5 = v2[v1];
++v1;
}
if (v2[1] != '' && v2[1] != undefined) {
v3.push('Entry #' + v4);
v3.push('\n');
v3.push(v2[1]);
v3.push('\n\n');
++v4;
}
}
v6 = v3.join('');
return v6;
}
function clearInfo() {
var v1 = 0;
var v2 = vacio_mc.getNextHighestDepth();
v1 = 0;
while (v1 < v2) {
(vacio_mc.getInstanceAtDepth(v1)).removeMovieClip();
++v1;
}
}
function showPending() {
var v2 = 0;
var v6 = 0;
var v5 = 0;
var v7 = 0;
var v4 = '';
var v3 = '';
indiceActual = 0;
clearInfo();
scrollbar01_mc.updateS(0);
vacio_mc.attachMovie('journalQuestTopTitleMC', 'titulo_mc', vacio_mc.getNextHighestDepth());
vacio_mc.titulo_mc.titulo = 'Pending Quests';
v7 = 100;
v2 = 0;
while (v2 < v7) {
v6 = _parent._parent.quesInv[v2];
if (v6 > 1) {
v4 = getQuestTitle(v2);
if (v4 != undefined) {
v3 = 'tit' + v2 + '_mc';
vacio_mc.attachMovie('journalQuestTitleMC', v3, vacio_mc.getNextHighestDepth());
vacio_mc[v3].texto = v4;
vacio_mc[v3]._y = v5 * 31 + 35;
vacio_mc[v3].id = v2;
++v5;
}
}
++v2;
}
}
function showCompleted() {
var v2 = 0;
var v6 = 0;
var v5 = 0;
var v7 = 0;
var v4 = '';
var v3 = '';
indiceActual = 1;
clearInfo();
scrollbar01_mc.updateS(0);
vacio_mc.attachMovie('journalQuestTopTitleMC', 'titulo_mc', vacio_mc.getNextHighestDepth());
vacio_mc.titulo_mc.titulo = 'Completed Quests';
v7 = 100;
v2 = 0;
while (v2 < v7) {
v6 = _parent._parent.quesInv[v2];
v4 = getQuestTitle(v2);
if (v6 == 1 && v4 != undefined && v4 != '') {
v3 = 'tit' + v2 + '_mc';
vacio_mc.attachMovie('journalQuestTitleMC', v3, vacio_mc.getNextHighestDepth());
vacio_mc[v3].texto = v4;
vacio_mc[v3]._y = v5 * 31 + 35;
vacio_mc[v3].id = v2;
++v5;
}
++v2;
}
}
function showQuest(qId) {
clearInfo();
scrollbar01_mc.updateS(0);
if (qId < questInfo.length) {
if (_parent._parent.quesInv[qId] == 1) {
vacio_mc.attachMovie('journalCompletedQuestMC', 'quest_mc', vacio_mc.getNextHighestDepth());
vacio_mc.quest_mc.titulo = getQuestTitle(qId);
vacio_mc.quest_mc.descripcion = getQuestFullDescription(qId);
} else {
if (_parent._parent.quesInv[qId] > 1) {
vacio_mc.attachMovie('journalPendingQuestMC', 'quest_mc', vacio_mc.getNextHighestDepth());
vacio_mc.quest_mc.titulo = getQuestTitle(qId);
vacio_mc.quest_mc.descripcion = getQuestDescription(qId, _parent._parent.quesInv[qId]);
vacio_mc.quest_mc.objetivo = 'Objetive: ' + getQuestObjetive(qId, _parent._parent.quesInv[qId]);
}
}
}
}
function goBack() {
if (indiceActual == 0) {
showPending();
button02_mc.texto = 'Completed Quests';
} else {
showCompleted();
button02_mc.texto = 'Pending Quests';
}
button02_mc.updateText();
}
function accionBoton(etiqueta) {
_parent._parent.sonido_mc.playFX('PAPER');
switch (etiqueta) {
case 'button01_mc':
_parent.closeJournal();
break;
case 'button02_mc':
if (button02_mc.texto == 'Pending Quests') {
showPending();
button02_mc.texto = 'Completed Quests';
} else {
showCompleted();
button02_mc.texto = 'Pending Quests';
}
button02_mc.updateText();
}
}
function inicializar() {
var v2 = 0;
var v3 = 0;
var v6 = 0;
var v4 = 0;
var v5 = 0;
button01_mc.texto = 'CLOSE JOURNAL';
button02_mc.texto = 'Completed Quests';
bg_mc._width = _parent._parent.stageX;
bg_mc._height = _parent._parent.stageY;
if (bg_mc._width > 640 || bg_mc._height > 480) {
bg_mc._x = -_parent._x;
bg_mc._y = -Math.round(_parent._y / 2);
_y = -Math.round(_parent._y / 2);
}
if (showQuestOnInit == undefined) {
v5 = 100;
v2 = 0;
while (v2 < v5) {
v3 = _parent._parent.quesInv[v2];
if (v3 > 1) {
v4 = v2;
++v6;
}
++v2;
}
if (v6 == 1) {
showQuestOnInit = v4;
}
}
fillQuestInfo();
if (showQuestOnInit != undefined) {
showQuest(showQuestOnInit);
} else {
if (_parent._parent.quesInv[7] == 1 && _parent._parent.quesInv[0] == 0) {
indiceActual = 1;
button02_mc.texto = 'Pending Quests';
showQuest(7);
} else {
v5 = 100;
v4 = 0;
v2 = 0;
while (v2 < v5) {
v3 = _parent._parent.quesInv[v2];
if (v3 > 1) {
if (getQuestTitle(v2) != undefined) {
v4 = 1;
break;
}
}
++v2;
}
if (v4) {
showPending();
} else {
button02_mc.texto = 'Pending Quests';
indiceActual = 1;
showCompleted();
}
}
}
}
function gestionScroll() {
if (vacio_mc._height > areaY) {
if (!scrollbar01_mc._visible) {
scrollbar01_mc._visible = true;
}
if (scrollbar01_mc.dragB) {
scrollbar01_mc.updateP();
}
} else {
if (scrollbar01_mc._visible) {
scrollbar01_mc._visible = false;
}
if (vacio_mc._y != vacioY) {
vacio_mc._y = vacioY;
}
}
}
function moveContent(s) {
vacio_mc._y = vacioY - scrollbar01_mc.p * (vacio_mc._height - areaY);
}
var showQuestOnInit;
var questInfo = new Array();
var vacioY = vacio_mc._y;
var areaY = 336;
var indiceActual = 0;
inicializar();
onEnterFrame = function () {
gestionScroll();
};
var mouseListener = new Object();
mouseListener.onMouseWheel = function (delta) {
if (delta < 0) {
scrollbar01_mc.mouseScrollDown();
} else {
scrollbar01_mc.mouseScrollUp();
}
};
Mouse.addListener(mouseListener);
}
}
movieClip 19918 {
frame 1 {
texto_txt.html = true;
}
}
movieClip 19919 {
}
movieClip 19920 {
}
movieClip 19921 {
}
movieClip 19927 {
frame 1 {
function openGuide() {
_parent.closeSelectionBoxes();
getURL('http://www.firevictory.com/VSguide.html', '_blank');
}
stop();
onRelease = function () {
openGuide();
};
onRollOut = function () {
gotoAndStop(1);
};
onDragOut = function () {
gotoAndStop(1);
};
onRollOver = function () {
gotoAndPlay(2);
};
onDragOver = function () {
gotoAndPlay(2);
};
}
frame 5 {
stop();
}
}
movieClip 19928 levelUpMC {
frame 1 {
function inicializar() {
if (this._name == 'powers_mc') {
button01_mc.texto = 'RETURN TO GAME';
button02_mc.texto = 'INVENTORY';
} else {
button01_mc.texto = 'CANCEL';
button02_mc.texto = 'CONTINUE';
button02_mc._visible = false;
}
bg_mc._width = _parent._parent.stageX;
bg_mc._height = _parent._parent.stageY;
bg_mc._y = -_parent._parent.baseY;
bg_mc._x = -_parent._parent.baseX;
if (this._name == 'createch2_mc') {
maxAmountToAdd = 2;
amountToAdd = maxAmountToAdd;
}
checkExpand();
}
function accionBoton(etiqueta) {
_parent._parent.sonido_mc.playFX('BOTON');
_parent._parent.fadeOutScreen();
if (_parent.tutorial12_mc != undefined) {
_parent.tutorial12_mc.removeMovieClip();
}
switch (etiqueta) {
case 'button01_mc':
Mouse.removeListener(mouseListener);
if (this._name == 'powers_mc') {
_parent.closeInventory();
_parent.closePowerScreen();
} else {
if (this._name == 'createch2_mc') {
_parent.openCreateCharacter3();
_parent.cerrarMC(this._name);
} else {
_parent.closeLevelUp();
}
}
break;
case 'button02_mc':
if (this._name == 'powers_mc') {
Mouse.removeListener(mouseListener);
_parent.openInventory();
_parent.closePowerScreen();
}
}
}
function checkExpand() {
var v2 = 0;
var v5 = 0;
var v4 = 0;
var v3 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
v2 = 20;
while (v2 < _parent._parent.basePowers.length) {
v3[Math.floor(v2 / 10)] += _parent._parent.basePowers[v2];
++v2;
}
v2 = 0;
while (v2 < v3.length) {
if (v3[v2] > v4) {
v4 = v3[v2];
v5 = v2;
}
++v2;
}
expandir[v5] = 1;
}
function expandirC(n) {
expandir[n] = 1;
removePowerList();
showPowerList();
}
function contraerC(n) {
expandir[n] = 0;
removePowerList();
showPowerList();
}
function showCurrentPowers() {
var v2 = 0;
var v4 = 0;
var v5 = new Array();
var v8 = new Array();
var v7 = '';
var v10 = '';
var v9 = '';
var v3 = '';
var v6 = 0;
var v11 = Number((_parent._parent.totalAbilities.split(','))[11]);
v2 = 0;
while (v2 < _parent._parent.basePowers.length) {
v5[v2] = _parent._parent.basePowers[v2];
++v2;
}
v2 = 0;
while (v2 < addedP.length) {
++v5[addedP[v2]];
v8[addedP[v2]] = 1;
++v2;
}
v2 = 0;
while (v2 < v5.length) {
if (v5[v2] > 0) {
if (v7 != _parent._parent.powerTable[v2].Cate) {
if (v7 != '') {
v6 += espCY;
}
v7 = _parent._parent.powerTable[v2].Cate;
v3 = 'cat' + v2 + '_mc';
vacio01_mc.attachMovie('levelUpCatMC', v3, vacio01_mc.getNextHighestDepth());
vacio01_mc[v3]._y = v6;
vacio01_mc[v3].texto_txt.text = v7;
v6 += catY;
}
v10 = _parent._parent.getPowerName(v2, v5[v2], v11);
v9 = _parent._parent.getPowerDesc(v2, v5[v2], v11);
v3 = 'pow' + v2 + '_mc';
vacio01_mc.attachMovie('levelUpPowMC', v3, 100 - v2);
vacio01_mc[v3].texto_txt.htmlText = v10;
vacio01_mc[v3].des = v9;
if (v2 < 10) {
v4 = 30 + v2;
} else {
if (v2 < 20) {
v4 = v2 + 46;
} else {
if (v2 < 30) {
v4 = v2 + 12;
} else {
if (v2 < 40) {
v4 = v2 + 8;
} else {
if (v2 < 50) {
v4 = v2 + 4;
} else {
v4 = v2;
}
}
}
}
}
vacio01_mc[v3].icono = v4;
vacio01_mc[v3].id = v2;
vacio01_mc[v3]._y = v6;
v6 += 27;
if (v8[v2] == 1) {
vacio01_mc[v3].canBeRemoved = 1;
} else {
vacio01_mc[v3].canBeRemoved = 0;
}
}
++v2;
}
scrollbar01_mc.noDrag();
if (vacio01_mc._height > areaY && vacio01_mc._y < vacioY - vacio01_mc._height + areaY) {
vacio01_mc._y = vacioY - vacio01_mc._height + areaY;
}
scrollbar01_mc.updateS((-vacio01_mc._y + vacioY) / (vacio01_mc._height - areaY));
}
function removeCurrentPowers() {
var v1 = 0;
var v2 = vacio01_mc.getNextHighestDepth();
v1 = 0;
while (v1 < v2) {
(vacio01_mc.getInstanceAtDepth(v1)).removeMovieClip();
++v1;
}
}
function showPowerList() {
var v2 = 0;
var v8 = 0;
var v4 = 0;
var v3 = new Array();
var v10 = new Array();
var v6 = new Array();
var v7 = '';
var v9 = '';
var v11 = '';
var v5 = 0;
if (maxAmountToAdd == amountToAdd) {
newClass = '';
}
updateText2();
v2 = 0;
while (v2 < _parent._parent.basePowers.length) {
if (_parent._parent.basePowers[v2] == 0) {
v3[v2] = 1;
} else {
v3[v2] = 0;
}
++v2;
}
v2 = 0;
while (v2 < addedP.length) {
v3[addedP[v2]] = 0;
++v2;
}
v2 = 0;
while (v2 < _parent._parent.basePowers.length) {
v6[v2] = _parent._parent.basePowers[v2];
++v2;
}
v2 = 0;
while (v2 < addedP.length) {
++v6[addedP[v2]];
++v2;
}
v9 = _parent._parent.availPowers(v6.join(','));
v6 = v9.split(',');
v2 = 0;
while (v2 < v6.length) {
v10[Number(v6[v2])] = 1;
++v2;
}
v2 = 0;
while (v2 < _parent._parent.powerTable.length) {
if (v3[v2]) {
v9 = _parent._parent.getPowerName(v2, v3[v2]);
if (v9 != '' && _parent._parent.powerTable[v2].levelUp) {
v8 = Math.floor(v2 / 10);
if (v7 != _parent._parent.powerTable[v2].Cate) {
if (v7 != '') {
v5 += espCY;
}
v7 = _parent._parent.powerTable[v2].Cate;
auxs = 'cat' + v2 + '_mc';
vacio02_mc.attachMovie('levelUpCatMC', auxs, vacio02_mc.getNextHighestDepth());
vacio02_mc[auxs]._y = v5;
vacio02_mc[auxs].texto_txt.text = v7;
vacio02_mc[auxs].exp = expandir[v8];
vacio02_mc[auxs].expId = v8;
v5 += catY;
}
if (expandir[v8]) {
v11 = _parent._parent.getPowerDesc(v2, v3[v2]);
auxs = 'Exp_pow' + v2 + '_mc';
vacio02_mc.attachMovie('levelUpPowMC', auxs, 200 - v2);
vacio02_mc[auxs].texto_txt.text = v9;
vacio02_mc[auxs].des = v11;
if (v2 < 10) {
v4 = 30 + v2;
} else {
if (v2 < 20) {
v4 = v2 + 46;
} else {
if (v2 < 30) {
v4 = v2 + 12;
} else {
if (v2 < 40) {
v4 = v2 + 8;
} else {
if (v2 < 50) {
v4 = v2 + 4;
} else {
v4 = v2;
}
}
}
}
}
vacio02_mc[auxs].icono = v4;
vacio02_mc[auxs].id = v2;
vacio02_mc[auxs]._y = v5;
v5 += 27;
vacio02_mc[auxs].onRight = 1;
if (v10[v2]) {
vacio02_mc[auxs].canBeAdded = 1;
} else {
vacio02_mc[auxs].canBeAdded = 0;
vacio02_mc[auxs].req = _parent._parent.getPowerReq(v2, v3[v2] - 1);
}
}
}
}
++v2;
}
scrollbar02_mc.noDrag();
if (vacio02_mc._height > areaY && vacio02_mc._y < vacioY - vacio02_mc._height + areaY) {
vacio02_mc._y = vacioY - vacio02_mc._height + areaY;
}
scrollbar02_mc.updateS((-vacio02_mc._y + vacioY) / (vacio02_mc._height - areaY));
}
function removePowerList() {
var v1 = 0;
var v2 = vacio02_mc.getNextHighestDepth();
v1 = 0;
while (v1 < v2) {
(vacio02_mc.getInstanceAtDepth(v1)).removeMovieClip();
++v1;
}
}
function addPower(n) {
if (amountToAdd > 0) {
addedP.push(n);
removeCurrentPowers();
removePowerList();
hideDes();
--amountToAdd;
if (amountToAdd == 0) {
showCurrentPowers();
updateText2();
checkClass();
showClass();
if (this._name == 'createch2_mc') {
attachMovie('UIChangeCreateClassWarningMC', 'warning_mc', this.getNextHighestDepth());
} else {
attachMovie('UILevelUpWarningMC', 'warning_mc', this.getNextHighestDepth());
}
} else {
showCurrentPowers();
showPowerList();
}
}
}
function removePower(n) {
var v2 = 0;
var v3 = new Array();
var v4 = 0;
v2 = 0;
while (v2 < addedP.length) {
if (addedP[v2] == n) {
addedP.splice(v2, 1);
break;
}
++v2;
}
++amountToAdd;
v2 = 0;
while (v2 < addedP.length) {
v3 = _parent._parent.powerTable[addedP[v2]].Req.split(',');
j = 0;
while (j < v3.length) {
if (v3[j] == n) {
v4 = 1;
break;
}
j += 2;
}
if (v4) {
break;
}
++v2;
}
if (v4) {
amountToAdd += addedP.length;
addedP.splice(0, addedP.length);
}
hideDes();
removeCurrentPowers();
removePowerList();
showCurrentPowers();
showPowerList();
}
function checkClass() {
var v3 = 0;
var v6 = 0;
var v8 = 0;
var v5 = 0;
var v7 = 0;
var v9 = '';
var v4 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
v3 = 20;
while (v3 < _parent._parent.basePowers.length) {
v4[Math.floor(v3 / 10)] += _parent._parent.basePowers[v3];
++v3;
}
v3 = 0;
while (v3 < addedP.length) {
++v4[Math.floor(addedP[v3] / 10)];
++v3;
}
v9 = getMainTrees(_parent._parent.pjClass);
v6 = Number((v9.split(','))[0]);
v8 = v4[v6];
v5 = Number((v9.split(','))[1]);
v7 = v4[v5];
if (v7 > v8) {
v3 = v8;
v8 = v7;
v7 = v3;
v3 = v6;
v6 = v5;
v5 = v3;
}
v3 = 2;
while (v3 < v4.length) {
if (v3 != v6 && v3 != v5) {
if (v4[v3] > v8) {
v5 = v6;
v7 = v8;
v6 = v3;
v8 = v4[v3];
} else {
if (v4[v3] > v7) {
v5 = v3;
v7 = v4[v3];
}
}
}
++v3;
}
if (v6 > v5) {
v9 = v6 + ',' + v5;
} else {
v9 = v5 + ',' + v6;
}
newClass = getClass(v9);
if (this._name == 'createch2_mc') {
v3 = 10;
while (v3 < 20) {
_parent._parent.basePowers[v3] = 0;
++v3;
}
v3 = 0;
while (v3 < classes.length) {
if (classes[v3].pjClass == newClass) {
_parent._parent.basePowers[v3 + 10] = 1;
}
++v3;
}
}
}
function getClass(s) {
var v3 = _parent._parent.pjClass;
var v2 = 0;
v2 = 0;
while (v2 < classes.length) {
if (classes[v2].pjSkills == s) {
v3 = classes[v2].pjClass;
break;
}
++v2;
}
return v3;
}
function getMainTrees(s) {
var v2 = '0,0';
var v1 = 0;
v1 = 0;
while (v1 < classes.length) {
if (classes[v1].pjClass == s) {
v2 = classes[v1].pjSkills;
break;
}
++v1;
}
return v2;
}
function levelUp() {
var v3 = 0;
var v4 = new Array();
Mouse.removeListener(mouseListener);
v3 = 0;
while (v3 < addedP.length) {
if (_parent._parent.basePowers[addedP[v3]] == 0) {
_parent._parent.basePowers[addedP[v3]] = 1;
}
++v3;
}
_parent._parent.rPowers = 0;
if (_parent._parent.pjClass != newClass) {
_parent._parent.pjClass = newClass;
trace('Nueva clase de personaje: ' + newClass);
}
if (this._name == 'createch2_mc') {
v3 = getInnatePower() - 10;
v4 = _parent._parent.baseAbilities.split(',');
v4[0] = Number(v4[0]) + classBonus[v3][0];
v4[1] = Number(v4[1]) + classBonus[v3][1];
v4[2] = Number(v4[2]) + classBonus[v3][2];
_parent._parent.baseAbilities = v4.join(',');
v4 = _parent._parent.pjConfig01.split(',');
if (v3 == 0 || v3 == 1 || v3 == 4) {
v4[9] = 0;
v4[7] = 8;
_parent._parent.pjConfig01 = v4.join(',');
_parent._parent.itemEqu = ';Adventurer\'s Staff,Staff,Wood,3,Staff,0,39,7,100,10,-,10,0,16-28,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34;;;;Adventurer\'s Armor,Wizard\'s Vestment,Silk,3,Armor,0,1,0,250,3,10,-,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;;;;;';
} else {
if (v3 == 2 || v3 == 5 || v3 == 7) {
v4[9] = 0;
v4[7] = 2;
_parent._parent.pjConfig01 = v4.join(',');
_parent._parent.itemEqu = ';Adventurer\'s Sword,Short Sword,Steel,1,Sword-1H,0,19,0,100,3,10,-,0,4-16,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24;;;;Adventurer\'s Armor,Wizard\'s Vestment,Silk,3,Armor,0,1,0,250,3,10,-,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;;;;;';
} else {
if (v3 == 8) {
if (v4[0] != '2') {
v4[9] = 0;
v4[7] = 2;
_parent._parent.pjConfig01 = v4.join(',');
_parent._parent.itemEqu = ';Adventurer\'s Sword,Short Sword,Steel,1,Sword-1H,0,19,0,100,3,10,-,0,4-16,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24;;;;Adventurer\'s Armor,Wizard\'s Vestment,Silk,3,Armor,0,1,0,250,3,10,-,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;;;;;';
} else {
v4[9] = 9;
v4[7] = 0;
_parent._parent.pjConfig01 = v4.join(',');
_parent._parent.itemEqu = ';Adventurer\'s Bow,Short Bow,Wood,1,Bow,0,36,6,100,10,-,10,0,6-12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,35;;;;Adventurer\'s Armor,Wizard\'s Vestment,Silk,3,Armor,0,1,0,250,3,10,-,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;;;;;';
}
} else {
if (v3 == 3 || v3 == 6 || v3 == 9) {
v4[9] = 9;
v4[7] = 0;
_parent._parent.pjConfig01 = v4.join(',');
_parent._parent.itemEqu = ';Adventurer\'s Bow,Short Bow,Wood,1,Bow,0,36,6,100,10,-,10,0,6-12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,35;;;;Adventurer\'s Armor,Wizard\'s Vestment,Silk,3,Armor,0,1,0,250,3,10,-,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;;;;;';
}
}
}
}
v4[1] = 3;
_parent._parent.pjConfig01 = v4.join(',');
v4 = _parent._parent.pjConfig02.split(',');
v4[1] = 3;
_parent._parent.pjConfig02 = v4.join(',');
_parent._parent.actualizarAbilitiesVars();
_parent.startNewGame();
_parent.cerrarMC(this._name);
_parent.cerrarMainUI();
} else {
_parent._parent.actualizarAbilitiesVars();
_parent.addi_mc.iconoNivelI();
_parent._parent.addXP(0);
_parent.addNewPowers(addedP.join(','));
_parent.fillReqMana();
_parent.closeLevelUp();
}
}
function levelUp2() {
if (_parent.tutorial12_mc != undefined) {
_parent.tutorial12_mc.removeMovieClip();
}
warning_mc.removeMovieClip();
levelUp();
}
function getInnatePower() {
var v2 = 0;
v2 = 10;
while (v2 < 20) {
if (_parent._parent.basePowers[v2] > 0) {
break;
}
++v2;
}
return v2;
}
function hideDes() {
des_mc._visible = false;
}
function showDes(px, py, texto, bgcolor) {
des_mc._visible = true;
des_mc._y = py;
des_mc._x = px;
des_mc.texto_txt.htmlText = texto;
des_mc.texto_txt.wordWrap = true;
des_mc.texto_txt.autoSize = true;
des_mc.bg_mc._height = des_mc.texto_txt._height + 10;
des_mc.bg_mc.gotoAndStop(1);
if (des_mc._y + des_mc._height > 460) {
des_mc._y -= 25 + des_mc._height;
}
}
function showClass() {
var v2 = _parent._parent.pjClass;
if (newClass != '') {
v2 = newClass;
}
name_txt.text = _parent._parent.pjName.toUpperCase();
class_txt.text = 'level ' + _parent._parent.currentXPLevel + ' ' + v2.toLowerCase();
}
function updateText2() {
if (amountToAdd == 1) {
texto2_txt.text = 'choose ' + amountToAdd + ' more power';
} else {
texto2_txt.text = 'choose ' + amountToAdd + ' more powers';
}
}
function gestionScroll() {
if (vacio01_mc._height > areaY) {
if (!scrollbar01_mc._visible) {
scrollbar01_mc._visible = true;
}
if (scrollbar01_mc.dragB) {
scrollbar01_mc.updateP();
}
} else {
if (scrollbar01_mc._visible) {
scrollbar01_mc._visible = false;
}
if (vacio01_mc._y != vacioY) {
vacio01_mc._y = vacioY;
}
}
if (vacio02_mc._height > areaY) {
if (!scrollbar02_mc._visible) {
scrollbar02_mc._visible = true;
}
if (scrollbar02_mc.dragB) {
scrollbar02_mc.updateP();
}
} else {
if (scrollbar02_mc._visible) {
scrollbar02_mc._visible = false;
}
if (vacio02_mc._y != vacioY) {
vacio02_mc._y = vacioY;
}
}
}
function moveContent(s) {
if (s == 'scrollbar01_mc') {
vacio01_mc._y = vacioY - scrollbar01_mc.p * (vacio01_mc._height - areaY);
}
if (s == 'scrollbar02_mc') {
vacio02_mc._y = vacioY - scrollbar02_mc.p * (vacio02_mc._height - areaY);
}
}
var addedP = new Array();
var maxAmountToAdd = _parent._parent.rPowers;
var amountToAdd = maxAmountToAdd;
var newClass = '';
var expandir = new Array();
var classes = new Array({'pjSkills': '2,0', 'pjClass': 'Priest'}, {'pjSkills': '3,2', 'pjClass': 'Dark Priest'}, {'pjSkills': '4,2', 'pjClass': 'Paladin'}, {'pjSkills': '5,2', 'pjClass': 'Seer'}, {'pjSkills': '3,0', 'pjClass': 'Necromancer'}, {'pjSkills': '4,3', 'pjClass': 'Dark Lord'}, {'pjSkills': '5,3', 'pjClass': 'Stalker'}, {'pjSkills': '4,0', 'pjClass': 'Barbarian'}, {'pjSkills': '5,4', 'pjClass': 'Fighter'}, {'pjSkills': '5,0', 'pjClass': 'Archer'});
var classBonus = new Array([0, 0, 10], [0, 0, 10], [5, 0, 5], [0, 5, 5], [0, 0, 10], [5, 0, 5], [0, 5, 5], [10, 0, 0], [5, 5, 0], [0, 10, 0]);
var catY = 30;
var espCY = 10;
var vacioY = vacio01_mc._y;
var areaY = 358;
stop();
inicializar();
showCurrentPowers();
if (this._name != 'powers_mc') {
showPowerList();
}
showClass();
hideDes();
onEnterFrame = function () {
gestionScroll();
};
var mouseListener = new Object();
mouseListener.onMouseWheel = function (delta) {
if (warning_mc == undefined) {
if (delta < 0) {
if (_xmouse < 320) {
scrollbar01_mc.mouseScrollDown();
} else {
scrollbar02_mc.mouseScrollDown();
}
} else {
if (_xmouse < 320) {
scrollbar01_mc.mouseScrollUp();
} else {
scrollbar02_mc.mouseScrollUp();
}
}
}
};
Mouse.addListener(mouseListener);
}
}
movieClip 19931 {
}
movieClip 19934 {
}
movieClip 19937 {
}
movieClip 19942 {
}
movieClip 19943 {
}
movieClip 19944 {
frame 1 {
function updateText() {
texto_mc.texto_txt.text = texto;
}
var texto;
var iniY;
var iniX;
if (iniY == undefined) {
iniY = _y;
iniX = _x;
}
stop();
if (texto != undefined && texto != '') {
texto_mc.texto_txt.text = texto;
}
onRelease = function () {
_y = iniY;
_x = iniX;
_parent.accionBoton(this._name);
};
onPress = function () {
_y = iniY + 2;
_x = iniX + 2;
};
onRollOver = function () {
_parent.rollOverBoton(this._name);
gotoAndPlay(2);
};
onDragOver = function () {
_parent.rollOverBoton(this._name);
gotoAndPlay(2);
};
onRollOut = function () {
_y = iniY;
_x = iniX;
_parent.rollOutBoton(this._name);
gotoAndStop(1);
};
onDragOut = function () {
_y = iniY;
_x = iniX;
_parent.rollOutBoton(this._name);
gotoAndStop(1);
};
}
frame 8 {
stop();
}
}
movieClip 19945 objectLootMC {
frame 1 {
function showLootAllKey() {
var v3 = 'Loot all';
var v2 = '';
v2 += '<font color=\'#003366\'>Hotkey \' ' + _parent._parent.valueToShow(_parent._parent.hotKey[14]) + ' \'</font>';
_parent.mostrarInfoS(v3, v2, 'loot_mc', _x + 192, _y + 317 + 38 + 60);
}
function hideLootAllKey() {
_parent.ocultarInfo();
}
function actualizar() {
var v5 = new Array();
var v4 = new String();
var v3 = 0;
v5 = (String(_parent._parent.engine_mc.objectItems[_parent._parent.engine_mc.currentLoot])).split(';');
v3 = seguidor;
while (v3 < seguidor + 5) {
v4 = 'icon0' + String(v3 + 1 - seguidor) + '_mc';
if (v5[v3] != '' && v5[v3] != undefined && v5[v3] != null) {
setIcono(v5[v3], v4);
} else {
this[v4].fotograma = 1;
this[v4].actualizar();
}
++v3;
}
v5.splice(0, v5.length);
v5 = (String(_parent._parent.itemInv)).split(';');
v3 = seguidorInventario;
while (v3 < seguidorInventario + 25) {
if (v3 + 1 - seguidorInventario < 10) {
v4 = 'inv0' + String(v3 + 1 - seguidorInventario) + '_mc';
} else {
v4 = 'inv' + String(v3 + 1 - seguidorInventario) + '_mc';
}
if (v5[v3] != '' && v5[v3] != undefined && v5[v3] != null) {
setIcono(v5[v3], v4);
} else {
this[v4].fotograma = 1;
this[v4].actualizar();
}
++v3;
}
gold_txt.text = _parent._parent.miscInv[0] + ' x';
}
function inicializar() {
var v4 = 0;
var v3 = new String('');
arrow04_mc._visible = false;
button01_mc.texto = 'Take All';
if (_parent._x != 0 || _parent._y != 0) {
_x = _x + Math.round(_parent._x / 2);
loot_mc._y += Math.round(_parent._y * 0.75);
loot_txt._y += Math.round(_parent._y * 0.75);
arrow01_mc._y += Math.round(_parent._y * 0.75);
arrow02_mc._y += Math.round(_parent._y * 0.75);
icon01_mc._y += Math.round(_parent._y * 0.75);
icon02_mc._y += Math.round(_parent._y * 0.75);
icon03_mc._y += Math.round(_parent._y * 0.75);
icon04_mc._y += Math.round(_parent._y * 0.75);
icon05_mc._y += Math.round(_parent._y * 0.75);
loot_mc._x -= Math.round(_parent._x / 2);
loot_txt._x -= Math.round(_parent._x / 2);
arrow01_mc._x -= Math.round(_parent._x / 2);
arrow02_mc._x -= Math.round(_parent._x / 2);
icon01_mc._x -= Math.round(_parent._x / 2);
icon02_mc._x -= Math.round(_parent._x / 2);
icon03_mc._x -= Math.round(_parent._x / 2);
icon04_mc._x -= Math.round(_parent._x / 2);
icon05_mc._x -= Math.round(_parent._x / 2);
}
listenersLoot();
listenersInv();
v4 = 1;
while (v4 < 6) {
v3 = 'icon0' + v4 + '_mc';
this[v3].onRelease = function () {
takeItem(Number(((this._name.split('icon'))[1].split('_'))[0]) - 1 + seguidor, this._name);
};
this[v3].onRollOver = function () {
overItemL(this._name);
};
this[v3].onDragOver = function () {
overItemL(this._name);
};
this[v3].onRollOut = function () {
hideItem();
};
this[v3].onDragOut = function () {
hideItem();
};
++v4;
}
v4 = 1;
while (v4 < 26) {
if (v4 < 10) {
v3 = 'inv0' + v4 + '_mc';
} else {
v3 = 'inv' + v4 + '_mc';
}
this[v3].onRelease = function () {
dropItem(Number(((this._name.split('inv'))[1].split('_'))[0]) - 1 + seguidorInventario, this._name);
};
this[v3].onRollOver = function () {
overItemI(this._name);
};
this[v3].onDragOver = function () {
overItemI(this._name);
};
this[v3].onRollOut = function () {
hideItem();
};
this[v3].onDragOut = function () {
hideItem();
};
++v4;
}
}
function setIcono(item, mc) {
var v3 = new Array();
v3 = item.split(',');
if (v3.length > 2) {
this[mc].fotograma = 2;
this[mc].iIcon = Number(v3[6]);
this[mc].iBG = Number(v3[7]);
this[mc].iColor = Number(v3[5]);
this[mc].actualizar();
} else {
if (v3[0] == 'potion') {
if (v3[1] == '1') {
this[mc].fotograma = 3;
} else {
if (v3[1] == '2') {
this[mc].fotograma = 4;
} else {
this[mc].fotograma = 5;
}
}
this[mc].actualizar();
} else {
if (v3[0] == 'gold') {
this[mc].fotograma = 6;
this[mc].actualizar();
} else {
if (auxs[0] == 'quest') {
}
}
}
}
}
function overItemL(ori) {
var v5 = new Array();
var v4 = 0;
var v3 = 0;
v4 = this[ori]._x - 1;
v3 = this[ori]._y - 1;
v5 = (String(_parent._parent.engine_mc.objectItems[_parent._parent.engine_mc.currentLoot])).split(';');
overItem(v5[Number(((ori.split('icon'))[1].split('_'))[0]) - 1 + seguidor], v4, v3, 1);
}
function overItemI(ori) {
var v5 = new Array();
var v4 = 0;
var v3 = 0;
if (ori != undefined) {
v4 = this[ori]._x - 1;
v3 = this[ori]._y - 1;
v5 = (String(_parent._parent.itemInv)).split(';');
overItem(v5[Number(((ori.split('inv'))[1].split('_'))[0]) - 1 + seguidorInventario], v4, v3, 0);
}
}
function overItem(auxs, desX, desY, align) {
var v3 = new Array();
var v10 = new String('');
var v9 = new String('');
var v7 = new String('');
var v8 = new String('');
var v11 = 0;
var v5 = 0;
var v6 = new String('');
var v2 = 0;
_parent._parent.engine_mc.overUI = true;
if (auxs != '' && auxs != undefined && auxs != null) {
v3 = _parent._parent.totalAbilities.split(',');
v11 = Number(v3[0]);
v5 = 0;
v6 = _parent._parent.getItemReqs(auxs);
if (v6 != '') {
v3 = v6.split(' ');
v2 = 0;
while (v2 < v3.length) {
if (isNaN(Number(v3[v2]))) {
} else {
v5 = Number(v3[v2]);
break;
}
++v2;
}
}
if (v11 >= v5) {
v2 = 0;
} else {
v2 = 1;
}
v3 = auxs.split(',');
v10 = _parent._parent.getItemName(auxs);
if (v3.length > 2) {
v9 = _parent._parent.getItemReqs(auxs);
v7 = _parent._parent.getItemDescription(auxs);
v8 = _parent._parent.getItemStats(auxs);
} else {
v7 = _parent._parent.getItemDescription(auxs);
}
showItem(v10, v9, v7, v8, desX, desY, align, v2);
}
}
function showItem(t1, t2, t3, t4, desX, desY, align, redreq) {
var v1 = new String('');
if (t4 == '') {
v1 = t3;
} else {
v1 = t3 + '\n' + t4;
}
if (t1 != '' && t1 != undefined && t1 != null) {
attachMovie('itemInfoMC', 'iteminfo_mc', 3);
iteminfo_mc.titulo = t1;
iteminfo_mc.descripcion = v1;
iteminfo_mc.requisitos = t2;
iteminfo_mc.alinea = align;
iteminfo_mc.reqRojo = redreq;
iteminfo_mc.actualizar();
iteminfo_mc._x = desX;
iteminfo_mc._y = desY;
}
}
function hideItem() {
iteminfo_mc.removeMovieClip();
_parent._parent.engine_mc.overUI = false;
}
function checkLootTime() {
var v2 = getTimer() - lootTime;
var v1 = 0;
lootTime = getTimer();
if (v2 < 10) {
if (nLootTime < 3) {
++nLootTime;
v1 = 1;
}
return v1;
}
nLootTime = 0;
v1 = 1;
return v1;
}
function takeItem(o, ori) {
var v5 = new Array();
var v6 = new Array();
var v3 = new Array();
var v9 = false;
var v2 = 0;
var v4 = -1;
var v8 = new String('');
v6 = (String(_parent._parent.engine_mc.objectItems[_parent._parent.engine_mc.currentLoot])).split(';');
if (v6[o] != '' && v6[o] != undefined && v6[o] != null) {
v8 = v6[o];
v5 = v8.split(',');
if (v5.length > 2) {
v3 = _parent._parent.itemInv.split(';');
v2 = 0;
while (v2 < v3.length) {
if (v3[v2] == '' || v3[v2] == undefined || v3[v2] == null) {
v4 = v2;
break;
}
++v2;
}
if (v4 != -1) {
v3[v4] = v8;
if (v4 < 25) {
seguidorInventario = 0;
arrow04_mc._visible = false;
arrow03_mc._visible = true;
} else {
seguidorInventario = 25;
arrow03_mc._visible = false;
arrow04_mc._visible = true;
}
_parent._parent.itemInv = v3.join(';');
if (checkLootTime()) {
_parent._parent.sonido_mc.playFX('MOVEITEM');
}
} else {
trace('Inventory is full');
if (_parent._parent.mensajes.length == 0 && _parent.mensajec_mc == undefined) {
_parent._parent.mensajes.push('= YOUR INVENTORY IS FULL');
_parent._parent.engine_mc.showMsg();
}
v9 = true;
}
} else {
if (v5[0] == 'potion') {
++_parent._parent.miscInv[Number(v5[1])];
if (checkLootTime()) {
_parent._parent.sonido_mc.playFX('MOVEITEM');
}
_parent.updatePotions();
} else {
if (v5[0] == 'gold') {
_parent._parent.miscInv[0] += Number(v5[1]);
if (checkLootTime()) {
_parent._parent.sonido_mc.playFX('ORO');
}
} else {
if (v5[0] == 'quest') {
_parent._parent.quesInv[Number(v5[1])] = 1;
}
}
}
}
if (!v9) {
v6.splice(o, 1);
_parent._parent.engine_mc.objectItems[_parent._parent.engine_mc.currentLoot] = v6.join(';');
checkSeguidor();
actualizar();
overItemL(ori);
if (_parent._parent.engine_mc.objectId[_parent._parent.engine_mc.currentLoot] == 'f-18c-') {
if (_parent._parent.engine_mc.objectItems[_parent._parent.engine_mc.currentLoot] == '') {
_parent._parent.engine_mc.finSaqueo();
}
}
}
}
}
function dropItem(o, ori) {
var v3 = new Array();
var v5 = new Array();
var v4 = new String('');
var v2 = 0;
var v6 = true;
v5 = (String(_parent._parent.itemInv)).split(';');
v4 = v5[o];
if (v5[o] != '' && v5[o] != null && v5[o] != undefined) {
v3 = (String(_parent._parent.engine_mc.objectItems[_parent._parent.engine_mc.currentLoot])).split(';');
v2 = 0;
while (v2 < v3.length) {
if (v3[v2] == '' || v3[v2] == null || v3[v2] == undefined) {
v3[v2] = v4;
v6 = false;
break;
}
++v2;
}
if (v6) {
v3.push(v4);
}
_parent._parent.engine_mc.objectItems[_parent._parent.engine_mc.currentLoot] = v3.join(';');
v5[o] = '';
_parent._parent.itemInv = v5.join(';');
_parent._parent.sonido_mc.playFX('MOVEITEM');
seguidor = v3.length - 5;
checkSeguidor();
actualizar();
overItemI(ori);
}
}
function listenersInv() {
arrow03_mc.onRelease = function () {
masItemsI();
};
arrow04_mc.onRelease = function () {
menosItemsI();
};
arrow03_mc.onRollOver = function () {
_parent._parent.engine_mc.overUI = true;
};
arrow03_mc.onDragOver = function () {
_parent._parent.engine_mc.overUI = true;
};
arrow03_mc.onRollOut = function () {
_parent._parent.engine_mc.overUI = false;
};
arrow03_mc.onDragOut = function () {
_parent._parent.engine_mc.overUI = false;
};
arrow04_mc.onRollOver = function () {
_parent._parent.engine_mc.overUI = true;
};
arrow04_mc.onDragOver = function () {
_parent._parent.engine_mc.overUI = true;
};
arrow04_mc.onRollOut = function () {
_parent._parent.engine_mc.overUI = false;
};
arrow04_mc.onDragOut = function () {
_parent._parent.engine_mc.overUI = false;
};
}
function masItemsI() {
seguidorInventario = 25;
arrow03_mc._visible = false;
arrow04_mc._visible = true;
actualizar();
}
function menosItemsI() {
seguidorInventario = 0;
arrow04_mc._visible = false;
arrow03_mc._visible = true;
actualizar();
}
function listenersLoot() {
arrow01_mc.onRelease = function () {
menosItems();
};
arrow02_mc.onRelease = function () {
masItems();
};
arrow01_mc.onRollOver = function () {
_parent._parent.engine_mc.overUI = true;
};
arrow01_mc.onDragOver = function () {
_parent._parent.engine_mc.overUI = true;
};
arrow01_mc.onRollOut = function () {
_parent._parent.engine_mc.overUI = false;
};
arrow01_mc.onDragOut = function () {
_parent._parent.engine_mc.overUI = false;
};
arrow02_mc.onRollOver = function () {
_parent._parent.engine_mc.overUI = true;
};
arrow02_mc.onDragOver = function () {
_parent._parent.engine_mc.overUI = true;
};
arrow02_mc.onRollOut = function () {
_parent._parent.engine_mc.overUI = false;
};
arrow02_mc.onDragOut = function () {
_parent._parent.engine_mc.overUI = false;
};
}
function masItems() {
var v2 = new Array();
v2 = (String(_parent._parent.engine_mc.objectItems[_parent._parent.engine_mc.currentLoot])).split(';');
if (v2.length > seguidor + 5) {
seguidor += 5;
}
checkSeguidor();
actualizar();
}
function menosItems() {
if (seguidor > 0) {
seguidor -= 5;
}
checkSeguidor();
actualizar();
}
function checkSeguidor() {
var v2 = ((String(_parent._parent.engine_mc.objectItems[_parent._parent.engine_mc.currentLoot])).split(';')).length - 5;
if (v2 < 0) {
v2 = 0;
}
if (seguidor < 0) {
seguidor = 0;
}
if (seguidor > v2) {
seguidor = v2;
}
}
function lootAll() {
var v3 = new Array();
var v2 = 0;
if (_parent._parent.engine_mc.objectItems[_parent._parent.engine_mc.currentLoot] != '') {
v3 = (String(_parent._parent.engine_mc.objectItems[_parent._parent.engine_mc.currentLoot])).split(';');
v2 = v3.length;
while (v2 > 0) {
takeItem(0, undefined);
--v2;
}
}
_parent._parent.engine_mc.finSaqueo();
}
function accionBoton(etiqueta) {
_parent._parent.sonido_mc.playFX('BOTON');
if (etiqueta !== 'button01_mc') {
} else {
lootAll();
}
}
function rollOverBoton(etiqueta) {
_parent._parent.engine_mc.overUI = true;
showLootAllKey();
}
function rollOutBoton(etiqueta) {
_parent._parent.engine_mc.overUI = false;
hideLootAllKey();
}
var seguidor = 0;
var seguidorInventario = 0;
var lootTime = 0;
var nLootTime = 0;
inicializar();
actualizar();
loot_mc.onRollOver = function () {
_parent._parent.engine_mc.overUI = true;
};
loot_mc.onDragOver = function () {
_parent._parent.engine_mc.overUI = true;
};
loot_mc.onRollOut = function () {
_parent._parent.engine_mc.overUI = false;
};
loot_mc.onDragOut = function () {
_parent._parent.engine_mc.overUI = false;
};
ibg_mc.onRollOver = function () {
_parent._parent.engine_mc.overUI = true;
};
ibg_mc.onDragOver = function () {
_parent._parent.engine_mc.overUI = true;
};
ibg_mc.onRollOut = function () {
_parent._parent.engine_mc.overUI = false;
};
ibg_mc.onDragOut = function () {
_parent._parent.engine_mc.overUI = false;
};
}
}
movieClip 19947 potionCounterMC {
}
movieClip 19948 powerSelectorMC {
frame 1 {
function inicializar() {
var v5 = 0;
var v3;
var v6 = 0;
var v4 = '';
var v7 = new Array(0, 1, 20, 21, 22, 23, 24, 25, 30, 31, 32, 33, 34, 35, 43, 44, 45, 53, 54, 55);
var v8 = new Array();
if (_parent._parent.checkRanged(_parent._parent.currentWeapon)) {
v7.splice(0, 1);
} else {
v7.splice(1, 1);
}
button01_mc.texto = 'CLOSE';
if (_parent[_parent.lastClick].fotograma > 1) {
v5 = 1;
while (v5 < 7) {
v4 = 'icon0' + v5 + '_mc';
if (_parent.lastClick != v4) {
if (_parent[v4].fotograma > 1) {
pLibre = v4;
v7.push(8);
break;
}
}
++v5;
}
}
v5 = 1;
while (v5 < 21) {
if (v5 < 10) {
v4 = 'ic0' + v5 + '_mc';
} else {
v4 = 'ic' + v5 + '_mc';
}
this[v4]._visible = false;
while (v7.length > 0) {
v3 = v7.shift();
if (v3 == 8) {
this[v4]._visible = true;
this[v4].fotograma = v3;
} else {
if (_parent._parent.basePowers[v3] > 0) {
this[v4]._visible = true;
if (v3 < 2) {
v6 = v3 + 30;
} else {
if (v3 < 30) {
v6 = v3 + 12;
} else {
if (v3 < 40) {
v6 = v3 + 8;
} else {
if (v3 < 50) {
v6 = v3 + 4;
} else {
v6 = v3;
}
}
}
}
this[v4].fotograma = v6;
break;
}
}
}
++v5;
}
v5 = 1;
while (v5 < 21) {
if (v5 < 10) {
v4 = 'ic0' + v5 + '_mc';
} else {
v4 = 'ic' + v5 + '_mc';
}
if (this[v4]._visible) {
this[v4].onRelease = function () {
if (this.fotograma == 8) {
_parent.ocultarInfo();
_parent[_parent.lastClick].fotograma = 1;
_parent[_parent.lastClick].actualizar();
_parent.fillReqMana();
_parent.seleccionarPoder(pLibre);
} else {
_parent.ocultarInfo();
_parent[_parent.lastClick].fotograma = this.fotograma;
_parent[_parent.lastClick].actualizar();
_parent.fillReqMana();
_parent.seleccionarPoder(_parent.lastClick);
}
_parent.closePowerSelector();
};
this[v4].onRollOver = function () {
if (this.fotograma != 8) {
_parent.checkMostrarInfo(_name + '.' + this._name);
}
};
this[v4].onDragOver = function () {
if (this.fotograma != 8) {
_parent.checkMostrarInfo(_name + '.' + this._name);
}
};
this[v4].onRollOut = function () {
_parent.ocultarInfo();
};
this[v4].onDragOut = function () {
_parent.ocultarInfo();
};
}
++v5;
}
}
function accionBoton(etiqueta) {
_parent._parent.sonido_mc.playFX('BOTON');
if (etiqueta !== 'button01_mc') {
} else {
_parent.closePowerSelector();
}
}
var pLibre;
inicializar();
}
}
movieClip 19949 {
}
movieClip 19950 {
}
movieClip 19952 {
}
movieClip 19953 {
}
movieClip 19954 {
}
movieClip 19955 talkMC {
frame 1 {
function checkOverTalk() {
var v2 = false;
if (_xmouse >= fondo_mc._x) {
if (_ymouse >= fondo_mc._y) {
if (_xmouse <= fondo_mc._x + fondo_mc._width) {
if (_ymouse <= fondo_mc._y + fondo_mc._height) {
v2 = true;
}
}
}
}
overTalk = v2;
_parent._parent.engine_mc.overUI = overTalk;
}
function addCinematics(d, n, s) {
if (s !== 'Shardenias') {
} else {
if (d == 7) {
if (n == 1) {
_parent._parent.engine_mc.cinematicScript.push(indiceC + ' - c - NPCWAIT ' + indiceC + ' 100 ');
_parent._parent.engine_mc.cinematicScript.push(indiceC + ' - c - OPENDIALOG ' + indiceO);
}
} else {
if (d == 8) {
if (n == 1) {
_parent._parent.engine_mc.cinematicScript.push(indiceC + ' - c - NPCWAIT ' + indiceC + ' 25 ');
_parent._parent.engine_mc.cinematicScript.push(indiceC + ' - c - OPENDIALOG ' + indiceO + ' 9');
}
}
}
}
}
function selectOption(n) {
var v7 = new Array();
var v3 = new Array();
var v4 = new Array();
var v6 = '';
var v2 = 0;
var v5 = 0;
if (dialog[stateD] != undefined && overTalk) {
addCinematics(stateD, n, _parent._parent.engine_mc.objectDesc[indiceO]);
v7 = dialog[stateD][n].split(' - c - ');
v3 = v7[1].split(' - a - ');
v2 = 0;
while (v2 < v3.length) {
v4 = v3[v2].split(' ');
switch (v4[0]) {
case 'NEWSTATE':
v5 = Number(v4[1]);
if (!isNaN(v5)) {
stateD = v5;
clearInfo();
showDialog();
}
v3.splice(v2, 1);
--v2;
break;
case 'OPENTRADE':
v3[v2] = 'OPENTRADE ' + indiceO;
}
++v2;
}
v6 = v3.join(' - a - ');
if (v6 != '') {
_parent._parent.engine_mc.accionesSimples(v6);
}
}
}
function clearInfo() {
var v1 = 0;
var v2 = vacio_mc.getNextHighestDepth();
v1 = 0;
while (v1 < v2) {
(vacio_mc.getInstanceAtDepth(v1)).removeMovieClip();
++v1;
}
}
function showDialog() {
var v2 = 1;
var v5 = 0;
var v4 = 0;
var v3 = new Array();
var v6 = '';
if (dialog[stateD].length == 1 && dialog[stateD][0] == '') {
_parent.closeDialog();
} else {
if (dialog[stateD] != undefined) {
if (dialog[stateD][0] != '') {
if (dialog[stateD].length == 1) {
v3 = dialog[stateD][0].split('<NAME>');
_parent._parent.engine_mc.showText(indiceO, v3.join(_parent._parent.pjName));
_parent.closeDialog();
} else {
vacio_mc.attachMovie('talkTituloMC', 'titulo_mc', vacio_mc.getNextHighestDepth());
v3 = dialog[stateD][0].split('<NAME>');
vacio_mc.titulo_mc.texto_txt.text = v3.join(_parent._parent.pjName);
vacio_mc.titulo_mc.texto_txt.wordWrap = true;
vacio_mc.titulo_mc.texto_txt.autoSize = true;
v4 = vacio_mc.titulo_mc.texto_txt._height + 10;
}
}
v2 = 1;
while (v2 < dialog[stateD].length) {
auxs = 'opcion' + v2 + '_mc';
v3 = (dialog[stateD][v2].split(' - c - '))[0].split('<NAME>');
vacio_mc.attachMovie('talkOpcionMC', auxs, vacio_mc.getNextHighestDepth());
vacio_mc[auxs].texto_txt.text = ' > ' + v3.join(_parent._parent.pjName);
vacio_mc[auxs].opcion = v2;
vacio_mc[auxs]._y = v4;
vacio_mc[auxs].texto_txt.wordWrap = true;
vacio_mc[auxs].texto_txt.autoSize = true;
v4 += vacio_mc[auxs].texto_txt._height + 10;
++v2;
}
v4 += 12;
fondo_mc._height = v4;
v2 = 0;
v5 = (_parent._parent.stageX - 388) / 2;
if (_parent._parent.engine_mc.objectY[indiceO] != undefined) {
v2 = _parent._parent.engine_mc.objectY[indiceO] - _parent._parent.engine_mc.coordenadaY;
v5 = _parent._parent.engine_mc.objectX[indiceO] - _parent._parent.engine_mc.coordenadaX - 194 + 25;
if (v5 < 5) {
v5 = 5;
}
}
fondo_mc._y = v2 - fondo_mc._height;
fondo_mc._x = v5;
if (fondo_mc._y < 5) {
fondo_mc._y = 5;
}
vacio_mc._y = fondo_mc._y + 11;
csup_mc._y = fondo_mc._y + 19;
cinf_mc._y = fondo_mc._y + fondo_mc._height - 19;
clado_mc._y = csup_mc._y;
clado_mc.mask_mc._height = cinf_mc._y - clado_mc._y;
csup_mc._x = fondo_mc._x - 5;
cinf_mc._x = fondo_mc._x - 5;
clado_mc._x = fondo_mc._x;
vacio_mc._x = fondo_mc._x + 11;
}
}
}
function initDialog() {
var v3 = _parent._parent.engine_mc.objectDesc[indiceO];
var v2 = 0;
if (v3 == undefined || v3 == '') {
v3 = 'Vacio';
} else {
v2 = 0;
while (v2 < _parent._parent.engine_mc.charIdIndex.length) {
if (_parent._parent.engine_mc.charIdIndex[v2] == indiceO) {
indiceC = v2;
break;
}
++v2;
}
}
switch (v3) {
case 'Vacio':
dialog[0] = new Array();
dialog[0].push('');
case 'Test2':
dialog[0] = new Array();
dialog[0][0] = 'Hi stranger, what are you doing in this town?';
dialog[0][1] = '> I want to buy some weapons. - c - CLOSEDIALOG - a - OPENTRADE';
dialog[0][2] = '> I want to enchant my equipment. - c - CLOSEDIALOG - a - OPENENCHANT';
dialog[0][3] = '> Where is the town\'s tavern? - c - NEWSTATE 1';
dialog[0][4] = '> Excuse me, i have to go. - c - CLOSEDIALOG';
dialog[1] = new Array();
dialog[1][0] = 'It is in the southern zone of the town';
dialog[1][1] = '> Thanks, back to first dialog options - c - NEWSTATE 0';
dialog[1][2] = '> Thank you very much, goodbye! - c - CLOSEDIALOG';
break;
case 'Edwin':
dialog[0] = new Array();
dialog[0].push('');
dialog[0].push('Hello, do you know where the wizard lives? - c - NEWSTATE 1');
dialog[0].push('[ end dialog ] - c - CLOSEDIALOG');
dialog[1] = new Array();
dialog[1].push('He has a store at the northern part of the town, it is very easy to find.');
dialog[1].push('Thank you, goodbye. - c - NEWSTATE 2');
dialog[2] = new Array();
dialog[2].push('Goodbye.');
dialog[3] = new Array();
dialog[3].push('');
dialog[3].push('Hello, do you know where Isis is? - c - NEWSTATE 4');
dialog[3].push('[ end dialog ] - c - CLOSEDIALOG');
dialog[4] = new Array();
dialog[4].push('Hello <NAME>, Captain Isis is recovering of her injuries, she will be back soon.');
dialog[4].push('Ok, that\'s all i wanted to know, goodbye. - c - NEWSTATE 2');
if (_parent._parent.quesInv[4] > 0) {
stateD = 3;
}
break;
case 'Isis':
dialog[0] = new Array();
dialog[0].push('');
dialog[0].push('Excuse me, my name is <NAME>, i came here looking for someone, can you help me? - c - NEWSTATE 1 - a - UPDATEQUEST 100 1');
dialog[0].push('[ end dialog ] - c - CLOSEDIALOG');
dialog[1] = new Array();
dialog[1].push('Hello, traveller. I am Isis, Captain of the guards. What do you need?');
dialog[1].push('I am looking for the town\'s wizard, where can i find him? - c - NEWSTATE 2');
dialog[1].push('Is there a blackstmith around here? - c - NEWSTATE 3');
dialog[2] = new Array();
dialog[2].push('Shardenias lives in the north of the town. Do you need something else?');
dialog[2].push('Is there a blacksmith around here? - c - NEWSTATE 3');
dialog[2].push('No, that\'s all, thank you. I must go now. Farewell. - c - NEWSTATE 4');
dialog[3] = new Array();
dialog[3].push('There is a blacksmith right at the entrance, behind the town\'s wall. Do you need something else?');
dialog[3].push('I am looking for the town\'s wizard, where can i find him? - c - NEWSTATE 2');
dialog[3].push('No, that\'s all, thank you. I must go now. Farewell. - c - NEWSTATE 4');
dialog[4] = new Array();
dialog[4].push('Goodbye!');
dialog[5] = new Array();
dialog[5].push('');
dialog[5].push('Hello again, may i ask you for directions? - c - NEWSTATE 6');
dialog[5].push('[ end dialog ] - c - CLOSEDIALOG');
dialog[6] = new Array();
dialog[6].push('Of course, what do you need?');
dialog[6].push('I am looking for the town\'s wizard, where can i find him? - c - NEWSTATE 2');
dialog[6].push('Is there a blackstmith around here? - c - NEWSTATE 3');
dialog[7] = new Array();
dialog[7].push('');
dialog[7].push('Hello, i heard you want to talk to me, what is it? - c - NEWSTATE 8 - a - UPDATEQUEST 100 2');
dialog[7].push('[ end dialog ] - c - CLOSEDIALOG');
dialog[8] = new Array();
dialog[8].push('Hi again. Indeed, i need your help. Shardenias told me you are a skilled warrior so i think you are the right person for this job. I need you to investigate a few caverns. People have been listening strange noises close to these caves but i cannot send any of the guards, we have been attacked lately and i need them in the town. I can pay you 5000 gold for this task, Are you interested?');
dialog[8].push('Yes, i think i can help you with that. - c - UPDATEQUEST 2 3 - a - NEWSTATE 10');
dialog[8].push('I have other things to do i am not interested, sorry. - c - NEWSTATE 9');
dialog[9] = new Array();
dialog[9].push('Ok, come later if you change your mind, goodbye.');
dialog[9].push('Goodbye. - c - CLOSEDIALOG');
dialog[10] = new Array();
dialog[10].push('It is nice to see some people are willing to help. The caves are to the east of the town. Here you have half of the gold, i\'ll give you the other half when you finish the job.');
dialog[10].push('I\'\'ll come back once i finished, bye! - c - NEWSTATE 11');
dialog[11] = new Array();
dialog[11].push('See you later!');
dialog[12] = new Array();
dialog[12].push('');
dialog[12].push('I was thinking about that job you told me, i\'ll do it. - c - UPDATEQUEST 2 3 - a - NEWSTATE 10');
dialog[12].push('[ end dialog ] - c - CLOSEDIALOG');
dialog[13] = new Array();
dialog[13].push('');
dialog[13].push('Can you tell me again where these caves are located? - c - NEWSTATE 14');
dialog[13].push('[ end dialog ] - c - CLOSEDIALOG');
dialog[14] = new Array();
dialog[14].push('I marked the caves in your map, they are at the north of Urnebbar, if you check your world map i am sure you\'ll find them easily.');
dialog[14].push('Ok, bye! - c - NEWSTATE 11');
dialog[15] = new Array();
dialog[15].push('<NAME>, you are back! What did you find?');
dialog[15].push('Those caves were infested of undeads. I destroyed lots of them but there were too many, i think someone captured and keep them in there. - c - UPDATEQUEST 2 1 - a - NEWSTATE 17');
dialog[16] = new Array();
dialog[16].push('<NAME>, you are back! What did you find?');
dialog[16].push('I have not finished exploring the caves yet. I\'ll come back when i am done, goobye. - c - NEWSTATE 11');
dialog[17] = new Array();
dialog[17].push('That\'s so strange. Maybe this is connected with the last attacks to the town. Here it is the rest of the gold. I have to ask you something more, please investigate two crypts, i think the responsible of the attacks might be in there. It is a dangerous task but i am sure you can do it. I\'ll pay you 10000 gold and this time i\'ll give you the money now if you want to do it, what do you say?');
dialog[17].push('I will do it, where are these crypts? - c - UPDATEQUEST 3 2 - a - NEWSTATE 18');
dialog[17].push('It is too dangerous, i won\'t do it. - c - NEWSTATE 9');
dialog[18] = new Array();
dialog[18].push('I\'ll mark these crypts in your map and here you have the gold and some potions. Please be careful!');
dialog[18].push('I will, bye! - c - NEWSTATE 19');
dialog[19] = new Array();
dialog[19].push('Bye!');
dialog[20] = new Array();
dialog[20].push('');
dialog[20].push('Can you tell me again what i have to do? - c - NEWSTATE 21');
dialog[20].push('[ end dialog ] - c - CLOSEDIALOG');
dialog[21] = new Array();
dialog[21].push('I want you to search for the responsible of the attacks in the crypts near Urnebbar, i have marked the crypts in your map.');
dialog[21].push('Ok, see you later! - c - NEWSTATE 19');
dialog[22] = new Array();
dialog[22].push('');
dialog[22].push('I was thinking about that job you told me, i\'ll do it. - c - UPDATEQUEST 3 2 - a - NEWSTATE 18');
dialog[22].push('[ end dialog ] - c - CLOSEDIALOG');
dialog[23] = new Array();
dialog[23].push('Someone has entered into the town\'s crypt. Please stop him, there is a powerful artifact hidden in there, it shouldn\'t fall into the wrong hands. I have to stay here to protect the town.');
dialog[23].push('Ok, i\'ll do my best. - c - CLOSEDIALOG');
dialog[24] = new Array();
dialog[24].push('You must hurry, if a necromancer finds the artifact he will get more powerful.');
dialog[24].push('[ end dialog ] - c - CLOSEDIALOG');
dialog[25] = new Array();
dialog[25].push('');
dialog[25].push('The necromancer has escaped with the artifact! What can we do? - c - NEWSTATE 26');
dialog[26] = new Array();
dialog[26].push('I only know it is a very powerful relic and that it has been hidden here many years. Talk with Shardenias, maybe he knows something more about it.');
dialog[26].push('Ok, i\'ll talk with him. - c - CLOSEDIALOG');
if (_parent._parent.quesInv[100] != 0) {
stateD = 5;
}
if (_parent._parent.quesInv[2] == 2) {
stateD = 7;
if (_parent._parent.quesInv[100] == 2) {
stateD = 12;
}
}
if (_parent._parent.quesInv[2] == 3) {
stateD = 13;
}
if (_parent._parent.quesInv[2] == 4) {
stateD = 16;
}
if (_parent._parent.quesInv[2] == 5) {
stateD = 15;
}
if (_parent._parent.quesInv[2] == 1 && _parent._parent.quesInv[3] == 0) {
stateD = 22;
}
if (_parent._parent.quesInv[3] == 2) {
stateD = 20;
}
if (_parent._parent.quesInv[3] == 4) {
stateD = 23;
_parent._parent.engine_mc.updateQuest(3, 5);
} else {
if (_parent._parent.quesInv[3] == 5) {
stateD = 24;
}
}
if (_parent._parent.quesInv[3] == 6 || _parent._parent.quesInv[3] == 1) {
stateD = 25;
}
break;
case 'Atercrin':
dialog[0] = new Array();
dialog[0].push('Hello, what do you need?');
dialog[0].push('I want to trade with you weapons and armors. - c - OPENTRADE');
dialog[0].push('I would like to change the appearance of my equipment. - c - OPENBLACKSMITH');
dialog[0].push('Nothing at this moment, goodbye. - c - NEWSTATE 1');
dialog[1] = new Array();
dialog[1].push('Goodbye.');
break;
case 'Shardenias':
dialog[0] = new Array();
dialog[0].push('Hello, my name is Shardenias and this is my store.');
dialog[0].push('Hello, my name is <NAME>. You are a wizard, right? - c - NEWSTATE 1 - a - UPDATEQUEST 101 1');
dialog[0].push('Hello, what do you have for trading? - c - OPENTRADE');
dialog[0].push('Hello, i want you to enchant some of my items. - c - OPENENCHANT');
dialog[0].push('I need nothing at this moment, goodbye. - c - NEWSTATE 4');
dialog[1] = new Array();
dialog[1].push('Indeed.');
dialog[1].push('I heard you can make a potion of great power to improve my abilities, right? - c - NEWSTATE 2');
dialog[2] = new Array();
dialog[2].push('Yes, i can, but i need a special reagent to make the elixir and it is not easy to get. I need the silk of a giant spider queen. If you bring me the reagent i can make the potion for you.');
dialog[2].push('Ok, where can i find that spider and how much will the potion cost me? - c - NEWSTATE 3 - a - UPDATEQUEST 0 4');
dialog[3] = new Array();
dialog[3].push('I will charge you nothing if you are able to bring me the reagent. The spider is located in a cavern at the north, let me mark it in your map . . .');
dialog[3].push('I\'ll come back when i have the silk, bye. - c - NEWSTATE 4');
dialog[4] = new Array();
dialog[4].push('Goodbye.');
dialog[5] = new Array();
dialog[5].push('Hello <NAME>, do you need something?');
dialog[5].push('What do you have for trading? - c - OPENTRADE');
dialog[5].push('I want you to enchant some of my items. - c - OPENENCHANT');
dialog[5].push('I need nothing at this moment, goodbye. - c - NEWSTATE 4');
dialog[6] = new Array();
dialog[6].push('Hello <NAME>, do you need something?');
dialog[6].push('I got the spider silk, can you make the potion now? - c - NEWSTATE 7 - a - UPDATEQUEST 0 6');
dialog[6].push('What do you have for trading? - c - OPENTRADE');
dialog[6].push('I want you to enchant some of my items. - c - OPENENCHANT');
dialog[6].push('I need nothing at this moment, goodbye. - c - NEWSTATE 4');
dialog[7] = new Array();
dialog[7].push('Perfect, i have been preparing the elixir so it won\'t take me much time to finish it, just a few minutes.');
dialog[7].push('Ok, i\'ll wait here. - c - NEWSTATE 8 - a - FADE - a - CLOSEDIALOG');
dialog[8] = new Array();
dialog[8].push('Here you have. The effect of the elixir is permanent, it will be a part of you once you drink it.');
dialog[8].push('[drink the elixir] - c - NEWSTATE 9 - a - UPDATEQUEST 0 1 - a - UPDATEQUEST 2 2 - a - CLOSEDIALOG');
dialog[9] = new Array();
dialog[9].push('By the way, Isis asked me about you, she has a job for you and she pays well, you can find her in the south gate of the town.');
dialog[9].push('Thank you Shardenias, see you! - c - NEWSTATE 13');
dialog[10] = new Array();
dialog[10].push('');
dialog[10].push('Shardenias! Do you know something about a relic hidden in the town\'s crypt? A necromancer has stolen it while the town was under attack. - c - NEWSTATE 11 - a - UPDATEQUEST 3 1 - a - UPDATEQUEST 4 2');
dialog[10].push('[ end dialog ] - c - CLOSEDIALOG');
dialog[11] = new Array();
dialog[11].push('Ummm... I have no idea. But you can visit Dargolus and ask him, he is older and wiser than me, if someone knows something about the relic and the necromancer it\'s him for sure.');
dialog[11].push('Ok, i must go now. Thank you, Shardenias. - c - NEWSTATE 12');
dialog[12] = new Array();
dialog[12].push('Good luck, <NAME>.');
dialog[13] = new Array();
dialog[13].push('You are welcome, goodbye <NAME>.');
dialog[14] = new Array();
dialog[14].push('Hello <NAME>, do you need something?');
dialog[14].push('I heard you can make a potion to improve my abilities, right? - c - NEWSTATE 2');
dialog[14].push('What do you have for trading? - c - OPENTRADE');
dialog[14].push('I want you to enchant some of my items. - c - OPENENCHANT');
dialog[14].push('I need nothing at this moment, goodbye. - c - NEWSTATE 4');
if (_parent._parent.quesInv[101] != 0) {
stateD = 5;
if (_parent._parent.quesInv[0] == 3 || _parent._parent.quesInv[0] == 2) {
stateD = 14;
}
if (_parent._parent.quesInv[0] == 5) {
stateD = 6;
}
if (_parent._parent.quesInv[0] == 6) {
stateD = 8;
}
if (_parent._parent.quesInv[3] == 6) {
stateD = 10;
}
}
break;
case 'Dargolus':
dialog[0] = new Array();
dialog[0].push('What are you doing in my home? I don\'t like to be disturbed by strangers.');
dialog[0].push('Hello, i am <NAME>. I need your advice, Shardenias told me you can help me. An artifact has been stolen from Urnebbar\'s Crypt. Do you know something about it? - c - UPDATEQUEST 4 3 - a - NEWSTATE 1');
dialog[1] = new Array();
dialog[1].push('So Shardenias told you... Well, i guess that your visit is justified, this is an interesting matter. The artifact you are talking about is called Tenebra Iter, it is an staff which confers great power to dark magic adepts, a key to open a gate to other planes. A necromancer with this staff can bring demons from other planes to serve him. The summon capabilities of the staff are limited, but there is a special place where it can be used without any restriction, a mausoleum which is located past New Isantir. The thief might be heading there.');
dialog[1].push('Thank you, do you have any magical stuff to trade? - c - OPENTRADE');
dialog[1].push('Thank you, can you enchant some of my equipment? - c - OPENENCHANT');
dialog[1].push('Thank you, i must leave now, goodbye. - c - NEWSTATE 2');
dialog[2] = new Array();
dialog[2].push('Farewell <NAME>.');
dialog[3] = new Array();
dialog[3].push('Hello, do you need something?');
dialog[3].push('Do you have any magical stuff to trade? - c - OPENTRADE');
dialog[3].push('Can you enchant some of my equipment? - c - OPENENCHANT');
dialog[3].push('Not really, i have to go, goodbye. - c - NEWSTATE 2');
if (_parent._parent.quesInv[4] != 2) {
stateD = 3;
}
break;
case 'Zalmerion':
dialog[0] = new Array();
dialog[0].push('Finally, it is mine. I knew it was here, waiting for me to take it. You... i know who you are and what you are capable of. My minions will be enough to slay you.');
dialog[0].push('We will stop you, you won\'t get out with the artifact. - c - NEWSTATE 1');
dialog[1] = new Array();
dialog[1].push('You are just a weak being, my time is too valuable to waste it, i have things to do...');
dialog[1].push('[ end dialog ] - c - CLOSEDIALOG');
dialog[2] = new Array();
dialog[2].push('You again, how did you get here? It doesn\'t matter, but i was not expecting company. I underestimated you last time.');
dialog[2].push('I will destroy you and i\'ll recover the staff. - c - NEWSTATE 3');
dialog[2].push('Give me the staff and i\'ll spare your life. - c - NEWSTATE 3');
dialog[3] = new Array();
dialog[3].push('You are an insolent human, you are nothing compared to me, coming here to fight me was a bad decision.');
dialog[3].push('[ end dialog ] - c - CLOSEDIALOG');
if (_parent._parent.quesInv[4] > 1) {
stateD = 2;
}
break;
case 'Thermas':
dialog[0] = new Array();
dialog[0].push('I don\'t know how you found this place, but you\'ll regret it.');
dialog[0].push('[ end dialog ] - c - CLOSEDIALOG');
trace('DIALOGO CON THERMAS EN TALK_MC!!');
break;
case 'Bandit Chief':
dialog[0] = new Array();
dialog[0].push('We are lucky today, another lonely traveller. Let\'s kill him and take his gold.');
dialog[0].push('[ end dialog ] - c - CLOSEDIALOG');
break;
case 'Morgana':
dialog[0] = new Array();
dialog[0].push('What are you doing in my crypt? You will become one of my servants!');
dialog[0].push('[ end dialog ] - c - CLOSEDIALOG');
break;
case 'Icaro':
dialog[0] = new Array();
dialog[0].push('I am impressed human, I\'ve been watching you, you fought well but your journey ends here.');
dialog[0].push('[ end dialog ] - c - CLOSEDIALOG');
break;
case 'Nya':
dialog[0] = new Array();
dialog[0].push('Hello, i got some good items for trading, are you interested?');
dialog[0].push('Yes, lets take a look. - c - OPENTRADE');
dialog[0].push('Get away from me vampire! - c - NEWSTATE 2');
dialog[0].push('Maybe later, i have things to do, goodbye. - c - NEWSTATE 1');
dialog[1] = new Array();
dialog[1].push('Come back if you want to trade, see you!');
dialog[2] = new Array();
dialog[2].push('Hahaha... I was not expecting you to react this way. Ummm... it is ok. Come back later if you change your mind.');
dialog[2].push('[ end dialog ] - c - CLOSEDIALOG');
break;
case 'Reginald':
dialog[0] = new Array();
dialog[0][0] = 'Hello sir, you look strong, will you help an old alchemist?';
dialog[0][1] = 'What do you need? - c - NEWSTATE 1';
dialog[0][2] = 'I am too busy at this moment, sorry. - c - CLOSEDIALOG';
dialog[1] = new Array();
dialog[1][0] = 'The basement of my laboratory is infested with spiders, I can\'t work in that house with the noise, and i have many of the reagents i use in the basement. If you kill spiders, I could go back and continue my work there. As payment for your work you can get what you want from the chests in the basement.';
dialog[1][1] = 'I will do it, where is your laboratory? - c - NEWSTATE 2 - a - UPDATEQUEST 8 2';
dialog[1][2] = 'I am not interested, goodbye. - c - CLOSEDIALOG';
dialog[2] = new Array();
dialog[2][0] = 'Thank you very much sir, my laboratory is to the west of this town, let me mark its location on your map. Good luck!';
dialog[2][1] = 'See you later, bye. - c - CLOSEDIALOG';
dialog[3] = new Array();
dialog[3][0] = 'Thanks to you i am continuing my work, do you need something?';
dialog[3][1] = 'What do you have for trading? - c - CLOSEDIALOG - a - OPENTRADE';
dialog[3][2] = '[ end dialog ] - c - CLOSEDIALOG';
dialog[4] = new Array();
dialog[4][0] = '';
dialog[4][1] = 'Where is your laboratory located? - c - NEWSTATE 5';
dialog[4][2] = '[ end dialog ] - c - CLOSEDIALOG';
dialog[5] = new Array();
dialog[5][0] = 'It is in the forest to the west of this town.';
dialog[5][1] = 'I see, i\'ll head there later, goodbye. - c - NEWSTATE 6';
dialog[6] = new Array();
dialog[6][0] = 'Goodbye';
if (_parent._parent.quesInv[8] == 0) {
stateD = 0;
} else {
if (_parent._parent.quesInv[8] == 1) {
stateD = 3;
} else {
if (_parent._parent.quesInv[8] == 2) {
stateD = 4;
}
}
}
break;
case 'Dartenul':
dialog[0] = new Array();
dialog[0][0] = 'These demons took me by surprise, where the hell did they come from? I guess i\'ll have to stay here protecting the town instead of exploring the dungeon.';
dialog[0][1] = 'Dungeon? Which dungeon? - c - NEWSTATE 1 - a - UPDATEQUEST 9 2';
dialog[0][2] = '[ end dialog ] - c - CLOSEDIALOG';
dialog[1] = new Array();
dialog[1][0] = 'The dungeon to the west of the town. Ummm, maybe you could go instead of me, you look strong.';
dialog[1][1] = 'Ok, i\'ll think about that. Goodbye! - c - NEWSTATE 2';
dialog[2] = new Array();
dialog[2][0] = 'Goodbye traveller.';
dialog[3] = new Array();
dialog[3][0] = 'Hello again.';
dialog[3][1] = 'Where is that dungeon you mentioned? - c - NEWSTATE 4';
dialog[3][2] = 'I have to go, goodbye. - c - NEWSTATE 2';
dialog[4] = new Array();
dialog[4][0] = 'It is to the west of New Isantir, i think you should be able to find it if you explore that zone.';
dialog[4][1] = 'Ok, that\'s what i needed to ask you. Goodbye. - c - NEWSTATE 2';
dialog[5] = new Array();
dialog[5][0] = 'So you explored the dungeon, i hope you found something interesting in there...';
if (_parent._parent.quesInv[9] == 0) {
stateD = 0;
} else {
if (_parent._parent.quesInv[9] == 1) {
stateD = 5;
} else {
if (_parent._parent.quesInv[9] == 2) {
stateD = 3;
}
}
}
break;
case 'Farmer':
dialog[0] = new Array();
dialog[0][0] = 'You are here for the gold, right? Please don\'t kill me i don\'t have it yet.';
dialog[0][1] = 'One moment, who do you think i am? - c - NEWSTATE 1 - a - UPDATEQUEST 10 2';
dialog[0][2] = '[ end dialog ] - c - CLOSEDIALOG';
dialog[1] = new Array();
dialog[1][0] = 'You are not one of his men... thank god, i thought you were one of the bandits.';
dialog[1][1] = 'No, i am not, please tell me about these bandits. - c - NEWSTATE 2 - a - FARMQUEST1';
dialog[2] = new Array();
dialog[2][0] = 'They are coming from the north, they are already here, it is too late for me i don\'t have the gold they want.';
dialog[2][1] = '[ end dialog ] - c - CLOSEDIALOG';
dialog[3] = new Array();
dialog[3][0] = 'You kill all of them, thanks for your help, please take the contents of that chest.';
dialog[3][1] = 'No problem, i am tired of seeing honest people getting robbed, i am glad i could help. - c - CLOSEDIALOG';
dialog[4] = new Array();
dialog[4][0] = 'You have my eternal gratitude, thanks for helping me.';
if (_parent._parent.quesInv[10] == 2) {
stateD = 1;
} else {
if (_parent._parent.quesInv[10] == 3) {
stateD = 3;
_parent._parent.engine_mc.updateQuest(10, 1);
_parent._parent.engine_mc.accionSimple('FARMQUEST2');
} else {
if (_parent._parent.quesInv[10] == 1) {
stateD = 4;
}
}
}
break;
case '':
dialog[0] = new Array();
dialog[0].push('');
}
if (dialog[0] == undefined || dialog[0].length == 0) {
dialog[0] = new Array();
dialog[0].push('');
}
if (initState != undefined && !isNaN(initState)) {
trace('cambiando estado inicial de dialogo a : ' + initState);
stateD = initState;
}
}
function accionBoton(etiqueta) {
switch (etiqueta) {
case 'button01_mc':
break;
case 'button02_mc':
}
}
function inicializar() {
initDialog();
showDialog();
}
var stateD = 0;
var dialog = new Array();
var indiceO;
var indiceC;
var initState;
var overTalk = false;
var startT = getTimer();
onEnterFrame = function () {
if (getTimer() - startT > 200) {
checkOverTalk();
}
};
overTalk = false;
_parent._parent.engine_mc.overUI = true;
inicializar();
}
}
movieClip 19956 {
}
movieClip 19959 {
frame 1 {
_parent._alpha = 20;
}
frame 2 {
_parent._alpha = 40;
}
frame 3 {
_parent._alpha = 60;
}
frame 4 {
_parent._alpha = 80;
}
frame 5 {
_parent._alpha = 100;
if (_parent.checkUpdate) {
_parent.updateInfo();
} else {
stop();
}
}
frame 6 {
if (_parent.checkUpdate) {
_parent.updateInfo();
gotoAndPlay(5);
}
}
}
movieClip 19960 textInfoMC {
frame 1 {
function inicializar() {
if (titulo == undefined) {
titulo = '';
}
if (descripcion == undefined) {
descripcion = '';
}
titulo_txt.html = true;
descripcion_txt.html = true;
titulo_txt.htmlText = titulo;
descripcion_txt.htmlText = descripcion;
if (checkUpdate) {
descripcion = updateInfo();
}
descripcion_txt.wordWrap = true;
descripcion_txt.autoSize = true;
if (descripcion != '') {
bg_mc._height = descripcion_txt._height + descripcion_txt._y + 7;
} else {
bg_mc._height = titulo_txt._height + titulo_txt._y;
}
if (alinea == 1) {
_y = _y - bg_mc._height;
}
stageY;
stageX;
if (_x < 0) {
_x = 0;
}
if (_y < 0) {
_y = 0;
}
if (_x + _width > _parent._parent.stageX) {
_x = _parent._parent.stageX - _width;
}
if (_y + _height > _parent._parent.stageX) {
_y = _parent._parent.stageY - _height;
}
}
function updateInfo() {
var v2 = '';
var v4 = 0;
var v3 = 0;
switch (ins) {
case 'hp_mc':
v2 = Math.ceil(_parent._parent.engine_mc.objectHP[0]) + '/' + _parent._parent.engine_mc.objectMaxHP[0];
break;
case 'mp_mc':
v2 = Math.ceil(_parent._parent.engine_mc.currentMana) + '/' + _parent._parent.engine_mc.maxMana;
break;
case 'xp_mc':
v4 = _parent._parent.experienceLevel(_parent._parent.currentXPLevel);
v3 = _parent._parent.experienceLevel(_parent._parent.currentXPLevel - 1);
v2 = 'current level ' + (Math.ceil(_parent._parent.currentXP) - v3) + '/' + (v4 - v3);
v2 += '\ntotal experience ' + Math.ceil(_parent._parent.currentXP);
}
if (descripcion_txt.htmlText != v2) {
descripcion_txt.htmlText = v2;
}
return v2;
}
var titulo;
var descripcion;
var alinea;
var ins;
var checkUpdate;
inicializar();
}
}
movieClip 19969 {
frame 1 {
function actualizar() {
if (_parent._parent._parent.invTradeComp) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
actualizar();
onRelease = function () {
_parent.sorting_mc.contraer();
if (_parent._parent._parent.invTradeComp) {
_parent._parent._parent.invTradeComp = 0;
} else {
_parent._parent._parent.invTradeComp = 1;
}
_parent._parent._parent.savePref();
actualizar();
};
}
}
movieClip 19971 {
frame 1 {
function actualizar() {
if (_parent._parent._parent.allowEqSell) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
actualizar();
onRelease = function () {
var v2 = 0;
_parent.sorting_mc.contraer();
if (_parent._parent._parent.allowEqSell) {
_parent._parent._parent.allowEqSell = 0;
v2 = 0;
while (v2 < _parent.equippedSelect.length) {
_parent.equippedSelect[v2] = 0;
_parent.actualizar();
++v2;
}
} else {
_parent._parent._parent.allowEqSell = 1;
}
_parent._parent._parent.savePref();
actualizar();
};
}
}
movieClip 19977 {
frame 1 {
function update() {
icono_mc.gotoAndStop(icono);
precio_txt.text = texto;
cantidad_txt.text = cantidad;
if (!_parent.button04_mc._visible) {
if (Number(cantidad) == 0) {
_visible = false;
} else {
_visible = true;
}
}
}
function over() {
precio_txt.textColor = 10056546;
}
function notOver() {
precio_txt.textColor = 12040634;
}
var icono;
var texto;
var cantidad;
update();
onRollOver = function () {
over();
};
onDragOver = function () {
over();
};
onRollOut = function () {
notOver();
};
onDragOut = function () {
notOver();
};
onPress = function () {
_parent.fCounter = -1;
_parent.tradeSpeed = 14;
_parent.pressP = this._name;
};
onRelease = function () {
_parent.pressP = '';
};
}
}
movieClip 19978 tradingMC {
frame 1 {
function checkPress() {
++fCounter;
if (button02_mc.texto != 'TRADE ITEMS') {
pressP = '';
}
if (pressP != '') {
if (getTimer() - cTime > 200) {
if (fCounter % tradeSpeed == 0) {
tradePotion(pressP);
if (tradeSpeed > 2) {
--tradeSpeed;
}
}
}
}
}
function checkPotionTrader() {
if (_parent._parent.engine_mc.objectDesc[_parent._parent.engine_mc.currentLoot] == 'Innkeeper') {
switchTradeMode();
}
}
function tradePotion(s) {
var v2 = 0;
var v3 = 0;
if (s.charAt(0) == 's') {
v2 = Number(((s.split('_'))[0].split('sell'))[1]);
if (_parent._parent.miscInv[v2] > 0) {
if (v2 == 1) {
v3 = hPotPrice;
} else {
if (v2 == 2) {
v3 = mPotPrice;
} else {
v3 = _parent._parent.enchantValue[v2 - 3];
}
}
--_parent._parent.miscInv[v2];
merchantPotions[v2 - 1] = Number(merchantPotions[v2 - 1]) + 1;
_parent._parent.miscInv[0] += Math.round(v3 * sellP);
_parent._parent.sonido_mc.playFX('ORO');
} else {
pressP = '';
}
} else {
v2 = Number(((s.split('_'))[0].split('buy'))[1]);
if (Number(merchantPotions[v2 - 1]) > 0) {
if (v2 == 1) {
v3 = hPotPrice;
} else {
if (v2 == 2) {
v3 = mPotPrice;
} else {
v3 = _parent._parent.enchantValue[v2 - 3];
}
}
if (_parent._parent.miscInv[0] >= v3) {
++_parent._parent.miscInv[v2];
merchantPotions[v2 - 1] = Number(merchantPotions[v2 - 1]) - 1;
_parent._parent.miscInv[0] -= v3;
_parent._parent.sonido_mc.playFX('ORO');
} else {
trace('Not enough gold');
}
} else {
pressP = '';
}
}
potQuantity();
actualizarOro();
}
function potQuantity() {
var v3 = 0;
v3 = 1;
while (v3 < 8) {
des = 'sell0' + v3 + '_mc';
this[des].cantidad = _parent._parent.miscInv[v3];
this[des].update();
des = 'buy0' + v3 + '_mc';
this[des].cantidad = merchantPotions[v3 - 1];
this[des].update();
if (Number(this[des].cantidad) == 0) {
this[des]._visible = false;
} else {
this[des]._visible = true;
}
++v3;
}
}
function actualizarInfo() {
var v2 = 0;
var v4 = 0;
var v3 = 0;
aux = (String(_parent._parent.itemInv)).split(';');
v2 = 0;
while (v2 < merchantSelect.length) {
if (merchantSelect[v2] == 1) {
v4 += _parent._parent.getItemValue(merchantItems[v2]);
}
++v2;
}
v2 = 0;
while (v2 < inventorySelect.length) {
if (inventorySelect[v2] == 1) {
v3 += _parent._parent.getItemValue(aux[v2]);
}
++v2;
}
aux = (String(_parent._parent.itemEqu)).split(';');
v2 = 0;
while (v2 < equippedSelect.length) {
if (equippedSelect[v2] == 1) {
v3 += _parent._parent.getItemValue(aux[v2]);
}
++v2;
}
v3 = Math.round(sellP * v3);
info_txt.text = 'buy selected items for:\n' + v4 + ' gold\nsell selected items for:\n' + v3 + ' gold';
}
function actualizarOro() {
if (_parent._parent.miscInv[0] > 1000000000) {
gold_txt.text = Math.round(_parent._parent.miscInv[0] / 1000000) + 'M';
} else {
if (_parent._parent.miscInv[0] > 1000000) {
gold_txt.text = Math.round(_parent._parent.miscInv[0] / 1000) + 'K';
} else {
gold_txt.text = _parent._parent.miscInv[0];
}
}
}
function armaUnaManoCambiaSlot() {
var v2 = new Array();
var v3 = new Array();
var v4 = 0;
v2 = _parent._parent.itemEqu.split(';');
if (v2[0] != '') {
v3 = v2[0].split(',');
if ((v3[4] == 'Sword-1H' || v3[4] == 'Axe-1H' || v3[4] == 'Hammer-1H') && v2[1] == '') {
v2[1] = v2[0];
v2[0] = '';
_parent._parent.itemEqu = v2.join(';');
}
}
if (v2[2] != '') {
v3 = v2[2].split(',');
if ((v3[4] == 'Sword-1H' || v3[4] == 'Axe-1H' || v3[4] == 'Hammer-1H') && v2[3] == '') {
v2[3] = v2[2];
v2[2] = '';
_parent._parent.itemEqu = v2.join(';');
}
}
}
function armaDosManosVaciaSlot() {
var v4 = new Array();
var v2 = new Array();
var v3 = 0;
v4 = _parent._parent.itemEqu.split(';');
if (v4[1] != '') {
v2 = v4[1].split(',');
if (v2[4] == 'Staff' || v2[4] == 'Bow' || v2[4] == 'Sword-2H' || v2[4] == 'Axe-2H' || v2[4] == 'Hammer-2H') {
if (v4[0] != '') {
v2 = _parent._parent.itemInv.split(';');
v3 = 0;
while (v3 < v2.length) {
if (v2[v3] == '') {
v2[v3] = v4[0];
v4[0] = '';
_parent._parent.itemInv = v2.join(';');
_parent._parent.itemEqu = v4.join(';');
break;
}
++v3;
}
}
}
}
if (v4[3] != '') {
v2 = v4[3].split(',');
if (v2[4] == 'Staff' || v2[4] == 'Bow' || v2[4] == 'Sword-2H' || v2[4] == 'Axe-2H' || v2[4] == 'Hammer-2H') {
if (v4[2] != '') {
v2 = _parent._parent.itemInv.split(';');
v3 = 0;
while (v3 < v2.length) {
if (v2[v3] == '') {
v2[v3] = v4[2];
v4[2] = '';
_parent._parent.itemInv = v2.join(';');
_parent._parent.itemEqu = v4.join(';');
break;
}
++v3;
}
}
}
}
}
function actualizarAspecto() {
var v4 = 0;
var v5 = 0;
var v3 = new Array();
var v2 = new Array();
v3 = (String(_parent._parent.itemEqu)).split(';');
v2 = _parent._parent.pjConfig01.split(',');
if (v3[5] != '' && _parent._parent.itemReqOk[5] == 1) {
v2[1] = _parent._parent.getItemFrame(v3[5]);
v2[2] = (v3[5].split(','))[5];
} else {
v2[1] = 2;
v2[2] = 0;
}
if (v3[4] != '' && _parent._parent.itemReqOk[4] == 1) {
v2[5] = _parent._parent.getItemFrame(v3[4]);
v2[6] = (v3[4].split(','))[5];
} else {
v2[5] = 1;
v2[6] = 0;
}
v4 = 1;
v5 = 0;
if (v3[v4] != '' && _parent._parent.itemReqOk[v4] == 1) {
if ((v3[v4].split(','))[4] == 'Bow') {
v2[9] = _parent._parent.getItemFrame(v3[v4]);
v2[10] = (v3[v4].split(','))[5];
v2[7] = 1;
v2[8] = 0;
} else {
v2[7] = _parent._parent.getItemFrame(v3[v4]);
v2[8] = (v3[v4].split(','))[5];
}
} else {
v2[7] = 1;
v2[8] = 0;
v2[9] = 1;
v2[10] = 0;
}
if ((v3[v4].split(','))[4] != 'Bow') {
if (v3[v5] != '' && _parent._parent.itemReqOk[v5] == 1) {
v2[9] = _parent._parent.getItemFrame(v3[v5]);
v2[10] = (v3[v5].split(','))[5];
} else {
v2[9] = 1;
v2[10] = 0;
}
}
_parent._parent.pjConfig01 = v2.join(',');
v4 = 3;
v5 = 2;
if (v3[v4] != '' && _parent._parent.itemReqOk[v4] == 1) {
if ((v3[v4].split(','))[4] == 'Bow') {
v2[9] = _parent._parent.getItemFrame(v3[v4]);
v2[10] = (v3[v4].split(','))[5];
v2[7] = 1;
v2[8] = 0;
} else {
v2[7] = _parent._parent.getItemFrame(v3[v4]);
v2[8] = (v3[v4].split(','))[5];
}
} else {
v2[7] = 1;
v2[8] = 0;
v2[9] = 1;
v2[10] = 0;
}
if ((v3[v4].split(','))[4] != 'Bow') {
if (v3[v5] != '' && _parent._parent.itemReqOk[v5] == 1) {
v2[9] = _parent._parent.getItemFrame(v3[v5]);
v2[10] = (v3[v5].split(','))[5];
} else {
v2[9] = 1;
v2[10] = 0;
}
}
_parent._parent.pjConfig02 = v2.join(',');
}
function actualizar() {
var v3 = 0;
var v7 = 0;
var v4 = new String('');
var v5 = new Array();
var v6 = new Array();
var v8 = new String('left01_mc,right01_mc,left02_mc,right02_mc,head_mc,body_mc,acc01_mc,acc02_mc,acc03_mc,acc04_mc,acc05_mc');
_parent._parent.actualizarAbilitiesVars();
checkItemReq();
actualizarInfo();
actualizarOro();
armaDosManosVaciaSlot();
armaUnaManoCambiaSlot();
actualizarAspecto();
v3 = 1;
while (v3 < 51) {
if (v3 < 10) {
v4 = 'mer0' + v3 + '_mc';
} else {
v4 = 'mer' + v3 + '_mc';
}
if (merchantItems[v3 - 1] != '' && merchantItems[v3 - 1] != undefined && merchantItems[v3 - 1] != null) {
setIcono(merchantItems[v3 - 1], v4);
} else {
this[v4].fotograma = 1;
this[v4].actualizar();
}
if (merchantReq[v3 - 1] != 1) {
this[v4].attachMovie('itemNoEquipable', 'noEq_mc', 10);
} else {
if (this[v4].noEq_mc != undefined) {
this[v4].noEq_mc.removeMovieClip();
}
}
if (merchantSelect[v3 - 1] == 1) {
this[v4].attachMovie('inventorySelectedWeaponMC', 'select_mc', 15);
} else {
if (this[v4].select_mc != undefined) {
this[v4].select_mc.removeMovieClip();
}
}
++v3;
}
v5 = (String(_parent._parent.itemInv)).split(';');
v3 = 1;
while (v3 < 51) {
if (v3 < 10) {
v4 = 'inv0' + v3 + '_mc';
} else {
v4 = 'inv' + v3 + '_mc';
}
if (v5[v3 - 1] != '' && v5[v3 - 1] != undefined && v5[v3 - 1] != null) {
setIcono(v5[v3 - 1], v4);
} else {
this[v4].fotograma = 1;
this[v4].actualizar();
}
if (inventoryReq[v3 - 1] != 1) {
this[v4].attachMovie('itemNoEquipable', 'noEq_mc', 10);
} else {
if (this[v4].noEq_mc != undefined) {
this[v4].noEq_mc.removeMovieClip();
}
}
if (inventorySelect[v3 - 1] == 1) {
this[v4].attachMovie('inventorySelectedWeaponMC', 'select_mc', 15);
} else {
if (this[v4].select_mc != undefined) {
this[v4].select_mc.removeMovieClip();
}
}
++v3;
}
v5 = (String(_parent._parent.itemEqu)).split(';');
v6 = v8.split(',');
v3 = 0;
while (v3 < v5.length) {
if (v5[v3] != '' && v5[v3] != undefined && v5[v3] != null) {
setIcono(v5[v3], v6[v3]);
} else {
this[v6[v3]].fotograma = 1;
this[v6[v3]].actualizar();
}
++v3;
}
v3 = 0;
while (v3 < _parent._parent.itemReqOk.length) {
v7 = _parent._parent.itemReqOk[v3];
if (v3 == 0) {
v4 = 'left01_mc';
} else {
if (v3 == 1) {
v4 = 'right01_mc';
} else {
if (v3 == 2) {
v4 = 'left02_mc';
} else {
if (v3 == 3) {
v4 = 'right02_mc';
} else {
if (v3 == 4) {
v4 = 'head_mc';
} else {
if (v3 == 5) {
v4 = 'body_mc';
} else {
if (v3 == 6) {
v4 = 'acc01_mc';
} else {
if (v3 == 7) {
v4 = 'acc02_mc';
} else {
if (v3 == 8) {
v4 = 'acc03_mc';
} else {
if (v3 == 9) {
v4 = 'acc04_mc';
} else {
if (v3 == 10) {
v4 = 'acc05_mc';
}
}
}
}
}
}
}
}
}
}
}
if (v7 != 1) {
this[v4].attachMovie('itemNoEquipable', 'noEq_mc', 10);
} else {
if (this[v4].noEq_mc != undefined) {
this[v4].noEq_mc.removeMovieClip();
}
}
++v3;
}
v6 = v8.split(',');
v3 = 0;
while (v3 < equippedSelect.length) {
if (equippedSelect[v3]) {
this[v6[v3]].attachMovie('inventorySelectedWeaponMC', 'select_mc', 15);
} else {
this[v6[v3]].select_mc.removeMovieClip();
}
++v3;
}
}
function requisitosConItemOk(s, s2, n) {
var v6 = true;
var v3 = new Array();
var v4 = new Array();
var v9 = new String();
var v7 = 0;
var v11 = 0;
var v2 = 0;
var v5 = 0;
v6 = true;
v9 = _parent._parent.getItemReqs(s2);
if (v9 != '') {
v3 = v9.split(' ');
v2 = 0;
while (v2 < v3.length) {
if (isNaN(Number(v3[v2]))) {
} else {
v7 = Number(v3[v2]);
break;
}
++v2;
}
}
v3 = s.split(';');
if (n == 2 || n == 3) {
v3.splice(0, 2);
v4 = s2.split(',');
if (v4[4] == 'Staff' || v4[4] == 'Bow' || v4[4] == 'Sword-2H' || v4[4] == 'Axe-2H' || v4[4] == 'Hammer-2H') {
v3.splice(0, 1);
}
} else {
if (n == 0 || n == 1) {
v3.splice(2, 2);
v4 = s2.split(',');
if (v4[4] == 'Staff' || v4[4] == 'Bow' || v4[4] == 'Sword-2H' || v4[4] == 'Axe-2H' || v4[4] == 'Hammer-2H') {
v3.splice(0, 1);
}
} else {
if (_parent._parent.currentWeapon == 1) {
v3.splice(2, 2);
} else {
v3.splice(0, 2);
}
}
}
v2 = 0;
while (v2 < 6) {
if (_parent._parent.itemReqOk[v2] == 0) {
v5 = 0;
while (v5 < v3.length) {
if (v3[v2] == _parent._parent.itemEqu[v2]) {
v3.splice(v2, 1);
break;
}
++v5;
}
}
++v2;
}
v11 = Number(_parent._parent.sumaItems(v3.join(';'), 0)) + Number((_parent._parent.baseAbilities.split(','))[0]);
if (v7 > v11) {
v6 = false;
return v6;
}
v3 = s2.split(',');
if (v3[4] == 'Staff' || v3[4] == 'Bow' || v3[4] == 'Sword-2H' || v3[4] == 'Axe-2H' || v3[4] == 'Hammer-2H') {
if (n == 1) {
v3 = _parent._parent.itemEqu.split(';');
if (v3[0] != '') {
v4 = _parent._parent.itemInv.split(';');
v6 = false;
v2 = 0;
while (v2 < v4.length) {
if (v4[v2] == '') {
v6 = true;
break;
}
++v2;
}
if (v3[1] == '') {
v6 = true;
}
}
}
if (n == 3) {
v3 = _parent._parent.itemEqu.split(';');
if (v3[2] != '') {
v4 = _parent._parent.itemInv.split(';');
v6 = false;
v2 = 0;
while (v2 < v4.length) {
if (v4[v2] == '') {
v6 = true;
break;
}
++v2;
}
if (v3[3] == '') {
v6 = true;
}
}
}
}
return v6;
}
function checkItemReq() {
var v4 = new Array();
var v5 = new Array();
var v7 = new String();
var v9 = 0;
var v6 = 0;
var v3 = 0;
var v2 = 0;
var v10 = 20;
var v11 = '';
var v8 = 1;
v4 = _parent._parent.itemInv.split(';');
v11 = v4[0];
v4[0] = '';
_parent._parent.itemInv = v4.join(';');
v3 = 0;
while (v3 < _parent._parent.itemReqOk.length) {
_parent._parent.itemReqOk[v3] = 1;
++v3;
}
v5 = _parent._parent.itemEqu.split(';');
for (;;) {
if (!(v8 == 1 && v10 > 0)) break;
v8 = 0;
--v10;
v2 = 0;
while (v2 < 6) {
if (v5[v2] != '' && _parent._parent.itemReqOk[v2] != 0) {
if (!requisitosConItemOk(v5.join(';'), v5[v2], v2)) {
_parent._parent.itemReqOk[v2] = 0;
v8 = 1;
break;
}
}
++v2;
}
}
v4 = _parent._parent.itemInv.split(';');
v4[0] = v11;
_parent._parent.itemInv = v4.join(';');
if (v8) {
_parent._parent.actualizarAbilitiesVars();
}
v4 = _parent._parent.totalAbilities.split(',');
v9 = v4[0];
v3 = 0;
while (v3 < merchantItems.length) {
v7 = _parent._parent.getItemReqs(merchantItems[v3]);
v6 = 0;
if (v7 != '') {
v4 = v7.split(' ');
v2 = 0;
while (v2 < v4.length) {
if (isNaN(Number(v4[v2]))) {
} else {
v6 = Number(v4[v2]);
break;
}
++v2;
}
}
if (v9 >= v6) {
merchantReq[v3] = 1;
} else {
merchantReq[v3] = 0;
}
++v3;
}
v5 = _parent._parent.itemInv.split(';');
v3 = 0;
while (v3 < v5.length) {
v7 = _parent._parent.getItemReqs(v5[v3]);
v6 = 0;
if (v7 != '') {
v4 = v7.split(' ');
v2 = 0;
while (v2 < v4.length) {
if (isNaN(Number(v4[v2]))) {
} else {
v6 = Number(v4[v2]);
break;
}
++v2;
}
}
if (v9 >= v6) {
inventoryReq[v3] = 1;
} else {
inventoryReq[v3] = 0;
}
++v3;
}
}
function inicializar() {
var v3 = 0;
var v8 = 0;
var v4 = new String('');
var v5 = new Array();
var v7 = new Array();
var v6 = new String('left01_mc,right01_mc,left02_mc,right02_mc,head_mc,body_mc,acc01_mc,acc02_mc,acc03_mc,acc04_mc,acc05_mc');
if (_parent._parent.potions[_parent._parent.engine_mc.objectDesc[_parent._parent.engine_mc.currentLoot]]) {
merchantPotions = _parent._parent.potions[_parent._parent.engine_mc.objectDesc[_parent._parent.engine_mc.currentLoot]].split(',');
} else {
merchantPotions = _parent._parent.potions.estandar.split(',');
}
sell01_mc.icono = 1;
sell02_mc.icono = 2;
buy01_mc.icono = 1;
buy02_mc.icono = 2;
v3 = 3;
while (v3 < 8) {
v4 = 'sell0' + v3 + '_mc';
this[v4].icono = 3;
v4 = 'buy0' + v3 + '_mc';
this[v4].icono = 3;
++v3;
}
sell01_mc.texto = 'potion of\nhealth\nsell for ' + Math.round(hPotPrice * sellP) + ' gold';
buy01_mc.texto = 'potion of\nhealth\nbuy for ' + hPotPrice + ' gold';
sell02_mc.texto = 'potion of\nmagic\nsell for ' + Math.round(mPotPrice * sellP) + ' gold';
buy02_mc.texto = 'potion of\nmagic\nbuy for ' + mPotPrice + ' gold';
sell03_mc.texto = 'corporal\nenchantment\nsell for ' + Math.round(_parent._parent.enchantValue[0] * sellP) + ' gold';
buy03_mc.texto = 'corporal\nenchantment\nbuy for ' + Math.round(_parent._parent.enchantValue[0]) + ' gold';
sell04_mc.texto = 'spiritual\nenchantment\nsell for ' + Math.round(_parent._parent.enchantValue[1] * sellP) + ' gold';
buy04_mc.texto = 'spiritual\nenchantment\nbuy for ' + Math.round(_parent._parent.enchantValue[1]) + ' gold';
sell05_mc.texto = 'speed\nenchantment\nsell for ' + Math.round(_parent._parent.enchantValue[2] * sellP) + ' gold';
buy05_mc.texto = 'speed\nenchantment\nbuy for ' + Math.round(_parent._parent.enchantValue[2]) + ' gold';
sell06_mc.texto = 'master\nenchantment\nsell for ' + Math.round(_parent._parent.enchantValue[3] * sellP) + ' gold';
buy06_mc.texto = 'master\nenchantment\nbuy for ' + Math.round(_parent._parent.enchantValue[3]) + ' gold';
sell07_mc.texto = 'hardening\nenchantment\nsell for ' + Math.round(_parent._parent.enchantValue[4] * sellP) + ' gold';
buy07_mc.texto = 'hardening\nenchantment\nbuy for ' + Math.round(_parent._parent.enchantValue[4]) + ' gold';
potQuantity();
button01_mc.texto = 'BACK TO GAME';
button02_mc.texto = 'TRADE POTIONS';
button04_mc.texto = 'BUY SELECTED';
button05_mc.texto = 'SELL SELECTED';
bg_mc._width = _parent._parent.stageX;
bg_mc._height = _parent._parent.stageY;
if (bg_mc._width > 640 || bg_mc._height > 480) {
bg_mc._x = -_parent._x;
bg_mc._y = -Math.round(_parent._y / 2);
_y = -Math.round(_parent._y / 2);
}
merchantItems = (String(_parent._parent.engine_mc.objectItems[_parent._parent.engine_mc.currentLoot])).split(';');
v3 = 1;
while (v3 < 51) {
merchantSelect[v3 - 1] = 0;
if (v3 < 10) {
v4 = 'mer0' + v3 + '_mc';
} else {
v4 = 'mer' + v3 + '_mc';
}
this[v4].onPress = function () {
sorting_mc.contraer();
selectItem(this._name);
};
this[v4].onRollOver = function () {
overItemM(this._name);
};
this[v4].onDragOver = function () {
overItemM(this._name);
};
this[v4].onRollOut = function () {
hideItem();
};
this[v4].onDragOut = function () {
hideItem();
};
++v3;
}
v5 = v6.split(',');
v3 = 0;
while (v3 < v5.length) {
this[v5[v3]].onPress = function () {
sorting_mc.contraer();
selectItem(this._name);
};
this[v5[v3]].onRollOver = function () {
overItemE(this._name);
};
this[v5[v3]].onDragOver = function () {
overItemE(this._name);
};
this[v5[v3]].onRollOut = function () {
hideItem();
};
this[v5[v3]].onDragOut = function () {
hideItem();
};
++v3;
}
v3 = 1;
while (v3 < 51) {
inventorySelect[v3 - 1] = 0;
if (v3 < 10) {
v4 = 'inv0' + v3 + '_mc';
} else {
v4 = 'inv' + v3 + '_mc';
}
this[v4].onPress = function () {
sorting_mc.contraer();
selectItem(this._name);
};
this[v4].onRollOver = function () {
overItemI(this._name);
};
this[v4].onDragOver = function () {
overItemI(this._name);
};
this[v4].onRollOut = function () {
hideItem();
};
this[v4].onDragOut = function () {
hideItem();
};
++v3;
}
}
function sellItems() {
var v2 = 0;
var v3 = 0;
var v4 = new Array();
var v6 = new Array();
var v5 = new Array();
var v7 = new Array();
var v8 = '';
var v9 = 0;
v4 = _parent._parent.itemInv.split(';');
v2 = 0;
while (v2 < inventorySelect.length) {
if (inventorySelect[v2] == 1) {
v6.push(v2);
v9 += _parent._parent.getItemValue(v4[v2]);
}
++v2;
}
v5 = (String(_parent._parent.itemEqu)).split(';');
v2 = 0;
while (v2 < equippedSelect.length) {
if (equippedSelect[v2] == 1) {
v9 += _parent._parent.getItemValue(v5[v2]);
v7.push(v5[v2]);
v5[v2] = '';
equippedSelect[v2] = 0;
}
++v2;
}
v9 = Math.round(sellP * v9);
if (v6.length > 0) {
while (v6.length > 0) {
v3 = Number(v6.shift());
v2 = merchantItems.length - 1;
while (v2 >= 0) {
if (merchantItems[v2] == '') {
merchantItems[v2] = v4[v3];
break;
}
--v2;
}
v4[v3] = '';
inventorySelect[v3] = 0;
}
}
while (v7.length > 0) {
v8 = String(v7.shift());
v2 = merchantItems.length - 1;
while (v2 >= 0) {
if (merchantItems[v2] == '') {
merchantItems[v2] = v8;
break;
}
--v2;
}
}
_parent._parent.miscInv[0] += v9;
_parent._parent.sonido_mc.playFX('ORO');
_parent._parent.itemInv = v4.join(';');
_parent._parent.itemEqu = v5.join(';');
actualizar();
}
function buyItems() {
var v2 = 0;
var v4 = 0;
var v3 = new Array();
var v5 = new Array();
var v6 = 0;
v2 = 0;
while (v2 < merchantSelect.length) {
if (merchantSelect[v2] == 1) {
v5.push(v2);
v6 += _parent._parent.getItemValue(merchantItems[v2]);
}
++v2;
}
v3 = _parent._parent.itemInv.split(';');
v2 = 0;
while (v2 < v3.length) {
if (v3[v2] == '') {
++v4;
}
++v2;
}
if (v5.length > 0) {
if (_parent._parent.miscInv[0] < v6) {
trace('Not enough gold');
} else {
if (v4 < v5.length) {
trace('Not enough room');
}
}
}
if (v5.length > 0 && v4 >= v5.length && _parent._parent.miscInv[0] >= v6) {
while (v5.length > 0) {
v4 = Number(v5.shift());
v2 = 0;
while (v2 < v3.length) {
if (v3[v2] == '') {
v3[v2] = merchantItems[v4];
break;
}
++v2;
}
merchantItems[v4] = '';
merchantSelect[v4] = 0;
}
_parent._parent.miscInv[0] -= v6;
_parent._parent.sonido_mc.playFX('ORO');
}
_parent._parent.itemInv = v3.join(';');
actualizar();
}
function selectItem(s) {
var v2 = 0;
var v3 = new Array();
var v4 = new Array();
var v6 = new String('left01_mc,right01_mc,left02_mc,right02_mc,head_mc,body_mc,acc01_mc,acc02_mc,acc03_mc,acc04_mc,acc05_mc');
if (s.charAt(0) == 'm') {
v2 = Number(((s.split('mer'))[1].split('_'))[0]) - 1;
if (merchantItems[v2] != '') {
if (merchantSelect[v2] == 1) {
merchantSelect[v2] = 0;
} else {
merchantSelect[v2] = 1;
}
}
} else {
if (s.charAt(0) == 'i') {
v2 = Number(((s.split('inv'))[1].split('_'))[0]) - 1;
v3 = _parent._parent.itemInv.split(';');
if (v3[v2] != '') {
if (inventorySelect[v2] == 1) {
inventorySelect[v2] = 0;
} else {
inventorySelect[v2] = 1;
}
}
} else {
if (_parent._parent.allowEqSell) {
v3 = v6.split(',');
v4 = (String(_parent._parent.itemEqu)).split(';');
v2 = 0;
while (v2 < v3.length) {
if (s == v3[v2]) {
if (equippedSelect[v2]) {
equippedSelect[v2] = 0;
} else {
equippedSelect[v2] = 1;
}
if (v4[v2] == '' || v4[v2] == undefined) {
equippedSelect[v2] = 0;
}
break;
}
++v2;
}
}
}
}
actualizar();
}
function tradePotionsV(v) {
var v3 = new Array('sell01_mc', 'sell02_mc', 'sell03_mc', 'sell04_mc', 'sell05_mc', 'sell06_mc', 'sell07_mc', 'buy01_mc', 'buy02_mc', 'buy03_mc', 'buy04_mc', 'buy05_mc', 'buy06_mc', 'buy07_mc');
var v2 = 0;
v2 = 0;
while (v2 < v3.length) {
this[v3[v2]]._visible = v;
++v2;
}
}
function tradeItemsV(v) {
var v5 = new Array();
var v3 = '';
var v2 = 0;
var v6 = new String('left01_mc,right01_mc,left02_mc,right02_mc,head_mc,body_mc,acc01_mc,acc02_mc,acc03_mc,acc04_mc,acc05_mc');
v2 = 1;
while (v2 < 51) {
if (v2 < 10) {
v3 = 'inv0' + v2 + '_mc';
} else {
v3 = 'inv' + v2 + '_mc';
}
this[v3]._visible = v;
++v2;
}
v2 = 1;
while (v2 < 51) {
if (v2 < 10) {
v3 = 'mer0' + v2 + '_mc';
} else {
v3 = 'mer' + v2 + '_mc';
}
this[v3]._visible = v;
++v2;
}
button04_mc._visible = v;
button05_mc._visible = v;
v2 = 0;
while (v2 < merchantSelect.length) {
merchantSelect[v2] = 0;
++v2;
}
v2 = 0;
while (v2 < inventorySelect.length) {
inventorySelect[v2] = 0;
++v2;
}
merchantIcBg_mc._visible = v;
inventoryIcBg_mc._visible = v;
sorting_mc._visible = v;
check1_mc._visible = v;
check2_mc._visible = v;
actualizarInfo();
if (v) {
actualizar();
}
}
function switchTradeMode() {
if (button02_mc.texto == 'TRADE POTIONS') {
button02_mc.texto = 'TRADE ITEMS';
tradeItemsV(false);
tradePotionsV(true);
potQuantity();
} else {
button02_mc.texto = 'TRADE POTIONS';
tradeItemsV(true);
tradePotionsV(false);
}
button02_mc.updateText();
}
function accionBoton(etiqueta) {
_parent._parent.sonido_mc.playFX('BOTON');
_parent._parent.fadeOutScreen();
sorting_mc.contraer();
switch (etiqueta) {
case 'button01_mc':
_parent._parent.potions[_parent._parent.engine_mc.objectDesc[_parent._parent.engine_mc.currentLoot]] = merchantPotions.join(',');
_parent._parent.engine_mc.objectItems[_parent._parent.engine_mc.currentLoot] = merchantItems.join(';');
_parent.closeTrading();
break;
case 'button02_mc':
switchTradeMode();
break;
case 'button04_mc':
buyItems();
break;
case 'button05_mc':
sellItems();
}
}
function getCheapestAcc() {
var v6 = 'acc05_mc';
var v5 = new Array();
var v2 = 6;
var v7 = 10;
var v4 = 0;
var v3 = 0;
v5 = _parent._parent.itemEqu.split(';');
v4 = _parent._parent.getItemValue(v5[10]);
while (v2 < v7) {
v3 = _parent._parent.getItemValue(v5[v2]);
if (v3 > 0 && v3 < v4) {
v4 = v3;
v6 = 'acc0' + (v2 - 5) + '_mc';
}
++v2;
}
return v6;
}
function overItemE(ori) {
var v5 = new Array();
var v8 = 0;
var v7 = 0;
var v3 = 0;
var v6 = 0;
v8 = this[ori]._x - 1;
v7 = this[ori]._y - 1;
if (ori == 'left01_mc') {
v3 = 0;
} else {
if (ori == 'right01_mc') {
v3 = 1;
} else {
if (ori == 'left02_mc') {
v3 = 2;
} else {
if (ori == 'right02_mc') {
v3 = 3;
} else {
if (ori == 'head_mc') {
v3 = 4;
} else {
if (ori == 'body_mc') {
v3 = 5;
} else {
if (ori == 'acc01_mc') {
v3 = 6;
} else {
if (ori == 'acc02_mc') {
v3 = 7;
} else {
if (ori == 'acc03_mc') {
v3 = 8;
} else {
if (ori == 'acc04_mc') {
v3 = 9;
} else {
if (ori == 'acc05_mc') {
v3 = 10;
}
}
}
}
}
}
}
}
}
}
}
v5 = (String(_parent._parent.itemEqu)).split(';');
j = _parent._parent.itemReqOk[v3];
v6 = Math.round(_parent._parent.getItemValue(v5[v3]) * sellP);
if (j == 0) {
overItem(v5[v3], v8, v7, 0, 1, v6, 'iteminfo2_mc');
} else {
overItem(v5[v3], v8, v7, 0, 0, v6, 'iteminfo2_mc');
}
}
function overItemM(ori) {
var v8 = 0;
var v7 = 0;
var v5 = 0;
var v6 = 0;
var v3 = '';
var v4 = '';
v8 = this[ori]._x - 1;
v7 = this[ori]._y - 1;
if (merchantReq[Number(((ori.split('mer'))[1].split('_'))[0]) - 1] != 1) {
v5 = 1;
} else {
v5 = 0;
}
auxs = merchantItems[Number(((ori.split('mer'))[1].split('_'))[0]) - 1];
v6 = _parent._parent.getItemValue(auxs);
overItem(auxs, v8, v7, 0, v5, v6, 'iteminfo_mc');
if (auxs != '') {
v3 = (auxs.split(','))[4];
if (v3 == 'Armor') {
v4 = 'body_mc';
} else {
if (v3 == 'Helm') {
v4 = 'head_mc';
} else {
if (v3 == 'Shield') {
if (_parent._parent.currentWeapon == 1) {
v4 = 'left01_mc';
} else {
v4 = 'left02_mc';
}
} else {
if (v3 == 'Accessory') {
v4 = 'acc05_mc';
v4 = getCheapestAcc();
if (acc01_mc.fotograma == 1) {
v4 = 'acc01_mc';
} else {
if (acc02_mc.fotograma == 1) {
v4 = 'acc02_mc';
} else {
if (acc03_mc.fotograma == 1) {
v4 = 'acc03_mc';
} else {
if (acc04_mc.fotograma == 1) {
v4 = 'acc04_mc';
} else {
if (acc05_mc.fotograma == 1) {
v4 = 'acc05_mc';
}
}
}
}
}
} else {
if (v3 == 'Bow' || v3 == 'Staff' || v3 == 'Sword-2H' || v3 == 'Axe-2H' || v3 == 'Hammer-2H') {
if (_parent._parent.currentWeapon == 1) {
v4 = 'right01_mc';
} else {
v4 = 'right02_mc';
}
} else {
if (_parent._parent.currentWeapon == 1) {
v4 = 'left01_mc';
} else {
v4 = 'left02_mc';
}
if (_parent._parent.currentWeapon == 1) {
v3 = ((_parent._parent.itemEqu.split(';'))[0].split(','))[4];
} else {
v3 = ((_parent._parent.itemEqu.split(';'))[2].split(','))[4];
}
if (v3 == 'Shield') {
if (_parent._parent.currentWeapon == 1) {
v4 = 'right01_mc';
} else {
v4 = 'right02_mc';
}
}
if (_parent._parent.currentWeapon == 1) {
v3 = ((_parent._parent.itemEqu.split(';'))[1].split(','))[4];
} else {
v3 = ((_parent._parent.itemEqu.split(';'))[3].split(','))[4];
}
if (v3 == 'Bow' || v3 == 'Staff' || v3 == 'Sword-2H' || v3 == 'Axe-2H' || v3 == 'Hammer-2H') {
if (_parent._parent.currentWeapon == 1) {
v4 = 'right01_mc';
} else {
v4 = 'right02_mc';
}
}
}
}
}
}
}
overItemE(v4);
if (iteminfo_mc._x < iteminfo_mc._width / 2) {
iteminfo2_mc._x = iteminfo_mc._width + 125;
} else {
iteminfo2_mc._x = iteminfo_mc._x + iteminfo_mc._width / 2 + 139;
}
iteminfo2_mc._y = iteminfo_mc._y;
iteminfo2_mc.requisitos = 'currently equipped';
iteminfo2_mc.actualizar();
}
}
function overItemI(ori) {
var v9 = new Array();
var v5 = 0;
var v8 = 0;
var v6 = 0;
var v7 = 0;
var v3 = '';
var v4 = '';
v5 = this[ori]._x - 1;
v8 = this[ori]._y - 1;
v9 = (String(_parent._parent.itemInv)).split(';');
if (inventoryReq[Number(((ori.split('inv'))[1].split('_'))[0]) - 1] != 1) {
v6 = 1;
} else {
v6 = 0;
}
auxs = v9[Number(((ori.split('inv'))[1].split('_'))[0]) - 1];
v7 = Math.round(_parent._parent.getItemValue(auxs) * sellP);
if (_parent._parent.invTradeComp) {
if (v5 < 340) {
v5 = 180;
} else {
v5 = 467;
}
}
overItem(auxs, v5, v8, 0, v6, v7, 'iteminfo_mc');
if (_parent._parent.invTradeComp) {
if (auxs != '') {
v3 = (auxs.split(','))[4];
if (v3 == 'Armor') {
v4 = 'body_mc';
} else {
if (v3 == 'Helm') {
v4 = 'head_mc';
} else {
if (v3 == 'Shield') {
if (_parent._parent.currentWeapon == 1) {
v4 = 'left01_mc';
} else {
v4 = 'left02_mc';
}
} else {
if (v3 == 'Accessory') {
v4 = 'acc05_mc';
v4 = getCheapestAcc();
if (acc01_mc.fotograma == 1) {
v4 = 'acc01_mc';
} else {
if (acc02_mc.fotograma == 1) {
v4 = 'acc02_mc';
} else {
if (acc03_mc.fotograma == 1) {
v4 = 'acc03_mc';
} else {
if (acc04_mc.fotograma == 1) {
v4 = 'acc04_mc';
} else {
if (acc05_mc.fotograma == 1) {
v4 = 'acc05_mc';
}
}
}
}
}
} else {
if (v3 == 'Bow' || v3 == 'Staff' || v3 == 'Sword-2H' || v3 == 'Axe-2H' || v3 == 'Hammer-2H') {
if (_parent._parent.currentWeapon == 1) {
v4 = 'right01_mc';
} else {
v4 = 'right02_mc';
}
} else {
if (_parent._parent.currentWeapon == 1) {
v4 = 'left01_mc';
} else {
v4 = 'left02_mc';
}
if (_parent._parent.currentWeapon == 1) {
v3 = ((_parent._parent.itemEqu.split(';'))[0].split(','))[4];
} else {
v3 = ((_parent._parent.itemEqu.split(';'))[2].split(','))[4];
}
if (v3 == 'Shield') {
if (_parent._parent.currentWeapon == 1) {
v4 = 'right01_mc';
} else {
v4 = 'right02_mc';
}
}
if (_parent._parent.currentWeapon == 1) {
v3 = ((_parent._parent.itemEqu.split(';'))[1].split(','))[4];
} else {
v3 = ((_parent._parent.itemEqu.split(';'))[3].split(','))[4];
}
if (v3 == 'Bow' || v3 == 'Staff' || v3 == 'Sword-2H' || v3 == 'Axe-2H' || v3 == 'Hammer-2H') {
if (_parent._parent.currentWeapon == 1) {
v4 = 'right01_mc';
} else {
v4 = 'right02_mc';
}
}
}
}
}
}
}
overItemE(v4);
if (v5 < 200) {
if (iteminfo_mc._x < iteminfo_mc._width / 2) {
iteminfo2_mc._x = iteminfo_mc._width + 125;
} else {
iteminfo2_mc._x = iteminfo_mc._x + iteminfo_mc._width / 2 + 139;
}
} else {
iteminfo2_mc._x = iteminfo_mc._x - iteminfo_mc._width / 2 - 139;
}
iteminfo2_mc._y = iteminfo_mc._y;
iteminfo2_mc.requisitos = 'currently equipped';
iteminfo2_mc.actualizar();
}
}
}
function overItem(auxs, desX, desY, align, redreq, v, itarget) {
var v7 = new Array();
var v6 = new String('');
var v5 = new String('');
var v3 = new String('');
var v4 = new String('');
if (auxs != '' && auxs != undefined && auxs != null) {
v7 = auxs.split(',');
v6 = _parent._parent.getItemName(auxs);
if (v7.length > 2) {
v5 = _parent._parent.getItemReqs(auxs);
v3 = _parent._parent.getItemDescription(auxs);
v4 = _parent._parent.getItemStats(auxs);
} else {
v3 = _parent._parent.getItemDescription(auxs);
}
showItem(v6, v5, v3, v4, desX, desY, align, redreq, v, itarget);
}
}
function showItem(t1, t2, t3, t4, desX, desY, align, redreq, v, itarget) {
var v3 = new String('');
if (t4 == '') {
v3 = t3;
} else {
v3 = t3 + '\n' + t4;
}
if (t1 != '' && t1 != undefined && t1 != null) {
attachMovie('itemInfoMC', itarget, this.getNextHighestDepth());
this[itarget].titulo = t1;
this[itarget].descripcion = v3;
this[itarget].requisitos = t2;
this[itarget].alinea = align;
this[itarget].reqRojo = redreq;
this[itarget].valor = v;
this[itarget].actualizar();
this[itarget]._x = desX;
this[itarget]._y = desY;
}
}
function setIcono(item, mc) {
var v3 = new Array();
v3 = item.split(',');
if (v3.length > 2) {
this[mc].fotograma = 2;
this[mc].iIcon = Number(v3[6]);
this[mc].iBG = Number(v3[7]);
this[mc].iColor = Number(v3[5]);
this[mc].actualizar();
} else {
if (v3[0] == 'potion') {
if (v3[1] == '1') {
this[mc].fotograma = 3;
} else {
if (v3[1] == '2') {
this[mc].fotograma = 4;
} else {
this[mc].fotograma = 5;
}
}
this[mc].actualizar();
} else {
if (v3[0] == 'gold') {
this[mc].fotograma = 6;
this[mc].actualizar();
} else {
if (auxs[0] == 'quest') {
}
}
}
}
}
function hideItem() {
iteminfo_mc.removeMovieClip();
iteminfo2_mc.removeMovieClip();
}
var merchantItems = new Array();
var merchantPotions = new Array();
var merchantReq = new Array();
var inventoryReq = new Array();
var merchantSelect = new Array();
var inventorySelect = new Array();
var equippedSelect = new Array();
var sellP = 0.3;
var hPotPrice = 100;
var mPotPrice = 100;
var pressP = '';
var tradeSpeed = 12;
var fCounter = 0;
var cTime = getTimer();
_parent._parent.potionStock();
inicializar();
tradePotionsV(false);
actualizar();
checkPotionTrader();
onEnterFrame = function () {
checkPress();
};
}
}
movieClip 19982 {
}
movieClip 19986 {
}
movieClip 19988 {
frame 1 {
stop();
}
}
movieClip 19991 {
}
movieClip 19993 {
frame 1 {
stop();
}
}
movieClip 19996 {
}
movieClip 19998 {
frame 1 {
stop();
}
}
movieClip 20001 {
}
movieClip 20003 {
frame 1 {
stop();
}
}
movieClip 20005 {
frame 1 {
stop();
}
}
movieClip 20008 {
}
movieClip 20010 {
frame 1 {
stop();
}
}
movieClip 20013 {
}
movieClip 20015 {
frame 1 {
stop();
}
}
movieClip 20017 {
}
movieClip 20021 worldMapMC {
frame 1 {
function changeStartZone(ncx, ncy) {
var v3 = new Array();
var v2 = new Array();
v3 = _parent._parent.zoneData.split(' SZ: ');
i = 0;
while (i < v3.length) {
v2 = v3[i].split(' SC: ');
if (v2[3] == 'START') {
v2[1] = ncx;
v2[2] = ncy;
v3[i] = v2.join(' SC: ');
break;
}
++i;
}
_parent._parent.zoneData = v3.join(' SZ: ');
}
function addRandomPotions() {
var v3 = '';
var v6 = 5;
var v7 = 5;
var v5 = Math.floor(Math.random() * 5);
var v2 = Math.floor(Math.random() * 5);
var v4 = new Array('Potion Of Health Restoration', 'Potion Of Magic Restoration', 'Corporal Enchanment', 'Spiritual Enchanment', 'Speed Enchanment', 'Master\'s Enchanment', 'Hardening Enchanment');
if (v5 == v2) {
++v2;
}
if (v2 > 5) {
v2 = 0;
}
v3 = '+' + v6 + ' ' + v4[0];
v3 += '\n+' + v7 + ' ' + v4[1];
v3 += '\n+5 ' + v4[v5 + 2];
v3 += '\n+5 ' + v4[v2 + 2];
_parent._parent.miscInv[1] += v6;
_parent._parent.miscInv[2] += v7;
_parent._parent.miscInv[v5 + 3] += 5;
_parent._parent.miscInv[v2 + 3] += 5;
return v3;
}
function mapaAleatorio() {
var v3 = new Array();
var v4 = Math.random();
attachMovie('wmRandomEventMC', 'random_mc', this.getNextHighestDepth());
if (v4 < 0.1 && _parent._parent.quesInv[0] == 1) {
v3[3] = 'You meet an alchemist in your travel, before leaving\n he gives you some potions to help you in your quest.';
v3[3] += '\n' + addRandomPotions();
v3[1] = '';
v3[2] = 'CONTINUE';
v3[0] = 0;
} else {
v3 = randomEvents[Math.floor(randomEvents.length * Math.random())].split(' - c - ');
}
random_mc.descripcion = v3[3];
random_mc.boton1t = v3[1];
random_mc.boton2t = v3[2];
random_mc.map = Number(v3[0]);
random_mc.inicializar();
}
function mostrarRuta() {
var v3 = '';
var v5 = _parent._parent.currentMap;
var v4 = 0.98;
if (_parent._parent.quesInv[0] == 5 && _parent._parent.quesInv[1] == 0) {
v4 = 0;
}
if (puntos.length > 0) {
v3 = 'punto' + contador + '_mc';
attachMovie('puntoMC', v3, this.getNextHighestDepth());
if (contador % 2 == 0) {
_parent._parent.sonido_mc.playFX('STEP');
}
this[v3]._x = puntos[0][0];
this[v3]._y = puntos[0][1];
++contador;
puntos.shift();
if (puntos.length == 0) {
_parent._parent.mapXCoor = Math.round(this[v3]._x);
_parent._parent.mapYCoor = Math.round(this[v3]._y);
inicio_mc._x = _parent._parent.mapXCoor;
inicio_mc._y = _parent._parent.mapYCoor;
inicio_mc._visible = true;
trace('Cargar mapa de destino');
_parent._parent.currentMap = mapToLoad;
if (_parent._parent.quesInv[3] > 3 && mapToLoad == 1) {
_parent._parent.currentMap = 21;
}
if (_parent._parent.quesInv[4] > 0 && mapToLoad == 1) {
_parent._parent.currentMap = 22;
}
_parent._parent.setMap(_parent._parent.currentMap);
if (_parent._parent.currentMap == 0) {
if (v5 != 99) {
changeStartZone(73, 7);
}
} else {
if (_parent._parent.currentMap == 1 || _parent._parent.currentMap == 21 || _parent._parent.currentMap == 22) {
if (v5 != 0) {
changeStartZone(73, 5);
}
}
}
_parent._parent.startGame();
_parent.closeWorldMap();
} else {
if (Math.random() > v4 && contador > 3 && puntos.length > 3) {
puntos.splice(0, puntos.length);
_parent._parent.mapXCoor = Math.round(this[v3]._x);
_parent._parent.mapYCoor = Math.round(this[v3]._y);
origen[0] = _parent._parent.mapXCoor;
origen[1] = _parent._parent.mapYCoor;
inicio_mc._x = origen[0];
inicio_mc._y = origen[1];
inicio_mc._visible = true;
if (v4 == 0) {
attachMovie('wmAmbushQuestMC', 'ambush_mc', this.getNextHighestDepth());
} else {
mapaAleatorio();
}
}
}
}
}
function generarRutaD(oX, dX, oY, dY) {
var v4 = 10;
var v10 = v4 + 4;
var v5 = 75;
var v6 = 0;
var v12 = Math.atan((dY - oY) / (dX - oX));
var v3 = dX - oX;
var v13 = dY - oY;
var v7 = 0;
var v8 = 0;
if (v3 == 0) {
v6 = 90;
} else {
v6 = Math.atan(-v13 / v3) * 180 / Math.PI;
}
if (v3 >= 0 && v13 < 0) {
v6 += 360;
} else {
if (v3 < 0) {
v6 += 180;
}
}
v6 %= 360;
v12 = v6 * Math.PI / 180;
v7 = Math.cos(v12);
v8 = Math.sin(v12);
puntos.push(new Array(oX, oY));
while (v5 > 0) {
v3 = Math.sqrt(Math.pow(oX - dX, 2) + Math.pow(oY - dY, 2));
if (v3 < v10) {
break;
} else {
oX += Math.round(v7 * v4);
oY -= Math.round(v8 * v4);
puntos.push(new Array(oX, oY));
}
--v5;
}
}
function generarRutaP(i1, i2) {
var v1 = 0;
if (i2 > i1) {
v1 = i1;
while (v1 < i2) {
puntos.push(new Array(ruta[v1][0], ruta[v1][1]));
++v1;
}
} else {
if (i1 > i2) {
v1 = i1;
while (v1 > i2) {
puntos.push(new Array(ruta[v1][0], ruta[v1][1]));
--v1;
}
}
}
}
function optimizarPuntos(ind) {
var v2 = 0;
var v3 = 6;
if (ind > 0) {
v2 = Math.sqrt(Math.pow(puntos[ind][0] - puntos[ind - 1][0], 2) + Math.pow(puntos[ind][1] - puntos[ind - 1][1], 2));
if (v2 < v3) {
puntos.splice(ind, 1);
}
}
}
function travelTo(n) {
var v10 = 10000000;
var v6 = 10000000;
var v5 = 10000000;
var v9 = 0;
var v7 = 0;
var v8 = 0;
var v2 = 0;
var v3 = 0;
if (_parent._parent.autoSave == 1) {
_parent._parent.saveGame();
}
if (n != _parent._parent.currentMap) {
inicio_mc._visible = false;
nDestino = n;
puntos.splice(0, puntos.length);
v10 = Math.pow(mapas[n][0] - origen[0], 2) + Math.pow(mapas[n][1] - origen[1], 2);
v2 = 0;
while (v2 < ruta.length) {
v3 = Math.pow(ruta[v2][0] - origen[0], 2) + Math.pow(ruta[v2][1] - origen[1], 2);
if (v3 < v6) {
v6 = v3;
v7 = v2;
}
v3 = Math.pow(ruta[v2][0] - mapas[n][0], 2) + Math.pow(ruta[v2][1] - mapas[n][1], 2);
if (v3 < v5) {
v5 = v3;
v8 = v2;
}
++v2;
}
v9 = Math.pow(ruta[v7][0] - ruta[v8][0], 2) + Math.pow(ruta[v7][1] - ruta[v8][1], 2);
if (v10 < v6 + v5 + v9 * 0.5) {
generarRutaD(origen[0], mapas[n][0], origen[1], mapas[n][1]);
puntos.shift();
} else {
generarRutaD(origen[0], ruta[v7][0], origen[1], ruta[v7][1]);
v2 = puntos.length;
generarRutaP(v7, v8);
optimizarPuntos(v2);
v2 = puntos.length;
generarRutaD(ruta[v8][0], mapas[n][0], ruta[v8][1], mapas[n][1]);
optimizarPuntos(v2);
puntos.shift();
}
mapToLoad = n;
if (mapToLoad == 1) {
}
mostrarRuta();
} else {
trace('Ya estabas en el mapa de destino');
_parent.closeWorldMap();
}
}
function mostrarTexto(instancia, indice) {
if (mapNames[indice] != undefined && this[instancia]._currentframe > 1) {
this[instancia].texto_txt.text = mapNames[indice].toUpperCase();
}
}
function ocultarTexto(instancia) {
this[instancia].texto_txt.text = '';
}
function inicializar() {
var v4 = 0;
var v5 = 0;
var v3 = '';
var v6 = new Array(1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
var v7 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
button01_mc.texto = 'CANCEL';
bg_mc._width = _parent._parent.stageX;
bg_mc._height = _parent._parent.stageY;
if (bg_mc._width > 640 || bg_mc._height > 480) {
bg_mc._x = -_parent._x;
bg_mc._y = -Math.round(_parent._y / 2);
_y = -Math.round(_parent._y / 2);
}
if (_parent._parent.quesInv[0] > 2 || _parent._parent.quesInv[0] == 1) {
v6[1] = 1;
}
if (_parent._parent.quesInv[0] > 3 || _parent._parent.quesInv[0] == 1) {
v6[2] = 1;
}
if (_parent._parent.quesInv[1] > 0) {
v6[3] = 1;
}
if (_parent._parent.quesInv[2] > 2 || _parent._parent.quesInv[2] == 1) {
v6[4] = 1;
}
if (_parent._parent.quesInv[3] > 1 || _parent._parent.quesInv[3] == 1) {
v6[5] = 1;
}
if (_parent._parent.quesInv[3] > 2 || _parent._parent.quesInv[3] == 1) {
v6[6] = 1;
}
if (_parent._parent.quesInv[4] > 1 || _parent._parent.quesInv[4] == 1) {
v6[7] = 1;
}
if (_parent._parent.quesInv[4] > 2 || _parent._parent.quesInv[4] == 1) {
v6[8] = 1;
}
if (_parent._parent.quesInv[5] == 1 || _parent._parent.quesInv[4] == 1) {
v6[9] = 1;
}
if (_parent._parent.quesInv[4] > 3 || _parent._parent.quesInv[4] == 1) {
v6[10] = 1;
}
if (_parent._parent.quesInv[6] == 1 || _parent._parent.quesInv[4] == 1) {
v6[11] = 1;
}
if (_parent._parent.quesInv[0] > 4 || _parent._parent.quesInv[0] == 1 || _parent._parent.currentMap == 2) {
v7[0] = 1;
}
if (_parent._parent.quesInv[3] > 2 || _parent._parent.quesInv[3] == 1 || _parent._parent.currentMap == 5) {
v7[3] = 1;
}
if (_parent._parent.quesInv[4] > 3 || _parent._parent.quesInv[4] == 1 || _parent._parent.currentMap == 9) {
v7[6] = 1;
}
if (_parent._parent.quesInv[4] != 0) {
v7[1] = 1;
}
if (_parent._parent.quesInv[8] != 0) {
v7[2] = 1;
}
if (_parent._parent.quesInv[9] != 0) {
v7[4] = 1;
}
if (_parent._parent.quesInv[9] == 1 || _parent._parent.currentMap == 104) {
v7[5] = 1;
}
v4 = 0;
while (v4 < v6.length) {
if (v4 < 10) {
v3 = 'map00' + v4 + '_mc';
} else {
v3 = 'map0' + v4 + '_mc';
}
this[v3].onRelease = function () {
if (puntos.length == 0 && this._currentframe > 1) {
travelTo(Number(((this._name.split('_'))[0].split('map0'))[1]));
}
};
this[v3].onRollOver = function () {
mostrarTexto(this._name, Number(((this._name.split('_'))[0].split('map0'))[1]));
};
this[v3].onDragOver = function () {
mostrarTexto(this._name, Number(((this._name.split('_'))[0].split('map0'))[1]));
};
this[v3].onRollOut = function () {
ocultarTexto(this._name);
};
this[v3].onDragOut = function () {
ocultarTexto(this._name);
};
if (v4 == _parent._parent.currentMap) {
this[v3].gotoAndStop(2);
} else {
if (v6[v4] == 1) {
if (_parent._parent.visitedLoc[v4]) {
this[v3].gotoAndStop(2);
} else {
this[v3].gotoAndStop(3);
}
}
}
if (v6[v4] == 1) {
if (_parent._parent.quesInv[0] == 3 || _parent._parent.quesInv[0] == 5 || _parent._parent.quesInv[0] == 6) {
map001_mc.gotoAndStop(4);
} else {
if (_parent._parent.quesInv[0] == 4) {
map002_mc.gotoAndStop(4);
} else {
if (_parent._parent.quesInv[0] == 0) {
map000_mc.gotoAndStop(4);
}
}
}
if (_parent._parent.quesInv[1] > 1) {
map003_mc.gotoAndStop(4);
}
if (_parent._parent.quesInv[2] == 2) {
map001_mc.gotoAndStop(4);
} else {
if (_parent._parent.quesInv[2] == 3) {
map004_mc.gotoAndStop(4);
} else {
if (_parent._parent.quesInv[2] == 4) {
map004_mc.gotoAndStop(4);
} else {
if (_parent._parent.quesInv[2] == 5) {
map001_mc.gotoAndStop(4);
}
}
}
}
if (_parent._parent.quesInv[3] == 2) {
map005_mc.gotoAndStop(4);
} else {
if (_parent._parent.quesInv[3] == 3) {
map006_mc.gotoAndStop(4);
} else {
if (_parent._parent.quesInv[3] == 4) {
map001_mc.gotoAndStop(4);
} else {
if (_parent._parent.quesInv[3] == 5) {
map001_mc.gotoAndStop(4);
} else {
if (_parent._parent.quesInv[3] == 6) {
map001_mc.gotoAndStop(4);
}
}
}
}
}
if (_parent._parent.quesInv[4] != 1) {
if (_parent._parent.quesInv[4] == 2) {
map007_mc.gotoAndStop(4);
} else {
if (_parent._parent.quesInv[4] == 6 || _parent._parent.quesInv[6] == 1) {
map011_mc.gotoAndStop(4);
} else {
if (_parent._parent.quesInv[4] == 4 || _parent._parent.quesInv[4] == 5) {
map010_mc.gotoAndStop(4);
} else {
if (_parent._parent.quesInv[5] == 1) {
map009_mc.gotoAndStop(4);
} else {
if (_parent._parent.quesInv[4] == 3) {
map008_mc.gotoAndStop(4);
}
}
}
}
}
}
}
++v4;
}
v5 = 0;
while (v5 < v7.length) {
v4 = v5 + 100;
v3 = 'map' + v4 + '_mc';
this[v3].onRelease = function () {
if (puntos.length == 0 && this._currentframe > 1) {
travelTo(Number(((this._name.split('_'))[0].split('map'))[1]));
}
};
this[v3].onRollOver = function () {
mostrarTexto(this._name, Number(((this._name.split('_'))[0].split('map'))[1]));
};
this[v3].onDragOver = function () {
mostrarTexto(this._name, Number(((this._name.split('_'))[0].split('map'))[1]));
};
this[v3].onRollOut = function () {
ocultarTexto(this._name);
};
this[v3].onDragOut = function () {
ocultarTexto(this._name);
};
if (v4 == _parent._parent.currentMap) {
this[v3].gotoAndStop(2);
} else {
if (v7[v5] == 1) {
if (_parent._parent.visitedLoc[v4]) {
this[v3].gotoAndStop(2);
} else {
this[v3].gotoAndStop(3);
}
}
}
mapas[v4] = new Array(Math.round(this[v3]._x + this[v3]._width / 2), Math.round(this[v3]._y + this[v3]._height / 2));
++v5;
}
if (_parent._parent.quesInv[8] == 2) {
map102_mc.gotoAndStop(4);
}
if (_parent._parent.quesInv[9] == 2) {
map104_mc.gotoAndStop(4);
}
mapNames[100] = 'Mausoleum';
mapNames[101] = 'Caves';
mapNames[102] = 'Forest';
mapNames[103] = 'Forest';
mapNames[104] = 'Dungeon';
mapNames[105] = 'Farm';
mapNames[106] = 'Cavern';
mapas[99] = new Array(0, 480);
}
function getOrigen() {
var v2 = _parent._parent.currentMap;
switch (v2) {
case 21:
v2 = 1;
break;
case 22:
v2 = 1;
}
if (mapas[v2] != undefined) {
origen[0] = mapas[v2][0];
origen[1] = mapas[v2][1];
} else {
origen[0] = _parent._parent.mapXCoor;
origen[1] = _parent._parent.mapYCoor;
}
inicio_mc._visible = true;
inicio_mc._x = origen[0];
inicio_mc._y = origen[1];
}
function fillRandomEvents() {
var v2 = 0;
var v3 = _parent._parent.lightL[_parent._parent.currentMap][0];
randomEvents.push('30 - c - TRADE - c - TRAVEL - c - You find a merchant while travelling,\n do you want to trade with him or do you\n want to continue with your journey?');
randomEvents.push('31 - c - TRADE - c - TRAVEL - c - You find a merchant while travelling,\n do you want to trade with him or do you\n want to continue with your journey?');
randomEvents.push('33 - c - TRADE - c - TRAVEL - c - You find a merchant while travelling,\n do you want to trade with him or do you\n want to continue with your journey?');
randomEvents.push('34 - c - TRADE - c - TRAVEL - c - You find a merchant while travelling,\n do you want to trade with him or do you\n want to continue with your journey?');
randomEvents.push('35 - c - EXPLORE - c - TRAVEL - c - You see an old mausoleum in the distance,\n do you want to explore it?');
randomEvents.push('36 - c - EXPLORE - c - TRAVEL - c - You see an old mausoleum in the distance,\n do you want to explore it?');
randomEvents.push('37 - c - EXPLORE - c - TRAVEL - c - You see an old mausoleum in the distance,\n do you want to explore it?');
randomEvents.push('50 - c - EXPLORE - c - TRAVEL - c - You see a cave, do you want\n to stop and take a look inside?');
randomEvents.push('51 - c - EXPLORE - c - TRAVEL - c - You see a cave, do you want\n to stop and take a look inside?');
randomEvents.push('52 - c - EXPLORE - c - TRAVEL - c - You see a cave, do you want\n to stop and take a look inside?');
randomEvents.push('46 - c - FIGHT - c - TRAVEL - c - You see a group of undeads,\n do you want to fight them?');
randomEvents.push('47 - c - FIGHT - c - TRAVEL - c - You see a group of undeads,\n do you want to fight them?');
randomEvents.push('40 - c - FIGHT - c - ESCAPE - c - You have been ambushed by bandits while travelling.');
randomEvents.push('41 - c - FIGHT - c - ESCAPE - c - You have been ambushed by bandits while travelling.');
randomEvents.push('42 - c - FIGHT - c - ESCAPE - c - You have been ambushed by bandits while travelling.');
randomEvents.push('32 - c - TRADE - c - TRAVEL - c - You find a merchant while travelling,\n do you want to trade with him or do you\n want to continue with your journey?');
randomEvents.push('45 - c - FIGHT - c - TRAVEL - c - You see a group of undeads,\n do you want to fight them?');
v2 = 30;
while (v2 < 100) {
_parent._parent.lightL[v2][0] = v3;
++v2;
}
_parent._parent.lightL[40][0] = 0;
_parent._parent.lightL[41][0] = 0;
_parent._parent.lightL[42][0] = 0;
_parent._parent.lightL[32][0] = 1;
_parent._parent.lightL[45][0] = 1;
}
function accionBoton(etiqueta) {
_parent._parent.sonido_mc.playFX('BOTON');
_parent._parent.fadeOutScreen();
if (etiqueta !== 'button01_mc') {
} else {
_parent.closeWorldMap();
}
}
var mapas = new Array([64, 428], [136, 383], [130, 235], [84, 305], [221, 416], [222, 302], [449, 401], [125, 85], [511, 291], [552, 180], [553, 97], [474, 49]);
var ruta = new Array([113, 63], [121, 69], [128, 77], [130, 88], [130, 100], [131, 111], [135, 120], [144, 123], [151, 130], [152, 141], [160, 147], [169, 152], [170, 163], [171, 174], [171, 186], [170, 198], [166, 209], [163, 220], [163, 232], [166, 243], [167, 254], [161, 263], [152, 268], [152, 268], [143, 273], [138, 283], [138, 294], [144, 303], [145, 314], [143, 325], [143, 336], [149, 344], [158, 350], [166, 358], [175, 358], [185, 359], [194, 362], [203, 368], [213, 364], [220, 357], [227, 351], [232, 343], [239, 337], [248, 336], [258, 334], [268, 333], [278, 338], [285, 346], [290, 356], [297, 365], [305, 372], [315, 377], [324, 382], [334, 383], [345, 387], [355, 389], [367, 390], [379, 388], [390, 386], [400, 383], [409, 379], [419, 376], [429, 374], [439, 373], [449, 371], [459, 371], [468, 369], [479, 367], [488, 365], [498, 363], [508, 360], [516, 355], [523, 348], [525, 338], [526, 329], [526, 319], [524, 310], [520, 301], [518, 290], [516, 278], [512, 268], [511, 257], [510, 246], [512, 236], [518, 227], [524, 218], [528, 210], [533, 201], [538, 193]);
var origen = new Array();
var puntos = new Array();
var contador = 0;
var mapToLoad = 0;
var nDestino = 0;
var randomEvents = new Array();
var mapNames = new Array('Forest of Urnebbar', 'Urnebbar', 'Spiders\' Cave', 'Forest of Urnebbar', 'The caves', 'Crypt', 'Town and crypt', 'Wizard\'s Tower', 'Road to Isantir', 'New Isantir', 'Vampires\' city', 'Ancient crypt');
inicializar();
fillRandomEvents();
getOrigen();
}
}
movieClip 20024 {
}
movieClip 20027 {
}
movieClip 20029 zoneMapMC {
frame 1 {
function inicializar() {
var v11 = 0;
var v12 = 0;
var v10 = 0;
var v9 = 0;
var v8 = new flash.geom.Rectangle(0, 0, 640, 480);
var v5 = 0;
var v6 = 0;
var v7 = 0;
var v2 = 0;
var v3 = 0;
var v4 = 0;
bg_mc._width = _parent._parent.stageX;
bg_mc._height = _parent._parent.stageY;
bg_mc._y = -_parent._parent.baseY;
bg_mc._x = -_parent._parent.baseX;
button01_mc.texto = 'CLOSE MAP';
button02_mc.texto = 'WORLD MAP';
if (_parent._parent.quesInv[7] != 1 || _parent._parent.engine_mc.aZone != 0) {
button02_mc._visible = false;
}
v11 = _parent._parent.engine_mc.miniMap[_parent._parent.engine_mc.aZone].width;
v12 = _parent._parent.engine_mc.miniMap[_parent._parent.engine_mc.aZone].height;
v8 = _parent._parent.engine_mc.miniMap[_parent._parent.engine_mc.aZone].rectangle;
if (v11 < 640) {
v10 = (640 - v11) / 2;
i2 = Math.floor((_parent._parent.engine_mc.objectX[0] - _parent._parent.engine_mc.minLX[_parent._parent.engine_mc.aZone] * 200) / 12.5) + v10 + 40;
} else {
if (v11 < 720) {
v10 = 0;
v8.x = Math.round(v11 - 640) / 2;
i2 = Math.floor((_parent._parent.engine_mc.objectX[0] - _parent._parent.engine_mc.minLX[_parent._parent.engine_mc.aZone] * 200) / 12.5) + (40 - v8.x);
} else {
i2 = 320;
v10 = i2 - Math.floor((_parent._parent.engine_mc.objectX[0] - _parent._parent.engine_mc.minLX[_parent._parent.engine_mc.aZone] * 200) / 12.5) - 40;
if (v10 < 0) {
v8.x = -v10;
v8.width -= v8.x;
v10 = 0;
}
}
}
if (v12 < 480) {
v9 = (480 - v12) / 2;
j2 = Math.floor((_parent._parent.engine_mc.objectY[0] - _parent._parent.engine_mc.minLY[_parent._parent.engine_mc.aZone] * 200) / 12.5) + v9 + 40;
} else {
j2 = 240;
v9 = j2 - Math.floor((_parent._parent.engine_mc.objectY[0] - _parent._parent.engine_mc.minLY[_parent._parent.engine_mc.aZone] * 200) / 12.5) - 40;
if (v9 < 0) {
v8.y = -v9;
v8.height -= v8.y;
v9 = 0;
}
}
v5 = 640 - v10 + v8.x;
v6 = 640;
while (v6 > 0) {
v3 = 480;
v2 = 480 - v9 + v8.y;
v7 = _parent._parent.mapPaperBitmap.width - v5;
while (v3 > 0) {
v4 = _parent._parent.mapPaperBitmap.height - v2;
mapBitmap.copyPixels(_parent._parent.mapPaperBitmap, new flash.geom.Rectangle(v5, v2, v7, v4), new flash.geom.Point(640 - v6, 480 - v3), null, null, false);
v3 -= v4;
v2 = 0;
}
v6 -= v7;
v5 = 0;
}
mapBitmap.copyPixels(_parent._parent.engine_mc.miniMap[_parent._parent.engine_mc.aZone], v8, new flash.geom.Point(v10, v9), null, null, false);
--j2;
--i2;
dibujarPJ(i2, j2, 4280895663.0);
dibujarPJ(i2 - 1, j2 - 1, 4280895663.0);
dibujarPJ(i2 - 1, j2 + 1, 4280895663.0);
dibujarPJ(i2 + 1, j2 - 1, 4280895663.0);
dibujarPJ(i2 + 1, j2 + 1, 4280895663.0);
}
function dibujarPJ(px, py, color) {
mapBitmap.setPixel(px + 1, py, color);
mapBitmap.setPixel(px, py + 1, color);
mapBitmap.setPixel(px + 1, py + 1, color);
mapBitmap.setPixel(px + 2, py + 1, color);
mapBitmap.setPixel(px + 1, py + 2, color);
}
function accionBoton(etiqueta) {
_parent._parent.fadeOutScreen();
switch (etiqueta) {
case 'button01_mc':
_parent.closeZoneMap();
break;
case 'button02_mc':
_parent.openWorldMap();
this.removeMovieClip();
}
}
var mapBitmap = new flash.display.BitmapData(640, 480, false, 4278190080.0);
vacio_mc.attachBitmap(mapBitmap, 0, 'never', false);
inicializar();
}
}
movieClip 20033 inGameControls02MC {
}
movieClip 20034 inGameMenuMC {
frame 1 {
function inicializar() {
button01_mc.texto = 'RESUME';
button02_mc.texto = 'SAVE';
button03_mc.texto = 'LOAD';
button04_mc.texto = 'SETTINGS';
button05_mc.texto = 'GAME GUIDE';
button06_mc.texto = 'QUIT';
bg_mc._width = _parent._parent.stageX;
bg_mc._height = _parent._parent.stageY;
if (bg_mc._width > 640 || bg_mc._height > 480) {
bg_mc._x = -_parent._x;
bg_mc._y = -Math.round(_parent._y / 2);
_y = -Math.round(_parent._y / 2);
}
}
function accionBoton(etiqueta) {
_parent._parent.sonido_mc.playFX('BOTON');
_parent._parent.fadeOutScreen();
switch (etiqueta) {
case 'button01_mc':
_parent._parent.sonido_mc.snd_mc.manageLoop(_parent._parent.engine_mc.activeFire);
_parent.closeMenu();
break;
case 'button02_mc':
_parent._parent.saveGame();
_parent._parent.sonido_mc.snd_mc.manageLoop(_parent._parent.engine_mc.activeFire);
_parent.closeMenu();
break;
case 'button03_mc':
_parent._parent.loadGame(_parent._parent.saveSlot);
break;
case 'button04_mc':
_parent.openSettings();
break;
case 'button05_mc':
getURL('http://www.firevictory.com/VSguide.html', '_blank');
break;
case 'button06_mc':
if (_parent._parent.autoSave == 1) {
_parent._parent.saveGame();
}
_parent._parent.quitToMainMenu();
}
}
inicializar();
_parent._parent.sonido_mc.snd_mc.manageLoop('');
}
}
movieClip 20037 UILevelUpWarningMC {
frame 1 {
function inicializar() {
var v5 = '';
var v6 = '';
var v7 = 0;
var v3 = 0;
var v4 = 0;
button01_mc.texto = 'CANCEL';
button02_mc.texto = 'OK';
if (_parent.newClass != _parent._parent._parent.pjClass) {
if ((_parent.newClass.toUpperCase()).charAt(0) == 'A') {
v5 = 'Your class has changed,\n you are now an ' + _parent.newClass + '\n\n';
v7 += 3;
} else {
v5 = 'Your class has changed,\n you are now a ' + _parent.newClass + '\n\n';
v7 += 3;
}
}
if (_parent.addedP.length > 1 || _parent.newClass != _parent._parent._parent.pjClass) {
ic01_mc._visible = false;
ic02_mc._visible = false;
ic03_mc._visible = false;
v7 += _parent.addedP.length + 2;
v5 += 'New powers: \n\n';
v3 = 0;
while (v3 < _parent.addedP.length) {
v5 += _parent._parent._parent.powerTable[_parent.addedP[v3]].Name + '\n';
if (v3 < 3) {
if (_parent.addedP[v3] < 2) {
v4 = _parent.addedP[v3] + 30;
} else {
if (_parent.addedP[v3] < 30) {
v4 = _parent.addedP[v3] + 12;
} else {
if (_parent.addedP[v3] < 40) {
v4 = _parent.addedP[v3] + 8;
} else {
if (_parent.addedP[v3] < 50) {
v4 = _parent.addedP[v3] + 4;
} else {
v4 = _parent.addedP[v3];
}
}
}
}
v6 = 'ic0' + (v3 + 1) + '_mc';
this[v6]._visible = true;
this[v6].fotograma = v4;
this[v6].actualizar();
}
++v3;
}
if (v7 < 8) {
v3 = Math.floor((8 - v7) / 2);
while (v3 > 0) {
v5 = '\n' + v5;
--v3;
}
}
}
if (_parent.addedP.length == 1 && _parent.newClass == _parent._parent._parent.pjClass) {
v5 += 'New power: \n\n';
v5 += _parent._parent._parent.powerTable[_parent.addedP[0]].Name + '\n\n';
v5 += ((_parent._parent._parent.getPowerDesc(_parent.addedP[0], 1, 0)).split('<'))[0];
if (_parent.addedP[0] < 2) {
v4 = _parent.addedP[0] + 30;
} else {
if (_parent.addedP[0] < 30) {
v4 = _parent.addedP[0] + 12;
} else {
if (_parent.addedP[0] < 40) {
v4 = _parent.addedP[0] + 8;
} else {
if (_parent.addedP[0] < 50) {
v4 = _parent.addedP[0] + 4;
} else {
v4 = _parent.addedP[0];
}
}
}
}
ic01_mc.fotograma = v4;
ic01_mc.actualizar();
ic02_mc._visible = false;
ic03_mc._visible = false;
}
texto_txt.text = v5;
}
function accionBoton(etiqueta) {
_parent._parent._parent.sonido_mc.playFX('BOTON');
switch (etiqueta) {
case 'button01_mc':
_parent.addedP.splice(0, _parent.addedP.length);
_parent.amountToAdd = _parent.maxAmountToAdd;
_parent.newClass = '';
_parent.removeCurrentPowers();
_parent.removePowerList();
_parent.showCurrentPowers();
_parent.showPowerList();
_parent.showClass();
_parent.updateText2();
this.removeMovieClip();
break;
case 'button02_mc':
_parent.levelUp2();
}
}
inicializar();
bg_mc.onRelease = function () {};
bg_mc.onRollOver = function () {};
}
}
movieClip 20039 {
}
movieClip 20040 mensajeMC {
frame 1 {
var texto;
_y = 383;
texto_mc.texto = texto;
}
frame 205 {
this.removeMovieClip();
}
}
movieClip 20042 smallGoldMC {
}
movieClip 20045 {
}
movieClip 20047 ProgressBar2MC {
frame 1 {
function setPorc(c) {
n = c;
updatePorc();
}
function updatePorc() {
progress_mc._xscale = n;
}
var n;
if (n == undefined) {
n = 0;
}
updatePorc();
}
}
movieClip 20049 {
}
movieClip 20051 ProgressBar3MC {
frame 1 {
function setPorc(c) {
n = c;
updatePorc();
}
function updatePorc() {
progress_mc._xscale = n;
}
var n;
if (n == undefined) {
n = 0;
}
updatePorc();
}
}
movieClip 20053 textoMC {
frame 1 {
updatePos();
}
frame 1 {
function inicializar() {
var v2 = 0;
texto_txt.wordWrap = false;
texto_txt.autoSize = true;
v2 = Number(((_parent._parent.engine_mc.objectId[obj].split('c-'))[0].split('f-'))[1]);
if (v2 > 20) {
ajusteX = _parent._parent.objectaX[_parent._parent.engine_mc.objectId[obj]][_parent._parent.engine_mc.objectFrame[obj]] + (_parent._parent.objectAncho[_parent._parent.engine_mc.objectId[obj]][_parent._parent.engine_mc.objectFrame[obj]] - texto_txt._width) / 2;
ajusteY = _parent._parent.objectaY[_parent._parent.engine_mc.objectId[obj]][_parent._parent.engine_mc.objectFrame[obj]] - 25;
} else {
ajusteX = -texto_txt._width / 2 + 20;
ajusteY = -75;
}
if (v2 == 174) {
ajusteX += 15;
} else {
ajusteX += 10;
}
}
function updatePos() {
if (obj != undefined) {
_x = Math.round(_parent._parent.engine_mc.objectX[obj] - _parent._parent.engine_mc.coordenadaX + ajusteX);
_y = Math.round(_parent._parent.engine_mc.objectY[obj] - _parent._parent.engine_mc.coordenadaY + ajusteY);
}
}
var obj;
var ajusteX;
var ajusteY;
inicializar();
updatePos();
}
frame 2 {
updatePos();
}
frame 3 {
updatePos();
}
frame 4 {
updatePos();
}
frame 5 {
updatePos();
}
frame 6 {
updatePos();
}
frame 7 {
updatePos();
}
frame 8 {
updatePos();
}
frame 9 {
updatePos();
}
frame 10 {
updatePos();
}
frame 11 {
updatePos();
}
frame 12 {
updatePos();
}
frame 13 {
updatePos();
}
frame 14 {
updatePos();
}
frame 15 {
updatePos();
}
frame 16 {
updatePos();
}
frame 17 {
updatePos();
}
frame 18 {
updatePos();
}
frame 19 {
updatePos();
}
frame 20 {
updatePos();
}
frame 21 {
updatePos();
}
frame 22 {
updatePos();
}
frame 23 {
updatePos();
}
frame 24 {
updatePos();
}
frame 25 {
updatePos();
}
frame 26 {
updatePos();
}
frame 27 {
updatePos();
}
frame 28 {
updatePos();
}
frame 29 {
updatePos();
}
frame 30 {
updatePos();
}
frame 31 {
updatePos();
}
frame 32 {
updatePos();
}
frame 33 {
updatePos();
}
frame 34 {
updatePos();
}
frame 35 {
updatePos();
}
frame 36 {
updatePos();
}
frame 37 {
updatePos();
_alpha = 75;
}
frame 38 {
updatePos();
_alpha = 50;
}
frame 39 {
updatePos();
_alpha = 25;
}
frame 40 {
this.removeMovieClip();
}
}
movieClip 20055 celosiaIconoMC {
}
movieClip 20087 characterAbilitiesMC {
frame 1 {
function inicializar() {
var v2 = new Array();
var v3 = new Array();
var v6 = new Array();
var v5 = 14;
var v9 = _parent._parent._parent._parent.cPower;
var v8 = 0;
var v7 = 0;
var v4 = 0;
if (_parent._parent._parent._parent.cPower == 0 || _parent._parent._parent._parent.cPower > 39 && _parent._parent._parent._parent.cPower < 49) {
v5 = 14;
} else {
if (_parent._parent._parent._parent.cPower == 1 || _parent._parent._parent._parent.cPower > 49 && _parent._parent._parent._parent.cPower < 59) {
v5 = 15;
} else {
if (_parent._parent._parent._parent.cPower > 19 && _parent._parent._parent._parent.cPower < 23 || _parent._parent._parent._parent.cPower > 31 && _parent._parent._parent._parent.cPower < 35) {
v5 = 16;
} else {
if (_parent._parent._parent._parent.checkRanged(_parent._parent._parent._parent.currentWeapon)) {
v5 = 15;
v9 = 1;
} else {
v5 = 14;
v9 = 0;
}
}
}
}
switch (_parent._parent._parent._parent.cPower) {
case 43:
v4 = _parent._parent._parent._parent.getMaxPowerEffect(43, _parent._parent._parent._parent.basePowers[43] + Number((_parent._parent._parent._parent.totalAbilities.split(','))[11]), 0) / 100;
break;
case 44:
v4 = _parent._parent._parent._parent.getMaxPowerEffect(44, _parent._parent._parent._parent.basePowers[44] + Number((_parent._parent._parent._parent.totalAbilities.split(','))[11]), 0) / 100;
break;
case 45:
v4 = _parent._parent._parent._parent.getMaxPowerEffect(45, _parent._parent._parent._parent.basePowers[45] + Number((_parent._parent._parent._parent.totalAbilities.split(','))[11]), 0) / 100;
break;
case 53:
v4 = _parent._parent._parent._parent.getArcherPowerEffectB(53, _parent._parent._parent._parent.basePowers[53] + Number((_parent._parent._parent._parent.totalAbilities.split(','))[11]), 0) / 100;
break;
case 54:
v4 = _parent._parent._parent._parent.getMaxPowerEffect(54, _parent._parent._parent._parent.basePowers[54] + Number((_parent._parent._parent._parent.totalAbilities.split(','))[11]), 0) / 100;
break;
case 55:
v4 = _parent._parent._parent._parent.getArcherPowerEffectB(55, _parent._parent._parent._parent.basePowers[55] + Number((_parent._parent._parent._parent.totalAbilities.split(','))[11]), 0) / 100;
}
if (v4 > 0) {
if (_parent._parent._parent._parent.currentWeapon == 1) {
v3 = _parent._parent._parent._parent.itemAbilities1.split(',');
} else {
v3 = _parent._parent._parent._parent.itemAbilities2.split(',');
}
if (v3[v5] != undefined && v3[v5] != 0) {
v6 = v3[v5].split('-');
v8 = Math.round(Number(v6[0]) * v4);
v7 = Math.round(Number(v6[1]) * v4);
}
}
v2 = _parent._parent._parent._parent.totalAbilities.split(',');
vig2_txt.text = v2[0];
dex2_txt.text = v2[1];
spi2_txt.text = v2[2];
att2_txt.text = v2[7];
mag2_txt.text = v2[8];
def2_txt.text = v2[9];
res2_txt.text = v2[10];
pre2_txt.text = v2[5];
eva2_txt.text = v2[6];
if (v7 > 0 || v8 > 0) {
v6 = v2[v5].split('-');
v8 += Number(v6[0]);
v7 += Number(v6[1]);
dam2_txt.text = v8 + '-' + v7;
} else {
dam2_txt.text = v2[v5];
}
hp2_txt.text = Math.round(_parent._parent._parent._parent.engine_mc.objectHP[0]) + '/' + v2[3];
mp2_txt.text = Math.round(_parent._parent._parent._parent.engine_mc.currentMana) + '/' + v2[4];
hph2_txt.text = v2[12];
mph2_txt.text = v2[13];
if (_parent._parent.currentWeapon == 1) {
v2 = _parent._parent._parent._parent.itemAbilities1.split(',');
} else {
v2 = _parent._parent._parent._parent.itemAbilities2.split(',');
}
if (Number(v2[0]) != 0) {
vig2_txt.textColor = 10056546;
} else {
vig2_txt.textColor = 12040634;
}
if (Number(v2[1]) != 0) {
dex2_txt.textColor = 10056546;
} else {
dex2_txt.textColor = 12040634;
}
if (Number(v2[2]) != 0) {
spi2_txt.textColor = 10056546;
} else {
spi2_txt.textColor = 12040634;
}
if (Number(v2[3]) != 0 || Number(v2[0]) != 0) {
hp2_txt.textColor = 10056546;
} else {
hp2_txt.textColor = 12040634;
}
if (Number(v2[4]) != 0 || Number(v2[2]) != 0) {
mp2_txt.textColor = 10056546;
} else {
mp2_txt.textColor = 12040634;
}
if (Number(v2[5]) != 0 || Number(v2[1]) != 0) {
pre2_txt.textColor = 10056546;
} else {
pre2_txt.textColor = 12040634;
}
if (Number(v2[6]) != 0 || Number(v2[1]) != 0) {
eva2_txt.textColor = 10056546;
} else {
eva2_txt.textColor = 12040634;
}
if (Number(v2[7]) != 0 || Number(v2[1]) != 0 || Number(v2[0]) != 0) {
att2_txt.textColor = 10056546;
} else {
att2_txt.textColor = 12040634;
}
if (Number(v2[8]) != 0 || Number(v2[2]) != 0) {
mag2_txt.textColor = 10056546;
} else {
mag2_txt.textColor = 12040634;
}
if (Number(v2[9]) != 0) {
def2_txt.textColor = 10056546;
} else {
def2_txt.textColor = 12040634;
}
if (Number(v2[10]) != 0) {
res2_txt.textColor = 10056546;
} else {
res2_txt.textColor = 12040634;
}
if (Number(v2[v5]) != 0 && v2[v5] != '0-0') {
dam2_txt.textColor = 10056546;
} else {
dam2_txt.textColor = 12040634;
}
if (Number(hph2_txt.text) != 0) {
hph2_txt.textColor = 10056546;
} else {
hph2_txt.textColor = 12040634;
}
if (Number(mph2_txt.text) != 0) {
mph2_txt.textColor = 10056546;
} else {
mph2_txt.textColor = 12040634;
}
v2 = _parent._parent._parent._parent.totalAbilities.split(',');
if (_parent._parent._parent._parent.currentWeapon == 1) {
v3 = _parent._parent._parent._parent.totalAbilities1.split(',');
} else {
v3 = _parent._parent._parent._parent.totalAbilities2.split(',');
}
if (v2[0] != v3[0]) {
vig2_txt.textColor = 10056546;
}
if (v2[1] != v3[1]) {
dex2_txt.textColor = 10056546;
}
if (v2[2] != v3[2]) {
spi2_txt.textColor = 10056546;
}
if (v2[3] != v3[3]) {
hp2_txt.textColor = 10056546;
}
if (v2[4] != v3[4]) {
mp2_txt.textColor = 10056546;
}
if (v2[5] != v3[5]) {
pre2_txt.textColor = 10056546;
}
if (v2[6] != v3[6]) {
eva2_txt.textColor = 10056546;
}
if (v2[7] != v3[7]) {
att2_txt.textColor = 10056546;
}
if (v2[8] != v3[8]) {
mag2_txt.textColor = 10056546;
}
if (v2[9] != v3[9]) {
def2_txt.textColor = 10056546;
}
if (v2[10] != v3[10]) {
res2_txt.textColor = 10056546;
}
if (v2[v5] != v3[v5]) {
dam2_txt.textColor = 10056546;
}
v4 = Math.floor((_parent._parent._parent._parent.expPowers[2] / 1000000) * 100) / 100;
pvig2_txt.text = '+' + v4;
pbvig_mc.n = v4 * 100;
pbvig_mc.updatePorc();
v4 = Math.floor((_parent._parent._parent._parent.expPowers[3] / 1000000) * 100) / 100;
pdex2_txt.text = '+' + v4;
pbdex_mc.n = v4 * 100;
pbdex_mc.updatePorc();
v4 = Math.floor((_parent._parent._parent._parent.expPowers[4] / 1000000) * 100) / 100;
pspi2_txt.text = '+' + v4;
pbspi_mc.n = v4 * 100;
pbspi_mc.updatePorc();
}
inicializar();
}
}
movieClip 20093 powerInfo3MC {
frame 1 {
function addListeners() {
texto_txt.html = true;
texto2_txt.html = true;
if (icono != undefined) {
icon_mc.fotograma = icono;
} else {
icon_mc.fotograma = 1;
}
}
var des;
var icono;
addListeners();
}
}
movieClip 20098 powerInfo4MC {
frame 1 {
function addListeners() {
texto_txt.html = true;
texto2_txt.html = true;
if (icono != undefined) {
icon_mc.fotograma = icono;
} else {
icon_mc.fotograma = 1;
}
}
var des;
var icono;
addListeners();
}
}
movieClip 20103 powerInfo5MC {
frame 1 {
function addListeners() {
texto_txt.html = true;
texto2_txt.html = true;
if (icono != undefined) {
icon_mc.fotograma = icono;
} else {
icon_mc.fotograma = 1;
}
}
var des;
var icono;
addListeners();
}
}
movieClip 20108 powerInfo6MC {
frame 1 {
function addListeners() {
texto_txt.html = true;
texto2_txt.html = true;
if (icono != undefined) {
icon_mc.fotograma = icono;
} else {
icon_mc.fotograma = 1;
}
}
var des;
var icono;
addListeners();
}
}
movieClip 20110 {
}
movieClip 20115 powerInfoMC {
frame 1 {
function addListeners() {
texto_txt.html = true;
texto2_txt.html = true;
if (icono != undefined) {
icon_mc.fotograma = icono;
} else {
icon_mc.fotograma = 1;
}
}
var des;
var icono;
addListeners();
}
}
movieClip 20119 enchantControlsMC {
frame 1 {
function inicializar() {
var v4 = 0;
var v5 = 0;
var v3 = '';
var v7 = new TextFormat();
var v8 = new TextFormat();
var v6 = 0;
v7 = info_txt.getTextFormat();
v8 = info_txt.getTextFormat();
v8.color = 10056546;
titulo_txt.text = _parent.enchantTitu.toUpperCase();
info_txt.text = _parent.enchantDesc.toLowerCase();
v4 = 0;
while (v4 < _parent.enchantLines.length) {
v3 = 'text' + v4;
if (_parent.enchantLines[v4].enct != -1) {
v5 += 25;
v6 = 1;
attachMovie('enchantStatMC', v3, v4 + 100);
this[v3]._y = v5 + 25;
this[v3].texto_txt.text = _parent.enchantLines[v4].text.toLowerCase();
this[v3].texto2_txt.text = _parent.enchantT(v4) + ' ' + _parent.actPot(v4) + '/' + _parent.maxPot(v4);
this[v3].p = _parent.porcInc(v4) * 100;
this[v3].np = _parent.maxPot(v4);
this[v3].bp = _parent.nPot(v4);
v5 += 5;
} else {
v5 += 25;
v6 = 0;
this.createTextField(v3, v4 + 100, 0, v5 + 30, 373, 20);
this[v3].text = _parent.enchantLines[v4].text.toLowerCase();
this[v3].setTextFormat(v7);
this[v3].antiAliasType = 'advanced';
this[v3].embedFonts = true;
this[v3].sharpness = -400;
this[v3].thickness = 200;
this[v3].autoSize = true;
this[v3].wordWrap = true;
this[v3].selectable = false;
this[v3].filters = info_txt.filters;
}
++v4;
}
attachMovie('enchantReqMC', 'requ_mc', 200);
requ_mc._visible = false;
}
function clickEnchant(s) {
var v2 = 0;
v2 = Number((s.split('text'))[1]);
_parent.mejorarEncantamiento(v2);
}
function overEnchant(s) {
var v2 = Number((s.split('text'))[1]);
overEnchantP();
if (_parent.porcInc(v2) >= 1) {
requ_mc._visible = false;
} else {
requ_mc._visible = true;
if (_parent._parent._parent.miscInv[0] < _parent.costG) {
requ_mc.texto_txt.text = 'not enough\ngold';
} else {
if (_parent.hayP(v2) < 1) {
requ_mc.texto_txt.text = _parent.enchantT(v2) + '\nenchantment required';
} else {
requ_mc.texto_txt.text = 'upgrade enchantment\ncost: ' + _parent.costG;
}
}
}
}
function overEnchantP() {
requ_mc._y = this._ymouse + 2;
requ_mc._x = this._xmouse;
if (requ_mc._x > 200) {
requ_mc._x = 200;
}
}
function outEnchant() {
requ_mc._visible = false;
}
inicializar();
}
}
movieClip 20122 enchantReqMC {
}
movieClip 20125 {
frame 1 {
stop();
}
frame 5 {
stop();
}
}
movieClip 20128 enchantStatMC {
frame 1 {
function showDiv() {
var v2 = 0;
var v4 = 0;
var v3 = null;
v4 = 340 / np;
--np;
v2 = 0;
while (v2 < np) {
v3 = 'div' + v2;
attachMovie('enchantStatSep1MC', v3, this.getNextHighestDepth());
this[v3]._x = 15 + (v2 + 1) * v4;
this[v3]._y = 20;
++v2;
}
}
var p;
var np;
var bp;
pb_mc.setPorc(p);
pb_mc.n = p;
showDiv();
onRelease = function () {
_parent.clickEnchant(this._name);
};
onRollOver = function () {
_parent.overEnchant(this._name);
bg_mc.gotoAndPlay(2);
};
onDragOver = function () {
_parent.overEnchant(this._name);
bg_mc.gotoAndPlay(2);
};
onMouseMove = function () {
_parent.overEnchantP();
};
onRollOut = function () {
_parent.outEnchant();
bg_mc.gotoAndStop(1);
};
onDragOut = function () {
_parent.outEnchant();
bg_mc.gotoAndStop(1);
};
}
}
movieClip 20130 enchantStatSep2MC {
}
movieClip 20132 inventorySelectedWeaponMC {
}
movieClip 20134 itemNoEquipable {
}
movieClip 20137 {
frame 1 {
stop();
onRelease = function () {
_parent._parent._parent.goBack();
};
onRollOver = function () {
gotoAndStop(2);
};
onDragOver = function () {
gotoAndStop(2);
};
onRollOut = function () {
gotoAndStop(1);
};
onDragOut = function () {
gotoAndStop(1);
};
}
}
movieClip 20141 journalCompletedQuestMC {
frame 1 {
function inicializar() {
desc_txt.autoSize = true;
desc_txt.wordWrap = true;
titu_txt.text = titulo;
desc_txt.text = descripcion;
back_txt._y = desc_txt._y + desc_txt._height + 8;
back_mc._y = back_txt._y;
}
var titulo;
var descripcion;
inicializar();
}
}
movieClip 20146 journalPendingQuestMC {
frame 1 {
function inicializar() {
desc_txt.autoSize = true;
desc_txt.wordWrap = true;
obje_txt.autoSize = true;
obje_txt.wordWrap = true;
titu_txt.text = titulo;
desc_txt.text = descripcion;
obje_txt.text = objetivo;
obje_txt._y = desc_txt._y + desc_txt._height + 8;
back_txt._y = obje_txt._y + obje_txt._height + 8;
back_mc._y = back_txt._y;
}
var titulo;
var descripcion;
var objetivo;
inicializar();
}
}
movieClip 20150 journalQuestTitleMC {
frame 1 {
var id;
stop();
onRollOver = function () {
gotoAndStop(2);
};
onDragOver = function () {
gotoAndStop(2);
};
onRollOut = function () {
gotoAndStop(1);
};
onDragOut = function () {
gotoAndStop(1);
};
onRelease = function () {
_parent._parent.showQuest(id);
};
}
}
movieClip 20152 journalQuestTopTitleMC {
}
movieClip 20153 {
}
movieClip 20154 {
}
movieClip 20155 iconResaltMC {
frame 10 {
this.removeMovieClip();
}
}
movieClip 20158 UIChangeClassWarningMC {
frame 1 {
function inicializar() {
button01_mc.texto = 'CANCEL';
button02_mc.texto = 'OK';
if ((_parent.newClass.toUpperCase()).charAt(0) == 'A') {
texto_txt.text = 'YOUR CLASS HAS CHANGED,\n YOU ARE NOW AN ' + _parent.newClass.toUpperCase();
} else {
texto_txt.text = 'YOUR CLASS HAS CHANGED,\n YOU ARE NOW A ' + _parent.newClass.toUpperCase();
}
}
function accionBoton(etiqueta) {
_parent._parent._parent.sonido_mc.playFX('BOTON');
switch (etiqueta) {
case 'button01_mc':
_parent.addedP.splice(0, _parent.addedP.length);
_parent.amountToAdd = _parent.maxAmountToAdd;
_parent.newClass = '';
_parent.removeCurrentPowers();
_parent.removePowerList();
_parent.showCurrentPowers();
_parent.showPowerList();
_parent.showClass();
_parent.updateText2();
this.removeMovieClip();
break;
case 'button02_mc':
_parent.levelUp2();
}
}
inicializar();
bg_mc.onRelease = function () {};
bg_mc.onRollOver = function () {};
}
}
movieClip 20160 UIChangeCreateClassWarningMC {
frame 1 {
function inicializar() {
var v5 = 0;
var v2 = 0;
var v6 = new Array('Worshipper: Increased magic', 'Duality: Increased resistance', 'Redeemer: Increased damage vs demons and undeads', 'Premonitions: Increased evasion and accuracy', 'Occultism: Increased magic', 'Vampirism: HP and MP regeneration per hit', 'Stealth: Increased evasion', 'Iron skin: Increased resistance', 'Affinity with weapons: Increased attack and accuracy', 'Hawk Eye: Increased accuracy');
var v3 = new Array();
var v4 = new Array('Vigor', 'Dexterity', 'Spirit');
button01_mc.texto = 'CANCEL';
button02_mc.texto = 'OK';
texto_txt.text = 'CLASS: ' + _parent.newClass.toUpperCase();
texto_txt.text += '\n\n';
v5 = _parent.getInnatePower();
v3 = _parent.classBonus[v5 - 10];
v2 = 0;
while (v2 < v3.length) {
if (v3[v2] != 0) {
texto_txt.text += '+' + v3[v2] + ' ' + v4[v2] + '\n';
if (v3[v2] == 10) {
texto_txt.text += '\n';
}
}
++v2;
}
texto_txt.text += '\n\n\n';
if (v5 < 20) {
icon_mc.fotograma = 46 + v5;
icon_mc.actualizar();
texto_txt.text += v6[v5 - 10];
}
}
function resetInnatePower() {
var v2 = 0;
v2 = 10;
while (v2 < 20) {
_parent._parent._parent.basePowers[v2] = 0;
++v2;
}
}
function accionBoton(etiqueta) {
_parent._parent._parent.sonido_mc.playFX('BOTON');
switch (etiqueta) {
case 'button01_mc':
_parent.addedP.splice(0, _parent.addedP.length);
_parent.amountToAdd = _parent.maxAmountToAdd;
_parent.newClass = '';
resetInnatePower();
_parent.removeCurrentPowers();
_parent.removePowerList();
_parent.showCurrentPowers();
_parent.showPowerList();
_parent.showClass();
_parent.updateText2();
this.removeMovieClip();
break;
case 'button02_mc':
_parent.levelUp2();
}
}
inicializar();
bg_mc.onRelease = function () {};
bg_mc.onRollOver = function () {};
}
}
movieClip 20165 {
}
movieClip 20166 levelUpCatMC {
frame 1 {
function setExp() {
if (exp == undefined) {
exp = 0;
}
if (exp) {
exp_mc.gotoAndStop(1);
} else {
exp_mc.gotoAndStop(2);
}
if (expId == undefined) {
exp_mc._visible = false;
}
}
function setListener() {
if (expId != undefined) {
this.onRelease = function () {
if (exp) {
_parent._parent.contraerC(expId);
} else {
_parent._parent.expandirC(expId);
}
};
}
}
var exp;
var expId;
setExp();
setListener();
}
}
movieClip 20169 {
}
movieClip 20171 {
}
movieClip 20173 levelUpPowMC {
frame 1 {
function addListeners() {
texto_txt.html = true;
if (icono != undefined) {
icon_mc.fotograma = icono;
} else {
icon_mc.fotograma = 1;
}
noreq_mc._visible = false;
if (onRight) {
} else {
add_mc._visible = false;
icon_mc._x = 21;
texto_txt._x = 52;
}
if (canBeAdded) {
onRelease = function () {
_parent._parent.addPower(id);
};
} else {
if (onRight) {
noreq_mc._visible = true;
}
}
if (canBeRemoved) {
onRelease = function () {
_parent._parent.removePower(id);
};
} else {
remove_mc._visible = false;
}
onRollOver = function () {
mostrar();
};
onDragOver = function () {
mostrar();
};
onRollOut = function () {
ocultar();
};
onDragOut = function () {
ocultar();
};
}
function mostrar() {
if (req) {
_parent._parent.showDes(_x + _parent._x + 20, _y + _parent._y + 27, des + '\n' + req, 2);
} else {
_parent._parent.showDes(_x + _parent._x + 20, _y + _parent._y + 27, des, 1);
}
}
function ocultar() {
_parent._parent.hideDes();
}
var canBeAdded;
var canBeRemoved;
var onRight;
var id;
var req;
var des;
var icono;
addListeners();
}
}
movieClip 20175 talkOpcionMC {
frame 1 {
var opcion;
texto_txt.wordWrap = true;
texto_txt.autoSize = true;
stop();
onRollOver = function () {
texto_txt.textColor = 10056546;
};
onDragOver = function () {
texto_txt.textColor = 10056546;
};
onRollOut = function () {
texto_txt.textColor = 8488069;
};
onDragOut = function () {
texto_txt.textColor = 8488069;
};
onRelease = function () {
_parent._parent.selectOption(opcion);
};
}
}
movieClip 20177 talkTituloMC {
}
movieClip 20178 textInfoCheckMC {
frame 1 {
var ins;
}
frame 20 {
if (ins != undefined) {
_parent.mostrarInfo(ins);
} else {
this.removeMovieClip();
}
}
}
movieClip 20180 puntoMC {
frame 3 {
_parent.mostrarRuta();
}
frame 6 {
_alpha = 80;
}
frame 7 {
_alpha = 60;
}
frame 8 {
_alpha = 40;
}
frame 9 {
_alpha = 20;
}
frame 10 {
this.removeMovieClip();
}
}
movieClip 20184 deathMC {
frame 1 {
function inicializar() {
button01_mc.texto = 'LOAD';
button02_mc.texto = 'QUIT';
}
function accionBoton(etiqueta) {
_parent._parent.sonido_mc.playFX('BOTON');
_parent._parent.fadeOutScreen();
switch (etiqueta) {
case 'button01_mc':
_parent._parent.loadGame(_parent._parent.saveSlot);
this.removeMovieClip();
break;
case 'button02_mc':
_parent._parent.quitToMainMenu();
this.removeMovieClip();
}
}
inicializar();
}
}
movieClip 20241 {
}
movieClip 20382 terrainMC {
frame 1 {
stop();
}
}
movieClip 20384 UIMainMenuMC {
frame 1 {
function inicializar() {
_x = _parent.baseX;
_y = _parent.baseY;
bg_mc._width = _parent.stageX;
bg_mc._height = _parent.stageY;
bg_mc._x = -_parent.baseX;
bg_mc._y = -_parent.baseY;
_parent.initPowerIndexData.splice(0, _parent.initPowerIndexData.length);
_parent.initUIIcons.splice(0, _parent.initUIIcons.length);
}
function cerrarTodo() {
cerrarMC('uiinimenu_mc');
cerrarMC('uinewg_mc');
cerrarMC('createch_mc');
cerrarMC('createch2_mc');
cerrarMC('sett_mc');
cerrarMainUI();
}
function onFrame() {
if (createch_mc != undefined) {
createch_mc.updateView();
}
if (uinewg_mc != undefined) {
uinewg_mc.updateView();
}
}
function cerrarMainUI() {
this.removeMovieClip();
}
function cerrarMC(s) {
if (this[s] != undefined) {
this[s].removeMovieClip();
}
}
function openIniMenu() {
if (uiinimenu_mc != undefined) {
uiinimenu_mc.removeMovieClip();
}
attachMovie('UIInitialMenuMC', 'uiinimenu_mc', this.getNextHighestDepth());
}
function openNewGame() {
if (uinewg_mc != undefined) {
uinewg_mc.removeMovieClip();
}
attachMovie('UINewGameMC', 'uinewg_mc', this.getNextHighestDepth());
}
function openCreateCharacter() {
if (createch_mc != undefined) {
createch_mc.removeMovieClip();
}
attachMovie('UICreateCharacterMC', 'createch_mc', this.getNextHighestDepth());
}
function openCreateCharacter3() {
if (createch_mc != undefined) {
createch_mc.removeMovieClip();
}
attachMovie('UICreateCharacterMC', 'createch_mc', this.getNextHighestDepth());
createch_mc.noPjIni = true;
}
function openCreateCharacter2() {
if (createch2_mc != undefined) {
createch2_mc.removeMovieClip();
}
attachMovie('levelUpMC', 'createch2_mc', this.getNextHighestDepth());
}
function startNewGame() {
_parent.setMap(99);
_parent.startGame();
}
function openSettings() {
var v1 = uiinimenu_mc.getDepth() + 1;
if (v1 == undefined) {
v1 = 50;
}
if (sett_mc != undefined) {
sett_mc.removeMovieClip();
}
attachMovie('UISettingsMC', 'sett_mc', v1);
}
function closeSettings() {
sett_mc.removeMovieClip();
}
inicializar();
openIniMenu();
}
}
movieClip 20386 {
}
movieClip 20387 {
}
movieClip 20388 {
}
movieClip 20392 {
frame 1 {
stop();
onRollOver = function () {
if (_currentframe == 1) {
gotoAndPlay(2);
}
};
onDragOver = function () {
if (_currentframe == 1) {
gotoAndPlay(2);
}
};
onRollOut = function () {
if (_currentframe < 8) {
gotoAndStop(1);
}
};
onDragOut = function () {
if (_currentframe < 8) {
gotoAndStop(1);
}
};
onRelease = function () {
var v3 = Number(((this._name.split('_'))[0].split('pjgender'))[1]);
_parent.updateGender(v3);
_parent.closeSelectionBoxes();
};
}
frame 7 {
stop();
}
frame 8 {
stop();
}
}
movieClip 20395 {
frame 1 {
stop();
onRollOver = function () {
if (_currentframe == 1) {
gotoAndPlay(2);
}
_parent.help_mc._x = _x - 70;
_parent.help_mc.mostrar();
};
onDragOver = function () {
if (_currentframe == 1) {
gotoAndPlay(2);
}
_parent.help_mc._x = _x - 70;
_parent.help_mc.mostrar();
};
onRollOut = function () {
if (_currentframe < 8) {
gotoAndStop(1);
}
_parent.help_mc.ocultar();
};
onDragOut = function () {
if (_currentframe < 8) {
gotoAndStop(1);
}
_parent.help_mc.ocultar();
};
onRelease = function () {
var v3 = Number(((this._name.split('_'))[0].split('raza'))[1]);
_parent.updateRace(v3 - 1);
_parent.closeSelectionBoxes();
};
}
frame 7 {
stop();
}
frame 8 {
stop();
}
}
movieClip 20400 {
frame 1 {
function setColor(c) {
n = c;
updateColor();
}
function updateColor() {
if (n == undefined) {
n = 1;
}
color_mc.gotoAndStop(n + 2);
}
function switchColor(c) {
n = c - 2;
color_mc.gotoAndStop(c);
closeSelector();
_parent.editedDefaultColor = true;
_parent.updateClothColor();
_parent.closeSelectionBoxes();
}
function closeSelector() {
gotoAndStop(1);
}
function clickEnColorActual() {
if (_currentframe == 1) {
_parent.closeSelectionBoxes();
gotoAndStop(2);
} else {
_parent.closeSelectionBoxes();
}
}
var n;
updateColor();
color_mc.onRelease = function () {
clickEnColorActual();
};
}
frame 1 {
stop();
if (this._name == 'pantColor_mc') {
color_mc._y = 35;
}
}
frame 2 {
function inicializar() {
var v4 = new Number(0);
var v3 = new String('');
if (this._name == 'pantColor_mc' || _parent._parent._parent.pjGender == 2) {
color01_mc._visible = false;
}
v4 = 1;
while (v4 < 18) {
if (v4 < 10) {
v3 = 'color0' + v4 + '_mc';
} else {
v3 = 'color' + v4 + '_mc';
}
if (v4 - 2 == n) {
this[v3].attachMovie('inventorySelectedWeaponMC', 'select_mc', 10);
this[v3].select_mc._x = 3;
this[v3].select_mc._y = 3;
}
if (this[v3]) {
this[v3].gotoAndStop(v4);
this[v3].onRelease = function () {
switchColor(this._currentFrame);
};
}
++v4;
}
}
inicializar();
}
}
movieClip 20423 {
}
movieClip 20425 {
}
movieClip 20426 {
frame 1 {
function setColor(c) {
n = c;
updateColor();
}
function updateColor() {
if (n == undefined) {
n = 0;
}
color_mc.gotoAndStop(n + 2);
}
function switchColor(c) {
n = c - 2;
color_mc.gotoAndStop(c);
closeSelector();
_parent.updateHairType();
_parent.closeSelectionBoxes();
}
function closeSelector() {
gotoAndStop(1);
}
var n;
updateColor();
stop();
color_mc.onRelease = function () {
_parent.closeSelectionBoxes();
gotoAndStop(2);
};
}
frame 2 {
function inicializar() {
var v3 = new Number(0);
var v2 = new String('');
v3 = 3;
while (v3 < 13) {
if (v3 < 10) {
v2 = 'color0' + v3 + '_mc';
} else {
v2 = 'color' + v3 + '_mc';
}
if (v3 - 2 == n) {
this[v2].attachMovie('inventorySelectedWeaponMC', 'select_mc', 10);
this[v2].select_mc._x = 3;
this[v2].select_mc._y = 3;
}
if (this[v2]) {
this[v2].gotoAndStop(v3);
this[v2].onRelease = function () {
switchColor(this._currentFrame);
};
}
++v3;
}
}
inicializar();
}
}
movieClip 20437 {
}
movieClip 20438 {
frame 1 {
function setColor(c) {
n = c;
updateColor();
}
function updateColor() {
if (n == undefined) {
n = 1;
}
color_mc.gotoAndStop(n + 2);
}
function switchColor(c) {
n = c - 2;
color_mc.gotoAndStop(c);
closeSelector();
_parent.updateSkinColor();
_parent.closeSelectionBoxes();
}
function closeSelector() {
gotoAndStop(1);
}
var n;
updateColor();
stop();
color_mc.onRelease = function () {
_parent.closeSelectionBoxes();
gotoAndStop(2);
};
}
frame 2 {
function inicializar() {
var v3 = new Number(0);
var v2 = new String('');
v3 = 3;
while (v3 < 11) {
if (v3 < 10) {
v2 = 'color0' + v3 + '_mc';
} else {
v2 = 'color' + v3 + '_mc';
}
if (v3 - 2 == n) {
this[v2].attachMovie('inventorySelectedWeaponMC', 'select_mc', 10);
this[v2].select_mc._x = 3;
this[v2].select_mc._y = 3;
}
if (this[v2]) {
this[v2].gotoAndStop(v3);
this[v2].onRelease = function () {
switchColor(this._currentFrame);
};
}
++v3;
}
}
inicializar();
}
}
movieClip 20447 {
}
movieClip 20449 {
}
movieClip 20450 {
frame 1 {
function setColor(c) {
n = c;
updateColor();
}
function updateColor() {
if (n == undefined) {
n = 0;
}
color_mc.gotoAndStop(n + 2);
}
function switchColor(c) {
n = c - 2;
color_mc.gotoAndStop(c);
closeSelector();
_parent.updateHairType();
_parent.closeSelectionBoxes();
}
function closeSelector() {
gotoAndStop(1);
}
var n;
updateColor();
stop();
color_mc.onRelease = function () {
_parent.closeSelectionBoxes();
gotoAndStop(2);
};
}
frame 2 {
function inicializar() {
var v3 = new Number(0);
var v2 = new String('');
v3 = 3;
while (v3 < 7) {
if (v3 < 10) {
v2 = 'color0' + v3 + '_mc';
} else {
v2 = 'color' + v3 + '_mc';
}
if (v3 - 2 == n) {
this[v2].attachMovie('inventorySelectedWeaponMC', 'select_mc', 10);
this[v2].select_mc._x = 3;
this[v2].select_mc._y = 3;
}
if (this[v2]) {
this[v2].gotoAndStop(v3);
this[v2].onRelease = function () {
switchColor(this._currentFrame);
};
}
++v3;
}
}
inicializar();
}
}
movieClip 20461 {
}
movieClip 20462 {
frame 1 {
function setColor(c) {
n = c;
updateColor();
}
function updateColor() {
if (n == undefined) {
n = 0;
}
color_mc.gotoAndStop(n + 2);
}
function switchColor(c) {
n = c - 2;
color_mc.gotoAndStop(c);
closeSelector();
_parent.updateHairColor();
_parent.closeSelectionBoxes();
}
function closeSelector() {
gotoAndStop(1);
}
var n;
updateColor();
stop();
color_mc.onRelease = function () {
_parent.closeSelectionBoxes();
gotoAndStop(2);
};
}
frame 2 {
function inicializar() {
var v3 = new Number(0);
var v2 = new String('');
v3 = 2;
while (v3 < 12) {
if (v3 < 10) {
v2 = 'color0' + v3 + '_mc';
} else {
v2 = 'color' + v3 + '_mc';
}
if (v3 - 2 == n) {
this[v2].attachMovie('inventorySelectedWeaponMC', 'select_mc', 10);
this[v2].select_mc._x = 3;
this[v2].select_mc._y = 3;
}
if (this[v2]) {
this[v2].gotoAndStop(v3);
this[v2].onRelease = function () {
switchColor(this._currentFrame);
};
}
++v3;
}
}
inicializar();
}
}
movieClip 20464 {
}
movieClip 20467 {
frame 1 {
animation();
}
frame 1 {
function animation() {
if (alphaInc != 0 && alphaInc != undefined) {
cAlpha += alphaInc;
if (cAlpha > 0) {
_alpha = cAlpha;
} else {
_alpha = 0;
}
if (cAlpha >= 100) {
_alpha = 100;
alphaInc = 0;
}
if (cAlpha < -500) {
_alpha = 0;
alphaInc = 0;
}
}
}
function ocultar() {
alphaInc = 0;
_alpha = 0;
}
function mostrar() {
cAlpha = _alpha;
alphaInc = 5;
}
var alphaInc;
var cAlpha;
if (cAlpha == undefined) {
cAlpha = 0;
_alpha = 0;
}
}
frame 2 {
animation();
}
}
movieClip 20468 UICreateCharacterMC {
frame 1 {
function accionBoton(etiqueta) {
var v3 = 0;
var v4 = 0;
var v5 = new Array();
_parent._parent.sonido_mc.playFX('BOTON');
_parent._parent.fadeOutScreen();
switch (etiqueta) {
case 'button01_mc':
closeSelectionBoxes();
if (_parent._parent.slotsInOrder() == '') {
_parent.openIniMenu();
_parent.cerrarMC(this._name);
} else {
_parent.openNewGame();
_parent.cerrarMC(this._name);
}
break;
case 'button02_mc':
closeSelectionBoxes();
v5 = _parent._parent.pjConfig01.split(',');
v5[7] = 1;
v5[8] = 0;
v5[9] = 1;
v5[10] = 0;
_parent._parent.pjConfig02 = v5.join(',');
v4 = 0;
if (text_mc.name_txt.text.length > 0) {
v3 = 0;
while (v3 < text_mc.name_txt.text.length) {
if (text_mc.name_txt.text.charAt(v3) != ' ') {
v4 = 1;
_parent._parent.pjName = (((text_mc.name_txt.text.split('_')).join('')).split(';')).join('');
_parent._parent.actualizarAbilitiesVars();
_parent.openCreateCharacter2();
_parent.cerrarMC(this._name);
break;
}
++v3;
}
}
if (!v4) {
if (uiwarning_mc != undefined) {
uiwarning_mc.removeMovieClip();
}
attachMovie('UICreateCharacterWarningNameMC', 'uiwarning_mc', this.getNextHighestDepth());
}
}
}
function inicializar() {
var v2 = new Date();
button01_mc.texto = 'CANCEL';
button02_mc.texto = 'NEXT';
if (noPjIni == undefined || !noPjIni) {
_parent._parent.pjName = '';
_parent._parent.pjClass = '';
_parent._parent.pjRaza = 'Human';
_parent._parent.pjConfig01 = '0,2,0,2,0,1,0,2,0,1,0,5,9,6';
_parent._parent.pjGender = 1;
_parent._parent.baseAbilities = '15,10,15,0,0,10,10,0,0,10,10';
} else {
if (noPjIni) {
text_mc.name_txt.text = _parent._parent.pjName;
}
}
_parent._parent.currentXP = 0;
_parent._parent.currentXPLevel = 1;
_parent._parent.basePowers = new Array(1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
_parent._parent.expPowers = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
_parent._parent.rPowers = 0;
_parent._parent.itemAbilities1 = '0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0';
_parent._parent.itemAbilities2 = '0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0';
_parent._parent.totalAbilities1 = '0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0';
_parent._parent.totalAbilities2 = '0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0';
_parent._parent.totalAbilities = '0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0';
_parent._parent.currentWeapon = 1;
_parent._parent.itemInv = ';;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;';
_parent._parent.itemEqu = ';Adventurer\'s Sword,Short Sword,Steel,1,Sword-1H,0,19,0,100,3,10,-,0,4-16,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24;;;;Adventurer\'s Armor,Wizard\'s Vestment,Silk,3,Armor,0,1,0,250,3,10,-,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;;;;;';
_parent._parent.itemReqOk = new Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
_parent._parent.miscInv = new Array(500, 5, 5, 0, 0, 0, 0, 0);
_parent._parent.quesInv = new Array(0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
_parent._parent.visitedLoc = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
_parent._parent.gameDif = 1;
_parent._parent.saveSlot = _parent._parent.getFreeSlot();
_parent._parent.creationTime = Math.round(v2.getTime() / 1000);
Selection.setFocus('text_mc.name_txt');
showGender();
showRace();
showClothColor();
showSkinColor();
showHairColor();
showHairType();
}
function actualizar() {
object_mc._visible = false;
object_mc.gotoAndStop(_parent._parent.pjGender);
configSet = false;
}
function updateView() {
if (object_mc.object_mc != undefined) {
if (configSet == false) {
object_mc._visible = true;
object_mc.object_mc.setConfig(_parent._parent.pjConfig01);
object_mc.shadow_mc.setConfig(_parent._parent.pjConfig01);
configSet = true;
}
object_mc.object_mc.goTo(frames[cFrame]);
object_mc.shadow_mc.goTo(frames[cFrame]);
++cFrame;
if (cFrame >= frames.length) {
cFrame = 0;
}
}
}
function defaultAspect() {
var v4 = Number((_parent._parent.pjConfig01.split(','))[0]);
var v2 = new Array();
var v5;
var v3;
if (editedDefaultColor) {
v2 = _parent._parent.pjConfig01.split(',');
v5 = v2[12];
v3 = v2[13];
}
if (v4 == 0) {
_parent._parent.pjConfig01 = '0,2,0,2,0,1,0,2,0,1,0,5,9,6';
if (_parent._parent.pjGender == 2) {
_parent._parent.pjConfig01 = '0,2,0,5,0,1,0,2,0,1,0,5,9,6';
}
}
if (v4 == 1) {
_parent._parent.pjConfig01 = '1,2,0,5,4,1,0,4,0,1,0,5,13,9';
if (_parent._parent.pjGender == 2) {
_parent._parent.pjConfig01 = '1,2,0,5,4,1,0,4,0,1,0,5,13,9';
}
}
if (v4 == 2) {
_parent._parent.pjConfig01 = '2,2,0,3,2,1,0,1,0,9,0,4,1,1';
if (_parent._parent.pjGender == 2) {
_parent._parent.pjConfig01 = '2,2,0,5,2,1,0,1,0,9,0,4,1,1';
}
}
if (editedDefaultColor) {
v2 = _parent._parent.pjConfig01.split(',');
v2[12] = v5;
if (_parent._parent.pjGender == 2) {
if (v3 == '-1') {
v3 = '1';
}
}
v2[13] = v3;
_parent._parent.pjConfig01 = v2.join(',');
}
showClothColor();
showSkinColor();
showHairColor();
showHairType();
}
function showRace() {
var v2 = Number((_parent._parent.pjConfig01.split(','))[0]);
raza1_mc.gotoAndStop(1);
raza2_mc.gotoAndStop(1);
raza3_mc.gotoAndStop(1);
if (v2 == 0) {
raza1_mc.gotoAndStop(8);
}
if (v2 == 1) {
raza2_mc.gotoAndStop(8);
}
if (v2 == 2) {
raza3_mc.gotoAndStop(8);
}
}
function updateRace(n) {
var v2 = new Array();
v2 = _parent._parent.pjConfig01.split(',');
v2[0] = n;
_parent._parent.pjConfig01 = v2.join(',');
if (n == 0) {
_parent._parent.pjRaza = 'Human';
_parent._parent.baseAbilities = '15,10,15,0,0,10,10,0,0,10,10';
_parent._parent.itemEqu = ';Adventurer\'s Sword,Short Sword,Steel,1,Sword-1H,0,19,0,100,3,10,-,0,4-16,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24;;;;Adventurer\'s Armor,Wizard\'s Vestment,Silk,3,Armor,0,1,0,250,3,10,-,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;;;;;';
} else {
if (n == 1) {
_parent._parent.pjRaza = 'Dwarf';
_parent._parent.baseAbilities = '15,15,10,0,0,10,10,0,0,10,10';
_parent._parent.itemEqu = ';Adventurer\'s Axe,Axe,Steel,1,Axe-1H,0,27,5,100,10,10,-,0,8-14,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28;;;;Adventurer\'s Armor,Wizard\'s Vestment,Silk,3,Armor,0,1,0,250,3,10,-,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;;;;;';
} else {
if (n == 2) {
_parent._parent.pjRaza = 'Elf';
_parent._parent.baseAbilities = '10,15,15,0,0,10,10,0,0,10,10';
_parent._parent.itemEqu = ';Adventurer\'s Bow,Short Bow,Wood,1,Bow,0,36,6,100,10,-,10,0,6-12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,35;;;;Adventurer\'s Armor,Wizard\'s Vestment,Silk,3,Armor,0,1,0,250,3,10,-,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;;;;;';
}
}
}
defaultAspect();
showRace();
actualizar();
}
function showGender() {
if (_parent._parent.pjGender == 1) {
pjgender1_mc.gotoAndStop(8);
} else {
pjgender1_mc.gotoAndStop(1);
}
if (_parent._parent.pjGender == 2) {
pjgender2_mc.gotoAndStop(8);
} else {
pjgender2_mc.gotoAndStop(1);
}
}
function updateGender(n) {
_parent._parent.pjGender = n;
checkCloth();
defaultAspect();
showGender();
actualizar();
}
function showSkinColor() {
skinColor_mc.n = Number((_parent._parent.pjConfig01.split(','))[11]);
skinColor_mc.updateColor();
}
function updateSkinColor() {
var v2 = new Array();
v2 = _parent._parent.pjConfig01.split(',');
v2[11] = skinColor_mc.n;
_parent._parent.pjConfig01 = v2.join(',');
actualizar();
}
function showHairColor() {
hairColor_mc.n = Number((_parent._parent.pjConfig01.split(','))[4]);
hairColor_mc.updateColor();
}
function updateHairColor() {
var v2 = new Array();
v2 = _parent._parent.pjConfig01.split(',');
v2[4] = hairColor_mc.n;
_parent._parent.pjConfig01 = v2.join(',');
actualizar();
}
function showHairType() {
hairType_mc.n = Number((_parent._parent.pjConfig01.split(','))[3]);
hairType_mc.updateColor();
hairTypeF_mc.n = Number((_parent._parent.pjConfig01.split(','))[3]);
hairTypeF_mc.updateColor();
if (_parent._parent.pjGender == 1) {
hairType_mc._visible = true;
hairTypeF_mc._visible = false;
} else {
hairType_mc._visible = false;
hairTypeF_mc._visible = true;
}
}
function updateHairType() {
var v2 = new Array();
v2 = _parent._parent.pjConfig01.split(',');
if (_parent._parent.pjGender == 1) {
v2[3] = hairType_mc.n;
} else {
v2[3] = hairTypeF_mc.n;
}
_parent._parent.pjConfig01 = v2.join(',');
actualizar();
}
function showClothColor() {
camiColor_mc.n = Number((_parent._parent.pjConfig01.split(','))[13]);
camiColor_mc.updateColor();
pantColor_mc.n = Number((_parent._parent.pjConfig01.split(','))[12]);
pantColor_mc.updateColor();
}
function updateClothColor() {
var v2 = new Array();
v2 = _parent._parent.pjConfig01.split(',');
v2[12] = pantColor_mc.n;
v2[13] = camiColor_mc.n;
_parent._parent.pjConfig01 = v2.join(',');
actualizar();
}
function checkCloth() {
if (_parent._parent.pjGender == 2) {
if (camiColor_mc.n == -1) {
camiColor_mc.n = 1;
camiColor_mc.updateColor();
updateClothColor();
}
}
}
function closeSelectionBoxes() {
skinColor_mc.closeSelector();
hairColor_mc.closeSelector();
hairType_mc.closeSelector();
hairTypeF_mc.closeSelector();
pantColor_mc.closeSelector();
camiColor_mc.closeSelector();
Selection.setFocus('text_mc.name_txt');
Selection.setSelection(text_mc.name_txt.length, text_mc.name_txt.length);
}
var frames = new Array(9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10);
var cFrame = 0;
var noPjIni;
var configSet = false;
var editedDefaultColor = false;
inicializar();
actualizar();
text_mc.name_txt.restrict = 'a-z A-Z 0-9 ÑñÃÉÃÓÚáéÃóúü,.:\'%¡!¿?-+/';
bg_mc.onRelease = function () {
closeSelectionBoxes();
};
text_mc.onRollOver = function () {};
text_mc.onRelease = function () {
Selection.setFocus('text_mc.name_txt');
};
}
}
movieClip 20471 {
}
movieClip 20472 UIInitialMenuMC {
frame 1 {
function inicializar() {
button01_mc.texto = 'PLAY';
button02_mc.texto = 'GAME GUIDE';
button03_mc.texto = 'SETTINGS';
button04_mc.texto = 'PLAY MORE GAMES';
_parent._parent.loadPref();
}
function chkD() {
var v4 = 0;
var v2 = '';
var v6 = '';
var v5 = '';
var v3 = new Array();
if (_root._url) {
v2 = ((_root._url.split('://'))[1].split('/'))[0];
v3 = v2.split('.');
v6 = v3[v3.length - 2];
v5 = v3[v3.length - 1];
v2 = v6;
if (v2.charAt(0) == 'f' && v2.charAt(1) == 'l' && v2.charAt(2) == 'a' && v2.charAt(3) == 's' && v2.charAt(4) == 'h' && v2.charAt(5) == 'g' && v2.charAt(6) == 'a') {
if (v2.charAt(7) == 'm' && v2.charAt(8) == 'e' && v2.charAt(9) == 'l' && v2.charAt(10) == 'i' && v2.charAt(11) == 'c' && v2.charAt(12) == 'e' && v2.charAt(13) == 'n') {
if (v2.charAt(14) == 's' && v2.charAt(15) == 'e') {
v2 = v5;
if (v2.charAt(0) == 'c' && v2.charAt(1) == 'o') {
if (v2.charAt(2) == 'm') {
v4 = 1;
}
}
}
}
}
}
return v4;
}
function accionBoton(etiqueta) {
_parent._parent.sonido_mc.playFX('BOTON');
_parent._parent.fadeOutScreen();
switch (etiqueta) {
case 'button01_mc':
_parent.openNewGame();
_parent.cerrarMC(this._name);
break;
case 'button02_mc':
getURL('http://www.firevictory.com/VSguide.html', '_blank');
break;
case 'button03_mc':
_parent.openSettings();
break;
case 'button04_mc':
getURL('http://armor.ag/MoreGames', '_blank');
}
}
inicializar();
aglogo_mc.onRelease = function () {
getURL('http://armor.ag/MoreGames', '_blank');
};
fblike_mc.onRelease = function () {
getURL('http://www.facebook.com/ArmorGames', '_blank');
};
}
}
movieClip 20476 {
}
movieClip 20480 {
frame 1 {
var id;
var getT = 0;
onRelease = function () {
if (id != undefined && id != -1) {
if (_parent.pjSel != id) {
_parent.pjSel = id;
_parent.actualizar();
getT = getTimer();
} else {
if (getTimer() - getT < 300) {
_parent.cargarPartida();
} else {
getT = getTimer();
}
}
}
};
}
}
movieClip 20485 {
}
movieClip 20488 {
}
movieClip 20489 {
}
movieClip 20491 {
frame 1 {
function inicializar() {
button01_mc.texto = 'NORMAL';
button02_mc.texto = 'HEROIC';
button03_mc.texto = 'CANCEL';
}
function accionBoton(etiqueta) {
_parent._parent._parent.sonido_mc.playFX('BOTON');
switch (etiqueta) {
case 'button01_mc':
_parent.startNewGameDiff(1);
_visible = false;
break;
case 'button02_mc':
_parent.startNewGameDiff(2);
_visible = false;
break;
case 'button03_mc':
_visible = false;
}
}
inicializar();
bg_mc.onRelease = function () {};
bg_mc.onRollOver = function () {};
}
}
movieClip 20492 UINewGameMC {
frame 1 {
function inicializar() {
button01_mc.texto = 'MAIN MENU';
button02_mc.texto = 'CREATE CHARACTER';
button03_mc.texto = 'DELETE CHARACTER';
button05_mc.texto = 'LOAD GAME';
button04_mc.texto = 'NEW GAME';
button04_mc._visible = false;
diff_mc._visible = false;
}
function accionBoton(etiqueta) {
_parent._parent.sonido_mc.playFX('BOTON');
_parent._parent.fadeOutScreen();
switch (etiqueta) {
case 'button01_mc':
_parent.openIniMenu();
_parent.cerrarMC(this._name);
break;
case 'button02_mc':
if (button02_mc._alpha == 100) {
_parent.openCreateCharacter();
_parent.cerrarMC(this._name);
}
break;
case 'button03_mc':
if (button03_mc._alpha == 100) {
if (pjSel != -1) {
if (uiwarning_mc != undefined) {
uiwarning_mc.removeMovieClip();
}
attachMovie('UINewGameDeleteWarningMC', 'uiwarning_mc', this.getNextHighestDepth());
uiwarning_mc.nombre = pjselected_mc.name_txt.text;
}
}
break;
case 'button04_mc':
diff_mc._visible = true;
break;
case 'button05_mc':
cargarPartida();
}
}
function cargarPartida() {
if (button05_mc._alpha == 100) {
if (pjSel != -1) {
_parent._parent.saveSlot = pjSel;
_parent._parent.loadGame(_parent._parent.saveSlot);
_parent.cerrarMC(this._name);
_parent.cerrarMainUI();
}
}
}
function borrarPj() {
if (pjSel != -1) {
_parent._parent.deleteSlot(pjSel);
pjSel = -1;
actualizar();
}
}
function actualizar() {
var v6 = new Array();
var v9 = new Array();
var v3 = new Array();
var v7 = '';
var v5 = '';
var v4 = 0;
var v8 = 0;
v6 = (_parent._parent.slotsInOrder()).split(',');
if (v6.join(',') == '') {
_parent.openCreateCharacter();
_parent.cerrarMC(this._name);
}
if (v6.length >= 10) {
button02_mc._alpha = 50;
} else {
button02_mc._alpha = 100;
}
button04_mc._visible = false;
v4 = 0;
while (v4 < v6.length) {
v7 = _parent._parent.getSlotInfo(Number(v6[v4]));
if (v7 != '') {
if (v4 == 0 && pjSel == -1) {
pjSel = Number(v6[v4]);
}
v9 = v7.split('_');
v3 = v9[2].split(';');
v5 = 'pj0' + v4 + '_mc';
this[v5]._visible = true;
this[v5].id = Number(v6[v4]);
this[v5].name_txt.text = v3[0].toUpperCase();
this[v5].info_txt.text = 'level ' + v3[3] + ' ' + v3[1].toLowerCase();
if (v6[v4] == pjSel) {
_parent._parent.pjGender = Number(v3[7]);
_parent._parent.pjConfig01 = v3[5];
pjselected_mc.name_txt.text = v3[0].toUpperCase();
pjselected_mc.info_txt.text = 'level ' + v3[3] + ' ' + v3[1].toLowerCase() + '\n';
if (_parent._parent.pjGender == 1) {
pjselected_mc.info_txt.text += 'male ';
} else {
pjselected_mc.info_txt.text += 'female ';
}
v8 = Number((_parent._parent.pjConfig01.split(','))[0]);
if (v8 == 0) {
pjselected_mc.info_txt.text += 'human';
} else {
if (v8 == 2) {
pjselected_mc.info_txt.text += 'elf';
} else {
pjselected_mc.info_txt.text += 'dwarf';
}
}
pjselected_mc.abi_txt.text = 'vigor: ' + (v3[13].split(','))[0] + '\n';
pjselected_mc.abi_txt.text += 'dexterity: ' + (v3[13].split(','))[1] + '\n';
pjselected_mc.abi_txt.text += 'spirit: ' + (v3[13].split(','))[2];
this[v5].resaltar_mc._visible = true;
if (Number((v3[17].split(','))[150]) == 1) {
button04_mc._visible = true;
}
} else {
this[v5].resaltar_mc._visible = false;
}
} else {
v5 = 'pj0' + v4 + '_mc';
this[v5]._visible = false;
}
++v4;
}
while (v4 < 10) {
v5 = 'pj0' + v4 + '_mc';
this[v5].id = -1;
this[v5]._visible = false;
++v4;
}
object_mc._visible = false;
object_mc.gotoAndStop(_parent._parent.pjGender);
configSet = false;
if (pjSel == -1) {
pjselected_mc._visible = false;
object_mc._visible = false;
configSet = true;
celosia2_mc._visible = false;
button03_mc._alpha = 50;
button05_mc._alpha = 50;
} else {
pjselected_mc._visible = true;
celosia2_mc._visible = true;
button03_mc._alpha = 100;
button05_mc._alpha = 100;
}
}
function updateView() {
if (object_mc.object_mc != undefined && pjSel != -1) {
if (configSet == false) {
object_mc._visible = true;
configSet = true;
object_mc.object_mc.setConfig(_parent._parent.pjConfig01);
object_mc.shadow_mc.setConfig(_parent._parent.pjConfig01);
}
object_mc.object_mc.goTo(frames[cFrame]);
object_mc.shadow_mc.goTo(frames[cFrame]);
++cFrame;
if (cFrame >= frames.length) {
cFrame = 0;
}
}
}
function startNewGameDiff(gd) {
var v3 = 0;
_parent._parent.loadInfoPj(pjSel);
_parent._parent.gameDif = gd;
v3 = 0;
while (v3 < 150) {
_parent._parent.quesInv[v3] = 0;
++v3;
}
_parent._parent.quesInv[7] = 2;
_parent._parent.currentMap = 99;
_parent.startNewGame();
_parent.cerrarMC(this._name);
_parent.cerrarMainUI();
}
var frames = new Array(9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10);
var cFrame = 0;
var pjSel = -1;
var configSet = false;
var getT = 0;
inicializar();
actualizar();
object_mc.onRelease = function () {
if (getTimer() - getT < 300) {
cargarPartida();
} else {
getT = getTimer();
}
};
}
}
movieClip 20494 UISettingsMC {
frame 1 {
function inicializar() {
button01_mc.texto = texto1;
button02_mc.texto = 'CLOSE';
}
function accionBoton(etiqueta) {
_parent._parent.sonido_mc.playFX('BOTON');
_parent._parent.fadeOutScreen();
_parent._parent.savePref();
switch (etiqueta) {
case 'button01_mc':
if (button01_mc.texto == texto1) {
button01_mc.texto = texto2;
button01_mc.texto_mc.texto_txt.text = texto2;
} else {
if (button01_mc.texto == texto2) {
button01_mc.texto = texto1;
button01_mc.texto_mc.texto_txt.text = texto1;
}
}
actualizar();
break;
case 'button02_mc':
this.removeMovieClip();
}
}
function actualizar() {
if (pref_mc != undefined) {
pref_mc.removeMovieClip();
}
if (hotk_mc != undefined) {
hotk_mc.removeMovieClip();
}
if (button01_mc.texto == texto1) {
texto_txt.text = 'SETTINGS - PREFERENCES';
attachMovie('prefMC', 'pref_mc', getNextHighestDepth());
pref_mc._x = 145;
pref_mc._y = 90;
} else {
texto_txt.text = 'SETTINGS - HOTKEYS';
attachMovie('hotkMC', 'hotk_mc', getNextHighestDepth());
hotk_mc._x = 115;
hotk_mc._y = 90;
}
}
var texto1 = 'HOTKEYS';
var texto2 = 'PREFERENCES';
inicializar();
actualizar();
bg_mc.onRelease = function () {};
bg_mc.onRollOver = function () {};
}
}
movieClip 20496 UICreateCharacterWarningNameMC {
frame 1 {
function inicializar() {
button01_mc.texto = 'OK';
}
function accionBoton(etiqueta) {
_parent._parent._parent.sonido_mc.playFX('BOTON');
if (etiqueta !== 'button01_mc') {
} else {
this.removeMovieClip();
}
}
inicializar();
bg_mc.onRelease = function () {};
bg_mc.onRollOver = function () {};
}
}
movieClip 20501 {
frame 1 {
stop();
onPress = function () {
_parent.startBind(this._name);
gotoAndPlay(3);
};
}
frame 10 {
gotoAndPlay(3);
}
}
movieClip 20534 hotkMC {
frame 1 {
function mostrarControles() {
var v3 = 0;
v3 = 0;
while (v3 < _parent._parent._parent.hotKey.length) {
this['key' + v3 + '_txt'].text = _parent._parent._parent.valueToShow(_parent._parent._parent.hotKey[v3]);
++v3;
}
}
function startBind(s) {
var v2 = Number(((s.split('_'))[0].split('bg'))[1]);
var v3 = '';
if (nKey != -1) {
v3 = 'bg' + nKey + '_mc';
this[v3].gotoAndStop(1);
}
if (nKey != v2) {
nKey = v2;
} else {
nKey = -1;
}
}
function bindKey(s) {
var v3 = 0;
if (nKey != -1) {
v3 = 0;
while (v3 < _parent._parent._parent.hotKey.length) {
if (_parent._parent._parent.hotKey[v3] == s) {
_parent._parent._parent.hotKey[v3] = _parent._parent._parent.hotKey[nKey];
break;
}
++v3;
}
_parent._parent._parent.hotKey[nKey] = s;
this['bg' + nKey + '_mc'].gotoAndStop(1);
nKey = -1;
mostrarControles();
}
}
var nKey = -1;
mostrarControles();
}
}
movieClip 20537 {
}
movieClip 20540 {
}
movieClip 20541 {
}
movieClip 20542 {
}
movieClip 20543 {
frame 1 {
area_mc.onPress = function () {
_parent.clickIns = _name;
};
area_mc.onRelease = function () {
_parent.clickIns = '';
};
area_mc.onReleaseOutside = function () {
_parent.clickIns = '';
};
}
}
movieClip 20544 {
}
movieClip 20545 {
}
movieClip 20546 {
frame 1 {
_parent.onFrame();
}
frame 2 {
_parent.onFrame();
}
}
movieClip 20550 {
frame 1 {
stop();
}
frame 1 {
function changeV() {
var v3 = 'barra2_mc';
var v2 = 0;
if (_currentframe == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
if (_name == 'onfx_mc') {
v2 = _parent._parent._parent._parent.defaultFX;
} else {
v2 = _parent._parent._parent._parent.defaultMV;
}
}
if (_name == 'onfx_mc') {
v3 = 'barra1_mc';
_parent._parent._parent._parent.sonido_mc.snd_mc.setFXVolume(v2);
} else {
_parent._parent._parent._parent.sonido_mc.snd_mc.setMusicVolume(v2);
}
_parent.mostrarVPorc(v3, v2);
}
onRelease = function () {
changeV();
};
}
}
movieClip 20554 {
frame 1 {
stop();
_alpha = 100;
}
frame 1 {
function setToHigh(s) {
if (s == 'thigh_mc') {
_parent._parent._parent._parent.terrainOption = 1;
} else {
if (s == 'lhigh_mc') {
_parent._parent._parent._parent.lightningOption = 1;
_parent._parent._parent._parent.fillShadowBitmap();
}
}
_parent.showConfigOptions();
}
onRelease = function () {
setToHigh(this._name);
};
}
frame 2 {
_alpha = 50;
}
}
movieClip 20557 {
frame 1 {
stop();
_alpha = 100;
}
frame 1 {
function setToLow(s) {
if (s == 'tlow_mc') {
_parent._parent._parent._parent.terrainOption = 0;
} else {
if (s == 'llow_mc') {
_parent._parent._parent._parent.lightningOption = 2;
_parent._parent._parent._parent.fillShadowBitmap();
}
}
_parent.showConfigOptions();
}
onRelease = function () {
setToLow(this._name);
};
}
frame 2 {
_alpha = 50;
}
}
movieClip 20560 {
frame 1 {
stop();
_alpha = 100;
}
frame 1 {
function setOn(s) {
if (s == 'aon_mc') {
_parent._parent._parent._parent.autoSave = 1;
}
_parent.showConfigOptions();
}
onRelease = function () {
setOn(this._name);
};
}
frame 2 {
_alpha = 50;
}
}
movieClip 20563 {
frame 1 {
stop();
_alpha = 100;
}
frame 1 {
function setOff(s) {
if (s == 'aoff_mc') {
_parent._parent._parent._parent.autoSave = 0;
}
if (s == 'loff_mc') {
_parent._parent._parent._parent.lightningOption = 0;
}
_parent.showConfigOptions();
}
onRelease = function () {
setOff(this._name);
};
}
frame 2 {
_alpha = 50;
}
}
movieClip 20566 {
frame 1 {
stop();
_alpha = 100;
}
frame 1 {
function changeSteps(s) {
_parent._parent._parent._parent.stepSounds = 1;
_parent.showConfigOptions();
}
onRelease = function () {
changeSteps();
};
}
frame 2 {
_alpha = 50;
}
}
movieClip 20569 {
frame 1 {
stop();
_alpha = 100;
}
frame 1 {
function changeSteps(s) {
_parent._parent._parent._parent.stepSounds = 0;
_parent.showConfigOptions();
}
onRelease = function () {
changeSteps();
};
}
frame 2 {
_alpha = 50;
}
}
movieClip 20572 {
frame 1 {
stop();
_alpha = 100;
}
frame 1 {
function changeSteps(s) {
_parent._parent._parent._parent.stepSounds = 2;
_parent.showConfigOptions();
}
onRelease = function () {
changeSteps();
};
}
frame 2 {
_alpha = 50;
}
}
movieClip 20573 prefMC {
frame 1 {
function onFrame() {
changeVolume();
}
function showConfigOptions() {
step1_mc.gotoAndStop(2);
step2_mc.gotoAndStop(2);
step3_mc.gotoAndStop(2);
if (_parent._parent._parent.stepSounds == 0) {
step3_mc.gotoAndStop(1);
} else {
if (_parent._parent._parent.stepSounds == 1) {
step2_mc.gotoAndStop(1);
} else {
if (_parent._parent._parent.stepSounds == 2) {
step1_mc.gotoAndStop(1);
}
}
}
if (_parent._parent._parent.terrainOption) {
thigh_mc.gotoAndStop(1);
tlow_mc.gotoAndStop(2);
} else {
thigh_mc.gotoAndStop(2);
tlow_mc.gotoAndStop(1);
}
if (_parent._parent._parent.lightningOption == 1) {
lhigh_mc.gotoAndStop(1);
llow_mc.gotoAndStop(2);
loff_mc.gotoAndStop(2);
} else {
if (_parent._parent._parent.lightningOption == 2) {
lhigh_mc.gotoAndStop(2);
llow_mc.gotoAndStop(1);
loff_mc.gotoAndStop(2);
} else {
lhigh_mc.gotoAndStop(2);
llow_mc.gotoAndStop(2);
loff_mc.gotoAndStop(1);
}
}
if (_parent._parent._parent.autoSave) {
aon_mc.gotoAndStop(1);
aoff_mc.gotoAndStop(2);
} else {
aon_mc.gotoAndStop(2);
aoff_mc.gotoAndStop(1);
}
}
function mostrarOnOff() {
if (_parent._parent._parent.sonido_mc.snd_mc.getFXVolume() > 0) {
onfx_mc.gotoAndStop(1);
} else {
onfx_mc.gotoAndStop(2);
}
if (_parent._parent._parent.sonido_mc.snd_mc.getMusicVolume() > 0) {
onmu_mc.gotoAndStop(1);
} else {
onmu_mc.gotoAndStop(2);
}
}
function mostrarVPorc(ins, p) {
var v3 = 155;
var v4 = 318;
var v6 = v4 - v3;
var v2 = '';
this[ins].deg_mc._xscale = p;
if (ins == 'barra1_mc') {
v2 = 'ind1_mc';
} else {
if (ins == 'barra2_mc') {
v2 = 'ind2_mc';
}
}
if (v2 != '') {
this[v2]._x = this[ins]._x + this[ins].deg_mc._width + 8;
if (this[v2]._x > v4) {
this[v2]._x = v4;
}
if (this[v2]._x < v3) {
this[v2]._x = v3;
}
}
mostrarOnOff();
}
function changeVolume() {
var v3;
var v4 = 0;
var v5 = 0;
if (clickIns != '') {
v4 = this[clickIns].area_mc._xmouse;
v5 = this[clickIns].area_mc._ymouse;
if (v4 >= 0 && v4 <= this[clickIns].area_mc._width && v5 >= 0 && v5 <= this[clickIns].area_mc._height) {
v3 = Math.round(((v4 - 8) / 190) * 100);
if (v3 < 5) {
v3 = 0;
} else {
if (v3 > 95) {
v3 = 100;
}
}
mostrarVPorc(clickIns, v3);
if (clickIns == 'barra1_mc') {
_parent._parent._parent.sonido_mc.snd_mc.setFXVolume(v3);
if (v3 > 0) {
_parent._parent._parent.defaultFX = v3;
}
} else {
if (clickIns == 'barra2_mc') {
_parent._parent._parent.sonido_mc.snd_mc.setMusicVolume(v3);
if (v3 > 0) {
_parent._parent._parent.defaultMV = v3;
}
}
}
}
}
}
function init() {
var v3 = _parent._parent._parent.sonido_mc.snd_mc.getFXVolume();
var v2 = _parent._parent._parent.sonido_mc.snd_mc.getMusicVolume();
mostrarVPorc('barra1_mc', v3);
mostrarVPorc('barra2_mc', v2);
mostrarOnOff();
showConfigOptions();
lhigh_mc._visible = false;
llow_mc._visible = false;
loff_mc._visible = false;
}
var clickIns = '';
init();
}
}
movieClip 20577 UILoadMapMC {
frame 1 {
function checkAds() {
var v3 = new Array();
var v4 = '';
showAds = 1;
if (_root._url) {
v3 = _root._url.split('://');
if (v3.length > 1) {
v4 = (v3[1].split('/'))[0];
} else {
v4 = (v3[0].split('/'))[0];
}
if (v4 == 'armorgames.com') {
showAds = 0;
} else {
v3 = new Array();
v3 = v4.split('.');
v3.shift();
v4 = v3.join('.');
if (v4 == 'armorgames.com') {
showAds = 0;
}
}
}
if (_root._url == 'file:///D|/FireVictory/Crypt/Game/Game.swf') {
showAds = 0;
}
if (_parent.currentMap == 99) {
showAds = 0;
}
if (showAds) {
attachMovie('interlevelAdsMC', 'ads_mc', 100);
ads_mc._x = 170;
ads_mc._y = 35;
tip_txt._y = 295;
} else {
tip_txt._y = 220;
}
}
function setPorc(n) {
if (n < 0) {
n = 0;
}
if (n > 100) {
n = 100;
}
total_mc.setPorc(n);
info_txt.text = 'loading map ' + Math.round(n) + '%';
if (n == 100) {
if (showAds) {
info_txt._visible = false;
attachMovie('UILoadMapMCPlay', 'play_mc', 101);
play_mc._x = 207;
play_mc._y = 393;
play_mc.onRelease = function () {
quitarMC();
};
} else {
quitarMC();
}
}
}
function quitarMC() {
ads_mc.quitarAds();
ads_mc.removeMovieClip();
_parent.engine_mc.reproducir = true;
_parent.engine_mc.onStart();
this.removeMovieClip();
}
function inicializar() {
var v2 = 0;
if (_parent.currentMap == 99) {
tips.push('If you keep the mouse over an icon in the game\n you\'ll see information related to it');
} else {
if (_parent.currentMap == 0 || _parent.quesInv[0] == 0) {
tips.push('Each four levels you learn a new power of your choice');
} else {
if (_parent.currentMap == 1 || _parent.quesInv[0] == 3) {
tips.push('You can attack without moving\nholding the \'attack on click\' key and left clicking\n( shift+click by default )');
} else {
tips.push('You can attack without moving\nholding the \'attack on click\' key and left clicking\n( shift+click by default )');
tips.push('If you keep the mouse over an icon in the game\n you\'ll see information related to it');
tips.push('Each four levels you learn a new power of your choice');
tips.push('Don\'t forget to sell the items you don\'t need\nwhen you visit a town to free inventory space');
tips.push('You can improve the enchantments of your items\nin some magic stores');
tips.push('Don\'t forget to check your journal\nto see your current quest objetive');
tips.push('Passive powers like brutality or marksmanship also\nimprove when you use another power related to them');
tips.push('Innate powers are upgraded when you level up');
tips.push('You can equip two one handed weapons, one on each hand');
tips.push('The cure spell can be casted on an ally if you aim to the ally\nand you cast the spell with the hotkey assigned');
}
}
}
v2 = Math.floor(Math.random() * tips.length);
if ((tips[v2].split('\n')).length < 3) {
tip_txt.text = '\n' + tips[v2].toLowerCase();
} else {
tip_txt.text = tips[v2].toLowerCase();
}
}
var tips = new Array();
var showAds = 1;
_y = _parent.baseY;
_x = _parent.baseX;
parcial_mc.n = 0;
total_mc.n = 0;
_parent.attachMovie('UIGameMC', 'uigame_mc', 10);
aglogo_mc.onRelease = function () {
getURL('http://armor.ag/MoreGames', '_blank');
};
inicializar();
checkAds();
}
}
movieClip 20586 ag_intro_mc {
frame 1 {
onRelease = function () {
getURL('http://armor.ag/MoreGames', '_blank');
};
}
frame 1 {
gotoAndPlay(2);
}
frame 225 {
_parent.attachMovie('FVLogoMC', 'fvlogo_mc', 101);
_parent.fvlogo_mc._x = 320;
_parent.fvlogo_mc._y = 210;
this.removeMovieClip();
}
}
movieClip 20615 {
frame 58 {
gotoAndPlay(16);
}
}
movieClip 20618 {
}
movieClip 20621 {
}
movieClip 20623 {
}
movieClip 20624 FVLogoMC {
frame 1 {
brillo_mc.gotoAndPlay(1);
}
frame 85 {
function continuarC() {
_parent.attachMovie('sonidoMC', 'sonido_mc', _parent.getNextHighestDepth());
_parent.openMainMenu();
this.removeMovieClip();
}
function comprobarDominio() {
var v2 = new Array();
var v3 = false;
var v4 = new Array();
v2.push('www.flashgamelicense.com');
v2.push('www.firevictory.com');
v2.push('armorgames.com');
if (_root._url) {
v4 = _root._url.split('://');
if (v4.length > 1) {
dom = (v4[1].split('/'))[0];
} else {
dom = (v4[0].split('/'))[0];
}
i = 0;
while (i < v2.length) {
if (v2[i] == dom) {
v3 = true;
break;
}
++i;
}
v4 = new Array();
v4 = dom.split('.');
v4.shift();
dom = v4.join('.');
if (dom == 'armorgames.com') {
v3 = true;
}
if (v3) {
continuarC();
} else {
_root._visible = false;
_root._x = 5000;
_root._y = 5000;
}
} else {
_root._visible = false;
_root._x = 5000;
_root._y = 5000;
}
}
continuarC();
}
}
movieClip 20674 TMPdtkp7adg2t {
frame 1 {
function setFXVolume(n) {
var v1 = 0;
var v2 = 0;
volFX = n;
v1 = 0;
while (v1 < 10) {
v2 = Math.round((1 + v1) * volFX / 10);
sndFX[v1].setVolume(v2);
++v1;
}
}
function setMusicVolume(n) {
volMusic = n;
sndMusic.setVolume(volMusic * volFade / 100);
}
function getFXVolume() {
return volFX;
}
function getMusicVolume() {
return volMusic;
}
function playFX(s) {
var v1 = 9;
sndFX[v1].attachSound(s);
sndFX[v1].start(0, 1);
}
function playFXV(s, v) {
var v1 = Math.round(v / 10) - 1;
sndFX[v1].attachSound(s);
sndFX[v1].start(0, 1);
}
function playFXD(s, idO) {
var v1 = 9;
if (idO != 0) {
v1 = 9;
}
sndFX[v1].attachSound(s);
sndFX[v1].start(0, 1);
}
function manageLoop(idObjs) {
var v3 = 1;
var v1 = 0;
if (idObjs != '') {
v1 = nearObj(idObjs);
v1 = disToVol(v1);
if (!isLoopPlaying) {
isLoopPlaying = true;
sndLoop.start(0, 1000);
v1 = 0.1;
}
sndLoop.setVolume(volFX * v1 * 1);
} else {
if (isLoopPlaying) {
stopLoop();
}
}
}
function playMusic(s) {
if (s != '' && s != undefined) {
sndMusic.attachSound(s);
sndMusic.start(0, 1);
}
}
function stopLoop() {
isLoopPlaying = false;
sndLoop.stop();
}
function stopMusic() {
sndMusic.stop();
}
function nearObj(ids) {
var v3 = new Array();
var v2 = 0;
var v6 = 0;
var v5 = 0;
var v4 = 0;
v3 = ids.split(',');
v5 = Math.pow(_parent._parent.engine_mc.objectX[v3[v6]] - _parent._parent.engine_mc.objectX[0], 2) + Math.pow(_parent._parent.engine_mc.objectY[v3[v6]] - _parent._parent.engine_mc.objectY[0], 2);
v2 = 0;
while (v2 < v3.length) {
v4 = Math.pow(_parent._parent.engine_mc.objectX[v3[v2]] - _parent._parent.engine_mc.objectX[0], 2) + Math.pow(_parent._parent.engine_mc.objectY[v3[v2]] - _parent._parent.engine_mc.objectY[0], 2);
if (v4 < v5) {
v6 = v2;
v5 = v4;
}
++v2;
}
return Number(v3[v6]);
}
function disToVol(idO) {
var v3 = 0;
var v2 = 0;
if (_parent._parent.engine_mc.objectX[idO] != undefined) {
v3 = Math.sqrt(Math.pow(_parent._parent.engine_mc.objectX[idO] - _parent._parent.engine_mc.objectX[0], 2) + Math.pow(_parent._parent.engine_mc.objectY[idO] - _parent._parent.engine_mc.objectY[0], 2));
v2 = 0.9 * (800 - v3) / 800 + 0.1;
if (v2 < 0.1) {
v2 = 0.1;
return v2;
}
v2 = Math.round(v2 * 10000) / 10000;
}
return v2;
}
function init() {
var v3 = 0;
var v4 = '';
v3 = 0;
while (v3 < 10) {
v4 = 'snd' + v3 + '_mc';
this.createEmptyMovieClip(v4, this.getNextHighestDepth());
sndFX[v3] = new Sound(v4);
++v3;
}
if (_parent.initFXVol != undefined) {
volFX = _parent.initFXVol;
}
if (_parent.initMusicVol != undefined) {
volMusic = _parent.initMusicVol;
}
setFXVolume(volFX);
setMusicVolume(volMusic);
sndLoop.attachSound('fire1.wav');
playMusic(_parent.getMusicString());
}
stop();
this.createEmptyMovieClip('sndMusic_mc', this.getNextHighestDepth());
this.createEmptyMovieClip('sndLoop_mc', this.getNextHighestDepth());
var sndFX = new Array();
var sndMusic = new Sound('sndMusic_mc');
var sndLoop = new Sound('sndLoop_mc');
var volFX = 100;
var volMusic = 100;
var volFade = 100;
var isLoopPlaying = false;
sndMusic.onSoundComplete = function () {
_parent.musicFinished();
};
sndLoop.onSoundComplete = function () {
if (isLoopPlaying) {
sndLoop.start(0, 1000);
}
};
init();
}
}
movieClip 20675 sonidoMC {
frame 1 {
function getMusicString() {
var v1 = 'Dark Glory.wav';
return v1;
}
function musicFinished() {
var v5 = '';
var v3 = new Array();
var v4 = _parent.lightL[_parent.currentMap][_parent.engine_mc.aZone];
if (musicList.length == 0) {
if (v4 == 0 || v4 == 3) {
v3.push('String03.wav');
v3.push('String03.wav');
v3.push('String04.wav');
v3.push('String04.wav');
v3.push('Open Strings.wav');
} else {
if (v4 == 1 || v4 == 2 || v4 == 4) {
v3.push('String01.wav');
v3.push('String01.wav');
v3.push('String02.wav');
v3.push('String02.wav');
v3.push('String05.wav');
v3.push('String05.wav');
v3.push('Dark Glory.wav');
} else {
v3.push('String02.wav');
v3.push('String05.wav');
v3.push('Dark Glory.wav');
}
}
musicList = v3[Math.floor(Math.random() * v3.length)].split(',');
}
if (silence_mc != undefined) {
silence_mc.removeMovieClip();
}
if (fade_mc != undefined) {
fade_mc.removeMovieClip();
}
if (snd_mc.volFade < 100) {
snd_mc.volFade = 100;
snd_mc.setMusicVolume(snd_mc.volMusic);
}
v5 = String(musicList.shift());
if (v5 == 'silence' || v5 == undefined) {
attachMovie('sonidoSilencioMC', 'silence_mc', this.getNextHighestDepth());
} else {
snd_mc.playMusic(v5);
}
}
function startNewMusic() {
if (fade_mc == undefined) {
snd_mc.volFade = 100;
attachMovie('sonidoFadeMC', 'fade_mc', this.getNextHighestDepth());
}
}
function clearMusicList() {
musicList.splice(0, musicList.length);
}
function playFX(ids) {
var v1 = 0;
if (sonidos[ids] != undefined) {
v1 = Math.floor(sonidos[ids].length * Math.random());
snd_mc.playFX(sonidos[ids][v1]);
}
}
function playFXV(ids, v) {
var v1 = 0;
if (sonidos[ids] != undefined) {
v1 = Math.floor(sonidos[ids].length * Math.random());
snd_mc.playFXV(sonidos[ids][v1], v);
}
}
function inicializarTabla() {
sonidos.BOTON = new Array('menu_click10.wav');
sonidos.PAPER = new Array('flip_page1.wav');
sonidos.WEAPONSWING = new Array('swing_weapon1.wav', 'swing_weapon1tone2.wav', 'swing_weapon1tone3.wav');
sonidos.WEAPONHIT = new Array('sword_hit1.wav', 'sword_hit1tone2.wav', 'sword_hit1tone3.wav');
sonidos.WEAPONCRIT = new Array('critical_hit1.wav');
sonidos.MAGICCRIT = new Array('critical_hit2.wav');
sonidos.BOWCRIT = new Array('critical_hit2.wav');
sonidos.SKELETONHIT = new Array('hit_skeleton1.wav', 'hit_skeleton1tono2.wav');
sonidos.ARROWRELEASE = new Array('release_arrow1.wav', 'release_arrow4.wav');
sonidos.ARROWHIT = new Array('hit3.wav', 'hit3tono2.wav', 'hit3tono3.wav');
sonidos.MAGICHIT = new Array('hit3.wav', 'hit3tono2.wav', 'hit3tono3.wav');
sonidos.STEP = new Array('step4.wav', 'step4tono2.wav', 'step4tono3.wav');
sonidos.OPENDOOR = new Array('door_open3.wav');
sonidos.CLOSEDOOR = new Array('door_close1.wav');
sonidos.OPENGATE = new Array('iron_gate3.wav');
sonidos.OPENBARS = new Array('iron_gate6.wav');
sonidos.OPENCHEST = new Array('chest_open1.wav');
sonidos.CLOSECHEST = new Array('chest_close1.wav');
sonidos.MAGIC = new Array('magic1.wav');
sonidos.SOLARBREAK = new Array('solar_break2.wav');
sonidos.INCENDIARY = new Array('solar_break7.wav');
sonidos.SCOURGEOFGOD = new Array('lightning4.wav', 'lightning5.wav');
sonidos.POTION = new Array('potion05.wav');
sonidos.SARCOFAGO = new Array('sarc05.wav');
sonidos.ORO = new Array('coin05.wav');
sonidos.MOVEITEM = new Array('item_handling07.wav');
sonidos.ENCHANT = new Array('enchant01.wav');
sonidos.GROUNDCRACK = new Array('groundCrack01.wav', 'groundCrack02.wav', 'groundCrack03.wav');
sonidos.HEARTBEAT = new Array('heartBeat01.wav');
}
stop();
var sonidos = new Object();
var initFXVol = 85;
var initMusicVol = 75;
var musicList = new Array();
inicializarTabla();
}
}
movieClip 20676 {
}
frame 4 {
stop();
}