Instance of Symbol 8 MovieClip "cheatMenu" in Frame 1
onClipEvent (load) {
this._visible = false;
}
Frame 2
function loadTracker() {
var _local1 = new Date().getTime();
loadMovieNum ("tracker.swf?" + _local1, 10000);
}
_quality = "high";
Frame 3
music_title_snd = new Sound(_root.music_title);
_root.music_title.gotoAndStop("sound");
music_title_snd.setVolume(80);
Frame 4
if (this.getBytesLoaded() >= this.getBytesTotal()) {
loader.gotoAndPlay(100);
} else {
loader.gotoAndStop(1 + Math.floor((100 * this.getBytesLoaded()) / this.getBytesTotal()));
_root.gotoAndPlay(3);
}
Frame 6
function SoundModule() {
this.defaultVolume = 120;
this.JET_VOLUME = 50;
this.MUSIC_VOLUME = 100;
this.fall = new Sound(_root.fall);
this.jetIdle = new Sound(_root.jetIdle);
this.jetTurn = new Sound(_root.jetTurn);
this.jetRevUp = new Sound(_root.jetRevUp);
this.jetRevDown = new Sound(_root.jetRevDown);
this.boatCrash = new Sound(_root.boatCrash);
this.collect = new Sound(_root.collect);
this.bergExplode = new Sound(_root.bergExplode);
this.fireMissile = new Sound(_root.fireMissile);
this.boatLand = new Sound(_root.boatLand);
this.jumpRamp = new Sound(_root.jumpRamp);
this.foghorn = new Sound(_root.foghorn);
this.waterloop = new Sound(_root.waterloop);
this.quotaMet = new Sound(_root.quotaMet);
this.music_title = _root.music_title_snd;
this.music_title2 = new Sound(_root.music_title2);
this.music_win = new Sound(_root.music_win);
this.music_lose = new Sound(_root.music_lose);
this.music_1 = new Sound(_root.music_1);
this.music_2 = new Sound(_root.music_2);
this.music_3 = new Sound(_root.music_3);
this.music_4 = new Sound(_root.music_4);
this.music_5 = new Sound(_root.music_5);
this.fadeInterval = new Object();
}
SoundModule.prototype.PlaySound = function (snd, v, p) {
if (v == undefined) {
v = this.defaultVolume;
}
if (p == undefined) {
p = 0;
}
this[snd].setVolume(v);
this[snd].setPan(p);
_root[snd].gotoAndPlay("sound");
};
SoundModule.prototype.StopSound = function (snd) {
this[snd].stop();
};
SoundModule.prototype.PlayTimedSound = function (snd, v, p) {
if (_root[snd].isReady) {
this[snd].setVolume(v);
this[snd].setPan(p);
_root[snd].gotoAndPlay("sound");
}
};
SoundModule.prototype.StartMusic = function (song) {
this.musicModule.gotoAndStop("start" + song);
};
SoundModule.prototype.StopMusic = function (song) {
this.musicModule.gotoAndStop("stop" + song);
};
SoundModule.prototype.FadeToJets = function () {
this.CrossfadeSound("jetRevUp", "jetIdle", this.JET_VOLUME);
};
SoundModule.prototype.CrossfadeSound = function (fromSound, toSound, vol) {
if (fromSound == toSound) {
return(undefined);
}
this.fadeComplete = false;
this.PlaySound(toSound, 0, 0);
this[toSound].setVolume(0);
clearInterval(this.fadeInterval);
this.fadeInterval = setInterval(this, "UpdateCrossfade", 50, fromSound, toSound, vol);
};
SoundModule.prototype.UpdateCrossfade = function (a, b, vol) {
if (vol == undefined) {
vol = defaultVolume;
}
if (this[a].getVolume() > 5) {
this[a].setVolume(this[a].getVolume() - 4);
} else {
this.StopSound(a);
}
if (this[b].getVolume() < vol) {
this[b].setVolume(this[b].getVolume() + 4);
} else {
clearInterval(this.fadeInterval);
this.fadeComplete = true;
this.StopSound(a);
}
};
soundModule = new SoundModule();
stop();
Frame 61
batWipe.gotoAndPlay("toInstructions");
Frame 93
Key.addListener(this);
this.onKeyUp = function () {
batWipe.gotoAndPlay("toIntro");
Key.removeListener(this);
};
Instance of Symbol 178 MovieClip "fallArea" in Frame 130
onClipEvent (load) {
this._alpha = 0;
}
Frame 338
gotoAndPlay ("start");
Frame 346
story_mc.gotoAndPlay("story_0");
stop();
Frame 412
function Angle() {
}
function Angle1(radians) {
this.cosine = Math.cos(radians);
this.sine = Math.sin(radians);
}
function Angle2(x, y) {
var _local2 = Math.sqrt((x * x) + (y * y));
this.cosine = x / _local2;
this.sine = y / _local2;
}
Angle1.prototype = new Angle();
Angle2.prototype = new Angle();
Angle.prototype.cos = function () {
return(this.cosine);
};
Angle.prototype.sin = function () {
return(this.sine);
};
Angle.prototype.tan = function () {
return(this.sine / this.cosine);
};
Angle.prototype.plus = function (a) {
var _local4 = (this.cosine * a.cosine) - (this.sine * a.sine);
var _local5 = (this.sine * a.cosine) + (this.cosine * a.sine);
return(new _root.Angle2(_local4, _local5));
};
Angle.prototype.minus = function (a) {
var _local4 = (this.cosine * a.cosine) + (this.sine * a.sine);
var _local5 = (this.sine * a.cosine) - (this.cosine * a.sine);
return(new _root.Angle2(_local4, _local5));
};
Angle.prototype.rotation = function () {
return(57.2957786666617 * Math.atan2(this.sine, this.cosine));
};
Angle.prototype.toString = function () {
return(((("Angle(" + this.cosine) + ",") + this.sine) + ")");
};
Angle.SQRT = Math.SQRT1_2;
Angle.ZERO = new Angle2(1, 0);
Angle.DEG_45 = new Angle2(Angle.SQRT, Angle.SQRT);
Angle.DEG_90 = new Angle2(0, 1);
Angle.DEG_135 = new Angle2(-Angle.SQRT, Angle.SQRT);
Angle.DEG_180 = new Angle2(-1, 0);
Angle.DEG_225 = new Angle2(-Angle.SQRT, -Angle.SQRT);
Angle.DEG_270 = new Angle2(0, -1);
Angle.DEG_315 = new Angle2(Angle.SQRT, -Angle.SQRT);
Angle.RAD_PI_OVER_FOUR = Angle.DEG_45;
Angle.RAD_PI_OVER_TWO = Angle.DEG_90;
Angle.RAD_PI = Angle.DEG_180;
function Vect() {
}
function Vect2(angle, length) {
if (length > 0) {
this.theta = angle;
this.r = length;
} else if (length == 0) {
this.theta = angle.ZERO;
this.r = 0;
} else {
this.theta = angle.plus(angle.RAD_PI);
this.r = -length;
}
this.mode = -1;
}
function Vect3(x, y) {
this.x = x;
this.y = y;
this.mode = 1;
}
function Vect4(x, y, r, theta) {
this.x = x;
this.y = y;
this.r = r;
this.theta = theta;
this.mode = 0;
}
Vect2.prototype = new Vect();
Vect2.prototype.toString = function () {
return(((("Vect2 [" + this.get_x()) + ",") + this.get_y()) + "]");
};
Vect3.prototype = new Vect();
Vect3.prototype.toString = function () {
return(((("Vect3 [" + this.get_x()) + ",") + this.get_y()) + "]");
};
Vect4.prototype = new Vect();
Vect.prototype.computeXY = function () {
if (this.mode < 0) {
this.x = this.r * this.theta.cos();
this.y = this.r * this.theta.sin();
this.mode = 0;
}
};
Vect.prototype.computeRT = function () {
if (this.mode > 0) {
this.r = Math.sqrt((this.x * this.x) + (this.y * this.y));
if (this.r != 0) {
this.theta = new _root.Angle2(this.x, this.y);
} else {
this.theta = Angle.ZERO;
}
this.mode = 0;
}
};
Vect.prototype.angle = function () {
this.computeRT();
return(this.theta);
};
Vect.prototype.length = function () {
this.computeRT();
return(this.r);
};
Vect.prototype.get_x = function () {
this.computeXY();
return(this.x);
};
Vect.prototype.get_y = function () {
this.computeXY();
return(this.y);
};
Vect.prototype.distanceSquared = function (b) {
this.computeXY();
b.computeXY();
var _local2 = this.x - b.x;
var _local3 = this.y - b.y;
return((_local2 * _local2) + (_local3 * _local3));
};
Vect.prototype.copy = function () {
return(new _root.Vect3(this.x, this.y));
};
Vect.prototype.plus = function (b) {
this.computeXY();
b.computeXY();
return(new _root.Vect3(this.x + b.x, this.y + b.y));
};
Vect.prototype.minus = function (b) {
this.computeXY();
b.computeXY();
return(new _root.Vect3(this.x - b.x, this.y - b.y));
};
Vect.prototype.rotateBy = function (a) {
this.computeRT();
var _local3 = this.theta.plus(a);
var _local4 = new _root.Vect2(_local3, this.r);
return(_local4);
};
Vect.prototype.neg = function () {
if (this.mode < 0) {
return(this.rotateBy(Angle.RAD_PI));
}
if (this.mode > 0) {
return(new _root.Vect3(-this.x, -this.y));
}
return(new _root.Vect4(-this.x, -this.y, this.r, this.theta.plus(Angle.RAD_PI)));
};
Vect.prototype.times = function (amt) {
if (this.mode > 0) {
return(new Vect3(this.x * amt, this.y * amt));
}
if (this.mode < 0) {
return(new _root.Vect2(this.theta, this.r * amt));
}
return(new _root.Vect4(this.x * amt, this.y * amt, this.r * amt, this.theta));
};
Vect.prototype.toString = function () {
return(((("[" + this.get_x()) + ",") + this.get_y()) + "]");
};
Attributes = new Object();
Attributes.leftTurnAngle = new Angle1(-0.05);
Attributes.rightTurnAngle = new Angle1(0.05);
Attributes.gravity = new Vect3(0, 1.1);
function PlayerAvatar(world) {
this.world = world;
this.cp1 = new Object();
this.cp2 = new Object();
this.cp3 = new Object();
this.cp4 = new Object();
this.cp5 = new Object();
this.leftTurnArray = new Array(0.2, 0.75, 1.25, 2, 3, 4.5, 6, 7, 8, 10);
this.rightTurnArray = new Array(-0.2, -0.75, -1.25, -2, -3, -4.5, -6, -7, -8, -10);
this.powerupArray = new Array();
this.jumpDepth = 8000;
this.playerDepth = 1000;
this.jumpVel = new Vect3(0, 0);
this.jumpHeight = 0;
this.vel = new Vect3(0, 0);
this.f_StandStill = 1;
this.f_Go = 11;
this.f_SkiStraight = 22;
this.f_Right = 33;
this.f_Left = 43;
this.f_Jump1 = 53;
this.f_Land = 60;
this.f_Fall = 66;
this.canTurn = 1;
this.canFall = 2;
this.canHitJump = 4;
this.canDoJump = 8;
this.canCollect = 16;
this.isJumping = 32;
this.normalMode = ((this.canTurn | this.canFall) | this.canCollect) | this.canHitJump;
this.fallMode = (this.canTurn | this.canCollect) | this.canHitJump;
this.landMode = (this.canFall | this.canCollect) | this.canHitJump;
this.hitJumpMode = this.isJumping | this.canDoJump;
this.missileArray = new Array();
this.missileStore = new Array();
this.launchTimer = 100;
this.tintInterval = new Object();
this.tintCount = 0;
}
PlayerAvatar.prototype.Init = function (mc) {
this.mc = mc;
this.mc.caller = this;
this.mc.swapDepths(this.playerDepth);
this.mapPos = new Vect3(300, -480);
this.screenPos = this.world.map.GetScreenPos(this.mapPos);
this.Draw();
this.lives = 4;
this.mode = this.normalMode;
this.hideWake = false;
this.mc.wake._visible = true;
this.missileStore.push(new _root.Missile(this.world, this.screenPos, this.vel));
this.gravity = _root.Attributes.gravity;
this.leftTurnAngle = _root.Attributes.leftTurnAngle;
this.rightTurnAngle = _root.Attributes.rightTurnAngle;
this.vel = new Vect3(0, 0);
this.tintValue = this.world.tintArray[Math.floor(_root.levelIndex / 5)];
this.mc.character.gotoAndStop(this.f_SkiStraight);
};
PlayerAvatar.prototype.Scroll = function (scrollAmt) {
var _local3 = scrollAmt.rotateBy(this.world.mapDirection);
this.screenPos = this.screenPos.plus(_local3);
this.mapPos = this.world.map.GetMapPos(this.screenPos);
var _local2 = this.mapPos.get_x();
if ((this.mapPos.get_y() >= this.world.map.length) && (!this.world.levelOver)) {
this.world.EndLevel("complete");
}
if (_local2 > this.world.map.width) {
this.vel = new Vect3(0, this.vel.get_y());
scrollAmt = new Vect3(_local2 - this.world.map.width, 0);
_local3 = scrollAmt.rotateBy(this.world.mapDirection);
this.screenPos = this.screenPos.minus(_local3);
} else if (_local2 < 0) {
this.vel = new Vect3(0, this.vel.get_y());
scrollAmt = new Vect3(_local2, 0);
_local3 = scrollAmt.rotateBy(this.world.mapDirection);
this.screenPos = this.screenPos.minus(_local3);
}
this.tintWake(this.tintValue.r, this.tintValue.g, this.tintValue.b);
};
PlayerAvatar.prototype.Draw = function () {
this.mc._x = Math.floor(this.screenPos.get_x());
this.mc._y = Math.floor(this.screenPos.get_y() - this.jumpHeight);
this.mc.damage_mc._rotation = this.mc.wake._rotation;
if (this.hideWake == true) {
this.mc.wake._visible = false;
}
};
PlayerAvatar.prototype.UpdateCollisionPoints = function () {
this.cp1.x = this.mc.b1._x;
this.cp1.y = this.mc.b1._y;
this.mc.localToGlobal(this.cp1);
this.cp2.x = this.mc.b2._x;
this.cp2.y = this.mc.b2._y;
this.mc.localToGlobal(this.cp2);
this.cp3.x = this.mc.b3._x;
this.cp3.y = this.mc.b3._y;
this.mc.localToGlobal(this.cp3);
this.cp4.x = this.mc.b4._x;
this.cp4.y = this.mc.b4._y;
this.mc.localToGlobal(this.cp4);
this.cp5.x = this.mc.b5._x;
this.cp5.y = this.mc.b5._y;
this.mc.localToGlobal(this.cp5);
};
PlayerAvatar.prototype.CollisionHitTest = function (obj) {
if (obj.hitTest(this.cp5.x, this.cp1.y, true)) {
return(true);
}
if (obj.hitTest(this.cp1.x, this.cp2.y, true)) {
return(true);
}
if (obj.hitTest(this.cp4.x, this.cp3.y, true)) {
return(true);
}
if (obj.hitTest(this.cp2.x, this.cp4.y, true)) {
return(true);
}
if (obj.hitTest(this.cp3.x, this.cp5.y, true)) {
return(true);
}
return(false);
};
PlayerAvatar.prototype.setDamage = function (n) {
this.mc.damage_mc.gotoAndStop("hit" + n);
};
PlayerAvatar.prototype.Fire = function () {
if (this.world.levelOver == true) {
return(undefined);
}
var _local2 = this.missileStore.pop();
_local2.mapPos = this.mapPos;
_local2.screenPos = this.screenPos;
var _local3 = this.vel.times(-1.2);
_local2.Init(_local3);
this.missileArray.push(_local2);
this.world.specialItemAr.push(_local2);
this.world.soundModule.PlaySound("fireMissile", 140);
};
PlayerAvatar.prototype.HitJump = function (incline) {
this.jumpVel = 12;
this.mode = this.hitJumpMode;
this.world.soundModule.PlaySound("jumpRamp");
};
PlayerAvatar.prototype.CollectPowerup = function (typeNum, objType) {
this.powerupArray.push(typeNum);
var _local2 = "p" + this.powerupArray.length;
this.mc.powerup.duplicateMovieClip(_local2, this.powerupArray.length);
this.mc[_local2].gotoAndPlay("get");
this.mc[_local2].icon.gotoAndStop(objType);
this.world.UpdateScore(1);
this.FlashSprite("white");
};
PlayerAvatar.prototype.FlashSprite = function () {
var _local3 = new Color(this.mc.character);
var _local2 = _local3.getTransform();
_local2.rb = 0;
_local2.gb = 0;
_local2.bb = 0;
_local3.setTransform(_local2);
this.tintCount = 90;
clearInterval(this.tintInterval);
this.tintInterval = setInterval(this, "UpdateFlash", 30);
};
PlayerAvatar.prototype.UpdateFlash = function () {
this.tintCount = this.tintCount - 10;
var _local3 = new Color(this.mc.character);
var _local2 = _local3.getTransform();
_local2.rb = this.tintCount;
_local2.gb = this.tintCount;
_local2.bb = this.tintCount;
_local3.setTransform(_local2);
if (this.tintCount == 0) {
clearInterval(this.tintInterval);
return(undefined);
}
};
PlayerAvatar.prototype.tintWake = function (r, g, b) {
var _local3 = new Color(this.mc.wake.wakeTint);
var _local2 = _local3.getTransform();
_local2.rb = r;
_local2.gb = g;
_local2.bb = b;
_local3.setTransform(_local2);
};
PlayerAvatar.prototype.Fall = function () {
this.mode = this.fallMode;
};
PlayerAvatar.prototype.AddGravity = function () {
this.vel = this.vel.plus(this.gravity);
};
PlayerAvatar.prototype.AddFriction = function (amt) {
this.vel = this.vel.times(amt);
};
PlayerAvatar.prototype.GetJumpHeight = function () {
this.jumpHeight = this.jumpHeight + this.jumpVel;
this.jumpVel = this.jumpVel - 3;
return(this.jumpHeight);
};
PlayerAvatar.prototype.TryToLand = function () {
this.jumpHeight = 0;
this.mode = this.landMode;
this.safeLanding = true;
return(this.safeLanding);
};
PlayerAvatar.prototype.GetTurning = function (velX) {
var _local3 = this.f_SkiStraight;
if (velX > this.leftTurnArray[0]) {
var _local2 = 0;
while (_local2 < this.leftTurnArray.length) {
if (this.leftTurnArray[_local2] <= velX) {
_local3 = this.f_Left + _local2;
} else {
break;
}
_local2++;
}
} else if (velX < this.rightTurnArray[0]) {
var _local2 = 0;
while (_local2 < this.rightTurnArray.length) {
if (this.rightTurnArray[_local2] >= velX) {
_local3 = this.f_Right + _local2;
} else {
break;
}
_local2++;
}
}
return(_local3);
};
PlayerAvatar.prototype.ChangeGraphic = function (graphic) {
if (graphic != this.lastGraphic) {
if (((graphic >= 33) && (graphic <= 52)) || (graphic == 22)) {
this.mc.character.gotoAndStop(graphic);
}
this.mc.gotoAndStop(graphic);
}
this.lastGraphic = graphic;
};
PlayerAvatar.prototype.UpdatePlayerSound = function () {
if (this.world.soundModule.fadeComplete) {
var _local2 = this.vel.theta.cos() * 128.571428571429;
if (_local2 != 0) {
this.world.soundModule.waterloop.setVolume(_local2);
}
}
};
PlayerAvatar.prototype.playLandSound = function () {
this.world.soundModule.PlaySound("boatLand");
};
function Missile(world, screenPos, vel) {
this.objType = 32;
this.world = world;
this.screenPos = screenPos;
this.avatar = world.avatar;
this.mc = this.world.mc.missile;
this.mc._visible = false;
this.mode = 0;
this.cp1 = new Object();
this.cp2 = new Object();
this.cp3 = new Object();
this.recycle = false;
this.accelVect = new _root.Vect3(0, 0);
}
Missile.prototype.Init = function (v) {
this.mc._visible = true;
this.mc.swapDepths(10);
this.recycle = false;
this.vel = v.times(1.2);
this.vel.computeRT();
this.mc._rotation = 90 + this.vel.theta.rotation();
this.Move();
};
Missile.prototype.testForRemoval = function () {
var _local2 = false;
_local2 = this.Move();
if (this.recycle) {
_local2 = true;
}
return(_local2);
};
Missile.prototype.Move = function () {
var _local3 = false;
this.screenPos = this.screenPos.plus(this.vel);
if (this.screenPos.get_y() < -25) {
_local3 = true;
var _local2 = this.avatar.missileArray.length;
while (_local2--) {
if (this == this.avatar.missileArray[_local2]) {
this.avatar.missileArray.splice(_local2, 1);
}
}
}
this.mc._x = this.screenPos.get_x();
this.mc._y = this.screenPos.get_y() - this.height;
return(_local3);
};
Missile.prototype.CollisionHitTest = function (obj) {
this.cp1.x = this.mc.b1._x;
this.cp1.y = this.mc.b1._y;
this.mc.localToGlobal(this.cp1);
if (obj.hitTest(this.cp1.x, this.cp1.y, true)) {
return(true);
}
return(false);
};
Missile.prototype.Die = function () {
this.mc._visible = false;
this.mc._x = -300;
this.avatar.missileStore.push(this);
this.vel = new _root.Vect3(0, 0);
this.recycle = true;
};
Missile.prototype.toString = function () {
return("Missile()");
};
function DroppedItem(world, objType, screenPos, vel) {
this.world = world;
this.mc = this.world.objectFactory.CreateObject(objType);
this.objType = objType;
this.screenPos = screenPos;
this.vel = vel;
this.mode = 0;
this.startScale = this.mc._xscale;
this.shadowStartY = this.mc.shadow._y;
this.mc._xscale = this.startScale / 2;
this.mc._yscale = this.startScale / 2;
this.height = 10;
this.zVel = 8;
this.Move();
}
DroppedItem.prototype.SpecialAction = function () {
var _local2 = false;
if (this.mode == 0) {
if (this.vel.length() > 5) {
_local2 = this.Move();
} else {
this.mode = 1;
this.waitTime = 2;
this.startTime = getTimer();
newObj = this.world.map.AddObjectToMap(this.mc, this.world.map.GetMapPos(this.screenPos), this.objType);
}
} else if (this.mode == 1) {
if (((getTimer() - this.startTime) / 1000) >= this.waitTime) {
_local2 = this.Fade();
}
}
return(_local2);
};
DroppedItem.prototype.Move = function () {
var _local2 = false;
var _local3 = this.vel.minus(this.world.avatar.vel).rotateBy(this.world.mapDirection);
this.screenPos = this.screenPos.plus(_local3);
if (this.over) {
this.height = this.height + ((this.zVel = this.zVel - 2));
this.mc._alpha = this.mc._alpha - 5;
var _local4 = this.world.map.GetMapPos(this.screenPos.minus(new Vect3(0, this.height)));
if (_local4.get_x() <= this.world.map.width) {
_local2 = true;
}
} else {
this.height = this.height + ((this.zVel = this.zVel - 1));
this.mc.shadow._alpha = 100 - (this.height * 4);
this.mc.shadow._y = this.shadowStartY + this.height;
if (this.height <= 0) {
this.zVel = -this.zVel;
this.height = this.height - 0;
this.vel = this.vel.times(0.55);
}
if (this.mc._xscale < this.startScale) {
this.mc._xscale = this.mc._xscale + 5;
this.mc._yscale = this.mc._yscale + 5;
} else {
this.mc._xscale = this.startScale;
this.mc._yscale = this.startScale;
}
var _local4 = this.world.map.GetMapPos(this.screenPos);
if (_local4.get_x() > this.world.map.width) {
this.over = true;
this.mc.shadow._alpha = 0;
}
}
this.mc._x = this.screenPos.get_x();
this.mc._y = this.screenPos.get_y() - this.height;
return(_local2);
};
DroppedItem.prototype.Fade = function () {
var _local2 = false;
this.mc._alpha = this.mc._alpha - 5;
if (this.mc._alpha <= 0) {
_local2 = true;
}
return(_local2);
};
function Map(world) {
this.world = world;
}
Map.prototype.Init = function (level) {
this.screenBoundMin = new _root.Vect3(600, 400);
this.mapBoundMinY = -500;
this.mapBoundMaxY = 200;
this.total = 0;
this.firstVisible = 0;
this.lastVisible = -1;
this.map_0 = "20550|600|356|50|3|13|4|3|1|9|8|13|11|3|1|12|4|12|16|8|1|18|4|1|23|1|6|23|8|13|23|2|1|25|2|13|25|1|6|28|8|13|32|1|6|33|16|12|35|8|1|36|17|12|37|1|6|38|17|12|39|17|12|41|17|12|43|2|1|43|1|5|44|3|11|44|18|12|45|3|1|46|11|12|48|1|4|49|12|12|50|14|12|52|8|1|53|14|12|54|1|4|54|2|1|55|13|12|56|14|12|58|2|1|58|1|4|59|15|12|62|1|4|64|3|13|64|4|11|66|16|12|67|17|12|69|1|3|69|6|10|69|17|12|71|17|12|73|1|3|74|17|12|75|3|8|75|17|12|77|1|3|79|17|12|79|5|11|80|17|12|81|17|12|83|1|3|84|17|12|85|2|8|87|18|12|87|3|12|89|1|4|89|25|1|89|26|1|91|3|13|92|26|1|93|1|5|94|26|1|95|26|1|97|26|1|99|8|13|99|1|5|99|2|11|100|26|1|101|3|13|101|26|1|103|1|5|104|26|1|105|26|1|107|8|13|108|1|6|109|26|1|109|3|12|110|26|1|111|26|1|113|1|7|114|2|13|114|27|1|115|11|4|118|12|4|120|1|7|120|12|4|122|14|4|124|14|4|126|1|7|126|2|13|126|15|4|130|2|11|130|25|1|132|1|6|133|26|1|134|26|1|136|4|12|137|27|1|138|1|5|140|2|10|141|22|12|146|23|12|148|1|5|148|8|1|149|23|12|150|3|1|151|23|12|152|23|12|154|3|1|155|23|12|156|1|5|156|4|10|157|23|12|158|23|12|160|1|6|160|23|12|162|23|12|164|8|1|164|23|12|166|2|1|166|1|6|166|23|12|168|2|11|169|4|1|169|24|12|170|1|6|172|8|1|176|3|3|176|3|3|178|1|6|180|8|13|181|3|10|184|2|13|184|1|5|186|2|11|190|19|1|191|1|4|192|20|1|193|2|9|193|6|13|194|20|1|195|28|7|195|20|1|197|29|7|197|1|4|197|20|1|199|2|13|199|29|7|199|20|1|201|30|7|201|6|11|202|1|4|203|30|7|203|20|1|203|20|1|205|29|7|205|3|13|206|20|1|207|30|7|207|20|1|209|30|7|209|1|4|209|20|1|211|30|7|211|20|1|213|31|7|213|5|13|214|1|4|215|20|1|215|20|1|217|4|10|218|20|1|219|1|4|221|20|1|221|20|1|223|4|13|223|20|1|225|1|5|227|5|12|227|20|1|227|20|1|229|2|13|230|20|1|231|3|12|233|20|1|233|1|5|233|20|1|235|20|1|237|6|12|238|1|5|239|20|1|239|20|1|241|3|12|241|20|1|243|2|3|244|20|1|245|1|6|245|3|3|246|21|1|247|8|13|249|1|7|250|11|4|250|2|13|251|13|4|252|2|12|254|13|4|254|1|7|255|12|4|256|14|4|258|1|7|260|14|4|260|8|13|261|3|13|264|15|4|264|1|6|265|1|8|265|2|1|266|4|13|268|3|2|269|1|9|271|1|5|271|3|1|272|28|7|276|1|3|276|1|10|276|29|7|278|29|7|280|30|7|282|1|3|283|1|10|283|30|7|284|29|7|286|29|7|288|1|10|289|1|3|289|29|7|290|31|7|292|1|10|295|1|3|295|16|12|297|25|1|297|26|1|299|17|12|299|1|6|300|1|8|300|27|1|301|17|12|301|17|12|303|1|7|305|11|3|305|17|12|305|14|3|307|18|12|307|12|3|309|1|7|311|11|13|311|12|3|311|12|3|313|13|13|313|13|3|315|13|13|315|1|7|317|13|3|317|12|13|317|14|13|319|15|3|321|14|13|321|25|1|323|1|6|323|14|13|323|3|3|323|26|1|325|26|1|327|15|13|327|1|4|328|26|1|329|2|10|329|26|1|331|7|13|331|1|5|333|26|1|333|26|1|335|5|13|336|27|1|337|2|1|339|1|6|339|6|13|339|3|13|344|1|6|345|6|12|346|8|1|346|4|12|348|4|2|348|1|5|351|3|13|352|2|1|352|2|10|353|1|5|357|4|11|357|3|13|358|1|6|362|2|2|363|3|12|365|2|1|367|1|6|368|22|12|369|2|11|371|23|12|371|1|4|373|23|12|373|8|1|374|24|12|375|2|1|376|2|9|376|1|4|379|11|13|379|4|9|380|12|13|381|8|1|383|12|13|383|1|4|384|13|13|385|12|13|387|3|9|388|3|1|388|1|5|390|15|13|391|4|1|391|22|12|393|4|1|393|2|11|393|1|7|395|23|12|395|23|12|397|8|1|399|23|12|399|1|7|401|23|12|401|2|1|401|23|12|403|23|12|405|3|3|405|24|12|407|1|7|407|6|3|408|1|7|408|1|7|409|2|13|411|2|1|411";
this.map_1 = "22500|600|342|60|8|1|5|2|1|11|3|13|11|19|1|13|4|13|14|20|1|15|20|1|17|20|1|19|1|6|20|2|13|20|20|1|21|20|1|23|1|6|24|20|1|25|21|1|27|2|11|27|1|7|28|8|13|28|4|3|29|11|2|32|1|9|32|2|5|33|13|2|34|1|11|36|3|6|36|13|2|36|13|2|38|6|6|39|12|2|40|1|11|42|12|2|42|15|2|46|1|10|47|4|4|48|19|1|48|20|1|50|1|8|51|20|1|52|20|1|54|1|5|55|21|1|56|2|11|57|1|2|59|7|11|62|1|2|64|4|9|67|1|2|70|3|7|70|8|13|71|2|11|73|1|3|74|6|11|76|1|5|79|4|10|82|2|1|82|1|6|85|3|11|89|1|7|91|4|3|92|3|12|92|1|7|96|1|9|96|1|5|96|1|2|102|28|4|102|1|7|102|28|9|102|1|11|102|29|9|104|30|4|104|1|7|105|29|9|106|29|4|106|1|2|106|1|6|107|29|9|108|29|4|108|1|7|109|29|4|110|1|11|110|1|2|110|29|9|110|1|6|111|30|9|112|29|4|112|1|7|113|29|9|114|1|2|114|29|4|114|1|6|115|30|4|116|29|9|116|1|7|117|1|2|118|1|11|118|29|9|118|30|4|118|1|6|119|30|4|120|30|9|120|1|7|121|30|9|122|30|4|122|1|2|122|1|6|123|30|4|124|1|11|124|29|9|124|1|7|125|1|2|126|29|9|126|29|4|126|1|6|127|29|4|128|29|9|128|1|7|129|31|9|130|31|4|130|1|2|130|1|11|130|1|6|131|4|1|135|3|13|135|1|7|136|1|4|136|1|9|136|1|7|142|3|3|142|2|13|142|25|1|145|26|1|147|1|9|147|2|5|148|26|1|149|26|1|151|1|11|152|26|1|153|26|1|155|6|7|156|26|1|157|1|11|158|5|5|158|26|1|159|2|7|161|26|1|161|1|10|163|26|1|163|5|5|165|26|1|165|26|1|167|1|7|168|26|1|169|8|13|170|27|1|171|1|7|173|4|3|174|2|12|176|1|7|178|11|4|178|13|4|180|12|4|182|1|8|184|12|4|184|16|12|184|14|4|186|17|12|186|12|4|188|17|12|188|1|9|189|17|12|190|17|12|192|15|4|192|25|1|194|17|12|194|1|9|194|3|4|196|18|12|196|26|1|196|1|7|198|26|1|198|4|12|199|26|1|200|1|5|202|26|1|202|26|1|204|5|11|205|26|1|206|1|4|207|26|1|208|8|13|210|26|1|210|26|1|212|1|4|213|26|1|214|7|13|215|26|1|216|1|4|218|26|1|218|27|1|220|2|10|220|1|6|223|3|11|225|1|7|228|6|3|230|1|6|234|6|12|237|1|4|240|4|11|241|4|9|244|1|3|246|3|8|250|1|3|253|7|12|254|4|11|258|1|3|259|2|9|261|1|5|264|5|12|265|2|2|268|1|7|269|1|4|274|1|9|274|28|7|279|1|3|280|1|11|280|29|7|281|30|7|283|30|7|285|1|11|287|1|2|287|30|7|287|29|7|289|1|3|291|29|7|291|1|10|292|29|7|293|29|7|295|1|9|297|1|4|297|29|7|297|30|7|299|30|7|301|1|9|302|29|7|303|1|5|303|29|7|305|30|7|307|1|10|308|1|5|309|30|7|309|30|7|311|30|7|313|1|4|315|31|7|315|1|9|315|2|7|319|1|11|320|1|2|320|2|7|322|1|11|326|1|2|326|2|7|326|3|7|328|1|10|330|1|3|330|4|7|333|1|11|335|1|2|335|3|7|338|1|2|340|1|11|340|3|7|342|4|7|344|4|7|346|1|2|346|1|11|346|3|7|350|1|3|352|1|10|352|1|5|358|2|2|358|1|10|358|1|6|363|3|3|363|1|9|363|1|7|367|2|12|369|1|7|372|6|3|373|4|13|374|2|3|376|16|12|377|1|6|378|17|12|379|18|12|381|3|10|381|1|4|383|11|13|385|13|13|387|3|8|387|1|2|388|14|13|389|5|9|389|12|13|391|12|13|393|1|2|394|3|7|395|14|13|395|13|13|397|14|13|399|1|3|400|4|8|400|15|13|403|4|11|405|16|12|405|1|5|406|17|12|407|17|12|409|3|2|410|17|12|411|1|7|411|17|12|413|4|3|414|17|12|415|18|12|417|1|9|417|7|6|422|1|11|423|4|3|425|1|11|430|7|7|432|1|9|437|4|5|438|3|3|442|1|7|443|4|12|443|1|7|448|2|3|449|1|7|449|1|7|450|3|12|450";
this.map_2 = "21650|600|338|65|1|7|19|1|7|24|2|12|25|8|1|28|1|8|29|2|13|31|3|2|34|1|9|34|1|10|39|4|6|39|5|4|42|1|10|44|3|5|46|2|4|48|1|9|49|6|3|50|1|8|53|3|2|54|1|7|58|3|13|59|1|6|63|2|1|64|6|13|64|1|6|67|2|12|67|4|11|71|3|2|72|1|6|72|3|13|77|1|7|78|8|1|80|2|3|83|1|9|83|3|5|88|1|10|88|6|4|90|1|10|93|4|3|94|2|4|97|1|9|98|1|7|102|4|11|105|8|1|107|1|6|107|2|1|110|3|13|111|1|6|113|2|11|116|19|1|117|1|5|118|20|1|119|20|1|121|2|11|123|1|4|123|20|1|123|20|1|125|3|9|126|20|1|127|2|10|128|1|4|128|20|1|129|3|12|131|20|1|131|1|4|132|20|1|133|7|13|134|20|1|135|1|4|136|20|1|137|2|11|138|20|1|139|4|9|140|1|4|140|20|1|141|20|1|143|20|1|145|1|5|145|20|1|147|3|11|147|21|1|149|1|6|150|8|13|153|1|7|155|4|13|156|8|1|157|3|4|158|4|13|159|1|8|160|4|3|161|1|9|165|4|1|165|3|3|169|3|13|169|1|9|170|19|1|171|22|12|171|2|3|173|20|1|173|23|12|173|20|1|175|1|9|175|23|12|175|20|1|177|11|5|177|23|12|177|20|1|179|23|12|179|12|5|179|1|9|180|20|1|181|14|5|181|23|12|181|14|5|183|20|1|183|23|12|183|12|5|185|20|1|185|1|9|185|23|12|185|20|1|187|23|12|187|13|5|187|20|1|189|23|12|189|1|9|189|14|5|189|20|1|191|23|12|191|15|5|193|20|1|193|24|12|193|1|9|194|20|1|195|2|3|195|20|1|197|20|1|199|1|8|199|20|1|201|4|13|201|21|1|203|1|7|203|2|1|205|1|5|207|2|13|207|6|12|209|3|11|211|1|3|211|6|10|214|1|3|216|4|12|216|1|3|220|6|12|221|1|3|224|3|8|226|2|11|226|1|3|228|2|8|231|1|3|232|1|5|235|4|11|235|1|2|235|1|7|239|1|2|240|3|12|240|1|8|243|1|3|244|1|10|247|1|2|249|2|7|250|1|10|251|3|7|254|1|11|256|4|7|257|1|2|258|1|11|260|1|2|262|1|9|264|1|11|267|1|7|269|1|2|269|28|4|271|28|9|271|29|4|273|1|6|273|30|9|273|1|7|275|30|9|275|29|4|275|1|11|276|1|2|276|29|4|277|29|9|277|1|6|278|29|9|279|30|4|279|1|7|280|30|4|281|1|2|281|1|11|281|29|9|281|1|6|282|30|9|283|30|4|283|1|2|285|31|4|285|31|9|285|1|11|286|1|6|286|1|9|290|1|3|290|1|6|294|3|1|294|2|11|295|8|13|298|1|6|298|3|11|300|3|2|300|1|6|302|3|2|306|1|6|306|2|13|309|1|6|310|8|1|313|1|6|314|8|13|316|3|1|316|1|6|318|2|11|319|25|1|320|26|1|322|1|7|322|3|13|323|26|1|324|3|3|326|1|9|326|26|1|326|26|1|328|11|5|330|26|1|330|1|9|330|16|12|331|14|5|332|26|1|332|17|12|333|12|5|334|26|1|334|17|12|335|26|1|336|14|5|336|1|9|336|17|12|337|26|1|338|12|5|338|17|12|339|13|5|340|26|1|340|17|12|341|1|9|341|26|1|342|17|12|343|15|5|344|26|1|344|1|8|345|18|12|345|26|1|346|4|3|346|2|13|347|26|1|348|1|6|349|27|1|350|3|2|353|6|13|353|1|6|353|2|11|356|1|6|359|3|2|359|1|9|362|1|4|364|1|11|365|1|3|369|1|11|369|11|9|369|13|9|371|1|3|373|14|9|373|1|11|374|12|9|375|12|9|375|13|9|377|1|11|379|14|9|379|1|4|379|12|9|381|8|1|382|13|9|383|2|1|384|1|11|384|14|9|385|1|3|386|12|9|387|13|9|389|1|11|389|1|3|390|14|9|391|1|11|393|12|9|393|1|4|395|13|9|395|14|9|397|1|3|399|12|9|399|1|11|400|13|9|401|14|9|403|1|4|404|12|9|405|8|1|406|1|11|407|13|9|407|12|9|407|1|3|409|14|9|409|1|11|412|15|9|413|1|4|414|2|8|415|1|11|418|1|3|418|1|10|422|1|4|422|1|7|426|1|7|431|1|7|432|1|7|433|2|13|433|2|1|433";
this.map_3 = "22350|600|329|60|5|13|5|2|12|12|5|3|12|2|11|15|2|3|15|6|13|18|5|3|21|1|7|24|2|1|28|1|7|30|4|2|32|4|12|32|1|7|36|2|3|36|5|3|41|8|13|43|1|8|44|8|1|48|4|13|50|5|5|50|1|9|50|3|1|52|7|5|55|1|9|56|3|6|57|11|4|59|12|4|61|1|9|62|13|4|63|3|13|66|15|4|67|3|13|69|1|8|69|2|4|70|4|13|74|8|1|75|1|7|75|3|12|77|3|1|78|3|3|80|1|7|81|4|13|82|5|3|84|3|12|87|1|7|87|4|3|88|2|2|90|1|6|93|3|1|94|3|12|96|4|2|97|1|5|99|4|10|100|3|13|100|4|1|102|19|1|105|6|12|105|1|4|105|20|1|107|4|11|108|20|1|109|2|9|110|20|1|111|1|4|112|20|1|113|7|13|113|20|1|115|20|1|117|1|4|118|2|12|118|20|1|119|20|1|121|6|13|121|20|1|123|4|9|124|1|4|124|3|12|125|21|1|125|2|1|128|1|6|129|2|12|130|3|2|134|1|8|134|2|12|134|2|1|137|1|9|140|16|12|140|7|5|142|17|12|142|2|2|144|17|12|144|17|12|146|1|9|147|5|5|147|17|12|148|2|1|149|17|12|150|4|3|151|3|6|152|17|12|152|28|4|152|1|9|153|17|12|154|29|4|154|3|1|155|30|4|156|17|12|156|30|4|158|17|12|158|1|9|159|17|12|160|30|4|160|3|1|162|31|4|162|17|12|162|6|3|164|17|12|164|1|9|165|2|1|166|18|12|166|3|5|166|3|13|169|1|7|170|4|1|171|1|6|175|3|11|175|2|2|176|5|13|179|1|7|182|8|1|186|1|6|189|8|13|189|6|13|193|2|3|194|1|7|196|5|13|200|1|6|202|8|1|202|4|3|205|1|7|208|8|1|211|8|13|211|1|9|213|4|3|213|11|3|217|1|9|218|13|3|219|22|12|220|2|5|220|12|3|221|23|12|222|23|12|224|1|9|224|15|3|225|23|12|226|4|4|227|19|1|227|23|12|228|20|1|229|1|8|229|24|12|230|3|3|231|21|1|231|4|1|233|2|13|233|1|7|234|4|3|237|1|6|239|2|11|240|2|2|240|1|6|243|5|12|244|5|3|244|3|10|247|3|3|247|1|6|248|3|10|251|3|3|251|1|6|253|5|3|254|5|12|254|2|10|257|2|3|257|1|6|258|2|3|260|2|10|260|1|6|262|5|3|263|5|12|263|3|3|267|1|6|268|4|12|268|4|1|271|3|10|271|8|13|274|28|8|274|1|4|275|29|8|276|3|13|276|4|10|277|29|8|278|31|8|280|3|13|281|1|2|282|2|10|283|28|8|284|4|7|285|30|8|286|2|6|287|30|8|288|1|2|288|8|13|289|30|8|290|4|10|291|29|8|292|2|6|294|1|2|294|29|8|294|31|8|296|6|13|297|4|9|299|1|3|301|2|13|301|3|8|302|3|9|307|1|4|308|2|11|309|3|1|310|6|12|313|4|1|313|1|6|315|3|2|316|4|12|318|1|7|321|3|2|322|2|3|326|3|12|327|1|7|327|3|1|328|1|6|332|4|11|333|1|4|336|2|8|339|1|2|341|11|8|342|6|13|342|12|8|344|13|8|346|13|8|348|1|2|348|6|12|349|12|8|350|5|13|354|15|8|354|1|2|357|3|7|357|1|3|362|8|13|363|4|8|363|1|4|367|19|1|368|4|11|370|20|1|370|20|1|372|1|4|373|5|13|373|20|1|374|2|9|375|20|1|376|21|1|378|1|4|378|4|10|380|4|1|380|1|5|382|2|12|386|1|6|387|3|1|387|5|2|391|1|6|393|8|13|393|3|2|394|5|13|396|1|6|398|4|1|399|2|1|402|1|7|403|1|5|403|1|4|406|8|13|406|1|8|406|1|9|409|28|6|409|1|3|410|25|1|410|1|9|411|30|6|411|26|1|412|30|6|413|1|9|413|8|13|413|1|3|414|26|1|414|1|9|415|30|6|415|26|1|416|30|6|417|1|9|417|1|3|418|26|1|418|1|9|419|31|6|419|8|13|420|26|1|420|1|8|422|1|5|422|27|1|422|2|1|424|2|12|426|1|6|427|4|1|429|1|6|432|1|6|436|3|12|436|3|2|437|5|13|440|1|6|442|4|1|447|4|13|447";
this.map_4 = "21350|600|416|60|2|12|7|2|2|10|4|1|14|8|13|14|8|1|20|2|13|21|4|2|23|1|6|23|3|13|25|3|1|25|5|13|29|1|6|29|4|12|32|22|12|34|1|6|34|23|12|36|3|11|38|23|12|38|23|12|40|1|5|40|11|11|42|23|12|42|8|1|42|12|11|44|23|12|44|1|4|45|12|11|46|23|12|46|13|11|48|23|12|48|1|4|50|23|12|50|12|11|50|14|11|52|23|12|52|14|11|54|23|12|54|1|4|55|23|12|56|15|11|58|23|12|58|1|4|60|23|12|60|23|12|62|3|1|63|3|9|63|24|12|64|1|5|66|11|2|67|5|13|67|13|2|69|2|12|69|1|6|71|13|2|71|3|11|72|13|2|73|13|2|75|1|6|77|12|2|77|8|13|79|12|2|79|1|6|82|3|13|83|15|2|83|6|13|85|2|1|86|1|6|87|3|2|90|1|7|92|2|13|92|25|1|93|4|3|94|26|1|95|1|8|97|26|1|97|11|5|98|26|1|99|2|13|100|13|5|100|26|1|101|13|5|102|26|1|103|1|8|103|12|5|104|2|13|104|26|1|105|12|5|106|26|1|107|1|8|109|26|1|109|15|5|110|8|13|110|26|1|111|26|1|113|1|7|114|27|1|115|16|12|115|17|12|117|2|1|118|17|12|119|1|5|119|17|12|121|4|10|121|17|12|123|3|2|124|1|6|125|17|12|125|3|11|126|17|12|127|3|1|128|17|12|129|1|8|131|17|12|131|3|3|132|17|12|133|2|4|135|17|12|135|18|12|137|1|7|138|3|3|139|3|13|139|3|2|142|1|5|146|8|13|146|8|1|150|2|10|150|1|6|154|2|2|155|4|11|155|4|1|162|1|8|162|8|13|163|3|4|164|2|12|165|1|7|168|11|13|169|13|13|171|14|13|173|1|6|173|8|1|175|14|13|175|4|2|177|15|13|179|1|6|179|2|2|181|2|11|181|22|12|181|23|12|183|1|7|183|23|12|185|8|1|187|23|12|187|1|8|188|3|4|188|23|12|189|23|12|191|4|1|192|23|12|193|1|8|193|23|12|195|2|2|196|23|12|197|1|7|198|3|3|199|23|12|199|23|12|201|2|11|202|2|1|202|23|12|203|1|5|203|23|12|205|1|2|207|23|12|207|11|11|207|23|12|209|13|11|209|23|12|211|14|11|211|1|2|212|23|12|213|12|11|213|23|12|215|13|11|215|2|7|216|13|11|217|1|2|217|23|12|217|23|12|219|13|11|219|23|12|221|14|11|221|1|3|222|14|11|223|23|12|223|23|12|225|1|5|227|24|12|227|15|11|227|2|1|228|3|12|229|1|8|231|1|3|233|1|4|233|1|11|235|28|8|238|3|4|239|5|2|239|1|11|240|30|8|240|2|7|240|1|3|240|1|4|241|29|8|242|19|1|242|1|3|242|1|4|243|20|1|244|30|8|244|1|3|244|1|11|245|1|4|245|30|8|246|20|1|246|1|3|246|20|1|248|1|4|248|31|8|248|1|3|248|3|7|249|1|10|250|20|1|250|20|1|252|3|4|253|1|8|254|20|1|254|21|1|256|1|5|258|1|12|259|2|9|259|1|11|259|1|2|262|11|10|263|3|12|264|13|10|265|1|12|266|1|2|267|12|10|267|1|11|267|1|12|268|3|6|268|1|11|269|12|10|269|1|12|270|1|11|272|1|3|272|1|12|272|15|10|273|2|1|276|1|5|276|2|12|277|19|1|278|1|8|279|20|1|280|20|1|282|3|4|282|1|10|283|20|1|284|4|6|285|20|1|286|20|1|288|2|5|288|1|10|289|20|1|290|5|6|290|20|1|292|4|3|294|20|1|294|1|8|294|20|1|296|21|1|298|1|5|298|3|13|298|22|12|300|23|12|302|1|3|302|23|12|304|3|9|305|23|12|306|5|10|308|1|3|308|23|12|308|23|12|310|4|1|312|23|12|312|1|5|313|2|10|313|23|12|314|24|12|316|1|8|318|2|13|318|8|1|319|19|1|321|2|5|322|1|10|323|20|1|323|20|1|325|2|5|327|20|1|327|1|10|328|6|6|329|21|1|329|4|1|332|1|8|333|2|4|334|8|13|337|1|6|338|8|1|339|28|3|341|2|1|342|6|13|342|1|6|343|28|9|343|29|3|343|4|13|344|30|9|345|2|11|345|30|3|345|30|3|347|30|9|347|1|6|348|3|2|348|30|9|349|30|3|349|29|3|351|3|1|351|29|9|351|4|11|351|1|6|353|29|9|353|30|3|353|30|3|355|29|9|355|4|1|356|31|3|357|31|9|357|1|6|358|8|13|358|2|13|360|1|5|361|1|7|361|8|1|362|3|13|362|1|4|365|1|9|365|1|3|369|1|10|369|1|11|373|1|2|373|2|7|376|1|3|377|1|11|377|4|8|378|1|11|381|1|2|381|11|8|382|12|8|384|1|11|385|1|3|385|13|8|386|12|8|388|1|11|389|1|2|389|14|8|390|14|8|392|1|11|393|1|3|393|13|8|394|1|2|397|1|11|397|15|8|398|1|11|401|5|8|401|1|3|401|2|8|403|1|11|405|1|2|405|4|7|408|1|11|409|1|3|409|19|1|410|1|3|412|20|1|412|1|10|412|28|7|413|20|1|414|1|10|415|16|12|415|1|3|415|30|7|415|20|1|416|17|12|417|30|7|417|1|10|418|1|3|418|20|1|418|30|7|419|17|12|419|21|1|420|31|7|421|1|3|421|18|12|421|1|10|421|2|7|424|8|1|427|8|13|427";
this.map_5 = "22250|600|466|80|11|2|7|12|2|9|12|2|11|13|2|13|13|2|15|14|2|17|15|2|21|1|7|23|2|1|24|3|13|25|3|1|27|1|7|28|4|13|28|3|4|32|1|7|33|4|13|33|6|3|34|4|1|37|1|6|38|8|13|39|19|1|39|20|1|41|2|13|42|20|1|43|1|5|43|6|12|44|20|1|45|2|10|46|20|1|47|1|5|48|20|1|49|4|9|50|20|1|51|4|13|51|7|13|53|1|5|53|20|1|53|20|1|55|4|9|57|20|1|57|1|5|58|20|1|59|6|12|59|20|1|61|1|6|62|21|1|63|4|13|63|1|7|66|3|13|67|4|1|68|5|4|70|1|7|71|28|10|72|6|3|72|30|10|74|1|11|74|1|12|75|1|11|76|29|10|76|2|3|76|1|7|76|19|1|76|1|12|77|29|10|78|20|1|78|20|1|80|30|10|80|1|11|80|1|7|81|1|12|81|30|10|82|1|11|82|2|4|82|20|1|82|1|12|83|30|10|84|20|1|84|3|3|85|31|10|86|21|1|86|1|7|86|11|4|89|12|4|91|1|8|91|12|4|93|8|13|94|1|8|95|12|4|95|2|13|96|13|4|97|1|8|99|14|4|99|4|12|99|14|4|101|1|8|103|15|4|105|8|13|105|1|7|107|19|1|107|20|1|109|20|1|111|4|11|111|1|5|111|20|1|113|6|12|115|1|5|115|20|1|115|20|1|117|3|13|118|1|5|119|20|1|119|20|1|121|5|13|122|20|1|123|1|5|123|20|1|125|2|13|126|1|6|127|21|1|127|6|13|128|2|3|128|3|11|131|22|12|132|11|3|132|1|6|132|23|12|134|12|3|134|23|12|136|13|3|136|1|6|137|14|3|138|23|12|138|23|12|140|13|3|140|23|12|142|13|3|142|1|6|142|3|10|143|23|12|144|23|12|146|15|3|146|23|12|148|1|5|148|3|1|148|1|7|148|23|12|150|2|1|151|23|12|152|1|9|153|1|3|153|24|12|154|1|10|158|1|2|158|3|7|161|16|12|163|1|10|164|1|2|164|17|12|165|3|7|166|17|12|167|17|12|169|1|2|170|1|10|170|17|12|171|2|6|171|17|12|173|3|7|173|17|12|175|1|9|176|1|3|176|18|12|177|1|5|181|11|13|181|1|8|181|13|13|183|8|1|184|13|13|185|1|7|186|3|1|186|12|13|187|12|13|189|12|13|191|1|7|191|6|3|192|12|13|193|14|13|195|1|7|196|4|1|196|14|13|197|3|1|198|2|4|200|1|7|201|15|13|201|6|1|203|3|12|204|1|6|206|1|8|206|1|10|210|8|1|210|1|4|210|28|7|211|30|7|213|29|7|215|1|3|216|1|11|216|29|7|217|30|7|219|30|7|221|1|3|221|1|10|221|30|7|223|29|7|225|1|3|226|1|11|226|29|7|227|29|7|229|29|7|231|1|3|231|1|10|231|29|7|233|30|7|235|1|3|236|1|11|236|30|7|237|30|7|239|1|3|241|1|10|241|30|7|241|29|7|243|30|7|245|1|3|246|22|12|246|1|10|246|30|7|247|23|12|248|30|7|249|1|10|250|1|3|250|23|12|250|31|7|251|23|12|252|1|9|254|23|12|254|1|4|254|23|12|256|1|7|257|3|1|257|23|12|258|19|1|259|23|12|260|20|1|261|1|6|262|24|12|262|4|11|262|20|1|263|20|1|265|11|13|266|1|6|267|20|1|267|14|13|268|20|1|269|13|13|270|20|1|271|4|3|271|1|6|272|14|13|272|20|1|273|20|1|275|15|13|276|20|1|277|1|6|277|4|3|277|22|12|278|4|11|278|20|1|279|23|12|280|20|1|281|23|12|282|1|7|283|1|5|283|20|1|283|23|12|284|21|1|285|24|12|286|1|3|287|1|8|287|1|9|290|2|13|291|1|2|292|28|4|293|1|9|294|30|4|295|1|2|296|29|4|297|1|8|298|1|2|298|29|4|299|4|13|299|1|2|300|29|4|301|1|10|302|29|4|303|1|2|304|29|4|305|1|8|306|1|2|306|30|4|307|1|2|308|30|4|309|1|10|310|30|4|311|1|2|312|30|4|313|1|2|314|1|8|314|30|4|315|1|2|316|29|4|317|1|10|318|30|4|319|1|2|320|16|12|320|30|4|321|1|2|322|17|12|322|1|8|322|30|4|323|1|2|324|17|12|324|31|4|325|1|10|326|2|6|326|17|12|326|1|2|328|17|12|328|1|8|330|17|12|330|1|3|332|17|12|332|17|12|334|1|8|336|1|5|336|17|12|336|25|1|337|17|12|338|26|1|339|18|12|340|1|6|340|26|1|341|26|1|343|11|13|344|1|6|345|26|1|345|13|13|346|26|1|347|13|13|348|26|1|349|1|5|350|12|13|350|3|9|350|26|1|351|12|13|352|27|1|353|12|13|354|12|13|356|2|8|356|1|3|356|14|13|358|14|13|360|6|9|360|1|3|361|14|13|362|3|8|362|12|13|364|4|9|365|1|5|366|13|13|366|12|13|368|8|1|369|1|7|371|2|1|372|15|13|372|2|13|374|1|10|376|25|1|379|28|4|379|1|2|380|1|11|381|29|4|381|1|3|381|26|1|381|1|2|382|30|4|383|26|1|383|1|3|383|4|6|384|26|1|385|1|2|385|29|4|385|1|10|386|1|3|386|29|4|387|26|1|387|2|6|387|1|3|388|1|2|388|26|1|389|29|4|389|2|13|389|1|8|391|31|4|391|27|1|391|2|12|392|2|3|393|4|13|394|1|5|395|6|12|397|1|2|400|4|12|400|6|9|402|2|8|406|1|3|406|8|13|408|4|1|410|1|5|412|19|1|412|6|12|412|20|1|414|3|12|414|20|1|416|1|8|416|3|3|416|20|1|418|4|13|418|11|5|420|20|1|420|1|10|421|20|1|422|12|5|422|13|5|424|20|1|424|1|9|426|20|1|426|15|5|428|22|12|428|20|1|428|20|1|430|23|12|430|1|7|431|2|4|431|20|1|432|23|12|432|21|1|434|23|12|434|1|6|436|23|12|436|23|12|438|1|6|440|23|12|440|24|12|442|8|1|443|1|6|444|6|2|445|6|13|445";
this.map_6 = "22500|600|436|60|1|7|23|8|1|27|8|13|27|5|12|29|1|6|30|2|9|31|2|3|35|1|7|37|2|4|38|5|13|39|3|11|41|1|6|43|3|10|44|4|3|46|1|7|48|4|4|49|8|13|49|2|11|51|3|13|52|1|6|54|8|1|55|3|2|57|2|13|58|1|7|59|2|4|60|6|13|60|4|1|63|1|8|64|4|12|64|4|4|68|8|1|70|2|11|70|1|6|71|16|12|71|19|1|73|17|12|73|2|10|75|17|12|75|20|1|75|20|1|77|17|12|77|2|4|79|17|12|79|20|1|79|20|1|81|17|12|81|1|8|83|17|12|83|20|1|83|20|1|85|17|12|85|3|4|86|18|12|87|20|1|87|2|11|88|20|1|89|4|3|90|20|1|91|1|6|92|20|1|93|20|1|95|2|13|95|20|1|97|28|12|97|21|1|99|30|12|99|4|4|100|30|12|101|29|12|103|1|8|104|29|12|105|29|12|107|7|4|107|29|12|109|25|1|109|31|12|111|26|1|111|3|11|111|26|1|113|1|6|115|26|1|115|2|10|116|8|13|117|26|1|117|26|1|119|3|4|121|2|13|121|26|1|121|26|1|123|1|8|124|26|1|125|4|3|126|8|13|127|27|1|127|1|10|129|1|6|130|11|4|130|12|4|132|1|6|132|28|8|132|1|6|133|30|8|134|1|6|134|14|4|134|1|11|134|1|6|135|12|4|136|30|8|136|1|6|137|13|4|138|1|6|138|29|8|138|1|11|139|29|8|140|15|4|142|29|8|142|1|11|143|31|8|144|5|4|145|9|7|145|1|9|147|16|12|147|2|2|148|17|12|149|1|6|150|17|12|151|4|1|152|17|12|153|1|4|153|1|9|155|17|12|155|17|12|157|1|2|157|28|6|158|17|12|159|30|6|160|17|12|161|30|6|162|1|2|162|1|9|162|17|12|163|31|6|164|17|12|165|1|2|166|2|6|166|17|12|167|1|9|168|17|12|169|1|3|170|17|12|171|2|1|172|1|5|173|17|12|173|1|8|173|3|2|174|18|12|175|6|3|177|1|7|177|11|13|179|13|13|181|11|4|181|1|7|182|13|13|183|12|4|183|13|13|185|14|4|185|13|13|187|1|7|187|12|13|189|15|4|189|1|6|191|14|13|191|2|1|191|14|13|193|1|5|195|12|13|195|8|1|197|15|13|199|1|5|200|2|1|200|16|12|202|3|1|202|4|10|202|17|12|204|1|5|204|6|11|205|17|12|206|3|1|206|17|12|208|1|5|210|17|12|210|1|5|211|17|12|212|4|10|212|17|12|214|3|9|214|8|1|215|18|12|216|6|11|218|9|6|218|3|2|218|4|13|220|4|1|220|1|5|222|5|12|222|2|1|225|22|12|226|1|5|227|2|9|227|23|12|228|3|1|229|23|12|230|2|1|231|1|5|231|23|12|232|23|12|234|1|6|236|4|1|236|23|12|236|23|12|238|23|12|240|1|7|240|23|12|242|8|1|243|23|12|244|1|7|244|23|12|246|23|12|248|1|7|248|2|1|248|23|12|250|3|3|251|24|12|252|1|7|254|1|7|255|3|13|255|2|3|256|3|11|258|2|13|261|9|8|262|4|10|262|6|5|262|2|1|262|16|12|264|17|12|266|4|1|266|1|7|267|4|3|268|17|12|268|17|12|270|1|7|271|17|12|272|7|4|273|17|12|274|1|7|275|17|12|276|2|1|277|17|12|278|17|12|280|1|6|280|17|12|282|2|11|282|8|1|283|3|9|284|18|12|284|1|5|285|11|12|287|14|12|289|1|5|289|4|1|289|14|12|291|6|2|291|12|12|293|1|5|293|12|12|295|13|12|297|2|1|297|13|12|299|4|2|299|1|5|300|13|12|301|1|5|301|14|12|303|8|1|306|15|12|307|9|6|308|2|1|310|7|8|310|5|13|310|16|12|312|1|5|313|17|12|314|19|1|314|2|11|314|1|5|315|17|12|316|20|1|316|1|5|317|20|1|318|17|12|318|1|5|319|20|1|320|17|12|320|20|1|322|17|12|322|6|11|323|20|1|324|17|12|324|1|5|325|21|1|326|17|12|326|3|10|326|17|12|328|2|1|328|1|6|329|17|12|330|5|3|331|2|11|331|17|12|332|3|1|333|1|7|333|18|12|334|11|4|335|1|10|337|13|4|337|13|4|339|1|11|341|13|4|341|3|7|342|12|4|343|1|11|345|12|4|345|5|8|346|14|4|347|1|11|349|12|4|349|14|4|351|3|7|352|1|10|353|15|4|355|1|7|357|3|3|357|4|1|359|1|4|360|8|13|361|3|12|363|1|2|364|28|6|365|6|13|367|30|6|367|1|2|369|30|6|369|29|6|371|3|10|372|29|6|373|1|2|374|3|13|374|31|6|375|6|11|377|1|3|378|4|1|381|1|6|382|25|1|383|8|13|383|1|9|385|26|1|385|26|1|387|1|3|387|1|11|389|1|3|389|26|1|389|11|8|391|26|1|391|1|3|391|12|8|393|1|3|393|26|1|393|1|11|394|26|1|395|1|3|395|13|8|395|13|8|397|26|1|397|1|3|398|26|1|399|1|3|399|1|11|399|15|8|401|26|1|401|26|1|403|1|10|404|4|7|404|26|1|405|2|6|406|27|1|407|9|4|407|1|8|408|6|4|409|1|6|412|16|12|414|17|12|416|1|5|416|17|12|418|4|1|418|17|12|420|1|5|420|11|11|420|17|12|422|13|11|422|17|12|424|1|5|424|13|11|424|8|1|424|17|12|426|4|1|426|12|11|426|17|12|428|14|11|428|3|1|429|17|12|430|1|5|430|1|5|431|15|11|432|17|12|432|18|12|434|8|1|436|9|6|438|7|13|440|7|5|440|3|11|442|2|2|442|1|5|442|2|10|446|1|5|446|1|5|450";
this.map_7 = "21900|600|433|90|8|13|6|8|1|9|2|13|10|16|12|12|17|12|14|17|12|16|2|1|16|17|12|18|17|12|20|17|12|22|2|2|22|1|6|23|17|12|24|17|12|26|2|11|26|1|6|28|18|12|28|8|1|29|11|13|32|1|6|32|3|3|32|13|13|34|13|13|36|2|1|36|1|5|36|12|13|38|1|3|40|14|13|40|14|13|42|12|13|44|1|2|44|3|7|44|4|9|47|15|13|48|1|3|48|3|10|51|16|12|52|1|5|52|17|12|54|17|12|56|1|8|56|4|1|58|17|12|58|3|5|59|1|9|60|17|12|60|17|12|62|4|3|63|1|8|64|17|12|64|6|4|66|18|12|66|2|1|68|1|6|68|4|13|71|1|3|72|4|9|74|2|12|75|1|2|76|7|11|77|3|13|79|1|3|80|25|1|81|7|13|81|23|1|83|1|6|84|23|1|85|26|1|87|1|8|88|1|2|88|26|1|89|1|3|89|28|4|89|8|13|90|1|2|90|26|1|91|1|3|91|30|4|91|1|8|92|1|2|92|4|12|92|29|4|93|26|1|93|1|3|93|26|1|95|1|3|95|29|4|95|1|2|95|1|7|96|31|4|97|26|1|97|2|13|98|2|3|99|26|1|99|1|8|101|1|6|101|27|1|101|4|13|102|1|10|105|1|4|105|1|11|109|1|2|109|11|8|110|12|8|112|1|2|113|1|11|113|13|8|114|13|8|116|1|11|117|1|2|117|12|8|118|14|8|120|1|11|121|1|2|121|15|8|124|1|3|125|1|10|125|2|13|128|3|1|128|1|8|129|1|5|129|2|2|132|1|6|133|2|13|134|1|6|137|19|1|139|8|13|140|1|5|141|20|1|141|20|1|143|2|11|143|20|1|145|1|4|146|6|13|146|20|1|147|2|10|148|20|1|149|6|10|151|20|1|151|1|4|151|20|1|153|8|13|154|20|1|155|1|6|156|20|1|157|2|12|157|20|1|159|4|10|159|20|1|161|1|5|161|20|1|163|2|8|164|4|13|164|20|1|165|1|3|166|21|1|167|7|12|167|1|4|171|2|12|171|2|1|174|5|12|176|1|6|176|3|2|177|2|13|179|4|10|180|1|5|181|4|12|184|1|3|185|6|12|187|1|4|189|2|11|190|4|1|190|22|12|190|23|12|192|25|1|192|11|11|193|1|5|193|23|12|194|26|1|194|12|11|195|23|12|196|26|1|196|13|11|197|1|5|197|23|12|198|26|1|198|13|11|199|23|12|200|26|1|200|12|11|201|1|5|201|23|12|202|26|1|202|23|12|204|26|1|204|15|11|205|1|5|205|23|12|206|26|1|206|23|12|208|1|5|208|26|1|208|1|7|208|2|11|208|23|12|210|26|1|210|1|4|211|1|9|211|24|12|212|27|1|212|2|1|214|1|10|215|1|3|215|1|6|219|1|2|219|1|11|219|28|9|221|28|4|221|1|11|222|1|2|222|30|9|223|29|4|223|1|7|224|30|9|225|29|4|225|1|11|225|1|2|225|30|9|227|30|4|227|1|2|228|1|11|228|1|6|229|30|9|229|29|4|229|1|11|231|1|2|231|30|4|231|29|9|231|29|9|233|30|4|233|1|2|234|1|11|234|1|7|234|31|9|235|31|4|235|1|2|238|1|6|238|1|11|238|1|7|241|1|3|242|1|10|242|1|7|246|2|1|246|1|12|249|1|11|249|1|6|250|4|2|250|28|10|253|3|12|254|29|10|255|1|6|256|29|10|257|1|11|257|29|10|259|1|12|259|29|10|261|1|11|261|1|6|261|4|2|261|30|10|263|1|12|263|2|1|264|1|7|265|1|11|265|30|10|265|30|10|267|1|12|267|4|1|269|1|11|269|30|10|269|1|7|270|1|12|271|29|10|271|29|10|273|5|3|274|30|10|275|1|11|275|1|7|275|1|12|275|30|10|277|30|10|279|2|3|279|1|6|280|2|12|281|31|10|281|3|1|284|1|6|285|4|2|286|22|12|288|1|6|290|23|12|290|6|3|291|23|12|292|23|12|294|1|7|295|1|5|295|23|12|296|2|1|296|23|12|298|1|3|299|1|9|299|24|12|300|1|2|305|1|11|305|11|8|306|14|8|308|12|8|310|1|3|310|1|10|310|12|8|312|13|8|314|1|2|314|1|11|314|14|8|316|1|10|318|1|3|318|13|8|318|15|8|322|1|2|322|1|11|322|1|10|326|6|8|326|1|3|326|6|8|329|1|2|330|1|11|330|3|6|332|3|8|333|1|11|334|1|2|334|5|8|336|1|11|338|1|2|338|1|11|342|1|2|342|11|8|342|1|11|343|1|2|343|13|8|344|14|8|346|12|8|348|12|8|350|9|3|351|9|12|351|5|3|353|5|13|353|15|8|354|1|2|356|1|11|356|6|8|357|1|2|359|2|6|359|1|11|359|1|11|362|2|8|362|1|2|362|5|8|364|1|11|365|1|2|365|4|8|366|3|6|367|1|10|369|1|3|369|1|5|373|1|8|373|2|1|374|3|1|377|1|6|377|2|13|377|5|3|381|1|6|382|4|11|383|6|13|386|1|5|387|3|1|387|2|9|389|1|3|392|8|13|394|3|8|394|1|2|397|7|11|397|2|12|399|1|3|401|4|13|402|5|10|403|1|5|405|2|13|408|2|1|409|1|8|409|1|9|414|1|9|415|28|6|415|8|13|416|30|6|417|29|6|419|29|6|421|1|3|421|1|4|421|9|10|422|4|13|422|29|6|423|7|5|424|7|13|424|30|6|425|1|9|426|1|3|426|1|3|427|30|6|427|1|9|428|1|3|428|2|13|428|1|3|429|31|6|429|1|3|430|1|9|430|1|3|431|1|9|432|1|3|432|1|3|433|1|3|434|1|9|434|8|13|435|3|13|438";
this.map_8 = "21900|600|357|80|4|13|3|8|1|4|3|1|6|8|13|9|2|1|12|8|1|20|2|11|21|1|6|22|3|1|24|3|13|24|1|6|27|1|6|32|1|7|36|3|3|36|1|8|40|2|13|41|7|4|41|22|12|44|1|8|45|23|12|46|3|1|46|23|12|48|4|4|49|23|12|50|1|8|50|23|12|52|23|12|54|1|7|54|24|12|56|1|6|58|2|1|59|11|12|59|13|12|61|1|6|62|12|12|63|14|12|65|1|6|66|3|1|66|12|12|67|12|12|69|1|6|70|4|2|72|15|12|73|22|12|74|1|7|75|1|5|75|23|12|76|2|1|76|23|12|78|1|9|79|1|3|79|24|12|80|28|5|82|1|10|83|1|2|84|30|5|84|29|5|86|1|9|87|29|5|88|1|2|88|29|5|90|1|10|91|29|5|92|1|2|92|29|5|94|1|9|95|30|5|96|1|2|96|30|5|98|1|10|99|31|5|100|1|2|100|1|9|103|1|3|104|2|13|105|1|6|107|3|1|108|1|6|111|8|13|112|1|5|115|8|1|115|3|13|116|2|12|119|1|3|119|3|8|120|2|13|122|1|2|123|2|13|124|7|11|124|4|13|127|1|3|128|6|11|130|1|5|132|8|13|135|1|8|136|8|1|138|2|13|138|4|6|140|1|11|141|6|7|143|4|1|145|1|10|146|16|12|146|2|5|148|17|12|148|1|8|150|17|12|150|8|1|152|17|12|152|2|11|153|17|12|154|2|1|154|1|5|154|17|12|156|11|11|156|17|12|158|13|11|158|1|2|159|17|12|160|12|11|160|3|7|161|17|12|162|14|11|162|12|11|164|1|3|164|17|12|164|17|12|166|2|1|168|15|11|168|17|12|168|1|5|168|17|12|170|17|12|172|1|8|172|2|3|173|18|12|174|1|9|176|3|1|177|3|13|178|1|9|180|4|5|180|4|3|183|1|7|184|8|1|184|8|13|185|1|7|188|6|13|188|4|1|191|1|6|192|1|8|192|3|13|193|2|1|194|1|4|196|1|10|196|4|1|196|28|7|199|1|3|200|1|11|200|29|7|201|31|7|203|1|11|204|1|3|204|1|7|207|1|7|208|1|3|208|1|11|208|1|7|209|1|7|210|1|11|212|1|3|212|28|7|214|30|7|216|1|11|216|1|3|216|31|7|218|1|10|220|1|4|220|1|7|222|1|7|223|1|7|224|2|1|224|2|13|224|1|7|225|1|10|227|1|4|227|28|7|229|29|7|231|1|3|232|1|11|232|31|7|233|1|10|235|1|5|235|1|7|237|1|7|238|1|7|239|3|1|240|4|13|240|1|7|240|1|9|242|1|5|242|1|11|245|1|3|245|28|7|245|30|7|247|1|2|249|1|11|249|31|7|249|2|7|252|1|11|253|1|3|253|3|7|255|1|11|257|1|3|257|4|7|260|1|11|261|1|3|261|2|7|262|3|7|265|1|3|268|1|3|269|1|11|269|1|10|269|3|1|275|7|13|276|9|4|276|7|5|278|1|10|278|1|10|280|1|3|281|1|10|282|1|3|283|1|10|284|2|7|284|1|3|285|1|10|286|2|7|286|1|3|287|1|10|288|1|3|289|2|7|290|3|7|294|1|3|295|1|10|295|1|9|299|1|4|299|1|6|301|3|13|301|3|1|301|1|9|303|1|3|303|1|2|306|1|11|306|1|2|309|1|11|309|1|3|312|1|10|312|1|5|315|1|8|315|25|1|315|1|6|317|26|1|317|4|12|318|1|4|319|27|1|319|1|7|319|1|2|322|1|9|322|1|2|325|4|6|325|1|11|325|2|7|327|1|10|328|1|3|328|19|1|330|1|5|331|1|9|331|20|1|332|1|7|333|20|1|334|3|13|334|1|5|335|1|9|335|21|1|336|1|3|338|1|11|338|1|11|342|3|7|342|1|2|342|4|7|344|1|11|347|1|2|347|2|7|347|3|7|349|4|7|351|1|11|353|1|2|354|1|3|354|1|11|354|2|7|355|5|3|362|5|7|362|9|12|363|1|2|364|2|8|365|1|2|366|1|11|367|1|2|368|1|11|370|1|2|370|2|7|371|4|7|374|2|7|377|1|11|378|1|2|378|4|7|379|1|11|382|1|2|382|4|7|385|1|11|386|1|2|386|2|7|388|4|7|392|1|2|393|1|2|394|1|11|394|1|10|394|7|13|403|3|6|403|9|3|404|1|11|406|28|7|406|1|2|407|29|7|408|1|11|408|1|11|410|1|2|410|30|7|410|1|11|412|31|7|412|1|2|413|3|6|416|1|2|418|1|11|418|1|11|422|1|2|422|3|8|422|4|7|424|1|9|427|1|4|427|2|13|427|1|7|430|8|1|434|3|13|434|1|7|435|3|1|437|2|13|438";
this.map_9 = "23200|600|508|90|3|1|3|16|12|4|17|12|6|17|12|8|17|12|10|17|12|12|17|12|14|18|12|16|8|1|16|3|2|18|11|12|19|14|12|21|3|1|23|1|6|23|13|12|23|12|12|25|12|12|27|1|6|28|6|2|29|13|12|29|2|3|32|1|6|33|15|12|33|2|1|36|1|7|38|1|5|38|8|13|39|4|1|41|2|13|42|1|3|43|1|9|43|22|12|45|23|12|47|1|3|48|1|10|48|23|12|49|28|7|49|30|7|51|23|12|51|29|7|53|23|12|53|1|10|53|1|3|53|29|7|55|23|12|55|29|7|57|23|12|57|1|3|58|1|10|58|30|7|59|24|12|59|30|7|61|29|7|63|1|11|63|1|10|63|1|3|64|1|2|64|29|7|65|29|7|67|29|7|69|31|7|71|2|11|72|4|3|72|2|7|73|1|3|75|1|10|75|1|10|77|1|3|77|3|7|77|1|10|79|3|7|79|1|3|79|1|10|81|1|3|81|4|7|83|3|13|84|1|9|85|1|4|85|2|1|85|16|12|86|3|1|88|17|12|88|1|7|89|1|5|89|17|12|90|17|12|92|1|6|93|17|12|94|4|11|95|8|1|96|17|12|96|1|5|97|11|11|98|17|12|98|4|1|99|17|12|100|12|11|100|1|3|101|13|11|102|17|12|102|14|11|104|17|12|104|1|2|105|12|11|106|17|12|106|13|11|108|17|12|108|1|3|109|17|12|110|15|11|112|4|1|112|17|12|112|1|5|113|17|12|114|3|2|114|17|12|116|1|8|117|18|12|118|7|4|118|3|5|120|6|2|121|1|11|121|4|8|123|1|10|126|7|7|126|2|1|127|3|13|129|1|8|130|3|5|130|2|12|132|1|5|134|4|1|135|2|9|136|1|2|138|7|11|139|1|3|142|4|13|142|6|10|143|16|12|145|25|1|145|1|6|146|2|10|146|26|1|147|17|12|147|26|1|149|17|12|149|1|9|150|17|12|151|26|1|151|1|3|151|1|2|152|28|4|152|26|1|153|1|3|153|17|12|153|1|10|154|1|2|154|29|4|154|26|1|155|4|7|155|1|3|155|17|12|155|30|4|156|1|2|156|26|1|157|1|3|157|17|12|157|29|4|158|3|6|158|1|9|159|1|2|159|26|1|159|17|12|159|1|3|159|29|4|160|26|1|161|17|12|161|31|4|162|1|7|163|17|12|163|26|1|163|4|3|164|27|1|165|18|12|165|2|10|166|1|4|167|11|13|169|1|3|171|12|13|171|6|9|172|13|13|173|2|1|174|12|13|175|1|4|175|19|1|176|2|8|176|20|1|178|1|6|179|15|13|179|20|1|180|2|3|181|20|1|182|1|9|182|20|1|184|11|5|185|20|1|186|1|11|186|13|5|187|20|1|188|14|5|189|4|8|190|1|11|190|20|1|190|12|5|191|20|1|192|13|5|193|20|1|194|1|11|194|12|5|195|2|7|196|20|1|196|1|9|198|1|11|198|20|1|198|15|5|199|20|1|200|1|6|202|20|1|202|4|3|202|1|11|203|21|1|204|1|3|206|1|11|208|1|3|209|28|7|209|30|7|211|1|3|212|30|7|213|1|11|214|1|3|215|30|7|215|30|7|217|1|3|218|30|7|219|1|11|220|1|3|221|29|7|221|29|7|223|1|11|224|1|3|224|29|7|225|30|7|227|30|7|229|1|10|230|1|2|230|1|3|230|1|11|230|30|7|231|30|7|233|31|7|235|3|6|237|7|5|240|4|11|240|4|8|240|28|7|242|1|11|243|1|3|243|30|7|244|30|7|246|1|3|246|1|11|246|30|7|248|1|3|249|1|11|249|30|7|250|30|7|252|1|3|252|1|11|252|29|7|254|1|10|255|1|4|255|30|7|256|4|1|256|30|7|258|1|9|258|1|5|258|29|7|260|1|5|261|1|9|261|22|12|261|29|7|262|2|2|262|23|12|263|3|2|264|1|9|264|29|7|264|1|5|264|23|12|265|31|7|266|1|9|267|23|12|267|1|5|267|23|12|269|1|7|270|23|12|271|8|2|271|23|12|273|2|3|273|1|7|274|11|2|275|23|12|275|23|12|277|13|2|277|1|7|278|12|2|279|4|4|279|23|12|279|24|12|281|14|2|281|1|6|282|3|13|284|15|2|285|5|11|286|1|4|286|2|1|289|4|9|290|1|5|290|1|7|294|6|2|294|2|11|294|4|4|295|8|13|295|1|9|298|4|13|298|7|5|299|4|4|302|1|11|302|1|8|302|2|1|304|1|10|306|2|2|306|1|6|306|1|11|310|4|1|310|1|4|310|28|8|313|1|3|314|29|8|315|1|10|315|29|8|317|1|2|318|29|8|319|1|11|319|30|8|321|1|3|322|29|8|323|1|10|323|29|8|325|1|5|326|29|8|327|2|1|327|1|11|327|29|8|329|1|6|330|30|8|331|1|10|331|4|3|331|30|8|333|1|5|334|3|1|334|30|8|335|1|11|336|30|8|337|1|3|338|29|8|339|1|10|340|30|8|341|1|2|342|30|8|343|1|11|344|31|8|345|1|3|346|1|10|348|1|5|350|1|9|352|1|7|352|6|2|353|2|13|355|1|8|355|2|4|355|19|1|356|4|3|357|20|1|358|6|13|360|1|7|360|20|1|360|20|1|362|20|1|364|1|6|365|20|1|366|20|1|368|2|10|368|20|1|370|5|13|370|1|6|370|20|1|372|20|1|374|1|6|375|5|12|376|20|1|376|20|1|378|3|11|380|1|7|380|1|5|380|21|1|380|2|1|382|1|9|384|1|3|384|4|13|385|1|11|389|1|2|389|11|8|392|1|2|393|1|11|393|12|8|394|14|8|396|1|2|397|1|11|397|13|8|398|12|8|400|1|11|401|1|2|401|1|11|402|1|2|402|14|8|402|15|8|406|4|6|409|9|12|410|9|3|410|7|5|412|3|8|412|6|13|412|1|2|415|2|7|415|1|2|417|1|11|417|1|2|419|4|7|419|1|2|421|1|11|421|3|7|422|1|9|425|1|4|425|1|7|428|1|2|428|1|11|428|1|2|432|1|7|432|28|9|432|28|4|432|1|11|432|29|4|434|30|9|434|29|4|436|30|9|436|1|7|437|1|11|437|1|2|437|29|4|438|30|9|438|29|4|440|29|9|440|1|11|441|1|2|441|1|7|441|30|4|442|29|9|442|1|6|444|29|9|444|29|4|444|1|2|444|1|11|444|1|7|444|1|2|445|1|11|445|29|4|446|30|9|446|29|4|448|30|9|448|31|4|450|31|9|450|9|3|455|9|12|455|3|7|455|3|9|455|3|5|455|1|7|458|1|2|458|1|11|458|1|7|459|1|7|460|1|7|461|1|2|461|1|11|461|1|7|462|1|7|463|1|11|464|1|2|464";
this.map_10 = "20450|600|477|85|8|1|9|8|13|11|2|2|13|4|13|15|2|1|18|2|13|20|3|12|22|1|7|23|16|12|24|8|1|25|17|12|26|17|12|28|6|2|28|1|7|28|2|4|29|17|12|30|19|1|30|20|1|32|17|12|32|1|7|33|20|1|34|4|4|34|17|12|34|4|11|35|3|3|36|20|1|36|17|12|36|1|6|37|17|12|38|20|1|38|11|11|39|20|1|40|17|12|40|13|11|41|20|1|42|1|5|42|17|12|42|12|11|43|20|1|44|17|12|44|13|11|45|17|12|46|20|1|46|1|5|47|14|11|47|20|1|48|17|12|48|13|11|49|17|12|50|20|1|50|12|11|51|17|12|52|1|5|52|20|1|52|13|11|53|20|1|54|17|12|54|14|11|55|17|12|56|1|5|56|20|1|56|20|1|58|17|12|58|15|11|59|1|6|60|18|12|60|20|1|60|20|1|62|2|13|62|21|1|64|1|7|65|6|2|69|8|13|69|1|7|70|22|12|71|23|12|73|3|4|73|1|7|75|23|12|75|23|12|77|23|12|79|1|7|80|4|3|80|23|12|81|23|12|83|2|2|84|1|6|84|23|12|85|4|1|87|24|12|87|1|8|87|1|4|88|1|11|91|2|8|92|1|2|93|2|6|95|11|10|96|1|12|96|1|11|97|1|12|98|12|10|98|1|3|99|1|11|99|14|10|100|1|12|100|1|11|101|14|10|102|1|12|102|1|11|103|3|1|103|12|10|104|1|5|104|1|12|104|1|11|105|5|2|105|13|10|106|1|12|106|13|10|108|4|1|108|1|11|109|1|12|109|12|10|110|1|4|110|15|10|114|1|2|115|4|6|116|2|12|116|2|9|117|1|11|119|1|3|120|1|11|121|3|8|122|1|11|123|2|1|124|1|5|125|1|11|125|3|2|127|1|11|129|1|6|129|1|3|132|1|7|134|1|11|134|1|1|136|1|2|138|16|12|138|1|9|139|28|3|139|17|12|140|1|1|140|30|3|141|1|2|142|17|12|142|30|3|143|17|12|144|1|9|144|1|1|144|30|3|145|1|2|146|17|12|146|29|3|147|17|12|148|1|1|148|1|9|149|29|3|149|1|2|150|17|12|150|30|3|151|3|6|152|17|12|152|1|1|152|30|3|153|1|2|154|1|9|154|17|12|154|29|3|155|17|12|156|30|3|157|1|1|157|1|2|157|17|12|158|31|3|159|1|9|159|18|12|160|1|11|163|3|2|163|1|7|163|1|5|167|1|11|168|2|1|168|1|3|171|4|8|171|1|11|172|28|6|173|30|6|175|1|11|176|1|2|176|30|6|177|30|6|179|1|2|180|1|11|180|30|6|181|29|6|183|1|2|184|1|11|184|30|6|185|30|6|187|1|2|188|1|10|188|31|6|189|22|12|190|3|5|191|1|2|192|1|8|192|23|12|192|23|12|194|23|12|196|3|11|196|1|2|196|1|5|196|23|12|198|11|11|199|23|12|200|1|2|200|2|7|200|12|11|201|23|12|202|14|11|203|23|12|204|1|3|205|12|11|205|25|1|205|23|12|206|26|1|207|13|11|207|23|12|208|12|11|209|26|1|209|1|3|210|23|12|210|14|11|211|26|1|211|23|12|212|12|11|213|4|7|213|26|1|213|23|12|214|1|3|215|26|1|215|14|11|215|23|12|216|26|1|217|4|7|217|13|11|217|23|12|218|1|3|219|12|11|219|26|1|219|1|3|220|23|12|220|13|11|221|27|1|221|23|12|222|13|11|223|23|12|224|14|11|225|23|12|226|2|7|226|4|1|227|4|7|228|23|12|228|9|4|229|15|11|229|23|12|230|7|8|231|2|1|231|24|12|232|1|3|233|4|11|234|2|7|236|2|13|236|1|3|237|2|10|238|1|3|241|19|1|243|8|13|243|20|1|245|1|4|246|4|8|246|6|13|247|20|1|247|20|1|249|3|10|250|1|6|250|20|1|251|1|3|252|20|1|253|1|9|254|4|13|255|20|1|255|1|3|255|28|6|255|29|6|257|20|1|257|1|11|258|30|6|259|1|4|259|20|1|259|30|6|261|20|1|261|1|11|262|20|1|263|29|6|263|1|3|263|29|6|265|20|1|265|1|11|266|29|6|267|1|4|267|20|1|267|3|8|267|31|6|269|20|1|269|1|11|270|1|3|271|20|1|271|1|11|271|20|1|273|1|4|274|20|1|275|1|4|277|21|1|277|1|3|277|3|7|277|9|12|279|3|1|280|7|8|280|1|11|282|1|4|282|1|4|283|28|8|283|1|4|284|30|8|285|1|4|285|1|4|286|1|11|286|1|4|287|30|8|287|31|8|289|8|1|290|1|11|290|4|1|292|4|7|294|1|10|294|3|13|297|1|8|298|16|12|301|1|11|302|1|10|302|1|5|302|8|1|302|17|12|303|17|12|305|4|7|306|1|2|306|17|12|307|17|12|309|1|2|310|2|11|310|11|8|311|17|12|311|14|8|313|17|12|313|1|11|313|1|2|314|13|8|315|17|12|315|1|2|315|1|10|316|12|8|317|17|12|317|14|8|319|17|12|319|1|11|319|13|8|321|17|12|321|1|10|321|9|3|322|14|8|323|1|11|323|17|12|323|12|8|325|17|12|325|1|2|326|1|10|326|1|11|326|17|12|327|15|8|329|18|12|329|1|2|330|7|11|332|1|2|334|3|13|334|1|2|335|28|7|336|1|10|336|30|7|338|2|13|339|30|7|340|29|7|342|9|3|343|1|10|343|29|7|344|8|13|345|29|7|346|1|2|348|29|7|348|1|10|349|29|7|350|1|2|352|30|7|352|2|13|352|30|7|354|4|6|354|31|7|356|4|13|356|1|10|356|1|3|356|1|5|360|4|1|360|8|13|362|1|8|364|2|13|365|1|11|368|8|1|368|4|6|371|1|11|372|1|11|373|4|7|373|1|2|374|1|3|374|2|7|375|3|7|379|9|12|380|3|3|381|2|8|381|1|11|384|1|3|384|11|8|385|1|2|386|14|8|387|1|3|387|1|11|388|1|2|388|12|8|389|1|3|389|1|2|390|1|3|391|13|8|391|1|11|392|1|2|392|12|8|393|1|2|395|1|3|395|13|8|395|1|10|395|1|11|395|15|8|399|7|13|403|3|3|403|2|6|404|1|11|405|1|2|405|1|11|407|1|2|407|1|11|409|1|2|409";
this.map_11 = "22800|600|464|90|8|1|12|8|13|20|6|2|21|1|6|23|4|1|24|6|13|25|4|3|28|1|6|28|1|6|32|8|13|34|1|5|35|3|11|35|1|7|35|8|1|36|3|1|38|1|9|39|1|3|39|4|13|41|3|7|43|1|2|44|1|11|44|11|8|47|1|11|48|1|2|48|12|8|49|14|8|51|14|8|53|1|2|54|1|11|54|1|11|55|13|8|55|1|2|55|12|8|57|15|8|61|3|8|63|9|3|64|9|12|64|6|6|66|7|13|66|2|1|66|1|11|69|1|2|69|4|8|70|5|8|72|1|2|73|1|11|73|3|7|76|1|3|77|1|10|77|1|8|81|1|5|81|1|7|85|8|1|86|1|5|89|3|1|89|1|9|89|1|12|93|4|7|93|1|2|93|5|8|95|1|11|97|1|3|97|25|1|100|1|6|101|1|9|101|26|1|102|26|1|104|1|8|105|3|4|105|26|1|106|8|13|106|2|3|107|1|6|108|1|10|108|26|1|108|26|1|110|1|11|112|27|1|112|1|4|112|3|8|113|1|2|116|1|11|116|5|8|116|2|7|118|1|4|120|1|9|120|16|12|121|19|1|122|17|12|123|20|1|124|1|6|124|17|12|125|20|1|126|17|12|127|21|1|128|1|8|128|1|4|128|18|12|129|1|11|132|1|2|132|2|7|134|1|11|136|1|2|136|3|7|137|4|7|139|1|2|140|1|11|140|1|11|141|1|2|141|4|7|145|6|8|148|9|12|150|2|5|150|9|3|150|1|11|154|1|2|154|2|8|154|4|6|156|1|2|158|1|11|158|2|7|160|1|11|162|1|2|162|3|7|166|1|3|166|1|10|166|1|9|170|1|4|170|1|9|174|1|4|174|1|9|178|1|4|178|1|10|183|1|7|183|1|3|183|1|11|188|1|2|188|1|6|188|28|9|188|28|4|188|1|7|190|29|4|190|30|9|190|1|11|192|1|2|192|29|4|192|30|9|192|1|6|192|1|7|194|30|4|194|30|9|194|1|6|196|1|2|196|29|9|196|1|11|196|30|4|196|29|9|198|29|4|198|1|7|198|1|2|200|29|9|200|29|4|200|1|6|200|1|11|200|1|11|201|1|2|201|1|7|202|30|4|202|29|9|202|1|6|204|1|7|204|30|9|204|30|4|204|29|9|206|30|4|206|30|9|208|29|4|208|30|9|210|30|4|210|9|3|211|2|7|211|9|12|211|30|9|212|29|4|212|1|11|214|29|9|214|1|7|214|29|4|214|1|6|215|1|2|215|1|7|216|29|4|216|29|9|216|1|6|217|29|4|218|30|9|218|1|7|218|1|6|219|1|11|219|1|2|219|1|7|220|30|4|220|30|9|220|1|6|222|30|9|222|29|4|222|1|7|223|1|11|223|1|2|223|30|9|224|29|4|224|31|9|226|31|4|226|1|7|227|1|2|227|1|6|227|1|11|227|1|11|232|1|2|232|3|7|233|1|6|236|1|2|236|1|11|236|1|6|240|1|10|241|1|3|241|2|13|242|2|1|243|1|6|244|16|12|244|17|12|246|2|11|246|6|3|247|1|6|248|17|12|248|11|11|249|4|2|250|17|12|250|14|11|251|17|12|252|1|5|252|12|11|253|4|1|254|17|12|254|12|11|255|1|3|255|17|12|256|14|11|257|17|12|258|1|3|259|13|11|259|17|12|260|13|11|261|17|12|262|3|7|262|14|11|263|1|3|263|17|12|264|13|11|265|17|12|266|1|4|267|12|11|267|17|12|268|14|11|269|17|12|270|1|5|270|13|11|271|17|12|272|8|1|272|14|11|273|1|5|274|17|12|274|17|12|276|3|1|276|15|11|277|1|5|278|17|12|278|4|11|279|17|12|280|1|6|281|3|10|282|17|12|282|1|7|284|17|12|284|8|1|284|17|12|286|2|1|287|1|7|288|17|12|288|5|3|289|17|12|290|2|11|290|1|7|292|4|1|292|17|12|292|17|12|294|17|12|296|4|3|296|1|8|296|17|12|298|18|12|300|1|9|300|7|5|300|1|7|303|1|11|304|5|2|305|1|5|307|4|1|308|28|8|308|1|11|309|29|8|310|1|2|311|29|8|312|1|4|314|29|8|314|1|11|314|30|8|316|1|2|317|30|8|318|1|11|319|1|4|320|30|8|320|30|8|322|1|2|323|29|8|324|1|11|324|1|4|326|29|8|326|31|8|328|1|11|329|1|4|330|11|9|333|1|11|334|1|4|334|13|9|335|14|9|337|1|3|338|1|11|339|14|9|339|12|9|341|1|2|342|14|9|343|1|11|344|12|9|345|1|2|346|15|9|349|1|11|349|1|2|350|5|8|351|3|9|353|1|3|354|1|11|354|25|1|356|2|8|357|26|1|358|1|5|358|1|11|359|26|1|360|1|8|362|26|1|362|26|1|364|3|3|364|1|11|366|26|1|366|27|1|368|1|3|370|1|11|371|11|8|372|1|2|373|14|8|374|1|11|376|1|3|376|14|8|376|12|8|378|13|8|380|1|2|380|1|11|381|14|8|382|1|3|383|1|11|384|12|8|384|1|2|385|1|3|385|1|11|385|13|8|386|15|8|390|6|3|392|9|12|392|7|13|394|1|3|395|4|7|396|1|3|397|1|11|397|1|3|399|2|8|400|1|3|401|1|11|401|1|3|404|2|7|404|1|11|405|2|1|406|1|5|407|1|9|407|1|2|408|1|7|409|1|11|409|1|7|412|28|4|412|28|9|412|1|2|412|1|11|414|29|9|414|1|7|414|30|4|414|30|4|416|29|9|416|1|2|417|1|7|417|30|4|418|29|9|418|1|11|419|30|9|420|30|4|420|1|7|420|1|2|422|30|9|422|29|4|422|1|7|423|29|9|424|30|4|424|1|11|424|1|7|426|29|9|426|29|4|426|1|2|427|29|4|428|30|9|428|1|7|429|1|11|429|29|4|430|30|9|430|31|9|432|1|2|432|31|4|432|1|11|434|1|7|434|1|6|434|1|2|434|1|3|434|1|10|434|7|5|441|3|7|441|3|11|441|1|7|444|1|11|444|1|2|444|1|7|447|1|11|450|1|7|450|1|2|450|1|7|453|3|1|454|2|13|456";
this.map_12 = "21850|600|530|85|3|13|2|22|12|4|23|12|6|24|12|7|19|1|9|20|1|11|11|13|11|20|1|13|12|13|13|20|1|15|13|13|15|21|1|17|15|13|19|3|13|21|1|6|23|8|1|24|4|13|24|1|6|27|2|1|28|3|1|31|1|6|31|8|13|31|4|11|35|1|7|35|22|12|36|3|4|37|23|12|38|1|8|39|2|5|40|23|12|40|3|1|41|23|12|42|1|8|43|23|12|44|6|5|44|4|4|46|23|12|46|1|8|47|23|12|48|6|2|48|23|12|50|1|7|51|3|1|51|23|12|52|23|12|54|1|6|55|23|12|56|8|1|57|23|12|58|1|6|59|3|10|59|23|12|60|19|1|61|4|3|62|23|12|62|20|1|63|1|6|63|24|12|64|2|3|65|20|1|65|1|7|67|2|13|67|20|1|67|2|4|67|20|1|69|1|9|71|20|1|71|11|5|71|12|5|73|20|1|73|1|11|75|13|5|75|20|1|75|14|5|77|20|1|77|4|8|78|1|11|79|12|5|79|20|1|79|13|5|81|20|1|81|2|7|82|20|1|83|14|5|83|1|10|83|20|1|85|15|5|87|1|8|87|20|1|87|20|1|89|2|13|89|21|1|91|1|5|91|4|13|92|2|9|93|4|11|94|1|2|95|7|11|97|1|3|99|6|13|101|2|1|103|1|5|103|2|9|103|3|12|107|1|8|107|5|5|109|8|1|110|1|11|111|3|7|112|4|3|112|7|6|115|1|10|115|16|12|117|4|1|117|1|8|119|17|12|119|2|4|119|19|1|120|18|12|121|20|1|122|1|6|122|11|12|124|20|1|124|1|6|126|12|12|126|20|1|126|12|12|128|20|1|128|1|6|130|14|12|130|20|1|130|13|12|132|20|1|132|1|6|134|14|12|134|21|1|134|4|3|135|15|12|138|1|6|138|2|12|140|8|1|140|1|4|141|1|8|141|4|13|142|1|2|144|1|10|144|1|6|145|28|9|148|28|4|148|1|11|148|1|2|148|30|9|150|29|4|150|1|7|150|1|2|152|30|9|152|1|11|152|1|6|152|29|4|152|1|7|154|29|4|154|29|9|154|1|11|156|1|6|156|29|4|156|1|2|156|30|9|156|1|2|157|1|11|157|1|7|158|30|4|158|30|9|158|1|6|160|29|9|160|30|4|160|1|7|162|29|4|162|29|9|162|1|6|164|29|9|164|30|4|164|9|12|165|9|3|165|1|7|166|30|4|166|29|9|166|1|6|166|29|9|168|30|4|168|29|9|170|29|4|170|1|2|171|1|11|171|30|9|172|29|4|172|4|7|172|1|7|173|1|6|174|29|4|174|30|9|174|1|7|175|1|11|175|1|2|175|1|6|176|29|4|176|30|9|176|1|7|177|29|9|178|30|4|178|1|2|178|1|6|178|1|11|178|1|7|179|30|4|180|1|2|180|30|9|180|1|11|180|1|6|181|1|11|181|1|2|181|1|7|181|30|9|182|30|4|182|30|9|184|29|4|184|30|9|186|29|4|186|31|9|188|3|7|188|9|3|188|9|12|188|31|4|188|1|7|191|1|2|192|1|11|194|1|2|195|1|6|196|1|2|198|2|9|199|1|11|199|1|4|201|1|2|201|2|8|202|1|3|206|2|9|206|1|11|207|2|9|210|1|3|210|2|9|214|1|4|214|1|11|215|3|1|215|28|8|217|4|2|217|1|5|218|30|8|219|11|2|221|30|8|221|12|2|223|1|11|223|1|5|223|30|8|223|14|2|225|29|8|225|14|2|227|29|8|227|1|5|227|1|11|227|12|2|229|30|8|229|1|5|231|1|11|231|30|8|231|12|2|231|1|11|232|1|5|232|30|8|233|15|2|235|31|8|235|3|2|237|2|1|239|9|6|240|9|12|240|5|10|242|5|3|242|3|5|242|3|13|242|2|9|244|1|11|246|1|5|246|8|1|249|1|6|251|3|1|251|1|10|251|3|2|254|16|12|254|1|8|255|17|12|256|6|3|258|17|12|258|1|8|259|17|12|260|4|5|260|17|12|262|1|8|263|17|12|264|17|12|266|1|7|268|17|12|268|8|1|269|17|12|270|17|12|272|4|1|272|1|5|272|5|11|273|17|12|274|2|9|275|1|5|276|17|12|276|4|1|277|4|10|278|17|12|278|1|6|280|17|12|280|17|12|282|1|8|283|17|12|284|7|5|284|17|12|286|3|4|286|1|7|287|6|2|287|17|12|288|18|12|290|1|5|291|3|1|291|2|11|291|1|2|295|11|13|295|3|9|296|13|13|297|12|13|299|2|7|300|1|3|300|14|13|301|13|13|303|1|5|304|5|2|305|13|13|305|14|13|307|3|1|309|1|4|309|13|13|309|14|13|311|12|13|313|1|2|313|5|8|314|3|9|316|1|3|317|15|13|317|16|12|319|4|9|319|1|5|321|17|12|321|17|12|323|25|1|323|1|8|324|18|12|325|26|1|325|26|1|327|1|11|328|26|1|329|26|1|331|1|10|332|26|1|333|26|1|335|1|8|336|26|1|337|4|12|337|28|4|338|3|3|338|26|1|339|3|13|339|30|4|340|1|9|340|26|1|341|1|2|341|30|4|342|1|3|342|26|1|343|1|2|343|1|11|344|30|4|344|1|3|344|26|1|345|4|8|345|30|4|346|1|2|346|26|1|347|4|6|347|1|3|347|1|10|348|1|2|348|29|4|348|26|1|349|1|3|349|29|4|350|1|2|351|26|1|351|1|8|351|29|4|352|1|3|352|26|1|353|1|2|353|29|4|354|1|3|354|1|9|355|26|1|355|30|4|356|8|13|356|1|2|356|26|1|357|1|3|357|29|4|358|1|2|358|4|6|358|1|11|359|26|1|359|1|3|359|30|4|360|6|8|360|26|1|361|1|3|361|1|2|361|30|4|362|1|10|363|26|1|363|31|4|364|26|1|365|16|12|366|3|3|367|1|8|367|26|1|367|17|12|368|27|1|369|17|12|370|4|11|371|1|5|371|17|12|372|4|1|372|17|12|374|11|11|375|1|2|375|17|12|376|12|11|377|17|12|378|13|11|379|1|2|380|17|12|380|14|11|381|17|12|382|12|11|383|17|12|384|13|11|385|1|2|385|17|12|386|12|11|387|17|12|388|14|11|389|1|3|390|17|12|390|12|11|391|17|12|392|13|11|393|17|12|394|1|4|395|14|11|395|17|12|396|13|11|397|17|12|398|12|11|399|1|4|400|17|12|400|13|11|401|8|1|401|17|12|402|14|11|403|17|12|404|2|1|405|1|4|405|17|12|406|15|11|407|17|12|408|1|3|409|1|6|409|17|12|410|2|11|410|17|12|412|2|5|413|1|2|413|1|8|413|1|8|414|17|12|414|18|12|416|1|2|417|3|11|419|4|5|419|3|13|420|2|5|421|9|9|421|3|11|421|1|2|421|28|9|424|1|11|425|3|5|425|1|11|426|1|2|426|29|9|426|1|11|427|30|9|428|1|11|428|1|11|429|1|11|430|29|9|430|1|2|431|1|11|431|1|11|432|29|9|432|31|9|434|3|13|437";
this.map_13 = "22350|600|475|80|16|12|12|17|12|14|17|12|16|8|1|17|18|12|18|6|13|21|1|6|23|4|1|23|4|13|25|1|6|27|1|6|30|1|6|31|8|13|31|8|1|34|2|13|35|4|11|37|2|1|37|9|7|39|4|1|39|7|6|41|7|12|41|22|12|43|1|6|44|23|12|45|1|6|45|1|6|46|23|12|47|2|1|47|4|10|48|23|12|49|1|6|51|23|12|51|23|12|53|8|1|54|23|12|55|3|11|55|23|12|57|2|3|57|1|7|57|23|12|59|23|12|61|23|12|63|1|9|63|7|6|64|24|12|65|25|1|67|1|11|69|26|1|69|26|1|71|26|1|73|1|3|73|3|7|74|28|8|75|26|1|75|1|3|76|29|8|77|1|11|77|26|1|77|1|3|78|30|8|79|26|1|79|2|6|80|1|3|80|26|1|81|30|8|81|1|11|81|1|3|82|1|11|82|30|8|83|26|1|83|1|3|84|30|8|85|26|1|85|1|3|86|30|8|87|26|1|87|1|3|88|26|1|89|2|6|89|29|8|89|1|3|90|9|12|91|26|1|91|30|8|91|1|3|92|30|8|93|26|1|93|3|6|93|1|3|94|30|8|95|26|1|95|1|11|96|1|3|96|1|11|97|26|1|97|31|8|97|1|11|98|1|3|98|1|4|98|2|7|99|26|1|99|26|1|101|3|8|101|27|1|103|3|4|103|1|10|104|3|1|105|2|13|105|5|2|108|1|8|110|2|4|111|8|13|112|4|3|114|4|11|114|1|6|115|16|12|115|11|11|117|17|12|117|12|11|119|17|12|119|1|4|120|13|11|121|17|12|121|2|1|122|14|11|123|17|12|123|4|7|124|13|11|125|17|12|125|1|2|127|17|12|127|12|11|127|13|11|129|17|12|129|14|11|131|17|12|131|3|6|131|13|11|133|17|12|133|1|2|134|4|7|134|17|12|135|14|11|135|2|7|136|17|12|137|1|2|138|15|11|139|17|12|139|1|2|141|17|12|141|1|2|142|3|10|142|17|12|143|3|11|144|1|5|144|17|12|145|18|12|147|1|7|148|2|11|149|1|7|149|9|3|150|4|13|154|28|5|154|1|2|154|1|2|155|1|2|156|29|5|156|3|12|157|30|5|158|9|9|158|28|9|160|30|5|160|1|2|161|1|11|161|1|7|162|30|9|162|30|5|162|1|11|162|1|11|163|29|5|164|1|11|164|29|9|164|1|2|165|1|11|165|1|11|166|1|7|166|29|9|166|29|5|166|1|11|167|29|9|168|31|5|168|1|11|168|1|11|169|30|9|170|1|3|170|1|11|170|1|7|171|1|11|171|1|11|172|30|9|172|1|11|173|19|1|173|31|9|174|1|5|174|20|1|175|1|11|176|20|1|177|1|5|179|20|1|179|1|10|180|20|1|181|1|8|183|1|5|183|21|1|183|3|13|184|2|1|185|1|6|186|2|11|187|4|2|188|19|1|189|5|12|190|20|1|191|1|6|191|20|1|193|20|1|195|2|3|195|1|6|196|8|13|196|20|1|197|20|1|199|4|10|199|1|5|200|21|1|201|1|7|204|1|3|204|4|13|208|1|2|208|1|9|208|28|6|209|30|6|211|1|2|212|29|6|213|1|10|214|1|10|215|29|6|215|1|2|215|1|2|216|29|6|217|30|6|219|30|6|221|2|13|223|30|6|223|30|6|225|9|3|225|9|11|225|7|12|227|2|4|227|29|6|227|6|2|227|1|10|229|1|2|229|29|6|229|1|10|230|1|2|230|1|10|231|29|6|231|1|2|231|29|6|233|30|6|235|1|2|236|1|10|236|31|6|237|2|7|240|1|2|241|1|10|241|4|6|243|2|13|245|1|8|246|1|4|246|2|1|246|4|12|247|2|2|251|11|13|251|1|6|253|12|13|253|19|1|254|13|13|255|20|1|256|14|13|257|1|6|258|20|1|258|12|13|259|1|6|259|20|1|260|13|13|261|20|1|262|14|13|263|20|1|264|3|3|265|20|1|266|15|13|267|20|1|268|2|12|269|21|1|270|9|7|270|7|12|272|7|6|272|1|6|274|1|6|275|1|6|276|4|10|278|2|3|278|1|7|281|8|1|285|1|9|286|8|13|286|3|7|288|4|1|288|3|13|289|2|6|290|6|4|291|1|10|292|19|1|293|20|1|295|20|1|297|2|13|297|1|8|298|20|1|299|20|1|301|1|3|303|20|1|303|1|2|303|28|4|304|1|7|304|20|1|305|30|4|306|8|13|306|20|1|307|29|4|308|20|1|309|4|12|309|29|4|310|20|1|311|3|3|311|1|8|311|29|4|312|1|2|313|21|1|313|30|4|314|1|3|314|1|2|315|2|13|315|1|3|316|29|4|316|30|4|318|1|11|318|3|8|319|1|2|319|19|1|320|1|3|320|30|4|320|1|2|321|1|3|322|20|1|322|30|4|322|29|4|324|20|1|324|1|11|325|1|2|325|29|4|326|1|3|326|20|1|326|4|8|327|1|2|327|20|1|328|1|3|328|29|4|328|29|4|330|1|3|330|1|2|330|20|1|330|1|10|332|20|1|332|30|4|332|31|4|334|20|1|334|20|1|336|1|7|337|3|3|337|20|1|338|3|11|339|21|1|340|1|4|343|3|8|344|6|13|345|8|1|347|2|1|349|4|7|349|1|3|351|4|1|353|25|1|355|1|3|355|26|1|357|26|1|359|1|3|359|1|3|360|7|11|361|26|1|361|26|1|363|26|1|365|26|1|367|26|1|369|9|5|369|4|9|370|26|1|371|1|5|373|26|1|373|1|5|374|1|5|375|26|1|375|3|10|376|27|1|377|2|12|379|1|7|380|2|3|381|1|9|385|11|2|386|4|13|388|12|2|388|14|2|390|1|8|390|12|2|392|13|2|394|1|8|395|8|13|395|14|2|396|1|6|399|2|13|399|1|10|400|15|2|400|1|3|403|3|7|404|1|11|404|2|8|406|1|2|407|7|9|408|1|11|408|1|2|411|1|11|412|4|7|414|1|3|415|1|11|416|1|5|419|1|10|420|19|1|420|20|1|422|20|1|424|1|8|424|1|6|424|20|1|426|1|7|427|20|1|428|4|11|428|1|7|428|20|1|430|2|12|430|20|1|432|21|1|434|9|8|435|7|6|437|7|12|437|1|7|440|1|7|441|1|7|442|4|13|447";
this.map_14 = "22100|600|429|90|2|1|10|8|13|12|2|1|13|2|13|14|1|6|16|16|12|17|4|11|18|17|12|19|1|6|20|11|11|21|17|12|21|28|4|22|17|12|23|14|11|23|1|6|24|30|4|24|8|1|24|13|11|25|17|12|25|30|4|26|12|11|27|17|12|27|1|6|28|30|4|28|2|1|28|14|11|29|17|12|29|29|4|30|17|12|31|13|11|31|1|6|32|30|4|32|1|6|33|17|12|33|14|11|33|29|4|34|17|12|35|12|11|35|30|4|36|2|1|36|17|12|37|13|11|37|31|4|38|17|12|39|17|12|41|9|7|41|15|11|41|17|12|43|8|1|43|2|10|43|1|6|45|17|12|45|4|1|46|17|12|47|1|6|49|17|12|49|3|11|49|2|1|50|17|12|51|17|12|53|1|7|53|5|2|53|4|4|54|17|12|55|18|12|57|1|9|57|1|11|61|4|8|63|7|7|66|1|11|66|2|1|68|2|6|70|1|11|71|7|5|74|1|10|75|3|6|76|1|8|79|25|1|79|2|13|79|26|1|81|2|12|81|26|1|83|1|7|84|26|1|85|1|7|85|26|1|87|26|1|89|4|11|90|26|1|91|26|1|93|9|8|93|6|12|94|26|1|95|1|7|96|26|1|97|26|1|99|1|7|100|3|3|100|26|1|101|8|13|101|26|1|103|1|6|104|3|11|104|26|1|105|22|12|105|27|1|107|23|12|107|1|4|108|1|9|108|23|12|109|1|10|110|23|12|111|1|2|112|1|9|112|23|12|113|1|10|114|11|8|114|23|12|115|1|9|115|14|8|116|1|10|116|23|12|117|1|2|117|1|9|117|13|8|118|1|10|118|23|12|119|1|9|119|14|8|120|23|12|121|1|2|122|1|9|122|1|10|122|23|12|123|15|8|124|23|12|125|1|3|126|23|12|127|3|10|127|24|12|129|1|5|130|3|1|130|3|13|131|1|7|134|1|7|135|1|12|136|1|11|136|1|1|136|1|2|136|9|8|142|6|13|142|5|3|143|28|5|143|28|9|143|1|2|145|29|5|145|29|9|145|1|11|145|29|5|147|30|9|147|29|5|149|1|11|149|30|9|149|1|2|149|1|7|149|29|5|151|29|9|151|1|7|153|1|2|153|30|5|153|1|11|153|29|9|153|1|11|155|1|2|155|30|5|155|30|9|155|1|7|157|1|11|157|30|9|157|1|2|157|29|5|157|30|5|159|29|9|159|1|11|160|1|2|160|1|7|161|29|9|161|30|5|161|30|5|163|30|9|163|1|11|164|1|2|164|29|5|165|29|9|165|1|7|166|29|5|167|30|9|167|1|2|168|1|11|168|30|5|169|30|9|169|1|7|171|29|5|171|30|9|171|1|11|172|1|2|172|29|5|173|29|9|173|29|5|175|29|9|175|1|7|176|1|11|176|1|2|176|29|5|177|29|9|177|30|5|179|29|9|179|1|11|180|1|2|180|31|5|181|31|9|181|1|7|181|1|11|184|1|2|184|1|7|186|1|3|189|1|10|189|2|1|192|1|7|193|3|13|193|3|2|194|2|11|196|2|3|196|1|7|197|11|2|201|1|7|201|11|13|203|13|2|203|12|13|205|1|7|205|13|2|205|14|13|207|12|2|207|1|6|208|14|13|209|12|2|209|12|13|211|14|2|211|1|7|212|13|13|213|14|2|213|12|2|215|1|6|216|15|13|217|12|2|217|1|7|220|15|2|221|8|13|223|1|8|224|4|1|224|2|13|227|6|4|227|1|10|228|4|7|230|19|1|231|3|5|232|1|11|232|20|1|233|20|1|235|7|8|235|1|11|237|20|1|237|20|1|239|20|1|241|1|11|242|2|8|242|20|1|243|2|6|243|20|1|245|5|6|246|20|1|247|1|10|247|20|1|249|20|1|251|1|8|251|1|11|252|4|4|253|20|1|253|1|6|255|20|1|255|1|11|257|21|1|257|1|3|259|1|11|262|1|2|263|11|8|263|12|8|265|1|3|267|1|11|267|14|8|267|13|8|269|14|8|271|1|2|271|1|11|272|15|8|275|1|3|275|1|10|277|1|2|279|4|13|280|1|8|281|1|4|284|3|12|284|3|1|285|6|13|287|2|9|288|1|4|289|8|1|293|4|11|293|1|4|294|3|8|295|1|5|298|8|13|299|2|9|299|4|12|301|1|7|302|2|13|304|5|2|305|1|10|306|2|5|307|1|11|310|6|6|311|4|7|314|1|10|315|4|13|318|1|8|319|6|3|320|1|5|323|2|13|324|6|11|325|1|2|328|7|12|329|4|7|331|1|2|333|1|4|333|1|2|334|6|13|334|1|7|337|3|11|337|2|13|339|1|10|341|9|3|341|6|3|343|2|6|343|1|2|346|1|8|346|4|13|347|1|2|348|1|2|350|1|5|351|1|2|352|3|10|352|1|2|355|2|7|356|1|3|360|8|13|364|2|8|364|1|5|365|1|2|365|1|8|369|4|13|369|1|2|369|1|11|373|1|2|374|1|2|375|4|7|376|1|10|378|9|3|382|2|6|382|1|11|383|7|5|384|3|7|385|1|2|387|1|10|388|1|2|389|11|8|389|1|2|391|13|8|391|1|11|393|13|8|393|1|2|393|12|8|395|1|2|395|14|8|397|1|10|398|14|8|399|1|2|399|1|3|399|12|8|401|14|8|403|1|11|403|13|8|405|13|8|407|4|3|407|1|10|408|1|2|410|15|8|411|1|2|412|1|11|413|4|8|413|1|2|414|1|2|416|1|10|418|2|6|418|1|3|420|1|8|422|2|13|423|2|2|425|1|5|425|2|11|426|1|7|429|4|1|432|2|1|434|1|7|434|8|13|435|1|7|438|4|13|440|1|7|442|8|1|442";
this.map_15 = "21150|600|503|80|3|13|9|4|12|11|22|12|14|2|1|16|23|12|16|23|12|18|3|2|18|23|12|20|23|12|22|1|6|23|24|12|24|2|13|26|8|1|26|1|6|27|2|1|30|22|12|30|1|6|31|23|12|32|23|12|34|1|5|35|1|7|35|23|12|36|8|1|37|23|12|38|1|9|39|1|3|39|24|12|40|4|6|43|1|11|44|1|2|44|4|8|48|1|11|49|1|2|49|3|7|52|1|10|53|1|3|53|19|1|55|16|12|55|1|8|57|17|12|57|20|1|57|1|5|57|20|1|59|17|12|59|1|6|61|20|1|61|17|12|61|21|1|63|17|12|63|1|9|65|1|3|65|18|12|65|1|11|69|2|6|69|1|2|69|1|2|74|1|11|74|3|6|74|3|6|77|1|2|79|1|11|79|4|7|79|1|9|82|1|3|82|1|9|83|1|3|83|2|7|86|4|1|87|4|12|87|2|6|88|9|10|89|9|4|89|1|12|89|1|6|90|28|4|91|28|8|91|29|8|93|1|6|93|29|4|93|1|2|94|1|11|94|1|6|95|29|4|95|30|8|95|30|8|97|1|6|97|30|4|97|1|11|98|1|2|98|1|6|99|29|4|99|30|8|99|1|6|101|29|8|101|29|4|101|1|11|102|1|2|102|1|6|103|29|4|103|29|8|103|1|6|105|29|8|105|29|4|105|30|8|107|30|4|107|1|11|107|1|3|109|31|4|109|30|8|109|1|2|109|1|6|110|1|6|111|30|8|111|1|11|112|30|8|113|31|8|115|1|11|117|9|7|118|3|3|118|28|5|120|4|13|121|1|3|121|1|7|122|29|5|122|1|9|122|2|12|123|30|5|124|1|3|125|3|13|125|1|7|126|8|1|126|30|5|126|4|11|126|2|13|127|30|5|128|1|3|129|11|13|130|1|7|130|29|5|130|13|13|132|30|5|132|1|3|133|29|5|134|1|7|134|8|1|134|13|13|134|12|13|136|29|5|136|2|1|136|1|3|137|29|5|138|14|13|138|1|7|138|12|13|140|29|5|140|1|3|141|12|13|142|29|5|142|1|7|142|8|1|143|30|5|144|14|13|144|1|3|145|1|3|146|30|5|146|15|13|148|29|5|148|2|1|148|1|7|149|1|8|149|29|5|150|3|13|150|29|5|152|9|4|153|29|5|154|2|12|154|7|11|156|3|13|156|30|5|156|1|3|157|8|1|157|30|5|158|1|7|159|30|5|160|1|3|160|3|1|161|30|5|162|1|7|164|1|3|164|31|5|164|16|12|165|17|12|167|1|3|168|1|7|168|17|12|169|17|12|171|17|12|173|1|5|173|17|12|175|1|5|177|8|1|177|17|12|177|17|12|179|19|1|179|17|12|181|1|6|181|20|1|181|17|12|183|20|1|183|2|3|183|17|12|185|20|1|185|1|8|185|18|12|187|20|1|187|11|5|187|20|1|189|12|5|189|1|11|190|20|1|191|13|5|191|20|1|193|13|5|193|1|10|195|20|1|195|14|5|195|20|1|197|15|5|199|20|1|199|1|8|199|4|12|200|20|1|201|1|5|203|21|1|203|3|10|205|1|2|207|3|7|208|1|4|211|6|13|214|1|7|215|2|2|215|3|13|217|1|10|220|4|6|221|8|1|221|2|5|223|22|12|223|1|8|225|23|12|225|5|3|226|23|12|227|1|5|229|23|12|229|3|10|229|23|12|231|3|1|231|23|12|233|1|2|234|23|12|235|3|7|236|23|12|237|23|12|239|1|4|239|23|12|241|4|10|242|23|12|243|1|7|243|24|12|245|1|10|247|8|1|248|3|6|250|11|4|251|1|10|252|22|12|252|12|4|253|2|7|253|23|12|254|12|4|255|23|12|256|14|4|257|1|10|257|24|12|258|1|6|259|15|4|261|28|8|262|2|2|263|1|6|263|1|10|263|30|8|264|2|3|266|8|13|266|1|6|266|30|8|266|3|1|267|30|8|268|3|13|268|1|10|269|1|6|269|11|4|270|29|8|270|13|4|272|30|8|272|1|6|272|1|10|274|14|4|274|31|8|274|8|13|275|1|6|275|13|4|276|1|6|278|14|4|278|1|9|279|12|4|280|2|13|280|12|4|282|3|11|283|1|7|284|3|10|286|15|4|286|8|13|287|28|5|287|2|1|287|1|7|289|29|5|289|3|4|289|29|5|291|30|5|293|1|7|294|5|13|294|30|5|295|2|1|296|31|5|297|16|12|298|1|7|299|17|12|300|4|4|300|5|3|302|17|12|302|1|7|303|17|12|304|17|12|306|1|9|308|4|1|308|17|12|308|1|5|308|18|12|310|1|11|313|1|3|313|4|7|314|8|1|315|1|3|317|11|9|318|1|11|318|14|9|320|2|1|321|1|11|322|1|3|322|14|9|322|12|9|324|12|9|326|1|11|326|8|1|327|1|3|327|13|9|328|13|9|330|1|11|330|1|3|332|3|1|332|1|11|334|4|1|334|15|9|334|3|8|336|1|3|337|2|7|338|1|10|338|16|12|340|8|1|341|1|4|342|17|12|342|1|8|342|19|1|343|18|12|344|20|1|345|1|6|347|20|1|347|11|13|348|28|4|348|28|8|348|21|1|349|14|13|350|29|4|350|30|8|350|1|6|351|30|4|352|30|8|352|13|13|352|11|3|353|30|8|354|13|13|354|29|4|354|1|6|355|13|3|355|12|13|356|29|4|356|29|8|356|13|3|357|29|8|358|29|4|358|1|6|359|12|3|359|15|13|360|29|4|360|29|8|360|12|3|361|16|12|362|30|8|362|30|4|362|1|6|363|12|3|363|17|12|364|31|8|364|30|4|364|13|3|365|31|4|366|17|12|366|14|3|367|1|7|368|17|12|368|1|5|368|14|3|369|18|12|370|1|8|371|1|5|371|1|5|372|1|8|372|15|3|373|4|3|375|8|13|376|4|1|377|4|11|378|9|6|379|9|9|379|2|13|380|2|2|380|3|7|381|1|10|383|1|3|383|3|7|384|8|1|387|1|3|387|1|10|387|3|7|388|28|8|388|8|13|389|1|10|389|1|3|389|30|8|390|2|1|390|28|5|390|1|3|391|1|10|391|30|8|392|30|5|392|1|3|393|1|10|393|29|8|394|30|5|394|1|3|395|2|13|395|1|10|395|29|8|396|29|5|396|1|10|397|1|3|397|29|8|398|30|5|398|1|3|399|1|10|399|8|1|400|31|8|400|31|5|400|8|13|401|1|2|403|1|9|403|1|3|403|1|10|403|3|13|404|3|1|408|7|5|410|6|12|410|3|8|410|1|3|412|6|8|412|1|10|413|2|7|414|1|3|415|1|10|415|8|13|416|1|10|417|4|6|417|1|3|418|3|1|423";
this.map_16 = "21500|600|553|85|8|1|6|8|13|7|19|1|8|3|12|10|20|1|10|20|1|12|4|13|14|20|1|14|21|1|16|16|12|17|17|12|19|17|12|21|1|6|23|2|1|23|17|12|23|18|12|25|3|1|27|1|6|28|8|13|31|1|7|32|8|1|33|2|13|34|2|3|34|1|9|36|7|5|37|16|12|37|17|12|39|3|1|39|1|8|40|17|12|41|5|4|42|18|12|43|4|2|44|1|6|44|2|10|47|1|4|48|3|1|50|1|5|52|4|9|52|6|2|54|1|7|56|3|1|57|8|13|58|1|9|60|4|13|61|7|5|61|1|8|64|25|1|65|1|11|66|26|1|67|1|6|68|26|1|69|1|11|70|28|10|70|1|12|71|26|1|71|1|11|72|1|5|72|30|10|72|1|12|73|26|1|73|3|9|73|29|10|74|26|1|75|1|5|76|1|11|76|30|10|76|1|12|77|26|1|77|29|10|78|1|11|78|4|9|78|1|12|79|26|1|79|1|11|80|30|10|80|1|6|81|26|1|81|1|11|82|30|10|82|1|12|82|26|1|83|30|10|84|26|1|85|31|10|86|1|7|86|27|1|87|2|12|88|1|8|92|1|6|92|8|1|94|4|13|94|1|10|96|1|4|96|4|1|97|1|11|101|1|2|102|28|9|102|28|4|103|30|9|104|29|4|105|31|9|106|30|4|107|1|2|107|1|11|107|29|4|109|1|7|110|29|4|111|1|11|112|1|6|112|1|2|112|29|4|113|1|7|114|28|9|114|29|4|115|1|6|116|29|9|116|1|11|117|30|4|117|1|2|117|1|7|118|29|9|118|31|4|119|30|9|120|1|6|121|1|7|121|1|3|121|1|3|122|1|11|122|29|9|122|30|9|124|31|9|126|3|7|126|1|11|127|4|1|128|9|4|129|1|6|130|2|1|131|28|4|131|1|6|132|28|9|132|1|11|132|30|4|133|1|2|133|1|7|134|30|9|134|30|4|135|30|9|136|1|7|136|1|11|137|30|4|137|1|6|138|29|9|138|1|2|138|29|4|139|30|9|140|1|6|140|29|4|141|30|9|142|1|2|142|1|7|142|1|11|142|29|4|143|29|9|144|1|7|144|30|4|145|29|9|146|1|2|146|1|11|147|1|6|147|31|4|147|29|9|148|1|3|150|1|7|150|31|9|150|1|11|152|1|6|153|1|9|156|3|13|157|1|5|157|2|2|158|3|1|160|1|7|160|1|4|161|4|12|162|19|1|163|6|13|164|1|4|165|20|1|165|1|7|165|1|6|165|20|1|167|3|10|167|1|3|169|20|1|169|4|13|169|2|7|170|6|11|170|22|12|171|28|5|171|20|1|171|1|7|171|30|5|173|20|1|173|1|7|173|23|12|173|1|3|174|20|1|175|23|12|175|29|5|175|3|10|176|20|1|177|23|12|177|1|7|177|29|5|177|29|5|179|20|1|179|23|12|179|1|3|179|1|7|179|29|5|181|24|12|181|1|7|181|20|1|181|30|5|183|20|1|183|1|7|183|4|11|183|1|3|184|1|7|185|31|5|185|20|1|185|20|1|187|8|13|188|1|3|189|20|1|189|21|1|191|3|12|191|1|5|194|2|8|194|11|13|195|12|13|197|8|1|198|1|7|199|12|13|199|4|4|199|6|2|200|28|9|201|13|13|201|28|5|201|29|5|203|2|1|203|29|9|203|13|13|203|1|7|204|29|9|205|13|13|205|29|5|205|30|5|207|29|9|207|12|13|207|1|7|209|30|9|209|14|13|209|30|5|209|8|1|210|29|5|211|12|13|211|30|9|211|4|1|212|29|5|213|30|9|213|1|7|214|29|9|215|29|5|215|15|13|215|3|1|216|3|13|217|29|9|217|30|5|217|2|11|218|6|3|219|31|5|219|31|9|219|1|7|219|2|2|222|1|5|224|1|9|224|8|13|225|3|1|227|1|7|228|1|11|229|1|3|229|28|9|231|29|9|233|1|6|233|28|4|233|1|11|235|30|4|235|1|2|235|29|9|235|30|9|237|30|4|237|1|7|238|30|4|239|29|9|239|1|11|240|1|2|240|29|9|241|29|4|241|1|6|242|29|4|243|30|9|243|30|9|245|29|4|245|1|11|245|1|2|245|1|6|246|31|4|247|30|9|247|31|9|249|1|2|249|28|8|250|1|11|250|1|5|251|29|8|252|31|8|254|28|7|255|1|11|255|1|3|256|2|9|257|30|7|257|29|7|259|28|6|261|31|7|261|1|11|261|1|10|261|1|2|262|30|6|263|3|8|264|31|6|265|2|9|266|1|2|267|6|9|268|1|2|268|4|11|268|2|13|268|5|7|270|1|11|271|3|6|272|2|5|274|1|10|275|9|3|276|1|8|279|4|13|279|1|3|279|8|1|282|1|6|282|1|3|282|2|12|283|2|1|284|3|9|285|1|4|286|7|12|287|1|4|289|4|9|291|8|1|292|1|4|293|7|13|294|3|1|295|2|11|296|16|12|296|1|5|297|4|9|298|17|12|298|19|1|299|17|12|300|20|1|301|1|7|301|17|12|302|2|3|303|20|1|303|17|12|304|6|5|305|20|1|305|1|10|305|17|12|306|4|6|307|20|1|307|17|12|308|20|1|309|17|12|310|1|8|310|3|4|310|20|1|311|18|12|312|20|1|313|1|5|314|21|1|315|4|9|317|1|2|318|8|13|318|3|7|320|2|13|322|2|8|324|3|1|324|1|4|324|19|1|326|1|7|328|20|1|328|8|13|328|3|3|328|20|1|330|11|5|332|1|10|332|20|1|332|14|5|334|20|1|334|12|5|336|3|13|336|20|1|336|1|8|337|13|5|338|20|1|338|14|5|340|20|1|340|1|9|341|8|13|342|12|5|342|20|1|342|13|5|344|20|1|344|1|11|345|20|1|346|3|7|346|14|5|346|12|5|348|20|1|348|1|10|349|14|5|350|20|1|350|13|5|352|2|13|352|20|1|352|1|8|353|4|12|354|12|5|354|20|1|354|14|5|356|20|1|356|1|9|357|13|5|358|20|1|358|14|5|360|20|1|360|1|11|361|3|8|362|13|5|362|20|1|362|12|5|364|20|1|364|2|7|364|1|10|365|20|1|366|15|5|368|20|1|368|1|8|369|4|13|369|20|1|370|2|3|370|20|1|372|1|5|373|21|1|374|3|10|374|8|13|376|1|2|377|6|9|377|2|13|381|3|9|382|1|4|382|28|9|386|8|1|387|1|7|387|30|9|388|28|5|388|8|13|388|25|1|389|29|5|390|3|13|390|30|9|390|1|3|391|26|1|391|30|9|392|29|5|392|2|11|392|1|7|393|26|1|393|1|3|393|30|5|394|30|9|394|1|3|395|26|1|395|29|9|396|30|5|396|1|3|397|26|1|397|1|7|398|29|9|398|29|5|398|1|3|399|2|12|399|26|1|399|30|9|400|30|5|400|1|3|401|26|1|401|29|5|402|30|9|402|1|7|403|26|1|403|1|7|404|31|9|404|31|5|404|26|1|405|8|13|406|27|1|407|3|1|409|2|13|409|3|11|411|6|12|413|5|3|413|9|8|413|2|5|413|28|7|415|1|9|416|1|5|416|30|7|417|1|4|418|1|10|418|30|7|419|1|10|420|8|1|420|29|7|421|1|10|422|1|4|422|31|7|423|3|13|423|1|10|425|1|4|425|2|1|428|8|13|430|";
this.map_17 = "23350|600|486|80|3|1|5|8|13|6|3|13|9|6|13|11|4|12|14|8|1|15|4|13|17|4|1|19|19|1|21|11|13|21|14|13|23|20|1|23|1|6|24|20|1|25|12|13|25|20|1|27|13|13|27|20|1|29|1|6|29|14|13|29|20|1|31|12|13|31|20|1|33|14|13|33|1|6|34|20|1|35|12|13|35|20|1|37|14|13|37|20|1|39|1|6|39|13|13|39|20|1|41|14|13|41|20|1|43|1|7|44|1|5|44|20|1|45|15|13|45|21|1|47|2|12|47|1|9|49|1|3|49|3|13|49|28|7|53|1|11|54|1|2|54|29|7|55|29|7|57|30|7|59|1|3|59|1|11|59|29|7|61|30|7|63|1|5|64|1|10|64|30|7|65|3|2|65|30|7|67|3|1|67|4|13|68|29|7|69|1|9|69|1|4|69|2|13|70|30|7|71|29|7|73|1|10|74|1|2|74|29|7|75|29|7|77|30|7|79|1|3|79|1|11|79|3|9|79|30|7|81|2|1|83|30|7|83|1|5|84|1|10|84|4|13|84|31|7|85|3|2|85|4|8|88|4|1|88|1|4|89|1|11|89|3|9|90|4|7|93|1|10|94|1|2|94|6|8|95|4|13|95|3|7|98|1|3|99|1|11|99|28|7|100|30|7|102|1|10|103|1|10|104|31|7|104|1|5|104|1|5|105|1|9|107|1|2|107|4|13|108|1|11|111|9|7|113|4|3|114|6|1|114|28|6|115|1|11|115|30|6|117|1|8|117|1|4|117|30|6|119|1|9|119|1|3|119|30|6|121|1|2|122|1|10|122|29|6|123|8|13|123|1|10|125|29|6|125|1|2|125|29|6|127|1|3|129|29|6|129|1|10|129|29|6|131|29|6|133|1|3|133|1|10|133|30|6|135|1|10|137|1|3|137|30|6|137|31|6|139|1|2|141|1|10|141|4|6|141|2|7|144|1|3|145|1|11|145|1|9|149|1|5|149|3|13|150|4|12|152|1|7|153|8|1|153|4|1|155|6|3|157|2|11|158|8|13|159|1|6|160|6|2|161|3|10|161|4|1|163|2|3|164|2|4|166|1|7|167|1|11|172|2|10|173|1|12|173|1|11|174|1|6|175|1|12|175|2|9|176|1|2|180|4|4|181|1|1|181|1|2|182|2|5|183|1|1|183|1|7|183|3|12|187|2|10|188|1|6|190|1|2|190|1|1|190|3|2|194|2|4|194|6|13|194|1|7|196|4|12|196|3|4|198|28|3|200|4|13|200|1|9|201|29|3|202|1|2|202|2|6|202|30|3|204|1|1|205|5|8|206|30|3|206|1|11|206|1|2|207|29|3|208|30|3|210|1|1|210|1|10|211|6|7|211|1|2|212|29|3|212|4|7|214|2|13|214|31|3|214|1|1|215|1|8|216|1|2|217|4|5|217|16|12|217|17|12|219|2|11|220|17|12|221|1|5|221|1|2|221|17|12|223|11|11|224|17|12|225|1|2|225|13|11|226|17|12|227|4|6|227|14|11|228|17|12|229|1|4|230|17|12|231|15|11|232|3|1|232|17|12|233|25|1|234|2|11|234|1|7|235|17|12|235|26|1|236|2|3|237|18|12|237|26|1|238|1|10|239|26|1|240|11|5|241|26|1|242|13|5|243|1|11|243|26|1|244|12|5|245|26|1|246|14|5|247|2|7|247|26|1|248|1|10|248|12|5|249|26|1|250|13|5|251|4|13|252|26|1|252|1|8|253|14|5|253|26|1|254|3|12|254|12|5|255|26|1|256|13|5|257|4|13|257|26|1|258|1|9|258|14|5|259|26|1|260|26|1|262|1|11|263|15|5|263|27|1|264|3|7|265|2|1|266|1|10|268|6|6|269|19|1|270|4|13|270|4|4|272|20|1|272|1|8|273|20|1|274|11|5|276|8|13|276|20|1|276|12|5|278|1|9|278|20|1|278|13|5|280|20|1|280|14|5|282|20|1|282|1|11|283|13|5|284|20|1|284|12|5|286|20|1|286|3|7|286|1|10|288|20|1|288|15|5|290|20|1|290|1|8|291|4|3|292|20|1|292|2|13|293|20|1|294|1|5|295|21|1|296|2|9|297|1|2|299|3|7|301|3|13|301|1|3|304|3|13|305|1|5|308|2|1|308|6|11|308|1|8|313|4|5|314|8|13|314|1|11|318|8|1|318|1|7|320|4|1|323|3|9|325|1|11|325|1|5|325|1|3|329|1|11|330|6|9|331|1|2|334|1|11|335|5|8|336|1|2|339|4|8|339|1|11|340|3|6|342|1|9|344|1|3|344|1|9|345|1|3|345|1|11|348|9|5|352|9|9|352|1|11|354|28|8|354|28|4|354|1|6|355|29|8|356|30|4|356|1|6|357|1|2|358|29|8|358|30|4|358|1|11|358|1|6|359|29|4|360|29|8|360|1|6|361|30|4|362|30|8|362|1|11|362|1|2|362|1|6|363|30|8|364|29|4|364|1|6|365|29|4|366|1|11|366|1|2|366|30|8|366|1|6|367|31|8|368|29|4|368|31|4|370|1|11|371|1|10|371|1|2|371|1|1|371|1|7|371|1|6|371|7|9|378|2|2|379|6|13|379|1|11|384|1|7|384|1|2|384|1|3|389|1|10|389|1|7|389|3|13|391|3|1|392|1|8|393|1|6|393|6|3|394|4|12|395|6|13|398|1|7|399|4|3|400|8|1|401|16|12|401|17|12|403|1|6|404|3|3|404|17|12|405|4|11|405|17|12|407|1|4|408|4|1|408|11|11|408|17|12|409|14|11|410|17|12|411|1|2|412|13|11|412|17|12|413|3|6|413|12|11|414|17|12|415|14|11|416|2|7|416|1|3|416|17|12|417|4|1|419|17|12|419|15|11|420|1|5|420|17|12|421|2|2|421|6|10|422|17|12|423|1|4|424|3|8|425|17|12|425|17|12|427|11|11|427|1|2|428|17|12|429|3|6|429|13|11|429|14|11|431|2|7|431|17|12|431|1|4|433|17|12|433|15|11|435|17|12|435|1|6|437|17|12|437|1|1|438|2|11|438|1|2|438|17|12|439|18|12|441|1|9|441|4|6|443|3|2|444|1|11|445|1|2|446|2|8|447|1|2|449|8|5|450|1|10|450|1|2|452|4|6|452|4|5|454|4|13|454|1|2|455|1|8|455|2|5|456|4|12|456|1|2|458|28|5|459|1|9|459|30|5|461|1|2|462|29|5|463|1|11|463|29|5|465|1|11|467|1|2|467|31|5|467";
this.map_18 = "20900|600|483|90|8|13|9|3|13|11|4|13|15|8|1|17|2|13|17|2|1|21|1|7|24|25|1|25|26|1|27|26|1|29|1|7|29|8|13|30|26|1|31|26|1|33|1|6|35|4|13|35|26|1|35|26|1|37|16|12|37|26|1|39|4|11|39|17|12|39|1|4|40|4|8|40|17|12|41|27|1|41|11|11|42|17|12|43|14|11|44|17|12|45|1|2|45|13|11|46|2|7|46|17|12|47|12|11|48|17|12|49|14|11|50|1|3|50|17|12|51|12|11|52|17|12|53|13|11|54|17|12|55|1|5|55|2|1|56|17|12|57|15|11|58|17|12|59|1|4|60|17|12|61|6|11|62|18|12|63|1|2|65|6|13|65|5|9|67|1|3|70|4|8|70|22|12|71|4|11|71|23|12|73|11|11|75|23|12|75|1|5|75|4|1|76|23|12|77|14|11|77|13|11|79|23|12|79|1|4|80|23|12|81|12|11|81|13|11|83|23|12|83|1|2|85|14|11|85|23|12|85|12|11|87|2|6|87|23|12|87|23|12|89|15|11|91|1|3|91|23|12|91|23|12|93|24|12|95|1|5|95|3|2|96|4|11|98|1|7|99|5|4|101|4|1|103|1|7|104|3|11|106|1|7|108|4|4|108|6|13|109|4|13|111|1|6|113|1|8|113|8|1|115|3|1|118|1|4|118|1|10|118|4|7|121|1|11|123|1|2|123|11|8|125|14|8|127|1|11|129|1|2|129|12|8|129|12|8|131|13|8|133|1|3|134|12|8|135|1|10|135|14|8|137|14|8|139|1|2|139|1|11|140|12|8|141|13|8|143|1|3|144|13|8|145|1|10|145|15|8|149|1|2|149|1|11|150|28|4|150|28|9|150|4|6|151|29|9|152|29|4|152|29|4|154|30|9|154|2|7|154|1|2|155|1|11|155|30|4|156|30|9|156|2|6|156|16|13|157|29|4|158|29|9|158|17|13|159|4|8|159|1|2|160|29|4|160|29|9|160|1|11|161|17|13|161|31|4|162|30|9|162|17|13|163|1|2|164|30|9|164|17|13|165|30|9|166|17|13|167|1|11|167|29|9|168|1|2|168|1|6|168|28|4|169|1|7|169|17|13|169|30|9|170|30|4|171|17|13|171|1|6|171|30|9|172|1|11|172|1|7|172|29|4|173|1|2|173|17|13|173|29|9|174|1|6|174|29|4|175|17|13|175|29|9|176|30|4|177|1|7|177|1|6|177|1|11|177|17|13|177|29|9|178|1|2|178|30|4|179|17|13|179|30|9|180|29|4|181|17|13|181|1|11|182|30|9|182|29|4|183|2|7|183|17|13|183|1|2|183|29|9|184|17|13|185|29|4|185|31|9|186|29|4|187|17|13|187|1|11|187|1|2|188|17|13|189|30|4|189|1|7|190|1|6|191|30|4|191|17|13|191|1|7|192|1|11|192|28|9|193|30|4|193|1|2|193|17|13|193|1|6|193|1|7|194|17|13|195|29|4|195|29|9|195|29|9|197|17|13|197|29|4|197|1|7|197|1|11|197|1|6|198|1|2|198|30|9|199|1|7|199|17|13|199|30|4|199|1|6|200|29|4|201|1|7|201|17|13|201|30|9|201|1|11|202|29|4|203|17|13|203|30|9|203|1|2|203|1|7|204|1|6|204|30|9|205|17|13|205|29|4|205|29|9|207|17|13|207|30|4|207|1|11|207|1|2|208|17|13|209|31|4|209|30|9|209|17|13|211|4|7|211|30|9|211|1|11|212|18|13|213|1|2|213|31|9|213|1|6|215|1|7|217|1|2|217|1|11|217|1|6|219|1|9|223|1|4|223|4|13|224|1|7|228|8|13|230|8|1|230|1|5|232|3|1|233|1|10|233|1|2|237|3|7|237|1|11|238|2|8|239|1|4|242|1|10|243|1|7|245|2|13|246|1|8|248|4|12|248|6|3|248|3|1|250|1|5|251|1|11|253|2|8|255|1|2|255|4|7|257|1|10|258|1|4|260|1|8|262|3|13|262|2|1|263|1|6|265|4|2|265|6|13|266|1|3|269|1|9|269|3|7|272|1|11|273|1|2|273|5|8|274|1|10|278|1|3|278|1|7|282|3|12|282|5|1|282|3|3|283|1|10|286|1|4|286|1|11|290|1|2|290|11|8|291|12|8|293|1|11|295|13|8|295|1|2|295|13|8|297|13|8|299|1|11|301|14|8|301|1|2|301|13|8|303|1|2|306|1|11|306|15|8|307|1|3|311|1|10|311|1|8|315|1|5|315|1|12|315|1|11|315|1|2|315|1|1|315|1|7|319|3|2|320|2|12|320|1|10|323|1|4|323|1|11|328|1|2|328|11|8|329|12|8|331|13|8|333|1|2|333|1|11|333|13|8|335|14|8|337|1|11|338|1|2|338|1|10|338|1|3|338|15|8|341|4|1|344|2|11|344|2|13|344|6|9|344|3|5|344|3|3|344|1|10|347|1|3|347|1|11|353|1|2|353|28|9|357|28|4|357|1|7|358|29|4|359|1|2|359|1|11|359|29|9|359|29|9|361|1|1|361|30|4|361|30|9|363|1|6|363|30|4|363|1|2|363|1|11|364|1|12|364|30|9|365|30|4|365|1|1|365|30|9|367|1|2|367|30|4|367|30|9|369|30|4|369|1|6|369|1|2|370|1|1|370|2|12|370|30|9|371|29|4|371|29|9|373|1|11|373|1|6|373|29|4|373|1|6|374|29|9|375|29|4|375|1|11|377|3|2|377|30|9|377|29|4|377|29|9|379|30|4|379|1|12|380|9|7|380|1|11|380|29|9|381|30|4|381|1|1|381|29|9|383|1|2|383|30|4|383|1|6|384|1|1|385|29|4|385|30|9|385|3|12|386|29|9|387|30|4|387|1|2|387|1|7|388|1|11|389|29|9|389|29|4|389|1|2|390|1|1|390|30|9|391|29|4|391|1|11|392|1|7|392|29|4|393|30|9|393|30|9|395|29|4|395|1|7|396|1|12|397|30|9|397|1|7|397|3|2|397|1|11|397|30|4|397|1|2|398|1|1|399|30|4|399|29|9|399|1|2|400|31|9|401|30|4|401|1|1|403|3|12|403|30|4|403|1|2|403|9|8|404|29|4|405|1|11|406|31|4|407|3|2|409|1|10|410|1|7|410|1|2|411|1|7|414|1|6|414|1|11|414|1|2|414|1|3|414|1|10|414|3|11|418|4|3|418|6|1|418|4|13|418|7|9|418";
this.map_19 = "21650|600|511|100|2|13|4|8|1|8|4|1|10|8|13|14|19|1|15|20|1|17|4|13|19|20|1|19|20|1|21|20|1|23|1|6|24|20|1|25|8|13|26|21|1|27|1|6|29|2|1|29|16|12|30|17|12|32|17|12|34|1|6|34|17|12|36|17|12|38|1|6|39|6|2|39|17|12|40|2|1|42|18|12|42|1|7|44|1|5|44|3|12|46|4|1|48|1|9|49|1|4|49|8|13|53|1|4|54|1|9|54|1|9|55|1|4|55|8|1|57|4|13|57|4|13|59|3|1|60|2|7|61|3|13|62|3|7|63|4|2|63|9|5|64|9|10|64|4|12|64|28|9|66|5|3|66|28|4|66|5|13|66|30|4|68|29|9|68|1|7|68|1|2|68|1|11|68|29|9|70|29|4|70|1|6|71|1|2|71|29|4|72|30|9|72|1|11|72|29|4|74|30|9|74|1|7|75|1|2|75|30|9|76|30|4|76|1|11|76|30|9|78|29|4|78|1|6|79|1|2|79|29|4|80|1|11|80|29|9|80|29|4|82|29|9|82|1|7|83|1|2|83|30|4|84|29|9|84|1|11|84|30|9|86|30|4|86|1|6|87|1|2|87|30|4|88|1|11|88|30|9|88|29|4|90|31|9|90|1|7|91|1|2|92|29|4|92|1|11|92|29|4|94|31|4|96|1|9|96|1|2|97|1|4|101|1|9|101|4|1|101|1|4|102|4|1|103|8|13|104|1|9|106|1|9|107|9|5|109|3|7|109|8|1|110|6|8|111|28|4|111|30|4|113|2|13|114|1|2|114|30|4|115|9|11|115|2|13|116|1|6|116|28|10|117|29|4|117|1|11|119|29|10|119|29|4|119|1|2|119|1|8|119|29|10|121|29|4|121|1|12|121|1|7|122|1|11|123|29|4|123|1|2|123|29|10|123|30|10|125|29|4|125|1|12|125|1|6|126|1|11|127|30|4|127|1|2|127|30|10|127|29|10|129|30|4|129|1|12|129|1|6|130|30|10|131|30|4|131|1|2|131|1|11|132|30|4|133|30|10|133|1|6|134|30|10|135|1|2|135|1|12|135|30|4|135|29|4|137|30|10|137|1|7|137|29|4|139|1|11|139|30|10|139|1|8|140|1|2|140|30|10|141|31|4|141|30|10|143|1|8|143|1|12|143|29|10|145|1|2|145|1|8|146|1|11|147|29|10|147|28|4|149|29|10|149|1|7|150|1|2|150|30|4|151|1|12|151|29|10|151|31|10|153|1|12|153|1|11|153|1|7|153|1|6|153|30|4|153|30|4|155|1|2|155|31|4|157|2|10|159|3|5|159|1|2|159|2|7|159|4|12|159|1|11|163|1|6|163|1|2|163|1|10|168|1|7|168|1|3|168|4|1|170|1|5|172|8|13|172|3|3|173|1|8|173|2|1|174|3|12|174|11|4|177|1|8|178|14|4|179|1|8|181|14|4|181|1|8|182|8|13|182|12|4|183|4|12|184|13|4|185|13|4|187|13|4|189|12|4|191|9|9|192|6|13|192|4|6|192|12|4|193|28|8|194|1|10|195|1|6|195|30|8|196|15|4|197|1|6|197|30|8|198|1|11|198|1|6|199|6|3|200|30|8|200|1|6|201|1|11|202|29|8|202|31|8|204|2|2|205|1|5|205|1|7|205|1|10|206|1|3|209|1|8|209|8|1|213|8|13|213|1|3|214|1|8|214|1|8|215|1|3|215|2|13|216|2|1|217|3|6|220|4|12|220|2|6|222|2|11|222|9|9|223|9|4|223|8|1|224|6|13|224|28|8|225|28|3|225|1|10|226|1|2|227|1|6|227|29|8|227|30|3|227|29|8|229|1|1|229|30|3|229|1|11|230|29|3|231|1|6|231|30|8|231|1|2|231|1|1|233|29|3|233|30|8|233|1|12|234|29|3|235|30|8|235|1|2|235|1|6|235|1|1|237|30|8|237|31|3|237|1|11|238|31|8|239|1|6|239|1|2|240|1|10|242|1|2|244|1|9|246|3|13|247|1|2|248|1|10|250|3|7|252|1|3|252|1|11|254|3|1|256|1|5|256|1|12|258|1|7|260|1|11|262|8|1|263|2|4|264|1|10|266|3|7|267|7|4|267|1|9|271|4|13|272|4|5|272|1|7|276|5|3|276|3|11|278|4|1|280|1|6|281|5|13|282|1|6|286|8|1|288|2|1|290|3|11|290|1|7|291|1|5|291|2|13|292|1|4|296|1|9|296|1|9|301|1|4|301|1|9|302|1|4|302|8|13|304|8|1|309|2|7|309|3|7|311|3|12|312|4|1|312|9|10|312|9|5|312|4|7|313|28|9|314|28|4|314|29|9|316|1|11|316|29|4|316|1|2|316|1|7|317|29|4|318|1|6|318|29|9|318|1|7|319|1|6|320|30|9|320|29|4|320|1|2|320|1|11|321|1|7|321|30|9|322|1|6|322|29|4|322|1|7|323|1|6|324|30|9|324|29|4|324|1|2|324|1|7|325|30|9|326|31|4|326|1|6|326|1|11|327|30|9|328|1|5|328|1|2|329|30|9|330|1|4|331|30|9|332|1|11|332|30|9|334|1|2|334|28|4|335|31|9|336|1|7|336|30|4|337|1|11|337|30|4|339|1|2|339|1|6|341|31|4|341|1|11|342|28|9|344|1|2|344|1|2|346|1|7|346|30|9|346|1|11|347|30|9|348|28|4|348|1|2|348|1|2|350|30|4|350|29|9|350|1|6|351|29|4|352|29|9|352|1|11|352|1|2|352|1|2|354|29|4|354|29|9|354|1|7|356|1|2|356|29|4|356|29|9|356|1|11|357|29|9|358|29|4|358|1|2|358|30|4|360|29|9|360|1|6|360|1|2|360|30|9|362|1|11|362|31|4|362|1|2|362|30|9|364|1|3|364|1|7|365|31|9|366|1|5|366|1|11|367|1|2|368|1|6|369|1|11|371|1|11|373|28|4|373|1|7|373|1|2|373|1|11|375|28|9|375|30|4|375|1|11|377|29|4|377|29|9|377|1|6|378|30|4|379|29|9|379|1|11|379|1|2|380|30|4|381|1|11|381|29|9|381|1|7|382|29|4|383|1|11|383|30|9|383|30|9|385|1|2|385|29|4|385|1|11|386|1|7|386|29|9|387|30|4|387|31|9|389|30|4|389|1|2|390|30|4|391|1|7|391|1|6|391|1|11|391|1|10|391|31|4|393|1|2|395|1|2|396|7|9|398|3|11|398|1|11|402|3|7|402|9|3|403|1|3|406|1|10|407|8|1|409|1|5|410|1|8|411|1|7|415|8|1|415|3|2|417|8|13|418|1|7|419|2|13|420|5|2|423|1|7|424|3|4|424|5|13|426|7|4|429|1|7|429|1|7|430|3|11|430|1|7|431|1|7|432|6|13|433|6|4|433|1|7|433";
this.gridSize = 50;
this.mapObjectArray = new Array();
this.parseMapData2(level);
this.onMapData();
};
Map.prototype.onMapData = function () {
this.CreateAllMapObjects();
this.RefreshVisibleObjects();
this.Draw();
this.world.MapReady();
};
Map.prototype.parseMapData2 = function (n) {
var _local9 = this["map_" + n];
var _local3 = new Array();
_local3 = _local9.split("|");
this.length = _local3.shift();
this.width = _local3.shift();
this.objectNum = _local3.shift();
this.world.quota = _local3.shift();
while (_local3.length > 0) {
var _local7 = _local3.shift();
var _local6 = Number(_local3.shift());
var _local4 = Number(_local3.shift());
var _local5 = new _root.Vect3(this.gridSize * _local6, this.gridSize * _local4);
this.mapObjectArray.push({mapPos:_local5, t:_local7});
}
};
Map.prototype.CreateAllMapObjects = function () {
var _local2 = 0;
while (_local2 < this.mapObjectArray.length) {
this.mapObjectArray[_local2].mc = this.world.objectFactory.CreateObject(this.mapObjectArray[_local2].t);
this.mapObjectArray[_local2].mc.loop.gotoAndPlay(random(25));
this.mapObjectArray[_local2].mc._visible = false;
_local2++;
}
};
Map.prototype.ConvertTextFileToArray = function () {
var _local4 = new Array();
var _local3;
var _local2 = 1;
while (_local2 <= this.mapData.objectNum) {
mapPos = new Vect3(this.gridSize * Number(this.mapData[("o" + _local2) + "x"]), this.gridSize * Number(this.mapData[("o" + _local2) + "y"]));
_local3 = this.mapData[("o" + _local2) + "t"];
_local4.push({mapPos:mapPos, t:_local3});
_local2++;
}
return(_local4);
};
Map.prototype.GetTotalPoints = function () {
this.total = 0;
var _local2 = 0;
while (_local2 < this.mapObjectArray.length) {
if (this.mapObjectArray[_local2].t == 1) {
this.total++;
}
_local2++;
}
return(total);
};
Map.prototype.OutputMap = function () {
var _local3 = "";
_local3 = _local3 + ("length=" + this.mapObjectArray[this.mapObjectArray.length - 1].mapPos.get_y());
_local3 = _local3 + "&width=600";
_local3 = _local3 + ("&objectNum=" + this.mapObjectArray.length);
var _local2 = 0;
while (_local2 < this.mapObjectArray.length) {
_local3 = _local3 + ((("&o" + Number(_local2 + 1)) + "t=") + this.mapObjectArray[_local2].t);
_local3 = _local3 + ((("&o" + Number(_local2 + 1)) + "x=") + (this.mapObjectArray[_local2].mapPos.get_x() / 50));
_local3 = _local3 + ((("&o" + Number(_local2 + 1)) + "y=") + (this.mapObjectArray[_local2].mapPos.get_y() / 50));
_local2++;
}
System.SetClipboard(_local3);
};
Map.prototype.insertRowAt = function (gridY) {
var _local3 = 0;
while (_local3 < this.mapObjectArray.length) {
if (this.mapObjectArray[_local3].mapPos.get_y() >= (gridY * this.gridSize)) {
this.mapObjectArray[_local3].mapPos = new _root.Vect3(this.mapObjectArray[_local3].mapPos.get_x(), this.mapObjectArray[_local3].mapPos.get_y() + this.gridSize);
this.mapObjectArray[_local3].screenPos = new _root.Vect3(this.mapObjectArray[_local3].screenPos.get_x(), this.mapObjectArray[_local3].screenPos.get_y() - this.gridSize);
}
_local3++;
}
this.Draw();
};
Map.prototype.deleteRowAt = function (gridY) {
var _local3 = 0;
while (_local3 < this.mapObjectArray.length) {
if ((this.mapObjectArray[_local3].mapPos.get_y() / 50) == gridY) {
this.RemoveThisObjectFromMap(this.mapObjectArray[_local3]);
} else if ((this.mapObjectArray[_local3].mapPos.get_y() / 50) > gridY) {
this.mapObjectArray[_local3].mapPos = new _root.Vect3(this.mapObjectArray[_local3].mapPos.get_x(), this.mapObjectArray[_local3].mapPos.get_y() - this.gridSize);
this.mapObjectArray[_local3].screenPos = new _root.Vect3(this.mapObjectArray[_local3].screenPos.get_x(), this.mapObjectArray[_local3].screenPos.get_y() + this.gridSize);
}
_local3++;
}
this.Draw();
};
Map.prototype.Update = function (scroll) {
var _local2 = scroll.get_y();
this.dScroll = this.dScroll + _local2;
this.mapBoundMinY = this.mapBoundMinY + _local2;
this.mapBoundMaxY = this.mapBoundMaxY + _local2;
if (this.firstVisible <= this.lastVisible) {
this.ScrollVisibleObjects(scroll);
}
if ((this.dScroll >= 50) || (this.dScroll <= -50)) {
this.GetVisibleObjects(scroll);
this.dScroll = 0;
}
this.Draw();
this.MoveBackground(_local2);
};
Map.prototype.MoveBackground = function (scrollAmt) {
this.world.mc.BG.bgLoop.Scroll(scrollAmt);
};
Map.prototype.ScrollVisibleObjects = function (scroll) {
var _local3 = scroll.rotateBy(this.world.mapDirection);
var _local2 = this.firstVisible;
while (_local2 <= this.lastVisible) {
this.mapObjectArray[_local2].screenPos = this.mapObjectArray[_local2].screenPos.minus(_local3);
_local2++;
}
};
Map.prototype.RefreshVisibleObjects = function () {
var _local2 = 0;
while (this.mapObjectArray[_local2].mapPos.get_y() < this.mapBoundMinY) {
_local2++;
}
this.firstVisible = _local2;
if (this.mapObjectArray[_local2].mapPos.get_y() <= this.mapBoundMaxY) {
while (((_local2 + 1) < this.mapObjectArray.length) && (this.mapObjectArray[_local2 + 1].mapPos.get_y() <= this.mapBoundMaxY)) {
_local2++;
}
this.lastVisible = _local2;
} else {
this.lastVisible = this.firstVisible - 1;
}
_local2 = this.firstVisible;
while (_local2 <= this.lastVisible) {
this.ShowMapObject(this.mapObjectArray[_local2]);
_local2++;
}
};
Map.prototype.GetVisibleObjects = function (scroll) {
if (scroll.get_y() > 0) {
var _local2 = this.firstVisible;
while (_local2 <= this.lastVisible) {
if (this.mapObjectArray[_local2].mapPos.get_y() < this.mapBoundMinY) {
this.RemoveObjectFromScreen(_local2);
this.firstVisible++;
} else {
break;
}
_local2++;
}
_local2 = this.lastVisible + 1;
while (_local2 < this.mapObjectArray.length) {
if (this.mapObjectArray[_local2].mapPos.get_y() < this.mapBoundMaxY) {
this.ShowMapObject(this.mapObjectArray[_local2], scroll);
this.lastVisible++;
} else {
break;
}
_local2++;
}
} else if (scroll.get_y() < 0) {
var _local2 = this.lastVisible;
while (_local2 >= this.firstVisible) {
if (this.mapObjectArray[_local2].mapPos.get_y() >= this.mapBoundMaxY) {
this.RemoveObjectFromScreen(_local2);
this.lastVisible--;
} else {
break;
}
_local2--;
}
_local2 = this.firstVisible - 1;
while (_local2 >= 0) {
if (this.mapObjectArray[_local2].mapPos.get_y() >= this.mapBoundMinY) {
this.ShowMapObject(this.mapObjectArray[_local2]);
this.firstVisible--;
} else {
break;
}
_local2--;
}
}
};
Map.prototype.ShowMapObject = function (obj, scroll) {
obj.mc._visible = true;
obj.screenPos = this.GetScreenPos(obj.mapPos);
if (obj.t == 11) {
this.world.soundModule.PlaySound("foghorn", 150);
}
};
Map.prototype.RemoveVisibleObjectFromMap = function (index) {
this.RemoveObjectFromScreen(index);
this.RemoveObjectFromMap(index);
this.lastVisible--;
};
Map.prototype.RemoveObjectFromScreen = function (index) {
this.mapObjectArray[index].mc.removeMovieClip();
};
Map.prototype.RemoveObjectFromMap = function (index) {
this.mapObjectArray.splice(index, 1);
};
Map.prototype.RemoveThisObjectFromMap = function (obj) {
var _local2 = this.mapObjectArray.length;
while (_local2--) {
if (this.mapObjectArray[_local2].mc == obj.mc) {
this.mapObjectArray[_local2].mc.removeMovieClip();
this.mapObjectArray.splice(_local2, 1);
return(undefined);
}
}
};
Map.prototype.AddObjectToMap = function (mapPos, type) {
var _local4 = mapPos.get_y();
var _local3 = this.mapObjectArray.length;
var _local2 = 0;
while (_local2 < this.mapObjectArray.length) {
if (_local4 < this.mapObjectArray[_local2].mapPos.get_y()) {
_local3 = _local2;
break;
}
_local2++;
}
var _local5 = this.world.objectFactory.CreateObject(type);
var _local8 = this.GetScreenPos(mapPos);
this.mapObjectArray.splice(_local3, 0, {mapPos:mapPos, t:type, mc:_local5, screenPos:_local8});
this.lastVisible++;
this.Draw();
return(_local5);
};
Map.prototype.ReplaceIceberg = function (id, type, vect) {
this.AddObjectToMap(vect, type);
};
Map.prototype.CleanUp = function () {
var _local2 = this.mapObjectArray.length;
while (_local2--) {
this.mapObjectArray[_local2].mc.removeMovieClip();
this.mapObjectArray.pop();
}
};
Map.prototype.Draw = function () {
var _local2 = this.firstVisible;
while (_local2 <= this.lastVisible) {
this.mapObjectArray[_local2].mc._x = this.mapObjectArray[_local2].screenPos.get_x();
this.mapObjectArray[_local2].mc._y = Math.floor(this.mapObjectArray[_local2].screenPos.get_y());
_local2++;
}
};
Map.prototype.GetMapPos = function (screenPos) {
var _local3 = screenPos.minus(this.screenBoundMin);
var _local2 = _local3.rotateBy(Angle.ZERO.minus(this.world.mapDirection));
return(new Vect3(_local2.get_x(), this.mapBoundMinY + _local2.get_y()));
};
Map.prototype.GetScreenPos = function (mapPos) {
var _local4 = new _root.Vect3(mapPos.get_x(), mapPos.get_y() - this.mapBoundMinY);
var _local3 = _local4.rotateBy(this.world.mapDirection);
return(this.screenBoundMin.plus(_local3));
};
Map.prototype.toString = function () {
return("Map Object");
};
function ObjectFactory(world) {
this.world = world;
this.objTypes = new Array("diamond", "mBerg1", "mBerg2", "mBerg3", "lBerg1", "lBerg2", "wallBerg", "sideBerg", "openJump", "closedJump", "shipFront", "shipMid1", "shipMid2", "shipMid3", "shipRear", "leftWoodDockFront", "leftWoodDockMid", "leftWoodDockRear", "rightWoodDockFront", "rightWoodDockMid", "rightWoodDockRear", "leftConcDockFront", "leftConcDockMid", "leftConcDockRear", "rightConcDockFront", "rightConcDockMid", "rightConcDockRear", "islandFront", "islandMid1", "islandMid2", "islandRear", "missile");
this.HideAllOriginals(this.objTypes);
}
ObjectFactory.prototype.Init = function (level) {
this.curObjectType = this.objTypes;
this.objNum = 0;
};
ObjectFactory.prototype.HideAllOriginals = function (type) {
var _local2 = 0;
while (_local2 <= type.length) {
this.world.mc[type[_local2]]._visible = false;
_local2++;
}
};
ObjectFactory.prototype.CreateObject = function (objTypeNum) {
this.objNum++;
var _local2 = "obj" + this.objNum;
var _local4 = this.curObjectType[objTypeNum - 1];
if ((objTypeNum >= 28) && (objTypeNum <= 31)) {
depth = this.objNum;
} else {
depth = 1000 + this.objNum;
}
this.world.mc[_local4].duplicateMovieClip(_local2, depth);
this.world.mc[_local2].depth = depth;
this.world.mc[_local2].caller = this;
return(this.world.mc[_local2]);
};
function Camera() {
this.vel = new _root.Vect3(0, 0);
}
Camera.prototype.GetVelocity = function (avatarVelocity) {
var _local2 = avatarVelocity.minus(this.lastVel).times(2);
this.lastVel = avatarVelocity;
return(avatarVelocity.minus(_local2));
};
function InputModule() {
this.left = 1;
this.right = 2;
this.up = 4;
this.down = 8;
this.launch = 16;
}
InputModule.prototype.GetUserInput = function () {
var _local2 = 0;
if (Key.isDown(39)) {
_local2 = _local2 + this.right;
}
if (Key.isDown(37)) {
_local2 = _local2 + this.left;
}
if (Key.isDown(38)) {
_local2 = _local2 + this.up;
}
if (Key.isDown(40)) {
_local2 = _local2 + this.down;
}
if (Key.isDown(32)) {
_local2 = _local2 + this.launch;
}
return(_local2);
};
PlayerAvatar.prototype.ApplyInput = function (input) {
if (input & this.world.inputModule.launch) {
if (this.launchTimer >= 15) {
this.Fire();
this.launchTimer = 0;
}
}
if (input & this.world.inputModule.right) {
this.vel = this.vel.rotateBy(this.rightTurnAngle);
if ((++this.rightDown) > 3) {
var _local2 = this.vel.length() * 3;
this.world.soundModule.PlayTimedSound("skiTurn", _local2, 0);
this.rightDown = 0;
}
} else if (input & this.world.inputModule.left) {
this.vel = this.vel.rotateBy(this.leftTurnAngle);
if ((++this.leftDown) > 3) {
var _local2 = this.vel.length() * 3;
this.world.soundModule.PlayTimedSound("skiTurn", _local2, 0);
this.leftDown = 0;
}
} else {
this.rightDown = 0;
this.leftDown = 0;
}
};
InputModule.prototype.GetJumpInput = function () {
var _local1 = 0;
return(_local1);
};
PlayerAvatar.prototype.ApplyJumpInput = function (input) {
};
function HUD(world) {
this.world = world;
}
HUD.prototype.Init = function () {
this.statusBar = this.world.mc.statusBar;
this.tallyFade = this.world.mc.tallyFade;
this.tally = this.tallyFade.tally_mc;
this.story = _root.story_mc;
this.bats = _root.batWipe;
this.tallyFade.swapDepths(8500);
this.hudStartY = this.statusBar._y;
this.HideTally();
this.score = 0;
};
HUD.prototype.BatWipe = function (type) {
this.story._visible = true;
this.bats.gotoAndPlay(type);
};
HUD.prototype.ShowStory = function (type) {
this.BatWipe(type);
};
HUD.prototype.HideStory = function () {
this.story._visible = false;
};
HUD.prototype.ShowTally = function (type, quota) {
this.tally.gotoAndStop("show_" + type);
this.tallyFade.gotoAndPlay(2);
this.tally.quota = quota;
this.tally.score = this.score;
};
HUD.prototype.ShowWinScreen = function () {
this.BatWipe("toWin");
};
HUD.prototype.ShowLoseScreen = function () {
this.BatWipe("toLose");
};
HUD.prototype.HideTally = function () {
this.tally.gotoAndStop("hide");
this.tallyFade.gotoAndPlay(1);
};
HUD.prototype.UpdateLives = function (lives, dmg) {
this.statusBar.lives.gotoAndStop("b" + lives);
this.statusBar.lives.damage.gotoAndStop("d" + (3 - dmg));
};
HUD.prototype.UpdateScore = function (score) {
if (score < this.world.quota) {
this.statusBar.scoreTxt.textColor = 16777215 /* 0xFFFFFF */;
} else {
this.statusBar.scoreTxt.textColor = 16776960 /* 0xFFFF00 */;
}
this.statusBar.score = (score + "/") + this.world.quota;
if (score == this.world.quota) {
this.world.soundModule.PlaySound("quotaMet", 60);
}
this.score = score;
};
HUD.prototype.UpdatePowerups = function (amt) {
this.statusBar.powerupCount = amt;
};
HUD.prototype.MoveY = function (amt) {
this.statusBar._y = this.hudStartY - amt;
};
HUD.prototype.ShowPowerup = function (name) {
this.statusBar.currentPowerup = name;
};
HUD.prototype.ShowPointsNeeded = function (pointsNeeded) {
this.statusBar.pointsNeeded = pointsNeeded;
};
HUD.prototype.ShowSection = function (section) {
this.statusBar.section = section;
};
HUD.prototype.FadeIn = function () {
this.statusBar.gotoAndPlay("fadeIn");
};
HUD.prototype.FadeOut = function () {
this.statusBar.gotoAndPlay("fadeOut");
};
function GameWorld(mc) {
this.mc = mc;
this.mc.caller = this;
this.avatar = new PlayerAvatar(this);
this.map = new Map(this);
this.objectFactory = new ObjectFactory(this);
this.camera = new Camera();
this.inputModule = new InputModule();
this.soundModule = _root.soundModule;
this.hud = new HUD(this);
this.specialItemAr = new Array();
this.paused = true;
this.powerupCollision = 1;
this.jumpCollision = 2;
this.fallCollision = 4;
this.wallCollisionLeft = 8;
this.wallCollisionRight = 16;
this.shipCollisionLeft = 32;
this.shipCollisionRight = 64;
this.frictionMax = 0.95;
this.baseFriction = this.frictionMax;
this.icebergYOffset = 10;
this.frArray = new Array();
this.frCount = 0;
this.cameraOn = false;
this.quota = 0;
this.lastMusic = "music_title";
this.tintArray = new Array();
this.tintArray.push({r:38, g:13, b:25});
this.tintArray.push({r:25, g:38, b:13});
this.tintArray.push({r:13, g:25, b:38});
this.tintArray.push({r:60, g:8, b:8});
}
function StartGameAdapter() {
myGameWorld.StartGame();
}
GameWorld.prototype.mapDirection = new Angle2(-1, 0);
GameWorld.prototype.Init = function (level) {
this.hud.Init();
this.currentPowerup = GetLevelPowerup(level);
this.hud.ShowPowerup(this.currentPowerup);
this.handicap = 0;
this.objectFactory.Init(level);
this.map.Init(level);
this.score = 0;
this.avatar.Init(this.mc.batboat);
this.currentMusic = "music_" + ((_root.levelIndex % 5) + 1);
this.soundModule.PlaySound("jetRevUp", this.soundModule.JET_VOLUME, 0);
this.soundModule.PlaySound("waterloop", 0);
_root.jetRevUp.caller = this.soundModule;
var _local3 = this.tintArray[Math.floor(_root.levelIndex / 5)];
this.tintBG(_local3.r, _local3.g, _local3.b);
};
GameWorld.prototype.InitValues = function (score, lives, damage) {
this.score = score;
this.lives = lives;
this.damage = damage;
};
GameWorld.prototype.tintBG = function (r, g, b) {
var _local3 = new Color(this.mc.BG);
var _local2 = _local3.getTransform();
_local2.rb = r;
_local2.gb = g;
_local2.bb = b;
_local3.setTransform(_local2);
};
GameWorld.prototype.MapReady = function () {
var _local3 = this.map.GetTotalPoints() * this.pointModifier;
var _local2 = _local3 + this.handicap;
this.pointsNeeded = _local2;
this.hud.statusBar.swapDepths(15000);
this.hud.UpdateScore(0);
};
GameWorld.prototype.InitRecorder = function () {
var _local3 = ["state", "vel", "jumpVel", "mapPos", "jumpHeight", "playerDepth", "powerupArray", "lives", "mode"];
var _local2 = ["mapBoundMinY"];
var _local4 = {avatar:_local3, map:_local2};
this.recorder = new Recorder(this, _local4);
};
ContinueGameAdapter = function () {
myGameWorld.continueGame();
};
GameWorld.prototype.continueGame = function () {
_root.loadTracker();
this.damage = 3;
this.lives = 3;
_root.levelIndex = 5 * Math.floor(_root.levelIndex / 5);
this.hud.BatWipe("toRestart");
};
UpdateAdapter = function () {
if (!myGameWorld.paused) {
myGameWorld.Update();
}
};
GameWorld.prototype.Update = function () {
this.tintLevel();
this.frCount++;
this.frArray.push(Math.floor(10 * (1 / ((getTimer() - this.timer) / 1000))) / 10);
if (this.frArray.length > 20) {
this.frArray.shift();
}
this.timer = getTimer();
if (this.frCount > 20) {
this.frCount = 0;
var _local3 = this.frArray.length;
var _local4 = 0;
while (_local3--) {
_local4 = _local4 + this.frArray[_local3];
}
_root.framerate = _local4 / 20;
}
var _local5 = null;
this.avatar.AddGravity();
if ((this.avatar.mode == this.avatar.normalMode) || (this.avatar.mode == this.avatar.fallMode)) {
this.avatar.AddFriction(this.baseFriction);
var _local9 = this.inputModule.GetUserInput();
if (_local9 && (this.avatar.mapPos.get_y() > 650)) {
this.avatar.ApplyInput(_local9);
}
if (this.avatar.mode == this.avatar.normalMode) {
_local5 = this.avatar.GetTurning(this.avatar.vel.get_x());
}
} else if (this.avatar.mode & this.avatar.isJumping) {
var _local10 = this.avatar.GetJumpHeight();
if (_local10 < 0) {
_local10 = 0;
var _local12 = this.avatar.TryToLand();
if (_local12) {
_local5 = this.avatar.f_Land;
} else {
this.TakeAHit();
_local5 = this.avatar.f_Fall;
}
}
} else if (this.avatar.mode == this.avatar.landMode) {
this.avatar.AddFriction(this.baseFriction - 0.05);
}
if (this.avatar.mode == this.avatar.fallMode) {
this.avatar.AddFriction(this.baseFriction - 0.01);
}
var _local6 = new Vect3(0, this.avatar.vel.get_y());
if (this.cameraOn) {
var _local13 = this.camera.GetVelocity(_local6);
} else {
var _local13 = this.camera.GetVelocity(_local6).times(0.5);
}
var _local8 = this.avatar.vel.minus(_local13);
var _local11 = this.avatar.vel.minus(_local8);
this.avatar.Scroll(_local8);
this.avatar.Draw();
this.avatar.launchTimer++;
this.map.Update(_local11);
this.avatar.UpdatePlayerSound();
if (this.avatar.mode ^ this.avatar.isJumping) {
var _local7 = this.GetCollisions();
}
if (_local7 != null) {
_local5 = _local7;
}
this.avatar.ChangeGraphic(_local5);
if (this.specialItemAr.length > 0) {
this.DoSpecialItems();
}
};
GameWorld.prototype.GetCollisions = function () {
if (this.levelOver) {
return(undefined);
}
var _local8 = null;
var _local5 = null;
_root.activeObs = this.map.lastVisible - this.map.firstVisible;
var _local6 = this.map.firstVisible;
while (_local6 <= this.map.lastVisible) {
var _local3 = this.map.mapObjectArray[_local6];
if (this.avatar.mc.hitTest(_local3.mc)) {
this.avatar.UpdateCollisionPoints();
if (_local3.mc.type == "powerup") {
if (this.avatar.CollisionHitTest(_local3.mc.powerupArea)) {
_local5 = this.powerupCollision;
break;
}
} else if ((_local3.mc.type == "fall") && (this.avatar.mode & this.avatar.canFall)) {
if (this.avatar.CollisionHitTest(_local3.mc.fallArea)) {
_local5 = this.fallCollision;
break;
}
} else if (_local3.mc.type == "wall") {
if (this.avatar.CollisionHitTest(_local3.mc.blockLeft)) {
_local5 = this.wallCollisionLeft;
break;
}
if (this.avatar.CollisionHitTest(_local3.mc.blockRight)) {
_local5 = this.wallCollisionRight;
break;
}
if (this.avatar.CollisionHitTest(_local3.mc.shipLeft)) {
_local5 = this.shipCollisionLeft;
break;
}
if (this.avatar.CollisionHitTest(_local3.mc.shipRight)) {
_local5 = this.shipCollisionRight;
break;
}
} else if ((_local3.mc.type == "jump") && (this.avatar.mode & this.avatar.canHitJump)) {
if (this.avatar.CollisionHitTest(_local3.mc.jumpArea)) {
_local5 = this.jumpCollision;
break;
}
if (this.avatar.CollisionHitTest(_local3.mc.fallArea)) {
_local5 = this.fallCollision;
break;
}
}
}
var _local7 = parseInt(_local3.t);
if (((_local7 > 1) && (_local7 < 8)) || (_local7 == 10)) {
var _local4 = this.avatar.missileArray.length;
if (_local4--) {
if (this.avatar.missileArray[_local4].CollisionHitTest(_local3.mc.fallArea)) {
this.ExplodeIceberg(_local3, _local6, this.avatar.missileArray[_local4]);
this.avatar.missileArray[_local4].Die();
this.avatar.missileArray.splice(_local4, 1);
}
// unexpected jump
}
}
_local6++;
}
if (_local5 == this.powerupCollision) {
this.soundModule.PlaySound("collect", 70, 0);
this.avatar.CollectPowerup(_local3.t, this.objectFactory.curObjectType[_local3.t - 1]);
this.map.RemoveVisibleObjectFromMap(_local6);
} else if (_local5 == this.jumpCollision) {
if (!this.levelOver) {
this.avatar.HitJump(_local3.mc.incline);
_local8 = this.avatar.f_Jump1;
this.avatar.mc.swapDepths(this.avatar.jumpDepth);
}
} else if (_local5 == this.fallCollision) {
this.TakeAHit();
_local8 = this.avatar.f_Fall;
this.ExplodeIceberg(_local3, _local6, this.avatar);
} else if (_local5 == this.wallCollisionLeft) {
this.TakeAHit();
_local8 = this.avatar.f_Fall;
this.avatar.vel = new _root.Vect3(10, this.avatar.vel.get_y());
} else if (_local5 == this.wallCollisionRight) {
this.TakeAHit();
_local8 = this.avatar.f_Fall;
this.avatar.vel = new _root.Vect3(-10, this.avatar.vel.get_y());
} else if (_local5 == this.shipCollisionLeft) {
this.TakeAHit();
_local8 = this.avatar.f_Fall;
this.avatar.vel = new _root.Vect3(15, this.avatar.vel.get_y());
} else if (_local5 == this.shipCollisionRight) {
this.TakeAHit();
_local8 = this.avatar.f_Fall;
this.avatar.vel = new _root.Vect3(-15, this.avatar.vel.get_y());
}
return(_local8);
};
GameWorld.prototype.ExplodeIceberg = function (obj, id, collider) {
if (collider != this.avatar) {
this.soundModule.PlaySound("bergExplode", 150);
}
switch (obj.t) {
case "2" :
case "3" :
case "4" :
obj.mc.id = id;
obj.mc.newType = null;
obj.mc.gotoAndPlay("explode");
break;
case "5" :
if (collider.CollisionHitTest(obj.mc.fallArea.hitLeft)) {
obj.mc.id = id;
obj.mc.newType = "2";
obj.mc.newVect = new _root.Vect3(obj.mapPos.get_x() - 100, obj.mapPos.get_y() - this.icebergYOffset);
obj.mc.gotoAndPlay("explodeLeft");
} else {
obj.mc.id = id;
obj.mc.newType = "3";
obj.mc.newVect = new _root.Vect3(obj.mapPos.get_x(), obj.mapPos.get_y() - this.icebergYOffset);
obj.mc.gotoAndPlay("explodeRight");
}
break;
case "6" :
if (collider.CollisionHitTest(obj.mc.fallArea.hitLeft)) {
obj.mc.id = id;
obj.mc.newType = "3";
obj.mc.newVect = new _root.Vect3(obj.mapPos.get_x() - 100, obj.mapPos.get_y() - this.icebergYOffset);
obj.mc.gotoAndPlay("explodeLeft");
} else {
obj.mc.id = id;
obj.mc.newType = "4";
obj.mc.newVect = new _root.Vect3(obj.mapPos.get_x(), obj.mapPos.get_y() - this.icebergYOffset);
obj.mc.gotoAndPlay("explodeRight");
}
break;
case "7" :
if (collider.CollisionHitTest(obj.mc.fallArea.hitLeft)) {
obj.mc.id = id;
obj.mc.newType = "6";
obj.mc.newVect = new _root.Vect3(obj.mapPos.get_x() - 100, obj.mapPos.get_y() - this.icebergYOffset);
obj.mc.gotoAndPlay("explodeLeft");
} else if (collider.CollisionHitTest(obj.mc.fallArea.hitCenter)) {
obj.mc.id = id;
obj.mc.newType1 = "2";
obj.mc.newType2 = "4";
obj.mc.newVect1 = new _root.Vect3(obj.mapPos.get_x(), obj.mapPos.get_y() - this.icebergYOffset);
obj.mc.newVect2 = new _root.Vect3(obj.mapPos.get_x() - 200, obj.mapPos.get_y());
obj.mc.gotoAndPlay("explodeMiddle");
} else {
obj.mc.id = id;
obj.mc.newType = "5";
obj.mc.newVect = new _root.Vect3(obj.mapPos.get_x(), obj.mapPos.get_y() - this.icebergYOffset);
obj.mc.gotoAndPlay("explodeRight");
}
break;
case "8" :
case "9" :
case "11" :
break;
case "10" :
obj.mc.id = id;
obj.mc.newType = "9";
obj.mc.newVect = new _root.Vect3(obj.mapPos.get_x(), obj.mapPos.get_y());
obj.mc.gotoAndPlay("explode");
}
};
GameWorld.prototype.SwapAvatarDepth = function (obj) {
this.avatar.mc.swapDepths(obj.mc);
var _local2 = this.avatar.playerDepth;
this.avatar.playerDepth = obj.mc.depth;
obj.mc.depth = _local2;
};
GameWorld.prototype.TakeAHit = function () {
this.avatar.Fall();
_root.boatCrash.caller = this.soundModule;
this.soundModule.PlaySound("boatCrash", 150);
this.damage--;
this.avatar.setDamage(this.damage);
this.hud.UpdateLives(this.lives, this.damage);
if (this.damage == 0) {
this.lives--;
if (this.lives > 0) {
this.EndLevel("crash");
} else {
this.Endlevel("dead");
}
}
};
GameWorld.prototype.winCheat = function () {
this.score = this.quota;
this.hud.UpdateScore(this.score);
this.EndLevel("complete");
};
GameWorld.prototype.loseCheat = function () {
this.score = 0;
this.hud.UpdateScore(this.score);
this.EndLevel("complete");
};
GameWorld.prototype.EndLevel = function (status) {
_quality = "high";
this.soundModule.PlaySound("jetRevDown", 30, 0);
this.soundModule.StopSound("jetIdle");
this.soundModule.StopSound("waterloop");
if ((status == "crash") || (status == "dead")) {
this.baseFriction = 0;
this.avatar.hideWake = true;
this.currentMusic = "music_lose";
}
this.levelOver = true;
this.endTime = getTimer();
if (status == "complete") {
if (this.score < this.quota) {
status = "failure";
this.lives--;
this.currentMusic = "music_lose";
} else {
status = "success";
this.currentMusic = "music_win";
}
}
this.soundModule.CrossfadeSound(this.lastMusic, this.currentMusic, this.soundModule.MUSIC_VOLUME);
this.lastMusic = this.currentMusic;
this.cameraOn = false;
this.delay = new Object();
clearInterval(this.delay);
this.delay = setInterval(this, "pauseForLevelOver", 1000, status);
};
GameWorld.prototype.pauseForLevelOver = function (status) {
clearInterval(this.delay);
this.paused = true;
this.hud.ShowTally(status, this.quota);
this.hud.tally.elapsedTime = (this.endTime - this.startTime) / 1000;
this.onKeyUp = function () {
Key.removeListener(this);
if (status == "success") {
_root.levelIndex++;
if (_root.levelIndex == 20) {
this.currentMusic = "music_title2";
this.soundModule.CrossfadeSound(this.lastMusic, this.currentMusic, this.soundModule.MUSIC_VOLUME);
this.lastMusic = this.currentMusic;
this.hud.ShowStory("toWin");
return(undefined);
}
if ((_root.levelIndex % 5) == 0) {
this.currentMusic = "music_title2";
this.soundModule.CrossfadeSound(this.lastMusic, this.currentMusic, this.soundModule.MUSIC_VOLUME);
this.lastMusic = this.currentMusic;
this.hud.ShowStory("story_" + (_root.levelIndex / 5));
return(undefined);
}
} else if (this.lives == 0) {
this.gameOver = true;
this.EndGame("dead");
return(undefined);
}
this.damage = 3;
this.hud.BatWipe("toRestart");
};
Key.addListener(this);
};
RestartLevelAdapter = function () {
myGameWorld.RestartLevel();
};
GameWorld.prototype.RestartLevel = function () {
this.map.CleanUp();
this.levelOver = false;
this.hud.HideTally();
this.avatar.mc.wake._visible = true;
this.baseFriction = this.frictionMax;
this.camera.lastVel = new Vect3(0, 0);
this.damage = 3;
this.avatar.setDamage(this.damage);
this.hud.UpdateLives(this.lives, this.damage);
this.InitValues(this.score, this.lives, this.damage);
this.Init(_root.levelIndex);
this.StartGame();
};
GameWorld.prototype.DoSpecialItems = function () {
var _local2 = 0;
while (_local2 < this.specialItemAr.length) {
var _local3 = this.specialItemAr[_local2].testForRemoval(_local2);
if (_local3) {
this.specialItemAr[_local2].Die();
this.specialItemAr.splice(_local2, 1);
_local2--;
}
_local2++;
}
};
GameWorld.prototype.UpdateScore = function (amt) {
this.score = this.score + amt;
this.hud.UpdateScore(this.score);
};
GameWorld.prototype.StartGame = function () {
this.startTime = getTimer();
var _local3 = this.avatar.GetTurning(0);
this.avatar.ChangeGraphic(_local3);
this.cameraOn = true;
this.paused = false;
this.gameOver = false;
this.hud.HideStory();
this.mc.levelPrompt_mc.gotoAndPlay("show");
this.mc.levelPrompt_mc.prompt.headline = "Level " + (_root.levelIndex + 1);
this.mc.levelPrompt_mc.prompt.subhead = ("You must collect at least " + this.quota) + " diamonds.";
this.soundModule.CrossfadeSound(this.lastMusic, this.currentMusic, this.soundModule.MUSIC_VOLUME);
this.lastMusic = this.currentMusic;
};
GameWorld.prototype.EndGame = function (endType) {
this.baseFriction = 0.7;
if (endType == "win") {
this.gameStatus = "win";
this.gameOver = true;
this.hud.ShowWinScreen();
} else if (endType == "dead") {
this.hud.ShowLoseScreen();
this.gameOver = true;
} else {
return(undefined);
}
};
GotoEndScreenAdapter = function () {
myGameWorld.GotoEndScreen();
};
GameWorld.prototype.GotoEndScreen = function () {
this.hud.ShowLoseScreen();
};
function GetPointModifier() {
var _local1;
_local1 = 1;
return(_local1);
}
function GetLevelPowerup() {
var _local1;
_local1 = "diamond";
return(_local1);
}
Instance of Symbol 746 MovieClip "GameWorldMC" in Frame 412
onClipEvent (enterFrame) {
_root.UpdateAdapter();
}
Instance of Symbol 464 MovieClip "dataHolder" in Frame 412
onClipEvent (data) {
_root[onDataFunction](caller);
}
Frame 413
function loadTracker() {
var _local1 = new Date().getTime();
loadMovieNum ("tracker.swf?" + _local1, 10000);
}
function winCheat() {
myGameWorld.winCheat();
}
function loseCheat() {
myGameWorld.loseCheat();
}
stop();
myGameWorld = new GameWorld(GameWorldMC);
_root.levelIndex = 0;
myGameWorld.Init(_root.levelIndex);
myGameWorld.InitValues(0, 3, 3);
stop();
Symbol 7 Button
on (release) {
_root.levelIndex = Number(lvl.text);
this._visible = false;
stopAllSounds();
_root.RestartLevelAdapter();
}
Symbol 24 Button
on (release) {
_parent.gotoAndPlay("titlecardOut");
_root.loadTracker();
}
Symbol 25 MovieClip Frame 1
stop();
Symbol 25 MovieClip Frame 110
stop();
Symbol 27 MovieClip Frame 1
stop();
Symbol 27 MovieClip Frame 25
stop();
Symbol 29 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 1
stop();
Symbol 33 MovieClip Frame 1
stop();
Symbol 33 MovieClip Frame 23
this.caller.PlayJets();
Symbol 35 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 55
this.caller.FadeToJets();
Symbol 37 MovieClip Frame 1
stop();
Symbol 39 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 1
stop();
Symbol 45 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 23
stop();
Symbol 49 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 23
stop();
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 23
stop();
Symbol 53 MovieClip Frame 1
stop();
Symbol 53 MovieClip Frame 23
stop();
Symbol 55 MovieClip Frame 1
stop();
Symbol 57 MovieClip Frame 1
stop();
Symbol 59 MovieClip Frame 1
stop();
Symbol 59 MovieClip Frame 23
stop();
Symbol 61 MovieClip Frame 1
stop();
Symbol 61 MovieClip Frame 23
stop();
Symbol 63 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 23
stop();
Symbol 65 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 60
stop();
Symbol 72 MovieClip Frame 56
gotoAndStop (1);
Symbol 73 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 2
i = 1;
row = 1;
columns = 2;
tak = 1;
netak = 1;
column = 1;
Symbol 73 MovieClip Frame 3
column = columns;
row = netak;
while (column > tak) {
if ((row < 8) and (column < 30)) {
duplicateMovieClip ("c", "c" + i, 50000 - i);
setProperty("c" + i, _rotation , column * 45);
setProperty("c" + i, _x , Number(column * 5) + 225);
setProperty("c" + i, _y , Number(row * 5) + 150);
}
row = row + 1;
column = column - 1;
i = i + 1;
}
Symbol 73 MovieClip Frame 4
gotoAndPlay (3);
columns = columns + 2;
if (i > 360) {
tak = tak + 2;
}
if (i > 850) {
gotoAndStop (1);
}
Symbol 73 MovieClip Frame 10
i = 1;
row = 1;
columns = 2;
tak = 1;
netak = 1;
column = 1;
launch = false;
Symbol 73 MovieClip Frame 11
column = columns;
row = netak;
while (column > tak) {
if ((row < 8) and (column < 30)) {
duplicateMovieClip ("c", "c" + i, 50000 - i);
setProperty("c" + i, _rotation , column * 45);
setProperty("c" + i, _x , Number(column * 5) + 225);
setProperty("c" + i, _y , Number(row * 5) + 150);
}
row = row + 1;
column = column - 1;
i = i + 1;
}
Symbol 73 MovieClip Frame 12
gotoAndPlay (11);
columns = columns + 2;
if (i > 360) {
tak = tak + 2;
}
if ((i > 800) && (launch == false)) {
_parent.gotoAndPlay("intro");
launch = true;
}
if (i > 850) {
gotoAndStop (1);
}
Symbol 73 MovieClip Frame 20
i = 1;
row = 1;
columns = 2;
tak = 1;
netak = 1;
column = 1;
launch = false;
Symbol 73 MovieClip Frame 21
column = columns;
row = netak;
while (column > tak) {
if ((row < 8) and (column < 30)) {
duplicateMovieClip ("c", "c" + i, 50000 - i);
setProperty("c" + i, _rotation , column * 45);
setProperty("c" + i, _x , Number(column * 5) + 225);
setProperty("c" + i, _y , Number(row * 5) + 150);
}
row = row + 1;
column = column - 1;
i = i + 1;
}
Symbol 73 MovieClip Frame 22
gotoAndPlay (21);
columns = columns + 2;
if (i > 360) {
tak = tak + 2;
}
if ((i > 850) && (launch == false)) {
_parent.gotoAndPlay("gameStart");
launch = true;
}
if (i > 850) {
gotoAndStop (1);
_parent.story_mc.gotoAndStop("hide");
}
Symbol 73 MovieClip Frame 30
blk.gotoAndPlay(1);
i = 1;
row = 1;
columns = 2;
tak = 1;
netak = 1;
column = 1;
launch = false;
Symbol 73 MovieClip Frame 31
column = columns;
row = netak;
while (column > tak) {
if ((row < 8) and (column < 30)) {
duplicateMovieClip ("c", "c" + i, 50000 - i);
setProperty("c" + i, _rotation , column * 45);
setProperty("c" + i, _x , Number(column * 5) + 225);
setProperty("c" + i, _y , Number(row * 5) + 150);
}
row = row + 1;
column = column - 1;
i = i + 1;
}
Symbol 73 MovieClip Frame 32
gotoAndPlay (31);
columns = columns + 2;
if (i > 360) {
tak = tak + 2;
}
if ((i > 800) && (launch == false)) {
_root.RestartLevelAdapter();
launch = true;
}
if (i > 850) {
_parent.story_mc.gotoAndStop("hide");
}
Symbol 73 MovieClip Frame 40
i = 1;
row = 1;
columns = 2;
tak = 1;
netak = 1;
column = 1;
launch = false;
Symbol 73 MovieClip Frame 41
column = columns;
row = netak;
while (column > tak) {
if ((row < 8) and (column < 30)) {
duplicateMovieClip ("c", "c" + i, 50000 - i);
setProperty("c" + i, _rotation , column * 45);
setProperty("c" + i, _x , Number(column * 5) + 225);
setProperty("c" + i, _y , Number(row * 5) + 150);
}
row = row + 1;
column = column - 1;
i = i + 1;
}
Symbol 73 MovieClip Frame 42
gotoAndPlay (41);
columns = columns + 2;
if (i > 360) {
tak = tak + 2;
}
if ((i > 800) && (launch == false)) {
_root.story_mc.gotoAndPlay("story_1");
launch = true;
}
if (i > 850) {
gotoAndStop (1);
}
Symbol 73 MovieClip Frame 50
i = 1;
row = 1;
columns = 2;
tak = 1;
netak = 1;
column = 1;
launch = false;
Symbol 73 MovieClip Frame 51
column = columns;
row = netak;
while (column > tak) {
if ((row < 8) and (column < 30)) {
duplicateMovieClip ("c", "c" + i, 50000 - i);
setProperty("c" + i, _rotation , column * 45);
setProperty("c" + i, _x , Number(column * 5) + 225);
setProperty("c" + i, _y , Number(row * 5) + 150);
}
row = row + 1;
column = column - 1;
i = i + 1;
}
Symbol 73 MovieClip Frame 52
gotoAndPlay (51);
columns = columns + 2;
if (i > 360) {
tak = tak + 2;
}
if ((i > 800) && (launch == false)) {
_root.story_mc.gotoAndPlay("story_2");
launch = true;
}
if (i > 850) {
gotoAndStop (1);
}
Symbol 73 MovieClip Frame 60
i = 1;
row = 1;
columns = 2;
tak = 1;
netak = 1;
column = 1;
launch = false;
Symbol 73 MovieClip Frame 61
column = columns;
row = netak;
while (column > tak) {
if ((row < 8) and (column < 30)) {
duplicateMovieClip ("c", "c" + i, 50000 - i);
setProperty("c" + i, _rotation , column * 45);
setProperty("c" + i, _x , Number(column * 5) + 225);
setProperty("c" + i, _y , Number(row * 5) + 150);
}
row = row + 1;
column = column - 1;
i = i + 1;
}
Symbol 73 MovieClip Frame 62
gotoAndPlay (61);
columns = columns + 2;
if (i > 360) {
tak = tak + 2;
}
if ((i > 800) && (launch == false)) {
_root.story_mc.gotoAndPlay("story_3");
launch = true;
}
if (i > 850) {
gotoAndStop (1);
}
Symbol 73 MovieClip Frame 70
i = 1;
row = 1;
columns = 2;
tak = 1;
netak = 1;
column = 1;
launch = false;
Symbol 73 MovieClip Frame 71
column = columns;
row = netak;
while (column > tak) {
if ((row < 8) and (column < 30)) {
duplicateMovieClip ("c", "c" + i, 50000 - i);
setProperty("c" + i, _rotation , column * 45);
setProperty("c" + i, _x , Number(column * 5) + 225);
setProperty("c" + i, _y , Number(row * 5) + 150);
}
row = row + 1;
column = column - 1;
i = i + 1;
}
Symbol 73 MovieClip Frame 72
gotoAndPlay (71);
columns = columns + 2;
if (i > 360) {
tak = tak + 2;
}
if ((i > 800) && (launch == false)) {
_root.story_mc.gotoAndPlay("story_win");
launch = true;
}
if (i > 850) {
gotoAndStop (1);
}
Symbol 73 MovieClip Frame 80
i = 1;
row = 1;
columns = 2;
tak = 1;
netak = 1;
column = 1;
launch = false;
Symbol 73 MovieClip Frame 81
column = columns;
row = netak;
while (column > tak) {
if ((row < 8) and (column < 30)) {
duplicateMovieClip ("c", "c" + i, 50000 - i);
setProperty("c" + i, _rotation , column * 45);
setProperty("c" + i, _x , Number(column * 5) + 225);
setProperty("c" + i, _y , Number(row * 5) + 150);
}
row = row + 1;
column = column - 1;
i = i + 1;
}
Symbol 73 MovieClip Frame 82
gotoAndPlay (81);
columns = columns + 2;
if (i > 360) {
tak = tak + 2;
}
if ((i > 800) && (launch == false)) {
_root.story_mc.gotoAndPlay("story_lose");
launch = true;
}
if (i > 850) {
gotoAndStop (1);
}
Symbol 159 MovieClip Frame 1
stop();
Symbol 188 MovieClip Frame 7
stop();
Symbol 239 MovieClip Frame 1
stop();
Instance of Symbol 221 MovieClip "fallArea" in Symbol 239 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Symbol 239 MovieClip Frame 37
stop();
this.caller.world.map.ReplaceIceberg(this.id, this.newType, this.newVect);
Symbol 239 MovieClip Frame 57
stop();
this.caller.world.map.ReplaceIceberg(this.id, this.newType, this.newVect);
Symbol 279 MovieClip Frame 1
stop();
Instance of Symbol 178 MovieClip "fallArea" in Symbol 279 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Symbol 279 MovieClip Frame 37
stop();
Symbol 394 Button
on (release) {
stopAllSounds();
_root.gotoAndPlay(1);
}
Symbol 417 Button
on (release) {
stopAllSounds();
_root.ContinueGameAdapter();
}
Symbol 418 MovieClip Frame 1
stop();
Symbol 418 MovieClip Frame 229
stop();
_parent.batWipe.gotoAndPlay("toGame");
Symbol 418 MovieClip Frame 432
_parent.batWipe.gotoAndPlay("toRestart");
Symbol 418 MovieClip Frame 460
stop();
Symbol 418 MovieClip Frame 697
_parent.batWipe.gotoAndPlay("toRestart");
Symbol 418 MovieClip Frame 725
stop();
Symbol 418 MovieClip Frame 939
_parent.batWipe.gotoAndPlay("toRestart");
Symbol 418 MovieClip Frame 967
stop();
Symbol 418 MovieClip Frame 1247
stop();
Symbol 418 MovieClip Frame 1258
Symbol 418 MovieClip Frame 1470
stop();
Symbol 419 MovieClip Frame 1
stop();
Symbol 420 MovieClip Frame 1
stop();
Instance of Symbol 419 MovieClip "bgLoop" in Symbol 420 MovieClip Frame 1
onClipEvent (load) {
Scroll = function (amt) {
this._y = this._y + amt;
if (this._y > 250) {
this._y = this._y - 400;
} else if (this._y < -150) {
this._y = this._y + 400;
}
};
}
Symbol 422 MovieClip Frame 4
stop();
Symbol 428 MovieClip Frame 1
stop();
Symbol 439 MovieClip Frame 1
_parent.caller.playLandSound();
Symbol 439 MovieClip Frame 4
stop();
_parent.caller.mc.swapDepths(_parent.caller.startDepth);
_parent.caller.mode = _parent.caller.normalMode;
Symbol 441 MovieClip Frame 20
stop();
_parent.caller.mode = _parent.caller.normalMode;
Symbol 442 MovieClip Frame 1
stop();
Symbol 442 MovieClip Frame 22
stop();
Instance of Symbol 178 MovieClip "fallArea" in Symbol 462 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Symbol 462 MovieClip Frame 2
stop();
Symbol 462 MovieClip Frame 37
stop();
Symbol 466 MovieClip Frame 1
stop();
Instance of Symbol 178 MovieClip "fallArea" in Symbol 466 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Symbol 466 MovieClip Frame 37
stop();
Symbol 513 MovieClip Frame 1
stop();
Instance of Symbol 485 MovieClip "fallArea" in Symbol 513 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Symbol 513 MovieClip Frame 37
stop();
this.caller.world.map.ReplaceIceberg(this.id, this.newType, this.newVect);
Symbol 513 MovieClip Frame 48
stop();
this.caller.world.map.ReplaceIceberg(this.id, this.newType1, this.newVect1);
this.caller.world.map.ReplaceIceberg(this.id, this.newType2, this.newVect2);
Symbol 513 MovieClip Frame 59
stop();
this.caller.world.map.ReplaceIceberg(this.id, this.newType, this.newVect);
Symbol 544 MovieClip Frame 1
stop();
Instance of Symbol 221 MovieClip "fallArea" in Symbol 544 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Symbol 544 MovieClip Frame 37
stop();
this.caller.world.map.ReplaceIceberg(this.id, this.newType, this.newVect);
Symbol 544 MovieClip Frame 57
stop();
this.caller.world.map.ReplaceIceberg(this.id, this.newType, this.newVect);
Symbol 571 MovieClip Frame 1
stop();
Instance of Symbol 178 MovieClip "fallArea" in Symbol 571 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Symbol 571 MovieClip Frame 32
stop();
this.caller.world.map.ReplaceIceberg(this.id, this.newType, this.newVect);
Symbol 588 MovieClip Frame 1
stop();
Instance of Symbol 178 MovieClip "jumpArea" in Symbol 588 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 593 MovieClip "blockRight" in Symbol 604 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 595 MovieClip "blockLeft" in Symbol 604 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Symbol 616 MovieClip Frame 1
stop();
Instance of Symbol 609 MovieClip "shipLeft" in Symbol 616 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 611 MovieClip "shipRight" in Symbol 616 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 613 MovieClip "blockLeft" in Symbol 616 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 615 MovieClip "blockRight" in Symbol 616 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Symbol 623 MovieClip Frame 1
stop();
Instance of Symbol 621 MovieClip "blockRight" in Symbol 623 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 622 MovieClip "blockLeft" in Symbol 623 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Symbol 627 MovieClip Frame 1
stop();
Instance of Symbol 621 MovieClip "blockRight" in Symbol 627 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 622 MovieClip "blockLeft" in Symbol 627 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Symbol 631 MovieClip Frame 1
stop();
Instance of Symbol 621 MovieClip "blockRight" in Symbol 631 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 622 MovieClip "blockLeft" in Symbol 631 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Symbol 639 MovieClip Frame 1
stop();
Instance of Symbol 636 MovieClip "blockRight" in Symbol 639 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 638 MovieClip "blockLeft" in Symbol 639 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 482 MovieClip "blockRight" in Symbol 642 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 482 MovieClip "blockRight" in Symbol 645 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 649 MovieClip "blockRight" in Symbol 650 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 482 MovieClip "blockLeft" in Symbol 653 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 482 MovieClip "blockLeft" in Symbol 656 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 649 MovieClip "shipLeft" in Symbol 659 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 663 MovieClip "blockLeft" in Symbol 664 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 482 MovieClip "blockLeft" in Symbol 667 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 649 MovieClip "shipLeft" in Symbol 670 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 663 MovieClip "blockLeft" in Symbol 673 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 482 MovieClip "blockLeft" in Symbol 676 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 649 MovieClip "shipLeft" in Symbol 679 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 683 MovieClip "blockLeft" in Symbol 686 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 685 MovieClip "blockRight" in Symbol 686 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 482 MovieClip "blockLeft" in Symbol 689 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 482 MovieClip "blockRight" in Symbol 689 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 482 MovieClip "blockLeft" in Symbol 692 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 482 MovieClip "blockRight" in Symbol 692 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 482 MovieClip "blockLeft" in Symbol 695 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 482 MovieClip "blockRight" in Symbol 695 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 482 MovieClip "blockLeft" in Symbol 695 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 482 MovieClip "blockRight" in Symbol 695 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Instance of Symbol 178 MovieClip "powerupArea" in Symbol 712 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Symbol 725 MovieClip Frame 1
stop();
Symbol 726 MovieClip Frame 1
stop();
Symbol 739 MovieClip Frame 1
stop();
Symbol 740 MovieClip Frame 1
stop();
Symbol 740 MovieClip Frame 10
stop();
Symbol 745 MovieClip Frame 1
stop();
Symbol 745 MovieClip Frame 80
gotoAndStop ("hide");
_quality = "low";
Instance of Symbol 442 MovieClip "batboat" in Symbol 746 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 462 MovieClip "mBerg1" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "fall";
}
Instance of Symbol 465 MovieClip "missile" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "missile";
}
Instance of Symbol 466 MovieClip "mBerg2" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "fall";
}
Instance of Symbol 279 MovieClip "mBerg3" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "fall";
}
Instance of Symbol 513 MovieClip "wallBerg" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "fall";
}
Instance of Symbol 544 MovieClip "lBerg2" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "fall";
}
Instance of Symbol 239 MovieClip "lBerg1" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "fall";
}
Instance of Symbol 571 MovieClip "closedJump" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "fall";
}
Instance of Symbol 588 MovieClip "openJump" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "jump";
}
Instance of Symbol 604 MovieClip "sideBerg" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "wall";
}
Instance of Symbol 616 MovieClip "shipFront" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "wall";
}
Instance of Symbol 623 MovieClip "shipMid1" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "wall";
}
Instance of Symbol 627 MovieClip "shipMid2" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "wall";
}
Instance of Symbol 631 MovieClip "shipMid3" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "wall";
}
Instance of Symbol 639 MovieClip "shipRear" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "wall";
}
Instance of Symbol 642 MovieClip "leftWoodDockRear" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "wall";
}
Instance of Symbol 645 MovieClip "leftWoodDockMid" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "wall";
}
Instance of Symbol 650 MovieClip "leftWoodDockFront" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "wall";
}
Instance of Symbol 653 MovieClip "rightWoodDockRear" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "wall";
}
Instance of Symbol 656 MovieClip "rightWoodDockMid" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "wall";
}
Instance of Symbol 659 MovieClip "rightWoodDockFront" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "wall";
}
Instance of Symbol 664 MovieClip "leftConcDockRear" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "wall";
}
Instance of Symbol 667 MovieClip "leftConcDockMid" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "wall";
}
Instance of Symbol 670 MovieClip "leftConcDockFront" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "wall";
}
Instance of Symbol 673 MovieClip "rightConcDockRear" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "wall";
}
Instance of Symbol 676 MovieClip "rightConcDockMid" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "wall";
}
Instance of Symbol 679 MovieClip "rightConcDockFront" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "wall";
}
Instance of Symbol 686 MovieClip "islandFront" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "wall";
}
Instance of Symbol 689 MovieClip "islandMid1" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "wall";
}
Instance of Symbol 692 MovieClip "islandMid2" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "wall";
}
Instance of Symbol 695 MovieClip "islandRear" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "wall";
}
Instance of Symbol 712 MovieClip "diamond" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
type = "powerup";
}
Instance of Symbol 740 MovieClip "tallyFade" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(8950);
}
Instance of Symbol 745 MovieClip "levelPrompt_mc" in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(8900);
}
Symbol 746 MovieClip Frame 9
this.caller.StartGame();
stop();
Symbol 750 MovieClip Frame 4
stop();