Frame 1
function drawmap(drawx, drawy, x0, y0, x1, y1) {
drawmap2(bmp, tiles, 32, 32, drawx, drawy, map, x0, y0, x1, y1);
}
function drawmap2(dest, tilesrc, xtilesize, ytilesize, drawx, drawy, tilemap, x0, y0, x1, y1) {
var x;
var y;
var w;
var h;
var t;
var tx;
var ty;
var tilesperrow;
var th;
tilesperrow = tilesrc.width / xtilesize;
w = x1 - x0;
h = y1 - y0;
y = 0;
while (y < h) {
x = 0;
while (x < w) {
t = tilemap[y + y0][x + x0];
if (t === undefined) {
t = 0;
}
tx = (t % tilesperrow) * xtilesize;
ty = int(t / tilesperrow) * ytilesize;
var temp = (new flash.geom.Rectangle(tx, ty, xtilesize, ytilesize));
var temp2 = (new flash.geom.Point((x * xtilesize) + drawx, (y * ytilesize) + drawy));
dest.copyPixels(tilesrc, temp, temp2);
x++;
}
y++;
}
}
function createtilemap() {
_root.createEmptyMovieClip("tilemap", 300);
y = 0;
while (y < 16) {
x = 0;
while (x < 16) {
tilenum = (y * 16) + x;
newtile = "tile" + tilenum;
tilemap.createEmptyMovieClip("tile", tilenum);
tilemap[newtile]._x = x * 32;
tilemap[newtile]._y = y * 32;
tilemap[newtile].attachBitmap;
tilemap[newtile].gotoAndStop(_root.map[y][x]);
x++;
}
y++;
}
}
function loadmap(mapnum) {
switch (mapnum) {
case 1 :
_root.map = Array();
_root.map[0] = Array(3, 3, 6, 6, 6, 6, 6, 3, 3, 3, 3, 3, 3, 3, 3, 3);
_root.map[1] = Array(3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3);
_root.map[2] = Array(3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3);
_root.map[3] = Array(3, 3, 3, 3, 3, 3, 3, 6, 6, 6, 6, 6, 3, 3, 3, 3);
_root.map[4] = Array(3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3);
_root.map[5] = Array(3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3);
_root.map[6] = Array(3, 3, 3, 3, 3, 6, 6, 6, 6, 6, 3, 3, 3, 3, 3, 3);
_root.map[7] = Array(3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3);
_root.map[8] = Array(3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3);
_root.map[9] = Array(3, 3, 3, 3, 3, 3, 3, 3, 6, 6, 6, 6, 6, 3, 3, 3);
_root.map[10] = Array(3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3);
_root.map[11] = Array(3, 3, 3, 3, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3);
_root.map[12] = Array(3, 3, 3, 3, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3);
_root.map[13] = Array(3, 3, 3, 3, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3);
_root.map[14] = Array(3, 3, 3, 3, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3);
_root.map[15] = Array(4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4);
return;
case 2 :
loadmap2();
}
}
function loadmap2() {
_root.map = Array();
_root.map[0] = Array(1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 2, 1, 2, 1, 2, 1, 2, 1, 33, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2);
_root.map[1] = Array(17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 18, 33, 50, 51, 52, 53, 33, 17, 33, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 33, 33, 33, 33, 33, 33, 18, 17, 18, 33, 33, 33, 33, 33, 33, 17, 18, 17, 33, 33, 33, 33, 33, 33, 18, 17, 18, 33, 33, 33, 33, 33, 33, 17, 18, 17, 33, 33, 33, 33, 33, 33, 18, 17, 18, 33, 33, 33, 33, 33, 33, 33, 33, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18);
_root.map[2] = Array(1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 33, 51, 0, 0, 0, 0, 52, 33, 33, 33, 33, 33, 33, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 0, 0, 33, 33, 0, 33, 33, 33, 33, 33, 0, 0, 0, 0, 33, 33, 33, 33, 33, 0, 0, 0, 0, 33, 33, 33, 33, 33, 0, 0, 0, 0, 33, 33, 33, 33, 33, 0, 0, 0, 0, 33, 33, 33, 33, 33, 0, 0, 0, 0, 33, 33, 0, 61, 94, 95, 92, 93, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 1, 2, 33, 2, 1, 2, 1, 2, 1, 2, 1, 33, 1, 2, 1, 2, 1, 2, 33, 2, 1, 33, 33, 21, 22, 23, 24, 33, 33, 33, 33, 33, 21, 22, 23, 24, 33, 33, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2);
_root.map[3] = Array(17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 33, 33, 0, 0, 0, 0, 0, 0, 0, 0, 33, 33, 0, 0, 33, 33, 33, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 0, 0, 33, 33, 0, 35, 0, 35, 35, 35, 0, 0, 0, 0, 35, 0, 35, 35, 35, 0, 0, 0, 0, 35, 0, 35, 35, 35, 0, 0, 0, 0, 35, 0, 35, 35, 35, 0, 0, 0, 0, 35, 0, 35, 35, 35, 0, 0, 0, 0, 35, 35, 0, 33, 93, 111, 108, 109, 94, 95, 94, 95, 94, 95, 94, 95, 94, 95, 61, 0, 0, 33, 33, 0, 0, 0, 0, 0, 0, 0, 33, 33, 0, 0, 0, 0, 0, 0, 0, 33, 33, 0, 0, 0, 0, 0, 0, 0, 33, 33, 0, 0, 0, 0, 0, 0, 0, 33, 33, 0, 0, 0, 0, 0, 0, 0, 33, 33, 0, 0, 0, 0, 33, 17, 18, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 17, 18, 17, 18, 17, 18, 33, 18, 33, 36, 0, 0, 38, 39, 0, 0, 0, 0, 0, 0, 0, 38, 39, 0, 0, 36, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18);
_root.map[4] = Array(1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 0, 33, 0, 0, 0, 0, 0, 0, 0, 0, 35, 56, 0, 0, 0, 0, 33, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 0, 0, 33, 33, 0, 35, 35, 0, 35, 35, 0, 0, 0, 0, 35, 35, 0, 35, 35, 0, 0, 0, 0, 35, 35, 0, 35, 35, 0, 0, 0, 0, 35, 35, 0, 35, 35, 0, 0, 0, 0, 35, 35, 0, 35, 35, 0, 0, 0, 0, 35, 35, 0, 33, 33, 33, 33, 33, 110, 92, 93, 111, 110, 92, 93, 111, 110, 92, 33, 0, 0, 33, 33, 0, 0, 0, 35, 0, 0, 0, 33, 33, 0, 0, 0, 35, 0, 0, 0, 33, 33, 0, 0, 0, 35, 0, 0, 0, 33, 33, 0, 0, 0, 35, 0, 0, 0, 33, 33, 0, 0, 0, 35, 0, 0, 0, 33, 33, 0, 0, 0, 35, 33, 33, 33, 33, 17, 33, 51, 52, 33, 17, 33, 17, 33, 33, 33, 33, 33, 33, 33, 33, 2, 33, 36, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2);
_root.map[5] = Array(17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 33, 33, 0, 35, 0, 0, 21, 22, 23, 24, 0, 0, 35, 56, 0, 0, 0, 0, 0, 33, 33, 33, 33, 33, 36, 33, 18, 17, 18, 33, 36, 33, 18, 33, 0, 0, 0, 0, 0, 35, 33, 33, 33, 35, 0, 0, 0, 0, 35, 35, 35, 0, 35, 0, 0, 0, 0, 35, 35, 35, 0, 35, 0, 0, 0, 0, 35, 35, 35, 0, 35, 0, 0, 0, 0, 35, 33, 33, 33, 35, 0, 0, 0, 0, 35, 35, 0, 0, 0, 0, 0, 33, 33, 33, 33, 33, 33, 108, 33, 33, 33, 33, 33, 0, 0, 0, 0, 0, 0, 35, 0, 35, 0, 0, 0, 0, 0, 0, 35, 0, 35, 0, 0, 0, 0, 0, 0, 35, 0, 35, 0, 0, 0, 0, 0, 0, 35, 0, 35, 0, 0, 0, 0, 0, 0, 35, 0, 35, 0, 0, 0, 0, 0, 0, 35, 0, 35, 0, 33, 33, 51, 9, 0, 0, 9, 48, 33, 33, 0, 35, 0, 35, 35, 0, 35, 33, 18, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18);
_root.map[6] = Array(1, 2, 33, 33, 33, 33, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 33, 33, 0, 0, 0, 35, 0, 0, 0, 38, 39, 0, 0, 0, 33, 56, 0, 0, 0, 0, 0, 33, 0, 0, 33, 33, 9, 33, 33, 36, 33, 33, 9, 33, 33, 33, 0, 0, 0, 0, 0, 35, 35, 0, 35, 35, 0, 0, 0, 0, 35, 35, 0, 35, 35, 0, 0, 0, 0, 35, 35, 0, 35, 35, 0, 0, 0, 0, 35, 35, 0, 35, 35, 0, 0, 0, 0, 35, 35, 0, 35, 35, 0, 0, 0, 0, 33, 33, 0, 0, 0, 0, 0, 33, 33, 33, 51, 52, 33, 33, 33, 51, 52, 33, 33, 35, 0, 0, 0, 0, 35, 0, 0, 0, 35, 0, 0, 0, 0, 35, 0, 0, 0, 35, 0, 0, 0, 0, 35, 0, 0, 0, 35, 0, 0, 0, 0, 35, 0, 0, 0, 35, 0, 0, 0, 0, 35, 0, 0, 0, 35, 0, 0, 0, 0, 35, 0, 0, 35, 0, 9, 0, 0, 25, 0, 0, 25, 0, 0, 9, 0, 35, 0, 35, 35, 0, 35, 33, 2, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2);
_root.map[7] = Array(17, 18, 33, 10, 12, 33, 17, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 0, 33, 0, 0, 0, 33, 0, 0, 0, 0, 0, 0, 0, 0, 35, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 33, 9, 33, 0, 25, 56, 33, 33, 0, 0, 0, 0, 0, 35, 0, 35, 35, 35, 0, 0, 0, 0, 33, 0, 35, 35, 35, 0, 0, 0, 0, 35, 0, 35, 35, 35, 0, 0, 0, 0, 35, 0, 35, 35, 33, 0, 0, 0, 0, 35, 0, 35, 35, 35, 0, 0, 0, 0, 0, 0, 0, 0, 33, 33, 0, 0, 70, 0, 0, 0, 0, 70, 0, 0, 0, 33, 33, 0, 35, 0, 0, 35, 0, 0, 0, 0, 0, 35, 0, 0, 35, 0, 0, 0, 0, 0, 35, 0, 0, 35, 0, 0, 0, 0, 0, 35, 0, 0, 35, 0, 0, 0, 0, 0, 35, 0, 0, 35, 0, 0, 0, 0, 0, 35, 0, 0, 35, 0, 0, 0, 33, 0, 41, 0, 0, 41, 0, 0, 41, 0, 0, 41, 0, 35, 35, 35, 35, 35, 35, 0, 33, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18);
_root.map[8] = Array(1, 2, 33, 26, 28, 33, 33, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 35, 0, 0, 0, 35, 0, 0, 0, 0, 0, 0, 0, 0, 35, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 0, 25, 0, 0, 25, 56, 35, 35, 0, 0, 0, 0, 0, 35, 35, 0, 35, 35, 0, 0, 0, 0, 35, 35, 0, 35, 35, 0, 0, 0, 0, 35, 35, 0, 35, 35, 0, 0, 0, 0, 35, 35, 0, 35, 35, 0, 0, 0, 0, 35, 35, 0, 35, 35, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 35, 35, 0, 0, 35, 35, 0, 0, 0, 0, 0, 0, 0, 35, 35, 0, 0, 0, 0, 0, 0, 0, 35, 35, 0, 0, 0, 0, 0, 0, 0, 35, 35, 0, 0, 0, 0, 0, 0, 0, 35, 35, 0, 0, 0, 0, 0, 0, 0, 35, 35, 0, 0, 0, 0, 33, 0, 33, 6, 19, 33, 0, 0, 33, 58, 20, 33, 0, 35, 35, 35, 35, 35, 35, 0, 56, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2);
_root.map[9] = Array(17, 18, 33, 33, 33, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 35, 0, 0, 0, 35, 0, 68, 69, 64, 65, 66, 67, 0, 33, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 0, 25, 0, 0, 25, 56, 35, 35, 0, 0, 0, 0, 0, 35, 35, 35, 0, 35, 0, 0, 0, 0, 35, 35, 35, 0, 33, 0, 0, 0, 0, 35, 35, 35, 0, 35, 0, 0, 0, 0, 33, 35, 35, 0, 35, 0, 0, 0, 0, 35, 35, 35, 0, 35, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 0, 0, 0, 0, 71, 71, 0, 0, 0, 0, 0, 35, 35, 0, 0, 35, 35, 0, 0, 0, 0, 0, 0, 0, 35, 35, 0, 0, 0, 0, 0, 0, 0, 35, 35, 0, 0, 0, 0, 0, 0, 0, 35, 35, 0, 0, 0, 0, 0, 0, 0, 35, 35, 0, 0, 0, 0, 0, 0, 0, 35, 35, 0, 0, 35, 0, 33, 0, 33, 3, 4, 33, 0, 0, 33, 4, 3, 33, 0, 35, 35, 35, 35, 35, 35, 0, 56, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18);
_root.map[10] = Array(1, 2, 33, 26, 28, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 65, 84, 2, 1, 2, 1, 83, 64, 33, 33, 62, 63, 15, 15, 15, 15, 62, 63, 33, 33, 25, 0, 33, 41, 33, 0, 25, 56, 35, 35, 0, 0, 0, 0, 0, 35, 35, 0, 35, 35, 0, 0, 0, 0, 35, 35, 0, 35, 35, 0, 0, 0, 0, 35, 35, 0, 35, 35, 0, 0, 0, 0, 35, 35, 0, 35, 35, 0, 0, 0, 0, 35, 35, 0, 35, 35, 0, 0, 0, 0, 33, 33, 0, 0, 33, 33, 0, 0, 68, 69, 33, 33, 66, 67, 0, 0, 0, 33, 33, 0, 35, 0, 0, 35, 0, 0, 0, 0, 0, 35, 0, 0, 35, 0, 0, 0, 0, 0, 35, 0, 0, 35, 0, 0, 0, 0, 0, 35, 0, 0, 35, 0, 0, 0, 0, 0, 35, 0, 0, 35, 0, 0, 0, 0, 0, 35, 0, 0, 35, 0, 0, 0, 33, 0, 21, 22, 23, 24, 0, 0, 21, 22, 23, 24, 0, 35, 35, 35, 35, 35, 35, 0, 56, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2);
_root.map[11] = Array(17, 18, 33, 11, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 33, 18, 17, 18, 17, 18, 17, 18, 33, 18, 17, 18, 17, 18, 17, 18, 17, 33, 33, 78, 79, 31, 31, 31, 31, 78, 79, 33, 33, 41, 33, 33, 36, 33, 33, 41, 33, 33, 33, 0, 0, 0, 0, 0, 35, 0, 35, 35, 35, 0, 0, 0, 0, 35, 0, 33, 35, 35, 0, 0, 0, 0, 35, 0, 35, 35, 35, 0, 0, 0, 0, 35, 0, 33, 35, 35, 0, 0, 0, 0, 35, 0, 35, 35, 35, 0, 0, 0, 0, 35, 35, 0, 0, 0, 0, 0, 33, 84, 17, 33, 33, 18, 83, 33, 33, 71, 33, 33, 35, 0, 0, 0, 0, 35, 0, 0, 0, 35, 0, 0, 0, 0, 35, 0, 0, 0, 35, 0, 0, 0, 0, 35, 0, 0, 0, 35, 0, 0, 0, 0, 35, 0, 0, 0, 35, 0, 0, 0, 0, 35, 0, 0, 0, 35, 0, 0, 0, 0, 35, 0, 35, 35, 0, 0, 38, 39, 0, 0, 0, 0, 38, 39, 0, 0, 35, 35, 35, 35, 35, 35, 0, 56, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18);
_root.map[12] = Array(1, 33, 33, 27, 28, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 33, 1, 2, 1, 2, 1, 2, 1, 2, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 33, 0, 0, 0, 0, 0, 0, 33, 33, 33, 36, 33, 95, 94, 95, 33, 36, 33, 2, 33, 0, 0, 0, 0, 0, 35, 35, 0, 35, 35, 0, 0, 0, 0, 35, 35, 0, 35, 35, 0, 0, 0, 0, 35, 35, 0, 35, 35, 0, 0, 0, 0, 35, 35, 0, 35, 35, 0, 0, 0, 0, 35, 35, 0, 35, 35, 0, 0, 0, 0, 35, 35, 0, 0, 0, 0, 0, 33, 33, 1, 33, 33, 2, 33, 33, 33, 33, 33, 33, 0, 0, 0, 0, 0, 0, 35, 0, 35, 0, 0, 0, 0, 0, 0, 35, 0, 35, 0, 0, 0, 0, 0, 0, 35, 0, 35, 0, 0, 0, 0, 0, 0, 35, 0, 35, 0, 0, 0, 0, 0, 0, 35, 0, 35, 0, 0, 0, 0, 0, 0, 35, 0, 35, 19, 20, 0, 0, 0, 19, 20, 0, 0, 19, 68, 69, 64, 65, 64, 65, 64, 65, 64, 65, 33, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2);
_root.map[13] = Array(17, 33, 33, 33, 33, 33, 33, 33, 35, 35, 33, 33, 35, 35, 33, 33, 35, 35, 33, 33, 35, 35, 33, 33, 33, 33, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 18, 17, 18, 17, 18, 17, 18, 17, 33, 33, 35, 35, 35, 36, 35, 35, 35, 35, 35, 61, 111, 110, 111, 110, 111, 33, 18, 17, 18, 33, 0, 0, 33, 33, 0, 35, 35, 35, 0, 35, 0, 0, 0, 0, 35, 35, 35, 0, 35, 0, 0, 0, 0, 35, 35, 35, 0, 35, 0, 0, 0, 0, 35, 35, 35, 0, 35, 0, 0, 0, 0, 35, 35, 35, 0, 35, 0, 0, 0, 0, 35, 35, 0, 33, 33, 33, 33, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 33, 0, 33, 33, 33, 33, 0, 0, 35, 0, 0, 33, 33, 33, 33, 0, 0, 35, 0, 0, 33, 33, 33, 33, 0, 0, 35, 0, 0, 33, 33, 33, 33, 0, 0, 35, 0, 0, 33, 33, 33, 33, 0, 0, 35, 0, 0, 33, 33, 33, 33, 0, 0, 35, 33, 64, 65, 64, 65, 64, 65, 64, 65, 64, 65, 84, 18, 17, 18, 17, 18, 17, 18, 1, 1, 33, 4, 5, 6, 20, 7, 6, 7, 6, 19, 7, 6, 19, 20, 19, 7, 8, 3, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18);
_root.map[14] = Array(1, 33, 33, 33, 0, 0, 33, 33, 0, 0, 33, 33, 0, 0, 33, 33, 0, 0, 33, 33, 33, 33, 33, 33, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 0, 0, 0, 0, 0, 0, 0, 0, 33, 33, 33, 33, 33, 94, 95, 33, 2, 1, 2, 33, 0, 33, 33, 33, 0, 33, 33, 33, 33, 33, 58, 19, 20, 19, 33, 33, 33, 33, 33, 57, 58, 20, 19, 33, 33, 33, 33, 33, 20, 19, 20, 58, 33, 33, 33, 33, 33, 20, 58, 20, 57, 33, 33, 33, 33, 33, 0, 0, 0, 0, 33, 33, 0, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 33, 20, 33, 1, 2, 33, 20, 19, 57, 58, 20, 33, 2, 1, 33, 20, 58, 57, 19, 20, 33, 1, 2, 33, 58, 19, 20, 19, 20, 33, 2, 1, 33, 20, 58, 19, 57, 20, 33, 1, 2, 33, 57, 19, 20, 58, 58, 33, 2, 1, 33, 20, 19, 20, 33, 1, 33, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2);
_root.map[15] = Array(17, 33, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 33, 33, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 0, 0, 0, 0, 0, 0, 0, 0, 33, 17, 18, 17, 33, 110, 111, 33, 18, 17, 18, 33, 33, 33, 18, 33, 33, 33, 18, 17, 18, 33, 3, 4, 3, 4, 33, 17, 18, 17, 33, 3, 4, 3, 4, 33, 18, 17, 18, 33, 3, 4, 3, 4, 33, 17, 18, 17, 33, 3, 4, 3, 4, 33, 18, 17, 18, 33, 33, 33, 33, 33, 33, 33, 33, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 33, 3, 33, 17, 18, 33, 3, 4, 3, 4, 3, 33, 18, 17, 33, 3, 4, 3, 4, 3, 33, 17, 18, 33, 3, 4, 3, 4, 3, 33, 18, 17, 33, 3, 4, 3, 4, 3, 33, 17, 18, 33, 3, 4, 3, 4, 3, 33, 18, 17, 33, 3, 4, 3, 33, 17, 33, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18);
_root.map[16] = Array(1, 33, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 33, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 35, 35, 36, 35, 35, 35, 35, 35, 33, 1, 2, 1, 33, 93, 95, 92, 52, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 4, 3, 4, 3, 33, 1, 2, 1, 33, 4, 3, 4, 3, 33, 2, 1, 2, 33, 4, 3, 4, 3, 33, 1, 2, 1, 33, 4, 3, 4, 3, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 33, 33, 33, 1, 2, 33, 4, 3, 4, 3, 4, 33, 2, 1, 33, 4, 3, 4, 3, 4, 33, 1, 2, 33, 4, 3, 4, 3, 4, 33, 2, 1, 33, 4, 3, 4, 3, 4, 33, 1, 2, 33, 4, 3, 4, 3, 4, 33, 2, 1, 33, 4, 3, 4, 33, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2);
_root.map[17] = Array(17, 33, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 33, 33, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 0, 0, 0, 0, 0, 0, 0, 0, 33, 17, 18, 17, 33, 33, 33, 66, 67, 91, 49, 52, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 17, 18, 17, 33, 33, 33, 33, 33, 33, 18, 17, 18, 33, 33, 33, 33, 33, 33, 17, 18, 17, 33, 33, 33, 33, 33, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 33, 33, 33, 33, 33, 33, 18, 17, 33, 33, 33, 33, 33, 33, 33, 17, 18, 33, 33, 33, 33, 33, 33, 33, 18, 17, 33, 33, 33, 33, 33, 33, 33, 17, 18, 33, 33, 33, 33, 33, 33, 33, 18, 17, 33, 33, 33, 33, 33, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18);
_root.map[18] = Array(1, 33, 33, 37, 54, 0, 0, 0, 0, 0, 41, 0, 0, 55, 37, 33, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 0, 0, 0, 0, 0, 0, 0, 0, 33, 1, 2, 1, 2, 1, 2, 1, 83, 64, 66, 67, 19, 20, 93, 94, 108, 0, 19, 20, 91, 48, 49, 91, 19, 20, 91, 93, 95, 94, 92, 91, 93, 94, 95, 94, 95, 94, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 33, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2);
_root.map[19] = Array(17, 18, 33, 54, 0, 0, 0, 0, 55, 37, 36, 54, 0, 0, 0, 33, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 33, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 35, 35, 35, 36, 33, 36, 35, 35, 33, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 83, 64, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 111, 110, 18, 17, 18, 17, 33, 33, 33, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18);
_root.map[20] = Array(1, 2, 33, 37, 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, 37, 33, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 50, 51, 0, 52, 33, 33, 2, 1, 2, 1, 33, 1, 2, 33, 0, 0, 0, 0, 0, 0, 0, 33, 33, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 95, 94, 95, 94, 95, 94, 95, 94, 95, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 33, 2, 1, 2, 1, 2, 33, 2, 1, 2, 1, 2);
_root.map[21] = Array(17, 18, 33, 33, 37, 54, 0, 0, 0, 0, 25, 0, 0, 0, 55, 33, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 12, 10, 12, 0, 0, 0, 52, 51, 52, 53, 33, 33, 18, 33, 0, 0, 0, 0, 0, 0, 0, 33, 33, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 93, 110, 111, 92, 93, 110, 111, 110, 111, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 18, 17, 18, 17, 18, 33, 18, 17, 18, 17, 18);
_root.map[22] = Array(1, 2, 1, 33, 54, 0, 0, 0, 0, 0, 25, 0, 36, 55, 37, 33, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 28, 26, 28, 10, 12, 0, 0, 0, 0, 0, 0, 33, 33, 33, 33, 33, 36, 35, 35, 35, 35, 33, 33, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 33, 33, 33, 33, 33, 33, 33, 92, 48, 52, 53, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 2, 1, 2, 1, 2);
_root.map[23] = Array(17, 18, 17, 33, 37, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 33, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 10, 12, 10, 12, 10, 12, 0, 0, 0, 0, 0, 0, 33, 33, 0, 0, 0, 0, 0, 0, 0, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 18, 17, 18, 17, 18, 17, 33, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 33, 0, 0, 0, 0, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 18, 17, 18, 17, 18);
_root.map[24] = Array(1, 2, 1, 33, 33, 37, 54, 0, 0, 55, 37, 54, 0, 0, 55, 33, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 26, 28, 26, 10, 12, 28, 0, 0, 0, 0, 0, 0, 0, 91, 0, 0, 0, 0, 0, 0, 0, 33, 33, 0, 0, 0, 35, 35, 35, 35, 33, 33, 2, 1, 2, 1, 2, 1, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 33, 6, 19, 20, 7, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 2, 1, 2, 1, 2);
_root.map[25] = Array(17, 18, 17, 18, 33, 0, 0, 0, 0, 0, 55, 36, 54, 0, 0, 33, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 12, 10, 11, 12, 28, 10, 12, 0, 0, 0, 0, 0, 33, 33, 35, 35, 35, 36, 36, 35, 35, 33, 0, 0, 0, 0, 35, 35, 35, 35, 35, 33, 18, 17, 18, 17, 18, 17, 33, 89, 33, 89, 33, 89, 33, 48, 49, 9, 52, 53, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 33, 3, 4, 3, 4, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 1, 33, 33, 33, 33, 33, 33, 33, 70, 33, 70, 70, 0, 0, 0, 55, 37, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 18, 17, 18, 17, 18);
_root.map[26] = Array(1, 2, 1, 2, 33, 54, 0, 0, 0, 0, 0, 0, 0, 0, 55, 33, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 28, 26, 27, 28, 10, 12, 28, 0, 10, 12, 68, 69, 33, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 35, 35, 35, 35, 35, 35, 33, 2, 1, 2, 1, 2, 1, 33, 89, 87, 88, 89, 89, 90, 0, 0, 25, 0, 0, 93, 94, 95, 94, 95, 1, 2, 1, 2, 1, 2, 1, 2, 1, 33, 4, 3, 4, 3, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 33, 33, 33, 33, 33, 0, 33, 70, 70, 70, 70, 0, 70, 0, 0, 0, 0, 0, 0, 0, 70, 70, 70, 70, 33, 0, 9, 0, 0, 33, 33, 33, 33, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 95, 2, 95, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 2, 1, 2, 1, 2);
_root.map[27] = Array(17, 18, 17, 18, 33, 33, 0, 0, 0, 0, 0, 0, 0, 0, 37, 33, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 64, 65, 64, 65, 64, 65, 64, 65, 64, 65, 84, 17, 18, 33, 0, 0, 0, 0, 0, 0, 0, 0, 35, 0, 35, 35, 35, 35, 35, 35, 35, 33, 18, 17, 18, 17, 18, 17, 33, 105, 103, 104, 105, 105, 106, 0, 0, 41, 19, 20, 109, 110, 111, 110, 111, 17, 18, 17, 92, 93, 18, 17, 18, 17, 33, 33, 33, 33, 33, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 33, 33, 33, 0, 70, 33, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 25, 0, 0, 0, 0, 0, 33, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 33, 35, 33, 35, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 18, 17, 18, 1, 1);
_root.map[28] = Array(1, 2, 1, 2, 1, 33, 54, 0, 0, 0, 0, 0, 36, 55, 37, 33, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 33, 36, 35, 35, 35, 35, 35, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 2, 1, 2, 1, 2, 1, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 93, 95, 94, 48, 49, 0, 0, 33, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 33, 0, 0, 0, 0, 9, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 25, 0, 0, 0, 0, 0, 0, 33, 33, 33, 33, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 26, 28, 26, 28, 26, 28, 26, 28, 26, 28, 26, 28, 26, 28, 26, 33, 2, 1, 2, 1, 2);
_root.map[29] = Array(17, 18, 17, 18, 17, 33, 37, 0, 0, 0, 0, 0, 0, 0, 0, 33, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 0, 0, 0, 0, 0, 0, 0, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 33, 108, 93, 110, 108, 19, 20, 109, 33, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 33, 33, 33, 33, 18, 17, 33, 33, 0, 0, 0, 0, 0, 25, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 70, 33, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 33, 5, 6, 19, 20, 0, 0, 0, 0, 0, 0, 0, 0, 10, 12, 10, 12, 10, 12, 10, 12, 10, 12, 10, 12, 10, 12, 33, 18, 17, 18, 17, 18);
loadmap22();
}
function loadmap22() {
_root.map[30] = Array(1, 2, 1, 2, 1, 33, 33, 0, 0, 0, 0, 0, 0, 0, 0, 33, 33, 33, 33, 33, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 33, 33, 33, 33, 2, 1, 2, 1, 2, 1, 2, 33, 33, 35, 35, 36, 35, 35, 33, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 33, 33, 33, 33, 33, 33, 95, 94, 95, 94, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 0, 0, 0, 33, 2, 1, 33, 0, 0, 0, 0, 0, 0, 25, 0, 0, 41, 0, 0, 0, 0, 68, 69, 65, 64, 65, 66, 67, 0, 0, 0, 0, 0, 0, 41, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 33, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 33, 33, 33, 33, 33, 0, 0, 0, 0, 0, 0, 0, 0, 26, 28, 26, 28, 26, 28, 26, 28, 26, 28, 26, 28, 26, 28, 33, 2, 1, 2, 1, 2);
_root.map[31] = Array(17, 18, 17, 18, 17, 18, 33, 37, 54, 0, 0, 36, 54, 55, 37, 33, 33, 0, 0, 0, 33, 33, 50, 51, 52, 53, 17, 18, 33, 33, 17, 18, 50, 53, 33, 0, 0, 0, 33, 33, 17, 18, 17, 18, 17, 18, 17, 33, 0, 0, 0, 0, 0, 33, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 33, 33, 33, 17, 18, 17, 18, 17, 18, 17, 18, 17, 33, 17, 18, 33, 111, 92, 93, 110, 18, 17, 18, 17, 18, 17, 18, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 17, 18, 17, 18, 17, 18, 17, 18, 33, 0, 0, 0, 33, 18, 17, 33, 0, 0, 0, 0, 0, 0, 25, 0, 0, 33, 0, 68, 69, 64, 84, 2, 33, 1, 2, 33, 83, 64, 65, 66, 67, 0, 0, 33, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 52, 51, 52, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 0, 0, 0, 0, 0, 0, 0, 10, 12, 10, 12, 10, 12, 10, 12, 10, 12, 10, 12, 10, 12, 10, 33, 18, 17, 18, 17, 18);
_root.map[32] = Array(1, 2, 1, 2, 1, 2, 33, 0, 0, 0, 0, 0, 0, 0, 0, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 49, 0, 0, 48, 49, 0, 0, 0, 0, 0, 0, 0, 33, 1, 2, 1, 2, 1, 33, 33, 33, 54, 0, 0, 0, 55, 33, 33, 33, 33, 2, 1, 2, 1, 2, 1, 2, 33, 33, 33, 33, 1, 33, 33, 33, 33, 33, 33, 33, 33, 33, 1, 2, 1, 2, 33, 33, 33, 33, 33, 33, 1, 2, 33, 61, 33, 109, 1, 2, 1, 2, 1, 33, 33, 33, 33, 0, 0, 0, 0, 9, 0, 0, 70, 33, 33, 33, 33, 2, 1, 2, 1, 33, 33, 0, 0, 0, 33, 33, 33, 33, 0, 0, 0, 0, 0, 0, 41, 0, 0, 33, 33, 84, 2, 33, 50, 51, 9, 52, 51, 9, 52, 53, 33, 33, 83, 33, 33, 33, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 70, 0, 0, 0, 52, 53, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 33, 33, 33, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 0, 33, 33, 6, 19, 20, 0, 0, 0, 0, 26, 28, 26, 28, 26, 28, 26, 28, 26, 28, 26, 28, 26, 28, 26, 33, 2, 1, 2, 1, 2);
_root.map[33] = Array(17, 18, 17, 18, 17, 18, 33, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 0, 0, 19, 20, 19, 0, 19, 20, 19, 19, 20, 19, 0, 0, 19, 20, 19, 20, 0, 33, 17, 18, 17, 18, 33, 33, 37, 37, 37, 37, 37, 33, 37, 37, 37, 37, 33, 18, 17, 18, 17, 18, 17, 18, 33, 0, 9, 33, 17, 33, 0, 0, 0, 9, 0, 70, 33, 33, 17, 18, 17, 18, 33, 9, 70, 70, 0, 33, 33, 33, 33, 61, 33, 18, 17, 18, 17, 18, 17, 33, 9, 0, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 33, 33, 33, 33, 33, 33, 0, 0, 0, 0, 0, 0, 70, 70, 0, 0, 0, 0, 0, 0, 33, 0, 0, 0, 9, 52, 51, 9, 0, 0, 25, 0, 0, 25, 0, 0, 9, 9, 52, 33, 33, 33, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52, 53, 18, 17, 50, 53, 18, 17, 33, 17, 18, 17, 18, 17, 18, 17, 18, 50, 51, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 56, 0, 48, 33, 33, 33, 33, 33, 0, 0, 0, 0, 10, 12, 33, 12, 10, 12, 10, 12, 10, 33, 10, 12, 10, 12, 33, 18, 17, 18, 1, 1);
_root.map[34] = Array(1, 2, 1, 2, 1, 2, 33, 4, 3, 4, 3, 4, 3, 4, 3, 33, 33, 33, 33, 33, 33, 33, 33, 33, 3, 4, 3, 4, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 37, 37, 37, 54, 0, 0, 0, 0, 0, 0, 0, 33, 2, 1, 2, 1, 2, 1, 2, 33, 0, 25, 33, 1, 33, 0, 0, 0, 25, 0, 0, 33, 33, 33, 33, 33, 33, 33, 25, 0, 0, 0, 9, 0, 0, 9, 0, 33, 2, 1, 2, 1, 2, 1, 33, 25, 0, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 9, 0, 9, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 33, 0, 0, 0, 25, 0, 0, 25, 0, 0, 25, 0, 0, 25, 0, 0, 25, 41, 0, 0, 9, 33, 33, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 70, 70, 0, 0, 52, 53, 2, 1, 2, 1, 2, 1, 50, 51, 70, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 56, 0, 0, 0, 52, 53, 33, 48, 0, 0, 0, 0, 26, 28, 26, 28, 26, 28, 26, 28, 26, 28, 26, 28, 26, 28, 33, 2, 1, 2, 1, 2);
_root.map[35] = Array(17, 18, 17, 18, 17, 18, 33, 3, 4, 3, 4, 3, 4, 3, 4, 33, 17, 18, 17, 18, 17, 18, 17, 33, 4, 3, 4, 3, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 54, 55, 37, 37, 54, 0, 0, 0, 0, 0, 0, 33, 33, 17, 18, 17, 18, 17, 33, 33, 0, 25, 33, 33, 33, 0, 0, 0, 25, 0, 0, 9, 0, 0, 0, 9, 0, 0, 25, 0, 0, 0, 25, 0, 0, 25, 33, 33, 33, 33, 33, 33, 33, 33, 33, 25, 0, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 25, 0, 25, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 33, 0, 0, 0, 41, 0, 0, 41, 0, 0, 41, 0, 0, 41, 0, 0, 41, 33, 0, 0, 25, 33, 33, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 49, 70, 49, 52, 51, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 56, 0, 0, 0, 0, 0, 33, 0, 0, 0, 0, 0, 10, 12, 10, 12, 74, 74, 74, 10, 12, 10, 12, 10, 12, 10, 33, 18, 17, 18, 17, 18);
_root.map[36] = Array(1, 2, 1, 2, 1, 2, 33, 4, 3, 4, 3, 4, 3, 4, 3, 33, 1, 2, 1, 2, 1, 2, 1, 33, 33, 33, 33, 33, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 37, 37, 37, 37, 37, 33, 37, 37, 54, 0, 0, 0, 33, 1, 2, 1, 2, 1, 33, 0, 0, 25, 0, 0, 9, 0, 0, 0, 25, 0, 0, 25, 0, 0, 0, 25, 0, 0, 25, 0, 0, 0, 25, 0, 0, 25, 0, 0, 0, 0, 0, 70, 9, 70, 0, 25, 0, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 25, 0, 25, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 0, 25, 0, 0, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 56, 0, 0, 0, 0, 0, 56, 0, 0, 0, 0, 0, 26, 28, 26, 28, 74, 74, 74, 26, 28, 26, 28, 26, 28, 33, 33, 2, 1, 2, 1, 2);
_root.map[37] = Array(17, 18, 17, 18, 17, 18, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 17, 18, 17, 18, 17, 18, 17, 33, 17, 18, 17, 18, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 54, 0, 0, 55, 37, 54, 0, 0, 0, 0, 0, 0, 0, 33, 33, 33, 33, 33, 0, 0, 0, 25, 0, 0, 25, 0, 0, 0, 25, 0, 0, 25, 0, 0, 0, 25, 0, 0, 25, 0, 0, 0, 25, 0, 0, 25, 0, 0, 0, 0, 0, 0, 25, 0, 0, 25, 0, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 25, 0, 25, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 33, 37, 33, 33, 37, 33, 33, 37, 33, 33, 37, 33, 33, 37, 33, 33, 37, 33, 33, 0, 41, 0, 0, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 56, 0, 0, 0, 0, 0, 56, 0, 0, 0, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 18, 17, 18, 17, 18);
_root.map[38] = Array(1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 37, 37, 37, 37, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 9, 0, 0, 0, 0, 25, 0, 0, 25, 0, 0, 0, 25, 0, 0, 25, 0, 0, 0, 25, 0, 0, 25, 0, 0, 0, 25, 33, 0, 25, 0, 0, 0, 0, 0, 0, 25, 0, 0, 25, 0, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 25, 0, 25, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 0, 0, 36, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 56, 0, 0, 0, 0, 0, 56, 0, 33, 33, 33, 33, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2);
_root.map[39] = Array(17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 33, 37, 37, 37, 37, 37, 33, 54, 0, 0, 0, 0, 0, 0, 0, 25, 25, 0, 0, 0, 0, 25, 0, 0, 25, 0, 0, 0, 25, 0, 0, 25, 0, 0, 0, 25, 0, 0, 25, 0, 0, 0, 41, 34, 0, 41, 0, 0, 0, 0, 0, 0, 25, 0, 0, 25, 0, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 25, 0, 41, 0, 0, 41, 0, 0, 0, 0, 0, 0, 0, 0, 33, 66, 67, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 56, 0, 0, 68, 69, 64, 33, 64, 65, 64, 65, 64, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 1, 1);
_root.map[40] = Array(1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 33, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 25, 0, 0, 0, 0, 25, 0, 0, 25, 0, 0, 0, 25, 0, 0, 25, 0, 0, 0, 25, 0, 0, 25, 0, 0, 0, 21, 22, 23, 24, 0, 0, 0, 0, 0, 0, 25, 0, 0, 25, 0, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 41, 0, 21, 22, 23, 24, 0, 0, 0, 0, 0, 0, 33, 33, 33, 18, 83, 66, 67, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 55, 33, 54, 55, 33, 33, 33, 33, 54, 0, 0, 0, 55, 33, 33, 33, 33, 54, 0, 0, 0, 55, 33, 33, 33, 33, 54, 0, 0, 0, 55, 33, 33, 33, 33, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 56, 68, 69, 84, 2, 2, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2);
_root.map[41] = Array(17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 2, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 33, 19, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 25, 0, 0, 0, 0, 41, 0, 0, 41, 0, 0, 0, 25, 0, 0, 25, 0, 0, 0, 41, 0, 0, 41, 0, 0, 0, 0, 38, 39, 0, 0, 0, 0, 0, 0, 0, 25, 0, 0, 25, 0, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 33, 0, 9, 38, 39, 0, 0, 0, 0, 0, 0, 0, 33, 33, 33, 18, 17, 18, 83, 64, 65, 66, 67, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 33, 0, 0, 0, 9, 0, 0, 42, 43, 44, 45, 0, 0, 0, 0, 0, 42, 43, 44, 45, 0, 0, 0, 0, 0, 42, 43, 44, 45, 0, 0, 0, 0, 0, 42, 43, 44, 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 68, 69, 64, 84, 2, 18, 17, 18, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18);
_root.map[42] = Array(1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 18, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 33, 33, 33, 33, 33, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 25, 0, 0, 0, 0, 21, 22, 23, 24, 0, 0, 0, 25, 0, 0, 25, 0, 0, 0, 21, 22, 23, 24, 0, 36, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 0, 25, 0, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 9, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 1, 1, 2, 1, 2, 1, 2, 1, 18, 83, 64, 65, 66, 67, 0, 0, 0, 0, 0, 0, 0, 0, 0, 68, 69, 33, 33, 0, 0, 0, 25, 0, 0, 0, 59, 60, 0, 0, 0, 0, 0, 0, 0, 29, 30, 0, 0, 0, 0, 0, 0, 0, 59, 60, 0, 0, 0, 0, 0, 0, 0, 59, 60, 0, 0, 0, 0, 0, 0, 0, 46, 47, 0, 0, 0, 0, 0, 33, 65, 84, 2, 1, 2, 1, 2, 1, 2, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2);
_root.map[43] = Array(17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 2, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 33, 33, 0, 0, 0, 0, 0, 0, 0, 25, 25, 0, 0, 0, 0, 0, 38, 39, 0, 0, 0, 0, 25, 0, 0, 25, 0, 0, 0, 0, 38, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 0, 0, 0, 41, 0, 0, 41, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 41, 0, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 83, 65, 66, 67, 0, 0, 68, 69, 64, 65, 84, 2, 33, 33, 33, 33, 0, 25, 0, 0, 0, 75, 76, 0, 0, 0, 0, 0, 0, 0, 13, 14, 0, 0, 0, 0, 0, 0, 0, 59, 60, 0, 0, 0, 0, 0, 0, 0, 75, 76, 0, 0, 33, 0, 0, 0, 0, 75, 76, 0, 0, 0, 0, 0, 33, 18, 17, 18, 1, 1, 17, 18, 17, 18, 33, 1, 17, 18, 17, 18, 1, 1, 17, 18, 17, 18, 1, 1, 17, 18, 17, 18, 1, 1, 17, 18, 17, 18, 17, 18);
_root.map[44] = Array(1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 18, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 33, 0, 0, 0, 0, 0, 0, 41, 41, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 0, 41, 0, 0, 41, 0, 36, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21, 22, 23, 24, 0, 0, 0, 0, 0, 0, 33, 0, 0, 0, 0, 0, 0, 21, 22, 23, 24, 0, 0, 0, 0, 0, 0, 0, 0, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 18, 83, 64, 65, 84, 2, 33, 2, 1, 2, 1, 2, 33, 33, 0, 41, 0, 0, 0, 59, 60, 0, 0, 0, 0, 0, 0, 0, 59, 30, 0, 0, 0, 0, 0, 0, 0, 75, 76, 0, 0, 0, 0, 0, 0, 0, 59, 60, 0, 0, 33, 0, 0, 0, 0, 59, 60, 0, 0, 0, 0, 0, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2);
_root.map[45] = Array(17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 2, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 33, 0, 0, 0, 0, 0, 21, 22, 23, 24, 0, 0, 36, 0, 0, 0, 0, 0, 0, 0, 21, 22, 23, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 39, 0, 0, 0, 0, 0, 0, 0, 33, 0, 0, 0, 0, 0, 0, 0, 38, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 33, 0, 36, 0, 0, 0, 75, 76, 0, 0, 0, 0, 0, 0, 0, 75, 76, 0, 0, 0, 0, 0, 0, 0, 75, 60, 0, 0, 0, 0, 0, 0, 0, 75, 76, 0, 0, 33, 37, 33, 0, 0, 75, 76, 0, 0, 0, 0, 33, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 1, 1);
_root.map[46] = Array(1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 18, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 33, 20, 0, 0, 0, 0, 0, 38, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 38, 39, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 70, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 7, 8, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 33, 0, 0, 0, 0, 0, 13, 14, 0, 0, 0, 0, 0, 0, 0, 59, 60, 0, 0, 0, 0, 0, 0, 0, 13, 14, 0, 0, 0, 0, 0, 0, 0, 59, 60, 0, 0, 33, 33, 33, 0, 0, 59, 60, 0, 0, 0, 0, 33, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2);
_root.map[47] = Array(17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 2, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 33, 4, 5, 6, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 19, 20, 7, 8, 3, 4, 3, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 33, 0, 0, 0, 0, 0, 29, 30, 0, 0, 0, 0, 0, 0, 0, 75, 76, 0, 0, 0, 71, 0, 0, 0, 29, 30, 0, 0, 0, 71, 71, 0, 0, 75, 76, 0, 0, 33, 33, 33, 0, 0, 75, 76, 0, 0, 0, 0, 33, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18);
_root.map[48] = Array(1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 18, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 33, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 33, 33, 33, 33, 33, 33, 59, 60, 33, 33, 33, 33, 33, 33, 33, 59, 60, 33, 33, 33, 33, 33, 33, 33, 59, 60, 33, 61, 33, 33, 33, 33, 33, 59, 60, 33, 33, 33, 33, 33, 33, 33, 59, 60, 33, 33, 33, 33, 33, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 33, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2);
_root.map[49] = Array(17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 2, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 33, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 33, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 18, 17, 33, 17, 18, 17, 18, 17, 75, 76, 18, 17, 18, 17, 18, 17, 18, 75, 76, 17, 18, 17, 18, 17, 18, 17, 75, 76, 18, 33, 18, 17, 18, 17, 18, 75, 76, 17, 18, 17, 18, 17, 18, 17, 75, 76, 18, 17, 18, 17, 18, 33, 18, 17, 18, 1, 1, 17, 18, 17, 18, 33, 1, 17, 18, 17, 18, 1, 1, 17, 18, 17, 18, 1, 1, 17, 18, 17, 18, 1, 1, 17, 18, 17, 18, 17, 18);
}
function getMovieFPS() {
time = getTimer() / 1000;
thistime = time - oldtime;
if (thistime >= 1) {
fps = frames;
frames = 0;
oldtime++;
} else {
frames++;
}
return(int(fps));
}
var camerax;
var cameray;
camerax = 0;
cameray = 0;
var screen = this.createEmptyMovieClip("screen", this.getNextHighestDepth());
var bmp = (new flash.display.BitmapData(512, 512, false, 0));
var tilesetid = "tileset1";
var tiles = flash.display.BitmapData.loadBitmap(tilesetid);
screen.attachBitmap(bmp, this.getNextHighestDepth(), "always", false);
loadmap(2);
drawmap(0, 0, 0, 0, 16, 16);
var frames = 0;
var oldtime = 0;
Instance of Symbol 2 MovieClip in Frame 1
onClipEvent (enterFrame) {
var dx;
var dy;
var camerax;
var cameray;
var tx;
var ty;
if (camerax === undefined) {
camerax = 960;
}
if (cameray === undefined) {
cameray = 800;
}
if (Key.isDown(37)) {
camerax = camerax - 8;
}
if (Key.isDown(39)) {
camerax = camerax + 8;
}
if (Key.isDown(38)) {
cameray = cameray - 8;
}
if (Key.isDown(40)) {
cameray = cameray + 8;
}
if (camerax < 0) {
dx = 32 - ((-camerax) % 32);
} else {
dx = camerax % 32;
}
if (cameray < 0) {
dy = 32 - ((-cameray) % 32);
} else {
dy = cameray % 32;
}
if (camerax < 0) {
tx = int(camerax / 32) - 1;
} else {
tx = int(camerax / 32);
}
if (cameray < 0) {
ty = int(cameray / 32) - 1;
} else {
ty = int(cameray / 32);
}
_root.drawmap(-dx, -dy, tx, ty, tx + 17, ty + 17);
}
Frame 3
gotoAndPlay (2);