Frame 1
if (false) {
}
function callStart() {
var _local1 = new LoadVars();
var _local2 = new LoadVars();
_local1.type = "stCheck";
_local1.gno = gno;
_local1.userID = userID;
_local1.compno = compno;
_local1.sendAndLoad(baseURL + sScript2, _local2, "post");
}
System.useCodepage = true;
Stage.showMenu = false;
var baseURL = "/flashrank/";
var sScript1 = "F_get_rank.php";
var sScript2 = "F_put_rank.php";
var rankSt = true;
var main_sound = new Sound();
this.F_CallFromJavascript = function (prop, oldVauel, newValue) {
var _local1 = 0;
if (Number(newValue) == 0) {
_local1 = 0;
} else {
_local1 = 100;
}
main_sound.setVolume(_local1);
};
this.watch("vol", _root.F_CallFromJavascript);
Frame 50
if (false) {
}
if (!loadDone) {
gotoAndPlay (2);
}
Frame 51
if (false) {
}
rankSt = Boolean(Number(rankSt));
_quality = "HIGH";
if (!rankSt) {
rank_btn._visible = false;
}
var start_sound = new Sound(startSnd_mc);
start_sound.attachSound("startSnd");
start_sound.onSoundComplete = function () {
start_sound.start();
};
var bg_sound = new Sound(gameSnd_mc);
bg_sound.attachSound("gameSnd");
bg_sound.onSoundComplete = function () {
bg_sound.start();
};
var car_sound = new Sound(carSnd_mc);
car_sound.attachSound("carSnd");
car_sound.setVolume(20);
car_sound.onSoundComplete = function () {
car_sound.start();
};
_global.setMeter = function (meter, num) {
var _local2 = String(num);
meter.gotoAndStop(_local2.length);
var _local3 = 0;
var _local1 = _local2.length - 1;
while (_local1 >= 0) {
meter["n" + _local3].gotoAndStop(Number(_local2.charAt(_local1)) + 1);
_local3++;
_local1--;
}
};
String.numberFormat = function (num, digits) {
var _local2 = num;
var _local3 = String(int(_local2));
var _local1 = _local3.length - 4;
while (_local1 >= 0) {
_local3 = (_local3.substring(0, _local1 + 1) + ",") + _local3.substr(_local1 + 1);
_local1 = _local1 - 3;
}
if (int(digits) > 0) {
_local3 = _local3 + ".";
_local2 = String(int((_local2 - int(_local2)) * Math.pow(10, digits)));
while (_local2.length < digits) {
_local2 = "0" + _local2;
}
}
return(_local3);
};
bg_sound.stop();
car_sound.stop();
start_sound.stop();
start_sound.start();
reset();
stop();
Frame 52
if (false) {
}
stop();
_quality = "HIGH";
Frame 53
if (false) {
}
stop();
_quality = "HIGH";
Frame 54
if (false) {
}
stop();
_quality = "HIGH";
Frame 55
if (false) {
}
_global.stInit = false;
var bonusArray = new Array();
if (qual == 2) {
_quality = "MEDIUM";
} else {
_quality = "HIGH";
}
Frame 61
if (false) {
}
Mouse.hide();
bg_sound.start();
start_sound.stop();
stop();
Frame 62
if (false) {
}
Mouse.show();
_global.stInit = false;
var bonusPoint = 0;
trace("\uC810\uC218:" + totalScoreDisplay);
var i = 0;
while (i < bonusArray.length) {
bonusPoint = bonusPoint + bonusArray[i];
i++;
}
trace("\uBCF4\uB108\uC2A4:" + bonusPoint);
totalScoreDisplay = totalScoreDisplay + bonusPoint;
stopAllSounds();
_quality = "HIGH";
stop();
Frame 63
if (false) {
}
rank_mc.dataMode = 1;
rank_mc.nextFrame();
_quality = "HIGH";
stop();
Frame 64
if (false) {
}
stop();
Symbol 39 MovieClip Frame 7
if (false) {
}
_parent.prevFrame();
Symbol 40 MovieClip Frame 1
if (false) {
}
_parent.light._visible = true;
stop();
Symbol 40 MovieClip Frame 2
if (false) {
}
_parent.light._visible = false;
Symbol 60 MovieClip Frame 1
if (false) {
}
stop();
Symbol 60 MovieClip Frame 2
if (false) {
}
play();
Symbol 60 MovieClip Frame 3
if (false) {
}
play();
Symbol 60 MovieClip Frame 4
if (false) {
}
play();
Symbol 60 MovieClip Frame 5
if (false) {
}
play();
Symbol 60 MovieClip Frame 6
if (false) {
}
play();
Symbol 60 MovieClip Frame 7
if (false) {
}
play();
Symbol 60 MovieClip Frame 8
if (false) {
}
play();
Symbol 60 MovieClip Frame 9
if (false) {
}
play();
Symbol 60 MovieClip Frame 10
if (false) {
}
play();
Symbol 60 MovieClip Frame 11
if (false) {
}
play();
Instance of Symbol 60 MovieClip "booster_mc" in Symbol 61 MovieClip Frame 1
onClipEvent (load) {
if (false) {
}
this.gotoAndPlay(2);
}
Symbol 70 MovieClip Frame 7
if (false) {
}
_parent.prevFrame();
Symbol 71 MovieClip Frame 1
if (false) {
}
_parent.light._visible = true;
stop();
Symbol 71 MovieClip Frame 2
if (false) {
}
_parent.light._visible = false;
Symbol 72 MovieClip Frame 1
if (false) {
}
stop();
Symbol 72 MovieClip Frame 2
if (false) {
}
play();
Symbol 72 MovieClip Frame 3
if (false) {
}
play();
Symbol 72 MovieClip Frame 4
if (false) {
}
play();
Symbol 72 MovieClip Frame 5
if (false) {
}
play();
Symbol 72 MovieClip Frame 6
if (false) {
}
play();
Symbol 72 MovieClip Frame 7
if (false) {
}
play();
Symbol 72 MovieClip Frame 8
if (false) {
}
play();
Symbol 72 MovieClip Frame 9
if (false) {
}
play();
Symbol 72 MovieClip Frame 10
if (false) {
}
play();
Symbol 72 MovieClip Frame 11
if (false) {
}
play();
Instance of Symbol 72 MovieClip "booster_mc" in Symbol 73 MovieClip Frame 1
onClipEvent (load) {
if (false) {
}
this.gotoAndPlay(2);
}
Symbol 80 MovieClip Frame 7
if (false) {
}
_parent.prevFrame();
Symbol 81 MovieClip Frame 1
if (false) {
}
_parent.light._visible = true;
stop();
Symbol 81 MovieClip Frame 2
if (false) {
}
_parent.light._visible = false;
Symbol 82 MovieClip Frame 1
if (false) {
}
stop();
Symbol 82 MovieClip Frame 2
if (false) {
}
play();
Symbol 82 MovieClip Frame 3
if (false) {
}
play();
Symbol 82 MovieClip Frame 4
if (false) {
}
play();
Symbol 82 MovieClip Frame 5
if (false) {
}
play();
Symbol 82 MovieClip Frame 6
if (false) {
}
play();
Symbol 82 MovieClip Frame 7
if (false) {
}
play();
Symbol 82 MovieClip Frame 8
if (false) {
}
play();
Symbol 82 MovieClip Frame 9
if (false) {
}
play();
Symbol 82 MovieClip Frame 10
if (false) {
}
play();
Symbol 82 MovieClip Frame 11
if (false) {
}
play();
Instance of Symbol 82 MovieClip "booster_mc" in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
if (false) {
}
this.gotoAndPlay(2);
}
Symbol 84 MovieClip Frame 1
if (false) {
}
stop();
Symbol 113 MovieClip Frame 1
if (false) {
}
stop();
Instance of Symbol 84 MovieClip "sprite" in Symbol 113 MovieClip Frame 1
onClipEvent (load) {
if (false) {
}
this.gotoAndStop(choiceCarNum);
}
Symbol 119 MovieClip Frame 1
if (false) {
}
stop();
Symbol 129 MovieClip Frame 1
if (false) {
}
stop();
Symbol 129 MovieClip Frame 2
if (false) {
}
stop();
Symbol 129 MovieClip Frame 3
if (false) {
}
stop();
Symbol 129 MovieClip Frame 4
if (false) {
}
stop();
Symbol 187 MovieClip Frame 11
if (false) {
}
if (stInit) {
pStart_mc._visible = false;
} else {
pStart_mc._visible = true;
_global.stInit = true;
}
Symbol 247 MovieClip Frame 1
if (false) {
}
this.onEnterFrame = function () {
var _local2 = _parent;
var _local1 = _local2.getBytesLoaded() / _local2.getBytesTotal();
loading_mc.bar_mc._width = Math.round(236 * _local1);
if (_local1 == 1) {
_local2.loadDone = true;
delete this.onEnterFrame;
}
};
Symbol 277 Button
on (release) {
if (false) {
}
gotoAndPlay ("choice");
}
Symbol 279 Button
on (release) {
if (false) {
}
gotoAndStop ("help");
}
Symbol 281 Button
on (release) {
if (false) {
}
gotoAndStop ("rank");
}
Symbol 285 Button
on (release) {
if (false) {
}
prevFrame();
}
Symbol 286 Button
on (release) {
if (false) {
}
nextFrame();
}
Symbol 290 MovieClip Frame 1
if (false) {
}
stop();
_parent.qual = 2;
Symbol 290 MovieClip Frame 2
if (false) {
}
_parent.qual = 1;
Symbol 294 MovieClip Frame 1
if (false) {
}
stop();
Symbol 294 MovieClip Frame 7
if (false) {
}
gotoAndPlay (3);
Symbol 415 MovieClip Frame 1
if (false) {
}
var i = 1;
while (i < 4) {
this["c" + i].re = i;
this["c" + i].onRelease = function () {
_global.choiceCarNum = this.re;
_parent.gotoAndStop("choice2");
};
i++;
}
Symbol 438 MovieClip Frame 1
if (false) {
}
var st_array = ["", "plain", "night", "dirt", "fog"];
var i = 1;
while (i < 5) {
this["st" + i].re = i;
this["st" + i].onRelease = function () {
_parent.level = st_array[this.re];
_parent.gotoAndPlay("start");
};
i++;
}
Symbol 449 MovieClip Frame 1
if (false) {
}
function turnCar() {
var _local1 = this.pl.mc.biker.sprite.car_mc;
trace("gggg:" + _local1);
if (_local1._currentframe != 2) {
_local1.nextFrame();
}
_parent.osd.msg_mc.st_mc.gotoAndStop(3);
}
function lvlRead(i, pointer) {
var _local1 = this;
var _local2 = pointer;
i = i % _local1.teAmount;
if (_local2 == undefined) {
_local1.lvlReadPointer++;
_local2 = _local1.lvlReadPointer;
}
_local2 = (_local2 + _local1.lvl.length) % _local1.lvl.length;
var _local3 = _local1.tes[i];
_local3.curve = _local1.lvl[_local2][0];
_local3.dekoL = _local1.lvl[_local2][1];
_local3.dekoR = _local1.lvl[_local2][2];
_local3.mc.swapDepths(_local1.teDepthCounter--);
_local3.mc.street.dekoL.gotoAndStop(_local1.lvl[_local2][1] + 1);
_local3.mc.street.dekoR.gotoAndStop(_local1.lvl[_local2][2] + 1);
}
function init() {
var _local1 = this;
_local1.phase = 0;
_local1.accelTimeStamp = 0;
bg.gotoAndStop(_local1.level);
switch (_local1.level) {
case "plain" :
_local1.teAmount = 10;
_local1.teBotMaxX = 1.9;
_local1.trackWidth = 2.7;
_local1.streetWidth = 2.2;
_local1.greenFriction = 1.03;
break;
case "night" :
_local1.teAmount = 10;
_local1.teBotMaxX = 1.9;
_local1.trackWidth = 2.7;
_local1.streetWidth = 2.2;
_local1.greenFriction = 0.93;
break;
case "fog" :
_local1.teAmount = 8;
_local1.teBotMaxX = 1.2;
_local1.trackWidth = 2.05;
_local1.streetWidth = 1.7;
_local1.greenFriction = 0.93;
break;
case "dirt" :
_local1.teAmount = 10;
_local1.teBotMaxX = 0.9;
_local1.trackWidth = 2.6;
_local1.streetWidth = 2.2;
_local1.greenFriction = 0.93;
}
_local1.teMcHeight = 100;
_local1.teHeight = 35;
_local1.teHeightScale = 0.8;
_local1.camX = 0;
_local1.scoreFlag = true;
_local1.pl.vx = 0;
_local1.pl.ax = 0.03;
_local1.pl.fx = 0.85;
_local1.pl.x = 0;
_local1.pl.y = -1;
_local1.pl.vz = 0;
_local1.pl.az = 0.005;
_local1.pl.fz = 0.98;
_local1.lvlReadPointer = -1;
_local1.teDepthCounter = 1000000 /* 0x0F4240 */;
_local1.spriteDepthCounter = 2000000 /* 0x1E8480 */;
_local1.pl.mc = _local1.attachMovie("bike", "bike", 3000000);
_local1.pl.mc._y = 155;
_local1.pl.mc.biker.sprite.tire.stop();
var levelNum = 0;
var _local2 = 0;
while (_local2 < _local1.teAmount) {
_local1.tes[_local2] = Array();
_local1.tes[_local2].mc = _local1.attachMovie("te", "track" + _local2, _local1.teDepthCounter--);
_local1.tes[_local2].col = new Color(_local1.tes[_local2].mc);
_local1.tes[_local2].mc.street.variant.gotoAndStop(_local1.level);
_local1.lvlRead(_local2);
_local1.tes[_local2].mc.grass.variant.gotoAndStop(_local1.level);
_local2++;
}
_local1.offTe = 0;
_local1.botcfg = {vzMax:0.15, az:0.005, ax:0.005, vzVariance:0.55};
_local2 = 0;
while (_local2 < 6) {
_local1.bots[_local2] = new Object();
_local1.bots[_local2].mc = _local1.attachMovie("bike", "bot" + _local2, _local1.spriteDepthCounter--);
_local1.bots[_local2].mc.biker.tire.gotoAndStop(1);
_local1.bots[_local2].col = new Color(_local1.bots[_local2].mc);
_local1.bots[_local2].vz = 0;
_local1.bots[_local2].az = _local1.botcfg.az;
_local1.bots[_local2].ax = _local1.botcfg.ax;
_local1.resetBot(_local1.bots[_local2], _local2);
_local1.bots[_local2].x = _local1.botBases[_local2].x;
_local1.bots[_local2].z = _local1.botBases[_local2].z;
_local2++;
}
_local1.coltrans = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
}
function resetBot(bot, k) {
var _local1 = this;
var _local2 = bot;
_local2.x = ((_local1.teBotMaxX * Math.random()) * 2) - _local1.teBotMaxX;
_local2.mc.biker.gotoAndStop(k + 2);
_local2.vzMax = _local1.botcfg.vzMax + ((Math.random() * _local1.botcfg.vzMax) * _local1.botcfg.vzVariance);
}
function startBots() {
var _local1 = this;
for (var _local2 in _local1.bots) {
_local1.bots[_local2].mc.biker.tire.play();
}
}
function gameOver() {
var _local1 = _root;
_local1.actScore = int(_local1.osd.actScore);
_local1.gotoAndStop("raceover");
}
function botSort(a, b) {
if (a.z < b.z) {
return(-1);
}
if (a.z > b.z) {
return(1);
}
return(0);
}
function draw() {
var _local1 = this;
var curve;
var _local3;
var offCurve = 0;
var distance;
var ti;
var _local2;
_local2 = (getTimer() - _local1.timestamp) / 50;
_local1.timestamp = getTimer();
if (_local2 > 200) {
return(null);
}
if (_parent.osd.mph > 0) {
_local1.pl.mc.biker.sprite.tire.play();
_parent.carSound_mc.play();
} else {
_local1.pl.mc.biker.sprite.tire.gotoAndStop(1);
_parent.carSound_mc.gotoAndStop(1);
}
if (Key.isDown(38)) {
if (_local1.phase == 1) {
_local1.pl.mc.biker.sprite.light.gotoAndStop("off");
if (_local1.accelTimeStamp > 0) {
var a = (getTimer() - _local1.accelTimeStamp);
if ((a > 0) || (a < -1000)) {
_local1.accelTimeStamp = 0;
} else {
_local1.pl.vz = _local1.pl.vz + (_local1.pl.az * _local2);
}
}
_local1.pl.vz = _local1.pl.vz + (_local1.pl.az * _local2);
_local1.distance = _local1.distance - (0.05 * _local2);
} else if ((_local1.phase == 0) && (_local1.keyAccelTokens > 0)) {
_local1.keyAccelTokens = 0;
_local1.accelTimeStamp = getTimer() + 1000;
}
} else {
_local1.pl.mc.biker.sprite.light.gotoAndStop("on");
_local1.keyAccelTokens = 1;
}
if (Key.isDown(40)) {
_local1.pl.vz = _local1.pl.vz * Math.pow(0.95, _local2);
}
if (_local1.phase >= 2) {
_local1.pl.vz = _local1.pl.vz * Math.pow(0.95, _local2);
} else {
_local1.pl.vz = _local1.pl.vz * Math.pow(_local1.pl.fz, _local2);
}
var volSqueal = 0;
if (Key.isDown(37) && (_local1.phase > 0)) {
volSqueal = Math.max(0, Math.abs(_local1.pl.vx) - 0.3);
_local1.pl.vx = _local1.pl.vx - (0.1 * _local2);
if (!Key.isDown(38)) {
_local1.pl.vx = _local1.pl.vx - (0.05 * _local2);
}
}
if (Key.isDown(39) && (_local1.phase > 0)) {
volSqueal = Math.max(0, Math.abs(_local1.pl.vx) - 0.3);
_local1.pl.vx = _local1.pl.vx + (0.1 * _local2);
if (!Key.isDown(38)) {
_local1.pl.vx = _local1.pl.vx + (0.05 * _local2);
}
}
_local1.pl.vx = _local1.pl.vx * Math.pow(_local1.pl.fx, _local2);
_local1.pl.mc.biker._rotation = (_local1.pl.mc.biker._rotation * 0.8) + (((_local1.pl.vx * Math.max(0.08, Math.abs(_local1.pl.vz))) * 30) * 0.2);
_local1._rotation = (_local1.pl.vx * Math.abs(_local1.pl.vz)) * 90;
_local1.distance = _local1.distance - (_local1.pl.vz * _local2);
_root.osd.actScore = _root.osd.actScore + ((_local1.pl.vz * _local2) * 5);
if (_local1.phase > 1) {
if ((_local1.phase == 2) || (_local1.phase == 3)) {
if (_local1.phase == 3) {
_local1.pl.vz = _local1.pl.vz * Math.pow(0.95, _local2);
}
if (_local1.pl.vz < 0.003) {
_local1.phase = 4;
_local1.gameOver();
} else if (_local1.pl.vz < 0.015) {
_local1.pl.vz * 0.5;
}
}
}
var control;
_local1.pl.x = Math.max(-1 * _local1.trackWidth, Math.min(_local1.trackWidth, _local1.pl.x));
control = 0.2;
if (_local1.level == "dirt") {
control = 0.15;
if (Math.abs(_local1.pl.x) > _local1.streetWidth) {
control = 0.12;
} else if (Math.abs(_local1.pl.x) > 1) {
control = 0.1;
_local1.pl.vz = _local1.pl.vz * Math.pow(0.997, _local2);
}
}
_local1.pl.x = _local1.pl.x + (((_local1.pl.vx * _local2) * control) * Math.max(0.7, Math.min(0.8, _local1.pl.vz * 10)));
_local1.pl.vz = Math.max(0, _local1.pl.vz - (Math.abs(_local1.pl.vx * 0.001) * _local2));
_local1.camX = _local1.pl.x * -100;
while (_local1.distance < 0) {
_local1.distance = _local1.distance + 1;
_local1.lvlRead(_local1.offTe);
_local1.offTe++;
_local1.scoreFlag = true;
}
while (_local1.distance > 1) {
_local1.lvlReadPointer--;
_local1.lvlRead(_local1.offTe, (_local1.lvlReadPointer - _local1.teAmount) + 1);
_local1.distance = _local1.distance - 1;
_local1.offTe--;
}
p = Math.pow(0.64, _local1.pl.y);
_local3 = _local1.pl.mc;
_local3._y = p * 100;
_local3._xscale = (_local3._yscale = p * 100);
_local3._x = ((_local1.pl.x * p) * 100) + _local1.camX;
var i = 0;
while (i < _local1.teAmount) {
te = _local1.tes[(i + _local1.offTe) % _local1.teAmount];
_local3 = te.mc;
distance = (_local1.distance - 2) + i;
_local1.sfx(te, distance);
p = Math.pow(0.64, distance);
_local3._y = p * 100;
scale = p * 100;
_local3.street._xscale = scale;
_local3.street._yscale = scale;
_local3.grass._yscale = scale;
curve = te.curve;
if (i == 0) {
x = _local1.camX * p;
curve = curve * _local1.distance;
} else {
x = spliceX;
}
if (i == 0) {
var dx = (((_local1.pl.vz * te.curve) * 0.09) * _local2);
_local1.pl.x = _local1.pl.x + dx;
_local1.bg.shil._x = ((_local1.bg.shil._x + (dx * 60)) + 700) % 700;
}
if (i == 1) {
if (Math.abs(_local1.pl.x) > (_local1.streetWidth - 0.4)) {
_local1.pl.vz = _local1.pl.vz * Math.pow(_local1.greenFriction, _local2);
if ((_local1.pl.x > 0) && (te.dekoR > 0)) {
turnCar();
_local1.pl.vz = _local1.pl.vz * Math.pow(0.7, _local2);
_local1.pl.vx = _local1.pl.vx - (0.5 * _local2);
} else if ((_local1.pl.x < 0) && (te.dekoL > 0)) {
turnCar();
_local1.pl.vz = _local1.pl.vz * Math.pow(0.7, _local2);
_local1.pl.vx = _local1.pl.vx + (0.5 * _local2);
}
}
if ((te.dekoL == 11) || (te.dekoL == 12)) {
if (_local1.scoreFlag == true) {
_root.osd.score(false, false);
_local1.scoreFlag = false;
_local1.phase = 1;
}
}
}
_local3.street._x = x;
_local1.bufferOffX[i] = x;
_local1.bufferCurve[i] = te.curve;
offCurve = offCurve + curve;
curve = (_local1.camX * 0.094) + offCurve;
spliceX = x - ((curve * 3.8) * p);
curve = Math.min(Math.max(71 - int(curve), 1), 141);
_local3.street.gotoAndStop(curve);
i++;
}
_local1.bufferOffX[i] = _local1.bufferOffX[i - 1];
var d;
var rot;
var strategy;
_local1.bots.sort(_local1.botSort);
var i = 0;
while (i < _local1.bots.length) {
i = int(i);
bot = _local1.bots[i];
if ((_local1.phase == 1) || (_local1.phase == 2)) {
bot.vz = Math.min(bot.vz + (bot.az * _local2), bot.vzMax);
} else {
bot.vz = bot.vz * Math.pow(0.96, _local2);
bot.vx = bot.vx * 0.5;
}
if ((_local1.phase == 0) || (_local1.phase == 4)) {
bot.vz = 0;
bot.vx = 0;
}
bot.z = bot.z + ((bot.vz - _local1.pl.vz) * _local2);
bot.x = bot.x + (bot.vx * _local2);
bot.vx = bot.vx * Math.pow(0.95, _local2);
_local3 = bot.mc;
if (bot.z < 0) {
var tal = (90 - (int((2 + bot.z) * 100) / 2));
if (tal > 50) {
tal = 50;
}
_local3.biker.t_mc._alpha = tal;
} else {
_local3.biker.t_mc._alpha = 0;
}
if ((bot.z < -2) || (bot.z >= (_local1.teAmount - 3))) {
if (bot.z > (_local1.teAmount + 6)) {
bot.z = bot.z - (_local1.teAmount + 8);
}
if (bot.z < -5) {
bot.z = _local1.teAmount + (Math.random() * 5);
}
_local3._visible = false;
} else {
_local3._visible = true;
if (bot.z < -1) {
_local3.swapDepths((4000000 - int(bot.z * 10000)) - i);
} else {
_local3.swapDepths((2000000 - int(bot.z * 10000)) - i);
}
ti = (bot.z + 2) - _local1.distance;
distance = 1 - (ti - Math.floor(ti));
ti = Math.ceil(ti);
_local1.sfx(bot, bot.z);
curve = _local1.tes[(ti + _local1.offTe) % _local1.teAmount].curve;
rot = curve + (bot.vx * -100);
_local3.biker._rotation = Math.max(Math.min((_local3.biker._rotation * 0.9) + ((rot * -6.5) * 0.1), 33), -33) / 5;
p = Math.pow(0.64, bot.z);
_local3._y = p * 100;
_local3._x = (((bot.x * p) * 100) + (_local1.bufferOffX[ti] * distance)) + (_local1.bufferOffX[ti + 1] * (1 - distance));
_local3._xscale = (_local3._yscale = p * 100);
strategy = 0;
d = Math.abs(bot.x - _local1.pl.x);
if (d < 0.8) {
if (bot.z > -1) {
if (bot.z < -0.63) {
_local1.pl.vz = Math.min(_local1.pl.vz, bot.vz) * Math.pow(0.7, _local2);
}
} else if (bot.z > -1.37) {
bot.vz = Math.min(_local1.pl.vz, bot.vz) * Math.pow(0.7, _local2);
} else {
if (_local1.pl.x > 0) {
bot.vx = bot.vx - (bot.ax * _local2);
} else {
bot.vx = bot.vx + (bot.ax * _local2);
}
strategy = 11;
}
}
if (Math.abs(bot.x) >= _local1.teBotMaxX) {
if (_local1.bot.x > 0) {
bot.vx = bot.vx - (bot.ax * _local2);
} else {
bot.vx = bot.vx + (bot.ax * _local2);
}
strategy = 20;
if (Math.abs(bot.x) > _local1.streetWidth) {
bot.vz = bot.vz * Math.pow(_local1.greenFriction, _local2);
}
if ((Math.abs(_local1.bot.x) < _local1.streetWidth) && (Math.abs(_local1.bot.x) > 1)) {
_local1.bot.vz = _local1.bot.vz * Math.pow(0.987, _local2);
}
}
if (strategy == 0) {
if (i < (_local1.bots.length - 1)) {
var j = (i + 1);
while (j < _local1.bots.length) {
other = _local1.bots[j];
if ((Math.abs(bot.x - other.x) < 0.3) && ((other.z - bot.z) < 1)) {
if (bot.x > 0) {
bot.vx = bot.vx - (bot.ax * _local2);
} else {
bot.vx = bot.vx - (bot.ax * _local2);
}
bot.vz = bot.vz * Math.pow(0.95, _local2);
strategy = 30;
}
j++;
}
}
}
if (strategy == 0) {
bot.vx = bot.vx - (((bot.ax * _local2) * curve) / 15);
strategy = 40;
}
}
i++;
}
if (Key.isDown(36) || (Key.isDown(35))) {
_local1.levedPrint();
}
return(undefined);
}
function sfx(te, distance) {
}
this.lvls = new Array();
this.lvls.plain = new Array([0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 5, 6], [0, 10, 1], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [1, 0, 7], [2, 0, 7], [3, 0, 7], [4, 0, 7], [3, 0, 7], [2, 0, 0], [1, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [1, 0, 0], [2, 0, 7], [4, 0, 7], [6, 0, 7], [8, 0, 7], [6, 0, 7], [4, 0, 0], [2, 0, 51], [1, 0, 52], [0, 0, 0], [0, 0, 0], [-2, 7, 0], [-4, 7, 0], [-5, 7, 0], [-4, 7, 0], [-2, 0, 0], [0, 0, 0], [2, 0, 7], [3, 0, 7], [4, 0, 7], [4, 0, 7], [4, 0, 7], [4, 0, 7], [4, 0, 7], [3, 0, 0], [2, 0, 0], [1, 0, 0], [0, 20, 0], [0, 0, 0], [0, 0, 0], [0, 21, 0], [1, 0, 7], [2, 0, 7], [3, 0, 7], [2, 0, 7], [1, 0, 0], [0, 2, 1], [-2, 0, 0], [-3, 7, 0], [-4, 7, 0], [-5, 7, 0], [-6, 7, 0], [-7, 7, 0], [-8, 7, 0], [-8, 7, 0], [-8, 7, 0], [-8, 7, 0], [-8, 7, 0], [-7, 7, 0], [-6, 7, 0], [-5, 7, 0], [-4, 0, 0], [-3, 0, 0], [-2, 0, 0], [-1, 0, 0], [0, 0, 0], [0, 55, 0], [0, 53, 0], [0, 0, 54], [0, 0, 0], [0, 58, 50], [0, 0, 51], [0, 59, 0], [0, 0, 0], [0, 4, 9], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [1, 0, 0], [2, 52, 7], [4, 55, 7], [6, 0, 7], [6, 0, 7], [6, 0, 7], [4, 51, 7], [2, 0, 0], [0, 0, 0], [-2, 7, 52], [-4, 7, 57], [-6, 7, 0], [-8, 7, 0], [-10, 7, 58], [-8, 7, 59], [-6, 7, 0], [-4, 7, 0], [2, 0, 0], [0, 0, 0], [0, 0, 52], [0, 53, 54], [0, 0, 0], [1, 57, 7], [2, 58, 7], [3, 56, 7], [2, 0, 7], [-2, 7, 0], [-5, 7, 0], [-8, 7, 0], [-10, 7, 0], [-8, 7, 0], [-7, 7, 0], [-6, 7, 0], [-5, 7, 0], [-4, 7, 0], [-3, 7, 0], [-2, 7, 54], [-3, 7, 53], [-3, 7, 0], [-3, 7, 52], [-3, 0, 0], [-2, 0, 0], [-1, 54, 53], [0, 0, 54], [0, 0, 0], [0, 11, 1], [0, 0, 0], [0, 54, 0], [0, 0, 0], [1, 0, 0], [1, 0, 0], [2, 0, 0], [2, 20, 0], [3, 0, 7], [3, 0, 7], [3, 0, 7], [3, 0, 7], [3, 0, 0], [2, 0, 22], [2, 0, 0], [2, 0, 0], [1, 0, 0], [1, 23, 0], [0, 0, 0], [-1, 0, 0], [-1, 0, 0], [-2, 3, 8], [-2, 0, 0], [-1, 0, 0], [0, 0, 0], [0, 0, 0], [0, 1, 2], [0, 0, 0], [1, 0, 0], [2, 0, 7], [3, 0, 7], [4, 51, 7], [5, 0, 7], [6, 54, 7], [7, 0, 7], [8, 57, 7], [9, 0, 7], [10, 0, 7], [9, 0, 7], [8, 0, 7], [7, 0, 7], [6, 0, 7], [5, 55, 7], [4, 0, 7], [4, 0, 7], [3, 0, 7], [3, 0, 7], [2, 0, 0], [2, 0, 0], [1, 0, 20], [1, 53, 0], [0, 0, 0], [0, 51, 0], [0, 0, 0], [0, 0, 20], [0, 0, 0], [-1, 0, 0], [-3, 7, 0], [-5, 7, 54], [-7, 7, 0], [-8, 7, 0], [-8, 7, 0], [-7, 7, 50], [-6, 7, 51], [-4, 0, 0], [-2, 57, 53], [-1, 0, 57], [0, 0, 0], [0, 0, 0], [0, 4, 9], [0, 0, 0], [0, 0, 51], [0, 0, 0], [0, 0, 0], [0, 23, 24], [0, 0, 0], [0, 51, 52], [0, 54, 0], [-2, 7, 54], [-4, 7, 55], [-6, 7, 0], [-8, 7, 0], [-6, 7, 54], [-4, 7, 0], [-2, 0, 57], [0, 58, 59], [2, 57, 54], [4, 56, 7], [6, 55, 7], [8, 0, 7], [6, 53, 7], [4, 51, 7], [2, 50, 0], [1, 52, 51], [0, 0, 0], [0, 0, 57], [0, 56, 0], [0, 58, 59], [1, 0, 57], [1, 55, 0], [2, 52, 53], [2, 0, 7], [3, 51, 7], [3, 0, 7], [5, 53, 7], [8, 56, 7], [10, 0, 7], [10, 52, 7], [10, 0, 7], [7, 57, 7], [4, 58, 7], [3, 0, 7], [2, 0, 7], [2, 56, 0], [2, 0, 0], [2, 0, 51], [2, 58, 0], [2, 59, 56], [2, 0, 0], [2, 52, 51], [1, 55, 0], [1, 0, 0], [0, 0, 0], [0, 3, 8], [0, 0, 0], [0, 0, 0], [-2, 7, 0], [-4, 7, 0], [-6, 7, 52], [-4, 7, 0], [-2, 55, 54], [0, 0, 56], [2, 57, 7], [4, 0, 7], [6, 59, 7], [8, 58, 7], [6, 0, 7], [4, 56, 7], [2, 0, 0], [0, 54, 55], [-2, 7, 0], [-4, 7, 52], [-6, 7, 0], [-8, 7, 51], [-10, 7, 0], [-8, 7, 0], [-6, 7, 50], [-4, 7, 0], [-2, 7, 0], [-2, 7, 52], [-2, 7, 53], [-3, 7, 0], [-4, 7, 54], [-5, 7, 0], [-7, 7, 0], [-9, 7, 56], [-10, 7, 55], [-10, 7, 0], [-10, 7, 0], [-9, 7, 0], [-9, 7, 0], [-7, 7, 0], [-5, 7, 0], [-2, 0, 0], [0, 51, 50], [0, 58, 59], [0, 57, 0], [0, 0, 0], [0, 0, 0], [0, 11, 1], [0, 0, 0], [-1, 0, 0], [-1, 0, 0], [-2, 55, 51], [-2, 0, 52], [-3, 0, 0], [-3, 53, 65], [-3, 7, 64], [-4, 7, 0], [-4, 7, 65], [-4, 7, 0], [-4, 7, 0], [-4, 7, 0], [-3, 0, 54], [-3, 51, 50], [-3, 0, 0], [-3, 52, 63], [-3, 55, 59], [-3, 65, 0], [-2, 0, 64], [-2, 0, 0], [-2, 56, 52], [-1, 61, 65], [0, 60, 63], [0, 100, 1], [0, 100, 1], [0, 100, 1], [0, 100, 1], [0, 100, 1], [-3, 7, 60], [-5, 7, 61], [-7, 7, 63], [-4, 7, 51], [-1, 65, 52], [2, 64, 65], [5, 0, 7], [8, 0, 7], [10, 0, 7], [12, 65, 7], [13, 64, 7], [10, 59, 7], [7, 0, 7], [3, 61, 0], [1, 0, 62], [0, 64, 63], [0, 65, 59], [2, 63, 0], [4, 58, 58], [7, 57, 7], [8, 0, 7], [5, 51, 7], [2, 61, 64], [-1, 65, 52], [-4, 7, 56], [-7, 7, 55], [-8, 7, 0], [-9, 7, 62], [-7, 7, 59], [-4, 7, 58], [-1, 64, 0], [2, 60, 61], [5, 64, 7], [7, 65, 7], [8, 50, 7], [7, 0, 7], [7, 51, 7], [7, 0, 7], [7, 65, 7], [5, 64, 7], [3, 65, 65], [2, 63, 62], [1, 62, 61], [0, 65, 64], [0, 64, 65], [0, 54, 55], [0, 0, 64], [0, 51, 54], [0, 0, 65], [0, 0, 64], [0, 0, 0], [0, 0, 0], [0, 21, 22], [0, 0, 65], [0, 64, 58], [3, 61, 60], [6, 63, 7], [9, 60, 7], [12, 62, 7], [11, 63, 7], [10, 64, 7], [9, 60, 7], [7, 61, 7], [5, 62, 7], [3, 64, 60], [2, 65, 64], [1, 0, 65], [0, 0, 0], [0, 23, 24], [0, 56, 65], [0, 64, 57], [3, 62, 61], [6, 60, 7], [9, 62, 7], [12, 63, 7], [11, 62, 7], [10, 63, 7], [7, 62, 7], [4, 61, 7], [2, 63, 64], [0, 60, 65], [0, 0, 0], [-3, 61, 65], [-6, 7, 64], [-9, 7, 0], [-6, 7, 50], [-3, 54, 52], [-2, 0, 54], [1, 59, 64], [2, 65, 51], [2, 0, 64], [2, 64, 65], [2, 61, 62], [2, 62, 63], [3, 65, 63], [3, 60, 61], [3, 100, 1], [3, 100, 1], [3, 100, 1], [0, 100, 1], [0, 100, 1], [0, 100, 1], [0, 100, 1], [0, 100, 1], [0, 100, 1], [0, 61, 63], [0, 63, 64], [0, 62, 62], [0, 61, 63], [0, 100, 1], [0, 100, 1], [0, 100, 1], [0, 100, 1], [0, 61, 50], [1, 63, 62], [2, 64, 65], [2, 65, 54], [2, 0, 0], [2, 0, 0], [1, 0, 0], [0, 0, 0], [0, 11, 1], [0, 0, 0], [0, 0, 64], [0, 54, 65], [0, 0, 64], [2, 0, 7], [3, 0, 7], [6, 65, 7], [3, 0, 7], [2, 64, 65], [0, 65, 64], [0, 20, 20], [0, 64, 0], [2, 0, 65], [4, 0, 7], [7, 0, 7], [4, 0, 7], [2, 21, 22], [0, 0, 65], [2, 65, 7], [3, 61, 7], [7, 55, 7], [6, 54, 7], [5, 0, 7], [2, 62, 63], [-2, 64, 51], [-3, 7, 0], [-5, 7, 52], [-4, 7, 0], [-3, 7, 58], [-2, 7, 59], [-3, 7, 51], [-7, 7, 0], [-3, 7, 60], [0, 65, 64], [0, 62, 0], [0, 63, 52], [0, 57, 55], [0, 59, 62], [0, 0, 58], [-3, 7, 60], [-6, 7, 55], [-8, 7, 59], [-7, 7, 63], [-5, 7, 57], [-3, 7, 64], [-1, 60, 61], [0, 63, 56], [0, 53, 52], [0, 0, 64], [2, 51, 0], [3, 65, 7], [4, 0, 7], [4, 0, 7], [4, 54, 7], [4, 54, 7], [4, 0, 7], [3, 0, 7], [3, 0, 7], [3, 0, 7], [3, 0, 7], [3, 0, 0], [0, 2, 1], [-3, 7, 0], [-6, 7, 0], [-9, 7, 0], [-12, 7, 55], [-13, 7, 56], [-12, 7, 0], [-10, 7, 58], [-8, 7, 59], [-5, 7, 51], [-2, 64, 0], [-1, 56, 52], [2, 0, 65], [4, 0, 7], [5, 0, 7], [4, 0, 7], [2, 55, 54], [1, 0, 0], [0, 59, 0], [0, 0, 58], [0, 58, 57], [0, 0, 53], [0, 0, 0], [3, 52, 7], [7, 51, 7], [9, 0, 7], [6, 54, 54], [3, 55, 56], [2, 56, 57], [0, 1, 2], [3, 52, 7], [5, 53, 7], [4, 54, 7], [2, 55, 7], [1, 59, 7], [2, 58, 7], [5, 54, 7], [7, 52, 7], [10, 50, 7], [12, 51, 7], [13, 59, 7], [10, 57, 7], [7, 56, 7], [5, 55, 7], [3, 50, 52], [1, 51, 53], [0, 56, 54], [0, 57, 58], [0, 59, 56], [0, 58, 59], [-3, 7, 52], [-5, 7, 53], [-6, 7, 52], [-6, 7, 51], [-5, 7, 53], [-5, 7, 58], [-4, 7, 59], [-4, 7, 58], [-3, 55, 57], [-3, 52, 56], [-2, 58, 59], [-2, 59, 52], [-1, 57, 53], [0, 52, 0], [0, 57, 54], [0, 54, 0], [0, 58, 53], [3, 0, 52], [6, 53, 7], [7, 55, 7], [5, 56, 7], [3, 57, 7], [2, 59, 56], [1, 58, 52], [0, 59, 53], [0, 57, 54], [0, 56, 52], [2, 57, 53], [3, 56, 7], [5, 58, 7], [4, 59, 7], [2, 51, 52], [1, 50, 53], [0, 59, 54], [0, 60, 55], [0, 54, 50], [0, 53, 0], [0, 0, 0], [0, 56, 64], [0, 0, 54], [0, 55, 65], [0, 58, 0], [0, 0, 56], [0, 52, 53], [0, 0, 54], [0, 58, 59], [0, 54, 54], [0, 0, 0], [0, 11, 1], [0, 0, 0], [0, 57, 54], [0, 56, 0], [0, 0, 0], [0, 0, 0], [0, 4, 9], [0, 0, 0], [0, 51, 52], [0, 54, 58], [0, 2, 1], [-1, 65, 57], [-3, 7, 64], [-6, 7, 0], [-8, 7, 65], [-10, 7, 0], [-11, 7, 0], [-11, 7, 53], [-11, 7, 52], [-10, 7, 0], [-9, 7, 0], [-7, 7, 51], [-6, 7, 58], [-5, 7, 0], [-8, 7, 59], [-11, 7, 0], [-13, 7, 0], [-10, 7, 52], [-7, 7, 0], [-3, 7, 53], [-2, 0, 57], [-1, 65, 64], [0, 0, 54], [0, 54, 0], [0, 0, 0], [0, 0, 64], [2, 65, 0], [5, 0, 0], [6, 0, 7], [6, 0, 7], [6, 0, 7], [5, 0, 7], [2, 0, 0], [1, 0, 0], [1, 23, 24], [1, 0, 0], [1, 0, 0], [2, 0, 0], [2, 0, 0], [2, 20, 20], [2, 64, 0], [2, 0, 0], [2, 0, 0], [2, 0, 0], [1, 23, 24], [0, 0, 0], [-1, 0, 65], [-2, 0, 0], [-2, 0, 0], [-2, 2, 1], [-2, 7, 0], [-3, 7, 0], [-3, 7, 0], [-3, 7, 0], [-6, 7, 0], [-9, 7, 0], [-11, 7, 0], [-12, 7, 0], [-12, 7, 0], [-12, 7, 0], [-10, 7, 0], [-8, 7, 0], [-6, 7, 0], [-4, 7, 0], [-2, 0, 0], [-1, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [2, 0, 0], [4, 0, 0], [6, 0, 7], [7, 0, 7], [7, 0, 7], [7, 0, 7], [7, 0, 7], [7, 0, 7], [7, 0, 7], [7, 0, 7], [5, 0, 7], [3, 0, 0], [2, 0, 0], [1, 0, 0], [0, 64, 0], [0, 61, 65], [0, 60, 62], [0, 100, 1], [1, 100, 1], [2, 100, 1], [3, 100, 1], [4, 100, 1], [5, 100, 1], [6, 100, 1], [7, 100, 1], [8, 100, 1], [9, 100, 1], [10, 100, 1], [8, 63, 7], [5, 62, 7], [2, 61, 7], [-1, 63, 65], [-4, 7, 64], [-7, 7, 0], [-9, 7, 54], [-11, 7, 0], [-8, 7, 0], [-5, 7, 64], [-3, 65, 0], [-1, 0, 63], [0, 64, 63], [0, 61, 60], [0, 63, 62], [0, 100, 1], [0, 100, 1], [0, 100, 1], [0, 100, 1], [0, 0, 54], [0, 50, 0], [0, 0, 0], [0, 0, 0], [0, 20, 20], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 23, 24], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 11, 1]);
this.lvls.dirt = new Array([0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 76, 76], [0, 10, 1], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 75, 76], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 72], [0, 73, 0], [0, 1, 0], [0, 0, 0], [0, 0, 0], [0, 75, 0], [0, 0, 0], [0, 0, 76], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 76], [0, 0, 0], [0, 0, 7], [0, 0, 7], [1, 0, 7], [2, 0, 7], [3, 0, 7], [4, 0, 7], [5, 0, 7], [4, 0, 7], [3, 0, 7], [2, 0, 0], [1, 80, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [1, 0, 0], [1, 0, 0], [1, 0, 0], [1, 0, 0], [1, 0, 70], [1, 0, 0], [1, 0, 0], [1, 0, 0], [1, 0, 74], [1, 0, 0], [0, 7, 0], [-1, 7, 0], [-2, 7, 0], [-4, 7, 0], [-4, 7, 0], [-4, 7, 0], [-4, 7, 0], [-3, 79, 73], [-2, 0, 0], [-1, 0, 0], [0, 0, 0], [0, 0, 0], [1, 0, 0], [1, 0, 0], [2, 0, 0], [2, 74, 0], [2, 0, 0], [2, 0, 0], [1, 77, 0], [1, 0, 0], [1, 0, 0], [1, 72, 0], [1, 0, 80], [1, 71, 0], [0, 0, 0], [0, 74, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 74], [0, 0, 0], [0, 0, 0], [0, 0, 0], [-1, 0, 0], [-2, 7, 0], [-3, 7, 0], [-4, 7, 0], [-5, 7, 0], [-6, 7, 0], [-6, 7, 0], [-6, 7, 0], [-6, 7, 0], [-5, 7, 71], [-4, 0, 0], [-4, 76, 0], [-3, 0, 0], [-3, 0, 0], [-3, 0, 0], [-3, 0, 0], [-3, 0, 0], [-3, 0, 0], [-4, 0, 0], [-4, 0, 0], [-3, 0, 0], [-3, 0, 0], [-2, 0, 0], [-1, 0, 0], [-1, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [-1, 0, 0], [0, 0, 0], [1, 0, 7], [2, 0, 7], [4, 0, 7], [5, 75, 7], [6, 0, 7], [5, 0, 7], [5, 0, 7], [4, 0, 0], [3, 0, 0], [2, 0, 0], [1, 0, 0], [1, 0, 74], [1, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 76], [0, 0, 0], [0, 11, 1], [0, 0, 0], [0, 0, 0], [1, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [1, 0, 0], [2, 0, 0], [3, 0, 7], [4, 0, 7], [4, 72, 7], [5, 0, 7], [5, 0, 7], [6, 0, 7], [6, 0, 7], [7, 80, 7], [7, 0, 7], [7, 71, 7], [6, 0, 7], [5, 0, 7], [3, 0, 0], [0, 7, 0], [-2, 7, 0], [-4, 7, 0], [-5, 7, 0], [-5, 7, 0], [-5, 7, 0], [-4, 0, 0], [-2, 0, 74], [0, 0, 0], [1, 0, 0], [1, 0, 0], [1, 0, 0], [1, 0, 0], [1, 0, 0], [1, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 7], [1, 0, 7], [2, 0, 7], [5, 0, 7], [7, 0, 7], [6, 0, 7], [5, 0, 7], [4, 0, 7], [3, 80, 7], [2, 0, 7], [1, 0, 7], [2, 7, 0], [-1, 7, 0], [-4, 7, 0], [-5, 7, 0], [-6, 7, 0], [-5, 7, 0], [-3, 0, 0], [-1, 0, 7], [1, 0, 7], [3, 0, 7], [5, 0, 7], [6, 0, 7], [6, 77, 7], [5, 0, 7], [5, 0, 7], [4, 0, 0], [3, 0, 0], [2, 0, 0], [1, 0, 0], [1, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 75, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 77, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [-1, 7, 0], [-3, 7, 0], [-4, 7, 0], [-5, 7, 0], [-5, 7, 0], [-4, 0, 0], [-3, 0, 0], [-2, 82, 0], [-2, 0, 0], [-1, 83, 0], [0, 83, 0], [1, 0, 0], [1, 0, 0], [1, 0, 0], [1, 79, 0], [1, 81, 0], [0, 0, 78], [0, 0, 0], [-1, 0, 0], [-2, 0, 0], [-2, 0, 0], [-2, 0, 0], [-2, 0, 0], [-1, 0, 0], [-1, 0, 0], [0, 0, 0], [0, 0, 81], [0, 0, 0], [0, 0, 0], [-1, 0, 0], [-2, 7, 0], [-3, 7, 76], [-4, 7, 0], [-6, 7, 0], [-7, 7, 0], [-7, 7, 0], [-6, 7, 0], [-4, 0, 0], [-2, 0, 0], [0, 0, 0], [2, 0, 77], [4, 0, 0], [4, 0, 0], [4, 0, 0], [3, 0, 0], [1, 0, 0], [-1, 7, 0], [-2, 7, 0], [-4, 7, 0], [-5, 7, 0], [-5, 7, 0], [-5, 7, 0], [-4, 0, 0], [-4, 0, 0], [-3, 0, 0], [-2, 0, 74], [-2, 0, 0], [-2, 0, 0], [-1, 0, 0], [-1, 0, 0], [-1, 0, 75], [-1, 75, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 72, 72], [0, 0, 0], [0, 0, 0], [0, 11, 1], [0, 0, 0], [0, 0, 0], [0, 79, 80], [0, 0, 0], [0, 80, 0], [0, 0, 77], [0, 0, 0], [0, 0, 0], [1, 0, 77], [1, 79, 0], [2, 0, 0], [3, 0, 83], [3, 83, 79], [3, 79, 0], [3, 0, 0], [2, 0, 0], [0, 7, 79], [-2, 7, 0], [-3, 7, 0], [-5, 7, 0], [-6, 7, 0], [-6, 7, 0], [-5, 7, 71], [-5, 7, 0], [-4, 0, 0], [-2, 0, 0], [-2, 76, 0], [-1, -2, 0], [-1, 76, 0], [-1, 80, 0], [-2, 7, 0], [-3, 7, 0], [-4, 7, 0], [-5, 7, 0], [-6, 7, 0], [-6, 7, 0], [-6, 7, 0], [-6, 7, 0], [-6, 7, 0], [-5, 7, 0], [-4, 76, 0], [-3, 76, 0], [-1, 0, 0], [0, 0, 0], [1, 0, 0], [1, 0, 0], [1, 78, 77], [1, 0, 0], [0, 78, 77], [-1, 0, 79], [-1, 0, 0], [-2, 78, 0], [-2, 0, 0], [-1, 79, 77], [-1, 0, 0], [-1, 76, 78], [-1, 79, 77], [-1, 0, 0], [0, 78, 0], [1, 0, 7], [2, 79, 7], [4, 0, 7], [5, 0, 7], [6, 78, 7], [6, 0, 7], [6, 79, 7], [6, 0, 7], [5, 79, 7], [4, 0, 0], [3, 0, 0], [1, 79, 0], [0, 0, 76], [-1, 7, 0], [-3, 7, 0], [-4, 7, 0], [-6, 7, 0], [-6, 7, 0], [-6, 7, 0], [-5, 7, 0], [-3, 0, 0], [-2, 0, 0], [0, 79, 7], [1, 0, 7], [3, 79, 7], [5, 78, 7], [7, 0, 7], [8, 0, 7], [9, 0, 7], [9, 0, 7], [8, 0, 7], [5, 0, 7], [2, 0, 0], [0, 0, 82], [-2, 0, 82], [-3, 0, 0], [-3, 0, 0], [-2, 0, 0], [-1, 0, 0], [1, 0, 0], [3, 0, 82], [4, 0, 7], [4, 0, 7], [5, 0, 7], [4, 0, 0], [3, 0, 77], [2, 0, 77], [0, 0, 0], [-1, 0, 0], [-2, 0, 76], [-2, 0, 0], [-3, 0, 0], [-3, 0, 0], [-3, 0, 0], [-3, 0, 75], [-3, 0, 0], [-3, 0, 0], [-4, 0, 0], [-4, 0, 0], [-4, 0, 0], [-4, 0, 0], [-4, 0, 76], [-3, 0, 76], [-2, 0, 0], [-1, 0, 0], [-1, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 76, 75], [0, 82, 0], [0, 0, 0], [0, 0, 76], [0, 0, 0], [0, 0, 0], [1, 0, 0], [2, 0, 82], [2, 82, 0], [2, 82, 82], [2, 0, 0], [0, 0, 0], [-1, 7, 0], [-3, 7, 0], [-4, 7, 82], [-5, 7, 0], [-5, 7, 0], [-4, 0, 0], [-4, 71, 0], [-2, 0, 0], [-1, 71, 0], [0, 0, 0], [0, 71, 0], [0, 0, 0], [0, 0, 0], [0, 0, 72], [0, 75, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 11, 1], [0, 0, 0], [0, 0, 0], [-1, 0, 0], [-1, 0, 0], [-1, 0, 0], [-1, 0, 0], [0, 0, 0], [0, 0, 0], [1, 0, 0], [1, 0, 0], [2, 77, 79], [2, 0, 0], [3, 0, 0], [3, 0, 0], [3, 0, 0], [3, 80, 0], [2, 0, 0], [1, 0, 0], [0, 7, 75], [-2, 7, 0], [-4, 7, 0], [-5, 7, 0], [-5, 7, 0], [-5, 7, 0], [-4, 71, 0], [-3, 72, 0], [-1, 70, 0], [0, 0, 81], [-1, 0, 0], [-2, 76, 0], [-2, 76, 81], [-2, 0, 76], [-2, 76, 72], [-2, 76, 0], [-1, 0, 0], [-1, 76, 76], [-1, 76, 76], [-1, 76, 0], [-2, 7, 76], [-3, 7, 0], [-4, 7, 76], [-5, 7, 0], [-6, 7, 0], [-7, 7, 76], [-7, 7, 0], [-7, 7, 0], [-7, 7, 0], [-5, 7, 0], [-4, 0, 0], [-2, 82, 0], [-2, 0, 0], [-1, 80, 0], [-2, 0, 0], [-3, 77, 0], [-4, 0, 0], [-4, 0, 0], [-4, 80, 0], [-3, 7, 0], [-3, 7, 0], [-2, 7, 0], [-1, 7, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [1, 0, 0], [1, 72, 74], [1, 0, 74], [1, 1, 0], [1, 0, 0], [1, 0, 15], [1, 0, 0], [1, 0, 0], [1, 0, 7], [2, 0, 7], [3, 0, 7], [5, 0, 7], [6, 0, 7], [7, 0, 7], [8, 72, 7], [9, 79, 7], [9, 0, 7], [9, 0, 7], [8, 0, 7], [6, 0, 7], [5, 0, 7], [2, 7, 75], [0, 7, 0], [-3, 7, 0], [-5, 7, 0], [-7, 7, 0], [-7, 7, 0], [-6, 7, 0], [-5, 7, 0], [-4, 0, 0], [-3, 0, 0], [-3, 0, 0], [-2, 0, 15], [-2, 0, 0], [0, 0, 7], [1, 0, 7], [3, 0, 7], [6, 0, 7], [8, 0, 7], [10, 0, 7], [10, 0, 7], [9, 0, 7], [7, 0, 7], [5, 0, 7], [4, 0, 0], [2, 0, 72], [1, 0, 0], [1, 0, 0], [1, 0, 7], [2, 0, 7], [3, 0, 7], [5, 0, 7], [7, 0, 7], [8, 0, 7], [9, 0, 7], [10, 0, 7], [10, 0, 7], [10, 0, 7], [9, 0, 7], [8, 76, 7], [6, 0, 7], [5, 0, 7], [4, 0, 0], [3, 0, 0], [1, 78, 80], [1, 0, 0], [-1, 0, 0], [-1, 0, 0], [-1, 0, 0], [-1, 0, 0], [-1, 0, 0], [-1, 0, 0], [-1, 0, 0], [-1, 82, 82], [-1, 0, 0], [0, 75, 76], [0, 7, 0], [-1, 7, 0], [-3, 7, 0], [-5, 7, 0], [-7, 7, 0], [-9, 7, 0], [-9, 7, 0], [-6, 7, 0], [-3, 7, 0], [-1, 75, 0], [2, 0, 0], [3, 0, 0], [2, 0, 0], [1, 0, 0], [1, 0, 0], [1, 73, 0], [2, 0, 0], [2, 71, 0], [2, 0, 75], [2, 76, 0], [2, 0, 0], [1, 74, 74], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 11, 1], [0, 0, 0], [0, 75, 75], [0, 75, 75], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 76, 76], [0, 0, 0], [0, 76, 76], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [-1, 0, 0], [-2, 0, 0], [-3, 7, 0], [-4, 7, 0], [-4, 7, 0], [-4, 7, 0], [-3, 7, 0], [-1, 7, 7], [2, 0, 7], [4, 0, 7], [6, 0, 7], [8, 0, 7], [6, 0, 7], [4, 79, 0], [2, 75, 0], [0, 0, 0], [-1, 0, 0], [-2, 0, 0], [-2, 0, 0], [-1, 0, 0], [0, 0, 0], [2, 0, 0], [3, 0, 71], [4, 0, 0], [4, 78, 0], [3, 0, 74], [2, 0, 0], [1, 0, 0], [0, 0, 0], [-2, 0, 0], [-2, 7, 0], [-3, 7, 0], [-4, 7, 0], [-5, 7, 0], [-6, 7, 0], [-6, 7, 0], [-4, 79, 7], [-1, 81, 7], [2, 0, 7], [6, 0, 7], [7, 0, 7], [8, 0, 7], [8, 70, 7], [6, 0, 7], [4, 0, 0], [3, 72, 0], [2, 0, 7], [2, 0, 7], [3, 0, 7], [5, 0, 7], [7, 0, 7], [9, 0, 7], [11, 0, 7], [11, 75, 7], [11, 0, 7], [9, 0, 7], [6, 0, 7], [2, 0, 0], [-1, 0, 0], [-3, 71, 0], [-4, 0, 0], [-4, 79, 0], [-2, 0, 7], [0, 0, 7], [3, 0, 7], [5, 0, 7], [7, 81, 7], [7, 80, 7], [6, 0, 7], [3, 7, 0], [0, 7, 73], [-3, 7, 0], [-5, 7, 0], [-6, 7, 0], [-5, 7, 0], [-3, 0, 0], [-1, 0, 7], [2, 0, 7], [4, 79, 7], [5, 0, 7], [5, 0, 7], [4, 0, 71], [3, 0, 0], [1, 7, 0], [0, 7, 0], [-3, 7, 0], [-4, 0, 7], [0, 0, 7], [3, 0, 7], [6, 0, 7], [7, 0, 7], [7, 0, 7], [5, 0, 7], [3, 0, 83], [1, 0, 0], [0, 0, 0], [-1, 0, 0], [-1, 0, 83], [0, 0, 0], [1, 83, 83], [2, 0, 0], [2, 83, 0], [2, 0, 81], [2, 0, 0], [1, 0, 0], [1, 82, 0], [0, 0, 0], [0, 0, 83], [-1, 0, 0], [-1, 75, 0], [-2, 73, 0], [-2, 70, 0], [-2, 0, 83], [-2, 74, 0], [-1, 0, 0], [0, 0, 0], [0, 0, 83], [1, 80, 0], [1, 73, 0], [2, 0, 0], [2, 0, 0], [3, 83, 83], [3, 0, 0], [2, 0, 0], [1, 73, 0], [0, 7, 0], [-1, 7, 0], [-4, 7, 76], [-7, 7, 0], [-9, 7, 0], [-7, 7, 0], [-7, 7, 0], [-7, 7, 0], [-7, 7, 0], [-7, 7, 0], [-7, 7, 76], [-4, 0, 0], [-1, 0, 0], [0, 0, 0], [0, 0, 79], [-1, 0, 0], [-2, 83, 0], [-3, 0, 0], [-3, 83, 77], [-3, 0, 0], [-2, 71, 0], [-1, 0, 0], [0, 0, 0], [0, 73, 0], [0, 70, 0], [0, 0, 0], [0, 79, 79], [0, 0, 0], [0, 0, 0], [0, 79, 79], [0, 79, 79], [0, 79, 79], [0, 11, 1]);
this.lvls.night = new Array([0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 35, 36], [0, 10, 1], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 54, 54], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 54, 54], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 54, 54], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 54, 54], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 54, 54], [0, 0, 0], [0, 0, 0], [0, 0, 0], [-2, 0, 0], [-3, 7, 0], [-5, 7, 0], [-6, 7, 0], [-8, 7, 0], [-6, 7, 0], [-5, 7, 0], [-3, 7, 0], [-2, 0, 7], [3, 0, 7], [5, 0, 7], [6, 0, 7], [8, 0, 7], [8, 50, 7], [6, 51, 7], [5, 0, 7], [3, 0, 7], [2, 52, 7], [1, 0, 0], [1, 53, 53], [-1, 7, 50], [-2, 7, 0], [-4, 7, 0], [-5, 7, 0], [-6, 7, 55], [-6, 7, 0], [-6, 7, 56], [-6, 7, 0], [-5, 7, 0], [-5, 7, 55], [-5, 7, 0], [-5, 7, 56], [-5, 7, 0], [-5, 7, 56], [-5, 7, 0], [-5, 7, 59], [-4, 7, 54], [-4, 7, 54], [-3, 7, 54], [-3, 7, 0], [-2, 7, 55], [-2, 7, 0], [-2, 7, 56], [-1, 7, 0], [-1, 0, 0], [0, 0, 57], [1, 55, 0], [1, 53, 0], [1, 0, 54], [1, 0, 0], [1, 58, 50], [1, 0, 51], [1, 59, 0], [1, 0, 0], [1, 35, 36], [1, 0, 0], [1, 0, 0], [1, 0, 0], [1, 35, 36], [1, 0, 0], [1, 0, 7], [4, 0, 7], [9, 35, 7], [13, 0, 7], [11, 0, 7], [9, 0, 7], [7, 35, 7], [6, 0, 43], [4, 0, 43], [2, 7, 36], [1, 7, 43], [1, 7, 43], [1, 7, 43], [-10, 7, 36], [-8, 7, 43], [-7, 7, 43], [-6, 7, 43], [-5, 35, 36], [-3, 43, 43], [-3, 43, 43], [-2, 43, 43], [-2, 35, 36], [-1, 43, 43], [-1, 43, 43], [-1, 43, 43], [-1, 35, 35], [0, 7, 43], [-5, 7, 43], [-8, 7, 43], [-10, 7, 43], [-8, 7, 43], [-7, 7, 43], [-6, 7, 43], [-5, 7, 43], [-4, 7, 43], [-3, 7, 43], [-2, 7, 43], [-3, 7, 43], [-3, 7, 43], [-3, 7, 43], [-3, 43, 43], [-2, 43, 43], [-1, 43, 43], [0, 43, 43], [0, 43, 43], [0, 11, 1], [0, 0, 0], [0, 40, 40], [0, 0, 0], [1, 0, 40], [1, 0, 7], [2, 40, 7], [2, 0, 7], [3, 0, 40], [3, 0, 7], [3, 40, 7], [3, 0, 7], [3, 0, 40], [2, 0, 0], [2, 40, 0], [2, 0, 0], [1, 0, 40], [1, 0, 0], [0, 40, 0], [-1, 0, 0], [-1, 0, 40], [-2, 0, 0], [-2, 40, 0], [-1, 0, 0], [0, 0, 40], [0, 0, 0], [0, 19, 0], [0, 0, 0], [1, 7, 40], [-1, 7, 0], [-2, 40, 0], [-4, 7, 0], [-7, 7, 40], [-9, 7, 0], [-12, 40, 0], [-12, 7, 0], [-12, 7, 40], [-12, 7, 0], [-12, 40, 0], [-5, 7, 0], [-3, 7, 40], [-2, 0, 0], [-2, 40, 0], [-1, 0, 0], [-1, 0, 40], [-1, 0, 0], [0, 40, 0], [0, 0, 0], [0, 0, 40], [1, 32, 32], [1, 40, 40], [0, 0, 0], [0, 0, 40], [0, 31, 31], [0, 40, 0], [0, 0, 0], [0, 0, 40], [0, 0, 0], [0, 40, 54], [0, 19, 0], [-3, 7, 40], [-6, 7, 0], [-8, 40, 0], [-8, 7, 0], [-8, 7, 40], [-8, 7, 0], [-14, 40, 0], [-14, 7, 0], [-14, 7, 40], [-11, 7, 0], [-8, 40, 0], [-6, 7, 0], [-3, 7, 40], [0, 7, 0], [0, 40, 0], [1, 0, 0], [2, 0, 40], [-1, 0, 0], [-3, 40, 0], [-4, 7, 0], [-6, 7, 40], [-7, 7, 0], [-6, 40, 0], [-4, 7, 0], [-3, 7, 40], [1, 0, 0], [1, 0, 0], [2, 44, 44], [3, 0, 0], [4, 0, 0], [4, 0, 0], [5, 43, 43], [5, 0, 0], [5, 0, 0], [5, 0, 0], [5, 44, 44], [5, 0, 0], [5, 0, 0], [5, 0, 0], [5, 43, 43], [5, 0, 0], [5, 0, 0], [5, 0, 0], [5, 44, 44], [5, 0, 0], [4, 0, 0], [4, 0, 0], [3, 43, 43], [3, 0, 0], [2, 0, 0], [2, 0, 0], [1, 44, 44], [1, 0, 0], [0, 0, 0], [0, 0, 0], [0, 42, 42], [0, 42, 42], [0, 42, 42], [-2, 0, 0], [-3, 7, 0], [-5, 7, 0], [-6, 7, 0], [-8, 7, 0], [-9, 7, 0], [-10, 7, 0], [-7, 7, 0], [-5, 7, 0], [-2, 7, 0], [0, 7, 7], [3, 0, 7], [5, 0, 7], [8, 0, 7], [7, 0, 7], [4, 0, 7], [2, 0, 7], [0, 0, 7], [0, 0, 0], [0, 0, 0], [0, 42, 42], [0, 42, 42], [0, 42, 42], [0, 41, 41], [0, 41, 41], [0, 41, 41], [0, 42, 42], [0, 41, 41], [0, 41, 41], [0, 41, 41], [0, 42, 42], [0, 41, 41], [0, 41, 41], [0, 41, 41], [0, 41, 41], [0, 42, 42], [0, 41, 41], [0, 41, 41], [0, 41, 41], [0, 42, 42], [0, 41, 41], [0, 41, 41], [0, 41, 41], [0, 41, 41], [0, 41, 41], [0, 41, 41], [0, 11, 1], [0, 41, 41], [0, 41, 41], [0, 41, 41], [0, 41, 41], [0, 41, 41], [0, 41, 41], [0, 41, 41], [0, 41, 41], [0, 44, 41], [0, 41, 41], [-5, 44, 41], [-5, 41, 41], [-5, 44, 41], [-5, 41, 41], [-5, 44, 41], [-3, 41, 41], [-4, 44, 41], [-5, 41, 41], [-6, 44, 41], [-5, 41, 41], [-4, 44, 41], [-3, 41, 41], [-3, 44, 44], [-2, 41, 41], [-1, 44, 44], [0, 100, 1], [0, 100, 1], [0, 100, 1], [0, 100, 1], [-3, 44, 44], [-5, 44, 44], [-7, 44, 44], [-4, 44, 0], [-3, 44, 44], [-2, 44, 44], [3, 44, 44], [7, 0, 44], [10, 0, 44], [8, 0, 44], [7, 0, 44], [5, 0, 43], [3, 0, 43], [2, 0, 43], [3, 0, 43], [0, 0, 43], [0, 0, 43], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 19, 0], [0, 0, 0], [0, 44, 44], [0, 43, 0], [-1, 44, 44], [-1, 43, 0], [-2, 44, 44], [-3, 43, 0], [-3, 44, 41], [-4, 43, 41], [-4, 44, 41], [-5, 43, 41], [-6, 44, 41], [-6, 43, 41], [-7, 44, 41], [-8, 43, 41], [-8, 44, 41], [-9, 43, 41], [-9, 44, 41], [-9, 43, 41], [-9, 44, 41], [-8, 43, 41], [-7, 44, 41], [-6, 43, 43], [-6, 44, 43], [-5, 43, 43], [-5, 44, 43], [-5, 43, 43], [-4, 43, 43], [-4, 43, 43], [-3, 0, 0], [-3, 43, 43], [-2, 0, 0], [-2, 43, 43], [-2, 0, 0], [1, 0, 19], [2, 0, 44], [4, 43, 44], [5, 0, 44], [6, 43, 44], [7, 0, 44], [8, 43, 44], [10, 0, 44], [11, 43, 44], [10, 0, 44], [9, 43, 44], [8, 0, 44], [7, 43, 44], [6, 0, 44], [4, 43, 44], [3, 0, 44], [3, 43, 44], [3, 0, 44], [2, 43, 44], [2, 0, 44], [2, 43, 43], [1, 0, 0], [1, 43, 43], [1, 0, 0], [1, 43, 43], [-1, 100, 1], [-1, 100, 1], [-2, 100, 1], [0, 100, 1], [0, 100, 1], [0, 100, 1], [1, 100, 1], [1, 100, 1], [1, 100, 1], [1, 42, 42], [2, 42, 42], [2, 42, 42], [2, 42, 42], [2, 42, 42], [3, 100, 1], [3, 100, 1], [3, 100, 1], [3, 100, 1], [4, 42, 42], [4, 42, 42], [4, 42, 42], [4, 42, 42], [4, 100, 1], [3, 100, 1], [3, 100, 1], [3, 100, 1], [3, 100, 1], [2, 100, 1], [2, 100, 1], [2, 0, 0], [2, 0, 0], [1, 0, 0], [1, 0, 0], [1, 0, 0], [1, 0, 0], [0, 0, 0], [0, 11, 1], [-5, 0, 0], [-6, 7, 0], [-6, 40, 40], [-6, 7, 0], [-6, 40, 40], [-6, 7, 0], [-6, 40, 40], [-7, 7, 0], [-7, 32, 40], [-7, 7, 0], [-7, 40, 40], [-6, 7, 0], [-5, 40, 40], [-4, 7, 0], [-3, 40, 40], [-2, 7, 0], [-1, 32, 40], [-1, 7, 0], [-3, 40, 40], [-4, 7, 0], [-5, 40, 40], [-6, 7, 0], [-8, 40, 40], [-9, 7, 0], [-8, 40, 40], [-6, 7, 0], [-5, 40, 40], [-4, 7, 0], [-3, 40, 40], [1, 7, 0], [2, 40, 40], [3, 0, 7], [4, 40, 40], [5, 0, 7], [4, 33, 33], [3, 0, 7], [2, 40, 40], [1, 0, 7], [-6, 40, 40], [-5, 7, 0], [-3, 40, 40], [-2, 7, 0], [-7, 40, 40], [-5, 7, 0], [-3, 40, 40], [1, 7, 0], [1, 40, 40], [2, 7, 0], [3, 33, 33], [3, 0, 0], [4, 40, 40], [5, 0, 7], [5, 40, 40], [6, 0, 7], [6, 40, 40], [6, 0, 7], [6, 40, 40], [6, 0, 7], [6, 40, 40], [9, 0, 7], [9, 40, 40], [9, 0, 7], [9, 40, 40], [9, 0, 7], [8, 40, 40], [6, 0, 7], [5, 40, 40], [4, 0, 7], [3, 40, 40], [3, 0, 7], [2, 34, 34], [2, 0, 7], [1, 40, 40], [-2, 7, 0], [-3, 40, 40], [-5, 7, 0], [-4, 40, 40], [-4, 7, 0], [-3, 40, 40], [-2, 7, 0], [-1, 40, 40], [-1, 7, 0], [0, 40, 40], [0, 0, 7], [3, 40, 40], [7, 40, 7], [9, 0, 40], [6, 40, 7], [3, 0, 40], [2, 40, 7], [0, 0, 40], [3, 32, 32], [5, 0, 40], [4, 40, 7], [2, 0, 40], [1, 40, 7], [2, 0, 40], [5, 40, 7], [7, 0, 40], [10, 40, 7], [12, 0, 40], [13, 40, 7], [10, 0, 40], [7, 40, 7], [5, 0, 40], [3, 40, 7], [1, 43, 43], [0, 43, 43], [0, 43, 43], [0, 40, 40], [0, 7, 0], [-3, 33, 33], [-5, 7, 0], [-6, 40, 40], [-6, 7, 0], [-5, 40, 40], [-5, 7, 0], [-4, 40, 40], [-4, 7, 0], [-3, 40, 40], [-3, 31, 31], [-2, 40, 40], [-2, 0, 0], [-1, 40, 40], [0, 31, 31], [0, 40, 40], [0, 0, 0], [0, 40, 40], [3, 31, 31], [6, 40, 40], [6, 0, 7], [6, 40, 40], [6, 0, 7], [6, 40, 40], [6, 0, 7], [6, 40, 40], [6, 0, 7], [6, 40, 40], [6, 0, 7], [3, 40, 40], [5, 0, 7], [4, 40, 40], [4, 0, 7], [3, 40, 40], [3, 0, 7], [2, 40, 40], [2, 0, 7], [2, 40, 40], [1, 0, 7], [1, 40, 40], [0, 0, 0], [0, 40, 40], [0, 41, 41], [0, 40, 40], [0, 41, 41], [0, 40, 40], [0, 41, 41], [0, 40, 40], [0, 41, 41], [0, 11, 1], [0, 41, 41], [0, 40, 40], [0, 41, 41], [0, 40, 40], [0, 41, 41], [0, 42, 42], [0, 41, 41], [1, 42, 42], [1, 41, 41], [2, 42, 42], [2, 41, 41], [3, 42, 42], [4, 41, 41], [4, 42, 42], [5, 41, 41], [5, 42, 42], [6, 41, 41], [6, 42, 42], [6, 41, 41], [6, 42, 42], [6, 41, 41], [6, 42, 42], [6, 41, 41], [6, 42, 42], [4, 41, 41], [2, 42, 42], [-2, 41, 41], [-3, 42, 42], [-5, 41, 41], [-6, 42, 42], [-8, 41, 41], [-7, 42, 42], [-4, 41, 41], [-2, 42, 42], [-5, 41, 41], [-4, 42, 42], [-3, 41, 41], [-2, 0, 0], [-1, 41, 41], [0, 0, 0], [0, 41, 41], [0, 0, 0], [0, 41, 41], [0, 44, 44], [0, 44, 44], [0, 44, 44], [2, 41, 41], [1, 0, 0], [0, 41, 41], [-1, 0, 0], [-2, 41, 41], [-2, 0, 0], [-2, 41, 41], [-2, 42, 42], [-3, 41, 41], [-3, 42, 42], [-3, 41, 41], [-6, 42, 42], [-9, 41, 41], [-11, 42, 42], [-9, 41, 41], [-7, 42, 42], [-4, 41, 41], [-2, 42, 42], [-8, 41, 41], [-6, 42, 42], [-4, 41, 41], [-2, 42, 42], [-1, 41, 41], [0, 42, 42], [0, 41, 41], [0, 42, 42], [2, 41, 41], [4, 42, 42], [6, 41, 41], [7, 42, 42], [7, 41, 41], [7, 42, 42], [7, 41, 41], [7, 42, 42], [7, 41, 41], [7, 42, 42], [5, 41, 41], [3, 42, 42], [2, 41, 41], [1, 42, 42], [-4, 41, 41], [-7, 42, 42], [-11, 41, 41], [-9, 42, 42], [-7, 41, 41], [-5, 42, 42], [-4, 41, 41], [-2, 42, 42], [0, 41, 41], [0, 42, 42], [0, 41, 41], [4, 42, 42], [8, 41, 41], [12, 43, 43], [10, 43, 43], [8, 43, 43], [6, 43, 43], [4, 43, 43], [2, 43, 43], [0, 43, 43], [0, 33, 33], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 42, 42], [0, 42, 42], [-1, 0, 0], [-2, 0, 0], [-3, 0, 0], [-4, 32, 32], [-5, 7, 0], [-6, 7, 0], [-8, 7, 0], [-9, 7, 0], [-10, 7, 0], [-11, 7, 0], [-12, 7, 0], [-13, 7, 0], [-10, 7, 0], [-8, 7, 0], [-5, 7, 0], [-3, 31, 31], [0, 0, 7], [2, 0, 7], [5, 0, 7], [7, 0, 7], [10, 0, 7], [12, 0, 7], [11, 0, 7], [10, 0, 7], [9, 0, 7], [8, 0, 7], [7, 0, 7], [6, 0, 7], [5, 0, 7], [4, 34, 34], [3, 0, 0], [2, 0, 0], [1, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 35, 35], [0, 11, 1]);
this.lvls.fog = new Array([0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 17, 18], [0, 10, 1], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 65], [0, 0, 0], [0, 65, 0], [0, 0, 0], [0, 0, 0], [1, 0, 65], [1, 0, 60], [1, 65, 0], [2, 60, 7], [2, 54, 7], [3, 0, 7], [3, 62, 7], [3, 65, 7], [3, 0, 7], [3, 0, 0], [2, 0, 0], [1, 0, 57], [0, 7, 0], [-2, 7, 0], [-2, 7, 50], [-3, 7, 53], [-2, 55, 52], [-1, 50, 51], [-1, 56, 0], [0, 52, 53], [1, 55, 55], [1, 55, 63], [1, 61, 53], [1, 0, 0], [-1, 51, 0], [-3, 54, 55], [-4, 7, 0], [-6, 7, 57], [-7, 7, 0], [-6, 7, 0], [-4, 7, 0], [-3, 7, 0], [-1, 100, 1], [-3, 100, 1], [-3, 100, 1], [-2, 100, 1], [-2, 0, 0], [-2, 0, 0], [-1, 0, 0], [-1, 100, 1], [-1, 100, 1], [0, 100, 1], [0, 100, 1], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 100, 1], [0, 100, 1], [1, 100, 1], [1, 100, 1], [1, 100, 1], [1, 100, 1], [2, 100, 1], [4, 0, 0], [6, 0, 7], [8, 0, 7], [8, 0, 7], [8, 0, 7], [7, 0, 7], [6, 51, 7], [5, 63, 7], [3, 0, 7], [2, 0, 7], [1, 52, 65], [1, 0, 64], [3, 0, 63], [3, 58, 62], [2, 0, 64], [2, 0, 50], [1, 0, 60], [1, 53, 0], [1, 0, 0], [0, 0, 63], [0, 50, 57], [0, 53, 55], [0, 0, 53], [0, 0, 51], [1, 0, 50], [1, 52, 58], [2, 0, 0], [2, 0, 7], [3, 53, 7], [4, 65, 7], [5, 51, 7], [5, 0, 7], [5, 0, 7], [5, 0, 7], [4, 0, 50], [3, 0, 54], [2, 64, 0], [-2, 7, 50], [-4, 7, 0], [-7, 7, 0], [-5, 7, 59], [-4, 7, 56], [-3, 100, 1], [-2, 100, 1], [-1, 100, 1], [-1, 100, 1], [0, 100, 1], [0, 100, 1], [-1, 100, 1], [-2, 100, 1], [-4, 100, 1], [-5, 100, 1], [-6, 7, 60], [-5, 7, 0], [-4, 7, 0], [-2, 7, 61], [-1, 0, 0], [0, 0, 50], [0, 57, 50], [0, 0, 53], [0, 0, 53], [0, 51, 50], [0, 55, 0], [0, 54, 51], [0, 0, 50], [1, 63, 7], [2, 50, 7], [3, 54, 7], [4, 0, 7], [4, 57, 7], [4, 54, 7], [2, 65, 7], [1, 59, 7], [0, 54, 0], [0, 0, 56], [0, 59, 0], [0, 0, 51], [0, 11, 1], [0, 56, 61], [0, 0, 53], [0, 0, 0], [0, 61, 61], [0, 59, 63], [0, 61, 0], [0, 65, 63], [0, 60, 53], [0, 52, 61], [0, 60, 50], [0, 61, 0], [2, 52, 51], [2, 59, 61], [3, 53, 61], [2, 54, 63], [1, 60, 54], [1, 52, 63], [0, 61, 54], [-1, 51, 51], [-2, 0, 0], [-3, 0, 51], [1, 0, 0], [3, 53, 7], [4, 54, 7], [5, 63, 7], [6, 0, 7], [8, 52, 7], [9, 0, 7], [6, 61, 7], [3, 0, 59], [3, 50, 65], [1, 7, 59], [-1, 7, 0], [-4, 7, 53], [-5, 7, 51], [-6, 7, 50], [-7, 7, 56], [-6, 7, 63], [-4, 53, 51], [-2, 0, 59], [-1, 54, 52], [-2, 0, 65], [-3, 7, 54], [-5, 7, 0], [-6, 7, 59], [-8, 7, 0], [-7, 7, 0], [-9, 7, 53], [-10, 7, 0], [-11, 7, 51], [-10, 7, 52], [-5, 7, 0], [-3, 7, 64], [-2, 50, 0], [-2, 0, 59], [0, 0, 7], [3, 63, 7], [4, 0, 7], [5, 0, 7], [6, 0, 7], [6, 53, 7], [5, 50, 7], [4, 0, 62], [3, 51, 0], [1, 51, 0], [0, 54, 53], [0, 0, 54], [0, 63, 62], [0, 50, 54], [0, 0, 54], [1, 54, 53], [2, 54, 53], [3, 0, 0], [3, 61, 60], [4, 0, 64], [3, 54, 56], [3, 50, 53], [3, 0, 0], [2, 61, 53], [1, 0, 54], [1, 0, 54], [1, 55, 53], [0, 52, 0], [0, 52, 50], [0, 60, 53], [-1, 0, 64], [-1, 7, 0], [-2, 7, 52], [-3, 7, 0], [-5, 7, 64], [-6, 7, 0], [-7, 7, 60], [-8, 7, 0], [-9, 7, 0], [-9, 7, 0], [-9, 7, 0], [-9, 7, 59], [-9, 7, 0], [-9, 7, 0], [-7, 7, 52], [-6, 7, 51], [-4, 7, 54], [-3, 54, 0], [-1, 51, 62], [4, 51, 54], [4, 50, 57], [4, 50, 52], [4, 100, 1], [3, 100, 1], [3, 100, 1], [2, 100, 1], [1, 100, 1], [0, 100, 1], [-1, 100, 1], [-2, 100, 1], [-3, 100, 1], [-3, 100, 1], [-4, 0, 0], [-4, 56, 50], [-4, 61, 57], [-3, 0, 0], [-2, 52, 57], [0, 50, 7], [2, 0, 7], [4, 0, 7], [5, 51, 7], [6, 0, 7], [6, 0, 7], [6, 56, 7], [6, 54, 7], [6, 56, 7], [6, 0, 7], [5, 65, 7], [5, 59, 7], [4, 0, 7], [4, 0, 7], [3, 0, 7], [2, 0, 0], [2, 0, 56], [1, 53, 53], [1, 0, 0], [1, 0, 0], [0, 58, 57], [0, 0, 0], [0, 0, 0], [0, 11, 1], [0, 59, 58], [0, 50, 0], [0, 65, 0], [0, 0, 0], [0, 62, 62], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 29, 30], [0, 0, 0], [0, 0, 0], [1, 0, 0], [1, 0, 0], [1, 62, 60], [1, 60, 60], [1, 60, 62], [2, 62, 7], [3, 62, 7], [4, 62, 7], [5, 63, 7], [7, 63, 7], [8, 62, 7], [8, 54, 7], [7, 0, 7], [6, 62, 7], [4, 63, 61], [2, 64, 61], [0, 64, 62], [-2, 65, 63], [-3, 65, 64], [-4, 64, 63], [-3, 62, 62], [-2, 62, 61], [0, 61, 7], [3, 60, 7], [4, 61, 7], [5, 61, 7], [5, 61, 7], [4, 62, 62], [2, 7, 63], [-1, 7, 61], [-4, 7, 62], [-7, 7, 63], [-9, 7, 61], [-10, 7, 62], [-10, 7, 61], [-8, 7, 62], [-6, 7, 63], [-3, 7, 63], [-1, 100, 1], [1, 100, 1], [3, 100, 1], [3, 100, 1], [3, 100, 1], [2, 100, 1], [0, 100, 1], [-1, 100, 1], [-3, 100, 1], [-3, 100, 1], [-4, 100, 1], [-4, 100, 1], [-4, 100, 1], [-4, 100, 1], [-5, 100, 1], [-6, 7, 0], [-8, 7, 0], [-10, 7, 0], [-13, 7, 0], [-11, 7, 0], [-9, 7, 0], [-7, 7, 0], [-6, 7, 0], [-4, 7, 0], [-2, 7, 0], [-1, 55, 7], [3, 0, 7], [6, 0, 7], [8, 0, 7], [8, 0, 7], [7, 0, 7], [4, 0, 7], [4, 0, 7], [4, 0, 7], [4, 0, 7], [4, 0, 7], [4, 0, 7], [4, 0, 7], [4, 1, 7], [-1, 51, 7], [3, 65, 7], [7, 52, 7], [10, 53, 7], [8, 50, 7], [6, 54, 7], [5, 51, 7], [4, 0, 55], [3, 0, 64], [3, 52, 54], [3, 57, 65], [3, 0, 0], [3, 0, 61], [2, 57, 62], [1, 54, 0], [-1, 0, 53], [-2, 7, 61], [-3, 7, 64], [-4, 7, 53], [-5, 7, 0], [-6, 7, 64], [-6, 7, 56], [-6, 7, 0], [-5, 7, 0], [-4, 0, 0], [-4, 0, 0], [-3, 0, 0], [-2, 0, 0], [-1, 0, 0], [0, 65, 0], [1, 0, 0], [1, 29, 30], [1, 0, 0], [1, 0, 0], [1, 0, 0], [1, 0, 0], [1, 0, 0], [1, 0, 0], [1, 0, 0], [1, 29, 30], [1, 0, 0], [1, 0, 0], [1, 54, 54], [1, 0, 7], [1, 0, 7], [4, 0, 7], [5, 0, 7], [4, 54, 54], [3, 7, 0], [0, 7, 0], [-2, 7, 0], [-5, 7, 0], [-7, 7, 0], [-7, 7, 0], [-7, 7, 0], [-6, 7, 0], [-5, 7, 0], [-3, 54, 54], [-1, 0, 0], [1, 0, 0], [2, 0, 65], [2, 0, 0], [2, 0, 0], [1, 0, 0], [0, 0, 0], [0, 0, 0], [0, 54, 54], [0, 11, 1], [0, 0, 0], [-1, 0, 0], [-2, 0, 0], [-2, 0, 0], [-2, 0, 0], [-2, 0, 0], [-1, 0, 0], [0, 54, 54], [1, 0, 0], [2, 0, 0], [3, 0, 7], [4, 0, 7], [4, 0, 7], [4, 0, 7], [4, 54, 7], [4, 0, 7], [3, 0, 7], [4, 0, 7], [4, 0, 7], [4, 54, 0], [3, 0, 0], [2, 0, 54], [1, 0, 0], [-1, 7, 0], [-3, 7, 54], [-4, 7, 0], [-5, 7, 64], [-6, 7, 55], [-5, 7, 50], [-4, 64, 64], [-2, 56, 53], [0, 64, 50], [2, 62, 0], [3, 52, 64], [3, 52, 61], [3, 62, 51], [2, 60, 0], [1, 64, 62], [0, 63, 51], [-2, 62, 52], [-3, 63, 64], [-3, 62, 65], [-3, 51, 63], [-3, 64, 62], [-2, 0, 62], [-1, 65, 63], [-1, 63, 63], [-1, 63, 62], [-1, 54, 57], [-2, 51, 58], [-1, 61, 61], [-2, 58, 62], [-2, 51, 7], [0, 61, 7], [2, 63, 7], [5, 61, 7], [8, 61, 7], [7, 61, 61], [3, 7, 60], [-1, 7, 61], [-5, 7, 60], [-7, 7, 60], [-9, 7, 60], [-8, 7, 60], [-7, 7, 60], [-5, 7, 61], [-2, 61, 61], [1, 61, 61], [3, 62, 60], [4, 61, 60], [3, 62, 62], [2, 7, 60], [-1, 7, 61], [-4, 7, 61], [-7, 7, 62], [-10, 7, 62], [-13, 7, 62], [-14, 7, 63], [-13, 7, 63], [-12, 7, 63], [-9, 7, 63], [-6, 7, 7], [-2, 63, 7], [2, 63, 7], [5, 63, 7], [6, 60, 7], [6, 0, 7], [5, 63, 7], [3, 63, 64], [1, 7, 62], [-1, 7, 61], [-3, 7, 61], [-5, 7, 61], [-6, 7, 61], [-7, 7, 60], [-5, 7, 60], [-3, 60, 60], [-1, 60, 60], [1, 61, 61], [2, 61, 61], [2, 61, 61], [1, 61, 62], [0, 7, 62], [-2, 7, 63], [-4, 7, 63], [-6, 7, 63], [-6, 7, 63], [-5, 63, 63], [-3, 63, 7], [0, 64, 7], [3, 65, 7], [7, 65, 7], [9, 65, 7], [10, 65, 7], [10, 65, 7], [7, 7, 7], [4, 7, 65], [0, 7, 64], [-5, 7, 63], [-8, 7, 62], [-10, 7, 61], [-10, 7, 61], [-7, 7, 7], [-3, 61, 0], [2, 61, 7], [8, 61, 7], [13, 61, 7], [14, 61, 7], [14, 61, 7], [14, 61, 7], [14, 61, 7], [14, 61, 7], [12, 61, 7], [7, 61, 7], [3, 61, 62], [1, 63, 63], [0, 61, 61], [0, 65, 61], [0, 61, 61], [1, 63, 63], [1, 63, 63], [2, 63, 60], [2, 63, 63], [2, 64, 63], [1, 7, 64], [-1, 7, 65], [-4, 7, 65], [-6, 7, 65], [-7, 7, 65], [-7, 7, 63], [-7, 7, 61], [-6, 7, 63], [-4, 63, 65], [-2, 63, 0], [-1, 0, 63], [0, 63, 0], [0, 64, 0], [0, 51, 62], [0, 50, 64], [-1, 59, 53], [-1, 0, 0], [-1, 0, 0], [-1, 57, 54], [0, 56, 0], [0, 11, 1], [0, 55, 53], [0, 0, 53], [-1, 55, 0], [-1, 0, 0], [0, 0, 50], [0, 0, 59], [1, 51, 50], [2, 50, 53], [2, 0, 50], [3, 56, 52], [3, 58, 52], [4, 51, 53], [4, 51, 53], [3, 0, 52], [2, 64, 0], [1, 53, 0], [0, 53, 0], [0, 52, 52], [0, 0, 53], [1, 55, 7], [2, 65, 7], [4, 0, 7], [5, 54, 7], [7, 52, 7], [8, 63, 7], [8, 0, 7], [7, 0, 7], [6, 0, 7], [4, 59, 0], [3, 0, 63], [1, 0, 51], [1, 0, 0], [1, 64, 7], [1, 54, 7], [3, 51, 7], [5, 55, 7], [7, 0, 7], [9, 0, 7], [10, 59, 7], [10, 54, 7], [9, 52, 7], [8, 0, 7], [6, 54, 7], [3, 53, 53], [1, 25, 0], [-1, 7, 0], [-3, 7, 56], [-4, 7, 52], [-5, 7, 0], [-5, 7, 0], [-6, 7, 51], [-6, 7, 0], [-6, 7, 57], [-6, 7, 0], [-6, 7, 58], [-6, 7, 0], [-5, 7, 64], [-3, 54, 0], [-1, 0, 0], [0, 0, 0], [0, 0, 0], [-1, 53, 0], [-2, 0, 54], [-3, 54, 56], [-4, 51, 0], [-3, 65, 52], [-1, 51, 7], [1, 61, 7], [3, 62, 7], [5, 0, 7], [5, 65, 7], [5, 0, 7], [5, 100, 1], [5, 0, 7], [5, 0, 7], [5, 0, 7], [5, 100, 1], [5, 0, 7], [5, 0, 7], [5, 0, 7], [5, 100, 1], [5, 0, 7], [5, 0, 7], [5, 0, 7], [5, 100, 1], [5, 0, 7], [5, 0, 7], [5, 0, 7], [5, 100, 1], [5, 0, 7], [5, 0, 7], [5, 0, 7], [5, 100, 1], [5, 0, 7], [5, 0, 7], [4, 0, 7], [3, 100, 1], [2, 0, 7], [1, 0, 7], [-1, 7, 0], [-3, 7, 0], [-4, 100, 1], [-7, 7, 0], [-10, 7, 0], [-11, 7, 0], [-9, 100, 1], [-8, 7, 0], [-8, 7, 0], [-8, 7, 0], [-7, 100, 1], [-7, 7, 0], [-6, 7, 0], [-6, 7, 0], [-5, 100, 1], [-5, 7, 0], [-4, 7, 54], [-4, 7, 0], [-3, 100, 1], [-3, 7, 64], [-2, 7, 65], [-2, 7, 0], [-1, 100, 1], [-1, 100, 1], [-1, 0, 0], [-1, 0, 0], [-1, 0, 0], [1, 52, 52], [1, 52, 53], [3, 55, 55], [3, 50, 56], [4, 56, 7], [6, 56, 7], [7, 57, 7], [8, 58, 7], [9, 58, 7], [10, 59, 7], [8, 56, 7], [5, 7, 7], [1, 7, 59], [-2, 7, 56], [-5, 7, 52], [-6, 7, 60], [-7, 7, 58], [-6, 7, 50], [-5, 7, 58], [-3, 57, 57], [-2, 57, 52], [0, 58, 0], [0, 59, 50], [0, 7, 57], [-2, 7, 58], [-4, 7, 57], [-5, 7, 53], [-6, 7, 53], [-5, 7, 57], [-4, 7, 57], [-3, 7, 56], [-2, 7, 0], [0, 54, 50], [0, 59, 0], [0, 58, 0], [0, 57, 59], [0, 56, 0], [0, 55, 0], [0, 64, 50], [0, 58, 57], [0, 50, 57], [0, 0, 55], [0, 54, 57], [0, 50, 0], [0, 0, 59], [0, 53, 0], [0, 64, 54], [0, 11, 1]);
this.level = _root.level;
this.lvl = this.lvls[this.level];
this.tes = new Array();
this.bufferOffX = new Array();
this.bufferCurve = new Array();
this.coltrans = new Object();
this.bots = new Array();
this.botBases = new Array();
this.botBases[0] = {x:-1, z:0};
this.botBases[1] = {x:0, z:0};
this.botBases[2] = {x:1, z:0};
this.botBases[3] = {x:-1, z:1};
this.botBases[4] = {x:0, z:1};
this.botBases[5] = {x:1, z:1};
this.pl = new Object();
init();
Symbol 449 MovieClip Frame 2
if (false) {
}
draw();
Symbol 449 MovieClip Frame 3
if (false) {
}
gotoAndPlay (2);
Symbol 461 MovieClip Frame 1
if (false) {
}
stop();
Symbol 462 MovieClip Frame 1
if (false) {
}
stop();
Symbol 474 MovieClip Frame 1
if (false) {
}
stop();
Symbol 476 MovieClip Frame 1
if (false) {
}
stop();
Symbol 487 MovieClip Frame 1
if (false) {
}
stop();
Symbol 527 MovieClip Frame 1
if (false) {
}
stop();
Symbol 527 MovieClip Frame 11
if (false) {
}
play();
_parent.msg_mc.st_mc.gotoAndStop(4);
Symbol 527 MovieClip Frame 12
if (false) {
}
if (Math.abs(_root.w.pl.vz) < 0.02) {
prevFrame();
}
Symbol 527 MovieClip Frame 13
if (false) {
}
gotoAndStop ("inactive");
Symbol 527 MovieClip Frame 19
if (false) {
}
_parent.msg_mc.st_mc.gotoAndStop(2);
Symbol 527 MovieClip Frame 31
if (false) {
}
gotoAndStop ("inactive");
Symbol 527 MovieClip Frame 42
if (false) {
}
_parent.msg_mc.st_mc.gotoAndStop(5);
Symbol 527 MovieClip Frame 53
if (false) {
}
stop();
Symbol 527 MovieClip Frame 64
if (false) {
}
_parent.msg_mc.st_mc.gotoAndStop(1);
Symbol 527 MovieClip Frame 102
if (false) {
}
_parent.go();
_parent.msg_mc.st_mc.gotoAndStop(2);
Symbol 527 MovieClip Frame 128
if (false) {
}
gotoAndStop ("inactive");
Symbol 606 MovieClip Frame 11
if (false) {
}
_parent.gotoAndStop(2);
Symbol 626 MovieClip Frame 23
if (false) {
}
_parent.gotoAndStop(2);
Symbol 635 MovieClip Frame 42
if (false) {
}
stop();
Symbol 636 MovieClip Frame 1
if (false) {
}
stop();
Symbol 641 MovieClip Frame 1
if (false) {
}
function resetFps() {
this.frames = 0;
this.ms = getTimer();
}
function score(ifInit, ifFinish) {
var _local1 = this;
var _local3 = _root;
var resttime = Math.max(0, time - (getTimer() - timestamp));
timestamp = getTimer();
_local1.timeScore = getTimer();
if (!ifInit) {
var _local2 = Math.max(int(resttime), 0);
var checkpointId = _local3.statistics[_local3.level].checkpoints.length;
var multibonus = checkpointId;
_local2 = int(_local2 / 100);
_parent.bonusArray.push(_local2);
_local1.actScore = _local1.actScore + _local2;
if (_local2 > 0) {
_local1.titles.bonus = (multibonus + "Bonus: ") + _local2;
} else {
_local1.titles.bonus = multibonus + "No Bonus";
}
var statsObj = _local3.statistics[_local3.level].checkpoints[_local3.statistics[_local3.level].checkpoints.length - 1];
statsObj.bonus = _local2;
statsObj.time = getTimer() - _local1.checkpointTimestamp;
_local1.checkpointTimestamp = getTimer();
if (ifFinish) {
_local1.titles.title = "Finish!";
} else {
_local1.titles.title = "Checkpoint!";
}
trace("gap check!");
_local1.titles.gotoAndPlay("checkpoint");
} else {
_local1.checkpointTimestamp = getTimer();
_local1.time = 0;
resttime = 0;
}
_local1.time = resttime + 30000;
_local1.warn = 6;
}
function go() {
resetFps();
score(true);
_root.w.phase = 1;
_root.w.startBots();
this.gotoAndPlay("loop");
}
actScore = 0;
timeScore = -100000;
timeDisplay = 30;
setMeter(time1_mc, timeDisplay);
timeDisplayTenth = 0;
setMeter(time2_mc, timeDisplayTenth);
Symbol 641 MovieClip Frame 7
if (false) {
}
stop();
titles.gotoAndPlay("markssetgo");
Symbol 641 MovieClip Frame 8
if (false) {
}
mph = int(_root.w.pl.vz * 800);
setMeter(mph_mc, mph);
if ((mph < 100) && (msg_mc.st_mc._currentframe == 2)) {
msg_mc.st_mc.gotoAndStop(4);
}
tacho.gotoAndStop(int(_root.w.pl.vz * 380) + 1);
meter.gotoAndStop(int((this.pos / _root.w.lvl.length) * 100) + 1);
scoreD = int(actScore);
setMeter(score_mc, scoreD);
setMeter(scoreSh_mc, scoreD);
_parent.totalScoreDisplay = scoreD;
timeD = time - (getTimer() - timestamp);
if (((this.pos == 0) && (timeD < 29000)) && (titles._currentframe == 1)) {
titles.gotoAndPlay("help");
}
if (timeD < 0) {
timeD = 0;
if (_root.w.phase == 1) {
_root.w.phase = 2;
this.titles.title = "Time Out!";
this.titles.bonus = "";
this.titles.gotoAndPlay("timeout");
}
}
timeDisplay = int(timeD / 1000);
setMeter(time1_mc, timeDisplay);
timeDisplayTenth = int(timeD / 100) % 10;
setMeter(time2_mc, timeDisplayTenth);
if (timeDisplay < warn) {
if (warn > 1) {
}
mcTime.play();
warn--;
}
fps = Math.floor(((frames++) / (getTimer() - ms)) * 10000) / 10;
pos = _root.w.offTe;
Symbol 641 MovieClip Frame 9
if (false) {
}
gotoAndPlay ("loop");
Symbol 700 Button
on (release) {
if (false) {
}
if (_parent.isLogin == 1) {
nextFrame();
_parent.loadData("all");
}
}
Symbol 702 Button
on (release) {
if (false) {
}
if (_parent.isLogin == 1) {
prevFrame();
_parent.loadData("today");
}
}
Symbol 703 MovieClip Frame 1
if (false) {
}
stop();
Symbol 709 MovieClip Frame 1
if (false) {
}
stop();
Symbol 714 MovieClip Frame 1
if (false) {
}
bg_btn.useHandCursor = false;
Symbol 718 MovieClip Frame 1
if (false) {
}
function loadData(arg) {
resetField();
var _local1 = new LoadVars();
var _local2 = new LoadVars();
_local2.onLoad = function (s) {
if (s) {
if (Number(this.rsCnt == 0)) {
msg_mc.msg_txt.text = "\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.";
msg_mc._visible = true;
} else {
rankingData = this;
setData();
}
} else {
msg_mc.msg_txt.text = "\uC11C\uBC84 \uC751\uB2F5\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.";
msg_mc._visible = true;
}
};
if (arg == "today") {
menu_mc.prevFrame();
} else {
menu_mc.nextFrame();
}
msg_mc.msg_txt.text = "\uB370\uC774\uD130 \uB85C\uB529...";
msg_mc._visible = true;
_local1.game_id = game_id;
_local1.loadType = arg;
_local1.sendAndLoad(baseURL + sScript1, _local2, "post");
}
function sendData() {
var _local1 = new LoadVars();
var _local2 = new LoadVars();
_local2.onLoad = function (s) {
if (s) {
loadData("today");
}
};
msg_mc.msg_txt.text = "\uB370\uC774\uD130 \uC785\uB825...";
msg_mc._visible = true;
_local1.game_id = game_id;
_local1.score = score;
_local1.sendAndLoad(baseURL + sScript2, _local2, "post");
}
function resetField() {
var _local2 = this;
myRank.text = "";
myScore.text = "";
var _local1 = 0;
while (_local1 < 10) {
_local2["user_id" + _local1].text = "";
_local2["score" + _local1].text = "";
_local2["date" + _local1].text = "";
_local1++;
}
}
function setData() {
var _local2 = this;
msg_mc.msg_txt.text = "";
msg_mc._visible = false;
myRank.text = rankingData.myrank;
myScore.text = rankingData.myscore;
var _local1 = 0;
while (_local1 < 10) {
_local2["user_id" + _local1].text = rankingData["id" + _local1];
_local2["score" + _local1].text = rankingData["score" + _local1];
_local2["date" + _local1].text = rankingData["date" + _local1];
_local1++;
}
}
stop();
var baseURL = _parent.baseURL;
var sScript1 = _parent.sScript1;
var sScript2 = _parent.sScript2;
var game_id = _parent.game_id;
var isLogin = Number(_parent.isLogin);
var rankingData = new Object();
Instance of Symbol 648 MovieClip in Symbol 718 MovieClip Frame 1
onClipEvent (load) {
if (false) {
}
this._visible = false;
}
Symbol 718 MovieClip Frame 2
if (false) {
}
var score = _parent.totalScoreDisplay;
trace("\uC2E4\uC81C\uC810\uC218:" + score);
if (isLogin == 1) {
v_log._visible = false;
if (dataMode == 1) {
loadData("today");
} else if (score > 0) {
sendData();
} else {
loadData("today");
}
} else {
v_log._visible = true;
msg_mc._visible = false;
}
stop();
Instance of Symbol 709 MovieClip in Symbol 718 MovieClip Frame 2
on (rollOver) {
if (false) {
}
this.nextFrame();
}
on (rollOut) {
if (false) {
}
this.prevFrame();
}
on (release) {
if (false) {
}
_parent._parent.gotoAndStop("menu");
}
Symbol 723 MovieClip Frame 20
if (false) {
}
if (_parent.rankSt) {
_parent.rank_mc.dataMode = 2;
_parent.rank_mc.nextFrame();
gotoAndStop (1);
} else {
replay_btn.onRelease = function () {
_parent.gotoAndStop("menu");
};
}
stop();
Symbol 727 Button
on (release) {
if (false) {
}
getURL ("http://www.flashgame.co.kr", "_self");
}