Frame 1
function goTo() {
getURL ("http://www.MoFunZone.com");
}
var newMenu = new ContextMenu();
newMenu.hideBuiltInItems();
newMenu.customItems.push(new ContextMenuItem("MoFunZone.com - Play More Games", goTo));
this.menu = newMenu;
Frame 126
stop();
menuArray = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 1], [1, 41, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 45, 1], [1, 43, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, 44, 1], [1, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 1], [1, 1, 1, 1, 1, 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, 16, 9, 16, 16, 9, 9, 9, 9, 15, 15, 15, 1, 1, 1, 1, 1], [1, 1, 1, 9, 9, 9, 9, 9, 16, 9, 16, 16, 9, 9, 9, 9, 9, 15, 15, 15, 15, 1, 1, 1], [1, 1, 9, 9, 10, 9, 10, 9, 16, 9, 16, 15, 15, 9, 9, 9, 15, 10, 15, 10, 15, 15, 1, 1], [1, 11, 9, 9, 9, 22, 9, 9, 16, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 11, 1], [1, 9, 9, 9, 10, 9, 10, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 10, 9, 10, 15, 15, 15, 1], [1, 9, 9, 9, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 9, 18, 17, 17, 17, 17, 17, 17, 15, 1], [1, 9, 15, 9, 15, 9, 9, 15, 15, 15, 15, 15, 15, 15, 9, 16, 9, 18, 17, 17, 17, 17, 17, 1], [1, 9, 9, 9, 9, 9, 9, 9, 28, 15, 16, 16, 9, 9, 9, 28, 9, 28, 9, 9, 9, 9, 9, 1], [1, 53, 54, 9, 4, 51, 9, 9, 23, 24, 28, 28, 53, 54, 53, 54, 53, 54, 9, 23, 24, 23, 24, 1], [1, 55, 56, 49, 52, 52, 50, 9, 25, 26, 22, 22, 55, 56, 55, 56, 55, 56, 22, 25, 26, 25, 26, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
_root.createEmptyMovieClip("bg", 0);
y = 0;
while (y < 30) {
x = 0;
while (x < 24) {
_root.bg.attachMovie("tile", (("bg" + y) + "_") + x, _root.bg.getNextHighestDepth(), {_x:x * 16, _y:y * 16});
_root.bg[(("bg" + y) + "_") + x].gotoAndStop(menuArray[y][x]);
x++;
}
y++;
}
_root.bg.attachMovie("MFZ_MENU", "MFZ", bg.getNextHighestDepth(), {_x:82, _y:301});
_root.bg.attachMovie("screen_bg", "scrbg", bg.getNextHighestDepth(), {_x:25, _y:41});
_root.bg.attachMovie("main_title", "main", _root.bg.getNextHighestDepth(), {_x:25, _y:41});
_root.attachMovie("fade", "fade", _root.getNextHighestDepth());
fade.gotoAndPlay("fadeout");
MenuKey = new Object();
MenuKey.onKeyUp = function () {
if (Key.getCode() == 32) {
Key.removeListener(MenuKey);
_root.play();
}
};
Key.addListener(MenuKey);
Frame 132
function create_map(l) {
_root.createEmptyMovieClip("con", 1);
if (key_con) {
key_con.removeMovieClip();
keys = 0;
}
_root.createEmptyMovieClip("key_con", 2);
_root.createEmptyMovieClip("laser_con", 3);
y = 0;
while (y < l.length) {
x = 0;
while (x < l[0].length) {
if (l[y][x] != 0) {
t = _root.con.attachMovie("tile", (("t_" + y) + "_") + x, _root.con.getNextHighestDepth(), {_x:x * tile_size, _y:y * tile_size});
t.gotoAndStop(Math.floor(l[y][x]));
t.s.gotoAndStop((l[y][x] - Math.floor(l[y][x])) * 10);
if (l[y][x] == 5) {
k = _root.key_con.attachMovie("key", "key" + keys, _root.key_con.getNextHighestDepth(), {_x:_root["data" + mn][4 + (keys * 2)] * tile_size, _y:_root["data" + mn][3 + (keys * 2)] * tile_size});
keys++;
k.nr = keys;
k.removeX = x;
k.removeY = y;
}
if (Math.floor(l[y][x]) == 14) {
_root.laser_con.attachMovie("beam", "beam" + _root.con[(("t_" + y) + "_") + x]._name, _root.laser_con.getNextHighestDepth(), {_x:_root.con[(("t_" + y) + "_") + x]._x + 15, _y:_root.con[(("t_" + y) + "_") + x]._y + 7});
}
if (Math.floor(l[y][x]) == 13) {
_root.laser_con.attachMovie("beam", "beam" + _root.con[(("t_" + y) + "_") + x]._name, _root.laser_con.getNextHighestDepth(), {_x:_root.con[(("t_" + y) + "_") + x]._x + 1, _y:_root.con[(("t_" + y) + "_") + x]._y + 7});
}
if (Math.floor(l[y][x]) == 12) {
_root.laser_con.attachMovie("beam2", "beam" + _root.con[(("t_" + y) + "_") + x]._name, _root.laser_con.getNextHighestDepth(), {_x:_root.con[(("t_" + y) + "_") + x]._x + 7, _y:_root.con[(("t_" + y) + "_") + x]._y + 15});
}
if (Math.floor(l[y][x]) == 31) {
_root.laser_con.attachMovie("beam2", "beam" + _root.con[(("t_" + y) + "_") + x]._name, _root.laser_con.getNextHighestDepth(), {_x:_root.con[(("t_" + y) + "_") + x]._x + 7, _y:_root.con[(("t_" + y) + "_") + x]._y + 1});
}
}
x++;
}
y++;
}
if (ib) {
ib.removeMovieClip();
}
if (l[1][1] > 31) {
_root.attachMovie("ib", "ib", _root.getNextHighestDepth(), {_x:24, _y:8});
}
if ((mn == 1) or (mn == 3)) {
if (!tut) {
_root.attachMovie("tut", "tut", _root.getNextHighestDepth(), {_x:88, _y:184});
}
}
}
var mn = 1;
var tile_size = 16;
var total_levels = 33;
var use_tetris = false;
var beginner = false;
var intermediate = false;
var expert = false;
var bonus1 = false;
var bonus2 = false;
var bonus3 = false;
load_level1 = function () {
map1 = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,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9, 9, 1], [1, 17, 17, 17, 29, 37, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 36, 30, 17, 17, 17, 1], [1, 9, 9, 9, 9, 34, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 35, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 17, 17, 17, 21, 15, 15, 15, 15, 15, 15, 15, 15, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 18, 17, 21, 20, 17, 17, 17, 17, 17, 17, 21, 15, 9, 15, 15, 15, 9, 9, 9, 9, 9, 9, 1], [1, 16, 11, 16, 15, 15, 15, 15, 15, 15, 15, 16, 15, 9, 15, 22, 15, 9, 9, 9, 9, 9, 9, 1], [1, 20, 17, 19, 15, 15, 15, 15, 15, 15, 15, 16, 15, 9, 15, 15, 15, 9, 9, 9, 9, 9, 9, 1], [1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 16, 15, 9, 1, 1, 1, 1, 9, 9, 9, 9, 9, 1], [1, 6, 15, 15, 15, 15, 1, 1, 1, 1, 15, 16, 15, 9, 1, 7, 7, 1, 9, 9, 9, 9, 4, 1], [1, 1, 1, 1, 1, 1, 1, 7, 7, 1, 1, 1, 1, 1, 1, 7, 7, 1, 1, 1, 1, 1, 1, 1], [1, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
data1 = [25, 1, 0];
};
load_level1();
load_level2 = function () {
map2 = [[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, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 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, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 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, 18, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 16, 1], [1, 16, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 16, 1], [1, 16, 15, 15, 15, 15, 15, 15, 15, 15, 9, 9, 9, 9, 15, 15, 15, 15, 15, 15, 15, 15, 16, 1], [1, 16, 15, 15, 15, 15, 15, 15, 15, 9, 9, 9, 9, 9, 9, 15, 15, 15, 15, 15, 15, 15, 16, 1], [1, 16, 9, 9, 9, 9, 9, 9, 9, 9, 11, 15, 15, 11, 9, 9, 9, 9, 9, 9, 9, 9, 16, 1], [1, 16, 9, 9, 9, 9, 9, 9, 9, 9, 15, 15, 15, 15, 9, 9, 9, 9, 9, 9, 9, 9, 16, 1], [1, 16, 9, 9, 9, 9, 9, 9, 9, 9, 11, 15, 15, 11, 9, 9, 9, 9, 9, 9, 9, 9, 16, 1], [1, 16, 15, 15, 15, 15, 15, 15, 15, 9, 9, 9, 9, 9, 9, 15, 15, 15, 15, 15, 15, 15, 16, 1], [1, 16, 15, 15, 15, 15, 15, 15, 15, 15, 9, 9, 9, 9, 15, 15, 15, 15, 15, 15, 15, 15, 16, 1], [1, 16, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 16, 1], [1, 16, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 16, 1], [1, 20, 17, 21, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 18, 17, 19, 1], [1, 9, 9, 16, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 16, 9, 9, 1], [1, 6, 18, 19, 9, 9, 9, 9, 18, 17, 17, 17, 17, 17, 17, 21, 9, 9, 9, 9, 20, 21, 4, 1], [1, 1, 1, 1, 9, 9, 9, 1, 1, 1, 9, 9, 9, 9, 1, 1, 1, 9, 9, 9, 1, 1, 1, 1], [1, 1, 1, 1, 17, 17, 17, 1, 1, 1, 17, 17, 17, 17, 1, 1, 1, 17, 17, 17, 1, 1, 1, 1], [1, 1, 1, 1, 9, 9, 9, 1, 1, 1, 9, 9, 9, 9, 1, 1, 1, 9, 9, 9, 1, 1, 1, 1], [1, 1, 1, 1, 9, 9, 9, 9, 16, 9, 9, 9, 9, 9, 9, 16, 9, 9, 9, 9, 1, 1, 1, 1], [1, 1, 1, 1, 9, 9, 9, 9, 16, 9, 9, 9, 9, 9, 9, 16, 9, 9, 9, 9, 1, 1, 1, 1], [1, 1, 1, 1, 9, 9, 9, 9, 28, 9, 9, 9, 9, 9, 9, 28, 9, 9, 9, 9, 1, 1, 1, 1], [1, 1, 1, 1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
data2 = [18, 1, 0];
};
load_level2();
load_level3 = function () {
map3 = [[1, 41, 47, 47, 47, 47, 42, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 41, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 43, 48, 48, 48, 48, 44, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 43, 48, 48, 48, 48, 44, 1], [1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1], [1, 15, 9, 9, 9, 9, 9, 15, 9, 9, 9, 9, 15, 9, 9, 9, 9, 15, 9, 9, 9, 9, 15, 1], [1, 15, 9, 10, 22, 10, 9, 9, 15, 15, 9, 15, 15, 15, 9, 15, 15, 9, 10, 22, 10, 9, 15, 1], [1, 15, 9, 9, 9, 9, 9, 15, 9, 9, 9, 9, 15, 9, 9, 9, 9, 15, 9, 9, 9, 9, 15, 1], [1, 15, 15, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 15, 15, 1], [1, 15, 15, 9, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 9, 15, 15, 1], [1, 18, 17, 21, 15, 32, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 33, 15, 18, 17, 21, 1], [1, 16, 11, 16, 15, 37, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 36, 15, 16, 11, 16, 1], [1, 16, 9, 16, 15, 37, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 36, 15, 16, 9, 16, 1], [1, 16, 9, 16, 15, 37, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 36, 15, 16, 9, 16, 1], [1, 16, 11, 16, 15, 37, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 36, 15, 16, 11, 16, 1], [1, 20, 17, 19, 15, 34, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, 35, 15, 20, 17, 19, 1], [1, 15, 15, 9, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 9, 15, 15, 1], [1, 15, 15, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 15, 15, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 4, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 1, 1, 1, 1, 1, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 1, 1, 1, 1, 1, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 1, 1, 1, 1, 1, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 6, 9, 9, 9, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
data3 = [27, 1, 4];
};
load_level3();
load_level4 = function () {
map4 = [[1, 41, 47, 47, 47, 47, 42, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 41, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 43, 48, 48, 48, 48, 44, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 43, 48, 48, 48, 48, 44, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 18, 17, 17, 17, 17, 21, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 15, 15, 15, 15, 15, 15, 9, 16, 10, 15, 15, 10, 16, 9, 15, 15, 15, 15, 15, 15, 9, 1], [1, 9, 15, 15, 15, 15, 15, 15, 9, 16, 15, 15, 15, 15, 16, 9, 15, 15, 15, 15, 15, 15, 9, 1], [1, 9, 15, 15, 15, 15, 15, 15, 9, 16, 15, 15, 15, 15, 16, 9, 15, 15, 15, 15, 15, 15, 9, 1], [1, 9, 15, 15, 15, 15, 15, 15, 9, 16, 10, 15, 15, 10, 16, 9, 15, 15, 15, 15, 15, 15, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 20, 17, 17, 17, 17, 19, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 6, 22, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 4, 1], [1, 1, 1, 1, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
data4 = [21, 1, 6];
};
load_level4();
load_level5 = function () {
map5 = [[1, 41, 47, 47, 47, 47, 42, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 41, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 43, 48, 48, 48, 48, 44, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 43, 48, 48, 48, 48, 44, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 4, 15, 9, 1], [1, 9, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 1, 17, 9, 1], [1, 9, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 1, 17, 9, 1], [1, 9, 15, 15, 15, 15, 15, 15, 15, 1, 1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 9, 1], [1, 9, 15, 15, 15, 15, 15, 15, 15, 1, 1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 9, 1], [1, 9, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 1, 17, 17, 17, 17, 17, 9, 1], [1, 9, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 1, 17, 17, 17, 17, 17, 9, 1], [1, 9, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 9, 1], [1, 9, 15, 15, 15, 1, 1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 9, 1], [1, 9, 17, 17, 17, 1, 1, 17, 17, 17, 17, 1, 1, 17, 17, 17, 17, 17, 17, 17, 17, 17, 9, 1], [1, 9, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 1, 17, 17, 17, 17, 17, 17, 17, 17, 17, 9, 1], [1, 9, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 9, 1], [1, 9, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 9, 1], [1, 9, 17, 17, 17, 17, 17, 1, 1, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 9, 1], [1, 9, 17, 17, 17, 17, 17, 1, 1, 17, 17, 17, 17, 17, 17, 17, 1, 1, 17, 17, 17, 17, 9, 1], [1, 9, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 1, 15, 15, 15, 15, 9, 1], [1, 9, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 9, 1], [1, 9, 17, 1, 1, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 9, 1], [1, 9, 17, 1, 1, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 9, 1], [1, 9, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 9, 1], [1, 6, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 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, 1, 1, 1, 1]];
data5 = [27, 1, 6];
};
load_level5();
load_level6 = function () {
map6 = [[1, 41, 47, 47, 47, 47, 42, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 41, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 43, 48, 48, 48, 48, 44, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 43, 48, 48, 48, 48, 44, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 15, 15, 15, 15, 15, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 15, 10, 15, 10, 15, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 15, 15, 15, 15, 15, 15, 15, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 15, 15, 15, 15, 15, 10, 15, 10, 15, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 15, 15, 15, 15, 15, 15, 15, 15, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 15, 15, 15, 15, 15, 9, 9, 15, 15, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 15, 9, 9, 9, 15, 9, 9, 15, 15, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 15, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 18, 21, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 20, 19, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 1, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1], [1, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 1, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 18, 21, 16, 16, 18, 21, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 20, 19, 16, 16, 20, 19, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 16, 16, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 15, 9, 9, 15, 15, 9, 9, 9, 9, 9, 16, 16, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 15, 15, 15, 15, 15, 15, 9, 9, 9, 9, 16, 16, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 15, 15, 15, 15, 15, 15, 9, 9, 9, 9, 16, 16, 9, 9, 9, 15, 9, 15, 9, 9, 9, 15, 1], [1, 15, 15, 15, 15, 9, 9, 9, 9, 9, 9, 16, 16, 9, 9, 9, 9, 9, 15, 9, 9, 15, 15, 1], [1, 15, 15, 15, 15, 9, 9, 9, 9, 9, 9, 16, 16, 9, 9, 9, 9, 9, 15, 15, 15, 15, 15, 1], [1, 1, 1, 15, 15, 15, 15, 15, 15, 9, 9, 16, 16, 9, 9, 9, 9, 9, 15, 15, 15, 1, 1, 1], [1, 9, 5, 15, 15, 15, 15, 15, 15, 15, 6, 16, 16, 9, 9, 9, 15, 15, 15, 15, 15, 5, 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]];
data6 = [27, 10, 7, 13, 12, 27, 1];
};
load_level6();
load_level7 = function () {
map7 = [[1, 41, 47, 47, 47, 47, 42, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 41, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 43, 48, 48, 48, 48, 44, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 43, 48, 48, 48, 48, 44, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 10, 9, 10, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 22, 9, 9, 9, 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, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1], [1, 6, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1], [1, 1, 1, 1, 1, 1, 5, 5, 1, 1, 1, 1, 1, 1, 1, 1, 15, 15, 1, 1, 1, 1, 1, 1], [1, 1, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 1, 1], [1, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 1], [1, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 1], [1, 1, 7, 7, 7, 7, 7, 7, 7, 7, 7, 9, 9, 7, 7, 7, 7, 7, 7, 7, 7, 7, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
data7 = [22, 1, 6, 27, 12, 27, 12, 27, 12];
};
load_level7();
load_level8 = function () {
map8 = [[1, 41, 47, 47, 47, 47, 42, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 41, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 43, 48, 48, 48, 48, 44, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 43, 48, 48, 48, 48, 44, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 10, 9, 10, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 4, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 18, 17, 17, 17, 1, 1, 1], [1, 9, 10, 9, 10, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 16, 9, 9, 18, 1, 1, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 16, 9, 9, 16, 9, 16, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 16, 9, 9, 16, 9, 16, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 16, 9, 9, 16, 9, 16, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 16, 9, 9, 16, 9, 16, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 20, 17, 1, 1, 17, 19, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 18, 17, 1, 1, 17, 21, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 16, 9, 9, 9, 9, 16, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 16, 9, 9, 9, 9, 16, 1], [1, 9, 18, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 1, 17, 17, 19, 9, 9, 9, 9, 16, 1], [1, 9, 16, 18, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 1, 17, 17, 17, 17, 21, 9, 9, 16, 1], [1, 9, 16, 16, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 16, 9, 9, 9, 9, 16, 9, 9, 16, 1], [1, 9, 16, 16, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 16, 9, 9, 9, 9, 16, 9, 9, 16, 1], [1, 9, 16, 16, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 20, 17, 17, 17, 1, 1, 17, 17, 19, 1], [1, 9, 16, 16, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 18, 17, 17, 17, 1, 1, 9, 9, 9, 1], [1, 9, 16, 16, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 16, 9, 9, 9, 9, 16, 9, 9, 9, 1], [1, 9, 16, 16, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 16, 9, 9, 9, 9, 16, 9, 9, 9, 1], [1, 9, 16, 16, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 16, 9, 9, 9, 9, 16, 9, 9, 9, 1], [1, 9, 16, 23, 24, 9, 9, 9, 9, 9, 9, 9, 9, 9, 16, 9, 9, 9, 9, 16, 9, 9, 9, 1], [1, 22, 22, 25, 26, 9, 9, 9, 9, 9, 9, 9, 9, 6, 16, 9, 9, 9, 9, 16, 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]];
data8 = [27, 13, 9];
};
load_level8();
load_level9 = function () {
map9 = [[1, 41, 47, 47, 47, 47, 42, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 41, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 43, 48, 48, 48, 48, 44, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 43, 48, 48, 48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 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 1, 9, 9, 8, 9, 9, 9, 8, 9, 9, 9, 8, 9, 9, 9, 8, 9, 9, 9, 8, 9, 9, 1], [1, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 1, 9, 9, 8, 9, 9, 9, 8, 9, 9, 9, 8, 9, 9, 9, 8, 9, 9, 9, 8, 9, 9, 1], [1, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 6, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
data9 = [27, 22, 10];
};
load_level9();
load_level10 = function () {
map10 = [[1, 41, 47, 47, 47, 47, 42, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 41, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 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], [1, 17, 17, 17, 17, 23, 24, 23, 24, 9, 16, 9, 16, 9, 9, 9, 9, 9, 23, 24, 17, 17, 17, 1], [1, 17, 17, 22, 22, 25, 26, 25, 26, 9, 16, 9, 16, 9, 9, 9, 9, 9, 25, 26, 22, 17, 17, 1], [1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 2, 2, 5, 5, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 10, 9, 10, 9, 9, 9, 9, 9, 9, 18, 17, 21, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 16, 9, 16, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 10, 9, 10, 9, 9, 9, 9, 9, 9, 16, 9, 16, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 16, 9, 16, 9, 9, 9, 9, 9, 18, 17, 17, 17, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 16, 9, 16, 9, 9, 9, 9, 9, 16, 23, 24, 9, 1], [1, 6, 18, 22, 21, 9, 9, 9, 9, 9, 9, 16, 9, 16, 9, 9, 9, 9, 9, 22, 25, 26, 11, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
data10 = [27, 1, 18, 6, 12, 13, 11, 13, 11, 21, 12, 21, 12];
};
load_level10();
load_level11 = function () {
map11 = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 1], [1, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 1], [1, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 7, 7, 7, 1], [1, 9, 9, 9, 9, 9, 18, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 21, 1, 7, 7, 7, 7, 1], [1, 9, 9, 9, 9, 9, 16, 10, 27, 10, 27, 10, 10, 27, 10, 27, 10, 16, 1, 7, 7, 7, 7, 1], [1, 9, 9, 23, 24, 9, 16, 10, 28, 10, 28, 10, 10, 28, 10, 28, 10, 16, 1, 7, 7, 7, 7, 1], [1, 6, 22, 25, 26, 9, 20, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 19, 1, 7, 7, 7, 7, 1], [1, 1, 1, 1, 1, 14, 9, 9, 9, 1, 9, 9, 9, 9, 13, 9, 9, 9, 1, 7, 7, 7, 7, 1], [1, 7, 7, 7, 7, 1, 17, 17, 21, 9, 18, 17, 17, 21, 9, 18, 17, 17, 1, 7, 7, 7, 7, 1], [1, 7, 7, 7, 7, 1, 11, 11, 16, 9, 16, 11, 11, 16, 9, 16, 11, 11, 1, 7, 7, 7, 7, 1], [1, 7, 7, 7, 7, 1, 17, 17, 19, 9, 20, 17, 17, 19, 9, 20, 17, 17, 1, 7, 7, 7, 7, 1], [1, 7, 7, 7, 7, 1, 9, 9, 9, 14, 9, 9, 9, 9, 1, 9, 9, 9, 13, 7, 7, 7, 7, 1], [1, 7, 7, 7, 7, 1, 17, 17, 21, 9, 18, 17, 17, 21, 9, 18, 17, 17, 1, 7, 7, 7, 7, 1], [1, 7, 7, 7, 7, 1, 11, 11, 16, 9, 16, 11, 11, 16, 9, 16, 11, 11, 1, 7, 7, 7, 7, 1], [1, 7, 7, 7, 7, 1, 17, 17, 19, 9, 20, 17, 17, 19, 9, 20, 17, 17, 1, 7, 7, 7, 7, 1], [1, 7, 7, 7, 7, 14, 9, 9, 9, 1, 9, 9, 9, 9, 13, 9, 9, 9, 1, 7, 7, 7, 7, 1], [1, 7, 7, 7, 7, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 7, 7, 7, 7, 1], [1, 7, 7, 7, 7, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 7, 7, 7, 7, 1], [1, 7, 7, 7, 7, 1, 9, 9, 9, 9, 9, 9, 23, 24, 23, 24, 9, 9, 1, 7, 7, 7, 7, 1], [1, 7, 7, 7, 7, 1, 4, 9, 9, 9, 9, 9, 25, 26, 25, 26, 22, 9, 1, 7, 7, 7, 7, 1], [1, 7, 7, 7, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 7, 7, 7, 1], [1, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
data11 = [12, 1, 0];
};
load_level11();
load_level12 = function () {
map12 = [[1, 41, 47, 47, 47, 47, 42, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 41, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 43, 48, 48, 48, 48, 44, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 43, 48, 48, 48, 48, 44, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 9, 9, 9, 1], [1, 9, 9, 9, 15, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 15, 9, 9, 9, 1], [1, 9, 9, 9, 15, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 15, 9, 9, 9, 1], [1, 9, 9, 9, 15, 9, 9, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 9, 9, 15, 9, 9, 9, 1], [1, 9, 9, 9, 15, 9, 9, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 9, 9, 15, 9, 9, 9, 1], [1, 9, 9, 9, 15, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 15, 9, 9, 9, 1], [1, 9, 9, 9, 15, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 15, 9, 9, 9, 1], [1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1], [1, 17, 17, 17, 12, 17, 17, 12, 17, 17, 12, 17, 17, 12, 17, 17, 12, 17, 17, 12, 17, 17, 17, 1], [1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 18, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 21, 9, 9, 1], [1, 9, 9, 16, 15, 9, 9, 15, 9, 9, 15, 9, 9, 15, 9, 9, 15, 9, 9, 15, 16, 9, 9, 1], [1, 9, 9, 16, 9, 15, 15, 9, 15, 15, 9, 11, 11, 9, 15, 15, 9, 15, 15, 9, 16, 9, 9, 1], [1, 9, 9, 16, 9, 15, 15, 9, 15, 15, 9, 11, 11, 9, 15, 15, 9, 15, 15, 9, 16, 9, 9, 1], [1, 1, 9, 16, 15, 9, 9, 15, 9, 9, 15, 9, 9, 15, 9, 9, 15, 9, 9, 15, 16, 9, 1, 1], [1, 6, 9, 20, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 19, 9, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
data12 = [26, 1, 10];
};
load_level12();
load_level13 = function () {
map13 = [[1, 41, 47, 47, 47, 47, 42, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 41, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 43, 48, 48, 48, 48, 44, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 43, 48, 48, 48, 48, 44, 1], [1, 9, 10, 9, 10, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 22, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 10, 9, 10, 9, 18, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 29, 9, 1], [1, 9, 9, 9, 9, 9, 16, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 7, 7, 1, 1], [1, 9, 9, 9, 9, 9, 16, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 7, 7, 7, 15, 15, 9, 13], [1, 9, 9, 9, 9, 9, 16, 9, 9, 9, 9, 9, 9, 9, 7, 7, 7, 15, 15, 15, 15, 15, 9, 13], [1, 9, 9, 9, 9, 9, 16, 9, 9, 9, 9, 7, 7, 7, 15, 15, 15, 15, 15, 23, 24, 23, 24, 13], [1, 18, 17, 17, 17, 17, 19, 9, 7, 7, 7, 15, 15, 15, 15, 15, 15, 15, 22, 25, 26, 25, 26, 13], [1, 16, 9, 9, 9, 9, 9, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 16, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 7, 7, 7, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 9, 10, 9, 1], [14, 15, 15, 15, 7, 7, 7, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 22, 9, 9, 1], [14, 15, 15, 15, 15, 15, 15, 7, 7, 7, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 9, 10, 9, 1], [14, 15, 15, 23, 24, 15, 15, 15, 15, 15, 7, 7, 7, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [14, 15, 15, 25, 26, 22, 15, 15, 15, 15, 15, 15, 15, 7, 7, 7, 9, 9, 9, 9, 9, 9, 9, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 9, 9, 9, 9, 9, 9, 1], [1, 16, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 16, 10, 9, 10, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 7, 7, 7, 1], [1, 16, 9, 22, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 7, 7, 7, 15, 15, 15, 13], [1, 16, 10, 9, 10, 9, 9, 9, 9, 9, 9, 9, 9, 9, 7, 7, 7, 15, 15, 15, 15, 15, 15, 13], [1, 16, 9, 9, 9, 9, 9, 9, 9, 9, 9, 7, 7, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 13], [1, 1, 1, 9, 9, 9, 9, 9, 7, 7, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 13], [1, 4, 5, 6, 9, 7, 7, 7, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 13], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
data13 = [27, 3, 2, 6, 22];
};
load_level13();
load_level14 = function () {
map14 = [[1, 41, 47, 47, 47, 47, 42, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 41, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 43, 48, 48, 48, 48, 44, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 43, 48, 48, 48, 48, 44, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 1, 1, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 1, 1, 1, 7, 7, 1, 1, 1, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 1, 1, 1, 7, 7, 7, 7, 7, 7, 1, 1, 1, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 1, 1, 1, 7, 7, 7, 1, 1, 1, 1, 7, 7, 7, 1, 1, 1, 9, 9, 9, 1], [1, 2, 2, 12, 1, 7, 7, 7, 1, 1, 1, 1, 1, 1, 1, 1, 7, 7, 7, 1, 12, 2, 2, 1], [1, 9, 9, 9, 12, 12, 1, 7, 7, 1, 1, 1, 1, 1, 1, 7, 7, 1, 12, 12, 9, 9, 9, 1], [1, 9, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
data14 = [18, 1, 18];
};
load_level14();
load_level15 = function () {
map15 = [[1, 41, 47, 47, 47, 47, 42, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 41, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 43, 48, 48, 48, 48, 44, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 43, 48, 48, 48, 48, 44, 1], [1, 4, 9, 9, 9, 3.1, 9, 9, 9, 9, 9, 9, 9, 9, 22, 9, 22, 9, 9, 22, 9, 22, 9, 1], [1, 1, 9, 9, 3.3, 1, 3.4, 9, 9, 9, 9, 9, 9, 9, 22, 9, 22, 9, 9, 22, 9, 22, 9, 1], [1, 9, 9, 9, 9, 3.2, 9, 9, 9, 9, 9, 9, 9, 9, 27, 9, 27, 9, 9, 27, 9, 27, 9, 1], [1, 9, 9, 9, 9, 9, 9, 3.1, 9, 9, 9, 9, 9, 9, 16, 9, 20, 21, 9, 16, 9, 20, 17, 1], [1, 9, 3.1, 9, 9, 9, 3.3, 1, 3.4, 9, 9, 9, 9, 9, 16, 9, 9, 16, 9, 20, 17, 17, 17, 1], [1, 3.3, 1, 3.4, 9, 9, 9, 3.2, 9, 9, 9, 9, 9, 9, 20, 21, 9, 20, 17, 17, 17, 17, 17, 1], [1, 9, 3.2, 9, 9, 9, 9, 9, 9, 3.1, 9, 9, 9, 9, 9, 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, 9, 9, 3.3, 1, 1], [1, 9, 28, 9, 28, 9, 28, 9, 9, 28, 9, 9, 9, 3.2, 9, 9, 3.1, 9, 9, 9, 9, 9, 3.2, 1], [1, 22, 23, 24, 23, 24, 23, 24, 9, 23, 24, 9, 9, 9, 9, 3.3, 1, 3.4, 9, 9, 9, 9, 9, 1], [1, 22, 25, 26, 25, 26, 25, 26, 22, 25, 26, 9, 9, 9, 9, 9, 3.2, 9, 9, 9, 9, 9, 6, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
data15 = [27, 22, 12];
};
load_level15();
load_level16 = function () {
map16 = [[1, 41, 47, 47, 47, 47, 42, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 41, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 43, 48, 48, 48, 48, 44, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 43, 48, 48, 48, 48, 44, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 5, 9, 1], [1, 1, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 1, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 18, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 21, 9, 9, 9, 1], [1, 9, 9, 9, 16, 18, 17, 17, 17, 21, 18, 17, 17, 21, 18, 17, 17, 17, 21, 16, 9, 9, 9, 1], [1, 9, 9, 9, 16, 16, 10, 9, 10, 16, 16, 11, 11, 16, 16, 10, 9, 10, 16, 16, 9, 9, 9, 1], [1, 9, 9, 9, 16, 16, 9, 9, 9, 16, 16, 9, 9, 16, 16, 9, 9, 9, 16, 16, 9, 9, 9, 1], [1, 9, 9, 9, 16, 16, 10, 9, 10, 16, 16, 11, 11, 16, 16, 10, 9, 10, 16, 16, 9, 9, 9, 1], [1, 9, 9, 9, 16, 16, 9, 9, 9, 16, 16, 9, 9, 16, 16, 9, 9, 9, 16, 16, 9, 9, 9, 1], [1, 9, 9, 9, 16, 16, 10, 9, 10, 16, 16, 11, 11, 16, 16, 10, 9, 10, 16, 16, 9, 9, 9, 1], [1, 9, 9, 9, 16, 20, 17, 17, 17, 19, 16, 9, 9, 16, 20, 17, 17, 17, 19, 16, 9, 9, 9, 1], [1, 9, 9, 9, 16, 9, 22, 9, 22, 9, 8, 8, 8, 8, 9, 22, 9, 22, 9, 16, 9, 9, 9, 1], [1, 9, 9, 9, 16, 18, 17, 17, 17, 21, 16, 9, 9, 16, 18, 17, 17, 17, 21, 16, 9, 9, 9, 1], [1, 9, 9, 9, 16, 16, 10, 9, 10, 16, 16, 11, 11, 16, 16, 10, 9, 10, 16, 16, 9, 9, 9, 1], [1, 9, 9, 9, 16, 16, 9, 9, 9, 16, 16, 9, 9, 16, 16, 9, 9, 9, 16, 16, 9, 9, 9, 1], [1, 9, 9, 9, 16, 16, 10, 9, 10, 16, 16, 11, 11, 16, 16, 10, 9, 10, 16, 16, 9, 9, 9, 1], [1, 9, 9, 9, 16, 16, 9, 9, 9, 16, 16, 9, 9, 16, 16, 9, 9, 9, 16, 16, 9, 9, 9, 1], [1, 9, 9, 9, 16, 16, 10, 9, 10, 16, 16, 11, 11, 16, 16, 10, 9, 10, 16, 16, 9, 9, 9, 1], [1, 9, 9, 9, 16, 20, 17, 17, 17, 19, 20, 17, 17, 19, 20, 17, 17, 17, 19, 16, 9, 9, 9, 1], [1, 9, 9, 9, 20, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 19, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 1, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 23, 24, 9, 9, 9, 9, 9, 1, 1, 1], [1, 4, 5, 9, 8, 9, 9, 9, 9, 9, 9, 9, 6, 9, 25, 26, 22, 9, 9, 8, 9, 5, 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]];
data16 = [27, 12, 23, 27, 22, 5, 22, 5, 1];
};
load_level16();
load_level17 = function () {
map17 = [[1, 41, 47, 47, 47, 47, 42, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 41, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 43, 48, 48, 48, 48, 44, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 43, 48, 48, 48, 48, 44, 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, 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, 1, 1, 1,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 21, 22, 22, 9, 4, 1], [1, 1, 1, 1, 1, 20, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 19, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.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, 1, 1, 1, 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, 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, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
data17 = [21, 1, 16];
};
load_level17();
load_level18 = function () {
map18 = [[1, 41, 47, 47, 47, 47, 42, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 41, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 43, 48, 48, 48, 48, 44, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 43, 48, 48, 48, 48, 44, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 18, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 21, 9, 9, 9, 9, 9, 6, 1], [1, 9, 16, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 16, 9, 9, 1, 1, 1, 1, 1], [1, 9, 20, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 19, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 18, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 21, 9, 1], [1, 9, 16, 18, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 19, 9, 1], [1, 9, 16, 16, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 16, 16, 9, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 1], [1, 9, 16, 16, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 16, 20, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 21, 9, 1], [1, 9, 20, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 19, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 18, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 21, 9, 1], [1, 3.1, 3.1, 3.1, 3.1, 9, 9, 16, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 9, 10, 16, 9, 1], [1, 1, 1, 1, 1, 9, 9, 20, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 19, 9, 1], [1, 4, 5, 5, 5, 9, 9, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
data18 = [7, 22, 6, 11, 4, 16, 19, 21, 4];
};
load_level18();
load_level19 = function () {
rm = random(3);
o = [[16, 4, 16, 12, 16, 30, 16, 19], [16, 4, 16, 30, 16, 19, 16, 12], [16, 30, 16, 12, 16, 19, 16, 4]];
map19 = [[1, 41, 47, 47, 47, 47, 42, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 41, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45,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16, 5, 13, 9, 9, 14, 5, 16, 9, 5, 13, 9, 9, 14, 5, 16, 5, 13, 9, 1], [1, 9, 9, 9, 16, 9, 9, 9, 9, 9, 9, 16, 9, 9, 9, 9, 9, 9, 9, 16, 9, 9, 9, 1], [1, 9, 9, 9, 16, 9, 9, 9, 9, 9, 9, 16, 9, 9, 9, 9, 9, 9, 9, 16, 9, 9, 9, 1], [1, 9, 9, 9, 16, 9, 9, 9, 9, 9, 9, 16, 9, 9, 9, 9, 9, 9, 9, 16, 9, 9, 9, 1], [1, 9, 9, 9, 16, 9, 9, 9, 9, 9, 9, 16, 9, 9, 9, 9, 9, 9, 9, 16, 9, 9, 9, 1], [1, 9, 9, 9, 16, 9, 9, 9, 9, 9, 9, 16, 9, 9, 9, 9, 9, 9, 9, 16, 9, 9, 9, 1], [1, 9, 9, 9, 16, 9, 9, 9, 9, 9, 9, 16, 9, 9, 9, 9, 9, 9, 9, 16, 9, 9, 9, 1], [1, 9, 9, 9, 16, 9, 9, 9, 9, 9, 9, 16, 9, 9, 9, 9, 9, 9, 9, 16, 9, 9, 9, 1], [1, 9, 9, 9, 16, 9, 9, 9, 9, 9, 9, 16, 9, 9, 9, 9, 9, 9, 9, 16, 9, 9, 9, 1], [1, 9, 9, 9, 16, 9, 9, 9, 9, 9, 9, 16, 9, 9, 9, 9, 9, 9, 9, 16, 9, 1, 1, 1], [1, 9, 9, 9, 20, 17, 17, 17, 17, 17, 29, 20, 17, 17, 17, 17, 17, 17, 29, 20, 17, 5, 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]];
data19 = [13, 11, 5, o[rm][0], o[rm][1], o[rm][0], o[rm][1], o[rm][2], o[rm][3], o[rm][2], o[rm][3], o[rm][4], o[rm][5], o[rm][4], o[rm][5], o[rm][6], o[rm][7]];
};
load_level19();
load_level20 = function () {
map20 = [[1, 41, 47, 47, 47, 47, 42, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 41, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 43, 48, 48, 48, 48, 44, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 43, 48, 48, 48, 48, 44, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 10, 9, 10, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 9, 10, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 15, 9, 9, 9, 9, 15, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 10, 9, 10, 9, 9, 9, 15, 15, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 9, 10, 9, 1], [1, 9, 9, 9, 9, 9, 9, 15, 15, 9, 9, 3.1, 3.1, 9, 9, 15, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 15, 15, 15, 9, 3.3, 1, 1, 3.4, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 15, 15, 9, 9, 3.3, 1, 1, 3.4, 9, 9, 9, 15, 9, 9, 9, 9, 9, 1], [1, 9, 9, 15, 15, 15, 15, 15, 9, 3.3, 1, 1, 1, 1, 3.4, 9, 9, 15, 15, 9, 9, 9, 9, 1], [1, 9, 15, 15, 15, 15, 15, 9, 9, 3.3, 1, 7, 7, 1, 3.4, 9, 9, 15, 15, 15, 9, 9, 9, 1], [1, 9, 9, 15, 15, 15, 9, 9, 9, 3.3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 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]];
data20 = [25, 1, 21, 27, 22, 27, 22, 27, 22];
};
load_level20();
load_level21 = function () {
map21 = [[1, 41, 47, 47, 47, 47, 42, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 41, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 43, 48, 48, 48, 48, 44, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 43, 48, 48, 48, 48, 44, 1], [1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1], [1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1], [1, 15, 18, 17, 17, 17, 21, 15, 15, 18, 17, 17, 17, 17, 21, 15, 15, 18, 17, 17, 17, 21, 15, 1], [1, 15, 16, 10, 22, 10, 16, 15, 15, 16, 10, 22, 22, 10, 16, 15, 15, 16, 10, 22, 10, 16, 15, 1], [1, 15, 20, 17, 17, 17, 19, 15, 15, 20, 17, 17, 17, 17, 19, 15, 15, 20, 17, 17, 17, 19, 15, 1], [1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1], [1, 15, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 15, 1], [1, 15, 9, 15, 15, 15, 15, 9, 15, 15, 15, 15, 15, 15, 15, 15, 9, 15, 15, 15, 15, 9, 15, 1], [1, 15, 9, 15, 9, 9, 15, 9, 15, 9, 9, 12, 12, 9, 9, 15, 9, 15, 9, 9, 15, 9, 15, 1], [1, 15, 9, 15, 15, 15, 15, 9, 15, 9, 9, 9, 9, 9, 9, 15, 9, 15, 15, 15, 15, 9, 15, 1], [1, 15, 9, 9, 9, 9, 9, 9, 15, 9, 9, 9, 9, 9, 9, 15, 9, 9, 9, 9, 9, 9, 15, 1], [1, 15, 9, 9, 15, 15, 15, 15, 15, 9, 9, 9, 9, 9, 9, 15, 15, 15, 15, 15, 9, 9, 15, 1], [1, 15, 9, 9, 15, 9, 9, 9, 12, 9, 9, 9, 9, 9, 9, 12, 9, 9, 9, 15, 9, 9, 15, 1], [1, 15, 9, 9, 15, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 15, 9, 9, 15, 1], [1, 15, 9, 9, 15, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 15, 9, 9, 15, 1], [1, 15, 15, 15, 15, 9, 9, 9, 9, 18, 17, 21, 18, 17, 21, 9, 9, 9, 9, 15, 15, 15, 15, 1], [1, 15, 9, 9, 12, 9, 9, 9, 9, 16, 10, 16, 16, 10, 16, 9, 9, 9, 9, 12, 9, 9, 15, 1], [1, 15, 9, 9, 9, 9, 9, 9, 9, 16, 22, 16, 16, 22, 16, 9, 9, 9, 9, 9, 9, 9, 15, 1], [1, 15, 9, 9, 9, 9, 9, 9, 9, 16, 10, 16, 16, 10, 16, 9, 9, 9, 9, 9, 9, 9, 15, 1], [1, 15, 9, 9, 9, 9, 9, 9, 9, 20, 17, 19, 20, 17, 19, 9, 9, 9, 9, 9, 9, 9, 15, 1], [1, 15, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 15, 1], [1, 1, 9, 9, 9, 9, 9, 9, 1, 1, 1, 1, 1, 1, 1, 1, 9, 23, 24, 23, 24, 9, 1, 1], [1, 6, 9, 9, 9, 9, 9, 9, 1, 4, 5, 5, 5, 5, 5, 5, 9, 25, 26, 25, 26, 22, 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]];
data21 = [27, 1, 18, 20, 19, 20, 4, 16, 8, 16, 15, 12, 11, 12, 12];
};
load_level21();
load_level22 = function () {
map22 = [[1, 41, 47, 47, 47, 47, 42, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 41, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 43, 48, 48, 48, 48, 44, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 43, 48, 48, 48, 48, 44, 1], [1, 1, 9, 9, 9, 9, 8, 9, 9, 9, 9, 16, 16, 9, 9, 9, 9, 8, 9, 9, 9, 9, 1, 1], [1, 1, 9, 18, 17, 21, 8, 9, 9, 9, 9, 16, 16, 9, 9, 9, 9, 8, 18, 17, 21, 9, 1, 1], [1, 1, 9, 16, 8, 8, 8, 8, 9, 8, 8, 16, 16, 8, 8, 9, 8, 8, 8, 8, 16, 9, 1, 1], [1, 1, 9, 20, 8, 19, 9, 9, 9, 9, 9, 16, 16, 9, 9, 9, 9, 9, 20, 8, 19, 9, 1, 1], [1, 1, 9, 9, 8, 9, 18, 17, 21, 9, 9, 16, 16, 9, 9, 18, 17, 21, 9, 8, 9, 9, 1, 1], [1, 1, 9, 9, 8, 9, 16, 8, 16, 9, 8, 16, 16, 8, 9, 16, 8, 16, 9, 8, 9, 9, 1, 1], [1, 1, 9, 9, 8, 9, 20, 17, 19, 9, 9, 20, 19, 9, 9, 20, 17, 19, 9, 8, 9, 9, 1, 1], [1, 1, 9, 9, 8, 9, 9, 9, 9, 18, 17, 21, 18, 17, 21, 9, 9, 9, 9, 8, 9, 9, 1, 1], [1, 1, 9, 9, 8, 9, 9, 8, 9, 16, 8, 8, 8, 8, 16, 9, 8, 9, 9, 8, 9, 9, 1, 1], [1, 1, 17, 17, 17, 17, 17, 17, 21, 20, 8, 19, 20, 8, 19, 18, 17, 17, 17, 17, 17, 17, 1, 1], [1, 1, 17, 17, 17, 17, 17, 17, 19, 18, 8, 21, 18, 8, 21, 20, 17, 17, 17, 17, 17, 17, 1, 1], [1, 1, 9, 9, 8, 9, 9, 8, 9, 16, 8, 8, 8, 8, 16, 9, 8, 9, 9, 8, 9, 9, 1, 1], [1, 1, 9, 9, 8, 9, 9, 9, 9, 20, 17, 19, 20, 17, 19, 9, 9, 9, 9, 8, 9, 9, 1, 1], [1, 1, 9, 9, 8, 9, 18, 17, 21, 9, 9, 18, 21, 9, 9, 18, 17, 21, 9, 8, 9, 9, 1, 1], [1, 1, 9, 9, 8, 9, 16, 8, 16, 9, 8, 16, 16, 8, 9, 16, 8, 16, 9, 8, 9, 9, 1, 1], [1, 1, 9, 9, 8, 9, 20, 17, 19, 9, 9, 16, 16, 9, 9, 20, 17, 19, 9, 8, 9, 9, 1, 1], [1, 1, 9, 18, 8, 21, 9, 9, 9, 9, 9, 16, 16, 9, 9, 9, 9, 9, 18, 8, 21, 9, 1, 1], [1, 1, 9, 16, 8, 8, 8, 8, 8, 8, 8, 16, 16, 8, 8, 8, 8, 8, 8, 8, 16, 9, 1, 1], [1, 1, 9, 20, 17, 19, 9, 9, 9, 9, 9, 16, 16, 9, 9, 9, 9, 9, 20, 17, 19, 9, 1, 1], [1, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 16, 16, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 1], [1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1], [1, 6, 15, 22, 9, 10, 9, 10, 9, 10, 9, 9, 9, 9, 10, 9, 10, 9, 10, 9, 22, 15, 4, 1], [1, 1, 1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
data22 = [26, 1, 7];
};
load_level22();
load_level23 = function () {
map23 = [[1, 41, 47, 47, 47, 47, 42, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 41, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 43, 48, 48, 48, 48, 44, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 43, 48, 48, 48, 48, 44, 1], [1, 9, 9, 9, 9, 9, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 8, 9, 9, 9, 9, 9, 1], [1, 6, 9, 9, 22, 18, 8, 17, 17, 17, 17, 21, 18, 17, 17, 17, 17, 8, 21, 22, 9, 9, 4, 1], [1, 1, 1, 1, 1, 1, 1, 9, 9, 9, 9, 16, 16, 9, 9, 9, 9, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 9, 10, 9, 10, 16, 16, 10, 9, 10, 9, 1, 1, 1, 1, 1, 1, 1], [1, 1, 7, 7, 7, 1, 1, 17, 17, 17, 17, 19, 20, 17, 17, 17, 17, 1, 1, 7, 7, 7, 1, 1], [1, 1, 7, 7, 7, 1, 1, 9, 10, 9, 10, 9, 9, 10, 9, 10, 9, 1, 1, 7, 7, 7, 1, 1], [1, 1, 1, 1, 1, 1, 1, 17, 17, 17, 21, 18, 21, 18, 17, 17, 17, 1, 1, 1, 1, 1, 1, 1], [1, 1, 7, 7, 7, 1, 1, 17, 17, 17, 19, 20, 19, 20, 17, 17, 17, 1, 1, 7, 7, 7, 1, 1], [1, 1, 7, 7, 7, 1, 1, 9, 10, 9, 10, 9, 9, 10, 9, 10, 9, 1, 1, 7, 7, 7, 1, 1], [1, 1, 1, 1, 1, 1, 1, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 1, 1, 1, 1, 1, 1], [1, 1, 7, 7, 7, 1, 1, 9, 10, 9, 10, 9, 9, 10, 9, 10, 9, 1, 1, 7, 7, 7, 1, 1], [1, 1, 7, 7, 7, 1, 1, 17, 17, 17, 17, 21, 18, 17, 17, 17, 17, 1, 1, 7, 7, 7, 1, 1], [1, 1, 1, 1, 1, 1, 1, 9, 10, 9, 10, 16, 16, 10, 9, 10, 9, 1, 1, 1, 1, 1, 1, 1], [1, 1, 7, 7, 7, 1, 1, 17, 17, 21, 9, 16, 16, 9, 18, 17, 17, 1, 1, 7, 7, 7, 1, 1], [1, 1, 7, 7, 7, 1, 1, 9, 9, 16, 9, 16, 16, 9, 16, 9, 9, 1, 1, 7, 7, 7, 1, 1], [1, 1, 1, 1, 1, 1, 1, 9, 10, 16, 10, 16, 16, 10, 16, 10, 9, 1, 1, 1, 1, 1, 1, 1], [1, 1, 7, 7, 7, 1, 1, 9, 9, 16, 9, 16, 16, 9, 16, 9, 9, 1, 1, 7, 7, 7, 1, 1], [1, 1, 7, 7, 7, 1, 1, 9, 10, 16, 10, 16, 16, 10, 16, 10, 9, 1, 1, 7, 7, 7, 1, 1], [1, 1, 1, 1, 1, 1, 1, 9, 9, 16, 9, 16, 16, 9, 16, 9, 9, 1, 1, 1, 1, 1, 1, 1], [1, 1, 7, 7, 7, 1, 1, 9, 10, 16, 10, 16, 16, 10, 16, 10, 9, 1, 1, 7, 7, 7, 1, 1], [1, 1, 7, 7, 7, 1, 1, 9, 9, 16, 9, 16, 16, 9, 16, 9, 9, 1, 1, 7, 7, 7, 1, 1], [1, 1, 1, 1, 1, 1, 1, 17, 17, 19, 9, 16, 16, 9, 20, 17, 17, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
data23 = [6, 1, 49];
};
load_level23();
load_level24 = function () {
map24 = [[1, 41, 47, 47, 47, 47, 42, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 41, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 43, 48, 48, 48, 48, 44, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 43, 48, 48, 48, 48, 44, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 12, 9, 9, 9, 9, 9, 13, 9, 18, 21, 9, 14, 9, 9, 9, 9, 9, 12, 9, 9, 1], [1, 9, 9, 9, 18, 17, 17, 17, 21, 9, 9, 16, 16, 9, 9, 18, 17, 17, 17, 21, 9, 9, 9, 1], [1, 9, 9, 9, 16, 10, 9, 10, 16, 9, 9, 16, 16, 9, 9, 16, 10, 9, 10, 16, 9, 9, 9, 1], [1, 9, 9, 9, 16, 9, 9, 9, 16, 9, 9, 16, 16, 9, 9, 16, 9, 9, 9, 16, 9, 9, 9, 1], [1, 9, 9, 9, 16, 10, 9, 10, 16, 9, 9, 16, 16, 9, 9, 16, 10, 9, 10, 16, 9, 9, 9, 1], [1, 9, 9, 9, 20, 17, 17, 17, 19, 9, 9, 16, 16, 9, 9, 20, 17, 17, 17, 19, 9, 9, 9, 1], [1, 9, 9, 14, 9, 9, 9, 9, 9, 31, 9, 16, 16, 9, 31, 9, 9, 9, 9, 9, 13, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 16, 16, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 30, 17, 17, 17, 17, 17, 29, 9, 16, 16, 9, 30, 17, 17, 17, 17, 17, 29, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 16, 16, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 12, 9, 9, 9, 9, 9, 13, 9, 16, 16, 9, 14, 9, 9, 9, 9, 9, 12, 9, 9, 1], [1, 9, 9, 9, 18, 17, 17, 17, 21, 9, 9, 16, 16, 9, 9, 18, 17, 17, 17, 21, 9, 9, 9, 1], [1, 9, 9, 9, 16, 10, 9, 10, 16, 9, 9, 16, 16, 9, 9, 16, 10, 9, 10, 16, 9, 9, 9, 1], [1, 9, 9, 9, 16, 9, 9, 9, 16, 9, 9, 16, 16, 9, 9, 16, 9, 9, 9, 16, 9, 9, 9, 1], [1, 9, 9, 9, 16, 10, 9, 10, 16, 9, 9, 16, 16, 9, 9, 16, 10, 9, 10, 16, 9, 9, 9, 1], [1, 9, 9, 9, 20, 17, 17, 17, 19, 9, 9, 16, 16, 9, 9, 20, 17, 17, 17, 19, 9, 9, 9, 1], [1, 9, 9, 14, 9, 9, 9, 9, 9, 31, 9, 20, 19, 9, 31, 9, 9, 9, 9, 9, 13, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 1, 1, 1, 1, 9, 9, 9, 23, 24, 23, 24, 9, 9, 9, 9, 23, 24, 1, 1, 1, 1, 1, 1], [1, 6, 9, 9, 9, 9, 9, 9, 25, 26, 25, 26, 22, 22, 9, 9, 25, 26, 5, 5, 5, 5, 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]];
data24 = [27, 1, 20, 10, 6, 10, 17, 20, 6, 20, 17];
};
load_level24();
load_level25 = function () {
map25 = [[1, 41, 47, 47, 47, 47, 42, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 41, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 43, 48, 48, 48, 48, 44, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 43, 48, 48, 48, 48, 44, 1], [1, 15, 9, 15, 9, 15, 9, 18, 17, 17, 12, 17, 17, 12, 17, 17, 21, 9, 15, 9, 15, 9, 15, 1], [1, 15, 9, 15, 9, 15, 9, 16, 10, 18, 21, 10, 10, 18, 21, 10, 16, 9, 15, 9, 15, 9, 15, 1], [1, 15, 9, 15, 9, 15, 9, 16, 10, 20, 19, 10, 10, 20, 19, 10, 16, 9, 15, 9, 15, 9, 15, 1], [1, 6, 9, 15, 9, 15, 9, 20, 17, 17, 17, 17, 17, 17, 17, 17, 19, 9, 15, 9, 15, 9, 15, 1], [1, 1, 1, 1, 1, 1, 1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 1, 1, 1, 1, 1, 1], [1, 7, 7, 7, 7, 7, 1, 14, 30, 17, 17, 13, 17, 17, 17, 29, 13, 1, 7, 7, 7, 7, 7, 1], [1, 7, 1, 1, 1, 1, 1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 1, 1, 1, 1, 7, 1], [1, 7, 1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 7, 1], [1, 7, 1, 1, 1, 1, 1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 1, 1, 1, 1, 7, 1], [1, 7, 7, 7, 7, 7, 1, 14, 30, 17, 17, 17, 14, 17, 17, 29, 13, 1, 7, 7, 7, 7, 7, 1], [1, 7, 1, 1, 1, 1, 1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 1, 1, 1, 1, 7, 1], [1, 7, 1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 7, 1], [1, 7, 1, 1, 1, 1, 1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 1, 1, 1, 1, 7, 1], [1, 7, 7, 7, 7, 7, 1, 14, 30, 17, 17, 13, 17, 17, 17, 29, 13, 1, 7, 7, 7, 7, 7, 1], [1, 7, 1, 1, 1, 1, 1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 1, 1, 1, 1, 7, 1], [1, 7, 1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 7, 1], [1, 7, 1, 1, 1, 1, 1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 1, 1, 1, 1, 7, 1], [1, 7, 7, 7, 7, 7, 1, 14, 30, 17, 17, 17, 14, 17, 17, 29, 13, 1, 7, 7, 7, 7, 7, 1], [1, 7, 1, 1, 1, 7, 1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 7, 1, 1, 1, 7, 1], [1, 7, 1, 15, 1, 7, 1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 7, 1, 15, 1, 7, 1], [1, 7, 1, 1, 1, 7, 1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 1, 7, 1, 1, 1, 7, 1], [1, 7, 7, 7, 7, 7, 1, 15, 1, 1, 31, 1, 1, 31, 1, 1, 1, 1, 7, 7, 7, 7, 7, 1], [1, 1, 1, 1, 1, 1, 1, 15, 15, 15, 5, 5, 5, 5, 5, 5, 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, 1, 1, 1, 1, 1]];
data25 = [8, 1, 12, 12, 3, 16, 3, 20, 3, 12, 20, 16, 20, 20, 20];
};
load_level25();
load_level26 = function () {
map26 = [[1, 41, 47, 47, 47, 47, 42, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 41, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 43, 48, 48, 48, 48, 44, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 43, 48, 48, 48, 48, 44, 1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 9, 9, 2, 9, 9, 10, 9, 9, 10, 9, 9, 2, 9, 15, 15, 9, 9, 2, 1], [1, 1, 9, 15, 15, 9, 9, 1, 9, 9, 15, 9, 15, 15, 9, 9, 1, 9, 15, 15, 9, 9, 1, 1], [1, 2, 9, 9, 15, 9, 9, 2, 9, 9, 15, 15, 15, 9, 9, 9, 2, 9, 9, 15, 9, 9, 2, 1], [1, 1, 9, 9, 15, 9, 9, 1, 9, 9, 9, 15, 15, 9, 9, 9, 1, 9, 9, 15, 9, 9, 1, 1], [1, 2, 9, 9, 15, 9, 9, 2, 9, 9, 9, 15, 9, 9, 9, 9, 2, 9, 9, 15, 9, 9, 2, 1], [1, 1, 9, 9, 15, 9, 9, 1, 9, 9, 10, 15, 9, 10, 9, 9, 1, 9, 9, 15, 9, 9, 1, 1], [1, 2, 9, 9, 9, 9, 9, 2, 9, 9, 9, 15, 9, 9, 9, 9, 2, 9, 9, 15, 9, 9, 2, 1], [1, 1, 9, 9, 11, 9, 9, 1, 9, 9, 9, 11, 11, 9, 9, 9, 1, 9, 9, 11, 9, 9, 1, 1], [1, 6, 22, 9, 9, 9, 9, 2, 9, 9, 9, 9, 9, 9, 9, 9, 2, 9, 9, 9, 9, 9, 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]];
data26 = [27, 1, 37, 7, 1, 27, 12, 27, 19];
};
load_level26();
load_level27 = function () {
map27 = [[1, 41, 47, 47, 47, 47, 42, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 41, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 43, 48, 48, 48, 48, 44, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 43, 48, 48, 48, 48, 44, 1], [1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 9, 9, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 9, 9, 9, 9, 1], [1, 9, 9, 12, 9, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 9, 13, 9, 9, 1], [1, 9, 9, 9, 9, 9, 9, 15, 15, 9, 9, 15, 15, 15, 15, 15, 15, 15, 15, 9, 9, 9, 9, 1], [1, 9, 18, 17, 21, 9, 9, 15, 15, 15, 15, 15, 15, 15, 15, 15, 9, 9, 9, 18, 17, 21, 9, 1], [1, 9, 16, 10, 16, 9, 14, 9, 15, 15, 15, 15, 15, 15, 15, 15, 9, 12, 9, 16, 10, 16, 9, 1], [1, 9, 16, 9, 16, 9, 9, 9, 15, 15, 15, 15, 15, 15, 15, 15, 9, 9, 9, 16, 9, 16, 9, 1], [1, 9, 16, 9, 20, 17, 17, 21, 9, 9, 15, 15, 15, 15, 9, 15, 15, 17, 17, 19, 9, 16, 9, 1], [1, 9, 16, 9, 9, 9, 9, 16, 9, 12, 9, 15, 15, 15, 13, 9, 15, 15, 9, 9, 9, 16, 9, 1], [1, 9, 16, 9, 9, 9, 9, 16, 9, 9, 9, 15, 15, 15, 9, 9, 16, 9, 9, 9, 9, 16, 9, 1], [1, 9, 16, 9, 9, 9, 9, 16, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 9, 9, 16, 9, 1], [1, 9, 15, 9, 9, 9, 15, 15, 15, 15, 15, 15, 15, 15, 15, 9, 15, 15, 15, 15, 15, 15, 9, 1], [1, 9, 16, 9, 9, 15, 15, 16, 9, 9, 9, 15, 15, 9, 9, 9, 16, 15, 15, 15, 9, 15, 15, 1], [1, 9, 16, 9, 9, 9, 9, 16, 9, 14, 9, 15, 15, 9, 31, 9, 16, 9, 9, 9, 9, 16, 15, 1], [1, 9, 16, 9, 18, 17, 17, 19, 9, 9, 9, 15, 15, 9, 9, 9, 20, 17, 17, 21, 9, 16, 9, 1], [1, 9, 16, 9, 16, 9, 9, 9, 15, 15, 15, 15, 15, 15, 15, 15, 9, 9, 9, 16, 9, 16, 9, 1], [1, 9, 16, 10, 16, 9, 31, 9, 15, 15, 15, 15, 15, 15, 15, 15, 9, 13, 9, 16, 10, 16, 9, 1], [1, 9, 20, 17, 19, 9, 9, 9, 9, 9, 15, 15, 15, 15, 15, 15, 15, 15, 9, 20, 17, 19, 9, 1], [1, 9, 9, 9, 9, 9, 9, 9, 15, 15, 15, 15, 15, 9, 15, 15, 15, 15, 15, 9, 9, 9, 9, 1], [1, 9, 9, 14, 9, 9, 9, 15, 15, 9, 9, 15, 15, 9, 9, 15, 15, 9, 9, 9, 31, 9, 9, 1], [1, 9, 9, 9, 9, 9, 15, 15, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1], [1, 9, 9, 15, 15, 9, 15, 9, 1, 1, 1, 1, 1, 1, 1, 1, 23, 24, 9, 9, 9, 9, 9, 1], [1, 6, 9, 9, 15, 15, 15, 9, 1, 4, 5, 5, 5, 5, 5, 5, 25, 26, 22, 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]];
data27 = [27, 1, 17, 16, 5, 15, 18, 9, 11, 22, 12, 15, 11, 16, 12];
};
load_level27();
load_level28 = function () {
map28 = [[1, 41, 47, 47, 47, 47, 42, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 41, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1,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_level29 = function () {
map29 = [[1, 41, 47, 47, 47, 47, 42, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 41, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 43, 48, 48, 48, 48, 44, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 43, 48, 48, 48, 48, 44, 1], [1, 1, 1, 1, 1, 1, 1, 4, 5, 17, 29, 6, 9, 9, 9, 5, 4, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 9, 9, 9, 9, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 18, 17, 21, 1, 1, 16, 10, 15, 10, 9, 9, 10, 15, 10, 16, 1, 1, 18, 17, 21, 1, 1], [1, 1, 16, 10, 28, 1, 1, 16, 15, 15, 3.1, 3.1, 3.1, 3.1, 9, 9, 16, 1, 1, 28, 10, 16, 1, 1], [1, 1, 20, 17, 21, 1, 1, 15, 15, 9, 1, 1, 1, 1, 9, 15, 16, 1, 1, 18, 17, 19, 1, 1], [1, 1, 9, 10, 16, 1, 1, 15, 15, 9, 3.2, 3.2, 3.2, 3.2, 9, 9, 16, 1, 1, 16, 10, 9, 1, 1], [1, 1, 18, 17, 19, 1, 1, 15, 17, 17, 17, 21, 18, 17, 17, 17, 19, 1, 1, 20, 17, 21, 1, 1], [1, 1, 16, 10, 15, 1, 1, 15, 10, 9, 10, 16, 15, 10, 9, 10, 9, 1, 1, 9, 10, 16, 1, 1], [1, 1, 20, 17, 21, 1, 1, 3.1, 3.1, 3.1, 3.1, 16, 16, 3.1, 3.1, 3.1, 3.1, 1, 1, 18, 17, 19, 1, 1], [1, 1, 9, 10, 16, 1, 1, 1, 1, 1, 1, 16, 16, 1, 1, 1, 1, 1, 1, 16, 10, 9, 1, 1], [1, 1, 18, 17, 19, 1, 1, 3.2, 3.2, 3.2, 3.2, 16, 15, 3.2, 3.2, 3.2, 3.2, 1, 1, 20, 17, 21, 1, 1], [1, 1, 16, 10, 15, 1, 1, 18, 17, 17, 17, 15, 15, 17, 17, 17, 21, 1, 1, 9, 10, 16, 1, 1], [1, 1, 20, 17, 21, 1, 1, 15, 10, 15, 10, 15, 15, 10, 9, 10, 16, 1, 1, 18, 17, 19, 1, 1], [1, 1, 15, 10, 16, 1, 1, 15, 15, 15, 3.1, 3.1, 3.1, 3.1, 9, 15, 16, 1, 1, 16, 10, 9, 1, 1], [1, 1, 18, 17, 19, 1, 1, 15, 15, 9, 1, 1, 1, 1, 9, 15, 16, 1, 1, 20, 17, 21, 1, 1], [1, 1, 16, 10, 15, 1, 1, 15, 9, 9, 3.2, 3.2, 3.2, 3.2, 15, 15, 16, 1, 1, 9, 10, 16, 1, 1], [1, 1, 20, 17, 21, 1, 1, 20, 17, 17, 17, 21, 18, 17, 17, 17, 19, 1, 1, 18, 17, 19, 1, 1], [1, 1, 9, 10, 16, 1, 1, 9, 10, 9, 10, 16, 16, 10, 9, 10, 9, 1, 1, 16, 10, 9, 1, 1], [1, 1, 18, 17, 19, 1, 1, 3.1, 3.1, 3.1, 3.1, 16, 15, 3.1, 3.1, 3.1, 3.1, 1, 1, 20, 17, 21, 1, 1], [1, 1, 16, 11, 27, 1, 1, 1, 1, 1, 1, 16, 16, 1, 1, 1, 1, 1, 1, 27, 11, 16, 1, 1], [1, 1, 16, 11, 16, 1, 1, 18, 17, 17, 17, 19, 20, 17, 17, 17, 21, 1, 1, 16, 11, 16, 1, 1], [1, 1, 20, 17, 19, 1, 1, 28, 9, 9, 9, 9, 9, 9, 9, 9, 28, 1, 1, 20, 17, 19, 1, 1], [1, 1, 1, 1, 1, 1, 1, 9, 9, 3.1, 3.1, 3.1, 3.1, 3.1, 3.1, 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]];
data29 = [5, 11, 20, 27, 7, 27, 16];
};
load_level29();
load_level30 = function () {
map30 = [[1, 41, 47, 47, 47, 47, 42, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 41, 47, 47, 47, 47, 42, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 46, 40, 40, 40, 40, 45, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 46, 40, 40, 40, 40, 45, 1], [1, 43, 48, 48, 48, 48, 44, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 43, 48, 48, 48, 48, 44, 1], [1, 6, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 5, 5, 9, 9, 4, 1], [1, 1, 1, 1, 1, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 1, 1, 1, 1, 1], [1, 7, 7, 7, 7, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 7, 7, 7, 7, 1], [1, 7, 7, 7, 7, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 7, 7, 7, 7, 1], [1, 1, 1, 1, 1, 1, 1, 9, 9, 18, 17, 17, 17, 17, 21, 9, 9, 1, 1, 1, 1, 1, 1, 1], [1, 9, 9, 9, 9, 5, 9, 9, 9, 16, 10, 9, 9, 10, 16, 9, 9, 9, 5, 9, 9, 9, 9, 1], [1, 1, 1, 1, 1, 1, 9, 9, 9, 16, 9, 9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 9, 9, 9, 1, 9, 9, 1, 3.2, 9, 9, 3.2, 3.2, 3.2, 9, 9, 3.2, 1, 9, 9, 1, 9, 10, 1], [1, 18, 21, 9, 3.2, 9, 9, 3.2, 9, 9, 9, 9, 9, 9, 9, 9, 9, 3.2, 9, 9, 3.2, 9, 9, 1], [1, 28, 20, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 21, 1], [1, 6, 9, 9, 3.1, 9, 9, 3.1, 3.1, 9, 9, 3.1, 3.1, 3.1, 9, 9, 3.1, 3.1, 9, 9, 3.1, 9, 16, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 16, 1], [1, 10, 9, 1, 3.2, 3.2, 9, 9, 1, 1, 9, 9, 3.2, 9, 9, 1, 1, 9, 9, 3.2, 3.2, 1, 16, 1], [1, 9, 9, 3.2, 18, 17, 21, 9, 3.2, 3.2, 9, 18, 17, 21, 9, 3.2, 3.2, 9, 18, 17, 21, 3.2, 16, 1], [1, 18, 17, 17, 19, 3.1, 20, 17, 17, 17, 17, 19, 3.1, 20, 17, 17, 17, 17, 19, 3.1, 20, 17, 19, 1], [1, 16, 9, 9, 3.1, 1, 9, 9, 3.1, 3.1, 9, 9, 1, 9, 9, 3.1, 3.1, 9, 9, 1, 3.1, 9, 9, 1], [1, 16, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 16, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 16, 3.3, 1, 3.4, 18, 17, 21, 3.3, 1, 3.4, 18, 17, 21, 3.3, 1, 3.4, 18, 17, 21, 9, 9, 10, 1], [1, 20, 21, 3.2, 18, 19, 3.1, 20, 21, 3.2, 18, 19, 3.1, 20, 21, 3.2, 18, 19, 3.1, 20, 17, 17, 21, 1], [1, 9, 20, 17, 19, 3.3, 1, 3.4, 20, 17, 19, 3.3, 1, 3.4, 20, 17, 19, 3.3, 1, 3.4, 9, 9, 16, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 16, 1], [1, 10, 9, 3.2, 9, 9, 9, 3.2, 9, 9, 3.2, 9, 3.2, 18, 21, 1, 7, 7, 7, 7, 1, 9, 16, 1], [1, 9, 9, 9, 18, 17, 21, 9, 18, 17, 17, 17, 17, 19, 28, 1, 7, 1, 1, 7, 1, 9, 16, 1], [1, 9, 18, 17, 19, 3.1, 20, 17, 19, 3.1, 9, 3.1, 9, 3.1, 4, 1, 7, 1, 1, 1, 1, 9, 16, 1], [1, 9, 16, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 7, 7, 1, 1, 3.4, 9, 16, 1], [1, 1, 16, 9, 9, 9, 9, 1, 1, 1, 3.2, 3.2, 3.2, 1, 1, 7, 7, 1, 1, 3.4, 9, 18, 19, 1], [1, 1, 20, 17, 17, 17, 21, 3.2, 1, 3.2, 18, 17, 21, 3.2, 1, 1, 1, 1, 3.4, 9, 18, 19, 3.1, 1], [1, 1, 1, 1, 1, 3.4, 20, 21, 3.2, 18, 19, 3.1, 20, 21, 3.2, 1, 1, 3.4, 9, 18, 19, 3.1, 1, 1], [1, 7, 1, 7, 1, 1, 3.4, 20, 17, 19, 3.1, 1, 3.1, 20, 17, 17, 17, 17, 17, 19, 3.1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]];
data32 = [8, 1, 0];
};
load_level32();
load_level33 = function () {
map33 = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7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 15, 15, 9, 1], [1, 9, 9, 31, 9, 15, 15, 9, 15, 15, 9, 9, 15, 15, 7, 13, 14, 9, 7, 9, 15, 15, 9, 1], [1, 9, 9, 9, 9, 15, 15, 9, 31, 15, 9, 7, 15, 15, 15, 9, 9, 13, 12, 9, 7, 15, 9, 1], [1, 9, 9, 9, 9, 15, 15, 9, 9, 15, 9, 15, 15, 15, 15, 9, 9, 9, 9, 9, 15, 15, 9, 1], [14, 9, 9, 9, 9, 15, 15, 9, 9, 15, 7, 15, 15, 15, 15, 9, 10, 9, 10, 9, 15, 15, 9, 1], [1, 9, 9, 9, 9, 15, 15, 9, 9, 15, 15, 15, 15, 15, 15, 9, 9, 22, 9, 9, 15, 15, 9, 1], [1, 9, 9, 9, 9, 15, 15, 9, 9, 15, 15, 15, 15, 15, 15, 9, 10, 9, 10, 9, 7, 15, 9, 13], [1, 9, 9, 9, 9, 15, 15, 9, 7, 15, 15, 15, 15, 15, 15, 9, 9, 9, 9, 9, 15, 15, 9, 1], [1, 9, 9, 9, 9, 15, 14, 9, 15, 15, 7, 15, 13, 7, 7, 9, 7, 9, 13, 9, 15, 15, 9, 1], [14, 9, 7, 7, 7, 15, 9, 9, 15, 15, 15, 15, 9, 15, 15, 9, 15, 9, 7, 9, 13, 15, 9, 1], [1, 9, 15, 15, 15, 15, 9, 9, 15, 1, 7, 7, 9, 15, 15, 9, 15, 9, 15, 9, 9, 15, 9, 1], [1, 1, 31, 15, 15, 7, 7, 9, 7, 14, 23, 24, 7, 7, 15, 9, 15, 9, 7, 9, 9, 15, 5, 1], [1, 9, 5, 15, 15, 15, 15, 7, 15, 14, 25, 26, 22, 22, 7, 7, 15, 9, 7, 9, 9, 1, 4, 1], [1, 1, 1, 1, 1, 1, 31, 31, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 31, 1, 1, 1, 1, 1]];
data33 = [9, 1, 0, 27, 1, 21, 16];
};
load_level33();
var keys = 0;
Frame 139
function create_blocks() {
blocks = 0;
_root.music.setVolume(normal_volume);
if ((_root["data" + mn][2] - blocks) != 0) {
if (next_block != 2) {
_root.attachMovie("block", "b", _root.getNextHighestDepth(), {_x:sW / 2, _y:tile_size});
blocks++;
} else {
_root.attachMovie("block", "b", _root.getNextHighestDepth(), {_x:sW / 2, _y:tile_size * 2});
blocks++;
}
}
}
function placePlayer(x_pos, y_pos) {
MFZ.removeMovieClip();
_root.attachMovie("player", "player", _root.getNextHighestDepth(), {_x:(_root["data" + mn][1] * tile_size) + (tile_size / 2), _y:(_root["data" + mn][0] * tile_size) + (tile_size / 2)});
player.gotoAndStop("born");
_root.music.setVolume(low_volume);
pX = player._x;
pY = player._y;
pW = player.hit._width;
pH = player.hit._height;
vy = (vx = 0);
once = 0;
timer = 19;
con[(("t_" + _root["data" + mn][0]) + "_") + _root["data" + mn][1]].gotoAndStop(9);
i = 0;
while (i < _root["map" + mn].length) {
j = 0;
while (j < _root["map" + mn][0].length) {
if (_root["map" + mn][i][j] == 2) {
con[(("t_" + i) + "_") + j].gotoAndStop(1);
}
if (_root["map" + mn][i][j] == 8) {
con[(("t_" + i) + "_") + j].mc.gotoAndStop(2);
}
j++;
}
i++;
}
i = 0;
while (i < 5) {
j = 1;
while (j < (_root["map" + mn][0].length - 1)) {
if (_root["map" + mn][i][j] == 9) {
_root["map" + mn][i][j] = 1;
con[(("t_" + i) + "_") + j].gotoAndStop(_root["map" + mn][i][j]);
}
j++;
}
i++;
}
ib.gotoAndStop(2);
_root.player.onEnterFrame = function () {
wait();
if (!pause) {
this._x = Math.round(pX);
this._y = Math.round(pY);
vx = vx * fri;
vy = vy + gra;
}
if (Key.isDown(65) or (Key.isDown(37) && (!pause))) {
vx = vx - speed;
}
if (Key.isDown(68) or (Key.isDown(39) && (!pause))) {
vx = vx + speed;
}
if (Key.isDown(38) or Key.isDown(87)) {
jump_timer--;
hit = true;
if (((((jump_timer < 0) && (vy > -10)) && (jumps == 1)) && (vy < -1)) && (jumps == 1)) {
if (vy > -3.8) {
vy = vy - 1.1;
} else {
jumps = 2;
}
}
}
if (vy > 8) {
vy = 8;
}
if (vy > 0) {
on_ground = false;
jumps = 2;
hit = true;
}
};
}
function collision() {
pY = pY + vy;
corners();
if (vy > 0) {
if (solid_tile(br) or solid_tile(bl)) {
pY = (bottom * tile_size) - (pH / 2);
if (hit && (vy > 4.6)) {
_root[("step" + (random(2) + 1)) + "_sfx"].start(0, 0);
}
hit = false;
vy = 0;
on_ground = true;
jumps = 0;
if ((vx < 0.5) && (vx > -0.5)) {
if (player.a) {
if ((player.a._currentframe == (player.a._totalframes - 1)) or (player.a._currentframe == ((player.a._totalframes / 2) - 1))) {
player.gotoAndStop("idle");
}
} else {
player.gotoAndStop("idle");
}
}
}
}
if (vy < 0) {
if (solid_tile(tr) or solid_tile(tl)) {
pY = (bottom * tile_size) + (pH / 2);
vy = vy + 1;
}
}
pX = pX + vx;
corners();
if (vx < 0) {
if (solid_tile(tl) or solid_tile(bl)) {
pX = ((left + 1) * tile_size) + (pW / 2);
vx = 0;
}
}
if (vx > 0) {
if (solid_tile(tr) or solid_tile(br)) {
pX = (right * tile_size) - (pW / 2);
vx = 0;
}
}
if (((((Math.floor(dbr) == 3) or (Math.floor(dbl) == 3)) or (Math.floor(dtl) == 3)) or (Math.floor(dtr) == 3)) or (pY > 500)) {
vy = 0;
vx = 0;
player.gotoAndStop("dead");
}
if ((((dbr == 4) or (dbl == 4)) or (dtl == 4)) or (dtr == 4)) {
if (on_ground && (vy == 0)) {
vy = 0;
vx = 0;
player.gotoAndStop("WIN");
if (((mn == 3) && (!use_tetris)) && (!b)) {
a = _root.attachMovie("achieve", "ach", _root.getNextHighestDepth(), {_x:(sW / 2) - 80, _y:0});
a.ach_name.text = "Play with Achievements @\nwww.MoFunZone.com";
use_tetris = true;
}
if (((mn == 10) && (!beginner)) && (!b)) {
a = _root.attachMovie("achieve", "ach", _root.getNextHighestDepth(), {_x:(sW / 2) - 80, _y:0});
a.ach_name.text = "Play with Achievements @\nwww.MoFunZone.com";
beginner = true;
}
if (((mn == 20) && (!intermediate)) && (!b)) {
a = _root.attachMovie("achieve", "ach", _root.getNextHighestDepth(), {_x:(sW / 2) - 80, _y:0});
a.ach_name.text = "Play with Achievements @\nwww.MoFunZone.com";
intermediate = true;
}
if (((mn == 30) && (!expert)) && (!b)) {
a = _root.attachMovie("achieve", "ach", _root.getNextHighestDepth(), {_x:(sW / 2) - 80, _y:0});
a.ach_name.text = "Play with Achievements @\nwww.MoFunZone.com";
expert = true;
}
if (((mn == 31) && (!bonus1)) && (!b)) {
a = _root.attachMovie("achieve", "ach", _root.getNextHighestDepth(), {_x:(sW / 2) - 80, _y:0});
a.ach_name.text = "Play with Achievements @\nwww.MoFunZone.com";
bonus1 = true;
}
if (((mn == 32) && (!bonus2)) && (!b)) {
a = _root.attachMovie("achieve", "ach", _root.getNextHighestDepth(), {_x:(sW / 2) - 80, _y:0});
a.ach_name.text = "Play with Achievements @\nwww.MoFunZone.com";
bonus2 = true;
}
if (((mn == 33) && (!bonus3)) && (!b)) {
a = _root.attachMovie("achieve", "ach", _root.getNextHighestDepth(), {_x:(sW / 2) - 80, _y:0});
a.ach_name.text = "Play with Achievements @\nwww.MoFunZone.com";
bonus3 = true;
}
}
}
}
function update_screen() {
create_map(_root["map" + mn]);
create_blocks();
}
function corners() {
right = Math.floor(((pX + (pW / 2)) - 0.1) / tile_size);
bottom = Math.floor(((pY + (pH / 2)) - 0.1) / tile_size);
left = Math.floor((pX - ((pW / 2) - 0.1)) / tile_size);
top = Math.floor(((pY - (pW / 2)) - 2) / tile_size);
bl = _root["map" + mn][bottom][left];
br = _root["map" + mn][bottom][right];
tl = _root["map" + mn][top][left];
tr = _root["map" + mn][top][right];
dbl = _root["map" + mn][Math.floor(pY / tile_size)][Math.floor((pX - (pW / 5)) / tile_size)];
dbr = _root["map" + mn][Math.floor(pY / tile_size)][Math.floor((pX + (pW / 5)) / tile_size)];
dtl = _root["map" + mn][Math.floor(pY / tile_size)][Math.floor((pX - (pW / 5)) / tile_size)];
dtr = _root["map" + mn][Math.floor(pY / tile_size)][Math.floor((pX + (pW / 5)) / tile_size)];
}
function solid_tile(tile) {
solid = false;
s = 0;
while (s < solid_tiles.length) {
if (Math.floor(tile) == solid_tiles[s]) {
solid = true;
}
s++;
}
return(solid);
}
function footsteps() {
if (!pause) {
if ((player._currentframe == 6) or (player._currentframe == 14)) {
if (step == 1) {
step = 2;
} else {
step = 1;
}
_root[("step" + step) + "_sfx"].start(0, 0);
}
}
}
function animation_control() {
if (vy == 0) {
if ((vx < 0.5) && (vx > -0.5)) {
if ((player.a._currentframe == (player.a._totalframes - 1)) or (player.a._currentframe == ((player.a._totalframes / 2) - 1))) {
player.gotoAndStop("idle");
}
} else {
if (vx >= 0.5) {
player.gotoAndStop("run_right");
}
if (vx <= -0.5) {
player.gotoAndStop("run_left");
}
}
} else if ((vx < 0.5) && (vx > -0.5)) {
if (vy < 0) {
player.gotoAndStop("jumping");
} else if (vy > 0) {
player.gotoAndStop("falling");
}
} else if (vy < 0) {
if (vx >= 0.5) {
player.gotoAndStop("jump_right");
}
if (vx <= -0.5) {
player.gotoAndStop("jump_left");
}
} else {
if (vx >= 0.5) {
player.gotoAndStop("fall_right");
}
if (vx <= -0.5) {
player.gotoAndStop("fall_left");
}
}
}
function wait() {
if (once == 0) {
pause = true;
if (timer <= 0) {
pause = false;
once = 1;
}
}
}
_root.step1_sfx = new Sound();
_root.step1_sfx.attachSound("step1_sfx");
_root.step2_sfx = new Sound();
_root.step2_sfx.attachSound("step2_sfx");
_root.hurt_sfx = new Sound();
_root.hurt_sfx.attachSound("hurt_sfx");
_root.win_sfx = new Sound();
_root.win_sfx.attachSound("win_sfx");
_root.crumble_sfx = new Sound();
_root.crumble_sfx.attachSound("crumble_sfx");
beatenLevels = SharedObject.getLocal("beaten");
var vy = 0;
var vx = 0;
var gra = 0.45;
var fri = 0.7;
var jump = -4.2;
var jumps = 0;
var jump_timer = 2;
var pX = 0;
var pY = 0;
var hold = false;
var speed = 1.1;
var on_ground = false;
KeyListener = new Object();
KeyListener.onKeyDown = function () {
if ((Key.getCode() == 38) or (Key.getCode() == 87)) {
if (jumps == 0) {
vy = jump;
on_ground = false;
jumps = 1;
}
}
};
KeyListener.onKeyUp = function () {
if ((Key.getCode() == 38) or (Key.getCode() == 87)) {
jump_timer = 2;
}
};
Key.addListener(KeyListener);
var hit = false;
solid_tiles = [1, 2, 5, 7, 12, 13, 14, 31, 43, 44, 48];
var step = 1;
setInterval(footsteps, 175);
var once = 0;
var timer = 19;
Frame 147
stop();
if (beatenLevels.data.levelReached == undefined) {
beatenLevels.data.levelReached = 1;
}
blocks = undefined;
stopAllSounds();
player.removeMovieClip();
_root.createEmptyMovieClip("btn_con", 1);
var total_maps = 33;
bg.removeMovieClip();
y = 0;
while (y < 30) {
x = 0;
while (x < 24) {
btn_con.attachMovie("tile", (("bg" + y) + "_") + x, btn_con.getNextHighestDepth(), {_x:x * 16, _y:y * 16});
btn_con[(("bg" + y) + "_") + x].gotoAndStop(menuArray[y][x]);
x++;
}
y++;
}
btn_con.attachMovie("MFZ_MENU", "MFZ", btn_con.getNextHighestDepth(), {_x:82, _y:301});
btn_con.attachMovie("screen_bg", "scrbg", btn_con.getNextHighestDepth(), {_x:25, _y:41});
btn_con.scrbg.header.text = "* LEVEL SELECT *";
btn_con.scrbg.bonus.text = "Bonus levels:";
y = 0;
while (y < 3) {
i = 1;
while (i <= 10) {
btn_con.attachMovie("level_sel", (("ls" + i) + "_") + y, btn_con.getNextHighestDepth(), {_x:((tile_size * 2) * i) + 6, _y:(y * 34) + 80});
if (beatenLevels.data.levelReached >= (i + (y * 10))) {
btn_con[(("ls" + i) + "_") + y].gotoAndStop(2);
}
btn_con[(("ls" + i) + "_") + y].txt.text = i + (10 * y);
btn_con[(("ls" + i) + "_") + y].btn.onRelease = function () {
_root.attachMovie("fade", "fade", _root.getNextHighestDepth());
_root.fade.gotoAndPlay("fadeout");
mn = this._parent.txt.text;
btn_con.removeMovieClip();
bg.removeMovieClip();
gotoAndStop ("main");
};
i++;
}
y++;
}
i = 0;
while (i < 3) {
btn_con.attachMovie("level_sel", "ls_b" + i, btn_con.getNextHighestDepth(), {_x:(((tile_size * 2) * i) + 6) + 128, _y:182});
btn_con["ls_b" + i].gotoAndStop(1);
if (beatenLevels.data.levelReached >= (i + 30)) {
btn_con["ls_b" + i].gotoAndStop(2);
}
btn_con["ls_b" + i].txt.text = (i + 1) + 30;
btn_con["ls_b" + i].btn.onRelease = function () {
mn = this._parent.txt.text;
btn_con.removeMovieClip();
bg.removeMovieClip();
_root.attachMovie("fade", "fade", _root.getNextHighestDepth());
fade.gotoAndPlay("fadeout");
gotoAndStop ("main");
};
i++;
}
btn_con.attachMovie("tv_thing2", "tv", btn_con.getNextHighestDepth(), {_x:21, _y:40, _width:334});
Frame 157
stop();
var sW = 384;
var sH = 464;
var next_block = random(7);
var blocks = 0;
var pause = false;
create_map(_root["map" + mn]);
create_blocks();
var prev_volume = 0;
var global_volume = 40;
var normal_volume = 80;
var low_volume = 20;
_root.music = new Sound(theme);
_root.music.attachSound("music");
_root.music.start(0, 9999);
_root.music.setVolume(low_volume);
if (mute == undefined) {
var mute = 0;
_root.step1_sfx.setVolume(global_volume);
} else {
var mute = mute;
}
_root.onEnterFrame = function () {
timer--;
if (!pause) {
collision();
animation_control();
}
if ((!b) && (blocks < _root["data" + mn][2])) {
if (next_block != 2) {
_root.attachMovie("block", "b", _root.getNextHighestDepth(), {_x:sW / 2, _y:tile_size});
blocks++;
} else {
_root.attachMovie("block", "b", _root.getNextHighestDepth(), {_x:sW / 2, _y:tile_size * 2});
blocks++;
}
}
if (((!b) && (!player)) && (_root["data" + mn][2] == blocks)) {
placePlayer();
}
if (beatenLevels.data.levelReached < mn) {
beatenLevels.data.levelReached = mn;
}
ib.bleft.text = _root["data" + mn][2] - blocks;
};
KeyListener2 = new Object();
KeyListener2.onKeyUp = function () {
if (Key.getCode() == 80) {
if (!pause) {
prev_volume = music.getVolume();
music.setVolume(low_volume);
pause = true;
_root.attachMovie("pause_menu", "pause_menu", _root.getNextHighestDepth(), {_x:112, _y:0});
} else if (pause) {
pause_menu.play();
music.setVolume(prev_volume);
}
}
if ((Key.getCode() == 82) && (!pause)) {
if (b) {
blocks = 0;
b.remove();
}
if (player) {
vy = 0;
vx = 0;
player.gotoAndStop("dead");
} else {
_root["load_level" + mn]();
update_screen();
}
}
if (Key.getCode() == 27) {
MFZ.removeMovieClip();
if (b) {
blocks = _root["data" + mn][2] + 1;
b.remove();
}
if (pause_menu) {
pause_menu.removeMovieClip();
}
laser_con.removeMovieClip();
key_con.removeMovieClip();
keys = 0;
ib.removeMovieClip();
tut.removeMovieClip();
i = 1;
while (i < total_levels) {
_root["load_level" + i]();
i++;
}
player.removeMovieClip();
Key.removeListener(KeyListener2);
gotoAndStop ("level select");
}
if (Key.getCode() == 77) {
if (mute == 0) {
step1_sfx.setVolume(0);
mute = 1;
} else {
step1_sfx.setVolume(global_volume);
mute = 0;
}
ib.mute_btn.gotoAndStop(mute + 1);
}
};
Key.addListener(KeyListener2);
Symbol 5 MovieClip [fade] Frame 25
stop();
this.onEnterFrame = function () {
if (_root.load_bar) {
_root.load_bar.swapDepths(2);
_root.load_bar.removeMovieClip();
}
if (_root._currentframe == 1) {
_root.play();
}
this.removeMovieClip();
};
Symbol 5 MovieClip [fade] Frame 43
stop();
this.onEnterFrame = function () {
this.removeMovieClip();
};
Symbol 31 MovieClip Frame 11
_parent.gotoAndStop(2);
Symbol 41 MovieClip Frame 1
this.onEnterFrame = function () {
bytesloaded = Math.round(_root.getBytesLoaded());
bytestotal = Math.round(_root.getBytesTotal());
percent = bytesloaded / bytestotal;
barmask._xscale = percent * 100;
};
Symbol 73 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 73 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 84 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 84 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 92 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 92 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 100 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 100 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 108 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 108 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 116 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 116 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 124 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 124 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 132 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 132 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 139 MovieClip Frame 133
_root.play();
Symbol 140 MovieClip Frame 1
stop();
_root.stop();
shiftamt = 17;
isloaded = false;
this.onEnterFrame = function () {
bytesloaded = Math.round(_root.getBytesLoaded());
bytestotal = Math.round(_root.getBytesTotal());
percent = bytesloaded / bytestotal;
if (bytesloaded == bytestotal) {
isloaded = true;
}
};
this.onRelease = function () {
getURL ("http://www.mofunzone.com/", "_blank");
};
Symbol 388 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 389 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 390 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 391 MovieClip [__Packages.mx.transitions.easing.Regular] Frame 0
class mx.transitions.easing.Regular
{
function Regular () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return(((c * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = t / d;
return((((-c) * t) * (t - 2)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((c / 2) * t) * t) + b);
}
t--;
return((((-c) / 2) * ((t * (t - 2)) - 1)) + b);
}
static var version = "1.1.0.52";
}
Symbol 142 MovieClip [block] Frame 1
function create_block(block_type) {
if (this.con) {
this.con.removeMovieClip();
}
this.createEmptyMovieClip("con", 0);
i = 1;
while (i < block_type.length) {
tb = this.con.attachMovie("bs", "b", this.con.getNextHighestDepth(), {_x:block_type[i][1] * _root.tile_size, _y:block_type[i][0] * _root.tile_size});
i++;
}
}
function bcollision(y_inc, x_inc, block) {
var _local4 = false;
var _local5 = this[str + intr];
i = 0;
while (i <= (_local5.length - 1)) {
if (in_array(_root["map" + _root.mn][((_y + (block[i][0] * _root.tile_size)) / _root.tile_size) + y_inc][((_x + (block[i][1] * _root.tile_size)) / _root.tile_size) + x_inc], solid_tiles)) {
_local4 = true;
break;
}
i++;
}
return(_local4);
}
function remove() {
Key.removeListener(KeyListener);
this.removeMovieClip();
}
function in_array(tile, array) {
solid = false;
s = 0;
while (s < array.length) {
if (Math.floor(tile) == array[s]) {
solid = true;
}
s++;
}
return(solid);
}
stop();
if ((!_root.MFZ) && (_root._currentframe > 10)) {
_root.attachMovie("MFZ_Menu2", "MFZ", _root.getNextHighestDepth(), {_x:168, _y:16});
}
if (_root.blocks < 2) {
this.swapDepths(_root.MFZ);
}
var coll_sfx = new Sound();
coll_sfx.attachSound("coll_sfx");
var move_sfx = new Sound();
move_sfx.attachSound("move_sfx");
var rotate_sfx = new Sound();
rotate_sfx.attachSound("rotate_sfx");
if (_root.music.getVolume() < _root.normal_volume) {
_root.music.setVolume(_root.normal_volume);
}
blocks = ["s", "i", "t", "o", "z", "l", "j", 52275, 13369344, 7748609, 255, 39321, 13369599, 14540253];
var str = blocks[_root.next_block];
var col = (blocks.getIndex(str) + (blocks.length / 2));
_root.next_block = random(7);
_root.ib.next_mc.gotoAndStop(_root.next_block + 1);
var color = new Color("_root.b");
color.setRGB(blocks[col]);
var intr = 1;
var y = (Math.floor(this._y / _root.tile_size) * _root.tile_size);
var x = (Math.floor(this._x / _root.tile_size) * _root.tile_size);
var yspeed = 0.5;
var xspeed = 4;
var hold = false;
var s_max = 2;
s1 = new Array();
s1[0] = [0, 0];
s1[1] = [0, 1];
s1[2] = [1, 0];
s1[3] = [1, -1];
s2 = new Array();
s2[0] = [0, 0];
s2[1] = [-1, 0];
s2[2] = [0, 1];
s2[3] = [1, 1];
var i_max = 2;
i1 = new Array();
i1[0] = [0, 0];
i1[1] = [0, -1];
i1[2] = [0, 1];
i1[3] = [0, 2];
i2 = new Array();
i2[0] = [0, 0];
i2[1] = [-1, 0];
i2[2] = [1, 0];
i2[3] = [2, 0];
var t_max = 4;
t1 = new Array();
t1[0] = [0, 0];
t1[1] = [-1, 0];
t1[2] = [0, 1];
t1[3] = [0, -1];
t4 = new Array();
t4[0] = [0, 0];
t4[1] = [-1, 0];
t4[2] = [0, 1];
t4[3] = [1, 0];
t3 = new Array();
t3[0] = [0, 0];
t3[1] = [1, 0];
t3[2] = [0, 1];
t3[3] = [0, -1];
t2 = new Array();
t2[0] = [0, 0];
t2[1] = [-1, 0];
t2[2] = [0, -1];
t2[3] = [1, 0];
var o_max = 1;
o1 = new Array();
o1[0] = [0, 0];
o1[1] = [0, 1];
o1[2] = [1, 0];
o1[3] = [1, 1];
var z_max = 2;
z1 = new Array();
z1[0] = [0, 0];
z1[1] = [0, -1];
z1[2] = [1, 0];
z1[3] = [1, 1];
z2 = new Array();
z2[0] = [0, 0];
z2[1] = [-1, 0];
z2[2] = [0, -1];
z2[3] = [1, -1];
var l_max = 4;
l1 = new Array();
l1[0] = [0, 0];
l1[1] = [0, 1];
l1[2] = [0, -1];
l1[3] = [1, -1];
l2 = new Array();
l2[0] = [0, 0];
l2[1] = [-1, 0];
l2[2] = [1, 0];
l2[3] = [1, 1];
l3 = new Array();
l3[0] = [0, 0];
l3[1] = [0, -1];
l3[2] = [0, 1];
l3[3] = [-1, 1];
l4 = new Array();
l4[0] = [0, 0];
l4[1] = [1, 0];
l4[2] = [-1, 0];
l4[3] = [-1, -1];
var j_max = 4;
j1 = new Array();
j1[0] = [0, 0];
j1[1] = [0, -1];
j1[2] = [0, 1];
j1[3] = [1, 1];
j2 = new Array();
j2[0] = [0, 0];
j2[1] = [1, 0];
j2[2] = [-1, 0];
j2[3] = [-1, 1];
j3 = new Array();
j3[0] = [0, 0];
j3[1] = [0, 1];
j3[2] = [0, -1];
j3[3] = [-1, -1];
j4 = new Array();
j4[0] = [0, 0];
j4[1] = [-1, 0];
j4[2] = [1, 0];
j4[3] = [1, -1];
create_block(this[str + intr]);
this.onEnterFrame = function () {
var _local3 = this[str + intr];
if (!_root.pause) {
y = y + yspeed;
}
this._y = Math.floor(y / _root.tile_size) * _root.tile_size;
this._x = Math.floor(x / _root.tile_size) * _root.tile_size;
if (bcollision(0, 0, _local3)) {
i = 0;
while (i < _local3.length) {
if (!in_array(Math.round(_root["map" + _root.mn][((_y + (_local3[i][0] * _root.tile_size)) / _root.tile_size) - 1][(_x + (_local3[i][1] * _root.tile_size)) / _root.tile_size]), inv_tiles)) {
_root["map" + _root.mn][((_y + (_local3[i][0] * _root.tile_size)) / _root.tile_size) - 1][(_x + (_local3[i][1] * _root.tile_size)) / _root.tile_size] = 1;
}
if (i == (_local3.length - 1)) {
coll_sfx.start(0, 0);
_root.create_map(_root["map" + _root.mn]);
Key.removeListener(KeyListener);
this.removeMovieClip();
}
i++;
}
}
if ((this._y - (this._height / 2)) > _root.sH) {
remove();
}
};
KeyListener = new Object();
KeyListener.onKeyDown = function () {
if (!_root.pause) {
if (((Key.getCode() == 37) && (!bcollision(0, -1, _root.b[str + intr]))) or ((Key.getCode() == 65) && (!bcollision(0, -1, _root.b[str + intr])))) {
if (hold) {
x = x - xspeed;
} else {
x = x - (xspeed * 4);
move_sfx.start(0, 0);
}
hold = true;
} else if (((Key.getCode() == 39) && (!bcollision(0, 1, _root.b[str + intr]))) or ((Key.getCode() == 68) && (!bcollision(0, 1, _root.b[str + intr])))) {
if (hold) {
x = x + xspeed;
} else {
x = x + (xspeed * 4);
move_sfx.start(0, 0);
}
hold = true;
}
if ((Key.getCode() == 40) or (Key.getCode() == 83)) {
yspeed = _root.tile_size / 2;
}
}
};
KeyListener.onKeyUp = function () {
if (!_root.pause) {
if ((((Key.getCode() == 37) or (Key.getCode() == 39)) or (Key.getCode() == 65)) or (Key.getCode() == 68)) {
hold = false;
}
if ((Key.getCode() == 40) or (Key.getCode() == 83)) {
yspeed = 0.5;
}
if ((Key.getCode() == 38) or (Key.getCode() == 87)) {
if (intr < _root.b[str + "_max"]) {
if (!bcollision(0, 0, _root.b[str + (intr + 1)])) {
intr++;
rotate_sfx.start(0, 0);
}
} else if ((!bcollision(0, 0, _root.b[str + 1])) && (!bcollision(0, 0, _root.b[str + 1]))) {
intr = 1;
rotate_sfx.start(0, 0);
}
create_block(_root.b[str + intr]);
}
}
};
Key.addListener(KeyListener);
solid_tiles = [1, 5, 7, 8, 12, 13, 14, 31, 41, 42, 43, 44, 45, 46, 47, 48];
inv_tiles = [3, 4, 6];
Array.prototype.getIndex = function (data) {
i = 0;
while (i < this.length) {
if (this[i] == data) {
return(i);
}
i++;
}
return(-1);
};
Symbol 149 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 3
_root.crumble_sfx.start(0, 0);
Symbol 160 MovieClip Frame 9
_root["map" + _root.mn][this._parent._y / 16][this._parent._x / 16] = 0;
i = 0;
while (i < _root["map" + _root.mn].length) {
j = 0;
while (j < _root["map" + _root.mn][0].length) {
if ((((_root["map" + _root.mn][i][j] == 12) or (_root["map" + _root.mn][i][j] == 13)) or (_root["map" + _root.mn][i][j] == 14)) or (_root["map" + _root.mn][i][j] == 31)) {
_root.con[(("t_" + i) + "_") + j].mc.update_laser();
}
j++;
}
i++;
}
Symbol 160 MovieClip Frame 13
stop();
this._parent.gotoAndStop(15);
Symbol 163 MovieClip Frame 1
stop();
Symbol 167 MovieClip Frame 1
stop();
update_laser = function () {
beam = _root.laser_con["beam" + this._parent._name];
while (!_root.solid_tile(_root["map" + _root.mn][Math.floor(((this._parent._y + beam._height) + 16) / _root.tile_size)][this._parent._x / _root.tile_size])) {
beam._height = beam._height + 16;
}
};
update_laser();
this.onEnterFrame = function () {
if (beam.hitTest(_root.player.hit)) {
_root.vy = 0;
_root.vx = 0;
_root.player.gotoAndStop("dead");
}
};
Symbol 169 MovieClip Frame 1
stop();
update_laser = function () {
beam = _root.laser_con["beam" + this._parent._name];
beam._xscale = beam._xscale * -1;
while (!_root.solid_tile(_root["map" + _root.mn][this._parent._y / _root.tile_size][Math.floor((this._parent._x - beam._width) / _root.tile_size)])) {
beam._width = beam._width + 16;
}
beam._xscale = beam._xscale * -1;
};
update_laser();
this.onEnterFrame = function () {
if (beam.hitTest(_root.player.hit)) {
_root.vy = 0;
_root.vx = 0;
_root.player.gotoAndStop("dead");
}
};
Symbol 171 MovieClip Frame 1
stop();
update_laser = function () {
beam = _root.laser_con["beam" + this._parent._name];
while (!_root.solid_tile(_root["map" + _root.mn][this._parent._y / _root.tile_size][Math.floor(((this._parent._x + _root.tile_size) + beam._width) / _root.tile_size)])) {
beam._width = beam._width + 16;
}
};
update_laser();
this.onEnterFrame = function () {
if (beam.hitTest(_root.player.hit)) {
_root.vy = 0;
_root.vx = 0;
_root.player.gotoAndStop("dead");
}
};
Symbol 189 MovieClip Frame 1
stop();
update_laser = function () {
beam = _root.laser_con["beam" + this._parent._name];
beam._yscale = beam._yscale * -1;
while ((!_root.solid_tile(_root["map" + _root.mn][Math.floor((this._parent._y - beam._height) / _root.tile_size)][this._parent._x / _root.tile_size])) && ((this._parent._y - beam._height) > 0)) {
beam._height = beam._height + 16;
}
beam._yscale = beam._yscale * -1;
};
update_laser();
this.onEnterFrame = function () {
if (beam.hitTest(_root.player.hit)) {
_root.vy = 0;
_root.vx = 0;
_root.player.gotoAndStop("dead");
}
};
Symbol 215 MovieClip [tile] Frame 1
stop();
Instance of Symbol 160 MovieClip "c" in Symbol 215 MovieClip [tile] Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hit)) {
this.play();
}
}
Symbol 215 MovieClip [tile] Frame 9
stop();
Symbol 216 MovieClip [bs] Frame 1
stop();
Symbol 216 MovieClip [bs] Frame 67
this.removeMovieClip();
Symbol 229 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.pause) {
this.stop();
} else {
this.play();
}
};
Symbol 229 MovieClip Frame 26
gotoAndPlay (5);
Symbol 242 MovieClip Frame 19
_root.vx = 0;
Symbol 244 MovieClip Frame 1
_root.pause = true;
_root.hurt_sfx.start(0, 0);
Symbol 244 MovieClip Frame 40
_root.blocks = 1;
_root.keys = 0;
_root["load_level" + _root.mn]();
_root.update_screen();
_root.pause = false;
_root.player.removeMovieClip();
Symbol 245 MovieClip Frame 1
_root.pause = true;
_root.win_sfx.start(0, 0);
Symbol 245 MovieClip Frame 30
if (!_root.ach) {
if ((_root.mn != 30) && (_root.mn != 33)) {
_root.mn++;
_root.tut.removeMovieClip();
_root.update_screen();
_root.pause = false;
_root.attachMovie("fade", "fade", _root.getNextHighestDepth());
_root.fade.gotoAndPlay("fadeout");
_root.player.removeMovieClip();
} else {
_root.laser_con.removeMovieClip();
_root.key_con.removeMovieClip();
_root.keys = 0;
_root.ib.removeMovieClip();
_root.tut.removeMovieClip();
i = 1;
while (i < _root.total_levels) {
_root["load_level" + i]();
i++;
}
Key.removeListener(_root.KeyListener2);
_root.gotoAndStop("level select");
_root.player.removeMovieClip();
}
} else {
gotoAndPlay (3);
}
Symbol 246 MovieClip [player] Frame 1
stop();
Instance of Symbol 216 MovieClip [bs] "hit" in Symbol 246 MovieClip [player] Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 246 MovieClip [player] Frame 6
stop();
Symbol 246 MovieClip [player] Frame 14
stop();
Symbol 246 MovieClip [player] Frame 22
stop();
Symbol 246 MovieClip [player] Frame 30
stop();
Symbol 246 MovieClip [player] Frame 37
stop();
Symbol 246 MovieClip [player] Frame 47
stop();
Symbol 246 MovieClip [player] Frame 55
stop();
Symbol 246 MovieClip [player] Frame 65
stop();
Symbol 246 MovieClip [player] Frame 85
stop();
Symbol 253 MovieClip [level_sel] Frame 1
stop();
Symbol 255 MovieClip [key] Frame 1
stop();
var removeX;
var removeY;
var nr;
var key_get_sfx = new Sound();
key_get_sfx.attachSound("key_get_sfx");
this.onEnterFrame = function () {
if (this.hitTest(_root.player)) {
key_get_sfx.start(0, 0);
_root["map" + _root.mn][removeY][removeX] = 0;
_root.con[(("t_" + removeY) + "_") + removeX].gotoAndStop(9);
i = 0;
while (i < _root["map" + _root.mn].length) {
j = 0;
while (j < _root["map" + _root.mn][0].length) {
if ((((_root["map" + _root.mn][i][j] == 12) or (_root["map" + _root.mn][i][j] == 13)) or (_root["map" + _root.mn][i][j] == 14)) or (_root["map" + _root.mn][i][j] == 31)) {
_root.con[(("t_" + i) + "_") + j].mc.update_laser();
}
j++;
}
i++;
}
this.removeMovieClip();
}
if (_root["map" + _root.mn][this._y / 16][this._x / 16] == 1) {
this.removeMovieClip();
}
};
Symbol 259 MovieClip [beam] Frame 1
this.onEnterFrame = function () {
if (_root.pause) {
this.stop();
} else {
gotoAndPlay(random(11) + 1);
delete this.onEnterFrame;
}
};
Symbol 259 MovieClip [beam] Frame 10
gotoAndPlay (1);
Symbol 263 MovieClip [beam2] Frame 1
this.onEnterFrame = function () {
if (_root.pause) {
this.stop();
} else {
gotoAndPlay(random(11) + 1);
delete this.onEnterFrame;
}
};
Symbol 263 MovieClip [beam2] Frame 10
gotoAndPlay (1);
Symbol 272 MovieClip Frame 1
stop();
Symbol 277 MovieClip Frame 1
stop();
this.gotoAndStop(_root.mute + 1);
Symbol 284 Button
on (release) {
getURL ("http://www.mofunzone.com/game_cheats/pc_cheats/tetris_labs_walkthrough.shtml", "_blank");
}
Symbol 287 MovieClip Frame 11
if ((random(20) + 1) == 1) {
play();
} else {
gotoAndPlay (1);
}
Symbol 295 MovieClip Frame 1
stop();
Symbol 296 MovieClip [ib] Frame 1
this.mapNr.text = _root.mn;
stop();
Symbol 296 MovieClip [ib] Frame 2
this.random_advice.gotoAndStop(random(5) + 1);
Symbol 324 MovieClip [pause_menu] Frame 23
stop();
Symbol 324 MovieClip [pause_menu] Frame 45
stop();
_root.pause = false;
this.removeMovieClip();
Symbol 336 MovieClip [tv_thing2] Frame 11
if ((random(20) + 1) == 1) {
play();
} else {
gotoAndPlay (1);
}
Symbol 345 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.pause) {
this.stop();
} else {
this.play();
}
};
Symbol 345 MovieClip Frame 11
if ((random(20) + 1) == 1) {
play();
} else {
gotoAndPlay (1);
}
Symbol 346 MovieClip [tut] Frame 1
function type() {
if (q == (tm[_root.mn - 1].length + 1)) {
q = q;
} else {
this.txt.text = tm[_root.mn - 1].substring(0, q);
q++;
scrolling.scrollPosition = this.txt.textHeight;
this.txt.scroll++;
}
}
stop();
q = 0;
tm = [">> Use the arrow keys or WASD to move and jump. Tap the jump key to perform a small jump and hold the jump key to jump higher. Get to the flower to advance to the next level.", "", ">> Use tetris blocks to reach areas you might not otherwise be able to get to. Control the blocks with the arrow keys and place all of the available blocks to start playing the level."];
typeInterval = setInterval(this, "type", 35);
Symbol 363 Button
on (release) {
getURL ("http://www.MoFunZone.com/", "_blank");
}
Symbol 367 Button
on (release) {
getURL ("http://www.MoFunZone.com/", "_blank");
}
Symbol 372 MovieClip [achieve] Frame 1
var tween = (new mx.transitions.Tween(this, "_y", mx.transitions.easing.Regular.easeOut, -80, 0, 1, true));
var time_left = 120;
this.onEnterFrame = function () {
time_left--;
if (time_left == 30) {
tween.continueTo(-80, 1);
}
if (time_left <= 0) {
this.removeMovieClip();
}
};
Symbol 385 Button
on (release) {
getURL ("http://www.MoFunZone.com/", "_blank");
}
Symbol 387 Button
on (release) {
getURL ("http://www.mofunzone.com/game_cheats/pc_cheats/tetris_labs_walkthrough.shtml", "_blank");
}