home *** CD-ROM | disk | FTP | other *** search
/ Champak 48 / cdrom_image.iso / Games / alex_trax.swf / scripts / frame_7 / DoAction.as
Encoding:
Text File  |  2007-10-01  |  37.6 KB  |  151 lines

  1. function format(time, fuckTheHun)
  2. {
  3.    if(time >= 0)
  4.    {
  5.       var _loc1_ = int(time / 1000 / 60);
  6.       var _loc2_ = int((time - _loc1_ * 60000) / 1000);
  7.       var _loc3_ = int((time - _loc1_ * 60000 - _loc2_ * 1000) / 10);
  8.       tHou = 0;
  9.       while(_loc1_ > 60)
  10.       {
  11.          _loc1_ -= 60;
  12.          tHou++;
  13.       }
  14.       if(tHou < 10)
  15.       {
  16.          tHou = "0" + tHou;
  17.       }
  18.       if(_loc1_ < 10)
  19.       {
  20.          _loc1_ = "0" + _loc1_;
  21.       }
  22.       if(_loc2_ < 10)
  23.       {
  24.          _loc2_ = "0" + _loc2_;
  25.       }
  26.       if(_loc3_ < 10)
  27.       {
  28.          _loc3_ = "0" + _loc3_;
  29.       }
  30.       if(fuckTheHun)
  31.       {
  32.          if(int(tHou > 0))
  33.          {
  34.             return tHou + ":" + _loc1_ + ":" + _loc2_;
  35.          }
  36.          return _loc1_ + ":" + _loc2_;
  37.       }
  38.       if(int(tHou > 0))
  39.       {
  40.          return tHou + ":" + _loc1_ + ":" + _loc2_ + ":" + _loc3_;
  41.       }
  42.       return _loc1_ + ":" + _loc2_ + ":" + _loc3_;
  43.    }
  44.    return "--:--:--";
  45. }
  46. function resetRecords(firstTime)
  47. {
  48.    shared.data.maps = [[-1,-1,-1]];
  49.    shared.data.totalTime = 0;
  50.    shared.data.bikeProperties = [1,1,1,1,1];
  51.    shared.data.unlocked_1 = [true,false,false,false];
  52.    shared.data.unlocked_2 = [true,false,false,false];
  53.    shared.data.unlocked_3 = [true,false,false,false];
  54.    shared.data.unlocked_4 = [true,false,false,false,false];
  55.    shared.data.unlocked_5 = [true,false,false,false];
  56.    shared.data.maxLevel = 0;
  57.    mapId = 0;
  58.    if(firstTime)
  59.    {
  60.       shared.data.music = true;
  61.       shared.data.sound = true;
  62.    }
  63.    shared.flush();
  64. }
  65. function sortTimes(a, b)
  66. {
  67.    if(a == -1 && b == -1)
  68.    {
  69.       return 0;
  70.    }
  71.    if(a == -1 && b >= 0)
  72.    {
  73.       return 1;
  74.    }
  75.    if(a >= 0 && b == -1)
  76.    {
  77.       return -1;
  78.    }
  79.    if(a < b)
  80.    {
  81.       return -1;
  82.    }
  83.    if(a > b)
  84.    {
  85.       return 1;
  86.    }
  87.    return 0;
  88. }
  89. _root._focusrect = false;
  90. gameInitied = true;
  91. _quality = "medium";
  92. com.neodelight.flanix.Kernel.init();
  93. new com.neodelight.flanix.Console();
  94. com.neodelight.std.Blueprint.addBlueprint("score",{scoreTypes:[{totalAdd:true,id:"level"},{totalAdd:false,id:"totalScore"}]});
  95. com.neodelight.std.Blueprint.addBlueprint("game",{gameTitle:"Alex Traxx",gameName:"alextraxx",gameFlashVersion:7,gameLicenses:"neodelight,freeware",gameHighscores:true,gameHighscoresKey0:"S8fE7NMb",gameHighscoresKey1:"HBo8N0sb"});
  96. com.neodelight.std.Blueprint.addBlueprint("neodelight",{version:"neodelight",configNeedDomain:"neodelight.com",fullVersion:true,gameCredits:"You are free to redistribute, download and host the game as long as you don\'t make any changes to the game files and don\'t restrict the access to the game to paying users.\n\nVisit www.neodelight.com/webmaster for details and more free website content.",gameCopyright:"(c)neodelight 2007",gameCopyrightLink:"http://www.neodelight.com/?ref=alextraxx",urlHighscoresView:"http://www.neodelight.com/scores/alextraxx?ref=alextraxx",urlHighscoresViewTarget:"_top",urlMoreGames:"http://www.neodelight.com/?ref=alextraxx",urlMoreGamesTarget:"_top",gameScoreSubmit:function(score)
  97. {
  98.    trace("submit score: " + score);
  99.    _global.highscores.submit(score);
  100. }});
  101. com.neodelight.std.Blueprint.addBlueprint("freeware",{blueprint:"neodelight",configNeedDomain:"local,*",urlMoreGamesTarget:"_new",urlHighscoresViewTarget:"_new"});
  102. new com.neodelight.game.Game();
  103. shared = SharedObject.getLocal(_global.game.name);
  104. if(shared.data.maps == undefined)
  105. {
  106.    resetRecords(true);
  107. }
  108. trace("shared max level: " + shared.data.maxLevel);
  109. _global.game.maxLevel = shared.data.maxLevel = com.neodelight.std.XMath.toNumber(shared.data.maxLevel);
  110. if(!_global.lib.lvls)
  111. {
  112.    _global.lib.lvls = new Array();
  113. }
  114. _global.lib.lvls.push(new com.neodelight.r2d.R2dLevel({title:"Backyard",colLine:10929199,colFill:12047930,skin:0,groundY:1300,startX:500,startY:980,map:[[[180,620,220,380,520,680],[220,380],[220,680],[520,680],[520,380]],[[500,620,200,380,500,390],[200,380],[500,380],[500,390],[200,390]],[[580,680,420,150,920,620],[420,320],[520,270],[620,220],[720,180],[820,160],[920,150],[920,620],[420,620]],[[140,520,320,240,360,280],[320,240],[320,280],[360,260]],[[140,520,360,240,400,280],[360,240],[360,280],[400,260]],[[140,520,400,240,440,280],[400,240],[400,280],[440,260]],[[1200,420,300,410,600,420],[300,410],[600,410],[600,420],[300,420]],[[1480,320,320,190,920,680],[320,510],[430,500],[500,480],[580,430],[660,340],[710,280],[760,230],[810,200],[860,190],[920,190],[920,680],[320,680]],[[1480,680,320,320,920,620],[320,320],[320,620],[920,620],[920,320]],[[1920,20,300,150,700,340],[300,340],[350,310],[410,290],[480,290],[580,290],[630,300],[680,330],[700,280],[630,220],[560,180],[440,150],[390,170],[320,230],[300,320]],[[2200,300,200,210,980,700],[200,210],[240,210],[300,220],[330,240],[380,290],[440,360],[520,450],[580,490],[690,520],[820,530],[980,530],[980,700],[200,700]],[[2260,680,140,320,920,620],[140,620],[920,320],[140,320]],[[3160,340,20,240,940,660],[20,660],[440,660],[940,660],[940,360],[870,390],[630,380],[520,330],[450,290],[410,250],[400,240],[390,560],[20,560]],[[2960,320,220,260,600,580],[220,510],[320,500],[430,470],[500,420],[560,340],[600,260],[590,580],[220,580]],[[3880,420,220,130,520,580],[220,280],[260,250],[310,190],[360,160],[430,140],[520,130],[520,580],[220,580]],[[4200,20,200,300,1000,690],[200,530],[300,530],[400,550],[480,560],[600,560],[700,550],[760,530],[810,480],[840,430],[880,370],[910,330],[950,310],[1000,300],[1000,690],[200,690]],[[4280,400,120,310,920,600],[120,600],[920,600],[920,310],[120,310]],[[5020,0,180,100,780,330],[180,320],[780,100],[780,110],[180,330]],[[5220,80,520,20,880,700],[580,20],[580,30],[520,700],[880,700],[880,100],[780,60],[660,20]],[[5980,120,120,60,1000,680],[120,60],[240,160],[380,260],[470,290],[620,300],[820,310],[880,300],[950,260],[1000,220],[1000,680],[120,660]],[[6560,0,420,260,870,700],[420,340],[440,300],[450,260],[460,300],[480,340],[530,410],[600,470],[680,510],[770,530],[870,530],[420,700]],[[6980,0,450,0,900,600],[450,530],[530,530],[620,510],[690,470],[730,420],[770,340],[790,220],[790,130],[770,50],[750,0],[820,0],[880,200],[900,370],[860,490],[770,600]],[[6900,120,80,410,850,580],[80,580],[850,480],[530,410]],[[0,680,50,20,400,620],[400,320],[200,320],[130,110],[140,20],[50,320],[80,520],[400,620]]],xtras:[[290,960,3],[850,901,4],[1650,731,5],[3089,733,6],[5863,20,7],[6610,324,8],[7328,434,9],[7690,140,2],[6880,10,1]]}));
  115. _global.lib.lvls.push(new com.neodelight.r2d.R2dLevel({title:"Molehills & Mountains",colLine:10929199,colFill:12047930,skin:0,groundY:1200,startX:120,startY:200,map:[[[0,1540,100,360,950,460],[100,360],[340,360],[490,360],[950,360],[950,460],[100,460]],[[860,40,360,360,540,520],[360,360],[540,360],[540,520],[360,520]],[[1140,120,260,280,590,680],[260,280],[310,280],[360,300],[400,330],[440,380],[480,450],[520,560],[580,670],[590,680],[260,680]],[[1400,420,330,140,960,480],[330,380],[360,400],[430,430],[530,450],[670,450],[780,420],[830,380],[900,280],[960,140],[960,480],[330,480]],[[2080,200,280,200,820,700],[280,360],[450,360],[520,300],[620,300],[720,200],[820,200],[820,700],[280,700]],[[2660,40,240,360,540,400],[240,360],[540,360],[540,400],[240,400]],[[680,100,330,300,540,600],[330,330],[390,340],[470,340],[510,330],[530,310],[540,300],[540,600],[330,600]],[[2980,160,220,240,920,560],[220,240],[260,390],[340,490],[520,540],[620,540],[800,490],[880,390],[920,240],[920,540],[620,540],[620,560],[520,560],[520,540],[220,540]],[[3440,40,460,260,860,400],[460,360],[860,260],[860,300],[460,400]],[[3860,0,440,300,840,440],[440,300],[840,400],[840,440],[440,340]],[[4320,160,380,240,420,690],[380,240],[380,690],[420,690],[420,240]],[[4480,160,260,240,820,380],[260,240],[820,340],[820,380],[260,280]],[[4760,320,540,180,580,680],[540,180],[540,680],[580,680],[580,180]],[[4620,80,130,280,280,350],[130,320],[180,320],[280,280],[280,350]],[[4720,0,480,440,620,500],[480,480],[620,440],[620,500],[580,500]],[[0,160,0,80,200,540],[0,80],[200,80],[200,540],[0,540]],[[140,140,60,100,870,560],[60,100],[100,110],[150,150],[210,250],[270,360],[320,440],[360,480],[410,510],[450,520],[510,520],[570,510],[640,490],[700,460],[740,420],[780,360],[800,310],[820,260],[840,230],[860,220],[870,290],[870,560],[60,560]],[[2620,140,180,240,260,260],[180,260],[220,240],[260,260]],[[2620,140,280,240,320,260],[280,260],[300,240],[320,260]],[[2620,140,320,240,400,260],[320,260],[360,240],[400,260]],[[2620,140,540,240,580,260],[580,260],[560,240],[540,260]],[[2620,140,460,240,540,260],[540,260],[500,240],[460,260]],[[2620,140,400,240,460,260],[400,260],[430,240],[460,260]],[[5140,340,520,160,560,660],[520,160],[520,660],[550,660],[560,660],[560,160]],[[5560,160,140,240,510,340],[140,340],[230,330],[310,310],[410,280],[490,250],[510,240],[510,340]],[[5920,100,310,150,680,400],[310,300],[310,400],[680,400],[680,160],[640,150],[600,160],[560,180],[530,210],[500,240],[470,290],[450,310],[410,330],[380,330],[360,330],[340,320],[320,310]],[[5300,300,400,200,500,300],[400,300],[500,200],[400,200]],[[5460,320,570,180,610,680],[610,180],[610,680],[570,680],[570,180]],[[5460,320,470,180,570,280],[570,280],[470,180],[570,180]],[[5780,320,450,180,490,680],[450,180],[450,680],[490,680],[490,180]],[[6000,220,270,280,370,380],[270,380],[370,280],[270,280]],[[6360,120,240,140,630,690],[240,140],[310,170],[360,240],[440,380],[580,630],[630,690],[240,690]],[[4960,120,580,380,700,480],[690,380],[580,480],[700,480],[700,380]],[[1160,560,240,240,570,340],[240,240],[240,340],[570,340],[570,240]],[[2840,320,360,380,660,580],[360,380],[360,400],[360,580],[660,580],[660,380]],[[3240,320,260,380,660,580],[260,400],[260,580],[660,580],[660,380],[360,380],[360,400]],[[3900,0,320,260,480,320],[400,300],[320,320],[400,260],[480,320]],[[6740,560,60,70,920,440],[250,250],[290,290],[360,340],[450,360],[540,360],[650,320],[720,250],[750,170],[780,100],[840,70],[920,70],[920,440],[60,440],[60,250]],[[6440,560,160,250,360,440],[160,250],[160,440],[360,440],[360,250]],[[7300,360,360,260,520,300],[360,270],[400,260],[400,270],[440,260],[440,270],[480,260],[480,270],[520,260],[520,270],[520,300],[360,300]],[[7540,360,280,270,760,640],[280,270],[280,640],[760,640],[760,270]],[[7540,360,280,0,760,270],[280,270],[410,220],[670,220],[760,0],[760,270]],[[0,0,0,0,300,240],[0,240],[20,0],[300,20],[60,30],[40,240]],[[0,480,0,220,960,520],[0,220],[500,520],[960,520],[960,220]],[[820,540,140,20,980,660],[140,460],[890,660],[980,360],[580,360],[580,20],[400,20],[400,160],[140,160]],[[1620,620,90,280,980,580],[90,580],[980,380],[980,280],[180,280]],[[2480,580,120,220,520,480],[120,420],[430,480],[520,420],[420,220],[420,320],[120,320]],[[2720,520,460,280,980,620],[480,280],[460,480],[620,620],[980,580],[940,380],[480,380]],[[3620,460,40,40,480,640],[80,640],[330,610],[480,410],[280,40],[280,440],[40,440]],[[4280,640,420,210,460,660],[420,210],[420,660],[460,660],[460,210]],[[5000,880,300,120,360,620],[300,120],[300,620],[360,620],[340,120]],[[5100,880,540,120,620,620],[560,120],[540,620],[600,620],[620,620],[600,120]],[[5560,880,450,120,530,620],[470,120],[450,620],[510,620],[530,620],[510,120]],[[5680,880,530,120,610,620],[550,120],[530,620],[610,620],[590,120]],[[5980,840,570,160,1000,660],[620,160],[570,660],[820,660],[1000,520],[860,160]],[[6780,700,60,300,880,660],[200,660],[880,300],[60,300]]],xtras:[[5535,542,1],[2811,202,1],[281,145,10],[764,558,11],[8100,550,3]]}));
  116. _global.lib.lvls.push(new com.neodelight.r2d.R2dLevel({title:"Wanderlust",colLine:10929199,colFill:12047930,skin:0,groundY:8000,startX:300,startY:660,map:[[[140,420,60,280,660,380],[160,280],[60,380],[660,380],[560,280],[160,280]],[[420,240,280,460,580,560],[280,460],[580,500],[580,560],[380,560]],[[500,80,360,610,500,660],[360,640],[400,610],[500,660]],[[740,220,260,300,980,580],[260,520],[320,500],[360,460],[380,430],[490,480],[510,460],[550,480],[620,420],[670,430],[710,430],[740,410],[770,380],[790,350],[820,320],[870,310],[940,300],[980,310],[980,580],[260,580]],[[1440,200,280,330,660,600],[280,330],[300,340],[330,370],[360,430],[390,490],[420,520],[470,540],[530,550],[660,550],[660,600],[280,600]],[[1800,260,200,440,300,490],[300,490],[300,440],[200,490]],[[1920,260,180,460,340,540],[180,490],[200,460],[210,490],[220,470],[230,490],[250,460],[260,490],[270,470],[280,490],[300,460],[300,490],[320,480],[330,490],[340,470],[340,490],[340,540],[180,540]],[[2640,140,250,260,930,690],[250,260],[310,270],[400,280],[530,290],[680,320],[530,330],[360,350],[340,470],[350,550],[370,600],[440,640],[510,660],[640,680],[730,680],[780,680],[860,670],[930,680],[930,690],[260,690]],[[3120,200,380,50,980,490],[530,50],[460,140],[430,180],[410,230],[380,360],[430,380],[570,390],[600,400],[660,410],[730,460],[780,490],[850,480],[910,450],[960,380],[980,290],[980,230],[960,110],[900,70]],[[300,360,260,330,330,340],[260,340],[330,330],[330,340]],[[300,360,330,290,400,340],[330,330],[400,290],[400,340],[330,340]],[[3480,320,400,360,420,420],[400,360],[410,420],[420,370]],[[3480,320,420,370,440,460],[420,370],[430,460],[440,370]],[[3480,320,500,340,530,430],[500,360],[520,430],[530,340]],[[3480,320,490,330,530,410],[490,340],[500,410],[530,330]],[[3820,100,660,420,740,490],[660,460],[660,420],[740,490]],[[3820,100,260,210,530,420],[530,420],[280,320],[260,210]],[[4260,420,220,140,610,370],[220,140],[220,180],[610,370],[610,330],[300,170]],[[3400,480,170,340,770,640],[170,340],[220,350],[260,360],[330,410],[380,440],[440,490],[520,540],[620,600],[710,620],[770,620],[770,640],[170,640]],[[3340,460,170,340,260,370],[170,350],[260,340],[260,370]],[[3760,580,350,500,480,520],[350,520],[480,500],[480,520]],[[4200,740,460,350,980,600],[460,360],[610,360],[700,350],[750,390],[830,460],[930,570],[980,600],[460,600]],[[5140,1040,40,300,970,560],[40,300],[160,360],[490,450],[970,480],[970,560],[40,560]],[[4620,440,250,310,380,380],[250,310],[360,340],[380,380],[250,350]],[[2840,600,60,230,730,520],[60,230],[730,520],[730,230]],[[3460,780,110,340,710,480],[110,340],[710,480],[710,340]],[[4580,1000,80,340,600,600],[80,340],[600,600],[600,340]],[[5920,920,190,600,480,680],[190,600],[480,600],[480,680],[190,680]],[[6140,900,260,0,560,700],[260,620],[360,610],[460,560],[520,470],[540,360],[530,230],[490,120],[430,60],[370,20],[290,0],[560,0],[560,700],[260,700]],[[1980,120,280,280,920,690],[280,610],[280,680],[920,690],[910,280],[840,280],[820,310],[810,360],[770,420],[710,480],[630,520],[540,550],[450,570],[380,580],[320,580],[290,580]],[[2160,340,100,460,740,490],[100,460],[740,490],[740,470]],[[0,200,10,220,800,670],[300,500],[200,480],[160,440],[140,410],[130,340],[140,280],[180,220],[100,270],[30,360],[10,450],[40,560],[170,670],[800,600],[200,600]],[[4060,740,110,360,600,600],[600,360],[570,410],[510,470],[400,510],[240,510],[150,490],[120,450],[130,390],[180,360],[110,360],[110,520],[270,560],[600,600]],[[5880,680,550,60,950,350],[550,220],[680,160],[820,70],[920,60],[950,210],[940,350],[820,220]],[[5980,860,720,30,980,690],[780,110],[780,560],[720,640],[720,680],[820,690],[920,640],[980,340],[850,30],[840,170],[720,40]],[[6020,840,680,60,740,660],[680,60],[700,130],[690,460],[680,660],[740,580],[720,490],[730,370],[740,130]],[[5500,600,480,460,720,620],[720,600],[650,580],[560,530],[480,460],[480,500],[550,560],[650,610],[720,620]],[[5400,480,60,200,540,600],[540,560],[540,600],[430,540],[320,450],[260,370],[210,310],[160,260],[130,240],[60,220],[60,200],[130,220],[170,250],[230,310],[330,430],[440,520]],[[4760,240,400,350,700,470],[700,440],[540,420],[420,370],[400,350],[400,470],[540,460],[700,460]],[[4580,460,560,130,580,260],[580,130],[560,260],[580,250]],[[5900,820,320,380,600,430],[320,380],[320,400],[600,430],[590,410]],[[6020,820,470,410,510,430],[470,410],[510,410],[510,430],[480,430]]],xtras:[[6329,1427,12],[3800,230,3],[4780,820,1]]}));
  117. _global.lib.lvls.push(new com.neodelight.r2d.R2dLevel({title:"Sk8 Glacier",colLine:10929199,colFill:12047930,skin:1,groundY:8000,startX:2240,startY:1860,map:[[[1920,1640,80,260,590,360],[180,260],[80,360],[590,360],[480,260]],[[1480,1560,120,140,520,540],[510,440],[520,440],[520,540],[120,540],[120,140],[150,200],[270,350],[340,400],[420,430],[450,440]],[[2380,1740,120,200,580,460],[130,260],[200,320],[280,360],[360,370],[430,360],[480,330],[540,270],[580,200],[580,260],[580,460],[120,460]],[[2380,1740,120,260,130,460],[120,460],[120,260],[130,260]],[[2760,1560,420,240,940,640],[420,380],[420,640],[940,640],[940,240],[880,260],[830,290],[790,340],[730,400],[670,440],[600,450],[540,430],[490,410],[450,370],[420,330]],[[2540,1580,560,310,640,620],[640,310],[560,320],[560,620],[640,620]],[[3580,1400,120,400,420,500],[120,400],[420,500],[370,500],[120,480]],[[3640,1620,420,180,560,480],[560,180],[420,480],[460,460],[560,280]],[[3520,1760,180,120,500,580],[180,300],[420,540],[500,580],[460,520],[270,310],[250,200],[380,140],[180,120]],[[3520,1760,180,120,480,140],[380,140],[480,140],[180,120]],[[3580,1840,450,330,980,500],[480,450],[450,500],[500,470],[740,370],[950,380],[980,340],[740,330]],[[4040,1800,540,190,900,420],[540,380],[570,420],[750,370],[900,230],[890,190],[860,220],[840,260],[780,280],[690,340],[630,380]],[[4580,1660,350,300,820,540],[350,330],[360,300],[410,380],[490,490],[560,510],[660,480],[710,420],[700,480],[780,480],[760,420],[820,480],[820,540],[360,540],[360,370]],[[4860,1760,430,310,490,380],[430,380],[440,320],[460,310],[470,320],[490,380]],[[5160,1600,140,440,170,480],[140,480],[160,440],[170,480],[160,470]],[[5020,1600,380,400,980,600],[380,540],[410,550],[480,560],[730,550],[910,470],[980,400],[980,600],[380,600]],[[5820,1500,180,500,350,680],[180,500],[300,640],[350,680],[180,680]],[[6020,1820,80,0,980,680],[150,360],[240,420],[420,490],[650,530],[790,520],[860,470],[900,390],[910,300],[900,210],[850,150],[780,120],[650,90],[540,110],[540,0],[980,0],[980,680],[80,680],[80,360]],[[6240,1440,320,240,760,380],[320,260],[340,240],[760,350],[760,380],[320,380]],[[6340,1280,240,350,460,460],[240,400],[260,350],[460,460]],[[5800,1500,400,200,760,430],[760,200],[400,370],[430,400],[760,430]],[[5100,980,10,190,600,540],[600,520],[290,400],[10,190],[10,280],[290,430],[600,540]],[[3980,600,20,300,500,700],[500,660],[420,630],[290,560],[200,470],[140,370],[100,320],[50,300],[20,300],[20,700],[500,700]],[[5640,1220,60,280,460,380],[60,280],[460,360],[460,380],[60,300]],[[3480,620,120,80,520,320],[520,280],[120,80],[120,120],[520,320]],[[4460,880,20,240,650,420],[650,290],[580,250],[490,240],[400,260],[320,320],[250,360],[140,380],[20,380],[20,420],[540,420],[590,400],[650,380]],[[3060,200,200,140,540,540],[540,500],[200,140],[200,180],[540,540]],[[2820,0,20,220,440,380],[440,340],[370,280],[290,270],[260,220],[210,220],[180,270],[90,290],[30,250],[20,340],[20,360],[60,370],[180,380],[440,380]],[[2180,0,220,240,670,500],[670,250],[610,240],[570,280],[500,390],[430,450],[350,460],[260,400],[220,460],[220,500],[620,500],[660,360],[660,340]],[[1080,580,350,140,920,620],[780,250],[760,290],[700,360],[620,420],[530,450],[440,450],[380,440],[350,420],[350,610],[620,620],[820,620],[820,320],[920,140]],[[620,680,280,190,810,570],[810,320],[770,280],[720,230],[680,190],[720,290],[680,320],[580,280],[630,190],[550,230],[480,270],[370,270],[280,220],[280,570],[380,540],[540,490],[650,500],[810,510]],[[80,660,380,220,820,600],[820,240],[770,220],[710,220],[660,250],[620,310],[580,360],[520,400],[470,420],[440,430],[410,440],[380,450],[400,460],[540,500],[700,580],[790,600],[820,590]],[[1780,320,370,140,630,310],[620,140],[620,180],[630,240],[560,290],[370,310],[370,240],[420,230],[450,190],[440,150],[500,160],[540,160],[580,140]],[[1780,320,120,240,370,680],[370,240],[330,260],[270,310],[230,380],[220,400],[120,580],[120,680],[220,580],[320,480],[370,310]],[[0,620,100,10,300,700],[300,20],[230,90],[180,200],[160,290],[160,390],[170,510],[190,590],[250,680],[270,700],[100,700],[110,370],[150,90],[250,10]],[[140,980,0,340,470,560],[130,340],[240,430],[300,440],[350,440],[370,420],[390,390],[470,550],[0,560],[0,340]],[[440,500,350,360,460,400],[350,380],[410,360],[440,370],[460,400],[410,380]],[[240,1300,60,130,660,560],[60,140],[230,130],[270,170],[370,230],[490,250],[540,230],[550,210],[590,210],[660,270],[630,290],[530,330],[520,380],[600,420],[640,400],[640,560],[60,560]],[[940,1420,290,230,660,580],[290,330],[360,320],[410,330],[490,350],[530,340],[550,300],[590,230],[660,280],[660,580],[290,580]],[[940,1420,100,320,290,480],[110,350],[140,330],[150,340],[170,340],[190,330],[220,330],[240,320],[260,330],[290,330],[290,480],[100,480]],[[800,1420,80,230,250,480],[80,280],[120,260],[140,230],[150,270],[250,350],[240,480],[80,480]],[[1860,1700,140,300,640,500],[140,300],[140,400],[240,440],[640,500],[640,300]],[[2340,1860,160,80,660,440],[160,340],[260,360],[550,400],[660,440],[620,80],[620,340]],[[2580,1820,510,80,620,520],[520,80],[510,480],[530,520],[550,480],[560,420],[620,380],[520,380]],[[3400,1900,240,200,450,390],[340,200],[300,300],[240,300],[270,390],[280,340],[290,380],[450,310]],[[3920,1740,260,60,300,230],[280,60],[300,230],[260,200],[280,160]],[[4500,1900,290,130,850,470],[290,270],[310,310],[390,390],[410,470],[480,360],[500,310],[850,300],[440,300],[440,130]],[[5380,2020,320,160,850,610],[320,180],[500,200],[580,260],[600,340],[690,540],[700,610],[730,510],[850,480],[720,480],[720,160],[620,160],[620,180]],[[6120,2180,110,20,910,470],[110,320],[830,340],[850,470],[870,340],[880,420],[910,290],[900,60],[880,20],[880,320]],[[6660,1600,340,10,920,600],[340,600],[360,490],[480,320],[660,300],[800,230],[890,110],[900,40],[880,10],[920,30],[900,150],[830,280],[710,330],[460,460]],[[6660,1540,340,10,900,650],[340,650],[340,250],[560,260],[740,260],[840,200],[880,130],[870,80],[810,10],[880,70],[900,100],[890,170],[800,290],[660,360],[480,380],[360,550]],[[3620,720,320,190,380,580],[320,190],[380,580],[380,220]],[[2760,340,40,20,990,620],[40,160],[200,390],[790,620],[990,480],[840,400],[500,40],[240,40],[120,30],[80,20]],[[3260,660,290,160,740,640],[490,160],[680,250],[740,640],[290,300]],[[1960,480,40,20,1000,530],[140,320],[40,530],[1000,250],[840,20],[440,20],[450,80],[380,130],[190,150]],[[1380,800,50,110,970,520],[620,210],[520,400],[320,400],[50,390],[320,500],[920,520],[970,110]],[[3380,1780,610,500,670,580],[610,500],[670,510],[650,580]]],xtras:[[3060,140,2],[1400,1740,3],[6780,2040,1],[4320,1769,1],[1530,1607,1]]}));
  118. _global.lib.lvls.push(new com.neodelight.r2d.R2dLevel({title:"Matterhorn",colLine:10929199,colFill:12047930,skin:1,groundY:2300,startX:340,startY:1960,map:[[[0,1300,10,10,340,600],[310,40],[250,50],[210,90],[170,170],[140,240],[110,340],[100,400],[80,490],[80,600],[10,600],[40,480],[90,240],[170,80],[260,10],[330,10],[340,40]],[[0,1500,10,400,580,580],[80,400],[90,430],[140,460],[210,480],[320,490],[580,490],[580,580],[10,580],[10,400]],[[140,1420,360,400,950,660],[360,570],[410,560],[470,530],[520,490],[560,450],[600,410],[640,400],[680,410],[720,450],[740,480],[780,520],[830,560],[870,580],[950,580],[950,660],[440,660],[440,570]],[[800,1500,290,260,980,580],[290,500],[380,500],[440,480],[510,440],[560,400],[660,300],[700,260],[730,270],[760,290],[790,370],[820,430],[880,500],[940,530],[980,560],[980,580],[290,580]],[[1440,1540,340,0,1000,680],[340,520],[400,550],[510,600],[630,620],[760,610],[870,540],[950,450],[990,320],[990,220],[960,80],[910,0],[960,20],[1000,210],[980,600],[730,680],[340,540]],[[1500,1420,410,270,770,460],[580,340],[770,430],[760,460],[410,300],[430,270]],[[1700,1520,560,300,570,330],[570,330],[570,310],[570,300],[560,330]],[[780,740,380,340,470,370],[390,350],[470,340],[460,360],[380,370]],[[900,620,340,370,990,560],[350,460],[470,500],[550,520],[670,530],[750,530],[860,490],[950,410],[990,370],[990,400],[860,520],[750,560],[670,560],[550,550],[340,480]],[[840,540,410,520,460,560],[410,540],[460,520],[460,560]],[[1760,560,130,280,600,460],[130,430],[300,410],[390,390],[520,340],[600,280],[600,320],[520,380],[340,430],[130,460]],[[1080,1260,690,240,850,460],[850,430],[690,240],[690,280],[830,460]],[[560,840,270,250,610,410],[610,250],[600,270],[270,410],[280,390]],[[1080,580,340,440,570,560],[340,550],[380,480],[570,440],[560,460],[390,500],[390,560],[370,560]],[[1160,520,440,520,470,630],[440,530],[440,630],[460,630],[470,630],[470,520]],[[2080,600,270,230,850,560],[280,240],[420,230],[320,270],[320,310],[340,380],[390,430],[450,480],[530,520],[600,530],[690,500],[760,450],[810,380],[830,320],[850,380],[850,560],[520,560],[410,520],[350,480],[290,400],[270,330],[280,280]],[[520,900,220,330,320,350],[320,330],[230,330],[220,340],[310,350]],[[1180,1220,570,280,590,350],[590,280],[570,330],[570,350],[590,320],[590,320]],[[2680,760,250,220,880,450],[250,220],[280,270],[340,330],[440,390],[500,410],[610,420],[660,420],[720,410],[810,380],[870,330],[880,320],[880,440],[510,450],[250,400]],[[3500,740,540,340,980,460],[540,460],[540,340],[610,400],[650,420],[730,440],[980,440],[980,460]],[[4200,660,280,340,610,540],[280,520],[330,510],[400,470],[440,420],[490,370],[530,350],[580,340],[610,340],[610,380],[580,380],[500,540],[280,540]],[[5020,740,360,260,580,280],[360,260],[380,280],[580,280],[580,260]],[[5720,720,0,110,620,700],[240,110],[260,120],[280,180],[320,320],[390,490],[430,550],[470,600],[510,640],[550,670],[590,690],[620,700],[240,700],[180,480],[40,340],[0,300],[240,300]],[[6080,980,20,440,820,520],[260,440],[330,460],[420,470],[520,470],[820,470],[820,520],[120,520],[20,440]],[[6640,860,260,590,660,640],[260,590],[660,590],[610,640],[260,640]],[[6880,840,370,0,810,660],[420,610],[530,600],[650,550],[710,460],[740,360],[740,270],[730,170],[690,100],[640,30],[590,10],[580,0],[720,20],[800,160],[810,280],[800,440],[740,560],[670,650],[370,660]],[[5340,540,260,270,620,480],[260,460],[280,450],[330,420],[370,380],[390,340],[420,300],[450,280],[510,270],[570,270],[620,290],[620,480],[260,480]],[[6780,800,160,280,710,340],[620,320],[710,320],[700,310],[680,290],[660,280],[630,280],[580,290],[510,310],[420,320],[160,320],[160,340],[520,340]],[[6320,640,480,480,620,500],[620,480],[480,480],[480,500],[620,500]],[[6240,580,180,10,560,560],[560,540],[450,520],[380,480],[310,430],[240,360],[210,270],[200,170],[210,70],[230,10],[200,10],[180,180],[190,340],[240,450],[460,550],[560,560]],[[6300,360,300,410,740,450],[320,430],[300,450],[500,450],[700,440],[740,410],[700,410],[680,420]],[[6620,200,380,370,650,570],[380,570],[440,530],[540,490],[590,450],[650,370],[650,440],[620,520],[420,570]],[[6980,200,290,370,920,540],[290,370],[920,500],[920,540],[290,440]],[[7060,420,180,220,840,440],[400,420],[380,360],[330,330],[180,300],[210,220],[840,320],[770,340],[630,400],[540,440]],[[4660,840,150,160,380,180],[150,160],[380,160],[360,180],[150,180]],[[7440,440,460,260,800,300],[460,260],[800,260],[460,300]],[[5460,220,180,240,890,300],[860,260],[290,260],[180,240],[210,270],[290,280],[890,300],[870,260]],[[6140,260,200,220,810,330],[330,330],[350,300],[370,280],[400,260],[440,250],[500,240],[540,240],[590,240],[640,250],[700,280],[740,300],[780,290],[810,280],[770,260],[610,220],[500,220],[200,220],[210,260],[270,290],[300,330]],[[4820,0,120,270,850,500],[820,460],[730,420],[640,350],[580,270],[530,350],[500,400],[440,440],[350,460],[190,480],[160,480],[120,500],[260,490],[380,470],[580,420],[690,460],[780,490],[850,490]],[[4140,220,140,260,840,520],[840,260],[740,270],[650,310],[560,350],[440,410],[350,460],[260,490],[160,500],[140,520],[260,500],[380,470],[490,430],[650,380],[740,350],[780,310],[800,280]],[[5860,260,470,220,490,260],[470,220],[480,220],[490,260]],[[700,520,230,190,560,360],[560,190],[230,340],[260,360],[530,220]],[[220,620,420,240,740,310],[460,310],[540,290],[740,260],[710,240],[420,300],[420,310]],[[2420,320,350,90,640,250],[490,250],[460,180],[400,140],[350,120],[350,90],[640,90],[630,130],[520,180]],[[1880,200,130,200,890,350],[890,240],[750,220],[610,220],[460,250],[270,300],[130,350],[190,300],[610,200],[890,210]],[[1660,140,820,240,900,260],[820,260],[840,240],[900,260]],[[0,600,470,320,640,410],[560,410],[470,330],[470,320],[640,320],[640,330],[620,330]],[[1160,240,70,260,910,500],[100,470],[430,330],[590,290],[910,260],[850,310],[620,320],[450,350],[70,500]],[[0,280,30,0,470,690],[470,640],[340,640],[240,620],[170,570],[110,500],[80,410],[70,320],[70,250],[90,160],[120,90],[170,30],[210,0],[130,10],[80,80],[30,220],[30,410],[50,510],[150,630],[230,680],[300,690],[470,650]],[[0,580,300,350,560,570],[300,390],[540,570],[560,430],[470,350]],[[0,280,230,300,440,320],[230,300],[420,300],[440,320],[240,320]],[[0,140,130,60,700,160],[130,150],[290,130],[570,160],[700,160],[700,130],[510,60],[200,60]],[[160,120,260,460,460,490],[260,460],[440,470],[460,490],[280,480]],[[340,0,360,270,680,580],[560,560],[600,510],[600,410],[470,340],[360,300],[360,270],[590,310],[660,380],[680,500],[640,540],[560,580]],[[420,260,180,300,360,350],[180,330],[360,300],[360,340],[200,350]],[[420,260,360,300,540,340],[360,340],[540,340],[540,300],[360,300]],[[0,940,330,160,610,510],[330,370],[470,160],[540,210],[540,360],[610,510],[340,400]],[[3520,340,40,220,880,400],[780,380],[880,370],[750,370],[660,350],[540,300],[470,260],[380,230],[290,220],[180,220],[120,250],[80,300],[40,360],[120,310],[240,270],[430,300],[760,400]],[[2920,260,130,150,640,440],[140,150],[310,170],[420,190],[520,240],[590,300],[620,340],[640,440],[560,350],[420,270],[310,240],[130,190]],[[3020,160,320,290,880,540],[320,290],[880,410],[800,400],[680,400],[620,430],[580,480],[540,540],[520,440],[490,400],[420,340]],[[360,900,180,30,710,680],[710,670],[680,650],[510,640],[340,600],[270,540],[200,400],[200,250],[240,140],[320,30],[260,30],[200,110],[180,400],[260,590],[620,680]],[[780,1240,260,310,970,330],[260,310],[970,310],[970,330],[290,330]],[[4660,680,460,320,660,340],[460,320],[480,340],[640,340],[660,320]],[[1400,1300,350,240,400,350],[350,270],[370,350],[400,280],[370,240]],[[3120,940,70,260,440,500],[70,270],[180,290],[380,310],[400,430],[410,500],[430,290],[440,260]],[[3120,940,410,260,440,350],[440,260],[410,260],[430,350]],[[3460,1100,490,100,900,570],[580,100],[530,430],[490,500],[530,570],[540,470],[550,520],[610,450],[670,290],[770,230],[900,100]],[[4220,840,100,180,800,420],[100,400],[480,420],[580,300],[720,230],[800,180],[590,180],[590,200],[560,200],[480,360],[140,360]],[[4800,840,340,180,500,310],[340,180],[370,310],[430,260],[480,270],[500,180]],[[5080,720,320,300,820,480],[320,300],[430,390],[550,370],[820,480],[640,300]],[[3120,1240,30,330,870,480],[830,360],[640,390],[160,360],[30,330],[50,370],[280,460],[670,480],[660,430],[690,480],[870,430]],[[1860,1040,400,360,660,520],[490,500],[460,450],[400,380],[660,360],[540,520]],[[2300,1060,100,340,870,550],[220,340],[390,350],[510,370],[650,410],[850,510],[870,550],[670,510],[540,510],[330,490],[100,500]],[[1720,860,40,20,880,340],[410,340],[40,280],[170,160],[380,130],[560,80],[640,20],[630,70],[650,140],[710,220],[770,260],[880,300],[730,300]],[[2060,1420,340,130,780,550],[340,140],[570,130],[780,150],[670,170],[480,280],[370,550],[380,330]],[[1220,640,450,460,480,510],[450,510],[450,460],[480,500]]],xtras:[[800,535,3],[2329,1367,1],[2400,1360,1]]}));
  119. _global.lib.lvls.push(new com.neodelight.r2d.R2dLevel({title:"Draculex Castle",colLine:10929199,colFill:12047930,skin:2,groundY:8000,startX:3780,startY:800,map:[[[3300,720,600,80,700,350],[700,80],[600,350],[650,290],[700,280]],[[3500,1020,400,180,500,290],[500,180],[400,260],[450,270],[500,290]],[[3300,1420,300,80,560,620],[300,80],[310,250],[340,400],[410,470],[500,500],[540,490],[560,460],[550,520],[500,570],[390,580],[300,620]],[[3480,740,120,200,260,470],[120,200],[120,470],[170,420],[240,410],[260,420]],[[3400,1700,200,310,600,540],[600,310],[500,400],[430,460],[320,490],[200,500],[250,520],[380,540],[600,450]],[[3740,1540,260,430,560,620],[260,470],[310,460],[420,440],[560,430],[560,620],[260,610]],[[3360,460,240,160,360,470],[240,470],[250,370],[300,280],[340,240],[360,210],[290,190],[240,160]],[[3340,1120,260,240,430,380],[260,240],[260,380],[320,330],[420,310],[430,290]],[[4080,1480,220,160,780,690],[220,490],[310,460],[400,390],[540,240],[530,280],[490,420],[520,520],[620,420],[710,330],[640,240],[630,220],[670,210],[730,160],[780,550],[760,690],[220,680]],[[4540,1360,270,120,620,660],[270,280],[340,230],[500,120],[460,180],[510,290],[580,290],[620,380],[400,650],[320,660]],[[4820,1080,300,210,990,660],[300,570],[360,530],[360,410],[320,370],[300,360],[350,340],[410,320],[470,280],[540,210],[590,250],[650,290],[720,330],[800,350],[900,360],[990,360],[950,430],[850,480],[650,600],[340,660]],[[5340,920,430,470,870,600],[470,520],[590,520],[720,520],[810,510],[850,490],[870,470],[850,510],[720,600],[430,590]],[[5360,980,370,530,700,550],[410,530],[370,550],[700,540]],[[4440,800,10,440,470,580],[360,520],[470,470],[450,450],[440,440],[420,450],[320,480],[10,500],[90,580]],[[3920,1040,220,260,880,610],[530,260],[320,260],[220,560],[280,610],[500,510],[680,420],[880,280],[610,340]],[[3640,1380,360,40,560,390],[360,390],[460,380],[560,270],[500,220],[560,40],[360,120]],[[3740,640,260,60,500,660],[500,660],[440,650],[360,610],[300,540],[280,470],[270,360],[280,260],[300,200],[340,130],[400,100],[460,90],[460,60],[260,160],[260,640]],[[3700,960,300,320,540,540],[300,320],[300,540],[500,460],[540,340]],[[3960,720,220,260,720,310],[240,280],[220,280],[240,290],[540,310],[720,260]],[[4220,620,280,80,830,410],[280,410],[450,390],[560,340],[700,240],[770,150],[830,80],[460,360]],[[4120,540,60,160,930,460],[60,460],[320,450],[450,440],[550,420],[650,360],[930,160],[560,440]],[[4800,560,120,140,860,300],[120,300],[220,250],[330,220],[470,230],[640,260],[760,270],[820,250],[850,220],[860,190],[840,210],[770,220],[710,220],[610,220],[250,140]],[[4760,280,290,380,880,500],[290,420],[330,380],[880,490],[810,500],[650,500]],[[4080,320,70,340,530,410],[120,410],[320,400],[460,380],[520,350],[530,340],[490,350],[370,360],[250,360],[70,340],[120,380]],[[3640,320,330,320,560,480],[360,470],[360,380],[350,340],[330,320],[510,340],[560,380],[360,480]],[[3540,1320,290,80,460,450],[420,280],[460,80],[460,450],[450,410],[440,360],[420,330],[390,300],[340,280],[290,260]],[[3460,1140,360,430,500,460],[500,460],[370,440],[360,430],[500,450]],[[2860,260,230,300,740,650],[740,360],[690,330],[650,300],[630,330],[580,390],[520,430],[430,460],[340,470],[250,470],[230,500],[310,540],[740,650]],[[2460,440,230,240,710,360],[650,290],[510,290],[390,280],[290,260],[230,240],[260,270],[360,320],[710,360],[630,320]],[[1960,200,240,20,810,680],[640,70],[580,100],[480,190],[400,290],[350,390],[330,510],[330,610],[340,680],[240,650],[260,400],[350,210],[480,50],[600,20],[710,30],[810,130],[810,150],[780,120],[690,80]],[[2120,680,80,170,630,570],[180,200],[190,250],[250,360],[310,440],[380,480],[480,500],[580,500],[630,490],[630,560],[400,570],[300,550],[150,470],[80,340],[80,170]],[[2740,740,420,60,860,580],[420,60],[800,210],[680,230],[790,260],[690,290],[790,320],[690,340],[780,350],[720,360],[780,390],[710,410],[770,430],[720,450],[760,460],[730,470],[760,490],[860,580],[860,170]],[[2700,760,710,340,900,390],[900,340],[710,360],[900,390]],[[2920,960,110,230,680,640],[120,240],[110,340],[280,340],[470,440],[680,640],[680,360],[580,270],[550,250],[320,230]],[[2420,1160,0,70,510,550],[330,80],[370,350],[430,440],[510,510],[480,540],[370,550],[100,440],[0,70],[100,90]],[[2640,1320,150,350,420,520],[290,350],[420,410],[390,520],[150,390],[260,380]],[[2720,1380,310,390,670,540],[310,460],[320,430],[350,390],[350,430],[370,390],[360,460],[400,400],[390,460],[430,400],[420,470],[450,430],[450,490],[470,410],[520,430],[560,440],[590,440],[630,430],[650,410],[670,500],[650,540],[460,530]],[[2920,1260,280,40,680,700],[280,40],[430,140],[560,260],[630,360],[670,480],[670,580],[660,690],[680,700],[680,340],[470,140]],[[2920,1700,260,250,680,450],[660,250],[640,290],[580,370],[520,400],[420,410],[260,400],[270,420],[380,440],[490,450],[590,420],[680,340],[680,260]],[[2620,1140,400,160,760,290],[410,160],[400,190],[430,200],[500,230],[590,260],[660,270],[700,270],[720,270],[760,290],[730,260],[580,160]],[[2440,1640,100,410,860,560],[740,460],[100,410],[120,470],[230,530],[350,550],[590,560],[860,500],[750,480]],[[1720,1520,140,320,950,670],[820,530],[680,520],[600,510],[550,490],[510,460],[460,410],[440,370],[430,330],[430,320],[420,320],[420,330],[410,370],[400,410],[380,460],[350,520],[310,540],[200,550],[140,550],[160,590],[540,670],[950,650],[840,590]],[[1580,1180,270,0,940,420],[940,420],[910,360],[850,260],[800,220],[740,170],[680,130],[560,110],[430,110],[360,190],[310,260],[270,190],[490,0],[780,20],[840,50]],[[1280,1500,10,170,980,690],[580,570],[500,550],[410,510],[360,480],[300,420],[280,370],[260,290],[230,260],[200,220],[160,190],[120,180],[90,180],[10,170],[70,190],[100,230],[120,270],[120,330],[90,400],[40,430],[70,560],[420,670],[980,690],[600,610]],[[560,1180,190,290,710,690],[540,550],[710,460],[660,650],[540,690],[330,670],[190,350],[190,290],[230,290],[300,310],[380,340],[630,470]],[[560,1420,40,50,790,640],[660,410],[690,300],[700,370],[760,510],[790,640],[240,640],[40,580],[40,50],[190,50],[190,110],[330,430],[540,450]],[[0,960,120,490,600,690],[600,510],[550,490],[120,490],[150,500],[240,520],[330,540],[490,630],[600,690]],[[0,1160,330,340,400,490],[330,340],[400,380],[390,440],[390,380],[380,490],[370,370],[350,490],[340,360]],[[40,1200,360,340,560,540],[560,450],[360,340],[370,450],[370,360],[390,490],[390,370],[410,470],[420,380],[440,470],[450,400],[460,450],[470,420],[480,540],[490,430],[500,470],[510,430],[520,530],[530,450]],[[1520,840,550,190,750,350],[680,190],[550,340],[680,350],[670,310],[710,240],[750,310]],[[1520,840,680,180,750,310],[680,190],[680,180],[750,310]]],xtras:[[6250,1340,2],[350,1410,3]]}));
  120. createEmptyMovieClip("mask",17);
  121. mask.beginFill(16711680);
  122. mask.lineTo(550,0);
  123. mask.lineTo(550,400);
  124. mask.lineTo(0,400);
  125. mask.lineTo(0,0);
  126. mask.endFill();
  127. setMask(mask);
  128. _global.bin.debug = function()
  129. {
  130.    with(_root)
  131.    {
  132.       if(!fpsCounter)
  133.       {
  134.          new com.neodelight.std.FpsCounter();
  135.       }
  136.       if(!a)
  137.       {
  138.          a = new com.neodelight.std.Analyzer(0.9,1);
  139.          a0 = new com.neodelight.std.Analyzer(0.96,1);
  140.          a1 = new com.neodelight.std.Analyzer(0.96,1);
  141.       }
  142.    }
  143.    _root.engine.debug();
  144. };
  145. _global.bin.godMode = function()
  146. {
  147.    _global.godMode = true;
  148. };
  149. _global.godMode = false;
  150. gotoAndStop("menu");
  151.