Section 1
//MD5 (CMG_AS3.MD5)
package CMG_AS3 {
public class MD5 {
public static const HEX_FORMAT_LOWERCASE:uint = 0;
public static const HEX_FORMAT_UPPERCASE:uint = 1;
public static const BASE64_PAD_CHARACTER_DEFAULT_COMPLIANCE:String = "";
public static const BASE64_PAD_CHARACTER_RFC_COMPLIANCE:String = "=";
public static var hexcase:uint = 0;
public static var b64pad:String = "";
public static function md5_gg(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):Number{
return (md5_cmn(((_arg2 & _arg4) | (_arg3 & ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7));
}
public static function md5_cmn(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number):Number{
return (safe_add(bit_rol(safe_add(safe_add(_arg2, _arg1), safe_add(_arg4, _arg6)), _arg5), _arg3));
}
public static function binl_md5(_arg1:Array, _arg2:Number):Array{
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
_arg1[(_arg2 >> 5)] = (_arg1[(_arg2 >> 5)] | (128 << (_arg2 % 32)));
_arg1[((((_arg2 + 64) >>> 9) << 4) + 14)] = _arg2;
_local3 = 1732584193;
_local4 = -271733879;
_local5 = -1732584194;
_local6 = 271733878;
_local7 = 0;
while (_local7 < _arg1.length) {
_local8 = _local3;
_local9 = _local4;
_local10 = _local5;
_local11 = _local6;
_local3 = md5_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 0)], 7, -680876936);
_local6 = md5_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 1)], 12, -389564586);
_local5 = md5_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 2)], 17, 606105819);
_local4 = md5_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 3)], 22, -1044525330);
_local3 = md5_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 4)], 7, -176418897);
_local6 = md5_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 5)], 12, 1200080426);
_local5 = md5_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 6)], 17, -1473231341);
_local4 = md5_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 7)], 22, -45705983);
_local3 = md5_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 8)], 7, 1770035416);
_local6 = md5_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 9)], 12, -1958414417);
_local5 = md5_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 10)], 17, -42063);
_local4 = md5_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 11)], 22, -1990404162);
_local3 = md5_ff(_local3, _local4, _local5, _local6, _arg1[(_local7 + 12)], 7, 1804603682);
_local6 = md5_ff(_local6, _local3, _local4, _local5, _arg1[(_local7 + 13)], 12, -40341101);
_local5 = md5_ff(_local5, _local6, _local3, _local4, _arg1[(_local7 + 14)], 17, -1502002290);
_local4 = md5_ff(_local4, _local5, _local6, _local3, _arg1[(_local7 + 15)], 22, 1236535329);
_local3 = md5_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 1)], 5, -165796510);
_local6 = md5_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 6)], 9, -1069501632);
_local5 = md5_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 11)], 14, 643717713);
_local4 = md5_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 0)], 20, -373897302);
_local3 = md5_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 5)], 5, -701558691);
_local6 = md5_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 10)], 9, 38016083);
_local5 = md5_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 15)], 14, -660478335);
_local4 = md5_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 4)], 20, -405537848);
_local3 = md5_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 9)], 5, 568446438);
_local6 = md5_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 14)], 9, -1019803690);
_local5 = md5_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 3)], 14, -187363961);
_local4 = md5_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 8)], 20, 1163531501);
_local3 = md5_gg(_local3, _local4, _local5, _local6, _arg1[(_local7 + 13)], 5, -1444681467);
_local6 = md5_gg(_local6, _local3, _local4, _local5, _arg1[(_local7 + 2)], 9, -51403784);
_local5 = md5_gg(_local5, _local6, _local3, _local4, _arg1[(_local7 + 7)], 14, 1735328473);
_local4 = md5_gg(_local4, _local5, _local6, _local3, _arg1[(_local7 + 12)], 20, -1926607734);
_local3 = md5_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 5)], 4, -378558);
_local6 = md5_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 8)], 11, -2022574463);
_local5 = md5_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 11)], 16, 1839030562);
_local4 = md5_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 14)], 23, -35309556);
_local3 = md5_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 1)], 4, -1530992060);
_local6 = md5_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 4)], 11, 1272893353);
_local5 = md5_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 7)], 16, -155497632);
_local4 = md5_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 10)], 23, -1094730640);
_local3 = md5_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 13)], 4, 681279174);
_local6 = md5_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 0)], 11, -358537222);
_local5 = md5_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 3)], 16, -722521979);
_local4 = md5_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 6)], 23, 76029189);
_local3 = md5_hh(_local3, _local4, _local5, _local6, _arg1[(_local7 + 9)], 4, -640364487);
_local6 = md5_hh(_local6, _local3, _local4, _local5, _arg1[(_local7 + 12)], 11, -421815835);
_local5 = md5_hh(_local5, _local6, _local3, _local4, _arg1[(_local7 + 15)], 16, 530742520);
_local4 = md5_hh(_local4, _local5, _local6, _local3, _arg1[(_local7 + 2)], 23, -995338651);
_local3 = md5_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 0)], 6, -198630844);
_local6 = md5_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 7)], 10, 1126891415);
_local5 = md5_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 14)], 15, -1416354905);
_local4 = md5_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 5)], 21, -57434055);
_local3 = md5_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 12)], 6, 1700485571);
_local6 = md5_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 3)], 10, -1894986606);
_local5 = md5_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 10)], 15, -1051523);
_local4 = md5_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 1)], 21, -2054922799);
_local3 = md5_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 8)], 6, 1873313359);
_local6 = md5_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 15)], 10, -30611744);
_local5 = md5_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 6)], 15, -1560198380);
_local4 = md5_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 13)], 21, 1309151649);
_local3 = md5_ii(_local3, _local4, _local5, _local6, _arg1[(_local7 + 4)], 6, -145523070);
_local6 = md5_ii(_local6, _local3, _local4, _local5, _arg1[(_local7 + 11)], 10, -1120210379);
_local5 = md5_ii(_local5, _local6, _local3, _local4, _arg1[(_local7 + 2)], 15, 718787259);
_local4 = md5_ii(_local4, _local5, _local6, _local3, _arg1[(_local7 + 9)], 21, -343485551);
_local3 = safe_add(_local3, _local8);
_local4 = safe_add(_local4, _local9);
_local5 = safe_add(_local5, _local10);
_local6 = safe_add(_local6, _local11);
_local7 = (_local7 + 16);
};
return ([_local3, _local4, _local5, _local6]);
}
public static function str2rstr_utf16le(_arg1:String):String{
var _local2:String;
var _local3:Number;
_local2 = "";
_local3 = 0;
while (_local3 < _arg1.length) {
_local2 = (_local2 + String.fromCharCode((_arg1.charCodeAt(_local3) & 0xFF), ((_arg1.charCodeAt(_local3) >>> 8) & 0xFF)));
_local3++;
};
return (_local2);
}
public static function hex_hmac_md5(_arg1:String, _arg2:String):String{
return (rstr2hex(rstr_hmac_md5(str2rstr_utf8(_arg1), str2rstr_utf8(_arg2))));
}
public static function binl2rstr(_arg1:Array):String{
var _local2:String;
var _local3:Number;
_local2 = "";
_local3 = 0;
while (_local3 < (_arg1.length * 32)) {
_local2 = (_local2 + String.fromCharCode(((_arg1[(_local3 >> 5)] >>> (_local3 % 32)) & 0xFF)));
_local3 = (_local3 + 8);
};
return (_local2);
}
public static function md5_ff(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):Number{
return (md5_cmn(((_arg2 & _arg3) | (~(_arg2) & _arg4)), _arg1, _arg2, _arg5, _arg6, _arg7));
}
public static function md5_ii(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):Number{
return (md5_cmn((_arg3 ^ (_arg2 | ~(_arg4))), _arg1, _arg2, _arg5, _arg6, _arg7));
}
public static function rstr2binl(_arg1:String):Array{
var _local2:Array;
var _local3:Number;
_local2 = new Array((_arg1.length >> 2));
_local3 = 0;
while (_local3 < _local2.length) {
_local2[_local3] = 0;
_local3++;
};
_local3 = 0;
while (_local3 < (_arg1.length * 8)) {
_local2[(_local3 >> 5)] = (_local2[(_local3 >> 5)] | ((_arg1.charCodeAt((_local3 / 8)) & 0xFF) << (_local3 % 32)));
_local3 = (_local3 + 8);
};
return (_local2);
}
public static function md5_vm_test():Boolean{
return ((hex_md5("abc") == "900150983cd24fb0d6963f7d28e17f72"));
}
public static function b64_md5(_arg1:String):String{
return (rstr2b64(rstr_md5(str2rstr_utf8(_arg1))));
}
public static function any_hmac_md5(_arg1:String, _arg2:String, _arg3:String):String{
return (rstr2any(rstr_hmac_md5(str2rstr_utf8(_arg1), str2rstr_utf8(_arg2)), _arg3));
}
public static function hex_md5(_arg1:String):String{
return (rstr2hex(rstr_md5(str2rstr_utf8(_arg1))));
}
public static function bit_rol(_arg1:Number, _arg2:Number):Number{
return (((_arg1 << _arg2) | (_arg1 >>> (32 - _arg2))));
}
public static function encrypt(_arg1:String):String{
return (hex_md5(_arg1));
}
public static function md5_hh(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):Number{
return (md5_cmn(((_arg2 ^ _arg3) ^ _arg4), _arg1, _arg2, _arg5, _arg6, _arg7));
}
public static function rstr2hex(_arg1:String):String{
var _local2:String;
var _local3:String;
var _local4:Number;
var _local5:Number;
_local2 = (hexcase) ? "0123456789ABCDEF" : "0123456789abcdef";
_local3 = "";
_local5 = 0;
while (_local5 < _arg1.length) {
_local4 = _arg1.charCodeAt(_local5);
_local3 = (_local3 + (_local2.charAt(((_local4 >>> 4) & 15)) + _local2.charAt((_local4 & 15))));
_local5++;
};
return (_local3);
}
public static function any_md5(_arg1:String, _arg2:String):String{
return (rstr2any(rstr_md5(str2rstr_utf8(_arg1)), _arg2));
}
public static function b64_hmac_md5(_arg1:String, _arg2:String):String{
return (rstr2b64(rstr_hmac_md5(str2rstr_utf8(_arg1), str2rstr_utf8(_arg2))));
}
public static function rstr2b64(_arg1:String):String{
var _local2:String;
var _local3:String;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
_local2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
_local3 = "";
_local4 = _arg1.length;
_local5 = 0;
while (_local5 < _local4) {
_local6 = (((_arg1.charCodeAt(_local5) << 16) | (((_local5 + 1) < _local4)) ? (_arg1.charCodeAt((_local5 + 1)) << 8) : 0) | (((_local5 + 2) < _local4)) ? _arg1.charCodeAt((_local5 + 2)) : 0);
_local7 = 0;
while (_local7 < 4) {
if (((_local5 * 8) + (_local7 * 6)) > (_arg1.length * 8)){
_local3 = (_local3 + b64pad);
} else {
_local3 = (_local3 + _local2.charAt(((_local6 >>> (6 * (3 - _local7))) & 63)));
};
_local7++;
};
_local5 = (_local5 + 3);
};
return (_local3);
}
public static function safe_add(_arg1:Number, _arg2:Number):Number{
var _local3:Number;
var _local4:Number;
_local3 = ((_arg1 & 0xFFFF) + (_arg2 & 0xFFFF));
_local4 = (((_arg1 >> 16) + (_arg2 >> 16)) + (_local3 >> 16));
return (((_local4 << 16) | (_local3 & 0xFFFF)));
}
public static function str2rstr_utf8(_arg1:String):String{
var _local2:String;
var _local3:Number;
var _local4:Number;
var _local5:Number;
_local2 = "";
_local3 = -1;
while (++_local3 < _arg1.length) {
_local4 = _arg1.charCodeAt(_local3);
_local5 = (((_local3 + 1) < _arg1.length)) ? _arg1.charCodeAt((_local3 + 1)) : 0;
if ((((((((0xD800 <= _local4)) && ((_local4 <= 56319)))) && ((0xDC00 <= _local5)))) && ((_local5 <= 57343)))){
_local4 = ((65536 + ((_local4 & 1023) << 10)) + (_local5 & 1023));
_local3++;
};
if (_local4 <= 127){
_local2 = (_local2 + String.fromCharCode(_local4));
} else {
if (_local4 <= 2047){
_local2 = (_local2 + String.fromCharCode((192 | ((_local4 >>> 6) & 31)), (128 | (_local4 & 63))));
} else {
if (_local4 <= 0xFFFF){
_local2 = (_local2 + String.fromCharCode((224 | ((_local4 >>> 12) & 15)), (128 | ((_local4 >>> 6) & 63)), (128 | (_local4 & 63))));
} else {
if (_local4 <= 2097151){
_local2 = (_local2 + String.fromCharCode((240 | ((_local4 >>> 18) & 7)), (128 | ((_local4 >>> 12) & 63)), (128 | ((_local4 >>> 6) & 63)), (128 | (_local4 & 63))));
};
};
};
};
};
return (_local2);
}
public static function rstr_hmac_md5(_arg1:String, _arg2:String):String{
var _local3:Array;
var _local4:Array;
var _local5:Array;
var _local6:Number;
var _local7:Array;
_local3 = rstr2binl(_arg1);
if (_local3.length > 16){
_local3 = binl_md5(_local3, (_arg1.length * 8));
};
_local4 = new Array(16);
_local5 = new Array(16);
_local6 = 0;
while (_local6 < 16) {
_local4[_local6] = (_local3[_local6] ^ 909522486);
_local5[_local6] = (_local3[_local6] ^ 1549556828);
_local6++;
};
_local7 = binl_md5(_local4.concat(rstr2binl(_arg2)), (0x0200 + (_arg2.length * 8)));
return (binl2rstr(binl_md5(_local5.concat(_local7), (0x0200 + 128))));
}
public static function str2rstr_utf16be(_arg1:String):String{
var _local2:String;
var _local3:Number;
_local2 = "";
_local3 = 0;
while (_local3 < _arg1.length) {
_local2 = (_local2 + String.fromCharCode(((_arg1.charCodeAt(_local3) >>> 8) & 0xFF), (_arg1.charCodeAt(_local3) & 0xFF)));
_local3++;
};
return (_local2);
}
public static function rstr2any(_arg1:String, _arg2:String):String{
var _local3:Number;
var _local4:Array;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Array;
var _local9:Array;
var _local10:String;
_local3 = _arg2.length;
_local4 = [];
_local9 = new Array((_arg1.length / 2));
_local5 = 0;
while (_local5 < _local9.length) {
_local9[_local5] = ((_arg1.charCodeAt((_local5 * 2)) << 8) | _arg1.charCodeAt(((_local5 * 2) + 1)));
_local5++;
};
while (_local9.length > 0) {
_local8 = [];
_local7 = 0;
_local5 = 0;
while (_local5 < _local9.length) {
_local7 = ((_local7 << 16) + _local9[_local5]);
_local6 = Math.floor((_local7 / _local3));
_local7 = (_local7 - (_local6 * _local3));
if ((((_local8.length > 0)) || ((_local6 > 0)))){
_local8[_local8.length] = _local6;
};
_local5++;
};
_local4[_local4.length] = _local7;
_local9 = _local8;
};
_local10 = "";
_local5 = (_local4.length - 1);
while (_local5 >= 0) {
_local10 = (_local10 + _arg2.charAt(_local4[_local5]));
_local5--;
};
return (_local10);
}
public static function rstr_md5(_arg1:String):String{
return (binl2rstr(binl_md5(rstr2binl(_arg1), (_arg1.length * 8))));
}
}
}//package CMG_AS3
Section 2
//ScoreSubmitter (CMG_AS3.ScoreSubmitter)
package CMG_AS3 {
import flash.events.*;
import flash.net.*;
public class ScoreSubmitter extends EventDispatcher {
private var m_UrlLoader:URLLoader;// = null
public static const RETURNCODE_SUCCESS = 1;
public static const RETURNCODE_REJECTED = 2;
public static const RETURNCODE_INTERNALERROR = 5;
public static const URL_SUBMITSCORE = "http://scores.crazymonkeygames.com/hs/regscores2.php";
public static const URL_UPDATEGAME = "http://scores.crazymonkeygames.com/hs/pleaseupdate.php";
public static const SCORE_RESPONSE:String = "score_response";
public static const RETURNCODE_WORKING = 0;
public static const RETURNCODE_WRONGVERSION = 3;
public static const URL_VIEWSCORES = "http://scores.crazymonkeygames.com/hs/listscores.php";
public static const RETURNCODE_NETWORKERROR = 4;
public static var gameVersion:String = "";
public static var gameValidationCode:String = "";
public static var gameId:uint = 0;
public function ScoreSubmitter(){
m_UrlLoader = null;
super();
}
private function onIoError(_arg1:Event){
dispatchEvent(new ServerResponseEvent(SCORE_RESPONSE, RETURNCODE_NETWORKERROR));
}
public function submitScore(_arg1:String, _arg2, _arg3:String=null):void{
var _local4:*;
var _local5:URLRequest;
_arg1 = Utilities.trim(_arg1);
gameVersion = Utilities.trim(gameVersion);
if (_arg3 == null){
_arg3 = "";
} else {
_arg3 = Utilities.trim(_arg3);
};
gameValidationCode = Utilities.trim(gameValidationCode);
if ((((((gameId < 1)) || ((gameVersion == "")))) || ((gameValidationCode == "")))){
dispatchEvent(new ServerResponseEvent(SCORE_RESPONSE, RETURNCODE_REJECTED));
return;
};
dispatchEvent(new ServerResponseEvent(SCORE_RESPONSE, RETURNCODE_WORKING));
_local4 = new URLVariables();
_local4.name = _arg1;
_local4.score = _arg2;
_local4.gameId = gameId;
_local4.gameVersion = gameVersion;
_local4.special = _arg3;
_local4.key = MD5.encrypt(((((((((_arg1 + "|") + _arg2) + "|") + gameId) + "|") + _arg3) + "|") + gameValidationCode));
_local5 = new URLRequest(URL_SUBMITSCORE);
_local5.method = URLRequestMethod.POST;
_local5.data = _local4;
m_UrlLoader = new URLLoader();
m_UrlLoader.addEventListener("complete", onComplete);
m_UrlLoader.addEventListener("ioError", onIoError);
m_UrlLoader.load(_local5);
}
private function onComplete(_arg1:Event):void{
var _local2:URLVariables;
var _local3:*;
_local2 = new URLVariables(m_UrlLoader.data.replace("&", ""));
_local3 = Utilities.trim(_local2.ok);
if (_local3 == 1){
dispatchEvent(new ServerResponseEvent(SCORE_RESPONSE, RETURNCODE_SUCCESS));
} else {
if (_local3 == 0){
dispatchEvent(new ServerResponseEvent(SCORE_RESPONSE, RETURNCODE_REJECTED));
} else {
if (_local3 == 2){
dispatchEvent(new ServerResponseEvent(SCORE_RESPONSE, RETURNCODE_WRONGVERSION));
} else {
dispatchEvent(new ServerResponseEvent(SCORE_RESPONSE, RETURNCODE_INTERNALERROR));
};
};
};
}
public static function loadHighScorePage():void{
Utilities.goToUrl(((URL_VIEWSCORES + "?id=") + gameId));
}
public static function loadUpdatePage(){
Utilities.goToUrl(((URL_VIEWSCORES + "?id=") + gameId));
}
}
}//package CMG_AS3
Section 3
//ServerResponseEvent (CMG_AS3.ServerResponseEvent)
package CMG_AS3 {
import flash.events.*;
public class ServerResponseEvent extends Event {
public var returnCode:uint;
public function ServerResponseEvent(_arg1:String, _arg2:uint){
super(_arg1, false, false);
returnCode = _arg2;
}
}
}//package CMG_AS3
Section 4
//Utilities (CMG_AS3.Utilities)
package CMG_AS3 {
import flash.net.*;
import flash.external.*;
import flash.system.*;
public class Utilities {
public static function trim(_arg1:String):String{
var _local2:*;
var _local3:*;
_local2 = 0;
while (_arg1.charCodeAt(_local2) < 33) {
_local2++;
};
_local3 = (_arg1.length - 1);
while (_arg1.charCodeAt(_local3) < 33) {
_local3--;
};
return (_arg1.substring(_local2, (_local3 + 1)));
}
public static function goToUrl(_arg1:String):void{
var success:Boolean;
var url = _arg1;
success = false;
if (((ExternalInterface.available) && (!((Capabilities.playerType == "External"))))){
try {
ExternalInterface.call("window.open", url, "win", "");
success = true;
} catch(error:Error) {
} catch(error:SecurityError) {
};
};
if (success != true){
navigateToURL(new URLRequest(url), "_BLANK");
};
}
}
}//package CMG_AS3
Section 5
//addClip_161 (engine_cmg_v1_fla.addClip_161)
package engine_cmg_v1_fla {
import flash.display.*;
public dynamic class addClip_161 extends MovieClip {
public var healthMask:MovieClip;
}
}//package engine_cmg_v1_fla
Section 6
//bonusClip_162 (engine_cmg_v1_fla.bonusClip_162)
package engine_cmg_v1_fla {
import flash.display.*;
public dynamic class bonusClip_162 extends MovieClip {
public var healthMask:MovieClip;
}
}//package engine_cmg_v1_fla
Section 7
//bonusLogo_163 (engine_cmg_v1_fla.bonusLogo_163)
package engine_cmg_v1_fla {
import flash.display.*;
public dynamic class bonusLogo_163 extends MovieClip {
public function bonusLogo_163(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
}
function frame3(){
stop();
}
function frame6(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame5(){
stop();
}
function frame2(){
stop();
}
}
}//package engine_cmg_v1_fla
Section 8
//bossClip_164 (engine_cmg_v1_fla.bossClip_164)
package engine_cmg_v1_fla {
import flash.display.*;
public dynamic class bossClip_164 extends MovieClip {
public var bossMask:MovieClip;
}
}//package engine_cmg_v1_fla
Section 9
//CMG_Logo_Animation_1 (engine_cmg_v1_fla.CMG_Logo_Animation_1)
package engine_cmg_v1_fla {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.geom.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class CMG_Logo_Animation_1 extends MovieClip {
public var CMG_MonkeyBlink:MovieClip;
public var CMG_HomePageLink:SimpleButton;
public var monkeyBlinkCheckTimer:Timer;
public var CMG_LoadingWidget:MovieClip;
public function CMG_Logo_Animation_1(){
addFrameScript(0, frame1, 80, frame81, 81, frame82);
}
public function goToUrl(_arg1:String):void{
var success:Boolean;
var url = _arg1;
success = false;
if (((ExternalInterface.available) && (!((Capabilities.playerType == "External"))))){
try {
ExternalInterface.call("window.open", url, "win", "");
success = true;
} catch(error:Error) {
} catch(error:SecurityError) {
};
};
if (success != true){
navigateToURL(new URLRequest(url), "_BLANK");
};
}
function frame81(){
stop();
monkeyBlinkCheckTimer.addEventListener(TimerEvent.TIMER, onMonkeyBlinkCheckTimer);
monkeyBlinkCheckTimer.start();
}
function frame82(){
monkeyBlinkCheckTimer.stop();
MovieClip(parent).nextFrame();
}
public function onMouseUpHandler_CMGHomePageBtn(_arg1:MouseEvent):void{
goToUrl("http://www.crazymonkeygames.com");
}
function frame1(){
MovieClip(parent).stop();
CMG_HomePageLink.addEventListener(MouseEvent.MOUSE_UP, onMouseUpHandler_CMGHomePageBtn);
addEventListener(Event.ENTER_FRAME, onEnterFrameHandler_CMGLoader);
monkeyBlinkCheckTimer = new Timer(800);
}
public function onEnterFrameHandler_CMGLoader(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
_local2 = CMG_HomePageLink.stage.loaderInfo.bytesLoaded;
_local3 = CMG_HomePageLink.stage.loaderInfo.bytesTotal;
CMG_LoadingWidget.CMG_LoadingBar.bar.scaleX = (_local2 / _local3);
if (_local2 == _local3){
CMG_LoadingWidget.nextFrame();
removeEventListener(Event.ENTER_FRAME, onEnterFrameHandler_CMGLoader);
};
}
public function onMonkeyBlinkCheckTimer(_arg1:TimerEvent):void{
var _local2:Number;
_local2 = Math.random();
if (_local2 < 0.3){
CMG_MonkeyBlink.play();
};
}
}
}//package engine_cmg_v1_fla
Section 10
//CMG_monkey_blink_19 (engine_cmg_v1_fla.CMG_monkey_blink_19)
package engine_cmg_v1_fla {
import flash.display.*;
public dynamic class CMG_monkey_blink_19 extends MovieClip {
public function CMG_monkey_blink_19(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package engine_cmg_v1_fla
Section 11
//darkBorder_176 (engine_cmg_v1_fla.darkBorder_176)
package engine_cmg_v1_fla {
import flash.display.*;
public dynamic class darkBorder_176 extends MovieClip {
public var innerB:MovieClip;
}
}//package engine_cmg_v1_fla
Section 12
//fadeIn_67 (engine_cmg_v1_fla.fadeIn_67)
package engine_cmg_v1_fla {
import flash.display.*;
public dynamic class fadeIn_67 extends MovieClip {
public function fadeIn_67(){
addFrameScript(29, frame30);
}
function frame30(){
stop();
parent.removeChild(this);
}
}
}//package engine_cmg_v1_fla
Section 13
//fadeInQuick_68 (engine_cmg_v1_fla.fadeInQuick_68)
package engine_cmg_v1_fla {
import flash.display.*;
public dynamic class fadeInQuick_68 extends MovieClip {
public function fadeInQuick_68(){
addFrameScript(9, frame10);
}
function frame10(){
stop();
parent.removeChild(this);
}
}
}//package engine_cmg_v1_fla
Section 14
//healthClip_158 (engine_cmg_v1_fla.healthClip_158)
package engine_cmg_v1_fla {
import flash.display.*;
public dynamic class healthClip_158 extends MovieClip {
public var healthMask:MovieClip;
}
}//package engine_cmg_v1_fla
Section 15
//livesClip_157 (engine_cmg_v1_fla.livesClip_157)
package engine_cmg_v1_fla {
import flash.display.*;
public dynamic class livesClip_157 extends MovieClip {
public function livesClip_157(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame4(){
stop();
}
function frame2(){
stop();
}
}
}//package engine_cmg_v1_fla
Section 16
//load_barMC_12 (engine_cmg_v1_fla.load_barMC_12)
package engine_cmg_v1_fla {
import flash.display.*;
public dynamic class load_barMC_12 extends MovieClip {
public var bar:MovieClip;
}
}//package engine_cmg_v1_fla
Section 17
//MainTimeline (engine_cmg_v1_fla.MainTimeline)
package engine_cmg_v1_fla {
import flash.display.*;
import flash.events.*;
import CMG_AS3.*;
import flash.utils.*;
import flash.net.*;
import flash.media.*;
import flash.text.*;
import flash.filters.*;
import flash.ui.*;
import flash.external.*;
import flash.system.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.geom.*;
import flash.printing.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var pBulletClip:MovieClip;
public var bonusClip:MovieClip;
public var currentWave:int;
public var rockets:Array;
public var bonus:Array;
public var bossHealth:int;
public var inGameOver:Boolean;
public var playerScore:int;
public var moveDelay:Boolean;
public var sHitTicks:int;
public var e_BulletsOff:int;
public var player_Rad_Small:int;
public var inIntro:Boolean;
public var glowF:GlowFilter;
public var player_Rad_Small_S:Number;
public var trans_2:SoundTransform;
public var trans_3:SoundTransform;
public var trans_4:SoundTransform;
public var trans_6:SoundTransform;
public var trans_0:SoundTransform;
public var stars:Array;
public var waveLoaded:Boolean;
public var trans_7:SoundTransform;
public var trans_8:SoundTransform;
public var trans_1:SoundTransform;
public var trans_5:SoundTransform;
public var radToDeg:Number;
public var path_12:Array;
public var path_13:Array;
public var path_14:Array;
public var path_15:Array;
public var path_16:Array;
public var path_10:Array;
public var path_19:Array;
public var trans_9:SoundTransform;
public var path_17:Array;
public var path_18:Array;
public var path_11:Array;
public var deadTicks:int;
public var bossHealthMax:int;
public var path_20:Array;
public var path_21:Array;
public var path_22:Array;
public var path_23:Array;
public var path_25:Array;
public var path_27:Array;
public var path_29:Array;
public var path_24:Array;
public var playerHealth:int;
public var path_26:Array;
public var path_28:Array;
public var path_30:Array;
public var path_31:Array;
public var path_32:Array;
public var path_33:Array;
public var path_34:Array;
public var path_35:Array;
public var path_36:Array;
public var path_37:Array;
public var path_38:Array;
public var path_39:Array;
public var starClip:MovieClip;
public var weaponDelay:int;
public var wData:Array;
public var scoreMultTicks:Number;
public var rocketsOff:int;
public var fx:Array;
public var path_40:Array;
public var bonusOff:int;
public var weaponDamage:int;
public var shield_Rad_Small_S:Number;
public var weaponDelay_Ticks:int;
public var chan_Game:SoundChannel;
public var trans_m:SoundTransform;
public var paths:Array;
public var boomCount:int;
public var currentWeapon:int;
public var chan_Beam:SoundChannel;
public var blurF:BlurFilter;
public var snd_Beam:s_Beam;
public var selectedCost:int;
public var menu_Main:Object;
public var cardDetails:Array;
public var chan_Boss:SoundChannel;
public var mainTimer:Timer;
public var cardHpTicks:int;
public var pWeapons_1:Array;
public var pWeapons_2:Array;
public var pWeapons_3:Array;
public var rocketLimit:int;
public var shield_Rad_Large:int;
public var snd_Gun:s_Gun;
public var bossPath:int;
public var sBulletLimit:int;
public var playerInput:int;
public var muted:Boolean;
public var buttonDelay:int;
public var menu_Ship:Object;
public var wing_Laser:wingLaser;
public var laserDelay:int;
public var enemiesOff:int;
public var currentLevel:Array;
public var currentEnemy:int;
public var playerFlash:int;
public var bonusTicks:int;
public var player_Rad_Large_S:Number;
public var slotFade:Array;
public var weaponMax:int;
public var inCard_Menu:Boolean;
public var music_Boss:m_Boss;
public var wing_Rocket:wingRocket;
public var sBoomCount:int;
public var eBulletClip:MovieClip;
public var playerType:int;
public var menu_Controls:Object;
public var e_Bullets:Array;
public var timeStart:int;
public var eData:Array;
public var playerClip:DisplayObject;
public var bossLoaded:Boolean;
public var cardSelected:Boolean;
public var menu_Credits:Object;
public var pWeps:Array;
public var addMode:int;
public var wingType:int;
public var wBonus:int;
public var music_Game:m_Game;
public var playerAdd:int;
public var snd_eHit:s_eHit;
public var shield_Rad_Large_S:Number;
public var inMain_Menu:Boolean;
public var e_Bullets_Splice:Array;
public var enemies:Array;
public var menu_Card:Object;
public var slots:Array;
public var level_1:Array;
public var level_2:Array;
public var card_Speed:int;
public var level_6:Array;
public var level_9:Array;
public var levelSelected:int;
public var shieldType:int;
public var wingFx:MovieClip;
public var musicMuted:Boolean;
public var wingLevel:int;
public var level_5:Array;
public var card_Weapon:Boolean;
public var level_8:Array;
public var level_3:Array;
public var boomTicks:int;
public var player_1:playerJag;
public var player_3:playerOrg;
public var level_0:Array;
public var shieldClip:DisplayObject;
public var endTicks:int;
public var trans_m2:SoundTransform;
public var trans_m3:SoundTransform;
public var bonusOn:Boolean;
public var playerMoney:int;
public var addOn:Boolean;
public var sharedObj:SharedObject;
public var player_2:playerTec;
public var level_4:Array;
public var level_7:Array;
public var snd_pHit:s_pHit;
public var chan_Menu:SoundChannel;
public var chan_End:SoundChannel;
public var player_Rad_Large:int;
public var snd_rebound:s_rebound;
public var laserTicks:int;
public var path_0:Array;
public var path_1:Array;
public var path_2:Array;
public var path_3:Array;
public var path_4:Array;
public var path_5:Array;
public var path_6:Array;
public var path_7:Array;
public var path_8:Array;
public var path_9:Array;
public var endOfLevel:Boolean;
public var card_Health:Boolean;
public var snd_eShoot:s_eShoot;
public var playerLives:int;
public var playerDot:testStar;
public var webby:URLRequest;
public var gameQ:int;
public var bossMode:Boolean;
public var card_Money:Boolean;
public var chan_Gun:SoundChannel;
public var fx_Splice:Array;
public var slotSelected:Boolean;
public var p_Bullets:Array;
public var rockets_Splice:Array;
public var theHud:hud;
public var shield_Rad_Small:int;
public var bonus_Splice:Array;
public var p_Bullets_Splice:Array;
public var enemies_Splice:Array;
public var slotData:Array;
public var card_Add:Boolean;
public var sHitCount:int;
public var slowStars:Boolean;
public var scoreMult:int;
public var playerDead:Boolean;
public var menu_GameOver:Object;
public var snd_pDown:s_powerDown;
public var menu_Pause:Object;
public var enemyClip:MovieClip;
public var newMoney:int;
public var wingClip_L:DisplayObject;
public var bossTicks:int;
public var shakeTicks:int;
public var masterVol:Number;
public var snd_Click:s_Button;
public var lasers:Graphics;
public var menu_Scores:Object;
public var musicWeb2:URLRequest;
public var musicWeb3:URLRequest;
public var wingClip_R:DisplayObject;
public var sBoomTicks:int;
public var musicWeb1:URLRequest;
public var trans_10:SoundTransform;
public var selectedSlot:int;
public var degToRad:Number;
public var fxOff:int;
public var newItem1_cmi;
public var fxClip:MovieClip;
public var p_BulletsOff:int;
public var snd_pUp:s_powerUp;
public var music_Menu:m_Menu;
public var timer:Number;
public var boss:Array;
public var menu_Intro:Object;
public var slowMo:Boolean;
public var theBoss:DisplayObject;
public var playerHealthMax:int;
public var snd_Pause:s_Pause;
public var addClip:DisplayObject;
public var timeNew:int;
public var card_Damage:int;
public var card_Armour:int;
public var card_Luck:Boolean;
public var music_End:m_End;
public var snd_coin:s_Coin;
public var snd_hp:s_Hp;
public var menu_Options:Object;
public var gamePaused:Boolean;
public var waveTimer:int;
public var bonus_Rad:int;
public var frameCount:int;
public var boss_0:Array;
public var boss_1:Array;
public var boss_2:Array;
public var bossTime:int;
public var boss_4:Array;
public var boss_5:Array;
public var boss_6:Array;
public var boss_7:Array;
public var boss_8:Array;
public var boss_9:Array;
public var boss_3:Array;
public var bossWeapon:int;
public var snd_Explode:s_Boom;
public var levelNumber:int;
public var frameRate:int;
public var typeSelected:int;
public var bonusType:int;
public var menu_HowTo:Object;
public var myMenu_cm:ContextMenu;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2);
}
public function addBonus():void{
if (addMode == 1){
collectBonus(0);
} else {
if (addMode == 2){
collectBonus(3);
} else {
if (addMode == 3){
collectBonus(1);
} else {
if (addMode == 4){
collectBonus(2);
} else {
if (addMode == 5){
collectBonus(5);
} else {
if (addMode == 6){
collectBonus(6);
} else {
if (addMode == 7){
collectBonus(4);
} else {
if (addMode == 8){
disableBonus();
addOn = true;
add_On();
bonusTicks = 350;
bonusOn = true;
bonusType = 8;
};
};
};
};
};
};
};
};
if (addMode != 0){
playerAdd = 1;
} else {
if (!muted){
snd_Click.play(0, 0, trans_5);
};
};
}
public function addMenu_Scores():void{
var _local1:scoresmenu;
_local1 = new scoresmenu();
_local1.x = 0;
_local1.y = 0;
addChild(_local1);
menu_Scores = _local1;
menu_Scores.bkButton.addEventListener(MouseEvent.CLICK, bkScores_Click);
}
public function mouseSet_Click(_arg1:MouseEvent):void{
removeMenu_Controls();
playerInput = 1;
addMenu_Ship();
if (!muted){
snd_Click.play(0, 0, trans_5);
};
}
public function spawnRockets(){
var _local1:rocket1;
var _local2:rocket1;
_local1 = new rocket1();
_local2 = new rocket1();
_local1.x = wingClip_L.x;
_local2.x = wingClip_R.x;
_local1.y = (wingClip_L.y - 20);
_local2.y = (wingClip_R.y - 20);
_local2.rotation = -90;
_local1.rotation = -90;
wingFx.addChild(_local1);
wingFx.addChild(_local2);
rockets.push([_local1, 9999]);
rockets.push([_local2, 9999]);
}
public function removeMenu_Credits():void{
menu_Credits.bkButton.removeEventListener(MouseEvent.CLICK, bkCredits_Click);
this.removeChild(DisplayObject(menu_Credits));
}
public function cardClick():void{
var _local1:GlowFilter;
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:Boolean;
var _local6:Boolean;
var _local7:int;
_local1 = new GlowFilter(0xFFFFFF, 1, 12, 12, 6, 3);
menu_Card.buyTxt.filters = [];
_local2 = Math.floor(((mouseX - 48) / 41));
_local3 = Math.floor(((mouseY - 124) / 51));
if ((((((((mouseX > 48)) && ((mouseY > 124)))) && ((mouseX < 454)))) && ((mouseY < 274)))){
if ((((((((_local3 <= 3)) && ((_local3 >= 0)))) && ((_local2 <= 9)))) && ((_local3 <= 2)))){
menu_Card.detailsTxt.text = cardDetails[slotData[_local3][_local2][0]];
menu_Card.priceTxt.text = String(("Price: " + slotData[_local3][_local2][2]));
menu_Card.hl.x = (48 + (_local2 * 41));
menu_Card.hl.y = (124 + (_local3 * 51));
_local4 = 0;
_local5 = false;
_local6 = true;
_local4 = 0;
while (_local4 < 4) {
if (slotData[_local3][_local2][0] == slots[_local4][1]){
_local5 = true;
};
if ((((slotData[_local3][_local2][0] == 4)) && ((slots[_local4][1] == 5)))){
_local5 = true;
};
if ((((slotData[_local3][_local2][0] == 5)) && ((slots[_local4][1] == 4)))){
_local5 = true;
};
if (slots[_local4][1] == 0){
_local6 = false;
};
_local4++;
};
if (slotData[_local3][_local2][2] > playerMoney){
menu_Card.buyTxt.text = "You cant afford this card.";
slotSelected = false;
cardSelected = false;
typeSelected = 0;
levelSelected = 0;
selectedCost = 0;
} else {
if (_local5){
menu_Card.buyTxt.text = "You already own a card of this type.";
slotSelected = false;
cardSelected = false;
typeSelected = 0;
levelSelected = 0;
selectedCost = 0;
} else {
if (_local6){
menu_Card.buyTxt.text = "You dont have any slots.";
slotSelected = false;
cardSelected = false;
typeSelected = 0;
levelSelected = 0;
selectedCost = 0;
} else {
menu_Card.buyTxt.text = "*BUY THIS CARD*";
menu_Card.buyTxt.filters = [_local1];
slotSelected = false;
cardSelected = true;
typeSelected = slotData[_local3][_local2][0];
levelSelected = slotData[_local3][_local2][1];
selectedCost = slotData[_local3][_local2][2];
};
};
};
};
} else {
if ((((((((mouseX > 115)) && ((mouseY > 430)))) && ((mouseX < 345)))) && ((mouseY < 478)))){
_local2 = Math.floor(((mouseX - 155) / 51));
if ((((_local2 >= 0)) && ((_local2 <= 3)))){
_local7 = 0;
if (slots[_local2][1] >= 6){
_local7 = 2000;
} else {
_local7 = ((3000 * slots[_local2][2]) * slots[_local2][2]);
};
menu_Card.detailsTxt.text = cardDetails[slots[_local2][1]];
menu_Card.priceTxt.text = String(("Sell for " + _local7));
menu_Card.buyTxt.text = "You cant sell an empty slot.. :(";
menu_Card.hl.x = (155 + (_local2 * 51));
menu_Card.hl.y = 430;
if (slots[_local2][1] != 0){
menu_Card.buyTxt.text = "*SELL THIS CARD*";
menu_Card.buyTxt.filters = [_local1];
slotSelected = true;
cardSelected = false;
typeSelected = slots[_local2][1];
levelSelected = slots[_local2][2];
selectedCost = _local7;
selectedSlot = _local2;
};
};
} else {
if ((((((((mouseX > 250)) && ((mouseY > 354)))) && ((mouseX < 457)))) && ((mouseY < 379)))){
if (cardSelected){
if (!muted){
snd_Click.play(0, 0, trans_5);
};
_local4 = 0;
while (_local4 < 4) {
if (slots[_local4][1] == 0){
playerMoney = (playerMoney - selectedCost);
slots[_local4][1] = typeSelected;
slots[_local4][2] = levelSelected;
pickCard(slots[_local4][1], slots[_local4][2], _local4);
pickCardVars(slots[_local4][1], slots[_local4][2], false);
break;
};
_local4++;
};
checkFades();
} else {
if (slotSelected){
if (!muted){
snd_Click.play(0, 0, trans_5);
};
playerMoney = (playerMoney + selectedCost);
menu_Card.removeChild(slots[selectedSlot][0]);
if (selectedSlot == 0){
menu_Card.slot_1.alpha = 1;
} else {
if (selectedSlot == 1){
menu_Card.slot_2.alpha = 1;
} else {
if (selectedSlot == 2){
menu_Card.slot_3.alpha = 1;
} else {
if (selectedSlot == 3){
menu_Card.slot_4.alpha = 1;
};
};
};
};
pickCardVars(slots[selectedSlot][1], slots[selectedSlot][2], true);
slots[selectedSlot][0] = null;
slots[selectedSlot][1] = 0;
slots[selectedSlot][2] = 0;
checkFades();
};
};
menu_Card.hl.x = -100;
menu_Card.hl.y = -100;
slotSelected = false;
cardSelected = false;
typeSelected = 0;
levelSelected = 0;
selectedCost = 0;
menu_Card.buyTxt.text = "Click a card to view its details.";
} else {
menu_Card.hl.x = -100;
menu_Card.hl.y = -100;
slotSelected = false;
cardSelected = false;
typeSelected = 0;
levelSelected = 0;
selectedCost = 0;
menu_Card.buyTxt.text = "Click a card to view its details.";
};
};
};
menu_Card.moneyTxt.text = String(playerMoney);
}
function frame1(){
ScoreSubmitter.gameId = 395;
ScoreSubmitter.gameVersion = "1.0";
ScoreSubmitter.gameValidationCode = "fran32b6da4c0d5160475a4253d24e0b9a00";
path_35 = [[-50, 300, 90, 1, 0, 300, 0, 0], [250, 300, 72, 0.952, -0.318, 63, 0, 2], [310, 280, 45, 0.714, -0.715, 56, 0, 0], [350, 240, 0, 0, -1, 70, 0, 0], [350, 170, -31, -0.518, -0.863, 58, 0, 0], [320, 120, -63, -0.896, -0.448, 67, 0, 0], [260, 90, -39, -0.625, -0.782, 64, 0, 0], [220, 40, 0, 0, -1, 80, 0, 1], [220, -40, 0, 0, 0, 0, 0]];
path_36 = [[550, 300, -90, -1, 0, 300, 0, 0], [250, 300, -72, -0.952, -0.318, 63, 0, 2], [190, 280, -45, -0.714, -0.715, 56, 0, 0], [150, 240, 0, 0, -1, 70, 0, 0], [150, 170, 31, 0.518, -0.863, 58, 0, 0], [180, 120, 63, 0.896, -0.448, 67, 0, 0], [240, 90, 39, 0.625, -0.782, 64, 0, 0], [280, 40, 0, 0, -1, 80, 0, 1], [280, -40, 0, 0, 0, 0, 0]];
path_37 = [[-50, 310, 115, 0.904, 0.428, 210, 0, 0], [140, 400, 114, 0.916, 0.416, 120, 0, 1], [250, 450, 110, 0.945, 0.337, 148, 0, 1], [390, 500, 98, 0.993, 0.132, 151, 0, 1], [540, 520, 98, 0, 0, 0, 0]];
path_38 = [[540, 430, -66, -0.919, -0.409, 196, 0, 0], [360, 350, -70, -0.941, -0.347, 202, 0, 1], [170, 280, -78, -0.98, -0.21, 143, 0, 1], [30, 250, -82, -1, -0.143, 70, 0, 0], [-40, 240, -82, 0, 0, 0, 0]];
path_39 = [[530, 540, -61, -0.88, -0.48, 125, 0, 0], [420, 480, -29, -0.491, -0.883, 102, 0, 0], [370, 390, 0, 0, -1, 280, 0, 1], [370, 110, 0, 0, -1, 150, 0, 1], [370, -40, 0, 0, 0, 0, 0]];
path_40 = [[-30, 540, 61, 0.88, -0.48, 125, 0, 0], [80, 480, 29, 0.491, -0.883, 102, 0, 0], [130, 390, 0, 0, -1, 280, 0, 1], [130, 110, 0, 0, -1, 150, 0, 1], [130, -40, 0, 0, 0, 0, 0]];
path_25 = [[40, 610, 13, 0.218, -0.979, 92, 0, 0], [60, 520, 32, 0.532, -0.852, 94, 0, 0], [110, 440, 36, 0.582, -0.814, 86, 0, 0], [160, 370, 20, 0.342, -0.941, 117, 0, 0], [200, 260, 21, 0.353, -0.942, 85, 0, 0], [230, 180, 51, 0.782, -0.625, 64, 0, 0], [280, 140, -270, 1, 0, 80, 0, 0], [360, 140, -270, 1, 0, 180, 0, 0], [540, 140, -270, 0, 0, 0, 0]];
path_26 = [[250, -40, 180, 0, 1, 120, 0, 0], [250, 80, 180, 0, 1, 170, 0, 1], [250, 250, 180, 0, 1, 140, 0, 2], [250, 390, 180, 0, 1, 230, 0, 0], [250, 620, 180, 0, 0, 0, 0]];
path_27 = [[550, 40, 270, -1, 0, 140, 0, 0], [410, 40, 0x0100, -0.976, 0.243, 41, 0, 0], [370, 50, 214, -0.556, 0.833, 36, 0, 0], [350, 80, 191, -0.2, 1, 50, 0, 0], [340, 130, 184, -0.062, 1, 490, 0, 1], [310, 620, 184, 0, 0, 0, 0]];
path_28 = [[-50, 40, -270, 1, 0, 140, 0, 0], [90, 40, -256, 0.976, 0.243, 41, 0, 0], [130, 50, -214, 0.556, 0.833, 36, 0, 0], [150, 80, -191, 0.2, 1, 50, 0, 0], [160, 130, -184, 0.062, 1, 490, 0, 1], [190, 620, -184, 0, 0, 0, 0]];
path_29 = [[550, 590, -67, -0.922, -0.395, 152, 0, 0], [410, 530, -29, -0.491, -0.883, 102, 0, 0], [360, 440, -13, -0.226, -0.978, 133, 0, 0], [330, 310, 9, 0.165, -0.992, 121, 0, 1], [350, 190, 67, 0.921, -0.395, 76, 0, 0], [420, 160, 86, 1, -0.077, 130, 0, 0], [550, 150, 86, 0, 0, 0, 0]];
path_30 = [[-50, 540, 67, 0.924, -0.385, 130, 0, 0], [70, 490, 27, 0.448, -0.896, 134, 0, 0], [130, 370, 11, 0.199, -0.991, 101, 0, 0], [150, 270, -34, -0.555, -0.834, 108, 0, 1], [90, 180, -70, -0.945, -0.338, 148, 0, 0], [-50, 130, -70, 0, 0, 0, 0]];
path_31 = [[470, 620, -18, -0.318, -0.953, 63, 0, 0], [450, 560, -23, -0.395, -0.922, 76, 0, 0], [420, 490, -40, -0.642, -0.77, 78, 0, 0], [370, 430, -50, -0.77, -0.642, 78, 0, 1], [310, 380, -77, -0.979, -0.218, 92, 0, 0], [220, 360, 262, -1, 0.142, 70, 0, 0], [150, 370, 234, -0.814, 0.581, 86, 0, 0], [80, 420, 220, -0.642, 0.769, 78, 0, 1], [30, 480, 214, -0.556, 0.833, 72, 0, 0], [-10, 540, 188, -0.143, 1, 70, 0, 0], [-20, 610, 188, 0, 0, 0, 0]];
path_32 = [[30, 620, 18, 0.318, -0.953, 63, 0, 0], [50, 560, 23, 0.395, -0.922, 76, 0, 0], [80, 490, 40, 0.642, -0.77, 78, 0, 0], [130, 430, 50, 0.77, -0.642, 78, 0, 1], [190, 380, 77, 0.979, -0.218, 92, 0, 0], [280, 360, -262, 1, 0.142, 70, 0, 0], [350, 370, -234, 0.814, 0.581, 86, 0, 0], [420, 420, -220, 0.642, 0.769, 78, 0, 1], [470, 480, -214, 0.556, 0.833, 72, 0, 0], [510, 540, -188, 0.143, 1, 70, 0, 0], [520, 610, -188, 0, 0, 0, 0]];
path_33 = [[-50, 160, 90, 1, 0, 330, 0, 0], [280, 160, 106, 0.972, 0.277, 72, 0, 0], [350, 180, 141, 0.625, 0.781, 64, 0, 0], [390, 230, 180, 0, 1, 70, 0, 1], [390, 300, 219, -0.625, 0.781, 64, 0, 0], [350, 350, 229, -0.761, 0.652, 92, 0, 0], [280, 410, 241, -0.883, 0.49, 102, 0, 0], [190, 460, 243, -0.899, 0.449, 89, 0, 0], [110, 500, 236, -0.834, 0.555, 72, 0, 0], [50, 540, 228, -0.75, 0.666, 120, 0, 0], [-40, 620, 228, 0, 0, 0, 0]];
path_34 = [[550, 160, -90, -1, 0, 330, 0, 0], [220, 160, -106, -0.972, 0.277, 72, 0, 0], [150, 180, -141, -0.625, 0.781, 64, 0, 0], [110, 230, -180, 0, 1, 70, 0, 1], [110, 300, -219, 0.625, 0.781, 64, 0, 0], [150, 350, -229, 0.761, 0.652, 92, 0, 0], [220, 410, -241, 0.883, 0.49, 102, 0, 0], [310, 460, -243, 0.899, 0.449, 89, 0, 0], [390, 500, -236, 0.834, 0.555, 72, 0, 0], [450, 540, -228, 0.75, 0.666, 120, 0, 0], [540, 620, -228, 0, 0, 0, 0]];
path_0 = [[250, -40, 180, 0, 1, 660, 0, 0], [250, 620, 180, 0, 0, 0, 0]];
path_1 = [[250, -40, 180, 0, 1, 150, 0, 0], [250, 110, 144, 0.581, 0.813, 86, 0, 0], [300, 180, 122, 0.851, 0.531, 94, 0, 0], [380, 230, 99, 0.991, 0.165, 121, 0, 0], [500, 250, 90, 1, 0, 50, 0, 0], [550, 250, 90, 0, 0, 0, 0]];
path_2 = [[250, -40, -180, 0, 1, 150, 0, 0], [250, 110, -144, -0.581, 0.813, 86, 0, 0], [200, 180, -122, -0.851, 0.531, 94, 0, 0], [120, 230, -99, -0.991, 0.165, 121, 0, 0], [0, 250, -90, -1, 0, 50, 0, 0], [-50, 250, -90, 0, 0, 0, 0]];
path_3 = [[250, -50, 180, 0, 1, 190, 0, 0], [250, 140, 180, 0, 1, 10, 30, 2], [250, 150, 135, 0.714, 0.714, 14, 0, 0], [260, 160, 90, 1, 0, 10, 0, 0], [270, 160, 45, 0.714, -0.715, 14, 0, 0], [280, 150, 0, 0, -1, 200, 0, 0], [280, -50, 0, 0, 0, 0, 0]];
path_4 = [[-50, 300, 90, 1, 0, 300, 0, 0], [250, 300, 72, 0.952, -0.318, 63, 0, 0], [310, 280, 45, 0.714, -0.715, 56, 0, 0], [350, 240, 0, 0, -1, 70, 0, 0], [350, 170, -31, -0.518, -0.863, 58, 0, 0], [320, 120, -63, -0.896, -0.448, 67, 0, 0], [260, 90, -39, -0.625, -0.782, 64, 0, 0], [220, 40, 0, 0, -1, 80, 0, 0], [220, -40, 0, 0, 0, 0, 0]];
path_5 = [[550, 300, -90, -1, 0, 300, 0, 0], [250, 300, -72, -0.952, -0.318, 63, 0, 0], [190, 280, -45, -0.714, -0.715, 56, 0, 0], [150, 240, 0, 0, -1, 70, 0, 0], [150, 170, 31, 0.518, -0.863, 58, 0, 0], [180, 120, 63, 0.896, -0.448, 67, 0, 0], [240, 90, 39, 0.625, -0.782, 64, 0, 0], [280, 40, 0, 0, -1, 80, 0, 0], [280, -40, 0, 0, 0, 0, 0]];
path_6 = [[40, -50, 180, 0, 1, 60, 0, 0], [40, 10, 106, 0.972, 0.277, 72, 0, 0], [110, 30, 124, 0.833, 0.555, 72, 0, 0], [170, 70, 135, 0.714, 0.714, 42, 0, 0], [200, 100, 135, 0.714, 0.714, 70, 0, 0], [250, 150, 180, 0, 1, 180, 0, 0], [250, 330, 202, -0.378, 0.943, 53, 0, 0], [230, 380, 254, -0.973, 0.277, 72, 0, 0], [160, 400, 270, -1, 0, 210, 0, 0], [-50, 400, 270, 0, 0, 0, 0]];
path_7 = [[460, -50, -180, 0, 1, 60, 0, 0], [460, 10, -106, -0.972, 0.277, 72, 0, 0], [390, 30, -124, -0.833, 0.555, 72, 0, 0], [330, 70, -135, -0.714, 0.714, 42, 0, 0], [300, 100, -135, -0.714, 0.714, 70, 0, 0], [250, 150, -180, 0, 1, 180, 0, 0], [250, 330, -202, 0.378, 0.943, 53, 0, 0], [270, 380, -254, 0.973, 0.277, 72, 0, 0], [340, 400, -270, 1, 0, 210, 0, 0], [550, 400, -270, 0, 0, 0, 0]];
path_8 = [[550, 510, -71, -0.945, -0.331, 635, 0, 0], [-50, 300, -71, 0, 0, 0, 0]];
path_9 = [[-50, 240, 109, 0.944, 0.33, 635, 0, 0], [550, 450, 109, 0, 0, 0, 0]];
path_10 = [[550, 70, 270, -1, 0, 590, 0, 0], [-40, 70, 270, 0, 0, 0, 0]];
path_11 = [[550, 110, 270, -1, 0, 90, 0, 0], [460, 110, -81, -0.989, -0.156, 516, 0, 10], [-50, 30, -81, 0, 0, 0, 0]];
path_12 = [[270, -40, 174, 0.106, 0.996, 281, 0, 0], [300, 240, 152, 0.476, 0.884, 147, 0, 2], [370, 370, 127, 0.794, 0.607, 214, 0, 2], [540, 500, 127, 0, 0, 0, 0]];
path_13 = [[230, -40, -174, -0.106, 0.996, 281, 0, 0], [200, 240, -152, -0.476, 0.884, 147, 0, 2], [130, 370, -127, -0.794, 0.607, 214, 0, 2], [-40, 500, -127, 0, 0, 0, 0]];
path_14 = [[-50, 120, 90, 1, 0, 190, 0, 0], [140, 120, 83, 0.992, -0.125, 403, 0, 10], [540, 70, 83, 0, 0, 0, 0]];
path_15 = [[-20, -40, 156, 0.416, 0.916, 120, 0, 0], [30, 70, 135, 0.714, 0.714, 98, 0, 0], [100, 140, 113, 0.923, 0.384, 130, 0, 0], [220, 190, 90, 1, 0, 60, 0, 0], [280, 190, 66, 0.916, -0.417, 120, 0, 0], [390, 140, 49, 0.754, -0.661, 106, 0, 0], [470, 70, 29, 0.48, -0.88, 125, 0, 0], [530, -40, 29, 0, 0, 0, 0]];
path_16 = [[520, -40, -156, -0.416, 0.916, 120, 0, 0], [470, 70, -135, -0.714, 0.714, 98, 0, 0], [400, 140, -113, -0.923, 0.384, 130, 0, 0], [280, 190, -90, -1, 0, 60, 0, 0], [220, 190, -66, -0.916, -0.417, 120, 0, 0], [110, 140, -49, -0.754, -0.661, 106, 0, 0], [30, 70, -29, -0.48, -0.88, 125, 0, 0], [-30, -40, -29, 0, 0, 0, 0]];
path_17 = [[-20, -40, 156, 0.416, 0.916, 120, 0, 0], [30, 70, 135, 0.714, 0.714, 98, 0, 0], [100, 140, 113, 0.923, 0.384, 130, 0, 2], [220, 190, 90, 1, 0, 60, 0, 0], [280, 190, 66, 0.916, -0.417, 120, 0, 0], [390, 140, 49, 0.754, -0.661, 106, 0, 0], [470, 70, 29, 0.48, -0.88, 125, 0, 0], [530, -40, 29, 0, 0, 0, 0]];
path_18 = [[520, -40, -156, -0.416, 0.916, 120, 0, 0], [470, 70, -135, -0.714, 0.714, 98, 0, 0], [400, 140, -113, -0.923, 0.384, 130, 0, 2], [280, 190, -90, -1, 0, 60, 0, 0], [220, 190, -66, -0.916, -0.417, 120, 0, 0], [110, 140, -49, -0.754, -0.661, 106, 0, 0], [30, 70, -29, -0.48, -0.88, 125, 0, 0], [-30, -40, -29, 0, 0, 0, 0]];
path_19 = [[-50, 210, 90, 1, 0, 210, 0, 0], [160, 210, 135, 0.714, 0.714, 56, 0, 0], [200, 250, 180, 0, 1, 60, 0, 0], [200, 310, 225, -0.715, 0.714, 56, 0, 1], [160, 350, 0x0100, -0.976, 0.243, 82, 0, 0], [80, 370, 236, -0.834, 0.555, 72, 0, 0], [20, 410, 180, 0, 1, 210, 0, 0], [20, 620, 180, 0, 0, 0, 0]];
path_20 = [[550, 210, -90, -1, 0, 210, 0, 0], [340, 210, -135, -0.714, 0.714, 56, 0, 0], [300, 250, -180, 0, 1, 60, 0, 0], [300, 310, -225, 0.715, 0.714, 56, 0, 1], [340, 350, -256, 0.976, 0.243, 82, 0, 0], [420, 370, -236, 0.834, 0.555, 72, 0, 0], [480, 410, -180, 0, 1, 210, 0, 0], [480, 620, -180, 0, 0, 0, 0]];
path_21 = [[250, -50, 180, 0, 1, 130, 0, 0], [250, 80, 180, 0, 1, 160, 0, 2], [250, 240, 180, 0, 1, 170, 0, 2], [250, 410, 180, 0, 1, 210, 0, 3], [250, 620, 180, 0, 0, 0, 0]];
path_22 = [[220, -40, 180, 0, 1, 80, 0, 0], [220, 40, 186, -0.112, 1, 90, 0, 0], [210, 130, 204, -0.409, 0.918, 98, 0, 0], [170, 220, 209, -0.491, 0.882, 102, 0, 1], [120, 310, 212, -0.532, 0.851, 94, 0, 0], [70, 390, 232, -0.79, 0.614, 114, 0, 0], [-20, 460, 270, -1, 0, 30, 0, 0], [-50, 460, 270, 0, 0, 0, 0]];
path_23 = [[280, -40, -180, 0, 1, 80, 0, 0], [280, 40, -186, 0.112, 1, 90, 0, 0], [290, 130, -204, 0.409, 0.918, 98, 0, 0], [330, 220, -209, 0.491, 0.882, 102, 0, 1], [380, 310, -212, 0.532, 0.851, 94, 0, 0], [430, 390, -232, 0.79, 0.614, 114, 0, 0], [520, 460, -270, 1, 0, 30, 0, 0], [550, 460, -270, 0, 0, 0, 0]];
path_24 = [[460, 610, -13, -0.218, -0.979, 92, 0, 0], [440, 520, -32, -0.532, -0.852, 94, 0, 0], [390, 440, -36, -0.582, -0.814, 86, 0, 0], [340, 370, -20, -0.342, -0.941, 117, 0, 0], [300, 260, -21, -0.353, -0.942, 85, 0, 1], [270, 180, -51, -0.782, -0.625, 64, 0, 0], [220, 140, 270, -1, 0, 80, 0, 0], [140, 140, 270, -1, 0, 180, 0, 0], [-40, 140, 270, 0, 0, 0, 0]];
pWeapons_3 = [[[0, -15, 1, 10, 20, 0], [0, -15, 1, -10, 20, 0], [0, -15.4, 1, 0, 20, 0]], [[0, -15, 2, 5, 20, 0], [0, -15, 2, -5, 20, 0], [-0.864, -14.976, 1, -10, 20, -2], [0.864, -14.976, 1, 10, 20, 2]], [[0, -15, 2, 5, 20, 0], [0, -15, 2, -5, 20, 0], [-0.864, -14.976, 2, -10, 20, -2], [0.864, -14.976, 2, 10, 20, 2]], [[0, -15, 1, 5, 25, 0], [0, -15, 1, -5, 25, 0], [-0.864, -14.976, 2, -10, 25, -2], [0.864, -14.976, 2, 10, 25, 2], [-2.014, -14.865, 2, -12, 25, -7], [2.014, -14.865, 2, 12, 25, 7]], [[0, -15, 2, 5, 25, 0], [0, -15, 2, -5, 25, 0], [-0.864, -14.976, 2, -10, 25, -2], [0.864, -14.976, 2, 10, 25, 2], [-2.014, -14.865, 2, -10, 25, -7], [2.014, -14.865, 2, 10, 25, 7], [-6.286, -13.62, 1, -12, 25, -24], [6.286, -13.62, 1, 12, 25, 24]], [[0, -15, 2, 5, 25, 0], [0, -15, 2, -5, 25, 0], [-0.864, -14.976, 2, -10, 25, -2], [0.864, -14.976, 2, 10, 25, 2], [-2.014, -14.865, 2, -10, 25, -7], [2.014, -14.865, 2, 10, 25, 7], [-6.286, -13.62, 2, -12, 25, -24], [6.286, -13.62, 2, 12, 25, 24], [10, 0, 1, 12, 50, 90], [-10, 0, 1, -12, 50, -90]]];
pWeapons_2 = [[[0, -15, 1, 15, 25, 0], [0, -15, 1, -15, 25, 0], [0, -15.4, 1, 0, 25, 0]], [[0, -15, 2, 15, 25, 0], [0, -15, 2, -15, 25, 0], [0, -15, 1, 3, 25, 0], [0, -15, 1, -3, 25, 0]], [[-0.977, -17.974, 2, -15, 30, -2], [0, -16, 1, 3, 30, 0], [0, -16, 1, -3, 30, 0], [0.977, -17.974, 2, 15, 30, 2]], [[0, -16, 2, 15, 35, 0], [0, -16, 2, -15, 35, 0], [0, -16, 2, 3, 35, 0], [0, -16, 2, -3, 35, 0], [-6.987, -13.274, 1, -7, 35, -27], [6.987, -13.274, 1, 7, 35, 27]], [[0, -17, 2, 15, 35, 0], [0, -17, 2, -15, 35, 0], [0, -17, 1, 3, 35, 0], [0, -17, 1, -3, 35, 0], [0.977, -17.974, 2, 15, 35, 2], [-0.977, -17.974, 2, -15, 35, -2]], [[0, -17, 2, 15, 35, 0], [0, -17, 2, -15, 35, 0], [0, -17, 1, 3, 35, 0], [0, -17, 1, -3, 35, 0], [-2.681, -19.82, 1, -15, 35, -7], [2.681, -19.82, 1, 15, 35, 7], [0, 15, 1, 0, 70, 180]]];
pWeapons_1 = [[[0, -17, 1, 8, 40, 0], [0, -17, 1, -8, 40, 0], [0, -17.4, 1, 0, 40, 0]], [[0, -17, 2, 8, 40, 0], [0, -18, 1, 0, 40, 0], [0, -17, 2, -8, 40, 0]], [[-0.977, -17.974, 2, -7, 40, -2], [0, -18, 1, 0, 40, 0], [0.977, -17.974, 2, 7, 40, 2]], [[0, -16, 2, 8, 45, 0], [0, -16, 2, -8, 45, 0], [0, -18, 2, 8, 45, 0], [0, -18, 2, -8, 45, 0]], [[0, -18, 1, 6, 50, 0], [0, -18, 1, -6, 50, 0], [0, -20, 2, 6, 50, 0], [0, -20, 2, -6, 50, 0], [0, -16, 2, 12, 50, 0], [0, -16, 2, -12, 50, 0], [0, -21, 2, 0, 50, 0], [0, 15, 2, 0, 100, 180]], [[0, -18, 1, 6, 50, 0], [0, -18, 1, -6, 50, 0], [0, -20, 2, 6, 50, 0], [0, -20, 2, -6, 50, 0], [0, -16, 2, 12, 50, 0], [0, -16, 2, -12, 50, 0], [0, -21, 2, 0, 50, 0], [-1, 15, 2, -5, 100, 180], [1, 15, 2, 5, 100, 180]]];
}
public function spawnBullet(_arg1:int=0, _arg2:int=100, _arg3:int=100):void{
var _local4:int;
var _local5:int;
var _local6:DisplayObject;
var _local7:Number;
var _local8:Number;
var _local9:int;
var _local10:Boolean;
_local5 = wData[_arg1].length;
_local10 = false;
_local4 = 0;
while (_local4 < _local5) {
_local9 = wData[_arg1][_local4][2];
if (_local9 <= 1){
_local6 = new eBul1_1();
_local10 = false;
} else {
if (_local9 == 2){
_local6 = new eBul1_2();
_local10 = false;
} else {
if (_local9 == 3){
_local6 = new eBul2_1();
_local10 = true;
} else {
if (_local9 >= 4){
_local6 = new eBul2_2();
_local10 = true;
};
};
};
};
_local6.x = _arg2;
_local6.y = _arg3;
eBulletClip.addChild(_local6);
if (slowMo == false){
_local7 = wData[_arg1][_local4][0];
_local8 = wData[_arg1][_local4][1];
} else {
_local7 = (wData[_arg1][_local4][0] * 0.5);
_local8 = (wData[_arg1][_local4][1] * 0.5);
};
e_Bullets.push([_local6, _local7, _local8, _local10]);
if (!muted){
if (sBulletLimit < 2){
snd_eShoot.play(0, 0, trans_3);
sBulletLimit++;
};
};
_local4++;
};
}
public function removeMenu_Main():void{
inMain_Menu = false;
menu_Main.startButton.removeEventListener(MouseEvent.CLICK, start_Click);
menu_Main.optionsButton.removeEventListener(MouseEvent.CLICK, options_Click);
menu_Main.scoresButton.removeEventListener(MouseEvent.CLICK, scores_Click);
menu_Main.viewButton.removeEventListener(MouseEvent.CLICK, viewScores_Click);
menu_Main.moreButton.removeEventListener(MouseEvent.CLICK, moreGames_Click);
this.removeChild(DisplayObject(menu_Main));
}
public function music3_Click(_arg1:MouseEvent):void{
navigateToURL(musicWeb3, "_blank");
}
public function pickCardVars(_arg1:int, _arg2:int, _arg3:Boolean):void{
if (_arg1 == 1){
if (_arg3){
card_Damage = 0;
} else {
card_Damage = _arg2;
};
} else {
if (_arg1 == 2){
if (_arg3){
card_Armour = 0;
} else {
card_Armour = _arg2;
};
} else {
if (_arg1 == 3){
if (_arg3){
card_Speed = 0;
} else {
card_Speed = _arg2;
};
} else {
if (_arg1 == 4){
if (_arg3){
wingType = 0;
wingLevel = 0;
} else {
wingType = 1;
wingLevel = _arg2;
};
} else {
if (_arg1 == 5){
if (_arg3){
wingType = 0;
wingLevel = 0;
} else {
wingType = 2;
wingLevel = _arg2;
};
} else {
if (_arg1 == 6){
if (_arg3){
card_Add = false;
} else {
card_Add = true;
};
} else {
if (_arg1 == 7){
if (_arg3){
card_Health = false;
} else {
card_Health = true;
};
} else {
if (_arg1 == 8){
if (_arg3){
card_Luck = false;
} else {
card_Luck = true;
};
} else {
if (_arg1 == 9){
if (_arg3){
card_Money = false;
} else {
card_Money = true;
};
} else {
if (_arg1 == 10){
if (_arg3){
card_Weapon = false;
} else {
card_Weapon = true;
};
};
};
};
};
};
};
};
};
};
};
}
public function removeMenu_GameOver():void{
inGameOver = false;
menu_GameOver.bkButton.removeEventListener(MouseEvent.CLICK, bkOver_Click);
menu_GameOver.submitButton.removeEventListener(MouseEvent.CLICK, submit_Click);
menu_GameOver.viewButton.removeEventListener(MouseEvent.CLICK, viewScores_Click);
menu_GameOver.moreButton.removeEventListener(MouseEvent.CLICK, moreGames_Click);
this.removeChild(DisplayObject(menu_GameOver));
}
public function add_Off():void{
startGunSound();
if (!muted){
chan_Beam.stop();
snd_pDown.play(0, 0, trans_9);
};
this.filters = [];
removeChild(addClip);
addOn = false;
theHud.slow.alpha = 0;
}
public function checkMouse():void{
if (playerInput == 1){
if ((((((((mouseX > (playerClip.x - 20))) && ((mouseX < (playerClip.x + 20))))) && ((mouseY > (playerClip.y - 20))))) && ((mouseY < (playerClip.y + 20))))){
moveDelay = false;
gamePaused = false;
Mouse.hide();
theHud.mouseHere.alpha = 0;
if (!muted){
startGunSound();
chan_Game = music_Game.play(0, 9999, trans_m);
};
};
} else {
if (Key.isDown(Keyboard.SPACE)){
theHud.spaceBegin.alpha = 0;
moveDelay = false;
gamePaused = false;
if (!muted){
startGunSound();
chan_Game = music_Game.play(0, 9999, trans_m);
};
};
};
}
public function spawnEnemy(_arg1:int=0, _arg2:int=0, _arg3:int=0, _arg4:int=0, _arg5:int=0):void{
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:Number;
var _local10:Array;
var _local11:Array;
var _local12:DisplayObject;
_local10 = eData[_arg1];
_local11 = paths[_arg5];
if (_arg1 <= 8){
if (_arg1 == 0){
_local12 = new enemy_M_6();
} else {
if (_arg1 == 1){
_local12 = new enemy_M_1();
} else {
if (_arg1 == 2){
_local12 = new enemy_M_11();
} else {
if (_arg1 == 3){
_local12 = new enemy_L_11();
} else {
if (_arg1 == 4){
_local12 = new enemy_S_11();
} else {
if (_arg1 == 5){
_local12 = new enemy_S_1();
} else {
if (_arg1 == 6){
_local12 = new enemy_L_1();
} else {
if (_arg1 == 7){
_local12 = new enemy_S_6();
} else {
if (_arg1 == 8){
_local12 = new enemy_M_7();
};
};
};
};
};
};
};
};
};
} else {
if ((((_arg1 > 8)) && ((_arg1 <= 15)))){
if (_arg1 == 9){
_local12 = new enemy_T_4();
} else {
if (_arg1 == 10){
_local12 = new enemy_L_7();
} else {
if (_arg1 == 11){
_local12 = new enemy_L_7();
} else {
if (_arg1 == 12){
_local12 = new enemy_S_2();
} else {
if (_arg1 == 13){
_local12 = new enemy_T_4();
} else {
if (_arg1 == 14){
_local12 = new enemy_M_2();
} else {
if (_arg1 == 15){
_local12 = new enemy_L_12();
};
};
};
};
};
};
};
} else {
if ((((_arg1 > 15)) && ((_arg1 <= 19)))){
if (_arg1 == 16){
_local12 = new enemy_S_7();
} else {
if (_arg1 == 17){
_local12 = new enemy_L_2();
} else {
if (_arg1 == 18){
_local12 = new enemy_T_2();
} else {
if (_arg1 == 19){
_local12 = new enemy_T_2();
};
};
};
};
} else {
if ((((_arg1 > 19)) && ((_arg1 <= 23)))){
if (_arg1 == 20){
_local12 = new enemy_M_9();
} else {
if (_arg1 == 21){
_local12 = new enemy_M_9();
} else {
if (_arg1 == 22){
_local12 = new enemy_L_3();
} else {
if (_arg1 == 23){
_local12 = new enemy_T_6();
};
};
};
};
} else {
if ((((_arg1 > 23)) && ((_arg1 <= 27)))){
if (_arg1 == 24){
_local12 = new enemy_T_1();
} else {
if (_arg1 == 25){
_local12 = new enemy_T_3();
} else {
if (_arg1 == 26){
_local12 = new enemy_T_5();
} else {
if (_arg1 == 27){
_local12 = new enemy_T_7();
};
};
};
};
} else {
if ((((_arg1 > 27)) && ((_arg1 <= 33)))){
if (_arg1 == 28){
_local12 = new enemy_M_3();
} else {
if (_arg1 == 29){
_local12 = new enemy_M_4();
} else {
if (_arg1 == 30){
_local12 = new enemy_M_8();
} else {
if (_arg1 == 31){
_local12 = new enemy_M_12();
} else {
if (_arg1 == 32){
_local12 = new enemy_M_13();
} else {
if (_arg1 == 33){
_local12 = new enemy_M_14();
};
};
};
};
};
};
} else {
if ((((_arg1 > 33)) && ((_arg1 <= 39)))){
if (_arg1 == 34){
_local12 = new enemy_L_4();
} else {
if (_arg1 == 35){
_local12 = new enemy_L_7();
} else {
if (_arg1 == 36){
_local12 = new enemy_L_8();
} else {
if (_arg1 == 37){
_local12 = new enemy_L_9();
} else {
if (_arg1 == 38){
_local12 = new enemy_L_13();
} else {
if (_arg1 == 39){
_local12 = new enemy_L_14();
};
};
};
};
};
};
} else {
if ((((_arg1 > 39)) && ((_arg1 <= 46)))){
if (_arg1 == 40){
_local12 = new enemy_S_3();
} else {
if (_arg1 == 41){
_local12 = new enemy_S_4();
} else {
if (_arg1 == 42){
_local12 = new enemy_S_8();
} else {
if (_arg1 == 43){
_local12 = new enemy_S_9();
} else {
if (_arg1 == 44){
_local12 = new enemy_S_12();
} else {
if (_arg1 == 45){
_local12 = new enemy_S_13();
} else {
if (_arg1 == 46){
_local12 = new enemy_S_14();
};
};
};
};
};
};
};
} else {
if (_arg1 > 46){
if (_arg1 == 47){
_local12 = new enemy_L_5();
} else {
if (_arg1 == 48){
_local12 = new enemy_L_10();
} else {
if (_arg1 == 49){
_local12 = new enemy_L_15();
} else {
if (_arg1 == 50){
_local12 = new enemy_M_5();
} else {
if (_arg1 == 51){
_local12 = new enemy_M_10();
} else {
if (_arg1 == 52){
_local12 = new enemy_M_15();
} else {
if (_arg1 == 53){
_local12 = new enemy_S_5();
} else {
if (_arg1 == 54){
_local12 = new enemy_S_10();
} else {
if (_arg1 == 55){
_local12 = new enemy_S_15();
} else {
if (_arg1 == 56){
_local12 = new enemy_T_8();
} else {
if (_arg1 == 57){
_local12 = new enemy_T_9();
} else {
if (_arg1 == 58){
_local12 = new enemy_T_10();
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
_local12.x = (_local11[0][0] + _arg2);
_local12.y = (_local11[0][1] + _arg3);
_local12.rotation = _local11[0][2];
enemyClip.addChild(_local12);
_local8 = Math.ceil((_local11[0][5] / _local10[1]));
_local9 = _local10[1];
if (slowMo == true){
_local9 = (_local9 * 0.5);
_local8 = (_local8 * 2);
};
_local6 = (_local11[0][3] * _local9);
_local7 = (_local11[0][4] * _local9);
enemies.push([_local12, 0, _local8, _arg5, _local10[0], _local9, _local10[2], _local10[3], _local10[4], _local6, _local7, _arg4, 0, 0, 0, 0, 0, 0, 0]);
}
public function options_Click(_arg1:MouseEvent):void{
removeMenu_Main();
addMenu_Options();
if (!muted){
snd_Click.play(0, 0, trans_5);
};
}
function frame2(){
stop();
MochiBot.track(this, "b7a7c441");
myMenu_cm = new ContextMenu();
myMenu_cm.hideBuiltInItems();
newItem1_cmi = new ContextMenuItem("© Polymer Rabbit", true, true, true);
webby = new URLRequest("http://www.polymerrabbit.com");
myMenu_cm.customItems.push(newItem1_cmi);
newItem1_cmi.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, contactPage);
this.contextMenu = myMenu_cm;
gamePaused = true;
inIntro = false;
waveLoaded = false;
waveTimer = 0;
levelNumber = 0;
currentWave = 0;
currentEnemy = 0;
endOfLevel = false;
endTicks = 0;
playerDead = false;
deadTicks = 0;
slowMo = false;
shakeTicks = 0;
shieldType = 0;
playerType = 1;
playerInput = 1;
currentWeapon = 0;
weaponMax = 1;
weaponDelay = 6;
weaponDelay_Ticks = 0;
moveDelay = false;
playerFlash = 0;
weaponDamage = 0;
playerHealth = 0;
playerHealthMax = 0;
playerAdd = 0;
playerScore = 0;
playerLives = 0;
playerMoney = 0;
scoreMultTicks = 0;
scoreMult = 1;
wingType = 0;
wingLevel = 1;
laserTicks = 0;
laserDelay = 100;
bossLoaded = false;
bossMode = false;
bossTicks = 0;
slowStars = false;
bossHealth = 0;
bossHealthMax = 0;
bossWeapon = 0;
bossTime = 0;
bossPath = 0;
addMode = 0;
addOn = false;
bonusOn = false;
bonusTicks = 0;
bonusType = 0;
card_Armour = 0;
card_Damage = 0;
card_Speed = 0;
card_Health = false;
card_Add = false;
card_Money = false;
card_Luck = false;
card_Weapon = false;
newMoney = 0;
cardHpTicks = 0;
buttonDelay = 0;
inCard_Menu = false;
slotSelected = false;
cardSelected = false;
typeSelected = 0;
levelSelected = 0;
selectedCost = 0;
selectedSlot = 0;
muted = false;
musicMuted = false;
gameQ = 2;
boomCount = 0;
boomTicks = 0;
player_Rad_Small = ((8 * 8) + (8 * 8));
player_Rad_Small_S = Math.sqrt(player_Rad_Small);
player_Rad_Large = ((11 * 11) + (11 * 11));
player_Rad_Large_S = Math.sqrt(player_Rad_Large);
shield_Rad_Small = ((28 * 28) + (28 * 28));
shield_Rad_Small_S = Math.sqrt(player_Rad_Small);
shield_Rad_Large = ((20 * 20) + (20 * 20));
shield_Rad_Large_S = Math.sqrt(player_Rad_Large);
bonus_Rad = ((50 * 50) + (50 * 50));
degToRad = (Math.PI / 180);
radToDeg = (180 / Math.PI);
enemyClip = new MovieClip();
enemyClip.x = 0;
enemyClip.y = 0;
eBulletClip = new MovieClip();
eBulletClip.x = 0;
eBulletClip.y = 0;
pBulletClip = new MovieClip();
pBulletClip.x = 0;
pBulletClip.y = 0;
starClip = new MovieClip();
starClip.x = 0;
starClip.y = 0;
fxClip = new MovieClip();
fxClip.x = 0;
fxClip.y = 0;
bonusClip = new MovieClip();
bonusClip.x = 0;
bonusClip.y = 0;
wing_Laser = new wingLaser();
wing_Rocket = new wingRocket();
wingFx = new MovieClip();
wingFx.x = 0;
wingFx.y = 0;
lasers = wingFx.graphics;
glowF = new GlowFilter(0xFF00FF, 1, 6, 6, 3, 3);
playerDot = new testStar();
playerDot.width = 4;
playerDot.height = 4;
player_1 = new playerJag();
player_2 = new playerTec();
player_3 = new playerOrg();
theHud = new hud();
enemies = [];
enemies_Splice = [];
enemiesOff = 0;
e_Bullets = [];
e_Bullets_Splice = [];
e_BulletsOff = 0;
p_Bullets = [];
p_Bullets_Splice = [];
p_BulletsOff = 0;
pWeps = [];
rockets = [];
rockets_Splice = [];
rocketsOff = 0;
stars = [];
boss = [];
bonus = [];
bonus_Splice = [];
bonusOff = 0;
fx = [];
fx_Splice = [];
fxOff = 0;
slots = [[0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0]];
slotData = [[[1, 1, 5000], [1, 2, 49000], [1, 3, 120000], [1, 4, 330000], [1, 5, 600000], [2, 1, 22000], [2, 2, 35000], [2, 3, 90000], [2, 4, 290000], [2, 5, 560000]], [[3, 1, 6000], [3, 2, 52000], [3, 3, 190000], [3, 4, 420000], [3, 5, 650000], [4, 1, 20000], [4, 2, 0x7D00], [4, 3, 84000], [4, 4, 260000], [4, 5, 440000]], [[6, 0, 2300], [7, 0, 2600], [8, 0, 5866], [9, 0, 17000], [10, 0, 111000], [5, 1, 18000], [5, 2, 30000], [5, 3, 80000], [5, 4, 230000], [5, 5, 400000]]];
slotFade = [[[0], [0], [0], [0], [0], [0], [0], [0], [0], [0]], [[0], [0], [0], [0], [0], [0], [0], [0], [0], [0]], [[0], [0], [0], [0], [0], [0], [0], [0], [0], [0]]];
cardDetails = ["Empty Slot", "More damage: Destroy your foes quicker.", "Heavier shields: Stay alive longer.", "Reload Speed: Essential card, kill much more effectively.", "Laser Wingmen: Two Wingmen to aid you with devastating lasers.", "Rocket Wingmen: Launch a barrage of precision homing missiles.", "Addrenaline Booster: Space age energy drink. More addrenaline per kill.", "Repair Robots: Automatically replenishes you shields over time.", "Gambler: A small chance to double your earnings each mission.", "Money Increase: Earn more money per coin collected.", "Weapon Enhancer: Your weapon is permanantly one level higher."];
boss_9 = [250, 150, 350000, [[250, 90, 11250], [180, 90, 11250], [320, 90, 11250]], [[50, 3, 95, 5, 0, 50], [0, 3, 100, 5, 0, 50], [0, 3, 105, 5, 0, 50], [0, 3, 110, 5, 0, 50], [0, 3, 115, 5, 0, 50], [0, 3, 120, 5, 0, 50], [0, 3, 85, 5, 0, 50], [0, 3, 80, 5, 0, 50], [0, 3, 75, 5, 0, 50], [0, 3, 70, 5, 0, 50], [0, 3, 65, 5, 0, 50], [0, 3, 60, 5, 0, 50], [15, 4, 100, 4, -35, 60], [0, 4, 105, 4, -35, 60], [0, 4, 110, 4, -35, 60], [0, 4, 115, 4, -35, 60], [0, 4, 120, 4, -35, 60], [0, 4, 80, 4, -35, 60], [0, 4, 75, 4, -35, 60], [0, 4, 70, 4, -35, 60], [0, 4, 65, 4, -35, 60], [0, 4, 60, 4, -35, 60], [0, 4, 100, 4, 35, 60], [0, 4, 105, 4, 35, 60], [0, 4, 110, 4, 35, 60], [0, 4, 115, 4, 35, 60], [0, 4, 120, 4, 35, 60], [0, 4, 80, 4, 35, 60], [0, 4, 75, 4, 35, 60], [0, 4, 70, 4, 35, 60], [0, 4, 65, 4, 35, 60], [0, 4, 60, 4, 35, 60], [10, 4, 0, 6, 70, 65], [0, 4, 180, 6, 60, 55], [0, 4, 90, 6, 80, 55], [0, 4, -90, 6, 70, 45], [10, 4, 0, 6, -70, 65], [0, 4, 180, 6, -80, 55], [0, 4, 90, 6, -60, 55], [0, 4, -90, 6, -70, 45], [8, 4, 0, 6, 70, 65], [0, 4, 180, 6, 60, 55], [0, 4, 90, 6, 80, 55], [0, 4, -90, 6, 70, 45], [8, 4, 0, 6, -70, 65], [0, 4, 180, 6, -80, 55], [0, 4, 90, 6, -60, 55], [0, 4, -90, 6, -70, 45], [6, 4, 0, 6, 70, 65], [0, 4, 180, 6, 60, 55], [0, 4, 90, 6, 80, 55], [0, 4, -90, 6, 70, 45], [6, 4, 0, 6, -70, 65], [0, 4, 180, 6, -80, 55], [0, 4, 90, 6, -60, 55], [0, 4, -90, 6, -70, 45], [4, 4, 0, 6, 70, 65], [0, 4, 180, 6, 60, 55], [0, 4, 90, 6, 80, 55], [0, 4, -90, 6, 70, 45], [4, 4, 0, 6, -70, 65], [0, 4, 180, 6, -80, 55], [0, 4, 90, 6, -60, 55], [0, 4, -90, 6, -70, 45], [2, 4, 0, 6, 70, 65], [0, 4, 180, 6, 60, 55], [0, 4, 90, 6, 80, 55], [0, 4, -90, 6, 70, 45], [2, 4, 0, 6, -70, 65], [0, 4, 180, 6, -80, 55], [0, 4, 90, 6, -60, 55], [0, 4, -90, 6, -70, 45], [2, 4, -10, 6, 70, 65], [0, 4, 170, 6, 60, 55], [0, 4, 80, 6, 80, 55], [0, 4, -100, 6, 70, 45], [2, 4, -10, 6, -70, 65], [0, 4, 170, 6, -80, 55], [0, 4, 80, 6, -60, 55], [0, 4, -100, 6, -70, 45], [2, 4, -20, 6, 70, 65], [0, 4, 160, 6, 60, 55], [0, 4, 70, 6, 80, 55], [0, 4, -110, 6, 70, 45], [2, 4, -20, 6, -70, 65], [0, 4, 160, 6, -80, 55], [0, 4, 70, 6, -60, 55], [0, 4, -110, 6, -70, 45], [2, 4, -30, 6, 70, 65], [0, 4, 150, 6, 60, 55], [0, 4, 60, 6, 80, 55], [0, 4, -120, 6, 70, 45], [2, 4, -30, 6, -70, 65], [0, 4, 150, 6, -80, 55], [0, 4, 60, 6, -60, 55], [0, 4, -120, 6, -70, 45], [2, 4, -40, 6, 70, 65], [0, 4, 140, 6, 60, 55], [0, 4, 50, 6, 80, 55], [0, 4, -130, 6, 70, 45], [2, 4, -40, 6, -70, 65], [0, 4, 140, 6, -80, 55], [0, 4, 50, 6, -60, 55], [0, 4, -130, 6, -70, 45], [2, 4, -50, 6, 70, 65], [0, 4, 130, 6, 60, 55], [0, 4, 40, 6, 80, 55], [0, 4, -140, 6, 70, 45], [2, 4, -50, 6, -70, 65], [0, 4, 130, 6, -80, 55], [0, 4, 40, 6, -60, 55], [0, 4, -140, 6, -70, 45], [2, 4, -60, 6, 70, 65], [0, 4, 130, 6, 60, 55], [0, 4, 40, 6, 80, 55], [0, 4, -150, 6, 70, 45], [2, 4, -60, 6, -70, 65], [0, 4, 130, 6, -80, 55], [0, 4, 40, 6, -60, 55], [0, 4, -150, 6, -70, 45], [2, 4, -70, 6, 70, 65], [0, 4, 120, 6, 60, 55], [0, 4, 30, 6, 80, 55], [0, 4, -160, 6, 70, 45], [2, 4, -70, 6, -70, 65], [0, 4, 120, 6, -80, 55], [0, 4, 30, 6, -60, 55], [0, 4, -160, 6, -70, 45], [2, 4, -80, 6, 70, 65], [0, 4, 110, 6, 60, 55], [0, 4, 30, 6, 80, 55], [0, 4, -170, 6, 70, 45], [2, 4, -80, 6, -70, 65], [0, 4, 110, 6, -80, 55], [0, 4, 30, 6, -60, 55], [0, 4, -170, 6, -70, 45], [2, 4, -90, 6, 70, 65], [0, 4, 100, 6, 60, 55], [0, 4, 20, 6, 80, 55], [0, 4, -170, 6, 70, 45], [2, 4, -90, 6, -70, 65], [0, 4, 100, 6, -80, 55], [0, 4, 20, 6, -60, 55], [0, 4, -170, 6, -70, 45], [2, 4, -100, 6, 70, 65], [0, 4, 90, 6, 60, 55], [0, 4, 10, 6, 80, 55], [0, 4, -180, 6, 70, 45], [2, 4, -100, 6, -70, 65], [0, 4, 90, 6, -80, 55], [0, 4, 10, 6, -60, 55], [0, 4, -180, 6, -70, 45], [2, 4, -110, 6, 70, 65], [0, 4, 80, 6, 60, 55], [0, 4, 0, 6, 80, 55], [0, 4, 170, 6, 70, 45], [2, 4, -110, 6, -70, 65], [0, 4, 80, 6, -80, 55], [0, 4, 0, 6, -60, 55], [0, 4, 170, 6, -70, 45], [2, 4, -120, 6, 70, 65], [0, 4, 70, 6, 60, 55], [0, 4, -10, 6, 80, 55], [0, 4, 160, 6, 70, 45], [2, 4, -120, 6, -70, 65], [0, 4, 70, 6, -80, 55], [0, 4, -10, 6, -60, 55], [0, 4, 160, 6, -70, 45], [2, 4, -130, 6, 70, 65], [0, 4, 60, 6, 60, 55], [0, 4, -20, 6, 80, 55], [0, 4, 150, 6, 70, 45], [2, 4, -130, 6, -70, 65], [0, 4, 60, 6, -80, 55], [0, 4, -20, 6, -60, 55], [0, 4, 150, 6, -70, 45], [2, 4, -140, 6, 70, 65], [0, 4, 50, 6, 60, 55], [0, 4, -30, 6, 80, 55], [0, 4, 140, 6, 70, 45], [2, 4, -140, 6, -70, 65], [0, 4, 50, 6, -80, 55], [0, 4, -30, 6, -60, 55], [0, 4, 140, 6, -70, 45], [2, 4, -150, 6, 70, 65], [0, 4, 40, 6, 60, 55], [0, 4, -40, 6, 80, 55], [0, 4, 130, 6, 70, 45], [2, 4, -150, 6, -70, 65], [0, 4, 40, 6, -80, 55], [0, 4, -40, 6, -60, 55], [0, 4, 130, 6, -70, 45], [2, 4, -160, 6, 70, 65], [0, 4, 30, 6, 60, 55], [0, 4, -50, 6, 80, 55], [0, 4, 120, 6, 70, 45], [2, 4, -160, 6, -70, 65], [0, 4, 30, 6, -80, 55], [0, 4, -50, 6, -60, 55], [0, 4, 120, 6, -70, 45], [2, 4, -170, 6, 70, 65], [0, 4, 20, 6, 60, 55], [0, 4, -60, 6, 80, 55], [0, 4, 110, 6, 70, 45], [2, 4, -170, 6, -70, 65], [0, 4, 20, 6, -80, 55], [0, 4, -60, 6, -60, 55], [0, 4, 110, 6, -70, 45], [2, 4, -180, 6, 70, 65], [0, 4, 10, 6, 60, 55], [0, 4, -60, 6, 80, 55], [0, 4, 100, 6, 70, 45], [2, 4, -180, 6, -70, 65], [0, 4, 10, 6, -80, 55], [0, 4, -60, 6, -60, 55], [0, 4, 100, 6, -70, 45], [2, 4, 0, 6, 70, 65], [0, 4, 180, 6, 60, 55], [0, 4, 90, 6, 80, 55], [0, 4, -90, 6, 70, 45], [2, 4, 0, 6, -70, 65], [0, 4, 180, 6, -80, 55], [0, 4, 90, 6, -60, 55], [0, 4, -90, 6, -70, 45], [2, 4, -10, 6, 70, 65], [0, 4, 170, 6, 60, 55], [0, 4, 80, 6, 80, 55], [0, 4, -100, 6, 70, 45], [2, 4, -10, 6, -70, 65], [0, 4, 170, 6, -80, 55], [0, 4, 80, 6, -60, 55], [0, 4, -100, 6, -70, 45], [2, 4, -20, 6, 70, 65], [0, 4, 160, 6, 60, 55], [0, 4, 70, 6, 80, 55], [0, 4, -110, 6, 70, 45], [2, 4, -20, 6, -70, 65], [0, 4, 160, 6, -80, 55], [0, 4, 70, 6, -60, 55], [0, 4, -110, 6, -70, 45], [2, 4, -30, 6, 70, 65], [0, 4, 150, 6, 60, 55], [0, 4, 60, 6, 80, 55], [0, 4, -120, 6, 70, 45], [2, 4, -30, 6, -70, 65], [0, 4, 150, 6, -80, 55], [0, 4, 60, 6, -60, 55], [0, 4, -120, 6, -70, 45], [2, 4, -40, 6, 70, 65], [0, 4, 140, 6, 60, 55], [0, 4, 50, 6, 80, 55], [0, 4, -130, 6, 70, 45], [2, 4, -40, 6, -70, 65], [0, 4, 140, 6, -80, 55], [0, 4, 50, 6, -60, 55], [0, 4, -130, 6, -70, 45], [2, 4, -50, 6, 70, 65], [0, 4, 130, 6, 60, 55], [0, 4, 40, 6, 80, 55], [0, 4, -140, 6, 70, 45], [2, 4, -50, 6, -70, 65], [0, 4, 130, 6, -80, 55], [0, 4, 40, 6, -60, 55], [0, 4, -140, 6, -70, 45], [2, 4, -60, 6, 70, 65], [0, 4, 130, 6, 60, 55], [0, 4, 40, 6, 80, 55], [0, 4, -150, 6, 70, 45], [2, 4, -60, 6, -70, 65], [0, 4, 130, 6, -80, 55], [0, 4, 40, 6, -60, 55], [0, 4, -150, 6, -70, 45], [2, 4, -70, 6, 70, 65], [0, 4, 120, 6, 60, 55], [0, 4, 30, 6, 80, 55], [0, 4, -160, 6, 70, 45], [2, 4, -70, 6, -70, 65], [0, 4, 120, 6, -80, 55], [0, 4, 30, 6, -60, 55], [0, 4, -160, 6, -70, 45], [2, 4, -80, 6, 70, 65], [0, 4, 110, 6, 60, 55], [0, 4, 30, 6, 80, 55], [0, 4, -170, 6, 70, 45], [2, 4, -80, 6, -70, 65], [0, 4, 110, 6, -80, 55], [0, 4, 30, 6, -60, 55], [0, 4, -170, 6, -70, 45], [2, 4, -90, 6, 70, 65], [0, 4, 100, 6, 60, 55], [0, 4, 20, 6, 80, 55], [0, 4, -170, 6, 70, 45], [2, 4, -90, 6, -70, 65], [0, 4, 100, 6, -80, 55], [0, 4, 20, 6, -60, 55], [0, 4, -170, 6, -70, 45], [2, 4, -100, 6, 70, 65], [0, 4, 90, 6, 60, 55], [0, 4, 10, 6, 80, 55], [0, 4, -180, 6, 70, 45], [2, 4, -100, 6, -70, 65], [0, 4, 90, 6, -80, 55], [0, 4, 10, 6, -60, 55], [0, 4, -180, 6, -70, 45], [2, 4, -110, 6, 70, 65], [0, 4, 80, 6, 60, 55], [0, 4, 0, 6, 80, 55], [0, 4, 170, 6, 70, 45], [2, 4, -110, 6, -70, 65], [0, 4, 80, 6, -80, 55], [0, 4, 0, 6, -60, 55], [0, 4, 170, 6, -70, 45], [2, 4, -120, 6, 70, 65], [0, 4, 70, 6, 60, 55], [0, 4, -10, 6, 80, 55], [0, 4, 160, 6, 70, 45], [2, 4, -120, 6, -70, 65], [0, 4, 70, 6, -80, 55], [0, 4, -10, 6, -60, 55], [0, 4, 160, 6, -70, 45], [2, 4, -130, 6, 70, 65], [0, 4, 60, 6, 60, 55], [0, 4, -20, 6, 80, 55], [0, 4, 150, 6, 70, 45], [2, 4, -130, 6, -70, 65], [0, 4, 60, 6, -80, 55], [0, 4, -20, 6, -60, 55], [0, 4, 150, 6, -70, 45], [2, 4, -140, 6, 70, 65], [0, 4, 50, 6, 60, 55], [0, 4, -30, 6, 80, 55], [0, 4, 140, 6, 70, 45], [2, 4, -140, 6, -70, 65], [0, 4, 50, 6, -80, 55], [0, 4, -30, 6, -60, 55], [0, 4, 140, 6, -70, 45], [2, 4, -150, 6, 70, 65], [0, 4, 40, 6, 60, 55], [0, 4, -40, 6, 80, 55], [0, 4, 130, 6, 70, 45], [2, 4, -150, 6, -70, 65], [0, 4, 40, 6, -80, 55], [0, 4, -40, 6, -60, 55], [0, 4, 130, 6, -70, 45], [2, 4, -160, 6, 70, 65], [0, 4, 30, 6, 60, 55], [0, 4, -50, 6, 80, 55], [0, 4, 120, 6, 70, 45], [2, 4, -160, 6, -70, 65], [0, 4, 30, 6, -80, 55], [0, 4, -50, 6, -60, 55], [0, 4, 120, 6, -70, 45], [2, 4, -170, 6, 70, 65], [0, 4, 20, 6, 60, 55], [0, 4, -60, 6, 80, 55], [0, 4, 110, 6, 70, 45], [2, 4, -170, 6, -70, 65], [0, 4, 20, 6, -80, 55], [0, 4, -60, 6, -60, 55], [0, 4, 110, 6, -70, 45], [2, 4, -180, 6, 70, 65], [0, 4, 10, 6, 60, 55], [0, 4, -60, 6, 80, 55], [0, 4, 100, 6, 70, 45], [2, 4, -180, 6, -70, 65], [0, 4, 10, 6, -80, 55], [0, 4, -60, 6, -60, 55], [0, 4, 100, 6, -70, 45], [25, 1, 0, 6, 70, 55], [0, 1, 10, 6, 70, 55], [0, 1, 20, 6, 70, 55], [0, 1, 30, 6, 70, 55], [0, 1, 40, 6, 70, 55], [0, 1, 50, 6, 70, 55], [0, 1, 60, 6, 70, 55], [0, 1, 70, 6, 70, 55], [0, 1, 80, 6, 70, 55], [0, 1, 90, 6, 70, 55], [0, 1, 100, 6, 70, 55], [0, 1, 110, 6, 70, 55], [0, 1, 120, 6, 70, 55], [0, 1, 130, 6, 70, 55], [0, 1, 140, 6, 70, 55], [0, 1, 150, 6, 70, 55], [0, 1, 160, 6, 70, 55], [0, 1, 170, 6, 70, 55], [0, 1, 180, 6, 70, 55], [0, 1, -10, 6, 70, 55], [0, 1, -20, 6, 70, 55], [0, 1, -30, 6, 70, 55], [0, 1, -40, 6, 70, 55], [0, 1, -50, 6, 70, 55], [0, 1, -60, 6, 70, 55], [0, 1, -70, 6, 70, 55], [0, 1, -80, 6, 70, 55], [0, 1, -90, 6, 70, 55], [0, 1, -100, 6, 70, 55], [0, 1, -110, 6, 70, 55], [0, 1, -120, 6, 70, 55], [0, 1, -130, 6, 70, 55], [0, 1, -140, 6, 70, 55], [0, 1, -150, 6, 70, 55], [0, 1, -160, 6, 70, 55], [0, 1, -170, 6, 70, 55], [0, 1, 0, 6, -70, 55], [0, 1, 10, 6, -70, 55], [0, 1, 20, 6, -70, 55], [0, 1, 30, 6, -70, 55], [0, 1, 40, 6, -70, 55], [0, 1, 50, 6, -70, 55], [0, 1, 60, 6, -70, 55], [0, 1, 70, 6, -70, 55], [0, 1, 80, 6, -70, 55], [0, 1, 90, 6, -70, 55], [0, 1, 100, 6, -70, 55], [0, 1, 110, 6, -70, 55], [0, 1, 120, 6, -70, 55], [0, 1, 130, 6, -70, 55], [0, 1, 140, 6, -70, 55], [0, 1, 150, 6, -70, 55], [0, 1, 160, 6, -70, 55], [0, 1, 170, 6, -70, 55], [0, 1, 180, 6, -70, 55], [0, 1, -10, 6, -70, 55], [0, 1, -20, 6, -70, 55], [0, 1, -30, 6, -70, 55], [0, 1, -40, 6, -70, 55], [0, 1, -50, 6, -70, 55], [0, 1, -60, 6, -70, 55], [0, 1, -70, 6, -70, 55], [0, 1, -80, 6, -70, 55], [0, 1, -90, 6, -70, 55], [0, 1, -100, 6, -70, 55], [0, 1, -110, 6, -70, 55], [0, 1, -120, 6, -70, 55], [0, 1, -130, 6, -70, 55], [0, 1, -140, 6, -70, 55], [0, 1, -150, 6, -70, 55], [0, 1, -160, 6, -70, 55], [0, 1, -170, 6, -70, 55], [25, 1, 0, 6, 35, 55], [0, 1, 10, 6, 35, 55], [0, 1, 20, 6, 35, 55], [0, 1, 30, 6, 35, 55], [0, 1, 40, 6, 35, 55], [0, 1, 50, 6, 35, 55], [0, 1, 60, 6, 35, 55], [0, 1, 70, 6, 35, 55], [0, 1, 80, 6, 35, 55], [0, 1, 90, 6, 35, 55], [0, 1, 100, 6, 35, 55], [0, 1, 110, 6, 35, 55], [0, 1, 120, 6, 35, 55], [0, 1, 130, 6, 35, 55], [0, 1, 140, 6, 35, 55], [0, 1, 150, 6, 35, 55], [0, 1, 160, 6, 35, 55], [0, 1, 170, 6, 35, 55], [0, 1, 180, 6, 35, 55], [0, 1, -10, 6, 35, 55], [0, 1, -20, 6, 35, 55], [0, 1, -30, 6, 35, 55], [0, 1, -40, 6, 35, 55], [0, 1, -50, 6, 35, 55], [0, 1, -60, 6, 35, 55], [0, 1, -70, 6, 35, 55], [0, 1, -80, 6, 35, 55], [0, 1, -90, 6, 35, 55], [0, 1, -100, 6, 35, 55], [0, 1, -110, 6, 35, 55], [0, 1, -120, 6, 35, 55], [0, 1, -130, 6, 35, 55], [0, 1, -140, 6, 35, 55], [0, 1, -150, 6, 35, 55], [0, 1, -160, 6, 35, 55], [0, 1, 0, 6, -35, 55], [0, 1, 10, 6, -35, 55], [0, 1, 20, 6, -35, 55], [0, 1, 30, 6, -35, 55], [0, 1, 40, 6, -35, 55], [0, 1, 50, 6, -35, 55], [0, 1, 60, 6, -35, 55], [0, 1, 70, 6, -35, 55], [0, 1, 80, 6, -35, 55], [0, 1, 90, 6, -35, 55], [0, 1, 100, 6, -35, 55], [0, 1, 110, 6, -35, 55], [0, 1, 120, 6, -35, 55], [0, 1, 130, 6, -35, 55], [0, 1, 140, 6, -35, 55], [0, 1, 150, 6, -35, 55], [0, 1, 160, 6, -35, 55], [0, 1, 170, 6, -35, 55], [0, 1, 180, 6, -35, 55], [0, 1, -10, 6, -35, 55], [0, 1, -20, 6, -35, 55], [0, 1, -30, 6, -35, 55], [0, 1, -40, 6, -35, 55], [0, 1, -50, 6, -35, 55], [0, 1, -60, 6, -35, 55], [0, 1, -70, 6, -35, 55], [0, 1, -80, 6, -35, 55], [0, 1, -90, 6, -35, 55], [0, 1, -100, 6, -35, 55], [0, 1, -110, 6, -35, 55], [0, 1, -120, 6, -35, 55], [0, 1, -130, 6, -35, 55], [0, 1, -140, 6, -35, 55], [0, 1, -150, 6, -35, 55], [0, 1, -160, 6, -35, 55], [25, 1, 0, 6, 0, 50], [0, 1, 10, 6, 0, 50], [0, 1, 20, 6, 0, 50], [0, 1, 30, 6, 0, 50], [0, 1, 40, 6, 0, 50], [0, 1, 50, 6, 0, 50], [0, 1, 60, 6, 0, 50], [0, 1, 70, 6, 0, 50], [0, 1, 80, 6, 0, 50], [0, 1, 90, 6, 0, 50], [0, 1, 100, 6, 0, 50], [0, 1, 110, 6, 0, 50], [0, 1, 120, 6, 0, 50], [0, 1, 130, 6, 0, 50], [0, 1, 140, 6, 0, 50], [0, 1, 150, 6, 0, 50], [0, 1, 160, 6, 0, 50], [0, 1, 170, 6, 0, 50], [0, 1, 180, 6, 0, 50], [0, 1, -10, 6, 0, 50], [0, 1, -20, 6, 0, 50], [0, 1, -30, 6, 0, 50], [0, 1, -40, 6, 0, 50], [0, 1, -50, 6, 0, 50], [0, 1, -60, 6, 0, 50], [0, 1, -70, 6, 0, 50], [0, 1, -80, 6, 0, 50], [0, 1, -90, 6, 0, 50], [0, 1, -100, 6, 0, 50], [0, 1, -110, 6, 0, 50], [0, 1, -120, 6, 0, 50], [0, 1, -130, 6, 0, 50], [0, 1, -140, 6, 0, 50], [0, 1, -150, 6, 0, 50], [0, 1, -160, 6, 0, 50], [0, 1, -170, 6, 0, 50], [40, 1, 94, 7, 0, 50], [1, 1, 82, 7, 35, 60], [0, 1, 92, 7, -35, 60], [3, 1, 83, 7, 70, 55], [0, 1, 91, 7, -70, 55], [1, 1, 81, 7, 70, 55], [0, 1, 95, 7, 35, 60], [3, 1, 93, 7, 70, 55], [0, 1, 88, 7, 35, 60], [1, 1, 92, 7, 0, 50], [0, 1, 83, 7, -70, 55], [3, 1, 95, 7, 35, 60], [0, 1, 83, 7, 70, 55], [1, 1, 91, 7, 35, 60], [0, 1, 84, 7, 0, 50], [3, 1, 96, 7, -35, 60], [0, 1, 85, 7, 70, 55], [1, 1, 92, 7, 35, 60], [0, 1, 82, 7, 0, 50], [3, 1, 93, 7, -70, 55], [0, 1, 80, 7, -35, 60], [1, 1, 95, 7, 70, 55], [0, 1, 85, 7, 35, 60], [3, 1, 96, 7, 0, 50], [0, 1, 82, 7, -70, 55], [1, 1, 92, 7, 35, 60], [0, 1, 81, 7, -70, 55], [3, 1, 91, 7, 70, 55], [0, 1, 80, 7, 35, 60], [1, 1, 95, 7, 70, 55], [0, 1, 89, 7, 35, 60], [3, 1, 97, 7, 0, 50], [0, 1, 82, 7, -70, 55], [1, 2, 0, 3, 40, 60], [0, 2, 0, 3, -40, 60], [1, 1, 10, 4, 40, 60], [0, 1, 10, 4, -40, 60], [1, 2, 20, 3, 40, 60], [0, 2, 20, 3, -40, 60], [1, 1, 30, 4, 40, 60], [0, 1, 30, 4, -40, 60], [1, 2, 40, 3, 40, 60], [0, 2, 40, 3, -40, 60], [1, 1, 50, 4, 40, 60], [0, 1, 50, 4, -40, 60], [1, 2, 60, 3, 40, 60], [0, 2, 60, 3, -40, 60], [1, 1, 70, 4, 40, 60], [0, 1, 70, 4, -40, 60], [1, 2, 80, 3, 40, 60], [0, 2, 80, 3, -40, 60], [1, 1, 90, 4, 40, 60], [0, 1, 90, 4, -40, 60], [1, 2, 100, 3, 40, 60], [0, 2, 100, 3, -40, 60], [1, 1, 110, 4, 40, 60], [0, 1, 110, 4, -40, 60], [1, 2, 120, 3, 40, 60], [0, 2, 120, 3, -40, 60], [1, 1, 130, 4, 40, 60], [0, 1, 130, 4, -40, 60], [1, 2, 140, 3, 40, 60], [0, 2, 140, 3, -40, 60], [1, 1, 150, 4, 40, 60], [0, 1, 150, 4, -40, 60], [1, 2, 160, 3, 40, 60], [0, 2, 160, 3, -40, 60], [1, 1, 170, 4, 40, 60], [0, 1, 170, 4, -40, 60], [1, 2, 180, 3, 40, 60], [0, 2, 180, 3, -40, 60], [5, 2, 0, 3, 70, 55], [0, 2, 0, 3, -70, 55], [1, 1, 10, 4, 70, 55], [0, 1, 10, 4, -70, 55], [1, 2, 20, 3, 70, 55], [0, 2, 20, 3, -70, 55], [1, 1, 30, 4, 70, 55], [0, 1, 30, 4, -70, 55], [1, 2, 40, 3, 70, 55], [0, 2, 40, 3, -70, 35], [1, 1, 50, 4, 70, 55], [0, 1, 50, 4, -70, 55], [1, 2, 60, 3, 70, 55], [0, 2, 60, 3, -70, 55], [1, 1, 70, 4, 70, 55], [0, 1, 70, 4, -70, 55], [1, 2, 80, 3, 70, 55], [0, 2, 80, 3, -70, 55], [1, 1, 90, 4, 70, 55], [0, 1, 90, 4, -70, 55], [1, 2, 100, 3, 70, 55], [0, 2, 100, 3, -70, 55], [1, 1, 110, 4, 70, 55], [0, 1, 110, 4, -70, 55], [1, 2, 120, 3, 70, 55], [0, 2, 120, 3, -70, 55], [1, 1, 130, 4, 70, 55], [0, 1, 130, 4, -70, 55], [1, 2, 140, 3, 70, 55], [0, 2, 140, 3, -70, 55], [1, 1, 150, 4, 70, 55], [0, 1, 150, 4, -70, 55], [1, 2, 160, 3, 70, 55], [0, 2, 160, 3, -70, 55], [1, 1, 170, 4, 70, 55], [0, 1, 170, 4, -70, 55], [1, 2, 180, 3, 70, 55], [0, 2, 180, 3, -70, 55], [10, 3, 0, 6, 0, 50], [0, 4, 10, 6, 0, 50], [0, 3, 20, 6, 0, 50], [0, 4, 30, 6, 0, 50], [0, 3, 40, 6, 0, 50], [0, 4, 50, 6, 0, 50], [0, 3, 60, 6, 0, 50], [0, 4, 70, 6, 0, 50], [0, 3, 80, 6, 0, 50], [0, 4, 90, 6, 0, 50], [0, 3, 100, 6, 0, 50], [0, 4, 110, 6, 0, 50], [0, 3, 120, 6, 0, 50], [0, 4, 130, 6, 0, 50], [0, 3, 140, 6, 0, 50], [0, 4, 150, 6, 0, 50], [0, 3, 160, 6, 0, 50], [0, 4, 170, 6, 0, 50], [0, 3, 180, 6, 0, 50], [0, 4, -10, 6, 0, 50], [0, 3, -20, 6, 0, 50], [0, 4, -30, 6, 0, 50], [0, 3, -40, 6, 0, 50], [0, 4, -50, 6, 0, 50], [0, 3, -60, 6, 0, 50], [0, 4, -70, 6, 0, 50], [0, 3, -80, 6, 0, 50], [0, 4, -90, 6, 0, 50], [0, 3, -100, 6, 0, 50], [0, 4, -110, 6, 0, 50], [0, 3, -120, 6, 0, 50], [0, 4, -130, 6, 0, 50], [0, 3, -140, 6, 0, 50], [0, 4, -150, 6, 0, 50], [0, 3, -160, 6, 0, 50], [0, 4, -170, 6, 0, 50], [10, 3, 5, 6, 0, 50], [0, 4, 15, 6, 0, 50], [0, 3, 25, 6, 0, 50], [0, 4, 35, 6, 0, 50], [0, 3, 45, 6, 0, 50], [0, 4, 55, 6, 0, 50], [0, 3, 65, 6, 0, 50], [0, 4, 75, 6, 0, 50], [0, 3, 85, 6, 0, 50], [0, 4, 95, 6, 0, 50], [0, 3, 105, 6, 0, 50], [0, 4, 115, 6, 0, 50], [0, 3, 125, 6, 0, 50], [0, 4, 135, 6, 0, 50], [0, 3, 145, 6, 0, 50], [0, 4, 155, 6, 0, 50], [0, 3, 165, 6, 0, 50], [0, 4, 175, 6, 0, 50], [0, 3, 185, 6, 0, 50], [0, 4, -15, 6, 0, 50], [0, 3, -25, 6, 0, 50], [0, 4, -35, 6, 0, 50], [0, 3, -45, 6, 0, 50], [0, 4, -55, 6, 0, 50], [0, 3, -65, 6, 0, 50], [0, 4, -75, 6, 0, 50], [0, 3, -85, 6, 0, 50], [0, 4, -95, 6, 0, 50], [0, 3, -105, 6, 0, 50], [0, 4, -115, 6, 0, 50], [0, 3, -125, 6, 0, 50], [0, 4, -135, 6, 0, 50], [0, 3, -145, 6, 0, 50], [0, 4, -155, 6, 0, 50], [0, 3, -165, 6, 0, 50], [0, 4, -175, 6, 0, 50], [50, 4, 104, 7, 0, 50], [1, 4, 72, 7, 35, 60], [0, 4, 102, 7, -35, 60], [3, 4, 73, 7, 70, 55], [0, 4, 101, 7, -70, 55], [1, 4, 71, 7, 70, 55], [0, 4, 105, 7, 35, 60], [3, 4, 93, 7, 70, 55], [0, 4, 78, 7, 35, 60], [1, 4, 102, 7, 0, 50], [0, 4, 73, 7, -70, 55], [3, 4, 105, 7, 35, 60], [0, 4, 73, 7, 70, 55], [1, 4, 101, 7, 35, 60], [0, 4, 74, 7, 0, 50], [3, 4, 106, 7, -35, 60], [0, 4, 75, 7, 70, 55], [1, 4, 102, 7, 35, 60], [0, 4, 72, 7, 0, 50], [3, 4, 103, 7, -70, 55], [0, 4, 70, 7, -35, 60], [1, 4, 105, 7, 70, 55], [0, 4, 75, 7, 35, 60], [3, 4, 106, 7, 0, 50], [0, 4, 72, 7, -70, 55], [1, 4, 102, 7, 35, 60], [0, 4, 71, 7, -70, 55], [3, 4, 101, 7, 70, 55], [0, 4, 70, 7, 35, 60], [1, 4, 105, 7, 70, 55], [0, 4, 79, 7, 35, 60], [3, 4, 107, 7, 0, 50], [0, 4, 102, 7, -70, 55]]];
boss_8 = [250, 100, 250000, [[250, 100, 11250], [210, 35, 800], [290, 35, 800], [210, 170, 800], [290, 170, 800], [175, 100, 800], [325, 100, 800]], [[25, 1, 0, 6, 0, 0], [0, 1, 10, 6, 0, 0], [0, 1, 20, 6, 0, 0], [0, 1, 30, 6, 0, 0], [0, 1, 40, 6, 0, 0], [0, 1, 50, 6, 0, 0], [0, 1, 60, 6, 0, 0], [0, 1, 70, 6, 0, 0], [0, 1, 80, 6, 0, 0], [0, 1, 90, 6, 0, 0], [0, 1, 100, 6, 0, 0], [0, 1, 110, 6, 0, 0], [0, 1, 120, 6, 0, 0], [0, 1, 130, 6, 0, 0], [0, 1, 140, 6, 0, 0], [0, 1, 150, 6, 0, 0], [0, 1, 160, 6, 0, 0], [0, 1, 170, 6, 0, 0], [0, 1, 180, 6, 0, 0], [0, 1, -10, 6, 0, 0], [0, 1, -20, 6, 0, 0], [0, 1, -30, 6, 0, 0], [0, 1, -40, 6, 0, 0], [0, 1, -50, 6, 0, 0], [0, 1, -60, 6, 0, 0], [0, 1, -70, 6, 0, 0], [0, 1, -80, 6, 0, 0], [0, 1, -90, 6, 0, 0], [0, 1, -100, 6, 0, 0], [0, 1, -110, 6, 0, 0], [0, 1, -120, 6, 0, 0], [0, 1, -130, 6, 0, 0], [0, 1, -140, 6, 0, 0], [0, 1, -150, 6, 0, 0], [0, 1, -160, 6, 0, 0], [0, 1, -170, 6, 0, 0], [5, 1, 5, 6, 0, 0], [0, 1, 15, 6, 0, 0], [0, 1, 25, 6, 0, 0], [0, 1, 35, 6, 0, 0], [0, 1, 45, 6, 0, 0], [0, 1, 55, 6, 0, 0], [0, 1, 65, 6, 0, 0], [0, 1, 75, 6, 0, 0], [0, 1, 85, 6, 0, 0], [0, 1, 95, 6, 0, 0], [0, 1, 105, 6, 0, 0], [0, 1, 115, 6, 0, 0], [0, 1, 125, 6, 0, 0], [0, 1, 135, 6, 0, 0], [0, 1, 145, 6, 0, 0], [0, 1, 155, 6, 0, 0], [0, 1, 165, 6, 0, 0], [0, 1, 175, 6, 0, 0], [0, 1, 185, 6, 0, 0], [0, 1, -15, 6, 0, 0], [0, 1, -25, 6, 0, 0], [0, 1, -35, 6, 0, 0], [0, 1, -45, 6, 0, 0], [0, 1, -55, 6, 0, 0], [0, 1, -65, 6, 0, 0], [0, 1, -75, 6, 0, 0], [0, 1, -85, 6, 0, 0], [0, 1, -95, 6, 0, 0], [0, 1, -105, 6, 0, 0], [0, 1, -115, 6, 0, 0], [0, 1, -125, 6, 0, 0], [0, 1, -135, 6, 0, 0], [0, 1, -145, 6, 0, 0], [0, 1, -155, 6, 0, 0], [0, 1, -165, 6, 0, 0], [0, 1, -175, 6, 0, 0], [5, 1, 0, 6, 0, 0], [0, 1, 10, 6, 0, 0], [0, 1, 20, 6, 0, 0], [0, 1, 30, 6, 0, 0], [0, 1, 40, 6, 0, 0], [0, 1, 50, 6, 0, 0], [0, 1, 60, 6, 0, 0], [0, 1, 70, 6, 0, 0], [0, 1, 80, 6, 0, 0], [0, 1, 90, 6, 0, 0], [0, 1, 100, 6, 0, 0], [0, 1, 110, 6, 0, 0], [0, 1, 120, 6, 0, 0], [0, 1, 130, 6, 0, 0], [0, 1, 140, 6, 0, 0], [0, 1, 150, 6, 0, 0], [0, 1, 160, 6, 0, 0], [0, 1, 170, 6, 0, 0], [0, 1, 180, 6, 0, 0], [0, 1, -10, 6, 0], [0, 1, -20, 6, 0, 0], [0, 1, -30, 6, 0, 0], [0, 1, -40, 6, 0, 0], [0, 1, -50, 6, 0, 0], [0, 1, -60, 6, 0, 0], [0, 1, -70, 6, 0, 0], [0, 1, -80, 6, 0, 0], [0, 1, -90, 6, 0, 0], [0, 1, -100, 6, 0, 0], [0, 1, -110, 6, 0, 0], [0, 1, -120, 6, 0, 0], [0, 1, -130, 6, 0, 0], [0, 1, -140, 6, 0, 0], [0, 1, -150, 6, 0, 0], [0, 1, -160, 6, 0, 0], [0, 1, -170, 6, 0, 0], [5, 1, 5, 6, 0, 0], [0, 1, 15, 6, 0, 0], [0, 1, 25, 6, 0, 0], [0, 1, 35, 6, 0, 0], [0, 1, 45, 6, 0, 0], [0, 1, 55, 6, 0, 0], [0, 1, 65, 6, 0, 0], [0, 1, 75, 6, 0, 0], [0, 1, 85, 6, 0, 0], [0, 1, 95, 6, 0, 0], [0, 1, 105, 6, 0, 0], [0, 1, 115, 6, 0, 0], [0, 1, 125, 6, 0, 0], [0, 1, 135, 6, 0, 0], [0, 1, 145, 6, 0, 0], [0, 1, 155, 6, 0, 0], [0, 1, 165, 6, 0, 0], [0, 1, 175, 6, 0, 0], [0, 1, 185, 6, 0, 0], [0, 1, -15, 6, 0, 0], [0, 1, -25, 6, 0, 0], [0, 1, -35, 6, 0, 0], [0, 1, -45, 6, 0, 0], [0, 1, -55, 6, 0, 0], [0, 1, -65, 6, 0, 0], [0, 1, -75, 6, 0, 0], [0, 1, -85, 6, 0, 0], [0, 1, -95, 6, 0, 0], [0, 1, -105, 6, 0, 0], [0, 1, -115, 6, 0, 0], [0, 1, -125, 6, 0, 0], [0, 1, -135, 6, 0, 0], [0, 1, -145, 6, 0, 0], [0, 1, -155, 6, 0, 0], [0, 1, -165, 6, 0, 0], [0, 1, -175, 6, 0, 0], [30, 2, 0, 6, 75, 0], [0, 2, 0, 6, -75, 0], [0, 2, 0, 6, 40, -70], [0, 2, 0, 6, -40, -70], [0, 2, 0, 6, 40, 70], [0, 2, 0, 6, -40, 70], [0, 2, 10, 6, 75, 0], [0, 2, 10, 6, -75, 0], [0, 2, 10, 6, 40, -70], [0, 2, 10, 6, -40, -70], [0, 2, 10, 6, 40, 70], [0, 2, 10, 6, -40, 70], [0, 2, 20, 6, 75, 0], [0, 2, 20, 6, -75, 0], [0, 2, 20, 6, 40, -70], [0, 2, 20, 6, -40, -70], [0, 2, 20, 6, 40, 70], [0, 2, 20, 6, -40, 70], [0, 2, 30, 6, 75, 0], [0, 2, 30, 6, -75, 0], [0, 2, 30, 6, 40, -70], [0, 2, 30, 6, -40, -70], [0, 2, 30, 6, 40, 70], [0, 2, 30, 6, -40, 70], [0, 2, 40, 6, 75, 0], [0, 2, 40, 6, -75, 0], [0, 2, 40, 6, 40, -70], [0, 2, 40, 6, -40, -70], [0, 2, 40, 6, 40, 70], [0, 2, 40, 6, -40, 70], [0, 2, 50, 6, 75, 0], [0, 2, 50, 6, -75, 0], [0, 2, 50, 6, 40, -70], [0, 2, 50, 6, -40, -70], [0, 2, 50, 6, 40, 70], [0, 2, 50, 6, -40, 70], [0, 2, 60, 6, 75, 0], [0, 2, 60, 6, -75, 0], [0, 2, 60, 6, 40, -70], [0, 2, 60, 6, -40, -70], [0, 2, 60, 6, 40, 70], [0, 2, 60, 6, -40, 70], [0, 2, 70, 6, 75, 0], [0, 2, 70, 6, -75, 0], [0, 2, 70, 6, 40, -70], [0, 2, 70, 6, -40, -70], [0, 2, 70, 6, 40, 70], [0, 2, 70, 6, -40, 70], [0, 2, 80, 6, 75, 0], [0, 2, 80, 6, -75, 0], [0, 2, 80, 6, 40, -70], [0, 2, 80, 6, -40, -70], [0, 2, 80, 6, 40, 70], [0, 2, 80, 6, -40, 70], [0, 2, 90, 6, 75, 0], [0, 2, 90, 6, -75, 0], [0, 2, 90, 6, 40, -70], [0, 2, 90, 6, -40, -70], [0, 2, 90, 6, 40, 70], [0, 2, 90, 6, -40, 70], [0, 2, 100, 6, 75, 0], [0, 2, 100, 6, -75, 0], [0, 2, 100, 6, 40, -70], [0, 2, 100, 6, -40, -70], [0, 2, 100, 6, 40, 70], [0, 2, 100, 6, -40, 70], [0, 2, 110, 6, 75, 0], [0, 2, 110, 6, -75, 0], [0, 2, 110, 6, 40, -70], [0, 2, 110, 6, -40, -70], [0, 2, 110, 6, 40, 70], [0, 2, 110, 6, -40, 70], [0, 2, 120, 6, 75, 0], [0, 2, 120, 6, -75, 0], [0, 2, 120, 6, 40, -70], [0, 2, 120, 6, -40, -70], [0, 2, 120, 6, 40, 70], [0, 2, 120, 6, -40, 70], [0, 2, 130, 6, 75, 0], [0, 2, 130, 6, -75, 0], [0, 2, 130, 6, 40, -70], [0, 2, 130, 6, -40, -70], [0, 2, 130, 6, 40, 70], [0, 2, 130, 6, -40, 70], [0, 2, 140, 6, 75, 0], [0, 2, 140, 6, -75, 0], [0, 2, 140, 6, 40, -70], [0, 2, 140, 6, -40, -70], [0, 2, 140, 6, 40, 70], [0, 2, 140, 6, -40, 70], [0, 2, 150, 6, 75, 0], [0, 2, 150, 6, -75, 0], [0, 2, 150, 6, 40, -70], [0, 2, 150, 6, -40, -70], [0, 2, 150, 6, 40, 70], [0, 2, 150, 6, -40, 70], [0, 2, 160, 6, 75, 0], [0, 2, 160, 6, -75, 0], [0, 2, 160, 6, 40, -70], [0, 2, 160, 6, -40, -70], [0, 2, 160, 6, 40, 70], [0, 2, 160, 6, -40, 70], [0, 2, 170, 6, 75, 0], [0, 2, 170, 6, -75, 0], [0, 2, 170, 6, 40, -70], [0, 2, 170, 6, -40, -70], [0, 2, 170, 6, 40, 70], [0, 2, 170, 6, -40, 70], [0, 2, 180, 6, 75, 0], [0, 2, 180, 6, -75, 0], [0, 2, 180, 6, 40, -70], [0, 2, 180, 6, -40, -70], [0, 2, 180, 6, 40, 70], [0, 2, 180, 6, -40, 70], [30, 4, 0, 6, 75, 0], [0, 4, 0, 6, -75, 0], [0, 4, 0, 6, 40, -70], [0, 4, 0, 6, -40, -70], [0, 4, 0, 6, 40, 70], [0, 4, 0, 6, -40, 70], [1, 4, 10, 6, 75, 0], [0, 4, 10, 6, -75, 0], [0, 4, 10, 6, 40, -70], [0, 4, 10, 6, -40, -70], [0, 4, 10, 6, 40, 70], [0, 4, 10, 6, -40, 70], [1, 4, 20, 6, 75, 0], [0, 4, 20, 6, -75, 0], [0, 4, 20, 6, 40, -70], [0, 4, 20, 6, -40, -70], [0, 4, 20, 6, 40, 70], [0, 4, 20, 6, -40, 70], [1, 4, 30, 6, 75, 0], [0, 4, 30, 6, -75, 0], [0, 4, 30, 6, 40, -70], [0, 4, 30, 6, -40, -70], [0, 4, 30, 6, 40, 70], [0, 4, 30, 6, -40, 70], [1, 4, 40, 6, 75, 0], [0, 4, 40, 6, -75, 0], [0, 4, 40, 6, 40, -70], [0, 4, 40, 6, -40, -70], [0, 4, 40, 6, 40, 70], [0, 4, 40, 6, -40, 70], [1, 4, 50, 6, 75, 0], [0, 4, 50, 6, -75, 0], [0, 4, 50, 6, 40, -70], [0, 4, 50, 6, -40, -70], [0, 4, 50, 6, 40, 70], [0, 4, 50, 6, -40, 70], [1, 4, 60, 6, 75, 0], [0, 4, 60, 6, -75, 0], [0, 4, 60, 6, 40, -70], [0, 4, 60, 6, -40, -70], [0, 4, 60, 6, 40, 70], [0, 4, 60, 6, -40, 70], [1, 4, 70, 6, 75, 0], [0, 4, 70, 6, -75, 0], [0, 4, 70, 6, 40, -70], [0, 4, 70, 6, -40, -70], [0, 4, 70, 6, 40, 70], [0, 4, 70, 6, -40, 70], [1, 4, 80, 6, 75, 0], [0, 4, 80, 6, -75, 0], [0, 4, 80, 6, 40, -70], [0, 4, 80, 6, -40, -70], [0, 4, 80, 6, 40, 70], [0, 4, 80, 6, -40, 70], [1, 4, 90, 6, 75, 0], [0, 4, 90, 6, -75, 0], [0, 4, 90, 6, 40, -70], [0, 4, 90, 6, -40, -70], [0, 4, 90, 6, 40, 70], [0, 4, 90, 6, -40, 70], [1, 4, 100, 6, 75, 0], [0, 4, 100, 6, -75, 0], [0, 4, 100, 6, 40, -70], [0, 4, 100, 6, -40, -70], [0, 4, 100, 6, 40, 70], [0, 4, 100, 6, -40, 70], [1, 4, 110, 6, 75, 0], [0, 4, 110, 6, -75, 0], [0, 4, 110, 6, 40, -70], [0, 4, 110, 6, -40, -70], [0, 4, 110, 6, 40, 70], [0, 4, 110, 6, -40, 70], [1, 4, 120, 6, 75, 0], [0, 4, 120, 6, -75, 0], [0, 4, 120, 6, 40, -70], [0, 4, 120, 6, -40, -70], [0, 4, 120, 6, 40, 70], [0, 4, 120, 6, -40, 70], [1, 4, 130, 6, 75, 0], [0, 4, 130, 6, -75, 0], [0, 4, 130, 6, 40, -70], [0, 4, 130, 6, -40, -70], [0, 4, 130, 6, 40, 70], [0, 4, 130, 6, -40, 70], [1, 4, 140, 6, 75, 0], [0, 4, 140, 6, -75, 0], [0, 4, 140, 6, 40, -70], [0, 4, 140, 6, -40, -70], [0, 4, 140, 6, 40, 70], [0, 4, 140, 6, -40, 70], [1, 4, 150, 6, 75, 0], [0, 4, 150, 6, -75, 0], [0, 4, 150, 6, 40, -70], [0, 4, 150, 6, -40, -70], [0, 4, 150, 6, 40, 70], [0, 4, 150, 6, -40, 70], [1, 4, 160, 6, 75, 0], [0, 4, 160, 6, -75, 0], [0, 4, 160, 6, 40, -70], [0, 4, 160, 6, -40, -70], [0, 4, 160, 6, 40, 70], [0, 4, 160, 6, -40, 70], [1, 4, 170, 6, 75, 0], [0, 4, 170, 6, -75, 0], [0, 4, 170, 6, 40, -70], [0, 4, 170, 6, -40, -70], [0, 4, 170, 6, 40, 70], [0, 4, 170, 6, -40, 70], [1, 4, 180, 6, 75, 0], [0, 4, 180, 6, -75, 0], [0, 4, 180, 6, 40, -70], [0, 4, 180, 6, -40, -70], [0, 4, 180, 6, 40, 70], [0, 4, 180, 6, -40, 70], [5, 1, 0, 4, 40, 70], [0, 1, 10, 4, 40, 70], [0, 1, 20, 4, 40, 70], [0, 1, 30, 4, 40, 70], [0, 1, 40, 4, 40, 70], [0, 1, 50, 4, 40, 70], [0, 1, 60, 4, 40, 70], [0, 1, 70, 4, 40, 70], [0, 1, 80, 4, 40, 70], [0, 1, 90, 4, 40, 70], [0, 1, 100, 4, 40, 70], [0, 1, 110, 4, 40, 70], [0, 1, 120, 4, 40, 70], [0, 1, 130, 4, 40, 70], [0, 1, 140, 4, 40, 70], [0, 1, 150, 4, 40, 70], [0, 1, 160, 4, 40, 70], [0, 1, 170, 4, 40, 70], [0, 1, 180, 4, 40, 70], [0, 1, -10, 4, 40, 70], [0, 1, -20, 4, 40, 70], [0, 1, -30, 4, 40, 70], [0, 1, -40, 4, 40, 70], [0, 1, -50, 4, 40, 70], [0, 1, -60, 4, 40, 70], [0, 1, -70, 4, 40, 70], [0, 1, -80, 4, 40, 70], [0, 1, -90, 4, 40, 70], [0, 1, -100, 4, 40, 70], [0, 1, -110, 4, 40, 70], [0, 1, -120, 4, 40, 70], [0, 1, -130, 4, 40, 70], [0, 1, -140, 4, 40, 70], [0, 1, -150, 4, 40, 70], [0, 1, -160, 4, 40, 70], [0, 1, -170, 4, 40, 70], [5, 1, 0, 4, -40, 70], [0, 1, 10, 4, -40, 70], [0, 1, 20, 4, -40, 70], [0, 1, 30, 4, -40, 70], [0, 1, 40, 4, -40, 70], [0, 1, 50, 4, -40, 70], [0, 1, 60, 4, -40, 70], [0, 1, 70, 4, -40, 70], [0, 1, 80, 4, -40, 70], [0, 1, 90, 4, -40, 70], [0, 1, 100, 4, -40, 70], [0, 1, 110, 4, -40, 70], [0, 1, 120, 4, -40, 70], [0, 1, 130, 4, -40, 70], [0, 1, 140, 4, -40, 70], [0, 1, 150, 4, -40, 70], [0, 1, 160, 4, -40, 70], [0, 1, 170, 4, -40, 70], [0, 1, 180, 4, -40, 70], [0, 1, -10, 4, -40, 70], [0, 1, -20, 4, -40, 70], [0, 1, -30, 4, -40, 70], [0, 1, -40, 4, -40, 70], [0, 1, -50, 4, -40, 70], [0, 1, -60, 4, -40, 70], [0, 1, -70, 4, -40, 70], [0, 1, -80, 4, -40, 70], [0, 1, -90, 4, -40, 70], [0, 1, -100, 4, -40, 70], [0, 1, -110, 4, -40, 70], [0, 1, -120, 4, -40, 70], [0, 1, -130, 4, -40, 70], [0, 1, -140, 4, -40, 70], [0, 1, -150, 4, -40, 70], [0, 1, -160, 4, -40, 70], [0, 1, -170, 4, -40, 70], [5, 1, 0, 4, -40, -70], [0, 1, 10, 4, -40, -70], [0, 1, 20, 4, -40, -70], [0, 1, 30, 4, -40, -70], [0, 1, 40, 4, -40, -70], [0, 1, 50, 4, -40, -70], [0, 1, 60, 4, -40, -70], [0, 1, 70, 4, -40, -70], [0, 1, 80, 4, -40, -70], [0, 1, 90, 4, -40, -70], [0, 1, 100, 4, -40, -70], [0, 1, 110, 4, -40, -70], [0, 1, 120, 4, -40, -70], [0, 1, 130, 4, -40, -70], [0, 1, 140, 4, -40, -70], [0, 1, 150, 4, -40, -70], [0, 1, 160, 4, -40, -70], [0, 1, 170, 4, -40, -70], [0, 1, 180, 4, -40, -70], [0, 1, -10, 4, -40, -70], [0, 1, -20, 4, -40, -70], [0, 1, -30, 4, -40, -70], [0, 1, -40, 4, -40, -70], [0, 1, -50, 4, -40, -70], [0, 1, -60, 4, -40, -70], [0, 1, -70, 4, -40, -70], [0, 1, -80, 4, -40, -70], [0, 1, -90, 4, -40, -70], [0, 1, -100, 4, -40, -70], [0, 1, -110, 4, -40, -70], [0, 1, -120, 4, -40, -70], [0, 1, -130, 4, -40, -70], [0, 1, -140, 4, -40, -70], [0, 1, -150, 4, -40, -70], [0, 1, -160, 4, -40, -70], [0, 1, -170, 4, -40, -70], [5, 1, 0, 4, 40, -70], [0, 1, 10, 4, 40, -70], [0, 1, 20, 4, 40, -70], [0, 1, 30, 4, 40, -70], [0, 1, 40, 4, 40, -70], [0, 1, 50, 4, 40, -70], [0, 1, 60, 4, 40, -70], [0, 1, 70, 4, 40, -70], [0, 1, 80, 4, 40, -70], [0, 1, 90, 4, 40, -70], [0, 1, 100, 4, 40, -70], [0, 1, 110, 4, 40, -70], [0, 1, 120, 4, 40, -70], [0, 1, 130, 4, 40, -70], [0, 1, 140, 4, 40, -70], [0, 1, 150, 4, 40, -70], [0, 1, 160, 4, 40, -70], [0, 1, 170, 4, 40, -70], [0, 1, 180, 4, 40, -70], [0, 1, -10, 4, 40, -70], [0, 1, -20, 4, 40, -70], [0, 1, -30, 4, 40, -70], [0, 1, -40, 4, 40, -70], [0, 1, -50, 4, 40, -70], [0, 1, -60, 4, 40, -70], [0, 1, -70, 4, 40, -70], [0, 1, -80, 4, 40, -70], [0, 1, -90, 4, 40, -70], [0, 1, -100, 4, 40, -70], [0, 1, -110, 4, 40, -70], [0, 1, -120, 4, 40, -70], [0, 1, -130, 4, 40, -70], [0, 1, -140, 4, 40, -70], [0, 1, -150, 4, 40, -70], [0, 1, -160, 4, 40, -70], [0, 1, -170, 4, 40, -70], [5, 1, 0, 4, 75, 0], [0, 1, 10, 4, 75, 0], [0, 1, 20, 4, 75, 0], [0, 1, 30, 4, 75, 0], [0, 1, 40, 4, 75, 0], [0, 1, 50, 4, 75, 0], [0, 1, 60, 4, 75, 0], [0, 1, 70, 4, 75, 0], [0, 1, 80, 4, 75, 0], [0, 1, 90, 4, 75, 0], [0, 1, 100, 4, 75, 0], [0, 1, 110, 4, 75, 0], [0, 1, 120, 4, 75, 0], [0, 1, 130, 4, 75, 0], [0, 1, 140, 4, 75, 0], [0, 1, 150, 4, 75, 0], [0, 1, 160, 4, 75, 0], [0, 1, 170, 4, 75, 0], [0, 1, 180, 4, 75, 0], [0, 1, -10, 4, 75, 0], [0, 1, -20, 4, 75, 0], [0, 1, -30, 4, 75, 0], [0, 1, -40, 4, 75, 0], [0, 1, -50, 4, 75, 0], [0, 1, -60, 4, 75, 0], [0, 1, -70, 4, 75, 0], [0, 1, -80, 4, 75, 0], [0, 1, -90, 4, 75, 0], [0, 1, -100, 4, 75, 0], [0, 1, -110, 4, 75, 0], [0, 1, -120, 4, 75, 0], [0, 1, -130, 4, 75, 0], [0, 1, -140, 4, 75, 0], [0, 1, -150, 4, 75, 0], [0, 1, -160, 4, 75, 0], [0, 1, -170, 4, 75, 0], [5, 1, 0, 4, -75, 0], [0, 1, 10, 4, -75, 0], [0, 1, 20, 4, -75, 0], [0, 1, 30, 4, -75, 0], [0, 1, 40, 4, -75, 0], [0, 1, 50, 4, -75, 0], [0, 1, 60, 4, -75, 0], [0, 1, 70, 4, -75, 0], [0, 1, 80, 4, -75, 0], [0, 1, 90, 4, -75, 0], [0, 1, 100, 4, -75, 0], [0, 1, 110, 4, -75, 0], [0, 1, 120, 4, -75, 0], [0, 1, 130, 4, -75, 0], [0, 1, 140, 4, -75, 0], [0, 1, 150, 4, -75, 0], [0, 1, 160, 4, -75, 0], [0, 1, 170, 4, -75, 0], [0, 1, 180, 4, -75, 0], [0, 1, -10, 4, -75, 0], [0, 1, -20, 4, -75, 0], [0, 1, -30, 4, -75, 0], [0, 1, -40, 4, -75, 0], [0, 1, -50, 4, -75, 0], [0, 1, -60, 4, -75, 0], [0, 1, -70, 4, -75, 0], [0, 1, -80, 4, -75, 0], [0, 1, -90, 4, -75, 0], [0, 1, -100, 4, -75, 0], [0, 1, -110, 4, -75, 0], [0, 1, -120, 4, -75, 0], [0, 1, -130, 4, -75, 0], [0, 1, -140, 4, -75, 0], [0, 1, -150, 4, -75, 0], [0, 1, -160, 4, -75, 0], [0, 1, -170, 4, -75, 0], [1, 3, 90, 4, -75, 0], [1, 3, 90, 4, 75, 0], [1, 3, 90, 4, 40, 70], [1, 3, 90, 4, -40, 70], [1, 3, 90, 4, 40, -70], [1, 3, 90, 4, -40, -70], [5, 4, 90, 4, -75, 0], [1, 4, 90, 4, 75, 0], [1, 4, 90, 4, 40, 70], [1, 4, 90, 4, -40, 70], [1, 4, 90, 4, 40, -70], [1, 4, 90, 4, -40, -70], [5, 3, 90, 4, -75, 0], [1, 3, 90, 4, 75, 0], [1, 3, 90, 4, 40, 70], [1, 3, 90, 4, -40, 70], [1, 3, 90, 4, 40, -70], [1, 3, 90, 4, -40, -70]]];
boss_7 = [250, 100, 200000, [[250, 130, 11250], [95, 73, 1800], [395, 73, 1800]], [[3, 2, 70, 4, -140, -30], [0, 2, 110, 4, 140, -30], [2, 2, 80, 5, -160, -30], [0, 2, 100, 5, 160, -30], [2, 2, 90, 5, -160, -30], [0, 2, 90, 5, 160, -30], [2, 2, 100, 4, -160, -30], [0, 2, 80, 4, 160, -30], [0, 1, 0, 6, 0, 70], [0, 1, 10, 6, 0, 70], [0, 1, 20, 6, 0, 70], [0, 1, 30, 6, 0, 70], [0, 1, 40, 6, 0, 70], [0, 1, 50, 6, 0, 70], [0, 1, 60, 6, 0, 70], [0, 1, 70, 6, 0, 70], [0, 1, 80, 6, 0, 70], [0, 1, 90, 6, 0, 70], [0, 1, 100, 6, 0, 70], [0, 1, 110, 6, 0, 70], [0, 1, 120, 6, 0, 70], [0, 1, 130, 6, 0, 70], [0, 1, 140, 6, 0, 70], [0, 1, 150, 6, 0, 70], [0, 1, 160, 6, 0, 70], [0, 1, 170, 6, 0, 70], [0, 1, 180, 6, 0, 70], [0, 1, -10, 6, 0, 70], [0, 1, -20, 6, 0, 70], [0, 1, -30, 6, 0, 70], [0, 1, -40, 6, 0, 70], [0, 1, -50, 6, 0, 70], [0, 1, -60, 6, 0, 70], [0, 1, -70, 6, 0, 70], [0, 1, -80, 6, 0, 70], [0, 1, -90, 6, 0, 70], [0, 1, -100, 6, 0, 70], [0, 1, -110, 6, 0, 70], [0, 1, -120, 6, 0, 70], [0, 1, -130, 6, 0, 70], [0, 1, -140, 6, 0, 70], [0, 1, -150, 6, 0, 70], [0, 1, -160, 6, 0, 70], [0, 1, -170, 6, 0, 70], [3, 2, 70, 4, -140, -30], [0, 2, 110, 4, 140, -30], [2, 2, 80, 5, -160, -30], [0, 2, 100, 5, 160, -30], [2, 2, 90, 5, -160, -30], [0, 2, 90, 5, 160, -30], [2, 2, 100, 4, -160, -30], [0, 2, 80, 4, 160, -30], [20, 2, 5, 6, 25, 70], [0, 2, 15, 6, 25, 70], [0, 2, 25, 6, 25, 70], [0, 2, 35, 6, 25, 70], [0, 2, 45, 6, 25, 70], [0, 2, 55, 6, 25, 70], [0, 2, 65, 6, 25, 70], [0, 2, 75, 6, 25, 70], [0, 2, 85, 6, 25, 70], [0, 2, 95, 6, 25, 70], [0, 2, 105, 6, 25, 70], [0, 2, 115, 6, 25, 70], [0, 2, 125, 6, 25, 70], [0, 2, 135, 6, 25, 70], [0, 2, 145, 6, 25, 70], [0, 2, 155, 6, 25, 70], [0, 2, 165, 6, 25, 70], [0, 2, 175, 6, 25, 70], [0, 2, 185, 6, 25, 70], [0, 2, -15, 6, 25, 70], [0, 2, -25, 6, 25, 70], [0, 2, -35, 6, 25, 70], [0, 2, -45, 6, 25, 70], [0, 2, -55, 6, 25, 70], [0, 2, -65, 6, 25, 70], [0, 2, -75, 6, 25, 70], [0, 2, -85, 6, 25, 70], [0, 2, -95, 6, 25, 70], [0, 2, -105, 6, 25, 70], [0, 2, -115, 6, 25, 70], [0, 2, -125, 6, 25, 70], [0, 2, -135, 6, 25, 70], [0, 2, -145, 6, 25, 70], [0, 2, -155, 6, 25, 70], [0, 2, -165, 6, 25, 70], [0, 2, -175, 6, 25, 70], [0, 2, 5, 6, -25, 70], [0, 2, 15, 6, -25, 70], [0, 2, 25, 6, -25, 70], [0, 2, 35, 6, -25, 70], [0, 2, 45, 6, -25, 70], [0, 2, 55, 6, -25, 70], [0, 2, 65, 6, -25, 70], [0, 2, 75, 6, -25, 70], [0, 2, 85, 6, -25, 70], [0, 2, 95, 6, -25, 70], [0, 2, 105, 6, -25, 70], [0, 2, 115, 6, -25, 70], [0, 2, 125, 6, -25, 70], [0, 2, 135, 6, -25, 70], [0, 2, 145, 6, -25, 70], [0, 2, 155, 6, -25, 70], [0, 2, 165, 6, -25, 70], [0, 2, 175, 6, -25, 70], [0, 2, 185, 6, -25, 70], [0, 2, -15, 6, -25, 70], [0, 2, -25, 6, -25, 70], [0, 2, -35, 6, -25, 70], [0, 2, -45, 6, -25, 70], [0, 2, -55, 6, -25, 70], [0, 2, -65, 6, -25, 70], [0, 2, -75, 6, -25, 70], [0, 2, -85, 6, -25, 70], [0, 2, -95, 6, -25, 70], [0, 2, -105, 6, -25, 70], [0, 2, -115, 6, -25, 70], [0, 2, -125, 6, -25, 70], [0, 2, -135, 6, -25, 70], [0, 2, -145, 6, -25, 70], [0, 2, -155, 6, -25, 70], [0, 2, -165, 6, -25, 70], [0, 2, -175, 6, -25, 70], [1, 3, 0, 5, 50, 70], [0, 3, 0, 5, -50, 70], [1, 3, 10, 5, 50, 70], [0, 3, 10, 5, -50, 70], [1, 3, 20, 5, 50, 70], [0, 3, 20, 5, -50, 70], [1, 3, 30, 5, 50, 70], [0, 3, 30, 5, -50, 70], [1, 3, 40, 5, 50, 70], [0, 3, 40, 5, -50, 70], [1, 3, 50, 5, 50, 70], [0, 3, 50, 5, -50, 70], [1, 3, 60, 5, 50, 70], [0, 3, 60, 5, -50, 70], [1, 3, 70, 5, 50, 70], [0, 3, 70, 5, -50, 70], [1, 3, 80, 5, 50, 70], [0, 3, 80, 5, -50, 70], [1, 3, 90, 5, 50, 70], [0, 3, 90, 5, -50, 70], [1, 3, 100, 5, 50, 70], [0, 3, 100, 5, -50, 70], [1, 3, 110, 5, 50, 70], [0, 3, 110, 5, -50, 70], [1, 3, 120, 5, 50, 70], [0, 3, 120, 5, -50, 70], [1, 3, 130, 5, 50, 70], [0, 3, 130, 5, -50, 70], [1, 3, 140, 5, 50, 70], [0, 3, 140, 5, -50, 70], [1, 3, 150, 5, 50, 70], [0, 3, 150, 5, -50, 70], [1, 3, 160, 5, 50, 70], [0, 3, 160, 5, -50, 70], [1, 3, 170, 5, 50, 70], [0, 3, 170, 5, -50, 70], [1, 3, 180, 5, 50, 70], [0, 3, 180, 5, -50, 70], [1, 3, -170, 5, 50, 70], [0, 3, -170, 5, -50, 70], [1, 3, -160, 5, 50, 70], [0, 3, -160, 5, -50, 70], [1, 3, -150, 5, 50, 70], [0, 3, -150, 5, -50, 70], [1, 3, -140, 5, 50, 70], [0, 3, -140, 5, -50, 70], [1, 3, -130, 5, 50, 70], [0, 3, -130, 5, -50, 70], [1, 3, -120, 5, 50, 70], [0, 3, -120, 5, -50, 70], [1, 3, -110, 5, 50, 70], [0, 3, -110, 5, -50, 70], [1, 3, -100, 5, 50, 70], [0, 3, -100, 5, -50, 70], [1, 3, -90, 5, 50, 70], [0, 3, -90, 5, -50, 70], [1, 3, -80, 5, 50, 70], [0, 3, -80, 5, -50, 70], [1, 3, -70, 5, 50, 70], [0, 3, -70, 5, -50, 70], [1, 3, -60, 5, 50, 70], [0, 3, -60, 5, -50, 70], [1, 3, -50, 5, 50, 70], [0, 3, -50, 5, -50, 70], [1, 3, -40, 5, 50, 70], [0, 3, -40, 5, -50, 70], [1, 3, -30, 5, 50, 70], [0, 3, -30, 5, -50, 70], [1, 3, -20, 5, 50, 70], [0, 3, -20, 5, -50, 70], [1, 3, -10, 5, 50, 70], [0, 3, -10, 5, -50, 70], [0, 1, 0, 6, 0, 70], [0, 1, 10, 6, 0, 70], [0, 1, 20, 6, 0, 70], [0, 1, 30, 6, 0, 70], [0, 1, 40, 6, 0, 70], [0, 1, 50, 6, 0, 70], [0, 1, 60, 6, 0, 70], [0, 1, 70, 6, 0, 70], [0, 1, 80, 6, 0, 70], [0, 1, 90, 6, 0, 70], [0, 1, 100, 6, 0, 70], [0, 1, 110, 6, 0, 70], [0, 1, 120, 6, 0, 70], [0, 1, 130, 6, 0, 70], [0, 1, 140, 6, 0, 70], [0, 1, 150, 6, 0, 70], [0, 1, 160, 6, 0, 70], [0, 1, 170, 6, 0, 70], [0, 1, 180, 6, 0, 70], [0, 1, -10, 6, 0, 70], [0, 1, -20, 6, 0, 70], [0, 1, -30, 6, 0, 70], [0, 1, -40, 6, 0, 70], [0, 1, -50, 6, 0, 70], [0, 1, -60, 6, 0, 70], [0, 1, -70, 6, 0, 70], [0, 1, -80, 6, 0, 70], [0, 1, -90, 6, 0, 70], [0, 1, -100, 6, 0, 70], [0, 1, -110, 6, 0, 70], [0, 1, -120, 6, 0, 70], [0, 1, -130, 6, 0, 70], [0, 1, -140, 6, 0, 70], [0, 1, -150, 6, 0, 70], [0, 1, -160, 6, 0, 70], [0, 1, -170, 6, 0, 70], [1, 3, 0, 5, 50, 70], [0, 3, 0, 5, -50, 70], [1, 3, 10, 5, 50, 70], [0, 3, 10, 5, -50, 70], [1, 3, 20, 5, 50, 70], [0, 3, 20, 5, -50, 70], [1, 3, 30, 5, 50, 70], [0, 3, 30, 5, -50, 70], [1, 3, 40, 5, 50, 70], [0, 3, 40, 5, -50, 70], [1, 3, 50, 5, 50, 70], [0, 3, 50, 5, -50, 70], [1, 3, 60, 5, 50, 70], [0, 3, 60, 5, -50, 70], [1, 3, 70, 5, 50, 70], [0, 3, 70, 5, -50, 70], [1, 3, 80, 5, 50, 70], [0, 3, 80, 5, -50, 70], [1, 3, 90, 5, 50, 70], [0, 3, 90, 5, -50, 70], [1, 3, 100, 5, 50, 70], [0, 3, 100, 5, -50, 70], [1, 3, 110, 5, 50, 70], [0, 3, 110, 5, -50, 70], [1, 3, 120, 5, 50, 70], [0, 3, 120, 5, -50, 70], [1, 3, 130, 5, 50, 70], [0, 3, 130, 5, -50, 70], [1, 3, 140, 5, 50, 70], [0, 3, 140, 5, -50, 70], [1, 3, 150, 5, 50, 70], [0, 3, 150, 5, -50, 70], [1, 3, 160, 5, 50, 70], [0, 3, 160, 5, -50, 70], [1, 3, 170, 5, 50, 70], [0, 3, 170, 5, -50, 70], [1, 3, 180, 5, 50, 70], [0, 3, 180, 5, -50, 70], [1, 3, -170, 5, 50, 70], [0, 3, -170, 5, -50, 70], [1, 3, -160, 5, 50, 70], [0, 3, -160, 5, -50, 70], [1, 3, -150, 5, 50, 70], [0, 3, -150, 5, -50, 70], [1, 3, -140, 5, 50, 70], [0, 3, -140, 5, -50, 70], [1, 3, -130, 5, 50, 70], [0, 3, -130, 5, -50, 70], [1, 3, -120, 5, 50, 70], [0, 3, -120, 5, -50, 70], [1, 3, -110, 5, 50, 70], [0, 3, -110, 5, -50, 70], [1, 3, -100, 5, 50, 70], [0, 3, -100, 5, -50, 70], [1, 3, -90, 5, 50, 70], [0, 3, -90, 5, -50, 70], [1, 3, -80, 5, 50, 70], [0, 3, -80, 5, -50, 70], [1, 3, -70, 5, 50, 70], [0, 3, -70, 5, -50, 70], [1, 3, -60, 5, 50, 70], [0, 3, -60, 5, -50, 70], [1, 3, -50, 5, 50, 70], [0, 3, -50, 5, -50, 70], [1, 3, -40, 5, 50, 70], [0, 3, -40, 5, -50, 70], [1, 3, -30, 5, 50, 70], [0, 3, -30, 5, -50, 70], [1, 3, -20, 5, 50, 70], [0, 3, -20, 5, -50, 70], [1, 3, -10, 5, 50, 70], [0, 3, -10, 5, -50, 70]]];
boss_6 = [250, 100, 200000, [[50, 100, 2500], [100, 100, 2500], [150, 100, 2500], [200, 100, 2500], [250, 100, 2500], [300, 100, 2500], [350, 100, 2500], [400, 100, 2500], [450, 100, 2500]], [[5, 2, 90, 7, 0, 60], [0, 2, 93, 7, -15, 60], [0, 2, 87, 7, 15, 60], [2, 1, 0, 6, -210, 25], [0, 1, 10, 6, -210, 25], [0, 1, 20, 6, -210, 25], [0, 1, 30, 6, -210, 25], [0, 1, 40, 6, -210, 25], [0, 1, 50, 6, -210, 25], [0, 1, 60, 6, -210, 25], [0, 1, 70, 6, -210, 25], [0, 1, 80, 6, -210, 25], [0, 1, 90, 6, -210, 25], [0, 1, 100, 6, -210, 25], [0, 1, 110, 6, -210, 25], [0, 1, 120, 6, -210, 25], [0, 1, 130, 6, -210, 25], [0, 1, 140, 6, -210, 25], [0, 1, 150, 6, -210, 25], [0, 1, 160, 6, -210, 25], [0, 1, 170, 6, -210, 25], [0, 1, 180, 6, -210, 25], [0, 1, -10, 6, -210, 25], [0, 1, -20, 6, -210, 25], [0, 1, -30, 6, -210, 25], [0, 1, -40, 6, -210, 25], [0, 1, -50, 6, -210, 25], [0, 1, -60, 6, -210, 25], [0, 1, -70, 6, -210, 25], [0, 1, -80, 6, -210, 25], [0, 1, -90, 6, -210, 25], [0, 1, -100, 6, -210, 25], [0, 1, -110, 6, -210, 25], [0, 1, -120, 6, -210, 25], [0, 1, -130, 6, -210, 25], [0, 1, -140, 6, -210, 25], [0, 1, -150, 6, -210, 25], [0, 1, -160, 6, -210, 25], [0, 1, -170, 6, -210, 25], [0, 1, 0, 6, 210, 25], [0, 1, 10, 6, 210, 25], [0, 1, 20, 6, 210, 25], [0, 1, 30, 6, 210, 25], [0, 1, 40, 6, 210, 25], [0, 1, 50, 6, 210, 25], [0, 1, 60, 6, 210, 25], [0, 1, 70, 6, 210, 25], [0, 1, 80, 6, 210, 25], [0, 1, 90, 6, 210, 25], [0, 1, 100, 6, 210, 25], [0, 1, 110, 6, 210, 25], [0, 1, 120, 6, 210, 25], [0, 1, 130, 6, 210, 25], [0, 1, 140, 6, 210, 25], [0, 1, 150, 6, 210, 25], [0, 1, 160, 6, 210, 25], [0, 1, 170, 6, 210, 25], [0, 1, 180, 6, 210, 25], [0, 1, -10, 6, 210, 25], [0, 1, -20, 6, 210, 25], [0, 1, -30, 6, 210, 25], [0, 1, -40, 6, 210, 25], [0, 1, -50, 6, 210, 25], [0, 1, -60, 6, 210, 25], [0, 1, -70, 6, 210, 25], [0, 1, -80, 6, 210, 25], [0, 1, -90, 6, 210, 25], [0, 1, -100, 6, 210, 25], [0, 1, -110, 6, 210, 25], [0, 1, -120, 6, 210, 25], [0, 1, -130, 6, 210, 25], [0, 1, -140, 6, 210, 25], [0, 1, -150, 6, 210, 25], [0, 1, -160, 6, 210, 25], [0, 1, -170, 6, 210, 25], [2, 2, 90, 7, 0, 60], [0, 2, 93, 7, -15, 60], [0, 2, 87, 7, 15, 60], [3, 1, 0, 6, -210, 25], [0, 1, 10, 6, -210, 25], [0, 1, 20, 6, -210, 25], [0, 1, 30, 6, -210, 25], [0, 1, 40, 6, -210, 25], [0, 1, 50, 6, -210, 25], [0, 1, 60, 6, -210, 25], [0, 1, 70, 6, -210, 25], [0, 1, 80, 6, -210, 25], [0, 1, 90, 6, -210, 25], [0, 1, 100, 6, -210, 25], [0, 1, 110, 6, -210, 25], [0, 1, 120, 6, -210, 25], [0, 1, 130, 6, -210, 25], [0, 1, 140, 6, -210, 25], [0, 1, 150, 6, -210, 25], [0, 1, 160, 6, -210, 25], [0, 1, 170, 6, -210, 25], [0, 1, 180, 6, -210, 25], [0, 1, -10, 6, -210, 25], [0, 1, -20, 6, -210, 25], [0, 1, -30, 6, -210, 25], [0, 1, -40, 6, -210, 25], [0, 1, -50, 6, -210, 25], [0, 1, -60, 6, -210, 25], [0, 1, -70, 6, -210, 25], [0, 1, -80, 6, -210, 25], [0, 1, -90, 6, -210, 25], [0, 1, -100, 6, -210, 25], [0, 1, -110, 6, -210, 25], [0, 1, -120, 6, -210, 25], [0, 1, -130, 6, -210, 25], [0, 1, -140, 6, -210, 25], [0, 1, -150, 6, -210, 25], [0, 1, -160, 6, -210, 25], [0, 1, -170, 6, -210, 25], [0, 1, 0, 6, 210, 25], [0, 1, 10, 6, 210, 25], [0, 1, 20, 6, 210, 25], [0, 1, 30, 6, 210, 25], [0, 1, 40, 6, 210, 25], [0, 1, 50, 6, 210, 25], [0, 1, 60, 6, 210, 25], [0, 1, 70, 6, 210, 25], [0, 1, 80, 6, 210, 25], [0, 1, 90, 6, 210, 25], [0, 1, 100, 6, 210, 25], [0, 1, 110, 6, 210, 25], [0, 1, 120, 6, 210, 25], [0, 1, 130, 6, 210, 25], [0, 1, 140, 6, 210, 25], [0, 1, 150, 6, 210, 25], [0, 1, 160, 6, 210, 25], [0, 1, 170, 6, 210, 25], [0, 1, 180, 6, 210, 25], [0, 1, -10, 6, 210, 25], [0, 1, -20, 6, 210, 25], [0, 1, -30, 6, 210, 25], [0, 1, -40, 6, 210, 25], [0, 1, -50, 6, 210, 25], [0, 1, -60, 6, 210, 25], [0, 1, -70, 6, 210, 25], [0, 1, -80, 6, 210, 25], [0, 1, -90, 6, 210, 25], [0, 1, -100, 6, 210, 25], [0, 1, -110, 6, 210, 25], [0, 1, -120, 6, 210, 25], [0, 1, -130, 6, 210, 25], [0, 1, -140, 6, 210, 25], [0, 1, -150, 6, 210, 25], [0, 1, -160, 6, 210, 25], [0, 1, -170, 6, 210, 25], [0, 2, 90, 7, 0, 60], [0, 2, 93, 7, -15, 60], [0, 2, 87, 7, 15, 60], [2, 2, 0, 4, -50, 25], [1, 2, 10, 4, -50, 25], [1, 2, 20, 4, -50, 25], [1, 2, 30, 4, -50, 25], [1, 2, 40, 4, -50, 25], [1, 2, 50, 4, -50, 25], [1, 2, 60, 4, -50, 25], [1, 2, 70, 4, -50, 25], [1, 2, 80, 4, -50, 25], [1, 2, 90, 4, -50, 25], [1, 2, 100, 4, -50, 25], [1, 2, 110, 4, -50, 25], [1, 2, 120, 4, -50, 25], [1, 2, 130, 4, -50, 25], [1, 2, 140, 4, -50, 25], [1, 2, 150, 4, -50, 25], [1, 2, 160, 4, -50, 25], [1, 2, 170, 4, -50, 25], [1, 2, 180, 4, -50, 25], [0, 2, 90, 7, 0, 60], [0, 2, 93, 7, -15, 60], [0, 2, 87, 7, 15, 60], [2, 2, 180, 4, 50, 25], [1, 2, 170, 4, 50, 25], [1, 2, 160, 4, 50, 25], [1, 2, 150, 4, 50, 25], [1, 2, 140, 4, 50, 25], [1, 2, 130, 4, 50, 25], [1, 2, 120, 4, 50, 25], [1, 2, 110, 4, 50, 25], [1, 2, 100, 4, 50, 25], [1, 2, 90, 4, 50, 25], [1, 2, 80, 4, 50, 25], [1, 2, 70, 4, 50, 25], [1, 2, 60, 4, 50, 25], [1, 2, 50, 4, 50, 25], [1, 2, 40, 4, 50, 25], [1, 2, 30, 4, 50, 25], [1, 2, 20, 4, 50, 25], [1, 2, 10, 4, 50, 25], [1, 2, 0, 4, 50, 25], [0, 2, 90, 7, 0, 60], [0, 2, 93, 7, -15, 60], [0, 2, 87, 7, 15, 60], [2, 2, 180, 4, -210, 25], [1, 2, 170, 4, -210, 25], [1, 2, 160, 4, -210, 25], [1, 2, 150, 4, -210, 25], [1, 2, 140, 4, -210, 25], [1, 2, 130, 4, -210, 25], [1, 2, 120, 4, -210, 25], [1, 2, 110, 4, -210, 25], [1, 2, 100, 4, -210, 25], [1, 2, 90, 4, -210, 25], [0, 2, 90, 7, 0, 60], [0, 2, 93, 7, -15, 60], [0, 2, 87, 7, 15, 60], [2, 2, 180, 4, 210, 25], [1, 2, 170, 4, 210, 25], [1, 2, 160, 4, 210, 25], [1, 2, 150, 4, 210, 25], [1, 2, 140, 4, 210, 25], [1, 2, 130, 4, 210, 25], [1, 2, 120, 4, 210, 25], [1, 2, 110, 4, 210, 25], [1, 2, 100, 4, 210, 25], [1, 2, 90, 4, 210, 25], [0, 2, 90, 7, 0, 60], [0, 2, 93, 7, -15, 60], [0, 2, 87, 7, 15, 60], [2, 2, 0, 6, 0, 50], [1, 2, 10, 6, 0, 50], [1, 2, 20, 6, 0, 50], [1, 2, 30, 6, 0, 50], [1, 2, 40, 6, 0, 50], [1, 2, 50, 6, 0, 50], [1, 2, 60, 6, 0, 50], [1, 2, 70, 6, 0, 50], [1, 2, 80, 6, 0, 50], [1, 2, 90, 6, 0, 50], [1, 2, 100, 6, 0, 50], [1, 2, 110, 6, 0, 50], [1, 2, 120, 6, 0, 50], [1, 2, 130, 6, 0, 50], [1, 2, 140, 6, 0, 50], [1, 2, 150, 6, 0, 50], [1, 2, 160, 6, 0, 50], [1, 2, 170, 6, 0, 50], [1, 2, 180, 6, 0, 50], [1, 2, -170, 6, 0, 50], [1, 2, -160, 6, 0, 50], [1, 2, -150, 6, 0, 50], [1, 2, -140, 6, 0, 50], [1, 2, -130, 6, 0, 50], [1, 2, -120, 6, 0, 50], [1, 2, -110, 6, 0, 50], [1, 2, -100, 6, 0, 50], [1, 2, -90, 6, 0, 50], [1, 2, -80, 6, 0, 50], [1, 2, -70, 6, 0, 50], [1, 2, -60, 6, 0, 50], [1, 2, -50, 6, 0, 50], [1, 2, -40, 6, 0, 50], [1, 2, -30, 6, 0, 50], [1, 2, -20, 6, 0, 50], [1, 2, -10, 6, 0, 50], [0, 2, 90, 7, 0, 60], [0, 2, 93, 7, -15, 60], [0, 2, 87, 7, 15, 60], [1, 2, 0, 5, 0, 50], [1, 2, 10, 5, 0, 50], [1, 2, 20, 5, 0, 50], [1, 2, 30, 5, 0, 50], [1, 2, 40, 5, 0, 50], [1, 2, 50, 5, 0, 50], [1, 2, 60, 5, 0, 50], [1, 2, 70, 5, 0, 50], [1, 2, 80, 5, 0, 50], [1, 2, 90, 5, 0, 50], [1, 2, 100, 5, 0, 50], [1, 2, 110, 5, 0, 50], [1, 2, 120, 5, 0, 50], [1, 2, 130, 5, 0, 50], [1, 2, 140, 5, 0, 50], [1, 2, 150, 5, 0, 50], [1, 2, 160, 5, 0, 50], [1, 2, 170, 5, 0, 50], [1, 2, 180, 5, 0, 50], [1, 2, -170, 5, 0, 50], [1, 2, -160, 5, 0, 50], [1, 2, -150, 5, 0, 50], [1, 2, -140, 5, 0, 50], [1, 2, -130, 5, 0, 50], [1, 2, -120, 5, 0, 50], [1, 2, -110, 5, 0, 50], [1, 2, -100, 5, 0, 50], [1, 2, -90, 5, 0, 50], [1, 2, -80, 5, 0, 50], [1, 2, -70, 5, 0, 50], [1, 2, -60, 5, 0, 50], [1, 2, -50, 5, 0, 50], [1, 2, -40, 5, 0, 50], [1, 2, -30, 5, 0, 50], [1, 2, -20, 5, 0, 50], [1, 2, -10, 5, 0, 50], [0, 2, 90, 7, 0, 60], [0, 2, 93, 7, -15, 60], [0, 2, 87, 7, 15, 60], [5, 1, 0, 6, -210, 25], [0, 1, 10, 6, -210, 25], [0, 1, 20, 6, -210, 25], [0, 1, 30, 6, -210, 25], [0, 1, 40, 6, -210, 25], [0, 1, 50, 6, -210, 25], [0, 1, 60, 6, -210, 25], [0, 1, 70, 6, -210, 25], [0, 1, 80, 6, -210, 25], [0, 1, 90, 6, -210, 25], [0, 1, 100, 6, -210, 25], [0, 1, 110, 6, -210, 25], [0, 1, 120, 6, -210, 25], [0, 1, 130, 6, -210, 25], [0, 1, 140, 6, -210, 25], [0, 1, 150, 6, -210, 25], [0, 1, 160, 6, -210, 25], [0, 1, 170, 6, -210, 25], [0, 1, 180, 6, -210, 25], [0, 1, -10, 6, -210, 25], [0, 1, -20, 6, -210, 25], [0, 1, -30, 6, -210, 25], [0, 1, -40, 6, -210, 25], [0, 1, -50, 6, -210, 25], [0, 1, -60, 6, -210, 25], [0, 1, -70, 6, -210, 25], [0, 1, -80, 6, -210, 25], [0, 1, -90, 6, -210, 25], [0, 1, -100, 6, -210, 25], [0, 1, -110, 6, -210, 25], [0, 1, -120, 6, -210, 25], [0, 1, -130, 6, -210, 25], [0, 1, -140, 6, -210, 25], [0, 1, -150, 6, -210, 25], [0, 1, -160, 6, -210, 25], [0, 1, -170, 6, -210, 25], [0, 1, 0, 6, 210, 25], [0, 1, 10, 6, 210, 25], [0, 1, 20, 6, 210, 25], [0, 1, 30, 6, 210, 25], [0, 1, 40, 6, 210, 25], [0, 1, 50, 6, 210, 25], [0, 1, 60, 6, 210, 25], [0, 1, 70, 6, 210, 25], [0, 1, 80, 6, 210, 25], [0, 1, 90, 6, 210, 25], [0, 1, 100, 6, 210, 25], [0, 1, 110, 6, 210, 25], [0, 1, 120, 6, 210, 25], [0, 1, 130, 6, 210, 25], [0, 1, 140, 6, 210, 25], [0, 1, 150, 6, 210, 25], [0, 1, 160, 6, 210, 25], [0, 1, 170, 6, 210, 25], [0, 1, 180, 6, 210, 25], [0, 1, -10, 6, 210, 25], [0, 1, -20, 6, 210, 25], [0, 1, -30, 6, 210, 25], [0, 1, -40, 6, 210, 25], [0, 1, -50, 6, 210, 25], [0, 1, -60, 6, 210, 25], [0, 1, -70, 6, 210, 25], [0, 1, -80, 6, 210, 25], [0, 1, -90, 6, 210, 25], [0, 1, -100, 6, 210, 25], [0, 1, -110, 6, 210, 25], [0, 1, -120, 6, 210, 25], [0, 1, -130, 6, 210, 25], [0, 1, -140, 6, 210, 25], [0, 1, -150, 6, 210, 25], [0, 1, -160, 6, 210, 25], [0, 1, -170, 6, 210, 25], [0, 1, 0, 6, 0, 50], [0, 1, 10, 6, 0, 50], [0, 1, 20, 6, 0, 50], [0, 1, 30, 6, 0, 50], [0, 1, 40, 6, 0, 50], [0, 1, 50, 6, 0, 50], [0, 1, 60, 6, 0, 50], [0, 1, 70, 6, 0, 50], [0, 1, 80, 6, 0, 50], [0, 1, 90, 6, 0, 50], [0, 1, 100, 6, 0, 50], [0, 1, 110, 6, 0, 50], [0, 1, 120, 6, 0, 50], [0, 1, 130, 6, 0, 50], [0, 1, 140, 6, 0, 50], [0, 1, 150, 6, 0, 50], [0, 1, 160, 6, 0, 50], [0, 1, 170, 6, 0, 50], [0, 1, 180, 6, 0, 50], [0, 1, -10, 6, 0, 50], [0, 1, -20, 6, 0, 50], [0, 1, -30, 6, 0, 50], [0, 1, -40, 6, 0, 50], [0, 1, -50, 6, 0, 50], [0, 1, -60, 6, 0, 50], [0, 1, -70, 6, 0, 50], [0, 1, -80, 6, 0, 50], [0, 1, -90, 6, 0, 50], [0, 1, -100, 6, 0, 50], [0, 1, -110, 6, 0, 50], [0, 1, -120, 6, 0, 50], [0, 1, -130, 6, 0, 50], [0, 1, -140, 6, 0, 50], [0, 1, -150, 6, 0, 50], [0, 1, -160, 6, 0, 50], [0, 1, -170, 6, 0, 50], [0, 2, 90, 7, 0, 60], [0, 2, 93, 7, -15, 60], [0, 2, 87, 7, 15, 60], [5, 1, 5, 6, -200, 25], [0, 1, 15, 6, -200, 25], [0, 1, 25, 6, -200, 25], [0, 1, 35, 6, -200, 25], [0, 1, 45, 6, -200, 25], [0, 1, 55, 6, -200, 25], [0, 1, 65, 6, -200, 25], [0, 1, 75, 6, -200, 25], [0, 1, 85, 6, -200, 25], [0, 1, 95, 6, -200, 25], [0, 1, 105, 6, -200, 25], [0, 1, 115, 6, -200, 25], [0, 1, 125, 6, -200, 25], [0, 1, 135, 6, -200, 25], [0, 1, 145, 6, -200, 25], [0, 1, 155, 6, -200, 25], [0, 1, 165, 6, -200, 25], [0, 1, 175, 6, -200, 25], [0, 1, 185, 6, -200, 25], [0, 1, -15, 6, -200, 25], [0, 1, -25, 6, -200, 25], [0, 1, -35, 6, -200, 25], [0, 1, -45, 6, -200, 25], [0, 1, -55, 6, -200, 25], [0, 1, -65, 6, -200, 25], [0, 1, -75, 6, -200, 25], [0, 1, -85, 6, -200, 25], [0, 1, -95, 6, -200, 25], [0, 1, -105, 6, -200, 25], [0, 1, -115, 6, -200, 25], [0, 1, -125, 6, -200, 25], [0, 1, -135, 6, -200, 25], [0, 1, -145, 6, -200, 25], [0, 1, -155, 6, -200, 25], [0, 1, -165, 6, -200, 25], [0, 1, -175, 6, -200, 25], [0, 1, 5, 6, 200, 25], [0, 1, 15, 6, 200, 25], [0, 1, 25, 6, 200, 25], [0, 1, 35, 6, 200, 25], [0, 1, 45, 6, 200, 25], [0, 1, 55, 6, 200, 25], [0, 1, 65, 6, 200, 25], [0, 1, 75, 6, 200, 25], [0, 1, 85, 6, 200, 25], [0, 1, 95, 6, 200, 25], [0, 1, 105, 6, 200, 25], [0, 1, 115, 6, 200, 25], [0, 1, 125, 6, 200, 25], [0, 1, 135, 6, 200, 25], [0, 1, 145, 6, 200, 25], [0, 1, 155, 6, 200, 25], [0, 1, 165, 6, 200, 25], [0, 1, 175, 6, 200, 25], [0, 1, 185, 6, 200, 25], [0, 1, -15, 6, 200, 25], [0, 1, -25, 6, 200, 25], [0, 1, -35, 6, 200, 25], [0, 1, -45, 6, 200, 25], [0, 1, -55, 6, 200, 25], [0, 1, -65, 6, 200, 25], [0, 1, -75, 6, 200, 25], [0, 1, -85, 6, 200, 25], [0, 1, -95, 6, 200, 25], [0, 1, -105, 6, 200, 25], [0, 1, -115, 6, 200, 25], [0, 1, -125, 6, 200, 25], [0, 1, -135, 6, 200, 25], [0, 1, -145, 6, 200, 25], [0, 1, -155, 6, 200, 25], [0, 1, -165, 6, 200, 25], [0, 1, -175, 6, 200, 25], [0, 1, 5, 6, 0, 0], [0, 1, 15, 6, 0, 0], [0, 1, 25, 6, 0, 0], [0, 1, 35, 6, 0, 0], [0, 1, 45, 6, 0, 0], [0, 1, 55, 6, 0, 0], [0, 1, 65, 6, 0, 0], [0, 1, 75, 6, 0, 0], [0, 1, 85, 6, 0, 0], [0, 1, 95, 6, 0, 0], [0, 1, 105, 6, 0, 0], [0, 1, 115, 6, 0, 0], [0, 1, 125, 6, 0, 0], [0, 1, 135, 6, 0, 0], [0, 1, 145, 6, 0, 0], [0, 1, 155, 6, 0, 0], [0, 1, 165, 6, 0, 0], [0, 1, 175, 6, 0, 0], [0, 1, 185, 6, 0, 0], [0, 1, -15, 6, 0, 0], [0, 1, -25, 6, 0, 0], [0, 1, -35, 6, 0, 0], [0, 1, -45, 6, 0, 0], [0, 1, -55, 6, 0, 0], [0, 1, -65, 6, 0, 0], [0, 1, -75, 6, 0, 0], [0, 1, -85, 6, 0, 0], [0, 1, -95, 6, 0, 0], [0, 1, -105, 6, 0, 0], [0, 1, -115, 6, 0, 0], [0, 1, -125, 6, 0, 0], [0, 1, -135, 6, 0, 0], [0, 1, -145, 6, 0, 0], [0, 1, -155, 6, 0, 0], [0, 1, -165, 6, 0, 0], [0, 1, -175, 6, 0, 0], [0, 2, 90, 7, 0, 60], [0, 2, 93, 7, -15, 60], [0, 2, 87, 7, 15, 60], [5, 2, 90, 7, 0, 60], [0, 2, 93, 7, -15, 60], [0, 2, 87, 7, 15, 60], [5, 2, 90, 7, 0, 60], [0, 2, 93, 7, -15, 60], [0, 2, 87, 7, 15, 60]]];
boss_5 = [250, 150, 190001, [[250, 100, 7200]], [[10, 3, 0, 8, 40, 0], [0, 3, 180, 8, -40, 0], [0, 3, 90, 8, 0, 40], [0, 3, -90, 8, 0, -40], [10, 3, 0, 8, 40, 0], [0, 3, 180, 8, -40, 0], [0, 3, 90, 8, 0, 40], [0, 3, -90, 8, 0, -40], [8, 3, 0, 8, 40, 0], [0, 3, 180, 8, -40, 0], [0, 3, 90, 8, 0, 40], [0, 3, -90, 8, 0, -40], [8, 3, 0, 8, 40, 0], [0, 3, 180, 8, -40, 0], [0, 3, 90, 8, 0, 40], [0, 3, -90, 8, 0, -40], [6, 3, 0, 8, 40, 0], [0, 3, 180, 8, -40, 0], [0, 3, 90, 8, 0, 40], [0, 3, -90, 8, 0, -40], [6, 3, 0, 8, 40, 0], [0, 3, 180, 8, -40, 0], [0, 3, 90, 8, 0, 40], [0, 3, -90, 8, 0, -40], [4, 3, 0, 8, 40, 0], [0, 3, 180, 8, -40, 0], [0, 3, 90, 8, 0, 40], [0, 3, -90, 8, 0, -40], [4, 3, 0, 8, 40, 0], [0, 3, 180, 8, -40, 0], [0, 3, 90, 8, 0, 40], [0, 3, -90, 8, 0, -40], [2, 3, 0, 8, 40, 0], [0, 3, 180, 8, -40, 0], [0, 3, 90, 8, 0, 40], [0, 3, -90, 8, 0, -40], [2, 3, 0, 8, 40, 0], [0, 3, 180, 8, -40, 0], [0, 3, 90, 8, 0, 40], [0, 3, -90, 8, 0, -40], [1, 3, 0, 6, 40, 0], [0, 3, 180, 6, -40, 0], [0, 3, 90, 6, 0, 40], [0, 3, -90, 6, 0, -40], [2, 3, -10, 6, 40, 0], [0, 3, 170, 6, -40, 0], [0, 3, 80, 6, 0, 40], [0, 3, -100, 6, 0, -40], [2, 3, -20, 6, 40, 0], [0, 3, 160, 6, -40, 0], [0, 3, 70, 6, 0, 40], [0, 3, -110, 6, 0, -40], [0, 3, -110, 6, 0, -40], [2, 3, -30, 6, 40, 0], [0, 3, 150, 6, -40, 0], [0, 3, 60, 6, 0, 40], [0, 3, -120, 6, 0, -40], [2, 3, -40, 6, 40, 0], [0, 3, 140, 6, -40, 0], [0, 3, 50, 6, 0, 40], [0, 3, -130, 6, 0, -40], [2, 3, -50, 6, 40, 0], [0, 3, 130, 6, -40, 0], [0, 3, 40, 6, 0, 40], [0, 3, -140, 6, 0, -40], [2, 3, -60, 6, 40, 0], [0, 3, 130, 6, -40, 0], [0, 3, 40, 6, 0, 40], [0, 3, -150, 6, 0, -40], [2, 3, -70, 6, 40, 0], [0, 3, 120, 6, -40, 0], [0, 3, 30, 6, 0, 40], [0, 3, -160, 6, 0, -40], [2, 3, -80, 6, 40, 0], [0, 3, 110, 6, -40, 0], [0, 3, 30, 6, 0, 40], [0, 3, -170, 6, 0, -40], [2, 3, -90, 6, 40, 0], [0, 3, 100, 6, -40, 0], [0, 3, 20, 6, 0, 40], [0, 3, -170, 6, 0, -40], [2, 3, -100, 6, 40, 0], [0, 3, 90, 6, -40, 0], [0, 3, 10, 6, 0, 40], [0, 3, -180, 6, 0, -40], [2, 3, -110, 6, 40, 0], [0, 3, 80, 6, -40, 0], [0, 3, 0, 6, 0, 40], [0, 3, 170, 6, 0, -40], [2, 3, -120, 6, 40, 0], [0, 3, 70, 6, -40, 0], [0, 3, -10, 6, 0, 40], [0, 3, 160, 6, 0, -40], [2, 3, -130, 6, 40, 0], [0, 3, 60, 6, -40, 0], [0, 3, -20, 6, 0, 40], [0, 3, 150, 6, 0, -40], [2, 3, -140, 6, 40, 0], [0, 3, 50, 6, -40, 0], [0, 3, -30, 6, 0, 40], [0, 3, 140, 6, 0, -40], [2, 3, -150, 6, 40, 0], [0, 3, 40, 6, -40, 0], [0, 3, -40, 6, 0, 40], [0, 3, 130, 6, 0, -40], [2, 3, -160, 6, 40, 0], [0, 3, 30, 6, -40, 0], [0, 3, -50, 6, 0, 40], [0, 3, 120, 6, 0, -40], [2, 3, -170, 6, 40, 0], [0, 3, 20, 6, -40, 0], [0, 3, -60, 6, 0, 40], [0, 3, 110, 6, 0, -40], [2, 3, -180, 6, 40, 0], [0, 3, 10, 6, -40, 0], [0, 3, -60, 6, 0, 40], [0, 3, 100, 6, 0, -40], [2, 3, 0, 6, 40, 0], [0, 3, 180, 6, -40, 0], [0, 3, 90, 6, 0, 40], [0, 3, -90, 6, 0, -40], [2, 3, -10, 6, 40, 0], [0, 3, 170, 6, -40, 0], [0, 3, 80, 6, 0, 40], [0, 3, -100, 6, 0, -40], [2, 3, -20, 6, 40, 0], [0, 3, 160, 6, -40, 0], [0, 3, 70, 6, 0, 40], [0, 3, -110, 6, 0, -40], [0, 3, -110, 6, 0, -40], [2, 3, -30, 6, 40, 0], [0, 3, 150, 6, -40, 0], [0, 3, 60, 6, 0, 40], [0, 3, -120, 6, 0, -40], [2, 3, -40, 6, 40, 0], [0, 3, 140, 6, -40, 0], [0, 3, 50, 6, 0, 40], [0, 3, -130, 6, 0, -40], [2, 3, -50, 6, 40, 0], [0, 3, 130, 6, -40, 0], [0, 3, 40, 6, 0, 40], [0, 3, -140, 6, 0, -40], [2, 3, -60, 6, 40, 0], [0, 3, 130, 6, -40, 0], [0, 3, 40, 6, 0, 40], [0, 3, -150, 6, 0, -40], [2, 3, -70, 6, 40, 0], [0, 3, 120, 6, -40, 0], [0, 3, 30, 6, 0, 40], [0, 3, -160, 6, 0, -40], [2, 3, -80, 6, 40, 0], [0, 3, 110, 6, -40, 0], [0, 3, 30, 6, 0, 40], [0, 3, -170, 6, 0, -40], [2, 3, -90, 6, 40, 0], [0, 3, 100, 6, -40, 0], [0, 3, 20, 6, 0, 40], [0, 3, -170, 6, 0, -40], [2, 3, -100, 6, 40, 0], [0, 3, 90, 6, -40, 0], [0, 3, 10, 6, 0, 40], [0, 3, -180, 6, 0, -40], [2, 3, -110, 6, 40, 0], [0, 3, 80, 6, -40, 0], [0, 3, 0, 6, 0, 40], [0, 3, 170, 6, 0, -40], [2, 3, -120, 6, 40, 0], [0, 3, 70, 6, -40, 0], [0, 3, -10, 6, 0, 40], [0, 3, 160, 6, 0, -40], [2, 3, -130, 6, 40, 0], [0, 3, 60, 6, -40, 0], [0, 3, -20, 6, 0, 40], [0, 3, 150, 6, 0, -40], [2, 3, -140, 6, 40, 0], [0, 3, 50, 6, -40, 0], [0, 3, -30, 6, 0, 40], [0, 3, 140, 6, 0, -40], [2, 3, -150, 6, 40, 0], [0, 3, 40, 6, -40, 0], [0, 3, -40, 6, 0, 40], [0, 3, 130, 6, 0, -40], [2, 3, -160, 6, 40, 0], [0, 3, 30, 6, -40, 0], [0, 3, -50, 6, 0, 40], [0, 3, 120, 6, 0, -40], [2, 3, -170, 6, 40, 0], [0, 3, 20, 6, -40, 0], [0, 3, -60, 6, 0, 40], [0, 3, 110, 6, 0, -40], [2, 3, -180, 6, 40, 0], [0, 3, 10, 6, -40, 0], [0, 3, -60, 6, 0, 40], [0, 3, 100, 6, 0, -40], [2, 3, 0, 6, 40, 0], [0, 3, 180, 6, -40, 0], [0, 3, 90, 6, 0, 40], [0, 3, -90, 6, 0, -40], [2, 3, -10, 6, 40, 0], [0, 3, 170, 6, -40, 0], [0, 3, 80, 6, 0, 40], [0, 3, -100, 6, 0, -40], [2, 3, -20, 6, 40, 0], [0, 3, 160, 6, -40, 0], [0, 3, 70, 6, 0, 40], [0, 3, -110, 6, 0, -40], [0, 3, -110, 6, 0, -40], [2, 3, -30, 6, 40, 0], [0, 3, 150, 6, -40, 0], [0, 3, 60, 6, 0, 40], [0, 3, -120, 6, 0, -40], [2, 3, -40, 6, 40, 0], [0, 3, 140, 6, -40, 0], [0, 3, 50, 6, 0, 40], [0, 3, -130, 6, 0, -40], [2, 3, -50, 6, 40, 0], [0, 3, 130, 6, -40, 0], [0, 3, 40, 6, 0, 40], [0, 3, -140, 6, 0, -40], [2, 3, -60, 6, 40, 0], [0, 3, 130, 6, -40, 0], [0, 3, 40, 6, 0, 40], [0, 3, -150, 6, 0, -40], [2, 3, -70, 6, 40, 0], [0, 3, 120, 6, -40, 0], [0, 3, 30, 6, 0, 40], [0, 3, -160, 6, 0, -40], [2, 3, -80, 6, 40, 0], [0, 3, 110, 6, -40, 0], [0, 3, 30, 6, 0, 40], [0, 3, -170, 6, 0, -40], [2, 3, -90, 6, 40, 0], [0, 3, 100, 6, -40, 0], [0, 3, 20, 6, 0, 40], [0, 3, -170, 6, 0, -40], [2, 3, -100, 6, 40, 0], [0, 3, 90, 6, -40, 0], [0, 3, 10, 6, 0, 40], [0, 3, -180, 6, 0, -40], [2, 3, -110, 6, 40, 0], [0, 3, 80, 6, -40, 0], [0, 3, 0, 6, 0, 40], [0, 3, 170, 6, 0, -40], [2, 3, -120, 6, 40, 0], [0, 3, 70, 6, -40, 0], [0, 3, -10, 6, 0, 40], [0, 3, 160, 6, 0, -40], [2, 3, -130, 6, 40, 0], [0, 3, 60, 6, -40, 0], [0, 3, -20, 6, 0, 40], [0, 3, 150, 6, 0, -40], [2, 3, -140, 6, 40, 0], [0, 3, 50, 6, -40, 0], [0, 3, -30, 6, 0, 40], [0, 3, 140, 6, 0, -40], [2, 3, -150, 6, 40, 0], [0, 3, 40, 6, -40, 0], [0, 3, -40, 6, 0, 40], [0, 3, 130, 6, 0, -40], [2, 3, -160, 6, 40, 0], [0, 3, 30, 6, -40, 0], [0, 3, -50, 6, 0, 40], [0, 3, 120, 6, 0, -40], [2, 3, -170, 6, 40, 0], [0, 3, 20, 6, -40, 0], [0, 3, -60, 6, 0, 40], [0, 3, 110, 6, 0, -40], [2, 3, -180, 6, 40, 0], [0, 3, 10, 6, -40, 0], [0, 3, -60, 6, 0, 40], [0, 3, 100, 6, 0, -40], [2, 4, 0, 6, 0, 0], [0, 4, 10, 6, 0, 0], [0, 4, 20, 6, 0, 0], [0, 4, 30, 6, 0, 0], [0, 4, 40, 6, 0, 0], [0, 4, 50, 6, 0, 0], [0, 4, 60, 6, 0, 0], [0, 4, 70, 6, 0, 0], [0, 4, 80, 6, 0, 0], [0, 4, 90, 6, 0, 0], [0, 4, 100, 6, 0, 0], [0, 4, 110, 6, 0, 0], [0, 4, 120, 6, 0, 0], [0, 4, 130, 6, 0, 0], [0, 4, 140, 6, 0, 0], [0, 4, 150, 6, 0, 0], [0, 4, 160, 6, 0, 0], [0, 4, 170, 6, 0, 0], [0, 4, 180, 6, 0, 0], [0, 4, -10, 6, 0, 0], [0, 4, -20, 6, 0, 0], [0, 4, -30, 6, 0, 0], [0, 4, -40, 6, 0, 0], [0, 4, -50, 6, 0, 0], [0, 4, -60, 6, 0, 0], [0, 4, -70, 6, 0, 0], [0, 4, -80, 6, 0, 0], [0, 4, -90, 6, 0, 0], [0, 4, -100, 6, 0, 0], [0, 4, -110, 6, 0, 0], [0, 4, -120, 6, 0, 0], [0, 4, -130, 6, 0, 0], [0, 4, -140, 6, 0, 0], [0, 4, -150, 6, 0, 0], [0, 4, -160, 6, 0, 0], [0, 4, -170, 6, 0, 0], [5, 4, 5, 6, 0, 0], [0, 4, 15, 6, 0, 0], [0, 4, 25, 6, 0, 0], [0, 4, 35, 6, 0, 0], [0, 4, 45, 6, 0, 0], [0, 4, 55, 6, 0, 0], [0, 4, 65, 6, 0, 0], [0, 4, 75, 6, 0, 0], [0, 4, 85, 6, 0, 0], [0, 4, 95, 6, 0, 0], [0, 4, 105, 6, 0, 0], [0, 4, 115, 6, 0, 0], [0, 4, 125, 6, 0, 0], [0, 4, 135, 6, 0, 0], [0, 4, 145, 6, 0, 0], [0, 4, 155, 6, 0, 0], [0, 4, 165, 6, 0, 0], [0, 4, 175, 6, 0, 0], [0, 4, -5, 6, 0, 0], [0, 4, -15, 6, 0, 0], [0, 4, -25, 6, 0, 0], [0, 4, -35, 6, 0, 0], [0, 4, -45, 6, 0, 0], [0, 4, -55, 6, 0, 0], [0, 4, -65, 6, 0, 0], [0, 4, -75, 6, 0, 0], [0, 4, -85, 6, 0, 0], [0, 4, -95, 6, 0, 0], [0, 4, -105, 6, 0, 0], [0, 4, -115, 6, 0, 0], [0, 4, -125, 6, 0, 0], [0, 4, -135, 6, 0, 0], [0, 4, -145, 6, 0, 0], [0, 4, -155, 6, 0, 0], [0, 4, -165, 6, 0, 0], [0, 4, -175, 6, 0, 0], [5, 4, 0, 6, 0, 0], [0, 4, 10, 6, 0, 0], [0, 4, 20, 6, 0, 0], [0, 4, 30, 6, 0, 0], [0, 4, 40, 6, 0, 0], [0, 4, 50, 6, 0, 0], [0, 4, 60, 6, 0, 0], [0, 4, 70, 6, 0, 0], [0, 4, 80, 6, 0, 0], [0, 4, 90, 6, 0, 0], [0, 4, 100, 6, 0, 0], [0, 4, 110, 6, 0, 0], [0, 4, 120, 6, 0, 0], [0, 4, 130, 6, 0, 0], [0, 4, 140, 6, 0, 0], [0, 4, 150, 6, 0, 0], [0, 4, 160, 6, 0, 0], [0, 4, 170, 6, 0, 0], [0, 4, 180, 6, 0, 0], [0, 4, -10, 6, 0, 0], [0, 4, -20, 6, 0, 0], [0, 4, -30, 6, 0, 0], [0, 4, -40, 6, 0, 0], [0, 4, -50, 6, 0, 0], [0, 4, -60, 6, 0, 0], [0, 4, -70, 6, 0, 0], [0, 4, -80, 6, 0, 0], [0, 4, -90, 6, 0, 0], [0, 4, -100, 6, 0, 0], [0, 4, -110, 6, 0, 0], [0, 4, -120, 6, 0, 0], [0, 4, -130, 6, 0, 0], [0, 4, -140, 6, 0, 0], [0, 4, -150, 6, 0, 0], [0, 4, -160, 6, 0, 0], [0, 4, -170, 6, 0, 0], [2, 2, 180, 5, 0, 0], [1, 2, 170, 6, 0, 0], [1, 2, 160, 5, 0, 0], [1, 2, 150, 6, 0, 0], [1, 2, 140, 5, 0, 0], [1, 2, 130, 6, 0, 0], [1, 2, 120, 5, 0, 0], [1, 2, 110, 6, 0, 0], [1, 2, 100, 5, 0, 0], [1, 2, 90, 6, 0, 0], [1, 2, 80, 5, 0, 0], [1, 2, 70, 6, 0, 0], [1, 2, 60, 5, 0, 0], [1, 2, 50, 6, 0, 0], [1, 2, 40, 5, 0, 0], [1, 2, 30, 6, 0, 0], [1, 2, 20, 5, 0, 0], [1, 2, 10, 6, 0, 0], [1, 2, 0, 5, 0, 0], [1, 2, 180, 5, 0, 0], [0, 2, 170, 6, 0, 0], [1, 2, 160, 5, 0, 0], [0, 2, 150, 6, 0, 0], [1, 2, 140, 5, 0, 0], [0, 2, 130, 6, 0, 0], [1, 2, 120, 5, 0, 0], [0, 2, 110, 6, 0, 0], [1, 2, 100, 5, 0, 0], [0, 2, 90, 6, 0, 0], [1, 2, 80, 5, 0, 0], [0, 2, 70, 6, 0, 0], [1, 2, 60, 5, 0, 0], [0, 2, 50, 6, 0, 0], [1, 2, 40, 5, 0, 0], [0, 2, 30, 6, 0, 0], [1, 2, 20, 5, 0, 0], [0, 2, 10, 6, 0, 0], [1, 2, 0, 5, 0, 0], [1, 4, 180, 5, 0, 0], [0, 4, 170, 6, 0, 0], [1, 4, 160, 5, 0, 0], [0, 4, 150, 6, 0, 0], [1, 4, 140, 5, 0, 0], [0, 4, 130, 6, 0, 0], [1, 4, 120, 5, 0, 0], [0, 4, 110, 6, 0, 0], [1, 4, 100, 5, 0, 0], [0, 4, 90, 6, 0, 0], [1, 4, 80, 5, 0, 0], [0, 4, 70, 6, 0, 0], [1, 4, 60, 5, 0, 0], [0, 4, 50, 6, 0, 0], [1, 4, 40, 5, 0, 0], [0, 4, 30, 6, 0, 0], [1, 4, 20, 5, 0, 0], [0, 4, 10, 6, 0, 0], [1, 4, 0, 5, 0, 0], [10, 4, 0, 6, 0, 0], [0, 4, 10, 6, 0, 0], [0, 4, 20, 6, 0, 0], [0, 4, 30, 6, 0, 0], [0, 4, 40, 6, 0, 0], [0, 4, 50, 6, 0, 0], [0, 4, 60, 6, 0, 0], [0, 4, 70, 6, 0, 0], [0, 4, 80, 6, 0, 0], [0, 4, 90, 6, 0, 0], [0, 4, 100, 6, 0, 0], [0, 4, 110, 6, 0, 0], [0, 4, 120, 6, 0, 0], [0, 4, 130, 6, 0, 0], [0, 4, 140, 6, 0, 0], [0, 4, 150, 6, 0, 0], [0, 4, 160, 6, 0, 0], [0, 4, 170, 6, 0, 0], [0, 4, 180, 6, 0, 0], [0, 4, -10, 6, 0, 0], [0, 4, -20, 6, 0, 0], [0, 4, -30, 6, 0, 0], [0, 4, -40, 6, 0, 0], [0, 4, -50, 6, 0, 0], [0, 4, -60, 6, 0, 0], [0, 4, -70, 6, 0, 0], [0, 4, -80, 6, 0, 0], [0, 4, -90, 6, 0, 0], [0, 4, -100, 6, 0, 0], [0, 4, -110, 6, 0, 0], [0, 4, -120, 6, 0, 0], [0, 4, -130, 6, 0, 0], [0, 4, -140, 6, 0, 0], [0, 4, -150, 6, 0, 0], [0, 4, -160, 6, 0, 0], [0, 4, -170, 6, 0, 0], [5, 4, 5, 6, 0, 0], [0, 4, 15, 6, 0, 0], [0, 4, 25, 6, 0, 0], [0, 4, 35, 6, 0, 0], [0, 4, 45, 6, 0, 0], [0, 4, 55, 6, 0, 0], [0, 4, 65, 6, 0, 0], [0, 4, 75, 6, 0, 0], [0, 4, 85, 6, 0, 0], [0, 4, 95, 6, 0, 0], [0, 4, 105, 6, 0, 0], [0, 4, 115, 6, 0, 0], [0, 4, 125, 6, 0, 0], [0, 4, 135, 6, 0, 0], [0, 4, 145, 6, 0, 0], [0, 4, 155, 6, 0, 0], [0, 4, 165, 6, 0, 0], [0, 4, 175, 6, 0, 0], [0, 4, -5, 6, 0, 0], [0, 4, -15, 6, 0, 0], [0, 4, -25, 6, 0, 0], [0, 4, -35, 6, 0, 0], [0, 4, -45, 6, 0, 0], [0, 4, -55, 6, 0, 0], [0, 4, -65, 6, 0, 0], [0, 4, -75, 6, 0, 0], [0, 4, -85, 6, 0, 0], [0, 4, -95, 6, 0, 0], [0, 4, -105, 6, 0, 0], [0, 4, -115, 6, 0, 0], [0, 4, -125, 6, 0, 0], [0, 4, -135, 6, 0, 0], [0, 4, -145, 6, 0, 0], [0, 4, -155, 6, 0, 0], [0, 4, -165, 6, 0, 0], [0, 4, -175, 6, 0, 0], [5, 4, 0, 6, 0, 0], [0, 4, 10, 6, 0, 0], [0, 4, 20, 6, 0, 0], [0, 4, 30, 6, 0, 0], [0, 4, 40, 6, 0, 0], [0, 4, 50, 6, 0, 0], [0, 4, 60, 6, 0, 0], [0, 4, 70, 6, 0, 0], [0, 4, 80, 6, 0, 0], [0, 4, 90, 6, 0, 0], [0, 4, 100, 6, 0, 0], [0, 4, 110, 6, 0, 0], [0, 4, 120, 6, 0, 0], [0, 4, 130, 6, 0, 0], [0, 4, 140, 6, 0, 0], [0, 4, 150, 6, 0, 0], [0, 4, 160, 6, 0, 0], [0, 4, 170, 6, 0, 0], [0, 4, 180, 6, 0, 0], [0, 4, -10, 6, 0, 0], [0, 4, -20, 6, 0, 0], [0, 4, -30, 6, 0, 0], [0, 4, -40, 6, 0, 0], [0, 4, -50, 6, 0, 0], [0, 4, -60, 6, 0, 0], [0, 4, -70, 6, 0, 0], [0, 4, -80, 6, 0, 0], [0, 4, -90, 6, 0, 0], [0, 4, -100, 6, 0, 0], [0, 4, -110, 6, 0, 0], [0, 4, -120, 6, 0, 0], [0, 4, -130, 6, 0, 0], [0, 4, -140, 6, 0, 0], [0, 4, -150, 6, 0, 0], [0, 4, -160, 6, 0, 0], [0, 4, -170, 6, 0, 0], [5, 4, 5, 6, 0, 0], [0, 4, 15, 6, 0, 0], [0, 4, 25, 6, 0, 0], [0, 4, 35, 6, 0, 0], [0, 4, 45, 6, 0, 0], [0, 4, 55, 6, 0, 0], [0, 4, 65, 6, 0, 0], [0, 4, 75, 6, 0, 0], [0, 4, 85, 6, 0, 0], [0, 4, 95, 6, 0, 0], [0, 4, 105, 6, 0, 0], [0, 4, 115, 6, 0, 0], [0, 4, 125, 6, 0, 0], [0, 4, 135, 6, 0, 0], [0, 4, 145, 6, 0, 0], [0, 4, 155, 6, 0, 0], [0, 4, 165, 6, 0, 0], [0, 4, 175, 6, 0, 0], [0, 4, -5, 6, 0, 0], [0, 4, -15, 6, 0, 0], [0, 4, -25, 6, 0, 0], [0, 4, -35, 6, 0, 0], [0, 4, -45, 6, 0, 0], [0, 4, -55, 6, 0, 0], [0, 4, -65, 6, 0, 0], [0, 4, -75, 6, 0, 0], [0, 4, -85, 6, 0, 0], [0, 4, -95, 6, 0, 0], [0, 4, -105, 6, 0, 0], [0, 4, -115, 6, 0, 0], [0, 4, -125, 6, 0, 0], [0, 4, -135, 6, 0, 0], [0, 4, -145, 6, 0, 0], [0, 4, -155, 6, 0, 0], [0, 4, -165, 6, 0, 0], [0, 4, -175, 6, 0, 0]]];
boss_4 = [250, 100, 140000, [[50, 100, 2500], [100, 100, 2500], [150, 100, 2500], [200, 100, 2500], [250, 100, 2500], [300, 100, 2500], [350, 100, 2500], [400, 100, 2500], [450, 100, 2500]], [[25, 3, 90, 4, -240, 45], [0, 3, 90, 4, -220, 45], [0, 3, 90, 4, -200, 45], [0, 3, 90, 4, -180, 45], [0, 3, 90, 4, -160, 45], [0, 3, 90, 4, -140, 45], [0, 3, 90, 4, -120, 45], [0, 3, 90, 4, -100, 45], [0, 3, 90, 4, -80, 45], [0, 3, 90, 4, -60, 45], [0, 3, 90, 4, -40, 45], [0, 3, 90, 4, 20, 45], [0, 3, 90, 4, 40, 45], [0, 3, 90, 4, 60, 45], [0, 3, 90, 4, 80, 45], [0, 3, 90, 4, 100, 45], [0, 3, 90, 4, 120, 45], [0, 3, 90, 4, 140, 45], [0, 3, 90, 4, 160, 45], [0, 3, 90, 4, 180, 45], [0, 3, 90, 4, 200, 45], [0, 3, 90, 4, 220, 45], [0, 3, 90, 4, 240, 45], [5, 3, 90, 4, -240, 45], [0, 3, 90, 4, -220, 45], [0, 3, 90, 4, -200, 45], [0, 3, 90, 4, -180, 45], [0, 3, 90, 4, -160, 45], [0, 3, 90, 4, -140, 45], [0, 3, 90, 4, -120, 45], [0, 3, 90, 4, -100, 45], [0, 3, 90, 4, -80, 45], [0, 3, 90, 4, -60, 45], [0, 3, 90, 4, 0, 45], [0, 3, 90, 4, 40, 45], [0, 3, 90, 4, 20, 45], [0, 3, 90, 4, 60, 45], [0, 3, 90, 4, 80, 45], [0, 3, 90, 4, 100, 45], [0, 3, 90, 4, 120, 45], [0, 3, 90, 4, 140, 45], [0, 3, 90, 4, 160, 45], [0, 3, 90, 4, 180, 45], [0, 3, 90, 4, 200, 45], [0, 3, 90, 4, 220, 45], [0, 3, 90, 4, 240, 45], [5, 3, 90, 4, -240, 45], [0, 3, 90, 4, -220, 45], [0, 3, 90, 4, -200, 45], [0, 3, 90, 4, -180, 45], [0, 3, 90, 4, -160, 45], [0, 3, 90, 4, -140, 45], [0, 3, 90, 4, -120, 45], [0, 3, 90, 4, -100, 45], [0, 3, 90, 4, -80, 45], [0, 3, 90, 4, -20, 45], [0, 3, 90, 4, 0, 45], [0, 3, 90, 4, 20, 45], [0, 3, 90, 4, 40, 45], [0, 3, 90, 4, 60, 45], [0, 3, 90, 4, 80, 45], [0, 3, 90, 4, 100, 45], [0, 3, 90, 4, 120, 45], [0, 3, 90, 4, 140, 45], [0, 3, 90, 4, 160, 45], [0, 3, 90, 4, 180, 45], [0, 3, 90, 4, 200, 45], [0, 3, 90, 4, 220, 45], [0, 3, 90, 4, 240, 45], [5, 3, 90, 4, -240, 45], [0, 3, 90, 4, -220, 45], [0, 3, 90, 4, -200, 45], [0, 3, 90, 4, -180, 45], [0, 3, 90, 4, -160, 45], [0, 3, 90, 4, -140, 45], [0, 3, 90, 4, -120, 45], [0, 3, 90, 4, -100, 45], [0, 3, 90, 4, -40, 45], [0, 3, 90, 4, -20, 45], [0, 3, 90, 4, 0, 45], [0, 3, 90, 4, 20, 45], [0, 3, 90, 4, 40, 45], [0, 3, 90, 4, 60, 45], [0, 3, 90, 4, 80, 45], [0, 3, 90, 4, 100, 45], [0, 3, 90, 4, 120, 45], [0, 3, 90, 4, 140, 45], [0, 3, 90, 4, 160, 45], [0, 3, 90, 4, 180, 45], [0, 3, 90, 4, 200, 45], [0, 3, 90, 4, 220, 45], [0, 3, 90, 4, 240, 45], [5, 3, 90, 4, -240, 45], [0, 3, 90, 4, -220, 45], [0, 3, 90, 4, -200, 45], [0, 3, 90, 4, -180, 45], [0, 3, 90, 4, -160, 45], [0, 3, 90, 4, -140, 45], [0, 3, 90, 4, -120, 45], [0, 3, 90, 4, -100, 45], [0, 3, 90, 4, -80, 45], [0, 3, 90, 4, -20, 45], [0, 3, 90, 4, 0, 45], [0, 3, 90, 4, 20, 45], [0, 3, 90, 4, 40, 45], [0, 3, 90, 4, 60, 45], [0, 3, 90, 4, 80, 45], [0, 3, 90, 4, 100, 45], [0, 3, 90, 4, 120, 45], [0, 3, 90, 4, 140, 45], [0, 3, 90, 4, 160, 45], [0, 3, 90, 4, 180, 45], [0, 3, 90, 4, 200, 45], [0, 3, 90, 4, 220, 45], [0, 3, 90, 4, 240, 45], [5, 3, 90, 4, -240, 45], [0, 3, 90, 4, -220, 45], [0, 3, 90, 4, -200, 45], [0, 3, 90, 4, -180, 45], [0, 3, 90, 4, -160, 45], [0, 3, 90, 4, -140, 45], [0, 3, 90, 4, -120, 45], [0, 3, 90, 4, -100, 45], [0, 3, 90, 4, -80, 45], [0, 3, 90, 4, -60, 45], [0, 3, 90, 4, 0, 45], [0, 3, 90, 4, 20, 45], [0, 3, 90, 4, 40, 45], [0, 3, 90, 4, 60, 45], [0, 3, 90, 4, 80, 45], [0, 3, 90, 4, 100, 45], [0, 3, 90, 4, 120, 45], [0, 3, 90, 4, 140, 45], [0, 3, 90, 4, 160, 45], [0, 3, 90, 4, 180, 45], [0, 3, 90, 4, 200, 45], [0, 3, 90, 4, 220, 45], [0, 3, 90, 4, 240, 45], [5, 3, 90, 4, -240, 45], [0, 3, 90, 4, -220, 45], [0, 3, 90, 4, -200, 45], [0, 3, 90, 4, -180, 45], [0, 3, 90, 4, -160, 45], [0, 3, 90, 4, -140, 45], [0, 3, 90, 4, -120, 45], [0, 3, 90, 4, -100, 45], [0, 3, 90, 4, -80, 45], [0, 3, 90, 4, -60, 45], [0, 3, 90, 4, -40, 45], [0, 3, 90, 4, 20, 45], [0, 3, 90, 4, 40, 45], [0, 3, 90, 4, 60, 45], [0, 3, 90, 4, 80, 45], [0, 3, 90, 4, 100, 45], [0, 3, 90, 4, 120, 45], [0, 3, 90, 4, 140, 45], [0, 3, 90, 4, 160, 45], [0, 3, 90, 4, 180, 45], [0, 3, 90, 4, 200, 45], [0, 3, 90, 4, 220, 45], [0, 3, 90, 4, 240, 45], [5, 3, 90, 4, -240, 45], [0, 3, 90, 4, -220, 45], [0, 3, 90, 4, -200, 45], [0, 3, 90, 4, -180, 45], [0, 3, 90, 4, -160, 45], [0, 3, 90, 4, -140, 45], [0, 3, 90, 4, -120, 45], [0, 3, 90, 4, -100, 45], [0, 3, 90, 4, -80, 45], [0, 3, 90, 4, -60, 45], [0, 3, 90, 4, -40, 45], [0, 3, 90, 4, -20, 45], [0, 3, 90, 4, 60, 45], [0, 3, 90, 4, 80, 45], [0, 3, 90, 4, 100, 45], [0, 3, 90, 4, 120, 45], [0, 3, 90, 4, 140, 45], [0, 3, 90, 4, 160, 45], [0, 3, 90, 4, 180, 45], [0, 3, 90, 4, 200, 45], [0, 3, 90, 4, 220, 45], [0, 3, 90, 4, 240, 45], [5, 3, 90, 4, -240, 45], [0, 3, 90, 4, -220, 45], [0, 3, 90, 4, -200, 45], [0, 3, 90, 4, -180, 45], [0, 3, 90, 4, -160, 45], [0, 3, 90, 4, -140, 45], [0, 3, 90, 4, -120, 45], [0, 3, 90, 4, -100, 45], [0, 3, 90, 4, -80, 45], [0, 3, 90, 4, -60, 45], [0, 3, 90, 4, -40, 45], [0, 3, 90, 4, -20, 45], [0, 3, 90, 4, 60, 45], [0, 3, 90, 4, 80, 45], [0, 3, 90, 4, 100, 45], [0, 3, 90, 4, 120, 45], [0, 3, 90, 4, 140, 45], [0, 3, 90, 4, 160, 45], [0, 3, 90, 4, 180, 45], [0, 3, 90, 4, 200, 45], [0, 3, 90, 4, 220, 45], [0, 3, 90, 4, 240, 45], [5, 3, 90, 4, -240, 45], [0, 3, 90, 4, -220, 45], [0, 3, 90, 4, -200, 45], [0, 3, 90, 4, -180, 45], [0, 3, 90, 4, -160, 45], [0, 3, 90, 4, -140, 45], [0, 3, 90, 4, -120, 45], [0, 3, 90, 4, -100, 45], [0, 3, 90, 4, -80, 45], [0, 3, 90, 4, -60, 45], [0, 3, 90, 4, -40, 45], [0, 3, 90, 4, -20, 45], [0, 3, 90, 4, 40, 45], [0, 3, 90, 4, 60, 45], [0, 3, 90, 4, 80, 45], [0, 3, 90, 4, 100, 45], [0, 3, 90, 4, 120, 45], [0, 3, 90, 4, 140, 45], [0, 3, 90, 4, 160, 45], [0, 3, 90, 4, 180, 45], [0, 3, 90, 4, 200, 45], [0, 3, 90, 4, 220, 45], [0, 3, 90, 4, 240, 45], [5, 3, 90, 4, -220, 45], [0, 3, 90, 4, -200, 45], [0, 3, 90, 4, -180, 45], [0, 3, 90, 4, -160, 45], [0, 3, 90, 4, -140, 45], [0, 3, 90, 4, -120, 45], [0, 3, 90, 4, -100, 45], [0, 3, 90, 4, -80, 45], [0, 3, 90, 4, -60, 45], [0, 3, 90, 4, -40, 45], [0, 3, 90, 4, -20, 45], [0, 3, 90, 4, 40, 45], [0, 3, 90, 4, 60, 45], [0, 3, 90, 4, 80, 45], [0, 3, 90, 4, 100, 45], [0, 3, 90, 4, 120, 45], [0, 3, 90, 4, 140, 45], [0, 3, 90, 4, 160, 45], [0, 3, 90, 4, 180, 45], [0, 3, 90, 4, 200, 45], [0, 3, 90, 4, 220, 45], [5, 3, 90, 4, -200, 45], [0, 3, 90, 4, -180, 45], [0, 3, 90, 4, -160, 45], [0, 3, 90, 4, -140, 45], [0, 3, 90, 4, -120, 45], [0, 3, 90, 4, -100, 45], [0, 3, 90, 4, -80, 45], [0, 3, 90, 4, -60, 45], [0, 3, 90, 4, -40, 45], [0, 3, 90, 4, -20, 45], [0, 3, 90, 4, 40, 45], [0, 3, 90, 4, 60, 45], [0, 3, 90, 4, 80, 45], [0, 3, 90, 4, 100, 45], [0, 3, 90, 4, 120, 45], [0, 3, 90, 4, 140, 45], [0, 3, 90, 4, 160, 45], [0, 3, 90, 4, 180, 45], [0, 3, 90, 4, 200, 45], [5, 3, 90, 4, -180, 45], [0, 3, 90, 4, -160, 45], [0, 3, 90, 4, -140, 45], [0, 3, 90, 4, -120, 45], [0, 3, 90, 4, -100, 45], [0, 3, 90, 4, -80, 45], [0, 3, 90, 4, -60, 45], [0, 3, 90, 4, -40, 45], [0, 3, 90, 4, -20, 45], [0, 3, 90, 4, 40, 45], [0, 3, 90, 4, 60, 45], [0, 3, 90, 4, 80, 45], [0, 3, 90, 4, 100, 45], [0, 3, 90, 4, 120, 45], [0, 3, 90, 4, 140, 45], [0, 3, 90, 4, 160, 45], [0, 3, 90, 4, 180, 45], [5, 3, 90, 4, -160, 45], [0, 3, 90, 4, -140, 45], [0, 3, 90, 4, -120, 45], [0, 3, 90, 4, -100, 45], [0, 3, 90, 4, -80, 45], [0, 3, 90, 4, -60, 45], [0, 3, 90, 4, -40, 45], [0, 3, 90, 4, -20, 45], [0, 3, 90, 4, 40, 45], [0, 3, 90, 4, 60, 45], [0, 3, 90, 4, 80, 45], [0, 3, 90, 4, 100, 45], [0, 3, 90, 4, 120, 45], [0, 3, 90, 4, 140, 45], [0, 3, 90, 4, 160, 45], [5, 3, 90, 4, -140, 45], [0, 3, 90, 4, -120, 45], [0, 3, 90, 4, -100, 45], [0, 3, 90, 4, -80, 45], [0, 3, 90, 4, -60, 45], [0, 3, 90, 4, -40, 45], [0, 3, 90, 4, -20, 45], [0, 3, 90, 4, 40, 45], [0, 3, 90, 4, 60, 45], [0, 3, 90, 4, 80, 45], [0, 3, 90, 4, 100, 45], [0, 3, 90, 4, 120, 45], [0, 3, 90, 4, 140, 45], [5, 3, 90, 4, -120, 45], [0, 3, 90, 4, -100, 45], [0, 3, 90, 4, -80, 45], [0, 3, 90, 4, -60, 45], [0, 3, 90, 4, -40, 45], [0, 3, 90, 4, -20, 45], [0, 3, 90, 4, 40, 45], [0, 3, 90, 4, 60, 45], [0, 3, 90, 4, 80, 45], [0, 3, 90, 4, 100, 45], [0, 3, 90, 4, 120, 45], [5, 3, 90, 4, -100, 45], [0, 3, 90, 4, -80, 45], [0, 3, 90, 4, -60, 45], [0, 3, 90, 4, -40, 45], [0, 3, 90, 4, -20, 45], [0, 3, 90, 4, 40, 45], [0, 3, 90, 4, 60, 45], [0, 3, 90, 4, 80, 45], [0, 3, 90, 4, 100, 45], [5, 3, 90, 4, -40, 45], [0, 3, 90, 4, -20, 45], [0, 3, 90, 4, 40, 45], [0, 3, 90, 4, 60, 45], [5, 3, 90, 4, -40, 45], [0, 3, 90, 4, -20, 45], [0, 3, 90, 4, 40, 45], [0, 3, 90, 4, 60, 45], [5, 3, 90, 4, -40, 45], [0, 3, 90, 4, -20, 45], [0, 3, 90, 4, 40, 45], [0, 3, 90, 4, 60, 45], [5, 3, 90, 4, -40, 45], [0, 3, 90, 4, -20, 45], [0, 3, 90, 4, 40, 45], [0, 3, 90, 4, 60, 45], [80, 4, 100, 7, 0, 45], [0, 4, 90, 7, 0, 45], [0, 4, 80, 7, 0, 45], [0, 4, 100, 7, -50, 45], [0, 4, 90, 7, -50, 45], [0, 4, 80, 7, -50, 45], [5, 4, 100, 7, 50, 45], [0, 4, 90, 7, 50, 45], [0, 4, 80, 7, 50, 45], [0, 4, 100, 7, 20, 45], [0, 4, 90, 7, 20, 45], [0, 4, 80, 7, 20, 45], [5, 4, 100, 7, 80, 45], [0, 4, 90, 7, 80, 45], [0, 4, 80, 7, 80, 45], [0, 4, 100, 7, 100, 45], [0, 4, 90, 7, 100, 45], [0, 4, 80, 7, 100, 45], [5, 4, 100, 7, -80, 45], [0, 4, 90, 7, -80, 45], [0, 4, 80, 7, -80, 45], [0, 4, 100, 7, 0, 45], [0, 4, 90, 7, 0, 45], [0, 4, 80, 7, 0, 45], [5, 4, 100, 7, 20, 45], [0, 4, 90, 7, 20, 45], [0, 4, 80, 7, 20, 45], [0, 4, 100, 7, -50, 45], [0, 4, 90, 7, -50, 45], [0, 4, 80, 7, -50, 45], [5, 4, 100, 7, 50, 45], [0, 4, 90, 7, 50, 45], [0, 4, 80, 7, 50, 45], [0, 4, 100, 7, -150, 45], [0, 4, 90, 7, -150, 45], [0, 4, 80, 7, -150, 45], [10, 3, 66, 3, -240, 45], [1, 3, 68, 3, -220, 45], [1, 3, 70, 3, -200, 45], [1, 3, 72, 3, -180, 45], [1, 3, 74, 3, -160, 45], [1, 3, 76, 3, -140, 45], [1, 3, 78, 3, -120, 45], [1, 3, 80, 3, -100, 45], [1, 3, 82, 3, -80, 45], [1, 3, 84, 3, -60, 45], [1, 3, 86, 3, -40, 45], [1, 3, 88, 3, -20, 45], [1, 3, 90, 3, 0, 45], [1, 3, 92, 3, 20, 45], [1, 3, 94, 3, 40, 45], [1, 3, 96, 3, 60, 45], [1, 3, 98, 3, 80, 45], [1, 3, 100, 3, 100, 45], [1, 3, 102, 3, 120, 45], [1, 3, 104, 3, 140, 45], [1, 3, 106, 3, 160, 45], [1, 3, 108, 3, 180, 45], [1, 3, 110, 3, 200, 45], [1, 3, 112, 3, 220, 45], [1, 3, 114, 3, 240, 45], [1, 4, 66, 6, -230, 45], [1, 4, 68, 6, -210, 45], [1, 4, 70, 6, -190, 45], [1, 4, 72, 6, -170, 45], [1, 4, 74, 6, -150, 45], [1, 4, 76, 6, -130, 45], [1, 4, 78, 6, -110, 45], [1, 4, 80, 6, -90, 45], [1, 4, 82, 6, -70, 45], [1, 4, 84, 6, -50, 45], [1, 4, 86, 6, -30, 45], [1, 4, 88, 6, -10, 45], [1, 4, 90, 6, 10, 45], [1, 4, 92, 6, 30, 45], [1, 4, 94, 6, 50, 45], [1, 4, 96, 6, 70, 45], [1, 4, 98, 6, 90, 45], [1, 4, 100, 6, 110, 45], [1, 4, 102, 6, 130, 45], [1, 4, 104, 6, 150, 45], [1, 4, 106, 6, 170, 45], [1, 4, 108, 6, 190, 45], [1, 4, 110, 6, 210, 45], [1, 4, 112, 6, 230, 45], [1, 4, 114, 6, 250, 45]]];
boss_3 = [250, 100, 100000, [[95, 100, 11250], [407, 100, 11250], [250, 100, 20000]], [[5, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [5, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [5, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [5, 3, 90, 5, 0, 90], [0, 3, 85, 5, 30, 85], [0, 3, 95, 5, -30, 85], [0, 3, 80, 5, 40, 80], [0, 3, 100, 5, -40, 80], [0, 3, 75, 5, 55, 75], [0, 3, 105, 5, -55, 75], [0, 3, 70, 5, 70, 60], [0, 3, 110, 5, -70, 60], [5, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [5, 3, 95, 5, 0, 90], [0, 3, 90, 5, 30, 85], [0, 3, 100, 5, -30, 85], [0, 3, 85, 5, 40, 80], [0, 3, 105, 5, -40, 80], [0, 3, 80, 5, 55, 75], [0, 3, 110, 5, -55, 75], [0, 3, 75, 5, 70, 60], [0, 3, 115, 5, -70, 60], [5, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [5, 3, 100, 5, 0, 90], [0, 3, 95, 5, 30, 85], [0, 3, 105, 5, -30, 85], [0, 3, 90, 5, 40, 80], [0, 3, 110, 5, -40, 80], [0, 3, 85, 5, 55, 75], [0, 3, 115, 5, -55, 75], [0, 3, 80, 5, 70, 60], [0, 3, 120, 5, -70, 60], [5, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [5, 3, 95, 5, 0, 90], [0, 3, 90, 5, 30, 85], [0, 3, 100, 5, -30, 85], [0, 3, 85, 5, 40, 80], [0, 3, 105, 5, -40, 80], [0, 3, 80, 5, 55, 75], [0, 3, 110, 5, -55, 75], [0, 3, 75, 5, 70, 60], [0, 3, 115, 5, -70, 60], [5, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [5, 3, 90, 5, 0, 90], [0, 3, 85, 5, 30, 85], [0, 3, 95, 5, -30, 85], [0, 3, 80, 5, 40, 80], [0, 3, 100, 5, -40, 80], [0, 3, 75, 5, 55, 75], [0, 3, 105, 5, -55, 75], [0, 3, 70, 5, 70, 60], [0, 3, 110, 5, -70, 60], [5, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [5, 3, 85, 5, 0, 90], [0, 3, 80, 5, 30, 85], [0, 3, 90, 5, -30, 85], [0, 3, 75, 5, 40, 80], [0, 3, 95, 5, -40, 80], [0, 3, 70, 5, 55, 75], [0, 3, 100, 5, -55, 75], [0, 3, 65, 5, 70, 60], [0, 3, 105, 5, -70, 60], [5, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [5, 3, 90, 5, 0, 90], [0, 3, 85, 5, 30, 85], [0, 3, 95, 5, -30, 85], [0, 3, 80, 5, 40, 80], [0, 3, 100, 5, -40, 80], [0, 3, 75, 5, 55, 75], [0, 3, 105, 5, -55, 75], [0, 3, 70, 5, 70, 60], [0, 3, 110, 5, -70, 60], [5, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [5, 3, 95, 5, 0, 90], [0, 3, 90, 5, 30, 85], [0, 3, 100, 5, -30, 85], [0, 3, 85, 5, 40, 80], [0, 3, 105, 5, -40, 80], [0, 3, 80, 5, 55, 75], [0, 3, 110, 5, -55, 75], [0, 3, 75, 5, 70, 60], [0, 3, 115, 5, -70, 60], [5, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [5, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [5, 3, 130, 6, -70, 60], [2, 3, 120, 6, -55, 75], [2, 3, 110, 6, -40, 80], [2, 3, 100, 6, -30, 85], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [2, 3, 90, 6, 0, 90], [2, 3, 80, 6, 30, 85], [2, 3, 70, 6, 40, 80], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [2, 3, 60, 6, 55, 75], [2, 3, 50, 6, 70, 60], [2, 3, 65, 6, 55, 75], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [2, 3, 75, 6, 40, 80], [2, 3, 85, 6, 30, 85], [2, 3, 95, 6, 0, 90], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [2, 3, 105, 6, -30, 85], [2, 3, 115, 6, -40, 80], [2, 3, 125, 6, -55, 75], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [2, 3, 135, 6, -70, 60], [2, 3, 120, 6, -55, 75], [2, 3, 110, 6, -40, 80], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [2, 3, 100, 6, -30, 85], [2, 3, 90, 6, 0, 90], [2, 3, 80, 6, 30, 85], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [2, 3, 70, 6, 40, 80], [2, 3, 60, 6, 55, 75], [2, 3, 50, 6, 70, 60], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [2, 3, 65, 6, 55, 75], [2, 3, 75, 6, 40, 80], [2, 3, 85, 6, 30, 85], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [2, 3, 95, 6, 0, 90], [2, 3, 105, 6, -30, 85], [2, 3, 115, 6, -40, 80], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [2, 3, 125, 6, -55, 75], [2, 3, 135, 6, -70, 60], [1, 3, 95, 6, 0, 90], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [0, 3, 105, 6, -30, 85], [1, 3, 75, 6, 40, 80], [0, 3, 115, 6, -40, 80], [1, 3, 135, 6, -70, 60], [0, 3, 65, 6, 55, 75], [1, 3, 125, 6, -55, 75], [0, 3, 85, 6, 30, 85], [2, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [5, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [2, 3, 110, 6, -40, 80], [0, 3, 90, 6, 0, 90], [1, 3, 80, 6, 30, 85], [0, 3, 130, 6, -70, 60], [1, 3, 60, 6, 55, 75], [0, 3, 100, 6, -30, 85], [1, 3, 120, 6, -55, 75], [0, 3, 70, 6, 40, 80], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [5, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [5, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [5, 3, 180, 4, -40, 80], [1, 3, 170, 5, -40, 80], [1, 3, 160, 4, -40, 80], [1, 3, 150, 5, -40, 80], [1, 3, 140, 4, -40, 80], [1, 3, 130, 5, -40, 80], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [1, 3, 120, 4, -40, 80], [1, 3, 110, 5, -40, 80], [1, 3, 100, 4, -40, 80], [1, 3, 90, 5, -40, 80], [1, 3, 80, 4, -40, 80], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [1, 3, 70, 5, -40, 80], [1, 3, 60, 4, -40, 80], [1, 3, 50, 5, -40, 80], [1, 3, 40, 4, -40, 80], [1, 3, 30, 5, -40, 80], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [1, 3, 20, 4, -40, 80], [1, 3, 10, 5, -40, 80], [1, 3, 0, 4, -40, 80], [1, 3, 180, 4, 40, 80], [1, 3, 170, 5, 40, 80], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [1, 3, 160, 4, 40, 80], [1, 3, 150, 5, 40, 80], [1, 3, 140, 4, 40, 80], [1, 3, 130, 5, 40, 80], [1, 3, 120, 4, 40, 80], [1, 3, 110, 5, 40, 80], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [1, 3, 100, 4, 40, 80], [1, 3, 90, 5, 40, 80], [1, 3, 80, 4, 40, 80], [1, 3, 70, 5, 40, 80], [1, 3, 60, 4, 40, 80], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [1, 3, 50, 5, 40, 80], [1, 3, 40, 4, 40, 80], [1, 3, 30, 5, 40, 80], [1, 3, 20, 4, 40, 80], [1, 3, 10, 5, 40, 80], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [1, 3, 0, 4, 40, 80], [1, 3, 180, 4, -55, 75], [1, 3, 170, 5, -55, 75], [1, 3, 160, 4, -55, 75], [1, 3, 150, 5, -55, 75], [1, 3, 140, 4, -55, 75], [1, 3, 130, 5, -55, 75], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [1, 3, 120, 4, -55, 75], [1, 3, 110, 5, -55, 75], [1, 3, 100, 4, -55, 75], [1, 3, 90, 5, -55, 75], [1, 3, 80, 4, -55, 75], [1, 3, 70, 5, -55, 75], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [1, 3, 60, 4, -55, 75], [1, 3, 50, 5, -55, 75], [1, 3, 40, 4, -55, 75], [1, 3, 30, 5, -55, 75], [1, 3, 20, 4, -55, 75], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [1, 3, 10, 5, -55, 75], [1, 3, 0, 4, -55, 75], [1, 3, 180, 4, 55, 75], [1, 3, 170, 5, 55, 75], [1, 3, 160, 4, 55, 75], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [1, 3, 150, 5, 55, 75], [1, 3, 140, 4, 55, 75], [1, 3, 130, 5, 55, 75], [1, 3, 120, 4, 55, 75], [1, 3, 110, 5, 55, 75], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [1, 3, 100, 4, 55, 75], [1, 3, 90, 5, 55, 75], [1, 3, 80, 4, 55, 75], [1, 3, 70, 5, 55, 75], [1, 3, 60, 4, 55, 75], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [1, 3, 50, 5, 55, 75], [1, 3, 40, 4, 55, 75], [1, 3, 30, 5, 55, 75], [1, 3, 20, 4, 55, 75], [1, 3, 10, 5, 55, 75], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [1, 3, 0, 4, 55, 75], [5, 2, 90, 5, 0, 90], [0, 2, 90, 5, 30, 85], [0, 2, 90, 5, -30, 85], [0, 2, 90, 5, 40, 80], [0, 2, 90, 5, -40, 80], [0, 2, 90, 5, 55, 75], [0, 2, 90, 5, -55, 75], [0, 2, 90, 5, 70, 60], [0, 2, 90, 5, -70, 60], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [5, 2, 90, 5, 0, 90], [0, 2, 90, 5, 30, 85], [0, 2, 90, 5, -30, 85], [0, 2, 90, 5, 40, 80], [0, 2, 90, 5, -40, 80], [0, 2, 90, 5, 55, 75], [0, 2, 90, 5, -55, 75], [0, 2, 90, 5, 70, 60], [0, 2, 90, 5, -70, 60], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [5, 2, 90, 5, 0, 90], [0, 2, 90, 5, 30, 85], [0, 2, 90, 5, -30, 85], [0, 2, 90, 5, 40, 80], [0, 2, 90, 5, -40, 80], [0, 2, 90, 5, 55, 75], [0, 2, 90, 5, -55, 75], [0, 2, 90, 5, 70, 60], [0, 2, 90, 5, -70, 60], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10], [5, 2, 90, 5, 0, 90], [0, 2, 90, 5, 30, 85], [0, 2, 90, 5, -30, 85], [0, 2, 90, 5, 40, 80], [0, 2, 90, 5, -40, 80], [0, 2, 90, 5, 55, 75], [0, 2, 90, 5, -55, 75], [0, 2, 90, 5, 70, 60], [0, 2, 90, 5, -70, 60], [0, 1, 90, 8, 200, -10], [0, 1, 90, 8, 215, -10], [0, 1, 90, 8, 185, -10], [0, 1, 90, 8, -200, -10], [0, 1, 90, 8, -215, -10], [0, 1, 90, 8, -185, -10]]];
boss_2 = [250, 150, 55000, [[200, 100, 8450], [250, 100, 8450], [300, 100, 8450]], [[10, 3, 80, 7, 50, 40], [0, 3, 100, 7, -50, 40], [1, 3, 85, 7, 50, 40], [0, 3, 95, 7, -50, 40], [1, 3, 90, 7, 50, 40], [0, 3, 90, 7, -50, 40], [1, 3, 95, 7, 50, 40], [0, 3, 85, 7, -50, 40], [1, 3, 100, 7, 50, 40], [0, 3, 80, 7, -50, 40], [1, 3, 105, 7, 50, 40], [0, 3, 75, 7, -50, 40], [1, 3, 110, 7, 50, 40], [0, 3, 70, 7, -50, 40], [1, 3, 115, 7, 50, 40], [1, 4, 80, 7, 50, 40], [0, 4, 100, 7, -50, 40], [1, 4, 85, 7, 50, 40], [0, 4, 95, 7, -50, 40], [1, 4, 90, 7, 50, 40], [0, 4, 90, 7, -50, 40], [1, 4, 95, 7, 50, 40], [0, 4, 85, 7, -50, 40], [1, 4, 100, 7, 50, 40], [0, 4, 80, 7, -50, 40], [1, 4, 105, 7, 50, 40], [0, 4, 75, 7, -50, 40], [1, 4, 110, 7, 50, 40], [0, 4, 70, 7, -50, 40], [50, 4, 0, 3, 50, 25], [0, 4, 0, 3, -50, 25], [2, 3, 10, 4, 50, 25], [0, 3, 10, 4, -50, 25], [2, 4, 20, 3, 50, 25], [0, 4, 20, 3, -50, 25], [2, 3, 30, 4, 50, 25], [0, 3, 30, 4, -50, 25], [2, 4, 40, 3, 50, 25], [0, 4, 40, 3, -50, 25], [2, 3, 50, 4, 50, 25], [0, 3, 50, 4, -50, 25], [2, 4, 60, 3, 50, 25], [0, 4, 60, 3, -50, 25], [2, 3, 70, 4, 50, 25], [0, 3, 70, 4, -50, 25], [2, 4, 80, 3, 50, 25], [0, 4, 80, 3, -50, 25], [2, 3, 90, 4, 50, 25], [0, 3, 90, 4, -50, 25], [2, 4, 100, 3, 50, 25], [0, 4, 100, 3, -50, 25], [2, 3, 110, 4, 50, 25], [0, 3, 110, 4, -50, 25], [2, 4, 120, 3, 50, 25], [0, 4, 120, 3, -50, 25], [2, 3, 130, 4, 50, 25], [0, 3, 130, 4, -50, 25], [2, 4, 140, 3, 50, 25], [0, 4, 140, 3, -50, 25], [2, 3, 150, 4, 50, 25], [0, 3, 150, 4, -50, 25], [2, 4, 160, 3, 50, 25], [0, 4, 160, 3, -40, 25], [2, 3, 170, 4, 50, 25], [0, 4, 170, 4, -50, 25], [2, 3, 180, 3, 50, 25], [0, 3, 180, 3, -50, 25], [20, 4, 0, 3, 50, 25], [0, 4, 0, 3, -50, 25], [1, 3, 10, 4, 50, 25], [0, 3, 10, 4, -50, 25], [1, 4, 20, 3, 50, 25], [0, 4, 20, 3, -50, 25], [1, 3, 30, 4, 50, 25], [0, 3, 30, 4, -50, 25], [1, 4, 40, 3, 50, 25], [0, 4, 40, 3, -50, 25], [1, 3, 50, 4, 50, 25], [0, 3, 50, 4, -50, 25], [1, 4, 60, 3, 50, 25], [0, 4, 60, 3, -50, 25], [1, 3, 70, 4, 50, 25], [0, 3, 70, 4, -50, 25], [1, 4, 80, 3, 50, 25], [0, 4, 80, 3, -50, 25], [1, 3, 90, 4, 50, 25], [0, 3, 90, 4, -50, 25], [1, 4, 100, 3, 50, 25], [0, 4, 100, 3, -50, 25], [1, 3, 110, 4, 50, 25], [0, 3, 110, 4, -50, 25], [1, 4, 120, 3, 50, 25], [0, 4, 120, 3, -50, 25], [1, 3, 130, 4, 50, 25], [0, 3, 130, 4, -50, 25], [1, 4, 140, 3, 50, 25], [0, 4, 140, 3, -50, 25], [1, 3, 150, 4, 50, 25], [0, 3, 150, 4, -50, 25], [1, 4, 160, 3, 50, 25], [0, 4, 160, 3, -40, 25], [1, 3, 170, 4, 50, 25], [0, 4, 170, 4, -50, 25], [1, 3, 180, 3, 50, 25], [0, 3, 180, 3, -50, 25], [60, 2, 90, 8, 50, 40], [2, 2, 90, 8, -50, 40], [2, 2, 95, 8, 50, 40], [2, 2, 85, 8, -50, 40], [2, 2, 85, 8, 50, 40], [2, 2, 95, 8, -50, 40], [2, 2, 90, 8, 50, 40], [2, 2, 90, 8, -50, 40], [2, 2, 90, 8, -50, 40], [2, 2, 95, 8, 50, 40], [2, 2, 85, 8, -50, 40], [2, 2, 85, 8, 50, 40], [2, 2, 95, 8, -50, 40], [2, 2, 90, 8, 50, 40], [2, 2, 90, 8, -50, 40], [2, 2, 90, 8, -50, 40], [2, 2, 95, 8, 50, 40], [2, 2, 85, 8, -50, 40], [2, 2, 85, 8, 50, 40], [2, 2, 95, 8, -50, 40], [2, 2, 90, 8, 50, 40], [2, 2, 90, 8, -50, 40], [1, 2, 90, 8, 50, 40], [1, 2, 90, 8, -50, 40], [1, 2, 95, 8, 50, 40], [1, 2, 85, 8, -50, 40], [1, 2, 85, 8, 50, 40], [1, 2, 95, 8, -50, 40], [1, 2, 90, 8, 50, 40], [1, 2, 90, 8, -50, 40], [1, 2, 90, 8, 50, 40], [1, 2, 90, 8, -50, 40], [1, 2, 95, 8, 50, 40], [1, 2, 85, 8, -50, 40], [1, 2, 85, 8, 50, 40], [1, 2, 95, 8, -50, 40], [1, 2, 90, 8, 50, 40], [1, 2, 90, 8, -50, 40], [1, 2, 90, 8, 50, 40], [1, 2, 90, 8, -50, 40], [1, 2, 95, 8, 50, 40], [1, 2, 85, 8, -50, 40], [1, 2, 85, 8, 50, 40], [1, 2, 95, 8, -50, 40], [1, 2, 90, 8, 50, 40], [1, 2, 90, 8, -50, 40]]];
boss_1 = [250, 100, 30000, [[50, 100, 2500], [100, 100, 2500], [150, 100, 2500], [200, 100, 2500], [250, 100, 2500], [300, 100, 2500], [350, 100, 2500], [400, 100, 2500], [450, 100, 2500]], [[5, 2, 90, 7, 185, 20], [0, 4, 90, 8, 205, 20], [0, 2, 90, 7, 225, 20], [0, 4, 90, 6, 70, 10], [0, 4, 90, 5, 110, 10], [0, 4, 90, 4, 145, 10], [0, 4, 90, 6, -70, 10], [0, 4, 90, 5, -110, 10], [0, 4, 90, 4, -145, 10], [3, 4, 70, 4, -145, 10], [0, 4, 110, 4, 145, 10], [2, 4, 80, 5, -110, 10], [0, 4, 100, 5, 110, 10], [0, 2, 90, 7, -185, 20], [0, 4, 90, 8, -205, 20], [0, 2, 90, 7, -225, 20], [2, 4, 90, 6, -70, 10], [0, 4, 90, 6, 70, 10], [3, 2, 90, 7, 185, 20], [0, 4, 90, 8, 205, 20], [0, 2, 90, 7, 225, 20], [5, 2, 90, 7, -185, 20], [0, 4, 90, 8, -205, 20], [0, 2, 90, 7, -225, 20], [5, 2, 90, 7, 185, 20], [0, 4, 90, 8, 205, 20], [0, 2, 90, 7, 225, 20], [5, 4, 90, 5, 0, 40], [0, 2, 90, 7, -185, 20], [0, 4, 90, 8, -205, 20], [0, 2, 90, 7, -225, 20], [5, 2, 90, 7, 185, 20], [0, 4, 90, 8, 205, 20], [0, 2, 90, 7, 225, 20], [0, 4, 95, 3, 0, 25], [0, 4, 105, 3, 0, 25], [0, 4, 115, 3, 0, 25], [0, 4, 85, 3, 0, 25], [0, 4, 75, 3, 0, 25], [0, 4, 65, 3, 0, 25], [5, 2, 90, 7, -185, 20], [0, 4, 90, 8, -205, 20], [0, 2, 90, 7, -225, 20], [5, 2, 90, 7, 185, 20], [0, 4, 90, 8, 205, 20], [0, 2, 90, 7, 225, 20], [0, 4, 125, 3, 0, 25], [0, 4, 135, 3, 0, 25], [0, 4, 145, 2, 0, 25], [0, 4, 55, 3, 0, 25], [0, 4, 45, 4, 0, 25], [0, 4, 35, 2, 0, 25], [5, 2, 90, 7, -185, 20], [0, 4, 90, 8, -205, 20], [0, 2, 90, 7, -225, 20], [5, 2, 90, 7, 185, 20], [0, 4, 90, 8, 205, 20], [0, 2, 90, 7, 225, 20], [10, 4, 90, 6, 70, 10], [0, 4, 90, 5, 110, 10], [0, 4, 90, 4, 145, 10], [0, 4, 90, 6, -70, 10], [0, 4, 90, 5, -110, 10], [0, 4, 90, 4, -145, 10], [5, 2, 90, 7, -185, 20], [0, 4, 90, 8, -205, 20], [0, 2, 90, 7, -225, 20], [5, 2, 90, 7, 185, 20], [0, 4, 90, 8, 205, 20], [0, 2, 90, 7, 225, 20], [0, 2, 0, 3, 110, 25], [0, 2, 0, 3, -110, 25], [2, 2, 10, 4, 110, 25], [0, 2, 10, 4, -110, 25], [2, 2, 20, 3, 110, 25], [0, 2, 20, 3, -110, 25], [1, 2, 90, 7, -185, 20], [0, 4, 90, 8, -205, 20], [0, 2, 90, 7, -225, 20], [1, 2, 30, 4, 110, 25], [0, 2, 30, 4, -110, 25], [2, 2, 40, 3, 110, 25], [0, 2, 40, 3, -110, 25], [2, 2, 50, 4, 110, 25], [0, 2, 90, 7, 185, 20], [0, 4, 90, 8, 205, 20], [0, 2, 90, 7, 225, 20], [0, 2, 50, 4, -110, 25], [2, 2, 60, 3, 110, 25], [0, 2, 60, 3, -110, 25], [2, 2, 70, 4, 110, 25], [0, 2, 70, 4, -110, 25], [1, 2, 90, 7, -185, 20], [0, 4, 90, 8, -205, 20], [0, 2, 90, 7, -225, 20], [1, 2, 80, 3, 110, 25], [0, 2, 80, 3, -110, 25], [1, 2, 90, 4, 110, 25], [0, 2, 90, 4, -110, 25], [2, 2, 100, 3, 110, 25], [0, 2, 90, 7, 185, 20], [0, 4, 90, 8, 205, 20], [0, 2, 90, 7, 225, 20], [0, 2, 100, 3, -110, 25], [2, 2, 110, 4, 110, 25], [0, 2, 110, 4, -110, 25], [2, 2, 120, 3, 110, 25], [0, 2, 120, 3, -110, 25], [1, 2, 90, 7, -185, 20], [0, 4, 90, 8, -205, 20], [0, 2, 90, 7, -225, 20], [1, 2, 130, 4, 110, 25], [0, 2, 130, 4, -110, 25], [2, 2, 140, 3, 110, 25], [0, 2, 140, 3, -110, 25], [2, 2, 150, 4, 110, 25], [0, 2, 150, 4, -110, 25], [0, 2, 90, 7, 185, 20], [0, 4, 90, 8, 205, 20], [0, 2, 90, 7, 225, 20], [2, 2, 160, 3, 110, 25], [0, 2, 160, 3, -110, 25], [2, 2, 170, 4, 110, 25], [0, 2, 170, 4, -110, 25], [1, 2, 90, 7, -185, 20], [0, 4, 90, 8, -205, 20], [0, 2, 90, 7, -225, 20], [1, 2, 180, 3, 110, 25], [0, 2, 180, 3, -110, 25], [4, 2, 90, 7, 185, 20], [0, 4, 90, 8, 205, 20], [0, 2, 90, 7, 225, 20], [5, 2, 90, 7, -185, 20], [0, 4, 90, 8, -205, 20], [0, 2, 90, 7, -225, 20]]];
boss_0 = [250, 100, 17000, [[180, 100, 16200], [320, 100, 16200]], [[0, 3, 180, 4, 0, 25], [1, 3, 170, 5, 0, 25], [1, 3, 160, 4, 0, 25], [1, 3, 150, 5, 0, 25], [1, 3, 140, 4, 0, 25], [1, 3, 130, 5, 0, 25], [1, 3, 120, 4, 0, 25], [1, 3, 110, 5, 0, 25], [1, 3, 100, 4, 0, 25], [1, 3, 90, 5, 0, 25], [1, 3, 80, 4, 0, 25], [1, 3, 70, 5, 0, 25], [1, 3, 60, 4, 0, 25], [1, 3, 50, 5, 0, 25], [1, 3, 40, 4, 0, 25], [1, 3, 30, 5, 0, 25], [1, 3, 20, 4, 0, 25], [1, 3, 10, 5, 0, 25], [1, 3, 0, 4, 0, 25], [27, 2, 90, 4, 40, 25], [0, 2, 90, 4, -40, 25], [0, 2, 100, 4, 40, 25], [0, 2, 100, 4, -40, 25], [0, 2, 80, 4, 40, 25], [0, 2, 80, 4, -40, 25], [40, 2, 90, 4, 80, 25], [0, 2, 90, 4, -80, 25], [0, 2, 100, 4, 80, 25], [0, 2, 100, 4, -80, 25], [0, 2, 80, 4, 80, 25], [0, 2, 80, 4, -80, 25], [65, 4, 0, 4, 0, 25], [2, 4, 10, 5, 0, 25], [2, 4, 20, 4, 0, 25], [2, 4, 30, 5, 0, 25], [2, 4, 40, 4, 0, 25], [2, 4, 50, 5, 0, 25], [2, 4, 60, 4, 0, 25], [2, 4, 70, 5, 0, 25], [2, 4, 80, 4, 0, 25], [2, 4, 90, 5, 0, 25], [2, 4, 100, 4, 0, 25], [2, 4, 110, 5, 0, 25], [2, 4, 120, 4, 0, 25], [2, 4, 130, 5, 0, 25], [2, 4, 140, 4, 0, 25], [2, 4, 150, 5, 0, 25], [2, 4, 160, 4, 0, 25], [2, 4, 170, 5, 0, 25], [2, 4, 180, 4, 0, 25], [60, 2, 0, 3, 40, 25], [0, 2, 0, 3, -40, 25], [2, 1, 10, 4, 40, 25], [0, 1, 10, 4, -40, 25], [2, 2, 20, 3, 40, 25], [0, 2, 20, 3, -40, 25], [2, 1, 30, 4, 40, 25], [0, 1, 30, 4, -40, 25], [2, 2, 40, 3, 40, 25], [0, 2, 40, 3, -40, 25], [2, 1, 50, 4, 40, 25], [0, 1, 50, 4, -40, 25], [2, 2, 60, 3, 40, 25], [0, 2, 60, 3, -40, 25], [2, 1, 70, 4, 40, 25], [0, 1, 70, 4, -40, 25], [2, 2, 80, 3, 40, 25], [0, 2, 80, 3, -40, 25], [2, 1, 90, 4, 40, 25], [0, 1, 90, 4, -40, 25], [2, 2, 100, 3, 40, 25], [0, 2, 100, 3, -40, 25], [2, 1, 110, 4, 40, 25], [0, 1, 110, 4, -40, 25], [2, 2, 120, 3, 40, 25], [0, 2, 120, 3, -40, 25], [2, 1, 130, 4, 40, 25], [0, 1, 130, 4, -40, 25], [2, 2, 140, 3, 40, 25], [0, 2, 140, 3, -40, 25], [2, 1, 150, 4, 40, 25], [0, 1, 150, 4, -40, 25], [2, 2, 160, 3, 40, 25], [0, 2, 160, 3, -40, 25], [2, 1, 170, 4, 40, 25], [0, 1, 170, 4, -40, 25], [2, 2, 180, 3, 40, 25], [0, 2, 180, 3, -40, 25], [10, 4, 90, 4, 0, 25], [0, 3, 95, 3, 0, 25], [0, 4, 100, 4, 0, 25], [0, 3, 105, 3, 0, 25], [0, 4, 110, 4, 0, 25], [0, 3, 115, 3, 0, 25], [0, 4, 120, 4, 0, 25], [0, 3, 85, 3, 0, 25], [0, 4, 80, 4, 0, 25], [0, 3, 75, 3, 0, 25], [0, 4, 70, 4, 0, 25], [0, 3, 65, 3, 0, 25], [0, 4, 60, 4, 0, 25], [50, 2, 0, 3, 80, 25], [0, 2, 0, 3, -80, 25], [1, 1, 10, 4, 80, 25], [0, 1, 10, 4, -80, 25], [1, 2, 20, 3, 80, 25], [0, 2, 20, 3, -80, 25], [1, 1, 30, 4, 80, 25], [0, 1, 30, 4, -80, 25], [1, 2, 40, 3, 80, 25], [0, 2, 40, 3, -80, 25], [1, 1, 50, 4, 80, 25], [0, 1, 50, 4, -80, 25], [1, 2, 60, 3, 80, 25], [0, 2, 60, 3, -80, 25], [1, 1, 70, 4, 80, 25], [0, 1, 70, 4, -80, 25], [1, 2, 80, 3, 80, 25], [0, 2, 80, 3, -80, 25], [1, 1, 90, 4, 80, 25], [0, 1, 90, 4, -80, 25], [1, 2, 100, 3, 80, 25], [0, 2, 100, 3, -80, 25], [1, 1, 110, 4, 80, 25], [0, 1, 110, 4, -80, 25], [1, 2, 120, 3, 80, 25], [0, 2, 120, 3, -80, 25], [1, 1, 130, 4, 80, 25], [0, 1, 130, 4, -80, 25], [1, 2, 140, 3, 80, 25], [0, 2, 140, 3, -80, 25], [1, 1, 150, 4, 80, 25], [0, 1, 150, 4, -80, 25], [1, 2, 160, 3, 80, 25], [0, 2, 160, 3, -80, 25], [1, 1, 170, 4, 80, 25], [0, 1, 170, 4, -80, 25], [1, 2, 180, 3, 80, 25], [0, 2, 180, 3, -80, 25], [78, 1, 90, 6, 40, 25], [0, 1, 90, 6, -40, 25], [0, 1, 100, 6, 40, 25], [0, 1, 100, 6, -40, 25], [0, 1, 80, 6, 40, 25], [0, 1, 80, 6, -40, 25], [0, 1, 90, 4, 80, 25], [0, 1, 90, 4, -80, 25], [0, 1, 100, 4, 80, 25], [0, 1, 100, 4, -80, 25], [0, 1, 80, 4, 80, 25], [0, 1, 80, 4, -80, 25], [95, 2, 95, 7, 0, 25], [0, 2, 100, 7, 0, 25], [0, 2, 85, 7, 0, 25], [0, 2, 80, 7, 0, 25]]];
level_9 = [[[30, 54, 37, 0, 0, 3], [30, 54, 38, 0, 0, 0], [30, 51, 39, 0, 0, 0], [30, 51, 40, 0, 0, 0], [30, 48, 26, 0, 0, 0], [30, 48, 26, 0, 0, 0], [10, 48, 26, 100, 0, 0], [10, 48, 26, -50, 0, 0], [10, 48, 26, 150, 0, 0], [10, 48, 26, 0, 0, 0], [10, 48, 26, 50, 0, 0], [10, 48, 26, -50, 0, 0], [10, 48, 26, -100, 0, 0], [10, 48, 26, 100, 0, 0], [10, 48, 26, 0, 0, 0], [100, 48, 26, 0, 0, 0], [10, 48, 26, 100, 0, 0], [10, 48, 26, -50, 0, 0], [10, 48, 26, 150, 0, 0], [10, 48, 26, 0, 0, 0], [10, 48, 26, 50, 0, 0], [10, 48, 26, -50, 0, 0], [10, 48, 26, -100, 0, 0], [10, 48, 26, 100, 0, 0], [10, 48, 26, 0, 0, 0], [100, 48, 26, 0, 0, 0], [7, 48, 26, 100, 0, 0], [7, 48, 26, -50, 0, 0], [7, 48, 26, 150, 0, 0], [7, 48, 26, 0, 0, 0], [7, 48, 26, 50, 0, 0], [7, 48, 26, -50, 0, 0], [7, 48, 26, -100, 0, 0], [7, 48, 26, 100, 0, 0], [7, 48, 26, 0, 0, 0], [100, 48, 26, 0, 0, 0], [15, 48, 26, 100, 0, 0], [0, 54, 37, 0, 0, 0], [0, 54, 38, 0, 0, 0], [15, 48, 26, -50, 0, 0], [15, 48, 26, 150, 0, 0], [0, 54, 37, 0, 0, 0], [0, 54, 38, 0, 0, 0], [15, 48, 26, 0, 0, 0], [15, 48, 26, 50, 0, 0], [0, 54, 37, 0, 0, 0], [0, 54, 38, 0, 0, 0], [15, 48, 26, -50, 0, 0], [15, 48, 26, -100, 0, 0], [0, 54, 37, 0, 0, 0], [0, 54, 38, 0, 0, 0], [15, 48, 26, 100, 0, 0], [15, 48, 26, 0, 0, 0], [200, 51, 39, 0, 0, 0], [0, 51, 40, 0, 0, 0], [15, 48, 26, 0, 0, 0], [15, 48, 26, 100, 0, 0], [0, 54, 37, 0, 0, 0], [0, 54, 38, 0, 0, 0], [20, 51, 39, 0, 0, 0], [0, 51, 40, 0, 0, 0], [15, 48, 26, -50, 0, 0], [15, 48, 26, 150, 0, 0], [0, 54, 37, 0, 0, 0], [0, 54, 38, 0, 0, 0], [20, 51, 39, 0, 0, 0], [0, 51, 40, 0, 0, 0], [15, 48, 26, 0, 0, 0], [15, 48, 26, 50, 0, 0], [0, 54, 37, 0, 0, 0], [0, 54, 38, 0, 0, 0], [20, 51, 39, 0, 0, 0], [0, 51, 40, 0, 0, 0], [15, 48, 26, -50, 0, 0], [15, 48, 26, -100, 0, 0], [0, 54, 37, 0, 0, 0], [0, 54, 38, 0, 0, 0], [20, 51, 39, 0, 0, 0], [0, 51, 40, 0, 0, 0], [15, 48, 26, 100, 0, 0], [15, 48, 26, 0, 0, 0], [100, 54, 37, 0, 0, 0], [0, 54, 38, 0, 0, 0], [0, 51, 39, 0, 0, 0], [0, 51, 40, 0, 0, 0], [30, 54, 37, 0, 0, 0], [0, 54, 38, 0, 0, 0], [0, 51, 39, 0, 0, 0], [0, 51, 40, 0, 0, 0], [30, 54, 37, 0, 0, 0], [0, 54, 38, 0, 0, 0], [0, 51, 39, 0, 0, 0], [0, 51, 40, 0, 0, 0], [30, 54, 37, 0, 0, 0], [0, 54, 38, 0, 0, 0], [0, 51, 39, 0, 0, 0], [0, 51, 40, 0, 0, 0], [30, 54, 37, 0, 0, 0], [0, 54, 38, 0, 0, 0], [0, 51, 39, 0, 0, 0], [0, 51, 40, 0, 0, 0]], [[30, 47, 26, 0, 0, 0], [30, 50, 6, 0, 0, 0], [30, 50, 7, 0, 0, 3], [30, 53, 11, 0, 0, 0], [30, 53, 14, 0, 0, 0], [100, 47, 26, 0, 0, 0], [0, 47, 26, -50, 0, 0], [0, 47, 26, 50, 0, 0], [30, 50, 6, 0, 0, 0], [0, 50, 7, 0, 0, 0], [30, 53, 11, 0, 0, 0], [0, 53, 14, 0, 0, 0], [100, 47, 26, -50, 0, 0], [0, 47, 26, 50, 0, 0], [30, 50, 6, 0, 0, 0], [0, 50, 7, 0, 0, 0], [5, 50, 6, 0, 0, 0], [0, 50, 7, 0, 0, 0], [5, 50, 6, 0, 0, 0], [0, 50, 7, 0, 0, 0], [30, 53, 11, 0, 0, 0], [0, 53, 14, 0, 0, 0], [100, 47, 26, -50, 0, 0], [0, 47, 26, 50, 0, 0], [30, 53, 11, 0, 0, 0], [0, 53, 14, 0, 0, 0], [30, 50, 6, 0, 0, 0], [0, 50, 7, 0, 0, 0], [5, 50, 6, 0, 0, 0], [0, 50, 7, 0, 0, 0], [5, 50, 6, 0, 0, 0], [0, 50, 7, 0, 0, 0], [30, 53, 11, 0, 0, 0], [0, 53, 14, 0, 0, 0], [100, 47, 26, 0, 0, 0], [0, 47, 26, -50, 0, 0], [0, 47, 26, 50, 0, 0], [30, 53, 11, 0, 0, 0], [0, 53, 14, 0, 0, 0], [30, 50, 6, 0, 0, 0], [0, 50, 7, 0, 0, 0], [5, 50, 6, 0, 0, 0], [0, 50, 7, 0, 0, 0], [5, 50, 6, 0, 0, 0], [0, 50, 7, 0, 0, 0], [30, 53, 11, 0, 0, 0], [0, 53, 14, 0, 0, 0], [100, 47, 26, 0, 0, 0], [0, 47, 26, -50, 0, 0], [0, 47, 26, 50, 0, 0], [30, 53, 11, 0, 0, 0], [0, 53, 14, 0, 0, 0], [5, 53, 11, 0, 0, 0], [0, 53, 14, 0, 0, 0], [30, 50, 6, 0, 0, 0], [0, 50, 7, 0, 0, 0], [5, 50, 6, 0, 0, 0], [0, 50, 7, 0, 0, 0], [5, 50, 6, 0, 0, 0], [0, 50, 7, 0, 0, 0], [5, 53, 11, 0, 0, 0], [0, 53, 14, 0, 0, 0], [5, 53, 11, 0, 0, 0], [0, 53, 14, 0, 0, 0], [5, 50, 6, 0, 0, 0], [0, 50, 7, 0, 0, 0], [5, 50, 6, 0, 0, 0], [0, 50, 7, 0, 0, 0], [5, 50, 6, 0, 0, 0], [0, 50, 7, 0, 0, 0]], [[30, 49, 24, 0, 0, 0], [30, 49, 25, 0, 0, 0], [30, 52, 13, 0, 0, 3], [30, 52, 12, 0, 0, 0], [30, 55, 18, 0, 0, 0], [30, 55, 17, 0, 0, 0], [100, 52, 13, 0, 0, 0], [0, 52, 12, 0, 0, 0], [10, 55, 18, 0, 0, 0], [0, 55, 17, 0, 0, 0], [10, 52, 13, 0, 0, 0], [0, 52, 12, 0, 0, 0], [10, 55, 18, 0, 0, 0], [0, 55, 17, 0, 0, 0], [10, 52, 13, 0, 0, 0], [0, 52, 12, 0, 0, 0], [10, 55, 18, 0, 0, 0], [0, 55, 17, 0, 0, 0], [10, 55, 18, 0, 0, 0], [0, 55, 17, 0, 0, 0], [10, 52, 13, 0, 0, 0], [0, 52, 12, 0, 0, 0], [10, 55, 18, 0, 0, 0], [0, 55, 17, 0, 0, 0], [200, 52, 13, 0, 0, 0], [0, 52, 12, 0, 0, 0], [8, 55, 18, 0, 0, 0], [0, 55, 17, 0, 0, 0], [8, 52, 13, 0, 0, 0], [0, 52, 12, 0, 0, 0], [8, 55, 18, 0, 0, 0], [0, 55, 17, 0, 0, 0], [8, 52, 13, 0, 0, 0], [0, 52, 12, 0, 0, 0], [8, 55, 18, 0, 0, 0], [0, 55, 17, 0, 0, 0], [8, 55, 18, 0, 0, 0], [0, 55, 17, 0, 0, 0], [8, 52, 13, 0, 0, 0], [0, 52, 12, 0, 0, 0], [8, 55, 18, 0, 0, 0], [0, 55, 17, 0, 0, 0], [100, 52, 13, 0, 0, 0], [0, 52, 12, 0, 0, 0], [10, 55, 18, 0, 0, 0], [0, 55, 17, 0, 0, 0], [20, 49, 24, 0, 0, 0], [0, 49, 25, 0, 0, 0], [10, 52, 13, 0, 0, 0], [0, 52, 12, 0, 0, 0], [10, 55, 18, 0, 0, 0], [0, 55, 17, 0, 0, 0], [10, 52, 13, 0, 0, 0], [0, 52, 12, 0, 0, 0], [10, 55, 18, 0, 0, 0], [0, 55, 17, 0, 0, 0], [20, 49, 24, 0, 0, 0], [0, 49, 25, 0, 0, 0], [10, 55, 18, 0, 0, 0], [0, 55, 17, 0, 0, 0], [10, 52, 13, 0, 0, 0], [0, 52, 12, 0, 0, 0], [10, 55, 18, 0, 0, 0], [0, 55, 17, 0, 0, 0], [100, 52, 13, 0, 0, 0], [0, 52, 12, 0, 0, 0], [5, 55, 18, 0, 0, 0], [0, 55, 17, 0, 0, 0], [5, 52, 13, 0, 0, 0], [0, 52, 12, 0, 0, 0], [5, 55, 18, 0, 0, 0], [0, 55, 17, 0, 0, 0], [10, 49, 24, 0, 0, 0], [0, 49, 25, 0, 0, 0], [5, 52, 13, 0, 0, 0], [0, 52, 12, 0, 0, 0], [5, 55, 18, 0, 0, 0], [0, 55, 17, 0, 0, 0], [10, 49, 24, 0, 0, 0], [0, 49, 25, 0, 0, 0], [5, 55, 18, 0, 0, 0], [0, 55, 17, 0, 0, 0], [5, 52, 13, 0, 0, 0], [0, 52, 12, 0, 0, 0], [10, 49, 24, 0, 0, 3], [0, 49, 25, 0, 0, 3], [5, 55, 18, 0, 0, 0], [0, 55, 17, 0, 0, 0]], [[200, 56, 0, 50, 0, 0], [0, 57, 0, 0, 0, 0], [0, 58, 0, -50, 0, 0], [5, 56, 0, 100, 0, 0], [0, 57, 0, 0, 0, 0], [0, 58, 0, -100, 0, 0], [30, 56, 0, 50, 0, 0], [0, 57, 0, 0, 0, 0], [0, 58, 0, -50, 0, 0], [5, 56, 0, 150, 0, 0], [0, 57, 0, 0, 0, 0], [0, 58, 0, -150, 0, 0], [30, 56, 0, 80, 0, 0], [0, 57, 0, 0, 0, 0], [0, 58, 0, -80, 0, 0], [5, 56, 0, 60, 0, 0], [0, 57, 0, 0, 0, 0], [0, 58, 0, -60, 0, 0], [30, 56, 0, 120, 0, 0], [0, 57, 0, 0, 0, 0], [0, 58, 0, -120, 0, 0], [5, 56, 0, 100, 0, 0], [0, 57, 0, 0, 0, 0], [0, 58, 0, -100, 0, 0], [50, 56, 0, 50, 0, 0], [0, 57, 0, 0, 0, 0], [0, 58, 0, -50, 0, 0], [5, 56, 0, 100, 0, 0], [0, 57, 0, 0, 0, 0], [0, 58, 0, -100, 0, 0], [30, 56, 0, 50, 0, 0], [0, 57, 0, 0, 0, 0], [0, 58, 0, -50, 0, 0], [5, 56, 0, 150, 0, 0], [0, 57, 0, 0, 0, 0], [0, 58, 0, -150, 0, 0], [30, 56, 0, 80, 0, 0], [0, 57, 0, 0, 0, 0], [0, 58, 0, -80, 0, 0], [5, 56, 0, 60, 0, 0], [0, 57, 0, 0, 0, 0], [0, 58, 0, -60, 0, 0], [30, 56, 0, 120, 0, 0], [0, 57, 0, 0, 0, 0], [0, 58, 0, -120, 0, 0], [5, 56, 0, 100, 0, 0], [0, 57, 0, 0, 0, 0], [0, 58, 0, -100, 0, 0]], [[200, 56, 0, 50, 0, 0], [20, 57, 0, 0, 0, 0], [20, 58, 0, -50, 0, 0], [60, 49, 24, 0, 0, 0], [20, 49, 25, 0, 0, 0], [20, 52, 13, 0, 0, 0], [20, 52, 12, 0, 0, 0], [20, 55, 18, 0, 0, 0], [20, 55, 17, 0, 0, 0], [60, 47, 26, 0, 0, 0], [20, 50, 6, 0, 0, 0], [20, 50, 7, 0, 0, 0], [20, 53, 11, 0, 0, 0], [20, 53, 14, 0, 0, 0], [60, 54, 37, 0, 0, 0], [20, 54, 38, 0, 0, 0], [20, 51, 39, 0, 0, 0], [20, 51, 40, 0, 0, 0], [20, 48, 26, 0, 0, 0], [100, 56, 0, 50, 0, 0], [0, 57, 0, 0, 0, 0], [0, 58, 0, -50, 0, 0], [50, 49, 24, 0, 0, 0], [0, 49, 25, 0, 0, 0], [10, 52, 13, 0, 0, 0], [0, 52, 12, 0, 0, 0], [10, 55, 18, 0, 0, 0], [0, 55, 17, 0, 0, 0], [50, 47, 26, 0, 0, 0], [10, 50, 6, 0, 0, 0], [0, 50, 7, 0, 0, 0], [10, 53, 11, 0, 0, 0], [0, 53, 14, 0, 0, 0], [50, 54, 37, 0, 0, 0], [0, 54, 38, 0, 0, 0], [10, 51, 39, 0, 0, 0], [0, 51, 40, 0, 0, 0], [10, 48, 26, 0, 0, 0], [50, 56, 0, 50, 0, 0], [0, 57, 0, 0, 0, 0], [0, 58, 0, -50, 0, 0], [20, 49, 24, 0, 0, 0], [0, 49, 25, 0, 0, 0], [10, 52, 13, 0, 0, 0], [0, 52, 12, 0, 0, 0], [10, 55, 18, 0, 0, 0], [0, 55, 17, 0, 0, 0], [20, 47, 26, 0, 0, 0], [10, 50, 6, 0, 0, 0], [0, 50, 7, 0, 0, 0], [10, 53, 11, 0, 0, 0], [0, 53, 14, 0, 0, 0], [20, 54, 37, 0, 0, 0], [0, 54, 38, 0, 0, 0], [10, 51, 39, 0, 0, 0], [0, 51, 40, 0, 0, 0], [10, 48, 26, 0, 0, 0], [50, 56, 0, 50, 0, 0], [0, 57, 0, 0, 0, 0], [0, 58, 0, -50, 0, 0], [20, 49, 24, 0, 0, 0], [0, 49, 25, 0, 0, 0], [10, 52, 13, 0, 0, 0], [0, 52, 12, 0, 0, 0], [10, 55, 18, 0, 0, 0], [0, 55, 17, 0, 0, 0], [20, 47, 26, 0, 0, 0], [10, 50, 6, 0, 0, 0], [0, 50, 7, 0, 0, 0], [10, 53, 11, 0, 0, 0], [0, 53, 14, 0, 0, 0], [20, 54, 37, 0, 0, 0], [0, 54, 38, 0, 0, 0], [10, 51, 39, 0, 0, 0], [0, 51, 40, 0, 0, 0], [10, 48, 26, 0, 0, 0], [50, 56, 0, 50, 0, 0], [0, 57, 0, 0, 0, 0], [0, 58, 0, -50, 0, 0], [20, 49, 24, 0, 0, 0], [0, 49, 25, 0, 0, 0], [10, 52, 13, 0, 0, 0], [0, 52, 12, 0, 0, 0], [10, 55, 18, 0, 0, 0], [0, 55, 17, 0, 0, 0], [20, 47, 26, 0, 0, 0], [10, 50, 6, 0, 0, 0], [0, 50, 7, 0, 0, 0], [10, 53, 11, 0, 0, 0], [0, 53, 14, 0, 0, 0], [20, 54, 37, 0, 0, 0], [0, 54, 38, 0, 0, 0], [10, 51, 39, 0, 0, 0], [0, 51, 40, 0, 0, 0], [10, 48, 26, 0, 0, 0]], [[200, 58, 26, 0, 0, 0], [15, 57, 26, -50, 0, 0], [15, 56, 26, 50, 0, 0], [15, 55, 26, 0, 0, 0], [15, 54, 26, -20, 0, 0], [15, 53, 26, -100, 0, 0], [15, 52, 26, 30, 0, 0], [15, 51, 26, 90, 0, 0], [15, 50, 26, 20, 0, 0], [15, 49, 26, -150, 0, 0], [15, 48, 26, -30, 0, 0], [15, 47, 26, 80, 0, 0], [15, 46, 26, 50, 0, 0], [15, 45, 26, 0, 0, 0], [15, 44, 26, -20, 0, 0], [15, 43, 26, -100, 0, 0], [15, 42, 26, 30, 0, 0], [15, 41, 26, 90, 0, 0], [15, 40, 26, 20, 0, 0], [15, 39, 26, -150, 0, 0], [15, 38, 26, -30, 0, 0], [15, 37, 26, 80, 0, 0], [15, 36, 26, 50, 0, 0], [15, 35, 26, 0, 0, 0], [15, 34, 26, -20, 0, 0], [15, 33, 26, -100, 0, 0], [15, 32, 26, 30, 0, 0], [15, 31, 26, 90, 0, 0], [15, 30, 26, 20, 0, 0], [15, 29, 26, -150, 0, 0], [15, 28, 26, -30, 0, 0], [15, 27, 26, 80, 0, 0], [15, 26, 26, 50, 0, 0], [15, 25, 26, 0, 0, 0], [15, 24, 26, -20, 0, 0], [15, 23, 26, -100, 0, 0], [15, 22, 26, 30, 0, 0], [15, 21, 26, 90, 0, 0], [15, 20, 26, 20, 0, 0], [15, 19, 26, -150, 0, 0], [15, 18, 26, -30, 0, 0], [15, 17, 26, 80, 0, 0], [15, 16, 26, 50, 0, 0], [15, 15, 26, 0, 0, 0], [15, 14, 26, -20, 0, 0], [15, 13, 26, -100, 0, 0], [15, 12, 26, 30, 0, 0], [15, 11, 26, 90, 0, 0], [15, 10, 26, 20, 0, 0], [15, 9, 26, -150, 0, 0], [15, 8, 26, -30, 0, 0], [15, 7, 26, 80, 0, 0], [15, 6, 26, 50, 0, 0], [15, 5, 26, 0, 0, 0], [15, 4, 26, -20, 0, 0], [15, 3, 26, -100, 0, 0], [15, 2, 26, 30, 0, 0], [15, 1, 26, 90, 0, 0], [15, 0, 26, 20, 0, 0]]];
level_8 = [[[50, 42, 26, 50, 0, 0], [0, 43, 26, -50, 0, 0], [15, 44, 22, 0, 0, 0], [0, 45, 23, 0, 0, 0], [10, 42, 26, 50, 0, 0], [0, 43, 26, -50, 0, 0], [15, 44, 22, 0, 0, 0], [0, 45, 23, 0, 0, 3], [50, 42, 26, 50, 0, 0], [0, 43, 26, -50, 0, 0], [15, 44, 22, 0, 0, 0], [0, 45, 23, 0, 0, 0], [15, 41, 11, 0, 0, 0], [0, 41, 14, 0, 0, 0], [15, 40, 15, 0, 0, 0], [0, 40, 16, 0, 0, 0], [10, 42, 26, 50, 0, 0], [0, 43, 26, -50, 0, 0], [15, 44, 22, 0, 0, 0], [0, 45, 23, 0, 0, 0], [15, 41, 11, 0, 0, 0], [0, 41, 14, 0, 0, 0], [15, 40, 15, 0, 0, 0], [0, 40, 16, 0, 0, 3], [50, 42, 26, 50, 0, 0], [0, 43, 26, -50, 0, 0], [15, 44, 22, 0, 0, 0], [0, 45, 23, 0, 0, 0], [15, 41, 11, 0, 0, 0], [0, 41, 14, 0, 0, 0], [15, 40, 15, 0, 0, 0], [0, 40, 16, 0, 0, 0], [10, 42, 26, 50, 0, 0], [0, 43, 26, -50, 0, 0], [15, 44, 22, 0, 0, 0], [0, 45, 23, 0, 0, 0], [15, 41, 11, 0, 0, 0], [0, 41, 14, 0, 0, 0], [15, 40, 15, 0, 0, 0], [0, 40, 16, 0, 0, 0], [15, 46, 4, 0, 0, 0], [0, 46, 5, 0, 0, 3]], [[100, 42, 26, 0, 0, 0], [5, 43, 26, 20, 0, 0], [5, 42, 26, 40, 0, 0], [5, 43, 26, -20, 0, 0], [5, 42, 26, 60, 0, 3], [5, 43, 26, -40, 0, 0], [5, 42, 26, 20, 0, 0], [5, 43, 26, 0, 0, 0], [5, 42, 26, -10, 0, 0], [5, 43, 26, 50, 0, 0], [5, 42, 26, 70, 0, 0], [5, 43, 26, -50, 0, 0], [50, 42, 26, 0, 0, 0], [3, 43, 26, 20, 0, 0], [3, 42, 26, 40, 0, 0], [3, 43, 26, -20, 0, 0], [3, 42, 26, 60, 0, 3], [3, 43, 26, -40, 0, 0], [3, 42, 26, 20, 0, 0], [3, 43, 26, 0, 0, 0], [3, 42, 26, -10, 0, 0], [3, 43, 26, 50, 0, 0], [3, 42, 26, 70, 0, 0], [3, 43, 26, -50, 0, 0], [10, 42, 26, 0, 0, 0], [3, 43, 26, 20, 0, 0], [3, 42, 26, 40, 0, 0], [3, 43, 26, -20, 0, 0], [3, 42, 26, 60, 0, 3], [3, 43, 26, -40, 0, 0], [3, 42, 26, 20, 0, 0], [3, 43, 26, 0, 0, 0], [3, 42, 26, -10, 0, 0], [3, 43, 26, 50, 0, 0], [3, 42, 26, 70, 0, 0], [3, 43, 26, -50, 0, 0], [100, 42, 26, 0, 0, 0], [0, 37, 26, 150, 0, 3], [0, 37, 26, -150, 0, 3], [15, 43, 26, 20, 0, 0], [15, 42, 26, 40, 0, 0], [15, 43, 26, -20, 0, 0], [15, 42, 26, 60, 0, 3], [15, 43, 26, -40, 0, 0], [15, 42, 26, 20, 0, 0], [15, 43, 26, 0, 0, 0], [15, 42, 26, -10, 0, 0], [15, 43, 26, 50, 0, 0], [15, 42, 26, 70, 0, 0], [15, 43, 26, -50, 0, 0], [100, 42, 26, 0, 0, 0], [0, 37, 26, 150, 0, 0], [0, 37, 26, -150, 0, 0], [5, 43, 26, 20, 0, 0], [5, 42, 26, 40, 0, 0], [5, 43, 26, -20, 0, 0], [5, 42, 26, 60, 0, 3], [5, 43, 26, -40, 0, 0], [5, 42, 26, 20, 0, 0], [5, 43, 26, 0, 0, 0], [5, 42, 26, -10, 0, 0], [5, 43, 26, 50, 0, 0], [5, 42, 26, 70, 0, 0], [5, 43, 26, -50, 0, 0], [100, 37, 26, 150, 0, 0], [0, 37, 26, -150, 0, 0], [15, 42, 26, 50, 0, 0], [0, 43, 26, -50, 0, 0], [15, 44, 22, 0, 0, 0], [0, 45, 23, 0, 0, 0], [15, 41, 11, 0, 0, 0], [0, 41, 14, 0, 0, 0], [15, 40, 15, 0, 0, 0], [0, 40, 16, 0, 0, 0], [10, 42, 26, 50, 0, 0], [0, 43, 26, -50, 0, 0], [15, 44, 22, 0, 0, 0], [0, 45, 23, 0, 0, 0], [15, 41, 11, 0, 0, 0], [0, 41, 14, 0, 0, 0], [15, 40, 15, 0, 0, 0], [0, 40, 16, 0, 0, 0], [15, 46, 4, 0, 0, 0], [0, 46, 5, 0, 0, 3], [50, 37, 26, 150, 0, 0], [0, 37, 26, -150, 0, 0], [15, 42, 26, 50, 0, 0], [0, 43, 26, -50, 0, 0], [15, 44, 22, 0, 0, 0], [0, 45, 23, 0, 0, 0], [15, 41, 11, 0, 0, 0], [0, 41, 14, 0, 0, 0], [15, 40, 15, 0, 0, 0], [0, 40, 16, 0, 0, 0], [10, 42, 26, 50, 0, 0], [0, 43, 26, -50, 0, 0], [15, 44, 22, 0, 0, 0], [0, 45, 23, 0, 0, 0], [15, 41, 11, 0, 0, 0], [0, 41, 14, 0, 0, 0], [15, 40, 15, 0, 0, 0], [0, 40, 16, 0, 0, 0], [15, 46, 4, 0, 0, 0], [0, 46, 5, 0, 0, 3]], [[200, 37, 26, -150, 0, 0], [0, 37, 26, 150, 0, 0], [0, 37, 26, -100, 0, 0], [0, 37, 26, 100, 0, 0], [0, 37, 26, -50, 0, 0], [0, 37, 26, 50, 0, 0], [0, 37, 26, 0, 0, 0], [50, 37, 26, -150, 0, 0], [0, 37, 26, 150, 0, 0], [0, 37, 26, -100, 0, 0], [0, 37, 26, 100, 0, 0], [0, 37, 26, -50, 0, 0], [0, 37, 26, 50, 0, 0], [0, 37, 26, 0, 0, 0], [100, 37, 26, -150, 0, 0], [0, 37, 26, 150, 0, 0], [0, 37, 26, -100, 0, 0], [0, 37, 26, 100, 0, 0], [0, 37, 26, -50, 0, 0], [0, 37, 26, 50, 0, 0], [0, 37, 26, 0, 0, 0], [15, 42, 26, 50, 0, 0], [0, 43, 26, -50, 0, 0], [15, 44, 22, 0, 0, 0], [0, 45, 23, 0, 0, 0], [15, 41, 11, 0, 0, 0], [0, 41, 14, 0, 0, 0], [15, 40, 15, 0, 0, 0], [0, 40, 16, 0, 0, 0], [15, 42, 26, 50, 0, 0], [0, 43, 26, -50, 0, 0], [15, 44, 22, 0, 0, 0], [0, 45, 23, 0, 0, 0], [15, 41, 11, 0, 0, 0], [0, 41, 14, 0, 0, 0], [15, 40, 15, 0, 0, 0], [0, 40, 16, 0, 0, 0], [100, 37, 26, -150, 0, 0], [0, 37, 26, 150, 0, 0], [0, 37, 26, -100, 0, 0], [0, 37, 26, 100, 0, 0], [0, 37, 26, -50, 0, 0], [0, 37, 26, 50, 0, 0], [0, 37, 26, 0, 0, 0], [15, 42, 26, 50, 0, 0], [0, 43, 26, -50, 0, 0], [15, 44, 22, 0, 0, 0], [0, 45, 23, 0, 0, 0], [15, 41, 11, 0, 0, 0], [0, 41, 14, 0, 0, 0], [15, 40, 15, 0, 0, 0], [0, 40, 16, 0, 0, 0], [15, 42, 26, 50, 0, 0], [0, 43, 26, -50, 0, 0], [15, 44, 22, 0, 0, 0], [0, 45, 23, 0, 0, 0], [15, 41, 11, 0, 0, 0], [0, 41, 14, 0, 0, 0], [15, 40, 15, 0, 0, 0], [0, 40, 16, 0, 0, 0]]];
level_7 = [[[100, 38, 0, 0, 0, 3], [150, 35, 26, 0, 0, 0], [15, 35, 26, -50, 0, 0], [15, 35, 26, 0, 0, 0], [15, 35, 26, 100, 0, 0], [15, 35, 26, -20, 0, 0], [15, 35, 26, -60, 0, 0], [15, 35, 26, 0, 0, 0], [15, 35, 26, -100, 0, 0], [15, 35, 26, -20, 0, 0], [15, 35, 26, 40, 0, 0], [150, 35, 26, 0, 0, 0], [15, 35, 26, -50, 0, 0], [15, 35, 26, 0, 0, 0], [15, 35, 26, 100, 0, 0], [15, 35, 26, -20, 0, 0], [0, 36, 27, 0, 0, 0], [15, 35, 26, -60, 0, 0], [15, 35, 26, 0, 0, 0], [15, 35, 26, -100, 0, 0], [15, 35, 26, -20, 0, 0], [15, 35, 26, 40, 0, 0], [0, 36, 28, 0, 0, 0]], [[100, 38, 0, 0, 0, 3], [150, 35, 26, 0, 0, 0], [15, 35, 26, -50, 0, 0], [15, 35, 26, 0, 0, 0], [15, 35, 26, 100, 0, 0], [10, 39, 35, 0, 0, 0], [15, 35, 26, -20, 0, 0], [0, 36, 27, 0, 0, 0], [15, 35, 26, -60, 0, 0], [15, 35, 26, 0, 0, 0], [15, 35, 26, -100, 0, 0], [10, 39, 35, 0, 0, 0], [15, 35, 26, -20, 0, 0], [15, 35, 26, 40, 0, 0], [0, 36, 28, 0, 0, 0]], [[100, 35, 26, 0, 0, 0], [15, 35, 26, -50, 0, 0], [15, 35, 26, 0, 0, 0], [15, 35, 26, 100, 0, 0], [10, 39, 35, 0, 0, 0], [10, 34, 24, 0, 0, 0], [10, 34, 25, 0, 0, 0], [15, 35, 26, -20, 0, 0], [0, 36, 27, 0, 0, 0], [15, 35, 26, -60, 0, 0], [15, 35, 26, 0, 0, 0], [15, 35, 26, -100, 0, 0], [10, 39, 35, 0, 0, 0], [15, 35, 26, -20, 0, 0], [15, 35, 26, 40, 0, 0], [0, 36, 28, 0, 0, 0], [100, 35, 26, 0, 0, 0], [15, 35, 26, -50, 0, 0], [15, 35, 26, 0, 0, 0], [15, 35, 26, 100, 0, 0], [10, 39, 35, 0, 0, 0], [10, 34, 24, 0, 0, 3], [10, 34, 25, 0, 0, 0], [15, 35, 26, -20, 0, 0], [0, 36, 27, 0, 0, 0], [15, 35, 26, -60, 0, 0], [10, 37, 26, 150, 0, 0], [10, 37, 26, -150, 0, 0], [15, 35, 26, 0, 0, 0], [15, 35, 26, -100, 0, 0], [10, 39, 35, 0, 0, 0], [15, 35, 26, -20, 0, 0], [15, 35, 26, 40, 0, 0], [0, 36, 28, 0, 0, 0]], [[120, 33, 24, -50, 0, 0], [20, 33, 25, 50, 0, 0], [20, 29, 4, 0, 0, 0], [20, 29, 5, 0, -50, 0], [20, 31, 15, 0, 0, 0], [20, 31, 16, 0, 0, 0], [20, 32, 27, 0, 0, 0], [20, 32, 28, 0, 0, 0], [100, 38, 0, 0, 0, 3], [100, 35, 26, 0, 0, 0], [20, 33, 24, -50, 0, 0], [20, 33, 25, 50, 0, 0], [25, 35, 26, -50, 0, 0], [25, 35, 26, 0, 0, 0], [25, 35, 26, 100, 0, 0], [20, 39, 35, 0, 0, 0], [20, 34, 24, 0, 0, 0], [20, 34, 25, 0, 0, 0], [25, 35, 26, -20, 0, 0], [0, 36, 27, 0, 0, 0], [25, 35, 26, -60, 0, 0], [20, 29, 4, 0, 0, 0], [20, 29, 5, 0, -50, 0], [20, 37, 26, 150, 0, 0], [20, 37, 26, -150, 0, 0], [25, 35, 26, 0, 0, 0], [25, 35, 26, -100, 0, 0], [20, 31, 15, 0, 0, 0], [20, 31, 16, 0, 0, 0], [20, 39, 35, 0, 0, 0], [25, 35, 26, -20, 0, 0], [25, 35, 26, 40, 0, 0], [0, 36, 28, 0, 0, 0], [20, 32, 27, 0, 0, 0], [20, 32, 28, 0, 0, 0], [100, 35, 26, 0, 0, 0], [10, 33, 24, -50, 0, 0], [10, 33, 25, 50, 0, 0], [15, 35, 26, -50, 0, 0], [15, 35, 26, 0, 0, 0], [15, 35, 26, 100, 0, 0], [10, 39, 35, 0, 0, 0], [10, 34, 24, 0, 0, 3], [10, 34, 25, 0, 0, 0], [15, 35, 26, -20, 0, 0], [0, 36, 27, 0, 0, 0], [15, 35, 26, -60, 0, 0], [10, 29, 4, 0, 0, 0], [10, 29, 5, 0, -50, 0], [10, 37, 26, 150, 0, 0], [10, 37, 26, -150, 0, 0], [15, 35, 26, 0, 0, 0], [15, 35, 26, -100, 0, 0], [10, 31, 15, 0, 0, 0], [10, 31, 16, 0, 0, 0], [10, 39, 35, 0, 0, 0], [15, 35, 26, -20, 0, 0], [15, 35, 26, 40, 0, 0], [0, 36, 28, 0, 0, 0], [10, 32, 27, 0, 0, 0], [10, 32, 28, 0, 0, 0]], [[100, 38, 0, 0, 0, 3], [20, 33, 24, -50, 0, 0], [0, 33, 25, 50, 0, 0], [5, 29, 4, 0, 0, 0], [0, 29, 5, 0, -50, 0], [5, 31, 15, 0, 0, 0], [0, 31, 16, 0, 0, 0], [5, 32, 27, 0, 0, 0], [0, 32, 28, 0, 0, 0], [20, 33, 24, -50, 0, 0], [0, 33, 25, 50, 0, 0], [5, 29, 4, 0, 0, 0], [0, 29, 5, 0, -50, 0], [5, 31, 15, 0, 0, 0], [0, 31, 16, 0, 0, 0], [5, 32, 27, 0, 0, 0], [0, 32, 28, 0, 0, 0], [20, 33, 24, -50, 0, 0], [0, 33, 25, 50, 0, 0], [5, 29, 4, 0, 0, 0], [0, 29, 5, 0, -50, 0], [5, 31, 15, 0, 0, 0], [0, 31, 16, 0, 0, 0], [5, 32, 27, 0, 0, 0], [0, 32, 28, 0, 0, 0], [20, 33, 24, -50, 0, 0], [0, 33, 25, 50, 0, 0], [5, 29, 4, 0, 0, 0], [0, 29, 5, 0, -50, 0], [5, 31, 15, 0, 0, 0], [0, 31, 16, 0, 0, 0], [5, 32, 27, 0, 0, 0], [0, 32, 28, 0, 0, 0]]];
level_6 = [[[30, 0, 0, 0, 0, 3], [30, 1, 1, 0, 0, 0], [30, 2, 2, 0, 0, 0], [30, 8, 9, 0, 0, 0], [30, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [30, 9, 11, 0, 0, 0], [30, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [100, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [10, 9, 11, 0, 0, 3]], [[100, 28, 26, 0, 0, 0], [20, 30, 22, 0, 0, 0], [20, 30, 23, 0, 0, 0], [20, 33, 24, 0, 0, 0], [20, 33, 25, 0, 0, 0], [150, 28, 26, 0, 0, 0], [5, 30, 22, -50, 0, 0], [0, 30, 23, 50, 0, 0], [5, 33, 24, -50, 0, 0], [0, 33, 25, 50, 0, 0], [5, 28, 26, 0, 0, 0], [5, 30, 22, -50, 0, 0], [0, 30, 23, 50, 0, 0], [5, 33, 24, -50, 0, 0], [0, 33, 25, 50, 0, 0], [5, 28, 26, 0, 0, 0], [5, 30, 22, -50, 0, 0], [0, 30, 23, 50, 0, 0], [5, 33, 24, -50, 0, 0], [0, 33, 25, 50, 0, 0], [5, 28, 26, 0, 0, 0], [5, 30, 22, -50, 0, 0], [0, 30, 23, 50, 0, 0], [5, 33, 24, -50, 0, 0], [0, 33, 25, 50, 0, 0], [150, 28, 26, 0, 0, 3], [5, 30, 22, -50, 0, 0], [0, 30, 23, 50, 0, 0], [5, 33, 24, -50, 0, 0], [0, 33, 25, 50, 0, 0], [5, 28, 26, 0, 0, 0], [5, 30, 22, -50, 0, 0], [0, 30, 23, 50, 0, 0], [5, 33, 24, -70, 0, 0], [0, 33, 25, 70, 0, 0], [5, 28, 26, 0, 0, 0], [5, 30, 22, -50, 0, 0], [0, 30, 23, 50, 0, 0], [5, 33, 24, -90, 0, 0], [0, 33, 25, 90, 0, 0], [5, 28, 26, 0, 0, 0], [5, 30, 22, -50, 0, 0], [0, 30, 23, 50, 0, 0], [5, 33, 24, -110, 0, 0], [0, 33, 25, 110, 0, 0], [5, 28, 26, 0, 0, 0], [5, 30, 22, -50, 0, 0], [0, 30, 23, 50, 0, 0], [5, 33, 24, -50, 0, 0], [0, 33, 25, 50, 0, 0], [5, 28, 26, 0, 0, 0], [5, 30, 22, -50, 0, 0], [0, 30, 23, 50, 0, 0], [5, 33, 24, -70, 0, 0], [0, 33, 25, 70, 0, 0], [5, 28, 26, 0, 0, 0], [5, 30, 22, -50, 0, 0], [0, 30, 23, 50, 0, 0], [5, 33, 24, -90, 0, 0], [0, 33, 25, 90, 0, 0], [5, 28, 26, 0, 0, 0], [5, 30, 22, -50, 0, 0], [0, 30, 23, 50, 0, 0], [5, 33, 24, -110, 0, 0], [0, 33, 25, 110, 0, 0], [200, 28, 26, 0, 0, 3], [5, 28, 26, -40, 0, 0], [5, 33, 24, -70, 0, 0], [5, 33, 25, 70, 0, 0], [5, 28, 26, 30, 0, 0], [5, 33, 24, -70, 0, 0], [5, 33, 25, 70, 0, 0], [5, 28, 26, 0, 0, 0], [5, 33, 24, -70, 0, 0], [5, 33, 25, 70, 0, 0], [5, 28, 26, 60, 0, 0], [5, 33, 24, -70, 0, 0], [5, 33, 25, 70, 0, 0], [5, 28, 26, -10, 0, 0], [5, 33, 24, -70, 0, 0], [5, 33, 25, 70, 0, 0], [5, 28, 26, -30, 0, 0], [5, 33, 24, -70, 0, 0], [5, 33, 25, 70, 0, 0], [5, 28, 26, 20, 0, 0], [5, 33, 24, -70, 0, 0], [5, 33, 25, 70, 0, 0], [5, 28, 26, 0, 0, 0], [5, 33, 24, -70, 0, 0], [5, 33, 25, 70, 0, 0], [5, 28, 26, -60, 0, 0], [5, 33, 24, -70, 0, 0], [5, 33, 25, 70, 0, 0], [5, 28, 26, -30, 0, 0], [5, 33, 24, -70, 0, 0], [5, 33, 25, 70, 0, 0], [5, 28, 26, -60, 0, 0], [5, 33, 24, -70, 0, 0], [5, 33, 25, 70, 0, 0]], [[200, 29, 4, 0, 50, 0], [20, 29, 5, 0, -100, 0], [20, 29, 4, 0, 0, 0], [20, 29, 5, 0, -50, 0], [20, 31, 15, 0, 0, 0], [20, 31, 16, 0, 0, 0], [20, 32, 27, 0, 0, 0], [20, 32, 28, 0, 0, 0], [100, 29, 4, 0, 50, 0], [5, 29, 5, 0, -100, 0], [5, 29, 4, 0, 0, 0], [5, 29, 5, 0, -50, 0], [5, 31, 15, 0, 0, 0], [5, 31, 16, 0, 0, 0], [5, 32, 27, 0, 0, 0], [5, 32, 28, 0, 0, 0], [10, 29, 4, 0, 50, 0], [5, 29, 5, 0, -100, 0], [5, 29, 4, 0, 0, 0], [5, 29, 5, 0, -50, 0], [5, 31, 15, 0, 0, 0], [5, 31, 16, 0, 0, 0], [5, 32, 27, 0, 0, 0], [5, 32, 28, 0, 0, 0], [10, 29, 4, 0, 50, 0], [5, 29, 5, 0, -100, 0], [5, 29, 4, 0, 0, 0], [5, 29, 5, 0, -50, 0], [5, 31, 15, 0, 0, 0], [5, 31, 16, 0, 0, 0], [5, 32, 27, 0, 0, 0], [5, 32, 28, 0, 0, 0], [100, 29, 4, 0, 50, 0], [3, 29, 5, 0, -100, 0], [3, 29, 4, 0, 0, 0], [3, 29, 5, 0, -50, 0], [3, 31, 15, 0, 0, 0], [3, 31, 16, 0, 0, 0], [3, 32, 27, 0, 0, 0], [3, 32, 28, 0, 0, 0], [5, 29, 4, 0, 50, 0], [3, 29, 5, 0, -100, 0], [3, 29, 4, 0, 0, 0], [3, 29, 5, 0, -50, 0], [3, 31, 15, 0, 0, 0], [3, 31, 16, 0, 0, 0], [3, 32, 27, 0, 0, 0], [3, 32, 28, 0, 0, 0], [5, 29, 4, 0, 50, 0], [3, 29, 5, 0, -100, 0], [3, 29, 4, 0, 0, 0], [3, 29, 5, 0, -50, 0], [3, 31, 15, 0, 0, 0], [3, 31, 16, 0, 0, 0], [3, 32, 27, 0, 0, 0], [3, 32, 28, 0, 0, 0], [10, 29, 4, 0, 50, 0], [3, 29, 5, 0, -100, 0], [3, 29, 4, 0, 0, 0], [3, 29, 5, 0, -50, 0], [3, 31, 15, 0, 0, 0], [3, 31, 16, 0, 0, 0], [3, 32, 27, 0, 0, 0], [3, 32, 28, 0, 0, 0], [5, 29, 4, 0, 50, 0], [3, 29, 5, 0, -100, 0], [3, 29, 4, 0, 0, 0], [3, 29, 5, 0, -50, 0], [3, 31, 15, 0, 0, 0], [3, 31, 16, 0, 0, 0], [3, 32, 27, 0, 0, 0], [3, 32, 28, 0, 0, 0], [5, 29, 4, 0, 50, 0], [3, 29, 5, 0, -100, 0], [3, 29, 4, 0, 0, 0], [3, 29, 5, 0, -50, 0], [3, 31, 15, 0, 0, 0], [3, 31, 16, 0, 0, 0], [3, 32, 27, 0, 0, 0], [3, 32, 28, 0, 0, 3], [200, 29, 4, 0, 50, 0], [5, 29, 5, 0, -100, 0], [5, 29, 4, 0, 0, 0], [5, 29, 5, 0, -50, 0], [5, 31, 15, 0, 0, 0], [5, 31, 16, 0, 0, 0], [5, 32, 27, 0, 0, 0], [5, 32, 28, 0, 0, 0], [5, 28, 26, 0, 0, 0], [5, 30, 22, -50, 0, 0], [0, 30, 23, 50, 0, 0], [5, 33, 24, -50, 0, 0], [0, 33, 25, 50, 0, 0], [10, 29, 4, 0, 50, 0], [5, 29, 5, 0, -100, 0], [5, 29, 4, 0, 0, 0], [5, 29, 5, 0, -50, 0], [5, 31, 15, 0, 0, 0], [5, 31, 16, 0, 0, 0], [5, 32, 27, 0, 0, 0], [5, 32, 28, 0, 0, 0], [5, 28, 26, 0, 0, 0], [5, 30, 22, -50, 0, 0], [0, 30, 23, 50, 0, 0], [5, 33, 24, -50, 0, 0], [0, 33, 25, 50, 0, 0], [10, 29, 4, 0, 50, 0], [5, 29, 5, 0, -100, 0], [5, 29, 4, 0, 0, 0], [5, 29, 5, 0, -50, 0], [5, 31, 15, 0, 0, 0], [5, 31, 16, 0, 0, 0], [5, 32, 27, 0, 0, 0], [5, 32, 28, 0, 0, 0], [5, 28, 26, 0, 0, 0], [5, 30, 22, -50, 0, 0], [0, 30, 23, 50, 0, 0], [5, 33, 24, -50, 0, 0], [0, 33, 25, 50, 0, 0], [100, 29, 4, 0, 50, 0], [0, 29, 5, 0, -100, 0], [3, 29, 4, 0, 0, 0], [0, 29, 5, 0, -50, 0], [3, 31, 15, 0, 0, 0], [0, 31, 16, 0, 0, 0], [3, 32, 27, 0, 0, 0], [0, 32, 28, 0, 0, 0], [3, 28, 26, 0, 0, 0], [3, 30, 22, -50, 0, 0], [0, 30, 23, 50, 0, 0], [3, 33, 24, -50, 0, 0], [0, 33, 25, 50, 0, 0], [3, 29, 4, 0, 50, 0], [0, 29, 5, 0, -100, 0], [3, 29, 4, 0, 0, 0], [0, 29, 5, 0, -50, 0], [3, 31, 15, 0, 0, 0], [0, 31, 16, 0, 0, 0], [3, 32, 27, 0, 0, 0], [0, 32, 28, 0, 0, 0], [3, 28, 26, 0, 0, 0], [3, 30, 22, -50, 0, 0], [0, 30, 23, 50, 0, 0], [3, 33, 24, -50, 0, 0], [0, 33, 25, 50, 0, 0], [3, 29, 4, 0, 50, 0], [0, 29, 5, 0, -100, 0], [3, 29, 4, 0, 0, 0], [0, 29, 5, 0, -50, 0], [3, 31, 15, 0, 0, 0], [0, 31, 16, 0, 0, 0], [3, 32, 27, 0, 0, 0], [0, 32, 28, 0, 0, 0], [3, 28, 26, 0, 0, 0], [3, 30, 22, -50, 0, 0], [0, 30, 23, 50, 0, 0], [3, 33, 24, -50, 0, 0], [0, 33, 25, 50, 0, 0]], [[30, 0, 0, 0, 0, 0], [30, 1, 1, 0, 0, 0], [30, 2, 2, 0, 0, 0], [30, 8, 9, 0, 0, 0], [30, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [30, 9, 11, 0, 0, 0], [30, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [100, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [5, 0, 0, 0, 0, 0], [1, 1, 1, -100, 0, 0], [1, 2, 2, 100, 0, 0], [1, 8, 9, 0, 0, 0], [1, 14, 15, 0, 0, 0], [0, 14, 16, 0, 0, 0], [1, 9, 11, 0, 0, 0], [10, 9, 11, 0, 0, 3]]];
level_5 = [[[100, 3, 3, 0, 0, 3], [5, 6, 3, -50, 0, 0], [5, 6, 3, 50, 0, 0], [5, 3, 3, -100, 0, 0], [5, 3, 3, 100, 0, 0], [5, 6, 3, -150, 6, 0], [5, 6, 3, 150, 0, 0], [100, 3, 3, 0, 0, 0], [5, 6, 3, -50, 0, 0], [5, 6, 3, 50, 0, 0], [0, 17, 11, 0, 0, 0], [0, 17, 14, 0, 0, 0], [5, 3, 3, -100, 0, 0], [5, 3, 3, 100, 0, 0], [5, 6, 3, -150, 0, 0], [5, 6, 3, 150, 0, 0], [0, 17, 11, 0, 0, 0], [0, 17, 14, 0, 0, 0], [100, 3, 3, 0, 0, 0], [5, 6, 3, -50, 0, 0], [5, 6, 3, 50, 0, 0], [0, 10, 11, 0, 50, 0], [0, 10, 14, 0, 50, 0], [5, 3, 3, -100, 0, 0], [5, 3, 3, 100, 0, 0], [5, 6, 3, -150, 0, 0], [5, 6, 3, 150, 0, 0], [0, 10, 11, 0, 50, 0], [0, 10, 14, 0, 50, 0], [200, 22, 26, 0, 0, 0], [5, 6, 3, -50, 0, 0], [5, 6, 3, 50, 0, 0], [0, 17, 11, 0, 50, 0], [0, 17, 14, 0, 50, 0], [5, 3, 3, -100, 0, 0], [5, 3, 3, 100, 0, 0], [5, 6, 3, -150, 0, 0], [5, 6, 3, 150, 0, 0], [0, 10, 11, 0, 50, 0], [0, 10, 14, 0, 50, 0], [5, 3, 3, -200, 0, 0], [5, 3, 3, 200, 0, 0], [200, 22, 26, 0, 0, 3], [5, 22, 26, -50, 0, 0], [5, 22, 26, 50, 0, 0], [0, 17, 11, 0, 50, 0], [0, 17, 14, 0, 50, 0], [5, 3, 3, -100, 0, 0], [5, 3, 3, 100, 0, 0], [5, 6, 3, -150, 0, 0], [5, 6, 3, 150, 0, 0], [0, 10, 11, 0, 50, 0], [0, 10, 14, 0, 50, 0]], [[30, 15, 19, 0, 0, 0], [5, 15, 20, 0, 0, 0], [30, 17, 11, 0, 50, 0], [0, 17, 14, 0, 50, 0], [30, 10, 11, 0, 100, 0], [0, 10, 14, 0, 100, 0], [150, 22, 26, 0, 0, 0], [5, 6, 26, -50, 0, 0], [5, 6, 26, 50, 0, 0], [0, 17, 11, 0, 0, 0], [0, 17, 14, 0, 0, 0], [5, 15, 19, 0, 0, 0], [5, 15, 20, 0, 0, 0], [5, 3, 3, -100, 0, 0], [5, 3, 3, 100, 0, 0], [5, 6, 3, -150, 0, 0], [5, 6, 3, 150, 0, 0], [0, 10, 11, 0, 0, 0], [0, 10, 14, 0, 0, 0], [5, 15, 19, 0, 50, 0], [5, 15, 20, 0, 50, 0], [200, 3, 26, 0, 0, 3], [5, 6, 26, -50, 0, 0], [5, 6, 26, 50, 0, 0], [0, 17, 11, 0, 0, 0], [0, 17, 14, 0, 0, 0], [5, 15, 19, 0, 0, 0], [5, 15, 20, 0, 0, 0], [5, 3, 3, -100, 0, 0], [5, 3, 3, 100, 0, 0], [5, 6, 3, -150, 0, 0], [5, 6, 3, 150, 0, 0], [0, 10, 11, 0, 0, 0], [0, 10, 14, 0, 0, 0], [5, 15, 19, 0, 50, 0], [5, 15, 20, 0, 50, 0], [25, 22, 26, 0, 0, 0], [5, 6, 26, -50, 0, 0], [5, 6, 26, 50, 0, 0], [5, 17, 11, 0, 0, 0], [5, 17, 14, 0, 0, 0], [5, 15, 19, 0, 0, 0], [5, 15, 20, 0, 0, 0], [5, 3, 3, -100, 0, 0], [5, 3, 3, 100, 0, 0], [5, 6, 3, -150, 0, 0], [5, 6, 3, 150, 0, 0], [5, 10, 11, 0, 0, 0], [5, 10, 14, 0, 0, 0], [5, 15, 19, 0, 50, 0], [5, 15, 20, 0, 50, 0], [200, 3, 26, 0, 0, 3], [5, 6, 26, -50, 0, 0], [5, 6, 26, 50, 0, 0], [0, 17, 11, 0, 0, 0], [0, 17, 14, 0, 0, 0], [5, 15, 19, 0, 0, 0], [5, 15, 20, 0, 0, 0], [5, 3, 26, -100, 0, 0], [5, 3, 26, 100, 0, 0], [5, 6, 26, -150, 0, 0], [5, 6, 26, 150, 0, 0], [0, 10, 11, 0, 0, 0], [0, 10, 14, 0, 0, 0], [5, 15, 19, 0, 50, 0], [5, 15, 20, 0, 50, 0], [25, 3, 26, 0, 0, 3], [5, 6, 26, -50, 0, 0], [5, 6, 26, 50, 0, 0], [0, 17, 11, 0, 0, 0], [0, 17, 14, 0, 0, 0], [5, 15, 19, 0, 0, 0], [5, 15, 20, 0, 0, 0], [5, 3, 26, -100, 0, 0], [5, 3, 26, 100, 0, 0], [5, 6, 26, -150, 0, 0], [5, 6, 26, 150, 0, 0], [0, 10, 11, 0, 0, 0], [0, 10, 14, 0, 0, 0], [5, 15, 19, 0, 50, 0], [5, 15, 20, 0, 50, 0]], [[200, 22, 26, 0, 0, 3], [5, 22, 26, -50, 0, 0], [0, 22, 26, 50, 0, 0], [5, 22, 26, -100, 0, 0], [0, 22, 26, 100, 0, 0], [200, 22, 26, 0, 0, 0], [5, 22, 26, -50, 0, 0], [0, 22, 26, 50, 0, 0], [5, 22, 26, -100, 0, 0], [0, 22, 26, 100, 0, 0], [150, 22, 26, 0, 0, 0], [5, 22, 26, -50, 0, 0], [0, 22, 26, 50, 0, 0], [5, 22, 26, -100, 0, 0], [0, 22, 26, 100, 0, 0], [100, 10, 11, 0, 0, 0], [0, 10, 14, 0, 0, 0]], [[150, 3, 26, 0, 0, 0], [5, 6, 26, -50, 0, 0], [0, 6, 26, 50, 0, 0], [5, 3, 26, -100, 0, 0], [0, 3, 26, 100, 0, 0], [5, 6, 26, -150, 0, 0], [0, 6, 26, 150, 0, 0], [150, 3, 26, 0, 0, 0], [5, 6, 26, -50, 0, 0], [0, 6, 26, 50, 0, 0], [5, 3, 26, -100, 0, 0], [0, 3, 26, 100, 0, 0], [5, 6, 26, -150, 0, 0], [0, 6, 26, 150, 0, 0], [50, 3, 26, 0, 0, 0], [5, 6, 26, -50, 0, 0], [0, 6, 26, 50, 0, 0], [5, 3, 26, -100, 0, 0], [0, 3, 26, 100, 0, 0], [5, 6, 26, -150, 0, 0], [0, 6, 26, 150, 0, 0], [50, 3, 26, 0, 0, 0], [5, 6, 26, -50, 0, 0], [0, 6, 26, 50, 0, 0], [5, 3, 26, -100, 0, 0], [0, 3, 26, 100, 0, 0], [5, 6, 26, -150, 0, 0], [0, 6, 26, 150, 0, 0], [50, 3, 26, 0, 0, 0], [5, 6, 26, -50, 0, 0], [0, 6, 26, 50, 0, 0], [5, 3, 26, -100, 0, 0], [0, 3, 26, 100, 0, 0], [5, 6, 26, -150, 0, 0], [0, 6, 26, 150, 0, 0], [50, 3, 26, 0, 0, 0], [5, 6, 26, -50, 0, 0], [0, 6, 26, 50, 0, 0], [5, 3, 26, -100, 0, 0], [0, 3, 26, 100, 0, 0], [5, 6, 26, -150, 0, 0], [0, 6, 26, 150, 0, 0], [30, 3, 26, 0, 0, 0], [5, 6, 26, -50, 0, 0], [0, 6, 26, 50, 0, 0], [5, 3, 26, -100, 0, 0], [0, 3, 26, 100, 0, 0], [5, 6, 26, -150, 0, 0], [0, 6, 26, 150, 0, 0], [20, 3, 26, 0, 0, 0], [5, 6, 26, -50, 0, 0], [0, 6, 26, 50, 0, 0], [5, 3, 26, -100, 0, 0], [0, 3, 26, 100, 0, 0], [5, 6, 26, -150, 0, 0], [0, 6, 26, 150, 0, 0], [10, 3, 26, 0, 0, 0], [5, 6, 26, -50, 0, 0], [0, 6, 26, 50, 0, 0], [5, 3, 26, -100, 0, 0], [0, 3, 26, 100, 0, 0], [5, 6, 26, -150, 0, 0], [0, 6, 26, 150, 0, 0], [10, 3, 26, 0, 0, 0], [5, 6, 26, -50, 0, 0], [0, 6, 26, 50, 0, 0], [5, 3, 26, -100, 0, 0], [0, 3, 26, 100, 0, 0], [5, 6, 26, -150, 0, 0], [0, 6, 26, 150, 0, 0], [10, 3, 26, 0, 0, 0], [5, 6, 26, -50, 0, 0], [0, 6, 26, 50, 0, 0], [5, 3, 26, -100, 0, 0], [0, 3, 26, 100, 0, 0], [5, 6, 26, -150, 0, 0], [0, 6, 26, 150, 0, 0], [10, 3, 26, 0, 0, 0], [5, 6, 26, -50, 0, 0], [0, 6, 26, 50, 0, 0], [5, 3, 26, -100, 0, 0], [0, 3, 26, 100, 0, 0], [5, 6, 26, -150, 0, 0], [0, 6, 26, 150, 0, 0]]];
level_4 = [[[200, 24, 26, 0, 0, 0], [5, 24, 26, 20, 0, 0], [5, 24, 26, 10, 0, 0], [5, 24, 26, -10, 0, 0], [5, 24, 26, -40, 0, 0], [5, 24, 26, -30, 0, 0], [5, 24, 26, 20, 0, 0], [5, 24, 26, -30, 0, 0], [5, 24, 26, 0, 0, 0], [5, 24, 26, 60, 0, 0], [5, 24, 26, -20, 0, 0], [5, 24, 26, 0, 0, 0], [15, 24, 26, 0, 0, 0], [5, 24, 26, 50, 0, 0], [5, 24, 26, 40, 0, 0], [5, 24, 26, -40, 0, 0], [5, 24, 26, -80, 0, 0], [5, 24, 26, -60, 0, 0], [5, 24, 26, 40, 0, 0], [5, 24, 26, -60, 0, 0], [5, 24, 26, 0, 0, 0], [5, 24, 26, 120, 0, 0], [5, 24, 26, -40, 0, 0], [5, 24, 26, 0, 0, 0], [15, 24, 26, 0, 0, 0], [3, 24, 26, 50, 0, 0], [3, 24, 26, 40, 0, 0], [3, 24, 26, -40, 0, 0], [3, 24, 26, -80, 0, 0], [3, 24, 26, -60, 0, 0], [3, 24, 26, 40, 0, 0], [3, 24, 26, -60, 0, 0], [3, 24, 26, 0, 0, 0], [3, 24, 26, 120, 0, 0], [3, 24, 26, -40, 0, 0], [3, 24, 26, 0, 0, 3], [35, 24, 26, 0, 0, 0], [8, 24, 26, 20, 0, 0], [0, 25, 29, 0, 0, 0], [8, 24, 26, 30, 0, 0], [8, 24, 26, -30, 0, 0], [0, 25, 29, 0, 0, 0], [8, 24, 26, -40, 0, 0], [8, 24, 26, -50, 0, 0], [0, 25, 29, 0, 0, 0], [8, 24, 26, 20, 0, 0], [8, 24, 26, -30, 0, 0], [0, 25, 29, 0, 0, 0], [8, 24, 26, 0, 0, 0], [8, 24, 26, 60, 0, 0], [0, 25, 29, 0, 0, 0], [8, 24, 26, -20, 0, 0], [8, 24, 26, 0, 0, 0], [0, 25, 29, 0, 0, 0], [35, 24, 26, 0, 0, 0], [0, 25, 30, 0, 0, 0], [5, 24, 26, 20, 0, 0], [0, 25, 29, 0, 0, 0], [5, 24, 26, 30, 0, 0], [0, 25, 30, 0, 0, 0], [5, 24, 26, -30, 0, 0], [0, 25, 29, 0, 0, 0], [5, 24, 26, -40, 0, 0], [0, 25, 30, 0, 0, 0], [5, 24, 26, -50, 0, 0], [0, 25, 29, 0, 0, 0], [5, 24, 26, 20, 0, 0], [0, 25, 30, 0, 0, 0], [5, 24, 26, -30, 0, 0], [0, 25, 29, 0, 0, 0], [5, 24, 26, 0, 0, 0], [0, 25, 30, 0, 0, 0], [5, 24, 26, 60, 0, 0], [0, 25, 29, 0, 0, 0], [5, 24, 26, -20, 0, 0], [0, 25, 30, 0, 0, 0], [5, 24, 26, 0, 0, 0], [0, 25, 29, 0, 0, 3]], [[30, 26, 31, 0, 0, 3], [0, 26, 32, 0, 0, 0], [5, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [30, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [5, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [200, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [5, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [5, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [5, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [5, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [5, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [5, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [5, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [5, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [5, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [5, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [5, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [200, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [5, 27, 33, 0, 20, 0], [0, 27, 34, 0, -20, 0], [5, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [5, 27, 33, 0, 20, 0], [0, 27, 34, 0, -20, 0], [5, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [5, 27, 33, 0, 20, 0], [0, 27, 34, 0, -20, 0], [5, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [5, 27, 33, 0, 20, 0], [0, 27, 34, 0, -20, 0], [5, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [5, 27, 33, 0, 20, 0], [0, 27, 34, 0, -20, 0], [5, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [5, 27, 33, 0, 20, 0], [0, 27, 34, 0, -20, 0], [5, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [5, 27, 33, 0, 20, 0], [0, 27, 34, 0, -20, 0], [5, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [5, 27, 33, 0, 20, 0], [0, 27, 34, 0, -20, 0], [5, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [5, 27, 33, 0, 20, 0], [0, 27, 34, 0, -20, 0], [5, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [5, 27, 33, 0, 20, 0], [0, 27, 34, 0, -20, 0], [5, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [5, 27, 33, 0, 20, 0], [0, 27, 34, 0, -20, 0], [5, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [5, 27, 33, 0, 20, 0], [0, 27, 34, 0, -20, 0], [5, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [5, 27, 33, 0, 20, 0], [0, 27, 34, 0, -20, 0], [5, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [5, 27, 33, 0, 20, 0], [0, 27, 34, 0, -20, 0], [5, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [5, 27, 33, 0, 20, 0], [0, 27, 34, 0, -20, 0], [5, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [5, 27, 33, 0, 20, 0], [0, 27, 34, 0, -20, 3], [200, 26, 31, -60, 0, 0], [0, 26, 32, 60, 0, 0], [3, 27, 33, 0, 60, 0], [0, 27, 34, 0, 60, 0], [3, 26, 31, -60, 0, 0], [0, 26, 32, 60, 0, 0], [3, 27, 33, 0, 60, 0], [0, 27, 34, 0, 60, 0], [3, 26, 31, -60, 0, 0], [0, 26, 32, 60, 0, 0], [3, 27, 33, 0, 60, 0], [0, 27, 34, 0, 60, 0], [3, 26, 31, -60, 0, 0], [0, 26, 32, 60, 0, 0], [3, 27, 33, 0, 60, 0], [0, 27, 34, 0, 60, 0], [3, 26, 31, -60, 0, 0], [0, 26, 32, 60, 0, 0], [3, 27, 33, 0, 60, 0], [0, 27, 34, 0, 60, 0], [3, 26, 31, -60, 0, 0], [0, 26, 32, 60, 0, 0], [3, 27, 33, 0, 60, 0], [0, 27, 34, 0, 60, 0], [3, 26, 31, -60, 0, 0], [0, 26, 32, 60, 0, 0], [3, 27, 33, 0, 60, 0], [0, 27, 34, 0, 60, 0], [3, 26, 31, -60, 0, 0], [0, 26, 32, 60, 0, 0], [3, 27, 33, 0, 60, 0], [0, 27, 34, 0, 60, 0], [3, 26, 31, -60, 0, 0], [0, 26, 32, 60, 0, 0], [3, 27, 33, 0, 60, 0], [0, 27, 34, 0, 60, 0], [3, 26, 31, -60, 0, 0], [0, 26, 32, 60, 0, 0], [3, 27, 33, 0, 60, 0], [0, 27, 34, 0, 60, 0], [3, 26, 31, -60, 0, 0], [0, 26, 32, 60, 0, 0], [3, 27, 33, 0, 60, 0], [0, 27, 34, 0, 60, 0]], [[30, 26, 31, 0, 0, 3], [0, 26, 32, 0, 0, 0], [30, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [30, 24, 26, 20, 0, 0], [0, 24, 26, -20, 0, 0], [30, 25, 29, 0, 0, 0], [0, 25, 30, 0, 0, 0], [100, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [3, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [3, 24, 26, 20, 0, 0], [0, 24, 26, -20, 0, 0], [3, 25, 29, 0, 0, 0], [0, 25, 30, 0, 0, 0], [100, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [2, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [2, 24, 26, 20, 0, 0], [0, 24, 26, -20, 0, 0], [2, 25, 29, 0, 0, 0], [0, 25, 30, 0, 0, 0], [2, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [2, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [2, 24, 26, 20, 0, 0], [0, 24, 26, -20, 0, 0], [2, 25, 29, 0, 0, 0], [0, 25, 30, 0, 0, 0], [200, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [2, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [2, 24, 26, 20, 0, 0], [0, 24, 26, -20, 0, 0], [2, 25, 29, 0, 0, 0], [0, 25, 30, 0, 0, 0], [2, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [2, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [2, 24, 26, 20, 0, 0], [0, 24, 26, -20, 0, 0], [2, 25, 29, 0, 0, 0], [0, 25, 30, 0, 0, 0], [2, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [2, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [2, 24, 26, 20, 0, 0], [0, 24, 26, -20, 0, 0], [2, 25, 29, 0, 0, 0], [0, 25, 30, 0, 0, 0], [2, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [2, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [2, 24, 26, 20, 0, 0], [0, 24, 26, -20, 0, 0], [2, 25, 29, 0, 0, 0], [0, 25, 30, 0, 0, 0], [2, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [2, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [2, 24, 26, 20, 0, 0], [0, 24, 26, -20, 0, 0], [2, 25, 29, 0, 0, 0], [0, 25, 30, 0, 0, 0], [2, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [2, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [2, 24, 26, 20, 0, 0], [0, 24, 26, -20, 0, 0], [2, 25, 29, 0, 0, 0], [0, 25, 30, 0, 0, 0], [100, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [2, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [2, 24, 26, 20, 0, 0], [0, 24, 26, -20, 0, 0], [2, 25, 29, 0, 0, 0], [0, 25, 30, 0, 0, 0], [2, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [2, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [2, 24, 26, 20, 0, 0], [0, 24, 26, -20, 0, 0], [2, 25, 29, 0, 0, 0], [0, 25, 30, 0, 0, 0], [2, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [2, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [2, 24, 26, 20, 0, 0], [0, 24, 26, -20, 0, 0], [2, 25, 29, 0, 0, 0], [0, 25, 30, 0, 0, 0], [2, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [2, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [2, 24, 26, 20, 0, 0], [0, 24, 26, -20, 0, 0], [2, 25, 29, 0, 0, 0], [0, 25, 30, 0, 0, 0], [2, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [2, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [2, 24, 26, 20, 0, 0], [0, 24, 26, -20, 0, 0], [2, 25, 29, 0, 0, 0], [0, 25, 30, 0, 0, 0], [2, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [2, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [2, 24, 26, 20, 0, 0], [0, 24, 26, -20, 0, 0], [2, 25, 29, 0, 0, 0], [0, 25, 30, 0, 0, 0], [50, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [2, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [2, 24, 26, 20, 0, 0], [0, 24, 26, -20, 0, 0], [2, 25, 29, 0, 0, 0], [0, 25, 30, 0, 0, 0], [2, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [2, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [2, 24, 26, 20, 0, 0], [0, 24, 26, -20, 0, 0], [2, 25, 29, 0, 0, 0], [0, 25, 30, 0, 0, 0], [2, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [2, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [2, 24, 26, 20, 0, 0], [0, 24, 26, -20, 0, 0], [2, 25, 29, 0, 0, 0], [0, 25, 30, 0, 0, 0], [2, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [2, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [2, 24, 26, 20, 0, 0], [0, 24, 26, -20, 0, 0], [2, 25, 29, 0, 0, 0], [0, 25, 30, 0, 0, 0], [2, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [2, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [2, 24, 26, 20, 0, 0], [0, 24, 26, -20, 0, 0], [2, 25, 29, 0, 0, 0], [0, 25, 30, 0, 0, 0], [2, 26, 31, 0, 0, 0], [0, 26, 32, 0, 0, 0], [2, 27, 33, 0, 0, 0], [0, 27, 34, 0, 0, 0], [2, 24, 26, 20, 0, 0], [0, 24, 26, -20, 0, 0], [2, 25, 29, 0, 0, 0], [0, 25, 30, 0, 0, 0]], [[150, 24, 26, 0, 0, 0], [5, 24, 26, 20, 0, 0], [5, 24, 26, 10, 0, 0], [5, 24, 26, -10, 0, 0], [5, 24, 26, -40, 0, 0], [5, 24, 26, -30, 0, 0], [5, 24, 26, 20, 0, 0], [5, 24, 26, -30, 0, 0], [5, 24, 26, 0, 0, 0], [5, 24, 26, 60, 0, 0], [5, 24, 26, -20, 0, 0], [5, 24, 26, 0, 0, 0], [5, 24, 26, 0, 0, 0], [5, 24, 26, 50, 0, 0], [5, 24, 26, 40, 0, 0], [5, 24, 26, -40, 0, 0], [5, 24, 26, -80, 0, 0], [5, 24, 26, -60, 0, 0], [5, 24, 26, 40, 0, 0], [5, 24, 26, -60, 0, 0], [5, 24, 26, 0, 0, 0], [5, 24, 26, 120, 0, 0], [5, 24, 26, -40, 0, 0], [5, 24, 26, 0, 0, 0], [5, 24, 26, 0, 0, 0], [3, 24, 26, 50, 0, 0], [3, 24, 26, 40, 0, 0], [3, 24, 26, -40, 0, 0], [3, 24, 26, -80, 0, 0], [3, 24, 26, -60, 0, 0], [3, 24, 26, 40, 0, 0], [3, 24, 26, -60, 0, 0], [3, 24, 26, 0, 0, 0], [3, 24, 26, 120, 0, 0], [3, 24, 26, -40, 0, 0], [3, 24, 26, 0, 0, 3]]];
level_3 = [[[30, 20, 26, -80, 0, 3], [5, 20, 26, -60, 0, 0], [5, 20, 26, -40, 0, 0], [5, 20, 26, -20, 0, 0], [5, 20, 26, 0, 0, 0], [5, 20, 26, 20, 0, 0], [5, 20, 26, 40, 0, 0], [5, 20, 26, 60, 0, 0], [5, 20, 26, 80, 0, 0], [5, 20, 26, 60, 0, 0], [5, 20, 26, 40, 0, 0], [5, 20, 26, 20, 0, 0], [5, 20, 26, 0, 0, 0], [5, 20, 26, -20, 0, 0], [5, 20, 26, -40, 0, 0], [5, 20, 26, -60, 0, 0], [5, 20, 26, -80, 0, 0], [5, 20, 26, -60, 0, 0], [5, 20, 26, -40, 0, 0], [5, 20, 26, -20, 0, 0], [5, 20, 26, 0, 0, 0], [200, 21, 26, 0, 0, 0], [14, 21, 26, 20, 0, 0], [14, 21, 26, -40, 0, 0], [14, 21, 26, 10, 0, 0], [14, 21, 26, -50, 0, 0], [14, 21, 26, 70, 0, 0], [14, 21, 26, 50, 0, 0], [14, 21, 26, 0, 0, 0], [14, 21, 26, 10, 0, 0], [14, 21, 26, -20, 0, 0], [14, 21, 26, -50, 0, 0], [14, 21, 26, 30, 0, 0], [14, 21, 26, 0, 0, 0], [14, 21, 26, -10, 0, 0], [14, 21, 26, 20, 0, 0], [14, 21, 26, 0, 0, 0], [14, 21, 26, 100, 0, 0], [14, 21, 26, 50, 0, 0], [14, 21, 26, -10, 0, 0], [14, 21, 26, 30, 0, 0], [14, 21, 26, 0, 0, 0], [100, 21, 26, 20, 0, 0], [10, 21, 26, -40, 0, 0], [10, 21, 26, 10, 0, 0], [10, 21, 26, -50, 0, 0], [10, 21, 26, 70, 0, 0], [10, 21, 26, 50, 0, 0], [10, 21, 26, 0, 0, 0], [10, 21, 26, 10, 0, 0], [10, 21, 26, -20, 0, 0], [10, 21, 26, -50, 0, 0], [10, 21, 26, 30, 0, 0], [10, 21, 26, 0, 0, 0], [10, 21, 26, -10, 0, 0], [10, 21, 26, 20, 0, 0], [10, 21, 26, 0, 0, 0], [10, 21, 26, 100, 0, 0], [10, 21, 26, 50, 0, 0], [10, 21, 26, -10, 0, 0], [10, 21, 26, 30, 0, 0], [10, 21, 26, 0, 0, 3], [50, 21, 26, 20, 0, 0], [8, 21, 26, -40, 0, 0], [8, 21, 26, 10, 0, 0], [8, 21, 26, -50, 0, 0], [8, 21, 26, 70, 0, 0], [8, 21, 26, 50, 0, 0], [8, 21, 26, 0, 0, 0], [8, 21, 26, 10, 0, 0], [8, 21, 26, -20, 0, 0], [8, 21, 26, -50, 0, 0], [8, 21, 26, 30, 0, 0], [8, 21, 26, 0, 0, 0], [8, 21, 26, -10, 0, 0], [8, 21, 26, 20, 0, 0], [8, 21, 26, 0, 0, 0], [8, 21, 26, 100, 0, 0], [8, 21, 26, 50, 0, 0], [8, 21, 26, -10, 0, 0], [8, 21, 26, 30, 0, 0], [8, 21, 26, 0, 0, 3], [50, 21, 26, 30, 0, 0], [7, 21, 26, -50, 0, 0], [7, 21, 26, 20, 0, 0], [7, 21, 26, -60, 0, 0], [7, 21, 26, 80, 0, 0], [7, 21, 26, 60, 0, 0], [7, 21, 26, 0, 0, 0], [7, 21, 26, 20, 0, 0], [7, 21, 26, -30, 0, 0], [7, 21, 26, -60, 0, 0], [7, 21, 26, 40, 0, 0], [7, 21, 26, 0, 0, 0], [7, 21, 26, -20, 0, 0], [7, 21, 26, 30, 0, 0], [7, 21, 26, 0, 0, 0], [7, 21, 26, 110, 0, 0], [7, 21, 26, 60, 0, 0], [7, 21, 26, -20, 0, 0], [7, 21, 26, 40, 0, 0], [7, 21, 26, 0, 0, 0]], [[50, 22, 26, 0, 0, 0], [5, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [50, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [50, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [50, 22, 26, 0, 0, 0], [5, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [30, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [30, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [50, 22, 26, -40, 0, 3], [0, 22, 26, 40, 0, 0], [5, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [30, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [30, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [30, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [30, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [100, 22, 26, 0, 0, 0], [5, 23, 27, -40, 0, 0], [0, 23, 28, 40, 0, 0], [5, 23, 27, -40, 0, 0], [0, 23, 28, 40, 0, 0], [5, 23, 27, -40, 0, 0], [0, 23, 28, 40, 0, 0], [5, 23, 27, -40, 0, 3], [0, 23, 28, 40, 0, 0], [5, 23, 27, -40, 0, 0], [0, 23, 28, 40, 0, 0], [5, 23, 27, -40, 0, 0], [0, 23, 28, 40, 0, 0], [5, 23, 27, -40, 0, 0], [0, 23, 28, 40, 0, 0]], [[100, 21, 26, 0, 0, 2], [100, 21, 26, 0, 0, 0], [14, 21, 26, 20, 0, 0], [14, 21, 26, -40, 0, 0], [5, 23, 27, -40, 0, 0], [0, 23, 28, 40, 0, 0], [14, 21, 26, 10, 0, 0], [14, 21, 26, -50, 0, 0], [5, 23, 27, -40, 0, 0], [0, 23, 28, 40, 0, 0], [14, 21, 26, 70, 0, 0], [14, 21, 26, 50, 0, 0], [5, 23, 27, -40, 0, 0], [0, 23, 28, 40, 0, 0], [14, 21, 26, 0, 0, 0], [14, 21, 26, 10, 0, 0], [5, 23, 27, -40, 0, 0], [0, 23, 28, 40, 0, 0], [12, 21, 26, -20, 0, 0], [12, 21, 26, -50, 0, 0], [5, 23, 27, -40, 0, 0], [0, 23, 28, 40, 0, 0], [12, 21, 26, 30, 0, 0], [12, 21, 26, 0, 0, 0], [5, 23, 27, -40, 0, 0], [0, 23, 28, 40, 0, 0], [12, 21, 26, -10, 0, 0], [12, 21, 26, 20, 0, 0], [5, 23, 27, -40, 0, 0], [0, 23, 28, 40, 0, 0], [12, 21, 26, 0, 0, 0], [12, 21, 26, 100, 0, 0], [5, 23, 27, -40, 0, 0], [0, 23, 28, 40, 0, 0], [12, 21, 26, 50, 0, 0], [12, 21, 26, -10, 0, 0], [5, 23, 27, -40, 0, 0], [0, 23, 28, 40, 0, 0], [12, 21, 26, 30, 0, 0], [12, 21, 26, 0, 0, 0], [5, 23, 27, -40, 0, 0], [0, 23, 28, 40, 0, 0], [100, 21, 26, 0, 0, 0], [10, 21, 26, 20, 0, 0], [10, 21, 26, -40, 0, 0], [0, 23, 27, -40, 0, 0], [0, 23, 28, 40, 0, 0], [10, 21, 26, 10, 0, 0], [10, 21, 26, -50, 0, 0], [0, 23, 27, -40, 0, 0], [0, 23, 28, 40, 0, 0], [10, 21, 26, 70, 0, 0], [10, 21, 26, 50, 0, 0], [0, 23, 27, -40, 0, 0], [0, 23, 28, 40, 0, 0], [10, 21, 26, 0, 0, 0], [10, 21, 26, 10, 0, 0], [0, 23, 27, -40, 0, 0], [0, 23, 28, 40, 0, 0], [10, 21, 26, -20, 0, 0], [10, 21, 26, -50, 0, 0], [0, 23, 27, -40, 0, 0], [0, 23, 28, 40, 0, 0], [10, 21, 26, 30, 0, 0], [10, 21, 26, 0, 0, 0], [0, 23, 27, -40, 0, 0], [0, 23, 28, 40, 0, 0], [10, 21, 26, -10, 0, 0], [10, 21, 26, 20, 0, 0], [0, 23, 27, -40, 0, 0], [0, 23, 28, 40, 0, 0], [10, 21, 26, 0, 0, 0], [10, 21, 26, 100, 0, 0], [0, 23, 27, -40, 0, 0], [0, 23, 28, 40, 0, 0], [10, 21, 26, 50, 0, 0], [10, 21, 26, -10, 0, 0], [0, 23, 27, -40, 0, 0], [0, 23, 28, 40, 0, 0], [10, 21, 26, 30, 0, 0], [10, 21, 26, 0, 0, 0], [0, 23, 27, -40, 0, 0], [0, 23, 28, 40, 0, 0], [50, 21, 26, 30, 0, 0], [10, 21, 26, -50, 0, 0], [0, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [10, 21, 26, 20, 0, 0], [10, 21, 26, -60, 0, 0], [0, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [10, 21, 26, 80, 0, 0], [10, 21, 26, 60, 0, 0], [0, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [10, 21, 26, 0, 0, 0], [10, 21, 26, 20, 0, 0], [0, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [10, 21, 26, -30, 0, 0], [10, 21, 26, -60, 0, 0], [0, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [10, 21, 26, 40, 0, 0], [10, 21, 26, 0, 0, 0], [0, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [10, 21, 26, -20, 0, 0], [10, 21, 26, 30, 0, 0], [0, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [10, 21, 26, 0, 0, 0], [10, 21, 26, 110, 0, 0], [0, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [10, 21, 26, 60, 0, 0], [10, 21, 26, -20, 0, 0], [0, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [10, 21, 26, 40, 0, 0], [10, 21, 26, 0, 0, 0], [0, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0]], [[50, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [0, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [10, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [0, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [10, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [0, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [10, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [0, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [10, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [0, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [10, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [0, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [10, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [0, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [10, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [0, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [10, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [0, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [10, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [0, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [10, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [0, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [10, 23, 27, 0, 0, 0], [0, 23, 28, 0, 0, 0], [0, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0]]];
level_2 = [[[30, 3, 21, 0, 0, 3], [10, 3, 21, 50, 0, 0], [0, 3, 21, -50, 0, 0], [10, 3, 21, 100, 0, 0], [0, 3, 21, -100, 0, 0], [10, 3, 21, 150, 0, 3], [0, 3, 21, -150, 0, 3], [300, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [0, 3, 21, 150, 0, 0], [0, 3, 21, -150, 0, 0], [10, 16, 22, -20, 0, 0], [0, 16, 23, 20, 0, 0], [10, 16, 22, -40, 0, 0], [0, 16, 23, 40, 0, 0], [10, 16, 22, -60, 0, 0], [0, 16, 23, 60, 0, 0], [10, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [200, 16, 22, -60, 0, 0], [0, 16, 23, 60, 0, 0], [30, 3, 21, 50, 0, 0], [0, 3, 21, -50, 0, 0], [10, 16, 22, -60, 0, 0], [0, 16, 23, 60, 0, 0], [10, 16, 22, -60, 0, 0], [0, 16, 23, 60, 0, 0], [10, 16, 22, -60, 0, 0], [0, 16, 23, 60, 0, 0], [10, 16, 22, -60, 0, 0], [0, 16, 23, 60, 0, 0], [10, 16, 22, -60, 0, 0], [0, 16, 23, 60, 0, 0], [10, 16, 22, -60, 0, 0], [0, 16, 23, 60, 0, 0], [10, 16, 22, -60, 0, 0], [0, 16, 23, 60, 0, 0], [10, 16, 22, -60, 0, 0], [0, 16, 23, 60, 0, 0], [10, 16, 22, -60, 0, 0], [0, 16, 23, 60, 0, 0], [5, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [5, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [5, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [5, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [5, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [5, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0]], [[50, 17, 11, 0, 0, 0], [50, 17, 14, 0, 0, 0], [100, 17, 11, 0, 0, 0], [50, 17, 14, 0, 0, 0], [50, 18, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [10, 18, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [10, 18, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [10, 18, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [200, 17, 11, 0, 0, 0], [50, 17, 14, 0, 0, 0], [10, 18, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [10, 18, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [10, 18, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [10, 18, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [10, 18, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [10, 18, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [50, 17, 14, 0, 0, 0], [10, 18, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [10, 18, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [10, 18, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [10, 18, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [10, 18, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [10, 18, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [100, 18, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [10, 18, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [10, 18, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [10, 18, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [10, 18, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [10, 18, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [50, 18, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [10, 18, 24, -20, 0, 0], [0, 18, 25, 20, 0, 0], [10, 18, 24, -30, 0, 0], [0, 18, 25, 30, 0, 0], [10, 18, 24, -40, 0, 0], [0, 18, 25, 40, 0, 0], [10, 18, 24, -30, 0, 0], [0, 18, 25, 30, 0, 0], [10, 18, 24, -20, 0, 0], [0, 18, 25, 20, 0, 0], [5, 18, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [5, 18, 24, 20, 0, 0], [0, 18, 25, -20, 0, 0], [5, 18, 24, 30, 0, 0], [0, 18, 25, -30, 0, 0], [5, 18, 24, 40, 0, 0], [0, 18, 25, -40, 0, 0], [5, 18, 24, 30, 0, 0], [0, 18, 25, -30, 0, 0], [5, 18, 24, 20, 0, 0], [0, 18, 25, -20, 0, 0], [5, 18, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0]], [[50, 17, 11, 0, 0, 2], [15, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [10, 19, 24, 0, 0, 0], [0, 19, 25, 0, 0, 0], [15, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [15, 19, 24, 0, 0, 0], [0, 19, 25, 0, 0, 0], [10, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [15, 19, 24, 0, 0, 0], [0, 19, 25, 0, 0, 0], [10, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [15, 19, 24, 0, 0, 0], [0, 19, 25, 0, 0, 0], [10, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [15, 19, 24, 0, 0, 0], [0, 19, 25, 0, 0, 0], [10, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [15, 19, 24, 0, 0, 0], [0, 19, 25, 0, 0, 0], [50, 17, 11, 0, 0, 3], [5, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [5, 19, 24, 0, 0, 0], [0, 19, 25, 0, 0, 0], [5, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [5, 19, 24, 0, 0, 0], [0, 19, 25, 0, 0, 0], [5, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [5, 19, 24, 0, 0, 0], [0, 19, 25, 0, 0, 0], [5, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [5, 19, 24, 0, 0, 0], [0, 19, 25, 0, 0, 0], [5, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [5, 19, 24, 0, 0, 0], [0, 19, 25, 0, 0, 0], [5, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [5, 19, 24, 0, 0, 0], [0, 19, 25, 0, 0, 0], [5, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [5, 19, 24, 0, 0, 0], [0, 19, 25, 0, 0, 0]], [[50, 3, 21, 150, 0, 3], [0, 3, 21, -150, 0, 3], [10, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [10, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [10, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [10, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [50, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [5, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [5, 18, 24, 0, 0, 0], [0, 19, 25, 0, 0, 0], [5, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [5, 18, 24, 0, 0, 0], [0, 19, 25, 0, 0, 0], [50, 3, 21, 150, 0, 0], [0, 3, 21, -150, 0, 0], [0, 16, 23, 0, 0, 0], [5, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [5, 19, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [5, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [5, 18, 24, 0, 0, 0], [0, 19, 25, 0, 0, 0], [0, 16, 23, 0, 0, 0], [5, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [5, 19, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [5, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [5, 18, 24, 0, 0, 0], [0, 19, 25, 0, 0, 0], [15, 17, 11, 0, 0, 0], [5, 19, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [5, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [5, 18, 24, 0, 0, 0], [0, 19, 25, 0, 0, 0], [15, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [15, 19, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [15, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [15, 18, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [15, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [15, 18, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [15, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [15, 19, 24, 0, 0, 0], [0, 18, 25, 0, 0, 0], [15, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0], [15, 18, 24, 0, 0, 0], [0, 19, 25, 0, 0, 0], [15, 16, 22, 0, 0, 0], [0, 16, 23, 0, 0, 0]]];
level_1 = [[[30, 9, 10, 0, 0, 5], [150, 10, 11, 0, 0, 0], [40, 10, 11, 0, 50, 0], [40, 10, 11, 0, 100, 0], [40, 10, 11, 0, 150, 0], [40, 10, 11, 0, 200, 0], [60, 1, 1, -20, 0, 0], [0, 1, 2, 20, 0, 0], [10, 2, 1, -50, 0, 0], [0, 2, 2, 50, 0, 0], [10, 1, 1, -20, 0, 0], [0, 1, 2, 20, 0, 0], [10, 2, 1, -50, 0, 0], [0, 2, 2, 50, 0, 0], [10, 1, 1, -20, 0, 0], [0, 1, 2, 20, 0, 0], [10, 2, 1, -50, 0, 0], [0, 2, 2, 50, 0, 0]], [[100, 9, 10, 0, 0, 6], [100, 11, 11, 0, 0, 0], [0, 12, 12, 0, 0, 0], [0, 12, 13, 0, 0, 0], [20, 11, 11, 0, 50, 0], [0, 12, 12, 10, 0, 0], [20, 11, 11, 0, 100, 0], [0, 12, 13, -20, 0, 0], [20, 11, 11, 0, 150, 0], [0, 12, 12, 30, 0, 0], [20, 11, 11, 0, 200, 0], [0, 12, 13, -20, 0, 0], [20, 11, 11, 0, 250, 0], [0, 12, 12, 10, 0, 0], [20, 1, 1, -20, 0, 0], [0, 1, 2, 20, 0, 0], [10, 2, 1, -50, 0, 0], [0, 2, 2, 50, 0, 0], [10, 1, 1, -20, 0, 0], [0, 1, 2, 20, 0, 0], [10, 2, 1, -50, 0, 0], [0, 2, 2, 50, 0, 0], [10, 1, 1, -20, 0, 0], [0, 1, 2, 20, 0, 0], [10, 2, 1, -50, 0, 0], [160, 9, 10, 0, 0, 3], [5, 9, 10, 0, 0, 4]], [[100, 9, 11, 0, 0, 0], [20, 9, 11, 0, 50, 0], [20, 9, 11, 0, 100, 0], [20, 9, 11, 0, 150, 0], [20, 9, 11, 0, 200, 0], [40, 13, 14, 0, 0, 3], [0, 9, 11, 0, 0, 3], [10, 13, 14, 0, 0, 0], [0, 9, 11, 0, 0, 0], [10, 13, 14, 0, 0, 0], [0, 9, 11, 0, 0, 0], [10, 13, 14, 0, 0, 0], [0, 9, 11, 0, 0, 0], [10, 13, 14, 0, 0, 0], [0, 9, 11, 0, 0, 0]], [[100, 14, 15, 80, 0, 2], [0, 14, 16, 0, 0, 0], [10, 14, 15, 80, 0, 0], [0, 14, 16, 0, 0, 0], [10, 14, 17, 80, 0, 0], [0, 14, 18, 0, 0, 0], [10, 15, 19, 0, 50, 0], [0, 15, 20, 0, 50, 0], [10, 14, 15, 80, 0, 0], [0, 14, 16, 0, 0, 0], [10, 14, 15, 80, 0, 0], [0, 14, 16, 0, 0, 0], [10, 14, 17, 80, 0, 0], [0, 14, 18, 0, 0, 0], [10, 15, 19, 0, 50, 0], [0, 15, 20, 0, 50, 0], [10, 15, 19, 0, 150, 0], [0, 15, 20, 0, 150, 0], [40, 14, 15, 0, 0, 0], [0, 14, 16, -80, 0, 0], [10, 14, 17, 0, 0, 0], [0, 14, 18, -80, 0, 0], [10, 14, 17, 0, 0, 0], [0, 14, 18, -80, 0, 0], [10, 14, 15, 0, 0, 0], [0, 14, 16, -80, 0, 0], [10, 14, 17, 0, 0, 0], [0, 14, 18, -80, 0, 0], [10, 14, 17, 0, 20, 0], [0, 14, 18, 0, 20, 0], [10, 15, 19, 0, 150, 3], [0, 15, 20, 0, 150, 3], [80, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [10, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [10, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [10, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [10, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [10, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [10, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [10, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [30, 10, 11, 0, 0, 2], [0, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [0, 14, 17, 0, 0, 0], [0, 14, 18, -50, 0, 0], [10, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [0, 14, 17, 0, 0, 0], [0, 14, 18, -50, 0, 0], [10, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [0, 14, 17, 0, 0, 0], [0, 14, 18, -50, 0, 0], [10, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [0, 14, 17, 0, 0, 0], [0, 14, 18, -50, 0, 0], [10, 10, 11, 0, 0, 0], [0, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [0, 14, 17, 0, 0, 0], [0, 14, 18, -50, 0, 0], [10, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [0, 14, 17, 0, 0, 0], [0, 14, 18, -50, 0, 0], [10, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [0, 14, 17, 0, 0, 0], [0, 14, 18, -50, 0, 0], [10, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [0, 15, 17, 0, 0, 0], [0, 15, 18, 0, 0, 0]], [[120, 13, 14, 0, 0, 0], [0, 9, 11, 0, 0, 0], [5, 15, 3, 0, 0, 0], [0, 4, 4, 0, 40, 0], [0, 4, 5, 0, 30, 0], [25, 4, 4, 0, 30, 0], [0, 4, 5, 0, 20, 0], [0, 15, 3, 100, 0, 0], [10, 4, 4, 0, 20, 0], [0, 4, 5, 0, 10, 0], [10, 4, 4, 0, 10, 0], [0, 4, 5, 0, 0, 0], [0, 15, 3, -100, 0, 0], [10, 4, 4, 0, 0, 0], [0, 4, 5, 0, -10, 0], [10, 4, 4, 0, -10, 0], [0, 4, 5, 0, 0, 0], [10, 4, 4, 0, 0, 0], [0, 4, 5, 0, -20, 0], [0, 13, 14, 0, 0, 0], [0, 9, 11, 0, 0, 0], [10, 4, 4, 0, -20, 0], [0, 4, 5, 0, 0, 0], [10, 4, 4, 0, 0, 0], [0, 4, 5, 0, -30, 0], [10, 4, 4, 0, -30, 0], [0, 4, 5, 0, 0, 0], [10, 4, 4, 0, 0, 0], [0, 4, 5, 0, -40, 0], [10, 4, 4, 0, -40, 0], [0, 4, 5, 0, 0, 0]]];
level_0 = [[[30, 0, 0, 0, 0, 0], [90, 1, 1, -20, 0, 0], [10, 1, 2, 20, 0, 0], [40, 2, 1, -50, 0, 0], [40, 2, 2, 50, 0, 0], [40, 1, 1, -70, 0, 0], [40, 1, 2, 70, 0, 0], [40, 2, 1, -90, 0, 0], [40, 2, 2, 90, 0, 0], [40, 1, 1, -70, 0, 0], [40, 1, 2, 70, 0, 0], [40, 2, 1, -50, 0, 0], [40, 2, 2, 50, 0, 0], [40, 1, 1, -50, 0, 0], [40, 1, 2, 50, 0, 0], [40, 0, 0, 0, 0, 3], [20, 1, 1, -70, 0, 0], [20, 2, 2, 70, 0, 0], [20, 2, 1, -80, 0, 0], [20, 1, 2, 80, 0, 0], [20, 2, 1, -30, 0, 0], [20, 2, 2, 30, 0, 0]], [[80, 0, 0, 0, 0, 0], [40, 3, 3, 0, 0, 3], [5, 4, 4, 0, 40, 0], [0, 4, 5, 0, 30, 0], [25, 4, 4, 0, 30, 0], [0, 4, 5, 0, 20, 0], [10, 4, 4, 0, 20, 0], [0, 4, 5, 0, 10, 0], [10, 4, 4, 0, 10, 0], [0, 4, 5, 0, 0, 0], [10, 4, 4, 0, 0, 0], [0, 4, 5, 0, -10, 0], [10, 4, 4, 0, -10, 0], [0, 4, 5, 0, 0, 0], [10, 4, 4, 0, 0, 0], [0, 4, 5, 0, -20, 0], [10, 4, 4, 0, -20, 0], [0, 4, 5, 0, 0, 0], [10, 4, 4, 0, 0, 0], [0, 4, 5, 0, -30, 0], [10, 4, 4, 0, -30, 0], [0, 4, 5, 0, 0, 0], [10, 4, 4, 0, 0, 0], [0, 4, 5, 0, -40, 0], [10, 4, 4, 0, -40, 0], [0, 4, 5, 0, 0, 0], [10, 5, 6, 0, 0, 0], [0, 5, 7, 0, 0, 0], [0, 4, 4, 0, 0, 0], [0, 4, 5, 0, -50, 0], [10, 4, 4, 0, -50, 0], [0, 4, 5, 0, 0, 0], [0, 5, 6, -20, 0, 0], [0, 5, 7, 20, 0, 0], [10, 4, 4, 0, -60, 0], [0, 4, 5, 0, -60, 0], [0, 5, 6, -40, 0, 0], [0, 5, 7, 40, 0, 0], [10, 4, 4, 0, -40, 0], [0, 4, 5, 0, -40, 0], [0, 5, 6, 0, 0, 0], [0, 5, 7, 0, 0, 0], [10, 4, 4, 0, 0, 0], [0, 4, 5, 0, 0, 0], [0, 5, 6, -40, 0, 0], [0, 5, 7, 40, 0, 0], [10, 4, 4, 0, -20, 0], [0, 4, 5, 0, -20, 0], [0, 5, 6, 0, 0, 0], [0, 5, 7, 0, 0, 0]], [[100, 3, 3, 0, 0, 0], [20, 6, 3, -50, 0, 3], [0, 6, 3, 50, 0, 3], [30, 7, 0, -60, 0, 0], [0, 7, 0, 60, 0, 0], [10, 7, 0, -50, 0, 0], [0, 7, 0, 50, 0, 0], [5, 4, 4, 0, 40, 0], [0, 4, 5, 0, 40, 0], [5, 7, 0, -40, 0, 0], [0, 7, 0, 40, 0, 0], [5, 4, 4, 0, 60, 0], [0, 4, 5, 0, 60, 0], [5, 7, 0, -30, 0, 0], [0, 7, 0, 30, 0, 0], [5, 4, 4, 0, 80, 0], [0, 4, 5, 0, 80, 0], [5, 7, 0, -20, 0, 0], [0, 7, 0, 20, 0, 0], [5, 4, 4, 0, 100, 0], [0, 4, 5, 0, 100, 0]], [[100, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [10, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [10, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [10, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [10, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [10, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [10, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [10, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [0, 6, 3, 0, 50, 0], [10, 8, 8, 0, -100, 2], [0, 8, 9, 0, -100, 0], [0, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [0, 5, 6, -50, 0, 0], [0, 5, 7, 50, 0, 0], [10, 8, 8, 0, -100, 0], [0, 8, 9, 0, -100, 0], [0, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [0, 5, 6, -50, 0, 0], [0, 5, 7, 50, 0, 0], [10, 8, 8, 0, -100, 0], [0, 8, 9, 0, -100, 0], [0, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [0, 5, 6, -50, 0, 0], [0, 5, 7, 50, 0, 0], [10, 8, 8, 0, -100, 0], [0, 8, 9, 0, -100, 0], [0, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [0, 5, 6, -50, 0, 0], [0, 5, 7, 50, 0, 0], [10, 8, 8, 0, -100, 0], [0, 8, 9, 0, -100, 0], [0, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [0, 5, 6, -50, 0, 0], [0, 5, 7, 50, 0, 0], [10, 8, 8, 0, -100, 0], [0, 8, 9, 0, -100, 0], [0, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [0, 5, 6, -50, 0, 0], [0, 5, 7, 50, 0, 0], [10, 8, 8, 0, -100, 0], [0, 8, 9, 0, -100, 0], [0, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [0, 5, 6, -50, 0, 0], [0, 5, 7, 50, 0, 0], [10, 8, 8, 0, -100, 0], [0, 8, 9, 0, -100, 0], [0, 8, 8, 0, 0, 0], [0, 8, 9, 0, 0, 0], [0, 5, 6, -50, 0, 0], [0, 5, 7, 50, 0, 0]]];
paths = [path_0, path_1, path_2, path_3, path_4, path_5, path_6, path_7, path_8, path_9, path_10, path_11, path_12, path_13, path_14, path_15, path_16, path_17, path_18, path_19, path_20, path_21, path_22, path_23, path_24, path_25, path_26, path_27, path_28, path_29, path_30, path_31, path_32, path_33, path_34, path_35, path_36, path_37, path_38, path_39, path_40];
eData = [[1800, 7, 0, 180, 4383], [1800, 6, 0, 60, 4245], [1800, 6, 0, 60, 4225], [2888, 2, 0, 800, 6225], [1452, 7, 0, 20, 2225], [1452, 6, 0, 20, 2125], [2888, 2, 1, 400, 6525], [1452, 7, 0, 60, 3525], [1800, 7, 0, 40, 2525], [1452, 5, 4, 40, 3525], [2888, 4, 2, 200, 12525], [2888, 4, 3, 200, 12325], [1452, 7, 0, 120, 2325], [1452, 5, 5, 40, 3525], [1800, 6, 0, 60, 4245], [2888, 2, 1, 250, 7525], [1452, 5, 6, 140, 5325], [2888, 4, 7, 350, 14325], [1452, 4, 0, 120, 2925], [1452, 5, 8, 140, 5325], [1800, 4, 9, 540, 8325], [1800, 6, 10, 540, 9325], [2888, 2, 7, 4540, 15325], [1452, 6, 11, 220, 3925], [1452, 6, 12, 400, 7925], [1452, 4, 0, 100, 4925], [1452, 4, 8, 200, 5925], [1452, 6, 0, 300, 6925], [1800, 4, 0, 800, 9925], [1800, 6, 0, 500, 10925], [1800, 5, 0, 600, 12925], [1800, 6, 0, 700, 13925], [1800, 6, 0, 750, 14925], [1800, 6, 0, 800, 15925], [2888, 4, 7, 2500, 18925], [2888, 5, 10, 2000, 20925], [2888, 5, 0, 2500, 21925], [2888, 4, 0, 2000, 22925], [2888, 3, 0, 8500, 23925], [2888, 3, 6, 3500, 24925], [1452, 6, 0, 500, 8225], [1452, 6, 0, 500, 9225], [1452, 7, 9, 1500, 8225], [1452, 5, 9, 1500, 6225], [1452, 6, 0, 1000, 7225], [1452, 6, 0, 1000, 12225], [1452, 6, 0, 1000, 15225], [2888, 3, 6, 4500, 27925], [2888, 3, 13, 4500, 28925], [2888, 3, 6, 3500, 29925], [1800, 6, 0, 1000, 16925], [1800, 6, 0, 1000, 17925], [1800, 6, 0, 1000, 18925], [1452, 6, 0, 2000, 9225], [1452, 6, 0, 1000, 10225], [1452, 6, 0, 1000, 11225], [1452, 6, 0, 1600, 6225], [1452, 6, 0, 1600, 7225], [1452, 6, 0, 1600, 8225]];
wData = [[[0, 6, 1], [3.957, 4.509, 1], [-3.957, 4.509, 1]], [[0, 6, 2], [3.957, 4.509, 2], [-3.957, 4.509, 2]], [[0, 6, 1], [-3.957, 4.509, 1]], [[0, 6, 3], [-3.957, 4.509, 3]], [[0, 6, 4], [-3.957, 4.509, 4]], [[0, 6, 2], [3.957, 4.509, 2]], [[0, 6, 4], [3.957, 4.509, 4], [-3.957, 4.509, 4]], [[0, 4, 3], [3.957, 6.509, 3], [-3.957, 6.509, 3]], [[0, 4, 3]], [[3.957, 7.509, 2], [-3.957, 7.509, 2]], [[0, 8, 3]], [[3.957, 7.509, 1], [-3.957, 7.509, 1]], [[4.957, 5.509, 2], [-4.957, 5.509, 2]], [[4.957, 5.509, 4], [-4.957, 5.509, 4], [0, 8, 4], [3.957, 7.509, 4], [-3.957, 7.509, 4]]];
sBoomCount = 0;
sBoomTicks = 0;
sHitCount = 0;
sHitTicks = 0;
sBulletLimit = 0;
masterVol = 0.5;
trans_0 = new SoundTransform((-0.2 + masterVol), 0);
trans_1 = new SoundTransform((0.1 + masterVol), 0);
trans_2 = new SoundTransform((0.2 + masterVol), 0);
trans_3 = new SoundTransform((0.3 + masterVol), 0);
trans_4 = new SoundTransform((0.4 + masterVol), 0);
trans_5 = new SoundTransform((0.5 + masterVol), 0);
trans_6 = new SoundTransform((0.6 + masterVol), 0);
trans_7 = new SoundTransform((0.7 + masterVol), 0);
trans_8 = new SoundTransform((0.8 + masterVol), 0);
trans_9 = new SoundTransform((0.9 + masterVol), 0);
trans_10 = new SoundTransform((1 + masterVol), 0);
trans_m = new SoundTransform(0.2, 0);
trans_m2 = new SoundTransform(0.1, 0);
trans_m3 = new SoundTransform(0.3, 0);
music_Boss = new m_Boss();
music_End = new m_End();
music_Game = new m_Game();
music_Menu = new m_Menu();
chan_Boss = music_Boss.play(0, 9999, trans_m);
chan_End = music_End.play(0, 9999, trans_m);
chan_Game = music_Game.play(0, 9999, trans_m);
chan_Menu = music_Menu.play(0, 9999, trans_m);
chan_Menu.stop();
chan_Game.stop();
chan_End.stop();
chan_Boss.stop();
snd_Explode = new s_Boom();
snd_pHit = new s_pHit();
snd_coin = new s_Coin();
snd_rebound = new s_rebound();
snd_hp = new s_Hp();
snd_eHit = new s_eHit();
snd_eShoot = new s_eShoot();
snd_pUp = new s_powerUp();
snd_pDown = new s_powerDown();
snd_Click = new s_Button();
snd_Pause = new s_Pause();
snd_Beam = new s_Beam();
chan_Beam = snd_Beam.play(0, 9999, trans_5);
chan_Beam.stop();
snd_Gun = new s_Gun();
chan_Gun = snd_Gun.play(0, 9999, trans_2);
chan_Gun.stop();
musicWeb1 = new URLRequest("http://kelwynshade.newgrounds.com/");
musicWeb2 = new URLRequest("http://reone662.newgrounds.com/");
musicWeb3 = new URLRequest("http://liau.newgrounds.com/");
inGameOver = false;
sharedObj = SharedObject.getLocal("tutOpen");
if (sharedObj.size == 0){
sharedObj.data.seen = false;
};
inMain_Menu = false;
rocketLimit = 0;
blurF = new BlurFilter(3, 6, 1);
stage.addEventListener(MouseEvent.CLICK, reportClick);
timeNew = 0;
timeStart = getTimer();
frameCount = 0;
frameRate = 0;
newGame();
addMenu_Intro();
Key.initialize(stage);
mainTimer = new Timer(33, 1000);
mainTimer.addEventListener(TimerEvent.TIMER, main_onTick);
mainTimer.addEventListener(TimerEvent.TIMER_COMPLETE, main_onComplete);
mainTimer.start();
timer = getTimer();
}
public function addMenu_Credits():void{
var _local1:creditsmenu;
_local1 = new creditsmenu();
_local1.x = 0;
_local1.y = 0;
addChild(_local1);
menu_Credits = _local1;
menu_Credits.bkButton.addEventListener(MouseEvent.CLICK, bkCredits_Click);
}
public function moveEnemies():void{
var _local1:int;
var _local2:int;
var _local3:Array;
var _local4:Array;
var _local5:Number;
var _local6:Number;
var _local7:int;
var _local8:int;
_local2 = enemies.length;
_local1 = 0;
while (_local1 < _local2) {
_local3 = enemies[_local1];
_local4 = paths[_local3[3]];
if (_local3[7] <= 1){
enemies_Splice.push(_local1);
if (_local3[8] < 10000){
spawnBonus(_local3[11], _local3[0].x, _local3[0].y);
} else {
if ((((_local3[8] >= 10000)) && ((_local3[8] < 14000)))){
_local7 = (Math.random() * 20);
_local8 = (Math.random() * 20);
spawnBonus(0, (_local3[0].x + _local7), (_local3[0].y - _local8));
spawnBonus(_local3[11], _local3[0].x, _local3[0].y);
playerAdd = (playerAdd + 1);
} else {
if (_local3[8] >= 14000){
_local7 = (Math.random() * 20);
_local8 = (Math.random() * 20);
spawnBonus(0, _local3[0].x, _local3[0].y);
spawnBonus(0, (_local3[0].x + 15), (_local3[0].y - 10));
spawnBonus(_local3[11], (_local3[0].x - _local7), (_local3[0].y + _local8));
playerAdd = (playerAdd + 1);
};
};
};
playerAdd = (playerAdd + 2);
if (card_Add){
playerAdd = (playerAdd + 1);
};
if (boomCount < (gameQ * 5)){
spawnFx(1, _local3[0].x, _local3[0].y, 1);
if (!muted){
snd_Explode.play(0, 0, trans_3);
};
};
shakeTicks = 7;
playerScore = (playerScore + (_local3[8] * scoreMult));
scoreMultTicks = (scoreMultTicks + 0.1);
} else {
if (_local3[17] > 0){
_local3[0].alpha = 0.3;
var _local9 = _local3;
var _local10 = 17;
var _local11 = (_local9[_local10] - 1);
_local9[_local10] = _local11;
} else {
if (_local3[17] == 0){
_local3[17] = 0;
_local3[0].alpha = 1;
};
};
if (_local3[15] > 0){
if (_local3[18] >= 5){
if (_local3[14] < _local3[15]){
spawnBullet(_local3[6], _local3[0].x, _local3[0].y);
_local3[14] = (_local3[14] + 1);
} else {
_local3[14] = 0;
_local3[15] = 0;
};
_local3[18] = 0;
} else {
_local3[18] = (_local3[18] + 1);
};
};
if (_local3[13] > 0){
if (_local3[12] >= _local3[13]){
_local3[13] = 0;
_local3[12] = 0;
} else {
_local3[12] = (_local3[12] + 1);
};
} else {
if (_local3[2] <= 0){
if (_local3[1] >= (_local4.length - 1)){
enemies_Splice.push(_local1);
} else {
_local3[1] = (_local3[1] + 1);
_local3[0].rotation = _local4[_local3[1]][2];
_local3[9] = (_local4[_local3[1]][3] * _local3[5]);
_local3[10] = (_local4[_local3[1]][4] * _local3[5]);
_local3[2] = Math.ceil((_local4[_local3[1]][5] / _local3[5]));
if (_local4[_local3[1]][6] > 0){
_local3[13] = _local4[_local3[1]][6];
};
if (_local4[_local3[1]][7] > 0){
_local3[15] = _local4[_local3[1]][7];
};
};
} else {
_local3[0].x = (_local3[0].x + _local3[9]);
_local3[0].y = (_local3[0].y + _local3[10]);
_local3[2] = (_local3[2] - 1);
};
};
};
_local1++;
};
_local2 = enemies_Splice.length;
_local1 = 0;
while (_local1 < _local2) {
enemyClip.removeChild(enemies[(enemies_Splice[_local1] - enemiesOff)][0]);
enemies.splice((enemies_Splice[_local1] - enemiesOff), 1);
enemiesOff++;
_local1++;
};
enemies_Splice = [];
enemiesOff = 0;
}
public function removeMenu_Ship():void{
menu_Ship.bkButton.removeEventListener(MouseEvent.CLICK, bkShip_Click);
menu_Ship.ship1Button.removeEventListener(MouseEvent.CLICK, ship1_Click);
menu_Ship.ship2Button.removeEventListener(MouseEvent.CLICK, ship2_Click);
menu_Ship.ship3Button.removeEventListener(MouseEvent.CLICK, ship3_Click);
this.removeChild(DisplayObject(menu_Ship));
}
public function createStars():void{
var _local1:int;
var _local2:int;
var _local3:DisplayObject;
_local1 = 0;
if (gameQ == 3){
_local1 = 25;
} else {
if (gameQ == 2){
_local1 = 10;
} else {
if (gameQ == 1){
_local1 = 5;
};
};
};
_local2 = 0;
while (_local2 < _local1) {
_local3 = new testStar();
_local3.x = (Math.random() * 500);
_local3.y = (Math.random() * 600);
_local3.alpha = Math.random();
starClip.addChild(_local3);
stars.push([_local3, ((_local3.alpha * 25) + 1)]);
_local2++;
};
}
public function collectBonus(_arg1:int):void{
var _local2:int;
_local2 = 0;
if (((!((_arg1 == 0))) && (!((_arg1 == 2))))){
if (theHud.powerUp.currentFrame == 50){
theHud.powerUp.gotoAndPlay(1);
};
playerScore = (playerScore + (2034 * scoreMult));
} else {
playerScore = (playerScore + (108 * scoreMult));
if (!muted){
snd_coin.play(0, 0, trans_3);
};
};
if (_arg1 == 0){
_local2 = ((13 * (levelNumber + 1)) * (levelNumber + 1));
if (addMode == 1){
_local2 = (_local2 * 10);
} else {
spawnFx(7);
};
playerMoney = (playerMoney + _local2);
newMoney = (newMoney + _local2);
} else {
if (_arg1 == 1){
disableBonus();
bonusType = _arg1;
slowMotion_On();
bonusOn = true;
bonusTicks = 350;
} else {
if (_arg1 == 2){
playerHealth = playerHealthMax;
if (!muted){
snd_hp.play(0, 0, trans_2);
};
} else {
if (_arg1 == 3){
if (currentWeapon < weaponMax){
currentWeapon++;
} else {
_local2 = ((13 * (levelNumber + 1)) * (levelNumber + 1));
playerMoney = (playerMoney + (_local2 * 15));
newMoney = (newMoney + (_local2 * 15));
currentWeapon = weaponMax;
};
if (!muted){
snd_pUp.play(0, 0, trans_3);
};
} else {
if (_arg1 == 4){
disableBonus();
bonusType = _arg1;
shield_On(1);
bonusOn = true;
bonusTicks = 350;
} else {
if (_arg1 == 5){
disableBonus();
bonusType = _arg1;
shield_On(2);
bonusOn = true;
bonusTicks = 350;
} else {
if (_arg1 == 6){
disableBonus();
bonusType = _arg1;
shield_On(3);
bonusOn = true;
bonusTicks = 350;
};
};
};
};
};
};
};
}
public function addMenu_Main():void{
var _local1:mainmenu;
inMain_Menu = true;
if (!muted){
chan_Menu.stop();
chan_Menu = music_Menu.play(0, 9999, trans_m2);
};
_local1 = new mainmenu();
_local1.x = 0;
_local1.y = 0;
addChild(_local1);
menu_Main = _local1;
menu_Main.startButton.addEventListener(MouseEvent.CLICK, start_Click);
menu_Main.optionsButton.addEventListener(MouseEvent.CLICK, options_Click);
menu_Main.scoresButton.addEventListener(MouseEvent.CLICK, scores_Click);
menu_Main.viewButton.addEventListener(MouseEvent.CLICK, viewScores_Click);
menu_Main.moreButton.addEventListener(MouseEvent.CLICK, moreGames_Click);
}
public function loopRockets():void{
var _local1:int;
var _local2:int;
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:int;
_local2 = rockets.length;
_local3 = 0;
_local4 = -5;
_local5 = 20;
_local6 = enemies.length;
if (rocketLimit >= 3){
rocketLimit = 0;
} else {
rocketLimit++;
};
_local1 = 0;
while (_local1 < _local2) {
if ((((((((rockets[_local1][0].y > 610)) || ((rockets[_local1][0].y < -10)))) || ((rockets[_local1][0].x > 510)))) || ((rockets[_local1][0].x < -10)))){
rockets_Splice.push(_local1);
} else {
if (rocketLimit == 0){
spawnFx(2, rockets[_local1][0].x, rockets[_local1][0].y);
};
if (bossMode){
rockets[_local1][1] = 9999;
_local3 = (theBoss.x - rockets[_local1][0].x);
_local4 = (theBoss.y - rockets[_local1][0].y);
_local5 = Math.sqrt(((_local3 * _local3) + (_local4 * _local4)));
_local3 = (_local3 / _local5);
_local4 = (_local4 / _local5);
rockets[_local1][0].x = (rockets[_local1][0].x + (_local3 * 15));
rockets[_local1][0].y = (rockets[_local1][0].y + (_local4 * 15));
rockets[_local1][0].rotation = (Math.atan2(_local4, _local3) * radToDeg);
if (_local5 <= 30){
rockets_Splice.push(_local1);
spawnFx(1, rockets[_local1][0].x, rockets[_local1][0].y, 0.5);
bossHealth = (bossHealth - (40 * wingLevel));
};
} else {
if (_local6 < 1){
rockets[_local1][0].y = (rockets[_local1][0].y - 15);
rockets[_local1][0].rotation = -90;
rockets[_local1][1] = 9999;
} else {
if (rockets[_local1][1] >= _local6){
rockets[_local1][1] = Math.floor((Math.random() * _local6));
} else {
if (((!((rockets[_local1][1] == 9999))) && ((rockets[_local1][1] < _local6)))){
_local3 = (enemies[rockets[_local1][1]][0].x - rockets[_local1][0].x);
_local4 = (enemies[rockets[_local1][1]][0].y - rockets[_local1][0].y);
_local5 = Math.sqrt(((_local3 * _local3) + (_local4 * _local4)));
_local3 = (_local3 / _local5);
_local4 = (_local4 / _local5);
rockets[_local1][0].x = (rockets[_local1][0].x + (_local3 * 15));
rockets[_local1][0].y = (rockets[_local1][0].y + (_local4 * 15));
rockets[_local1][0].rotation = (Math.atan2(_local4, _local3) * radToDeg);
if (_local5 <= 16){
rockets_Splice.push(_local1);
spawnFx(1, rockets[_local1][0].x, rockets[_local1][0].y, 0.5);
enemies[rockets[_local1][1]][7] = (enemies[rockets[_local1][1]][7] - (100 * wingLevel));
};
};
};
};
};
};
_local1++;
};
_local2 = rockets_Splice.length;
_local1 = 0;
while (_local1 < _local2) {
wingFx.removeChild(rockets[(rockets_Splice[_local1] - rocketsOff)][0]);
rockets.splice((rockets_Splice[_local1] - rocketsOff), 1);
rocketsOff++;
_local1++;
};
rockets_Splice = [];
rocketsOff = 0;
}
public function spawnBossBullet(_arg1:int=0, _arg2:int=100, _arg3:int=100, _arg4:Number=90, _arg5:int=7):void{
var _local6:DisplayObject;
var _local7:Number;
var _local8:Number;
var _local9:Boolean;
_local9 = false;
if (_arg1 == 1){
_local6 = new eBul1_1();
_local9 = false;
} else {
if (_arg1 == 2){
_local6 = new eBul1_2();
_local9 = false;
} else {
if (_arg1 == 3){
_local6 = new eBul2_1();
_local9 = true;
} else {
if (_arg1 >= 4){
_local6 = new eBul2_2();
_local9 = true;
};
};
};
};
_local6.x = _arg2;
_local6.y = _arg3;
eBulletClip.addChild(_local6);
_arg4 = (_arg4 * degToRad);
_local7 = (Math.cos(_arg4) * _arg5);
_local8 = (Math.sin(_arg4) * _arg5);
if (slowMo){
_local7 = (_local7 * 0.5);
_local8 = (_local8 * 0.5);
};
if (addOn){
_local7 = (_local7 * 2);
_local8 = (_local8 * 2);
};
e_Bullets.push([_local6, _local7, _local8, _local9]);
if (!muted){
if (sBulletLimit < 1){
snd_eShoot.play(0, 0, trans_3);
sBulletLimit++;
};
};
}
public function onScoreResponse(_arg1:ServerResponseEvent):void{
switch (_arg1.returnCode){
case ScoreSubmitter.RETURNCODE_WORKING:
menu_GameOver.hsOutput.text = "Submitting...";
break;
case ScoreSubmitter.RETURNCODE_SUCCESS:
menu_GameOver.hsOutput.text = "Your score has been submitted!";
ScoreSubmitter.loadHighScorePage();
break;
case ScoreSubmitter.RETURNCODE_REJECTED:
menu_GameOver.hsOutput.text = "The server rejected your score!";
break;
case ScoreSubmitter.RETURNCODE_WRONGVERSION:
menu_GameOver.hsOutput.text = "This is the wrong version of the game. Check for the newest version at CrazyMonkeyGames.com";
ScoreSubmitter.loadUpdatePage();
break;
case ScoreSubmitter.RETURNCODE_NETWORKERROR:
menu_GameOver.hsOutput.text = "Your score could not reach the server at this time.";
break;
default:
menu_GameOver.hsOutput.text = ("Unknown error " + _arg1.returnCode);
break;
};
}
public function spawnBonus(_arg1:int, _arg2:int, _arg3:int):void{
var _local4:DisplayObject;
if (_arg1 == 0){
_local4 = new moneyBonus();
} else {
if (_arg1 == 1){
_local4 = new slowBonus();
} else {
if (_arg1 == 2){
_local4 = new healthBonus();
} else {
if (_arg1 == 3){
_local4 = new weaponBonus();
} else {
if (_arg1 == 4){
_local4 = new redBonus();
} else {
if (_arg1 == 5){
_local4 = new greenBonus();
} else {
if (_arg1 == 6){
_local4 = new blueBonus();
};
};
};
};
};
};
};
_local4.x = _arg2;
_local4.y = _arg3;
bonusClip.addChild(_local4);
bonus.push([_local4, _arg1]);
}
public function music2_Click(_arg1:MouseEvent):void{
navigateToURL(musicWeb2, "_blank");
}
public function waves():void{
if (waveLoaded == false){
if (waveTimer >= currentLevel[currentWave][currentEnemy][0]){
spawnEnemy(currentLevel[currentWave][currentEnemy][1], currentLevel[currentWave][currentEnemy][3], currentLevel[currentWave][currentEnemy][4], currentLevel[currentWave][currentEnemy][5], currentLevel[currentWave][currentEnemy][2]);
currentEnemy++;
waveTimer = 0;
if (currentEnemy == currentLevel[currentWave].length){
currentWave++;
currentEnemy = 0;
waveLoaded = true;
};
} else {
waveTimer++;
};
} else {
if (enemies.length <= 0){
if (currentWave == currentLevel.length){
if ((((bossMode == false)) && ((bossLoaded == false)))){
bossLoaded = true;
slowStars = true;
bossTicks = 0;
bossHealth = 0;
bossPath = 0;
bossTime = 0;
bossWeapon = 0;
if (levelNumber == 0){
boss = boss_0;
} else {
if (levelNumber == 1){
boss = boss_1;
} else {
if (levelNumber == 2){
boss = boss_2;
} else {
if (levelNumber == 3){
boss = boss_3;
} else {
if (levelNumber == 4){
boss = boss_4;
} else {
if (levelNumber == 5){
boss = boss_5;
} else {
if (levelNumber == 6){
boss = boss_6;
} else {
if (levelNumber == 7){
boss = boss_7;
} else {
if (levelNumber == 8){
boss = boss_8;
} else {
if (levelNumber == 9){
boss = boss_9;
};
};
};
};
};
};
};
};
};
};
};
} else {
waveLoaded = false;
waveTimer = 0;
};
};
};
}
public function loadBoss():void{
var _local1:int;
var _local2:int;
_local2 = stars.length;
if (bossTicks == 0){
_local1 = 0;
while (_local1 < _local2) {
stars[_local1][1] = (stars[_local1][1] * 0.1);
_local1++;
};
theHud.warning.gotoAndPlay(1);
if (!muted){
chan_Game.stop();
chan_Boss = music_Boss.play(0, 9999, trans_m3);
};
};
if (bossTicks < 100){
} else {
if (bossTicks == 100){
theHud.warning.gotoAndStop(100);
spawnBoss();
theBoss.y = -200;
} else {
if ((((bossTicks > 100)) && ((bossTicks <= 250)))){
if (theBoss.alpha < 0.5){
theBoss.alpha = (theBoss.alpha + 0.005);
};
if (theBoss.y < boss[1]){
theBoss.y = (theBoss.y + 3);
} else {
theBoss.y = boss[1];
};
shakeTicks = 11;
} else {
if (bossTicks > 250){
spawnFx(3);
theHud.boss.alpha = 1;
theBoss.y = boss[1];
theBoss.alpha = 1;
bossLoaded = false;
bossMode = true;
};
};
};
};
bossTicks++;
}
public function checkFades():void{
var _local1:DisplayObject;
var _local2:int;
var _local3:int;
_local2 = 0;
while (_local2 < 10) {
_local3 = 0;
while (_local3 < 3) {
if (slotData[_local3][_local2][2] > playerMoney){
if (slotFade[_local3][_local2] == 0){
_local1 = new card_Fade();
_local1.x = (48 + (41 * _local2));
_local1.y = (124 + (51 * _local3));
slotFade[_local3][_local2] = _local1;
menu_Card.addChild(_local1);
};
} else {
if (slotFade[_local3][_local2] != 0){
menu_Card.removeChild(slotFade[_local3][_local2]);
slotFade[_local3][_local2] = 0;
};
};
_local3++;
};
_local2++;
};
}
public function frame_Rate():void{
timeNew = getTimer();
if ((timeNew - timeStart) >= 1000){
timeStart = getTimer();
theHud.fpsTxt.text = String(("Stage " + (levelNumber + 1)));
frameCount = 0;
};
frameCount++;
}
public function ship2_Click(_arg1:MouseEvent):void{
removeMenu_Ship();
playerType = 2;
if (sharedObj.data.seen){
newGame();
loadGame(levelNumber);
} else {
addMenu_HowTo();
};
if (!muted){
snd_Click.play(0, 0, trans_5);
};
}
public function addMenu_Ship():void{
var _local1:shipmenu;
_local1 = new shipmenu();
_local1.x = 0;
_local1.y = 0;
addChild(_local1);
menu_Ship = _local1;
menu_Ship.bkButton.addEventListener(MouseEvent.CLICK, bkShip_Click);
menu_Ship.ship1Button.addEventListener(MouseEvent.CLICK, ship1_Click);
menu_Ship.ship2Button.addEventListener(MouseEvent.CLICK, ship2_Click);
menu_Ship.ship3Button.addEventListener(MouseEvent.CLICK, ship3_Click);
}
public function conHow_Click(_arg1:MouseEvent):void{
removeMenu_HowTo();
newGame();
loadGame(levelNumber);
if (!muted){
snd_Click.play(0, 0, trans_5);
};
}
public function levelEnded():void{
var _local1:int;
var _local2:int;
_local1 = 0;
endTicks++;
if (endTicks < 50){
shakeTicks = 6;
if (sBoomCount < 3){
spawnFx(1, (Math.random() * 500), (Math.random() * 200), 1);
if (!muted){
snd_Explode.play(0, 0, trans_3);
sBoomCount++;
};
};
} else {
if (endTicks == 50){
enemyClip.removeChild(theBoss);
spawnFx(1, 250, 100, 3);
spawnFx(5);
if (!muted){
snd_Explode.play(0, 0, trans_6);
};
slowStars = false;
_local2 = stars.length;
_local1 = 0;
while (_local1 < _local2) {
stars[_local1][1] = (stars[_local1][0].alpha * 60);
_local1++;
};
} else {
if (endTicks == 60){
theHud.endScore.gotoAndPlay(1);
} else {
if ((((endTicks >= 61)) && ((endTicks < 350)))){
if ((((endTicks >= 101)) && ((endTicks < 201)))){
theHud.endScore.scoreText.text = String(Math.floor(((playerScore / 100) * (endTicks - 100))));
theHud.endScore.moneyText.text = String(Math.floor(((playerMoney / 100) * (endTicks - 100))));
} else {
if (endTicks == 201){
theHud.endScore.scoreText.text = String(playerScore);
theHud.endScore.moneyText.text = String(playerMoney);
};
};
} else {
if (endTicks >= 350){
if (card_Luck){
if (Math.random() > 0.6){
playerMoney = (playerMoney + newMoney);
};
};
if (card_Money){
playerMoney = (playerMoney + (((13 * (levelNumber + 1)) * (levelNumber + 1)) * 40));
};
gamePaused = true;
endOfLevel = false;
bossMode = false;
Mouse.show();
clearGame();
if (levelNumber == 9){
playerScore = (playerScore + (playerMoney * 20));
addMenu_GameOver("Congratulations!");
} else {
levelNumber++;
addMenu_Card();
};
if (!muted){
chan_End.stop();
chan_Menu = music_Menu.play(0, 9999, trans_m2);
};
};
};
};
};
};
}
public function spawnFx(_arg1:int=0, _arg2:int=250, _arg3:int=300, _arg4:Number=1):void{
var _local5:DisplayObject;
var _local6:int;
_local6 = 1;
if (_arg1 == 0){
} else {
if (_arg1 == 1){
boomCount++;
if (gameQ == 1){
_local5 = new explode_3();
_local6 = 10;
} else {
_local5 = new explode_2();
_local6 = 14;
};
_local5.x = _arg2;
_local5.y = _arg3;
_local5.width = (_local5.width * _arg4);
_local5.height = (_local5.height * _arg4);
_local5.rotation = ((Math.random() * 180) - (Math.random() * 180));
} else {
if (_arg1 == 2){
_local5 = new smoke_1();
_local5.x = _arg2;
_local5.y = _arg3;
_local6 = 30;
} else {
if (_arg1 == 3){
_local5 = new flash_1();
_local5.x = 0;
_local5.y = 0;
_local5.width = 500;
_local5.height = 600;
_local6 = 2;
} else {
if (_arg1 == 4){
_local5 = new flash_2();
_local5.x = 0;
_local5.y = 0;
_local5.width = 500;
_local5.height = 600;
_local6 = 30;
} else {
if (_arg1 == 5){
_local5 = new flash_3();
_local5.x = 0;
_local5.y = 0;
_local5.width = 500;
_local5.height = 600;
_local6 = 60;
} else {
if (_arg1 == 6){
_local5 = new flash_4();
_local5.x = 0;
_local5.y = 0;
_local5.width = 500;
_local5.height = 600;
_local6 = 100;
} else {
if (_arg1 == 7){
_local5 = new shine_1();
_local5.x = playerClip.x;
_local5.y = playerClip.y;
_local6 = 15;
} else {
if (_arg1 == 8){
_local5 = new sheildCol_1();
_local5.x = playerClip.x;
_local5.y = playerClip.y;
_local6 = 15;
} else {
if (_arg1 == 9){
_local5 = new sheildCol_2();
_local5.x = playerClip.x;
_local5.y = playerClip.y;
_local6 = 15;
} else {
if (_arg1 == 10){
_local5 = new sheildCol_3();
_local5.x = playerClip.x;
_local5.y = playerClip.y;
_local6 = 15;
} else {
if (_arg1 == 11){
_local5 = new flash_5();
_local5.x = 0;
_local5.y = 0;
_local5.width = 500;
_local5.height = 600;
_local6 = 1;
} else {
if (_arg1 == 12){
_local5 = new flash_6();
_local5.x = 0;
_local5.y = 0;
_local5.width = 500;
_local5.height = 600;
_local6 = 1;
} else {
if (_arg1 == 13){
_local5 = new flash_7();
_local5.x = 0;
_local5.y = 0;
_local5.width = 500;
_local5.height = 600;
_local6 = 1;
};
};
};
};
};
};
};
};
};
};
};
};
};
fxClip.addChild(_local5);
fx.push([_local5, 0, _local6]);
};
}
public function spawnBoss():void{
var _local1:DisplayObject;
if (levelNumber == 0){
theBoss = new boss_1_gfx();
} else {
if (levelNumber == 1){
theBoss = new boss_2_gfx();
} else {
if (levelNumber == 2){
theBoss = new boss_3_gfx();
} else {
if (levelNumber == 3){
theBoss = new boss_4_gfx();
} else {
if (levelNumber == 4){
theBoss = new boss_5_gfx();
} else {
if (levelNumber == 5){
theBoss = new boss_6_gfx();
} else {
if (levelNumber == 6){
theBoss = new boss_7_gfx();
} else {
if (levelNumber == 7){
theBoss = new boss_8_gfx();
} else {
if (levelNumber == 8){
theBoss = new boss_9_gfx();
} else {
if (levelNumber == 9){
theBoss = new boss_10_gfx();
};
};
};
};
};
};
};
};
};
};
theBoss.x = boss[0];
theBoss.y = boss[1];
theBoss.alpha = 0;
enemyClip.addChild(theBoss);
bossHealth = boss[2];
bossHealthMax = boss[2];
bossWeapon = 0;
bossPath = 0;
}
public function newGame():void{
playerLives = 3;
playerScore = 0;
playerMoney = 0;
levelNumber = 0;
currentWeapon = 0;
card_Armour = 0;
card_Damage = 0;
card_Speed = 0;
wingType = 0;
wingLevel = 1;
card_Health = false;
card_Add = false;
card_Money = false;
card_Luck = false;
card_Weapon = false;
slots = [[0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0]];
}
public function main():void{
if (inIntro){
introLoop();
};
sBulletLimit = 0;
if (sBoomTicks > 5){
if (sBoomCount > 0){
sBoomCount--;
};
sBoomTicks = 0;
} else {
sBoomTicks++;
};
if (!inGameOver){
stage.focus = stage;
};
if (buttonDelay <= 0){
if (Key.isDown(80)){
if (!muted){
snd_Pause.play(0, 0, trans_1);
};
if (gamePaused){
removeMenu_Pause();
gamePaused = false;
if (playerInput == 1){
Mouse.hide();
};
if (!muted){
startGunSound();
if (!bossMode){
chan_Game = music_Game.play(0, 9999, trans_m);
} else {
chan_Boss = music_Boss.play(0, 9999, trans_m);
};
};
} else {
addMenu_Pause();
gamePaused = true;
Mouse.show();
if (!muted){
chan_Gun.stop();
chan_Game.stop();
chan_Boss.stop();
};
};
buttonDelay = 5;
};
if (Key.isDown(77)){
muted = !(muted);
buttonDelay = 5;
if (!muted){
if (gamePaused == false){
theHud.fpsTxt.text = "Audio On";
};
if (addOn){
chan_Beam = snd_Beam.play(300, 999, trans_7);
};
if (((((inCard_Menu) || (inMain_Menu))) || (inGameOver))){
chan_Beam.stop();
chan_Gun.stop();
chan_Game.stop();
chan_End.stop();
chan_Boss.stop();
chan_Menu.stop();
chan_Menu = music_Menu.play(0, 9999, trans_m2);
} else {
startGunSound();
if (!bossMode){
chan_Game = music_Game.play(0, 9999, trans_m);
} else {
chan_Boss = music_Boss.play(0, 9999, trans_m3);
};
};
} else {
if (gamePaused == false){
theHud.fpsTxt.text = "Audio Off";
};
chan_Beam.stop();
chan_Gun.stop();
chan_Menu.stop();
chan_Game.stop();
chan_End.stop();
chan_Boss.stop();
};
};
if (Key.isDown(81)){
buttonDelay = 5;
if (gameQ == 1){
stage.quality = "medium";
gameQ = 2;
if (gamePaused == false){
theHud.fpsTxt.text = "Med Quality";
};
} else {
if (gameQ == 2){
stage.quality = "high";
gameQ = 3;
if (gamePaused == false){
theHud.fpsTxt.text = "High Quality";
};
} else {
stage.quality = "low";
gameQ = 1;
if (gamePaused == false){
theHud.fpsTxt.text = "Low Quality";
};
};
};
};
} else {
if (buttonDelay > 0){
buttonDelay--;
};
};
if (moveDelay){
checkMouse();
};
loopFx();
if (gamePaused == false){
if (endOfLevel){
levelEnded();
} else {
if (!playerDead){
waves();
};
};
if (playerDead){
player_Dead();
} else {
movePlayer();
};
if (p_Bullets.length > 0){
move_p_Bullets();
};
if (enemies.length > 0){
moveEnemies();
};
if (e_Bullets.length > 0){
move_e_Bullets();
};
if (bonus.length > 0){
moveBonus();
};
if (wingType == 2){
loopRockets();
};
if (wingType != 0){
wingMenLoop();
};
moveStars();
if (!playerDead){
if (!endOfLevel){
if (!addOn){
if (weaponDelay_Ticks >= weaponDelay){
spawnPlayerBullet();
weaponDelay_Ticks = 0;
} else {
weaponDelay_Ticks++;
};
};
};
};
if (bossLoaded){
loadBoss();
};
if (bossMode){
bossLoop();
};
if (bonusOn){
bonusTimer();
};
updateHud();
if (shakeTicks > 0){
screenShake();
};
if (addOn){
add_Loop();
};
if (card_Health){
if (cardHpTicks > 300){
playerHealth = (playerHealth + 2);
cardHpTicks = 0;
};
cardHpTicks++;
};
frame_Rate();
};
}
public function main_onTick(_arg1:TimerEvent):void{
main();
}
public function loadGame(_arg1:int=0):void{
gamePaused = true;
chan_Menu.stop();
addChild(starClip);
createStars();
addChild(pBulletClip);
addChild(enemyClip);
addChild(eBulletClip);
if (wingType != 0){
if (wingType == 1){
if (wingLevel == 1){
glowF = new GlowFilter(15615181, 1, 6, 6, 3, 3);
laserDelay = 35;
} else {
if (wingLevel == 2){
glowF = new GlowFilter(0xFF0000, 1, 6, 6, 3, 3);
laserDelay = 30;
} else {
if (wingLevel == 3){
glowF = new GlowFilter(0xFF00, 1, 6, 6, 3, 3);
laserDelay = 25;
} else {
if (wingLevel == 4){
glowF = new GlowFilter(0x660099, 1, 6, 6, 3, 3);
laserDelay = 20;
} else {
if (wingLevel == 5){
glowF = new GlowFilter(26367, 1, 6, 6, 3, 3);
laserDelay = 15;
};
};
};
};
};
wingFx.filters = [glowF];
} else {
if (wingType == 2){
if (wingLevel == 1){
laserDelay = 35;
} else {
if (wingLevel == 2){
laserDelay = 30;
} else {
if (wingLevel == 3){
laserDelay = 25;
} else {
if (wingLevel == 4){
laserDelay = 20;
} else {
if (wingLevel == 5){
laserDelay = 15;
};
};
};
};
};
};
};
addChild(wingFx);
};
addChild(bonusClip);
if (playerInput == 1){
addChild(playerDot);
playerDot.x = 250;
playerDot.y = 550;
moveDelay = true;
theHud.mouseHere.alpha = 1;
theHud.spaceBegin.alpha = 0;
} else {
moveDelay = true;
theHud.mouseHere.alpha = 0;
theHud.spaceBegin.alpha = 1;
};
if (playerType == 1){
addChild(player_1);
player_1.x = 250;
player_1.y = 550;
playerClip = player_1;
pWeps = pWeapons_1;
playerHealth = 50;
playerHealthMax = 40;
} else {
if (playerType == 2){
addChild(player_2);
player_2.x = 250;
player_2.y = 550;
playerClip = player_2;
pWeps = pWeapons_2;
playerHealth = 70;
playerHealthMax = 60;
} else {
if (playerType == 3){
addChild(player_3);
player_3.x = 250;
player_3.y = 550;
playerClip = player_3;
pWeps = pWeapons_3;
playerHealth = 90;
playerHealthMax = 70;
};
};
};
playerClip.alpha = 1;
playerHealthMax = (playerHealthMax + (card_Armour * 25));
playerHealth = playerHealthMax;
weaponDamage = ((levelNumber * (36 - (playerType * 8))) + (card_Damage * 17));
weaponDelay = (6 - card_Speed);
currentWeapon = 0;
weaponMax = 4;
if (card_Weapon){
currentWeapon++;
weaponMax++;
};
if (card_Damage > card_Speed){
wBonus = card_Damage;
} else {
wBonus = card_Speed;
};
newMoney = 0;
playerAdd = 0;
if (wingType == 1){
wingClip_L = new wingLaser();
wingClip_R = new wingLaser();
} else {
if (wingType == 2){
wingClip_L = new wingRocket();
wingClip_R = new wingRocket();
};
};
if (wingType != 0){
addChild(wingClip_L);
addChild(wingClip_R);
wingClip_L.x = (playerClip.x - 25);
wingClip_L.y = (playerClip.y + 10);
wingClip_R.x = (playerClip.x + 25);
wingClip_R.y = (playerClip.y + 10);
};
addChild(fxClip);
addChild(theHud);
theHud.lives.gotoAndStop((playerLives + 1));
theHud.boss.alpha = 0;
theHud.powerUp.gotoAndStop(50);
theHud.warning.gotoAndStop(100);
theHud.slow.alpha = 0;
theHud.endScore.gotoAndStop(41);
theHud.addGlow.alpha = 0;
waveLoaded = false;
if (_arg1 == 0){
currentLevel = level_0;
} else {
if (_arg1 == 1){
currentLevel = level_1;
} else {
if (_arg1 == 2){
currentLevel = level_2;
} else {
if (_arg1 == 3){
currentLevel = level_3;
} else {
if (_arg1 == 4){
currentLevel = level_4;
} else {
if (_arg1 == 5){
currentLevel = level_5;
} else {
if (_arg1 == 6){
currentLevel = level_6;
} else {
if (_arg1 == 7){
currentLevel = level_7;
} else {
if (_arg1 == 8){
currentLevel = level_8;
} else {
if (_arg1 == 9){
currentLevel = level_9;
};
};
};
};
};
};
};
};
};
};
currentWave = 0;
currentEnemy = 0;
waveTimer = 0;
bossLoaded = false;
bossMode = false;
slowStars = false;
theBoss = null;
bonusOn = false;
playerDead = false;
deadTicks = 0;
bonusTicks = 0;
bonusType = 0;
spawnFx(4);
}
public function screenShake():void{
var _local1:int;
var _local2:int;
var _local3:int;
_local3 = 5;
shakeTicks--;
if (shakeTicks > 1){
theHud.Border.innerB.alpha = 0;
if (shakeTicks > 9){
_local3 = 3;
_local1 = ((Math.random() * 3) - (Math.random() * 3));
_local2 = ((Math.random() * 3) - (Math.random() * 3));
} else {
_local1 = ((Math.random() * 9) - (Math.random() * 9));
_local2 = ((Math.random() * 9) - (Math.random() * 9));
};
this.x = (this.x + _local1);
this.y = (this.y + _local2);
if (this.x > _local3){
this.x = _local3;
} else {
if (this.x < -(_local3)){
this.x = -(_local3);
};
};
if (this.y > _local3){
this.y = _local3;
} else {
if (this.y < -(_local3)){
this.y = -(_local3);
};
};
} else {
if (shakeTicks == 1){
this.x = 0;
this.y = 0;
theHud.Border.innerB.alpha = 1;
shakeTicks = 0;
};
};
}
public function removeMenu_Card():void{
inCard_Menu = false;
menu_Card.goButton.removeEventListener(MouseEvent.CLICK, go_Click);
slots[0][0] = null;
slots[1][0] = null;
slots[2][0] = null;
slots[3][0] = null;
slotFade = [[[0], [0], [0], [0], [0], [0], [0], [0], [0], [0]], [[0], [0], [0], [0], [0], [0], [0], [0], [0], [0]], [[0], [0], [0], [0], [0], [0], [0], [0], [0], [0]]];
this.removeChild(DisplayObject(menu_Card));
}
public function ship3_Click(_arg1:MouseEvent):void{
removeMenu_Ship();
playerType = 3;
if (sharedObj.data.seen){
newGame();
loadGame(levelNumber);
} else {
addMenu_HowTo();
};
if (!muted){
snd_Click.play(0, 0, trans_5);
};
}
public function music1_Click(_arg1:MouseEvent):void{
navigateToURL(musicWeb1, "_blank");
}
public function ship1_Click(_arg1:MouseEvent):void{
removeMenu_Ship();
playerType = 1;
if (sharedObj.data.seen){
newGame();
loadGame(levelNumber);
} else {
addMenu_HowTo();
};
if (!muted){
snd_Click.play(0, 0, trans_5);
};
}
public function slowMotion_On():void{
var _local1:int;
var _local2:int;
_local2 = enemies.length;
if (slowMo == false){
slowMo = true;
_local1 = 0;
while (_local1 < _local2) {
enemies[_local1][2] = (enemies[_local1][2] * 2);
enemies[_local1][5] = (enemies[_local1][5] * 0.5);
_local1++;
};
_local2 = e_Bullets.length;
_local1 = 0;
while (_local1 < _local2) {
e_Bullets[_local1][1] = (e_Bullets[_local1][1] * 0.5);
e_Bullets[_local1][2] = (e_Bullets[_local1][2] * 0.5);
_local1++;
};
};
theHud.slow.alpha = 1;
}
public function bkCon_Click(_arg1:MouseEvent):void{
removeMenu_Controls();
addMenu_Main();
if (!muted){
snd_Click.play(0, 0, trans_5);
};
}
public function movePlayer():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:int;
var _local5:int;
_local4 = 15;
_local5 = (6 + (3 - playerType));
if (addOn){
_local4 = 12;
_local5 = (4 + (4 - playerType));
};
if (playerInput == 1){
_local1 = (mouseX - playerClip.x);
_local2 = (mouseY - playerClip.y);
_local3 = Math.sqrt(((_local1 * _local1) + (_local2 * _local2)));
_local1 = (_local1 / _local3);
_local2 = (_local2 / _local3);
if (_local3 <= 15){
playerClip.x = mouseX;
playerClip.y = mouseY;
} else {
playerClip.x = (playerClip.x + (_local1 * _local4));
playerClip.y = (playerClip.y + (_local2 * _local4));
};
if (bossMode){
if (playerClip.y < 200){
playerClip.y = 201;
};
} else {
if (playerClip.y < 15){
playerClip.y = 16;
};
};
if (playerClip.y > 585){
playerClip.y = 584;
};
if (playerClip.x < 15){
playerClip.x = 16;
};
if (playerClip.x > 485){
playerClip.x = 484;
};
} else {
if (playerInput == 2){
if (((Key.isDown(Keyboard.RIGHT)) || (Key.isDown(68)))){
if ((playerClip.x + 17) > 500){
playerClip.x = 485;
} else {
playerClip.x = (playerClip.x + _local5);
};
} else {
if (((Key.isDown(Keyboard.LEFT)) || (Key.isDown(65)))){
if ((playerClip.x - 17) < 0){
playerClip.x = 15;
} else {
playerClip.x = (playerClip.x - _local5);
};
};
};
if (((Key.isDown(Keyboard.UP)) || (Key.isDown(87)))){
if (bossMode){
if ((playerClip.y - 25) < 200){
playerClip.y = 215;
} else {
playerClip.y = (playerClip.y - _local5);
};
} else {
if ((playerClip.y - 25) < 15){
playerClip.y = 16;
} else {
playerClip.y = (playerClip.y - _local5);
};
};
} else {
if (((Key.isDown(Keyboard.DOWN)) || (Key.isDown(83)))){
if ((playerClip.y + 25) > 600){
playerClip.y = 585;
} else {
playerClip.y = (playerClip.y + 6);
};
};
};
if (((((((((((((Key.isDown(Keyboard.SPACE)) || (Key.isDown(90)))) || (Key.isDown(88)))) || (Key.isDown(67)))) || (Key.isDown(188)))) || (Key.isDown(190)))) || (Key.isDown(191)))){
addBonus();
};
};
};
if (playerFlash > 0){
playerFlash--;
if (playerClip.alpha == 1){
playerClip.alpha = 0.3;
} else {
if (playerClip.alpha == 0.3){
playerClip.alpha = 0.4;
} else {
playerClip.alpha = 1;
};
};
} else {
playerFlash = 0;
};
playerDot.x = mouseX;
playerDot.y = mouseY;
if (addOn){
addClip.x = playerClip.x;
addClip.y = (playerClip.y - 10);
};
if (shieldType != 0){
shieldClip.x = playerClip.x;
if (playerType == 3){
shieldClip.y = (playerClip.y - 5);
} else {
shieldClip.y = playerClip.y;
};
};
if (wingType != 0){
wingClip_L.x = (playerClip.x - 25);
wingClip_L.y = (playerClip.y + 10);
wingClip_R.x = (playerClip.x + 25);
wingClip_R.y = (playerClip.y + 10);
};
}
public function offS_Click(_arg1:MouseEvent):void{
if (!muted){
chan_Menu.stop();
snd_Click.play(0, 0, trans_5);
};
muted = true;
}
public function slowMotion_Off():void{
var _local1:int;
var _local2:int;
_local2 = enemies.length;
if (slowMo == true){
slowMo = false;
_local1 = 0;
while (_local1 < _local2) {
enemies[_local1][2] = (enemies[_local1][2] * 0.5);
enemies[_local1][5] = (enemies[_local1][5] * 2);
_local1++;
};
_local2 = e_Bullets.length;
_local1 = 0;
while (_local1 < _local2) {
e_Bullets[_local1][1] = (e_Bullets[_local1][1] * 2);
e_Bullets[_local1][2] = (e_Bullets[_local1][2] * 2);
_local1++;
};
};
theHud.slow.alpha = 0;
}
public function disableBonus():void{
if (addOn){
add_Off();
} else {
if (bonusType == 1){
slowMotion_Off();
} else {
if (bonusType == 4){
shield_Off();
} else {
if (bonusType == 5){
shield_Off();
} else {
if (bonusType == 6){
shield_Off();
};
};
};
};
};
}
public function startGunSound():void{
chan_Gun.stop();
if (!muted){
if (card_Speed == 0){
chan_Gun = snd_Gun.play(0, 9999, trans_2);
} else {
if (card_Speed == 1){
chan_Gun = snd_Gun.play(60, 9999, trans_2);
} else {
if (card_Speed == 2){
chan_Gun = snd_Gun.play(80, 9999, trans_2);
} else {
if (card_Speed == 3){
chan_Gun = snd_Gun.play(100, 9999, trans_2);
} else {
if (card_Speed == 4){
chan_Gun = snd_Gun.play(120, 9999, trans_2);
} else {
if (card_Speed == 5){
chan_Gun = snd_Gun.play(140, 9999, trans_2);
};
};
};
};
};
};
};
}
public function spawnPlayerBullet():void{
var _local1:int;
var _local2:int;
var _local3:DisplayObject;
var _local4:Number;
var _local5:Number;
var _local6:int;
var _local7:int;
_local2 = pWeps[currentWeapon].length;
_local1 = 0;
while (_local1 < _local2) {
_local7 = pWeps[currentWeapon][_local1][2];
if (playerType == 1){
if (wBonus == 0){
if ((((_local7 == 1)) || ((_local7 == 0)))){
_local3 = new pBul_j1_1();
} else {
if (_local7 == 2){
_local3 = new pBul_j2_1();
};
};
} else {
if (wBonus == 1){
if ((((_local7 == 1)) || ((_local7 == 0)))){
_local3 = new pBul_j1_2();
} else {
if (_local7 == 2){
_local3 = new pBul_j2_2();
};
};
} else {
if (wBonus == 2){
if ((((_local7 == 1)) || ((_local7 == 0)))){
_local3 = new pBul_j1_3();
} else {
if (_local7 == 2){
_local3 = new pBul_j2_3();
};
};
} else {
if (wBonus == 3){
if ((((_local7 == 1)) || ((_local7 == 0)))){
_local3 = new pBul_j1_4();
} else {
if (_local7 == 2){
_local3 = new pBul_j2_4();
};
};
} else {
if (wBonus == 4){
if ((((_local7 == 1)) || ((_local7 == 0)))){
_local3 = new pBul_j1_5();
} else {
if (_local7 == 2){
_local3 = new pBul_j2_5();
};
};
} else {
if (wBonus == 5){
if ((((_local7 == 1)) || ((_local7 == 0)))){
_local3 = new pBul_j1_6();
} else {
if (_local7 == 2){
_local3 = new pBul_j2_6();
};
};
};
};
};
};
};
};
} else {
if (playerType == 2){
if (wBonus == 0){
if ((((_local7 == 1)) || ((_local7 == 0)))){
_local3 = new pBul_t1_1();
} else {
if (_local7 == 2){
_local3 = new pBul_t2_1();
};
};
} else {
if (wBonus == 1){
if ((((_local7 == 1)) || ((_local7 == 0)))){
_local3 = new pBul_t1_2();
} else {
if (_local7 == 2){
_local3 = new pBul_t2_2();
};
};
} else {
if (wBonus == 2){
if ((((_local7 == 1)) || ((_local7 == 0)))){
_local3 = new pBul_t1_3();
} else {
if (_local7 == 2){
_local3 = new pBul_t2_3();
};
};
} else {
if (wBonus == 3){
if ((((_local7 == 1)) || ((_local7 == 0)))){
_local3 = new pBul_t1_4();
} else {
if (_local7 == 2){
_local3 = new pBul_t2_4();
};
};
} else {
if (wBonus == 4){
if ((((_local7 == 1)) || ((_local7 == 0)))){
_local3 = new pBul_t1_5();
} else {
if (_local7 == 2){
_local3 = new pBul_t2_5();
};
};
} else {
if (wBonus == 5){
if ((((_local7 == 1)) || ((_local7 == 0)))){
_local3 = new pBul_t1_6();
} else {
if (_local7 == 2){
_local3 = new pBul_t2_6();
};
};
};
};
};
};
};
};
} else {
if (playerType == 3){
if (wBonus == 0){
if ((((_local7 == 1)) || ((_local7 == 0)))){
_local3 = new pBul_o1_1();
} else {
if (_local7 == 2){
_local3 = new pBul_o2_1();
};
};
} else {
if (wBonus == 1){
if ((((_local7 == 1)) || ((_local7 == 0)))){
_local3 = new pBul_o1_2();
} else {
if (_local7 == 2){
_local3 = new pBul_o2_2();
};
};
} else {
if (wBonus == 2){
if ((((_local7 == 1)) || ((_local7 == 0)))){
_local3 = new pBul_o1_3();
} else {
if (_local7 == 2){
_local3 = new pBul_o2_3();
};
};
} else {
if (wBonus == 3){
if ((((_local7 == 1)) || ((_local7 == 0)))){
_local3 = new pBul_o1_4();
} else {
if (_local7 == 2){
_local3 = new pBul_o2_4();
};
};
} else {
if (wBonus == 4){
if ((((_local7 == 1)) || ((_local7 == 0)))){
_local3 = new pBul_o1_5();
} else {
if (_local7 == 2){
_local3 = new pBul_o2_5();
};
};
} else {
if (wBonus == 5){
if ((((_local7 == 1)) || ((_local7 == 0)))){
_local3 = new pBul_o1_6();
} else {
if (_local7 == 2){
_local3 = new pBul_o2_6();
};
};
};
};
};
};
};
};
};
};
};
_local3.x = (playerClip.x + pWeps[currentWeapon][_local1][3]);
_local3.y = playerClip.y;
_local3.rotation = pWeps[currentWeapon][_local1][5];
pBulletClip.addChild(_local3);
_local4 = pWeps[currentWeapon][_local1][0];
_local5 = pWeps[currentWeapon][_local1][1];
_local6 = pWeps[currentWeapon][_local1][4];
p_Bullets.push([_local3, _local4, _local5, _local6]);
_local1++;
};
}
public function addMenu_Card():void{
var _local1:cardmenu;
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:DisplayObject;
inCard_Menu = true;
_local1 = new cardmenu();
_local1.x = 0;
_local1.y = 0;
addChild(_local1);
menu_Card = _local1;
menu_Card.moneyTxt.text = String(playerMoney);
menu_Card.goButton.addEventListener(MouseEvent.CLICK, go_Click);
if (!muted){
chan_Game.stop();
chan_End.stop();
chan_Boss.stop();
chan_Gun.stop();
};
if (slots[0][1] != 0){
menu_Card.slot_1.alpha = 0;
};
if (slots[1][1] != 0){
menu_Card.slot_2.alpha = 0;
};
if (slots[2][1] != 0){
menu_Card.slot_3.alpha = 0;
};
if (slots[3][1] != 0){
menu_Card.slot_4.alpha = 0;
};
_local2 = 0;
while (_local2 < 4) {
if (slots[_local2][1] != 0){
pickCard(slots[_local2][1], slots[_local2][2], _local2);
};
_local2++;
};
_local2 = 0;
while (_local2 < 10) {
_local3 = 0;
while (_local3 < 3) {
if (slotData[_local3][_local2][2] > playerMoney){
_local5 = new card_Fade();
_local5.x = (48 + (41 * _local2));
_local5.y = (124 + (51 * _local3));
slotFade[_local3][_local2] = _local5;
menu_Card.addChild(_local5);
};
_local3++;
};
_local2++;
};
}
public function add_On():void{
chan_Gun.stop();
if (!muted){
chan_Beam = snd_Beam.play(300, 999, trans_7);
};
if (gameQ == 3){
this.filters = [blurF];
};
addClip = new beam_1();
addChild(addClip);
addOn = true;
spawnFx(4);
theHud.slow.alpha = 1;
}
public function removeMenu_Options():void{
menu_Options.bkButton.removeEventListener(MouseEvent.CLICK, bkOptions_Click);
menu_Options.onButton.removeEventListener(MouseEvent.CLICK, onS_Click);
menu_Options.offButton.removeEventListener(MouseEvent.CLICK, offS_Click);
menu_Options.qSlider.removeEventListener(Event.CHANGE, qChange_Click);
this.removeChild(DisplayObject(menu_Options));
}
public function addMenu_Pause():void{
var _local1:pausemenu;
gamePaused = true;
_local1 = new pausemenu();
_local1.x = 0;
_local1.y = 0;
addChild(_local1);
menu_Pause = _local1;
menu_Pause.quitButton.addEventListener(MouseEvent.CLICK, quit_Click);
}
public function main_onComplete(_arg1:TimerEvent):void{
mainTimer.reset();
mainTimer.start();
}
public function reportClick(_arg1:MouseEvent):void{
if (!gamePaused){
addBonus();
};
if (inCard_Menu){
cardClick();
};
}
public function submit_Click(_arg1:MouseEvent):void{
var _local2:ScoreSubmitter;
menu_GameOver.submitButton.x = -9000;
menu_GameOver.submitButton.alpha = 0;
_local2 = new ScoreSubmitter();
_local2.addEventListener(ScoreSubmitter.SCORE_RESPONSE, onScoreResponse);
_local2.submitScore(menu_GameOver.nameTxt.text, Number(menu_GameOver.scoreTxt.text));
newGame();
if (!muted){
snd_Click.play(0, 0, trans_5);
};
}
public function addMenu_Controls():void{
var _local1:controlmenu;
_local1 = new controlmenu();
_local1.x = 0;
_local1.y = 0;
addChild(_local1);
menu_Controls = _local1;
menu_Controls.keyButton.addEventListener(MouseEvent.CLICK, keySet_Click);
menu_Controls.mouseButton.addEventListener(MouseEvent.CLICK, mouseSet_Click);
menu_Controls.bkButton.addEventListener(MouseEvent.CLICK, bkCon_Click);
}
public function bonusTimer():void{
if (bonusTicks < 100){
if ((((((bonusType == 4)) || ((bonusType == 6)))) || ((bonusType == 5)))){
if (shieldClip.alpha == 1){
shieldClip.alpha = 0;
} else {
shieldClip.alpha = 1;
};
};
};
if (bonusTicks <= 0){
bonusTicks = 0;
bonusOn = false;
disableBonus();
bonusType = 0;
} else {
bonusTicks--;
playerAdd = 1;
};
}
public function shield_On(_arg1:int):void{
if (!muted){
snd_pUp.play(0, 0, trans_3);
};
if (_arg1 == 1){
shieldClip = new redShield();
} else {
if (_arg1 == 2){
shieldClip = new greenShield();
} else {
if (_arg1 == 3){
shieldClip = new blueShield();
};
};
};
addChild(shieldClip);
shieldType = _arg1;
}
public function bkScores_Click(_arg1:MouseEvent):void{
chan_Menu.stop();
removeMenu_Scores();
addMenu_Main();
if (!muted){
snd_Click.play(0, 0, trans_5);
};
}
public function bkOptions_Click(_arg1:MouseEvent):void{
removeMenu_Options();
addMenu_Main();
if (!muted){
snd_Click.play(0, 0, trans_5);
};
}
public function move_e_Bullets():void{
var _local1:int;
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
_local2 = e_Bullets.length;
_local1 = 0;
while (_local1 < _local2) {
e_Bullets[_local1][0].x = (e_Bullets[_local1][0].x + e_Bullets[_local1][1]);
e_Bullets[_local1][0].y = (e_Bullets[_local1][0].y + e_Bullets[_local1][2]);
_local3 = e_Bullets[_local1][0].x;
_local4 = e_Bullets[_local1][0].y;
if ((((((((_local3 > 500)) || ((_local4 > 600)))) || ((_local3 < 0)))) || ((_local4 < 0)))){
e_Bullets_Splice.push(_local1);
playerScore = (playerScore + 1);
} else {
if (addOn){
if (((((_local3 + 10) > (playerClip.x - 60))) && (((_local3 - 10) < (playerClip.x + 60))))){
e_Bullets_Splice.push(_local1);
};
} else {
if (endOfLevel){
e_Bullets_Splice.push(_local1);
spawnBonus(0, _local3, _local4);
} else {
if (playerFlash == 0){
if ((e_Bullets[_local1][0].y + 3) > (playerClip.y - 5)){
_local5 = (e_Bullets[_local1][0].x - playerClip.x);
_local6 = (e_Bullets[_local1][0].y - playerClip.y);
_local7 = (2 * ((_local5 * _local5) + (_local6 * _local6)));
if (shieldType == 1){
_local8 = shield_Rad_Small;
if (_local7 <= _local8){
playerHealth = (playerHealth + 2);
e_Bullets_Splice.push(_local1);
spawnFx(10);
spawnFx(13);
if (!muted){
snd_hp.play(0, 0, trans_1);
};
};
} else {
if (shieldType == 2){
_local8 = shield_Rad_Small;
if (_local7 <= _local8){
playerMoney = (playerMoney + (5 * (levelNumber + 1)));
e_Bullets_Splice.push(_local1);
spawnFx(8);
spawnFx(12);
if (!muted){
snd_coin.play(0, 0, trans_2);
};
};
} else {
if (shieldType == 3){
_local8 = shield_Rad_Small;
if (_local7 <= _local8){
_local7 = Math.sqrt(_local7);
_local5 = (_local5 / _local7);
_local6 = (_local6 / _local7);
spawnRebound((_local5 * 4), -10, e_Bullets[_local1][0].x, (e_Bullets[_local1][0].y - 5), e_Bullets[_local1][3]);
e_Bullets_Splice.push(_local1);
spawnFx(9);
spawnFx(11);
if (!muted){
snd_rebound.play(0, 0, trans_1);
};
};
} else {
if (e_Bullets[_local1][3]){
_local8 = player_Rad_Large;
} else {
_local8 = player_Rad_Small;
};
if (_local7 <= _local8){
playerHealth = (playerHealth - 10);
e_Bullets_Splice.push(_local1);
spawnFx(3);
scoreMultTicks = 0;
scoreMult = 1;
if (!muted){
snd_pHit.play(0, 0, trans_3);
};
};
};
};
};
};
};
};
};
};
_local1++;
};
_local2 = e_Bullets_Splice.length;
_local1 = 0;
while (_local1 < _local2) {
eBulletClip.removeChild(e_Bullets[(e_Bullets_Splice[_local1] - e_BulletsOff)][0]);
e_Bullets.splice((e_Bullets_Splice[_local1] - e_BulletsOff), 1);
e_BulletsOff++;
_local1++;
};
e_Bullets_Splice = [];
e_BulletsOff = 0;
}
public function contactPage(_arg1:ContextMenuEvent){
navigateToURL(webby, "_blank");
}
public function removeMenu_Pause():void{
menu_Pause.quitButton.removeEventListener(MouseEvent.CLICK, quit_Click);
this.removeChild(DisplayObject(menu_Pause));
}
public function bkShip_Click(_arg1:MouseEvent):void{
removeMenu_Ship();
addMenu_Controls();
if (!muted){
snd_Click.play(0, 0, trans_5);
};
}
public function loopFx():void{
var _local1:int;
var _local2:int;
if (boomTicks > 5){
if (boomCount > 0){
boomCount--;
};
boomTicks = 0;
} else {
boomTicks++;
};
_local2 = fx.length;
_local1 = 0;
while (_local1 < _local2) {
if (fx[_local1][1] >= fx[_local1][2]){
fx_Splice.push(_local1);
} else {
var _local3 = fx[_local1];
var _local4 = 1;
var _local5 = (_local3[_local4] + 1);
_local3[_local4] = _local5;
};
_local1++;
};
_local2 = fx_Splice.length;
_local1 = 0;
while (_local1 < _local2) {
fxClip.removeChild(fx[(fx_Splice[_local1] - fxOff)][0]);
fx.splice((fx_Splice[_local1] - fxOff), 1);
fxOff++;
_local1++;
};
fx_Splice = [];
fxOff = 0;
}
public function addMenu_Intro():void{
var _local1:intromenu;
inIntro = true;
_local1 = new intromenu();
_local1.x = 0;
_local1.y = 0;
addChild(_local1);
menu_Intro = _local1;
}
public function pickCard(_arg1:int, _arg2:int, _arg3:int):void{
var _local4:DisplayObject;
if (_arg1 == 1){
if (_arg2 == 1){
_local4 = new card_dam_1();
} else {
if (_arg2 == 2){
_local4 = new card_dam_2();
} else {
if (_arg2 == 3){
_local4 = new card_dam_3();
} else {
if (_arg2 == 4){
_local4 = new card_dam_4();
} else {
if (_arg2 == 5){
_local4 = new card_dam_5();
};
};
};
};
};
} else {
if (_arg1 == 2){
if (_arg2 == 1){
_local4 = new card_def_1();
} else {
if (_arg2 == 2){
_local4 = new card_def_2();
} else {
if (_arg2 == 3){
_local4 = new card_def_3();
} else {
if (_arg2 == 4){
_local4 = new card_def_4();
} else {
if (_arg2 == 5){
_local4 = new card_def_5();
};
};
};
};
};
} else {
if (_arg1 == 3){
if (_arg2 == 1){
_local4 = new card_speed_1();
} else {
if (_arg2 == 2){
_local4 = new card_speed_2();
} else {
if (_arg2 == 3){
_local4 = new card_speed_3();
} else {
if (_arg2 == 4){
_local4 = new card_speed_4();
} else {
if (_arg2 == 5){
_local4 = new card_speed_5();
};
};
};
};
};
} else {
if (_arg1 == 4){
if (_arg2 == 1){
_local4 = new card_wing1_1();
} else {
if (_arg2 == 2){
_local4 = new card_wing1_2();
} else {
if (_arg2 == 3){
_local4 = new card_wing1_3();
} else {
if (_arg2 == 4){
_local4 = new card_wing1_4();
} else {
if (_arg2 == 5){
_local4 = new card_wing1_5();
};
};
};
};
};
} else {
if (_arg1 == 5){
if (_arg2 == 1){
_local4 = new card_wing2_1();
} else {
if (_arg2 == 2){
_local4 = new card_wing2_2();
} else {
if (_arg2 == 3){
_local4 = new card_wing2_3();
} else {
if (_arg2 == 4){
_local4 = new card_wing2_4();
} else {
if (_arg2 == 5){
_local4 = new card_wing2_5();
};
};
};
};
};
} else {
if (_arg1 == 6){
_local4 = new card_add();
} else {
if (_arg1 == 7){
_local4 = new card_health();
} else {
if (_arg1 == 8){
_local4 = new card_luck();
} else {
if (_arg1 == 9){
_local4 = new card_money();
} else {
if (_arg1 == 10){
_local4 = new card_weapon();
};
};
};
};
};
};
};
};
};
};
_local4.x = (155 + (_arg3 * 51));
_local4.y = 430;
menu_Card.addChild(_local4);
slots[_arg3][0] = _local4;
if (slots[0][1] != 0){
menu_Card.slot_1.alpha = 0;
};
if (slots[1][1] != 0){
menu_Card.slot_2.alpha = 0;
};
if (slots[2][1] != 0){
menu_Card.slot_3.alpha = 0;
};
if (slots[3][1] != 0){
menu_Card.slot_4.alpha = 0;
};
}
public function addMenu_Options():void{
var _local1:optionsmenu;
_local1 = new optionsmenu();
_local1.x = 0;
_local1.y = 0;
addChild(_local1);
menu_Options = _local1;
menu_Options.bkButton.addEventListener(MouseEvent.CLICK, bkOptions_Click);
menu_Options.onButton.addEventListener(MouseEvent.CLICK, onS_Click);
menu_Options.offButton.addEventListener(MouseEvent.CLICK, offS_Click);
menu_Options.qSlider.addEventListener(Event.CHANGE, qChange_Click);
}
public function moveBonus():void{
var _local1:int;
var _local2:int;
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
_local2 = bonus.length;
_local1 = 0;
while (_local1 < _local2) {
if (bonus[_local1][0].y > 600){
bonus_Splice.push(_local1);
} else {
if (addOn){
if ((((((bonus[_local1][0].x > (playerClip.x - 60))) && ((bonus[_local1][0].x < (playerClip.x + 60))))) && ((bonus[_local1][0].y < playerClip.y)))){
bonus_Splice.push(_local1);
collectBonus(0);
} else {
bonus[_local1][0].x = (bonus[_local1][0].x + 0.3);
bonus[_local1][0].y = (bonus[_local1][0].y + 2);
};
} else {
_local3 = (bonus[_local1][0].x - playerClip.x);
_local4 = (bonus[_local1][0].y - playerClip.y);
_local5 = (2 * ((_local3 * _local3) + (_local4 * _local4)));
_local6 = bonus_Rad;
if (_local5 <= _local6){
bonus_Splice.push(_local1);
collectBonus(bonus[_local1][1]);
} else {
bonus[_local1][0].x = (bonus[_local1][0].x + 0.5);
bonus[_local1][0].y = (bonus[_local1][0].y + 2);
};
};
};
_local1++;
};
_local2 = bonus_Splice.length;
_local1 = 0;
while (_local1 < _local2) {
bonusClip.removeChild(bonus[(bonus_Splice[_local1] - bonusOff)][0]);
bonus.splice((bonus_Splice[_local1] - bonusOff), 1);
bonusOff++;
_local1++;
};
bonus_Splice = [];
bonusOff = 0;
}
public function qChange_Click(_arg1:Event):void{
if (menu_Options.qSlider.value == 3){
menu_Options.qText.text = "High";
stage.quality = "high";
gameQ = 3;
} else {
if (menu_Options.qSlider.value == 2){
menu_Options.qText.text = "Medium";
stage.quality = "medium";
gameQ = 2;
} else {
if (menu_Options.qSlider.value == 1){
menu_Options.qText.text = "Low";
stage.quality = "low";
gameQ = 1;
} else {
menu_Options.qText.text = "Low";
stage.quality = "low";
gameQ = 1;
};
};
};
if (!muted){
snd_Click.play(0, 0, trans_5);
};
}
public function introLoop():void{
if (menu_Intro.introClip.doneTicks == 101){
removeMenu_Intro();
addMenu_Main();
};
}
public function viewScores_Click(_arg1:MouseEvent):void{
ScoreSubmitter.loadHighScorePage();
}
public function removeMenu_Intro():void{
inIntro = false;
this.removeChild(DisplayObject(menu_Intro));
}
public function spawnRebound(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:Boolean=false):void{
var _local6:DisplayObject;
if (_arg5){
_local6 = new reboundBulletBig();
} else {
_local6 = new reboundBullet();
};
_local6.x = _arg3;
_local6.y = _arg4;
pBulletClip.addChild(_local6);
p_Bullets.push([_local6, _arg1, _arg2, 100]);
}
public function player_Dead():void{
var _local1:int;
var _local2:int;
deadTicks++;
if (deadTicks == 2){
spawnFx(6);
disableBonus();
Mouse.show();
} else {
if ((((deadTicks > 2)) && ((deadTicks <= 50)))){
_local1 = ((Math.random() * 20) - (Math.random() * 20));
_local2 = ((Math.random() * 20) - (Math.random() * 20));
if (Math.random() > 0.7){
spawnFx(1, (playerClip.x + _local1), (playerClip.y + _local2), 1);
};
if (sBoomCount < 4){
if (!muted){
snd_Explode.play(0, 0, trans_2);
sBoomCount++;
};
};
} else {
if ((((deadTicks > 50)) && ((deadTicks <= 100)))){
} else {
if (deadTicks > 100){
clearGame();
playerScore = (playerScore + (playerMoney * 5));
addMenu_GameOver("Game Over");
playerDead = false;
gamePaused = true;
if (!muted){
chan_Menu = music_Menu.play(0, 9999, trans_m2);
};
};
};
};
};
}
public function wingMenLoop():void{
var _local1:int;
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:int;
var _local10:int;
var _local11:int;
var _local12:int;
var _local13:Number;
var _local14:int;
_local1 = 0;
_local2 = enemies.length;
_local5 = 9999;
_local6 = 9999;
_local7 = 9999;
_local8 = 9999;
_local14 = 0;
if (wingType == 1){
lasers.clear();
_local13 = (1 - (laserTicks * 0.08));
if (wingLevel == 1){
lasers.lineStyle(2, 15752146, _local13);
} else {
if (wingLevel == 2){
lasers.lineStyle(2, 16755370, _local13);
} else {
if (wingLevel == 3){
lasers.lineStyle(2, 11534330, _local13);
} else {
if (wingLevel == 4){
lasers.lineStyle(2, 6697881, _local13);
} else {
if (wingLevel == 5){
lasers.lineStyle(2, 3355647, _local13);
};
};
};
};
};
if (laserTicks < 15){
if (bossMode){
_local5 = (theBoss.x - 10);
_local7 = theBoss.y;
_local6 = (_local5 + 20);
_local8 = _local7;
} else {
_local1 = 0;
while (_local1 < _local2) {
_local11 = enemies[_local1][0].x;
_local12 = enemies[_local1][0].y;
if ((((((_local11 < wingClip_L.x)) && ((_local11 > 0)))) && ((_local12 < playerClip.y)))){
if (_local12 > _local3){
_local3 = _local12;
_local5 = _local11;
_local7 = _local12;
_local9 = _local1;
};
} else {
if ((((((_local11 > wingClip_R.x)) && ((_local11 < 500)))) && ((_local12 < playerClip.y)))){
if (_local12 > _local4){
_local4 = _local12;
_local6 = _local11;
_local8 = _local12;
_local10 = _local1;
};
};
};
_local1++;
};
};
if (_local5 != 9999){
lasers.moveTo(wingClip_L.x, wingClip_L.y);
lasers.lineTo(_local5, _local7);
if (bossMode){
bossHealth = (bossHealth - (5 * wingLevel));
} else {
enemies[_local9][7] = (enemies[_local9][7] - (6 * wingLevel));
};
};
if (_local6 != 9999){
lasers.moveTo(wingClip_R.x, wingClip_R.y);
lasers.lineTo(_local6, _local8);
if (bossMode){
bossHealth = (bossHealth - (5 * wingLevel));
} else {
enemies[_local10][7] = (enemies[_local10][7] - (6 * wingLevel));
};
};
} else {
if (laserTicks >= laserDelay){
laserTicks = 0;
};
};
laserTicks++;
} else {
if (wingType == 2){
if (laserTicks >= laserDelay){
if (((bossMode) || ((enemies.length > 0)))){
spawnRockets();
if (((!(muted)) && (!((gameQ == 1))))){
snd_eHit.play(0, 0, trans_0);
};
};
laserTicks = 0;
};
laserTicks++;
};
};
}
public function moveStars():void{
var _local1:int;
var _local2:int;
_local2 = stars.length;
_local1 = 0;
while (_local1 < _local2) {
if (stars[_local1][0].y > 600){
stars[_local1][0].y = (Math.random() * -10);
stars[_local1][0].x = (Math.random() * 500);
stars[_local1][0].alpha = Math.random();
if (slowStars){
stars[_local1][1] = (stars[_local1][0].alpha + 1);
} else {
if (endOfLevel){
stars[_local1][1] = ((stars[_local1][0].alpha * 60) + 1);
} else {
stars[_local1][1] = ((stars[_local1][0].alpha * 15) + 1);
};
};
} else {
if (((slowMo) && ((bossLoaded == false)))){
stars[_local1][0].y = (stars[_local1][0].y + (stars[_local1][1] * 0.5));
} else {
stars[_local1][0].y = (stars[_local1][0].y + stars[_local1][1]);
};
};
_local1++;
};
}
public function go_Click(_arg1:MouseEvent):void{
if (!muted){
snd_Click.play(0, 0, trans_5);
};
removeMenu_Card();
loadGame(levelNumber);
}
public function start_Click(_arg1:MouseEvent):void{
removeMenu_Main();
addMenu_Controls();
if (!muted){
snd_Click.play(0, 0, trans_5);
};
}
public function bkOver_Click(_arg1:MouseEvent):void{
removeMenu_GameOver();
newGame();
addMenu_Main();
if (!muted){
snd_Click.play(0, 0, trans_5);
};
}
public function mocClose():void{
if (!muted){
};
}
public function quit_Click(_arg1:MouseEvent):void{
removeMenu_Pause();
clearGame();
newGame();
addMenu_Main();
if (!muted){
snd_Click.play(0, 0, trans_5);
};
}
public function shield_Off():void{
if (!muted){
snd_pDown.play(0, 0, trans_3);
};
if ((((((shieldType == 1)) || ((shieldType == 2)))) || ((shieldType == 3)))){
removeChild(shieldClip);
shieldType = 0;
};
}
public function addMenu_HowTo():void{
var _local1:howtomenu;
_local1 = new howtomenu();
_local1.x = 0;
_local1.y = 0;
addChild(_local1);
menu_HowTo = _local1;
menu_HowTo.conButton.addEventListener(MouseEvent.CLICK, conHow_Click);
}
public function updateHud():void{
if (playerLives < 0){
playerDead = true;
if (!muted){
chan_Gun.stop();
chan_Game.stop();
chan_Boss.stop();
};
} else {
theHud.scoreTxt.text = String(playerScore);
theHud.lives.gotoAndStop((playerLives + 1));
if (playerHealth > playerHealthMax){
playerHealth = playerHealthMax;
};
if (playerHealth <= 0){
spawnFx(1, playerClip.x, playerClip.y, 2);
spawnFx(4);
playerFlash = 150;
playerHealth = playerHealthMax;
playerLives--;
if (!muted){
snd_Explode.play(0, 0, trans_7);
};
};
theHud.health.healthMask.y = (100 - (playerHealth / (playerHealthMax * 0.01)));
if (playerAdd < 0){
playerAdd = 1;
} else {
if (playerAdd > 374){
playerAdd = 374;
};
};
if (playerAdd >= 370){
addMode = 8;
theHud.addGlow.alpha = 1;
theHud.logo1.alpha = 0.2;
theHud.logo2.alpha = 0.2;
theHud.logo3.alpha = 0.2;
theHud.logo4.alpha = 1;
} else {
theHud.addGlow.alpha = 0;
if ((((playerAdd >= 90)) && ((playerAdd < 188)))){
addMode = 5;
theHud.logo1.alpha = 1;
theHud.logo2.alpha = 0.2;
theHud.logo3.alpha = 0.2;
theHud.logo4.alpha = 0.2;
} else {
if ((((playerAdd >= 188)) && ((playerAdd < 280)))){
addMode = 6;
theHud.logo1.alpha = 0.2;
theHud.logo2.alpha = 1;
theHud.logo3.alpha = 0.2;
theHud.logo4.alpha = 0.2;
} else {
if ((((playerAdd >= 280)) && ((playerAdd < 370)))){
addMode = 7;
theHud.logo1.alpha = 0.2;
theHud.logo2.alpha = 0.2;
theHud.logo3.alpha = 1;
theHud.logo4.alpha = 0.2;
} else {
addMode = 0;
theHud.logo1.alpha = 0.2;
theHud.logo2.alpha = 0.2;
theHud.logo3.alpha = 0.2;
theHud.logo4.alpha = 0.2;
};
};
};
};
theHud.addren.healthMask.y = (374 - playerAdd);
theHud.bonus.healthMask.y = (105 - (bonusTicks / 3.5));
if (bonusType == 1){
theHud.bonusLogo.gotoAndStop(6);
} else {
if (bonusType == 4){
theHud.bonusLogo.gotoAndStop(5);
} else {
if (bonusType == 5){
theHud.bonusLogo.gotoAndStop(4);
} else {
if (bonusType == 6){
theHud.bonusLogo.gotoAndStop(3);
} else {
if (bonusType == 8){
theHud.bonusLogo.gotoAndStop(2);
} else {
theHud.bonusLogo.gotoAndStop(1);
};
};
};
};
};
};
if (bossMode){
theHud.boss.bossMask.x = (-374 + (bossHealth / (bossHealthMax / 374)));
};
if (scoreMultTicks >= 1){
scoreMultTicks = 0;
scoreMult++;
};
theHud.scoreM.text = String(("Score x" + scoreMult));
}
public function removeMenu_Controls():void{
menu_Controls.keyButton.removeEventListener(MouseEvent.CLICK, keySet_Click);
menu_Controls.mouseButton.removeEventListener(MouseEvent.CLICK, mouseSet_Click);
menu_Controls.bkButton.removeEventListener(MouseEvent.CLICK, bkCon_Click);
this.removeChild(DisplayObject(menu_Controls));
}
public function add_Loop():void{
var _local1:int;
var _local2:int;
_local2 = enemies.length;
shakeTicks = 6;
playerAdd = 1;
if (bossMode){
if (((((theBoss.x + (theBoss.width * 0.5)) > (playerClip.x - 60))) && (((theBoss.x - (theBoss.width * 0.5)) < (playerClip.x + 60))))){
bossHealth = (bossHealth - (25 * (levelNumber + 1)));
};
};
_local1 = 0;
while (_local1 < _local2) {
if (((((((enemies[_local1][0].x + 20) > (playerClip.x - 70))) && (((enemies[_local1][0].x - 20) < (playerClip.x + 70))))) && ((enemies[_local1][0].y < playerClip.y)))){
enemies[_local1][7] = 0;
};
_local1++;
};
}
public function keySet_Click(_arg1:MouseEvent):void{
removeMenu_Controls();
playerInput = 2;
addMenu_Ship();
if (!muted){
snd_Click.play(0, 0, trans_5);
};
}
public function removeMenu_HowTo():void{
sharedObj.data.seen = true;
sharedObj.flush();
menu_HowTo.conButton.removeEventListener(MouseEvent.CLICK, conHow_Click);
this.removeChild(DisplayObject(menu_HowTo));
}
public function bkCredits_Click(_arg1:MouseEvent):void{
removeMenu_Credits();
addMenu_Main();
if (!muted){
snd_Click.play(0, 0, trans_5);
};
}
public function onS_Click(_arg1:MouseEvent):void{
muted = false;
if (!muted){
chan_Menu.stop();
chan_Menu = music_Menu.play(0, 9999, trans_m2);
snd_Click.play(0, 0, trans_5);
};
}
public function addMenu_GameOver(_arg1:String="Whoops"):void{
var _local2:gameovermenu;
gamePaused = true;
Mouse.show();
inGameOver = true;
_local2 = new gameovermenu();
_local2.x = 0;
_local2.y = 0;
addChild(_local2);
menu_GameOver = _local2;
menu_GameOver.titleTxt.text = _arg1;
menu_GameOver.scoreTxt.text = playerScore;
menu_GameOver.bkButton.addEventListener(MouseEvent.CLICK, bkOver_Click);
menu_GameOver.submitButton.addEventListener(MouseEvent.CLICK, submit_Click);
menu_GameOver.viewButton.addEventListener(MouseEvent.CLICK, viewScores_Click);
menu_GameOver.moreButton.addEventListener(MouseEvent.CLICK, moreGames_Click);
}
public function move_p_Bullets():void{
var _local1:int;
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Boolean;
var _local12:int;
_local2 = p_Bullets.length;
_local4 = enemies.length;
_local11 = false;
_local1 = 0;
while (_local1 < _local2) {
p_Bullets[_local1][0].x = (p_Bullets[_local1][0].x + p_Bullets[_local1][1]);
p_Bullets[_local1][0].y = (p_Bullets[_local1][0].y + p_Bullets[_local1][2]);
_local5 = p_Bullets[_local1][0].x;
_local6 = p_Bullets[_local1][0].y;
if ((((((((_local5 > 500)) || ((_local6 > 600)))) || ((_local5 < 0)))) || ((_local6 < 0)))){
p_Bullets_Splice.push(_local1);
} else {
if ((((_local11 == false)) && ((bossMode == true)))){
_local3 = 0;
_local4 = boss[3].length;
while ((((_local3 < _local4)) && ((_local11 == false)))) {
_local7 = (boss[3][_local3][0] - _local5);
_local8 = (boss[3][_local3][1] - _local6);
_local9 = (2 * ((_local7 * _local7) + (_local8 * _local8)));
_local10 = boss[3][_local3][2];
if (_local9 <= _local10){
bossHealth = (bossHealth - (p_Bullets[_local1][3] + weaponDamage));
p_Bullets_Splice.push(_local1);
_local11 = true;
if (Math.random() > 0.7){
_local12 = ((Math.random() * 40) - (Math.random() * 40));
spawnFx(1, _local5, (theBoss.y + _local12), 0.3);
};
if ((((sBoomCount < 1)) && (!((gameQ == 1))))){
if (!muted){
snd_Explode.play(0, 0, trans_0);
sBoomCount++;
};
};
playerScore = (playerScore + (113 * scoreMult));
};
_local3++;
};
} else {
_local3 = 0;
while ((((_local3 < _local4)) && ((_local11 == false)))) {
_local7 = (enemies[_local3][0].x - _local5);
_local8 = (enemies[_local3][0].y - _local6);
_local9 = (2 * ((_local7 * _local7) + (_local8 * _local8)));
_local10 = enemies[_local3][4];
if (_local9 <= _local10){
enemies[_local3][7] = (enemies[_local3][7] - (p_Bullets[_local1][3] + weaponDamage));
p_Bullets_Splice.push(_local1);
_local11 = true;
enemies[_local3][17] = 1;
playerScore = (playerScore + (71 * scoreMult));
};
_local3++;
};
};
};
_local1++;
};
_local2 = p_Bullets_Splice.length;
_local1 = 0;
while (_local1 < _local2) {
pBulletClip.removeChild(p_Bullets[(p_Bullets_Splice[_local1] - p_BulletsOff)][0]);
p_Bullets.splice((p_Bullets_Splice[_local1] - p_BulletsOff), 1);
p_BulletsOff++;
_local1++;
};
p_Bullets_Splice = [];
p_BulletsOff = 0;
}
public function scores_Click(_arg1:MouseEvent):void{
removeMenu_Main();
addMenu_Credits();
if (!muted){
snd_Click.play(0, 0, trans_5);
};
}
public function moreGames_Click(_arg1:MouseEvent):void{
var _local2:URLRequest;
_local2 = new URLRequest("http://www.crazymonkeygames.com");
navigateToURL(_local2, "_blank");
if (!muted){
snd_Click.play(0, 0, trans_5);
};
}
public function clearGame():void{
var _local1:int;
var _local2:int;
disableBonus();
if (bossMode){
enemyClip.removeChild(theBoss);
theHud.boss.bossMask.x = -374;
};
theHud.boss.alpha = 0;
boomCount = 0;
boomTicks = 0;
scoreMultTicks = 0;
scoreMult = 1;
weaponDamage = 0;
slotSelected = false;
cardSelected = false;
typeSelected = 0;
levelSelected = 0;
selectedCost = 0;
selectedSlot = 0;
waveLoaded = false;
waveTimer = 0;
currentLevel = [];
currentWave = 0;
currentEnemy = 0;
endOfLevel = false;
endTicks = 0;
playerDead = false;
deadTicks = 0;
slowMo = false;
shakeTicks = 0;
shieldType = 0;
weaponDelay_Ticks = 0;
moveDelay = false;
playerFlash = 0;
playerHealth = 80;
playerHealthMax = 80;
playerAdd = 0;
laserTicks = 0;
laserDelay = 100;
bossLoaded = false;
bossMode = false;
bossTicks = 0;
slowStars = false;
bossHealth = 0;
bossHealthMax = 0;
bossWeapon = 0;
bossTime = 0;
bossPath = 0;
addMode = 0;
addOn = false;
bonusOn = false;
bonusTicks = 0;
bonusType = 0;
newMoney = 0;
cardHpTicks = 0;
_local1 = 0;
_local2 = enemies.length;
_local1 = 0;
while (_local1 < _local2) {
enemyClip.removeChild(enemies[_local1][0]);
_local1++;
};
removeChild(enemyClip);
enemies = [];
_local2 = stars.length;
_local1 = 0;
while (_local1 < _local2) {
starClip.removeChild(stars[_local1][0]);
_local1++;
};
removeChild(starClip);
stars = [];
_local2 = e_Bullets.length;
_local1 = 0;
while (_local1 < _local2) {
eBulletClip.removeChild(e_Bullets[_local1][0]);
_local1++;
};
removeChild(eBulletClip);
e_Bullets = [];
_local2 = p_Bullets.length;
_local1 = 0;
while (_local1 < _local2) {
pBulletClip.removeChild(p_Bullets[_local1][0]);
_local1++;
};
removeChild(pBulletClip);
p_Bullets = [];
_local2 = fx.length;
_local1 = 0;
while (_local1 < _local2) {
fxClip.removeChild(fx[_local1][0]);
_local1++;
};
fx = [];
removeChild(fxClip);
_local2 = bonus.length;
_local1 = 0;
while (_local1 < _local2) {
bonusClip.removeChild(bonus[_local1][0]);
_local1++;
};
bonus = [];
removeChild(bonusClip);
removeChild(playerClip);
removeChild(playerDot);
if (wingType != 0){
if (wingType == 2){
_local2 = rockets.length;
_local1 = 0;
while (_local1 < _local2) {
wingFx.removeChild(rockets[_local1][0]);
_local1++;
};
rockets = [];
};
removeChild(wingClip_L);
removeChild(wingClip_R);
lasers.clear();
wingFx.filters = [];
removeChild(wingFx);
};
removeChild(theHud);
}
public function bossLoop():void{
var _local1:Boolean;
if (bossHealth <= 0){
if (!muted){
chan_Gun.stop();
chan_Boss.stop();
chan_End = music_End.play(0, 9999, trans_m3);
};
bossMode = false;
bossLoaded = false;
endOfLevel = true;
disableBonus();
playerScore = (playerScore + (907123 * scoreMult));
playerMoney = (playerMoney + (((13 * (levelNumber + 1)) * (levelNumber + 1)) * 50));
newMoney = (newMoney + (((13 * (levelNumber + 1)) * (levelNumber + 1)) * 50));
} else {
if (bossPath < 30){
theBoss.y = (theBoss.y + 0.3);
bossPath++;
} else {
if ((((bossPath >= 30)) && ((bossPath < 60)))){
theBoss.y = (theBoss.y - 0.3);
bossPath++;
} else {
if (bossPath >= 60){
bossPath = 0;
};
};
};
_local1 = true;
while (_local1) {
if (bossTime >= boss[4][bossWeapon][0]){
spawnBossBullet(boss[4][bossWeapon][1], (theBoss.x + boss[4][bossWeapon][4]), (theBoss.y + boss[4][bossWeapon][5]), boss[4][bossWeapon][2], boss[4][bossWeapon][3]);
bossTime = 0;
if (bossWeapon >= (boss[4].length - 1)){
bossWeapon = 0;
bossTime = 0;
_local1 = false;
} else {
bossWeapon++;
};
} else {
_local1 = false;
};
};
bossTime++;
};
}
public function removeMenu_Scores():void{
menu_Scores.bkButton.removeEventListener(MouseEvent.CLICK, bkScores_Click);
this.removeChild(DisplayObject(menu_Scores));
}
}
}//package engine_cmg_v1_fla
Section 18
//polyRabbitIntro_122 (engine_cmg_v1_fla.polyRabbitIntro_122)
package engine_cmg_v1_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.media.*;
import flash.filters.*;
import flash.geom.*;
public dynamic class polyRabbitIntro_122 extends MovieClip {
public var speeds:int;
public var count:int;
public var doneTicks:int;
public var initPos:Array;
public var trans_3:SoundTransform;
public var snd_pUp:s_powerUp;
public var p:Array;
public var glowF:GlowFilter;
public var blur:BlurFilter;
public var bmpDataBk:BitmapData;
public var acc:Number;
public var posFound:Boolean;
public var initPosRabbit:Array;
public var bmp:Bitmap;
public var atEnd:Boolean;
public var bmpBk:Bitmap;
public var webby:URLRequest;
public var moveCount:int;
public var drawP:Boolean;
public var bmpData:BitmapData;
public var drawingDone:Boolean;
public function polyRabbitIntro_122(){
addFrameScript(0, frame1);
}
public function applyBlur():void{
bmpDataBk.lock();
bmpDataBk.draw(bmpData, null, new ColorTransform(1, 1, 1, 0.35), BlendMode.ADD);
bmpDataBk.applyFilter(bmpDataBk, bmpDataBk.rect, new Point(0, 0), blur);
bmpDataBk.unlock();
}
public function init():void{
var _local1:int;
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:aGameBy;
var _local10:introFlash;
_local1 = 0;
_local2 = initPos.length;
_local8 = 1;
_local1 = 0;
while (_local1 < _local2) {
_local3 = (190 + initPos[_local1][0]);
_local4 = (243 + initPos[_local1][1]);
_local7 = ((Math.random() * 3.2) - (Math.random() * 3.2));
if ((((_local7 < 2)) && ((_local7 > 1)))){
_local7 = 1;
} else {
if ((((_local7 > -2)) && ((_local7 < -1)))){
_local7 = -2;
};
};
_local5 = Math.cos(_local7);
_local6 = Math.sin(_local7);
p.push([_local3, _local4, _local5, _local6, _local8]);
_local1++;
};
_local2 = initPosRabbit.length;
_local1 = 0;
while (_local1 < _local2) {
_local3 = (262 + initPosRabbit[_local1][0]);
_local4 = (243 + initPosRabbit[_local1][1]);
_local7 = ((Math.random() * 3.2) - (Math.random() * 3.2));
if ((((_local7 < 2)) && ((_local7 > 1)))){
_local7 = 1;
} else {
if ((((_local7 > -2)) && ((_local7 < -1)))){
_local7 = -2;
};
};
_local5 = Math.cos(_local7);
_local6 = Math.sin(_local7);
p.push([_local3, _local4, _local5, _local6, _local8]);
_local1++;
};
_local9 = new aGameBy();
_local9.x = 250;
_local9.y = 230;
addChild(_local9);
_local10 = new introFlash();
_local10.width = 500;
_local10.height = 500;
}
function frame1(){
snd_pUp = new s_powerUp();
trans_3 = new SoundTransform(0.5, 0);
blur = new BlurFilter(2, 2, 2);
glowF = new GlowFilter(0xFFFFFF, 1, 2, 2, 2, 3, false, false);
bmpDataBk = new BitmapData(500, 500, false, 6804446);
bmpBk = new Bitmap(bmpDataBk);
addChild(bmpBk);
bmpData = new BitmapData(500, 500, false, 0);
bmp = new Bitmap(bmpData);
bmp.blendMode = BlendMode.ADD;
addChild(bmp);
acc = 0.001;
drawP = false;
initPos = [[0, 0], [3, 0], [6, 0], [0, 3], [6, 3], [0, 6], [6, 6], [0, 9], [3, 9], [6, 9], [0, 12], [0, 15], [10, 0], [13, 0], [16, 0], [10, 3], [16, 3], [10, 6], [16, 6], [10, 9], [16, 9], [10, 12], [16, 12], [10, 15], [13, 15], [16, 15], [20, 0], [20, 3], [20, 6], [20, 9], [20, 12], [20, 15], [23, 15], [26, 15], [30, 0], [36, 0], [30, 3], [36, 3], [30, 6], [36, 6], [30, 9], [33, 9], [36, 9], [33, 12], [33, 15], [40, 0], [46, 0], [40, 3], [43, 3], [46, 3], [40, 6], [46, 6], [40, 9], [46, 9], [40, 12], [46, 12], [40, 15], [46, 15], [50, 0], [53, 0], [56, 0], [50, 3], [50, 6], [53, 6], [50, 9], [50, 12], [50, 15], [53, 15], [56, 15], [60, 0], [63, 0], [66, 0], [60, 3], [66, 3], [60, 6], [66, 6], [60, 9], [64, 9], [60, 12], [66, 12], [60, 15], [66, 15]];
initPosRabbit = [[0, 0], [3, 0], [6, 0], [0, 3], [6, 3], [0, 6], [6, 6], [0, 9], [4, 9], [0, 12], [6, 12], [0, 15], [6, 15], [10, 0], [13, 0], [16, 0], [10, 3], [16, 3], [10, 6], [13, 6], [16, 6], [10, 9], [16, 9], [10, 12], [16, 12], [10, 15], [16, 15], [20, 0], [23, 0], [26, 0], [20, 3], [26, 3], [20, 6], [23, 6], [26, 6], [20, 9], [26, 9], [20, 12], [26, 12], [20, 15], [23, 15], [26, 15], [30, 0], [33, 0], [36, 0], [30, 3], [36, 3], [30, 6], [33, 6], [36, 6], [30, 9], [36, 9], [30, 12], [36, 12], [30, 15], [33, 15], [36, 15], [41, 0], [41, 3], [41, 6], [41, 9], [41, 12], [41, 15], [48, 0], [45, 0], [51, 0], [48, 3], [48, 6], [48, 9], [48, 12], [48, 15]];
p = [];
init();
webby = new URLRequest("http://www.polymerrabbit.com");
this.addEventListener(MouseEvent.CLICK, reportClick);
addEventListener(Event.ENTER_FRAME, main);
posFound = false;
count = 0;
atEnd = false;
drawingDone = false;
moveCount = 0;
speeds = 0;
doneTicks = 0;
}
public function moveP():void{
var _local1:int;
var _local2:int;
var _local3:Number;
var _local4:Number;
var _local5:introFlash;
_local1 = 0;
_local2 = p.length;
bmpData.lock();
bmpData.fillRect(bmpData.rect, 0);
bmpData.unlock();
if (moveCount < (count - 1)){
moveCount++;
_local1 = 0;
while (_local1 < _local2) {
p[_local1][0] = (p[_local1][0] + (p[_local1][2] * p[_local1][4]));
p[_local1][1] = (p[_local1][1] + (p[_local1][3] * p[_local1][4]));
p[_local1][3] = (p[_local1][3] + 0.02);
_local3 = p[_local1][0];
_local4 = p[_local1][1];
if (_local4 > 350){
p[_local1][1] = 350;
p[_local1][3] = -((p[_local1][3] * 0.9));
_local4 = 350;
};
if (drawP == true){
bmpData.lock();
bmpData.setPixel(_local3, _local4, 0xFFFFFF);
bmpData.setPixel((_local3 + 1), _local4, 0xFFFFFF);
bmpData.setPixel(_local3, (_local4 + 1), 0xFFFFFF);
bmpData.setPixel((_local3 + 1), (_local4 + 1), 0xFFFFFF);
bmpData.unlock();
};
_local1++;
};
} else {
bmpDataBk.lock();
bmpDataBk.fillRect(bmpDataBk.rect, 6804446);
bmpDataBk.unlock();
_local2 = initPos.length;
_local1 = 0;
while (_local1 < _local2) {
_local3 = (190 + initPos[_local1][0]);
_local4 = (240 + initPos[_local1][1]);
bmpData.lock();
bmpData.setPixel(_local3, _local4, 0xFFFFFF);
bmpData.setPixel((_local3 + 1), _local4, 0xFFFFFF);
bmpData.setPixel(_local3, (_local4 + 1), 0xFFFFFF);
bmpData.setPixel((_local3 + 1), (_local4 + 1), 0xFFFFFF);
bmpData.unlock();
_local1++;
};
_local2 = initPosRabbit.length;
_local1 = 0;
while (_local1 < _local2) {
_local3 = (262 + initPosRabbit[_local1][0]);
_local4 = (240 + initPosRabbit[_local1][1]);
bmpData.lock();
bmpData.setPixel(_local3, _local4, 0xFFFFFF);
bmpData.setPixel((_local3 + 1), _local4, 0xFFFFFF);
bmpData.setPixel(_local3, (_local4 + 1), 0xFFFFFF);
bmpData.setPixel((_local3 + 1), (_local4 + 1), 0xFFFFFF);
bmpData.unlock();
_local1++;
};
_local5 = new introFlash();
_local5.width = 500;
_local5.height = 600;
addChild(_local5);
snd_pUp.play(0, 0, trans_3);
drawingDone = true;
};
if (drawP == true){
applyBlur();
};
}
public function reportClick(_arg1:MouseEvent):void{
navigateToURL(webby, "_blank");
}
public function main():void{
var _local2:int;
_local2 = 0;
if (!drawingDone){
if (!posFound){
_local2 = 0;
while (_local2 < 200) {
findPos();
_local2++;
};
} else {
if ((count - moveCount) < 40){
speeds = 1;
} else {
speeds = 7;
};
drawP = false;
_local2 = 0;
while (_local2 < speeds) {
moveP();
_local2++;
};
drawP = true;
moveP();
};
} else {
if (doneTicks < 3){
applyBlur();
doneTicks++;
} else {
if ((((doneTicks >= 3)) && ((doneTicks < 50)))){
doneTicks++;
} else {
this.removeEventListener(MouseEvent.CLICK, reportClick);
doneTicks = 101;
};
};
};
}
public function findPos():void{
var _local1:int;
var _local2:int;
var _local3:*;
var _local4:Number;
var _local5:Number;
_local1 = 0;
_local2 = p.length;
_local3 = true;
if (!posFound){
count++;
if (count < 1000){
_local1 = 0;
while (_local1 < _local2) {
p[_local1][0] = (p[_local1][0] + (p[_local1][2] * p[_local1][4]));
p[_local1][1] = (p[_local1][1] + (p[_local1][3] * p[_local1][4]));
p[_local1][3] = (p[_local1][3] + 0.02);
_local4 = p[_local1][0];
_local5 = p[_local1][1];
if (_local5 > 350){
p[_local1][3] = -((p[_local1][3] * 1.1));
};
if ((((((((_local4 < 500)) && ((_local4 > 0)))) && ((_local5 < 500)))) && ((_local5 > 0)))){
_local3 = false;
};
_local1++;
};
if (_local3){
_local1 = 0;
while (_local1 < _local2) {
_local4 = p[_local1][2];
_local5 = p[_local1][3];
_local4 = -(_local4);
_local5 = -(_local5);
p[_local1][2] = _local4;
p[_local1][3] = _local5;
_local1++;
};
posFound = true;
};
} else {
posFound = true;
};
};
}
}
}//package engine_cmg_v1_fla
Section 19
//powerUp_166 (engine_cmg_v1_fla.powerUp_166)
package engine_cmg_v1_fla {
import flash.display.*;
public dynamic class powerUp_166 extends MovieClip {
public function powerUp_166(){
addFrameScript(49, frame50);
}
function frame50(){
stop();
}
}
}//package engine_cmg_v1_fla
Section 20
//Preloader_2 (engine_cmg_v1_fla.Preloader_2)
package engine_cmg_v1_fla {
import flash.display.*;
import flash.events.*;
public dynamic class Preloader_2 extends MovieClip {
public var CMG_LoadingBar:MovieClip;
public var play_btn:SimpleButton;
public function Preloader_2(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
play_btn.addEventListener(MouseEvent.MOUSE_UP, onMouseUpHandler_CMGPlayBtn);
}
public function onMouseUpHandler_CMGPlayBtn(_arg1:MouseEvent):void{
MovieClip(parent).gotoAndStop(82);
}
}
}//package engine_cmg_v1_fla
Section 21
//StageClear_172 (engine_cmg_v1_fla.StageClear_172)
package engine_cmg_v1_fla {
import flash.display.*;
import flash.text.*;
public dynamic class StageClear_172 extends MovieClip {
public var moneyText:TextField;
public var scoreText:TextField;
public function StageClear_172(){
addFrameScript(39, frame40, 40, frame41);
}
function frame40(){
stop();
}
function frame41(){
stop();
}
}
}//package engine_cmg_v1_fla
Section 22
//title_124 (engine_cmg_v1_fla.title_124)
package engine_cmg_v1_fla {
import flash.display.*;
public dynamic class title_124 extends MovieClip {
public function title_124(){
addFrameScript(73, frame74);
}
function frame74(){
stop();
}
}
}//package engine_cmg_v1_fla
Section 23
//warning_168 (engine_cmg_v1_fla.warning_168)
package engine_cmg_v1_fla {
import flash.display.*;
public dynamic class warning_168 extends MovieClip {
public function warning_168(){
addFrameScript(99, frame100);
}
function frame100(){
stop();
}
}
}//package engine_cmg_v1_fla
Section 24
//BaseButton (fl.controls.BaseButton)
package fl.controls {
import flash.display.*;
import fl.core.*;
import flash.events.*;
import flash.utils.*;
import fl.events.*;
public class BaseButton extends UIComponent {
protected var _selected:Boolean;// = false
private var unlockedMouseState:String;
protected var pressTimer:Timer;
protected var mouseState:String;
protected var background:DisplayObject;
private var _mouseStateLocked:Boolean;// = false
protected var _autoRepeat:Boolean;// = false
private static var defaultStyles:Object = {upSkin:"Button_upSkin", downSkin:"Button_downSkin", overSkin:"Button_overSkin", disabledSkin:"Button_disabledSkin", selectedDisabledSkin:"Button_selectedDisabledSkin", selectedUpSkin:"Button_selectedUpSkin", selectedDownSkin:"Button_selectedDownSkin", selectedOverSkin:"Button_selectedOverSkin", focusRectSkin:null, focusRectPadding:null, repeatDelay:500, repeatInterval:35};
public function BaseButton(){
_selected = false;
_autoRepeat = false;
_mouseStateLocked = false;
super();
buttonMode = true;
mouseChildren = false;
useHandCursor = false;
setupMouseEvents();
setMouseState("up");
pressTimer = new Timer(1, 0);
pressTimer.addEventListener(TimerEvent.TIMER, buttonDown, false, 0, true);
}
protected function endPress():void{
pressTimer.reset();
}
public function set mouseStateLocked(_arg1:Boolean):void{
_mouseStateLocked = _arg1;
if (_arg1 == false){
setMouseState(unlockedMouseState);
} else {
unlockedMouseState = mouseState;
};
}
public function get autoRepeat():Boolean{
return (_autoRepeat);
}
public function set autoRepeat(_arg1:Boolean):void{
_autoRepeat = _arg1;
}
override public function set enabled(_arg1:Boolean):void{
super.enabled = _arg1;
mouseEnabled = _arg1;
}
public function get selected():Boolean{
return (_selected);
}
protected function mouseEventHandler(_arg1:MouseEvent):void{
if (_arg1.type == MouseEvent.MOUSE_DOWN){
setMouseState("down");
startPress();
} else {
if ((((_arg1.type == MouseEvent.ROLL_OVER)) || ((_arg1.type == MouseEvent.MOUSE_UP)))){
setMouseState("over");
endPress();
} else {
if (_arg1.type == MouseEvent.ROLL_OUT){
setMouseState("up");
endPress();
};
};
};
}
public function setMouseState(_arg1:String):void{
if (_mouseStateLocked){
unlockedMouseState = _arg1;
return;
};
if (mouseState == _arg1){
return;
};
mouseState = _arg1;
invalidate(InvalidationType.STATE);
}
protected function startPress():void{
if (_autoRepeat){
pressTimer.delay = Number(getStyleValue("repeatDelay"));
pressTimer.start();
};
dispatchEvent(new ComponentEvent(ComponentEvent.BUTTON_DOWN, true));
}
protected function buttonDown(_arg1:TimerEvent):void{
if (!_autoRepeat){
endPress();
return;
};
if (pressTimer.currentCount == 1){
pressTimer.delay = Number(getStyleValue("repeatInterval"));
};
dispatchEvent(new ComponentEvent(ComponentEvent.BUTTON_DOWN, true));
}
public function set selected(_arg1:Boolean):void{
if (_selected == _arg1){
return;
};
_selected = _arg1;
invalidate(InvalidationType.STATE);
}
override public function get enabled():Boolean{
return (super.enabled);
}
override protected function draw():void{
if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){
drawBackground();
invalidate(InvalidationType.SIZE, false);
};
if (isInvalid(InvalidationType.SIZE)){
drawLayout();
};
super.draw();
}
protected function setupMouseEvents():void{
addEventListener(MouseEvent.ROLL_OVER, mouseEventHandler, false, 0, true);
addEventListener(MouseEvent.MOUSE_DOWN, mouseEventHandler, false, 0, true);
addEventListener(MouseEvent.MOUSE_UP, mouseEventHandler, false, 0, true);
addEventListener(MouseEvent.ROLL_OUT, mouseEventHandler, false, 0, true);
}
protected function drawLayout():void{
background.width = width;
background.height = height;
}
protected function drawBackground():void{
var _local1:String;
var _local2:DisplayObject;
_local1 = (enabled) ? mouseState : "disabled";
if (selected){
_local1 = (("selected" + _local1.substr(0, 1).toUpperCase()) + _local1.substr(1));
};
_local1 = (_local1 + "Skin");
_local2 = background;
background = getDisplayObjectInstance(getStyleValue(_local1));
addChildAt(background, 0);
if (((!((_local2 == null))) && (!((_local2 == background))))){
removeChild(_local2);
};
}
public static function getStyleDefinition():Object{
return (defaultStyles);
}
}
}//package fl.controls
Section 25
//Button (fl.controls.Button)
package fl.controls {
import flash.display.*;
import fl.core.*;
import fl.managers.*;
public class Button extends LabelButton implements IFocusManagerComponent {
protected var emphasizedBorder:DisplayObject;
protected var _emphasized:Boolean;// = false
private static var defaultStyles:Object = {emphasizedSkin:"Button_emphasizedSkin", emphasizedPadding:2};
public static var createAccessibilityImplementation:Function;
public function Button(){
_emphasized = false;
super();
}
override public function drawFocus(_arg1:Boolean):void{
var _local2:Number;
var _local3:*;
super.drawFocus(_arg1);
if (_arg1){
_local2 = Number(getStyleValue("emphasizedPadding"));
if ((((_local2 < 0)) || (!(_emphasized)))){
_local2 = 0;
};
_local3 = getStyleValue("focusRectPadding");
_local3 = ((_local3)==null) ? 2 : _local3;
_local3 = (_local3 + _local2);
uiFocusRect.x = -(_local3);
uiFocusRect.y = -(_local3);
uiFocusRect.width = (width + (_local3 * 2));
uiFocusRect.height = (height + (_local3 * 2));
};
}
public function set emphasized(_arg1:Boolean):void{
_emphasized = _arg1;
invalidate(InvalidationType.STYLES);
}
override protected function draw():void{
if (((isInvalid(InvalidationType.STYLES)) || (isInvalid(InvalidationType.SIZE)))){
drawEmphasized();
};
super.draw();
if (emphasizedBorder != null){
setChildIndex(emphasizedBorder, (numChildren - 1));
};
}
public function get emphasized():Boolean{
return (_emphasized);
}
override protected function initializeAccessibility():void{
if (Button.createAccessibilityImplementation != null){
Button.createAccessibilityImplementation(this);
};
}
protected function drawEmphasized():void{
var _local1:Object;
var _local2:Number;
if (emphasizedBorder != null){
removeChild(emphasizedBorder);
};
emphasizedBorder = null;
if (!_emphasized){
return;
};
_local1 = getStyleValue("emphasizedSkin");
if (_local1 != null){
emphasizedBorder = getDisplayObjectInstance(_local1);
};
if (emphasizedBorder != null){
addChildAt(emphasizedBorder, 0);
_local2 = Number(getStyleValue("emphasizedPadding"));
emphasizedBorder.x = (emphasizedBorder.y = -(_local2));
emphasizedBorder.width = (width + (_local2 * 2));
emphasizedBorder.height = (height + (_local2 * 2));
};
}
public static function getStyleDefinition():Object{
return (UIComponent.mergeStyles(LabelButton.getStyleDefinition(), defaultStyles));
}
}
}//package fl.controls
Section 26
//ButtonLabelPlacement (fl.controls.ButtonLabelPlacement)
package fl.controls {
public class ButtonLabelPlacement {
public static const TOP:String = "top";
public static const LEFT:String = "left";
public static const BOTTOM:String = "bottom";
public static const RIGHT:String = "right";
}
}//package fl.controls
Section 27
//LabelButton (fl.controls.LabelButton)
package fl.controls {
import flash.display.*;
import fl.core.*;
import flash.events.*;
import fl.managers.*;
import fl.events.*;
import flash.text.*;
import flash.ui.*;
public class LabelButton extends BaseButton implements IFocusManagerComponent {
protected var _labelPlacement:String;// = "right"
protected var _toggle:Boolean;// = false
protected var icon:DisplayObject;
protected var oldMouseState:String;
protected var mode:String;// = "center"
public var textField:TextField;
protected var _label:String;// = "Label"
private static var defaultStyles:Object = {icon:null, upIcon:null, downIcon:null, overIcon:null, disabledIcon:null, selectedDisabledIcon:null, selectedUpIcon:null, selectedDownIcon:null, selectedOverIcon:null, textFormat:null, disabledTextFormat:null, textPadding:5, embedFonts:false};
public static var createAccessibilityImplementation:Function;
public function LabelButton(){
_labelPlacement = ButtonLabelPlacement.RIGHT;
_toggle = false;
_label = "Label";
mode = "center";
super();
}
protected function toggleSelected(_arg1:MouseEvent):void{
selected = !(selected);
dispatchEvent(new Event(Event.CHANGE, true));
}
public function get labelPlacement():String{
return (_labelPlacement);
}
override protected function keyDownHandler(_arg1:KeyboardEvent):void{
if (!enabled){
return;
};
if (_arg1.keyCode == Keyboard.SPACE){
if (oldMouseState == null){
oldMouseState = mouseState;
};
setMouseState("down");
startPress();
};
}
protected function setEmbedFont(){
var _local1:Object;
_local1 = getStyleValue("embedFonts");
if (_local1 != null){
textField.embedFonts = _local1;
};
}
override protected function keyUpHandler(_arg1:KeyboardEvent):void{
if (!enabled){
return;
};
if (_arg1.keyCode == Keyboard.SPACE){
setMouseState(oldMouseState);
oldMouseState = null;
endPress();
dispatchEvent(new MouseEvent(MouseEvent.CLICK));
};
}
override public function get selected():Boolean{
return ((_toggle) ? _selected : false);
}
public function set labelPlacement(_arg1:String):void{
_labelPlacement = _arg1;
invalidate(InvalidationType.SIZE);
}
public function set toggle(_arg1:Boolean):void{
if (((!(_arg1)) && (super.selected))){
selected = false;
};
_toggle = _arg1;
if (_toggle){
addEventListener(MouseEvent.CLICK, toggleSelected, false, 0, true);
} else {
removeEventListener(MouseEvent.CLICK, toggleSelected);
};
invalidate(InvalidationType.STATE);
}
public function get label():String{
return (_label);
}
override public function set selected(_arg1:Boolean):void{
_selected = _arg1;
if (_toggle){
invalidate(InvalidationType.STATE);
};
}
override protected function draw():void{
if (textField.text != _label){
label = _label;
};
if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){
drawBackground();
drawIcon();
drawTextFormat();
invalidate(InvalidationType.SIZE, false);
};
if (isInvalid(InvalidationType.SIZE)){
drawLayout();
};
if (isInvalid(InvalidationType.SIZE, InvalidationType.STYLES)){
if (((isFocused) && (focusManager.showFocusIndicator))){
drawFocus(true);
};
};
validate();
}
public function get toggle():Boolean{
return (_toggle);
}
override protected function configUI():void{
super.configUI();
textField = new TextField();
textField.type = TextFieldType.DYNAMIC;
textField.selectable = false;
addChild(textField);
}
override protected function drawLayout():void{
var _local1:Number;
var _local2:String;
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
_local1 = Number(getStyleValue("textPadding"));
_local2 = ((((icon == null)) && ((mode == "center")))) ? ButtonLabelPlacement.TOP : _labelPlacement;
textField.height = (textField.textHeight + 4);
_local3 = (textField.textWidth + 4);
_local4 = (textField.textHeight + 4);
_local5 = ((icon)==null) ? 0 : (icon.width + _local1);
_local6 = ((icon)==null) ? 0 : (icon.height + _local1);
textField.visible = (label.length > 0);
if (icon != null){
icon.x = Math.round(((width - icon.width) / 2));
icon.y = Math.round(((height - icon.height) / 2));
};
if (textField.visible == false){
textField.width = 0;
textField.height = 0;
} else {
if ((((_local2 == ButtonLabelPlacement.BOTTOM)) || ((_local2 == ButtonLabelPlacement.TOP)))){
_local7 = Math.max(0, Math.min(_local3, (width - (2 * _local1))));
if ((height - 2) > _local4){
_local8 = _local4;
} else {
_local8 = (height - 2);
};
_local3 = _local7;
textField.width = _local3;
_local4 = _local8;
textField.height = _local4;
textField.x = Math.round(((width - _local3) / 2));
textField.y = Math.round(((((height - textField.height) - _local6) / 2) + ((_local2)==ButtonLabelPlacement.BOTTOM) ? _local6 : 0));
if (icon != null){
icon.y = Math.round(((_local2)==ButtonLabelPlacement.BOTTOM) ? (textField.y - _local6) : ((textField.y + textField.height) + _local1));
};
} else {
_local7 = Math.max(0, Math.min(_local3, ((width - _local5) - (2 * _local1))));
_local3 = _local7;
textField.width = _local3;
textField.x = Math.round(((((width - _local3) - _local5) / 2) + ((_local2)!=ButtonLabelPlacement.LEFT) ? _local5 : 0));
textField.y = Math.round(((height - textField.height) / 2));
if (icon != null){
icon.x = Math.round(((_local2)!=ButtonLabelPlacement.LEFT) ? (textField.x - _local5) : ((textField.x + _local3) + _local1));
};
};
};
super.drawLayout();
}
override protected function initializeAccessibility():void{
if (LabelButton.createAccessibilityImplementation != null){
LabelButton.createAccessibilityImplementation(this);
};
}
protected function drawIcon():void{
var _local1:DisplayObject;
var _local2:String;
var _local3:Object;
_local1 = icon;
_local2 = (enabled) ? mouseState : "disabled";
if (selected){
_local2 = (("selected" + _local2.substr(0, 1).toUpperCase()) + _local2.substr(1));
};
_local2 = (_local2 + "Icon");
_local3 = getStyleValue(_local2);
if (_local3 == null){
_local3 = getStyleValue("icon");
};
if (_local3 != null){
icon = getDisplayObjectInstance(_local3);
};
if (icon != null){
addChildAt(icon, 1);
};
if (((!((_local1 == null))) && (!((_local1 == icon))))){
removeChild(_local1);
};
}
public function set label(_arg1:String):void{
_label = _arg1;
if (textField.text != _label){
textField.text = _label;
dispatchEvent(new ComponentEvent(ComponentEvent.LABEL_CHANGE));
};
invalidate(InvalidationType.SIZE);
invalidate(InvalidationType.STYLES);
}
protected function drawTextFormat():void{
var _local1:Object;
var _local2:TextFormat;
var _local3:TextFormat;
_local1 = UIComponent.getStyleDefinition();
_local2 = (enabled) ? (_local1.defaultTextFormat as TextFormat) : (_local1.defaultDisabledTextFormat as TextFormat);
textField.setTextFormat(_local2);
_local3 = (getStyleValue((enabled) ? "textFormat" : "disabledTextFormat") as TextFormat);
if (_local3 != null){
textField.setTextFormat(_local3);
} else {
_local3 = _local2;
};
textField.defaultTextFormat = _local3;
setEmbedFont();
}
public static function getStyleDefinition():Object{
return (mergeStyles(defaultStyles, BaseButton.getStyleDefinition()));
}
}
}//package fl.controls
Section 28
//Slider (fl.controls.Slider)
package fl.controls {
import flash.display.*;
import fl.core.*;
import flash.events.*;
import fl.managers.*;
import fl.events.*;
import flash.ui.*;
public class Slider extends UIComponent implements IFocusManagerComponent {
protected var _direction:String;
protected var _liveDragging:Boolean;// = false
protected var _value:Number;// = 0
protected var _snapInterval:Number;// = 0
protected var _minimum:Number;// = 0
protected var _maximum:Number;// = 10
protected var track:BaseButton;
protected var _tickInterval:Number;// = 0
protected var tickContainer:Sprite;
protected var thumb:BaseButton;
protected static const TICK_STYLES:Object = {upSkin:"tickSkin"};
protected static const TRACK_STYLES:Object = {upSkin:"sliderTrackSkin", overSkin:"sliderTrackSkin", downSkin:"sliderTrackSkin", disabledSkin:"sliderTrackDisabledSkin"};
protected static const THUMB_STYLES:Object = {upSkin:"thumbUpSkin", overSkin:"thumbOverSkin", downSkin:"thumbDownSkin", disabledSkin:"thumbDisabledSkin"};
protected static var defaultStyles:Object = {thumbUpSkin:"SliderThumb_upSkin", thumbOverSkin:"SliderThumb_overSkin", thumbDownSkin:"SliderThumb_downSkin", thumbDisabledSkin:"SliderThumb_disabledSkin", sliderTrackSkin:"SliderTrack_skin", sliderTrackDisabledSkin:"SliderTrack_disabledSkin", tickSkin:"SliderTick_skin", focusRectSkin:null, focusRectPadding:null};
public function Slider(){
_direction = SliderDirection.HORIZONTAL;
_minimum = 0;
_maximum = 10;
_value = 0;
_tickInterval = 0;
_snapInterval = 0;
_liveDragging = false;
super();
setStyles();
}
public function get minimum():Number{
return (_minimum);
}
public function set minimum(_arg1:Number):void{
_minimum = _arg1;
this.value = Math.max(_arg1, this.value);
invalidate(InvalidationType.DATA);
}
public function get maximum():Number{
return (_maximum);
}
protected function positionThumb():void{
thumb.x = ((((_direction)==SliderDirection.VERTICAL) ? ((maximum - minimum) - value) : (value - minimum) / (maximum - minimum)) * _width);
}
protected function clearTicks():void{
if (((!(tickContainer)) || (!(tickContainer.parent)))){
return;
};
removeChild(tickContainer);
}
protected function onTrackClick(_arg1:MouseEvent):void{
calculateValue(track.mouseX, InteractionInputType.MOUSE, SliderEventClickTarget.TRACK);
if (!liveDragging){
dispatchEvent(new SliderEvent(SliderEvent.CHANGE, value, SliderEventClickTarget.TRACK, InteractionInputType.MOUSE));
};
}
public function set maximum(_arg1:Number):void{
_maximum = _arg1;
this.value = Math.min(_arg1, this.value);
invalidate(InvalidationType.DATA);
}
public function get liveDragging():Boolean{
return (_liveDragging);
}
protected function doDrag(_arg1:MouseEvent):void{
var _local2:Number;
var _local3:Number;
_local2 = (_width / snapInterval);
_local3 = track.mouseX;
calculateValue(_local3, InteractionInputType.MOUSE, SliderEventClickTarget.THUMB);
dispatchEvent(new SliderEvent(SliderEvent.THUMB_DRAG, value, SliderEventClickTarget.THUMB, InteractionInputType.MOUSE));
}
override protected function keyDownHandler(_arg1:KeyboardEvent):void{
var _local2:uint;
var _local3:Number;
var _local4:Boolean;
if (!enabled){
return;
};
_local2 = ((snapInterval)>0) ? snapInterval : 1;
_local4 = (direction == SliderDirection.HORIZONTAL);
if ((((((_arg1.keyCode == Keyboard.DOWN)) && (!(_local4)))) || ((((_arg1.keyCode == Keyboard.LEFT)) && (_local4))))){
_local3 = (value - _local2);
} else {
if ((((((_arg1.keyCode == Keyboard.UP)) && (!(_local4)))) || ((((_arg1.keyCode == Keyboard.RIGHT)) && (_local4))))){
_local3 = (value + _local2);
} else {
if ((((((_arg1.keyCode == Keyboard.PAGE_DOWN)) && (!(_local4)))) || ((((_arg1.keyCode == Keyboard.HOME)) && (_local4))))){
_local3 = minimum;
} else {
if ((((((_arg1.keyCode == Keyboard.PAGE_UP)) && (!(_local4)))) || ((((_arg1.keyCode == Keyboard.END)) && (_local4))))){
_local3 = maximum;
};
};
};
};
if (!isNaN(_local3)){
_arg1.stopPropagation();
doSetValue(_local3, InteractionInputType.KEYBOARD, null, _arg1.keyCode);
};
}
override public function set enabled(_arg1:Boolean):void{
if (enabled == _arg1){
return;
};
super.enabled = _arg1;
track.enabled = (thumb.enabled = _arg1);
}
protected function thumbPressHandler(_arg1:MouseEvent):void{
stage.addEventListener(MouseEvent.MOUSE_MOVE, doDrag, false, 0, true);
stage.addEventListener(MouseEvent.MOUSE_UP, thumbReleaseHandler, false, 0, true);
dispatchEvent(new SliderEvent(SliderEvent.THUMB_PRESS, value, InteractionInputType.MOUSE, SliderEventClickTarget.THUMB));
}
public function get snapInterval():Number{
return (_snapInterval);
}
protected function thumbReleaseHandler(_arg1:MouseEvent):void{
stage.removeEventListener(MouseEvent.MOUSE_MOVE, doDrag);
stage.removeEventListener(MouseEvent.MOUSE_UP, thumbReleaseHandler);
dispatchEvent(new SliderEvent(SliderEvent.THUMB_RELEASE, value, InteractionInputType.MOUSE, SliderEventClickTarget.THUMB));
dispatchEvent(new SliderEvent(SliderEvent.CHANGE, value, SliderEventClickTarget.THUMB, InteractionInputType.MOUSE));
}
public function set liveDragging(_arg1:Boolean):void{
_liveDragging = _arg1;
}
public function set value(_arg1:Number):void{
doSetValue(_arg1);
}
public function set direction(_arg1:String):void{
var _local2:Boolean;
_direction = _arg1;
_local2 = (_direction == SliderDirection.VERTICAL);
if (isLivePreview){
if (_local2){
setScaleY(-1);
y = track.height;
} else {
setScaleY(1);
y = 0;
};
positionThumb();
return;
};
if (((_local2) && (componentInspectorSetting))){
if ((rotation % 90) == 0){
setScaleY(-1);
};
};
if (!componentInspectorSetting){
rotation = (_local2) ? 90 : 0;
};
}
public function set tickInterval(_arg1:Number):void{
_tickInterval = _arg1;
invalidate(InvalidationType.SIZE);
}
override public function get enabled():Boolean{
return (super.enabled);
}
override protected function draw():void{
if (isInvalid(InvalidationType.STYLES)){
setStyles();
invalidate(InvalidationType.SIZE, false);
};
if (isInvalid(InvalidationType.SIZE)){
track.setSize(_width, track.height);
track.drawNow();
thumb.drawNow();
};
if (tickInterval > 0){
drawTicks();
} else {
clearTicks();
};
positionThumb();
super.draw();
}
override protected function configUI():void{
super.configUI();
thumb = new BaseButton();
thumb.setSize(13, 13);
thumb.autoRepeat = false;
addChild(thumb);
thumb.addEventListener(MouseEvent.MOUSE_DOWN, thumbPressHandler, false, 0, true);
track = new BaseButton();
track.move(0, 0);
track.setSize(80, 4);
track.autoRepeat = false;
track.useHandCursor = false;
track.addEventListener(MouseEvent.CLICK, onTrackClick, false, 0, true);
addChildAt(track, 0);
}
public function set snapInterval(_arg1:Number):void{
_snapInterval = _arg1;
}
public function get value():Number{
return (_value);
}
public function get direction():String{
return (_direction);
}
public function get tickInterval():Number{
return (_tickInterval);
}
override public function setSize(_arg1:Number, _arg2:Number):void{
if ((((_direction == SliderDirection.VERTICAL)) && (!(isLivePreview)))){
super.setSize(_arg2, _arg1);
} else {
super.setSize(_arg1, _arg2);
};
invalidate(InvalidationType.SIZE);
}
protected function drawTicks():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:uint;
var _local5:DisplayObject;
clearTicks();
tickContainer = new Sprite();
_local1 = ((maximum)<1) ? (tickInterval / 100) : tickInterval;
_local2 = ((maximum - minimum) / _local1);
_local3 = (_width / _local2);
_local4 = 0;
while (_local4 <= _local2) {
_local5 = getDisplayObjectInstance(getStyleValue("tickSkin"));
_local5.x = (_local3 * _local4);
_local5.y = ((track.y - _local5.height) - 2);
tickContainer.addChild(_local5);
_local4++;
};
addChild(tickContainer);
}
protected function calculateValue(_arg1:Number, _arg2:String, _arg3:String, _arg4:int=undefined):void{
var _local5:Number;
_local5 = ((_arg1 / _width) * (maximum - minimum));
if (_direction == SliderDirection.VERTICAL){
_local5 = (maximum - _local5);
} else {
_local5 = (minimum + _local5);
};
doSetValue(_local5, _arg2, _arg3, _arg4);
}
protected function getPrecision(_arg1:Number):Number{
var _local2:String;
_local2 = _arg1.toString();
if (_local2.indexOf(".") == -1){
return (0);
};
return (_local2.split(".").pop().length);
}
protected function doSetValue(_arg1:Number, _arg2:String=null, _arg3:String=null, _arg4:int=undefined):void{
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
_local5 = _value;
if (((!((_snapInterval == 0))) && (!((_snapInterval == 1))))){
_local6 = Math.pow(10, getPrecision(snapInterval));
_local7 = (_snapInterval * _local6);
_local8 = Math.round((_arg1 * _local6));
_local9 = (Math.round((_local8 / _local7)) * _local7);
_arg1 = (_local9 / _local6);
_value = Math.max(minimum, Math.min(maximum, _arg1));
} else {
_value = Math.max(minimum, Math.min(maximum, Math.round(_arg1)));
};
if (((!((_local5 == _value))) && (((((liveDragging) && (!((_arg3 == null))))) || ((_arg2 == InteractionInputType.KEYBOARD)))))){
dispatchEvent(new SliderEvent(SliderEvent.CHANGE, value, _arg3, _arg2, _arg4));
};
positionThumb();
}
protected function setStyles():void{
copyStylesToChild(thumb, THUMB_STYLES);
copyStylesToChild(track, TRACK_STYLES);
}
public static function getStyleDefinition():Object{
return (defaultStyles);
}
}
}//package fl.controls
Section 29
//SliderDirection (fl.controls.SliderDirection)
package fl.controls {
public class SliderDirection {
public static var HORIZONTAL:String = "horizontal";
public static var VERTICAL:String = "vertical";
}
}//package fl.controls
Section 30
//ComponentShim (fl.core.ComponentShim)
package fl.core {
import flash.display.*;
public dynamic class ComponentShim extends MovieClip {
}
}//package fl.core
Section 31
//InvalidationType (fl.core.InvalidationType)
package fl.core {
public class InvalidationType {
public static const SIZE:String = "size";
public static const ALL:String = "all";
public static const DATA:String = "data";
public static const SCROLL:String = "scroll";
public static const STATE:String = "state";
public static const STYLES:String = "styles";
public static const SELECTED:String = "selected";
public static const RENDERER_STYLES:String = "rendererStyles";
}
}//package fl.core
Section 32
//UIComponent (fl.core.UIComponent)
package fl.core {
import flash.display.*;
import flash.events.*;
import fl.managers.*;
import flash.utils.*;
import fl.events.*;
import flash.text.*;
import flash.system.*;
public class UIComponent extends Sprite {
protected var _enabled:Boolean;// = true
private var _mouseFocusEnabled:Boolean;// = true
protected var startHeight:Number;
protected var _height:Number;
protected var _oldIMEMode:String;// = null
protected var startWidth:Number;
public var focusTarget:IFocusManagerComponent;
protected var errorCaught:Boolean;// = false
protected var uiFocusRect:DisplayObject;
protected var _width:Number;
public var version:String;// = "3.0.0.15"
protected var isFocused:Boolean;// = false
protected var callLaterMethods:Dictionary;
private var _focusEnabled:Boolean;// = true
private var tempText:TextField;
protected var invalidateFlag:Boolean;// = false
protected var _inspector:Boolean;// = false
protected var sharedStyles:Object;
protected var invalidHash:Object;
protected var isLivePreview:Boolean;// = false
protected var _imeMode:String;// = null
protected var instanceStyles:Object;
protected var _x:Number;
protected var _y:Number;
public static var inCallLaterPhase:Boolean = false;
private static var defaultStyles:Object = {focusRectSkin:"focusRectSkin", focusRectPadding:2, textFormat:new TextFormat("_sans", 11, 0, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), disabledTextFormat:new TextFormat("_sans", 11, 0x999999, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), defaultTextFormat:new TextFormat("_sans", 11, 0, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), defaultDisabledTextFormat:new TextFormat("_sans", 11, 0x999999, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0)};
public static var createAccessibilityImplementation:Function;
private static var focusManagers:Dictionary = new Dictionary(false);
public function UIComponent(){
version = "3.0.0.15";
isLivePreview = false;
invalidateFlag = false;
_enabled = true;
isFocused = false;
_focusEnabled = true;
_mouseFocusEnabled = true;
_imeMode = null;
_oldIMEMode = null;
errorCaught = false;
_inspector = false;
super();
instanceStyles = {};
sharedStyles = {};
invalidHash = {};
callLaterMethods = new Dictionary();
StyleManager.registerInstance(this);
configUI();
invalidate(InvalidationType.ALL);
tabEnabled = (this is IFocusManagerComponent);
focusRect = false;
if (tabEnabled){
addEventListener(FocusEvent.FOCUS_IN, focusInHandler);
addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler);
addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler);
addEventListener(KeyboardEvent.KEY_UP, keyUpHandler);
};
initializeFocusManager();
addEventListener(Event.ENTER_FRAME, hookAccessibility, false, 0, true);
}
public function drawFocus(_arg1:Boolean):void{
var _local2:Number;
isFocused = _arg1;
if (((!((uiFocusRect == null))) && (contains(uiFocusRect)))){
removeChild(uiFocusRect);
uiFocusRect = null;
};
if (_arg1){
uiFocusRect = (getDisplayObjectInstance(getStyleValue("focusRectSkin")) as Sprite);
if (uiFocusRect == null){
return;
};
_local2 = Number(getStyleValue("focusRectPadding"));
uiFocusRect.x = -(_local2);
uiFocusRect.y = -(_local2);
uiFocusRect.width = (width + (_local2 * 2));
uiFocusRect.height = (height + (_local2 * 2));
addChildAt(uiFocusRect, 0);
};
}
private function callLaterDispatcher(_arg1:Event):void{
var _local2:Dictionary;
var _local3:Object;
if (_arg1.type == Event.ADDED_TO_STAGE){
removeEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher);
stage.addEventListener(Event.RENDER, callLaterDispatcher, false, 0, true);
stage.invalidate();
return;
};
_arg1.target.removeEventListener(Event.RENDER, callLaterDispatcher);
if (stage == null){
addEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher, false, 0, true);
return;
};
inCallLaterPhase = true;
_local2 = callLaterMethods;
for (_local3 in _local2) {
_local3();
delete _local2[_local3];
};
inCallLaterPhase = false;
}
private function addedHandler(_arg1:Event):void{
removeEventListener("addedToStage", addedHandler);
initializeFocusManager();
}
protected function getStyleValue(_arg1:String):Object{
return (((instanceStyles[_arg1])==null) ? sharedStyles[_arg1] : instanceStyles[_arg1]);
}
protected function isOurFocus(_arg1:DisplayObject):Boolean{
return ((_arg1 == this));
}
override public function get scaleX():Number{
return ((width / startWidth));
}
override public function get scaleY():Number{
return ((height / startHeight));
}
override public function set height(_arg1:Number):void{
if (_height == _arg1){
return;
};
setSize(width, _arg1);
}
protected function keyDownHandler(_arg1:KeyboardEvent):void{
}
protected function focusInHandler(_arg1:FocusEvent):void{
var _local2:IFocusManager;
if (isOurFocus((_arg1.target as DisplayObject))){
_local2 = focusManager;
if (((_local2) && (_local2.showFocusIndicator))){
drawFocus(true);
isFocused = true;
};
};
}
public function setStyle(_arg1:String, _arg2:Object):void{
if ((((instanceStyles[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){
return;
};
instanceStyles[_arg1] = _arg2;
invalidate(InvalidationType.STYLES);
}
override public function get visible():Boolean{
return (super.visible);
}
public function get componentInspectorSetting():Boolean{
return (_inspector);
}
override public function get x():Number{
return ((isNaN(_x)) ? super.x : _x);
}
override public function get y():Number{
return ((isNaN(_y)) ? super.y : _y);
}
protected function setIMEMode(_arg1:Boolean){
var enabled = _arg1;
if (_imeMode != null){
if (enabled){
IME.enabled = true;
_oldIMEMode = IME.conversionMode;
try {
if (((!(errorCaught)) && (!((IME.conversionMode == IMEConversionMode.UNKNOWN))))){
IME.conversionMode = _imeMode;
};
errorCaught = false;
} catch(e:Error) {
errorCaught = true;
throw (new Error(("IME mode not supported: " + _imeMode)));
};
} else {
if (((!((IME.conversionMode == IMEConversionMode.UNKNOWN))) && (!((_oldIMEMode == IMEConversionMode.UNKNOWN))))){
IME.conversionMode = _oldIMEMode;
};
IME.enabled = false;
};
};
}
public function set enabled(_arg1:Boolean):void{
if (_arg1 == _enabled){
return;
};
_enabled = _arg1;
invalidate(InvalidationType.STATE);
}
public function setSharedStyle(_arg1:String, _arg2:Object):void{
if ((((sharedStyles[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){
return;
};
sharedStyles[_arg1] = _arg2;
if (instanceStyles[_arg1] == null){
invalidate(InvalidationType.STYLES);
};
}
protected function keyUpHandler(_arg1:KeyboardEvent):void{
}
public function set focusEnabled(_arg1:Boolean):void{
_focusEnabled = _arg1;
}
override public function set scaleX(_arg1:Number):void{
setSize((startWidth * _arg1), height);
}
public function get mouseFocusEnabled():Boolean{
return (_mouseFocusEnabled);
}
override public function set scaleY(_arg1:Number):void{
setSize(width, (startHeight * _arg1));
}
protected function getDisplayObjectInstance(_arg1:Object):DisplayObject{
var classDef:Object;
var skin = _arg1;
classDef = null;
if ((skin is Class)){
return ((new (skin) as DisplayObject));
};
if ((skin is DisplayObject)){
(skin as DisplayObject).x = 0;
(skin as DisplayObject).y = 0;
return ((skin as DisplayObject));
};
try {
classDef = getDefinitionByName(skin.toString());
} catch(e:Error) {
try {
classDef = (loaderInfo.applicationDomain.getDefinition(skin.toString()) as Object);
} catch(e:Error) {
};
};
if (classDef == null){
return (null);
};
return ((new (classDef) as DisplayObject));
}
protected function copyStylesToChild(_arg1:UIComponent, _arg2:Object):void{
var _local3:String;
for (_local3 in _arg2) {
_arg1.setStyle(_local3, getStyleValue(_arg2[_local3]));
};
}
protected function beforeComponentParameters():void{
}
protected function callLater(_arg1:Function):void{
if (inCallLaterPhase){
return;
};
callLaterMethods[_arg1] = true;
if (stage != null){
stage.addEventListener(Event.RENDER, callLaterDispatcher, false, 0, true);
stage.invalidate();
} else {
addEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher, false, 0, true);
};
}
protected function createFocusManager():void{
if (focusManagers[stage] == null){
focusManagers[stage] = new FocusManager(stage);
};
}
override public function set visible(_arg1:Boolean):void{
var _local2:String;
if (super.visible == _arg1){
return;
};
super.visible = _arg1;
_local2 = (_arg1) ? ComponentEvent.SHOW : ComponentEvent.HIDE;
dispatchEvent(new ComponentEvent(_local2, true));
}
protected function hookAccessibility(_arg1:Event):void{
removeEventListener(Event.ENTER_FRAME, hookAccessibility);
initializeAccessibility();
}
public function set componentInspectorSetting(_arg1:Boolean):void{
_inspector = _arg1;
if (_inspector){
beforeComponentParameters();
} else {
afterComponentParameters();
};
}
override public function set x(_arg1:Number):void{
move(_arg1, _y);
}
public function drawNow():void{
draw();
}
override public function set y(_arg1:Number):void{
move(_x, _arg1);
}
protected function checkLivePreview():Boolean{
var className:String;
if (parent == null){
return (false);
};
try {
className = getQualifiedClassName(parent);
} catch(e:Error) {
};
return ((className == "fl.livepreview::LivePreviewParent"));
}
protected function focusOutHandler(_arg1:FocusEvent):void{
if (isOurFocus((_arg1.target as DisplayObject))){
drawFocus(false);
isFocused = false;
};
}
public function set mouseFocusEnabled(_arg1:Boolean):void{
_mouseFocusEnabled = _arg1;
}
public function getFocus():InteractiveObject{
if (stage){
return (stage.focus);
};
return (null);
}
protected function validate():void{
invalidHash = {};
}
override public function get height():Number{
return (_height);
}
public function invalidate(_arg1:String="all", _arg2:Boolean=true):void{
invalidHash[_arg1] = true;
if (_arg2){
this.callLater(draw);
};
}
public function get enabled():Boolean{
return (_enabled);
}
protected function getScaleX():Number{
return (super.scaleX);
}
protected function getScaleY():Number{
return (super.scaleY);
}
public function get focusEnabled():Boolean{
return (_focusEnabled);
}
protected function afterComponentParameters():void{
}
protected function draw():void{
if (isInvalid(InvalidationType.SIZE, InvalidationType.STYLES)){
if (((isFocused) && (focusManager.showFocusIndicator))){
drawFocus(true);
};
};
validate();
}
protected function configUI():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
isLivePreview = checkLivePreview();
_local1 = rotation;
rotation = 0;
_local2 = super.width;
_local3 = super.height;
var _local4 = 1;
super.scaleY = _local4;
super.scaleX = _local4;
setSize(_local2, _local3);
move(super.x, super.y);
rotation = _local1;
startWidth = _local2;
startHeight = _local3;
if (numChildren > 0){
removeChildAt(0);
};
}
protected function setScaleX(_arg1:Number):void{
super.scaleX = _arg1;
}
protected function setScaleY(_arg1:Number):void{
super.scaleY = _arg1;
}
private function initializeFocusManager():void{
if (stage == null){
addEventListener(Event.ADDED_TO_STAGE, addedHandler, false, 0, true);
} else {
createFocusManager();
};
}
public function set focusManager(_arg1:IFocusManager):void{
UIComponent.focusManagers[this] = _arg1;
}
public function clearStyle(_arg1:String):void{
setStyle(_arg1, null);
}
protected function isInvalid(_arg1:String, ... _args):Boolean{
if (((invalidHash[_arg1]) || (invalidHash[InvalidationType.ALL]))){
return (true);
};
while (_args.length > 0) {
if (invalidHash[_args.pop()]){
return (true);
};
};
return (false);
}
public function setSize(_arg1:Number, _arg2:Number):void{
_width = _arg1;
_height = _arg2;
invalidate(InvalidationType.SIZE);
dispatchEvent(new ComponentEvent(ComponentEvent.RESIZE, false));
}
override public function set width(_arg1:Number):void{
if (_width == _arg1){
return;
};
setSize(_arg1, height);
}
public function setFocus():void{
if (stage){
stage.focus = this;
};
}
protected function initializeAccessibility():void{
if (UIComponent.createAccessibilityImplementation != null){
UIComponent.createAccessibilityImplementation(this);
};
}
public function get focusManager():IFocusManager{
var _local1:DisplayObject;
_local1 = this;
while (_local1) {
if (UIComponent.focusManagers[_local1] != null){
return (IFocusManager(UIComponent.focusManagers[_local1]));
};
_local1 = _local1.parent;
};
return (null);
}
override public function get width():Number{
return (_width);
}
public function move(_arg1:Number, _arg2:Number):void{
_x = _arg1;
_y = _arg2;
super.x = Math.round(_arg1);
super.y = Math.round(_arg2);
dispatchEvent(new ComponentEvent(ComponentEvent.MOVE));
}
public function validateNow():void{
invalidate(InvalidationType.ALL, false);
draw();
}
public function getStyle(_arg1:String):Object{
return (instanceStyles[_arg1]);
}
public static function getStyleDefinition():Object{
return (defaultStyles);
}
public static function mergeStyles(... _args):Object{
var _local2:Object;
var _local3:uint;
var _local4:uint;
var _local5:Object;
var _local6:String;
_local2 = {};
_local3 = _args.length;
_local4 = 0;
while (_local4 < _local3) {
_local5 = _args[_local4];
for (_local6 in _local5) {
if (_local2[_local6] != null){
} else {
_local2[_local6] = _args[_local4][_local6];
};
};
_local4++;
};
return (_local2);
}
}
}//package fl.core
Section 33
//ComponentEvent (fl.events.ComponentEvent)
package fl.events {
import flash.events.*;
public class ComponentEvent extends Event {
public static const HIDE:String = "hide";
public static const BUTTON_DOWN:String = "buttonDown";
public static const MOVE:String = "move";
public static const RESIZE:String = "resize";
public static const ENTER:String = "enter";
public static const LABEL_CHANGE:String = "labelChange";
public static const SHOW:String = "show";
public function ComponentEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false){
super(_arg1, _arg2, _arg3);
}
override public function toString():String{
return (formatToString("ComponentEvent", "type", "bubbles", "cancelable"));
}
override public function clone():Event{
return (new ComponentEvent(type, bubbles, cancelable));
}
}
}//package fl.events
Section 34
//InteractionInputType (fl.events.InteractionInputType)
package fl.events {
public class InteractionInputType {
public static const MOUSE:String = "mouse";
public static const KEYBOARD:String = "keyboard";
}
}//package fl.events
Section 35
//SliderEvent (fl.events.SliderEvent)
package fl.events {
import flash.events.*;
public class SliderEvent extends Event {
protected var _triggerEvent:String;
protected var _keyCode:Number;
protected var _value:Number;
protected var _clickTarget:String;
public static const CHANGE:String = "change";
public static const THUMB_PRESS:String = "thumbPress";
public static const THUMB_DRAG:String = "thumbDrag";
public static const THUMB_RELEASE:String = "thumbRelease";
public function SliderEvent(_arg1:String, _arg2:Number, _arg3:String, _arg4:String, _arg5:int=0){
_value = _arg2;
_keyCode = _arg5;
_triggerEvent = _arg4;
_clickTarget = _arg3;
super(_arg1);
}
public function get clickTarget():String{
return (_clickTarget);
}
override public function clone():Event{
return (new SliderEvent(type, _value, _clickTarget, _triggerEvent, _keyCode));
}
override public function toString():String{
return (formatToString("SliderEvent", "type", "value", "bubbles", "cancelable", "keyCode", "triggerEvent", "clickTarget"));
}
public function get triggerEvent():String{
return (_triggerEvent);
}
public function get value():Number{
return (_value);
}
public function get keyCode():Number{
return (_keyCode);
}
}
}//package fl.events
Section 36
//SliderEventClickTarget (fl.events.SliderEventClickTarget)
package fl.events {
public class SliderEventClickTarget {
public static const TRACK:String = "track";
public static const THUMB:String = "thumb";
}
}//package fl.events
Section 37
//FocusManager (fl.managers.FocusManager)
package fl.managers {
import fl.controls.*;
import flash.display.*;
import fl.core.*;
import flash.events.*;
import flash.utils.*;
import flash.text.*;
import flash.ui.*;
public class FocusManager implements IFocusManager {
private var focusableObjects:Dictionary;
private var _showFocusIndicator:Boolean;// = true
private var defButton:Button;
private var focusableCandidates:Array;
private var _form:DisplayObjectContainer;
private var _defaultButtonEnabled:Boolean;// = true
private var activated:Boolean;// = false
private var _defaultButton:Button;
private var calculateCandidates:Boolean;// = true
private var lastFocus:InteractiveObject;
private var lastAction:String;
public function FocusManager(_arg1:DisplayObjectContainer){
activated = false;
calculateCandidates = true;
_showFocusIndicator = true;
_defaultButtonEnabled = true;
super();
focusableObjects = new Dictionary(true);
if (_arg1 != null){
_form = _arg1;
addFocusables(DisplayObject(_arg1));
_arg1.addEventListener(Event.ADDED, addedHandler);
_arg1.addEventListener(Event.REMOVED, removedHandler);
activate();
};
}
public function get showFocusIndicator():Boolean{
return (_showFocusIndicator);
}
private function getIndexOfNextObject(_arg1:int, _arg2:Boolean, _arg3:Boolean, _arg4:String):int{
var _local5:int;
var _local6:int;
var _local7:DisplayObject;
var _local8:IFocusManagerGroup;
var _local9:int;
var _local10:DisplayObject;
var _local11:IFocusManagerGroup;
_local5 = focusableCandidates.length;
_local6 = _arg1;
while (true) {
if (_arg2){
_arg1--;
} else {
_arg1++;
};
if (_arg3){
if (((_arg2) && ((_arg1 < 0)))){
break;
};
if (((!(_arg2)) && ((_arg1 == _local5)))){
break;
};
} else {
_arg1 = ((_arg1 + _local5) % _local5);
if (_local6 == _arg1){
break;
};
};
if (isValidFocusCandidate(focusableCandidates[_arg1], _arg4)){
_local7 = DisplayObject(findFocusManagerComponent(focusableCandidates[_arg1]));
if ((_local7 is IFocusManagerGroup)){
_local8 = IFocusManagerGroup(_local7);
_local9 = 0;
while (_local9 < focusableCandidates.length) {
_local10 = focusableCandidates[_local9];
if ((_local10 is IFocusManagerGroup)){
_local11 = IFocusManagerGroup(_local10);
if ((((_local11.groupName == _local8.groupName)) && (_local11.selected))){
_arg1 = _local9;
break;
};
};
_local9++;
};
};
return (_arg1);
};
};
return (_arg1);
}
public function set form(_arg1:DisplayObjectContainer):void{
_form = _arg1;
}
private function addFocusables(_arg1:DisplayObject, _arg2:Boolean=false):void{
var focusable:IFocusManagerComponent;
var io:InteractiveObject;
var doc:DisplayObjectContainer;
var i:int;
var child:DisplayObject;
var o = _arg1;
var skipTopLevel = _arg2;
if (!skipTopLevel){
if ((o is IFocusManagerComponent)){
focusable = IFocusManagerComponent(o);
if (focusable.focusEnabled){
if (((focusable.tabEnabled) && (isTabVisible(o)))){
focusableObjects[o] = true;
calculateCandidates = true;
};
o.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler);
o.addEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler);
};
} else {
if ((o is InteractiveObject)){
io = (o as InteractiveObject);
if (((((io) && (io.tabEnabled))) && ((findFocusManagerComponent(io) == io)))){
focusableObjects[io] = true;
calculateCandidates = true;
};
io.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler);
io.addEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler);
};
};
};
if ((o is DisplayObjectContainer)){
doc = DisplayObjectContainer(o);
o.addEventListener(Event.TAB_CHILDREN_CHANGE, tabChildrenChangeHandler);
if ((((((doc is Stage)) || ((doc.parent is Stage)))) || (doc.tabChildren))){
i = 0;
while (i < doc.numChildren) {
try {
child = doc.getChildAt(i);
if (child != null){
addFocusables(doc.getChildAt(i));
};
} catch(error:SecurityError) {
};
i = (i + 1);
};
};
};
}
private function getChildIndex(_arg1:DisplayObjectContainer, _arg2:DisplayObject):int{
return (_arg1.getChildIndex(_arg2));
}
private function mouseFocusChangeHandler(_arg1:FocusEvent):void{
if ((_arg1.relatedObject is TextField)){
return;
};
_arg1.preventDefault();
}
private function focusOutHandler(_arg1:FocusEvent):void{
var _local2:InteractiveObject;
_local2 = (_arg1.target as InteractiveObject);
}
private function isValidFocusCandidate(_arg1:DisplayObject, _arg2:String):Boolean{
var _local3:IFocusManagerGroup;
if (!isEnabledAndVisible(_arg1)){
return (false);
};
if ((_arg1 is IFocusManagerGroup)){
_local3 = IFocusManagerGroup(_arg1);
if (_arg2 == _local3.groupName){
return (false);
};
};
return (true);
}
public function findFocusManagerComponent(_arg1:InteractiveObject):InteractiveObject{
var _local2:InteractiveObject;
_local2 = _arg1;
while (_arg1) {
if ((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))){
return (_arg1);
};
_arg1 = _arg1.parent;
};
return (_local2);
}
private function sortFocusableObjectsTabIndex():void{
var _local1:Object;
var _local2:InteractiveObject;
focusableCandidates = [];
for (_local1 in focusableObjects) {
_local2 = InteractiveObject(_local1);
if (((_local2.tabIndex) && (!(isNaN(Number(_local2.tabIndex)))))){
focusableCandidates.push(_local2);
};
};
focusableCandidates.sort(sortByTabIndex);
}
private function removeFocusables(_arg1:DisplayObject):void{
var _local2:Object;
var _local3:DisplayObject;
if ((_arg1 is DisplayObjectContainer)){
_arg1.removeEventListener(Event.TAB_CHILDREN_CHANGE, tabChildrenChangeHandler);
_arg1.removeEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler);
for (_local2 in focusableObjects) {
_local3 = DisplayObject(_local2);
if (DisplayObjectContainer(_arg1).contains(_local3)){
if (_local3 == lastFocus){
lastFocus = null;
};
_local3.removeEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler);
delete focusableObjects[_local2];
calculateCandidates = true;
};
};
};
}
private function addedHandler(_arg1:Event):void{
var _local2:DisplayObject;
_local2 = DisplayObject(_arg1.target);
if (_local2.stage){
addFocusables(DisplayObject(_arg1.target));
};
}
private function getTopLevelFocusTarget(_arg1:InteractiveObject):InteractiveObject{
while (_arg1 != InteractiveObject(form)) {
if ((((((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))) && (IFocusManagerComponent(_arg1).mouseFocusEnabled))) && (UIComponent(_arg1).enabled))){
return (_arg1);
};
_arg1 = _arg1.parent;
if (_arg1 == null){
break;
};
};
return (null);
}
private function tabChildrenChangeHandler(_arg1:Event):void{
var _local2:DisplayObjectContainer;
if (_arg1.target != _arg1.currentTarget){
return;
};
calculateCandidates = true;
_local2 = DisplayObjectContainer(_arg1.target);
if (_local2.tabChildren){
addFocusables(_local2, true);
} else {
removeFocusables(_local2);
};
}
public function sendDefaultButtonEvent():void{
defButton.dispatchEvent(new MouseEvent(MouseEvent.CLICK));
}
public function getFocus():InteractiveObject{
var _local1:InteractiveObject;
_local1 = form.stage.focus;
return (findFocusManagerComponent(_local1));
}
private function isEnabledAndVisible(_arg1:DisplayObject):Boolean{
var _local2:DisplayObjectContainer;
var _local3:TextField;
var _local4:SimpleButton;
_local2 = DisplayObject(form).parent;
while (_arg1 != _local2) {
if ((_arg1 is UIComponent)){
if (!UIComponent(_arg1).enabled){
return (false);
};
} else {
if ((_arg1 is TextField)){
_local3 = TextField(_arg1);
if ((((_local3.type == TextFieldType.DYNAMIC)) || (!(_local3.selectable)))){
return (false);
};
} else {
if ((_arg1 is SimpleButton)){
_local4 = SimpleButton(_arg1);
if (!_local4.enabled){
return (false);
};
};
};
};
if (!_arg1.visible){
return (false);
};
_arg1 = _arg1.parent;
};
return (true);
}
public function set defaultButton(_arg1:Button):void{
var _local2:Button;
_local2 = (_arg1) ? Button(_arg1) : null;
if (_local2 != _defaultButton){
if (_defaultButton){
_defaultButton.emphasized = false;
};
if (defButton){
defButton.emphasized = false;
};
_defaultButton = _local2;
defButton = _local2;
if (_local2){
_local2.emphasized = true;
};
};
}
private function deactivateHandler(_arg1:Event):void{
var _local2:InteractiveObject;
_local2 = InteractiveObject(_arg1.target);
}
public function setFocus(_arg1:InteractiveObject):void{
if ((_arg1 is IFocusManagerComponent)){
IFocusManagerComponent(_arg1).setFocus();
} else {
form.stage.focus = _arg1;
};
}
private function setFocusToNextObject(_arg1:FocusEvent):void{
var _local2:InteractiveObject;
if (!hasFocusableObjects()){
return;
};
_local2 = getNextFocusManagerComponent(_arg1.shiftKey);
if (_local2){
setFocus(_local2);
};
}
private function hasFocusableObjects():Boolean{
var _local1:Object;
for (_local1 in focusableObjects) {
return (true);
};
return (false);
}
private function tabIndexChangeHandler(_arg1:Event):void{
calculateCandidates = true;
}
private function sortFocusableObjects():void{
var _local1:Object;
var _local2:InteractiveObject;
focusableCandidates = [];
for (_local1 in focusableObjects) {
_local2 = InteractiveObject(_local1);
if (((((_local2.tabIndex) && (!(isNaN(Number(_local2.tabIndex)))))) && ((_local2.tabIndex > 0)))){
sortFocusableObjectsTabIndex();
return;
};
focusableCandidates.push(_local2);
};
focusableCandidates.sort(sortByDepth);
}
private function keyFocusChangeHandler(_arg1:FocusEvent):void{
showFocusIndicator = true;
if ((((((_arg1.keyCode == Keyboard.TAB)) || ((_arg1.keyCode == 0)))) && (!(_arg1.isDefaultPrevented())))){
setFocusToNextObject(_arg1);
_arg1.preventDefault();
};
}
private function getIndexOfFocusedObject(_arg1:DisplayObject):int{
var _local2:int;
var _local3:int;
_local2 = focusableCandidates.length;
_local3 = 0;
_local3 = 0;
while (_local3 < _local2) {
if (focusableCandidates[_local3] == _arg1){
return (_local3);
};
_local3++;
};
return (-1);
}
public function hideFocus():void{
}
private function removedHandler(_arg1:Event):void{
var _local2:int;
var _local3:DisplayObject;
var _local4:InteractiveObject;
_local3 = DisplayObject(_arg1.target);
if ((((_local3 is IFocusManagerComponent)) && ((focusableObjects[_local3] == true)))){
if (_local3 == lastFocus){
IFocusManagerComponent(lastFocus).drawFocus(false);
lastFocus = null;
};
_local3.removeEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler);
delete focusableObjects[_local3];
calculateCandidates = true;
} else {
if ((((_local3 is InteractiveObject)) && ((focusableObjects[_local3] == true)))){
_local4 = (_local3 as InteractiveObject);
if (_local4){
if (_local4 == lastFocus){
lastFocus = null;
};
delete focusableObjects[_local4];
calculateCandidates = true;
};
_local3.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler);
};
};
removeFocusables(_local3);
}
private function sortByDepth(_arg1:InteractiveObject, _arg2:InteractiveObject):Number{
var _local3:String;
var _local4:String;
var _local5:int;
var _local6:String;
var _local7:String;
var _local8:String;
var _local9:DisplayObject;
var _local10:DisplayObject;
_local3 = "";
_local4 = "";
_local8 = "0000";
_local9 = DisplayObject(_arg1);
_local10 = DisplayObject(_arg2);
while (((!((_local9 == DisplayObject(form)))) && (_local9.parent))) {
_local5 = getChildIndex(_local9.parent, _local9);
_local6 = _local5.toString(16);
if (_local6.length < 4){
_local7 = (_local8.substring(0, (4 - _local6.length)) + _local6);
};
_local3 = (_local7 + _local3);
_local9 = _local9.parent;
};
while (((!((_local10 == DisplayObject(form)))) && (_local10.parent))) {
_local5 = getChildIndex(_local10.parent, _local10);
_local6 = _local5.toString(16);
if (_local6.length < 4){
_local7 = (_local8.substring(0, (4 - _local6.length)) + _local6);
};
_local4 = (_local7 + _local4);
_local10 = _local10.parent;
};
return (((_local3 > _local4)) ? 1 : ((_local3 < _local4)) ? -1 : 0);
}
public function get defaultButton():Button{
return (_defaultButton);
}
private function activateHandler(_arg1:Event):void{
var _local2:InteractiveObject;
_local2 = InteractiveObject(_arg1.target);
if (lastFocus){
if ((lastFocus is IFocusManagerComponent)){
IFocusManagerComponent(lastFocus).setFocus();
} else {
form.stage.focus = lastFocus;
};
};
lastAction = "ACTIVATE";
}
public function showFocus():void{
}
public function set defaultButtonEnabled(_arg1:Boolean):void{
_defaultButtonEnabled = _arg1;
}
public function getNextFocusManagerComponent(_arg1:Boolean=false):InteractiveObject{
var _local2:DisplayObject;
var _local3:String;
var _local4:int;
var _local5:Boolean;
var _local6:int;
var _local7:int;
var _local8:IFocusManagerGroup;
if (!hasFocusableObjects()){
return (null);
};
if (calculateCandidates){
sortFocusableObjects();
calculateCandidates = false;
};
_local2 = form.stage.focus;
_local2 = DisplayObject(findFocusManagerComponent(InteractiveObject(_local2)));
_local3 = "";
if ((_local2 is IFocusManagerGroup)){
_local8 = IFocusManagerGroup(_local2);
_local3 = _local8.groupName;
};
_local4 = getIndexOfFocusedObject(_local2);
_local5 = false;
_local6 = _local4;
if (_local4 == -1){
if (_arg1){
_local4 = focusableCandidates.length;
};
_local5 = true;
};
_local7 = getIndexOfNextObject(_local4, _arg1, _local5, _local3);
return (findFocusManagerComponent(focusableCandidates[_local7]));
}
private function mouseDownHandler(_arg1:MouseEvent):void{
var _local2:InteractiveObject;
if (_arg1.isDefaultPrevented()){
return;
};
_local2 = getTopLevelFocusTarget(InteractiveObject(_arg1.target));
if (!_local2){
return;
};
showFocusIndicator = false;
if (((((!((_local2 == lastFocus))) || ((lastAction == "ACTIVATE")))) && (!((_local2 is TextField))))){
setFocus(_local2);
};
lastAction = "MOUSEDOWN";
}
private function isTabVisible(_arg1:DisplayObject):Boolean{
var _local2:DisplayObjectContainer;
_local2 = _arg1.parent;
while (((((_local2) && (!((_local2 is Stage))))) && (!(((_local2.parent) && ((_local2.parent is Stage))))))) {
if (!_local2.tabChildren){
return (false);
};
_local2 = _local2.parent;
};
return (true);
}
public function get nextTabIndex():int{
return (0);
}
private function keyDownHandler(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == Keyboard.TAB){
lastAction = "KEY";
if (calculateCandidates){
sortFocusableObjects();
calculateCandidates = false;
};
};
if (((((((defaultButtonEnabled) && ((_arg1.keyCode == Keyboard.ENTER)))) && (defaultButton))) && (defButton.enabled))){
sendDefaultButtonEvent();
};
}
private function focusInHandler(_arg1:FocusEvent):void{
var _local2:InteractiveObject;
var _local3:Button;
_local2 = InteractiveObject(_arg1.target);
if (form.contains(_local2)){
lastFocus = findFocusManagerComponent(InteractiveObject(_local2));
if ((lastFocus is Button)){
_local3 = Button(lastFocus);
if (defButton){
defButton.emphasized = false;
defButton = _local3;
_local3.emphasized = true;
};
} else {
if (((defButton) && (!((defButton == _defaultButton))))){
defButton.emphasized = false;
defButton = _defaultButton;
_defaultButton.emphasized = true;
};
};
};
}
private function tabEnabledChangeHandler(_arg1:Event):void{
var _local2:InteractiveObject;
var _local3:Boolean;
calculateCandidates = true;
_local2 = InteractiveObject(_arg1.target);
_local3 = (focusableObjects[_local2] == true);
if (_local2.tabEnabled){
if (((!(_local3)) && (isTabVisible(_local2)))){
if (!(_local2 is IFocusManagerComponent)){
_local2.focusRect = false;
};
focusableObjects[_local2] = true;
};
} else {
if (_local3){
delete focusableObjects[_local2];
};
};
}
public function set showFocusIndicator(_arg1:Boolean):void{
_showFocusIndicator = _arg1;
}
public function get form():DisplayObjectContainer{
return (_form);
}
private function sortByTabIndex(_arg1:InteractiveObject, _arg2:InteractiveObject):int{
return (((_arg1.tabIndex > _arg2.tabIndex)) ? 1 : ((_arg1.tabIndex < _arg2.tabIndex)) ? -1 : sortByDepth(_arg1, _arg2));
}
public function activate():void{
if (activated){
return;
};
form.stage.addEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler, false, 0, true);
form.stage.addEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler, false, 0, true);
form.addEventListener(FocusEvent.FOCUS_IN, focusInHandler, true);
form.addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler, true);
form.stage.addEventListener(Event.ACTIVATE, activateHandler, false, 0, true);
form.stage.addEventListener(Event.DEACTIVATE, deactivateHandler, false, 0, true);
form.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
form.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true);
activated = true;
if (lastFocus){
setFocus(lastFocus);
};
}
public function deactivate():void{
form.stage.removeEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler);
form.stage.removeEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler);
form.removeEventListener(FocusEvent.FOCUS_IN, focusInHandler, true);
form.removeEventListener(FocusEvent.FOCUS_OUT, focusOutHandler, true);
form.stage.removeEventListener(Event.ACTIVATE, activateHandler);
form.stage.removeEventListener(Event.DEACTIVATE, deactivateHandler);
form.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
form.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true);
activated = false;
}
public function get defaultButtonEnabled():Boolean{
return (_defaultButtonEnabled);
}
}
}//package fl.managers
Section 38
//IFocusManager (fl.managers.IFocusManager)
package fl.managers {
import fl.controls.*;
import flash.display.*;
public interface IFocusManager {
function getFocus():InteractiveObject;
function deactivate():void;
function set defaultButton(_arg1:Button):void;
function set showFocusIndicator(_arg1:Boolean):void;
function get defaultButtonEnabled():Boolean;
function get nextTabIndex():int;
function get defaultButton():Button;
function get showFocusIndicator():Boolean;
function setFocus(_arg1:InteractiveObject):void;
function activate():void;
function showFocus():void;
function set defaultButtonEnabled(_arg1:Boolean):void;
function hideFocus():void;
function findFocusManagerComponent(_arg1:InteractiveObject):InteractiveObject;
function getNextFocusManagerComponent(_arg1:Boolean=false):InteractiveObject;
}
}//package fl.managers
Section 39
//IFocusManagerComponent (fl.managers.IFocusManagerComponent)
package fl.managers {
public interface IFocusManagerComponent {
function set focusEnabled(_arg1:Boolean):void;
function drawFocus(_arg1:Boolean):void;
function setFocus():void;
function get focusEnabled():Boolean;
function get tabEnabled():Boolean;
function get tabIndex():int;
function get mouseFocusEnabled():Boolean;
}
}//package fl.managers
Section 40
//IFocusManagerGroup (fl.managers.IFocusManagerGroup)
package fl.managers {
public interface IFocusManagerGroup {
function set groupName(_arg1:String):void;
function set selected(_arg1:Boolean):void;
function get groupName():String;
function get selected():Boolean;
}
}//package fl.managers
Section 41
//StyleManager (fl.managers.StyleManager)
package fl.managers {
import fl.core.*;
import flash.utils.*;
import flash.text.*;
public class StyleManager {
private var globalStyles:Object;
private var classToDefaultStylesDict:Dictionary;
private var styleToClassesHash:Object;
private var classToStylesDict:Dictionary;
private var classToInstancesDict:Dictionary;
private static var _instance:StyleManager;
public function StyleManager(){
styleToClassesHash = {};
classToInstancesDict = new Dictionary(true);
classToStylesDict = new Dictionary(true);
classToDefaultStylesDict = new Dictionary(true);
globalStyles = UIComponent.getStyleDefinition();
}
public static function clearComponentStyle(_arg1:Object, _arg2:String):void{
var _local3:Class;
var _local4:Object;
_local3 = getClassDef(_arg1);
_local4 = getInstance().classToStylesDict[_local3];
if (((!((_local4 == null))) && (!((_local4[_arg2] == null))))){
delete _local4[_arg2];
invalidateComponentStyle(_local3, _arg2);
};
}
private static function getClassDef(_arg1:Object):Class{
var component = _arg1;
if ((component is Class)){
return ((component as Class));
};
try {
return ((getDefinitionByName(getQualifiedClassName(component)) as Class));
} catch(e:Error) {
if ((component is UIComponent)){
try {
return ((component.loaderInfo.applicationDomain.getDefinition(getQualifiedClassName(component)) as Class));
} catch(e:Error) {
};
};
};
return (null);
}
public static function clearStyle(_arg1:String):void{
setStyle(_arg1, null);
}
public static function setComponentStyle(_arg1:Object, _arg2:String, _arg3:Object):void{
var _local4:Class;
var _local5:Object;
_local4 = getClassDef(_arg1);
_local5 = getInstance().classToStylesDict[_local4];
if (_local5 == null){
_local5 = (getInstance().classToStylesDict[_local4] = {});
};
if (_local5 == _arg3){
return;
};
_local5[_arg2] = _arg3;
invalidateComponentStyle(_local4, _arg2);
}
private static function setSharedStyles(_arg1:UIComponent):void{
var _local2:StyleManager;
var _local3:Class;
var _local4:Object;
var _local5:String;
_local2 = getInstance();
_local3 = getClassDef(_arg1);
_local4 = _local2.classToDefaultStylesDict[_local3];
for (_local5 in _local4) {
_arg1.setSharedStyle(_local5, getSharedStyle(_arg1, _local5));
};
}
public static function getComponentStyle(_arg1:Object, _arg2:String):Object{
var _local3:Class;
var _local4:Object;
_local3 = getClassDef(_arg1);
_local4 = getInstance().classToStylesDict[_local3];
return (((_local4)==null) ? null : _local4[_arg2]);
}
private static function getInstance(){
if (_instance == null){
_instance = new (StyleManager);
};
return (_instance);
}
private static function invalidateComponentStyle(_arg1:Class, _arg2:String):void{
var _local3:Dictionary;
var _local4:Object;
var _local5:UIComponent;
_local3 = getInstance().classToInstancesDict[_arg1];
if (_local3 == null){
return;
};
for (_local4 in _local3) {
_local5 = (_local4 as UIComponent);
if (_local5 == null){
} else {
_local5.setSharedStyle(_arg2, getSharedStyle(_local5, _arg2));
};
};
}
private static function invalidateStyle(_arg1:String):void{
var _local2:Dictionary;
var _local3:Object;
_local2 = getInstance().styleToClassesHash[_arg1];
if (_local2 == null){
return;
};
for (_local3 in _local2) {
invalidateComponentStyle(Class(_local3), _arg1);
};
}
public static function registerInstance(_arg1:UIComponent):void{
var inst:StyleManager;
var classDef:Class;
var target:Class;
var defaultStyles:Object;
var styleToClasses:Object;
var n:String;
var instance = _arg1;
inst = getInstance();
classDef = getClassDef(instance);
if (classDef == null){
return;
};
if (inst.classToInstancesDict[classDef] == null){
inst.classToInstancesDict[classDef] = new Dictionary(true);
target = classDef;
while (defaultStyles == null) {
if (target["getStyleDefinition"] != null){
defaultStyles = target["getStyleDefinition"]();
break;
};
try {
target = (instance.loaderInfo.applicationDomain.getDefinition(getQualifiedSuperclassName(target)) as Class);
} catch(err:Error) {
try {
target = (getDefinitionByName(getQualifiedSuperclassName(target)) as Class);
} catch(e:Error) {
defaultStyles = UIComponent.getStyleDefinition();
break;
};
};
};
styleToClasses = inst.styleToClassesHash;
for (n in defaultStyles) {
if (styleToClasses[n] == null){
styleToClasses[n] = new Dictionary(true);
};
styleToClasses[n][classDef] = true;
};
inst.classToDefaultStylesDict[classDef] = defaultStyles;
inst.classToStylesDict[classDef] = {};
};
inst.classToInstancesDict[classDef][instance] = true;
setSharedStyles(instance);
}
public static function getStyle(_arg1:String):Object{
return (getInstance().globalStyles[_arg1]);
}
private static function getSharedStyle(_arg1:UIComponent, _arg2:String):Object{
var _local3:Class;
var _local4:StyleManager;
var _local5:Object;
_local3 = getClassDef(_arg1);
_local4 = getInstance();
_local5 = _local4.classToStylesDict[_local3][_arg2];
if (_local5 != null){
return (_local5);
};
_local5 = _local4.globalStyles[_arg2];
if (_local5 != null){
return (_local5);
};
return (_local4.classToDefaultStylesDict[_local3][_arg2]);
}
public static function setStyle(_arg1:String, _arg2:Object):void{
var _local3:Object;
_local3 = getInstance().globalStyles;
if ((((_local3[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){
return;
};
_local3[_arg1] = _arg2;
invalidateStyle(_arg1);
}
}
}//package fl.managers
Section 42
//aGameBy (aGameBy)
package {
import flash.display.*;
public dynamic class aGameBy extends MovieClip {
public function aGameBy(){
addFrameScript(149, frame150);
}
function frame150(){
stop();
}
}
}//package
Section 43
//beam_1 (beam_1)
package {
import flash.display.*;
public dynamic class beam_1 extends MovieClip {
}
}//package
Section 44
//blueBonus (blueBonus)
package {
import flash.display.*;
public dynamic class blueBonus extends MovieClip {
}
}//package
Section 45
//blueShield (blueShield)
package {
import flash.display.*;
public dynamic class blueShield extends MovieClip {
}
}//package
Section 46
//boss_1_gfx (boss_1_gfx)
package {
import flash.display.*;
public dynamic class boss_1_gfx extends MovieClip {
}
}//package
Section 47
//boss_10_gfx (boss_10_gfx)
package {
import flash.display.*;
public dynamic class boss_10_gfx extends MovieClip {
}
}//package
Section 48
//boss_2_gfx (boss_2_gfx)
package {
import flash.display.*;
public dynamic class boss_2_gfx extends MovieClip {
}
}//package
Section 49
//boss_3_gfx (boss_3_gfx)
package {
import flash.display.*;
public dynamic class boss_3_gfx extends MovieClip {
}
}//package
Section 50
//boss_4_gfx (boss_4_gfx)
package {
import flash.display.*;
public dynamic class boss_4_gfx extends MovieClip {
}
}//package
Section 51
//boss_5_gfx (boss_5_gfx)
package {
import flash.display.*;
public dynamic class boss_5_gfx extends MovieClip {
}
}//package
Section 52
//boss_6_gfx (boss_6_gfx)
package {
import flash.display.*;
public dynamic class boss_6_gfx extends MovieClip {
}
}//package
Section 53
//boss_7_gfx (boss_7_gfx)
package {
import flash.display.*;
public dynamic class boss_7_gfx extends MovieClip {
}
}//package
Section 54
//boss_8_gfx (boss_8_gfx)
package {
import flash.display.*;
public dynamic class boss_8_gfx extends MovieClip {
}
}//package
Section 55
//boss_9_gfx (boss_9_gfx)
package {
import flash.display.*;
public dynamic class boss_9_gfx extends MovieClip {
}
}//package
Section 56
//card_add (card_add)
package {
import flash.display.*;
public dynamic class card_add extends MovieClip {
}
}//package
Section 57
//card_dam_1 (card_dam_1)
package {
import flash.display.*;
public dynamic class card_dam_1 extends MovieClip {
}
}//package
Section 58
//card_dam_2 (card_dam_2)
package {
import flash.display.*;
public dynamic class card_dam_2 extends MovieClip {
}
}//package
Section 59
//card_dam_3 (card_dam_3)
package {
import flash.display.*;
public dynamic class card_dam_3 extends MovieClip {
}
}//package
Section 60
//card_dam_4 (card_dam_4)
package {
import flash.display.*;
public dynamic class card_dam_4 extends MovieClip {
}
}//package
Section 61
//card_dam_5 (card_dam_5)
package {
import flash.display.*;
public dynamic class card_dam_5 extends MovieClip {
}
}//package
Section 62
//card_def_1 (card_def_1)
package {
import flash.display.*;
public dynamic class card_def_1 extends MovieClip {
}
}//package
Section 63
//card_def_2 (card_def_2)
package {
import flash.display.*;
public dynamic class card_def_2 extends MovieClip {
}
}//package
Section 64
//card_def_3 (card_def_3)
package {
import flash.display.*;
public dynamic class card_def_3 extends MovieClip {
}
}//package
Section 65
//card_def_4 (card_def_4)
package {
import flash.display.*;
public dynamic class card_def_4 extends MovieClip {
}
}//package
Section 66
//card_def_5 (card_def_5)
package {
import flash.display.*;
public dynamic class card_def_5 extends MovieClip {
}
}//package
Section 67
//card_empty (card_empty)
package {
import flash.display.*;
public dynamic class card_empty extends MovieClip {
}
}//package
Section 68
//card_Fade (card_Fade)
package {
import flash.display.*;
public dynamic class card_Fade extends MovieClip {
}
}//package
Section 69
//card_health (card_health)
package {
import flash.display.*;
public dynamic class card_health extends MovieClip {
}
}//package
Section 70
//card_luck (card_luck)
package {
import flash.display.*;
public dynamic class card_luck extends MovieClip {
}
}//package
Section 71
//card_money (card_money)
package {
import flash.display.*;
public dynamic class card_money extends MovieClip {
}
}//package
Section 72
//card_speed_1 (card_speed_1)
package {
import flash.display.*;
public dynamic class card_speed_1 extends MovieClip {
}
}//package
Section 73
//card_speed_2 (card_speed_2)
package {
import flash.display.*;
public dynamic class card_speed_2 extends MovieClip {
}
}//package
Section 74
//card_speed_3 (card_speed_3)
package {
import flash.display.*;
public dynamic class card_speed_3 extends MovieClip {
}
}//package
Section 75
//card_speed_4 (card_speed_4)
package {
import flash.display.*;
public dynamic class card_speed_4 extends MovieClip {
}
}//package
Section 76
//card_speed_5 (card_speed_5)
package {
import flash.display.*;
public dynamic class card_speed_5 extends MovieClip {
}
}//package
Section 77
//card_weapon (card_weapon)
package {
import flash.display.*;
public dynamic class card_weapon extends MovieClip {
}
}//package
Section 78
//card_wing1_1 (card_wing1_1)
package {
import flash.display.*;
public dynamic class card_wing1_1 extends MovieClip {
}
}//package
Section 79
//card_wing1_2 (card_wing1_2)
package {
import flash.display.*;
public dynamic class card_wing1_2 extends MovieClip {
}
}//package
Section 80
//card_wing1_3 (card_wing1_3)
package {
import flash.display.*;
public dynamic class card_wing1_3 extends MovieClip {
}
}//package
Section 81
//card_wing1_4 (card_wing1_4)
package {
import flash.display.*;
public dynamic class card_wing1_4 extends MovieClip {
}
}//package
Section 82
//card_wing1_5 (card_wing1_5)
package {
import flash.display.*;
public dynamic class card_wing1_5 extends MovieClip {
}
}//package
Section 83
//card_wing2_1 (card_wing2_1)
package {
import flash.display.*;
public dynamic class card_wing2_1 extends MovieClip {
}
}//package
Section 84
//card_wing2_2 (card_wing2_2)
package {
import flash.display.*;
public dynamic class card_wing2_2 extends MovieClip {
}
}//package
Section 85
//card_wing2_3 (card_wing2_3)
package {
import flash.display.*;
public dynamic class card_wing2_3 extends MovieClip {
}
}//package
Section 86
//card_wing2_4 (card_wing2_4)
package {
import flash.display.*;
public dynamic class card_wing2_4 extends MovieClip {
}
}//package
Section 87
//card_wing2_5 (card_wing2_5)
package {
import flash.display.*;
public dynamic class card_wing2_5 extends MovieClip {
}
}//package
Section 88
//cardmenu (cardmenu)
package {
import flash.display.*;
import flash.text.*;
public dynamic class cardmenu extends MovieClip {
public var hl:MovieClip;
public var buyTxt:TextField;
public var slot_1:card_empty;
public var slot_2:card_empty;
public var slot_3:card_empty;
public var slot_4:card_empty;
public var priceTxt:TextField;
public var moneyTxt:TextField;
public var goButton:SimpleButton;
public var detailsTxt:TextField;
}
}//package
Section 89
//controlmenu (controlmenu)
package {
import flash.display.*;
public dynamic class controlmenu extends MovieClip {
public var mouseButton:SimpleButton;
public var keyButton:SimpleButton;
public var bkButton:SimpleButton;
}
}//package
Section 90
//creditsmenu (creditsmenu)
package {
import flash.display.*;
public dynamic class creditsmenu extends MovieClip {
public var bkButton:SimpleButton;
}
}//package
Section 91
//eBul1_1 (eBul1_1)
package {
import flash.display.*;
public dynamic class eBul1_1 extends MovieClip {
}
}//package
Section 92
//eBul1_2 (eBul1_2)
package {
import flash.display.*;
public dynamic class eBul1_2 extends MovieClip {
}
}//package
Section 93
//eBul2_1 (eBul2_1)
package {
import flash.display.*;
public dynamic class eBul2_1 extends MovieClip {
}
}//package
Section 94
//eBul2_2 (eBul2_2)
package {
import flash.display.*;
public dynamic class eBul2_2 extends MovieClip {
}
}//package
Section 95
//enemy_L_1 (enemy_L_1)
package {
import flash.display.*;
public dynamic class enemy_L_1 extends MovieClip {
}
}//package
Section 96
//enemy_L_10 (enemy_L_10)
package {
import flash.display.*;
public dynamic class enemy_L_10 extends MovieClip {
}
}//package
Section 97
//enemy_L_11 (enemy_L_11)
package {
import flash.display.*;
public dynamic class enemy_L_11 extends MovieClip {
}
}//package
Section 98
//enemy_L_12 (enemy_L_12)
package {
import flash.display.*;
public dynamic class enemy_L_12 extends MovieClip {
}
}//package
Section 99
//enemy_L_13 (enemy_L_13)
package {
import flash.display.*;
public dynamic class enemy_L_13 extends MovieClip {
}
}//package
Section 100
//enemy_L_14 (enemy_L_14)
package {
import flash.display.*;
public dynamic class enemy_L_14 extends MovieClip {
}
}//package
Section 101
//enemy_L_15 (enemy_L_15)
package {
import flash.display.*;
public dynamic class enemy_L_15 extends MovieClip {
}
}//package
Section 102
//enemy_L_2 (enemy_L_2)
package {
import flash.display.*;
public dynamic class enemy_L_2 extends MovieClip {
}
}//package
Section 103
//enemy_L_3 (enemy_L_3)
package {
import flash.display.*;
public dynamic class enemy_L_3 extends MovieClip {
}
}//package
Section 104
//enemy_L_4 (enemy_L_4)
package {
import flash.display.*;
public dynamic class enemy_L_4 extends MovieClip {
}
}//package
Section 105
//enemy_L_5 (enemy_L_5)
package {
import flash.display.*;
public dynamic class enemy_L_5 extends MovieClip {
}
}//package
Section 106
//enemy_L_6 (enemy_L_6)
package {
import flash.display.*;
public dynamic class enemy_L_6 extends MovieClip {
}
}//package
Section 107
//enemy_L_7 (enemy_L_7)
package {
import flash.display.*;
public dynamic class enemy_L_7 extends MovieClip {
}
}//package
Section 108
//enemy_L_8 (enemy_L_8)
package {
import flash.display.*;
public dynamic class enemy_L_8 extends MovieClip {
}
}//package
Section 109
//enemy_L_9 (enemy_L_9)
package {
import flash.display.*;
public dynamic class enemy_L_9 extends MovieClip {
}
}//package
Section 110
//enemy_M_1 (enemy_M_1)
package {
import flash.display.*;
public dynamic class enemy_M_1 extends MovieClip {
}
}//package
Section 111
//enemy_M_10 (enemy_M_10)
package {
import flash.display.*;
public dynamic class enemy_M_10 extends MovieClip {
}
}//package
Section 112
//enemy_M_11 (enemy_M_11)
package {
import flash.display.*;
public dynamic class enemy_M_11 extends MovieClip {
}
}//package
Section 113
//enemy_M_12 (enemy_M_12)
package {
import flash.display.*;
public dynamic class enemy_M_12 extends MovieClip {
}
}//package
Section 114
//enemy_M_13 (enemy_M_13)
package {
import flash.display.*;
public dynamic class enemy_M_13 extends MovieClip {
}
}//package
Section 115
//enemy_M_14 (enemy_M_14)
package {
import flash.display.*;
public dynamic class enemy_M_14 extends MovieClip {
}
}//package
Section 116
//enemy_M_15 (enemy_M_15)
package {
import flash.display.*;
public dynamic class enemy_M_15 extends MovieClip {
}
}//package
Section 117
//enemy_M_2 (enemy_M_2)
package {
import flash.display.*;
public dynamic class enemy_M_2 extends MovieClip {
}
}//package
Section 118
//enemy_M_3 (enemy_M_3)
package {
import flash.display.*;
public dynamic class enemy_M_3 extends MovieClip {
}
}//package
Section 119
//enemy_M_4 (enemy_M_4)
package {
import flash.display.*;
public dynamic class enemy_M_4 extends MovieClip {
}
}//package
Section 120
//enemy_M_5 (enemy_M_5)
package {
import flash.display.*;
public dynamic class enemy_M_5 extends MovieClip {
}
}//package
Section 121
//enemy_M_6 (enemy_M_6)
package {
import flash.display.*;
public dynamic class enemy_M_6 extends MovieClip {
}
}//package
Section 122
//enemy_M_7 (enemy_M_7)
package {
import flash.display.*;
public dynamic class enemy_M_7 extends MovieClip {
}
}//package
Section 123
//enemy_M_8 (enemy_M_8)
package {
import flash.display.*;
public dynamic class enemy_M_8 extends MovieClip {
}
}//package
Section 124
//enemy_M_9 (enemy_M_9)
package {
import flash.display.*;
public dynamic class enemy_M_9 extends MovieClip {
}
}//package
Section 125
//enemy_S_1 (enemy_S_1)
package {
import flash.display.*;
public dynamic class enemy_S_1 extends MovieClip {
}
}//package
Section 126
//enemy_S_10 (enemy_S_10)
package {
import flash.display.*;
public dynamic class enemy_S_10 extends MovieClip {
}
}//package
Section 127
//enemy_S_11 (enemy_S_11)
package {
import flash.display.*;
public dynamic class enemy_S_11 extends MovieClip {
}
}//package
Section 128
//enemy_S_12 (enemy_S_12)
package {
import flash.display.*;
public dynamic class enemy_S_12 extends MovieClip {
}
}//package
Section 129
//enemy_S_13 (enemy_S_13)
package {
import flash.display.*;
public dynamic class enemy_S_13 extends MovieClip {
}
}//package
Section 130
//enemy_S_14 (enemy_S_14)
package {
import flash.display.*;
public dynamic class enemy_S_14 extends MovieClip {
}
}//package
Section 131
//enemy_S_15 (enemy_S_15)
package {
import flash.display.*;
public dynamic class enemy_S_15 extends MovieClip {
}
}//package
Section 132
//enemy_S_2 (enemy_S_2)
package {
import flash.display.*;
public dynamic class enemy_S_2 extends MovieClip {
}
}//package
Section 133
//enemy_S_3 (enemy_S_3)
package {
import flash.display.*;
public dynamic class enemy_S_3 extends MovieClip {
}
}//package
Section 134
//enemy_S_4 (enemy_S_4)
package {
import flash.display.*;
public dynamic class enemy_S_4 extends MovieClip {
}
}//package
Section 135
//enemy_S_5 (enemy_S_5)
package {
import flash.display.*;
public dynamic class enemy_S_5 extends MovieClip {
}
}//package
Section 136
//enemy_S_6 (enemy_S_6)
package {
import flash.display.*;
public dynamic class enemy_S_6 extends MovieClip {
}
}//package
Section 137
//enemy_S_7 (enemy_S_7)
package {
import flash.display.*;
public dynamic class enemy_S_7 extends MovieClip {
}
}//package
Section 138
//enemy_S_8 (enemy_S_8)
package {
import flash.display.*;
public dynamic class enemy_S_8 extends MovieClip {
}
}//package
Section 139
//enemy_S_9 (enemy_S_9)
package {
import flash.display.*;
public dynamic class enemy_S_9 extends MovieClip {
}
}//package
Section 140
//enemy_T_1 (enemy_T_1)
package {
import flash.display.*;
public dynamic class enemy_T_1 extends MovieClip {
}
}//package
Section 141
//enemy_T_10 (enemy_T_10)
package {
import flash.display.*;
public dynamic class enemy_T_10 extends MovieClip {
}
}//package
Section 142
//enemy_T_2 (enemy_T_2)
package {
import flash.display.*;
public dynamic class enemy_T_2 extends MovieClip {
}
}//package
Section 143
//enemy_T_3 (enemy_T_3)
package {
import flash.display.*;
public dynamic class enemy_T_3 extends MovieClip {
}
}//package
Section 144
//enemy_T_4 (enemy_T_4)
package {
import flash.display.*;
public dynamic class enemy_T_4 extends MovieClip {
}
}//package
Section 145
//enemy_T_5 (enemy_T_5)
package {
import flash.display.*;
public dynamic class enemy_T_5 extends MovieClip {
}
}//package
Section 146
//enemy_T_6 (enemy_T_6)
package {
import flash.display.*;
public dynamic class enemy_T_6 extends MovieClip {
}
}//package
Section 147
//enemy_T_7 (enemy_T_7)
package {
import flash.display.*;
public dynamic class enemy_T_7 extends MovieClip {
}
}//package
Section 148
//enemy_T_8 (enemy_T_8)
package {
import flash.display.*;
public dynamic class enemy_T_8 extends MovieClip {
}
}//package
Section 149
//enemy_T_9 (enemy_T_9)
package {
import flash.display.*;
public dynamic class enemy_T_9 extends MovieClip {
}
}//package
Section 150
//explode_2 (explode_2)
package {
import flash.display.*;
public dynamic class explode_2 extends MovieClip {
public function explode_2(){
addFrameScript(14, frame15);
}
function frame15(){
stop();
}
}
}//package
Section 151
//explode_3 (explode_3)
package {
import flash.display.*;
public dynamic class explode_3 extends MovieClip {
public function explode_3(){
addFrameScript(10, frame11);
}
function frame11(){
stop();
}
}
}//package
Section 152
//flash_1 (flash_1)
package {
import flash.display.*;
public dynamic class flash_1 extends MovieClip {
}
}//package
Section 153
//flash_2 (flash_2)
package {
import flash.display.*;
public dynamic class flash_2 extends MovieClip {
}
}//package
Section 154
//flash_3 (flash_3)
package {
import flash.display.*;
public dynamic class flash_3 extends MovieClip {
}
}//package
Section 155
//flash_4 (flash_4)
package {
import flash.display.*;
public dynamic class flash_4 extends MovieClip {
}
}//package
Section 156
//flash_5 (flash_5)
package {
import flash.display.*;
public dynamic class flash_5 extends MovieClip {
}
}//package
Section 157
//flash_6 (flash_6)
package {
import flash.display.*;
public dynamic class flash_6 extends MovieClip {
}
}//package
Section 158
//flash_7 (flash_7)
package {
import flash.display.*;
public dynamic class flash_7 extends MovieClip {
}
}//package
Section 159
//focusRectSkin (focusRectSkin)
package {
import flash.display.*;
public dynamic class focusRectSkin extends MovieClip {
}
}//package
Section 160
//gameovermenu (gameovermenu)
package {
import flash.display.*;
import flash.text.*;
public dynamic class gameovermenu extends MovieClip {
public var hsOutput:TextField;
public var viewButton:SimpleButton;
public var submitButton:SimpleButton;
public var scoreTxt:TextField;
public var bkButton:SimpleButton;
public var nameTxt:TextField;
public var moreButton:SimpleButton;
public var titleTxt:TextField;
}
}//package
Section 161
//greenBonus (greenBonus)
package {
import flash.display.*;
public dynamic class greenBonus extends MovieClip {
}
}//package
Section 162
//greenShield (greenShield)
package {
import flash.display.*;
public dynamic class greenShield extends MovieClip {
}
}//package
Section 163
//healthBonus (healthBonus)
package {
import flash.display.*;
public dynamic class healthBonus extends MovieClip {
}
}//package
Section 164
//howtomenu (howtomenu)
package {
import flash.display.*;
public dynamic class howtomenu extends MovieClip {
public var conButton:SimpleButton;
}
}//package
Section 165
//hud (hud)
package {
import flash.display.*;
import flash.text.*;
public dynamic class hud extends MovieClip {
public var slow:MovieClip;
public var lives:MovieClip;
public var bonus:MovieClip;
public var mouseHere:MovieClip;
public var spaceBegin:MovieClip;
public var Border:MovieClip;
public var health:MovieClip;
public var addren:MovieClip;
public var boss:MovieClip;
public var bonusLogo:MovieClip;
public var endScore:MovieClip;
public var scoreM:TextField;
public var powerUp:MovieClip;
public var scoreTxt:TextField;
public var warning:MovieClip;
public var addGlow:MovieClip;
public var fpsTxt:TextField;
public var logo1:MovieClip;
public var logo3:MovieClip;
public var logo4:MovieClip;
public var logo2:MovieClip;
}
}//package
Section 166
//introFlash (introFlash)
package {
import flash.display.*;
public dynamic class introFlash extends MovieClip {
public function introFlash(){
addFrameScript(14, frame15);
}
function frame15(){
stop();
parent.removeChild(this);
}
}
}//package
Section 167
//intromenu (intromenu)
package {
import flash.display.*;
public dynamic class intromenu extends MovieClip {
public var introClip:MovieClip;
}
}//package
Section 168
//Key (Key)
package {
import flash.display.*;
import flash.events.*;
public class Key {
private static var initialized:Boolean = false;
private static var keysDown:Object = new Object();
public static function initialize(_arg1:Stage){
if (!initialized){
_arg1.addEventListener(KeyboardEvent.KEY_DOWN, keyPressed);
_arg1.addEventListener(KeyboardEvent.KEY_UP, keyReleased);
_arg1.addEventListener(Event.DEACTIVATE, clearKeys);
initialized = true;
};
}
private static function clearKeys(_arg1:Event):void{
keysDown = new Object();
}
public static function isDown(_arg1:uint):Boolean{
if (!initialized){
throw (new Error("Key class has yet been initialized."));
};
return (Boolean((_arg1 in keysDown)));
}
private static function keyPressed(_arg1:KeyboardEvent):void{
keysDown[_arg1.keyCode] = true;
}
private static function keyReleased(_arg1:KeyboardEvent):void{
if ((_arg1.keyCode in keysDown)){
delete keysDown[_arg1.keyCode];
};
}
}
}//package
Section 169
//m_Boss (m_Boss)
package {
import flash.media.*;
public dynamic class m_Boss extends Sound {
}
}//package
Section 170
//m_End (m_End)
package {
import flash.media.*;
public dynamic class m_End extends Sound {
}
}//package
Section 171
//m_Game (m_Game)
package {
import flash.media.*;
public dynamic class m_Game extends Sound {
}
}//package
Section 172
//m_Menu (m_Menu)
package {
import flash.media.*;
public dynamic class m_Menu extends Sound {
}
}//package
Section 173
//mainmenu (mainmenu)
package {
import flash.display.*;
public dynamic class mainmenu extends MovieClip {
public var startButton:SimpleButton;
public var viewButton:SimpleButton;
public var optionsButton:SimpleButton;
public var scoresButton:SimpleButton;
public var moreButton:SimpleButton;
}
}//package
Section 174
//menuBg (menuBg)
package {
import flash.display.*;
public dynamic class menuBg extends MovieClip {
}
}//package
Section 175
//MochiBot (MochiBot)
package {
import flash.display.*;
import flash.net.*;
import flash.system.*;
public dynamic class MochiBot extends Sprite {
public static function track(_arg1:Sprite, _arg2:String):MochiBot{
var _local3:MochiBot;
var _local4:String;
var _local5:URLVariables;
var _local6:String;
var _local7:URLRequest;
var _local8:Loader;
if (Security.sandboxType == "localWithFile"){
return (null);
};
_local3 = new (MochiBot);
_arg1.addChild(_local3);
Security.allowDomain("*");
Security.allowInsecureDomain("*");
_local4 = "http://core.mochibot.com/my/core.swf";
_local5 = new URLVariables();
_local5["sb"] = Security.sandboxType;
_local5["v"] = Capabilities.version;
_local5["swfid"] = _arg2;
_local5["mv"] = "8";
_local5["fv"] = "9";
_local6 = _local3.root.loaderInfo.loaderURL;
if (_local6.indexOf("http") == 0){
_local5["url"] = _local6;
} else {
_local5["url"] = "local";
};
_local7 = new URLRequest(_local4);
_local7.contentType = "application/x-www-form-urlencoded";
_local7.method = URLRequestMethod.POST;
_local7.data = _local5;
_local8 = new Loader();
_local3.addChild(_local8);
_local8.load(_local7);
return (_local3);
}
}
}//package
Section 176
//moneyBonus (moneyBonus)
package {
import flash.display.*;
public dynamic class moneyBonus extends MovieClip {
}
}//package
Section 177
//optionsmenu (optionsmenu)
package {
import fl.controls.*;
import flash.display.*;
import flash.text.*;
public dynamic class optionsmenu extends MovieClip {
public var qText:TextField;
public var offButton:SimpleButton;
public var qSlider:Slider;
public var bkButton:SimpleButton;
public var onButton:SimpleButton;
public function optionsmenu(){
__setProp_qSlider_optionsmenu_Buttons_1();
}
function __setProp_qSlider_optionsmenu_Buttons_1(){
try {
qSlider["componentInspectorSetting"] = true;
} catch(e:Error) {
};
qSlider.direction = "horizontal";
qSlider.enabled = true;
qSlider.liveDragging = true;
qSlider.maximum = 3;
qSlider.minimum = 1;
qSlider.snapInterval = 1;
qSlider.tickInterval = 0;
qSlider.value = 2;
qSlider.visible = true;
try {
qSlider["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 178
//pausemenu (pausemenu)
package {
import flash.display.*;
public dynamic class pausemenu extends MovieClip {
public var quitButton:SimpleButton;
}
}//package
Section 179
//pBul_j1_1 (pBul_j1_1)
package {
import flash.display.*;
public dynamic class pBul_j1_1 extends MovieClip {
}
}//package
Section 180
//pBul_j1_2 (pBul_j1_2)
package {
import flash.display.*;
public dynamic class pBul_j1_2 extends MovieClip {
}
}//package
Section 181
//pBul_j1_3 (pBul_j1_3)
package {
import flash.display.*;
public dynamic class pBul_j1_3 extends MovieClip {
}
}//package
Section 182
//pBul_j1_4 (pBul_j1_4)
package {
import flash.display.*;
public dynamic class pBul_j1_4 extends MovieClip {
}
}//package
Section 183
//pBul_j1_5 (pBul_j1_5)
package {
import flash.display.*;
public dynamic class pBul_j1_5 extends MovieClip {
}
}//package
Section 184
//pBul_j1_6 (pBul_j1_6)
package {
import flash.display.*;
public dynamic class pBul_j1_6 extends MovieClip {
}
}//package
Section 185
//pBul_j2_1 (pBul_j2_1)
package {
import flash.display.*;
public dynamic class pBul_j2_1 extends MovieClip {
}
}//package
Section 186
//pBul_j2_2 (pBul_j2_2)
package {
import flash.display.*;
public dynamic class pBul_j2_2 extends MovieClip {
}
}//package
Section 187
//pBul_j2_3 (pBul_j2_3)
package {
import flash.display.*;
public dynamic class pBul_j2_3 extends MovieClip {
}
}//package
Section 188
//pBul_j2_4 (pBul_j2_4)
package {
import flash.display.*;
public dynamic class pBul_j2_4 extends MovieClip {
}
}//package
Section 189
//pBul_j2_5 (pBul_j2_5)
package {
import flash.display.*;
public dynamic class pBul_j2_5 extends MovieClip {
}
}//package
Section 190
//pBul_j2_6 (pBul_j2_6)
package {
import flash.display.*;
public dynamic class pBul_j2_6 extends MovieClip {
}
}//package
Section 191
//pBul_o1_1 (pBul_o1_1)
package {
import flash.display.*;
public dynamic class pBul_o1_1 extends MovieClip {
}
}//package
Section 192
//pBul_o1_2 (pBul_o1_2)
package {
import flash.display.*;
public dynamic class pBul_o1_2 extends MovieClip {
}
}//package
Section 193
//pBul_o1_3 (pBul_o1_3)
package {
import flash.display.*;
public dynamic class pBul_o1_3 extends MovieClip {
}
}//package
Section 194
//pBul_o1_4 (pBul_o1_4)
package {
import flash.display.*;
public dynamic class pBul_o1_4 extends MovieClip {
}
}//package
Section 195
//pBul_o1_5 (pBul_o1_5)
package {
import flash.display.*;
public dynamic class pBul_o1_5 extends MovieClip {
}
}//package
Section 196
//pBul_o1_6 (pBul_o1_6)
package {
import flash.display.*;
public dynamic class pBul_o1_6 extends MovieClip {
}
}//package
Section 197
//pBul_o2_1 (pBul_o2_1)
package {
import flash.display.*;
public dynamic class pBul_o2_1 extends MovieClip {
}
}//package
Section 198
//pBul_o2_2 (pBul_o2_2)
package {
import flash.display.*;
public dynamic class pBul_o2_2 extends MovieClip {
}
}//package
Section 199
//pBul_o2_3 (pBul_o2_3)
package {
import flash.display.*;
public dynamic class pBul_o2_3 extends MovieClip {
}
}//package
Section 200
//pBul_o2_4 (pBul_o2_4)
package {
import flash.display.*;
public dynamic class pBul_o2_4 extends MovieClip {
}
}//package
Section 201
//pBul_o2_5 (pBul_o2_5)
package {
import flash.display.*;
public dynamic class pBul_o2_5 extends MovieClip {
}
}//package
Section 202
//pBul_o2_6 (pBul_o2_6)
package {
import flash.display.*;
public dynamic class pBul_o2_6 extends MovieClip {
}
}//package
Section 203
//pBul_t1_1 (pBul_t1_1)
package {
import flash.display.*;
public dynamic class pBul_t1_1 extends MovieClip {
}
}//package
Section 204
//pBul_t1_2 (pBul_t1_2)
package {
import flash.display.*;
public dynamic class pBul_t1_2 extends MovieClip {
}
}//package
Section 205
//pBul_t1_3 (pBul_t1_3)
package {
import flash.display.*;
public dynamic class pBul_t1_3 extends MovieClip {
}
}//package
Section 206
//pBul_t1_4 (pBul_t1_4)
package {
import flash.display.*;
public dynamic class pBul_t1_4 extends MovieClip {
}
}//package
Section 207
//pBul_t1_5 (pBul_t1_5)
package {
import flash.display.*;
public dynamic class pBul_t1_5 extends MovieClip {
}
}//package
Section 208
//pBul_t1_6 (pBul_t1_6)
package {
import flash.display.*;
public dynamic class pBul_t1_6 extends MovieClip {
}
}//package
Section 209
//pBul_t2_1 (pBul_t2_1)
package {
import flash.display.*;
public dynamic class pBul_t2_1 extends MovieClip {
}
}//package
Section 210
//pBul_t2_2 (pBul_t2_2)
package {
import flash.display.*;
public dynamic class pBul_t2_2 extends MovieClip {
}
}//package
Section 211
//pBul_t2_3 (pBul_t2_3)
package {
import flash.display.*;
public dynamic class pBul_t2_3 extends MovieClip {
}
}//package
Section 212
//pBul_t2_4 (pBul_t2_4)
package {
import flash.display.*;
public dynamic class pBul_t2_4 extends MovieClip {
}
}//package
Section 213
//pBul_t2_5 (pBul_t2_5)
package {
import flash.display.*;
public dynamic class pBul_t2_5 extends MovieClip {
}
}//package
Section 214
//pBul_t2_6 (pBul_t2_6)
package {
import flash.display.*;
public dynamic class pBul_t2_6 extends MovieClip {
}
}//package
Section 215
//playerJag (playerJag)
package {
import flash.display.*;
public dynamic class playerJag extends MovieClip {
}
}//package
Section 216
//playerOrg (playerOrg)
package {
import flash.display.*;
public dynamic class playerOrg extends MovieClip {
}
}//package
Section 217
//playerTec (playerTec)
package {
import flash.display.*;
public dynamic class playerTec extends MovieClip {
}
}//package
Section 218
//polyLinkButton (polyLinkButton)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class polyLinkButton extends MovieClip {
public var webby:URLRequest;
public var linkButton:SimpleButton;
public function polyLinkButton(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
webby = new URLRequest("http://www.polymerrabbit.com");
linkButton.addEventListener(MouseEvent.CLICK, linkClick);
}
public function linkClick(_arg1:MouseEvent):void{
navigateToURL(webby, "_blank");
}
}
}//package
Section 219
//reboundBullet (reboundBullet)
package {
import flash.display.*;
public dynamic class reboundBullet extends MovieClip {
}
}//package
Section 220
//reboundBulletBig (reboundBulletBig)
package {
import flash.display.*;
public dynamic class reboundBulletBig extends MovieClip {
}
}//package
Section 221
//redBonus (redBonus)
package {
import flash.display.*;
public dynamic class redBonus extends MovieClip {
}
}//package
Section 222
//redShield (redShield)
package {
import flash.display.*;
public dynamic class redShield extends MovieClip {
}
}//package
Section 223
//rocket1 (rocket1)
package {
import flash.display.*;
public dynamic class rocket1 extends MovieClip {
}
}//package
Section 224
//s_Beam (s_Beam)
package {
import flash.media.*;
public dynamic class s_Beam extends Sound {
}
}//package
Section 225
//s_Boom (s_Boom)
package {
import flash.media.*;
public dynamic class s_Boom extends Sound {
}
}//package
Section 226
//s_Button (s_Button)
package {
import flash.media.*;
public dynamic class s_Button extends Sound {
}
}//package
Section 227
//s_Coin (s_Coin)
package {
import flash.media.*;
public dynamic class s_Coin extends Sound {
}
}//package
Section 228
//s_eHit (s_eHit)
package {
import flash.media.*;
public dynamic class s_eHit extends Sound {
}
}//package
Section 229
//s_eShoot (s_eShoot)
package {
import flash.media.*;
public dynamic class s_eShoot extends Sound {
}
}//package
Section 230
//s_Gun (s_Gun)
package {
import flash.media.*;
public dynamic class s_Gun extends Sound {
}
}//package
Section 231
//s_Hp (s_Hp)
package {
import flash.media.*;
public dynamic class s_Hp extends Sound {
}
}//package
Section 232
//s_Pause (s_Pause)
package {
import flash.media.*;
public dynamic class s_Pause extends Sound {
}
}//package
Section 233
//s_pHit (s_pHit)
package {
import flash.media.*;
public dynamic class s_pHit extends Sound {
}
}//package
Section 234
//s_powerDown (s_powerDown)
package {
import flash.media.*;
public dynamic class s_powerDown extends Sound {
}
}//package
Section 235
//s_powerUp (s_powerUp)
package {
import flash.media.*;
public dynamic class s_powerUp extends Sound {
}
}//package
Section 236
//s_rebound (s_rebound)
package {
import flash.media.*;
public dynamic class s_rebound extends Sound {
}
}//package
Section 237
//scoresmenu (scoresmenu)
package {
import flash.display.*;
public dynamic class scoresmenu extends MovieClip {
public var viewButton:SimpleButton;
public var bkButton:SimpleButton;
}
}//package
Section 238
//sheildCol_1 (sheildCol_1)
package {
import flash.display.*;
public dynamic class sheildCol_1 extends MovieClip {
}
}//package
Section 239
//sheildCol_2 (sheildCol_2)
package {
import flash.display.*;
public dynamic class sheildCol_2 extends MovieClip {
}
}//package
Section 240
//sheildCol_3 (sheildCol_3)
package {
import flash.display.*;
public dynamic class sheildCol_3 extends MovieClip {
}
}//package
Section 241
//shine_1 (shine_1)
package {
import flash.display.*;
public dynamic class shine_1 extends MovieClip {
}
}//package
Section 242
//shipmenu (shipmenu)
package {
import flash.display.*;
public dynamic class shipmenu extends MovieClip {
public var ship1Button:SimpleButton;
public var ship2Button:SimpleButton;
public var ship3Button:SimpleButton;
public var bkButton:SimpleButton;
}
}//package
Section 243
//SliderThumb_disabledSkin (SliderThumb_disabledSkin)
package {
import flash.display.*;
public dynamic class SliderThumb_disabledSkin extends MovieClip {
}
}//package
Section 244
//SliderThumb_downSkin (SliderThumb_downSkin)
package {
import flash.display.*;
public dynamic class SliderThumb_downSkin extends MovieClip {
}
}//package
Section 245
//SliderThumb_overSkin (SliderThumb_overSkin)
package {
import flash.display.*;
public dynamic class SliderThumb_overSkin extends MovieClip {
}
}//package
Section 246
//SliderThumb_upSkin (SliderThumb_upSkin)
package {
import flash.display.*;
public dynamic class SliderThumb_upSkin extends MovieClip {
}
}//package
Section 247
//SliderTick_skin (SliderTick_skin)
package {
import flash.display.*;
public dynamic class SliderTick_skin extends MovieClip {
}
}//package
Section 248
//SliderTrack_disabledSkin (SliderTrack_disabledSkin)
package {
import flash.display.*;
public dynamic class SliderTrack_disabledSkin extends MovieClip {
}
}//package
Section 249
//SliderTrack_skin (SliderTrack_skin)
package {
import flash.display.*;
public dynamic class SliderTrack_skin extends MovieClip {
}
}//package
Section 250
//slowBonus (slowBonus)
package {
import flash.display.*;
public dynamic class slowBonus extends MovieClip {
}
}//package
Section 251
//smoke_1 (smoke_1)
package {
import flash.display.*;
public dynamic class smoke_1 extends MovieClip {
}
}//package
Section 252
//testStar (testStar)
package {
import flash.display.*;
public dynamic class testStar extends MovieClip {
}
}//package
Section 253
//weaponBonus (weaponBonus)
package {
import flash.display.*;
public dynamic class weaponBonus extends MovieClip {
}
}//package
Section 254
//wingLaser (wingLaser)
package {
import flash.display.*;
public dynamic class wingLaser extends MovieClip {
}
}//package
Section 255
//wingRocket (wingRocket)
package {
import flash.display.*;
public dynamic class wingRocket extends MovieClip {
}
}//package