Section 1
//MD5 (classes.crypto.MD5)
package classes.crypto {
import classes.utils.*;
public class MD5 {
private function ff(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (transform(f, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7));
}
private function ii(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (transform(i, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7));
}
private function f(_arg1:int, _arg2:int, _arg3:int):int{
return (((_arg1 & _arg2) | (~(_arg1) & _arg3)));
}
private function gg(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (transform(g, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7));
}
private function h(_arg1:int, _arg2:int, _arg3:int):int{
return (((_arg1 ^ _arg2) ^ _arg3));
}
private function i(_arg1:int, _arg2:int, _arg3:int):int{
return ((_arg2 ^ (_arg1 | ~(_arg3))));
}
private function transform(_arg1:Function, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int, _arg8:int):int{
var _local9:int;
_local9 = (((_arg2 + int(_arg1(_arg3, _arg4, _arg5))) + _arg6) + _arg8);
return ((IntUtil.rol(_local9, _arg7) + _arg3));
}
private function g(_arg1:int, _arg2:int, _arg3:int):int{
return (((_arg1 & _arg3) | (_arg2 & ~(_arg3))));
}
private function createBlocks(_arg1:String):Array{
var _local2:Array;
var _local3:int;
var _local4:int;
var _local5:int;
_local2 = new Array();
_local3 = (_arg1.length * 8);
_local4 = 0xFF;
_local5 = 0;
while (_local5 < _local3) {
_local2[(_local5 >> 5)] = (_local2[(_local5 >> 5)] | ((_arg1.charCodeAt((_local5 / 8)) & _local4) << (_local5 % 32)));
_local5 = (_local5 + 8);
};
_local2[(_local3 >> 5)] = (_local2[(_local3 >> 5)] | (128 << (_local3 % 32)));
_local2[((((_local3 + 64) >>> 9) << 4) + 14)] = _local3;
return (_local2);
}
public function hash(_arg1:String):String{
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:int;
var _local10:Array;
var _local11:int;
var _local12:int;
_local2 = 1732584193;
_local3 = -271733879;
_local4 = -1732584194;
_local5 = 271733878;
_local10 = createBlocks(_arg1);
_local11 = _local10.length;
_local12 = 0;
while (_local12 < _local11) {
_local6 = _local2;
_local7 = _local3;
_local8 = _local4;
_local9 = _local5;
_local2 = ff(_local2, _local3, _local4, _local5, _local10[(_local12 + 0)], 7, -680876936);
_local5 = ff(_local5, _local2, _local3, _local4, _local10[(_local12 + 1)], 12, -389564586);
_local4 = ff(_local4, _local5, _local2, _local3, _local10[(_local12 + 2)], 17, 606105819);
_local3 = ff(_local3, _local4, _local5, _local2, _local10[(_local12 + 3)], 22, -1044525330);
_local2 = ff(_local2, _local3, _local4, _local5, _local10[(_local12 + 4)], 7, -176418897);
_local5 = ff(_local5, _local2, _local3, _local4, _local10[(_local12 + 5)], 12, 1200080426);
_local4 = ff(_local4, _local5, _local2, _local3, _local10[(_local12 + 6)], 17, -1473231341);
_local3 = ff(_local3, _local4, _local5, _local2, _local10[(_local12 + 7)], 22, -45705983);
_local2 = ff(_local2, _local3, _local4, _local5, _local10[(_local12 + 8)], 7, 1770035416);
_local5 = ff(_local5, _local2, _local3, _local4, _local10[(_local12 + 9)], 12, -1958414417);
_local4 = ff(_local4, _local5, _local2, _local3, _local10[(_local12 + 10)], 17, -42063);
_local3 = ff(_local3, _local4, _local5, _local2, _local10[(_local12 + 11)], 22, -1990404162);
_local2 = ff(_local2, _local3, _local4, _local5, _local10[(_local12 + 12)], 7, 1804603682);
_local5 = ff(_local5, _local2, _local3, _local4, _local10[(_local12 + 13)], 12, -40341101);
_local4 = ff(_local4, _local5, _local2, _local3, _local10[(_local12 + 14)], 17, -1502002290);
_local3 = ff(_local3, _local4, _local5, _local2, _local10[(_local12 + 15)], 22, 1236535329);
_local2 = gg(_local2, _local3, _local4, _local5, _local10[(_local12 + 1)], 5, -165796510);
_local5 = gg(_local5, _local2, _local3, _local4, _local10[(_local12 + 6)], 9, -1069501632);
_local4 = gg(_local4, _local5, _local2, _local3, _local10[(_local12 + 11)], 14, 643717713);
_local3 = gg(_local3, _local4, _local5, _local2, _local10[(_local12 + 0)], 20, -373897302);
_local2 = gg(_local2, _local3, _local4, _local5, _local10[(_local12 + 5)], 5, -701558691);
_local5 = gg(_local5, _local2, _local3, _local4, _local10[(_local12 + 10)], 9, 38016083);
_local4 = gg(_local4, _local5, _local2, _local3, _local10[(_local12 + 15)], 14, -660478335);
_local3 = gg(_local3, _local4, _local5, _local2, _local10[(_local12 + 4)], 20, -405537848);
_local2 = gg(_local2, _local3, _local4, _local5, _local10[(_local12 + 9)], 5, 568446438);
_local5 = gg(_local5, _local2, _local3, _local4, _local10[(_local12 + 14)], 9, -1019803690);
_local4 = gg(_local4, _local5, _local2, _local3, _local10[(_local12 + 3)], 14, -187363961);
_local3 = gg(_local3, _local4, _local5, _local2, _local10[(_local12 + 8)], 20, 1163531501);
_local2 = gg(_local2, _local3, _local4, _local5, _local10[(_local12 + 13)], 5, -1444681467);
_local5 = gg(_local5, _local2, _local3, _local4, _local10[(_local12 + 2)], 9, -51403784);
_local4 = gg(_local4, _local5, _local2, _local3, _local10[(_local12 + 7)], 14, 1735328473);
_local3 = gg(_local3, _local4, _local5, _local2, _local10[(_local12 + 12)], 20, -1926607734);
_local2 = hh(_local2, _local3, _local4, _local5, _local10[(_local12 + 5)], 4, -378558);
_local5 = hh(_local5, _local2, _local3, _local4, _local10[(_local12 + 8)], 11, -2022574463);
_local4 = hh(_local4, _local5, _local2, _local3, _local10[(_local12 + 11)], 16, 1839030562);
_local3 = hh(_local3, _local4, _local5, _local2, _local10[(_local12 + 14)], 23, -35309556);
_local2 = hh(_local2, _local3, _local4, _local5, _local10[(_local12 + 1)], 4, -1530992060);
_local5 = hh(_local5, _local2, _local3, _local4, _local10[(_local12 + 4)], 11, 1272893353);
_local4 = hh(_local4, _local5, _local2, _local3, _local10[(_local12 + 7)], 16, -155497632);
_local3 = hh(_local3, _local4, _local5, _local2, _local10[(_local12 + 10)], 23, -1094730640);
_local2 = hh(_local2, _local3, _local4, _local5, _local10[(_local12 + 13)], 4, 681279174);
_local5 = hh(_local5, _local2, _local3, _local4, _local10[(_local12 + 0)], 11, -358537222);
_local4 = hh(_local4, _local5, _local2, _local3, _local10[(_local12 + 3)], 16, -722521979);
_local3 = hh(_local3, _local4, _local5, _local2, _local10[(_local12 + 6)], 23, 76029189);
_local2 = hh(_local2, _local3, _local4, _local5, _local10[(_local12 + 9)], 4, -640364487);
_local5 = hh(_local5, _local2, _local3, _local4, _local10[(_local12 + 12)], 11, -421815835);
_local4 = hh(_local4, _local5, _local2, _local3, _local10[(_local12 + 15)], 16, 530742520);
_local3 = hh(_local3, _local4, _local5, _local2, _local10[(_local12 + 2)], 23, -995338651);
_local2 = ii(_local2, _local3, _local4, _local5, _local10[(_local12 + 0)], 6, -198630844);
_local5 = ii(_local5, _local2, _local3, _local4, _local10[(_local12 + 7)], 10, 1126891415);
_local4 = ii(_local4, _local5, _local2, _local3, _local10[(_local12 + 14)], 15, -1416354905);
_local3 = ii(_local3, _local4, _local5, _local2, _local10[(_local12 + 5)], 21, -57434055);
_local2 = ii(_local2, _local3, _local4, _local5, _local10[(_local12 + 12)], 6, 1700485571);
_local5 = ii(_local5, _local2, _local3, _local4, _local10[(_local12 + 3)], 10, -1894986606);
_local4 = ii(_local4, _local5, _local2, _local3, _local10[(_local12 + 10)], 15, -1051523);
_local3 = ii(_local3, _local4, _local5, _local2, _local10[(_local12 + 1)], 21, -2054922799);
_local2 = ii(_local2, _local3, _local4, _local5, _local10[(_local12 + 8)], 6, 1873313359);
_local5 = ii(_local5, _local2, _local3, _local4, _local10[(_local12 + 15)], 10, -30611744);
_local4 = ii(_local4, _local5, _local2, _local3, _local10[(_local12 + 6)], 15, -1560198380);
_local3 = ii(_local3, _local4, _local5, _local2, _local10[(_local12 + 13)], 21, 1309151649);
_local2 = ii(_local2, _local3, _local4, _local5, _local10[(_local12 + 4)], 6, -145523070);
_local5 = ii(_local5, _local2, _local3, _local4, _local10[(_local12 + 11)], 10, -1120210379);
_local4 = ii(_local4, _local5, _local2, _local3, _local10[(_local12 + 2)], 15, 718787259);
_local3 = ii(_local3, _local4, _local5, _local2, _local10[(_local12 + 9)], 21, -343485551);
_local2 = (_local2 + _local6);
_local3 = (_local3 + _local7);
_local4 = (_local4 + _local8);
_local5 = (_local5 + _local9);
_local12 = (_local12 + 16);
};
return ((((IntUtil.toHex(_local2) + IntUtil.toHex(_local3)) + IntUtil.toHex(_local4)) + IntUtil.toHex(_local5)));
}
private function hh(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{
return (transform(h, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7));
}
}
}//package classes.crypto
Section 2
//Collide (classes.engine.Collide)
package classes.engine {
import classes.math.*;
import flash.display.*;
public class Collide {
var tvar:Number;
function findMTD(_arg1:Array, _arg2:Array, _arg3:Number):Object{
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Vector;
var _local8:*;
var _local9:*;
_local5 = -1;
_local6 = 0;
_local7 = new Vector(0, 0);
_local8 = 0;
while (_local8 < _arg3) {
_arg2[_local8] = (_arg2[_local8] / _arg1[_local8].getLength());
_arg1[_local8].x = (_arg1[_local8].x / _arg1[_local8].getLength());
_arg1[_local8].y = (_arg1[_local8].y / _arg1[_local8].getLength());
if ((((_arg2[_local8] > _local6)) || ((_local5 == -1)))){
_local5 = _local8;
_local6 = _arg2[_local8];
_local7 = _arg1[_local8];
};
_local8++;
};
_local9 = new Object();
_local9.N = _local7;
_local9.t = _local6;
return (_local9);
}
function setVar(_arg1:Number){
tvar = _arg1;
}
function collideF(_arg1:Polygon, _arg2:Polygon):Object{
var _local3:Vector;
var _local4:Vector;
var _local5:Vector;
var _local6:Number;
var _local7:Array;
var _local8:Vector;
var _local9:Array;
var _local10:Number;
var _local11:Array;
var _local12:Number;
var _local13:Object;
var _local14:Vector;
var _local15:Number;
var _local16:Object;
_local10 = 0;
_local9 = [];
_local7 = [];
_local8 = _arg1.pos.minusNew(_arg2.pos);
_local6 = (_arg1.vertex.length - 1);
_local12 = 0;
while (_local12 < _arg1.vertex.length) {
_local3 = _arg1.vertex[_local6];
_local4 = _arg1.vertex[_local12];
_local5 = _local4.minusNew(_local3);
_local6 = _local12;
_local7[_local10] = new Vector(0, 0);
_local9[_local10] = new Number();
_local7[_local10] = _local5.getNormal();
if (!intervalIntersect(_arg1, _arg2, _local7[_local10], _local8)){
return (false);
};
_local9[_local10] = getVar();
_local10++;
_local12++;
};
_local6 = (_arg2.vertex.length - 1);
_local12 = 0;
while (_local12 < _arg2.vertex.length) {
_local3 = _arg2.vertex[_local6];
_local4 = _arg2.vertex[_local12];
_local5 = _local4.minusNew(_local3);
_local6 = _local12;
_local7[_local10] = new Vector(0, 0);
_local9[_local10] = new Number();
_local7[_local10] = _local5.getNormal();
if (!intervalIntersect(_arg1, _arg2, _local7[_local10], _local8)){
return (false);
};
_local9[_local10] = getVar();
_local10++;
_local12++;
};
_local13 = findMTD(_local7, _local9, _local10);
_local14 = _local13.N;
_local15 = _local13.t;
if (_local14.dot(_local8) < 0){
_local14.negate();
};
_local16 = new Object();
_local16.N = _local14;
_local16.t = _local15;
return (_local16);
}
function intervalIntersect(_arg1:Polygon, _arg2:Polygon, _arg3:Vector, _arg4:Vector):Boolean{
var _local5:Array;
var _local6:Array;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Number;
_local5 = [];
_local6 = [];
_local5 = getInterval(_arg1, _arg3);
_local6 = getInterval(_arg2, _arg3);
_local7 = _arg4.dot(_arg3);
_local5[0] = (_local5[0] + _local7);
_local5[1] = (_local5[1] + _local7);
_local8 = (_local5[0] - _local6[1]);
_local9 = (_local6[0] - _local5[1]);
if ((((_local8 > 0)) || ((_local9 > 0)))){
return (false);
};
_local10 = _local9;
if (_local8 > _local9){
_local10 = _local8;
};
setVar(_local10);
return (true);
}
function checkDist(_arg1:MovieClip, _arg2:MovieClip):Boolean{
var _local3:Boolean;
if (((!(_arg1.visible)) || (!(_arg1.visible)))){
_local3 = false;
} else {
_local3 = _arg1.hitTestObject(_arg2);
};
return (_local3);
}
function getVar():Number{
return (tvar);
}
public function isCollide(_arg1:Array){
var _local2:Number;
var _local3:MovieClip;
var _local4:Number;
var _local5:Object;
_local2 = 0;
while (_local2 < (_arg1.length - 1)) {
_local3 = MovieClip(_arg1[_local2]);
_local4 = (_local2 + 1);
while (_local4 < _arg1.length) {
if (((!((_local2 == _local4))) && (checkDist(_local3, _arg1[_local4])))){
_local5 = collideF(_local3.PLAYER_POLYGON, _arg1[_local4].PLAYER_POLYGON);
if (_local5 != false){
_local3.boom(_local5.N, _local5.t, _arg1[_local4]);
};
};
_local4++;
};
_local2++;
};
}
function getInterval(_arg1:Polygon, _arg2:Vector):Array{
var _local3:Number;
var _local4:Number;
var _local5:Array;
var _local6:Number;
var _local7:Number;
_local5 = [];
_local3 = _arg1.vertex[0].dot(_arg2);
_local4 = _local3;
_local7 = 1;
while (_local7 < _arg1.vertex.length) {
_local6 = _arg1.vertex[_local7].dot(_arg2);
if (_local6 < _local3){
_local3 = _local6;
} else {
if (_local6 > _local4){
_local4 = _local6;
};
};
_local7++;
};
_local5 = [_local3, _local4];
return (_local5);
}
}
}//package classes.engine
Section 3
//Informations (classes.gameInterface.Informations)
package classes.gameInterface {
import flash.display.*;
import flash.events.*;
import classes.*;
import classes.media.*;
public class Informations extends MovieClip {
public var backBtn:SimpleButton;
public var continueBtn:SimpleButton;
public var t2:MovieClip;
public var t3:MovieClip;
public var t1:MovieClip;
public var t5:MovieClip;
public var scr2:MovieClip;
public var track:MovieClip;
public var scr3:MovieClip;
public var t4:MovieClip;
public var scr1:MovieClip;
public var t6:MovieClip;
public var bg5:MovieClip;
public var bg6:MovieClip;
public var bg3:MovieClip;
private var nPause:uint;// = 15
public var bg4:MovieClip;
private var z:int;
public var bg1:MovieClip;
public var bg2:MovieClip;
public var backText:MovieClip;
public function Informations():void{
var _local1:Vorota;
nPause = 15;
z = nPause;
super();
_local1 = new Vorota(this, true);
continueBtn.addEventListener(MouseEvent.CLICK, continueAction);
backBtn.addEventListener(MouseEvent.CLICK, back);
continueBtn.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
backBtn.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
if (GameSettings.CURRENT_LEVEL != 0){
backText.visible = false;
backBtn.visible = false;
};
t1.stop();
t2.stop();
t3.stop();
t4.stop();
t5.stop();
t6.stop();
scr1.gotoAndStop(2);
scr2.gotoAndStop(2);
scr3.gotoAndStop(2);
switch ((GameSettings.CURRENT_LEVEL + 1)){
case 1:
scr1.gotoAndStop(1);
break;
case 2:
scr2.gotoAndStop(1);
break;
case 3:
scr3.gotoAndStop(1);
break;
case 4:
scr1.gotoAndStop(1);
break;
case 5:
scr2.gotoAndStop(1);
break;
case 6:
scr3.gotoAndStop(1);
break;
};
this[("bg" + (GameSettings.CURRENT_LEVEL + 1))].gotoAndStop(2);
track.gotoAndStop((GameSettings.CURRENT_LEVEL + 1));
backText.mouseEnabled = false;
}
private function mouseOverFunc(_arg1:MouseEvent):void{
SoundFX.playSound(null, "s_over", 0, 0);
}
private function continueAction(_arg1:MouseEvent):void{
var _local2:Vorota;
SoundFX.playSound(null, "s_click", 0, 0);
diactivateAllButtons();
_local2 = new Vorota(this, false, MovieClip(this.parent), "game");
}
private function diactivateAllButtons():void{
continueBtn.removeEventListener(MouseEvent.CLICK, continueAction);
backBtn.removeEventListener(MouseEvent.CLICK, back);
}
private function back(_arg1:MouseEvent):void{
var _local2:Vorota;
SoundFX.playSound(null, "s_click", 0, 0);
trace("BUCK");
diactivateAllButtons();
_local2 = new Vorota(this, false, MovieClip(this.parent), "selector1");
}
}
}//package classes.gameInterface
Section 4
//Instructions1 (classes.gameInterface.Instructions1)
package classes.gameInterface {
import flash.display.*;
import flash.events.*;
import classes.*;
import classes.media.*;
public class Instructions1 extends MovieClip {
public var backBtn:SimpleButton;
public var continueBtn:SimpleButton;
public var backText:MovieClip;
public function Instructions1():void{
var _local1:Vorota;
super();
_local1 = new Vorota(this, true);
continueBtn.addEventListener(MouseEvent.MOUSE_DOWN, continueAction);
backBtn.addEventListener(MouseEvent.MOUSE_DOWN, back);
continueBtn.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
backBtn.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
backText.mouseEnabled = false;
}
private function diactivateAllButtons():void{
continueBtn.removeEventListener(MouseEvent.MOUSE_DOWN, continueAction);
backBtn.removeEventListener(MouseEvent.MOUSE_DOWN, back);
}
private function mouseOverFunc(_arg1:MouseEvent):void{
trace("OVER");
SoundFX.playSound(null, "s_over", 0, 0);
}
private function continueAction(_arg1:MouseEvent):void{
var _local2:Vorota;
SoundFX.playSound(null, "s_click", 0, 0);
diactivateAllButtons();
switch (GameSettings.GAME_TYPE){
case "championship":
_local2 = new Vorota(this, false, MovieClip(this.parent), "selector1");
break;
case "grandprix":
_local2 = new Vorota(this, false, MovieClip(this.parent), "selector1");
break;
case "2in1":
_local2 = new Vorota(this, false, MovieClip(this.parent), "selector2");
break;
};
}
private function back(_arg1:MouseEvent):void{
var _local2:Vorota;
SoundFX.playSound(null, "s_click", 0, 0);
trace("BUCK");
diactivateAllButtons();
_local2 = new Vorota(this, false, MovieClip(this.parent), "menu");
}
}
}//package classes.gameInterface
Section 5
//Intro (classes.gameInterface.Intro)
package classes.gameInterface {
import flash.display.*;
import flash.events.*;
import classes.*;
import classes.media.*;
public class Intro extends MovieClip {
private var nPause:uint;// = 25
private var z:int;
public var logo:MovieClip;
public function Intro():void{
var _local1:Vorota;
nPause = 25;
z = nPause;
super();
_local1 = new Vorota(this, true);
this.addEventListener(Event.ENTER_FRAME, introUpdate);
stage.quality = "BEST";
Music.playMusic("intro", "m_loop");
}
private function action():void{
var _local1:Vorota;
this.removeEventListener(Event.ENTER_FRAME, introUpdate);
_local1 = new Vorota(this, false, MovieClip(this.parent), "menu");
}
private function introUpdate(_arg1:Event):void{
if (String(this.currentLabel).indexOf("s_") == 0){
stop();
if (z == nPause){
SoundFX.playSound(null, this.currentLabel);
if (this.currentLabel == "s_begin"){
Music.stopMusics();
};
};
z--;
if (z == 0){
play();
z = nPause;
};
};
if (this.currentLabel == "stopFrame"){
this.stop();
action();
};
}
}
}//package classes.gameInterface
Section 6
//MainMenu (classes.gameInterface.MainMenu)
package classes.gameInterface {
import flash.display.*;
import flash.events.*;
import classes.*;
import classes.media.*;
import flash.net.*;
public class MainMenu extends MovieClip {
public var uglanBtn:MovieClip;
public var sendToFriendsBtn:SimpleButton;
public var viewScoreBtn:SimpleButton;
public var playTraningBtn:SimpleButton;
public var playBtn:SimpleButton;
public var gamezheroBtn:MovieClip;
public var playMoreGamesBtn:SimpleButton;
public var logo:MovieClip;
public var play2In1PcBtn:SimpleButton;
public function MainMenu():void{
var _local1:Vorota;
super();
Music.playMusic("menu", "m_menu");
_local1 = new Vorota(this, true);
playBtn.addEventListener(MouseEvent.CLICK, playGame);
playTraningBtn.addEventListener(MouseEvent.CLICK, playTraning);
play2In1PcBtn.addEventListener(MouseEvent.CLICK, play2In1Pc);
viewScoreBtn.addEventListener(MouseEvent.CLICK, viewScore);
sendToFriendsBtn.addEventListener(MouseEvent.CLICK, sendToFriends);
playMoreGamesBtn.addEventListener(MouseEvent.CLICK, playMoreGames);
gamezheroBtn.addEventListener(MouseEvent.CLICK, playMoreGames2);
uglanBtn.addEventListener(MouseEvent.CLICK, uglan);
playBtn.addEventListener(MouseEvent.ROLL_OVER, mouseOverFunc);
playTraningBtn.addEventListener(MouseEvent.ROLL_OVER, mouseOverFunc);
play2In1PcBtn.addEventListener(MouseEvent.ROLL_OVER, mouseOverFunc);
viewScoreBtn.addEventListener(MouseEvent.ROLL_OVER, mouseOverFunc);
sendToFriendsBtn.addEventListener(MouseEvent.ROLL_OVER, mouseOverFunc);
playMoreGamesBtn.addEventListener(MouseEvent.ROLL_OVER, mouseOverFunc);
gamezheroBtn.addEventListener(MouseEvent.ROLL_OVER, mouseOverZorro);
uglanBtn.addEventListener(MouseEvent.ROLL_OVER, mouseOverFunc);
gamezheroBtn.buttonMode = true;
gamezheroBtn.useHandCursor = true;
stage.quality = "BEST";
logo.mouseEnabled = false;
}
private function playTraning(_arg1:MouseEvent):void{
var _local2:Vorota;
SoundFX.playSound(null, "s_click", 0, 0);
trace("playTraning");
GameSettings.clearGame();
GameSettings.setTypeGame(1);
GameSettings.setLevel(0);
diactivateAllButtons();
_local2 = new Vorota(this, false, MovieClip(this.parent), "instructions1");
}
private function diactivateAllButtons():void{
playBtn.removeEventListener(MouseEvent.CLICK, playGame);
playTraningBtn.removeEventListener(MouseEvent.CLICK, playTraning);
play2In1PcBtn.removeEventListener(MouseEvent.CLICK, play2In1Pc);
viewScoreBtn.removeEventListener(MouseEvent.CLICK, viewScore);
sendToFriendsBtn.removeEventListener(MouseEvent.CLICK, sendToFriends);
playMoreGamesBtn.removeEventListener(MouseEvent.CLICK, playMoreGames);
gamezheroBtn.removeEventListener(MouseEvent.CLICK, playMoreGames2);
uglanBtn.removeEventListener(MouseEvent.CLICK, uglan);
}
private function mouseOverZorro(_arg1:MouseEvent):void{
gamezheroBtn["blick"].play();
gamezheroBtn["blick2"].play();
SoundFX.playSound(null, "s_over", 0, 0);
}
private function getURL(_arg1:String):void{
var _local2:URLRequest;
_local2 = new URLRequest(_arg1);
navigateToURL(_local2, "_blank");
}
private function playGame(_arg1:MouseEvent):void{
var _local2:Vorota;
SoundFX.playSound(null, "s_click", 0, 0);
trace("playGame");
GameSettings.clearGame();
GameSettings.setTypeGame(0);
GameSettings.setLevel(0);
diactivateAllButtons();
_local2 = new Vorota(this, false, MovieClip(this.parent), "instructions1");
}
private function mouseOverFunc(_arg1:MouseEvent):void{
SoundFX.playSound(null, "s_over", 0, 0);
}
private function playMoreGames(_arg1:MouseEvent):void{
trace("playMoreGames");
SoundFX.playSound(null, "s_click", 0, 0);
getURL("http://www.gamezhero.com/?utm_campaign=ufo_racing&utm_source=ufo_racing&utm_medium=more_free_games");
}
private function playMoreGames2(_arg1:MouseEvent):void{
trace("zorro_logo");
SoundFX.playSound(null, "s_click", 0, 0);
getURL("http://www.gamezhero.com/?utm_campaign=ufo_racing&utm_source=ufo_racing&utm_medium=zorro_logo");
}
private function uglan(_arg1:MouseEvent):void{
trace("uglan");
SoundFX.playSound(null, "s_click", 0, 0);
getURL("http://www.uglan.ru/?utm_campaign=ufo_racing&utm_source=ufo_racing&utm_medium=uglan_logo");
}
private function play2In1Pc(_arg1:MouseEvent):void{
var _local2:Vorota;
SoundFX.playSound(null, "s_click", 0, 0);
trace("play2In1Pc");
GameSettings.clearGame();
GameSettings.setTypeGame(2);
GameSettings.setLevel(Math.round((3 * Math.random())));
diactivateAllButtons();
_local2 = new Vorota(this, false, MovieClip(this.parent), "instructions1");
}
private function viewScore(_arg1:MouseEvent):void{
trace("viewScore");
SoundFX.playSound(null, "s_click", 0, 0);
getURL("http://www.gamezhero.com/topscore/uforacing/?utm_campaign=ufo_racing&utm_source=ufo_racing&utm_medium=top_score");
}
private function sendToFriends(_arg1:MouseEvent):void{
trace("sendToFriends");
SoundFX.playSound(null, "s_click", 0, 0);
getURL("http://www.gamezhero.com/sendtofriends/uforacing-freeonlinegames.html?utm_campaign=ufo_racing&utm_source=ufo_racing&utm_medium=send_to_friends");
}
}
}//package classes.gameInterface
Section 7
//PlayerSelector (classes.gameInterface.PlayerSelector)
package classes.gameInterface {
import flash.display.*;
import flash.events.*;
import classes.*;
import classes.media.*;
public class PlayerSelector extends MovieClip {
public var backBtn:SimpleButton;
public var prevBtn:SimpleButton;
public var t2:MovieClip;
public var t3:MovieClip;
public var t1:MovieClip;
public var nextBtn:SimpleButton;
private var n:uint;
public var skin:MovieClip;
public var selectBtn:SimpleButton;
private var currIndx:int;// = 0
private var nextFlag:Boolean;// = false
public function PlayerSelector():void{
var _local1:Vorota;
currIndx = 0;
nextFlag = false;
super();
addFrameScript(0, frame1);
_local1 = new Vorota(this, true);
n = GameSettings.HEROS_INDX.length;
selectBtn.addEventListener(MouseEvent.MOUSE_DOWN, selectPlayer);
nextBtn.addEventListener(MouseEvent.MOUSE_DOWN, nextPlayer);
prevBtn.addEventListener(MouseEvent.MOUSE_DOWN, prevPlayer);
backBtn.addEventListener(MouseEvent.MOUSE_DOWN, back);
selectBtn.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
nextBtn.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
prevBtn.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
backBtn.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
this.addEventListener(Event.ENTER_FRAME, panelUpdate);
if (isNaN(GameSettings.GAME_STORED_DATA.data.playerType)){
GameSettings.GAME_STORED_DATA.data.playerType = 0;
currIndx = 0;
} else {
currIndx = GameSettings.GAME_STORED_DATA.data.playerType;
};
this.gotoAndStop((currIndx + 1));
stage.quality = "BEST";
}
private function prevPlayer(_arg1:MouseEvent):void{
SoundFX.playSound(null, "s_click", 0, 0);
currIndx--;
if (currIndx < 0){
currIndx = (n - 1);
};
setCurrentSkin();
}
private function diactivateAllButtons():void{
selectBtn.removeEventListener(MouseEvent.MOUSE_DOWN, selectPlayer);
backBtn.removeEventListener(MouseEvent.MOUSE_DOWN, back);
nextBtn.removeEventListener(MouseEvent.MOUSE_DOWN, nextPlayer);
prevBtn.removeEventListener(MouseEvent.MOUSE_DOWN, prevPlayer);
this.removeEventListener(Event.ENTER_FRAME, panelUpdate);
}
function frame1(){
stop();
}
private function mouseOverFunc(_arg1:MouseEvent):void{
SoundFX.playSound(null, "s_over", 0, 0);
}
private function nextPlayer(_arg1:MouseEvent):void{
SoundFX.playSound(null, "s_click", 0, 0);
currIndx++;
if (currIndx >= n){
currIndx = 0;
};
setCurrentSkin();
}
private function setCurrentSkin(_arg1:uint=0):void{
nextFlag = true;
nextBtn.mouseEnabled = false;
prevBtn.mouseEnabled = false;
GameSettings.GAME_STORED_DATA.data.playerType = currIndx;
}
private function panelUpdate(_arg1:Event){
var _local2:Object;
if (nextFlag){
if (this["skin"].currentFrame == this["skin"].totalFrames){
nextBtn.mouseEnabled = true;
prevBtn.mouseEnabled = true;
this.gotoAndStop((currIndx + 1));
nextFlag = false;
} else {
this["skin"].play();
};
};
_local2 = GameSettings.HEROS[GameSettings.HEROS_INDX[currIndx]];
t1.indecatorLine.width = (t1.indecatorLine.width - ((t1.indecatorLine.width - (200 * (_local2.speed / 100))) / 5));
t2.indecatorLine.width = (t2.indecatorLine.width - ((t2.indecatorLine.width - (200 * (_local2.smart / 100))) / 5));
t3.indecatorLine.width = (t3.indecatorLine.width - ((t3.indecatorLine.width - (200 * (_local2.armor / 100))) / 5));
}
private function back(_arg1:MouseEvent):void{
var _local2:Vorota;
SoundFX.playSound(null, "s_click", 0, 0);
trace("BUCK");
diactivateAllButtons();
_local2 = new Vorota(this, false, MovieClip(this.parent), "instructions1");
}
private function selectPlayer(_arg1:MouseEvent):void{
var _local2:Vorota;
SoundFX.playSound(null, "s_click", 0, 0);
diactivateAllButtons();
GameSettings.GAME_STORED_DATA.data.playerType = currIndx;
GameSettings.setTypePlayer(currIndx);
switch (GameSettings.GAME_TYPE){
case "championship":
_local2 = new Vorota(this, false, MovieClip(this.parent), "trassaInfo");
break;
case "grandprix":
_local2 = new Vorota(this, false, MovieClip(this.parent), "trassaSelector");
break;
case "2in1":
break;
};
}
}
}//package classes.gameInterface
Section 8
//PlayerSelector2 (classes.gameInterface.PlayerSelector2)
package classes.gameInterface {
import flash.display.*;
import flash.events.*;
import classes.*;
import classes.media.*;
public class PlayerSelector2 extends MovieClip {
public var backBtn:SimpleButton;
private var nextFlag:Boolean;// = false
public var pers2:MovieClip;
public var prevBtn2:SimpleButton;
private var n:uint;
public var prevBtn1:SimpleButton;
public var pers1:MovieClip;
private var currIndx1:int;// = 0
private var currIndx2:int;// = 0
public var selectBtn:SimpleButton;
public var nextBtn1:SimpleButton;
public var nextBtn2:SimpleButton;
public function PlayerSelector2():void{
var _local1:Vorota;
currIndx1 = 0;
currIndx2 = 0;
nextFlag = false;
super();
addFrameScript(0, frame1);
_local1 = new Vorota(this, true);
n = GameSettings.HEROS_INDX.length;
selectBtn.addEventListener(MouseEvent.MOUSE_DOWN, selectPlayer);
nextBtn1.addEventListener(MouseEvent.MOUSE_DOWN, nextPlayer);
prevBtn1.addEventListener(MouseEvent.MOUSE_DOWN, prevPlayer);
nextBtn2.addEventListener(MouseEvent.MOUSE_DOWN, nextPlayer);
prevBtn2.addEventListener(MouseEvent.MOUSE_DOWN, prevPlayer);
backBtn.addEventListener(MouseEvent.MOUSE_DOWN, back);
selectBtn.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
nextBtn1.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
prevBtn1.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
nextBtn2.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
prevBtn2.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
backBtn.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
if (isNaN(GameSettings.GAME_STORED_DATA.data.playerType1)){
GameSettings.GAME_STORED_DATA.data.playerType1 = 0;
currIndx1 = Math.round((Math.random() * n));
} else {
currIndx1 = GameSettings.GAME_STORED_DATA.data.playerType1;
};
if (isNaN(GameSettings.GAME_STORED_DATA.data.playerType2)){
GameSettings.GAME_STORED_DATA.data.playerType2 = 0;
currIndx2 = Math.round((Math.random() * n));
} else {
currIndx2 = GameSettings.GAME_STORED_DATA.data.playerType2;
};
setCurrentSkin();
stage.quality = "BEST";
}
private function prevPlayer(_arg1:MouseEvent):void{
var _local2:Number;
SoundFX.playSound(null, "s_click", 0, 0);
_local2 = ((_arg1.target.name.indexOf("1"))!=-1) ? 1 : 2;
var _local3 = this;
var _local4 = ("currIndx" + _local2);
var _local5 = (_local3[_local4] - 1);
_local3[_local4] = _local5;
if (this[("currIndx" + _local2)] < 0){
this[("currIndx" + _local2)] = (n - 1);
};
setCurrentSkin();
}
private function selectPlayer(_arg1:MouseEvent):void{
var _local2:Vorota;
SoundFX.playSound(null, "s_click", 0, 0);
diactivateAllButtons();
switch (GameSettings.GAME_TYPE){
case "championship":
_local2 = new Vorota(this, false, MovieClip(this.parent), "trassaInfo");
break;
case "grandprix":
_local2 = new Vorota(this, false, MovieClip(this.parent), "trassaSelector");
break;
case "2in1":
_local2 = new Vorota(this, false, MovieClip(this.parent), "game");
break;
};
}
private function diactivateAllButtons():void{
selectBtn.removeEventListener(MouseEvent.MOUSE_DOWN, selectPlayer);
backBtn.removeEventListener(MouseEvent.MOUSE_DOWN, back);
}
function frame1(){
stop();
}
private function mouseOverFunc(_arg1:MouseEvent):void{
SoundFX.playSound(null, "s_over", 0, 0);
}
private function nextPlayer(_arg1:MouseEvent):void{
var _local2:Number;
SoundFX.playSound(null, "s_click", 0, 0);
_local2 = ((_arg1.target.name.indexOf("1"))!=-1) ? 1 : 2;
var _local3 = this;
var _local4 = ("currIndx" + _local2);
var _local5 = (_local3[_local4] + 1);
_local3[_local4] = _local5;
if (this[("currIndx" + _local2)] >= n){
this[("currIndx" + _local2)] = 0;
};
setCurrentSkin();
}
private function setCurrentSkin():void{
GameSettings.GAME_STORED_DATA.data.playerType1 = currIndx1;
GameSettings.GAME_STORED_DATA.data.playerType2 = currIndx2;
GameSettings.setTypePlayer1(currIndx1);
GameSettings.setTypePlayer2(currIndx2);
pers1.gotoAndStop((currIndx1 + 1));
pers2.gotoAndStop((currIndx2 + 1));
}
private function back(_arg1:MouseEvent):void{
var _local2:Vorota;
trace("BACK");
diactivateAllButtons();
_local2 = new Vorota(this, false, MovieClip(this.parent), "instructions1");
}
}
}//package classes.gameInterface
Section 9
//PlayerUpgrader (classes.gameInterface.PlayerUpgrader)
package classes.gameInterface {
import flash.display.*;
import flash.events.*;
import classes.*;
import classes.media.*;
import flash.text.*;
public class PlayerUpgrader extends MovieClip {
public var plus2:SimpleButton;
private var nextFlag:Boolean;// = false
public var t2:MovieClip;
public var t3:MovieClip;
public var t1:MovieClip;
private var amountPoinst:Number;
private var n:uint;
public var iconValue:MovieClip;
public var skin:MovieClip;
private var currentPoinstValue:Number;
public var minus1:SimpleButton;
public var minus2:SimpleButton;
public var minus3:SimpleButton;
public var selectBtn:SimpleButton;
public var scoreTxt:TextField;
public var plus1:SimpleButton;
public var plus3:SimpleButton;
private var currIndx:int;// = 0
private var currentUpgrateValue:Object;
public function PlayerUpgrader():void{
var _local1:Vorota;
currIndx = 0;
nextFlag = false;
super();
addFrameScript(0, frame1);
Music.playMusic("menu", "m_menu");
_local1 = new Vorota(this, true);
n = GameSettings.HEROS_INDX.length;
selectBtn.addEventListener(MouseEvent.CLICK, continueGame);
plus1.addEventListener(MouseEvent.CLICK, plusAction);
minus1.addEventListener(MouseEvent.CLICK, minusAction);
plus2.addEventListener(MouseEvent.CLICK, plusAction);
minus2.addEventListener(MouseEvent.CLICK, minusAction);
plus3.addEventListener(MouseEvent.CLICK, plusAction);
minus3.addEventListener(MouseEvent.CLICK, minusAction);
selectBtn.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
plus1.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
plus2.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
plus3.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
minus1.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
minus2.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
minus3.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
if (isNaN(GameSettings.GAME_STORED_DATA.data.playerType)){
GameSettings.GAME_STORED_DATA.data.playerType = 0;
currIndx = 0;
} else {
currIndx = GameSettings.GAME_STORED_DATA.data.playerType;
};
this.gotoAndStop((currIndx + 1));
stage.quality = "BEST";
amountPoinst = 15;
currentPoinstValue = 15;
currentUpgrateValue = new Object();
currentUpgrateValue.speed = GameSettings.CURRENT_PLAYER_UPGRATE.speed;
currentUpgrateValue.smart = GameSettings.CURRENT_PLAYER_UPGRATE.smart;
currentUpgrateValue.armor = GameSettings.CURRENT_PLAYER_UPGRATE.armor;
this.addEventListener(Event.ENTER_FRAME, panelUpdate);
scoreTxt.text = String(GameSettings.SCORE);
}
private function diactivateAllButtons():void{
plus1.removeEventListener(MouseEvent.CLICK, plusAction);
minus1.removeEventListener(MouseEvent.CLICK, minusAction);
plus2.removeEventListener(MouseEvent.CLICK, plusAction);
minus2.removeEventListener(MouseEvent.CLICK, minusAction);
plus3.removeEventListener(MouseEvent.CLICK, plusAction);
minus3.removeEventListener(MouseEvent.CLICK, minusAction);
this.removeEventListener(Event.ENTER_FRAME, panelUpdate);
}
private function continueGame(_arg1:MouseEvent):void{
var _local2:Vorota;
SoundFX.playSound(null, "s_click", 0, 0);
diactivateAllButtons();
GameSettings.GAME_STORED_DATA.data.playerType = currIndx;
GameSettings.setTypePlayer(currIndx);
_local2 = new Vorota(this, false, MovieClip(this.parent), "trassaInfo");
}
function frame1(){
stop();
}
private function plusAction(_arg1:MouseEvent):void{
var _local2:Object;
var _local3:Object;
var _local4:Number;
var _local5:Number;
var _local6:Number;
SoundFX.playSound(null, "s_click", 0, 0);
if (currentPoinstValue > 0){
_local2 = GameSettings.HEROS[GameSettings.HEROS_INDX[currIndx]];
_local3 = GameSettings.CURRENT_PLAYER_UPGRATE;
switch (_arg1.target.name){
case "plus1":
_local4 = (_local3.speed + _local2.speed);
if (_local4 < 100){
_local3.speed++;
currentPoinstValue--;
};
break;
case "plus2":
_local5 = (_local3.smart + _local2.smart);
if (_local5 < 100){
_local3.smart++;
currentPoinstValue--;
};
break;
case "plus3":
_local6 = (_local3.armor + _local2.armor);
if (_local6 < 100){
_local3.armor++;
currentPoinstValue--;
};
break;
};
GameSettings.CURRENT_PLAYER_UPGRATE = _local3;
};
}
private function minusAction(_arg1:MouseEvent):void{
var _local2:Object;
SoundFX.playSound(null, "s_click", 0, 0);
if (currentPoinstValue < amountPoinst){
_local2 = GameSettings.CURRENT_PLAYER_UPGRATE;
switch (_arg1.target.name){
case "minus1":
trace(((_local2 + " ") + _local2.speed));
if (_local2.speed > currentUpgrateValue.speed){
_local2.speed--;
currentPoinstValue++;
};
break;
case "minus2":
if (_local2.smart > currentUpgrateValue.smart){
_local2.smart--;
currentPoinstValue++;
};
break;
case "minus3":
if (_local2.armor > currentUpgrateValue.armor){
_local2.armor--;
currentPoinstValue++;
};
break;
};
GameSettings.CURRENT_PLAYER_UPGRATE = _local2;
};
}
private function mouseOverFunc(_arg1:MouseEvent):void{
SoundFX.playSound(null, "s_over", 0, 0);
}
private function panelUpdate(_arg1:Event){
var _local2:Object;
var _local3:Object;
_local2 = GameSettings.HEROS[GameSettings.HEROS_INDX[currIndx]];
_local3 = GameSettings.CURRENT_PLAYER_UPGRATE;
t1.indecatorLine.width = (t1.indecatorLine.width - ((t1.indecatorLine.width - (200 * ((Number(_local2.speed) + Number(_local3.speed)) / 100))) / 5));
t2.indecatorLine.width = (t2.indecatorLine.width - ((t2.indecatorLine.width - (200 * ((Number(_local2.smart) + Number(_local3.smart)) / 100))) / 5));
t3.indecatorLine.width = (t3.indecatorLine.width - ((t3.indecatorLine.width - (200 * ((Number(_local2.armor) + Number(_local3.armor)) / 100))) / 5));
t1.indecatorLine2.width = (t1.indecatorLine2.width - ((t1.indecatorLine2.width - (200 * ((Number(_local2.speed) + Number((_local3.speed + currentPoinstValue))) / 100))) / 5));
t2.indecatorLine2.width = (t2.indecatorLine2.width - ((t2.indecatorLine2.width - (200 * ((Number(_local2.smart) + Number((_local3.smart + currentPoinstValue))) / 100))) / 5));
t3.indecatorLine2.width = (t3.indecatorLine2.width - ((t3.indecatorLine2.width - (200 * ((Number(_local2.armor) + Number((_local3.armor + currentPoinstValue))) / 100))) / 5));
if (currentPoinstValue == 0){
iconValue.icon_.gotoAndStop((iconValue.icon_.currentFrame + 1));
} else {
iconValue.icon_.gotoAndStop((iconValue.icon_.currentFrame - 1));
};
}
}
}//package classes.gameInterface
Section 10
//Speeder (classes.gameInterface.Speeder)
package classes.gameInterface {
import flash.display.*;
public class Speeder extends MovieClip {
private var n:uint;// = 15
public function Speeder():void{
var _local1:*;
var _local2:fooSpeeder;
var _local3:Number;
n = 15;
super();
_local1 = 0;
while (_local1 < n) {
_local2 = new fooSpeeder();
_local3 = (1 + (0.5 * Math.random()));
_local2.scaleX = _local3;
_local2.y = (100 * Math.random());
_local2.gotoAndPlay(Math.round((8 * Math.random())));
this.addChild(_local2);
_local2.alpha = (0.1 + (0.3 * Math.random()));
_local1++;
};
}
}
}//package classes.gameInterface
Section 11
//SubmitArea (classes.gameInterface.SubmitArea)
package classes.gameInterface {
import flash.display.*;
import flash.events.*;
import classes.*;
import classes.crypto.*;
import classes.utils.*;
import flash.text.*;
import flash.system.*;
public class SubmitArea extends MovieClip {
public var infoText:TextField;
private var score;
public var secret:MD5;
private var scoreLibrary:ClassLoader;
public function SubmitArea():void{
Security.allowDomain("gamezhero.com", "files.gamezhero.com", "eufiles.gamezhero.com", "*.gamezhero.com");
secret = new MD5();
scoreLibrary = new ClassLoader();
scoreLibrary.addEventListener(ClassLoader.LOAD_ERROR, loadErrorHandler);
scoreLibrary.addEventListener(ClassLoader.CLASS_LOADED, classLoadedHandler);
scoreLibrary.load("http://files.gamezhero.com/online/uforacing/score/score.swf");
infoText.text = "loading score...";
}
private function loadErrorHandler(_arg1:Event):void{
trace("FUCK");
infoText.text = "error loading";
}
private function diactivateAllEvents():void{
scoreLibrary.removeEventListener(ClassLoader.LOAD_ERROR, loadErrorHandler);
scoreLibrary.removeEventListener(ClassLoader.CLASS_LOADED, classLoadedHandler);
}
public function continueAction(_arg1:String):void{
GameSettings.GAME_STORED_DATA.data.playerName = _arg1;
MovieClip(parent).mainMenuAction();
}
private function classLoadedHandler(_arg1:Event):void{
var _local2:Class;
trace("GREAT");
_local2 = scoreLibrary.getClass("Score");
trace(_local2);
if (GameSettings.GAME_STORED_DATA.data.playerName == undefined){
GameSettings.GAME_STORED_DATA.data.playerName = "";
};
score = new _local2(this, GameSettings.GAME_STORED_DATA.data.playerName, GameSettings.SCORE);
this.addChild(score);
}
}
}//package classes.gameInterface
Section 12
//TrackSelector (classes.gameInterface.TrackSelector)
package classes.gameInterface {
import flash.display.*;
import flash.events.*;
import classes.*;
import classes.media.*;
import flash.net.*;
public class TrackSelector extends MovieClip {
public var backBtn:SimpleButton;
public var lockedTxt:MovieClip;
public var continueBtn:SimpleButton;
public var t2:MovieClip;
public var t3:MovieClip;
public var t1:MovieClip;
public var t5:MovieClip;
public var scr2:MovieClip;
public var track:MovieClip;
public var scr3:MovieClip;
public var t4:MovieClip;
private var lockFlag:Boolean;// = true
public var scr1:MovieClip;
public var t6:MovieClip;
public var bg5:MovieClip;
public var bg6:MovieClip;
public var bg3:MovieClip;
public var bg4:MovieClip;
public var bg1:MovieClip;
public var bg2:MovieClip;
public var backText:MovieClip;
public function TrackSelector():void{
var _local1:Vorota;
lockFlag = true;
super();
_local1 = new Vorota(this, true);
continueBtn.addEventListener(MouseEvent.MOUSE_DOWN, continueAction);
backBtn.addEventListener(MouseEvent.MOUSE_DOWN, back);
continueBtn.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
backBtn.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
if (isNaN(GameSettings.GAME_STORED_DATA.data.currentLevel)){
GameSettings.GAME_STORED_DATA.data.currentLevel = 0;
};
GameSettings.CURRENT_LEVEL = GameSettings.GAME_STORED_DATA.data.currentLevel;
bg1.addEventListener(MouseEvent.MOUSE_DOWN, selectTrackAction);
bg1.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
bg1.indx = 0;
bg2.addEventListener(MouseEvent.MOUSE_DOWN, selectTrackAction);
bg2.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
bg2.indx = 1;
bg3.addEventListener(MouseEvent.MOUSE_DOWN, selectTrackAction);
bg3.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
bg3.indx = 2;
bg4.addEventListener(MouseEvent.MOUSE_DOWN, selectTrackAction);
bg4.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
bg4.indx = 3;
bg5.addEventListener(MouseEvent.MOUSE_DOWN, selectTrackAction);
bg5.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
bg5.indx = 4;
bg6.addEventListener(MouseEvent.MOUSE_DOWN, selectTrackAction);
bg6.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
bg6.indx = 5;
backText.mouseEnabled = false;
bg1.buttonMode = true;
bg1.useHandCursor = true;
bg2.buttonMode = true;
bg2.useHandCursor = true;
bg3.buttonMode = true;
bg3.useHandCursor = true;
bg4.buttonMode = true;
bg4.useHandCursor = true;
bg5.buttonMode = true;
bg5.useHandCursor = true;
bg6.buttonMode = true;
bg6.useHandCursor = true;
t1.mouseEnabled = false;
t2.mouseEnabled = false;
t3.mouseEnabled = false;
t4.mouseEnabled = false;
t5.mouseEnabled = false;
t6.mouseEnabled = false;
iniScreenTrack();
if (String(stage.loaderInfo.url).indexOf("files.gamezhero.com/online/uforacing/uforacing.swf") != -1){
lockFlag = false;
};
}
private function mouseOverFunc(_arg1:MouseEvent):void{
SoundFX.playSound(null, "s_over", 0, 0);
}
private function continueAction(_arg1:MouseEvent):void{
var _local2:Vorota;
var _local3:String;
var _local4:URLRequest;
SoundFX.playSound(null, "s_click", 0, 0);
diactivateAllButtons();
if ((((GameSettings.CURRENT_LEVEL >= 3)) && (lockFlag))){
_local3 = "http://www.gamezhero.com/online-games/sports-games/uforacing-freeonlinegames.html?utm_campaign=ufo_racing&utm_source=ufo_racing&utm_medium=play_lock_level";
_local4 = new URLRequest(_local3);
navigateToURL(_local4, "_self");
_local2 = new Vorota(this, false, MovieClip(this.parent), "menu");
} else {
_local2 = new Vorota(this, false, MovieClip(this.parent), "game");
};
}
private function iniScreenTrack():void{
t1.stop();
t2.stop();
t3.stop();
t4.stop();
t5.stop();
t6.stop();
bg1.gotoAndStop(1);
bg2.gotoAndStop(1);
bg3.gotoAndStop(1);
bg4.gotoAndStop(1);
bg5.gotoAndStop(1);
bg6.gotoAndStop(1);
this[("bg" + (GameSettings.CURRENT_LEVEL + 1))].gotoAndStop(2);
if ((((GameSettings.CURRENT_LEVEL >= 3)) && (lockFlag))){
lockedTxt.visible = true;
} else {
lockedTxt.visible = false;
};
scr1.gotoAndStop(2);
scr2.gotoAndStop(2);
scr3.gotoAndStop(2);
switch ((GameSettings.CURRENT_LEVEL + 1)){
case 1:
scr1.gotoAndStop(1);
break;
case 2:
scr2.gotoAndStop(1);
break;
case 3:
scr3.gotoAndStop(1);
break;
case 4:
scr1.gotoAndStop(1);
break;
case 5:
scr2.gotoAndStop(1);
break;
case 6:
scr3.gotoAndStop(1);
break;
};
track.gotoAndStop((GameSettings.CURRENT_LEVEL + 1));
}
private function selectTrackAction(_arg1:MouseEvent):void{
SoundFX.playSound(null, "s_click", 0, 0);
trace((">>> " + GameSettings.CURRENT_LEVEL));
GameSettings.CURRENT_LEVEL = _arg1.target.indx;
GameSettings.GAME_STORED_DATA.data.currentLevel = GameSettings.CURRENT_LEVEL;
iniScreenTrack();
}
private function diactivateAllButtons():void{
continueBtn.removeEventListener(MouseEvent.MOUSE_DOWN, continueAction);
backBtn.removeEventListener(MouseEvent.MOUSE_DOWN, back);
}
private function back(_arg1:MouseEvent):void{
var _local2:Vorota;
SoundFX.playSound(null, "s_click", 0, 0);
trace("BACK");
diactivateAllButtons();
_local2 = new Vorota(this, false, MovieClip(this.parent), "selector1");
}
}
}//package classes.gameInterface
Section 13
//Win (classes.gameInterface.Win)
package classes.gameInterface {
import flash.display.*;
import flash.events.*;
import classes.*;
import classes.media.*;
import flash.net.*;
public class Win extends MovieClip {
public var kubok:MovieClip;
public var mainMenuBtn:SimpleButton;
public var playBtn:SimpleButton;
public var titlePanel:MovieClip;
private var currIndx:uint;
public var pers:MovieClip;
public function Win():void{
var _local1:Vorota;
var _local2:SubmitArea;
super();
addFrameScript(0, frame1);
Music.playMusic("menu", "m_menu");
stage.quality = "BEST";
_local1 = new Vorota(this, true);
if (isNaN(GameSettings.GAME_STORED_DATA.data.playerType)){
GameSettings.GAME_STORED_DATA.data.playerType = 0;
currIndx = 0;
} else {
currIndx = GameSettings.GAME_STORED_DATA.data.playerType;
};
pers.gotoAndStop((currIndx + 1));
mainMenuBtn.addEventListener(MouseEvent.MOUSE_DOWN, mainMenuAction);
mainMenuBtn.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
playBtn.addEventListener(MouseEvent.MOUSE_DOWN, playMoreAction);
playBtn.addEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
if (MovieClip(parent).currentLabel == "win"){
titlePanel.gotoAndStop(1);
} else {
titlePanel.gotoAndStop(2);
};
if (GameSettings.GAME_TYPE == "grandprix"){
pers.visible = true;
kubok.visible = false;
} else {
pers.visible = false;
if (MovieClip(parent).currentLabel == "win"){
kubok.visible = true;
} else {
kubok.visible = false;
};
_local2 = new SubmitArea();
_local2.name = "scoreContainer";
_local2.x = 127;
_local2.y = 85;
this.addChild(_local2);
};
}
public function mainMenuAction(_arg1:MouseEvent=null):void{
var _local2:Vorota;
diactivateAllButtons();
_local2 = new Vorota(this, false, MovieClip(this.parent), "menu");
}
private function diactivateAllButtons():void{
mainMenuBtn.removeEventListener(MouseEvent.MOUSE_DOWN, mainMenuAction);
mainMenuBtn.removeEventListener(MouseEvent.MOUSE_OVER, mouseOverFunc);
}
public function playMoreAction(_arg1:MouseEvent=null):void{
var _local2:String;
var _local3:URLRequest;
_local2 = "http://www.gamezhero.com/online-games/sports-games/uforacing-freeonlinegames.html?utm_campaign=ufo_racing&utm_source=ufo_racing&utm_medium=more_games";
_local3 = new URLRequest(_local2);
navigateToURL(_local3, "_blank");
}
function frame1(){
stop();
}
private function mouseOverFunc(_arg1:MouseEvent):void{
}
}
}//package classes.gameInterface
Section 14
//FlashChecker (classes.gamezhero.FlashChecker)
package classes.gamezhero {
import flash.display.*;
import flash.events.*;
import flash.system.*;
public class FlashChecker extends MovieClip {
public var b:SimpleButton;
private var PAR:MovieClip;
public var VERSION:uint;
public function FlashChecker(_arg1:MovieClip):void{
addFrameScript(0, frame1, 1, frame2);
PAR = _arg1;
_arg1.addChild(this);
stage.addEventListener(Event.RESIZE, resizeStage);
this.addEventListener(Event.REMOVED_FROM_STAGE, removedFromStage);
resizeStage(null);
}
public function destroy():void{
PAR.removeChild(this);
}
public function removedFromStage(_arg1:Event):void{
stage.removeEventListener(Event.RESIZE, resizeStage);
}
function frame1(){
stop();
}
function frame2(){
stop();
}
public function resizeStage(_arg1:Event):void{
trace(">>> resizeStage FlashChecker");
this.x = Math.round(((stage.stageWidth / 2) - (this.width / 2)));
this.y = Math.round(((stage.stageHeight / 2) - (this.height / 2)));
}
public function checkFlashVersion(_arg1:Number):Boolean{
var _local2:Boolean;
var _local3:String;
var _local4:String;
_local2 = true;
_local3 = Capabilities.version;
_local4 = _local3.substring(_local3.indexOf(" "), _local3.indexOf(","));
trace(("Flash Player Version:" + _local4));
if (Number(_local4) >= _arg1){
_local2 = true;
} else {
_local2 = false;
};
return (_local2);
}
}
}//package classes.gamezhero
Section 15
//GamePreloader (classes.gamezhero.GamePreloader)
package classes.gamezhero {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.ui.*;
public class GamePreloader extends MovieClip {
public var bg:MovieClip;
private var completeFlag:Boolean;// = false
private var GOTO:uint;
public var intro:MovieClip;
private var PAR:MovieClip;
private var GAME_NAME:String;
public function GamePreloader(_arg1:MovieClip, _arg2:uint, _arg3:String="gamezhero"):void{
var _local4:ContextMenu;
var _local5:ContextMenuBuiltInItems;
var _local6:ContextMenuItem;
completeFlag = false;
super();
PAR = _arg1;
GOTO = _arg2;
GAME_NAME = _arg3;
PAR.addChild(this);
stage.addEventListener(Event.RESIZE, resizeStage);
this.addEventListener(Event.ENTER_FRAME, iniPreloader);
resizeStage(null);
_local4 = new ContextMenu();
_local4.hideBuiltInItems();
_local5 = _local4.builtInItems;
_local5.quality = true;
_local6 = new ContextMenuItem("More Free Games - gamezhero.com");
_local6.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, gotoGamezhero);
_local4.customItems.push(_local6);
PAR.loaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
PAR.loaderInfo.addEventListener(Event.COMPLETE, comp);
this.parent.contextMenu = _local4;
this.addEventListener(MouseEvent.MOUSE_DOWN, gotoGamezhero2);
this.useHandCursor = true;
this.buttonMode = true;
}
public function comp(_arg1:Event=null):void{
trace("COMP");
completeFlag = true;
}
public function action(_arg1:Event=null):void{
this.removeEventListener(Event.ENTER_FRAME, iniPreloader);
stage.removeEventListener(Event.RESIZE, resizeStage);
PAR.loaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
PAR.loaderInfo.removeEventListener(Event.COMPLETE, comp);
PAR.nextStep();
PAR.removeChild(this);
}
public function ioErrorHandler(_arg1:Event):void{
trace("ERROR LOADING");
}
public function gotoGamezhero2(_arg1:MouseEvent=null):void{
var _local2:URLRequest;
_local2 = new URLRequest((((("http://www.gamezhero.com/?utm_campaign=" + GAME_NAME) + "&utm_source=") + GAME_NAME) + "&utm_medium=preloader"));
navigateToURL(_local2, "_blank");
}
public function gotoGamezhero(_arg1:ContextMenuEvent=null):void{
var _local2:URLRequest;
_local2 = new URLRequest((((("http://www.gamezhero.com/?utm_campaign=" + GAME_NAME) + "&utm_source=") + GAME_NAME) + "&utm_medium=context_menu"));
navigateToURL(_local2, "_blank");
}
public function resizeStage(_arg1:Event):void{
trace("UPDATE RESIZE");
this["bg"].width = Math.round(stage.stageWidth);
this["bg"].height = Math.round(stage.stageHeight);
this["intro"].x = Math.round((stage.stageWidth / 2));
this["intro"].y = Math.round((stage.stageHeight / 2));
}
public function iniPreloader(_arg1:Event):void{
var _local2:Number;
trace("iniPreloader");
_local2 = (-128 + (132 * (PAR.loaderInfo.bytesLoaded / PAR.loaderInfo.bytesTotal)));
this["intro"]["pr"]["begun"].x = (this["intro"]["pr"]["begun"].x - ((this["intro"]["pr"]["begun"].x - _local2) / 5));
if (PAR.loaderInfo.bytesLoaded != PAR.loaderInfo.bytesTotal){
if (this["intro"].currentLabel == "stopFrame"){
this["intro"].stop();
trace("STOP");
};
} else {
if (this["intro"].currentLabel == "stopFrame"){
this["intro"].play();
trace("PLAY");
};
if (this["intro"].currentFrame == this["intro"].totalFrames){
this["intro"].stop();
action();
};
};
}
}
}//package classes.gamezhero
Section 16
//Degree (classes.math.Degree)
package classes.math {
public class Degree {
public static function tanD(_arg1:Number):Number{
return (Math.tan((_arg1 * (Math.PI / 180))));
}
public static function asinD(_arg1:Number):Number{
return ((Math.asin(_arg1) * (180 / Math.PI)));
}
public static function atan2D(_arg1:Number, _arg2:Number):Number{
return ((Math.atan2(_arg1, _arg2) * (180 / Math.PI)));
}
public static function atanD(_arg1:Number):Number{
return ((Math.atan(_arg1) * (180 / Math.PI)));
}
public static function sinD(_arg1:Number):Number{
return (Math.sin((_arg1 * (Math.PI / 180))));
}
public static function cosD(_arg1:Number):Number{
return (Math.cos((_arg1 * (Math.PI / 180))));
}
public static function acosD(_arg1:Number):Number{
return ((Math.acos(_arg1) * (180 / Math.PI)));
}
}
}//package classes.math
Section 17
//Polygon (classes.math.Polygon)
package classes.math {
import flash.display.*;
public class Polygon {
public var vertex:Array;
public var goal:MovieClip;
public var pos:Vector;
public var maxRadius:Number;
public var mc:MovieClip;
public function Polygon(_arg1:MovieClip, _arg2:String, _arg3:Vector, _arg4:Array, _arg5:Number):void{
pos = new Vector(0, 0);
super();
goal = _arg1;
mc = new MovieClip();
goal.addChild(mc);
mc.name = _arg2;
mc.x = _arg3.x;
mc.y = _arg3.y;
vertex = [];
if (_arg4){
vertex = _arg4;
};
pos = _arg3;
drawPoly(0);
maxRadiusF();
if (_arg5){
rotatePoly(_arg5);
};
}
public function rotatePoly(_arg1:Number){
var _local2:Number;
_local2 = 0;
while (_local2 < vertex.length) {
vertex[_local2].rotate(_arg1);
_local2++;
};
}
private function maxRadiusF(){
var _local1:*;
var _local2:*;
maxRadius = Number.MIN_VALUE;
for (_local1 in vertex) {
_local2 = vertex[_local1].getLength();
if (maxRadius < _local2){
maxRadius = _local2;
};
};
maxRadius = Math.round(maxRadius);
}
public function drawPoly(_arg1:Number){
var _local2:*;
mc.x = 0;
mc.y = 0;
mc.graphics.clear();
mc.graphics.lineStyle(1, 0);
if (_arg1 == 0){
mc.graphics.beginFill(0xFF00, 30);
} else {
mc.graphics.beginFill(0xFF0000, 30);
};
mc.graphics.moveTo(vertex[0].x, vertex[0].y);
_local2 = 0;
while (_local2 < vertex.length) {
mc.graphics.lineTo(vertex[_local2].x, vertex[_local2].y);
_local2++;
};
mc.graphics.lineTo(vertex[0].x, vertex[0].y);
mc.graphics.endFill();
}
}
}//package classes.math
Section 18
//Vector (classes.math.Vector)
package classes.math {
public class Vector {
private var $x:Number;
private var $y:Number;
public function Vector(_arg1:Number, _arg2:Number){
this.initialize(_arg1, _arg2);
}
public function negate():void{
this.x = -(this.x);
this.y = -(this.y);
}
public function rotateNew(_arg1:Number):Vector{
var _local2:Vector;
_local2 = new Vector(this.x, this.y);
_local2.rotate(_arg1);
return (_local2);
}
public function set angle(_arg1:Number):void{
this.setAngle(_arg1);
}
public function dot(_arg1:Vector):Number{
return (((this.x * _arg1.x) + (this.y * _arg1.y)));
}
public function scale(_arg1:Number):void{
this.x = (this.x * _arg1);
this.y = (this.y * _arg1);
}
public function isNormalTo(_arg1:Vector):Boolean{
return (this.isPerpTo(_arg1));
}
public function reset(_arg1:Number, _arg2:Number):void{
this.initialize(_arg1, _arg2);
}
private function initialize(_arg1:Number, _arg2:Number):void{
this.x = _arg1;
this.y = _arg2;
}
public function setAngle(_arg1:Number):void{
var _local2:Number;
_local2 = this.getLength();
this.x = (_local2 * Degree.cosD(_arg1));
this.y = (_local2 * Degree.sinD(_arg1));
}
public function set length(_arg1:Number):void{
this.setLength(_arg1);
}
public function minusNew(_arg1:Vector):Vector{
return (new Vector((this.x - _arg1.x), (this.y - _arg1.y)));
}
public function isPerpTo(_arg1:Vector):Boolean{
return ((this.dot(_arg1) == 0));
}
public function plus(_arg1:Vector):void{
this.x = (this.x + _arg1.x);
this.y = (this.y + _arg1.y);
}
public function rotate(_arg1:Number):void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
_local2 = Degree.cosD(_arg1);
_local3 = Degree.sinD(_arg1);
_local4 = ((this.x * _local2) - (this.y * _local3));
_local5 = ((this.x * _local3) + (this.y * _local2));
this.x = _local4;
this.y = _local5;
}
public function getLength():Number{
return (Math.sqrt(((this.x * this.x) + (this.y * this.y))));
}
public function getAngle():Number{
return (Degree.atan2D(this.y, this.x));
}
public function get angle():Number{
return (this.getAngle());
}
public function getNormal():Vector{
return (new Vector(-(this.y), this.x));
}
public function plusNew(_arg1:Vector):Vector{
return (new Vector((this.x + _arg1.x), (this.y + _arg1.y)));
}
public function getClone():Vector{
return (new Vector(this.x, this.y));
}
public function setLength(_arg1:Number):void{
var _local2:Number;
_local2 = this.getLength();
if (_local2){
this.scale((_arg1 / _local2));
} else {
this.x = _arg1;
};
}
public function toString():String{
var _local1:Number;
var _local2:Number;
_local1 = (Math.round((this.x * 1000)) / 1000);
_local2 = (Math.round((this.y * 1000)) / 1000);
return ((((("[" + _local1) + ", ") + _local2) + "]"));
}
public function get length():Number{
return (this.getLength());
}
public function minus(_arg1:Vector):void{
this.x = (this.x - _arg1.x);
this.y = (this.y - _arg1.y);
}
public function set y(_arg1:Number):void{
this.$y = _arg1;
}
public function angleBetween(_arg1:Vector):Number{
var _local2:Number;
var _local3:Number;
_local2 = this.dot(_arg1);
_local3 = (_local2 / (this.getLength() * _arg1.getLength()));
return (Degree.acosD(_local3));
}
public function scaleNew(_arg1:Number):Vector{
return (new Vector((this.x * _arg1), (this.y * _arg1)));
}
public function set x(_arg1:Number):void{
this.$x = _arg1;
}
public function get x():Number{
return (this.$x);
}
public function get y():Number{
return (this.$y);
}
public function negateNew():Vector{
return (new Vector(-(this.x), -(this.y)));
}
public function equals(_arg1:Vector):Boolean{
return ((((this.x == _arg1.x)) && ((this.y == _arg1.y))));
}
}
}//package classes.math
Section 19
//Music (classes.media.Music)
package classes.media {
import flash.media.*;
import flash.events.*;
import flash.utils.*;
public class Music {
private static var activeMusic:String = "";
public static var timerSub = new Timer(100, 0);
private static var musicArchByID:Object = new Object();
public static var musicInArr:Array = new Array();
public static var musicOutArr:Array = new Array();
private static var musicArch:Dictionary = new Dictionary();
public static var musicVolume:Number = 0.5;
private static function completeHandler(_arg1:Event):void{
var _local2:*;
var _local3:String;
var _local4:Sound;
_local2 = _arg1.target;
if (musicArch[_local2].loopFlag == "infinity"){
_local3 = musicArch[_local2].id;
_local4 = musicArch[_local2].sound;
iniMusic(_local3, _local4);
};
delete musicArch[_local2];
}
public static function iniMusic(_arg1:String, _arg2:Sound):void{
var _local3:Number;
var _local4:SoundChannel;
var _local5:SoundTransform;
_local3 = 1000;
_local4 = _arg2.play(0, _local3);
_local5 = _local4.soundTransform;
_local5.pan = 0;
_local5.volume = musicVolume;
_local4.soundTransform = _local5;
_local4.addEventListener(Event.SOUND_COMPLETE, completeHandler);
musicArch[_local4] = {id:_arg1, sound:_arg2};
musicArchByID[_arg1] = _local4;
}
public static function setMusicVolume(_arg1:Number):void{
var _local2:*;
var _local3:SoundTransform;
musicVolume = _arg1;
for (_local2 in musicArch) {
_local3 = _local2.soundTransform;
_local3.volume = musicVolume;
_local2.soundTransform = _local3;
};
}
public static function stopMusics():void{
var _local1:*;
var _local2:*;
for (_local1 in musicArchByID) {
musicOut(_local1);
};
for (_local2 in musicArch) {
_local2.stop();
};
activeMusic = "";
}
public static function musicOut(_arg1:String):void{
if (musicArchByID[_arg1] != undefined){
musicOutArr.push(_arg1);
timerSub.addEventListener("timer", updateMusicValue);
timerSub.start();
};
}
public static function playMusic(_arg1:String, _arg2:String){
var soundFactory:Sound;
var sndClass:Class;
var id = _arg1;
var sName = _arg2;
if (activeMusic != id){
musicOut(activeMusic);
activeMusic = id;
try {
sndClass = (getDefinitionByName(sName) as Class);
} catch(e:ReferenceError) {
return;
};
soundFactory = (new (sndClass) as Sound);
iniMusic(id, soundFactory);
musicIn(activeMusic);
};
}
private static function updateMusicValue(_arg1:TimerEvent=null):void{
var _local2:Number;
var _local3:SoundTransform;
var _local4:SoundChannel;
_local2 = 0;
while (_local2 < musicInArr.length) {
_local4 = musicArchByID[musicInArr[_local2]];
_local3 = _local4.soundTransform;
_local3.volume = (_local3.volume + 0.1);
_local3.volume = ((_local3.volume)>=musicVolume) ? musicVolume : _local3.volume;
_local4.soundTransform = _local3;
if (_local3.volume == musicVolume){
musicInArr.splice(_local2, 1);
_local2--;
};
_local2++;
};
_local2 = 0;
while (_local2 < musicOutArr.length) {
_local4 = musicArchByID[musicOutArr[_local2]];
_local3 = _local4.soundTransform;
_local3.volume = (_local3.volume - 0.1);
_local3.volume = ((_local3.volume)<=0) ? 0 : _local3.volume;
_local4.soundTransform = _local3;
if (_local3.volume == 0){
_local4.stop();
musicOutArr.splice(_local2, 1);
_local2--;
};
_local2++;
};
if ((((musicInArr.length == 0)) && ((musicOutArr.length == 0)))){
timerSub.removeEventListener("timer", updateMusicValue);
timerSub.stop();
};
}
public static function musicIn(_arg1:String):void{
if (musicArchByID[_arg1] != undefined){
musicInArr.push(_arg1);
timerSub.addEventListener("timer", updateMusicValue);
timerSub.start();
};
}
}
}//package classes.media
Section 20
//SoundFX (classes.media.SoundFX)
package classes.media {
import flash.media.*;
import flash.events.*;
import flash.utils.*;
public class SoundFX {
private static var soundArch:Dictionary = new Dictionary();
public static var soundVolume:Number = 0.5;
private static var soundArchByID:Object = new Object();
public static function stopSounds():void{
var _local1:*;
for (_local1 in soundArch) {
_local1.stop();
delete soundArch[_local1];
};
soundArchByID = new Object();
soundArch = new Dictionary();
}
public static function setSoundVolume(_arg1:Number):void{
var _local2:*;
var _local3:SoundTransform;
soundVolume = _arg1;
for (_local2 in soundArch) {
_local3 = _local2.soundTransform;
_local3.volume = (soundVolume * soundArch[_local2].kof);
_local2.soundTransform = _local3;
};
}
public static function iniSound(_arg1, _arg2:Sound, _arg3:Number, _arg4, _arg5:Number):void{
var _local6:Number;
var _local7:SoundChannel;
var _local8:SoundTransform;
_local6 = ((_arg4)=="infinity") ? 1000 : _arg4;
_local7 = _arg2.play(0, _local6);
_local8 = _local7.soundTransform;
_local8.pan = _arg3;
_local8.volume = (soundVolume * _arg5);
_local7.soundTransform = _local8;
_local7.addEventListener(Event.SOUND_COMPLETE, completeHandler);
soundArch[_local7] = {id:_arg1, sound:_arg2, loopFlag:_arg4, pan:_arg3, kof:_arg5};
if (_arg1 != null){
soundArchByID[_arg1] = _local7;
};
}
public static function setPanByID(_arg1:String, _arg2:Number):void{
var _local3:*;
var _local4:SoundTransform;
_local3 = soundArchByID[_arg1];
if (_local3 != undefined){
_local4 = _local3.soundTransform;
soundArch[_local3].pan = _arg2;
_local4.pan = _arg2;
_local3.soundTransform = _local4;
};
}
private static function completeHandler(_arg1:Event):void{
var _local2:*;
var _local3:Sound;
var _local4:Sound;
var _local5:*;
var _local6:Number;
var _local7:Number;
_local2 = _arg1.target;
if (soundArch[_local2].loopFlag == "infinity"){
_local3 = soundArch[_local2].id;
_local4 = soundArch[_local2].sound;
_local5 = soundArch[_local2].loopFlag;
_local6 = soundArch[_local2].pan;
_local7 = soundArch[_local2].kof;
iniSound(_local3, _local4, _local5, _local6, _local7);
};
delete soundArch[_local2];
}
public static function setVolumeKofByID(_arg1:String, _arg2:Number):void{
var _local3:*;
var _local4:SoundTransform;
_local3 = soundArchByID[_arg1];
if (_local3 != undefined){
soundArch[_local3].kof = _arg2;
_local4 = _local3.soundTransform;
_local4.volume = (soundVolume * soundArch[_local3].kof);
_local3.soundTransform = _local4;
};
}
public static function playSound(_arg1, _arg2:String, _arg3=0, _arg4:Number=0, _arg5:Number=1){
var soundFactory:Sound;
var sndClass:Class;
var id = _arg1;
var sName = _arg2;
var loopFlag = _arg3;
var pan = _arg4;
var kof = _arg5;
try {
sndClass = (getDefinitionByName(sName) as Class);
} catch(e:ReferenceError) {
return;
};
soundFactory = (new (sndClass) as Sound);
iniSound(id, soundFactory, pan, loopFlag, kof);
}
public static function removeSoundByID(_arg1:String):void{
var _local2:*;
_local2 = soundArchByID[_arg1];
if (_local2 != undefined){
_local2.stop();
delete soundArch[_local2];
};
}
}
}//package classes.media
Section 21
//PlayerSkin (classes.playerSkins.PlayerSkin)
package classes.playerSkins {
import flash.display.*;
import flash.events.*;
public class PlayerSkin extends MovieClip {
public var ufo:MovieClip;
private var upgradeObj:Object;
private var typeCar:String;
public function PlayerSkin(_arg1:String, _arg2:Object=null){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
typeCar = _arg1;
upgradeObj = _arg2;
this.gotoAndStop(typeCar);
trace(((upgradeObj + " ADD - PLAYER ") + upgradeObj.speed));
this.addEventListener(Event.ENTER_FRAME, addedAction);
}
private function addedAction(_arg1:Event):void{
trace(("ENTER_FRAME " + upgradeObj.speed));
this.ufo.t1.visible = false;
this.ufo.t2.visible = false;
this.ufo.t3.visible = false;
if ((((upgradeObj.speed <= 87)) && ((upgradeObj.speed > 80)))){
this.ufo.t1.visible = true;
} else {
if ((((upgradeObj.speed <= 94)) && ((upgradeObj.speed > 87)))){
this.ufo.t2.visible = true;
} else {
if ((upgradeObj.speed > 94)){
this.ufo.t3.visible = true;
};
};
};
this.removeEventListener(Event.ENTER_FRAME, addedAction);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame5(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package classes.playerSkins
Section 22
//ClassLoader (classes.utils.ClassLoader)
package classes.utils {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.system.*;
public class ClassLoader extends EventDispatcher {
private var loader:Loader;
private var request:URLRequest;
private var swfLib:String;
private var loadedClass:Class;
public static var CLASS_LOADED:String = "classLoaded";
public static var LOAD_ERROR:String = "loadError";
public function ClassLoader(){
loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler);
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
loader.contentLoaderInfo.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
}
public function getClass(_arg1:String):Class{
var className = _arg1;
try {
return ((loader.contentLoaderInfo.applicationDomain.getDefinition(className) as Class));
} catch(e:Error) {
trace("ERROR");
};
return (null);
}
private function securityErrorHandler(_arg1:Event):void{
dispatchEvent(new Event(ClassLoader.LOAD_ERROR));
}
private function completeHandler(_arg1:Event):void{
dispatchEvent(new Event(ClassLoader.CLASS_LOADED));
}
private function ioErrorHandler(_arg1:Event):void{
dispatchEvent(new Event(ClassLoader.LOAD_ERROR));
}
public function load(_arg1:String):void{
var _local2:LoaderContext;
swfLib = _arg1;
request = new URLRequest(swfLib);
_local2 = new LoaderContext();
_local2.applicationDomain = new ApplicationDomain();
loader.load(request, _local2);
}
}
}//package classes.utils
Section 23
//IntUtil (classes.utils.IntUtil)
package classes.utils {
public class IntUtil {
private static var hexChars:String = "0123456789abcdef";
public static function toHex(_arg1:int, _arg2:Boolean=false):String{
var _local3:String;
var _local4:int;
var _local5:int;
_local3 = "";
if (_arg2){
_local4 = 0;
while (_local4 < 4) {
_local3 = (_local3 + (hexChars.charAt(((_arg1 >> (((3 - _local4) * 8) + 4)) & 15)) + hexChars.charAt(((_arg1 >> ((3 - _local4) * 8)) & 15))));
_local4++;
};
} else {
_local5 = 0;
while (_local5 < 4) {
_local3 = (_local3 + (hexChars.charAt(((_arg1 >> ((_local5 * 8) + 4)) & 15)) + hexChars.charAt(((_arg1 >> (_local5 * 8)) & 15))));
_local5++;
};
};
return (_local3);
}
public static function ror(_arg1:int, _arg2:int):uint{
var _local3:int;
_local3 = (32 - _arg2);
return (((_arg1 << _local3) | (_arg1 >>> (32 - _local3))));
}
public static function rol(_arg1:int, _arg2:int):int{
return (((_arg1 << _arg2) | (_arg1 >>> (32 - _arg2))));
}
}
}//package classes.utils
Section 24
//Blicks (classes.Blicks)
package classes {
import classes.math.*;
import flash.display.*;
import flash.geom.*;
public class Blicks extends MovieClip {
public var s1:MovieClip;
public var s5:MovieClip;
public var s6:MovieClip;
public var s7:MovieClip;
private var arrBlick:Array;
public var s2:MovieClip;
public var s4:MovieClip;
public var s3:MovieClip;
public function Blicks():void{
var _local1:uint;
arrBlick = [{name:"s1", kof:0}, {name:"s2", kof:0}, {name:"s3", kof:0}, {name:"s4", kof:1}, {name:"s5", kof:1.5}, {name:"s6", kof:1.8}, {name:"s7", kof:2}];
super();
_local1 = 0;
while (_local1 < arrBlick.length) {
this[arrBlick[_local1].name].alpha = 10;
_local1++;
};
}
public function setBlicks(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
var _local5:uint;
var _local6:Number;
var _local7:Number;
var _local8:Vector;
var _local9:Number;
var _local10:Number;
var _local11:Array;
var _local12:Boolean;
var _local13:Vector;
_local6 = Number((_arg1 - _arg3));
_local7 = Number((_arg2 - _arg4));
_local8 = new Vector(_local6, _local7);
_local9 = (_local8.getLength() / GameSettings.GAME_WIDTH);
_local10 = (1 - _local9);
_local11 = this.parent.getObjectsUnderPoint(new Point(_arg3, _arg4));
_local12 = false;
_local5 = 0;
while (_local5 < _local11.length) {
if ((_local11[_local5].parent is EathObject)){
_local12 = true;
break;
};
_local5++;
};
_local10 = ((_local12)==true) ? 0 : _local10;
_local5 = 0;
while (_local5 < arrBlick.length) {
_local13 = _local8.scaleNew(arrBlick[_local5].kof);
this[arrBlick[_local5].name].x = (_arg3 + _local13.x);
this[arrBlick[_local5].name].y = (_arg4 + _local13.y);
this[arrBlick[_local5].name].alpha = _local10;
_local5++;
};
}
}
}//package classes
Section 25
//EathItem (classes.EathItem)
package classes {
import flash.display.*;
public class EathItem extends MovieClip {
public function EathItem(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package classes
Section 26
//EathObject (classes.EathObject)
package classes {
import flash.display.*;
import flash.text.*;
public class EathObject extends MovieClip {
public var txt:TextField;
private var info:Object;
public function EathObject(_arg1:Object){
info = new Object();
super();
info = _arg1;
this.gotoAndStop(info.name);
this.name = "eath";
this.alpha = 0;
}
public function update(_arg1:MovieClip, _arg2:String="WAIT"):void{
if ((((info.name == "d3")) || ((info.name == "d13")))){
if (this["txt"] != null){
this["txt"].text = _arg2;
};
};
this.scaleX = _arg1.scaleX;
this.scaleY = _arg1.scaleX;
this.y = _arg1.y;
this.x = (_arg1.x + (_arg1.scaleX * info.xPos));
this.alpha = (_arg1.scaleX * 10);
this.transform.colorTransform = _arg1.transform.colorTransform;
this.alpha = _arg1.skinRoad.alpha;
}
}
}//package classes
Section 27
//Game (classes.Game)
package classes {
import flash.display.*;
import flash.events.*;
import classes.engine.*;
import classes.media.*;
import flash.utils.*;
public class Game extends MovieClip {
var panel:Panel;
public var PLAYERS_ARR:Array;
public var COLLIDE:Collide;
public var START_VALUE:uint;
private var NEXT_FRAME_LABEL:String;// = "menu"
public var PAUSE_FLAG:Boolean;// = false
var timer:Timer;
var screen1:Screen;
public var player1:Player;
public var winFlag:Number;// = 0
var screen2:Screen;
var AUTO_SPEED:Number;// = 0.1
private var readySteadyGoTextVar:MovieClip;
var engineSprite:Sprite;
public var LEVEL_INFO:Object;
public var TRASSA:Array;
var timerSub:Timer;
var AUTO_SPEED_MAX:Number;// = 1
public var PLAYERS_ARR_1:Array;
public var PLAYERS_ARR_2:Array;
public var player2:Player;
public var PAUSE:PauseMenu;
public var gameBg:MovieClip;
public var SCREEN_ARR:Array;
public function Game(){
var _local1:Vorota;
AUTO_SPEED = 0.1;
AUTO_SPEED_MAX = 1;
TRASSA = new Array();
PLAYERS_ARR = new Array();
PLAYERS_ARR_1 = new Array();
PLAYERS_ARR_2 = new Array();
SCREEN_ARR = new Array();
LEVEL_INFO = new Object();
PAUSE_FLAG = false;
NEXT_FRAME_LABEL = "menu";
winFlag = 0;
super();
stage.quality = "BEST";
Music.stopMusics();
TRASSA = GameSettings.getTrassa(GameSettings.CURRENT_LEVEL);
LEVEL_INFO = GameSettings.getTrassInfo(GameSettings.CURRENT_LEVEL);
COLLIDE = new Collide();
engineSprite = new Sprite();
this.addChild(engineSprite);
engineSprite.visible = false;
engineSprite.scaleX = 0.1;
engineSprite.scaleY = 0.1;
iniScreen();
timer = new Timer(GameSettings.ITERATIONS, 0);
switch (GameSettings.GAME_TYPE){
case "championship":
timer.addEventListener("timer", updateGame);
break;
case "grandprix":
timer.addEventListener("timer", updateGame);
break;
case "2in1":
timer.addEventListener("timer", updateGame2);
break;
};
timer.start();
START_VALUE = 0;
timerSub = new Timer(1000, 0);
timerSub.addEventListener("timer", startControl);
timerSub.start();
_local1 = new Vorota(this, true);
this.mouseEnabled = false;
stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler);
this.addEventListener(MouseEvent.MOUSE_DOWN, focusInClick);
stage.focus = gameBg;
}
private function exitFromGame(_arg1:Event):void{
pauseGame(true);
}
private function removeAllGameObjects():void{
var i:uint;
Music.setMusicVolume(GameSettings.MUSIC_VOLUME);
SoundFX.stopSounds();
i = 0;
while (i < PLAYERS_ARR.length) {
try {
engineSprite.removeChild(MovieClip(PLAYERS_ARR[i]));
} catch(e:ArgumentError) {
trace("ERROR REMOVE");
};
i = (i + 1);
};
i = 0;
while (i < SCREEN_ARR.length) {
try {
this.removeChild(MovieClip(SCREEN_ARR[i]));
} catch(e:ArgumentError) {
trace("ERROR REMOVE");
};
i = (i + 1);
};
stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler);
this.removeEventListener(MouseEvent.MOUSE_DOWN, focusInClick);
timer.removeEventListener("timer", updateGame);
timer.removeEventListener("timer", updateGame2);
timerSub.removeEventListener("timer", startControl);
timerSub.removeEventListener("timer", exitGameControl);
if (NEXT_FRAME_LABEL == "upgrade"){
GameSettings.nextLevel();
};
}
public function exitGameControl(_arg1:TimerEvent=null){
var _local2:Vorota;
SoundFX.stopSounds();
if (NEXT_FRAME_LABEL == "lose"){
SoundFX.playSound(null, "s_lose");
} else {
if (NEXT_FRAME_LABEL == "win"){
SoundFX.playSound(null, "s_win");
} else {
if (NEXT_FRAME_LABEL == "menu"){
if (winFlag == 1){
SoundFX.playSound(null, "s_first");
} else {
SoundFX.playSound(null, "s_second");
};
};
};
};
_local2 = new Vorota(this, false, MovieClip(parent), NEXT_FRAME_LABEL, removeAllGameObjects);
}
public function pauseGame(_arg1:Boolean):void{
if (PAUSE_FLAG != _arg1){
PAUSE_FLAG = _arg1;
if (PAUSE_FLAG){
timer.stop();
timerSub.stop();
PAUSE = new PauseMenu(this);
} else {
stage.focus = gameBg;
timer.start();
timerSub.start();
PAUSE = null;
};
};
}
public function exitGame():void{
var _local1:Vorota;
switch (GameSettings.GAME_TYPE){
case "championship":
NEXT_FRAME_LABEL = "lose";
break;
case "grandprix":
NEXT_FRAME_LABEL = "lose";
break;
case "2in1":
NEXT_FRAME_LABEL = "menu";
break;
};
Music.stopMusics();
Music.setMusicVolume(GameSettings.MUSIC_VOLUME);
_local1 = new Vorota(this, false, MovieClip(parent), NEXT_FRAME_LABEL, removeAllGameObjects);
}
public function setStartGame():void{
var _local1:Number;
_local1 = 0;
while (_local1 < PLAYERS_ARR.length) {
PLAYERS_ARR[_local1].setGameStatus("game");
_local1++;
};
}
public function setFinishGame(_arg1:Player, _arg2:Boolean=false):void{
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:*;
setStatusFinishGame();
Music.stopMusics();
if (_arg2 == false){
_local6 = (new FinishText() as MovieClip);
this.addChild(_local6);
if (GameSettings.GAME_TYPE != "2in1"){
_local6.x = 0;
_local6.y = 0;
} else {
_local6.x = 0;
_local6.y = 190;
};
SoundFX.playSound(null, "s_finish");
};
switch (GameSettings.GAME_TYPE){
case "championship":
if (((checkWin(_arg1)) && ((_arg2 == false)))){
if (GameSettings.CURRENT_LEVEL < (GameSettings.AMOUNTS_TRACKS - 1)){
NEXT_FRAME_LABEL = "upgrade";
} else {
NEXT_FRAME_LABEL = "win";
};
_local3 = ((25000 * _arg1.PLAYER_SCORE_MINUS) / _arg1.PLAYER_TICKS);
_local4 = ((25000 * _arg1.PLAYER_ARMOR_POINTS) / _arg1.PLAYER_ARMOR_POINTS_MAX);
_local5 = ((10000 * ((GameSettings.CURRENT_PLAYER_UPGRATE.speed + GameSettings.CURRENT_PLAYER_UPGRATE.smart) + GameSettings.CURRENT_PLAYER_UPGRATE.armor)) / (15 * 5));
GameSettings.SCORE = (GameSettings.SCORE + Math.round(((((50000 + (GameSettings.CURRENT_LEVEL * 25000)) - _local3) - _local4) + _local5)));
} else {
NEXT_FRAME_LABEL = "lose";
_local3 = ((25000 * _arg1.PLAYER_SCORE_MINUS) / _arg1.PLAYER_TICKS);
_local4 = ((25000 * _arg1.PLAYER_ARMOR_POINTS) / _arg1.PLAYER_ARMOR_POINTS_MAX);
_local5 = ((10000 * ((GameSettings.CURRENT_PLAYER_UPGRATE.speed + GameSettings.CURRENT_PLAYER_UPGRATE.smart) + GameSettings.CURRENT_PLAYER_UPGRATE.armor)) / (15 * 5));
GameSettings.SCORE = (GameSettings.SCORE + Math.round(((((50000 + (GameSettings.CURRENT_LEVEL * 25000)) - _local3) - _local4) / 2)));
};
break;
case "grandprix":
if (((checkWin(_arg1)) && ((_arg2 == false)))){
NEXT_FRAME_LABEL = "win";
} else {
NEXT_FRAME_LABEL = "lose";
};
break;
case "2in1":
if ((((_arg1 == player1)) && ((_arg2 == false)))){
NEXT_FRAME_LABEL = "menu";
winFlag = 1;
} else {
NEXT_FRAME_LABEL = "menu";
winFlag = 2;
};
break;
};
timerSub = new Timer(2000, 1);
timerSub.addEventListener("timer", exitGameControl);
timerSub.start();
}
public function updateGame2(_arg1:TimerEvent):void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
_local2 = 0;
while (_local2 < PLAYERS_ARR.length) {
PLAYERS_ARR[_local2].update();
_local2++;
};
COLLIDE.isCollide(PLAYERS_ARR);
_local3 = player1.getPositionForTrassa();
screen1.setTrassa(_local3);
_local4 = player2.getPositionForTrassa();
screen2.setTrassa(_local4);
_arg1.updateAfterEvent();
if (stage.focus != gameBg){
pauseGame(true);
};
}
public function setStatusFinishGame():void{
var _local1:Number;
_local1 = 0;
while (_local1 < PLAYERS_ARR.length) {
PLAYERS_ARR[_local1].setGameStatus("finish");
_local1++;
};
}
public function updateGame(_arg1:TimerEvent):void{
var _local2:Number;
var _local3:Number;
_local2 = 0;
while (_local2 < PLAYERS_ARR.length) {
PLAYERS_ARR[_local2].update();
_local2++;
};
COLLIDE.isCollide(PLAYERS_ARR);
_local3 = player1.getPositionForTrassa();
screen1.setTrassa(_local3);
panel.update();
_arg1.updateAfterEvent();
if (stage.focus != gameBg){
pauseGame(true);
};
}
private function keyDownHandler(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == GameSettings.GAME_KEYS[2].esc){
pauseGame(true);
};
}
private function focusInClick(_arg1:MouseEvent=null):void{
stage.focus = gameBg;
}
private function startControl(_arg1:TimerEvent=null){
START_VALUE++;
switch (START_VALUE){
case 1:
readySteadyGoTextVar = (new readySteadyGoText() as MovieClip);
if (GameSettings.GAME_TYPE != "2in1"){
readySteadyGoTextVar.x = 0;
readySteadyGoTextVar.y = 0;
} else {
readySteadyGoTextVar.x = 0;
readySteadyGoTextVar.y = 190;
};
this.addChild(readySteadyGoTextVar);
readySteadyGoTextVar.gotoAndPlay("ready");
readySteadyGoTextVar.play();
SoundFX.playSound(null, "s_ready");
player1.GLOBAL_TEXT = "READY";
break;
case 2:
readySteadyGoTextVar.gotoAndPlay("steady");
readySteadyGoTextVar.play();
SoundFX.playSound(null, "s_steady");
player1.GLOBAL_TEXT = "STEADY";
break;
case 3:
readySteadyGoTextVar.gotoAndPlay("go");
readySteadyGoTextVar.play();
setStartGame();
SoundFX.playSound(null, "s_go");
player1.GLOBAL_TEXT = "GO";
if (GameSettings.GAME_STORED_DATA.data.soundVolumeFlag == 1){
Music.setMusicVolume(GameSettings.MUSIC_VOLUME);
} else {
Music.setMusicVolume(0);
};
switch (GameSettings.CURRENT_LEVEL){
case 0:
Music.playMusic("track1", "m_track1");
break;
case 1:
Music.playMusic("track2", "m_track2");
break;
case 2:
Music.playMusic("track3", "m_track3");
break;
case 3:
Music.playMusic("track1", "m_track1");
break;
case 4:
Music.playMusic("track2", "m_track2");
break;
case 5:
Music.playMusic("track3", "m_track3");
break;
};
break;
case 4:
timerSub.stop();
timerSub.removeEventListener("timer", startControl);
this.removeChild(readySteadyGoTextVar);
readySteadyGoTextVar = null;
stage.quality = "MEDIUM";
break;
};
}
private function iniScreen1(_arg1:Boolean=false){
var _local2:Object;
var _local3:Object;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Object;
var _local8:Object;
var _local9:uint;
var _local10:MovedRival;
var _local11:Object;
screen1 = new Screen(0, 0, Number(GameSettings.GAME_WIDTH), Number(GameSettings.GAME_HEIGHT), TRASSA, LEVEL_INFO);
this.addChild(screen1);
SCREEN_ARR.push(screen1);
player1 = new Player(this, 0, TRASSA, "player1", GameSettings.CURRENT_PLAYER_TYPE, true);
engineSprite.addChild(player1);
_local2 = GameSettings.HEROS[GameSettings.CURRENT_PLAYER_TYPE];
_local3 = GameSettings.CURRENT_PLAYER_UPGRATE;
player1.iniKeyboard(GameSettings.GAME_KEYS[0].up, GameSettings.GAME_KEYS[0].down, GameSettings.GAME_KEYS[0].left, GameSettings.GAME_KEYS[0].rigth, GameSettings.GAME_KEYS[0].spice);
player1.iniVector(GameSettings.getVectorCarType(0));
if (_arg1 == false){
_local4 = (Number(_local2.speed) + Number(_local3.speed));
_local5 = (Number(_local2.armor) + Number(_local3.armor));
_local6 = (Number(_local2.smart) + Number(_local3.smart));
} else {
_local4 = 100;
_local5 = 100;
_local6 = 100;
};
_local7 = {speed:_local4, armor:_local5, smart:_local6};
player1.setParams(_local7);
PLAYERS_ARR.push(player1);
screen1.addPlayer(MovieClip(player1), GameSettings.CURRENT_PLAYER_TYPE, _local7, true);
if (!_arg1){
_local8 = GameSettings.UPGRATES[GameSettings.CURRENT_LEVEL];
} else {
_local8 = GameSettings.UPGRATES[5];
};
_local9 = 0;
while (_local9 < _local2.opponents.length) {
_local10 = new MovedRival(this, ((_local2.opponents.length * 1.5) - (_local9 * 1.5)), TRASSA, String(("sopernik" + _local9)), _local2.opponents[_local9]);
engineSprite.addChild(_local10);
_local10.iniVector(GameSettings.getVectorCarType(0));
_local11 = GameSettings.HEROS[_local2.opponents[_local9]];
_local11.path = _local8.drive[_local9];
if ((((_local8.speed > _local9)) || ((_local11.speed >= _local4)))){
_local11.speed = (_local4 - 0.5);
};
if ((((_local8.smart > _local9)) || ((_local11.smart >= _local6)))){
_local11.smart = _local6;
};
if ((((_local8.armor > _local9)) || ((_local11.armor >= _local5)))){
_local11.armor = _local5;
};
_local10.setParams(_local11);
screen1.addPlayer(MovieClip(_local10), _local2.opponents[_local9], _local11);
PLAYERS_ARR.push(_local10);
_local9++;
};
panel = new Panel(PLAYERS_ARR, TRASSA);
this.addChild(panel);
}
private function iniScreen2(){
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:Object;
var _local5:Object;
var _local6:Object;
var _local7:Object;
var _local8:Number;
var _local9:uint;
var _local10:MovedRival;
var _local11:Object;
screen1 = new Screen(0, 0, Number(GameSettings.GAME_WIDTH), Number(210), TRASSA, LEVEL_INFO, 180);
this.addChild(screen1);
SCREEN_ARR.push(screen1);
screen2 = new Screen(0, 210, Number(GameSettings.GAME_WIDTH), Number(210), TRASSA, LEVEL_INFO, 180);
this.addChild(screen2);
SCREEN_ARR.push(screen2);
player1 = new Player(this, 0, TRASSA, "player1", GameSettings.CURRENT_PLAYER_TYPE_1, true, -250);
engineSprite.addChild(player1);
player2 = new Player(this, 0, TRASSA, "player1", GameSettings.CURRENT_PLAYER_TYPE_2, true, 250);
engineSprite.addChild(player2);
player1.iniKeyboard(GameSettings.GAME_KEYS[0].up, GameSettings.GAME_KEYS[0].down, GameSettings.GAME_KEYS[0].left, GameSettings.GAME_KEYS[0].rigth, GameSettings.GAME_KEYS[0].spice);
player1.iniVector(GameSettings.getVectorCarType(0));
player2.iniKeyboard(GameSettings.GAME_KEYS[1].up, GameSettings.GAME_KEYS[1].down, GameSettings.GAME_KEYS[1].left, GameSettings.GAME_KEYS[1].rigth, GameSettings.GAME_KEYS[1].spice);
player2.iniVector(GameSettings.getVectorCarType(0));
_local1 = 100;
_local2 = 100;
_local3 = 100;
_local4 = {speed:_local1, armor:(_local2 - Math.round((5 * Math.random()))), smart:_local3};
player1.setParams(_local4);
_local5 = {speed:_local1, armor:(_local2 - Math.round((5 * Math.random()))), smart:_local3};
player2.setParams(_local5);
PLAYERS_ARR.push(player1);
PLAYERS_ARR.push(player2);
screen1.addPlayer(MovieClip(player1), GameSettings.CURRENT_PLAYER_TYPE_1, _local4, true);
screen2.addPlayer(MovieClip(player2), GameSettings.CURRENT_PLAYER_TYPE_2, _local5, true);
screen1.addPlayer(MovieClip(player2), GameSettings.CURRENT_PLAYER_TYPE_2, _local5);
screen2.addPlayer(MovieClip(player1), GameSettings.CURRENT_PLAYER_TYPE_1, _local4);
_local6 = GameSettings.UPGRATES[5];
_local7 = GameSettings.HEROS[GameSettings.CURRENT_PLAYER_TYPE_1];
_local8 = -1;
_local9 = 0;
while (_local9 < _local7.opponents.length) {
if (_local7.opponents[_local9] != GameSettings.CURRENT_PLAYER_TYPE_2){
_local10 = new MovedRival(this, ((3 * 1.5) - (_local8 * 1.5)), TRASSA, String(("sopernik" + _local8)), _local7.opponents[_local9]);
_local8++;
engineSprite.addChild(_local10);
_local10.iniVector(GameSettings.getVectorCarType(0));
_local11 = GameSettings.HEROS[_local7.opponents[_local9]];
_local11.path = _local6.drive[_local9];
if ((((_local6.speed > _local9)) || ((_local11.speed >= _local1)))){
_local11.speed = (_local1 - 0.5);
};
if ((((_local6.smart > _local9)) || ((_local11.smart >= _local3)))){
_local11.smart = _local3;
};
if ((((_local6.armor > _local9)) || ((_local11.armor >= _local2)))){
_local11.armor = _local2;
};
_local10.setParams(_local11);
screen1.addPlayer(MovieClip(_local10), _local7.opponents[_local9], _local11);
screen2.addPlayer(MovieClip(_local10), _local7.opponents[_local9], _local11);
PLAYERS_ARR.push(_local10);
};
_local9++;
};
}
private function checkWin(_arg1:Player):Boolean{
var _local2:Boolean;
var _local3:Number;
_local2 = true;
_local3 = 0;
while (_local3 < PLAYERS_ARR.length) {
if (((!((PLAYERS_ARR[_local3] == _arg1))) && ((Number(PLAYERS_ARR[_local3].PLAYER_Y_POSITION_GLOBAL) > Number(_arg1.PLAYER_Y_POSITION_GLOBAL))))){
_local2 = false;
};
_local3++;
};
return (_local2);
}
private function iniScreen(){
var _local1:Number;
var _local2:Boolean;
switch (GameSettings.GAME_TYPE){
case "championship":
iniScreen1(false);
break;
case "grandprix":
_local2 = true;
iniScreen1(_local2);
break;
case "2in1":
iniScreen2();
break;
};
_local1 = 0;
while (_local1 < PLAYERS_ARR.length) {
PLAYERS_ARR[_local1].iniSoperniks(PLAYERS_ARR);
_local1++;
};
}
}
}//package classes
Section 28
//GameArea (classes.GameArea)
package classes {
import flash.display.*;
import classes.media.*;
import classes.gameInterface.*;
public class GameArea extends MovieClip {
public var win:Win;
public var upgrade:PlayerUpgrader;
public var intro:Intro;
public var instruction:Instructions1;
public var game:Game;
public function GameArea(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12);
Music.setMusicVolume(GameSettings.MUSIC_VOLUME);
SoundFX.setSoundVolume(GameSettings.SOUND_VOLUME);
if (isNaN(GameSettings.GAME_STORED_DATA.data.soundVolumeFlag)){
GameSettings.GAME_STORED_DATA.data.soundVolumeFlag = 1;
};
this.gotoAndStop("intro");
}
function frame10(){
stop();
}
function frame12(){
stop();
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame8(){
stop();
}
function frame9(){
stop();
}
function frame2(){
stop();
}
function frame11(){
stop();
}
}
}//package classes
Section 29
//GameSettings (classes.GameSettings)
package classes {
import classes.math.*;
import flash.net.*;
public class GameSettings {
public static var SCORE:Number = 0;
public static var GLOBAL_PLAYER_SPEED_MAX = 0.35;
public static var GAME_TRASSA_WIDTH_2:Number = (GAME_TRASSA_WIDTH / 2);
public static var GLOBAL_PLAYER_SPEED_DX_PLUS = 0.004;
public static var GAME_WIDTH_2:Number = (GAME_WIDTH / 2);
public static var KOF_SCALE:Number = (topW / bottomW);
public static var bottomW:Number = 1300;
public static var GAME_HEIGHT:Number = 320;
public static var DY:Number = 100;
public static var CURRENT_LEVEL:Number = 0;
public static var GAME_WIDTH:Number = 585;
public static var MUSIC_VOLUME = 0.3;
public static var HEROS:Array = new Array();
public static var GAME_KEYS = new Array();
public static var CURRENT_PLAYER_TYPE_2:String;
public static var LEVEL_INFO:Array = new Array();
public static var CURRENT_PLAYER_TYPE:String;
public static var AMOUNTS_POINTS = 100;
public static var topW:Number = 1000;
public static var CURRENT_PLAYER_TYPE_1:String;
public static var CURRENT_PLAYER_UPGRATE:Object = {speed:0, smart:0, armor:0};
public static var ITERATIONS:uint = 10;
public static var GLOBAL_PLAYER_X_SPEED_MAX = 15;
public static var GAME_HEIGHT_2:Number = (GAME_HEIGHT / 2);
public static var AMOUNTS_TRACKS:Number = 6;
public static var N:Number = 15;
public static var angel0:Number = 10;
public static var GAME_TRASSA_WIDTH:Number = 1000;
public static var bottomWidth:Number = (topW / 2);
public static var HEROS_INDX:Array = new Array("latinos", "afra", "bool", "blondy", "ufoman");
public static var GAME_LAPS:Number = 5;
public static var UPGRATES:Array = new Array();
public static var SOUND_VOLUME = 0.6;
public static var GLOBAL_PLAYER_X_SPEED_DX_PLUS = 0.9;
public static var GAME_TYPE:String;
public static var topWidth:Number = (bottomW / 2);
public static var GAME_STORED_DATA:SharedObject = SharedObject.getLocal("ufo-racing-gamezhero.com");
public static var TRASSA:Array = new Array();
public function GameSettings(){
trace("GameSettings");
setTypeGame(0);
}
public static function setTypePlayer1(_arg1:uint):void{
switch (_arg1){
case 0:
CURRENT_PLAYER_TYPE_1 = "latinos";
break;
case 1:
CURRENT_PLAYER_TYPE_1 = "afra";
break;
case 2:
CURRENT_PLAYER_TYPE_1 = "bool";
break;
case 3:
CURRENT_PLAYER_TYPE_1 = "blondy";
break;
case 4:
CURRENT_PLAYER_TYPE_1 = "ufoman";
break;
};
}
public static function check360(_arg1:Number):Number{
if (_arg1 > 360){
_arg1 = (_arg1 - 360);
};
if (_arg1 < 0){
_arg1 = (360 + _arg1);
};
return (_arg1);
}
public static function setTypePlayer2(_arg1:uint):void{
switch (_arg1){
case 0:
CURRENT_PLAYER_TYPE_2 = "latinos";
break;
case 1:
CURRENT_PLAYER_TYPE_2 = "afra";
break;
case 2:
CURRENT_PLAYER_TYPE_2 = "bool";
break;
case 3:
CURRENT_PLAYER_TYPE_2 = "blondy";
break;
case 4:
CURRENT_PLAYER_TYPE_2 = "ufoman";
break;
};
}
public static function getVectorCarType(_arg1:Number):Array{
var _local2:Array;
_local2 = new Array();
switch (_arg1){
case 0:
_local2 = [new Vector(0, -100), new Vector(100, -50), new Vector(100, 50), new Vector(0, 100), new Vector(-100, 50), new Vector(-100, -50)];
break;
case 1:
_local2 = [new Vector(-2, -2), new Vector(2, -2), new Vector(2, 2), new Vector(-2, 2)];
break;
default:
_local2 = [new Vector(-2, -2), new Vector(2, -2), new Vector(2, 2), new Vector(-2, 2)];
};
return (_local2);
}
public static function setCurrentTrassa(_arg1:Number){
CURRENT_LEVEL = _arg1;
}
public static function nextPosition(_arg1:Number):Number{
var _local2:*;
var _local3:*;
_local2 = Math.floor(_arg1);
_local3 = (_arg1 - _local2);
_local2 = nextPoint(_local2);
return ((_local2 + _local3));
}
public static function setLevel(_arg1:uint):void{
CURRENT_LEVEL = _arg1;
}
public static function nextLevel():void{
CURRENT_LEVEL++;
}
public static function setTypeGame(_arg1:uint):void{
switch (_arg1){
case 0:
GAME_TYPE = "championship";
break;
case 1:
GAME_TYPE = "grandprix";
break;
case 2:
GAME_TYPE = "2in1";
break;
default:
GAME_TYPE = "championship";
};
}
public static function getTrassa(_arg1:Number):Array{
var _local2:Number;
var _local3:Number;
var _local4:*;
TRASSA[0] = new Array();
TRASSA[0] = [{x:600, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:585, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:570, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:555, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:540, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:525, y:156, angle:0, bugor:0, eath:[]}, {x:510, y:156, angle:0, bugor:0, eath:[{name:"d13", xPos:0}]}, {x:495, y:156, angle:0, bugor:0, eath:[]}, {x:480, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:465, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:450, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:435, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:420, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:405, y:156, angle:0, bugor:0, eath:[]}, {x:390, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:375, y:156, angle:0, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:360, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:345, y:156, angle:-1, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:330, y:158, angle:-1, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:316, y:162, angle:-2, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:302, y:167, angle:-2, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:288, y:174, angle:-3, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:276, y:182, angle:-3, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:264, y:192, angle:-4, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:253, y:202, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:243, y:214, angle:-5, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:235, y:226, angle:-5, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:228, y:239, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:222, y:253, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:218, y:268, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:216, y:282, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:215, y:297, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:215, y:312, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:217, y:327, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:221, y:342, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:226, y:356, angle:-6, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:232, y:369, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:240, y:382, angle:-5, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:250, y:394, angle:-5, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:260, y:405, angle:-4, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:271, y:414, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:284, y:423, angle:-3, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:297, y:430, angle:-3, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:311, y:436, angle:-2, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:325, y:440, angle:-2, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:340, y:443, angle:-1, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:355, y:444, angle:-1, bugor:0, eath:[]}, {x:370, y:444, angle:0, bugor:0, eath:[{name:"d14", xPos:-1400}]}, {x:385, y:444, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:400, y:444, angle:1, bugor:0, eath:[{name:"d14", xPos:-1400}]}, {x:415, y:444, angle:2, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:430, y:445, angle:3, bugor:0, eath:[{name:"d14", xPos:-1400}]}, {x:445, y:447, angle:4, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:459, y:450, angle:4, bugor:0, eath:[{name:"d14", xPos:-1400}]}, {x:473, y:455, angle:4, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:487, y:462, angle:4, bugor:0, eath:[{name:"d14", xPos:-1400}]}, {x:499, y:470, angle:4, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:511, y:480, angle:4, bugor:0, eath:[{name:"d14", xPos:-1400}]}, {x:522, y:490, angle:4, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:532, y:501, angle:4, bugor:0, eath:[{name:"d14", xPos:-1400}]}, {x:540, y:0x0202, angle:4, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:547, y:527, angle:4, bugor:0, eath:[]}, {x:553, y:541, angle:3, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:557, y:555, angle:2, bugor:0, eath:[]}, {x:559, y:570, angle:1, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:560, y:585, angle:0, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:562, y:600, angle:-1, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:565, y:615, angle:-2, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:570, y:629, angle:-3, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:577, y:642, angle:-4, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:585, y:655, angle:-5, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:594, y:667, angle:-5, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:604, y:678, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:615, y:688, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:628, y:696, angle:-5, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:641, y:704, angle:-5, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:655, y:710, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:669, y:714, angle:-3, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:684, y:717, angle:-2, bugor:0, eath:[]}, {x:699, y:718, angle:-1, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:714, y:718, angle:0, bugor:0, eath:[{name:"d14", xPos:-1400}]}, {x:729, y:719, angle:1, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:743, y:720, angle:2, bugor:0, eath:[{name:"d14", xPos:-1400}]}, {x:758, y:724, angle:3, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:772, y:729, angle:4, bugor:0, eath:[{name:"d14", xPos:-1400}]}, {x:786, y:736, angle:4, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:798, y:744, angle:5, bugor:0, eath:[{name:"d14", xPos:-1400}]}, {x:810, y:753, angle:5, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:821, y:764, angle:5, bugor:0, eath:[{name:"d14", xPos:-1400}]}, {x:831, y:775, angle:5, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:839, y:787, angle:5, bugor:0, eath:[{name:"d14", xPos:-1400}]}, {x:846, y:800, angle:4, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:852, y:814, angle:4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:856, y:829, angle:4, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:859, y:844, angle:3, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:860, y:858, angle:2, bugor:0, eath:[]}, {x:860, y:873, angle:1, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:860, y:888, angle:0, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:860, y:903, angle:-1, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:862, y:918, angle:-2, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:866, y:933, angle:-3, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:872, y:947, angle:-4, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:878, y:960, angle:-5, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:887, y:973, angle:-5, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:896, y:984, angle:-5, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:907, y:995, angle:-5, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:918, y:1005, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:931, y:1013, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:944, y:1020, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:958, y:1025, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:973, y:1029, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:988, y:1031, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:1003, y:1032, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1017, y:1032, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:1032, y:1029, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1047, y:1026, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:1061, y:1020, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1074, y:1014, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:1087, y:1006, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1099, y:996, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:1109, y:986, angle:-6, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:1119, y:974, angle:-5, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1128, y:962, angle:-5, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1135, y:949, angle:-5, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:1140, y:935, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1144, y:920, angle:-3, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:1147, y:906, angle:-2, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1148, y:891, angle:-1, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:1148, y:876, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1148, y:861, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:1148, y:846, angle:0, bugor:0, eath:[{name:"d11", xPos:0}]}, {x:1148, y:831, angle:0, bugor:0, eath:[{name:"d12", xPos:0}]}, {x:1148, y:816, angle:0, bugor:0, eath:[{name:"d12", xPos:0}]}, {x:1148, y:801, angle:0, bugor:0, eath:[{name:"d12", xPos:0}]}, {x:1147, y:786, angle:0, bugor:0, eath:[{name:"d12", xPos:0}]}, {x:1147, y:0x0303, angle:0, bugor:0, eath:[{name:"d12", xPos:0}]}, {x:1147, y:756, angle:0, bugor:0, eath:[{name:"d12", xPos:0}]}, {x:1147, y:741, angle:0, bugor:0, eath:[{name:"d12", xPos:0}]}, {x:1147, y:726, angle:0, bugor:0, eath:[{name:"d12", xPos:0}]}, {x:1147, y:711, angle:0, bugor:0, eath:[{name:"d12", xPos:0}]}, {x:1147, y:696, angle:0, bugor:0, eath:[{name:"d12", xPos:0}]}, {x:1147, y:681, angle:0, bugor:0, eath:[{name:"d12", xPos:0}]}, {x:1147, y:666, angle:0, bugor:0, eath:[{name:"d12", xPos:0}]}, {x:1147, y:651, angle:0, bugor:0, eath:[{name:"d12", xPos:0}]}, {x:1147, y:636, angle:0, bugor:0, eath:[{name:"d12", xPos:0}]}, {x:1147, y:621, angle:0, bugor:0, eath:[{name:"d12", xPos:0}]}, {x:1147, y:606, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:1147, y:591, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1147, y:576, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:1147, y:561, angle:0, bugor:0, eath:[]}, {x:1147, y:546, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1147, y:531, angle:0, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:1147, y:516, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1147, y:501, angle:0, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:1147, y:486, angle:-1, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1148, y:471, angle:-2, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:1147, y:456, angle:-3, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1148, y:441, angle:-4, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:1147, y:426, angle:-5, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1146, y:411, angle:-5, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:1144, y:396, angle:-5, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1141, y:381, angle:-5, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:1138, y:366, angle:-5, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1133, y:352, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:1128, y:338, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1122, y:324, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:1116, y:311, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1108, y:298, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:1100, y:285, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1091, y:273, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:1082, y:261, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1072, y:250, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:1062, y:239, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1051, y:229, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:1040, y:219, angle:-6, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:0x0404, y:210, angle:-5, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1015, y:201, angle:-5, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:1003, y:193, angle:-5, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:990, y:186, angle:-5, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:976, y:180, angle:-5, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:962, y:174, angle:-5, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:948, y:169, angle:-5, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:933, y:165, angle:-4, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:919, y:162, angle:-3, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:904, y:159, angle:-2, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:889, y:157, angle:-1, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:874, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:859, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:844, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:829, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:814, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:799, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:784, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:769, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:754, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:739, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:724, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:709, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:694, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:679, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:664, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:649, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:634, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:619, y:156, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}];
TRASSA[1] = [{x:556, y:241, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:555, y:0x0100, angle:1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:556, y:271, angle:2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:556, y:286, angle:2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:556, y:301, angle:3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:556, y:316, angle:3, bugor:0, eath:[]}, {x:555, y:331, angle:3, bugor:0, eath:[{name:"d3", xPos:0}]}, {x:554, y:346, angle:3, bugor:0, eath:[]}, {x:553, y:361, angle:3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:552, y:376, angle:3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:549, y:391, angle:3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:547, y:405, angle:3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:543, y:420, angle:3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:538, y:434, angle:3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:533, y:448, angle:3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:527, y:462, angle:3, bugor:0, eath:[{name:"d1", xPos:0}]}, {x:521, y:476, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:0x0202, y:489, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:506, y:502, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:497, y:0x0202, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:488, y:526, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:478, y:537, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:468, y:548, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:457, y:558, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:445, y:567, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:433, y:576, angle:2, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:421, y:585, angle:2, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:408, y:593, angle:1, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:395, y:600, angle:1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:382, y:607, angle:-1, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:368, y:614, angle:-1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:355, y:621, angle:-2, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:342, y:629, angle:-2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:329, y:636, angle:-3, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:316, y:644, angle:-3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:303, y:651, angle:-4, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:290, y:659, angle:-4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:277, y:666, angle:-5, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:264, y:674, angle:-5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:252, y:683, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:241, y:693, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:232, y:705, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:223, y:717, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:216, y:730, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:211, y:744, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:206, y:759, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:203, y:773, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:202, y:788, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:202, y:803, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:204, y:818, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:208, y:833, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:213, y:847, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:220, y:860, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:228, y:873, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:236, y:885, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:246, y:896, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:258, y:906, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:270, y:914, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:283, y:922, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:297, y:927, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:312, y:932, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:326, y:935, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:341, y:936, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:356, y:936, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:371, y:934, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:386, y:931, angle:-5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:400, y:926, angle:-4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:413, y:920, angle:-4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:426, y:912, angle:-3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:439, y:905, angle:-3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:452, y:898, angle:-2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:465, y:890, angle:-2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:478, y:882, angle:-1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:491, y:874, angle:-1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:503, y:866, angle:1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:516, y:858, angle:1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:529, y:850, angle:2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:542, y:843, angle:2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:555, y:835, angle:3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:568, y:828, angle:3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:581, y:821, angle:3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:595, y:815, angle:3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:609, y:809, angle:3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:623, y:804, angle:3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:638, y:800, angle:3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:652, y:797, angle:3, bugor:0, eath:[{name:"d1", xPos:0}]}, {x:667, y:795, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:682, y:793, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:697, y:793, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:712, y:793, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:727, y:794, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:742, y:796, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:756, y:800, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:0x0303, y:804, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:785, y:808, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:799, y:814, angle:2, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:813, y:820, angle:2, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:826, y:827, angle:1, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:839, y:834, angle:1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:852, y:841, angle:-1, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:865, y:849, angle:-1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:878, y:857, angle:-2, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:890, y:866, angle:-2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:902, y:874, angle:-3, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:915, y:882, angle:-3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:928, y:889, angle:-4, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:941, y:896, angle:-4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:955, y:904, angle:-5, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:967, y:912, angle:-5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:981, y:919, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:993, y:927, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1007, y:932, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:1022, y:936, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1037, y:939, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:1051, y:940, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1066, y:940, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:1081, y:938, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1096, y:934, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:1110, y:928, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1123, y:922, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:1136, y:914, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1148, y:905, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:1159, y:895, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1168, y:883, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:1177, y:871, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1184, y:858, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:1190, y:844, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1194, y:829, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:1197, y:815, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1198, y:800, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:1197, y:785, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1195, y:770, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:1192, y:755, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1188, y:741, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:1181, y:727, angle:-5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1173, y:715, angle:-4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1164, y:703, angle:-4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1154, y:692, angle:-3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1143, y:682, angle:-3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1130, y:673, angle:-2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1117, y:666, angle:-2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1104, y:659, angle:-1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1091, y:651, angle:-1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1078, y:644, angle:1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1065, y:636, angle:1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1052, y:629, angle:2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1039, y:621, angle:2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1026, y:614, angle:3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1013, y:606, angle:3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1000, y:599, angle:3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:987, y:591, angle:3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:975, y:583, angle:3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:962, y:575, angle:3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:950, y:566, angle:3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:938, y:557, angle:3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:927, y:547, angle:3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:916, y:536, angle:3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:906, y:525, angle:3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:896, y:0x0202, angle:3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:887, y:502, angle:3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:880, y:489, angle:3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:872, y:476, angle:3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:866, y:462, angle:3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:860, y:448, angle:3, bugor:0, eath:[{name:"d1", xPos:0}]}, {x:856, y:434, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:852, y:420, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:850, y:405, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:848, y:390, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:846, y:375, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:845, y:360, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:844, y:345, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:844, y:330, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:843, y:315, angle:2, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:843, y:300, angle:2, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:843, y:285, angle:1, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:843, y:270, angle:1, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:843, y:0xFF, angle:-1, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:843, y:240, angle:-1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:843, y:225, angle:-2, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:843, y:210, angle:-2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:843, y:195, angle:-3, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:843, y:180, angle:-3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:840, y:165, angle:-4, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:837, y:151, angle:-4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:831, y:137, angle:-5, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:824, y:124, angle:-5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:815, y:111, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:806, y:100, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:795, y:90, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:783, y:80, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:770, y:72, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:757, y:66, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:743, y:60, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:728, y:57, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:713, y:55, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:698, y:54, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:683, y:55, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:669, y:58, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:654, y:61, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:640, y:67, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:627, y:74, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:615, y:83, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:603, y:92, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:593, y:103, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:583, y:114, angle:-6, bugor:0, eath:[{name:"d7", xPos:1400}]}, {x:575, y:127, angle:-5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:568, y:140, angle:-4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:562, y:154, angle:-4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:559, y:169, angle:-3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:557, y:184, angle:-3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:556, y:199, angle:-2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:555, y:214, angle:-2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:555, y:229, angle:-1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:556, y:244, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}];
TRASSA[2] = [{x:977, y:110, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:962, y:110, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:947, y:110, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:932, y:110, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:917, y:110, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:902, y:110, angle:0, bugor:0, eath:[]}, {x:887, y:110, angle:0, bugor:0, eath:[{name:"d3", xPos:0}]}, {x:872, y:110, angle:0, bugor:0, eath:[]}, {x:857, y:110, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:842, y:110, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:827, y:110, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:812, y:110, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:797, y:110, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:782, y:110, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:767, y:110, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:752, y:110, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:737, y:110, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:722, y:110, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}, {name:"d9", xPos:-1000}]}, {x:707, y:110, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}, {name:"d9", xPos:-1000}]}, {x:692, y:110, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}, {name:"d9", xPos:-1000}]}, {x:677, y:110, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}, {name:"d9", xPos:-1000}]}, {x:662, y:110, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:647, y:110, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:632, y:110, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:617, y:110, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:602, y:110, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:587, y:110, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:572, y:110, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:557, y:110, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:542, y:110, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:527, y:110, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:0x0200, y:110, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:497, y:110, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:482, y:110, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:467, y:110, angle:0, bugor:0, eath:[{name:"d1", xPos:0}]}, {x:452, y:110, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:437, y:110, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:422, y:110, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:407, y:110, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:392, y:110, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:377, y:110, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:362, y:110, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:347, y:110, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:332, y:110, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:317, y:110, angle:-1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:302, y:110, angle:-1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:287, y:110, angle:-2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:272, y:110, angle:-2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:0x0101, y:110, angle:-3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:242, y:110, angle:-3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:227, y:112, angle:-4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:212, y:116, angle:-4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:198, y:120, angle:-5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:184, y:127, angle:-5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:172, y:135, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:160, y:144, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:149, y:154, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:140, y:166, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:131, y:178, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:123, y:191, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:117, y:205, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:113, y:219, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:110, y:234, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:109, y:249, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:109, y:264, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:111, y:279, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:114, y:293, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:119, y:307, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:125, y:321, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:133, y:334, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:142, y:346, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:152, y:357, angle:-5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:163, y:367, angle:-5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:176, y:376, angle:-5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:189, y:383, angle:-4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:203, y:389, angle:-4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:217, y:393, angle:-3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:232, y:396, angle:-3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:247, y:398, angle:-2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:262, y:399, angle:-2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:277, y:399, angle:-1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:292, y:399, angle:-1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:307, y:398, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:322, y:398, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:337, y:398, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:352, y:398, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:367, y:398, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:382, y:398, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:397, y:397, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:412, y:397, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:427, y:397, angle:1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:442, y:397, angle:1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:456, y:399, angle:2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:471, y:403, angle:2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:484, y:410, angle:3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:497, y:417, angle:3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:510, y:426, angle:4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:521, y:435, angle:4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:532, y:446, angle:5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:542, y:457, angle:5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:550, y:470, angle:6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:557, y:483, angle:6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:562, y:497, angle:6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:566, y:511, angle:6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:569, y:526, angle:6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:571, y:541, angle:6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:572, y:556, angle:6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:571, y:571, angle:6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:568, y:586, angle:6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:564, y:600, angle:6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:559, y:614, angle:6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:553, y:628, angle:6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:546, y:641, angle:5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:537, y:653, angle:5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:527, y:664, angle:4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:516, y:675, angle:4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:504, y:684, angle:3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:491, y:692, angle:3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:478, y:699, angle:2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:464, y:704, angle:2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:449, y:707, angle:1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:434, y:709, angle:1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:419, y:709, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:404, y:709, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:389, y:709, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:374, y:709, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:359, y:709, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:344, y:709, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:329, y:709, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:314, y:709, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:299, y:709, angle:-1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:284, y:709, angle:-1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:269, y:709, angle:-1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:254, y:709, angle:-2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:239, y:710, angle:-2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:224, y:711, angle:-3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:210, y:714, angle:-3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:195, y:719, angle:-4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:182, y:726, angle:-4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:170, y:734, angle:-5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:158, y:744, angle:-5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:147, y:754, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:138, y:766, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:129, y:778, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:122, y:791, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:116, y:805, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:112, y:819, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:110, y:834, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:109, y:849, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:109, y:864, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:111, y:879, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:114, y:894, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:119, y:908, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:126, y:921, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:134, y:934, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:144, y:945, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:154, y:956, angle:-5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:165, y:966, angle:-5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:178, y:974, angle:-4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:191, y:982, angle:-4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:204, y:988, angle:-3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:219, y:993, angle:-3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:233, y:996, angle:-2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:248, y:996, angle:-2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:263, y:996, angle:-1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:278, y:996, angle:-1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:293, y:996, angle:0, bugor:0, eath:[{name:"d1", xPos:0}]}, {x:308, y:996, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:323, y:996, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:338, y:996, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:353, y:996, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:368, y:996, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:383, y:996, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:398, y:996, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:413, y:996, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:428, y:996, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:443, y:996, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:458, y:996, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:473, y:996, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:488, y:996, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:503, y:996, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:518, y:996, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:533, y:996, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:548, y:996, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:563, y:996, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:578, y:996, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:593, y:996, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:608, y:996, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}, {name:"d9", xPos:-1000}]}, {x:623, y:996, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}, {name:"d9", xPos:-1000}]}, {x:638, y:996, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}, {name:"d9", xPos:-1000}]}, {x:653, y:996, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}, {name:"d9", xPos:-1000}]}, {x:668, y:996, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:683, y:996, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:698, y:996, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:713, y:996, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:728, y:996, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:743, y:996, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:758, y:996, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:773, y:996, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:788, y:996, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:803, y:996, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:818, y:996, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:833, y:997, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:848, y:997, angle:0, bugor:0, eath:[{name:"d1", xPos:0}]}, {x:863, y:997, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:878, y:997, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:893, y:997, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:908, y:997, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:923, y:997, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:938, y:997, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:953, y:997, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:968, y:997, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:983, y:997, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:998, y:997, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:1013, y:997, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:0x0404, y:997, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:1043, y:997, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:1058, y:997, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:1073, y:997, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:1088, y:997, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:1103, y:997, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:1118, y:997, angle:-1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1133, y:996, angle:-1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1148, y:995, angle:-2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1163, y:992, angle:-2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1178, y:989, angle:-3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1192, y:984, angle:-3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1205, y:977, angle:-4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1218, y:969, angle:-4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1229, y:959, angle:-5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1240, y:949, angle:-5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1250, y:937, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1258, y:925, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1265, y:912, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1271, y:898, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1275, y:883, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1277, y:869, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1278, y:854, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1278, y:839, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1276, y:824, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1272, y:809, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1267, y:795, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1260, y:782, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1253, y:769, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1243, y:757, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1233, y:746, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1221, y:737, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1209, y:728, angle:-5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1196, y:721, angle:-5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1182, y:715, angle:-4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1167, y:711, angle:-4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1153, y:708, angle:-3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1138, y:708, angle:-3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1123, y:709, angle:-2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1108, y:709, angle:-2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1093, y:709, angle:-1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1078, y:709, angle:-1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1063, y:709, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1048, y:709, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1033, y:709, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1018, y:709, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1003, y:710, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:988, y:710, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:973, y:710, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:958, y:710, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:943, y:708, angle:1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:928, y:706, angle:1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:913, y:702, angle:2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:899, y:697, angle:2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:886, y:690, angle:3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:874, y:681, angle:3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:862, y:672, angle:4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:851, y:661, angle:4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:842, y:649, angle:5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:834, y:637, angle:5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:826, y:624, angle:6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:820, y:610, angle:6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:815, y:596, angle:6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:812, y:581, angle:6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:811, y:566, angle:6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:810, y:551, angle:6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:811, y:537, angle:6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:813, y:522, angle:6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:817, y:507, angle:6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:821, y:493, angle:6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:827, y:479, angle:6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:835, y:466, angle:6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:844, y:454, angle:5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:854, y:443, angle:5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:864, y:432, angle:4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:876, y:423, angle:4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:889, y:414, angle:3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:902, y:407, angle:3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:916, y:402, angle:2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:930, y:399, angle:2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:945, y:398, angle:1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:960, y:397, angle:1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:975, y:397, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:990, y:397, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1005, y:397, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1020, y:397, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1035, y:397, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1050, y:397, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1065, y:398, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1080, y:398, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1095, y:398, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1110, y:398, angle:-1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1125, y:399, angle:-1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1140, y:399, angle:-2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1155, y:397, angle:-2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1170, y:393, angle:-3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1184, y:389, angle:-3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1198, y:384, angle:-4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1211, y:376, angle:-4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1223, y:367, angle:-5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1234, y:357, angle:-5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1245, y:346, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1254, y:334, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1262, y:322, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1268, y:308, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1273, y:294, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1276, y:279, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1277, y:264, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1278, y:249, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1276, y:234, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1274, y:219, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1270, y:205, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1264, y:191, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1257, y:178, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1248, y:166, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1238, y:155, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1227, y:144, angle:-5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1216, y:135, angle:-5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1203, y:127, angle:-4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1189, y:120, angle:-4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1175, y:115, angle:-3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1161, y:112, angle:-3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1146, y:110, angle:-2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1131, y:110, angle:-2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1116, y:110, angle:-1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1101, y:110, angle:-1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1086, y:110, angle:0, bugor:0, eath:[{name:"d1", xPos:0}]}, {x:1071, y:110, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:1056, y:110, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:1041, y:110, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:1026, y:110, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:1011, y:110, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:996, y:110, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:981, y:110, angle:0, bugor:0, eath:[{name:"d2", xPos:0}]}];
TRASSA[3] = [{x:393, y:89, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:378, y:89, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:363, y:89, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:348, y:89, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:333, y:90, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:318, y:90, angle:0, bugor:0, eath:[]}, {x:303, y:90, angle:0, bugor:0, eath:[{name:"d3", xPos:0}]}, {x:288, y:90, angle:0, bugor:0, eath:[]}, {x:273, y:90, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:258, y:90, angle:-1, bugor:0, eath:[{name:"20", xPos:-1000}]}, {x:243, y:89, angle:-1, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:228, y:91, angle:-2, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:213, y:94, angle:-2, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:199, y:97, angle:-3, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:185, y:104, angle:-3, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:173, y:112, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:161, y:121, angle:-4, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:150, y:132, angle:-5, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:140, y:143, angle:-5, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:131, y:155, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:124, y:168, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:117, y:181, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:111, y:195, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:107, y:210, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:105, y:224, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:104, y:239, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:105, y:254, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:106, y:269, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:110, y:284, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:113, y:298, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:119, y:312, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:126, y:325, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:135, y:338, angle:-5, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:144, y:350, angle:-5, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:154, y:360, angle:-4, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:165, y:370, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:177, y:379, angle:-3, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:191, y:386, angle:-3, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:204, y:392, angle:-2, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:219, y:397, angle:-2, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:234, y:399, angle:-1, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:249, y:400, angle:-1, bugor:0, eath:[]}, {x:264, y:400, angle:0, bugor:0, eath:[{name:"d18", xPos:1000}, {name:"d19", xPos:-1000}]}, {x:279, y:400, angle:0, bugor:0, eath:[{name:"d18", xPos:1000}, {name:"d19", xPos:-1000}]}, {x:294, y:400, angle:0, bugor:0, eath:[{name:"d18", xPos:1000}, {name:"d19", xPos:-1000}]}, {x:309, y:400, angle:0, bugor:0, eath:[{name:"d18", xPos:1000}, {name:"d19", xPos:-1000}]}, {x:324, y:400, angle:0, bugor:0, eath:[{name:"d18", xPos:1000}, {name:"d19", xPos:-1000}]}, {x:339, y:401, angle:0, bugor:0, eath:[{name:"d18", xPos:1000}, {name:"d19", xPos:-1000}]}, {x:354, y:401, angle:0, bugor:0, eath:[]}, {x:369, y:401, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:384, y:401, angle:1, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:399, y:401, angle:1, bugor:0, eath:[{name:"d15", xPos:-1400}]}, {x:413, y:403, angle:2, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:428, y:407, angle:2, bugor:0, eath:[{name:"d15", xPos:-1400}]}, {x:442, y:413, angle:3, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:455, y:419, angle:4, bugor:0, eath:[{name:"d15", xPos:-1400}]}, {x:469, y:426, angle:5, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:480, y:436, angle:6, bugor:0, eath:[{name:"d15", xPos:-1400}]}, {x:491, y:446, angle:6, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:502, y:457, angle:6, bugor:0, eath:[{name:"d15", xPos:-1400}]}, {x:511, y:468, angle:6, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:519, y:481, angle:5, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:526, y:494, angle:4, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:532, y:508, angle:3, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:536, y:523, angle:3, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:539, y:537, angle:2, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:540, y:552, angle:2, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:540, y:567, angle:1, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:540, y:582, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:540, y:597, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:540, y:612, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:540, y:627, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:540, y:642, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:540, y:657, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:540, y:672, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:540, y:687, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:540, y:702, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:540, y:717, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:540, y:732, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:540, y:747, angle:-1, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:542, y:762, angle:-1, bugor:0, eath:[{name:"d16", xPos:1400}]}, {x:545, y:777, angle:-2, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:548, y:792, angle:-2, bugor:0, eath:[{name:"d16", xPos:1400}]}, {x:551, y:806, angle:-3, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:556, y:821, angle:-3, bugor:0, eath:[{name:"d16", xPos:1400}]}, {x:561, y:835, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:566, y:849, angle:-4, bugor:0, eath:[{name:"d16", xPos:1400}]}, {x:573, y:862, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:580, y:875, angle:-4, bugor:0, eath:[{name:"d16", xPos:1400}]}, {x:589, y:888, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:597, y:900, angle:-4, bugor:0, eath:[{name:"d16", xPos:1400}]}, {x:606, y:912, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:615, y:924, angle:-4, bugor:0, eath:[{name:"d16", xPos:1400}]}, {x:625, y:935, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:636, y:945, angle:-4, bugor:0, eath:[{name:"d16", xPos:1400}]}, {x:646, y:957, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:657, y:967, angle:-4, bugor:0, eath:[{name:"d16", xPos:1400}]}, {x:669, y:976, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:681, y:984, angle:-4, bugor:0, eath:[{name:"d16", xPos:1400}]}, {x:694, y:992, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:707, y:1000, angle:-4, bugor:0, eath:[{name:"d16", xPos:1400}]}, {x:720, y:1007, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:734, y:1013, angle:-4, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:748, y:1019, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:762, y:0x0400, angle:-3, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:776, y:0x0404, angle:-3, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:791, y:1031, angle:-2, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:806, y:1033, angle:-2, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:820, y:1036, angle:-1, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:835, y:1037, angle:-1, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:850, y:1037, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:865, y:1037, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:880, y:1037, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:895, y:1037, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:910, y:1037, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:925, y:1037, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:940, y:1037, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:955, y:1037, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:970, y:1037, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:985, y:1037, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1000, y:1037, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:1015, y:1037, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1030, y:1037, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:1045, y:1037, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1060, y:1037, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:1075, y:1037, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1090, y:1037, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:1105, y:1037, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1120, y:1037, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:1135, y:1037, angle:-1, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1150, y:1037, angle:-1, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:1165, y:1036, angle:-2, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1180, y:1034, angle:-2, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:1195, y:1030, angle:-3, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1208, y:0x0400, angle:-3, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:1222, y:1017, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1234, y:1009, angle:-4, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:1246, y:999, angle:-5, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1256, y:988, angle:-5, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:1266, y:977, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1274, y:964, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:0x0500, y:951, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1286, y:937, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:1290, y:922, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1293, y:908, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:1295, y:893, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1295, y:878, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:1294, y:863, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1292, y:848, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:1288, y:833, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1283, y:819, angle:-6, bugor:0, eath:[{name:"d17", xPos:1400}]}, {x:1277, y:806, angle:-6, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1270, y:793, angle:-5, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:1261, y:781, angle:-5, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1251, y:769, angle:-4, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:1240, y:759, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1228, y:750, angle:-3, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:1215, y:742, angle:-3, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1201, y:736, angle:-2, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:1187, y:731, angle:-2, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1173, y:728, angle:-1, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:1158, y:726, angle:-1, bugor:0, eath:[]}, {x:1143, y:727, angle:0, bugor:0, eath:[{name:"d18", xPos:1000}, {name:"d19", xPos:-1000}]}, {x:1128, y:727, angle:0, bugor:0, eath:[{name:"d18", xPos:1000}, {name:"d19", xPos:-1000}]}, {x:1113, y:727, angle:0, bugor:0, eath:[{name:"d18", xPos:1000}, {name:"d19", xPos:-1000}]}, {x:1098, y:727, angle:0, bugor:0, eath:[{name:"d18", xPos:1000}, {name:"d19", xPos:-1000}]}, {x:1083, y:727, angle:0, bugor:0, eath:[{name:"d18", xPos:1000}, {name:"d19", xPos:-1000}]}, {x:1068, y:728, angle:0, bugor:0, eath:[{name:"d18", xPos:1000}, {name:"d19", xPos:-1000}]}, {x:1053, y:728, angle:0, bugor:0, eath:[]}, {x:1038, y:728, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:1023, y:728, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:1008, y:728, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:993, y:728, angle:1, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:978, y:724, angle:1, bugor:0, eath:[{name:"d15", xPos:-1400}]}, {x:964, y:720, angle:2, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:950, y:714, angle:2, bugor:0, eath:[{name:"d15", xPos:-1400}]}, {x:936, y:708, angle:3, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:924, y:700, angle:4, bugor:0, eath:[{name:"d15", xPos:-1400}]}, {x:912, y:691, angle:5, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:900, y:681, angle:6, bugor:0, eath:[{name:"d15", xPos:-1400}]}, {x:890, y:670, angle:6, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:880, y:659, angle:6, bugor:0, eath:[{name:"d15", xPos:-1400}]}, {x:872, y:646, angle:6, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:865, y:633, angle:6, bugor:0, eath:[{name:"d15", xPos:-1400}]}, {x:859, y:619, angle:5, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:856, y:605, angle:4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:852, y:590, angle:3, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:850, y:575, angle:2, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:850, y:560, angle:2, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:850, y:545, angle:1, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:850, y:530, angle:1, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:851, y:515, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:851, y:500, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:851, y:485, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:851, y:470, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:851, y:455, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:851, y:440, angle:0, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:851, y:425, angle:0, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:851, y:410, angle:-1, bugor:0, eath:[{name:"d16", xPos:1400}]}, {x:850, y:395, angle:-1, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:850, y:380, angle:-2, bugor:0, eath:[{name:"d16", xPos:1400}]}, {x:848, y:365, angle:-2, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:846, y:350, angle:-3, bugor:0, eath:[{name:"d16", xPos:1400}]}, {x:843, y:336, angle:-3, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:839, y:321, angle:-4, bugor:0, eath:[{name:"d16", xPos:1400}]}, {x:836, y:307, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:831, y:292, angle:-4, bugor:0, eath:[{name:"d16", xPos:1400}]}, {x:825, y:278, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:819, y:265, angle:-4, bugor:0, eath:[{name:"d16", xPos:1400}]}, {x:812, y:252, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:804, y:239, angle:-4, bugor:0, eath:[{name:"d16", xPos:1400}]}, {x:795, y:227, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:787, y:214, angle:-4, bugor:0, eath:[{name:"d16", xPos:1400}]}, {x:777, y:203, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:767, y:191, angle:-4, bugor:0, eath:[{name:"d16", xPos:1400}]}, {x:757, y:181, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:746, y:171, angle:-4, bugor:0, eath:[{name:"d16", xPos:1400}]}, {x:734, y:161, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:723, y:151, angle:-4, bugor:0, eath:[{name:"d16", xPos:1400}]}, {x:711, y:142, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:698, y:135, angle:-4, bugor:0, eath:[{name:"d16", xPos:1400}]}, {x:685, y:127, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:672, y:119, angle:-4, bugor:0, eath:[{name:"d16", xPos:1400}]}, {x:658, y:114, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:644, y:108, angle:-4, bugor:0, eath:[{name:"d16", xPos:1400}]}, {x:630, y:103, angle:-4, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:616, y:99, angle:-3, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:601, y:95, angle:-3, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:586, y:93, angle:-2, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:571, y:91, angle:-2, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:557, y:90, angle:-1, bugor:0, eath:[{name:"d20", xPos:1000}]}, {x:542, y:89, angle:-1, bugor:0, eath:[{name:"d20", xPos:-1000}]}, {x:527, y:89, angle:0, bugor:0, eath:[{name:"d11", xPos:0}]}, {x:0x0200, y:89, angle:0, bugor:0, eath:[{name:"d12", xPos:0}]}, {x:497, y:89, angle:0, bugor:0, eath:[{name:"d12", xPos:0}]}, {x:482, y:89, angle:0, bugor:0, eath:[{name:"d12", xPos:0}]}, {x:467, y:90, angle:0, bugor:0, eath:[{name:"d12", xPos:0}]}, {x:452, y:90, angle:0, bugor:0, eath:[{name:"d12", xPos:0}]}, {x:437, y:90, angle:0, bugor:0, eath:[{name:"d12", xPos:0}]}, {x:422, y:90, angle:0, bugor:0, eath:[{name:"d12", xPos:0}]}, {x:407, y:90, angle:0, bugor:0, eath:[{name:"d12", xPos:0}]}];
TRASSA[4] = [{x:1132, y:729, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}, {name:"d9", xPos:-1000}]}, {x:1132, y:714, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1132, y:699, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1132, y:684, angle:-1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1132, y:669, angle:-1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1132, y:654, angle:-2, bugor:0, eath:[]}, {x:1132, y:639, angle:-2, bugor:0, eath:[{name:"d3", xPos:0}]}, {x:1132, y:624, angle:-3, bugor:0, eath:[]}, {x:1132, y:609, angle:-3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1132, y:594, angle:-4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1128, y:579, angle:-4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1124, y:565, angle:-5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1118, y:551, angle:-5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1111, y:538, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1103, y:526, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1093, y:0x0202, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1083, y:503, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1071, y:494, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1057, y:487, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1044, y:480, angle:-5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1030, y:475, angle:-4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1016, y:470, angle:-3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1001, y:469, angle:-2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:986, y:469, angle:-1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:971, y:468, angle:1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:956, y:466, angle:2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:942, y:462, angle:3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:928, y:456, angle:4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:915, y:449, angle:5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:902, y:441, angle:6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:891, y:431, angle:6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:880, y:420, angle:6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:871, y:409, angle:6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:862, y:396, angle:6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:855, y:383, angle:5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:849, y:369, angle:4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:846, y:355, angle:3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:843, y:340, angle:2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:843, y:325, angle:1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:843, y:310, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:843, y:295, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:844, y:280, angle:-1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:844, y:265, angle:-1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:844, y:250, angle:-2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:844, y:235, angle:-2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:845, y:220, angle:-3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:843, y:205, angle:-3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:840, y:190, angle:-4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:834, y:176, angle:-4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:828, y:163, angle:-5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:821, y:150, angle:-5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:812, y:138, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:802, y:126, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:791, y:116, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:779, y:107, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:766, y:99, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:753, y:93, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:739, y:88, angle:-6, bugor:0, eath:[{name:"d1", xPos:0}]}, {x:724, y:85, angle:-6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:709, y:83, angle:-6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:694, y:83, angle:-6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:679, y:85, angle:-6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:664, y:87, angle:-6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:650, y:91, angle:-6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:636, y:97, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:623, y:105, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:611, y:114, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:600, y:124, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:589, y:134, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:580, y:146, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:573, y:159, angle:-5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:566, y:172, angle:-5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:561, y:187, angle:-4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:558, y:201, angle:-4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:556, y:216, angle:-3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:556, y:231, angle:-3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:557, y:246, angle:-2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:557, y:261, angle:-2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:557, y:276, angle:-1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:557, y:291, angle:-1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:557, y:306, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:557, y:321, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:557, y:336, angle:1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:555, y:351, angle:2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:551, y:366, angle:3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:546, y:380, angle:4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:539, y:393, angle:5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:531, y:406, angle:6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:522, y:418, angle:6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:0x0200, y:429, angle:6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:501, y:439, angle:6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:489, y:448, angle:5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:476, y:455, angle:4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:462, y:461, angle:3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:448, y:466, angle:2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:433, y:469, angle:1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:418, y:470, angle:-1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:403, y:471, angle:-2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:388, y:472, angle:-3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:373, y:475, angle:-4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:359, y:478, angle:-5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:345, y:485, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:332, y:492, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:320, y:501, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:309, y:511, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:299, y:523, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:291, y:535, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:283, y:548, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:277, y:562, angle:-5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:272, y:576, angle:-4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:269, y:590, angle:-3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:268, y:605, angle:-3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:268, y:620, angle:-2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:267, y:635, angle:-1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:267, y:650, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:267, y:665, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:267, y:680, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:267, y:695, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:267, y:710, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:267, y:725, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:267, y:740, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:267, y:755, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:267, y:770, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:267, y:785, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}, {name:"d9", xPos:-1000}]}, {x:267, y:800, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}, {name:"d9", xPos:-1000}]}, {x:267, y:815, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}, {name:"d9", xPos:-1000}]}, {x:268, y:830, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}, {name:"d9", xPos:-1000}]}, {x:268, y:845, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}, {name:"d9", xPos:-1000}]}, {x:268, y:860, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:268, y:875, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:268, y:890, angle:-1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:272, y:905, angle:-1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:275, y:920, angle:-2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:281, y:933, angle:-2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:287, y:947, angle:-3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:296, y:959, angle:-3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:305, y:971, angle:-4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:315, y:982, angle:-4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:327, y:992, angle:-5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:339, y:1000, angle:-5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:352, y:1008, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:366, y:1013, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:381, y:1017, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:395, y:1020, angle:-6, bugor:0, eath:[{name:"d1", xPos:0}]}, {x:410, y:1021, angle:-6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:425, y:1021, angle:-6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:440, y:1019, angle:-6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:455, y:1015, angle:-6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:469, y:1010, angle:-6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:482, y:1003, angle:-6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:495, y:995, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:506, y:986, angle:-5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:517, y:975, angle:-5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:527, y:964, angle:-4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:535, y:951, angle:-4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:543, y:939, angle:-3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:548, y:925, angle:-3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:553, y:910, angle:-2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:556, y:895, angle:-2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:556, y:880, angle:-1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:556, y:865, angle:-1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:556, y:850, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:556, y:835, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:556, y:820, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:556, y:805, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:555, y:790, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:555, y:775, angle:1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:557, y:761, angle:1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:560, y:746, angle:2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:564, y:731, angle:2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:570, y:718, angle:3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:577, y:704, angle:3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:585, y:692, angle:4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:595, y:681, angle:4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:606, y:670, angle:5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:618, y:661, angle:5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:631, y:653, angle:6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:644, y:646, angle:6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:658, y:641, angle:6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:673, y:638, angle:6, bugor:0, eath:[{name:"d1", xPos:0}]}, {x:687, y:636, angle:6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:702, y:635, angle:6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:717, y:636, angle:6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:732, y:639, angle:6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:747, y:642, angle:6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:761, y:648, angle:6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:774, y:655, angle:6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:786, y:663, angle:5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:798, y:673, angle:5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:808, y:684, angle:4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:818, y:695, angle:4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:826, y:708, angle:3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:833, y:721, angle:3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:838, y:735, angle:2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:841, y:750, angle:2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:844, y:765, angle:1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:844, y:780, angle:1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:844, y:795, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:844, y:810, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:844, y:825, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:844, y:840, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:844, y:855, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:844, y:870, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:844, y:885, angle:-1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:846, y:900, angle:-1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:849, y:914, angle:-2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:854, y:929, angle:-2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:860, y:942, angle:-3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:867, y:955, angle:-3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:876, y:968, angle:-4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:886, y:978, angle:-4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:898, y:988, angle:-5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:910, y:997, angle:-5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:922, y:1005, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:936, y:1011, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:950, y:1016, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:965, y:1019, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:980, y:1021, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:995, y:1021, angle:-6, bugor:0, eath:[{name:"d1", xPos:0}]}, {x:1010, y:1020, angle:-6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:0x0400, y:1018, angle:-6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:1039, y:1013, angle:-6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:1052, y:1007, angle:-6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:1065, y:999, angle:-6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:1077, y:990, angle:-6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:1089, y:980, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1099, y:970, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1108, y:958, angle:-5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1116, y:945, angle:-5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1122, y:931, angle:-4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1127, y:917, angle:-4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1130, y:902, angle:-3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1132, y:887, angle:-3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1132, y:872, angle:-2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1132, y:857, angle:-2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1132, y:842, angle:-1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1132, y:827, angle:-1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1132, y:812, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1132, y:797, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1132, y:782, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}, {name:"d9", xPos:-1000}]}, {x:1131, y:767, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}, {name:"d9", xPos:-1000}]}, {x:1131, y:752, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}, {name:"d9", xPos:-1000}]}, {x:1131, y:737, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}, {name:"d9", xPos:-1000}]}];
TRASSA[5] = [{x:344, y:149, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:359, y:149, angle:0, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:374, y:149, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:389, y:149, angle:0, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:404, y:149, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:419, y:149, angle:0, bugor:0, eath:[]}, {x:434, y:149, angle:0, bugor:0, eath:[{name:"d3", xPos:0}]}, {x:449, y:150, angle:0, bugor:0, eath:[]}, {x:464, y:150, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:479, y:150, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:494, y:150, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:509, y:150, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:524, y:150, angle:1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:539, y:150, angle:2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:554, y:153, angle:3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:568, y:158, angle:4, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:582, y:164, angle:5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:595, y:171, angle:6, bugor:0, eath:[]}, {x:607, y:180, angle:6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:619, y:190, angle:6, bugor:0, eath:[]}, {x:629, y:201, angle:6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:638, y:213, angle:6, bugor:0, eath:[]}, {x:646, y:225, angle:5, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:653, y:239, angle:4, bugor:0, eath:[]}, {x:658, y:253, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:661, y:268, angle:2, bugor:0, eath:[]}, {x:663, y:282, angle:1, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:664, y:297, angle:-1, bugor:0, eath:[]}, {x:665, y:312, angle:-2, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:670, y:327, angle:-3, bugor:0, eath:[]}, {x:676, y:340, angle:-4, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:682, y:354, angle:-5, bugor:0, eath:[]}, {x:691, y:366, angle:-6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:701, y:377, angle:-6, bugor:0, eath:[]}, {x:711, y:388, angle:-6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:723, y:397, angle:-6, bugor:0, eath:[]}, {x:736, y:405, angle:-6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:749, y:412, angle:-5, bugor:0, eath:[]}, {x:763, y:418, angle:-4, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:778, y:421, angle:-3, bugor:0, eath:[]}, {x:793, y:423, angle:-2, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:808, y:423, angle:-1, bugor:0, eath:[]}, {x:823, y:424, angle:1, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:838, y:425, angle:2, bugor:0, eath:[]}, {x:852, y:427, angle:3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:867, y:431, angle:4, bugor:0, eath:[]}, {x:881, y:437, angle:5, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:894, y:444, angle:6, bugor:0, eath:[]}, {x:906, y:453, angle:6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:917, y:463, angle:6, bugor:0, eath:[]}, {x:927, y:474, angle:6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:937, y:485, angle:6, bugor:0, eath:[]}, {x:945, y:498, angle:6, bugor:0, eath:[{name:"10", xPos:1000}]}, {x:951, y:511, angle:5, bugor:0, eath:[{name:"10", xPos:-1000}]}, {x:956, y:526, angle:4, bugor:0, eath:[{name:"10", xPos:1000}]}, {x:960, y:540, angle:3, bugor:0, eath:[{name:"10", xPos:-1000}]}, {x:962, y:555, angle:2, bugor:0, eath:[{name:"10", xPos:1000}]}, {x:962, y:570, angle:1, bugor:0, eath:[{name:"10", xPos:-1000}]}, {x:962, y:585, angle:-1, bugor:0, eath:[{name:"10", xPos:1000}]}, {x:962, y:600, angle:-2, bugor:0, eath:[{name:"10", xPos:-1000}]}, {x:963, y:615, angle:-3, bugor:0, eath:[{name:"10", xPos:1000}]}, {x:965, y:630, angle:-4, bugor:0, eath:[{name:"10", xPos:-1000}]}, {x:970, y:644, angle:-5, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:977, y:658, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:984, y:671, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:993, y:683, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1003, y:694, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1013, y:705, angle:-6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1026, y:713, angle:-6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1038, y:721, angle:-5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1052, y:728, angle:-4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1066, y:732, angle:-3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1081, y:735, angle:-2, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:1096, y:737, angle:-1, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:1111, y:737, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:1126, y:738, angle:0, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:1141, y:738, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:1156, y:739, angle:1, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:1171, y:739, angle:2, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:1186, y:740, angle:3, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:1201, y:740, angle:4, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:1216, y:742, angle:5, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:1230, y:744, angle:6, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:1244, y:750, angle:6, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:1258, y:757, angle:6, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:1270, y:765, angle:6, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:1282, y:774, angle:6, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:1293, y:785, angle:6, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:1303, y:795, angle:6, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:1311, y:808, angle:6, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:1318, y:821, angle:6, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:1324, y:835, angle:6, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:1328, y:850, angle:6, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:1330, y:865, angle:6, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:1331, y:880, angle:6, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:1331, y:895, angle:6, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:1328, y:909, angle:6, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:1325, y:924, angle:6, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:1320, y:938, angle:6, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:1314, y:952, angle:6, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:1305, y:964, angle:6, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:1296, y:976, angle:6, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:1286, y:987, angle:6, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:1274, y:997, angle:6, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:1262, y:1005, angle:6, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:1249, y:1013, angle:6, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:1235, y:1018, angle:6, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:1221, y:1022, angle:5, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:1206, y:1025, angle:4, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:1191, y:1026, angle:3, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:1176, y:1026, angle:2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1161, y:1026, angle:1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1146, y:1026, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1131, y:1026, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1116, y:1026, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1101, y:1026, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1086, y:1026, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1071, y:1026, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1056, y:1026, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1041, y:1026, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:1026, y:1026, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:1011, y:1026, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:996, y:1026, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:981, y:1026, angle:0, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:966, y:1026, angle:0, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:951, y:1026, angle:1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:936, y:1023, angle:2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:921, y:1020, angle:3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:907, y:1016, angle:4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:893, y:1010, angle:5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:880, y:1004, angle:6, bugor:0, eath:[]}, {x:867, y:996, angle:6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:855, y:987, angle:6, bugor:0, eath:[]}, {x:845, y:976, angle:6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:835, y:964, angle:6, bugor:0, eath:[]}, {x:826, y:953, angle:6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:819, y:939, angle:5, bugor:0, eath:[]}, {x:813, y:925, angle:4, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:808, y:911, angle:3, bugor:0, eath:[]}, {x:804, y:897, angle:2, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:803, y:882, angle:1, bugor:0, eath:[]}, {x:802, y:867, angle:-1, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:801, y:852, angle:-2, bugor:0, eath:[]}, {x:798, y:837, angle:-3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:792, y:823, angle:-4, bugor:0, eath:[]}, {x:786, y:810, angle:-5, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:778, y:797, angle:-6, bugor:0, eath:[]}, {x:0x0300, y:785, angle:-6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:758, y:774, angle:-6, bugor:0, eath:[]}, {x:747, y:764, angle:-6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:735, y:755, angle:-6, bugor:0, eath:[]}, {x:723, y:747, angle:-6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:709, y:740, angle:-6, bugor:0, eath:[]}, {x:695, y:736, angle:-5, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:680, y:732, angle:-4, bugor:0, eath:[]}, {x:665, y:730, angle:-3, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:651, y:729, angle:-2, bugor:0, eath:[]}, {x:636, y:729, angle:-1, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:621, y:728, angle:1, bugor:0, eath:[]}, {x:606, y:727, angle:2, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:591, y:724, angle:3, bugor:0, eath:[]}, {x:577, y:719, angle:4, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:563, y:713, angle:5, bugor:0, eath:[]}, {x:550, y:705, angle:6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:539, y:695, angle:6, bugor:0, eath:[]}, {x:528, y:685, angle:6, bugor:0, eath:[{name:"d2", xPos:0}]}, {x:517, y:675, angle:6, bugor:0, eath:[]}, {x:508, y:663, angle:6, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:499, y:651, angle:6, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:493, y:637, angle:5, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:488, y:623, angle:4, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:484, y:608, angle:3, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:482, y:594, angle:2, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:480, y:579, angle:1, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:479, y:564, angle:-1, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:476, y:549, angle:-2, bugor:0, eath:[{name:"d10", xPos:-1000}]}, {x:472, y:535, angle:-3, bugor:0, eath:[{name:"d10", xPos:1000}]}, {x:465, y:521, angle:-4, bugor:0, eath:[{name:"10", xPos:-1000}]}, {x:457, y:509, angle:-5, bugor:0, eath:[{name:"10", xPos:1000}]}, {x:448, y:496, angle:-6, bugor:0, eath:[{name:"10", xPos:-1000}]}, {x:438, y:485, angle:-6, bugor:0, eath:[{name:"10", xPos:1000}]}, {x:428, y:475, angle:-6, bugor:0, eath:[{name:"10", xPos:-1000}]}, {x:416, y:465, angle:-6, bugor:0, eath:[{name:"10", xPos:1000}]}, {x:403, y:457, angle:-6, bugor:0, eath:[{name:"10", xPos:-1000}]}, {x:390, y:451, angle:-5, bugor:0, eath:[{name:"10", xPos:1000}]}, {x:376, y:445, angle:-4, bugor:0, eath:[{name:"10", xPos:-1000}]}, {x:361, y:441, angle:-3, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:347, y:439, angle:-2, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:332, y:438, angle:-1, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:317, y:438, angle:0, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:302, y:438, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:287, y:437, angle:0, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:272, y:437, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:0x0101, y:437, angle:0, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:242, y:437, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:227, y:437, angle:1, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:212, y:437, angle:2, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:197, y:436, angle:3, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:182, y:433, angle:4, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:168, y:429, angle:5, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:154, y:423, angle:6, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:141, y:415, angle:6, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:129, y:407, angle:6, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:118, y:396, angle:6, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:107, y:386, angle:6, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:98, y:373, angle:6, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:90, y:361, angle:6, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:84, y:347, angle:6, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:80, y:333, angle:6, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:76, y:318, angle:6, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:74, y:303, angle:6, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:74, y:288, angle:6, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:75, y:273, angle:6, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:78, y:259, angle:6, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:82, y:244, angle:6, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:88, y:230, angle:6, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:95, y:217, angle:6, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:104, y:205, angle:6, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:114, y:194, angle:6, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:124, y:183, angle:6, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:136, y:174, angle:6, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:149, y:166, angle:6, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:162, y:159, angle:6, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:177, y:155, angle:6, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:191, y:151, angle:6, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:206, y:149, angle:5, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:221, y:150, angle:4, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:236, y:150, angle:3, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:251, y:150, angle:2, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:266, y:150, angle:1, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:281, y:150, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:296, y:150, angle:0, bugor:0, eath:[{name:"d9", xPos:-1000}]}, {x:311, y:150, angle:0, bugor:0, eath:[{name:"d8", xPos:1000}]}, {x:326, y:150, angle:0, bugor:0, eath:[{name:"d9", xPos:-1000}]}];
_local2 = 0;
_local3 = ((10 * Math.PI) / TRASSA[_arg1].length);
_local4 = 0;
while (_local4 < TRASSA[_arg1].length) {
TRASSA[_arg1][_local4]["bugor"] = (1 + (0.3 * Math.sin((_local3 * _local4))));
_local2 = (_local2 + TRASSA[_arg1][_local4]["angle"]);
_local4++;
};
return (TRASSA[_arg1]);
}
public static function nextPoint(_arg1:Number):Number{
if (_arg1 >= TRASSA[CURRENT_LEVEL].length){
_arg1 = (_arg1 - TRASSA[CURRENT_LEVEL].length);
} else {
if (_arg1 < 0){
_arg1 = (TRASSA[CURRENT_LEVEL].length + _arg1);
};
};
return (_arg1);
}
public static function setTypePlayer(_arg1:uint):void{
switch (_arg1){
case 0:
CURRENT_PLAYER_TYPE = "latinos";
break;
case 1:
CURRENT_PLAYER_TYPE = "afra";
break;
case 2:
CURRENT_PLAYER_TYPE = "bool";
break;
case 3:
CURRENT_PLAYER_TYPE = "blondy";
break;
case 4:
CURRENT_PLAYER_TYPE = "ufoman";
break;
};
}
public static function clearGame(){
SCORE = 0;
CURRENT_PLAYER_UPGRATE = {speed:0, smart:0, armor:0};
}
public static function getTrassInfo(_arg1:Number):Object{
trace("INI LEVELS");
LEVEL_INFO[0] = new Object();
LEVEL_INFO[0].sun = {x:179, y:-80};
LEVEL_INFO[0].horizontColor = {r:205, g:171, b:118};
LEVEL_INFO[0].world = 0;
LEVEL_INFO[1] = new Object();
LEVEL_INFO[1].sun = null;
LEVEL_INFO[1].horizontColor = {r:87, g:73, b:72};
LEVEL_INFO[1].world = 1;
LEVEL_INFO[2] = new Object();
LEVEL_INFO[2].sun = null;
LEVEL_INFO[2].horizontColor = null;
LEVEL_INFO[2].world = 2;
LEVEL_INFO[3] = new Object();
LEVEL_INFO[3].sun = {x:179, y:-80};
LEVEL_INFO[3].horizontColor = {r:205, g:171, b:118};
LEVEL_INFO[3].world = 0;
LEVEL_INFO[4] = new Object();
LEVEL_INFO[4].sun = null;
LEVEL_INFO[4].horizontColor = {r:87, g:73, b:72};
LEVEL_INFO[4].world = 1;
LEVEL_INFO[5] = new Object();
LEVEL_INFO[5].sun = null;
LEVEL_INFO[5].horizontColor = null;
LEVEL_INFO[5].world = 2;
return (LEVEL_INFO[_arg1]);
}
HEROS["latinos"] = {speed:80, smart:65, armor:65, opponents:["blondy", "bool", "ufoman", "afra"]};
HEROS["afra"] = {speed:70, smart:70, armor:70, opponents:["ufoman", "blondy", "bool", "latinos"]};
HEROS["bool"] = {speed:75, smart:55, armor:80, opponents:["latinos", "blondy", "afra", "ufoman"]};
HEROS["blondy"] = {speed:75, smart:80, armor:55, opponents:["latinos", "afra", "bool", "ufoman"]};
HEROS["ufoman"] = {speed:80, smart:60, armor:70, opponents:["bool", "afra", "latinos", "blondy"]};
UPGRATES[0] = {speed:0, smart:0, armor:0, drive:["driveOutPlayer", "driveRandom", "driveRandom", "driveRandom"]};
UPGRATES[1] = {speed:1, smart:1, armor:1, drive:["driveOutPlayer", "driveToPlayer", "driveRandom", "driveTo3"]};
UPGRATES[2] = {speed:2, smart:2, armor:2, drive:["driveOutPlayer", "driveOutPlayer", "driveToPlayer", "driveRandom"]};
UPGRATES[3] = {speed:3, smart:3, armor:3, drive:["driveOutPlayer", "driveToPlayer", "driveRandom", "driveTo4"]};
UPGRATES[4] = {speed:2, smart:3, armor:3, drive:["driveOutPlayer", "driveToPlayer", "driveToPlayer", "driveTo3"]};
UPGRATES[5] = {speed:3, smart:4, armor:4, drive:["driveOutPlayer", "driveToPlayer", "driveTo3", "driveToPlayer"]};
GAME_KEYS[0] = {up:38, down:40, left:37, rigth:39, spice:16};
GAME_KEYS[1] = {up:87, down:83, left:65, rigth:68, spice:32};
GAME_KEYS[2] = {esc:27};
}
}//package classes
Section 30
//Main (classes.Main)
package classes {
import flash.display.*;
import flash.events.*;
import classes.utils.*;
import flash.net.*;
import classes.gamezhero.*;
import flash.system.*;
public class Main extends MovieClip {
private var proLibrary:ClassLoader;
public var gameArea:GameArea;
private var pro;
private var proFlag:Boolean;// = false
public function Main():void{
proFlag = false;
super();
addFrameScript(0, frame1, 1, frame2);
Security.allowDomain("gamezhero.com", "files.gamezhero.com", "eufiles.gamezhero.com", "*.gamezhero.com", "*", "*.*", "*.*.*");
stage.stageFocusRect = false;
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
this.addEventListener(Event.ENTER_FRAME, iniMainStage);
}
private function getURL(_arg1:String, _arg2:String="_blank"):void{
var _local3:URLRequest;
_local3 = new URLRequest(_arg1);
navigateToURL(_local3, _arg2);
}
public function iniMainStage(_arg1:Event):void{
var _local2:FlashChecker;
var _local3:GamePreloader;
this.removeEventListener(Event.ENTER_FRAME, iniMainStage);
this.gotoAndStop(1);
_local2 = new FlashChecker(this);
if (_local2.checkFlashVersion(9) == true){
_local3 = new GamePreloader(this, 2, "ufo_racing");
_local2.destroy();
};
loadPro();
}
public function nextStep():void{
var _local1:Vorota;
trace(("PRO>> " + pro));
if (pro){
pro.stopPopUp();
};
stage.align = "";
_local1 = new Vorota(this, false, this, 2);
}
function frame1(){
stop();
}
private function loadErrorHandler(_arg1:Event):void{
getURL("http://www.gamezhero.com/topscore/uforacing/?utm_campaign=ufo_racing&utm_source=ufo_racing&utm_medium=error", "_blank");
}
function frame2(){
stop();
}
private function classLoadedHandler(_arg1:Event):void{
var _local2:Class;
var _local3:Number;
_local2 = proLibrary.getClass("superPro3");
_local3 = Number(root.loaderInfo.parameters["gamezhero_code"]);
pro = new _local2(this, 0, _local3, "ufo_racing");
}
private function loadPro():void{
if (proFlag == false){
proFlag = true;
proLibrary = new ClassLoader();
proLibrary.addEventListener(ClassLoader.LOAD_ERROR, loadErrorHandler);
proLibrary.addEventListener(ClassLoader.CLASS_LOADED, classLoadedHandler);
proLibrary.load(("http://files.gamezhero.com/flash/superPro3.swf?time" + new Date().getTime()));
};
}
}
}//package classes
Section 31
//MovedRival (classes.MovedRival)
package classes {
import classes.math.*;
import flash.display.*;
import flash.events.*;
import classes.media.*;
public class MovedRival extends MovieClip {
public var PLAYER_X_SPEED_DX_MINUS_KOF:Number;// = 1.03
public var PLAYERS_ARR:Array;
public var PLAYER_X_SPEED:Number;// = 0
public var PLAYER_ANGEL_KOF:Number;// = 0
public var PLAYER_SPEED_DX_MINUS_KOF:Number;// = 1.01
public var GLOBAL_TEXT:String;// = ""
private var timeBoomInterval:Number;// = 0
public var PLAYER_Y_POSITION:Number;// = 0
public var CUREENT_LAP:uint;// = 0
public var NAME:String;
public var X_GOAL:Number;// = 0
public var PLAYER_ARMOR_POINTS_MAX:Number;
public var PLAYER_ARMOR_POINTS:Number;
public var PLAYER_TURBO_ARR:Array;
public var PLAYER_FINISH_AMOUNT:Number;
public var PLAYER_X_POSITION_MAX:Number;
public var PLAYER_TURBO_KOF_MINUS:Number;// = 0.5
public var PLAYER_SMART_POINTS:Number;
public var PLAYER_X_POSITION_LAST:Number;// = 0
public var PLAYER_STATUS:String;// = "start"
public var GOAL:MovieClip;
private var timeBoomLastInterval:Number;// = 0
public var PLAYER_Y_POSITION_LAST:Number;// = 0
public var PLAYER_PATH_TYPE:String;
public var firstDieFlag:Boolean;// = true
public var PLAYER_VECTOR_POSITION:Vector;
public var PLAYER_X_SPEED_DX_PLUS:Number;// = 0.5
public var PLAYER_SPEED:Number;// = 0
public var PLAYER_X_POSITION:Number;// = 0
public var PLAYER_SPEED_MAX:Number;// = 0.2
public var X_GOAL_ITERATION:Number;// = 0
public var PLAYER_SPEED_DX_PLUS:Number;// = 0.002
public var boomArr:Array;
public var PLAYER_TICKS:Number;// = 0
public var TRASSA:Array;
public var PLAYER_CURRENT_ANGLE:Number;
public var PLAYER_START_AMOUNT:Number;
public var PLAYER_X_SPEED_MAX:Number;// = 15
public var PLAYER_Y_POSITION_GLOBAL:Number;// = 0
public var PLAYER_POLYGON:Polygon;
public var PLAYER_TURBO_KOF:Number;// = 100
public var PLAYER_TURBO_KOF_SET:Number;// = 0
public var PLAYER_SPEEDY_POINTS:Number;
public var PLAYER_TYPE:String;
public var X_GOAL_ITERATION_MAX:Number;// = 200
public var PLAYER_SCORE_MINUS:Number;// = 0
public function MovedRival(_arg1:MovieClip, _arg2:Number, _arg3:Array, _arg4:String, _arg5:String):void{
boomArr = new Array();
firstDieFlag = true;
X_GOAL = 0;
X_GOAL_ITERATION = 0;
X_GOAL_ITERATION_MAX = 200;
PLAYER_Y_POSITION = 0;
PLAYER_Y_POSITION_GLOBAL = 0;
PLAYER_X_POSITION = 0;
PLAYER_X_POSITION_MAX = (GameSettings.GAME_TRASSA_WIDTH_2 + 200);
PLAYER_Y_POSITION_LAST = 0;
PLAYER_X_POSITION_LAST = 0;
PLAYER_SPEED = 0;
PLAYER_SPEED_MAX = 0.2;
PLAYER_SPEED_DX_PLUS = 0.002;
PLAYER_SPEED_DX_MINUS_KOF = 1.01;
PLAYER_X_SPEED = 0;
PLAYER_X_SPEED_MAX = 15;
PLAYER_X_SPEED_DX_PLUS = 0.5;
PLAYER_X_SPEED_DX_MINUS_KOF = 1.03;
PLAYER_ANGEL_KOF = 0;
PLAYER_TURBO_KOF = 100;
PLAYER_TURBO_KOF_SET = 0;
PLAYER_TURBO_KOF_MINUS = 0.5;
PLAYER_TURBO_ARR = new Array();
PLAYER_SCORE_MINUS = 0;
PLAYER_TICKS = 0;
PLAYERS_ARR = new Array();
PLAYER_STATUS = "start";
GLOBAL_TEXT = "";
CUREENT_LAP = 0;
timeBoomInterval = 0;
timeBoomLastInterval = 0;
super();
TRASSA = _arg3;
NAME = _arg4;
GOAL = _arg1;
PLAYER_Y_POSITION = _arg2;
PLAYER_Y_POSITION_LAST = _arg2;
PLAYER_Y_POSITION_GLOBAL = _arg2;
X_GOAL = getNextRandomXGoal();
PLAYER_CURRENT_ANGLE = 0;
PLAYER_TYPE = _arg5;
setGameStatus("start");
}
public function getYPosition():Number{
return (PLAYER_Y_POSITION);
}
public function checkXSpeedPlus(_arg1:Number):Number{
var _local2:Number;
if (_arg1 != 0){
_local2 = Math.abs(_arg1);
if (_local2 > PLAYER_X_SPEED_MAX){
_arg1 = ((_local2 / _arg1) * PLAYER_X_SPEED_MAX);
};
};
return (_arg1);
}
public function getYPositionIndex():Number{
return (Math.floor(PLAYER_Y_POSITION));
}
public function updatePoligonPos():void{
PLAYER_POLYGON.pos = new Vector(this.x, this.y);
}
public function iniVector(_arg1:Array){
PLAYER_VECTOR_POSITION = new Vector(this.x, this.y);
PLAYER_POLYGON = new Polygon(MovieClip(this), NAME, PLAYER_VECTOR_POSITION, _arg1, 0);
}
public function setBoom(_arg1:uint){
}
public function setGameStatus(_arg1:String):void{
trace((">> " + _arg1));
switch (_arg1){
case "game":
PLAYER_STATUS = "game";
PLAYER_SPEED = (PLAYER_SPEED / 4);
break;
case "die":
PLAYER_STATUS = "die";
PLAYER_SPEED_DX_PLUS = 0;
PLAYER_X_SPEED_DX_PLUS = 0.001;
break;
case "start":
PLAYER_STATUS = "start";
PLAYER_SPEED_DX_PLUS = 0;
PLAYER_X_SPEED_DX_PLUS = 0;
PLAYER_START_AMOUNT = 5;
break;
case "finish":
PLAYER_STATUS = "finish";
PLAYER_SPEED_DX_PLUS = 0;
PLAYER_X_SPEED_DX_PLUS = 0;
PLAYER_FINISH_AMOUNT = 5;
break;
case "null":
PLAYER_STATUS = "null";
break;
};
trace((" setGameStatus " + PLAYER_STATUS));
}
public function setParams(_arg1:Object, _arg2:Number=1){
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:uint;
var _local7:uint;
var _local8:Number;
var _local9:Number;
var _local10:uint;
PLAYER_SPEEDY_POINTS = _arg1.speed;
PLAYER_ARMOR_POINTS = _arg1.armor;
PLAYER_ARMOR_POINTS_MAX = _arg1.armor;
PLAYER_SMART_POINTS = _arg1.smart;
PLAYER_PATH_TYPE = _arg1.path;
_local3 = (PLAYER_SPEEDY_POINTS / GameSettings.AMOUNTS_POINTS);
_local4 = (PLAYER_ARMOR_POINTS / GameSettings.AMOUNTS_POINTS);
_local5 = (PLAYER_SMART_POINTS / GameSettings.AMOUNTS_POINTS);
PLAYER_SPEED_MAX = ((_local3 * GameSettings.GLOBAL_PLAYER_SPEED_MAX) * _arg2);
PLAYER_X_SPEED_MAX = ((_local5 * GameSettings.GLOBAL_PLAYER_X_SPEED_MAX) * _arg2);
PLAYER_SPEED_DX_PLUS = ((_local3 * GameSettings.GLOBAL_PLAYER_SPEED_DX_PLUS) * _arg2);
PLAYER_X_SPEED_DX_PLUS = ((_local3 * GameSettings.GLOBAL_PLAYER_X_SPEED_DX_PLUS) * _arg2);
_local6 = 100;
_local7 = Math.round((4 + (3 * Math.random())));
_local8 = Math.round(((TRASSA.length * GameSettings.GAME_LAPS) / _local7));
_local9 = 0;
_local10 = 0;
while (_local10 < _local7) {
_local9 = ((_local8 * _local10) + Math.round(((_local8 / 2) * Math.random())));
PLAYER_TURBO_ARR.push({pos:_local9, amount:Math.round((_local6 / _local7))});
_local10++;
};
trace(((((((((("setParams " + _arg1.path) + " setParams SPEED_MAX:") + PLAYER_SPEED_MAX) + " X_SPEED_MAX:") + PLAYER_X_SPEED_MAX) + " SPEED_DX_PLUS:") + PLAYER_SPEED_DX_PLUS) + " X_SPEED_DX_PLUS:") + PLAYER_X_SPEED_DX_PLUS));
}
public function getPosition():Object{
var _local1:Object;
_local1 = new Object();
_local1.x = PLAYER_X_POSITION;
_local1.y = PLAYER_Y_POSITION;
return (_local1);
}
public function minusArmor(_arg1:Number){
PLAYER_ARMOR_POINTS = (PLAYER_ARMOR_POINTS - _arg1);
if (PLAYER_ARMOR_POINTS <= 0){
PLAYER_ARMOR_POINTS = 0;
setGameStatus("die");
};
}
public function updateStatusGame(_arg1:Boolean=true):void{
var _local2:Boolean;
var _local3:Number;
CUREENT_LAP = Math.ceil((PLAYER_Y_POSITION_GLOBAL / TRASSA.length));
if (PLAYER_TURBO_ARR.length > 0){
if (PLAYER_TURBO_ARR[0].pos == Math.round(PLAYER_Y_POSITION_GLOBAL)){
PLAYER_TURBO_KOF_SET = PLAYER_TURBO_ARR[0].amount;
PLAYER_TURBO_ARR.splice(0, 1);
};
};
_local2 = true;
PLAYER_SPEED = checkYSpeedPlus(PLAYER_SPEED_DX_PLUS);
PLAYER_SPEED = (PLAYER_SPEED * getBorderKof());
if (PLAYER_X_POSITION > X_GOAL){
PLAYER_X_SPEED = checkXSpeedPlus((PLAYER_X_SPEED - PLAYER_X_SPEED_DX_PLUS));
} else {
PLAYER_X_SPEED = checkXSpeedPlus((PLAYER_X_SPEED + PLAYER_X_SPEED_DX_PLUS));
};
if ((PLAYER_TURBO_KOF_SET > 0)){
_local3 = (PLAYER_SPEED_MAX * 1.3);
if (PLAYER_SPEED < _local3){
PLAYER_SPEED = (PLAYER_SPEED + (PLAYER_SPEED_DX_PLUS * 2));
} else {
PLAYER_SPEED = _local3;
};
PLAYER_TURBO_KOF_SET = (PLAYER_TURBO_KOF_SET - PLAYER_TURBO_KOF_MINUS);
_local2 = false;
} else {
if (PLAYER_SPEED > PLAYER_SPEED_MAX){
_local2 = true;
};
};
if (_local2){
PLAYER_SPEED = checkYSpeedMinus2();
};
PLAYER_X_POSITION_LAST = PLAYER_X_POSITION;
PLAYER_Y_POSITION_LAST = PLAYER_Y_POSITION;
PLAYER_X_POSITION = (PLAYER_X_POSITION + PLAYER_X_SPEED);
if (_arg1){
PLAYER_Y_POSITION = (PLAYER_Y_POSITION + PLAYER_SPEED);
PLAYER_Y_POSITION_GLOBAL = (PLAYER_Y_POSITION_GLOBAL + PLAYER_SPEED);
PLAYER_Y_POSITION = GameSettings.nextPosition(PLAYER_Y_POSITION);
};
correctMaxX();
getNewXGoal();
updatePos();
updatePoligonPos();
updateCurrentAngel();
}
public function updatePos2(_arg1:MovieClip):void{
_arg1.PLAYER_X_POSITION = _arg1.x;
_arg1.PLAYER_Y_POSITION = (_arg1.y / 200);
}
public function update():void{
PLAYER_TICKS++;
switch (PLAYER_STATUS){
case "game":
updateStatusGame();
if (CUREENT_LAP > GameSettings.GAME_LAPS){
setGameStatus("finish");
};
break;
case "die":
updateStatusGame();
break;
case "start":
updateStatusGame(false);
break;
case "finish":
updateStatusGame();
break;
};
}
public function updatePos():void{
this.x = PLAYER_X_POSITION;
this.y = (200 * PLAYER_Y_POSITION);
}
public function checkXSpeedMinus(_arg1:Number):Number{
if (_arg1 != 0){
_arg1 = (_arg1 / PLAYER_X_SPEED_DX_MINUS_KOF);
if (Math.abs(_arg1) < 0.1){
_arg1 = 0;
};
};
return (_arg1);
}
public function boom(_arg1:Vector, _arg2:Number, _arg3:MovieClip){
var _local4:Vector;
var _local5:Number;
var _local6:*;
var _local7:*;
var _local8:Number;
var _local9:Vector;
var _local10:Vector;
var _local11:Vector;
var _local12:Vector;
var _local13:Number;
_local4 = new Vector((_arg1.x * _arg2), (_arg1.y * _arg2));
_local5 = _local4.getLength();
_local4.scale(0.5);
_local6 = _local4.x;
_local7 = _local4.y;
this.x = (this.x - _local6);
this.y = (this.y - _local7);
updatePos2(this);
_arg3.x = (_arg3.x + _local6);
_arg3.y = (_arg3.y + _local7);
updatePos2(_arg3);
_local8 = (Math.abs((_arg3.PLAYER_SPEED - this.PLAYER_SPEED)) / 2);
_local9 = new Vector(0, this.PLAYER_SPEED);
_local10 = new Vector(0, _arg3.PLAYER_SPEED);
_local11 = _local9.minusNew(_local10);
_local12 = new Vector((this.x - _arg3.x), (this.y - _arg3.y));
_local12.setLength(_local11.getLength());
_local9.plus(_local12);
_local10.minus(_local12);
this.PLAYER_SPEED = _local9.y;
_arg3.PLAYER_SPEED = _local10.y;
this.PLAYER_X_SPEED = this.checkXSpeedPlus((this.PLAYER_X_SPEED + (_local9.x * 200)));
_arg3.PLAYER_X_SPEED = _arg3.checkXSpeedPlus((_arg3.PLAYER_X_SPEED + (_local10.x * 200)));
_local13 = Math.abs(Math.round((_local4.y / 2)));
this.minusArmor(_local13);
_arg3.minusArmor(_local13);
timeBoomInterval = new Date().getTime();
if ((timeBoomInterval - timeBoomLastInterval) > 100){
SoundFX.playSound(null, "s_boom", 0, _local12.length, getPan());
timeBoomLastInterval = timeBoomInterval;
};
}
public function getBorderKof():Number{
var _local1:Number;
var _local2:Number;
_local1 = 100;
_local2 = (PLAYER_X_POSITION_MAX - _local1);
if (Math.abs(PLAYER_X_POSITION) > _local2){
PLAYER_SCORE_MINUS++;
return ((0.95 + (0.05 * ((PLAYER_X_POSITION_MAX - Math.abs(PLAYER_X_POSITION)) / _local1))));
};
return (1);
}
public function correctMaxX(){
var _local1:Number;
_local1 = Math.abs(PLAYER_X_POSITION);
if (_local1 > PLAYER_X_POSITION_MAX){
PLAYER_X_POSITION = ((_local1 / PLAYER_X_POSITION) * PLAYER_X_POSITION_MAX);
};
}
public function getXPosition():Number{
return (PLAYER_X_POSITION);
}
public function getTurn():Number{
var _local1:Number;
_local1 = (Math.round((30 * (PLAYER_X_POSITION / PLAYER_X_POSITION_MAX))) + 31);
return (_local1);
}
public function getAngle():Number{
return ((30 * (PLAYER_X_SPEED / PLAYER_X_SPEED_MAX)));
}
public function checkYSpeedPlus(_arg1:Number, _arg2:Boolean=false):Number{
if ((((PLAYER_SPEED < PLAYER_SPEED_MAX)) || (_arg2))){
PLAYER_SPEED = (PLAYER_SPEED + _arg1);
PLAYER_SPEED = checkYSpeedMinus(PLAYER_SPEED);
};
return (PLAYER_SPEED);
}
public function getGlobalText():String{
return (GLOBAL_TEXT);
}
public function getPan():Number{
return ((PLAYER_X_POSITION / PLAYER_X_POSITION_MAX));
}
public function getNewXGoal():Number{
var _local1:*;
switch (PLAYER_PATH_TYPE){
case "driveRandom":
X_GOAL_ITERATION++;
if (X_GOAL_ITERATION > X_GOAL_ITERATION_MAX){
X_GOAL_ITERATION = 0;
X_GOAL = getNextRandomXGoal();
};
break;
case "driveToPlayer":
X_GOAL = PLAYERS_ARR[0].PLAYER_X_POSITION;
break;
case "driveOutPlayer":
_local1 = (PLAYERS_ARR[0].PLAYER_X_POSITION + 300);
if (Math.abs(_local1) > (PLAYER_X_POSITION_MAX - 200)){
_local1 = (PLAYERS_ARR[0].PLAYER_X_POSITION - 300);
};
X_GOAL = _local1;
break;
case "driveTo2":
X_GOAL = getNextDriveToN(2);
break;
case "driveTo3":
X_GOAL = getNextDriveToN(3);
break;
case "driveTo4":
X_GOAL = getNextDriveToN(4);
break;
};
return (X_GOAL);
}
public function updateCurrentAngel():void{
PLAYER_ANGEL_KOF = (PLAYER_Y_POSITION - PLAYER_Y_POSITION_LAST);
PLAYER_CURRENT_ANGLE = (PLAYER_CURRENT_ANGLE + (PLAYER_ANGEL_KOF * TRASSA[getYPositionIndex()].angle));
PLAYER_CURRENT_ANGLE = GameSettings.check360(PLAYER_CURRENT_ANGLE);
}
public function getNextRandomXGoal():Number{
var _local1:Number;
_local1 = (PLAYER_X_POSITION_MAX - 200);
return ((-(_local1) + ((_local1 * 2) * Math.random())));
}
public function iniSoperniks(_arg1:Array){
PLAYERS_ARR = _arg1;
}
public function checkYSpeedMinus(_arg1:Number):Number{
if (_arg1 < -(PLAYER_SPEED_MAX)){
_arg1 = -(PLAYER_SPEED_MAX);
};
return (_arg1);
}
public function setMaxSpeed(_arg1:Number):void{
PLAYER_SPEED_MAX = _arg1;
}
public function getPositionForTrassa():Number{
return (GameSettings.nextPosition((PLAYER_Y_POSITION - 3.7)));
}
public function getNextDriveToN(_arg1:uint):Number{
var _local2:Number;
var _local3:Number;
var _local4:*;
var _local5:*;
_local2 = 0;
_local3 = 0;
_local4 = 0;
while (_local4 < PLAYERS_ARR.length) {
_local5 = PLAYERS_ARR[_local4];
if (_local5 != this){
_local2++;
_local3 = (_local3 + PLAYERS_ARR[_local4].PLAYER_X_POSITION);
};
if (_local2 >= 2){
break;
};
_local4++;
};
return ((_local3 / _local2));
}
public function checkYSpeedMinus2():Number{
var _local1:Number;
_local1 = (PLAYER_SPEED / PLAYER_SPEED_DX_MINUS_KOF);
return (_local1);
}
public function correctiveX(){
var _local1:Number;
var _local2:Number;
_local1 = (500 * (PLAYER_Y_POSITION - PLAYER_Y_POSITION_LAST));
_local2 = Math.tan(((TRASSA[getYPositionIndex()].angle * Math.PI) / 180));
PLAYER_X_POSITION = (PLAYER_X_POSITION - (_local1 * _local2));
correctMaxX();
}
}
}//package classes
Section 32
//Panel (classes.Panel)
package classes {
import flash.display.*;
import flash.geom.*;
import fl.motion.*;
import flash.text.*;
public class Panel extends MovieClip {
public var turboLigth:MovieClip;
private var PLAYERS_ARR:Array;
public var laps:TextField;
public var l1:MovieClip;
private var LEVEL:uint;
public var txt:TextField;
public var l2:MovieClip;
public var tracks:MovieClip;
private var PLAYERS_FLAGS:Object;
public var begun2:MovieClip;
private var TRASSA:Array;
public var begun1:MovieClip;
private var currAngle:Number;// = 0
private var PLAYERS_ARR_2:Array;
private var DAngle:Number;// = 0
private var PLAYERS_FLAGS2:Array;
public function Panel(_arg1:Array, _arg2:Array):void{
var _local3:*;
PLAYERS_ARR = new Array();
PLAYERS_ARR_2 = new Array();
PLAYERS_FLAGS = new Object();
PLAYERS_FLAGS2 = new Array();
TRASSA = new Array();
DAngle = 0;
currAngle = 0;
super();
PLAYERS_ARR = _arg1;
TRASSA = _arg2;
for (_local3 in PLAYERS_ARR) {
PLAYERS_ARR_2.push(PLAYERS_ARR[_local3]);
};
LEVEL = GameSettings.CURRENT_LEVEL;
iniPanel();
}
private function rotationTrack(_arg1:Number){
var _local2:Matrix;
_arg1 = ((360 - _arg1) + DAngle);
_local2 = new Matrix();
MatrixTransformer.rotateAroundExternalPoint(_local2, 70, 60, _arg1);
this["tracks"]["t"].transform.matrix = _local2;
this["tracks"]["t"].scaleX = 0.1;
this["tracks"]["t"].scaleY = 0.1;
}
private function iniPanel():void{
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:uint;
this["tracks"].gotoAndStop(Number((LEVEL + 1)));
this.y = (420 - this.height);
switch (LEVEL){
case 0:
DAngle = 90;
break;
case 1:
DAngle = 180;
break;
case 2:
DAngle = 95;
break;
case 3:
DAngle = 100;
break;
case 4:
DAngle = 0;
break;
case 5:
DAngle = -90;
break;
};
for (_local1 in PLAYERS_ARR) {
_local2 = PLAYERS_ARR[_local1];
if (_local1 == 0){
_local3 = new PersonaFlag();
} else {
_local3 = new PersonaFlag2();
};
_local4 = 1;
switch (_local2.PLAYER_TYPE){
case "latinos":
_local4 = 1;
break;
case "afra":
_local4 = 2;
break;
case "bool":
_local4 = 3;
break;
case "blondy":
_local4 = 4;
break;
case "ufoman":
_local4 = 5;
break;
};
PLAYERS_FLAGS[_local2.PLAYER_TYPE] = _local3;
PLAYERS_FLAGS2.push(_local3);
_local3.gotoAndStop(_local4);
this.addChild(_local3);
};
}
public function update():void{
var _local1:uint;
var _local2:Number;
var _local3:*;
PLAYERS_ARR_2.sortOn("PLAYER_Y_POSITION_GLOBAL", Array.NUMERIC);
rotationTrack(PLAYERS_ARR[0].PLAYER_CURRENT_ANGLE);
_local1 = 0;
while (_local1 < PLAYERS_ARR_2.length) {
if ((PLAYERS_FLAGS[PLAYERS_ARR_2[_local1].PLAYER_TYPE] is PersonaFlag)){
PLAYERS_FLAGS[PLAYERS_ARR_2[_local1].PLAYER_TYPE].txt.text = Number((PLAYERS_ARR_2.length - _local1));
};
_local3 = new Point(TRASSA[PLAYERS_ARR_2[_local1].getYPositionIndex()].x, TRASSA[PLAYERS_ARR_2[_local1].getYPositionIndex()].y);
_local3 = this["tracks"]["t"].localToGlobal(_local3);
_local3 = this.globalToLocal(_local3);
PLAYERS_FLAGS[PLAYERS_ARR_2[_local1].PLAYER_TYPE].x = Math.round(_local3.x);
PLAYERS_FLAGS[PLAYERS_ARR_2[_local1].PLAYER_TYPE].y = Math.round(_local3.y);
_local1++;
};
PLAYERS_FLAGS2.sortOn("y", Array.NUMERIC);
_local1 = 0;
while (_local1 < PLAYERS_FLAGS2.length) {
this.removeChild(PLAYERS_FLAGS2[_local1]);
this.addChild(PLAYERS_FLAGS2[_local1]);
_local1++;
};
if (PLAYERS_ARR_2[(PLAYERS_ARR_2.length - 1)] == PLAYERS_ARR[0]){
this["l1"].visible = false;
this["l2"].visible = true;
} else {
this["l1"].visible = true;
this["l2"].visible = false;
};
this["txt"].text = (Math.round(PLAYERS_ARR[0].PLAYER_TURBO_KOF) + "%");
this["begun2"].gotoAndStop(Math.round((1 + ((99 * PLAYERS_ARR[0].PLAYER_SPEED) / PLAYERS_ARR[0].PLAYER_SPEED_MAX))));
this["begun1"].gotoAndStop(Math.round((1 + ((99 * PLAYERS_ARR[0].PLAYER_ARMOR_POINTS) / PLAYERS_ARR[0].PLAYER_ARMOR_POINTS_MAX))));
if (PLAYERS_ARR[0].KEYS_FLAGS.spice){
this["turboLigth"].play();
this["turboLigth"].stopFlag = false;
} else {
this["turboLigth"].stopFlag = true;
};
_local2 = PLAYERS_ARR[0].CUREENT_LAP;
_local2 = ((_local2)>5) ? 5 : _local2;
laps.text = ((String(_local2) + "/") + String(GameSettings.GAME_LAPS));
}
}
}//package classes
Section 33
//PauseMenu (classes.PauseMenu)
package classes {
import flash.display.*;
import flash.events.*;
import classes.media.*;
import flash.net.*;
import flash.text.*;
public class PauseMenu extends MovieClip {
public var exitGameBtn:MovieClip;
public var playGameBtn:MovieClip;
public var bg:MovieClip;
public var txt:TextField;
public var soundGameBtn:MovieClip;
private var PAR:MovieClip;
public var gamezheroBtn:MovieClip;
private var CURRENT_QUALITY:String;
public function PauseMenu(_arg1:MovieClip){
PAR = _arg1;
PAR.addChild(this);
gamezheroBtn.addEventListener(MouseEvent.MOUSE_DOWN, gamezheroAction);
gamezheroBtn.alert = "Free Online Games at gamezhero.com";
playGameBtn.addEventListener(MouseEvent.MOUSE_DOWN, playGameAction);
playGameBtn.alert = "Continue Race";
exitGameBtn.addEventListener(MouseEvent.MOUSE_DOWN, exitGameAction);
exitGameBtn.alert = "Abort this game and exit in main menu";
soundGameBtn.addEventListener(MouseEvent.MOUSE_DOWN, soundGameAction);
soundGameBtn.alert = "Music Control";
gamezheroBtn.addEventListener(MouseEvent.ROLL_OVER, mouseOverFunc);
playGameBtn.addEventListener(MouseEvent.ROLL_OVER, mouseOverFunc);
exitGameBtn.addEventListener(MouseEvent.ROLL_OVER, mouseOverFunc);
soundGameBtn.addEventListener(MouseEvent.ROLL_OVER, mouseOverFunc);
gamezheroBtn.buttonMode = true;
gamezheroBtn.useHandCursor = true;
playGameBtn.buttonMode = true;
playGameBtn.useHandCursor = true;
exitGameBtn.buttonMode = true;
exitGameBtn.useHandCursor = true;
soundGameBtn.buttonMode = true;
soundGameBtn.useHandCursor = true;
CURRENT_QUALITY = stage.quality;
stage.quality = "BEST";
soundGameBtn.gotoAndStop(((GameSettings.GAME_STORED_DATA.data.soundVolumeFlag == 1)) ? 2 : 1);
}
private function playGameAction(_arg1:MouseEvent):void{
SoundFX.playSound(null, "s_click", 0, 0);
diactivateAllButtons();
stage.quality = CURRENT_QUALITY;
PAR.pauseGame(false);
action();
}
private function diactivateAllButtons():void{
gamezheroBtn.removeEventListener(MouseEvent.MOUSE_DOWN, gamezheroAction);
playGameBtn.removeEventListener(MouseEvent.MOUSE_DOWN, playGameAction);
exitGameBtn.removeEventListener(MouseEvent.MOUSE_DOWN, exitGameAction);
}
private function soundGameAction(_arg1:MouseEvent=null){
GameSettings.GAME_STORED_DATA.data.soundVolumeFlag = ((GameSettings.GAME_STORED_DATA.data.soundVolumeFlag == 1)) ? 0 : 1;
soundGameBtn.gotoAndStop(((GameSettings.GAME_STORED_DATA.data.soundVolumeFlag == 1)) ? 2 : 1);
if (GameSettings.GAME_STORED_DATA.data.soundVolumeFlag == 1){
Music.setMusicVolume(GameSettings.MUSIC_VOLUME);
} else {
Music.setMusicVolume(0);
};
}
private function getURL(_arg1:String):void{
var _local2:URLRequest;
_local2 = new URLRequest(_arg1);
navigateToURL(_local2, "_blank");
}
public function action():void{
PAR.removeChild(this);
}
private function mouseOverFunc(_arg1:MouseEvent):void{
var _local2:MovieClip;
SoundFX.playSound(null, "s_over", 0, 0);
_local2 = this[_arg1.target.name];
_local2.blick2.play();
txt.text = _local2.alert;
}
private function exitGameAction(_arg1:MouseEvent):void{
SoundFX.playSound(null, "s_click", 0, 0);
diactivateAllButtons();
stage.quality = CURRENT_QUALITY;
PAR.exitGame();
}
private function gamezheroAction(_arg1:MouseEvent):void{
SoundFX.playSound(null, "s_click", 0, 0);
getURL("http://www.gamezhero.com/?utm_campaign=ufo_racing&utm_source=ufo_racing&utm_medium=zorro_logo_pause");
}
private function mouseOutFunc(_arg1:MouseEvent):void{
txt.text = "";
}
}
}//package classes
Section 34
//Player (classes.Player)
package classes {
import flash.display.*;
import flash.events.*;
import classes.media.*;
public class Player extends MovedRival {
public var KEYS_FLAGS:Object;
public var FIRST:Boolean;// = false
private var sndName2:String;
private var sndName3:String;
private var sndName1:String;
public var KEYS_CODE:Object;
private var soundFinishLabFag:Boolean;// = true
private var SOUND_TURBO_VOLUME:Number;// = 0
public function Player(_arg1:MovieClip, _arg2:Number, _arg3:Array, _arg4:String, _arg5:String, _arg6:Boolean=false, _arg7:Number=0){
KEYS_CODE = new Object();
KEYS_FLAGS = new Object();
FIRST = false;
soundFinishLabFag = true;
SOUND_TURBO_VOLUME = 0;
FIRST = _arg6;
super(_arg1, _arg2, _arg3, _arg4, _arg5);
PLAYER_X_POSITION = _arg7;
sndName1 = ("d1" + PLAYER_TYPE);
sndName2 = ("d2" + PLAYER_TYPE);
sndName3 = ("d3" + PLAYER_TYPE);
SoundFX.playSound(sndName1, "s_motor", "infinity", 0, 0.5);
SoundFX.playSound(sndName2, "s_gas", "infinity", 0, 0);
SoundFX.playSound(sndName3, "s_turbo", "infinity", 0, 0);
}
public function keyDownHandler(_arg1:KeyboardEvent){
switch (_arg1.keyCode){
case KEYS_CODE.up:
KEYS_FLAGS.up = true;
break;
case KEYS_CODE.down:
KEYS_FLAGS.down = true;
break;
case KEYS_CODE.left:
KEYS_FLAGS.left = true;
break;
case KEYS_CODE.right:
KEYS_FLAGS.right = true;
break;
case KEYS_CODE.spice:
KEYS_FLAGS.spice = true;
break;
};
}
override public function minusArmor(_arg1:Number){
PLAYER_ARMOR_POINTS = (PLAYER_ARMOR_POINTS - _arg1);
if (PLAYER_ARMOR_POINTS <= 0){
PLAYER_ARMOR_POINTS = 0;
GOAL.setFinishGame(this, true);
setGameStatus("die");
};
}
public function updateStartGame():void{
PLAYER_START_AMOUNT = (PLAYER_START_AMOUNT - 0.02);
GLOBAL_TEXT = ((">> " + String(Math.ceil(PLAYER_START_AMOUNT))) + " <<");
if (PLAYER_START_AMOUNT < 0){
GLOBAL_TEXT = "START";
GOAL.setStartGame();
};
}
public function keyUpHandler(_arg1:KeyboardEvent){
switch (_arg1.keyCode){
case KEYS_CODE.up:
KEYS_FLAGS.up = false;
break;
case KEYS_CODE.down:
KEYS_FLAGS.down = false;
break;
case KEYS_CODE.left:
KEYS_FLAGS.left = false;
break;
case KEYS_CODE.right:
KEYS_FLAGS.right = false;
break;
case KEYS_CODE.spice:
KEYS_FLAGS.spice = false;
break;
};
}
override public function updateStatusGame(_arg1:Boolean=true):void{
var _local2:Boolean;
var _local3:Number;
CUREENT_LAP = Math.ceil((PLAYER_Y_POSITION_GLOBAL / TRASSA.length));
_local2 = false;
if (KEYS_FLAGS.up){
PLAYER_SPEED = checkYSpeedPlus(PLAYER_SPEED_DX_PLUS);
PLAYER_SPEED = (PLAYER_SPEED * getBorderKof());
} else {
if (KEYS_FLAGS.down){
PLAYER_SPEED = checkYSpeedMinus((PLAYER_SPEED - PLAYER_SPEED_DX_PLUS));
} else {
_local2 = true;
};
};
if (((KEYS_FLAGS.spice) && ((PLAYER_TURBO_KOF > 0)))){
SOUND_TURBO_VOLUME = (SOUND_TURBO_VOLUME + 0.1);
if (SOUND_TURBO_VOLUME > 1){
SOUND_TURBO_VOLUME = 1;
};
_local3 = (PLAYER_SPEED_MAX * 1.3);
if (PLAYER_SPEED < _local3){
PLAYER_SPEED = (PLAYER_SPEED + (PLAYER_SPEED_DX_PLUS * 2));
} else {
PLAYER_SPEED = _local3;
};
PLAYER_TURBO_KOF = (PLAYER_TURBO_KOF - PLAYER_TURBO_KOF_MINUS);
} else {
SOUND_TURBO_VOLUME = (SOUND_TURBO_VOLUME - 0.1);
if (SOUND_TURBO_VOLUME < 0){
SOUND_TURBO_VOLUME = 0;
};
if (PLAYER_SPEED > PLAYER_SPEED_MAX){
_local2 = true;
};
};
if (_local2){
PLAYER_SPEED = checkYSpeedMinus2();
};
if (KEYS_FLAGS.left){
PLAYER_X_SPEED = checkXSpeedPlus((PLAYER_X_SPEED - PLAYER_X_SPEED_DX_PLUS));
} else {
if (KEYS_FLAGS.right){
PLAYER_X_SPEED = checkXSpeedPlus((PLAYER_X_SPEED + PLAYER_X_SPEED_DX_PLUS));
} else {
PLAYER_X_SPEED = checkXSpeedMinus(PLAYER_X_SPEED);
};
};
PLAYER_X_POSITION_LAST = PLAYER_X_POSITION;
PLAYER_Y_POSITION_LAST = PLAYER_Y_POSITION;
PLAYER_X_POSITION = (PLAYER_X_POSITION + PLAYER_X_SPEED);
if (_arg1){
PLAYER_Y_POSITION = (PLAYER_Y_POSITION + PLAYER_SPEED);
PLAYER_Y_POSITION_GLOBAL = (PLAYER_Y_POSITION_GLOBAL + PLAYER_SPEED);
PLAYER_Y_POSITION = GameSettings.nextPosition(PLAYER_Y_POSITION);
};
correctiveX();
updatePos();
updatePoligonPos();
updateCurrentAngel();
}
override public function update():void{
PLAYER_TICKS++;
updateSound();
switch (PLAYER_STATUS){
case "game":
updateStatusGame();
if (FIRST){
if (CUREENT_LAP < GameSettings.GAME_LAPS){
GLOBAL_TEXT = ("LAP: " + CUREENT_LAP);
} else {
if (CUREENT_LAP == GameSettings.GAME_LAPS){
GLOBAL_TEXT = "FINAL LAP";
if (soundFinishLabFag == true){
soundFinishLabFag = false;
SoundFX.playSound(null, "s_final");
};
};
};
};
if (CUREENT_LAP > GameSettings.GAME_LAPS){
setGameStatus("finish");
GOAL.setFinishGame(this);
};
break;
case "die":
updateStatusGame();
break;
case "start":
updateStatusGame(false);
break;
case "finish":
updateStatusGame();
break;
case "null":
updateStatusGame();
break;
};
}
public function clearEvents(_arg1:Event=null):void{
stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler);
stage.removeEventListener(KeyboardEvent.KEY_UP, keyUpHandler);
this.removeEventListener(Event.REMOVED, clearEvents);
}
private function updateSound(){
var _local1:Number;
var _local2:Number;
var _local3:Number;
_local1 = (PLAYER_SPEED / PLAYER_SPEED_MAX);
_local2 = getPan();
_local3 = SOUND_TURBO_VOLUME;
SoundFX.setVolumeKofByID(sndName2, _local1);
SoundFX.setVolumeKofByID(sndName3, _local3);
SoundFX.setPanByID(sndName1, _local2);
SoundFX.setPanByID(sndName2, _local2);
SoundFX.setPanByID(sndName3, _local3);
}
public function iniKeyboard(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number){
KEYS_CODE.up = _arg1;
KEYS_CODE.down = _arg2;
KEYS_CODE.left = _arg3;
KEYS_CODE.right = _arg4;
KEYS_CODE.spice = _arg5;
KEYS_FLAGS.up = false;
KEYS_FLAGS.down = false;
KEYS_FLAGS.left = false;
KEYS_FLAGS.right = false;
KEYS_FLAGS.spice = false;
stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler);
stage.addEventListener(KeyboardEvent.KEY_UP, keyUpHandler);
this.addEventListener(Event.REMOVED, clearEvents);
}
}
}//package classes
Section 35
//RoadItem (classes.RoadItem)
package classes {
import flash.display.*;
import flash.geom.*;
public class RoadItem extends MovieClip {
public var psevdoScale:Number;// = 0
public var ANGLE_:Number;// = 0
public var skinRoad:MovieClip;
public var ANGLE:Number;// = 0
public var INDEX:Number;// = 0
public var POSSITION_INDEX:Number;// = 0
public function RoadItem(_arg1, _arg2, _arg3, _arg4, _arg5){
ANGLE = 0;
ANGLE_ = 0;
POSSITION_INDEX = 0;
INDEX = 0;
psevdoScale = 0;
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3);
this.scaleX = _arg2;
this.scaleY = _arg3;
this.y = _arg4;
this.x = _arg5;
setAngleForItem(0, 0);
INDEX = _arg1;
}
public function getIndex():Number{
return (INDEX);
}
public function getPsevdoHeight():Number{
return ((GameSettings.DY * psevdoScale));
}
public function setAlpha(_arg1:Number, _arg2:Number):void{
if (_arg1 == (GameSettings.N - 1)){
this.skinRoad.alpha = _arg2;
} else {
this.skinRoad.alpha = 1;
};
}
public function getHeight():Number{
return ((GameSettings.DY * this.scaleY));
}
public function getAngle():Number{
return (ANGLE);
}
public function setPsevdoScale(_arg1:Number):void{
psevdoScale = _arg1;
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
public function setAngle(_arg1:Number){
ANGLE = _arg1;
}
public function getPositionIndex():Number{
return (POSSITION_INDEX);
}
public function setAngleForItem(_arg1:Number, _arg2:Number):void{
var _local3:Matrix;
ANGLE = _arg2;
ANGLE_ = _arg1;
_local3 = this.skinRoad.transform.matrix;
_local3.c = -(_arg2);
this.skinRoad.transform.matrix = _local3;
}
public function getAngle_():Number{
return (ANGLE_);
}
public function setPositionIndex(_arg1:Number){
POSSITION_INDEX = _arg1;
}
}
}//package classes
Section 36
//Screen (classes.Screen)
package classes {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import fl.motion.*;
import classes.playerSkins.*;
public class Screen extends MovieClip {
public var TRASSA_ARR:Array;
public var SKY:Sky;
public var X0:Number;// = 0
public var Y0:Number;// = 0
public var ARRAY_OF_SCALE:Array;
public var HEIGHT_2:Number;
public var POSITION_INDEX:Number;
public var POSITION:Number;
public var HEIGHT:Number;
public var TRASSA_EATH:Array;
public var SCREEN_X:Number;
public var curPlayer:Object;
public var POSITION_DX:Number;
public var SCREEN_Y:Number;
public var EATH_ARR:Array;
public var PLAEYRS:Array;
public var WIDTH:Number;
private var CORRECT_Y:Number;// = 0
public var TRASSA:Array;
private var correctX1:Number;
public var TRASSA_EATH_OBJ:Array;
public var screenBg:MovieClip;
private var correctX2:Number;
public var LEVEL_INFO:Object;
public var WIDTH_2:Number;
private var lastAngle:Number;// = 0
public var POSITION_INDEX_LAST:Number;
public function Screen(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Array, _arg6:Object, _arg7:Number=140):void{
X0 = 0;
Y0 = 0;
ARRAY_OF_SCALE = new Array();
TRASSA_ARR = new Array();
EATH_ARR = new Array();
TRASSA_EATH = new Array();
TRASSA_EATH_OBJ = new Array();
PLAEYRS = new Array();
CORRECT_Y = 0;
lastAngle = 0;
super();
WIDTH = _arg3;
HEIGHT = _arg4;
Y0 = (-(((GameSettings.GAME_HEIGHT - _arg4) / 2)) + _arg7);
WIDTH_2 = (_arg1 + (_arg3 / 2));
HEIGHT_2 = (_arg2 + (_arg4 / 2));
SCREEN_X = _arg1;
SCREEN_Y = _arg2;
TRASSA = _arg5;
LEVEL_INFO = _arg6;
correctX1 = 0;
correctX2 = 0;
this.addEventListener(Event.ADDED_TO_STAGE, setMask);
}
public function updateEathObjectsSkins(_arg1, _arg2, _arg3):void{
var _local4:Number;
var _local5:EathObject;
var _local6:*;
if (_arg2){
if ((TRASSA_EATH[_arg1][0] == false)){
if ((TRASSA[_arg1].eath.length > 0)){
_local4 = 0;
while (_local4 < TRASSA[_arg1].eath.length) {
_local5 = new EathObject(TRASSA[_arg1].eath[_local4]);
this.addChild(_local5);
TRASSA_EATH[_arg1].push(_local5);
TRASSA_EATH_OBJ.push(_local5);
_local4++;
};
};
TRASSA_EATH[_arg1][0] = true;
};
_local4 = 1;
while (_local4 < TRASSA_EATH[_arg1].length) {
TRASSA_EATH[_arg1][_local4].update(_arg3, curPlayer.player.getGlobalText());
_local4++;
};
} else {
if (TRASSA_EATH[_arg1][0] == true){
while (TRASSA_EATH[_arg1].length > 1) {
_local6 = this.removeChild(TRASSA_EATH[_arg1][1]);
TRASSA_EATH[_arg1].splice(1, 1);
TRASSA_EATH_OBJ.splice(TRASSA_EATH_OBJ.indexOf(_local6), 1);
};
TRASSA_EATH[_arg1][0] = false;
};
};
}
public function screenRotation(_arg1:Number):void{
var _local2:Matrix;
var _local3:Number;
_local2 = new Matrix();
_local2 = this.transform.matrix;
_local3 = (lastAngle - _arg1);
MatrixTransformer.rotateAroundExternalPoint(_local2, WIDTH_2, HEIGHT_2, _local3);
this.transform.matrix = _local2;
lastAngle = _arg1;
}
public function iniScaleKof():void{
var _local1:Number;
var _local2:Object;
_local1 = 0;
while (_local1 < GameSettings.N) {
_local2 = new Object();
_local2.endScale = (1 * Math.pow(GameSettings.KOF_SCALE, _local1));
_local2.beginScale = (_local2.endScale * GameSettings.KOF_SCALE);
_local2.dxScale = (_local2.endScale - _local2.beginScale);
ARRAY_OF_SCALE.push(_local2);
_local1++;
};
}
public function updateEathObjectsDepths():void{
var _local1:Number;
TRASSA_EATH_OBJ.sortOn("y", Array.NUMERIC);
_local1 = 0;
while (_local1 < TRASSA_EATH_OBJ.length) {
this.setChildIndex(TRASSA_EATH_OBJ[_local1], (this.numChildren - 1));
_local1++;
};
}
public function setMask(_arg1:Event){
var _local2:MovieClip;
var _local3:Number;
var _local4:Number;
var _local5:Object;
_local2 = new MovieClip();
_local2.graphics.lineStyle(1, 0xFF0000, 100);
_local2.graphics.beginFill(0xFF0000, 100);
_local2.graphics.moveTo(0, 0);
_local2.graphics.lineTo(WIDTH, 0);
_local2.graphics.lineTo(WIDTH, HEIGHT);
_local2.graphics.lineTo(0, HEIGHT);
_local2.graphics.moveTo(0, 0);
_local2.x = SCREEN_X;
_local2.y = SCREEN_Y;
_local2.visible = false;
parent.addChild(_local2);
this.mask = _local2;
this.x = SCREEN_X;
this.y = SCREEN_Y;
trace(((x + " ") + y));
_local3 = Math.min(WIDTH, HEIGHT);
this.width = WIDTH;
this.height = HEIGHT;
_local4 = 0;
while (_local4 < TRASSA.length) {
TRASSA_EATH[_local4] = new Array();
TRASSA_EATH[_local4][0] = false;
_local4++;
};
iniScaleKof();
createTrassa();
_local5 = LEVEL_INFO.horizontColor;
if (_local5 != null){
MovieClip(this.screenBg).transform.colorTransform = new ColorTransform(1, 1, 1, 1, _local5.r, _local5.g, _local5.b, 0);
} else {
MovieClip(this.screenBg).transform.colorTransform = new ColorTransform(1, 1, 1, 1, 0, 0, 0, 0);
};
screenBg.width = 1000;
screenBg.x = (-((1000 - 585)) / 2);
}
public function screenBoom():void{
}
public function setTrassa(_arg1:Number):void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:*;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:*;
var _local15:Number;
POSITION = _arg1;
POSITION_INDEX = Math.floor(POSITION);
POSITION_INDEX_LAST = GameSettings.nextPoint((POSITION_INDEX + GameSettings.N));
POSITION_DX = (POSITION - POSITION_INDEX);
_local2 = Number(POSITION_DX);
updateEathObjectsSkins(GameSettings.nextPoint((POSITION_INDEX - 1)), false, null);
_local4 = 0;
while (_local4 < TRASSA_ARR.length) {
_local5 = GameSettings.nextPoint((POSITION_INDEX + _local4));
_local6 = TRASSA[_local5].bugor;
MovieClip(TRASSA_ARR[_local4]).skinRoad.gotoAndStop(((_local5 % 2) + 1));
MovieClip(TRASSA_ARR[_local4]).scaleX = (ARRAY_OF_SCALE[_local4].beginScale + (ARRAY_OF_SCALE[_local4].dxScale * _local2));
MovieClip(TRASSA_ARR[_local4]).scaleY = (MovieClip(TRASSA_ARR[_local4]).scaleX * _local6);
MovieClip(TRASSA_ARR[_local4]).setPsevdoScale(MovieClip(TRASSA_ARR[_local4]).scaleX);
_local7 = new Object();
_local7 = LEVEL_INFO.horizontColor;
if (_local7 != null){
_local9 = MovieClip(TRASSA_ARR[_local4]).scaleX;
MovieClip(EATH_ARR[_local4]).transform.colorTransform = new ColorTransform(_local9, _local9, _local9, 1, (_local7.r - (_local7.r * _local9)), (_local7.g - (_local7.g * _local9)), (_local7.b - (_local7.b * _local9)), 0);
};
RoadItem(TRASSA_ARR[_local4]).setPositionIndex(_local5);
if (_local4 == 0){
_local10 = (curPlayer.player.getXPosition() / GameSettings.GAME_TRASSA_WIDTH_2);
_local11 = (-200 * _local10);
_local12 = (GameSettings.angel0 * _local10);
TRASSA_ARR[_local4].y = ((Y0 + GameSettings.GAME_HEIGHT) + ((GameSettings.DY * _local2) * _local6));
_local3 = ((TRASSA[GameSettings.nextPoint((POSITION_INDEX + _local4))].angle * (1 - _local2)) + _local12);
if (_local3 > 80){
_local3 = 80;
};
if (_local3 < -80){
_local3 = -80;
};
_local13 = 0;
if (_local3 != 0){
_local13 = ((-(_local2) * GameSettings.DY) * Math.tan(((_local3 * Math.PI) / 180)));
};
_local14 = (((X0 + GameSettings.GAME_WIDTH_2) + _local11) + _local13);
} else {
_local15 = (TRASSA_ARR[(_local4 - 1)].y - TRASSA_ARR[(_local4 - 1)].getHeight());
TRASSA_ARR[_local4].y = _local15;
_local3 = (_local3 + TRASSA[GameSettings.nextPoint((POSITION_INDEX + _local4))].angle);
if (_local3 > 80){
_local3 = 80;
};
if (_local3 < -80){
_local3 = -80;
};
};
TRASSA_ARR[_local4].x = _local14;
_local8 = 0;
if (_local3 != 0){
_local8 = Math.tan(((_local3 * Math.PI) / 180));
_local14 = (_local14 + (_local8 * TRASSA_ARR[_local4].getPsevdoHeight()));
};
MovieClip(EATH_ARR[_local4]).scaleY = MovieClip(TRASSA_ARR[_local4]).scaleY;
MovieClip(EATH_ARR[_local4]).y = MovieClip(TRASSA_ARR[_local4]).y;
RoadItem(TRASSA_ARR[_local4]).setAngleForItem(_local3, _local8);
RoadItem(TRASSA_ARR[_local4]).setAlpha(_local4, _local2);
_local4++;
};
correctX1 = (GameSettings.GAME_WIDTH_2 - TRASSA_ARR[(TRASSA_ARR.length - 1)].x);
correctX2 = (correctX2 - ((correctX2 - correctX1) / 10));
_local4 = 0;
while (_local4 < TRASSA_ARR.length) {
TRASSA_ARR[_local4].x = (TRASSA_ARR[_local4].x + correctX2);
_local5 = GameSettings.nextPoint((POSITION_INDEX + _local4));
updateEathObjectsSkins(_local5, true, TRASSA_ARR[_local4]);
_local4++;
};
updateEathObjectsSkins(GameSettings.nextPoint((POSITION_INDEX + TRASSA_ARR.length)), false, null);
updateEathObjectsDepths();
updatePlayerSkins();
updatePlayerDepths();
SKY.setAngle(curPlayer.player.PLAYER_CURRENT_ANGLE);
SKY.setY(_local15);
screenRotation((-(curPlayer.skinPlayer.ufo.rotation) / 5));
}
public function createTrassa(){
var _local1:Number;
var _local2:Number;
SKY = new Sky(this, LEVEL_INFO);
SKY.y = (HEIGHT / 2);
this.addChild(SKY);
_local1 = (GameSettings.GAME_HEIGHT + Y0);
_local2 = 0;
while (_local2 < GameSettings.N) {
addToTrassaEath(_local2);
_local2++;
};
_local2 = 0;
while (_local2 < GameSettings.N) {
_local1 = addToTrassaItem(_local2, _local1);
_local2++;
};
}
public function setObjectAlpha(_arg1:MovieClip, _arg2:Number, _arg3:Number):void{
if ((_arg2 > 0)){
_arg3 = 1;
};
_arg1.alpha = (_arg1.alpha - ((_arg1.alpha - _arg3) / 5));
if (_arg1.alpha > 0.95){
_arg1.alpha = 1;
};
}
private function getAngelAverage(_arg1:Number, _arg2:Number):Number{
var _local3:Number;
var _local4:Number;
_local3 = 0;
_local4 = 0;
while (_local4 < _arg2) {
_local3 = (_local3 + TRASSA[GameSettings.nextPoint(((POSITION_INDEX + _arg1) + _local4))].angle);
_local4++;
};
return ((_local3 / _arg2));
}
public function updatePlayerSkins():void{
var _local1:Number;
var _local2:Object;
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Boolean;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:int;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Number;
var _local15:Number;
var _local16:Number;
var _local17:*;
_local1 = 0;
while (_local1 < PLAEYRS.length) {
_local2 = PLAEYRS[_local1];
_local3 = _local2.player.getYPosition();
_local4 = Math.floor(_local3);
_local5 = _local2.player.getXPosition();
_local6 = false;
_local7 = 0;
while (_local7 < TRASSA_ARR.length) {
if (RoadItem(TRASSA_ARR[_local7]).getPositionIndex() == _local4){
_local6 = true;
break;
};
_local7++;
};
if (_local6){
_local8 = (_local3 - _local4);
_local9 = 1;
_local9 = (GameSettings.N / (_local7 + 1));
_local10 = GameSettings.nextPoint((_local4 - POSITION_INDEX));
_local11 = (_local8 * TRASSA_ARR[_local10].getHeight());
_local12 = (_local8 * TRASSA_ARR[_local10].getPsevdoHeight());
_local13 = (TRASSA_ARR[_local10].scaleX - (_local8 * (TRASSA_ARR[_local10].scaleX - ((TRASSA_ARR[_local10].scaleX * ARRAY_OF_SCALE[_local10].beginScale) / ARRAY_OF_SCALE[_local10].endScale))));
_local2.skinPlayer.scaleX = _local13;
_local2.skinPlayer.scaleY = _local13;
_local14 = (TRASSA_ARR[_local10].y - _local11);
_local15 = ((TRASSA_ARR[_local10].x + (_local12 * RoadItem(TRASSA_ARR[_local10]).getAngle())) + (_local5 * _local13));
_local2.skinPlayer.y = (_local2.skinPlayer.y - ((_local2.skinPlayer.y - _local14) / _local9));
_local2.skinPlayer.x = (_local2.skinPlayer.x - ((_local2.skinPlayer.x - _local15) / _local9));
_local2.skinPlayer.ufo.rotation = (_local2.skinPlayer.ufo.rotation - ((_local2.skinPlayer.ufo.rotation - _local2.player.getAngle()) / 10));
_local16 = _local2.player.getTurn();
_local2.skinPlayer.ufo.gotoAndStop(_local16);
_local2.skinPlayer.ufo.t1.gotoAndStop(_local16);
_local2.skinPlayer.ufo.t2.gotoAndStop(_local16);
_local2.skinPlayer.ufo.t3.gotoAndStop(_local16);
_local2.y = _local2.skinPlayer.y;
_local2.skinPlayer.visible = true;
if ((((_local2.player.PLAYER_STATUS == "die")) && ((_local2.player.firstDieFlag == true)))){
_local2.player.firstDieFlag = false;
_local17 = new Fire();
_local2.skinPlayer.addChild(_local17);
};
if ((((_local10 == 0)) || ((_local10 == 14)))){
setObjectAlpha(_local2.skinPlayer, -1, 0);
} else {
setObjectAlpha(_local2.skinPlayer, _local7, _local8);
};
} else {
_local2.skinPlayer.alpha = 0;
};
_local1++;
};
}
public function addToTrassaEath(_arg1:Number):void{
var _local2:EathItem;
_local2 = new EathItem();
_local2.gotoAndStop(Number((LEVEL_INFO.world + 1)));
this.addChild(_local2);
_local2.x = (_local2.x - ((_local2.width - GameSettings.GAME_WIDTH) / 2));
EATH_ARR.push(_local2);
if (LEVEL_INFO.horizontColor == null){
MovieClip(_local2).visible = false;
};
}
public function addToTrassaItem(_arg1:Number, _arg2:Number):Number{
var _local3:RoadItem;
_local3 = new RoadItem(_arg1, ARRAY_OF_SCALE[_arg1].beginScale, ARRAY_OF_SCALE[_arg1].beginScale, (_arg2 + Y0), ((GameSettings.GAME_WIDTH / 2) + X0));
_arg2 = (_arg2 - _local3.height);
_local3.gotoAndStop(Number((LEVEL_INFO.world + 1)));
this.addChild(_local3);
TRASSA_ARR.push(_local3);
return (_arg2);
}
public function updatePlayerDepths():void{
var _local1:Number;
PLAEYRS.sortOn("y", Array.NUMERIC);
_local1 = 0;
while (_local1 < PLAEYRS.length) {
this.setChildIndex(PLAEYRS[_local1].skinPlayer, (this.numChildren - 1));
_local1++;
};
}
public function addPlayer(_arg1:MovieClip, _arg2:String, _arg3:Object=null, _arg4:Boolean=false){
var _local5:Object;
var _local6:PlayerSkin;
trace("ADD PLAYER ");
_local5 = new Object();
_local5.player = _arg1;
_local6 = new PlayerSkin(_arg2, _arg3);
_local6.name = ("player" + PLAEYRS.length);
_local6.visible = false;
_local5.skinPlayer = _local6;
this.addChild(_local6);
if (_arg4){
curPlayer = _local5;
};
PLAEYRS.push(_local5);
}
}
}//package classes
Section 37
//Sky (classes.Sky)
package classes {
import classes.math.*;
import flash.display.*;
import flash.geom.*;
public class Sky extends MovieClip {
private var CURRENT_ALPHA:Number;// = 0
public var skinMc:MovieClip;
private var CENTER:Vector;
private var SCREEN:MovieClip;
private var BLICKSPRITE:Blicks;
private var WIDTH:Number;
private var LEVEL_INFO:Object;
private var SUN_:Sun;
public function Sky(_arg1:MovieClip, _arg2:Object):void{
CURRENT_ALPHA = 0;
super();
trace("SKY");
WIDTH = (GameSettings.GAME_WIDTH * 2);
SCREEN = _arg1;
this.x = 0;
LEVEL_INFO = _arg2;
this["skinMc"].gotoAndStop(Number((LEVEL_INFO.world + 1)));
iniSunSky();
}
public function setY(_arg1):void{
this.y = (this.y - ((this.y - _arg1) / 5));
}
private function iniSunSky():void{
if (((!((LEVEL_INFO.sun == null))) && (!((GameSettings.GAME_TYPE == "2in1"))))){
SUN_ = new Sun();
SUN_.y = LEVEL_INFO.sun.y;
this.addChild(SUN_);
CENTER = new Vector((SCREEN.WIDTH_2 - SCREEN.SCREEN_X), (SCREEN.HEIGHT_2 - SCREEN.SCREEN_Y));
BLICKSPRITE = new Blicks();
SCREEN.addChild(BLICKSPRITE);
};
}
public function setAngle(_arg1:Number):void{
CURRENT_ALPHA = _arg1;
CURRENT_ALPHA = GameSettings.check360(_arg1);
this["skinMc"].x = (-((CURRENT_ALPHA / 360)) * WIDTH);
updateSun();
}
private function updateSun():void{
var _local1:Number;
var _local2:Point;
if (((!((LEVEL_INFO.sun == null))) && (!((GameSettings.GAME_TYPE == "2in1"))))){
_local1 = ((((LEVEL_INFO.sun.x < 180)) && ((CURRENT_ALPHA > 180)))) ? (this["skinMc"].x + WIDTH) : this["skinMc"].x;
SUN_.x = (_local1 + LEVEL_INFO.sun.x);
_local2 = new Point();
_local2.x = SUN_.x;
_local2.y = SUN_.y;
_local2 = this.localToGlobal(_local2);
_local2 = SCREEN.globalToLocal(_local2);
BLICKSPRITE.setBlicks(CENTER.x, CENTER.y, _local2.x, _local2.y);
SCREEN.removeChild(BLICKSPRITE);
SCREEN.addChild(BLICKSPRITE);
};
}
}
}//package classes
Section 38
//Vorota (classes.Vorota)
package classes {
import flash.display.*;
import flash.events.*;
public class Vorota extends MovieClip {
public var ACTION_FRAME;
public var GOAL:MovieClip;
public var ACTION_GOAL:MovieClip;
public var CLOSE_FLAG:Boolean;
public var ACTION_FUNCTION:Function;
public function Vorota(_arg1:MovieClip, _arg2:Boolean=true, _arg3:MovieClip=null, _arg4=1, _arg5:Function=null):void{
addFrameScript(0, frame1, 14, frame15);
GOAL = _arg1;
CLOSE_FLAG = _arg2;
ACTION_GOAL = _arg3;
ACTION_FRAME = _arg4;
ACTION_FUNCTION = _arg5;
this.addEventListener(Event.ADDED_TO_STAGE, ini);
this.addEventListener(Event.ENTER_FRAME, update);
GOAL.addChild(this);
}
private function ini(_arg1:Event):void{
if (CLOSE_FLAG == true){
this.gotoAndStop("close");
} else {
this.gotoAndStop("open");
};
}
private function action(){
this.removeEventListener(Event.ENTER_FRAME, update);
if (ACTION_GOAL != null){
if (ACTION_FUNCTION != null){
ACTION_FUNCTION.call(null);
};
ACTION_GOAL.gotoAndStop(ACTION_FRAME);
};
GOAL.removeChild(this);
}
function frame15(){
stop();
}
function frame1(){
stop();
}
private function update(_arg1:Event):void{
this.gotoAndStop((this.currentFrame + 1));
if (CLOSE_FLAG == true){
if (this.currentLabel == "open"){
action();
};
} else {
if (this.currentLabel == "close2"){
action();
};
};
}
}
}//package classes
Section 39
//MatrixTransformer (fl.motion.MatrixTransformer)
package fl.motion {
import flash.geom.*;
public class MatrixTransformer {
public static function getSkewY(_arg1:Matrix):Number{
return ((Math.atan2(_arg1.b, _arg1.a) * (180 / Math.PI)));
}
public static function getScaleX(_arg1:Matrix):Number{
return (Math.sqrt(((_arg1.a * _arg1.a) + (_arg1.b * _arg1.b))));
}
public static function getScaleY(_arg1:Matrix):Number{
return (Math.sqrt(((_arg1.c * _arg1.c) + (_arg1.d * _arg1.d))));
}
public static function setSkewXRadians(_arg1:Matrix, _arg2:Number):void{
var _local3:Number;
_local3 = getScaleY(_arg1);
_arg1.c = (-(_local3) * Math.sin(_arg2));
_arg1.d = (_local3 * Math.cos(_arg2));
}
public static function setRotation(_arg1:Matrix, _arg2:Number):void{
setRotationRadians(_arg1, (_arg2 * (Math.PI / 180)));
}
public static function rotateAroundInternalPoint(_arg1:Matrix, _arg2:Number, _arg3:Number, _arg4:Number):void{
var _local5:Point;
_local5 = new Point(_arg2, _arg3);
_local5 = _arg1.transformPoint(_local5);
_arg1.tx = (_arg1.tx - _local5.x);
_arg1.ty = (_arg1.ty - _local5.y);
_arg1.rotate((_arg4 * (Math.PI / 180)));
_arg1.tx = (_arg1.tx + _local5.x);
_arg1.ty = (_arg1.ty + _local5.y);
}
public static function setSkewX(_arg1:Matrix, _arg2:Number):void{
setSkewXRadians(_arg1, (_arg2 * (Math.PI / 180)));
}
public static function setSkewY(_arg1:Matrix, _arg2:Number):void{
setSkewYRadians(_arg1, (_arg2 * (Math.PI / 180)));
}
public static function setScaleX(_arg1:Matrix, _arg2:Number):void{
var _local3:Number;
var _local4:Number;
var _local5:Number;
_local3 = getScaleX(_arg1);
if (_local3){
_local4 = (_arg2 / _local3);
_arg1.a = (_arg1.a * _local4);
_arg1.b = (_arg1.b * _local4);
} else {
_local5 = getSkewYRadians(_arg1);
_arg1.a = (Math.cos(_local5) * _arg2);
_arg1.b = (Math.sin(_local5) * _arg2);
};
}
public static function setScaleY(_arg1:Matrix, _arg2:Number):void{
var _local3:Number;
var _local4:Number;
var _local5:Number;
_local3 = getScaleY(_arg1);
if (_local3){
_local4 = (_arg2 / _local3);
_arg1.c = (_arg1.c * _local4);
_arg1.d = (_arg1.d * _local4);
} else {
_local5 = getSkewXRadians(_arg1);
_arg1.c = (-(Math.sin(_local5)) * _arg2);
_arg1.d = (Math.cos(_local5) * _arg2);
};
}
public static function setRotationRadians(_arg1:Matrix, _arg2:Number):void{
var _local3:Number;
var _local4:Number;
_local3 = getRotationRadians(_arg1);
_local4 = getSkewXRadians(_arg1);
setSkewXRadians(_arg1, ((_local4 + _arg2) - _local3));
setSkewYRadians(_arg1, _arg2);
}
public static function setSkewYRadians(_arg1:Matrix, _arg2:Number):void{
var _local3:Number;
_local3 = getScaleX(_arg1);
_arg1.a = (_local3 * Math.cos(_arg2));
_arg1.b = (_local3 * Math.sin(_arg2));
}
public static function getSkewX(_arg1:Matrix):Number{
return ((Math.atan2(-(_arg1.c), _arg1.d) * (180 / Math.PI)));
}
public static function getSkewYRadians(_arg1:Matrix):Number{
return (Math.atan2(_arg1.b, _arg1.a));
}
public static function getSkewXRadians(_arg1:Matrix):Number{
return (Math.atan2(-(_arg1.c), _arg1.d));
}
public static function getRotation(_arg1:Matrix):Number{
return ((getRotationRadians(_arg1) * (180 / Math.PI)));
}
public static function rotateAroundExternalPoint(_arg1:Matrix, _arg2:Number, _arg3:Number, _arg4:Number):void{
_arg1.tx = (_arg1.tx - _arg2);
_arg1.ty = (_arg1.ty - _arg3);
_arg1.rotate((_arg4 * (Math.PI / 180)));
_arg1.tx = (_arg1.tx + _arg2);
_arg1.ty = (_arg1.ty + _arg3);
}
public static function getRotationRadians(_arg1:Matrix):Number{
return (getSkewYRadians(_arg1));
}
public static function matchInternalPointWithExternal(_arg1:Matrix, _arg2:Point, _arg3:Point):void{
var _local4:Point;
var _local5:Number;
var _local6:Number;
_local4 = _arg1.transformPoint(_arg2);
_local5 = (_arg3.x - _local4.x);
_local6 = (_arg3.y - _local4.y);
_arg1.tx = (_arg1.tx + _local5);
_arg1.ty = (_arg1.ty + _local6);
}
}
}//package fl.motion
Section 40
//blick_81 (turbostarracing_fla.blick_81)
package turbostarracing_fla {
import flash.display.*;
public dynamic class blick_81 extends MovieClip {
public function blick_81(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package turbostarracing_fla
Section 41
//blick2_76 (turbostarracing_fla.blick2_76)
package turbostarracing_fla {
import flash.display.*;
public dynamic class blick2_76 extends MovieClip {
public function blick2_76(){
addFrameScript(0, frame1);
}
function frame1(){
}
}
}//package turbostarracing_fla
Section 42
//blick3_73 (turbostarracing_fla.blick3_73)
package turbostarracing_fla {
import flash.display.*;
public dynamic class blick3_73 extends MovieClip {
public function blick3_73(){
addFrameScript(0, frame1);
}
function frame1(){
}
}
}//package turbostarracing_fla
Section 43
//blick4_28 (turbostarracing_fla.blick4_28)
package turbostarracing_fla {
import flash.display.*;
public dynamic class blick4_28 extends MovieClip {
public function blick4_28(){
addFrameScript(0, frame1);
}
function frame1(){
}
}
}//package turbostarracing_fla
Section 44
//blick5_25 (turbostarracing_fla.blick5_25)
package turbostarracing_fla {
import flash.display.*;
public dynamic class blick5_25 extends MovieClip {
public function blick5_25(){
addFrameScript(0, frame1);
}
function frame1(){
}
}
}//package turbostarracing_fla
Section 45
//blick6_31 (turbostarracing_fla.blick6_31)
package turbostarracing_fla {
import flash.display.*;
public dynamic class blick6_31 extends MovieClip {
public function blick6_31(){
addFrameScript(0, frame1);
}
function frame1(){
}
}
}//package turbostarracing_fla
Section 46
//blick7_90 (turbostarracing_fla.blick7_90)
package turbostarracing_fla {
import flash.display.*;
public dynamic class blick7_90 extends MovieClip {
public function blick7_90(){
addFrameScript(0, frame1);
}
function frame1(){
}
}
}//package turbostarracing_fla
Section 47
//fonarlight_99 (turbostarracing_fla.fonarlight_99)
package turbostarracing_fla {
import flash.display.*;
public dynamic class fonarlight_99 extends MovieClip {
public function fonarlight_99(){
addFrameScript(0, frame1);
}
function frame1(){
this.visible = Boolean(Math.round((0.6 * Math.random())));
}
}
}//package turbostarracing_fla
Section 48
//gamezhero1_77 (turbostarracing_fla.gamezhero1_77)
package turbostarracing_fla {
import flash.display.*;
public dynamic class gamezhero1_77 extends MovieClip {
public var blick2:MovieClip;
public var blick:MovieClip;
}
}//package turbostarracing_fla
Section 49
//gameZheroPreloader_139 (turbostarracing_fla.gameZheroPreloader_139)
package turbostarracing_fla {
import flash.display.*;
public dynamic class gameZheroPreloader_139 extends MovieClip {
public var pr:MovieClip;
public function gameZheroPreloader_139(){
addFrameScript(104, frame105);
}
function frame105(){
stop();
}
}
}//package turbostarracing_fla
Section 50
//img1_42 (turbostarracing_fla.img1_42)
package turbostarracing_fla {
import flash.display.*;
public dynamic class img1_42 extends MovieClip {
public function img1_42(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package turbostarracing_fla
Section 51
//img2_44 (turbostarracing_fla.img2_44)
package turbostarracing_fla {
import flash.display.*;
public dynamic class img2_44 extends MovieClip {
public function img2_44(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package turbostarracing_fla
Section 52
//img3_45 (turbostarracing_fla.img3_45)
package turbostarracing_fla {
import flash.display.*;
public dynamic class img3_45 extends MovieClip {
public function img3_45(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package turbostarracing_fla
Section 53
//pauseMenu1_158 (turbostarracing_fla.pauseMenu1_158)
package turbostarracing_fla {
import flash.display.*;
public dynamic class pauseMenu1_158 extends MovieClip {
public var blick2:MovieClip;
}
}//package turbostarracing_fla
Section 54
//pauseMenu2_159 (turbostarracing_fla.pauseMenu2_159)
package turbostarracing_fla {
import flash.display.*;
public dynamic class pauseMenu2_159 extends MovieClip {
public var blick2:MovieClip;
}
}//package turbostarracing_fla
Section 55
//persShow2_40 (turbostarracing_fla.persShow2_40)
package turbostarracing_fla {
import flash.display.*;
public dynamic class persShow2_40 extends MovieClip {
public function persShow2_40(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package turbostarracing_fla
Section 56
//preloaderLine_140 (turbostarracing_fla.preloaderLine_140)
package turbostarracing_fla {
import flash.display.*;
public dynamic class preloaderLine_140 extends MovieClip {
public var begun:MovieClip;
}
}//package turbostarracing_fla
Section 57
//roadItemSkin1_110 (turbostarracing_fla.roadItemSkin1_110)
package turbostarracing_fla {
import flash.display.*;
public dynamic class roadItemSkin1_110 extends MovieClip {
public function roadItemSkin1_110(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package turbostarracing_fla
Section 58
//roadItemSkin2_111 (turbostarracing_fla.roadItemSkin2_111)
package turbostarracing_fla {
import flash.display.*;
public dynamic class roadItemSkin2_111 extends MovieClip {
public function roadItemSkin2_111(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package turbostarracing_fla
Section 59
//roadItemSkin3_61 (turbostarracing_fla.roadItemSkin3_61)
package turbostarracing_fla {
import flash.display.*;
public dynamic class roadItemSkin3_61 extends MovieClip {
public function roadItemSkin3_61(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package turbostarracing_fla
Section 60
//selector1_22 (turbostarracing_fla.selector1_22)
package turbostarracing_fla {
import flash.display.*;
public dynamic class selector1_22 extends MovieClip {
public function selector1_22(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
stop();
}
function frame1(){
}
}
}//package turbostarracing_fla
Section 61
//selector2_35 (turbostarracing_fla.selector2_35)
package turbostarracing_fla {
import flash.display.*;
public dynamic class selector2_35 extends MovieClip {
public function selector2_35(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
stop();
}
function frame1(){
}
}
}//package turbostarracing_fla
Section 62
//selector3_36 (turbostarracing_fla.selector3_36)
package turbostarracing_fla {
import flash.display.*;
public dynamic class selector3_36 extends MovieClip {
public function selector3_36(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
stop();
}
function frame1(){
}
}
}//package turbostarracing_fla
Section 63
//selector4_37 (turbostarracing_fla.selector4_37)
package turbostarracing_fla {
import flash.display.*;
public dynamic class selector4_37 extends MovieClip {
public function selector4_37(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
stop();
}
function frame1(){
}
}
}//package turbostarracing_fla
Section 64
//selector5_38 (turbostarracing_fla.selector5_38)
package turbostarracing_fla {
import flash.display.*;
public dynamic class selector5_38 extends MovieClip {
public function selector5_38(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
stop();
}
function frame1(){
}
}
}//package turbostarracing_fla
Section 65
//skillIndecator_32 (turbostarracing_fla.skillIndecator_32)
package turbostarracing_fla {
import flash.display.*;
public dynamic class skillIndecator_32 extends MovieClip {
public var indecatorLine2:MovieClip;
public var indecatorLine:MovieClip;
}
}//package turbostarracing_fla
Section 66
//skinAction_62 (turbostarracing_fla.skinAction_62)
package turbostarracing_fla {
import flash.display.*;
public dynamic class skinAction_62 extends MovieClip {
public var skin:MovieClip;
}
}//package turbostarracing_fla
Section 67
//skins1_63 (turbostarracing_fla.skins1_63)
package turbostarracing_fla {
import flash.display.*;
public dynamic class skins1_63 extends MovieClip {
public function skins1_63(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package turbostarracing_fla
Section 68
//skinssky_115 (turbostarracing_fla.skinssky_115)
package turbostarracing_fla {
import flash.display.*;
public dynamic class skinssky_115 extends MovieClip {
public function skinssky_115(){
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package turbostarracing_fla
Section 69
//soundMenu1_160 (turbostarracing_fla.soundMenu1_160)
package turbostarracing_fla {
import flash.display.*;
public dynamic class soundMenu1_160 extends MovieClip {
public var blick2:MovieClip;
public function soundMenu1_160(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package turbostarracing_fla
Section 70
//t_all_117 (turbostarracing_fla.t_all_117)
package turbostarracing_fla {
import flash.display.*;
public dynamic class t_all_117 extends MovieClip {
public var t:MovieClip;
public function t_all_117(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package turbostarracing_fla
Section 71
//t_turboLigth_127 (turbostarracing_fla.t_turboLigth_127)
package turbostarracing_fla {
import flash.display.*;
public dynamic class t_turboLigth_127 extends MovieClip {
public var stopFlag:Boolean;
public function t_turboLigth_127(){
addFrameScript(0, frame1, 7, frame8);
}
function frame1(){
stopFlag = false;
stop();
}
function frame8(){
if (!stopFlag){
gotoAndPlay(2);
} else {
gotoAndStop(1);
};
}
}
}//package turbostarracing_fla
Section 72
//trackDemoAction_59 (turbostarracing_fla.trackDemoAction_59)
package turbostarracing_fla {
import flash.display.*;
public dynamic class trackDemoAction_59 extends MovieClip {
public function trackDemoAction_59(){
addFrameScript(3, frame4);
}
function frame4(){
gotoAndPlay(1);
}
}
}//package turbostarracing_fla
Section 73
//trassa_all_47 (turbostarracing_fla.trassa_all_47)
package turbostarracing_fla {
import flash.display.*;
public dynamic class trassa_all_47 extends MovieClip {
public var t6:MovieClip;
public function trassa_all_47(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package turbostarracing_fla
Section 74
//trassa_bg_46 (turbostarracing_fla.trassa_bg_46)
package turbostarracing_fla {
import flash.display.*;
public dynamic class trassa_bg_46 extends MovieClip {
public function trassa_bg_46(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package turbostarracing_fla
Section 75
//ufo1_101 (turbostarracing_fla.ufo1_101)
package turbostarracing_fla {
import flash.display.*;
public dynamic class ufo1_101 extends MovieClip {
public var t2:MovieClip;
public var t3:MovieClip;
public var t1:MovieClip;
}
}//package turbostarracing_fla
Section 76
//ufo2_105 (turbostarracing_fla.ufo2_105)
package turbostarracing_fla {
import flash.display.*;
public dynamic class ufo2_105 extends MovieClip {
public var t2:MovieClip;
public var t3:MovieClip;
public var t1:MovieClip;
}
}//package turbostarracing_fla
Section 77
//ufo3_106 (turbostarracing_fla.ufo3_106)
package turbostarracing_fla {
import flash.display.*;
public dynamic class ufo3_106 extends MovieClip {
public var t2:MovieClip;
public var t3:MovieClip;
public var t1:MovieClip;
}
}//package turbostarracing_fla
Section 78
//ufo4_107 (turbostarracing_fla.ufo4_107)
package turbostarracing_fla {
import flash.display.*;
public dynamic class ufo4_107 extends MovieClip {
public var t2:MovieClip;
public var t3:MovieClip;
public var t1:MovieClip;
}
}//package turbostarracing_fla
Section 79
//ufo5_108 (turbostarracing_fla.ufo5_108)
package turbostarracing_fla {
import flash.display.*;
public dynamic class ufo5_108 extends MovieClip {
public var t2:MovieClip;
public var t3:MovieClip;
public var t1:MovieClip;
}
}//package turbostarracing_fla
Section 80
//upgadeAll_83 (turbostarracing_fla.upgadeAll_83)
package turbostarracing_fla {
import flash.display.*;
public dynamic class upgadeAll_83 extends MovieClip {
public var icon_:MovieClip;
public function upgadeAll_83(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package turbostarracing_fla
Section 81
//win_lose_header_86 (turbostarracing_fla.win_lose_header_86)
package turbostarracing_fla {
import flash.display.*;
public dynamic class win_lose_header_86 extends MovieClip {
public function win_lose_header_86(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package turbostarracing_fla
Section 82
//z_2_79 (turbostarracing_fla.z_2_79)
package turbostarracing_fla {
import flash.display.*;
public dynamic class z_2_79 extends MovieClip {
public function z_2_79(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package turbostarracing_fla
Section 83
//FinishText (FinishText)
package {
import flash.display.*;
public dynamic class FinishText extends MovieClip {
public function FinishText(){
addFrameScript(15, frame16);
}
function frame16(){
stop();
}
}
}//package
Section 84
//Fire (Fire)
package {
import flash.display.*;
public dynamic class Fire extends MovieClip {
}
}//package
Section 85
//fooSpeeder (fooSpeeder)
package {
import flash.display.*;
public dynamic class fooSpeeder extends MovieClip {
}
}//package
Section 86
//m_loop (m_loop)
package {
import flash.media.*;
public dynamic class m_loop extends Sound {
}
}//package
Section 87
//m_menu (m_menu)
package {
import flash.media.*;
public dynamic class m_menu extends Sound {
}
}//package
Section 88
//m_track1 (m_track1)
package {
import flash.media.*;
public dynamic class m_track1 extends Sound {
}
}//package
Section 89
//m_track2 (m_track2)
package {
import flash.media.*;
public dynamic class m_track2 extends Sound {
}
}//package
Section 90
//m_track3 (m_track3)
package {
import flash.media.*;
public dynamic class m_track3 extends Sound {
}
}//package
Section 91
//PersonaFlag (PersonaFlag)
package {
import flash.display.*;
import flash.text.*;
public dynamic class PersonaFlag extends MovieClip {
public var txt:TextField;
public function PersonaFlag(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
stop();
}
}
}//package
Section 92
//PersonaFlag2 (PersonaFlag2)
package {
import flash.display.*;
public dynamic class PersonaFlag2 extends MovieClip {
public function PersonaFlag2(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 93
//readySteadyGoText (readySteadyGoText)
package {
import flash.display.*;
public dynamic class readySteadyGoText extends MovieClip {
public function readySteadyGoText(){
addFrameScript(0, frame1, 18, frame19, 34, frame35, 47, frame48);
}
function frame1(){
}
function frame19(){
stop();
}
function frame35(){
stop();
}
function frame48(){
stop();
}
}
}//package
Section 94
//s_afra (s_afra)
package {
import flash.media.*;
public dynamic class s_afra extends Sound {
}
}//package
Section 95
//s_badabull (s_badabull)
package {
import flash.media.*;
public dynamic class s_badabull extends Sound {
}
}//package
Section 96
//s_begin (s_begin)
package {
import flash.media.*;
public dynamic class s_begin extends Sound {
}
}//package
Section 97
//s_blondyka (s_blondyka)
package {
import flash.media.*;
public dynamic class s_blondyka extends Sound {
}
}//package
Section 98
//s_boom (s_boom)
package {
import flash.media.*;
public dynamic class s_boom extends Sound {
}
}//package
Section 99
//s_click (s_click)
package {
import flash.media.*;
public dynamic class s_click extends Sound {
}
}//package
Section 100
//s_final (s_final)
package {
import flash.media.*;
public dynamic class s_final extends Sound {
}
}//package
Section 101
//s_finish (s_finish)
package {
import flash.media.*;
public dynamic class s_finish extends Sound {
}
}//package
Section 102
//s_first (s_first)
package {
import flash.media.*;
public dynamic class s_first extends Sound {
}
}//package
Section 103
//s_gas (s_gas)
package {
import flash.media.*;
public dynamic class s_gas extends Sound {
}
}//package
Section 104
//s_go (s_go)
package {
import flash.media.*;
public dynamic class s_go extends Sound {
}
}//package
Section 105
//s_lose (s_lose)
package {
import flash.media.*;
public dynamic class s_lose extends Sound {
}
}//package
Section 106
//s_machoo (s_machoo)
package {
import flash.media.*;
public dynamic class s_machoo extends Sound {
}
}//package
Section 107
//s_motor (s_motor)
package {
import flash.media.*;
public dynamic class s_motor extends Sound {
}
}//package
Section 108
//s_over (s_over)
package {
import flash.media.*;
public dynamic class s_over extends Sound {
}
}//package
Section 109
//s_ready (s_ready)
package {
import flash.media.*;
public dynamic class s_ready extends Sound {
}
}//package
Section 110
//s_second (s_second)
package {
import flash.media.*;
public dynamic class s_second extends Sound {
}
}//package
Section 111
//s_steady (s_steady)
package {
import flash.media.*;
public dynamic class s_steady extends Sound {
}
}//package
Section 112
//s_turbo (s_turbo)
package {
import flash.media.*;
public dynamic class s_turbo extends Sound {
}
}//package
Section 113
//s_ufozone (s_ufozone)
package {
import flash.media.*;
public dynamic class s_ufozone extends Sound {
}
}//package
Section 114
//s_win (s_win)
package {
import flash.media.*;
public dynamic class s_win extends Sound {
}
}//package
Section 115
//Sun (Sun)
package {
import flash.display.*;
public dynamic class Sun extends MovieClip {
}
}//package