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

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

Grid Tower Defense.swf

This is the info page for
Flash #46857

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


ActionScript [AS3]
Section 1
//AsyncConnection (haxe.remoting.AsyncConnection) package haxe.remoting { import flash.net.*; import haxe.*; import flash.events.*; public class AsyncConnection { public var onError; public var __path; public var __error; public var __data; public function AsyncConnection(_arg1, _arg2){ if (Boot_DA61EA.skip_constructor){ return; }; __data = _arg1; __path = _arg2; __error = {ref:function (_arg1){ throw (_arg1); }}; } public function setErrorHandler(_arg1){ __error.ref = _arg1; return (_arg1); } public function getErrorHandler(){ return (__error.ref); } public function call(_arg1, _arg2=null){ var onData = _arg2; if (__data.connect){ var me:* = this; var _local3:* = _arg1.copy(); _local3.unshift(new Responder(function (_arg1){ me.__error.ref(_arg1); }, function (_arg1){ onData(_arg1); })); _local3.unshift(__path.join(".")); __data.call.apply(__data, _local3); return; }; _local3 = new Http(__data); me = this; var _local4:* = new Serializer(); _local4.serialize(__path); _local4.serialize(_arg1); _local3.setHeader("X-Haxe-Remoting", "1"); _local3.setParameter("__x", _local4.toString()); _local3.onData = function (_arg1){ var _local3:* = true; try { if ((((_arg1.length < 3)) || (!((_arg1.substr(0, 3) == "hxr"))))){ throw ((("Invalid response : '" + _arg1) + "'")); }; var _local5:* = new Unserializer(_arg1.substr(3, (_arg1.length - 3))); var _local4:* = _local5.unserialize(); } catch(#InvalidMultinameIndex#) { _local5 = !NULL!; _local3 = false; me.__error.ref(_local5); }; if (_local3){ onData(_local4); }; }; _local3.onError = function (_arg1){ me.__error.ref(_arg1); }; _local3.request(true); } public function __resolve(_arg1){ var _local2:* = new AsyncConnection(__data, __path.copy()); _local2.__error = __error; _local2.__path.push(_arg1); return (_local2); } public static function __construct__(_arg1){ return (new AsyncConnection(_arg1[0], _arg1[1])); } public static function urlConnect(_arg1){ return (new AsyncConnection(_arg1, [])); } public static function amfConnect(_arg1){ var _local2:* = new NetConnection(); var cnx:* = new AsyncConnection(_local2, []); _local2.addEventListener(NetStatusEvent.NET_STATUS, function (_arg1){ cnx.getErrorHandler()(_arg1); }); _local2.connect(_arg1); return (cnx); } } var _local1 = [OP_NEWCLASS ClassInfo:13 base:Object]; ??getglobalscope .ValueType = _local1; var _slot1 = new ValueType("TBool", null); var _slot4 = new ValueType("TFloat", null); var _slot5 = new ValueType("TFunction", null); var _slot6 = new ValueType("TInt", null); var _slot7 = new ValueType("TNull", null); var _slot8 = new ValueType("TObject", null); var _slot9 = new ValueType("TUnknown", null); _local1 = [OP_NEWCLASS ClassInfo:29 base:Object]; ??getglobalscope .A53 = _local1; _local1 = [OP_NEWCLASS ClassInfo:30 base:Object]; ??getglobalscope .A27 = _local1; _local1 = [OP_NEWCLASS ClassInfo:31 base:Object]; ??getglobalscope .A18 = _local1; var _slot1 = new A18("A23", null); _local1 = [OP_NEWCLASS ClassInfo:32 base:Object]; ??getglobalscope .A41 = _local1; var _slot1 = new A41("A22", null); var _slot2 = new A41("A29", null); var _slot3 = new A41("A37", null); var _slot4 = new A41("A52", null); var _slot5 = new A41("A56", null); var _slot6 = new A41("A57", null); _local1 = [OP_NEWCLASS ClassInfo:33 base:Object]; ??getglobalscope .A5 = _local1; var _slot1 = new A5("A17", null); ??getglobalscope .Boot_DA61EA.init = function (){ Math.NaN = Number.NaN; Math.NEGATIVE_INFINITY = Number.NEGATIVE_INFINITY; Math.POSITIVE_INFINITY = Number.POSITIVE_INFINITY; Math.isFinite = function (_arg1){ return (isFinite(_arg1)); }; Math.isNaN = function (_arg1){ return (isNaN(_arg1)); }; Date.now = function (){ return (new (Date)); }; Date.fromTime = function (_arg1){ var _local2:* = new (Date); _local2.setTime(_arg1); return (_local2); }; Date.fromString = function (_arg1){ var _local2 = _arg1.length; if (_local2 == 8){ var _local3:* = _arg1.split(":"); var _local4:* = new (Date); _local4.setTime(0); _local4.setUTCHours(_local3[0]); _local4.setUTCMinutes(_local3[1]); _local4.setUTCSeconds(_local3[2]); return (_local4); } else { if (_local2 == 10){ _local3 = _arg1.split("-"); return (new Date(_local3[0], (_local3[1] - 1), _local3[2], 0, 0, 0)); } else { if (_local2 == 19){ _local3 = _arg1.split(" "); _local4 = _local3[0].split("-"); var _local5:* = _local3[1].split(":"); return (new Date(_local4[0], (_local4[1] - 1), _local4[2], _local5[0], _local5[1], _local5[2])); } else { throw (("Invalid date format : " + _arg1)); }; }; }; }; Date.prototype["toString"] = function (){ var _local1:* = (this.getMonth() + 1); var _local2:* = this.getDate(); var _local3:* = this.getHours(); var _local4:* = this.getMinutes(); var _local5:* = this.getSeconds(); return (((((((((((this.getFullYear() + "-") + ((_local1 < 10)) ? ("0" + _local1) : _local1) + "-") + ((_local2 < 10)) ? ("0" + _local2) : _local2) + " ") + ((_local3 < 10)) ? ("0" + _local3) : _local3) + ":") + ((_local4 < 10)) ? ("0" + _local4) : _local4) + ":") + ((_local5 < 10)) ? ("0" + _local5) : _local5)); }; var _local1 = ??getglobalscope .A15; var _slot2:* = 0; var _slot3:* = [0]; _local1 = ??getglobalscope .Serializer; var _slot2:* = false; _local1 = ??getglobalscope .A48; var _slot2:* = "twistedline.com"; _local1 = ??getglobalscope .Main; var _slot2 = {res:"700x500", id:"5ce99483464ea83e"}; _local1 = ??getglobalscope .Unserializer; var _slot2:* = Type; _local1 = ??getglobalscope .Boot_DA61EA; var _slot5:* = false; _local1 = ??getglobalscope .@Main; var _slot2 = Main.main(); }; }//package haxe.remoting import flash.net.*; import haxe.*; import flash.events.*; import b0.b4.*; import flash.display.*; import b0.b1.*; import flash.text.*; import flash.*; import b0.b2.*; import b0.b6.*; import b0.b5.*; import b0.b3.*; import flash.system.*; import flash.utils.*; import flash.media.*; import flash.filters.*; import flash.geom.*; class A15 { public static var a424; public static var a473; public function A15(){ if (Boot_DA61EA.skip_constructor){ return; }; } public static function __construct__(_arg1){ return (new A15()); } public static function a219(){ if ((A15.a473.length > 0)){ return (A15.a473.shift()); } else { A15.a424 = (A15.a424 + 1); return (A15.a424); }; } public static function remove(_arg1){ A15.a473.push(_arg1); } } class A30 extends Sprite { public var a525; public var a455; public var a441; public var a340; public function A30(_arg1, _arg2, _arg3){ if (Boot_DA61EA.skip_constructor){ return; }; super(); a525 = []; a340 = (_arg3 - 1); var _local4:* = 0; var _local5:* = _arg3; do { //unresolved if var _local6:* = _local4; _local4++; a525[_local6] = new Sprite(); a525[_local6].x = _arg1; a525[_local6].y = _arg2; addChild(a525[_local6]); } while (true); a525[a340].graphics.beginFill(0xFFFFFF, 0); a525[a340].graphics.drawRect(0, 0, 500, 500); a525[a340].graphics.endFill(); a455 = _arg1; a441 = _arg2; } public function remove(_arg1){ var _local2:* = 0; var _local3:* = (a340 + 1); do { //unresolved if var _local4:* = _local2; _local2++; if (a525[_local4].contains(_arg1)){ a525[_local4].removeChild(_arg1); break; }; } while (true); } public function mouse_y(){ return ((mouseY - a441)); } public function mouse_x(){ return ((mouseX - a455)); } public function clear(){ var _local1:* = 0; var _local2:* = (a340 + 1); do { //unresolved if var _local3:* = _local1; _local1++; var _local4:* = 0; var _local5:* = a525[_local3].numChildren; do { //unresolved if var _local6:* = _local4; _local4++; a525[_local3].removeChildAt(0); } while (true); } while (true); _local1 = 0; _local2 = numChildren; do { //unresolved if _local3 = _local1; _local1++; removeChildAt(0); } while (true); } public function a68(_arg1, _arg2){ a525[_arg1].addChild(_arg2); } public static function __construct__(_arg1){ return (new A30(_arg1[0], _arg1[1], _arg1[2])); } } class A49 extends Sprite { public var a73; public var a577; public var a428; public var a391; public var a353; public var a347; public var a225; public var a208; public var a155; public function A49(_arg1){ if (Boot_DA61EA.skip_constructor){ return; }; super(); a577 = _arg1; a353 = null; a391 = null; a155 = new A12("X", a338); addChild(a155); a155.x = 0; a155.visible = false; a73 = new A12("Sell", a146); a73.x = 40; a73.visible = false; addChild(a73); a347 = new A12("Upgrade", a7); a347.x = 100; a347.visible = false; addChild(a347); a428 = new TextField(); a220(a428); addChild(a428); } public function a7(){ a577.a7(a353); } public function a516(_arg1){ if (!((a353 == null))){ a353.a102 = false; }; if (!((_arg1 == null))){ _arg1.a102 = true; }; if (!((a391 == null))){ a391.a102 = false; }; a353 = _arg1; a391 = null; a411(); return (_arg1); } public function a450(_arg1){ if (!((a391 == null))){ a391.a102 = false; }; if (!((_arg1 == null))){ _arg1.a102 = true; }; if (!((a353 == null))){ a353.a102 = false; }; a391 = _arg1; a353 = null; a411(); return (_arg1); } public function a440(_arg1){ var _local2:* = _arg1; a347.y = _local2; a73.y = _local2; a155.y = _local2; } public function a412(){ return (a391); } public function a411(){ a155.visible = !((a353 == null)); var _local1:* = false; if (((!((a353 == null))) && (a353.a185))){ _local1 = true; }; a73.visible = _local1; a347.visible = _local1; if (!((a353 == null))){ a428.text = (((((((((((((((Std.string(a353.a313) + "\n") + "Cost: ") + Std.string(a353.a224())) + "\n") + "Range: ") + Std.string(a353.a154())) + "\n") + "Damage: ") + Std.string(a353.a160())) + "\n") + "Fire rate: ") + Std.string(a353.a195())) + "\n") + "Level: ") + Std.string((a353.a309 + 1))); if (((a353.a185) && ((a353.a309 < a353.a474)))){ a428.text = (a428.text + ((((((((((("\n\nNext level:\n" + "Cost: ") + Std.string(a353.a305()[(a353.a309 + 1)])) + "\n") + "Range: ") + Std.string(a353.a357()[(a353.a309 + 1)])) + "\n") + "Damage: ") + Std.string(a353.a37()[(a353.a309 + 1)])) + "\n") + "Fire rate: ") + Std.string(a353.a363()[(a353.a309 + 1)]))); }; } else { if (((!((a391 == null))) && (a391.a131()))){ a428.text = (((((((((((((((((a391.a313 + "\n") + "Hitpoints: ") + a391.a13) + " / ") + a391.a205) + "\n") + "Bounty: ") + a391.a112) + "\n") + "Steal: ") + a391.a124) + "\n") + "Points: ") + a391.a61) + "\n") + "Speed: ") + a391.a523); } else { a428.text = ""; }; }; a440(((a428.height + a428.y) + 5)); } public function a338(){ a577.a542(??getglobalscope .A41.A57); } public function a220(_arg1){ var _local2:* = 237728; var _local3:* = new TextFormat("Font01", 15); _arg1.embedFonts = true; _arg1.defaultTextFormat = _local3; _arg1.textColor = _local2; _arg1.autoSize = "left"; _arg1.mouseEnabled = false; } public function a146(){ a577.a146(a353); } public function a134(){ return (a353); } public static function __construct__(_arg1){ return (new A49(_arg1[0])); } } class A42 { public var stage; public var resets; public var copyright; public var a525; public var a511; public var a51; public var a506; public var a388; public var a317; public var a283; public var a274; public var a271; public var a258; public var a254; public var a249; public var a240; public var a236; public var a21; public var a19; public var a172; public static var GAME_OPTIONS; public function A42(_arg1){ if (Boot_DA61EA.skip_constructor){ return; }; A42.GAME_OPTIONS = _arg1; stage = Lib.current.stage; a63(); a51 = null; resets = 3; } public function on_copyright_click(_arg1=null){ A42.a334(A48.a71); } public function create_copyright(){ copyright = new TextField(); var _local1:* = new Sprite(); var _local2:* = true; _local1.useHandCursor = _local2; _local1.buttonMode = _local2; a220(copyright); copyright.x = 40; copyright.y = 480; _local1.graphics.beginFill(0xFFFFFF, 0); copyright.text = "www.twistedline.com"; _local1.graphics.drawRect(copyright.x, copyright.y, copyright.textWidth, copyright.textHeight); a240.addChild(copyright); a240.addChild(_local1); _local1.addEventListener("click", on_copyright_click, false, 0, true); } public function ad_finished(){ null; a63(); } public function a99(_arg1){ var _local2:* = a19.a166.a442; var _local3:* = _local2; _local3.a50((_local3.a251() + _arg1)); } public function a87(_arg1, _arg2, _arg3, _arg4){ _arg1.a124 = _arg2; _arg1.a112 = _arg3; _arg1.a61 = _arg4; } public function a72(){ var _local1:* = a69(); var _local2:* = false; var _local3:* = []; var _local4 = a19.a403.iterator(); do { //unresolved if var _local5 = _local4.next(); var _local6:* = _local5.a442.a266; if (_local5.a442.a40()){ _local3.push(_local1.a372(Math.floor(_local6.x), Math.floor(_local6.y))); }; } while (true); _local4 = _local3.iterator(); do { //unresolved if _local5 = _local4.next(); if ((_local1.a282[_local5] == 0)){ _local2 = true; break; }; } while (true); return (_local2); } public function a7(_arg1){ var _local2:* = a19.a166.a442; if (!((_arg1 == null))){ if ((((_local2.a402() >= _arg1.a344())) && (_arg1.a447()))){ a182(-(_arg1.a344())); _arg1.a399(); }; }; } public function a69(){ return (a19.a367.a442); } public function a63(){ a19 = new A48(); a240 = new A30(250, 20, 10); stage.addChild(a240); a249 = new A10(); a249.a129 = 3; a283 = ??getglobalscope .A41.A57; a240.a525[a240.a340].removeEventListener("click", a308); a240.a525[a240.a340].addEventListener("click", a308, false, 0, true); stage.removeEventListener(KeyboardEvent.KEY_DOWN, a358); stage.addEventListener(KeyboardEvent.KEY_DOWN, a358, false, 0, true); a240.a525[a240.a340].addEventListener("mouseMove", a209, false, 0, true); a240.a525[a240.a340].addEventListener("mouseOut", a150, false, 0, true); a466(); a238(); a498(); a231(); a317 = false; var _local1:* = true; a254 = _local1; a172 = _local1; a258 = new A46(a127, a343); a240.addChild(a258); a258.a381(); a271 = new A35(a530); a240.addChild(a271); a271.a381(); a236 = new A34(false); a480(); _local1 = a69(); var _local2:* = new A6(_local1.a294, _local1.a558); a240.a68(3, _local2); var _local3:* = ((0.5 + (7 * _local1.a294)) + (0.5 * _local1.a294)); var _local4:* = ((0.5 + (15 * _local1.a558)) + (0.5 * _local1.a558)); _local2.x = _local3; _local2.y = _local4; create_copyright(); stage.addEventListener(Event.ENTER_FRAME, a411, false, 0, true); } public function a571(){ var _local1:* = a19.a341.a442; if (_local1.a462()){ var _local2:* = Math.min((_local1.a188 / _local1.a306), 0.8); var _local3:* = Math.floor((_local2 * 20)); var _local4:* = a19.a166.a442; _local4.a50((_local4.a251() + _local3)); _local4 = _local1.a571().a531; var _local5 = _local4.iterator(); do { //unresolved if var _local6 = _local5.next(); var _local7:* = a249.a386((200 - 100), (200 + 100)); var _local8:* = a249.a386(-70, -30); var _local11 = _local6.tag; var _local10 = _local6.params; var _local9 = ((_local11)=="A33") ? var _local12 = _local10[0]; var _local13 = _local10[1]; var _local14 = _local10[2]; var _local15 = _local10[3]; a87(a101(_local7, _local8, _local12), _local13, _local14, _local15) : ((_local11)=="A25") ? _local12 = _local10[0]; _local13 = _local10[1]; _local14 = _local10[2]; _local15 = _local10[3]; a87(a509(_local7, _local8, _local12), _local13, _local14, _local15) : ((_local11)=="A47") ? _local12 = _local10[0]; _local13 = _local10[1]; _local14 = _local10[2]; _local15 = _local10[3]; a87(a539(_local7, _local8, _local12), _local13, _local14, _local15) : null; } while (true); }; } public function a545(){ var _local1:* = new A36(); _local1.a313 = "Air tower"; var _local2:* = a69(); var _local3:* = new A21(_local1, _local2.a294, _local2.a558); _local3.a550(A20.a269()); _local3.a569(A20.a348()); _local1.a212 = A20.a38; _local1.a98([10, 20, 30, 50, 150]); _local1.a244 = false; _local1.a536([120, 120, 120, 120, 140]); _local1.a56([10, 30, 50, 100, 250]); _local1.a392([20, 20, 20, 20, 20]); _local1.a474 = 4; return (_local3); } public function a542(_arg1){ a283 = _arg1; if ((_arg1 == ??getglobalscope .A41.A57)){ a278(null); } else { a278(a180().a225); }; } public function a539(_arg1, _arg2, _arg3){ var _local4:* = a478(_arg1, _arg2, _arg3); var _local5:* = _local4.a208; var _local6:* = a69(); _local5.a313 = "Flying monster"; _local5.a18(true); _local5.a302(_local6.a314()); _local4.a299(A0.a229()); return (_local5); } public function a535(){ if (a317){ a571(); } else { a317 = true; a506.a173("next"); a45(); }; } public function a530(){ if (!((a51 == null))){ a240.removeChild(a51); a51 = null; }; a240.clear(); resets = (resets - 1); if ((resets <= 0)){ A42.a334(A48.a71); A42.GAME_OPTIONS.ad_finished = ad_finished; Mochiad.showTimedAd(A42.GAME_OPTIONS); resets = 2; } else { ad_finished(); }; stage.removeEventListener(Event.ENTER_FRAME, a411); } public function a518(){ var _local1:* = []; var _local2 = a19.a303.iterator(); do { //unresolved if var _local3 = _local2.next(); var _local4:* = _local3.a442; _local4.a411(); if (!(_local4.a208.a131())){ a240.remove(_local4); _local1.push(_local3.a493); }; } while (true); _local2 = a19.a233.iterator(); do { //unresolved if _local3 = _local2.next(); _local4 = _local3.a442; _local4.a411(); if (!(_local4.a368.a296)){ a240.remove(_local4); _local1.push(_local3.a493); }; } while (true); _local2 = a19.a86.iterator(); do { //unresolved if _local3 = _local2.next(); _local4 = _local3.a442; _local4.a411(); } while (true); _local2 = a19.a281.a442; _local2.a411(); _local3 = a19.a405.a442; _local3.a411(); a19.a469(_local1); a107(); } public function a515(){ var _local1:* = new A36(); _local1.a313 = "Fire tower"; var _local2:* = a69(); var _local3:* = new A21(_local1, _local2.a294, _local2.a558); _local3.a550(A20.a361()); _local3.a569(A20.a222()); _local1.a212 = A20.a507; _local1.a98([10, 20, 30, 50, 100]); _local1.a536([100, 110, 120, 130, 140]); _local1.a56([10, 30, 80, 150, 350]); _local1.a392([20, 25, 33, 40, 50]); _local1.a16 = [new A31(??getglobalscope .A18.A3(1.1, 20)), new A31(??getglobalscope .A18.A3(1.4, 30)), new A31(??getglobalscope .A18.A3(1.6, 40)), new A31(??getglobalscope .A18.A3(1.75, 50)), new A31(??getglobalscope .A18.A3(2, 60))]; _local1.a474 = 4; return (_local3); } public function a509(_arg1, _arg2, _arg3){ var _local4:* = a478(_arg1, _arg2, _arg3); var _local5:* = _local4.a208; _local5.a8 = true; _local5.a313 = "immune monster"; _local4.a299(A0.a8()); return (_local5); } public function a505(){ a172 = a254; if ((a51 == null)){ a51 = new A4(a530, a454); a240.addChild(a51); a254 = true; }; } public function a498(){ var _local1:* = a69(); var _local2:* = new A7(_local1.a294, _local1.a558); a240.a68((a240.a340 - 1), _local2); var _local3:* = new A28(A15.a219()); _local3.a46 = [??getglobalscope .A53.A7({a442:_local2, a493:_local3})]; a19.a332(_local3); } public function a497(_arg1, _arg2){ var _local3:* = a69(); var _local4:* = _local3.a417(_arg1, _arg2); var _local5:* = []; do { //unresolved if _local5.push(_local4); _local4 = _local3.a304[_local4]; } while (true); return (_local5); } public function a480(){ a406(2, 2, ??getglobalscope .A5.A39(1.5)); a406(2, 2, ??getglobalscope .A5.A58(0.7)); a406(3, 2, ??getglobalscope .A5.A39(1.5)); a406(3, 2, ??getglobalscope .A5.A58(0.7)); a406(2, 3, ??getglobalscope .A5.A39(1.5)); a406(2, 3, ??getglobalscope .A5.A58(0.7)); a406(3, 3, ??getglobalscope .A5.A39(1.5)); a406(3, 3, ??getglobalscope .A5.A58(0.7)); a406(7, 5, ??getglobalscope .A5.A58(1.5)); a406(7, 5, ??getglobalscope .A5.A40(1.5)); a406(6, 6, ??getglobalscope .A5.A58(1.5)); a406(6, 6, ??getglobalscope .A5.A40(1.5)); a406(7, 7, ??getglobalscope .A5.A58(1.5)); a406(7, 7, ??getglobalscope .A5.A40(1.5)); a406(7, 6, ??getglobalscope .A5.A39(1.2)); a406(7, 6, ??getglobalscope .A5.A9(0.7)); a406(6, 5, ??getglobalscope .A5.A9(1.2)); a406(6, 5, ??getglobalscope .A5.A39(0.7)); a406(6, 7, ??getglobalscope .A5.A9(1.2)); a406(6, 7, ??getglobalscope .A5.A39(0.7)); a406(7, 14, ??getglobalscope .A5.A40(1.5)); a406(6, 14, ??getglobalscope .A5.A40(1.5)); a406(6, 15, ??getglobalscope .A5.A40(1.5)); a406(0, 7, ??getglobalscope .A5.A40(0.5)); a406(0, 8, ??getglobalscope .A5.A40(0.5)); a406(0, 9, ??getglobalscope .A5.A40(0.5)); a406(2, 8, ??getglobalscope .A5.A58(1.3)); a406(2, 8, ??getglobalscope .A5.A39(0.7)); a406(3, 8, ??getglobalscope .A5.A58(1.3)); a406(3, 8, ??getglobalscope .A5.A39(0.7)); a406(4, 10, ??getglobalscope .A5.A58(1.3)); a406(4, 10, ??getglobalscope .A5.A39(0.7)); a406(5, 10, ??getglobalscope .A5.A58(1.3)); a406(5, 10, ??getglobalscope .A5.A39(0.7)); a406(1, 14, ??getglobalscope .A5.A58(1.3)); a406(1, 15, ??getglobalscope .A5.A58(1.3)); a406(0, 14, ??getglobalscope .A5.A39(1.3)); a406(0, 15, ??getglobalscope .A5.A39(1.3)); } public function a478(_arg1, _arg2, _arg3){ var _local4:* = new A54({y:_arg2, x:_arg1}, _arg3); var _local5:* = new A8(_local4); a240.a68(4, _local5); var _local6:* = new A28(A15.a219()); _local6.a46 = [??getglobalscope .A53.A54({a442:_local4, a493:_local6}), ??getglobalscope .A53.A8({a442:_local5, a493:_local6})]; a19.a332(_local6); return (_local5); } public function a467(_arg1){ a182(_arg1.a442.a517); var _local2:* = _arg1.a493.a46; var _local3:* = null; var _local4 = _local2.iterator(); do { //unresolved if var _local5 = _local4.next(); var _local7 = _local5.tag; var _local6 = _local5.params; if (_local7 == "A36"){ var _local8 = _local6[0]; _local3 = _local8.a442; break; } else { null; }; } while (true); if (!((_local3 == null))){ a236 = a236.a533(((_local3.a253.a58) || (((_local3.a472.a58) || (_local3.a560.a58))))); }; a14(_arg1); } public function a466(){ var _local1:* = 15; var _local2:* = 16; var _local3:* = new A19(_local1, _local2, 400, 427); _local3.a246(); var _local4:* = new A2(_local3); a240.a68(0, _local4); var _local5:* = A15.a219(); var _local6:* = new A28(_local5); var _local7:* = ??getglobalscope .A53.A19({a442:_local3, a493:_local6}); var _local8:* = ??getglobalscope .A53.A2({a442:_local4, a493:_local6}); _local6.a46 = [_local7, _local8]; a19.a332(_local6); } public function a460(_arg1, _arg2, _arg3){ var _local4:* = A15.a219(); var _local5:* = a69(); var _local6:* = new A45(_arg3, _local5.a294, _local5.a558); a240.a68(0, _local6); var _local7:* = ((0.5 + (_arg1 * _local5.a294)) + (0.5 * _local5.a294)); var _local8:* = ((0.5 + (_arg2 * _local5.a558)) + (0.5 * _local5.a558)); _local6.a290({y:_local8, x:_local7}); var _local9:* = new A28(_local4); var _local10:* = ??getglobalscope .A53.A5({a442:_arg3, a493:_local9}); var _local11:* = ??getglobalscope .A53.A45({a442:_local6, a493:_local9}); _local9.a46 = [_local10, _local11, ??getglobalscope .A53.A38({a442:new A38(_arg1, _arg2), a493:_local9})]; a19.a332(_local9); } public function a457(_arg1, _arg2){ var _local3:* = a69(); var _local4:* = a180(); var _local5:* = _local4.a225; var _local6:* = a19.a281.a442; var _local7:* = _local6.a166; var _local8:* = a145(_arg1, _arg2); var _local9:* = 1; var _local10 = _local8.iterator(); do { //unresolved if var _local11 = _local10.next(); var _local13 = _local11.tag; var _local12 = _local11.params; if (_local13 == "A40"){ var _local14 = _local12[0]; _local9 = _local14; break; } else { null; }; } while (true); _local3.a488(_arg1, _arg2); _local3.a246(); if (((_local3.a551()) || ((((_local3.a377(_arg1, _arg2) > 1)) || (((a72()) || (((_local3.a276(_arg1, _arg2)) || (((_local9 * _local5.a224()) > _local7.a402())))))))))){ _local3.a479(_arg1, _arg2); return (null); } else { _local10 = ((0.5 + (_arg1 * _local3.a294)) + (0.5 * _local3.a294)); _local11 = ((0.5 + (_arg2 * _local3.a558)) + (0.5 * _local3.a558)); if (!((_local4 == null))){ _local5.a206 = _local8; _local5.a266 = {y:_local11, x:_local10}; _local4.a411(); a240.a68(3, _local4); _local12 = new A28(A15.a219()); _local12.a46 = [??getglobalscope .A53.A36({a442:_local5, a493:_local12}), ??getglobalscope .A53.A21({a442:_local4, a493:_local12}), ??getglobalscope .A53.A38({a442:new A38(_arg1, _arg2), a493:_local12})]; a19.a332(_local12); a107(); _local13 = _local7; _local13.a103((_local13.a402() - _local5.a224())); _local6.a411(); _local5.a185 = true; }; return (_local4); }; } public function a454(){ a240.removeChild(a51); a51 = null; a254 = a172; } public function a45(){ if (a317){ if (a254){ a218(); } else { a200(); }; } else { a535(); }; } public function a430(){ var _local1:* = new A36(); _local1.a313 = "Basic tower"; _local1.a98([5, 10, 15, 20, 100]); _local1.a536([80, 90, 100, 110, 120]); _local1.a56([5, 10, 30, 60, 200]); _local1.a392([20, 25, 33, 40, 50]); _local1.a474 = 4; _local1.a212 = A20.a289; var _local2:* = a69(); var _local3:* = new A21(_local1, _local2.a294, _local2.a558); _local3.a550(A20.a495()); _local3.a569(A20.a463()); return (_local3); } public function a411(_arg1=null){ try { if (!(a254)){ a365(); }; a518(); } catch(#InvalidMultinameIndex#) { !ERROR! null; }; } public function a406(_arg1, _arg2, _arg3){ a460(_arg1, _arg2, _arg3); if (!((_arg1 == 7))){ a460((14 - _arg1), _arg2, _arg3); }; } public function a404(_arg1){ var _local2:* = a19.a157.a442; _local2.a488(_arg1); } public function a379(_arg1){ var _local2:* = new A59(_arg1); var _local3:* = new A1(_local2); _local3.a576(_arg1.a212()); a240.a68(3, _local3); var _local4:* = new A28(A15.a219()); _local4.a46 = [??getglobalscope .A53.A59({a442:_local2, a493:_local4}), ??getglobalscope .A53.A1({a442:_local3, a493:_local4})]; a19.a332(_local4); } public function a365(){ var _local1:* = a19.a166.a442; if ((_local1.a402() < 0)){ a271.a194(); a45(); } else { if (((!(a19.a341.a442.a462())) && ((a19.a403.length == 0)))){ a258.a194(); a200(); }; }; var _local2:* = a19.a211(); var _local3:* = a69(); a360(); a388.a411(); a333(); var _local4 = a19.a554.iterator(); do { //unresolved if var _local5 = _local4.next(); var _local6:* = _local5.a442; _local6.a411(); if (!(_local6.a541)){ if ((_local6.a119 <= 0)){ _local6.a121(); } else { var _local7:* = a19.a403; var _local8:* = 0; var _local9:* = _local7.length; do { //unresolved if var _local10:* = _local8; _local8++; var _local11:* = _local7[_local10].a442; if (((((((_local11.a85()) && (_local6.a501))) || (((_local11.a40()) && (_local6.a244))))) && (_local11.a104.hitTestObject(_local6.a104)))){ if (!(((_local11.a561.a499()) || (((_local6.a561.a91()) || (_local11.a8)))))){ _local11.a207(_local6.a561); }; _local6.a179(); _local11.a256(_local6.a362); break; }; } while (true); }; }; } while (true); _local4 = a19.a403.iterator(); do { //unresolved if _local5 = _local4.next(); _local6 = _local5.a442; if ((_local6.a119 <= _local6.a523)){ _local7 = _local3.a288(_local6.a266.x, _local6.a266.y); _local6.a302(_local7); _local8 = _local3.a372(Math.floor(_local6.a266.x), Math.floor(_local6.a266.y)); _local9 = _local3.a304[_local8]; if ((_local8 == _local9)){ a182(-(_local6.a124)); _local6.a371 = true; _local6.a121(); }; }; if ((_local6.a119 > _local6.a523)){ _local6.a482(); }; if (!(((_local6.a131()) || (_local6.a371)))){ a99(_local6.a61); a182(_local6.a112); }; } while (true); } public function a360(){ var _local7:* = a19.a201; var _local8:* = 0; var _local9:* = _local7.length; do { //unresolved if var _local10:* = _local8; _local8++; var _local11:* = _local7[_local10].a442; var _local1:* = _local11.a154(); var _local2:* = (_local1 * _local1); var _local3:* = _local11.a266.x; var _local4:* = _local11.a266.y; _local11.a411(); if ((_local11.a42 <= 0)){ a467(_local7[_local10]); }; if (((!((_local11.a320 == null))) && ((_local11.a93 <= 0)))){ if (_local11.a320.a131()){ _local11.a93 = _local11.a395(); a379(_local11); } else { _local11.a320 = null; }; } else { _local11.a93 = (_local11.a93 - 1); }; if ((_local11.a187() > _local2)){ _local11.a320 = null; var _local12 = a19.a303.iterator(); do { //unresolved if var _local13 = _local12.next(); var _local14:* = _local13.a442; if (((((_local14.a208.a85()) && (_local11.a501))) || (((_local14.a208.a40()) && (_local11.a244))))){ var _local5:* = (_local14.a208.a266.x - _local3); var _local6:* = (_local14.a208.a266.y - _local4); if ((((_local5 * _local5) + (_local6 * _local6)) < _local2)){ _local11.a320 = _local14.a208; break; }; }; } while (true); }; } while (true); } public function a358(_arg1){ var _local2 = _arg1.keyCode; if (_local2 == 85){ if (!((a388.a134() == null))){ a7(a388.a134()); }; } else { if (_local2 == 78){ a535(); } else { if (_local2 == 49){ a430(); a542(??getglobalscope .A41.A29); } else { if (_local2 == 50){ a515(); a542(??getglobalscope .A41.A56); } else { if (_local2 == 51){ a114(); a542(??getglobalscope .A41.A52); } else { if (_local2 == 52){ a545(); a542(??getglobalscope .A41.A37); } else { if (_local2 == 53){ a267(); a542(??getglobalscope .A41.A22); } else { if (_local2 == 80){ a45(); } else { if (_local2 == 83){ if (!((a388.a134() == null))){ a146(a388.a134()); }; //unresolved jump }; }; }; }; }; }; }; }; }; } public function a352(_arg1, _arg2){ var _local3:* = Std.string(A10.a286(Std.parseInt(Std.string(_arg2)))); _arg1(_local3); } public function a343(){ A42.a334(A48.a71); a258.a381(); a530(); } public function a333(){ var _local1:* = a19.a405.a442; var _local2:* = _local1.a341; if (_local2.a462()){ if ((_local2.a188 > 0)){ var _local3:* = _local2; _local3.a396((_local3.a188 - 1)); } else { a571(); }; }; } public function a308(_arg1=null){ var _local2:* = a19.a303; var _local3:* = null; var _local4 = _local2.iterator(); do { //unresolved if var _local5 = _local4.next(); var _local6:* = _local5.a442; if (_local6.a573.hitTestPoint(stage.mouseX, stage.mouseY)){ _local3 = _local6.a208; break; }; } while (true); if (!((_local3 == null))){ a388.a450(_local3); a19.a157.a442.a516(null); } else { _local4 = a69(); _local5 = Math.floor(a240.mouse_x()); _local6 = Math.floor(a240.mouse_y()); if ((((_local4.a537(_local5) == _local5)) && ((_local4.a549(_local6) == _local6)))){ var _local7:* = _local4.a372(Math.floor(_local5), Math.floor(_local6)); var _local8:* = _local4.a203(_local7); if ((_local4.a322[_local7] == 0)){ if ((a283 == ??getglobalscope .A41.A57)){ a388.a516(a19.a157.a442.a516(null)); } else { a457(_local8.x, _local8.y); }; } else { var _local9:* = a19.a221; var _local10:* = null; var _local11:* = null; var _local12 = _local9.iterator(); do { //unresolved if var _local13 = _local12.next(); if ((((_local13.a442.x == _local8.x)) && ((_local13.a442.y == _local8.y)))){ var _local14 = _local13.a493.a46.iterator(); do { //unresolved if var _local15 = _local14.next(); var _local17 = _local15.tag; var _local16 = _local15.params; if (_local17 == "A21"){ var _local18 = _local16[0]; _local11 = _local18.a442; } else { if (_local17 == "A36"){ _local18 = _local16[0]; _local10 = _local18.a442; } else { null; }; }; } while (true); if (!((_local10 == null))){ _local14 = a19.a157.a442; if ((_local14.a225 == _local10)){ a388.a516(a19.a157.a442.a516(null)); } else { _local14.a516(_local10); _local14.a297 = false; a388.a516(_local10); }; a107(); a283 = ??getglobalscope .A41.A57; break; }; }; } while (true); }; }; }; } public function a278(_arg1){ var _local2:* = a19.a157.a442; a388.a516(_arg1); _local2.a516(_arg1); } public function a267(){ var _local1:* = new A36(); _local1.a313 = "Earth tower"; var _local2:* = a69(); var _local3:* = new A21(_local1, _local2.a294, _local2.a558); _local3.a550(A20.a475()); _local3.a569(A20.a383()); _local1.a212 = A20.a67; _local1.a98([10, 20, 30, 50, 100]); _local1.a501 = false; _local1.a536([120, 120, 120, 140, 160]); _local1.a56([20, 40, 80, 150, 250]); _local1.a325([4, 4, 4, 5, 6]); _local1.a392([50, 50, 50, 50, 50]); _local1.a474 = 4; return (_local3); } public function a238(){ a240.addChild(a177()); var _local1:* = new Sprite(); _local1.graphics.lineStyle(2, 128); _local1.graphics.beginFill(0, 0.7); _local1.graphics.drawRect(0, 0, 230, (stage.height - 2)); a240.addChild(_local1); var _local2:* = new A16(a430(), 30, 20, function (_arg1, _arg2){ var f = _arg1; var a1 = _arg2; return (function (){ return (f(a1)); }); }(a542, ??getglobalscope .A41.A29)); _local2.x = 20; _local2.y = 50; a240.addChild(_local2); var _local3:* = new A16(a515(), 30, 20, function (_arg1, _arg2){ var f = _arg1; var a1 = _arg2; return (function (){ return (f(a1)); }); }(a542, ??getglobalscope .A41.A56)); _local3.x = 60; _local3.y = 50; a240.addChild(_local3); var _local4:* = new A16(a114(), 30, 20, function (_arg1, _arg2){ var f = _arg1; var a1 = _arg2; return (function (){ return (f(a1)); }); }(a542, ??getglobalscope .A41.A52)); _local4.x = 100; _local4.y = 50; a240.addChild(_local4); var _local5:* = new A16(a545(), 30, 20, function (_arg1, _arg2){ var f = _arg1; var a1 = _arg2; return (function (){ return (f(a1)); }); }(a542, ??getglobalscope .A41.A37)); _local5.x = 140; _local5.y = 50; a240.addChild(_local5); var _local6:* = new A16(a267(), 30, 20, function (_arg1, _arg2){ var f = _arg1; var a1 = _arg2; return (function (){ return (f(a1)); }); }(a542, ??getglobalscope .A41.A22)); _local6.x = 180; _local6.y = 50; a240.addChild(_local6); a388 = new A49(this); a240.addChild(a388); a388.x = 20; a388.y = 75; a506 = new A12("start", a535); a506.x = 10; a240.addChild(a506); var _local7:* = new A12("reset", a505); _local7.x = 70; a240.addChild(_local7); a511 = new A12("continue", a45); a511.x = 140; var _local8:* = 10; _local7.y = _local8; a511.y = _local8; a506.y = _local8; a240.addChild(a511); a21 = new A12("mute", a162); a21.x = 20; a21.y = 450; a240.addChild(a21); a162(); a162(); } public function a231(){ var _local1:* = function (_arg1, _arg2){ var _local3:* = []; var _local4:* = 0; var _local5:* = _arg2; do { //unresolved if var _local6:* = _local4; _local4++; _local3.push(_arg1); } while (true); return (_local3); }; var _local2:* = new A55(); var _local3:* = new A28(A15.a219()); var _local4:* = 0x333333; var _local5:* = 8926088; var _local6:* = 5592490; _local2.a291("normal", _local1(??getglobalscope .A27.A33(1, 10, 5, 10), 4), _local4); _local2.a291("normal", _local1(??getglobalscope .A27.A33(1, 10, 5, 10), 5), _local4); _local2.a291("normal", _local1(??getglobalscope .A27.A33(1, 10, 5, 10), 7), _local4); _local2.a291("normal", _local1(??getglobalscope .A27.A33(2, 15, 10, 20), 5), _local4); _local2.a291("immune", _local1(??getglobalscope .A27.A25(2, 15, 15, 20), 5), _local5); _local2.a291("flying", _local1(??getglobalscope .A27.A47(2, 15, 20, 20), 6), _local6); _local2.a291("boss", _local1(??getglobalscope .A27.A33(10, 75, 30, 40), 1), _local4); _local2.a291("flying", _local1(??getglobalscope .A27.A47(5, 15, 15, 30), 4), _local6); _local2.a291("normal", _local1(??getglobalscope .A27.A33(6, 15, 15, 20), 5), _local4); _local2.a291("immune", _local1(??getglobalscope .A27.A25(7, 20, 25, 30), 5), _local5); _local2.a291("flying", _local1(??getglobalscope .A27.A47(8, 25, 30, 40), 4), _local6); _local2.a291("boss", _local1(??getglobalscope .A27.A25(25, 150, 100, 100), 1), _local5); _local2.a291("flying", _local1(??getglobalscope .A27.A47(10, 20, 15, 30), 5), _local6); _local2.a291("normal", _local1(??getglobalscope .A27.A33(12, 20, 15, 20), 5), _local4); _local2.a291("normal", _local1(??getglobalscope .A27.A33(13, 20, 25, 30), 5), _local4); _local2.a291("flying", _local1(??getglobalscope .A27.A47(15, 25, 30, 40), 4), _local6); _local2.a291("boss", _local1(??getglobalscope .A27.A33(40, 200, 150, 150), 1), _local4); _local2.a291("boss", _local1(??getglobalscope .A27.A47(40, 300, 300, 300), 1), _local6); _local2.a291("flying", _local1(??getglobalscope .A27.A47(20, 25, 15, 60), 5), _local6); _local2.a291("normal", _local1(??getglobalscope .A27.A33(25, 25, 15, 60), 6), _local4); _local2.a291("immune", _local1(??getglobalscope .A27.A25(25, 25, 25, 70), 6), _local5); _local2.a291("normal", _local1(??getglobalscope .A27.A33(25, 30, 30, 100), 8), _local4); _local3.a46 = [??getglobalscope .A53.A55({a442:_local2, a493:_local3})]; a19.a332(_local3); var _local7:* = new A14(_local2); _local7.a411(); a240.addChild(_local7); var _local8:* = new A28(A15.a219()); _local8.a46 = [??getglobalscope .A53.A14({a442:_local7, a493:_local8})]; a19.a332(_local8); return (_local2); } public function a220(_arg1){ var _local2:* = 237728; var _local3:* = new TextFormat("Font01", 12); _arg1.embedFonts = true; _arg1.defaultTextFormat = _local3; _arg1.textColor = _local2; _arg1.autoSize = "left"; _arg1.mouseEnabled = false; } public function a218(){ a511.a173("pause"); a254 = false; } public function a209(_arg1=null){ a107(); } public function a200(){ a511.a173("continue"); a254 = true; } public function a182(_arg1){ var _local2:* = a19.a166.a442; var _local3:* = _local2; _local3.a103((_local3.a402() + _arg1)); } public function a180(){ var _local1:* = null; a19.a157.a442.a297 = true; var _local2 = a283; if (_local2 == A41.A29){ _local1 = a430(); } else { if (_local2 == A41.A56){ _local1 = a515(); } else { if (_local2 == A41.A52){ _local1 = a114(); } else { if (_local2 == A41.A37){ _local1 = a545(); } else { if (_local2 == A41.A22){ _local1 = a267(); } else { a19.a157.a442.a297 = false; }; }; }; }; }; return (_local1); } public function a177(){ var _local1:* = new Sprite(); _local1.graphics.lineStyle(2, 128); _local1.graphics.beginFill(0, 0.7); _local1.graphics.drawRect(0, 0, 500, 30); _local1.x = 230; var _local2:* = new A44(); var _local3:* = new A11(_local2); a240.addChild(_local3); _local3.x = 20; _local3.y = 5; _local1.addChild(_local3); var _local4:* = new A28(A15.a219()); _local4.a46 = [??getglobalscope .A53.A44({a442:_local2, a493:_local4}), ??getglobalscope .A53.A11({a442:_local3, a493:_local4})]; a19.a332(_local4); return (_local1); } public function a162(){ GameSounds.a373 = !(GameSounds.a373); if (GameSounds.a373){ a21.a173("unmute"); } else { a21.a173("mute"); }; } public function a150(_arg1=null){ var _local2:* = a19.a157.a442; if (_local2.a297){ _local2.visible = false; }; } public function a146(_arg1){ _arg1.a508(); } public function a145(_arg1, _arg2){ var _local3:* = a19.a6; var _local4:* = []; var _local5 = _local3.iterator(); do { //unresolved if var _local6 = _local5.next(); var _local7:* = null; var _local8 = _local6.a493.a46.iterator(); do { //unresolved if var _local9 = _local8.next(); var _local11 = _local9.tag; var _local10 = _local9.params; if (_local11 == "A38"){ var _local12 = _local10[0]; _local7 = _local12.a442; break; } else { null; }; } while (true); if (((!((_local7 == null))) && ((((_local7.x == _arg1)) && ((_local7.y == _arg2)))))){ _local4.push(_local6.a442); }; } while (true); return (_local4); } public function a14(_arg1){ var _local2:* = a69(); var _local3:* = a19.a157.a442; if ((_local3.a225 == _arg1.a442)){ _local3.a516(null); }; if ((a388.a134() == _arg1.a442)){ a388.a516(null); }; var _local4 = _arg1.a493.a46.iterator(); do { //unresolved if var _local5 = _local4.next(); var _local7 = _local5.tag; var _local6 = _local5.params; if (_local7 == "A21"){ var _local8 = _local6[0]; a240.remove(_local8.a442); } else { if (_local7 == "A38"){ _local8 = _local6[0]; _local2.a479(_local8.a442.x, _local8.a442.y); } else { null; }; }; } while (true); a19.a272(_arg1.a493); } public function a127(_arg1, _arg2){ var a277 = _arg1; var a446 = _arg2; var _local3:* = A48.a71; var a442:* = AsyncConnection.amfConnect((("http://" + _local3) + "/amfphp/gateway.php")); a442.setErrorHandler(function (_arg1){ null; }); var _local4:* = a19.a166.a442; var a566:* = _local4.a251(); var _local5:* = A10.a286(_local4.a105.a418); var a3821 = (_local4.a105.a58) ? (_local5 + 11) : _local5; var a387:* = _local4.a402(); var _local6:* = A10.a286(_local4.a470.a418); var a1111 = (_local4.a470.a58) ? (_local6 + 15) : _local6; var a301:* = Std.string((a236.a58) ? (((a249.a135(5000) * 7) + a249.a135(7)) + 1) : (a249.a135(5000) * 7)); a301 = (a301 + ((StringTools.hex((a249.a135(6) + 10)) + "") + StringTools.hex(a249.a135(50000)))); var _local7:* = function (_arg1){ var _local2:* = ((((((((((((a277 + ",") + a446) + ",") + a566) + ",") + a3821) + ",") + a387) + ",") + a1111) + ",") + a301); var _local3:* = Md5.encode((_local2 + _arg1)); _local2 = (_local2 + ("," + _local3)); a442.__resolve("A32").__resolve("submit_v1").call([_local2], A42.a4); }; a442.__resolve("A32").__resolve("a255").call([], function (_arg1, _arg2){ var f = _arg1; var a1 = _arg2; return (function (_arg1){ return (f(a1, _arg1)); }); }(a352, _local7)); A42.a334(_local3); a258.a381(); a530(); } public function a114(){ var _local1:* = new A36(); _local1.a313 = "Water tower"; var _local2:* = a69(); var _local3:* = new A21(_local1, _local2.a294, _local2.a558); _local3.a550(A20.a193()); _local3.a569(A20.a215()); _local1.a212 = A20.a496; _local1.a98([10, 20, 30, 60, 150]); _local1.a536([80, 90, 100, 110, 120]); _local1.a56([5, 10, 20, 30, 50]); _local1.a392([20, 20, 20, 20, 20]); _local1.a16 = [new A31(??getglobalscope .A18.A3(0.8, 20)), new A31(??getglobalscope .A18.A3(0.75, 25)), new A31(??getglobalscope .A18.A3(0.7, 25)), new A31(??getglobalscope .A18.A3(0.6, 25)), new A31(??getglobalscope .A18.A3(0.2, 25))]; _local1.a474 = 4; return (_local3); } public function a107(){ var _local1:* = a19.a157.a442; var _local2:* = a19.a367.a442; var _local3:* = Math.floor(a240.mouse_x()); var _local4:* = Math.floor(a240.mouse_y()); var _local5:* = _local2.a434(_local3, _local4); if (_local1.a297){ var _local6:* = (_local5.x + (0.5 * _local2.a294)); var _local7:* = (_local5.y + (0.5 * _local2.a558)); var _local8:* = a145(Math.floor((_local6 / _local2.a294)), Math.floor((_local7 / _local2.a558))); _local1.a290({y:_local7, x:_local6}); if (!((_local1.a225 == null))){ _local1.a225.a206 = _local8; }; if (!((a388.a134() == null))){ a388.a134().a206 = _local8; a388.a411(); }; a404(!((_local2.a322[_local2.a372(_local3, _local4)] == 0))); }; _local1.visible = true; if ((((((_local2.a203(_local2.a372(_local3, _local4)).y == 0)) || (((!((_local2.a537(_local3) == _local3))) || (!((_local2.a549(_local4) == _local4))))))) && (_local1.a297))){ _local1.visible = false; }; _local1.a411(); } public function a101(_arg1, _arg2, _arg3){ var _local4:* = a478(_arg1, _arg2, _arg3); var _local5:* = _local4.a208; _local5.a313 = "Normal monster"; _local4.a299(A0.a514()); return (_local5); } public static function __construct__(_arg1){ return (new A42(_arg1[0])); } public static function a4(_arg1){ null; } public static function a334(_arg1){ var _local2:* = new LoaderInfo().url; if ((((_local2.indexOf(("http://" + _arg1)) >= 0)) || ((((_local2.indexOf(("http://www." + _arg1)) >= 0)) || ((_arg1 == "")))))){ null; } else { var _local3:* = new LocalConnection(); _local3.allowDomain("*"); Security.loadPolicyFile("http://www.twistedline.com/crossdomain.xml"); Lib.getURL(new URLRequest(("http://www." + _arg1)), "_top"); }; } public static function a235(){ var _local1:* = A48.a71; var _local2:* = new LoaderInfo().url; return ((((_local2.indexOf(("http://" + _local1)) >= 0)) || ((_local2.indexOf(("http://www." + _local1)) >= 0)))); } } class Http { public var url; public var params; public var onStatus; public var onError; public var onData; public var headers; public function Http(_arg1){ if (Boot_DA61EA.skip_constructor){ return; }; onData = function (_arg1){ }; onError = function (_arg1){ }; onStatus = function (_arg1){ }; url = _arg1; headers = new Hash(); params = new Hash(); } public function setParameter(_arg1, _arg2){ params.set(_arg1, _arg2); } public function setHeader(_arg1, _arg2){ headers.set(_arg1, _arg2); } public function request(_arg1){ var me:* = this; var loader:* = new URLLoader(); loader.addEventListener("complete", function (_arg1){ me.onData(loader.data); }); loader.addEventListener("httpStatus", function (_arg1){ if (!((_arg1.status == 0))){ me.onStatus(_arg1.status); }; }); loader.addEventListener("ioError", function (_arg1){ me.onError(_arg1.text); }); loader.addEventListener("securityError", function (_arg1){ me.onError(_arg1.text); }); var _local3:* = false; var _local4:* = new URLVariables(); var _local5 = params.keys(); do { //unresolved if var _local6 = _local5.next(); _local3 = true; Reflect.setField(_local4, _local6, params.get(_local6)); } while (true); _local5 = url; if (((_local3) && (!(_arg1)))){ _local6 = url.split("?"); if ((_local6.length > 1)){ _local5 = _local6.shift(); _local4.decode(_local6.join("?")); }; }; _local6 = _local5.split("xxx"); var _local7:* = new URLRequest(_local5); var _local8 = headers.keys(); do { //unresolved if var _local9 = _local8.next(); _local7.requestHeaders.push(new URLRequestHeader(_local9, headers.get(_local9))); } while (true); _local7.data = _local4; _local7.method = (_arg1) ? "POST" : "GET"; try { loader.load(_local7); } catch(#InvalidMultinameIndex#) { _local8 = !NULL!; onError(("Exception: " + Std.string(_local8))); }; } public static function __construct__(_arg1){ return (new Http(_arg1[0])); } } class Lib { public static var current; public function Lib(){ if (Boot_DA61EA.skip_constructor){ return; }; } public static function __construct__(_arg1){ return (new Lib()); } public static function getTimer(){ return (getTimer()); } public static function eval(_arg1){ var _local3:* = _arg1.split("."); var _local4:* = new Array(); var _local5:* = null; do { //unresolved if try { _local5 = getDefinitionByName(_local3.join(".")); } catch(#InvalidMultinameIndex#) { !ERROR! _local4.unshift(_local3.pop()); }; if (!((_local5 == null))){ break; }; } while (true); if ((_local5 == null)){ return (null); }; _local6 = _local4.iterator(); do { //unresolved if var _local7 = _local6.next(); _local5 = _local5[_local7]; } while (true); return (_local5); } public static function getURL(_arg1, _arg2=null){ var _local3:* = navigateToURL; if ((_arg2 == null)){ _local3(_arg1); } else { _local3(_arg1, _arg2); }; } public static function fscommand(_arg1, _arg2=null){ fscommand(_arg1, _arg2); } } class List { public var q; public var length; public var h; public function List(){ if (Boot_DA61EA.skip_constructor){ return; }; length = 0; } public function toString(){ var _local1:* = new StringBuf(); var _local2:* = true; var _local3:* = h; _local1.add("{"); do { //unresolved if if (_local2){ _local2 = false; } else { _local1.add(", "); }; _local1.add(_local3[0]); _local3 = _local3[1]; } while (true); _local1.add("}"); return (_local1.toString()); } public function remove(_arg1){ var _local2:* = null; var _local3:* = h; do { //unresolved if if ((_local3[0] == _arg1)){ if ((_local2 == null)){ h = _local3[1]; } else { _local2[1] = _local3[1]; }; if ((q == _local3)){ q = _local2; }; length = (length - 1); return (true); }; _local2 = _local3; _local3 = _local3[1]; } while (true); return (false); } public function push(_arg1){ var _local2:* = [_arg1, h]; h = _local2; if ((q == null)){ q = _local2; }; length = (length + 1); } public function pop(){ if ((h == null)){ return (null); }; var _local1:* = h[0]; h = h[1]; if ((h == null)){ q = null; }; length = (length - 1); return (_local1); } public function map(_arg1){ var _local2:* = new List(); var _local3:* = h; do { //unresolved if var _local4:* = _local3[0]; _local3 = _local3[1]; _local2.add(_arg1(_local4)); } while (true); return (_local2); } public function last(){ return (((q == null)) ? null : q[0]); } public function join(_arg1){ var _local2:* = new StringBuf(); var _local3:* = true; var _local4:* = h; do { //unresolved if if (_local3){ _local3 = false; } else { _local2.add(_arg1); }; _local2.add(_local4[0]); _local4 = _local4[1]; } while (true); return (_local2.toString()); } public function iterator(){ return ({next:function (){ if ((this.h == null)){ return (null); }; var _local1:* = this.h[0]; this.h = this.h[1]; return (_local1); }, hasNext:function (){ return (!((this.h == null))); }, h:h}); } public function isEmpty(){ return ((h == null)); } public function first(){ return (((h == null)) ? null : h[0]); } public function filter(_arg1){ var _local2:* = new List(); var _local3:* = h; do { //unresolved if var _local4:* = _local3[0]; _local3 = _local3[1]; if (_arg1(_local4)){ _local2.add(_local4); }; } while (true); return (_local2); } public function clear(){ h = null; length = 0; } public function add(_arg1){ var _local2:* = [_arg1, null]; if ((h == null)){ h = _local2; } else { q[1] = _local2; }; q = _local2; length = (length + 1); } public static function __construct__(_arg1){ return (new List()); } } class Serializer { public var useCache; public var shash; public var scount; public var cache; public var buf; public static var USE_CACHE; public function Serializer(){ if (Boot_DA61EA.skip_constructor){ return; }; buf = new StringBuf(); cache = new Array(); useCache = Serializer.USE_CACHE; shash = new Hash(); scount = 0; } public function toString(){ return (buf.toString()); } public function serializeString(_arg1){ var _local2:* = shash.get(_arg1); if (!((_local2 == null))){ buf.add("R"); buf.add(_local2); return; }; var _local3 = scount; scount = (_local3 + 1); shash.set(_arg1, _local3); buf.add("y"); _arg1 = StringTools.urlEncode(_arg1); buf.add(_arg1.length); buf.add(":"); buf.add(_arg1); } public function serializeRef(_arg1){ var _local2:* = 0; var _local3:* = cache.length; do { //unresolved if var _local4:* = _local2; _local2++; if ((cache[_local4] == _arg1)){ buf.add("r"); buf.add(_local4); return (true); }; } while (true); cache.push(_arg1); return (false); } public function serializeFields(_arg1){ var _local2 = Reflect.fields(_arg1).iterator(); do { //unresolved if var _local3 = _local2.next(); serializeString(_local3); serialize(Reflect.field(_arg1, _local3)); } while (true); buf.add("g"); } public function serializeException(_arg1){ buf.add("x"); if ((_arg1 is Error)){ serialize(_arg1.message); return; }; serialize(_arg1); } public function serializeClassFields(_arg1, _arg2){ var _local3:* = describeType(_arg2).factory; var _local4:* = _local3.child("variable"); var _local5:* = 0; var _local6:* = _local4.length(); do { //unresolved if var _local7:* = _local5; _local5++; var _local8:* = _local4[_local7].attribute("name").toString(); //unresolved if } while (true); serializeString(_local8); serialize(Reflect.field(_arg1, _local8)); //unresolved jump buf.add("g"); } public function serialize(_arg1){ var _local3 = Type.typeof(_arg1).tag; var _local2 = Type.typeof(_arg1).params; if (_local3 == "TNull"){ buf.add("n"); } else { if (_local3 == "TInt"){ if ((_arg1 == 0)){ buf.add("z"); return; }; buf.add("i"); buf.add(_arg1); } else { if (_local3 == "TFloat"){ if (Math.isNaN(_arg1)){ buf.add("k"); } else { if (!(Math.isFinite(_arg1))){ buf.add(((_arg1 < 0)) ? "m" : "p"); } else { buf.add("d"); buf.add(_arg1); }; }; } else { if (_local3 == "TBool"){ buf.add((_arg1) ? "t" : "f"); } else { if (_local3 == "TClass"){ var _local4 = _local2[0]; if ((_local4 == String)){ serializeString(_arg1); return; }; if (((useCache) && (serializeRef(_arg1)))){ return; }; var _local5 = _local4; if (_local5 == Array){ var _local6:* = 0; buf.add("a"); var _local7:* = _arg1["length"]; var _local8:* = 0; var _local9:* = _local7; do { //unresolved if var _local10:* = _local8; _local8++; if ((_arg1[_local10] == null)){ _local6++; } else { if ((_local6 > 0)){ if ((_local6 == 1)){ buf.add("n"); } else { buf.add("u"); buf.add(_local6); }; _local6 = 0; }; serialize(_arg1[_local10]); }; } while (true); if ((_local6 > 0)){ if ((_local6 == 1)){ buf.add("n"); } else { buf.add("u"); buf.add(_local6); }; }; buf.add("h"); } else { if (_local5 == List){ buf.add("l"); _local6 = _arg1.iterator(); do { //unresolved if _local7 = _local6.next(); serialize(_local7); } while (true); buf.add("h"); } else { if (_local5 == Date){ _local6 = _arg1; buf.add("v"); buf.add(_local6.toString()); } else { if (_local5 == Hash){ buf.add("b"); _local6 = _arg1.keys(); do { //unresolved if _local7 = _local6.next(); serializeString(_local7); serialize(_arg1.get(_local7)); } while (true); buf.add("h"); } else { if (_local5 == IntHash){ buf.add("q"); _local6 = _arg1.keys(); do { //unresolved if _local7 = _local6.next(); buf.add(":"); buf.add(_local7); serialize(_arg1.get(_local7)); } while (true); buf.add("h"); } else { if (_local5 == ByteArray){ buf.add("y"); _local6 = ""; _local7 = _arg1; _local8 = 0; _local9 = _local7.length; do { //unresolved if _local10 = _local8; _local8++; var _local11:* = _local7[_local10]; if ((((((_local11 >= 48)) && ((_local11 <= 57)))) || ((((((_local11 >= 65)) && ((_local11 <= 90)))) || ((((_local11 >= 97)) && ((_local11 <= 122)))))))){ _local6 = (_local6 + String.fromCharCode(_local11)); } else { _local6 = (_local6 + (("%" + (_local11 >> 4)) + (_local11 & 15))); }; } while (true); buf.add(_local6.length); buf.add(":"); buf.add(_local6); } else { cache.pop(); buf.add("c"); serialize(Type.getClassName(_local4)); cache.push(_arg1); serializeClassFields(_arg1, _local4); }; }; }; }; }; }; } else { if (_local3 == "TObject"){ if (((useCache) && (serializeRef(_arg1)))){ return; }; buf.add("o"); serializeFields(_arg1); } else { if (_local3 == "TEnum"){ _local4 = _local2[0]; if (((useCache) && (serializeRef(_arg1)))){ return; }; cache.pop(); buf.add("w"); serialize(Type.getEnumName(_local4)); serializeString(_arg1.tag); buf.add(":"); if ((_arg1.params == null)){ buf.add(0); } else { _local5 = _arg1.params.length; buf.add(_local5); _local6 = 0; _local7 = _local5; do { //unresolved if _local8 = _local6; _local6++; serialize(_arg1.params[_local8]); } while (true); }; cache.push(_arg1); } else { if (_local3 == "TFunction"){ throw ("Cannot serialize function"); } else { throw (("Cannot serialize " + Std.string(_arg1))); }; }; }; }; }; }; }; }; } public static function __construct__(_arg1){ return (new Serializer()); } public static function run(_arg1){ var _local2:* = new Serializer(); _local2.serialize(_arg1); return (_local2.toString()); } } class A48 { public var a90; public var a86; public var a6; public var a554; public var a548; public var a52; public var a405; public var a403; public var a367; public var a341; public var a303; public var a281; public var a233; public var a221; public var a201; public var a199; public var a166; public var a157; public static var a71; public function A48(){ if (Boot_DA61EA.skip_constructor){ return; }; a199 = []; a554 = []; a233 = []; a201 = []; a86 = []; a403 = []; a303 = []; a221 = []; a367 = null; a548 = null; a281 = null; a166 = null; a157 = null; a341 = null; a52 = []; a6 = []; a90 = []; } public function a469(_arg1){ if (!((((_arg1 == null)) || ((_arg1.length == 0))))){ var _local2 = _arg1.iterator(); do { //unresolved if var _local3 = _local2.next(); var _local4 = _local3.a46.iterator(); do { //unresolved if var _local5 = _local4.next(); var _local7 = _local5.tag; var _local6 = _local5.params; if (_local7 == "A36"){ var _local8 = _local6[0]; a201.remove(_local8); } else { if (_local7 == "A21"){ _local8 = _local6[0]; a86.remove(_local8); } else { if (_local7 == "A54"){ _local8 = _local6[0]; a403.remove(_local8); } else { if (_local7 == "A8"){ _local8 = _local6[0]; a303.remove(_local8); } else { if (_local7 == "A59"){ _local8 = _local6[0]; a554.remove(_local8); } else { if (_local7 == "A1"){ _local8 = _local6[0]; a233.remove(_local8); } else { if (_local7 == "A19"){ _local8 = _local6[0]; a367 = null; } else { if (_local7 == "A2"){ _local8 = _local6[0]; a548 = null; } else { if (_local7 == "A44"){ _local8 = _local6[0]; a166 = null; } else { if (_local7 == "A11"){ _local8 = _local6[0]; a281 = null; } else { if (_local7 == "A38"){ _local8 = _local6[0]; a221.remove(_local8); } else { if (_local7 == "A7"){ _local8 = _local6[0]; a157 = null; } else { if (_local7 == "A55"){ _local8 = _local6[0]; a341 = null; } else { if (_local7 == "A13"){ _local8 = _local6[0]; a52.remove(_local8); } else { if (_local7 == "A14"){ _local8 = _local6[0]; a405 = null; } else { if (_local7 == "A5"){ _local8 = _local6[0]; a6.remove(_local8); } else { if (_local7 == "A45"){ _local8 = _local6[0]; a90.remove(_local8); } else { a199.remove(_local3); }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; } while (true); } while (true); }; } public function a332(_arg1){ var _local2 = _arg1.a46.iterator(); do { //unresolved if var _local3 = _local2.next(); var _local5 = _local3.tag; var _local4 = _local3.params; if (_local5 == "A36"){ var _local6 = _local4[0]; a201.push(_local6); } else { if (_local5 == "A21"){ _local6 = _local4[0]; a86.push(_local6); } else { if (_local5 == "A54"){ _local6 = _local4[0]; a403.push(_local6); } else { if (_local5 == "A8"){ _local6 = _local4[0]; a303.push(_local6); } else { if (_local5 == "A59"){ _local6 = _local4[0]; a554.push(_local6); } else { if (_local5 == "A1"){ _local6 = _local4[0]; a233.push(_local6); } else { if (_local5 == "A19"){ _local6 = _local4[0]; a367 = _local6; } else { if (_local5 == "A2"){ _local6 = _local4[0]; a548 = _local6; } else { if (_local5 == "A38"){ _local6 = _local4[0]; a221.push(_local6); } else { if (_local5 == "A11"){ _local6 = _local4[0]; a281 = _local6; } else { if (_local5 == "A44"){ _local6 = _local4[0]; a166 = _local6; } else { if (_local5 == "A7"){ _local6 = _local4[0]; a157 = _local6; } else { if (_local5 == "A55"){ _local6 = _local4[0]; a341 = _local6; } else { if (_local5 == "A13"){ _local6 = _local4[0]; a52.push(_local6); } else { if (_local5 == "A14"){ _local6 = _local4[0]; a405 = _local6; } else { if (_local5 == "A5"){ _local6 = _local4[0]; a6.push(_local6); } else { if (_local5 == "A45"){ _local6 = _local4[0]; a90.push(_local6); } else { a199.push(_arg1); }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; } while (true); } public function a272(_arg1){ a469([_arg1]); } public function a211(){ return (a199); } public static function __construct__(_arg1){ return (new A48()); } } class Reflect { public function Reflect(){ if (Boot_DA61EA.skip_constructor){ return; }; } public static function __construct__(_arg1){ return (new Reflect()); } public static function empty(){ return (new (Object)); } public static function hasField(_arg1, _arg2){ return (_arg1.hasOwnProperty(_arg2)); } public static function field(_arg1, _arg2){ return (_arg1[_arg2]); } public static function setField(_arg1, _arg2, _arg3){ _arg1[_arg2] = _arg3; } public static function callMethod(_arg1, _arg2, _arg3){ return (_arg2.apply(_arg1, _arg3)); } public static function fields(_arg1){ if ((_arg1 == null)){ return (new Array()); }; var _local4:int; var _local3 = []; var _local5 = _arg1; for (/*?*/in _arg1) { _local3.push(//unresolved nextvalue or nextname); }; var _local2:* = _local3; _local3 = 0; do { //unresolved if if (!(_arg1.hasOwnProperty(_local2[_local3]))){ _local2.splice(_local3, 1); } else { _local3++; }; } while (true); return (_local2); } public static function isFunction(_arg1){ return ((typeof(_arg1) == "function")); } public static function isObject(_arg1){ if ((_arg1 == null)){ return (false); }; var _local3:* = typeof(_arg1); if ((_local3 == "object")){ try { if ((_arg1.__enum__ == true)){ return (false); }; } catch(#InvalidMultinameIndex#) { !ERROR! }; return (true); }; return ((_local3 == "string")); } public static function deleteField(_arg1, _arg2){ if (!((_arg1.hasOwnProperty(_arg2) == true))){ return (false); }; delete _arg1[_arg2]; return (true); } public static function copy(_arg1){ var _local2:* = Reflect.empty(); var _local3 = Reflect.fields(_arg1).iterator(); do { //unresolved if var _local4 = _local3.next(); Reflect.setField(_local2, _local4, Reflect.field(_arg1, _local4)); } while (true); return (_local2); } public static function makeVarArgs(_arg1){ throw ("Not implemented"); return (!NULL!); } } class IntIter { public var min; public var max; public function IntIter(_arg1, _arg2){ if (Boot_DA61EA.skip_constructor){ return; }; min = _arg1; max = _arg2; } public function next(){ var _local1 = min; min = (_local1 + 1); return (_local1); } public function hasNext(){ return ((min < max)); } public static function __construct__(_arg1){ return (new IntIter(_arg1[0], _arg1[1])); } } class GameSounds { public static var a373; public function GameSounds(){ if (Boot_DA61EA.skip_constructor){ return; }; } public static function __construct__(_arg1){ return (new GameSounds()); } public static function a553(){ if (!(GameSounds.a373)){ var _local1:* = new NextWaveSound(); _local1.play(); }; } public static function bullet01_play(){ if (!(GameSounds.a373)){ var _local1:* = new ShootBullet01(); _local1.play(); }; } } class ValueType { public const __enum__ = true; public var tag; public var params; public static const __isenum = true; public static var TUnknown:ValueType; public static var TObject:ValueType; public static var TNull:ValueType; public static var TInt:ValueType; public static var TFunction:ValueType; public static var TFloat:ValueType; public static var TBool:ValueType; public function ValueType(_arg1, _arg2){ tag = _arg1; params = _arg2; } public function toString(){ return (Boot_DA61EA.enum_to_string(this)); } public static function TEnum(_arg1){ return (new ValueType("TEnum", [_arg1])); } public static function TClass(_arg1){ return (new ValueType("TClass", [_arg1])); } } class Type { public function Type(){ if (Boot_DA61EA.skip_constructor){ return; }; } public static function __construct__(_arg1){ return (new Type()); } public static function toEnum(_arg1){ try { if (!(_arg1.__isenum)){ return (null); }; return (_arg1); } catch(#InvalidMultinameIndex#) { !ERROR! }; return (null); } public static function toClass(_arg1){ try { if (!(_arg1.hasOwnProperty("prototype"))){ return (null); }; return (_arg1); } catch(#InvalidMultinameIndex#) { !ERROR! }; return (null); } public static function getClass(_arg1){ var _local2:* = getQualifiedClassName(_arg1); if ((((_local2 == "null")) || ((((_local2 == "Object")) || ((((_local2 == "int")) || ((((_local2 == "Number")) || ((_local2 == "Boolean")))))))))){ return (null); }; if (_arg1.hasOwnProperty("prototype")){ return (null); }; var _local3:* = getDefinitionByName(_local2); if (_local3.__isenum){ return (null); }; return (_local3); } public static function getEnum(_arg1){ var _local2:* = getQualifiedClassName(_arg1); if ((((_local2 == "null")) || ((_local2.substr(0, 8) == "builtin.")))){ return (null); }; if (_arg1.hasOwnProperty("prototype")){ return (null); }; var _local3:* = getDefinitionByName(_local2); if (!(_local3.__isenum)){ return (null); }; return (_local3); } public static function getSuperClass(_arg1){ var _local2:* = getQualifiedSuperclassName(_arg1); if ((_local2 == "Object")){ return (null); }; return ((getDefinitionByName(_local2) as Class)); } public static function getClassName(_arg1){ if ((_arg1 == null)){ return (null); }; return (getQualifiedClassName(_arg1)); } public static function getEnumName(_arg1){ var _local2:* = getQualifiedClassName(_arg1); return (_local2); } public static function resolveClass(_arg1){ try { var _local3:* = (getDefinitionByName(_arg1) as Class); if (_local3.__isenum){ return (null); }; return (_local3); } catch(#InvalidMultinameIndex#) { !ERROR! return (null); }; if ((((_local3 == null)) || ((_local3.__name__ == null)))){ return (null); } else { null; }; return (_local3); } public static function resolveEnum(_arg1){ try { var _local3:* = getDefinitionByName(_arg1); if (!(_local3.__isenum)){ return (null); }; return (_local3); } catch(#InvalidMultinameIndex#) { !ERROR! return (null); }; if ((((_local3 == null)) || ((_local3.__ename__ == null)))){ return (null); } else { null; }; return (_local3); } public static function createInstance(_arg1, _arg2){ return (_arg1.__construct__.call(null, _arg2)); } public static function createEmptyInstance(_arg1){ try { Boot_DA61EA.skip_constructor = true; var _local3:* = _arg1.__construct__.call(null, []); Boot_DA61EA.skip_constructor = false; return (_local3); } catch(#InvalidMultinameIndex#) { _local3 = !NULL!; Boot_DA61EA.skip_constructor = false; throw (_local3); }; return (null); } public static function describe(_arg1, _arg2){ var _local3:* = new Array(); var _local4:* = describeType(_arg1); if (_arg2){ _local4 = _local4.factory; }; var _local5:* = _local4.child("method"); var _local6:* = 0; var _local7:* = _local5.length(); do { //unresolved if var _local8:* = _local6; _local6++; _local3.push(Std.string(_local5[_local8].attribute("name"))); } while (true); _local6 = _local4.child("variable"); _local7 = 0; _local8 = _local6.length(); do { //unresolved if var _local9:* = _local7; _local7++; _local3.push(Std.string(_local6[_local9].attribute("name"))); } while (true); return (_local3); } public static function getInstanceFields(_arg1){ return (Type.describe(_arg1, true)); } public static function getClassFields(_arg1){ var _local2:* = Type.describe(_arg1, false); _local2.remove("__construct__"); return (_local2); } public static function getEnumConstructs(_arg1){ return (Type.describe(_arg1, false)); } public static function typeof(_arg1){ var _local3:* = getQualifiedClassName(_arg1); var _local4 = _local3; if (_local4 == "null"){ return (??getglobalscope .ValueType.TNull); } else { if (_local4 == "void"){ return (??getglobalscope .ValueType.TNull); } else { if (_local4 == "int"){ return (??getglobalscope .ValueType.TInt); } else { if (_local4 == "Number"){ return (??getglobalscope .ValueType.TFloat); } else { if (_local4 == "Boolean"){ return (??getglobalscope .ValueType.TBool); } else { if (_local4 == "Object"){ return (??getglobalscope .ValueType.TObject); } else { try { _local4 = getDefinitionByName(_local3); if (_arg1.hasOwnProperty("prototype")){ return (??getglobalscope .ValueType.TObject); }; if (_local4.__isenum){ return (??getglobalscope .ValueType.TEnum(_local4)); }; return (??getglobalscope .ValueType.TClass(_local4)); } catch(#InvalidMultinameIndex#) { !ERROR! if ((((_local3 == "builtin.as$0::MethodClosure")) || (!((_local3.indexOf("-") == -1))))){ return (??getglobalscope .ValueType.TFunction); }; return (((_local4 == null)) ? ??getglobalscope .ValueType.TFunction : ??getglobalscope .ValueType.TClass(_local4)); }; }; }; }; }; }; }; return (null); } public static function enumEq(_arg1, _arg2){ if ((_arg1 == _arg2)){ return (true); }; try { if (!((_arg1.tag == _arg2.tag))){ return (false); }; var _local4:* = 0; var _local5:* = _arg1.params.length; do { //unresolved if var _local6:* = _local4; _local4++; if (!(Type.enumEq(_arg1.params[_local6], _arg2.params[_local6]))){ return (false); }; } while (true); } catch(#InvalidMultinameIndex#) { _local4 = !NULL!; return (false); }; return (true); } public static function enumConstructor(_arg1){ return (_arg1.tag); } public static function enumParameters(_arg1){ return (((_arg1.params == null)) ? [] : _arg1.params); } } class IntHash { public var h; public function IntHash(){ if (Boot_DA61EA.skip_constructor){ return; }; h = new Dictionary(); } public function toString(){ var _local1:* = new StringBuf(); _local1.add("{"); var _local2:* = keys(); var _local3 = _local2; do { //unresolved if var _local4 = _local3.next(); _local1.add(_local4); _local1.add(" => "); _local1.add(Std.string(get(_local4))); if (_local2.hasNext()){ _local1.add(", "); }; } while (true); _local1.add("}"); return (_local1.toString()); } public function set(_arg1, _arg2){ h[_arg1] = _arg2; } public function remove(_arg1){ if (!(h.hasOwnProperty(_arg1))){ return (false); }; delete h[_arg1]; return (true); } public function keys(){ var _local2:int; var _local1 = []; var _local3 = h; for (/*?*/in h) { _local1.push(//unresolved nextvalue or nextname); }; return (_local1.iterator()); } public function iterator(){ return ({next:function (){ var _local1:* = this.it.next(); return (this.ref[_local1]); }, hasNext:function (){ return (this.it.hasNext()); }, it:keys(), ref:h}); } public function get(_arg1){ return (h[_arg1]); } public function exists(_arg1){ return (h.hasOwnProperty(_arg1)); } public static function __construct__(_arg1){ return (new IntHash()); } } class StringBuf { public var b; public function StringBuf(){ if (Boot_DA61EA.skip_constructor){ return; }; b = ""; } public function toString(){ return (b); } public function addSub(_arg1, _arg2, _arg3=null){ if ((_arg3 == null)){ b = (b + _arg1.substr(_arg2)); } else { b = (b + _arg1.substr(_arg2, _arg3)); }; } public function addChar(_arg1){ b = (b + String["fromCharCode"](_arg1)); } public function add(_arg1=null){ b = (b + _arg1); } public static function __construct__(_arg1){ return (new StringBuf()); } } class Mochiad { public function Mochiad(){ if (Boot_DA61EA.skip_constructor){ return; }; } public static function __construct__(_arg1){ return (new Mochiad()); } public static function getVersion(){ return ("1.5"); } public static function doOnEnterFrame(_arg1){ var a356 = _arg1; var a436:* = function (_arg1){ if (((Reflect.hasField(a356, "onEnterFrame")) && (Reflect.field(a356, "onEnterFrame")))){ Reflect.callMethod(a356, Reflect.field(a356, "onEnterFrame"), []); } else { a356.removeEventListener(Event.ENTER_FRAME, a436); }; }; a356.addEventListener(Event.ENTER_FRAME, a436); } public static function createEmptyMovieClip(_arg1, _arg2, _arg3){ var _local4:* = new MovieClip(); if (false){ _arg1.addChildAt(_local4, _arg3); } else { _arg1.addChild(_local4); }; Reflect.setField(_arg1, _arg2, _local4); Reflect.setField(_local4, "_name", _arg2); return (_local4); } public static function a32(_arg1){ var options = _arg1; var _local2:* = {ad_finished:function (){ this.clip.play(); }, ad_started:function (){ this.clip.stop(); }, outline:13994812, background:16777161, a100:0xFF8A00, method:"showPreloaderAd", regpt:"o", fadeout_time:250, ad_timeout:3000, clip:Lib.current}; options = Mochiad.parseOptions(options, _local2); var clip:* = options.clip; var _local3:* = 11000; var _local4:* = options.ad_timeout; Reflect.deleteField(options, "ad_timeout"); var _local5:* = options.fadeout_time; Reflect.deleteField(options, "fadeout_time"); if ((Mochiad.load(options) == null)){ options.ad_finished(); return; }; options.ad_started(); var a356:* = clip._mochiad; a356.onUnload = function (){ options.ad_finished(); }; var _local6:* = Mochiad.getRes(options, clip); var _local7:* = _local6[0]; var _local8:* = _local6[1]; a356.x = (_local7 * 0.5); a356.y = (_local8 * 0.5); var chk:* = Mochiad.createEmptyMovieClip(a356, "_mochiad_wait", 3); chk.x = (_local7 * -(0.5)); chk.y = (_local8 * -(0.5)); var _local9:* = Mochiad.createEmptyMovieClip(chk, "_mochiad_bar", 4); _local9.x = 10; _local9.y = (_local8 - 20); var _local10:* = options.a100; Reflect.deleteField(options, "color"); var _local11:* = options.background; Reflect.deleteField(options, "background"); var _local12:* = options.outline; Reflect.deleteField(options, "outline"); var _local13:* = Mochiad.createEmptyMovieClip(_local9, "_outline", 1); var _local14:* = _local13.graphics; _local14.beginFill(_local11); _local14.moveTo(0, 0); _local14.lineTo((_local7 - 20), 0); _local14.lineTo((_local7 - 20), 10); _local14.lineTo(0, 10); _local14.lineTo(0, 0); _local14.endFill(); var _local15:* = Mochiad.createEmptyMovieClip(_local9, "_inside", 2); var _local16:* = _local15.graphics; _local16.beginFill(_local10); _local16.moveTo(0, 0); _local16.lineTo((_local7 - 20), 0); _local16.lineTo((_local7 - 20), 10); _local16.lineTo(0, 10); _local16.lineTo(0, 0); _local16.endFill(); _local15.scaleX = 0; var _local17:* = Mochiad.createEmptyMovieClip(_local9, "_outline", 3); var _local18:* = _local17.graphics; _local18.lineStyle(0, _local12, 100); _local18.moveTo(0, 0); _local18.lineTo((_local7 - 20), 0); _local18.lineTo((_local7 - 20), 10); _local18.lineTo(0, 10); _local18.lineTo(0, 0); chk.ad_msec = _local3; chk.ad_timeout = _local4; chk.a317 = Lib.getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = _local5; chk.fadeFunction = function (){ var _local1:* = (100 * (1 - ((Lib.getTimer() - this.fadeout_start) / this.fadeout_time))); if ((_local1 > 0)){ this.parent.a465 = (_local1 * 0.01); } else { var _local2:* = this.parent.parent; Mochiad.unload(_local2); Reflect.deleteField(this, "onEnterFrame"); }; }; a356.unloadAd = function (){ Mochiad.unload(clip); }; a356.adjustProgress = function (_arg1){ var _local2:* = a356._mochiad_wait; _local2.server_control = true; _local2.a317 = Lib.getTimer(); _local2.ad_msec = _arg1; }; chk.onEnterFrame = function (){ var _local1:* = this.parent.parent.root; if (!(_local1)){ Reflect.deleteField(this, "onEnterFrame"); return; }; var _local2:* = this.parent._mochiad_ctr; var _local3:* = (Lib.getTimer() - this.a317); var _local4:* = false; var _local5:* = _local1.loaderInfo.bytesTotal; var _local6:* = _local1.loaderInfo.bytesLoaded; var _local7:* = ((100 * _local6) / _local5); var _local8:* = ((100 * _local3) / chk.ad_msec); var _local9:* = this._mochiad_bar._inside; var _local10:* = Math.min(100, Math.min(_local7, _local8)); _local10 = Math.max(this.last_pcnt, _local10); this.last_pcnt = _local10; _local9.scaleX = (_local10 * 0.01); if (!(chk.showing)){ var _local11:* = _local2.loaderInfo.bytesTotal; if ((((_local11 > 0)) || ((Type.typeof(_local11) == ValueType.TUnknown)))){ chk.showing = true; chk.a317 = Lib.getTimer(); } else { if ((_local3 > chk.ad_timeout)){ _local4 = true; }; }; }; if ((((_local3 > chk.ad_msec)) || (this.parent._mochiad_ctr_failed))){ _local4 = true; }; if ((((_local5 > 0)) && ((((_local6 >= _local5)) && (_local4))))){ if (this.server_control){ Reflect.deleteField(this, "onEnterFrame"); } else { this.fadeout_start = Lib.getTimer(); this.onEnterFrame = chk.fadeFunction; }; }; }; Mochiad.doOnEnterFrame(chk); } public static function load(_arg1){ var _local2:* = {id:"_UNKNOWN_", depth:10333, method:"load", server:"http://x.mochiads.com/srv/1/"}; _arg1 = Mochiad.parseOptions(_arg1, _local2); _arg1.swfv = 9; _arg1.mav = Mochiad.getVersion(); var _local3:* = _arg1.clip; if (!(!((Security.sandboxType == "localWithFile")))){ return (null); }; if (((Reflect.hasField(_local3, "_mochiad_loaded")) && (_local3._mochiad_loaded))){ return (null); }; var _local4:* = _arg1.depth; Reflect.deleteField(_arg1, "depth"); var mc:* = Mochiad.createEmptyMovieClip(_local3, "_mochiad", _local4); var _local5:* = Mochiad.getRes(_arg1, _local3); _arg1.res = ((_local5[0] + "x") + _local5[1]); _arg1.server = (_arg1.server + _arg1.id); Reflect.deleteField(_arg1, "id"); _local3._mochiad_loaded = true; var _local6:* = new URLVariables(); var _local7 = Reflect.fields(_arg1).iterator(); do { //unresolved if var _local8 = _local7.next(); var _local9:* = Reflect.field(_arg1, _local8); if (!(Reflect.isFunction(_local9))){ Reflect.setField(_local6, _local8, _local9); }; } while (true); if (!((_local3.loaderInfo.loaderURL.indexOf("http") == 0))){ _arg1.no_page = true; }; _local7 = _local6.server; Reflect.deleteField(_local6, "server"); _local8 = Mochiad.allowDomains(_local7); mc.onEnterFrame = function (){ if (!(this._mochiad_ctr)){ Reflect.deleteField(this, "onEnterFrame"); Mochiad.unload(this.parent); }; }; Mochiad.doOnEnterFrame(mc); _local9 = new LocalConnection(); _local9.client = mc; var _local10:* = ["", Math.floor(Date.now().getTime()), Math.floor((Math.random() * 999999))].join("_"); _local9.allowDomain("*", "localhost"); _local9.allowInsecureDomain("*", "localhost"); _local9.connect(_local10); mc.lc = _local9; _local6.lc = _local10; _local6.st = Lib.getTimer(); var _local11:* = new Loader(); var _local12:* = function (_arg1){ mc._mochiad_ctr_failed = true; }; _local11.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, _local12); _local12 = new URLRequest((_local7 + ".swf")); _local12.contentType = "application/x-www-form-urlencoded"; _local12.method = URLRequestMethod.POST; _local12.data = _local6; var _local13:* = new LoaderContext(true); _local11.load(_local12, _local13); mc.addChild(_local11); mc._mochiad_ctr = _local11; return (mc); } public static function unload(_arg1){ if (((_arg1.clip) && (_arg1.clip._mochiad))){ _arg1 = _arg1.clip; }; if (!(_arg1._mochiad)){ return (false); }; if (_arg1._mochiad.onUnload){ _arg1._mochiad.onUnload(); }; _arg1.removeChild(_arg1._mochiad); Reflect.deleteField(_arg1, "_mochiad_loaded"); Reflect.deleteField(_arg1, "_mochiad"); return (true); } public static function allowDomains(_arg1){ var _local2:* = _arg1.split("/")[2].split(":")[0]; Security.allowDomain("*"); Security.allowDomain(_local2); Security.allowInsecureDomain("*"); Security.allowInsecureDomain(_local2); return (_local2); } public static function getRes(_arg1, _arg2){ var _local3:* = _arg2.getBounds(_arg2.root); var _local4:* = 0; var _local5:* = 0; if (!((Type.typeof(_arg1.res) == ValueType.TUnknown))){ var _local6:* = _arg1.res.split("x"); _local4 = Std.parseFloat(_local6[0]); _local5 = Std.parseFloat(_local6[1]); } else { _local4 = (_local3.xMax - _local3.xMin); _local5 = (_local3.yMax - _local3.yMin); }; if ((((_local4 == 0)) || ((_local5 == 0)))){ _local4 = _arg2.stage.stageWidth; _local5 = _arg2.stage.stageHeight; }; return ([_local4, _local5]); } public static function parseOptions(_arg1, _arg2){ var _local3:* = Reflect.empty(); var _local5 = Reflect.fields(_arg2).iterator(); do { //unresolved if var _local6 = _local5.next(); Reflect.setField(_local3, _local6, Reflect.field(_arg2, _local6)); } while (true); if (_arg1){ _local5 = Reflect.fields(_arg1).iterator(); do { //unresolved if _local6 = _local5.next(); Reflect.setField(_local3, _local6, Reflect.field(_arg1, _local6)); } while (true); }; _arg1 = Reflect.field(_local3, "clip.loaderInfo.parameters.mochiad_options"); if (_arg1){ _local5 = _arg1.split("&"); _local6 = 0; var _local7:* = _local5.length; do { //unresolved if var _local8:* = _local6; _local6++; var _local9:* = _local5[_local8].split("="); Reflect.setField(_local3, StringTools.htmlUnescape(_local9[0]), StringTools.htmlUnescape(_local9[1])); } while (true); }; return (_local3); } public static function showTimedAd(_arg1){ var options = _arg1; var _local2:* = {ad_finished:function (){ this.clip.play(); }, ad_started:function (){ this.clip.stop(); }, method:"showTimedAd", regpt:"o", fadeout_time:250, ad_timeout:2000}; options = Mochiad.parseOptions(options, _local2); var clip:* = options.clip; var _local3:* = 11000; var _local4:* = options.ad_timeout; Reflect.deleteField(options, "ad_timeout"); var _local5:* = options.fadeout_time; Reflect.deleteField(options, "fadeout_time"); if ((Mochiad.load(options) == null)){ options.ad_finished(); return; }; options.ad_started(); var mc:* = clip._mochiad; Reflect.setField(mc, "onUnload", function (){ options.ad_finished(); }); var _local6:* = Mochiad.getRes(options, clip); var _local7:* = _local6[0]; var _local8:* = _local6[1]; mc.x = (_local7 * 0.5); mc.y = (_local8 * 0.5); var chk:* = Mochiad.createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_msec = _local3; chk.ad_timeout = _local4; chk.started = Lib.getTimer(); chk.showing = false; chk.fadeout_time = _local5; chk.fadeFunction = function (){ var _local1:* = (100 * (1 - ((Lib.getTimer() - this.fadeout_start) / this.fadeout_time))); if ((_local1 > 0)){ this.parent.alpha = (_local1 * 0.01); } else { var _local2:* = this.parent.parent; Mochiad.unload(_local2); Reflect.deleteField(this, "onEnterFrame"); }; }; mc.unloadAd = function (){ Mochiad.unload(clip); }; mc.adjustProgress = function (_arg1){ var _local2:* = mc._mochiad_wait; _local2.server_control = true; _local2.started = Lib.getTimer(); _local2.ad_msec = (_arg1 - 250); }; Reflect.setField(chk, "onEnterFrame", function (){ var _local1:* = this.parent._mochiad_ctr; var _local2:* = (Lib.getTimer() - this.started); var _local3:* = false; if (!(chk.showing)){ var _local4:* = _local1.loaderInfo.bytesTotal; if ((((_local4 > 0)) || ((Type.typeof(_local4) == ValueType.TUnknown)))){ chk.showing = true; chk.started = Lib.getTimer(); } else { if ((_local2 > chk.ad_timeout)){ _local3 = true; }; }; }; if ((((_local2 > chk.ad_msec)) || (this.parent._mochiad_ctr_failed))){ _local3 = true; }; if (_local3){ if (this.server_control){ Reflect.deleteField(this, "onEnterFrame"); } else { this.fadeout_start = Lib.getTimer(); this.onEnterFrame = this.fadeFunction; }; }; }); Mochiad.doOnEnterFrame(chk); } } class A10 { public var a129; public function A10(){ if (Boot_DA61EA.skip_constructor){ return; }; a129 = 1; } public function a527(){ a129 = A10.a286(a129); if ((a129 == 2147483647)){ a129 = (a129 - 1); }; return ((a129 / 2147483647)); } public function a386(_arg1, _arg2){ a129 = A10.a286(a129); var _local3:* = ((_arg2 - _arg1) + 1); return ((_arg1 + (a129 % _local3))); } public function a135(_arg1){ a129 = A10.a286(a129); return ((a129 % _arg1)); } public static function __construct__(_arg1){ return (new A10()); } public static function a286(_arg1){ _arg1 = (_arg1 ^ 2007247053); _arg1 = (_arg1 + ~((_arg1 << 15))); _arg1 = (_arg1 ^ (_arg1 >> 10)); _arg1 = (_arg1 + (_arg1 << 3)); _arg1 = (_arg1 ^ (_arg1 >> 6)); _arg1 = (_arg1 + ~((_arg1 << 11))); _arg1 = (_arg1 ^ (_arg1 >> 16)); return (_arg1); } } class A50 { public var current; public var a414; public var a257; public var a147; public function A50(){ if (Boot_DA61EA.skip_constructor){ return; }; if ((a257 == null)){ a257 = [0, 0, 0, 0, 0]; }; } public function a533(){ a414 = Lib.getTimer(); } public function a411(){ var _local1:* = 5; var _local2:* = 0; var _local3:* = 0; var _local4:* = _local1; do { //unresolved if var _local5:* = _local3; _local3++; _local2 = (_local2 + a257[_local5]); } while (true); _local2 = (_local2 / _local1); if ((current == 0)){ null; }; a257[current] = (Lib.getTimer() - a147); a147 = Lib.getTimer(); current = (current + 1); if ((current > _local1)){ current = 0; }; } public function a394(){ null; } public static function __construct__(_arg1){ return (new A50()); } } class Hash { public var h; public function Hash(){ if (Boot_DA61EA.skip_constructor){ return; }; h = new Dictionary(); } public function toString(){ var _local1:* = new StringBuf(); _local1.add("{"); var _local2:* = keys(); var _local3 = _local2; do { //unresolved if var _local4 = _local3.next(); _local1.add(_local4); _local1.add(" => "); _local1.add(Std.string(get(_local4))); if (_local2.hasNext()){ _local1.add(", "); }; } while (true); _local1.add("}"); return (_local1.toString()); } public function set(_arg1, _arg2){ h[_arg1] = _arg2; } public function remove(_arg1){ if (!(h.hasOwnProperty(_arg1))){ return (false); }; delete h[_arg1]; return (true); } public function keys(){ var _local2:int; var _local1 = []; var _local3 = h; for (/*?*/in h) { _local1.push(//unresolved nextvalue or nextname); }; return (_local1.iterator()); } public function iterator(){ return ({next:function (){ var _local1:* = this.it.next(); return (this.ref[_local1]); }, hasNext:function (){ return (this.it.hasNext()); }, it:keys(), ref:h}); } public function get(_arg1){ return (h[_arg1]); } public function exists(_arg1){ return (h.hasOwnProperty(_arg1)); } public static function __construct__(_arg1){ return (new Hash()); } } class Std { public function Std(){ if (Boot_DA61EA.skip_constructor){ return; }; } public static function __construct__(_arg1){ return (new Std()); } public static function is(_arg1, _arg2){ return (Boot_DA61EA.__instanceof(_arg1, _arg2)); } public static function string(_arg1){ return (Boot_DA61EA.__string_rec(_arg1, "")); } public static function int(_arg1){ return (int(_arg1)); } public static function bool(_arg1){ return (((!((_arg1 === 0))) && (((!((_arg1 == null))) && (!((_arg1 === false))))))); } public static function parseInt(_arg1){ var _local2:* = parseInt(_arg1); if (isNaN(_local2)){ return (null); }; return (_local2); } public static function parseFloat(_arg1){ return (parseFloat(_arg1)); } public static function chr(_arg1){ return (String.fromCharCode(_arg1)); } public static function ord(_arg1){ if ((_arg1 == "")){ return (null); } else { return (_arg1.charCodeAt(0)); }; } public static function random(_arg1){ return (Math.floor((Math.random() * _arg1))); } public static function resource(_arg1){ return (null); } } class EReg { public var result; public var r; public function EReg(_arg1, _arg2){ if (Boot_DA61EA.skip_constructor){ return; }; r = new RegExp(_arg1, _arg2); } public function split(_arg1){ return (_arg1.split(r)); } public function replace(_arg1, _arg2){ return (_arg1.replace(r, _arg2)); } public function matchedRight(){ if ((result == null)){ throw ("No string matched"); }; var _local1:* = (result.index + result[0].length); return (result.input.substr(_local1, (result.input.length - _local1))); } public function matchedPos(){ if ((result == null)){ throw ("No string matched"); }; return ({len:result[0].length, pos:result.index}); } public function matchedLeft(){ if ((result == null)){ throw ("No string matched"); }; return (result.input.substr(0, result.index)); } public function matched(_arg1){ if (((!((result == null))) && ((((_arg1 >= 0)) && ((_arg1 < result.length)))))){ } else { throw ("EReg::matched"); }; return (!NULL!); } public function match(_arg1){ result = r.exec(_arg1); return (!((result == null))); } public static function __construct__(_arg1){ return (new EReg(_arg1[0], _arg1[1])); } } class NextWaveSound extends Sound { public function NextWaveSound(){ if (Boot_DA61EA.skip_constructor){ return; }; super(); } public static function __construct__(_arg1){ return (new NextWaveSound()); } } class ShootBullet01 extends Sound { public function ShootBullet01(){ if (Boot_DA61EA.skip_constructor){ return; }; super(); } public static function __construct__(_arg1){ return (new ShootBullet01()); } } class Main extends MovieClip { public static var GAME_OPTIONS; public static var a425; public static var clip; public static var a577; public static var a570; public function Main(){ if (Boot_DA61EA.skip_constructor){ return; }; Main.clip = Lib.current; super(); } public function load(){ Main.GAME_OPTIONS.clip = Main.clip; Main.GAME_OPTIONS.ad_finished = launch_game; Mochiad.a32(Main.GAME_OPTIONS); } public function launch_game(){ GameSounds.a373 = false; var _local2:* = new A10(); try { Main.start(); } catch(#InvalidMultinameIndex#) { !ERROR! null; }; } public function ad_finished(){ launch_game(); } public static function __construct__(_arg1){ return (new Main()); } public static function start(){ Main.a577 = new A42(Main.GAME_OPTIONS); } public static function main(){ Main.a425 = new Main(); Main.a425.load(); } } class Unserializer { public var scache; public var resolver; public var pos; public var length; public var cache; public var buf; public static var DEFAULT_RESOLVER; public function Unserializer(_arg1){ if (Boot_DA61EA.skip_constructor){ return; }; buf = _arg1; length = _arg1.length; pos = 0; scache = new Array(); cache = new Array(); setResolver(Unserializer.DEFAULT_RESOLVER); } public function unserializeObject(_arg1){ do { //unresolved if if ((pos >= length)){ throw ("Invalid object"); }; if ((buf.charCodeAt(pos) == 103)){ break; }; var _local2:* = unserialize(); if (!(Std.is(_local2, String))){ throw ("Invalid object key"); }; var _local3:* = unserialize(); Reflect.setField(_arg1, _local2, _local3); } while (true); pos = (pos + 1); } public function unserialize(){ var _local2 = pos; pos = (_local2 + 1); var _local1 = buf.charCodeAt(_local2); if (_local1 == 110){ return (null); } else { if (_local1 == 116){ return (true); } else { if (_local1 == 102){ return (false); } else { if (_local1 == 122){ return (0); } else { if (_local1 == 105){ return (readDigits()); } else { if (_local1 == 100){ _local2 = pos; do { //unresolved if var _local3:* = buf.charCodeAt(pos); if ((((((_local3 >= 43)) && ((_local3 < 58)))) || ((((_local3 == 101)) || ((_local3 == 69)))))){ pos = (pos + 1); } else { break; }; } while (true); return (Std.parseFloat(buf.substr(_local2, (pos - _local2)))); } else { if (_local1 == 121){ _local2 = readDigits(); _local3 = pos; pos = (_local3 + 1); if (((!((buf.charAt(_local3) == ":"))) || (((length - pos) < _local2)))){ throw ("Invalid string length"); }; _local3 = buf.substr(pos, _local2); pos = (pos + _local2); _local3 = StringTools.urlDecode(_local3); scache.push(_local3); return (_local3); } else { if (_local1 == 107){ return (Math.NaN); } else { if (_local1 == 109){ return (Math.NEGATIVE_INFINITY); } else { if (_local1 == 112){ return (Math.POSITIVE_INFINITY); } else { if (_local1 == 97){ _local2 = new Array(); cache.push(_local2); do { //unresolved if _local3 = buf.charCodeAt(pos); if ((_local3 == 104)){ pos = (pos + 1); break; }; if ((_local3 == 117)){ pos = (pos + 1); var _local4:* = readDigits(); _local2[((_local2.length + _local4) - 1)] = null; } else { _local2.push(unserialize()); }; } while (true); return (_local2); } else { if (_local1 == 111){ _local2 = Reflect.empty(); cache.push(_local2); unserializeObject(_local2); return (_local2); } else { if (_local1 == 114){ _local2 = readDigits(); if ((((_local2 < 0)) || ((_local2 >= cache.length)))){ throw ("Invalid reference"); }; return (cache[_local2]); } else { if (_local1 == 82){ _local2 = readDigits(); if ((((_local2 < 0)) || ((_local2 >= scache.length)))){ throw ("Invalid string reference"); }; return (scache[_local2]); } else { if (_local1 == 120){ throw (unserialize()); } else { if (_local1 == 99){ _local2 = unserialize(); _local3 = resolver.resolveClass(_local2); if ((_local3 == null)){ throw (("Class not found " + _local2)); }; _local4 = Type.createEmptyInstance(_local3); cache.push(_local4); unserializeObject(_local4); return (_local4); } else { if (_local1 == 119){ _local2 = unserialize(); _local3 = resolver.resolveEnum(_local2); if ((_local3 == null)){ throw (("Enum not found " + _local2)); }; _local4 = unserialize(); if (!(Std.is(_local4, String))){ throw ("Invalid enum tag"); }; var _local5:* = Reflect.field(_local3, _local4); if ((_local5 == null)){ throw (((("Unknown enum tag " + _local2) + ".") + _local4)); }; var _local6 = pos; pos = (_local6 + 1); if (!((buf.charCodeAt(_local6) == 58))){ throw ("Invalid enum format"); }; _local6 = readDigits(); if ((_local6 == 0)){ cache.push(_local5); return (_local5); }; var _local7:* = new Array(); do { //unresolved if _local7.push(unserialize()); _local6 = (_local6 - 1); } while (true); var _local8:* = Reflect.callMethod(_local3, _local5, _local7); cache.push(_local8); return (_local8); } else { if (_local1 == 108){ _local2 = new List(); do { //unresolved if _local2.add(unserialize()); } while (true); pos = (pos + 1); return (_local2); } else { if (_local1 == 98){ _local2 = new Hash(); do { //unresolved if _local3 = unserialize(); _local2.set(_local3, unserialize()); } while (true); pos = (pos + 1); return (_local2); } else { if (_local1 == 113){ _local2 = new IntHash(); _local4 = pos; pos = (_local4 + 1); _local3 = buf.charCodeAt(_local4); do { //unresolved if _local4 = readDigits(); _local2.set(_local4, unserialize()); _local5 = pos; pos = (_local5 + 1); _local3 = buf.charCodeAt(_local5); } while (true); if (!((_local3 == 104))){ throw ("Invalid IntHash format"); }; return (_local2); } else { if (_local1 == 118){ _local2 = Date.fromString(buf.substr(pos, 19)); pos = (pos + 19); return (_local2); } else { if (_local1 == 115){ _local2 = readDigits(); _local3 = pos; pos = (_local3 + 1); if (((!((buf.charAt(_local3) == ":"))) || (((length - pos) < _local2)))){ throw ("Invalid string length"); }; _local3 = buf.substr(pos, _local2); pos = (pos + _local2); scache.push(_local3); return (_local3); } else { if (_local1 == 106){ _local2 = readDigits(); _local3 = pos; pos = (_local3 + 1); if (!((buf.charAt(_local3) == ":"))){ throw ("Invalid string length"); }; _local3 = buf.substr(pos, _local2); pos = (pos + _local2); _local4 = "##__delim__##"; _local5 = new EReg("\\\\\\\\", "g").split(_local3); _local3 = _local5.join(_local4).split("\\r").join("\r").split("\\n").join("\n").split(_local4).join("\\"); scache.push(_local3); return (_local3); //unresolved jump }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; }; pos = (pos - 1); throw (((("Invalid char " + buf.charAt(pos)) + " at position ") + pos)); } public function setResolver(_arg1){ if ((_arg1 == null)){ resolver = {resolveEnum:function (_arg1){ return (null); }, resolveClass:function (_arg1){ return (null); }}; } else { resolver = _arg1; }; } public function readDigits(){ var _local1:* = 0; var _local2:* = false; var _local3:* = pos; do { //unresolved if var _local4:* = buf.charCodeAt(pos); if ((_local4 == null)){ //unresolved jump }; //unresolved if if (!((pos == _local3))){ //unresolved jump }; _local2 = true; pos = (pos + 1); } while (true); _local4 = (_local4 - 48); if ((((_local4 < 0)) || ((_local4 > 9)))){ } else { _local1 = ((_local1 * 10) + _local4); pos = (pos + 1); //unresolved jump }; if (_local2){ _local1 = (_local1 * -1); }; return (_local1); } public static function __construct__(_arg1){ return (new Unserializer(_arg1[0])); } public static function run(_arg1){ return (new Unserializer(_arg1).unserialize()); } } class Md5 { public function Md5(){ if (Boot_DA61EA.skip_constructor){ return; }; } public static function __construct__(_arg1){ return (new Md5()); } public static function encode(_arg1){ return (Md5.__jsflash_encode(_arg1)); } public static function bitOR(_arg1, _arg2){ var _local3:* = ((_arg1 & 1) | (_arg2 & 1)); var _local4:* = ((_arg1 >>> 1) | (_arg2 >>> 1)); return (((_local4 << 1) | _local3)); } public static function bitXOR(_arg1, _arg2){ var _local3:* = ((_arg1 & 1) ^ (_arg2 & 1)); var _local4:* = ((_arg1 >>> 1) ^ (_arg2 >>> 1)); return (((_local4 << 1) | _local3)); } public static function bitAND(_arg1, _arg2){ var _local3:* = ((_arg1 & 1) & (_arg2 & 1)); var _local4:* = ((_arg1 >>> 1) & (_arg2 >>> 1)); return (((_local4 << 1) | _local3)); } public static function addme(_arg1, _arg2){ var _local3:* = ((_arg1 & 0xFFFF) + (_arg2 & 0xFFFF)); var _local4:* = (((_arg1 >> 16) + (_arg2 >> 16)) + (_local3 >> 16)); return (((_local4 << 16) | (_local3 & 0xFFFF))); } public static function rhex(_arg1){ var _local2:* = ""; var _local3:* = "0123456789abcdef"; var _local4:* = 0; var _local5:* = 4; do { //unresolved if var _local6:* = _local4; _local4++; _local2 = (_local2 + (_local3.charAt(((_arg1 >> ((_local6 * 8) + 4)) & 15)) + _local3.charAt(((_arg1 >> (_local6 * 8)) & 15)))); } while (true); return (_local2); } public static function str2blks(_arg1){ var _local2:* = (((_arg1.length + 8) >> 6) + 1); var _local3:* = new Array(); var _local4:* = 0; var _local5:* = (_local2 * 16); do { //unresolved if var _local6:* = _local4; _local4++; _local3[_local6] = 0; } while (true); _local4 = 0; do { //unresolved if _local3[(_local4 >> 2)] = (_local3[(_local4 >> 2)] | (_arg1.charCodeAt(_local4) << ((((_arg1.length * 8) + _local4) % 4) * 8))); _local4++; } while (true); _local3[(_local4 >> 2)] = (_local3[(_local4 >> 2)] | (128 << ((((_arg1.length * 8) + _local4) % 4) * 8))); _local5 = (_arg1.length * 8); _local3[((_local2 * 16) - 2)] = (_local5 & 0xFF); _local3[((_local2 * 16) - 2)] = (_local3[((_local2 * 16) - 2)] | (((_local5 >>> 8) & 0xFF) << 8)); _local3[((_local2 * 16) - 2)] = (_local3[((_local2 * 16) - 2)] | (((_local5 >>> 16) & 0xFF) << 16)); _local3[((_local2 * 16) - 2)] = (_local3[((_local2 * 16) - 2)] | (((_local5 >>> 24) & 0xFF) << 24)); return (_local3); } public static function rol(_arg1, _arg2){ return (((_arg1 << _arg2) | (_arg1 >>> (32 - _arg2)))); } public static function cmn(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6){ return (Md5.addme(Md5.rol(Md5.addme(Md5.addme(_arg2, _arg1), Md5.addme(_arg4, _arg6)), _arg5), _arg3)); } public static function ff(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){ return (Md5.cmn(Md5.bitOR(Md5.bitAND(_arg2, _arg3), Md5.bitAND(~(_arg2), _arg4)), _arg1, _arg2, _arg5, _arg6, _arg7)); } public static function gg(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){ return (Md5.cmn(Md5.bitOR(Md5.bitAND(_arg2, _arg4), Md5.bitAND(_arg3, ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7)); } public static function hh(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){ return (Md5.cmn(Md5.bitXOR(Md5.bitXOR(_arg2, _arg3), _arg4), _arg1, _arg2, _arg5, _arg6, _arg7)); } public static function ii(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7){ return (Md5.cmn(Md5.bitXOR(_arg3, Md5.bitOR(_arg2, ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7)); } public static function __jsflash_encode(_arg1){ var _local2:* = Md5.str2blks(_arg1); var _local3:* = 1732584193; var _local4:* = -271733879; var _local5:* = -1732584194; var _local6:* = 271733878; var _local8:* = 0; do { //unresolved if var _local9:* = _local3; var _local10:* = _local4; var _local11:* = _local5; var _local12:* = _local6; var _local7:* = 0; _local3 = Md5.ff(_local3, _local4, _local5, _local6, _local2[(_local8 + 0)], 7, -680876936); _local6 = Md5.ff(_local6, _local3, _local4, _local5, _local2[(_local8 + 1)], 12, -389564586); _local5 = Md5.ff(_local5, _local6, _local3, _local4, _local2[(_local8 + 2)], 17, 606105819); _local4 = Md5.ff(_local4, _local5, _local6, _local3, _local2[(_local8 + 3)], 22, -1044525330); _local3 = Md5.ff(_local3, _local4, _local5, _local6, _local2[(_local8 + 4)], 7, -176418897); _local6 = Md5.ff(_local6, _local3, _local4, _local5, _local2[(_local8 + 5)], 12, 1200080426); _local5 = Md5.ff(_local5, _local6, _local3, _local4, _local2[(_local8 + 6)], 17, -1473231341); _local4 = Md5.ff(_local4, _local5, _local6, _local3, _local2[(_local8 + 7)], 22, -45705983); _local3 = Md5.ff(_local3, _local4, _local5, _local6, _local2[(_local8 + 8)], 7, 1770035416); _local6 = Md5.ff(_local6, _local3, _local4, _local5, _local2[(_local8 + 9)], 12, -1958414417); _local5 = Md5.ff(_local5, _local6, _local3, _local4, _local2[(_local8 + 10)], 17, -42063); _local4 = Md5.ff(_local4, _local5, _local6, _local3, _local2[(_local8 + 11)], 22, -1990404162); _local3 = Md5.ff(_local3, _local4, _local5, _local6, _local2[(_local8 + 12)], 7, 1804603682); _local6 = Md5.ff(_local6, _local3, _local4, _local5, _local2[(_local8 + 13)], 12, -40341101); _local5 = Md5.ff(_local5, _local6, _local3, _local4, _local2[(_local8 + 14)], 17, -1502002290); _local4 = Md5.ff(_local4, _local5, _local6, _local3, _local2[(_local8 + 15)], 22, 1236535329); _local3 = Md5.gg(_local3, _local4, _local5, _local6, _local2[(_local8 + 1)], 5, -165796510); _local6 = Md5.gg(_local6, _local3, _local4, _local5, _local2[(_local8 + 6)], 9, -1069501632); _local5 = Md5.gg(_local5, _local6, _local3, _local4, _local2[(_local8 + 11)], 14, 643717713); _local4 = Md5.gg(_local4, _local5, _local6, _local3, _local2[(_local8 + 0)], 20, -373897302); _local3 = Md5.gg(_local3, _local4, _local5, _local6, _local2[(_local8 + 5)], 5, -701558691); _local6 = Md5.gg(_local6, _local3, _local4, _local5, _local2[(_local8 + 10)], 9, 38016083); _local5 = Md5.gg(_local5, _local6, _local3, _local4, _local2[(_local8 + 15)], 14, -660478335); _local4 = Md5.gg(_local4, _local5, _local6, _local3, _local2[(_local8 + 4)], 20, -405537848); _local3 = Md5.gg(_local3, _local4, _local5, _local6, _local2[(_local8 + 9)], 5, 568446438); _local6 = Md5.gg(_local6, _local3, _local4, _local5, _local2[(_local8 + 14)], 9, -1019803690); _local5 = Md5.gg(_local5, _local6, _local3, _local4, _local2[(_local8 + 3)], 14, -187363961); _local4 = Md5.gg(_local4, _local5, _local6, _local3, _local2[(_local8 + 8)], 20, 1163531501); _local3 = Md5.gg(_local3, _local4, _local5, _local6, _local2[(_local8 + 13)], 5, -1444681467); _local6 = Md5.gg(_local6, _local3, _local4, _local5, _local2[(_local8 + 2)], 9, -51403784); _local5 = Md5.gg(_local5, _local6, _local3, _local4, _local2[(_local8 + 7)], 14, 1735328473); _local4 = Md5.gg(_local4, _local5, _local6, _local3, _local2[(_local8 + 12)], 20, -1926607734); _local3 = Md5.hh(_local3, _local4, _local5, _local6, _local2[(_local8 + 5)], 4, -378558); _local6 = Md5.hh(_local6, _local3, _local4, _local5, _local2[(_local8 + 8)], 11, -2022574463); _local5 = Md5.hh(_local5, _local6, _local3, _local4, _local2[(_local8 + 11)], 16, 1839030562); _local4 = Md5.hh(_local4, _local5, _local6, _local3, _local2[(_local8 + 14)], 23, -35309556); _local3 = Md5.hh(_local3, _local4, _local5, _local6, _local2[(_local8 + 1)], 4, -1530992060); _local6 = Md5.hh(_local6, _local3, _local4, _local5, _local2[(_local8 + 4)], 11, 1272893353); _local5 = Md5.hh(_local5, _local6, _local3, _local4, _local2[(_local8 + 7)], 16, -155497632); _local4 = Md5.hh(_local4, _local5, _local6, _local3, _local2[(_local8 + 10)], 23, -1094730640); _local3 = Md5.hh(_local3, _local4, _local5, _local6, _local2[(_local8 + 13)], 4, 681279174); _local6 = Md5.hh(_local6, _local3, _local4, _local5, _local2[(_local8 + 0)], 11, -358537222); _local5 = Md5.hh(_local5, _local6, _local3, _local4, _local2[(_local8 + 3)], 16, -722521979); _local4 = Md5.hh(_local4, _local5, _local6, _local3, _local2[(_local8 + 6)], 23, 76029189); _local3 = Md5.hh(_local3, _local4, _local5, _local6, _local2[(_local8 + 9)], 4, -640364487); _local6 = Md5.hh(_local6, _local3, _local4, _local5, _local2[(_local8 + 12)], 11, -421815835); _local5 = Md5.hh(_local5, _local6, _local3, _local4, _local2[(_local8 + 15)], 16, 530742520); _local4 = Md5.hh(_local4, _local5, _local6, _local3, _local2[(_local8 + 2)], 23, -995338651); _local3 = Md5.ii(_local3, _local4, _local5, _local6, _local2[(_local8 + 0)], 6, -198630844); _local6 = Md5.ii(_local6, _local3, _local4, _local5, _local2[(_local8 + 7)], 10, 1126891415); _local5 = Md5.ii(_local5, _local6, _local3, _local4, _local2[(_local8 + 14)], 15, -1416354905); _local4 = Md5.ii(_local4, _local5, _local6, _local3, _local2[(_local8 + 5)], 21, -57434055); _local3 = Md5.ii(_local3, _local4, _local5, _local6, _local2[(_local8 + 12)], 6, 1700485571); _local6 = Md5.ii(_local6, _local3, _local4, _local5, _local2[(_local8 + 3)], 10, -1894986606); _local5 = Md5.ii(_local5, _local6, _local3, _local4, _local2[(_local8 + 10)], 15, -1051523); _local4 = Md5.ii(_local4, _local5, _local6, _local3, _local2[(_local8 + 1)], 21, -2054922799); _local3 = Md5.ii(_local3, _local4, _local5, _local6, _local2[(_local8 + 8)], 6, 1873313359); _local6 = Md5.ii(_local6, _local3, _local4, _local5, _local2[(_local8 + 15)], 10, -30611744); _local5 = Md5.ii(_local5, _local6, _local3, _local4, _local2[(_local8 + 6)], 15, -1560198380); _local4 = Md5.ii(_local4, _local5, _local6, _local3, _local2[(_local8 + 13)], 21, 1309151649); _local3 = Md5.ii(_local3, _local4, _local5, _local6, _local2[(_local8 + 4)], 6, -145523070); _local6 = Md5.ii(_local6, _local3, _local4, _local5, _local2[(_local8 + 11)], 10, -1120210379); _local5 = Md5.ii(_local5, _local6, _local3, _local4, _local2[(_local8 + 2)], 15, 718787259); _local4 = Md5.ii(_local4, _local5, _local6, _local3, _local2[(_local8 + 9)], 21, -343485551); _local3 = Md5.addme(_local3, _local9); _local4 = Md5.addme(_local4, _local10); _local5 = Md5.addme(_local5, _local11); _local6 = Md5.addme(_local6, _local12); _local8 = (_local8 + 16); } while (true); return ((((Md5.rhex(_local3) + Md5.rhex(_local4)) + Md5.rhex(_local5)) + Md5.rhex(_local6))); } } dynamic class Boot_DA61EA extends MovieClip { public static var init; public static var tf; public static var lines; public static var skip_constructor; public function Boot_DA61EA(_arg1=null){ if (Boot_DA61EA.skip_constructor){ return; }; super(); var _local2:* = Array.prototype; _local2.copy = function (){ return (this.slice()); }; _local2.insert = function (_arg1, _arg2){ this.splice(_arg1, 0, _arg2); }; _local2.remove = function (_arg1){ var _local2:* = 0; var _local3:* = this.length; do { //unresolved if var _local4:* = _local2; _local2++; if ((this[_local4] == _arg1)){ this.splice(_local4, 1); return (true); }; } while (true); return (false); }; _local2.iterator = function (){ return ({next:function (){ var _local1 = this.cur; this.cur = (_local1 + 1); return (this.arr[_local1]); }, hasNext:function (){ return ((this.cur < this.arr.length)); }, arr:this, cur:0}); }; ??getglobalscope .Boolean = Boolean; ??getglobalscope .int = int; ??getglobalscope .Number = Number; ??getglobalscope .Dynamic = {toString:function (){ return ("Dynamic"); }}; var cca:* = String.prototype.charCodeAt; String.prototype.charCodeAt = function (_arg1){ var _local2:* = cca.call(this, _arg1); if (isNaN(_local2)){ return (null); }; return (_local2); }; Boot_DA61EA.lines = new Array(); Lib.current = ((_arg1 == null)) ? this : _arg1; if (!((Boot_DA61EA.init == null))){ Boot_DA61EA.init(); }; } public static function __construct__(_arg1){ return (new Boot_DA61EA(_arg1[0])); } public static function enum_to_string(_arg1){ if ((_arg1.params == null)){ return (_arg1.tag); }; return ((((_arg1.tag + "(") + _arg1.params.join(",")) + ")")); } public static function __instanceof(_arg1, _arg2){ try { if ((_arg2 === Dynamic)){ return (true); }; return ((_arg1 is _arg2)); } catch(#InvalidMultinameIndex#) { !ERROR! }; return (false); } public static function __clear_trace(){ Lib.current.removeChild(Boot_DA61EA.tf); Boot_DA61EA.tf = null; Boot_DA61EA.lines = new Array(); } public static function __set_trace_color(_arg1){ Boot_DA61EA.getTrace().textColor = _arg1; } public static function getTrace(){ var _local1:* = Lib.current; if ((Boot_DA61EA.tf == null)){ Boot_DA61EA.tf = new TextField(); Boot_DA61EA.tf.selectable = false; Boot_DA61EA.tf.width = _local1.stage.stageWidth; Boot_DA61EA.tf.autoSize = TextFieldAutoSize.LEFT; Boot_DA61EA.tf.mouseEnabled = false; }; _local1.addChild(Boot_DA61EA.tf); return (Boot_DA61EA.tf); } public static function __trace(_arg1, _arg2){ var _local3:* = Boot_DA61EA.getTrace(); var _local4 = ((_arg2 == null)) ? "(null)" : ((_arg2.fileName + ":") + _arg2.lineNumber); Boot_DA61EA.lines = Boot_DA61EA.lines.concat(((_local4 + ": ") + Boot_DA61EA.__string_rec(_arg1, "")).split("\n")); _local3.text = Boot_DA61EA.lines.join("\n"); var _local5:* = Lib.current.stage; if ((_local5 == null)){ throw ("Loaded movie not ready to trace, wait a few frames"); }; do { //unresolved if Boot_DA61EA.lines.shift(); _local3.text = Boot_DA61EA.lines.join("\n"); } while (true); } public static function __string_rec(_arg1, _arg2){ var _local3:* = getQualifiedClassName(_arg1); var _local4 = _local3; if (_local4 == "Object"){ var _local7:int; var _local6 = []; var _local8 = _arg1; for (/*?*/in _arg1) { _local6.push(//unresolved nextvalue or nextname); }; var _local5:* = _local6; _local6 = "{"; _local7 = true; _local8 = 0; var _local9:* = _local5.length; do { //unresolved if var _local10:* = _local8; _local8++; var _local11:* = _local5[_local10]; if (_local7){ _local7 = false; } else { _local6 = (_local6 + ","); }; _local6 = (_local6 + (((" " + _local11) + " : ") + Boot_DA61EA.__string_rec(_arg1[_local11], _arg2))); } while (true); if (!(_local7)){ _local6 = (_local6 + " "); }; _local6 = (_local6 + "}"); return (_local6); } else { if (_local4 == "Array"){ _local5 = "["; _local7 = true; _local8 = 0; _local9 = _arg1.length; do { //unresolved if _local10 = _local8; _local8++; if (_local7){ _local7 = false; } else { _local5 = (_local5 + ","); }; _local5 = (_local5 + Boot_DA61EA.__string_rec(_arg1[_local10], _arg2)); } while (true); return ((_local5 + "]")); } else { _local4 = typeof(_arg1); if (_local4 == "function"){ return ("<function>"); //unresolved jump }; }; }; return (new String(_arg1)); } } class A53 { public const __enum__ = true; public var tag; public var params; public static const __isenum = true; public function A53(_arg1, _arg2){ tag = _arg1; params = _arg2; } public function toString(){ return (Boot_DA61EA.enum_to_string(this)); } public static function A8(_arg1){ return (new A53("A8", [_arg1])); } public static function A7(_arg1){ return (new A53("A7", [_arg1])); } public static function A59(_arg1){ return (new A53("A59", [_arg1])); } public static function A55(_arg1){ return (new A53("A55", [_arg1])); } public static function A54(_arg1){ return (new A53("A54", [_arg1])); } public static function A5(_arg1){ return (new A53("A5", [_arg1])); } public static function A45(_arg1){ return (new A53("A45", [_arg1])); } public static function A44(_arg1){ return (new A53("A44", [_arg1])); } public static function A38(_arg1){ return (new A53("A38", [_arg1])); } public static function A36(_arg1){ return (new A53("A36", [_arg1])); } public static function A21(_arg1){ return (new A53("A21", [_arg1])); } public static function A2(_arg1){ return (new A53("A2", [_arg1])); } public static function A19(_arg1){ return (new A53("A19", [_arg1])); } public static function A14(_arg1){ return (new A53("A14", [_arg1])); } public static function A13(_arg1){ return (new A53("A13", [_arg1])); } public static function A11(_arg1){ return (new A53("A11", [_arg1])); } public static function A1(_arg1){ return (new A53("A1", [_arg1])); } } class A27 { public const __enum__ = true; public var tag; public var params; public static const __isenum = true; public function A27(_arg1, _arg2){ tag = _arg1; params = _arg2; } public function toString(){ return (Boot_DA61EA.enum_to_string(this)); } public static function A47(_arg1, _arg2, _arg3, _arg4){ return (new A27("A47", [_arg1, _arg2, _arg3, _arg4])); } public static function A33(_arg1, _arg2, _arg3, _arg4){ return (new A27("A33", [_arg1, _arg2, _arg3, _arg4])); } public static function A25(_arg1, _arg2, _arg3, _arg4){ return (new A27("A25", [_arg1, _arg2, _arg3, _arg4])); } } class A18 { public const __enum__ = true; public var tag; public var params; public static const __isenum = true; public static var A23:A18; public function A18(_arg1, _arg2){ tag = _arg1; params = _arg2; } public function toString(){ return (Boot_DA61EA.enum_to_string(this)); } public static function A3(_arg1, _arg2){ return (new A18("A3", [_arg1, _arg2])); } } class A41 { public const __enum__ = true; public var tag; public var params; public static const __isenum = true; public static var A57:A41; public static var A56:A41; public static var A52:A41; public static var A37:A41; public static var A29:A41; public static var A22:A41; public function A41(_arg1, _arg2){ tag = _arg1; params = _arg2; } public function toString(){ return (Boot_DA61EA.enum_to_string(this)); } } class A5 { public const __enum__ = true; public var tag; public var params; public static const __isenum = true; public static var A17:A5; public function A5(_arg1, _arg2){ tag = _arg1; params = _arg2; } public function toString(){ return (Boot_DA61EA.enum_to_string(this)); } public static function A9(_arg1){ return (new A5("A9", [_arg1])); } public static function A58(_arg1){ return (new A5("A58", [_arg1])); } public static function A40(_arg1){ return (new A5("A40", [_arg1])); } public static function A39(_arg1){ return (new A5("A39", [_arg1])); } public static function A24(_arg1){ return (new A5("A24", [_arg1])); } } class A45 extends Sprite { public var a492; public var a266; public function A45(_arg1, _arg2, _arg3){ if (Boot_DA61EA.skip_constructor){ return; }; super(); a492 = _arg1; var _local5 = _arg1.tag; var _local4 = _arg1.params; if (_local5 == "A58"){ var _local6 = _local4[0]; graphics.lineStyle(1, 0, 0.5); var _local7:* = (_arg2 * 0.8); var _local8:* = (_arg3 * 0.8); graphics.beginFill(0x775500); if ((_local6 > 1)){ graphics.drawRect((_local7 * -(0.5)), (_local8 * -(0.5)), _local7, _local8); } else { graphics.drawCircle(0, 0, (_arg2 * 0.3)); }; } else { if (_local5 == "A24"){ _local6 = _local4[0]; graphics.lineStyle(1, 0, 0.5); graphics.beginFill(119); _local7 = (_arg2 * 0.8); _local8 = (_arg3 * 0.8); if ((_local6 > 1)){ graphics.drawRect((_local7 * -(0.5)), (_local8 * -(0.5)), _local7, _local8); } else { graphics.drawCircle(0, 0, (_arg2 * 0.3)); }; } else { if (_local5 == "A39"){ _local6 = _local4[0]; graphics.lineStyle(1, 0, 0.5); graphics.beginFill(0x770077); _local7 = (_arg2 * 0.8); _local8 = (_arg3 * 0.8); if ((_local6 > 1)){ graphics.drawRect((_local7 * -(0.5)), (_local8 * -(0.5)), _local7, _local8); } else { graphics.drawCircle(0, 0, (_arg2 * 0.3)); }; } else { if (_local5 == "A9"){ _local6 = _local4[0]; graphics.lineStyle(1, 0, 0.5); graphics.beginFill(0x7777); _local7 = (_arg2 * 0.8); _local8 = (_arg3 * 0.8); if ((_local6 > 1)){ graphics.drawRect((_local7 * -(0.5)), (_local8 * -(0.5)), _local7, _local8); } else { graphics.drawCircle(0, 0, (_arg2 * 0.3)); }; } else { if (_local5 == "A40"){ _local6 = _local4[0]; graphics.lineStyle(1, 0, 0.5); graphics.beginFill(0x7700); _local7 = (_arg2 * 0.8); _local8 = (_arg3 * 0.8); if ((_local6 < 1)){ graphics.drawRect((_local7 * -(0.5)), (_local8 * -(0.5)), _local7, _local8); } else { graphics.drawCircle(0, 0, (_arg2 * 0.3)); }; } else { null; }; }; }; }; }; } public function a290(_arg1){ x = _arg1.x; y = _arg1.y; return (_arg1); } public static function __construct__(_arg1){ return (new A45(_arg1[0], _arg1[1], _arg1[2])); } } class A31 { public var a561; public var a31; public var a175; public var a168; public var a144; public var a117; public function A31(_arg1){ if (Boot_DA61EA.skip_constructor){ return; }; a561 = _arg1; } public function a91(){ var _local1 = a561; if (_local1 == A18.A23){ return (true); } else { return (false); }; } public function a547(){ var _local2 = a561.tag; var _local1 = a561.params; if (_local2 == "A3"){ var _local3 = _local1[0]; var _local4 = _local1[1]; return ((_local3 < 1)); } else { return (false); }; } public function a499(){ var _local2 = a561.tag; var _local1 = a561.params; if (_local2 == "A3"){ var _local3 = _local1[0]; var _local4 = _local1[1]; return ((_local3 > 1)); } else { return (false); }; } public function a449(){ var _local2 = a561.tag; var _local1 = a561.params; if (_local2 == "A3"){ var _local3 = _local1[0]; var _local4 = _local1[1]; return (_local4); } else { return (0); }; } public function a416(){ var _local2 = a561.tag; var _local1 = a561.params; if (_local2 == "A3"){ var _local3 = _local1[0]; var _local4 = _local1[1]; return (_local3); } else { return (1); }; } public function a411(){ var _local2 = a561.tag; var _local1 = a561.params; a561 = ((_local2)=="A3") ? var _local3 = _local1[0]; var _local4 = _local1[1]; ((_local4 > 0)) ? ??getglobalscope .A18.A3(_local3, (_local4 - 1)) : ??getglobalscope .A18.A23 : a561; } public function a375(){ return (new A31(a561)); } public static function __construct__(_arg1){ return (new A31(_arg1[0])); } } class A28 { public var a96; public var a46; public function A28(_arg1, _arg2=null){ if (Boot_DA61EA.skip_constructor){ return; }; a96 = _arg1; if (!((_arg2 == null))){ a46 = _arg2; }; } public static function __construct__(_arg1){ return (new A28(_arg1[0], _arg1[1])); } } class A26 { public function A26(){ if (Boot_DA61EA.skip_constructor){ return; }; } public static function __construct__(_arg1){ return (new A26()); } public static function a68(_arg1, _arg2){ return ({y:(_arg1.y + _arg2.y), x:(_arg1.x + _arg2.x)}); } public static function a337(_arg1, _arg2){ return ({y:(_arg1 * _arg2.y), x:(_arg1 * _arg2.x)}); } public static function length(_arg1){ return (Math.sqrt(((_arg1.x * _arg1.x) + (_arg1.y * _arg1.y)))); } } class A38 { public var y; public var x; public function A38(_arg1, _arg2){ if (Boot_DA61EA.skip_constructor){ return; }; x = _arg1; y = _arg2; } public static function __construct__(_arg1){ return (new A38(_arg1[0], _arg1[1])); } } class A19 { public var a78; public var a558; public var a521; public var a433; public var a322; public var a304; public var a294; public var a282; public var a223; public var a138; public function A19(_arg1, _arg2, _arg3, _arg4){ if (Boot_DA61EA.skip_constructor){ return; }; a138 = _arg1; a521 = _arg2; a223 = _arg3; a433 = _arg4; a294 = (a223 / a138); a558 = (a433 / a521); a78 = []; a282 = []; a304 = []; a322 = []; var _local5:* = 0; var _local6:* = (a138 * a521); do { //unresolved if var _local7:* = _local5; _local5++; a78[_local7] = Math.POSITIVE_INFINITY; a282[_local7] = 0; a304[_local7] = _local7; a322[_local7] = 0; } while (true); } public function remove(_arg1, _arg2){ a322[a417(_arg1, _arg2)] = 0; } public function a551(){ var _local1:* = true; var _local2:* = 0; var _local3:* = (a138 - 1); do { //unresolved if var _local4:* = _local2; _local2++; if (!((a282[_local4] == 0))){ _local1 = false; break; }; } while (true); return (_local1); } public function a549(_arg1){ if ((_arg1 < 0)){ _arg1 = 0; } else { if ((_arg1 > (a433 - 1))){ _arg1 = (a433 - 1); }; }; return (_arg1); } public function a546(_arg1, _arg2){ var _local3:* = []; if (((((_arg1 + 1) < a138)) && ((a322[((_arg1 + 1) + (_arg2 * a138))] == 0)))){ _local3.push(((_arg1 + 1) + (_arg2 * a138))); }; if (((((_arg1 - 1) >= 0)) && ((a322[((_arg1 - 1) + (_arg2 * a138))] == 0)))){ _local3.push(((_arg1 - 1) + (_arg2 * a138))); }; if (((((_arg2 + 1) < a521)) && ((a322[(_arg1 + ((_arg2 + 1) * a138))] == 0)))){ _local3.push((_arg1 + ((_arg2 + 1) * a138))); }; if (((((_arg2 - 1) >= 0)) && ((a322[(_arg1 + ((_arg2 - 1) * a138))] == 0)))){ _local3.push((_arg1 + ((_arg2 - 1) * a138))); }; return (_local3); } public function a537(_arg1){ if ((_arg1 < 0)){ _arg1 = 0; } else { if ((_arg1 > (a223 - 1))){ _arg1 = (a223 - 1); }; }; return (_arg1); } public function a510(_arg1, _arg2){ if ((((Math.abs((_arg1 - _arg2)) == 1)) || ((Math.abs((_arg1 - _arg2)) == a138)))){ return (1); } else { return (1.414213562); }; } public function a488(_arg1, _arg2){ a322[a417(_arg1, _arg2)] = (a322[a417(_arg1, _arg2)] + 1); } public function a479(_arg1, _arg2){ if ((a322[a417(_arg1, _arg2)] > 0)){ a322[a417(_arg1, _arg2)] = (a322[a417(_arg1, _arg2)] - 1); }; } public function a434(_arg1, _arg2){ var _local3:* = Math.floor(_arg1); var _local4:* = Math.floor(_arg2); var _local5:* = a203(a372(_local3, _local4)); return ({y:(_local5.y * a558), x:(_local5.x * a294)}); } public function a417(_arg1, _arg2){ return ((_arg1 + (_arg2 * a138))); } public function a377(_arg1, _arg2){ return (a322[a417(_arg1, _arg2)]); } public function a372(_arg1, _arg2){ return (a417(Math.floor((a537(_arg1) / a294)), Math.floor((a549(_arg2) / a558)))); } public function a314(){ return ({y:(a433 - (a558 * 0.5)), x:(a223 / 2)}); } public function a288(_arg1, _arg2){ var _local3:* = Math.floor(_arg1); var _local4:* = Math.floor(_arg2); var _local5:* = a372(_local3, _local4); var _local6:* = a203(a304[_local5]); return ({y:((_local6.y * a558) + (a558 * 0.5)), x:((_local6.x * a294) + (a294 * 0.5))}); } public function a276(_arg1, _arg2){ if ((((_arg2 == 0)) || ((((_arg2 == (a521 - 1))) && ((_arg1 == Math.floor((a138 / 2)))))))){ return (true); } else { return (false); }; } public function a246(){ var _local1:* = Math.floor((a138 / 2)); var _local2:* = (a521 - 1); var _local3:* = 0; var _local4:* = (a138 * a521); do { //unresolved if var _local5:* = _local3; _local3++; a282[_local5] = 0; } while (true); _local3 = [a417(_local1, _local2)]; _local4 = _local3.iterator(); do { //unresolved if _local5 = _local4.next(); a282[_local5] = 1; } while (true); _local4 = a417(_local1, _local2); a78[_local4] = 0; a304[_local4] = _local4; _local5 = []; do { //unresolved if _local4 = _local3.shift(); a282[_local4] = 2; _local5.push([a203(_local4).x, a203(_local4).y, a322[_local4], _local4]); var _local6 = a546(a203(_local4).x, a203(_local4).y).iterator(); do { //unresolved if var _local7 = _local6.next(); if ((a282[_local7] == 0)){ _local3.push(_local7); a304[_local7] = _local4; a78[_local7] = (a510(_local4, _local7) + a78[_local4]); var _local8 = a189((_local7 % a138), Math.floor((_local7 / a138))).iterator(); do { //unresolved if var _local9 = _local8.next(); if ((((a282[_local9] == 2)) && (((a78[_local9] + a510(_local7, _local9)) < a78[_local7])))){ a304[_local7] = _local9; a78[_local7] = (a510(_local9, _local7) + a78[_local9]); }; } while (true); a282[_local7] = 1; }; } while (true); } while (true); } public function a203(_arg1){ var _local2:* = (_arg1 % a138); var _local3:* = Math.floor((_arg1 / a138)); return ({y:_local3, x:_local2}); } public function a189(_arg1, _arg2){ var _local3:* = []; if (((((_arg1 + 1) < a138)) && ((a322[((_arg1 + 1) + (_arg2 * a138))] == 0)))){ if (((((_arg2 + 1) < a521)) && ((a322[(_arg1 + ((_arg2 + 1) * a138))] == 0)))){ _local3.push(((_arg1 + 1) + ((_arg2 + 1) * a138))); }; if (((((_arg2 - 1) >= 0)) && ((a322[(_arg1 + ((_arg2 - 1) * a138))] == 0)))){ _local3.push(((_arg1 + 1) + ((_arg2 - 1) * a138))); }; }; if (((((_arg1 - 1) >= 0)) && ((a322[((_arg1 - 1) + (_arg2 * a138))] == 0)))){ if (((((_arg2 + 1) < a521)) && ((a322[(_arg1 + ((_arg2 + 1) * a138))] == 0)))){ _local3.push(((_arg1 - 1) + ((_arg2 + 1) * a138))); }; if (((((_arg2 - 1) >= 0)) && ((a322[(_arg1 + ((_arg2 - 1) * a138))] == 0)))){ _local3.push(((_arg1 - 1) + ((_arg2 - 1) * a138))); }; }; return (_local3); } public static function __construct__(_arg1){ return (new A19(_arg1[0], _arg1[1], _arg1[2], _arg1[3])); } } class A2 extends Sprite { public var a367; public function A2(_arg1){ if (Boot_DA61EA.skip_constructor){ return; }; super(); a367 = _arg1; a11(); } public function a354(_arg1, _arg2, _arg3, _arg4){ graphics.lineStyle(1, 0xAAAA00, 0.2); graphics.moveTo(_arg1, _arg2); graphics.lineTo(_arg3, _arg4); } public function a11(){ var _local1:* = 0; var _local2:* = (a367.a138 + 1); do { //unresolved if var _local3:* = _local1; _local1++; var _local4:* = (_local3 * a367.a294); a354(_local4, a367.a558, _local4, a367.a433); } while (true); _local1 = 1; _local2 = (a367.a521 + 1); do { //unresolved if _local3 = _local1; _local1++; _local4 = (_local3 * a367.a558); a354(0, _local4, a367.a223, _local4); } while (true); } public static function __construct__(_arg1){ return (new A2(_arg1[0])); } } class A21 extends Sprite { public var a74; public var a64; public var a558; public var a552; public var a346; public var a294; public var a225; public var a2; public function A21(_arg1, _arg2, _arg3){ if (Boot_DA61EA.skip_constructor){ return; }; super(); a294 = _arg2; a558 = _arg3; a225 = _arg1; a550(new Sprite()); a569(new Sprite()); a74 = new Sprite(); addChild(a74); a2 = new Sprite(); a64 = new Sprite(); a64.graphics.lineStyle(1, 0xAAAA00, 0.5); a64.graphics.beginFill(0); a64.graphics.drawRect(-10, -13, 20, 5); a64.graphics.endFill(); a2.graphics.lineStyle(1, 0xAAAA00, 0.5); a2.graphics.beginFill(0xFF9900); a2.graphics.drawRect(0, 0, 20, 5); a2.x = -10; a2.y = -13; a2.graphics.endFill(); a64.visible = false; a2.visible = false; addChild(a64); addChild(a2); a411(); } public function a569(_arg1){ if (!((a552 == null))){ removeChild(a552); }; addChild(_arg1); a552 = _arg1; return (_arg1); } public function a550(_arg1){ if (!((a346 == null))){ removeChild(a346); }; addChild(_arg1); a346 = _arg1; return (_arg1); } public function a534(_arg1){ a552.rotation = _arg1; } public function a483(){ var _local1:* = false; if (((a225.a540) || (a225.a204))){ _local1 = true; }; a64.visible = _local1; a2.visible = _local1; if (a225.a540){ a2.scrollRect = new Rectangle(0, 0, ((20 * a225.a42) / a225.a213), 5); } else { if (a225.a204){ a2.scrollRect = new Rectangle(0, 0, ((20 * (a225.a237 - a225.a239)) / a225.a237), 5); }; }; } public function a411(){ a198(); x = a225.a266.x; y = a225.a266.y; a483(); a74.graphics.clear(); a74.graphics.lineStyle(2, 0, 0.8); var _local1:* = (a294 * 0.7); var _local2:* = (a558 * 0.7); var _local3:* = a225.a309; if ((_local3 >= 1)){ a74.graphics.moveTo((-(0.5) * _local1), 0); a74.graphics.lineTo((0.5 * _local1), 0); }; if ((_local3 >= 2)){ a74.graphics.moveTo(0, (-(0.5) * _local2)); a74.graphics.lineTo(0, (0.5 * _local2)); }; if ((_local3 >= 3)){ a74.graphics.moveTo(((-(0.5) * _local1) * 0.707106781), ((-(0.5) * _local2) * 0.707106781)); a74.graphics.lineTo(((0.5 * _local1) * 0.707106781), ((0.5 * _local2) * 0.707106781)); }; if ((_local3 >= 4)){ a74.graphics.moveTo(((0.5 * _local1) * 0.707106781), ((-(0.5) * _local2) * 0.707106781)); a74.graphics.lineTo(((-(0.5) * _local1) * 0.707106781), ((0.5 * _local2) * 0.707106781)); }; if (a225.a102){ var _local4:* = new GlowFilter(0xFFAA00, 0.7); _local4.blurX = 10; _local4.blurY = 10; _local4.strength = 2; a346.filters = [_local4]; } else { a346.filters = []; }; } public function a198(){ a534(a225.a232); } public static function __construct__(_arg1){ return (new A21(_arg1[0], _arg1[1], _arg1[2])); } } class A36 { public var a93; public var a561; public var a560; public var a556; public var a544; public var a540; public var a517; public var a512; public var a501; public var a474; public var a472; public var a426; public var a42; public var a397; public var a374; public var a362; public var a324; public var a320; public var a313; public var a312; public var a309; public var a270; public var a266; public var a259; public var a253; public var a244; public var a243; public var a239; public var a237; public var a232; public var a213; public var a212; public var a210; public var a206; public var a204; public var a191; public var a185; public var a16; public var a102; public function A36(){ if (Boot_DA61EA.skip_constructor){ return; }; a206 = []; a313 = ""; a320 = null; a536([160, 60]); a325([4, 4, 4, 4, 4]); a266 = {y:0, x:0}; a501 = true; a244 = true; var _local1:* = 100; a237 = _local1; a115(_local1); a392([50, 5]); a93 = 0; a232 = 0; a56([5, 2]); a98([5, 10]); a12(0); a474 = 1; a512 = 10; a517 = Math.floor((a224() * 0.75)); a213 = a366(100); a540 = false; a16 = [new A31(??getglobalscope .A18.A23), new A31(??getglobalscope .A18.A23), new A31(??getglobalscope .A18.A23), new A31(??getglobalscope .A18.A23), new A31(??getglobalscope .A18.A23)]; a185 = false; a204 = false; a212 = a310; } public function a98(_arg1){ a397 = _arg1; a517 = 0; var _local2:* = 0; var _local3:* = a309; do { //unresolved if var _local4:* = _local2; _local2++; a517 = (a517 + Math.floor((a305()[_local4] * 0.75))); } while (true); return (_arg1); } public function a56(_arg1){ var _local2:* = _arg1; a426 = _local2; return (_local2); } public function a536(_arg1){ var _local2:* = _arg1; a556 = _local2; return (_local2); } public function a508(){ if (!(a204)){ a540 = true; }; } public function a447(){ return ((((a309 < a474)) && (((!(a204)) && (!(a540)))))); } public function a411(){ if (!((a320 == null))){ var _local1:* = a320.a266; var _local2:* = a266; var _local3:* = (_local1.x - _local2.x); var _local4:* = (_local1.y - _local2.y); a232 = Math.atan((_local4 / _local3)); a232 = (a232 * (180 / Math.PI)); if ((_local3 < 0)){ a232 = (a232 + 180); }; }; if (a540){ _local1 = this; _local1.a366((_local1.a42 - 1)); }; if (a204){ if ((a239 > 0)){ _local1 = this; _local1.a115((_local1.a239 - 1)); } else { _local1 = this; _local1.a12((_local1.a309 + 1)); a204 = false; }; }; } public function a399(){ if (((!(a540)) && ((a309 < a474)))){ a115(a237); a204 = true; a517 = (a517 + Math.floor((a224() * 0.75))); }; } public function a395(){ return (a336()[a309]); } public function a392(_arg1){ var _local2:* = _arg1; a374 = _local2; return (_local2); } public function a37(){ var _local1:* = []; var _local2:* = 1; var _local3 = a206.iterator(); do { //unresolved if var _local4 = _local3.next(); var _local6 = _local4.tag; var _local5 = _local4.params; if (_local6 == "A58"){ var _local7 = _local5[0]; _local2 = (_local2 * _local7); } else { null; }; } while (true); _local3 = 0; _local4 = a426.length; do { //unresolved if _local5 = _local3; _local3++; _local1[_local5] = Math.floor((0.5 + (a426[_local5] * _local2))); } while (true); return (_local1); } public function a366(_arg1){ a472 = ((a472 == null)) ? new A43(_arg1, false) : a472.a533(_arg1, a42); a42 = _arg1; return (_arg1); } public function a363(){ var _local1:* = []; var _local2:* = 0; var _local3:* = a336().length; do { //unresolved if var _local4:* = _local2; _local2++; _local1.push(Math.floor((1000 * (1 / a336()[_local4])))); } while (true); return (_local1); } public function a357(){ var _local1:* = []; var _local2:* = 1; var _local3 = a206.iterator(); do { //unresolved if var _local4 = _local3.next(); var _local6 = _local4.tag; var _local5 = _local4.params; if (_local6 == "A39"){ var _local7 = _local5[0]; _local2 = (_local2 * _local7); } else { null; }; } while (true); _local3 = 0; _local4 = a556.length; do { //unresolved if _local5 = _local3; _local3++; _local1[_local5] = Math.floor((0.5 + (a556[_local5] * _local2))); } while (true); return (_local1); } public function a344(){ return (a305()[(a309 + 1)]); } public function a34(){ return (a16[a309]); } public function a336(){ var _local1:* = []; var _local2:* = 1; var _local3 = a206.iterator(); do { //unresolved if var _local4 = _local3.next(); var _local6 = _local4.tag; var _local5 = _local4.params; if (_local6 == "A9"){ var _local7 = _local5[0]; _local2 = (_local2 / _local7); } else { null; }; } while (true); _local3 = 0; _local4 = a374.length; do { //unresolved if _local5 = _local3; _local3++; _local1[_local5] = Math.floor((0.5 + (a374[_local5] * _local2))); } while (true); return (_local1); } public function a325(_arg1){ var _local2:* = _arg1; a312 = _local2; return (_local2); } public function a310(){ return (new Sprite()); } public function a305(){ var _local1:* = []; var _local2:* = 1; var _local3 = a206.iterator(); do { //unresolved if var _local4 = _local3.next(); var _local6 = _local4.tag; var _local5 = _local4.params; if (_local6 == "A40"){ var _local7 = _local5[0]; _local2 = (_local2 * _local7); } else { null; }; } while (true); _local3 = 0; _local4 = a397.length; do { //unresolved if _local5 = _local3; _local3++; _local1[_local5] = Math.floor((0.5 + (a397[_local5] * _local2))); } while (true); return (_local1); } public function a241(){ var _local1:* = []; var _local2:* = 1; var _local3 = a206.iterator(); do { //unresolved if var _local4 = _local3.next(); var _local6 = _local4.tag; var _local5 = _local4.params; if (_local6 == "A24"){ var _local7 = _local5[0]; _local2 = (_local2 * _local7); } else { null; }; } while (true); _local3 = 0; _local4 = a312.length; do { //unresolved if _local5 = _local3; _local3++; _local1[_local5] = (0.5 + (a312[_local5] * _local2)); } while (true); return (_local1); } public function a224(){ return (a305()[a309]); } public function a195(){ return (Math.floor((1000 * (1 / a395())))); } public function a192(_arg1){ var _local2:* = _arg1.a266; var _local3:* = (_local2.x - a266.x); var _local4:* = (_local2.y - a266.y); return ((((_local3 * _local3) + (_local4 * _local4)) < (a154() * a154()))); } public function a187(){ if ((a320 == null)){ return (Math.POSITIVE_INFINITY); } else { var _local1:* = a320.a266; var _local2:* = (_local1.x - a266.x); var _local3:* = (_local1.y - a266.y); return (((_local2 * _local2) + (_local3 * _local3))); }; } public function a160(){ return (a37()[a309]); } public function a154(){ return (a357()[a309]); } public function a12(_arg1){ a253 = ((a253 == null)) ? new A43(_arg1, false) : a253.a533(_arg1, a309); a309 = _arg1; return (_arg1); } public function a115(_arg1){ a560 = ((a560 == null)) ? new A43(_arg1, false) : a560.a533(_arg1, a239); a239 = _arg1; return (_arg1); } public function a106(){ return (a241()[a309]); } public static function __construct__(_arg1){ return (new A36()); } } class A20 { public function A20(){ if (Boot_DA61EA.skip_constructor){ return; }; } public static function __construct__(_arg1){ return (new A20()); } public static function a495(){ var _local1:* = new Sprite(); _local1.graphics.lineStyle(2, 0xFF0000); _local1.graphics.drawCircle(0, 0, 5); return (_local1); } public static function a463(){ var _local1:* = new Sprite(); _local1.graphics.clear(); _local1.graphics.lineStyle(1, 0xCCCC00); _local1.graphics.moveTo(0, 0); _local1.graphics.lineTo(10, 0); _local1.graphics.moveTo(10, 0); _local1.graphics.lineTo(10, 3); _local1.graphics.moveTo(10, 0); _local1.graphics.lineTo(10, -3); return (_local1); } public static function a289(){ var _local1:* = new Sprite(); _local1.graphics.clear(); _local1.graphics.lineStyle(1, 0xFF0000); _local1.graphics.drawRect(0, -2, 10, 4); return (_local1); } public static function a361(){ var _local1:* = new Sprite(); _local1.graphics.lineStyle(2, 0xFFFF00); _local1.graphics.drawCircle(0, 0, 5); return (_local1); } public static function a222(){ var _local1:* = new Sprite(); _local1.graphics.clear(); _local1.graphics.lineStyle(1, 0xFF0000); _local1.graphics.moveTo(0, 0); _local1.graphics.lineTo(10, 0); _local1.graphics.moveTo(10, 0); _local1.graphics.lineTo(10, 3); _local1.graphics.moveTo(10, 0); _local1.graphics.lineTo(10, -3); return (_local1); } public static function a507(){ var _local1:* = new Sprite(); _local1.graphics.clear(); _local1.graphics.lineStyle(1, 0xFFFF00); _local1.graphics.drawRect(0, -2, 10, 4); return (_local1); } public static function a193(){ var _local1:* = new Sprite(); _local1.graphics.lineStyle(2, 35037); _local1.graphics.drawCircle(0, 0, 5); return (_local1); } public static function a215(){ var _local1:* = new Sprite(); _local1.graphics.clear(); _local1.graphics.lineStyle(1, 0x9900); _local1.graphics.moveTo(0, 0); _local1.graphics.lineTo(10, 0); _local1.graphics.moveTo(10, 0); _local1.graphics.lineTo(10, 3); _local1.graphics.moveTo(10, 0); _local1.graphics.lineTo(10, -3); return (_local1); } public static function a496(){ var _local1:* = new Sprite(); _local1.graphics.clear(); _local1.graphics.lineStyle(1, 35071); _local1.graphics.drawRect(0, -2, 10, 4); return (_local1); } public static function a269(){ var _local1:* = new Sprite(); _local1.graphics.lineStyle(2, 10083805); _local1.graphics.drawCircle(0, 0, 5); return (_local1); } public static function a348(){ var _local1:* = new Sprite(); _local1.graphics.clear(); _local1.graphics.lineStyle(1, 11184861); _local1.graphics.moveTo(0, 0); _local1.graphics.lineTo(10, 0); _local1.graphics.moveTo(10, 0); _local1.graphics.lineTo(10, 3); _local1.graphics.moveTo(10, 0); _local1.graphics.lineTo(10, -3); return (_local1); } public static function a38(){ var _local1:* = new Sprite(); _local1.graphics.clear(); _local1.graphics.lineStyle(1, 0xFFFF); _local1.graphics.drawRect(0, -2, 10, 4); return (_local1); } public static function a475(){ var _local1:* = new Sprite(); _local1.graphics.lineStyle(2, 0xAA5500); _local1.graphics.drawCircle(0, 0, 5); return (_local1); } public static function a383(){ var _local1:* = new Sprite(); _local1.graphics.clear(); _local1.graphics.lineStyle(1, 0xDD8800); _local1.graphics.moveTo(0, 0); _local1.graphics.lineTo(10, 0); _local1.graphics.moveTo(10, 0); _local1.graphics.lineTo(10, 3); _local1.graphics.moveTo(10, 0); _local1.graphics.lineTo(10, -3); return (_local1); } public static function a67(){ var _local1:* = new Sprite(); _local1.graphics.clear(); _local1.graphics.lineStyle(1, 0xEE9900); _local1.graphics.drawRect(0, -2, 10, 4); return (_local1); } } class A1 extends Sprite { public var a563; public var a368; public var a266; public function A1(_arg1){ if (Boot_DA61EA.skip_constructor){ return; }; super(); x = _arg1.a266.x; y = _arg1.a266.y; a368 = _arg1; rotation = a368.rotation; } public function a576(_arg1){ a563 = _arg1; a368.a104 = a563; addChild(a563); return (_arg1); } public function a464(){ var _local1:* = {y:y, x:x}; return (_local1); } public function a411(){ x = a368.a266.x; y = a368.a266.y; rotation = a368.rotation; if (a368.a541){ var _local1:* = ((a368.a443 * 0.8) + 1); a563.visible = false; graphics.clear(); graphics.lineStyle(2, 0xFF0000, (1 - (a368.a443 / a368.a65))); graphics.drawCircle(0, 0, _local1); }; } public function a290(_arg1){ x = _arg1.x; y = _arg1.y; return (_arg1); } public static function __construct__(_arg1){ return (new A1(_arg1[0])); } } class A59 { public var rotation; public var a93; public var a65; public var a561; public var a541; public var a523; public var a501; public var a49; public var a443; public var a362; public var a342; public var a296; public var a266; public var a244; public var a119; public var a104; public function A59(_arg1){ if (Boot_DA61EA.skip_constructor){ return; }; GameSounds.bullet01_play(); a290(_arg1.a266); a523 = _arg1.a106(); var _local2:* = (Math.cos(((_arg1.a232 * Math.PI) / 180)) * a523); var _local3:* = (Math.sin(((_arg1.a232 * Math.PI) / 180)) * a523); a342 = {y:_local3, x:_local2}; rotation = _arg1.a232; a119 = _arg1.a154(); a501 = _arg1.a501; a244 = _arg1.a244; a362 = _arg1.a160(); a561 = _arg1.a34(); a296 = true; a541 = false; a443 = 0; a104 = new Sprite(); a65 = 10; } public function a411(){ if ((a443 == 0)){ a290(A26.a68(a266, a342)); a119 = (a119 - a523); } else { if ((((a443 > 0)) && ((a443 <= a65)))){ a443 = (a443 + 1); } else { a296 = false; }; }; } public function a290(_arg1){ var _local2:* = _arg1; a266 = _local2; return (_local2); } public function a179(){ a443 = 1; a541 = true; } public function a121(){ a296 = false; } public static function __construct__(_arg1){ return (new A59(_arg1[0])); } } class A8 extends Sprite { public var a573; public var a234; public var a208; public var a202; public var a13; public function A8(_arg1){ if (Boot_DA61EA.skip_constructor){ return; }; super(); a208 = _arg1; a234 = 5; a202 = new Sprite(); a13 = new Sprite(); a468(); a482(); a208.a104 = a299(new Sprite()); a573.rotation = 0; } public function a482(){ x = a208.a266.x; y = a208.a266.y; } public function a481(){ a13.scrollRect = new Rectangle(0, 0, ((20 * a208.a13) / a208.a205), 5); } public function a468(){ a202.graphics.lineStyle(1, 0xAAAA00, 0.5); a202.graphics.beginFill(0); a202.graphics.drawRect(-10, -17, 20, 5); a202.graphics.endFill(); a13.graphics.lineStyle(1, 0xAAAA00, 0.5); a13.graphics.beginFill(0xFF0000); a13.graphics.drawRect(0, 0, 20, 5); a13.x = -10; a13.y = -17; a13.graphics.endFill(); addChild(a202); addChild(a13); } public function a411(){ a482(); a245(); a481(); if (a208.a102){ var _local1:* = new GlowFilter(0xFFAA00, 0.8); _local1.blurX = 5; _local1.blurY = 5; _local1.strength = 2; a573.filters = [_local1]; } else { a328(); }; } public function a328(){ if (a208.a561.a91()){ a573.filters = []; } else { var _local1 = (a208.a561.a547()) ? 45055 : 0xFFAF00; var _local2:* = new GlowFilter(_local1); _local2.blurX = 8; _local2.blurY = 8; _local2.strength = 2; a573.filters = [_local2]; }; } public function a299(_arg1){ if (!((a573 == null))){ removeChild(a573); }; a573 = _arg1; if (!((a573 == null))){ a208.a104 = a573; }; addChild(a573); return (_arg1); } public function a245(){ var _local1:* = Math.atan((a208.a342.y / a208.a342.x)); _local1 = (_local1 * (180 / Math.PI)); if ((a208.a342.x < 0)){ _local1 = (_local1 + 180); }; var _local2:* = _local1; var _local3:* = a573.rotation; if ((_local3 < 0)){ _local3 = (_local3 + 360); }; if ((_local2 < 0)){ _local2 = (_local2 + 360); }; var _local4:* = a234; if ((Math.abs((_local3 - _local2)) > 180)){ if (((360 - Math.abs((_local3 - _local2))) <= _local4)){ a573.rotation = _local2; } else { if ((_local2 < _local3)){ a573.rotation = (a573.rotation + _local4); } else { a573.rotation = (a573.rotation - _local4); }; }; } else { if ((Math.abs((_local3 - _local2)) <= _local4)){ a573.rotation = _local2; } else { if ((_local2 < _local3)){ a573.rotation = (a573.rotation - _local4); } else { a573.rotation = (a573.rotation + _local4); }; }; }; } public static function __construct__(_arg1){ return (new A8(_arg1[0])); } } class A54 { public var a8; public var a61; public var a561; public var a523; public var a501; public var a371; public var a342; public var a320; public var a313; public var a296; public var a266; public var a244; public var a216; public var a205; public var a13; public var a124; public var a119; public var a112; public var a104; public var a102; public function A54(_arg1, _arg2){ if (Boot_DA61EA.skip_constructor){ return; }; a313 = ""; a290(_arg1); a342 = {y:0, x:0}; a523 = 1; a124 = 10; a61 = 10; a112 = 10; a119 = 0; var _local3:* = 100; a13 = _local3; a205 = _local3; a18(false); a207(new A31(??getglobalscope .A18.A23)); a8 = false; a371 = false; a216 = _arg2; a13 = Math.floor((a13 * a216)); a205 = Math.floor((a205 * a216)); a104 = new Sprite(); } public function a85(){ return (a501); } public function a482(){ var _local1:* = A26.a337(a561.a416(), a342); a290(A26.a68(a266, _local1)); a119 = (a119 - A26.length(_local1)); a561.a411(); } public function a40(){ return (!(a85())); } public function a302(_arg1){ var _local2:* = (_arg1.x - a266.x); var _local3:* = (_arg1.y - a266.y); var _local4:* = Math.sqrt(((_local2 * _local2) + (_local3 * _local3))); a119 = _local4; var _local5:* = (a523 / _local4); a342 = {y:(_local5 * _local3), x:(_local5 * _local2)}; a320 = {y:_local3, x:_local2}; return (_arg1); } public function a290(_arg1){ var _local2:* = _arg1; a266 = _local2; return (_local2); } public function a256(_arg1){ a13 = (a13 - _arg1); } public function a228(_arg1){ return (a18(!(_arg1))); } public function a207(_arg1){ if (!(a8)){ a561 = _arg1.a375(); }; return (_arg1); } public function a18(_arg1){ var _local2:* = _arg1; a501 = _local2; return (_local2); } public function a131(){ return ((a13 > 0)); } public function a121(){ a13 = 0; } public static function __construct__(_arg1){ return (new A54(_arg1[0], _arg1[1])); } } class A11 extends Sprite { public var a423; public var a196; public var a166; public function A11(_arg1){ if (Boot_DA61EA.skip_constructor){ return; }; super(); a166 = _arg1; a423 = new TextField(); a196 = new TextField(); a220(a423); a220(a196); addChild(a196); addChild(a423); a196.x = 150; a411(); } public function a411(){ if ((a166.a402() < 0)){ a423.text = "Game over"; } else { a423.text = ("Gold: " + Std.string(a166.a402())); }; a196.text = ("Score: " + Std.string(a166.a251())); } public function a220(_arg1){ _arg1.textColor = 0xFFFF00; _arg1.embedFonts = true; _arg1.selectable = false; _arg1.defaultTextFormat = new TextFormat("Font01", 20); _arg1.autoSize = "left"; _arg1.mouseEnabled = false; } public static function __construct__(_arg1){ return (new A11(_arg1[0])); } } class A44 { public var a88; public var a470; public var a351; public var a105; public function A44(){ if (Boot_DA61EA.skip_constructor){ return; }; a103(100); a50(0); } public function encode(_arg1){ return ((_arg1 ^ 3898)); } public function a524(_arg1){ return ((_arg1 ^ 3898)); } public function a50(_arg1){ var _local2:* = encode(_arg1); a105 = ((a105 == null)) ? new A43(_local2, false) : a105.a533(_local2, a251()); a351 = _local2; return (_local2); } public function a402(){ return (a524(a88)); } public function a251(){ return (a524(a351)); } public function a103(_arg1){ var _local2:* = encode(_arg1); a470 = ((a470 == null)) ? new A43(_local2, false) : a470.a533(_local2, a402()); a88 = _local2; return (_local2); } public static function __construct__(_arg1){ return (new A44()); } } class A7 extends Sprite { public var a574; public var a477; public var a456; public var a322; public var a297; public var a266; public var a225; public function A7(_arg1, _arg2){ if (Boot_DA61EA.skip_constructor){ return; }; super(); a456 = _arg1; a477 = _arg2; mouseEnabled = false; } public function a516(_arg1){ a225 = _arg1; if ((a225 == null)){ visible = false; } else { a290(a225.a266); }; a411(); return (_arg1); } public function a488(_arg1){ a322 = _arg1; } public function a464(){ return (a574); } public function a411(){ graphics.clear(); if (!((a225 == null))){ graphics.lineStyle(1, 0); if (a297){ if (a322){ graphics.beginFill(0xFF0000, 0.2); } else { graphics.beginFill(0xFF00, 0.2); }; graphics.drawRect((-(0.5) * a456), (-(0.5) * a477), a456, a477); }; if (((!(a322)) || (!(a297)))){ graphics.lineStyle(2, 0xAAAAAA, 0.4); graphics.beginFill(0xAAAAAA, 0.2); graphics.drawCircle(0, 0, a225.a154()); }; }; } public function a290(_arg1){ a574 = _arg1; x = _arg1.x; y = _arg1.y; return (_arg1); } public static function __construct__(_arg1){ return (new A7(_arg1[0], _arg1[1])); } } class A0 { public function A0(){ if (Boot_DA61EA.skip_constructor){ return; }; } public static function __construct__(_arg1){ return (new A0()); } public static function a514(){ var _local1:* = new Sprite(); _local1.graphics.lineStyle(1, 0xFF00); _local1.graphics.drawRect(-7, -7, 15, 15); _local1.graphics.lineStyle(1, 0xFF0000); _local1.graphics.moveTo(0, 0); _local1.graphics.lineTo(10, 0); _local1.graphics.endFill(); return (_local1); } public static function a8(){ var _local1:* = new Sprite(); _local1.graphics.lineStyle(2, 0xDD00DD); _local1.graphics.drawCircle(0, 0, 8); _local1.graphics.lineStyle(1, 0xAAAA); _local1.graphics.moveTo(0, 0); _local1.graphics.lineTo(10, 0); _local1.graphics.endFill(); return (_local1); } public static function a229(){ var _local1:* = new Sprite(); _local1.graphics.lineStyle(1, 39423); _local1.graphics.drawRect(-3, -7, 7, 15); _local1.graphics.lineStyle(1, 0xAAAA); _local1.graphics.moveTo(0, 0); _local1.graphics.lineTo(10, 0); _local1.graphics.endFill(); return (_local1); } } class A14 extends Sprite { public var scrolling_text; public var a531; public var a341; public var a250; public var a141; public function A14(_arg1){ if (Boot_DA61EA.skip_constructor){ return; }; super(); a341 = _arg1; a141 = []; a250 = []; scrolling_text = new Sprite(); addChild(scrolling_text); var _local2:* = 0; var _local3:* = a341.a252.length; do { //unresolved if var _local4:* = _local2; _local2++; var _local5:* = a341.a252[_local4]; a141[_local4] = new TextField(); a220(a141[_local4]); scrolling_text.addChild(a141[_local4]); a141[_local4].text = _local5.a543; a250[_local4] = _local5.a100; } while (true); a531 = new TextField(); a220(a531); addChild(a531); scrolling_text.x = 250; scrolling_text.y = 460; a531.x = 550; a531.y = 5; a531.autoSize = "left"; } public function a411(){ var _local1:* = 0; scrolling_text.graphics.clear(); a531.text = ("Wave: " + (a341.a531 + 1)); var _local2:* = ((a341.a306 - a341.a188) / a341.a306); var _local3:* = a341.a531; scrolling_text.scrollRect = new Rectangle((((_local2 * 100) + (_local3 * 100)) - 100), -2, 400, 200); var _local4:* = 0; var _local5:* = a141.length; do { //unresolved if var _local6:* = _local4; _local4++; a141[_local6].x = (_local1 + (0.5 * (100 - a141[_local6].textWidth))); scrolling_text.graphics.beginFill(a250[_local6]); scrolling_text.graphics.lineStyle(1, 0xFF); scrolling_text.graphics.drawRect(_local1, (a141[_local6].y - 2), 100, 25); _local1 = (_local1 + 100); } while (true); } public function a220(_arg1){ _arg1.textColor = 0xFFFF00; _arg1.embedFonts = true; _arg1.selectable = false; _arg1.defaultTextFormat = new TextFormat("Font01", 19); _arg1.mouseEnabled = false; } public static function __construct__(_arg1){ return (new A14(_arg1[0])); } } class A55 { public var a531; public var a459; public var a306; public var a264; public var a252; public var a188; public function A55(){ if (Boot_DA61EA.skip_constructor){ return; }; a531 = 0; a252 = []; a396(1); a306 = 600; } public function a79(){ return (a252[0]); } public function a571(){ GameSounds.a553(); a396(a306); if (a462()){ a531 = (a531 + 1); return (a252.shift()); } else { return (null); }; } public function a462(){ return ((a252.length > 0)); } public function a396(_arg1){ a459 = ((a459 == null)) ? new A43(_arg1, false) : a459.a533(_arg1, a188); a188 = _arg1; return (_arg1); } public function a291(_arg1, _arg2, _arg3){ a252.push({a100:_arg3, a531:_arg2, a543:_arg1}); } public static function __construct__(_arg1){ return (new A55()); } } class A13 extends Sprite { public var background; public var a564; public var a55; public var a437; public var a340; public var a3; public var a284; public var a263; public var a161; public function A13(_arg1, _arg2){ if (Boot_DA61EA.skip_constructor){ return; }; super(); background = new Sprite(); addChild(background); addChild(_arg1); a284 = new Sprite(); a3 = _arg1; a437 = _arg2; a284.addEventListener("mouseUp", a33, false, 0, true); a284.addEventListener("mouseDown", a280, false, 0, true); a284.addEventListener("mouseMove", a24, false, 0, true); a284.addEventListener("mouseOut", a275, false, 0, true); addChild(a284); a48(); a564 = false; a461(); } public function a57(_arg1, _arg2, _arg3, _arg4){ a161 = (_arg1 - 2); a340 = (_arg2 - 2); a263 = (_arg3 + 2); a55 = (_arg4 + 2); a461(); } public function a48(){ a57(0, 0, a3.width, a3.height); } public function a461(){ a136(0x444444, 0x800000); } public function a33(_arg1=null){ if (a564){ a437(); }; a461(); a564 = false; } public function a316(){ a136(0x990000, 0x800000); } public function a280(_arg1=null){ a316(); a564 = true; } public function a275(_arg1=null){ a461(); a564 = false; filters = []; } public function a24(_arg1=null){ var _local2:* = new GlowFilter(0x44AA00); _local2.blurX = 10; _local2.blurY = 10; _local2.strength = 3; filters = [_local2]; } public function a136(_arg1, _arg2){ background.graphics.clear(); background.graphics.beginFill(_arg1); background.graphics.lineStyle(1, _arg2); background.graphics.drawRect(a161, a340, a263, a55); a284.graphics.clear(); a284.graphics.beginFill(0, 0); a284.graphics.drawRect(a161, a340, a263, a55); } public static function __construct__(_arg1){ return (new A13(_arg1[0], _arg1[1])); } } class A12 extends A13 { public var text; public var a428; public function A12(_arg1, _arg2){ if (Boot_DA61EA.skip_constructor){ return; }; a428 = new TextField(); addChild(a428); a220(a428); a428.text = _arg1; super(a428, _arg2); } public function a220(_arg1){ _arg1.textColor = 0xFFFF00; _arg1.embedFonts = true; _arg1.selectable = false; _arg1.defaultTextFormat = new TextFormat("Font01", 20); _arg1.autoSize = "left"; _arg1.mouseEnabled = false; } public function a173(_arg1){ a428.text = _arg1; a48(); return (_arg1); } public static function __construct__(_arg1){ return (new A12(_arg1[0], _arg1[1])); } } class A16 extends A13 { public function A16(_arg1, _arg2, _arg3, _arg4){ if (Boot_DA61EA.skip_constructor){ return; }; _arg1.x = (_arg1.x + (0.5 * _arg2)); _arg1.y = (_arg1.y + (0.5 * _arg3)); super(_arg1, _arg4); a57(0, 0, _arg2, _arg3); } public static function __construct__(_arg1){ return (new A16(_arg1[0], _arg1[1], _arg1[2], _arg1[3])); } } class A4 extends Sprite { public var a287; public var a28; public function A4(_arg1, _arg2){ if (Boot_DA61EA.skip_constructor){ return; }; super(); a287 = new A12("OK", _arg1); a28 = new A12("Cancel", _arg2); graphics.beginFill(0, 0.5); graphics.drawRect(0, 0, 700, 500); graphics.beginFill(0xAAAAAA); graphics.lineStyle(1, 0x800000); graphics.drawRect(250, 130, 330, 100); addChild(a287); addChild(a28); a287.x = 360; a287.y = 200; a28.x = 420; a28.y = 200; var _local3:* = new TextField(); a220(_local3); _local3.text = "Are you sure you want to reset?"; _local3.x = 260; _local3.y = 140; addChild(_local3); } public function a220(_arg1){ _arg1.textColor = 0; _arg1.embedFonts = true; _arg1.selectable = false; _arg1.defaultTextFormat = new TextFormat("Font01", 20); _arg1.autoSize = "left"; _arg1.mouseEnabled = false; } public static function __construct__(_arg1){ return (new A4(_arg1[0], _arg1[1])); } } class A46 extends Sprite { public var a526; public var a446; public var a292; public var a28; public var a277; public var a27; public var a110; public function A46(_arg1, _arg2){ if (Boot_DA61EA.skip_constructor){ return; }; super(); graphics.beginFill(0, 0.5); graphics.drawRect(0, 0, 700, 500); graphics.lineStyle(1, 0xA00000); graphics.beginFill(0xAAAAAA); var _local3:* = 100; var _local4:* = 180; var _local5:* = 480; var _local6:* = 150; graphics.drawRect(_local3, _local4, _local5, _local6); var _local7:* = new TextField(); addChild(_local7); _local7.textColor = 0; _local7.embedFonts = true; _local7.defaultTextFormat = new TextFormat("Font01", 20); _local7.autoSize = "left"; _local7.text = "Submit your highscore"; _local7.x = (130 + _local3); _local7.y = (10 + _local4); a277 = new TextField(); a277.x = (160 + _local3); a277.y = (35 + _local4); a220(a277); a277.background = true; a277.backgroundColor = 0x333333; a277.height = 28; a277.width = 310; addChild(a277); a277.text = ""; a277.type = TextFieldType.INPUT; a277.text = ""; a277.maxChars = 15; a277.restrict = "a-zA-Z0-9"; a446 = new TextField(); a446.x = (160 + _local3); a446.y = (75 + _local4); a220(a446); a446.background = true; a446.backgroundColor = 0x333333; a446.height = 28; a446.width = 310; addChild(a446); a446.text = ""; a446.type = TextFieldType.INPUT; a446.text = ""; a446.maxChars = 15; a446.restrict = "a-zA-Z0-9"; a526 = new A12("Submit", a352); a28 = new A12("Cancel", _arg2); a526.x = (160 + _local3); a526.y = (120 + _local4); a28.x = (0xFF + _local3); a28.y = (120 + _local4); addChild(a526); addChild(a28); a27 = new TextField(); a220(a27); a27.text = "Player name:"; a27.autoSize = "left"; a27.mouseEnabled = false; a27.selectable = false; a27.x = (30 + _local3); a27.y = (35 + _local4); a27.textColor = 0; addChild(a27); a110 = new TextField(); a220(a110); a110.text = "Group name:"; a110.autoSize = "left"; a110.mouseEnabled = false; a110.selectable = false; a110.x = (30 + _local3); a110.y = (75 + _local4); a110.textColor = 0; addChild(a110); focusRect = false; a292 = _arg1; } public function a381(){ visible = false; } public function a352(){ a292(a277.text, a446.text); } public function a220(_arg1){ _arg1.textColor = 0xFFFF00; _arg1.embedFonts = true; _arg1.defaultTextFormat = new TextFormat("Font01", 20); } public function a194(){ visible = true; } public static function __construct__(_arg1){ return (new A46(_arg1[0], _arg1[1])); } } class A35 extends Sprite { public var a538; public var a500; public function A35(_arg1){ if (Boot_DA61EA.skip_constructor){ return; }; super(); graphics.beginFill(0, 0.5); graphics.drawRect(0, 0, 700, 500); graphics.lineStyle(1, 0xA00000); graphics.beginFill(0xAAAAAA); var _local2:* = 200; var _local3:* = 180; var _local4:* = 280; var _local5:* = 150; graphics.drawRect(_local2, _local3, _local4, _local5); var _local6:* = new TextField(); addChild(_local6); _local6.textColor = 0; _local6.embedFonts = true; _local6.defaultTextFormat = new TextFormat("Font01", 20); _local6.autoSize = "left"; _local6.text = "Game over"; _local6.x = (90 + _local2); _local6.y = (10 + _local3); a500 = new A12("Reset", a471); a500.x = (120 + _local2); a500.y = (120 + _local3); addChild(a500); focusRect = false; a538 = _arg1; } public function a471(){ a538(); } public function a381(){ visible = false; } public function a220(_arg1){ _arg1.textColor = 0xFFFF00; _arg1.embedFonts = true; _arg1.defaultTextFormat = new TextFormat("Font01", 20); } public function a194(){ visible = true; } public static function __construct__(_arg1){ return (new A35(_arg1[0])); } } class A6 extends Sprite { public function A6(_arg1, _arg2){ if (Boot_DA61EA.skip_constructor){ return; }; super(); var _local3:* = (_arg1 * 0.3); var _local4:* = (_arg2 * 0.3); graphics.lineStyle(1, 0xFF0000); var _local5:* = 8; graphics.moveTo(_local3, 0); var _local6:* = 0; var _local7:* = (_local5 + 1); do { //unresolved if var _local8:* = _local6; _local6++; var _local9:* = (((_local8 * 2) / _local5) * Math.PI); graphics.lineTo((_local3 * Math.cos(_local9)), (_local4 * Math.sin(_local9))); _local9 = ((((_local8 * 2) + 1) / _local5) * Math.PI); graphics.lineTo(((0.4 * _local3) * Math.cos(_local9)), ((0.4 * _local4) * Math.sin(_local9))); } while (true); } public static function __construct__(_arg1){ return (new A6(_arg1[0], _arg1[1])); } } class A43 { public var a58; public var a418; public function A43(_arg1, _arg2){ if (Boot_DA61EA.skip_constructor){ return; }; a418 = _arg1; a58 = _arg2; } public function a533(_arg1, _arg2){ return (new A43(_arg1, ((!((_arg2 == a418))) || (a58)))); } public static function __construct__(_arg1){ return (new A43(_arg1[0], _arg1[1])); } } class A34 { public var a58; public function A34(_arg1){ if (Boot_DA61EA.skip_constructor){ return; }; a58 = _arg1; } public function a533(_arg1){ return (new A34(((a58) || (_arg1)))); } public static function __construct__(_arg1){ return (new A34(_arg1[0])); } } class StringTools { public function StringTools(){ if (Boot_DA61EA.skip_constructor){ return; }; } public static function __construct__(_arg1){ return (new StringTools()); } public static function urlEncode(_arg1){ return (encodeURIComponent(_arg1)); } public static function urlDecode(_arg1){ return (decodeURIComponent(_arg1.split("+").join(" "))); } public static function htmlEscape(_arg1){ return (_arg1.split("&").join("&amp;").split("<").join("&lt;").split(">").join("&gt;")); } public static function htmlUnescape(_arg1){ return (_arg1.split("&gt;").join(">").split("&lt;").join("<").split("&amp;").join("&")); } public static function startsWith(_arg1, _arg2){ return ((((_arg1.length >= _arg2.length)) && ((_arg1.substr(0, _arg2.length) == _arg2)))); } public static function endsWith(_arg1, _arg2){ var _local3:* = _arg2.length; var _local4:* = _arg1.length; return ((((_local4 >= _local3)) && ((_arg1.substr((_local4 - _local3), _local3) == _arg2)))); } public static function isSpace(_arg1, _arg2){ var _local3:* = _arg1.charCodeAt(_arg2); return ((((((_local3 >= 9)) && ((_local3 <= 13)))) || ((_local3 == 32)))); } public static function ltrim(_arg1){ var _local2:* = _arg1.length; var _local3:* = 0; do { //unresolved if _local3++; } while (true); if ((_local3 > 0)){ return (_arg1.substr(_local3, (_local2 - _local3))); } else { return (_arg1); }; } public static function rtrim(_arg1){ var _local2:* = _arg1.length; var _local3:* = 0; do { //unresolved if _local3++; } while (true); if ((_local3 > 0)){ return (_arg1.substr(0, (_local2 - _local3))); } else { return (_arg1); }; } public static function trim(_arg1){ return (StringTools.ltrim(StringTools.rtrim(_arg1))); } public static function rpad(_arg1, _arg2, _arg3){ var _local4:* = _arg1.length; var _local5:* = _arg2.length; do { //unresolved if if (((_arg3 - _local4) < _local5)){ _arg1 = (_arg1 + _arg2.substr(0, (_arg3 - _local4))); _local4 = _arg3; } else { _arg1 = (_arg1 + _arg2); _local4 = (_local4 + _local5); }; } while (true); return (_arg1); } public static function lpad(_arg1, _arg2, _arg3){ var _local4:* = ""; var _local5:* = _arg1.length; if ((_local5 >= _arg3)){ return (_arg1); }; var _local6:* = _arg2.length; do { //unresolved if if (((_arg3 - _local5) < _local6)){ _local4 = (_local4 + _arg2.substr(0, (_arg3 - _local5))); _local5 = _arg3; } else { _local4 = (_local4 + _arg2); _local5 = (_local5 + _local6); }; } while (true); return ((_local4 + _arg1)); } public static function replace(_arg1, _arg2, _arg3){ return (_arg1.split(_arg2).join(_arg3)); } public static function baseEncode(_arg1, _arg2){ var _local3:* = _arg2.length; var _local4:* = 1; do { //unresolved if _local4++; } while (true); if ((((_local4 > 8)) || (!((_local3 == (1 << _local4)))))){ throw ("baseEncode: base must be a power of two."); }; var _local5:* = Std.int(((((_arg1.length * 8) + _local4) - 1) / _local4)); var _local6:* = new StringBuf(); var _local7:* = 0; var _local8:* = 0; var _local9:* = ((1 << _local4) - 1); var _local10:* = 0; do { var _local11 = _local5; _local5 = (_local11 - 1); //unresolved if do { //unresolved if _local8 = (_local8 + 8); _local7 = (_local7 << 8); var _local12 = _local10; _local10 = (_local12 + 1); _local11 = _arg1.charCodeAt(_local12); if ((_local11 > 0xFF)){ throw ("baseEncode: bad chars"); }; _local7 = (_local7 | _local11); } while (true); _local8 = (_local8 - _local4); _local6.addChar(_arg2.charCodeAt(((_local7 >> _local8) & _local9))); } while (true); return (_local6.toString()); } public static function baseDecode(_arg1, _arg2){ var _local3:* = _arg2.length; var _local4:* = 1; do { //unresolved if _local4++; } while (true); if ((((_local4 > 8)) || (!((_local3 == (1 << _local4)))))){ throw ("baseDecode: base must be a power of two."); }; var _local5:* = ((((_arg1.length * 8) + _local4) - 1) / _local4); var _local6:* = new Array(); var _local7:* = 0; var _local8:* = 0x0100; do { //unresolved if var _local9:* = _local7; _local7++; _local6[_local9] = -1; } while (true); _local7 = 0; _local8 = _local3; do { //unresolved if _local9 = _local7; _local7++; _local6[_arg2.charCodeAt(_local9)] = _local9; } while (true); _local7 = ((_arg1.length * _local4) / 8); _local8 = new StringBuf(); _local9 = 0; var _local10:* = 0; var _local11:* = 0; do { var _local12 = _local7; _local7 = (_local12 - 1); //unresolved if do { //unresolved if _local10 = (_local10 + _local4); _local9 = (_local9 << _local4); var _local13 = _local11; _local11 = (_local13 + 1); _local12 = _local6[_arg1.charCodeAt(_local13)]; if ((_local12 == -1)){ throw ("baseDecode: bad chars"); }; _local9 = (_local9 | _local12); } while (true); _local10 = (_local10 - 8); _local8.addChar(((_local9 >> _local10) & 0xFF)); } while (true); return (_local8.toString()); } public static function hex(_arg1, _arg2=null){ var _local3:* = ""; var _local4:* = "0123456789ABCDEF"; //unresolved jump do { //unresolved if _local3 = (_local4.charAt((_arg1 % 16)) + _local3); _arg1 = Std.int((_arg1 / 16)); } while (true); if (!((_arg2 == null))){ do { //unresolved if _local3 = ("0" + _local3); } while (true); }; return (_local3); } } class @Main { public static var init; public function @Main(){ if (Boot_DA61EA.skip_constructor){ return; }; } public static function __construct__(_arg1){ return (new @Main()); } }

Library Items

Symbol 1 Sound {NextWaveSound}
Symbol 2 Sound {ShootBullet01}
Symbol 3 Font

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.




http://swfchan.com/10/46857/info.shtml
Created: 2/5 -2019 22:27:53 Last modified: 2/5 -2019 22:27:53 Server time: 05/11 -2024 11:33:54