Frame 1
Stage.showMenu = false;
com.neodelight.std.Blueprint.addBlueprint("game", {gameTitle:"DeadlyDrive", gameName:"DeadlyDrive", gameFlashVersion:6, gameHighscores:true, gameHighscoresKey0:"8dghas", gameHighscoresKey1:"jtr3489", gameLicenses:"licenseOnlineRealGames,licenseNeodelight,licenseFree"});
com.neodelight.std.Blueprint.addBlueprint("licenseNeodelight", {blueprint:"game", version:"neodelight", configNeedDomain:"neodelight.com", fullVersion:true, gameCredits:"This game is licensed to onlinerealgames.com\nIf you're intrested in obtaining a license for your website, please visit http://www.onlinerealgames.com", gameCopyright:"(c) www.neodelight.com 2007", gameCopyrightLink:"http://www.neodelight.com/?ref=DeadlyDrive", gameIntro:"introOrg", urlHighscoresView:"http://www.neodelight.com/highscores/DeadlyDrive?ref=DeadlyDrive", urlHighscoresViewTarget:"_top", urlMoreGames:"http://www.neodelight.com/?ref=DeadlyDrive", urlMoreGamesTarget:"_top", gameScoreSubmit:function (score) {
trace("submit score: " + score);
_global.highscores.submit(score);
}});
com.neodelight.std.Blueprint.addBlueprint("licenseOnlineRealGames", {blueprint:"licenseNeodelight", version:"onlinerealgames", configNeedDomain:"onlinerealgames.com", gameCopyright:"(c) 7Seas Technologies Ltd.", gameCopyrightLink:"http://www.onlinerealgames.com", fullVersion:true, gameIntro:"introBk", urlMoreGames:"http://www.onlinerealgames.com", urlMoreGamesTarget:"_top", gameScoreSubmit:function (score) {
}});
com.neodelight.std.Blueprint.addBlueprint("licenseFree", {blueprint:"licenseNeodelight", gameIntro:"introOrg", gameCopyright:"(c) 7Seas Technologies Ltd.", gameCopyrightLink:"http://www.onlinerealgames.com", urlMoreGames:"http://www.onlinerealgames.com", urlMoreGamesTarget:"_top", version:"free", configNeedDomain:"*", fullVersion:true});
_global.config = com.neodelight.std.AutoConfig.getConfig({configs:com.neodelight.std.Blueprint.getBlueprint("game").gameLicenses});
var hcoins = 0;
var fcoins = 0;
stop();
Frame 2
Frame 3
if (_global.config.gameIntro) {
intro.gotoAndStop(_global.config.gameIntro);
stop();
} else {
play();
}
Frame 4
stop();
Frame 7
stop();
Frame 8
function format(time, fuckTheHun) {
if (time >= 0) {
var _local1 = int((time / 1000) / 60);
var _local2 = int((time - (_local1 * 60000)) / 1000);
var _local3 = int(((time - (_local1 * 60000)) - (_local2 * 1000)) / 10);
tHou = 0;
while (_local1 > 60) {
_local1 = _local1 - 60;
tHou++;
}
if (tHou < 10) {
tHou = "0" + tHou;
}
if (_local1 < 10) {
_local1 = "0" + _local1;
}
if (_local2 < 10) {
_local2 = "0" + _local2;
}
if (_local3 < 10) {
_local3 = "0" + _local3;
}
if (fuckTheHun) {
if (int(tHou > 0)) {
return((((tHou + ":") + _local1) + ":") + _local2);
}
return((_local1 + ":") + _local2);
}
if (int(tHou > 0)) {
return((((((tHou + ":") + _local1) + ":") + _local2) + ":") + _local3);
}
return((((_local1 + ":") + _local2) + ":") + _local3);
}
return("--:--:--");
}
function resetRecords(firstTime) {
shared.data.maps = [[-1, -1, -1]];
shared.data.totalTime = 0;
shared.data.bikeProperties = [1, 1, 1, 1, 1];
shared.data.unlocked_1 = [true, false, false, false];
shared.data.unlocked_2 = [true, false, false, false];
shared.data.unlocked_3 = [true, false, false, false];
shared.data.unlocked_4 = [true, false, false, false, false];
shared.data.unlocked_5 = [true, false, false, false];
shared.data.maxLevel = 0;
mapId = 0;
if (firstTime) {
shared.data.music = true;
shared.data.sound = true;
}
shared.flush();
}
function sortTimes(a, b) {
if ((a == -1) && (b == -1)) {
return(0);
}
if ((a == -1) && (b >= 0)) {
return(1);
}
if ((a >= 0) && (b == -1)) {
return(-1);
}
if (a < b) {
return(-1);
}
if (a > b) {
return(1);
}
return(0);
}
function startLevel(id) {
trace(_global.game.maxLevel + "b bvgnhf ");
trace(id + "level tra");
_global.dir = "";
_global.game.actLevel = (_root.mapId = id);
_global.snd.playEvent("sndClick", 1);
_global.snd.channelsById.music.stop();
_global.snd.playLoop("sndAthmo" + _global.lib.lvls[id].skin, 0, undefined, "athmo");
_global.snd.fadeChannel("athmo", 0.3, 60);
_global.snd.playLoop("sndDrive", 0, undefined, "drive");
_root.gotoAndPlay("game");
}
_root._focusrect = false;
gameInitied = true;
_quality = "heigh";
com.neodelight.flanix.Kernel.init();
com.neodelight.std.Blueprint.addBlueprint("game", {gameTitle:"DeadlyDrive", gameName:"DeadlyDrive", gameFlashVersion:6, gameHighscores:true, gameHighscoresKey0:"8dghas", gameHighscoresKey1:"jtr3489", gameLicenses:"licenseOnlineRealGames,licenseNeodelight,licenseFree"});
com.neodelight.std.Blueprint.addBlueprint("licenseNeodelight", {blueprint:"game", version:"neodelight", configNeedDomain:"neodelight.com", fullVersion:true, gameCredits:"This game is licensed to onlinerealgames.com\nIf you're intrested in obtaining a license for your website, please visit http://www.onlinerealgames.com", gameCopyright:"(c) www.neodelight.com 2007", gameCopyrightLink:"http://www.neodelight.com/?ref=DeadlyDrive", gameIntro:"introOrg", urlHighscoresView:"http://www.neodelight.com/highscores/DeadlyDrive?ref=DeadlyDrive", urlHighscoresViewTarget:"_top", urlMoreGames:"http://www.neodelight.com/?ref=DeadlyDrive", urlMoreGamesTarget:"_top", gameScoreSubmit:function (score) {
trace("submit score: " + score);
_global.highscores.submit(score);
}});
com.neodelight.std.Blueprint.addBlueprint("licenseOnlineRealGames", {blueprint:"licenseNeodelight", version:"onlinerealgames", configNeedDomain:"onlinerealgames.com", gameCopyright:"(c) 7Seas Technologies Ltd.", gameCopyrightLink:"http://www.onlinerealgames.com", fullVersion:true, gameIntro:"introBk", urlMoreGames:"http://www.onlinerealgames.com", urlMoreGamesTarget:"_top", gameScoreSubmit:function (score) {
}});
com.neodelight.std.Blueprint.addBlueprint("licenseFree", {blueprint:"licenseNeodelight", gameIntro:"introOrg", gameCopyright:"(c) 7Seas Technologies Ltd.", gameCopyrightLink:"http://www.onlinerealgames.com", urlMoreGames:"http://www.onlinerealgames.com", urlMoreGamesTarget:"_top", version:"free", configNeedDomain:"*", fullVersion:true});
new com.neodelight.game.Game();
shared = SharedObject.getLocal(_global.game.name);
if (shared.data.maps == undefined) {
resetRecords(true);
}
trace("shared max level: " + shared.data.maxLevel);
_global.game.maxLevel = (shared.data.maxLevel = com.neodelight.std.XMath.toNumber(shared.data.maxLevel));
if (!_global.lib.lvls) {
_global.lib.lvls = new Array();
}
_global.lib.lvls.push(new com.neodelight.r2d.R2dLevel({title:"Track-1", colLine:10929199, colFill:12047930, skin:0, groundY:8000, startX:860, startY:680, map:[[[500, 360, 10, 90, 760, 630], [40, 140], [20, 190], [10, 330], [10, 510], [20, 560], [20, 630], [150, 630], [760, 630], [760, 430], [100, 430], [80, 370], [80, 290], [100, 210], [120, 150], [130, 120], [120, 100], [100, 90], [70, 100], [40, 130], [40, 140]], [[1000, 360, 260, 390, 970, 640], [260, 430], [280, 410], [310, 390], [350, 390], [410, 390], [440, 390], [460, 400], [490, 420], [500, 430], [970, 430], [970, 640], [260, 640]], [[1200, 360, 450, 110, 1000, 640], [450, 430], [470, 400], [510, 350], [550, 320], [580, 300], [610, 290], [640, 280], [690, 280], [750, 270], [820, 250], [890, 210], [930, 180], [970, 140], [1000, 110], [990, 640], [770, 640]], [[1650, 110, 530, 150, 910, 690], [550, 360], [600, 310], [640, 270], [680, 230], [740, 190], [790, 160], [850, 150], [910, 150], [910, 680], [530, 690]], [[1650, 560, 540, 230, 910, 440], [540, 240], [910, 230], [910, 440], [540, 440]], [[2250, 0, 310, 250, 950, 650], [310, 260], [370, 250], [450, 250], [520, 280], [600, 350], [680, 430], [750, 500], [820, 580], [880, 610], [920, 640], [950, 650], [310, 640]], [[2250, 400, 300, 240, 950, 600], [310, 240], [950, 250], [950, 600], [300, 600]], [[2600, 250, 440, 300, 940, 680], [440, 300], [540, 360], [610, 400], [740, 430], [850, 430], [940, 430], [940, 670], [540, 680]], [[2600, 600, 570, 320, 940, 400], [590, 330], [940, 320], [940, 400], [570, 400]], [[3050, 250, 490, 110, 990, 660], [490, 430], [550, 410], [590, 370], [650, 300], [680, 240], [710, 150], [730, 120], [770, 110], [810, 110], [850, 120], [900, 150], [920, 190], [950, 230], [990, 290], [990, 650], [490, 660]], [[3450, 500, 60, 400, 590, 500], [70, 410], [590, 400], [590, 500], [60, 500]], [[3850, 150, 140, 240, 990, 680], [140, 320], [270, 360], [420, 360], [530, 330], [580, 280], [600, 250], [620, 240], [650, 240], [700, 270], [750, 330], [800, 350], [860, 350], [930, 320], [950, 260], [960, 250], [980, 250], [990, 280], [990, 680], [160, 670]], [[3950, 450, 90, 370, 890, 550], [90, 370], [890, 380], [890, 550], [90, 550]], [[2800, 200, 250, 340, 750, 530], [250, 360], [310, 370], [370, 360], [420, 340], [470, 340], [520, 380], [570, 410], [680, 460], [750, 480], [750, 530], [750, 530], [280, 500]], [[4250, 200, 560, 190, 970, 680], [560, 200], [580, 190], [600, 190], [640, 210], [680, 250], [730, 300], [780, 320], [840, 320], [890, 310], [930, 270], [950, 220], [960, 200], [970, 680], [580, 680]], [[4250, 550, 580, 330, 970, 450], [580, 330], [970, 330], [970, 450], [590, 450]], [[4800, 150, 370, 240, 900, 680], [410, 250], [430, 240], [460, 240], [480, 250], [590, 330], [680, 360], [780, 370], [870, 370], [900, 370], [900, 680], [370, 680]], [[4800, 600, 380, 220, 900, 400], [380, 240], [380, 220], [900, 230], [900, 400], [420, 400]], [[5470, 200, 230, 320, 570, 380], [230, 320], [570, 320], [570, 380], [230, 380]], [[5470, 200, 560, 320, 970, 690], [570, 320], [970, 320], [970, 690], [560, 690], [560, 320]], [[5470, 450, 560, 440, 970, 550], [560, 440], [970, 440], [970, 550], [560, 550]], [[5320, 350, 380, 140, 640, 190], [380, 170], [420, 150], [430, 140], [430, 140], [470, 170], [510, 140], [560, 170], [590, 140], [640, 170], [640, 180], [380, 190]], [[5320, 350, 640, 140, 710, 170], [640, 170], [670, 140], [710, 170]], [[5920, 350, 520, 50, 980, 650], [520, 170], [580, 150], [640, 120], [680, 90], [710, 60], [720, 50], [740, 50], [790, 60], [840, 90], [940, 170], [980, 250], [970, 650], [520, 650]], [[6520, 350, 340, 170, 700, 650], [340, 170], [340, 170], [510, 200], [620, 220], [700, 240], [700, 650], [360, 650]], [[6920, 300, 300, 10, 850, 690], [300, 290], [360, 290], [440, 280], [510, 260], [600, 220], [730, 120], [810, 50], [840, 20], [850, 10], [850, 680], [300, 690]], [[6920, 600, 300, 380, 860, 420], [300, 390], [850, 380], [860, 420], [300, 400]], [[7520, 50, 250, 250, 820, 670], [250, 260], [270, 250], [340, 250], [500, 250], [690, 250], [820, 250], [820, 660], [250, 670]], [[7520, 50, 430, 220, 690, 250], [430, 250], [450, 230], [480, 220], [530, 220], [580, 220], [630, 220], [660, 220], [680, 230], [690, 250]], [[7920, 50, 420, 250, 770, 660], [420, 250], [770, 250], [770, 650], [420, 660]], [[7920, 50, 500, 220, 770, 250], [500, 250], [530, 230], [560, 220], [610, 220], [680, 220], [720, 220], [770, 250]], [[8320, 150, 370, 150, 870, 550], [370, 150], [420, 180], [530, 220], [640, 240], [790, 270], [870, 290], [870, 550], [370, 550]], [[8770, 150, 250, 140, 940, 550], [250, 250], [290, 220], [340, 190], [390, 170], [450, 150], [510, 140], [570, 140], [640, 150], [710, 190], [800, 240], [830, 250], [890, 280], [940, 300], [930, 550], [430, 550], [420, 550]], [[9220, 150, 470, 290, 990, 550], [490, 300], [550, 310], [620, 300], [690, 290], [720, 290], [760, 300], [800, 330], [830, 380], [860, 410], [930, 430], [990, 440], [990, 550], [470, 550]], [[9970, 150, 240, 440, 930, 550], [240, 440], [400, 460], [620, 480], [830, 480], [930, 480], [930, 550], [240, 550]], [[10450, 300, 450, 20, 620, 400], [450, 330], [480, 300], [530, 230], [530, 160], [520, 90], [520, 40], [540, 30], [570, 20], [590, 30], [610, 40], [620, 160], [600, 280], [520, 390], [460, 400], [450, 400]], [[7460, 400, 300, 300, 980, 620], [310, 320], [300, 620], [980, 620], [960, 300], [320, 300], [310, 320]], [[8360, 400, 40, 300, 980, 650], [50, 310], [980, 300], [960, 650], [40, 640]], [[8360, 400, 40, 280, 800, 380], [40, 280], [610, 280], [740, 290], [800, 350], [240, 380], [40, 370]], [[9160, 500, 150, 190, 980, 600], [180, 200], [980, 190], [970, 600], [150, 590]], [[10060, 500, 60, 190, 910, 610], [60, 190], [910, 190], [900, 610], [60, 600]], [[9910, 200, 140, 330, 1000, 450], [140, 330], [320, 370], [420, 330], [540, 400], [650, 340], [810, 430], [870, 410], [1000, 420], [1000, 450], [200, 440]], [[10160, 200, 440, 370, 810, 440], [480, 380], [810, 370], [810, 440], [530, 440], [480, 430], [440, 400], [490, 380]], [[10160, 200, 440, 380, 490, 400], [480, 380], [440, 390], [470, 400], [490, 390]], [[510, 250, 420, 480, 700, 550], [420, 540], [440, 520], [460, 500], [470, 490], [510, 480], [550, 480], [610, 490], [670, 530], [700, 550]], [[510, 250, 750, 490, 1000, 540], [750, 540], [770, 520], [800, 500], [860, 490], [930, 490], [960, 500], [990, 530], [1000, 540], [750, 540]], [[810, 250, 660, 500, 710, 550], [660, 500], [710, 540], [710, 550]], [[1710, 250, 290, 170, 550, 370], [330, 340], [410, 260], [430, 230], [470, 200], [550, 170], [530, 260], [340, 370], [290, 370], [330, 340]], [[2560, 150, 280, 190, 440, 350], [280, 190], [310, 210], [340, 220], [380, 240], [410, 270], [440, 350]], [[7740, 140, 200, 110, 510, 160], [200, 160], [230, 130], [250, 120], [290, 110], [330, 110], [420, 110], [450, 120], [470, 140], [490, 150], [510, 160]], [[7740, 140, 680, 120, 950, 170], [680, 160], [720, 130], [750, 120], [820, 120], [900, 120], [920, 130], [940, 150], [950, 170]], [[9890, 140, 340, 380, 560, 470], [340, 430], [370, 410], [390, 400], [410, 390], [440, 380], [460, 390], [490, 410], [530, 430], [550, 450], [560, 460], [560, 470]], [[9890, 140, 530, 430, 600, 480], [530, 430], [550, 440], [580, 450], [600, 470], [600, 480], [530, 480]], [[9890, 140, 580, 390, 780, 450], [580, 450], [620, 420], [650, 400], [670, 390], [680, 390], [700, 400], [740, 420], [780, 440]], [[140, 400, 210, 0, 550, 570], [520, 390], [490, 350], [470, 290], [470, 230], [480, 160], [510, 110], [540, 70], [550, 30], [540, 10], [490, 0], [420, 10], [370, 40], [320, 90], [240, 390], [210, 560], [210, 570]], [[290, 600, 60, 270, 740, 450], [220, 270], [60, 370], [60, 410], [100, 440], [660, 450], [740, 450], [740, 390], [230, 390], [230, 320]], [[890, 600, 140, 390, 850, 460], [140, 390], [370, 390], [850, 400], [850, 460], [140, 450]], [[1690, 600, 50, 400, 870, 460], [50, 400], [870, 400], [870, 460], [50, 460]], [[2490, 600, 70, 400, 810, 460], [70, 400], [810, 400], [810, 460], [70, 460]], [[3290, 600, 10, 400, 890, 460], [10, 400], [890, 400], [890, 460], [20, 460], [10, 460]], [[4040, 600, 140, 400, 880, 460], [140, 400], [880, 400], [880, 460], [140, 460]], [[4890, 600, 30, 400, 810, 460], [30, 400], [810, 400], [810, 460], [30, 460]], [[5390, 100, 300, 360, 670, 420], [300, 420], [360, 370], [400, 420], [450, 360], [490, 420], [530, 360], [580, 420], [620, 360], [670, 420]], [[6240, 100, 340, 270, 700, 440], [400, 300], [410, 290], [440, 270], [460, 270], [480, 280], [530, 330], [650, 410], [700, 440], [340, 390]], [[10440, 200, 460, 50, 700, 600], [460, 370], [470, 350], [500, 270], [520, 180], [520, 100], [530, 70], [540, 60], [580, 50], [630, 50], [660, 60], [690, 130], [700, 270], [670, 380], [580, 500], [570, 600], [460, 600]], [[10440, 550, 520, 250, 570, 570], [530, 250], [570, 250], [560, 570], [520, 560]], [[10440, 0, 350, 20, 820, 620], [460, 570], [510, 440], [520, 380], [520, 290], [510, 220], [480, 180], [420, 140], [360, 100], [350, 90], [350, 70], [380, 40], [410, 30], [490, 20], [580, 30], [630, 50], [680, 80], [730, 130], [770, 190], [790, 250], [820, 350], [820, 460], [750, 620], [460, 570]], [[10440, 550, 520, 50, 750, 570], [650, 50], [750, 70], [740, 110], [700, 260], [610, 550], [560, 570], [520, 540], [540, 140]], [[3300, 0, 320, 20, 740, 210], [380, 190], [410, 160], [440, 140], [480, 130], [520, 130], [590, 140], [650, 160], [690, 180], [720, 170], [740, 140], [730, 90], [680, 70], [630, 40], [590, 20], [500, 20], [430, 40], [390, 60], [350, 110], [320, 160], [320, 180], [330, 200], [350, 210], [370, 200], [380, 190]], [[4200, 0, 160, 100, 400, 230], [190, 220], [210, 190], [230, 180], [250, 170], [280, 170], [320, 180], [340, 200], [360, 220], [380, 220], [400, 200], [400, 140], [350, 100], [300, 100], [230, 100], [190, 120], [170, 170], [160, 200], [160, 230], [170, 230], [180, 230], [190, 220]], [[4200, 0, 210, 20, 370, 120], [220, 100], [240, 80], [260, 40], [260, 20], [310, 20], [330, 20], [330, 40], [340, 70], [360, 100], [370, 120], [210, 120], [220, 100]], [[4600, 0, 120, 160, 350, 260], [140, 250], [160, 230], [190, 220], [210, 220], [250, 220], [280, 230], [300, 250], [320, 240], [350, 200], [330, 170], [280, 160], [190, 160], [150, 180], [130, 210], [120, 240], [120, 260], [140, 260], [140, 250]], [[4600, 0, 190, 30, 300, 160], [190, 160], [200, 130], [210, 60], [210, 30], [280, 30], [280, 60], [290, 120], [300, 160]], [[4900, 0, 230, 140, 460, 220], [250, 220], [270, 200], [310, 190], [360, 190], [400, 190], [430, 200], [440, 210], [460, 200], [460, 180], [440, 150], [390, 140], [310, 140], [260, 160], [240, 190], [230, 220], [250, 220]], [[4900, 0, 270, 20, 430, 160], [270, 150], [320, 120], [320, 20], [380, 20], [380, 120], [430, 150], [280, 160], [270, 150]], [[5500, 0, 180, 140, 600, 280], [190, 270], [230, 220], [280, 260], [330, 220], [390, 260], [440, 220], [500, 260], [560, 230], [600, 260], [600, 140], [180, 140], [180, 270], [180, 280], [190, 270]], [[5500, 0, 180, 10, 620, 270], [180, 140], [290, 100], [320, 10], [520, 10], [540, 100], [620, 140], [620, 270], [600, 260], [600, 220]], [[6200, 0, 370, 70, 620, 210], [410, 210], [420, 170], [440, 150], [480, 150], [530, 150], [560, 150], [580, 170], [600, 200], [610, 180], [620, 150], [620, 100], [560, 70], [460, 70], [380, 100], [370, 130], [370, 180], [410, 210]], [[6200, 0, 440, 10, 570, 80], [450, 70], [470, 30], [470, 10], [550, 10], [550, 30], [570, 80], [440, 80], [450, 70]]], xtras:[[8990, 340, 2], [8080, 220, 1], [1050, 680, 1], [2540, 200, 1], [3830, 310, 1], [10820, 530, 3], [10460, 520, 1], [1800, 620, 1], [1840, 580, 1], [2480, 210, 1], [2420, 240, 1], [3000, 310, 1], [3070, 310, 1], [3290, 470, 1], [3360, 470, 1], [3740, 360, 1], [3910, 270, 1], [4110, 470, 1], [4180, 480, 1], [4240, 460, 1], [3710, 440, 1], [3680, 510, 1], [4920, 380, 1], [5180, 380, 1], [5320, 380, 1], [5770, 400, 1], [7780, 260, 1], [7730, 310, 1], [7670, 360, 1], [7620, 410, 1], [9300, 260, 1], [9380, 260, 1], [9460, 270, 1], [9530, 300, 1], [9780, 420, 1], [9860, 410, 1], [10220, 530, 1], [10330, 480, 1], [10560, 490, 1], [1220, 730, 1], [3520, 610, 1], [3090, 510, 1], [8840, 320, 1], [5900, 350, 6], [6020, 390, 1], [5250, 260, 6], [4830, 310, 1], [4480, 300, 1], [1420, 670, 1], [1590, 710, 1], [2200, 390, 1], [4680, 440, 1], [6380, 440, 1], [6380, 390, 1], [7010, 490, 1], [7210, 460, 1], [7400, 510, 1], [6700, 250, 1], [8590, 150, 1], [10080, 370, 1], [750, 700, 26]]}));
_global.lib.lvls.push(new com.neodelight.r2d.R2dLevel({title:"Track-2", colLine:10929199, colFill:12047930, skin:0, groundY:8000, startX:760, startY:710, map:[[[500, 500, 170, 350, 260, 550], [170, 350], [170, 550], [260, 550], [260, 350]], [[580, 400, 90, 450, 780, 670], [180, 450], [780, 450], [780, 660], [90, 670], [90, 450]], [[900, 400, 460, 450, 990, 660], [460, 450], [510, 490], [560, 510], [640, 520], [740, 520], [750, 520], [800, 500], [830, 460], [990, 460], [990, 660], [460, 660]], [[900, 400, 570, 460, 810, 560], [580, 510], [610, 490], [630, 470], [650, 460], [680, 460], [730, 480], [750, 490], [770, 500], [790, 500], [800, 500], [810, 520], [760, 560], [570, 560]], [[900, 400, 760, 460, 830, 520], [770, 500], [790, 490], [810, 480], [830, 460], [830, 480], [820, 520], [760, 520]], [[900, 400, 740, 490, 780, 510], [750, 490], [780, 500], [780, 510], [740, 510]], [[1650, 400, 230, 190, 980, 670], [240, 460], [320, 440], [380, 420], [410, 400], [450, 390], [520, 400], [600, 430], [650, 450], [700, 460], [740, 450], [780, 410], [800, 380], [830, 350], [870, 290], [900, 250], [940, 200], [980, 190], [980, 670], [230, 660]], [[2450, 400, 140, 180, 770, 670], [140, 200], [160, 190], [180, 180], [200, 180], [230, 200], [280, 230], [360, 280], [450, 320], [560, 330], [620, 330], [730, 330], [770, 330], [770, 660], [180, 670]], [[2900, 400, 320, 330, 980, 660], [320, 330], [340, 350], [370, 360], [410, 370], [440, 370], [460, 360], [480, 350], [500, 350], [520, 370], [540, 380], [570, 390], [600, 390], [640, 390], [660, 380], [680, 360], [700, 370], [720, 390], [740, 400], [780, 410], [810, 410], [830, 400], [860, 380], [880, 360], [890, 360], [910, 360], [930, 360], [950, 370], [980, 420], [980, 660], [320, 660]], [[2900, 400, 680, 360, 870, 450], [680, 360], [700, 360], [720, 370], [750, 380], [830, 390], [860, 390], [870, 400], [850, 450], [720, 440]], [[2900, 400, 500, 350, 560, 400], [500, 350], [560, 390], [520, 400]], [[2600, 400, 280, 250, 550, 400], [280, 310], [330, 300], [360, 290], [380, 270], [400, 250], [430, 250], [460, 260], [500, 280], [550, 330], [550, 350], [550, 370], [410, 400]], [[2600, 400, 620, 330, 670, 380], [620, 330], [670, 360], [670, 380], [650, 380]], [[3750, 400, 130, 380, 710, 670], [130, 420], [170, 440], [240, 450], [290, 450], [350, 450], [460, 430], [510, 400], [540, 380], [550, 380], [570, 390], [610, 420], [670, 450], [710, 450], [710, 670], [130, 660]], [[4200, 400, 260, 450, 560, 510], [260, 450], [560, 450], [560, 510], [260, 510]], [[4200, 400, 560, 450, 900, 680], [560, 510], [560, 680], [900, 680], [900, 450], [560, 450]], [[4600, 400, 490, 240, 970, 680], [500, 450], [580, 420], [670, 370], [730, 320], [780, 270], [810, 240], [880, 240], [970, 240], [970, 300], [860, 300], [860, 680], [490, 680]], [[5150, 500, 310, 140, 950, 580], [420, 140], [490, 190], [570, 230], [660, 250], [760, 260], [820, 250], [880, 230], [920, 200], [950, 140], [950, 570], [310, 580], [310, 200]], [[5750, 500, 350, 130, 760, 590], [350, 140], [370, 130], [400, 130], [430, 150], [470, 170], [520, 200], [580, 230], [760, 230], [760, 590], [350, 580]], [[6200, 500, 310, 100, 980, 600], [310, 230], [430, 100], [580, 220], [700, 100], [840, 220], [960, 100], [980, 600], [310, 590], [310, 590]], [[6800, 500, 360, 100, 930, 600], [360, 100], [600, 220], [760, 100], [920, 200], [930, 600], [380, 600]], [[6200, 500, 510, 100, 700, 270], [520, 170], [540, 180], [560, 180], [610, 180], [680, 130], [700, 100], [680, 230], [510, 270], [510, 170], [520, 170]], [[6400, 500, 560, 150, 710, 270], [590, 170], [620, 190], [640, 200], [670, 190], [710, 180], [670, 270], [580, 260], [560, 170], [560, 150], [590, 170]], [[6750, 500, 560, 170, 720, 280], [560, 180], [620, 200], [670, 200], [720, 170], [720, 230], [610, 280]], [[7400, 500, 320, 200, 990, 600], [320, 200], [480, 280], [560, 360], [750, 400], [920, 400], [990, 450], [990, 600], [320, 600]], [[7900, 500, 490, 340, 960, 600], [490, 450], [580, 490], [640, 500], [760, 500], [860, 450], [910, 390], [960, 340], [960, 600], [490, 600]], [[8500, 500, 360, 290, 850, 610], [360, 340], [410, 300], [530, 290], [850, 290], [850, 610], [370, 600], [360, 600]], [[8500, 500, 510, 230, 830, 310], [510, 290], [550, 270], [590, 240], [640, 230], [700, 240], [790, 270], [830, 290], [830, 300], [810, 310], [520, 310]], [[9050, 500, 290, 290, 790, 610], [300, 290], [300, 290], [360, 310], [430, 330], [610, 340], [780, 340], [790, 600], [290, 610]], [[9500, 500, 330, 20, 700, 600], [330, 340], [450, 330], [530, 290], [640, 210], [660, 140], [660, 50], [660, 20], [700, 20], [700, 600], [340, 600]], [[4240, 400, 330, 370, 710, 480], [330, 450], [390, 430], [430, 390], [470, 370], [520, 370], [570, 390], [650, 430], [710, 460], [680, 470], [360, 480], [330, 450]], [[4240, 400, 330, 390, 440, 470], [330, 450], [400, 420], [430, 390], [440, 430], [390, 470], [340, 450], [330, 450]], [[1490, 400, 240, 430, 440, 480], [240, 460], [270, 440], [310, 430], [360, 440], [420, 450], [440, 460], [430, 480], [250, 480]], [[1790, 400, 310, 390, 520, 430], [340, 390], [330, 390], [310, 390], [390, 430], [520, 430]], [[1790, 400, 400, 420, 600, 480], [520, 430], [600, 450], [590, 470], [430, 480], [400, 420]], [[1790, 400, 400, 360, 630, 490], [410, 400], [400, 410], [430, 380], [470, 360], [500, 360], [530, 380], [570, 410], [630, 420], [630, 470], [630, 490]], [[1790, 400, 400, 400, 460, 430], [400, 410], [410, 400], [460, 430], [430, 430]], [[1790, 400, 570, 410, 640, 430], [570, 410], [630, 420], [640, 430], [600, 430]], [[1290, 400, 570, 370, 830, 500], [570, 440], [590, 410], [610, 380], [640, 370], [670, 370], [720, 380], [780, 390], [830, 400], [830, 420], [610, 500]], [[2430, 400, 300, 230, 530, 370], [300, 230], [330, 230], [380, 240], [430, 270], [530, 290], [530, 320], [450, 370]], [[3630, 400, 380, 410, 610, 450], [380, 450], [410, 440], [450, 420], [480, 410], [520, 410], [580, 430], [610, 450]], [[4530, 400, 400, 310, 760, 520], [400, 450], [460, 400], [520, 330], [570, 310], [620, 320], [760, 350], [760, 400], [740, 460], [550, 520]], [[4530, 400, 520, 310, 570, 330], [520, 330], [550, 310], [570, 310]], [[5330, 400, 340, 300, 720, 400], [340, 310], [390, 300], [440, 300], [490, 320], [550, 360], [600, 350], [650, 330], [720, 320], [720, 370], [530, 400]], [[7430, 400, 250, 250, 470, 410], [250, 280], [280, 260], [310, 250], [350, 260], [390, 280], [410, 300], [470, 400], [470, 410]], [[7430, 400, 470, 340, 970, 580], [470, 400], [530, 420], [570, 420], [610, 410], [650, 380], [680, 350], [710, 340], [740, 340], [770, 350], [820, 400], [970, 560], [960, 570], [540, 580]], [[7930, 400, 350, 460, 780, 640], [390, 470], [470, 490], [520, 490], [560, 480], [600, 490], [690, 550], [780, 580], [670, 640], [360, 580], [350, 490], [360, 460], [390, 470]], [[8980, 400, 340, 360, 830, 500], [340, 390], [380, 380], [420, 360], [450, 360], [510, 370], [570, 410], [630, 440], [690, 430], [740, 420], [830, 450], [700, 500], [370, 480]], [[6180, 400, 290, 180, 990, 420], [290, 330], [330, 300], [370, 260], [390, 230], [420, 200], [440, 190], [460, 190], [500, 230], [550, 270], [610, 280], [650, 260], [690, 220], [710, 190], [720, 180], [730, 180], [740, 190], [760, 220], [800, 250], [840, 280], [880, 280], [910, 250], [970, 200], [990, 190], [990, 190], [990, 420], [310, 360], [290, 330]], [[6670, 400, 500, 190, 980, 340], [500, 190], [510, 190], [530, 200], [570, 230], [660, 280], [710, 300], [740, 300], [780, 270], [840, 220], [870, 200], [890, 190], [900, 190], [920, 200], [980, 260], [930, 340], [530, 290], [520, 290], [500, 290]], [[8820, 400, 580, 320, 990, 530], [580, 360], [620, 340], [640, 330], [670, 320], [700, 330], [720, 350], [760, 380], [820, 410], [870, 410], [900, 390], [930, 380], [950, 390], [990, 440], [950, 500], [600, 530]], [[330, 420, 40, 20, 430, 660], [340, 430], [330, 390], [310, 340], [300, 280], [310, 210], [330, 160], [360, 130], [420, 100], [430, 90], [430, 50], [410, 30], [370, 20], [320, 20], [260, 30], [210, 50], [160, 80], [130, 120], [100, 180], [80, 220], [60, 270], [50, 310], [40, 360], [40, 410], [50, 490], [80, 560], [170, 650], [210, 660], [340, 650]], [[240, 650, 260, 410, 960, 500], [260, 420], [310, 450], [420, 480], [630, 500], [960, 500], [960, 410]], [[1190, 650, 10, 410, 980, 500], [10, 500], [980, 500], [980, 410], [10, 410]], [[2140, 650, 30, 410, 990, 510], [30, 410], [990, 410], [990, 510], [30, 500]], [[2990, 650, 130, 410, 990, 550], [150, 410], [990, 410], [990, 550], [140, 510], [130, 410]], [[3840, 650, 140, 260, 990, 550], [140, 550], [140, 410], [620, 420], [620, 260], [920, 260], [920, 430], [990, 430], [990, 550], [140, 550], [140, 550]], [[4800, 650, 30, 420, 980, 550], [30, 430], [980, 420], [980, 550], [30, 550]], [[5660, 650, 120, 410, 990, 550], [120, 420], [440, 410], [980, 420], [990, 550], [120, 550]], [[6410, 650, 230, 440, 990, 550], [230, 440], [990, 450], [990, 540], [990, 540], [990, 550], [240, 550]], [[7210, 650, 190, 450, 990, 550], [190, 450], [990, 450], [990, 550], [190, 550]], [[8110, 650, 90, 450, 990, 550], [90, 450], [990, 450], [990, 550], [90, 550]], [[9050, 650, 50, 440, 970, 550], [50, 550], [50, 450], [970, 440], [970, 550], [50, 550]], [[9600, 650, 420, 450, 600, 550], [420, 450], [600, 450], [590, 550], [420, 550]], [[9450, 350, 680, 20, 890, 690], [680, 360], [690, 310], [690, 190], [700, 110], [720, 30], [760, 20], [810, 30], [870, 110], [890, 230], [880, 610], [750, 690]], [[9500, 600, 680, 360, 840, 600], [830, 360], [840, 600], [680, 600], [690, 420]], [[500, 450, 390, 360, 820, 400], [390, 400], [430, 360], [470, 400], [520, 360], [570, 400], [630, 360], [690, 400], [770, 360], [820, 400], [390, 400]]], xtras:[[8970, 760, 2], [7560, 560, 1], [6630, 560, 1], [9950, 795, 3], [1410, 750, 17], [1570, 800, 1], [1940, 730, 1], [2630, 530, 1], [4300, 730, 1], [5510, 500, 1], [6140, 580, 6], [3030, 610, 6], [3590, 710, 6], [9500, 660, 1], [2280, 700, 1], [2510, 640, 1], [2830, 610, 1], [3380, 690, 1], [3880, 650, 1], [4100, 750, 1], [4650, 760, 1], [4920, 790, 1], [4470, 800, 1], [5090, 640, 1], [5290, 690, 1], [5770, 630, 1], [5950, 680, 1], [6410, 670, 1], [6790, 600, 1], [6910, 480, 6], [7030, 600, 1], [7900, 710, 1], [8030, 750, 1], [8420, 810, 1], [8700, 880, 1], [9330, 740, 1], [9650, 750, 1], [1780, 780, 1], [920, 770, 1], [1020, 770, 1], [1270, 770, 1], [1130, 770, 1], [2570, 580, 1], [5040, 690, 1], [6560, 590, 1], [7190, 530, 1], [8170, 690, 1], [9120, 670, 1], [9790, 700, 1], [8870, 770, 1], [3920, 780, 1], [5500, 600, 1], [5680, 670, 1], [7630, 540, 1], [7700, 540, 1], [7500, 600, 1], [1200, 720, 1], [1080, 720, 1], [970, 720, 1], [770, 770, 26]]}));
_global.lib.lvls.push(new com.neodelight.r2d.R2dLevel({title:"Track-3", colLine:10929199, colFill:12047930, skin:0, groundY:8000, startX:1170, startY:880, map:[[[650, 450, 130, 100, 890, 620], [310, 150], [290, 160], [270, 180], [250, 210], [240, 240], [230, 280], [230, 330], [230, 360], [240, 420], [260, 470], [290, 520], [320, 540], [350, 540], [890, 540], [890, 620], [200, 620], [170, 590], [140, 510], [130, 460], [130, 380], [140, 270], [180, 180], [230, 140], [280, 120], [320, 100], [340, 100], [350, 100], [350, 120], [330, 140]], [[650, 450, 260, 490, 890, 540], [270, 490], [300, 510], [360, 510], [550, 510], [880, 510], [890, 510], [890, 540], [280, 540], [260, 540]], [[1250, 450, 290, 430, 780, 620], [290, 510], [310, 490], [340, 470], [370, 450], [400, 440], [440, 430], [470, 430], [520, 430], [550, 440], [600, 470], [630, 500], [640, 510], [780, 510], [780, 620], [290, 620]], [[1790, 450, 240, 300, 990, 630], [240, 510], [280, 500], [310, 480], [360, 450], [400, 410], [450, 370], [470, 330], [480, 310], [500, 300], [530, 300], [550, 310], [590, 340], [630, 370], [690, 410], [720, 420], [790, 430], [860, 430], [900, 420], [940, 390], [970, 350], [990, 300], [990, 630], [240, 620]], [[2290, 450, 490, 280, 980, 630], [490, 300], [500, 290], [520, 280], [540, 280], [560, 280], [580, 290], [610, 310], [620, 330], [650, 360], [670, 370], [720, 380], [760, 380], [810, 380], [840, 360], [870, 340], [890, 320], [910, 290], [920, 290], [930, 300], [940, 310], [950, 320], [960, 330], [970, 340], [980, 350], [980, 630], [490, 630]], [[2990, 450, 280, 50, 980, 630], [280, 350], [300, 370], [320, 390], [370, 400], [460, 410], [540, 410], [600, 400], [650, 370], [700, 320], [770, 250], [810, 210], [860, 150], [890, 100], [910, 60], [920, 50], [940, 50], [950, 60], [960, 70], [980, 90], [980, 630], [280, 630]], [[3590, 450, 380, 90, 940, 630], [380, 90], [410, 120], [470, 170], [540, 210], [610, 230], [690, 240], [770, 250], [810, 260], [890, 280], [940, 290], [940, 630], [380, 630]], [[4090, 450, 440, 160, 900, 650], [440, 290], [490, 290], [540, 280], [590, 260], [630, 240], [680, 220], [710, 210], [750, 190], [790, 170], [820, 160], [850, 160], [900, 170], [900, 650], [440, 630]], [[4640, 450, 460, 200, 890, 650], [460, 200], [480, 210], [550, 230], [600, 240], [650, 240], [700, 240], [770, 240], [840, 240], [890, 240], [890, 650], [460, 650]], [[5040, 450, 490, 130, 920, 650], [490, 240], [540, 220], [580, 200], [610, 170], [630, 150], [640, 130], [650, 130], [680, 140], [740, 190], [780, 220], [820, 240], [860, 250], [920, 250], [920, 650], [490, 650]], [[5740, 450, 260, 110, 920, 650], [280, 270], [300, 290], [350, 310], [410, 320], [460, 320], [540, 320], [580, 320], [610, 320], [650, 310], [690, 280], [720, 260], [740, 240], [780, 210], [850, 160], [890, 130], [920, 110], [920, 650], [260, 650], [260, 260], [280, 270]], [[5940, 450, 720, 100, 980, 650], [720, 110], [750, 100], [800, 100], [880, 100], [970, 100], [980, 650], [720, 650]], [[6590, 450, 320, 100, 810, 650], [320, 100], [360, 120], [390, 150], [440, 200], [490, 250], [520, 280], [580, 300], [650, 310], [710, 310], [770, 310], [800, 310], [810, 310], [810, 650], [330, 650]], [[7170, 450, 230, 310, 630, 350], [230, 310], [630, 310], [630, 350], [230, 350]], [[7370, 450, 570, 310, 770, 650], [580, 310], [730, 310], [770, 310], [770, 310], [770, 650], [570, 650]], [[7370, 450, 660, 20, 900, 310], [770, 310], [800, 280], [850, 220], [880, 160], [900, 90], [900, 40], [890, 30], [870, 20], [850, 20], [820, 50], [780, 150], [720, 240], [660, 310]], [[7370, 250, 820, 10, 910, 250], [820, 250], [820, 20], [840, 10], [860, 10], [890, 10], [900, 30], [910, 150], [900, 240]], [[810, 570, 40, 500, 990, 570], [40, 500], [990, 500], [990, 560], [40, 570]], [[1710, 690, 90, 380, 990, 460], [90, 380], [90, 380], [990, 390], [990, 460], [90, 440]], [[1550, 390, 590, 90, 990, 160], [590, 140], [660, 100], [710, 90], [800, 90], [910, 90], [950, 100], [990, 130], [990, 150], [920, 120], [830, 120], [710, 120], [620, 150], [590, 160]], [[1550, 390, 530, 140, 590, 180], [590, 140], [550, 160], [530, 170], [530, 180], [590, 160]], [[2160, 390, 380, 130, 440, 170], [380, 130], [440, 160], [440, 170], [380, 150]], [[3210, 90, 560, 120, 920, 210], [560, 190], [660, 120], [760, 120], [850, 120], [920, 190], [890, 200], [840, 150], [670, 150], [570, 210]], [[6180, 210, 420, 120, 820, 160], [420, 150], [450, 130], [520, 120], [610, 120], [710, 120], [760, 120], [810, 130], [820, 140], [820, 150], [780, 150], [750, 140], [670, 140], [550, 140], [510, 140], [460, 150], [430, 160], [420, 160], [420, 150]], [[5130, 210, 550, 350, 830, 490], [550, 370], [560, 360], [570, 350], [590, 350], [620, 370], [670, 420], [800, 470], [830, 480], [830, 490], [780, 490], [660, 470], [550, 370]], [[3530, 210, 390, 290, 800, 500], [400, 290], [440, 320], [510, 380], [640, 450], [770, 480], [800, 490], [580, 500], [390, 310]], [[2780, 210, 400, 450, 710, 680], [400, 560], [420, 520], [440, 470], [460, 450], [480, 450], [500, 460], [530, 510], [590, 580], [640, 630], [710, 650], [700, 680], [400, 590]], [[1380, 460, 650, 270, 980, 520], [650, 500], [730, 460], [810, 390], [870, 310], [890, 290], [900, 280], [930, 270], [960, 270], [980, 280], [970, 390], [660, 520]], [[1920, 460, 380, 280, 620, 440], [440, 280], [460, 300], [490, 340], [530, 370], [610, 410], [620, 430], [530, 440], [380, 320]], [[1920, 460, 600, 410, 670, 450], [610, 410], [670, 420], [650, 450], [600, 430]], [[1050, 460, 420, 290, 910, 520], [420, 500], [450, 490], [490, 470], [550, 420], [590, 370], [630, 330], [670, 300], [700, 290], [740, 290], [770, 300], [810, 330], [840, 390], [870, 460], [890, 490], [910, 510], [420, 520], [420, 500]], [[1600, 460, 580, 220, 920, 430], [580, 400], [600, 370], [670, 270], [690, 250], [700, 240], [720, 230], [750, 220], [770, 220], [790, 240], [820, 300], [860, 360], [920, 410], [710, 430], [580, 400]], [[7250, 460, 550, 300, 700, 340], [550, 300], [700, 300], [700, 340], [550, 340]], [[7250, 460, 150, 340, 280, 640], [150, 340], [280, 340], [270, 640], [150, 640]], [[7250, 460, 630, 340, 700, 640], [630, 340], [700, 340], [690, 640], [630, 640]], [[7250, 460, 260, 340, 280, 640], [280, 340], [280, 640], [260, 640]], [[3030, 210, 130, 280, 310, 340], [150, 340], [170, 320], [210, 310], [250, 310], [280, 330], [290, 340], [310, 320], [300, 300], [250, 280], [190, 280], [150, 300], [130, 320], [150, 340]], [[3650, 110, 90, 130, 500, 230], [120, 170], [90, 200], [120, 230], [190, 190], [420, 190], [460, 210], [500, 190], [480, 170], [450, 180], [400, 130], [230, 130], [130, 190]], [[3650, 110, 410, 100, 520, 210], [410, 100], [510, 180], [520, 190], [460, 210]], [[3650, 110, 260, 380, 570, 600], [260, 390], [280, 380], [300, 380], [340, 410], [410, 470], [470, 520], [570, 580], [520, 600], [260, 430]], [[6350, 210, 220, 110, 660, 200], [240, 200], [280, 190], [330, 180], [420, 180], [510, 180], [570, 180], [650, 190], [660, 140], [620, 110], [290, 110], [250, 140], [220, 160], [240, 200]], [[6350, 210, 220, 110, 670, 200], [220, 160], [290, 110], [620, 110], [670, 150], [650, 190], [610, 200], [290, 200], [240, 200], [220, 160], [220, 160]], [[1250, 410, 240, 110, 770, 280], [310, 270], [370, 230], [420, 210], [500, 210], [580, 210], [660, 230], [710, 270], [720, 270], [760, 250], [770, 210], [760, 160], [700, 130], [590, 110], [460, 110], [340, 130], [280, 160], [240, 200], [240, 250], [250, 270], [290, 280], [310, 270]], [[1250, 190, 340, 80, 680, 350], [340, 350], [400, 290], [450, 160], [460, 80], [560, 80], [570, 150], [620, 280], [680, 350]], [[3400, 30, 470, 30, 660, 180], [470, 180], [510, 140], [510, 30], [620, 30], [630, 140], [660, 180]], [[6300, 30, 340, 60, 660, 290], [340, 290], [360, 240], [360, 60], [640, 60], [640, 240], [660, 290]], [[7320, 320, 130, 370, 640, 460], [130, 440], [190, 430], [240, 400], [290, 380], [360, 370], [450, 370], [520, 390], [610, 430], [640, 440], [640, 450], [130, 460], [130, 440], [220, 410]], [[7320, 320, 120, 400, 240, 460], [130, 440], [240, 400], [210, 450], [120, 460], [130, 440]], [[6420, 120, 170, 280, 580, 300], [170, 290], [190, 300], [550, 300], [580, 290], [580, 280]], [[6420, 120, 570, 240, 600, 290], [600, 240], [580, 290], [570, 280]], [[2870, 70, 310, 100, 460, 440], [310, 440], [340, 380], [350, 200], [350, 100], [430, 100], [430, 370], [430, 380], [460, 440], [310, 440]], [[1920, 320, 160, 180, 690, 260], [160, 250], [180, 260], [250, 240], [330, 220], [540, 220], [670, 250], [680, 250], [690, 240], [680, 230], [560, 190], [330, 180], [160, 250]], [[1920, 60, 290, 110, 580, 460], [290, 430], [330, 390], [360, 300], [360, 110], [550, 110], [550, 300], [550, 320], [570, 390], [580, 430], [580, 450], [290, 460], [290, 430]], [[380, 480, 150, 30, 630, 670], [620, 90], [630, 50], [620, 40], [580, 30], [520, 30], [450, 30], [390, 40], [350, 70], [310, 100], [270, 140], [230, 190], [190, 250], [170, 290], [150, 360], [150, 400], [160, 510], [170, 560], [210, 630], [240, 660], [330, 670], [470, 660], [470, 590], [440, 560], [420, 510], [410, 480], [400, 430], [400, 340], [410, 240], [450, 150], [500, 110]], [[5950, 350, 150, 370, 480, 440], [160, 410], [250, 380], [340, 420], [420, 370], [480, 390], [410, 440], [150, 420], [160, 410], [160, 410]], [[6950, 350, 670, 290, 840, 350], [670, 350], [750, 290], [840, 350], [670, 350]], [[3770, 350, 220, 170, 480, 330], [220, 170], [250, 170], [310, 180], [360, 200], [430, 260], [480, 330], [330, 310]], [[3770, 350, 570, 330, 860, 410], [570, 350], [620, 340], [670, 330], [710, 330], [760, 350], [820, 370], [860, 380], [820, 410], [660, 400]], [[3300, 350, 370, 300, 520, 440], [380, 420], [420, 350], [460, 320], [520, 300], [390, 430], [370, 440], [380, 420]], [[5060, 350, 320, 290, 520, 360], [320, 340], [340, 330], [390, 300], [410, 290], [430, 290], [470, 310], [510, 320], [520, 340], [390, 360], [320, 340]], [[6950, 350, 220, 340, 630, 430], [230, 400], [270, 390], [310, 370], [340, 350], [370, 360], [400, 390], [440, 410], [500, 380], [530, 350], [560, 340], [630, 360], [620, 390], [440, 430], [230, 420], [220, 400], [230, 400], [230, 400]], [[2350, 300, 360, 190, 610, 290], [390, 290], [420, 260], [450, 250], [490, 250], [540, 250], [580, 270], [590, 280], [610, 260], [600, 220], [570, 200], [520, 190], [460, 190], [410, 210], [370, 230], [360, 250], [360, 270], [390, 290]], [[2350, 300, 410, 10, 570, 210], [410, 210], [430, 180], [440, 60], [440, 10], [530, 10], [530, 60], [550, 160], [570, 200]], [[5470, 400, 530, 310, 830, 380], [530, 310], [560, 330], [580, 340], [620, 350], [650, 350], [710, 330], [730, 320], [830, 360], [820, 380], [580, 370], [530, 310]], [[5180, 50, 340, 200, 700, 350], [400, 350], [420, 330], [460, 310], [510, 300], [560, 300], [620, 320], [660, 350], [680, 330], [700, 300], [690, 240], [640, 210], [530, 200], [450, 220], [390, 250], [350, 290], [340, 330], [400, 350]], [[5230, 0, 330, 20, 710, 290], [360, 290], [390, 250], [380, 180], [350, 130], [330, 80], [340, 40], [410, 20], [590, 20], [670, 20], [690, 40], [710, 60], [690, 100], [660, 150], [630, 200], [630, 290]], [[6030, 0, 630, 20, 910, 100], [630, 90], [630, 20], [910, 20], [910, 100]], [[7680, 250, 340, 0, 660, 630], [340, 510], [400, 430], [440, 340], [460, 160], [470, 30], [490, 10], [510, 0], [590, 10], [620, 70], [660, 250], [650, 460], [460, 630]], [[7680, 700, 460, 10, 710, 400], [650, 10], [680, 70], [710, 280], [710, 400], [460, 400], [460, 180]], [[7280, 50, 330, 380, 510, 450], [340, 420], [420, 380], [510, 420], [510, 440], [490, 450], [470, 450], [460, 430], [440, 420], [410, 420], [370, 440], [350, 450], [330, 440], [330, 420], [340, 420]], [[7280, 50, 340, 100, 500, 400], [380, 400], [340, 360], [340, 100], [500, 100], [500, 350], [470, 400]], [[500, 800, 120, 330, 910, 600], [120, 340], [150, 430], [230, 560], [520, 600], [800, 600], [910, 600], [900, 330]], [[1200, 800, 190, 330, 910, 600], [190, 330], [910, 330], [900, 590], [200, 600]], [[1850, 800, 250, 260, 980, 600], [250, 330], [850, 350], [850, 260], [980, 260], [970, 600], [250, 590]], [[2500, 800, 280, 270, 990, 600], [320, 270], [990, 270], [970, 600], [280, 590]], [[3400, 800, 60, 280, 970, 600], [80, 280], [970, 280], [960, 600], [60, 600]], [[4200, 800, 120, 270, 790, 600], [160, 270], [790, 290], [770, 600], [120, 600]], [[4950, 800, 130, 290, 930, 610], [150, 300], [930, 290], [910, 590], [910, 610], [130, 600]], [[5600, 800, 230, 300, 360, 610], [270, 300], [360, 300], [360, 610], [230, 610]], [[5950, 800, 40, 290, 960, 660], [40, 300], [60, 290], [960, 290], [950, 660], [50, 600]], [[6600, 800, 280, 290, 930, 680], [280, 290], [930, 300], [920, 680], [300, 660]], [[7400, 700, 110, 100, 480, 670], [130, 100], [480, 100], [480, 670], [110, 670]], [[7400, 700, 470, 400, 990, 670], [470, 400], [990, 400], [980, 670], [470, 670]], [[7400, 1050, 110, 310, 980, 450], [110, 310], [980, 320], [970, 450], [110, 430]], [[410, 700, 190, 330, 980, 630], [190, 330], [980, 330], [980, 630], [310, 620]], [[960, 850, 20, 140, 960, 510], [40, 150], [950, 140], [960, 510], [20, 500]], [[1460, 850, 60, 140, 990, 510], [180, 140], [990, 140], [960, 510], [60, 490], [80, 140], [190, 140]]], xtras:[[7490, 640, 2], [1060, 920, 3], [1310, 860, 11], [6790, 500, 1], [1770, 710, 1], [2840, 660, 1], [1560, 840, 1], [1940, 870, 1], [2170, 780, 1], [2600, 800, 1], [3250, 600, 6], [3600, 780, 1], [3800, 570, 1], [4300, 590, 1], [4610, 620, 1], [5430, 590, 1], [6400, 610, 1], [7150, 670, 1], [7740, 580, 1], [3940, 420, 6], [7990, 680, 5], [5110, 530, 1], [1310, 900, 1], [2070, 830, 1], [2250, 680, 1], [2460, 730, 1], [2720, 720, 1], [3030, 760, 1], [3150, 710, 1], [3370, 700, 1], [3470, 760, 1], [3700, 660, 1], [4060, 450, 1], [4160, 500, 1], [4470, 610, 1], [5570, 600, 1], [6110, 660, 1], [6300, 680, 1], [6580, 540, 1], [6940, 510, 1], [7060, 600, 1], [7320, 620, 1], [7590, 650, 1], [7410, 680, 1], [7920, 650, 23], [2360, 620, 6], [5710, 460, 6], [1460, 880, 26]]}));
_global.lib.lvls.push(new com.neodelight.r2d.R2dLevel({title:"Track-4", colLine:10929199, colFill:12047930, skin:1, groundY:8000, startX:430, startY:470, map:[[[500, 300, 20, 270, 970, 570], [20, 270], [190, 270], [310, 450], [520, 450], [720, 450], [830, 270], [970, 270], [970, 560], [20, 570], [20, 270]], [[1200, 300, 270, 140, 990, 560], [270, 270], [520, 270], [720, 270], [860, 140], [990, 140], [990, 550], [270, 560]], [[1850, 300, 340, 140, 990, 550], [340, 140], [610, 140], [790, 270], [910, 350], [990, 350], [990, 550], [340, 550]], [[2450, 300, 390, 350, 980, 560], [390, 350], [760, 350], [920, 450], [980, 450], [980, 560], [390, 550]], [[3250, 300, 180, 370, 980, 580], [180, 450], [380, 450], [460, 400], [510, 370], [670, 450], [860, 380], [980, 450], [980, 580], [180, 560]], [[2900, 300, 310, 20, 880, 140], [310, 20], [880, 30], [880, 140], [780, 70], [710, 120], [410, 120], [310, 20]], [[3400, 300, 380, 30, 820, 160], [380, 30], [820, 30], [820, 160], [730, 60], [530, 60], [380, 140]], [[3700, 300, 530, 310, 860, 580], [530, 450], [690, 390], [790, 350], [860, 310], [860, 560], [860, 580], [530, 580]], [[3700, 300, 520, 30, 860, 160], [520, 30], [860, 30], [860, 130], [860, 150], [680, 90], [520, 160]], [[4410, 300, 150, 290, 990, 590], [150, 310], [180, 300], [210, 290], [280, 300], [350, 350], [450, 410], [520, 440], [700, 300], [750, 350], [800, 380], [890, 420], [960, 430], [980, 430], [990, 430], [990, 590], [150, 580]], [[5010, 300, 390, 130, 900, 600], [390, 430], [460, 420], [550, 400], [620, 350], [670, 290], [750, 210], [800, 170], [840, 140], [870, 130], [900, 130], [890, 600], [390, 590]], [[5660, 300, 240, 130, 510, 600], [250, 130], [280, 140], [340, 180], [390, 200], [470, 220], [510, 240], [510, 600], [240, 600]], [[5860, 300, 310, 240, 840, 360], [310, 240], [420, 250], [600, 250], [740, 250], [790, 260], [830, 270], [840, 280], [840, 290], [840, 300], [840, 320], [840, 360], [550, 340], [310, 340]], [[6260, 300, 430, 270, 830, 380], [430, 270], [500, 290], [610, 310], [690, 320], [750, 330], [780, 340], [830, 350], [830, 380], [440, 360]], [[6780, 300, 300, 300, 980, 650], [310, 350], [360, 350], [430, 350], [500, 340], [570, 320], [620, 300], [970, 300], [980, 650], [320, 650], [300, 650]], [[7180, 300, 570, 190, 960, 400], [570, 300], [780, 190], [960, 300], [960, 400], [570, 400]], [[7580, 450, 530, 150, 820, 500], [560, 150], [820, 150], [820, 500], [530, 500], [530, 150], [570, 150]], [[8180, 450, 220, 150, 960, 500], [220, 150], [250, 180], [280, 220], [330, 250], [380, 270], [410, 280], [480, 290], [540, 290], [640, 290], [720, 260], [760, 230], [810, 150], [960, 150], [960, 500], [810, 500], [810, 150]], [[8180, 290, 220, 210, 810, 310], [220, 310], [250, 280], [280, 260], [300, 250], [330, 240], [360, 220], [410, 210], [450, 210], [520, 210], [590, 210], [630, 220], [690, 240], [770, 270], [810, 310]], [[8780, 290, 170, 270, 220, 310], [170, 270], [210, 300], [220, 310], [210, 310]], [[8780, 290, 360, 310, 980, 600], [360, 310], [410, 350], [430, 360], [480, 370], [550, 380], [680, 390], [750, 390], [800, 390], [840, 390], [900, 370], [960, 330], [980, 310], [980, 600], [360, 600]], [[8780, 290, 370, 30, 980, 110], [370, 110], [410, 60], [460, 40], [520, 30], [600, 30], [680, 30], [740, 30], [840, 30], [910, 50], [980, 110], [370, 110]], [[8780, 290, 370, 110, 980, 150], [370, 110], [450, 130], [550, 140], [710, 150], [860, 150], [980, 110]], [[8780, 290, 500, 280, 840, 410], [510, 370], [640, 280], [840, 390], [650, 410], [500, 380], [510, 370]], [[9580, 290, 170, 290, 970, 600], [180, 310], [200, 300], [240, 290], [280, 290], [310, 300], [370, 320], [410, 340], [480, 360], [550, 360], [630, 350], [680, 330], [740, 310], [780, 290], [820, 290], [870, 310], [920, 340], [960, 350], [970, 590], [170, 600]], [[9580, 290, 180, 10, 950, 110], [180, 110], [240, 100], [280, 80], [310, 70], [360, 50], [420, 40], [470, 30], [560, 30], [640, 50], [730, 100], [790, 100], [860, 80], [900, 50], [930, 30], [950, 20], [260, 10], [210, 40], [180, 110]], [[9580, 290, 110, 10, 260, 110], [110, 50], [260, 10], [180, 110], [110, 50]], [[10130, 290, 410, 330, 980, 590], [410, 350], [450, 360], [520, 370], [590, 380], [690, 380], [790, 370], [850, 340], [900, 330], [950, 340], [980, 360], [980, 590], [420, 590]], [[10730, 290, 380, 360, 870, 600], [380, 360], [400, 380], [420, 390], [500, 400], [610, 400], [720, 400], [820, 400], [870, 400], [870, 600], [380, 590]], [[11080, 290, 520, 340, 950, 610], [520, 400], [550, 380], [600, 360], [650, 350], [710, 350], [790, 340], [830, 350], [870, 360], [910, 370], [950, 370], [950, 610], [520, 600]], [[11760, 290, 270, 370, 570, 480], [270, 370], [510, 370], [570, 370], [570, 480], [270, 480]], [[11760, 290, 570, 230, 940, 480], [570, 370], [900, 370], [900, 230], [940, 230], [940, 480], [570, 480]], [[9610, 190, 240, 120, 700, 200], [250, 180], [380, 160], [450, 160], [560, 180], [690, 200], [700, 200], [640, 140], [460, 120], [240, 160], [250, 180]], [[10360, 190, 150, 120, 960, 230], [150, 130], [190, 130], [230, 150], [330, 180], [480, 190], [660, 190], [720, 170], [790, 170], [880, 210], [960, 230], [960, 120], [170, 120]], [[10910, 190, 410, 120, 990, 270], [410, 230], [550, 260], [680, 270], [850, 230], [930, 200], [980, 200], [990, 120]], [[10910, 190, 410, 120, 990, 230], [410, 120], [990, 120], [410, 230]], [[11610, 190, 280, 120, 970, 200], [290, 120], [970, 120], [970, 200], [280, 200]], [[12010, 190, 570, 120, 710, 210], [570, 120], [710, 120], [710, 210], [570, 200]], [[12010, 190, 670, 210, 700, 330], [670, 330], [670, 210], [700, 210], [690, 330]], [[12170, 190, 490, 120, 630, 580], [550, 120], [630, 120], [630, 580], [530, 580], [520, 580], [490, 580], [490, 120]], [[10020, 190, 380, 130, 970, 220], [400, 190], [390, 190], [430, 190], [460, 170], [520, 160], [600, 190], [830, 220], [890, 220], [970, 220], [970, 160], [480, 130], [380, 180], [390, 190]], [[10570, 190, 410, 150, 920, 290], [420, 220], [520, 210], [550, 210], [580, 220], [630, 240], [800, 280], [910, 290], [920, 250], [590, 150], [410, 170], [420, 220]], [[11170, 190, 250, 180, 930, 290], [310, 290], [410, 290], [490, 280], [610, 250], [670, 220], [900, 220], [930, 180], [250, 210]], [[11920, 190, 150, 180, 760, 220], [150, 220], [750, 220], [760, 190], [150, 180], [150, 220]], [[10020, 190, 310, 150, 650, 200], [310, 200], [370, 200], [430, 190], [510, 160], [560, 170], [610, 190], [650, 200], [650, 150], [350, 180], [310, 200]], [[10020, 190, 650, 190, 770, 210], [650, 200], [750, 210], [770, 190], [650, 200]], [[8470, 190, 30, 70, 780, 220], [680, 210], [630, 220], [550, 220], [500, 210], [440, 180], [390, 160], [350, 140], [270, 130], [180, 130], [60, 140], [30, 160], [40, 90], [120, 80], [230, 70], [380, 70], [480, 90], [540, 140], [660, 140], [780, 140]], [[7920, 190, 30, 80, 590, 190], [580, 160], [530, 180], [450, 190], [380, 190], [290, 190], [240, 190], [170, 140], [90, 110], [30, 150], [30, 80], [590, 90]], [[7320, 190, 80, 80, 840, 190], [630, 80], [80, 80], [80, 130], [80, 170], [410, 170], [440, 190], [630, 150], [840, 190], [800, 140]], [[6720, 190, 60, 80, 680, 220], [680, 170], [630, 200], [540, 210], [410, 220], [320, 220], [260, 200], [100, 140], [60, 110], [70, 80], [680, 80]], [[5970, 190, 210, 80, 820, 170], [820, 80], [210, 80], [210, 120], [660, 140], [770, 170]], [[5970, 190, 770, 80, 950, 170], [770, 170], [950, 170], [820, 80], [770, 170]], [[5470, 190, 50, 50, 710, 210], [710, 120], [610, 120], [460, 70], [340, 60], [230, 100], [130, 150], [50, 210], [60, 50], [690, 50], [710, 80]], [[4920, 190, 140, 50, 610, 240], [600, 210], [530, 230], [440, 240], [350, 230], [270, 200], [180, 160], [140, 120], [150, 60], [610, 50]], [[4370, 190, 190, 60, 700, 260], [690, 120], [570, 230], [350, 150], [190, 260], [190, 140], [700, 60]], [[2520, 190, 100, 80, 790, 230], [790, 230], [790, 230], [330, 220], [100, 80], [100, 80], [690, 130]], [[1870, 190, 180, 40, 840, 80], [750, 80], [180, 70], [180, 40], [760, 60], [840, 60]], [[2020, 0, 30, 120, 930, 310], [30, 230], [30, 120], [920, 130], [930, 310], [600, 270]], [[2720, 0, 220, 130, 960, 340], [220, 130], [960, 130], [960, 330], [300, 340], [220, 290]], [[3510, 0, 160, 130, 980, 340], [170, 130], [980, 140], [980, 340], [160, 330]], [[4210, 0, 260, 130, 980, 340], [280, 140], [970, 130], [980, 280], [440, 330], [260, 340]], [[4960, 0, 220, 130, 940, 240], [220, 130], [940, 140], [940, 240], [220, 240]], [[4960, 0, 210, 230, 480, 270], [210, 230], [480, 240], [470, 260], [210, 270]], [[5810, 0, 70, 140, 990, 300], [90, 140], [990, 140], [980, 300], [360, 290], [70, 250]], [[6760, 0, 20, 140, 970, 330], [40, 140], [960, 140], [970, 330], [20, 290]], [[7610, 0, 100, 140, 960, 310], [110, 140], [950, 150], [960, 300], [310, 310], [100, 300]], [[8510, 0, 50, 150, 930, 350], [50, 150], [920, 150], [930, 350], [530, 350], [250, 270], [50, 280]], [[9310, 0, 100, 150, 980, 370], [120, 150], [980, 150], [980, 340], [520, 330], [290, 370], [100, 330]], [[10110, 0, 120, 150, 980, 350], [180, 150], [980, 160], [980, 350], [210, 320], [120, 280]], [[10110, 0, 250, 130, 980, 190], [250, 150], [760, 130], [970, 160], [980, 160], [970, 190]], [[10910, 0, 140, 140, 940, 350], [180, 160], [230, 140], [870, 140], [940, 350], [190, 330], [140, 320]], [[11710, 0, 70, 140, 930, 360], [70, 140], [850, 140], [930, 360], [120, 340]], [[12160, 0, 400, 140, 660, 310], [400, 140], [660, 140], [640, 310]], [[12160, 0, 400, 140, 640, 310], [640, 310], [640, 310], [400, 140], [460, 310], [640, 310]], [[8220, 250, 180, 360, 780, 490], [180, 360], [210, 380], [240, 420], [380, 490], [600, 490], [690, 460], [740, 400], [780, 360], [180, 360]], [[8220, 250, 180, 350, 780, 370], [180, 350], [780, 350], [780, 370], [180, 360]], [[50, 400, 130, 170, 940, 600], [470, 170], [130, 170], [130, 600], [940, 600], [940, 470], [940, 460], [470, 460]], [[920, 400, 70, 450, 980, 600], [70, 460], [980, 450], [980, 600], [70, 600]], [[1770, 400, 130, 450, 970, 600], [130, 450], [970, 450], [970, 600], [130, 600]], [[2670, 400, 60, 450, 950, 600], [70, 450], [950, 460], [950, 600], [60, 600]], [[3520, 400, 100, 460, 980, 600], [100, 460], [980, 470], [980, 600], [100, 600]], [[4320, 400, 180, 480, 990, 600], [180, 480], [990, 490], [990, 600], [180, 600]], [[5260, 400, 50, 490, 910, 600], [50, 490], [910, 500], [910, 600], [50, 600]], [[6060, 500, 100, 130, 990, 500], [110, 500], [100, 130], [890, 150], [990, 160], [980, 500], [120, 500], [110, 500]], [[6710, 500, 330, 180, 380, 500], [340, 180], [380, 180], [370, 500], [330, 500]], [[7010, 500, 70, 450, 750, 500], [70, 450], [750, 450], [750, 500], [70, 500]], [[7460, 500, 290, 200, 650, 510], [290, 200], [650, 200], [650, 510], [300, 500]], [[7860, 500, 250, 450, 540, 510], [250, 450], [540, 450], [540, 500], [250, 510]], [[8810, 500, 180, 390, 990, 500], [180, 450], [330, 450], [330, 390], [990, 390], [990, 500], [180, 500]], [[9660, 500, 140, 380, 980, 500], [140, 390], [980, 380], [980, 500], [140, 500]], [[10510, 500, 130, 380, 980, 500], [130, 380], [980, 380], [980, 500], [130, 500]], [[11360, 500, 120, 260, 980, 500], [120, 380], [670, 400], [670, 260], [980, 260], [980, 500], [130, 500]], [[12060, 500, 280, 270, 740, 500], [280, 270], [740, 270], [740, 500], [280, 500]], [[0, 50, 180, 80, 370, 520], [180, 520], [180, 80], [370, 80], [370, 120], [300, 120], [300, 520]], [[0, 50, 300, 80, 500, 150], [370, 80], [500, 80], [500, 150], [300, 150], [300, 80]], [[0, 120, 10, 10, 180, 680], [180, 10], [10, 10], [10, 680], [180, 680]], [[0, 480, 10, 320, 180, 520], [10, 320], [180, 320], [180, 520], [10, 520]], [[5660, 260, 460, 260, 720, 300], [500, 270], [590, 260], [720, 290], [530, 300], [460, 290], [500, 270]], [[5960, 260, 420, 270, 670, 300], [420, 290], [540, 270], [670, 300], [420, 290]], [[5960, 260, 630, 270, 880, 350], [630, 290], [740, 270], [880, 350], [630, 290]], [[6610, 260, 280, 320, 670, 400], [290, 350], [500, 320], [670, 390], [360, 400], [280, 360], [290, 350]], [[7160, 260, 260, 310, 520, 350], [260, 340], [380, 310], [520, 350], [260, 340]], [[10410, 260, 160, 370, 380, 410], [170, 390], [260, 370], [380, 410], [160, 400], [170, 390]], [[10960, 260, 250, 380, 490, 440], [250, 430], [370, 380], [490, 440], [250, 430]], [[11810, 260, 100, 360, 550, 410], [110, 380], [150, 360], [200, 400], [240, 370], [300, 400], [360, 370], [420, 400], [470, 370], [550, 410], [100, 400], [110, 380]], [[4690, 340, 590, 330, 830, 410], [590, 370], [690, 330], [830, 370], [710, 410], [590, 380], [590, 370]], [[7740, 340, 400, 190, 690, 280], [400, 260], [430, 230], [470, 260], [500, 230], [540, 260], [570, 230], [620, 260], [650, 190], [690, 240], [640, 280]], [[8090, 340, 450, 90, 770, 190], [450, 170], [590, 90], [770, 190], [450, 170]], [[8090, 340, 700, 150, 860, 220], [700, 150], [780, 160], [860, 220], [700, 180]], [[5690, 140, 460, 340, 990, 440], [460, 390], [550, 340], [690, 410], [810, 350], [900, 410], [990, 370], [980, 440], [460, 400]], [[6040, 140, 630, 370, 990, 490], [640, 370], [810, 470], [890, 410], [980, 450], [990, 450], [980, 460], [780, 490], [630, 410]], [[8120, 140, 270, 390, 320, 450], [270, 390], [290, 400], [320, 420], [320, 440], [290, 450]], [[2390, 190, 370, 400, 820, 460], [370, 460], [430, 400], [490, 460], [540, 400], [610, 460], [680, 400], [750, 460], [800, 430], [820, 460]], [[1290, 190, 150, 310, 630, 380], [150, 380], [230, 310], [310, 380], [400, 310], [490, 380], [580, 310], [630, 380]], [[540, 290, 270, 400, 680, 460], [270, 460], [350, 400], [410, 460], [490, 400], [570, 460], [630, 410], [680, 460]], [[9640, 190, 320, 320, 670, 480], [320, 430], [370, 410], [410, 380], [450, 350], [480, 330], [510, 320], [540, 340], [580, 370], [640, 400], [670, 420], [490, 480], [320, 430]], [[1690, 100, 410, 310, 730, 340], [410, 340], [470, 310], [530, 340], [650, 310], [730, 340]], [[7740, 250, 570, 280, 720, 360], [570, 320], [600, 330], [650, 280], [720, 300], [650, 360], [580, 350], [570, 330], [570, 320]]], xtras:[[12520, 615, 3], [11520, 640, 2], [5110, 570, 1], [4650, 530, 1], [7960, 440, 1], [9840, 520, 1], [780, 620, 1], [1260, 620, 1], [3200, 580, 1], [4250, 570, 1], [4900, 610, 1], [5600, 560, 1], [5380, 640, 1], [7540, 510, 1], [9080, 560, 1], [9410, 530, 1], [9620, 630, 1], [10400, 480, 1], [11340, 590, 1], [12010, 600, 1], [12110, 620, 1], [12350, 630, 1], [12240, 600, 1], [8130, 540, 1], [8240, 530, 1], [8340, 530, 1], [8400, 480, 1], [8880, 460, 1], [6130, 470, 1], [6240, 440, 1], [6380, 490, 1], [6500, 450, 1], [6610, 510, 1], [6690, 460, 1], [6840, 550, 1], [6930, 490, 1], [7120, 530, 1], [10680, 580, 1], [1520, 450, 1], [1870, 440, 1], [2160, 340, 1], [2330, 350, 1], [2630, 490, 1], [3070, 540, 1], [10150, 470, 6], [2690, 530, 1], [2750, 580, 1], [2570, 450, 1], [2500, 410, 1], [3700, 660, 1], [3650, 690, 1], [3590, 710, 1], [3530, 710, 1], [4330, 580, 1], [5190, 610, 1], [5270, 660, 1], [5700, 500, 1], [5770, 440, 1], [10600, 600, 1], [10750, 600, 1], [5960, 340, 6], [1770, 410, 6], [4270, 640, 6], [500, 490, 18], [5500, 600, 5], [4120, 620, 1], [3770, 570, 1], [3940, 680, 1], [1610, 490, 1], [1790, 500, 1], [2010, 410, 1], [890, 640, 1], [1180, 640, 1], [2820, 530, 1], [2920, 530, 1], [11040, 550, 1], [8680, 390, 6], [11770, 560, 6], [1020, 630, 6], [9260, 570, 5], [650, 510, 26]]}));
_global.lib.lvls.push(new com.neodelight.r2d.R2dLevel({title:"Track-5", colLine:10929199, colFill:12047930, skin:1, groundY:8000, startX:1230, startY:600, map:[[[500, 300, 500, 300, 540, 330], [500, 300], [540, 320], [500, 330]], [[760, 400, 260, 360, 740, 600], [260, 470], [260, 360], [470, 360], [740, 400], [740, 600], [260, 590]], [[1010, 400, 490, 280, 990, 490], [490, 400], [560, 340], [610, 280], [990, 280], [990, 350], [630, 340], [490, 490]], [[1560, 400, 440, 90, 970, 690], [440, 280], [610, 150], [690, 90], [970, 90], [960, 690], [440, 680]], [[560, 500, 10, 480, 940, 590], [940, 500], [940, 590], [10, 590], [10, 480]], [[2560, 350, 440, 250, 650, 370], [440, 250], [650, 330], [650, 370], [440, 280]], [[3310, 290, 450, 10, 980, 430], [450, 210], [630, 210], [720, 180], [770, 150], [830, 110], [900, 50], [950, 10], [980, 10], [980, 170], [960, 220], [890, 280], [790, 330], [560, 410], [450, 430]], [[3960, 0, 300, 200, 990, 510], [300, 300], [330, 270], [380, 230], [440, 210], [490, 200], [550, 200], [600, 200], [660, 220], [770, 280], [850, 320], [910, 360], [970, 400], [990, 410], [990, 450], [900, 430], [800, 400], [680, 350], [610, 340], [550, 340], [490, 360], [400, 450], [310, 510]], [[5200, 230, 320, 20, 980, 490], [320, 420], [410, 440], [530, 440], [710, 420], [860, 350], [940, 180], [940, 20], [980, 20], [980, 180], [910, 360], [730, 470], [540, 490], [400, 490], [320, 480]], [[5200, 230, 10, 420, 320, 570], [320, 420], [310, 420], [290, 430], [220, 460], [100, 500], [10, 540], [10, 570]], [[5200, 230, 10, 420, 320, 590], [320, 420], [320, 480], [20, 590], [10, 570]], [[4320, 350, 430, 420, 910, 500], [890, 420], [840, 440], [630, 450], [530, 450], [490, 450], [430, 470], [440, 500], [620, 500], [900, 480], [910, 470]], [[4070, 400, 450, 420, 690, 490], [680, 420], [570, 440], [500, 460], [450, 480], [460, 490], [690, 450]], [[3660, 550, 200, 380, 770, 500], [770, 380], [640, 430], [500, 450], [340, 450], [200, 450], [200, 500], [620, 500], [770, 450], [770, 380]], [[3170, 690, 480, 310, 690, 370], [690, 310], [550, 340], [480, 360], [500, 370], [690, 360]], [[3170, 690, 0, 170, 840, 600], [40, 200], [70, 310], [130, 390], [400, 480], [570, 530], [740, 550], [840, 560], [840, 600], [130, 500], [20, 410], [0, 250], [0, 170], [40, 200]], [[3750, 690, 260, 470, 850, 600], [260, 560], [500, 550], [690, 520], [850, 470], [850, 510], [610, 600], [260, 600]], [[4390, 690, 210, 350, 950, 550], [210, 470], [290, 440], [400, 410], [500, 390], [560, 460], [630, 490], [730, 490], [830, 440], [900, 370], [940, 350], [950, 510], [480, 550], [210, 510]], [[4990, 690, 340, 240, 930, 510], [340, 350], [500, 270], [620, 240], [800, 240], [930, 240], [930, 510], [350, 510]], [[5740, 390, 180, 280, 910, 690], [180, 540], [320, 520], [470, 470], [590, 380], [670, 310], [740, 290], [850, 280], [910, 280], [910, 360], [820, 440], [670, 490], [370, 640], [180, 690]], [[5740, 690, 180, 60, 910, 510], [910, 60], [910, 170], [840, 260], [520, 420], [180, 510], [180, 510], [180, 390]], [[4910, 180, 40, 230, 510, 370], [40, 230], [210, 310], [340, 340], [510, 360], [470, 370], [180, 350], [40, 270]], [[6420, 180, 230, 400, 950, 680], [230, 490], [380, 400], [400, 400], [480, 480], [610, 400], [720, 490], [840, 410], [950, 490], [950, 680], [230, 680]], [[7170, 180, 200, 420, 980, 690], [200, 490], [320, 420], [410, 480], [530, 420], [660, 490], [780, 420], [880, 500], [980, 420], [980, 690], [200, 680]], [[7820, 180, 330, 420, 950, 570], [330, 420], [790, 420], [950, 420], [950, 560], [330, 570]], [[7820, 180, 950, 70, 980, 560], [950, 420], [950, 70], [980, 70], [980, 560], [950, 560]], [[6540, 160, 190, 20, 980, 160], [190, 20], [980, 20], [980, 160], [200, 150], [190, 20]], [[6540, 160, 200, 150, 980, 280], [200, 150], [260, 240], [360, 150], [460, 270], [570, 160], [690, 280], [790, 160], [890, 270], [980, 160]], [[6540, 160, 200, 150, 360, 260], [200, 150], [260, 260], [360, 150]], [[6540, 0, 190, 100, 980, 180], [190, 180], [260, 100], [910, 100], [980, 180], [980, 180]], [[6540, 0, 910, 100, 980, 180], [910, 100], [930, 100], [980, 180]], [[3550, 150, 290, 30, 970, 380], [290, 350], [360, 300], [390, 250], [420, 200], [430, 160], [440, 150], [470, 140], [500, 150], [530, 170], [570, 210], [610, 220], [630, 220], [690, 170], [730, 100], [770, 50], [810, 30], [880, 30], [970, 50], [960, 110], [440, 380], [290, 350]], [[4300, 0, 270, 70, 800, 510], [270, 200], [360, 170], [460, 100], [520, 70], [600, 70], [660, 120], [690, 160], [750, 260], [790, 420], [800, 480], [800, 510], [420, 340], [270, 200]], [[4700, 0, 350, 260, 720, 550], [350, 260], [390, 320], [490, 420], [650, 520], [720, 540], [680, 550], [390, 530]], [[4750, 350, 200, 380, 560, 460], [200, 450], [330, 410], [440, 380], [560, 390], [560, 400], [390, 460]], [[3500, 450, 400, 440, 730, 590], [400, 550], [540, 450], [570, 440], [630, 470], [730, 540], [550, 590]], [[2750, 650, 420, 170, 600, 240], [420, 210], [500, 190], [580, 170], [600, 210], [600, 230], [560, 240], [480, 230], [460, 240]], [[2750, 650, 460, 240, 550, 240], [460, 240], [550, 240]], [[3700, 700, 180, 490, 720, 560], [180, 540], [220, 530], [290, 520], [370, 500], [440, 490], [500, 490], [640, 510], [720, 530], [530, 560], [180, 540]], [[4200, 700, 390, 360, 630, 480], [410, 450], [460, 410], [520, 370], [540, 360], [580, 360], [630, 390], [620, 420], [390, 480], [410, 450]], [[4800, 700, 570, 180, 880, 350], [570, 320], [610, 280], [650, 230], [690, 190], [710, 180], [750, 190], [850, 220], [880, 240], [650, 350]], [[5550, 550, 250, 270, 700, 420], [250, 380], [300, 340], [370, 300], [410, 280], [460, 270], [560, 290], [700, 310], [280, 420]], [[5950, 300, 230, 30, 790, 250], [280, 250], [340, 200], [430, 170], [580, 140], [710, 120], [780, 120], [790, 80], [780, 50], [750, 40], [700, 30], [600, 30], [480, 50], [380, 100], [280, 150], [230, 200], [230, 240], [250, 250], [280, 250]], [[5950, 100, 280, 30, 780, 350], [280, 350], [390, 190], [420, 30], [660, 30], [660, 200], [780, 250]], [[1470, 300, 280, 250, 560, 400], [280, 380], [330, 350], [350, 320], [370, 290], [390, 260], [410, 250], [430, 250], [460, 270], [510, 330], [540, 350], [560, 360], [560, 390], [390, 400]], [[7790, 250, 360, 310, 980, 360], [360, 350], [380, 330], [420, 310], [450, 310], [670, 310], [950, 310], [980, 310], [980, 360], [360, 350]], [[4540, 850, 330, 230, 610, 350], [350, 230], [370, 230], [400, 250], [440, 290], [520, 310], [600, 320], [610, 340], [410, 350], [330, 260]], [[1200, 450, 300, 290, 800, 640], [300, 440], [440, 290], [800, 300], [800, 630], [300, 640]], [[2150, 350, 350, 190, 980, 530], [380, 190], [550, 280], [850, 280], [980, 340], [980, 450], [960, 480], [940, 500], [850, 530], [740, 530], [610, 530], [490, 520], [430, 510], [390, 490], [370, 480], [350, 460]], [[2300, 650, 200, 150, 830, 490], [830, 150], [830, 210], [820, 260], [780, 310], [700, 380], [530, 460], [370, 490], [250, 480], [220, 450], [220, 440], [220, 440], [200, 230], [220, 150]], [[2500, 450, 570, 210, 660, 270], [580, 210], [660, 250], [630, 270], [590, 240], [570, 220]], [[1850, 120, 400, 210, 900, 530], [400, 370], [420, 350], [460, 300], [490, 260], [510, 240], [530, 220], [550, 210], [580, 220], [630, 270], [680, 370], [740, 420], [870, 500], [900, 510], [880, 530]], [[2400, 120, 170, 300, 820, 560], [250, 450], [310, 450], [370, 430], [420, 390], [460, 340], [490, 320], [520, 300], [570, 300], [600, 330], [670, 410], [740, 490], [820, 560], [640, 560], [220, 490], [170, 440], [250, 450]], [[2900, 270, 290, 230, 860, 510], [320, 410], [340, 410], [410, 400], [470, 380], [530, 320], [550, 280], [560, 260], [570, 240], [590, 230], [610, 230], [630, 250], [680, 290], [710, 320], [740, 330], [770, 320], [800, 290], [860, 230], [860, 450], [830, 470], [780, 490], [690, 500], [480, 510], [340, 500], [310, 450], [300, 430], [290, 410]], [[3450, 120, 310, 360, 400, 390], [310, 380], [320, 370], [340, 360], [360, 360], [390, 370], [400, 370], [380, 390], [310, 380]], [[4430, 550, 370, 190, 550, 260], [370, 250], [440, 190], [550, 240], [500, 260]], [[3280, 550, 490, 410, 620, 470], [490, 470], [550, 410], [620, 450]], [[3680, 900, 90, 270, 250, 350], [100, 320], [200, 270], [250, 350], [90, 330], [100, 320]], [[4240, 900, 140, 250, 360, 330], [140, 320], [250, 250], [360, 270], [150, 330], [140, 320], [140, 320]], [[5320, 640, 340, 240, 480, 290], [340, 290], [400, 240], [480, 290]], [[5870, 440, 260, 340, 410, 430], [270, 400], [330, 340], [400, 370], [400, 370], [410, 380], [350, 430], [260, 420], [270, 400]], [[8070, 0, 700, 130, 970, 680], [700, 250], [710, 200], [760, 140], [810, 130], [870, 150], [930, 290], [950, 420], [970, 570], [970, 670], [730, 680]], [[8070, 400, 80, 270, 970, 530], [970, 270], [970, 320], [940, 380], [780, 530], [230, 510], [80, 470], [80, 350], [80, 290]], [[2890, 520, 210, 170, 460, 400], [440, 300], [430, 240], [310, 180], [260, 170], [210, 200], [220, 340], [220, 400], [330, 400], [440, 380], [460, 360], [460, 330], [440, 300]], [[3480, 760, 440, 430, 630, 470], [440, 470], [520, 430], [630, 440], [580, 460], [440, 470]], [[3880, 760, 370, 420, 460, 450], [370, 440], [420, 420], [460, 450]], [[590, 370, 10, 30, 500, 620], [430, 390], [440, 370], [460, 340], [490, 280], [500, 210], [490, 110], [470, 50], [420, 30], [340, 30], [260, 40], [210, 60], [140, 130], [60, 260], [20, 420], [10, 610], [430, 620]], [[430, 290, 110, 20, 670, 690], [660, 290], [670, 220], [660, 130], [630, 60], [570, 20], [460, 20], [350, 50], [200, 180], [120, 380], [110, 560], [140, 690]]], xtras:[[3280, 1060, 8], [6010, 610, 9], [5150, 700, 1], [6500, 670, 10], [8580, 500, 2], [5110, 1120, 3], [4910, 1040, 11], [7030, 530, 1], [7950, 550, 1], [8700, 540, 9], [1480, 730, 1], [1730, 640, 1], [1890, 490, 1], [2040, 580, 1], [2410, 260, 6], [2690, 490, 1], [3250, 580, 1], [3490, 390, 1], [3810, 380, 1], [4030, 210, 6], [4190, 290, 1], [4410, 120, 1], [4850, 30, 1], [5100, 240, 1], [5340, 450, 1], [6040, 470, 6], [5740, 600, 1], [4860, 690, 1], [4580, 800, 1], [3820, 900, 1], [3360, 1020, 6], [3880, 1130, 6], [4050, 1120, 1], [4490, 1100, 1], [4760, 1000, 1], [5320, 990, 1], [6000, 780, 1], [6800, 520, 6], [7260, 540, 1], [7500, 550, 1], [7700, 550, 1], [8270, 510, 6], [8470, 470, 23], [6920, 570, 5], [4290, 1130, 5], [2210, 450, 1], [2310, 350, 1], [2490, 360, 1], [2580, 460, 1], [2810, 460, 1], [3650, 520, 1], [4660, 100, 1], [5350, 670, 1], [5010, 730, 1], [4720, 760, 1], [4320, 900, 1], [3960, 890, 1], [3580, 1140, 1], [3760, 1180, 1], [3970, 1170, 1], [5530, 840, 1], [5660, 880, 1], [5800, 870, 1], [6580, 600, 1], [4070, 810, 6], [5720, 800, 6], [6210, 710, 6], [2950, 330, 6], [8180, 520, 5], [7140, 590, 1], [7380, 590, 1], [7590, 590, 1], [7830, 600, 1], [8050, 590, 1], [1190, 710, 26]]}));
_global.lib.lvls.push(new com.neodelight.r2d.R2dLevel({title:"Track-6", colLine:10929199, colFill:12047930, skin:1, groundY:8000, startX:890, startY:670, map:[[[500, 300, 40, 30, 860, 670], [90, 280], [60, 380], [60, 490], [130, 620], [280, 660], [540, 670], [720, 660], [850, 660], [860, 550], [590, 560], [310, 520], [170, 420], [130, 350], [130, 240], [160, 140], [220, 80], [250, 50], [180, 30], [70, 70], [40, 130], [90, 280]], [[500, 300, 10, 130, 850, 690], [40, 130], [40, 130], [20, 180], [10, 400], [50, 620], [150, 680], [360, 690], [850, 680], [850, 660], [130, 580], [100, 280]], [[1050, 300, 300, 200, 880, 680], [310, 550], [370, 540], [480, 510], [580, 460], [640, 430], [730, 360], [810, 300], [850, 250], [880, 200], [870, 680], [300, 680]], [[1750, 300, 170, 150, 980, 690], [180, 200], [200, 180], [250, 160], [350, 150], [410, 170], [480, 230], [560, 320], [640, 390], [680, 420], [780, 450], [890, 450], [950, 430], [980, 390], [980, 690], [170, 680]], [[2300, 300, 430, 250, 810, 690], [430, 390], [450, 360], [500, 290], [540, 260], [600, 250], [680, 250], [760, 280], [810, 330], [810, 690], [430, 690]], [[2750, 300, 530, 440, 960, 690], [530, 440], [580, 500], [670, 550], [840, 590], [930, 590], [960, 590], [960, 690], [540, 690]], [[3150, 550, 560, 190, 970, 450], [560, 340], [640, 340], [720, 330], [790, 290], [840, 250], [870, 220], [930, 200], [970, 190], [970, 450], [560, 440]], [[3700, 550, 490, 70, 950, 450], [490, 210], [600, 210], [740, 200], [830, 160], [910, 110], [950, 70], [950, 450], [490, 450]], [[4250, 300, 540, 400, 980, 690], [540, 400], [570, 470], [680, 540], [800, 580], [910, 580], [980, 580], [980, 690], [540, 690]], [[4900, 400, 330, 140, 970, 600], [330, 480], [400, 480], [490, 480], [550, 470], [650, 450], [700, 430], [800, 370], [850, 330], [870, 300], [930, 210], [960, 160], [970, 140], [960, 600], [330, 590]], [[5450, 400, 410, 90, 530, 600], [420, 140], [440, 120], [490, 100], [530, 90], [530, 600], [410, 600]], [[5800, 400, 340, 200, 990, 600], [360, 200], [390, 240], [500, 300], [580, 330], [720, 340], [790, 340], [890, 330], [960, 290], [990, 240], [990, 600], [340, 600]], [[6600, 350, 180, 230, 960, 650], [190, 290], [210, 270], [280, 240], [340, 230], [410, 240], [530, 310], [730, 390], [840, 430], [960, 450], [960, 650], [180, 650]], [[7250, 350, 310, 450, 900, 650], [310, 450], [520, 530], [660, 560], [810, 600], [900, 630], [900, 650], [310, 650]], [[8050, 650, 300, 360, 910, 600], [300, 460], [490, 450], [660, 420], [840, 390], [910, 360], [910, 600], [300, 590]], [[8750, 650, 210, 180, 650, 600], [210, 360], [310, 330], [400, 290], [530, 230], [650, 180], [650, 590], [210, 600]], [[7600, 650, 350, 460, 750, 660], [750, 460], [680, 500], [460, 620], [350, 660], [750, 590]], [[7500, 950, 160, 290, 850, 580], [850, 290], [850, 450], [180, 580], [160, 510], [450, 360]], [[6950, 1000, 20, 270, 730, 600], [710, 460], [660, 450], [570, 390], [490, 320], [370, 280], [260, 270], [160, 300], [100, 390], [50, 460], [20, 490], [20, 540], [160, 600], [500, 590], [730, 530]], [[6350, 1000, 20, 400, 760, 600], [620, 490], [510, 510], [370, 510], [210, 490], [90, 440], [20, 400], [20, 590], [760, 600]], [[5800, 1000, 180, 160, 570, 600], [570, 400], [540, 380], [420, 300], [340, 220], [240, 170], [180, 160], [180, 600], [570, 590]], [[5750, 850, 30, 310, 230, 680], [230, 310], [200, 320], [130, 370], [80, 420], [30, 470], [30, 680], [230, 670]], [[5750, 1300, 30, 220, 230, 310], [30, 230], [230, 220], [230, 300], [50, 310], [30, 310]], [[5300, 1100, 150, 220, 480, 510], [480, 220], [420, 250], [280, 290], [160, 320], [150, 500], [150, 510], [480, 510]], [[4850, 1100, 40, 30, 610, 530], [610, 320], [480, 320], [280, 260], [140, 150], [70, 100], [60, 70], [50, 30], [40, 530], [600, 510]], [[4100, 850, 680, 170, 800, 650], [800, 280], [780, 170], [680, 170], [700, 650], [800, 650]], [[4100, 1250, 700, 250, 790, 380], [700, 250], [790, 250], [790, 380], [700, 380]], [[9100, 500, 290, 250, 860, 690], [300, 330], [330, 310], [390, 280], [440, 260], [500, 250], [560, 260], [660, 300], [760, 350], [860, 400], [860, 680], [290, 690]], [[9650, 550, 310, 350, 930, 630], [310, 350], [450, 410], [680, 450], [930, 450], [930, 630], [310, 630]], [[10250, 550, 330, 170, 860, 650], [330, 450], [380, 440], [480, 390], [650, 310], [740, 260], [800, 210], [860, 170], [860, 650], [330, 630]], [[10750, 400, 360, 260, 930, 690], [360, 320], [390, 300], [470, 270], [530, 260], [620, 280], [690, 330], [750, 360], [850, 390], [930, 400], [930, 690], [360, 690]], [[10750, 750, 350, 340, 930, 450], [350, 340], [930, 340], [930, 450], [350, 450]], [[11450, 650, 350, 210, 980, 550], [350, 210], [410, 270], [480, 320], [620, 360], [780, 360], [870, 350], [940, 310], [980, 270], [980, 550], [350, 550]], [[11950, 650, 480, 230, 610, 550], [480, 270], [500, 260], [550, 240], [610, 230], [600, 550], [490, 550], [480, 550]], [[12450, 650, 210, 300, 980, 650], [210, 300], [270, 380], [360, 440], [520, 480], [660, 480], [750, 480], [840, 470], [920, 420], [980, 330], [980, 650], [210, 650]], [[12800, 650, 630, 250, 970, 650], [630, 330], [650, 300], [700, 260], [760, 250], [820, 250], [890, 280], [960, 370], [970, 650], [630, 650]], [[13500, 650, 310, 180, 980, 650], [310, 420], [370, 450], [480, 450], [630, 430], [710, 400], [800, 350], [880, 290], [910, 250], [950, 210], [980, 180], [980, 650], [310, 650]], [[14050, 650, 430, 90, 980, 650], [430, 180], [460, 150], [470, 140], [500, 110], [550, 90], [630, 110], [730, 180], [850, 250], [920, 260], [980, 270], [980, 650], [430, 650]], [[14700, 650, 330, 120, 830, 650], [330, 270], [410, 270], [510, 250], [580, 200], [610, 150], [630, 130], [670, 120], [710, 130], [780, 190], [830, 250], [830, 650], [330, 650]], [[15000, 250, 210, 280, 550, 360], [210, 330], [230, 300], [280, 280], [330, 280], [400, 280], [460, 290], [510, 310], [540, 330], [550, 350], [510, 360], [470, 340], [400, 320], [290, 330], [250, 350], [230, 360], [210, 330]], [[15000, 250, 260, 30, 530, 310], [270, 280], [320, 220], [290, 110], [320, 40], [450, 30], [490, 40], [530, 90], [500, 120], [500, 250], [510, 310], [260, 300]], [[15100, 650, 430, 130, 900, 650], [430, 250], [470, 270], [560, 280], [650, 280], [700, 270], [750, 230], [820, 170], [850, 140], [890, 130], [900, 650], [430, 650]], [[15650, 500, 300, 250, 950, 670], [300, 290], [320, 270], [350, 250], [380, 250], [450, 290], [520, 340], [560, 400], [650, 440], [690, 450], [950, 460], [950, 670], [320, 670]], [[15650, 800, 340, 370, 950, 500], [340, 370], [950, 370], [950, 500], [340, 500]], [[16150, 650, 450, 220, 990, 650], [450, 310], [570, 220], [710, 310], [860, 230], [980, 310], [990, 650], [450, 650]], [[16700, 650, 430, 250, 970, 650], [430, 310], [620, 250], [800, 320], [960, 250], [970, 650], [440, 650]], [[17300, 650, 360, 200, 900, 650], [360, 250], [460, 200], [720, 280], [900, 220], [900, 650], [370, 650]], [[17700, 400, 490, 470, 890, 680], [500, 470], [890, 470], [890, 680], [490, 670]], [[17700, 900, 480, 170, 890, 400], [480, 170], [890, 170], [890, 400], [490, 400]], [[18250, 250, 340, 30, 980, 670], [340, 620], [470, 620], [640, 590], [870, 450], [930, 210], [930, 30], [960, 40], [980, 50], [960, 640], [340, 670]], [[18400, 700, 180, 190, 810, 600], [180, 210], [810, 190], [800, 600], [180, 600]], [[18750, 0, 430, 150, 930, 660], [430, 280], [450, 240], [660, 150], [830, 170], [920, 460], [930, 610], [930, 640], [450, 660]], [[18750, 590, 420, 50, 940, 680], [450, 60], [930, 50], [940, 680], [420, 670]], [[18750, 890, 440, 360, 940, 440], [440, 360], [940, 380], [940, 440], [440, 410]], [[8300, 550, 520, 400, 810, 500], [520, 500], [560, 460], [610, 420], [680, 400], [730, 400], [810, 410], [710, 490]], [[450, 750, 100, 170, 960, 550], [100, 170], [130, 350], [260, 550], [960, 550], [940, 230]], [[1050, 750, 330, 230, 990, 560], [330, 230], [990, 230], [980, 560], [350, 550]], [[1700, 750, 310, 220, 970, 560], [320, 220], [970, 230], [950, 560], [310, 550]], [[2500, 750, 130, 230, 610, 560], [140, 230], [600, 240], [600, 240], [610, 240], [610, 550], [130, 560]], [[3000, 750, 270, 240, 980, 560], [290, 240], [980, 240], [960, 560], [270, 550]], [[3750, 750, 190, 240, 370, 560], [210, 240], [370, 250], [350, 560], [190, 560]], [[3750, 750, 430, 250, 900, 580], [440, 250], [900, 250], [890, 580], [430, 570]], [[4600, 750, 180, 240, 940, 330], [190, 240], [180, 270], [280, 270], [390, 290], [510, 310], [770, 330], [870, 330], [940, 240], [190, 240]], [[5050, 750, 420, 230, 930, 330], [420, 330], [570, 310], [780, 250], [930, 250], [920, 230], [470, 240]], [[6100, 750, 40, 250, 890, 390], [40, 250], [170, 310], [410, 370], [640, 390], [890, 360], [880, 250]], [[6600, 750, 360, 220, 960, 360], [390, 360], [440, 340], [550, 300], [620, 280], [730, 270], [860, 280], [920, 300], [960, 320], [960, 250], [360, 220]], [[7350, 750, 200, 240, 800, 320], [210, 320], [330, 310], [460, 290], [640, 270], [800, 250], [200, 240]], [[9150, 300, 70, 20, 760, 240], [110, 240], [170, 180], [250, 140], [410, 120], [570, 130], [650, 160], [730, 210], [760, 150], [760, 70], [550, 20], [290, 30], [120, 90], [70, 160], [110, 240]], [[9150, 0, 150, 20, 720, 390], [160, 370], [240, 290], [260, 140], [280, 50], [320, 20], [610, 20], [660, 50], [680, 220], [720, 360], [150, 390], [160, 370]], [[10950, 100, 60, 60, 640, 240], [130, 240], [180, 190], [250, 160], [370, 160], [470, 170], [560, 210], [600, 240], [640, 180], [640, 110], [450, 60], [220, 60], [100, 120], [60, 180], [130, 240]], [[10950, 0, 220, 10, 590, 200], [220, 160], [250, 130], [290, 60], [290, 30], [300, 10], [420, 10], [530, 10], [540, 30], [540, 60], [570, 140], [590, 200]], [[13100, 250, 200, 120, 720, 380], [270, 380], [320, 340], [400, 300], [530, 300], [660, 350], [680, 380], [720, 290], [700, 200], [620, 150], [510, 120], [370, 130], [270, 180], [230, 230], [200, 290], [270, 380]], [[13100, 0, 260, 20, 690, 450], [270, 420], [310, 340], [320, 50], [340, 20], [660, 20], [680, 50], [670, 340], [690, 450], [260, 440]], [[14100, 300, 280, 20, 780, 160], [330, 140], [370, 100], [430, 90], [580, 90], [680, 110], [760, 160], [780, 110], [730, 40], [470, 20], [370, 50], [310, 100], [280, 130], [330, 140]], [[14100, 0, 370, 40, 710, 350], [370, 350], [400, 200], [420, 40], [660, 40], [690, 250], [710, 350]], [[16500, 300, 80, 30, 980, 340], [100, 250], [180, 300], [290, 250], [440, 320], [620, 250], [810, 340], [980, 260], [980, 40], [120, 30], [80, 30], [100, 250]], [[17150, 300, 320, 30, 800, 300], [330, 260], [580, 300], [800, 240], [800, 30], [320, 40]], [[17750, 300, 200, 20, 500, 280], [200, 240], [410, 280], [500, 220], [500, 20], [200, 30]], [[16500, 0, 80, 80, 790, 340], [80, 330], [210, 90], [790, 80], [780, 340]], [[17250, 0, 30, 80, 970, 340], [40, 80], [960, 80], [970, 330], [30, 340]], [[17700, 0, 500, 80, 560, 320], [510, 80], [560, 110], [550, 320], [500, 320]], [[4550, 1400, 240, 200, 990, 550], [250, 230], [990, 200], [970, 550], [240, 550]], [[5200, 1400, 290, 180, 990, 580], [330, 200], [990, 180], [960, 580], [290, 550]], [[6050, 1400, 100, 180, 990, 640], [120, 180], [990, 200], [930, 640], [100, 580]], [[6800, 1400, 180, 110, 900, 650], [220, 190], [900, 110], [900, 650], [180, 640]], [[7500, 1100, 170, 110, 890, 680], [170, 430], [890, 110], [890, 660], [170, 680]], [[7500, 1500, 50, 240, 880, 550], [50, 420], [240, 240], [880, 240], [880, 550], [150, 550]], [[8250, 900, 100, 320, 970, 670], [100, 320], [970, 320], [950, 670], [100, 650]], [[8250, 1460, 110, 60, 950, 590], [110, 60], [950, 90], [920, 570], [120, 590]], [[9100, 860, 70, 270, 980, 670], [90, 280], [980, 270], [960, 670], [70, 660]], [[9100, 1410, 30, 70, 960, 620], [30, 70], [960, 80], [930, 620], [60, 620]], [[10050, 860, -10, 310, 970, 690], [-10, 370], [10, 310], [970, 310], [960, 690], [0, 660]], [[10000, 1490, 20, 20, 980, 570], [50, 20], [980, 50], [960, 570], [20, 540]], [[10850, 1040, 60, 140, 840, 670], [90, 140], [830, 150], [840, 670], [60, 670]], [[10850, 1640, -10, 60, 840, 460], [-10, 280], [110, 60], [840, 60], [830, 460], [40, 420]], [[11600, 940, 200, 260, 970, 680], [200, 260], [950, 260], [970, 680], [200, 670]], [[11600, 1590, 180, 20, 980, 550], [200, 20], [970, 30], [980, 550], [180, 500]], [[12500, 1040, 160, 230, 970, 690], [270, 260], [160, 260], [170, 690], [970, 670], [960, 230]], [[12500, 1590, 160, 90, 970, 610], [250, 150], [240, 120], [970, 110], [970, 600], [160, 610], [170, 120], [170, 90], [270, 90]], [[12500, 1590, 210, 120, 290, 200], [220, 120], [290, 120], [290, 190], [210, 200]], [[13200, 1040, 230, 250, 590, 670], [230, 250], [570, 250], [590, 670], [240, 660]], [[13200, 1690, 200, 10, 590, 530], [200, 10], [590, 10], [580, 530], [220, 510]], [[13700, 1240, 110, 60, 980, 670], [110, 60], [980, 60], [980, 610], [970, 670], [120, 660]], [[14650, 990, 20, 290, 990, 650], [20, 290], [990, 290], [980, 650], [20, 640]], [[14650, 1540, 10, 80, 980, 460], [10, 80], [980, 90], [960, 460], [20, 370]], [[15450, 1140, 110, 130, 980, 660], [110, 130], [980, 150], [970, 660], [140, 660], [140, 660]], [[15450, 1640, 80, 80, 970, 430], [80, 80], [970, 130], [970, 430], [130, 350]], [[16300, 1090, 70, 180, 990, 690], [70, 180], [990, 200], [970, 690], [80, 660]], [[16300, 1490, 90, 230, 970, 590], [100, 230], [970, 270], [950, 590], [90, 580]], [[17250, 1040, 20, 230, 990, 670], [20, 230], [990, 240], [970, 670], [20, 660]], [[17200, 1490, 40, 200, 980, 630], [50, 200], [980, 210], [960, 630], [40, 590]], [[18200, 990, 10, 290, 980, 690], [30, 300], [980, 290], [970, 690], [10, 670]], [[18850, 840, 290, 450, 840, 680], [290, 450], [840, 490], [840, 680], [300, 680]], [[18850, 1240, 290, 260, 840, 470], [290, 260], [840, 280], [840, 470], [310, 440]], [[2750, 300, 460, 400, 540, 580], [460, 400], [530, 440], [530, 560], [540, 580], [460, 580]], [[2750, 800, 460, 10, 560, 510], [460, 10], [550, 20], [560, 480], [500, 510], [460, 500]], [[4200, 450, 530, 220, 600, 600], [590, 250], [570, 240], [530, 220], [560, 600], [580, 600], [600, 590]], [[5700, 450, 390, 110, 460, 550], [460, 150], [390, 110], [390, 540], [440, 550]]], xtras:[[1500, 710, 1], [1710, 610, 1], [1880, 460, 1], [2260, 490, 1], [2420, 640, 1], [2070, 340, 6], [2930, 440, 1], [3370, 660, 6], [3570, 760, 1], [3750, 810, 1], [3920, 720, 1], [4100, 610, 6], [4370, 660, 1], [4540, 600, 1], [4730, 480, 6], [4870, 650, 1], [4980, 740, 1], [5170, 800, 1], [4860, 490, 1], [5310, 790, 1], [5450, 770, 1], [5620, 710, 1], [5740, 590, 1], [5950, 420, 6], [6100, 310, 6], [6170, 410, 1], [6270, 540, 1], [6400, 620, 1], [6550, 660, 1], [6720, 630, 1], [6900, 500, 6], [7110, 580, 1], [7290, 610, 1], [7410, 680, 1], [7570, 700, 1], [7690, 730, 1], [7850, 810, 1], [7990, 850, 1], [8200, 900, 1], [8440, 990, 6], [7660, 1310, 6], [7660, 1370, 1], [7840, 1270, 1], [8050, 1190, 1], [8260, 1090, 1], [7230, 1170, 6], [7410, 1230, 1], [7540, 1300, 1], [7070, 1220, 1], [6980, 1320, 1], [6820, 1400, 1], [6600, 1360, 1], [6390, 1260, 1], [6240, 1170, 1], [5990, 1100, 6], [5840, 1170, 1], [5730, 1240, 1], [5610, 1280, 1], [8690, 980, 5], [8940, 870, 1], [9130, 880, 1], [9380, 760, 1], [9590, 680, 6], [9810, 740, 1], [9940, 780, 1], [10110, 870, 1], [10270, 900, 1], [10470, 920, 1], [10380, 870, 1], [10620, 890, 1], [10800, 830, 1], [10960, 730, 1], [11140, 630, 1], [11300, 510, 6], [11430, 630, 1], [11570, 690, 1], [11880, 830, 1], [12030, 900, 1], [11750, 680, 6], [12660, 800, 6], [12200, 920, 1], [12350, 890, 1], [12500, 830, 1], [12790, 930, 1], [12890, 1000, 1], [13040, 1050, 1], [13230, 1030, 1], [13370, 940, 1], [13580, 830, 6], [13780, 860, 1], [13860, 990, 1], [14040, 1000, 1], [14170, 910, 1], [14370, 830, 1], [14610, 610, 6], [14800, 710, 1], [14910, 780, 1], [15100, 810, 1], [15230, 780, 1], [15370, 680, 6], [15520, 770, 1], [15640, 840, 1], [15820, 790, 1], [16020, 600, 6], [16190, 750, 1], [16300, 820, 1], [16480, 840, 1], [16610, 810, 1], [16710, 780, 6], [17020, 780, 6], [16850, 850, 1], [17140, 850, 1], [17310, 820, 1], [17500, 870, 1], [17760, 760, 1], [18020, 830, 1], [18330, 790, 6], [13480, 850, 5], [1190, 750, 15], [18780, 810, 3], [5330, 1330, 2], [5220, 1310, 5], [5500, 1350, 21], [9250, 820, 24], [700, 620, 1], [830, 740, 1], [1020, 780, 1], [5060, 1300, 8]]}));
_global.lib.lvls.push(new com.neodelight.r2d.R2dLevel({title:"Track-7", colLine:10929199, colFill:12047930, skin:1, groundY:8000, startX:980, startY:640, map:[[[500, 300, 180, 210, 980, 640], [180, 210], [200, 290], [220, 350], [240, 400], [300, 470], [420, 530], [530, 550], [630, 550], [740, 530], [850, 450], [900, 400], [930, 310], [950, 210], [980, 210], [970, 640], [180, 640]], [[500, 420, 180, 520, 970, 620], [180, 520], [970, 520], [970, 620], [180, 620]], [[500, 420, 80, 90, 180, 620], [180, 90], [80, 90], [80, 620], [180, 620]], [[500, 420, 80, 90, 980, 620], [180, 90], [210, 90], [260, 210], [360, 340], [440, 380], [510, 400], [640, 400], [720, 390], [820, 320], [890, 230], [950, 90], [980, 90], [970, 620], [80, 620], [80, 90], [200, 90]], [[1000, 280, 410, 200, 580, 640], [450, 230], [470, 210], [500, 200], [550, 200], [580, 200], [580, 640], [410, 640]], [[1000, 530, 470, 390, 580, 510], [470, 390], [580, 390], [580, 510], [470, 510]], [[1250, 310, 400, 180, 990, 660], [410, 180], [430, 180], [440, 210], [470, 290], [510, 380], [550, 460], [610, 540], [650, 570], [740, 590], [840, 590], [910, 590], [940, 580], [970, 550], [990, 500], [990, 660], [400, 660]], [[1550, 610, 100, 360, 690, 430], [100, 360], [690, 360], [690, 430], [100, 430], [100, 360]], [[1900, 460, 340, 260, 970, 580], [340, 350], [350, 330], [360, 320], [380, 310], [400, 310], [420, 320], [440, 340], [450, 370], [470, 420], [480, 440], [490, 450], [520, 460], [560, 460], [590, 450], [610, 440], [620, 420], [630, 390], [640, 370], [660, 360], [670, 360], [680, 370], [700, 400], [720, 420], [750, 430], [790, 430], [790, 430], [810, 410], [830, 380], [840, 350], [850, 300], [860, 270], [880, 260], [900, 260], [910, 270], [920, 280], [930, 310], [940, 350], [950, 400], [960, 420], [970, 430], [970, 580], [340, 580], [340, 580]], [[2580, 450, 290, 320, 980, 590], [290, 440], [310, 460], [340, 480], [370, 490], [440, 490], [480, 490], [540, 480], [590, 450], [600, 420], [610, 380], [620, 360], [640, 360], [650, 380], [670, 410], [680, 430], [710, 450], [780, 480], [810, 490], [860, 490], [890, 480], [920, 440], [940, 350], [950, 330], [970, 320], [980, 320], [980, 590], [290, 590]], [[2580, 450, 620, 350, 700, 460], [620, 360], [630, 350], [640, 350], [650, 370], [680, 420], [700, 450], [700, 460], [640, 450]], [[3030, 450, 170, 350, 490, 540], [190, 350], [210, 360], [220, 380], [250, 420], [310, 460], [390, 480], [410, 480], [440, 470], [460, 450], [480, 420], [490, 460], [430, 540], [240, 480], [170, 410]], [[930, 400, 700, 90, 730, 640], [730, 90], [700, 90], [700, 640], [720, 640]], [[1340, 400, 260, 90, 310, 640], [260, 90], [300, 90], [310, 640], [270, 640], [260, 640]], [[1400, 270, 280, 220, 830, 640], [280, 220], [310, 270], [440, 440], [520, 520], [560, 550], [640, 580], [690, 590], [800, 590], [830, 570], [830, 630], [470, 640], [330, 620], [330, 620]], [[2620, 280, 280, 220, 950, 400], [280, 330], [320, 360], [360, 390], [390, 400], [430, 400], [480, 390], [520, 350], [540, 330], [560, 320], [590, 320], [610, 340], [640, 360], [680, 370], [720, 390], [770, 400], [800, 390], [860, 340], [900, 320], [950, 320], [950, 220], [290, 220], [280, 220]], [[2620, 280, 540, 280, 910, 400], [560, 320], [570, 320], [590, 330], [620, 350], [680, 380], [750, 400], [800, 400], [830, 370], [880, 330], [910, 290], [540, 280]], [[3030, 430, 530, 340, 960, 370], [530, 340], [960, 340], [960, 370], [530, 370]], [[3330, 430, 660, 340, 810, 610], [660, 340], [810, 340], [810, 610], [670, 610], [660, 350]], [[3330, 430, 340, 280, 630, 340], [340, 340], [370, 330], [400, 310], [420, 290], [450, 280], [480, 280], [520, 280], [560, 300], [600, 330], [630, 340]], [[3330, 430, 240, 70, 820, 170], [240, 70], [820, 70], [820, 170], [660, 170], [630, 140], [580, 120], [510, 120], [410, 120], [380, 140], [350, 170], [240, 170]], [[3330, 430, 330, 90, 660, 170], [350, 170], [380, 150], [410, 140], [570, 140], [590, 140], [620, 150], [640, 160], [660, 170], [660, 130], [660, 90], [360, 90], [330, 90]], [[3830, 430, 310, 290, 930, 340], [310, 340], [410, 290], [520, 330], [620, 290], [720, 330], [830, 290], [930, 340], [310, 340]], [[3830, 430, 930, 340, 980, 640], [930, 340], [980, 340], [980, 640], [930, 640]], [[3830, 430, 310, 340, 930, 390], [310, 340], [410, 390], [520, 340], [620, 390], [720, 340], [820, 390], [930, 340]], [[4430, 430, 380, 340, 920, 640], [380, 340], [590, 340], [640, 340], [920, 340], [920, 640], [380, 640]], [[4430, 430, 330, 200, 980, 640], [330, 340], [370, 310], [390, 300], [430, 290], [470, 280], [500, 280], [540, 290], [600, 330], [620, 340], [680, 340], [720, 320], [750, 290], [780, 270], [820, 240], [840, 220], [870, 200], [910, 200], [940, 210], [980, 250], [980, 640], [910, 640]], [[4430, 430, 290, 30, 970, 170], [340, 170], [380, 160], [400, 150], [430, 140], [460, 140], [510, 150], [580, 170], [630, 170], [680, 170], [700, 160], [740, 130], [800, 90], [860, 70], [920, 60], [970, 70], [970, 30], [300, 30], [290, 170]], [[4430, 430, 570, 130, 730, 180], [570, 170], [590, 180], [610, 180], [650, 180], [680, 180], [730, 130]], [[4930, 430, 480, 250, 990, 650], [480, 250], [540, 310], [620, 370], [700, 410], [790, 440], [860, 440], [930, 410], [990, 320], [990, 650], [480, 640]], [[5230, 430, 170, 30, 750, 190], [170, 70], [230, 90], [300, 120], [370, 150], [440, 170], [480, 180], [520, 190], [540, 190], [580, 190], [640, 160], [690, 110], [740, 70], [750, 30]], [[5230, 430, 170, 30, 750, 70], [750, 30], [170, 30], [170, 70], [170, 70]], [[5630, 430, 290, 300, 990, 670], [290, 320], [300, 310], [310, 300], [330, 300], [370, 330], [430, 390], [500, 420], [570, 420], [630, 410], [680, 380], [700, 360], [720, 330], [730, 330], [740, 340], [770, 390], [820, 410], [890, 410], [930, 410], [960, 400], [990, 350], [990, 670], [290, 670]], [[6130, 430, 490, 340, 940, 680], [490, 350], [500, 340], [510, 340], [530, 360], [570, 410], [590, 430], [670, 450], [770, 450], [840, 400], [870, 360], [880, 350], [900, 360], [920, 380], [940, 420], [940, 680], [940, 680], [490, 670]], [[5780, 230, 190, 230, 940, 410], [190, 270], [210, 270], [230, 290], [260, 340], [300, 380], [390, 390], [490, 390], [550, 370], [570, 350], [600, 350], [630, 380], [660, 400], [730, 410], [800, 400], [820, 380], [850, 340], [880, 310], [900, 310], [920, 330], [940, 330], [940, 230], [200, 230]], [[6280, 230, 440, 230, 810, 370], [440, 330], [470, 350], [510, 360], [580, 370], [660, 360], [730, 340], [750, 330], [780, 300], [810, 240], [810, 240], [440, 230]], [[6280, 230, 420, 240, 820, 390], [420, 330], [460, 360], [530, 380], [580, 390], [640, 390], [710, 380], [770, 350], [820, 260], [820, 240]], [[6480, 330, 530, 150, 980, 680], [530, 450], [560, 440], [630, 440], [710, 430], [840, 380], [920, 300], [950, 240], [980, 150], [980, 680], [980, 680], [590, 680]], [[6480, 630, 590, 380, 980, 480], [590, 380], [980, 380], [980, 470], [980, 480], [600, 480], [590, 480]], [[6630, 330, 820, 120, 980, 680], [830, 150], [840, 140], [880, 130], [920, 120], [960, 120], [980, 120], [980, 680], [820, 680]], [[6930, 480, 530, 530, 680, 630], [530, 530], [680, 530], [680, 620], [530, 630]], [[7330, 380, 280, 70, 880, 680], [280, 70], [880, 70], [880, 680], [280, 680]], [[7330, 730, 180, 330, 880, 390], [280, 330], [880, 330], [880, 390], [180, 380]], [[7230, 160, 320, 270, 580, 320], [320, 290], [350, 280], [380, 270], [410, 270], [450, 280], [580, 300], [320, 320]], [[7780, 310, 430, 140, 820, 660], [430, 140], [820, 140], [820, 660], [430, 660]], [[7780, 610, 430, 360, 820, 540], [430, 360], [820, 360], [820, 540], [430, 510]], [[6830, 160, 160, 310, 460, 450], [260, 310], [450, 310], [460, 320], [460, 330], [440, 340], [330, 390], [160, 450]], [[2770, 640, 450, 130, 820, 320], [450, 160], [470, 170], [500, 200], [550, 240], [580, 250], [630, 250], [660, 240], [710, 190], [760, 140], [780, 130], [820, 130], [780, 160], [720, 320], [530, 290]], [[3820, 240, 320, 220, 910, 360], [330, 360], [410, 340], [490, 360], [580, 340], [680, 360], [760, 330], [900, 360], [910, 220], [320, 220]], [[6120, 240, 190, 120, 350, 220], [190, 220], [220, 120], [240, 220], [270, 120], [300, 220], [320, 120], [350, 220], [190, 220]], [[6220, 240, 250, 120, 380, 230], [250, 120], [290, 160], [340, 200], [380, 230], [260, 230]], [[6220, 240, 250, 120, 450, 250], [250, 120], [330, 180], [390, 210], [450, 230], [440, 250], [350, 250]], [[5870, 240, 210, 120, 450, 260], [450, 120], [420, 150], [340, 210], [310, 230], [210, 230], [270, 260], [390, 260]], [[5870, 240, 210, 120, 450, 250], [210, 220], [450, 120], [360, 250]], [[5420, 240, 270, 140, 530, 220], [270, 220], [280, 210], [300, 190], [310, 180], [320, 170], [340, 160], [360, 150], [380, 140], [400, 140], [430, 140], [450, 150], [470, 160], [490, 180], [520, 210], [530, 220], [270, 220]], [[5420, 0, 130, 80, 580, 250], [180, 250], [220, 220], [290, 190], [350, 180], [440, 180], [490, 200], [540, 250], [560, 230], [580, 190], [540, 100], [450, 80], [250, 80], [190, 90], [150, 110], [130, 140], [130, 190], [160, 240], [180, 250]], [[5420, 0, 540, 100, 590, 250], [540, 100], [560, 110], [580, 140], [590, 170], [590, 180], [540, 250]], [[5420, 0, 540, 180, 590, 250], [590, 180], [590, 200], [570, 230], [540, 250]], [[5420, 0, 200, 10, 540, 100], [210, 80], [300, 10], [480, 10], [540, 100], [210, 90], [200, 90], [210, 80]], [[4770, 0, 0, 170, 690, 470], [690, 460], [540, 320], [430, 230], [360, 180], [330, 170], [300, 170], [270, 180], [220, 230], [110, 340], [10, 460], [0, 470]], [[4770, 0, 190, 10, 430, 60], [190, 60], [210, 40], [230, 30], [270, 20], [310, 20], [360, 20], [410, 40], [430, 60], [430, 20], [410, 10], [200, 10], [190, 30]], [[4020, 0, 420, 240, 860, 490], [860, 340], [840, 320], [780, 280], [720, 260], [650, 240], [580, 260], [540, 290], [490, 340], [440, 430], [420, 470], [800, 490]], [[3620, 0, 0, 320, 820, 510], [820, 460], [710, 410], [540, 370], [290, 320], [180, 330], [80, 390], [0, 500], [0, 500], [720, 510]], [[2970, 0, 210, 350, 720, 510], [220, 500], [230, 470], [280, 420], [320, 380], [370, 350], [420, 350], [490, 350], [540, 350], [600, 360], [690, 400], [720, 410], [660, 510], [210, 510]], [[4470, 0, 40, 10, 390, 90], [80, 90], [100, 70], [130, 50], [170, 40], [230, 40], [310, 50], [350, 70], [360, 80], [380, 70], [390, 40], [370, 20], [310, 10], [140, 10], [100, 10], [70, 20], [50, 40], [40, 60], [50, 80], [80, 90]], [[3770, 0, 590, 350, 770, 480], [730, 350], [660, 400], [590, 430], [590, 470], [710, 480], [770, 360], [730, 350]], [[3620, 0, 320, 210, 760, 450], [320, 330], [430, 260], [510, 210], [760, 420], [760, 420], [750, 450]], [[3820, 0, 70, 10, 560, 120], [140, 60], [330, 20], [520, 120], [560, 10], [70, 10], [140, 60]], [[3420, 0, 0, 10, 540, 120], [540, 60], [470, 110], [420, 120], [330, 110], [210, 50], [30, 40], [10, 30], [0, 10], [480, 10]], [[2870, 0, 30, 10, 580, 210], [580, 40], [480, 60], [350, 160], [270, 210], [140, 190], [60, 110], [30, 40], [30, 20], [30, 10], [550, 10]], [[2870, 0, 140, 40, 880, 220], [140, 190], [190, 210], [250, 220], [310, 200], [470, 100], [560, 60], [750, 60], [860, 100], [880, 110], [880, 40], [170, 60], [140, 190]], [[2870, 0, 490, 20, 840, 60], [490, 20], [840, 40], [610, 60]], [[2870, 0, 530, 40, 600, 60], [530, 40], [600, 40], [570, 60], [530, 60]], [[2320, 0, 10, 10, 610, 180], [580, 10], [50, 10], [10, 10], [20, 90], [50, 120], [110, 150], [200, 180], [280, 170], [320, 150], [360, 120], [390, 100], [420, 100], [460, 140], [510, 170], [550, 160], [600, 130], [610, 100]], [[2320, 0, 0, 360, 880, 540], [880, 470], [780, 500], [740, 490], [710, 480], [670, 440], [590, 390], [580, 380], [570, 370], [550, 360], [520, 360], [490, 370], [440, 400], [400, 450], [350, 500], [320, 500], [280, 480], [240, 450], [200, 390], [180, 380], [160, 380], [130, 400], [80, 440], [20, 490], [0, 500], [230, 530], [860, 540]], [[1770, 0, 170, 10, 750, 180], [560, 10], [170, 10], [170, 140], [750, 180]], [[1320, 0, 50, 160, 860, 580], [830, 490], [860, 500], [700, 420], [520, 360], [370, 230], [210, 160], [50, 160], [50, 180], [140, 190], [260, 220], [370, 290], [510, 400], [720, 520], [780, 560], [800, 580], [860, 500]], [[770, 0, 20, 40, 600, 190], [600, 160], [70, 160], [60, 40], [20, 40], [30, 190], [600, 180]], [[7970, 50, 630, 50, 960, 680], [630, 400], [660, 390], [730, 310], [760, 210], [770, 110], [770, 60], [800, 50], [820, 50], [860, 70], [900, 120], [950, 210], [960, 620], [960, 680], [630, 680]], [[7970, 650, 630, 80, 960, 520], [630, 80], [960, 80], [960, 520], [630, 500]], [[4170, 450, 550, 300, 620, 320], [550, 300], [620, 300], [610, 320], [580, 320]], [[4070, 0, 600, 40, 630, 70], [600, 40], [630, 40], [630, 70], [600, 70], [600, 40]], [[4070, 0, 540, 70, 720, 110], [600, 70], [580, 80], [550, 90], [540, 110], [560, 110], [580, 100], [610, 90], [640, 90], [670, 100], [700, 110], [720, 110], [720, 90], [670, 80], [630, 70]], [[1220, 0, 280, 10, 720, 140], [720, 140], [690, 120], [640, 80], [550, 40], [340, 40], [290, 20], [280, 10], [720, 10]], [[570, 0, 220, 0, 260, 40], [220, 40], [220, 0], [260, 0], [260, 40]], [[1720, 0, 70, 300, 370, 480], [70, 320], [130, 310], [180, 300], [220, 300], [260, 310], [310, 360], [370, 460], [360, 480], [130, 380], [70, 320]], [[660, 0, 40, 10, 920, 240], [920, 220], [820, 210], [690, 210], [490, 220], [310, 240], [120, 230], [60, 200], [40, 100], [50, 10], [130, 10], [140, 190], [710, 180], [820, 190], [920, 220]], [[2040, 410, 80, 80, 860, 270], [280, 90], [250, 80], [160, 80], [140, 90], [80, 170], [90, 190], [140, 220], [200, 200], [240, 180], [260, 180], [290, 220], [330, 250], [380, 260], [430, 270], [460, 260], [480, 250], [510, 250], [540, 270], [560, 270], [580, 260], [600, 230], [630, 200], [660, 180], [680, 170], [740, 170], [780, 190], [860, 200], [860, 120]], [[140, 310, 60, 80, 440, 690], [440, 200], [340, 160], [280, 100], [210, 80], [110, 80], [70, 90], [60, 140], [70, 350], [60, 600], [60, 690], [440, 690], [440, 690]], [[140, 660, 60, 340, 440, 380], [60, 340], [440, 340], [440, 380], [70, 380], [60, 380]], [[500, 0, 220, 200, 980, 330], [220, 200], [240, 250], [340, 310], [590, 330], [790, 310], [900, 280], [970, 270], [980, 210], [220, 200], [220, 200]], [[1000, 0, 470, 210, 600, 270], [470, 270], [520, 250], [600, 230], [580, 210], [470, 210]]], xtras:[[8580, 440, 9], [6350, 720, 1], [8400, 370, 2], [2050, 850, 10], [980, 130, 3], [800, 570, 1], [1360, 570, 1], [1600, 400, 1], [1820, 570, 1], [2160, 790, 1], [2450, 850, 1], [2790, 670, 6], [3220, 710, 6], [3030, 830, 1], [3400, 810, 1], [3630, 730, 1], [3810, 650, 1], [4060, 720, 1], [4250, 680, 1], [4450, 670, 1], [4670, 680, 1], [5970, 650, 6], [5560, 720, 1], [5790, 800, 1], [6110, 800, 1], [6520, 780, 1], [6650, 700, 6], [6850, 810, 1], [7140, 700, 1], [7400, 530, 1], [7630, 380, 6], [8210, 340, 23], [7310, 290, 6], [6830, 370, 1], [5800, 300, 6], [4690, 160, 6], [4900, 240, 1], [4530, 260, 1], [4410, 340, 1], [4270, 250, 1], [3940, 290, 1], [3670, 300, 1], [3430, 250, 1], [3110, 400, 1], [2650, 400, 1], [2260, 400, 1], [1710, 170, 1], [1350, 110, 1], [2850, 750, 1], [2890, 850, 1], [3120, 860, 1], [4350, 720, 1], [4550, 710, 1], [4920, 670, 1], [5100, 710, 1], [6480, 290, 1], [6300, 280, 1], [6390, 330, 1], [6080, 380, 1], [5540, 410, 1], [5320, 270, 1], [1260, 90, 1], [1350, 30, 1], [1440, 90, 1], [6390, 240, 6], [4120, 120, 6], [2490, 300, 6], [2850, 270, 6], [8000, 360, 5], [1090, 740, 18], [2290, 710, 6], [2560, 760, 6], [5320, 580, 6], [5080, 100, 6], [1970, 250, 6], [1240, 760, 26]]}));
_global.lib.lvls.push(new com.neodelight.r2d.R2dLevel({title:"Track-8", colLine:10929199, colFill:12047930, skin:2, groundY:8000, startX:1450, startY:270, map:[[[500, 300, 20, 130, 940, 670], [190, 160], [150, 180], [120, 200], [100, 220], [80, 260], [70, 300], [70, 350], [90, 420], [120, 470], [170, 540], [220, 580], [300, 600], [410, 610], [470, 610], [540, 610], [600, 600], [700, 540], [750, 470], [790, 400], [820, 310], [830, 290], [860, 270], [890, 270], [920, 270], [940, 290], [910, 290], [910, 670], [20, 660], [20, 130], [200, 130], [210, 130], [230, 130], [190, 160]], [[500, 600, 20, 360, 910, 550], [20, 360], [910, 370], [910, 550], [20, 540]], [[1610, 360, 320, 300, 910, 500], [330, 300], [360, 340], [440, 390], [560, 430], [760, 460], [840, 460], [910, 460], [910, 500], [770, 500], [520, 470], [360, 400], [320, 350]], [[690, 170, 570, 190, 740, 210], [570, 190], [740, 190], [740, 210], [570, 210]], [[790, 0, 640, 140, 940, 400], [640, 360], [800, 370], [830, 360], [920, 240], [910, 140], [940, 140], [940, 230], [910, 310], [850, 370], [790, 400], [640, 380]], [[660, 150, 140, 210, 600, 430], [600, 210], [510, 240], [370, 310], [140, 420], [220, 430], [500, 290], [600, 230]], [[1320, 290, 80, 240, 770, 560], [120, 300], [150, 350], [190, 430], [240, 480], [270, 510], [310, 530], [380, 530], [460, 510], [550, 430], [620, 330], [650, 290], [680, 270], [700, 260], [740, 240], [760, 240], [770, 250], [770, 260], [690, 320], [610, 380], [620, 370], [610, 430], [470, 550], [270, 560], [140, 430], [80, 340], [80, 290]], [[1730, 150, 330, 370, 470, 400], [330, 380], [380, 370], [430, 370], [470, 370], [450, 390], [360, 400]], [[1730, 150, 650, 120, 990, 450], [670, 410], [720, 400], [830, 370], [900, 330], [940, 290], [970, 250], [970, 120], [990, 120], [990, 310], [790, 450], [680, 450], [650, 430], [670, 410]], [[1730, 150, 210, 400, 790, 680], [360, 400], [400, 450], [450, 510], [530, 560], [700, 620], [790, 640], [790, 670], [650, 680], [290, 630], [210, 540], [210, 490], [360, 400]], [[1230, 150, 260, 360, 970, 680], [270, 550], [310, 590], [350, 610], [380, 610], [410, 610], [440, 600], [540, 540], [620, 470], [790, 370], [880, 360], [970, 360], [960, 370], [620, 620], [490, 680], [360, 680], [280, 590], [260, 550], [270, 550]], [[2380, 350, 100, 170, 890, 680], [140, 440], [360, 440], [470, 440], [610, 440], [670, 420], [720, 380], [780, 270], [810, 200], [830, 180], [870, 170], [880, 180], [890, 680], [100, 680]], [[1930, 500, 30, 260, 590, 530], [550, 530], [50, 520], [30, 410], [40, 260], [590, 360]], [[1430, 500, 60, 190, 600, 600], [160, 340], [520, 190], [600, 450], [570, 600], [60, 570]], [[980, 500, 430, 130, 680, 660], [430, 130], [670, 380], [680, 660], [430, 650]], [[1380, 500, 270, 420, 920, 670], [280, 660], [270, 420], [920, 440], [920, 660], [920, 670]], [[2180, 500, 120, 460, 990, 670], [120, 670], [120, 460], [990, 460], [990, 660], [120, 670]], [[2630, 500, 540, 530, 640, 660], [540, 530], [640, 530], [640, 660], [540, 660]], [[2380, 300, 260, 220, 870, 520], [260, 490], [380, 470], [550, 410], [830, 230], [870, 220], [870, 350], [790, 520]], [[3010, 260, 520, 170, 990, 310], [520, 280], [600, 270], [740, 250], [870, 220], [960, 180], [990, 170], [990, 310], [530, 310], [520, 280]], [[3360, 260, 640, 20, 870, 310], [640, 170], [700, 150], [790, 90], [870, 20], [870, 310], [640, 310]], [[3560, 10, 670, 60, 780, 560], [670, 270], [720, 180], [720, 60], [780, 60], [770, 560], [670, 560]], [[3010, 410, 250, 160, 860, 410], [250, 160], [330, 240], [460, 300], [610, 350], [810, 380], [860, 390], [830, 400], [250, 410]], [[3160, 410, 110, 520, 620, 660], [110, 520], [320, 590], [620, 650], [610, 660], [390, 640], [110, 580]], [[3000, 490, 220, 330, 790, 570], [270, 330], [460, 440], [630, 500], [790, 540], [780, 570], [410, 520], [220, 450]], [[3100, 690, 170, 390, 970, 580], [170, 390], [830, 540], [970, 540], [950, 580], [220, 520], [170, 480], [170, 470]], [[3950, 690, 100, 260, 870, 580], [120, 540], [490, 500], [650, 440], [790, 340], [870, 260], [860, 560], [100, 580]], [[3580, 710, 190, 320, 460, 410], [210, 320], [310, 360], [450, 400], [460, 410], [350, 410], [190, 360]], [[3580, 510, 420, 10, 840, 410], [430, 380], [540, 360], [670, 320], [770, 200], [750, 60], [750, 10], [800, 10], [840, 200], [750, 320], [600, 390], [430, 410], [420, 400], [430, 380]], [[650, 0, 150, 370, 990, 590], [150, 570], [270, 590], [550, 450], [640, 410], [740, 400], [940, 410], [990, 370], [990, 370], [710, 370], [520, 400], [150, 570]], [[850, 0, 390, 370, 450, 410], [390, 380], [450, 370], [440, 400], [400, 410]], [[1250, 0, 340, 130, 650, 410], [340, 410], [560, 400], [600, 380], [640, 310], [650, 260], [650, 190], [640, 130], [450, 130], [450, 230], [410, 290], [340, 410]], [[900, 0, 260, 130, 820, 400], [290, 380], [360, 340], [490, 330], [710, 340], [780, 220], [780, 130], [810, 130], [820, 270], [790, 380], [390, 390], [260, 400], [290, 380]], [[4140, 0, 190, 70, 260, 520], [200, 70], [260, 70], [240, 520], [190, 520]], [[4720, 580, 230, 410, 990, 680], [230, 410], [330, 450], [440, 480], [550, 480], [620, 480], [680, 420], [780, 480], [860, 420], [940, 480], [990, 420], [990, 680], [230, 670]], [[5220, 680, 490, 320, 980, 580], [490, 320], [580, 380], [680, 320], [780, 380], [880, 320], [980, 380], [980, 580], [490, 580]], [[4620, 680, 260, 270, 420, 300], [260, 270], [320, 270], [380, 280], [420, 290], [410, 300], [330, 290], [260, 290]], [[4620, 680, 410, 260, 580, 330], [420, 290], [470, 270], [490, 260], [560, 310], [580, 330], [410, 300]], [[4620, 680, 240, 290, 270, 580], [260, 290], [270, 290], [270, 580], [240, 580], [260, 290]], [[4620, 680, 260, 290, 300, 580], [270, 290], [300, 290], [290, 580], [260, 580]], [[5920, 680, 280, 60, 990, 580], [280, 380], [350, 370], [470, 320], [600, 260], [670, 200], [770, 110], [810, 60], [810, 60], [990, 60], [990, 100], [840, 110], [850, 570], [280, 580]], [[6320, 680, 450, 60, 990, 600], [590, 60], [990, 60], [990, 600], [450, 570]], [[6320, 680, 420, 90, 600, 580], [420, 100], [600, 90], [590, 580], [440, 570], [420, 560]], [[6820, 380, 490, 360, 800, 670], [490, 360], [800, 360], [800, 670], [490, 670]], [[6820, 830, 490, 220, 800, 470], [490, 220], [800, 220], [800, 470], [490, 450]], [[5270, 580, 70, 190, 900, 300], [90, 240], [140, 280], [210, 300], [330, 260], [420, 290], [540, 260], [630, 290], [740, 260], [850, 290], [900, 250], [900, 230], [850, 240], [740, 210], [620, 230], [530, 200], [420, 220], [310, 190], [210, 220], [100, 190], [70, 210], [90, 240]], [[5270, 580, 40, 420, 760, 520], [40, 480], [130, 420], [250, 470], [310, 420], [410, 460], [440, 420], [560, 460], [630, 420], [760, 460], [750, 520], [40, 500]], [[5820, 580, 300, 180, 680, 290], [300, 290], [430, 260], [540, 230], [640, 200], [680, 190], [660, 180], [350, 230]], [[4670, 580, 330, 360, 440, 400], [350, 380], [410, 370], [440, 360], [410, 390], [340, 400], [330, 380], [360, 380]], [[4620, 350, 340, 180, 750, 440], [750, 420], [670, 370], [480, 250], [360, 180], [340, 220], [720, 440]], [[4070, 350, 320, 100, 910, 240], [910, 180], [860, 140], [780, 100], [710, 100], [630, 100], [470, 160], [320, 200], [320, 240], [390, 230], [570, 180], [720, 160], [890, 220]], [[4690, 150, 410, 60, 990, 250], [410, 250], [510, 230], [730, 170], [880, 100], [960, 60], [980, 80], [990, 140], [980, 170], [620, 250], [410, 250]], [[4290, 150, 410, 270, 630, 350], [410, 300], [470, 280], [510, 270], [530, 270], [570, 300], [630, 340], [620, 350], [410, 330]], [[4290, 150, 510, 270, 740, 410], [530, 270], [590, 270], [740, 410], [610, 380], [510, 280], [530, 270]], [[4290, 150, 510, 250, 770, 440], [510, 270], [530, 260], [560, 250], [580, 250], [610, 270], [760, 420], [770, 440], [510, 270]], [[5240, 600, 250, 400, 590, 460], [250, 440], [340, 400], [470, 400], [590, 440], [590, 460], [250, 440]], [[5240, 600, 230, 430, 300, 460], [230, 450], [300, 430], [300, 460], [240, 460]], [[6340, 600, 140, 160, 190, 170], [140, 160], [190, 160], [160, 170]], [[6340, 600, 500, 130, 680, 150], [500, 140], [550, 130], [590, 130], [680, 150]], [[6340, 600, 590, 130, 690, 150], [590, 130], [690, 140], [690, 150]], [[7240, 700, 380, 40, 840, 600], [380, 40], [840, 40], [830, 600], [380, 600]], [[7740, 250, 290, 30, 340, 490], [340, 490], [340, 30], [290, 30], [290, 490]], [[6610, 250, 280, 450, 620, 510], [280, 480], [330, 460], [390, 450], [500, 460], [620, 490], [580, 510], [280, 480]], [[5160, 100, 490, 110, 990, 240], [490, 110], [560, 130], [620, 140], [760, 160], [920, 160], [990, 160], [990, 240], [510, 220]], [[5910, 100, 240, 160, 560, 240], [240, 160], [560, 160], [560, 230], [240, 240]], [[440, 590, 80, 550, 960, 690], [80, 550], [80, 690], [960, 690], [960, 560]], [[1340, 790, 60, 360, 980, 510], [60, 360], [980, 380], [980, 510], [60, 490]], [[2240, 790, 80, 370, 990, 520], [80, 380], [990, 370], [990, 520], [80, 510]], [[2990, 790, 230, 370, 970, 560], [230, 370], [970, 470], [970, 560], [230, 520]], [[2990, 790, 230, 350, 300, 390], [230, 350], [290, 360], [300, 390]], [[2990, 790, 230, 350, 300, 410], [230, 350], [300, 360], [290, 410], [230, 410]], [[3790, 790, 160, 460, 990, 570], [170, 470], [990, 460], [990, 570], [160, 560]], [[4440, 790, 330, 460, 980, 610], [330, 460], [980, 470], [980, 460], [980, 570], [980, 610], [330, 570]], [[4440, 790, 500, 450, 990, 500], [510, 450], [990, 450], [980, 500], [540, 500], [500, 490]], [[5390, 790, 20, 460, 980, 610], [20, 460], [980, 460], [980, 610], [30, 610]], [[6290, 790, 70, 460, 920, 610], [70, 460], [920, 460], [910, 600], [70, 610]], [[7140, 790, 50, 480, 930, 620], [60, 480], [930, 510], [920, 620], [50, 600]], [[6090, 0, 380, 170, 970, 330], [380, 260], [520, 260], [650, 180], [700, 170], [750, 180], [850, 240], [970, 250], [970, 330], [380, 330]], [[6790, 0, 270, 170, 630, 340], [270, 250], [300, 230], [340, 190], [380, 170], [440, 170], [510, 190], [580, 220], [630, 240], [630, 340], [270, 330]], [[7140, 0, 270, 240, 940, 340], [280, 240], [430, 250], [680, 260], [940, 270], [940, 280], [890, 280], [890, 340], [270, 340]], [[7090, 0, 940, 10, 990, 280], [990, 270], [990, 10], [940, 10], [940, 280]], [[5990, 0, 160, 220, 420, 260], [160, 260], [190, 240], [210, 230], [260, 220], [300, 220], [350, 230], [420, 260]], [[7340, 0, 80, 190, 430, 260], [80, 240], [280, 190], [430, 260]], [[4740, 0, 360, 300, 960, 410], [360, 400], [490, 410], [620, 410], [820, 380], [960, 370], [960, 300], [360, 400]], [[5490, 0, 210, 310, 910, 400], [210, 370], [900, 400], [910, 330], [210, 310]], [[6240, 0, 150, 330, 970, 400], [160, 330], [970, 330], [960, 400], [150, 400]], [[7090, 0, 110, 310, 940, 400], [110, 400], [940, 400], [940, 400], [940, 330], [110, 310], [110, 400]], [[6190, 0, 70, 260, 970, 370], [70, 260], [970, 270], [960, 370], [260, 350], [80, 340]], [[6990, 0, 50, 240, 780, 310], [60, 250], [430, 240], [780, 260], [760, 310], [50, 290]], [[2150, 50, 370, 50, 720, 550], [550, 220], [550, 50], [710, 50], [720, 370], [690, 400], [590, 460], [380, 550], [370, 550], [370, 550], [500, 440], [550, 380]], [[2150, 50, 380, 370, 720, 550], [380, 550], [450, 540], [580, 500], [660, 460], [720, 400], [720, 370]], [[3000, 450, 240, 70, 870, 360], [250, 70], [270, 70], [270, 100], [290, 140], [330, 180], [430, 240], [620, 310], [870, 350], [860, 360], [840, 360], [300, 290], [240, 280]], [[3600, 550, 410, 20, 880, 370], [410, 370], [520, 370], [640, 360], [760, 330], [830, 260], [870, 170], [880, 70], [880, 20], [770, 30], [780, 150], [680, 290], [470, 350]], [[3200, 700, 70, 290, 840, 450], [70, 290], [460, 360], [620, 370], [790, 420], [840, 420], [840, 430], [790, 450], [680, 450], [460, 420], [130, 350], [70, 340]], [[4550, 700, 330, 250, 650, 320], [650, 310], [650, 320], [620, 320], [520, 310], [460, 290], [330, 280], [330, 250], [490, 270], [650, 310]], [[4300, 350, 160, 140, 930, 400], [180, 240], [230, 240], [280, 230], [350, 220], [410, 210], [470, 210], [580, 240], [770, 330], [860, 370], [910, 400], [930, 360], [660, 200], [480, 140], [200, 200], [160, 210]], [[4950, 500, 260, 210, 390, 300], [260, 250], [310, 280], [380, 300], [390, 300], [390, 300], [390, 280], [270, 210]], [[4950, 500, 390, 290, 410, 310], [390, 290], [410, 310], [390, 300]], [[4400, 400, 70, 120, 540, 260], [80, 250], [260, 200], [330, 190], [490, 200], [540, 220], [480, 150], [260, 120], [80, 170], [70, 170], [70, 250], [70, 260], [80, 250]], [[4850, 550, 410, 230, 630, 330], [410, 230], [480, 270], [560, 310], [630, 330], [600, 290], [490, 240]], [[1920, 270, 260, 230, 300, 270], [270, 240], [300, 230], [260, 270]], [[7660, 0, 420, 10, 640, 690], [420, 10], [640, 10], [640, 690], [420, 690]], [[7660, 650, 400, 40, 640, 700], [420, 40], [640, 40], [640, 700], [400, 690]], [[7660, 1050, 400, 290, 640, 370], [410, 290], [640, 300], [640, 370], [400, 360]]], xtras:[[5650, 160, 1], [5110, 900, 1], [3580, 900, 1], [4280, 700, 1], [4120, 290, 1], [4180, 310, 9], [4140, 1210, 8], [900, 800, 13], [7640, 650, 2], [6800, 110, 1], [1570, 330, 9], [2660, 450, 9], [1260, 300, 1], [1090, 360, 1], [910, 470, 1], [640, 570, 1], [650, 710, 1], [760, 820, 1], [1110, 810, 1], [1560, 600, 1], [1720, 640, 1], [1930, 510, 1], [2580, 390, 1], [2510, 750, 1], [2810, 700, 1], [3070, 570, 1], [3870, 390, 1], [3360, 560, 1], [3550, 700, 1], [3820, 990, 1], [4040, 1050, 1], [4290, 1110, 1], [4600, 1010, 1], [4940, 780, 6], [6490, 870, 1], [5110, 480, 1], [4760, 220, 1], [4530, 430, 21], [5320, 270, 21], [4800, 300, 1], [5000, 240, 1], [5180, 200, 1], [5090, 220, 1], [4900, 260, 1], [5830, 180, 1], [6060, 180, 1], [6310, 160, 1], [6440, 90, 1], [6610, 180, 1], [7010, 190, 1], [7260, 120, 6], [7620, 110, 6], [7430, 180, 1], [4480, 440, 6], [7760, 660, 1], [7470, 660, 1], [7210, 620, 1], [7900, 650, 23], [1390, 480, 6], [2300, 360, 6], [2460, 450, 6], [2220, 610, 1], [3510, 370, 6], [3970, 840, 6], [4800, 850, 6], [5440, 210, 6], [6700, 490, 6], [6700, 550, 6], [6700, 610, 6], [6440, 600, 1], [5280, 1010, 1], [5480, 750, 1], [5710, 760, 1], [5920, 750, 1], [6160, 750, 1], [6010, 990, 1], [5820, 990, 1], [5500, 980, 1], [5400, 950, 6], [5660, 930, 6], [5920, 940, 6], [6160, 940, 6], [6390, 950, 1], [6030, 760, 6], [5800, 690, 6], [5600, 620, 6], [5310, 610, 6], [6490, 200, 6], [4470, 1060, 5], [7330, 650, 5], [7900, 230, 3], [1480, 280, 26]]}));
_global.lib.lvls.push(new com.neodelight.r2d.R2dLevel({title:"Track-9", colLine:10929199, colFill:12047930, skin:2, groundY:8000, startX:250, startY:80, map:[[[500, 300, 340, 290, 510, 600], [340, 340], [360, 340], [400, 330], [460, 310], [510, 290], [510, 600], [350, 600], [340, 600]], [[700, 300, 400, 290, 900, 360], [440, 290], [800, 290], [890, 290], [900, 300], [900, 330], [900, 350], [880, 360], [450, 360], [420, 350], [400, 330], [410, 300], [440, 290]], [[850, 300, 750, 300, 760, 350], [750, 300], [760, 310], [760, 340], [750, 350]], [[850, 300, 270, 350, 730, 600], [270, 350], [270, 600], [730, 600], [730, 360]], [[1250, 300, 470, 300, 940, 360], [470, 310], [480, 300], [930, 300], [940, 310], [940, 350], [930, 360], [480, 360], [470, 350]], [[1250, 300, 470, 360, 930, 600], [480, 360], [470, 600], [930, 600], [930, 360]], [[1700, 300, 540, 130, 950, 600], [540, 320], [650, 320], [700, 310], [760, 300], [830, 270], [890, 230], [930, 170], [950, 130], [950, 130], [950, 600], [540, 600]], [[1700, 300, 540, 130, 950, 600], [540, 320], [630, 320], [690, 310], [740, 300], [800, 280], [850, 250], [890, 220], [920, 180], [950, 130], [950, 600], [540, 600], [540, 600]], [[2050, 0, 600, 390, 640, 690], [600, 430], [610, 410], [620, 400], [640, 390], [640, 690], [600, 690]], [[2050, 550, 600, 140, 640, 350], [600, 140], [640, 140], [640, 350], [600, 350]], [[2500, 0, 330, 400, 980, 480], [350, 400], [510, 400], [930, 400], [980, 410], [980, 470], [940, 480], [350, 480], [340, 470], [330, 460], [330, 420], [350, 400]], [[2600, 300, 300, 180, 800, 600], [300, 180], [300, 600], [800, 600], [800, 180]], [[500, 50, 180, 230, 590, 430], [490, 260], [490, 270], [480, 280], [460, 300], [430, 320], [380, 350], [320, 370], [250, 390], [180, 410], [180, 430], [370, 420], [470, 410], [500, 390], [550, 340], [590, 230], [490, 230]], [[500, 50, 380, 70, 610, 230], [490, 230], [480, 180], [450, 140], [420, 110], [380, 70], [610, 70], [590, 230]], [[0, 340, 40, 450, 780, 560], [40, 450], [780, 450], [780, 560], [40, 560]], [[200, 150, 580, 480, 640, 690], [580, 480], [640, 490], [640, 690], [580, 690]], [[200, 450, 580, 390, 640, 450], [580, 390], [640, 390], [640, 450], [580, 450]], [[200, 150, 480, 440, 810, 520], [500, 470], [660, 490], [750, 460], [810, 440], [810, 520], [480, 520]], [[200, 150, 630, 440, 810, 580], [640, 490], [810, 440], [790, 530], [630, 580]], [[200, 0, 600, 10, 910, 460], [680, 120], [640, 80], [610, 30], [600, 10], [910, 10], [910, 120], [900, 290], [850, 390], [770, 460], [810, 320], [800, 180]], [[0, 0, 10, 20, 750, 260], [40, 20], [40, 170], [410, 170], [470, 170], [520, 170], [570, 180], [610, 200], [750, 240], [750, 250], [740, 260], [700, 260], [600, 240], [520, 220], [10, 230], [10, 20]], [[0, 0, 10, 200, 750, 300], [10, 230], [10, 300], [550, 300], [650, 290], [740, 260], [750, 250], [750, 240], [440, 200]], [[0, 150, 0, 150, 780, 640], [520, 150], [450, 170], [400, 200], [360, 230], [320, 270], [300, 300], [280, 340], [270, 390], [270, 430], [300, 460], [360, 490], [430, 510], [500, 510], [590, 510], [650, 500], [700, 470], [680, 520], [780, 520], [780, 640], [40, 640], [0, 640], [10, 150]], [[0, 0, 500, 460, 680, 510], [680, 460], [500, 500], [510, 510], [680, 480]], [[0, 0, 10, 10, 100, 170], [10, 20], [10, 10], [100, 10], [100, 170], [40, 170], [40, 20]], [[3150, 0, 350, 140, 980, 690], [360, 410], [440, 400], [540, 380], [600, 360], [670, 330], [720, 300], [780, 250], [820, 210], [840, 180], [860, 160], [890, 150], [940, 140], [970, 140], [980, 690], [350, 690]], [[3150, 450, 350, 240, 980, 550], [350, 240], [980, 240], [980, 550], [350, 550]], [[2950, 300, 530, 110, 560, 610], [560, 110], [530, 110], [530, 610], [550, 610]], [[2950, 600, 530, 310, 550, 400], [530, 310], [550, 310], [550, 400], [530, 400]], [[2600, 600, 300, 300, 800, 400], [300, 300], [800, 300], [800, 400], [300, 400]], [[2200, 600, 40, 300, 490, 400], [40, 300], [490, 300], [490, 400], [40, 400]], [[1500, 600, 220, 300, 680, 400], [220, 300], [680, 300], [680, 400], [220, 400]], [[800, 600, 320, 300, 780, 400], [320, 300], [780, 300], [780, 400], [320, 400]], [[50, 600, 150, 300, 960, 400], [960, 300], [960, 400], [150, 400], [150, 300], [960, 300]], [[0, 600, 0, 190, 200, 400], [0, 190], [40, 190], [40, 300], [200, 300], [200, 400], [0, 400], [0, 400]], [[3370, 390, 30, 80, 110, 610], [30, 90], [110, 80], [110, 610], [40, 610], [30, 610]], [[3170, 0, 10, 0, 820, 140], [30, 70], [90, 110], [170, 130], [290, 140], [490, 140], [570, 120], [690, 60], [780, 10], [820, 0], [10, 10], [10, 40], [30, 70]], [[3780, 0, 340, 140, 530, 410], [340, 140], [390, 150], [410, 160], [430, 180], [460, 210], [480, 230], [500, 250], [510, 260], [520, 270], [530, 280], [530, 290], [510, 310], [470, 340], [360, 400], [340, 410]], [[3780, 0, 600, 20, 920, 560], [720, 120], [740, 140], [750, 160], [770, 210], [770, 240], [770, 280], [750, 310], [720, 350], [680, 390], [600, 460], [600, 470], [610, 490], [650, 520], [710, 560], [760, 560], [860, 520], [900, 480], [920, 410], [920, 260], [890, 50], [850, 20], [810, 20], [750, 20], [710, 50], [710, 80], [720, 120]], [[3780, 250, 350, 270, 930, 670], [350, 270], [370, 300], [410, 340], [430, 370], [490, 430], [530, 460], [660, 500], [730, 510], [790, 510], [830, 510], [870, 510], [900, 520], [920, 540], [930, 560], [930, 590], [920, 620], [850, 660], [690, 670], [350, 670]], [[3780, 250, 340, 270, 370, 410], [350, 270], [340, 270], [340, 400], [370, 410], [360, 290]], [[3780, 500, 350, 370, 920, 520], [350, 420], [850, 410], [920, 370], [920, 520], [350, 500]], [[3580, 250, 490, 140, 650, 410], [560, 150], [550, 160], [540, 210], [550, 260], [590, 320], [650, 390], [550, 410], [490, 140], [560, 150]], [[4190, 220, 460, 190, 890, 670], [460, 540], [510, 530], [620, 480], [710, 410], [760, 360], [790, 310], [800, 260], [810, 230], [830, 210], [870, 190], [890, 190], [890, 670], [500, 670]], [[4190, 670, 510, 220, 890, 350], [510, 220], [890, 220], [890, 350], [510, 350]], [[4690, 150, 380, 90, 810, 670], [390, 260], [480, 260], [520, 260], [560, 250], [610, 230], [660, 180], [690, 130], [710, 100], [720, 90], [740, 90], [760, 100], [810, 140], [810, 670], [380, 670]], [[4690, 650, 390, 170, 810, 370], [390, 170], [810, 170], [810, 370], [390, 370]], [[3830, 100, 510, 310, 870, 470], [550, 360], [510, 370], [530, 390], [580, 430], [660, 470], [710, 470], [780, 450], [840, 400], [870, 310], [550, 360]], [[3830, 100, 450, 180, 510, 220], [480, 180], [500, 190], [510, 190], [470, 210], [450, 220]], [[5130, 100, 360, 120, 840, 680], [370, 190], [390, 210], [410, 220], [450, 230], [510, 230], [570, 230], [640, 210], [710, 170], [760, 150], [810, 130], [840, 120], [840, 670], [360, 680]], [[5130, 550, 370, 220, 840, 550], [370, 230], [840, 220], [830, 550], [370, 550]], [[5680, 0, 440, 230, 870, 320], [440, 260], [450, 240], [460, 230], [850, 230], [860, 240], [870, 260], [870, 300], [860, 310], [840, 320], [480, 320], [450, 310], [440, 300], [440, 260]], [[5680, 150, 440, 160, 860, 680], [450, 160], [860, 160], [860, 680], [440, 680], [440, 680], [450, 160]], [[5680, 500, 440, 330, 870, 600], [440, 330], [440, 600], [870, 600], [860, 330]], [[6380, 150, 120, 110, 490, 390], [170, 110], [290, 120], [310, 130], [350, 150], [380, 170], [410, 190], [440, 210], [460, 220], [470, 220], [490, 230], [490, 250], [480, 270], [390, 310], [260, 360], [190, 390], [160, 390], [130, 390], [120, 390]], [[6330, 150, 620, 290, 1000, 480], [620, 290], [640, 320], [670, 340], [750, 370], [850, 380], [900, 380], [960, 380], [980, 370], [1000, 350], [1000, 480], [620, 470]], [[6580, 150, 710, 220, 910, 480], [710, 380], [740, 360], [760, 340], [790, 310], [840, 260], [850, 250], [860, 240], [870, 230], [880, 220], [890, 220], [900, 240], [910, 270], [910, 480], [750, 480]], [[6830, 0, 630, 350, 780, 630], [630, 370], [640, 360], [660, 350], [680, 350], [720, 380], [780, 510], [780, 630], [660, 630]], [[5630, 0, 340, 200, 400, 690], [340, 220], [370, 210], [400, 200], [400, 690], [340, 690]], [[5630, 550, 330, 140, 400, 550], [340, 140], [400, 140], [390, 550], [330, 550]], [[2680, 0, 270, 10, 950, 180], [500, 10], [320, 10], [310, 20], [290, 50], [270, 70], [280, 100], [330, 140], [450, 170], [890, 180], [950, 140]], [[3230, 0, 340, 120, 510, 180], [340, 180], [400, 170], [510, 120], [410, 120]], [[6700, 300, 60, 320, 970, 650], [250, 320], [180, 340], [130, 380], [70, 510], [60, 650], [900, 640], [940, 630], [960, 570], [970, 420], [910, 330]], [[6700, 600, 60, 120, 990, 680], [970, 120], [990, 160], [990, 310], [970, 520], [850, 680], [200, 670], [110, 640], [60, 350]], [[7350, 700, 200, 110, 980, 640], [310, 190], [350, 200], [450, 200], [520, 190], [640, 160], [750, 120], [770, 140], [800, 180], [830, 200], [880, 210], [940, 210], [970, 210], [980, 210], [980, 640], [200, 580], [270, 170], [750, 110], [730, 130], [310, 190]], [[7350, 700, 310, 110, 730, 280], [310, 160], [730, 110], [730, 170], [430, 280], [310, 240]], [[7500, 450, 500, 290, 970, 550], [540, 290], [590, 310], [660, 360], [740, 380], [830, 390], [880, 380], [930, 350], [970, 310], [970, 550], [500, 540]], [[7650, 950, 640, 40, 820, 400], [640, 40], [820, 40], [820, 400], [670, 390]], [[7800, 300, 670, 320, 960, 690], [670, 460], [700, 400], [730, 350], [740, 330], [770, 320], [790, 320], [810, 340], [830, 430], [840, 460], [890, 480], [930, 490], [960, 490], [960, 690], [670, 690]], [[8300, 300, 300, 340, 460, 490], [310, 340], [330, 360], [380, 400], [410, 430], [440, 450], [460, 470], [460, 490], [300, 490]], [[8150, 300, 440, 210, 940, 660], [440, 320], [460, 330], [500, 360], [550, 400], [600, 440], [620, 450], [650, 450], [710, 450], [760, 430], [810, 400], [860, 340], [910, 250], [940, 210], [940, 660], [570, 660]], [[8150, 850, 300, 100, 940, 510], [300, 100], [940, 110], [940, 510], [310, 500]], [[6040, 0, 470, 230, 850, 420], [490, 230], [580, 250], [650, 270], [830, 370], [850, 380], [810, 420], [550, 340], [470, 280]], [[6040, 0, 470, 380, 850, 570], [850, 380], [850, 390], [840, 420], [780, 450], [540, 550], [500, 570], [470, 550], [470, 520]], [[8560, 150, 530, 280, 770, 670], [530, 360], [550, 340], [600, 310], [660, 290], [710, 280], [760, 280], [770, 280], [770, 660], [530, 670]], [[9060, 0, 260, 430, 620, 660], [270, 430], [540, 430], [620, 430], [620, 660], [260, 660]], [[9510, 0, 170, 430, 980, 670], [170, 430], [190, 460], [230, 490], [300, 530], [420, 580], [500, 610], [590, 630], [650, 640], [720, 640], [800, 630], [880, 600], [930, 530], [970, 460], [980, 440], [980, 670], [170, 660]], [[7350, 150, 160, 200, 890, 680], [160, 200], [210, 230], [250, 280], [300, 340], [320, 360], [340, 370], [390, 370], [430, 350], [470, 320], [510, 310], [540, 320], [570, 350], [620, 400], [660, 450], [670, 470], [690, 480], [740, 480], [770, 460], [790, 430], [830, 410], [890, 440], [780, 650], [640, 680], [300, 660]], [[7350, 450, 240, 280, 790, 460], [240, 280], [790, 340], [640, 460], [310, 450]], [[7850, 450, 230, 100, 740, 410], [290, 130], [310, 110], [330, 100], [360, 100], [370, 110], [390, 130], [400, 150], [410, 180], [430, 190], [490, 200], [550, 200], [650, 190], [720, 170], [740, 170], [560, 410], [250, 380], [230, 340]], [[9850, 200, 640, 230, 920, 470], [640, 240], [670, 230], [720, 230], [920, 230], [920, 460], [640, 470]], [[10350, 200, 420, 230, 840, 460], [420, 230], [840, 230], [840, 460], [420, 460]], [[10350, 200, 840, 10, 980, 460], [840, 460], [980, 460], [970, 10], [900, 10], [900, 230], [840, 230]], [[9230, 0, 40, 150, 590, 280], [590, 240], [580, 230], [550, 210], [490, 190], [420, 190], [90, 150], [40, 150], [40, 210], [560, 280]], [[8480, 0, 110, 100, 790, 350], [790, 150], [700, 170], [640, 200], [580, 240], [520, 280], [460, 300], [400, 300], [340, 260], [260, 190], [200, 130], [130, 100], [110, 140], [130, 200], [270, 300], [320, 330], [400, 350], [480, 350], [580, 300], [660, 240], [790, 210]], [[7880, 0, 180, 60, 730, 250], [730, 100], [680, 90], [620, 110], [520, 160], [470, 190], [410, 200], [360, 180], [290, 100], [250, 70], [210, 60], [180, 100], [250, 180], [370, 250], [430, 250], [500, 240], [570, 200], [730, 200]], [[7230, 0, 60, 50, 860, 230], [860, 60], [800, 60], [740, 90], [700, 120], [640, 140], [580, 150], [520, 160], [460, 170], [400, 140], [350, 90], [300, 60], [250, 50], [220, 50], [150, 70], [100, 100], [60, 130], [110, 180], [160, 150], [200, 130], [260, 140], [300, 170], [390, 210], [470, 230], [550, 220], [680, 210], [780, 150], [830, 100]], [[7230, 0, 680, 90, 960, 210], [680, 210], [780, 190], [800, 160], [840, 140], [880, 160], [950, 210], [960, 160], [850, 90], [740, 110]], [[7230, 0, 780, 120, 930, 190], [780, 190], [800, 180], [830, 170], [860, 170], [900, 190], [930, 190], [930, 160], [880, 120], [790, 130]], [[6760, 0, 290, 10, 580, 200], [530, 130], [330, 130], [330, 10], [290, 10], [290, 140], [290, 200], [510, 200], [530, 200], [550, 200], [560, 200], [580, 180]], [[6360, 0, 180, 380, 600, 610], [530, 380], [570, 420], [590, 440], [600, 460], [450, 530], [180, 610], [180, 550]], [[5710, 0, 370, 190, 550, 270], [370, 190], [450, 220], [550, 240], [410, 270]], [[4950, 0, 210, 210, 310, 230], [210, 210], [210, 210], [310, 210], [310, 230], [210, 230], [210, 210]], [[4450, 0, 420, 10, 710, 230], [710, 210], [470, 210], [470, 10], [420, 10], [420, 230], [710, 230]], [[4450, 0, 80, 10, 420, 40], [80, 20], [80, 10], [420, 10], [420, 40], [170, 20], [80, 20]], [[4450, 0, 80, 20, 420, 230], [80, 20], [420, 30], [420, 230], [150, 230]], [[4450, 0, 250, 230, 810, 270], [250, 230], [300, 260], [360, 270], [410, 270], [490, 270], [590, 260], [810, 230]], [[4450, 0, 240, 230, 310, 260], [250, 230], [310, 260], [250, 250], [240, 230]], [[9530, 140, 260, 100, 810, 310], [290, 100], [340, 140], [390, 180], [470, 220], [660, 280], [730, 290], [810, 270], [790, 280], [720, 310], [650, 300], [510, 280], [380, 230], [260, 140]], [[9530, 140, 720, 270, 810, 310], [810, 270], [790, 290], [720, 310]], [[10450, 140, 40, 270, 400, 300], [40, 300], [70, 290], [140, 270], [400, 290], [40, 300]], [[10910, 0, 340, 70, 720, 660], [340, 210], [340, 150], [350, 120], [380, 90], [420, 70], [490, 70], [560, 80], [630, 100], [670, 130], [690, 170], [720, 250], [720, 660], [420, 660]], [[9010, 400, 80, 250, 950, 690], [80, 420], [80, 250], [950, 250], [950, 680], [80, 690]], [[9010, 800, 40, 280, 950, 570], [40, 290], [950, 280], [950, 570], [70, 560]], [[9860, 550, 80, 100, 990, 660], [80, 100], [990, 100], [990, 660], [80, 660]], [[9910, 850, 40, 360, 940, 550], [40, 360], [940, 360], [940, 550], [50, 520]], [[10810, 550, 30, 110, 820, 680], [30, 110], [820, 110], [820, 680], [30, 680]], [[10810, 950, 10, 280, 820, 450], [10, 280], [820, 280], [820, 450], [40, 450]], [[9160, 0, 510, 430, 630, 520], [520, 430], [540, 450], [630, 520], [540, 490], [510, 490]], [[0, 300, 500, 170, 710, 220], [500, 200], [500, 210], [510, 220], [570, 210], [710, 180], [710, 170]], [[0, 0, 10, 0, 110, 180], [10, 10], [60, 0], [100, 10], [110, 20], [110, 40], [110, 60], [110, 90], [110, 150], [100, 170], [10, 180]], [[6700, 0, 340, 10, 640, 210], [620, 200], [600, 210], [540, 210], [350, 210], [340, 200], [340, 10], [370, 10], [400, 10], [410, 20], [410, 110], [400, 130], [390, 130], [590, 130], [640, 180], [620, 200]]], xtras:[[9500, 160, 10], [440, 80, 16], [7130, 520, 10], [4640, 650, 1], [6440, 120, 1], [9710, 390, 1], [8600, 520, 1], [5670, 230, 11], [5090, 180, 3], [580, 130, 1], [680, 180, 1], [830, 230, 1], [750, 390, 1], [350, 510, 6], [500, 600, 1], [710, 570, 1], [990, 530, 1], [1170, 470, 6], [1310, 540, 1], [1440, 540, 1], [1560, 550, 1], [1760, 560, 1], [1860, 560, 1], [1990, 560, 1], [2150, 570, 1], [2280, 570, 1], [2460, 540, 1], [2890, 260, 6], [2640, 350, 1], [3040, 350, 1], [3200, 350, 1], [3420, 340, 1], [3660, 320, 1], [3860, 240, 1], [4170, 60, 6], [4480, 240, 1], [4230, 550, 1], [4460, 680, 1], [4220, 420, 6], [4820, 620, 1], [4920, 480, 1], [5090, 320, 6], [5430, 130, 6], [5280, 300, 1], [5270, 40, 1], [5270, 110, 1], [5840, 200, 1], [6170, 90, 6], [6710, 210, 1], [6920, 320, 1], [7230, 440, 1], [7510, 260, 6], [7720, 450, 1], [7880, 380, 1], [8060, 550, 1], [8230, 420, 1], [8390, 580, 1], [8870, 670, 1], [9030, 500, 1], [9230, 360, 1], [9470, 360, 1], [10000, 540, 1], [10250, 570, 1], [10430, 440, 1], [10630, 340, 1], [10440, 250, 6], [10190, 310, 1], [11090, 340, 24], [9810, 100, 1], [9610, 70, 1], [9240, 70, 1], [8960, 220, 1], [8580, 30, 1], [8310, 140, 1], [7770, 110, 1], [8080, 20, 6], [7240, 60, 21], [7460, 10, 2], [10840, 320, 5], [7610, 30, 5], [4000, 100, 5], [9980, 220, 6], [10730, 340, 6], [9120, 400, 6], [10440, 320, 6], [10370, 280, 6], [10510, 290, 6], [8790, 120, 6], [7320, 50, 6], [6000, 90, 6], [3930, 160, 6], [2770, 250, 6], [1950, 490, 6], [870, 310, 6], [280, 90, 26]]}));
_global.lib.lvls.push(new com.neodelight.r2d.R2dLevel({title:"Track-10", colLine:10929199, colFill:12047930, skin:2, groundY:8000, startX:760, startY:150, map:[[[250, 0, 0, 30, 370, 520], [200, 50], [130, 80], [80, 130], [60, 180], [50, 240], [50, 310], [90, 370], [150, 430], [240, 470], [370, 500], [270, 520], [0, 520], [0, 30], [220, 30], [200, 50]], [[200, 0, 370, 230, 940, 280], [380, 270], [420, 250], [460, 230], [800, 230], [870, 250], [910, 270], [940, 280], [370, 280], [380, 270]], [[700, 0, 400, 10, 830, 500], [600, 30], [640, 50], [680, 90], [700, 130], [720, 190], [720, 290], [670, 370], [560, 430], [400, 500], [630, 450], [780, 440], [810, 410], [830, 190], [800, 20], [580, 10], [600, 30]], [[50, 0, 110, 30, 200, 330], [200, 30], [110, 30], [110, 330], [200, 330]], [[400, 240, 140, 440, 900, 500], [250, 440], [730, 440], [860, 460], [900, 470], [860, 490], [250, 500], [140, 480], [250, 440]], [[400, 240, 90, 380, 920, 500], [100, 460], [230, 400], [300, 380], [700, 380], [920, 460], [860, 490], [230, 500], [90, 470], [100, 460]], [[0, 290, 160, 40, 900, 690], [250, 40], [160, 40], [160, 690], [900, 690], [900, 610], [240, 610], [250, 230]], [[650, 390, 250, 510, 890, 610], [250, 510], [890, 510], [870, 610], [250, 590]], [[50, 390, 170, 270, 510, 530], [190, 270], [240, 350], [310, 400], [420, 480], [510, 520], [170, 530]], [[1000, 390, 260, 310, 530, 370], [320, 310], [400, 330], [500, 360], [530, 370], [280, 350], [260, 340], [260, 340]], [[1000, 390, 220, 340, 280, 350], [280, 350], [220, 340], [220, 340], [270, 340], [280, 350]], [[450, 390, 40, 320, 820, 360], [820, 350], [180, 360], [40, 320], [800, 330], [820, 350]], [[550, 140, 550, 270, 960, 360], [550, 360], [960, 360], [960, 270]], [[1150, 400, 370, 500, 750, 600], [390, 500], [670, 500], [750, 500], [750, 600], [370, 600]], [[1550, 400, 340, 20, 850, 600], [350, 500], [450, 490], [490, 470], [560, 430], [620, 390], [660, 350], [710, 260], [750, 140], [750, 60], [730, 20], [850, 20], [850, 600], [340, 600]], [[1700, 400, 130, 20, 700, 600], [290, 490], [340, 470], [440, 410], [490, 370], [540, 300], [590, 170], [610, 90], [580, 20], [700, 20], [700, 600], [130, 600], [150, 510], [290, 490]], [[1360, 130, 150, 300, 800, 470], [150, 300], [190, 350], [300, 420], [460, 440], [580, 440], [700, 430], [760, 410], [800, 370], [800, 390], [750, 440], [550, 470], [270, 460], [150, 370], [150, 300]], [[1860, 130, 540, 180, 990, 690], [540, 290], [580, 290], [630, 280], [680, 260], [740, 230], [780, 210], [820, 190], [880, 180], [950, 190], [980, 230], [990, 270], [990, 680], [540, 690]], [[2060, 480, 340, 330, 790, 530], [340, 340], [790, 330], [790, 530], [340, 520]], [[2310, 0, 500, 320, 810, 670], [500, 320], [600, 340], [700, 380], [750, 420], [800, 470], [810, 510], [800, 560], [730, 620], [540, 670]], [[2670, 200, 730, 110, 960, 490], [880, 110], [830, 130], [780, 170], [750, 210], [730, 270], [730, 330], [780, 430], [860, 470], [910, 490], [960, 490]], [[2720, 350, 680, 180, 930, 420], [680, 180], [710, 250], [740, 310], [770, 360], [810, 390], [870, 410], [910, 420], [930, 420], [910, 340]], [[2520, 550, 330, 120, 840, 470], [330, 120], [390, 220], [480, 300], [570, 360], [690, 420], [780, 440], [840, 440], [840, 470], [330, 460]], [[2970, 550, 390, 260, 880, 470], [390, 440], [480, 440], [570, 420], [730, 380], [810, 340], [830, 320], [880, 260], [870, 470], [390, 470]], [[3320, 300, 520, 450, 570, 670], [530, 510], [550, 480], [570, 450], [570, 670], [520, 670]], [[3320, 650, 520, 320, 570, 370], [520, 320], [570, 320], [570, 370], [520, 370]], [[3570, 250, 320, 470, 350, 660], [320, 500], [330, 490], [340, 480], [350, 470], [350, 660], [320, 660]], [[3570, 650, 320, 260, 350, 370], [320, 260], [350, 260], [350, 370], [320, 370]], [[3720, 350, 320, 240, 700, 670], [330, 370], [410, 350], [530, 310], [600, 280], [700, 240], [690, 670], [320, 670]], [[4120, 350, 290, 240, 990, 670], [300, 240], [390, 290], [450, 250], [540, 290], [600, 250], [680, 290], [740, 250], [820, 290], [880, 250], [950, 290], [990, 250], [990, 650], [290, 670]], [[4820, 350, 290, 250, 720, 650], [290, 250], [350, 290], [420, 250], [500, 290], [580, 250], [650, 290], [710, 250], [720, 650], [290, 650]], [[4320, 300, 20, 30, 990, 100], [30, 40], [80, 100], [180, 50], [280, 100], [370, 50], [470, 100], [570, 50], [660, 100], [720, 60], [730, 50], [800, 100], [890, 60], [970, 100], [990, 100], [990, 30], [20, 30], [30, 40]], [[4870, 300, 420, 30, 650, 110], [420, 100], [440, 110], [500, 60], [560, 100], [650, 60], [650, 30], [440, 30]], [[4870, 300, 650, 30, 690, 60], [650, 30], [690, 30], [650, 60]], [[4870, 300, 650, 30, 700, 60], [650, 60], [690, 40], [700, 30], [690, 30]], [[4870, 200, 650, 400, 880, 680], [660, 400], [730, 400], [870, 400], [880, 670], [650, 680]], [[5410, 350, 120, 250, 920, 650], [330, 250], [910, 250], [920, 650], [130, 650], [120, 250]], [[6060, 550, 230, 270, 800, 480], [230, 280], [800, 270], [800, 470], [230, 480]], [[5410, 550, 20, 450, 880, 500], [880, 480], [20, 500], [20, 450], [880, 450]], [[4560, 550, 860, 450, 870, 500], [870, 500], [860, 450], [870, 450], [870, 490]], [[4560, 550, 40, 450, 870, 510], [860, 450], [40, 460], [40, 510], [870, 500]], [[3710, 550, 330, 460, 890, 520], [330, 470], [890, 460], [890, 510], [330, 520]], [[4160, 100, 180, 120, 990, 240], [180, 230], [180, 120], [990, 120], [990, 240]], [[4910, 100, 230, 120, 880, 240], [240, 120], [880, 130], [880, 190], [620, 240], [230, 240]], [[4260, 0, 80, 150, 990, 220], [80, 220], [170, 150], [230, 220], [320, 160], [430, 220], [540, 160], [630, 220], [730, 150], [900, 220], [970, 150], [990, 220]], [[4970, 0, 260, 150, 760, 250], [260, 150], [420, 220], [440, 230], [580, 150], [760, 230], [730, 250], [270, 250]], [[3270, 0, 100, 180, 290, 530], [290, 190], [270, 180], [220, 180], [160, 190], [110, 260], [100, 310], [100, 390], [130, 530], [280, 310]], [[4710, 0, 340, 150, 700, 230], [390, 190], [520, 150], [700, 230], [390, 230], [340, 230], [390, 190]], [[4160, 0, 270, 150, 360, 250], [270, 150], [360, 200], [280, 250]], [[4160, 0, 520, 160, 760, 240], [520, 220], [640, 160], [760, 210], [530, 240]], [[4160, 0, 690, 200, 770, 240], [690, 200], [770, 220], [710, 240]], [[3210, 0, 170, 10, 460, 260], [390, 10], [350, 20], [320, 40], [280, 70], [230, 130], [180, 230], [170, 260], [350, 190], [350, 150], [360, 90], [400, 70], [450, 40], [460, 20], [430, 10], [390, 10]], [[6130, 150, 190, 70, 730, 680], [190, 450], [270, 450], [330, 440], [380, 420], [410, 400], [470, 350], [550, 260], [590, 170], [600, 110], [600, 70], [720, 70], [730, 670], [200, 680]], [[6010, 0, 290, 220, 740, 660], [290, 610], [370, 600], [460, 570], [550, 500], [600, 440], [620, 400], [640, 310], [640, 230], [630, 220], [740, 220], [690, 510], [370, 660], [290, 610]], [[5760, 0, 820, 220, 960, 490], [880, 220], [890, 260], [890, 320], [870, 380], [840, 450], [820, 490], [910, 440], [940, 400], [960, 370]], [[5760, 0, 880, 220, 900, 240], [880, 220], [900, 220], [900, 240], [890, 240], [880, 220]], [[5700, 0, 90, 230, 810, 430], [90, 230], [110, 260], [140, 300], [170, 330], [210, 360], [280, 390], [340, 400], [440, 400], [540, 400], [620, 400], [690, 390], [720, 380], [750, 360], [770, 340], [790, 310], [810, 290], [800, 310], [750, 390], [610, 430], [330, 430], [210, 410], [110, 330], [90, 290]], [[5700, 0, 610, 390, 750, 430], [610, 430], [650, 430], [700, 420], [750, 390], [610, 430]], [[6520, 0, 320, 220, 570, 670], [330, 220], [570, 220], [570, 670], [320, 670]], [[6520, 500, 330, 170, 570, 520], [330, 170], [570, 170], [570, 500], [570, 520], [340, 520]], [[6770, 100, 310, 120, 990, 680], [320, 120], [380, 130], [420, 140], [460, 160], [500, 210], [520, 260], [530, 290], [550, 310], [580, 330], [600, 340], [640, 340], [700, 340], [740, 330], [770, 290], [780, 250], [790, 190], [800, 180], [810, 180], [820, 190], [840, 220], [850, 250], [870, 320], [890, 360], [920, 380], [990, 400], [990, 680], [310, 680]], [[6870, 550, 220, 230, 890, 550], [220, 230], [890, 230], [890, 550], [220, 540]], [[7320, 450, 440, 50, 730, 650], [440, 50], [550, 80], [650, 100], [720, 120], [730, 650], [440, 650]], [[7820, 250, 500, 20, 860, 470], [740, 140], [740, 190], [720, 260], [650, 360], [620, 390], [560, 430], [500, 450], [540, 470], [650, 450], [730, 410], [800, 330], [840, 250], [860, 170], [860, 130], [860, 30], [840, 20], [800, 20], [760, 30], [740, 60], [740, 100], [740, 140]], [[7820, 500, 220, 190, 900, 600], [220, 190], [260, 240], [320, 300], [450, 380], [580, 420], [700, 430], [800, 430], [850, 420], [880, 440], [900, 490], [900, 530], [860, 550], [230, 600]], [[7820, 500, 230, 530, 900, 600], [900, 530], [900, 560], [870, 590], [830, 600], [230, 600]], [[8470, 650, 200, 270, 730, 330], [200, 270], [730, 270], [730, 330], [250, 330]], [[8470, 650, 700, 270, 980, 450], [730, 270], [790, 300], [890, 330], [980, 330], [980, 450], [740, 450], [710, 430], [700, 380], [700, 340], [710, 300]], [[8470, 650, 250, 330, 730, 360], [250, 330], [330, 340], [410, 350], [480, 350], [550, 360], [630, 350], [730, 330]], [[8470, 650, 200, 200, 790, 300], [200, 270], [290, 220], [370, 270], [380, 260], [390, 240], [400, 220], [420, 210], [440, 210], [470, 220], [490, 240], [510, 260], [530, 270], [570, 270], [600, 260], [630, 240], [650, 220], [660, 210], [680, 200], [700, 200], [710, 210], [730, 240], [760, 270], [790, 300]], [[8470, 650, 200, 210, 380, 270], [200, 270], [210, 260], [230, 240], [250, 220], [270, 210], [290, 210], [310, 220], [330, 240], [350, 250], [380, 270]], [[8470, 250, 160, 330, 840, 490], [200, 470], [220, 450], [250, 440], [280, 440], [320, 450], [330, 460], [370, 470], [400, 460], [410, 450], [430, 440], [450, 440], [480, 450], [510, 460], [520, 470], [550, 480], [590, 470], [610, 450], [630, 440], [660, 440], [690, 450], [740, 480], [790, 490], [830, 440], [840, 410], [830, 380], [810, 350], [760, 340], [580, 330], [420, 330], [250, 330], [210, 330], [190, 350], [160, 390], [170, 430], [200, 470]], [[8470, 250, 350, 640, 390, 670], [350, 650], [370, 650], [390, 640], [390, 660], [360, 670]], [[8470, 250, 210, 10, 810, 350], [210, 330], [270, 300], [280, 290], [300, 290], [330, 280], [380, 270], [390, 230], [390, 160], [370, 100], [320, 40], [320, 30], [350, 20], [420, 10], [530, 10], [640, 10], [690, 10], [730, 30], [720, 90], [710, 130], [690, 210], [680, 260], [690, 280], [740, 310], [810, 350]], [[8470, 0, 90, 50, 230, 310], [90, 310], [100, 240], [100, 150], [100, 100], [110, 70], [140, 50], [170, 50], [210, 60], [230, 80], [230, 140], [210, 280]], [[8470, 0, 270, 40, 790, 280], [320, 280], [300, 230], [270, 170], [270, 110], [270, 70], [280, 50], [340, 40], [440, 40], [590, 40], [710, 40], [740, 40], [770, 40], [790, 60], [790, 110], [780, 160], [720, 280]], [[6950, 0, 310, 280, 840, 510], [350, 380], [370, 400], [400, 410], [460, 420], [490, 420], [510, 420], [540, 410], [570, 380], [590, 340], [610, 290], [620, 280], [630, 280], [650, 300], [690, 410], [710, 460], [760, 490], [840, 510], [310, 440]], [[6950, 0, 280, 260, 350, 390], [280, 260], [330, 320], [350, 380], [340, 390]], [[6150, 500, 100, 220, 260, 390], [120, 220], [260, 240], [240, 390], [100, 390]], [[8900, 500, 270, 350, 620, 600], [270, 350], [320, 410], [350, 440], [370, 450], [420, 460], [510, 470], [560, 470], [600, 460], [620, 450], [620, 600], [300, 600]], [[9150, 500, 370, 400, 450, 600], [370, 450], [430, 410], [450, 400], [450, 600], [370, 600]], [[9300, 500, 450, 350, 980, 600], [450, 430], [470, 460], [520, 490], [580, 500], [640, 500], [730, 500], [790, 500], [850, 480], [900, 460], [930, 430], [950, 400], [980, 350], [980, 600], [460, 600]], [[9850, 500, 430, 330, 950, 600], [430, 350], [440, 340], [460, 330], [470, 330], [490, 340], [510, 360], [540, 390], [580, 410], [630, 430], [650, 430], [690, 420], [710, 410], [750, 380], [770, 360], [780, 340], [790, 330], [800, 330], [810, 340], [830, 360], [850, 390], [880, 410], [910, 420], [950, 420], [950, 600], [430, 590]], [[10500, 500, 300, 340, 990, 600], [300, 420], [400, 420], [500, 340], [600, 420], [700, 340], [800, 420], [900, 340], [990, 420], [990, 600], [300, 600]], [[11100, 500, 390, 340, 1000, 600], [390, 420], [540, 340], [700, 420], [800, 340], [900, 420], [1000, 340], [990, 600], [390, 600]], [[11800, 500, 290, 340, 1000, 600], [300, 340], [500, 420], [700, 340], [900, 420], [1000, 340], [1000, 600], [290, 600]], [[12350, 500, 450, 340, 950, 600], [450, 340], [630, 420], [780, 340], [950, 420], [950, 600], [450, 600]], [[12900, 500, 400, 340, 940, 600], [400, 420], [600, 340], [800, 420], [940, 340], [940, 600], [400, 600]], [[11800, 500, 100, 340, 300, 420], [100, 340], [300, 340], [200, 420]], [[9850, 500, 320, 150, 560, 220], [330, 200], [350, 180], [380, 160], [430, 150], [480, 150], [520, 160], [550, 190], [560, 200], [550, 220], [520, 200], [490, 190], [420, 190], [370, 200], [340, 220], [320, 210]], [[10200, 500, 340, 140, 550, 230], [360, 230], [380, 210], [390, 200], [410, 190], [430, 190], [460, 190], [490, 190], [510, 200], [530, 220], [540, 230], [550, 200], [550, 180], [530, 150], [500, 140], [460, 140], [410, 140], [370, 150], [350, 170], [340, 190], [350, 220], [360, 230]], [[10600, 500, 300, 100, 900, 230], [300, 230], [400, 150], [500, 220], [600, 150], [700, 220], [800, 150], [900, 220], [900, 100], [300, 100]], [[11100, 500, 390, 100, 800, 220], [400, 220], [540, 150], [700, 220], [800, 160], [800, 100], [390, 100]], [[11500, 500, 400, 100, 800, 200], [400, 160], [600, 160], [800, 200], [800, 100], [400, 100]], [[11950, 500, 350, 100, 850, 200], [350, 200], [550, 170], [750, 200], [850, 170], [850, 100], [350, 100]], [[12600, 500, 200, 100, 900, 200], [200, 170], [380, 200], [530, 170], [700, 200], [900, 150], [900, 100], [200, 100]], [[13250, 500, 250, 100, 610, 200], [250, 150], [450, 200], [610, 140], [610, 100], [250, 100]], [[9850, 150, 270, 40, 630, 520], [380, 510], [390, 420], [330, 280], [280, 190], [270, 130], [270, 90], [330, 50], [480, 40], [570, 40], [630, 70], [630, 110], [610, 160], [590, 300], [550, 410], [530, 520]], [[10240, 50, 280, 170, 560, 600], [330, 600], [300, 550], [280, 470], [280, 340], [310, 220], [330, 180], [370, 170], [420, 170], [490, 170], [540, 190], [550, 240], [560, 330], [550, 420], [530, 510], [490, 600]], [[10840, 150, 40, 130, 960, 470], [60, 450], [40, 380], [50, 270], [50, 190], [160, 160], [280, 130], [530, 140], [870, 130], [960, 130], [960, 470]], [[11690, 150, 90, 130, 950, 460], [110, 130], [930, 130], [950, 460], [90, 460]], [[12490, 150, 120, 130, 960, 480], [130, 130], [960, 130], [950, 480], [120, 470]], [[13090, 150, 340, 130, 790, 460], [360, 130], [700, 130], [750, 160], [790, 280], [770, 450], [340, 460]], [[13640, 500, 200, 60, 910, 600], [200, 340], [240, 330], [320, 320], [430, 320], [510, 320], [600, 310], [690, 280], [780, 220], [870, 110], [910, 60], [900, 600], [200, 600]], [[10390, 0, 500, 220, 730, 340], [730, 280], [690, 270], [600, 240], [560, 230], [530, 220], [500, 340]], [[10390, 0, 130, 160, 410, 350], [130, 160], [170, 200], [210, 210], [290, 210], [340, 210], [380, 210], [410, 220], [410, 350], [150, 310]], [[9940, 0, 140, 150, 550, 240], [160, 150], [180, 180], [220, 200], [470, 200], [500, 190], [520, 180], [540, 170], [550, 200], [540, 230], [180, 240], [160, 220], [140, 180]], [[9040, 400, 300, 230, 580, 290], [300, 230], [330, 270], [370, 290], [410, 290], [490, 290], [540, 280], [560, 260], [580, 240]], [[9040, 100, 300, 20, 600, 540], [300, 530], [310, 460], [350, 430], [400, 390], [430, 320], [400, 270], [340, 230], [300, 120], [300, 20], [560, 20], [600, 20], [600, 120], [580, 210], [540, 260], [510, 320], [560, 390], [580, 430], [580, 460], [580, 530], [580, 540]], [[9040, 400, 280, 230, 580, 330], [310, 320], [350, 330], [420, 330], [510, 310], [570, 290], [580, 240], [300, 230], [290, 240], [280, 270], [280, 300], [310, 320]], [[9440, 350, 210, 50, 760, 310], [270, 270], [290, 240], [320, 210], [370, 190], [470, 180], [540, 180], [610, 200], [660, 240], [700, 300], [700, 310], [730, 310], [760, 280], [760, 240], [700, 160], [630, 80], [590, 60], [550, 50], [470, 50], [400, 60], [330, 90], [270, 140], [230, 190], [210, 230], [210, 270], [230, 280], [270, 270]], [[9440, 0, 240, 130, 680, 500], [260, 490], [280, 450], [250, 380], [240, 240], [240, 130], [600, 130], [600, 340], [630, 410], [680, 490], [270, 500], [260, 490]], [[9640, 0, 430, 120, 460, 180], [460, 150], [450, 140], [430, 120], [440, 180]], [[9590, 0, 60, 80, 460, 180], [90, 130], [80, 100], [60, 80], [80, 90], [120, 110], [210, 120], [450, 130], [460, 130], [440, 180]], [[9140, 0, 150, 20, 500, 120], [160, 30], [210, 60], [330, 100], [500, 120], [200, 120], [180, 100], [160, 70], [150, 50], [150, 30], [150, 20], [160, 30]], [[8440, 0, 300, 10, 360, 70], [300, 70], [300, 10], [360, 10], [360, 40]], [[10740, 0, 80, 200, 180, 570], [180, 220], [130, 200], [120, 260], [100, 300], [100, 330], [100, 370], [100, 430], [80, 440], [100, 480], [160, 570]], [[9790, 0, 280, 120, 400, 220], [280, 120], [340, 170], [370, 190], [400, 200], [380, 220], [340, 220]], [[9940, 0, 580, 160, 680, 220], [580, 160], [610, 180], [640, 200], [670, 210], [680, 220], [620, 220]], [[12960, 0, 310, 190, 620, 280], [310, 280], [320, 260], [350, 230], [370, 220], [410, 200], [440, 190], [470, 190], [500, 200], [530, 220], [570, 250], [600, 270], [620, 280], [310, 280]], [[12510, 0, 200, 180, 570, 290], [200, 280], [220, 250], [260, 210], [310, 190], [380, 180], [410, 180], [450, 190], [480, 210], [500, 230], [540, 270], [570, 290], [200, 280]], [[11960, 0, 310, 130, 660, 280], [310, 280], [330, 230], [360, 170], [390, 140], [420, 130], [460, 130], [500, 140], [550, 180], [570, 210], [610, 250], [660, 280], [310, 280]], [[11810, 0, 110, 170, 470, 320], [470, 250], [450, 270], [420, 290], [350, 280], [320, 220], [310, 190], [290, 180], [250, 170], [200, 180], [170, 210], [140, 250], [110, 280], [120, 320], [460, 320]], [[11810, 0, 320, 220, 470, 310], [320, 220], [340, 240], [370, 250], [410, 260], [470, 250], [450, 310], [340, 300]], [[11810, 0, 280, 190, 400, 260], [310, 190], [330, 220], [350, 240], [400, 260], [280, 250]], [[11360, 0, 320, 250, 480, 280], [320, 280], [340, 260], [360, 250], [380, 250], [420, 250], [440, 250], [460, 260], [470, 270], [480, 280], [320, 280]], [[7560, 150, 430, 410, 570, 560], [480, 420], [520, 420], [570, 410], [510, 450], [490, 460], [480, 500], [480, 540], [500, 560], [430, 540]], [[3460, 350, 460, 340, 520, 670], [460, 370], [470, 360], [490, 350], [520, 340], [520, 670], [460, 670]], [[13750, 240, 40, 40, 570, 370], [120, 290], [160, 330], [230, 360], [340, 370], [440, 370], [530, 350], [570, 320], [550, 320], [420, 340], [340, 320], [230, 270], [180, 210], [90, 70], [40, 40], [120, 290]], [[13550, 160, 240, 120, 290, 150], [290, 150], [280, 140], [250, 120], [240, 120], [240, 150], [290, 150]], [[13900, 450, 640, 90, 880, 650], [650, 110], [660, 100], [690, 90], [740, 90], [810, 90], [870, 90], [880, 650], [640, 650]], [[14500, 460, 270, 80, 900, 640], [270, 80], [300, 120], [340, 160], [410, 190], [460, 200], [490, 200], [530, 190], [580, 160], [610, 100], [620, 80], [630, 80], [650, 100], [680, 150], [710, 170], [760, 180], [810, 180], [850, 160], [880, 110], [890, 90], [900, 640], [280, 640]], [[15110, 300, 270, 240, 920, 650], [280, 250], [290, 240], [300, 240], [310, 260], [330, 300], [360, 330], [410, 340], [470, 340], [530, 320], [570, 270], [600, 260], [630, 280], [670, 320], [710, 340], [780, 340], [820, 320], [860, 270], [890, 250], [920, 270], [920, 650], [270, 650]], [[15110, 550, 290, 400, 920, 550], [290, 400], [920, 400], [920, 550], [290, 550]], [[15660, 500, 340, 50, 890, 600], [340, 50], [350, 50], [370, 60], [390, 100], [420, 140], [480, 170], [520, 170], [580, 160], [630, 130], [660, 100], [670, 100], [690, 120], [730, 160], [760, 170], [800, 170], [850, 140], [890, 100], [890, 600], [370, 600]], [[16260, 450, 290, 150, 840, 650], [290, 150], [300, 150], [330, 180], [380, 220], [420, 240], [470, 240], [530, 220], [580, 170], [610, 150], [620, 150], [640, 170], [670, 220], [710, 260], [740, 260], [770, 250], [810, 220], [840, 160], [840, 650], [290, 650]], [[16260, 300, 840, 290, 960, 600], [840, 310], [860, 300], [900, 290], [930, 290], [960, 290], [960, 600], [840, 600], [840, 600]], [[16260, 550, 620, 50, 840, 190], [620, 50], [650, 70], [670, 90], [700, 110], [760, 110], [800, 90], [840, 60], [830, 120], [700, 190], [680, 160]], [[16260, 550, 840, 350, 960, 550], [840, 350], [960, 350], [960, 550], [840, 550]], [[16860, 300, 360, 290, 940, 650], [360, 290], [940, 290], [940, 650], [360, 650]], [[16860, 650, 360, 300, 940, 450], [360, 300], [940, 300], [940, 450], [360, 450]], [[14270, 450, 500, 90, 850, 250], [500, 90], [850, 90], [830, 180], [620, 250], [500, 140]], [[14170, 250, 490, 270, 750, 300], [490, 290], [540, 270], [750, 300], [490, 290]], [[14170, 250, 110, 300, 190, 340], [110, 340], [190, 300], [120, 310], [110, 340]], [[14620, 250, 510, 290, 780, 420], [510, 290], [780, 290], [740, 380], [620, 420], [540, 370]], [[17170, 500, 630, 90, 730, 600], [630, 90], [730, 90], [730, 600], [630, 600]], [[15270, 100, 280, 40, 900, 300], [330, 260], [350, 240], [380, 230], [420, 230], [460, 240], [490, 260], [540, 290], [580, 300], [620, 290], [670, 260], [690, 250], [710, 240], [740, 240], [780, 260], [830, 290], [900, 300], [900, 40], [280, 40], [280, 40], [280, 260], [290, 270], [330, 260]], [[15820, 100, 340, 20, 680, 330], [350, 300], [390, 320], [450, 320], [500, 300], [530, 300], [550, 320], [590, 330], [630, 320], [680, 300], [680, 20], [340, 40]], [[16170, 100, 330, 20, 680, 350], [330, 300], [400, 320], [470, 340], [530, 350], [600, 340], [680, 310], [670, 20], [330, 20]], [[16620, 100, 220, 20, 500, 350], [230, 310], [310, 340], [370, 350], [440, 340], [500, 300], [500, 20], [220, 20]], [[16820, 100, 300, 20, 650, 300], [300, 20], [650, 20], [650, 100], [560, 120], [520, 130], [480, 160], [420, 210], [300, 300]], [[0, 0, 0, 30, 160, 690], [160, 30], [0, 30], [0, 690], [160, 690], [160, 30]], [[0, 350, 0, 340, 160, 630], [0, 340], [160, 340], [160, 630], [10, 630], [0, 630]], [[0, 700, 0, 280, 880, 550], [0, 280], [0, 550], [870, 550], [880, 280]], [[750, 700, 120, 280, 990, 560], [130, 280], [990, 290], [990, 560], [120, 550]], [[1450, 700, 280, 300, 960, 580], [280, 300], [960, 300], [960, 580], [290, 560]], [[2350, 700, 60, 300, 970, 600], [60, 300], [970, 320], [970, 600], [60, 580]], [[3200, 700, 110, 320, 780, 600], [110, 320], [780, 320], [780, 600], [120, 600]], [[3900, 700, 130, 360, 980, 600], [140, 360], [980, 360], [980, 600], [130, 600]], [[4550, 700, 270, 340, 980, 600], [270, 350], [270, 600], [980, 600], [970, 340]], [[5500, 700, 20, 320, 980, 600], [20, 340], [970, 320], [980, 600], [30, 600]], [[6350, 700, 120, 300, 950, 600], [120, 330], [720, 300], [950, 310], [950, 600], [130, 600]], [[7200, 700, 90, 390, 970, 610], [90, 390], [970, 400], [970, 600], [100, 610]], [[7950, 700, 190, 270, 850, 600], [770, 270], [190, 350], [220, 600], [850, 600]], [[8450, 700, 250, 260, 800, 610], [250, 260], [730, 270], [800, 570], [800, 610], [350, 600]], [[9000, 700, 200, 400, 600, 610], [200, 400], [600, 400], [600, 600], [240, 610]], [[9700, 800, 60, 280, 990, 600], [60, 280], [990, 290], [990, 600], [70, 600]], [[10650, 800, 30, 280, 980, 600], [30, 280], [980, 300], [970, 600], [40, 600]], [[11500, 800, 120, 300, 980, 600], [130, 300], [980, 300], [980, 600], [120, 600]], [[12400, 800, 80, 300, 940, 600], [80, 300], [940, 300], [940, 600], [80, 600], [80, 600]], [[13200, 800, 140, 300, 970, 600], [140, 300], [970, 300], [970, 600], [140, 600]], [[14000, 800, 160, 300, 960, 600], [170, 300], [960, 300], [950, 600], [160, 600]], [[14750, 800, 200, 300, 980, 600], [210, 300], [970, 300], [980, 600], [200, 600]], [[15550, 800, 160, 300, 980, 600], [160, 300], [980, 300], [980, 600], [180, 600]], [[16500, 800, 20, 300, 950, 600], [20, 300], [950, 300], [950, 600], [30, 600]], [[17250, 800, 200, 300, 650, 600], [200, 300], [650, 300], [650, 600], [200, 600]], [[4550, 500, 200, 330, 940, 590], [200, 330], [930, 340], [940, 590], [200, 590]], [[5300, 500, 140, 150, 730, 410], [140, 160], [720, 150], [730, 400], [160, 410]], [[6050, 500, 130, 120, 850, 500], [130, 130], [840, 120], [850, 490], [180, 500]], [[17400, 250, 450, 160, 550, 340], [500, 340], [550, 270], [550, 160], [450, 160], [450, 180], [520, 180], [520, 260], [460, 340]], [[17400, 250, 490, 240, 570, 260], [490, 240], [570, 240], [570, 260], [490, 260]], [[7000, 160, 230, 100, 570, 290], [230, 100], [270, 140], [330, 190], [390, 210], [450, 210], [500, 190], [570, 120], [550, 220], [400, 290], [280, 230]], [[320, 0, 250, 280, 820, 300], [250, 280], [260, 290], [300, 300], [750, 300], [790, 300], [810, 290], [820, 280]], [[1470, 400, 40, 100, 690, 220], [40, 100], [70, 140], [120, 190], [170, 210], [260, 220], [420, 220], [520, 210], [620, 190], [650, 180], [690, 120], [640, 160], [450, 180], [160, 170], [70, 120], [40, 100]], [[20, 0, 200, 510, 500, 550], [500, 520], [460, 530], [420, 540], [350, 550], [300, 550], [220, 540], [200, 510]], [[820, 0, 280, 480, 940, 650], [280, 500], [330, 510], [440, 520], [550, 540], [670, 560], [720, 580], [790, 610], [820, 620], [900, 640], [940, 650], [940, 590], [760, 550], [660, 480]], [[1320, 100, 440, 480, 800, 550], [440, 550], [510, 550], [670, 540], [720, 530], [780, 510], [800, 480], [440, 510]], [[3550, 100, 0, 120, 790, 330], [10, 140], [30, 160], [80, 190], [140, 210], [220, 220], [330, 220], [450, 220], [550, 210], [700, 170], [790, 120], [790, 230], [780, 270], [650, 310], [570, 320], [280, 330], [140, 330], [10, 300], [0, 270], [0, 120], [10, 140]]], xtras:[[9000, 10, 3], [9950, 990, 10], [13500, 770, 1], [12500, 770, 1], [11000, 780, 1], [4420, 550, 1], [4170, 680, 10], [1580, 510, 8], [540, 920, 8], [6220, 320, 11], [6830, 150, 21], [8520, 560, 9], [8550, 950, 10], [15700, 480, 1], [10690, 70, 1], [920, 100, 22], [900, 530, 13], [390, 280, 1], [560, 410, 1], [1340, 230, 1], [1160, 410, 1], [660, 570, 6], [1100, 570, 6], [470, 620, 1], [320, 660, 1], [440, 800, 1], [640, 840, 1], [840, 850, 1], [1070, 850, 1], [1340, 640, 1], [1540, 710, 1], [1410, 860, 1], [2020, 770, 1], [2250, 520, 1], [2020, 490, 6], [2490, 350, 1], [2940, 310, 1], [3110, 380, 1], [3230, 550, 1], [3230, 710, 1], [3070, 850, 1], [3300, 900, 6], [4140, 540, 6], [3510, 900, 1], [3740, 840, 1], [3910, 650, 1], [4510, 590, 1], [4660, 590, 1], [4730, 530, 1], [4800, 590, 1], [4940, 590, 1], [5060, 590, 1], [5550, 540, 1], [5900, 540, 6], [6580, 120, 6], [6600, 290, 6], [6340, 310, 6], [6110, 550, 1], [6340, 550, 1], [6550, 440, 1], [6950, 150, 1], [7130, 160, 1], [7570, 220, 6], [7680, 360, 1], [7830, 470, 1], [8050, 520, 1], [8510, 420, 6], [8460, 530, 1], [8130, 660, 1], [8270, 820, 1], [8570, 860, 1], [8830, 840, 1], [9040, 860, 1], [9370, 900, 1], [9800, 780, 6], [9940, 900, 1], [10140, 900, 1], [10500, 870, 1], [10310, 770, 6], [11200, 770, 6], [10820, 860, 1], [11100, 850, 1], [11310, 840, 1], [11510, 840, 1], [11800, 860, 1], [11410, 780, 6], [11650, 790, 6], [12040, 790, 1], [12290, 850, 1], [12680, 840, 1], [12800, 790, 1], [12990, 850, 1], [13120, 790, 1], [13310, 840, 1], [13730, 820, 1], [14110, 770, 1], [14340, 720, 1], [14600, 470, 6], [6080, 350, 1], [5910, 280, 1], [5770, 170, 1], [5550, 70, 1], [5410, 150, 1], [5230, 60, 1], [5100, 130, 1], [4990, 50, 1], [4790, 50, 1], [4580, 50, 1], [4430, 40, 1], [4520, 150, 1], [4680, 150, 1], [4890, 140, 1], [3650, 160, 6], [4050, 190, 6], [14870, 480, 1], [14870, 340, 1], [15150, 440, 1], [15360, 370, 1], [15530, 580, 1], [15850, 570, 1], [16190, 610, 1], [16330, 510, 1], [16730, 620, 1], [16430, 610, 1], [17220, 520, 1], [17460, 440, 1], [17680, 520, 1], [14420, 410, 1], [14420, 340, 1], [14420, 480, 1], [14170, 520, 1], [13990, 410, 1], [13760, 150, 6], [13410, 120, 1], [13170, 220, 1], [12870, 80, 1], [12660, 200, 1], [12230, 190, 1], [11880, 230, 1], [11760, 120, 1], [11520, 250, 1], [11260, 230, 1], [10300, 90, 6], [9880, 40, 6], [9480, 30, 6], [17800, 520, 5], [4280, 580, 5], [8200, 740, 5], [4270, 160, 5], [13940, 770, 5], [15350, 460, 5], [1240, 840, 5], [1570, 380, 1], [1730, 470, 1], [2720, 210, 6], [2940, 700, 6], [4870, 520, 6], [7380, 280, 1], [8740, 790, 6], [8910, 810, 6], [9160, 810, 6], [9560, 830, 5], [10640, 780, 6], [16000, 480, 6], [16550, 520, 6], [17550, 520, 6], [12050, 70, 6], [12410, 60, 6], [1760, 810, 25], [1290, 320, 6], [450, 350, 6], [1610, 830, 6], [1920, 830, 6], [2260, 360, 6], [14870, 410, 6], [16890, 520, 6], [10920, 120, 6], [5180, 580, 1], [5330, 580, 1], [5470, 570, 1], [4570, 520, 6], [5110, 510, 6], [5400, 510, 6], [5000, 510, 1], [5260, 510, 1], [3750, 210, 21], [17740, 510, 23], [5710, 500, 25], [3940, 230, 2], [780, 150, 26]]}));
createEmptyMovieClip("mask", 17);
mask.beginFill(16711680);
mask.lineTo(650, 0);
mask.lineTo(650, 500);
mask.lineTo(0, 500);
mask.lineTo(0, 0);
mask.endFill();
setMask(mask);
_global.bin.debug = function () {
with (_root) {
if (!fpsCounter) {
new com.neodelight.std.FpsCounter();
}
if (!a) {
a = new com.neodelight.std.Analyzer(0.9, 1);
a0 = new com.neodelight.std.Analyzer(0.96, 1);
a1 = new com.neodelight.std.Analyzer(0.96, 1);
}
}
_root.engine.debug();
};
_global.bin.godMode = function () {
_global.godMode = true;
};
_global.godMode = false;
gotoAndStop ("menu");
Frame 12
stop();
_root.leventer = false;
scores = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
score = 0;
Frame 14
prevFrame();
Frame 20
gotoAndStop(_currentframe - 1);
Frame 23
function mapRedraw() {
_root.displayTitle = _global.lib.lvls[_root.mapId].title;
_root.displayScoreLevel = ((_root.scores[_root.mapId] > 0) ? (com.neodelight.std.XString.numberFormat(_root.scores[_root.mapId])) : "---");
}
map.level0pop._visible = freshGame;
freshGame = false;
displayScore = _root.score;
mapId = com.neodelight.std.XMath.toNumber(_global.game.actLevel);
if (!shared.data.maps[mapId]) {
shared.data.maps[mapId] = [];
shared.data.maps[mapId][0] = (shared.data.maps[mapId][1] = (shared.data.maps[mapId][2] = 0));
}
mapRedraw();
trace(_root.score + "old score");
_root.score = 0;
stop();
Instance of Symbol 564 MovieClip "map" in Frame 23
onClipEvent (enterFrame) {
var i = 0;
while (i <= 10) {
_root.map["lvl" + i].gotoAndStop(((_root.mapId == i) ? 3 : (((_global.game.maxLevel < i) ? 1 : 2))));
i++;
}
}
Frame 25
gotoAndStop(_currentframe - 1);
Frame 29
new com.neodelight.r2d.R2d();
_root.hcoins = 0;
_root.fcoins = 0;
stop();
Frame 31
prevFrame();
Frame 35
_global.snd.fadeChannel("athmo", -1, 10);
_global.snd.playLoop("sndMusic", 1, undefined, "music");
var level = (int(_root.mapId) + 1);
var scoreBase = (level * 2000);
var scoreTime = (_root.resultTime * 50);
var scorehCoins = (_root.hcoins * 100);
var scorefCoins = (_root.fcoins * 500);
var scoreLevel = (((scoreBase + scoreTime) + scorehCoins) + scorefCoins);
var newHighscore = (scoreLevel > scores[_root.mapId]);
trace(totalscr + "asdfsa");
display = ((((((((((((((((((("Level " + level) + " Completion Score: ") + com.neodelight.std.XString.numberFormat(scoreBase)) + "\nTime Bonus: ") + com.neodelight.std.XString.numberFormat(_root.resultTime)) + " X 50 = ") + com.neodelight.std.XString.numberFormat(scoreTime)) + "\nCoins Bonus: ") + com.neodelight.std.XString.numberFormat(_root.hcoins)) + " X 100 = ") + com.neodelight.std.XString.numberFormat(scorehCoins)) + "\nCoins Bonus: ") + com.neodelight.std.XString.numberFormat(_root.fcoins)) + " X 500 = ") + com.neodelight.std.XString.numberFormat(scorefCoins)) + "\n--------------------------------------") + "\n--------------------------------------") + "\nYou scored ") + com.neodelight.std.XString.numberFormat(scoreLevel)) + " points!";
if (scores[_root.mapId] > 0) {
display = display + ("\nPrevious score in this level: " + com.neodelight.std.XString.numberFormat(scores[_root.mapId]));
if (scores[_root.mapId] < scoreLevel) {
display = display + "\nCongratulations, new highscore achieved!";
} else {
display = display + "\nNo new highscore. Try again..";
}
}
if (resultUnlock) {
display = display + "\nNext level unlocked!";
}
display = display + "\n--------------------------------------";
scoresAmountOld = 0;
i = scores.length;
while (i--) {
if (scores[i] > 0) {
scoresAmountOld++;
}
}
scores[mapId] = Math.max(scores[mapId], scoreLevel);
scoresAmountNew = 0;
i = scores.length;
while (i--) {
if (scores[i] > 0) {
scoresAmountNew++;
}
}
score = 0;
i = scores.length;
while (i--) {
score = score + scores[i];
}
display = display + ("\n\nTotal Score: " + score);
_root.subscore = score;
trace((("scoresAmount: " + scoresAmountOld) + " -> ") + scoresAmountNew);
if ((scoresAmountOld == 5) && (scoresAmountNew == 6)) {
gotoAndStop (45);
}
Frame 37
gotoAndStop(_currentframe - 1);
Frame 43
_global.gtotalScore = _root.subscore;
_global.uname = _global.username;
Instance of Symbol 614 MovieClip in Frame 43
//component parameters
onClipEvent (construct) {
asversion = 2;
_global.gname = "DeadlyDrive";
_global.gtotalScore = "";
_global.uname = "";
}
Frame 45
_global.snd.fadeChannel("athmo", -1, 10);
_global.snd.playLoop("sndMusic", 1, undefined, "music");
var level = (int(_root.mapId) + 1);
var scoreBase = (level * 2000);
var scoreTime = (_root.resultTime * 50);
var scorehCoins = (_root.hcoins * 100);
var scorefCoins = (_root.fcoins * 500);
var scoreLevel = (((scoreBase + scoreTime) + scorehCoins) + scorefCoins);
var newHighscore = (scoreLevel > scores[_root.mapId]);
trace(totalscr + "asdfsa");
display = ((((((((((((((((((("Level " + level) + " Completion Score: ") + com.neodelight.std.XString.numberFormat(scoreBase)) + "\nTime Bonus: ") + com.neodelight.std.XString.numberFormat(_root.resultTime)) + " X 50 = ") + com.neodelight.std.XString.numberFormat(scoreTime)) + "\nCoins Bonus: ") + com.neodelight.std.XString.numberFormat(_root.hcoins)) + " X 100 = ") + com.neodelight.std.XString.numberFormat(scorehCoins)) + "\nCoins Bonus: ") + com.neodelight.std.XString.numberFormat(_root.fcoins)) + " X 500 = ") + com.neodelight.std.XString.numberFormat(scorefCoins)) + "\n--------------------------------------") + "\n--------------------------------------") + "\nYou scored ") + com.neodelight.std.XString.numberFormat(scoreLevel)) + " points!";
if (scores[_root.mapId] > 0) {
display = display + ("\nPrevious score in this level: " + com.neodelight.std.XString.numberFormat(scores[_root.mapId]));
if (scores[_root.mapId] < scoreLevel) {
display = display + "\nCongratulations, new highscore achieved!";
} else {
display = display + "\nNo new highscore. Try again..";
}
}
if (resultUnlock) {
display = display + "\nNext level unlocked!";
}
display = display + "\n--------------------------------------";
scoresAmountOld = 0;
i = scores.length;
while (i--) {
if (scores[i] > 0) {
scoresAmountOld++;
}
}
scores[mapId] = Math.max(scores[mapId], scoreLevel);
scoresAmountNew = 0;
i = scores.length;
while (i--) {
if (scores[i] > 0) {
scoresAmountNew++;
}
}
score = 0;
i = scores.length;
while (i--) {
score = score + scores[i];
}
display = display + ("\n\nTotal Score: " + score);
_root.subscore = score;
trace((("scoresAmount: " + scoresAmountOld) + " -> ") + scoresAmountNew);
if ((scoresAmountOld == 5) && (scoresAmountNew == 6)) {
display = display + "\n\nYOU FINISHED ALL LEVELS!\nSubmit now or continue\nto increase your score. \n Play full version in onlinerealgames.com";
}
Frame 47
gotoAndStop(_currentframe - 1);
Symbol 32 MovieClip Frame 31
stop();
_parent.objRef.remove();
Symbol 43 MovieClip Frame 31
stop();
_parent.objRef.remove();
Symbol 45 MovieClip [coinanimation] Frame 11
stop();
_parent.objRef.remove();
Symbol 52 MovieClip [time up] Frame 48
_root.score = 0;
this.removeMovieClip();
Symbol 57 MovieClip [timeup] Frame 48
_root.score = 0;
this.removeMovieClip();
Symbol 61 MovieClip [tenpointss] Frame 43
this.removeMovieClip();
Symbol 110 MovieClip Frame 30
stop();
Symbol 119 MovieClip Frame 110
stop();
Symbol 124 MovieClip Frame 183
_root.play();
Symbol 654 MovieClip [__Packages.com.neodelight.std.Blueprint] Frame 0
class com.neodelight.std.Blueprint
{
function Blueprint () {
}
static function addBlueprint(id, o) {
lib[id] = o;
}
static function readConfigFile(path) {
cfgLoader.onData = function (src) {
var _local4 = src.split(newline);
var _local3 = 0;
while (_local3 < _local4.length) {
var _local2 = _local4[_local3];
if (_local2.charAt(0) == "#") {
} else if (com.neodelight.std.XString.trim(_local2) == "") {
} else if (_local2.indexOf("=") == -1) {
} else {
var _local1 = _local2.split("=");
_local1[0] = com.neodelight.std.XString.trim(_local1[0]);
_local1[1] = com.neodelight.std.XString.trim(_local1[1]);
com.neodelight.std.Blueprint.addBlueprint(_local1[0], _local1[1]);
}
_local3++;
}
com.neodelight.std.Blueprint.onReadConfigFile(src != undefined);
};
cfgLoader.load(path);
}
static function onReadConfigFile(success) {
}
static function isBlueprint(id) {
return(lib[id] != undefined);
}
static function getBlueprint(id) {
if (typeof(id) == "object") {
return(id);
}
var _local1 = lib[id];
if (_local1.blueprint != undefined) {
apply(_local1, _local1.blueprint);
}
return(_local1);
}
static function getBlueprints(filter) {
if (!filter) {
return(undefined);
}
var _local1 = new Array();
for (var _local3 in lib) {
if (filter.test(_local3)) {
_local1.push(getBlueprint(_local3));
}
}
return(_local1);
}
static function apply(target, id) {
if (id == undefined) {
id = String(target.blueprint);
}
var _local3 = lib[id];
if (!_local3) {
trace("!!!blueprint not found:" + id);
}
var _local6 = 0;
for (var _local1 in _local3) {
if (_local1 == "blueprint") {
continue;
}
if (target[_local1] == undefined) {
target[_local1] = _local3[_local1];
}
}
if (_local3.blueprint != undefined) {
var _local4 = _local3.blueprint.split(",");
var _local1 = 0;
while (_local1 < _local4.length) {
apply(target, _local4[_local1]);
_local1++;
}
}
return(target);
}
static var lib = new Array();
static var cfgLoader = new LoadVars();
}
Symbol 655 MovieClip [__Packages.com.neodelight.std.XString] Frame 0
class com.neodelight.std.XString
{
function XString () {
}
static function dump(o, params) {
var _local1;
params.depth = com.neodelight.std.XMath.toNumber(params.depth);
switch (typeof(o)) {
case "string" :
_local1 = ("\"" + o) + "\"";
break;
case "undefined" :
_local1 = "[undefined]";
break;
case "array" :
_local1 = "[Array]";
break;
case "number" :
_local1 = String(o);
break;
default :
_local1 = "{";
var _local5 = true;
for (var _local7 in o) {
if (!_local5) {
_local1 = _local1 + ", ";
}
_local5 = false;
if (params.br) {
_local1 = _local1 + newline;
}
var _local2 = 0;
while (_local2 < int(params.indent)) {
_local1 = _local1 + " ";
_local2++;
}
_local1 = _local1 + (_local7 + ":");
if (typeof(o[_local7]) == "object") {
if (params.depth > 0) {
_local1 = _local1 + dump(o[_local7], {depth:params.depth - 1});
} else {
_local1 = _local1 + "[Object]";
}
} else {
_local1 = _local1 + dump(o[_local7], {depth:params.depth - 1});
}
}
if (params.br) {
_local1 = _local1 + newline;
}
_local1 = _local1 + "}";
}
return(_local1);
}
static function numberFormat(num, digits) {
var _local2 = String(int(num));
var _local1 = _local2.length - 4;
while (_local1 >= 0) {
_local2 = (_local2.substring(0, _local1 + 1) + ",") + _local2.substr(_local1 + 1);
_local1 = _local1 - 3;
}
if (int(digits) > 0) {
_local2 = _local2 + ".";
var _local3 = String(int((num - int(num)) * Math.pow(10, digits)));
while (_local3.length < digits) {
_local3 = "0" + _local3;
}
_local2 = _local2 + _local3;
}
return(_local2);
}
static function timeFormat(millis, format) {
var _local5 = "";
var _local8 = new Object();
var _local6;
var _local2 = 0;
while (_local2 < format.length) {
_local6 = format.charAt(_local2);
if (_local6 == "%") {
_local2++;
var _local3 = format.charAt(_local2);
if (_local8[_local3] == undefined) {
var _local1;
switch (_local3) {
case "H" :
_local1 = String(Math.floor(millis / 3600000));
while (_local1.length < 2) {
_local1 = "0" + _local1;
}
break;
case "i" :
_local1 = String(Math.floor(millis / 60000) % 60);
while (_local1.length < 2) {
_local1 = "0" + _local1;
}
break;
case "s" :
_local1 = String(Math.floor(millis / 1000) % 60);
while (_local1.length < 2) {
_local1 = "0" + _local1;
}
break;
case "c" :
_local1 = String(Math.floor(millis / 10) % 100);
while (_local1.length < 2) {
_local1 = "0" + _local1;
}
break;
case "q" :
_local1 = String(Math.floor(millis) % 1000);
while (_local1.length < 3) {
_local1 = "0" + _local1;
}
break;
default :
_local1 = "";
}
_local8[_local3] = _local1;
_local5 = _local5 + _local1;
} else {
_local5 = _local5 + _local8[_local3];
}
} else if (_local6 == "\\") {
_local2++;
_local5 = _local5 + format.charAt(_local2);
} else {
_local5 = _local5 + _local6;
}
_local2++;
}
return(_local5);
}
static function ordinal(n) {
switch (n) {
case 1 :
return("1st");
case 2 :
return("2nd");
case 3 :
return("3rd");
}
return(n + "th");
}
static function trim(s) {
var _local3 = 0;
var _local4 = s.length;
var _local1 = 0;
while (_local1 < s.length) {
switch (s.charCodeAt(_local1)) {
case 32 :
case 9 :
case 10 :
case 13 :
_local3 = _local1 + 1;
}
if (_local3 != (_local1 + 1)) {
break;
}
_local1++;
}
_local1 = s.length - 1;
while (_local1 >= 0) {
switch (s.charCodeAt(_local1)) {
case 32 :
case 9 :
case 10 :
case 13 :
_local4 = _local1;
}
if (_local4 != _local1) {
break;
}
_local1--;
}
return(s.substring(_local3, _local4));
}
static function replace(search, replace, subject) {
return(subject.split(search).join(replace));
}
static function parse(str) {
if (String(com.neodelight.std.XMath.toNumber(Number(str))) == str) {
return(com.neodelight.std.XMath.toNumber(Number(str)));
}
if ((str.charAt(0) == "{") && (str.charAt(str.length - 1) == "}")) {
var _local3 = new Object();
return(_local3);
}
if ((str.charAt(0) == "[") && (str.charAt(str.length - 1) == "]")) {
var _local2 = new Array();
return(_local2);
}
if ((str.charAt(0) == "\"") && (str.charAt(str.length - 1) == "\"")) {
return(str.substring(1, str.length - 2));
}
return(str);
}
static function parseHex(str) {
str = str.substr(-6, 6);
var _local3 = str.length;
var _local4 = 0;
var _local2 = 0;
while (_local2 < _local3) {
var _local1 = str.charCodeAt((_local3 - _local2) - 1);
if (_local1 <= 57) {
_local1 = _local1 - 48;
} else if ((_local1 > 64) && (_local1 < 71)) {
_local1 = _local1 - 55;
}
_local4 = _local4 + (_local1 * Math.pow(16, _local2));
_local2++;
}
return(_local4);
}
static function stripSlashes(str) {
var _local1 = 0;
while (_local1 < str.length) {
if (str.charAt(_local1) == "\\") {
var _local3;
var _local4 = str.charAt(_local1 + 1);
switch (_local4) {
case "n" :
_local3 = newline;
break;
default :
_local3 = _local4;
}
str = (str.slice(0, _local1) + _local3) + str.slice(_local1 + 2, str.length);
_local1--;
}
_local1++;
}
return(str);
}
}
Symbol 656 MovieClip [__Packages.com.neodelight.std.XMath] Frame 0
class com.neodelight.std.XMath
{
function XMath () {
}
static function p2pDistance(px, py, qx, qy) {
return(Math.sqrt(Math.pow(qx - px, 2) + Math.pow(qy - py, 2)));
}
static function toNumber(n) {
n = Number(n);
if (isNaN(n)) {
n = 0;
}
return(n);
}
static function vAngle(dx, dy) {
var _local1 = Math.asin(dx / Math.sqrt((dx * dx) + (dy * dy)));
if (dy > 0) {
_local1 = Math.PI - _local1;
}
return((_local1 + (Math.PI*2)) % (Math.PI*2));
}
static function angleDiff(a0, a1) {
var _local2 = (Math.PI*2);
var _local1 = a1 - a0;
while (_local1 < 0) {
_local1 = _local1 + _local2;
}
_local1 = _local1 % _local2;
if (_local1 > Math.PI) {
_local1 = (_local2 - _local1) * -1;
}
return(_local1);
}
static function vNormalize(v) {
var _local2 = Math.sqrt((v.x * v.x) + (v.y * v.y));
v.x = v.x / _local2;
v.y = v.y / _local2;
return(v);
}
static function vLength(vx, vy) {
return(Math.sqrt((vx * vx) + (vy * vy)));
}
static function vRotate(v, rad) {
var _local3 = Math.cos(rad);
var _local2 = Math.sin(rad);
var _local5 = (v.x * _local3) - (v.y * _local2);
var _local4 = (v.x * _local2) + (v.y * _local3);
v.x = _local5;
v.y = _local4;
return(v);
}
static function rnd(min, max) {
var _local1 = Math.round(Math.random() * (max - min)) + min;
return(_local1);
}
static function relativePos(val, p0, p1) {
return((val - p0) / (p1 - p0));
}
static function numericalObjectDifference(obj0, obj1) {
var _local3 = new Object();
for (var _local4 in obj0) {
if ((((typeof(obj0[_local4]) == "number") && (typeof(obj1[_local4]) == "number")) && (obj0[_local4] != undefined)) && (obj1[_local4] != undefined)) {
_local3[_local4] = obj1[_local4] - obj0[_local4];
}
}
return(_local3);
}
}
Symbol 657 MovieClip [__Packages.com.neodelight.std.Vector] Frame 0
class com.neodelight.std.Vector
{
var x, y;
function Vector (x, y) {
this.x = x;
this.y = y;
}
function copyOf() {
return(new com.neodelight.std.Vector(x, y));
}
function toString() {
return(((("{x:" + x) + ", y:") + y) + "}");
}
static function intersectP(ax0, ay0, ax1, ay1, bx0, by0, bx1, by1) {
var _local3 = ax0 - bx0;
var _local2 = ay0 - by0;
var _local1 = (by1 * ax1) - (bx1 * ay1);
if (_local1 == 0) {
return(undefined);
}
var _local4 = (by1 * _local3) - (bx1 * _local2);
return((-1 * _local4) / _local1);
}
static function splitP(ax, ay, bx, by) {
return(((bx * ax) - (by * ay)) / (((-bx) * bx) - (by * by)));
}
static function splitV(a, b) {
return((((-b.x) * a.x) - (b.y * a.y)) / ((b.x * (-b.x)) - (b.y * b.y)));
}
static function normalizeP(vx, vy) {
var _local1 = Math.sqrt((vx * vx) + (vy * vy));
return(new com.neodelight.std.Vector(vx / _local1, vy / _local1));
}
static function normalizeV(v) {
var _local2 = Math.sqrt((v.x * v.x) + (v.y * v.y));
v.x = v.x / _local2;
v.y = v.y / _local2;
return(v);
}
static function magnitudeP(vx, vy) {
return(Math.sqrt((vx * vx) + (vy * vy)));
}
static function magnitudeV(v) {
return(Math.sqrt((v.x * v.x) + (v.y * v.y)));
}
static function distanceP(px, py, v0x, v0y, v1x, v1y) {
var _local3 = Math.sqrt((v1x * v1x) + (v1y * v1y));
v1x = v1x / _local3;
v1y = v1y / _local3;
return(-1 * (((v1x * (py - v0y)) - (v1y * (px - v0x))) / ((v1x * v1x) + (v1y * v1y))));
}
static function distanceV(p, v0, v1) {
var _local2 = v1.x;
var _local1 = v1.y;
var _local3 = Math.sqrt((_local2 * _local2) + (_local1 * _local1));
_local2 = _local2 / _local3;
_local1 = _local1 / _local3;
return(-1 * (((_local2 * (p.y - v0.y)) - (_local1 * (p.x - v0.x))) / ((_local2 * _local2) + (_local1 * _local1))));
}
}
Symbol 658 MovieClip [__Packages.com.neodelight.std.RegExp] Frame 0
class com.neodelight.std.RegExp
{
function RegExp () {
if (arguments[0] == null) {
} else {
const = "RegExp";
compile.apply(this, arguments);
}
}
function invStr(sVal) {
var _local5 = sVal;
var _local4 = _local5.length;
var _local1;
var _local3;
var _local6 = "";
var _local2 = 1;
while (_local2 < 255) {
_local3 = chr(_local2);
_local1 = 0;
while ((_local1 <= _local4) && (_local5.substring(1 + (_local1++), 1) != _local3)) {
}
if (_local1 > _local4) {
_local6 = _local6 + _local3;
}
_local2++;
}
return(_local5);
}
function compile() {
source = arguments[0];
var _local7;
var _local20;
if (arguments.length > 1) {
var _local17 = (arguments[1] + "").toLowerCase();
_local7 = 0;
while (_local7 < _local17.length) {
if (_local17.substring(_local7 + 1, 1) == "g") {
global = true;
}
if (_local17.substring(_local7 + 1, 1) == "i") {
ignoreCase = true;
}
if (_local17.substring(_local7 + 1, 1) == "m") {
multiline = true;
}
_local7++;
}
}
if (arguments.length < 3) {
_local20 = true;
_xrStatic = 1;
_local7 = 0;
} else {
_local20 = false;
_xr = _xrStatic++;
_local7 = arguments[2];
}
lastIndex = 0;
var _local10 = source;
var _local21;
var _local14 = _local10.length;
var _local6 = [];
var _local4 = 0;
var _local5;
var _local9 = false;
var _local16;
var _local15;
var _local18 = false;
var _local19;
for ( ; _local7 < _local14 ; _local7++) {
var _local3 = _local10.substring(_local7 + 1, 1);
if (_local3 == "\\") {
_local7++;
_local19 = false;
_local3 = _local10.substring(_local7 + 1, 1);
} else {
_local19 = true;
}
var _local12 = _local10.substring(_local7 + 2, 1);
_local6[_local4] = new Object();
_local6[_local4].t = 0;
_local6[_local4].a = 0;
_local6[_local4].b = 999;
_local6[_local4].c = -10;
if (_local19) {
if (_local3 == "(") {
_local21 = new com.neodelight.std.RegExp(_local10, (ignoreCase ? "gi" : "g"), _local7 + 1);
_local7 = _xiStatic;
_local6[_local4].t = 3;
_local3 = _local21;
_local12 = _local10.substring(_local7 + 2, 1);
} else {
if ((!_local20) && (_local3 == ")")) {
break;
}
if (_local3 == "^") {
if ((_local4 == 0) || (_local6[_local4 - 1].t == 7)) {
_local6[_local4].t = 9;
_local6[_local4].a = 1;
_local6[_local4].b = 1;
_local4++;
}
} else if (_local3 == "$") {
if (_local20) {
_local18 = true;
}
} else {
if (_local3 == "[") {
_local7++;
if (_local12 == "^") {
_local6[_local4].t = 2;
_local7++;
} else {
_local6[_local4].t = 1;
}
_local3 = "";
_local9 = false;
while ((_local7 < _local14) && ((_local5 = _local10.substring(1 + (_local7++), 1)) != "]")) {
if (_local9) {
if (_local5 == "\\") {
}
_local15 = ((_local5 == "\\") ? ((_local5 == "b") ? "\b" : (_local10.substring(1 + (_local7++), 1))) : _local5);
_local16 = ord(_local3.substring(_local3.length, 1)) + 1;
_local5 = chr(_local16++);
while (_local15 >= _local5) {
_local3 = _local3 + _local5;
}
_local9 = false;
} else if ((_local5 == "-") && (_local3.length > 0)) {
_local9 = true;
} else if (_local5 == "\\") {
_local5 = _local10.substring(1 + (_local7++), 1);
if (_local5 == "d") {
_local3 = _local3 + "0123456789";
} else if (_local5 == "D") {
_local3 = _local3 + invStr("0123456789");
} else if (_local5 == "s") {
_local3 = _local3 + " \f\n\r\t";
} else if (_local5 == "S") {
_local3 = _local3 + invStr(" \f\n\r\t");
} else if (_local5 == "w") {
_local3 = _local3 + "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_";
} else if (_local5 == "W") {
_local3 = _local3 + invStr("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_");
} else if (_local5 == "b") {
_local3 = _local3 + "\b";
} else if (_local5 == "\\") {
_local3 = _local3 + _local5;
}
} else {
_local3 = _local3 + _local5;
}
}
if (_local9) {
_local3 = _local3 + "-";
}
_local7--;
_local12 = _local10.substring(_local7 + 2, 1);
} else {
if (_local3 == "|") {
if (_local18) {
_local6[_local4].t = 10;
_local6[_local4].a = 1;
_local6[_local4].b = 1;
_local4++;
_local6[_local4] = new Object();
_local18 = false;
}
_local6[_local4].t = 7;
_local6[_local4].a = 1;
_local6[_local4].b = 1;
_local4++;
continue;
}
if (_local3 == ".") {
_local6[_local4].t = 2;
_local3 = newline;
} else if (((_local3 == "*") || (_local3 == "?")) || (_local3 == "+")) {
continue;
}
}
// unexpected jump
if ((_local3 >= "1") && (_local3 <= "9")) {
_local6[_local4].t = 4;
} else if (_local3 == "b") {
_local6[_local4].t = 1;
_local3 = "--wb--";
} else if (_local3 == "B") {
_local6[_local4].t = 2;
_local3 = "--wb--";
} else if (_local3 == "d") {
_local6[_local4].t = 1;
_local3 = "0123456789";
} else if (_local3 == "D") {
_local6[_local4].t = 2;
_local3 = "0123456789";
} else if (_local3 == "s") {
_local6[_local4].t = 1;
_local3 = " \f\n\r\t";
} else if (_local3 == "S") {
_local6[_local4].t = 2;
_local3 = " \f\n\r\t";
} else if (_local3 == "w") {
_local6[_local4].t = 1;
_local3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_";
} else if (_local3 == "W") {
_local6[_local4].t = 2;
_local3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_";
}
if (_local12 == "*") {
_local6[_local4].s = _local3;
_local4++;
_local7++;
} else if (_local12 == "?") {
_local6[_local4].s = _local3;
_local6[_local4].b = 1;
_local4++;
_local7++;
} else if (_local12 == "+") {
_local6[_local4].s = _local3;
_local6[_local4].a = 1;
_local4++;
_local7++;
} else if (_local12 == "{") {
var _local13 = false;
var _local8 = 0;
_local9 = "";
_local7++;
while (((_local7 + 1) < _local14) && ((_local5 = _local10.substring(2 + (_local7++), 1)) != "}")) {
if ((!_local13) && (_local5 == ",")) {
_local13 = true;
_local8 = Number(_local9);
_local8 = Math.floor((isNaN(_local8) ? 0 : _local8));
if (_local8 < 0) {
_local8 = 0;
}
_local9 = "";
} else {
_local9 = _local9 + _local5;
}
}
var _local11 = Number(_local9);
_local11 = Math.floor((isNaN(_local11) ? 0 : _local11));
if (_local11 < 1) {
_local11 = 999;
}
if (_local11 < _local8) {
_local11 = _local8;
}
_local6[_local4].s = _local3;
_local6[_local4].b = _local11;
_local6[_local4].a = (_local13 ? _local8 : _local11);
_local4++;
} else {
_local6[_local4].s = _local3;
_local6[_local4].a = 1;
_local6[_local4].b = 1;
_local4++;
}
}
}
} else if ((_local3 >= "1") && (_local3 <= "9")) {
_local6[_local4].t = 4;
} else if (_local3 == "b") {
_local6[_local4].t = 1;
_local3 = "--wb--";
} else if (_local3 == "B") {
_local6[_local4].t = 2;
_local3 = "--wb--";
} else if (_local3 == "d") {
_local6[_local4].t = 1;
_local3 = "0123456789";
} else if (_local3 == "D") {
_local6[_local4].t = 2;
_local3 = "0123456789";
} else if (_local3 == "s") {
_local6[_local4].t = 1;
_local3 = " \f\n\r\t";
} else if (_local3 == "S") {
_local6[_local4].t = 2;
_local3 = " \f\n\r\t";
} else if (_local3 == "w") {
_local6[_local4].t = 1;
_local3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_";
} else if (_local3 == "W") {
_local6[_local4].t = 2;
_local3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_";
}
if (_local12 == "*") {
_local6[_local4].s = _local3;
_local4++;
_local7++;
} else if (_local12 == "?") {
_local6[_local4].s = _local3;
_local6[_local4].b = 1;
_local4++;
_local7++;
} else if (_local12 == "+") {
_local6[_local4].s = _local3;
_local6[_local4].a = 1;
_local4++;
_local7++;
} else if (_local12 == "{") {
var _local13 = false;
var _local8 = 0;
_local9 = "";
_local7++;
while (((_local7 + 1) < _local14) && ((_local5 = _local10.substring(2 + (_local7++), 1)) != "}")) {
if ((!_local13) && (_local5 == ",")) {
_local13 = true;
_local8 = Number(_local9);
_local8 = Math.floor((isNaN(_local8) ? 0 : _local8));
if (_local8 < 0) {
_local8 = 0;
}
_local9 = "";
} else {
_local9 = _local9 + _local5;
}
}
var _local11 = Number(_local9);
_local11 = Math.floor((isNaN(_local11) ? 0 : (_local11)));
if (_local11 < 1) {
_local11 = 999;
}
if (_local11 < _local8) {
_local11 = _local8;
}
_local6[_local4].s = _local3;
_local6[_local4].b = _local11;
_local6[_local4].a = (_local13 ? (_local8) : (_local11));
_local4++;
} else {
_local6[_local4].s = _local3;
_local6[_local4].a = 1;
_local6[_local4].b = 1;
_local4++;
}
}
if (_local20 && (_local18)) {
_local6[_local4] = new Object();
_local6[_local4].t = 10;
_local6[_local4].a = 1;
_local6[_local4].b = 1;
_local4++;
}
if (!_local20) {
_xiStatic = _local7;
source = _local10.substring(arguments[2] + 1, _local7 - arguments[2]);
}
if (d) {
_local7 = 0;
while (_local7 < _local4) {
trace((((((((("xr" + _xr) + " ") + _local6[_local7].t) + " : ") + _local6[_local7].a) + " : ") + _local6[_local7].b) + " : ") + _local6[_local7].s);
_local7++;
}
}
_xq = _local6;
_xqc = _local4;
_xp = 0;
}
function test() {
if ((_xp++) == 0) {
_xxa = [];
_xxlp = 0;
}
var _local10 = arguments[0] + "";
var _local15;
var _local4 = _xq;
var _local17 = _xqc;
var _local14;
var _local7;
var _local8;
var _local9;
var _local11;
var _local13;
var _local18;
var _local12 = _local10.length;
var _local5 = (global ? (lastIndex) : 0);
var _local21 = _local5;
var _local19 = _local10;
if (ignoreCase) {
_local10 = _local10.toLowerCase();
}
var _local16 = new Object();
_local16.i = -1;
var _local3 = -1;
while (_local3 < (_local17 - 1)) {
_local3++;
if (d) {
trace("New section started at i=" + _local3);
}
_local5 = _local21;
_local14 = _local3;
_local4[_local14].c = -10;
var _local20 = false;
while ((_local3 > _local14) || (_local5 < (_local12 + 1))) {
if (_local4[_local3].t == 7) {
break;
}
if (_local4[_local3].t == 9) {
_local3++;
if (_local3 == (_local14 + 1)) {
_local18 = true;
_local14 = _local3;
}
_local4[_local14].c = -10;
continue;
}
if ((_local16.i >= 0) && (_local5 >= _local16.i)) {
break;
}
if (_local4[_local3].c == -10) {
if (d) {
trace((((((("Lookup #" + _local3) + " at index ") + _local5) + " for \\\\\\\\\\\\\\\\'") + _local4[_local3].s) + "\\\\\\\\\\\\\\\\' type ") + _local4[_local3].t);
}
var _local6 = 0;
_local4[_local3].i = _local5;
if (_local4[_local3].t == 0) {
_local7 = (ignoreCase ? (_local4[_local3].s.toLowerCase()) : (_local4[_local3].s));
while ((_local6 < _local4[_local3].b) && (_local5 < _local12)) {
if (_local10.substring(1 + _local5, 1) == _local7) {
_local6++;
_local5++;
} else {
break;
}
}
} else if (_local4[_local3].t == 1) {
if (_local4[_local3].s == "--wb--") {
_local4[_local3].a = 1;
if ((_local5 > 0) && (_local5 < _local12)) {
_local9 = _local10.substring(_local5, 1);
if ((_local9 == " ") || (_local9 == "\\\\\\\\\\\\\\\\n")) {
_local6 = 1;
}
if (_local6 == 0) {
_local9 = _local10.substring(1 + _local5, 1);
if ((_local9 == " ") || (_local9 == "\\\\\\\\\\\\\\\\n")) {
_local6 = 1;
}
}
} else {
_local6 = 1;
}
} else {
_local7 = (ignoreCase ? (_local4[_local3].s.toLowerCase()) : (_local4[_local3].s));
_local8 = _local7.length;
while ((_local6 < _local4[_local3].b) && (_local5 < _local12)) {
_local9 = _local10.substring(1 + _local5, 1);
_local11 = 0;
while ((_local11 <= _local8) && (_local7.substring(1 + (_local11++), 1) != _local9)) {
}
if (_local11 <= _local8) {
_local6++;
_local5++;
} else {
break;
}
}
}
} else if (_local4[_local3].t == 2) {
_local7 = (ignoreCase ? (_local4[_local3].s.toLowerCase()) : (_local4[_local3].s));
_local8 = _local7.length;
if (_local4[_local3].s == "--wb--") {
_local4[_local3].a = 1;
if ((_local5 > 0) && (_local5 < _local12)) {
_local9 = _local10.substring(_local5, 1);
_local13 = _local10.substring(1 + _local5, 1);
if ((((_local9 != " ") && (_local9 != "\\\\\\\\\\\\\\\\n")) && (_local13 != " ")) && (_local13 != "\\\\\\\\\\\\\\\\n")) {
_local6 = 1;
}
} else {
_local6 = 0;
}
} else {
while ((_local6 < _local4[_local3].b) && (_local5 < _local12)) {
_local9 = _local10.substring(1 + _local5, 1);
_local11 = 0;
while ((_local11 <= _local8) && (_local7.substring(1 + (_local11++), 1) != _local9)) {
}
if (_local11 <= _local8) {
break;
}
_local6++;
_local5++;
}
}
} else if (_local4[_local3].t == 10) {
_local13 = _local10.substring(1 + _local5, 1);
_local6 = (((multiline && ((_local13 == "\\\\\\\\\\\\\\\\n") || (_local13 == "\\\\\\\\\\\\\\\\r"))) || (_local5 == _local12)) ? 1 : 0);
} else if (_local4[_local3].t == 3) {
_local15 = _local4[_local3].s;
_local4[_local3].ix = [];
_local4[_local3].ix[_local6] = _local5;
_local15.lastIndex = _local5;
while ((_local6 < _local4[_local3].b) && _local15.test(_local19)) {
_local8 = _xxlm.length;
if (_local8 > 0) {
_local5 = _local5 + _local8;
_local6++;
_local4[_local3].ix[_local6] = _local5;
} else {
_local6 = _local4[_local3].a;
_local4[_local3].ix[_local6 - 1] = _local5;
break;
}
}
if (_local6 == 0) {
_xxlm = "";
}
if (_local15._xr > _xxlp) {
_xxlp = _local15._xr;
}
_xxa[Number(_local15._xr)] = _xxlm;
} else if (_local4[_local3].t == 4) {
_local7 = Number(_local4[_local3].s);
if (_xp >= _local7) {
_local7 = _xxa[_local7];
_local7 = (ignoreCase ? _local7.toLowerCase() : _local7);
_local8 = _local7.length;
_local4[_local3].ix = [];
_local4[_local3].ix[_local6] = _local5;
if (_local8 > 0) {
while ((_local6 < _local4[_local3].b) && (_local5 < _local12)) {
if (_local10.substring(1 + _local5, _local8) == _local7) {
_local6++;
_local5 = _local5 + _local8;
_local4[_local3].ix[_local6] = _local5;
} else {
break;
}
}
} else {
_local6 = 0;
_local4[_local3].a = 0;
}
} else {
_local7 = chr(_local7);
_local4[_local3].ix = [];
_local4[_local3].ix[_local6] = _local5;
while ((_local6 < _local4[_local3].b) && (_local5 < _local12)) {
if (_local10.substring(1 + _local5, 1) == _local7) {
_local6++;
_local5++;
_local4[_local3].ix[_local6] = _local5;
} else {
break;
}
}
}
}
_local4[_local3].c = _local6;
if (d) {
trace((" " + _local6) + " matches found");
}
}
if (_local4[_local3].c < _local4[_local3].a) {
if (d) {
trace(" not enough matches");
}
if (_local3 > _local14) {
_local3--;
_local4[_local3].c--;
if (_local4[_local3].c >= 0) {
_local5 = (((_local4[_local3].t == 3) || (_local4[_local3].t == 4)) ? (_local4[_local3].ix[_local4[_local3].c]) : (_local4[_local3].i + _local4[_local3].c));
}
if (d) {
trace((((("Retreat to #" + _local3) + " c=") + _local4[_local3].c) + " index=") + _local5);
}
} else {
if (_xp > 1) {
break;
}
if (_local18) {
if (multiline) {
do {
if (_local5 > _local12) {
break;
}
_local13 = _local10.substring(1 + (_local5++), 1);
} while (!((_local13 == "\\\\\\\\\\\\\\\\n") || (_local13 == "\\\\\\\\\\\\\\\\r")));
_local4[_local3].c = -10;
} else {
break;
}
} else {
_local5++;
_local4[_local3].c = -10;
}
}
} else {
if (d) {
trace(" enough matches!");
}
_local3++;
if ((_local3 == _local17) || (_local4[_local3].t == 7)) {
if (d) {
trace((("Saving better result: r.i = q[" + _local14) + "].i = ") + _local4[_local14].i);
}
_local16.i = _local4[_local14].i;
_local16.li = _local5;
break;
}
_local4[_local3].c = -10;
}
}
while ((_local3 < _local17) && (_local4[_local3].t != 7)) {
_local3++;
}
}
if (_local16.i < 0) {
lastIndex = 0;
if ((_xp--) == 1) {
_xxa = [];
_xxlp = 0;
}
return(false);
}
_local5 = _local16.li;
_xi = _local16.i;
_xxlm = _local19.substring(_local16.i + 1, _local5 - _local16.i);
_xxlc = _local19.substring(1, _local16.i);
_xxrc = _local19.substring(_local5 + 1, _local12 - _local5);
if (_local5 == _local16.i) {
_local5++;
}
lastIndex = _local5;
if ((_xp--) == 1) {
lastMatch = _xxlm;
leftContext = _xxlc;
rightContext = _xxrc;
_xaStatic = _xxa;
lastParen = _xxa[Number(_xxlp)];
_local3 = 1;
while (_local3 < 10) {
com.neodelight.std.RegExp["$" + _local3] = _xaStatic[Number(_local3)];
_local3++;
}
}
return(true);
}
function exec() {
var _local6 = arguments[0] + "";
var _local4;
if (_local6 == "") {
return(false);
}
var _local7 = test(_local6);
if (_local7) {
_local4 = new Array();
_local4.index = _xi;
_local4.input = _local6;
_local4[0] = lastMatch;
var _local5 = _xaStatic.length;
var _local3 = 1;
while (_local3 < _local5) {
_local4[_local3] = _xaStatic[Number(_local3)];
_local3++;
}
} else {
_local4 = null;
}
return(_local4);
}
static function setStringMethods() {
if (String.prototype.match != undefined) {
return(undefined);
}
String.prototype.match = function () {
if (typeof(arguments[0]) != "object") {
return(null);
}
if (arguments[0].const != "RegExp") {
return(null);
}
var _local3 = arguments[0];
var _local6 = this.valueOf();
var _local7 = 0;
var _local4 = 0;
var _local5;
if (_local3.global) {
_local3.lastIndex = 0;
while (_local3.test(_local6)) {
if (_local4 == 0) {
_local5 = new Array();
}
_local5[_local4++] = com.neodelight.std.RegExp.lastMatch;
_local7 = _local3.lastIndex;
}
_local3.lastIndex = _local7;
} else {
_local5 = _local3.exec(_local6);
_local4++;
}
return(((_local4 == 0) ? null : (_local5)));
};
String.prototype.replace = function () {
if (typeof(arguments[0]) != "object") {
return(null);
}
if (arguments[0].const != "RegExp") {
return(null);
}
var _local8 = arguments[0];
var _local7 = arguments[1] + "";
var _local11 = this;
var _local12 = "";
_local8.lastIndex = 0;
if (_local8.global) {
var _local13 = 0;
var _local10 = 0;
while (_local8.test(_local11)) {
var _local5 = 0;
var _local9 = _local7.length;
var _local3 = "";
var _local6 = "";
var _local4 = "";
while (_local5 < _local9) {
_local3 = _local7.substring(1 + (_local5++), 1);
if ((_local3 == "$") && (_local6 != "\\")) {
_local3 = _local7.substring(1 + (_local5++), 1);
if (isNaN(Number(_local3)) || (Number(_local3) > 9)) {
_local4 = _local4 + ("$" + _local3);
} else {
_local4 = _local4 + com.neodelight.std.RegExp._xaStatic[Number(_local3)];
}
} else {
_local4 = _local4 + _local3;
}
_local6 = _local3;
}
_local12 = _local12 + (_local11.substring(_local10 + 1, _local8._xi - _local10) + _local4);
_local10 = _local8._xi + com.neodelight.std.RegExp.lastMatch.length;
_local13 = _local8.lastIndex;
}
_local8.lastIndex = _local13;
} else if (_local8.test(_local11)) {
_local12 = _local12 + (com.neodelight.std.RegExp.leftContext + _local7);
}
_local12 = _local12 + ((_local8.lastIndex == 0) ? (_local11) : (com.neodelight.std.RegExp.rightContext));
return(_local12);
};
String.prototype.search = function () {
if (typeof(arguments[0]) != "object") {
return(null);
}
if (arguments[0].const != "RegExp") {
return(null);
}
var _local3 = arguments[0];
var _local5 = this;
_local3.lastIndex = 0;
var _local4 = _local3.test(_local5);
return((_local4 ? (_local3._xi) : -1));
};
String.prototype.old_split = String.prototype.split;
String.prototype.split = function () {
if ((typeof(arguments[0]) == "object") && (arguments[0].const == "RegExp")) {
var _local3 = arguments[0];
var _local8 = ((arguments[1] == null) ? 9999 : (Number(arguments[1])));
if (isNaN(_local8)) {
_local8 = 9999;
}
var _local6 = this;
var _local9 = new Array();
var _local5 = 0;
var _local11 = _local3.global;
_local3.global = true;
_local3.lastIndex = 0;
var _local7 = 0;
var _local10 = 0;
var _local4 = 0;
while ((_local5 < _local8) && (_local3.test(_local6))) {
if (_local3._xi != _local4) {
_local9[_local5++] = _local6.substring(_local4 + 1, _local3._xi - _local4);
}
_local4 = _local3._xi + com.neodelight.std.RegExp.lastMatch.length;
_local10 = _local7;
_local7 = _local3.lastIndex;
}
if (_local5 == _local8) {
_local3.lastIndex = _local10;
} else {
_local3.lastIndex = _local7;
}
if (_local5 == 0) {
_local9[_local5] = _local6;
} else if ((_local5 < _local8) && (com.neodelight.std.RegExp.rightContext.length > 0)) {
_local9[_local5++] = com.neodelight.std.RegExp.rightContext;
}
_local3.global = _local11;
return(_local9);
}
return(this.old_split(arguments[0], arguments[1]));
};
return(true);
}
function toString() {
return(("[RegExp \"" + source) + "\"]");
}
var const = null;
var source = null;
var global = false;
var ignoreCase = false;
var multiline = false;
var lastIndex = null;
static var _xrStatic = null;
var _xr = null;
static var _xp = null;
static var _xxa = null;
static var _xxlp = null;
var _xq = null;
var _xqc = null;
static var d = null;
static var _xiStatic = null;
var _xi = 0;
static var _xxlm = null;
static var _xxlc = null;
static var _xxrc = null;
static var lastMatch = null;
static var leftContext = null;
static var rightContext = null;
static var _xa = new Array();
static var lastParen = null;
static var _xaStatic = new Array();
static var $1 = null;
static var $2 = null;
static var $3 = null;
static var $4 = null;
static var $5 = null;
static var $6 = null;
static var $7 = null;
static var $8 = null;
static var $9 = null;
static var _setString = setStringMethods();
}
Symbol 659 MovieClip [__Packages.com.neodelight.std.AutoConfig] Frame 0
class com.neodelight.std.AutoConfig
{
function AutoConfig () {
}
static function getConfig(config) {
var _local11 = com.neodelight.std.XSystem.getProtocol(config.url);
var _local17 = com.neodelight.std.XSystem.getDomain(config.url);
var _local13 = ((_local11 + "://") + _local17).toLowerCase();
_global.base.syslog("AutoConfig", "url: " + _local13);
var _local14 = System.capabilities.os.toLowerCase();
_global.base.syslog("AutoConfig", "os: " + _local14);
var _local12 = System.capabilities.playerType.toLowerCase();
_global.base.syslog("AutoConfig", "player: " + _local12);
var _local15 = config.configs.split(",");
var _local10 = 0;
while (_local10 < _local15.length) {
var _local9 = false;
var _local7 = false;
var _local8 = false;
var _local6 = com.neodelight.std.Blueprint.getBlueprint(_local15[_local10]);
var _local2 = _local6.configNeedDomain.split(",");
if (_local2 != undefined) {
var _local3 = 0;
while (_local3 < _local2.length) {
_global.bin.syslog("AutoConfig", ("check pattern \"" + _local2[_local3]) + "\"");
if ((_local2[_local3].substring(_local2[_local3].length - 1) == "*") && (_local2[_local3] != "*")) {
_local2[_local3] = _local2[_local3].substring(0, _local2[_local3].length - 1);
}
if ((((_local11 == "http") && (_local13.indexOf(_local2[_local3]) != -1)) || (_local2[_local3] == "*")) || ((_local11 == "file") && (_local2[_local3] == "local"))) {
_local9 = true;
break;
}
_local3++;
}
} else {
_local9 = true;
}
var _local4 = _local6.configNeedOs.split(",");
if (_local4 != undefined) {
var _local3 = 0;
while (_local3 < _local4.length) {
if (_local14.indexOf(_local4[_local3]) > -1) {
_local7 = true;
break;
}
_local3++;
}
} else {
_local7 = true;
}
var _local5 = _local6.configNeedPlayer.split(",");
if (_local5 != undefined) {
var _local3 = 0;
while (_local3 < _local5.length) {
if (_local12 == _local5[_local3]) {
_local8 = true;
break;
}
_local3++;
}
} else {
_local8 = true;
}
if ((_local9 && (_local7)) && (_local8)) {
return(_local6);
}
_local10++;
}
}
}
Symbol 660 MovieClip [__Packages.com.neodelight.std.XSystem] Frame 0
class com.neodelight.std.XSystem
{
function XSystem () {
}
static function getBaseUrl() {
var _local1 = _url.toLowerCase();
var _local2 = _local1.length;
var _local3 = _local1.indexOf("?", 0);
if (_local3 > 0) {
_local2 = _local3;
}
var _local4 = "offline";
if (_local1.substr(0, 4) == "http") {
_local4 = _url.substr(7, _local2 - 7);
}
return(_local4);
}
static function getDomain(url) {
if (!url) {
url = _url;
}
if (url.indexOf("file://") == 0) {
return(undefined);
}
var _local2 = url.indexOf("/", 7);
if (_local2 == -1) {
return(url.substr(7));
}
_local2 = _local2 - 7;
return(url.substr(7, _local2));
}
static function getProtocol(url) {
if (!url) {
url = _url;
}
return(url.substr(0, url.indexOf("/") - 1));
}
static function getUrlParam(strParam) {
var _local4 = _url.toLowerCase();
var _local1 = _local4.indexOf(strParam);
var _local5 = strParam.length;
if (_local1 > 0) {
var _local3;
var _local2 = _local4.indexOf("&", _local1 + _local5);
if (_local2 > 0) {
_local3 = _local2 - _local1;
} else {
_local3 = _url.length - _local1;
}
return(_url.substr((_local1 + _local5) + 1, _local3));
}
return("");
}
static function isOffline() {
return(_url.toLowerCase().substr(0, 4) != "http");
}
static function isMacintosh() {
return(System.capabilities.os.toLowerCase().indexOf("mac") >= 0);
}
}
Symbol 661 MovieClip [__Packages.com.neodelight.game.Game] Frame 0
class com.neodelight.game.Game
{
var id, config, name, player, snd, rootFx, stageWidth, stageHeight, hooker, flow, actLevel;
function Game (config) {
com.neodelight.flanix.Kernel.init();
id = "game" + com.neodelight.std.Unique.getId();
if (config) {
this.config = config;
} else {
this.config = com.neodelight.std.Blueprint.getBlueprint("game");
if (!this.config) {
trace("!!!blueprint \"game\" not found");
}
}
_global.game = this;
name = this.config.gameName;
com.neodelight.std.ClassLib.init();
if (com.neodelight.std.Blueprint.isBlueprint("player")) {
var _local6 = com.neodelight.std.Blueprint.getBlueprint("player");
if (!_local6) {
trace("!!!blueprint \"player\" not found");
}
var _local5 = com.neodelight.std.ClassLib.getClass("Player");
if (_local5 == undefined) {
trace("!!!class \"Player\" not found in ClassLib");
} else {
var _local7 = new _local5[undefined](_local6);
player = _global.player;
}
}
if (this.config.gameHighscores) {
_global.highscores = new com.neodelight.game.Highscores(name);
}
_global.score = new com.neodelight.game.Score(this.config.gameScoreTypes);
snd = new com.neodelight.std.XSound();
_global.snd = snd;
_root.snd = snd;
rootFx = new com.neodelight.std.ColorFader(_root);
if (System.capabilities.playerType == "external") {
stageWidth = 550;
stageHeight = 400;
} else {
stageWidth = Stage.width;
stageHeight = Stage.height;
}
if (this.config.gameTimer) {
_global.timer = new com.neodelight.std.Timer(this.config);
} else {
_global.dt = 1;
}
hooker = _root.createEmptyMovieClip(com.neodelight.std.Unique.getKey(), _root.getNextHighestDepth());
hooker.clients = new Object();
hooker.onEnterFrame = function () {
if (_global.paused) {
return(undefined);
}
for (var _local3 in this.clients) {
this.clients[_local3].move();
}
};
com.neodelight.std.Inputs.init();
flow = new com.neodelight.std.Flow();
reset();
_global.bin.lvl = function (n) {
_global.game.initLevel(n);
};
}
function reset() {
_global.highscores.init();
_global.score.reset();
hooker.clients = new Object();
actLevel = 0;
}
function initLevel(id) {
trace(("initLevel(id:" + id) + ")");
if (id != undefined) {
actLevel = id;
}
delete hooker.clients;
hooker.clients = new Object();
_global.score.initLevel();
}
function initGame() {
reset();
}
function hookIn(o) {
var _local2 = (o.id ? (o.id) : (com.neodelight.std.Unique.getKey()));
if (!_local2) {
trace("!!!can't assign id to object:" + o);
}
trace((("o:" + o) + ",o.id:") + o.id);
if (hooker.clients[_local2]) {
trace(("!id " + _local2) + " already exists in hook");
return("");
}
hooker.clients[_local2] = o;
return(_local2);
}
function hookOut(o) {
trace((("o:" + o) + ",o.id:") + o.id);
delete hooker.clients[o.id];
}
function pause(stat, mode) {
_global.paused = stat;
}
static var PAUSE_ENGINE = 1;
static var PAUSE_USER = 2;
}
Symbol 662 MovieClip [__Packages.com.neodelight.std.XSound] Frame 0
class com.neodelight.std.XSound extends Sound
{
var channels, channelsById, groups, master;
function XSound () {
super();
channels = new Array(channelsAmount);
channelsById = new Array();
groups = {fx:1, music:1};
var _local4 = 0;
while (_local4 < channelsAmount) {
channels[_local4] = new com.neodelight.std.XSoundChannel(_local4, _root.createEmptyMovieClip(com.neodelight.std.Unique.getKey(), _root.getNextHighestDepth()), groups);
_local4++;
}
master = new Sound();
master.setVolume(100);
}
function addGroup(id) {
groups[id] = 1;
}
function setVolume(volume) {
master.setVolume(volume * 100);
}
function getVolume() {
return(master.getVolume() * 0.01);
}
function setGroupVolume(volume, id) {
groups[id] = volume;
var _local2 = channels.length;
while (_local2--) {
channels[_local2].setVolume();
}
}
function getGroupVolume(id) {
return(groups[id]);
}
function status() {
var _local3 = "";
var _local2 = 0;
while (_local2 < channelsAmount) {
_local3 = _local3 + (((_local2 + ": ") + channels[_local2]) + newline);
_local2++;
}
return(_local3);
}
function playSequence(sequence, locked, group, channelId) {
var _local2 = getChannel();
delete channelsById[_local2.channelId];
_local2.channelId = channelId;
if (channelId) {
channelsById[channelId] = _local2;
}
_local2.playSequence(sequence, locked, group);
}
function playLoop(libId, volume, group, channelId) {
var _local2 = getChannel();
delete channelsById[_local2.channelId];
_local2.channelId = channelId;
if (channelId) {
channelsById[channelId] = _local2;
}
_local2.attachSound(libId);
_local2.start(0, 99999);
_local2.group = (group ? (group) : "music");
_local2.setVolume(volume);
_local2.libId = libId;
_local2.locked = true;
_local2.playing = true;
return(_local2);
}
function playEvent(libId, volume, group, channelId) {
var _local2 = getChannel();
delete channelsById[_local2.channelId];
_local2.channelId = channelId;
if (channelId) {
channelsById[channelId] = _local2;
}
_local2.attachSound(libId);
_local2.start(0, 0);
_local2.group = (group ? (group) : "fx");
_local2.setVolume(volume);
_local2.libId = libId;
_local2.playing = true;
return(_local2);
}
function getChannel() {
var _local4 = -1;
var _local5 = -1;
var _local3 = 0;
while (_local3 < channels.length) {
var _local2 = channels[_local3];
if (!_local2.locked) {
if (_local2.playing) {
if (_local2.position > _local4) {
_local4 = _local2.position;
_local5 = _local2.id;
}
} else {
return(channels[_local3]);
}
}
_local3++;
}
if (_local5 != -1) {
return(channels[_local5]);
}
}
function fadeChannel(id, fadeTo, frames) {
channelsById[id].fade(fadeTo, frames);
}
function stop(libId) {
var _local2 = 0;
while (_local2 < channels.length) {
if ((channels[_local2].libId == libId) || (!libId)) {
channels[_local2].stop();
}
_local2++;
}
}
var channelsAmount = 8;
}
Symbol 663 MovieClip [__Packages.com.neodelight.std.XSoundChannel] Frame 0
class com.neodelight.std.XSoundChannel extends Sound
{
var id, playing, locked, groups, mc, volume, group, fadeOutFlag, fading, fadeTo, fadeSpeed, sequence, sequencePointer, libId, sequenceStep, attachSound, start, channelId;
function XSoundChannel (id, mc, groups) {
super(mc);
this.id = id;
playing = false;
locked = false;
this.groups = groups;
this.mc = mc;
this.mc.channel = this;
this.mc.onEnterFrame = function () {
if (!this.channel.fading) {
return(undefined);
}
var _local2 = this.channel.getVolume() + this.channel.fadeSpeed;
_local2 = ((this.channel.fadeSpeed > 0) ? (Math.min(this.channel.fadeTo, _local2)) : (Math.max(this.channel.fadeTo, _local2)));
if (_local2 == this.channel.fadeTo) {
this.channel.fading = false;
if (this.channel.fadeOutFlag) {
this.channel.stop();
}
}
this.channel.setVolume(_local2);
};
}
function setVolume(volume) {
if (volume != undefined) {
this.volume = volume;
}
super.setVolume(Math.max(0, Math.min(100, (this.volume * 100) * groups[group])));
}
function getVolume() {
return(volume);
}
function fade(fadeTo, frames) {
if (fadeTo == -1) {
fadeOutFlag = true;
fadeTo = 0;
} else {
fadeOutFlag = false;
}
if (frames <= 0) {
setVolume(fadeTo);
fading = false;
} else {
fading = true;
this.fadeTo = Math.min(1, fadeTo);
fadeSpeed = (fadeTo - getVolume()) / frames;
}
}
function playSequence(sequence, locked, group) {
this.sequence = sequence;
sequencePointer = 0;
this.locked = locked;
fading = false;
this.group = (group ? (group) : "fx");
playing = true;
stepSequence();
onSoundComplete = stepSequence;
libId = "__SEQUENCE__";
}
function stepSequence() {
if (sequenceStep.goto != undefined) {
sequencePointer = sequenceStep.goto;
}
var _local2 = sequence[sequencePointer++];
sequenceStep = _local2;
if (!_local2) {
stop();
}
if (_local2.times == 0) {
_local2.times = 9999;
_local2.goto = sequencePointer - 1;
} else if (_local2.times == undefined) {
_local2.times = 1;
}
attachSound(_local2.id);
setVolume(_local2.vol);
start((_local2.offset ? (_local2.offset) : 0), _local2.times);
if (_local2.fadeFrames) {
fade(_local2.fadeTo, _local2.fadeFrames);
}
}
function stop() {
onSoundComplete = undefined;
sequenceStep = undefined;
locked = false;
playing = false;
fading = false;
if (channelId) {
delete _global.snd.channelsById[channelId];
}
super.stop();
}
function onSoundComplete() {
playing = false;
locked = false;
fading = false;
}
function toString() {
return((((((((("v:" + getVolume()) + " p:") + playing) + " l:") + locked) + " f:") + fading) + " lib:") + libId);
}
}
Symbol 664 MovieClip [__Packages.com.neodelight.std.Unique] Frame 0
class com.neodelight.std.Unique
{
function Unique () {
}
static function getId() {
return(id++);
}
static function getKey() {
return("k" + (key++));
}
static var key = 1;
static var id = 1;
}
Symbol 665 MovieClip [__Packages.com.neodelight.std.ColorFader] Frame 0
class com.neodelight.std.ColorFader
{
var mc, col, acol, totStep, actStep, clearFx, fcol, tcol;
function ColorFader (mc) {
this.mc = mc;
col = new Color(mc);
acol = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
totStep = 0;
actStep = 1;
clearFx = reset;
}
function fadeTo(tcol, steps) {
totStep = steps;
actStep = 0;
fcol = col.getTransform();
this.tcol = tcol;
if (steps == 0) {
totStep = 1;
step();
}
}
function queueFade(tcol) {
fadeTo(tcol, tcol.dt);
}
function clearQueue() {
}
function reset() {
col.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0});
}
function step() {
var _local2 = (++actStep) / totStep;
if (actStep > totStep) {
return(false);
}
var _local3 = 1 - _local2;
acol.ra = (fcol.ra * _local3) + (tcol.ra * _local2);
acol.rb = (fcol.rb * _local3) + (tcol.rb * _local2);
acol.ga = (fcol.ga * _local3) + (tcol.ga * _local2);
acol.gb = (fcol.gb * _local3) + (tcol.gb * _local2);
acol.ba = (fcol.ba * _local3) + (tcol.ba * _local2);
acol.bb = (fcol.bb * _local3) + (tcol.bb * _local2);
acol.aa = (fcol.aa * _local3) + (tcol.aa * _local2);
acol.ab = (fcol.ab * _local3) + (tcol.ab * _local2);
col.setTransform(acol);
return(actStep < totStep);
}
static var FX_NONE = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
static var FX_BLACK = {ra:0, rb:0, ga:0, gb:0, ba:0, bb:0, aa:100, ab:0};
}
Symbol 666 MovieClip [__Packages.com.neodelight.game.Highscores] Frame 0
class com.neodelight.game.Highscores
{
var gameName, charTableIndex, session;
function Highscores (gameName) {
this.gameName = gameName;
charTableIndex = new Array();
var _local2 = 0;
while (_local2 < charTable.length) {
charTableIndex[charTable.charCodeAt(_local2)] = _local2;
_local2++;
}
initSession();
}
function initSession() {
session = "";
while (session.length < 20) {
session = session + charTable.charAt(Math.round(Math.random() * (charTable.length - 4)));
}
}
function submit(pScore0, pDisciple) {
if (!pDisciple) {
pDisciple = "";
}
var _local3 = gameName;
var _local5 = "";
var _local2 = ("g=" + _local3) + "&";
_local2 = _local2 + (("d=" + pDisciple) + "&");
_local2 = _local2 + (("s0=" + pScore0) + "&");
_local2 = _local2 + (("s1=" + _local5) + "&");
_local2 = _local2 + ("se=" + session);
_local2 = _local2 + "&c=42";
var _local6 = (urlSubmit + "?s=") + escape(encrypt(encrypt(_local2, keystring), keystring2)).split("%").join("_");
}
function encrypt(text, pKey) {
var _local9 = "";
var _local4 = 0;
var _local6;
var _local3;
var _local5;
var _local2 = 0;
while (_local2 < text.length) {
_local5 = charTableIndex[text.charCodeAt(_local2)];
_local6 = charTableIndex[pKey.charCodeAt(_local2 % pKey.length)];
_local3 = (_local5 + _local6) + _local4;
_local3 = _local3 % charTable.length;
_local9 = _local9 + charTable.charAt(_local3);
_local4 = _local4 + _local3;
_local2++;
}
_local4 = _local4 % charTable.length;
return((_local9 + "") + charTable.charAt(_local4));
}
var charTable = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz&=.";
var keystring = "whytheheckdoyouwasteyourtimehackingthishighscorelist";
var keystring2 = "AnotherKey4You2FindOut4815jiagIOm30JK";
var urlSubmit = "http://www.neodelight.com/v4/high_enter.php";
}
Symbol 667 MovieClip [__Packages.com.neodelight.game.Player] Frame 0
class com.neodelight.game.Player
{
var config, name, abilities, items;
function Player (config) {
trace("config: " + com.neodelight.std.XString.dump(config));
this.config = config;
name = config.name;
for (var _local4 in config.playerProps) {
trace("prop:" + _local4);
this[_local4] = config.playerProps[_local4];
}
reset();
_global.player = this;
}
function reset() {
trace("");
for (var _local2 in config.playerProps) {
com.neodelight.game.PlayerProp(this[_local2]).reset();
}
abilities = new Object();
items = new Object();
}
function init() {
trace("");
}
function toString() {
return("[Player]");
}
}
Symbol 668 MovieClip [__Packages.com.neodelight.game.PlayerProp] Frame 0
class com.neodelight.game.PlayerProp
{
var def, pValue, pMin, pMax;
function PlayerProp (min, max, def, act) {
if (min == undefined) {
min = Number.MIN_VALUE;
}
if (max == undefined) {
max = Number.MAX_VALUE;
}
this.min = (min);
this.max = (max);
this.def = com.neodelight.std.XMath.toNumber(def);
value = (((act == undefined) ? (def) : (act)));
}
function set value(value) {
pValue = Math.max(min, Math.min(max, value));
//return(this.value);
}
function get value() {
return(pValue);
}
function set min(min) {
pMin = min;
pValue = Math.max(this.min, Math.min(max, pValue));
//return(this.min);
}
function get min() {
return(pMin);
}
function set max(max) {
pMax = max;
pValue = Math.max(min, Math.min(this.max, pValue));
//return(this.max);
}
function get max() {
return(pMax);
}
function reset() {
value = (def);
}
function toString() {
return(((((((("[PlayerProp {value:" + value) + ", def:") + def) + " min:") + min) + ", max:") + max) + "}]");
}
}
Symbol 669 MovieClip [__Packages.com.neodelight.std.Flow] Frame 0
class com.neodelight.std.Flow
{
var mc, queue;
function Flow () {
_global.bin.syslog("Flow", "()");
var _local4 = _root.getNextHighestDepth();
mc = _root.createEmptyMovieClip("flowMc" + _local4, _local4);
queue = new Array();
}
function pushTask(onStep, o, params, times, exitFlag, exitVal) {
if ((!times) && (!exitFlag)) {
times = 1;
} else if (times <= 0) {
times = -1;
}
queue.push({o:o, onStep:onStep, p:params, exitTimes:times, exitFlag:exitFlag, exitVal:exitVal});
mc.p = this;
mc.onEnterFrame = function () {
this.p.step();
};
}
function step() {
var _local2 = queue[0];
var _local3 = _local2.onStep.apply(_local2.o, _local2.p);
if (_local2.exitFlag && (_local2.exitVal == _local3)) {
queue.shift();
if (!queue.length) {
delete mc.onEnterFrame;
}
return(undefined);
}
if (_local2.exitTimes > 0) {
if (!(--_local2.exitTimes)) {
queue.shift();
if (!queue.length) {
delete mc.onEnterFrame;
}
}
}
}
}
Symbol 670 MovieClip [__Packages.com.neodelight.flanix.Kernel] Frame 0
class com.neodelight.flanix.Kernel
{
function Kernel () {
}
static function init() {
if (_global.$FLANIX_VERSION) {
return(undefined);
}
_global.$FLANIX_VERSION = "0.2.0";
if (!_global.lib) {
_global.lib = new Object();
}
if (!_global.lib.Blueprints) {
_global.lib.Blueprints = com.neodelight.std.Blueprint.lib;
}
if (!_global.var) {
_global.var = new Object();
}
if (!_global.var.log) {
_global.var.log = new Object();
}
if (!_global.mnt) {
_global.mnt = new Object();
}
if (!_global.etc) {
_global.etc = new Object();
}
_global.etc.host = com.neodelight.std.XSystem.getDomain();
if (!_global.dev) {
_global.dev = new Object();
}
if (!_global.dev.null) {
_global.dev.null = function () {
};
}
_global._root = _level0;
var _local2 = new com.neodelight.flanix.Bin();
}
}
Symbol 671 MovieClip [__Packages.com.neodelight.flanix.Bin] Frame 0
class com.neodelight.flanix.Bin
{
function Bin () {
if (!_global.bin) {
_global.bin = new Object();
_global.bin.dump = com.neodelight.std.XString.dump;
_global.bin.ls = function () {
var _local13 = _global.console;
var _local14 = _local13.parameters;
var _local4 = _local13.flags;
var _local8 = "";
var _local11 = "";
var _local6 = 0;
while (_local6 < arguments.length) {
if (String(arguments[_local6]).charAt(0) != "-") {
_local11 = arguments[_local6];
break;
}
_local6++;
}
var _local7 = _local13.getObjectAtPath(_local11);
if (_local4.help) {
_local8 = _local8 + "Usage: ls [OPTIONS]\n";
_local8 = _local8 + "List information about the current object\n";
_local8 = _local8 + " -a display all items\n";
_local8 = _local8 + " -d dump values of non-objects\n";
_local8 = _local8 + " -l long format\n";
_local8 = _local8 + " -1 display only one item per line\n";
return(_local8);
}
if (_local4.a) {
_global.ASSetPropFlags(_local7.__proto__, null, 6, true);
_global.ASSetPropFlags(_local7, null, 6, true);
}
var _local3 = new Array();
for (_local6 in _local7) {
switch (typeof(_local7[_local6])) {
case "movieclip" :
_local3.push(("/" + _local6) + (_local4.l ? " [m] " : " "));
break;
case "object" :
_local3.push(("/" + _local6) + (_local4.l ? " [o] " : " "));
break;
case "function" :
_local3.push(_local6 + (_local4.l ? " [f] " : " "));
break;
case "string" :
_local3.push((_local6 + (_local4.l ? " [s] " : " ")) + (_local4.d ? (("=\"" + _local7[_local6]) + "\" ") : ""));
break;
case "undefined" :
_local3.push((_local6 + (_local4.l ? " [u] " : " ")) + (_local4.d ? "=undefined " : ""));
break;
case "null" :
_local3.push((_local6 + (_local4.l ? " [0] " : " ")) + (_local4.d ? "=null " : ""));
break;
case "boolean" :
_local3.push((_local6 + (_local4.l ? " [b] " : " ")) + (_local4.d ? (("=" + _local7[_local6]) + " ") : ""));
break;
case "number" :
_local3.push((_local6 + (_local4.l ? " [n] " : " ")) + (_local4.d ? (("=" + _local7[_local6]) + " ") : ""));
break;
default :
_local3.push(((_local6 + "_") + typeof(_local7[_local6])) + "_");
}
}
var _local9 = 0;
_local6 = 0;
while (_local6 < _local3.length) {
_local9 = Math.max(_local3[_local6].length, _local9);
_local6++;
}
_local3.sort();
var _local12 = ((_local4["1"] || (_local4.d)) ? 1 : (Math.floor(_local13.cols / (_local9 + 2))));
var _local10 = 0;
_local8 = "";
_local6 = 0;
while (_local6 < _local3.length) {
_local8 = _local8 + _local3[_local6];
var _local5 = 0;
while (_local5 < ((_local9 - _local3[_local6].length) + 2)) {
_local8 = _local8 + " ";
_local5++;
}
_local10++;
_local10 = _local10 % _local12;
if (_local10 == 0) {
_local8 = _local8 + newline;
}
_local6++;
}
return(_local8);
};
_global.bin.cat = function () {
var _local3 = "";
if ((arguments.length == 0) || (_global.console.flags.help)) {
_local3 = "Usage: cat [FILE]\nPrint contents of FILE or standard input";
_global.console.setExitCode(0);
return(_local3);
}
var _local5 = _global.console.parameters;
var _local6 = _global.console;
if ((!_local5[0]) || (_local5[0] == "/")) {
_local6.ram.CWD = "";
_local5[0] = "";
}
var _local7 = ((_local5[0].substr(0, 1) == "/") ? "" : (_local6.ram.CWD + "/")) + _local5[0];
var _local4 = _local6.getObjectAtPath(_local7);
if (_local4) {
switch (typeof(_local4)) {
case "string" :
case "number" :
case "boolean" :
_local3 = _local3 + String(_local4);
break;
case "object" :
case "function" :
_local3 = _local3 + _global.bin.dump(_local4);
break;
default :
_global.console.setExitCode(1);
_local3 = _local3 + (("cat: bad type (" + typeof(_local4)) + ")");
}
} else {
_global.console.setExitCode(3);
_local3 = "cat: file not found";
}
return(_local3);
};
_global.bin.cls = function () {
var _local2 = "";
if (_global.console.flags.help) {
_local2 = "Usage: cls\nClear the console output window.";
} else {
_global.console.cls();
}
_global.console.setExitCode(0);
return(_local2);
};
_global.bin.cd = function () {
var _local2 = _global.console.parameters;
var _local3 = _global.console;
var _local5 = "";
if ((_local2[0] == undefined) || (_local2[0] == "/")) {
_local3.ram.CWD = "";
_local2[0] = "";
}
var _local6 = ((_local2[0].substr(0, 1) == "/") ? "" : (_local3.ram.CWD + "/")) + _local2[0];
var _local4 = _local3.getObjectAtPath(_local6);
if (_local4) {
switch (typeof(_local4)) {
case "object" :
case "array" :
case "movieclip" :
case "function" :
_global.console.setExitCode(0);
_local3.ram.CWD = _local6;
break;
default :
_global.console.setExitCode(1);
_local5 = _local5 + (("not an object (" + typeof(_local4)) + ")");
}
} else {
_global.console.setExitCode(3);
_local5 = _local5 + "path not found";
}
return(_local5);
};
_global.bin.echo = function () {
var _local4 = "";
var _local3 = 0;
while (_local3 < arguments.length) {
if (_local4 != "") {
_local4 = _local4 + " ";
}
_local4 = _local4 + String(arguments[_local3]);
_local3++;
}
_global.console.setExitCode(0);
return(_local4);
};
_global.bin.exit = function () {
fscommand ("quit");
};
_global.bin.false = function () {
return(false);
};
_global.bin.fps = function () {
new com.neodelight.std.FpsCounter(0.9);
return("Added FPS counter to _root\nOK.");
};
_global.bin.fscommand = function () {
fscommand (arguments[0], arguments[1]);
};
_global.bin.get = function (path) {
return(_global.console.getObjectAtPath(path));
};
_global.bin.grep = function (needle, haystack) {
var _local4 = "";
if ((arguments.length < 1) || (_global.console.flags.help)) {
_local4 = "Usage: grep [OPTION] .. PATTERN [FILE] ..\nSearch each line FILE or the standard input and output only lines containing PATTERN";
_global.console.setExitCode(0);
return(_local4);
}
var _local5 = haystack.split(newline);
var _local3 = 0;
while (_local3 < _local5.length) {
if (_local5[_local3].indexOf(needle) != -1) {
if (_local4 != "") {
_local4 = _local4 + newline;
}
_local4 = _local4 + _local5[_local3];
}
_local3++;
}
_global.console.setExitCode(0);
return(_local4);
};
_global.bin.load = function (url, loadPoint) {
var _local7 = "";
if (((arguments.length != 2) && (arguments.length != 1)) || (_global.console.flags.help)) {
_local7 = _local7 + "Usage: load SOURCE [TARGET]\nLoads the external swf file SOURCE into TARGET.\nIf TARGET is not specified, a new movie clip will be created in the _root and used as TARGET.";
_global.console.setExitCode(0);
return(_local7);
}
var _local5;
if (loadPoint) {
var _local4 = _global.console.getObjectAtPath(loadPoint);
if (!_local4) {
_global.console.stderr("load: object not found: " + loadPoint);
_global.console.setExitCode(3);
return(undefined);
}
if (typeof(_local4) != "movieclip") {
_global.console.stderr(("load: target is not a movieclip (" + typeof(_local4)) + ")");
_global.console.setExitCode(1);
return(undefined);
}
_local5 = MovieClip(_local4);
} else {
_local5 = _root.createEmptyMovieClip(com.neodelight.std.Unique.getKey(), _root.getNextHighestDepth());
loadPoint = "/_root" + _local5._target;
}
loadMovie (url, _local5);
_local7 = _local7 + ((("load: loading " + url) + " to ") + loadPoint);
_global.console.setExitCode(0);
};
_global.bin.number = function () {
return(Number(arguments[0]));
};
_global.bin.set = function () {
var _local3 = "";
if (_global.console.flags.help) {
_local3 = "Usage: set [VAR = VALUE]\nWithout parameters: shows list of Flash-Console system variables. With parameters: set the value of a system variable.";
_global.console.setExitCode(0);
return(_local3);
}
if (arguments.length == 0) {
for (var _local4 in _global.console.ram) {
if (_local3 != "") {
_local3 = _local3 + newline;
}
_local3 = _local3 + ((_local4 + "=") + _global.console.ram[_local4]);
}
return(_local3);
}
if ((arguments.length < 2) || (arguments[1] != "=")) {
_global.console.stderr("set: syntax error\n");
_global.console.setExitCode(1);
return(undefined);
}
var _local4 = 2;
while (_local4 < arguments.length) {
if (_local3 != "") {
_local3 = _local3 + " ";
}
_local3 = _local3 + String(arguments[_local4]);
_local4++;
}
var _local5 = String(arguments[0]);
_global.console.ram[_local5] = _local3;
return(undefined);
};
_global.bin.sh = function (file) {
if (!file) {
return("");
}
var _local2 = _global.console.getObjectAtPath(file);
if (typeof(_local2) != "string") {
return("sh: not a script: " + file);
}
return(_global.console.executeCommand(_local2));
};
_global.bin.syslog = function (id, log, errlvl) {
var _local5 = "";
if ((arguments.length == 0) || (_global.console.flags.help)) {
_global.console.setExitCode(0);
_local5 = "Usage: syslog FACILITY MESSAGE [ERRORLEVEL]\nSend a message to the system logger. Messages are stored in /var/log/FACILITY.\nErrorlevels:\n1 - Normal log entry\n2 - Warning\n3 - Critical Error";
return(_local5);
}
if (!_global.var.log[id]) {
_global.var.log[id] = log + newline;
} else {
_global.var.log[id] = _global.var.log[id] + (log + newline);
}
switch (errlvl) {
case 1 :
_global.console.stdout((("#INFO:" + id) + ":") + log);
break;
case 2 :
_global.bin.syslog("WARNING", (id + ": ") + log);
_global.console.stderr((("#WARNING:" + id) + ":") + log);
break;
case 3 :
_global.bin.syslog("ERROR", (id + ": ") + log);
_global.console.stderr((("#ERROR:" + id) + ":") + log);
break;
}
_global.console.setExitCode(0);
return(_local5);
};
_global.bin.true = function () {
return(true);
};
}
}
}
Symbol 672 MovieClip [__Packages.com.neodelight.flanix.Console] Frame 0
class com.neodelight.flanix.Console
{
var width, height, offsetX, offsetY, inputHeight, outputHeight, outputMaxLines, cols, mc, output, input, history, format, cursorMc, codepage, active, parameters, flags;
function Console (width, height) {
if (_global.console) {
trace("#ERROR: Console(): only one instance of Console allowed!");
} else {
com.neodelight.flanix.Kernel.init();
_global.console = this;
this.width = (width ? (width) : 550);
this.height = (height ? (height) : 400);
offsetX = 0;
offsetY = 0;
inputHeight = 18;
outputHeight = ((this.height - (padding * 2)) - spacing) - inputHeight;
outputMaxLines = 50;
cols = Math.floor((this.width - (padding * 2)) / 8) - 1;
mc = _root.createEmptyMovieClip(com.neodelight.std.Unique.getKey(), _root.getNextHighestDepth());
mc.createTextField("output", mc.getNextHighestDepth(), padding, padding, this.width - (padding * 2), outputHeight);
output = mc.output;
mc.createTextField("input", mc.getNextHighestDepth(), padding, (padding + outputHeight) + spacing, this.width - (padding * 2), 20);
input = mc.input;
input.text = promptVar;
input.addListener(this);
Key.addListener(this);
history = new Array();
format = new TextFormat();
format.color = COLOR_TEXT;
format.font = "Courier";
format.size = 10;
input.setNewTextFormat(format);
input.setTextFormat(format);
output.setTextFormat(format);
output.setNewTextFormat(format);
output.wordWrap = true;
cursorMc = mc.createEmptyMovieClip(com.neodelight.std.Unique.getKey(), mc.getNextHighestDepth());
cursorMc.lineStyle(0, COLOR_TEXT);
cursorMc.moveTo(0, 0);
cursorMc.lineTo(8, 0);
setInterval(function (cursorMc) {
cursorMc._visible = !cursorMc._visible;
}, 200, cursorMc);
cursorMc._y = ((this.height - padding) - 2) + offsetY;
updateCursor();
codepage = new Array();
codepage[221] = "\u00B4";
codepage[304] = "=";
codepage[306] = "\"";
codepage[307] = "\u00A7";
codepage[310] = "&";
codepage[311] = "/";
codepage[312] = "(";
codepage[313] = ")";
codepage[443] = "*";
codepage[444] = ";";
codepage[446] = ":";
codepage[447] = "'";
codepage[475] = "?";
codepage[477] = "`";
codepage[482] = ">";
codepage[1584] = "}";
codepage[1591] = "{";
codepage[1592] = "[";
codepage[1593] = "]";
codepage[1617] = "@";
codepage[1723] = "~";
codepage[1755] = "\\";
codepage[1762] = "|";
redraw();
stdout("Neodelight Flash Console " + _global.$FLANIX_VERSION);
stdout("OK.");
active = false;
mc._visible = false;
}
}
function show() {
active = true;
mc._visible = true;
mc.swapDepths(_root.getNextHighestDepth());
}
function hide() {
active = false;
mc._visible = false;
}
function echo(msg) {
if (msg == undefined) {
msg = "";
}
if (output.maxscroll > outputMaxLines) {
var _local2 = output.text.split(String.fromCharCode(13));
_local2.splice(0, _local2.length - outputMaxLines);
output.text = _local2.join(newline);
} else if (output.text != "") {
}
output.text = output.text + newline;
output.text = output.text + msg;
output.scroll = output.maxscroll;
}
function stdout(msg) {
if (doBufStdOut) {
bufStdOut = bufStdOut + msg;
} else {
echo(msg);
}
}
function flushStdOut() {
echo(bufStdOut);
bufStdOut = "";
}
function stderr(msg) {
echo(msg);
}
function setExitCode(code) {
ram["?"] = code;
}
function cls() {
output.text = "";
}
static function addFunction(id, f) {
_global.bin[id.toLowerCase()] = f;
}
function getObjectAtCwd() {
if (ram.CWD == undefined) {
ram.CWD = "/";
}
return(getObjectAtPath(ram.CWD));
}
function getObjectAtPath(fullPath) {
if (fullPath.substr(0, 1) != "/") {
fullPath = (ram.CWD + "/") + fullPath;
}
var _local4 = simplifyPath(fullPath).split("/");
var _local5 = _global;
_global._level0 = _level0;
_global._level1 = _level1;
_global._level2 = _level2;
_global._level3 = _level3;
var _local3 = 0;
while (_local3 < _local4.length) {
if (_local4[_local3] != "") {
_local5 = _local5[_local4[_local3]];
}
_local3++;
}
return(_local5);
}
function getBasePath(fullPath) {
if (fullPath.charAt(fullPath.length - 1) == "/") {
return(fullPath);
}
if (fullPath.charAt(0) != "/") {
fullPath = (ram.CWD + "/") + fullPath;
}
var _local3 = simplifyPath(fullPath).split("/");
_local3.pop();
return(_local3.join("/") + "/");
}
function getFileName(fullPath) {
return(String(fullPath.split("/").pop()));
}
function simplifyPath(fullPath) {
var _local2 = fullPath.split("/");
var _local1 = 0;
while (_local1 < _local2.length) {
if (_local2[_local1] == "..") {
_local2.splice(_local1 - 1, 2);
_local1 = Math.max(-1, _local1 - 2);
} else if (((_local2[_local1] == ".") || (!_local2[_local1])) || (_local2[_local1] == "")) {
_local2.splice(_local1, 1);
_local1 = Math.max(-1, _local1 - 1);
}
_local1++;
}
fullPath = "/" + _local2.join("/");
return(fullPath);
}
function onKeyDown() {
switch (Key.getCode()) {
case 8 :
if (!active) {
break;
}
if ((cursorPos - 1) >= promptVar.length) {
input.text = input.text.substring(0, cursorPos - 1) + input.text.substring(cursorPos, input.text.length);
updateCursor(-1);
}
break;
case 9 :
if (!active) {
} else {
var _local6 = input.text.substring(promptVar.length, cursorPos);
var _local10 = input.text.lastIndexOf(" ", cursorPos);
if (_local10 != -1) {
_local6 = input.text.substring(_local10 + 1, input.text.length + 1);
}
var _local13 = ((ram.CWD + "/") + _local6).split("/");
var _local7 = String(_local13.pop());
var _local14 = _local13.join("/");
var _local8 = getObjectAtPath(_local14);
var _local3 = new Array();
for (var _local4 in _global.bin) {
if ((_local4.substr(0, _local6.length) == _local6) && (!_local3[_local4])) {
_local3.push(_local4);
_local3[_local4] = true;
}
}
for (var _local4 in _local8) {
if ((_local4.substr(0, _local7.length) == _local7) && (!_local3[_local4])) {
_local3.push(_local4);
_local3[_local4] = true;
}
}
if (_local3.length == 1) {
insertAtCursor(_local3[0].substring(_local7.length, _local3[0].length));
} else if (_local3.length > 1) {
stdout();
var _local5 = _local3[0].length;
var _local4 = 0;
while (_local4 < _local3.length) {
stdout(_local3[_local4]);
while (_local3[_local4].substr(0, _local5) != _local3[0].substr(0, _local5)) {
_local5--;
}
_local4++;
}
if (_local5) {
insertAtCursor(_local3[0].substring(_local7.length, Math.min(_local5, _local3[0].length)));
}
}
break;
if (active) {
var _local9 = input.text.substring(promptVar.length, input.text.length);
history.unshift(_local9);
if (history.length > historyLen) {
history.pop();
}
historyPtr = -1;
stdout(promptVar + _local9);
stdout(executeCommand(_local9));
input.text = promptVar;
updatePrompt();
updateCursor();
}
if (active) {
Selection.setFocus(mc.input);
Selection.setSelection(0, 0);
}
break;
break;
break;
break;
break;
cursorPos = input.text.length;
updateCursor();
break;
cursorPos = 0;
updateCursor();
break;
if (!active) {
} else {
updateCursor(-1);
break;
if (!active) {
} else {
historyPtr = Math.min(history.length - 1, historyPtr + 1);
input.text = promptVar + history[historyPtr];
cursorPos = input.text.length;
updateCursor();
break;
if (!active) {
} else {
updateCursor(1);
break;
if (!active) {
} else {
historyPtr = Math.max(-1, historyPtr - 1);
if (historyPtr == -1) {
input.text = promptVar;
} else {
input.text = promptVar + history[historyPtr];
}
cursorPos = input.text.length;
updateCursor();
break;
if (!active) {
} else {
input.text = input.text.substring(0, cursorPos) + input.text.substring(cursorPos + 1, input.text.length);
break;
if (active) {
hide();
} else {
show();
}
break;
if (!active) {
} else {
var _local11 = ((Key.getCode() + ((Key.isDown(16) || Key.isToggled(20)) ? 256 : 0)) + (Key.isDown(17) ? 512 : 0)) + (Key.isDown(18) ? 1024 : 0);
var _local15 = Key.getAscii();
var _local12;
if (codepage[_local11]) {
_local12 = codepage[_local11];
} else {
_local12 = String.fromCharCode(_local15);
}
insertAtCursor(_local12);
Selection.setFocus(mc.input);
Selection.setSelection(2, 2);
}
}
}
}
}
}
}
case 13 :
if (active) {
var _local9 = input.text.substring(promptVar.length, input.text.length);
history.unshift(_local9);
if (history.length > historyLen) {
history.pop();
}
historyPtr = -1;
stdout(promptVar + _local9);
stdout(executeCommand(_local9));
input.text = promptVar;
updatePrompt();
updateCursor();
}
if (active) {
Selection.setFocus(mc.input);
Selection.setSelection(0, 0);
}
break;
case 16 :
break;
case 17 :
break;
case 18 :
break;
case 20 :
break;
case 35 :
cursorPos = input.text.length;
updateCursor();
break;
case 36 :
cursorPos = 0;
updateCursor();
break;
case 37 :
if (!active) {
} else {
updateCursor(-1);
break;
if (!active) {
} else {
historyPtr = Math.min(history.length - 1, historyPtr + 1);
input.text = promptVar + history[historyPtr];
cursorPos = input.text.length;
updateCursor();
break;
if (!active) {
} else {
updateCursor(1);
break;
if (!active) {
} else {
historyPtr = Math.max(-1, historyPtr - 1);
if (historyPtr == -1) {
input.text = promptVar;
} else {
input.text = promptVar + history[historyPtr];
}
cursorPos = input.text.length;
updateCursor();
break;
if (!active) {
} else {
input.text = input.text.substring(0, cursorPos) + input.text.substring(cursorPos + 1, input.text.length);
break;
if (active) {
hide();
} else {
show();
}
break;
if (!active) {
} else {
var _local11 = ((Key.getCode() + ((Key.isDown(16) || Key.isToggled(20)) ? 256 : 0)) + (Key.isDown(17) ? 512 : 0)) + (Key.isDown(18) ? 1024 : 0);
var _local15 = Key.getAscii();
var _local12;
if (codepage[_local11]) {
_local12 = codepage[_local11];
} else {
_local12 = String.fromCharCode(_local15);
}
insertAtCursor(_local12);
Selection.setFocus(mc.input);
Selection.setSelection(2, 2);
}
}
}
}
}
}
case 38 :
if (!active) {
} else {
historyPtr = Math.min(history.length - 1, historyPtr + 1);
input.text = promptVar + history[historyPtr];
cursorPos = input.text.length;
updateCursor();
break;
if (!active) {
} else {
updateCursor(1);
break;
if (!active) {
} else {
historyPtr = Math.max(-1, historyPtr - 1);
if (historyPtr == -1) {
input.text = promptVar;
} else {
input.text = promptVar + history[historyPtr];
}
cursorPos = input.text.length;
updateCursor();
break;
if (!active) {
} else {
input.text = input.text.substring(0, cursorPos) + input.text.substring(cursorPos + 1, input.text.length);
break;
if (active) {
hide();
} else {
show();
}
break;
if (!active) {
} else {
var _local11 = ((Key.getCode() + ((Key.isDown(16) || (Key.isToggled(20))) ? 256 : 0)) + (Key.isDown(17) ? 512 : 0)) + (Key.isDown(18) ? 1024 : 0);
var _local15 = Key.getAscii();
var _local12;
if (codepage[_local11]) {
_local12 = codepage[_local11];
} else {
_local12 = String.fromCharCode(_local15);
}
insertAtCursor(_local12);
Selection.setFocus(mc.input);
Selection.setSelection(2, 2);
}
}
}
}
}
case 39 :
if (!active) {
} else {
updateCursor(1);
break;
if (!active) {
} else {
historyPtr = Math.max(-1, historyPtr - 1);
if (historyPtr == -1) {
input.text = promptVar;
} else {
input.text = promptVar + history[historyPtr];
}
cursorPos = input.text.length;
updateCursor();
break;
if (!active) {
} else {
input.text = input.text.substring(0, cursorPos) + input.text.substring(cursorPos + 1, input.text.length);
break;
if (active) {
hide();
} else {
show();
}
break;
if (!active) {
} else {
var _local11 = ((Key.getCode() + ((Key.isDown(16) || (Key.isToggled(20))) ? 256 : 0)) + (Key.isDown(17) ? 512 : 0)) + (Key.isDown(18) ? 1024 : 0);
var _local15 = Key.getAscii();
var _local12;
if (codepage[_local11]) {
_local12 = codepage[_local11];
} else {
_local12 = String.fromCharCode(_local15);
}
insertAtCursor(_local12);
Selection.setFocus(mc.input);
Selection.setSelection(2, 2);
}
}
}
}
case 40 :
if (!active) {
} else {
historyPtr = Math.max(-1, historyPtr - 1);
if (historyPtr == -1) {
input.text = promptVar;
} else {
input.text = promptVar + history[historyPtr];
}
cursorPos = input.text.length;
updateCursor();
break;
if (!active) {
} else {
input.text = input.text.substring(0, cursorPos) + input.text.substring(cursorPos + 1, input.text.length);
break;
if (active) {
hide();
} else {
show();
}
break;
if (!active) {
} else {
var _local11 = ((Key.getCode() + ((Key.isDown(16) || (Key.isToggled(20))) ? 256 : 0)) + (Key.isDown(17) ? 512 : 0)) + (Key.isDown(18) ? 1024 : 0);
var _local15 = Key.getAscii();
var _local12;
if (codepage[_local11]) {
_local12 = codepage[_local11];
} else {
_local12 = String.fromCharCode(_local15);
}
insertAtCursor(_local12);
Selection.setFocus(mc.input);
Selection.setSelection(2, 2);
}
}
}
case 46 :
if (!active) {
} else {
input.text = input.text.substring(0, cursorPos) + input.text.substring(cursorPos + 1, input.text.length);
break;
if (active) {
hide();
} else {
show();
}
break;
if (!active) {
} else {
var _local11 = ((Key.getCode() + ((Key.isDown(16) || (Key.isToggled(20))) ? 256 : 0)) + (Key.isDown(17) ? 512 : 0)) + (Key.isDown(18) ? 1024 : 0);
var _local15 = Key.getAscii();
var _local12;
if (codepage[_local11]) {
_local12 = codepage[_local11];
} else {
_local12 = String.fromCharCode(_local15);
}
insertAtCursor(_local12);
Selection.setFocus(mc.input);
Selection.setSelection(2, 2);
}
}
case 220 :
if (active) {
hide();
} else {
show();
}
break;
default :
if (!active) {
} else {
var _local11 = ((Key.getCode() + ((Key.isDown(16) || (Key.isToggled(20))) ? 256 : 0)) + (Key.isDown(17) ? 512 : 0)) + (Key.isDown(18) ? 1024 : 0);
var _local15 = Key.getAscii();
var _local12;
if (codepage[_local11]) {
_local12 = codepage[_local11];
} else {
_local12 = String.fromCharCode(_local15);
}
insertAtCursor(_local12);
Selection.setFocus(mc.input);
Selection.setSelection(2, 2);
}
}
}
function redraw() {
mc.lineStyle(0, COLOR_LINE);
mc.moveTo(offsetX, offsetY);
mc.beginFill(COLOR_BG, COLOR_BG_ALPHA);
mc.lineTo(width + offsetX, offsetY);
mc.lineTo(width + offsetX, height + offsetY);
mc.lineTo(offsetX, height + offsetY);
mc.lineTo(offsetX, offsetY);
mc.endFill();
output._x = offsetX;
output._y = offsetY;
input._x = padding + offsetX;
input._y = ((padding + offsetY) + outputHeight) + spacing;
updatePrompt();
updateCursor();
}
function updateCursor(offset) {
if (offset) {
cursorPos = cursorPos + offset;
}
cursorPos = Math.max(promptVar.length, Math.min(input.text.length, cursorPos));
cursorMc._x = ((offsetX + padding) + 2) + (cursorPos * 8);
cursorMc._visible = true;
}
function updatePrompt() {
promptVar = ram.CWD + ">";
input.text = promptVar;
}
function insertAtCursor(str) {
input.text = (input.text.substring(0, cursorPos) + str) + input.text.substring(cursorPos, input.text.length);
updateCursor(str.length);
}
function executeCommand(cmd, stdin) {
var _local24 = "";
cmd = com.neodelight.std.XString.trim(cmd);
while (cmd.charAt(cmd.length - 1) == ";") {
cmd = cmd.substr(0, cmd.length - 1);
}
var _local4 = "cmd";
var _local2 = "";
var _local12 = cmd.length - 1;
while (_local12 >= 0) {
if (cmd.charAt(_local12 - 1) == "\\") {
} else {
var _local3 = cmd.charAt(_local12);
switch (_local4) {
case "cmd" :
switch (_local3) {
case "\"" :
_local4 = "quotDouble";
break;
case "'" :
_local4 = "quotSingle";
break;
case ";" :
case newline :
var _local19 = cmd.substr(0, _local12);
var _local14 = String(executeCommand(_local19));
if (_local14 != "") {
_local24 = _local24 + (_local14 + newline);
}
cmd = cmd.substr(_local12 + 1);
_local12 = -1;
}
break;
case "quotSingle" :
if (_local3 == "'") {
_local4 = "cmd";
}
break;
case "quotDouble" :
if (_local3 == "\"") {
_local4 = "cmd";
}
break;
default :
trace(("#ERROR: unknown mode: " + _local4) + ".. flanix is buggy");
}
}
_local12--;
}
if (ram.CWD == undefined) {
ram.CWD = "/";
}
var _local18;
var _local21;
var _local11 = new Array();
_local2 = "";
_local4 = "cmd";
cmd = cmd + " ";
_local12 = 0;
while (_local12 < cmd.length) {
var _local3 = cmd.charAt(_local12);
switch (_local4) {
case "cmd" :
if (_local3 == " ") {
_local2 = com.neodelight.std.XString.stripSlashes(_local2);
_local4 = "param";
if (_local2 != "") {
_local11.push(_local2);
}
_local2 = "";
} else {
_local2 = _local2 + _local3;
}
break;
case "param" :
if (_local2 == "") {
if (_local3 == " ") {
break;
}
if (_local3 == "`") {
_local4 = "paramExpression";
_local2 = _local2 + _local3;
} else if (_local3 == "\"") {
_local4 = "paramQuoteDouble";
} else if (_local3 == "'") {
_local4 = "paramQuoteSingle";
} else if (_local3 == "|") {
_local18 = cmd.substr(_local12 + 1);
_local21 = "|";
_local12 = Number.MAX_VALUE;
} else if (_local3 == ">") {
_local4 = "paramPipeOutFile";
} else {
if (_local3 == " ") {
_local4 = "param";
if (Number(_local2) == _local2) {
_local2 = Number(_local2);
} else {
_local2 = com.neodelight.std.XString.stripSlashes(_local2);
if (_local2.indexOf("$") != -1) {
if (_local2.length <= (_local2.indexOf("$") + 1)) {
stderr("bash: unknown variable: $");
setExitCode(2);
return(undefined);
}
var _local8 = ram[_local2.substr(_local2.indexOf("$") + 1)];
if (_local8 == undefined) {
_local8 = "";
}
_local2 = _local2.substring(0, _local2.indexOf("$")) + String(_local8);
}
}
_local11.push(_local2);
_local2 = "";
} else {
_local2 = _local2 + _local3;
}
break;
if ((_local3 == "`") && (cmd.charAt(_local12 - 1) != "\\")) {
_local2 = executeCommand(_local2);
_local4 = "param";
_local11.push(_local2);
_local2 = "";
} else {
_local2 = _local2 + _local3;
}
break;
if ((_local3 == "'") && (cmd.charAt(_local12 - 1) != "\\")) {
_local2 = com.neodelight.std.XString.stripSlashes(_local2);
_local4 = "param";
_local11.push(_local2);
_local2 = "";
} else {
_local2 = _local2 + _local3;
}
break;
if ((_local3 == "\"") && (cmd.charAt(_local12 - 1) != "\\")) {
_local2 = com.neodelight.std.XString.stripSlashes(_local2);
while (_local2.indexOf("$") != -1) {
var _local6 = _local2.indexOf("$");
var _local10 = Math.min(_local2.length, ((_local2.indexOf(" ", _local6) > -1) ? _local2.indexOf(" ", _local6) : Number.MAX_VALUE));
var _local13 = _local2.substring(_local6 + 1, _local10);
var _local8 = ram[_local13];
if (_local8 == undefined) {
_local8 = "";
}
_local2 = (_local2.slice(0, _local6) + String(_local8)) + _local2.slice(_local10, _local2.length);
}
_local4 = "param";
_local11.push(_local2);
_local2 = "";
} else {
_local2 = _local2 + _local3;
}
break;
if ((_local3 == " ") && (_local2 == "")) {
} else {
if (_local3 == " ") {
_local18 = _local2;
_local21 = ">";
_local2 = "";
_local4 = "param";
} else {
_local2 = _local2 + _local3;
}
break;
trace("unknown mode: " + _local4);
}
}
}
if (_local3 == " ") {
_local4 = "param";
if (Number(_local2) == _local2) {
_local2 = Number(_local2);
} else {
_local2 = com.neodelight.std.XString.stripSlashes(_local2);
if (_local2.indexOf("$") != -1) {
if (_local2.length <= (_local2.indexOf("$") + 1)) {
stderr("bash: unknown variable: $");
setExitCode(2);
return(undefined);
}
var _local8 = ram[_local2.substr(_local2.indexOf("$") + 1)];
if (_local8 == undefined) {
_local8 = "";
}
_local2 = _local2.substring(0, _local2.indexOf("$")) + String(_local8);
}
}
_local11.push(_local2);
_local2 = "";
} else {
_local2 = _local2 + _local3;
}
break;
case "paramExpression" :
if ((_local3 == "`") && (cmd.charAt(_local12 - 1) != "\\")) {
_local2 = executeCommand(_local2);
_local4 = "param";
_local11.push(_local2);
_local2 = "";
} else {
_local2 = _local2 + _local3;
}
break;
case "paramQuoteSingle" :
if ((_local3 == "'") && (cmd.charAt(_local12 - 1) != "\\")) {
_local2 = com.neodelight.std.XString.stripSlashes(_local2);
_local4 = "param";
_local11.push(_local2);
_local2 = "";
} else {
_local2 = _local2 + _local3;
}
break;
case "paramQuoteDouble" :
if ((_local3 == "\"") && (cmd.charAt(_local12 - 1) != "\\")) {
_local2 = com.neodelight.std.XString.stripSlashes(_local2);
while (_local2.indexOf("$") != -1) {
var _local6 = _local2.indexOf("$");
var _local10 = Math.min(_local2.length, ((_local2.indexOf(" ", _local6) > -1) ? (_local2.indexOf(" ", _local6)) : Number.MAX_VALUE));
var _local13 = _local2.substring(_local6 + 1, _local10);
var _local8 = ram[_local13];
if (_local8 == undefined) {
_local8 = "";
}
_local2 = (_local2.slice(0, _local6) + String(_local8)) + _local2.slice(_local10, _local2.length);
}
_local4 = "param";
_local11.push(_local2);
_local2 = "";
} else {
_local2 = _local2 + _local3;
}
break;
case "paramPipeOutFile" :
if ((_local3 == " ") && (_local2 == "")) {
} else {
if (_local3 == " ") {
_local18 = _local2;
_local21 = ">";
_local2 = "";
_local4 = "param";
} else {
_local2 = _local2 + _local3;
}
break;
trace("unknown mode: " + _local4);
}
default :
trace("unknown mode: " + _local4);
}
_local12++;
}
var _local22 = "";
if (_local11.length) {
var _local7 = new Array();
_local12 = 1;
while (_local12 < _local11.length) {
_local7.push(_local11[_local12]);
_local12++;
}
var _local15 = {};
for (_local12 in _local7) {
if (_local7[_local12].substr(0, 2) == "--") {
_local15[_local7[_local12].substr(2, _local7[_local12].length - 2)] = true;
} else if (String(_local7[_local12]).substr(0, 1) == "-") {
var _local9 = 1;
while (_local9 < String(_local7[_local12]).length) {
_local15[String(_local7[_local12]).charAt(_local9)] = true;
_local9++;
}
}
}
if (stdin != undefined) {
_local7.push(stdin);
}
var _local20 = String(_local11[0]);
setExitCode(undefined);
var _local17;
var _local23;
if (_local20.indexOf("/") != -1) {
if (_local20.charAt(0) == "/") {
_local17 = getObjectAtPath(_local20);
_local23 = getBasePath(_local20);
} else {
_local17 = getObjectAtPath((ram.CWD + "/") + _local20);
_local23 = getBasePath((ram.CWD + "/") + _local20);
}
} else {
var _local16 = ((ram.PATH.indexOf("/bin") == -1) ? (("/bin:" + ram.PATH).split(":")) : (ram.PATH.split(":")));
_local12 = 0;
while (_local12 < _local16.length) {
_local17 = getObjectAtPath((_local16[_local12] + "/") + _local20);
if (_local17 != undefined) {
_local23 = _local16[_local12];
break;
}
_local12++;
}
}
if (_local17 != undefined) {
switch (typeof(_local17)) {
case "function" :
var _local27 = Function(_local17);
parameters = _local7;
flags = _local15;
_local22 = _local27.apply(getObjectAtPath(_local23), _local7);
break;
case "string" :
var _local25 = _local17.split(newline, 2);
if (_local25[0] == "#!/bin/sh") {
_local22 = executeCommand(_local25[1]);
} else {
stderr("bash: to execute a string as a script, type: sh <filename>");
}
break;
default :
stderr(((("bash: not a command: " + _local20) + " (") + typeof(_local17)) + ")");
}
} else {
stderr("bash: command not found or undefined: " + _local20);
setExitCode(3);
}
ram.CWD = simplifyPath(ram.CWD);
if (_local18) {
switch (_local21) {
case "|" :
_local22 = executeCommand(_local18, _local22);
break;
case ">" :
if (_local18.indexOf("/") != -1) {
var _local26 = getObjectAtPath(getBasePath(_local18));
_local26[getFileName(_local18)] = _local22;
} else {
var _local26 = getObjectAtCwd();
_local26[_local18] = _local22;
}
break;
case "<" :
}
_local22 = "";
}
} else {
_local22 = "";
}
return(_local24 + _local22);
}
static var COLOR_LINE = 65280;
static var COLOR_BG = 2236962;
static var COLOR_BG_ALPHA = 100;
static var COLOR_TEXT = 65280;
var padding = 5;
var spacing = 5;
var promptVar = ">";
var historyLen = 100;
var historyPtr = -1;
var cursorPos = 0;
var doBufStdOut = false;
var bufStdOut = "";
var ram = {CWD:"/", PATH:"/bin:."};
}
Symbol 673 MovieClip [__Packages.com.neodelight.std.FpsCounter] Frame 0
class com.neodelight.std.FpsCounter
{
var mc;
function FpsCounter (smoothing, x, y) {
if (x == undefined) {
x = 0;
}
if (y == undefined) {
y = 0;
}
mc = _root.createEmptyMovieClip("fpsCounter", _root.getNextHighestDepth());
mc.timestamp = getTimer();
if (isNaN(smoothing)) {
smoothing = 0.9;
}
mc.smoothing = Math.min(1, Math.max(0, smoothing));
mc.createTextField("my_txt", 1, x, y, 30, 20);
mc.my_txt.multiline = false;
mc.my_txt.wordWrap = false;
mc.my_txt.type = "dynamic";
mc.my_txt.variable = "display";
mc.my_txt.selectable = false;
mc.my_txt.border = true;
mc.my_txt.background = true;
mc.onEnterFrame = function () {
var _local2 = getTimer();
var _local3 = 1000 / (_local2 - this.timestamp);
if (isNaN(this.fps)) {
this.fps = _local3;
} else {
this.fps = ((1 - this.smoothing) * _local3) + (this.smoothing * this.fps);
}
this.display = Math.round(this.fps * 10) * 0.1;
this.timestamp = _local2;
};
}
}
Symbol 674 MovieClip [__Packages.com.neodelight.std.ClassLib] Frame 0
class com.neodelight.std.ClassLib
{
function ClassLib () {
}
static function init() {
trace("");
var _local1 = com.neodelight.std.Blueprint.getBlueprint("classlib");
if (_local1) {
for (var _local2 in _local1) {
addClass(_local2, Function(_local1[_local2]));
}
}
}
static function addClass(id, c) {
lib[id] = c;
_global.lib.classlib = lib;
trace(id);
}
static function getClass(id) {
return(lib[id]);
}
static var lib = new Array();
}
Symbol 675 MovieClip [__Packages.com.neodelight.game.Score] Frame 0
class com.neodelight.game.Score
{
var flow, config, sharedObject, scoreTotal, scores, scoreLevel;
function Score (config) {
_global.bin.syslog("Score", "new Score()");
flow = new com.neodelight.std.Flow();
if (!config) {
config = Array(com.neodelight.std.Blueprint.getBlueprint("score").scoreTypes);
}
if (!config) {
_global.bin.syslog("Score", "constructor needs config", 3);
} else {
this.config = config;
var _local4 = 0;
while (_local4 < config.length) {
this.config[config[_local4].id] = config[_local4];
this.config[_local4].i = _local4;
_local4++;
}
sharedObject = SharedObject.getLocal(_global.game.name);
reset();
}
if (_global.mdm) {
_global.mdm.enableexithandler();
com.neodelight.std.File.load(_global.game.name + ".stats", function (data) {
if (!data) {
_global.bin.syslog("Score", "loaded external scores: empty");
return(undefined);
}
_global.bin.syslog("Score", ("loaded external scores (" + data.length) + " bytes)");
_root.decryptedScores = "";
_global.mdm.blowfishdec("com.neodelight.game.Score", data, "_root.decryptedScores");
_root.scoresLoadFlow = new com.neodelight.std.Flow();
_root.scoresLoadFlow.pushTask(function () {
if (_root.decryptedScores) {
_global.bin.syslog("Score", "decrypted scores");
_global.score.sharedObject = {};
_global.score.sharedObject.data = com.neodelight.wddx.Wddx.deserialize(_root.decryptedScores);
delete _root.decrytpedScores;
return(true);
}
return(false);
}, undefined, undefined, undefined, true, true);
});
_root.onAppExit = function () {
var _local4 = _global.score.sharedObject.data;
var _local3 = com.neodelight.wddx.Wddx.serialize(_local4);
_root.encryptedScores = "";
_global.mdm.blowfishenc("com.neodelight.game.Score", _local3, "encryptedScores");
_root.appExitFlow = new com.neodelight.std.Flow();
_root.appExitFlow.pushTask(function () {
if (_root.encryptedScores) {
com.neodelight.mdm.MdmFile.save(_global.game.name + ".stats", _root.encryptedScores);
_global.mdm.exit();
return(true);
}
return(false);
}, undefined, undefined, undefined, true, true);
};
}
}
function reset() {
_global.bin.syslog("Score", "reset scores!");
scoreTotal = 0;
scores = new Object();
}
function initLevel() {
_global.bin.syslog("Score", "initLevel: " + _global.game.actLevel);
scores[_global.game.actLevel] = new Object();
var _local3 = 0;
while (_local3 < config.length) {
scores[_global.game.actLevel][config[_local3].id] = com.neodelight.std.XMath.toNumber(config[_local3].score);
_local3++;
}
scoreLevel = 0;
}
function alter(deltaScore, type) {
_global.bin.syslog("Score", ((("alter '" + type) + "' (") + deltaScore) + ", type)");
if (config[type].totalAdd) {
scoreTotal = scoreTotal + deltaScore;
scoreLevel = scoreLevel + deltaScore;
}
scores[_global.game.actLevel][type] = scores[_global.game.actLevel][type] + deltaScore;
}
function set(score, type) {
_global.bin.syslog("Score", ((("set '" + type) + "' (") + score) + ")");
if (config[type].totalAdd) {
scoreTotal = scoreTotal - com.neodelight.std.XMath.toNumber(scores[_global.game.actLevel][type]);
scoreTotal = scoreTotal + score;
}
scores[_global.game.actLevel][type] = score;
}
function get(type, level) {
if (level == undefined) {
level = _global.game.actLevel;
}
return(scores[level][type]);
}
function refresh() {
trace("score:refresh");
scoreTotal = 0;
for (var _local3 in scores) {
trace("level: " + _local3);
var _local2 = 0;
while (_local2 < config.length) {
trace((((("t: " + _local2) + " id:") + config[_local2].id) + " val:") + scores[_local3][config[_local2].id]);
if (config[_local2].totalAdd) {
scoreTotal = scoreTotal + scores[_local3][config[_local2].id];
}
_local2++;
}
}
}
function saveType(disciple) {
_global.bin.syslog("Score", "saveType: " + disciple);
var _local4 = _global.game.actLevel;
_global.bin.syslog("Score", "level = " + _local4);
var _local3 = sharedObject.data;
if (!_local3) {
trace("#ERROR: no sObj");
}
if (!_local3.scores) {
_local3.scores = new Object();
}
if (!_local3.scores[_local4]) {
_global.bin.syslog("Score", "creating level object");
_local3.scores[_local4] = new Object();
}
var _local6 = scores[_local4][config[disciple].id];
_global.bin.syslog("Score", "score = " + _local6);
if (!_local3.scores[_local4][disciple]) {
_local3.scores[_local4][disciple] = new Object();
}
_local3.scores[_local4][disciple].count = int(_local3.scores[_local4][disciple].count) + 1;
if ((_local3.scores[_local4][disciple].max == undefined) || (_local3.scores[_local4][disciple].max < _local6)) {
_local3.scores[_local4][disciple].max = _local6;
}
if ((_local3.scores[_local4][disciple].min == undefined) || (_local3.scores[_local4][disciple].min > _local6)) {
_local3.scores[_local4][disciple].min = _local6;
}
if (_local3.scores[_local4][disciple].avg == undefined) {
_local3.scores[_local4][disciple].avg = _local6;
} else {
_local3.scores[_local4][disciple].avg = ((_local3.scores[_local4][disciple].avg * (_local3.scores[_local4][disciple].count - 1)) + _local6) / _local3.scores[_local4][disciple].count;
}
}
function save(saveTotal) {
_global.bin.syslog("Score", "save");
var _local4 = sharedObject.data;
if (saveTotal) {
_local4.count = int(_local4.count) + 1;
if ((_local4.max == undefined) || (_local4.max > scoreTotal)) {
_local4.max = scoreTotal;
}
if ((_local4.min == undefined) || (_local4.min < scoreTotal)) {
_local4.min = scoreTotal;
}
_local4.avg = ((_local4.avg == undefined) ? (scoreTotal) : (((_local4.avg * (_local4.count - 1)) + scoreTotal) / _local4.count));
}
if (!_local4.scores) {
_local4.scores = new Object();
}
var _local5 = _global.game.actLevel;
if (!_local4.scores[_local5]) {
_local4.scores[_local5] = new Object();
}
var _local3 = 0;
while (_local3 < config.length) {
var _local6 = scores[_local5][config[_local3].id];
if (!_local4.scores[_local5][_local3]) {
_local4.scores[_local5][_local3] = new Object();
}
_local4.scores[_local5][_local3].count = int(_local4.scores[_local5][_local3].count) + 1;
if ((_local4.scores[_local5][_local3].max == undefined) || (_local4.scores[_local5][_local3].max < _local6)) {
_local4.scores[_local5][_local3].max = _local6;
}
if ((_local4.scores[_local5][_local3].min == undefined) || (_local4.scores[_local5][_local3].min > _local6)) {
_local4.scores[_local5][_local3].min = _local6;
}
if (_local4.scores[_local5][_local3].avg == undefined) {
_local4.scores[_local5][_local3].avg = _local6;
} else {
_local4.scores[_local5][_local3].avg = ((_local4.scores[_local5][_local3].avg * (_local4.scores[_local5][_local3].count - 1)) + _local6) / _local4.scores[_local5][_local3].count;
}
_local3++;
}
}
function getStatistics() {
_global.bin.syslog("Score", "getStatistics", 0);
var _local5 = sharedObject.data;
var _local4 = new Object();
_local4.scores = new Object();
_local4.avg = _local5.avg;
_local4.max = _local5.max;
_local4.cur = _local5.cur;
_local4.count = _local5.count;
for (var _local6 in _local5.scores) {
_local4.scores[_local6] = new Object();
var _local3 = 0;
while (_local3 < config.length) {
_local4.scores[_local6][config[_local3].id] = new Object();
_local4.scores[_local6][config[_local3].id].avg = _local5.scores[_local6][config[_local3].id].avg;
_local4.scores[_local6][config[_local3].id].min = _local5.scores[_local6][config[_local3].id].min;
_local4.scores[_local6][config[_local3].id].max = _local5.scores[_local6][config[_local3].id].max;
_local4.scores[_local6][config[_local3].id].count = _local5.scores[_local6][config[_local3].id].count;
_local4.scores[_local6][config[_local3].id].cur = scores[_local6][config[_local3].id];
_local3++;
}
}
return(_local4);
}
function clearSharedObject() {
_global.bin.syslog("Score", "clearSharedObject", 1);
sharedObject.clear();
sharedObject.data = new Object();
}
}
Symbol 676 MovieClip [__Packages.com.neodelight.std.File] Frame 0
class com.neodelight.std.File
{
function File () {
}
static function load(filename, callback) {
var _local1 = new LoadVars();
_local1.load(filename);
_local1.onData = callback;
}
}
Symbol 677 MovieClip [__Packages.com.neodelight.wddx.Wddx] Frame 0
class com.neodelight.wddx.Wddx
{
function Wddx () {
et = new Object();
etRev = new Object();
at = new Object();
atRev = new Object();
timezoneString = new String();
preserveVarCase = true;
useTimezoneInfo = true;
var _local2 = 0;
while (_local2 < 256) {
if ((((_local2 < 32) && (_local2 != 9)) && (_local2 != 10)) && (_local2 != 13)) {
var _local3 = _local2.toString(16);
if (_local3.length == 1) {
_local3 = "0" + _local3;
}
et[_local2] = ("<char code='" + _local3) + "'/>";
at[_local2] = "";
} else if (_local2 < 128) {
et[_local2] = chr(_local2);
at[_local2] = chr(_local2);
} else {
et[_local2] = ("&#x" + _local2.toString(16)) + ";";
etRev[("&#x" + _local2.toString(16)) + ";"] = chr(_local2);
at[_local2] = ("&#x" + _local2.toString(16)) + ";";
atRev[("&#x" + _local2.toString(16)) + ";"] = chr(_local2);
}
_local2++;
}
et[60] = "<";
et[62] = ">";
et[38] = "&";
etRev["<"] = "<";
etRev[">"] = ">";
etRev["&"] = "&";
at[60] = "<";
at[62] = ">";
at[38] = "&";
at[39] = "'";
at[34] = """;
atRev["<"] = "<";
atRev[">"] = ">";
atRev["&"] = "&";
atRev["'"] = "'";
atRev["""] = "\"";
var _local4 = new Date().getTimezoneOffset();
if (_local4 >= 0) {
timezoneString = "-";
} else {
timezoneString = "+";
}
timezoneString = timezoneString + ((Math.floor(Math.abs(_local4) / 60) + ":") + (Math.abs(_local4) % 60));
}
static function serialize(rootObj) {
var _local4 = new com.neodelight.wddx.Wddx();
var _local2 = new XML();
var _local3 = new XML();
_local3.appendChild(_local2.createElement("wddxPacket"));
var _local1 = _local3.firstChild;
_local1.attributes.version = "1.0";
_local1.appendChild(_local2.createElement("header"));
_local1.appendChild(_local2.createElement("data"));
if (_local4.serializeValue(rootObj, _local1.childNodes[1])) {
return(_local3.toString());
}
return(null);
}
function serializeValue(obj, node) {
var _local4 = true;
var _local6 = obj.valueOf();
var _local9 = null;
var _local7 = new XML();
if (obj == null) {
node.appendChild(_local7.createElement("null"));
} else if (typeof(_local6) == "string") {
serializeString(_local6, node);
} else if (typeof(_local6) == "number") {
if (typeof(obj.getTimezoneOffset) == "function") {
if (useTimezoneInfo) {
_local9 = timezoneString;
}
node.appendChild(_local7.createElement("dateTime"));
node.lastChild.appendChild(_local7.createTextNode(((((((((((obj.getFullYear() + "-") + (obj.getMonth() + 1)) + "-") + obj.getDate()) + "T") + obj.getHours()) + ":") + obj.getMinutes()) + ":") + obj.getSeconds()) + _local9));
} else {
node.appendChild(new XML().createElement("number"));
node.lastChild.appendChild(new XML().createTextNode(_local6));
}
} else if (typeof(_local6) == "boolean") {
node.appendChild(_local7.createElement("boolean"));
node.lastChild.attributes.value = _local6;
} else if (typeof(obj) == "object") {
if (typeof(obj.wddxSerialize) == "function") {
_local4 = obj.wddxSerialize(this, node);
} else if ((typeof(obj.join) == "function") && (typeof(obj.reverse) == "function")) {
node.appendChild(_local7.createElement("array"));
node.lastChild.attributes.length = obj.length;
var _local3 = 0;
while (_local4 && (_local3 < obj.length)) {
_local4 = serializeValue(obj[_local3], node.lastChild);
_local3++;
}
} else {
node.appendChild(_local7.createElement("struct"));
if (typeof(obj.wddxSerializationType) == "string") {
node.lastChild.attributes.type = obj.wddxSerializationType;
}
for (var _local8 in obj) {
if (_local8 != "wddxSerializationType") {
_local4 = serializeVariable(_local8, obj[_local8], node.lastChild);
if (!_local4) {
break;
}
}
}
}
} else {
_local4 = false;
}
return(_local4);
}
function serializeVariable(vname, obj, node) {
var _local2 = true;
var _local3 = new XML();
if (typeof(obj) != "function") {
node.appendChild(_local3.createElement("var"));
node.lastChild.attributes.name = (preserveVarCase ? (serializeAttr(vname)) : (serializeAttr(vname.toLowerCase())));
_local2 = serializeValue(obj, node.lastChild);
}
return(_local2);
}
function serializeString(s, node) {
var _local3 = "";
var _local6 = new XML();
var _local4 = s.length;
node.appendChild(_local6.createElement("string"));
var _local2 = 0;
while (_local2 < _local4) {
_local3 = _local3 + et[ord(s.substring(_local2, _local2 + 1))];
_local2++;
}
node.lastChild.appendChild(_local6.createTextNode(_local3));
}
function serializeAttr(s) {
var _local3 = "";
var _local4 = s.length;
var _local2 = 0;
while (_local2 < _local4) {
_local3 = _local3 + at[ord(s.substring(_local2, _local2 + 1))];
_local2++;
}
return(_local3);
}
static function deserialize(xmlString) {
var _local6 = new com.neodelight.wddx.Wddx();
var _local2 = new XML(xmlString);
var _local4 = new XML();
var _local3 = new Array();
var _local5 = new Object();
while (_local2.nodeName == null) {
_local2 = _local2.firstChild;
}
_local4 = _local2;
if (_local4.nodeName.toLowerCase() == "wddxpacket") {
_local3 = _local4.childNodes;
var _local1 = 0;
while ((_local3[_local1].nodeName.toLowerCase() != "data") && (_local1 < _local3.length)) {
_local1++;
}
if (_local1 < _local3.length) {
_local5 = _local6.deserializeNode(_local3[_local1].firstChild);
return(_local5);
}
return(null);
}
return(null);
}
function deserializeNode(node) {
var _local9 = node.nodeName.toLowerCase();
if (_local9 == "number") {
var _local7 = node.firstChild.nodeValue;
return(Number(_local7));
}
if (_local9 == "boolean") {
var _local7 = String(node.attributes.value).toLowerCase() == "true";
return(_local7);
}
if (_local9 == "string") {
if (node.childNodes.length > 1) {
var _local7 = "";
var _local4 = 0;
_local4 = 0;
while (_local4 < node.childNodes.length) {
if (node.childNodes[_local4].nodeType == 3) {
_local7 = _local7 + deserializeString(node.childNodes[_local4].nodeValue);
} else if (node.childNodes[_local4].nodeName == "char") {
_local7 = _local7 + chr(parseInt(node.childNodes[_local4].attributes.code, 16));
}
_local4++;
}
} else {
var _local7 = deserializeString(node.firstChild.nodeValue);
}
return(_local7);
}
if (_local9 == "array") {
var _local7 = new Array();
var _local16 = 0;
var _local4 = 0;
while (_local4 < node.attributes.length) {
_local7[_local4] = deserializeNode(node.childNodes[_local4].cloneNode(true));
_local4++;
}
return(_local7);
}
if (_local9 == "datetime") {
var _local10 = node.firstChild.nodeValue;
var _local13 = _local10.indexOf("T");
var _local8 = _local10.indexOf("+");
var _local11 = new Array();
var _local12 = new Array();
var _local14 = new Array();
var _local7 = new Date();
if (_local8 == -1) {
_local8 = _local10.lastIndexOf("-");
if (_local8 < _local13) {
_local8 = -1;
}
}
_local11 = _local10.slice(0, _local13).split("-");
_local12 = _local10.slice(_local13 + 1, _local8).split(":");
_local14 = _local10.slice(_local8).split(":");
_local7.setFullYear(parseInt(_local11[0]), parseInt(_local11[1]) - 1, parseInt(_local11[2]));
_local7.setHours(parseInt(_local12[0]), parseInt(_local12[1]));
if (_local8 != -1) {
var _local15 = (parseInt(_local14[0]) * 60) + parseInt(_local14[1]);
_local7.setMinutes(_local7.getMinutes() - (_local7.getTimezoneOffset() + _local15));
}
return(_local7);
}
if (_local9 == "struct") {
var _local7 = new Object();
var _local4 = 0;
while (_local4 < node.childNodes.length) {
if (node.childNodes[_local4].nodeName.toLowerCase() == "var") {
_local7[deserializeAttr(node.childNodes[_local4].attributes.name)] = deserializeNode(node.childNodes[_local4].firstChild);
}
_local4++;
}
return(_local7);
}
if (_local9 == "recordset") {
var _local7 = new com.neodelight.wddx.WddxRecordSet(node.attributes.fieldNames.split(",").reverse(), parseInt(node.attributes.rowCount));
var _local4 = node.childNodes.length - 1;
while (_local4 >= 0) {
if (node.childNodes[_local4].nodeName.toLowerCase() == "field") {
var _local5 = deserializeAttr(node.childNodes[_local4].attributes.name);
_local7[_local5].wddxSerializationType = "field";
var _local3 = node.childNodes[_local4].childNodes.length - 1;
while (_local3 >= 0) {
_local7[_local5][_local3] = new Object();
var _local6 = deserializeNode(node.childNodes[_local4].childNodes[_local3]);
_local7.setField(_local3, _local5, _local6);
_local3--;
}
}
_local4--;
}
return(_local7);
}
}
function deserializeAttr(attr) {
return(attr);
while (_local3 < _local7) {
var _local2 = attr.substring(_local3 + 1, 1);
if (_local2 == "&") {
var _local4 = _local2;
do {
_local2 = attr.substring(_local3, _local3 + 1);
_local4 = _local4 + _local2;
_local3++;
} while (_local2 != ";");
var _local6 = _local6 + atRev[_local4];
} else {
var _local6 = _local6 + _local2;
}
_local3++;
}
return(_local6);
}
function deserializeString(str) {
return(str);
while (_local3 < _local7) {
var _local2 = str.substring(_local3 + 1, 1);
if (_local2 == "&") {
var _local4 = _local2;
do {
_local3++;
_local2 = str.substring(_local3, _local3 + 1);
_local4 = _local4 + _local2;
} while (_local2 != ";");
var _local6 = _local6 + etRev[_local4];
} else {
var _local6 = _local6 + _local2;
}
_local3++;
}
return(_local6);
}
var et = null;
var etRev = null;
var at = null;
var atRev = null;
var timezoneString = null;
var preserveVarCase = null;
var useTimezoneInfo = null;
var wddxPacket = null;
}
Symbol 678 MovieClip [__Packages.com.neodelight.wddx.WddxRecordSet] Frame 0
class com.neodelight.wddx.WddxRecordSet
{
function WddxRecordSet () {
preserveFieldCase = true;
var _local8;
if (arguments.length > 0) {
_local8 = arguments[0].valueOf();
if (typeof(_local8) == "boolean") {
preserveFieldCase = arguments[0];
} else {
var _local7 = arguments[0];
var _local6 = 0;
if (arguments.length > 1) {
_local8 = arguments[1].valueOf();
if (typeof(_local8) == "boolean") {
preserveFieldCase = arguments[1];
} else {
_local6 = arguments[1];
if (arguments.length > 2) {
preserveFieldCase = arguments[2];
}
}
}
var _local4 = 0;
while (_local4 < _local7.length) {
var _local5 = new Array(_local6);
var _local3 = 0;
while (_local3 < _local6) {
_local5[_local3] = null;
_local3++;
}
this[(preserveFieldCase ? (_local7[_local4]) : (_local7[_local4].toLowerCase()))] = _local5;
_local4++;
}
}
}
}
function duplicate() {
var _local3 = new com.neodelight.wddx.WddxRecordSet();
var _local2;
for (_local2 in this) {
if (_local2.toUpperCase() == "PRESERVEFIELDCASE") {
_local3[_local2] = this[_local2];
} else if (this[_local2].isColumn()) {
_local3.addColumn(_local2);
for (var _local4 in this[_local2]) {
_local3.setField(_local4, _local2, getField(_local4, _local2));
}
}
}
return(_local3);
}
function isColumn(name) {
return((typeof(this[name]) == "object") && (name.indexOf("_private_") == -1));
}
function getRowCount() {
var _local2 = 0;
for (var _local3 in this) {
if (isColumn(_local3)) {
_local2 = this[_local3].length;
break;
}
}
return(_local2);
}
function addColumn(name) {
var _local4 = getRowCount();
var _local3 = new Array(_local4);
var _local2 = 0;
while (_local2 < _local4) {
_local3[_local2] = null;
_local2++;
}
this[(preserveFieldCase ? (name) : (name.toLowerCase()))] = _local3;
}
function addRows(n) {
for (var _local5 in this) {
if (isColumn(_local5)) {
var _local3 = this[_local5].length;
var _local2 = _local3;
while (_local2 < (_local3 + n)) {
this[_local5][_local2] = "";
_local2++;
}
}
}
}
function getField(row, col) {
return(this[(preserveFieldCase ? (col) : (col.toLowerCase()))][row]);
}
function setField(row, col, value) {
this[(preserveFieldCase ? (col) : (col.toLowerCase()))][row] = value;
}
function wddxSerialize(serializer, node) {
var _local7 = "";
var _local8 = new Array();
var _local4 = 0;
for (var _local11 in this) {
if (isColumn(_local11)) {
_local8[_local4++] = _local11;
if (_local7.length > 0) {
_local7 = _local7 + ",";
}
_local7 = _local7 + _local11;
}
}
var _local9 = getRowCount();
node.appendChild(new XML().createElement("recordset"));
node.lastChild.attributes.rowCount = _local9;
node.lastChild.attributes.fieldNames = _local7;
var _local3 = true;
_local4 = 0;
while (_local3 && (_local4 < _local8.length)) {
var _local5 = _local8[_local4];
node.lastChild.appendChild(new XML().createElement("field"));
node.lastChild.lastChild.attributes.name = _local5;
var _local2 = 0;
while (_local3 && (_local2 < _local9)) {
_local3 = serializer.serializeValue(this[_local5][_local2], node.lastChild.lastChild);
_local2++;
}
_local4++;
}
return(_local3);
}
var preserveFieldCase = null;
}
Symbol 679 MovieClip [__Packages.com.neodelight.mdm.MdmFile] Frame 0
class com.neodelight.mdm.MdmFile
{
var bufferPath, bufferOut, f;
function MdmFile (action, path, data) {
if (!(action === "append")) {
} else {
_root.stdout = _root.stdout + "worker..\n";
bufferPath = path;
bufferOut = data;
delayedAppend.parent = this;
_global.mdm.fileexists(path, delayedAppend);
}
}
static function save(path, data) {
data = com.neodelight.std.XString.replace(",", "@c@", data);
_global.mdm.savetofile(path, data);
}
static function append(path, dat) {
_root.stdout = _root.stdout + "append()\n";
dat = com.neodelight.std.XString.replace(",", "@c@", dat);
var _local3 = new com.neodelight.mdm.MdmFile("append", path, dat);
}
function delayedAppend(fileExists) {
var _local4 = f.parent.bufferPath;
var _local5 = f.parent.bufferOut;
_root.stdout = _root.stdout + ((((((" delayedAppend(): fileExists=" + fileExists) + ", bufferPath=") + _local4) + ", bufferOut=") + _local5) + newline);
_root.stdout = _root.stdout + com.neodelight.std.XString.dump(this, {depth:2});
if (fileExists == "true") {
_global.mdm.appendtofile(_local4, _local5);
} else {
_global.mdm.savetofile(_local4, _local5);
}
}
}
Symbol 680 MovieClip [__Packages.com.neodelight.std.Timer] Frame 0
class com.neodelight.std.Timer
{
var config, t, msPerFrame, smoothing;
function Timer (config) {
_global.dt = 1;
this.config = config;
t = getTimer();
msPerFrame = (this.config.timerFps ? (1000 / this.config.timerFps) : 33.3333333333333);
smoothing = Math.min(1, Math.max(0, com.neodelight.std.XMath.toNumber(this.config.timerSmoothing)));
}
function update() {
var _local3 = getTimer();
_global.dt = (smoothing * _global.dt) + (((1 - smoothing) * (_local3 - t)) / msPerFrame);
t = _local3;
}
}
Symbol 681 MovieClip [__Packages.com.neodelight.std.Inputs] Frame 0
class com.neodelight.std.Inputs
{
static var hookMc, vMouseA, vMouseVMax, vMouseXMin, vMouseXMax, vMouseYMin, vMouseYMax;
function Inputs () {
}
static function init() {
if (!inited) {
inited = true;
var _local6 = com.neodelight.std.Blueprint.getBlueprint("inputs");
if (_local6) {
var _local3 = _local6.inputsKeys;
if (_local3) {
var _local2 = _local3.length;
while (_local2--) {
define(_local3[_local2][0], _local3[_local2][1]);
}
}
}
Mouse.addListener(com.neodelight.std.Inputs);
}
if (!hookMc) {
var _local5 = (hookMc = _root.createEmptyMovieClip(com.neodelight.std.Unique.getKey(), _root.getNextHighestDepth()));
_local5.onEnterFrame = function () {
com.neodelight.std.Inputs.updateInputs();
if (com.neodelight.std.Inputs.isDown("mouse_click")) {
com.neodelight.std.Inputs.hookMc.onMouseDown();
}
if (com.neodelight.std.Inputs.isTriggeredUp("mouse_click")) {
com.neodelight.std.Inputs.hookMc.onMouseUp();
}
};
_local5.onMouseDown = function () {
var _local2 = com.neodelight.std.Inputs.listeners;
var _local1 = _local2.length;
while (_local1--) {
if (_local2[_local1].onVMouseDown) {
_local2[_local1].onVMouseDown();
}
}
};
_local5.onMouseUp = function () {
var _local2 = com.neodelight.std.Inputs.listeners;
var _local1 = _local2.length;
while (_local1--) {
if (_local2[_local1].onVMouseUp) {
_local2[_local1].onVMouseUp();
}
}
};
}
}
static function define(id, key) {
init();
trace(((("define: \"" + key) + "\" as \"") + id) + "\"");
switch (typeof(key)) {
case "string" :
var _local2 = String(key).length;
while (_local2--) {
define(id, String(key).charCodeAt(_local2));
}
break;
case "number" :
if (!inputs[id]) {
inputs[id] = {isDown:false, triggerDown:false, triggerUp:false, keys:new Array()};
}
inputs[id].keys.push(key);
break;
default :
_global.bin.syslog("Inputs", "define(): unknown variable type: " + typeof(key), 2);
}
}
static function setVirtual(id, isDown) {
vKeysDown[id] = isDown;
}
static function triggerVirtual(id, sustain) {
vKeysDown[id] = true;
vKeysReset.push({id:id, sustain:int(sustain)});
}
static function addListener(listener) {
init();
var _local2 = listeners;
var _local3 = false;
var _local1 = _local2.length;
while (_local1--) {
if (_local2[_local1] == listener) {
_local3 = true;
break;
}
}
if (!_local3) {
_local2.push(listener);
}
}
static function removeListener(listener) {
var _local2 = listeners;
var _local4 = false;
var _local1 = _local2.length;
while (_local1--) {
if (_local2[_local1] == listener) {
_local2.splice(_local1, 1);
break;
}
}
}
static function updateInputs() {
var _local9 = inputs;
var _local7 = vKeysReset;
var _local8 = vKeysDown;
for (var _local10 in _local9) {
var _local3 = _local9[_local10];
var _local2 = false;
var _local5 = _local3.keys;
var _local4 = _local5.length;
while (_local4--) {
var _local1 = _local5[_local4];
if (_local1 < 256) {
if (Key.isDown(_local1)) {
_local2 = true;
break;
}
} else if (_local8[_local1]) {
_local2 = true;
break;
}
}
_local3.triggerDown = (!_local3.isDown) && (_local2);
_local3.triggerUp = _local3.isDown && (!_local2);
_local3.isDown = _local2;
}
var _local6 = _local7.length;
while (_local6--) {
if ((--_local7[_local6].sustain) <= 0) {
_local8[Number(_local7[_local6].id)] = false;
_local7.splice(_local6, 1);
}
}
}
static function isDown(id) {
return((!locked) && (inputs[id].isDown));
}
static function isTriggeredDown(id) {
return((!locked) && (inputs[id].triggerDown));
}
static function isTriggeredUp(id) {
return((!locked) && (inputs[id].triggerUp));
}
static function getMousePos(mc) {
var _local6;
if (vMouse) {
var _local2 = vMouseV;
var _local3 = vMousePos;
var _local4 = vMouseReal;
if ((_local4.x != int(_root._xmouse)) || (_local4.y != int(_root._ymouse))) {
_local4.x = (_local3.x = int(_root._xmouse));
_local4.y = (_local3.y = int(_root._ymouse));
} else {
if (isDown("mouse_right")) {
_local2.x = Math.max(0, _local2.x + vMouseA);
} else if (isDown("mouse_left")) {
_local2.x = Math.min(0, _local2.x - vMouseA);
} else {
_local2.x = 0;
}
if (isDown("mouse_down")) {
_local2.y = Math.max(0, _local2.y + vMouseA);
} else if (isDown("mouse_up")) {
_local2.y = Math.min(0, _local2.y - vMouseA);
} else {
_local2.y = 0;
}
if ((_local2.x != 0) || (_local2.y != 0)) {
var _local5 = Math.min(vMouseVMax, Math.max(Math.abs(_local2.x), Math.abs(_local2.y)));
if (_local2.x != 0) {
if (_local2.x > 0) {
_local2.x = _local5;
} else {
_local2.x = _local5 * -1;
}
}
if (_local2.y != 0) {
if (_local2.y > 0) {
_local2.y = _local5;
} else {
_local2.y = _local5 * -1;
}
}
}
_local3.x = Math.max(vMouseXMin, Math.min(vMouseXMax, _local3.x + _local2.x));
_local3.y = Math.max(vMouseYMin, Math.min(vMouseYMax, _local3.y + _local2.y));
}
_local6 = new com.neodelight.std.Vector(_local3.x, _local3.y);
mc.globalToLocal(_local6);
} else {
_local6 = new com.neodelight.std.Vector(mc._xmouse, mc._ymouse);
}
return(_local6);
}
static function initVMouse(cfg) {
vMouseReal.x = (vMousePos.x = int(_root._xmouse));
vMouseReal.y = (vMousePos.y = int(_root._ymouse));
vMouseA = (cfg.acc ? (com.neodelight.std.XMath.toNumber(cfg.acc)) : 1);
vMouseVMax = (cfg.vMax ? (com.neodelight.std.XMath.toNumber(cfg.vMax)) : 10);
vMouseXMin = (cfg.xMin ? (com.neodelight.std.XMath.toNumber(cfg.xMin)) : 0);
vMouseXMax = (cfg.xMax ? (com.neodelight.std.XMath.toNumber(cfg.xMax)) : 550);
vMouseYMin = (cfg.yMin ? (com.neodelight.std.XMath.toNumber(cfg.yMin)) : 0);
vMouseYMax = (cfg.yMax ? (com.neodelight.std.XMath.toNumber(cfg.yMax)) : 400);
vMouse = true;
init();
}
static function onMouseDown() {
setVirtual(MOUSE_BUTTON, true);
}
static function onMouseUp() {
setVirtual(MOUSE_BUTTON, false);
}
static var inputs = new Object();
static var listeners = new Array();
static var locked = false;
static var vKeysDown = new Object();
static var vKeysReset = new Array();
static var vMouse = false;
static var vMouseKeys = new Object();
static var vMousePos = new com.neodelight.std.Vector();
static var vMouseV = new com.neodelight.std.Vector(0, 0);
static var vMouseReal = new com.neodelight.std.Vector();
static var inited = false;
static var KEY_BACKSPACE = 8;
static var KEY_CAPSLOCK = 20;
static var KEY_CONTROL = 17;
static var KEY_DELETEKEY = 46;
static var KEY_DOWN = 40;
static var KEY_END = 35;
static var KEY_ENTER = 13;
static var KEY_ESCAPE = 27;
static var KEY_HOME = 36;
static var KEY_INSERT = 45;
static var KEY_LEFT = 37;
static var KEY_PGDN = 34;
static var KEY_PGUP = 33;
static var KEY_RIGHT = 39;
static var KEY_SHIFT = 16;
static var KEY_SPACE = 32;
static var KEY_TAB = 9;
static var KEY_UP = 38;
static var JOY_UP = 400;
static var JOY_DOWN = 401;
static var JOY_LEFT = 402;
static var JOY_RIGHT = 403;
static var JOY_BUTTON0 = 404;
static var JOY_BUTTON1 = 405;
static var MOUSE_BUTTON = 406;
}
Symbol 682 MovieClip [__Packages.com.neodelight.std.Analyzer] Frame 0
class com.neodelight.std.Analyzer
{
var mc, timeStampStepIn;
function Analyzer (smoothing, mode) {
mc = _root.createEmptyMovieClip("Analyzer" + count, _root.getNextHighestDepth());
mc.timestamp = getTimer();
if (isNaN(smoothing)) {
smoothing = 0;
}
mc.smoothing = Math.min(1, Math.max(0, smoothing));
mc.createTextField("my_txt", 1, 50 + (count * 50), 0, 50, 20);
count++;
mc.my_txt.multiline = false;
mc.my_txt.wordWrap = false;
mc.my_txt.type = "dynamic";
mc.my_txt.variable = "anadisplay";
mc.my_txt.selectable = false;
mc.my_txt.border = true;
mc.my_txt.background = true;
mc.counted = 0;
mc.dt = 30;
mc.avgIntime = 0;
mc.sumIntime = 0;
switch (mode) {
case 1 :
mc.onEnterFrame = function () {
if (!this.counted) {
return(undefined);
}
this.sumIntime = this.sumIntime / this.counted;
this.avgIntime = (this.smoothing * this.avgIntime) + ((1 - this.smoothing) * this.sumIntime);
this.sumIntime = 0;
this.anadisplay = ((Math.round(((this.avgIntime / this.dt) * 100) * 100) * 0.01) + "X") + this.counted;
this.counted = 0;
};
break;
default :
mc.onEnterFrame = function () {
var _local2 = getTimer();
this.dt = ((1 - this.smoothing) * (_local2 - this.timestamp)) + (this.smoothing * this.dt);
this.timestamp = _local2;
if (!this.counted) {
return(undefined);
}
this.avgIntime = (this.smoothing * this.avgIntime) + ((1 - this.smoothing) * this.sumIntime);
this.sumIntime = 0;
this.counted = 0;
this.anadisplay = "%" + (Math.round(((this.avgIntime / this.dt) * 100) * 10) * 0.1);
};
}
}
function startCount() {
timeStampStepIn = getTimer();
}
function stopCount() {
mc.sumIntime = mc.sumIntime + (getTimer() - timeStampStepIn);
mc.counted++;
}
static var count = 0;
}
Symbol 683 MovieClip [__Packages.com.neodelight.r2d.R2dLevel] Frame 0
class com.neodelight.r2d.R2dLevel
{
var title, colLine, colFill, skin, groundY, ice, challenge, challengePart, challengePartFrame, startX, startY, xtras, initLookDir, map;
function R2dLevel (config) {
title = config.title;
colLine = config.colLine;
colFill = config.colFill;
skin = int(config.skin);
groundY = config.groundY;
ice = 1;
challenge = (config.challenge ? (config.challenge) : 15000);
challengePart = (config.challengePart ? (config.challengePart) : 4);
challengePartFrame = (config.challengePartFrame ? (config.challengePartFrame) : 2);
startX = int(config.startX);
startY = int(config.startY);
xtras = config.xtras;
initLookDir = ((config.initLookDir == 1) ? 1 : -1);
switch (skin) {
case 0 :
ice = 0;
colLine = 8276760 /* 0x7E4B18 */;
colFill = 11759139 /* 0xB36E23 */;
break;
case 1 :
ice = 0;
colLine = 16449278 /* 0xFAFEFE */;
colFill = 12121084 /* 0xB8F3FC */;
break;
case 2 :
ice = 0;
colLine = 10929199 /* 0xA6C42F */;
colFill = 3355392 /* 0x333300 */;
break;
}
var _local10 = config.map;
for (var _local12 in _local10) {
var _local2 = _local10[_local12];
var _local8 = _local2[0][0];
var _local7 = _local2[0][1];
var _local4 = Number.NEGATIVE_INFINITY;
var _local3 = Number.NEGATIVE_INFINITY;
for (var _local11 in _local2) {
if (_local11 == 0) {
_local2[0][2] = _local4 + _local2[0][0];
_local2[0][3] = _local3 + _local2[0][1];
} else {
if (_local2[_local11][0] > _local4) {
_local4 = _local2[_local11][0];
}
if (_local2[_local11][1] > _local3) {
_local3 = _local2[_local11][1];
}
}
}
var _local6 = Number.POSITIVE_INFINITY;
var _local5 = Number.POSITIVE_INFINITY;
for (var _local11 in _local2) {
if (_local11 == 0) {
_local2[0][0] = _local6 + _local2[0][0];
_local2[0][1] = _local5 + _local2[0][1];
} else {
if (_local2[_local11][0] < _local6) {
_local6 = _local2[_local11][0];
}
if (_local2[_local11][1] < _local5) {
_local5 = _local2[_local11][1];
}
}
}
_local2[0][4] = _local8;
_local2[0][5] = _local7;
}
map = _local10;
}
}
Symbol 684 MovieClip [__Packages.com.neodelight.mdm.DirectX] Frame 0
class com.neodelight.mdm.DirectX
{
static var width, height, depth;
function DirectX () {
}
static function setResolution(x, y, d) {
com.neodelight.flanix.Kernel.init();
if ((!((((((x == 320) && (y == 240)) || ((x == 400) && (y == 300))) || ((x == 640) && (y == 480))) || ((x == 800) && (y == 600))) || ((x == 1024) && (y == 768)))) || (!((d == 16) || (d == 32)))) {
_global.bin.syslog("Mdm", (((("DirectX: setResolution(): Illegal Resolution! " + x) + ", ") + y) + ", ") + d, 3);
return(undefined);
}
if (((width == x) && (height == y)) && (depth == d)) {
_global.bin.syslog("Mdm", (((("DirectX: setResolution(): Alread set! " + x) + ", ") + y) + ", ") + d, 1);
return(undefined);
}
_global.bin.syslog("Mdm", (((_root.mdm_display_width + "/") + _root.mdm_display_height) + ":") + _root.mdm_display_depth);
_global.bin.syslog("Mdm", (((("DirectX: setResolution(): " + x) + ", ") + y) + ", ") + d);
_global.mdm.setdxres(x, y, d);
_global.mdm.size(x, y);
width = x;
height = y;
depth = d;
_global.mdm.getresolution("mdm_display_height", "mdm_display_width", "mdm_display_depth");
_global.bin.syslog("Mdm", (((_root.mdm_display_width + "/") + _root.mdm_display_height) + ":") + _root.mdm_display_depth);
_root.onAppChangeFocus = function (focussed) {
if (focussed == "true") {
com.neodelight.mdm.DirectX.restoreResolution();
_global.paused = false;
} else {
_global.bin.syslog("Mdm", "onAppChangeFocus(): lose focus");
_global.paused = true;
}
};
}
static function getResolutionString() {
return((((width + "x") + height) + "x") + depth);
}
static function setFullScreen() {
_global.mdm.size(width, height);
}
static function restoreResolution() {
_global.bin.syslog("Mdm", "onAppChangeFocus(): regain focus -> restore DirectX resolution");
_global.mdm.setdxres(width, height, depth);
}
static var focussed = true;
}
Symbol 685 MovieClip [__Packages.com.neodelight.r2d.R2d] Frame 0
class com.neodelight.r2d.R2d
{
var lvl, worldTileX, worldTileY, worldX, worldY, mc, fx, springs, timeStart, xtras, player, accTilt, map, lines, linesLen, cameraX, cameraY, freeze, hopSustain, hopLock, hopSoundLock, idleTimer, matrix, texture, sndDrive, pushCount;
function R2d () {
_root.engine = this;
var _local11 = (lvl = _global.lib.lvls[_global.game.actLevel]);
worldTileX = Number.NEGATIVE_INFINITY;
worldTileY = Number.NEGATIVE_INFINITY;
worldX = lvl.startX - 275;
worldY = lvl.startY - 250;
_root.createEmptyMovieClip("gameMc", 0);
mc = _root.gameMc;
fx = new com.neodelight.std.ColorFader(mc);
mc.attachMovie("background", "backgroundMc", 0);
mc.createEmptyMovieClip("bg", 2);
mc.attachMovie("wheel", "wheel1", 22, {_x:179, _y:230, _rotation:random(360)});
mc.attachMovie("wheel", "wheel2", 21, {_x:371, _y:230, _rotation:random(360)});
mc.attachMovie("body", "body", 12, {_x:275, _y:250});
mc.createEmptyMovieClip("driver", 15);
mc.driver._visible = false;
mc.createEmptyMovieClip("xtrasMc", 1);
mc.leg1b.col = new Color(mc.leg1b);
mc.leg1b.col.setTransform({ra:80, rb:0, ga:80, gb:0, ba:80, bb:0, aa:100, ab:0});
mc.leg2b.col = new Color(mc.leg2b);
mc.leg2b.col.setTransform({ra:80, rb:0, ga:80, gb:0, ba:80, bb:0, aa:100, ab:0});
mc.driver.attachMovie("body1", "torso", 9);
newForce(mc.wheel1, 200, 230);
newForce(mc.wheel2, 335, 230);
var _local6;
mc.anchor0 = {};
_local6 = {x:mc.body.a0._x, y:mc.body.a0._y};
mc.body.localToGlobal(_local6);
newForce(mc.anchor0, _local6.x, _local6.y, true);
mc.anchor1 = {};
_local6 = {x:mc.body.a1._x, y:mc.body.a1._y};
mc.body.localToGlobal(_local6);
newForce(mc.anchor1, _local6.x, _local6.y);
mc.anchor2 = {};
_local6 = {x:mc.body.a2._x, y:mc.body.a2._y};
mc.body.localToGlobal(_local6);
newForce(mc.anchor2, _local6.x, _local6.y, true);
mc.anchor2b = {};
_local6 = {x:mc.body.a2b._x, y:mc.body.a2b._y};
mc.body.localToGlobal(_local6);
newForce(mc.anchor2b, _local6.x, _local6.y, true);
mc.driver0 = {};
_local6 = {x:mc.body.r0._x, y:mc.body.r0._y};
mc.body.localToGlobal(_local6);
newForce(mc.driver0, _local6.x, _local6.y);
mc.driver1 = {};
_local6 = {x:mc.body.r1._x, y:mc.body.r1._y};
mc.body.localToGlobal(_local6);
newForce(mc.driver1, _local6.x, _local6.y);
mc.driver2 = {};
_local6 = {x:mc.body.r2._x, y:mc.body.r2._y};
mc.body.localToGlobal(_local6);
newForce(mc.driver2, _local6.x, _local6.y);
mc.driver2b = {};
_local6 = {x:mc.body.r2b._x, y:mc.body.r2b._y};
mc.body.localToGlobal(_local6);
newForce(mc.driver2b, _local6.x, _local6.y);
mc.driver2b;
springs = [[mc.wheel1, mc.wheel2], [mc.driver0, mc.anchor0], [mc.driver1, mc.anchor0], [mc.driver0, mc.driver1], [mc.anchor1, mc.driver1], [mc.driver0, mc.anchor1], [mc.anchor1, mc.driver2], [mc.anchor1, mc.driver2b], [mc.driver2, mc.anchor2][mc.anchor2b]];
for (var _local7 in springs) {
var _local4 = springs[_local7];
var _local9 = _local4[0].x - _local4[1].x;
var _local8 = _local4[0].y - _local4[1].y;
_local4[2] = int(Math.sqrt((_local9 * _local9) + (_local8 * _local8)) * 100) / 100;
}
mc.attachMovie("hud", "hud", 18);
mc.hud._x = 0;
mc.hud._y = 0;
timeStart = getTimer();
_global.tagCount = 0;
_global.numberOfTags = 0;
xtras = new Array(lvl.xtras.length);
var _local7 = lvl.xtras.length;
while (_local7--) {
var _local5 = lvl.xtras[_local7];
if (_local5[2] == 2) {
_global.numberOfTags++;
}
xtras[_local7] = [_local5[0], _local5[1], _local5[2], null, false, false];
}
var _local10 = (player = {});
_local10.vel = 0;
_local10.dir = 1;
_local10.pedalPos = 0;
_local10.tilt = 0;
_local10.dead = 0;
_local10.ducking = 0;
_local10.maxVel = ((1 - _local11.ice) * 10) + (_local11.ice * 5);
_local10.acc1 = ((1 - _local11.ice) * 1.6) + (_local11.ice * 0.8);
_local10.acc2 = 0.4;
_local10.minVel = ((1 - _local11.ice) * -8) + (_local11.ice * -4);
accTilt = 0.023;
map = [];
lines = new Array(300);
_local7 = 0;
while (_local7 < 300) {
lines[_local7] = [0, 0, 0, 0];
_local7++;
}
linesLen = 0;
cameraX = 0;
cameraY = 0;
freeze = 0;
hopSustain = 0;
hopLock = 0;
hopSoundLock = 0;
_root.keySpace = true;
mc.backgroundMc.gotoAndStop(lvl.skin + 1);
idleTimer = -1;
matrix = new flash.geom.Matrix();
texture = flash.display.BitmapData.loadBitmap("texture" + lvl.skin);
sndDrive = _global.snd.channelsById.drive;
_global.snd.playEvent("sndLevelStart", 1);
mc.engine = this;
mc.i = 0;
mc.onEnterFrame = function () {
_root.a.startCount();
this.engine.move();
_root.a.stopCount();
};
fx.fadeTo(com.neodelight.std.ColorFader.FX_BLACK, 0);
fx.fadeTo(com.neodelight.std.ColorFader.FX_NONE, 10);
_root.attachMovie("go", "goMc", _root.getNextHighestDepth());
}
function debug() {
mc.attachMovie("light", "light", 50, {_x:0, _y:20});
}
function verlet(v) {
var _local3 = v.ox;
var _local2 = v.oy;
v.ox = v.x;
v.oy = v.y;
if (v.f > 0) {
v.fx = v.fx / v.f;
}
if (v.f > 0) {
v.fy = v.fy / v.f;
}
v.x = v.x + ((0.99 * (v.x - _local3)) + v.fx);
v.y = v.y + (((0.99 * (v.y - _local2)) + v.fy) + 1.5);
v.fx = (v.fy = (v.f = 0));
}
function zero(n) {
if (n < 10) {
return("0" + n);
}
return(n.toString());
}
function newForce(o, x, y, isAnchor) {
o.x = (o.ox = x);
o.y = (o.oy = y);
o.fx = (o.fy = (o.f = 0));
if (isAnchor) {
o.a = true;
}
}
function drawMap() {
var _local9 = mc;
var _local14 = _local9.bg;
var _local17 = lvl;
var _local18 = _local17.colFill;
var _local16 = map;
var _local11 = worldX;
var _local10 = worldY;
_local14.clear();
_local14.lineStyle(0, 0, 0);
var _local12 = lines;
var _local3 = null;
var _local7 = 0;
var _local6 = 0;
var _local5 = 0;
var _local13 = 0;
var _local8 = 0;
var _local4;
var _local15 = _local16.length;
while (_local15--) {
_local3 = _local16[_local15];
if (!((((_local3[0][0] > (_local11 + 650)) || (_local3[0][2] < _local11)) || (_local3[0][1] > (_local10 + 500))) || (_local3[0][3] < _local10))) {
_local7 = _local3[0][4] - _local11;
_local6 = _local3[0][5] - _local10;
matrix.tx = -_local11;
matrix.ty = -_local10;
_local14.beginBitmapFill(texture, matrix);
_local14.moveTo(_local3[1][0] + _local7, _local3[1][1] + _local6);
_local5 = 2;
_local13 = _local3.length;
_root.a1.startCount();
while (_local5 < _local13) {
_local4 = _local12[_local8];
_local4[0] = _local3[_local5 - 1][0] + _local7;
_local4[1] = _local3[_local5 - 1][1] + _local6;
_local4[2] = _local3[_local5][0] + _local7;
_local4[3] = _local3[_local5][1] + _local6;
_local8++;
_local9.bg.lineTo(_local4[2], _local4[3]);
_local5++;
}
_local4 = _local12[_local8];
_local4[0] = _local3[_local5 - 1][0] + _local7;
_local4[1] = _local3[_local5 - 1][1] + _local6;
_local4[2] = _local3[1][0] + _local7;
_local4[3] = _local3[1][1] + _local6;
_local8++;
_local9.bg.lineTo(_local4[2], _local4[3]);
_local9.bg.endFill();
_root.a1.stopCount();
}
}
linesLen = _local8;
}
function refreshMap() {
var _local8 = int(worldX / 650);
var _local7 = int(worldY / 500);
if ((_local8 != worldTileX) || (_local7 != worldTileY)) {
var _local4 = lvl.map;
worldTileX = _local8;
worldTileY = _local7;
delete map;
map = new Array();
var _local6 = _local8 * 650;
var _local5 = _local7 * 500;
var _local2 = null;
var _local3 = _local4.length;
while (_local3--) {
_local2 = _local4[_local3][0];
if (!((((_local2[0] > (_local6 + 1300)) || (_local2[1] > (_local5 + 1000))) || (_local2[2] < _local6)) || (_local2[3] < _local5))) {
map.push(_local4[_local3]);
}
}
}
}
function constraints(v, acc) {
var _local18 = player;
var _local35 = lvl;
var _local40 = mc;
var _local37 = _local40.bg;
var _local17 = Math.sqrt;
var _local22;
var _local20;
var _local12;
var _local21;
var _local19;
var _local29;
var _local26;
var _local14;
var _local13;
var _local7;
v.ground = false;
var _local24 = v == _local40.driver0;
var _local15;
var _local25;
if (_local24) {
_local15 = 11;
_local25 = 100;
} else {
_local15 = 25;
_local25 = 576;
}
if (_local37.hitTest(v.x, v.y, true)) {
if (_local24) {
return(true);
}
_local14 = v.ox - v.x;
_local13 = v.oy - v.y;
_local7 = _local17((_local14 * _local14) + (_local13 * _local13));
_local14 = _local14 / _local7;
_local13 = _local13 / _local7;
do {
v.x = v.x + (_local14 * 20);
v.y = v.y + (_local13 * 20);
} while (_local37.hitTest(v.x, v.y, true));
v.ox = v.x;
v.oy = v.y;
trace("SND cheap collision");
_global.snd.playEvent("sndBump", 1);
}
var _local33;
var _local30;
var _local31;
var _local27;
var _local9;
var _local11;
var _local8;
var _local10;
var _local6;
var _local5;
var _local4;
var _local23;
var _local36;
var _local16;
var _local41;
var _local34 = linesLen;
var _local38 = lines;
var _local32;
var _local28;
while (_local34--) {
_local16 = _local38[_local34];
_local9 = _local16[0];
_local11 = _local16[1];
_local8 = _local16[2];
_local10 = _local16[3];
if (_local9 < _local8) {
_local33 = _local9;
_local30 = _local8;
} else {
_local33 = _local8;
_local30 = _local9;
}
if (_local11 < _local10) {
_local31 = _local11;
_local27 = _local10;
} else {
_local31 = _local10;
_local27 = _local11;
}
if (((((v.x + 30) < _local33) || ((v.x - 30) > _local30)) || ((v.y + 30) < _local31)) || ((v.y - 30) > _local27)) {
continue;
}
_local6 = _local8 - _local9;
_local5 = _local10 - _local11;
_local23 = (_local6 * _local6) + (_local5 * _local5);
_local4 = _local17(_local23);
_local6 = _local6 / _local4;
_local5 = _local5 / _local4;
_local36 = _local6;
_local6 = _local5;
_local5 = -_local36;
_local22 = _local9 - v.x;
_local20 = _local11 - v.y;
_local12 = (_local22 * _local6) + (_local20 * _local5);
_local14 = _local6 * _local12;
_local13 = _local5 * _local12;
_local7 = (_local14 * _local14) + (_local13 * _local13);
if (_local7 < _local25) {
_local21 = (_local9 - v.x) - _local14;
_local19 = (_local11 - v.y) - _local13;
_local29 = (_local8 - v.x) - _local14;
_local26 = (_local10 - v.y) - _local13;
if ((((_local21 * _local21) + (_local19 * _local19)) < _local23) && (((_local29 * _local29) + (_local26 * _local26)) < _local23)) {
_local7 = _local17(_local7);
_local14 = _local14 / _local7;
_local13 = _local13 / _local7;
_local32 = _local14 * (_local15 - _local7);
_local28 = _local13 * (_local15 - _local7);
v.x = v.x - _local32;
v.y = v.y - _local28;
pushCount = pushCount + (_local32 + _local28);
if (_local24) {
return(true);
}
v.ox = v.ox + (((1 - _local35.ice) * (v.x - v.ox)) / (56 - _local7));
v.oy = v.oy + (((1 - _local35.ice) * (v.y - v.oy)) / (56 - _local7));
_local6 = _local8 - _local9;
_local5 = _local10 - _local11;
_local6 = _local6 / _local4;
_local5 = _local5 / _local4;
if (_local8 < _local9) {
_local22 = _local8 - v.x;
_local20 = _local10 - v.y;
}
_local12 = (_local22 * _local21) + (_local20 * _local19);
if (_local12 > 1) {
_local12 = 1;
} else {
_local12 = -1;
}
v.ground = true;
if (acc) {
v.f++;
v.fx = v.fx + ((((_local12 * _local6) * _local18.dir) * _local18.vel) / (25 - _local7));
v.fy = v.fy + ((((_local12 * _local5) * _local18.dir) * _local18.vel) / (25 - _local7));
v.fy = v.fy * 0.5;
}
} else {
_local6 = v.x - _local9;
_local5 = v.y - _local11;
_local4 = (_local6 * _local6) + (_local5 * _local5);
if (_local4 < _local25) {
if (_local24) {
return(true);
}
_local4 = _local17(_local4);
_local6 = _local6 / _local4;
_local5 = _local5 / _local4;
v.x = v.x + (_local6 * (_local15 - _local4));
v.y = v.y + (_local5 * (_local15 - _local4));
v.ox = v.ox + (((v.x - v.ox) * 1) / (56 - _local4));
v.oy = v.oy + (((v.y - v.oy) * 1) / (56 - _local4));
}
_local6 = v.x - _local8;
_local5 = v.y - _local10;
_local4 = (_local6 * _local6) + (_local5 * _local5);
if (_local4 < _local25) {
if (_local24) {
return(true);
}
_local4 = _local17(_local4);
_local6 = _local6 / _local4;
_local5 = _local5 / _local4;
v.x = v.x + (_local6 * (_local15 - _local4));
v.y = v.y + (_local5 * (_local15 - _local4));
v.ox = v.ox + (((v.x - v.ox) * 1) / (56 - _local4));
v.oy = v.oy + (((v.y - v.oy) * 1) / (56 - _local4));
}
}
}
}
if (_local24) {
return(false);
}
}
function quit(win, reason) {
var _local6 = mc;
var _local4 = _root.shared;
_local6.removeMovieClip();
_root.onEnterFrame = function () {
};
_root.inGame = false;
var _local5 = (_root.lastMapTime = getTimer() - timeStart);
_local4.data.totalTime = _local4.data.totalTime + _local5;
var _local9 = !win;
var _local8 = _root.mapId;
if (reason == "quit") {
_root.gotoAndStop("level");
} else if (reason == "win") {
_root.resultTime = Math.max(0, Math.floor(200.99 - ((getTimer() - timeStart) / timeSpeed)));
_root.resultUnlock = ((_global.game.actLevel + 1) < _global.lib.lvls.length) && ((_global.game.actLevel + 1) > _global.game.maxLevel);
_global.game.actLevel = Math.min(_global.game.actLevel + 1, _global.lib.lvls.length - 1);
_global.game.maxLevel = (_local4.data.maxLevel = Math.max(_global.game.maxLevel, _global.game.actLevel));
_local4.flush();
_root.gotoAndStop("levelOver");
} else {
_root.reasonOfDeath = reason;
_root.gotoAndPlay("newGame");
}
}
function move() {
if (freeze) {
freeze--;
if (freeze == 0) {
fx.fadeTo({ra:100, rb:0, ga:33, gb:0, ba:0, bb:0, aa:100, ab:0}, 0);
fx.fadeTo(com.neodelight.std.ColorFader.FX_BLACK, player.deathCount);
} else if (freeze % 2) {
fx.fadeTo({ra:100, rb:0, ga:66, gb:0, ba:0, bb:0, aa:100, ab:0}, 0);
} else {
fx.fadeTo({ra:100, rb:0, ga:33, gb:0, ba:0, bb:0, aa:100, ab:0}, 0);
}
return(undefined);
}
var _local42 = Math.sin;
var _local35 = Math.cos;
var _local19 = Math.atan2;
var _local16 = (Math.PI/180);
var _local20 = Math.sqrt;
var _local4 = mc;
var _local46 = _root.shared;
var _local31 = lvl;
var player = player;
var _local55 = 0;
var _local47 = 0;
var _local48 = 0;
var _local32 = Math.max(0, 200.99 - ((getTimer() - timeStart) / timeSpeed));
if (_local32 == 0) {
timeStart = getTimer() - (200.99 * timeSpeed);
}
var _local38 = Math.floor(_local32);
var _local39 = Math.floor((_local32 - _local38) * 100);
_local4.hud.t.text = (_local4.hud.t1.text = _local38);
_local4.hud.h.text = (_local4.hud.h1.text = zero(_local39));
_local4.hud.score_txt.text = _root.score;
if (!player.dead) {
if ((_local4.wheel1.y + worldY) > _local31.groundY) {
_global.snd.playEvent("sndAbyss", 1);
death();
}
if (_local32 == 0) {
_global.snd.playEvent("sndAbyss", 1);
death1();
}
}
var _local30 = worldX;
var worldY = worldY;
var _local58;
var _local56;
var _local27 = _local30 - 100;
var _local25 = _local30 + 650;
var _local26 = worldY - 100;
var _local24 = worldY + 500;
var _local12 = null;
var _local45 = _local4.wheel1.x + _local30;
var _local61 = _local4.wheel1.y + worldY;
var _local62 = _local4.wheel2.x + _local30;
var _local59 = _local4.wheel2.y + worldY;
var _local13 = {x:0, y:0};
_local13.x = _local4.body.c._x;
_local13.y = _local4.body.c._y;
_local4.body.localToGlobal(_local13);
var _local22 = xtras;
var _local14 = _local22.length;
var _local5;
while (_local14--) {
_local5 = _local22[_local14];
if (_local5[4]) {
continue;
}
_local58 = _local5[0];
_local56 = _local5[1];
if (!((((_local58 < _local27) || (_local58 > _local25)) || (_local56 < _local26)) || (_local56 > _local24))) {
if (!_local5[3]) {
var _local6 = _local4.xtrasMc.getNextHighestDepth();
_local12 = (_local5[3] = _local4.xtrasMc.attachMovie("xtra", "f" + _local6, _local6));
_local12.gotoAndStop(_local5[2]);
}
_local12 = _local5[3];
_local12._x = _local58 - worldX;
_local12._y = _local56 - worldY;
if ((_local5[2] < 7) && (Math.sqrt(Math.pow(_local12._x - _local13.x, 2) + Math.pow(_local12._y - _local13.y, 2)) < 55)) {
var _local11 = false;
switch (_local5[2]) {
case 1 :
_root.attachMovie("fcoinsanim", com.neodelight.std.Unique.getKey(), _root.getNextHighestDepth());
_global.snd.playEvent("sndTime", 1);
_root.mapRedraw();
_local11 = true;
_root.score = _root.score + 100;
_root.hcoins = _root.hcoins + 1;
trace((_root.hcoins + ":") + _root.fcoins);
_local4.hud.score_txt.text = _root.score;
_local4.hud.hcoins_txt.text = _root.hcoins;
_local4.hud.fcoins_txt.text = _root.fcoins;
trace(_root.score);
trace(_root.hcoins);
trace(_root.fcoins);
break;
case 2 :
_global.tagCount++;
_root.attachMovie("titleExitUnlocked", com.neodelight.std.Unique.getKey(), _root.getNextHighestDepth());
_global.snd.playEvent("sndKey", 1);
_local11 = true;
break;
case 3 :
if (_global.tagCount == _global.numberOfTags) {
_global.snd.playEvent("sndPortal", 1);
quit(true, "win");
_local11 = true;
trace("you win this game");
}
break;
case 5 :
trace("bonus 5");
timeStart = timeStart + 17600;
_root.attachMovie("titleBonusTime", com.neodelight.std.Unique.getKey(), _root.getNextHighestDepth());
_global.snd.playEvent("sndTime", 1);
_root.mapRedraw();
_local11 = true;
break;
case 6 :
trace("bonus 6");
_root.attachMovie("hundredcoins", com.neodelight.std.Unique.getKey(), _root.getNextHighestDepth());
_global.snd.playEvent("sndTime", 1);
_root.mapRedraw();
_local11 = true;
_root.score = _root.score + 500;
_root.fcoins = _root.fcoins + 1;
_local4.hud.score_txt.text = _root.score;
_local4.hud.fcoins_txt.text = _root.fcoins;
break;
default :
trace("error: unknown tag type: " + _local5[2]);
}
if (_local11) {
_local5[4] = true;
_local5[3].removeMovieClip();
_local5[3] = null;
}
}
} else if (_local5[3]) {
_local5[3].removeMovieClip();
_local5[3] = null;
}
}
if (Key.isDown(45)) {
trace(((_root._xmouse + worldX) + ",") + (_root._ymouse + worldY));
}
var _local7;
var _local8;
var _local21;
var _local18;
var _local17 = false;
if (!player.dead) {
if (Key.isDown(27)) {
_local4.hud.score_txt.text = _root.score;
_local4.hud.hcoins_txt.text = _root.hcoins;
_local4.hud.fcoins_txt.text = _root.fcoins;
_global.snd.fadeChannel("athmo", -1, 10);
_global.snd.playLoop("sndMusic", 1, undefined, "music");
sndDrive.stop();
quit(false, "quit");
return(undefined);
}
if (Key.isDown(38)) {
player.vel = player.vel + player.acc1;
player.vel = Math.min(player.maxVel, player.vel);
} else if (Key.isDown(40)) {
player.vel = player.vel - player.acc2;
player.vel = Math.max(player.minVel, player.vel);
} else {
player.vel = player.vel * 0.5;
}
if (idleTimer > -1) {
idleTimer++;
if (idleTimer > 80) {
idleTimer = -1;
}
}
if (Key.isDown(32)) {
if (!_root.keySpace) {
_root.keySpace = true;
player.dir = player.dir * -1;
_local4.body._xscale = (_local4.driver.torso._xscale = (_local4.driver.arm1._yscale = (_local4.driver.arm2._yscale = (_local4.driver.leg1._yscale = (_local4.driver.leg2._yscale = (_local4.leg1b._yscale = (_local4.leg2b._yscale = player.dir * 100)))))));
_global.snd.playEvent("sndFlip", 0.1);
_local17 = true;
}
} else {
_root.keySpace = false;
}
if (Key.isDown(37)) {
_local7 = _local4.wheel2.x - _local4.wheel1.x;
_local8 = _local4.wheel2.y - _local4.wheel1.y;
var _local41 = Math.max(0.5, Math.abs(_local35(4.71238898038469 - com.neodelight.std.XMath.vAngle(_local7, _local8))));
var _local37 = com.neodelight.std.XMath.vRotate(new com.neodelight.std.Vector(_local7, _local8), (-accTilt) * _local41);
var fx = (_local37.x - _local7);
var _local40 = _local37.y - _local8;
_local4.wheel2.f++;
_local4.wheel2.fx = _local4.wheel2.fx + fx;
_local4.wheel2.fy = _local4.wheel2.fy + _local40;
player.tilt = player.tilt - 4;
} else if (Key.isDown(39)) {
_local7 = _local4.wheel1.x - _local4.wheel2.x;
_local8 = _local4.wheel1.y - _local4.wheel2.y;
var _local41 = Math.max(0.5, Math.abs(_local35(4.71238898038469 - com.neodelight.std.XMath.vAngle(_local7, _local8))));
var _local37 = com.neodelight.std.XMath.vRotate(new com.neodelight.std.Vector(_local7, _local8), accTilt * _local41);
var fx = (_local37.x - _local7);
var _local40 = _local37.y - _local8;
_local4.wheel1.f++;
_local4.wheel1.fx = _local4.wheel1.fx + fx;
_local4.wheel1.fy = _local4.wheel1.fy + _local40;
player.tilt = player.tilt + 4;
}
hopSustain--;
hopLock--;
hopSoundLock--;
if (Key.isDown(16)) {
hopSustain = 5;
}
if (_local4.wheel1.ground || (_local4.wheel2.ground)) {
if (hopSustain > 0) {
var _local41 = com.neodelight.std.XMath.vAngle(_local4.wheel2.x - _local4.wheel1.x, _local4.wheel2.y - _local4.wheel1.y);
_local8 = Math.sin(_local41) * -10;
_local7 = 0;
_local4.wheel1.fx = _local4.wheel1.fx + _local7;
_local4.wheel1.fy = _local4.wheel1.fy + _local8;
_local4.wheel2.fx = _local4.wheel2.fx + _local7;
_local4.wheel2.fy = _local4.wheel2.fy + _local8;
player.ducking = 10;
if (hopSoundLock <= 0) {
if (Math.random() < 0.66) {
_global.snd.playEvent("sndHep0", 0.22);
} else {
_global.snd.playEvent("sndHep1", 0.22);
}
hopSoundLock = 15;
}
hopLock = 5;
}
}
}
player.tilt = player.tilt * 0.94;
player.ducking = player.ducking * 0.9;
refreshMap();
drawMap();
if (!player.dead) {
_local13 = {x:0, y:0};
_local13.x = _local4.body.a0._x;
_local13.y = _local4.body.a0._y;
_local4.body.localToGlobal(_local13);
_local4.anchor0.x = _local13.x;
_local4.anchor0.y = _local13.y;
var _local33 = _local42(player.pedalPos);
var _local34 = _local35(player.pedalPos);
_local13.x = _local4.body.a2._x + (_local33 * 15);
_local13.y = _local4.body.a2._y - (_local34 * 10);
_local4.body.localToGlobal(_local13);
_local4.anchor2.x = _local13.x;
_local4.anchor2.y = _local13.y;
_local13.x = _local4.body.a2b._x - (_local33 * 15);
_local13.y = _local4.body.a2b._y + (_local34 * 10);
_local4.body.localToGlobal(_local13);
_local4.anchor2b.x = _local13.x;
_local4.anchor2b.y = _local13.y;
_local13.x = _local4.body.a1._x;
_local13.y = _local4.body.a1._y;
_local4.body.localToGlobal(_local13);
_local4.anchor1.x = _local4.anchor1.x + ((_local13.x - _local4.anchor1.x) / (_local17 ? 1 : 2));
_local4.anchor1.y = _local4.anchor1.y + ((_local13.y - _local4.anchor1.y) / (_local17 ? 1 : 2));
if ((player.tilt * player.dir) < 0) {
_local13.x = _local4.body.r0._x - ((player.tilt * 0.5) * player.dir);
_local13.y = (_local4.body.r0._y - Math.abs(player.tilt)) - (player.ducking * 5);
} else {
_local13.x = _local4.body.r0._x - player.tilt;
_local13.y = _local4.body.r0._y - (player.ducking * 5);
}
_local4.body.localToGlobal(_local13);
_local4.driver0.x = _local4.driver0.x + ((_local13.x - _local4.driver0.x) / (_local17 ? 1 : 4));
_local4.driver0.y = _local4.driver0.y + ((_local13.y - _local4.driver0.y) / (_local17 ? 1 : 4));
_local13.x = (_local4.body.r2._x - (_local33 * 10)) + ((Math.max(0, player.tilt) * 0.2) * player.dir);
_local13.y = (_local4.body.r2._y - (_local34 * 10)) + (player.ducking * 0.3);
_local4.body.localToGlobal(_local13);
_local4.driver2.x = _local4.driver2.x + ((_local13.x - _local4.driver2.x) / (_local17 ? 1 : 2));
_local4.driver2.y = _local4.driver2.y + ((_local13.y - _local4.driver2.y) / (_local17 ? 1 : 2));
_local13.x = _local4.body.r2b._x + (_local33 * 10);
_local13.y = _local4.body.r2b._y + (_local34 * 10);
_local4.body.localToGlobal(_local13);
_local4.driver2b.x = _local4.driver2b.x + ((_local13.x - _local4.driver2b.x) / (_local17 ? 1 : 2));
_local4.driver2b.y = _local4.driver2b.y + ((_local13.y - _local4.driver2b.y) / (_local17 ? 1 : 2));
}
var _local23 = verlet;
_local23(_local4.wheel1);
_local23(_local4.wheel2);
_local23(_local4.driver0);
_local23(_local4.driver1);
_local23(_local4.driver2);
_local23(_local4.driver2b);
_local23(_local4.anchor1);
var _local10;
var _local9;
var _local15 = springs;
if (!player.dead) {
_local14 = _local15.length;
while (_local14--) {
_local10 = _local15[_local14][0];
_local9 = _local15[_local14][1];
_local7 = _local9.x - _local10.x;
_local8 = _local9.y - _local10.y;
var _local6 = _local20((_local7 * _local7) + (_local8 * _local8));
_local6 = (_local6 - springs[_local14][2]) / _local6;
if (_local10.a) {
_local9.x = _local9.x - (_local7 * _local6);
_local9.y = _local9.y - (_local8 * _local6);
} else if (_local9.a) {
_local10.x = _local10.x + (_local7 * _local6);
_local10.y = _local10.y + (_local8 * _local6);
} else {
_local10.x = _local10.x + ((_local7 * 0.5) * _local6);
_local10.y = _local10.y + ((_local8 * 0.5) * _local6);
_local9.x = _local9.x - ((_local7 * 0.5) * _local6);
_local9.y = _local9.y - ((_local8 * 0.5) * _local6);
}
}
}
pushCount = 0;
var _local44 = _local4.wheel1.ground;
var _local43 = _local4.wheel2.ground;
constraints(_local4.wheel1, player.dir == 1);
constraints(_local4.wheel2, player.dir == -1);
if (((!_local44) && (_local4.wheel1.ground)) || ((!_local43) && (_local4.wheel2.ground))) {
if (pushCount > 8) {
_global.snd.playEvent("sndBump", (pushCount - 8) * 0.1);
}
}
if (((!player.dead) && (constraints(_local4.driver0))) && (!_global.godMode)) {
death();
_global.snd.playEvent("sndDie", 0.8);
}
cameraX = cameraX + (((((_local4.wheel1.x - _local4.wheel1.ox) + _local4.wheel2.x) - _local4.wheel2.ox) + (player.dir * 30)) * 0.5);
cameraY = cameraY + ((((_local4.wheel1.y - _local4.wheel1.oy) + _local4.wheel2.y) - _local4.wheel2.oy) * 0.5);
cameraX = cameraX * 0.7;
cameraY = cameraY * 0.6;
var _local29 = int(((((_local4.wheel1.x + _local4.wheel2.x) / 2) - 275) + cameraX) * 0.6);
var _local28 = int(((((_local4.wheel1.y + _local4.wheel2.y) / 2) - 250) + cameraY) * 0.6);
_local4.backgroundMc._y = 335 + (worldY * -0.3);
_local4.backgroundMc._x = (((_local30 * -0.3) + 5500) % 550) - 550;
worldX = worldX + _local29;
worldY = worldY + _local28;
_local4.wheel1.x = _local4.wheel1.x - _local29;
_local4.wheel1.y = _local4.wheel1.y - _local28;
_local4.wheel1.ox = _local4.wheel1.ox - _local29;
_local4.wheel1.oy = _local4.wheel1.oy - _local28;
_local4.wheel2.x = _local4.wheel2.x - _local29;
_local4.wheel2.y = _local4.wheel2.y - _local28;
_local4.wheel2.ox = _local4.wheel2.ox - _local29;
_local4.wheel2.oy = _local4.wheel2.oy - _local28;
_local7 = _local4.wheel1.x - _local4.wheel1.ox;
_local8 = _local4.wheel1.y - _local4.wheel1.oy;
_local21 = _local20((_local7 * _local7) + (_local8 * _local8));
if (_local21 > 25) {
_local21 = 25;
}
if (_local7 < 0) {
_local21 = _local21 * -1;
}
_local7 = _local4.wheel2.x - _local4.wheel2.ox;
_local8 = _local4.wheel2.y - _local4.wheel2.oy;
_local18 = _local20((_local7 * _local7) + (_local8 * _local8));
if (_local18 > 25) {
_local18 = 25;
}
if (_local7 < 0) {
_local18 = _local18 * -1;
}
_local4.wheel1._x = _local4.wheel1.x;
_local4.wheel1._y = _local4.wheel1.y;
var _local36;
if (player.dir == 1) {
_local21 = ((1 - _local31.ice) * _local21) + (_local31.ice * ((player.vel * 2.7) + (_local21 * 0.4)));
_local36 = (_local21 * _local16) * player.dir;
} else {
_local18 = ((1 - _local31.ice) * _local18) + (_local31.ice * (-((player.vel > 0) ? (Math.max(player.vel * 2.5, _local18)) : (Math.min(player.vel * 2.5, _local18)))));
_local36 = (_local18 * _local16) * player.dir;
}
player.pedalPos = player.pedalPos + _local36;
if (!player.dead) {
sndDrive.fade(Math.pow(_local36, 2) * 2.8, 5);
}
_local4.wheel1._rotation = _local4.wheel1._rotation + _local21;
_local4.wheel2._x = _local4.wheel2.x;
_local4.wheel2._y = _local4.wheel2.y;
_local4.wheel2._rotation = _local4.wheel2._rotation + _local18;
if (player.dead) {
if (!(player.deathCount--)) {
fx.fadeTo(com.neodelight.std.ColorFader.FX_NONE, 0);
quit(false, "col");
}
_local4.body.vy = _local4.body.vy + 1.2;
_local4.body._y = _local4.body._y + _local4.body.vy;
_local4.body._rotation = _local4.body._rotation + _local4.body.vr;
} else {
_local4.body._x = (_local4.wheel1.x + _local4.wheel2.x) / 2;
_local4.body._y = (_local4.wheel1.y + _local4.wheel2.y) / 2;
_local4.body._rotation = _local19(_local4.wheel2.y - _local4.wheel1.y, _local4.wheel2.x - _local4.wheel1.x) / _local16;
}
fx.step();
_local4.driver.torso._x = (_local4.anchor1.x + _local4.anchor1.x) / 2;
_local4.driver.torso._y = (_local4.anchor1.y + _local4.anchor1.y) / 2;
_local4.driver.torso._rotation = _local19(_local4.wheel2.y - _local4.wheel1.y, _local4.wheel2.x - _local4.wheel1.x) / _local16;
_local4.driver.arm1._x = (_local4.driver1.x + _local4.anchor0.x) / 2;
_local4.driver.arm1._y = (_local4.driver1.y + _local4.anchor0.y) / 2;
_local4.driver.arm1._rotation = _local19(_local4.anchor0.y - _local4.driver1.y, _local4.anchor0.x - _local4.driver1.x) / _local16;
_local4.driver.arm2._x = (_local4.driver0.x + _local4.driver1.x) / 2;
_local4.driver.arm2._y = (_local4.driver0.y + _local4.driver1.y) / 2;
_local4.driver.arm2._rotation = _local19(_local4.driver1.y - _local4.driver0.y, _local4.driver1.x - _local4.driver0.x) / _local16;
_local4.driver.leg1._x = (_local4.anchor2.x + _local4.driver2.x) / 2;
_local4.driver.leg1._y = (_local4.anchor2.y + _local4.driver2.y) / 2;
_local4.driver.leg1._rotation = _local19(_local4.anchor2.y - _local4.driver2.y, _local4.anchor2.x - _local4.driver2.x) / _local16;
_local4.driver.leg2._x = (_local4.driver2.x + _local4.anchor1.x) / 2;
_local4.driver.leg2._y = (_local4.driver2.y + _local4.anchor1.y) / 2;
_local4.driver.leg2._rotation = _local19(_local4.driver2.y - _local4.anchor1.y, _local4.driver2.x - _local4.anchor1.x) / _local16;
_local4.leg1b._x = (_local4.anchor2b.x + _local4.driver2b.x) / 2;
_local4.leg1b._y = (_local4.anchor2b.y + _local4.driver2b.y) / 2;
_local4.leg1b._rotation = _local19(_local4.anchor2b.y - _local4.driver2b.y, _local4.anchor2b.x - _local4.driver2b.x) / _local16;
_local4.leg2b._x = (_local4.driver2b.x + _local4.anchor1.x) / 2;
_local4.leg2b._y = (_local4.driver2b.y + _local4.anchor1.y) / 2;
_local4.leg2b._rotation = _local19(_local4.driver2b.y - _local4.anchor1.y, _local4.driver2b.x - _local4.anchor1.x) / _local16;
_local4.body.pedalFront._rotation = player.pedalPos / _local16;
_local4.body.pedalFront.pedal._rotation = -_local4.body.pedalFront._rotation;
_local4.body.pedalBack._rotation = (player.pedalPos / _local16) + 180;
_local4.body.pedalBack.pedal._rotation = -_local4.body.pedalBack._rotation;
_local4.driver._visible = true;
}
function death() {
_root.attachMovie("ouch", "ouch", _root.getNextHighestDepth());
freeze = 10;
player.dead = 1;
sndDrive.fade(0, 10);
player.deathCount = 45;
player.vel = 0;
mc.body.vy = 0;
mc.body.vr = (Math.random() - 0.5) * 10;
}
function death1() {
_root.attachMovie("time up", "timeup", _root.getNextHighestDepth());
freeze = 10;
player.dead = 1;
sndDrive.fade(0, 10);
player.deathCount = 45;
player.vel = 0;
mc.body.vy = 0;
mc.body.vr = (Math.random() - 0.5) * 10;
}
var timeSpeed = 400;
}
Symbol 131 MovieClip Frame 1
var flashVersion = int(System.capabilities.version.split(" ").pop().split(",").shift());
if (flashVersion < _root.requiredFlashVersion) {
this.msg = ("<font color=\"red\">Please upgrade to Flash Player " + _root.requiredFlashVersion) + "</font>";
this.percentageDisplay = "";
this.onEnterFrame = function () {
this.gotoAndStop(1);
};
} else {
if (_global.config.version == "neodelight.com") {
this.msg = ("<center><a href=\"http://www.neodelight.com/?ref=" + _global.config.gameName) + "\">designed by onlinerealgames.com</a></center>";
} else {
this.msg = "<center><a href=\"http://www.onlinerealgames.com\">developed by onlinerealgames.com</a></center>";
}
this.onEnterFrame = function () {
var _local4 = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
this.percentageDisplay = ((("Loading '" + _global.config.gameTitle) + "'.. ") + Math.min(100, Math.floor(_local4))) + "%";
this.bar._xscale = Math.max(1, Math.min(100, Math.floor(_local4)));
if ((_local4 == 100) && (_root._currentframe == 4)) {
this.onEnterFrame = undefined;
_root.gotoAndPlay("init");
}
};
}
Symbol 156 MovieClip Frame 1
gotoAndStop ("introOrg");
Symbol 156 MovieClip Frame 2
_root.play();
Symbol 156 MovieClip Frame 9
_root.play();
Symbol 156 MovieClip Frame 16
_root.play();
Instance of Symbol 68 MovieClip in Symbol 164 MovieClip [body] Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 176 Button
on (release) {
_global.snd.setVolume(0);
nextFrame();
}
Symbol 181 Button
on (release) {
_root.snd.active = 1;
prevFrame();
}
Symbol 183 Button
on (release) {
_global.snd.setVolume(1);
prevFrame();
}
Symbol 184 MovieClip Frame 1
stop();
if (_global.snd.getVolume() == 0) {
nextFrame();
}
Symbol 187 Button
on (release) {
getURL ("http://www.onlinerealgames.com", "_blank");
}
Symbol 192 Button
on (release) {
com.neodelight.mdm.DirectX.setResolution(640, 480, 32);
nextFrame();
}
Symbol 196 Button
on (release) {
com.neodelight.mdm.DirectX.setResolution(800, 600, 16);
nextFrame();
}
Symbol 199 Button
on (release) {
com.neodelight.mdm.DirectX.setResolution(800, 600, 32);
nextFrame();
}
Symbol 202 Button
on (release) {
com.neodelight.mdm.DirectX.setResolution(640, 480, 16);
gotoAndStop (2);
}
Symbol 205 Button
on (release) {
gotoAndStop ("MEDIUM");
}
Symbol 208 Button
on (release) {
gotoAndStop ("HIGH");
}
Symbol 211 Button
on (release) {
gotoAndStop ("BEST");
}
Symbol 214 Button
on (release) {
gotoAndStop ("LOW");
}
Symbol 215 MovieClip Frame 1
if (!_global.mdm) {
gotoAndStop(_quality);
} else {
var res = com.neodelight.mdm.DirectX.getResolutionString();
switch (res) {
case "640x480x16" :
gotoAndStop (2);
break;
case "640x480x32" :
gotoAndStop (3);
break;
case "800x600x16" :
gotoAndStop (4);
break;
case "800x600x32" :
gotoAndStop (5);
}
}
Symbol 215 MovieClip Frame 6
_quality = "LOW";
Symbol 215 MovieClip Frame 7
_quality = "MEDIUM";
Symbol 215 MovieClip Frame 8
_quality = "HIGH";
Symbol 215 MovieClip Frame 9
_quality = "BEST";
Symbol 247 MovieClip [titleBonusTime] Frame 43
this.removeMovieClip();
Symbol 251 MovieClip [titleExitUnlocked] Frame 43
this.removeMovieClip();
Symbol 271 MovieClip Frame 1
stop();
Symbol 282 MovieClip Frame 1
gotoAndStop(_root.engine.lvl.skin + 2);
this.onEnterFrame = function () {
this.doorMc._visible = _global.tagCount != _global.numberOfTags;
};
Symbol 286 MovieClip Frame 1
this.onEnterFrame = function () {
_rotation = (_rotation + 6);
};
Symbol 287 MovieClip Frame 1
this.onEnterFrame = function () {
_rotation = (_rotation + 0.1);
};
Symbol 291 MovieClip Frame 1
this.onEnterFrame = function () {
_rotation = (_rotation + 6);
};
Symbol 292 MovieClip Frame 1
this.onEnterFrame = function () {
_rotation = (_rotation + 0.1);
};
Symbol 332 MovieClip [ouch] Frame 48
_root.score = 0;
this.removeMovieClip();
Symbol 345 MovieClip [go] Frame 91
this.removeMovieClip();
Symbol 346 MovieClip Frame 1
_visible = false;
Symbol 368 MovieClip Frame 10
stop();
Symbol 372 Button
on (release) {
_root.freshGame = true;
_root.gotoAndStop("level");
_root._global.snd.playEvent("sndClick", 1);
}
Symbol 375 Button
on (release) {
_root.freshGame = true;
_root.gotoAndStop("help");
_root._global.snd.playEvent("sndClick", 1);
}
Symbol 382 Button
on (release) {
if (_global.config.version == "neodelight.com") {
getURL (_global.config.urlHighscoresView, (_global.config.urlHighscoresViewTarget ? (_global.config.urlHighscoresViewTarget) : "_new"));
} else {
_root.gotoAndStop("highscores");
}
_global.snd.playEvent("sndClick", 1);
}
Symbol 385 Button
on (release) {
getURL ("http://www.onlinerealgames.com/default.aspx", "_blank");
_global.snd.playEvent("sndClick", 1);
}
Symbol 386 MovieClip Frame 105
stop();
Symbol 393 Button
on (release, keyPress "<Space>") {
gotoAndStop ("level");
_global.snd.playEvent("sndClick", 1);
}
Symbol 410 Button
on (release) {
_root.gotoAndStop("level");
_global.snd.playEvent("sndClick", 1);
}
Symbol 411 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 433 MovieClip Frame 76
Symbol 433 MovieClip Frame 87
stop();
Symbol 438 Button
on (release, keyPress "<Left>") {
_root.map.level0pop._visible = false;
if (_root.mapId > 0) {
}
_root.mapRedraw();
}
on (keyPress "<Down>") {
_root.map.level0pop._visible = false;
if (_root.mapId > 0) {
}
_root.mapRedraw();
}
Symbol 442 Button
on (release, keyPress "<Right>") {
_root.map.level0pop._visible = false;
if (_root.mapId < _global.game.maxLevel) {
}
_root.mapRedraw();
}
on (keyPress "<Up>") {
_root.map.level0pop._visible = false;
if (_root.mapId < _global.game.maxLevel) {
}
_root.mapRedraw();
}
Symbol 444 Button
on (release, keyPress "<Space>") {
_root.startLevel(_root.mapId);
}
Symbol 456 Button
on (release) {
if (_global.username == "guest") {
gamename = "GameName";
url = ("http://www.onlinerealgames.com/GuestScores.aspx?gamename=" + gamename) + "&score=";
getURL (url + _root.txtScores, "_blank");
} else {
playername = _global.username;
gamename = "GameName";
displayScore = com.neodelight.std.XString.numberFormat(score);
gamescore = displayScore;
trace(gameScore);
_root.playerscore_1 = gamescore;
_root.alexscore = displayScore;
loadVariables ("http://www.onlinerealgames.com/submitscore.asp", "_root", "POST");
trace((_root.gamescore + "score submit") + _root.alexscore);
gotoAndStop ("menu");
}
}
Symbol 459 Button
on (release) {
getURL (_global.config.urlMoreGames, _global.config.urlMoreGamesTarget);
_global.snd.playEvent("sndClick", 1);
}
Symbol 478 MovieClip Frame 1
var n = int(this._parent._parent._name.substr(-1, 1));
var title = _global.lib.lvls[n].title;
if (_root.scores[n] == 0) {
gotoAndStop (2);
} else {
var score = ("Score: " + com.neodelight.std.XString.numberFormat(_root.scores[n]));
}
stop();
Symbol 479 Button
on (release) {
_root.startLevel(int(this._name.substr(-1, 1)));
}
on (rollOver) {
_root.map.level0pop._visible = false;
}
Symbol 480 Button
on (release) {
_root.startLevel(int(this._name.substr(-1, 1)));
}
on (rollOver) {
_root.map.level0pop._visible = false;
}
Symbol 488 Button
on (release) {
_root.startLevel(int(this._name.substr(-1, 1)));
}
on (rollOver) {
_root.map.level0pop._visible = false;
}
Symbol 503 Button
on (release) {
_root.startLevel(0);
}
Symbol 507 MovieClip Frame 1
var n = 0;
var title = _global.lib.lvls[n].title;
Symbol 519 Button
on (release) {
_root.lvls = 1;
_root.startLevel(0);
}
on (rollOver) {
_root.map.level0pop._visible = false;
}
Symbol 522 Button
on (release) {
_root.lvls = 1;
_root.startLevel(0);
}
on (rollOver) {
_root.map.level0pop._visible = false;
}
Symbol 523 MovieClip Frame 2
_root.leventer = false;
Symbol 523 MovieClip Frame 3
_root.leventer = true;
Symbol 526 Button
on (release) {
_root.lvls = 2;
_root.startLevel(1);
}
on (rollOver) {
_root.map.level0pop._visible = false;
}
Symbol 528 Button
on (release) {
_root.lvls = 2;
_root.startLevel(1);
}
on (rollOver) {
_root.map.level0pop._visible = false;
}
Symbol 529 MovieClip Frame 2
_root.leventer = false;
Symbol 529 MovieClip Frame 3
_root.leventer = true;
Symbol 532 Button
on (release) {
_root.lvls = 3;
_root.startLevel(2);
}
on (rollOver) {
_root.map.level0pop._visible = false;
}
Symbol 534 Button
on (release) {
_root.lvls = 3;
_root.startLevel(2);
}
on (rollOver) {
_root.map.level0pop._visible = false;
}
Symbol 535 MovieClip Frame 2
_root.leventer = false;
Symbol 535 MovieClip Frame 3
_root.leventer = true;
Symbol 538 Button
on (release) {
_root.lvls = 4;
_root.startLevel(3);
}
on (rollOver) {
_root.map.level0pop._visible = false;
}
Symbol 540 Button
on (release) {
_root.lvls = 4;
_root.startLevel(3);
}
on (rollOver) {
_root.map.level0pop._visible = false;
}
Symbol 541 MovieClip Frame 2
_root.leventer = false;
Symbol 541 MovieClip Frame 3
_root.leventer = true;
Symbol 544 Button
on (release) {
_root.lvls = 5;
_root.startLevel(4);
}
on (rollOver) {
_root.map.level0pop._visible = false;
}
Symbol 546 Button
on (release) {
_root.lvls = 5;
_root.startLevel(4);
}
on (rollOver) {
_root.map.level0pop._visible = false;
}
Symbol 547 MovieClip Frame 2
_root.leventer = false;
Symbol 547 MovieClip Frame 3
_root.leventer = true;
Symbol 550 Button
on (release) {
_root.lvls = 6;
_root.startLevel(5);
}
on (rollOver) {
_root.map.level0pop._visible = false;
}
Symbol 552 Button
on (release) {
_root.lvls = 6;
_root.startLevel(5);
}
on (rollOver) {
_root.map.level0pop._visible = false;
}
Symbol 553 MovieClip Frame 2
_root.leventer = false;
Symbol 553 MovieClip Frame 3
_root.leventer = true;
Symbol 562 Button
on (release) {
gamename = "DeadlyDrive";
score = _root.subscore;
trace((score + "this is game score") + _root.subscore);
getURL ("http://www.onlinerealgames.com/SubmitGuestScores.aspx", "_blank", "POST");
}
on (press) {
_global.snd.playEvent("sndClick", 1);
}
Symbol 563 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 564 MovieClip Frame 87
stop();
trace(_root.lvls);
Symbol 569 Button
on (release) {
_root.startLevel(_root.mapId);
}
Symbol 586 Button
on (release, keyPress "<Enter>") {
gotoAndPlay (80);
}
on (keyPress "<Space>") {
gotoAndPlay (80);
}
Symbol 587 Button
on (release) {
gamename = "DeadlyDrive";
score = _root.subscore;
trace((score + "this is game score") + _root.subscore);
getURL ("http://www.onlinerealgames.com/SubmitGuestScores.aspx", "_blank", "POST");
}
on (press) {
_global.snd.playEvent("sndClick", 1);
}
Symbol 588 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 589 MovieClip Frame 1
_root.mapText2._visible = false;
Symbol 589 MovieClip Frame 59
_root.mapText2._visible = true;
Symbol 589 MovieClip Frame 76
stop();
Symbol 589 MovieClip Frame 80
stop();
MochiAd.showPreGameAd({id:"b103fc4215804e87", res:"650x500"});
Symbol 589 MovieClip Frame 81
stop();
_root.gotoAndPlay("level");
_global.snd.playEvent("sndClick", 1);
Symbol 597 Button
on (release) {
getURL ("http://www.onlinerealgames.com/more.aspx", "_blank");
}
Symbol 598 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 599 MovieClip Frame 1
_root.high._visible = false;
Symbol 599 MovieClip Frame 14
_root.high._visible = true;
Symbol 599 MovieClip Frame 27
stop();
Symbol 607 Button
on (release) {
_root.freshGame = true;
gotoAndStop ("help");
_global.snd.playEvent("sndClick", 1);
}
Symbol 614 MovieClip Frame 1
gamename = _global.gname;
this.onEnterFrame = function () {
loadVariables ("http://www.onlinerealgames.com/targetscore.asp", this, "POST");
if (asversion == 1) {
_root.gamename1 = _global.gname;
_root.username1 = _global.uname;
trace((("gamename1:" + _root.gamename1) + "username1:") + _root.username1);
} else {
_global.gamename2 = _global.gname;
_global.username2 = _global.uname;
trace((("gamename2:" + _global.gamename2) + "username2:") + _global.username2);
}
topscore = prizescore;
playerscore = _global.gtotalScore;
if (topscore != undefined) {
trace((("playerscore:" + playerscore) + "TargetScore:") + topscore);
if (playerscore > topscore) {
nextFrame();
} else {
_root.gotoAndStop("menu");
}
}
};
stop();
Symbol 614 MovieClip Frame 2
loadMovie ("http://www.onlinerealgames.com/GameHouse/swf/scratchcard.swf", scratch_mc);
stop();
Symbol 626 Button
on (release, keyPress "<Enter>") {
gotoAndPlay (80);
}
on (keyPress "<Space>") {
gotoAndPlay (80);
}
Symbol 633 Button
on (release) {
getURL ("http://www.onlinerealgames.com/play/CybermiceParty.aspx", "_blank");
}
Symbol 639 Button
on (release) {
url = "http://www.onlinerealgames.com/play/DoomRider.aspx";
getURL (url, "_blank");
}
Symbol 642 Button
on (release) {
url = "http://www.onlinerealgames.com/play/7SeasEstates.aspx";
getURL (url, "_blank");
}
Symbol 645 Button
on (release) {
url = "http://www.onlinerealgames.com/play/SuperFishing.aspx";
getURL (url, "_blank");
}
Symbol 650 Button
on (release) {
getURL ("http://www.onlinerealgames.com/play/DeadlyDrive.aspx", "_blank");
}
Symbol 651 MovieClip Frame 1
_root.mapText2._visible = false;
Symbol 651 MovieClip Frame 59
_root.mapText2._visible = true;
Symbol 651 MovieClip Frame 76
stop();
Symbol 651 MovieClip Frame 80
stop();
MochiAd.showPreGameAd({id:"b103fc4215804e87", res:"650x500"});
Symbol 651 MovieClip Frame 81
stop();
_root.gotoAndPlay("level");
_global.snd.playEvent("sndClick", 1);