Frame 2
fscommand ("fullscreen", false);
fscommand ("allowscale", false);
fscommand ("showmenu", false);
smoothpercent = (rSmoothpercent = 0);
function makeMovieSpringTo(movie_mc, destination, springratio) {
var _local1 = this;
_local1._visible = true;
movie_mc.destination = destination;
movie_mc.springratio = springratio;
movie_mc.finished = false;
movie_mc.onEnterFrame = function () {
var _local1 = this;
var _local2 = _local1.destination - _local1._y;
var _local3 = _local2 / _local1.springratio;
_local1._y = _local1._y + _local3;
if (Math.abs(_local2) < 0.1) {
_local1._y = _local1.destination;
movie_mc.finished = true;
}
};
}
Frame 3
bytesloaded = this.getBytesLoaded();
if (bytesloaded > 0) {
bytestotal = this.getBytesTotal();
percent = Math.floor((bytesloaded / bytestotal) * 100);
smoothpercent = smoothpercent + ((percent - smoothpercent) / 3);
rSmoothpercent = Math.round(smoothpercent);
loadingbar.gotoAndStop(rSmoothpercent);
if (rSmoothpercent == 100) {
this.gotoAndPlay("loaded");
}
}
Frame 4
gotoAndPlay(_currentframe - 1);
Frame 5
play();
Frame 6
mcbtns.gotoAndPlay(2);
stop();
Frame 7
makeMovieSpringTo(mcscreen, -146, 3);
stop();
Frame 8
_global.levelWidths = ["null", 7, 8, 10, 10, 10];
_global.lives = 3;
_global.level = 1;
score = 0;
Frame 17
makeMovieSpringTo(bginstructions, -146, 3);
_global.levelWidths = ["null", 7, 8, 10, 10, 12];
_global.lives = 3;
_global.level = 1;
score = 0;
stop();
Frame 33
makeMovieSpringTo(bginstructions, 144, 3);
Frame 52
stop();
Frame 66
this.gotoAndPlay("mainmenu");
Frame 91
game = "";
stop();
Frame 103
if (game == "") {
gotoAndPlay ("choose game");
} else {
gotoAndPlay(game);
}
Frame 110
function playTransition() {
timing = setInterval(function () {
eval ("mc_transition" add transitionCount).gotoAndPlay(2);
if (transitionCount < -9) {
starttext.gotoAndPlay("start");
delete transitionCount;
clearInterval(timing);
} else {
transitionCount--;
}
}, 35);
}
function movecamera() {
var _local1 = new Object();
_local1.x = world_mc.player_mc._x;
_local1.y = world_mc.player_mc._y;
world_mc.localToGlobal(_local1);
return(_local1);
}
removeMovieClip("starttext");
attachMovie("mc_start", "starttext", 30, {_x:280, _y:143});
_quality = "low";
osd.gotoAndStop("TargetGame");
course.gotoAndStop(Number(_global.level) + 1);
transitionCount = 11;
world_mc._x = (-(levelWidths[level] - 5)) * 25;
world_mc._y = 300;
tX = 300;
tY = 250;
vx = 0;
vy = 0;
K = 3;
D = 0.3;
LOOK = -100;
var i = 0;
while (i < 11) {
var mc = attachMovie("mc_transition", "mc_transition" + i, 10 + i);
mc._x = 0;
mc._y = 27 * i;
i++;
}
this.onEnterFrame = function () {
point = movecamera();
var _local2 = LOOK * Math.cos((world_mc.r * Math.PI) / 180);
var _local1 = LOOK * Math.sin((world_mc.r * Math.PI) / 180);
vx = vx + (((_local2 + tx) - point.x) / K);
vy = vy + (((_local1 + ty) - point.y) / K);
vx = vx * D;
vy = vy * D;
world_mc._x = world_mc._x + vx;
world_mc._y = world_mc._y + vy;
if (Math.abs(vx - oldvx) < 0.04) {
if (transitionCount == 11) {
playTransition();
}
}
oldvx = vx;
oldvy = vy;
};
stop();
Instance of Symbol 538 MovieClip "counter" in Frame 110
onClipEvent (load) {
function render() {
var _local1 = this;
while (msecs.length < 2) {
msecs = "0" + msecs;
}
if (secs.length < 2) {
secs = "0" + secs;
}
if (mins.length < 2) {
mins = "0" + mins;
}
for (movie in _local1) {
if (_local1[movie]._parent == _local1) {
_local1[movie].evaluateFrameFrom(_local1);
}
}
}
function stepframe() {
if (check) {
timeBase = getTimer();
check = 0;
}
if (timerOn) {
timeNow = getTimer();
microtime = timeNow - timeBase;
var _local1 = String(microtime / 1000).split(".");
msecs = _local1[1].substr(0, 2);
secs = Math.floor(microtime / 1000);
mins = Math.floor(microtime / 60000);
msecs = String(100 - msecs);
secs = timeObj.secs - secs;
if ((secs % 60) < 0) {
timeObj.secs = 59;
timeObj.mins--;
check = 1;
} else {
secs = String(secs % 60);
}
mins = String(mins % 60);
mins = timeObj.mins - mins;
if ((mins % 60) < 0) {
timeObj.mins = 59;
check = 1;
} else {
mins = String(mins % 60);
}
if ((mins == 0) && (secs == 10)) {
if (_level0.starttext._currentframe == 1) {
_level0.starttext.gotoAndPlay("hurry");
}
}
if (((mins == 0) && (secs == 0)) && (msecs <= 10)) {
if (_level0.starttext._currentframe < 152) {
_level0.starttext.gotoAndPlay("lostlife");
msecs = 0;
timerOn = 0;
}
}
render();
}
}
MovieClip.prototype.evaluateFrameFrom = function (variableClip) {
var _local1 = this._name.split("_");
var _local3 = variableClip[_local1[0]];
var character = Number(_local1[1]);
var _local2 = 1 + Number(_local3.charAt(character));
if (this._currentframe != _local2) {
this.gotoAndStop(_local2);
}
};
timeObj = {mins:1, secs:21, msecs:0};
check = 0;
timerOn = 0;
mins = String(timeObj.mins);
secs = String(timeObj.secs + 1);
msecs = String(timeObj.msecs);
render();
}
onClipEvent (enterFrame) {
stepframe();
}
Frame 121
function playTransition() {
timing = setInterval(function () {
eval ("mc_transition" add transitionCount).gotoAndPlay(2);
if (transitionCount < -9) {
starttext.gotoAndPlay("start");
delete transitionCount;
clearInterval(timing);
} else {
transitionCount--;
}
}, 35);
}
function movecamera() {
var _local1 = new Object();
_local1.x = world_mc.player_mc._x;
_local1.y = world_mc.player_mc._y;
world_mc.localToGlobal(_local1);
return(_local1);
}
removeMovieClip("starttext");
attachMovie("mc_start", "starttext", 30, {_x:280, _y:143});
_quality = "low";
osd.gotoAndStop("FlagGame");
course.gotoAndStop(Number(_global.level) + 1);
transitionCount = 11;
world_mc._x = (-(levelWidths[level] - 5)) * 25;
world_mc._y = 300;
tX = 300;
tY = 250;
vx = 0;
vy = 0;
K = 3;
D = 0.3;
LOOK = -100;
var i = 0;
while (i < 11) {
var mc = attachMovie("mc_transition", "mc_transition" + i, 10 + i);
mc._x = 0;
mc._y = 27 * i;
i++;
}
this.onEnterFrame = function () {
point = movecamera();
var _local2 = LOOK * Math.cos((world_mc.r * Math.PI) / 180);
var _local1 = LOOK * Math.sin((world_mc.r * Math.PI) / 180);
vx = vx + (((_local2 + tx) - point.x) / K);
vy = vy + (((_local1 + ty) - point.y) / K);
vx = vx * D;
vy = vy * D;
world_mc._x = world_mc._x + vx;
world_mc._y = world_mc._y + vy;
if (Math.abs(vx - oldvx) < 0.04) {
if (transitionCount == 11) {
playTransition();
}
}
oldvx = vx;
oldvy = vy;
};
stop();
Frame 142
this.gotoAndPlay("mainMenu");
Frame 160
if (game == "flagGame") {
pickups = ScoreFlags;
gameTitle = "OBJETIVOS";
} else if (game == "targetGame") {
pickups = ScoreTargets;
gameTitle = "OBJETIVOS";
}
multiplier = "x" add String((time.secs / 60) + 1).substr(0, 4);
score = Number(score) + Math.round((((time.secs / 60) + 1) * pickups) * 10);
time = (time.mins add ":") add time.secs;
Frame 167
stop();
Frame 175
if (game == "") {
gotoAndPlay ("complete level");
} else {
_global.level++;
if (_global.level > 5) {
gotoAndPlay ("game complete");
} else {
gotoAndPlay(game);
}
}
Frame 186
if (game == "flagGame") {
pickups = ScoreFlags;
gameTitle = "OBJETIVOS";
} else if (game == "targetGame") {
pickups = ScoreTargets;
gameTitle = "OBJETIVOS";
}
Frame 193
stop();
Frame 200
if (game == "") {
gotoAndPlay ("level failed");
} else {
gotoAndPlay(game);
}
Frame 206
if (game == "flagGame") {
pickups = ScoreFlags;
gameTitle = "OBJETIVOS";
} else if (game == "targetGame") {
pickups = ScoreTargets;
gameTitle = "OBJETIVOS";
}
multiplier = "x0";
score = Number(score) + Number(pickups);
time = (time.mins add ":") add time.secs;
Frame 213
stop();
Frame 219
if (game == "flagGame") {
this.cText.gotoAndStop(2);
} else if (game == "targetGame") {
this.cText.gotoAndStop(1);
}
Frame 226
stop();
Frame 227
if (game == "flagGame") {
pickups = ScoreFlags;
gameTitle = "OBJETIVOS";
} else if (game == "targetGame") {
pickups = ScoreTargets;
gameTitle = "OBJETIVOS";
}
multiplier = "x" add String((time.secs / 60) + 1).substr(0, 4);
score = Number(score) + Math.round((((time.secs / 60) + 1) * pickups) * 10);
time = (time.mins add ":") add time.secs;
stop();
Symbol 52 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 2
play();
Symbol 52 MovieClip Frame 6
_root.world_mc.hit = 0;
stop();
Symbol 78 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 2
stop();
Symbol 78 MovieClip Frame 3
stop();
Symbol 78 MovieClip Frame 4
play();
Symbol 78 MovieClip Frame 9
stop();
Symbol 81 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 2
stop();
Symbol 87 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 2
stop();
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 2
stop();
Symbol 97 MovieClip Frame 1
stop();
Symbol 97 MovieClip Frame 2
stop();
Symbol 102 MovieClip Frame 1
stop();
Symbol 102 MovieClip Frame 2
stop();
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 2
stop();
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 2
stop();
Symbol 113 MovieClip Frame 1
stop();
Symbol 113 MovieClip Frame 2
stop();
Symbol 113 MovieClip Frame 3
stop();
Symbol 113 MovieClip Frame 4
stop();
Symbol 113 MovieClip Frame 5
stop();
Symbol 118 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 2
stop();
Symbol 141 MovieClip Frame 1
_level0.world_mc.playsound("sound_digger");
Symbol 158 MovieClip [tile] Frame 1
stop();
hitflag = 0;
sortOrigin_mc._visible = false;
Symbol 158 MovieClip [tile] Frame 2
stop();
Symbol 158 MovieClip [tile] Frame 3
stop();
Symbol 158 MovieClip [tile] Frame 4
stop();
Symbol 158 MovieClip [tile] Frame 5
stop();
Symbol 158 MovieClip [tile] Frame 6
grass.swapDepths(20);
var i = 0;
while (i < (_level0.world_mc.visAreaX - 2)) {
var mc1 = this.attachMovie("groundtile", "groundtile" + i, i);
mc1.gotoAndStop(random(3) + 1);
mc1._x = 59 * i;
i++;
}
stop();
Symbol 158 MovieClip [tile] Frame 7
stop();
Symbol 158 MovieClip [tile] Frame 8
stop();
Symbol 158 MovieClip [tile] Frame 9
stop();
Symbol 158 MovieClip [tile] Frame 10
stop();
Symbol 158 MovieClip [tile] Frame 11
stop();
Symbol 158 MovieClip [tile] Frame 12
stop();
Symbol 158 MovieClip [tile] Frame 13
stop();
Symbol 158 MovieClip [tile] Frame 14
stop();
Symbol 158 MovieClip [tile] Frame 15
stop();
Symbol 158 MovieClip [tile] Frame 16
stop();
Symbol 158 MovieClip [tile] Frame 17
stop();
Symbol 158 MovieClip [tile] Frame 18
flag.gotoAndStop(1);
stop();
Symbol 158 MovieClip [tile] Frame 19
flag.gotoAndStop(2);
stop();
Symbol 158 MovieClip [tile] Frame 20
flag.gotoAndStop(3);
stop();
Symbol 158 MovieClip [tile] Frame 21
stop();
Symbol 158 MovieClip [tile] Frame 22
stop();
Symbol 158 MovieClip [tile] Frame 23
targ.gotoAndStop(random(5) + 1);
stop();
Symbol 158 MovieClip [tile] Frame 24
stop();
Symbol 158 MovieClip [tile] Frame 25
stop();
Symbol 158 MovieClip [tile] Frame 26
stop();
Symbol 158 MovieClip [tile] Frame 27
fence.swapDepths(20);
var i = 0;
while (i < (_level0.world_mc.visAreaX - 2)) {
var mc1 = this.attachMovie("chalkLineTile", "chalkLineTile" + i, i);
mc1.gotoAndStop(random(3) + 1);
mc1._x = 59 * i;
i++;
}
stop();
Symbol 158 MovieClip [tile] Frame 28
grass.swapDepths(20);
var i = 0;
while (i < (_level0.world_mc.visAreaX - 2)) {
var mc1 = this.attachMovie("chalkLineTile", "chalkLineTile" + i, i);
mc1.gotoAndStop(random(3) + 1);
mc1._x = 59 * i;
i++;
}
stop();
Symbol 158 MovieClip [tile] Frame 29
stop();
Symbol 158 MovieClip [tile] Frame 30
speed = 2 + random(2);
this.onEnterFrame = function () {
var _local1 = _parent;
if (random(60) == 1) {
_local1.playsound("sound_dog");
}
if (x < ((_local1.mapBX - (2 * _local1.tileW)) - 20)) {
x = x + speed;
var _local2 = _local1.toWorld(x, y).x + sortOrigin_mc._x;
var _local3 = _local1.toWorld(x, y).y + sortOrigin_mc._y;
sprite.setPosition(_local2, _local3);
_x = _local1.toWorld(x, y).x;
} else {
dog.gotoAndStop(3);
dog._xscale = -100;
delete this.onEnterFrame;
}
};
stop();
Symbol 158 MovieClip [tile] Frame 31
speed = 1;
this.onEnterFrame = function () {
var _local1 = _parent;
if (random(150) == 1) {
_local1.playsound("sound_savages");
}
y = y - speed;
var _local2 = _local1.toWorld(x, y).x + sortOrigin_mc._x;
var _local3 = _local1.toWorld(x, y).y + sortOrigin_mc._y;
sprite.setPosition(_local2, _local3);
_x = _local1.toWorld(x, y).x;
_y = _local1.toWorld(x, y).y;
};
stop();
Symbol 165 MovieClip [groundtile] Frame 1
stop();
Symbol 165 MovieClip [groundtile] Frame 2
stop();
Symbol 165 MovieClip [groundtile] Frame 3
stop();
Symbol 172 MovieClip [chalkLineTile] Frame 1
stop();
Symbol 172 MovieClip [chalkLineTile] Frame 2
stop();
Symbol 172 MovieClip [chalkLineTile] Frame 3
stop();
Symbol 177 MovieClip Frame 6
_level0.world_mc.playsound("sound_bonus");
Symbol 177 MovieClip Frame 25
removeMovieClip(_parent);
Symbol 180 MovieClip Frame 6
_level0.world_mc.playsound("sound_bonus");
Symbol 180 MovieClip Frame 25
removeMovieClip(_parent);
Symbol 181 MovieClip [text_bonus] Frame 1
stop();
Symbol 181 MovieClip [text_bonus] Frame 2
frame = "normal";
gotoAndPlay ("animate");
Symbol 181 MovieClip [text_bonus] Frame 3
frame = "bonus";
gotoAndPlay ("animate");
Symbol 181 MovieClip [text_bonus] Frame 4
frame = "life";
gotoAndPlay ("animate");
Symbol 181 MovieClip [text_bonus] Frame 5
play();
Symbol 181 MovieClip [text_bonus] Frame 7
gotoAndStop(frame);
Symbol 181 MovieClip [text_bonus] Frame 8
stop();
Symbol 181 MovieClip [text_bonus] Frame 9
stop();
Symbol 181 MovieClip [text_bonus] Frame 10
stop();
Symbol 197 MovieClip [mc_start] Frame 1
stop();
Symbol 197 MovieClip [mc_start] Frame 2
play();
Symbol 197 MovieClip [mc_start] Frame 36
_level0.gamesound.gotoAndPlay(2);
_level0.world_mc.playsound("sound_whistle");
Symbol 197 MovieClip [mc_start] Frame 44
_level0.counter.check = 1;
_level0.counter.timerOn = 1;
_level0.world_mc.playerControl(6, 1, 1, 4, 1);
Symbol 197 MovieClip [mc_start] Frame 56
gotoAndStop (1);
Symbol 197 MovieClip [mc_start] Frame 57
_level0.world_mc.playsound("sound_levelclear");
_level.counter.timerOn = 0;
play();
Symbol 197 MovieClip [mc_start] Frame 97
_level0.time = {mins:_level0.counter.mins, secs:_level0.counter.secs};
_root.world_mc.exitTo("complete level");
gotoAndStop (1);
Symbol 197 MovieClip [mc_start] Frame 98
play();
Symbol 197 MovieClip [mc_start] Frame 104
_level0.world_mc.playsound("sound_cmon");
Symbol 197 MovieClip [mc_start] Frame 130
gotoAndStop (1);
Symbol 197 MovieClip [mc_start] Frame 131
_level0.gamesound.gotoAndStop(1);
play();
Symbol 197 MovieClip [mc_start] Frame 158
gotoAndStop (1);
_level0.time = {mins:_level0.counter.mins, secs:_level0.counter.secs};
if (lives > 0) {
_level0.world_mc.exitTo("selected game");
} else {
_level0.world_mc.playsound("sound_gameover");
_level0.world_mc.exitTo("gameover");
}
Symbol 199 MovieClip [dust] Frame 1
_rotation = random(360);
_xscale = (random(50) + 10);
_yscale = _xscale;
_alpha = 90;
play();
Symbol 199 MovieClip [dust] Frame 2
_alpha = (_alpha - (2 + random(3)));
_xscale = (_xscale + 5);
_yscale = (_yscale + 5);
if (_alpha <= 0) {
gotoAndStop ("remove");
}
Symbol 199 MovieClip [dust] Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 199 MovieClip [dust] Frame 4
removeMovieClip(this);
Symbol 202 MovieClip [ball] Frame 1
sortOrigin_mc._visible = 0;
speed = 8;
bounds = {top:5, left:5, right:5, bottom:5, offsetX:60, offsetY:-60};
play();
Symbol 202 MovieClip [ball] Frame 2
if (x < 30) {
gotoAndPlay ("die");
} else {
x = x - speed;
var screenXwOffset = (_parent.toWorld(x, y).x + sortOrigin_mc._x);
var screenYwOffset = (_parent.toWorld(x, y).y + sortOrigin_mc._y);
sprite.setPosition(screenXwOffset, screenYwOffset);
_x = _parent.toWorld(x, y).x;
var targetHit = _parent.hitTarget(this);
if ((targetHit >= 2) and (targetHit <= 3)) {
_parent.createbonus(x, y, targetHit);
gotoAndPlay ("remove");
} else if (targetHit == 4) {
_parent._parent.TJstatus.gotoAndPlay("flash");
_parent.createbonus(x, y, targetHit);
gotoAndPlay ("remove");
}
}
play();
Symbol 202 MovieClip [ball] Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 202 MovieClip [ball] Frame 4
_level0.world_mc.playsound("sound_fence");
play();
Symbol 202 MovieClip [ball] Frame 6
_parent.sp.removeSprite(sprite);
Symbol 208 MovieClip [mc_transition] Frame 1
stop();
Symbol 208 MovieClip [mc_transition] Frame 2
play();
Symbol 208 MovieClip [mc_transition] Frame 8
removeMovieClip(this);
Symbol 221 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 6
_parent.gang.gotoAndPlay(2);
_parent.gotoAndPlay("screen");
Symbol 221 MovieClip Frame 12
stop();
Symbol 227 MovieClip Frame 1
stop();
Symbol 227 MovieClip Frame 100
stop();
Symbol 232 MovieClip Frame 1
stop();
Symbol 232 MovieClip Frame 15
_parent.gotoAndPlay("title");
stop();
Symbol 242 MovieClip Frame 1
play();
Symbol 242 MovieClip Frame 140
stop();
Symbol 245 Button
on (press) {
_parent.gotoAndPlay("instructions");
}
Symbol 247 Button
on (press) {
_parent.gotoAndPlay("choose game");
}
Symbol 258 Button
on (press) {
_parent.gotoAndPlay("instructionsOut");
}
Symbol 262 Button
on (press) {
gotoAndPlay(_currentframe + 1);
}
Symbol 269 Button
on (press) {
gotoAndPlay(_currentframe - 1);
}
Symbol 301 MovieClip Frame 1
stop();
Symbol 301 MovieClip Frame 2
stop();
Symbol 301 MovieClip Frame 3
stop();
Symbol 301 MovieClip Frame 4
stop();
Symbol 301 MovieClip Frame 5
stop();
Symbol 312 Button
on (press) {
_global.level = 1;
_parent.game = "targetGame";
_parent.gotoAndPlay("selected game");
}
Symbol 320 Button
on (press) {
_global.level = 1;
_parent.game = "flagGame";
_parent.gotoAndPlay("selected game");
}
Symbol 351 MovieClip Frame 1
stop();
Symbol 351 MovieClip Frame 2
stop();
Symbol 351 MovieClip Frame 3
stop();
Symbol 351 MovieClip Frame 4
stop();
Symbol 351 MovieClip Frame 5
stop();
Symbol 351 MovieClip Frame 6
stop();
Symbol 351 MovieClip Frame 7
play();
Symbol 351 MovieClip Frame 15
gotoAndStop (1);
Symbol 364 MovieClip Frame 1
stop();
Symbol 364 MovieClip Frame 2
stop();
Symbol 364 MovieClip Frame 3
stop();
Symbol 364 MovieClip Frame 4
stop();
Symbol 364 MovieClip Frame 5
stop();
Symbol 364 MovieClip Frame 6
stop();
Symbol 367 MovieClip Frame 1
stop();
Symbol 367 MovieClip Frame 2
play();
Symbol 367 MovieClip Frame 33
gotoAndStop (1);
Symbol 385 MovieClip Frame 1
stop();
Symbol 385 MovieClip Frame 2
stop();
Symbol 385 MovieClip Frame 3
stop();
Symbol 385 MovieClip Frame 4
stop();
Symbol 385 MovieClip Frame 5
stop();
Symbol 385 MovieClip Frame 6
stop();
Symbol 385 MovieClip Frame 7
play();
Symbol 385 MovieClip Frame 14
gotoAndStop (1);
Symbol 398 MovieClip Frame 1
stop();
Symbol 398 MovieClip Frame 2
stop();
Symbol 398 MovieClip Frame 3
stop();
Symbol 398 MovieClip Frame 4
stop();
Symbol 398 MovieClip Frame 5
stop();
Symbol 398 MovieClip Frame 6
stop();
Symbol 419 MovieClip Frame 1
stop();
Symbol 419 MovieClip Frame 2
stop();
Symbol 419 MovieClip Frame 3
stop();
Symbol 419 MovieClip Frame 4
stop();
Symbol 419 MovieClip Frame 5
stop();
Symbol 419 MovieClip Frame 6
stop();
Symbol 419 MovieClip Frame 7
play();
Symbol 419 MovieClip Frame 14
gotoAndStop (1);
Symbol 432 MovieClip Frame 1
stop();
Symbol 432 MovieClip Frame 2
stop();
Symbol 432 MovieClip Frame 3
stop();
Symbol 432 MovieClip Frame 4
stop();
Symbol 432 MovieClip Frame 5
stop();
Symbol 432 MovieClip Frame 6
stop();
Symbol 439 MovieClip Frame 1
_level.counter.timerOn = 0;
play();
Symbol 439 MovieClip Frame 20
_level0.world_mc.playsound("sound_tjdead");
_level0.starttext.gotoAndPlay("lostlife");
stop();
Symbol 450 MovieClip Frame 21
_parent._parent.gotoAndStop("front");
Symbol 451 MovieClip Frame 1
stop();
Symbol 452 MovieClip Frame 1
stop();
Symbol 452 MovieClip Frame 7
stop();
Symbol 452 MovieClip Frame 12
stop();
Symbol 452 MovieClip Frame 17
stop();
Symbol 452 MovieClip Frame 22
stop();
Symbol 453 MovieClip Frame 1
function CollisionManagerObj() {
var _local1 = this;
_local1.addList("Flag");
_local1.addList("Target");
_local1.addList("Hole");
_local1.addList("Obs");
}
function ListObj(movieclipName, initZPos, whichGroup) {
var _local1 = this;
_local1.my_mc = movieclipName;
_local1.zpos = initZPos;
_local1.group = whichGroup;
}
function SpriteManagerObj() {
this.init("_level0.world_mc");
}
function SpriteObj(mc, spriteMan, initZPos) {
var _local1 = this;
var _local2 = spriteMan;
_local1.spriteName = (mc._name + " ") + _local2.spriteCount;
_local1.my_mc = mc;
if ((_local2.spriteCount - 1) != fix) {
_local1.my_mc.swapDepths(_local2.spriteCount + 1);
}
_local1.spriteManager = _local2;
_local1.zpos = initZPos;
_local1.init();
}
mapFlag1 = [{leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 27], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 1, 18, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 18, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[12, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 1, 9, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 4], Holes:[], Flags:[18, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 2], Holes:[], Flags:[18, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 8, 1], Flags:[1, 18, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[18, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[12, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 18, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[1, 1, 18, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[17, 4], Holes:[], Flags:[1, 1, 18, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 2], Holes:[], Flags:[1, 18, 1, 1], Targets:[], Active:[1, 1, 13, 1], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[19, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 9, 1, 1], Flags:[], Targets:[], Active:[12, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 7, 1, 1], rightEdge:[15]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[9, 11, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 1, 18], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[1, 1, 11, 1], Flags:[1, 18, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 18, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[8, 1, 1, 8], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 4], Holes:[1, 1, 9, 1], Flags:[1, 18, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 8], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 2], Holes:[1, 9, 1, 1], Flags:[1, 1, 1, 18], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 12], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 10], Flags:[1, 18, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 4], Holes:[9, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[1, 1, 1, 8], Flags:[19, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 10, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 4], Holes:[8, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 9, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[18, 18, 18, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[17, 14], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 14], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 18, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 18, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[1, 18, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[1, 1, 14, 1], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[1, 1, 19, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 18, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 18, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[1, 1, 18, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 14, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 19, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 1, 10, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 4], Holes:[], Flags:[1, 18, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 18, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 18, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[], Active:[1, 14, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 19, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 18, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[17, 4], Holes:[9, 1, 1, 1], Flags:[1, 1, 18, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[1, 1, 18, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 14, 1], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 1, 1, 19], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 1, 8, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 5], Holes:[], Flags:[1, 1, 1, 18], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 1, 1, 18], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 1, 1, 18], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 9], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[9, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[8, 1, 8, 1], Flags:[], Targets:[], Active:[1, 14, 1, 1], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 18, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 8, 1, 1], Flags:[18, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[1, 18, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 11, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[10, 1, 10, 1], Flags:[1, 19, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 18, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 8, 1, 1], Flags:[1, 1, 18, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[1, 18, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 11, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[10, 1, 10, 1], Flags:[1, 19, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 8, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[10, 1, 10, 1], Flags:[1, 20, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[18, 1, 18, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[17, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 28], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}];
mapFlag2 = [{leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 27], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 3], Holes:[], Flags:[1, 18, 18, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[18, 1, 1, 18, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[10, 1, 1, 10, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 2], Holes:[], Flags:[1, 18, 18, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[1, 10, 10, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[18, 1, 1, 18, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[10, 1, 1, 10, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 18, 18, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[17, 4], Holes:[1, 10, 10, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[10, 1, 1, 10, 1], Flags:[1, 19, 19, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[18, 1, 1, 18, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[10, 1, 1, 10, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[7, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[11, 1, 1, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 7, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 8, 1], Flags:[19, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 1, 26, 1, 1], Flags:[18, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[1, 1, 1, 20, 1], Targets:[], Active:[1, 1, 14, 1, 14], rightEdge:[]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 18, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 4], Holes:[], Flags:[1, 18, 1, 1, 1], Targets:[], Active:[13, 1, 1, 13, 1], rightEdge:[]}, {leftEdge:[1, 9], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 13, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[13, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 2], Holes:[], Flags:[1, 1, 1, 18, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 12, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 13, 1, 1], rightEdge:[]}, {leftEdge:[17, 4], Holes:[1, 1, 1, 1, 8], Flags:[], Targets:[], Active:[1, 13, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[18, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 18, 1, 1, 1], Targets:[], Active:[1, 1, 1, 1, 13], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[], Active:[12, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 1, 1, 19], Targets:[], Active:[1, 1, 1, 13, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 18, 1, 1, 1], Targets:[], Active:[1, 1, 1, 12, 12], rightEdge:[15]}, {leftEdge:[17, 5], Holes:[], Flags:[1, 1, 1, 1, 19], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[8, 1, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 1, 9], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[1, 18, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 10, 1, 1], Flags:[1, 18, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 1, 18, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[1, 1, 19, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[9, 1, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 18, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 10, 1, 9, 1], Flags:[1, 1, 18, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 18, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 26, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 19, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 9, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 18, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[10, 1, 1, 1, 1], Flags:[1, 18, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 4], Holes:[], Flags:[18, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 1, 9], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[1, 8, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[17, 4], Holes:[], Flags:[1, 1, 1, 18, 1], Targets:[], Active:[1, 1, 13, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 4], Holes:[1, 1, 1, 1, 9], Flags:[1, 1, 18, 1, 1], Targets:[], Active:[1, 1, 1, 13, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 18, 1, 1, 1], Targets:[], Active:[1, 1, 13, 1, 1], rightEdge:[15]}, {leftEdge:[16, 5], Holes:[9, 1, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 1, 18, 1, 1], Targets:[], Active:[1, 13, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[1, 1, 1, 8, 1], Flags:[1, 18, 1, 1, 1], Targets:[], Active:[13, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 18, 1, 1], Targets:[], Active:[1, 1, 1, 13, 1], rightEdge:[]}, {leftEdge:[16, 2], Holes:[1, 1, 1, 1, 10], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 8], Holes:[], Flags:[1, 1, 1, 18, 1], Targets:[], Active:[1, 1, 13, 1, 1], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 26], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[19, 1, 18, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[14, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 18, 1, 19, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 14, 1], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 26], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 19], Holes:[], Flags:[1, 18, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 26], Holes:[1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 19, 19, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 26], Holes:[1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 18, 18, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 28], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}];
mapFlag3 = [{leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 27], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 18, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 1, 8, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 1, 1, 1, 1, 18, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 18, 1, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 2], Holes:[], Flags:[1, 18, 1, 1, 1, 1, 1], Targets:[], Active:[1, 1, 1, 1, 1, 1, 14], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 1, 1, 1, 1, 19], Targets:[], Active:[1, 1, 1, 1, 1, 14, 1], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[18, 1, 1, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[8, 1, 1, 1, 1, 1, 1], Flags:[1, 1, 1, 1, 1, 1, 18], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[1, 1, 1, 1, 1, 11, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[14, 1, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[19, 1, 1, 1, 1, 1, 1], Targets:[], Active:[1, 1, 1, 1, 1, 1, 14], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[19, 1, 1, 1, 1, 1, 1], Targets:[], Active:[1, 14, 1, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 1, 18, 1, 1, 1, 19], Targets:[], Active:[1, 1, 1, 1, 1, 14, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 1, 1, 1, 1, 18, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[1, 18, 1, 1, 1, 18, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[1, 1, 19, 1, 1, 1, 19], Targets:[], Active:[1, 1, 1, 1, 1, 29, 1], rightEdge:[]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 1, 1, 18, 1, 1], Targets:[], Active:[1, 1, 29, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[1, 1, 1, 1, 1, 18, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 1, 1, 8, 1], Flags:[1, 19, 1, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 9, 1, 1, 1, 1, 1], Flags:[1, 1, 1, 18, 18, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[18, 1, 1, 1, 1, 1, 19], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 19, 1, 1, 1, 18, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 1, 9, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[1, 1, 18, 1, 18, 1, 18], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[9, 1, 1, 1, 1, 1, 1], Flags:[1, 1, 1, 1, 19, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 29, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 3], Holes:[1, 9, 1, 1, 1, 8, 1], Flags:[1, 1, 19, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[1, 1, 1, 1, 1, 1, 19], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 3], Holes:[1, 1, 1, 8, 1, 1, 1], Flags:[1, 1, 18, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[1, 29, 1, 1, 29, 1, 1], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[1, 1, 19, 19, 1, 1, 1], Targets:[], Active:[7, 1, 1, 1, 1, 7, 1], rightEdge:[15]}, {leftEdge:[1, 26], Holes:[1, 1, 1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[1, 1, 12, 12, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 1, 18, 18, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 1, 1, 1, 18, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 1, 1, 1, 18, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 1, 1, 18, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 1, 18, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 18, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 18, 1, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 1, 1, 18, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 1, 19, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[1, 1, 1, 19, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 7, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 10, 1, 1, 1], Flags:[], Targets:[], Active:[1, 1, 13, 1, 13, 1, 1], rightEdge:[]}, {leftEdge:[17, 5], Holes:[1, 1, 26, 1, 1, 1, 1], Flags:[], Targets:[], Active:[14, 1, 1, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 1, 1, 20, 1, 1, 1], Targets:[], Active:[1, 1, 13, 1, 13, 1, 1], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 7], Holes:[], Flags:[], Targets:[], Active:[1, 7, 1, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 26], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 19], Holes:[], Flags:[1, 18, 1, 1, 1, 1, 1], Targets:[], Active:[12, 1, 1, 1, 1, 14, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 7, 1, 7], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[17, 4], Holes:[], Flags:[1, 1, 1, 1, 18, 1, 19], Targets:[], Active:[14, 1, 1, 1, 1, 12, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 7], Holes:[], Flags:[], Targets:[], Active:[1, 7, 1, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 26], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 19], Holes:[], Flags:[1, 18, 1, 1, 1, 1, 1], Targets:[], Active:[12, 1, 1, 1, 1, 14, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 7, 1, 7, 1, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 1, 26, 1, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 1, 8, 1, 8, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 7, 1, 1, 1], rightEdge:[15]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 26, 1, 1, 1, 1], Flags:[18, 1, 1, 1, 1, 1, 19], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[18, 1, 1, 20, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 1, 26, 1, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 1, 1, 19, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 28], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}];
mapFlag4 = [{leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 27], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[1, 1, 14, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 1, 1, 18, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 1, 1, 18, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[8, 1, 1, 26, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 1, 1, 1, 19, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[1, 1, 18, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 1, 1, 9, 1], Flags:[1, 1, 18, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 26, 1, 1, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 4], Holes:[], Flags:[1, 1, 19, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 1, 18, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[1, 1, 1, 18, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[1, 1, 26, 1, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 26, 1, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[1, 1, 1, 19, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 14], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 1, 14], rightEdge:[]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[14, 1, 1, 1, 1, 14, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 1, 8, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[30, 1, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 4], Holes:[1, 1, 9, 1, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 14], Holes:[], Flags:[], Targets:[], Active:[1, 30, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 10, 1, 1, 1, 1, 8], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[30, 1, 1, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[10, 1, 1, 1, 9, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[30, 1, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 4], Holes:[1, 10, 1, 10, 1, 1, 1], Flags:[1, 1, 18, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 26, 1, 1, 1, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 1, 12], rightEdge:[]}, {leftEdge:[1, 2], Holes:[1, 10, 1, 10, 1, 1, 1], Flags:[1, 1, 18, 1, 1, 1, 19], Targets:[], Active:[1, 1, 1, 1, 1, 14, 1], rightEdge:[]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 1, 14], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[1, 1, 1, 18, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 1, 1, 1, 18, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[30, 1, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 10, 1, 10, 1], Flags:[1, 1, 1, 1, 18, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[1, 1, 1, 26, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 10, 1, 10, 1], Flags:[1, 1, 1, 1, 18, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[30, 1, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[9, 1, 1, 1, 1, 1, 1], Flags:[1, 1, 18, 1, 1, 1, 1], Targets:[], Active:[1, 1, 1, 1, 1, 1, 12], rightEdge:[]}, {leftEdge:[16, 2], Holes:[], Flags:[1, 1, 1, 1, 1, 1, 18], Targets:[], Active:[1, 1, 1, 1, 1, 14, 1], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[10, 1, 10, 1, 1, 1, 1], Flags:[1, 19, 1, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[26, 1, 1, 1, 1, 1, 1], Flags:[1, 1, 1, 1, 18, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[10, 1, 10, 1, 1, 1, 1], Flags:[1, 19, 1, 1, 1, 18, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 7, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 26, 1, 1, 1], Flags:[1, 18, 1, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 11, 1, 1, 10], Flags:[1, 1, 1, 1, 1, 18, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 11, 1, 1, 1], Flags:[1, 1, 1, 1, 1, 18, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[18, 1, 1, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 1, 26, 1, 1], Flags:[18, 1, 1, 1, 1, 1, 1], Targets:[], Active:[1, 1, 1, 1, 1, 1, 25], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 1, 1, 1, 1, 20], Targets:[], Active:[1, 1, 1, 1, 1, 14, 1], rightEdge:[]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 26], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 19], Holes:[], Flags:[], Targets:[], Active:[14, 1, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[1, 1, 18, 18, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 7, 7, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 8, 10, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[1, 1, 26, 1, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[1, 11, 1, 1, 11, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 10, 1, 1, 1, 10, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[1, 10, 1, 1, 11, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 1, 10, 1, 1], Flags:[1, 1, 18, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 1, 1, 1, 18, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 14], Holes:[8, 1, 1, 1, 1, 1, 10], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 1, 1, 1, 10], Flags:[], Targets:[], Active:[14, 1, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 1, 11, 1, 1, 1, 1], Flags:[19, 1, 1, 1, 18, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 11, 1, 1, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 5], Holes:[1, 10, 1, 1, 1, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 1, 14], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 1, 1, 11, 1], Flags:[18, 1, 18, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 1, 11, 1, 1], Flags:[1, 18, 1, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 14], Holes:[1, 1, 1, 11, 1, 8, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 10], Holes:[1, 1, 1, 10, 1, 1, 1], Flags:[], Targets:[], Active:[14, 1, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[11, 1, 1, 1, 10, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[17, 4], Holes:[1, 10, 1, 1, 11, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[11, 1, 1, 1, 1, 8, 1], Flags:[1, 1, 1, 18, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 11, 1, 1, 1, 11, 1], Flags:[1, 1, 1, 1, 19, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 4], Holes:[1, 10, 10, 1, 9, 11, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 10, 1, 1, 1], Flags:[1, 18, 1, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 4], Holes:[1, 1, 11, 1, 8, 1, 1], Flags:[18, 1, 1, 1, 1, 1, 18], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 9, 8, 11, 1, 8, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 11, 1, 1, 11, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 29, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 11], Holes:[1, 1, 11, 1, 10, 1, 1], Flags:[1, 1, 1, 1, 1, 1, 18], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 19], Holes:[1, 1, 1, 11, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[1, 1, 1, 1, 1, 9, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[30, 1, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 1], Holes:[1, 9, 1, 1, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 11], Holes:[1, 1, 1, 1, 11, 1, 8], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 11], Holes:[1, 11, 1, 1, 1, 11, 1], Flags:[], Targets:[], Active:[1, 1, 1, 1, 14, 1, 1], rightEdge:[]}, {leftEdge:[1, 10], Holes:[10, 1, 1, 1, 1, 1, 10], Flags:[1, 19, 1, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 1, 18, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 1, 18, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 1, 26, 1, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[1, 1, 1, 19, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 28], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}];
mapFlag5 = [{leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 27], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[1, 7, 1, 1, 1, 1, 7, 1, 1], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[26, 1, 1, 1, 1, 26, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[26, 1, 1, 1, 1, 26, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 14], Holes:[26, 1, 1, 8, 8, 26, 1, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 1, 1, 1, 14], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 1, 1, 1, 1, 1, 20, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 19, 1, 1, 1, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 4], Holes:[], Flags:[1, 19, 1, 1, 1, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 19, 1, 1, 1, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[1, 1, 1, 18, 1, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[1, 1, 26, 1, 1, 1, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 26, 1, 1, 1, 1, 1, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 25, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[1, 1, 1, 19, 1, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 1, 1, 1, 1, 18, 1, 1], Targets:[], Active:[1, 1, 1, 1, 1, 1, 1, 1, 14], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[30, 1, 1, 1, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 1, 1, 14, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 1, 1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 1, 1, 1, 25], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[1, 1, 1, 1, 1, 1, 1, 1, 19], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 14], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 1, 1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 1, 14, 14, 14], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 31, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 1, 18, 1, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[1, 1, 18, 1, 1, 1, 1, 1, 1], Targets:[], Active:[1, 1, 1, 1, 31, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[29, 31, 1, 1, 1, 1, 1, 7, 1], rightEdge:[]}, {leftEdge:[1, 14], Holes:[1, 1, 1, 1, 1, 1, 1, 10, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[1, 1, 1, 1, 1, 1, 26, 1, 1], Flags:[1, 1, 1, 18, 1, 1, 1, 1, 1], Targets:[], Active:[1, 1, 1, 1, 1, 1, 1, 25, 1], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 1, 1, 1, 18, 1, 1, 19, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[30, 1, 1, 1, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 1, 1, 18, 1, 1, 1, 1], Targets:[], Active:[1, 1, 1, 1, 1, 1, 1, 1, 14], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[1, 1, 1, 1, 18, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 1, 1, 1, 1, 1, 19, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[1, 31, 1, 1, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 31, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 31, 12, 31, 1], rightEdge:[]}, {leftEdge:[16, 2], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 14, 1, 1, 1], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 1, 18, 1, 1, 1, 1, 18, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[1, 1, 18, 1, 1, 1, 1, 18, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 7, 1, 1, 1, 1, 7, 1], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 14], Holes:[26, 1, 1, 26, 1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 1, 25, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 1, 8, 26, 1, 1, 1, 1, 1], Flags:[1, 18, 1, 1, 1, 1, 1, 18, 1], Targets:[], Active:[1, 1, 1, 1, 1, 25, 14, 1, 1], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 7, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 10, 1, 26, 1, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[1, 1, 18, 1, 1, 19, 1, 1, 1], Targets:[], Active:[1, 13, 1, 13, 1, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 26, 1, 1, 1, 1, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[1, 1, 19, 1, 1, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 4], Holes:[1, 1, 1, 1, 1, 1, 1, 1, 10], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 1, 1, 1, 26, 1, 1], Flags:[1, 1, 1, 18, 1, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 8, 1, 26, 1, 1, 1], Flags:[1, 1, 1, 1, 18, 1, 1, 1, 18], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[18, 1, 1, 18, 1, 1, 1, 19, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 8], Holes:[], Flags:[], Targets:[], Active:[7, 7, 7, 7, 7, 7, 7, 7, 7], rightEdge:[]}, {leftEdge:[1, 29], Holes:[26, 1, 1, 26, 1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[26, 1, 1, 26, 1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[26, 1, 1, 26, 1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 14], Holes:[8, 1, 1, 1, 1, 1, 10, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 1, 1, 1, 10, 1, 1], Flags:[], Targets:[], Active:[14, 1, 1, 1, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 1, 11, 1, 1, 1, 1, 1, 1], Flags:[19, 1, 1, 1, 18, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 5], Holes:[1, 10, 1, 1, 1, 1, 1, 1, 9], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 29, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[30, 1, 1, 1, 1, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[16, 14], Holes:[1, 1, 1, 1, 1, 8, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 10], Holes:[1, 1, 1, 10, 1, 1, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[17, 4], Holes:[1, 10, 1, 1, 11, 1, 1, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 1, 1, 29, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[11, 1, 1, 1, 1, 8, 1, 1, 1], Flags:[1, 1, 1, 18, 1, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 4], Holes:[1, 10, 1, 1, 1, 1, 1, 10, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[30, 1, 1, 1, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 26, 1, 1, 1, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 1, 1, 1, 14], rightEdge:[15]}, {leftEdge:[16, 4], Holes:[1, 1, 1, 1, 8, 1, 1, 1, 1], Flags:[1, 1, 1, 1, 1, 1, 18, 1, 19], Targets:[], Active:[1, 1, 1, 1, 1, 29, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 11, 1, 8, 1, 1, 1], Flags:[18, 1, 1, 1, 1, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 1, 1, 1, 19, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 11], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 19], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 29, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[], Holes:[1, 1, 1, 1, 1, 9, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[30, 1, 1, 1, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 1], Holes:[1, 9, 1, 1, 1, 1, 26, 1, 1], Flags:[1, 1, 1, 18, 1, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 11], Holes:[1, 1, 1, 1, 11, 1, 8, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 1, 1, 1, 12], rightEdge:[15]}, {leftEdge:[1, 11], Holes:[1, 1, 1, 1, 1, 11, 1, 1, 1], Flags:[1, 1, 1, 1, 1, 1, 1, 19, 1], Targets:[], Active:[1, 1, 1, 1, 14, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 10], Holes:[1, 1, 1, 1, 1, 1, 10, 1, 1], Flags:[1, 19, 1, 1, 1, 1, 1, 1, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 29], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[26, 1, 1, 26, 1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 18, 1, 1, 18, 1, 1, 18, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 19], Holes:[26, 1, 1, 26, 1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[1, 19, 1, 1, 18, 1, 1, 18, 1], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 29], Holes:[26, 1, 1, 26, 1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 4], Holes:[26, 1, 1, 26, 1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[1, 18, 1, 1, 18, 1, 1, 19, 1], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 7, 1, 1, 7, 1, 1, 7, 1], rightEdge:[]}, {leftEdge:[1, 29], Holes:[26, 1, 1, 26, 1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[26, 1, 1, 26, 1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[26, 1, 1, 26, 1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 28], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}];
mapTarg1 = [{leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 27], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[22, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[22, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 22, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[1, 1, 1, 8], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 21, 1, 1], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[1, 12, 1, 1], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[1, 1, 1, 9], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[1, 22, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[22, 1, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[1, 12, 1, 1], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[22, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 10, 10, 1], Flags:[], Targets:[23, 1, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 21, 1, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 21, 1, 1], rightEdge:[]}, {leftEdge:[16, 2], Holes:[], Flags:[], Targets:[], Active:[1, 21, 1, 1], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 22], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 7, 1, 1], rightEdge:[15]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[1, 1, 23, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 11, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[22, 1, 23, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[22, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 8], Flags:[], Targets:[22, 1, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 8, 1, 1], Flags:[], Targets:[1, 1, 23, 1], Active:[], rightEdge:[]}, {leftEdge:[16, 3], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 21], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 21, 1, 1], rightEdge:[]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 14], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[22, 1, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[22, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 21, 1, 1], rightEdge:[]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[], Active:[14, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[23, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[1, 1, 21, 1], rightEdge:[15]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[1, 14, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 22, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 22, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 21, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 21, 1, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 14], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[1, 1, 14, 1], rightEdge:[]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[23, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[1, 21, 1, 1], rightEdge:[15]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[14, 1, 1, 1], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[], Targets:[22, 1, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[22, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[11, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 11, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 21], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[1, 22, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[1, 1, 22, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[23, 1, 1, 1], Active:[1, 1, 21, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 9], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 22, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[17, 4], Holes:[9, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 10], Flags:[], Targets:[22, 1, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[17, 4], Holes:[1, 1, 11, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 5], Holes:[1, 9, 1, 1], Flags:[], Targets:[22, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[1, 22, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 9, 1, 1], Flags:[], Targets:[22, 1, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[1, 11, 1, 1], Flags:[], Targets:[23, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 9, 1, 1], Flags:[], Targets:[22, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[], Targets:[1, 22, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 9, 1, 1], Flags:[], Targets:[22, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 7], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 26, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 8, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 2], Holes:[], Flags:[], Targets:[1, 1, 24, 1], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[22, 1, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 28], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}];
mapTarg2 = [{leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 27], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[22, 1, 1, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 1, 8], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 10, 1], Flags:[], Targets:[1, 22, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[17, 2], Holes:[], Flags:[], Targets:[1, 22, 1, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 1], Holes:[1, 26, 1, 1, 1], Flags:[], Targets:[23, 1, 1, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 1, 1, 22, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 11, 1, 1], Flags:[], Targets:[], Active:[13, 13, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 21, 1, 1], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 13, 13, 14], rightEdge:[]}, {leftEdge:[16, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[22, 1, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 1, 1, 23, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 14], Holes:[], Flags:[], Targets:[], Active:[13, 13, 1, 1, 1], rightEdge:[]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 13, 13], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 21, 1, 1, 1], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[1, 1, 11, 1, 1], Flags:[], Targets:[1, 23, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[], Targets:[22, 1, 1, 1, 1], Active:[1, 1, 21, 1, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 22, 1, 1, 1], Active:[1, 1, 1, 12, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[1, 1, 1, 1, 9], Flags:[], Targets:[1, 1, 22, 1, 1], Active:[12, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[1, 21, 1, 12, 1], rightEdge:[]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[1, 22, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 3], Holes:[1, 1, 1, 8, 1], Flags:[], Targets:[1, 1, 23, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 13], Holes:[], Flags:[], Targets:[], Active:[13, 1, 1, 13, 13], rightEdge:[15]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[1, 7, 7, 1, 1], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[26, 1, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[1, 1, 22, 1, 1], Active:[1, 21, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[1, 21, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 1, 22, 1, 1], Active:[1, 21, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 22, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[1, 1, 22, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[1, 22, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[1, 1, 23, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[1, 1, 23, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 1, 23, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 12, 7, 12], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 10, 1], Flags:[], Targets:[], Active:[1, 1, 13, 1, 13], rightEdge:[]}, {leftEdge:[17, 5], Holes:[1, 1, 1, 10, 1], Flags:[], Targets:[], Active:[1, 1, 13, 1, 13], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 8, 1], Flags:[], Targets:[], Active:[1, 1, 13, 1, 13], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 8, 1, 1, 1], Flags:[], Targets:[1, 1, 24, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 21, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 25, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 1, 23, 1, 1], Active:[14, 12, 1, 1, 14], rightEdge:[15]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 23], Holes:[], Flags:[], Targets:[1, 22, 1, 22, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 21], rightEdge:[15]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 22], Holes:[], Flags:[], Targets:[1, 23, 1, 22, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 21, 1, 1], rightEdge:[15]}, {leftEdge:[16, 22], Holes:[], Flags:[], Targets:[1, 23, 1, 22, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[1, 1, 22, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 7, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 8, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 2], Holes:[], Flags:[], Targets:[1, 1, 23, 1, 1], Active:[1, 1, 1, 1, 14], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 21, 1], rightEdge:[]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 1, 22, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 13, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 1, 1, 22, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 10, 1, 1, 1], Flags:[], Targets:[1, 1, 1, 22, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 28], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}];
mapTarg3 = [{leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 27], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[1, 1, 1, 1, 22, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 1, 14], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[], Targets:[1, 22, 1, 1, 1, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[22, 1, 1, 1, 1, 22, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 2], Holes:[], Flags:[], Targets:[1, 1, 1, 1, 1, 23, 1], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 12, 12, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[11, 1, 1, 1, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 1], Holes:[1, 26, 1, 1, 1, 1, 1], Flags:[], Targets:[23, 1, 1, 1, 1, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[1, 1, 14, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 10, 1, 1, 1, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 1, 21, 21, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[11, 1, 1, 1, 1, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 1, 21, 21, 1], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 21, 21, 1], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 2], Holes:[1, 1, 1, 1, 1, 1, 9], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 8, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 14, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 14], Holes:[1, 1, 26, 1, 1, 1, 1], Flags:[], Targets:[], Active:[29, 29, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[24, 1, 1, 1, 1, 1, 1], Active:[1, 1, 1, 1, 1, 14, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 13, 13, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 10, 1, 1, 1, 1], Flags:[], Targets:[], Active:[1, 21, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[1, 1, 11, 1, 11, 1, 1], Flags:[], Targets:[1, 22, 1, 1, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 21, 1, 1, 29, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[22, 1, 1, 1, 1, 1, 1], Active:[1, 1, 1, 29, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 1, 1, 1, 1, 23, 1], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[1, 1, 11, 1, 1, 1, 1], Flags:[], Targets:[], Active:[29, 1, 1, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 1, 1, 11, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[1, 21, 1, 29, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 3], Holes:[1, 1, 1, 1, 9, 1, 1], Flags:[], Targets:[1, 22, 1, 1, 1, 1, 1], Active:[1, 1, 12, 1, 1, 1, 29], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 3], Holes:[1, 1, 1, 8, 1, 1, 1], Flags:[], Targets:[1, 1, 23, 1, 1, 1, 1], Active:[21, 1, 1, 1, 1, 21, 1], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 13], Holes:[], Flags:[], Targets:[], Active:[13, 1, 13, 13, 1, 13, 13], rightEdge:[15]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[1, 7, 1, 1, 7, 1, 1], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[26, 1, 1, 26, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[1, 1, 1, 22, 1, 1, 1], Active:[1, 1, 1, 1, 1, 1, 14], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[1, 1, 1, 22, 1, 1, 1], Active:[1, 21, 1, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[1, 21, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 21, 1, 1, 1, 7, 1], rightEdge:[]}, {leftEdge:[16, 4], Holes:[1, 1, 1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[1, 21, 1, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[22, 1, 1, 1, 22, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 1, 1, 1, 22, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 22], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 22], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 22], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 13, 7, 13, 1, 1], rightEdge:[]}, {leftEdge:[1, 22], Holes:[1, 1, 26, 1, 1, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 14, 1], rightEdge:[]}, {leftEdge:[17, 22], Holes:[1, 1, 8, 26, 1, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 1, 29], rightEdge:[15]}, {leftEdge:[1, 22], Holes:[1, 1, 8, 1, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 14, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 5], Holes:[1, 1, 1, 1, 1, 8, 1], Flags:[], Targets:[1, 1, 1, 1, 24, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 12, 12, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 14, 1, 14, 1, 12, 12], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[1, 22, 1, 1, 1, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 14, 1, 14], rightEdge:[15]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[1, 1, 1, 1, 22, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 12, 13, 13], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[14, 1, 14, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[22, 1, 1, 1, 1, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[1, 1, 1, 1, 1, 23, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 1, 1, 1, 8], Flags:[], Targets:[1, 1, 22, 1, 1, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 26, 1, 1, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 2], Holes:[], Flags:[], Targets:[1, 1, 22, 1, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 1, 1, 1, 9], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 22, 1, 1, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[1, 1, 22, 1, 1, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 1, 1, 22, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 1, 22, 1, 1, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 28], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}];
mapTarg4 = [{leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 27], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 14, 14, 14, 1], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[22, 1, 1, 1, 1, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 26, 1, 1, 1], Flags:[], Targets:[1, 1, 22, 1, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[], Targets:[1, 1, 23, 1, 1, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 1, 26, 1, 1, 1, 1], Flags:[], Targets:[1, 1, 1, 1, 1, 23, 1], Active:[], rightEdge:[]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[1, 1, 1, 1, 1, 22, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[1, 1, 1, 26, 1, 1, 1], Flags:[], Targets:[1, 1, 22, 1, 1, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[1, 1, 23, 1, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[1, 30, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 14], Holes:[1, 1, 9, 1, 1, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 21, 1, 1, 14], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[30, 1, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 14], Holes:[], Flags:[], Targets:[], Active:[1, 1, 21, 21, 1, 1, 14], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[30, 1, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 14], Holes:[1, 1, 1, 9, 1, 1, 1], Flags:[], Targets:[], Active:[1, 1, 21, 1, 1, 1, 14], rightEdge:[]}, {leftEdge:[16, 2], Holes:[], Flags:[], Targets:[], Active:[1, 30, 1, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[14, 1, 1, 1, 1, 14, 1], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[1, 31, 1, 1, 31, 1, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 12, 12, 12, 12, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 13, 1], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 29, 1, 1, 1, 14], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[22, 1, 1, 1, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 1, 1, 1, 22, 1, 1], Active:[1, 1, 21, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[], Targets:[1, 22, 1, 1, 1, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 1, 1, 11, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[1, 21, 1, 29, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 1, 9, 1, 1], Flags:[], Targets:[1, 22, 1, 1, 1, 1, 1], Active:[1, 1, 12, 1, 1, 1, 29], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 12, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 3], Holes:[1, 1, 1, 8, 1, 1, 1], Flags:[], Targets:[1, 1, 23, 1, 1, 1, 1], Active:[21, 1, 1, 1, 1, 21, 1], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[14, 1, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 13], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 1, 14], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 31, 31, 1], rightEdge:[]}, {leftEdge:[1, 14], Holes:[], Flags:[], Targets:[1, 1, 1, 23, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 1, 1, 1, 10], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 1, 1, 1, 10], Flags:[], Targets:[], Active:[1, 31, 31, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[23, 1, 1, 1, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 31, 31, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 1, 1, 22, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[], Active:[1, 31, 31, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 1, 7], rightEdge:[]}, {leftEdge:[1, 22], Holes:[1, 1, 1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[1, 21, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 22], Holes:[1, 1, 1, 1, 1, 10, 10], Flags:[], Targets:[], Active:[1, 1, 21, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 22], Holes:[1, 1, 1, 1, 1, 10, 10], Flags:[], Targets:[], Active:[1, 1, 1, 21, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 1, 1, 10, 8], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[1, 1, 1, 1, 1, 24, 1], Active:[1, 1, 1, 1, 14, 1, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 1, 1, 1, 8], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 22], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 21, 1, 1, 1], rightEdge:[]}, {leftEdge:[17, 22], Holes:[], Flags:[], Targets:[], Active:[1, 1, 21, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 22], Holes:[], Flags:[], Targets:[], Active:[1, 21, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[1, 1, 1, 1, 1, 9, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[22, 1, 1, 1, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 13, 1, 1, 1], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 14, 1, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 1, 22, 1, 1, 1, 1], Active:[1, 1, 1, 1, 14, 1, 1], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 13, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 14, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[1, 22, 1, 1, 1, 1, 1], Active:[1, 1, 1, 14, 1, 1, 1], rightEdge:[15]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 13, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 10, 1, 1, 1, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 1, 14], rightEdge:[15]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[1, 1, 1, 1, 22, 1, 1], Active:[1, 1, 1, 1, 1, 1, 14], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[1, 13, 1, 1, 13, 12, 13], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 14, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[22, 1, 1, 1, 1, 23, 1], Active:[1, 1, 14, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 1, 22, 1, 1, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 26, 1, 1, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 2], Holes:[], Flags:[], Targets:[1, 1, 22, 1, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[1, 1, 1, 22, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 1, 1, 22, 1, 1, 1], Active:[1, 1, 1, 1, 1, 1, 12], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 26, 1, 1, 1, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 1, 12], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 22, 1, 1, 1, 23, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[1, 1, 22, 1, 1, 1, 1], Active:[1, 1, 1, 1, 21, 1, 1], rightEdge:[15]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 22, 1, 1, 1, 1, 1], Active:[1, 1, 1, 1, 21, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[22, 1, 1, 1, 1, 1, 1], Active:[1, 1, 1, 1, 21, 1, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 28], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}];
mapTarg5 = [{leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 27], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[1, 14, 14, 14, 14, 14, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 5], Holes:[1, 1, 1, 1, 1, 1, 10, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 1, 1, 1, 10, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 1, 1, 21, 1], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[1, 22, 1, 1, 1, 1, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[], Targets:[1, 23, 1, 1, 1, 1, 1, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 14], Holes:[], Flags:[], Targets:[1, 1, 22, 1, 1, 1, 1, 1, 1], Active:[14, 29, 1, 1, 1, 1, 14, 14, 14], rightEdge:[]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[1, 1, 1, 1, 1, 1, 22, 1, 1], Active:[1, 14, 14, 14, 14, 29, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[1, 1, 1, 1, 22, 1, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[16, 1], Holes:[9, 1, 1, 1, 1, 1, 1, 1, 1], Flags:[], Targets:[1, 1, 1, 1, 23, 1, 1, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[1, 30, 1, 1, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 14], Holes:[], Flags:[], Targets:[], Active:[14, 14, 1, 1, 1, 1, 14, 14, 14], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 7, 1, 1, 7, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 14], Holes:[11, 1, 1, 11, 1, 1, 11, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 1, 1, 1, 14], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[11, 1, 1, 11, 1, 1, 11, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[11, 1, 1, 11, 1, 1, 11, 1, 1], Flags:[], Targets:[], Active:[1, 1, 21, 1, 1, 21, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[1, 23, 1, 1, 23, 1, 1, 1, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[17, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 12, 12, 1, 1, 12, 12, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 21, 21, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 21, 21, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[1, 1, 22, 1, 1, 1, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[1, 22, 1, 1, 1, 1, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[1, 9, 1, 1, 1, 1, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 1, 1, 1, 8, 1, 1], Flags:[], Targets:[1, 22, 1, 1, 1, 1, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 1, 1, 1, 1, 1, 23, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[17, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 31, 31, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 1, 1, 11, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[1, 21, 31, 14, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 1, 9, 1, 1, 1, 1], Flags:[], Targets:[], Active:[31, 1, 1, 1, 1, 1, 29, 31, 31], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 12, 1, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[16, 3], Holes:[1, 1, 1, 8, 1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[1, 1, 12, 1, 1, 21, 1, 1, 25], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[1, 1, 23, 1, 1, 1, 1, 1, 1], Active:[14, 1, 1, 1, 1, 1, 1, 14, 1], rightEdge:[]}, {leftEdge:[16, 13], Holes:[1, 1, 1, 1, 1, 1, 1, 1, 8], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[1, 1, 1, 1, 1, 1, 1, 24, 1], Active:[1, 1, 1, 1, 1, 1, 14, 1, 1], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[1, 9, 1, 1, 1, 1, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 31, 31, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 14], Holes:[], Flags:[], Targets:[1, 1, 1, 23, 1, 1, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[30, 1, 1, 1, 1, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 30, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 1, 1, 1, 26, 1, 1], Flags:[], Targets:[23, 1, 1, 1, 1, 1, 1, 1, 1], Active:[1, 1, 1, 1, 1, 1, 1, 25, 1], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[1, 30, 1, 1, 1, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 1, 1, 1, 8, 1, 1], Flags:[], Targets:[1, 1, 1, 22, 1, 1, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 26, 1, 1, 1, 1, 1], Flags:[], Targets:[1, 1, 1, 1, 1, 1, 23, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 30, 1, 1, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 1, 1, 14, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 21, 1, 1, 1, 21, 21, 21, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 21, 1, 1, 1, 1, 21, 1, 1], rightEdge:[]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[], Active:[1, 21, 21, 21, 1, 1, 21, 1, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 21, 1, 21, 1, 1, 21, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 21, 21, 21, 1, 21, 21, 21, 1], rightEdge:[]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 11], Holes:[26, 1, 1, 26, 1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[1, 25, 1, 1, 25, 1, 1, 25, 1], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[16, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[22, 1, 1, 1, 1, 1, 1, 1, 1], Active:[1, 1, 1, 1, 7, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 1, 10, 1, 1, 1, 1], Flags:[], Targets:[], Active:[1, 1, 13, 1, 1, 14, 14, 14, 14], rightEdge:[]}, {leftEdge:[17, 22], Holes:[1, 1, 1, 26, 1, 1, 1, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 1, 25, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 22], Holes:[1, 1, 26, 1, 1, 1, 1, 11, 1], Flags:[], Targets:[], Active:[1, 1, 1, 1, 25, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 8, 1, 1, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 11, 1, 1, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[16, 5], Holes:[26, 1, 1, 1, 1, 26, 1, 1, 1], Flags:[], Targets:[1, 1, 1, 1, 22, 1, 1, 1, 1], Active:[1, 25, 1, 1, 1, 1, 25, 1, 1], rightEdge:[]}, {leftEdge:[1, 22], Holes:[], Flags:[], Targets:[1, 1, 1, 1, 24, 1, 1, 23, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 22], Holes:[1, 1, 1, 1, 1, 26, 1, 1, 1], Flags:[], Targets:[1, 1, 1, 1, 22, 1, 1, 1, 1], Active:[1, 1, 1, 1, 1, 1, 25, 1, 1], rightEdge:[15]}, {leftEdge:[16, 5], Holes:[1, 1, 1, 1, 11, 1, 1, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 13, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 10, 1, 1, 1, 1, 1, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 1, 14, 1, 1], rightEdge:[15]}, {leftEdge:[17, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 1, 14, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 1, 1, 1, 1, 1, 23, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 26, 1, 1, 1, 1, 1, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 25, 1, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[16, 4], Holes:[], Flags:[], Targets:[1, 1, 22, 1, 1, 1, 1, 1, 1], Active:[1, 12, 1, 1, 1, 1, 13, 13, 1], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[1, 1, 14, 1, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[22, 1, 1, 1, 1, 23, 1, 1, 1], Active:[1, 1, 14, 1, 1, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[16, 4], Holes:[1, 1, 1, 1, 1, 1, 8, 1, 1], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 1, 1, 26, 1, 1, 1, 1, 1], Flags:[], Targets:[], Active:[7, 7, 7, 1, 1, 1, 7, 7, 1], rightEdge:[]}, {leftEdge:[16, 2], Holes:[1, 1, 1, 1, 9, 1, 1, 11, 1], Flags:[], Targets:[], Active:[1, 1, 1, 14, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[22, 1, 22, 1, 1, 23, 1, 22, 1], Active:[], rightEdge:[]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 21, 21, 21, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[30, 1, 1, 1, 1, 1, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 21, 21, 21, 1, 1, 1], rightEdge:[]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 1, 1, 29, 1], rightEdge:[15]}, {leftEdge:[16, 1], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 26, 1, 1, 1, 26, 1, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 1, 21, 1, 25, 1, 14], rightEdge:[]}, {leftEdge:[1, 4], Holes:[1, 26, 1, 1, 1, 26, 1, 1, 1], Flags:[], Targets:[22, 1, 1, 1, 1, 1, 1, 1, 1], Active:[1, 1, 1, 1, 21, 1, 25, 1, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[1, 26, 1, 1, 1, 26, 1, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 1, 25, 1, 1], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[1, 1, 1, 1, 1, 23, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[17, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 7, 1, 1, 7, 1, 1, 7, 1], rightEdge:[]}, {leftEdge:[1, 14], Holes:[], Flags:[], Targets:[], Active:[14, 1, 14, 1, 1, 1, 14, 1, 14], rightEdge:[15]}, {leftEdge:[17, 5], Holes:[11, 1, 1, 1, 1, 1, 1, 11, 1], Flags:[], Targets:[1, 1, 22, 1, 22, 1, 1, 1, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 1, 1, 1, 26, 1, 1], Flags:[], Targets:[], Active:[1, 1, 1, 1, 1, 1, 1, 25, 1], rightEdge:[]}, {leftEdge:[1, 4], Holes:[26, 1, 1, 1, 1, 11, 1, 1, 1], Flags:[], Targets:[], Active:[1, 25, 1, 1, 1, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[8, 1, 1, 1, 1, 10, 1, 1, 1], Flags:[], Targets:[1, 1, 1, 22, 1, 1, 1, 1, 1], Active:[1, 1, 1, 1, 1, 1, 1, 1, 21], rightEdge:[]}, {leftEdge:[16, 4], Holes:[26, 1, 1, 1, 1, 10, 1, 1, 1], Flags:[], Targets:[1, 1, 1, 22, 1, 1, 1, 1, 1], Active:[1, 1, 25, 1, 1, 1, 1, 14, 1], rightEdge:[]}, {leftEdge:[1, 5], Holes:[1, 1, 1, 1, 1, 10, 1, 1, 1], Flags:[], Targets:[1, 23, 1, 1, 1, 1, 1, 23, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 1, 1, 1, 1, 1, 1, 23, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 14], Holes:[], Flags:[], Targets:[1, 1, 1, 1, 1, 1, 1, 23, 1], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[1, 1, 1, 1, 1, 1, 1, 23, 1], Active:[], rightEdge:[15]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[1, 1, 1, 1, 1, 1, 1, 23, 1], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[1, 1, 21, 1, 1, 1, 1, 1, 1], rightEdge:[15]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 28], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 5], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 4], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[1, 2], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[15]}, {leftEdge:[], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}, {leftEdge:[1, 3], Holes:[], Flags:[], Targets:[], Active:[], rightEdge:[]}];
boundArray = new Array();
boundArray.push("-");
boundArray.push("-");
boundArray.push("-");
boundArray.push("-");
boundArray.push("-");
boundArray.push("-");
boundArray.push("-");
boundArray.push((bounds = {top:10, left:20, right:20, bottom:10, offsetX:28, offsetY:56}));
boundArray.push((bounds = {top:8, left:24, right:24, bottom:8, offsetX:30, offsetY:38}));
boundArray.push((bounds = {top:10, left:10, right:10, bottom:10, offsetX:25, offsetY:30}));
boundArray.push((bounds = {top:18, left:10, right:10, bottom:18, offsetX:24, offsetY:35}));
boundArray.push((bounds = {top:16, left:48, right:46, bottom:16, offsetX:56, offsetY:36}));
boundArray.push((bounds = {top:6, left:16, right:16, bottom:6, offsetX:28, offsetY:34}));
boundArray.push((bounds = {top:6, left:16, right:16, bottom:6, offsetX:28, offsetY:34}));
boundArray.push((bounds = {top:4, left:38, right:38, bottom:4, offsetX:26, offsetY:30}));
boundArray.push("-");
boundArray.push("-");
boundArray.push("-");
boundArray.push((bounds = {top:8, left:8, right:8, bottom:8, offsetX:24, offsetY:24}));
boundArray.push((bounds = {top:8, left:8, right:8, bottom:8, offsetX:24, offsetY:24}));
boundArray.push((bounds = {top:8, left:8, right:8, bottom:8, offsetX:24, offsetY:24}));
boundArray.push((bounds = {top:10, left:10, right:10, bottom:10, offsetX:30, offsetY:30}));
boundArray.push((bounds = {top:10, left:16, right:16, bottom:10, offsetX:6, offsetY:30}));
boundArray.push((bounds = {top:10, left:16, right:16, bottom:10, offsetX:6, offsetY:30}));
boundArray.push((bounds = {top:10, left:16, right:16, bottom:10, offsetX:6, offsetY:30}));
boundArray.push((bounds = {top:36, left:10, right:10, bottom:36, offsetX:20, offsetY:30}));
boundArray.push((bounds = {top:10, left:82, right:82, bottom:10, offsetX:88, offsetY:40}));
boundArray.push("-");
boundArray.push("-");
boundArray.push((bounds = {top:12, left:28, right:28, bottom:12, offsetX:36, offsetY:36}));
boundArray.push((bounds = {top:12, left:26, right:26, bottom:12, offsetX:36, offsetY:36}));
boundArray.push((bounds = {top:12, left:26, right:26, bottom:12, offsetX:22, offsetY:36}));
infoArray = new Array();
infoArray.push("-");
infoArray.push("blank");
infoArray.push("wirefence1");
infoArray.push("wirefence2");
infoArray.push("woodfence1");
infoArray.push("woodfence2");
infoArray.push("grass");
infoArray.push("ramp");
infoArray.push("hole1");
infoArray.push("hole2");
infoArray.push("hole3");
infoArray.push("hole4");
infoArray.push("x2tyre");
infoArray.push("x4tyre");
infoArray.push("barrier");
infoArray.push("bgright");
infoArray.push("bgleft1");
infoArray.push("bg left2");
infoArray.push("red flag");
infoArray.push("blue flag");
infoArray.push("yellow flag");
infoArray.push("pickup");
infoArray.push("target");
infoArray.push("bonus target");
infoArray.push("1up target");
infoArray.push("plank");
infoArray.push("ditch");
infoArray.push("startline");
infoArray.push("endline");
infoArray.push("diggers");
infoArray.push("dog");
infoArray.push("savages");
createball = function (x, y) {
var _local1 = "ball" add depth;
placeInWorld(x - 50, z + 80, this, "ball", _local1, depth, "start");
((depth > 10) ? ((depth = depth - depthstep)) : ((depth = origdepth)));
_global.balls--;
};
depth1 = 0;
createbonus = function (xp, yp, frame) {
var _local1 = "bonus" add depth1;
placeInWorld(xp, yp, bonus, "text_bonus", _local1, depth1, frame);
((depth1 > 100) ? ((depth1 = 0)) : (depth1++));
};
createdust = function (xp, yp, frame) {
var _local1 = "effects" add depth1;
placeInWorld(xp, yp, bonus, "dust", _local1, depth1, frame);
((depth1 > 100) ? ((depth1 = 0)) : (depth1++));
};
prepareMap = function () {
i = 0;
while (i < visAreaZ) {
j = visAreaX - 1;
while (j >= 0) {
sortTiles(i, j);
j--;
}
i++;
}
};
scrollMap = function () {
var _local2 = i;
while (_local2 < (i + 1)) {
var _local1 = visAreaX - 1;
while (_local1 >= 0) {
sortTiles(_local2, _local1);
removeTile((_local1 + "_") + (_local2 - visAreaZ));
_local1--;
}
_local2++;
}
i++;
};
sortTiles = function (tileCoodH, tileCoodW) {
var _local1 = tileCoodW;
var _local2 = tileCoodH;
var _local3 = map[_local2].leftEdge.length;
var totalTiles = (visAreaX - 1);
if (_local1 == 0) {
var currentTileID = map[_local2].leftEdge[_local1];
if ((currentTileID != null) or (currentTileID != 1)) {
makeTile("Edge", bg, _local2, _local1, currentTileID);
}
}
if (_local1 == 1) {
var currentTileID = map[_local2].leftEdge[_local1];
if ((((currentTileID > 1) and (currentTileID < 6)) || (currentTileID == 27)) || (currentTileID == 28)) {
makeTile("Edge", bg, _local2, _local1, currentTileID);
} else if (((((currentTileID == 8) || (currentTileID == 9)) || (currentTileID == 10)) || (currentTileID == 11)) || (currentTileID == 26)) {
makeTile("Hole", holes, _local2, _local1, currentTileID);
} else if (((currentTileID == 18) || (currentTileID == 19)) || (currentTileID == 20)) {
makeTile("Flag", this, _local2, _local1, currentTileID);
} else if (((currentTileID == 22) || (currentTileID == 23)) || (currentTileID == 24)) {
makeTile("Target", this, _local2, _local1, currentTileID);
} else if (((currentTileID != null) or (currentTileID != 1)) or (currentTileID != 6)) {
makeTile("Obs", this, _local2, _local1, currentTileID);
}
makeTile("Edge", thefloor, _local2, _local1, 6);
}
if ((_local1 >= _local3) and (_local1 <= (visAreaX - _local3))) {
var currentTileID1 = map[_local2].holes[_local1 - _local3];
var currentTileID2 = map[_local2].active[_local1 - _local3];
var currentTileID3 = map[_local2].flags[_local1 - _local3];
var currentTileID4 = map[_local2].targets[_local1 - _local3];
if ((currentTileID1 != null) and (currentTileID1 != 1)) {
makeTile("Hole", holes, _local2, _local1, currentTileID1);
}
if ((currentTileID2 != null) and (currentTileID2 != 1)) {
if (infoArray[currentTileID2] eq "plank") {
makeTile("Obs", planks, _local2, _local1, currentTileID2);
} else {
makeTile("Obs", this, _local2, _local1, currentTileID2);
}
}
if ((currentTileID3 != null) and (currentTileID3 != 1)) {
makeTile("Flag", this, _local2, _local1, currentTileID3);
}
if ((currentTileID4 != null) and (currentTileID4 != 1)) {
makeTile("Target", this, _local2, _local1, currentTileID4);
}
}
if (_local1 == totalTiles) {
var currentTileID = map[_local2].rightEdge[0];
if ((currentTileID != null) and (currentTileID != 1)) {
makeTile("Edge", bg, _local2, _local1, currentTileID);
}
}
};
makeTile = function (tileType, layerDestination, tileCoodH, tileCoodW, ID) {
var _local2 = ID;
if (_local2 != null) {
var _local1 = placeInWorld(tileCoodW * tileW, tileCoodH * tileH, layerDestination, "tile", (tileCoodW + "_") + tileCoodH, depth, _local2);
if (tileType != "Edge") {
_local1.listObject = colls.addToList(tileType, _local1);
_local1.bounds = boundArray[_local2];
_local1.info = infoArray[_local2];
}
((depth > 10) ? ((depth = depth - depthstep)) : ((depth = origdepth)));
}
};
removeTile = function (mcToRemove) {
if (eval ("bg." add mcToRemove) != null) {
removeMovieClip(bg[mcToRemove]);
}
removeMovieClip(thefloor[mcToRemove]);
if (eval ("holes." add mcToRemove).listObject.group == "Hole") {
colls.removeFromList(eval ("holes." add mcToRemove).listObject.group, eval ("holes." add mcToRemove).listObject);
removeMovieClip(holes[mcToRemove]);
}
if (eval ("planks." add mcToRemove).listObject.group == "Obs") {
colls.removeFromList(eval ("planks." add mcToRemove).listObject.group, eval ("planks." add mcToRemove).listObject);
removeMovieClip(planks[mcToRemove]);
}
if (eval (mcToRemove) != null) {
colls.removeFromList(eval (mcToRemove).listObject.group, eval (mcToRemove).listObject);
sp.removeSprite(eval (mcToRemove).sprite);
}
};
placeInWorld = function (origX, origY, where, symbolID, name, depth, frame) {
var xp = origX;
var yp = origY;
var _local3 = xp + (yp * xMUL);
var _local2 = yp * yMUL;
var _local1 = where.attachMovie(symbolID, name, depth, {_x:_local3, _y:_local2});
_local1.x = origX;
_local1.y = origY;
_local1.gotoAndStop(frame);
if (symbolID eq "tile") {
_local1.gotoAndStop(frame);
}
if (where == this) {
_local1.sprite = sp.addSprite(_local1);
var screenXwOffset = (_local3 + _local1.sortOrigin_mc._x);
var screenYwOffset = (_local2 + _local1.sortOrigin_mc._y);
_local1.sprite.setPosition(screenXwOffset, screenYwOffset, _local1);
}
return(_local1);
};
CollisionManagerObj.prototype.addList = function (name) {
this[name + "List"] = new Array();
this[name + "Count"] = 0;
};
CollisionManagerObj.prototype.addToList = function (name, mc) {
var _local1 = name;
var _local3 = this;
_local3[_local1 + "Count"] = _local3[_local1 + "Count"] + 1;
var _local2 = new ListObj(mc, _local3[_local1 + "List"].length, _local1);
_local3[_local1 + "List"].push(_local2);
return(_local2);
};
CollisionManagerObj.prototype.removeFromList = function (name, ID) {
var _local2 = name;
if (_local2 != null) {
var _local3 = ID.zpos;
this[_local2 + "List"].splice(_local3, 1);
var numSprites = this[_local2 + "List"].length;
var _local1 = _local3;
while (_local1 < numSprites) {
this[_local2 + "List"][_local1].zpos = _local1;
_local1++;
}
}
};
prepareDraw = function (oX, oY, offX, offY, boundLeft, boundRight, boundTop, boundBottom, layer, num) {
var _local1 = oY;
var _local2 = oX;
var _local3 = offY;
var originX = toWorld((_local2 - boundLeft) + offX, (_local1 - boundTop) + _local3).x;
var originY = toWorld((_local2 - boundLeft) + offX, (_local1 - boundTop) + _local3).y;
var point1X = toWorld((_local2 + boundRight) + offX, (_local1 - boundTop) + _local3).x;
var point1Y = toWorld((_local2 + boundRight) + offX, (_local1 - boundTop) + _local3).y;
var point2X = toWorld((_local2 + boundRight) + offX, (_local1 + boundBottom) + _local3).x;
var point2Y = toWorld((_local2 + boundRight) + offX, (_local1 + boundBottom) + _local3).y;
var point3X = toWorld((_local2 - boundLeft) + offX, (_local1 + boundBottom) + _local3).x;
var point3Y = toWorld((_local2 - boundLeft) + offX, (_local1 + boundBottom) + _local3).y;
drawAPI(originX, originY, point1X, point1Y, point2X, point2Y, point3X, point3Y, layer, num);
};
drawAPI = function (topLeftx, topLefty, topRightx, topRighty, bottomRightx, bottomRighty, bottomLeftx, bottomLefty, mov, num) {
var node = mov.createEmptyMovieClip("bound" + depth, num);
with (node) {
beginFill(255, 20);
lineStyle(1, 16711935, 100);
moveTo(bottomRightx, bottomRighty);
lineTo(bottomLeftx, bottomLefty);
lineTo(topLeftx, topLefty);
lineTo(topRightx, topRighty);
endFill();
}
};
toWorld = function (origX, origY) {
var xp = origX;
var _local1 = origY;
var _local3 = xp + (_local1 * xMUL);
var _local2 = _local1 * yMUL;
var point = {x:_local3, y:_local2};
return(point);
};
SpriteManagerObj.prototype.init = function (src_mc) {
var _local1 = this;
_local1.layer_mc = src_mc;
_local1.spriteCount = 0;
_local1.sprite_array = new Array();
};
SpriteManagerObj.prototype.addSprite = function (symbolId, xpos, ypos) {
var _local2 = this;
_local2.spriteCount++;
var _local1 = new SpriteObj(symbolId, _local2, _local2.sprite_array.length);
_local2.sprite_array.push(_local1);
return(_local1);
};
SpriteManagerObj.prototype.removeSprite = function (sprite) {
var _local2 = sprite.zpos;
this.sprite_array.splice(_local2, 1);
sprite.my_mc.removeMovieClip();
var _local3 = this.sprite_array.length;
var _local1 = _local2;
while (_local1 < _local3) {
this.sprite_array[_local1].zpos = _local1;
_local1++;
}
};
SpriteManagerObj.prototype.swapSprites = function (highestDepthSpriteNum) {
var _local1 = highestDepthSpriteNum;
if (_local1 > 0) {
var _local2 = this.sprite_array[_local1];
var _local3 = this.sprite_array[_local1 - 1];
this.sprite_array[_local1] = _local3;
this.sprite_array[_local1 - 1] = _local2;
_local3.my_mc.swapDepths(_local2.my_mc);
_local2.zpos = _local1 - 1;
_local3.zpos = _local1;
}
};
SpriteManagerObj.prototype.sortSprite = function (spriteNum) {
var _local1 = spriteNum;
var _local2 = this;
var _local3 = 1;
var lastSpriteNum = (_local2.sprite_array.length - 1);
var thisSpriteObj = _local2.sprite_array[_local1];
while (_local3) {
_local3 = false;
if ((_local1 < lastSpriteNum) && (thisSpriteObj.isInFront(_local2.sprite_array[_local1 + 1]))) {
_local3 = true;
_local2.swapSprites(_local1 + 1);
_local1++;
}
if ((_local1 > 0) && (!thisSpriteObj.isInFront(_local2.sprite_array[_local1 - 1]))) {
_local3 = true;
_local2.swapSprites(_local1);
_local1--;
}
}
};
SpriteObj.prototype.init = function () {
var _local1 = this;
_local1.y = 0;
_local1.x = 0;
_local1.moved = true;
};
SpriteObj.prototype.setPosition = function (newx, newy) {
var _local1 = this;
_local1.moved = true;
var _local2 = (newy != _local1.y) || (newx != _local1.x);
_local1.x = newx;
_local1.y = newy;
if (_local2) {
_local1.spriteManager.sortSprite(_local1.zpos);
}
};
SpriteObj.prototype.isInFront = function (compareSpriteObj) {
var _local1 = this;
var _local2 = compareSpriteObj;
if (_local1.y > _local2.y) {
return(true);
}
if (_local1.y == _local2.y) {
return(_local1.x >= _local2.x);
}
return(false);
};
initWorld = function (gridX, gridZ) {
PHI = -0.785398163397448;
ALPHA = 45;
cosPHI = Math.cos(phi);
sinPHI = Math.sin(phi);
tanALPHA = 1;
xMUL = cosPHI / tanALPHA;
yMUL = sinPHI / tanALPHA;
tileW = 59;
tileH = 59;
visAreaX = mapWidth;
visAreaZ = mapHeight;
mapW = visAreaX;
mapH = map.length;
mapBX = tileW * mapW;
mapBZ = tileH * mapH;
var _local1 = 0;
while (_local1 < (map.length - 1)) {
if (map[_local1].leftEdge[1] == 28) {
endAt = (_local1 * 59) + (tileW / 2);
break;
}
_local1++;
}
depthstep = 1;
origdepth = 999900 /* 0x0F41DC */;
depth = origdepth;
removeMovieClip("thefloor");
removeMovieClip("bg");
removeMovieClip("holes");
removeMovieClip("planks");
removeMovieClip("bonus");
_local1 = 0;
while (_local1 < colls.FlagList.length) {
removeMovieClip(colls.FlagList[_local1].my_mc);
_local1++;
}
_local1 = 0;
while (_local1 < colls.TargetList.length) {
removeMovieClip(colls.TargetList[_local1].my_mc);
_local1++;
}
_local1 = 0;
while (_local1 < colls.ObsList.length) {
removeMovieClip(colls.ObsList[_local1].my_mc);
_local1++;
}
attachMovie("container", "thefloor", -5);
attachMovie("container", "bg", -4);
attachMovie("container", "holes", -3);
attachMovie("container", "planks", -2);
attachMovie("container", "bonus", 1000000);
fix = 1;
};
initPlayer = function () {
var _local1 = _global;
bounds = {left:8, right:8, top:14, bottom:14, offsetX:-10, offsetY:25};
G = -3;
vx = (vy = (vz = 0));
x = mapWidth * (tileH / 2);
y = 0;
z = 70;
wheelspeed = 0;
turnspeed = 0;
drag = 0.98;
constant = 0;
pedal = 0;
jumped = 0;
airborne = 0;
thrown = 0;
oldmapZ = 0;
rampDiff = 0;
keys = 0;
hit = 0;
_local1.ScoreFlags = 0;
_local1.ScoreTargets = 0;
_local1.balls = 20;
frames = 6;
delay = 9;
tPedal = 0;
fPedal = 1;
sp = new SpriteManagerObj();
colls = new CollisionManagerObj();
player_mc.sprite = sp.addSprite(player_mc);
};
startGame = function (mW, whichMap) {
_level0.livesOSD.gotoAndStop(lives + 1);
map = whichMap;
mapWidth = mW;
mapHeight = 12;
initWorld();
initPlayer();
prepareMap();
};
playerControl = function (c, p, k, w, typeOf) {
var _local1 = typeOf;
constant = c;
pedal = p;
keys = k;
wheelspeed = w;
turnspeed = 0;
if (_local1 == 0) {
player_mc.gotoAndStop("hit");
}
if (_local1 == 1) {
player_mc.p1.gotoAndPlay(2);
}
if (_local1 == 2) {
drag = 0.97;
player_mc.gotoAndStop("celebrate");
}
};
exitTo = function (whichFrame) {
_quality = "high";
_level0.gotoAndPlay(whichFrame);
};
if (_level0.game eq "targetGame") {
startGame(levelWidths[level], eval ("mapTarg" + level));
} else {
startGame(levelWidths[level], eval ("mapFlag" + level));
}
this.onEnterFrame = function () {
if (keys) {
var throwball = Key.isDown(90);
var _local3 = Key.isDown(38);
var _local2 = Key.isDown(40);
var _local1 = Key.isDown(39) - Key.isDown(37);
var jump = Key.isDown(88);
}
if (_local3) {
if (wheelspeed == 0) {
wheelspeed = 1;
}
((wheelspeed < 8) ? ((wheelspeed = wheelspeed * (1 + ((10 - wheelspeed) / 18)))) : ((wheelspeed = 8)));
} else if (_local2) {
if ((wheelspeed > 1) and (airborne == 0)) {
createdust(x, z, 0);
}
((wheelspeed > 0) ? ((wheelspeed = wheelspeed * 0.8)) : ((wheelspeed = 0)));
}
if (pedal) {
if (tPedal < Math.abs(wheelspeed - delay)) {
tPedal++;
} else {
((fPedal >= frames) ? ((fPedal = 1)) : (fPedal++));
player_mc.tj.gotoAndStop(fPedal);
if (player_mc.tj.upperbody._currentframe <= 6) {
player_mc.tj.upperbody.gotoAndStop(fPedal);
}
tPedal = 0;
}
}
animateThrow(throwball);
animateJump(jump, 22);
if (airborne == 1) {
if ((y == 0) and (vy < 8)) {
if (hit != 1) {
player_mc.gotoAndStop("front");
airborne = 0;
}
}
}
if (player_mc._currentframe != 22) {
animateTurn(_local1);
}
((wheelspeed > 12) ? ((wheelspeed = 12)) : ((wheelspeed = wheelspeed)));
((wheelspeed < 0.1) ? ((wheelspeed = 0)) : ((wheelspeed = wheelspeed * drag)));
vy = (vy * 0.9) + G;
vz = wheelspeed + constant;
vx = turnspeed;
x = x + vx;
y = y + vy;
z = z + vz;
if (x < 0) {
x = 0;
vx = vx * -0.9;
}
if (x > mapBX) {
x = mapBX;
vx = vx * -0.9;
}
if (z < 0) {
z = 0;
vz = vz * -0.9;
}
if (z > mapBZ) {
z = mapBZ;
vz = vz * -0.9;
}
if (y < 0) {
y = 0;
vy = vy * -0.5;
}
mapX = Math.floor(x / 60);
mapY = Math.floor(y / 60);
mapZ = Math.floor(z / 60);
player_mc._x = x + (z * xMUL);
player_mc._y = (-y) + (z * yMUL);
player_mc._z = z;
if (oldmapZ != mapZ) {
if (oldmapZ >= 3) {
scrollMap();
}
}
oldmapZ = mapZ;
if (z >= endAt) {
if (constant != 0) {
trace("hi");
playerControl(0, 0, 0, wheelspeed, 2);
_parent.starttext.gotoAndPlay("finish");
_level0.stopwatch.gotoAndStop("pause");
}
}
if (hit == 0) {
collision();
}
animateHit(hit);
player_mc.sprite.setPosition(player_mc._x, player_mc._y);
};
soundcount = 0;
playsound = function (ID) {
((soundcount > 100000) ? ((soundcount = 0)) : (soundcount++));
var s = (ID + soundcount);
this[s] = new Sound();
this[s].name = s;
this[s].attachSound(ID);
this[s].onSoundComplete = function () {
delete eval (this.name);
};
if (((ID eq "sound_savages") || (ID eq "sound_dog")) || (ID eq "sound_diggers")) {
var timerNow = getTimer();
if (timerNow > ((lastTimer + 550) + random(150))) {
this[s].setVolume(200);
this[s].start();
}
lastTimer = getTimer();
} else {
this[s].setVolume(200);
this[s].start();
}
return(this[s]);
};
animateJump = function (jump, power) {
if (jump) {
if ((jumped == 0) and (airborne == 0)) {
turnspeed = 0;
airborne = 1;
vy = vy + power;
player_mc.gotoAndStop("jump");
playsound("sound_tjlands");
}
jumped = 1;
} else {
jumped = 0;
}
};
animateTurn = function (turn) {
if (turn > 0) {
turnspeed = 10;
var tempx = (x + turnspeed);
if (tempx < ((mapBX - tileW) - 7)) {
turnspeed = 10;
if (player_mc._currentframe != 12) {
player_mc.gotoAndStop("right");
}
} else {
turnspeed = 0;
if (player_mc._currentframe != 1) {
player_mc.gotoAndStop("front");
}
}
if (eval (((mapX + 1) add "_") add mapZ).info == "ramp") {
if (((x + turnspeed) / 60) >= (mapX + 1)) {
turnspeed = 0;
if (player_mc._currentframe != 1) {
player_mc.gotoAndStop("front");
}
} else {
turnspeed = 10;
if (player_mc._currentframe != 12) {
player_mc.gotoAndStop("right");
}
}
}
} else if (turn < 0) {
turnspeed = -10;
var tempx = (x + turnspeed);
if (tempx > ((0 + tileW) + 27)) {
turnspeed = -10;
if (player_mc._currentframe != 7) {
player_mc.gotoAndStop("left");
}
} else {
turnspeed = 0;
if (player_mc._currentframe != 1) {
player_mc.gotoAndStop("front");
}
}
if (eval (((mapX - 1) add "_") add mapZ).info == "ramp") {
if (((x + turnspeed) / 60) <= mapX) {
turnspeed = 0;
if (player_mc._currentframe != 1) {
player_mc.gotoAndStop("front");
}
} else {
turnspeed = -10;
if (player_mc._currentframe != 7) {
player_mc.gotoAndStop("left");
}
}
}
} else if (turnspeed != 0) {
turnspeed = 0;
player_mc.gotoAndStop("front");
}
};
animateHit = function (hit) {
var _local1 = _global;
if (hit) {
if (keys != 0) {
y = 0;
if (_parent.TJstatus._currentframe < 20) {
_parent.TJstatus.gotoAndPlay("crash");
}
playerControl(0, 0, 0, 0, 0);
playsound("sound_boing");
_level0.stopwatch.gotoAndStop("pause");
trace(_local1.lives);
_local1.lives--;
_level0.livesOSD.gotoAndStop(_local1.lives + 1);
}
}
};
animateThrow = function (throwball) {
if (throwball) {
if (thrown == 0) {
if ((_global.balls > 0) and (_level0.game eq "targetGame")) {
player_mc.tj.upperbody.gotoAndStop("throw");
createball(x, z);
thrown = 1;
playsound("sound_ball");
}
}
} else {
thrown = 0;
}
};
collision = function () {
hitFlag(_level0.world_mc);
hitTarget(_level0.world_mc);
hitObs(_level0.world_mc);
if (airborne == 0) {
hitHole(_level0.world_mc);
}
};
rectTest = function (mc1, mc2) {
var _local1 = mc2;
var _local2 = mc1;
var l1 = ((_local2.x - _local2.bounds.left) + _local2.bounds.offsetX);
var r1 = ((_local2.x + _local2.bounds.right) + _local2.bounds.offsetX);
var t1 = ((_local2.y - _local2.bounds.top) + _local2.bounds.offsetY);
var b1 = ((_local2.y + _local2.bounds.bottom) + _local2.bounds.offsetY);
var _local3 = (_local1.x - _local1.bounds.left) + _local1.bounds.offsetX;
var r2 = ((_local1.x + _local1.bounds.right) + _local1.bounds.offsetX);
if (_local1 == this) {
var t2 = ((_local1.z - _local1.bounds.top) + _local1.bounds.offsetY);
var b2 = ((_local1.z + _local1.bounds.bottom) + _local1.bounds.offsetY);
} else {
var t2 = ((_local1.y - _local1.bounds.top) + _local1.bounds.offsetY);
var b2 = ((_local1.y + _local1.bounds.bottom) + _local1.bounds.offsetY);
}
if (((t1 < b2) && (t2 < b1)) && ((l1 < r2) && (_local3 < r1))) {
return(true);
}
return(false);
};
hitFlag = function (mc) {
var _local3 = _global;
var _local1 = 0;
while (_local1 < colls.FlagList.length) {
if (rectTest(colls.FlagList[_local1].my_mc, mc)) {
if (colls.FlagList[_local1].my_mc.hitFlag == 0) {
colls.FlagList[_local1].my_mc.hitFlag = 1;
var _local2 = colls.FlagList[_local1].my_mc;
_local2.flag.gotoAndStop("remove");
if (_local2.info == "red flag") {
_local3.ScoreFlags = _local3.ScoreFlags + 1;
createbonus(x, z + 80, "normal");
playsound("sound_collect");
}
if (_local2.info == "blue flag") {
_local3.ScoreFlags = _local3.ScoreFlags + 5;
createbonus(x, z + 80, "bonus");
playsound("sound_collect");
}
if (_local2.info == "yellow flag") {
_parent.TJstatus.gotoAndPlay("flash");
}
}
}
_local1++;
}
};
hitTarget = function (mc) {
var _local3 = mc;
var _local2 = 0;
while (_local2 < colls.TargetList.length) {
if (rectTest(colls.TargetList[_local2].my_mc, _local3)) {
if (colls.TargetList[_local2].my_mc.hitFlag == 0) {
colls.TargetList[_local2].my_mc.hitFlag = 1;
var _local1 = colls.TargetList[_local2].my_mc;
if (_local3 eq "_level0.world_mc") {
hit = 1;
}
if (_local1.info == "target") {
_global.ScoreTargets = _global.ScoreTargets + 1;
_local1.targ.gotoAndStop("remove");
playsound("sound_hittarg");
return(2);
}
if (_local1.info == "bonus target") {
_global.ScoreTargets = _global.ScoreTargets + 5;
_local1.targ.tag.gotoAndStop(2);
playsound("sound_hittarg");
return(3);
}
if (_local1.info == "1up target") {
livesOSD.gotoAndStop(lives + 1);
_local1.targ.gotoAndStop("remove");
return(4);
}
}
}
_local2++;
}
return(undefined);
};
hitHole = function (mc) {
var _local1 = 0;
while (_local1 < colls.HoleList.length) {
if (rectTest(colls.HoleList[_local1].my_mc, _level0.world_mc)) {
if (colls.HoleList[_local1].my_mc.hitFlag == 0) {
colls.HoleList[_local1].my_mc.hitFlag = 1;
hit = 1;
}
}
_local1++;
}
};
hitObs = function (mc) {
var _local1 = 0;
while (_local1 < colls.ObsList.length) {
if (rectTest(colls.ObsList[_local1].my_mc, _level0.world_mc)) {
if ((colls.ObsList[_local1].my_mc.info != "plank") && (colls.ObsList[_local1].my_mc.info != "ramp")) {
if (colls.ObsList[_local1].my_mc.hitFlag == 0) {
colls.ObsList[_local1].my_mc.hitFlag = 1;
var _local3 = colls.ObsList[_local1].my_mc;
if (_local3.info eq "pickup") {
_local3.extraballs.gotoAndStop("remove");
playsound("sound_collect");
_global.balls = _global.balls + 3;
}
if (_local3.info eq "x2tyre") {
if (airborne == 0) {
hit = 1;
}
}
if (((((_local3.info eq "x4tyre") or (_local3.info eq "barrier")) or (_local3.info eq "dog")) or (_local3.info eq "diggers")) or (_local3.info eq "savages")) {
hit = 1;
}
}
} else {
var _local3 = colls.ObsList[_local1].my_mc;
if (_local3.info eq "ramp") {
if (rampDiff == 0) {
startDiff = z / 60;
}
rampDiff = z / 60;
var _local2 = rampDiff - startDiff;
if ((_local2 > 0) and (_local2 < 1)) {
}
if (_local2 > 0.4) {
animateJump(1, 25);
wheelspeed = 4;
}
if (_local2 > 0.6) {
startDiff = 0;
rampDiff = 0;
}
}
if (_local3.info eq "plank") {
airborne = 1;
}
}
}
_local1++;
}
};
stop();
Symbol 478 MovieClip Frame 1
stop();
Symbol 483 MovieClip Frame 1
stop();
Instance of Symbol 479 MovieClip in Symbol 483 MovieClip Frame 1
onClipEvent (enterFrame) {
var id = ScoreFlags;
if (id < 10) {
if (digit1._currentframe != 1) {
digit1.gotoAndStop(1);
}
digit2.gotoAndStop(id + 1);
} else {
digit1.gotoAndStop(Number(String(id).charAt(0)) + 1);
digit2.gotoAndStop(Number(String(id).charAt(1)) + 1);
}
}
Symbol 483 MovieClip Frame 2
stop();
Instance of Symbol 479 MovieClip in Symbol 483 MovieClip Frame 2
onClipEvent (enterFrame) {
var id = ScoreTargets;
if (id < 10) {
if (digit1._currentframe != 1) {
digit1.gotoAndStop(1);
}
digit2.gotoAndStop(id + 1);
} else {
digit1.gotoAndStop(Number(String(id).charAt(0)) + 1);
digit2.gotoAndStop(Number(String(id).charAt(1)) + 1);
}
}
Instance of Symbol 479 MovieClip in Symbol 483 MovieClip Frame 2
onClipEvent (enterFrame) {
var id = balls;
if (id < 10) {
if (digit1._currentframe != 1) {
digit1.gotoAndStop(1);
}
digit2.gotoAndStop(id + 1);
} else {
digit1.gotoAndStop(Number(String(id).charAt(0)) + 1);
digit2.gotoAndStop(Number(String(id).charAt(1)) + 1);
}
}
Symbol 491 MovieClip Frame 1
stop();
Symbol 491 MovieClip Frame 2
_level0.world_mc.playsound("sound_bonus1up");
if (_global.lives < 9) {
_global.lives++;
_level0.livesOSD.gotoAndStop(_global.lives + 1);
}
play();
Symbol 491 MovieClip Frame 10
_level0.world_mc.playsound("sound_excellent");
Symbol 491 MovieClip Frame 17
gotoAndStop (1);
Symbol 491 MovieClip Frame 20
play();
Symbol 491 MovieClip Frame 25
gotoAndStop (1);
Symbol 514 MovieClip Frame 1
stop();
Symbol 537 MovieClip Frame 1
stop();
Symbol 538 MovieClip Frame 1
stop();
Symbol 549 Button
on (press) {
this.gotoAndPlay("next level");
}
Symbol 566 Button
on (press) {
this.gotoAndPlay("returnMenu");
}
Symbol 571 Button
on (press) {
this.gotoAndPlay("retry level");
}
Symbol 589 Button
on (press) {
this.gotoAndPlay("view score");
}
Symbol 592 MovieClip Frame 1
stop();
Symbol 592 MovieClip Frame 2
stop();