Frame 1
var my_cm = new ContextMenu();
my_cm.hideBuiltInItems();
this.menu = my_cm;
MochiAd.showPreloaderAd({id:"f29c107d5657d863", res:"650x400"});
Frame 3
if (_root.getBytesLoaded() < _root.getBytesTotal()) {
gotoAndStop ("loading");
}
Frame 5
_global.Q = true;
_global.M = true;
var key = new Array(87, 83, 65, 68, 69, 81);
_root._quality = "MEDIUM";
stop();
Instance of Symbol 31 MovieClip in Frame 5
//component parameters
onClipEvent (construct) {
_game_name = "cyborg";
score_var = "";
}
Frame 7
thisgame.mygame.changemap();
delete thisgame.mygame;
removeMovieClip("thisgame");
var level_new = new Array(1000, 1000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, true, false, false, false, false, false, false, 0, 0, 1);
if (first == undefined) {
level_new[18] = 30;
first = true;
}
stop();
Instance of Symbol 3 MovieClip in Frame 7
on (release) {
getURL ("http://www.freeworldgroup.com/", "_blank");
}
Frame 8
function load(datanum) {
if (this["data_" + datanum].text == "none") {
_root.attachMovie("word", "word", 500, {_x:325, _y:200, st:"no data!"});
} else {
var _local3 = 1;
while (_local3 < so.data["data" + datanum].length) {
_root.level_new[_local3 - 1] = so.data["data" + datanum][_local3];
_local3++;
}
_root.gotoAndStop(14);
}
}
var so = SharedObject.getLocal("cyborg_info");
var i = 0;
while (i < 5) {
this["data_" + i].restrict = "A-Z a-z 0-9";
this["data_" + i].maxChars = 6;
if (so.data["data" + i][0] == undefined) {
this["data_" + i].text = "none";
} else {
this["data_" + i].text = so.data["data" + i][0];
}
i++;
}
Frame 13
stop();
Frame 14
if (M) {
(mouse == undefined) && (attachMovie("mouse", "mouse", 100));
} else {
removeMovieClip(mouse);
Mouse.show();
}
attachMovie("thisgame", "thisgame", 0);
stop();
Symbol 6 MovieClip Frame 1
onEnterFrame = function () {
var _local4 = _root.getBytesLoaded();
var _local3 = _root.getBytesTotal();
var _local5 = int((_local4 / _local3) * 100);
num_txt.text = _local5 + "%";
if (_local4 == _local3) {
delete this.onEnterFrame;
if ((_root._mochiad instanceof MovieClip) != true) {
_root.play();
}
}
};
Symbol 10 MovieClip Frame 1
this._visible = false;
Symbol 10 MovieClip Frame 2
this._visible = true;
Symbol 10 MovieClip Frame 39
stop();
Instance of Symbol 3 MovieClip in Symbol 10 MovieClip Frame 39
on (release) {
getURL ("http://www.freeworldgroup.com/", "_blank");
}
Symbol 1051 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("1.5");
}
static function showPreloaderAd(options) {
var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}};
options = _parseOptions(options, _local27);
var clip = options.clip;
var _local23 = 11000;
var _local26 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4);
_local7._x = 10;
_local7._y = _local13 - 20;
var _local22 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local24 = options.outline;
delete options.outline;
var _local5 = _local7.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local7.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local22);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local6 = _local7.createEmptyMovieClip("_outline", 3);
_local6.lineStyle(0, _local24, 100);
_local6.moveTo(0, 0);
_local6.lineTo(_local4 - 20, 0);
_local6.lineTo(_local4 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
chk.ad_msec = _local23;
chk.ad_timeout = _local26;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = function (width, height) {
};
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local12 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local10 = (100 * _local8) / _local4;
var _local11 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local2 = Math.min(100, Math.min(_local10 || 0, _local11));
_local2 = Math.max(this.last_pcnt, _local2);
this.last_pcnt = _local2;
_local9._xscale = _local2;
if (!chk.showing) {
var _local7 = _local12.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local5 > chk.ad_timeout) {
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showTimedAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function _loadCommunicator(options) {
var _local25 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"};
options = _parseOptions(options, _local25);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local18 = options.clip;
var _local20 = "_mochiad_com_" + options.id;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local18[_local20]) {
return(_local18[_local20].lc);
}
var _local21 = options.com_server + options.id;
_allowDomains(_local21);
delete options.id;
delete options.com_server;
var _local24 = options.depth;
delete options.depth;
var _local17 = _local18.createEmptyMovieClip(_local20, _local24);
var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1);
for (var _local15 in options) {
_local11[_local15] = options[_local15];
}
var _local6 = new LocalConnection();
var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local6.mc = _local17;
_local6.name = _local16;
_local6.allowDomain = function (d) {
return(true);
};
_local6.allowInsecureDomain = _local6.allowDomain;
_local6.connect(_local16);
_local17.lc = _local6;
_local11.lc = _local16;
_local6._id = 0;
_local6._queue = [];
_local6.rpcResult = function (cb) {
cb = parseInt(cb);
var _local4 = this._callbacks[cb];
if (!_local4) {
return(undefined);
}
delete this._callbacks[cb];
var _local5 = [];
var _local3 = 2;
while (_local3 < _local4.length) {
_local5.push(_local4[_local3]);
_local3++;
}
_local3 = 1;
while (_local3 < arguments.length) {
_local5.push(arguments[_local3]);
_local3++;
}
var _local6 = _local4[1];
var _local7 = _local4[0];
if (_local7 && (typeof(_local6) == "string")) {
_local6 = _local7[_local6];
}
if (_local6) {
_local6.apply(_local7, _local5);
}
};
_local6._didConnect = function (endpoint) {
this._endpoint = endpoint;
var _local4 = this._queue;
delete this._queue;
var _local5 = this.doSend;
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2];
_local5.apply(this, _local3);
_local2++;
}
};
_local6.doSend = function (args, cbobj, cbfn) {
if (this._endpoint == null) {
var _local4 = [];
var _local3 = 0;
while (_local3 < arguments.length) {
_local4.push(arguments[_local3]);
_local3++;
}
this._queue.push(_local4);
return(undefined);
}
this._id = this._id + 1;
var _local5 = this._id;
if ((cbfn === undefined) || (cbfn === null)) {
cbfn = cbobj;
}
this._callbacks[_local5] = [cbobj, cbfn];
var _local7 = new LocalConnection();
var _local9 = _local7.send(this._endpoint, "rpc", _local5, args);
};
_local6._callbacks = {};
_local6._callbacks[0] = [_local6, "_didConnect"];
_local11.st = getTimer();
_local11.loadMovie(_local21 + ".swf", "POST");
return(_local6);
}
static function fetchHighScores(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["fetchHighScores", options];
_local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod);
return(true);
}
static function sendHighScore(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["sendHighScore", options];
_local1.doSend(["sendHighScore", options], callbackObj, callbackMethod);
return(true);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local7 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local7._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local7.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local7._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
if (_local7._url.indexOf("http") != 0) {
options.no_page = true;
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local9 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local9;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local9);
_local6.lc = _local5;
_local4.lc = _local9;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local4);
}
}
Symbol 1052 MovieClip [__Packages.clipgame.util.Vector] Frame 0
class clipgame.util.Vector
{
var x, y;
function Vector (px, py) {
x = ((px != undefined) ? (px) : 0);
y = ((py != undefined) ? (py) : 0);
}
static function polar(l, r) {
var _local1 = new clipgame.util.Vector();
_local1.x = l * Math.cos(r);
_local1.y = l * Math.sin(r);
return(_local1);
}
function setTo(px, py) {
x = px;
y = py;
}
function copy(v) {
x = v.x;
y = v.y;
}
function dot(v) {
return((x * v.x) + (y * v.y));
}
function cross(v) {
return((x * v.y) - (y * v.x));
}
function plus(v) {
x = x + v.x;
y = y + v.y;
return(this);
}
function plusNew(v) {
return(new clipgame.util.Vector(x + v.x, y + v.y));
}
function minus(v) {
x = x - v.x;
y = y - v.y;
return(this);
}
function minusNew(v) {
return(new clipgame.util.Vector(x - v.x, y - v.y));
}
function mult(s) {
x = x * s;
y = y * s;
return(this);
}
function multNew(s) {
return(new clipgame.util.Vector(x * s, y * s));
}
function distance(v) {
var _local3 = x - v.x;
var _local2 = y - v.y;
return(Math.sqrt((_local3 * _local3) + (_local2 * _local2)));
}
function magnitude() {
return(Math.sqrt((x * x) + (y * y)));
}
function normalize(n) {
var _local2 = Math.sqrt((x * x) + (y * y));
x = x * ((x != 0) ? (n / _local2) : 0);
y = y * ((y != 0) ? (n / _local2) : 0);
return(this);
}
function vertical(n) {
if (n > 0) {
var _local2 = new clipgame.util.Vector(-y, x);
} else {
var _local2 = new clipgame.util.Vector(y, -x);
}
return(_local2.normalize(Math.abs(n)));
}
function unzero() {
if ((x != 0) && (y != 0)) {
return(true);
}
return(false);
}
function project(b) {
var _local5 = dot(b);
var _local4 = (b.x * b.x) + (b.y * b.y);
var _local3 = new clipgame.util.Vector(0, 0);
_local3.x = (_local5 / _local4) * b.x;
_local3.y = (_local5 / _local4) * b.y;
return(_local3);
}
function toString(b) {
var _local2 = ((("(x=" + x) + ",y=") + y) + ")";
b && (trace(_local2));
return(_local2);
}
}
Symbol 1053 MovieClip [__Packages.clipgame.Gamess] Frame 0
class clipgame.Gamess
{
var vx, vy, halfvx, halfvy, centerx, centery, a_gravity, obj1, obj2, obj3, camera, score, leveltime, level, pause, over, dif, Q, clip, walkary, timeid, maph, mapw, map, b_mid, b_mid2;
function Gamess (dx, dy, mc, q, d, l) {
vx = dx;
vy = dy;
halfvx = Math.floor(vx);
halfvy = Math.floor(vy);
centerx = win_w / 2;
centery = win_h / 2;
a_gravity = 1.5;
obj1 = new Array();
obj2 = new Array();
obj3 = new Array();
camera = new clipgame.util.Vector();
score = 0;
leveltime = 0;
level = l;
pause = 0;
over = false;
dif = d;
Q = ((q == undefined) ? true : (q));
if (mc != undefined) {
clip = mc;
installclip();
}
var _local2;
walkary = new Array([_local2, _local2], [_local2, -1], [_local2, 0], [_local2, 1], [-1, _local2], [-1, -1], [-1, 0], [-1, 1], [0, _local2], [0, -1], [0, 0], [0, 1], [1, _local2], [1, -1], [1, 0], [1, 1]);
timeid = setInterval(this, "timekeeping", 1000);
}
function installclip() {
clip.attachMovie("background", "background", 11);
if (Q) {
clip.attachMovie("midground", "midground", 12);
clip.attachMovie("midground_2", "midground_2", 13);
clip.midground.filters = [new flash.filters.BlurFilter(4, 4)];
clip.midground_2.filters = [new flash.filters.BlurFilter(2, 2)];
}
clip.createEmptyMovieClip("ground", 14);
clip.createEmptyMovieClip("obj", 15);
clip.attachMovie("foreground", "foreground", 16);
clip.ground.cacheAsBitmap = true;
clip.background.filters = [new flash.filters.BlurFilter(8, 8)];
}
function uninstall() {
for (var _local2 in clip.foreground) {
removeMovieClip(clip.foreground[_local2]);
}
}
function changemap() {
for (var _local3 in clip.ground) {
removeMovieClip(clip.ground[_local3]);
}
for (var _local3 in clip.obj) {
if (clip.obj[_local3]._name.charAt(0) != "z") {
removeMovieClip(clip.obj[_local3]);
}
}
var _local4 = 0;
while (_local4 < maph) {
var _local2 = 0;
while (_local2 < mapw) {
var _local3 = (("t_" + _local4) + "_") + _local2;
delete this[_local3];
_local2++;
}
_local4++;
}
obj1.splice(1);
obj2.splice(0);
obj3.splice(0);
}
function mapping(_map) {
map = _map;
mapw = map[0].length;
maph = map.length;
var _local3 = 0;
while (_local3 < maph) {
var _local2 = 0;
while (_local2 < mapw) {
var _local4 = (("t_" + _local3) + "_") + _local2;
var _local5 = map[_local3][_local2];
var _local8 = _local5 >> 4;
var _local6 = _local5 % 16;
var _local7 = clip.ground.attachMovie("tile", _local4, clip.ground.getNextHighestDepth(), {_x:_local2 * clipgame.tiles.Tile.W, _y:_local3 * clipgame.tiles.Tile.H});
this[_local4] = new clipgame.tiles.Tile(_local7, _local8, walkary[_local6][0], walkary[_local6][1]);
_local2++;
}
_local3++;
}
b_mid = new clipgame.util.Vector();
b_mid2 = new clipgame.util.Vector();
b_mid.x = (clip.midground.w - win_w) / ((clipgame.tiles.Tile.W * mapw) - win_w);
b_mid.y = (clip.midground.h - win_h) / ((clipgame.tiles.Tile.H * maph) - win_h);
b_mid2.x = (clip.midground_2.w - win_w) / ((clipgame.tiles.Tile.W * mapw) - win_w);
b_mid2.y = (clip.midground_2.h - win_h) / ((clipgame.tiles.Tile.H * maph) - win_h);
}
function add_obj1(ob) {
obj1.push(ob);
}
function add_obj2(ob) {
obj2.push(ob);
}
function add_obj3(ob) {
obj3.push(ob);
}
function add_obclip(id, name, depth) {
if (id != undefined) {
depth = ((depth != undefined) ? (depth) : (clip.obj.getNextHighestDepth()));
return(clip.obj.attachMovie(id, name + depth, depth));
}
}
function move_obj() {
for (var _local2 in obj1) {
obj1[_local2].move();
}
for (var _local2 in obj2) {
obj2[_local2].move();
}
for (var _local2 in obj3) {
obj3[_local2].move();
}
}
function move_clip() {
var _local3 = centerx - camera.x;
var _local2 = centery - camera.y;
if (_local3 > 0) {
_local3 = 0;
} else if (_local3 < (((-mapw) * clipgame.tiles.Tile.W) + win_w)) {
_local3 = ((-mapw) * clipgame.tiles.Tile.W) + win_w;
}
if (_local2 > 0) {
_local2 = 0;
} else if (_local2 < (((-maph) * clipgame.tiles.Tile.H) + win_h)) {
_local2 = ((-maph) * clipgame.tiles.Tile.H) + win_h;
}
clip.obj._x = (clip.ground._x = Math.round(_local3));
clip.obj._y = (clip.ground._y = Math.round(_local2));
if (Q) {
clip.midground._x = clip.obj._x * b_mid.x;
clip.midground._y = clip.obj._y * b_mid.y;
clip.midground_2._x = clip.obj._x * b_mid2.x;
clip.midground_2._y = clip.obj._y * b_mid2.y;
}
}
function stepper() {
if (pause == 0) {
move_obj();
move_clip();
}
}
function timekeeping() {
if (pause == 0) {
leveltime++;
ontime();
}
}
function ontime() {
}
var win_w = 650;
var win_h = 400;
}
Symbol 1054 MovieClip [__Packages.clipgame.tiles.Tile] Frame 0
class clipgame.tiles.Tile
{
var clip, frame, walkvx, walkvy, walkable;
function Tile (mc, f, vx, vy) {
clip = mc;
setframe(f);
setwalkable(vx, vy);
}
function setframe(f) {
frame = f;
if (f > 0) {
clip.gotoAndStop(f);
} else {
clip.gotoAndStop(clip._totalframes);
}
}
function setwalkable(vx, vy) {
walkvx = vx;
walkvy = vy;
walkable = (walkvx != undefined) || (walkvy != undefined);
}
static var W = 48;
static var H = 48;
static var WALKF = 50;
}
Symbol 1055 MovieClip [__Packages.clipgame.obj.Obj] Frame 0
class clipgame.obj.Obj
{
var name, W, H, speed, speed_a, dir, curr, barrier, onground, xp, yp, game, speed_rx, speed_ry, clip;
function Obj (px, py, w, h, n) {
name = n;
W = w;
H = h;
speed = new clipgame.util.Vector();
speed_a = new clipgame.util.Vector();
dir = new clipgame.util.Vector(1, 0);
curr = new clipgame.util.Vector(px, py);
barrier = new clipgame.util.Vector();
setCorners();
onground == 0;
}
function setCorners() {
xp = new Array();
var _local3 = Math.ceil((2 * W) / clipgame.tiles.Tile.W);
var _local2 = 0;
while (_local2 < (_local3 + 1)) {
xp[_local2] = (2 * W) * ((_local2 / _local3) - 0.5);
_local2++;
}
xp[xp.length - 1]--;
yp = new Array();
var _local4 = Math.ceil((2 * H) / clipgame.tiles.Tile.H);
_local2 = 0;
while (_local2 < (_local4 + 1)) {
yp[_local2] = (2 * H) * ((_local2 / _local4) - 0.5);
_local2++;
}
yp[yp.length - 1]--;
}
function getCorners(x, y) {
var _local3 = Math.floor(x / clipgame.tiles.Tile.W);
var _local2 = Math.floor(y / clipgame.tiles.Tile.H);
if (game[(("t_" + _local2) + "_") + _local3].walkvy == 0) {
return(true);
}
return(false);
}
function getxCorners() {
var _local5 = Msf.dnum(speed_rx);
var _local4 = Math.floor(((curr.x + (_local5 * W)) + speed_rx) / clipgame.tiles.Tile.W);
var _local2 = 0;
while (_local2 < yp.length) {
var _local3 = Math.floor((curr.y + yp[_local2]) / clipgame.tiles.Tile.H);
if (game[(("t_" + _local3) + "_") + _local4].walkvx == undefined) {
return(false);
}
if ((_local5 + game[(("t_" + _local3) + "_") + _local4].walkvx) == 0) {
if (_local4 == Math.floor((curr.x + (_local5 * (W - 1))) / clipgame.tiles.Tile.W)) {
return(true);
}
return(false);
}
_local2++;
}
return(true);
}
function getyCorners() {
var _local5 = Msf.dnum(speed_ry);
var _local4 = Math.floor(((curr.y + (_local5 * H)) + speed_ry) / clipgame.tiles.Tile.H);
var _local2 = 0;
while (_local2 < xp.length) {
var _local3 = Math.floor((curr.x + xp[_local2]) / clipgame.tiles.Tile.W);
if (game[(("t_" + _local4) + "_") + _local3].walkvx == undefined) {
return(false);
}
if ((_local5 + game[(("t_" + _local4) + "_") + _local3].walkvy) == 0) {
if (_local4 == Math.floor((curr.y + (_local5 * (H - 1))) / clipgame.tiles.Tile.H)) {
return(true);
}
return(false);
}
_local2++;
}
return(true);
}
function move() {
speed_a.y = speed_a.y + game.a_gravity;
speed_a.x = speed_a.x - Msf.dnum(speed_a.x);
speed_rx = speed.x + speed_a.x;
speed_ry = speed.y + speed_a.y;
if (speed_rx != 0) {
if (getxCorners(game)) {
curr.x = curr.x + speed_rx;
barrier.x = 0;
} else if (speed_rx > 0) {
curr.x = (Math.ceil(curr.x / clipgame.tiles.Tile.W) * clipgame.tiles.Tile.W) - (W % clipgame.tiles.Tile.W);
barrier.x = 1;
} else {
curr.x = (Math.floor(curr.x / clipgame.tiles.Tile.W) * clipgame.tiles.Tile.W) + (W % clipgame.tiles.Tile.W);
barrier.x = -1;
}
} else {
barrier.x = 0;
}
if (getyCorners(game)) {
curr.y = curr.y + speed_ry;
barrier.y = 0;
onground = 0;
} else {
if (speed_ry > 0) {
curr.y = (Math.ceil(curr.y / clipgame.tiles.Tile.H) * clipgame.tiles.Tile.H) - (H % clipgame.tiles.Tile.H);
if (onground == 0) {
onground = 1;
}
barrier.y = 1;
} else {
curr.y = (Math.floor(curr.y / clipgame.tiles.Tile.H) * clipgame.tiles.Tile.H) + (H % clipgame.tiles.Tile.H);
barrier.y = -1;
}
speed_a.y = 1;
}
moveclip();
}
function moveclip() {
clip._x = curr.x;
clip._y = curr.y;
clip._xscale = dir.x * 100;
}
function remove() {
}
}
Symbol 1056 MovieClip [__Packages.Msf] Frame 0
class Msf
{
function Msf () {
}
static function rdm_2(a, b) {
return(Math.round((Math.random() * (b - a)) + a));
}
static function rdm_0(a, l) {
return(Math.round((a - (Math.random() * l)) + (l / 2)));
}
static function s_b_in(n, s, b) {
if ((s < n) && (n < b)) {
return(true);
}
return(false);
}
static function s_b_out(n, s, b) {
if ((n < s) || (b < n)) {
return(true);
}
return(false);
}
static function dnum(n, t) {
if (n == 0) {
return(0);
}
if (n > 0) {
return(((t != undefined) ? (t) : 1));
}
return(((t != undefined) ? (-t) : -1));
}
static function coordinateConvert(mc1, mc2, x, y) {
var _local1 = new Object({x:((x != undefined) ? (x) : 0), y:((y != undefined) ? (y) : 0)});
mc1.localToGlobal(_local1);
mc2.globalToLocal(_local1);
return(new Array(_local1.x, _local1.y));
}
static function format_time(n, l) {
var _local3;
var _local4;
var _local2;
if (n < 60) {
_local3 = 0;
_local4 = _local3;
_local2 = n;
} else if (n < 3600) {
_local3 = 0;
_local4 = Math.floor(n / 60);
_local2 = n % 60;
} else {
_local3 = Math.floor(n / 3600);
_local4 = Math.floor(n / 60) % 60;
_local2 = n % 60;
}
var _local7 = ((_local3 < 10) ? ("0" + _local3) : (_local3));
var _local6 = ((_local4 < 10) ? ("0" + _local4) : (_local4));
var _local5 = ((_local2 < 10) ? ("0" + _local2) : (_local2));
return((((_local7 + ":") + _local6) + ":") + _local5);
}
static function format_n(n, l) {
var _local1;
var _local3;
if (l != 0) {
if (l > 0) {
}
}
return(_local1);
}
static var R_PI = 57.3;
}
Symbol 1057 MovieClip [__Packages.clipgame.obj.Player] Frame 0
class clipgame.obj.Player extends clipgame.obj.Obj
{
var game, run, squat, ready, r, health, health_max, physique, physique_max, energy_max, clip, name, gun_trigger, gun_ary, gun_now, gun_mouse, up, down, left, right, en, qp, info_bk, onground, speed, speed_a, dir, curr;
function Player (px, py, n, g, key_ary) {
super(px, py, 15, 48, n);
game = g;
run = false;
squat = false;
ready = false;
r = 0;
health = (health_max = 1000 * game.dif);
physique = (physique_max = 1000);
energy_max = 2000;
clip = game.add_obclip(name, name);
clip.owner = this;
gun_trigger = false;
gun_ary = new Array();
gun_ary[0] = [110, -3, true, 20, energy_max, 0, -5, 40, 0, 0, 0, 50, 10, false, 200, 0, 1];
gun_ary[1] = [135, 35, false, 25, energy_max, 0, -20, 20, 0, 0, 0, 20, 25, false, 200, 0, 1];
gun_ary[2] = [150, -4, false, 5, energy_max, 0, -2, 40, 0, 0, 0, 30, 4, false, 200, -1, 1];
gun_ary[3] = [135, 35, false, 10, energy_max, 0, 0, 50, 0, 0, 0, 10, 4, false, 200, 0, 1];
gun_ary[4] = [120, 30, false, 25, energy_max, 0, -20, 30, 0, 0, 0, 80, 25, false, 200, 0, 1];
gun_ary[5] = [140, -1, false, 150, energy_max, 0, 0, 15, 0, 0, 0, 200, 45, false, 200, 0, 1];
gun_ary[6] = [210, 25, false, 20, energy_max, 0, 0, 50, 0, 0, 0, 60, 5, false, 200, 0, 1];
gun_now = new Array(0, gun_ary[0]);
gun_mouse = new Object();
gun_mouse.pat = this;
gun_mouse.onMouseDown = function () {
this.pat.gun_trigger = true;
};
gun_mouse.onMouseUp = function () {
this.pat.gun_trigger = false;
};
Mouse.addListener(gun_mouse);
up = new Mkey(key_ary[0], 200);
down = new Mkey(key_ary[1], 200);
left = new Mkey(key_ary[2], 300);
right = new Mkey(key_ary[3], 300);
en = new Mkey(key_ary[4], 200);
qp = new Mkey(key_ary[5], 200);
info_bk = new Array();
}
function now_bk() {
info_bk[0] = health_max;
info_bk[1] = physique_max;
info_bk[2] = energy_max;
var _local2 = 0;
while (_local2 < 7) {
info_bk[_local2 + 3] = gun_ary[_local2][4];
info_bk[_local2 + 10] = gun_ary[_local2][2];
_local2++;
}
info_bk[17] = game.score;
info_bk[18] = game.level;
info_bk[19] = game.dif;
}
function bk_now() {
health_max = info_bk[0];
physique_max = info_bk[1];
energy_max = info_bk[2];
var _local2 = 0;
while (_local2 < 7) {
gun_ary[_local2][4] = info_bk[_local2 + 3];
gun_ary[_local2][2] = info_bk[_local2 + 10];
_local2++;
}
game.score = info_bk[17];
game.level = info_bk[18];
game.dif = info_bk[19];
}
function moveclip() {
super.moveclip();
if (ready) {
if (onground == 2) {
if (left.press() == 2) {
speed.x = -12;
run = true;
} else if (right.press() == 2) {
speed.x = 12;
run = true;
} else {
run = false;
if (down.press() > 0) {
squat = true;
speed.x = 0;
} else {
squat = false;
if (left.press() == 1) {
speed.x = -keyspeed;
} else if (right.press() == 1) {
speed.x = keyspeed;
} else {
speed.x = 0;
}
}
}
} else if (onground == 0) {
if (left.press() > 0) {
speed.x = (run ? -12 : -8);
} else if (right.press() > 0) {
speed.x = (run ? 12 : 8);
} else {
speed.x = 0;
}
}
if (up.press() > 0) {
if (onground == 0) {
if (!jumpkey) {
if (physique > 0) {
physique = physique - 10;
if (up.press() > 0) {
speed_a.y = -7.5;
} else {
speed_a.y = -1.5;
}
run = false;
}
}
if (speed_a.y > -2) {
jumpkey = false;
}
} else if (!jumpkey) {
physique = physique - 150;
(physique < 0) && ((physique = 0));
speed_a.y = -22;
jumpkey = true;
}
} else {
jumpkey = false;
}
if (en.press() > 0) {
if (!cgkey) {
changegun(1);
}
cgkey = true;
} else if (qp.press() > 0) {
if (!cgkey) {
changegun(-1);
}
cgkey = true;
} else {
cgkey = false;
}
if (onground == 2) {
if (run) {
clip.gotoAndStop(9 - Msf.dnum(speed.x, dir.x));
} else if (squat) {
clip.gotoAndStop(9);
} else {
clip.gotoAndStop(3 - Msf.dnum(speed.x, dir.x));
}
if (run) {
clip.body.head.hair_1._xscale = Msf.dnum(dir.x * speed.x, 100);
clip.body.head.hair_1.play();
} else {
clip.body.head.hair_1._xscale = (clip.body.head.hair_1._yscale = 100);
clip.body.head.hair_1.gotoAndStop(8 - Math.round(clip.body.head.hair_1._rotation / 8));
}
} else if (onground == 0) {
clip.gotoAndStop(6 + Msf.dnum(speed_a.y));
clip.body.head.hair_1._yscale = -Msf.dnum(speed_a.y, 100);
clip.body.head.hair_1.play();
} else {
if (clip.leg._currentframe == 6) {
onground = 2;
} else {
clip.gotoAndStop(6);
}
speed.x = 0;
run = false;
clip.body.head.hair_1._yscale = 100;
}
if (gun_now == undefined) {
changegun_2(1);
}
if ((gun_trigger && (gun_now[1][5] == 0)) && (gun_now[1][4] > gun_now[1][3])) {
gun_fire();
}
recover();
mouse_ro();
gamebar();
}
}
function death() {
game.add_obj3(new clipgame.obj.Boom(curr.x, curr.y, "boom_1", game));
clip.gotoAndPlay("destory");
game.pause = 3;
}
function remove() {
for (var _local2 in game.obj1) {
if (game.obj1[_local2] == this) {
game.obj1.splice(Number(_local2), 1);
}
}
}
function changegun(n) {
var _local2 = ((gun_now[0] != undefined) ? (gun_now[0]) : 0);
do {
_local2 = _local2 + n;
if (_local2 < 0) {
_local2 = 6;
} else if (_local2 > 6) {
_local2 = 0;
}
} while (!gun_ary[_local2][2]);
clip.body.gun.gotoAndStop(_local2 + 1);
gun_now = [_local2, gun_ary[_local2]];
}
function changegun_2(n) {
clip.body.gun.gotoAndStop(n);
gun_now = [n - 1, gun_ary[n - 1]];
}
function setnew() {
speed.setTo(0, 0);
health = health_max;
var _local2 = 0;
while (_local2 < 7) {
gun_ary[_local2][4] = gun_ary[_local2][4] + (energy_max / 2);
gun_ary[_local2][5] = 0;
_local2++;
}
}
function gun_fire() {
var _local3 = Msf.coordinateConvert(clip.body.gun, game.clip.obj, gun_now[1][0], gun_now[1][1]);
var _local4;
switch (gun_now[0]) {
case 0 :
game.add_obj3(new clipgame.obj.Bullet(_local3[0], _local3[1], ((dir.x > 0) ? (r) : (180 - r)), gun_now[1][7], "bullet_7", game.obj2, gun_now[1][11], game));
_local4 = game.add_obclip("gun_fire", "gun_fire");
game.clip.foreground.shoot_17.start();
break;
case 1 :
var _local6 = 8;
var _local2 = 0;
while (_local2 < _local6) {
var _local7 = r + (6 * (_local2 - (_local6 / 2)));
var _local5 = (gun_now[1][7] + 2) - (Math.random() * 4);
game.add_obj3(new clipgame.obj.Bullet(_local3[0], _local3[1], ((dir.x > 0) ? (_local7) : (180 - _local7)), _local5, "bullet_1", game.obj2, gun_now[1][11], game));
_local2++;
}
_local4 = game.add_obclip("gun_fire_4", "gun_fire_4");
_local4._xscale = (_local4._yscale = 200);
game.clip.foreground.shoot_03.start();
break;
case 2 :
var _local7 = (r + 2) - (Math.random() * 4);
game.add_obj3(new clipgame.obj.Bullet(_local3[0], _local3[1], ((dir.x > 0) ? (_local7) : (180 - _local7)), gun_now[1][7], "bullet_2", game.obj2, gun_now[1][11], game));
_local4 = game.add_obclip("gun_fire", "gun_fire");
_local4._xscale = (_local4._yscale = 150);
game.clip.foreground.shoot_16.start();
break;
case 3 :
game.add_obj3(new clipgame.obj.Bullet_d(_local3[0], _local3[1], ((dir.x > 0) ? (r) : (180 - r)), gun_now[1][7], game.obj2, gun_now[1][11], game));
_local4 = game.add_obclip("gun_fire_3", "gun_fire_3");
_local4._xscale = 400;
if (sdt) {
game.clip.foreground.shoot_18.start();
sdt = false;
game.clip.foreground.shoot_18.xx = this;
game.clip.foreground.shoot_18.onSoundComplete = function () {
this.xx.sdt = true;
};
}
break;
case 4 :
game.add_obj3(new clipgame.obj.Bullet_t(_local3[0], _local3[1], ((dir.x > 0) ? (r) : (180 - r)), gun_now[1][7], "bullet_5", game.obj2, gun_now[1][11], game));
_local4 = game.add_obclip("gun_fire", "gun_fire");
_local4._xscale = (_local4._yscale = 200);
game.clip.foreground.shoot_07.start();
break;
case 5 :
game.add_obj3(new clipgame.obj.Missile(_local3[0], _local3[1], ((dir.x > 0) ? (r) : (180 - r)), gun_now[1][7], "missile_1", game.obj2, gun_now[1][11], game));
_local4 = game.add_obclip("gun_fire_2", "gun_fire_2");
game.clip.foreground.shoot_04.start();
speed_a.x = speed_a.x - Math.round((Math.cos(r / Msf.R_PI) * gun_now[1][7]) * dir.x);
speed_a.y = speed_a.y - Math.round(Math.sin(r / Msf.R_PI) * gun_now[1][7]);
break;
case 6 :
game.add_obj3(new clipgame.obj.Bullet(_local3[0], _local3[1], ((dir.x > 0) ? (r) : (180 - r)), gun_now[1][7], "bullet_3", game.obj2, gun_now[1][11], game));
_local4 = game.add_obclip("gun_fire_3", "gun_fire_3");
_local4._xscale = (_local4._yscale = 200);
game.clip.foreground.shoot_06.start();
}
_local4._x = _local3[0];
_local4._y = _local3[1];
_local4._rotation = ((dir.x > 0) ? (r) : (180 - r));
clip.body.gun.gun_mc.gotoAndPlay("fire");
r = r + gun_now[1][6];
gun_now[1][5] = gun_now[1][5] + gun_now[1][12];
gun_now[1][4] = gun_now[1][4] - gun_now[1][3];
}
function recover() {
if (onground != 0) {
if (run) {
if (physique > 0) {
physique = physique - 5;
} else {
physique = 0;
run = false;
left.interrupt();
right.interrupt();
}
} else if (physique < physique_max) {
physique = physique + 20;
} else {
physique = physique_max;
}
}
var _local2 = 0;
while (_local2 < 7) {
if (gun_ary[_local2][5] > 0) {
gun_ary[_local2][5] = gun_ary[_local2][5] - 1;
}
if (gun_ary[_local2][4] < energy_max) {
gun_ary[_local2][4] = gun_ary[_local2][4] + 0.1;
} else {
gun_ary[_local2][4] = energy_max;
}
_local2++;
}
if (health < health_max) {
} else {
health = health_max;
}
}
function mouse_ro() {
if (curr.x > game.clip.obj._xmouse) {
dir.x = -1;
} else {
dir.x = 1;
}
r = Math.atan2((clip._ymouse - clip.body._y) + 15, clip._xmouse - clip.body._x) * Msf.R_PI;
if (clip._currentframe == 8) {
clip.body._rotation = (r * 0.2) + 30;
clip.body.head._rotation = (clip.body.gun._rotation = r - clip.body._rotation);
clip.body.head.hair_1._rotation = -clip.body.head._rotation;
} else {
clip.body._rotation = r * 0.2;
clip.body.gun._rotation = r - clip.body._rotation;
clip.body.head._rotation = clip.body.gun._rotation * 0.5;
clip.body.head.hair_1._rotation = -clip.body.head._rotation;
}
}
function gamebar() {
game.clip.foreground.bar.health.mask._xscale = (health / health_max) * 100;
game.clip.foreground.bar.physique._xscale = (physique / physique_max) * 100;
game.clip.foreground.bar.energy._xscale = (gun_now[1][4] / energy_max) * 100;
game.clip.foreground.bar.energy_t.text = (Math.round(gun_now[1][4] / 10) + "/") + Math.round(energy_max / 10);
game.clip.foreground.bar.physique_t.text = (Math.round(physique / 10) + "/") + Math.round(physique_max / 10);
game.clip.foreground.bar.health_t.text = (Math.round(health / 10) + "/") + Math.round(health_max / 10);
}
var jumpkey = false;
var cgkey = false;
var keyspeed = 8;
var sdt = true;
}
Symbol 1058 MovieClip [__Packages.Mkey] Frame 0
class Mkey
{
var key, dtime, timer, keynow;
function Mkey (k_n, dt) {
key = k_n;
dtime = dt;
timer = (-dt) - 1;
keynow = 0;
}
function press() {
if (hold(key)) {
if (keynow == 0) {
if ((getTimer() - timer) < dtime) {
keynow = 2;
timer = (-dtime) - 1;
} else {
timer = getTimer();
keynow = 1;
}
}
} else {
keynow = 0;
}
return(keynow);
}
function interrupt() {
keynow = 0;
}
static function hold(k_n) {
if (Key.isDown(k_n)) {
return(true);
}
return(false);
}
}
Symbol 1059 MovieClip [__Packages.clipgame.obj.Boom] Frame 0
class clipgame.obj.Boom
{
var name, curr, targets, power, game, clip;
function Boom (px, py, n, g, tary, p) {
name = n;
curr = new clipgame.util.Vector(px, py);
targets = tary;
power = p;
game = g;
clip = game.add_obclip(name, name);
clip.owner = this;
}
function move() {
clip._x = curr.x;
clip._y = curr.y;
game.clip.foreground.boom.start();
remove();
}
function remove() {
for (var _local2 in game.obj3) {
if (game.obj3[_local2] == this) {
game.obj3.splice(Number(_local2), 1);
}
}
}
}
Symbol 1060 MovieClip [__Packages.clipgame.obj.Bullet] Frame 0
class clipgame.obj.Bullet
{
var name, r, speed_k, speed, curr, hitdir, targets, power, hittimes, game, clip, roll;
function Bullet (px, py, _r, sp, n, tary, p, g) {
name = n;
r = _r;
speed_k = sp;
speed = new clipgame.util.Vector(Math.cos(r / Msf.R_PI) * speed_k, Math.sin(r / Msf.R_PI) * speed_k);
curr = new clipgame.util.Vector(px, py);
hitdir = new clipgame.util.Vector();
targets = tary;
power = p;
hittimes = speed_k / 10;
game = g;
clip = game.add_obclip(name, name);
clip.owner = this;
}
function getCorners(x, y) {
var _local3 = Math.floor(x / clipgame.tiles.Tile.W);
var _local2 = Math.floor(y / clipgame.tiles.Tile.H);
if (game[(("t_" + _local2) + "_") + _local3].walkable) {
return(true);
}
gethitdir(_local3, _local2);
return(false);
}
function hitTest() {
for (var _local4 in targets) {
if ((Math.abs(curr.x - targets[_local4].curr.x) < (targets[_local4].W + 50)) && (Math.abs(curr.y - targets[_local4].curr.y) < (targets[_local4].H + 50))) {
var _local3 = Msf.coordinateConvert(clip, _root);
if (targets[_local4].clip.hitTest(_local3[0], _local3[1], true)) {
targets[_local4].health = targets[_local4].health - power;
if (targets[_local4].health <= 0) {
targets[_local4].death();
}
return(true);
}
}
}
return(false);
}
function move() {
var _local2 = 1;
while (_local2 < (hittimes + 1)) {
if (getCorners(curr.x + (speed.x / hittimes), curr.y + (speed.y / hittimes))) {
curr.x = curr.x + (speed.x / hittimes);
curr.y = curr.y + (speed.y / hittimes);
moveclip();
if (hitTest()) {
remove();
break;
}
} else {
if (hitdir.x != 0) {
var _local3 = curr.x;
if (hitdir.x > 0) {
curr.x = Math.ceil(curr.x / clipgame.tiles.Tile.W) * clipgame.tiles.Tile.W;
} else {
curr.x = Math.floor(curr.x / clipgame.tiles.Tile.W) * clipgame.tiles.Tile.W;
}
curr.y = curr.y + (((curr.x - _local3) / speed.x) * speed.y);
} else {
var _local4 = curr.y;
if (hitdir.y > 0) {
curr.y = Math.ceil(curr.y / clipgame.tiles.Tile.H) * clipgame.tiles.Tile.H;
} else {
curr.y = Math.floor(curr.y / clipgame.tiles.Tile.H) * clipgame.tiles.Tile.H;
}
curr.x = curr.x + (((curr.y - _local4) / speed.y) * speed.x);
}
moveclip();
remove();
break;
}
_local2++;
}
}
function moveclip() {
clip._x = curr.x;
clip._y = curr.y;
if (roll != false) {
clip._rotation = r;
roll = false;
}
}
function remove() {
addboom();
for (var _local2 in game.obj3) {
if (game.obj3[_local2] == this) {
game.obj3.splice(Number(_local2), 1);
}
}
}
function gethitdir(x, y) {
x = x * clipgame.tiles.Tile.W;
y = y * clipgame.tiles.Tile.H;
var _local3 = Msf.dnum(speed.x);
var _local2 = Msf.dnum(speed.y);
if (_local3 != 0) {
var _local9 = x + ((_local3 < 0) * clipgame.tiles.Tile.W);
var _local4 = (((speed.y / speed.x) * (_local9 - curr.x)) + curr.y) - y;
if ((_local4 > 0) && (_local4 < clipgame.tiles.Tile.H)) {
hitdir.x = _local3;
} else {
hitdir.x = 0;
}
} else {
hitdir.x = 0;
}
if (_local2 != 0) {
var _local8 = y + ((_local2 < 0) * clipgame.tiles.Tile.H);
var _local5 = (((speed.x / speed.y) * (_local8 - curr.y)) + curr.x) - x;
if ((_local5 > 0) && (_local5 < clipgame.tiles.Tile.W)) {
hitdir.y = _local2;
} else {
hitdir.y = 0;
}
} else {
hitdir.y = 0;
}
}
function hittargets() {
}
function addboom() {
var _local2 = clipgame.util.Vector.polar(10, Math.random() * Math.PI);
game.add_obj3(new clipgame.obj.Spark(curr.x, curr.y, _local2.x, _local2.y, "spark", game));
_local2 = clipgame.util.Vector.polar(10, (-Math.random()) * Math.PI);
game.add_obj3(new clipgame.obj.Spark(curr.x, curr.y, _local2.x, _local2.y, "spark", game));
clip.gotoAndPlay((clip._totalframes - clip._currentframe) + 1);
}
}
Symbol 1061 MovieClip [__Packages.clipgame.obj.Spark] Frame 0
class clipgame.obj.Spark
{
var name, speed, curr, game, clip;
function Spark (px, py, sx, sy, n, g) {
name = n;
speed = new clipgame.util.Vector(sx, sy);
curr = new clipgame.util.Vector(px, py);
game = g;
clip = game.add_obclip(name, name);
clip.owner = this;
}
function move() {
speed.y = speed.y + game.a_gravity;
curr.x = curr.x + speed.x;
curr.y = curr.y + speed.y;
moveclip();
}
function moveclip() {
clip._x = curr.x;
clip._y = curr.y;
clip._rotation = Math.atan2(speed.y, speed.x) * Msf.R_PI;
clip.mc._xscale = speed.magnitude() * 10;
}
function remove() {
for (var _local2 in game.obj3) {
if (game.obj3[_local2] == this) {
game.obj3.splice(Number(_local2), 1);
}
}
}
}
Symbol 1062 MovieClip [__Packages.clipgame.obj.Bullet_d] Frame 0
class clipgame.obj.Bullet_d extends clipgame.obj.Bullet
{
var r, speed_k, speed, curr, targets, power, distance, hittimes, game, clip, name;
function Bullet_d (px, py, _r, sp, tary, p, g) {
super();
r = _r;
speed_k = sp;
speed = new clipgame.util.Vector(Math.cos(r / Msf.R_PI) * speed_k, Math.sin(r / Msf.R_PI) * speed_k);
curr = new clipgame.util.Vector(px, py);
targets = tary;
power = p;
distance = 4;
hittimes = speed_k / 5;
game = g;
clip = game.add_obclip(name, name);
clip.owner = this;
}
function hitTest() {
for (var _local4 in targets) {
if ((Math.abs(curr.x - targets[_local4].curr.x) < (targets[_local4].W + 50)) && (Math.abs(curr.y - targets[_local4].curr.y) < (targets[_local4].H + 50))) {
var _local3 = Msf.coordinateConvert(game.clip.obj, _root, curr.x, curr.y);
if (targets[_local4].clip.hitTest(_local3[0], _local3[1], true)) {
targets[_local4].health = targets[_local4].health - power;
if (targets[_local4].health <= 0) {
targets[_local4].death();
}
return(true);
}
}
}
return(false);
}
function move() {
if (distance != 0) {
var _local2 = 1;
while (_local2 < (hittimes + 1)) {
curr.x = curr.x + (speed.x / hittimes);
curr.y = curr.y + (speed.y / hittimes);
if (hitTest()) {
hittargets();
break;
}
_local2++;
}
distance--;
} else {
remove();
}
}
function remove() {
for (var _local2 in game.obj3) {
if (game.obj3[_local2] == this) {
game.obj3.splice(Number(_local2), 1);
}
}
}
function hittargets() {
var _local2 = clipgame.util.Vector.polar(10, Math.random() * Math.PI);
game.add_obj3(new clipgame.obj.Spark(curr.x, curr.y, _local2.x, _local2.y, "spark", game));
_local2 = clipgame.util.Vector.polar(10, (-Math.random()) * Math.PI);
game.add_obj3(new clipgame.obj.Spark(curr.x, curr.y, _local2.x, _local2.y, "spark", game));
}
function addboom() {
}
}
Symbol 1063 MovieClip [__Packages.clipgame.obj.Bullet_t] Frame 0
class clipgame.obj.Bullet_t extends clipgame.obj.Bullet
{
var hitnum, hitdir, speed, roll, game, curr, clip;
function Bullet_t (px, py, sx, sy, n, tary, p, g) {
super(px, py, sx, sy, n, tary, p, g);
hitnum = 2;
}
function remove() {
if (hitnum == 0) {
super.remove();
} else {
addboom();
if (hitdir.x != 0) {
speed.x = -speed.x;
} else {
speed.y = -speed.y;
}
hitnum--;
roll = undefined;
}
}
function addboom() {
var _local2 = clipgame.util.Vector.polar(10, Math.random() * Math.PI);
game.add_obj3(new clipgame.obj.Spark(curr.x, curr.y, _local2.x, _local2.y, "spark", game));
_local2 = clipgame.util.Vector.polar(10, (-Math.random()) * Math.PI);
game.add_obj3(new clipgame.obj.Spark(curr.x, curr.y, _local2.x, _local2.y, "spark", game));
if (hitnum == 0) {
clip.gotoAndPlay((clip._totalframes - clip._currentframe) + 1);
}
}
}
Symbol 1064 MovieClip [__Packages.clipgame.obj.Missile] Frame 0
class clipgame.obj.Missile extends clipgame.obj.Bullet
{
var clip, game, curr;
function Missile (px, py, sx, sy, n, tary, p, g) {
super(px, py, sx, sy, n, tary, p, g);
}
function moveclip() {
super.moveclip();
addsmoke();
}
function addboom() {
clip.gotoAndPlay("destory");
game.add_obj3(new clipgame.obj.Boom(curr.x, curr.y, "boom_1", game));
}
function addsmoke() {
var _local2 = game.add_obclip("smoke", "smoke");
_local2._x = (curr.x + 4) - (Math.random() * 8);
_local2._y = (curr.y + 4) - (Math.random() * 8);
}
}
Symbol 1065 MovieClip [__Packages.clipgame.obj.E_0] Frame 0
class clipgame.obj.E_0 extends clipgame.obj.Obj
{
var game, targets, targets_n, distance, health_max, health, r, action, experience, cooldown_1, cooldown_1n, cooldown_2, cooldown_2n, clip, name, curr, dir, barrier, getCorners, speed, H, onground;
function E_0 (px, py, w, h, n, g, a) {
super(px, py, w, h, n);
game = g;
targets = game.obj1;
targets_n = Math.round(Math.random() * (targets.length - 1));
distance = new clipgame.util.Vector();
health_max = (health = 100);
r = 0;
action = a;
experience = 10;
cooldown_1 = 0;
cooldown_1n = 20;
cooldown_2 = 30;
cooldown_2n = 100;
clip = game.add_obclip(name, name);
clip.owner = this;
}
function moveclip() {
distance = curr.minusNew(targets[targets_n].curr);
var _local3 = Msf.dnum(distance.x);
(_local3 != 0) && ((dir.x = -_local3));
super.moveclip();
hitplayer();
action_f();
clip.health._xscale = (health / health_max) * 100;
}
function remove() {
if (game.pause == 0) {
if (game.leveltime < 300) {
game.score = game.score + Math.round(experience / game.dif);
}
if ((Math.random() * 10) > 7.5) {
var _local3;
if ((Math.random() * 10) > 6) {
_local3 = Math.round(Math.random() * 2);
} else {
_local3 = Math.round(Math.random() + 3);
}
var _local4;
if (_local3 > 2) {
_local4 = Math.round((Math.random() * 300) + 300);
} else {
_local4 = Math.round((Math.random() * 50) + 50);
}
game.add_obj3(new clipgame.obj.Items(curr.x, curr.y, _local3, _local4, game));
}
}
game.add_obj3(new clipgame.obj.Boom(curr.x, curr.y, "boom_1", game));
clip.gotoAndPlay("destory");
for (var _local2 in game.obj2) {
if (game.obj2[_local2] == this) {
game.obj2.splice(Number(_local2), 1);
}
}
}
function hide(n) {
if (((((curr.x + game.clip.obj._x) < (game.win_w + 50)) && ((curr.x + game.clip.obj._x) > -50)) && ((curr.y + game.clip.obj._y) < (game.win_h + 30))) && ((curr.y + game.clip.obj._y) > -30)) {
return(false);
}
return(true);
}
function getway() {
if (barrier.x != 0) {
return(true);
}
if (getCorners(curr.x + speed.x, curr.y + H) && (onground == 1)) {
return(true);
}
return(false);
}
function hitplayer() {
if ((Math.abs(distance.x) < 50) && (Math.abs(distance.y) < 50)) {
if (targets[targets_n].health > 0) {
targets[targets_n].health = targets[targets_n].health - (1 / game.dif);
var _local2 = game.add_obclip("elc", "elc");
_local2._x = targets[targets_n].curr.x;
_local2._y = targets[targets_n].curr.y;
} else {
targets[targets_n].death();
}
}
}
function action_f() {
}
function recover() {
if (cooldown_1 > 0) {
cooldown_1 = cooldown_1 - 1;
}
if (cooldown_2 > 0) {
cooldown_2 = cooldown_2 - 1;
} else {
cooldown_2 = cooldown_2n;
}
}
}
Symbol 1066 MovieClip [__Packages.clipgame.obj.Items] Frame 0
class clipgame.obj.Items
{
var type, amount, name, speed, curr, game, clip, tx, ty;
function Items (px, py, t, a, g) {
type = t;
amount = a;
if (type != 5) {
name = name_ary[type];
} else {
name = name_ary[type] + a;
}
speed = new clipgame.util.Vector();
curr = new clipgame.util.Vector(px, py);
game = g;
clip = game.add_obclip(name, name);
clip.owner = this;
var _local2 = clip.getRect(clip);
tx = (clip._width / 2) - _local2.xMax;
ty = ((-clip._height) - _local2.yMin) - 15;
}
function getCorners() {
var _local3 = Math.floor(curr.x / clipgame.tiles.Tile.W);
var _local2 = Math.floor(curr.y / clipgame.tiles.Tile.H);
if (game[(("t_" + _local2) + "_") + _local3].walkvy == 0) {
return(true);
}
return(false);
}
function move() {
speed.y = speed.y + game.a_gravity;
if (getCorners()) {
curr.y = curr.y + speed.y;
} else {
curr.y = Math.floor(curr.y / clipgame.tiles.Tile.H) * clipgame.tiles.Tile.H;
}
moveclip();
}
function moveclip() {
clip._x = curr.x + tx;
clip._y = curr.y + ty;
if ((Math.abs(game.obj1[0].curr.x - curr.x) < 50) && (Math.abs(game.obj1[0].curr.y - curr.y) < 80)) {
add_p();
}
}
function remove() {
clip.gotoAndPlay("destory");
for (var _local2 in game.obj3) {
if (game.obj3[_local2] == this) {
game.obj3.splice(Number(_local2), 1);
}
}
}
function add_p() {
switch (type) {
case 0 :
game.obj1[0].health_max = game.obj1[0].health_max + Math.round(amount * game.dif);
break;
case 1 :
game.obj1[0].physique_max = game.obj1[0].physique_max + Math.round(amount * game.dif);
break;
case 2 :
game.obj1[0].energy_max = game.obj1[0].energy_max + Math.round(amount * game.dif);
break;
case 3 :
game.obj1[0].health = game.obj1[0].health + amount;
break;
case 4 :
game.obj1[0].gun_now[1][4] = game.obj1[0].gun_now[1][4] + amount;
break;
case 5 :
game.obj1[0].gun_ary[amount - 1][2] = true;
game.obj1[0].changegun_2(amount);
}
remove();
}
static var name_ary = new Array("health_m", "physique_m", "energy_m", "health_i", "energy_i", "gun_");
}
Symbol 1067 MovieClip [__Packages.clipgame.obj.E_6] Frame 0
class clipgame.obj.E_6 extends clipgame.obj.E_0
{
var speed_k, experience, health_max, health, cooldown_1n, cooldown_2n, patrol, pt, speed_a, speed, curr, moveclip, action, barrier, remove, game, hide, clip, r, distance, recover, targets_n, targets, cooldown_1, cooldown_2, dir;
function E_6 (px, py, g, a) {
super(px, py, 48, 30, "e6", g, a);
speed_k = 5;
experience = 100;
health_max = (health = 2000);
cooldown_1n = 15;
cooldown_2n = 100;
patrol = new clipgame.util.Vector(300, 200);
pt = new clipgame.util.Vector();
if (a == 0) {
pt.setTo(px, py);
} else if (a == 1) {
pt.setTo(px + patrol.x, py);
} else if (a == 2) {
pt.setTo(px, py + patrol.y);
} else {
changept();
}
}
function move() {
if (health <= 0) {
super.move();
death();
} else {
speed_a.y = speed_a.y - Msf.dnum(speed_a.y);
speed_a.x = speed_a.x - Msf.dnum(speed_a.x);
curr.x = curr.x + (speed.x + speed_a.x);
curr.y = curr.y + (speed.y + speed_a.y);
moveclip();
}
}
function death() {
action = 4;
speed.setTo(0, 0);
addsmoke();
if (barrier.y == 1) {
remove();
}
}
function addsmoke() {
var _local2 = game.add_obclip("smoke", "smoke");
_local2._x = (curr.x + 5) - (Math.random() * 10);
_local2._y = (curr.y + 5) - (Math.random() * 10);
}
function action_f() {
var _local3 = pt.x - curr.x;
var _local2 = pt.y - curr.y;
switch (action) {
case 0 :
if (Math.abs(_local3) < speed_k) {
speed.x = 0;
} else {
speed.x = Msf.dnum(_local3) * speed_k;
}
if (Math.abs(_local2) < speed_k) {
speed.y = 0;
} else {
speed.y = Msf.dnum(_local2) * speed_k;
}
movement();
break;
case 1 :
if (Math.abs(_local3) < speed_k) {
pt.x = pt.x - (Msf.dnum(speed.x) * patrol.x);
} else {
speed.x = Msf.dnum(_local3) * speed_k;
}
if (Math.abs(_local2) < speed_k) {
speed.y = 0;
} else {
speed.y = Msf.dnum(_local2) * speed_k;
}
movement();
break;
case 2 :
if (Math.abs(_local3) < speed_k) {
speed.x = 0;
} else {
speed.x = Msf.dnum(_local3) * speed_k;
}
if (Math.abs(_local2) < speed_k) {
pt.y = pt.y - (Msf.dnum(speed.y) * patrol.y);
} else {
speed.y = Msf.dnum(_local2) * speed_k;
}
movement();
break;
case 3 :
if ((Math.abs(_local3) < speed_k) && (Math.abs(_local2) < speed_k)) {
changept();
} else {
if (Math.abs(_local3) < speed_k) {
speed.x = 0;
} else {
speed.x = Msf.dnum(_local3) * speed_k;
}
if (Math.abs(_local2) < speed_k) {
speed.y = 0;
} else {
speed.y = Msf.dnum(_local2) * speed_k;
}
}
movement();
break;
case 4 :
}
}
function movement() {
if ((action == 3) || (!hide(100))) {
clip.gotoAndStop(2);
r = (-Math.atan2(distance.y, Math.abs(distance.x))) * Msf.R_PI;
clip.body._rotation = r * 0.5;
clip.body.head._rotation = clip.body._rotation;
gun_fire();
} else {
clip.gotoAndStop(1);
}
recover();
}
function changept() {
pt.x = Msf.rdm_0(targets[targets_n].curr.x, game.win_w);
pt.y = Msf.rdm_0(targets[targets_n].curr.y - 100, game.win_h / 2);
}
function gun_fire() {
if ((cooldown_1 == 0) && (cooldown_2 < 30)) {
var _local5 = Msf.coordinateConvert(clip.body.head, game.clip.obj, 95, 10);
var _local2 = 0;
while (_local2 < 7) {
var _local3 = r + (5 * (_local2 - 4));
var _local4 = 17 - (Math.random() * 4);
game.add_obj3(new clipgame.obj.Bullet(_local5[0], _local5[1], ((dir.x > 0) ? (_local3) : (180 - _local3)), _local4, "bullet_1", game.obj1, 20 / game.dif, game));
_local2++;
}
var _local6 = game.add_obclip("gun_fire_4", "gun_fire_4");
_local6._xscale = (_local6._yscale = 200);
_local6._x = _local5[0];
_local6._y = _local5[1];
_local6._rotation = ((dir.x > 0) ? (r) : (180 - r));
game.clip.foreground.shoot_07.start();
cooldown_1 = cooldown_1 + cooldown_1n;
}
}
}
Symbol 1068 MovieClip [__Packages.clipgame.obj.E_4] Frame 0
class clipgame.obj.E_4 extends clipgame.obj.E_0
{
var speed_k, speed, experience, health_max, health, cooldown_1n, dfx, remove, action, getway, distance, dir, hide, clip, r, recover, cooldown_1, game;
function E_4 (px, py, g, a) {
super(px, py, 30, 50, "e4", g, a);
speed.x = (speed_k = 5);
experience = 20;
health_max = (health = 200);
cooldown_1n = 40;
dfx = Msf.rdm_2(150, 300);
}
function death() {
remove();
}
function action_f() {
switch (action) {
case 0 :
speed.x = 0;
movement();
break;
case 1 :
if (getway()) {
speed.x = -speed.x;
}
movement();
break;
case 2 :
break;
case 3 :
if (Math.abs(distance.x) > dfx) {
speed.x = dir.x * speed_k;
}
movement();
}
}
function movement() {
if ((action == 3) || (!hide(100))) {
if (speed.x == 0) {
clip.gotoAndStop(3);
} else {
clip.gotoAndStop(3 - Msf.dnum(speed.x, dir.x));
}
r = (-Math.atan2(distance.y + clip.head._y, Math.abs(distance.x))) * Msf.R_PI;
clip.head._rotation = r;
clip.head._x = r * 0.5;
clip.mc.clear();
clip.mc.lineStyle(5, 3355443, 100);
clip.mc.curveTo(0, -30, clip.head._x, clip.head._y + 15);
gun_fire();
} else {
clip.gotoAndStop(1);
}
recover();
}
function gun_fire() {
if (cooldown_1 == 0) {
var _local2 = Msf.coordinateConvert(clip.head, game.clip.obj, 30, -10);
game.add_obj3(new clipgame.obj.Bullet(_local2[0], _local2[1], ((dir.x > 0) ? (r) : (180 - r)), 30, "bullet_4", game.obj1, 25 / game.dif, game));
var _local3 = game.add_obclip("gun_fire_3", "gun_fire_3");
_local3._rotation = ((dir.x > 0) ? (r) : (180 - r));
_local3._x = _local2[0];
_local3._y = _local2[1];
game.clip.foreground.shoot_01.start();
cooldown_1 = cooldown_1 + cooldown_1n;
}
}
}
Symbol 1069 MovieClip [__Packages.clipgame.obj.E_4_2] Frame 0
class clipgame.obj.E_4_2 extends clipgame.obj.E_4
{
var cooldown_1n, cooldown_2n, experience, action, hide, speed, clip, dir, r, distance, recover, cooldown_1, cooldown_2, game, speed_a;
function E_4_2 (px, py, g, a) {
super(px, py, g, a);
cooldown_1n = 10;
cooldown_2n = 120;
experience = 40;
}
function movement() {
if ((action == 3) || (!hide(100))) {
if (speed.x == 0) {
clip.gotoAndStop(3);
} else {
clip.gotoAndStop(3 - Msf.dnum(speed.x, dir.x));
}
r = (-Math.atan2(distance.y, Math.abs(distance.x))) * Msf.R_PI;
clip.gun._rotation = (clip.head._rotation = r);
clip.head._x = r * 0.5;
clip.mc.clear();
clip.mc.lineStyle(5, 3355443, 100);
clip.mc.curveTo(0, -30, clip.head._x, clip.head._y + 15);
clip.gun.gotoAndStop(2);
gun_fire();
} else {
clip.gotoAndStop(1);
}
recover();
}
function gun_fire() {
if ((cooldown_1 == 0) && (cooldown_2 < 11)) {
var _local2 = Msf.coordinateConvert(clip.gun, game.clip.obj, 90, 0);
game.add_obj3(new clipgame.obj.Missile(_local2[0], _local2[1], ((dir.x > 0) ? (r) : (180 - r)), 15, "missile_1", game.obj1, 40 / game.dif, game));
var _local3 = game.add_obclip("gun_fire_2", "gun_fire_2");
_local3._rotation = ((dir.x > 0) ? (r) : (180 - r));
_local3._x = _local2[0];
_local3._y = _local2[1];
game.clip.foreground.shoot_04.start();
cooldown_1 = cooldown_1 + cooldown_1n;
speed_a.x = speed_a.x - Math.round((Math.cos(r / Msf.R_PI) * 10) * dir.x);
speed_a.y = speed_a.y - Math.round(Math.sin(r / Msf.R_PI) * 10);
}
}
}
Symbol 1070 MovieClip [__Packages.clipgame.obj.E_5] Frame 0
class clipgame.obj.E_5 extends clipgame.obj.E_0
{
var speed_k, health, experience, distance, curr, targets_n, targets, clip, dir, remove, action, speed, getway, hide, game;
function E_5 (px, py, g, a, h_k) {
super(px, py, 24, 24, "e5", g, a);
speed_k = 8;
(h_k == undefined) && (h_k = 1);
health = h_k * health;
experience = 5;
}
function moveclip() {
distance = curr.minusNew(targets[targets_n].curr);
clip._x = curr.x;
clip._y = curr.y;
clip._xscale = dir.x * 100;
action_f();
}
function death() {
remove();
}
function action_f() {
switch (action) {
case 0 :
speed.x = 0;
movement();
break;
case 1 :
if (getway()) {
dir.x = -dir.x;
}
speed.x = speed_k * dir.x;
movement();
break;
case 2 :
break;
case 3 :
if (Math.abs(distance.x) > 50) {
dir.x = -Msf.dnum(distance.x + 0.5);
speed.x = dir.x * speed_k;
}
movement();
}
}
function movement() {
if (!hide(100)) {
if (speed.x != 0) {
clip.gotoAndStop(2);
} else {
clip.gotoAndStop(3);
}
} else {
clip.gotoAndStop(1);
}
if ((Math.abs(distance.x) < 50) && (Math.abs(distance.y) < 50)) {
if (targets[targets_n].health > 0) {
targets[targets_n].health = targets[targets_n].health - (50 / game.dif);
var _local2 = game.add_obclip("elc", "elc");
_local2._x = targets[targets_n].curr.x;
_local2._y = targets[targets_n].curr.y;
} else {
targets[targets_n].death();
}
death();
}
}
}
Symbol 1071 MovieClip [__Packages.clipgame.obj.E_4_1] Frame 0
class clipgame.obj.E_4_1 extends clipgame.obj.E_4
{
var cooldown_1n, cooldown_2n, experience, action, hide, speed, clip, dir, r, distance, recover, cooldown_1, cooldown_2, game;
function E_4_1 (px, py, g, a) {
super(px, py, g, a);
cooldown_1n = 5;
cooldown_2n = 80;
experience = 40;
}
function movement() {
if ((action == 3) || (!hide(100))) {
if (speed.x == 0) {
clip.gotoAndStop(3);
} else {
clip.gotoAndStop(3 - Msf.dnum(speed.x, dir.x));
}
r = (-Math.atan2(distance.y, Math.abs(distance.x))) * Msf.R_PI;
clip.gun._rotation = (clip.head._rotation = r);
clip.head._x = r * 0.5;
clip.mc.clear();
clip.mc.lineStyle(5, 3355443, 100);
clip.mc.curveTo(0, -30, clip.head._x, clip.head._y + 15);
clip.gun.gotoAndStop(3);
gun_fire();
} else {
clip.gotoAndStop(1);
}
recover();
}
function gun_fire() {
if ((cooldown_1 == 0) && (cooldown_2 < 50)) {
var _local3 = Msf.coordinateConvert(clip.gun, game.clip.obj, 70, -5);
var _local4 = (r + 2) - (Math.random() * 4);
game.add_obj3(new clipgame.obj.Bullet(_local3[0], _local3[1], ((dir.x > 0) ? (_local4) : (180 - _local4)), 40, "bullet_2", game.obj1, 20 / game.dif, game));
var _local2 = game.add_obclip("gun_fire", "gun_fire");
_local2._rotation = ((dir.x > 0) ? (r) : (180 - r));
_local2._xscale = (_local2._yscale = 150);
_local2._x = _local3[0];
_local2._y = _local3[1];
game.clip.foreground.shoot_15.start();
clip.gun.gun_mc.play();
cooldown_1 = cooldown_1 + cooldown_1n;
}
}
}
Symbol 1072 MovieClip [__Packages.clipgame.obj.E_2] Frame 0
class clipgame.obj.E_2 extends clipgame.obj.E_0
{
var speed_k, experience, cooldown_1n, patrol, pt, health, speed_a, speed, curr, moveclip, action, barrier, remove, game, hide, r, distance, clip, recover, targets_n, targets, cooldown_1, dir;
function E_2 (px, py, g, a) {
super(px, py, 35, 35, "e2", g, a);
speed_k = 6;
experience = 10;
cooldown_1n = 50;
patrol = new clipgame.util.Vector(300, 200);
pt = new clipgame.util.Vector();
if (a == 0) {
pt.setTo(px, py);
} else if (a == 1) {
pt.setTo(px + patrol.x, py);
} else if (a == 2) {
pt.setTo(px, py + patrol.y);
} else {
changept();
}
}
function move() {
if (health <= 0) {
super.move();
death();
} else {
speed_a.y = speed_a.y - Msf.dnum(speed_a.y);
speed_a.x = speed_a.x - Msf.dnum(speed_a.x);
curr.x = curr.x + (speed.x + speed_a.x);
curr.y = curr.y + (speed.y + speed_a.y);
moveclip();
}
}
function death() {
speed.setTo(0, 0);
action = 4;
addsmoke();
if (barrier.y == 1) {
remove();
}
}
function addsmoke() {
var _local2 = game.add_obclip("smoke", "smoke");
_local2._x = (curr.x + 5) - (Math.random() * 10);
_local2._y = (curr.y + 5) - (Math.random() * 10);
}
function action_f() {
var _local3 = pt.x - curr.x;
var _local2 = pt.y - curr.y;
switch (action) {
case 0 :
if (Math.abs(_local3) < speed_k) {
speed.x = 0;
} else {
speed.x = Msf.dnum(_local3) * speed_k;
}
if (Math.abs(_local2) < speed_k) {
speed.y = 0;
} else {
speed.y = Msf.dnum(_local2) * speed_k;
}
movement();
break;
case 1 :
if (Math.abs(_local3) < speed_k) {
pt.x = pt.x - (Msf.dnum(speed.x) * patrol.x);
} else {
speed.x = Msf.dnum(_local3) * speed_k;
}
if (Math.abs(_local2) < speed_k) {
speed.y = 0;
} else {
speed.y = Msf.dnum(_local2) * speed_k;
}
movement();
break;
case 2 :
if (Math.abs(_local3) < speed_k) {
speed.x = 0;
} else {
speed.x = Msf.dnum(_local3) * speed_k;
}
if (Math.abs(_local2) < speed_k) {
pt.y = pt.y - (Msf.dnum(speed.y) * patrol.y);
} else {
speed.y = Msf.dnum(_local2) * speed_k;
}
movement();
break;
case 3 :
if ((Math.abs(_local3) < speed_k) && (Math.abs(_local2) < speed_k)) {
changept();
} else {
if (Math.abs(_local3) < speed_k) {
speed.x = 0;
} else {
speed.x = Msf.dnum(_local3) * speed_k;
}
if (Math.abs(_local2) < speed_k) {
speed.y = 0;
} else {
speed.y = Msf.dnum(_local2) * speed_k;
}
}
movement();
break;
case 4 :
}
}
function movement() {
if ((action == 3) || (!hide(100))) {
r = (-Math.atan2(distance.y, Math.abs(distance.x))) * Msf.R_PI;
clip.gotoAndStop(2);
gun_fire();
} else {
clip.gotoAndStop(1);
}
recover();
}
function changept() {
pt.x = Msf.rdm_0(targets[targets_n].curr.x, game.win_w);
pt.y = Msf.rdm_0(targets[targets_n].curr.y - 100, game.win_h / 2);
}
function gun_fire() {
if (cooldown_1 == 0) {
var _local2 = Msf.coordinateConvert(clip.body, game.clip.obj, 30, 20);
game.add_obj3(new clipgame.obj.Bullet(_local2[0], _local2[1], ((dir.x > 0) ? (r) : (180 - r)), 10, "bullet_0", game.obj1, 10 / game.dif, game));
var _local3 = game.add_obclip("gun_fire_1", "gun_fire_1");
_local3._x = _local2[0];
_local3._y = _local2[1];
game.clip.foreground.shoot_01.start();
cooldown_1 = cooldown_1 + cooldown_1n;
}
}
}
Symbol 1073 MovieClip [__Packages.clipgame.obj.E_3] Frame 0
class clipgame.obj.E_3 extends clipgame.obj.E_0
{
var speed_k, speed, experience, health_max, health, cooldown_1n, cooldown_2n, remove, action, getway, distance, dir, hide, clip, r, recover, cooldown_1, cooldown_2, game;
function E_3 (px, py, g, a) {
super(px, py, 40, 52, "e3", g, a);
speed.x = (speed_k = 5);
experience = 150;
health_max = (health = 3000);
cooldown_1n = 6;
cooldown_2n = 120;
}
function death() {
remove();
}
function action_f() {
switch (action) {
case 0 :
speed.x = 0;
movement();
break;
case 1 :
if (getway()) {
speed.x = -speed.x;
}
movement();
break;
case 2 :
break;
case 3 :
if (Math.abs(distance.x) > 200) {
speed.x = dir.x * speed_k;
}
movement();
}
}
function movement() {
if ((action == 3) || (!hide(100))) {
clip.gotoAndStop(2);
clip.gun.gotoAndStop(2);
r = (-Math.atan2(distance.y + clip.body._y, Math.abs(distance.x))) * Msf.R_PI;
clip.body._rotation = r * 0.5;
clip.body.head._rotation = r - clip.body._rotation;
clip.gun._rotation = r;
gun_fire();
if ((dir.x * speed.x) > 0) {
clip.wheel.play();
} else if ((dir.x * speed.x) < 0) {
clip.wheel.prevFrame();
if (clip.wheel._currentframe == 1) {
clip.wheel.gotoAndStop(clip.wheel._totalframes);
}
} else {
clip.wheel.stop();
}
} else {
clip.gotoAndStop(1);
}
recover();
}
function gun_fire() {
if (cooldown_1 == 0) {
if (cooldown_2 < 40) {
var _local2 = Msf.coordinateConvert(clip.body.head, game.clip.obj, 55, 18);
game.add_obj3(new clipgame.obj.Bullet(_local2[0], _local2[1], ((dir.x > 0) ? (r) : (180 - r)), 30, "bullet_4", game.obj1, 30 / game.dif, game));
var _local3 = game.add_obclip("gun_fire_3", "gun_fire_3");
_local3._x = _local2[0];
_local3._y = _local2[1];
_local3._rotation = ((dir.x > 0) ? (r) : (180 - r));
game.clip.foreground.shoot_01.start();
cooldown_1 = cooldown_1 + cooldown_1n;
}
if ((cooldown_2 < 100) && (cooldown_2 > 50)) {
var _local2 = Msf.coordinateConvert(clip.gun, game.clip.obj, 90, 0);
game.add_obj2(new clipgame.obj.Missile_auto(_local2[0], _local2[1], ((dir.x > 0) ? (r) : (180 - r)), 10, "missile_1", game.obj1, 50 / game.dif, game));
var _local3 = game.add_obclip("gun_fire_2", "gun_fire_2");
_local3._x = _local2[0];
_local3._y = _local2[1];
_local3._rotation = ((dir.x > 0) ? (r) : (180 - r));
game.clip.foreground.shoot_04.start();
cooldown_1 = cooldown_1 + 10;
}
}
}
}
Symbol 1074 MovieClip [__Packages.clipgame.obj.Missile_auto] Frame 0
class clipgame.obj.Missile_auto extends clipgame.obj.Bullet
{
var targets_n, targets, game, clip, name, r, curr, speed, speed_k, roll;
function Missile_auto (px, py, _r, sp, n, tary, p, g) {
super(px, py, _r, sp, n, tary, p);
targets_n = Math.round(Math.random() * (targets.length - 1));
game = g;
clip = game.add_obclip(name, name);
clip.owner = this;
}
function moveclip() {
super.moveclip();
var _local3 = (Math.atan2(targets[targets_n].curr.y - curr.y, targets[targets_n].curr.x - curr.x) * Msf.R_PI) - r;
if (_local3 >= 180) {
_local3 = _local3 - 360;
} else if (_local3 <= -180) {
_local3 = _local3 + 360;
}
r = r + (_local3 * 0.1);
speed.setTo(Math.cos(r / Msf.R_PI) * speed_k, Math.sin(r / Msf.R_PI) * speed_k);
roll = true;
}
function death() {
game.score = game.score + 1;
remove();
}
function remove() {
addboom();
for (var _local2 in game.obj2) {
if (game.obj2[_local2] == this) {
game.obj2.splice(Number(_local2), 1);
}
}
}
function addboom() {
clip.gotoAndPlay("destory");
game.add_obj3(new clipgame.obj.Boom(curr.x, curr.y, "boom_1", game));
}
function addsmoke() {
var _local2 = game.add_obclip("smoke", "smoke");
_local2._x = (curr.x + 4) - (Math.random() * 8);
_local2._y = (curr.y + 4) - (Math.random() * 8);
}
var W = 20;
var H = 20;
var health = 20;
}
Symbol 1075 MovieClip [__Packages.clipgame.obj.Boss] Frame 0
class clipgame.obj.Boss extends clipgame.obj.E_0
{
var speed_k, speed, health_max, health, cooldown_1n, cooldown_2n, experience, remove, action, getway, hide, r, distance, clip, recover, cooldown_1, cooldown_2, game, dir;
function Boss (px, py, g, a) {
super(px, py, 48, 90, "boss", g, a);
speed.x = (speed_k = 13);
health_max = (health = 6000);
cooldown_1n = 10;
cooldown_2n = 100;
experience = 1000;
}
function death() {
remove();
}
function action_f() {
switch (action) {
case 0 :
speed.x = 0;
movement();
break;
case 1 :
if (getway()) {
speed.x = -speed.x;
}
movement();
break;
case 2 :
break;
case 3 :
movement();
}
}
function movement() {
if ((action == 3) || (!hide(100))) {
r = (-Math.atan2(distance.y - 55, Math.abs(distance.x))) * Msf.R_PI;
clip.gotoAndStop(2);
clip.body.gun.gotoAndStop(5);
clip.body.gun._rotation = r;
gun_fire();
} else {
clip.gotoAndStop(1);
}
recover();
}
function gun_fire() {
if (cooldown_1 == 0) {
if (cooldown_2 < 60) {
var _local3 = Msf.coordinateConvert(clip.body, game.clip.obj, 5, 30);
game.add_obj2(new clipgame.obj.Missile_auto(_local3[0], _local3[1], ((dir.x > 0) ? -140 : -40), 10, "missile_1", game.obj1, 70 / game.dif, game));
var _local2 = game.add_obclip("gun_fire_2", "gun_fire_2");
_local2._rotation = ((dir.x > 0) ? (r) : (180 - r));
_local2._xscale = (_local2._yscale = 200);
_local2._x = _local3[0];
_local2._y = _local3[1];
game.clip.foreground.shoot_05.start();
cooldown_1 = cooldown_1 + cooldown_1n;
}
if ((cooldown_2 < 100) && (cooldown_2 > 65)) {
var _local3 = Msf.coordinateConvert(clip.body.gun, game.clip.obj, 120, -10);
var _local4 = (r + 2) - (Math.random() * 4);
game.add_obj3(new clipgame.obj.Bullet(_local3[0], _local3[1], ((dir.x > 0) ? (_local4) : (180 - _local4)), 35, "bullet_6", game.obj1, 25 / game.dif, game));
var _local2 = game.add_obclip("gun_fire", "gun_fire");
_local2._xscale = (_local2._yscale = 200);
_local2._x = _local3[0];
_local2._y = _local3[1];
_local2._rotation = ((dir.x > 0) ? (r) : (180 - r));
game.clip.foreground.shoot_16.start();
cooldown_1 = cooldown_1 + 4;
clip.gun.gun_mc.play();
}
}
}
}
Symbol 1076 MovieClip [__Packages.clipgame.obj.E_6_1] Frame 0
class clipgame.obj.E_6_1 extends clipgame.obj.E_6
{
var health_max, health, cooldown_1n, cooldown_2n, action, hide, clip, r, distance, recover, cooldown_1, cooldown_2, game, dir;
function E_6_1 (px, py, g, a) {
super(px, py, g, a);
health_max = (health = 2500);
cooldown_1n = 5;
cooldown_2n = 150;
}
function movement() {
if ((action == 3) || (!hide(100))) {
clip.gotoAndStop(2);
clip.body.gun.gotoAndStop(3);
r = (-Math.atan2(distance.y, Math.abs(distance.x))) * Msf.R_PI;
clip.body._rotation = r * 0.5;
clip.body.gun._rotation = r - clip.body._rotation;
clip.body.head._rotation = clip.body._rotation;
gun_fire();
} else {
clip.gotoAndStop(1);
}
recover();
}
function gun_fire() {
if ((cooldown_1 == 0) && (cooldown_2 < 50)) {
var _local3 = Msf.coordinateConvert(clip.body.gun, game.clip.obj, 70, -5);
var _local4 = (r + 2) - (Math.random() * 4);
game.add_obj3(new clipgame.obj.Bullet(_local3[0], _local3[1], ((dir.x > 0) ? (_local4) : (180 - _local4)), 40, "bullet_2", game.obj1, 20 / game.dif, game));
var _local2 = game.add_obclip("gun_fire", "gun_fire");
_local2._xscale = (_local2._yscale = 150);
_local2._x = _local3[0];
_local2._y = _local3[1];
_local2._rotation = ((dir.x > 0) ? (r) : (180 - r));
game.clip.foreground.shoot_15.start();
cooldown_1 = cooldown_1 + cooldown_1n;
clip.gun.gun_mc.play();
}
}
}
Symbol 1077 MovieClip [__Packages.clipgame.obj.E_1] Frame 0
class clipgame.obj.E_1 extends clipgame.obj.E_0
{
var speed_k, speed, experience, health_max, health, cooldown_1n, cooldown_2n, remove, action, getway, onground, distance, dir, hide, clip, speed_a, r, recover, cooldown_1, cooldown_2, game;
function E_1 (px, py, g, a) {
super(px, py, 40, 80, "e1", g, a);
speed.x = (speed_k = 6);
experience = 200;
health_max = (health = 3000);
cooldown_1n = 5;
cooldown_2n = 100;
}
function death() {
remove();
}
function action_f() {
switch (action) {
case 0 :
speed.x = 0;
movement();
break;
case 1 :
if (getway()) {
speed.x = -speed.x;
}
movement();
break;
case 2 :
break;
case 3 :
if (getway()) {
if (onground == 2) {
onground = 3;
}
}
if (Math.abs(distance.x) > 200) {
speed.x = dir.x * speed_k;
}
movement();
}
}
function movement() {
if ((action == 3) || (!hide(100))) {
if (onground == 2) {
clip.gotoAndStop(3 - Msf.dnum(speed.x, dir.x));
} else if (onground == 0) {
clip.gotoAndStop(6);
} else if (onground == 1) {
if (clip.leg._currentframe == 4) {
onground = 2;
speed.x = dir.x * speed_k;
} else {
speed.x = 0;
clip.gotoAndStop(7);
}
} else if (clip.leg._currentframe == 17) {
speed_a.y = -25;
} else {
clip.gotoAndStop(5);
speed.x = 0;
}
r = (-Math.atan2(distance.y + clip.body._y, Math.abs(distance.x))) * Msf.R_PI;
clip.body._rotation = r;
clip.body.gun.gotoAndStop(3);
gun_fire();
} else {
clip.gotoAndStop(1);
}
recover();
}
function gun_fire() {
if ((cooldown_1 == 0) && (cooldown_2 < 60)) {
var _local3 = Msf.coordinateConvert(clip.body, game.clip.obj, 100, 20);
var _local4 = (r + 2) - (Math.random() * 4);
game.add_obj3(new clipgame.obj.Bullet(_local3[0], _local3[1], ((dir.x > 0) ? (_local4) : (180 - _local4)), 40, "bullet_2", game.obj1, 30 / game.dif, game));
var _local2 = game.add_obclip("gun_fire", "gun_fire");
_local2._rotation = ((dir.x > 0) ? (r) : (180 - r));
_local2._xscale = (_local2._yscale = 150);
_local2._x = _local3[0];
_local2._y = _local3[1];
game.clip.foreground.shoot_15.start();
clip.body.gun.gun_mc.play();
cooldown_1 = cooldown_1 + cooldown_1n;
}
}
}
Symbol 1078 MovieClip [__Packages.clipgame.obj.E_2_1] Frame 0
class clipgame.obj.E_2_1 extends clipgame.obj.E_2
{
var experience, health_max, health, cooldown_1n, cooldown_2n, action, hide, clip, r, distance, recover, cooldown_1, cooldown_2, game, dir, speed_a;
function E_2_1 (px, py, g, a) {
super(px, py, g, a);
experience = 30;
health_max = (health = 200);
cooldown_1n = 10;
cooldown_2n = 100;
}
function movement() {
if ((action == 3) || (!hide(100))) {
clip.gotoAndStop(2);
r = (-Math.atan2(distance.y, Math.abs(distance.x))) * Msf.R_PI;
clip.gun.gotoAndStop(2);
clip.gun._rotation = r;
gun_fire();
} else {
clip.gotoAndStop(1);
}
recover();
}
function gun_fire() {
if ((cooldown_1 == 0) && (cooldown_2 < 20)) {
var _local2 = Msf.coordinateConvert(clip.gun, game.clip.obj, 90, 0);
game.add_obj2(new clipgame.obj.Missile_auto(_local2[0], _local2[1], ((dir.x > 0) ? (r) : (180 - r)), 10, "missile_1", game.obj1, 40 / game.dif, game));
var _local3 = game.add_obclip("gun_fire_2", "gun_fire_2");
_local3._x = _local2[0];
_local3._y = _local2[1];
_local3._rotation = ((dir.x > 0) ? (r) : (180 - r));
game.clip.foreground.shoot_05.start();
cooldown_1 = cooldown_1 + cooldown_1n;
speed_a.x = speed_a.x - Math.round((Math.cos(r / Msf.R_PI) * 15) * dir.x);
speed_a.y = speed_a.y - Math.round(Math.sin(r / Msf.R_PI) * 15);
}
}
}
Symbol 1079 MovieClip [__Packages.clipgame.obj.E_2_3] Frame 0
class clipgame.obj.E_2_3 extends clipgame.obj.E_2_1
{
var health_max, health, cooldown_1n, cooldown_1, cooldown_2, clip, game, dir, r;
function E_2_3 (px, py, g, a) {
super(px, py, g, a);
health_max = (health = 300);
cooldown_1n = 10;
}
function gun_fire() {
if ((cooldown_1 == 0) && (cooldown_2 < 30)) {
var _local2 = Msf.coordinateConvert(clip.gun, game.clip.obj, 90, 0);
game.add_obj3(new clipgame.obj.Bullet(_local2[0], _local2[1], ((dir.x > 0) ? (r) : (180 - r)), 60, "bullet_8", game.obj1, 60 / game.dif, game));
var _local3 = game.add_obclip("gun_fire_3", "gun_fire_3");
_local3._x = _local2[0];
_local3._y = _local2[1];
_local3._rotation = ((dir.x > 0) ? (r) : (180 - r));
game.clip.foreground.shoot_07.start();
cooldown_1 = cooldown_1 + cooldown_1n;
}
}
}
Symbol 1080 MovieClip [__Packages.clipgame.obj.E_1_1] Frame 0
class clipgame.obj.E_1_1 extends clipgame.obj.E_1
{
var health_max, health, cooldown_1n, cooldown_2n, action, hide, onground, clip, speed, dir, speed_k, speed_a, r, distance, recover, cooldown_1, cooldown_2, game;
function E_1_1 (px, py, g, a) {
super(px, py, g, a);
health_max = (health = 4500);
cooldown_1n = 10;
cooldown_2n = 90;
}
function movement() {
if ((action == 3) || (!hide(100))) {
if (onground == 2) {
clip.gotoAndStop(3 - Msf.dnum(speed.x, dir.x));
} else if (onground == 0) {
clip.gotoAndStop(6);
speed.x = dir.x * speed_k;
} else if (onground == 1) {
if (clip.leg._currentframe == 4) {
onground = 2;
speed.x = dir.x * speed_k;
} else {
speed.x = 0;
clip.gotoAndStop(7);
}
} else if (clip.leg._currentframe == 17) {
speed_a.y = -25;
} else {
clip.gotoAndStop(5);
speed.x = 0;
}
r = (-Math.atan2(distance.y + clip.body._y, Math.abs(distance.x))) * Msf.R_PI;
clip.body._rotation = r * 0.5;
clip.gun._rotation = r;
clip.gun._y = clip.body._y;
clip.gun.gotoAndStop(4);
gun_fire();
} else {
clip.gotoAndStop(1);
}
recover();
}
function gun_fire() {
if (cooldown_1 == 0) {
if (cooldown_2 < 31) {
var _local4 = (cooldown_2 / 10) - 1;
if (_local4 > 2) {
_local4 = _local4 - 4;
}
var _local2 = Msf.coordinateConvert(clip.gun, game.clip.obj, 39, _local4 * 14);
game.add_obj2(new clipgame.obj.Missile_auto(_local2[0], _local2[1], ((dir.x > 0) ? (r) : (180 - r)), 10, "missile_1", game.obj1, 50 / game.dif, game));
var _local3 = game.add_obclip("gun_fire_2", "gun_fire_2");
_local3._x = _local2[0];
_local3._y = _local2[1];
_local3._rotation = ((dir.x > 0) ? (r) : (180 - r));
game.clip.foreground.shoot_04.start();
cooldown_1 = cooldown_1 + cooldown_1n;
}
if ((cooldown_2 < 80) && (cooldown_2 > 40)) {
var _local2 = Msf.coordinateConvert(clip.gun, game.clip.obj, 15, 22);
game.add_obj3(new clipgame.obj.Bullet(_local2[0], _local2[1], ((dir.x > 0) ? (r) : (180 - r)), 60, "bullet_8", game.obj1, 70 / game.dif, game));
var _local3 = game.add_obclip("gun_fire_3", "gun_fire_3");
_local3._x = _local2[0];
_local3._y = _local2[1];
_local3._rotation = ((dir.x > 0) ? (r) : (180 - r));
game.clip.foreground.shoot_08.start();
cooldown_1 = cooldown_1 + cooldown_1n;
}
}
}
}
Symbol 1081 MovieClip [__Packages.clipgame.obj.E_2_2] Frame 0
class clipgame.obj.E_2_2 extends clipgame.obj.E_2
{
var experience, health_max, health, cooldown_1n, cooldown_2n, action, hide, clip, r, distance, recover, cooldown_1, cooldown_2, game, dir;
function E_2_2 (px, py, g, a) {
super(px, py, g, a);
experience = 30;
health_max = (health = 200);
cooldown_1n = 5;
cooldown_2n = 100;
}
function movement() {
if ((action == 3) || (!hide(100))) {
clip.gotoAndStop(2);
r = (-Math.atan2(distance.y, Math.abs(distance.x))) * Msf.R_PI;
clip.gun.gotoAndStop(3);
clip.gun._rotation = r;
gun_fire();
} else {
clip.gotoAndStop(1);
}
recover();
}
function gun_fire() {
if ((cooldown_1 == 0) && (cooldown_2 < 20)) {
var _local3 = Msf.coordinateConvert(clip.gun, game.clip.obj, 70, -5);
var _local4 = (r + 2) - (Math.random() * 4);
game.add_obj3(new clipgame.obj.Bullet(_local3[0], _local3[1], ((dir.x > 0) ? (_local4) : (180 - _local4)), 40, "bullet_2", game.obj1, 20 / game.dif, game));
var _local2 = game.add_obclip("gun_fire", "gun_fire");
_local2._xscale = (_local2._yscale = 150);
_local2._x = _local3[0];
_local2._y = _local3[1];
_local2._rotation = ((dir.x > 0) ? (r) : (180 - r));
game.clip.foreground.shoot_15.start();
cooldown_1 = cooldown_1 + cooldown_1n;
clip.gun.gun_mc.play();
}
}
}
Symbol 1082 MovieClip [__Packages.clipgame.obj.Car_0] Frame 0
class clipgame.obj.Car_0 extends clipgame.obj.Obj
{
var speed_k, speed, game, health_max, health, action, clip, name, curr, barrier, dir;
function Car_0 (px, py, g, h_k) {
super(px, py, 48, 48, "car_0");
speed.x = (speed_k = 2);
game = g;
(h_k == undefined) && (h_k = 1);
health_max = (health = (2000 * h_k) / game.dif);
action = 1;
clip = game.add_obclip(name, name);
clip.owner = this;
}
function moveclip() {
super.moveclip();
clip.health._xscale = (health / health_max) * 100;
action_f();
}
function death() {
remove();
}
function remove() {
game.add_obj3(new clipgame.obj.Boom(curr.x, curr.y, "boom_1"));
clip.gotoAndPlay("destory");
for (var _local2 in game.obj2) {
if (game.obj1[_local2] == this) {
game.obj1.splice(Number(_local2), 1);
}
}
}
function action_f() {
switch (action) {
case 0 :
speed.x = 0;
movement();
break;
case 1 :
if (getway()) {
speed.x = -speed.x;
}
movement();
break;
case 2 :
break;
case 3 :
}
}
function getway() {
if (barrier.x != 0) {
return(true);
}
return(false);
}
function movement() {
if (speed.x != 0) {
dir.x = Msf.dnum(speed.x);
}
}
}
Symbol 1083 MovieClip [__Packages.clipgame.obj.E_3_1] Frame 0
class clipgame.obj.E_3_1 extends clipgame.obj.E_3
{
var health_max, health, cooldown_1n, cooldown_2n, remove, action, hide, clip, r, distance, speed, dir, recover, cooldown_1, cooldown_2, game;
function E_3_1 (px, py, g, a) {
super(px, py, g, a);
health_max = (health = 3500);
cooldown_1n = 6;
cooldown_2n = 120;
}
function death() {
remove();
}
function movement() {
if ((action == 3) || (!hide(100))) {
clip.gotoAndStop(2);
clip.gun.gotoAndStop(3);
r = (-Math.atan2(distance.y + clip.body._y, Math.abs(distance.x))) * Msf.R_PI;
clip.body._rotation = r * 0.5;
clip.body.head._rotation = r - clip.body._rotation;
clip.gun._rotation = r;
gun_fire();
if ((dir.x * speed.x) > 0) {
clip.wheel.play();
} else if ((dir.x * speed.x) < 0) {
clip.wheel.prevFrame();
if (clip.wheel._currentframe == 1) {
clip.wheel.gotoAndStop(clip.wheel._totalframes);
}
} else {
clip.wheel.stop();
}
} else {
clip.gotoAndStop(1);
}
recover();
}
function gun_fire() {
if (cooldown_1 == 0) {
if (cooldown_2 < 30) {
var _local3 = Msf.coordinateConvert(clip.body.head, game.clip.obj, 55, 18);
game.add_obj3(new clipgame.obj.Bullet(_local3[0], _local3[1], ((dir.x > 0) ? (r) : (180 - r)), 30, "bullet_4", game.obj1, 25, game));
var _local2 = game.add_obclip("gun_fire_3", "gun_fire");
_local2._x = _local3[0];
_local2._y = _local3[1];
_local2._rotation = ((dir.x > 0) ? (r) : (180 - r));
game.clip.foreground.shoot_01.start();
cooldown_1 = cooldown_1 + cooldown_1n;
}
if ((cooldown_2 < 100) && (cooldown_2 > 50)) {
var _local3 = Msf.coordinateConvert(clip.gun, game.clip.obj, 70, -5);
var _local4 = (r + 2) - (Math.random() * 4);
game.add_obj3(new clipgame.obj.Bullet(_local3[0], _local3[1], ((dir.x > 0) ? (_local4) : (180 - _local4)), 40, "bullet_2", game.obj1, 20 / game.dif, game));
var _local2 = game.add_obclip("gun_fire", "gun_fire");
_local2._xscale = (_local2._yscale = 150);
_local2._x = _local3[0];
_local2._y = _local3[1];
_local2._rotation = ((dir.x > 0) ? (r) : (180 - r));
game.clip.foreground.shoot_15.start();
cooldown_1 = cooldown_1 + cooldown_1n;
clip.gun.gun_mc.play();
}
}
}
}
Symbol 14 Button
on (press) {
gotoAndStop ("submit");
}
Symbol 30 Button
on (release) {
viewHighscore();
}
Symbol 31 MovieClip Frame 1
stop();
_global.game_name = _game_name;
var highscore = eval (score_var);
_global.viewHighscore = function () {
getURL ("http://www.freeworldgroup.com/score/index.asp?game=" + game_name, "_blank");
};
if (highscore == 0) {
this._visible = false;
}
trace(game_name);
trace(highscore);
trace("http://www.freeworldgroup.com/score/index.asp?game=" + game_name);
Symbol 31 MovieClip Frame 3
function sendData() {
send_var.game = game_name;
send_var.score = highscore;
send_var.name = name_txt.text;
if (send_var.name == "") {
send_var.name = "guest" + int(Math.random() * 1000);
}
send_var.sendAndLoad("http://www.freeworldgroup.com/score/score.asp", load_var, "POST");
gotoAndStop ("sending");
}
stop();
gold_txt.text = highscore;
gold_txt.backgroundColor = 16777215 /* 0xFFFFFF */;
name_txt.backgroundColor = 16777215 /* 0xFFFFFF */;
send_var = new LoadVars();
load_var = new LoadVars();
ok_btn.onRelease = sendData;
load_var.onLoad = function () {
gotoAndStop ("done");
};
Instance of Symbol 19 MovieClip in Symbol 31 MovieClip Frame 3
on (press) {
_parent.gotoAndStop("submited");
}
Symbol 141 MovieClip Frame 1
_parent.body._y = -19;
Symbol 141 MovieClip Frame 3
_parent.body._y = -20;
Symbol 141 MovieClip Frame 5
_parent.body._y = -19;
Symbol 141 MovieClip Frame 7
_parent.body._y = -16;
Symbol 141 MovieClip Frame 9
_parent.body._y = -19;
Symbol 141 MovieClip Frame 11
_parent.body._y = -20;
Symbol 141 MovieClip Frame 13
_parent.body._y = -19;
Symbol 141 MovieClip Frame 15
_parent.body._y = -16;
Symbol 204 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 1
stop();
Symbol 214 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 1
stop();
Symbol 218 MovieClip Frame 1
stop();
Symbol 219 MovieClip Frame 1
_parent.haircolor();
if (!_parent.owner.gun_ary[_parent.owner.gun_now[0]][2]) {
_parent.owner.gun_now = [0][_parent.owner.gun_ary[0]];
}
gun.gotoAndStop(_parent.owner.gun_now[0] + 1);
Symbol 220 MovieClip Frame 1
_parent.body._y = -17;
Symbol 221 MovieClip Frame 1
_parent.body._y = -19;
Symbol 221 MovieClip Frame 3
_parent.body._y = -20;
Symbol 221 MovieClip Frame 5
_parent.body._y = -19;
Symbol 221 MovieClip Frame 7
_parent.body._y = -16;
Symbol 221 MovieClip Frame 9
_parent.body._y = -19;
Symbol 221 MovieClip Frame 11
_parent.body._y = -20;
Symbol 221 MovieClip Frame 13
_parent.body._y = -19;
Symbol 221 MovieClip Frame 15
_parent.body._y = -16;
Symbol 227 MovieClip Frame 1
_parent.body._y = -18;
Symbol 227 MovieClip Frame 5
stop();
Symbol 228 MovieClip Frame 1
_parent.body._y = 1;
Symbol 228 MovieClip Frame 3
_parent.body._y = -7;
Symbol 228 MovieClip Frame 5
_parent.body._y = -13;
Symbol 228 MovieClip Frame 6
stop();
Symbol 229 MovieClip Frame 1
_parent.body._y = -18;
Symbol 229 MovieClip Frame 5
stop();
Symbol 230 MovieClip Frame 1
_parent.body._y = -19;
Symbol 230 MovieClip Frame 3
_parent.body._x = 6;
_parent.body._y = -3;
Symbol 230 MovieClip Frame 5
_parent.body._x = 8;
_parent.body._y = 3;
stop();
Symbol 231 MovieClip Frame 1
_parent.body._y = 1;
Symbol 231 MovieClip Frame 3
_parent.body._y = 15;
stop();
Symbol 232 MovieClip Frame 1
_parent.body._y = -18;
Symbol 232 MovieClip Frame 3
_parent.body._x = 2;
_parent.body._y = -10;
Symbol 232 MovieClip Frame 5
_parent.body._x = -1;
_parent.body._y = -1;
stop();
Symbol 235 MovieClip Frame 30
_parent.owner.ready = false;
stop();
Symbol 236 MovieClip Frame 29
_parent.owner.ready = true;
_parent.gotoAndStop(3);
Symbol 237 MovieClip [zplayer] Frame 1
function changeClothes() {
for (var _local1 in leg) {
if ((leg[_local1]._name == "shoot_1") || (leg[_local1]._name == "shoot_2")) {
leg[_local1].gotoAndStop(clothes);
continue;
}
leg[_local1].gotoAndStop(skin);
leg[_local1].clothes.gotoAndStop(clothes);
}
body.body_mc.gotoAndStop(skin);
body.gun.arm.gotoAndStop(skin);
body.head.face.gotoAndStop(skin);
body.body_mc.clothes.gotoAndStop(clothes);
body.gun.arm.clothes.gotoAndStop(clothes);
}
function haircolor() {
var _local1 = new flash.geom.ColorTransform(1, 1, 1, 1, R, G, B, 0);
var _local2 = new flash.geom.Transform(body.head.hair_1);
_local2.colorTransform = _local1;
_local2 = new flash.geom.Transform(body.head.hair_2);
_local2.colorTransform = _local1;
}
Symbol 237 MovieClip [zplayer] Frame 2
changeClothes();
body._x = 4;
Symbol 237 MovieClip [zplayer] Frame 3
changeClothes();
body._x = 4;
Symbol 237 MovieClip [zplayer] Frame 4
changeClothes();
body._x = 4;
Symbol 237 MovieClip [zplayer] Frame 5
changeClothes();
body._x = 4;
Symbol 237 MovieClip [zplayer] Frame 6
changeClothes();
body._x = 4;
Symbol 237 MovieClip [zplayer] Frame 7
changeClothes();
body._x = 4;
Symbol 237 MovieClip [zplayer] Frame 8
changeClothes();
body._x = 4;
Symbol 237 MovieClip [zplayer] Frame 9
changeClothes();
body._x = 4;
Symbol 237 MovieClip [zplayer] Frame 10
changeClothes();
body._x = 4;
Symbol 237 MovieClip [zplayer] Frame 13
stop();
Instance of Symbol 251 MovieClip [background] in Symbol 271 MovieClip Frame 50
onClipEvent (load) {
this.gotoAndStop(5);
}
Instance of Symbol 251 MovieClip [background] in Symbol 271 MovieClip Frame 426
onClipEvent (load) {
gotoAndStop (5);
}
Symbol 271 MovieClip Frame 580
_parent._parent.gotoAndPlay("changeground");
stop();
Symbol 274 MovieClip Frame 40
stop();
Symbol 276 MovieClip Frame 30
stop();
Symbol 277 MovieClip Frame 40
stop();
Symbol 279 MovieClip Frame 25
stop();
Symbol 280 MovieClip Frame 40
stop();
Symbol 281 MovieClip Frame 45
stop();
Symbol 282 MovieClip Frame 45
stop();
Symbol 283 MovieClip Frame 1
stop();
Symbol 284 MovieClip Frame 1
var Width = 650;
var Height = 400;
var num_x = 13;
var num_y = 8;
var timer = 1;
var action = Math.round(Math.random() * 5);
var md = Math.round((Math.random() * 2) + 1);
var ff = Boolean(Math.round(Math.random()));
var fx = Boolean(Math.round(Math.random()));
var fy = Boolean(Math.round(Math.random()));
var b_x = 10;
var b_y = 10;
i = 1;
while (this["mc" + i] != undefined) {
removeMovieClip(this["mc" + i]);
i++;
}
clearInterval(intervalId);
Symbol 284 MovieClip Frame 2
function fun_mask() {
if (i < num_sum) {
i && (mc0.duplicateMovieClip("mc" + i, i));
this["mc" + i].gotoAndStop(md);
switch (action) {
case 0 :
if (ff) {
this["mc" + i]._x = (fx ? (i % num_x) : ((num_x - (i % num_x)) - 1)) * dw;
this["mc" + i]._y = (fy ? (Math.floor(i / num_x)) : ((num_y - Math.floor(i / num_x)) - 1)) * dh;
} else {
this["mc" + i]._x = (fx ? (Math.floor(i / num_y)) : ((num_x - Math.floor(i / num_y)) - 1)) * dw;
this["mc" + i]._y = (fy ? (i % num_y) : ((num_y - (i % num_y)) - 1)) * dh;
}
break;
case 1 :
if (ff) {
this["mc" + i]._x = ((Math.floor((i / num_x) + fx) % 2) ? (i % num_x) : ((num_x - (i % num_x)) - 1)) * dw;
this["mc" + i]._y = (fy ? (Math.floor(i / num_x)) : ((num_y - Math.floor(i / num_x)) - 1)) * dh;
} else {
this["mc" + i]._x = (fx ? (Math.floor(i / num_y)) : ((num_x - Math.floor(i / num_y)) - 1)) * dw;
this["mc" + i]._y = ((Math.floor((i / num_y) + fy) % 2) ? (i % num_y) : ((num_y - (i % num_y)) - 1)) * dh;
}
break;
case 2 :
if (ff) {
this["mc" + i]._x = ((Math.floor((i / num_x) + fx) % 2) ? (i % num_x) : ((num_x - (i % num_x)) - 1)) * dw;
this["mc" + i]._y = ((Math.floor((i / num_x) + fx) % 2) ? (Math.floor((i / num_x) / 2)) : ((num_y - Math.floor((i / num_x) / 2)) - 1)) * dh;
} else {
this["mc" + i]._x = ((Math.floor((i / num_y) + fy) % 2) ? (Math.floor((i / num_y) / 2)) : ((num_x - Math.floor((i / num_y) / 2)) - 1)) * dw;
this["mc" + i]._y = ((Math.floor((i / num_y) + fy) % 2) ? (i % num_y) : ((num_y - (i % num_y)) - 1)) * dh;
}
break;
case 3 :
if (i < ((s + num_x) - ((2 * n) + 1))) {
this["mc" + i]._x = ((num_x - ((((n + s) + num_x) - ((2 * n) + 1)) - i)) - 1) * dw;
this["mc" + i]._y = (ff ? ((num_y - n) - 1) : (n)) * dh;
} else if (i < (((s + num_x) + num_y) - (2 * ((2 * n) + 1)))) {
this["mc" + i]._x = ((num_x - n) - 1) * dw;
this["mc" + i]._y = (ff ? (((((n + s) + num_x) + num_y) - (2 * ((2 * n) + 1))) - i) : ((num_y - (((((n + s) + num_x) + num_y) - (2 * ((2 * n) + 1))) - i)) - 1)) * dh;
} else if (i < (((s + (2 * (num_x - ((2 * n) + 1)))) + num_y) - ((2 * n) + 1))) {
this["mc" + i]._x = (((((n + s) + (2 * (num_x - ((2 * n) + 1)))) + num_y) - ((2 * n) + 1)) - i) * dw;
this["mc" + i]._y = (ff ? (n) : ((num_y - n) - 1)) * dh;
} else {
this["mc" + i]._x = n * dw;
this["mc" + i]._y = (ff ? ((num_y - (((n + s) + (2 * ((num_x + num_y) - (2 * ((2 * n) + 1))))) - i)) - 1) : (((n + s) + (2 * ((num_x + num_y) - (2 * ((2 * n) + 1))))) - i)) * dh;
if (i == ((s + (2 * ((num_x + num_y) - (2 * ((2 * n) + 1))))) - 1)) {
s = s + (2 * ((num_x + num_y) - (2 * ((2 * n) + 1))));
n++;
}
}
break;
case 4 :
if (i < ((s + num_x) - ((2 * n) + 1))) {
this["mc" + i]._x = (num_x - ((((n + s) + num_x) - ((2 * n) + 1)) - i)) * dw;
this["mc" + i]._y = (ff ? ((num_y - n) - 1) : (n)) * dh;
} else if (i < (((s + num_x) + num_y) - (2 * ((2 * n) + 1)))) {
this["mc" + i]._x = ((num_x - n) - 1) * dw;
this["mc" + i]._y = (ff ? ((((((n + s) + num_x) + num_y) - (2 * ((2 * n) + 1))) - i) - 1) : (num_y - (((((n + s) + num_x) + num_y) - (2 * ((2 * n) + 1))) - i))) * dh;
} else if (i < (((s + (2 * (num_x - ((2 * n) + 1)))) + num_y) - ((2 * n) + 1))) {
this["mc" + i]._x = ((((((n + s) + (2 * (num_x - ((2 * n) + 1)))) + num_y) - ((2 * n) + 1)) - i) - 1) * dw;
this["mc" + i]._y = (ff ? (n) : ((num_y - n) - 1)) * dh;
} else {
this["mc" + i]._x = n * dw;
this["mc" + i]._y = (ff ? (num_y - (((n + s) + (2 * ((num_x + num_y) - (2 * ((2 * n) + 1))))) - i)) : ((((n + s) + (2 * ((num_x + num_y) - (2 * ((2 * n) + 1))))) - i) - 1)) * dh;
if (i == ((s + (2 * ((num_x + num_y) - (2 * ((2 * n) + 1))))) - 1)) {
s = s + (2 * ((num_x + num_y) - (2 * ((2 * n) + 1))));
n--;
}
}
break;
case 5 :
tp = Math.round(Math.random() * (num_ary.length - 1));
num_ary[tp];
if (ff) {
this["mc" + i]._x = (fx ? (num_ary[tp] % num_x) : ((num_x - (num_ary[tp] % num_x)) - 1)) * dw;
this["mc" + i]._y = (fy ? (Math.floor(num_ary[tp] / num_x)) : ((num_y - Math.floor(num_ary[tp] / num_x)) - 1)) * dh;
} else {
this["mc" + i]._x = (fx ? (Math.floor(num_ary[tp] / num_y)) : ((num_x - Math.floor(num_ary[tp] / num_y)) - 1)) * dw;
this["mc" + i]._y = (fy ? (num_ary[tp] % num_y) : ((num_y - (num_ary[tp] % num_y)) - 1)) * dh;
}
num_ary.splice(tp, 1);
break;
}
this["mc" + i]._xscale = dw * b_x;
this["mc" + i]._yscale = dh * b_y;
i++;
} else {
clearInterval(intervalId);
}
}
var i = 0;
var dw = (Width / num_x);
var dh = (Height / num_y);
var num_sum = (num_x * num_y);
if (action == 3) {
var n = 0;
var s = 0;
} else if (action == 4) {
var n = (Math.ceil((2 * num_sum) / (((Math.abs(num_x - num_y) + 2) * 2) + (2 * ((num_x + num_y) - 2)))) - 1);
var s = 0;
} else if (action == 5) {
var num_ary = new Array();
while (i < num_sum) {
num_ary[i] = i;
i++;
}
}
this._x = dw / 2;
this._y = dh / 2;
i = 0;
var intervalId = setInterval(this, "fun_mask", timer);
stop();
Symbol 320 MovieClip Frame 18
removeMovieClip(this);
stop();
Instance of Symbol 251 MovieClip [background] in Symbol 359 MovieClip Frame 59
onClipEvent (load) {
gotoAndStop (5);
}
Symbol 359 MovieClip Frame 828
_parent.gotoAndStop("gameend");
stop();
Symbol 386 Button
on (release) {
((clothes < cmax) ? (_global.clothes++) : ((_global.clothes = 1)));
_parent._parent.o1.clip.changeClothes();
}
Symbol 395 Button
on (release) {
if (_currentframe != 3) {
gotoAndStop (3);
_parent._parent._parent.mygame.pause = 1;
} else {
_parent._parent._parent.mygame.pause = 0;
gotoAndStop (1);
}
}
Symbol 401 Button
on (release) {
if (_currentframe != 2) {
gotoAndStop (2);
_parent._parent.mygame.pause = 1;
} else {
_parent._parent.mygame.pause = 0;
gotoAndStop (1);
}
}
Symbol 410 MovieClip Frame 1
if (_root.sd.sd.getVolume() == 0) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
btn.onPress = function () {
if (_root.sd.sd.getVolume() == 0) {
_root.sd.sd.setVolume(35);
gotoAndStop (1);
} else {
_root.sd.sd.setVolume(0);
gotoAndStop (2);
}
};
Symbol 417 MovieClip Frame 1
if (_parent._parent.sd.getVolume() == 0) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
btn.onPress = function () {
if (_parent._parent.sd.getVolume() == 0) {
_parent._parent.sd.setVolume(60);
gotoAndStop (1);
} else {
_parent._parent.sd.setVolume(0);
gotoAndStop (2);
}
};
Symbol 421 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 423 Button
on (release) {
gotoAndStop (4);
}
Symbol 428 Button
on (press) {
_root._quality = "LOW";
gotoAndStop (1);
}
Symbol 429 Button
on (press) {
_root._quality = "MEDIUM";
gotoAndStop (1);
}
Symbol 430 Button
on (press) {
_root._quality = "HIGH";
gotoAndStop (1);
}
Symbol 431 Button
on (press) {
_root._quality = "BEST";
gotoAndStop (1);
}
Symbol 439 Button
on (press) {
if (save(n)) {
_parent._parent.mygame.pause = 0;
gotoAndStop (1);
}
}
Symbol 440 Button
on (press) {
_parent._parent.mygame.pause = 0;
gotoAndStop (1);
}
Symbol 453 MovieClip [car_0] Frame 1
stop();
Symbol 453 MovieClip [car_0] Frame 2
removeMovieClip(this);
Symbol 454 MovieClip Frame 1
if (_parent._parent.mission != 0) {
trace(_parent._parent.mission);
_parent._parent.mygame.pause = 1;
gotoAndStop(_parent._parent.mission);
} else {
stop();
}
Symbol 454 MovieClip Frame 4
function save(datanum) {
if (_root.word == undefined) {
if (datanum != undefined) {
if (this["data_" + datanum].text == "none") {
_root.attachMovie("word", "word", 500, {_x:325, _y:200, st:"Change a name!"});
return(false);
}
_root.attachMovie("word", "word", 500, {_x:325, _y:200, st:"Saved"});
so.data["data" + datanum] = new Array();
so.data["data" + datanum][0] = this["data_" + datanum].text;
var _local4 = 0;
while (_local4 < _parent._parent.o1.info_bk.length) {
so.data["data" + datanum][_local4 + 1] = _parent._parent.o1.info_bk[_local4];
_local4++;
}
so.flush();
trace(so.data["data" + datanum]);
return(true);
}
_root.attachMovie("word", "word", 500, {_x:325, _y:200, st:"select a data!"});
return(false);
}
return(false);
}
var so = SharedObject.getLocal("cyborg_info");
var n;
var i = 0;
while (i < 5) {
this["data_" + i].type = "input";
this["data_" + i].restrict = "A-Z a-z 0-9";
this["data_" + i].maxChars = 6;
if (so.data["data" + i][0] == undefined) {
this["data_" + i].text = "none";
} else {
this["data_" + i].text = so.data["data" + i][0];
}
this["data_" + i].n = i;
this["data_" + i].rem = this;
this["data_" + i].onSetFocus = function (oldFocus) {
this.rem.n = this.n;
};
i++;
}
Symbol 454 MovieClip Frame 5
_parent._parent.mission = 0;
Symbol 454 MovieClip Frame 6
_parent._parent.mission = 0;
Symbol 454 MovieClip Frame 7
_parent._parent.mission = 0;
Symbol 456 MovieClip Frame 1
stop();
Symbol 458 MovieClip Frame 1
var player = _parent._parent.o1;
onEnterFrame = function () {
if (player.up.press() < 1) {
_parent.w.gotoAndStop(1);
} else {
_parent.w.gotoAndStop(2);
}
if (player.down.press() < 1) {
_parent.s.gotoAndStop(1);
} else {
_parent.s.gotoAndStop(2);
}
if (player.left.press() < 1) {
_parent.a.gotoAndStop(1);
} else if (player.left.press() < 2) {
_parent.a.gotoAndStop(2);
} else {
_parent.a.gotoAndStop(3);
}
if (player.right.press() < 1) {
_parent.d.gotoAndStop(1);
} else if (player.right.press() < 2) {
_parent.d.gotoAndStop(2);
} else {
_parent.d.gotoAndStop(3);
}
if (player.qp.press() < 1) {
_parent.q.gotoAndStop(1);
} else {
_parent.q.gotoAndStop(2);
}
if (player.en.press() < 1) {
_parent.e.gotoAndStop(1);
} else {
_parent.e.gotoAndStop(2);
}
};
Symbol 462 Button
on (release) {
_parent.mygame.pause = 10;
_parent.mygame.changemap();
var i = 1;
while (i < 7) {
_parent.o1.gun_ary[i][2] = false;
i++;
}
_parent.mygame.level = 0;
_parent.o1.now_bk();
_parent.gotoAndPlay("changeground");
}
Symbol 464 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 481 MovieClip Frame 1
cacheAsBitmap = true;
Symbol 482 MovieClip Frame 1
cacheAsBitmap = true;
Symbol 483 MovieClip Frame 1
cacheAsBitmap = true;
Symbol 484 MovieClip Frame 1
cacheAsBitmap = true;
Symbol 485 MovieClip Frame 1
function time() {
camera_x = Math.random() * 650;
camera_y = Math.random() * 400;
boo = 20;
}
back._xscale = (back._yscale = 65);
mid._xscale = (mid._yscale = 90);
mid_2._xscale = (mid_2._yscale = 115);
fround._xscale = (fround._yscale = 140);
var v0 = (new clipgame.util.Vector());
var v1 = (new clipgame.util.Vector());
var v2 = (new clipgame.util.Vector());
var v3 = (new clipgame.util.Vector());
v0.x = (back._width - 650) / 650;
v0.y = (back._height - 400) / 400;
v1.x = (mid._width - 650) / (back._width - 650);
v1.y = (mid._height - 400) / (back._height - 400);
v2.x = (mid_2._width - 650) / (back._width - 650);
v2.y = (mid_2._height - 400) / (back._height - 400);
v3.x = (fround._width - 650) / (back._width - 650);
v3.y = (fround._height - 400) / (back._height - 400);
var camera_x = 0;
var camera_y = 0;
var boo = 30;
back.filters = [new flash.filters.BlurFilter(2, 2)];
mid.filters = [new flash.filters.BlurFilter(4, 4)];
mid_2.filters = [new flash.filters.BlurFilter(6, 6)];
fround.filters = [new flash.filters.BlurFilter(8, 8)];
onMouseMove = function () {
camera_x = _root._xmouse;
camera_y = _root._ymouse;
boo = 20;
updateAfterEvent();
};
onEnterFrame = function () {
var _local2 = (camera_x * v0.x) + back._x;
var _local1 = (camera_y * v0.y) + back._y;
if ((Math.abs(_local2) < 0.5) && (Math.abs(_local1) < 0.5)) {
time();
}
back._x = back._x - (_local2 * 0.1);
back._y = back._y - (_local1 * 0.1);
mid._x = back._x * v1.x;
mid._y = back._y * v1.y;
mid_2._x = back._x * v2.x;
mid_2._y = back._y * v2.y;
fround._x = back._x * v3.x;
fround._y = back._y * v3.y;
};
Symbol 490 MovieClip Frame 1
txt.text = "score " + _parent._parent._parent.mygame.score;
Symbol 493 Button
on (release) {
_parent._parent.mygame.level++;
_parent._parent.mygame.score = _parent._parent.mygame.score + (Math.round((_parent._parent.o1.health / _parent._parent.o1.health_max) / _root.level_new[19]) * 500);
_parent._parent.mygame.score = _parent._parent.mygame.score + Math.round((6000 / _parent._parent.mygame.leveltime) / _root.level_new[19]);
_parent._parent.mygame.changemap();
_parent._parent.o1.now_bk();
if (_parent._parent.mygame.level != 29) {
_parent._parent.gotoAndPlay("changeground");
} else {
_parent._parent.mygame.pause = 10;
_parent.gotoAndStop("a_1");
}
}
Symbol 494 Button
on (release) {
nextFrame();
}
Symbol 495 Button
on (release) {
if (save(n)) {
prevFrame();
}
}
Symbol 501 MovieClip Frame 35
_parent._parent.o1.setnew();
stop();
Symbol 501 MovieClip Frame 36
function save(datanum) {
if (_root.word == undefined) {
if (datanum != undefined) {
if (this["data_" + datanum].text == "none") {
_root.attachMovie("word", "word", 500, {_x:325, _y:200, st:"Change a name!"});
return(false);
}
_root.attachMovie("word", "word", 500, {_x:325, _y:200, st:"Saved"});
so.data["data" + datanum] = new Array();
so.data["data" + datanum][0] = this["data_" + datanum].text;
var _local4 = 0;
while (_local4 < _parent._parent.o1.info_bk.length) {
so.data["data" + datanum][_local4 + 1] = _parent._parent.o1.info_bk[_local4];
_local4++;
}
so.data["data" + datanum][19]++;
so.flush();
trace(so.data["data" + datanum]);
return(true);
}
_root.attachMovie("word", "word", 500, {_x:325, _y:200, st:"select a data!"});
return(false);
}
return(false);
}
var so = SharedObject.getLocal("cyborg_info");
var n;
var i = 0;
while (i < 5) {
this["data_" + i].type = "input";
this["data_" + i].restrict = "A-Z a-z 0-9";
this["data_" + i].maxChars = 6;
if (so.data["data" + i][0] == undefined) {
this["data_" + i].text = "none";
} else {
this["data_" + i].text = so.data["data" + i][0];
}
this["data_" + i].n = i;
this["data_" + i].rem = this;
this["data_" + i].onSetFocus = function (oldFocus) {
this.rem.n = this.n;
};
i++;
}
Symbol 504 MovieClip Frame 1
txt.text = "score " + _parent._parent._parent.mygame.score;
Symbol 507 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 510 Button
on (press) {
viewHighscore();
}
Symbol 511 Button
on (release) {
_parent._parent.mygame.changemap();
_parent._parent.mygame.score = Math.floor(_parent._parent.mygame.score);
trace(_parent._parent.o1.info_bk);
_parent._parent.o1.bk_now();
_parent._parent.mygame.score = _parent._parent.mygame.score * 0.7;
_parent._parent.mygame.score = Math.round(_parent._parent.mygame.score);
_parent._parent.gotoAndPlay("changeground");
}
Instance of Symbol 31 MovieClip in Symbol 512 MovieClip Frame 28
//component parameters
onClipEvent (construct) {
_game_name = "cyborg";
score_var = "_parent._parent._parent.mygame.score";
}
Symbol 512 MovieClip Frame 55
_parent._parent.o1.setnew();
stop();
Symbol 515 MovieClip Frame 1
txt.text = "score " + _parent._parent._parent.mygame.score;
Instance of Symbol 31 MovieClip in Symbol 516 MovieClip Frame 19
//component parameters
onClipEvent (construct) {
_game_name = "cyborg";
score_var = "_parent._parent._parent.mygame.score";
}
Symbol 516 MovieClip Frame 46
stop();
Symbol 526 Button
on (press) {
roll = true;
if (mc._x > roll_min) {
mc._x = mc._x - 1;
}
}
on (release, releaseOutside) {
roll = false;
}
Symbol 527 Button
on (press) {
roll = true;
if (mc._x < roll_max) {
mc._x = mc._x + 1;
}
}
on (release, releaseOutside) {
roll = false;
}
Symbol 530 MovieClip Frame 1
function move() {
return(mc._x);
}
var roll_min = 0;
var roll_max = 100;
var roll = false;
Instance of Symbol 529 MovieClip "mc" in Symbol 530 MovieClip Frame 1
on (press) {
_parent.roll = true;
startDrag (this, false, _parent.roll_min, 0, _parent.roll_max, 0);
}
on (release, releaseOutside) {
_parent.roll = false;
stopDrag();
}
Symbol 534 MovieClip Frame 1
player.gotoAndStop(2);
r.mc._x = Math.round((R + 255) / 5);
g.mc._x = Math.round((G + 255) / 5);
b.mc._x = Math.round((B + 255) / 5);
c.mc._x = Math.round(((cmax - 1) * 100) / cmax);
s.mc._x = Math.round(((skin - 1) * 100) / 5);
onEnterFrame = function () {
if (r.roll == true) {
_global.R = Math.round((r.move() * 5) - 255);
player.haircolor();
}
if (g.roll == true) {
_global.G = Math.round((g.move() * 5) - 255);
player.haircolor();
}
if (b.roll == true) {
_global.B = Math.round((b.move() * 5) - 255);
player.haircolor();
}
if (c.roll == true) {
_global.clothes = Math.round(((c.move() * cmax) / 100) + 1);
player.changeClothes();
}
if (s.roll == true) {
_global.skin = Math.round((s.move() * 0.04) + 1);
player.changeClothes();
}
};
Symbol 536 Button
on (release) {
_parent._parent.o1.now_bk();
_parent._parent.o1.health = _parent._parent.o1.health_max;
_parent._parent.gotoAndPlay("changeground");
}
Symbol 537 MovieClip Frame 18
stop();
Symbol 538 MovieClip [foreground] Frame 1
var sd = new Sound(this);
var boom = new Sound(this);
boom.attachSound("boom");
var shoot_00 = new Sound(this);
shoot_00.attachSound("shoot_00");
var shoot_01 = new Sound(this);
shoot_01.attachSound("shoot_01");
var shoot_03 = new Sound(this);
shoot_03.attachSound("shoot_03");
var shoot_04 = new Sound(this);
shoot_04.attachSound("shoot_04");
var shoot_05 = new Sound(this);
shoot_05.attachSound("shoot_05");
var shoot_06 = new Sound(this);
shoot_06.attachSound("shoot_06");
var shoot_07 = new Sound(this);
shoot_07.attachSound("shoot_07");
var shoot_08 = new Sound(this);
shoot_08.attachSound("shoot_08");
var shoot_10 = new Sound(this);
shoot_10.attachSound("shoot_10");
var shoot_15 = new Sound(this);
shoot_15.attachSound("shoot_15");
var shoot_16 = new Sound(this);
shoot_16.attachSound("shoot_16");
var shoot_17 = new Sound(this);
shoot_17.attachSound("shoot_17");
var shoot_18 = new Sound(this);
shoot_18.attachSound("shoot_18");
var ric_metal_1 = new Sound(this);
ric_metal_1.attachSound("ric_metal_1");
var ric_metal_2 = new Sound(this);
ric_metal_2.attachSound("ric_metal_2");
var ric_metal_3 = new Sound(this);
ric_metal_3.attachSound("ric_metal_3");
Symbol 538 MovieClip [foreground] Frame 4
var i = 1;
while (i < 7) {
_parent.o1.gun_ary[i][2] = true;
i++;
}
bar_2._y = 500;
Symbol 538 MovieClip [foreground] Frame 5
bar_2._y = 336;
Symbol 541 MovieClip [mouse] Frame 1
_x = _root._xmouse;
_y = _root._ymouse;
Mouse.hide();
onMouseMove = function () {
_x = _root._xmouse;
_y = _root._ymouse;
Mouse.hide();
updateAfterEvent();
};
Symbol 543 MovieClip [warning] Frame 1
if (times == undefined) {
var times = 5;
}
Symbol 543 MovieClip [warning] Frame 15
if (times != 0) {
times--;
} else {
removeMovieClip(this);
}
Symbol 546 MovieClip [word] Frame 1
var st;
var hide;
tmc.txt.text = st;
var time = 100;
onEnterFrame = function () {
if (time != 0) {
time--;
} else if (hide != true) {
removeMovieClip(this);
} else {
gotoAndStop (9);
}
};
Symbol 546 MovieClip [word] Frame 8
stop();
Symbol 556 MovieClip Frame 1
stop();
Symbol 559 MovieClip Frame 1
stop();
Symbol 562 MovieClip Frame 1
_parent.body._y = -140;
_parent.owner.speed.x = _parent.owner.dir.x * _parent.owner.speed_k;
Symbol 562 MovieClip Frame 2
_parent.owner.speed.x = 0;
Symbol 562 MovieClip Frame 4
_parent.body._y = -143;
_parent.owner.speed.x = _parent.owner.dir.x * _parent.owner.speed_k;
Symbol 562 MovieClip Frame 5
_parent.owner.speed.x = 0;
Symbol 562 MovieClip Frame 7
_parent.body._y = -140;
_parent.owner.speed.x = _parent.owner.dir.x * _parent.owner.speed_k;
Symbol 562 MovieClip Frame 8
_parent.owner.speed.x = 0;
Symbol 562 MovieClip Frame 10
_parent.body._y = -137;
_parent.owner.speed.x = _parent.owner.dir.x * _parent.owner.speed_k;
Symbol 562 MovieClip Frame 11
_parent.owner.speed.x = 0;
Symbol 562 MovieClip Frame 13
_parent.body._y = -140;
_parent.owner.speed.x = _parent.owner.dir.x * _parent.owner.speed_k;
Symbol 562 MovieClip Frame 14
_parent.owner.speed.x = 0;
Symbol 562 MovieClip Frame 16
_parent.body._y = -143;
_parent.owner.speed.x = _parent.owner.dir.x * _parent.owner.speed_k;
Symbol 562 MovieClip Frame 17
_parent.owner.speed.x = 0;
Symbol 562 MovieClip Frame 19
_parent.body._y = -140;
_parent.owner.speed.x = _parent.owner.dir.x * _parent.owner.speed_k;
Symbol 562 MovieClip Frame 20
_parent.owner.speed.x = 0;
Symbol 562 MovieClip Frame 22
_parent.body._y = -137;
_parent.owner.speed.x = _parent.owner.dir.x * _parent.owner.speed_k;
Symbol 562 MovieClip Frame 23
_parent.owner.speed.x = 0;
Symbol 564 MovieClip Frame 1
_parent.body._y = -137;
_parent.owner.speed.x = _parent.owner.dir.x * _parent.owner.speed_k;
Symbol 565 MovieClip [boss] Frame 4
removeMovieClip(this);
Symbol 573 MovieClip Frame 1
_parent.body._y = -54;
Symbol 573 MovieClip Frame 4
_parent.body._y = -52;
Symbol 573 MovieClip Frame 7
_parent.body._y = -50;
Symbol 573 MovieClip Frame 10
_parent.body._y = -52;
Symbol 573 MovieClip Frame 13
_parent.body._y = -54;
Symbol 573 MovieClip Frame 16
_parent.body._y = -56;
Symbol 573 MovieClip Frame 19
_parent.body._y = -54;
Symbol 573 MovieClip Frame 22
_parent.body._y = -52;
Symbol 573 MovieClip Frame 25
_parent.body._y = -50;
Symbol 573 MovieClip Frame 28
_parent.body._y = -52;
Symbol 573 MovieClip Frame 31
_parent.body._y = -54;
Symbol 573 MovieClip Frame 34
_parent.body._y = -56;
Symbol 575 MovieClip Frame 1
_parent.body._y = -54;
Symbol 575 MovieClip Frame 4
_parent.body._y = -52;
Symbol 575 MovieClip Frame 7
_parent.body._y = -50;
Symbol 575 MovieClip Frame 10
_parent.body._y = -52;
Symbol 575 MovieClip Frame 13
_parent.body._y = -54;
Symbol 575 MovieClip Frame 16
_parent.body._y = -56;
Symbol 575 MovieClip Frame 19
_parent.body._y = -54;
Symbol 575 MovieClip Frame 22
_parent.body._y = -52;
Symbol 575 MovieClip Frame 25
_parent.body._y = -50;
Symbol 575 MovieClip Frame 28
_parent.body._y = -52;
Symbol 575 MovieClip Frame 31
_parent.body._y = -54;
Symbol 575 MovieClip Frame 34
_parent.body._y = -56;
Symbol 576 MovieClip Frame 1
_parent.body._y = -42;
Symbol 576 MovieClip Frame 9
_parent.body._y = -20;
Symbol 576 MovieClip Frame 17
_parent.body._y = -56;
stop();
Symbol 577 MovieClip Frame 1
_parent.body._y = -56;
Symbol 578 MovieClip Frame 1
_parent.body._y = -42;
Symbol 578 MovieClip Frame 3
_parent.body._y = -20;
Symbol 578 MovieClip Frame 4
stop();
Symbol 579 MovieClip [e1] Frame 1
stop();
Symbol 579 MovieClip [e1] Frame 3
body._y = -56;
stop();
Symbol 579 MovieClip [e1] Frame 8
removeMovieClip(this);
Symbol 586 MovieClip [e2] Frame 1
stop();
Symbol 586 MovieClip [e2] Frame 3
removeMovieClip(this);
Symbol 592 MovieClip [e3] Frame 1
stop();
Symbol 592 MovieClip [e3] Frame 3
removeMovieClip(this);
Symbol 613 MovieClip [e4] Frame 1
stop();
Symbol 613 MovieClip [e4] Frame 5
removeMovieClip(this);
Symbol 620 MovieClip [e5] Frame 1
stop();
Symbol 620 MovieClip [e5] Frame 4
removeMovieClip(this);
Symbol 625 MovieClip [e6] Frame 1
stop();
Symbol 625 MovieClip [e6] Frame 3
removeMovieClip(this);
Symbol 626 MovieClip [thisgame] Frame 2
_global.skin = 1;
_global.clothes = 6;
_global.R = -100;
_global.G = -100;
_global.B = -100;
_global.cmax = 11;
var mygame = (new clipgame.Gamess(6, 6, this, Q, _root.level_new[19], _root.level_new[18]));
var o1 = (new clipgame.obj.Player(0, 0, "zplayer", mygame, _root.key));
o1.info_bk = _root.level_new;
o1.bk_now();
if (_root.level_new[18] == 0) {
o1.health = (o1.health_max = 1000 * mygame.dif);
}
mygame.add_obj1(o1);
o1.clip._visible = false;
mygame.clip.background.gotoAndStop(31);
mygame.clip.midground.gotoAndStop(31);
mygame.clip.midground_2.gotoAndStop(31);
mygame.clip.foreground.gotoAndStop("gamechange");
stop();
Symbol 626 MovieClip [thisgame] Frame 3
mygame.clip._visible = false;
mygame.clip.background.gotoAndStop(Math.floor(mygame.level / 6) + 1);
mygame.clip.midground.gotoAndStop(mygame.level + 1);
mygame.clip.midground_2.gotoAndStop(mygame.level + 1);
o1.clip._visible = true;
Symbol 626 MovieClip [thisgame] Frame 6
function set_0() {
setplayer(80, 300, 1, 5);
mygame.add_obj3(new clipgame.obj.Items(1370, 190, 1, 100, mygame));
mygame.add_obj2(new clipgame.obj.E_5(144, 144, mygame, 1, 0.5));
mygame.add_obj2(new clipgame.obj.E_5(432, 336, mygame, 1, 0.5));
mygame.add_obj2(new clipgame.obj.E_5(720, 192, mygame, 1, 0.5));
mygame.add_obj2(new clipgame.obj.E_5(624, 480, mygame, 1, 0.5));
mygame.add_obj2(new clipgame.obj.E_5(1152, 96, mygame, 1, 0.5));
mygame.add_obj2(new clipgame.obj.E_5(1152, 432, mygame, 1, 0.5));
mygame.add_obj2(new clipgame.obj.E_5(1104, 720, mygame, 1, 0.5));
mygame.add_obj2(new clipgame.obj.E_5(720, 660, mygame, 1, 0.5));
mygame.add_obj2(new clipgame.obj.E_5(336, 624, mygame, 1, 0.5));
mygame.add_obj2(new clipgame.obj.E_5(1152, 864, mygame, 1, 0.5));
mygame.add_obj2(new clipgame.obj.E_5(240, 864, mygame, 1, 0.5));
mygame.add_obj2(new clipgame.obj.E_2(1030, 300, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_2(170, 840, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_2(600, 170, mygame, 2));
}
function set_1() {
setplayer(2040, 100, -1, 5);
mygame.add_obj3(new clipgame.obj.Items(290, 330, 5, 2, mygame));
mygame.add_obj2(new clipgame.obj.E_5(1550, 110, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_5(1400, 300, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_5(780, 110, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_5(1030, 300, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_5(1740, 500, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_5(1130, 500, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_5(600, 500, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_5(310, 630, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_5(64, 490, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_2(1400, 120, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_2(1200, 20, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_2(1000, 300, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_2(800, 300, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_2(600, 300, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_2(80, 200, mygame, 2));
}
function set_2() {
setplayer(215, 210, 1, 5);
mygame.add_obj3(new clipgame.obj.Items(1910, 310, 0, 100, mygame));
mygame.add_obj2(new clipgame.obj.E_5(540, 100, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_5(500, 350, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_5(650, 640, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_5(120, 490, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_5(120, 730, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_5(540, 1935, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_5(590, 2055, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_5(360, 2200, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_2(880, 450, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_2(830, 20, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_2(70, 690, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_2(650, 830, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_2(500, 650, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_2(80, 1365, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_4(120, 1050, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4(700, 1260, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4(110, 1520, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4(800, 1700, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4(400, 2330, mygame, 1));
}
function set_3() {
setplayer(120, 260, 1, 7);
mygame.add_obj1(new clipgame.obj.Car_0(100, 350, mygame, 0.35));
o1.clip.swapDepths(2);
mygame.add_obj2(new clipgame.obj.E_4(1030, 450, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4(1670, 450, mygame, 1));
mygame.ontime = function () {
if (mygame.obj1[1].curr.x > 2500) {
mygame.obj1[1].action = 0;
}
if (mygame.obj2.length < 4) {
if (o1.curr.x > 300) {
mygame.add_obj2(new clipgame.obj.E_2(o1.curr.x - 700, 100, mygame, 3));
} else if (o1.curr.x < (mygame.mapw * clipgame.tiles.Tile.W)) {
mygame.add_obj2(new clipgame.obj.E_2(o1.curr.x + 700, 100, mygame, 3));
}
}
};
}
function set_4() {
setplayer(480, 480, 1, 6);
mygame.add_obj3(new clipgame.obj.Items(300, 350, 5, 3, mygame));
mygame.ontime = function () {
if (mygame.obj2.length < 4) {
var _local1 = Math.round(Math.random());
if (_local1 == 0) {
mygame.add_obj2(new clipgame.obj.E_2(790, 150, mygame, 3));
} else {
mygame.add_obj2(new clipgame.obj.E_4(790, 150, mygame, 3));
}
}
};
}
function set_5() {
setplayer(70, 840, 1, 0);
mygame.add_obj2(new clipgame.obj.E_6(1300, 20, mygame, 3));
mygame.add_obj2(new clipgame.obj.E_2_1(1300, 20, mygame, 3));
mygame.add_obj2(new clipgame.obj.E_2_2(1300, 20, mygame, 3));
}
function set_6() {
setplayer(100, 200, 1, 7);
mygame.add_obj1(new clipgame.obj.Car_0(100, 380, mygame, 0.6));
o1.clip.swapDepths(2);
mygame.add_obj3(new clipgame.obj.Items(1700, 180, 0, 100, mygame));
mygame.add_obj2(new clipgame.obj.E_2_1(835, 70, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_2_2(1260, 70, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_2_1(1550, 120, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_2_2(2040, 110, mygame, 2));
mygame.ontime = function () {
if (mygame.obj1[1].curr.x > 2500) {
mygame.obj1[1].action = 0;
}
if (mygame.obj2.length < 6) {
if (o1.curr.x > 300) {
mygame.add_obj2(new clipgame.obj.E_4(o1.curr.x - 700, 300, mygame, 3));
} else if (o1.curr.x < (mygame.mapw * clipgame.tiles.Tile.W)) {
mygame.add_obj2(new clipgame.obj.E_4(o1.curr.x + 700, 300, mygame, 3));
}
}
};
}
function set_7() {
setplayer(500, 590, 1, 6);
mygame.ontime = function () {
if (mygame.obj2.length < 2) {
var _local1 = Math.round(Math.random());
if (_local1 == 0) {
mygame.add_obj2(new clipgame.obj.E_2_1(505, 190, mygame, 3));
} else {
mygame.add_obj2(new clipgame.obj.E_2_2(505, 190, mygame, 3));
}
}
};
}
function set_8() {
setplayer(100, 1450, 1, 5);
mygame.add_obj3(new clipgame.obj.Items(910, 1150, 5, 4, mygame));
mygame.add_obj2(new clipgame.obj.E_5(580, 1460, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4(110, 1160, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_1(510, 1000, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_2_1(40, 830, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_5(40, 680, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_1(500, 410, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_2(500, 250, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_1(1160, 1435, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_4_1(1650, 1435, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_5(550, 100, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_2(1630, 1090, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_4_2(1960, 855, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_2_1(1330, 190, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_2_2(1860, 190, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_6(1345, 570, mygame, 0));
}
function set_9() {
setplayer(715, 1240, 1, 5);
mygame.add_obj3(new clipgame.obj.Items(1340, 910, 2, 200, mygame));
mygame.add_obj3(new clipgame.obj.Items(975, 750, 3, 300, mygame));
mygame.add_obj2(new clipgame.obj.E_2_2(144, 1100, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_2_1(1140, 1100, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_1(715, 560, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_2(715, 870, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_2_1(200, 560, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_2_2(1200, 560, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_6(1290, 144, mygame, 3));
mygame.add_obj2(new clipgame.obj.E_4_2(230, 160, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_4_1(240, 110, mygame, 1));
}
function set_10() {
setplayer(145, 130, 1, 7);
mygame.add_obj1(new clipgame.obj.Car_0(150, 180, mygame, 0.5));
o1.clip.swapDepths(2);
mygame.add_obj3(new clipgame.obj.Items(2510, 430, 1, 100, mygame));
mygame.add_obj2(new clipgame.obj.E_4_1(1400, 120, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_4_2(2200, 120, mygame, 0));
mygame.ontime = function () {
if ((mygame.obj1[1].curr.x < 400) && (mygame.obj1[1].curr.y > 300)) {
mygame.obj1[1].action = 0;
}
if (mygame.obj2.length < 4) {
if ((o1.curr.x > 400) && (o1.curr.x < (mygame.mapw * clipgame.tiles.Tile.W))) {
if ((mygame.leveltime % 4) == 0) {
if (o1.curr.y > 300) {
mygame.add_obj2(new clipgame.obj.E_5(o1.curr.x + 400, o1.curr.y, mygame, 3));
mygame.add_obj2(new clipgame.obj.E_2_2(o1.curr.x + 400, o1.curr.y, mygame, 3));
} else {
mygame.add_obj2(new clipgame.obj.E_5(o1.curr.x - 400, o1.curr.y, mygame, 3));
mygame.add_obj2(new clipgame.obj.E_2_1(o1.curr.x - 400, o1.curr.y, mygame, 3));
}
}
}
}
};
}
function set_11() {
setplayer(95, 345, 1, 0);
mygame.add_obj2(new clipgame.obj.E_4_1(900, 180, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_2(340, 180, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_3(1290, 350, mygame, 3));
}
function set_12() {
setplayer(60, 500, 1, 5);
mygame.add_obj3(new clipgame.obj.Items(520, 420, 5, 5, mygame));
mygame.add_obj2(new clipgame.obj.E_4_2(420, 600, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_2(390, 375, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_2(325, 890, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_2(1590, 290, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_2(1760, 660, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_1(575, 790, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_4_1(765, 520, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_4_1(960, 235, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_4_1(1150, 240, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_4_1(1340, 520, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_4_1(1535, 820, mygame, 0));
}
function set_13() {
setplayer(480, 2180, 1, 5);
mygame.add_obj3(new clipgame.obj.Items(900, 230, 2, 200, mygame));
mygame.add_obj2(new clipgame.obj.E_4_1(140, 2060, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_2_1(90, 1880, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_4_1(580, 1770, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_1(70, 1610, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_1(800, 1050, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_2_1(760, 1480, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_2_1(140, 880, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_4_1(370, 600, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_2_2(830, 525, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_4_2(810, 145, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_1(180, 145, mygame, 1));
}
function set_14() {
setplayer(835, 80, 1, 6);
mygame.add_obj3(new clipgame.obj.Items(60, 380, 0, 100, mygame));
mygame.ontime = function () {
if (mygame.obj2.length < 2) {
var _local1 = Math.round(Math.random());
if (_local1 == 0) {
mygame.add_obj2(new clipgame.obj.E_4_2(120, 50, mygame, 3));
} else {
mygame.add_obj2(new clipgame.obj.E_2_2(120, 50, mygame, 3));
}
}
};
}
function set_15() {
setplayer(50, 80, 1, 5);
mygame.add_obj3(new clipgame.obj.Items(60, 1770, 3, 1000, mygame));
mygame.add_obj2(new clipgame.obj.E_2_1(1824, 1100, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_2_1(1728, 815, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_2_1(720, 820, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_2_2(48, 290, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_2_3(144, 530, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_2_3(48, 770, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_2_3(48, 1250, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_2_2(432, 528, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_2_3(432, 1100, mygame, 3));
mygame.add_obj2(new clipgame.obj.E_4_1(860, 1730, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_1(576, 144, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_1(1488, 1440, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_2(96, 1730, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_4_2(1770, 1730, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_4_2(1080, 440, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_3(1200, 1150, mygame, 0));
}
function set_16() {
setplayer(2560, 70, 1, 7);
mygame.add_obj1(new clipgame.obj.Car_0(2550, 70, mygame));
o1.clip.swapDepths(2);
mygame.add_obj3(new clipgame.obj.Items(2440, 370, 5, 6, mygame));
mygame.ontime = function () {
if ((mygame.obj1[1].curr.x > 2250) && (mygame.obj1[1].curr.y > 500)) {
mygame.obj1[1].action = 0;
}
if (mygame.obj2.length < 4) {
if ((o1.curr.x > 300) && (o1.curr.x < (mygame.mapw * clipgame.tiles.Tile.W))) {
if ((mygame.leveltime % 4) == 0) {
if (o1.curr.y > 300) {
mygame.add_obj2(new clipgame.obj.E_2_2(o1.curr.x + 400, o1.curr.y, mygame, 3));
mygame.add_obj2(new clipgame.obj.E_2_1(o1.curr.x + 400, o1.curr.y, mygame, 3));
} else {
mygame.add_obj2(new clipgame.obj.E_2_2(o1.curr.x - 400, o1.curr.y, mygame, 3));
mygame.add_obj2(new clipgame.obj.E_2_1(o1.curr.x - 400, o1.curr.y, mygame, 3));
}
}
}
}
};
}
function set_17() {
setplayer(50, 530, 1, 0);
mygame.add_obj2(new clipgame.obj.E_1(1360, 490, mygame, 3));
}
function set_18() {
setplayer(1120, 110, 1, 5);
mygame.add_obj3(new clipgame.obj.Items(1440, 140, 1, 100, mygame));
mygame.add_obj2(new clipgame.obj.E_4_1(630, 480, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_1(1056, 480, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_2_3(1250, 860, mygame, 3));
mygame.add_obj2(new clipgame.obj.E_4_2(288, 95, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_2(1390, 95, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_2_3(470, 860, mygame, 3));
mygame.add_obj2(new clipgame.obj.E_2_3(120, 620, mygame, 3));
mygame.add_obj2(new clipgame.obj.E_2_3(1560, 620, mygame, 3));
}
function set_19() {
setplayer(50, 95, 1, 5);
mygame.add_obj3(new clipgame.obj.Items(2060, 720, 0, 100, mygame));
mygame.add_obj2(new clipgame.obj.E_4_1(336, 650, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_1(1820, 670, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_1(2250, 360, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_2(760, 650, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_2(1340, 90, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_2(1250, 670, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_2_1(336, 96, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_2_1(720, 380, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_2_3(912, 380, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_2_3(1776, 380, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_2_2(336, 380, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_2_2(720, 96, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_2_2(912, 96, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_2_3(1248, 330, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_2_3(1776, 96, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_3(2350, 670, mygame, 0));
}
function set_20() {
setplayer(930, 2450, 1, 5);
mygame.add_obj3(new clipgame.obj.Items(80, 660, 3, 900, mygame));
mygame.add_obj2(new clipgame.obj.E_2_2(720, 2015, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_2_2(48, 575, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_2_2(1340, 520, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_2_2(1055, 910, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_2_2(430, 95, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_2_1(720, 1150, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_2_1(425, 575, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_2_1(958, 1105, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_2_1(955, 95, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_4_1(48, 2440, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_1(1340, 2450, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_1(42, 1780, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_1(62, 1430, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_1(390, 1390, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_4_1(960, 1775, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_1(90, 180, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_2(48, 2020, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_4_2(350, 2200, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_2(1000, 2010, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_2(1320, 2210, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_4_2(1200, 1775, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_2(1000, 1290, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_2(920, 220, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_6_1(240, 575, mygame, 0));
}
function set_21() {
setplayer(260, 100, 1, 5);
mygame.add_obj3(new clipgame.obj.Items(930, 140, 5, 7, mygame));
mygame.add_obj2(new clipgame.obj.E_2_2(48, 580, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_2_2(380, 1100, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_2_2(815, 770, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_2_2(1295, 2060, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_2_2(1455, 920, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_2_1(48, 915, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_2_1(48, 1680, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_2_1(430, 675, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_2_1(1050, 920, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_2_1(1295, 380, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_4_1(1390, 70, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_4_1(365, 2150, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_4_1(520, 1485, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_4_1(950, 375, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_1(990, 1900, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_1(1775, 2015, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_2(385, 2440, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_2(385, 1775, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_4_2(910, 95, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_4_2(990, 1370, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_2(1020, 2190, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_2(1050, 1630, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_2(1330, 1720, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_2(1020, 610, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_3(1630, 2390, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_6(1430, 1215, mygame, 1));
}
function set_22() {
setplayer(650, 70, 1, 6);
mygame.ontime = function () {
if (mygame.obj2.length < 3) {
var _local1 = Math.round(Math.random() * 2);
if (_local1 < 1) {
mygame.add_obj2(new clipgame.obj.E_4_1(650, 380, mygame, 3));
} else if (_local1 < 2) {
mygame.add_obj2(new clipgame.obj.E_2_1(650, 380, mygame, 3));
} else {
mygame.add_obj2(new clipgame.obj.E_2_2(650, 380, mygame, 3));
}
}
};
}
function set_23() {
setplayer(690, 720, 1, 0);
mygame.add_obj3(new clipgame.obj.Items(120, 540, 3, 500, mygame));
mygame.add_obj3(new clipgame.obj.Items(1200, 540, 3, 500, mygame));
mygame.add_obj2(new clipgame.obj.E_6(20, 20, mygame, 3));
mygame.add_obj2(new clipgame.obj.E_6_1(1360, 20, mygame, 3));
mygame.add_obj2(new clipgame.obj.E_3(1320, 720, mygame, 3));
}
function set_24() {
setplayer(890, 410, 1, 6);
mygame.add_obj3(new clipgame.obj.Items(890, 130, 3, 500, mygame));
mygame.add_obj2(new clipgame.obj.E_2_3(0, 0, mygame, 3));
mygame.add_obj2(new clipgame.obj.E_2_3(0, 0, mygame, 3));
mygame.ontime = function () {
if ((mygame.leveltime % 4) == 0) {
if (mygame.obj2.length < 6) {
var _local1 = Math.round(Math.random() * 2);
if (_local1 < 1) {
mygame.add_obj2(new clipgame.obj.E_4_1(890, 90, mygame, 3));
} else if (_local1 < 2) {
mygame.add_obj2(new clipgame.obj.E_2_1(890, 90, mygame, 3));
} else {
mygame.add_obj2(new clipgame.obj.E_2_3(890, 90, mygame, 3));
}
}
}
};
}
function set_25() {
setplayer(310, 300, 1, 5);
mygame.add_obj3(new clipgame.obj.Items(960, 330, 1, 100, mygame));
mygame.add_obj2(new clipgame.obj.E_2_3(645, 310, mygame, 3));
mygame.add_obj2(new clipgame.obj.E_2_3(335, 575, mygame, 3));
mygame.add_obj2(new clipgame.obj.E_2_3(48, 48, mygame, 3));
mygame.add_obj2(new clipgame.obj.E_4_1(215, 815, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_1(1295, 785, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_1(960, 190, mygame, 0));
mygame.add_obj2(new clipgame.obj.E_4_1(320, 40, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_4_1(1480, 40, mygame, 1));
mygame.add_obj2(new clipgame.obj.E_6_1(1485, 380, mygame, 3));
}
function set_26() {
setplayer(1030, 280, 1, 5);
mygame.add_obj3(new clipgame.obj.Items(1730, 330, 3, 500, mygame));
mygame.add_obj3(new clipgame.obj.Items(330, 330, 3, 500, mygame));
mygame.add_obj2(new clipgame.obj.E_6(144, 144, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_6_1(1920, 144, mygame, 2));
mygame.add_obj2(new clipgame.obj.E_2_3(336, 20, mygame, 3));
mygame.add_obj2(new clipgame.obj.E_2_3(672, 20, mygame, 3));
mygame.add_obj2(new clipgame.obj.E_2_3(1390, 20, mygame, 3));
mygame.add_obj2(new clipgame.obj.E_2_3(1720, 20, mygame, 3));
}
function set_27() {
setplayer(740, 360, 1, 5);
mygame.add_obj3(new clipgame.obj.Items(1430, 230, 3, 300, mygame));
mygame.add_obj3(new clipgame.obj.Items(70, 230, 3, 300, mygame));
mygame.add_obj2(new clipgame.obj.E_3(192, 192, mygame, 3));
mygame.add_obj2(new clipgame.obj.E_3_1(1295, 192, mygame, 3));
}
function set_28() {
setplayer(740, 340, 1, 5);
mygame.add_obj2(new clipgame.obj.E_1_1(1370, 430, mygame, 3));
}
function set_29() {
setplayer(70, 420, 1, 0);
mygame.add_obj3(new clipgame.obj.Items(480, 530, 3, 400, mygame));
mygame.add_obj3(new clipgame.obj.Items(1200, 530, 3, 400, mygame));
mygame.add_obj2(new clipgame.obj.Boss(1560, 410, mygame, 3));
}
function set_30() {
setplayer(400, 480, 1, 0);
}
function level_0() {
killall_p();
}
function level_1() {
killall_p();
}
function level_2() {
killall_p();
}
function level_3() {
playerdf(1);
}
function level_4() {
gettime(60);
}
function level_5() {
killall_p();
}
function level_6() {
playerdf(1);
}
function level_7() {
gettime(60);
}
function level_8() {
killall_p();
}
function level_9() {
killall_p();
}
function level_10() {
playerdf(1);
}
function level_11() {
killall_p();
}
function level_12() {
killall_p();
}
function level_13() {
killall_p();
}
function level_14() {
gettime(60);
}
function level_15() {
killall_p();
}
function level_16() {
playerdf(1);
}
function level_17() {
killall_p();
}
function level_18() {
killall_p();
}
function level_19() {
killall_p();
}
function level_20() {
killall_p();
}
function level_21() {
killall_p();
}
function level_22() {
gettime(60);
}
function level_23() {
killall_p();
}
function level_24() {
gettime(60);
}
function level_25() {
killall_p();
}
function level_26() {
killall_p();
}
function level_27() {
killall_p();
}
function level_28() {
killall_p();
}
function level_29() {
if (mygame.obj2.length == 0) {
if (getlocation(32)) {
mygame.pause = 10;
o1.clip.gotoAndStop("level");
mygame.clip.foreground.gotoAndStop("a_2");
} else if (mygame.clip.foreground.word == undefined) {
mygame.clip.foreground.attachMovie("word", "word", 10000, {_x:325, _y:200, st:"George W Bush killed!\nHead to exit!", hide:true});
}
}
}
function level_30() {
if (getlocation(32)) {
if (mygame.clip.foreground.word == undefined) {
mygame.clip.foreground.attachMovie("word", "word", 10000, {_x:325, _y:200, st:"to complete each level kill everything and get to the exit."});
}
}
}
function killall_p() {
if (mygame.obj2.length == 0) {
if (getlocation(32)) {
mygame.pause = 2;
o1.clip.gotoAndStop("level");
} else if (mygame.clip.foreground.word == undefined) {
if (((((mygame.level == 5) || (mygame.level == 11)) || (mygame.level == 17)) || (mygame.level == 23)) || (mygame.level == 29)) {
mygame.clip.foreground.attachMovie("word", "word", 10000, {_x:325, _y:200, st:"boss killed!\nHead to exit!", hide:true});
} else {
mygame.clip.foreground.attachMovie("word", "word", 10000, {_x:325, _y:200, st:"All enemies killed!\nHead to exit!", hide:true});
}
}
}
}
function gettime(t) {
if (mygame.leveltime > t) {
if (getlocation(32)) {
mygame.pause = 2;
o1.clip.gotoAndStop("level");
} else if (mygame.clip.foreground.word == undefined) {
mygame.clip.foreground.attachMovie("word", "word", 10000, {_x:325, _y:200, st:"you can exit the level now!", hide:true});
}
}
}
function playerdf(n) {
if (mygame.obj1.length < (n + 1)) {
o1.death();
} else {
var _local2 = 0;
var _local1 = 0;
while (_local1 < n) {
_local2 = _local2 + mygame.obj1[_local1 + 1].action;
_local1++;
}
if (_local2 == 0) {
if (getlocation(32)) {
mygame.pause = 2;
o1.clip.gotoAndStop("level");
} else if (mygame.clip.foreground.word == undefined) {
mygame.clip.foreground.attachMovie("word", "word", 10000, {_x:325, _y:200, st:"Objective achieved, mobile helper safe.\nNow get to the exit!", hide:true});
}
}
}
}
function getlocation(n) {
if (o1.onground == 2) {
var _local2 = Math.floor(o1.curr.x / clipgame.tiles.Tile.W);
var _local1 = Math.floor((o1.curr.y + o1.H) / clipgame.tiles.Tile.H);
if (mygame[(("t_" + _local1) + "_") + _local2].frame == n) {
return(true);
}
}
return(false);
}
function setplayer(x, y, d, m) {
o1.curr.setTo(x, y);
o1.dir.x = d;
o1.clip.swapDepths(0);
mission = m;
mygame.camera = o1.curr;
mygame.ontime = function () {
};
mygame.leveltime = 0;
o1.clip.gotoAndStop("appear");
if (((mygame.level + 1) % 6) == 0) {
mygame.clip.foreground.attachMovie("warning", "warning", 100, {_x:325, _y:200});
}
}
var mission;
var map0 = new Array();
map0[0] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map0[1] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map0[2] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map0[3] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map0[4] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map0[5] = [368, 10, 25, 41, 41, 41, 41, 41, 105, 10, 10, 10, 10, 10, 25, 41, 41, 41, 41, 41, 105, 10, 10, 10, 112, 128, 128, 128, 128, 128];
map0[6] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 432, 448, 448, 448, 448, 448];
map0[7] = [480, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map0[8] = [10, 10, 10, 10, 10, 10, 10, 10, 25, 41, 41, 105, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map0[9] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map0[10] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 112, 128, 128, 128, 128, 128, 128];
map0[11] = [128, 128, 128, 128, 128, 192, 10, 10, 10, 10, 10, 10, 25, 41, 41, 41, 41, 41, 41, 105, 10, 10, 10, 432, 448, 448, 448, 448, 448, 448];
map0[12] = [448, 448, 448, 448, 496, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map0[13] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map0[14] = [10, 10, 10, 10, 208, 496, 128, 128, 128, 128, 192, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map0[15] = [10, 10, 10, 10, 432, 448, 448, 448, 448, 448, 480, 10, 10, 10, 25, 41, 41, 41, 41, 105, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map0[16] = [25, 521, 105, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 41, 41, 41, 105, 10, 10, 10];
map0[17] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map0[18] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 112, 128, 192, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map0[19] = [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 496, 448, 496, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128];
var map1 = new Array();
map1[0] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 272, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map1[1] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 272, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map1[2] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 272, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map1[3] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 272, 272, 272, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map1[4] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 272, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map1[5] = [10, 10, 25, 521, 105, 10, 10, 10, 10, 10, 10, 272, 10, 10, 10, 25, 41, 41, 41, 41, 41, 105, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 41, 41, 41, 41, 41, 105, 10, 10, 10, 10, 10, 10, 10];
map1[6] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 272, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 41, 105, 10];
map1[7] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 272, 272, 272, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map1[8] = [10, 10, 10, 10, 25, 41, 41, 105, 10, 272, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 41, 41, 41, 105, 10, 10, 10, 25, 41, 41, 41, 41, 41, 41, 105, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map1[9] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 272, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map1[10] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 272, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map1[11] = [128, 128, 128, 128, 128, 192, 10, 10, 10, 10, 10, 112, 128, 128, 128, 128, 128, 128, 192, 10, 10, 10, 112, 128, 128, 128, 128, 128, 128, 128, 128, 192, 10, 10, 10, 112, 128, 128, 128, 128, 128, 128, 128, 128, 128];
map1[12] = [448, 448, 448, 448, 496, 368, 10, 10, 10, 10, 10, 208, 496, 448, 448, 448, 448, 496, 368, 10, 10, 10, 208, 496, 448, 448, 448, 448, 448, 448, 496, 368, 10, 10, 10, 208, 496, 448, 448, 448, 448, 448, 448, 448, 448];
map1[13] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208, 496, 128, 128, 128, 496, 368, 10, 10, 10, 10, 10, 10, 208, 496, 128, 128, 128, 496, 368, 10, 10, 10, 10, 10, 10, 10, 10];
map1[14] = [10, 10, 10, 10, 208, 496, 128, 128, 128, 128, 128, 496, 368, 10, 10, 10, 10, 432, 448, 448, 448, 448, 448, 480, 10, 10, 10, 10, 10, 10, 432, 448, 448, 448, 448, 448, 480, 10, 10, 10, 10, 10, 10, 10, 10];
var map2 = new Array();
map2[0] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[1] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[2] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[3] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[4] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[5] = [368, 10, 10, 25, 41, 105, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[6] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[7] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[8] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 41, 41, 41, 41, 41, 105, 10, 10, 208];
map2[9] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[10] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[11] = [496, 128, 128, 128, 128, 128, 128, 128, 192, 10, 10, 10, 10, 10, 25, 41, 41, 41, 105, 208];
map2[12] = [496, 448, 448, 448, 448, 448, 448, 448, 480, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[13] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[14] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[15] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[16] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 41, 41, 41, 41, 41, 105, 208];
map2[17] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[18] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[19] = [368, 10, 10, 25, 41, 41, 41, 41, 41, 105, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[20] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[21] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[22] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 41, 41, 41, 105, 10, 10, 208];
map2[23] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[24] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[25] = [368, 25, 41, 41, 41, 41, 41, 41, 41, 41, 105, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[26] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[27] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[28] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 112, 128, 128, 128, 128, 128, 128, 128, 128, 128, 496];
map2[29] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 432, 448, 448, 448, 448, 448, 448, 448, 448, 448, 496];
map2[30] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[31] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[32] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[33] = [368, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 10, 10, 208];
map2[34] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[35] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[36] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[37] = [368, 10, 10, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 208];
map2[38] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[39] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[40] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[41] = [368, 10, 10, 25, 41, 41, 41, 105, 10, 10, 25, 41, 41, 41, 41, 41, 41, 105, 10, 208];
map2[42] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[43] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[44] = [368, 10, 10, 10, 10, 10, 10, 25, 41, 41, 41, 41, 41, 41, 41, 105, 10, 10, 10, 208];
map2[45] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[46] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[47] = [368, 10, 10, 10, 25, 41, 41, 41, 41, 41, 41, 41, 41, 105, 10, 10, 10, 10, 10, 208];
map2[48] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map2[49] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 521, 105, 208];
map2[50] = [496, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 208];
var map3 = new Array();
map3[0] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map3[1] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map3[2] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map3[3] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map3[4] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map3[5] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 521, 105, 10];
map3[6] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map3[7] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map3[8] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map3[9] = [128, 128, 128, 128, 128, 192, 25, 41, 41, 41, 105, 112, 128, 128, 128, 128, 128, 128, 192, 25, 41, 41, 41, 105, 112, 128, 128, 128, 128, 128, 128, 192, 25, 41, 41, 41, 105, 112, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128];
map3[10] = [448, 448, 448, 448, 496, 368, 10, 10, 10, 10, 10, 208, 496, 448, 448, 448, 448, 496, 368, 10, 10, 10, 10, 10, 208, 496, 448, 448, 448, 448, 496, 368, 10, 10, 10, 10, 10, 208, 496, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448];
map3[11] = [10, 10, 10, 10, 208, 496, 128, 128, 128, 128, 128, 496, 368, 10, 10, 10, 10, 208, 496, 128, 128, 128, 128, 128, 496, 368, 10, 10, 10, 10, 208, 496, 128, 128, 128, 128, 128, 496, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map3[12] = [10, 10, 10, 10, 432, 448, 448, 448, 448, 448, 448, 448, 480, 10, 10, 10, 10, 432, 448, 448, 448, 448, 448, 448, 448, 480, 10, 10, 10, 10, 432, 448, 448, 448, 448, 448, 448, 448, 480, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
var map4 = new Array();
map4[0] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map4[1] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map4[2] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map4[3] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map4[4] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map4[5] = [368, 10, 25, 521, 105, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 537, 105, 10, 208];
map4[6] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map4[7] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map4[8] = [368, 10, 25, 41, 41, 41, 41, 41, 105, 10, 10, 25, 41, 41, 41, 41, 41, 105, 10, 208];
map4[9] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map4[10] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map4[11] = [496, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 496];
map4[12] = [496, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 496];
var map5 = new Array();
map5[0] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map5[1] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map5[2] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map5[3] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map5[4] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map5[5] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map5[6] = [368, 10, 10, 10, 25, 41, 105, 10, 10, 10, 10, 10, 10, 25, 41, 105, 10, 10, 10, 10, 10, 10, 25, 41, 105, 10, 10, 10, 208];
map5[7] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map5[8] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map5[9] = [368, 10, 10, 10, 10, 10, 10, 25, 41, 105, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 41, 105, 10, 10, 10, 10, 10, 10, 208];
map5[10] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map5[11] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map5[12] = [368, 25, 41, 105, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 521, 105, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 41, 105, 208];
map5[13] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map5[14] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map5[15] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 41, 105, 10, 10, 10, 25, 41, 105, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map5[16] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map5[17] = [368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map5[18] = [368, 10, 10, 10, 112, 128, 192, 10, 10, 10, 112, 128, 192, 10, 10, 10, 112, 128, 192, 10, 10, 10, 112, 128, 192, 10, 10, 10, 208];
map5[19] = [496, 128, 128, 128, 496, 448, 496, 128, 128, 128, 496, 448, 496, 128, 128, 128, 496, 448, 496, 128, 128, 128, 496, 448, 496, 128, 128, 128, 496];
var map6 = new Array();
map6[0] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map6[1] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map6[2] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map6[3] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map6[4] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map6[5] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 825, 825, 825, 825, 825, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 825, 825, 825, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 521, 105, 10];
map6[6] = [10, 10, 10, 10, 10, 10, 10, 825, 825, 825, 825, 825, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 825, 825, 825, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 825, 825, 825, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map6[7] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map6[8] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map6[9] = [656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656];
var map7 = new Array();
map7[0] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map7[1] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map7[2] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map7[3] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map7[4] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map7[5] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 25, 537, 105, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map7[6] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map7[7] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map7[8] = [656, 10, 10, 825, 825, 825, 825, 825, 10, 10, 10, 10, 10, 825, 825, 825, 825, 825, 10, 10, 656];
map7[9] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map7[10] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map7[11] = [656, 10, 10, 10, 10, 10, 825, 825, 825, 10, 10, 10, 825, 825, 825, 10, 10, 10, 10, 10, 656];
map7[12] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map7[13] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map7[14] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 25, 521, 105, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map7[15] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map7[16] = [656, 10, 10, 825, 825, 825, 825, 10, 10, 10, 10, 10, 10, 10, 825, 825, 825, 825, 10, 10, 656];
map7[17] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map7[18] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map7[19] = [656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656];
var map8 = new Array();
map8[0] = [656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 432, 448, 448, 496, 496, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 496];
map8[1] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map8[2] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map8[3] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map8[4] = [10, 10, 10, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 825, 656, 496, 192, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map8[5] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656, 656, 368, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map8[6] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656, 368, 10, 10, 208, 368, 10, 10, 10, 25, 41, 41, 41, 41, 41, 41, 105, 10, 10, 10, 10, 10, 208];
map8[7] = [10, 10, 10, 10, 10, 10, 825, 825, 825, 825, 825, 825, 825, 825, 825, 10, 10, 10, 10, 10, 656, 368, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map8[8] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656, 368, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map8[9] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656, 368, 10, 10, 208, 368, 10, 10, 10, 10, 10, 25, 41, 41, 41, 41, 41, 41, 105, 10, 10, 10, 208];
map8[10] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 825, 825, 825, 825, 825, 825, 825, 825, 825, 10, 10, 656, 368, 10, 112, 496, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map8[11] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656, 368, 10, 432, 496, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map8[12] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656, 368, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 25, 41, 41, 41, 41, 41, 41, 105, 10, 208];
map8[13] = [10, 10, 825, 825, 825, 825, 825, 825, 825, 825, 825, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656, 368, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map8[14] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656, 368, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map8[15] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656, 368, 10, 10, 208, 368, 10, 10, 10, 10, 10, 112, 128, 128, 128, 128, 128, 192, 10, 10, 10, 10, 208];
map8[16] = [656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 10, 10, 10, 656, 368, 10, 10, 208, 368, 10, 10, 10, 10, 10, 208, 496, 448, 448, 448, 448, 480, 10, 10, 10, 10, 208];
map8[17] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656, 368, 10, 112, 496, 368, 10, 10, 10, 10, 112, 496, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map8[18] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656, 368, 10, 432, 496, 368, 10, 10, 10, 10, 432, 496, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map8[19] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656, 368, 10, 10, 208, 368, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map8[20] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656, 656, 656, 656, 656, 656, 656, 656, 368, 10, 10, 208, 368, 10, 10, 10, 10, 10, 208, 368, 10, 10, 112, 128, 128, 128, 128, 128, 128, 496];
map8[21] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656, 496, 448, 448, 448, 448, 448, 448, 480, 10, 10, 208, 368, 10, 10, 10, 10, 10, 208, 368, 10, 10, 432, 448, 448, 448, 448, 448, 448, 496];
map8[22] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map8[23] = [10, 10, 10, 10, 825, 825, 825, 825, 825, 825, 825, 825, 825, 656, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 25, 521, 105, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map8[24] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map8[25] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656, 368, 10, 10, 112, 128, 128, 128, 128, 128, 128, 496, 496, 128, 128, 128, 128, 128, 496, 496, 128, 128, 128, 128, 128, 128, 192, 10, 10, 208];
map8[26] = [825, 825, 825, 825, 825, 825, 10, 10, 10, 10, 10, 10, 10, 656, 368, 10, 10, 432, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 480, 10, 10, 208];
map8[27] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map8[28] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map8[29] = [10, 10, 10, 10, 10, 10, 10, 10, 825, 825, 825, 10, 10, 656, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map8[30] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map8[31] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map8[32] = [656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 496, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 496];
var map9 = new Array();
map9[0] = [656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656];
map9[1] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map9[2] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map9[3] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map9[4] = [656, 10, 10, 10, 825, 825, 825, 825, 825, 825, 825, 825, 825, 656, 825, 825, 825, 825, 10, 10, 10, 825, 825, 825, 825, 825, 10, 10, 10, 656];
map9[5] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map9[6] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map9[7] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map9[8] = [656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 25, 521, 105, 656, 10, 10, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656];
map9[9] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 656, 656, 656, 656, 656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map9[10] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map9[11] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map9[12] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map9[13] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map9[14] = [656, 10, 10, 825, 825, 825, 825, 10, 10, 10, 10, 10, 10, 825, 825, 825, 825, 10, 10, 10, 10, 10, 10, 825, 825, 825, 825, 10, 10, 656];
map9[15] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map9[16] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map9[17] = [656, 10, 10, 10, 10, 10, 10, 10, 825, 825, 825, 825, 10, 10, 10, 10, 10, 10, 825, 825, 825, 825, 10, 10, 10, 10, 10, 10, 10, 656];
map9[18] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map9[19] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map9[20] = [656, 825, 825, 825, 825, 10, 10, 10, 10, 10, 10, 10, 825, 825, 825, 825, 825, 825, 10, 10, 10, 10, 10, 10, 10, 825, 825, 825, 825, 656];
map9[21] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map9[22] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map9[23] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 825, 825, 825, 825, 10, 10, 825, 825, 825, 825, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map9[24] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map9[25] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map9[26] = [656, 10, 10, 10, 825, 825, 825, 825, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 825, 825, 825, 825, 10, 10, 10, 656];
map9[27] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map9[28] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map9[29] = [656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656];
var map10 = new Array();
map10[0] = [656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656];
map10[1] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map10[2] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map10[3] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map10[4] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map10[5] = [656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 10, 10, 10, 10, 656];
map10[6] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map10[7] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map10[8] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map10[9] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map10[10] = [656, 25, 521, 105, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656];
var map11 = new Array();
map11[0] = [656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656, 656];
map11[1] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map11[2] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map11[3] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map11[4] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map11[5] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map11[6] = [656, 10, 10, 10, 25, 41, 41, 41, 41, 41, 41, 105, 10, 10, 10, 25, 41, 41, 41, 41, 41, 41, 105, 10, 10, 10, 25, 521, 105, 656];
map11[7] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map11[8] = [656, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 656];
map11[9] = [112, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 192];
var map12 = new Array();
map12[0] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map12[1] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map12[2] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map12[3] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map12[4] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1184, 1168, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map12[5] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map12[6] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 570, 1136, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map12[7] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1184, 1168, 1136, 1152, 1184, 1168, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map12[8] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1200, 1200, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10, 10];
map12[9] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1200, 1200, 1200, 1152, 570, 10, 10, 10, 10, 985, 1017, 1017, 1017, 1017, 1017, 1113, 10, 10, 10, 10, 10];
map12[10] = [10, 10, 10, 10, 10, 985, 1017, 1017, 1017, 1017, 1017, 1113, 10, 10, 10, 10, 10, 1184, 1168, 1136, 1200, 1200, 1200, 1200, 1152, 1184, 1168, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map12[11] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map12[12] = [10, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map12[13] = [1184, 1248, 1168, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1184, 1168, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 1184, 1168, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map12[14] = [1136, 1200, 1152, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map12[15] = [1136, 1200, 1152, 10, 985, 1017, 1017, 1017, 1017, 1017, 1113, 10, 10, 570, 10, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map12[16] = [1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1184, 1168, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 1184, 1168, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10];
map12[17] = [1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 10, 985, 1017, 1017, 1017, 1017, 1017, 1113, 10];
map12[18] = [1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map12[19] = [1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 1184, 1168, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 1184, 1168, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map12[20] = [1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map12[21] = [1136, 1200, 1152, 10, 10, 570, 10, 10, 10, 10, 10, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map12[22] = [1136, 1200, 1152, 10, 985, 1017, 1017, 1017, 1017, 1017, 1113, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map12[23] = [1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map12[24] = [1136, 1200, 1152, 570, 10, 10, 10, 10, 570, 10, 10, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 10, 10, 10, 10, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 10, 25, 521, 105, 10, 10, 10];
map12[25] = [1136, 1200, 1152, 1184, 1248, 1248, 1248, 1248, 1248, 1248, 1168, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 10, 10, 10, 10, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map12[26] = [1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 10, 10, 10, 10, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map12[27] = [1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1200, 1200, 1200, 1152, 10, 570, 10, 10, 10, 10, 10, 10, 570];
map12[28] = [1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1200, 1200, 1200, 1152, 1184, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1168];
map12[29] = [1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152];
var map13 = new Array();
map13[0] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[1] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[2] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[3] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[4] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[5] = [10, 10, 570, 10, 10, 10, 10, 10, 570, 25, 521, 105, 10, 10, 10, 10, 570, 10, 10, 10];
map13[6] = [10, 985, 1017, 1017, 1017, 1017, 1017, 1017, 1113, 10, 10, 10, 10, 10, 10, 985, 1017, 1017, 1017, 1113];
map13[7] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[8] = [10, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[9] = [10, 10, 10, 10, 10, 985, 1017, 1017, 1017, 1017, 1113, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[10] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[11] = [10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10];
map13[12] = [10, 985, 1017, 1017, 1113, 10, 10, 10, 10, 10, 10, 10, 985, 1017, 1113, 10, 10, 10, 10, 10];
map13[13] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[14] = [10, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[15] = [10, 10, 10, 10, 985, 1017, 1017, 1017, 1017, 1017, 1017, 1113, 10, 10, 10, 10, 10, 10, 10, 10];
map13[16] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[17] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10];
map13[18] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 985, 1017, 1017, 1017, 1017, 1017, 1113, 10, 10];
map13[19] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[20] = [10, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[21] = [985, 1017, 1017, 1017, 1017, 1017, 1113, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[22] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[23] = [10, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10];
map13[24] = [10, 10, 10, 10, 10, 10, 985, 1017, 1017, 1017, 1113, 10, 10, 10, 10, 985, 1017, 1017, 1017, 1113];
map13[25] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[26] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10];
map13[27] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 985, 1017, 1017, 1113, 10, 10, 10];
map13[28] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[29] = [10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[30] = [10, 10, 985, 1017, 1017, 1017, 1017, 1017, 1017, 1113, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[31] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[32] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[33] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 985, 1017, 1113, 10, 10, 10, 10, 10, 10, 10];
map13[34] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[35] = [10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 570, 10];
map13[36] = [985, 1017, 1017, 1017, 1017, 1017, 1017, 1113, 10, 10, 10, 10, 10, 10, 10, 985, 1017, 1017, 1017, 1113];
map13[37] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[38] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10];
map13[39] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 985, 1017, 1017, 1017, 1017, 1113, 10, 10, 10, 10];
map13[40] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[41] = [10, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[42] = [10, 10, 10, 10, 10, 985, 1017, 1017, 1113, 10, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10];
map13[43] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 985, 1017, 1113, 10];
map13[44] = [10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[45] = [10, 10, 985, 1017, 1017, 1017, 1017, 1017, 1017, 1113, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[46] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map13[47] = [10, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 570];
map13[48] = [1184, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1168];
var map14 = new Array();
map14[0] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map14[1] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map14[2] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map14[3] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map14[4] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map14[5] = [10, 25, 537, 105, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 25, 521, 105, 10];
map14[6] = [10, 10, 10, 10, 10, 10, 985, 1017, 1017, 1017, 1017, 1113, 10, 10, 10, 10, 10, 10, 10, 10];
map14[7] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map14[8] = [10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10];
map14[9] = [985, 1017, 1017, 1017, 1113, 10, 10, 10, 10, 10, 10, 10, 985, 1017, 1017, 1017, 1017, 1017, 1017, 1113];
map14[10] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map14[11] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map14[12] = [10, 10, 10, 10, 10, 10, 985, 1017, 1017, 1113, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map14[13] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map14[14] = [10, 570, 10, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 570, 10, 10, 10];
map14[15] = [1184, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1168];
var map15 = new Array();
map15[0] = [10, 10, 10, 10, 208, 496, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 496];
map15[1] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map15[2] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map15[3] = [10, 570, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map15[4] = [985, 1113, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map15[5] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 112, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 192, 10, 10, 10, 10, 208];
map15[6] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208, 496, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 496, 368, 10, 10, 10, 10, 208];
map15[7] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208];
map15[8] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 112, 496, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 112, 496];
map15[9] = [10, 10, 985, 1113, 208, 368, 10, 10, 10, 432, 496, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 432, 496];
map15[10] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208];
map15[11] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 112, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 192, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208];
map15[12] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208, 496, 448, 448, 448, 448, 448, 448, 448, 448, 448, 496, 368, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208];
map15[13] = [10, 570, 10, 10, 208, 368, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208];
map15[14] = [985, 1113, 10, 10, 208, 496, 192, 10, 10, 10, 208, 368, 10, 10, 10, 112, 496, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 112, 496, 496, 192, 10, 10, 10, 208];
map15[15] = [10, 10, 10, 10, 208, 496, 480, 10, 10, 10, 208, 368, 10, 10, 10, 432, 496, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 432, 496, 496, 480, 10, 10, 10, 208];
map15[16] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208];
map15[17] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208, 368, 10, 25, 521, 105, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208];
map15[18] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208];
map15[19] = [10, 10, 985, 1113, 208, 368, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208];
map15[20] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 112, 496, 496, 192, 10, 10, 10, 208, 496, 128, 128, 128, 128, 192, 10, 10, 10, 112, 496, 496, 192, 10, 10, 10, 208, 368, 10, 10, 10, 112, 496];
map15[21] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 432, 496, 496, 480, 10, 10, 10, 432, 448, 448, 448, 448, 448, 480, 10, 10, 10, 432, 496, 496, 480, 10, 10, 10, 208, 368, 10, 10, 10, 432, 496];
map15[22] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208];
map15[23] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208];
map15[24] = [985, 1113, 10, 10, 208, 368, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208];
map15[25] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208];
map15[26] = [10, 10, 10, 10, 208, 496, 192, 10, 10, 10, 208, 496, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 496, 368, 10, 10, 10, 112, 496, 496, 192, 10, 10, 10, 208];
map15[27] = [10, 10, 10, 10, 208, 496, 480, 10, 10, 10, 432, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 480, 10, 10, 10, 432, 496, 496, 480, 10, 10, 10, 208];
map15[28] = [10, 10, 10, 570, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208];
map15[29] = [10, 10, 985, 1113, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208];
map15[30] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208];
map15[31] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 208];
map15[32] = [10, 10, 10, 10, 208, 496, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 496, 368, 10, 10, 10, 112, 496];
map15[33] = [10, 10, 10, 10, 432, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 480, 10, 10, 10, 432, 496];
map15[34] = [985, 1113, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map15[35] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map15[36] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map15[37] = [10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208];
map15[38] = [1184, 1248, 1248, 1168, 112, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 496];
map15[39] = [1136, 1200, 1200, 1152, 432, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448];
var map16 = new Array();
map16[0] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map16[1] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map16[2] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map16[3] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map16[4] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 112, 128, 128, 128, 128, 128, 128, 128, 128, 192];
map16[5] = [10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 985, 1017, 1017, 1017, 1017, 1017, 1017, 1113, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 432, 448, 448, 448, 448, 448, 448, 448, 496, 368];
map16[6] = [10, 985, 1017, 1017, 1017, 1113, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 985, 1017, 1017, 1113, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368];
map16[7] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368];
map16[8] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368];
map16[9] = [10, 10, 10, 10, 10, 112, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 496, 368];
map16[10] = [10, 10, 10, 10, 10, 432, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 480];
map16[11] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map16[12] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map16[13] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map16[14] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map16[15] = [10, 10, 570, 10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 570, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 570, 570];
map16[16] = [1184, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1168, 10, 10, 10, 1184, 1168];
map16[17] = [1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 25, 521, 105, 1136, 1152];
var map17 = new Array();
map17[0] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map17[1] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map17[2] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map17[3] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map17[4] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map17[5] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 521, 105, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map17[6] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map17[7] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map17[8] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map17[9] = [10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map17[10] = [10, 10, 10, 10, 10, 1184, 1248, 1248, 1248, 1248, 1248, 1168, 10, 10, 10, 10, 10, 10, 10, 1184, 1248, 1248, 1248, 1248, 1248, 1168, 10, 10, 10, 10, 10];
map17[11] = [10, 10, 10, 10, 10, 1136, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 10, 10, 10];
map17[12] = [10, 570, 10, 10, 10, 1136, 1200, 1200, 1200, 1200, 1200, 1152, 570, 10, 10, 10, 10, 10, 570, 1136, 1200, 1200, 1200, 1200, 1200, 1152, 570, 10, 10, 10, 10];
map17[13] = [1184, 1248, 1248, 1248, 1168, 1136, 1200, 1200, 1200, 1200, 1200, 1152, 1248, 1248, 1248, 1248, 1248, 1248, 1168, 1136, 1200, 1200, 1200, 1200, 1200, 1152, 1248, 1248, 1248, 1248, 1168];
map17[14] = [1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152];
var map18 = new Array();
map18[0] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map18[1] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map18[2] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map18[3] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map18[4] = [10, 10, 10, 10, 112, 128, 128, 192, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 112, 128, 128, 192, 10, 10, 10, 10];
map18[5] = [10, 10, 10, 10, 208, 496, 496, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 496, 496, 368, 10, 10, 10, 10];
map18[6] = [10, 10, 10, 10, 208, 496, 496, 368, 10, 10, 10, 10, 10, 10, 10, 10, 112, 128, 192, 10, 10, 10, 10, 10, 10, 10, 10, 208, 496, 496, 368, 10, 10, 10, 10];
map18[7] = [10, 10, 10, 10, 432, 448, 448, 480, 10, 10, 10, 10, 10, 10, 10, 10, 208, 496, 368, 10, 10, 10, 10, 10, 10, 10, 10, 432, 448, 448, 480, 10, 10, 10, 10];
map18[8] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 432, 448, 480, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map18[9] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map18[10] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map18[11] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map18[12] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 112, 128, 128, 192, 10, 10, 10, 10, 10, 112, 128, 128, 192, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map18[13] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 496, 496, 368, 10, 10, 10, 10, 10, 208, 496, 496, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map18[14] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 496, 496, 368, 10, 10, 10, 10, 10, 208, 496, 496, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map18[15] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 432, 448, 448, 480, 10, 10, 10, 10, 10, 432, 448, 448, 480, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map18[16] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map18[17] = [10, 10, 10, 10, 112, 128, 192, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 521, 105, 10, 10, 10, 10, 10, 10, 10, 10, 10, 112, 128, 192, 10, 10, 10, 10];
map18[18] = [10, 10, 10, 10, 208, 496, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 496, 368, 10, 10, 10, 10];
map18[19] = [570, 10, 10, 10, 432, 448, 480, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 432, 448, 480, 10, 10, 570, 10];
map18[20] = [1184, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1168];
map18[21] = [1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152];
var map19 = new Array();
map19[0] = [10, 10, 10, 10, 496, 496, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 496, 496, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 496, 496, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 496, 496, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map19[1] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map19[2] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map19[3] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map19[4] = [1305, 1321, 10, 10, 208, 368, 10, 10, 10, 10, 1184, 1168, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 1184, 1168, 496, 128, 128, 128, 128, 192, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 1184, 1168, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 112, 192, 10, 10, 10, 10];
map19[5] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 1136, 1152, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 1136, 1152, 496, 448, 448, 448, 448, 480, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 1136, 1152, 10, 10, 10, 10, 432, 480, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10];
map19[6] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 1136, 1152, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 1136, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 1136, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10];
map19[7] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 1136, 1152, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 1136, 1152, 10, 10, 10, 10, 10, 10, 10, 1305, 1321, 10, 208, 368, 10, 10, 10, 10, 1136, 1152, 10, 1305, 1321, 10, 10, 10, 10, 1305, 1321, 10, 208, 368, 10, 10, 10, 10];
map19[8] = [10, 10, 1305, 1321, 208, 368, 10, 10, 1305, 1321, 1136, 1152, 1305, 1321, 10, 10, 208, 368, 10, 10, 1305, 1321, 1136, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 1305, 1321, 1136, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 1305, 1321, 10];
map19[9] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 1136, 1152, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 1136, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 1136, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10];
map19[10] = [10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 1136, 1152, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 1136, 1152, 10, 10, 10, 10, 112, 128, 128, 128, 128, 128, 496, 368, 10, 10, 10, 10, 1136, 1152, 496, 128, 128, 128, 128, 128, 128, 128, 128, 128, 496, 368, 10, 10, 10, 10];
map19[11] = [10, 10, 10, 10, 432, 480, 10, 10, 10, 10, 1136, 1152, 10, 10, 10, 10, 432, 480, 10, 10, 10, 10, 1136, 1152, 10, 10, 10, 10, 432, 448, 448, 448, 448, 448, 448, 480, 10, 10, 10, 10, 1136, 1152, 496, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 480, 10, 10, 10, 10];
map19[12] = [1305, 1321, 10, 10, 10, 10, 10, 10, 1305, 1321, 1136, 1152, 1305, 1321, 10, 10, 10, 10, 10, 10, 1305, 1321, 1136, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1305, 1321, 1136, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1305, 1321, 10];
map19[13] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1152, 10, 1305, 1321, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map19[14] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map19[15] = [10, 10, 570, 10, 10, 10, 10, 10, 570, 10, 1136, 1152, 10, 10, 570, 10, 10, 10, 10, 570, 10, 10, 1136, 1152, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 1136, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 570, 10, 10, 10];
map19[16] = [1184, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1136, 1152, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1136, 1152, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1136, 1152, 128, 192, 10, 10, 10, 112, 128, 1184, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1168];
map19[17] = [1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 496, 368, 25, 521, 105, 208, 496, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152];
var map20 = new Array();
map20[0] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map20[1] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map20[2] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map20[3] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map20[4] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map20[5] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 521, 105, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map20[6] = [10, 10, 570, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10];
map20[7] = [1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1168, 10, 10, 10, 1184, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248];
map20[8] = [1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 10, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200];
map20[9] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 1321, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map20[10] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map20[11] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10];
map20[12] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 1305, 1184, 1248, 1168, 10, 10, 10, 10, 1184, 1248, 1168, 10, 10, 10];
map20[13] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 1136, 1200, 1152, 1305, 1337, 1337, 1321, 1136, 1200, 1152, 10, 10, 10];
map20[14] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 1136, 1200, 1152, 570, 10, 10];
map20[15] = [1305, 1337, 1321, 10, 10, 10, 10, 1305, 1337, 1321, 1136, 1200, 1152, 1321, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 1136, 1200, 1152, 1168, 10, 10];
map20[16] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 1136, 1200, 1200, 1152, 10, 10];
map20[17] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 1136, 1200, 1152, 1337, 1321, 10, 10, 1136, 1200, 1152, 10, 10, 10];
map20[18] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1305, 1136, 1200, 1152, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10];
map20[19] = [10, 10, 10, 1305, 1337, 1337, 1321, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10];
map20[20] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 1136, 1200, 1152, 10, 1305, 1337];
map20[21] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1184, 1248, 1168, 10, 10, 10, 1136, 1200, 1152, 10, 10, 1305, 1337, 1136, 1200, 1152, 10, 10, 10];
map20[22] = [10, 10, 10, 570, 10, 10, 10, 10, 10, 570, 1136, 1200, 1152, 10, 10, 1305, 1136, 1200, 1152, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10];
map20[23] = [1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1136, 1200, 1152, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 1136, 1200, 1152, 570, 10, 10];
map20[24] = [1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 1136, 1200, 1152, 1168, 10, 10];
map20[25] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 1321, 10, 10, 1136, 1200, 1152, 1337, 1321, 10, 10, 1136, 1200, 1200, 1152, 10, 10];
map20[26] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map20[27] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map20[28] = [1305, 1337, 1337, 1321, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 1305, 1136, 1200, 1152, 10, 10, 570, 10, 10, 10, 10, 570, 10, 10];
map20[29] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 1136, 1200, 1152, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248];
map20[30] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200];
map20[31] = [10, 10, 10, 10, 10, 10, 1305, 1337, 1337, 1321, 1136, 1200, 1152, 1321, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map20[32] = [1305, 1337, 1337, 1321, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map20[33] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map20[34] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 1184, 1248, 1168, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map20[35] = [10, 10, 10, 10, 10, 10, 1305, 1337, 1337, 1321, 1136, 1200, 1152, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map20[36] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1305, 1136, 1200, 1152, 1305, 1337, 1337, 1337, 1337, 1337, 1337, 1337, 1337, 1321];
map20[37] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map20[38] = [10, 10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 1136, 1200, 1152, 10, 570, 10, 10, 10, 10, 10, 10, 570, 10];
map20[39] = [1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1168, 10, 10, 10, 1136, 1200, 1152, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248];
map20[40] = [1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 1305, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200];
map20[41] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map20[42] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map20[43] = [570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 1321, 10, 10, 1136, 1200, 1152, 10, 570, 10, 10, 10, 10, 10, 10, 10, 10];
map20[44] = [1248, 1168, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 1136, 1200, 1152, 1248, 1248, 1248, 1168, 10, 10, 10, 10, 10, 10];
map20[45] = [1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 1136, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 10, 10, 10, 10];
map20[46] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 1305, 1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map20[47] = [10, 10, 10, 10, 10, 10, 10, 10, 570, 10, 1136, 1200, 1152, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 570, 10];
map20[48] = [10, 10, 10, 10, 10, 1184, 1248, 1248, 1248, 1248, 1136, 1200, 1152, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 1184, 1248, 1248];
map20[49] = [10, 10, 10, 10, 10, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 1321, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1200];
map20[50] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map20[51] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map20[52] = [10, 10, 10, 570, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map20[53] = [1184, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1168];
map20[54] = [1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152];
var map21 = new Array();
map21[0] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[1] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[2] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[3] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10, 112, 192, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[4] = [10, 10, 10, 10, 1184, 1248, 1168, 10, 10, 10, 10, 10, 1184, 1248, 1168, 10, 10, 10, 112, 128, 128, 496, 496, 128, 128, 128, 496, 496, 128, 128, 192, 10, 10, 10, 10, 10, 10, 10];
map21[5] = [10, 10, 570, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 208, 272, 272, 272, 272, 272, 496, 448, 448, 448, 448, 448, 480, 10, 10, 10, 10, 10, 10, 10];
map21[6] = [10, 10, 985, 1017, 1136, 1200, 1152, 1305, 1337, 1337, 1337, 1321, 1136, 1200, 1152, 10, 10, 10, 432, 448, 448, 448, 448, 496, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[7] = [10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[8] = [10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[9] = [1017, 1113, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[10] = [10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 1136, 1200, 1152, 1305, 1321, 10, 112, 128, 128, 128, 128, 496, 368, 10, 10, 10, 10, 10, 10, 10, 25, 521, 105, 10, 10, 10];
map21[11] = [10, 10, 10, 10, 1136, 1200, 1152, 1305, 1337, 1321, 10, 10, 1136, 1200, 1152, 10, 10, 10, 208, 496, 448, 448, 448, 448, 480, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[12] = [10, 10, 985, 1017, 1136, 1200, 1152, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[13] = [10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[14] = [570, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[15] = [1017, 1113, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 1136, 1200, 1152, 1321, 10, 10, 208, 496, 128, 128, 128, 128, 192, 10, 10, 112, 128, 128, 128, 128, 128, 128, 128, 128, 128, 496];
map21[16] = [10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 1305, 1321, 1136, 1200, 1152, 10, 10, 10, 208, 272, 272, 272, 272, 272, 368, 10, 10, 432, 448, 448, 448, 448, 448, 448, 448, 448, 448, 496];
map21[17] = [10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 208, 496, 448, 448, 448, 448, 480, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[18] = [10, 10, 10, 985, 1136, 1200, 1152, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[19] = [10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[20] = [10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 1136, 1200, 1152, 1321, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[21] = [10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 1305, 1337, 1321, 1136, 1200, 1152, 10, 10, 10, 208, 496, 128, 128, 128, 128, 128, 192, 10, 10, 10, 112, 128, 128, 128, 128, 128, 128, 128, 496];
map21[22] = [1017, 1113, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 208, 496, 448, 448, 448, 448, 448, 480, 10, 10, 10, 432, 448, 448, 448, 448, 448, 448, 448, 496];
map21[23] = [10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[24] = [10, 10, 10, 570, 1136, 1200, 1152, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 112, 128, 496, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[25] = [10, 10, 985, 1017, 1136, 1200, 1152, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 432, 448, 496, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[26] = [10, 10, 10, 10, 1136, 1200, 1152, 1305, 1337, 1321, 10, 10, 1136, 1200, 1152, 10, 10, 10, 208, 496, 128, 128, 128, 128, 192, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[27] = [10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 432, 448, 448, 448, 448, 496, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[28] = [10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 208, 496, 128, 128, 128, 192, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[29] = [1184, 1168, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 208, 496, 448, 448, 448, 480, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[30] = [1136, 1152, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 1136, 1200, 1152, 1305, 1321, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[31] = [1136, 1152, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 112, 128, 128, 128, 128, 496, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[32] = [1136, 1152, 10, 10, 1136, 1200, 1152, 10, 10, 10, 570, 10, 1136, 1200, 1152, 10, 10, 10, 208, 496, 448, 448, 448, 448, 480, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[33] = [10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 1184, 1248, 1248, 1136, 1200, 1152, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 112, 128, 128, 128, 496];
map21[34] = [10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 1136, 1200, 1200, 1200, 1200, 1152, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 432, 448, 448, 448, 496];
map21[35] = [10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 112, 128, 496, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[36] = [10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 432, 448, 496, 496, 128, 128, 128, 128, 192, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[37] = [10, 10, 10, 570, 1136, 1200, 1152, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 208, 272, 272, 272, 272, 272, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[38] = [10, 10, 1184, 1248, 1136, 1200, 1152, 10, 570, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 432, 448, 448, 448, 448, 496, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[39] = [10, 10, 1136, 1200, 1200, 1200, 1152, 1248, 1248, 1168, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 208, 496, 128, 128, 128, 128, 192, 10, 10, 10, 10, 10, 10, 10, 10];
map21[40] = [10, 10, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1152, 10, 10, 1136, 1200, 1152, 1321, 10, 10, 10, 10, 10, 10, 10, 208, 496, 448, 448, 448, 448, 480, 10, 10, 10, 10, 10, 10, 10, 10];
map21[41] = [10, 10, 1136, 1200, 1200, 1152, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[42] = [10, 10, 1136, 1200, 1200, 1152, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 112, 128, 128, 128, 128, 496, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[43] = [10, 10, 1136, 1200, 1200, 1152, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 208, 272, 272, 272, 272, 272, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[44] = [10, 10, 1136, 1200, 1200, 1152, 10, 10, 10, 10, 1305, 1321, 1136, 1200, 1152, 10, 10, 10, 432, 448, 448, 448, 448, 496, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[45] = [10, 10, 1136, 1200, 1200, 1152, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 112, 128, 128, 128, 496];
map21[46] = [10, 10, 1136, 1200, 1200, 1152, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 208, 272, 272, 272, 272];
map21[47] = [10, 10, 1136, 1200, 1200, 1152, 1305, 1337, 1321, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 432, 448, 448, 448, 496];
map21[48] = [10, 10, 1136, 1200, 1200, 1152, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 1305, 1321, 10, 112, 128, 128, 128, 128, 496, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[49] = [10, 10, 1136, 1200, 1200, 1152, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 432, 448, 448, 448, 448, 448, 480, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[50] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1305, 1321, 1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[51] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1136, 1200, 1152, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[52] = [10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 10, 570, 1136, 1200, 1152, 10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map21[53] = [1184, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1136, 1200, 1152, 1248, 1248, 1248, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128];
map21[54] = [1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, 272];
var map22 = new Array();
map22[0] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map22[1] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map22[2] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map22[3] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map22[4] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map22[5] = [112, 192, 10, 10, 10, 10, 10, 10, 112, 192, 10, 10, 25, 521, 105, 10, 10, 112, 192, 10, 10, 10, 10, 10, 10, 112, 192];
map22[6] = [432, 480, 10, 10, 10, 10, 10, 10, 432, 480, 10, 10, 10, 10, 10, 10, 10, 432, 480, 10, 10, 10, 10, 10, 10, 432, 480];
map22[7] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map22[8] = [10, 10, 10, 10, 112, 192, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 112, 192, 10, 10, 10, 10];
map22[9] = [10, 10, 10, 10, 432, 480, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 432, 480, 10, 10, 10, 10];
map22[10] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map22[11] = [112, 192, 10, 10, 10, 10, 10, 10, 112, 192, 10, 10, 10, 10, 10, 10, 10, 112, 192, 10, 10, 10, 10, 10, 10, 112, 192];
map22[12] = [432, 480, 10, 10, 570, 10, 10, 10, 432, 480, 10, 10, 25, 537, 105, 10, 10, 432, 480, 10, 10, 10, 570, 10, 10, 432, 480];
map22[13] = [10, 10, 10, 985, 1017, 1017, 1113, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 985, 1017, 1017, 1113, 10, 10, 10];
map22[14] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map22[15] = [10, 10, 570, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10, 10, 570, 10, 10, 10, 10, 10];
map22[16] = [1184, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1168];
map22[17] = [1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1152];
var map23 = new Array();
map23[0] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map23[1] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map23[2] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map23[3] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map23[4] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map23[5] = [10, 10, 10, 10, 10, 10, 112, 192, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 112, 192, 10, 10, 10, 10, 10, 10];
map23[6] = [10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10];
map23[7] = [10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10];
map23[8] = [10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 1305, 1337, 1337, 1337, 1337, 1337, 1321, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10];
map23[9] = [10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10];
map23[10] = [10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10];
map23[11] = [10, 10, 10, 10, 10, 10, 432, 480, 10, 10, 10, 10, 10, 25, 521, 105, 10, 10, 10, 10, 10, 432, 480, 10, 10, 10, 10, 10, 10];
map23[12] = [10, 1305, 1337, 1321, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1305, 1337, 1321, 10];
map23[13] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map23[14] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 1305, 1337, 1321, 10, 10, 10, 10, 10, 1305, 1337, 1321, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map23[15] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map23[16] = [10, 10, 10, 10, 570, 10, 10, 10, 10, 570, 10, 10, 10, 10, 10, 570, 570, 10, 10, 10, 10, 10, 10, 10, 10, 10, 570, 10, 10];
map23[17] = [128, 192, 1184, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 1248, 112, 128];
map23[18] = [496, 368, 1136, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 1200, 208, 496];
var map24 = new Array();
map24[0] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map24[1] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map24[2] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map24[3] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map24[4] = [10, 10, 10, 10, 1465, 1497, 1497, 1481, 10, 10, 10, 10, 10, 10, 10, 10, 25, 41, 537, 41, 105, 10, 10, 10, 10, 10, 10, 10, 10, 1465, 1497, 1497, 1481, 10, 10, 10, 10];
map24[5] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map24[6] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map24[7] = [10, 10, 10, 10, 10, 10, 10, 10, 1465, 1497, 1497, 1497, 1497, 1497, 1481, 10, 10, 10, 10, 10, 10, 10, 1465, 1497, 1497, 1497, 1497, 1497, 1481, 10, 10, 10, 10, 10, 10, 10, 10];
map24[8] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map24[9] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map24[10] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1465, 1497, 1497, 1497, 1481, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map24[11] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map24[12] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map24[13] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1616, 1600, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1616, 1600, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map24[14] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1536, 1568, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1536, 1568, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map24[15] = [10, 10, 10, 1465, 1497, 1497, 1497, 1497, 1481, 10, 10, 10, 10, 10, 10, 10, 10, 25, 521, 105, 10, 10, 10, 10, 10, 10, 10, 10, 1465, 1497, 1497, 1497, 1497, 1481, 10, 10, 10];
map24[16] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map24[17] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map24[18] = [1616, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1600];
map24[19] = [1536, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1568];
var map25 = new Array();
map25[0] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map25[1] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map25[2] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map25[3] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map25[4] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map25[5] = [10, 10, 10, 112, 128, 128, 128, 128, 128, 128, 128, 128, 192, 10, 10, 112, 192, 10, 10, 10, 10, 10, 10, 112, 192, 10, 10, 10, 10, 112, 128, 128, 128, 128, 192, 10, 10, 25, 521, 105];
map25[6] = [10, 10, 10, 208, 496, 448, 448, 448, 448, 448, 448, 448, 480, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 432, 448, 448, 448, 448, 480, 10, 10, 10, 10, 10];
map25[7] = [10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 112, 192, 10, 10, 10, 10, 10, 10, 112, 192, 10, 10, 10];
map25[8] = [10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 112, 192, 10, 10, 208, 368, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 432, 480, 10, 10, 10];
map25[9] = [10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 208, 368, 10, 10, 208, 368, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map25[10] = [10, 10, 10, 208, 496, 128, 128, 128, 128, 128, 192, 10, 10, 10, 10, 208, 368, 10, 10, 208, 368, 10, 10, 208, 368, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map25[11] = [10, 10, 10, 208, 496, 448, 448, 448, 448, 448, 480, 10, 10, 10, 10, 208, 368, 10, 10, 208, 368, 10, 10, 208, 368, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map25[12] = [10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 208, 368, 10, 10, 208, 368, 10, 10, 208, 368, 10, 10, 10, 10, 112, 128, 128, 192, 10, 10, 10];
map25[13] = [10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 208, 368, 10, 10, 208, 368, 10, 10, 208, 368, 10, 10, 10, 10, 432, 448, 496, 368, 10, 10, 10];
map25[14] = [10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 208, 368, 10, 10, 208, 368, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 208, 368, 10, 10, 10];
map25[15] = [10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 432, 480, 10, 10, 432, 480, 10, 10, 432, 480, 10, 10, 432, 480, 10, 10, 10, 10, 10, 10, 432, 480, 10, 10, 10];
map25[16] = [10, 10, 10, 208, 368, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 112, 192, 10, 10, 112, 192, 10, 10, 10, 10, 10, 10, 112, 128, 128, 128, 128, 192, 10, 10, 1465, 1497, 1481];
map25[17] = [10, 10, 10, 432, 480, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 432, 480, 10, 10, 432, 480, 10, 10, 10, 10, 10, 10, 432, 448, 448, 448, 448, 480, 10, 10, 10, 10, 10];
map25[18] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map25[19] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map25[20] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map25[21] = [1616, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1600];
var map26 = new Array();
map26[0] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map26[1] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map26[2] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map26[3] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map26[4] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map26[5] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 25, 521, 105, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map26[6] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map26[7] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map26[8] = [10, 10, 10, 10, 10, 10, 1616, 1600, 10, 10, 10, 10, 10, 1616, 1600, 10, 10, 10, 10, 10, 1616, 1696, 1600, 10, 10, 10, 10, 10, 1616, 1600, 10, 10, 10, 10, 10, 1616, 1600, 10, 10, 10, 10, 10, 10];
map26[9] = [10, 10, 10, 10, 10, 10, 1536, 1568, 10, 10, 10, 10, 10, 1536, 1568, 10, 10, 10, 10, 10, 1536, 1632, 1568, 10, 10, 10, 10, 10, 1536, 1568, 10, 10, 10, 10, 10, 1536, 1568, 10, 10, 10, 10, 10, 10];
map26[10] = [10, 10, 10, 10, 10, 10, 1536, 1568, 10, 10, 10, 10, 10, 1536, 1568, 10, 10, 10, 10, 10, 1536, 1632, 1568, 10, 10, 10, 10, 10, 1536, 1568, 10, 10, 10, 10, 10, 1536, 1568, 10, 10, 10, 10, 10, 10];
map26[11] = [1616, 1696, 1696, 1696, 1696, 1696, 1536, 1568, 1696, 1696, 1696, 1696, 1600, 1536, 1568, 1616, 1696, 1696, 1696, 1696, 1536, 1632, 1568, 1696, 1696, 1696, 1696, 1600, 1536, 1568, 1616, 1696, 1696, 1696, 1696, 1536, 1568, 1696, 1696, 1696, 1696, 1696, 1600];
map26[12] = [1536, 1632, 1632, 1632, 1632, 1632, 1536, 1568, 1632, 1632, 1632, 1632, 1568, 1536, 1568, 1536, 1632, 1632, 1632, 1632, 1536, 1632, 1568, 1632, 1632, 1632, 1632, 1568, 1536, 1568, 1536, 1632, 1632, 1632, 1632, 1536, 1568, 1632, 1632, 1632, 1632, 1632, 1568];
var map27 = new Array();
map27[0] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map27[1] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map27[2] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map27[3] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map27[4] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map27[5] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map27[6] = [1616, 1600, 10, 1465, 1497, 1497, 1497, 1497, 1497, 1497, 1497, 1497, 1481, 10, 25, 521, 105, 10, 1465, 1497, 1497, 1497, 1497, 1497, 1497, 1497, 1497, 1481, 10, 1616, 1600];
map27[7] = [1536, 1568, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1536, 1568];
map27[8] = [1536, 1568, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1536, 1568];
map27[9] = [1536, 1568, 1616, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1600, 1536, 1568];
map27[10] = [1536, 1568, 1536, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1568, 1536, 1568];
var map28 = new Array();
map28[0] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map28[1] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map28[2] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map28[3] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map28[4] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map28[5] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map28[6] = [10, 10, 1465, 1497, 1497, 1497, 1497, 1497, 1497, 1497, 1481, 10, 10, 10, 25, 521, 105, 10, 10, 10, 1465, 1497, 1497, 1497, 1497, 1497, 1497, 1497, 1481, 10, 10];
map28[7] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map28[8] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map28[9] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 1616, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1600, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map28[10] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 1536, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1568, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map28[11] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 1536, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1568, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map28[12] = [1616, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1600, 1536, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1568, 1616, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1600];
map28[13] = [1536, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1568, 1536, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1568, 1536, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1568];
var map29 = new Array();
map29[0] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map29[1] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map29[2] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map29[3] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map29[4] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map29[5] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map29[6] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map29[7] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map29[8] = [10, 10, 10, 1465, 1497, 1497, 1497, 1497, 1497, 1497, 1497, 1481, 10, 10, 10, 10, 25, 521, 105, 10, 10, 10, 10, 1465, 1497, 1497, 1497, 1497, 1497, 1497, 1497, 1481, 10, 10, 10];
map29[9] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map29[10] = [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map29[11] = [1616, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1600, 10, 10, 1616, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1600, 10, 10, 1616, 1696, 1696, 1696, 1696, 1696, 1696, 1696, 1600];
map29[12] = [1536, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1568, 1616, 1600, 1536, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1568, 1616, 1600, 1536, 1632, 1632, 1632, 1632, 1632, 1632, 1632, 1568];
var map30 = new Array();
map30[0] = [544, 10, 10, 10, 10, 10, 10, 544, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map30[1] = [10, 10, 10, 10, 10, 10, 10, 544, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map30[2] = [10, 10, 10, 10, 10, 10, 10, 544, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map30[3] = [10, 10, 10, 10, 10, 10, 10, 544, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map30[4] = [10, 10, 10, 10, 10, 10, 10, 544, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map30[5] = [10, 10, 10, 10, 10, 10, 10, 544, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map30[6] = [10, 10, 10, 10, 10, 10, 10, 544, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map30[7] = [10, 10, 10, 10, 10, 10, 10, 544, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map30[8] = [10, 10, 10, 10, 10, 10, 10, 544, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map30[9] = [10, 10, 10, 10, 10, 10, 10, 544, 10, 10, 10, 10, 10, 10, 25, 41, 41, 41, 41, 41, 105, 10, 10, 10, 10, 25, 521, 105, 10];
map30[10] = [10, 10, 10, 10, 10, 10, 10, 544, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 1386, 10, 10];
map30[11] = [10, 10, 10, 10, 10, 10, 10, 544, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10];
map30[12] = [10, 10, 10, 10, 10, 10, 10, 112, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 496];
map30[13] = [10, 10, 10, 10, 10, 10, 10, 432, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 448, 496];
eval ("set_" + mygame.level)();
mygame.mapping(eval ("map" + mygame.level));
mygame.pause = 0;
mygame.clip.foreground.bar_2.mc.mission.autoSize = "right";
onEnterFrame = function () {
mygame.stepper();
if (mygame.pause == 3) {
mygame.clip.foreground.gotoAndStop("gameover");
} else if (mygame.pause == 2) {
mygame.uninstall();
mygame.clip.foreground.gotoAndStop("gamepause");
} else if (mygame.pause == 1) {
} else if (mygame.pause == 0) {
if (mygame.level < 30) {
mygame.clip.foreground.gotoAndStop("gamenow");
} else {
mygame.clip.foreground.gotoAndStop("train");
}
(mygame.clip._visible != true) && ((mygame.clip._visible = true));
mygame.clip.foreground.bar_2.level.text = (("stage: " + Math.ceil((mygame.level + 1) / 6)) + "--") + ((mygame.level + 1) % 6);
mygame.clip.foreground.bar_2.mission.text = Msf.format_time(mygame.leveltime);
mygame.clip.foreground.bar_2.score.text = "score: " + mygame.score;
mygame.clip.foreground.bar_2.enemy.text = "enemy no. " + mygame.obj2.length;
eval ("level_" + mygame.level)();
}
};
stop();
Symbol 634 MovieClip [midground] Frame 1
w = 1000;
h = 700;
stop();
Symbol 634 MovieClip [midground] Frame 2
w = 1000;
h = 500;
Symbol 634 MovieClip [midground] Frame 3
w = 700;
h = 700;
Symbol 634 MovieClip [midground] Frame 4
w = 1000;
h = 470;
Symbol 634 MovieClip [midground] Frame 5
w = 700;
h = 700;
stop();
Symbol 634 MovieClip [midground] Frame 6
w = 1000;
h = 700;
stop();
Symbol 634 MovieClip [midground] Frame 7
w = 1000;
h = 420;
stop();
Symbol 634 MovieClip [midground] Frame 8
w = 800;
h = 700;
stop();
Symbol 634 MovieClip [midground] Frame 9
w = 1000;
h = 700;
stop();
Symbol 634 MovieClip [midground] Frame 10
w = 1000;
h = 700;
stop();
Symbol 634 MovieClip [midground] Frame 11
w = 1000;
h = 440;
stop();
Symbol 634 MovieClip [midground] Frame 12
w = 1000;
h = 420;
stop();
Symbol 634 MovieClip [midground] Frame 13
w = 1000;
h = 700;
stop();
Symbol 634 MovieClip [midground] Frame 14
w = 700;
h = 700;
stop();
Symbol 634 MovieClip [midground] Frame 15
w = 700;
h = 700;
stop();
Symbol 634 MovieClip [midground] Frame 16
w = 1000;
h = 700;
stop();
Symbol 634 MovieClip [midground] Frame 17
w = 1000;
h = 600;
stop();
Symbol 634 MovieClip [midground] Frame 18
w = 1000;
h = 500;
stop();
Symbol 634 MovieClip [midground] Frame 19
w = 1000;
h = 700;
stop();
Symbol 634 MovieClip [midground] Frame 20
w = 1000;
h = 600;
stop();
Symbol 634 MovieClip [midground] Frame 21
w = 1000;
h = 700;
stop();
Symbol 634 MovieClip [midground] Frame 22
w = 1000;
h = 700;
stop();
Symbol 634 MovieClip [midground] Frame 23
w = 900;
h = 600;
stop();
Symbol 634 MovieClip [midground] Frame 24
w = 1000;
h = 700;
stop();
Symbol 634 MovieClip [midground] Frame 25
w = 1000;
h = 700;
stop();
Symbol 634 MovieClip [midground] Frame 26
w = 1000;
h = 700;
stop();
Symbol 634 MovieClip [midground] Frame 27
w = 1000;
h = 470;
stop();
Symbol 634 MovieClip [midground] Frame 28
w = 1000;
h = 440;
stop();
Symbol 634 MovieClip [midground] Frame 29
w = 1000;
h = 480;
stop();
Symbol 634 MovieClip [midground] Frame 30
w = 1000;
h = 470;
stop();
Symbol 642 MovieClip [midground_2] Frame 1
w = 1200;
h = 820;
Symbol 642 MovieClip [midground_2] Frame 2
w = 1200;
h = 600;
stop();
Symbol 642 MovieClip [midground_2] Frame 3
w = 800;
h = 820;
stop();
Symbol 642 MovieClip [midground_2] Frame 4
w = 1200;
h = 540;
stop();
Symbol 642 MovieClip [midground_2] Frame 5
w = 800;
h = 820;
Symbol 642 MovieClip [midground_2] Frame 6
w = 1200;
h = 820;
Symbol 642 MovieClip [midground_2] Frame 7
w = 1200;
h = 450;
Symbol 642 MovieClip [midground_2] Frame 8
w = 900;
h = 820;
Symbol 642 MovieClip [midground_2] Frame 9
w = 1200;
h = 820;
Symbol 642 MovieClip [midground_2] Frame 10
w = 1200;
h = 820;
Symbol 642 MovieClip [midground_2] Frame 11
w = 1200;
h = 480;
Symbol 642 MovieClip [midground_2] Frame 12
w = 1200;
h = 450;
Symbol 642 MovieClip [midground_2] Frame 13
w = 1200;
h = 820;
Symbol 642 MovieClip [midground_2] Frame 14
w = 800;
h = 820;
Symbol 642 MovieClip [midground_2] Frame 15
w = 800;
h = 820;
Symbol 642 MovieClip [midground_2] Frame 16
w = 1200;
h = 820;
Symbol 642 MovieClip [midground_2] Frame 17
w = 1200;
h = 700;
Symbol 642 MovieClip [midground_2] Frame 18
w = 1200;
h = 600;
Symbol 642 MovieClip [midground_2] Frame 19
w = 1200;
h = 820;
Symbol 642 MovieClip [midground_2] Frame 20
w = 1200;
h = 700;
Symbol 642 MovieClip [midground_2] Frame 21
w = 1200;
h = 820;
Symbol 642 MovieClip [midground_2] Frame 22
w = 1200;
h = 820;
Symbol 642 MovieClip [midground_2] Frame 23
w = 1100;
h = 700;
Symbol 642 MovieClip [midground_2] Frame 24
w = 1200;
h = 820;
Symbol 642 MovieClip [midground_2] Frame 25
w = 1200;
h = 820;
Symbol 642 MovieClip [midground_2] Frame 26
w = 1200;
h = 820;
Symbol 642 MovieClip [midground_2] Frame 27
w = 1200;
h = 540;
Symbol 642 MovieClip [midground_2] Frame 28
w = 1200;
h = 480;
Symbol 642 MovieClip [midground_2] Frame 29
w = 1200;
h = 560;
Symbol 642 MovieClip [midground_2] Frame 30
w = 1200;
h = 540;
Symbol 696 MovieClip [tile] Frame 2
gotoAndStop(_currentframe + Math.round(Math.random() * 3));
Symbol 696 MovieClip [tile] Frame 8
gotoAndStop(_currentframe + Math.round(Math.random() * 3));
Symbol 696 MovieClip [tile] Frame 13
gotoAndStop(_currentframe + Math.round(Math.random() * 3));
Symbol 696 MovieClip [tile] Frame 17
gotoAndStop(_currentframe + Math.round(Math.random() * 5));
Symbol 696 MovieClip [tile] Frame 23
gotoAndStop(_currentframe + Math.round(Math.random() * 3));
Symbol 696 MovieClip [tile] Frame 28
gotoAndStop(_currentframe + Math.round(Math.random() * 1));
Symbol 696 MovieClip [tile] Frame 35
gotoAndStop(_currentframe + Math.round(Math.random() * 5));
Symbol 696 MovieClip [tile] Frame 41
gotoAndStop(_currentframe + Math.round(Math.random() * 9));
Symbol 696 MovieClip [tile] Frame 51
gotoAndStop(_currentframe + Math.round(Math.random() * 9));
Symbol 696 MovieClip [tile] Frame 61
gotoAndStop(_currentframe + Math.round(Math.random() * 1));
Symbol 696 MovieClip [tile] Frame 63
gotoAndStop(_currentframe + Math.round(Math.random() * 5));
Symbol 696 MovieClip [tile] Frame 69
gotoAndStop(_currentframe + Math.round(Math.random() * 1));
Symbol 696 MovieClip [tile] Frame 75
gotoAndStop(_currentframe + Math.round(Math.random() * 2));
Symbol 696 MovieClip [tile] Frame 78
gotoAndStop(_currentframe + Math.round(Math.random() * 2));
Symbol 696 MovieClip [tile] Frame 83
gotoAndStop(_currentframe + Math.round(Math.random() * 2));
Symbol 713 MovieClip [boom_1] Frame 26
removeMovieClip(this);
stop();
Symbol 717 MovieClip [bullet_0] Frame 3
stop();
Symbol 717 MovieClip [bullet_0] Frame 5
removeMovieClip(this);
stop();
Symbol 720 MovieClip [bullet_1] Frame 3
stop();
Symbol 720 MovieClip [bullet_1] Frame 5
removeMovieClip(this);
stop();
Symbol 721 MovieClip [bullet_2] Frame 4
stop();
Symbol 721 MovieClip [bullet_2] Frame 7
removeMovieClip(this);
stop();
Symbol 723 MovieClip [bullet_3] Frame 4
stop();
Symbol 723 MovieClip [bullet_3] Frame 7
removeMovieClip(this);
stop();
Symbol 724 MovieClip [bullet_4] Frame 3
stop();
Symbol 724 MovieClip [bullet_4] Frame 5
removeMovieClip(this);
stop();
Symbol 727 MovieClip [bullet_5] Frame 3
stop();
Symbol 727 MovieClip [bullet_5] Frame 5
removeMovieClip(this);
stop();
Symbol 728 MovieClip [bullet_6] Frame 4
stop();
Symbol 728 MovieClip [bullet_6] Frame 7
removeMovieClip(this);
stop();
Symbol 729 MovieClip [bullet_7] Frame 4
stop();
Symbol 729 MovieClip [bullet_7] Frame 7
removeMovieClip(this);
stop();
Symbol 733 MovieClip Frame 1
gotoAndPlay(1 + Math.round(Math.random() * 2));
Symbol 733 MovieClip Frame 4
removeMovieClip(_parent);
Symbol 737 MovieClip [gun_fire] Frame 5
removeMovieClip(this);
Symbol 740 MovieClip [gun_fire_1] Frame 8
removeMovieClip(this);
Symbol 743 MovieClip [gun_fire_2] Frame 7
removeMovieClip(this);
Symbol 746 MovieClip [gun_fire_3] Frame 7
removeMovieClip(this);
Symbol 749 MovieClip [gun_fire_4] Frame 5
removeMovieClip(this);
Symbol 756 MovieClip [missile_1] Frame 6
stop();
Symbol 756 MovieClip [missile_1] Frame 7
removeMovieClip(this);
stop();
Symbol 759 MovieClip [smoke] Frame 15
removeMovieClip(this);
Symbol 763 MovieClip Frame 11
_parent.owner.remove();
removeMovieClip(_parent);
Symbol 767 MovieClip [bullet_8] Frame 4
stop();
Symbol 767 MovieClip [bullet_8] Frame 7
removeMovieClip(this);
stop();
Symbol 772 MovieClip [energy_i] Frame 69
gotoAndPlay (1);
gotoAndPlay (1);
Symbol 772 MovieClip [energy_i] Frame 80
removeMovieClip(this);
Symbol 775 MovieClip [energy_m] Frame 69
gotoAndPlay (1);
Symbol 775 MovieClip [energy_m] Frame 80
removeMovieClip(this);
Symbol 776 MovieClip [gun_1] Frame 69
gotoAndPlay (1);
Symbol 776 MovieClip [gun_1] Frame 80
removeMovieClip(this);
Symbol 777 MovieClip [gun_2] Frame 69
gotoAndPlay (1);
Symbol 777 MovieClip [gun_2] Frame 80
removeMovieClip(this);
Symbol 778 MovieClip [gun_3] Frame 69
gotoAndPlay (1);
Symbol 778 MovieClip [gun_3] Frame 80
removeMovieClip(this);
Symbol 779 MovieClip [gun_4] Frame 69
gotoAndPlay (1);
Symbol 779 MovieClip [gun_4] Frame 80
removeMovieClip(this);
Symbol 780 MovieClip [gun_5] Frame 69
gotoAndPlay (1);
Symbol 780 MovieClip [gun_5] Frame 80
removeMovieClip(this);
Symbol 781 MovieClip [gun_6] Frame 69
gotoAndPlay (1);
Symbol 781 MovieClip [gun_6] Frame 80
removeMovieClip(this);
Symbol 782 MovieClip [gun_7] Frame 69
gotoAndPlay (1);
Symbol 782 MovieClip [gun_7] Frame 80
removeMovieClip(this);
Symbol 783 MovieClip [health_i] Frame 69
gotoAndPlay (1);
Symbol 783 MovieClip [health_i] Frame 80
removeMovieClip(this);
Symbol 786 MovieClip [health_m] Frame 69
gotoAndPlay (1);
Symbol 786 MovieClip [health_m] Frame 80
removeMovieClip(this);
Symbol 789 MovieClip [physique_m] Frame 69
gotoAndPlay (1);
Symbol 789 MovieClip [physique_m] Frame 80
removeMovieClip(this);
Symbol 790 MovieClip Frame 1
stop();
Symbol 823 MovieClip Frame 1
_root.stop();
Symbol 823 MovieClip Frame 146
_root.nextFrame();
Symbol 899 MovieClip Frame 70
_root.nextFrame();
Symbol 900 Button
on (release) {
getURL ("http://www.freeworldgroup.com/", "_blank");
}
Symbol 901 MovieClip Frame 1
stopAllSounds();
var sd = new Sound(this);
sd.attachSound("symphonyx");
sd.setVolume(35);
sd.start(0, 999);
Symbol 902 Button
on (release) {
gotoAndStop ("a_0");
}
Symbol 904 Button
on (release) {
_root.level_new[18] = 30;
gotoAndStop (14);
}
Symbol 906 Button
on (release) {
gotoAndStop ("set");
}
Symbol 908 Button
on (press) {
getURL ("http://www.freeworldgroup.com/", "_blank");
}
Symbol 910 Button
on (press) {
getURL ("http://www.ifungames.com", "_blank");
}
Symbol 912 Button
on (press) {
getURL ("http://www.freeworldgroup.com/koalafiles.htm", "_blank");
}
Symbol 920 Button
on (release) {
getURL ("http://www.freeworldgroup.com/", "_blank");
}
Symbol 923 Button
on (release) {
_root.gotoAndStop("credits");
}
Symbol 925 Button
on (release) {
gotoAndStop ("load");
}
Symbol 932 Button
on (press) {
load(0);
}
Symbol 933 Button
on (press) {
load(1);
}
Symbol 934 Button
on (press) {
load(2);
}
Symbol 935 Button
on (press) {
load(3);
}
Symbol 936 Button
on (press) {
load(4);
}
Symbol 942 MovieClip Frame 1
if (Q) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
btn.onPress = function () {
_global.Q = !Q;
if (Q) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
};
Symbol 945 MovieClip Frame 1
if (M) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
btn.onPress = function () {
_global.M = !M;
if (M) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
};
Symbol 1013 MovieClip Frame 1
function movTo(mc) {
this._x = mc._x + 10;
this.clear();
this.lineStyle(1, 16777215);
this.moveTo(0, 0);
this.lineTo(0, mc._y - this._y);
}
Symbol 1014 MovieClip Frame 1
function getCode(id) {
return(keyCodeArr[id]);
}
function setKey(key_mc) {
key_mc.isUsed = true;
key_mc.info = currentKey.info;
currentKey.prevFrame();
key_mc.nextFrame();
popup_mc.movTo(key_mc);
popup_mc.txt = key_mc.info;
save(currentKey.code, key_mc.code);
var _local2 = 0;
while (_local2 < 256) {
key_mc = keyBoard["key_mc" + _local2];
if (typeof(key_mc) == "movieclip") {
key_mc.enabled = key_mc.isUsed;
if (!key_mc.enabled) {
key_mc.prevFrame();
}
}
_local2++;
}
}
function save(oldCode, newCode) {
var _local2 = 0;
while (_local2 < 11) {
if (keyCodeArr[_local2] == oldCode) {
keyCodeArr[_local2] = newCode;
_parent.key[_local2] = newCode;
}
_local2++;
}
}
key_mc27.str = "Esc";
key_mc32.str = "Space";
key_mc37.str = "Left";
key_mc38.str = "Up";
key_mc39.str = "Right";
key_mc40.str = "Down";
key_mc47.str = "";
key_mc48.str = "0";
key_mc49.str = "1";
key_mc50.str = "2";
key_mc51.str = "3";
key_mc52.str = "4";
key_mc53.str = "5";
key_mc54.str = "6";
key_mc55.str = "7";
key_mc56.str = "8";
key_mc57.str = "9";
key_mc65.str = "A";
key_mc66.str = "B";
key_mc67.str = "C";
key_mc68.str = "D";
key_mc69.str = "E";
key_mc70.str = "F";
key_mc71.str = "G";
key_mc72.str = "H";
key_mc73.str = "I";
key_mc74.str = "J";
key_mc75.str = "K";
key_mc76.str = "L";
key_mc77.str = "M";
key_mc78.str = "N";
key_mc79.str = "O";
key_mc80.str = "P";
key_mc81.str = "Q";
key_mc82.str = "R";
key_mc83.str = "S";
key_mc84.str = "T";
key_mc85.str = "U";
key_mc86.str = "V";
key_mc87.str = "W";
key_mc88.str = "X";
key_mc89.str = "Y";
key_mc90.str = "Z";
key_mc96.str = "NumPad0";
key_mc97.str = "NumPad1";
key_mc98.str = "NumPad2";
key_mc99.str = "NumPad3";
key_mc100.str = "NumPad4";
key_mc101.str = "NumPad5";
key_mc102.str = "NumPad6";
key_mc103.str = "NumPad7";
key_mc104.str = "NumPad8";
key_mc105.str = "NumPad9";
key_mc106.str = "*";
key_mc107.str = "+";
key_mc108.str = "";
key_mc109.str = "-";
key_mc110.str = ".";
key_mc111.str = "/";
key_mc112.str = "F1";
key_mc113.str = "F2";
key_mc114.str = "F3";
key_mc115.str = "F4";
key_mc116.str = "F5";
key_mc117.str = "F6";
key_mc118.str = "F7";
key_mc119.str = "F8";
key_mc120.str = "F9";
key_mc122.str = "F11";
key_mc123.str = "F12";
key_mc186.str = ";";
key_mc187.str = "=";
key_mc188.str = ",";
key_mc189.str = "-";
key_mc190.str = ".";
key_mc191.str = "/";
key_mc192.str = "`";
key_mc219.str = "[";
key_mc220.str = "\\";
key_mc221.str = "]";
key_mc222.str = "'";
var keyCodeArr = new Array();
keyCodeArr = _parent.key;
var keyArr = [[getCode(0), "jump"], [getCode(1), "down"], [getCode(2), "left"], [getCode(3), "right"], [getCode(4), "next weapon"], [getCode(5), "prev weapon"]];
var totalCtrl = keyArr.length;
var keyBoard = this;
var currentKey;
popup_mc._visible = false;
var i = 0;
while (i < 256) {
var key_mc = this["key_mc" + i];
if (typeof(key_mc) == "movieclip") {
key_mc.gotoAndStop(1);
key_mc.code = i;
key_mc.isUsed = false;
key_mc.enabled = false;
key_mc.onRollOver = function () {
this.nextFrame();
if (this.isUsed) {
popup_mc.movTo(this);
popup_mc._visible = true;
popup_mc.txt = this.info;
}
_root.userMouse.rollOver();
};
key_mc.onRollOut = function () {
if (this.isUsed) {
popup_mc._visible = false;
} else {
this.prevFrame();
}
_root.userMouse.rollOut();
};
key_mc.onPress = function () {
if (this.isUsed) {
currentKey = this;
currentKey.isUsed = false;
popup_mc.txt = "Select Any Key To Change";
var _local2 = 0;
while (_local2 < 256) {
var _local3 = keyBoard["key_mc" + _local2];
if (typeof(_local3) == "movieclip") {
_local3.enabled = !_local3.isUsed;
}
_local2++;
}
} else {
setKey(this);
}
};
}
i++;
}
var i = 0;
while (i < totalCtrl) {
var key_mc = keyBoard["key_mc" + keyArr[i][0]];
key_mc.info = keyArr[i][1];
key_mc.isUsed = true;
key_mc.enabled = true;
key_mc.nextFrame();
i++;
}
Symbol 1014 MovieClip Frame 2
stop();
Symbol 1020 Button
on (press) {
_root.level_new[19] = 1.25;
_root.nextFrame();
}
Symbol 1022 Button
on (press) {
_root.level_new[19] = 1;
_root.nextFrame();
}
Symbol 1024 Button
on (press) {
_root.level_new[19] = 0.75;
_root.nextFrame();
}
Symbol 1026 Button
on (press) {
_root.level_new[19] = 0.5;
_root.nextFrame();
}
Symbol 1044 MovieClip Frame 1
_parent.bb.enabled = (_parent.bb._visible = false);
_parent.bs.enabled = (_parent.bs._visible = true);
Symbol 1044 MovieClip Frame 234
stop();
Symbol 1044 MovieClip Frame 235
_parent.bb.enabled = (_parent.bb._visible = true);
_parent.bs.enabled = (_parent.bs._visible = true);
Symbol 1044 MovieClip Frame 381
stop();
Symbol 1044 MovieClip Frame 382
_parent.bb.enabled = (_parent.bb._visible = true);
_parent.bs.enabled = (_parent.bs._visible = false);
Symbol 1044 MovieClip Frame 517
stop();
Symbol 1044 MovieClip Frame 532
_parent.play();
Symbol 1047 Button
on (release) {
play();
}
Symbol 1049 Button
on (release) {
if (mc._currentframe >= 382) {
mc.gotoAndPlay(235);
} else if (mc._currentframe >= 235) {
mc.gotoAndPlay(1);
}
}
Symbol 1050 Button
on (release) {
if (mc._currentframe <= 234) {
mc.gotoAndPlay(235);
} else if (mc._currentframe <= 381) {
mc.gotoAndPlay(382);
} else if (mc._currentframe <= 517) {
mc.gotoAndPlay(518);
}
}