STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228090
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5121

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/64878951?noj=FRM64878951-4DC" width="1" height="1"></div>

Astral Tower Defense.swf

This is the info page for
Flash #29689

(Click the ID number above for more basic data on this flash file.)


ActionScript [AS3]
Section 1
//KFt (dtO.KFt) package dtO { import flash.events.*; import flash.media.*; import yRO.*; import flash.utils.*; public class KFt { public static var qJy:int = 3; public static var tVx:Object = new Object(); public static var mMZ:Object = new Object(); public static var wCb:Array = new Array(); public static var diD:Timer = null; public static function xJL(_arg1:String):Sound{ return (KFt.tVx[_arg1]); } public static function aeO(_arg1:TimerEvent):void{ var _local2:int; _local2 = (KFt.wCb.length - 1); while (_local2 >= 0) { if (KFt.mMZ[KFt.wCb[_local2]] > 0){ var _local3 = KFt.mMZ; var _local4 = KFt.wCb[_local2]; var _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; }; _local2--; }; } public static function ubT(_arg1:String):void{ var _local2:Sound; if (!YUA.iFM){ return; }; _local2 = KFt.tVx[_arg1]; if (KFt.mMZ[_arg1] < KFt.qJy){ var _local3 = KFt.mMZ; var _local4 = _arg1; var _local5 = (_local3[_local4] + 1); _local3[_local4] = _local5; _local2.play(); }; } public static function vSr(_arg1:String, _arg2:Sound):void{ var _local3:String; _local3 = _arg1.slice(0, _arg1.indexOf(".")); KFt.tVx[_local3] = _arg2; KFt.mMZ[_local3] = 0; KFt.wCb.push(_local3); if (KFt.diD == null){ KFt.diD = new Timer((1000 / KFt.qJy)); KFt.diD.addEventListener(TimerEvent.TIMER, KFt.aeO); KFt.diD.start(); }; } } }//package dtO
Section 2
//AGF (fRp.AGF) package fRp { import flash.display.*; public class AGF { public var pUE:String; public var rXh:BitmapData; public var aae:String; public var eMN:BitmapData; public var mXk:String; public var wZp:BitmapData; public var jza:int; public var pAE:String; public var mAO:String; public var wUZ:BitmapData; public var rVF:String; public var aVf:BitmapData; public var cdz:String; public var kMA:Array; public function AGF(_arg1:int, _arg2:String, _arg3:Array, _arg4:String, _arg5:String, _arg6:String, _arg7:String){ this.jza = _arg1; this.cdz = _arg2; this.kMA = _arg3; this.mXk = _arg4; this.pAE = _arg5; this.mAO = _arg6; this.rVF = _arg7; } public function ghL(_arg1:BitmapData){ this.rXh = _arg1; } public function vxo(_arg1:BitmapData){ this.eMN = _arg1; } public function lvx(_arg1:BitmapData){ this.wUZ = _arg1; } public function sLN(_arg1:BitmapData){ this.aVf = _arg1; } } }//package fRp
Section 3
//FQz (fRp.FQz) package fRp { import flash.display.*; public class FQz { public static var ggF:Object = new Object(); public static var ycR:Object = new Object(); public static var fjv:Array = new Array(); public static function pbZ():void{ var _local1:int; var _local2:String; var _local3:String; var _local4:String; var _local5:Array; var _local6:String; var _local7:String; var _local8:int; _local1 = 1; _local2 = "Earth"; _local3 = "asteroids.png"; _local4 = "space.png"; _local6 = "planet_m.png"; _local7 = "lives.png"; _local5 = [[21, 1], [20, 1], [19, 1], [18, 1], [17, 1], [16, 1], [15, 1], [14, 1], [13, 1], [12, 1], [11, 1], [10, 1], [9, 1], [8, 1], [7, 1], [6, 1], [5, 1], [4, 1], [3, 1], [2, 1], [1, 1], [1, 2], [1, 3], [1, 4], [2, 4], [3, 4], [4, 4], [5, 4], [6, 4], [7, 4], [8, 4], [9, 4], [10, 4], [11, 4], [12, 4], [13, 4], [14, 4], [15, 4], [16, 4], [17, 4], [18, 4], [19, 4], [19, 5], [19, 6], [19, 7], [18, 7], [17, 7], [16, 7], [15, 7], [14, 7], [13, 7], [12, 7], [11, 7], [10, 7], [9, 7], [8, 7], [7, 7], [6, 7], [5, 7], [4, 7], [4, 8], [4, 9], [4, 10], [5, 10], [6, 10], [7, 10], [8, 10], [9, 10], [10, 10], [11, 10], [12, 10], [13, 10], [14, 10], [15, 10], [16, 10], [16, 11], [16, 12], [16, 13], [15, 13], [14, 13], [13, 13], [12, 13], [11, 13], [10, 13], [9, 13], [8, 13], [7, 13], [7, 14], [6, 14]]; FQz.fjv.push(new AGF(_local1, _local2, _local5, _local3, _local4, _local6, _local7)); _local1 = 2; _local2 = "Keldana"; _local3 = "asteroids.png"; _local4 = "space.png"; _local6 = "planet_i.png"; _local7 = "lives.png"; _local5 = [[0, 13], [1, 13], [2, 13], [3, 13], [4, 13], [5, 13], [6, 13], [7, 13], [7, 12], [7, 11], [7, 10], [7, 9], [7, 8], [6, 8], [5, 8], [4, 8], [3, 8], [2, 8], [1, 8], [1, 7], [1, 6], [1, 5], [1, 4], [1, 3], [1, 2], [1, 1], [2, 1], [3, 1], [3, 2], [3, 3], [3, 4], [4, 4], [5, 4], [5, 3], [5, 2], [5, 1], [6, 1], [7, 1], [7, 2], [7, 3], [7, 4], [8, 4], [9, 4], [9, 3], [9, 2], [9, 1], [10, 1], [11, 1], [12, 1], [12, 2], [12, 3], [12, 4], [13, 4], [14, 4], [14, 3], [14, 2], [14, 1], [15, 1], [16, 1], [16, 2], [16, 3], [16, 4], [17, 4], [18, 4], [18, 3], [18, 2], [18, 1], [19, 1], [20, 1], [20, 2], [20, 3], [20, 4], [20, 5], [20, 6], [20, 7], [20, 8], [19, 8], [18, 8], [17, 8], [16, 8], [15, 8], [14, 8], [14, 9], [14, 10], [14, 11], [14, 12], [14, 13], [15, 13], [16, 13], [17, 13]]; FQz.fjv.push(new AGF(_local1, _local2, _local5, _local3, _local4, _local6, _local7)); _local1 = 3; _local2 = "Lahola"; _local3 = "asteroids.png"; _local4 = "space.png"; _local6 = "planet_d.png"; _local7 = "lives.png"; _local5 = [[13, 15], [13, 14], [13, 13], [13, 12], [14, 12], [15, 12], [15, 13], [15, 14], [16, 14], [17, 14], [18, 14], [19, 14], [20, 14], [20, 13], [20, 12], [20, 11], [20, 10], [20, 9], [19, 9], [18, 9], [17, 9], [16, 9], [15, 9], [14, 9], [13, 9], [12, 9], [11, 9], [10, 9], [9, 9], [8, 9], [7, 9], [6, 9], [5, 9], [4, 9], [3, 9], [2, 9], [1, 9], [1, 10], [1, 11], [1, 12], [1, 13], [1, 14], [2, 14], [3, 14], [4, 14], [5, 14], [6, 14], [6, 13], [6, 12], [6, 11], [6, 10], [6, 9], [6, 8], [6, 7], [6, 6], [6, 5], [6, 4], [6, 3], [6, 2], [6, 1], [5, 1], [4, 1], [3, 1], [2, 1], [1, 1], [1, 2], [1, 3], [1, 4], [1, 5], [1, 6], [2, 6], [3, 6], [4, 6], [5, 6], [6, 6], [7, 6], [8, 6], [9, 6], [10, 6], [11, 6], [12, 6], [13, 6], [14, 6], [15, 6], [16, 6], [17, 6], [18, 6], [19, 6], [20, 6], [20, 5], [20, 4], [20, 3], [20, 2], [20, 1], [19, 1], [18, 1], [17, 1], [16, 1], [15, 1], [15, 2], [15, 3], [14, 3]]; FQz.fjv.push(new AGF(_local1, _local2, _local5, _local3, _local4, _local6, _local7)); _local1 = 4; _local2 = "Phao"; _local3 = "asteroids.png"; _local4 = "space.png"; _local6 = "planet_m.png"; _local7 = "lives.png"; _local5 = [[21, 14], [20, 14], [19, 14], [18, 14], [17, 14], [16, 14], [15, 14], [14, 14], [13, 14], [12, 14], [12, 13], [12, 12], [12, 11], [13, 11], [14, 11], [15, 11], [16, 11], [17, 11], [18, 11], [19, 11], [20, 11], [20, 10], [20, 9], [19, 9], [18, 9], [17, 9], [16, 9], [15, 9], [14, 9], [13, 9], [12, 9], [12, 8], [12, 7], [13, 7], [14, 7], [15, 7], [16, 7], [17, 7], [18, 7], [18, 6], [18, 5], [17, 5], [16, 5], [15, 5], [14, 5], [13, 5], [12, 5], [12, 4], [12, 3], [13, 3], [14, 3], [15, 3], [16, 3], [16, 2], [16, 1], [15, 1], [14, 1], [13, 1], [12, 1], [12, 0], [11, 0], [10, 0], [10, 1], [9, 1], [8, 1], [7, 1], [6, 1], [6, 2], [6, 3], [7, 3], [8, 3], [9, 3], [10, 3], [10, 4], [10, 5], [9, 5], [8, 5], [7, 5], [6, 5], [5, 5], [4, 5], [4, 6], [4, 7], [5, 7], [6, 7], [7, 7], [8, 7], [9, 7], [10, 7], [10, 8], [10, 9], [9, 9], [8, 9], [7, 9], [6, 9], [5, 9], [4, 9], [3, 9], [2, 9], [2, 10], [2, 11], [3, 11], [4, 11], [5, 11], [6, 11], [7, 11], [8, 11], [9, 11], [10, 11], [10, 12], [10, 13], [10, 14], [9, 14], [8, 14], [7, 14], [6, 14], [5, 14], [4, 14]]; FQz.fjv.push(new AGF(_local1, _local2, _local5, _local3, _local4, _local6, _local7)); _local1 = 5; _local2 = "Rashkan"; _local3 = "asteroids.png"; _local4 = "space.png"; _local6 = "planet_m.png"; _local7 = "lives.png"; _local5 = [[0, 13], [1, 13], [2, 13], [3, 13], [3, 12], [3, 11], [3, 10], [3, 9], [3, 8], [3, 7], [2, 7], [1, 7], [1, 6], [1, 5], [1, 4], [1, 3], [1, 2], [1, 1], [2, 1], [3, 1], [4, 1], [5, 1], [6, 1], [7, 1], [7, 2], [7, 3], [7, 4], [7, 5], [7, 6], [7, 7], [6, 7], [5, 7], [5, 8], [5, 9], [5, 10], [5, 11], [5, 12], [5, 13], [6, 13], [7, 13], [8, 13], [9, 13], [10, 13], [11, 13], [11, 12], [11, 11], [11, 10], [11, 9], [11, 8], [11, 7], [10, 7], [9, 7], [9, 6], [9, 5], [9, 4], [9, 3], [9, 2], [9, 1], [10, 1], [11, 1], [12, 1], [13, 1], [14, 1], [15, 1], [15, 2], [15, 3], [15, 4], [15, 5], [15, 6], [15, 7], [14, 7], [13, 7], [13, 8], [13, 9], [13, 10], [13, 11], [13, 12], [13, 13], [14, 13], [15, 13], [16, 13], [17, 13], [18, 13], [19, 13], [19, 12], [19, 11], [19, 10], [19, 9], [19, 8], [19, 7], [18, 7], [17, 7], [17, 6], [17, 5], [17, 4], [17, 3], [17, 2], [17, 1], [18, 1], [19, 1], [20, 1], [20, 2]]; FQz.fjv.push(new AGF(_local1, _local2, _local5, _local3, _local4, _local6, _local7)); _local1 = 6; _local2 = "Sirion"; _local3 = "asteroids.png"; _local4 = "space.png"; _local6 = "planet_d.png"; _local7 = "lives.png"; _local5 = [[0, 7], [1, 7], [2, 7], [3, 7], [4, 7], [5, 7], [6, 7], [7, 7], [8, 7], [9, 7], [10, 7], [10, 6], [10, 5], [10, 4], [10, 3], [10, 2], [10, 1], [11, 1], [12, 1], [13, 1], [13, 2], [13, 3], [13, 4], [13, 5], [13, 6], [13, 7], [14, 7], [15, 7], [16, 7], [17, 7], [18, 7], [19, 7], [20, 7], [20, 8], [20, 9], [19, 9], [18, 9], [17, 9], [16, 9], [15, 9], [14, 9], [13, 9], [13, 10], [13, 11], [13, 12], [13, 13], [13, 14], [13, 15], [12, 15], [11, 15], [10, 15], [10, 14], [10, 13], [10, 12], [10, 11], [10, 10], [10, 9], [9, 9], [8, 9], [7, 9], [6, 9], [5, 9], [4, 9], [3, 9], [2, 9], [2, 10]]; FQz.fjv.push(new AGF(_local1, _local2, _local5, _local3, _local4, _local6, _local7)); _local1 = 7; _local2 = "Skara"; _local3 = "asteroids.png"; _local4 = "space.png"; _local6 = "planet_m.png"; _local7 = "lives.png"; _local5 = [[11, 0], [11, 1], [10, 1], [9, 1], [8, 1], [7, 1], [6, 1], [5, 1], [4, 1], [3, 1], [2, 1], [1, 1], [1, 2], [1, 3], [1, 4], [1, 5], [1, 6], [1, 7], [1, 8], [1, 9], [1, 10], [1, 11], [1, 12], [1, 13], [1, 14], [2, 14], [3, 14], [4, 14], [5, 14], [6, 14], [7, 14], [8, 14], [9, 14], [10, 14], [11, 14], [12, 14], [13, 14], [14, 14], [15, 14], [16, 14], [17, 14], [18, 14], [19, 14], [20, 14], [20, 13], [20, 12], [20, 11], [20, 10], [20, 9], [20, 8], [20, 7], [20, 6], [20, 5], [20, 4], [20, 3], [20, 2], [20, 1], [19, 1], [18, 1], [17, 1], [16, 1], [15, 1], [14, 1], [14, 2], [14, 3], [14, 4], [15, 4], [16, 4], [17, 4], [18, 4], [18, 5], [18, 6], [18, 7], [18, 8], [18, 9], [18, 10], [18, 11], [18, 12], [17, 12], [16, 12], [15, 12], [14, 12], [13, 12], [12, 12], [11, 12], [10, 12], [9, 12], [8, 12], [7, 12], [6, 12], [5, 12], [4, 12], [3, 12], [3, 11], [3, 10], [3, 9], [3, 8], [3, 7], [3, 6], [3, 5], [3, 4], [3, 3], [4, 3], [5, 3], [6, 3], [7, 3], [8, 3], [9, 3], [10, 3], [11, 3], [11, 4], [11, 5]]; FQz.fjv.push(new AGF(_local1, _local2, _local5, _local3, _local4, _local6, _local7)); _local1 = 8; _local2 = "Tivea"; _local3 = "asteroids.png"; _local4 = "space.png"; _local6 = "planet_m.png"; _local7 = "lives.png"; _local5 = [[21, 0], [21, 1], [21, 2], [21, 3], [21, 4], [21, 5], [21, 6], [21, 7], [21, 8], [21, 9], [21, 10], [21, 11], [21, 12], [21, 13], [21, 14], [21, 15], [20, 15], [19, 15], [18, 15], [17, 15], [16, 15], [15, 15], [14, 15], [13, 15], [12, 15], [11, 15], [10, 15], [9, 15], [8, 15], [7, 15], [6, 15], [5, 15], [5, 14], [5, 13], [6, 13], [7, 13], [8, 13], [9, 13], [10, 13], [11, 13], [12, 13], [13, 13], [14, 13], [15, 13], [16, 13], [16, 12], [16, 11], [15, 11], [14, 11], [13, 11], [12, 11], [11, 11], [10, 11], [9, 11], [8, 11], [7, 11], [6, 11], [5, 11], [5, 10], [5, 9], [6, 9], [7, 9], [8, 9], [9, 9], [10, 9], [11, 9], [12, 9], [13, 9], [14, 9], [15, 9], [16, 9], [16, 8], [16, 7], [15, 7], [14, 7], [13, 7], [12, 7], [11, 7], [10, 7], [9, 7], [8, 7], [7, 7], [6, 7], [5, 7], [5, 6], [5, 5], [6, 5], [7, 5], [8, 5], [9, 5], [10, 5], [11, 5], [12, 5], [13, 5], [14, 5], [15, 5], [16, 5], [16, 4], [16, 3], [15, 3], [14, 3], [13, 3], [12, 3], [11, 3], [10, 3], [9, 3], [8, 3], [7, 3], [6, 3], [5, 3], [4, 3], [3, 3], [2, 3], [2, 4], [2, 5], [2, 6], [2, 7], [2, 8], [2, 9], [2, 10], [2, 11], [2, 12]]; FQz.fjv.push(new AGF(_local1, _local2, _local5, _local3, _local4, _local6, _local7)); _local1 = 9; _local2 = "Ururur"; _local3 = "asteroids.png"; _local4 = "space.png"; _local6 = "planet_m.png"; _local7 = "lives.png"; _local5 = [[0, 14], [1, 14], [2, 14], [3, 14], [4, 14], [4, 13], [4, 12], [3, 12], [2, 12], [1, 12], [1, 11], [1, 10], [2, 10], [3, 10], [4, 10], [4, 9], [4, 8], [3, 8], [2, 8], [1, 8], [1, 7], [1, 6], [2, 6], [3, 6], [4, 6], [4, 5], [4, 4], [3, 4], [2, 4], [1, 4], [1, 3], [1, 2], [1, 1], [2, 1], [3, 1], [4, 1], [5, 1], [6, 1], [6, 2], [6, 3], [6, 4], [7, 4], [8, 4], [8, 3], [8, 2], [8, 1], [9, 1], [10, 1], [11, 1], [12, 1], [13, 1], [13, 2], [13, 3], [13, 4], [14, 4], [15, 4], [15, 3], [15, 2], [15, 1], [16, 1], [17, 1], [18, 1], [19, 1], [20, 1], [20, 2], [20, 3], [20, 4], [19, 4], [18, 4], [17, 4], [17, 5], [17, 6], [18, 6], [19, 6], [20, 6], [20, 7], [20, 8], [19, 8], [18, 8], [17, 8], [17, 9], [17, 10], [18, 10], [19, 10], [20, 10], [20, 11], [20, 12], [19, 12], [18, 12], [17, 12], [17, 13], [17, 14], [16, 14], [15, 14], [14, 14], [13, 14]]; FQz.fjv.push(new AGF(_local1, _local2, _local5, _local3, _local4, _local6, _local7)); _local1 = 10; _local2 = "Usube"; _local3 = "asteroids.png"; _local4 = "space.png"; _local6 = "planet_m.png"; _local7 = "lives.png"; _local5 = [[21, 13], [20, 13], [20, 12], [20, 11], [20, 10], [20, 9], [20, 8], [20, 7], [19, 7], [19, 6], [18, 6], [18, 5], [17, 5], [17, 4], [16, 4], [16, 3], [15, 3], [15, 2], [14, 2], [14, 1], [13, 1], [12, 1], [12, 2], [12, 3], [12, 4], [12, 5], [12, 6], [12, 7], [12, 8], [12, 9], [12, 10], [12, 11], [12, 12], [13, 12], [14, 12], [15, 12], [16, 12], [17, 12], [17, 13], [17, 14], [16, 14], [15, 14], [14, 14], [13, 14], [12, 14], [11, 14], [10, 14], [9, 14], [8, 14], [7, 14], [6, 14], [5, 14], [4, 14], [4, 13], [4, 12], [5, 12], [6, 12], [7, 12], [8, 12], [9, 12], [9, 11], [9, 10], [9, 9], [9, 8], [9, 7], [9, 6], [9, 5], [9, 4], [9, 3], [9, 2], [9, 1], [8, 1], [7, 1], [7, 2], [6, 2], [6, 3], [5, 3], [5, 4], [4, 4], [4, 5], [3, 5], [3, 6], [2, 6], [2, 7], [1, 7], [1, 8], [1, 9], [1, 10], [1, 11], [1, 12]]; FQz.fjv.push(new AGF(_local1, _local2, _local5, _local3, _local4, _local6, _local7)); _local1 = 11; _local2 = "Vega"; _local3 = "asteroids.png"; _local4 = "space.png"; _local6 = "planet_m.png"; _local7 = "lives.png"; _local5 = [[20, 15], [20, 14], [20, 13], [20, 12], [20, 11], [20, 10], [20, 9], [20, 8], [20, 7], [20, 6], [20, 5], [20, 4], [20, 3], [20, 2], [20, 1], [19, 1], [18, 1], [17, 1], [16, 1], [15, 1], [14, 1], [13, 1], [12, 1], [11, 1], [10, 1], [9, 1], [8, 1], [7, 1], [6, 1], [5, 1], [4, 1], [3, 1], [2, 1], [1, 1], [1, 2], [1, 3], [1, 4], [1, 5], [1, 6], [1, 7], [1, 8], [1, 9], [1, 10], [1, 11], [1, 12], [1, 13], [1, 14], [2, 14], [3, 14], [4, 14], [5, 14], [6, 14], [7, 14], [8, 14], [9, 14], [10, 14], [11, 14], [12, 14], [13, 14], [14, 14], [15, 14], [16, 14], [17, 14], [17, 13], [17, 12], [17, 11], [17, 10], [17, 9], [17, 8], [17, 7], [17, 6], [17, 5], [17, 4], [16, 4], [15, 4], [14, 4], [13, 4], [12, 4], [11, 4], [10, 4], [9, 4], [8, 4], [7, 4], [6, 4], [5, 4], [4, 4], [4, 5], [4, 6], [4, 7], [4, 8], [4, 9], [4, 10], [4, 11], [5, 11], [6, 11], [7, 11], [8, 11], [9, 11], [10, 11], [11, 11], [12, 11], [13, 11], [14, 11], [14, 10], [14, 9], [14, 8], [13, 8], [12, 8], [11, 8], [10, 8], [9, 8]]; FQz.fjv.push(new AGF(_local1, _local2, _local5, _local3, _local4, _local6, _local7)); _local1 = 12; _local2 = "Waolex"; _local3 = "asteroids.png"; _local4 = "space.png"; _local6 = "planet_i.png"; _local7 = "lives.png"; _local5 = [[21, 7], [20, 7], [19, 7], [18, 7], [17, 7], [16, 7], [15, 7], [14, 7], [13, 7], [12, 7], [11, 7], [10, 7], [9, 7], [8, 7], [7, 7], [6, 7], [5, 7], [4, 7], [3, 7], [2, 7], [1, 7], [1, 8], [1, 9], [1, 10], [2, 10], [3, 10], [3, 9], [3, 8], [3, 7], [3, 6], [3, 5], [3, 4], [3, 3], [4, 3], [5, 3], [5, 4], [5, 5], [5, 6], [5, 7], [5, 8], [5, 9], [5, 10], [5, 11], [5, 12], [6, 12], [7, 12], [7, 11], [7, 10], [7, 9], [7, 8], [7, 7], [7, 6], [7, 5], [7, 4], [7, 3], [7, 2], [7, 1], [8, 1], [9, 1], [10, 1], [11, 1], [12, 1], [12, 2], [12, 3], [12, 4], [12, 5], [12, 6], [12, 7], [12, 8], [12, 9], [12, 10], [12, 11], [12, 12], [13, 12], [14, 12], [14, 11], [14, 10], [14, 9], [14, 8], [14, 7], [14, 6], [14, 5], [14, 4], [14, 3], [15, 3], [16, 3], [16, 4], [16, 5], [16, 6], [16, 7], [16, 8], [16, 9], [16, 10], [17, 10], [18, 10]]; FQz.fjv.push(new AGF(_local1, _local2, _local5, _local3, _local4, _local6, _local7)); _local8 = 0; while (_local8 < FQz.fjv.length) { FQz.ycR[AGF(FQz.fjv[_local8]).jza] = _local8; _local8++; }; } public static function juS(_arg1:String, _arg2:BitmapData):void{ var _local3:int; _local3 = (FQz.fjv.length - 1); while (_local3 >= 0) { if (AGF(FQz.fjv[_local3]).mXk == _arg1){ AGF(FQz.fjv[_local3]).vxo(_arg2); }; _local3--; }; } public static function lfG(_arg1:int){ var _local2:int; _local2 = FQz.ycR[_arg1]; return (FQz.fjv[_local2]); } public static function ztp(_arg1:String, _arg2:Object):void{ FQz.ggF[_arg1.substr(0, _arg1.indexOf("."))] = _arg2; } public static function wxq(_arg1:String, _arg2:BitmapData):void{ var _local3:int; _local3 = (FQz.fjv.length - 1); while (_local3 >= 0) { if (AGF(FQz.fjv[_local3]).rVF == _arg1){ AGF(FQz.fjv[_local3]).sLN(_arg2); }; _local3--; }; } public static function xRx(_arg1:String, _arg2:BitmapData):void{ var _local3:int; _local3 = (FQz.fjv.length - 1); while (_local3 >= 0) { if (AGF(FQz.fjv[_local3]).mAO == _arg1){ AGF(FQz.fjv[_local3]).ghL(_arg2); }; _local3--; }; } public static function pJY(_arg1:String, _arg2:BitmapData):void{ var _local3:int; _local3 = (FQz.fjv.length - 1); while (_local3 >= 0) { if (AGF(FQz.fjv[_local3]).pAE == _arg1){ AGF(FQz.fjv[_local3]).lvx(_arg2); }; _local3--; }; } } }//package fRp
Section 4
//NJS (fRp.NJS) package fRp { import flash.display.*; import yRO.*; import dtO.*; public class NJS { public var uVg:int; private var tKR:Bitmap; private var sxa:BitmapData; private var kVL:int; private var qtf:BitmapData; private var jeC:Array; public var tJB:int; private var fEt:String; public function NJS(_arg1:BitmapData, _arg2:BitmapData, _arg3:String){ jeC = new Array(); super(); this.sxa = _arg1; this.qtf = _arg2; this.kVL = IwG.cLY; this.fEt = _arg3; this.hcd(); this.htr(); this.zNr(); YUA.oqi = (YUA.tDI.getChildIndex(this.tKR) + 1); } public function jWR():void{ var _local1:MovieClip; _local1 = FQz.ggF[this.fEt.substr(0, this.fEt.indexOf("."))]; _local1.x = this.uVg; _local1.y = this.tJB; this.dRy(); YUA.tDI.addChild(_local1); _local1.gotoAndPlay(2); KFt.ubT("explosion"); } private function hcd():void{ var _local1:Array; var _local2:Array; var _local3:Array; var _local4:String; var _local5:int; var _local6:int; _local1 = YUA.qpS.yZA(); _local2 = YUA.qpS.sFP(); _local3 = _local1[(_local1.length - 1)]; _local4 = _local2[(_local2.length - 1)]; if ((((_local4 == "L")) || ((_local4 == "R")))){ _local6 = ((_local3[1] * YUA.ayy) - YUA.ayy); if (_local4 == "L"){ _local5 = ((_local3[0] * YUA.ayy) - (3 * YUA.ayy)); } else { _local5 = ((_local3[0] * YUA.ayy) + YUA.ayy); }; } else { _local5 = ((_local3[0] * YUA.ayy) - YUA.ayy); if (_local4 == "U"){ _local6 = ((_local3[1] * YUA.ayy) - (3 * YUA.ayy)); } else { _local6 = ((_local3[1] * YUA.ayy) + YUA.ayy); }; }; this.uVg = _local5; this.tJB = _local6; } public function dRy():void{ var _local1:int; if (this.tKR != null){ YUA.tDI.removeChild(this.tKR); }; if (this.jeC != null){ _local1 = (this.jeC.length - 1); while (_local1 >= 0) { if (this.jeC[_local1] != null){ YUA.tDI.removeChild(Bitmap(this.jeC[_local1])); }; _local1--; }; }; this.jeC = null; this.tKR = null; } private function zNr():void{ var _local1:Bitmap; var _local2:int; _local2 = 1; while (_local2 <= this.kVL) { _local1 = new Bitmap(this.qtf); if (_local2 <= (this.kVL / 2)){ _local1.x = (((((_local2 - 1) * _local1.width) + (2 * _local2)) + 3) + this.uVg); _local1.y = (2 + this.tJB); } else { _local1.x = ((((((_local2 - (this.kVL / 2)) - 1) * _local1.width) + (2 * (_local2 - (this.kVL / 2)))) + 3) + this.uVg); _local1.y = ((((YUA.ayy * 3) - 2) - _local1.height) + this.tJB); }; YUA.tDI.addChild(_local1); this.jeC.push(_local1); _local2++; }; } private function htr():void{ this.tKR = new Bitmap(this.sxa); this.tKR.x = this.uVg; this.tKR.y = this.tJB; YUA.tDI.addChild(this.tKR); } public function sJG():void{ var _local1:int; if (IwG.cLY > 1){ KFt.ubT("lose_life"); }; _local1 = this.kVL; while (_local1 > 0) { if (((!((this.jeC == null))) && (!((this.jeC[_local1] == null))))){ YUA.tDI.removeChild(Bitmap(this.jeC[_local1])); this.jeC[_local1] = null; break; }; _local1--; }; if (IwG.cLY > 0){ IwG.ohg(); }; } } }//package fRp
Section 5
//Rqi (fRp.Rqi) package fRp { import flash.display.*; import yRO.*; public class Rqi { private var rLd:Array; private var qqr:Sprite; private var vhQ:Array; private var tew:NJS; private var xcs:Array; private var eqe:AGF; public function Rqi(){ YUA.qpS = this; this.qqr = YUA.tDI; } public function sAn(_arg1:int):void{ this.eqe = FQz.lfG(_arg1); this.vhQ = this.eqe.kMA; this.rLd = new Array(2); this.rLd[0] = (this.vhQ[0][0] * YUA.ayy); this.rLd[1] = (this.vhQ[0][1] * YUA.ayy); this.taB(); this.ifB(); this.tew = new NJS(this.eqe.rXh, this.eqe.aVf, this.eqe.mAO); } private function ifB():void{ var _local1:int; var _local2:int; var _local3:int; var _local4:int; var _local5:int; this.xcs = new Array(); _local5 = 0; while (_local5 < (this.vhQ.length - 1)) { _local1 = this.vhQ[(_local5 + 1)][0]; _local2 = this.vhQ[(_local5 + 1)][1]; _local3 = this.vhQ[_local5][0]; _local4 = this.vhQ[_local5][1]; if (_local1 > _local3){ this.xcs.push("R"); } else { if (_local1 < _local3){ this.xcs.push("L"); } else { if (_local2 > _local4){ this.xcs.push("D"); } else { if (_local2 < _local4){ this.xcs.push("U"); }; }; }; }; _local5++; }; } public function uMJ():String{ return (this.eqe.cdz); } public function qMR():Array{ return (this.rLd); } public function rKy():void{ this.tew.dRy(); this.tew = null; YUA.qpS = null; this.qqr = null; this.xcs = null; this.vhQ = null; } public function yZA():Array{ return (this.vhQ); } public function pXK():NJS{ return (this.tew); } public function xhZ():int{ return (this.eqe.jza); } private function taB():void{ var _local1:Bitmap; var _local2:int; this.qqr.addChild(new Bitmap(this.eqe.eMN)); _local2 = (this.vhQ.length - 1); while (_local2 >= 0) { _local1 = new Bitmap(this.eqe.wUZ); _local1.x = (this.vhQ[_local2][0] * YUA.ayy); _local1.y = (this.vhQ[_local2][1] * YUA.ayy); this.qqr.addChild(_local1); _local2--; }; } public function sFP():Array{ return (this.xcs); } } }//package fRp
Section 6
//QTa (htt.QTa) package htt { import flash.display.*; public class QTa extends Shape { public function QTa(){ this.graphics.lineStyle(0, 6724044); this.graphics.moveTo(6, 9); this.graphics.lineTo(6, 17); this.graphics.lineStyle(0, 6724044); this.graphics.moveTo(24, 9); this.graphics.lineTo(24, 17); this.graphics.lineStyle(0, 6724044); this.graphics.moveTo(7, 9); this.graphics.lineTo(23, 9); this.graphics.lineStyle(0, 6724044); this.graphics.moveTo(7, 17); this.graphics.lineTo(23, 17); this.graphics.lineStyle(0, 0x333333); this.graphics.moveTo(6, 18); this.graphics.lineTo(24, 18); this.graphics.lineStyle(0, 0x333333); this.graphics.moveTo(6, 19); this.graphics.lineTo(24, 19); this.graphics.lineStyle(0, 0x333333); this.graphics.moveTo(6, 20); this.graphics.lineTo(24, 20); this.graphics.lineStyle(0, 0x333333); this.graphics.moveTo(6, 21); this.graphics.lineTo(24, 21); this.graphics.lineStyle(0, 0x333333); this.graphics.moveTo(6, 22); this.graphics.lineTo(24, 22); this.graphics.lineStyle(0, 0x666666); this.graphics.moveTo(7, 10); this.graphics.lineTo(7, 12); this.graphics.lineStyle(0, 0x666666); this.graphics.moveTo(8, 10); this.graphics.lineTo(8, 12); this.graphics.lineStyle(0, 0x666666); this.graphics.moveTo(10, 10); this.graphics.lineTo(10, 12); this.graphics.lineStyle(0, 0x666666); this.graphics.moveTo(11, 10); this.graphics.lineTo(11, 12); this.graphics.lineStyle(0, 0x666666); this.graphics.moveTo(14, 10); this.graphics.lineTo(14, 12); this.graphics.lineStyle(0, 0x666666); this.graphics.moveTo(15, 10); this.graphics.lineTo(15, 12); this.graphics.lineStyle(0, 0x666666); this.graphics.moveTo(17, 10); this.graphics.lineTo(17, 12); this.graphics.lineStyle(0, 0x666666); this.graphics.moveTo(18, 10); this.graphics.lineTo(18, 12); this.graphics.lineStyle(0, 0x666666); this.graphics.moveTo(21, 10); this.graphics.lineTo(21, 12); this.graphics.lineStyle(0, 0x666666); this.graphics.moveTo(22, 10); this.graphics.lineTo(22, 12); this.graphics.lineStyle(0, 0x666666); this.graphics.moveTo(7, 13); this.graphics.lineTo(23, 13); this.graphics.lineStyle(0, 0x666666); this.graphics.moveTo(9, 14); this.graphics.lineTo(9, 16); this.graphics.lineStyle(0, 0x666666); this.graphics.moveTo(10, 14); this.graphics.lineTo(10, 16); this.graphics.lineStyle(0, 0x666666); this.graphics.moveTo(12, 14); this.graphics.lineTo(12, 16); this.graphics.lineStyle(0, 0x666666); this.graphics.moveTo(13, 14); this.graphics.lineTo(13, 16); this.graphics.lineStyle(0, 0x666666); this.graphics.moveTo(16, 14); this.graphics.lineTo(16, 16); this.graphics.lineStyle(0, 0x666666); this.graphics.moveTo(17, 14); this.graphics.lineTo(17, 16); this.graphics.lineStyle(0, 0x666666); this.graphics.moveTo(19, 14); this.graphics.lineTo(19, 16); this.graphics.lineStyle(0, 0x666666); this.graphics.moveTo(20, 14); this.graphics.lineTo(20, 16); this.graphics.lineStyle(0, 0x666666); this.graphics.moveTo(23, 14); this.graphics.lineTo(23, 16); this.graphics.lineStyle(0, 3355494); this.graphics.moveTo(12, 10); this.graphics.lineTo(13, 10); this.graphics.lineStyle(0, 3355494); this.graphics.moveTo(19, 10); this.graphics.lineTo(20, 10); this.graphics.lineStyle(0, 3355494); this.graphics.moveTo(7, 14); this.graphics.lineTo(8, 14); this.graphics.lineStyle(0, 3355494); this.graphics.moveTo(14, 14); this.graphics.lineTo(15, 14); this.graphics.lineStyle(0, 3355494); this.graphics.moveTo(21, 14); this.graphics.lineTo(22, 14); this.graphics.lineStyle(0, 16724787); this.graphics.moveTo(9, 10); this.graphics.lineTo(9, 12); this.graphics.lineStyle(0, 16724787); this.graphics.moveTo(12, 11); this.graphics.lineTo(12, 12); this.graphics.lineStyle(0, 16724787); this.graphics.moveTo(13, 11); this.graphics.lineTo(13, 12); this.graphics.lineStyle(0, 16724787); this.graphics.moveTo(16, 10); this.graphics.lineTo(16, 12); this.graphics.lineStyle(0, 16724787); this.graphics.moveTo(19, 11); this.graphics.lineTo(19, 12); this.graphics.lineStyle(0, 16724787); this.graphics.moveTo(20, 11); this.graphics.lineTo(20, 12); this.graphics.lineStyle(0, 16724787); this.graphics.moveTo(23, 10); this.graphics.lineTo(23, 12); this.graphics.lineStyle(0, 16724787); this.graphics.moveTo(7, 15); this.graphics.lineTo(7, 16); this.graphics.lineStyle(0, 16724787); this.graphics.moveTo(8, 15); this.graphics.lineTo(8, 16); this.graphics.lineStyle(0, 16724787); this.graphics.moveTo(11, 14); this.graphics.lineTo(11, 16); this.graphics.lineStyle(0, 16724787); this.graphics.moveTo(14, 15); this.graphics.lineTo(14, 16); this.graphics.lineStyle(0, 16724787); this.graphics.moveTo(15, 15); this.graphics.lineTo(15, 16); this.graphics.lineStyle(0, 16724787); this.graphics.moveTo(18, 14); this.graphics.lineTo(18, 16); this.graphics.lineStyle(0, 16724787); this.graphics.moveTo(21, 15); this.graphics.lineTo(21, 16); this.graphics.lineStyle(0, 16724787); this.graphics.moveTo(22, 15); this.graphics.lineTo(22, 16); } } }//package htt
Section 7
//RfS (htt.RfS) package htt { import flash.display.*; public class RfS extends Shape { public function RfS(){ this.graphics.lineStyle(0, 12632319); this.graphics.moveTo(1, 0); this.graphics.lineTo(1, 3); this.graphics.lineStyle(0, 13816803); this.graphics.moveTo(1, 4); this.graphics.lineTo(1, 5); this.graphics.lineStyle(0, 12173006); this.graphics.moveTo(1, 6); this.graphics.lineTo(1, 7); this.graphics.lineStyle(0, 9607076); this.graphics.moveTo(1, 8); this.graphics.lineTo(1, 9); this.graphics.lineStyle(0, 0xFFFF00); this.graphics.moveTo(1, 10); this.graphics.lineTo(1, 13); this.graphics.lineStyle(0, 0xC00000); this.graphics.moveTo(1, 14); this.graphics.lineTo(1, 15); this.graphics.lineStyle(0, 3947328); this.graphics.moveTo(0, 1); this.graphics.lineTo(0, 2); this.graphics.lineStyle(0, 6645360); this.graphics.moveTo(0, 3); this.graphics.lineTo(0, 8); this.graphics.lineStyle(0, 3947328); this.graphics.moveTo(0, 9); this.graphics.lineTo(0, 10); this.graphics.lineStyle(0, 16750365); this.graphics.moveTo(0, 11); this.graphics.lineTo(0, 12); this.graphics.lineStyle(0, 0xC00000); this.graphics.moveTo(0, 13); this.graphics.lineTo(0, 14); this.graphics.lineStyle(0, 3947328); this.graphics.moveTo(2, 1); this.graphics.lineTo(2, 2); this.graphics.lineStyle(0, 6645360); this.graphics.moveTo(2, 3); this.graphics.lineTo(2, 8); this.graphics.lineStyle(0, 3947328); this.graphics.moveTo(2, 9); this.graphics.lineTo(2, 10); this.graphics.lineStyle(0, 16750365); this.graphics.moveTo(2, 11); this.graphics.lineTo(2, 12); this.graphics.lineStyle(0, 0xC00000); this.graphics.moveTo(2, 13); this.graphics.lineTo(2, 14); } } }//package htt
Section 8
//Vbd (htt.Vbd) package htt { import flash.display.*; public class Vbd extends Shape { public function Vbd(){ this.graphics.lineStyle(0, 0x203100); this.graphics.moveTo(13, 0); this.graphics.lineTo(13, 12); this.graphics.lineStyle(0, 0x203100); this.graphics.moveTo(18, 0); this.graphics.lineTo(18, 12); this.graphics.lineStyle(0, 0x203100); this.graphics.moveTo(13, 13); this.graphics.lineTo(18, 13); this.graphics.lineStyle(0, 0x203100); this.graphics.moveTo(14, 14); this.graphics.lineTo(17, 14); this.graphics.lineStyle(0, 10932319); this.graphics.moveTo(14, 12); this.graphics.lineTo(17, 12); this.graphics.lineStyle(0, 8436541); this.graphics.moveTo(14, 11); this.graphics.lineTo(15, 11); this.graphics.lineStyle(0, 7577904); this.graphics.moveTo(14, 10); this.graphics.lineTo(14, 0); this.graphics.lineStyle(0, 7577904); this.graphics.moveTo(15, 10); this.graphics.lineTo(15, 0); this.graphics.lineStyle(0, 5861140); this.graphics.moveTo(16, 11); this.graphics.lineTo(16, 0); this.graphics.lineStyle(0, 5861140); this.graphics.moveTo(17, 11); this.graphics.lineTo(17, 0); this.graphics.lineStyle(0, 4217386); this.graphics.moveTo(12, 9); this.graphics.lineTo(12, 10); this.graphics.lineStyle(0, 4217386); this.graphics.moveTo(11, 10); this.graphics.lineTo(11, 11); this.graphics.lineStyle(0, 4217386); this.graphics.moveTo(10, 10); this.graphics.lineTo(10, 14); this.graphics.lineStyle(0, 4217386); this.graphics.moveTo(9, 12); this.graphics.lineTo(9, 19); this.graphics.lineStyle(0, 4217386); this.graphics.moveTo(8, 15); this.graphics.lineTo(8, 16); this.graphics.lineStyle(0, 4217386); this.graphics.moveTo(10, 17); this.graphics.lineTo(10, 20); this.graphics.lineStyle(0, 4217386); this.graphics.moveTo(11, 20); this.graphics.lineTo(11, 21); this.graphics.lineStyle(0, 4217386); this.graphics.moveTo(12, 21); this.graphics.lineTo(12, 22); this.graphics.lineStyle(0, 4217386); this.graphics.moveTo(13, 21); this.graphics.lineTo(13, 22); this.graphics.lineStyle(0, 4217386); this.graphics.moveTo(14, 21); this.graphics.lineTo(14, 22); this.graphics.lineStyle(0, 4217386); this.graphics.moveTo(15, 22); this.graphics.lineTo(15, 23); this.graphics.lineStyle(0, 4217386); this.graphics.moveTo(16, 21); this.graphics.lineTo(16, 23); this.graphics.lineStyle(0, 4217386); this.graphics.moveTo(17, 21); this.graphics.lineTo(17, 22); this.graphics.lineStyle(0, 4217386); this.graphics.moveTo(18, 21); this.graphics.lineTo(18, 22); this.graphics.lineStyle(0, 4217386); this.graphics.moveTo(19, 21); this.graphics.lineTo(19, 22); this.graphics.lineStyle(0, 4217386); this.graphics.moveTo(20, 19); this.graphics.lineTo(20, 21); this.graphics.lineStyle(0, 4217386); this.graphics.moveTo(21, 17); this.graphics.lineTo(21, 20); this.graphics.lineStyle(0, 4217386); this.graphics.moveTo(22, 12); this.graphics.lineTo(22, 19); this.graphics.lineStyle(0, 4217386); this.graphics.moveTo(23, 15); this.graphics.lineTo(23, 16); this.graphics.lineStyle(0, 4217386); this.graphics.moveTo(21, 14); this.graphics.lineTo(21, 11); this.graphics.lineStyle(0, 4217386); this.graphics.moveTo(20, 11); this.graphics.lineTo(20, 10); this.graphics.lineStyle(0, 4217386); this.graphics.moveTo(19, 10); this.graphics.lineTo(19, 9); this.graphics.lineStyle(0, 7508769); this.graphics.moveTo(10, 15); this.graphics.lineTo(10, 16); this.graphics.lineStyle(0, 7508769); this.graphics.moveTo(21, 15); this.graphics.lineTo(21, 16); this.graphics.lineStyle(0, 7508769); this.graphics.moveTo(19, 14); this.graphics.lineTo(20, 14); this.graphics.lineStyle(0, 10068294); this.graphics.moveTo(11, 12); this.graphics.lineTo(11, 14); this.graphics.lineStyle(0, 10068294); this.graphics.moveTo(12, 13); this.graphics.lineTo(12, 14); this.graphics.lineStyle(0, 10068294); this.graphics.moveTo(12, 20); this.graphics.lineTo(14, 20); this.graphics.lineStyle(0, 10068294); this.graphics.moveTo(11, 12); this.graphics.lineTo(11, 14); this.graphics.lineStyle(0, 10068294); this.graphics.moveTo(20, 15); this.graphics.lineTo(20, 16); this.graphics.lineStyle(0, 10529114); this.graphics.moveTo(14, 17); this.graphics.lineTo(19, 17); this.graphics.lineStyle(0, 6777380); this.graphics.moveTo(12, 11); this.graphics.lineTo(12, 12); this.graphics.lineStyle(0, 6777380); this.graphics.moveTo(15, 20); this.graphics.lineTo(15, 21); this.graphics.lineStyle(0, 6777380); this.graphics.moveTo(16, 18); this.graphics.lineTo(16, 20); this.graphics.lineStyle(0, 6777380); this.graphics.moveTo(18, 20); this.graphics.lineTo(19, 20); this.graphics.lineStyle(0, 6777380); this.graphics.moveTo(19, 18); this.graphics.lineTo(19, 19); this.graphics.lineStyle(0, 11460962); this.graphics.moveTo(11, 15); this.graphics.lineTo(11, 16); this.graphics.lineStyle(0, 11460962); this.graphics.moveTo(12, 15); this.graphics.lineTo(12, 16); this.graphics.lineStyle(0, 11460962); this.graphics.moveTo(19, 11); this.graphics.lineTo(19, 13); this.graphics.lineStyle(0, 11460962); this.graphics.moveTo(19, 15); this.graphics.lineTo(19, 16); this.graphics.lineStyle(0, 8436541); this.graphics.moveTo(11, 17); this.graphics.lineTo(11, 19); this.graphics.lineStyle(0, 8436541); this.graphics.moveTo(12, 17); this.graphics.lineTo(12, 19); this.graphics.lineStyle(0, 9949002); this.graphics.moveTo(14, 18); this.graphics.lineTo(15, 18); this.graphics.lineStyle(0, 9949002); this.graphics.moveTo(13, 19); this.graphics.lineTo(15, 19); this.graphics.lineStyle(0, 9949002); this.graphics.moveTo(17, 18); this.graphics.lineTo(17, 20); this.graphics.lineStyle(0, 9949002); this.graphics.moveTo(18, 18); this.graphics.lineTo(18, 19); this.graphics.lineStyle(0, 5869350); this.graphics.moveTo(20, 12); this.graphics.lineTo(20, 13); this.graphics.lineStyle(0, 5869350); this.graphics.moveTo(20, 17); this.graphics.lineTo(20, 18); this.graphics.lineStyle(0, 15596938); this.graphics.moveTo(13, 14); this.graphics.lineTo(13, 18); this.graphics.lineStyle(0, 15596938); this.graphics.moveTo(14, 16); this.graphics.lineTo(15, 16); this.graphics.lineStyle(0, 15596938); this.graphics.moveTo(17, 15); this.graphics.lineTo(17, 16); this.graphics.lineStyle(0, 15596938); this.graphics.moveTo(18, 14); this.graphics.lineTo(18, 16); this.graphics.lineStyle(0, 14146166); this.graphics.moveTo(14, 15); this.graphics.lineTo(15, 15); this.graphics.lineStyle(0, 14146166); this.graphics.moveTo(16, 15); this.graphics.lineTo(16, 16); } } }//package htt
Section 9
//Ybj (htt.Ybj) package htt { import flash.display.*; public class Ybj extends Shape { public function Ybj(){ this.graphics.lineStyle(0, 0); this.graphics.moveTo(12, 0); this.graphics.lineTo(12, 10); this.graphics.lineStyle(0, 0xCCCCCC); this.graphics.moveTo(13, 0); this.graphics.lineTo(13, 10); this.graphics.lineStyle(0, 10066380); this.graphics.moveTo(14, 0); this.graphics.lineTo(14, 10); this.graphics.lineStyle(0, 0); this.graphics.moveTo(16, 0); this.graphics.lineTo(16, 10); this.graphics.lineStyle(0, 0xCCCCCC); this.graphics.moveTo(17, 0); this.graphics.lineTo(17, 10); this.graphics.lineStyle(0, 10066380); this.graphics.moveTo(18, 0); this.graphics.lineTo(18, 10); this.graphics.lineStyle(0, 0); this.graphics.moveTo(10, 12); this.graphics.lineTo(10, 18); this.graphics.lineStyle(0, 0); this.graphics.moveTo(11, 11); this.graphics.lineTo(19, 11); this.graphics.lineStyle(0, 0); this.graphics.moveTo(11, 12); this.graphics.lineTo(19, 12); this.graphics.lineStyle(0, 0); this.graphics.moveTo(11, 18); this.graphics.lineTo(11, 19); this.graphics.lineStyle(0, 0); this.graphics.moveTo(12, 19); this.graphics.lineTo(18, 19); this.graphics.lineStyle(0, 0); this.graphics.moveTo(19, 19); this.graphics.lineTo(19, 18); this.graphics.lineStyle(0, 0); this.graphics.moveTo(20, 18); this.graphics.lineTo(20, 12); this.graphics.lineStyle(0, 0x666666); this.graphics.moveTo(11, 13); this.graphics.lineTo(11, 19); this.graphics.lineStyle(0, 0x666666); this.graphics.moveTo(11, 16); this.graphics.lineTo(11, 17); this.graphics.lineStyle(0, 0x666666); this.graphics.moveTo(12, 17); this.graphics.lineTo(12, 18); this.graphics.lineStyle(0, 0x666666); this.graphics.moveTo(19, 16); this.graphics.lineTo(19, 17); this.graphics.lineStyle(0, 0x666666); this.graphics.moveTo(18, 17); this.graphics.lineTo(18, 18); this.graphics.lineStyle(0, 16777164); this.graphics.moveTo(13, 18); this.graphics.lineTo(17, 18); this.graphics.lineStyle(0, 0xCCCCCC); this.graphics.moveTo(11, 14); this.graphics.lineTo(19, 14); this.graphics.lineStyle(0, 0xCCCCCC); this.graphics.moveTo(12, 16); this.graphics.lineTo(18, 16); this.graphics.lineStyle(0, 0xCCCCCC); this.graphics.moveTo(13, 17); this.graphics.lineTo(17, 17); this.graphics.lineStyle(0, 10066380); this.graphics.moveTo(11, 15); this.graphics.lineTo(14, 15); this.graphics.lineStyle(0, 10066380); this.graphics.moveTo(16, 15); this.graphics.lineTo(19, 15); this.graphics.lineStyle(0, 0xFFFF00); this.graphics.moveTo(15, 15); this.graphics.lineTo(15, 15); } } }//package htt
Section 10
//ZJU (htt.ZJU) package htt { import flash.display.*; public class ZJU extends Shape { public var yEt:int;// = 20 private var rLt:int;// = 2 private var bkI:int; private var dUs:int;// = 6 private var sQU:int;// = 2 public function ZJU(){ yEt = 20; sQU = 2; dUs = 6; rLt = 2; super(); this.bkI = (Math.round((this.yEt / 2)) + this.dUs); this.fhc(this.yEt); } public function fhc(_arg1:int){ if (_arg1 == 0){ return; }; if (_arg1 == 1){ _arg1 = 2; }; this.graphics.clear(); this.graphics.lineStyle(0, 0); this.graphics.beginFill(4901978); this.graphics.drawRect((this.bkI - Math.round((_arg1 / 2))), this.rLt, _arg1, this.sQU); this.graphics.endFill(); } } }//package htt
Section 11
//AMC (jMR.AMC) package jMR { import flash.events.*; import flash.display.*; import zsg.*; import flash.text.*; public class AMC extends Sprite { private var mGE:Bitmap; private var fjK:TextField; private var pTg:Bitmap;// = null private var cmQ:Bitmap;// = null public var snD:CJX;// = null private var svS:TextField; private var lXQ:TextField; private var mAm:TextField; private var mSa:TextField; private var sYT:Bitmap;// = null private var mdv:Sprite; private var zNz:TextField; private var afx:TextField; public function AMC(_arg1:CJX){ snD = null; sYT = null; pTg = null; mGE = new Bitmap(); fjK = new TextField(); lXQ = new TextField(); zNz = new TextField(); afx = new TextField(); mSa = new TextField(); mAm = new TextField(); svS = new TextField(); mdv = new Sprite(); cmQ = null; super(); YES.sbK = this; this.snD = _arg1; this.gjs(); this.xEb(); DIp.cGY(this, 9, 4, 0, 0, YES.wMA); } public function xEb():void{ var _local1:String; var _local2:int; var _local3:String; var _local4:String; this.mGE.bitmapData = this.snD.pKE; _local1 = this.snD.jjK; if ((((_local1.length > 12)) && (!((_local1.indexOf(" ") == -1))))){ _local2 = _local1.lastIndexOf(" "); _local3 = _local1.substring(0, _local2); _local4 = _local1.substring((_local2 + 1)); _local1 = ((_local3 + "\r") + _local4); }; if (this.snD.sYB()){ this.fjK.textColor = EJT.liV; } else { this.fjK.textColor = EJT.vAN; }; this.fjK.text = _local1; this.afx.text = (((((String(this.snD.gwg) + "\r") + "\r") + String(this.snD.por)) + "\r") + String(this.snD.kFN)); this.mSa.defaultTextFormat = PTY.oAC[this.snD.jOv]; this.mSa.text = this.snD.axA.toUpperCase(); if (((this.snD.kVn) && (this.snD.evE))){ this.svS.text = "Fast\rImmune"; } else { if (this.snD.kVn){ this.svS.text = "Fast"; } else { if (this.snD.evE){ this.svS.text = "Immune"; } else { this.svS.text = "None"; }; }; }; } private function eck(_arg1:MouseEvent):void{ this.ccB(); _arg1.updateAfterEvent(); } public function ccB():void{ this.mdv.removeEventListener(MouseEvent.CLICK, this.eck); YES.wMA.removeChild(this); YES.sbK = null; } private function gjs():void{ this.sYT = new Bitmap(YES.sOO("stats_wave")); this.addChild(this.sYT); this.pTg = new Bitmap(YES.sOO("wave_box")); this.pTg.x = 17; this.pTg.y = 29; this.addChild(this.pTg); this.mGE.x = (this.pTg.x + 2); this.mGE.y = (this.pTg.y + 2); this.addChild(this.mGE); this.fjK.defaultTextFormat = PTY.rCB; this.fjK.autoSize = TextFieldAutoSize.LEFT; this.fjK.x = ((this.pTg.x + this.pTg.width) + 10); this.fjK.y = (this.pTg.y + 4); this.fjK.selectable = false; this.fjK.mouseEnabled = false; this.addChild(this.fjK); this.lXQ.defaultTextFormat = PTY.vVF; this.lXQ.autoSize = TextFieldAutoSize.LEFT; this.lXQ.x = 8; this.lXQ.y = 80; this.lXQ.selectable = false; this.lXQ.mouseEnabled = false; this.lXQ.text = "Attributes"; this.addChild(this.lXQ); this.zNz.defaultTextFormat = PTY.gIZ; this.zNz.autoSize = TextFieldAutoSize.LEFT; this.zNz.x = (this.lXQ.x + 12); this.zNz.y = (this.lXQ.y + 16); this.zNz.selectable = false; this.zNz.mouseEnabled = false; this.zNz.text = "Hitpoints:\rArmor:\rSpeed:\rValue:"; this.addChild(this.zNz); this.afx.defaultTextFormat = PTY.gIZ; this.afx.autoSize = TextFieldAutoSize.LEFT; this.afx.x = (this.zNz.x + 64); this.afx.y = this.zNz.y; this.afx.selectable = false; this.afx.mouseEnabled = false; this.addChild(this.afx); this.mSa.autoSize = TextFieldAutoSize.LEFT; this.mSa.x = this.afx.x; this.mSa.y = (this.afx.y + 12); this.mSa.selectable = false; this.mSa.mouseEnabled = false; this.addChild(this.mSa); this.mAm.defaultTextFormat = PTY.vVF; this.mAm.autoSize = TextFieldAutoSize.LEFT; this.mAm.x = 8; this.mAm.y = (this.lXQ.y + 80); this.mAm.selectable = false; this.mAm.mouseEnabled = false; this.mAm.text = "Special Abilities"; this.addChild(this.mAm); this.svS.defaultTextFormat = PTY.gIZ; this.svS.autoSize = TextFieldAutoSize.LEFT; this.svS.x = (this.mAm.x + 12); this.svS.y = (this.mAm.y + 16); this.svS.selectable = false; this.svS.mouseEnabled = false; this.addChild(this.svS); this.cmQ = new Bitmap(YES.sOO("back_to_armory")); this.mdv.addChild(this.cmQ); this.mdv.x = ((this.sYT.width - this.cmQ.width) / 2); this.mdv.y = ((this.sYT.height - this.cmQ.height) - 4); this.mdv.mouseEnabled = true; this.mdv.mouseChildren = false; this.mdv.buttonMode = true; this.addChild(this.mdv); this.mdv.addEventListener(MouseEvent.CLICK, this.eck); } } }//package jMR
Section 12
//DIp (jMR.DIp) package jMR { import flash.display.*; import yRO.*; public class DIp { public static function uvD():void{ YES.hkP.gwy(); YES.mNx.sTr(); YES.uwu.fhe(); YES.wJr.tmx(); YES.tsX.sWv(); if (YES.cWr != null){ YES.cWr.uZo(); }; TKh(YES.eIw["menu"]).oLS(); TKh(YES.eIw["help"]).oLS(); TKh(YES.eIw["restart"]).oLS(); TKh(YES.eIw["pause"]).oLS(); TKh(YES.eIw["credits"]).oLS(); TKh(YES.eIw["wave"]).oLS(); TKh(YES.eIw["kills"]).oLS(); TKh(YES.eIw["score"]).oLS(); YES.eIw = new Object(); try { while (true) { YUA.tDI.removeChildAt(0); }; } catch(bfY:RangeError) { }; try { while (true) { YES.vPq.removeChildAt(0); }; } catch(bfY:RangeError) { }; try { while (true) { YES.zIM.removeChildAt(0); }; } catch(bfY:RangeError) { }; try { while (true) { YES.zYM.removeChildAt(0); }; } catch(bfY:RangeError) { }; try { while (true) { YES.wMA.removeChildAt(0); }; } catch(bfY:RangeError) { }; try { while (true) { YUA.xud.removeChildAt(0); }; } catch(bfY:RangeError) { }; YUA.tDI = null; YES.vPq = null; YES.zIM = null; YES.zYM = null; YES.wMA = null; } public static function zir():void{ var _local1:int; 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:*; _local1 = 6; _local2 = _local1; _local3 = YUA.dzW; _local4 = (YUA.jao - _local2); _local5 = 32; _local6 = (YUA.jao - _local2); _local7 = 72; _local8 = 160; _local9 = ((YUA.dzW - _local5) - _local7); _local10 = 468; YUA.tDI = new Sprite(); YUA.tDI.mouseChildren = false; YUA.tDI.mouseEnabled = true; YUA.tDI.x = _local2; YUA.tDI.y = _local5; YES.zYM = new Sprite(); YES.zYM.mouseEnabled = false; YES.zYM.mouseChildren = false; DIp.cGY(new Bitmap(YES.sOO("border_right")), 0, 0, _local1, YUA.dzW, YES.zYM); YES.vPq = new Sprite(); YES.vPq.mouseEnabled = false; YES.vPq.x = _local2; DIp.cGY(new Bitmap(YES.sOO("border_top")), 0, 0, _local4, _local1, YES.vPq); DIp.cGY(new Bitmap(YES.sOO("border_bottom")), 0, (_local5 - _local1), _local4, _local1, YES.vPq); DIp.cGY(new Bitmap(YES.sOO("border_left")), (_local4 - _local1), 0, _local1, _local5, YES.vPq); YES.zIM = new Sprite(); YES.zIM.mouseEnabled = false; YES.zIM.x = _local2; YES.zIM.y = (YUA.dzW - _local7); DIp.cGY(new Bitmap(YES.sOO("border_right")), _local10, 0, _local1, _local7, YES.zIM); DIp.cGY(new Bitmap(YES.sOO("border_top")), 0, 0, _local6, _local1, YES.zIM); DIp.cGY(new Bitmap(YES.sOO("border_bottom")), 0, (_local7 - _local1), _local6, _local1, YES.zIM); DIp.cGY(new Bitmap(YES.sOO("border_left")), (_local6 - _local1), 0, _local1, _local7, YES.zIM); YES.wMA = new Sprite(); YES.wMA.mouseEnabled = false; YES.wMA.x = (YUA.jao - _local8); YES.wMA.y = _local5; DIp.cGY(new Bitmap(YES.sOO("border_left")), 0, 0, _local1, _local9, YES.wMA); DIp.cGY(new Bitmap(YES.sOO("border_left")), (_local8 - _local1), 0, _local1, _local9, YES.wMA); DIp.cGY(new Bitmap(YES.sOO("border_bottom")), _local1, ((_local9 / 2) - (_local1 / 2)), (_local8 - (2 * _local1)), _local1, YES.wMA); DIp.cGY(new VZq(), (_local1 + 3), 4, 0, 0, YES.wMA); DIp.cGY(new QCU(), (_local1 + 3), (((_local9 / 2) + (_local1 / 2)) + 4), 0, 0, YES.wMA); DIp.cGY(new UES(), 0, _local1, 0, 0, YES.zIM); DIp.cGY(new QkT(), ((_local10 + _local1) + 2), (_local1 + 1), 0, 0, YES.zIM); YUA.xud.addChild(YUA.tDI); YUA.xud.addChild(YES.vPq); YUA.xud.addChild(YES.zIM); YUA.xud.addChild(YES.zYM); YUA.xud.addChild(YES.wMA); new TKh("menu", "", YES.sOO("menu"), 0); new TKh("help", "", YES.sOO("help"), 1); new TKh("restart", "", YES.sOO("restart"), 2); new TKh("pause", "", YES.sOO("pause"), 3); new TKh("credits", String(IwG.gRG), YES.sOO("credits"), 4); new TKh("wave", String(IwG.gIE), YES.sOO("wave"), 5); new TKh("kills", String(IwG.geu), YES.sOO("kills"), 6); new TKh("score", String(IwG.vkN), YES.sOO("score"), 7); new GBT(); } public static function cGY(_arg1:DisplayObject, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:DisplayObjectContainer):void{ _arg1.x = _arg2; _arg1.y = _arg3; if (_arg4 != 0){ _arg1.width = _arg4; }; if (_arg5 != 0){ _arg1.height = _arg5; }; if (_arg6 != null){ _arg6.addChild(_arg1); }; } } }//package jMR
Section 13
//DiT (jMR.DiT) package jMR { import fRp.*; import flash.display.*; import yRO.*; public class DiT { public static function epm():void{ var _local1:int; var _local2:int; var _local3:int; var _local4:int; var _local5:int; var _local6:int; var _local7:int; if (HtY.pgR){ HtY.rVy(); }; DIp.cGY(new Bitmap(YES.sOO("map_selection")), 0, 0, 0, 0, YUA.xud); YES.oWA = new Array(); _local1 = 100; _local2 = 200; _local3 = 180; _local4 = 130; _local5 = _local1; _local6 = _local2; _local7 = 0; while (_local7 < FQz.fjv.length) { if (_local7 != 0){ if ((_local7 % 4) == 0){ _local5 = _local1; _local6 = (_local6 + _local4); } else { _local5 = (_local5 + _local3); }; }; DIp.cGY(new YSn(AGF(FQz.fjv[_local7]).jza), _local5, _local6, 0, 0, YUA.xud); _local7++; }; } public static function bna():void{ var xnX:int; xnX = (YES.oWA.length - 1); while (xnX >= 0) { YSn(YES.oWA[xnX]).xRU(); xnX = (xnX - 1); }; YES.oWA = null; try { while (true) { YUA.xud.removeChildAt(0); }; } catch(zQv:RangeError) { }; } public static function cie(_arg1:int):void{ DiT.bna(); HtY.nVD(_arg1); } } }//package jMR
Section 14
//EJT (jMR.EJT) package jMR { public class EJT { public static var bRp:int = 7061208; public static var nOC:int = 34047; public static var bDf:int = 0xFF00; public static var pLc:int = 0xFF; public static var iUV:int = 0; public static var lqp:int = 7765898; public static var lee:int = 14732590; public static var iLs:int = 10924; public static var kco:int = 11317437; public static var ijN:int = 6463542; public static var vAN:int = 0xC0C0C0; public static var lgk:int = 11912688; public static var aoQ:int = 327728; public static var nuS:int = 34047; public static var nmO:int = 9023618; public static var liV:int = 0xFF0000; public static var jTf:int = 0xC0C0; } }//package jMR
Section 15
//GBT (jMR.GBT) package jMR { import flash.events.*; import flash.display.*; import zsg.*; import wQC.*; import zfn.*; import yRO.*; import dtO.*; public class GBT { private var tfw:Sprite; private var nNR:Mns;// = null private var oQi:Sprite;// = null private var fBR:Bitmap;// = null private var fbu:ScQ;// = null private var mVe:Bitmap;// = null public function GBT(){ oQi = null; fbu = null; nNR = null; tfw = new Sprite(); mVe = null; fBR = null; super(); YES.tsX = this; this.oQi = YUA.tDI; this.oQi.addEventListener(MouseEvent.CLICK, this.tQE); this.mVe = new Bitmap(YES.sOO("audio_on")); this.mVe.alpha = 0.8; this.fBR = new Bitmap(YES.sOO("audio_off")); this.fBR.alpha = 0.6; this.tfw.x = (6 + 2); this.tfw.y = (32 + 2); this.tfw.mouseEnabled = true; this.tfw.mouseChildren = false; this.tfw.buttonMode = true; if (YUA.iFM){ this.tfw.addChild(this.mVe); } else { this.tfw.addChild(this.fBR); }; YUA.xud.addChild(this.tfw); this.tfw.addEventListener(MouseEvent.CLICK, this.kai); } private function tQE(_arg1:MouseEvent):void{ var _local2:int; var _local3:int; var _local4:int; var _local5:int; var _local6:int; var _local7:Boolean; _local2 = (_arg1.stageX - this.oQi.x); _local3 = (_arg1.stageY - this.oQi.y); _local4 = -1; _local5 = -1; _local6 = -1; if (YES.bRE != null){ _local4 = YES.bRE.vBm.tSi; YES.bRE.dGq(); }; if (YES.hqh != null){ _local5 = YES.hqh.gtJ.kVK; YES.hqh.qdN(); }; if (YES.sbK != null){ _local6 = YES.sbK.snD.fOS; YES.sbK.ccB(); }; _local7 = false; _local7 = this.qzt(_local2, _local3, _local4); if (!_local7){ _local7 = this.zeZ(_local2, _local3, _local5); if (!_local7){ _local7 = this.tIt(_local2, _local3, _local6); }; }; _arg1.updateAfterEvent(); } private function qzt(_arg1:int, _arg2:int, _arg3:int):Boolean{ var _local4:DeR; var _local5:DeR; var _local6:int; _local5 = null; _local6 = (Hur.vjE.length - 1); while (_local6 >= 0) { if (Hur.vjE[_local6] != null){ _local4 = DeR(Hur.vjE[_local6]); if ((((((((_arg1 >= _local4.zuE)) && ((_arg1 <= (_local4.zuE + YUA.ayy))))) && ((_arg2 >= _local4.gpH)))) && ((_arg2 <= (_local4.gpH + YUA.ayy))))){ _local5 = _local4; break; }; }; _local6--; }; if (_local5 != null){ if (_local5.tSi != _arg3){ KFt.ubT("weapon_select"); new ScQ(_local5); }; return (true); }; return (false); } public function sWv():void{ this.tfw.removeEventListener(MouseEvent.CLICK, this.kai); YUA.xud.removeChild(this.tfw); this.tfw = null; this.oQi.removeEventListener(MouseEvent.CLICK, this.tQE); this.oQi = null; if (YES.bRE != null){ YES.bRE.dGq(); }; if (YES.hqh != null){ YES.hqh.qdN(); }; if (YES.sbK != null){ YES.sbK.ccB(); }; YES.tsX = null; } private function kai(_arg1:MouseEvent):void{ YUA.iFM = !(YUA.iFM); if (YUA.iFM){ this.tfw.removeChild(this.fBR); this.tfw.addChild(this.mVe); } else { this.tfw.removeChild(this.mVe); this.tfw.addChild(this.fBR); }; } private function zeZ(_arg1:int, _arg2:int, _arg3:int):Boolean{ var _local4:Msk; var _local5:Msk; var _local6:int; _local5 = null; _local6 = (UCE.lFn.length - 1); while (_local6 >= 0) { if (UCE.lFn[_local6] != null){ _local4 = Msk(UCE.lFn[_local6]); if ((((((((_arg1 >= _local4.sYR)) && ((_arg1 <= (_local4.sYR + YUA.ayy))))) && ((_arg2 >= _local4.gYx)))) && ((_arg2 <= (_local4.gYx + YUA.ayy))))){ _local5 = _local4; break; }; }; _local6--; }; if (_local5 != null){ if (_local5.kVK != _arg3){ KFt.ubT("weapon_select"); new Mns(_local5); }; return (true); }; return (false); } private function tIt(_arg1:int, _arg2:int, _arg3:int):Boolean{ var _local4:UZi; var _local5:UZi; var _local6:int; _local5 = null; _local6 = (ZLF.cKd.length - 1); while (_local6 >= 0) { if (ZLF.cKd[_local6] != null){ _local4 = UZi(ZLF.cKd[_local6]); if ((((((((_arg1 >= _local4.poT)) && ((_arg1 <= (_local4.poT + YUA.ayy))))) && ((_arg2 >= _local4.zjJ)))) && ((_arg2 <= (_local4.zjJ + YUA.ayy))))){ _local5 = _local4; break; }; }; _local6--; }; if (_local5 != null){ if (_local5.rgI.fOS != _arg3){ KFt.ubT("critter_select"); new AMC(_local5.rgI); }; return (true); }; return (false); } } }//package jMR
Section 16
//KiG (jMR.KiG) package jMR { import flash.events.*; import flash.display.*; import zsg.*; import yRO.*; import flash.text.*; import flash.net.*; import dtO.*; import kNe.*; import flash.ui.*; public class KiG extends Sprite { private var fag:Sprite; private var iWc:TextField; private var wsy:Sprite; private var nRu:Bitmap;// = null private var beS:Sprite; private var abx:TextField; private var mZY:Sprite; private var kWt:TextField; private var nwg:Sprite; private var uDs:TextField; private var ufb:Sprite; private var vyZ:URLLoader; public function KiG():void{ fag = new Sprite(); nRu = null; uDs = new TextField(); iWc = new TextField(); abx = new TextField(); kWt = new TextField(); wsy = new Sprite(); ufb = new Sprite(); mZY = new Sprite(); beS = new Sprite(); nwg = new Sprite(); vyZ = new URLLoader(); super(); YES.cWr = this; if (YES.hkP.keM){ YES.hkP.tBc(); Mouse.show(); }; this.mouseEnabled = true; this.graphics.beginFill(EJT.iUV, 0.25); this.graphics.drawRect(0, 0, YUA.jao, (YUA.dzW - 72)); this.graphics.endFill(); this.oxg(); YUA.xud.addChild(this); } public function uZo():void{ if (this.vyZ.hasEventListener(Event.COMPLETE)){ this.vyZ.removeEventListener(Event.COMPLETE, this.kaS); this.vyZ.removeEventListener(IOErrorEvent.IO_ERROR, this.lkR); }; if (this.wsy.hasEventListener(MouseEvent.CLICK)){ this.wsy.removeEventListener(MouseEvent.CLICK, this.meV); }; if (this.nwg.hasEventListener(MouseEvent.CLICK)){ this.nwg.removeEventListener(MouseEvent.CLICK, this.pbp); }; this.ufb.removeEventListener(MouseEvent.CLICK, this.pbp); this.mZY.removeEventListener(MouseEvent.CLICK, this.pbp); this.beS.removeEventListener(MouseEvent.CLICK, this.pbp); YUA.xud.removeChild(this); this.removeChild(this.fag); this.fag = null; YES.cWr = null; } private function oxg():void{ var _local1:String; this.nRu = new Bitmap(YES.sOO((("ga" + "me_o") + "ver"))); this.nRu.alpha = 0.8; this.fag.addChild(this.nRu); this.fag.x = ((6 + (((YUA.jao - 6) - 160) / 2)) - (this.fag.width / 2)); this.fag.y = ((32 + (((YUA.dzW - 32) - 72) / 2)) - (this.fag.height / 2)); this.addChild(this.fag); this.uDs.x = 2; this.uDs.y = 22; this.uDs.width = (this.fag.width - 4); this.uDs.defaultTextFormat = PTY.xMJ; this.uDs.mouseEnabled = false; this.uDs.selectable = false; this.uDs.autoSize = TextFieldAutoSize.LEFT; this.uDs.wordWrap = true; this.uDs.text = (((((("Welc" + "ome t") + "o th") + "e Hal") + "l o") + "f Fa") + "me!"); this.fag.addChild(this.uDs); _local1 = (((((((((((((((((((((((((((("<font color='#C0C0C0' face='Tahoma, Arial, sans-serif' size='11px'><b>Yo" + "u hav") + "e rea") + "ched <font color='#6BBED8'>w") + "ave ") + IwG.gIE) + "</font>,<br>ama") + "ssi") + "ng <font color='#89B082'>") + IwG.geu) + " kil") + "ls</font>,<br>spen") + "ding <font color='#E0CD2E'>") + IwG.nWL) + " cre") + "dits</font> whi") + "le ea") + "rning <font color='#E0CD2E'>") + IwG.ops) + "</font>,<br><br>re") + "sult") + "ing i") + "n an o") + "veral") + "l sc") + "ore o") + "f: <font color='#767F8A' size='20px'>") + IwG.vkN) + "</font></b></font>"); this.iWc.x = 2; this.iWc.y = 48; this.iWc.width = (this.fag.width - 4); this.iWc.multiline = true; this.iWc.wordWrap = true; this.iWc.htmlText = _local1; this.fag.addChild(this.iWc); this.abx.x = 2; this.abx.y = ((this.iWc.y + this.iWc.height) - 10); this.abx.width = 80; this.abx.defaultTextFormat = PTY.sPE; this.abx.mouseEnabled = false; this.abx.selectable = false; this.abx.text = (("Yo" + "ur N") + "ame:"); this.fag.addChild(this.abx); this.kWt.x = (this.abx.x + this.abx.width); this.kWt.y = this.abx.y; this.kWt.width = 140; this.kWt.height = 20; this.kWt.defaultTextFormat = PTY.sPE; this.kWt.mouseEnabled = true; this.kWt.selectable = true; this.kWt.background = true; this.kWt.backgroundColor = 1582692; this.kWt.border = true; this.kWt.borderColor = 922150; this.kWt.type = TextFieldType.INPUT; this.kWt.text = ""; this.kWt.maxChars = 20; this.fag.addChild(this.kWt); this.wsy.x = ((this.kWt.x + this.kWt.width) + 10); this.wsy.y = this.kWt.y; this.wsy.mouseEnabled = true; this.wsy.mouseChildren = false; this.wsy.buttonMode = true; this.wsy.addChild(new Bitmap(YES.sOO((("su" + "bmit_s") + "core")))); this.fag.addChild(this.wsy); this.ufb.x = 2; this.ufb.y = (this.nRu.height - 22); this.ufb.mouseEnabled = true; this.ufb.mouseChildren = false; this.ufb.buttonMode = true; this.ufb.addChild(new Bitmap(YES.sOO((("tr" + "y_ag") + "ain")))); this.fag.addChild(this.ufb); this.mZY.x = ((this.ufb.x + this.ufb.width) + 8); this.mZY.y = this.ufb.y; this.mZY.mouseEnabled = true; this.mZY.mouseChildren = false; this.mZY.buttonMode = true; this.mZY.addChild(new Bitmap(YES.sOO((("tr" + "y_ne") + "w_map")))); this.fag.addChild(this.mZY); this.beS.x = ((this.mZY.x + this.mZY.width) + 8); this.beS.y = this.ufb.y; this.beS.mouseEnabled = true; this.beS.mouseChildren = false; this.beS.buttonMode = true; this.beS.addChild(new Bitmap(YES.sOO((("tr" + "y_pa") + "rdus")))); this.fag.addChild(this.beS); this.wsy.addEventListener(MouseEvent.CLICK, this.meV); this.ufb.addEventListener(MouseEvent.CLICK, this.pbp); this.mZY.addEventListener(MouseEvent.CLICK, this.pbp); this.beS.addEventListener(MouseEvent.CLICK, this.pbp); } private function lkR(_arg1:IOErrorEvent):void{ this.vyZ.removeEventListener(Event.COMPLETE, this.kaS); this.vyZ.removeEventListener(IOErrorEvent.IO_ERROR, this.lkR); this.wsy.addEventListener(MouseEvent.CLICK, this.meV); this.wsy.buttonMode = true; this.wsy.alpha = 1; this.kWt.type = TextFieldType.INPUT; this.kWt.text = ((("Su" + "bmis") + "sion er") + "ror ..."); } private function kaS(_arg1:Event):void{ this.fag.removeChild(this.kWt); this.fag.removeChild(this.wsy); this.abx.text = (((((("You" + "r sco") + "re h") + "as be") + "en su") + "bmit") + "ted!"); this.abx.width = 200; this.nwg.x = this.wsy.x; this.nwg.y = this.wsy.y; this.nwg.mouseEnabled = true; this.nwg.mouseChildren = false; this.nwg.buttonMode = true; this.nwg.addChild(new Bitmap(YES.sOO((("hal" + "l_of_f") + "ame")))); this.fag.addChild(this.nwg); this.nwg.addEventListener(MouseEvent.CLICK, this.pbp); } private function meV(_arg1:MouseEvent):void{ var _local2:URLVariables; var _local3:URLRequest; _local2 = new URLVariables(); _local2.name = this.kWt.text; _local2.map = YUA.qpS.uMJ(); _local2.score = IwG.vkN; _local2.wave = IwG.gIE; _local2.kills = IwG.geu; _local2.credits_earned = IwG.ops; _local2.credits_spent = IwG.nWL; _local2.version = YUA.xeQ; _local2.s = YtP.lGK(YtP.lGK((((((((RUX.atI(18) + _local2.name) + _local2.map) + _local2.score) + _local2.wave) + _local2.kills) + _local2.credits_earned) + _local2.credits_spent))); _local3 = new URLRequest(YUA.tRU); _local3.method = URLRequestMethod.POST; _local3.data = _local2; this.wsy.removeEventListener(MouseEvent.CLICK, this.meV); this.wsy.buttonMode = false; this.wsy.alpha = 0.5; this.kWt.type = TextFieldType.DYNAMIC; this.kWt.text = (("Su" + "bmit") + "ting ..."); this.vyZ.load(_local3); this.vyZ.addEventListener(Event.COMPLETE, this.kaS); this.vyZ.addEventListener(IOErrorEvent.IO_ERROR, this.lkR); } private function pbp(_arg1:MouseEvent):void{ KFt.ubT("menu"); if (_arg1.target == this.ufb){ HtY.hXw(YUA.qpS.xhZ()); } else { if (_arg1.target == this.mZY){ HtY.jea(); DiT.epm(); } else { if (_arg1.target == this.beS){ navigateToURL(new URLRequest(RUX.atI(8)), RUX.atI(19)); } else { if (_arg1.target == this.nwg){ navigateToURL(new URLRequest((((((("http://www.astr" + "altowe") + "rdefe") + "nse.com/hal") + "l_of_fam") + "e.php?map=") + YUA.qpS.uMJ())), "_blank"); }; }; }; }; } } }//package jMR
Section 17
//Ksb (jMR.Ksb) package jMR { import flash.events.*; import xDd.*; import flash.display.*; import yRO.*; import flash.text.*; import dtO.*; public class Ksb { private var maY:Bitmap;// = null private var uMB:EqW;// = null private var kKL:Sprite; private var axi:Number;// = 0 private var cth:TextField; private var ive:Bitmap;// = null private var h;// = 20 private var dCi:TextField; private var w;// = 500 public function Ksb(){ uMB = null; kKL = new Sprite(); cth = new TextField(); axi = 0; w = 500; h = 20; ive = null; maY = null; dCi = new TextField(); super(); this.fDx(); } private function yQD(_arg1:MouseEvent):void{ var cYk = _arg1; try { this.kKL.removeChild(this.maY); } catch(pSa:ArgumentError) { }; } private function fDx():void{ this.kKL.x = (YUA.jao / 2); this.kKL.y = (YUA.dzW - 120); this.kKL.mouseEnabled = true; this.kKL.mouseChildren = false; YUA.xud.addChild(this.kKL); this.cth.autoSize = TextFieldAutoSize.CENTER; this.cth.defaultTextFormat = PTY.tjw; this.cth.text = "0% loaded"; this.cth.x = ((YUA.jao / 2) - (this.cth.width / 2)); this.cth.y = (this.kKL.y + 2); this.cth.mouseEnabled = false; this.cth.selectable = false; YUA.xud.addChild(this.cth); this.dCi.autoSize = TextFieldAutoSize.CENTER; this.dCi.defaultTextFormat = PTY.oRL; this.dCi.text = ("Astral Tower Defense v" + YUA.xeQ); this.dCi.x = ((YUA.jao / 2) - (this.dCi.width / 2)); this.dCi.y = (this.kKL.y + 48); this.dCi.mouseEnabled = false; this.dCi.selectable = false; YUA.xud.addChild(this.dCi); } private function ioI(_arg1:Number):Number{ var _local2:int; var _local3:Number; _local2 = Math.floor(_arg1); _local3 = (_arg1 - _local2); _local3 = (_local3 * 10); _local3 = Math.round(_local3); return (Number((_local2 + (_local3 / 10)))); } public function lqP(_arg1:Number):void{ var _local2:Number; var _local3:int; var _local4:String; _local2 = this.ioI(_arg1); if (_local2 == this.axi){ return; }; this.axi = _local2; _local3 = Math.round((this.w * (_local2 / 100))); this.kKL.graphics.clear(); this.kKL.x = ((YUA.jao / 2) - (_local3 / 2)); this.kKL.graphics.lineStyle(4, EJT.nOC, 0.25, true); this.kKL.graphics.beginFill(EJT.iLs, 1); this.kKL.graphics.drawEllipse(0, 0, _local3, this.h); this.kKL.graphics.endFill(); _local4 = String(_local2); if (_local4.indexOf(".") == -1){ _local4 = (_local4 + ".0"); }; this.cth.text = (_local4 + "% loaded"); } public function oYz(_arg1:EqW):void{ this.uMB = _arg1; this.cth.text = ""; this.kKL.graphics.clear(); this.kKL.buttonMode = true; this.ive = new Bitmap(YES.sOO("continue_button")); this.maY = new Bitmap(YES.sOO("continue_button_active")); this.kKL.x = ((YUA.jao / 2) - (this.ive.width / 2)); this.kKL.y = (this.kKL.y - (this.ive.height / 2)); this.kKL.addChild(this.ive); this.kKL.addEventListener(MouseEvent.ROLL_OVER, this.jDH); this.kKL.addEventListener(MouseEvent.ROLL_OUT, this.yQD); this.kKL.addEventListener(MouseEvent.CLICK, this.iFm); } private function iFm(_arg1:MouseEvent):void{ KFt.ubT("menu"); this.uMB.caV(); this.neN(); DiT.epm(); } private function jDH(_arg1:MouseEvent):void{ this.kKL.addChild(this.maY); } public function neN():void{ this.kKL.removeEventListener(MouseEvent.ROLL_OVER, this.jDH); this.kKL.removeEventListener(MouseEvent.ROLL_OUT, this.yQD); this.kKL.removeEventListener(MouseEvent.CLICK, this.iFm); this.uMB = null; YUA.xud.removeChild(this.kKL); YUA.xud.removeChild(this.cth); YUA.xud.removeChild(this.dCi); this.kKL = null; this.cth = null; this.ive = null; this.dCi = null; try { while (true) { YUA.xud.removeChildAt(0); }; } catch(bpL:RangeError) { }; } } }//package jMR
Section 18
//Mns (jMR.Mns) package jMR { import flash.events.*; import flash.display.*; import wQC.*; import yRO.*; import flash.text.*; import flash.filters.*; public class Mns extends Sprite { private var bqw:TextField; private var nYX:Bitmap; private var xfG:Bitmap;// = null private var qEg:Bitmap;// = null private var lWC:TextField; private var gmd:TextField; private var rbQ:NqQ;// = null private var yYC:int;// = 0 private var ekB:TextField; private var ezo:TextField; private var dho:Bitmap; private var ztG:Bitmap;// = null private var ibx:Sprite; private var drA:TextField; private var kGL:Bitmap; private var zSw:TextField; private var boN:TextField; private var gpv:TextField; private var eKu:Array;// = null private var cgw:Sprite; private var wgs:TextField; private var jpq:Sprite; private var dmS:Bitmap;// = null private var eVh:TextField; public var gtJ:Msk;// = null private var unx:Shape;// = null public function Mns(_arg1:Msk){ gtJ = null; rbQ = null; eKu = null; ztG = null; nYX = new Bitmap(); eVh = new TextField(); bqw = new TextField(); ezo = new TextField(); ekB = new TextField(); lWC = new TextField(); dho = new Bitmap(); boN = new TextField(); gmd = new TextField(); drA = new TextField(); gpv = new TextField(); zSw = new TextField(); ibx = new Sprite(); kGL = new Bitmap(); qEg = null; wgs = new TextField(); jpq = new Sprite(); xfG = null; cgw = new Sprite(); dmS = null; yYC = 0; unx = null; super(); YES.hqh = this; this.gtJ = _arg1; this.rbQ = this.gtJ.aPh; this.gtJ.tgR.filters = [new GlowFilter(EJT.kco, 0.8, 12, 12)]; this.wga(); this.nLL(); DIp.cGY(this, 9, 4, 0, 0, YES.wMA); } private function nLL():void{ this.nYX.bitmapData = this.rbQ.tEI; this.bqw.text = this.rbQ.uQO; this.ezo.text = ("Range: " + String(this.gtJ.zpu)); this.lWC.text = (((((this.gtJ.acC + "%\r") + this.gtJ.mLG) + "%\r") + this.gtJ.zVA) + "%"); if (this.gtJ.enk()){ this.dho.bitmapData = this.rbQ.tEI; this.gmd.text = this.rbQ.uQO; this.drA.text = ("Range: " + String(this.eKu[1])); this.zSw.text = (((((this.eKu[3] + "%\r") + this.eKu[4]) + "%\r") + this.eKu[2]) + "%"); this.wgs.text = String(this.eKu[0]); this.trJ(); } else { this.eVh.text = "Current (MAX)"; }; if (this.unx != null){ YUA.tDI.removeChild(this.unx); this.unx = null; }; this.unx = new Shape(); this.unx.graphics.beginFill(EJT.pLc, 0.2); this.unx.graphics.lineStyle(1, EJT.pLc, 0.25); this.unx.graphics.drawCircle((YUA.ayy / 2), (YUA.ayy / 2), (this.gtJ.zpu * YUA.qyf)); this.unx.graphics.endFill(); this.unx.x = this.gtJ.sYR; this.unx.y = this.gtJ.gYx; YUA.tDI.addChildAt(this.unx, YUA.oqi); } private function wga():void{ this.ztG = new Bitmap(YES.sOO("stats")); this.addChild(this.ztG); this.nYX.x = 5; this.nYX.y = 29; this.addChild(this.nYX); this.eVh.defaultTextFormat = PTY.vVF; this.eVh.autoSize = TextFieldAutoSize.LEFT; this.eVh.x = ((this.nYX.x + YUA.ayy) + 4); this.eVh.y = (this.nYX.y - 5); this.eVh.selectable = false; this.eVh.mouseEnabled = false; this.eVh.text = "Current"; this.addChild(this.eVh); this.bqw.defaultTextFormat = PTY.rCB; this.bqw.autoSize = TextFieldAutoSize.LEFT; this.bqw.x = this.eVh.x; this.bqw.y = (this.eVh.y + 12); this.bqw.selectable = false; this.bqw.mouseEnabled = false; this.addChild(this.bqw); this.ezo.defaultTextFormat = PTY.gIZ; this.ezo.autoSize = TextFieldAutoSize.LEFT; this.ezo.x = this.eVh.x; this.ezo.y = (this.bqw.y + 12); this.ezo.selectable = false; this.ezo.mouseEnabled = false; this.addChild(this.ezo); this.ekB.defaultTextFormat = PTY.gIZ; this.ekB.autoSize = TextFieldAutoSize.LEFT; this.ekB.x = 5; this.ekB.y = ((this.nYX.y + YUA.ayy) + 2); this.ekB.selectable = false; this.ekB.mouseEnabled = false; this.ekB.text = "Damage:\rFire Rate:\rRange:"; this.addChild(this.ekB); this.lWC.defaultTextFormat = PTY.gIZ; this.lWC.autoSize = TextFieldAutoSize.LEFT; this.lWC.x = (this.ekB.x + 80); this.lWC.y = this.ekB.y; this.lWC.selectable = false; this.lWC.mouseEnabled = false; this.addChild(this.lWC); this.xfG = new Bitmap(YES.sOO("back_to_armory")); this.jpq.addChild(this.xfG); this.jpq.x = ((this.ztG.width - this.xfG.width) / 2); this.jpq.y = ((this.ztG.height - this.xfG.height) - 4); this.jpq.mouseEnabled = true; this.jpq.mouseChildren = false; this.jpq.buttonMode = true; this.addChild(this.jpq); this.jpq.addEventListener(MouseEvent.CLICK, this.vWD); this.dmS = new Bitmap(YES.sOO("demolish")); this.cgw.addChild(this.dmS); this.cgw.x = ((this.ztG.width - this.cgw.width) - 5); this.cgw.y = (this.ezo.y + 5); this.cgw.mouseEnabled = true; this.cgw.mouseChildren = false; this.cgw.buttonMode = true; this.addChild(this.cgw); this.cgw.addEventListener(MouseEvent.CLICK, this.rEi); if (this.gtJ.enk()){ this.eKu = this.gtJ.liD(); this.dho.x = 5; this.dho.y = 110; this.addChild(this.dho); this.boN.defaultTextFormat = PTY.vVF; this.boN.autoSize = TextFieldAutoSize.LEFT; this.boN.x = ((this.dho.x + YUA.ayy) + 4); this.boN.y = (this.dho.y - 5); this.boN.selectable = false; this.boN.mouseEnabled = false; this.boN.text = "Next Level"; this.addChild(this.boN); this.gmd.defaultTextFormat = PTY.rCB; this.gmd.autoSize = TextFieldAutoSize.LEFT; this.gmd.x = this.boN.x; this.gmd.y = (this.boN.y + 12); this.gmd.selectable = false; this.gmd.mouseEnabled = false; this.addChild(this.gmd); this.drA.defaultTextFormat = PTY.gIZ; this.drA.autoSize = TextFieldAutoSize.LEFT; this.drA.x = this.boN.x; this.drA.y = (this.gmd.y + 12); this.drA.selectable = false; this.drA.mouseEnabled = false; this.addChild(this.drA); this.gpv.defaultTextFormat = PTY.gIZ; this.gpv.autoSize = TextFieldAutoSize.LEFT; this.gpv.x = 5; this.gpv.y = ((this.dho.y + YUA.ayy) + 2); this.gpv.selectable = false; this.gpv.mouseEnabled = false; this.gpv.text = "Damage:\rFire Rate:\rRange:"; this.addChild(this.gpv); this.zSw.defaultTextFormat = PTY.gIZ; this.zSw.autoSize = TextFieldAutoSize.LEFT; this.zSw.x = (this.gpv.x + 80); this.zSw.y = this.gpv.y; this.zSw.selectable = false; this.zSw.mouseEnabled = false; this.addChild(this.zSw); this.ibx.x = this.gpv.x; this.ibx.y = (this.gpv.y + 48); this.ibx.mouseEnabled = true; this.ibx.mouseChildren = false; this.ibx.buttonMode = true; this.ibx.addChild(this.kGL); this.addChild(this.ibx); this.qEg = new Bitmap(YES.sOO("credits")); this.qEg.x = (this.ibx.x + 69); this.qEg.y = this.ibx.y; this.addChild(this.qEg); this.wgs.defaultTextFormat = PTY.bOQ; this.wgs.autoSize = TextFieldAutoSize.LEFT; this.wgs.x = ((this.qEg.x + this.qEg.width) + 4); this.wgs.y = this.qEg.y; this.wgs.selectable = false; this.wgs.mouseEnabled = false; this.addChild(this.wgs); this.ibx.addEventListener(MouseEvent.CLICK, this.aJM); }; } private function aJM(_arg1:MouseEvent):void{ if (HtY.pgR){ return; }; if (IwG.gRG >= this.eKu[0]){ IwG.cDx(-(this.eKu[0])); this.gtJ.qsU(); this.eKu = this.gtJ.liD(); if (this.gtJ.enk() == false){ this.removeChild(this.dho); this.removeChild(this.boN); this.removeChild(this.gmd); this.removeChild(this.drA); this.removeChild(this.gpv); this.removeChild(this.zSw); this.removeChild(this.ibx); this.removeChild(this.qEg); this.removeChild(this.wgs); }; this.nLL(); }; } public function trJ():void{ if (this.gtJ.enk() == false){ return; }; if (this.eKu[0] > IwG.gRG){ if ((((this.yYC == 0)) || ((this.yYC == 1)))){ this.kGL.bitmapData = YES.sOO("upgrade_red"); this.wgs.textColor = EJT.liV; this.yYC = 2; }; } else { if ((((this.yYC == 0)) || ((this.yYC == 2)))){ this.kGL.bitmapData = YES.sOO("upgrade"); this.wgs.textColor = EJT.lee; this.yYC = 1; }; }; } public function qdN():void{ this.gtJ.tgR.filters = null; YUA.tDI.removeChild(this.unx); this.unx = null; this.ibx.removeEventListener(MouseEvent.CLICK, this.aJM); this.jpq.removeEventListener(MouseEvent.CLICK, this.vWD); this.cgw.removeEventListener(MouseEvent.CLICK, this.rEi); YES.wMA.removeChild(this); YES.hqh = null; } private function rEi(_arg1:MouseEvent):void{ if (HtY.pgR){ return; }; IwG.cDx(Math.floor((this.gtJ.sQS / 2))); this.gtJ.fyK(); this.qdN(); } private function vWD(_arg1:MouseEvent):void{ this.qdN(); _arg1.updateAfterEvent(); } } }//package jMR
Section 19
//MPt (jMR.MPt) package jMR { import flash.events.*; import flash.display.*; import yRO.*; import flash.text.*; import dtO.*; public class MPt extends Sprite { private var tnX:TextField; private var jrm:int;// = 150 private var cMO:String; private var vCT:TextField; private var sEP:int;// = 15 private var ooj:int;// = 50 private var xQY:TextField; private var yRu:int;// = 60 private var krg:Sprite; private var sHw:Sprite; public function MPt(_arg1:String, _arg2:int, _arg3:int){ jrm = 150; ooj = 50; vCT = new TextField(); krg = new Sprite(); tnX = new TextField(); sHw = new Sprite(); xQY = new TextField(); yRu = 60; sEP = 15; super(); this.cMO = _arg1; this.x = (_arg2 + 16); this.y = _arg3; this.mouseEnabled = false; this.graphics.beginFill(EJT.iUV, 0.65); this.graphics.lineStyle(1, EJT.vAN); this.graphics.drawRoundRect(0, 0, this.jrm, this.ooj, 5); this.graphics.endFill(); this.vCT.mouseEnabled = false; this.vCT.defaultTextFormat = PTY.rCB; this.vCT.selectable = false; if (this.cMO == "menu"){ this.vCT.text = "Are you sure you want to abort this map?"; } else { if (this.cMO == "restart"){ this.vCT.text = "Are you sure you want to restart this map?"; }; }; this.vCT.x = 2; this.vCT.y = 2; this.vCT.width = (this.jrm - 8); this.vCT.wordWrap = true; this.addChild(this.vCT); this.krg.mouseEnabled = true; this.krg.mouseChildren = false; this.krg.buttonMode = true; this.krg.x = 3; this.krg.y = ((this.ooj - this.sEP) - 3); this.krg.graphics.beginFill(EJT.iUV, 0.5); this.krg.graphics.lineStyle(1, EJT.vAN); this.krg.graphics.drawRoundRect(0, 0, this.yRu, this.sEP, 5); this.krg.graphics.endFill(); this.addChild(this.krg); this.tnX.mouseEnabled = false; this.tnX.defaultTextFormat = PTY.ssg; this.tnX.selectable = false; this.tnX.autoSize = TextFieldAutoSize.CENTER; this.tnX.text = "N O"; this.tnX.x = ((this.yRu / 2) - (this.tnX.textWidth / 2)); this.tnX.y = (((this.sEP / 2) - (this.tnX.textHeight / 2)) - 1); this.krg.addChild(this.tnX); this.sHw.mouseEnabled = true; this.sHw.mouseChildren = false; this.sHw.buttonMode = true; this.sHw.x = ((this.jrm - this.yRu) - 3); this.sHw.y = ((this.ooj - this.sEP) - 3); this.sHw.graphics.beginFill(EJT.iUV, 0.5); this.sHw.graphics.lineStyle(1, EJT.vAN); this.sHw.graphics.drawRoundRect(0, 0, this.yRu, this.sEP, 5); this.sHw.graphics.endFill(); this.addChild(this.sHw); this.xQY.mouseEnabled = false; this.xQY.defaultTextFormat = PTY.ssg; this.xQY.selectable = false; this.xQY.autoSize = TextFieldAutoSize.CENTER; this.xQY.text = "Y E S"; this.xQY.x = ((this.yRu / 2) - (this.xQY.textWidth / 2)); this.xQY.y = (((this.sEP / 2) - (this.xQY.textHeight / 2)) - 1); this.sHw.addChild(this.xQY); YUA.xud.addChild(this); this.krg.addEventListener(MouseEvent.CLICK, this.zkf); this.sHw.addEventListener(MouseEvent.CLICK, this.tAp); } private function zkf(_arg1:MouseEvent):void{ KFt.ubT("menu"); this.zoM(); _arg1.updateAfterEvent(); } private function tAp(_arg1:MouseEvent):void{ KFt.ubT("menu"); if (this.cMO == "menu"){ HtY.jea(); DiT.epm(); } else { if (this.cMO == "restart"){ HtY.hXw(YUA.qpS.xhZ()); }; }; } public function zoM():void{ this.krg.removeEventListener(MouseEvent.CLICK, this.zkf); this.sHw.removeEventListener(MouseEvent.CLICK, this.tAp); YUA.xud.removeChild(this); this.removeChild(this.vCT); this.vCT = null; this.removeChild(this.krg); this.krg = null; this.removeChild(this.sHw); this.sHw = null; TKh(YES.eIw[this.cMO]).fkQ = null; } } }//package jMR
Section 20
//PTY (jMR.PTY) package jMR { import flash.text.*; public class PTY { public static var tjw:TextFormat = new TextFormat("Courier, serif", 14, EJT.lgk, true); public static var bOQ:TextFormat = new TextFormat("Tahoma, Arial, sans-serif", 10, EJT.lee, true); public static var ssg:TextFormat = new TextFormat("Tahoma, Arial, sans-serif", 10, EJT.liV, true); public static var eEO:TextFormat = new TextFormat("Tahoma, Arial, sans-serif", 10, EJT.nuS); public static var vkf:TextFormat = new TextFormat("Tahoma, Arial, sans-serif", 9, EJT.vAN); public static var xMJ:TextFormat = new TextFormat("Tahoma, Arial, sans-serif", 15, EJT.lee, true); public static var rCB:TextFormat = new TextFormat("Tahoma, Arial, sans-serif", 10, EJT.vAN, true); public static var gIZ:TextFormat = new TextFormat("Tahoma, Arial, sans-serif", 10, EJT.vAN); public static var wke:TextFormat = new TextFormat("Tahoma, Arial, sans-serif", 20, EJT.jTf, true); public static var vVF:TextFormat = new TextFormat("Tahoma, Arial, sans-serif", 11, EJT.jTf); public static var sPE:TextFormat = new TextFormat("Tahoma, Arial, sans-serif", 11, EJT.vAN, true); public static var oRL:TextFormat = new TextFormat("Tahoma, Arial, sans-serif", 10, EJT.lgk); public static var vvs:TextFormat = new TextFormat("Tahoma, Arial, sans-serif", 10, EJT.ijN); public static var oAC:Array = [PTY.gIZ, PTY.vvs, PTY.eEO]; } }//package jMR
Section 21
//QCU (jMR.QCU) package jMR { import flash.events.*; import flash.display.*; import zsg.*; import yRO.*; import flash.text.*; public class QCU extends Sprite { private var qvz:TextField; private var zGi:TextField; private var riZ:Bitmap;// = null private var tMc:TextField; private var pUw:Bitmap;// = null private var jJH:TextField; private var xYQ:TextField; private var nvS:TextField; private var nhO:TextField; private var wAH:Bitmap; private var fiC:TextField; private var qEY:Sprite; public function QCU(){ pUw = null; riZ = null; wAH = new Bitmap(); qEY = new Sprite(); nhO = new TextField(); tMc = new TextField(); fiC = new TextField(); qvz = new TextField(); xYQ = new TextField(); nvS = new TextField(); jJH = new TextField(); zGi = new TextField(); super(); YES.mNx = this; this.mouseEnabled = false; this.hGi(); this.nmT(1); this.vMD("45"); } public function sTr():void{ this.qEY.removeEventListener(MouseEvent.CLICK, this.eDg); YES.wMA.removeChild(this); YES.mNx = null; } private function hGi():void{ this.pUw = new Bitmap(YES.sOO("next_wave")); this.addChild(this.pUw); this.riZ = new Bitmap(YES.sOO("wave_box")); this.riZ.x = 17; this.riZ.y = 29; this.addChild(this.riZ); this.wAH.x = (this.riZ.x + 2); this.wAH.y = (this.riZ.y + 2); this.addChild(this.wAH); this.nhO.defaultTextFormat = PTY.wke; this.nhO.autoSize = TextFieldAutoSize.LEFT; this.nhO.selectable = false; this.nhO.mouseEnabled = false; this.qEY.buttonMode = true; this.qEY.mouseEnabled = true; this.qEY.mouseChildren = false; this.qEY.x = ((this.pUw.width / 2) + 17); this.qEY.y = 32; this.qEY.addChild(this.nhO); this.qEY.addEventListener(MouseEvent.CLICK, this.eDg); this.addChild(this.qEY); this.tMc.defaultTextFormat = PTY.rCB; this.tMc.autoSize = TextFieldAutoSize.CENTER; this.tMc.x = (this.pUw.width / 2); this.tMc.y = 80; this.tMc.selectable = false; this.tMc.mouseEnabled = false; this.addChild(this.tMc); this.fiC.defaultTextFormat = PTY.vVF; this.fiC.autoSize = TextFieldAutoSize.LEFT; this.fiC.x = 8; this.fiC.y = (this.tMc.y + 24); this.fiC.selectable = false; this.fiC.mouseEnabled = false; this.fiC.text = "Attributes"; this.addChild(this.fiC); this.qvz.defaultTextFormat = PTY.gIZ; this.qvz.autoSize = TextFieldAutoSize.LEFT; this.qvz.x = (this.fiC.x + 12); this.qvz.y = (this.fiC.y + 16); this.qvz.selectable = false; this.qvz.mouseEnabled = false; this.qvz.text = "Hitpoints:\rArmor:\rSpeed:\rValue:"; this.addChild(this.qvz); this.xYQ.defaultTextFormat = PTY.gIZ; this.xYQ.autoSize = TextFieldAutoSize.LEFT; this.xYQ.x = (this.qvz.x + 64); this.xYQ.y = this.qvz.y; this.xYQ.selectable = false; this.xYQ.mouseEnabled = false; this.addChild(this.xYQ); this.nvS.autoSize = TextFieldAutoSize.LEFT; this.nvS.x = this.xYQ.x; this.nvS.y = (this.xYQ.y + 12); this.nvS.selectable = false; this.nvS.mouseEnabled = false; this.addChild(this.nvS); this.jJH.defaultTextFormat = PTY.vVF; this.jJH.autoSize = TextFieldAutoSize.LEFT; this.jJH.x = 8; this.jJH.y = (this.fiC.y + 80); this.jJH.selectable = false; this.jJH.mouseEnabled = false; this.jJH.text = "Special Abilities"; this.addChild(this.jJH); this.zGi.defaultTextFormat = PTY.gIZ; this.zGi.autoSize = TextFieldAutoSize.LEFT; this.zGi.x = (this.jJH.x + 12); this.zGi.y = (this.jJH.y + 16); this.zGi.selectable = false; this.zGi.mouseEnabled = false; this.addChild(this.zGi); } public function nmT(_arg1:int):void{ var _local2:CJX; var _local3:String; var _local4:int; var _local5:String; var _local6:String; _local2 = RUX.lio(_arg1); this.wAH.bitmapData = _local2.pKE; _local3 = _local2.jjK; if ((((_local3.length > 24)) && (!((_local3.indexOf(" ") == -1))))){ _local4 = _local3.lastIndexOf(" "); _local5 = _local3.substring(0, _local4); _local6 = _local3.substring((_local4 + 1)); _local3 = ((_local5 + "\r") + _local6); }; if (_local2.sYB()){ this.tMc.textColor = EJT.liV; } else { this.tMc.textColor = EJT.vAN; }; this.tMc.text = _local3; this.xYQ.text = (((((String(_local2.gwg) + "\r") + "\r") + String(_local2.por)) + "\r") + String(_local2.kFN)); this.nvS.defaultTextFormat = PTY.oAC[_local2.jOv]; this.nvS.text = _local2.axA.toUpperCase(); if (((_local2.kVn) && (_local2.evE))){ this.zGi.text = "Fast\rImmune"; } else { if (_local2.kVn){ this.zGi.text = "Fast"; } else { if (_local2.evE){ this.zGi.text = "Immune"; } else { this.zGi.text = "None"; }; }; }; } public function vMD(_arg1:String):void{ this.nhO.text = _arg1; } private function eDg(_arg1:MouseEvent):void{ if (HtY.pgR){ return; }; YUA.oTr.anX(); } } }//package jMR
Section 22
//QkT (jMR.QkT) package jMR { import flash.events.*; import flash.display.*; import flash.text.*; import flash.utils.*; public class QkT extends Sprite { private var kJZ:Timer;// = null private var twR:Bitmap;// = null private var baw:int; private var dWo:TextField; private var noH:int;// = 0 private var lst:Number;// = 120000 private var oJH:Array; public function QkT(){ kJZ = null; lst = 120000; twR = null; dWo = new TextField(); oJH = ["Space creatures are on their way to destroy your homeworld! Build and upgrade gun turrets and other equipment on the asteroid fields surrounding the path to kill the creeps before they succeed.", "Creeps come in waves of 10 every 30 seconds and become increasingly difficult as the game progresses. To send in the next wave immediately, click on the timer next to the picture of the upcoming creep in the \"Next Wave\" box.", "Click on a purchased weapon to view its stats and upgrade options.", "Every 20th wave is a \"rare\" creep; rare creeps are solitary but considerably stronger than normal creeps.", "Purchased weapons can be sold for half of their original value.", "Creeps have three different armor types: Conventional (CONV), Electro-Magnetic (EM) and Organic (BIO). EM weaponry deals maximum damage to BIO creeps, while BIO weaponry deals maximum damage to EM creeps.", "The planet can withstand only 10 impacts before it is destroyed.", "Creeps that are \"Fast\" move quicker than normal creeps. Creeps that are \"Immune\" cannot be slowed by the Tractor Beam.", "Plan ahead! Place your guns where they will cover the most ground as range is increased.", "Click on a creep to view information about the current wave.", "Concentrating on upgrading one or two turrets is often more effective than building and upgrading several at once.", "There are two Conventional (CONV) weapons; the Gatling and the Missile. Gatlings are low-cost and low damage, but have the highest fire rate. Missiles are slow and expensive, but do the highest damage of all the weapons.", "Record your score and challenge your friends to beat it!", "Besides upgrading your weapons you can also boost their range, rate or damage by placing boosters near them. Upgrading a booster will increase its own range as well as its boost bonus for nearby weapons.", "Range and Rate boosters work on tractor beams as well as weapons!", "Most creeps have BIO armor, meaning EM is the most efficient type of weaponry against them. However, EM turrets are more expensive than their BIO counterpart, and all EM critters are \"Immune\" so beware of only building EM turrets.", "Boosters can increase the stats of many surrounding weapons if placed strategically.", "Different maps have different advantages and disadvantages. Try different maps until you find one that fits your style.", "Aside from their usual increase in stats, each time the waves repeat all creeps will become faster. Be ready and build Tractor Beams!", "\"Fast\" creeps may catch up to slow creeps at some point along the path. You may find it helpful to send in \"Fast\" waves early enough for them to pass up the slow creeps, so you do not have to fight two waves at once.", "Don't forget to visit Pardus, the free space-themed MMORPG that inspired Astral Tower Defense!"]; noH = 0; super(); this.baw = this.oJH.length; YES.wJr = this; this.mouseEnabled = false; this.mouseChildren = false; this.vmO(); this.gKV(null); this.kJZ = new Timer(this.lst); this.kJZ.addEventListener(TimerEvent.TIMER, this.gKV); this.kJZ.start(); } private function gKV(_arg1:TimerEvent):void{ var _local2:int; if (this.noH >= this.baw){ _local2 = Math.round((Math.random() * (this.baw - 1))); } else { _local2 = this.noH; this.noH++; }; this.dWo.text = this.oJH[_local2]; } public function tmx():void{ YES.wJr = null; YES.zIM.removeChild(this); } private function vmO():void{ this.twR = new Bitmap(YES.sOO("system_message")); this.addChild(this.twR); this.dWo.x = 3; this.dWo.y = 21; this.dWo.width = 374; this.dWo.wordWrap = true; this.dWo.defaultTextFormat = PTY.vkf; this.dWo.autoSize = TextFieldAutoSize.LEFT; this.dWo.selectable = false; this.dWo.mouseEnabled = false; this.addChild(this.dWo); } } }//package jMR
Section 23
//ScQ (jMR.ScQ) package jMR { import flash.events.*; import flash.display.*; import wQC.*; import zfn.*; import yRO.*; import flash.text.*; import dtO.*; import htt.*; import flash.filters.*; public class ScQ extends Sprite { private var gsz:TextField; private var bIf:TextField; private var nRT:Sprite; private var uPV:TextField; private var uYC:Bitmap; private var jdE:TextField; private var xoV:Bitmap;// = null private var cLw:Sprite; private var vZk:TextField; private var hNw:TextField; private var qjd:Shape;// = null private var pOg:Bitmap;// = null public var vBm:DeR;// = null private var xNk:Bitmap; private var mkb:Bitmap; private var dqx:Bitmap;// = null private var ciR:Shape;// = null private var xbR:TextField; private var ymB:Sprite; private var yBG:TextField; private var hOM:Bitmap;// = null private var uky:TextField; private var iut:Shape;// = null private var yvK:TextField; private var iMH:int;// = 0 private var sij:Sdw;// = null private var ksD:TextField; private var tDA:Sdw;// = null public function ScQ(_arg1:DeR){ vBm = null; tDA = null; sij = null; dqx = null; xNk = new Bitmap(); iut = null; vZk = new TextField(); xbR = new TextField(); uPV = new TextField(); uky = new TextField(); jdE = new TextField(); mkb = new Bitmap(); qjd = null; ksD = new TextField(); hNw = new TextField(); yBG = new TextField(); bIf = new TextField(); yvK = new TextField(); ymB = new Sprite(); uYC = new Bitmap(); hOM = null; gsz = new TextField(); cLw = new Sprite(); xoV = null; nRT = new Sprite(); pOg = null; iMH = 0; ciR = null; super(); YES.bRE = this; this.vBm = _arg1; this.tDA = this.vBm.bZT; if (this.tDA.nuq != 0){ this.sij = Srs.sxy(this.tDA.nuq); }; this.vBm.cBg.filters = [new GlowFilter(EJT.kco, 0.8, 16, 16)]; this.fTK(); this.zBw(); DIp.cGY(this, 9, 4, 0, 0, YES.wMA); } private function ezG(_arg1:Number):Number{ var _local2:int; var _local3:Number; _local2 = Math.floor(_arg1); _local3 = (_arg1 - _local2); _local3 = (_local3 * 10); _local3 = Math.round(_local3); return (Number((_local2 + (_local3 / 10)))); } private function qiP(_arg1:MouseEvent):void{ var _local2:int; var _local3:int; var _local4:int; var _local5:int; var _local6:int; if (HtY.pgR){ return; }; if (IwG.gRG >= this.sij.zBY){ KFt.ubT("weapon_upgrade"); IwG.cDx(-(this.sij.zBY)); _local2 = this.vBm.zuE; _local3 = this.vBm.gpH; _local4 = this.vBm.lZM; _local5 = this.vBm.vmo; _local6 = this.vBm.aVJ; this.vBm.tUI(); this.vBm = new DeR(this.sij.pyN, _local2, _local3, _local4, _local5, _local6); this.tDA = this.vBm.bZT; if (this.tDA.nuq != 0){ this.sij = Srs.sxy(this.tDA.nuq); } else { this.sij = null; this.removeChild(this.mkb); this.removeChild(this.ksD); this.removeChild(this.hNw); this.removeChild(this.yBG); this.removeChild(this.bIf); this.removeChild(this.yvK); this.removeChild(this.ymB); this.removeChild(this.hOM); this.removeChild(this.gsz); }; this.vBm.cBg.filters = [new GlowFilter(EJT.kco, 0.8, 12, 12)]; this.zBw(); }; } public function dGq():void{ this.vBm.cBg.filters = null; YUA.tDI.removeChild(this.ciR); this.ciR = null; this.ymB.removeEventListener(MouseEvent.CLICK, this.qiP); this.cLw.removeEventListener(MouseEvent.CLICK, this.ims); this.nRT.removeEventListener(MouseEvent.CLICK, this.jwG); YES.wMA.removeChild(this); YES.bRE = null; } public function jLO():void{ if (this.sij == null){ return; }; if (this.sij.zBY > IwG.gRG){ if ((((this.iMH == 0)) || ((this.iMH == 1)))){ this.uYC.bitmapData = YES.sOO("upgrade_red"); this.gsz.textColor = EJT.liV; this.iMH = 2; }; } else { if ((((this.iMH == 0)) || ((this.iMH == 2)))){ this.uYC.bitmapData = YES.sOO("upgrade"); this.gsz.textColor = EJT.lee; this.iMH = 1; }; }; } private function fTK():void{ this.dqx = new Bitmap(YES.sOO("stats")); this.addChild(this.dqx); this.xNk.x = 5; this.xNk.y = 29; this.addChild(this.xNk); this.vZk.defaultTextFormat = PTY.vVF; this.vZk.autoSize = TextFieldAutoSize.LEFT; this.vZk.x = ((this.xNk.x + YUA.ayy) + 4); this.vZk.y = (this.xNk.y - 5); this.vZk.selectable = false; this.vZk.mouseEnabled = false; this.vZk.text = "Current"; this.addChild(this.vZk); this.xbR.defaultTextFormat = PTY.rCB; this.xbR.autoSize = TextFieldAutoSize.LEFT; this.xbR.x = this.vZk.x; this.xbR.y = (this.vZk.y + 12); this.xbR.selectable = false; this.xbR.mouseEnabled = false; this.addChild(this.xbR); this.uPV.autoSize = TextFieldAutoSize.LEFT; this.uPV.x = this.vZk.x; this.uPV.y = (this.xbR.y + 12); this.uPV.selectable = false; this.uPV.mouseEnabled = false; this.addChild(this.uPV); this.uky.defaultTextFormat = PTY.gIZ; this.uky.autoSize = TextFieldAutoSize.LEFT; this.uky.x = 5; this.uky.y = ((this.xNk.y + YUA.ayy) + 2); this.uky.selectable = false; this.uky.mouseEnabled = false; this.uky.text = "Damage:\rFire Rate:\rRange:"; this.addChild(this.uky); this.jdE.defaultTextFormat = PTY.gIZ; this.jdE.autoSize = TextFieldAutoSize.LEFT; this.jdE.x = (this.uky.x + 64); this.jdE.y = this.uky.y; this.jdE.selectable = false; this.jdE.mouseEnabled = false; this.addChild(this.jdE); this.xoV = new Bitmap(YES.sOO("back_to_armory")); this.cLw.addChild(this.xoV); this.cLw.x = ((this.dqx.width - this.xoV.width) / 2); this.cLw.y = ((this.dqx.height - this.xoV.height) - 4); this.cLw.mouseEnabled = true; this.cLw.mouseChildren = false; this.cLw.buttonMode = true; this.addChild(this.cLw); this.cLw.addEventListener(MouseEvent.CLICK, this.ims); this.pOg = new Bitmap(YES.sOO("demolish")); this.nRT.addChild(this.pOg); this.nRT.x = ((this.dqx.width - this.nRT.width) - 5); this.nRT.y = (this.uPV.y + 5); this.nRT.mouseEnabled = true; this.nRT.mouseChildren = false; this.nRT.buttonMode = true; this.addChild(this.nRT); this.nRT.addEventListener(MouseEvent.CLICK, this.jwG); if (this.sij != null){ this.mkb.x = 5; this.mkb.y = 110; this.addChild(this.mkb); this.ksD.defaultTextFormat = PTY.vVF; this.ksD.autoSize = TextFieldAutoSize.LEFT; this.ksD.x = ((this.mkb.x + YUA.ayy) + 4); this.ksD.y = (this.mkb.y - 5); this.ksD.selectable = false; this.ksD.mouseEnabled = false; this.ksD.text = "Next Level"; this.addChild(this.ksD); this.hNw.defaultTextFormat = PTY.rCB; this.hNw.autoSize = TextFieldAutoSize.LEFT; this.hNw.x = this.ksD.x; this.hNw.y = (this.ksD.y + 12); this.hNw.selectable = false; this.hNw.mouseEnabled = false; this.addChild(this.hNw); this.yBG.autoSize = TextFieldAutoSize.LEFT; this.yBG.x = this.ksD.x; this.yBG.y = (this.hNw.y + 12); this.yBG.selectable = false; this.yBG.mouseEnabled = false; this.addChild(this.yBG); this.bIf.defaultTextFormat = PTY.gIZ; this.bIf.autoSize = TextFieldAutoSize.LEFT; this.bIf.x = 5; this.bIf.y = ((this.mkb.y + YUA.ayy) + 2); this.bIf.selectable = false; this.bIf.mouseEnabled = false; this.bIf.text = "Damage:\rFire Rate:\rRange:"; this.addChild(this.bIf); this.yvK.defaultTextFormat = PTY.gIZ; this.yvK.autoSize = TextFieldAutoSize.LEFT; this.yvK.x = (this.bIf.x + 64); this.yvK.y = this.bIf.y; this.yvK.selectable = false; this.yvK.mouseEnabled = false; this.addChild(this.yvK); this.ymB.x = this.bIf.x; this.ymB.y = (this.bIf.y + 48); this.ymB.mouseEnabled = true; this.ymB.mouseChildren = false; this.ymB.buttonMode = true; this.ymB.addChild(this.uYC); this.addChild(this.ymB); this.hOM = new Bitmap(YES.sOO("credits")); this.hOM.x = (this.ymB.x + 69); this.hOM.y = this.ymB.y; this.addChild(this.hOM); this.gsz.defaultTextFormat = PTY.bOQ; this.gsz.autoSize = TextFieldAutoSize.LEFT; this.gsz.x = ((this.hOM.x + this.hOM.width) + 4); this.gsz.y = this.hOM.y; this.gsz.selectable = false; this.gsz.mouseEnabled = false; this.addChild(this.gsz); this.ymB.addEventListener(MouseEvent.CLICK, this.qiP); }; } private function zBw():void{ var _local1:String; var _local2:Number; var _local3:Number; var _local4:Number; var _local5:String; var _local6:Array; var _local7:Number; var _local8:Number; var _local9:Number; if (this.iut != null){ this.removeChild(this.iut); this.iut = null; }; if (this.qjd != null){ this.removeChild(this.qjd); this.qjd = null; }; this.xNk.bitmapData = this.tDA.dRF; if ((((this.tDA.pEO == "conv")) && ((this.tDA.jiC == "missile")))){ this.iut = new QTa(); } else { if (this.tDA.pEO == "conv"){ this.iut = new Ybj(); } else { if (this.tDA.pEO == "bio"){ this.iut = new Vbd(); }; }; }; if (this.tDA.pEO != "em"){ this.iut.x = this.xNk.x; this.iut.y = this.xNk.y; this.addChild(this.iut); }; _local1 = this.tDA.sMd; if (_local1.length > 17){ _local1 = (_local1.substr(0, 16) + "."); }; this.xbR.text = _local1; if (this.tDA.cOM > 0){ this.uPV.defaultTextFormat = PTY.oAC[this.tDA.lvh]; } else { this.uPV.defaultTextFormat = PTY.oAC[0]; }; if (this.tDA.dnO > 0){ this.uPV.text = (("slows by " + this.tDA.dnO) + "%"); } else { this.uPV.text = this.tDA.pEO.toUpperCase(); }; _local2 = this.ezG((this.vBm.fTV / 10)); _local3 = this.ezG(this.vBm.hDp); _local4 = this.ezG(this.vBm.bUI); this.jdE.text = ((((_local2 + "\r") + _local3) + "\r") + _local4); if (this.sij != null){ this.mkb.bitmapData = this.sij.dRF; if ((((this.sij.pEO == "conv")) && ((this.sij.jiC == "missile")))){ this.qjd = new QTa(); } else { if (this.sij.pEO == "conv"){ this.qjd = new Ybj(); } else { if (this.sij.pEO == "bio"){ this.qjd = new Vbd(); }; }; }; if (this.sij.pEO != "em"){ this.qjd.x = this.mkb.x; this.qjd.y = this.mkb.y; this.addChild(this.qjd); }; _local5 = this.sij.sMd; if (_local5.length > 17){ _local5 = (_local5.substr(0, 16) + "."); }; this.hNw.text = _local5; if (this.sij.cOM > 0){ this.yBG.defaultTextFormat = PTY.oAC[this.sij.lvh]; } else { this.yBG.defaultTextFormat = PTY.oAC[0]; }; if (this.sij.dnO > 0){ this.yBG.text = (("slows by " + this.sij.dnO) + "%"); } else { this.yBG.text = this.sij.pEO.toUpperCase(); }; _local6 = UCE.cGI(this.vBm.zuE, this.vBm.gpH); _local7 = this.ezG((this.sij.cOM + ((this.sij.cOM * _local6[1]) / 100))); _local8 = this.ezG((this.sij.qLJ + ((this.sij.qLJ * _local6[2]) / 100))); _local9 = this.ezG((this.sij.gzZ + ((this.sij.gzZ * _local6[0]) / 100))); this.yvK.text = ((((_local7 + "\r") + _local8) + "\r") + _local9); this.gsz.text = String(this.sij.zBY); this.jLO(); } else { this.vZk.text = "Current (MAX)"; }; if (this.ciR != null){ YUA.tDI.removeChild(this.ciR); this.ciR = null; }; this.ciR = new Shape(); this.ciR.graphics.beginFill(EJT.pLc, 0.2); this.ciR.graphics.lineStyle(1, EJT.pLc, 0.25); this.ciR.graphics.drawCircle((YUA.ayy / 2), (YUA.ayy / 2), (this.vBm.bUI * YUA.qyf)); this.ciR.graphics.endFill(); this.ciR.x = this.vBm.zuE; this.ciR.y = this.vBm.gpH; YUA.tDI.addChildAt(this.ciR, YUA.oqi); } private function jwG(_arg1:MouseEvent):void{ if (HtY.pgR){ return; }; KFt.ubT("weapon_sell"); IwG.cDx(Math.floor((Sdw(this.vBm.bZT).zBY / 2))); this.vBm.tUI(); this.dGq(); } private function ims(_arg1:MouseEvent):void{ this.dGq(); _arg1.updateAfterEvent(); } } }//package jMR
Section 24
//TKh (jMR.TKh) package jMR { import flash.events.*; import flash.display.*; import yRO.*; import flash.text.*; import flash.net.*; import dtO.*; import flash.geom.*; public class TKh extends Sprite { private var zyh:TextField; public var fkQ:MPt;// = null private var vkX:Bitmap;// = null private var era:int; private var uad:String; private var dHG:String; private var uYS:int;// = 0 private var mQm:TextFormat; private var uJK:Sprite; private var lsA:TextField; private var qNH:Bitmap;// = null public function TKh(_arg1:String, _arg2:String, _arg3:BitmapData, _arg4:int){ qNH = null; vkX = null; zyh = new TextField(); mQm = new TextFormat(); uYS = 0; uJK = new Sprite(); lsA = new TextField(); fkQ = null; super(); this.dHG = _arg1; this.uad = _arg2; this.qNH = new Bitmap(_arg3); this.era = _arg4; YES.eIw[this.dHG] = this; this.hgx(); this.mouseEnabled = true; this.mouseChildren = false; if ((((((((this.dHG == "menu")) || ((this.dHG == "help")))) || ((this.dHG == "restart")))) || ((this.dHG == "pause")))){ this.buttonMode = true; this.addEventListener(MouseEvent.CLICK, this.omy); } else { this.jya(); this.addEventListener(MouseEvent.ROLL_OVER, this.tfe); this.addEventListener(MouseEvent.ROLL_OUT, this.qRZ); }; if ((((this.dHG == "menu")) || ((this.dHG == "restart")))){ }; } public function pfJ(_arg1:String):void{ this.zyh.text = _arg1; } public function oLS():void{ if (this.fkQ != null){ this.fkQ.zoM(); }; if ((((((((this.dHG == "menu")) || ((this.dHG == "help")))) || ((this.dHG == "restart")))) || ((this.dHG == "pause")))){ this.removeEventListener(MouseEvent.CLICK, this.omy); } else { this.removeEventListener(MouseEvent.ROLL_OVER, this.tfe); this.removeEventListener(MouseEvent.ROLL_OUT, this.qRZ); }; YES.vPq.removeChild(this); YES.eIw[this.dHG] = null; } private function omy(_arg1:MouseEvent):void{ var _local2:Point; KFt.ubT("menu"); if ((((this.dHG == "menu")) || ((this.dHG == "restart")))){ if (this.fkQ == null){ if (TKh(YES.eIw["menu"]).fkQ != null){ MPt(TKh(YES.eIw["menu"]).fkQ).zoM(); } else { if (TKh(YES.eIw["restart"]).fkQ != null){ MPt(TKh(YES.eIw["restart"]).fkQ).zoM(); }; }; _local2 = YES.vPq.localToGlobal(new Point(this.x, (this.y + this.vkX.height))); this.fkQ = new MPt(this.dHG, _local2.x, _local2.y); } else { this.fkQ.zoM(); }; _arg1.updateAfterEvent(); } else { if (this.dHG == "pause"){ HtY.rVy(); } else { if (this.dHG == "help"){ navigateToURL(new URLRequest("http://www.astraltowerdefense.com/how_to_play.php"), "_blank"); }; }; }; } private function hgx():void{ this.vkX = new Bitmap(YES.sOO("menu_button")); this.addChild(this.vkX); if ((((((((this.dHG == "credits")) || ((this.dHG == "wave")))) || ((this.dHG == "kills")))) || ((this.dHG == "score")))){ this.qNH.x = 12; this.qNH.y = ((this.vkX.height / 2) - (this.qNH.height / 2)); this.mQm.size = 10; this.uYS = 6; if (this.dHG == "credits"){ this.mQm.color = EJT.lee; } else { if (this.dHG == "wave"){ this.mQm.color = EJT.bRp; } else { if (this.dHG == "kills"){ this.mQm.color = EJT.nmO; } else { if (this.dHG == "score"){ this.mQm.color = EJT.lqp; }; }; }; }; this.mQm.font = "Tahoma, Arial"; this.mQm.bold = true; this.zyh.autoSize = TextFieldAutoSize.CENTER; this.zyh.defaultTextFormat = this.mQm; this.zyh.text = this.uad; this.zyh.selectable = false; this.zyh.mouseEnabled = false; this.zyh.x = (((this.vkX.width / 2) - (this.zyh.textWidth / 2)) + this.uYS); this.zyh.y = (((this.vkX.height / 2) - (this.zyh.textHeight / 2)) - 2); this.addChild(this.zyh); } else { this.qNH.x = ((this.vkX.width / 2) - (this.qNH.width / 2)); this.qNH.y = 11; }; this.addChild(this.qNH); this.x = ((this.era * this.vkX.width) + (20 * (this.era + 1))); this.y = 0; YES.vPq.addChild(this); } private function tfe(_arg1:MouseEvent):void{ YES.vPq.addChild(this.uJK); _arg1.updateAfterEvent(); } private function qRZ(_arg1:MouseEvent):void{ var xYL = _arg1; try { YES.vPq.removeChild(this.uJK); } catch(ory:ArgumentError) { }; xYL.updateAfterEvent(); } private function jya():void{ this.uJK.x = this.x; this.uJK.y = this.y; this.uJK.mouseEnabled = false; this.uJK.mouseChildren = false; this.uJK.graphics.beginFill(EJT.iUV, 0.5); this.uJK.graphics.lineStyle(1, EJT.vAN); this.uJK.graphics.drawRoundRect(0, 0, this.vkX.width, 15, 5); this.uJK.graphics.endFill(); this.lsA.defaultTextFormat = this.mQm; this.lsA.selectable = false; this.lsA.text = (this.dHG.substr(0, 1).toUpperCase() + this.dHG.substr(1)); this.lsA.x = ((this.vkX.width / 2) - (this.lsA.textWidth / 2)); this.uJK.addChild(this.lsA); } } }//package jMR
Section 25
//UES (jMR.UES) package jMR { import flash.events.*; import flash.display.*; import flash.net.*; import dtO.*; import flash.utils.*; public class UES extends Sprite { private var hvh:Bitmap; private var oKq:Bitmap; private var bKT:String; private var rKX:int; private var nSZ:Array; private var wnq:Timer; private var whd:Number;// = 300000 private var hLa:int; public function UES(){ whd = 300000; super(); YES.uwu = this; this.mouseEnabled = true; this.mouseChildren = false; this.buttonMode = true; this.nSZ = YES.deh; this.hLa = this.nSZ.length; if (this.hLa != 0){ this.rKX = Math.round((Math.random() * (this.hLa - 1))); this.wnq = new Timer(this.whd); this.wnq.addEventListener(TimerEvent.TIMER, this.nNP); this.wnq.start(); this.wnq.dispatchEvent(new TimerEvent(TimerEvent.TIMER)); this.addEventListener(MouseEvent.ROLL_OVER, this.hXI); this.addEventListener(MouseEvent.ROLL_OUT, this.dCO); this.addEventListener(MouseEvent.CLICK, this.uPy); }; } public function fhe():void{ if (this.hLa != 0){ this.wnq.stop(); this.wnq = null; this.oKq = null; this.hvh = null; this.removeEventListener(MouseEvent.ROLL_OVER, this.hXI); this.removeEventListener(MouseEvent.ROLL_OUT, this.dCO); this.removeEventListener(MouseEvent.CLICK, this.uPy); }; this.nSZ = null; YES.uwu = null; YES.zIM.removeChild(this); } private function hXI(_arg1:MouseEvent):void{ if ((((this.hLa == 0)) || ((this.hvh == null)))){ return; }; this.addChild(this.hvh); _arg1.updateAfterEvent(); } private function uPy(_arg1:MouseEvent):void{ KFt.ubT("menu"); navigateToURL(new URLRequest(this.bKT), "_blank"); _arg1.updateAfterEvent(); } public function nNP(_arg1:TimerEvent):void{ if (this.oKq != null){ this.removeChild(this.oKq); }; this.oKq = new Bitmap(this.nSZ[this.rKX][0]); this.addChild(this.oKq); if (this.nSZ[this.rKX][1] == null){ this.hvh = null; } else { this.hvh = new Bitmap(this.nSZ[this.rKX][1]); }; this.bKT = this.nSZ[this.rKX][2]; this.rKX++; if (this.rKX == this.hLa){ this.rKX = 0; }; if (this.hLa == 1){ this.wnq.stop(); }; } private function dCO(_arg1:MouseEvent):void{ var lKn = _arg1; if ((((this.hLa == 0)) || ((this.hvh == null)))){ return; }; try { this.removeChild(this.hvh); } catch(vTh:ArgumentError) { }; lKn.updateAfterEvent(); } } }//package jMR
Section 26
//VZq (jMR.VZq) package jMR { import flash.events.*; import fRp.*; import flash.display.*; import wQC.*; import zfn.*; import yRO.*; import flash.text.*; import dtO.*; import htt.*; import flash.filters.*; import flash.ui.*; public class VZq extends Sprite { private var oby:ColorMatrixFilter;// = null private var pEE:Sprite; private var tKz:Array;// = null private var bZD:TextField; private var upV:int;// = 0 private var nai:TextField; private var qPF:Sprite;// = null private var iya:TextField; public var keM:Boolean;// = false private var lwX:Shape;// = null private var xnq:Sprite; private var lxd:TextField; private var dXG:Sdw;// = null private var qRR:TextField; private var mYo:Array;// = null private var ebp:Shape;// = null private var tYI:Sprite; private var rDJ:int;// = 0 private var yJC:Bitmap;// = null private var qkb:TextField; private var tsH:Bitmap;// = null private var gpn:NJS;// = null private var roR:NqQ;// = null private var oyM:Bitmap; private var nwW:String;// = "weapon" private var hYm:Array;// = null private var xbe:Sprite; private var aLn:int;// = 0 private var oYW:ColorMatrixFilter;// = null private var uds:Sprite; private var pSi:TextField; private var tmR:TextField; private var bia:Bitmap;// = null public function VZq(){ var _local1:Array; dXG = null; roR = null; yJC = null; pEE = new Sprite(); oyM = new Bitmap(); ebp = null; tYI = new Sprite(); xnq = new Sprite(); qRR = new TextField(); tsH = null; tmR = new TextField(); pSi = new TextField(); iya = new TextField(); lxd = new TextField(); qkb = new TextField(); nai = new TextField(); bZD = new TextField(); upV = 0; nwW = "weapon"; xbe = new Sprite(); qPF = null; uds = new Sprite(); bia = null; oYW = null; oby = null; aLn = 0; lwX = null; tKz = null; rDJ = 0; mYo = null; hYm = null; gpn = null; keM = false; super(); YES.hkP = this; this.mouseEnabled = false; this.pEE.mouseEnabled = true; this.pEE.mouseChildren = false; this.pEE.buttonMode = true; this.uds.mouseEnabled = true; this.uds.mouseChildren = false; this.uds.buttonMode = true; this.tYI.mouseEnabled = true; this.tYI.mouseChildren = false; this.tYI.buttonMode = true; this.xnq.mouseEnabled = true; this.xnq.mouseChildren = false; this.xnq.buttonMode = true; this.xbe.graphics.beginFill(EJT.iUV, 0); this.xbe.graphics.drawRect(0, 0, YUA.jao, YUA.dzW); this.xbe.graphics.endFill(); _local1 = new Array(); _local1 = _local1.concat([0, 0, 0, 0, 0]); _local1 = _local1.concat([0, 1, 0, 0, 0]); _local1 = _local1.concat([0, 0, 0, 0, 0]); _local1 = _local1.concat([0, 0, 0, 1, 0]); this.oYW = new ColorMatrixFilter(_local1); _local1 = new Array(); _local1 = _local1.concat([1, 0, 0, 0, 0]); _local1 = _local1.concat([0, 0, 0, 0, 0]); _local1 = _local1.concat([0, 0, 0, 0, 0]); _local1 = _local1.concat([0, 0, 0, 1, 0]); this.oby = new ColorMatrixFilter(_local1); this.rRm(); } private function fqo(_arg1:MouseEvent):void{ KFt.ubT("armory_arrows"); if ((((this.nwW == "weapon")) && ((this.upV >= (Srs.jtC.length - 1))))){ this.nwW = "booster"; this.upV = 0; } else { if ((((this.nwW == "booster")) && ((this.upV >= (CJN.hxb.length - 1))))){ this.nwW = "weapon"; this.upV = 0; } else { this.upV = (this.upV + 1); }; }; if (this.nwW == "weapon"){ this.oyB(Srs.jtC[this.upV]); } else { this.wzW(this.upV); }; _arg1.updateAfterEvent(); } public function kJR():void{ var _local1:int; if (this.nwW == "weapon"){ _local1 = this.dXG.zBY; } else { _local1 = this.roR.jXp; }; if (_local1 > IwG.gRG){ if ((((this.aLn == 0)) || ((this.aLn == 1)))){ this.tmR.textColor = EJT.liV; this.aLn = 2; }; } else { if ((((this.aLn == 0)) || ((this.aLn == 2)))){ this.tmR.textColor = EJT.lee; this.aLn = 1; }; }; if (YES.bRE != null){ YES.bRE.jLO(); } else { if (YES.hqh != null){ YES.hqh.trJ(); }; }; } public function tBc():void{ this.keM = false; this.xbe.removeEventListener(MouseEvent.MOUSE_MOVE, this.gsm); this.xbe.removeEventListener(MouseEvent.CLICK, this.oom); this.xbe.removeChild(this.pEE); this.xbe.removeChild(this.lwX); this.lwX = null; YUA.xud.removeChild(this.xbe); this.pEE.x = ((this.yJC.width / 2) - (YUA.ayy / 2)); this.pEE.y = 31; this.pEE.buttonMode = true; this.pEE.filters = null; this.removeChild(this.uds); this.addChild(this.pEE); this.pEE.addEventListener(MouseEvent.CLICK, this.hgX); } private function gsm(_arg1:MouseEvent):void{ 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; _local4 = ((_arg1.stageX - YUA.tDI.x) - (YUA.ayy / 2)); _local5 = ((_arg1.stageY - YUA.tDI.y) - (YUA.ayy / 2)); _local6 = 0; _local7 = 0; _local8 = (YUA.xpT - YUA.ayy); _local9 = (YUA.qZy - YUA.ayy); if (_local4 < _local6){ _local4 = _local6; } else { if (_local4 > _local8){ _local4 = _local8; }; }; if (_local5 < _local7){ _local5 = _local7; } else { if (_local5 > _local9){ _local5 = _local9; }; }; _local10 = this.ntM(_local4, _local5); _local4 = _local10[0]; _local5 = _local10[1]; if (this.eFs(_local4, _local5)){ this.pEE.filters = [this.oYW]; } else { this.pEE.filters = [this.oby]; }; _local2 = (_local4 + YUA.tDI.x); _local3 = (_local5 + YUA.tDI.y); this.lwX.x = _local2; this.lwX.y = _local3; this.pEE.x = _local2; this.pEE.y = _local3; if ((((((((_local4 == 0)) || ((_local4 == _local8)))) || ((_local5 == 0)))) || ((_local5 == _local9)))){ Mouse.show(); } else { Mouse.hide(); }; _arg1.updateAfterEvent(); } private function eFs(_arg1:int, _arg2:int):Boolean{ var _local3:DeR; var _local4:int; var _local5:Msk; var _local6:Array; var _local7:int; var _local8:int; var _local9:NJS; _local4 = (Hur.vjE.length - 1); while (_local4 >= 0) { if (Hur.vjE[_local4] != null){ _local3 = DeR(Hur.vjE[_local4]); if ((((((((_arg1 > (_local3.zuE - YUA.ayy))) && ((_arg1 < (_local3.zuE + YUA.ayy))))) && ((_arg2 > (_local3.gpH - YUA.ayy))))) && ((_arg2 < (_local3.gpH + YUA.ayy))))){ return (false); }; }; _local4--; }; _local4 = (UCE.lFn.length - 1); while (_local4 >= 0) { if (UCE.lFn[_local4] != null){ _local5 = Msk(UCE.lFn[_local4]); if ((((((((_arg1 > (_local5.sYR - YUA.ayy))) && ((_arg1 < (_local5.sYR + YUA.ayy))))) && ((_arg2 > (_local5.gYx - YUA.ayy))))) && ((_arg2 < (_local5.gYx + YUA.ayy))))){ return (false); }; }; _local4--; }; _local6 = YUA.qpS.yZA(); _local4 = (_local6.length - 1); while (_local4 >= 0) { _local7 = (_local6[_local4][0] * YUA.ayy); _local8 = (_local6[_local4][1] * YUA.ayy); if ((((((((_arg1 > (_local7 - YUA.ayy))) && ((_arg1 < (_local7 + YUA.ayy))))) && ((_arg2 > (_local8 - YUA.ayy))))) && ((_arg2 < (_local8 + YUA.ayy))))){ return (false); }; _local4--; }; _local9 = YUA.qpS.pXK(); if ((((((((_arg1 > (_local9.uVg - YUA.ayy))) && ((_arg1 < (_local9.uVg + (3 * YUA.ayy)))))) && ((_arg2 > (_local9.tJB - YUA.ayy))))) && ((_arg2 < (_local9.tJB + (3 * YUA.ayy)))))){ return (false); }; return (true); } private function hgX(_arg1:MouseEvent):void{ var _local2:int; var _local3:int; var _local4:Array; var _local5:int; var _local6:int; var _local7:Array; var _local8:Boolean; var _local9:int; var _local10:NJS; var _local11:int; if (HtY.pgR){ return; }; if (this.tKz == null){ this.tKz = YUA.qpS.yZA(); this.rDJ = this.tKz.length; }; if (this.mYo == null){ this.mYo = Hur.vjE; }; if (this.hYm == null){ this.hYm = UCE.lFn; }; if (this.gpn == null){ this.gpn = YUA.qpS.pXK(); }; if (this.nwW == "weapon"){ _local2 = this.dXG.zBY; _local3 = this.dXG.gzZ; } else { _local2 = this.roR.jXp; _local3 = this.roR.nkA; }; if (_local2 > IwG.gRG){ return; }; KFt.ubT("weapon_purchase"); if (this.qPF == null){ this.qPF = new Sprite(); this.qPF.x = YUA.tDI.x; this.qPF.y = YUA.tDI.y; this.qPF.graphics.beginFill(EJT.bDf, 0.15); this.qPF.graphics.drawRect(0, 0, YUA.xpT, YUA.qZy); this.qPF.graphics.endFill(); this.qPF.graphics.beginFill(EJT.liV, 0.25); _local4 = YUA.qpS.yZA(); _local7 = new Array(); _local9 = (_local4.length - 1); while (_local9 >= 0) { _local8 = false; _local11 = (_local7.length - 1); while (_local11 >= 0) { if ((((_local7[_local11][0] == _local4[_local9][0])) && ((_local7[_local11][1] == _local4[_local9][1])))){ _local8 = true; break; }; _local11--; }; if (!_local8){ _local5 = (_local4[_local9][0] * YUA.ayy); _local6 = (_local4[_local9][1] * YUA.ayy); this.qPF.graphics.drawRect(_local5, _local6, YUA.ayy, YUA.ayy); _local7.push(_local4[_local9]); }; _local9--; }; _local10 = YUA.qpS.pXK(); this.qPF.graphics.drawRect(_local10.uVg, _local10.tJB, (YUA.ayy * 3), (YUA.ayy * 3)); this.qPF.graphics.endFill(); this.xbe.addChild(this.qPF); }; this.pEE.removeEventListener(MouseEvent.CLICK, this.hgX); this.removeChild(this.pEE); this.addChild(this.uds); this.pEE.buttonMode = false; this.pEE.x = ((YUA.tDI.x + YUA.xpT) - YUA.ayy); this.pEE.y = (this.pEE.y + YUA.tDI.y); this.lwX = new Shape(); this.lwX.graphics.beginFill(EJT.pLc, 0.2); this.lwX.graphics.lineStyle(1, EJT.pLc, 0.25); this.lwX.graphics.drawCircle((YUA.ayy / 2), (YUA.ayy / 2), (_local3 * YUA.qyf)); this.lwX.graphics.endFill(); this.lwX.cacheAsBitmap = true; this.lwX.x = this.pEE.x; this.lwX.y = this.pEE.y; YUA.xud.addChild(this.xbe); this.xbe.addChild(this.lwX); this.xbe.addChild(this.pEE); this.xbe.addEventListener(MouseEvent.MOUSE_MOVE, this.gsm); this.xbe.addEventListener(MouseEvent.CLICK, this.oom); this.keM = true; } private function ntM(_arg1:int, _arg2:int):Array{ var _local3:Boolean; var _local4:Boolean; var _local5:Array; var _local6:int; _local3 = false; _local4 = false; _local6 = (this.mYo.length - 1); while (_local6 >= 0) { if (((_local3) && (_local4))){ break; }; if (this.mYo[_local6] == null){ } else { _local5 = this.kYM(_arg1, _arg2, YUA.ayy, DeR(this.mYo[_local6]).zuE, DeR(this.mYo[_local6]).gpH, YUA.ayy, _local3, _local4); _arg1 = _local5[0]; _arg2 = _local5[1]; }; _local6--; }; _local6 = (this.hYm.length - 1); while (_local6 >= 0) { if (((_local3) && (_local4))){ break; }; if (this.hYm[_local6] == null){ } else { _local5 = this.kYM(_arg1, _arg2, YUA.ayy, Msk(this.hYm[_local6]).sYR, Msk(this.hYm[_local6]).gYx, YUA.ayy, _local3, _local4); _arg1 = _local5[0]; _arg2 = _local5[1]; }; _local6--; }; _local6 = 0; while (_local6 < this.rDJ) { if (((_local3) && (_local4))){ break; }; _local5 = this.kYM(_arg1, _arg2, YUA.ayy, (this.tKz[_local6][0] * YUA.ayy), (this.tKz[_local6][1] * YUA.ayy), YUA.ayy, _local3, _local4); _arg1 = _local5[0]; _arg2 = _local5[1]; _local6++; }; if (((!(_local3)) || (!(_local4)))){ _local5 = this.kYM(_arg1, _arg2, YUA.ayy, this.gpn.uVg, this.gpn.tJB, (YUA.ayy * 3), _local3, _local4); _arg1 = _local5[0]; _arg2 = _local5[1]; }; return ([_arg1, _arg2]); } public function gwy():void{ if (this.keM){ this.tBc(); Mouse.show(); }; this.tYI.removeEventListener(MouseEvent.CLICK, this.bLg); this.xnq.removeEventListener(MouseEvent.CLICK, this.fqo); this.pEE.removeEventListener(MouseEvent.CLICK, this.hgX); YES.wMA.removeChild(this); YES.hkP = null; } private function oyB(_arg1:int):void{ if (this.ebp != null){ this.pEE.removeChild(this.ebp); this.ebp = null; }; this.roR = null; this.dXG = Srs.sxy(_arg1); this.nai.y = (this.pSi.y + 80); this.bZD.y = (this.nai.y + 16); if (this.dXG.dnO > 0){ this.nai.text = "Special"; this.bZD.text = (("slows targets by " + this.dXG.dnO) + "%"); } else { this.nai.text = ""; this.bZD.text = ""; }; this.oyM.bitmapData = this.dXG.dRF; if ((((this.dXG.pEO == "conv")) && ((this.dXG.jiC == "missile")))){ this.ebp = new QTa(); } else { if (this.dXG.pEO == "conv"){ this.ebp = new Ybj(); } else { if (this.dXG.pEO == "bio"){ this.ebp = new Vbd(); }; }; }; if (this.dXG.pEO != "em"){ this.ebp.cacheAsBitmap = true; this.pEE.addChild(this.ebp); }; this.qRR.text = this.dXG.sMd; this.kJR(); this.tmR.text = String(this.dXG.zBY); this.iya.text = "Damage:\rDmg. Type:\rFire Rate:\rRange:"; this.lxd.text = (((((this.dXG.cOM + "\r") + "\r") + this.dXG.qLJ) + "\r") + this.dXG.gzZ); if (this.dXG.cOM == 0){ this.qkb.defaultTextFormat = PTY.oAC[0]; this.qkb.text = "-"; } else { this.qkb.defaultTextFormat = PTY.oAC[this.dXG.lvh]; this.qkb.text = this.dXG.pEO.toUpperCase(); }; } private function rRm():void{ this.yJC = new Bitmap(YES.sOO("armory")); this.addChild(this.yJC); this.pEE.x = ((this.yJC.width / 2) - (YUA.ayy / 2)); this.pEE.y = 31; this.pEE.addChild(this.oyM); this.addChild(this.pEE); this.tYI.addChild(new Bitmap(YES.sOO("larrow"))); this.tYI.x = ((this.pEE.x - 16) - this.tYI.width); this.tYI.y = (this.pEE.y + ((YUA.ayy - this.tYI.height) / 2)); this.addChild(this.tYI); this.xnq.addChild(new Bitmap(YES.sOO("rarrow"))); this.xnq.x = ((this.pEE.x + YUA.ayy) + 16); this.xnq.y = this.tYI.y; this.addChild(this.xnq); this.qRR.defaultTextFormat = PTY.rCB; this.qRR.autoSize = TextFieldAutoSize.CENTER; this.qRR.x = (this.yJC.width / 2); this.qRR.y = 80; this.qRR.selectable = false; this.qRR.mouseEnabled = false; this.addChild(this.qRR); this.tsH = new Bitmap(YES.sOO("credits")); this.tsH.x = ((this.yJC.width / 2) - 18); this.tsH.y = (this.qRR.y + 18); this.addChild(this.tsH); this.tmR.defaultTextFormat = PTY.bOQ; this.tmR.autoSize = TextFieldAutoSize.LEFT; this.tmR.x = ((this.tsH.x + this.tsH.width) + 4); this.tmR.y = this.tsH.y; this.tmR.selectable = false; this.tmR.mouseEnabled = false; this.addChild(this.tmR); this.pSi.defaultTextFormat = PTY.vVF; this.pSi.autoSize = TextFieldAutoSize.LEFT; this.pSi.x = 8; this.pSi.y = (this.tsH.y + 24); this.pSi.selectable = false; this.pSi.mouseEnabled = false; this.pSi.text = "Attributes"; this.addChild(this.pSi); this.iya.defaultTextFormat = PTY.gIZ; this.iya.autoSize = TextFieldAutoSize.LEFT; this.iya.x = (this.pSi.x + 12); this.iya.y = (this.pSi.y + 16); this.iya.selectable = false; this.iya.mouseEnabled = false; this.addChild(this.iya); this.lxd.defaultTextFormat = PTY.gIZ; this.lxd.autoSize = TextFieldAutoSize.LEFT; this.lxd.x = (this.iya.x + 64); this.lxd.y = this.iya.y; this.lxd.selectable = false; this.lxd.mouseEnabled = false; this.addChild(this.lxd); this.qkb.autoSize = TextFieldAutoSize.LEFT; this.qkb.x = this.lxd.x; this.qkb.y = (this.lxd.y + 12); this.qkb.selectable = false; this.qkb.mouseEnabled = false; this.addChild(this.qkb); this.nai.defaultTextFormat = PTY.vVF; this.nai.autoSize = TextFieldAutoSize.LEFT; this.nai.x = 8; this.nai.selectable = false; this.nai.mouseEnabled = false; this.addChild(this.nai); this.bZD.defaultTextFormat = PTY.gIZ; this.bZD.autoSize = TextFieldAutoSize.LEFT; this.bZD.x = (this.nai.x + 12); this.bZD.selectable = false; this.bZD.mouseEnabled = false; this.addChild(this.bZD); this.uds.x = this.pEE.x; this.uds.y = this.pEE.y; this.bia = new Bitmap(YES.sOO("cancel_placement")); this.uds.addChild(this.bia); this.oyB(Srs.jtC[this.upV]); this.tYI.addEventListener(MouseEvent.CLICK, this.bLg); this.xnq.addEventListener(MouseEvent.CLICK, this.fqo); this.pEE.addEventListener(MouseEvent.CLICK, this.hgX); } private function oom(_arg1:MouseEvent):void{ var _local2:int; var _local3:int; var _local4:Array; if (((((((((_arg1.stageX - YUA.tDI.x) < 0)) || (((_arg1.stageX - YUA.tDI.x) > YUA.xpT)))) || (((_arg1.stageY - YUA.tDI.y) < 0)))) || (((_arg1.stageY - YUA.tDI.y) > YUA.qZy)))){ KFt.ubT("error"); } else { _local2 = (this.pEE.x - YUA.tDI.x); _local3 = (this.pEE.y - YUA.tDI.y); _local2 = Math.max(0, _local2); _local2 = Math.min((YUA.xpT - YUA.ayy), _local2); _local3 = Math.max(0, _local3); _local3 = Math.min((YUA.qZy - YUA.ayy), _local3); if (this.eFs(_local2, _local3)){ KFt.ubT("weapon_place"); if (this.nwW == "weapon"){ IwG.cDx(-(this.dXG.zBY)); _local4 = UCE.cGI(_local2, _local3); new DeR(this.dXG.pyN, _local2, _local3, _local4[0], _local4[1], _local4[2]); } else { IwG.cDx(-(this.roR.jXp)); new Msk(this.roR.rPf, _local2, _local3); }; } else { KFt.ubT("error"); }; }; this.tBc(); Mouse.show(); } private function kYM(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:Boolean, _arg8:Boolean):Array{ var _local9:int; var _local10:Array; var _local11:int; var _local12:int; _local9 = 4; if (((((!(_arg7)) && ((_arg2 > (_arg5 - (_arg3 - 1)))))) && ((_arg2 < (_arg5 + (_arg6 - 1)))))){ _local10 = new Array(_arg4, (_arg4 + _arg6), (_arg4 - _arg3)); _local12 = (_local10.length - 1); while (_local12 >= 0) { _local11 = _local10[_local12]; if ((((((_arg1 > _local11)) && ((_arg1 <= (_local11 + _local9))))) || ((((_arg1 < _local11)) && ((_arg1 >= (_local11 - _local9))))))){ if ((((_local11 >= 0)) && (((_local11 + _arg3) <= YUA.xpT)))){ _arg1 = _local11; break; }; }; _local12--; }; }; if (((((!(_arg8)) && ((_arg1 > (_arg4 - (_arg3 - 1)))))) && ((_arg1 < (_arg4 + (_arg6 - 1)))))){ _local10 = new Array(_arg5, (_arg5 + _arg6), (_arg5 - _arg3)); _local12 = (_local10.length - 1); while (_local12 >= 0) { _local11 = _local10[_local12]; if ((((((_arg2 > _local11)) && ((_arg2 <= (_local11 + _local9))))) || ((((_arg2 < _local11)) && ((_arg2 >= (_local11 - _local9))))))){ if ((((_local11 >= 0)) && (((_local11 + _arg3) <= YUA.qZy)))){ _arg2 = _local11; break; }; }; _local12--; }; }; return ([_arg1, _arg2]); } private function bLg(_arg1:MouseEvent):void{ KFt.ubT("armory_arrows"); if (this.upV <= 0){ if (this.nwW == "weapon"){ this.nwW = "booster"; this.upV = (CJN.hxb.length - 1); } else { this.nwW = "weapon"; this.upV = (Srs.jtC.length - 1); }; } else { this.upV = (this.upV - 1); }; if (this.nwW == "weapon"){ this.oyB(Srs.jtC[this.upV]); } else { this.wzW(this.upV); }; _arg1.updateAfterEvent(); } private function wzW(_arg1:int):void{ if (this.ebp != null){ this.pEE.removeChild(this.ebp); this.ebp = null; }; this.dXG = null; this.roR = CJN.hxb[_arg1]; this.oyM.bitmapData = this.roR.tEI; this.qRR.text = this.roR.uQO; this.kJR(); this.tmR.text = String(this.roR.jXp); this.iya.text = "Range:"; this.lxd.text = String(this.roR.nkA); this.qkb.text = ""; this.nai.y = (this.pSi.y + 44); this.bZD.y = (this.nai.y + 16); this.nai.text = "Weapons in range receive"; if (this.roR.lCK > 0){ this.bZD.text = (("+" + this.roR.lCK) + "% range\r"); }; if (this.roR.iTo > 0){ this.bZD.text = (("+" + this.roR.iTo) + "% damage\r"); }; if (this.roR.fNk > 0){ this.bZD.text = (("+" + this.roR.fNk) + "% fire rate\r"); }; } } }//package jMR
Section 27
//YES (jMR.YES) package jMR { import flash.display.*; public class YES { public static var tsX:GBT = null; public static var deh:Array = new Array(); public static var wMA:Sprite = null; public static var zYM:Sprite = null; public static var uwu:UES = null; public static var mNx:QCU = null; public static var yNk:Object = new Object(); public static var vPq:Sprite = null; public static var wJr:QkT = null; public static var sbK:AMC = null; public static var bRE:ScQ = null; public static var zIM:Sprite = null; public static var eIw:Object = new Object(); public static var hkP:VZq = null; public static var cWr:KiG = null; public static var oWA:Array = null; public static var hqh:Mns = null; public static function uRc(_arg1:BitmapData, _arg2:String):void{ if (YES.deh.length == 0){ YES.deh.push(new Array(_arg1, null, _arg2)); return; }; if (YES.deh[(YES.deh.length - 1)][1] == null){ YES.deh[(YES.deh.length - 1)][1] = _arg1; } else { YES.deh.push(new Array(_arg1, null, _arg2)); }; } public static function sOO(_arg1:String):BitmapData{ return (YES.yNk[_arg1]); } public static function lDG(_arg1:String, _arg2:BitmapData):void{ YES.yNk[_arg1.slice(0, _arg1.indexOf("."))] = _arg2; } } }//package jMR
Section 28
//YSn (jMR.YSn) package jMR { import flash.events.*; import fRp.*; import flash.display.*; import dtO.*; import flash.filters.*; public class YSn extends Sprite { private var gNw:Bitmap; private var sep:String; private var nxE:int; private var tdV:AGF; public function YSn(_arg1:int){ this.nxE = _arg1; this.tdV = FQz.lfG(_arg1); this.sep = ("map_" + this.tdV.cdz.toLowerCase()); this.sep = this.sep.replace(/ /g, "_"); this.sep = this.sep.replace(/\'/g, ""); YES.oWA.push(this); this.hMv(); this.addEventListener(MouseEvent.CLICK, this.gIh); this.addEventListener(MouseEvent.ROLL_OVER, this.pMq); this.addEventListener(MouseEvent.ROLL_OUT, this.gpf); this.buttonMode = true; this.mouseEnabled = true; this.mouseChildren = false; } private function hMv():void{ this.gNw = new Bitmap(YES.sOO(this.sep)); this.addChild(this.gNw); } private function pMq(_arg1:MouseEvent):void{ this.gNw.filters = [new GlowFilter(EJT.kco, 1, 16, 16), new GlowFilter(EJT.kco, 0.5, 64, 55, 2, 1, true)]; } private function gpf(_arg1:MouseEvent):void{ this.gNw.filters = null; } public function xRU():void{ this.removeEventListener(MouseEvent.CLICK, this.gIh); this.removeEventListener(MouseEvent.ROLL_OVER, this.pMq); this.removeEventListener(MouseEvent.ROLL_OUT, this.gpf); this.removeChild(this.gNw); this.gNw = null; } private function gIh(_arg1:MouseEvent):void{ KFt.ubT("menu"); DiT.cie(this.nxE); } } }//package jMR
Section 29
//QBe (kNe.QBe) package kNe { public class QBe { private static var sCb:String = ((((((((((((((("0" + "1") + "2") + "3") + "4") + "5") + "6") + "7") + "8") + "9") + "a") + "b") + "c") + "d") + "e") + "f"); public static function ctZ(_arg1:int, _arg2:int):uint{ var _local3:int; _local3 = (32 - _arg2); return (((_arg1 << _local3) | (_arg1 >>> (32 - _local3)))); } public static function erS(_arg1:int, _arg2:int):int{ return (((_arg1 << _arg2) | (_arg1 >>> (32 - _arg2)))); } public static function wNQ(_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 + (QBe.sCb.charAt(((_arg1 >> (((3 - _local4) * 8) + 4)) & 15)) + QBe.sCb.charAt(((_arg1 >> ((3 - _local4) * 8)) & 15)))); _local4++; }; } else { _local5 = 0; while (_local5 < 4) { _local3 = (_local3 + (QBe.sCb.charAt(((_arg1 >> ((_local5 * 8) + 4)) & 15)) + QBe.sCb.charAt(((_arg1 >> (_local5 * 8)) & 15)))); _local5++; }; }; return (_local3); } } }//package kNe
Section 30
//YtP (kNe.YtP) package kNe { public class YtP { public static function lGK(_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 = YtP.rTx(_arg1); _local11 = _local10.length; _local12 = 0; while (_local12 < _local11) { _local6 = _local2; _local7 = _local3; _local8 = _local4; _local9 = _local5; _local2 = YtP.sXb(_local2, _local3, _local4, _local5, _local10[(_local12 + 0)], 7, -680876936); _local5 = YtP.sXb(_local5, _local2, _local3, _local4, _local10[(_local12 + 1)], 12, -389564586); _local4 = YtP.sXb(_local4, _local5, _local2, _local3, _local10[(_local12 + 2)], 17, 606105819); _local3 = YtP.sXb(_local3, _local4, _local5, _local2, _local10[(_local12 + 3)], 22, -1044525330); _local2 = YtP.sXb(_local2, _local3, _local4, _local5, _local10[(_local12 + 4)], 7, -176418897); _local5 = YtP.sXb(_local5, _local2, _local3, _local4, _local10[(_local12 + 5)], 12, 1200080426); _local4 = YtP.sXb(_local4, _local5, _local2, _local3, _local10[(_local12 + 6)], 17, -1473231341); _local3 = YtP.sXb(_local3, _local4, _local5, _local2, _local10[(_local12 + 7)], 22, -45705983); _local2 = YtP.sXb(_local2, _local3, _local4, _local5, _local10[(_local12 + 8)], 7, 1770035416); _local5 = YtP.sXb(_local5, _local2, _local3, _local4, _local10[(_local12 + 9)], 12, -1958414417); _local4 = YtP.sXb(_local4, _local5, _local2, _local3, _local10[(_local12 + 10)], 17, -42063); _local3 = YtP.sXb(_local3, _local4, _local5, _local2, _local10[(_local12 + 11)], 22, -1990404162); _local2 = YtP.sXb(_local2, _local3, _local4, _local5, _local10[(_local12 + 12)], 7, 1804603682); _local5 = YtP.sXb(_local5, _local2, _local3, _local4, _local10[(_local12 + 13)], 12, -40341101); _local4 = YtP.sXb(_local4, _local5, _local2, _local3, _local10[(_local12 + 14)], 17, -1502002290); _local3 = YtP.sXb(_local3, _local4, _local5, _local2, _local10[(_local12 + 15)], 22, 1236535329); _local2 = YtP.bxc(_local2, _local3, _local4, _local5, _local10[(_local12 + 1)], 5, -165796510); _local5 = YtP.bxc(_local5, _local2, _local3, _local4, _local10[(_local12 + 6)], 9, -1069501632); _local4 = YtP.bxc(_local4, _local5, _local2, _local3, _local10[(_local12 + 11)], 14, 643717713); _local3 = YtP.bxc(_local3, _local4, _local5, _local2, _local10[(_local12 + 0)], 20, -373897302); _local2 = YtP.bxc(_local2, _local3, _local4, _local5, _local10[(_local12 + 5)], 5, -701558691); _local5 = YtP.bxc(_local5, _local2, _local3, _local4, _local10[(_local12 + 10)], 9, 38016083); _local4 = YtP.bxc(_local4, _local5, _local2, _local3, _local10[(_local12 + 15)], 14, -660478335); _local3 = YtP.bxc(_local3, _local4, _local5, _local2, _local10[(_local12 + 4)], 20, -405537848); _local2 = YtP.bxc(_local2, _local3, _local4, _local5, _local10[(_local12 + 9)], 5, 568446438); _local5 = YtP.bxc(_local5, _local2, _local3, _local4, _local10[(_local12 + 14)], 9, -1019803690); _local4 = YtP.bxc(_local4, _local5, _local2, _local3, _local10[(_local12 + 3)], 14, -187363961); _local3 = YtP.bxc(_local3, _local4, _local5, _local2, _local10[(_local12 + 8)], 20, 1163531501); _local2 = YtP.bxc(_local2, _local3, _local4, _local5, _local10[(_local12 + 13)], 5, -1444681467); _local5 = YtP.bxc(_local5, _local2, _local3, _local4, _local10[(_local12 + 2)], 9, -51403784); _local4 = YtP.bxc(_local4, _local5, _local2, _local3, _local10[(_local12 + 7)], 14, 1735328473); _local3 = YtP.bxc(_local3, _local4, _local5, _local2, _local10[(_local12 + 12)], 20, -1926607734); _local2 = YtP.cpv(_local2, _local3, _local4, _local5, _local10[(_local12 + 5)], 4, -378558); _local5 = YtP.cpv(_local5, _local2, _local3, _local4, _local10[(_local12 + 8)], 11, -2022574463); _local4 = YtP.cpv(_local4, _local5, _local2, _local3, _local10[(_local12 + 11)], 16, 1839030562); _local3 = YtP.cpv(_local3, _local4, _local5, _local2, _local10[(_local12 + 14)], 23, -35309556); _local2 = YtP.cpv(_local2, _local3, _local4, _local5, _local10[(_local12 + 1)], 4, -1530992060); _local5 = YtP.cpv(_local5, _local2, _local3, _local4, _local10[(_local12 + 4)], 11, 1272893353); _local4 = YtP.cpv(_local4, _local5, _local2, _local3, _local10[(_local12 + 7)], 16, -155497632); _local3 = YtP.cpv(_local3, _local4, _local5, _local2, _local10[(_local12 + 10)], 23, -1094730640); _local2 = YtP.cpv(_local2, _local3, _local4, _local5, _local10[(_local12 + 13)], 4, 681279174); _local5 = YtP.cpv(_local5, _local2, _local3, _local4, _local10[(_local12 + 0)], 11, -358537222); _local4 = YtP.cpv(_local4, _local5, _local2, _local3, _local10[(_local12 + 3)], 16, -722521979); _local3 = YtP.cpv(_local3, _local4, _local5, _local2, _local10[(_local12 + 6)], 23, 76029189); _local2 = YtP.cpv(_local2, _local3, _local4, _local5, _local10[(_local12 + 9)], 4, -640364487); _local5 = YtP.cpv(_local5, _local2, _local3, _local4, _local10[(_local12 + 12)], 11, -421815835); _local4 = YtP.cpv(_local4, _local5, _local2, _local3, _local10[(_local12 + 15)], 16, 530742520); _local3 = YtP.cpv(_local3, _local4, _local5, _local2, _local10[(_local12 + 2)], 23, -995338651); _local2 = YtP.cBr(_local2, _local3, _local4, _local5, _local10[(_local12 + 0)], 6, -198630844); _local5 = YtP.cBr(_local5, _local2, _local3, _local4, _local10[(_local12 + 7)], 10, 1126891415); _local4 = YtP.cBr(_local4, _local5, _local2, _local3, _local10[(_local12 + 14)], 15, -1416354905); _local3 = YtP.cBr(_local3, _local4, _local5, _local2, _local10[(_local12 + 5)], 21, -57434055); _local2 = YtP.cBr(_local2, _local3, _local4, _local5, _local10[(_local12 + 12)], 6, 1700485571); _local5 = YtP.cBr(_local5, _local2, _local3, _local4, _local10[(_local12 + 3)], 10, -1894986606); _local4 = YtP.cBr(_local4, _local5, _local2, _local3, _local10[(_local12 + 10)], 15, -1051523); _local3 = YtP.cBr(_local3, _local4, _local5, _local2, _local10[(_local12 + 1)], 21, -2054922799); _local2 = YtP.cBr(_local2, _local3, _local4, _local5, _local10[(_local12 + 8)], 6, 1873313359); _local5 = YtP.cBr(_local5, _local2, _local3, _local4, _local10[(_local12 + 15)], 10, -30611744); _local4 = YtP.cBr(_local4, _local5, _local2, _local3, _local10[(_local12 + 6)], 15, -1560198380); _local3 = YtP.cBr(_local3, _local4, _local5, _local2, _local10[(_local12 + 13)], 21, 1309151649); _local2 = YtP.cBr(_local2, _local3, _local4, _local5, _local10[(_local12 + 4)], 6, -145523070); _local5 = YtP.cBr(_local5, _local2, _local3, _local4, _local10[(_local12 + 11)], 10, -1120210379); _local4 = YtP.cBr(_local4, _local5, _local2, _local3, _local10[(_local12 + 2)], 15, 718787259); _local3 = YtP.cBr(_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 ((((QBe.wNQ(_local2) + QBe.wNQ(_local3)) + QBe.wNQ(_local4)) + QBe.wNQ(_local5))); } private static function cBr(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{ return (YtP.gLA(YtP.hxo, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7)); } private static function bxc(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{ return (YtP.gLA(YtP.wMd, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7)); } private static function faI(_arg1:int, _arg2:int, _arg3:int):int{ return (((_arg1 & _arg2) | (~(_arg1) & _arg3))); } private static function nef(_arg1:int, _arg2:int, _arg3:int):int{ return (((_arg1 ^ _arg2) ^ _arg3)); } private static function rTx(_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); } private static function cpv(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{ return (YtP.gLA(YtP.nef, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7)); } private static function gLA(_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 ((QBe.erS(_local9, _arg7) + _arg3)); } private static function sXb(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:int):int{ return (YtP.gLA(YtP.faI, _arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7)); } private static function wMd(_arg1:int, _arg2:int, _arg3:int):int{ return (((_arg1 & _arg3) | (_arg2 & ~(_arg3)))); } private static function hxo(_arg1:int, _arg2:int, _arg3:int):int{ return ((_arg2 ^ (_arg1 | ~(_arg3)))); } } }//package kNe
Section 31
//CJN (wQC.CJN) package wQC { import flash.display.*; public class CJN { public static var hxb:Array = new Array(); public static var uDK:Object = new Object(); public static function bwu():void{ var _local1:int; var _local2:String; var _local3:String; var _local4:int; var _local5:int; var _local6:int; var _local7:int; var _local8:int; var _local9:int; var _local10:int; var _local11:int; var _local12:int; var _local13:int; _local1 = 1; _local2 = "Range Booster"; _local3 = "range.png"; _local4 = 1; _local5 = 400; _local6 = 10; _local7 = 0; _local8 = 0; _local9 = 4; _local10 = 10; _local11 = 0; _local12 = 0; CJN.hxb.push(new NqQ(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12)); _local1 = 2; _local2 = "Damage Booster"; _local3 = "damage.png"; _local4 = 1; _local5 = 500; _local6 = 0; _local7 = 20; _local8 = 0; _local9 = 4; _local10 = 0; _local11 = 20; _local12 = 0; CJN.hxb.push(new NqQ(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12)); _local1 = 3; _local2 = "Rate Booster"; _local3 = "rate.png"; _local4 = 1; _local5 = 450; _local6 = 0; _local7 = 0; _local8 = 20; _local9 = 4; _local10 = 0; _local11 = 0; _local12 = 20; CJN.hxb.push(new NqQ(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12)); _local13 = 0; while (_local13 < CJN.hxb.length) { CJN.uDK[NqQ(CJN.hxb[_local13]).rPf] = _local13; _local13++; }; } public static function axC(_arg1:int):NqQ{ var _local2:int; _local2 = CJN.uDK[_arg1]; return (CJN.hxb[_local2]); } public static function mcP(_arg1:String, _arg2:BitmapData):void{ var _local3:int; _local3 = (CJN.hxb.length - 1); while (_local3 >= 0) { if (NqQ(CJN.hxb[_local3]).nwo == _arg1){ NqQ(CJN.hxb[_local3]).uaT(_arg2); }; _local3--; }; } } }//package wQC
Section 32
//Msk (wQC.Msk) package wQC { import flash.display.*; import yRO.*; public class Msk { public var zpu:Number; public var sYR:int; public var sQS:int; public var kVK:uint; public var acC:int; public var zVA:int; public var gYx:int; public var mLG:int; private var gNM:int;// = 0 private var rMr:Sprite; public var aPh:NqQ; public var tgR:Bitmap; public function Msk(_arg1:int, _arg2:int, _arg3:int){ gNM = 0; super(); this.aPh = CJN.axC(_arg1); this.sQS = this.aPh.jXp; this.zpu = this.aPh.nkA; this.zVA = this.aPh.lCK; this.acC = this.aPh.iTo; this.mLG = this.aPh.fNk; this.sYR = _arg2; this.gYx = _arg3; this.tgR = new Bitmap(this.aPh.tEI); this.tgR.x = this.sYR; this.tgR.y = this.gYx; this.kVK = UCE.sBd(this); this.rMr = YUA.tDI; this.rMr.addChild(this.tgR); } public function fyK():void{ UCE.hZE(this.kVK); this.rMr.removeChild(this.tgR); this.rMr = null; } public function enk():Boolean{ if (this.gNM < this.aPh.nGT){ return (true); }; return (false); } public function liD():Array{ var _local1:int; var _local2:Number; var _local3:int; var _local4:int; var _local5:int; _local1 = this.sQS; _local2 = this.aPh.nkA; _local3 = this.aPh.lCK; _local4 = this.aPh.iTo; _local5 = this.aPh.fNk; _local1 = (_local1 * (this.gNM + 2)); _local2 = (_local2 + ((this.gNM + 1) * 0.2)); _local3 = (_local3 + ((this.gNM + 1) * this.aPh.ckA)); _local4 = (_local4 + ((this.gNM + 1) * this.aPh.dAa)); _local5 = (_local5 + ((this.gNM + 1) * this.aPh.mfz)); return ([_local1, _local2, _local3, _local4, _local5]); } public function qsU():void{ var _local1:Array; UCE.kTx(this.sYR, this.gYx, this.zpu, this.zVA, this.acC, this.mLG); _local1 = this.liD(); this.sQS = _local1[0]; this.zpu = _local1[1]; this.zVA = _local1[2]; this.acC = _local1[3]; this.mLG = _local1[4]; this.gNM++; UCE.cIU(this.sYR, this.gYx, this.zpu, this.zVA, this.acC, this.mLG); } } }//package wQC
Section 33
//NqQ (wQC.NqQ) package wQC { import flash.display.*; public class NqQ { public var jXp:int; public var fNk:int; public var nwo:String; public var iTo:int; public var rPf:int; public var uQO:String; public var lCK:int; public var tEI:BitmapData; public var ckA:int; public var nGT:int; public var mfz:int; public var nkA:int; public var dAa:int; public function NqQ(_arg1:int, _arg2:String, _arg3:String, _arg4:int, _arg5:int, _arg6:int, _arg7:int, _arg8:int, _arg9:int, _arg10:int, _arg11:int, _arg12:int){ this.rPf = _arg1; this.uQO = _arg2; this.nwo = _arg3; this.nkA = _arg4; this.jXp = _arg5; this.lCK = _arg6; this.iTo = _arg7; this.fNk = _arg8; this.nGT = _arg9; this.ckA = _arg10; this.dAa = _arg11; this.mfz = _arg12; } public function uaT(_arg1:BitmapData):void{ this.tEI = _arg1; } } }//package wQC
Section 34
//UCE (wQC.UCE) package wQC { import zfn.*; import yRO.*; public class UCE { public static var lFn:Array = new Array(); public static var bRe:uint = 0; public static function hZE(_arg1:uint):void{ var _local2:Msk; var _local3:int; _local3 = (UCE.lFn.length - 1); while (_local3 >= 0) { if (((!((UCE.lFn[_local3] == null))) && ((Msk(UCE.lFn[_local3]).kVK == _arg1)))){ _local2 = Msk(UCE.lFn[_local3]); UCE.kTx(_local2.sYR, _local2.gYx, _local2.zpu, _local2.zVA, _local2.acC, _local2.mLG); delete UCE.lFn[_local3]; break; }; _local3--; }; } public static function kTx(_arg1:int, _arg2:int, _arg3:Number, _arg4:int, _arg5:int, _arg6:int):void{ UCE.cIU(_arg1, _arg2, _arg3, -(_arg4), -(_arg5), -(_arg6)); } public static function hNo(_arg1:uint):Msk{ var _local2:int; _local2 = (UCE.lFn.length - 1); while (_local2 >= 0) { if (((!((UCE.lFn[_local2] == null))) && ((Msk(UCE.lFn[_local2]).kVK == _arg1)))){ return (UCE.lFn[_local2]); }; _local2--; }; return (null); } public static function ufL():void{ var _local1:int; _local1 = (UCE.lFn.length - 1); while (_local1 >= 0) { if (UCE.lFn[_local1] != null){ Msk(UCE.lFn[_local1]).fyK(); }; _local1--; }; UCE.lFn = new Array(); UCE.bRe = 0; } public static function sBd(_arg1:Msk):uint{ UCE.lFn.push(_arg1); UCE.bRe++; UCE.cIU(_arg1.sYR, _arg1.gYx, _arg1.zpu, _arg1.zVA, _arg1.acC, _arg1.mLG); return (UCE.bRe); } public static function cGI(_arg1:int, _arg2:int):Array{ var _local3:int; var _local4:int; var _local5:int; var _local6:Msk; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:int; _local3 = 0; _local4 = 0; _local5 = 0; _arg1 = (_arg1 + (YUA.ayy / 2)); _arg2 = (_arg2 + (YUA.ayy / 2)); _local12 = (UCE.lFn.length - 1); while (_local12 >= 0) { if (UCE.lFn[_local12] == null){ } else { _local6 = Msk(UCE.lFn[_local12]); _local10 = (_local6.sYR + (YUA.ayy / 2)); _local11 = (_local6.gYx + (YUA.ayy / 2)); _local7 = Math.abs((_arg1 - _local10)); _local8 = Math.abs((_arg2 - _local11)); _local9 = Math.sqrt(((_local7 * _local7) + (_local8 * _local8))); if ((_local6.zpu * YUA.qyf) >= _local9){ _local3 = (_local3 + _local6.zVA); _local4 = (_local4 + _local6.acC); _local5 = (_local5 + _local6.mLG); }; }; _local12--; }; return ([_local3, _local4, _local5]); } public static function cIU(_arg1:int, _arg2:int, _arg3:Number, _arg4:int, _arg5:int, _arg6:int):void{ var _local7:DeR; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:int; _arg3 = (_arg3 * YUA.qyf); _local11 = (_arg1 + (YUA.ayy / 2)); _local12 = (_arg2 + (YUA.ayy / 2)); _local15 = (Hur.vjE.length - 1); while (_local15 >= 0) { if (Hur.vjE[_local15] == null){ } else { _local7 = DeR(Hur.vjE[_local15]); _local13 = (_local7.zuE + (YUA.ayy / 2)); _local14 = (_local7.gpH + (YUA.ayy / 2)); _local8 = Math.abs((_local11 - _local13)); _local9 = Math.abs((_local12 - _local14)); _local10 = Math.sqrt(((_local8 * _local8) + (_local9 * _local9))); if (_arg3 >= _local10){ _local7.otT(_arg4, _arg5, _arg6); }; }; _local15--; }; } } }//package wQC
Section 35
//EqW (xDd.EqW) package xDd { import flash.events.*; import fRp.*; import flash.display.*; import zsg.*; import wQC.*; import zfn.*; import flash.media.*; import yRO.*; import jMR.*; import flash.text.*; import flash.net.*; import dtO.*; import flash.geom.*; public class EqW { private var iEy:Array; private var gtR:String; private var tUG:String; private var tMC:Array; private var jAL:Array; private var zbA:Array; private var rZN:int; private var qWs:int; private var yPQ:int; private var mhx:int;// = 0 private var mrE:Ksb; private var ppB:int; private var dxQ:int;// = 0 private var zZs:int;// = 0 private var jkt:int;// = 0 private var rsm:Array; private var nCR:Loader; private var qjX:int;// = 0 private var irc:int;// = 0 private var daH:int; private var uAY:String; private var txf:String; private var vKi:String; private var dyj:Array; private var sNQ:int; private var eSL:TextField; private var yIv:int;// = 0 private var vLb:int;// = 0 private var lQc:Loader; private var piy:Array; private var wGa:Array; private var pQs:MovieClip; private var vNT:URLLoader; private var iDg:String; private var wID:String; private var tdN:String; private var iVZ:int; private var aFU:int; private var ixC:int; private var dmQ:int;// = 0 private var bYV:int;// = 0 public function EqW(){ vNT = new URLLoader(); nCR = new Loader(); lQc = new Loader(); qjX = 0; yIv = 0; jkt = 0; zbA = ["armory_arrows.mp3", "bio.mp3", "em.mp3", "gatling.mp3", "missile.mp3", "weapon_place.mp3", "weapon_purchase.mp3", "weapon_select.mp3", "critter_select.mp3", "next_wave.mp3", "weapon_upgrade.mp3", "weapon_sell.mp3", "menu.mp3", "error.mp3", "lose_life.mp3", "explosion.mp3"]; bYV = 0; iEy = ["border_left.png", "border_right.png", "border_top.png", "border_bottom.png", "menu_button.png", "credits.png", "kills.png", "score.png", "wave.png", "menu.png", "help.png", "restart.png", "pause.png", "armory.png", "next_wave.png", "stats_wave.png", "system_message.png", "larrow.png", "rarrow.png", "wave_box.png", "cancel_placement.png", "stats.png", "upgrade.png", "upgrade_red.png", "back_to_armory.png", "demolish.png", "audio_on.png", "audio_off.png", "continue_button.png", "continue_button_active.png", "game_over.png", "submit_score.png", "try_again.png", "try_new_map.png", "try_pardus.png", "hall_of_fame.png", "map_selection.jpg", "map_earth.png", "map_keldana.png", "map_lahola.png", "map_phao.png", "map_rashkan.png", "map_sirion.png", "map_skara.png", "map_tivea.png", "map_ururur.png", "map_usube.png", "map_vega.png", "map_waolex.png"]; mhx = 0; dyj = ["asteroids.png", "space.png", "lives.png", "planet_d.png", "planet_d.swf", "planet_i.png", "planet_i.swf", "planet_m.png", "planet_m.swf"]; dmQ = 0; jAL = ["space_maggot.png", "space_dragon_young.png", "bio_scavenger.png", "pirate_inexperienced.png", "space_worm.png", "space_worm_albino.png", "energy_minnow.png", "space_dragon_elder.png", "sarracenia.png", "manifestation_verdant.png", "pirate_experienced.png", "ice_beast.png", "x993_squad.png", "space_maggot_mutated.png", "drosera.png", "blood_amoeba.png", "exocrab.png", "slave_trader.png", "nebula_serpent.png", "manifestation_developed.png", "wormhole.png", "blue_crystal.png", "x993_battlecruiser.png", "space_worm_mutated.png", "space_dragon_queen.png", "space_snail.png", "frost_crystal.png", "roidworm_horde.png", "cyborg_manta.png", "energy_sparker.png", "energybees.png", "infected_creature.png", "asp_hatchlings.png", "stheno_swarmlings.png", "xhole.png", "medusa_swarmlings.png", "space_crystal.png", "manifestation_ripe.png", "solar_banshee.png", "euryale_swarmlings.png", "asp_mother.png", "rive_crystal.png", "x993_mothership.png", "medusa.png", "xalgucennia.png", "ancient_crystal.png", "mutated_medusa.png", "z15_scout.png", "stheno.png", "pirate_famous.png", "z15_repair_drone.png", "z15_fighter.png", "z15_spacepad.png", "z16_repair_drone.png", "oblivion_vortex.png", "z16_fighter.png", "ceylacennia.png", "euryale.png", "lucidi_squad.png", "lucidi_warship.png", "feral_serpent.png", "shadow.png", "scorpion_fighter.png", "lucidi_mothership.png", "dreadscorp.png", "eulerian.png", "glowprawn.png", "gorefang.png", "gorefangling.png", "gorefanglings.png", "nebula_mole.png", "preywinder.png", "smuggler_escorted.png", "smuggler_lone.png", "space_clam.png", "starclaw.png", "tivean_carrier.png", "tivean_scout.png", "tivean_destroyer.png", "tivean_sentry.png", "tivean_squadron.png"]; vLb = 0; rsm = ["conv_1.png", "conv_2.png", "conv_3.png", "conv_4.png", "conv_5.png", "conv_6.png", "conv_7.png", "conv_8.png", "conv_9.png", "conv_10.png", "bio_1.png", "bio_2.png", "bio_3.png", "bio_4.png", "bio_5.png", "bio_6.png", "bio_7.png", "bio_8.png", "bio_9.png", "bio_10.png", "em_1.png", "em_2.png", "em_3.png", "em_4.png", "em_5.png", "em_6.png", "em_7.png", "em_8.png", "em_9.png", "em_10.png", "miss_1.png", "miss_2.png", "miss_3.png", "miss_4.png", "miss_5.png", "miss_6.png", "miss_7.png", "miss_8.png", "miss_9.png", "miss_10.png", "tractor.png"]; irc = 0; wGa = ["range.png", "damage.png", "rate.png"]; zZs = 0; tMC = ["gatling.png", "bio.png"]; dxQ = 0; super(); this.rZN = this.zbA.length; this.yPQ = this.iEy.length; this.ixC = this.dyj.length; this.ppB = this.jAL.length; this.qWs = this.rsm.length; this.iVZ = this.wGa.length; this.aFU = this.tMC.length; YUA.xud.stage.frameRate = 18; FQz.pbZ(); RUX.nBb(); YUA.eNL(); Srs.xbJ(); CJN.bwu(); this.wID = (YUA.ftH + RUX.atI(9)); this.iDg = (YUA.ftH + RUX.atI(10)); this.lQc.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, this.jRj); this.vNT.addEventListener(IOErrorEvent.IO_ERROR, this.jRj); this.nCR.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, this.jRj); if ((((YUA.xud.stage.stageWidth < YUA.jao)) || ((YUA.xud.stage.stageHeight < YUA.dzW)))){ this.oEZ(); }; this.uAY = RUX.atI(12); this.tUG = RUX.atI(13); this.gtR = RUX.atI(14); this.vKi = RUX.atI(15); this.tdN = RUX.atI(16); this.txf = RUX.atI(17); this.rrQ(); } private function wbk(_arg1:Event):void{ this.nCR.contentLoaderInfo.removeEventListener(Event.COMPLETE, this.wbk); YES.lDG(this.iEy[this.mhx], _arg1.target.content.bitmapData); this.cSM(); this.mhx++; if (this.mhx < this.yPQ){ this.pfR(); } else { this.qFD(); }; } private function huz():void{ this.nCR.load(new URLRequest(((YUA.ddz + this.vKi) + this.wGa[this.zZs]))); this.nCR.contentLoaderInfo.addEventListener(Event.COMPLETE, this.fic); } private function vQN(_arg1:Event):void{ this.nCR.contentLoaderInfo.removeEventListener(Event.COMPLETE, this.vQN); Srs.vIM(this.rsm[this.irc], _arg1.target.content.bitmapData); this.cSM(); this.irc++; if (this.irc < this.qWs){ this.pYg(); } else { this.huz(); }; } private function pfR():void{ this.nCR.load(new URLRequest(((YUA.ddz + this.uAY) + this.iEy[this.mhx]))); this.nCR.contentLoaderInfo.addEventListener(Event.COMPLETE, this.wbk); } private function fRE(_arg1:Event):void{ var _local2:String; this.nCR.contentLoaderInfo.removeEventListener(Event.COMPLETE, this.fRE); _local2 = this.dyj[this.dmQ]; if (_local2.indexOf(".swf") == -1){ FQz.juS(_local2, _arg1.target.content.bitmapData); FQz.pJY(_local2, _arg1.target.content.bitmapData); FQz.xRx(_local2, _arg1.target.content.bitmapData); FQz.wxq(_local2, _arg1.target.content.bitmapData); } else { FQz.ztp(_local2, _arg1.target.content); }; this.cSM(); this.dmQ++; if (this.dmQ < this.ixC){ this.qFD(); } else { this.pYg(); }; } private function hfH(_arg1:MouseEvent):void{ navigateToURL(new URLRequest(RUX.atI(8)), RUX.atI(19)); } private function vjW(_arg1:Event):void{ var _local2:int; var _local3:int; var _local4:Rectangle; this.lQc.contentLoaderInfo.removeEventListener(Event.COMPLETE, this.vjW); _local2 = 500; _local3 = 300; _local4 = new Rectangle(0, 0, _local2, _local3); this.pQs = MovieClip(this.lQc.content); this.pQs.x = ((YUA.jao / 2) - (_local2 / 2)); this.pQs.y = 100; this.pQs.scrollRect = _local4; this.pQs.addEventListener(MouseEvent.CLICK, this.hfH); YUA.xud.addChild(this.pQs); this.mrE = new Ksb(); this.ivG(); } private function rrQ():void{ this.lQc.load(new URLRequest(this.wID)); this.lQc.contentLoaderInfo.addEventListener(Event.COMPLETE, this.vjW); } private function jkY():void{ this.nCR.load(new URLRequest(this.piy[this.yIv][this.jkt])); this.nCR.contentLoaderInfo.addEventListener(Event.COMPLETE, this.zfv); } private function fic(_arg1:Event):void{ this.nCR.contentLoaderInfo.removeEventListener(Event.COMPLETE, this.fic); CJN.mcP(this.wGa[this.zZs], _arg1.target.content.bitmapData); this.cSM(); this.zZs++; if (this.zZs < this.iVZ){ this.huz(); } else { this.uyh(); }; } private function jRj(_arg1:IOErrorEvent):void{ this.eSL = new TextField(); this.eSL.multiline = true; this.eSL.htmlText = "<p align='center'><font size='13px' face='Tahoma, Arial, sans-serif' color='#FF0000'><b>Error loading images!</b></font></p><p><font size='13px' face='Tahoma, Arial, sans-serif' color='#FFFFFF'>Make sure you are at the official website at <b><a href='http://www.astraltowerdefense.com'>www.astraltowerdefense.com</a></b></font></p>"; this.eSL.x = ((YUA.jao / 2) - (this.eSL.textWidth / 2)); this.eSL.y = 440; this.eSL.width = (this.eSL.textWidth + 10); this.eSL.height = (this.eSL.textHeight + 10); YUA.xud.addChild(this.eSL); } private function uyh():void{ this.nCR.load(new URLRequest(((YUA.ddz + this.tdN) + this.tMC[this.dxQ]))); this.nCR.contentLoaderInfo.addEventListener(Event.COMPLETE, this.jWY); } private function gNB(_arg1:Event):void{ var _local2:String; var _local3:String; var _local4:Array; var _local5:int; this.vNT.removeEventListener(Event.COMPLETE, this.gNB); _local2 = RUX.atI(11); _local3 = URLLoader(_arg1.target).data; _local4 = _local3.split("\n"); if (_local4.length > 2){ this.piy = new Array(); _local5 = 0; while (_local5 < (_local4.length - 2)) { _local4[_local5] = _local4[_local5].replace("\r", ""); _local4[(_local5 + 1)] = _local4[(_local5 + 1)].replace("\r", ""); _local4[(_local5 + 2)] = _local4[(_local5 + 2)].replace("\r", ""); if (_local4[_local5].indexOf("://") == -1){ _local4[_local5] = ((YUA.ftH + "/") + _local4[_local5]); }; if (((!((_local4[(_local5 + 1)] == ""))) && ((_local4[(_local5 + 1)].indexOf("://") == -1)))){ _local4[(_local5 + 1)] = ((YUA.ftH + "/") + _local4[(_local5 + 1)]); }; if (_local4[(_local5 + 2)] == _local2){ _local4[(_local5 + 2)] = RUX.atI(8); }; this.piy.push(new Array(_local4[_local5], _local4[(_local5 + 1)], _local4[(_local5 + 2)])); _local5 = (_local5 + 2); _local5++; }; this.daH = this.piy.length; this.zuW(); this.jkY(); } else { this.zuW(); this.pfR(); }; } private function oEZ():void{ this.eSL = new TextField(); this.eSL.multiline = true; this.eSL.htmlText = "<p align='center'><font size='15px' face='Tahoma, Arial, sans-serif' color='#FF0000'><b>T H E G A M E I S N O T A T I T S F U L L S I Z E</b></font></p><p><font size='15px' face='Tahoma, Arial, sans-serif' color='#FFFFFF'>Visit the official site <b><a href='http://www.astraltowerdefense.com'>www.astraltowerdefense.com</a></b> to play the game at its full size!</font></p>"; this.eSL.x = ((YUA.jao / 2) - (this.eSL.textWidth / 2)); this.eSL.y = 420; this.eSL.width = (this.eSL.textWidth + 10); this.eSL.height = (this.eSL.textHeight + 10); YUA.xud.addChild(this.eSL); } private function zuW():void{ var _local1:int; this.sNQ = ((((((this.rZN + this.yPQ) + this.ixC) + this.ppB) + this.qWs) + this.iVZ) + this.aFU); _local1 = (this.piy.length - 1); while (_local1 >= 0) { this.sNQ++; if (this.piy[_local1][1] != ""){ this.sNQ++; }; _local1--; }; } private function pYg():void{ this.nCR.load(new URLRequest(((YUA.ddz + this.gtR) + this.rsm[this.irc]))); this.nCR.contentLoaderInfo.addEventListener(Event.COMPLETE, this.vQN); } private function qtk():void{ this.nCR.load(new URLRequest(((YUA.ddz + this.txf) + this.jAL[this.vLb]))); this.nCR.contentLoaderInfo.addEventListener(Event.COMPLETE, this.cxz); } private function cxz(_arg1:Event):void{ this.nCR.contentLoaderInfo.removeEventListener(Event.COMPLETE, this.cxz); RUX.lRP(this.jAL[this.vLb], _arg1.target.content.bitmapData); this.cSM(); this.vLb++; if (this.vLb < this.ppB){ this.qtk(); } else { this.mrE.oYz(this); }; } public function caV():void{ this.lQc.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, this.jRj); this.vNT.removeEventListener(IOErrorEvent.IO_ERROR, this.jRj); this.nCR.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, this.jRj); this.pQs.removeEventListener(MouseEvent.CLICK, this.hfH); YUA.xud.removeChild(this.pQs); if (this.eSL != null){ YUA.xud.removeChild(this.eSL); this.eSL = null; }; this.pQs = null; this.mrE = null; this.piy = null; this.iEy = null; this.dyj = null; this.jAL = null; this.rsm = null; this.wGa = null; this.tMC = null; YUA.xud.stage.frameRate = YUA.owi; } private function ivG():void{ this.vNT.load(new URLRequest(this.iDg)); this.vNT.addEventListener(Event.COMPLETE, this.gNB); } private function zfv(_arg1:Event):void{ this.nCR.contentLoaderInfo.removeEventListener(Event.COMPLETE, this.zfv); YES.uRc(_arg1.target.content.bitmapData, this.piy[this.yIv][2]); this.cSM(); if ((((this.jkt == 0)) && (!((this.piy[this.yIv][1] == ""))))){ this.jkt = 1; } else { this.jkt = 0; this.yIv++; }; if (this.yIv < this.daH){ this.jkY(); } else { this.ocO(); }; } private function uUN(_arg1:Event):void{ var _local2:Sound; _local2 = Sound(_arg1.target); _local2.removeEventListener(Event.COMPLETE, this.uUN); KFt.vSr(this.zbA[this.bYV], _local2); this.cSM(); this.bYV++; if (this.bYV < this.rZN){ this.ocO(); } else { this.pfR(); }; } private function jWY(_arg1:Event):void{ this.nCR.contentLoaderInfo.removeEventListener(Event.COMPLETE, this.jWY); Srs.rPn(this.tMC[this.dxQ], _arg1.target.content.bitmapData); this.cSM(); this.dxQ++; if (this.dxQ < this.aFU){ this.uyh(); } else { this.qtk(); }; } private function qFD():void{ this.nCR.load(new URLRequest(((YUA.ddz + this.tUG) + this.dyj[this.dmQ]))); this.nCR.contentLoaderInfo.addEventListener(Event.COMPLETE, this.fRE); } private function ocO():void{ var _local1:Sound; _local1 = new Sound(); _local1.load(new URLRequest(((YUA.znY + "/") + this.zbA[this.bYV]))); _local1.addEventListener(Event.COMPLETE, this.uUN); } private function cSM():void{ this.qjX++; this.mrE.lqP(((100 * this.qjX) / this.sNQ)); } } }//package xDd
Section 36
//IZe (xDd.IZe) package xDd { import flash.events.*; import flash.display.*; import zsg.*; import yRO.*; public class IZe extends Sprite { public var xsE:int; private var nFF:int;// = 0 private var xcq:int; public function IZe(_arg1:int, _arg2:int){ nFF = 0; super(); this.mouseChildren = false; this.mouseEnabled = false; YUA.fNv = this; this.xsE = _arg1; this.xcq = _arg2; this.addEventListener(Event.ENTER_FRAME, this.mLm); } public function fzy():void{ this.removeEventListener(Event.ENTER_FRAME, this.mLm); ZOZ(YUA.oTr).xha(this.xsE); } public function mLm(_arg1:Event):void{ this.nFF = (this.nFF - YUA.owi); if (this.nFF <= 0){ this.nFF = 1500; this.xcq--; new UZi(this.xsE); }; if (this.xcq == 0){ this.fzy(); }; } } }//package xDd
Section 37
//Min (xDd.Min) package xDd { import flash.events.*; import flash.display.*; import zsg.*; import zfn.*; import yRO.*; public class Min extends Sprite { public function Min(){ this.mouseChildren = false; this.mouseEnabled = false; YUA.gki = this; this.addEventListener(Event.ENTER_FRAME, this.bOd); } public function eZw():void{ this.removeEventListener(Event.ENTER_FRAME, this.bOd); YUA.gki = null; } public function bOd(_arg1:Event):void{ var _local2:int; var _local3:int; var _local4:int; _local2 = ZLF.cKd.length; _local3 = 0; while (_local3 < _local2) { if (ZLF.cKd[_local3] != null){ UZi(ZLF.cKd[_local3]).iGk(); }; _local3++; }; _local3 = 0; while (_local3 < _local2) { if (ZLF.cKd[_local3] != null){ UZi(ZLF.cKd[_local3]).bws(); }; _local3++; }; _local4 = Hur.vjE.length; _local3 = 0; while (_local3 < _local4) { if (Hur.vjE[_local3] != null){ DeR(Hur.vjE[_local3]).lbx(); }; _local3++; }; } } }//package xDd
Section 38
//ZOZ (xDd.ZOZ) package xDd { import flash.events.*; import flash.display.*; import zsg.*; import yRO.*; import jMR.*; import dtO.*; public class ZOZ extends Sprite { private var hnt:int;// = -1 private var wHF:int;// = 45999 private var vwq:int;// = 0 private var eVB:Array; public function ZOZ(){ wHF = 45999; eVB = new Array(); vwq = 0; hnt = -1; super(); this.mouseChildren = false; this.mouseEnabled = false; YUA.oTr = this; this.addEventListener(Event.ENTER_FRAME, this.kip); } public function jzK():int{ return (this.wHF); } public function zBV():void{ var _local1:*; this.removeEventListener(Event.ENTER_FRAME, this.kip); _local1 = (this.eVB.length - 1); while (_local1 >= 0) { if (this.eVB[_local1] != null){ IZe(this.eVB[_local1]).fzy(); delete this.eVB[_local1]; }; _local1--; }; YUA.fNv = null; YUA.oTr = null; } public function xha(_arg1:int):void{ var _local2:*; _local2 = (this.eVB.length - 1); while (_local2 >= 0) { if (((!((this.eVB[_local2] == null))) && ((IZe(this.eVB[_local2]).xsE == _arg1)))){ delete this.eVB[_local2]; break; }; _local2--; }; } private function yJv():int{ var _local1:int; var _local2:*; _local1 = 0; _local2 = (this.eVB.length - 1); while (_local2 >= 0) { if (this.eVB[_local2] != null){ _local1++; }; _local2--; }; return (_local1); } public function kip(_arg1:Event):void{ var _local2:int; var _local3:int; _local2 = Math.floor((this.wHF / 1000)); this.wHF = (this.wHF - YUA.owi); _local3 = Math.floor((this.wHF / 1000)); if (_local2 != _local3){ YES.mNx.vMD(String(_local3)); }; if (this.wHF <= 0){ KFt.ubT("next_wave"); this.wHF = 30999; this.vwq++; if (this.vwq == RUX.mCs.length){ this.hnt++; RUX.yuN(1, this.hnt); YES.mNx.nmT(1); } else { if ((this.vwq - 1) == RUX.mCs.length){ this.vwq = 1; RUX.yuN(2, this.hnt); YES.mNx.nmT(2); } else { if (this.hnt >= 0){ RUX.yuN((this.vwq + 1), this.hnt); }; YES.mNx.nmT((this.vwq + 1)); }; }; IwG.pqG(); YES.mNx.vMD("30"); this.eVB.push(new IZe(this.vwq, CJX(RUX.lio(this.vwq)).dUk)); }; } public function anX():void{ if (this.yJv() < 5){ this.wHF = 0; }; } } }//package xDd
Section 39
//HtY (yRO.HtY) package yRO { import fRp.*; import xDd.*; import zsg.*; import wQC.*; import zfn.*; import jMR.*; public class HtY { public static var pgR:Boolean = false; public static function rVy():void{ if (!HtY.pgR){ HtY.pgR = true; YUA.xud.stage.frameRate = 0; } else { HtY.pgR = false; YUA.xud.stage.frameRate = YUA.owi; }; } public static function jea():void{ if (((!((YUA.oTr == null))) && (!((YUA.gki == null))))){ YUA.oTr.zBV(); YUA.gki.eZw(); }; ZLF.tZY(); Hur.fsh(); UCE.ufL(); IwG.kYh(); HBt.vqi(); RUX.cad(); YUA.qpS.rKy(); DIp.uvD(); } public static function hXw(_arg1:int):void{ HtY.jea(); HtY.nVD(_arg1); } public static function nVD(_arg1:int):void{ if (HtY.pgR){ HtY.rVy(); }; DIp.zir(); new Rqi(); YUA.qpS.sAn(_arg1); HBt.fKT(); new ZOZ(); new Min(); } } }//package yRO
Section 40
//IwG (yRO.IwG) package yRO { import fRp.*; import jMR.*; public class IwG { public static var gIE:int = 0; public static var nWL:int = 0; public static var cLY:int = 10; public static var ops:int = 30; public static var geu:int = 0; public static var vkN:int = 0; public static var gRG:int = 30; public static function cDx(_arg1:int):void{ IwG.gRG = (IwG.gRG + _arg1); if (_arg1 > 0){ IwG.ops = (IwG.ops + _arg1); } else { IwG.nWL = (IwG.nWL - _arg1); }; TKh(YES.eIw["credits"]).pfJ(String(IwG.gRG)); YES.hkP.kJR(); } public static function ohg():void{ var _local1:NJS; IwG.cLY--; if (IwG.cLY == 0){ YUA.oTr.zBV(); YUA.gki.eZw(); _local1 = YUA.qpS.pXK(); _local1.jWR(); new KiG(); }; } public static function kYh():void{ IwG.cLY = 10; IwG.gIE = 0; IwG.gRG = 30; IwG.ops = 30; IwG.nWL = 0; IwG.vkN = 0; IwG.geu = 0; TKh(YES.eIw["wave"]).pfJ(String(IwG.gIE)); TKh(YES.eIw["credits"]).pfJ(String(IwG.gRG)); TKh(YES.eIw["score"]).pfJ(String(IwG.vkN)); TKh(YES.eIw["kills"]).pfJ(String(IwG.geu)); } public static function fof():void{ IwG.geu++; TKh(YES.eIw["kills"]).pfJ(String(IwG.geu)); } public static function pqG():void{ IwG.gIE++; TKh(YES.eIw["wave"]).pfJ(String(IwG.gIE)); } public static function aWn(_arg1:int):void{ IwG.vkN = (IwG.vkN + _arg1); TKh(YES.eIw["score"]).pfJ(String(IwG.vkN)); } } }//package yRO
Section 41
//YUA (yRO.YUA) package yRO { import fRp.*; import xDd.*; import flash.display.*; import zsg.*; public class YUA { public static var ddz:String; public static var xeQ:String = "1.02"; public static var gki:Min = null; public static var xud:Sprite = null; public static var oTr:ZOZ = null; public static var ayy:int = 32; public static var qpS:Rqi = null; public static var fNv:IZe = null; public static var qZy:int = 0x0200; public static var jao:int = 870; public static var dzW:int = 616; public static var oqi:int = 0; public static var xpT:int = 704; public static var owi:int = 36; public static var znY:String; public static var oLC:Array = [[1, 0.6, 0.6], [1, 0.5, 1], [1.1, 1.25, 0.5]]; public static var mUw:String; public static var tRU:String; public static var tDI:Sprite = null; public static var ftH:String; public static var qyf:int = Math.ceil((YUA.ayy * Math.SQRT2)); public static var iFM:Boolean = true; public static function eNL():void{ YUA.mUw = RUX.atI(0); YUA.tRU = RUX.atI(1); YUA.ftH = (YUA.mUw + RUX.atI(2)); YUA.ddz = (YUA.mUw + RUX.atI(3)); YUA.znY = (YUA.mUw + RUX.atI(4)); } } }//package yRO
Section 42
//DeR (zfn.DeR) package zfn { import flash.display.*; import yRO.*; import htt.*; public class DeR { private var tJY:uint;// = 0 public var cBg:Bitmap; private var fIN:Sprite; private var pSQ:int;// = 0 public var aVJ:int; private var nUV:Sprite; public var vmo:int; public var bZT:Sdw; public var lZM:int; public var hDp:Number; public var fTV:int; public var tSi:uint; public var zuE:int; public var bUI:Number; private var oBI:Shape; public var gpH:int; public function DeR(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int){ tJY = 0; pSQ = 0; super(); this.bZT = Srs.sxy(_arg1); this.lZM = _arg4; this.vmo = _arg5; this.aVJ = _arg6; this.cBg = new Bitmap(this.bZT.dRF); this.fIN = YUA.tDI; this.zuE = _arg2; this.gpH = _arg3; this.cBg.x = this.zuE; this.cBg.y = this.gpH; if ((((this.bZT.pEO == "conv")) && ((this.bZT.jiC == "missile")))){ this.oBI = new QTa(); } else { if (this.bZT.pEO == "conv"){ this.oBI = new Ybj(); } else { if (this.bZT.pEO == "bio"){ this.oBI = new Vbd(); }; }; }; if (this.bZT.pEO != "em"){ this.nUV = new Sprite(); this.nUV.mouseChildren = false; this.nUV.mouseEnabled = false; this.nUV.x = (this.zuE + (YUA.ayy / 2)); this.nUV.y = (this.gpH + (YUA.ayy / 2)); this.nUV.addChild(this.oBI); this.oBI.x = (-(YUA.ayy) / 2); this.oBI.y = (-(YUA.ayy) / 2); }; this.tSi = Hur.ecU(this); this.kYp(); this.fIN.addChild(this.cBg); if (this.nUV != null){ this.fIN.addChild(this.nUV); }; } public function lbx():void{ if (this.pSQ == 0){ return; }; this.pSQ = (this.pSQ - Math.round((this.hDp * YUA.owi))); if (this.pSQ <= 0){ this.pSQ = 0; }; } public function xgc():Boolean{ if (this.pSQ == 0){ this.pSQ = 3000; return (true); }; return (false); } public function yAy(_arg1:uint):void{ if (this.tJY == _arg1){ this.tJY = 0; }; } public function tUI():void{ Hur.qyK(this.tSi); HBt.zWF(this.tSi); if (this.nUV != null){ this.fIN.removeChild(this.nUV); this.nUV.removeChild(this.oBI); this.oBI = null; this.nUV = null; }; this.fIN.removeChild(this.cBg); this.fIN = null; } private function kYp():void{ this.bUI = (this.bZT.gzZ + ((this.lZM / 100) * this.bZT.gzZ)); this.fTV = ((this.bZT.cOM * 10) + Math.round((((this.vmo / 100) * this.bZT.cOM) * 10))); this.hDp = (this.bZT.qLJ + ((this.aVJ / 100) * this.bZT.qLJ)); HBt.zWF(this.tSi); HBt.eVP(this.tSi, this.bUI, this.zuE, this.gpH); } public function sqk(_arg1:int, _arg2:int):void{ var _local3:int; var _local4:int; var _local5:int; var _local6:Number; var _local7:int; if (this.nUV == null){ return; }; _local3 = (this.zuE + (YUA.ayy / 2)); _local4 = (this.gpH + (YUA.ayy / 2)); _local6 = Math.sqrt((Math.pow(Math.abs((_local3 - _arg1)), 2) + Math.pow(Math.abs((_local4 - _arg2)), 2))); _local5 = Math.abs((_local3 - _arg1)); _local7 = Math.round(((Math.asin((_local5 / _local6)) * 180) / Math.PI)); if ((((_arg1 <= _local3)) && ((_arg2 <= _local4)))){ _local7 = (360 - _local7); } else { if (_arg1 <= _local3){ _local7 = (180 + _local7); } else { if (_arg2 <= _local4){ } else { _local7 = (180 - _local7); }; }; }; this.nUV.rotation = _local7; } public function otT(_arg1:int, _arg2:int, _arg3:int):void{ this.lZM = (this.lZM + _arg1); this.vmo = (this.vmo + _arg2); this.aVJ = (this.aVJ + _arg3); this.kYp(); } public function ggo(_arg1:uint, _arg2:int):Boolean{ if ((((this.bZT.cOM == 0)) && ((this.bZT.dnO > 0)))){ if (_arg2 <= ((100 - this.bZT.dnO) / 2)){ return (true); }; } else { if (this.tJY == _arg1){ return (true); }; if (this.tJY == 0){ this.tJY = _arg1; return (true); }; }; return (false); } } }//package zfn
Section 43
//HBt (zfn.HBt) package zfn { import yRO.*; public class HBt { public static var wKZ:Array; public static var qwp:Array; public static function vqi():void{ HBt.qwp = null; HBt.wKZ = null; } public static function zWF(_arg1:int):void{ var _local2:int; var _local3:int; var _local4:int; _local2 = (HBt.qwp.length - 1); while (_local2 >= 0) { _local3 = 0; while (_local3 < 4) { _local4 = (HBt.qwp[_local2][_local3].length - 1); while (_local4 >= 0) { if (((!((HBt.qwp[_local2][_local3][_local4] == null))) && ((HBt.qwp[_local2][_local3][_local4] == _arg1)))){ delete HBt.qwp[_local2][_local3][_local4]; break; }; _local4--; }; _local3++; }; _local2--; }; } public static function eVP(_arg1:int, _arg2:Number, _arg3:int, _arg4:int):void{ var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Array; var _local13:int; var _local14:int; _local12 = YUA.qpS.sFP(); _arg2 = (_arg2 * YUA.qyf); _local8 = (_arg3 + (YUA.ayy / 2)); _local9 = (_arg4 + (YUA.ayy / 2)); _local13 = 0; while (_local13 < (HBt.wKZ.length - 1)) { _local14 = 0; while (_local14 < 4) { if (_local12[_local13] == "L"){ _local10 = ((((HBt.wKZ[_local13][0] * YUA.ayy) + (YUA.ayy / 2)) - (_local14 * 8)) - 4); _local11 = ((HBt.wKZ[_local13][1] * YUA.ayy) + (YUA.ayy / 2)); } else { if (_local12[_local13] == "R"){ _local10 = ((((HBt.wKZ[_local13][0] * YUA.ayy) + (YUA.ayy / 2)) + (_local14 * 8)) + 4); _local11 = ((HBt.wKZ[_local13][1] * YUA.ayy) + (YUA.ayy / 2)); } else { if (_local12[_local13] == "U"){ _local10 = ((HBt.wKZ[_local13][0] * YUA.ayy) + (YUA.ayy / 2)); _local11 = ((((HBt.wKZ[_local13][1] * YUA.ayy) + (YUA.ayy / 2)) - (_local14 * 8)) - 4); } else { _local10 = ((HBt.wKZ[_local13][0] * YUA.ayy) + (YUA.ayy / 2)); _local11 = ((((HBt.wKZ[_local13][1] * YUA.ayy) + (YUA.ayy / 2)) + (_local14 * 8)) + 4); }; }; }; _local5 = Math.abs((_local8 - _local10)); _local6 = Math.abs((_local9 - _local11)); _local7 = Math.sqrt(((_local5 * _local5) + (_local6 * _local6))); if (_arg2 >= _local7){ HBt.qwp[_local13][_local14].push(_arg1); }; _local14++; }; _local13++; }; } public static function fKT():void{ var _local1:int; var _local2:int; HBt.qwp = new Array(); HBt.wKZ = YUA.qpS.yZA(); _local1 = 0; while (_local1 < HBt.wKZ.length) { HBt.qwp[_local1] = new Array(); _local2 = 0; while (_local2 < 4) { HBt.qwp[_local1][_local2] = new Array(); _local2++; }; _local1++; }; } } }//package zfn
Section 44
//Hur (zfn.Hur) package zfn { public class Hur { public static var vjE:Array = new Array(); public static var fmR:uint = 0; public static function tjO(_arg1:uint):DeR{ var _local2:int; _local2 = (Hur.vjE.length - 1); while (_local2 >= 0) { if (((!((Hur.vjE[_local2] == null))) && ((DeR(Hur.vjE[_local2]).tSi == _arg1)))){ return (Hur.vjE[_local2]); }; _local2--; }; return (null); } public static function qyK(_arg1:uint):void{ var _local2:int; _local2 = (Hur.vjE.length - 1); while (_local2 >= 0) { if (((!((Hur.vjE[_local2] == null))) && ((DeR(Hur.vjE[_local2]).tSi == _arg1)))){ delete Hur.vjE[_local2]; break; }; _local2--; }; } public static function ecU(_arg1:DeR):uint{ Hur.vjE.push(_arg1); Hur.fmR++; return (Hur.fmR); } public static function fsh():void{ var _local1:int; _local1 = (Hur.vjE.length - 1); while (_local1 >= 0) { if (Hur.vjE[_local1] != null){ DeR(Hur.vjE[_local1]).tUI(); }; _local1--; }; Hur.vjE = new Array(); Hur.fmR = 0; } } }//package zfn
Section 45
//JIZ (zfn.JIZ) package zfn { import flash.display.*; import yRO.*; import htt.*; public class JIZ extends NBD { private var current_speed:int;// = 1 private var onscreen:Boolean;// = false private var speed:int; private var y_offset:Number;// = 0 private var base_speed:int;// = 8 private var missile:Shape; private var x_offset:Number;// = 0 private var hit_radius:int;// = 4 public function JIZ(_arg1:int){ x_offset = 0; y_offset = 0; hit_radius = 4; base_speed = 8; current_speed = 1; onscreen = false; super(_arg1); if (this.weapon != null){ this.speed = Sdw(this.weapon.bZT).cDM; this.missile = new RfS(); this.missile.x = this.x; this.missile.y = this.y; }; } override public function hit(_arg1:int, _arg2:int):Boolean{ var _local3:int; var _local4:int; var _local5:Number; var _local6:Number; var _local7:int; var _local8:int; var _local9:Number; if (!this.onscreen){ YUA.tDI.addChild(this.missile); onscreen = true; }; _local3 = (_arg1 - this.x); _local4 = (_arg2 - this.y); if (_local3 == 0){ _local5 = 0; if (_local4 > 0){ _local6 = 1; } else { _local6 = -1; }; } else { if (_local3 > 0){ _local5 = 1; _local6 = (_local4 / _local3); } else { _local5 = -1; _local6 = (_local4 / -(_local3)); }; }; _local9 = (Math.abs(_local5) + Math.abs(_local6)); if (_local9 > this.current_speed){ _local9 = ((_local9 - this.current_speed) / _local9); _local5 = (_local5 - (_local5 * _local9)); _local6 = (_local6 - (_local6 * _local9)); } else { _local9 = ((this.current_speed - _local9) / _local9); _local5 = (_local5 + (_local5 * _local9)); _local6 = (_local6 + (_local6 * _local9)); }; if (this.current_speed < this.base_speed){ this.current_speed++; } else { _local5 = (_local5 * this.speed); _local6 = (_local6 * this.speed); }; _local5 = (_local5 + this.x_offset); _local6 = (_local6 + this.y_offset); _local7 = Math.round(_local5); _local8 = Math.round(_local6); this.x_offset = (_local5 - _local7); this.y_offset = (_local6 - _local8); if ((((((this.x < _arg1)) && (((this.x + _local7) > _arg1)))) || ((((this.x > _arg1)) && (((this.x + _local7) < _arg1)))))){ this.x = _arg1; } else { this.x = (this.x + _local7); }; if ((((((this.y < _arg2)) && (((this.y + _local8) > _arg2)))) || ((((this.y > _arg2)) && (((this.y + _local8) < _arg2)))))){ this.y = _arg2; } else { this.y = (this.y + _local8); }; this.rotateMissile(this.missile.x, this.missile.y, this.x, this.y); this.missile.x = this.x; this.missile.y = this.y; if ((((((((this.x > (_arg1 - this.hit_radius))) && ((this.x < (_arg1 + this.hit_radius))))) && ((this.y > (_arg2 - this.hit_radius))))) && ((this.y < (_arg2 + this.hit_radius))))){ return (true); }; return (false); } private function rotateMissile(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void{ var _local5:int; var _local6:Number; var _local7:int; _local6 = Math.sqrt((Math.pow(Math.abs((_arg1 - _arg3)), 2) + Math.pow(Math.abs((_arg2 - _arg4)), 2))); _local5 = Math.abs((_arg1 - _arg3)); _local7 = Math.round(((Math.asin((_local5 / _local6)) * 180) / Math.PI)); if ((((_arg3 <= _arg1)) && ((_arg4 <= _arg2)))){ _local7 = (360 - _local7); } else { if (_arg3 <= _arg1){ _local7 = (180 + _local7); } else { if (_arg4 <= _arg2){ } else { _local7 = (180 - _local7); }; }; }; this.missile.rotation = _local7; } override public function destroy():void{ try { super.destroy(); if (this.onscreen){ YUA.tDI.removeChild(this.missile); }; } catch(e:Error) { }; } } }//package zfn
Section 46
//NBD (zfn.NBD) package zfn { import yRO.*; public class NBD { public var damageType:int; public var damage:int; public var tractor:int; protected var x:int; protected var y:int; public var weapon:DeR; public function NBD(_arg1:int){ this.weapon = Hur.tjO(_arg1); if (this.weapon != null){ this.damage = this.weapon.fTV; this.damageType = Sdw(this.weapon.bZT).lvh; this.tractor = Sdw(this.weapon.bZT).dnO; this.x = (this.weapon.zuE + (YUA.ayy / 2)); this.y = (this.weapon.gpH + (YUA.ayy / 2)); }; } public function destroy():void{ this.weapon = null; } public function hit(_arg1:int, _arg2:int):Boolean{ return (false); } } }//package zfn
Section 47
//Sdw (zfn.Sdw) package zfn { import flash.display.*; public class Sdw { public var dnO:int; public var cOM:int; public var nuq:int; public var gzZ:int; public var zBY:int; public var dRF:BitmapData; public var pEO:String; public var nww:BitmapData; public var lvh:int; public var lks:String; public var jiC:String; public var pyN:int; public var sMd:String; public var iWs:String; public var qLJ:int; public var cDM:int; public function Sdw(_arg1:int, _arg2:String, _arg3:String, _arg4:int, _arg5:int, _arg6:int, _arg7:String, _arg8:int, _arg9:int, _arg10:String, _arg11:String, _arg12:int, _arg13:int){ this.pyN = _arg1; this.sMd = _arg2; this.lks = _arg3; this.qLJ = _arg4; this.cOM = _arg5; this.gzZ = _arg6; this.pEO = _arg7; if (this.pEO == "conv"){ this.lvh = 0; } else { if (this.pEO == "bio"){ this.lvh = 1; } else { this.lvh = 2; }; }; this.zBY = _arg8; this.nuq = _arg9; this.jiC = _arg10; this.iWs = _arg11; this.cDM = _arg12; this.dnO = _arg13; } public function cOH(_arg1:BitmapData):void{ this.dRF = _arg1; } public function tYt(_arg1:BitmapData):void{ this.nww = _arg1; } } }//package zfn
Section 48
//Srs (zfn.Srs) package zfn { import flash.display.*; public class Srs { public static var hQq:Array = new Array(); public static var jtC:Array = new Array(); public static var iAT:Object = new Object(); public static function sxy(_arg1:int):Sdw{ var _local2:int; _local2 = Srs.iAT[_arg1]; return (Srs.hQq[_local2]); } public static function xbJ():void{ var _local1:int; var _local2:String; var _local3:String; var _local4:int; var _local5:int; var _local6:int; var _local7:String; var _local8:int; var _local9:int; var _local10:String; var _local11:String; var _local12:int; var _local13:int; var _local14:int; _local1 = 1; _local2 = "1 MW Gatling"; _local3 = "conv_1.png"; _local4 = 2; _local5 = 1; _local6 = 1; _local7 = "conv"; _local8 = 10; _local9 = 2; _local10 = "bullet"; _local11 = "gatling.png"; _local12 = 1; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); Srs.jtC.push(_local1); _local1 = 2; _local2 = "4 MW Gatling"; _local3 = "conv_2.png"; _local4 = 2; _local5 = 4; _local6 = 1; _local7 = "conv"; _local8 = 25; _local9 = 3; _local10 = "bullet"; _local11 = "gatling.png"; _local12 = 1; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 3; _local2 = "10 MW Gatling"; _local3 = "conv_3.png"; _local4 = 3; _local5 = 10; _local6 = 1; _local7 = "conv"; _local8 = 75; _local9 = 4; _local10 = "bullet"; _local11 = "gatling.png"; _local12 = 2; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 4; _local2 = "20 MW Gatling"; _local3 = "conv_4.png"; _local4 = 3; _local5 = 20; _local6 = 2; _local7 = "conv"; _local8 = 200; _local9 = 5; _local10 = "bullet"; _local11 = "gatling.png"; _local12 = 3; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 5; _local2 = "32 MW Gatling"; _local3 = "conv_5.png"; _local4 = 4; _local5 = 32; _local6 = 2; _local7 = "conv"; _local8 = 600; _local9 = 6; _local10 = "bullet"; _local11 = "gatling.png"; _local12 = 3; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 6; _local2 = "48 MW Gatling"; _local3 = "conv_6.png"; _local4 = 4; _local5 = 48; _local6 = 2; _local7 = "conv"; _local8 = 1000; _local9 = 7; _local10 = "bullet"; _local11 = "gatling.png"; _local12 = 3; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 7; _local2 = "64 MW Gatling"; _local3 = "conv_7.png"; _local4 = 5; _local5 = 64; _local6 = 3; _local7 = "conv"; _local8 = 1600; _local9 = 8; _local10 = "bullet"; _local11 = "gatling.png"; _local12 = 4; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 8; _local2 = "100 MW Gatling"; _local3 = "conv_8.png"; _local4 = 5; _local5 = 100; _local6 = 3; _local7 = "conv"; _local8 = 2000; _local9 = 9; _local10 = "bullet"; _local11 = "gatling.png"; _local12 = 4; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 9; _local2 = "140 MW Gatling"; _local3 = "conv_9.png"; _local4 = 5; _local5 = 140; _local6 = 3; _local7 = "conv"; _local8 = 2800; _local9 = 10; _local10 = "bullet"; _local11 = "gatling.png"; _local12 = 4; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 10; _local2 = "180 MW Gatling"; _local3 = "conv_10.png"; _local4 = 6; _local5 = 180; _local6 = 3; _local7 = "conv"; _local8 = 3600; _local9 = 0; _local10 = "bullet"; _local11 = "gatling.png"; _local12 = 5; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 11; _local2 = "Missile Turret"; _local3 = "miss_1.png"; _local4 = 1; _local5 = 4; _local6 = 2; _local7 = "conv"; _local8 = 15; _local9 = 12; _local10 = "missile"; _local11 = ""; _local12 = 2; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); Srs.jtC.push(_local1); _local1 = 12; _local2 = "Sidewinder Missiles"; _local3 = "miss_2.png"; _local4 = 1; _local5 = 10; _local6 = 2; _local7 = "conv"; _local8 = 55; _local9 = 13; _local10 = "missile"; _local11 = ""; _local12 = 2; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 13; _local2 = "Homing Missiles"; _local3 = "miss_3.png"; _local4 = 1; _local5 = 18; _local6 = 3; _local7 = "conv"; _local8 = 175; _local9 = 14; _local10 = "missile"; _local11 = ""; _local12 = 2; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 14; _local2 = "Intelligent Missiles"; _local3 = "miss_4.png"; _local4 = 2; _local5 = 34; _local6 = 3; _local7 = "conv"; _local8 = 450; _local9 = 15; _local10 = "missile"; _local11 = ""; _local12 = 2; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 15; _local2 = "Fleet Missiles"; _local3 = "miss_5.png"; _local4 = 2; _local5 = 68; _local6 = 3; _local7 = "conv"; _local8 = 1050; _local9 = 16; _local10 = "missile"; _local11 = ""; _local12 = 2; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 16; _local2 = "Smartwinder Missiles"; _local3 = "miss_6.png"; _local4 = 2; _local5 = 94; _local6 = 3; _local7 = "conv"; _local8 = 1500; _local9 = 17; _local10 = "missile"; _local11 = ""; _local12 = 2; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 17; _local2 = "Havar Missiles"; _local3 = "miss_7.png"; _local4 = 2; _local5 = 132; _local6 = 4; _local7 = "conv"; _local8 = 2425; _local9 = 18; _local10 = "missile"; _local11 = ""; _local12 = 3; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 18; _local2 = "Elite MK Missiles"; _local3 = "miss_8.png"; _local4 = 2; _local5 = 164; _local6 = 4; _local7 = "conv"; _local8 = 2900; _local9 = 19; _local10 = "missile"; _local11 = ""; _local12 = 3; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 19; _local2 = "Relon Missiles"; _local3 = "miss_9.png"; _local4 = 3; _local5 = 200; _local6 = 4; _local7 = "conv"; _local8 = 3700; _local9 = 20; _local10 = "missile"; _local11 = ""; _local12 = 3; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 20; _local2 = "King Kraak Missiles"; _local3 = "miss_10.png"; _local4 = 3; _local5 = 0xFF; _local6 = 5; _local7 = "conv"; _local8 = 4300; _local9 = 0; _local10 = "missile"; _local11 = ""; _local12 = 3; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 21; _local2 = "Acid Vaporizer"; _local3 = "bio_1.png"; _local4 = 2; _local5 = 2; _local6 = 1; _local7 = "bio"; _local8 = 15; _local9 = 22; _local10 = "bullet"; _local11 = "bio.png"; _local12 = 1; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); Srs.jtC.push(_local1); _local1 = 22; _local2 = "Bacterial Spray"; _local3 = "bio_2.png"; _local4 = 2; _local5 = 7; _local6 = 2; _local7 = "bio"; _local8 = 55; _local9 = 23; _local10 = "bullet"; _local11 = "bio.png"; _local12 = 2; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 23; _local2 = "Exoplasm Launcher"; _local3 = "bio_3.png"; _local4 = 2; _local5 = 12; _local6 = 2; _local7 = "bio"; _local8 = 175; _local9 = 24; _local10 = "bullet"; _local11 = "bio.png"; _local12 = 2; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 24; _local2 = "Microbe Shot"; _local3 = "bio_4.png"; _local4 = 3; _local5 = 24; _local6 = 2; _local7 = "bio"; _local8 = 360; _local9 = 25; _local10 = "bullet"; _local11 = "bio.png"; _local12 = 3; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 25; _local2 = "Mutagen Particles"; _local3 = "bio_5.png"; _local4 = 3; _local5 = 42; _local6 = 3; _local7 = "bio"; _local8 = 950; _local9 = 26; _local10 = "bullet"; _local11 = "bio.png"; _local12 = 4; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 26; _local2 = "Endoplasm Launcher"; _local3 = "bio_6.png"; _local4 = 3; _local5 = 65; _local6 = 3; _local7 = "bio"; _local8 = 1350; _local9 = 27; _local10 = "bullet"; _local11 = "bio.png"; _local12 = 4; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 27; _local2 = "Bio-Spore Array"; _local3 = "bio_7.png"; _local4 = 3; _local5 = 88; _local6 = 3; _local7 = "bio"; _local8 = 2175; _local9 = 28; _local10 = "bullet"; _local11 = "bio.png"; _local12 = 4; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 28; _local2 = "Viral Glands"; _local3 = "bio_8.png"; _local4 = 4; _local5 = 115; _local6 = 3; _local7 = "bio"; _local8 = 3000; _local9 = 29; _local10 = "bullet"; _local11 = "bio.png"; _local12 = 4; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 29; _local2 = "Mykoplasmic Shot"; _local3 = "bio_9.png"; _local4 = 4; _local5 = 148; _local6 = 4; _local7 = "bio"; _local8 = 3500; _local9 = 30; _local10 = "bullet"; _local11 = "bio.png"; _local12 = 5; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 30; _local2 = "Plague Bomb"; _local3 = "bio_10.png"; _local4 = 4; _local5 = 180; _local6 = 4; _local7 = "bio"; _local8 = 4100; _local9 = 0; _local10 = "bullet"; _local11 = "bio.png"; _local12 = 5; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 31; _local2 = "Magnetic Defractor"; _local3 = "em_1.png"; _local4 = 2; _local5 = 2; _local6 = 1; _local7 = "em"; _local8 = 20; _local9 = 32; _local10 = "lightning"; _local11 = ""; _local12 = 0; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); Srs.jtC.push(_local1); _local1 = 32; _local2 = "Acoustic Beam"; _local3 = "em_2.png"; _local4 = 2; _local5 = 7; _local6 = 2; _local7 = "em"; _local8 = 60; _local9 = 33; _local10 = "lightning"; _local11 = ""; _local12 = 0; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 33; _local2 = "Microwave Cannon"; _local3 = "em_3.png"; _local4 = 2; _local5 = 12; _local6 = 2; _local7 = "em"; _local8 = 200; _local9 = 34; _local10 = "lightning"; _local11 = ""; _local12 = 0; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 34; _local2 = "Particle Beam"; _local3 = "em_4.png"; _local4 = 3; _local5 = 24; _local6 = 2; _local7 = "em"; _local8 = 525; _local9 = 35; _local10 = "lightning"; _local11 = ""; _local12 = 0; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 35; _local2 = "Positron Ray"; _local3 = "em_5.png"; _local4 = 3; _local5 = 42; _local6 = 3; _local7 = "em"; _local8 = 1200; _local9 = 36; _local10 = "lightning"; _local11 = ""; _local12 = 0; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 36; _local2 = "Thermal Vortex"; _local3 = "em_6.png"; _local4 = 3; _local5 = 65; _local6 = 3; _local7 = "em"; _local8 = 1800; _local9 = 37; _local10 = "lightning"; _local11 = ""; _local12 = 0; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 37; _local2 = "Particle Accelerator"; _local3 = "em_7.png"; _local4 = 3; _local5 = 88; _local6 = 3; _local7 = "em"; _local8 = 2600; _local9 = 38; _local10 = "lightning"; _local11 = ""; _local12 = 0; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 38; _local2 = "Pulse Cannon"; _local3 = "em_8.png"; _local4 = 4; _local5 = 115; _local6 = 3; _local7 = "em"; _local8 = 3600; _local9 = 39; _local10 = "lightning"; _local11 = ""; _local12 = 0; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 39; _local2 = "Anti-Neutrino Ray"; _local3 = "em_9.png"; _local4 = 4; _local5 = 148; _local6 = 4; _local7 = "em"; _local8 = 4200; _local9 = 40; _local10 = "lightning"; _local11 = ""; _local12 = 0; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 40; _local2 = "Photon Bomb"; _local3 = "em_10.png"; _local4 = 4; _local5 = 180; _local6 = 4; _local7 = "em"; _local8 = 4700; _local9 = 0; _local10 = "lightning"; _local11 = ""; _local12 = 0; _local13 = 0; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); _local1 = 41; _local2 = "Tractor Beam"; _local3 = "tractor.png"; _local4 = 6; _local5 = 0; _local6 = 2; _local7 = "em"; _local8 = 1200; _local9 = 0; _local10 = "tractor"; _local11 = ""; _local12 = 0; _local13 = 50; Srs.hQq.push(new Sdw(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13)); Srs.jtC.push(_local1); _local14 = 0; while (_local14 < Srs.hQq.length) { Srs.iAT[Sdw(Srs.hQq[_local14]).pyN] = _local14; _local14++; }; } public static function vIM(_arg1:String, _arg2:BitmapData):void{ var _local3:int; _local3 = (Srs.hQq.length - 1); while (_local3 >= 0) { if (Sdw(Srs.hQq[_local3]).lks == _arg1){ Sdw(Srs.hQq[_local3]).cOH(_arg2); }; _local3--; }; } public static function rPn(_arg1:String, _arg2:BitmapData):void{ var _local3:int; _local3 = (Srs.hQq.length - 1); while (_local3 >= 0) { if (Sdw(Srs.hQq[_local3]).iWs == _arg1){ Sdw(Srs.hQq[_local3]).tYt(_arg2); }; _local3--; }; } } }//package zfn
Section 49
//VAq (zfn.VAq) package zfn { import flash.events.*; import flash.display.*; import yRO.*; public class VAq extends NBD { private var energy:Shape; private var fadingSpeed:Number; private var energyType:String; public function VAq(_arg1:int, _arg2:String){ super(_arg1); this.energyType = _arg2; this.energy = new Shape(); this.energy.x = this.x; this.energy.y = this.y; if (this.energyType == "lightning"){ this.fadingSpeed = 0.1; } else { this.energy.alpha = 0.5; this.fadingSpeed = 0.05; }; YUA.tDI.addChild(this.energy); } private function tractorBeam(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void{ this.energy.graphics.lineStyle(6, 6672493); this.energy.graphics.moveTo(_arg1, _arg2); this.energy.graphics.lineTo(_arg3, _arg4); this.energy.graphics.lineStyle(0, 10809530); this.energy.graphics.moveTo(_arg1, _arg2); this.energy.graphics.lineTo(_arg3, _arg4); this.energy.graphics.lineStyle(0, 2651712); this.energy.graphics.moveTo((_arg1 - 1), (_arg2 - 1)); this.energy.graphics.lineTo((_arg3 - 1), (_arg4 - 1)); this.energy.graphics.lineStyle(0, 10809530); this.energy.graphics.moveTo((_arg1 - 1), (_arg2 - 1)); this.energy.graphics.lineTo((_arg3 - 2), (_arg4 - 2)); this.energy.graphics.lineStyle(0, 2651712); this.energy.graphics.moveTo((_arg1 - 1), (_arg2 - 1)); this.energy.graphics.lineTo((_arg3 - 3), (_arg4 - 3)); this.energy.graphics.lineStyle(0, 2651712); this.energy.graphics.moveTo((_arg1 + 1), (_arg2 + 1)); this.energy.graphics.lineTo((_arg3 + 1), (_arg4 + 1)); this.energy.graphics.lineStyle(0, 10809530); this.energy.graphics.moveTo((_arg1 + 1), (_arg2 + 1)); this.energy.graphics.lineTo((_arg3 + 2), (_arg4 + 2)); this.energy.graphics.lineStyle(0, 2651712); this.energy.graphics.moveTo((_arg1 + 1), (_arg2 + 1)); this.energy.graphics.lineTo((_arg3 + 3), (_arg4 + 3)); } private function fadeOut(_arg1:Event):void{ var event = _arg1; try { this.energy.alpha = (this.energy.alpha - this.fadingSpeed); if (this.energy.alpha <= 0.01){ this.destroyFinal(); }; } catch(e:Error) { this.destroyFinal(); }; } override public function hit(_arg1:int, _arg2:int):Boolean{ var _local3:int; var _local4:int; var _local5:int; var _local6:int; var _local7:int; var _local8:int; var _local9:int; var _local10:int; var _local11:int; var _local12:int; _arg1 = (_arg1 - this.x); _arg2 = (_arg2 - this.y); if (this.energyType == "tractor"){ this.tractorBeam(0, 0, _arg1, _arg2); return (true); }; _local3 = Math.round((Math.random() * 8)); if (_local3 < 4){ _local3 = 4; }; if ((Math.abs(_arg1) + Math.abs(_arg2)) > 64){ _local3 = (_local3 * 2); }; _local4 = Math.round((_arg1 / _local3)); _local5 = Math.round((_arg2 / _local3)); _local6 = 0; _local7 = 0; _local8 = 0; _local9 = 0; _local10 = 0; _local11 = 0; _local12 = 0; while (_local12 < _local3) { if (_local12 == (_local3 - 1)){ this.energyPart(_local8, _local9, _arg1, _arg2); break; }; if (_local6 > 0){ _local6 = ((Math.random() * 8) * -1); } else { _local6 = (Math.random() * 8); }; if (_local7 > 0){ _local7 = ((Math.random() * 8) * -1); } else { _local7 = (Math.random() * 8); }; _local10 = (_local10 + (_local4 + _local6)); _local11 = (_local11 + (_local5 + _local7)); this.energyPart(_local8, _local9, _local10, _local11); _local8 = _local10; _local9 = _local11; _local12++; }; return (true); } private function energyPart(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void{ this.energy.graphics.lineStyle(3, 5942501); this.energy.graphics.moveTo(_arg1, _arg2); this.energy.graphics.lineTo(_arg3, _arg4); this.energy.graphics.lineStyle(0, 1934282); this.energy.graphics.moveTo((_arg1 - 1), (_arg2 - 1)); this.energy.graphics.lineTo((_arg3 - 1), (_arg4 - 1)); this.energy.graphics.lineStyle(0, 1934282); this.energy.graphics.moveTo((_arg1 + 1), (_arg2 + 1)); this.energy.graphics.lineTo((_arg3 + 1), (_arg4 + 1)); } private function destroyFinal():void{ try { this.energy.removeEventListener(Event.ENTER_FRAME, this.fadeOut); YUA.tDI.removeChild(this.energy); } catch(e:Error) { }; } override public function destroy():void{ try { super.destroy(); this.energy.addEventListener(Event.ENTER_FRAME, this.fadeOut); } catch(e:Error) { }; } } }//package zfn
Section 50
//Vnz (zfn.Vnz) package zfn { import flash.display.*; import yRO.*; public class Vnz extends NBD { private var img:Bitmap; private var speed:int; private var y_offset:Number;// = 0 private var base_speed:int;// = 8 private var x_offset:Number;// = 0 private var hit_radius:int;// = 4 public function Vnz(_arg1:int){ x_offset = 0; y_offset = 0; hit_radius = 4; base_speed = 8; super(_arg1); if (this.weapon != null){ this.speed = Sdw(this.weapon.bZT).cDM; this.img = new Bitmap(Sdw(this.weapon.bZT).nww); this.x = (this.x - (this.img.width / 2)); this.y = (this.y - (this.img.height / 2)); this.img.x = this.x; this.img.y = this.y; YUA.tDI.addChild(this.img); }; } override public function hit(_arg1:int, _arg2:int):Boolean{ var _local3:int; var _local4:int; var _local5:Number; var _local6:Number; var _local7:int; var _local8:int; var _local9:Number; _local3 = (_arg1 - this.x); _local4 = (_arg2 - this.y); if (_local3 == 0){ _local5 = 0; if (_local4 > 0){ _local6 = 1; } else { _local6 = -1; }; } else { if (_local3 > 0){ _local5 = 1; _local6 = (_local4 / _local3); } else { _local5 = -1; _local6 = (_local4 / -(_local3)); }; }; _local9 = (Math.abs(_local5) + Math.abs(_local6)); if (_local9 > this.base_speed){ _local9 = ((_local9 - this.base_speed) / _local9); _local5 = (_local5 - (_local5 * _local9)); _local6 = (_local6 - (_local6 * _local9)); } else { _local9 = ((this.base_speed - _local9) / _local9); _local5 = (_local5 + (_local5 * _local9)); _local6 = (_local6 + (_local6 * _local9)); }; _local5 = (_local5 * this.speed); _local6 = (_local6 * this.speed); _local5 = (_local5 + this.x_offset); _local6 = (_local6 + this.y_offset); _local7 = Math.round(_local5); _local8 = Math.round(_local6); this.x_offset = (_local5 - _local7); this.y_offset = (_local6 - _local8); if ((((((this.x < _arg1)) && (((this.x + _local7) > _arg1)))) || ((((this.x > _arg1)) && (((this.x + _local7) < _arg1)))))){ this.x = _arg1; } else { this.x = (this.x + _local7); }; if ((((((this.y < _arg2)) && (((this.y + _local8) > _arg2)))) || ((((this.y > _arg2)) && (((this.y + _local8) < _arg2)))))){ this.y = _arg2; } else { this.y = (this.y + _local8); }; this.img.x = this.x; this.img.y = this.y; if ((((((((this.x > (_arg1 - this.hit_radius))) && ((this.x < (_arg1 + this.hit_radius))))) && ((this.y > (_arg2 - this.hit_radius))))) && ((this.y < (_arg2 + this.hit_radius))))){ return (true); }; return (false); } override public function destroy():void{ try { super.destroy(); YUA.tDI.removeChild(this.img); } catch(e:Error) { }; } } }//package zfn
Section 51
//CJX (zsg.CJX) package zsg { import flash.display.*; public class CJX { public var kVn:Boolean; public var pKE:BitmapData; public var jjK:String; public var fOS:int; public var por:Number; public var dUk:int;// = 10 public var dzj:String; public var axA:String; public var jOv:int; public var kFN:int; public var evE:Boolean; public var gwg:int; public var mWB:int; public function CJX(_arg1:int, _arg2:String, _arg3:String, _arg4:int, _arg5:Boolean, _arg6:String, _arg7:int, _arg8:int){ dUk = 10; super(); this.fOS = _arg1; this.jjK = _arg2; this.dzj = _arg3; this.por = 1; this.gwg = _arg4; this.evE = _arg5; this.axA = _arg6; if (this.axA == "conv"){ this.jOv = 0; } else { if (this.axA == "bio"){ this.jOv = 1; } else { this.jOv = 2; }; }; this.kFN = _arg7; this.mWB = _arg8; } public function gZA(_arg1:BitmapData):void{ this.pKE = _arg1; } public function kzZ():void{ this.dUk = 1; } public function sqH():void{ this.kVn = true; this.por = 2; } public function sYB():Boolean{ if (this.dUk == 1){ return (true); }; return (false); } } }//package zsg
Section 52
//RUX (zsg.RUX) package zsg { import flash.display.*; public class RUX { public static var nSh:Object = new Object(); public static var jSn:Array; public static var uwI:Array; public static var kvs:Array; public static var ipO:Array; public static var gNu:Array; public static var hdr:Array; public static var mCs:Array = new Array(); public static var ypv:Array = new Array(); public static function cad():void{ var _local1:int; var _local2:CJX; var _local3:Array; _local1 = 0; while (_local1 < RUX.mCs.length) { _local2 = RUX.mCs[_local1]; _local3 = RUX.ypv[_local1]; _local2.por = _local3[0]; _local2.gwg = _local3[1]; _local2.kFN = _local3[2]; _local2.mWB = _local3[3]; _local1++; }; } public static function lRP(_arg1:String, _arg2:BitmapData):void{ var _local3:int; _local3 = (RUX.mCs.length - 1); while (_local3 >= 0) { if (CJX(RUX.mCs[_local3]).dzj == _arg1){ CJX(RUX.mCs[_local3]).gZA(_arg2); }; _local3--; }; } public static function lio(_arg1:int):CJX{ var _local2:int; _local2 = RUX.nSh[_arg1]; return (RUX.mCs[_local2]); } public static function atI(_arg1:int):String{ var _local2:String; var _local3:Array; var _local4:Array; var _local5:Array; var _local6:Array; var _local7:Array; var _local8:Array; var _local9:String; var _local10:String; var _local11:String; var _local12:String; var _local13:String; var _local14:String; var _local15:String; var _local16:String; var _local17:String; var _local18:String; var _local19:String; var _local20:String; var _local21:String; var _local22:String; var _local23:String; var _local24:String; var _local25:String; var _local26:String; var _local27:String; var _local28:String; var _local29:String; var _local30:String; _local2 = ""; _local3 = RUX.gNu; _local4 = RUX.uwI; _local5 = RUX.jSn; _local6 = RUX.kvs; _local7 = RUX.hdr; _local8 = RUX.ipO; _local9 = ((((((_local4[5] + _local6[9]) + _local6[9]) + _local6[1]) + _local8[2]) + _local8[6]) + _local8[6]); _local10 = (((((_local6[7] + _local6[9]) + _local3[1]) + _local6[9]) + _local4[7]) + _local3[5]); _local11 = (((((((((((((((((((((_local3[1] + _local6[7]) + _local6[9]) + _local6[5]) + _local3[1]) + _local5[3]) + _local6[9]) + _local5[9]) + _local7[5]) + _local3[9]) + _local6[5]) + _local3[7]) + _local3[9]) + _local4[1]) + _local3[9]) + _local5[7]) + _local6[7]) + _local3[9]) + _local8[3]) + _local3[5]) + _local5[9]) + _local5[5]); _local12 = (((_local7[5] + _local7[5]) + _local7[5]) + _local8[3]); _local13 = (((_local8[3] + _local6[1]) + _local4[5]) + _local6[1]); _local14 = ((((((((((((_local8[6] + _local6[7]) + _local3[5]) + _local5[9]) + _local6[5]) + _local3[9]) + _local8[6]) + _local6[7]) + _local7[1]) + _local3[3]) + _local5[5]) + _local4[7]) + _local6[9]); _local15 = ((((_local5[5] + _local3[9]) + _local3[7]) + _local4[7]) + _local3[1]); _local16 = (((((_local4[7] + _local5[5]) + _local3[1]) + _local4[3]) + _local3[9]) + _local6[7]); _local17 = (((((_local6[7] + _local5[9]) + _local7[1]) + _local5[7]) + _local3[7]) + _local6[7]); _local18 = (((((_local6[1] + _local3[1]) + _local6[5]) + _local3[7]) + _local7[1]) + _local6[7]); _local19 = ((_local8[3] + _local3[1]) + _local6[9]); _local20 = ((((((_local7[5] + _local3[9]) + _local5[3]) + _local3[5]) + _local5[9]) + _local5[5]) + _local3[9]); _local21 = ((((((((_local4[7] + _local5[7]) + _local6[9]) + _local6[5]) + _local5[9]) + _local8[3]) + _local6[7]) + _local7[5]) + _local4[1]); _local22 = ((((_local3[1] + _local8[3]) + _local6[9]) + _local7[7]) + _local6[9]); _local23 = (_local7[1] + _local4[7]); _local24 = (_local3[3] + _local4[3]); _local25 = (((((((((((((((((((((((((((((((_local7[1] + _local5[8]) + _local8[1]) + _local5[6]) + _local3[6]) + _local7[2]) + _local5[2]) + _local5[7]) + _local6[0]) + _local6[5]) + _local6[3]) + _local6[4]) + _local5[9]) + _local7[9]) + "1") + _local4[5]) + "5") + _local5[2]) + _local7[8]) + _local6[4]) + _local7[0]) + _local4[8]) + _local5[1]) + _local3[4]) + "1") + _local5[4]) + _local3[9]) + _local3[5]) + "8") + _local3[9]) + _local3[1]) + _local4[5]); _local26 = (((((((_local3[3] + _local5[9]) + _local5[9]) + _local6[7]) + _local6[9]) + _local3[9]) + _local6[5]) + _local6[7]); _local27 = (((((((_local3[5] + _local6[5]) + _local4[7]) + _local6[9]) + _local6[9]) + _local3[9]) + _local6[5]) + _local6[7]); _local28 = ((((((((((_local6[1] + _local6[5]) + _local5[9]) + _local4[9]) + _local3[9]) + _local3[5]) + _local6[9]) + _local4[7]) + _local5[3]) + _local3[9]) + _local6[7]); _local29 = ((((((_local7[5] + _local3[9]) + _local3[1]) + _local6[1]) + _local5[9]) + _local5[7]) + _local6[7]); _local30 = (((((_local8[4] + _local3[3]) + _local5[3]) + _local3[1]) + _local5[7]) + _local5[1]); switch (_arg1){ case 0: _local2 = (((_local9 + _local10) + _local8[3]) + _local11); break; case 1: _local2 = ((((_local9 + _local12) + _local11) + _local14) + _local13); break; case 2: _local2 = (_local8[6] + _local3[1]); break; case 3: _local2 = (((_local8[6] + _local4[3]) + _local8[6]) + _local4[7]); break; case 4: _local2 = (((_local8[6] + _local4[3]) + _local8[6]) + _local6[7]); break; case 5: _local2 = ((_local8[3] + _local8[6]) + _local15); break; case 6: _local2 = (_local8[6] + _local16); break; case 7: _local2 = (_local8[6] + _local17); break; case 8: _local2 = ((((((_local9 + _local12) + _local18) + _local19) + _local8[6]) + _local20) + _local13); break; case 9: _local2 = (_local8[6] + _local21); break; case 10: _local2 = (_local8[6] + _local22); break; case 11: _local2 = _local18; break; case 12: _local2 = ((_local8[6] + _local23) + _local8[6]); break; case 13: _local2 = ((_local8[6] + _local24) + _local8[6]); break; case 14: _local2 = ((_local8[6] + _local29) + _local8[6]); break; case 15: _local2 = ((_local8[6] + _local26) + _local8[6]); break; case 16: _local2 = ((_local8[6] + _local28) + _local8[6]); break; case 17: _local2 = ((_local8[6] + _local27) + _local8[6]); break; case 18: _local2 = _local25; break; case 19: _local2 = _local30; break; default: break; }; return (_local2); } public static function yuN(_arg1:int, _arg2:int):void{ var _local3:CJX; var _local4:CJX; var _local5:Number; var _local6:int; var _local7:int; var _local8:int; _local3 = RUX.lio(_arg1); _local4 = RUX.mCs[(RUX.mCs.length - 2)]; if (_arg2 == 0){ _local5 = (_local3.por + 1); } else { _local5 = (_local3.por + 0.5); }; _local6 = (_local4.gwg + (_local3.gwg * 10)); _local7 = (_local4.kFN + (_local3.kFN * (_arg2 + 1))); _local8 = (_local4.mWB + _local3.mWB); _local3.por = _local5; _local3.gwg = _local6; _local3.kFN = _local7; _local3.mWB = _local8; } public static function nBb():void{ var _local1:int; var _local2:String; var _local3:String; var _local4:int; var _local5:Boolean; var _local6:String; var _local7:int; var _local8:int; var _local9:int; var _local10:CJX; _local1 = 1; _local2 = "Space Maggot"; _local3 = "space_maggot.png"; _local4 = 1; _local5 = false; _local6 = "bio"; _local7 = 1; _local8 = 1; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 2; _local2 = "Space Clam"; _local3 = "space_clam.png"; _local4 = 2; _local5 = false; _local6 = "bio"; _local7 = 2; _local8 = 2; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 3; _local2 = "Young Space Dragon"; _local3 = "space_dragon_young.png"; _local4 = 2; _local5 = true; _local6 = "em"; _local7 = 2; _local8 = 2; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 4; _local2 = "Bio Scavenger"; _local3 = "bio_scavenger.png"; _local4 = 3; _local5 = false; _local6 = "bio"; _local7 = 3; _local8 = 3; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 5; _local2 = "Inexperienced Pirate"; _local3 = "pirate_inexperienced.png"; _local4 = 4; _local5 = false; _local6 = "conv"; _local7 = 3; _local8 = 3; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 6; _local2 = "Gorefangling"; _local3 = "gorefangling.png"; _local4 = 4; _local5 = false; _local6 = "bio"; _local7 = 4; _local8 = 4; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 7; _local2 = "Space Worm"; _local3 = "space_worm.png"; _local4 = 4; _local5 = false; _local6 = "bio"; _local7 = 4; _local8 = 4; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 8; _local2 = "Tivean Sentry"; _local3 = "tivean_sentry.png"; _local4 = 5; _local5 = false; _local6 = "conv"; _local7 = 5; _local8 = 5; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).sqH(); _local1 = 9; _local2 = "Space Worm Albino"; _local3 = "space_worm_albino.png"; _local4 = 5; _local5 = false; _local6 = "bio"; _local7 = 5; _local8 = 5; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 10; _local2 = "Energy Minnow"; _local3 = "energy_minnow.png"; _local4 = 6; _local5 = true; _local6 = "em"; _local7 = 6; _local8 = 6; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 11; _local2 = "Elder Space Dragon"; _local3 = "space_dragon_elder.png"; _local4 = 6; _local5 = true; _local6 = "em"; _local7 = 6; _local8 = 6; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 12; _local2 = "Swarm of Gorefanglings"; _local3 = "gorefanglings.png"; _local4 = 7; _local5 = false; _local6 = "bio"; _local7 = 7; _local8 = 7; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 13; _local2 = "Sarracenia"; _local3 = "sarracenia.png"; _local4 = 7; _local5 = false; _local6 = "bio"; _local7 = 7; _local8 = 7; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 14; _local2 = "Verdant Manifestation"; _local3 = "manifestation_verdant.png"; _local4 = 8; _local5 = true; _local6 = "em"; _local7 = 8; _local8 = 8; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 15; _local2 = "Experienced Pirate"; _local3 = "pirate_experienced.png"; _local4 = 10; _local5 = false; _local6 = "conv"; _local7 = 8; _local8 = 8; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).sqH(); _local1 = 16; _local2 = "Ice Beast"; _local3 = "ice_beast.png"; _local4 = 9; _local5 = false; _local6 = "bio"; _local7 = 9; _local8 = 9; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 17; _local2 = "Lone Smuggler"; _local3 = "smuggler_lone.png"; _local4 = 11; _local5 = false; _local6 = "conv"; _local7 = 9; _local8 = 9; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 18; _local2 = "X993 Squad"; _local3 = "x993_squad.png"; _local4 = 12; _local5 = false; _local6 = "conv"; _local7 = 10; _local8 = 10; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).sqH(); _local1 = 19; _local2 = "Tivean Scout"; _local3 = "tivean_scout.png"; _local4 = 12; _local5 = false; _local6 = "conv"; _local7 = 10; _local8 = 10; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).sqH(); _local1 = 20; _local2 = "Space Dragon Queen"; _local3 = "space_dragon_queen.png"; _local4 = 150; _local5 = true; _local6 = "em"; _local7 = 150; _local8 = 150; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).kzZ(); _local1 = 21; _local2 = "Mutated Space Maggot"; _local3 = "space_maggot_mutated.png"; _local4 = 15; _local5 = false; _local6 = "bio"; _local7 = 12; _local8 = 15; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 22; _local2 = "Drosera"; _local3 = "drosera.png"; _local4 = 20; _local5 = false; _local6 = "bio"; _local7 = 13; _local8 = 20; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 23; _local2 = "Blood Amoeba"; _local3 = "blood_amoeba.png"; _local4 = 25; _local5 = false; _local6 = "bio"; _local7 = 14; _local8 = 25; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 24; _local2 = "Gorefang"; _local3 = "gorefang.png"; _local4 = 30; _local5 = false; _local6 = "bio"; _local7 = 15; _local8 = 30; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).sqH(); _local1 = 25; _local2 = "Exocrab"; _local3 = "exocrab.png"; _local4 = 35; _local5 = false; _local6 = "bio"; _local7 = 16; _local8 = 35; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 26; _local2 = "Slave Trader"; _local3 = "slave_trader.png"; _local4 = 54; _local5 = false; _local6 = "conv"; _local7 = 17; _local8 = 45; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 27; _local2 = "Nebula Serpent"; _local3 = "nebula_serpent.png"; _local4 = 55; _local5 = false; _local6 = "bio"; _local7 = 18; _local8 = 55; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).sqH(); _local1 = 28; _local2 = "Developed Manifestation"; _local3 = "manifestation_developed.png"; _local4 = 60; _local5 = true; _local6 = "em"; _local7 = 19; _local8 = 60; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 29; _local2 = "Wormhole Monster"; _local3 = "wormhole.png"; _local4 = 65; _local5 = true; _local6 = "em"; _local7 = 20; _local8 = 65; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 30; _local2 = "Escorted Smuggler"; _local3 = "smuggler_escorted.png"; _local4 = 84; _local5 = false; _local6 = "conv"; _local7 = 21; _local8 = 70; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 31; _local2 = "Blue Crystal"; _local3 = "blue_crystal.png"; _local4 = 75; _local5 = true; _local6 = "em"; _local7 = 22; _local8 = 75; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 32; _local2 = "X993 Battlecruiser"; _local3 = "x993_battlecruiser.png"; _local4 = 96; _local5 = false; _local6 = "conv"; _local7 = 23; _local8 = 80; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).sqH(); _local1 = 33; _local2 = "Eulerian"; _local3 = "eulerian.png"; _local4 = 85; _local5 = false; _local6 = "bio"; _local7 = 24; _local8 = 85; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).sqH(); _local1 = 34; _local2 = "Mutated Space Worm"; _local3 = "space_worm_mutated.png"; _local4 = 90; _local5 = false; _local6 = "bio"; _local7 = 25; _local8 = 90; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 35; _local2 = "Space Snail"; _local3 = "space_snail.png"; _local4 = 95; _local5 = false; _local6 = "bio"; _local7 = 26; _local8 = 95; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 36; _local2 = "Frost Crystal"; _local3 = "frost_crystal.png"; _local4 = 100; _local5 = true; _local6 = "em"; _local7 = 27; _local8 = 100; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 37; _local2 = "Roidworm Horde"; _local3 = "roidworm_horde.png"; _local4 = 105; _local5 = false; _local6 = "bio"; _local7 = 28; _local8 = 105; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 38; _local2 = "Tivean Squadron"; _local3 = "tivean_squadron.png"; _local4 = 132; _local5 = false; _local6 = "conv"; _local7 = 29; _local8 = 110; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).sqH(); _local1 = 39; _local2 = "Cyborg Manta"; _local3 = "cyborg_manta.png"; _local4 = 115; _local5 = false; _local6 = "bio"; _local7 = 30; _local8 = 115; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).sqH(); _local1 = 40; _local2 = "Famous Pirate"; _local3 = "pirate_famous.png"; _local4 = 1380; _local5 = false; _local6 = "conv"; _local7 = 400; _local8 = 1150; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).kzZ(); CJX(RUX.mCs[(RUX.mCs.length - 1)]).sqH(); _local1 = 41; _local2 = "Energy Sparker"; _local3 = "energy_sparker.png"; _local4 = 120; _local5 = true; _local6 = "em"; _local7 = 32; _local8 = 120; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 42; _local2 = "Energy Bees"; _local3 = "energybees.png"; _local4 = 125; _local5 = true; _local6 = "em"; _local7 = 34; _local8 = 125; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 43; _local2 = "Infected Creature"; _local3 = "infected_creature.png"; _local4 = 130; _local5 = false; _local6 = "bio"; _local7 = 35; _local8 = 130; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 44; _local2 = "Asp Hatchlings"; _local3 = "asp_hatchlings.png"; _local4 = 135; _local5 = false; _local6 = "bio"; _local7 = 36; _local8 = 135; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).sqH(); _local1 = 45; _local2 = "Stheno Swarmlings"; _local3 = "stheno_swarmlings.png"; _local4 = 140; _local5 = false; _local6 = "bio"; _local7 = 37; _local8 = 140; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 46; _local2 = "Xhole Monster"; _local3 = "xhole.png"; _local4 = 145; _local5 = true; _local6 = "em"; _local7 = 38; _local8 = 145; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 47; _local2 = "Medusa Swarmlings"; _local3 = "medusa_swarmlings.png"; _local4 = 150; _local5 = false; _local6 = "bio"; _local7 = 39; _local8 = 150; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 48; _local2 = "Tivean Destroyer"; _local3 = "tivean_destroyer.png"; _local4 = 186; _local5 = false; _local6 = "conv"; _local7 = 40; _local8 = 155; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).sqH(); _local1 = 49; _local2 = "Space Crystal"; _local3 = "space_crystal.png"; _local4 = 160; _local5 = true; _local6 = "em"; _local7 = 41; _local8 = 160; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 50; _local2 = "Ripe Manifestation"; _local3 = "manifestation_ripe.png"; _local4 = 165; _local5 = true; _local6 = "em"; _local7 = 42; _local8 = 165; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 51; _local2 = "Solar Banshee"; _local3 = "solar_banshee.png"; _local4 = 170; _local5 = true; _local6 = "em"; _local7 = 43; _local8 = 170; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 52; _local2 = "Euryale Swarmlings"; _local3 = "euryale_swarmlings.png"; _local4 = 175; _local5 = false; _local6 = "bio"; _local7 = 44; _local8 = 175; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).sqH(); _local1 = 53; _local2 = "Asp Mother"; _local3 = "asp_mother.png"; _local4 = 180; _local5 = false; _local6 = "bio"; _local7 = 45; _local8 = 180; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).sqH(); _local1 = 54; _local2 = "Rive Crystal"; _local3 = "rive_crystal.png"; _local4 = 185; _local5 = true; _local6 = "em"; _local7 = 46; _local8 = 185; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 55; _local2 = "X993 Mothership"; _local3 = "x993_mothership.png"; _local4 = 228; _local5 = false; _local6 = "conv"; _local7 = 47; _local8 = 190; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 56; _local2 = "Medusa"; _local3 = "medusa.png"; _local4 = 195; _local5 = false; _local6 = "bio"; _local7 = 48; _local8 = 195; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 57; _local2 = "Nebula Mole"; _local3 = "nebula_mole.png"; _local4 = 200; _local5 = false; _local6 = "bio"; _local7 = 49; _local8 = 200; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 58; _local2 = "Dreadscorp"; _local3 = "dreadscorp.png"; _local4 = 205; _local5 = false; _local6 = "bio"; _local7 = 50; _local8 = 205; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).sqH(); _local1 = 59; _local2 = "Xalgucennia"; _local3 = "xalgucennia.png"; _local4 = 210; _local5 = false; _local6 = "bio"; _local7 = 51; _local8 = 210; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 60; _local2 = "Feral Serpent"; _local3 = "feral_serpent.png"; _local4 = 2100; _local5 = false; _local6 = "bio"; _local7 = 600; _local8 = 2100; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).kzZ(); CJX(RUX.mCs[(RUX.mCs.length - 1)]).sqH(); _local1 = 61; _local2 = "Ancient Crystal"; _local3 = "ancient_crystal.png"; _local4 = 220; _local5 = true; _local6 = "em"; _local7 = 53; _local8 = 220; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 62; _local2 = "Mutated Medusa"; _local3 = "mutated_medusa.png"; _local4 = 230; _local5 = false; _local6 = "bio"; _local7 = 54; _local8 = 230; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 63; _local2 = "Z15 Scout"; _local3 = "z15_scout.png"; _local4 = 288; _local5 = false; _local6 = "conv"; _local7 = 55; _local8 = 240; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).sqH(); _local1 = 64; _local2 = "Starclaw"; _local3 = "starclaw.png"; _local4 = 250; _local5 = false; _local6 = "bio"; _local7 = 56; _local8 = 250; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).sqH(); _local1 = 65; _local2 = "Stheno"; _local3 = "stheno.png"; _local4 = 260; _local5 = false; _local6 = "bio"; _local7 = 57; _local8 = 260; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 66; _local2 = "Z15 Repair Drone"; _local3 = "z15_repair_drone.png"; _local4 = 324; _local5 = false; _local6 = "conv"; _local7 = 58; _local8 = 270; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 67; _local2 = "Z15 Fighter"; _local3 = "z15_fighter.png"; _local4 = 336; _local5 = false; _local6 = "conv"; _local7 = 59; _local8 = 280; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).sqH(); _local1 = 68; _local2 = "Z15 Spacepad"; _local3 = "z15_spacepad.png"; _local4 = 348; _local5 = false; _local6 = "conv"; _local7 = 60; _local8 = 290; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 69; _local2 = "Z16 Repair Drone"; _local3 = "z16_repair_drone.png"; _local4 = 360; _local5 = false; _local6 = "conv"; _local7 = 61; _local8 = 300; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 70; _local2 = "Oblivion Vortex"; _local3 = "oblivion_vortex.png"; _local4 = 310; _local5 = true; _local6 = "em"; _local7 = 62; _local8 = 310; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 71; _local2 = "Z16 Fighter"; _local3 = "z16_fighter.png"; _local4 = 384; _local5 = false; _local6 = "conv"; _local7 = 63; _local8 = 320; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).sqH(); _local1 = 72; _local2 = "Tivean Carrier"; _local3 = "tivean_carrier.png"; _local4 = 396; _local5 = false; _local6 = "conv"; _local7 = 64; _local8 = 330; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 73; _local2 = "Ceylacennia"; _local3 = "ceylacennia.png"; _local4 = 340; _local5 = false; _local6 = "bio"; _local7 = 65; _local8 = 340; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 74; _local2 = "Preywinder"; _local3 = "preywinder.png"; _local4 = 350; _local5 = false; _local6 = "bio"; _local7 = 66; _local8 = 350; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).sqH(); _local1 = 75; _local2 = "Euryale"; _local3 = "euryale.png"; _local4 = 360; _local5 = false; _local6 = "bio"; _local7 = 67; _local8 = 360; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); _local1 = 76; _local2 = "Lucidi Squad"; _local3 = "lucidi_squad.png"; _local4 = 444; _local5 = false; _local6 = "conv"; _local7 = 68; _local8 = 370; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).sqH(); _local1 = 77; _local2 = "Lucidi Warship"; _local3 = "lucidi_warship.png"; _local4 = 456; _local5 = false; _local6 = "conv"; _local7 = 69; _local8 = 380; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).sqH(); _local1 = 78; _local2 = "Lucidi Mothership"; _local3 = "lucidi_mothership.png"; _local4 = 468; _local5 = false; _local6 = "conv"; _local7 = 70; _local8 = 390; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).sqH(); _local1 = 79; _local2 = "Glowprawn"; _local3 = "glowprawn.png"; _local4 = 400; _local5 = false; _local6 = "bio"; _local7 = 71; _local8 = 400; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).sqH(); _local1 = 80; _local2 = "Shadow"; _local3 = "shadow.png"; _local4 = 4000; _local5 = true; _local6 = "em"; _local7 = 1000; _local8 = 4000; RUX.mCs.push(new CJX(_local1, _local2, _local3, _local4, _local5, _local6, _local7, _local8)); CJX(RUX.mCs[(RUX.mCs.length - 1)]).kzZ(); CJX(RUX.mCs[(RUX.mCs.length - 1)]).sqH(); _local9 = 0; while (_local9 < RUX.mCs.length) { RUX.nSh[CJX(RUX.mCs[_local9]).fOS] = _local9; _local9++; }; _local9 = 0; while (_local9 < RUX.mCs.length) { _local10 = RUX.mCs[_local9]; RUX.ypv.push(new Array(_local10.por, _local10.gwg, _local10.kFN, _local10.mWB)); _local9++; }; RUX.gNu = ["A", "a", "B", "b", "C", "c", "D", "d", "E", "e"]; RUX.uwI = ["F", "f", "G", "g", "H", "h", "I", "i", "J", "j"]; RUX.jSn = ["K", "k", "L", "l", "M", "m", "N", "n", "O", "o"]; RUX.kvs = ["P", "p", "Q", "q", "R", "r", "S", "s", "T", "t"]; RUX.hdr = ["U", "u", "V", "v", "W", "w", "X", "x", "Y", "y"]; RUX.ipO = ["Z", "z", ":", ".", "_", "-", "/", "\\"]; } } }//package zsg
Section 53
//UZi (zsg.UZi) package zsg { import fRp.*; import flash.display.*; import zfn.*; import yRO.*; import dtO.*; import htt.*; public class UZi { public var aZz:uint; private var dMN:Number;// = 0 private var fik:int;// = 0 private var cCG:Boolean;// = false private var qFg:int;// = 0 private var jMW:int; private var qdC:Number; public var zjJ:int; private var adK:Boolean;// = false private var riz:String; private var lMa:Sprite; public var rgI:CJX; public var poT:int; private var zjh:Bitmap; private var gHY:Array; private var izT:int;// = 0 private var dct:int;// = 0 private var neC:Array; private var ono:int;// = 0 private var hiT:ZJU; private var urz:Array; public function UZi(_arg1:int){ var _local2:Array; dMN = 0; fik = 0; hiT = new ZJU(); dct = 0; cCG = false; qFg = 0; ono = 0; izT = 0; urz = new Array(); neC = new Array(); adK = false; super(); this.rgI = RUX.lio(_arg1); this.qdC = this.rgI.por; this.jMW = (this.rgI.gwg * 10); this.zjh = new Bitmap(this.rgI.pKE); this.lMa = YUA.tDI; this.gHY = YUA.qpS.sFP(); this.riz = this.gHY[0]; _local2 = YUA.qpS.qMR(); this.poT = _local2[0]; this.zjJ = _local2[1]; this.zjh.x = this.poT; this.zjh.y = this.zjJ; this.hiT.x = this.poT; this.hiT.y = this.zjJ; this.hiT.cacheAsBitmap = true; this.aZz = ZLF.sgS(this); this.lMa.addChild(this.zjh); this.lMa.addChild(this.hiT); } public function iGk():void{ var _local1:int; var _local2:Number; var _local3:int; var _local4:int; var _local5:NJS; if (this.adK){ return; }; _local2 = (this.qdC + this.dMN); _local1 = Math.floor(_local2); this.dMN = (_local2 - _local1); if (_local1 == 0){ return; }; if (!this.cCG){ this.kay((this.poT % YUA.ayy), (this.zjJ % YUA.ayy)); this.ujX(this.riz, _local1); this.cCG = true; if (this.fik > 0){ this.xLO(); }; return; }; _local3 = (this.poT % YUA.ayy); _local4 = (this.zjJ % YUA.ayy); if ((((_local3 == 0)) && ((((this.riz == "R")) || ((this.riz == "L")))))){ this.dct++; } else { if ((((_local4 == 0)) && ((((this.riz == "D")) || ((this.riz == "U")))))){ this.dct++; }; }; this.riz = this.gHY[this.dct]; if ((((((this.riz == "R")) && (!((_local3 == 0))))) && (((_local3 + _local1) > YUA.ayy)))){ _local1 = (YUA.ayy - _local3); } else { if ((((((this.riz == "L")) && (!((_local3 == 0))))) && (((_local3 - _local1) < 0)))){ _local1 = _local3; } else { if ((((((this.riz == "D")) && (!((_local4 == 0))))) && (((_local4 + _local1) > YUA.ayy)))){ _local1 = (YUA.ayy - _local4); } else { if ((((((this.riz == "U")) && (!((_local4 == 0))))) && (((_local4 - _local1) < 0)))){ _local1 = _local4; }; }; }; }; this.ujX(this.riz, _local1); if (this.qFg == 4){ this.qFg = 0; this.kay(_local3, _local4); } else { this.qFg++; }; if (this.dct >= this.gHY.length){ _local5 = YUA.qpS.pXK(); _local5.sJG(); this.cTs(); return; }; if (this.fik > 0){ this.xLO(); }; } public function bws():void{ var _local1:DeR; var _local2:NBD; var _local3:int; var _local4:int; var _local5:int; var _local6:int; var _local7:int; var _local8:String; if (this.adK){ return; }; _local3 = (this.neC.length - 1); while (_local3 >= 0) { if (this.neC[_local3] != null){ _local1 = DeR(this.neC[_local3]); if (((_local1.ggo(this.aZz, this.fik)) && (_local1.xgc()))){ _local1.sqk((this.poT + (this.zjh.width / 2)), (this.zjJ + (this.zjh.height / 2))); if (_local1.bZT.jiC == "bullet"){ if (_local1.bZT.pEO == "conv"){ _local8 = "gatling"; } else { _local8 = "bio"; }; } else { if (_local1.bZT.jiC == "missile"){ _local8 = "missile"; } else { _local8 = "em"; }; }; KFt.ubT(_local8); if (_local1.bZT.jiC == "bullet"){ _local2 = new Vnz(_local1.tSi); } else { if (_local1.bZT.jiC == "lightning"){ _local2 = new VAq(_local1.tSi, "lightning"); } else { if (_local1.bZT.jiC == "tractor"){ _local2 = new VAq(_local1.tSi, "tractor"); } else { if (_local1.bZT.jiC == "missile"){ _local2 = new JIZ(_local1.tSi); }; }; }; }; if (_local2.weapon != null){ this.urz.push(_local2); }; }; }; _local3--; }; _local7 = (this.urz.length - 1); while (_local7 >= 0) { if (this.urz[_local7] != null){ _local2 = NBD(this.urz[_local7]); if (_local2.hit((this.poT + (this.zjh.width / 2)), (this.zjJ + (this.zjh.height / 2)))){ _local4 = _local2.damage; _local5 = _local2.damageType; _local6 = _local2.tractor; _local2.destroy(); delete this.urz[_local7]; if (_local4 > 0){ this.fUI(_local4, _local5); }; if ((((_local6 > 0)) && (!(this.rgI.evE)))){ this.cka(_local6); }; }; }; _local7--; }; } public function cTs():void{ var _local1:int; if (this.adK){ return; }; this.adK = true; _local1 = (this.urz.length - 1); while (_local1 >= 0) { if (this.urz[_local1] != null){ NBD(this.urz[_local1]).destroy(); delete this.urz[_local1]; }; _local1--; }; _local1 = (Hur.vjE.length - 1); while (_local1 >= 0) { if (Hur.vjE[_local1] != null){ DeR(Hur.vjE[_local1]).yAy(this.aZz); }; _local1--; }; ZLF.gVC(this.aZz); this.lMa.removeChild(this.hiT); this.lMa.removeChild(this.zjh); this.hiT = null; this.zjh = null; this.lMa = null; this.gHY = null; this.neC = null; } public function kay(_arg1:int, _arg2:int):void{ var _local3:int; var _local4:int; var _local5:int; var _local6:Array; var _local7:DeR; var _local8:int; var _local9:int; var _local10:int; var _local11:int; _local5 = this.dct; if (this.riz == "L"){ _local3 = (32 - _arg1); } else { if (this.riz == "R"){ _local3 = _arg1; } else { if (this.riz == "U"){ _local3 = (32 - _arg2); } else { _local3 = _arg2; }; }; }; if (_local3 == 32){ _local3 = 0; }; if (_local3 < 8){ _local4 = 0; } else { if (_local3 < 16){ _local4 = 1; } else { if (_local3 < 24){ _local4 = 2; } else { _local4 = 3; }; }; }; if ((((((this.izT == _local4)) && ((this.ono == this.dct)))) && (this.cCG))){ return; }; this.izT = _local4; this.ono = this.dct; _local6 = new Array(); _local9 = (this.neC.length - 1); while (_local9 >= 0) { if (this.neC[_local9] != null){ _local6.push(DeR(this.neC[_local9]).tSi); }; _local9--; }; this.neC = new Array(); _local10 = (HBt.qwp[_local5][_local4].length - 1); while (_local10 >= 0) { if (HBt.qwp[_local5][_local4][_local10] != null){ _local7 = Hur.tjO(HBt.qwp[_local5][_local4][_local10]); if (_local7 != null){ this.neC.push(_local7); _local8 = _local6.indexOf(_local7.tSi); if (_local8 != -1){ _local6.splice(_local8, 1); }; }; }; _local10--; }; _local11 = (_local6.length - 1); while (_local11 >= 0) { _local7 = Hur.tjO(_local6[_local11]); if (_local7 != null){ _local7.yAy(this.aZz); }; _local11--; }; } private function ujX(_arg1:String, _arg2:int):void{ if (this.riz == "R"){ this.poT = (this.poT + _arg2); this.zjh.x = this.poT; this.hiT.x = this.poT; } else { if (this.riz == "L"){ this.poT = (this.poT - _arg2); this.zjh.x = this.poT; this.hiT.x = this.poT; } else { if (this.riz == "D"){ this.zjJ = (this.zjJ + _arg2); this.zjh.y = this.zjJ; this.hiT.y = this.zjJ; } else { if (this.riz == "U"){ this.zjJ = (this.zjJ - _arg2); this.zjh.y = this.zjJ; this.hiT.y = this.zjJ; }; }; }; }; } private function cka(_arg1:int):void{ this.qdC = ((this.rgI.por * (100 - _arg1)) / 100); this.dMN = 0; this.fik = (100 - _arg1); } private function fUI(_arg1:int, _arg2:int):void{ _arg1 = Math.round((_arg1 * YUA.oLC[_arg2][this.rgI.jOv])); this.jMW = (this.jMW - _arg1); if (this.jMW <= 0){ IwG.cDx(this.rgI.kFN); IwG.aWn(this.rgI.mWB); IwG.fof(); this.cTs(); } else { this.hiT.fhc(Math.round(((this.jMW / (this.rgI.gwg * 10)) * this.hiT.yEt))); }; } private function xLO():void{ this.fik--; if (this.fik == 0){ this.qdC = this.rgI.por; this.dMN = 0; } else { this.qdC = ((this.rgI.por * (100 - this.fik)) / 100); }; } } }//package zsg
Section 54
//ZLF (zsg.ZLF) package zsg { public class ZLF { public static var eBF:uint = 0; public static var cKd:Array = new Array(); public static function tZY():void{ var _local1:int; _local1 = (ZLF.cKd.length - 1); while (_local1 >= 0) { if (ZLF.cKd[_local1] != null){ UZi(ZLF.cKd[_local1]).cTs(); }; _local1--; }; ZLF.cKd = new Array(); ZLF.eBF = 0; } public static function gVC(_arg1:uint):void{ var _local2:int; _local2 = (ZLF.cKd.length - 1); while (_local2 >= 0) { if (((!((ZLF.cKd[_local2] == null))) && ((UZi(ZLF.cKd[_local2]).aZz == _arg1)))){ delete ZLF.cKd[_local2]; break; }; _local2--; }; } public static function sgS(_arg1:UZi):uint{ ZLF.cKd.push(_arg1); ZLF.eBF++; return (ZLF.eBF); } } }//package zsg
Section 55
//Main (Main) package { import xDd.*; import flash.display.*; import yRO.*; public class Main extends Sprite { public function Main(){ this.mouseEnabled = false; YUA.xud = this; new EqW(); } } }//package

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata present, AS3.
SWFMetaData (77)Timeline Frame 1209 bytes "<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns ..."
Protect (24)Timeline Frame 10 bytes ""




http://swfchan.com/6/29689/info.shtml
Created: 19/5 -2019 19:30:47 Last modified: 19/5 -2019 19:30:47 Server time: 04/05 -2024 06:24:12