Frame 1
((Ytfofuorsmhfny = function (_arg2, _arg3) {
this.Yxnlhxinwnepnu = _arg2;
this.Yggzwskiedrdyt(_arg3);
this.Yhwnvrmvywbpvx = false;
})).__name__ = ["Ytfofuorsmhfny"];
var _local1 = Ytfofuorsmhfny /*register */.prototype;
_local1.__class__ = Ytfofuorsmhfny /*register */;
_local1.Yevnfhycexmyac = function () {
this.Ymgosmqheoqtsf();
this.Yhwnvrmvywbpvx = true;
};
_local1.Yggzwskiedrdyt = function (_arg2) {
this.Ywkbuhqiuwwmde = null;
this.Ywkbuhqiuwwmde = new flash.Sound(_arg2);
this.Ywkbuhqiuwwmde.attachSound(this.Yxnlhxinwnepnu);
};
_local1.Yhwnvrmvywbpvx = null;
_local1.Ymgosmqheoqtsf = function () {
this.Ywkbuhqiuwwmde.stop(this.Yxnlhxinwnepnu);
};
_local1.Ymileuduiedysw = function () {
this.Ywkbuhqiuwwmde.stop();
};
_local1.Ysdrxikpmwjcze = function (_arg2) {
if (this.Yhwnvrmvywbpvx) {
return(undefined);
}
this.Ywkbuhqiuwwmde.start(_arg2);
};
_local1.Ytyoqcvhvmeslx = function (_arg2) {
if (this.Yhwnvrmvywbpvx) {
return(undefined);
}
this.Ywkbuhqiuwwmde.start(0, _arg2);
};
_local1.Yuqdgezltuxeip = function (_arg2) {
this.Ywkbuhqiuwwmde.setVolume(_arg2 * 100);
};
_local1.Yvntmyscipxwgi = function () {
this.Yhwnvrmvywbpvx = false;
};
_local1.Ywkbuhqiuwwmde = null;
_local1.Ywtvlhnuyjjsmb = function () {
this.Ywkbuhqiuwwmde.stop();
this.Ywkbuhqiuwwmde = null;
};
_local1.Yxnlhxinwnepnu = null;
_local1 = new Object();
flash = _local1;
var _local2 = _global.flash;
for (_reg0 in _local2) {
_local1[_reg0] = _local2[_reg0];
}
_local1 = new Object();
flash.display = _local1;
_local2 = _global.flash.display;
for (_reg0 in _local2) {
_local1[_reg0] = _local2[_reg0];
}
((flash.Boot = function () {
})).__name__ = ["flash", "Boot"];
_local1 = (flash.Boot /* register */).prototype;
_local1.__class__ = flash.Boot /* register */;
(flash.Boot /* register */).__string_rec = function (_arg2, _arg3) {
if (_arg3.length >= 20) {
return("<...>");
}
var _local4 = typeof(_arg2);
if (_local4 != "movieclip") {
if ((_local4 == "function") && ((_arg2.__name__ != null) || (_arg2.__ename__ != null))) {
_local4 = "object";
}
} else {
_local4 = "object";
}
var _local5 = _local4;
if (_local5 != "object") {
if (_local5 != "function") {
if (_local5 != "string") {
return(String(_arg2));
if (_arg2 instanceof Array) {
if (_arg2.__enum__ != null) {
if (_arg2.length == 1) {
return(_arg2[0]);
}
var _local6 = _arg2[0] + "(";
_arg3 = _arg3 + " ";
var _local7 = 1;
var _local8 = _arg2.length;
while (_local7 < _local8) {
var _local9 = _local7;
_local7++;
if (_local9 == 1) {
_local6 = _local6 + flash.Boot.__string_rec(_arg2[_local9], _arg3);
} else {
_local6 = _local6 + ("," + flash.Boot.__string_rec(_arg2[_local9], _arg3));
}
}
return(_local6 + ")");
}
var _local6 = _arg2.length;
var _local8 = "[";
_arg3 = _arg3 + " ";
var _local9 = 0;
var _local10 = _local6;
while (_local9 < _local10) {
var _local11 = _local9;
_local9++;
_local8 = _local8 + (((_local11 > 0) ? "," : "") + flash.Boot.__string_rec(_arg2[_local11], _arg3));
}
_local8 = _local8 + "]";
return(_local8);
}
var _local6 = _arg2.toString();
if (((typeof(_local6) == "string") || (_local6 instanceof String)) && ((_local6 != "[object Object]") && (_local6 != "[type Function]"))) {
return(_local6);
}
var _local8 = "{\n";
if (typeof(_arg2) == "movieclip") {
_local8 = (("MC(" + _arg2._name) + ") ") + _local8;
}
_arg3 = _arg3 + " ";
var _local9 = new Array();
for (_reg0 in _arg2) {
_local9.push(_reg0);
}
_local9 = _local9.iterator();
while (_local9.hasNext()) {
var _local10 = _local9.next();
if ((_local10 == "prototype") || ((_local10 == "__class__") || ((_local10 == "__super__") || (_local10 == "__interfaces__")))) {
continue;
}
if (_local8.length != 2) {
_local8 = _local8 + ",\n";
}
_local8 = _local8 + (((_arg3 + _local10) + " : ") + flash.Boot.__string_rec(_arg2[_local10], _arg3));
}
_arg3 = _arg3.substring(4);
if (_local8.length != 2) {
_local8 = _local8 + newline;
}
_local8 = _local8 + (_arg3 + "}");
return(_local8);
return("<function>");
}
}
}
if (_arg2 instanceof Array) {
if (_arg2.__enum__ != null) {
if (_arg2.length == 1) {
return(_arg2[0]);
}
var _local6 = _arg2[0] + "(";
_arg3 = _arg3 + " ";
var _local7 = 1;
var _local8 = _arg2.length;
while (_local7 < _local8) {
var _local9 = _local7;
_local7++;
if (_local9 == 1) {
_local6 = _local6 + flash.Boot.__string_rec(_arg2[_local9], _arg3);
} else {
_local6 = _local6 + ("," + flash.Boot.__string_rec(_arg2[_local9], _arg3));
}
}
return(_local6 + ")");
}
var _local6 = _arg2.length;
var _local8 = "[";
_arg3 = _arg3 + " ";
var _local9 = 0;
var _local10 = _local6;
while (_local9 < _local10) {
var _local11 = _local9;
_local9++;
_local8 = _local8 + (((_local11 > 0) ? "," : "") + flash.Boot.__string_rec(_arg2[_local11], _arg3));
}
_local8 = _local8 + "]";
return(_local8);
}
var _local6 = _arg2.toString();
if (((typeof(_local6) == "string") || (_local6 instanceof String)) && ((_local6 != "[object Object]") && (_local6 != "[type Function]"))) {
return(_local6);
}
var _local8 = "{\n";
if (typeof(_arg2) == "movieclip") {
_local8 = (("MC(" + _arg2._name) + ") ") + _local8;
}
_arg3 = _arg3 + " ";
var _local9 = new Array();
for (_reg0 in _arg2) {
_local9.push(_reg0);
}
_local9 = _local9.iterator();
while (_local9.hasNext()) {
var _local10 = _local9.next();
if ((_local10 == "prototype") || ((_local10 == "__class__") || ((_local10 == "__super__") || (_local10 == "__interfaces__")))) {
continue;
}
if (_local8.length != 2) {
_local8 = _local8 + ",\n";
}
_local8 = _local8 + (((_arg3 + _local10) + " : ") + flash.Boot.__string_rec(_arg2[_local10], _arg3));
}
_arg3 = _arg3.substring(4);
if (_local8.length != 2) {
_local8 = _local8 + newline;
}
_local8 = _local8 + (_arg3 + "}");
return(_local8);
return("<function>");
return(_arg2);
};
(flash.Boot /* register */).__closure = function (_arg2, _arg3) {
var _local4 = _arg3[_arg2];
if (_local4 == null) {
return(null);
}
var _local5 = function () {
var _local2 = arguments.callee;
return(_local2.f.apply(_local2.o, arguments));
};
_local5.f = _local4;
_local5.o = _arg3;
return(_local5);
};
(flash.Boot /* register */).__instanceof = function (_arg2, _arg3) {
if (!_arg3) {
return(false);
}
if (_arg2 instanceof _arg3) {
if (_arg3 == Array) {
return(_arg2.__enum__ == null);
}
return(true);
}
var _local4 = _arg3;
if (_local4 != Int) {
if (_local4 != Float) {
if (_local4 != Bool) {
if (_local4 != String) {
if (_local4 != Dynamic) {
if (_arg2.__enum__ == _arg3) {
return(true);
}
return(false);
return((Math.ceil(_arg2) === _arg2) && (isFinite(_arg2) && ((!(_arg2 === true)) && (!(_arg2 === false)))));
return(typeof(_arg2) == "number");
return((_arg2 === true) || (_arg2 === false));
return(typeof(_arg2) == "string");
}
}
}
}
}
return((Math.ceil(_arg2) === _arg2) && (isFinite(_arg2) && ((!(_arg2 === true)) && (!(_arg2 === false)))));
return(typeof(_arg2) == "number");
return((_arg2 === true) || (_arg2 === false));
return(typeof(_arg2) == "string");
return(true);
};
(flash.Boot /* register */).getTrace = function () {
var _local2 = flash.Lib.current;
var _local3 = _local2.__trace_txt;
if (_local3 == null) {
_local2.createTextField("__trace_txt", 1048500, 0, 0, flash.Stage.width, flash.Stage.height + 30);
_local3 = _local2.__trace_txt;
_local3.selectable = false;
_local2.__trace_lines = new Array();
}
return(_local3);
};
(flash.Boot /* register */).__set_trace_color = function (_arg2) {
flash.Boot.getTrace().textColor = _arg2;
};
(flash.Boot /* register */).__trace = function (_arg2, _arg3) {
var _local4 = flash.Lib.current;
var _local5 = flash.Boot.getTrace();
var _local6 = ((_arg3.fileName + ((_arg3.lineNumber == null) ? "" : (":" + _arg3.lineNumber))) + ": ") + flash.Boot.__string_rec(_arg2, "");
var _local7 = _local4.__trace_lines.concat(_local6.split(newline));
_local5.text = _local7.join(newline);
while (_local5.textHeight > flash.Stage.height) {
_local7.shift();
_local5.text = _local7.join(newline);
}
_local4.__trace_lines = _local7;
};
(flash.Boot /* register */).__exc = function (_arg2) {
var _local3 = "";
if (@closure("onerror", flash.Lib) == null) {
flash.Boot.__trace(flash.Boot.__string_rec(_arg2, "") + _local3, {fileName:"(uncaught exception)"});
} else {
flash.Lib.onerror(flash.Boot.__string_rec(_arg2, ""), []);
}
};
(flash.Boot /* register */).__clear_trace = function () {
var _local2 = flash.Lib.current;
_local2.__trace_txt.removeTextField();
_local2.__trace_lines = null;
};
(flash.Boot /* register */).__init = function (_arg2) {
var _local3 = _global;
if (!_local3.haxeInitDone) {
var _local4 = _global.Object;
_local3.haxeInitDone = true;
_local3.Int = new _local4[undefined]();
_local3.Bool = new _local4[undefined]();
_local3.Dynamic = new _local4[undefined]();
_local3.Bool = new _local4[undefined]();
_local3.Bool.true = true;
_local3.Bool.false = false;
_local3.Float = _global.Number;
Array.prototype.copy = Array.prototype.slice;
Array.prototype.insert = function (_arg2, _arg3) {
this.splice(_arg2, 0, _arg3);
};
Array.prototype.remove = function (_arg2) {
var _local3 = 0;
var _local4 = this.length;
while (_local3 < _local4) {
if (this[_local3] == _arg2) {
this.splice(_local3, 1);
return(true);
}
_local3++;
}
return(false);
};
Array.prototype.iterator = function () {
return({next:function () {
return(this.arr[this.cur++]);
}, hasNext:function () {
return(this.cur < this.arr.length);
}, arr:this, cur:0});
};
Array.prototype.__class__ = Array;
Array.__name__ = ["Array"];
String.prototype.__class__ = String;
String.__name__ = ["String"];
var cca = String.prototype.charCodeAt;
String.prototype.charCodeAt = function (_arg2) {
var _local3 = cca.call(this, _arg2);
if (_local3 <= 0) {
return(null);
}
return(_local3);
};
if (_global.flash == null) {
_global.flash = new _local4[undefined]();
}
}
_arg2.flash.Lib._global = _global;
_arg2.flash.Lib._root = _root;
_arg2.flash.Lib.current = _arg2;
_arg2["@instanceof"] = flash.Boot.__instanceof;
_arg2["@closure"] = flash.Boot.__closure;
if (_global.Stage.align == "") {
_global.Stage.align = "LT";
}
};
_local1 = new Object();
flash.text = _local1;
_local2 = _global.flash.text;
for (_reg0 in _local2) {
_local1[_reg0] = _local2[_reg0];
}
((StringBuf = function () {
this.b = "";
})).__name__ = ["StringBuf"];
_local1 = StringBuf /*register */.prototype;
_local1.__class__ = StringBuf /*register */;
_local1.add = function (_arg2) {
this.b = this.b + flash.Boot.__string_rec(_arg2, "");
};
_local1.addChar = function (_arg2) {
this.b = this.b + String.fromCharCode(_arg2);
};
_local1.addSub = function (_arg2, _arg3, _arg4) {
this.b = this.b + _arg2.substr(_arg3, _arg4);
};
_local1.b = null;
_local1.toString = function () {
return(this.b);
};
((Ybhakqrkdfqevy = function () {
this.Ymozpxvyzzbncx = 0;
this.Yexfnwbnfnuijz = false;
this.Yadarzznwlljup = false;
this.Yayiuxyfnlfpxd = 0;
this.Ytmyudctjogkib = 0;
this.Ygmvvldzlawjyq = 0;
this.Ydfuildbhaptuy = 1;
this.Yxbfdyhgckgagq = 0;
this.Yqtmkugmzyithp = 0;
this.Ywazllslkznuys = 0;
this.Ydwppxjdnmuhqz = 0;
this.Ytmyudctjogkib = 0;
this.Yenissvybshxqd = 0;
this.Ygmvvldzlawjyq = 0;
this.Yahxppeqsrtugv = 0;
this.Ysunkfbuoznrst = 0;
this.Yjavzeqhgagstw = false;
})).__name__ = ["Ybhakqrkdfqevy"];
_local1 = Ybhakqrkdfqevy /*register */.prototype;
_local1.__class__ = Ybhakqrkdfqevy /*register */;
_local1.Yadarzznwlljup = null;
_local1.Yahxppeqsrtugv = null;
_local1.Yayiuxyfnlfpxd = null;
_local1.Ydfuildbhaptuy = null;
_local1.Ydwppxjdnmuhqz = null;
_local1.Yejujxeuzjeiex = null;
_local1.Yenissvybshxqd = null;
_local1.Yexfnwbnfnuijz = null;
_local1.Yfnpfuoluatkhh = function () {
return((this.Yejujxeuzjeiex != 0) && (this.Yrwszvcgtpyzwm != this.Yiounazotbqepd));
};
_local1.Yfpsszsiwnrvdm = null;
_local1.Yghwefzuttojze = function (_arg2, _arg3, _arg4) {
this.Yejujxeuzjeiex = (_arg3 - _arg2) / _arg4;
this.Yrwszvcgtpyzwm = _arg2;
this.Yiounazotbqepd = _arg3;
};
_local1.Ygmvvldzlawjyq = null;
_local1.Yhqdypxvkfavrw = function (_arg2) {
this.Yenissvybshxqd = _arg2;
};
_local1.Yiounazotbqepd = null;
_local1.Yiswcdqjrvcfar = function (_arg2) {
this.Yqtmkugmzyithp = _arg2;
};
_local1.Yjavzeqhgagstw = null;
_local1.Yknnunzvnxkpgq = function (_arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8) {
this.Yvegapssgtelrv = _arg2;
this.Ymclldxaxqlspc = _arg3;
this.Yxbfdyhgckgagq = _arg5;
this.Ymozpxvyzzbncx = _arg8;
this.Yqtmkugmzyithp = _arg6;
this.Ywazllslkznuys = _arg7;
this.Yexfnwbnfnuijz = true;
this.Yadarzznwlljup = true;
this.Ydwppxjdnmuhqz = 0;
this.Ytmyudctjogkib = 0;
this.Yenissvybshxqd = _arg4;
this.Ygmvvldzlawjyq = 0;
};
_local1.Ykrogtblmpnmxr = null;
_local1.Ylpjbclekidmmx = function () {
return(this.Yrwszvcgtpyzwm);
};
_local1.Ymclldxaxqlspc = null;
_local1.Ymozpxvyzzbncx = null;
_local1.Yofufvyqacbmeu = function (_arg2, _arg3, _arg4, _arg5, _arg6, _arg7) {
this.Yvegapssgtelrv = _arg2;
this.Ymclldxaxqlspc = _arg3;
this.Yfpsszsiwnrvdm = _arg2;
this.Yahxppeqsrtugv = _arg4;
this.Ypcuwvqpwvwmpz = _arg3;
this.Ysunkfbuoznrst = _arg5;
this.Yxbfdyhgckgagq = Math.atan2(_arg5 - _arg3, _arg4 - _arg2);
this.Ykrogtblmpnmxr = Math.abs(_arg4 - _arg2) + Math.abs(_arg5 - _arg3);
this.Ygmvvldzlawjyq = _arg6;
this.Yenissvybshxqd = _arg7;
};
_local1.Yosnpjisprwiuo = function (_arg2) {
if (this.Yexfnwbnfnuijz && (this.Ymozpxvyzzbncx <= 0)) {
return(undefined);
}
this.Ytnakqzshutwla = this.Yenissvybshxqd * _arg2;
this.Yqhmqxgwpjddol = Math.cos(this.Yxbfdyhgckgagq) * this.Ytnakqzshutwla;
this.Ytkzowqkduxhkq = Math.sin(this.Yxbfdyhgckgagq) * this.Ytnakqzshutwla;
this.Yvegapssgtelrv = this.Yvegapssgtelrv + this.Yqhmqxgwpjddol;
this.Ymclldxaxqlspc = this.Ymclldxaxqlspc + this.Ytkzowqkduxhkq;
this.Ykrogtblmpnmxr = this.Ykrogtblmpnmxr - (Math.abs(this.Yqhmqxgwpjddol) + Math.abs(this.Ytkzowqkduxhkq));
if (this.Ygmvvldzlawjyq != 0) {
this.Yenissvybshxqd = this.Yenissvybshxqd + (this.Ygmvvldzlawjyq * _arg2);
}
this.Ymozpxvyzzbncx = this.Ymozpxvyzzbncx - _arg2;
if (this.Yadarzznwlljup) {
this.Ytmyudctjogkib = this.Ytmyudctjogkib + (this.Ywazllslkznuys * _arg2);
this.Ymclldxaxqlspc = this.Ymclldxaxqlspc + (this.Ytmyudctjogkib * _arg2);
}
if (this.Yayiuxyfnlfpxd != 0) {
this.Ydfuildbhaptuy = this.Ydfuildbhaptuy + (this.Yayiuxyfnlfpxd * _arg2);
if ((this.Yayiuxyfnlfpxd < 0) && (this.Ydfuildbhaptuy < this.Yqrhhajphkobco)) {
this.Yayiuxyfnlfpxd = 0;
this.Ydfuildbhaptuy = this.Yqrhhajphkobco;
}
if ((this.Yayiuxyfnlfpxd > 0) && (this.Ydfuildbhaptuy > this.Yqrhhajphkobco)) {
this.Yayiuxyfnlfpxd = 0;
this.Ydfuildbhaptuy = this.Yqrhhajphkobco;
}
}
if (this.Yejujxeuzjeiex != 0) {
this.Yrwszvcgtpyzwm = this.Yrwszvcgtpyzwm + (this.Yejujxeuzjeiex * _arg2);
if ((this.Yejujxeuzjeiex < 0) && (this.Yrwszvcgtpyzwm < this.Yiounazotbqepd)) {
this.Yejujxeuzjeiex = 0;
this.Yrwszvcgtpyzwm = this.Yiounazotbqepd;
}
if ((this.Yejujxeuzjeiex > 0) && (this.Yrwszvcgtpyzwm > this.Yiounazotbqepd)) {
this.Yejujxeuzjeiex = 0;
this.Yrwszvcgtpyzwm = this.Yiounazotbqepd;
}
}
if (this.Yqtmkugmzyithp != 0) {
this.Ydwppxjdnmuhqz = this.Ydwppxjdnmuhqz + (this.Yqtmkugmzyithp * _arg2);
}
if ((!this.Yjavzeqhgagstw) && (((this.Ykrogtblmpnmxr <= 0) && (!this.Yexfnwbnfnuijz)) || ((this.Ymozpxvyzzbncx <= 0) && (this.Yexfnwbnfnuijz)))) {
this.Ykrogtblmpnmxr = 0;
this.Yenissvybshxqd = 0;
this.Ygmvvldzlawjyq = 0;
this.Ymozpxvyzzbncx = 0;
this.Yvegapssgtelrv = Math.floor(this.Yahxppeqsrtugv);
this.Ymclldxaxqlspc = Math.floor(this.Ysunkfbuoznrst);
}
return(undefined);
};
_local1.Yozcbyjmrpypwl = function (_arg2) {
this.Ytnakqzshutwla = this.Yenissvybshxqd * _arg2;
this.Yqhmqxgwpjddol = Math.cos(this.Yxbfdyhgckgagq) * this.Ytnakqzshutwla;
this.Ytkzowqkduxhkq = Math.sin(this.Yxbfdyhgckgagq) * this.Ytnakqzshutwla;
this.Yvegapssgtelrv = this.Yvegapssgtelrv + this.Yqhmqxgwpjddol;
this.Ymclldxaxqlspc = this.Ymclldxaxqlspc + this.Ytkzowqkduxhkq;
this.Ykrogtblmpnmxr = this.Ykrogtblmpnmxr - (Math.abs(this.Yqhmqxgwpjddol) + Math.abs(this.Ytkzowqkduxhkq));
return(undefined);
};
_local1.Ypcuwvqpwvwmpz = null;
_local1.Yqhmqxgwpjddol = null;
_local1.Yqrhhajphkobco = null;
_local1.Yqtmkugmzyithp = null;
_local1.Yrpdeextfxpqig = function (_arg2, _arg3, _arg4) {
this.Yayiuxyfnlfpxd = (_arg3 - _arg2) / _arg4;
this.Ydfuildbhaptuy = _arg2;
this.Yqrhhajphkobco = _arg3;
};
_local1.Yrwszvcgtpyzwm = null;
_local1.Ysidpdbatnmpdl = function () {
return(this.Yxbfdyhgckgagq);
};
_local1.Ysunkfbuoznrst = null;
_local1.Ytkzowqkduxhkq = null;
_local1.Ytmyudctjogkib = null;
_local1.Ytnakqzshutwla = null;
_local1.Ytwprjnbbvgvdj = function () {
return(this.Ydwppxjdnmuhqz);
};
_local1.Yvegapssgtelrv = null;
_local1.Yvjilmlbsbvcep = function () {
return((this.Yexfnwbnfnuijz && (this.Ymozpxvyzzbncx > 0)) || ((!this.Yexfnwbnfnuijz) && (this.Ykrogtblmpnmxr > 0)));
};
_local1.Ywazllslkznuys = null;
_local1.Ywdsmgfgrbwevn = function (_arg2) {
this.Ygmvvldzlawjyq = _arg2;
};
_local1.Yxbfdyhgckgagq = null;
_local1.Yygkxvbgvrkndv = function (_arg2) {
this.Yxbfdyhgckgagq = _arg2;
};
_local1.Yzdaobirfakvus = function () {
return(this.Ydfuildbhaptuy);
};
_local1.Yzetwtyduritoe = function () {
return(this.Yayiuxyfnlfpxd != 0);
};
((Ymiorhfoxwmqgu = function (_arg3, _arg4, _arg5, _arg6, _arg7) {
super();
this.Yjteswfaopobkb = true;
this.Yomspppmucmduf = Ymiorhfoxwmqgu.Yfdfvdukordzvy.Yujqbxkibiuijr.createEmptyMovieClip("Blank_" + Ymiorhfoxwmqgu.Ytzfzvdtouqjbx, Ymiorhfoxwmqgu.Yfdfvdukordzvy.Yujqbxkibiuijr.getNextHighestDepth());
this.Ynaznxyizsvtaq = false;
if (!_arg7) {
this.Ypssrjkhhzenfo = this.Yomspppmucmduf.attachMovie(_arg3, "Image_" + Ymiorhfoxwmqgu.Ytzfzvdtouqjbx, this.Yomspppmucmduf.getNextHighestDepth());
this.Yjavuujbvpkwwy = _arg6;
this.Ycqspgdffnorko();
} else {
this.Ypssrjkhhzenfo = this.Yomspppmucmduf.createEmptyMovieClip("Blank_Loaded" + Ymiorhfoxwmqgu.Ytzfzvdtouqjbx, Ymiorhfoxwmqgu.Yfdfvdukordzvy.Yujqbxkibiuijr.getNextHighestDepth());
this.Ypssrjkhhzenfo.loadMovie(_arg3);
this.Ynaznxyizsvtaq = false;
this.Yjavuujbvpkwwy = _arg6;
}
this.Yvegapssgtelrv = _arg4;
this.Ymclldxaxqlspc = (this.Ymclldxaxqlspc = _arg5);
this.Ytfepkyhboggkj = 0;
this.Yomspppmucmduf._x = _arg4;
this.Yomspppmucmduf._y = _arg5;
Ymiorhfoxwmqgu.Ytzfzvdtouqjbx++;
})).__name__ = ["Ymiorhfoxwmqgu"];
Ymiorhfoxwmqgu /*register */.__super__ = Ybhakqrkdfqevy;
//Ymiorhfoxwmqgu /*register */ extends Ybhakqrkdfqevy
_local1 = Ymiorhfoxwmqgu /*register */.prototype;
_local1.__class__ = Ymiorhfoxwmqgu /*register */;
Ymiorhfoxwmqgu /*register */.Yfdfvdukordzvy = null;
_local1.Hide = function () {
this.Ypssrjkhhzenfo._visible = false;
this.Yomspppmucmduf._visible = false;
this.Ypssrjkhhzenfo.enabled = false;
this.Yomspppmucmduf.enabled = false;
this.Yomspppmucmduf._alpha = this.Yomspppmucmduf._alpha - 1;
this.Yjteswfaopobkb = false;
};
_local1.Yamnklvguybrxu = function () {
return(this.Ypssrjkhhzenfo._width);
};
_local1.Ycqspgdffnorko = function () {
this.Ypssrjkhhzenfo.cacheAsBitmap = true;
if (this.Yjavuujbvpkwwy) {
this.Ypssrjkhhzenfo._x = (-this.Ypssrjkhhzenfo._width) / 2;
this.Ypssrjkhhzenfo._y = (-this.Ypssrjkhhzenfo._height) / 2;
}
};
_local1.Yejpqrvnaabjiv = function () {
if (this.Ypssrjkhhzenfo == null) {
return(false);
}
if ((this.Ypssrjkhhzenfo.getBytesLoaded() == this.Ypssrjkhhzenfo.getBytesTotal()) && (this.Ypssrjkhhzenfo.getBytesTotal() != 0)) {
this.Ynaznxyizsvtaq = true;
this.Ycqspgdffnorko();
}
return(this.Ynaznxyizsvtaq);
};
_local1.Yhcmvxrpmfedwt = function (_arg2, _arg3) {
this.Ypssrjkhhzenfo._x = -_arg2;
this.Ypssrjkhhzenfo._y = -_arg3;
};
_local1.Yjavuujbvpkwwy = null;
_local1.Yjteswfaopobkb = null;
_local1.Ykqkkqspxkcdsu = function () {
if (!this.Yjavuujbvpkwwy) {
return(!(((this.Yvegapssgtelrv + this.Ypssrjkhhzenfo._width) < 0) || ((this.Yvegapssgtelrv > flash.Stage.width) || (((this.Ymclldxaxqlspc + this.Ypssrjkhhzenfo._height) < 0) || (this.Ymclldxaxqlspc > flash.Stage.height)))));
}
return(!(((this.Yvegapssgtelrv + (this.Ypssrjkhhzenfo._width / 2)) < 0) || (((this.Yvegapssgtelrv - (this.Ypssrjkhhzenfo._width / 2)) > flash.Stage.width) || (((this.Ymclldxaxqlspc + (this.Ypssrjkhhzenfo._height / 2)) < 0) || ((this.Ymclldxaxqlspc - (this.Ypssrjkhhzenfo._height / 2)) > flash.Stage.height)))));
};
_local1.Ymmtrhylgmnpgm = function () {
this.Ypssrjkhhzenfo._visible = true;
this.Yomspppmucmduf._visible = true;
this.Ypssrjkhhzenfo.enabled = true;
this.Yomspppmucmduf.enabled = true;
this.Yomspppmucmduf._alpha = 100;
this.Yjteswfaopobkb = true;
};
_local1.Ymngyvfdmdzaik = function (_arg2) {
this.Ytfepkyhboggkj = _arg2;
this.Yomspppmucmduf._rotation = this.Ytfepkyhboggkj * Ymiorhfoxwmqgu.Yytskbfvipocix;
};
_local1.Ymtgyyftnzksdu = function (_arg2) {
this.Yvegapssgtelrv = _arg2;
this.Yomspppmucmduf._x = this.Yvegapssgtelrv;
return(this.Yvegapssgtelrv);
};
_local1.Ymvsukxfoadfpz = function (_arg2, _arg3) {
this.Yomspppmucmduf._x = _arg2;
this.Yomspppmucmduf._y = _arg3;
};
_local1.Ynaznxyizsvtaq = null;
_local1.Yomspppmucmduf = null;
_local1.Yoqkyexlvadazj = function () {
return(this.Yomspppmucmduf._x);
};
_local1.Yowvhrksqpqnrf = function (_arg2) {
this.Yosnpjisprwiuo(_arg2);
this.Ymvsukxfoadfpz(Math.floor(this.Yvegapssgtelrv), Math.floor(this.Ymclldxaxqlspc));
this.Yskldzajqgwpbe(this.Yzdaobirfakvus() * 100);
this.Ymngyvfdmdzaik(this.Ytwprjnbbvgvdj());
};
_local1.Ypssrjkhhzenfo = null;
_local1.Ypwrzsnbckajif = function (_arg2) {
this.Ymclldxaxqlspc = _arg2;
this.Yomspppmucmduf._y = this.Ymclldxaxqlspc;
return(this.Ymclldxaxqlspc);
};
_local1.Yskldzajqgwpbe = function (_arg2) {
this.Yomspppmucmduf._alpha = _arg2;
};
_local1.Ytfaqbatssvljk = function () {
return(this.Yomspppmucmduf._alpha);
};
_local1.Ytfepkyhboggkj = null;
_local1.Yvcgvvqbtlloqs = function (_arg2, _arg3, _arg4, _arg5) {
var _local6 = Math.floor(_arg2);
var _local7 = Math.floor(_arg3);
var _local8 = Math.floor(_arg4);
var _local9 = Math.floor(_arg5);
var _local10 = new flash.geom.Rectangle(_local6, _local7, _local8, _local9);
if (!this.Yjavuujbvpkwwy) {
this.Ypssrjkhhzenfo._x = 0;
this.Ypssrjkhhzenfo._y = 0;
} else {
this.Ypssrjkhhzenfo._x = (-_arg4) / 2;
this.Ypssrjkhhzenfo._y = (-_arg5) / 2;
}
this.Ypssrjkhhzenfo.scrollRect = _local10;
};
_local1.Ywaifbawpszdon = function () {
return(this.Ypssrjkhhzenfo._height);
};
_local1.Ywfkfcgazjnlsz = function () {
this.Ypssrjkhhzenfo.removeMovieClip();
this.Ypssrjkhhzenfo = null;
this.Yomspppmucmduf.removeMovieClip();
this.Yomspppmucmduf = null;
};
_local1.Ywtvlhnuyjjsmb = function () {
this.Ypssrjkhhzenfo.removeMovieClip();
this.Ypssrjkhhzenfo = null;
this.Yomspppmucmduf.removeMovieClip();
this.Yomspppmucmduf = null;
};
_local1.Yzqojqohsrlhgd = function () {
return(this.Yomspppmucmduf._y);
};
_local1.Yzzsvmavpdouyf = function (_arg2) {
this.Yozcbyjmrpypwl(_arg2);
};
_local1.getRot = function () {
return(this.Ytfepkyhboggkj);
};
_local1.setScale = function (_arg2, _arg3) {
this.Yomspppmucmduf._xscale = _arg2;
this.Yomspppmucmduf._yscale = _arg3;
};
((Yualocnfvatppn = function (_arg3, _arg4, _arg5, _arg6, _arg7) {
super(_arg3, _arg4, _arg5, _arg6, _arg7);
})).__name__ = ["Yualocnfvatppn"];
Yualocnfvatppn /*register */.__super__ = Ymiorhfoxwmqgu;
//Yualocnfvatppn /*register */ extends Ymiorhfoxwmqgu
_local1 = Yualocnfvatppn /*register */.prototype;
_local1.__class__ = Yualocnfvatppn /*register */;
_local1.Yaxphldjbhihhc = null;
_local1.Yfdvetwybrcyug = null;
_local1.Yiyuigepecdslk = function (_arg2, _arg3, _arg4, _arg5, _arg6, _arg7) {
this.Yfdvetwybrcyug = _arg2;
this.Yrgkmqqamdawql = _arg7;
this.Yrtwvyxwhmjgwo = _arg3;
this.Yrhdargkqelmtd = _arg4;
this.Ystvxqlawxgail = _arg5;
this.Yjteswfaopobkb = false;
this.Yaxphldjbhihhc = _arg6;
this.Yrmubopeogchzw = false;
this.Yvcgvvqbtlloqs(0, 0, this.Yrhdargkqelmtd, this.Ystvxqlawxgail);
};
_local1.Yoqdlzxujflpqf = function (_arg2) {
if (this.Yjteswfaopobkb) {
this.Yosnpjisprwiuo(_arg2);
} else {
this.Yzzsvmavpdouyf(_arg2);
}
if ((!this.Yjteswfaopobkb) || (this.Yrgkmqqamdawql == 0)) {
this.Yjteswfaopobkb = false;
return(undefined);
}
this.Yskldzajqgwpbe(this.Yzdaobirfakvus() * 100);
this.Ymngyvfdmdzaik(this.Ytwprjnbbvgvdj());
if (this.Yrtwvyxwhmjgwo == 1) {
return(undefined);
}
this.Yvcgvvqbtlloqs(Math.floor(this.Yfdvetwybrcyug) * this.Yrhdargkqelmtd, 0, this.Yrhdargkqelmtd, this.Ystvxqlawxgail);
this.Yfdvetwybrcyug = this.Yfdvetwybrcyug + (_arg2 * this.Yaxphldjbhihhc);
if ((this.Yfdvetwybrcyug >= this.Yrtwvyxwhmjgwo) || (this.Yfdvetwybrcyug < 0)) {
if (!this.Yrmubopeogchzw) {
this.Yfdvetwybrcyug = 0;
} else {
if (this.Yfdvetwybrcyug >= 0) {
this.Yfdvetwybrcyug = this.Yrtwvyxwhmjgwo - (this.Yfdvetwybrcyug - this.Yrtwvyxwhmjgwo);
} else {
this.Yfdvetwybrcyug = this.Yfdvetwybrcyug + Math.abs(this.Yfdvetwybrcyug);
}
this.Yaxphldjbhihhc = this.Yaxphldjbhihhc * (-1);
}
if (this.Yrgkmqqamdawql > -1) {
this.Yrgkmqqamdawql--;
}
}
};
_local1.Yrgkmqqamdawql = null;
_local1.Yrhdargkqelmtd = null;
_local1.Yrmubopeogchzw = null;
_local1.Yrtwvyxwhmjgwo = null;
_local1.Ystvxqlawxgail = null;
_local1 = new Object();
flash.geom = _local1;
_local2 = _global.flash.geom;
for (_reg0 in _local2) {
_local1[_reg0] = _local2[_reg0];
}
((Ykooahbhkzabif = function () {
})).__name__ = ["Ykooahbhkzabif"];
_local1 = Ykooahbhkzabif /*register */.prototype;
_local1.__class__ = Ykooahbhkzabif /*register */;
Ykooahbhkzabif /*register */.Yktpxnbdkjgcyx = null;
Ykooahbhkzabif /*register */.Ycqspgdffnorko = function () {
};
Ykooahbhkzabif /*register */.Yggycbyylxieqc = function () {
return(Ykooahbhkzabif.Yeyybciokubjjr);
};
Ykooahbhkzabif /*register */.Yhqixfguluoxps = function () {
Ykooahbhkzabif.Yeyybciokubjjr = false;
};
Ykooahbhkzabif /*register */.Ywqhqdfnscxpqo = function (_arg2, _arg3, _arg4, _arg5) {
if (Ykooahbhkzabif.Ylevikjmgefguq == null) {
Ykooahbhkzabif.Ylevikjmgefguq = new flash.LoadVars();
}
Ykooahbhkzabif.Ylevikjmgefguq.var1 = _arg3;
Ykooahbhkzabif.Ylevikjmgefguq.var2 = Yuntqtjlotdfxk.Yiiapxqwdtjqvq(_arg4, Ykooahbhkzabif.Yylihvyivfdaxq);
Ykooahbhkzabif.Ylevikjmgefguq.var3 = Yuntqtjlotdfxk.Yiiapxqwdtjqvq(_arg5, Ykooahbhkzabif.Yylihvyivfdaxq);
Ykooahbhkzabif.Ylevikjmgefguq.sendAndLoad(_arg2, Ykooahbhkzabif.Ylevikjmgefguq, Yuntqtjlotdfxk.Yaqunmeestntul("F197FE"));
Ykooahbhkzabif.Yeyybciokubjjr = true;
Ykooahbhkzabif.Ylevikjmgefguq.onData = function (_arg2) {
Ykooahbhkzabif.Yeyybciokubjjr = false;
};
};
Ykooahbhkzabif /*register */.Yzbmhlqfqtqvvm = function (_arg2) {
if (Ykooahbhkzabif.Yqltqntbpdenhw == null) {
Ykooahbhkzabif.Ymesggixtrlknz = false;
}
Ykooahbhkzabif.Yqltqntbpdenhw = new flash.LoadVars();
Ykooahbhkzabif.Yqltqntbpdenhw.var1 = _arg2;
Ykooahbhkzabif.Yqltqntbpdenhw.sendAndLoad(Yuntqtjlotdfxk.Yaqunmeestntul("12C61EC2E481D9C921C9D8C10DB70BC00CC40FB724B711B317B71D800DC1178111BDD8C212C2"), Ykooahbhkzabif.Yqltqntbpdenhw, Yuntqtjlotdfxk.Yaqunmeestntul("F197FE"));
Ykooahbhkzabif.Yqltqntbpdenhw.onData = function (_arg2) {
Ykooahbhkzabif.Yylihvyivfdaxq = _arg2;
Ykooahbhkzabif.Ymesggixtrlknz = true;
};
};
Ykooahbhkzabif /*register */.Yorthyztxeoybb = function (_arg2, _arg3, _arg4) {
if (Ykooahbhkzabif.Yybyfohkezlunr == null) {
Ykooahbhkzabif.Yybyfohkezlunr = new flash.LoadVars();
}
Ykooahbhkzabif.Yybyfohkezlunr.var1 = _arg3;
Ykooahbhkzabif.Yybyfohkezlunr.var2 = _arg4;
Ykooahbhkzabif.Yybyfohkezlunr.sendAndLoad(_arg2, Ykooahbhkzabif.Yybyfohkezlunr, Yuntqtjlotdfxk.Yaqunmeestntul("F197FE"));
Ykooahbhkzabif.Yeyybciokubjjr = true;
Ykooahbhkzabif.Yktpxnbdkjgcyx = null;
Ykooahbhkzabif.Yybyfohkezlunr.onData = function (_arg2) {
Ykooahbhkzabif.Yiiqufqhgrxeeq = _arg2;
Ykooahbhkzabif.Yktpxnbdkjgcyx = _arg2.split(";");
Ykooahbhkzabif.Yeyybciokubjjr = false;
};
};
Ykooahbhkzabif /*register */.Yhakastbnoycdd = function (_arg2, _arg3) {
var _local4 = Ykooahbhkzabif.Yblojehnlgkyxk();
var _local5 = 0;
var _local6 = _local4;
while (_local5 < _local6) {
var _local7 = _local5;
_local5++;
if ((Ykooahbhkzabif.Ykwyytoibfqdtf(_local7) == _arg3) && (Ykooahbhkzabif.Ywalfnaabqmqau(_local7) == _arg2)) {
return(_local7);
}
}
return(-1);
};
Ykooahbhkzabif /*register */.Ykwyytoibfqdtf = function (_arg2) {
return(Ykooahbhkzabif.Yktpxnbdkjgcyx[(_arg2 * 2) + 1]);
};
Ykooahbhkzabif /*register */.Ywalfnaabqmqau = function (_arg2) {
return(Ykooahbhkzabif.Yktpxnbdkjgcyx[_arg2 * 2]);
};
Ykooahbhkzabif /*register */.Yblojehnlgkyxk = function () {
return(Math.floor(Ykooahbhkzabif.Yktpxnbdkjgcyx.length / 2));
};
_local1 = new Object();
flash.filters = _local1;
_local2 = _global.flash.filters;
for (_reg0 in _local2) {
_local1[_reg0] = _local2[_reg0];
}
((MISSION_ID = new Object())).__ename__ = ["MISSION_ID"];
["ESCORT"].__enum__ = MISSION_ID /*register */;
MISSION_ID /*register */.ESCORT = ["ESCORT"];
["HOSTILE_TAKOVER"].__enum__ = MISSION_ID /*register */;
MISSION_ID /*register */.HOSTILE_TAKOVER = ["HOSTILE_TAKOVER"];
["MAKING_ROOM"].__enum__ = MISSION_ID /*register */;
MISSION_ID /*register */.MAKING_ROOM = ["MAKING_ROOM"];
["MISSION_CODE"].__enum__ = MISSION_ID /*register */;
MISSION_ID /*register */.MISSION_CODE = ["MISSION_CODE"];
["RECONNAISSANCE"].__enum__ = MISSION_ID /*register */;
MISSION_ID /*register */.RECONNAISSANCE = ["RECONNAISSANCE"];
["RECOVERY"].__enum__ = MISSION_ID /*register */;
MISSION_ID /*register */.RECOVERY = ["RECOVERY"];
["TRAINING"].__enum__ = MISSION_ID /*register */;
MISSION_ID /*register */.TRAINING = ["TRAINING"];
((OBJECT_ID = new Object())).__ename__ = ["OBJECT_ID"];
["ASTEROID_LARGE"].__enum__ = OBJECT_ID /*register */;
OBJECT_ID /*register */.ASTEROID_LARGE = ["ASTEROID_LARGE"];
["ASTEROID_SMALL"].__enum__ = OBJECT_ID /*register */;
OBJECT_ID /*register */.ASTEROID_SMALL = ["ASTEROID_SMALL"];
["ASTEROID_SOLID_LARGE"].__enum__ = OBJECT_ID /*register */;
OBJECT_ID /*register */.ASTEROID_SOLID_LARGE = ["ASTEROID_SOLID_LARGE"];
["ASTEROID_SOLID_SMALL"].__enum__ = OBJECT_ID /*register */;
OBJECT_ID /*register */.ASTEROID_SOLID_SMALL = ["ASTEROID_SOLID_SMALL"];
["BULLETS"].__enum__ = OBJECT_ID /*register */;
OBJECT_ID /*register */.BULLETS = ["BULLETS"];
["CHAT"].__enum__ = OBJECT_ID /*register */;
OBJECT_ID /*register */.CHAT = ["CHAT"];
["ENEMY_BULLET"].__enum__ = OBJECT_ID /*register */;
OBJECT_ID /*register */.ENEMY_BULLET = ["ENEMY_BULLET"];
["ENEMY_DRONE"].__enum__ = OBJECT_ID /*register */;
OBJECT_ID /*register */.ENEMY_DRONE = ["ENEMY_DRONE"];
["ENEMY_FIRE_SHIP"].__enum__ = OBJECT_ID /*register */;
OBJECT_ID /*register */.ENEMY_FIRE_SHIP = ["ENEMY_FIRE_SHIP"];
["ENEMY_GHOST"].__enum__ = OBJECT_ID /*register */;
OBJECT_ID /*register */.ENEMY_GHOST = ["ENEMY_GHOST"];
["ENEMY_SHIP1"].__enum__ = OBJECT_ID /*register */;
OBJECT_ID /*register */.ENEMY_SHIP1 = ["ENEMY_SHIP1"];
["ENEMY_SHIP2"].__enum__ = OBJECT_ID /*register */;
OBJECT_ID /*register */.ENEMY_SHIP2 = ["ENEMY_SHIP2"];
["ENEMY_SHIP3"].__enum__ = OBJECT_ID /*register */;
OBJECT_ID /*register */.ENEMY_SHIP3 = ["ENEMY_SHIP3"];
["EXPLOSION"].__enum__ = OBJECT_ID /*register */;
OBJECT_ID /*register */.EXPLOSION = ["EXPLOSION"];
["HEALTH"].__enum__ = OBJECT_ID /*register */;
OBJECT_ID /*register */.HEALTH = ["HEALTH"];
["PLAYER_BULLET"].__enum__ = OBJECT_ID /*register */;
OBJECT_ID /*register */.PLAYER_BULLET = ["PLAYER_BULLET"];
["PLAYER_SHIP"].__enum__ = OBJECT_ID /*register */;
OBJECT_ID /*register */.PLAYER_SHIP = ["PLAYER_SHIP"];
["SPACE_MAN"].__enum__ = OBJECT_ID /*register */;
OBJECT_ID /*register */.SPACE_MAN = ["SPACE_MAN"];
["SPACE_STATION"].__enum__ = OBJECT_ID /*register */;
OBJECT_ID /*register */.SPACE_STATION = ["SPACE_STATION"];
((ENEMY_AI = new Object())).__ename__ = ["ENEMY_AI"];
["BRAKE_HARD"].__enum__ = ENEMY_AI /*register */;
ENEMY_AI /*register */.BRAKE_HARD = ["BRAKE_HARD"];
["BRANCH_FIRE"].__enum__ = ENEMY_AI /*register */;
ENEMY_AI /*register */.BRANCH_FIRE = ["BRANCH_FIRE"];
["BRANCH_OFF"].__enum__ = ENEMY_AI /*register */;
ENEMY_AI /*register */.BRANCH_OFF = ["BRANCH_OFF"];
["FIRE_GUNS"].__enum__ = ENEMY_AI /*register */;
ENEMY_AI /*register */.FIRE_GUNS = ["FIRE_GUNS"];
["FLEE_AREA"].__enum__ = ENEMY_AI /*register */;
ENEMY_AI /*register */.FLEE_AREA = ["FLEE_AREA"];
["SCOUT"].__enum__ = ENEMY_AI /*register */;
ENEMY_AI /*register */.SCOUT = ["SCOUT"];
["TRACK_PLAYER"].__enum__ = ENEMY_AI /*register */;
ENEMY_AI /*register */.TRACK_PLAYER = ["TRACK_PLAYER"];
["TRACK_PLAYER_CLOSE"].__enum__ = ENEMY_AI /*register */;
ENEMY_AI /*register */.TRACK_PLAYER_CLOSE = ["TRACK_PLAYER_CLOSE"];
["TRACK_PLAYER_FAR"].__enum__ = ENEMY_AI /*register */;
ENEMY_AI /*register */.TRACK_PLAYER_FAR = ["TRACK_PLAYER_FAR"];
["TURN_LEFT"].__enum__ = ENEMY_AI /*register */;
ENEMY_AI /*register */.TURN_LEFT = ["TURN_LEFT"];
["TURN_RIGHT"].__enum__ = ENEMY_AI /*register */;
ENEMY_AI /*register */.TURN_RIGHT = ["TURN_RIGHT"];
((ENEMY_TARGET = new Object())).__ename__ = ["ENEMY_TARGET"];
["ASTRONAUT"].__enum__ = ENEMY_TARGET /*register */;
ENEMY_TARGET /*register */.ASTRONAUT = ["ASTRONAUT"];
["NOTHING"].__enum__ = ENEMY_TARGET /*register */;
ENEMY_TARGET /*register */.NOTHING = ["NOTHING"];
["PLAYER"].__enum__ = ENEMY_TARGET /*register */;
ENEMY_TARGET /*register */.PLAYER = ["PLAYER"];
((Yjozbfstoilpuj = function () {
this.Yaqcfteizrevui = 0;
this.Yoneexxjzcfcqr = 0;
this.Yarapzaoitbhkv = -1;
})).__name__ = ["Yjozbfstoilpuj"];
_local1 = Yjozbfstoilpuj /*register */.prototype;
_local1.__class__ = Yjozbfstoilpuj /*register */;
_local1.Yaqcfteizrevui = null;
_local1.Yarapzaoitbhkv = null;
_local1.Yoneexxjzcfcqr = null;
((Yyuxsrbteznida = function (_arg3, _arg4, _arg5, _arg6, _arg7) {
this.Yybnohalgjjmrg = false;
this.Yuquvnrxgimgtq = false;
this.Yfpjgygzukkdhl = _arg6;
this.Ysyczkiacpmqai = new Yualocnfvatppn("thrust", 0, 0, true, false);
this.Ysyczkiacpmqai.Yiyuigepecdslk(0, 3, 11, 15, 10, 100);
this.Ysyczkiacpmqai.Yhcmvxrpmfedwt(5.5, 7.5);
this.Ysyczkiacpmqai.Yjteswfaopobkb = true;
this.Ysyczkiacpmqai.Ymvsukxfoadfpz(-100, -100);
this.Yqxyfszqmdkwuh = new Yualocnfvatppn("tractorbeam", 0, 0, true, false);
this.Yqxyfszqmdkwuh.Yhcmvxrpmfedwt(0, 32);
this.Yqxyfszqmdkwuh.Yomspppmucmduf.blendMode = "add";
this.Yqxyfszqmdkwuh.Ymvsukxfoadfpz(-100, -100);
super(_arg3, 0, 0, false, false);
this.Yhcmvxrpmfedwt(_arg4, _arg5);
this.Yxbjeuepdkusmz = 0;
this.Yvjjjdjxuriyhs = 0;
this.Ykqfrlbdxpcrza = 0;
this.Ywmkzfwsajnhgk = 0.97;
this.Ywesyczrosksna = 0;
this.Yrkquoxpvgaeiv = true;
this.Yfifxfqozqcudx = Yytmqbgkwvwvmo.Yfifxfqozqcudx;
Yytmqbgkwvwvmo.Yfifxfqozqcudx++;
this.Yelydmjvwaegfy = true;
this.Ymvsukxfoadfpz(-100, -100);
this.Ymxicatchvdovs = true;
this.Ylejtnuevltdlp = 100;
this.Yaquppnnrbguhy = 175;
this.Yjmmxsicdfylpv = 175;
this.Ykiapirtlocjdl = new Ymiorhfoxwmqgu("map_dot", 0, 0, true, false);
if (this.Ykiapirtlocjdl != null) {
this.Ykiapirtlocjdl.Hide();
this.Ykiapirtlocjdl.Ymvsukxfoadfpz(-100, -100);
}
this.Yytfmoweunfnph = _arg7;
if (this.Yytfmoweunfnph == OBJECT_ID.ENEMY_DRONE) {
this.Ywesyczrosksna = (Math.random() * 1) + 1;
}
this.Ykossdreetaebz = 1 + (Math.random() * 0.2);
this.Yijvpyvqukvgvj = ENEMY_AI.SCOUT;
this.Ylzwuyhjodsick = ENEMY_TARGET.PLAYER;
if (this.Yytfmoweunfnph == OBJECT_ID.PLAYER_SHIP) {
this.Ykossdreetaebz = 1;
this.Ynbfdqcefqeufb = 1.1;
}
this.Ybxprybiswatpt = 0;
this.Ykomuzvosgzwqh = true;
this.Ybmwnzjvkvcyfw = false;
})).__name__ = ["Yyuxsrbteznida"];
Yyuxsrbteznida /*register */.__super__ = Ymiorhfoxwmqgu;
//Yyuxsrbteznida /*register */ extends Ymiorhfoxwmqgu
_local1 = Yyuxsrbteznida /*register */.prototype;
_local1.__class__ = Yyuxsrbteznida /*register */;
Yyuxsrbteznida /*register */.Yegqflcnegfoje = null;
Yyuxsrbteznida /*register */.Yidrepxypiadjl = null;
_local1.Yaquppnnrbguhy = null;
_local1.Ybiirobyjvryao = function (_arg2, _arg3) {
var _local4 = flash.Stage.width / 2;
var _local5 = 380 / 2;
var _local6 = _arg2.Yoqkyexlvadazj() - _local4;
var _local7 = _arg2.Yzqojqohsrlhgd() - _local5;
var _local8 = this.Yvegapssgtelrv + (Math.cos(this.Yxbjeuepdkusmz) * 80);
var _local9 = this.Ymclldxaxqlspc + (Math.sin(this.Yxbjeuepdkusmz) * 80);
var _local10 = _local8 - _arg2.Yvegapssgtelrv;
var _local11 = _local9 - _arg2.Ymclldxaxqlspc;
var _local12 = ((_local10 * _local10) + (_local11 * _local11)) < 1600;
if (this.Yzagvduulpmfkb(_arg2.Yeohdqfnhkfhww()) && (_local12 && (this.Yelydmjvwaegfy || (_arg3)))) {
_arg2.Yofufvyqacbmeu(_arg2.Yvegapssgtelrv, _arg2.Ymclldxaxqlspc, _local8, _local9, 80, 50);
this.Yelydmjvwaegfy = false;
_arg2.Yziosxgvgzaysu = true;
_arg2.Yjavzeqhgagstw = false;
_arg2.Ycjerozbitjwbq = false;
}
if ((!_local12) && (_arg2.Yziosxgvgzaysu)) {
_arg2.Yziosxgvgzaysu = false;
}
};
_local1.Ybmwnzjvkvcyfw = null;
_local1.Ybxprybiswatpt = null;
_local1.Ycuyzzqjwtfbjz = function (_arg2) {
return((Math.sin(this.Yxbjeuepdkusmz) * this.Ykqfrlbdxpcrza) * _arg2);
};
_local1.Yelydmjvwaegfy = null;
_local1.Yfifxfqozqcudx = null;
_local1.Yfpjgygzukkdhl = null;
_local1.Yhtxfretmusudf = function (_arg2) {
var _local3 = 1 - Math.abs(this.Ykqfrlbdxpcrza / 350);
if (_local3 < 0.25) {
_local3 = 0.25;
}
if (this.Yzgmeiaivgefwc) {
_local3 = 0.125;
}
this.Yxbjeuepdkusmz = this.Yxbjeuepdkusmz - (((5 * _arg2) * _local3) * this.Ynbfdqcefqeufb);
if (this.Yxbjeuepdkusmz < 0) {
this.Yxbjeuepdkusmz = this.Yxbjeuepdkusmz + (Math.PI * 2);
}
this.Yelydmjvwaegfy = true;
};
_local1.Yhwvkqsajzjsla = null;
_local1.Yijvpyvqukvgvj = null;
_local1.Yjlhefykkwxyho = null;
_local1.Yjmmxsicdfylpv = null;
_local1.Yjpbmbiavtitct = null;
_local1.Ykiapirtlocjdl = null;
_local1.Ykkzfgbohrcghj = function () {
return(this.Yzgmeiaivgefwc);
};
_local1.Ykomuzvosgzwqh = null;
_local1.Ykossdreetaebz = null;
_local1.Ykqfrlbdxpcrza = null;
_local1.Ykukbhcesgzulo = function (_arg2) {
var _local3 = 1 - Math.abs(this.Ykqfrlbdxpcrza / 350);
if (_local3 < 0.25) {
_local3 = 0.25;
}
if (this.Yzgmeiaivgefwc) {
_local3 = 0.125;
}
this.Yxbjeuepdkusmz = this.Yxbjeuepdkusmz + (((5 * _arg2) * _local3) * this.Ynbfdqcefqeufb);
if (this.Yxbjeuepdkusmz > (Math.PI * 2)) {
this.Yxbjeuepdkusmz = this.Yxbjeuepdkusmz - (Math.PI * 2);
}
this.Yelydmjvwaegfy = true;
};
_local1.Ylctnglhmgajlh = function (_arg2) {
var _local3 = _arg2.Yvegapssgtelrv - _arg2.Yamonltwvxzczq;
var _local4 = _arg2.Ymclldxaxqlspc - _arg2.Ylwsfcdalmzxtp;
var _local5 = _local3 / 5;
var _local6 = _local4 / 5;
if (!((_local5 > 1) || (_local6 > 1))) {
return(this.Yytkxqmranhmba(_arg2));
}
var _local7 = Math.floor(_local5);
if (_local6 > _local5) {
_local7 = Math.floor(_local6);
}
var _local8 = this.Yvegapssgtelrv;
var _local9 = this.Ymclldxaxqlspc;
var _local10 = 0;
var _local11 = _local7;
while (_local10 < _local11) {
var _local12 = _local10;
_local10++;
var _local13 = (_arg2.Yamonltwvxzczq + (_local5 * _local12)) - _local8;
var _local14 = (_arg2.Ylwsfcdalmzxtp + (_local6 * _local12)) - _local9;
var _local15 = Math.sqrt((_local13 * _local13) + (_local14 * _local14));
if (_local15 < (this.Yfpjgygzukkdhl + _arg2.Ywhdhyagsmeupc())) {
return(true);
}
}
return(false);
};
_local1.Ylejtnuevltdlp = null;
_local1.Ylvsfvrlhvmvjw = function (_arg2) {
var _local3 = (((Math.cos(Yyuxsrbteznida.Yegqflcnegfoje) * Yyuxsrbteznida.Yidrepxypiadjl) * 12.5) * _arg2) + this.Ypfpvsnirqwaac;
var _local4 = (((Math.sin(Yyuxsrbteznida.Yegqflcnegfoje) * Yyuxsrbteznida.Yidrepxypiadjl) * 12.5) * _arg2) + this.Yyfcfqpmxyaojh;
var _local5 = this.Yvegapssgtelrv;
var _local6 = this.Ymclldxaxqlspc;
var _local7 = _local3 - _local5;
var _local8 = _local4 - _local6;
var _local9 = Math.atan2(_local8, _local7);
this.Yxbjeuepdkusmz = _local9;
};
_local1.Ylzwuyhjodsick = null;
_local1.Ymamxfnblmrlxi = function () {
return(this.Yaquppnnrbguhy);
};
_local1.Ymhnaubfcxiovi = null;
_local1.Ymxicatchvdovs = null;
_local1.Ynbfdqcefqeufb = null;
_local1.Yngsduhupgbdgy = function () {
return(this.Yybnohalgjjmrg);
};
_local1.Ypakvychdrzfwx = function () {
this.Yzgmeiaivgefwc = false;
this.Yqxyfszqmdkwuh.Ymvsukxfoadfpz(-100, -100);
};
_local1.Ypfpvsnirqwaac = null;
_local1.Ypfvicahimhaxy = function () {
return(this.Ylejtnuevltdlp);
};
_local1.Yqehbxxqhkeqxi = function () {
if (this.Yytfmoweunfnph != OBJECT_ID.PLAYER_SHIP) {
if ((this.Yytfmoweunfnph == OBJECT_ID.ENEMY_SHIP1) || ((this.Yytfmoweunfnph == OBJECT_ID.ENEMY_SHIP2) || ((this.Yytfmoweunfnph == OBJECT_ID.ENEMY_SHIP3) || (this.Yytfmoweunfnph == OBJECT_ID.ENEMY_DRONE)))) {
if (this.Yytfmoweunfnph == OBJECT_ID.ENEMY_DRONE) {
this.Ybmwnzjvkvcyfw = true;
}
if (this.Yjteswfaopobkb && ((this.Ywesyczrosksna < 0) && ((this.Yaquppnnrbguhy > 0) && ((this.Yijvpyvqukvgvj == ENEMY_AI.FIRE_GUNS) || ((this.Yijvpyvqukvgvj == ENEMY_AI.BRANCH_FIRE) || (this.Ybmwnzjvkvcyfw)))))) {
this.Ybmwnzjvkvcyfw = false;
this.Ywesyczrosksna = 0.3;
return(this.Yuquvnrxgimgtq);
}
}
} else if (this.Yjteswfaopobkb && ((this.Ywesyczrosksna < 0) && (this.Yaquppnnrbguhy > 0))) {
this.Ywesyczrosksna = 0.2;
return(true);
}
return(false);
};
_local1.Yqxijnaptzppje = null;
_local1.Yqxyfszqmdkwuh = null;
_local1.Yrdeplcnxxbscl = function (_arg2) {
this.Ylejtnuevltdlp = this.Ylejtnuevltdlp - _arg2;
if (this.Ylejtnuevltdlp > 100) {
this.Ylejtnuevltdlp = 100;
}
};
_local1.Yrkquoxpvgaeiv = null;
_local1.Yrlrygwayqmpfv = function (_arg2) {
if (this.Yytfmoweunfnph != OBJECT_ID.PLAYER_SHIP) {
this.Ynbfdqcefqeufb = Yytmqbgkwvwvmo.Ytmdkzytfvhbmv;
this.Ywesyczrosksna = this.Ywesyczrosksna - _arg2;
this.Ybxprybiswatpt = this.Ybxprybiswatpt - _arg2;
var _local3 = this.Yijvpyvqukvgvj;
if (_local3 != ENEMY_AI.TRACK_PLAYER_CLOSE) {
if (_local3 != ENEMY_AI.TRACK_PLAYER_FAR) {
if (_local3 != ENEMY_AI.BRANCH_FIRE) {
if (_local3 != ENEMY_AI.FIRE_GUNS) {
if (_local3 != ENEMY_AI.SCOUT) {
if (_local3 != ENEMY_AI.TURN_LEFT) {
if (_local3 != ENEMY_AI.TURN_RIGHT) {
if (_local3 != ENEMY_AI.TRACK_PLAYER) {
// unexpected jump
this.Ysddxfattzgbrp(_arg2, 42400);
// unexpected jump
this.Ysddxfattzgbrp(_arg2, 75000);
// unexpected jump
this.Yxokmitxfcbdot(_arg2, 200000);
// unexpected jump
this.Ysddxfattzgbrp(_arg2, 60000);
// unexpected jump
this.Yyutcvxxdlbhkn(_arg2, 490000, 210);
// unexpected jump
this.Yhtxfretmusudf(_arg2);
this.Ysudtblqysetzf(_arg2, this.Yjpbmbiavtitct);
// unexpected jump
this.Ykukbhcesgzulo(_arg2);
this.Ysudtblqysetzf(_arg2, this.Yjpbmbiavtitct);
// unexpected jump
}
}
}
}
}
}
}
} else {
this.Ysddxfattzgbrp(_arg2, 42400);
// unexpected jump
this.Ysddxfattzgbrp(_arg2, 75000);
// unexpected jump
this.Yxokmitxfcbdot(_arg2, 200000);
// unexpected jump
this.Ysddxfattzgbrp(_arg2, 60000);
// unexpected jump
this.Yyutcvxxdlbhkn(_arg2, 490000, 210);
// unexpected jump
this.Yhtxfretmusudf(_arg2);
this.Ysudtblqysetzf(_arg2, this.Yjpbmbiavtitct);
// unexpected jump
this.Ykukbhcesgzulo(_arg2);
this.Ysudtblqysetzf(_arg2, this.Yjpbmbiavtitct);
// unexpected jump
this.Ylvsfvrlhvmvjw(_arg2);
}
if ((this.Yijvpyvqukvgvj == ENEMY_AI.FIRE_GUNS) && (this.Ymamxfnblmrlxi() <= 0)) {
this.Ykomuzvosgzwqh = true;
}
if (((this.Ybxprybiswatpt < 0) && (this.Ykomuzvosgzwqh)) || ((this.Ybxprybiswatpt < (-5)) && ((this.Yijvpyvqukvgvj == ENEMY_AI.BRANCH_FIRE) && (this.Ykomuzvosgzwqh == false)))) {
this.Yxyzbnkxvqueif();
}
this.Ymngyvfdmdzaik(this.Yxbjeuepdkusmz);
this.Yvegapssgtelrv = this.Yvegapssgtelrv + this.Yyeskaetoflsdq(_arg2);
this.Ymclldxaxqlspc = this.Ymclldxaxqlspc + this.Ycuyzzqjwtfbjz(_arg2);
this.Yomspppmucmduf._x = (this.Yvegapssgtelrv - this.Ypfpvsnirqwaac) + (flash.Stage.width / 2);
this.Yomspppmucmduf._y = (this.Ymclldxaxqlspc - this.Yyfcfqpmxyaojh) + (378 / 2);
_local3 = this.Yvegapssgtelrv - this.Ypfpvsnirqwaac;
var _local4 = this.Ymclldxaxqlspc - this.Yyfcfqpmxyaojh;
if (Math.sqrt((_local3 * _local3) + (_local4 * _local4)) >= 600) {
this.Yuquvnrxgimgtq = false;
} else {
this.Yuquvnrxgimgtq = true;
}
var _local5 = 0;
var _local6 = 0;
if (!(((Yytmqbgkwvwvmo.Ydmglwolxoshio != 1) && (Yytmqbgkwvwvmo.Ydmglwolxoshio != 3)) || (Yytmqbgkwvwvmo.Yjjfzenzdzpujl || (Yytmqbgkwvwvmo.Ycotqqftouyads)))) {
_local5 = ((this.Yvegapssgtelrv - this.Ypfpvsnirqwaac) * 0.0344) + 140;
_local6 = ((this.Ymclldxaxqlspc - this.Yyfcfqpmxyaojh) * 0.028) + 420;
} else {
_local5 = ((this.Yvegapssgtelrv - this.Ypfpvsnirqwaac) * 0.0172) + 140;
_local6 = ((this.Ymclldxaxqlspc - this.Yyfcfqpmxyaojh) * 0.014) + 420;
}
if ((!this.Ykiapirtlocjdl.Yjteswfaopobkb) && ((_local5 > 98) && ((_local6 > 385) && ((_local5 < 184) && (_local6 < 455))))) {
this.Ykiapirtlocjdl.Ymmtrhylgmnpgm();
}
if (this.Ykiapirtlocjdl.Yjteswfaopobkb && (!((_local5 > 98) && ((_local6 > 385) && ((_local5 < 184) && (_local6 < 455)))))) {
this.Ykiapirtlocjdl.Hide();
}
if (this.Ykiapirtlocjdl.Yjteswfaopobkb) {
this.Ykiapirtlocjdl.Ymvsukxfoadfpz(_local5, _local6);
this.Ykiapirtlocjdl.Yomspppmucmduf.swapDepths(Ymiorhfoxwmqgu.Yfdfvdukordzvy.Yujqbxkibiuijr.getNextHighestDepth());
}
} else {
this.Ysyczkiacpmqai.Yoqdlzxujflpqf(_arg2);
if (this.Ypfvicahimhaxy() <= 0) {
this.Ykqfrlbdxpcrza = 0;
return(undefined);
}
this.Ywesyczrosksna = this.Ywesyczrosksna - _arg2;
var _local3 = Yytmqbgkwvwvmo.Ymplkgczrdcezo();
if (!(flash.Key.isDown(_local3) && (this.Ymxicatchvdovs))) {
this.Ymxicatchvdovs = !flash.Key.isDown(_local3);
this.Ypakvychdrzfwx();
} else {
if (!this.Yzgmeiaivgefwc) {
this.Yelydmjvwaegfy = true;
}
this.Yzgmeiaivgefwc = true;
this.Yqxyfszqmdkwuh.Ymvsukxfoadfpz(this.Yoqkyexlvadazj() + (Math.cos(this.Yxbjeuepdkusmz) * 24), this.Yzqojqohsrlhgd() + (Math.sin(this.Yxbjeuepdkusmz) * 24));
this.Yqxyfszqmdkwuh.Ymngyvfdmdzaik(this.Yxbjeuepdkusmz);
this.Yvjjjdjxuriyhs = this.Yvjjjdjxuriyhs + (_arg2 * 4);
var _local4 = ((Math.abs(Math.cos(this.Yvjjjdjxuriyhs)) * 0.4) + 0.6) * 100;
this.Yqxyfszqmdkwuh.Yskldzajqgwpbe(_local4);
}
_local3 = Yytmqbgkwvwvmo.Ydrsclkxjneqam();
if (flash.Key.isDown(_local3)) {
this.Yhtxfretmusudf(_arg2);
}
_local3 = Yytmqbgkwvwvmo.Yrxbiduiorhfno();
if (flash.Key.isDown(_local3)) {
this.Ykukbhcesgzulo(_arg2);
}
this.Ymngyvfdmdzaik(this.Yxbjeuepdkusmz);
this.Ysyczkiacpmqai.Ymvsukxfoadfpz(this.Yoqkyexlvadazj() - (Math.cos(this.Yxbjeuepdkusmz) * 23), this.Yzqojqohsrlhgd() - (Math.sin(this.Yxbjeuepdkusmz) * 23));
this.Ysyczkiacpmqai.Ymngyvfdmdzaik(this.Yxbjeuepdkusmz);
this.Ysyczkiacpmqai.Yskldzajqgwpbe((this.Ykqfrlbdxpcrza / 350) * 100);
this.Ysyczkiacpmqai.setScale((this.Ykqfrlbdxpcrza / 350) * 150, 100);
_local3 = Yytmqbgkwvwvmo.Ygzrntplbdciqa();
var _local4 = Yytmqbgkwvwvmo.Ynsiezyzdowvpq();
if (!flash.Key.isDown(_local3)) {
if (!flash.Key.isDown(_local4)) {
this.Ykqfrlbdxpcrza = this.Ykqfrlbdxpcrza * this.Ywmkzfwsajnhgk;
if (Math.abs(this.Ykqfrlbdxpcrza) >= 1) {
this.Yelydmjvwaegfy = true;
} else {
this.Ykqfrlbdxpcrza = 0;
}
this.Yybnohalgjjmrg = false;
} else {
this.Ywbgeqouvnprhp(_arg2, -200);
}
} else {
this.Ysudtblqysetzf(_arg2, 350);
}
Yyuxsrbteznida.Yegqflcnegfoje = this.Yxbjeuepdkusmz;
Yyuxsrbteznida.Yidrepxypiadjl = this.Ykqfrlbdxpcrza;
}
if (this.Yrkquoxpvgaeiv && (this.Ymhnaubfcxiovi != null)) {
this.Ymhnaubfcxiovi.Ymvsukxfoadfpz(this.Yoqkyexlvadazj(), this.Yzqojqohsrlhgd());
}
this.Yqxyfszqmdkwuh.Yomspppmucmduf.swapDepths(Ymiorhfoxwmqgu.Yfdfvdukordzvy.Yujqbxkibiuijr.getNextHighestDepth());
if (this.Yytfmoweunfnph == OBJECT_ID.PLAYER_SHIP) {
this.Yomspppmucmduf.swapDepths(Ymiorhfoxwmqgu.Yfdfvdukordzvy.Yujqbxkibiuijr.getNextHighestDepth());
}
};
_local1.Ysbfznzoouuwbu = null;
_local1.Ysddxfattzgbrp = function (_arg2, _arg3) {
var _local4 = (((Math.cos(Yyuxsrbteznida.Yegqflcnegfoje) * Yyuxsrbteznida.Yidrepxypiadjl) * 9.5) * _arg2) + this.Ypfpvsnirqwaac;
var _local5 = (((Math.sin(Yyuxsrbteznida.Yegqflcnegfoje) * Yyuxsrbteznida.Yidrepxypiadjl) * 9.5) * _arg2) + this.Yyfcfqpmxyaojh;
var _local6 = this.Yvegapssgtelrv;
var _local7 = this.Ymclldxaxqlspc;
var _local8 = _local4 - _local6;
var _local9 = _local5 - _local7;
var _local10 = Math.atan2(_local9, _local8);
if (_local10 < 0) {
_local10 = (Math.PI - Math.abs(_local10)) + Math.PI;
}
var _local11 = this.Yxbjeuepdkusmz - _local10;
if (Math.abs(_local11) > 0.075) {
if (Math.abs(_local11) <= Math.PI) {
if (this.Yxbjeuepdkusmz <= _local10) {
this.Ykukbhcesgzulo(_arg2);
} else {
this.Yhtxfretmusudf(_arg2);
}
} else if (this.Yxbjeuepdkusmz >= _local10) {
this.Ykukbhcesgzulo(_arg2);
} else {
this.Yhtxfretmusudf(_arg2);
}
}
var _local12 = (_local8 * _local8) + (_local9 * _local9);
if (_local12 <= _arg3) {
this.Ywbgeqouvnprhp(_arg2, 0);
this.Ykqfrlbdxpcrza = this.Ykqfrlbdxpcrza * this.Ywmkzfwsajnhgk;
if (Math.abs(this.Ykqfrlbdxpcrza) < 1) {
this.Ykqfrlbdxpcrza = 0;
}
if ((this.Ylzwuyhjodsick == ENEMY_TARGET.PLAYER) && (this.Yijvpyvqukvgvj != ENEMY_AI.FIRE_GUNS)) {
if (Math.random() <= 0.6) {
this.Yijvpyvqukvgvj = ENEMY_AI.FIRE_GUNS;
this.Yaquppnnrbguhy = 3;
this.Ybxprybiswatpt = 0.75;
this.Ykomuzvosgzwqh = true;
} else {
this.Yijvpyvqukvgvj = ENEMY_AI.BRANCH_FIRE;
this.Yaquppnnrbguhy = 1;
this.Ybxprybiswatpt = 1.5;
this.Ykomuzvosgzwqh = true;
}
}
} else if (this.Yijvpyvqukvgvj != ENEMY_AI.TRACK_PLAYER_CLOSE) {
this.Ysudtblqysetzf(_arg2, 350);
} else {
if ((this.Ybxprybiswatpt < (-5)) && (_local12 < 90000)) {
this.Yaquppnnrbguhy = 1;
this.Ybmwnzjvkvcyfw = true;
}
_local12 = _local12 - _arg3;
_local12 = _local12 / 75000;
if (_local12 > 1.1) {
_local12 = 1.1;
}
if (_local12 < 0.75) {
_local12 = 0.75;
}
this.Ysudtblqysetzf(_arg2, 350 * _local12);
}
};
_local1.Ysudtblqysetzf = function (_arg2, _arg3) {
this.Ykqfrlbdxpcrza = this.Ykqfrlbdxpcrza + (_arg2 * 480);
if (this.Yzgmeiaivgefwc && (_arg3 > 120)) {
_arg3 = 120;
}
if (this.Ykqfrlbdxpcrza > (_arg3 * this.Ykossdreetaebz)) {
this.Ykqfrlbdxpcrza = _arg3 * this.Ykossdreetaebz;
}
this.Yybnohalgjjmrg = true;
};
_local1.Ysyczkiacpmqai = null;
_local1.Ytleebdwfyktta = null;
_local1.Yuhkzyawzkycxx = function (_arg2, _arg3) {
this.Ypfpvsnirqwaac = _arg2;
this.Yyfcfqpmxyaojh = _arg3;
};
_local1.Yuigbmklwdukiw = null;
_local1.Yuquvnrxgimgtq = null;
_local1.Yvjjjdjxuriyhs = null;
_local1.Yvrhcknftngzuu = function (_arg2) {
this.Yaquppnnrbguhy = this.Yaquppnnrbguhy - _arg2;
if (this.Yaquppnnrbguhy > this.Yjmmxsicdfylpv) {
this.Yaquppnnrbguhy = this.Yjmmxsicdfylpv;
}
};
_local1.Yvseubduxjdlju = function () {
this.Yqxyfszqmdkwuh.Hide();
this.Ysyczkiacpmqai.Hide();
this.Hide();
};
_local1.Ywbgeqouvnprhp = function (_arg2, _arg3) {
this.Ykqfrlbdxpcrza = this.Ykqfrlbdxpcrza - (_arg2 * 900);
if (this.Ykqfrlbdxpcrza < _arg3) {
this.Ykqfrlbdxpcrza = _arg3;
}
this.Yelydmjvwaegfy = true;
this.Yybnohalgjjmrg = true;
};
_local1.Ywesyczrosksna = null;
_local1.Ywjbefwpquxegx = function () {
this.Ykiapirtlocjdl.Ywtvlhnuyjjsmb();
this.Ykiapirtlocjdl = null;
this.Ysyczkiacpmqai.Ywtvlhnuyjjsmb();
this.Ysyczkiacpmqai = null;
this.Yqxyfszqmdkwuh.Ywtvlhnuyjjsmb();
this.Yqxyfszqmdkwuh = null;
this.Ypssrjkhhzenfo.removeMovieClip();
this.Ypssrjkhhzenfo = null;
this.Yomspppmucmduf.removeMovieClip();
this.Yomspppmucmduf = null;
};
_local1.Ywmkzfwsajnhgk = null;
_local1.Yxbjeuepdkusmz = null;
_local1.Yxdquvawjknivi = function () {
return(this.Ykqfrlbdxpcrza / 350);
};
_local1.Yxokmitxfcbdot = function (_arg2, _arg3) {
var _local4 = (((Math.cos(Yyuxsrbteznida.Yegqflcnegfoje) * Yyuxsrbteznida.Yidrepxypiadjl) * 9.5) * _arg2) + this.Ypfpvsnirqwaac;
var _local5 = (((Math.sin(Yyuxsrbteznida.Yegqflcnegfoje) * Yyuxsrbteznida.Yidrepxypiadjl) * 9.5) * _arg2) + this.Yyfcfqpmxyaojh;
var _local6 = this.Yvegapssgtelrv;
var _local7 = this.Ymclldxaxqlspc;
var _local8 = _local4 - _local6;
var _local9 = _local5 - _local7;
var _local10 = Math.atan2(-_local9, -_local8);
if (_local10 < 0) {
_local10 = (Math.PI - Math.abs(_local10)) + Math.PI;
}
var _local11 = this.Yxbjeuepdkusmz - _local10;
if (Math.abs(_local11) > 0.075) {
if (Math.abs(_local11) <= Math.PI) {
if (this.Yxbjeuepdkusmz <= _local10) {
this.Ykukbhcesgzulo(_arg2);
} else {
this.Yhtxfretmusudf(_arg2);
}
} else if (this.Yxbjeuepdkusmz >= _local10) {
this.Ykukbhcesgzulo(_arg2);
} else {
this.Yhtxfretmusudf(_arg2);
}
}
if (((_local8 * _local8) + (_local9 * _local9)) >= _arg3) {
this.Ywbgeqouvnprhp(_arg2, 0);
this.Ykqfrlbdxpcrza = this.Ykqfrlbdxpcrza * this.Ywmkzfwsajnhgk;
if (Math.abs(this.Ykqfrlbdxpcrza) < 1) {
this.Ykqfrlbdxpcrza = 0;
}
if (this.Ylzwuyhjodsick == ENEMY_TARGET.PLAYER) {
if (Math.random() >= 0.5) {
this.Yijvpyvqukvgvj = ENEMY_AI.TRACK_PLAYER_FAR;
} else {
this.Yijvpyvqukvgvj = ENEMY_AI.TRACK_PLAYER_CLOSE;
}
}
} else {
this.Ysudtblqysetzf(_arg2, 345);
}
};
_local1.Yxyzbnkxvqueif = function () {
this.Ybxprybiswatpt = 0;
var _local2 = this.Yijvpyvqukvgvj;
if (_local2 != ENEMY_AI.FIRE_GUNS) {
if (_local2 != ENEMY_AI.BRANCH_FIRE) {
if (_local2 != ENEMY_AI.SCOUT) {
if (_local2 != ENEMY_AI.TRACK_PLAYER_FAR) {
if (_local2 != ENEMY_AI.TRACK_PLAYER_CLOSE) {
if (_local2 != ENEMY_AI.TURN_LEFT) {
if (_local2 != ENEMY_AI.TURN_RIGHT) {
// unexpected jump
this.Yijvpyvqukvgvj = ENEMY_AI.BRANCH_FIRE;
this.Yaquppnnrbguhy = 2;
// unexpected jump
if (Math.random() <= 0.5) {
this.Yijvpyvqukvgvj = ENEMY_AI.TRACK_PLAYER_CLOSE;
} else {
this.Yijvpyvqukvgvj = ENEMY_AI.TRACK_PLAYER_FAR;
}
// unexpected jump
this.Ysbfznzoouuwbu = this.Yjlhefykkwxyho + (Math.random() * this.Yysyqiazsxeuxd);
this.Yqxijnaptzppje = this.Ytleebdwfyktta + (Math.random() * this.Yhwvkqsajzjsla);
// unexpected jump
this.Yijvpyvqukvgvj = ENEMY_AI.FIRE_GUNS;
this.Yaquppnnrbguhy = 1;
this.Ybxprybiswatpt = 0.2;
// unexpected jump
this.Yijvpyvqukvgvj = ENEMY_AI.FIRE_GUNS;
this.Yaquppnnrbguhy = 1;
this.Ybxprybiswatpt = 0.2;
// unexpected jump
this.Yaquppnnrbguhy = 4;
this.Ybmwnzjvkvcyfw = true;
this.Ybxprybiswatpt = 1.5;
// unexpected jump
}
}
}
}
}
}
} else {
this.Yijvpyvqukvgvj = ENEMY_AI.BRANCH_FIRE;
this.Yaquppnnrbguhy = 2;
// unexpected jump
if (Math.random() <= 0.5) {
this.Yijvpyvqukvgvj = ENEMY_AI.TRACK_PLAYER_CLOSE;
} else {
this.Yijvpyvqukvgvj = ENEMY_AI.TRACK_PLAYER_FAR;
}
// unexpected jump
this.Ysbfznzoouuwbu = this.Yjlhefykkwxyho + (Math.random() * this.Yysyqiazsxeuxd);
this.Yqxijnaptzppje = this.Ytleebdwfyktta + (Math.random() * this.Yhwvkqsajzjsla);
// unexpected jump
this.Yijvpyvqukvgvj = ENEMY_AI.FIRE_GUNS;
this.Yaquppnnrbguhy = 1;
this.Ybxprybiswatpt = 0.2;
// unexpected jump
this.Yijvpyvqukvgvj = ENEMY_AI.FIRE_GUNS;
this.Yaquppnnrbguhy = 1;
this.Ybxprybiswatpt = 0.2;
// unexpected jump
this.Yaquppnnrbguhy = 4;
this.Ybmwnzjvkvcyfw = true;
this.Ybxprybiswatpt = 1.5;
// unexpected jump
this.Yaquppnnrbguhy = 4;
this.Ybmwnzjvkvcyfw = true;
this.Ybxprybiswatpt = 1.5;
}
this.Ykomuzvosgzwqh = false;
};
_local1.Yxzpfivnhhtnoz = function (_arg2, _arg3, _arg4, _arg5) {
this.Yjlhefykkwxyho = _arg2;
this.Ytleebdwfyktta = _arg3;
this.Yysyqiazsxeuxd = _arg4;
this.Yhwvkqsajzjsla = _arg5;
};
_local1.Yybnohalgjjmrg = null;
_local1.Yycxhwzsnlifbw = function () {
return(this.Yaquppnnrbguhy / this.Yjmmxsicdfylpv);
};
_local1.Yyeskaetoflsdq = function (_arg2) {
return((Math.cos(this.Yxbjeuepdkusmz) * this.Ykqfrlbdxpcrza) * _arg2);
};
_local1.Yyfcfqpmxyaojh = null;
_local1.Yysyqiazsxeuxd = null;
_local1.Yytfmoweunfnph = null;
_local1.Yytkxqmranhmba = function (_arg2) {
var _local3 = this.Yvegapssgtelrv;
var _local4 = this.Ymclldxaxqlspc;
var _local5 = _arg2.Yvegapssgtelrv;
var _local6 = _arg2.Ymclldxaxqlspc;
var _local7 = _local5 - _local3;
var _local8 = _local6 - _local4;
var _local9 = Math.sqrt((_local7 * _local7) + (_local8 * _local8));
return(_local9 < (this.Yfpjgygzukkdhl + _arg2.Ywhdhyagsmeupc()));
};
_local1.Yytvbulbhrdnjv = function (_arg2, _arg3) {
var _local4 = this.Yvegapssgtelrv;
var _local5 = this.Ymclldxaxqlspc;
var _local6 = _arg2.Yvegapssgtelrv;
var _local7 = _arg2.Ymclldxaxqlspc;
var _local8 = _local6 - _local4;
var _local9 = _local7 - _local5;
var _local10 = Math.sqrt((_local8 * _local8) + (_local9 * _local9));
return(_local10 < _arg3);
};
_local1.Yyutcvxxdlbhkn = function (_arg2, _arg3, _arg4) {
var _local5 = this.Ypfpvsnirqwaac;
var _local6 = this.Yyfcfqpmxyaojh;
var _local7 = this.Yvegapssgtelrv;
var _local8 = this.Ymclldxaxqlspc;
var _local9 = this.Ysbfznzoouuwbu - _local7;
var _local10 = this.Yqxijnaptzppje - _local8;
var _local11 = Math.atan2(_local10, _local9);
var _local12 = (_local9 * _local9) + (_local10 * _local10);
_local9 = _local5 - _local7;
_local10 = _local6 - _local8;
var _local13 = (_local9 * _local9) + (_local10 * _local10);
if ((_local13 < _arg3) && ((this.Yytfmoweunfnph != OBJECT_ID.ENEMY_GHOST) && (!Yytmqbgkwvwvmo.Ydiayxjzwpmhtv))) {
this.Yijvpyvqukvgvj = ENEMY_AI.TRACK_PLAYER_FAR;
}
if (_local11 < 0) {
_local11 = (Math.PI - Math.abs(_local11)) + Math.PI;
}
var _local14 = this.Yxbjeuepdkusmz - _local11;
if ((Math.abs(_local14) > 0.1) && (_local12 > 800)) {
if (Math.abs(_local14) <= Math.PI) {
if (this.Yxbjeuepdkusmz <= _local11) {
this.Ykukbhcesgzulo(_arg2);
} else {
this.Yhtxfretmusudf(_arg2);
}
} else if (this.Yxbjeuepdkusmz >= _local11) {
this.Ykukbhcesgzulo(_arg2);
} else {
this.Yhtxfretmusudf(_arg2);
}
}
if (_local12 <= 800) {
this.Ywbgeqouvnprhp(_arg2, 0);
this.Ykqfrlbdxpcrza = this.Ykqfrlbdxpcrza * this.Ywmkzfwsajnhgk;
if (Math.abs(this.Ykqfrlbdxpcrza) < 1) {
this.Ykqfrlbdxpcrza = 0;
this.Ykomuzvosgzwqh = true;
this.Ybxprybiswatpt = -1;
}
} else {
this.Ysudtblqysetzf(_arg2, _arg4);
}
};
_local1.Yzagvduulpmfkb = function (_arg2) {
return((_arg2 != OBJECT_ID.PLAYER_BULLET) && (_arg2 != OBJECT_ID.ENEMY_BULLET));
};
_local1.Yzgmeiaivgefwc = null;
((Ymglinnpspnhcy = function (_arg3, _arg4, _arg5, _arg6) {
this.Ycjerozbitjwbq = false;
this.Yfpjgygzukkdhl = _arg6;
this.Yytfmoweunfnph = _arg5;
super(_arg3, 0, 0, _arg4, false);
this.Ywmkzfwsajnhgk = 1;
this.Ytxaroygapzptb = false;
this.Yziosxgvgzaysu = false;
this.Yzgmsvdiumrndv = 0;
this.Yqtmkugmzyithp = 0;
this.Yfifxfqozqcudx = Yytmqbgkwvwvmo.Yfifxfqozqcudx;
Yytmqbgkwvwvmo.Yfifxfqozqcudx++;
if (this.Yytfmoweunfnph != OBJECT_ID.SPACE_MAN) {
if (this.Yytfmoweunfnph != OBJECT_ID.HEALTH) {
this.Ykiapirtlocjdl = null;
} else {
this.Ykiapirtlocjdl = new Ymiorhfoxwmqgu("map_dotb", 0, 0, true, false);
}
} else {
this.Ykiapirtlocjdl = new Ymiorhfoxwmqgu("map_dotb", 0, 0, true, false);
}
if (this.Ykiapirtlocjdl != null) {
this.Ykiapirtlocjdl.Hide();
this.Ykiapirtlocjdl.Ymvsukxfoadfpz(-100, -100);
}
})).__name__ = ["Ymglinnpspnhcy"];
Ymglinnpspnhcy /*register */.__super__ = Yualocnfvatppn;
//Ymglinnpspnhcy /*register */ extends Yualocnfvatppn
_local1 = Ymglinnpspnhcy /*register */.prototype;
_local1.__class__ = Ymglinnpspnhcy /*register */;
_local1.Yamonltwvxzczq = null;
_local1.Ycjerozbitjwbq = null;
_local1.Yeohdqfnhkfhww = function () {
return(this.Yytfmoweunfnph);
};
_local1.Yfifxfqozqcudx = null;
_local1.Yfpjgygzukkdhl = null;
_local1.Ykeqaylrhskldh = function (_arg2, _arg3, _arg4, _arg5, _arg6, _arg7) {
this.Ykrogtblmpnmxr = 99999999 /* 0x5F5E0FF */;
this.Ywdsmgfgrbwevn(0);
this.Yygkxvbgvrkndv(_arg5);
this.Yenissvybshxqd = _arg4;
this.Yqtmkugmzyithp = _arg7;
if ((this.Yqtmkugmzyithp == 0) && (this.Ylbujpcurxlnhn(this.Yytfmoweunfnph))) {
this.Ymngyvfdmdzaik(_arg5);
}
this.Yvegapssgtelrv = _arg2;
this.Ymclldxaxqlspc = _arg3;
this.Yjteswfaopobkb = true;
this.Yfifxfqozqcudx = Yytmqbgkwvwvmo.Yfifxfqozqcudx;
Yytmqbgkwvwvmo.Yfifxfqozqcudx++;
this.Yrehowxhmfswau = -1;
};
_local1.Ykiapirtlocjdl = null;
_local1.Ylbujpcurxlnhn = function (_arg2) {
return((_arg2 != OBJECT_ID.SPACE_MAN) && ((_arg2 != OBJECT_ID.ASTEROID_LARGE) && ((_arg2 != OBJECT_ID.ASTEROID_SMALL) && ((_arg2 != OBJECT_ID.ASTEROID_SOLID_LARGE) && (_arg2 != OBJECT_ID.ASTEROID_SOLID_SMALL)))));
};
_local1.Ylctnglhmgajlh = function (_arg2) {
var _local3 = _arg2.Yvegapssgtelrv - _arg2.Yamonltwvxzczq;
var _local4 = _arg2.Ymclldxaxqlspc - _arg2.Ylwsfcdalmzxtp;
var _local5 = _local3 / 5;
var _local6 = _local4 / 5;
if (!((_local5 > 1) || (_local6 > 1))) {
return(this.Yytkxqmranhmba(_arg2));
}
var _local7 = Math.floor(_local5);
if (_local6 > _local5) {
_local7 = Math.floor(_local6);
}
var _local8 = this.Yvegapssgtelrv;
var _local9 = this.Ymclldxaxqlspc;
var _local10 = 0;
var _local11 = _local7;
while (_local10 < _local11) {
var _local12 = _local10;
_local10++;
var _local13 = (_arg2.Yamonltwvxzczq + (_local5 * _local12)) - _local8;
var _local14 = (_arg2.Ylwsfcdalmzxtp + (_local6 * _local12)) - _local9;
var _local15 = Math.sqrt((_local13 * _local13) + (_local14 * _local14));
if (_local15 < (this.Yfpjgygzukkdhl + _arg2.Ywhdhyagsmeupc())) {
return(true);
}
}
return(false);
};
_local1.Ylwsfcdalmzxtp = null;
_local1.Ypfpvsnirqwaac = null;
_local1.Yrehowxhmfswau = null;
_local1.Ytwtnhcgqhfptf = function (_arg2, _arg3) {
this.Yvegapssgtelrv = _arg2;
this.Ymclldxaxqlspc = _arg3;
};
_local1.Ytxaroygapzptb = null;
_local1.Yuhkzyawzkycxx = function (_arg2, _arg3) {
this.Ypfpvsnirqwaac = _arg2;
this.Yyfcfqpmxyaojh = _arg3;
};
_local1.Yvcozihrthmisw = function (_arg2) {
this.Yamonltwvxzczq = this.Yvegapssgtelrv;
this.Ylwsfcdalmzxtp = this.Ymclldxaxqlspc;
this.Yoqdlzxujflpqf(_arg2);
if ((this.Yqtmkugmzyithp == 0) && (this.Ylbujpcurxlnhn(this.Yytfmoweunfnph))) {
this.Ymngyvfdmdzaik(this.Ysidpdbatnmpdl());
}
this.Yomspppmucmduf._x = (this.Yvegapssgtelrv - this.Ypfpvsnirqwaac) + (flash.Stage.width / 2);
this.Yomspppmucmduf._y = (this.Ymclldxaxqlspc - this.Yyfcfqpmxyaojh) + (378 / 2);
if (!((this.Yomspppmucmduf._x < -20) || ((this.Yomspppmucmduf._x > (flash.Stage.width + 20)) || ((this.Yomspppmucmduf._y < -20) || (this.Yomspppmucmduf._y > (378 + 20)))))) {
this.Ymmtrhylgmnpgm();
} else {
this.Hide();
}
var _local3 = 0;
var _local4 = 0;
if (!(((Yytmqbgkwvwvmo.Ydmglwolxoshio != 1) && (Yytmqbgkwvwvmo.Ydmglwolxoshio != 3)) || (Yytmqbgkwvwvmo.Yjjfzenzdzpujl || (Yytmqbgkwvwvmo.Ycotqqftouyads)))) {
_local3 = ((this.Yvegapssgtelrv - this.Ypfpvsnirqwaac) * 0.0344) + 140;
_local4 = ((this.Ymclldxaxqlspc - this.Yyfcfqpmxyaojh) * 0.028) + 420;
} else {
_local3 = ((this.Yvegapssgtelrv - this.Ypfpvsnirqwaac) * 0.0172) + 140;
_local4 = ((this.Ymclldxaxqlspc - this.Yyfcfqpmxyaojh) * 0.014) + 420;
}
if (!((this.Yytfmoweunfnph != OBJECT_ID.SPACE_MAN) && ((Yytmqbgkwvwvmo.Yflzcgiffdtzgv && (this.Yytfmoweunfnph != OBJECT_ID.HEALTH)) || (Yytmqbgkwvwvmo.Yflzcgiffdtzgv == false)))) {
if ((!this.Ykiapirtlocjdl.Yjteswfaopobkb) && ((_local3 > 98) && ((_local4 > 385) && ((_local3 < 184) && (_local4 < 455))))) {
this.Ykiapirtlocjdl.Ymmtrhylgmnpgm();
}
if (this.Ykiapirtlocjdl.Yjteswfaopobkb && (!((_local3 > 98) && ((_local4 > 385) && ((_local3 < 184) && (_local4 < 455)))))) {
this.Ykiapirtlocjdl.Hide();
}
if (this.Ykiapirtlocjdl.Yjteswfaopobkb) {
this.Ykiapirtlocjdl.Ymvsukxfoadfpz(_local3, _local4);
this.Ykiapirtlocjdl.Yomspppmucmduf.swapDepths(Ymiorhfoxwmqgu.Yfdfvdukordzvy.Yujqbxkibiuijr.getNextHighestDepth());
}
}
if ((this.Yvegapssgtelrv <= -7000) || ((this.Yvegapssgtelrv >= 7000) || ((this.Ymclldxaxqlspc <= -7000) || (this.Ymclldxaxqlspc >= 7000)))) {
this.Yvegapssgtelrv = this.Yvegapssgtelrv * (-1);
this.Ymclldxaxqlspc = this.Ymclldxaxqlspc * (-1);
}
if (((this.Yomspppmucmduf._x < -60) || (this.Yomspppmucmduf._x > (flash.Stage.width + 60))) || ((this.Yomspppmucmduf._y < -60) || (this.Yomspppmucmduf._y > (flash.Stage.height + 60)))) {
if (!((this.Yytfmoweunfnph == OBJECT_ID.PLAYER_BULLET) || (this.Yytfmoweunfnph == OBJECT_ID.ENEMY_BULLET))) {
this.Hide();
} else {
this.Ytxaroygapzptb = true;
}
}
};
_local1.Ywhdhyagsmeupc = function () {
return(this.Yfpjgygzukkdhl);
};
_local1.Ywmkzfwsajnhgk = null;
_local1.Ywtvlhnuyjjsmb = function () {
if (this.Ykiapirtlocjdl != null) {
this.Ykiapirtlocjdl.Ywtvlhnuyjjsmb();
this.Ykiapirtlocjdl = null;
}
this.Ypssrjkhhzenfo.removeMovieClip();
this.Ypssrjkhhzenfo = null;
this.Yomspppmucmduf.removeMovieClip();
this.Yomspppmucmduf = null;
};
_local1.Yyfcfqpmxyaojh = null;
_local1.Yytfmoweunfnph = null;
_local1.Yytkxqmranhmba = function (_arg2) {
var _local3 = this.Yvegapssgtelrv;
var _local4 = this.Ymclldxaxqlspc;
var _local5 = _arg2.Yvegapssgtelrv;
var _local6 = _arg2.Ymclldxaxqlspc;
var _local7 = _local5 - _local3;
var _local8 = _local6 - _local4;
var _local9 = Math.sqrt((_local7 * _local7) + (_local8 * _local8));
return(_local9 < (this.Yfpjgygzukkdhl + _arg2.Ywhdhyagsmeupc()));
};
_local1.Yzgmsvdiumrndv = null;
_local1.Yziosxgvgzaysu = null;
((Yytmqbgkwvwvmo = function () {
Yytmqbgkwvwvmo.Ygcgjwbxwwugmt = new Ywlgpyzltlyzmr();
this.Ytztomgndsrkqz = new Ydlcuexkrcxtgf();
this.Ytztomgndsrkqz.Frame();
Ymiorhfoxwmqgu.Yfdfvdukordzvy = Yytmqbgkwvwvmo.Ygcgjwbxwwugmt;
this.Yapmnijckdmxdg = false;
Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr._visible = false;
Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.useHandCursor = true;
Yytmqbgkwvwvmo.Yxhrvdiijnjais = false;
Yytmqbgkwvwvmo.Yvlxgouwltstgp = false;
Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.onMouseDown = function () {
Yytmqbgkwvwvmo.Yxhrvdiijnjais = true;
Yytmqbgkwvwvmo.Yvlxgouwltstgp = false;
};
Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.onMouseUp = function () {
Yytmqbgkwvwvmo.Yvlxgouwltstgp = true;
Yytmqbgkwvwvmo.Yxhrvdiijnjais = false;
};
Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.onKeyDown = function () {
if (flash.Key.getCode() == 13) {
Yytmqbgkwvwvmo.Ybkamknqsvvnxc = true;
}
};
flash.Key.addListener(Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr);
Ykooahbhkzabif.Ycqspgdffnorko();
this.Ybljeqshctgukz = 0;
this.Ytjafjuqocmqun = 0;
this.Yrcqkcubmzvqyi = 0;
Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr._visible = true;
this.Yjcnazghythklp = false;
this.Ycejdvfpxmklgs = "Welcome to the Akia Space Protection Agency. I'm Katyana and I'll be your missions co-ordinator from now on.\n\nTo the right of my transmitted image you'll see missions available to you. Mouse over one and I'll provide you with more info about that mission. Click on it to accept the mission.";
this.Ythyniabsuhxnk = "Here are the basic controls.\n\nThe arrow keys will control your ship.\nThe space bar fires your weapon.\nThe 'z' key engages the tractor beam.\n\nClick to enter a secure training area and see more detailed help.";
this.Yqggffdswwovvb = "This is a straight forward mission. You must go out and destroy Trelogan fighters. They have been causing trouble in various sectors where the Antech Mining Co. is trying to secure new mining bases.\n\nIn this game mode your score is tracked and can be submitted.";
this.Yxsejcceriqcsx = new Array();
this.Yxsejcceriqcsx[0] = "Stranded,first,This is the first mission in a series. When you pass this one you move onto the next. The series missions always appear between Training and Making Space.\nMiners from the Antech Mining Co. have been stranded in various positions within sector 53. Go and retrieve them. If any die you will fail the mission.,1,300,5000,5000,59,4,-1061,-1136,0,0,-0.000962386141047988,0,0,4,-681,-1384,0,0,-0.299485899880289,0,0,4,-906,-1439,0,0,-0.332082511778959,0,0,4,-792,-665,0,0,-0.359349202764849,0,0,4,-1097,-526,0,0,0.381519278921894,0,0,4,-1746,81,0,0,0.183243012839576,0,0,4,-1737,-635,0,0,0.327325565660058,0,0,4,-1627,-1889,0,0,-0.491870114576011,0,0,4,-1760,-1753,0,0,0.241811498879367,0,0,4,-912,-1960,0,0,0.0743902551822319,0,0,4,-1335,-1954,0,0,0.242389779417957,0,0,4,-1305,-1283,0,0,0.0718002601395362,0,0,4,-1386,-1580,0,0,-0.236737906344579,0,0,4,-926,-1802,0,0,0.388392090745453,0,0,4,18,-430,0,0,0.217369247096297,0,0,4,308,-189,0,0,0.117134720374427,0,0,4,154,56,0,0,-0.423968857118845,0,0,4,-283,-89,0,0,0.299446565005671,0,0,4,-302,-233,0,0,0.179450880121184,0,0,4,752,-651,0,0,-0.262321807799079,0,0,4,583,348,0,0,-0.361211633245094,0,0,4,867,420,0,0,0.107117529309875,0,0,4,-857,559,0,0,0.410343960817132,0,0,4,-548,518,0,0,-0.498572309500804,0,0,4,6,919,0,0,0.0275129440834341,0,0,4,97,1092,0,0,-0.223000894171652,0,0,4,35,422,0,0,0.101814086363564,0,0,4,-116,-1416,0,0,0.259467043336233,0,0,4,247,-1206,0,0,-0.105144867023986,0,0,8,-641,-963,0,0,0,0,0,8,59,-1089,0,0,0,0,0,1,-1648,720,0,0,0,446,545,4,-1320,689,0,0,0.0739953595092498,0,0,4,-1447,1008,0,0,0.345709751288271,0,0,4,-1557,618,0,0,-0.0862485694634954,0,0,8,-1307,902,0,0,0,0,0,8,-1328,983,0,0,0,0,0,8,-1320,1067,0,0,0,0,0,4,752,-1813,0,0,-0.0772180704293857,0,0,4,550,-1587,0,0,0.39266666299322,0,0,4,1064,-1173,0,0,0.473666639986293,0,0,4,1229,-209,0,0,0.132520508315657,0,0,4,914,1264,0,0,0.434361412624997,0,0,4,-440,1376,0,0,0.298242651763485,0,0,4,-434,1210,0,0,0.114446302696339,0,0,5,-526,1279,0,0,-0.0899514814791975,0,0,5,-541,1502,0,0,0.484449893228919,0,0,5,29,-2124,0,0,0.481579608741021,0,0,5,115,-1923,0,0,0.486546408844435,0,0,4,-231,-2130,0,0,0.0929489669357189,0,0,8,-71,-2076,306,0,8,0,0,8,59,-1977,118,0,5,0,0,8,1036,1228,0,0,0,0,0,8,1039,1428,0,0,0,0,0,1,881,-160,0,0,0,248,297,1,1264,-1996,0,0,0,396,495,1,-896,-1220,0,0,0,149,149,3,655,1412,0,0,0,297,248,10,-1634,-478,0,0,0,0,0,60,0.8,0,34";
this.Yxsejcceriqcsx[1] = "Fading Fast,psycle,This Mission Code Is PSYCLE\n\nYou are half way across the sector and your ships hull is breaking down quickly. You need to race back as fast as possible. You must collect all the health kits or you will not finish the mission.,0,0,5000,5000,45,10,-2404,-2410,39,102,0,0,0,6,-2234,-2439,0,0,0.490070030088569,0,0,6,-2425,-2284,0,0,-0.414437846706453,0,0,6,-2151,-2130,0,0,-0.0251534676762081,0,0,6,-2033,-1941,0,0,-0.317489355251887,0,0,6,-1806,-2146,0,0,-0.239462849562738,0,0,6,-1681,-1886,0,0,0.20433190684036,0,0,6,-1765,-1677,0,0,-0.239758597565702,0,0,6,-2254,-1758,0,0,0.242274534768553,0,0,6,-2428,-1567,0,0,-0.100746539701124,0,0,6,-2461,-1294,0,0,-0.146155078264957,0,0,6,-2365,-892,0,0,0.367924478774855,0,0,6,-2021,-885,0,0,-0.0451722389763092,0,0,6,-2184,-329,0,0,0.204355554983185,0,0,6,-1977,-359,0,0,0.239552886569664,0,0,6,-1921,-115,0,0,-0.338208141195685,0,0,6,-1775,-218,0,0,-0.0821053951895355,0,0,6,-1560,-82,0,0,0.468023165114235,0,0,6,-1592,53,0,0,-0.254045337789713,0,0,6,-1027,173,0,0,-0.0908182028638284,0,0,6,-753,-135,0,0,0.0154802373216861,0,0,6,-254,-240,0,0,-0.362164322222659,0,0,6,-259,-48,0,0,0.489562437399087,0,0,6,649,56,0,0,-0.211683653160782,0,0,6,560,207,0,0,0.410040704957228,0,0,6,1041,456,0,0,0.34964076841699,0,0,6,1149,353,0,0,0.348168794926335,0,0,6,1471,868,0,0,-0.301780017931843,0,0,6,1657,744,0,0,0.0674549581331457,0,0,6,1602,1171,0,0,0.0749089646036313,0,0,6,1862,1102,0,0,0.147422039717167,0,0,6,1702,1498,0,0,-0.282284760280645,0,0,6,1902,1492,0,0,-0.3887719064433,0,0,6,1801,1744,0,0,0.12584077549439,0,0,9,1805,1623,0,0,0,0,0,9,-1575,-18,0,0,0,0,0,9,-2183,-881,0,0,0,0,0,9,-1993,-251,0,0,0,0,0,9,-2226,-1387,0,0,0,0,0,9,-1867,-1991,0,0,0,0,0,9,-1995,-1713,0,0,0,0,0,9,-2217,-2294,0,0,0,0,0,9,-706,69,0,0,0,0,0,9,560,117,0,0,0,0,0,9,1563,809,0,0,0,0,0,60,0.9,1,34";
this.Yxsejcceriqcsx[2] = "Guard Duty,louke,This Mission Code Is LOUKE\n\nThe Trelogans have setup up guard drones around several stranded astronauts. These drones are immune to your guns. You must find a different way to destroy them. Be careful not to kill any astronauts.,0,0,5000,5000,42,10,-146,-130,0,0,0,0,0,6,-1639,-797,0,0,-0.257462945653807,0,0,6,-2053,-727,0,0,-0.343151394670434,0,0,6,-1715,-404,0,0,0.375321734638569,0,0,6,-1997,-958,0,0,-0.244149908769946,0,0,8,-1980,-862,0,0,0,0,0,8,-1818,-879,0,0,0,0,0,8,-1731,-811,0,0,0,0,0,11,-1742,-566,0,0,0,0,0,11,-1623,-1038,0,0,0,0,0,11,-2077,-1117,0,0,0,0,0,6,-1959,-271,0,0,0.132863217328146,0,0,6,-1355,-1307,0,0,0.435034803550241,0,0,6,-1611,-1323,0,0,0.421546474062626,0,0,6,-2157,-1331,0,0,0.444030121874078,0,0,8,965,-1220,0,0,0,0,0,8,1191,-1236,0,0,0,0,0,8,1086,-1057,0,0,0,0,0,6,1233,-1313,0,0,-0.19753295169097,0,0,6,1078,-1185,0,0,-0.056893047204657,0,0,6,1159,-1468,0,0,0.0186426087835071,0,0,6,826,-1379,0,0,0.0525044284539784,0,0,6,1056,-832,0,0,-0.156575466811925,0,0,6,854,-949,0,0,-0.108287486996636,0,0,11,1218,-851,0,0,0,0,0,11,1269,-1561,0,0,0,0,0,11,816,-1077,0,0,0,0,0,2,1152,-522,0,0,0,545,594,6,1027,-1720,0,0,0.247840057009757,0,0,5,-248,-1886,114,15,15,0,0,4,-489,-1197,0,0,-0.372794240653885,0,0,4,273,-761,0,0,-0.0443140522317561,0,0,4,-855,-491,0,0,0.144422941209945,0,0,4,-1674,479,0,0,-0.287280562700369,0,0,4,-694,158,0,0,-0.0732290998907895,0,0,4,740,468,0,0,-0.103969777749837,0,0,4,-250,877,0,0,0.0630020129322084,0,0,4,401,-180,0,0,-0.116987498764409,0,0,4,1819,-934,0,0,0.256153055353161,0,0,4,-1048,739,0,0,-0.070940604233621,0,0,3,-1158,718,0,0,0,0,0,4,-137,245,0,0,0.167158669171463,0,0,70,1.3,0,25";
this.Yxsejcceriqcsx[3] = "Energy Leak,stasis,This Mission Code Is STASIS\n\nIt looks like you have an energy leak coming from your life support system. You must race back in time before your energy runs out. Be sure to collect all health kits along the way or you won't make it. Be carefull this sector has more asteroid and Trelogan activity.,0,0,5000,5000,49,10,-179,-2451,90,94,0,0,0,6,-402,-2234,0,0,0.282637788812927,0,0,6,63,-2239,0,0,0.163103963091552,0,0,6,-394,-1767,0,0,0.382841684800965,0,0,6,-85,-1638,0,0,-0.269068311326703,0,0,6,-819,-1197,0,0,-0.304675044866593,0,0,6,-562,-1008,0,0,0.487992139061909,0,0,6,-1310,-743,0,0,-0.207401113914047,0,0,6,-1459,-386,0,0,0.499650677200244,0,0,6,-1233,-345,0,0,-0.160091693820475,0,0,6,-1210,335,0,0,-0.0228685641302115,0,0,6,-1082,238,0,0,0.264756446594725,0,0,6,-933,717,0,0,0.0880525231305754,0,0,6,-816,689,0,0,-0.476502556342866,0,0,6,-663,1233,0,0,0.0442408372388412,0,0,6,-516,1151,0,0,0.1145032302544,0,0,6,-95,1740,0,0,-0.205526747138019,0,0,6,0,1599,0,0,-0.113631414535284,0,0,6,566,1804,0,0,-0.413268955384041,0,0,6,579,2017,0,0,-0.387404812913111,0,0,6,1227,1694,0,0,0.338045991416111,0,0,6,1382,1880,0,0,-0.410324800252134,0,0,6,1877,1335,0,0,-0.0452300508251554,0,0,6,1744,1293,0,0,-0.427429704427454,0,0,6,1837,1009,0,0,0.173755522665454,0,0,6,1992,1023,0,0,-0.45175481306005,0,0,6,1994,501,0,0,-0.218503451309401,0,0,6,2167,525,0,0,-0.0540316195944471,0,0,6,2121,335,0,0,-0.129537381524936,0,0,9,2097,436,0,0,0,0,0,9,1863,1166,0,0,0,0,0,9,980,1910,0,0,0,0,0,9,-460,1325,0,0,0,0,0,9,-877,704,0,0,0,0,0,9,-1306,-526,0,0,0,0,0,9,-364,-1462,0,0,0,0,0,4,-437,32,139,13,-6,0,0,4,-1213,-725,313,15,0,0,0,4,1563,1616,0,0,-0.027437527909613,0,0,4,881,420,14,15,17,0,0,4,-1343,1446,0,0,0,0,0,3,418,-284,0,0,0,396,297,3,1290,-1672,0,0,0,446,347,2,-1318,2020,0,0,0,347,347,2,-1961,-1821,0,0,0,297,248,9,-683,1057,0,0,0,0,0,9,253,1807,0,0,0,0,0,9,1617,1559,0,0,0,0,0,4,-1037,-594,0,0,-0.373927059058997,0,0,0,1.3,1,25";
this.Yxsejcceriqcsx[4] = "Overcrowded,packed,This Mission Code Is PACKED\n\nWe have recently discovered that sector 67 has become totally over run with Trelogan fighters and drones. We need you to go in there and totally wipe them out.,0,0,5000,5000,51,10,1278,-1378,0,0,0,0,0,4,-1521,-1953,0,0,-0.129883200223503,0,0,4,-1769,-1302,0,0,-0.16537855596532,0,0,4,-751,-1507,0,0,0.220036933068203,0,0,4,-1137,-627,0,0,0.22478249935656,0,0,4,289,-479,0,0,0.309041542843469,0,0,4,300,-1924,0,0,-0.231108097234326,0,0,4,1676,-1910,0,0,-0.277128285624612,0,0,4,1557,-915,0,0,-0.0129748585228691,0,0,4,1278,575,0,0,-0.179903679378286,0,0,4,287,-1273,0,0,-0.133689673912567,0,0,4,-1058,1097,0,0,-0.389144077379789,0,0,4,-669,293,0,0,0.170334648653089,0,0,4,507,1496,0,0,0.286922759742906,0,0,4,1730,1603,0,0,-0.495462284886959,0,0,4,-2022,330,0,0,0.325328222860269,0,0,5,-1598,246,0,0,0.046335362618014,0,0,5,-462,-657,0,0,0.193636532730254,0,0,5,-277,-479,0,0,0.179414696376498,0,0,5,-1866,-817,0,0,-0.420321151111424,0,0,5,1076,-500,0,0,-0.480376411685895,0,0,5,247,302,0,0,-0.296195284368561,0,0,5,-113,999,0,0,-0.431633264725857,0,0,5,1631,47,0,0,-0.166515627720633,0,0,4,-253,-1670,0,0,0.313179141754834,0,0,2,-1535,-1051,0,0,0,99,149,3,470,-885,0,0,0,149,149,11,624,252,0,0,0,0,0,11,-1452,752,0,0,0,0,0,11,-527,-851,0,0,0,0,0,6,-433,-1234,0,0,-0.0113717343245501,0,0,6,-80,-998,0,0,-0.484087312120985,0,0,6,981,52,0,0,0.256443554887755,0,0,6,13,-13,0,0,-0.17876569166722,0,0,6,-577,1610,0,0,-0.295042305158005,0,0,6,-1251,87,0,0,0.320435335310379,0,0,6,-1724,1374,0,0,-0.20394847714526,0,0,2,-59,724,0,0,0,99,99,3,1350,1227,0,0,0,297,198,4,1067,-1312,0,0,-0.188971524447655,0,0,4,805,-203,0,0,0.0692033854169787,0,0,4,-736,-258,0,0,-0.130406824234131,0,0,4,-1532,-300,0,0,0.0521995846890843,0,0,4,-1384,-1769,0,0,-0.4835929702891,0,0,4,1273,-1919,0,0,-0.212144560977884,0,0,4,1822,-439,0,0,0.435893646411548,0,0,4,1004,801,0,0,0.206542845213107,0,0,4,541,964,0,0,-0.0642704365608611,0,0,6,915,-112,0,0,0.260817257576071,0,0,6,-1803,712,0,0,-0.49087837058626,0,0,1,-1050,-2217,0,0,0,99,99,70,1.5,0,20";
this.Yxsejcceriqcsx[5] = "Finished,done,You have finished all the missions.\n\nPlease visit www.oceanbreezegames.com to see if more missions are available., 0,0,5000,5000,0,0";
Yytmqbgkwvwvmo.Ydmglwolxoshio = 0;
this.Yyhmtqzjlklrxc = false;
this.Yfksnvhoizptnw = new Array();
this.Ybncefyrrctbgl = 0.6;
this.Yacogpyvdzfadc = 0.8;
this.Yonidrepbonspm = new List();
this.Yqlravqulebosf = new List();
this.Yuoqlrirwgsimj = new List();
this.Yicpkgatagpyor = 0;
this.Yjeuvtcesjhrys = false;
Yytmqbgkwvwvmo.Ydiayxjzwpmhtv = false;
this.Ymxiwdfgkdbrds = 0;
this.Yaciydcdsewylw = null;
this.Yqkkwfaemtyjud = true;
this.Yambraglsvrhqq();
})).__name__ = ["Yytmqbgkwvwvmo"];
_local1 = Yytmqbgkwvwvmo /*register */.prototype;
_local1.__class__ = Yytmqbgkwvwvmo /*register */;
Yytmqbgkwvwvmo /*register */.Yfifxfqozqcudx = null;
Yytmqbgkwvwvmo /*register */.Yxqrdbucaokefu = null;
Yytmqbgkwvwvmo /*register */.Ygcgjwbxwwugmt = null;
Yytmqbgkwvwvmo /*register */.Ymopncgvattzjo = null;
Yytmqbgkwvwvmo /*register */.Yjjfzenzdzpujl = null;
Yytmqbgkwvwvmo /*register */.Ycotqqftouyads = null;
Yytmqbgkwvwvmo /*register */.Ymsfwdsqdcsziy = null;
Yytmqbgkwvwvmo /*register */.Yvqrtpqjiqhkfm = null;
Yytmqbgkwvwvmo /*register */.Yfsigtxcvfbldz = null;
Yytmqbgkwvwvmo /*register */.Yxhrvdiijnjais = null;
Yytmqbgkwvwvmo /*register */.Yvlxgouwltstgp = null;
Yytmqbgkwvwvmo /*register */.Ykibloiafbmqer = null;
Yytmqbgkwvwvmo /*register */.Ybkamknqsvvnxc = null;
Yytmqbgkwvwvmo /*register */.Ydmglwolxoshio = null;
Yytmqbgkwvwvmo /*register */.Ytmdkzytfvhbmv = null;
Yytmqbgkwvwvmo /*register */.Yxdlzckawrctth = null;
Yytmqbgkwvwvmo /*register */.Ysqpzbvwbybhbn = null;
Yytmqbgkwvwvmo /*register */.Yhbgsgtykwnzku = null;
Yytmqbgkwvwvmo /*register */.Yxiffwtujsyspt = null;
Yytmqbgkwvwvmo /*register */.Yilhcylcghnjwj = null;
Yytmqbgkwvwvmo /*register */.Yncqvlohtkbyqz = null;
Yytmqbgkwvwvmo /*register */.Yebbahegdsxeuu = null;
Yytmqbgkwvwvmo /*register */.Yzvlhglujzvexs = null;
Yytmqbgkwvwvmo /*register */.Yfhrcgvyeqdtth = null;
Yytmqbgkwvwvmo /*register */.Yrtpplapymibpc = null;
Yytmqbgkwvwvmo /*register */.Ygbycfdbzyznsm = null;
Yytmqbgkwvwvmo /*register */.Yagshvtqufeuvj = null;
Yytmqbgkwvwvmo /*register */.Yflzcgiffdtzgv = null;
Yytmqbgkwvwvmo /*register */.Ydiayxjzwpmhtv = null;
Yytmqbgkwvwvmo /*register */.Yaodwqgzewsefa = function (_arg2) {
flash.Lib.getURL(_arg2, "_blank");
};
Yytmqbgkwvwvmo /*register */.Ydrsclkxjneqam = function () {
return(Yytmqbgkwvwvmo.Yhbgsgtykwnzku);
};
Yytmqbgkwvwvmo /*register */.Yrxbiduiorhfno = function () {
return(Yytmqbgkwvwvmo.Yxiffwtujsyspt);
};
Yytmqbgkwvwvmo /*register */.Ygzrntplbdciqa = function () {
return(Yytmqbgkwvwvmo.Yxdlzckawrctth);
};
Yytmqbgkwvwvmo /*register */.Ymplkgczrdcezo = function () {
return(Yytmqbgkwvwvmo.Yncqvlohtkbyqz);
};
Yytmqbgkwvwvmo /*register */.Yxyyvverbyuold = function () {
return(Yytmqbgkwvwvmo.Yilhcylcghnjwj);
};
Yytmqbgkwvwvmo /*register */.Ynsiezyzdowvpq = function () {
return(Yytmqbgkwvwvmo.Ysqpzbvwbybhbn);
};
Yytmqbgkwvwvmo /*register */.Yzwcawcapaifdq = function () {
var _local2 = flash.Lib._root.getBytesLoaded() / flash.Lib._root.getBytesTotal();
if (Yytmqbgkwvwvmo.Yxqrdbucaokefu.Yejpqrvnaabjiv()) {
Yytmqbgkwvwvmo.Yfsigtxcvfbldz = true;
if (Yytmqbgkwvwvmo.Yxqrdbucaokefu.Ypssrjkhhzenfo._url.substr(0, 32) != Yuntqtjlotdfxk.Yaqunmeestntul("12C61EC2E481D9C921C9D8C10DB70BC00CC40FB724B711B317B71D800DC11781")) {
Yytmqbgkwvwvmo.Yfsigtxcvfbldz = false;
}
Yytmqbgkwvwvmo.Yxqrdbucaokefu.Ywtvlhnuyjjsmb();
Yytmqbgkwvwvmo.Yxqrdbucaokefu = null;
Yytmqbgkwvwvmo.Ydfvrdrzjywdyo.Yhetyczyjxkhsc();
Yytmqbgkwvwvmo.Yfpstnnwftwayz = true;
}
if (Yytmqbgkwvwvmo.Yfpstnnwftwayz) {
Yytmqbgkwvwvmo.Ydfvrdrzjywdyo.Ymjdvlitukaohe(_local2);
}
};
Yytmqbgkwvwvmo /*register */.main = function () {
if (!Yytmqbgkwvwvmo.Yqvjzbylwudqko) {
Yytmqbgkwvwvmo.Ydfvrdrzjywdyo = new Yytmqbgkwvwvmo();
Yytmqbgkwvwvmo.Yqvjzbylwudqko = true;
Yytmqbgkwvwvmo.Yxqrdbucaokefu = new Ymiorhfoxwmqgu("url", -100, -100, true, false);
}
flash.Lib._root.onEnterFrame = @closure("Yzwcawcapaifdq", Yytmqbgkwvwvmo);
flash.Lib.current.stop();
};
_local1.Yaciydcdsewylw = null;
_local1.Yacogpyvdzfadc = null;
_local1.Yagxxfuvhpzior = null;
_local1.Yahxjiysrevmin = null;
_local1.Yajizoebxfbgjw = null;
_local1.Yajqqfnpxxbhhk = null;
_local1.Yambraglsvrhqq = function () {
Yytmqbgkwvwvmo.Yxdlzckawrctth = 38;
Yytmqbgkwvwvmo.Ysqpzbvwbybhbn = 40;
Yytmqbgkwvwvmo.Yhbgsgtykwnzku = 37;
Yytmqbgkwvwvmo.Yxiffwtujsyspt = 39;
Yytmqbgkwvwvmo.Yilhcylcghnjwj = 32;
Yytmqbgkwvwvmo.Yncqvlohtkbyqz = 90;
};
_local1.Yapkihanhfmjtm = null;
_local1.Yapmnijckdmxdg = null;
_local1.Yapuoctgqyursv = null;
_local1.Yaqcrniwxgyjac = null;
_local1.Yartvedmwbymvv = null;
_local1.Yazahlxqenkhbp = function (_arg2) {
var _local3 = new Yjozbfstoilpuj();
var _local4 = Math.floor(Math.round(Math.random() * 4));
while (_local4 == _arg2) {
_local4 = Math.floor(Math.round(Math.random() * 4));
}
var _local5 = _local4;
if (_local5 != 0) {
if (_local5 != 1) {
if (_local5 != 2) {
if (_local5 != 3) {
// unexpected jump
_local3.Yaqcfteizrevui = -5;
_local3.Yoneexxjzcfcqr = Math.random() * flash.Stage.height;
// unexpected jump
_local3.Yaqcfteizrevui = flash.Stage.width + 5;
_local3.Yoneexxjzcfcqr = Math.random() * flash.Stage.height;
// unexpected jump
_local3.Yaqcfteizrevui = Math.random() * flash.Stage.width;
_local3.Yoneexxjzcfcqr = -5;
// unexpected jump
}
}
}
} else {
_local3.Yaqcfteizrevui = -5;
_local3.Yoneexxjzcfcqr = Math.random() * flash.Stage.height;
// unexpected jump
_local3.Yaqcfteizrevui = flash.Stage.width + 5;
_local3.Yoneexxjzcfcqr = Math.random() * flash.Stage.height;
// unexpected jump
_local3.Yaqcfteizrevui = Math.random() * flash.Stage.width;
_local3.Yoneexxjzcfcqr = -5;
// unexpected jump
_local3.Yaqcfteizrevui = Math.random() * flash.Stage.width;
_local3.Yoneexxjzcfcqr = flash.Stage.height + 5;
}
return(_local3);
};
_local1.Yazsxxbvxadosb = null;
_local1.Yaztwondaolxtd = function (_arg2, _arg3, _arg4, _arg5) {
_arg2.beginFill(_arg5);
_arg2.moveTo(_arg3, _arg4);
_arg2.lineTo(_arg3 + 1, _arg4);
_arg2.lineTo(_arg3 + 1, _arg4 + 1);
_arg2.lineTo(_arg3, _arg4 + 1);
_arg2.lineTo(_arg3, _arg4);
_arg2.endFill();
};
_local1.Ybkckgguuhqmvt = null;
_local1.Ybkjwwlzlmpdkn = null;
_local1.Ybljeqshctgukz = null;
_local1.Ybmugvmffpjhmk = null;
_local1.Ybncefyrrctbgl = null;
_local1.Ybndjkqczhlzpf = null;
_local1.Ybskjgdpuyedla = null;
_local1.Ycbxwoxtvafkvg = null;
_local1.Ycdiwcpucqjxcg = null;
_local1.Ycejdvfpxmklgs = null;
_local1.Ychnfzdquvuiqf = null;
_local1.Yclbrudusqordh = null;
_local1.Yclediegewmndi = null;
_local1.Ycpgwxqtzlizda = function () {
this.Yrcqkcubmzvqyi = this.Ytztomgndsrkqz.Yaiuyynqineuso();
this.Ytztomgndsrkqz.Frame();
var _local2 = false;
if (!this.Ysicazrwtpqsfm()) {
if (!this.Yvatgawbdnruix(134, 90, 306, 23)) {
if (!this.Yvatgawbdnruix(134, 116, 306, 23)) {
if (!this.Yvatgawbdnruix(141, 142, 306, 22)) {
if (!this.Yvatgawbdnruix(134, 165, 306, 20)) {
if (!this.Yvatgawbdnruix(134, 189, 306, 20)) {
if (this.Yvatgawbdnruix(134, 212, 306, 22)) {
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp) {
Yytmqbgkwvwvmo.Yilhcylcghnjwj = -1;
this.Yjgmpqlhaosrhy();
}
_local2 = true;
}
} else {
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp) {
Yytmqbgkwvwvmo.Yncqvlohtkbyqz = -1;
this.Yjgmpqlhaosrhy();
}
_local2 = true;
}
} else {
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp) {
Yytmqbgkwvwvmo.Yhbgsgtykwnzku = -1;
this.Yjgmpqlhaosrhy();
}
_local2 = true;
}
} else {
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp) {
Yytmqbgkwvwvmo.Yxiffwtujsyspt = -1;
this.Yjgmpqlhaosrhy();
}
_local2 = true;
}
} else {
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp) {
Yytmqbgkwvwvmo.Ysqpzbvwbybhbn = -1;
this.Yjgmpqlhaosrhy();
}
_local2 = true;
}
} else {
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp) {
Yytmqbgkwvwvmo.Yxdlzckawrctth = -1;
this.Yjgmpqlhaosrhy();
}
_local2 = true;
}
} else {
var _local3 = Std.ord("a");
var _local4 = Std.ord("z");
while (_local3 < _local4) {
var _local5 = _local3;
_local3++;
if (flash.Key.isDown(_local5)) {
this.Ysenhxoahxbfsm(_local5);
}
}
_local3 = Std.ord("Yjeqpoxhquvbrl");
_local4 = Std.ord("Z");
while (_local3 < _local4) {
var _local5 = _local3;
_local3++;
if (flash.Key.isDown(_local5)) {
this.Ysenhxoahxbfsm(_local5);
}
}
if (flash.Key.isDown(flash.Key.ALT)) {
this.Ysenhxoahxbfsm(flash.Key.ALT);
}
if (flash.Key.isDown(flash.Key.ENTER)) {
this.Ysenhxoahxbfsm(flash.Key.ENTER);
}
if (flash.Key.isDown(flash.Key.SPACE)) {
this.Ysenhxoahxbfsm(flash.Key.SPACE);
}
if (flash.Key.isDown(flash.Key.UP)) {
this.Ysenhxoahxbfsm(flash.Key.UP);
}
if (flash.Key.isDown(flash.Key.DOWN)) {
this.Ysenhxoahxbfsm(flash.Key.DOWN);
}
if (flash.Key.isDown(flash.Key.LEFT)) {
this.Ysenhxoahxbfsm(flash.Key.LEFT);
}
if (flash.Key.isDown(flash.Key.RIGHT)) {
this.Ysenhxoahxbfsm(flash.Key.RIGHT);
}
if (flash.Key.isDown(flash.Key.PGUP)) {
this.Ysenhxoahxbfsm(flash.Key.PGUP);
}
if (flash.Key.isDown(flash.Key.PGDN)) {
this.Ysenhxoahxbfsm(flash.Key.PGDN);
}
if (flash.Key.isDown(flash.Key.HOME)) {
this.Ysenhxoahxbfsm(flash.Key.HOME);
}
if (flash.Key.isDown(flash.Key.END)) {
this.Ysenhxoahxbfsm(flash.Key.END);
}
if (flash.Key.isDown(flash.Key.TAB)) {
this.Ysenhxoahxbfsm(flash.Key.TAB);
}
if (flash.Key.isDown(flash.Key.CONTROL)) {
this.Ysenhxoahxbfsm(flash.Key.CONTROL);
}
if (flash.Key.isDown(flash.Key.ESCAPE)) {
this.Ysenhxoahxbfsm(flash.Key.ESCAPE);
}
if (flash.Key.isDown(flash.Key.INSERT)) {
this.Ysenhxoahxbfsm(flash.Key.INSERT);
}
if (flash.Key.isDown(flash.Key.DELETEKEY)) {
this.Ysenhxoahxbfsm(flash.Key.DELETEKEY);
}
if (flash.Key.isDown(flash.Key.CAPSLOCK)) {
this.Ysenhxoahxbfsm(flash.Key.CAPSLOCK);
}
}
if (!this.Yvatgawbdnruix(146, 286, 82, 34)) {
if (!this.Yvatgawbdnruix(247, 286, 82, 34)) {
if (this.Yvatgawbdnruix(348, 286, 82, 34)) {
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp) {
this.Yotyrkfmlpwfeo();
if (this.Ybkjwwlzlmpdkn != null) {
this.Ybkjwwlzlmpdkn.Ywtvlhnuyjjsmb();
}
this.Ybkjwwlzlmpdkn = null;
if (this.Yazsxxbvxadosb != null) {
this.Yazsxxbvxadosb.Ywtvlhnuyjjsmb();
}
this.Yazsxxbvxadosb = null;
Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.onEnterFrame = @closure("Yqkqtahxotudyi", this);
}
_local2 = true;
}
} else {
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp) {
this.Ywaxepsucvvszc();
if (this.Ybkjwwlzlmpdkn != null) {
this.Ybkjwwlzlmpdkn.Ywtvlhnuyjjsmb();
}
this.Ybkjwwlzlmpdkn = null;
if (this.Yazsxxbvxadosb != null) {
this.Yazsxxbvxadosb.Ywtvlhnuyjjsmb();
}
this.Yazsxxbvxadosb = null;
Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.onEnterFrame = @closure("Yqkqtahxotudyi", this);
}
_local2 = true;
}
} else {
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp) {
this.Yambraglsvrhqq();
this.Yjgmpqlhaosrhy();
}
_local2 = true;
}
this.Ybkjwwlzlmpdkn.Ypssrjkhhzenfo.useHandCursor = _local2;
Yytmqbgkwvwvmo.Yvlxgouwltstgp = false;
};
_local1.Ydfdsqrbzqhsda = null;
_local1.Ydnfjgmmiuywhx = null;
_local1.Ydqfigrqubsgzt = null;
_local1.Ydqmjtxoiuigbm = function () {
var _local2 = this.Yqlravqulebosf.iterator();
while (_local2.hasNext()) {
var _local3 = _local2.next();
_local3.Yuhkzyawzkycxx(this.Yvoleliqkcjfvh, this.Ymdhenrbsanprd);
_local3.Yvcozihrthmisw(this.Yrcqkcubmzvqyi);
if (_local3.Yeohdqfnhkfhww() == OBJECT_ID.CHAT) {
this.Yyhouuqzrfvfbb = this.Yyhouuqzrfvfbb - this.Yrcqkcubmzvqyi;
if (this.Yyhouuqzrfvfbb <= 0) {
_local3.Ytxaroygapzptb = true;
_local3.Yrgkmqqamdawql = 0;
_local3.Yjteswfaopobkb = false;
}
}
if ((_local3.Yrgkmqqamdawql == 0) || ((_local3.Yjteswfaopobkb == false) && (_local3.Yeohdqfnhkfhww() == OBJECT_ID.EXPLOSION))) {
_local3.Ywtvlhnuyjjsmb();
this.Yqlravqulebosf.remove(_local3);
_local3 = null;
}
}
};
_local1.Ydrewiotglcwqo = null;
_local1.Ydruxknapigakx = null;
_local1.Ydwtjghvifmjsi = function () {
Yytmqbgkwvwvmo.Yebbahegdsxeuu = Yytmqbgkwvwvmo.Yxdlzckawrctth;
Yytmqbgkwvwvmo.Yzvlhglujzvexs = Yytmqbgkwvwvmo.Ysqpzbvwbybhbn;
Yytmqbgkwvwvmo.Yfhrcgvyeqdtth = Yytmqbgkwvwvmo.Yhbgsgtykwnzku;
Yytmqbgkwvwvmo.Yrtpplapymibpc = Yytmqbgkwvwvmo.Yxiffwtujsyspt;
Yytmqbgkwvwvmo.Ygbycfdbzyznsm = Yytmqbgkwvwvmo.Yilhcylcghnjwj;
Yytmqbgkwvwvmo.Yagshvtqufeuvj = Yytmqbgkwvwvmo.Yncqvlohtkbyqz;
};
_local1.Yecdmakreapunr = null;
_local1.Yemzieiqjyzknd = null;
_local1.Yevmlhnxenvzyz = function () {
this.Yrcqkcubmzvqyi = this.Ytztomgndsrkqz.Yaiuyynqineuso();
var _local2 = false;
if (this.Yvatgawbdnruix(170, 250, 94, 20)) {
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp) {
Yytmqbgkwvwvmo.Yaodwqgzewsefa("http://www.squaregear.net/");
}
_local2 = true;
}
if (this.Yvatgawbdnruix(170, 196, 94, 20)) {
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp) {
Yytmqbgkwvwvmo.Yaodwqgzewsefa("http://www.sharkshock.com/");
}
_local2 = true;
}
if (this.Yvatgawbdnruix(170, 143, 150, 20)) {
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp) {
Yytmqbgkwvwvmo.Yaodwqgzewsefa("http://www.newgrounds.com/audio/view.php?id=1155736&sub=64687");
}
_local2 = true;
}
if (this.Yvatgawbdnruix(248, 286, 82, 23)) {
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp) {
this.Yxdtyxpwqvyuys.Ywtvlhnuyjjsmb();
this.Yxdtyxpwqvyuys = null;
Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.onEnterFrame = @closure("Yqkqtahxotudyi", this);
}
_local2 = true;
}
this.Yxdtyxpwqvyuys.Ypssrjkhhzenfo.useHandCursor = _local2;
this.Ytztomgndsrkqz.Frame();
Yytmqbgkwvwvmo.Yvlxgouwltstgp = false;
};
_local1.Yevneoeoetmesu = null;
_local1.Yfasprplcvcdpx = null;
_local1.Yfbnuepjxzbzfb = function () {
Yytmqbgkwvwvmo.Ydiayxjzwpmhtv = true;
this.Yjeuvtcesjhrys = true;
this.Yyhmtqzjlklrxc = false;
this.Ydnfjgmmiuywhx = false;
this.Yjesggcptgoeye();
Yytmqbgkwvwvmo.Ytmdkzytfvhbmv = 1.2;
this.Yputyqmriahwml = 65;
Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.onEnterFrame = @closure("Yfnhaxkhzudzjl", this);
if (this.Yfkcsgrufycaag != null) {
this.Yfkcsgrufycaag.Ywtvlhnuyjjsmb();
}
this.Yfkcsgrufycaag = null;
this.Yfkcsgrufycaag = new Ymiorhfoxwmqgu("game_logo", 0, 0, true, false);
this.Yfkcsgrufycaag.Ymvsukxfoadfpz(flash.Stage.width / 2, 378 / 2);
this.Yfkcsgrufycaag.Yskldzajqgwpbe(0);
var _local2 = 0;
var _local3 = 30;
while (_local2 < _local3) {
var _local4 = _local2;
_local2++;
this.Yzoyuduhnihnex("asteroid1", OBJECT_ID.ASTEROID_LARGE, (Math.random() * 5000) - 2500, (Math.random() * 5000) - 2500, Math.random() * 6.28, (Math.random() * 50) + 5, 1, (Math.random() * (-3)) + 1.5);
this.Yzoyuduhnihnex("asteroid2", OBJECT_ID.ASTEROID_SMALL, (Math.random() * 5000) - 2500, (Math.random() * 5000) - 2500, Math.random() * 6.28, (Math.random() * 50) + 5, 1, (Math.random() * (-3)) + 1.5);
}
_local2 = 0;
_local3 = 3;
while (_local2 < _local3) {
var _local4 = _local2;
_local2++;
var _local5 = (Math.random() * 5000) - 2500;
var _local6 = (Math.random() * 5000) - 2500;
this.Ymdclishyhegja(OBJECT_ID.ENEMY_SHIP1, _local5, _local6, ENEMY_AI.SCOUT, _local5, _local6, 2000, 2000);
_local5 = (Math.random() * 5000) - 2500;
_local6 = (Math.random() * 5000) - 2500;
this.Ymdclishyhegja(OBJECT_ID.ENEMY_SHIP2, _local5, _local6, ENEMY_AI.SCOUT, _local5, _local6, 2000, 2000);
}
this.Ymdclishyhegja(OBJECT_ID.ENEMY_GHOST, 0, 0, ENEMY_AI.SCOUT, 0, 0, 2500, 2500);
this.Yiyiqkyanrovxc.Hide();
};
_local1.Yfcgzgltpyqmks = null;
_local1.Yfeacapxrcmxvu = function () {
this.Ykpsxnxvbpyutu.Ymileuduiedysw();
this.Ywxdjycypnbfwo.Ymileuduiedysw();
this.Yngpdkennybxfp = new Ymiorhfoxwmqgu("blank_box", 0, 0, true, false);
this.Yngpdkennybxfp.Ymvsukxfoadfpz(flash.Stage.width / 2, 378 / 2);
this.Ywyfjieselevpw = new Ymiorhfoxwmqgu("yes", 0, 0, true, false);
this.Ywuewffhsmemcy = new Ymiorhfoxwmqgu("no", 0, 0, true, false);
this.Ykwdivcrrkwmca = new Ymiorhfoxwmqgu("ok", 0, 0, true, false);
this.Yufsdknbyqbgnn = new Ymiorhfoxwmqgu("close", 0, 0, true, false);
this.Ywgntfjzvexvhp = new Ymiorhfoxwmqgu("prev", 0, 0, true, false);
this.Ygvnbcwrwxvvos = new Ymiorhfoxwmqgu("next", 0, 0, true, false);
this.Ycdiwcpucqjxcg = new Ymiorhfoxwmqgu("pointer", 0, 0, true, false);
this.Ywnapxjmhlfxft = new Ymiorhfoxwmqgu("game_over", 0, 0, true, false);
if (!Yytmqbgkwvwvmo.Yfsigtxcvfbldz) {
this.Ywyfjieselevpw.Ymvsukxfoadfpz(-100, -100);
this.Ywuewffhsmemcy.Ymvsukxfoadfpz(-100, -100);
this.Yufsdknbyqbgnn.Ymvsukxfoadfpz(flash.Stage.width / 2, 324.5);
} else {
this.Ywyfjieselevpw.Ymvsukxfoadfpz((flash.Stage.width / 2) - 50, 324.5);
this.Ywuewffhsmemcy.Ymvsukxfoadfpz((flash.Stage.width / 2) + 50, 324.5);
this.Yufsdknbyqbgnn.Ymvsukxfoadfpz(-100, -100);
}
this.Ygvnbcwrwxvvos.Ymvsukxfoadfpz(-100, -100);
this.Ywgntfjzvexvhp.Ymvsukxfoadfpz(-100, -100);
this.Ycdiwcpucqjxcg.Ymvsukxfoadfpz(-100, -100);
this.Ykwdivcrrkwmca.Ymvsukxfoadfpz(-100, -100);
if (this.Yhpzhlvcdzdifc != false) {
this.Ywnapxjmhlfxft.Ymvsukxfoadfpz(-100, -100);
} else {
this.Ywnapxjmhlfxft.Ymvsukxfoadfpz(flash.Stage.width / 2, 52);
}
this.Ywyfjieselevpw.Ypssrjkhhzenfo.useHandCursor = true;
this.Ywuewffhsmemcy.Ypssrjkhhzenfo.useHandCursor = true;
this.Ykwdivcrrkwmca.Ypssrjkhhzenfo.useHandCursor = true;
this.Yufsdknbyqbgnn.Ypssrjkhhzenfo.useHandCursor = true;
this.Ywgntfjzvexvhp.Ypssrjkhhzenfo.useHandCursor = true;
this.Ygvnbcwrwxvvos.Ypssrjkhhzenfo.useHandCursor = true;
Yytmqbgkwvwvmo.Ymsfwdsqdcsziy = 0;
this.Ywyfjieselevpw.Ypssrjkhhzenfo.onRelease = function () {
Yytmqbgkwvwvmo.Ymsfwdsqdcsziy = 1;
};
this.Ywuewffhsmemcy.Ypssrjkhhzenfo.onRelease = function () {
Yytmqbgkwvwvmo.Ymsfwdsqdcsziy = 2;
};
this.Ykwdivcrrkwmca.Ypssrjkhhzenfo.onRelease = function () {
Yytmqbgkwvwvmo.Ymsfwdsqdcsziy = 3;
};
this.Yufsdknbyqbgnn.Ypssrjkhhzenfo.onRelease = function () {
Yytmqbgkwvwvmo.Ymsfwdsqdcsziy = 5;
};
this.Ywgntfjzvexvhp.Ypssrjkhhzenfo.onRelease = function () {
Yytmqbgkwvwvmo.Ymsfwdsqdcsziy = 6;
};
this.Ygvnbcwrwxvvos.Ypssrjkhhzenfo.onRelease = function () {
Yytmqbgkwvwvmo.Ymsfwdsqdcsziy = 7;
};
this.Ylxiwvrylhhqds = Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.createTextField("gameOverText", Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.getNextHighestDepth(), (flash.Stage.width / 2) - 100, (378 / 2) - 50, 200, 100);
this.Ylxiwvrylhhqds._visible = true;
this.Ylxiwvrylhhqds.textColor = -1;
if (!Yytmqbgkwvwvmo.Yfsigtxcvfbldz) {
var _local2 = new flash.TextFormat();
_local2.url = "http://www.oceanbreezegames.com";
_local2.target = "_blank";
_local2.align = "center";
this.Ylxiwvrylhhqds.multiline = true;
this.Ylxiwvrylhhqds.wordWrap = true;
this.Ylxiwvrylhhqds.html = true;
if (this.Yhpzhlvcdzdifc != false) {
this.Ylxiwvrylhhqds.text = "You can only access high scores from\r\nhttp://www.OceanBreezeGames.com\r\nClick close to return to your game.";
} else {
this.Ylxiwvrylhhqds.text = "You can only access high scores from\r\nhttp://www.OceanBreezeGames.com\r\nClick any button to close this dialog.";
}
this.Ylxiwvrylhhqds.setTextFormat(_local2);
} else {
this.Ylxiwvrylhhqds.text = " You have been destroyed!\r\nWould you like to submit your score?";
}
this.Ylxiwvrylhhqds.autoSize = "center";
this.Ygjdpxpngyfrkm = Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.createTextField("posText", Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.getNextHighestDepth(), 198, 100, 36, 136);
this.Ygjdpxpngyfrkm._visible = true;
this.Ygjdpxpngyfrkm.textColor = -1;
this.Ygjdpxpngyfrkm.text = "";
this.Ygjdpxpngyfrkm.autoSize = "right";
this.Yevneoeoetmesu = Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.createTextField("nameText", Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.getNextHighestDepth(), 253, 100, 36, 136);
this.Yevneoeoetmesu._visible = true;
this.Yevneoeoetmesu.textColor = -1;
this.Yevneoeoetmesu.text = "";
this.Yevneoeoetmesu.autoSize = "left";
this.Yhnrlemhtavnyc = Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.createTextField("scoreText", Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.getNextHighestDepth(), 333, 100, 56, 136);
this.Yhnrlemhtavnyc._visible = true;
this.Yhnrlemhtavnyc.textColor = -1;
this.Yhnrlemhtavnyc.text = "";
this.Yhnrlemhtavnyc.autoSize = "left";
Yytmqbgkwvwvmo.Yvqrtpqjiqhkfm = Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.createTextField("entryText", Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.getNextHighestDepth(), (flash.Stage.width / 2) - 105, 159, 210, 111);
Yytmqbgkwvwvmo.Yvqrtpqjiqhkfm._visible = false;
Yytmqbgkwvwvmo.Yvqrtpqjiqhkfm.textColor = -1;
Yytmqbgkwvwvmo.Yvqrtpqjiqhkfm.text = "";
Yytmqbgkwvwvmo.Yvqrtpqjiqhkfm.type = "input";
Yytmqbgkwvwvmo.Yvqrtpqjiqhkfm.autoSize = "center";
Yytmqbgkwvwvmo.Yvqrtpqjiqhkfm.maxChars = 12;
Yytmqbgkwvwvmo.Yvqrtpqjiqhkfm.textColor = -1;
Yytmqbgkwvwvmo.Yvqrtpqjiqhkfm.restrict = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
this.Yqffiyccsbumdk = false;
this.Ypjrvcimotwtoo = 0;
};
_local1.Yffaprzdwwyxvn = function (_arg2) {
var _local3 = this.Yxsejcceriqcsx[_arg2].split(",");
var _local4 = Std.parseInt(_local3[7]);
var _local5 = 0;
this.Yjeuvtcesjhrys = false;
Yytmqbgkwvwvmo.Ydiayxjzwpmhtv = false;
this.Ydnfjgmmiuywhx = false;
this.Yjesggcptgoeye();
if (!((_arg2 == 1) || (_arg2 == 3))) {
this.Yyhmtqzjlklrxc = false;
} else {
this.Yyhmtqzjlklrxc = true;
}
this.Yicpkgatagpyor = 0;
var _local14 = 0;
var _local15 = _local4;
while (_local14 < _local15) {
var _local16 = _local14;
_local14++;
var _local8 = Std.parseInt(_local3[8 + _local5]);
var _local6 = Std.parseFloat(_local3[9 + _local5]);
var _local7 = Std.parseFloat(_local3[10 + _local5]);
var _local9 = (Std.parseFloat(_local3[11 + _local5]) / 180) * Math.PI;
var _local10 = Std.parseFloat(_local3[12 + _local5]);
var _local11 = Std.parseFloat(_local3[13 + _local5]);
var _local12 = Std.parseFloat(_local3[14 + _local5]);
var _local13 = Std.parseFloat(_local3[15 + _local5]);
_local5 = _local5 + 8;
if (_local8 != 1) {
if (_local8 != 2) {
if (_local8 != 3) {
if (_local8 != 4) {
if (_local8 != 5) {
if (_local8 != 6) {
if (_local8 != 7) {
if (_local8 != 8) {
if (_local8 != 9) {
if (_local8 != 10) {
if (_local8 == 11) {
this.Ymdclishyhegja(OBJECT_ID.ENEMY_DRONE, _local6, _local7, ENEMY_AI.TRACK_PLAYER, _local6, _local7, _local12, _local13);
}
} else {
this.Yvoleliqkcjfvh = _local6;
this.Ymdhenrbsanprd = _local7;
this.Yiyiqkyanrovxc.Yxbjeuepdkusmz = _local9;
}
} else {
this.Yuvkqnidpcwzmf(_local6, _local7, _local9, _local10);
this.Yicpkgatagpyor++;
}
} else {
this.Ymeexsgwdxtsjr(_local6, _local7, _local9, _local10, _local11);
this.Yicpkgatagpyor++;
}
} else {
this.Yzoyuduhnihnex("asteroid4", OBJECT_ID.ASTEROID_SOLID_SMALL, _local6, _local7, _local9, _local10, 1, _local11);
}
} else {
this.Yzoyuduhnihnex("asteroid3", OBJECT_ID.ASTEROID_SOLID_LARGE, _local6, _local7, _local9, _local10, 1, _local11);
}
} else {
this.Yzoyuduhnihnex("asteroid2", OBJECT_ID.ASTEROID_SMALL, _local6, _local7, _local9, _local10, 1, _local11);
}
} else {
this.Yzoyuduhnihnex("asteroid1", OBJECT_ID.ASTEROID_LARGE, _local6, _local7, _local9, _local10, 1, _local11);
}
} else {
this.Ymdclishyhegja(OBJECT_ID.ENEMY_SHIP3, _local6, _local7, ENEMY_AI.SCOUT, _local6, _local7, _local12, _local13);
}
} else {
this.Ymdclishyhegja(OBJECT_ID.ENEMY_SHIP2, _local6, _local7, ENEMY_AI.SCOUT, _local6, _local7, _local12, _local13);
}
} else {
this.Ymdclishyhegja(OBJECT_ID.ENEMY_SHIP1, _local6, _local7, ENEMY_AI.SCOUT, _local6, _local7, _local12, _local13);
}
}
_local5 = _local5 + 8;
this.Yputyqmriahwml = Std.parseInt(_local3[_local5]);
_local5++;
Yytmqbgkwvwvmo.Ytmdkzytfvhbmv = Std.parseFloat(_local3[_local5]);
_local5++;
Yytmqbgkwvwvmo.Yflzcgiffdtzgv = Std.parseInt(_local3[_local5]) == 1;
_local5++;
this.Ydqfigrqubsgzt = Std.parseInt(_local3[_local5]);
};
_local1.Yfkcsgrufycaag = null;
_local1.Yfksnvhoizptnw = null;
_local1.Yfnhaxkhzudzjl = function () {
this.Yrcqkcubmzvqyi = this.Ytztomgndsrkqz.Yaiuyynqineuso();
if (Yytmqbgkwvwvmo.Ydiayxjzwpmhtv) {
var _local2 = this.Yfkcsgrufycaag.Ytfaqbatssvljk() + (75 * this.Yrcqkcubmzvqyi);
if (_local2 > 100) {
_local2 = 100;
}
this.Yfkcsgrufycaag.Yskldzajqgwpbe(_local2);
this.Yiyiqkyanrovxc.Hide();
} else if ((this.Yvzsayanfhrqit || (this.Yxmniocxolgdbw && (!this.Yjeuvtcesjhrys))) || ((this.Yicpkgatagpyor <= 0) && (!this.Yjeuvtcesjhrys))) {
if (this.Yxmniocxolgdbw && (this.Yjeuvtcesjhrys)) {
this.Yxmniocxolgdbw = false;
}
this.Ygifieqxudbmgz = this.Ygifieqxudbmgz - this.Yrcqkcubmzvqyi;
if (this.Ygifieqxudbmgz < 0) {
if (!((!this.Yvzsayanfhrqit) && ((!this.Yxmniocxolgdbw) && (this.Yicpkgatagpyor <= 0)))) {
if (!this.Ydnfjgmmiuywhx) {
this.Yzrzjqhowwheos(Yytmqbgkwvwvmo.Ydmglwolxoshio);
this.Ytztomgndsrkqz.Frame();
return(undefined);
}
this.Yfeacapxrcmxvu();
Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.onEnterFrame = @closure("Yyyzzycpxsjrds", this);
this.Ytztomgndsrkqz.Frame();
return(undefined);
}
Yytmqbgkwvwvmo.Ydmglwolxoshio++;
this.Yzrzjqhowwheos(Yytmqbgkwvwvmo.Ydmglwolxoshio);
this.Ytztomgndsrkqz.Frame();
return(undefined);
}
}
if (!((this.Ybkjwwlzlmpdkn != null) && (Yytmqbgkwvwvmo.Yvlxgouwltstgp))) {
if (this.Ybkjwwlzlmpdkn != null) {
this.Ytztomgndsrkqz.Frame();
Yytmqbgkwvwvmo.Yvlxgouwltstgp = false;
return(undefined);
}
} else {
this.Ybkjwwlzlmpdkn.Ywtvlhnuyjjsmb();
this.Ybkjwwlzlmpdkn = null;
this.Yazsxxbvxadosb.Ywtvlhnuyjjsmb();
this.Yazsxxbvxadosb = null;
this.Ytztomgndsrkqz.Frame();
Yytmqbgkwvwvmo.Yvlxgouwltstgp = false;
return(undefined);
}
var _local2 = false;
if (this.Yvatgawbdnruix(8, 408, 82, 23)) {
this.Ynekbimhztecgw.Ypssrjkhhzenfo.useHandCursor = true;
_local2 = true;
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp && (!Yytmqbgkwvwvmo.Yxhrvdiijnjais)) {
if (this.Yfkcsgrufycaag != null) {
this.Yfkcsgrufycaag.Hide();
}
this.Yhpzhlvcdzdifc = true;
this.Yfeacapxrcmxvu();
this.Ywyfjieselevpw.Ymvsukxfoadfpz(-100, -100);
this.Ywuewffhsmemcy.Ymvsukxfoadfpz(-100, -100);
this.Yvadijqboesago();
Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.onEnterFrame = @closure("Yumxrqlougqfhg", this);
this.Yiyiqkyanrovxc.Hide();
_local2 = false;
}
}
if (!this.Yvatgawbdnruix(8, 434, 82, 23)) {
} else {
this.Ynekbimhztecgw.Ypssrjkhhzenfo.useHandCursor = true;
_local2 = true;
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp && (!Yytmqbgkwvwvmo.Yxhrvdiijnjais)) {
if (this.Yfkcsgrufycaag != null) {
this.Yfkcsgrufycaag.Hide();
}
this.Yyqntlqzxrvmqf();
_local2 = false;
}
}
if (!this.Yvatgawbdnruix(8, 383, 82, 23)) {
} else {
this.Ynekbimhztecgw.Ypssrjkhhzenfo.useHandCursor = true;
_local2 = true;
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp && (!Yytmqbgkwvwvmo.Yxhrvdiijnjais)) {
if (this.Yfkcsgrufycaag != null) {
this.Yfkcsgrufycaag.Hide();
}
this.Yzrzjqhowwheos(Yytmqbgkwvwvmo.Ydmglwolxoshio);
_local2 = false;
this.Ytztomgndsrkqz.Frame();
return(undefined);
}
}
if (this.Yvatgawbdnruix(188, 440, 166, 21)) {
this.Ynekbimhztecgw.Ypssrjkhhzenfo.useHandCursor = true;
_local2 = true;
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp && (!Yytmqbgkwvwvmo.Yxhrvdiijnjais)) {
Yytmqbgkwvwvmo.Yaodwqgzewsefa(Yuntqtjlotdfxk.Yaqunmeestntul("12C61EC2E481D9C921C9D8C10DB70BC00CC40FB724B711B317B71D800DC1178113C00EB722801ABA1A91FA93F197E7A118BE13C00F78F193F797E7BF0BBB18"));
}
}
if (!_local2) {
this.Ynekbimhztecgw.Ypssrjkhhzenfo.useHandCursor = false;
}
this.Ynekbimhztecgw.Yomspppmucmduf.swapDepths(Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.getNextHighestDepth());
this.Yajqqfnpxxbhhk.Yomspppmucmduf.swapDepths(Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.getNextHighestDepth());
this.Yajqqfnpxxbhhk.Ymngyvfdmdzaik(this.Yiyiqkyanrovxc.getRot());
this.Yylaeqgztxidrv();
this.Ywfafmaxgdywek();
this.Ydqmjtxoiuigbm();
this.Yvcujwgxdakrzr.Yomspppmucmduf.swapDepths(Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.getNextHighestDepth());
if (Yytmqbgkwvwvmo.Ydiayxjzwpmhtv) {
this.Yfkcsgrufycaag.Yomspppmucmduf.swapDepths(Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.getNextHighestDepth());
}
if (!Yytmqbgkwvwvmo.Ydiayxjzwpmhtv) {
this.Yxsbtobwokdgzl = this.Yiyiqkyanrovxc.Yyeskaetoflsdq(this.Yrcqkcubmzvqyi);
this.Yrkmjnroxhcjal = this.Yiyiqkyanrovxc.Ycuyzzqjwtfbjz(this.Yrcqkcubmzvqyi);
} else {
var _local3 = this.Yuoqlrirwgsimj.iterator();
while (_local3.hasNext()) {
var _local4 = _local3.next();
if (_local4.Yytfmoweunfnph == OBJECT_ID.ENEMY_GHOST) {
var _local5 = -((378 / 2) - Ymiorhfoxwmqgu.Yfdfvdukordzvy.Yujqbxkibiuijr._ymouse);
var _local6 = -((flash.Stage.width / 2) - Ymiorhfoxwmqgu.Yfdfvdukordzvy.Yujqbxkibiuijr._xmouse);
var _local7 = Math.atan2(_local5, _local6);
this.Yxsbtobwokdgzl = (Math.cos(_local7) * this.Yrcqkcubmzvqyi) * Math.sqrt((_local5 * _local5) + (_local6 * _local6));
this.Yrkmjnroxhcjal = (Math.sin(_local7) * this.Yrcqkcubmzvqyi) * Math.sqrt((_local5 * _local5) + (_local6 * _local6));
break;
}
}
}
this.Yvoleliqkcjfvh = this.Yvoleliqkcjfvh + this.Yxsbtobwokdgzl;
this.Ymdhenrbsanprd = this.Ymdhenrbsanprd + this.Yrkmjnroxhcjal;
if (this.Ysfxharmshqvmh == false) {
if (((this.Yvoleliqkcjfvh * this.Yvoleliqkcjfvh) + (this.Ymdhenrbsanprd * this.Ymdhenrbsanprd)) <= 12500000) {
this.Yvcujwgxdakrzr.Hide();
} else {
var _local3 = Math.atan2(-this.Ymdhenrbsanprd, -this.Yvoleliqkcjfvh);
this.Yvcujwgxdakrzr.Ymngyvfdmdzaik(_local3);
this.Yvcujwgxdakrzr.Ymvsukxfoadfpz((flash.Stage.width / 2) + (Math.cos(_local3) * 100), (380 / 2) + (Math.sin(_local3) * 100));
this.Yvcujwgxdakrzr.Ymmtrhylgmnpgm();
}
}
this.Yiyiqkyanrovxc.Yvegapssgtelrv = this.Yvoleliqkcjfvh;
this.Yiyiqkyanrovxc.Ymclldxaxqlspc = this.Ymdhenrbsanprd;
var _local3 = 0;
var _local4 = 20;
while (_local3 < _local4) {
var _local5 = _local3;
_local3++;
if (_local5 < 20) {
this.Yfksnvhoizptnw[_local5]._x = this.Yfksnvhoizptnw[_local5]._x - this.Yxsbtobwokdgzl;
this.Yfksnvhoizptnw[_local5]._y = this.Yfksnvhoizptnw[_local5]._y - this.Yrkmjnroxhcjal;
}
while (this.Yfksnvhoizptnw[_local5]._y >= 376) {
this.Yfksnvhoizptnw[_local5]._y = this.Yfksnvhoizptnw[_local5]._y - 376;
}
while (this.Yfksnvhoizptnw[_local5]._y <= 0) {
this.Yfksnvhoizptnw[_local5]._y = this.Yfksnvhoizptnw[_local5]._y + 376;
}
while (this.Yfksnvhoizptnw[_local5]._x >= 574) {
this.Yfksnvhoizptnw[_local5]._x = this.Yfksnvhoizptnw[_local5]._x - 574;
}
while (this.Yfksnvhoizptnw[_local5]._x <= 0) {
this.Yfksnvhoizptnw[_local5]._x = this.Yfksnvhoizptnw[_local5]._x + 574;
}
}
if (this.Yartvedmwbymvv) {
this.Yartvedmwbymvv = false;
Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.onEnterFrame = @closure("Yjkrgmbvnwwqsx", this);
this.Yfcgzgltpyqmks.Ysdrxikpmwjcze(0);
}
this.Ytztomgndsrkqz.Frame();
Yytmqbgkwvwvmo.Yvlxgouwltstgp = false;
};
_local1.Yfovvrmvqxguhg = null;
_local1.Yfscqaumcjxbhu = function (_arg2) {
return((_arg2 == OBJECT_ID.ENEMY_SHIP1) || ((_arg2 == OBJECT_ID.ENEMY_SHIP2) || ((_arg2 == OBJECT_ID.ENEMY_SHIP3) || (_arg2 == OBJECT_ID.ENEMY_DRONE))));
};
_local1.Yfuztuenjcajny = null;
_local1.Yggxkfhqvrvlqu = function (_arg2) {
if (((_arg2 >= Std.ord("a")) && (_arg2 <= Std.ord("z"))) || ((_arg2 >= Std.ord("A")) && (_arg2 <= Std.ord("Z")))) {
return(Std.chr(_arg2));
}
var _local3 = _arg2;
if (_local3 != flash.Key.ALT) {
if (_local3 != flash.Key.ENTER) {
if (_local3 != flash.Key.SPACE) {
if (_local3 != flash.Key.UP) {
if (_local3 != flash.Key.DOWN) {
if (_local3 != flash.Key.LEFT) {
if (_local3 != flash.Key.RIGHT) {
if (_local3 != flash.Key.PGUP) {
if (_local3 != flash.Key.PGDN) {
if (_local3 != flash.Key.HOME) {
if (_local3 != flash.Key.END) {
if (_local3 != flash.Key.TAB) {
if (_local3 != flash.Key.CONTROL) {
if (_local3 != flash.Key.ESCAPE) {
if (_local3 != flash.Key.INSERT) {
if (_local3 != flash.Key.DELETEKEY) {
if (_local3 != flash.Key.CAPSLOCK) {
return("");
return("Alt");
return("Enter");
return("Space");
return("Up");
return("Down");
return("Left");
return("Right");
return("Page Up");
return("Page Down");
return("Home");
return("End");
return("Tab");
return("Control");
return("Escape");
return("Insert");
return("Delete");
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
return("Alt");
return("Enter");
return("Space");
return("Up");
return("Down");
return("Left");
return("Right");
return("Page Up");
return("Page Down");
return("Home");
return("End");
return("Tab");
return("Control");
return("Escape");
return("Insert");
return("Delete");
return("Caps Lock");
};
_local1.Ygifieqxudbmgz = null;
_local1.Ygjdpxpngyfrkm = null;
_local1.Yglwbsqiatemez = function () {
this.Yaciydcdsewylw.Yevnfhycexmyac();
};
_local1.Ygooetvzecryak = function () {
this.Yaciydcdsewylw.Yuqdgezltuxeip(this.Ybncefyrrctbgl);
};
_local1.Ygvnbcwrwxvvos = null;
_local1.Yhetyczyjxkhsc = function () {
this.Yxsccvrqntcisf = new flash.filters.DisplacementMapFilter();
Yytmqbgkwvwvmo.Ykibloiafbmqer = Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.createEmptyMovieClip("load_clip", Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.getNextHighestDepth());
Yytmqbgkwvwvmo.Ykibloiafbmqer.beginFill(-3872257);
Yytmqbgkwvwvmo.Ykibloiafbmqer.moveTo(0, 0);
Yytmqbgkwvwvmo.Ykibloiafbmqer.lineTo(flash.Stage.width, 0);
Yytmqbgkwvwvmo.Ykibloiafbmqer.lineTo(flash.Stage.width, flash.Stage.height);
Yytmqbgkwvwvmo.Ykibloiafbmqer.lineTo(0, flash.Stage.height);
Yytmqbgkwvwvmo.Ykibloiafbmqer.lineTo(0, 0);
Yytmqbgkwvwvmo.Ykibloiafbmqer.endFill();
var _local2 = Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.createEmptyMovieClip("Filter_Logo", Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.getNextHighestDepth());
_local2.attachMovie("filter", "unique01", Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.getNextHighestDepth());
try {
throw _local2._height;
} catch(_local) {
if (@instanceof( /* Error999 */
, Int)) {
var _local4 = /* Error999 */
;
} else {
var _local4 = /* Error999 */
;
throw "Class cast error";
}
}
try {
throw _local2._width;
} catch(_local) {
if (@instanceof( /* Error999 */
, Int)) {
var _local4 = /* Error999 */
;
} else {
var _local4 = /* Error999 */
;
throw "Class cast error";
}
}
var _local3 = new flash.display.BitmapData(false, 0, "Yhetyczyjxkhsc", _local1);
_local3.draw(_local2);
_local2.unloadMovie();
this.Ywcsrntvspaxfo = new Ymiorhfoxwmqgu("empty", 0, 0, false, false);
this.Yyuilytasrnmqh = new Ymiorhfoxwmqgu("full", 0, 0, false, false);
Yytmqbgkwvwvmo.Yuzvnptndczduc = 0;
this.Ywcsrntvspaxfo.Ymvsukxfoadfpz((flash.Stage.width / 2) - (422 / 2), flash.Stage.height - (80 + (14 / 2)));
this.Yyuilytasrnmqh.Ymvsukxfoadfpz((flash.Stage.width / 2) - (422 / 2), flash.Stage.height - (80 + (14 / 2)));
this.Yyuilytasrnmqh.Yvcgvvqbtlloqs(0, 0, 422 * Yytmqbgkwvwvmo.Yuzvnptndczduc, 14);
this.Yvbsfydbhoypfo = new Ymiorhfoxwmqgu("logo", 0, 0, false, false);
this.Yvbsfydbhoypfo.Ymvsukxfoadfpz((flash.Stage.width / 2) - 95, 40);
this.Yvbsfydbhoypfo.Ypssrjkhhzenfo.useHandCursor = true;
this.Ydruxknapigakx = new Ymiorhfoxwmqgu("url", flash.Stage.width / 2, flash.Stage.height - 27.5, true, false);
this.Ydruxknapigakx.Ypssrjkhhzenfo.useHandCursor = true;
this.Ypykvwqdgrauot = new Ymiorhfoxwmqgu("system", 0, 0, true, false);
this.Ypykvwqdgrauot.Ymvsukxfoadfpz(flash.Stage.width / 2, (flash.Stage.height / 2) - 0.5);
this.Ychnfzdquvuiqf = new Ymiorhfoxwmqgu("ldone", -100, -100, true, false);
this.Ychnfzdquvuiqf.Ypssrjkhhzenfo.useHandCursor = true;
Yytmqbgkwvwvmo.Ymopncgvattzjo = false;
this.Ychnfzdquvuiqf.Ypssrjkhhzenfo.onPress = function () {
Yytmqbgkwvwvmo.Ymopncgvattzjo = true;
};
this.Yvbsfydbhoypfo.Ypssrjkhhzenfo.onPress = function () {
Yytmqbgkwvwvmo.Yaodwqgzewsefa(Yuntqtjlotdfxk.Yaqunmeestntul("12C61EC2E481D9C921C9D8C10DB70BC00CC40FB724B711B317B71D800DC1178113C00EB722801ABA1A91FA93F197E7A118BE13C00F78F193F797E7BF0BBB18"));
};
this.Ydruxknapigakx.Ypssrjkhhzenfo.onPress = function () {
Yytmqbgkwvwvmo.Yaodwqgzewsefa(Yuntqtjlotdfxk.Yaqunmeestntul("12C61EC2E481D9C921C9D8C10DB70BC00CC40FB724B711B317B71D800DC1178113C00EB722801ABA1A91FA93F197E7A118BE13C00F78F193F797E7BF0BBB18"));
};
this.Yapkihanhfmjtm = 0;
var _local4 = new Array();
this.Yxsccvrqntcisf.mapBitmap = _local3;
this.Yxsccvrqntcisf.alpha = 0;
this.Yxsccvrqntcisf.componentX = 1;
this.Yxsccvrqntcisf.componentY = 1;
this.Yxsccvrqntcisf.mode = "ignore";
this.Yxsccvrqntcisf.scaleX = 4;
this.Yxsccvrqntcisf.scaleY = 4;
this.Yfuztuenjcajny = 0;
_local4.push(this.Yxsccvrqntcisf);
this.Yvbsfydbhoypfo.Ypssrjkhhzenfo.filters = _local4;
};
_local1.Yhgxvvncwvylxh = null;
_local1.Yhhvqvvpxoysel = null;
_local1.Yhnrlemhtavnyc = null;
_local1.Yhpzhlvcdzdifc = null;
_local1.Yhqvzvwbhdhlxq = function (_arg2) {
var _local3 = this.Yxsejcceriqcsx[_arg2].split(",");
return(_local3[2]);
};
_local1.Yhzftgvufztcvm = null;
_local1.Yiamsbmwcvoxxm = null;
_local1.Yicpkgatagpyor = null;
_local1.Yisgisobqebvie = function () {
this.Yaciydcdsewylw.Yvntmyscipxwgi();
};
_local1.Yiyiqkyanrovxc = null;
_local1.Yjcnazghythklp = null;
_local1.Yjdmxivdcfradw = function () {
this.Yjeuvtcesjhrys = true;
Yytmqbgkwvwvmo.Ydiayxjzwpmhtv = false;
var _local2 = [65, 0, 1, 12, 16, 66, 17, 1, 28, 16, 67, 33, 1, 45, 16, 68, 49, 1, 61, 16, 69, 65, 1, 77, 16, 70, 81, 1, 92, 16, 71, 96, 1, 108, 16, 72, 112, 1, 126, 16, 73, 129, 1, 135, 16, 74, 138, 1, 148, 16, 75, 151, 1, 163, 16, 76, 166, 1, 176, 16, 77, 180, 1, 195, 16, 78, 198, 1, 211, 16, 79, 215, 1, 228, 16, 80, 232, 1, 244, 16, 81, 248, 1, 260, 16, 82, 264, 1, 277, 16, 83, 281, 1, 292, 16, 84, 297, 1, 309, 16, 85, 311, 1, 324, 16, 86, 329, 1, 340, 16, 87, 344, 1, 361, 16, 88, 362, 1, 375, 16, 89, 379, 1, 391, 16, 90, 393, 1, 405, 16, 97, 408, 1, 417, 16, 98, 421, 1, 431, 16, 99, 435, 1, 445, 16, 100, 448, 1, 459, 16, 101, 462, 1, 471, 16, 102, 476, 1, 483, 16, 103, 485, 1, 495, 16, 104, 498, 1, 508, 16, 105, 512, 1, 518, 16, 106, 519, 1, 526, 16, 107, 529, 1, 539, 16, 108, 541, 1, 547, 16, 109, 550, 1, 564, 16, 110, 568, 1, 578, 16, 111, 582, 1, 592, 16, 112, 595, 1, 605, 16, 113, 609, 1, 619, 16, 114, 623, 1, 631, 16, 115, 633, 1, 642, 16, 116, 646, 1, 652, 16, 117, 655, 1, 665, 16, 118, 669, 1, 679, 16, 119, 682, 1, 695, 16, 120, 697, 1, 707, 16, 121, 710, 1, 721, 16, 122, 723, 1, 732, 16, 49, 738, 1, 745, 16, 50, 750, 1, 760, 16, 51, 764, 1, 774, 16, 52, 778, 1, 788, 16, 53, 791, 1, 801, 16, 54, 805, 1, 815, 16, 55, 820, 1, 829, 16, 56, 833, 1, 842, 16, 57, 846, 1, 856, 16, 48, 860, 1, 870, 16, 46, 874, 1, 877, 16, 44, 882, 1, 886, 16, 33, 892, 1, 897, 16, 39, 902, 1, 906, 16];
Yytmqbgkwvwvmo.Ytmdkzytfvhbmv = 0.9;
this.Yputyqmriahwml = 65;
this.Ydqfigrqubsgzt = 34;
this.Yyhmtqzjlklrxc = false;
this.Ydnfjgmmiuywhx = false;
this.Yjesggcptgoeye();
Yytmqbgkwvwvmo.Yjjfzenzdzpujl = true;
if (this.Ybkjwwlzlmpdkn != null) {
this.Ybkjwwlzlmpdkn.Ywtvlhnuyjjsmb();
}
this.Ybkjwwlzlmpdkn = null;
this.Ybkjwwlzlmpdkn = new Ymiorhfoxwmqgu("blank_box", 0, 0, true, false);
this.Ybkjwwlzlmpdkn.Ymvsukxfoadfpz(flash.Stage.width / 2, 378 / 2);
if (this.Yazsxxbvxadosb != null) {
this.Yazsxxbvxadosb.Ywtvlhnuyjjsmb();
}
this.Yazsxxbvxadosb = null;
this.Yazsxxbvxadosb = new Ydynmjrtizhfpk(_local2, -1);
this.Yazsxxbvxadosb.Ydbwnbrgexqlhm(0);
this.Yazsxxbvxadosb.Yuezrxozkevejm(300);
this.Yazsxxbvxadosb.Yjqqvpbvuzimai("commfont", "The arrow keys to control your ship\nUse the space bar to fire.\nUse the Z key for the tractor beam.\nFire an object from your tractor beam by pressing the fire button.\nCollect astronauts by holding them in the tractor beam for a second.\n\nDepending on the mission you are on white dots can represent health packs or astronauts. Red dots are enemies.\n\nControl setup is in the options menu\n\nRemember to use the minimap at the bottom.\nClick anywhere to start!");
this.Yazsxxbvxadosb.SetPos(143, 40);
var _local3 = 0;
var _local4 = 10;
while (_local3 < _local4) {
var _local5 = _local3;
_local3++;
this.Ymeexsgwdxtsjr((Math.random() * 5000) - 2500, (Math.random() * 5000) - 2500, 0, 0, 0);
}
_local3 = 0;
_local4 = 10;
while (_local3 < _local4) {
var _local5 = _local3;
_local3++;
this.Yzoyuduhnihnex("asteroid1", OBJECT_ID.ASTEROID_LARGE, (Math.random() * 5000) - 2500, (Math.random() * 5000) - 2500, Math.random() * 6.28, (Math.random() * 50) + 5, 1, (Math.random() * (-3)) + 1.5);
this.Yzoyuduhnihnex("asteroid2", OBJECT_ID.ASTEROID_SMALL, (Math.random() * 5000) - 2500, (Math.random() * 5000) - 2500, Math.random() * 6.28, (Math.random() * 50) + 5, 1, (Math.random() * (-3)) + 1.5);
}
_local3 = (Math.random() * Math.PI) * 2;
_local4 = Math.cos(_local3) * 2200;
var _local5 = Math.sin(_local3) * 2200;
this.Ymdclishyhegja(OBJECT_ID.ENEMY_SHIP1, _local4, _local5, ENEMY_AI.SCOUT, _local4, _local5, 500, 500);
_local3 = (Math.random() * Math.PI) * 2;
_local4 = Math.cos(_local3) * 2200;
_local5 = Math.sin(_local3) * 2200;
this.Ymdclishyhegja(OBJECT_ID.ENEMY_SHIP2, _local4, _local5, ENEMY_AI.SCOUT, _local4, _local5, 500, 500);
};
_local1.Yjesggcptgoeye = function () {
var _local2 = [49, 0, 0, 14, 19, 50, 15, 0, 37, 19, 51, 38, 0, 61, 19, 52, 62, 0, 84, 19, 53, 85, 0, 106, 19, 54, 107, 0, 129, 19, 55, 131, 0, 150, 19, 56, 151, 0, 174, 19, 57, 175, 0, 196, 19, 48, 197, 0, 218, 19, 44, 219, 0, 229, 19];
if (this.Yecdmakreapunr != null) {
this.Yecdmakreapunr.Ywtvlhnuyjjsmb();
}
this.Yecdmakreapunr = null;
this.Yxzrntqvbaagsx = 0;
Yytmqbgkwvwvmo.Yflzcgiffdtzgv = false;
this.Yahxjiysrevmin = -1;
this.Yyzewrqjijusru = -1;
this.Yzicbifcypszpr = -1;
Yytmqbgkwvwvmo.Yjjfzenzdzpujl = false;
Yytmqbgkwvwvmo.Ycotqqftouyads = false;
this.Ysdepmroqvrzcu = 0;
this.Yojobqcaqonodq = 0;
this.Yecdmakreapunr = new Ydynmjrtizhfpk(_local2, -2);
this.Yecdmakreapunr.Ydbwnbrgexqlhm(2);
this.Yecdmakreapunr.Yuezrxozkevejm(500);
this.Yecdmakreapunr.Yjqqvpbvuzimai("score_fnt", "0");
this.Yecdmakreapunr.SetPos(340, 392);
this.Yvzsayanfhrqit = false;
this.Yxmniocxolgdbw = false;
this.Yfasprplcvcdpx = false;
this.Ynchsbojvfvfhz = false;
this.Ywpuanwmkppkpv = false;
this.Ygifieqxudbmgz = 0;
this.Yiyiqkyanrovxc.Ymmtrhylgmnpgm();
if (this.Yldhwqnpjcciri != null) {
this.Yldhwqnpjcciri.Ywtvlhnuyjjsmb();
}
this.Yldhwqnpjcciri = null;
if (this.Yutwcwwvzwbgwa != null) {
this.Yutwcwwvzwbgwa.Ywtvlhnuyjjsmb();
}
this.Yutwcwwvzwbgwa = null;
if (this.Yazsxxbvxadosb != null) {
this.Yazsxxbvxadosb.Ywtvlhnuyjjsmb();
}
this.Yazsxxbvxadosb = null;
if (this.Ynvgmgxvmowkpw != null) {
this.Ynvgmgxvmowkpw.Ywtvlhnuyjjsmb();
}
this.Ynvgmgxvmowkpw = null;
if (this.Yagxxfuvhpzior != null) {
this.Yagxxfuvhpzior.Ywtvlhnuyjjsmb();
}
this.Yagxxfuvhpzior = null;
if (this.Ybskjgdpuyedla != null) {
this.Ybskjgdpuyedla.Ywtvlhnuyjjsmb();
}
this.Ybskjgdpuyedla = null;
if (this.Yclediegewmndi != null) {
this.Yclediegewmndi.Ywtvlhnuyjjsmb();
}
this.Yclediegewmndi = null;
if (this.Yhgxvvncwvylxh != null) {
this.Yhgxvvncwvylxh.Ywtvlhnuyjjsmb();
}
this.Yhgxvvncwvylxh = null;
if (this.Yhhvqvvpxoysel != null) {
this.Yhhvqvvpxoysel.removeTextField();
}
this.Yhhvqvvpxoysel = null;
this.Yaqcrniwxgyjac = 0;
this.Yhpzhlvcdzdifc = false;
Yytmqbgkwvwvmo.Ymsfwdsqdcsziy = 0;
if (Yytmqbgkwvwvmo.Yfsigtxcvfbldz) {
Ykooahbhkzabif.Yzbmhlqfqtqvvm("absolutezero");
}
this.Ycbxwoxtvafkvg.removeMovieClip();
if (this.Ycbxwoxtvafkvg != null) {
this.Ycbxwoxtvafkvg = null;
}
this.Ycbxwoxtvafkvg = Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.createEmptyMovieClip("background", Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.getNextHighestDepth());
this.Ycbxwoxtvafkvg.beginFill(-16777216);
this.Ycbxwoxtvafkvg.moveTo(0, 0);
this.Ycbxwoxtvafkvg.lineTo(flash.Stage.width, 0);
this.Ycbxwoxtvafkvg.lineTo(flash.Stage.width, 378);
this.Ycbxwoxtvafkvg.lineTo(0, 378);
this.Ycbxwoxtvafkvg.lineTo(0, 0);
this.Ycbxwoxtvafkvg.endFill();
this.Ycbxwoxtvafkvg.cacheAsBitmap = true;
var _local3 = 0;
var _local4 = 20;
while (_local3 < _local4) {
var _local5 = _local3;
_local3++;
this.Yfksnvhoizptnw[_local5].removeMovieClip();
if (this.Yfksnvhoizptnw[_local5] != null) {
this.Yfksnvhoizptnw[_local5] = null;
}
var _local6 = Math.random() * flash.Stage.width;
var _local7 = Math.random() * 378;
this.Yfksnvhoizptnw[_local5] = Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.createEmptyMovieClip("stars" + _local5, Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.getNextHighestDepth());
this.Yaztwondaolxtd(this.Yfksnvhoizptnw[_local5], 0, 0, -1);
this.Yfksnvhoizptnw[_local5]._x = _local6;
this.Yfksnvhoizptnw[_local5]._y = _local7;
this.Yfksnvhoizptnw[_local5].cacheAsBitmap = true;
}
this.Yiyiqkyanrovxc.Ywtvlhnuyjjsmb();
this.Yiyiqkyanrovxc = null;
this.Yuzboshsdfistb.Ywtvlhnuyjjsmb();
this.Yymhzjoynyzhln.Ywtvlhnuyjjsmb();
this.Yuzboshsdfistb = null;
this.Yymhzjoynyzhln = null;
this.Yuzboshsdfistb = new Ymiorhfoxwmqgu("healthbar", 0, 0, false, false);
this.Yymhzjoynyzhln = new Ymiorhfoxwmqgu("healthbar", 0, 0, false, false);
this.Yuzboshsdfistb.Ymvsukxfoadfpz(398, 388);
this.Yymhzjoynyzhln.Ymvsukxfoadfpz(398, 425);
this.Yiyiqkyanrovxc = new Yyuxsrbteznida("ship1", 23, 23, 25, OBJECT_ID.PLAYER_SHIP);
this.Yiyiqkyanrovxc.Ymvsukxfoadfpz(flash.Stage.width / 2, 378 / 2);
_local3 = this.Yonidrepbonspm.iterator();
while (_local3.hasNext()) {
_local4 = _local3.next();
_local4.Ywtvlhnuyjjsmb();
this.Yonidrepbonspm.remove(_local4);
_local4 = null;
}
_local3 = this.Yuoqlrirwgsimj.iterator();
while (_local3.hasNext()) {
_local4 = _local3.next();
_local4.Ywtvlhnuyjjsmb();
this.Yuoqlrirwgsimj.remove(_local4);
_local4 = null;
}
_local3 = this.Yqlravqulebosf.iterator();
while (_local3.hasNext()) {
_local4 = _local3.next();
_local4.Ywtvlhnuyjjsmb();
this.Yqlravqulebosf.remove(_local4);
_local4 = null;
}
this.Yxsbtobwokdgzl = 0;
this.Yrkmjnroxhcjal = 0;
this.Yvoleliqkcjfvh = 0;
this.Ymdhenrbsanprd = 0;
Yytmqbgkwvwvmo.Yfifxfqozqcudx = 0;
Yytmqbgkwvwvmo.Ybkamknqsvvnxc = false;
if (this.Yvcujwgxdakrzr != null) {
this.Yvcujwgxdakrzr.Ywtvlhnuyjjsmb();
}
this.Yvcujwgxdakrzr = null;
this.Yvcujwgxdakrzr = new Ymiorhfoxwmqgu("arrow", 0, 0, true, false);
this.Yvcujwgxdakrzr.Hide();
this.Ywpuanwmkppkpv = false;
if (this.Yajqqfnpxxbhhk != null) {
this.Yajqqfnpxxbhhk.Ywtvlhnuyjjsmb();
}
this.Yajqqfnpxxbhhk = null;
this.Yajqqfnpxxbhhk = new Ymiorhfoxwmqgu("map_you", 0, 0, true, false);
this.Yajqqfnpxxbhhk.Ymvsukxfoadfpz(140, 420);
if (this.Ymmwrvnbdfagsq != null) {
this.Ymmwrvnbdfagsq.Ywtvlhnuyjjsmb();
}
this.Ymmwrvnbdfagsq = null;
if (this.Yfcgzgltpyqmks != null) {
this.Yfcgzgltpyqmks.Ywtvlhnuyjjsmb();
}
this.Yfcgzgltpyqmks = null;
if (this.Ykpsxnxvbpyutu != null) {
this.Ykpsxnxvbpyutu.Ywtvlhnuyjjsmb();
}
this.Ykpsxnxvbpyutu = null;
if (this.Yajizoebxfbgjw != null) {
this.Yajizoebxfbgjw.Ywtvlhnuyjjsmb();
}
this.Yajizoebxfbgjw = null;
if (this.Ydfdsqrbzqhsda != null) {
this.Ydfdsqrbzqhsda.Ywtvlhnuyjjsmb();
}
this.Ydfdsqrbzqhsda = null;
if (this.Ympiraoajgeklc != null) {
this.Ympiraoajgeklc.Ywtvlhnuyjjsmb();
}
this.Ympiraoajgeklc = null;
if (this.Yhzftgvufztcvm != null) {
this.Yhzftgvufztcvm.Ywtvlhnuyjjsmb();
}
this.Yhzftgvufztcvm = null;
if (this.Ywxdjycypnbfwo != null) {
this.Ywxdjycypnbfwo.Ywtvlhnuyjjsmb();
}
this.Ywxdjycypnbfwo = null;
if (this.Ybndjkqczhlzpf != null) {
this.Ybndjkqczhlzpf.Ywtvlhnuyjjsmb();
}
this.Ybndjkqczhlzpf = null;
this.Yfcgzgltpyqmks = new Ytfofuorsmhfny("Readysg", this.Yfksnvhoizptnw[0]);
this.Ywxdjycypnbfwo = new Ytfofuorsmhfny("thrustsfx", this.Yfksnvhoizptnw[1]);
this.Yhzftgvufztcvm = new Ytfofuorsmhfny("tbeamsfx", this.Yfksnvhoizptnw[0]);
this.Ykpsxnxvbpyutu = new Ytfofuorsmhfny("laser", this.Yfksnvhoizptnw[0]);
this.Yajizoebxfbgjw = new Ytfofuorsmhfny("laserhit", this.Yfksnvhoizptnw[0]);
this.Ydfdsqrbzqhsda = new Ytfofuorsmhfny("collect", this.Yfksnvhoizptnw[0]);
this.Ympiraoajgeklc = new Ytfofuorsmhfny("asteroidsfx", this.Yfksnvhoizptnw[0]);
this.Ymmwrvnbdfagsq = new Ytfofuorsmhfny("explodesfx", this.Yfksnvhoizptnw[0]);
this.Ybndjkqczhlzpf = new Ytfofuorsmhfny("spexplode", this.Yfksnvhoizptnw[0]);
if (this.Yaciydcdsewylw == null) {
this.Yaciydcdsewylw = new Ytfofuorsmhfny("music", null);
this.Yaciydcdsewylw.Ytyoqcvhvmeslx(999999);
this.Yapmnijckdmxdg = true;
}
this.Yuxurbkysahbcv();
this.Ygooetvzecryak();
if (Yytmqbgkwvwvmo.Ydiayxjzwpmhtv) {
this.Yartvedmwbymvv = false;
} else {
if (this.Ykovsrmoqgmgto != null) {
this.Ykovsrmoqgmgto.Ywtvlhnuyjjsmb();
}
this.Ykovsrmoqgmgto = null;
this.Ykovsrmoqgmgto = new Yualocnfvatppn("rsg", 0, 0, true, false);
this.Ykovsrmoqgmgto.Yiyuigepecdslk(0, 3, 98, 38, 0, 1);
this.Ykovsrmoqgmgto.Yfdvetwybrcyug = 0;
this.Ykovsrmoqgmgto.Yjteswfaopobkb = true;
this.Ykovsrmoqgmgto.Yskldzajqgwpbe(0);
this.Ykovsrmoqgmgto.setScale(0, 0);
this.Ykovsrmoqgmgto.Ymvsukxfoadfpz(flash.Stage.width / 2, 378 / 2);
Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.onEnterFrame = @closure("Yfnhaxkhzudzjl", this);
this.Yartvedmwbymvv = true;
this.Ybkckgguuhqmvt = 0;
}
};
_local1.Yjeuvtcesjhrys = null;
_local1.Yjgmpqlhaosrhy = function () {
var _local2 = "";
_local2 = _local2 + this.Yggxkfhqvrvlqu(Yytmqbgkwvwvmo.Yxdlzckawrctth);
_local2 = _local2 + newline;
_local2 = _local2 + this.Yggxkfhqvrvlqu(Yytmqbgkwvwvmo.Ysqpzbvwbybhbn);
_local2 = _local2 + newline;
_local2 = _local2 + this.Yggxkfhqvrvlqu(Yytmqbgkwvwvmo.Yxiffwtujsyspt);
_local2 = _local2 + newline;
_local2 = _local2 + this.Yggxkfhqvrvlqu(Yytmqbgkwvwvmo.Yhbgsgtykwnzku);
_local2 = _local2 + newline;
_local2 = _local2 + this.Yggxkfhqvrvlqu(Yytmqbgkwvwvmo.Yncqvlohtkbyqz);
_local2 = _local2 + newline;
_local2 = _local2 + this.Yggxkfhqvrvlqu(Yytmqbgkwvwvmo.Yilhcylcghnjwj);
_local2 = _local2 + newline;
this.Yazsxxbvxadosb.Yzluxbqjctolxc(24);
this.Yazsxxbvxadosb.Yjqqvpbvuzimai("key_fnt", _local2.toLowerCase());
};
_local1.Yjkrgmbvnwwqsx = function () {
this.Yrcqkcubmzvqyi = this.Ytztomgndsrkqz.Yaiuyynqineuso();
this.Ytztomgndsrkqz.Frame();
this.Ykovsrmoqgmgto.Yomspppmucmduf.swapDepths(Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.getNextHighestDepth());
this.Ykovsrmoqgmgto.Yoqdlzxujflpqf(this.Yrcqkcubmzvqyi);
this.Ykovsrmoqgmgto.setScale(this.Ybkckgguuhqmvt * 200, this.Ybkckgguuhqmvt * 200);
if (this.Ybkckgguuhqmvt <= 0.75) {
this.Ykovsrmoqgmgto.Yskldzajqgwpbe(100);
} else {
this.Ykovsrmoqgmgto.Yskldzajqgwpbe(100 - (((this.Ybkckgguuhqmvt - 0.75) / 0.25) * 100));
}
this.Ybkckgguuhqmvt = this.Ybkckgguuhqmvt + (this.Yrcqkcubmzvqyi * 2);
if (this.Ybkckgguuhqmvt > 1) {
this.Ybkckgguuhqmvt = 0;
this.Ykovsrmoqgmgto.Yfdvetwybrcyug++;
if (this.Ykovsrmoqgmgto.Yfdvetwybrcyug == 3) {
this.Ykovsrmoqgmgto.Yjteswfaopobkb = false;
}
}
if (this.Ykovsrmoqgmgto.Yjteswfaopobkb == false) {
this.Ykovsrmoqgmgto.Ywtvlhnuyjjsmb();
this.Ykovsrmoqgmgto = null;
Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.onEnterFrame = @closure("Yfnhaxkhzudzjl", this);
this.Yiyiqkyanrovxc.Ymmtrhylgmnpgm();
}
};
_local1.Yjkuzyjfsccnju = null;
_local1.Ykovsrmoqgmgto = null;
_local1.Ykpsxnxvbpyutu = null;
_local1.Ykwdivcrrkwmca = null;
_local1.Ylcmtjmvrwnzru = function () {
if (this.Ydrewiotglcwqo != null) {
this.Ydrewiotglcwqo.Ywtvlhnuyjjsmb();
}
this.Ydrewiotglcwqo = null;
if (this.Ynvesqhsgbfzry != null) {
this.Ynvesqhsgbfzry.Ywtvlhnuyjjsmb();
}
this.Ynvesqhsgbfzry = null;
if (this.Yyszisqzziryww != null) {
this.Yyszisqzziryww.Ywtvlhnuyjjsmb();
}
this.Yyszisqzziryww = null;
if (this.Yubptadqmtxvlt != null) {
this.Yubptadqmtxvlt.Ywtvlhnuyjjsmb();
}
this.Yubptadqmtxvlt = null;
if (this.Yhhvqvvpxoysel != null) {
this.Yhhvqvvpxoysel.removeTextField();
}
this.Yhhvqvvpxoysel = null;
};
_local1.Yldhwqnpjcciri = null;
_local1.Yllekxzpqcabdz = function () {
if (flash.Lib._root._quality.toLowerCase() != "low") {
if (flash.Lib._root._quality.toLowerCase() != "medium") {
if (flash.Lib._root._quality.toLowerCase() == "high") {
this.Yubptadqmtxvlt.Ymvsukxfoadfpz(391, 255);
}
} else {
this.Yubptadqmtxvlt.Ymvsukxfoadfpz(303, 255);
}
} else {
this.Yubptadqmtxvlt.Ymvsukxfoadfpz(201, 255);
}
};
_local1.Ylxiwvrylhhqds = null;
_local1.Ymdclishyhegja = function (_arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9) {
var _local10 = 0;
var _local12 = _arg2;
if (_local12 != OBJECT_ID.ENEMY_SHIP1) {
if (_local12 != OBJECT_ID.ENEMY_SHIP2) {
if (_local12 != OBJECT_ID.ENEMY_SHIP3) {
if (_local12 != OBJECT_ID.ENEMY_DRONE) {
if (_local12 != OBJECT_ID.ENEMY_GHOST) {
// unexpected jump
var _local11 = new Yyuxsrbteznida("ship2", 0, 0, 25, _arg2);
// unexpected jump
_local11 = new Yyuxsrbteznida("ship3", 0, 0, 25, _arg2);
// unexpected jump
_local11 = new Yyuxsrbteznida("ship4", 0, 0, 25, _arg2);
// unexpected jump
_local11 = new Yyuxsrbteznida("drone", 0, 0, 28, _arg2);
// unexpected jump
}
}
}
}
} else {
var _local11 = new Yyuxsrbteznida("ship2", 0, 0, 25, _arg2);
// unexpected jump
_local11 = new Yyuxsrbteznida("ship3", 0, 0, 25, _arg2);
// unexpected jump
_local11 = new Yyuxsrbteznida("ship4", 0, 0, 25, _arg2);
// unexpected jump
_local11 = new Yyuxsrbteznida("drone", 0, 0, 28, _arg2);
// unexpected jump
_local11 = new Yyuxsrbteznida("ship1", 0, 0, 25, _arg2);
_local11.Yskldzajqgwpbe(0);
}
_local11.Yvegapssgtelrv = _arg3;
_local11.Ymclldxaxqlspc = _arg4;
_local11.Yhcmvxrpmfedwt(_local11.Yamnklvguybrxu() / 2, _local11.Ywaifbawpszdon() / 2);
_local11.Yijvpyvqukvgvj = _arg5;
_local11.Yxzpfivnhhtnoz(_arg6 - (_arg8 / 2), _arg7 - (_arg8 / 2), _arg8, _arg9);
this.Yuoqlrirwgsimj.add(_local11);
};
_local1.Ymdhenrbsanprd = null;
_local1.Ymeexsgwdxtsjr = function (_arg2, _arg3, _arg4, _arg5, _arg6) {
var _local7 = new Ymglinnpspnhcy("spaceman", true, OBJECT_ID.SPACE_MAN, 8);
_local7.Yiyuigepecdslk(Math.random() * 3, 4, 17, 24, 4, -1);
_local7.Yjteswfaopobkb = true;
_local7.Ytwtnhcgqhfptf(_arg2, _arg3);
_local7.Yiswcdqjrvcfar(_arg6);
_local7.Yygkxvbgvrkndv(_arg4);
_local7.Yhqdypxvkfavrw(_arg5);
_local7.Yjavzeqhgagstw = true;
this.Yonidrepbonspm.add(_local7);
};
_local1.Ymjdvlitukaohe = function (_arg2) {
this.Yrcqkcubmzvqyi = this.Ytztomgndsrkqz.Yaiuyynqineuso();
try {
throw this.Yxsccvrqntcisf;
} catch(_local) {
if (@instanceof( /* Error999 */
, flash.filters.DisplacementMapFilter)) {
var _local4 = /* Error999 */
;
} else {
var _local4 = /* Error999 */
;
throw "Class cast error";
}
}
var _local3 = "Ymjdvlitukaohe";
_local3.scaleX = Math.cos(this.Yapkihanhfmjtm) * 3;
_local3.scaleY = Math.sin(this.Yapkihanhfmjtm) * 3;
var _local4 = new Array();
_local4[0] = _local3;
this.Yapkihanhfmjtm = this.Yapkihanhfmjtm + (this.Yrcqkcubmzvqyi * 2.5);
this.Yvbsfydbhoypfo.Ypssrjkhhzenfo.filters = _local4;
this.Yyuilytasrnmqh.Yvcgvvqbtlloqs(0, 0, 422 * Yytmqbgkwvwvmo.Yuzvnptndczduc, 14);
if (!((Yytmqbgkwvwvmo.Yuzvnptndczduc >= 1) && (!Yytmqbgkwvwvmo.Ymopncgvattzjo))) {
if (!((Yytmqbgkwvwvmo.Yuzvnptndczduc >= 1) && ((this.Yfuztuenjcajny <= 0) && (Yytmqbgkwvwvmo.Ymopncgvattzjo)))) {
if (!((Yytmqbgkwvwvmo.Yuzvnptndczduc >= 1) && (Yytmqbgkwvwvmo.Ymopncgvattzjo))) {
this.Yfuztuenjcajny = this.Yfuztuenjcajny + (this.Yrcqkcubmzvqyi * 100);
} else {
this.Yfuztuenjcajny = this.Yfuztuenjcajny - (this.Yrcqkcubmzvqyi * 100);
Yytmqbgkwvwvmo.Yuzvnptndczduc = 1;
}
} else {
Yytmqbgkwvwvmo.Yuzvnptndczduc = 1;
this.Yvbsfydbhoypfo.Ywtvlhnuyjjsmb();
this.Yyuilytasrnmqh.Ywtvlhnuyjjsmb();
this.Ywcsrntvspaxfo.Ywtvlhnuyjjsmb();
this.Ydruxknapigakx.Ywtvlhnuyjjsmb();
this.Ychnfzdquvuiqf.Ywtvlhnuyjjsmb();
Yytmqbgkwvwvmo.Ykibloiafbmqer.unloadMovie();
Yytmqbgkwvwvmo.Ykibloiafbmqer = null;
this.Yvbsfydbhoypfo = null;
this.Yyuilytasrnmqh = null;
this.Ywcsrntvspaxfo = null;
this.Ydruxknapigakx = null;
this.Ychnfzdquvuiqf = null;
this.Yuqifqdoylgult();
flash.Lib._root.onEnterFrame = null;
this.Yfbnuepjxzbzfb();
}
} else {
Yytmqbgkwvwvmo.Yuzvnptndczduc = 1;
this.Ychnfzdquvuiqf.Ymvsukxfoadfpz(flash.Stage.width / 2, flash.Stage.height - 115);
var _local5 = Math.abs(Math.sin(this.Yapkihanhfmjtm));
this.Ychnfzdquvuiqf.Yskldzajqgwpbe(_local5 * 100);
}
Yytmqbgkwvwvmo.Yresvyzjfvulpo = _arg2;
Yytmqbgkwvwvmo.Yukxbbbifzuyhe = Yytmqbgkwvwvmo.Yresvyzjfvulpo - Yytmqbgkwvwvmo.Yuzvnptndczduc;
if (!Yytmqbgkwvwvmo.Yfsigtxcvfbldz) {
if (Yytmqbgkwvwvmo.Yukxbbbifzuyhe > 0.5) {
Yytmqbgkwvwvmo.Yukxbbbifzuyhe = 0.5;
}
} else if (Yytmqbgkwvwvmo.Yukxbbbifzuyhe > 0.75) {
Yytmqbgkwvwvmo.Yukxbbbifzuyhe = 0.75;
}
if ((Yytmqbgkwvwvmo.Yresvyzjfvulpo == 1) && (Yytmqbgkwvwvmo.Yuzvnptndczduc >= 0.9)) {
Yytmqbgkwvwvmo.Yukxbbbifzuyhe = 0.1;
}
Yytmqbgkwvwvmo.Yuzvnptndczduc = Yytmqbgkwvwvmo.Yuzvnptndczduc + (Yytmqbgkwvwvmo.Yukxbbbifzuyhe * this.Yrcqkcubmzvqyi);
if (this.Yfuztuenjcajny > 100) {
this.Yfuztuenjcajny = 100;
}
this.Yvbsfydbhoypfo.Ypssrjkhhzenfo._alpha = this.Yfuztuenjcajny;
this.Yyuilytasrnmqh.Ypssrjkhhzenfo._alpha = this.Yfuztuenjcajny;
this.Ywcsrntvspaxfo.Ypssrjkhhzenfo._alpha = this.Yfuztuenjcajny;
this.Ydruxknapigakx.Ypssrjkhhzenfo._alpha = this.Yfuztuenjcajny;
this.Ychnfzdquvuiqf.Ypssrjkhhzenfo._alpha = this.Yfuztuenjcajny;
this.Ypykvwqdgrauot.Ypssrjkhhzenfo._alpha = this.Yfuztuenjcajny;
this.Ytztomgndsrkqz.Frame();
Yytmqbgkwvwvmo.Yvlxgouwltstgp = false;
};
_local1.Ymmwrvnbdfagsq = null;
_local1.Ymnkotbopjwmgt = function () {
var _local2 = false;
this.Yrcqkcubmzvqyi = this.Ytztomgndsrkqz.Yaiuyynqineuso();
this.Ytztomgndsrkqz.Frame();
this.Yxkopsiuxvbsnz = this.Yxkopsiuxvbsnz - this.Yrcqkcubmzvqyi;
if ((this.Yyzewrqjijusru != Math.floor(Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr._xmouse)) || ((this.Yzicbifcypszpr != Math.floor(Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr._ymouse)) || (Yytmqbgkwvwvmo.Yvlxgouwltstgp))) {
this.Yxkopsiuxvbsnz = 0;
}
var _local3 = false;
if (this.Yvatgawbdnruix(188, 440, 166, 21)) {
this.Ynekbimhztecgw.Ypssrjkhhzenfo.useHandCursor = true;
_local3 = true;
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp && (!Yytmqbgkwvwvmo.Yxhrvdiijnjais)) {
Yytmqbgkwvwvmo.Yaodwqgzewsefa(Yuntqtjlotdfxk.Yaqunmeestntul("12C61EC2E481D9C921C9D8C10DB70BC00CC40FB724B711B317B71D800DC1178113C00EB722801ABA1A91FA93F197E7A118BE13C00F78F193F797E7BF0BBB18"));
}
}
if (!_local3) {
this.Ynekbimhztecgw.Ypssrjkhhzenfo.useHandCursor = false;
}
if (this.Yvatgawbdnruix(248, 34, 196, 38) && (this.Yxkopsiuxvbsnz <= 0)) {
this.Yhgxvvncwvylxh.Ymvsukxfoadfpz(258, 56);
if (this.Yahxjiysrevmin != 1) {
this.Yazsxxbvxadosb.Yjqqvpbvuzimai("commfont", this.Ythyniabsuhxnk);
}
_local2 = true;
this.Yhhvqvvpxoysel._x = Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr._xmouse;
this.Yhhvqvvpxoysel._y = Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr._ymouse - 30;
this.Yhhvqvvpxoysel.text = "Training Mode - No Scoring Is Tracked";
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp) {
this.Yjdmxivdcfradw();
this.Ysfxharmshqvmh = true;
}
this.Yahxjiysrevmin = 1;
}
if (this.Yvatgawbdnruix(248, 72, 196, 38) && (this.Yxkopsiuxvbsnz <= 0)) {
this.Yhgxvvncwvylxh.Ymvsukxfoadfpz(258, 92);
this.Yhhvqvvpxoysel._x = Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr._xmouse;
this.Yhhvqvvpxoysel._y = Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr._ymouse - 30;
this.Yhhvqvvpxoysel.text = "Mission Series - No Scoring Is Tracked";
if (this.Yahxjiysrevmin != 2) {
this.Yazsxxbvxadosb.Yjqqvpbvuzimai("commfont", this.Yhqvzvwbhdhlxq(Yytmqbgkwvwvmo.Ydmglwolxoshio));
}
_local2 = true;
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp) {
if (Yytmqbgkwvwvmo.Ydmglwolxoshio >= 5) {
Yytmqbgkwvwvmo.Ydmglwolxoshio = 0;
this.Yzrzjqhowwheos(0);
return(undefined);
}
this.Yffaprzdwwyxvn(Yytmqbgkwvwvmo.Ydmglwolxoshio);
if (Yytmqbgkwvwvmo.Ydmglwolxoshio == 4) {
this.Yicpkgatagpyor = this.Yuoqlrirwgsimj.length;
}
this.Yxzrntqvbaagsx = 0;
this.Yugyxyxtfsviwl(this.Yicpkgatagpyor);
this.Ysfxharmshqvmh = false;
}
this.Yahxjiysrevmin = 2;
}
if (this.Yvatgawbdnruix(248, 110, 196, 38) && (this.Yxkopsiuxvbsnz <= 0)) {
this.Yhhvqvvpxoysel._x = Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr._xmouse;
this.Yhhvqvvpxoysel._y = Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr._ymouse - 30;
this.Yhhvqvvpxoysel.text = "Free For All - Scoring Is Tracked";
this.Yhgxvvncwvylxh.Ymvsukxfoadfpz(258, 128);
if (this.Yahxjiysrevmin != 3) {
this.Yazsxxbvxadosb.Yjqqvpbvuzimai("commfont", this.Yqggffdswwovvb);
}
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp) {
this.Yrgqcosxihixsu();
this.Ysfxharmshqvmh = true;
}
_local2 = true;
this.Yahxjiysrevmin = 3;
}
this.Yutwcwwvzwbgwa.Ypssrjkhhzenfo.useHandCursor = _local2;
if (_local2 == false) {
this.Yhhvqvvpxoysel._x = -100;
this.Yhhvqvvpxoysel.text = "";
if (this.Yahxjiysrevmin != 4) {
if (Yytmqbgkwvwvmo.Ydmglwolxoshio != 0) {
if (!(this.Yvzsayanfhrqit && (this.Yxmniocxolgdbw == false))) {
if (!this.Yxmniocxolgdbw) {
if (!((this.Yicpkgatagpyor == 0) && (Yytmqbgkwvwvmo.Ydmglwolxoshio != 5))) {
if (Yytmqbgkwvwvmo.Ydmglwolxoshio == 5) {
this.Yazsxxbvxadosb.Yjqqvpbvuzimai("commfont", "Good job, you've completed all the missions.");
}
} else {
this.Yazsxxbvxadosb.Yjqqvpbvuzimai("commfont", "So, I see you've made it back alive and are looking for more.");
}
} else {
this.Yazsxxbvxadosb.Yjqqvpbvuzimai("commfont", "One of the astronauts was killed, this is unacceptable. Remember to use your tractor beam to collect them.\n\nThe training area provides more detailed help which may be usefull in later missions.");
}
} else {
this.Yazsxxbvxadosb.Yjqqvpbvuzimai("commfont", "Next time be a little more careful, luckily you were ejected and rescued.\n\nSometimes destroyed grey asteroids leave behind ammo and health kits.");
}
} else if (!(this.Yvzsayanfhrqit && (this.Yxmniocxolgdbw == false))) {
if (!this.Yxmniocxolgdbw) {
this.Yazsxxbvxadosb.Yjqqvpbvuzimai("commfont", this.Ycejdvfpxmklgs);
} else {
this.Yazsxxbvxadosb.Yjqqvpbvuzimai("commfont", "One of the astronauts was killed, this is unacceptable. Remember to use your tractor beam to collect them.\n\nThe training area provides more detailed help which may be usefull in later missions.");
}
} else {
this.Yazsxxbvxadosb.Yjqqvpbvuzimai("commfont", "Next time be a little more careful, luckily you were ejected and rescued.\n\nSometimes destroyed grey asteroids leave behind ammo and health kits.");
}
}
this.Yahxjiysrevmin = 4;
}
if (this.Yjkuzyjfsccnju != -1) {
if (flash.Key.isDown(this.Yjkuzyjfsccnju) == false) {
this.Yjkuzyjfsccnju = -1;
}
}
if (flash.Key.isDown(flash.Key.BACKSPACE) && ((this.Yclbrudusqordh.length > 0) && (this.Yapuoctgqyursv <= 0))) {
this.Yclbrudusqordh = this.Yclbrudusqordh.substr(0, this.Yclbrudusqordh.length - 1);
this.Yclediegewmndi.Yjqqvpbvuzimai("ledfnt", this.Yclbrudusqordh);
this.Yapuoctgqyursv = 0.1;
}
if ((this.Yjkuzyjfsccnju == -1) && (this.Yclbrudusqordh.length < 6)) {
var _local4 = 65;
var _local5 = 90;
while (_local4 < _local5) {
var _local6 = _local4;
_local4++;
if (flash.Key.isDown(_local6)) {
this.Yjkuzyjfsccnju = _local6;
this.Yclbrudusqordh = this.Yclbrudusqordh + Std.chr(_local6);
this.Yclediegewmndi.Yjqqvpbvuzimai("ledfnt", this.Yclbrudusqordh);
}
}
}
if (this.Yvxaagkuvqlbpk >= 0.2) {
this.Yldhwqnpjcciri.Ymmtrhylgmnpgm();
} else {
this.Yldhwqnpjcciri.Hide();
}
if (this.Yvxaagkuvqlbpk > 0.4) {
this.Yvxaagkuvqlbpk = 0;
}
this.Yvxaagkuvqlbpk = this.Yvxaagkuvqlbpk + this.Yrcqkcubmzvqyi;
this.Yldhwqnpjcciri.Ymvsukxfoadfpz(this.Yclediegewmndi.Yuawlpkbqcqsos() + 271, 372);
if (flash.Key.isDown(13) && (this.Yjkuzyjfsccnju == -1)) {
var _local4 = this.Yosxswicwfqljw(this.Yclbrudusqordh);
if (_local4 == -1) {
this.Yclbrudusqordh = "INVALID";
this.Yclediegewmndi.Yjqqvpbvuzimai("ledfnt", this.Yclbrudusqordh);
} else {
Yytmqbgkwvwvmo.Ydmglwolxoshio = _local4;
this.Yzrzjqhowwheos(Yytmqbgkwvwvmo.Ydmglwolxoshio);
this.Yyzewrqjijusru = -1;
this.Yzicbifcypszpr = -1;
this.Yclbrudusqordh = "ACCEPTED";
this.Yclediegewmndi.Yjqqvpbvuzimai("ledfnt", this.Yclbrudusqordh);
}
this.Yjkuzyjfsccnju = 13;
}
this.Yapuoctgqyursv = this.Yapuoctgqyursv - this.Yrcqkcubmzvqyi;
if (this.Yvcujwgxdakrzr != null) {
this.Yvcujwgxdakrzr.Hide();
}
Yytmqbgkwvwvmo.Yvlxgouwltstgp = false;
};
_local1.Ympiraoajgeklc = null;
_local1.Ymxiwdfgkdbrds = null;
_local1.Ynchsbojvfvfhz = null;
_local1.Ynekbimhztecgw = null;
_local1.Ynfhqdghupbgqr = function () {
this.Yngpdkennybxfp.Ywtvlhnuyjjsmb();
this.Yngpdkennybxfp = null;
this.Ywyfjieselevpw.Ypssrjkhhzenfo.onPress = null;
this.Ywuewffhsmemcy.Ypssrjkhhzenfo.onPress = null;
this.Ykwdivcrrkwmca.Ypssrjkhhzenfo.onPress = null;
this.Yufsdknbyqbgnn.Ypssrjkhhzenfo.onPress = null;
this.Ygvnbcwrwxvvos.Ypssrjkhhzenfo.onPress = null;
this.Ywgntfjzvexvhp.Ypssrjkhhzenfo.onPress = null;
this.Yufsdknbyqbgnn.Ywtvlhnuyjjsmb();
this.Ygvnbcwrwxvvos.Ywtvlhnuyjjsmb();
this.Ywgntfjzvexvhp.Ywtvlhnuyjjsmb();
this.Ycdiwcpucqjxcg.Ywtvlhnuyjjsmb();
this.Ywyfjieselevpw.Ywtvlhnuyjjsmb();
this.Ywuewffhsmemcy.Ywtvlhnuyjjsmb();
this.Ykwdivcrrkwmca.Ywtvlhnuyjjsmb();
this.Ywnapxjmhlfxft.Ywtvlhnuyjjsmb();
this.Yufsdknbyqbgnn = null;
this.Ycdiwcpucqjxcg = null;
this.Ywgntfjzvexvhp = null;
this.Ygvnbcwrwxvvos = null;
this.Ykwdivcrrkwmca = null;
this.Ywyfjieselevpw = null;
this.Ywuewffhsmemcy = null;
this.Ywnapxjmhlfxft = null;
if (!this.Yhpzhlvcdzdifc) {
this.Ybmugvmffpjhmk.Ywtvlhnuyjjsmb();
this.Ybmugvmffpjhmk = null;
this.Yvrhnelryxhrxi.Ywtvlhnuyjjsmb();
this.Yvrhnelryxhrxi = null;
}
this.Ylxiwvrylhhqds.removeTextField();
Yytmqbgkwvwvmo.Yvqrtpqjiqhkfm.removeTextField();
this.Ygjdpxpngyfrkm.removeTextField();
this.Yevneoeoetmesu.removeTextField();
this.Yhnrlemhtavnyc.removeTextField();
this.Ygjdpxpngyfrkm = null;
this.Yevneoeoetmesu = null;
this.Yhnrlemhtavnyc = null;
this.Ylxiwvrylhhqds = null;
Yytmqbgkwvwvmo.Yvqrtpqjiqhkfm = null;
if (this.Yhpzhlvcdzdifc) {
Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.onEnterFrame = @closure("Yfnhaxkhzudzjl", this);
} else {
this.Yzrzjqhowwheos(Yytmqbgkwvwvmo.Ydmglwolxoshio);
}
this.Yhpzhlvcdzdifc = false;
};
_local1.Yngpdkennybxfp = null;
_local1.Ynvesqhsgbfzry = null;
_local1.Ynvgmgxvmowkpw = null;
_local1.Yoazlsgdhjhcdz = function () {
var _local2 = this.Yuoqlrirwgsimj.iterator();
while (_local2.hasNext()) {
var _local3 = _local2.next();
if (_local3.Ykiapirtlocjdl.Yjteswfaopobkb) {
return(true);
}
}
return(false);
};
_local1.Yohqnombiwkkcr = null;
_local1.Yojobqcaqonodq = null;
_local1.Yoljwropyabkfx = function (_arg2) {
var _local3 = "" + _arg2;
var _local4 = "";
var _local5 = Math.floor(_local3.length / 3);
var _local6 = new Array();
var _local7 = 0;
var _local8 = _local5;
while (_local7 < _local8) {
var _local9 = _local7;
_local7++;
_local6[_local9] = ((_local9 + 1) * 3) - 1;
}
_local7 = 0;
_local8 = _local3.length - 1;
var _local9 = 0;
var _local10 = _local3.length;
while (_local9 < _local10) {
var _local11 = _local9;
_local9++;
_local4 = _local4 + _local3.charAt(_local11);
if (((_local8 == 3) && (_local3.length > 3)) || ((_local8 == 6) && (_local3.length > 6))) {
_local4 = _local4 + ",";
}
_local8--;
}
return(_local4);
};
_local1.Yonidrepbonspm = null;
_local1.Yosxswicwfqljw = function (_arg2) {
var _local3 = 0;
var _local4 = this.Yxsejcceriqcsx.length;
while (_local3 < _local4) {
var _local5 = _local3;
_local3++;
var _local6 = this.Yxsejcceriqcsx[_local5].split(",");
if (_local6[1] == _arg2.toLowerCase()) {
return(_local5);
}
}
return(-1);
};
_local1.Yotyrkfmlpwfeo = function () {
Yytmqbgkwvwvmo.Yxdlzckawrctth = Yytmqbgkwvwvmo.Yebbahegdsxeuu;
Yytmqbgkwvwvmo.Ysqpzbvwbybhbn = Yytmqbgkwvwvmo.Yzvlhglujzvexs;
Yytmqbgkwvwvmo.Yhbgsgtykwnzku = Yytmqbgkwvwvmo.Yfhrcgvyeqdtth;
Yytmqbgkwvwvmo.Yxiffwtujsyspt = Yytmqbgkwvwvmo.Yrtpplapymibpc;
Yytmqbgkwvwvmo.Yilhcylcghnjwj = Yytmqbgkwvwvmo.Ygbycfdbzyznsm;
Yytmqbgkwvwvmo.Yncqvlohtkbyqz = Yytmqbgkwvwvmo.Yagshvtqufeuvj;
};
_local1.Ypbsocxfbcveys = function () {
this.Yfcgzgltpyqmks.Yvntmyscipxwgi();
this.Ykpsxnxvbpyutu.Yvntmyscipxwgi();
this.Ymmwrvnbdfagsq.Yvntmyscipxwgi();
this.Yhzftgvufztcvm.Yvntmyscipxwgi();
this.Ywxdjycypnbfwo.Yvntmyscipxwgi();
this.Yajizoebxfbgjw.Yvntmyscipxwgi();
this.Ympiraoajgeklc.Yvntmyscipxwgi();
this.Ybndjkqczhlzpf.Yvntmyscipxwgi();
this.Ydfdsqrbzqhsda.Yvntmyscipxwgi();
};
_local1.Ypjrvcimotwtoo = null;
_local1.Yputyqmriahwml = null;
_local1.Ypykvwqdgrauot = null;
_local1.Yqffiyccsbumdk = null;
_local1.Yqggffdswwovvb = null;
_local1.Yqkkwfaemtyjud = null;
_local1.Yqkqtahxotudyi = function () {
var _local2 = false;
this.Yrcqkcubmzvqyi = this.Ytztomgndsrkqz.Yaiuyynqineuso();
this.Ytztomgndsrkqz.Frame();
var _local3 = Math.floor(Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr._xmouse);
var _local4 = Math.floor(Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr._ymouse);
var _local5 = false;
if (this.Yvatgawbdnruix(188, 440, 166, 21)) {
this.Ynekbimhztecgw.Ypssrjkhhzenfo.useHandCursor = true;
_local5 = true;
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp && (!Yytmqbgkwvwvmo.Yxhrvdiijnjais)) {
Yytmqbgkwvwvmo.Yaodwqgzewsefa(Yuntqtjlotdfxk.Yaqunmeestntul("12C61EC2E481D9C921C9D8C10DB70BC00CC40FB724B711B317B71D800DC1178113C00EB722801ABA1A91FA93F197E7A118BE13C00F78F193F797E7BF0BBB18"));
}
}
if (!_local5) {
this.Ynekbimhztecgw.Ypssrjkhhzenfo.useHandCursor = false;
}
if (!Yytmqbgkwvwvmo.Yxhrvdiijnjais) {
this.Yxphnwqryosvox = false;
this.Yyllldkiagsubi = false;
this.Yhhvqvvpxoysel.text = "";
this.Yhhvqvvpxoysel._y = -100;
}
if ((this.Yvatgawbdnruix(168, 126, 239, 31) && (!this.Yxphnwqryosvox)) || (this.Yyllldkiagsubi)) {
if (Yytmqbgkwvwvmo.Yxhrvdiijnjais) {
if (_local3 < 168) {
_local3 = 168;
}
if (_local3 > (168 + 239)) {
_local3 = 239 + 168;
}
this.Yacogpyvdzfadc = (_local3 - 168) / 239;
this.Yyszisqzziryww.Ymvsukxfoadfpz(Math.floor(168 + (this.Yacogpyvdzfadc * 239)), 139);
this.Yuxurbkysahbcv();
this.Yyllldkiagsubi = true;
}
this.Yhhvqvvpxoysel._x = _local3;
this.Yhhvqvvpxoysel._y = _local4 - 30;
this.Yhhvqvvpxoysel.text = ("Volume: " + Math.floor(this.Yacogpyvdzfadc * 100)) + " Volume of 0 Disables";
if (this.Yacogpyvdzfadc != 0) {
this.Ypbsocxfbcveys();
} else {
this.Yhhvqvvpxoysel.text = "Disabled";
this.Ywpybgxtpqrkta();
}
_local2 = true;
}
if ((this.Yvatgawbdnruix(168, 187, 239, 31) && (!this.Yyllldkiagsubi)) || (this.Yxphnwqryosvox)) {
if (Yytmqbgkwvwvmo.Yxhrvdiijnjais) {
if (_local3 < 168) {
_local3 = 168;
}
if (_local3 > (168 + 239)) {
_local3 = 239 + 168;
}
this.Ybncefyrrctbgl = (_local3 - 168) / 239;
this.Ynvesqhsgbfzry.Ymvsukxfoadfpz(Math.floor(168 + (this.Ybncefyrrctbgl * 239)), 200);
this.Ygooetvzecryak();
this.Yxphnwqryosvox = true;
}
this.Yhhvqvvpxoysel._x = _local3;
this.Yhhvqvvpxoysel._y = _local4 - 30;
this.Yhhvqvvpxoysel.text = ("Volume: " + Math.floor(this.Ybncefyrrctbgl * 100)) + " Volume of 0 Disables";
if (this.Ybncefyrrctbgl != 0) {
this.Yisgisobqebvie();
if (!this.Yapmnijckdmxdg) {
this.Yaciydcdsewylw.Ytyoqcvhvmeslx(999999);
this.Yapmnijckdmxdg = true;
}
} else {
this.Yhhvqvvpxoysel.text = "Disabled";
this.Yglwbsqiatemez();
this.Yapmnijckdmxdg = false;
}
_local2 = true;
}
if (this.Yvatgawbdnruix(158, 251, 71, 21)) {
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp) {
flash.Lib._root._quality = "low";
}
_local2 = true;
}
if (this.Yvatgawbdnruix(254, 251, 71, 21)) {
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp) {
flash.Lib._root._quality = "medium";
}
_local2 = true;
}
if (this.Yvatgawbdnruix(349, 251, 71, 21)) {
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp) {
flash.Lib._root._quality = "high";
}
_local2 = true;
}
this.Yllekxzpqcabdz();
if (this.Yvatgawbdnruix(145, 286, 82, 34)) {
_local2 = true;
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp) {
this.Ysxebmlsivncmw();
}
}
if (this.Yvatgawbdnruix(247, 286, 82, 34)) {
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp) {
var _local6 = [97, 0, 1, 11, 22, 98, 12, 1, 24, 22, 99, 26, 1, 37, 22, 100, 40, 1, 52, 22, 101, 53, 1, 64, 22, 102, 66, 1, 76, 22, 103, 78, 1, 90, 22, 104, 92, 1, 104, 22, 105, 106, 1, 113, 22, 106, 115, 1, 124, 22, 107, 127, 1, 139, 22, 108, 140, 1, 150, 22, 109, 152, 1, 167, 22, 110, 168, 1, 181, 22, 111, 183, 1, 195, 22, 112, 197, 1, 208, 22, 113, 210, 1, 223, 22, 114, 224, 1, 237, 22, 115, 238, 1, 249, 22, 116, 250, 1, 262, 22, 117, 263, 1, 275, 22, 118, 277, 1, 290, 22, 119, 291, 1, 306, 22, 120, 307, 1, 321, 22, 121, 322, 1, 335, 22, 122, 336, 1, 348, 22, 49, 349, 1, 358, 22, 50, 360, 1, 372, 22, 51, 374, 1, 386, 22, 52, 388, 1, 400, 22, 53, 402, 1, 413, 22, 54, 415, 1, 426, 22, 55, 428, 1, 440, 22, 56, 442, 1, 454, 22, 57, 455, 1, 466, 22, 48, 469, 1, 481, 22];
if (this.Ybkjwwlzlmpdkn != null) {
this.Ybkjwwlzlmpdkn.Ywtvlhnuyjjsmb();
}
this.Ybkjwwlzlmpdkn = null;
this.Ybkjwwlzlmpdkn = new Ymiorhfoxwmqgu("key_panel", 0, 0, true, false);
this.Ybkjwwlzlmpdkn.Ymvsukxfoadfpz(flash.Stage.width / 2, 378 / 2);
this.Ybkjwwlzlmpdkn.Ypssrjkhhzenfo.onPress = function () {
};
if (this.Yazsxxbvxadosb != null) {
this.Yazsxxbvxadosb.Ywtvlhnuyjjsmb();
}
this.Yazsxxbvxadosb = null;
this.Yazsxxbvxadosb = new Ydynmjrtizhfpk(_local6, -1);
this.Yazsxxbvxadosb.Ydbwnbrgexqlhm(0);
this.Yazsxxbvxadosb.Yuezrxozkevejm(300);
this.Yjgmpqlhaosrhy();
this.Yazsxxbvxadosb.SetPos(290, 94);
this.Ydwtjghvifmjsi();
Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.onEnterFrame = @closure("Ycpgwxqtzlizda", this);
}
_local2 = true;
}
if (this.Yvatgawbdnruix(348, 286, 82, 34)) {
_local2 = true;
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp) {
this.Ylcmtjmvrwnzru();
Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.onEnterFrame = @closure("Yfnhaxkhzudzjl", this);
if (this.Yiyiqkyanrovxc.Ypfvicahimhaxy() > 0) {
this.Yiyiqkyanrovxc.Ymmtrhylgmnpgm();
}
if (Yytmqbgkwvwvmo.Ydiayxjzwpmhtv) {
this.Yfkcsgrufycaag.Ymmtrhylgmnpgm();
}
}
}
this.Ydrewiotglcwqo.Ypssrjkhhzenfo.useHandCursor = _local2;
Yytmqbgkwvwvmo.Yvlxgouwltstgp = false;
};
_local1.Yqlfcxpnykfrbx = null;
_local1.Yqlravqulebosf = null;
_local1.Yqrchkrfakaylo = function () {
var _local2 = Math.random() * 472;
var _local3 = 50;
this.Yzoyuduhnihnex("asteroid1", OBJECT_ID.ASTEROID_LARGE, _local2, _local3, Math.atan2((432 / 2) - _local3, (576 / 2) - _local2), 100, 1, (Math.random() * (-6)) + 3);
};
_local1.Yrcqkcubmzvqyi = null;
_local1.Yrgqcosxihixsu = function () {
this.Yjeuvtcesjhrys = true;
Yytmqbgkwvwvmo.Ydiayxjzwpmhtv = false;
this.Yyhmtqzjlklrxc = false;
this.Ydnfjgmmiuywhx = true;
this.Yjesggcptgoeye();
Yytmqbgkwvwvmo.Ycotqqftouyads = true;
Yytmqbgkwvwvmo.Yflzcgiffdtzgv = true;
Yytmqbgkwvwvmo.Ytmdkzytfvhbmv = 1.2;
this.Yputyqmriahwml = 65;
this.Ydqfigrqubsgzt = 25;
var _local2 = 0;
var _local3 = 20;
while (_local2 < _local3) {
var _local4 = _local2;
_local2++;
this.Yzoyuduhnihnex("asteroid1", OBJECT_ID.ASTEROID_LARGE, (Math.random() * 3000) - 1500, (Math.random() * 3000) - 1500, Math.random() * 6.28, (Math.random() * 50) + 5, 1, (Math.random() * (-3)) + 1.5);
this.Yzoyuduhnihnex("asteroid2", OBJECT_ID.ASTEROID_SMALL, (Math.random() * 3000) - 1500, (Math.random() * 3000) - 1500, Math.random() * 6.28, (Math.random() * 50) + 5, 1, (Math.random() * (-3)) + 1.5);
this.Yojobqcaqonodq = this.Yojobqcaqonodq + 2;
}
_local2 = 0;
_local3 = 2;
while (_local2 < _local3) {
var _local4 = _local2;
_local2++;
var _local5 = (Math.random() * Math.PI) * 2;
var _local6 = Math.cos(_local5) * 2300;
var _local7 = Math.sin(_local5) * 2300;
this.Ymdclishyhegja(OBJECT_ID.ENEMY_SHIP1, _local6, _local7, ENEMY_AI.SCOUT, _local6, _local7, 900, 900);
_local5 = (Math.random() * Math.PI) * 2;
_local6 = Math.cos(_local5) * 2300;
_local7 = Math.sin(_local5) * 2300;
this.Ymdclishyhegja(OBJECT_ID.ENEMY_SHIP2, _local6, _local7, ENEMY_AI.SCOUT, _local6, _local7, 900, 900);
}
};
_local1.Yrkmjnroxhcjal = null;
_local1.Ysdepmroqvrzcu = null;
_local1.Ysenhxoahxbfsm = function (_arg2) {
if (Yytmqbgkwvwvmo.Yxdlzckawrctth == -1) {
Yytmqbgkwvwvmo.Yxdlzckawrctth = _arg2;
}
if (Yytmqbgkwvwvmo.Ysqpzbvwbybhbn == -1) {
Yytmqbgkwvwvmo.Ysqpzbvwbybhbn = _arg2;
}
if (Yytmqbgkwvwvmo.Yhbgsgtykwnzku == -1) {
Yytmqbgkwvwvmo.Yhbgsgtykwnzku = _arg2;
}
if (Yytmqbgkwvwvmo.Yxiffwtujsyspt == -1) {
Yytmqbgkwvwvmo.Yxiffwtujsyspt = _arg2;
}
if (Yytmqbgkwvwvmo.Yilhcylcghnjwj == -1) {
Yytmqbgkwvwvmo.Yilhcylcghnjwj = _arg2;
}
if (Yytmqbgkwvwvmo.Yncqvlohtkbyqz == -1) {
Yytmqbgkwvwvmo.Yncqvlohtkbyqz = _arg2;
}
this.Yjgmpqlhaosrhy();
};
_local1.Ysesrppbtvpyry = function (_arg2) {
var _local3 = this.Yxsejcceriqcsx[_arg2].split(",");
return(_local3[0]);
};
_local1.Ysfxharmshqvmh = null;
_local1.Ysicazrwtpqsfm = function () {
return((Yytmqbgkwvwvmo.Yxdlzckawrctth == -1) || ((Yytmqbgkwvwvmo.Ysqpzbvwbybhbn == -1) || ((Yytmqbgkwvwvmo.Yhbgsgtykwnzku == -1) || ((Yytmqbgkwvwvmo.Yxiffwtujsyspt == -1) || ((Yytmqbgkwvwvmo.Yilhcylcghnjwj == -1) || (Yytmqbgkwvwvmo.Yncqvlohtkbyqz == -1))))));
};
_local1.Ysxebmlsivncmw = function () {
Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.onEnterFrame = @closure("Yevmlhnxenvzyz", this);
if (this.Yxdtyxpwqvyuys != null) {
this.Yxdtyxpwqvyuys.Ywtvlhnuyjjsmb();
}
this.Yxdtyxpwqvyuys = null;
this.Yxdtyxpwqvyuys = new Ymiorhfoxwmqgu("credits", 0, 0, true, false);
this.Yxdtyxpwqvyuys.Ymvsukxfoadfpz((flash.Stage.width / 2) + 0.5, 378 / 2);
this.Yxdtyxpwqvyuys.Ypssrjkhhzenfo.onPress = function () {
};
this.Yxdtyxpwqvyuys.Ypssrjkhhzenfo.useHandCursor = false;
this.Ydrewiotglcwqo.Ypssrjkhhzenfo.useHandCursor = false;
};
_local1.Ytekypghbrswhe = function (_arg2, _arg3, _arg4, _arg5) {
var _local6 = new Ymglinnpspnhcy("bullets", true, OBJECT_ID.BULLETS, 8);
_local6.Yiyuigepecdslk(0, 1, 27, 27, 0, -1);
_local6.Yjteswfaopobkb = true;
_local6.Ytwtnhcgqhfptf(_arg2, _arg3);
_local6.Yiswcdqjrvcfar(Math.random() * 3.14);
_local6.Yygkxvbgvrkndv(_arg4);
_local6.Ymvsukxfoadfpz(-100, -100);
_local6.Yhqdypxvkfavrw(_arg5);
_local6.Yjavzeqhgagstw = true;
this.Yonidrepbonspm.add(_local6);
};
_local1.Ythyniabsuhxnk = null;
_local1.Ytjafjuqocmqun = null;
_local1.Ytztomgndsrkqz = null;
_local1.Yubptadqmtxvlt = null;
_local1.Yufsdknbyqbgnn = null;
_local1.Yufxemzbifyqpv = function (_arg2, _arg3) {
var _local4 = new Ymglinnpspnhcy("spaceman_exp", true, OBJECT_ID.EXPLOSION, 8);
_local4.Yiyuigepecdslk(0, 4, 32, 40, 24, 1);
_local4.Ytwtnhcgqhfptf(_arg2, _arg3);
_local4.Yjteswfaopobkb = true;
_local4.Yjavzeqhgagstw = true;
this.Yqlravqulebosf.add(_local4);
this.Ybndjkqczhlzpf.Ysdrxikpmwjcze(0);
};
_local1.Yugyxyxtfsviwl = function (_arg2) {
if (Yytmqbgkwvwvmo.Yjjfzenzdzpujl) {
this.Yxzrntqvbaagsx = 0;
return(undefined);
}
this.Yxzrntqvbaagsx = this.Yxzrntqvbaagsx + _arg2;
if (this.Yxzrntqvbaagsx < 0) {
this.Yxzrntqvbaagsx = 0;
}
var _local3 = "" + this.Yxzrntqvbaagsx;
var _local4 = "";
var _local5 = Math.floor(_local3.length / 3);
var _local6 = new Array();
var _local7 = 0;
var _local8 = _local5;
while (_local7 < _local8) {
var _local9 = _local7;
_local7++;
_local6[_local9] = ((_local9 + 1) * 3) - 1;
}
_local7 = 0;
_local8 = _local3.length - 1;
var _local9 = 0;
var _local10 = _local3.length;
while (_local9 < _local10) {
var _local11 = _local9;
_local9++;
_local4 = _local4 + _local3.charAt(_local11);
if (((_local8 == 3) && (_local3.length > 3)) || ((_local8 == 6) && (_local3.length > 6))) {
_local4 = _local4 + ",";
}
_local8--;
}
this.Yecdmakreapunr.Yjqqvpbvuzimai("score_fnt", _local4);
};
_local1.Yumxrqlougqfhg = function () {
this.Yrcqkcubmzvqyi = this.Ytztomgndsrkqz.Yaiuyynqineuso();
this.Ytztomgndsrkqz.Frame();
var _local2 = false;
var _local3 = false;
if (this.Yvatgawbdnruix(212, 166, 153, 17) && (!Yytmqbgkwvwvmo.Yfsigtxcvfbldz)) {
if (Yytmqbgkwvwvmo.Yvlxgouwltstgp) {
}
_local3 = true;
Yytmqbgkwvwvmo.Yvlxgouwltstgp = false;
}
this.Ybkjwwlzlmpdkn.Ypssrjkhhzenfo.useHandCursor = _local3;
if (!(this.Yqffiyccsbumdk && (Ykooahbhkzabif.Yggycbyylxieqc()))) {
if (!(this.Yqffiyccsbumdk && (!Ykooahbhkzabif.Yggycbyylxieqc()))) {
if ((!this.Yqffiyccsbumdk) && (!Ykooahbhkzabif.Yggycbyylxieqc())) {
if (Yytmqbgkwvwvmo.Ymsfwdsqdcsziy != 5) {
if (Yytmqbgkwvwvmo.Ymsfwdsqdcsziy != 6) {
if (Yytmqbgkwvwvmo.Ymsfwdsqdcsziy == 7) {
this.Ybljeqshctgukz++;
if (this.Ybljeqshctgukz > this.Ytjafjuqocmqun) {
this.Ybljeqshctgukz = this.Ytjafjuqocmqun;
}
_local2 = true;
Yytmqbgkwvwvmo.Ymsfwdsqdcsziy = 0;
}
} else {
this.Ybljeqshctgukz--;
if (this.Ybljeqshctgukz < 0) {
this.Ybljeqshctgukz = 0;
}
_local2 = true;
Yytmqbgkwvwvmo.Ymsfwdsqdcsziy = 0;
}
} else {
if (!Yytmqbgkwvwvmo.Ydiayxjzwpmhtv) {
this.Yiyiqkyanrovxc.Ymmtrhylgmnpgm();
} else if (this.Yfkcsgrufycaag != null) {
this.Yfkcsgrufycaag.Ymmtrhylgmnpgm();
}
this.Ynfhqdghupbgqr();
Yytmqbgkwvwvmo.Ymsfwdsqdcsziy = 0;
}
}
} else {
this.Yqffiyccsbumdk = false;
this.Ylxiwvrylhhqds.text = "";
this.Ygjdpxpngyfrkm.text = "";
this.Yevneoeoetmesu.text = "";
this.Yhnrlemhtavnyc.text = "";
var _local4 = Ykooahbhkzabif.Yblojehnlgkyxk();
this.Ytjafjuqocmqun = Math.floor(_local4 / 10);
if ((_local4 - (this.Ytjafjuqocmqun * 10)) == 0) {
this.Ytjafjuqocmqun--;
}
if (_local4 > 10) {
_local4 = 10;
}
var _local5 = 0;
var _local6 = _local4;
while (_local5 < _local6) {
var _local7 = _local5;
_local5++;
this.Ygjdpxpngyfrkm.text = this.Ygjdpxpngyfrkm.text + (("" + (_local7 + 1)) + newline);
this.Yevneoeoetmesu.text = this.Yevneoeoetmesu.text + (Ykooahbhkzabif.Ywalfnaabqmqau(_local7) + newline);
this.Yhnrlemhtavnyc.text = this.Yhnrlemhtavnyc.text + this.Yoljwropyabkfx(Std.parseInt(Ykooahbhkzabif.Ykwyytoibfqdtf(_local7)));
this.Yhnrlemhtavnyc.text = this.Yhnrlemhtavnyc.text + newline;
}
if (!this.Yhpzhlvcdzdifc) {
_local5 = Ykooahbhkzabif.Yhakastbnoycdd(Yytmqbgkwvwvmo.Yvqrtpqjiqhkfm.text, "" + this.Yaqcrniwxgyjac);
if (_local5 != -1) {
this.Ybljeqshctgukz = Math.floor(_local5 / 10);
this.Yohqnombiwkkcr = _local5 - (this.Ybljeqshctgukz * 10);
this.Ycdiwcpucqjxcg.Ymvsukxfoadfpz(127, 110 + (15 * this.Yohqnombiwkkcr));
this.Yiamsbmwcvoxxm = this.Ybljeqshctgukz;
_local2 = true;
}
}
}
} else {
this.Ypjrvcimotwtoo = this.Ypjrvcimotwtoo + this.Yrcqkcubmzvqyi;
if (this.Ypjrvcimotwtoo > 0.4) {
this.Ypjrvcimotwtoo = 0;
}
if (this.Ypjrvcimotwtoo >= 0.2) {
this.Ylxiwvrylhhqds.text = "";
} else {
this.Ylxiwvrylhhqds.text = "Retrieving Scores...";
}
if (Yytmqbgkwvwvmo.Ymsfwdsqdcsziy == 5) {
Ykooahbhkzabif.Yhqixfguluoxps();
if (!Yytmqbgkwvwvmo.Ydiayxjzwpmhtv) {
this.Yiyiqkyanrovxc.Ymmtrhylgmnpgm();
} else if (this.Yfkcsgrufycaag != null) {
this.Yfkcsgrufycaag.Ymmtrhylgmnpgm();
}
this.Ynfhqdghupbgqr();
Yytmqbgkwvwvmo.Ymsfwdsqdcsziy = 0;
}
}
if (_local2) {
var _local4 = Ykooahbhkzabif.Yblojehnlgkyxk() - (this.Ybljeqshctgukz * 10);
if (_local4 > 10) {
_local4 = 10;
}
var _local5 = this.Ybljeqshctgukz * 10;
var _local6 = _local5 + _local4;
this.Ygjdpxpngyfrkm.text = "";
this.Yevneoeoetmesu.text = "";
this.Yhnrlemhtavnyc.text = "";
var _local7 = _local5;
var _local8 = _local6;
while (_local7 < _local8) {
var _local9 = _local7;
_local7++;
this.Ygjdpxpngyfrkm.text = this.Ygjdpxpngyfrkm.text + (("" + (_local9 + 1)) + newline);
this.Yevneoeoetmesu.text = this.Yevneoeoetmesu.text + (Ykooahbhkzabif.Ywalfnaabqmqau(_local9) + newline);
this.Yhnrlemhtavnyc.text = this.Yhnrlemhtavnyc.text + this.Yoljwropyabkfx(Std.parseInt(Ykooahbhkzabif.Ykwyytoibfqdtf(_local9)));
this.Yhnrlemhtavnyc.text = this.Yhnrlemhtavnyc.text + newline;
}
if (!((!this.Yhpzhlvcdzdifc) && (this.Yiamsbmwcvoxxm == this.Ybljeqshctgukz))) {
this.Ycdiwcpucqjxcg.Ymvsukxfoadfpz(-100, -100);
} else {
this.Ycdiwcpucqjxcg.Ymvsukxfoadfpz(127, 110 + (15 * this.Yohqnombiwkkcr));
}
}
Yytmqbgkwvwvmo.Yvlxgouwltstgp = false;
};
_local1.Yuoqlrirwgsimj = null;
_local1.Yuqifqdoylgult = function () {
flash.Lib._root.gotoAndStop("music");
this.Ycbxwoxtvafkvg = Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.createEmptyMovieClip("background", Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.getNextHighestDepth());
this.Ycbxwoxtvafkvg.beginFill(-16777216);
this.Ycbxwoxtvafkvg.moveTo(0, 0);
this.Ycbxwoxtvafkvg.lineTo(flash.Stage.width, 0);
this.Ycbxwoxtvafkvg.lineTo(flash.Stage.width, 378);
this.Ycbxwoxtvafkvg.lineTo(0, 378);
this.Ycbxwoxtvafkvg.lineTo(0, 0);
this.Ycbxwoxtvafkvg.endFill();
this.Ycbxwoxtvafkvg.cacheAsBitmap = true;
this.Ynekbimhztecgw = new Ymiorhfoxwmqgu("panel", 0, 0, false, false);
this.Ynekbimhztecgw.Ymvsukxfoadfpz(0, 378);
this.Ynekbimhztecgw.Ypssrjkhhzenfo.onPress = function () {
};
};
_local1.Yutwcwwvzwbgwa = null;
_local1.Yuvkqnidpcwzmf = function (_arg2, _arg3, _arg4, _arg5) {
var _local6 = new Ymglinnpspnhcy("health", true, OBJECT_ID.HEALTH, 8);
_local6.Yiyuigepecdslk(0, 1, 33, 25, 0, -1);
_local6.Yjteswfaopobkb = true;
_local6.Ytwtnhcgqhfptf(_arg2, _arg3);
_local6.Yiswcdqjrvcfar(Math.random() * 3.14);
_local6.Yygkxvbgvrkndv(_arg4);
_local6.Ymvsukxfoadfpz(-100, -100);
_local6.Yhqdypxvkfavrw(_arg5);
_local6.Yjavzeqhgagstw = true;
this.Yonidrepbonspm.add(_local6);
};
_local1.Yuxurbkysahbcv = function () {
this.Ywxdjycypnbfwo.Yuqdgezltuxeip(this.Yacogpyvdzfadc);
this.Yhzftgvufztcvm.Yuqdgezltuxeip(this.Yacogpyvdzfadc);
this.Yfcgzgltpyqmks.Yuqdgezltuxeip(this.Yacogpyvdzfadc);
this.Ykpsxnxvbpyutu.Yuqdgezltuxeip(this.Yacogpyvdzfadc);
this.Yajizoebxfbgjw.Yuqdgezltuxeip(this.Yacogpyvdzfadc);
this.Ydfdsqrbzqhsda.Yuqdgezltuxeip(this.Yacogpyvdzfadc);
this.Ympiraoajgeklc.Yuqdgezltuxeip(this.Yacogpyvdzfadc);
this.Ymmwrvnbdfagsq.Yuqdgezltuxeip(this.Yacogpyvdzfadc);
};
_local1.Yuyngnvpnoartf = function (_arg2, _arg3) {
var _local4 = new Ymglinnpspnhcy("explosion", true, OBJECT_ID.EXPLOSION, 8);
_local4.Yiyuigepecdslk(0, 10, 74, 74, 36, 1);
_local4.Ytwtnhcgqhfptf(_arg2, _arg3);
_local4.Yjteswfaopobkb = true;
_local4.Yjavzeqhgagstw = true;
this.Yqlravqulebosf.add(_local4);
};
_local1.Yuzboshsdfistb = null;
_local1.Yvadijqboesago = function () {
this.Yufsdknbyqbgnn.Ymvsukxfoadfpz(flash.Stage.width / 2, 330 - 0.5);
if (!Yytmqbgkwvwvmo.Yfsigtxcvfbldz) {
var _local2 = new flash.TextFormat();
_local2.url = "http://www.oceanbreezegames.com";
_local2.target = "_blank";
_local2.align = "center";
this.Ylxiwvrylhhqds.multiline = true;
this.Ylxiwvrylhhqds.wordWrap = true;
this.Ylxiwvrylhhqds.html = true;
if (this.Yhpzhlvcdzdifc != false) {
this.Ylxiwvrylhhqds.text = "You can only access high scores from\r\nhttp://www.OceanBreezeGames.com\r\nClick close to return to your game.";
} else {
this.Ylxiwvrylhhqds.text = "You can only access high scores from\r\nhttp://www.OceanBreezeGames.com\r\nClick any button to close this dialog";
}
this.Ylxiwvrylhhqds.setTextFormat(_local2);
this.Ylxiwvrylhhqds.autoSize = "center";
} else {
this.Ygvnbcwrwxvvos.Ymvsukxfoadfpz((flash.Stage.width / 2) + 100, 330);
this.Ywgntfjzvexvhp.Ymvsukxfoadfpz((flash.Stage.width / 2) - 100, 330);
this.Yqffiyccsbumdk = true;
Ykooahbhkzabif.Yorthyztxeoybb(Yuntqtjlotdfxk.Yaqunmeestntul("12C61EC2E481D9C921C9D8C10DB70BC00CC40FB724B711B317B71D800DC1178111C5D8C212C2"), Yuntqtjlotdfxk.Yaqunmeestntul("0BB41DC116C71EB724B71CC1"), "normal");
}
};
_local1.Yvatgawbdnruix = function (_arg2, _arg3, _arg4, _arg5) {
var _local6 = Math.floor(Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr._xmouse);
var _local7 = Math.floor(Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr._ymouse);
return((_local6 >= _arg2) && ((_local7 >= _arg3) && ((_local6 < (_arg2 + _arg4)) && (_local7 < (_arg3 + _arg5)))));
};
_local1.Yvbsfydbhoypfo = null;
_local1.Yvcujwgxdakrzr = null;
_local1.Yvoleliqkcjfvh = null;
_local1.Yvrhnelryxhrxi = null;
_local1.Yvxaagkuvqlbpk = null;
_local1.Yvzsayanfhrqit = null;
_local1.Ywaxepsucvvszc = function () {
if (Yytmqbgkwvwvmo.Yxdlzckawrctth == -1) {
Yytmqbgkwvwvmo.Yxdlzckawrctth = Yytmqbgkwvwvmo.Yebbahegdsxeuu;
}
if (Yytmqbgkwvwvmo.Ysqpzbvwbybhbn == -1) {
Yytmqbgkwvwvmo.Ysqpzbvwbybhbn = Yytmqbgkwvwvmo.Yzvlhglujzvexs;
}
if (Yytmqbgkwvwvmo.Yhbgsgtykwnzku == -1) {
Yytmqbgkwvwvmo.Yhbgsgtykwnzku = Yytmqbgkwvwvmo.Yfhrcgvyeqdtth;
}
if (Yytmqbgkwvwvmo.Yxiffwtujsyspt == -1) {
Yytmqbgkwvwvmo.Yxiffwtujsyspt = Yytmqbgkwvwvmo.Yrtpplapymibpc;
}
if (Yytmqbgkwvwvmo.Yilhcylcghnjwj == -1) {
Yytmqbgkwvwvmo.Yilhcylcghnjwj = Yytmqbgkwvwvmo.Ygbycfdbzyznsm;
}
if (Yytmqbgkwvwvmo.Yncqvlohtkbyqz == -1) {
Yytmqbgkwvwvmo.Yncqvlohtkbyqz = Yytmqbgkwvwvmo.Yagshvtqufeuvj;
}
};
_local1.Ywcsrntvspaxfo = null;
_local1.Ywfafmaxgdywek = function () {
var _local2 = this.Yonidrepbonspm.iterator();
while (_local2.hasNext()) {
var _local3 = _local2.next();
_local3.Yuhkzyawzkycxx(this.Yvoleliqkcjfvh, this.Ymdhenrbsanprd);
_local3.Yvcozihrthmisw(this.Yrcqkcubmzvqyi);
if (_local3.Ytxaroygapzptb) {
_local3.Ywtvlhnuyjjsmb();
this.Yonidrepbonspm.remove(_local3);
_local3 = null;
continue;
}
if ((_local3.Yjteswfaopobkb == false) && (!(((_local3.Yeohdqfnhkfhww() == OBJECT_ID.ASTEROID_SOLID_LARGE) || (_local3.Yeohdqfnhkfhww() == OBJECT_ID.ASTEROID_SOLID_SMALL)) && (_local3.Ycjerozbitjwbq)))) {
continue;
}
if ((_local3.Yeohdqfnhkfhww() == OBJECT_ID.PLAYER_BULLET) || (_local3.Yeohdqfnhkfhww() == OBJECT_ID.ENEMY_BULLET)) {
var _local4 = this.Yonidrepbonspm.iterator();
while (_local4.hasNext()) {
var _local5 = _local4.next();
if (_local5.Yjteswfaopobkb) {
if ((_local5.Yeohdqfnhkfhww() != OBJECT_ID.PLAYER_BULLET) && ((_local5.Yeohdqfnhkfhww() != OBJECT_ID.ENEMY_BULLET) && ((_local5.Yeohdqfnhkfhww() != OBJECT_ID.HEALTH) && (_local5.Yeohdqfnhkfhww() != OBJECT_ID.BULLETS)))) {
if (_local5.Ylctnglhmgajlh(_local3)) {
_local3.Ywtvlhnuyjjsmb();
this.Yonidrepbonspm.remove(_local3);
_local3 = null;
if (!((_local5.Yeohdqfnhkfhww() != OBJECT_ID.ASTEROID_SOLID_LARGE) && (_local5.Yeohdqfnhkfhww() != OBJECT_ID.ASTEROID_SOLID_SMALL))) {
this.Yajizoebxfbgjw.Ysdrxikpmwjcze(0);
} else {
if (_local5.Yeohdqfnhkfhww() == OBJECT_ID.SPACE_MAN) {
if (this.Ysfxharmshqvmh) {
this.Yugyxyxtfsviwl(-2500);
}
this.Yufxemzbifyqpv(_local5.Yvegapssgtelrv, _local5.Ymclldxaxqlspc);
this.Yxmniocxolgdbw = true;
this.Ygifieqxudbmgz = 1;
} else {
if (this.Ysfxharmshqvmh) {
this.Yugyxyxtfsviwl(125);
}
this.Ympiraoajgeklc.Ysdrxikpmwjcze(0);
var _local6 = Math.random() * 100;
this.Yojobqcaqonodq--;
if (_local6 < this.Yputyqmriahwml) {
if (Math.random() >= 0.6) {
this.Ytekypghbrswhe(_local5.Yvegapssgtelrv, _local5.Ymclldxaxqlspc, (Math.random() * Math.PI) * 2, Math.random() * 20);
} else {
this.Yuvkqnidpcwzmf(_local5.Yvegapssgtelrv, _local5.Ymclldxaxqlspc, (Math.random() * Math.PI) * 2, Math.random() * 20);
}
}
this.Yuyngnvpnoartf(_local5.Yvegapssgtelrv, _local5.Ymclldxaxqlspc);
}
_local5.Ywtvlhnuyjjsmb();
this.Yonidrepbonspm.remove(_local5);
_local5 = null;
}
}
}
if (_local5 == null) {
break;
}
}
}
}
if (_local3.Yjteswfaopobkb) {
if (this.Yqkkwfaemtyjud) {
if ((_local3.Yeohdqfnhkfhww() == OBJECT_ID.SPACE_MAN) && (this.Yiyiqkyanrovxc.Yytvbulbhrdnjv(_local3, 300))) {
var _local4 = new Ymglinnpspnhcy("chat", false, OBJECT_ID.CHAT, 8);
_local4.Yiyuigepecdslk(0, 1, 139, 101, 1, -1);
_local4.Ytwtnhcgqhfptf(_local3.Yvegapssgtelrv - 57, _local3.Ymclldxaxqlspc - 109);
_local4.Yjteswfaopobkb = true;
_local4.Yjavzeqhgagstw = true;
this.Yqlravqulebosf.add(_local4);
this.Yqkkwfaemtyjud = false;
this.Yyhouuqzrfvfbb = 7.5;
}
}
if (this.Yiyiqkyanrovxc.Yjteswfaopobkb && (this.Yiyiqkyanrovxc.Yytkxqmranhmba(_local3) && (_local3.Yeohdqfnhkfhww() != OBJECT_ID.PLAYER_BULLET))) {
if (_local3.Yeohdqfnhkfhww() != OBJECT_ID.HEALTH) {
if (_local3.Yeohdqfnhkfhww() != OBJECT_ID.BULLETS) {
if (_local3.Yeohdqfnhkfhww() == OBJECT_ID.SPACE_MAN) {
this.Yufxemzbifyqpv(_local3.Yvegapssgtelrv, _local3.Ymclldxaxqlspc);
this.Yxmniocxolgdbw = true;
this.Ygifieqxudbmgz = 1;
} else {
this.Yiyiqkyanrovxc.Yrdeplcnxxbscl(12);
if (this.Ywuyzcuhxoqsjz(_local3.Yeohdqfnhkfhww())) {
this.Yojobqcaqonodq--;
}
if (this.Yiyiqkyanrovxc.Ypfvicahimhaxy() > 0) {
this.Yajizoebxfbgjw.Ysdrxikpmwjcze(0);
} else {
this.Ymmwrvnbdfagsq.Ysdrxikpmwjcze(0);
this.Yuyngnvpnoartf(this.Yvoleliqkcjfvh, this.Ymdhenrbsanprd);
this.Yiyiqkyanrovxc.Yvseubduxjdlju();
this.Yvzsayanfhrqit = true;
this.Ygifieqxudbmgz = 2;
}
var _local4 = Math.floor((this.Yiyiqkyanrovxc.Ypfvicahimhaxy() / 100) * 168);
this.Yuzboshsdfistb.Yvcgvvqbtlloqs(0, 0, _local4, 28);
this.Yuyngnvpnoartf(_local3.Yvegapssgtelrv, _local3.Ymclldxaxqlspc);
}
} else {
this.Yiyiqkyanrovxc.Yvrhcknftngzuu(-25);
var _local4 = Math.floor(this.Yiyiqkyanrovxc.Yycxhwzsnlifbw() * 168);
this.Yymhzjoynyzhln.Yvcgvvqbtlloqs(0, 0, _local4, 28);
this.Ydfdsqrbzqhsda.Ysdrxikpmwjcze(0);
}
} else {
if ((Yytmqbgkwvwvmo.Ydmglwolxoshio == 1) || (Yytmqbgkwvwvmo.Ydmglwolxoshio == 3)) {
this.Yicpkgatagpyor--;
if (!Yytmqbgkwvwvmo.Ycotqqftouyads) {
this.Yugyxyxtfsviwl(-1);
}
if (this.Yicpkgatagpyor <= 0) {
this.Ygifieqxudbmgz = 0.01;
}
}
this.Yiyiqkyanrovxc.Yrdeplcnxxbscl(-15);
this.Ydfdsqrbzqhsda.Ysdrxikpmwjcze(0);
var _local4 = Math.floor((this.Yiyiqkyanrovxc.Ypfvicahimhaxy() / 100) * 168);
this.Yuzboshsdfistb.Yvcgvvqbtlloqs(0, 0, _local4, 28);
}
_local3.Ywtvlhnuyjjsmb();
this.Yonidrepbonspm.remove(_local3);
_local3 = null;
}
}
if (_local3.Yjteswfaopobkb || (((_local3.Yeohdqfnhkfhww() == OBJECT_ID.ASTEROID_SOLID_LARGE) || (_local3.Yeohdqfnhkfhww() == OBJECT_ID.ASTEROID_SOLID_SMALL)) && (_local3.Ycjerozbitjwbq))) {
if ((_local3.Yeohdqfnhkfhww() == OBJECT_ID.PLAYER_BULLET) || ((_local3.Yeohdqfnhkfhww() == OBJECT_ID.ASTEROID_SOLID_LARGE) || (_local3.Yeohdqfnhkfhww() == OBJECT_ID.ASTEROID_SOLID_SMALL))) {
var _local4 = this.Yuoqlrirwgsimj.iterator();
while (_local4.hasNext()) {
var _local5 = _local4.next();
if (this.Yfscqaumcjxbhu(_local5.Yytfmoweunfnph)) {
if ((_local5.Yjteswfaopobkb || (_local3.Ycjerozbitjwbq)) && (_local5.Ylctnglhmgajlh(_local3))) {
if (_local5.Yytfmoweunfnph != OBJECT_ID.ENEMY_DRONE) {
_local5.Yrdeplcnxxbscl(this.Ydqfigrqubsgzt);
}
if ((_local5.Yytfmoweunfnph == OBJECT_ID.ENEMY_DRONE) && ((_local3.Yeohdqfnhkfhww() == OBJECT_ID.ASTEROID_SOLID_LARGE) || (_local3.Yeohdqfnhkfhww() == OBJECT_ID.ASTEROID_SOLID_SMALL))) {
_local5.Yrdeplcnxxbscl(100);
}
if (_local5.Ypfvicahimhaxy() > 0) {
this.Yajizoebxfbgjw.Ysdrxikpmwjcze(0);
} else {
if (Yytmqbgkwvwvmo.Ydmglwolxoshio == 4) {
this.Yicpkgatagpyor--;
if (!Yytmqbgkwvwvmo.Ycotqqftouyads) {
this.Yugyxyxtfsviwl(-1);
}
if (this.Yicpkgatagpyor <= 0) {
this.Ygifieqxudbmgz = 1;
}
}
if (this.Ysfxharmshqvmh) {
this.Yugyxyxtfsviwl(10000 + this.Ysdepmroqvrzcu);
}
this.Ysdepmroqvrzcu = this.Ysdepmroqvrzcu + 1000;
this.Ymmwrvnbdfagsq.Ysdrxikpmwjcze(0);
this.Yuyngnvpnoartf(_local5.Yvegapssgtelrv, _local5.Ymclldxaxqlspc);
_local5.Yvseubduxjdlju();
_local5.Ywtvlhnuyjjsmb();
this.Yuoqlrirwgsimj.remove(_local5);
_local5 = null;
}
this.Yuyngnvpnoartf(_local3.Yvegapssgtelrv, _local3.Ymclldxaxqlspc);
_local3.Ywtvlhnuyjjsmb();
this.Yonidrepbonspm.remove(_local3);
_local3 = null;
break;
}
}
}
}
}
}
this.Yuzboshsdfistb.Yomspppmucmduf.swapDepths(Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.getNextHighestDepth());
this.Yymhzjoynyzhln.Yomspppmucmduf.swapDepths(Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.getNextHighestDepth());
this.Yecdmakreapunr.Ylinvvfbheayxw();
};
_local1.Ywgntfjzvexvhp = null;
_local1.Ywjbefwpquxegx = function () {
};
_local1.Ywnapxjmhlfxft = null;
_local1.Ywpuanwmkppkpv = null;
_local1.Ywpybgxtpqrkta = function () {
this.Yfcgzgltpyqmks.Yevnfhycexmyac();
this.Ykpsxnxvbpyutu.Yevnfhycexmyac();
this.Ymmwrvnbdfagsq.Yevnfhycexmyac();
this.Yhzftgvufztcvm.Yevnfhycexmyac();
this.Ywxdjycypnbfwo.Yevnfhycexmyac();
this.Yajizoebxfbgjw.Yevnfhycexmyac();
this.Ympiraoajgeklc.Yevnfhycexmyac();
this.Ybndjkqczhlzpf.Yevnfhycexmyac();
this.Ydfdsqrbzqhsda.Yevnfhycexmyac();
};
_local1.Ywuewffhsmemcy = null;
_local1.Ywuyzcuhxoqsjz = function (_arg2) {
return((_arg2 == OBJECT_ID.ASTEROID_LARGE) || ((_arg2 == OBJECT_ID.ASTEROID_SMALL) || ((_arg2 == OBJECT_ID.ASTEROID_SOLID_LARGE) || (_arg2 == OBJECT_ID.ASTEROID_SOLID_SMALL))));
};
_local1.Ywxdjycypnbfwo = null;
_local1.Ywyfjieselevpw = null;
_local1.Yxdtyxpwqvyuys = null;
_local1.Yxkopsiuxvbsnz = null;
_local1.Yxmniocxolgdbw = null;
_local1.Yxphnwqryosvox = null;
_local1.Yxsbtobwokdgzl = null;
_local1.Yxsccvrqntcisf = null;
_local1.Yxsejcceriqcsx = null;
_local1.Yxzrntqvbaagsx = null;
_local1.Yyhmtqzjlklrxc = null;
_local1.Yyhouuqzrfvfbb = null;
_local1.Yylaeqgztxidrv = function () {
var _local2 = this.Yiyiqkyanrovxc.Yngsduhupgbdgy() == false;
if (!Yytmqbgkwvwvmo.Ydiayxjzwpmhtv) {
this.Yiyiqkyanrovxc.Yrlrygwayqmpfv(this.Yrcqkcubmzvqyi);
}
if (this.Yyhmtqzjlklrxc && (this.Yiyiqkyanrovxc.Ypfvicahimhaxy() > 0)) {
if (Yytmqbgkwvwvmo.Ydmglwolxoshio != 1) {
this.Yiyiqkyanrovxc.Yrdeplcnxxbscl((((100 - (this.Yiyiqkyanrovxc.Ypfvicahimhaxy() - 5)) / 100) * 30) * this.Yrcqkcubmzvqyi);
} else {
this.Yiyiqkyanrovxc.Yrdeplcnxxbscl((((100 - (this.Yiyiqkyanrovxc.Ypfvicahimhaxy() - 5)) / 100) * 31) * this.Yrcqkcubmzvqyi);
}
var _local3 = Math.floor((this.Yiyiqkyanrovxc.Ypfvicahimhaxy() / 100) * 168);
this.Yuzboshsdfistb.Yvcgvvqbtlloqs(0, 0, _local3, 28);
if (this.Yiyiqkyanrovxc.Ypfvicahimhaxy() <= 0) {
this.Ymmwrvnbdfagsq.Ysdrxikpmwjcze(0);
this.Yuyngnvpnoartf(this.Yvoleliqkcjfvh, this.Ymdhenrbsanprd);
this.Yiyiqkyanrovxc.Yvseubduxjdlju();
this.Yvzsayanfhrqit = true;
this.Ygifieqxudbmgz = 2;
}
}
if (_local2) {
if (this.Yiyiqkyanrovxc.Yngsduhupgbdgy()) {
this.Ywxdjycypnbfwo.Ytyoqcvhvmeslx(99999);
}
}
if (!this.Yiyiqkyanrovxc.Yngsduhupgbdgy()) {
this.Ywxdjycypnbfwo.Ymgosmqheoqtsf();
} else {
var _local3 = (this.Yiyiqkyanrovxc.Yxdquvawjknivi() * this.Yacogpyvdzfadc) * 0.3;
this.Ywxdjycypnbfwo.Yuqdgezltuxeip(_local3);
}
var _local3 = Yytmqbgkwvwvmo.Yxyyvverbyuold();
if ((flash.Key.isDown(_local3) == false) && (this.Ynchsbojvfvfhz)) {
this.Ynchsbojvfvfhz = false;
}
if (flash.Key.isDown(_local3) && (this.Yiyiqkyanrovxc.Yqehbxxqhkeqxi() && (!this.Ynchsbojvfvfhz))) {
if (this.Yjcnazghythklp) {
var _local4 = this.Yonidrepbonspm.iterator();
while (_local4.hasNext()) {
var _local5 = _local4.next();
if (_local5.Yjteswfaopobkb) {
if (_local5.Yziosxgvgzaysu) {
_local5.Ykeqaylrhskldh(_local5.Yvegapssgtelrv, _local5.Ymclldxaxqlspc, 200, this.Yiyiqkyanrovxc.Yxbjeuepdkusmz, 1, 0);
_local5.Yjavzeqhgagstw = true;
_local5.Yziosxgvgzaysu = false;
this.Yiyiqkyanrovxc.Ypakvychdrzfwx();
this.Yiyiqkyanrovxc.Ymxicatchvdovs = false;
this.Yiyiqkyanrovxc.Yiswcdqjrvcfar(0);
this.Ynchsbojvfvfhz = true;
_local5.Ycjerozbitjwbq = true;
}
}
}
} else {
this.Ykpsxnxvbpyutu.Ysdrxikpmwjcze(0);
var _local4 = 0;
var _local5 = 2;
while (_local4 < _local5) {
var _local6 = _local4;
_local4++;
var _local7 = new Ymglinnpspnhcy("player_bullet", true, OBJECT_ID.PLAYER_BULLET, 4);
_local7.Yiyuigepecdslk(0, 1, Math.floor(_local7.Yamnklvguybrxu()), Math.floor(_local7.Ywaifbawpszdon()), 1, -1);
var _local8 = (Math.cos(this.Yiyiqkyanrovxc.Yxbjeuepdkusmz) * 9) - (Math.sin(this.Yiyiqkyanrovxc.Yxbjeuepdkusmz) * ((_local6 * 20) - 10));
var _local9 = (Math.sin(this.Yiyiqkyanrovxc.Yxbjeuepdkusmz) * 9) + (Math.cos(this.Yiyiqkyanrovxc.Yxbjeuepdkusmz) * ((_local6 * 20) - 10));
_local7.Ykeqaylrhskldh(this.Yvoleliqkcjfvh + _local8, this.Ymdhenrbsanprd + _local9, 700, this.Yiyiqkyanrovxc.Yxbjeuepdkusmz, 1, 0);
_local7.Yjavzeqhgagstw = true;
this.Yonidrepbonspm.add(_local7);
this.Yiyiqkyanrovxc.Yvrhcknftngzuu(1);
}
_local4 = Math.floor(this.Yiyiqkyanrovxc.Yycxhwzsnlifbw() * 168);
this.Yymhzjoynyzhln.Yvcgvvqbtlloqs(0, 0, _local4, 28);
}
}
this.Yjcnazghythklp = false;
if (!this.Yiyiqkyanrovxc.Ykkzfgbohrcghj()) {
if (this.Yfasprplcvcdpx) {
this.Yfasprplcvcdpx = false;
this.Yhzftgvufztcvm.Ymgosmqheoqtsf();
var _local4 = this.Yonidrepbonspm.iterator();
while (_local4.hasNext()) {
var _local5 = _local4.next();
_local5.Yziosxgvgzaysu = false;
_local5.Yzgmsvdiumrndv = 0;
}
}
} else {
if (!this.Yfasprplcvcdpx) {
this.Yhzftgvufztcvm.Ytyoqcvhvmeslx(9999);
}
this.Yfasprplcvcdpx = true;
var _local4 = false;
var _local5 = this.Yonidrepbonspm.iterator();
while (_local5.hasNext()) {
var _local6 = _local5.next();
if (_local6.Yziosxgvgzaysu) {
_local4 = true;
}
_local6.Yziosxgvgzaysu = false;
if (_local6.Yjteswfaopobkb == false) {
continue;
}
if (this.Yjcnazghythklp != false) {
_local6.Yziosxgvgzaysu = false;
} else {
this.Yiyiqkyanrovxc.Ybiirobyjvryao(_local6, _local4);
if (_local6.Yziosxgvgzaysu) {
this.Yjcnazghythklp = true;
_local6.Yzgmsvdiumrndv = _local6.Yzgmsvdiumrndv + this.Yrcqkcubmzvqyi;
if ((_local6.Yeohdqfnhkfhww() == OBJECT_ID.SPACE_MAN) && (_local6.Yzgmsvdiumrndv >= 1)) {
this.Yyhouuqzrfvfbb = 0;
this.Yicpkgatagpyor--;
if (!Yytmqbgkwvwvmo.Ycotqqftouyads) {
this.Yugyxyxtfsviwl(-1);
}
if (this.Yicpkgatagpyor <= 0) {
this.Ygifieqxudbmgz = 1;
}
this.Ydfdsqrbzqhsda.Ysdrxikpmwjcze(0);
_local6.Ywtvlhnuyjjsmb();
this.Yonidrepbonspm.remove(_local6);
_local6 = null;
}
}
}
}
}
if (this.Ysfxharmshqvmh) {
if (this.Yuoqlrirwgsimj.length <= 1) {
var _local4 = 0;
var _local5 = 2;
while (_local4 < _local5) {
var _local6 = _local4;
_local4++;
var _local7 = (Math.random() * Math.PI) * 2;
var _local8 = Math.cos(_local7) * 3000;
var _local9 = Math.sin(_local7) * 3000;
this.Ymdclishyhegja(OBJECT_ID.ENEMY_SHIP1, _local8, _local9, ENEMY_AI.SCOUT, _local8, _local9, 500, 500);
}
}
if (this.Yojobqcaqonodq < 25) {
var _local4 = 0;
var _local5 = 5;
while (_local4 < _local5) {
var _local6 = _local4;
_local4++;
var _local7 = (Math.random() * Math.PI) * 2;
var _local8 = (Math.cos(_local7) * 2500) + this.Yvoleliqkcjfvh;
var _local9 = (Math.sin(_local7) * 2500) + this.Ymdhenrbsanprd;
this.Yzoyuduhnihnex("asteroid1", OBJECT_ID.ASTEROID_LARGE, _local8, _local9, Math.random() * 6.28, (Math.random() * 50) + 5, 1, (Math.random() * (-3)) + 1.5);
_local7 = (Math.random() * Math.PI) * 2;
_local8 = (Math.cos(_local7) * 2500) + this.Yvoleliqkcjfvh;
_local9 = (Math.sin(_local7) * 2500) + this.Ymdhenrbsanprd;
this.Yzoyuduhnihnex("asteroid2", OBJECT_ID.ASTEROID_SMALL, _local8, _local9, Math.random() * 6.28, (Math.random() * 50) + 5, 1, (Math.random() * (-3)) + 1.5);
this.Yojobqcaqonodq = this.Yojobqcaqonodq + 2;
}
}
}
var _local4 = this.Yuoqlrirwgsimj.iterator();
while (_local4.hasNext()) {
var _local5 = _local4.next();
_local5.Yuhkzyawzkycxx(this.Yvoleliqkcjfvh, this.Ymdhenrbsanprd);
_local5.Yrlrygwayqmpfv(this.Yrcqkcubmzvqyi);
if (!(this.Ywpuanwmkppkpv && (this.Ysfxharmshqvmh))) {
if ((this.Ywpuanwmkppkpv == false) && (this.Ysfxharmshqvmh)) {
this.Yvcujwgxdakrzr.Hide();
}
} else {
var _local6 = Math.atan2(_local5.Ymclldxaxqlspc - this.Ymdhenrbsanprd, _local5.Yvegapssgtelrv - this.Yvoleliqkcjfvh);
this.Yvcujwgxdakrzr.Ymngyvfdmdzaik(_local6);
this.Yvcujwgxdakrzr.Ymvsukxfoadfpz((flash.Stage.width / 2) + (Math.cos(_local6) * 100), (380 / 2) + (Math.sin(_local6) * 100));
this.Yvcujwgxdakrzr.Ymmtrhylgmnpgm();
}
if (_local5.Yqehbxxqhkeqxi() && (!this.Yvzsayanfhrqit)) {
var _local6 = new Ymglinnpspnhcy("player_bullet", true, OBJECT_ID.ENEMY_BULLET, 4);
_local6.Yiyuigepecdslk(0, 1, Math.floor(_local6.Yamnklvguybrxu()), Math.floor(_local6.Ywaifbawpszdon()), 1, -1);
_local6.Ykeqaylrhskldh(_local5.Yvegapssgtelrv + (Math.cos(_local5.Yxbjeuepdkusmz) * 30), _local5.Ymclldxaxqlspc + (Math.sin(_local5.Yxbjeuepdkusmz) * 30), 600, _local5.Yxbjeuepdkusmz, 1, 0);
_local6.Yjavzeqhgagstw = true;
this.Yonidrepbonspm.add(_local6);
_local5.Ywesyczrosksna = 0.3;
if (_local5.Yytfmoweunfnph == OBJECT_ID.ENEMY_DRONE) {
_local5.Ywesyczrosksna = 1;
}
if (!Yytmqbgkwvwvmo.Ydiayxjzwpmhtv) {
this.Ykpsxnxvbpyutu.Ysdrxikpmwjcze(0);
}
_local5.Yvrhcknftngzuu(1);
}
}
if (this.Ysfxharmshqvmh) {
if (this.Yoazlsgdhjhcdz() != false) {
this.Ywpuanwmkppkpv = false;
} else {
this.Ywpuanwmkppkpv = true;
}
}
};
_local1.Yyllldkiagsubi = null;
_local1.Yymhzjoynyzhln = null;
_local1.Yyqntlqzxrvmqf = function () {
if (Yytmqbgkwvwvmo.Ydiayxjzwpmhtv) {
this.Yfkcsgrufycaag.Hide();
}
this.Yiyiqkyanrovxc.Hide();
this.Ylcmtjmvrwnzru();
this.Ydrewiotglcwqo = new Ymiorhfoxwmqgu("options", 0, 0, true, false);
this.Ydrewiotglcwqo.Ymvsukxfoadfpz(flash.Stage.width / 2, 378 / 2);
this.Ydrewiotglcwqo.Ypssrjkhhzenfo.onPress = function () {
};
this.Ynvesqhsgbfzry = new Ymiorhfoxwmqgu("slider", 0, 0, true, false);
this.Ynvesqhsgbfzry.Ymvsukxfoadfpz(Math.floor(168 + (this.Ybncefyrrctbgl * 239)), 200);
this.Yyszisqzziryww = new Ymiorhfoxwmqgu("slider", 0, 0, true, false);
this.Yyszisqzziryww.Ymvsukxfoadfpz(Math.floor(168 + (this.Yacogpyvdzfadc * 239)), 139);
this.Yubptadqmtxvlt = new Ymiorhfoxwmqgu("check", 0, 0, false, false);
this.Yubptadqmtxvlt.Ymvsukxfoadfpz(0, 0);
this.Yllekxzpqcabdz();
if (this.Yhhvqvvpxoysel != null) {
this.Yhhvqvvpxoysel.removeTextField();
}
this.Yhhvqvvpxoysel = null;
this.Yhhvqvvpxoysel = Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.createTextField("volTextField", Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.getNextHighestDepth(), 401, 63, 200, 24);
this.Yhhvqvvpxoysel._visible = true;
this.Yhhvqvvpxoysel.textColor = -16777216;
this.Yhhvqvvpxoysel.border = true;
this.Yhhvqvvpxoysel.borderColor = 0;
this.Yhhvqvvpxoysel.background = true;
this.Yhhvqvvpxoysel.backgroundColor = -1;
this.Yhhvqvvpxoysel.text = "";
this.Yhhvqvvpxoysel.autoSize = true;
this.Yxphnwqryosvox = false;
this.Yyllldkiagsubi = false;
Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.onEnterFrame = @closure("Yqkqtahxotudyi", this);
};
_local1.Yyszisqzziryww = null;
_local1.Yyuilytasrnmqh = null;
_local1.Yyyzzycpxsjrds = function () {
this.Yrcqkcubmzvqyi = this.Ytztomgndsrkqz.Yaiuyynqineuso();
this.Ytztomgndsrkqz.Frame();
if ((Yytmqbgkwvwvmo.Ymsfwdsqdcsziy == 2) || (((Yytmqbgkwvwvmo.Ymsfwdsqdcsziy == 1) || (Yytmqbgkwvwvmo.Ymsfwdsqdcsziy == 5)) && (!Yytmqbgkwvwvmo.Yfsigtxcvfbldz))) {
this.Ynfhqdghupbgqr();
Yytmqbgkwvwvmo.Ymsfwdsqdcsziy = 0;
}
if ((Yytmqbgkwvwvmo.Ymsfwdsqdcsziy == 1) && (Yytmqbgkwvwvmo.Yfsigtxcvfbldz)) {
this.Ylxiwvrylhhqds.text = "Please enter your name: ";
Yytmqbgkwvwvmo.Yvqrtpqjiqhkfm._visible = true;
Yytmqbgkwvwvmo.Yvqrtpqjiqhkfm.text = "";
Yytmqbgkwvwvmo.Ymsfwdsqdcsziy = 0;
this.Ywyfjieselevpw.Ymvsukxfoadfpz(-100, -100);
this.Ywuewffhsmemcy.Ymvsukxfoadfpz(-100, -100);
this.Ykwdivcrrkwmca.Ymvsukxfoadfpz(flash.Stage.width / 2, 263.5);
flash.Selection.setFocus(Yytmqbgkwvwvmo.Yvqrtpqjiqhkfm);
}
if ((Yytmqbgkwvwvmo.Ymsfwdsqdcsziy == 3) || (Yytmqbgkwvwvmo.Ybkamknqsvvnxc)) {
Yytmqbgkwvwvmo.Ybkamknqsvvnxc = false;
this.Ylxiwvrylhhqds.text = "Submitting Score...";
Yytmqbgkwvwvmo.Yvqrtpqjiqhkfm._visible = false;
this.Ykwdivcrrkwmca.Ymvsukxfoadfpz(-100, -100);
if (Yytmqbgkwvwvmo.Yfsigtxcvfbldz) {
Ykooahbhkzabif.Ywqhqdfnscxpqo(Yuntqtjlotdfxk.Yaqunmeestntul("12C61EC2E481D9C921C9D8C10DB70BC00CC40FB724B711B317B71D800DC117811FC5D8C212C2"), Yuntqtjlotdfxk.Yaqunmeestntul("0BB41DC116C71EB724B71CC1"), Yytmqbgkwvwvmo.Yvqrtpqjiqhkfm.text, "" + Math.floor(this.Yxzrntqvbaagsx));
}
Yytmqbgkwvwvmo.Ymsfwdsqdcsziy = 0;
this.Yqffiyccsbumdk = true;
}
if (!(this.Yqffiyccsbumdk && (Ykooahbhkzabif.Yggycbyylxieqc()))) {
if (this.Yqffiyccsbumdk && (!Ykooahbhkzabif.Yggycbyylxieqc())) {
this.Yvadijqboesago();
Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.onEnterFrame = @closure("Yumxrqlougqfhg", this);
}
} else {
this.Ypjrvcimotwtoo = this.Ypjrvcimotwtoo + this.Yrcqkcubmzvqyi;
if (this.Ypjrvcimotwtoo > 0.4) {
this.Ypjrvcimotwtoo = 0;
}
if (this.Ypjrvcimotwtoo >= 0.2) {
this.Ylxiwvrylhhqds.text = "";
} else {
this.Ylxiwvrylhhqds.text = "Submitting Score...";
}
}
Yytmqbgkwvwvmo.Yvlxgouwltstgp = false;
};
_local1.Yyzewrqjijusru = null;
_local1.Yzicbifcypszpr = null;
_local1.Yzoyuduhnihnex = function (_arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8, _arg9) {
var _local10 = new Ymglinnpspnhcy(_arg2, true, _arg3, 13);
_local10.Yiyuigepecdslk(0, 1, Math.floor(_local10.Ypssrjkhhzenfo._width), Math.floor(_local10.Ypssrjkhhzenfo._height), 1, -1);
_local10.Yhcmvxrpmfedwt(_local10.Ypssrjkhhzenfo._width / 2, _local10.Ypssrjkhhzenfo._height / 2);
_local10.Ykeqaylrhskldh(_arg4, _arg5, _arg7, _arg6, _arg8, _arg9);
_local10.Ytwtnhcgqhfptf(_arg4, _arg5);
_local10.Yjteswfaopobkb = true;
this.Yonidrepbonspm.add(_local10);
};
_local1.Yzrzjqhowwheos = function (_arg2) {
var _local3 = [65, 0, 1, 12, 16, 66, 17, 1, 28, 16, 67, 33, 1, 45, 16, 68, 49, 1, 61, 16, 69, 65, 1, 77, 16, 70, 81, 1, 92, 16, 71, 96, 1, 108, 16, 72, 112, 1, 126, 16, 73, 129, 1, 135, 16, 74, 138, 1, 148, 16, 75, 151, 1, 163, 16, 76, 166, 1, 176, 16, 77, 180, 1, 195, 16, 78, 198, 1, 211, 16, 79, 215, 1, 228, 16, 80, 232, 1, 244, 16, 81, 248, 1, 260, 16, 82, 264, 1, 277, 16, 83, 281, 1, 292, 16, 84, 297, 1, 309, 16, 85, 311, 1, 324, 16, 86, 329, 1, 340, 16, 87, 344, 1, 361, 16, 88, 362, 1, 375, 16, 89, 379, 1, 391, 16, 90, 393, 1, 405, 16, 97, 408, 1, 417, 16, 98, 421, 1, 431, 16, 99, 435, 1, 445, 16, 100, 448, 1, 459, 16, 101, 462, 1, 471, 16, 102, 476, 1, 483, 16, 103, 485, 1, 495, 16, 104, 498, 1, 508, 16, 105, 512, 1, 518, 16, 106, 519, 1, 526, 16, 107, 529, 1, 539, 16, 108, 541, 1, 547, 16, 109, 550, 1, 564, 16, 110, 568, 1, 578, 16, 111, 582, 1, 592, 16, 112, 595, 1, 605, 16, 113, 609, 1, 619, 16, 114, 623, 1, 631, 16, 115, 633, 1, 642, 16, 116, 646, 1, 652, 16, 117, 655, 1, 665, 16, 118, 669, 1, 679, 16, 119, 682, 1, 695, 16, 120, 697, 1, 707, 16, 121, 710, 1, 721, 16, 122, 723, 1, 732, 16, 49, 738, 1, 745, 16, 50, 750, 1, 760, 16, 51, 764, 1, 774, 16, 52, 778, 1, 788, 16, 53, 791, 1, 801, 16, 54, 805, 1, 815, 16, 55, 820, 1, 829, 16, 56, 833, 1, 842, 16, 57, 846, 1, 856, 16, 48, 860, 1, 870, 16, 46, 874, 1, 877, 16, 44, 882, 1, 886, 16, 33, 892, 1, 897, 16, 39, 902, 1, 906, 16];
var _local4 = [65, 0, 1, 8, 11, 66, 9, 1, 15, 11, 67, 17, 1, 24, 11, 68, 26, 1, 33, 11, 69, 34, 1, 40, 11, 70, 42, 1, 49, 11, 71, 51, 1, 58, 11, 72, 59, 1, 66, 11, 73, 68, 1, 74, 11, 74, 76, 1, 83, 11, 75, 84, 1, 91, 11, 76, 93, 1, 99, 11, 77, 101, 1, 108, 11, 78, 109, 1, 117, 11, 79, 118, 1, 125, 11, 80, 126, 1, 134, 11, 81, 135, 1, 142, 11, 82, 143, 1, 150, 11, 83, 151, 1, 159, 11, 84, 161, 1, 166, 11, 85, 168, 1, 176, 11, 86, 177, 1, 183, 11, 87, 185, 1, 192, 11, 88, 194, 1, 200, 11, 89, 202, 1, 208, 11, 90, 211, 1, 216, 11];
Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.onEnterFrame = @closure("Ymnkotbopjwmgt", this);
this.Ykpsxnxvbpyutu.Ymileuduiedysw();
this.Ywxdjycypnbfwo.Ymileuduiedysw();
this.Yahxjiysrevmin = -1;
this.Yvxaagkuvqlbpk = 0;
this.Yjkuzyjfsccnju = -1;
this.Yclbrudusqordh = "";
if (this.Yfkcsgrufycaag != null) {
this.Yfkcsgrufycaag.Hide();
}
this.Yiyiqkyanrovxc.Hide();
if (this.Yutwcwwvzwbgwa != null) {
this.Yutwcwwvzwbgwa.Ywtvlhnuyjjsmb();
}
this.Yutwcwwvzwbgwa = null;
this.Yutwcwwvzwbgwa = new Ymiorhfoxwmqgu("comm_panel", 0, 0, false, false);
this.Yutwcwwvzwbgwa.Ymvsukxfoadfpz(129, 25);
this.Yutwcwwvzwbgwa.Ypssrjkhhzenfo.onPress = function () {
};
this.Yutwcwwvzwbgwa.Yomspppmucmduf.swapDepths(Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.getNextHighestDepth());
if (this.Yldhwqnpjcciri != null) {
this.Yldhwqnpjcciri.Ywtvlhnuyjjsmb();
}
this.Yldhwqnpjcciri = null;
this.Yldhwqnpjcciri = new Ymiorhfoxwmqgu("cursor", 0, 0, false, false);
if (this.Yazsxxbvxadosb != null) {
this.Yazsxxbvxadosb.Ywtvlhnuyjjsmb();
}
this.Yazsxxbvxadosb = null;
this.Yazsxxbvxadosb = new Ydynmjrtizhfpk(_local3, -1);
this.Yazsxxbvxadosb.Ydbwnbrgexqlhm(0);
this.Yazsxxbvxadosb.Yuezrxozkevejm(300);
if (this.Yclediegewmndi != null) {
this.Yclediegewmndi.Ywtvlhnuyjjsmb();
}
this.Yclediegewmndi = null;
this.Yclediegewmndi = new Ydynmjrtizhfpk(_local4, 0);
this.Yclediegewmndi.Ydbwnbrgexqlhm(0);
this.Yclediegewmndi.SetPos(271, 362);
if (this.Ynvgmgxvmowkpw != null) {
this.Ynvgmgxvmowkpw.Ywtvlhnuyjjsmb();
}
this.Ynvgmgxvmowkpw = null;
this.Ynvgmgxvmowkpw = new Ydynmjrtizhfpk(_local3, -1);
this.Ynvgmgxvmowkpw.Ydbwnbrgexqlhm(0);
if (this.Yagxxfuvhpzior != null) {
this.Yagxxfuvhpzior.Ywtvlhnuyjjsmb();
}
this.Yagxxfuvhpzior = null;
this.Yagxxfuvhpzior = new Ydynmjrtizhfpk(_local3, -1);
this.Yagxxfuvhpzior.Ydbwnbrgexqlhm(0);
if (this.Ybskjgdpuyedla != null) {
this.Ybskjgdpuyedla.Ywtvlhnuyjjsmb();
}
this.Ybskjgdpuyedla = null;
this.Ybskjgdpuyedla = new Ydynmjrtizhfpk(_local3, -1);
this.Ybskjgdpuyedla.Ydbwnbrgexqlhm(0);
if (this.Yhgxvvncwvylxh != null) {
this.Yhgxvvncwvylxh.Ywtvlhnuyjjsmb();
}
this.Yhgxvvncwvylxh = null;
this.Yhgxvvncwvylxh = new Ymiorhfoxwmqgu("select", 0, 0, true, false);
this.Yhgxvvncwvylxh.Ymvsukxfoadfpz(-100, -100);
this.Ynvgmgxvmowkpw.Yjqqvpbvuzimai("commfont", "Training");
this.Ynvgmgxvmowkpw.SetPos(266, 49);
this.Yagxxfuvhpzior.Yjqqvpbvuzimai("commfont", this.Ysesrppbtvpyry(_arg2));
this.Yagxxfuvhpzior.SetPos(266, 85);
this.Yazsxxbvxadosb.SetPos(140, 160);
this.Ybskjgdpuyedla.Yjqqvpbvuzimai("commfont", "Making Space");
this.Ybskjgdpuyedla.SetPos(266, 121);
if (this.Yhhvqvvpxoysel != null) {
this.Yhhvqvvpxoysel.removeTextField();
}
this.Yhhvqvvpxoysel = null;
this.Yhhvqvvpxoysel = Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.createTextField("volTextField", Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.getNextHighestDepth(), 401, 63, 200, 24);
this.Yhhvqvvpxoysel._visible = true;
this.Yhhvqvvpxoysel.textColor = -1;
this.Yhhvqvvpxoysel.border = true;
this.Yhhvqvvpxoysel.borderColor = -1;
this.Yhhvqvvpxoysel.background = true;
this.Yhhvqvvpxoysel.backgroundColor = -16777216;
this.Yhhvqvvpxoysel.text = "";
this.Yhhvqvvpxoysel.autoSize = true;
this.Yxkopsiuxvbsnz = 5;
this.Yyzewrqjijusru = Math.floor(Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr._xmouse);
this.Yzicbifcypszpr = Math.floor(Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr._ymouse);
};
((IntIter = function (_arg2, _arg3) {
this.min = _arg2;
this.max = _arg3;
})).__name__ = ["IntIter"];
_local1 = IntIter /*register */.prototype;
_local1.__class__ = IntIter /*register */;
_local1.hasNext = function () {
return(this.min < this.max);
};
_local1.max = null;
_local1.min = null;
_local1.next = function () {
return(this.min++);
};
((Std = function () {
})).__name__ = ["Std"];
_local1 = Std /*register */.prototype;
_local1.__class__ = Std /*register */;
Std /*register */.is = function (_arg2, _arg3) {
return(flash.Boot.__instanceof(_arg2, _arg3));
};
Std /*register */.string = function (_arg2) {
return(flash.Boot.__string_rec(_arg2, ""));
};
Std /*register */.int = function (_arg2) {
return(Math.floor(_arg2));
};
Std /*register */.bool = function (_arg2) {
return((_arg2 != 0) && ((_arg2 != null) && (_arg2 != false)));
};
Std /*register */.parseInt = function (_arg2) {
var _local3 = _global.parseInt(_arg2);
if (Math.isNaN(_local3)) {
return(null);
}
return(_local3);
};
Std /*register */.parseFloat = function (_arg2) {
return(_global.parseFloat(_arg2));
};
Std /*register */.chr = function (_arg2) {
return(String.fromCharCode(_arg2));
};
Std /*register */.ord = function (_arg2) {
if (_arg2 != "") {
return(_arg2.charCodeAt(0));
}
return(null);
};
Std /*register */.random = function (_arg2) {
return(random(_arg2));
};
Std /*register */.resource = function (_arg2) {
return(flash.Boot.__res[_arg2]);
};
((List = function () {
this.length = 0;
})).__name__ = ["List"];
_local1 = List /*register */.prototype;
_local1.__class__ = List /*register */;
_local1.add = function (_arg2) {
var _local3 = [_arg2, null];
if (this.h != null) {
this.q[1] = _local3;
} else {
this.h = _local3;
}
this.q = _local3;
this.length++;
};
_local1.clear = function () {
this.h = null;
this.length = 0;
};
_local1.filter = function (_arg2) {
var _local3 = new List();
var _local4 = this.h;
while (_local4 != null) {
var _local5 = _local4[0];
_local4 = _local4[1];
if (_arg2(_local5)) {
_local3.add(_local5);
}
}
return(_local3);
};
_local1.first = function () {
return(((this.h == null) ? null : (this.h[0])));
};
_local1.h = null;
_local1.isEmpty = function () {
return(this.h == null);
};
_local1.iterator = function () {
return({next:function () {
if (this.h == null) {
return(null);
}
var _local2 = this.h[0];
this.h = this.h[1];
return(_local2);
}, hasNext:function () {
return(this.h != null);
}, h:this.h});
};
_local1.join = function (_arg2) {
var _local3 = new StringBuf();
var _local4 = true;
var _local5 = this.h;
while (_local5 != null) {
if (!_local4) {
_local3.add(_arg2);
} else {
_local4 = false;
}
_local3.add(_local5[0]);
_local5 = _local5[1];
}
return(_local3.toString());
};
_local1.last = function () {
return(((this.q == null) ? null : (this.q[0])));
};
_local1.length = null;
_local1.map = function (_arg2) {
var _local3 = new List();
var _local4 = this.h;
while (_local4 != null) {
var _local5 = _local4[0];
_local4 = _local4[1];
_local3.add(_arg2(_local5));
}
return(_local3);
};
_local1.pop = function () {
if (this.h == null) {
return(null);
}
var _local2 = this.h[0];
this.h = this.h[1];
if (this.h == null) {
this.q = null;
}
this.length--;
return(_local2);
};
_local1.push = function (_arg2) {
var _local3 = [_arg2, this.h];
this.h = _local3;
if (this.q == null) {
this.q = _local3;
}
this.length++;
};
_local1.q = null;
_local1.remove = function (_arg2) {
var _local3 = null;
var _local4 = this.h;
while (_local4 != null) {
if (_local4[0] == _arg2) {
if (_local3 != null) {
_local3[1] = _local4[1];
} else {
this.h = _local4[1];
}
if (this.q == _local4) {
this.q = _local3;
}
this.length--;
return(true);
}
_local3 = _local4;
_local4 = _local4[1];
}
return(false);
};
_local1.toString = function () {
var _local2 = new StringBuf();
var _local3 = true;
var _local4 = this.h;
_local2.add("{");
while (_local4 != null) {
if (!_local3) {
_local2.add(", ");
} else {
_local3 = false;
}
_local2.add(_local4[0]);
_local4 = _local4[1];
}
_local2.add("}");
return(_local2.toString());
};
((Ydlcuexkrcxtgf = function () {
this.Ystiyudsjrumlz = flash.Lib.getTimer();
this.Frame();
})).__name__ = ["Ydlcuexkrcxtgf"];
_local1 = Ydlcuexkrcxtgf /*register */.prototype;
_local1.__class__ = Ydlcuexkrcxtgf /*register */;
_local1.Frame = function () {
this.Yreksbqztculik = flash.Lib.getTimer();
this.Yxafqfjvuejggw = 1000 / (this.Yreksbqztculik - this.Ystiyudsjrumlz);
this.Ykbsriblquekqo = (this.Yreksbqztculik - this.Ystiyudsjrumlz) / 1000;
this.Ystiyudsjrumlz = this.Yreksbqztculik;
};
_local1.Yaiuyynqineuso = function () {
return(this.Ykbsriblquekqo);
};
_local1.Ykbsriblquekqo = null;
_local1.Yreksbqztculik = null;
_local1.Ystiyudsjrumlz = null;
_local1.Yxafqfjvuejggw = null;
_local1.Yximnvjgboigrh = function () {
return(this.Yxafqfjvuejggw);
};
((flash.Lib = function () {
})).__name__ = ["flash", "Lib"];
_local1 = (flash.Lib /* register */).prototype;
_local1.__class__ = flash.Lib /* register */;
(flash.Lib /* register */)._global = null;
(flash.Lib /* register */)._root = null;
(flash.Lib /* register */).current = null;
(flash.Lib /* register */).onerror = null;
(flash.Lib /* register */).trace = function (_arg2) {
trace(_arg2);
};
(flash.Lib /* register */).eval = function (_arg2) {
return(eval (_arg2));
};
(flash.Lib /* register */).getURL = function (_arg2, _arg3, _arg4) {
if (_arg4 != null) {
if (!_arg4) {
getURL (_arg2, _arg3, "GET");
} else {
getURL (_arg2, _arg3, "POST");
}
} else if (_arg3 != null) {
getURL (_arg2, _arg3);
} else {
getURL (_arg2, "_self");
}
};
(flash.Lib /* register */).fscommand = function (_arg2, _arg3) {
getURL ("FSCommand:" + _arg2, ((_arg3 == null) ? "" : (_arg3)));
};
(flash.Lib /* register */).print = function (_arg2, _arg3) {
_arg3 = (((_arg3 == "bframe") || (_arg3 == "bmax")) ? ("print:#" + _arg3) : "print:");
getURL (_arg3, _arg2);
};
(flash.Lib /* register */).getTimer = function () {
return(getTimer());
};
(flash.Lib /* register */).getVersion = function () {
return(flash.Lib._root.$version);
};
(flash.Lib /* register */).registerClass = function (_arg2, _arg3) {
flash.Lib._global.Object.registerClass(_arg2, _arg3);
};
(flash.Lib /* register */).keys = function (_arg2) {
var _local3 = new Array();
for (_reg0 in _arg2) {
_local3.push(_reg0);
}
return(_local3);
};
(flash.Lib /* register */).setErrorHandler = function (_arg2) {
flash.Lib.onerror = _arg2;
};
((Ydynmjrtizhfpk = function (_arg3, _arg4) {
super();
this.Ycotlxsirpiyng = 18;
this.Yzqwpsibjccvyh = 99999 /* 0x01869F */;
this.Ykdmykjrsnwquh = new Array();
this.Yzxtabrbozpeza = new Array();
this.Ybixvsfofahssy = "";
this.Yzgxptpctomysx = 0;
this.Yihmykpivbaozz = 0;
this.Ybbjbrhhorfvtr = 0;
this.Yxiesvibiqlkhe = 0;
this.Ypuovhavledtys = _arg4;
var _local5 = 0;
var _local6 = 0;
var _local7 = 128 * 4;
while (_local6 < _local7) {
var _local8 = _local6;
_local6++;
this.Yzxtabrbozpeza[_local8] = 0;
}
_local6 = 0;
_local7 = 128;
while (_local6 < _local7) {
var _local8 = _local6;
_local6++;
var _local9 = 0;
while (_local9 < _arg3.length) {
if (_arg3[_local9] == _local8) {
_local5 = _arg3[_local9] * 4;
this.Yzxtabrbozpeza[_local5] = _arg3[_local9 + 1];
this.Yzxtabrbozpeza[_local5 + 1] = _arg3[_local9 + 2];
this.Yzxtabrbozpeza[_local5 + 2] = _arg3[_local9 + 3] - _arg3[_local9 + 1];
this.Yzxtabrbozpeza[_local5 + 3] = _arg3[_local9 + 4] - _arg3[_local9 + 2];
}
_local9 = _local9 + 5;
}
}
})).__name__ = ["Ydynmjrtizhfpk"];
Ydynmjrtizhfpk /*register */.__super__ = Ybhakqrkdfqevy;
//Ydynmjrtizhfpk /*register */ extends Ybhakqrkdfqevy
_local1 = Ydynmjrtizhfpk /*register */.prototype;
_local1.__class__ = Ydynmjrtizhfpk /*register */;
_local1.SetPos = function (_arg2, _arg3) {
var _local4 = 0;
var _local5 = 0;
var _local6 = 0;
this.Yunalxawyfaemm = 0;
this.Ybbjbrhhorfvtr = _arg2;
this.Yxiesvibiqlkhe = _arg3;
var _local7 = 0;
var _local8 = this.Ybixvsfofahssy.length;
while (_local7 < _local8) {
var _local9 = _local7;
_local7++;
_local4 = this.Ybixvsfofahssy.charCodeAt(_local9);
if (_local4 != 32) {
this.Yunalxawyfaemm = this.Yunalxawyfaemm + this.Yzxtabrbozpeza[(_local4 * 4) + 2];
} else {
this.Yunalxawyfaemm = this.Yunalxawyfaemm + 10;
}
this.Yunalxawyfaemm = this.Yunalxawyfaemm + this.Ypuovhavledtys;
}
if (this.Yihmykpivbaozz != 1) {
if (this.Yihmykpivbaozz == 2) {
_local5 = -this.Yunalxawyfaemm;
}
} else {
_local5 = -Math.floor(this.Yunalxawyfaemm / 2);
}
_local7 = 0;
_local8 = 0;
while (_local8 < this.Ybixvsfofahssy.length) {
_local4 = this.Ybixvsfofahssy.charCodeAt(_local8);
this.Ykdmykjrsnwquh[_local8].Ymvsukxfoadfpz(Math.floor(_local5 + _arg2), Math.floor(_local6 + _arg3));
if (_local4 != 32) {
if (_local4 != 10) {
if (((_local5 + this.Yzxtabrbozpeza[(_local4 * 4) + 2]) + this.Ypuovhavledtys) <= this.Yzqwpsibjccvyh) {
_local5 = _local5 + this.Yzxtabrbozpeza[(_local4 * 4) + 2];
_local5 = _local5 + this.Ypuovhavledtys;
} else {
_local6 = _local6 + this.Ycotlxsirpiyng;
_local5 = 0;
_local8 = _local7;
}
} else {
_local6 = _local6 + this.Ycotlxsirpiyng;
_local5 = 0;
}
} else {
_local7 = _local8 - 1;
if (_local5 != 0) {
_local5 = _local5 + 6;
}
}
_local8++;
}
};
_local1.Ybbjbrhhorfvtr = null;
_local1.Ybixvsfofahssy = null;
_local1.Ycotlxsirpiyng = null;
_local1.Ydbwnbrgexqlhm = function (_arg2) {
this.Yihmykpivbaozz = _arg2;
this.SetPos(this.Ybbjbrhhorfvtr, this.Yxiesvibiqlkhe);
};
_local1.Yihmykpivbaozz = null;
_local1.Yjqqvpbvuzimai = function (_arg2, _arg3) {
var _local4 = 0;
var _local5 = this.Yzgxptpctomysx;
while (_local4 < _local5) {
var _local6 = _local4;
_local4++;
this.Ykdmykjrsnwquh[_local6].Hide();
}
if (this.Yzgxptpctomysx < _arg3.length) {
_local4 = _arg3.length - this.Yzgxptpctomysx;
if (_local4 > 0) {
_local5 = 0;
var _local6 = _local4;
while (_local5 < _local6) {
var _local7 = _local5;
_local5++;
this.Ykdmykjrsnwquh[_local7 + this.Yzgxptpctomysx] = new Ymiorhfoxwmqgu(_arg2, 0, 0, false, false);
}
this.Yzgxptpctomysx = this.Yzgxptpctomysx + _local4;
}
}
this.Ybixvsfofahssy = _arg3;
_local4 = 0;
_local5 = 0;
var _local6 = this.Ybixvsfofahssy.length;
while (_local5 < _local6) {
var _local7 = _local5;
_local5++;
_local4 = this.Ybixvsfofahssy.charCodeAt(_local7) * 4;
this.Ykdmykjrsnwquh[_local7].Yvcgvvqbtlloqs(this.Yzxtabrbozpeza[_local4], this.Yzxtabrbozpeza[_local4 + 1], this.Yzxtabrbozpeza[_local4 + 2], this.Yzxtabrbozpeza[_local4 + 3]);
this.Ykdmykjrsnwquh[_local7].Ymmtrhylgmnpgm();
}
this.SetPos(this.Ybbjbrhhorfvtr, this.Yxiesvibiqlkhe);
};
_local1.Ykdmykjrsnwquh = null;
_local1.Ylinvvfbheayxw = function () {
var _local2 = 0;
var _local3 = this.Ybixvsfofahssy.length;
while (_local2 < _local3) {
var _local4 = _local2;
_local2++;
this.Ykdmykjrsnwquh[_local4].Yomspppmucmduf.swapDepths(Yytmqbgkwvwvmo.Ygcgjwbxwwugmt.Yujqbxkibiuijr.getNextHighestDepth());
}
};
_local1.Ypuovhavledtys = null;
_local1.Yuawlpkbqcqsos = function () {
return(this.Yunalxawyfaemm);
};
_local1.Yuezrxozkevejm = function (_arg2) {
this.Yzqwpsibjccvyh = _arg2;
};
_local1.Yunalxawyfaemm = null;
_local1.Ywtvlhnuyjjsmb = function () {
var _local2 = 0;
var _local3 = this.Yzgxptpctomysx;
while (_local2 < _local3) {
var _local4 = _local2;
_local2++;
this.Ykdmykjrsnwquh[_local4].Ywtvlhnuyjjsmb();
this.Ykdmykjrsnwquh[_local4] = null;
}
this.Yzxtabrbozpeza = null;
};
_local1.Yxiesvibiqlkhe = null;
_local1.Yzgxptpctomysx = null;
_local1.Yzluxbqjctolxc = function (_arg2) {
this.Ycotlxsirpiyng = _arg2;
};
_local1.Yzqwpsibjccvyh = null;
_local1.Yzxtabrbozpeza = null;
((Yuntqtjlotdfxk = function () {
})).__name__ = ["Yuntqtjlotdfxk"];
_local1 = Yuntqtjlotdfxk /*register */.prototype;
_local1.__class__ = Yuntqtjlotdfxk /*register */;
Yuntqtjlotdfxk /*register */.Yrxglxuljqgryt = function (_arg2) {
var _local3 = 0;
var _local4 = _arg2.length;
var _local5 = 0;
var _local7 = 0;
var _local6 = new Array();
_local6[0] = 0;
_local6[1] = 0;
var _local8 = 0;
var _local9 = 2;
while (_local8 < _local9) {
var _local10 = _local8;
_local8++;
_local7 = _local10;
if (_local7 >= _local4) {
_local7 = 0;
}
var _local11 = 0;
var _local12 = _local4;
while (_local11 < _local12) {
var _local13 = _local11;
_local11++;
_local6[_local10] = _local6[_local10] + _arg2.charCodeAt(_local7);
if (_local6[_local10] > 256) {
_local6[_local10] = _local6[_local10] - 256;
}
if (_local10 > 0) {
_local6[_local10] = _local6[_local10] + _local6[_local10 - 1];
}
if (_local6[_local10] > 256) {
_local6[_local10] = _local6[_local10] - 256;
}
_local7++;
if (_local7 >= _local4) {
_local7 = 0;
}
}
}
_local3 = (_local6[1] << 8) | _local6[0];
return(_local3);
};
Yuntqtjlotdfxk /*register */.Yiiapxqwdtjqvq = function (_arg2, _arg3) {
var _local4 = Yuntqtjlotdfxk.Yrxglxuljqgryt(_arg3);
var _local5 = _arg2.length;
var _local6 = 0;
var _local8 = "";
var _local9 = 0;
var _local7 = new Array();
_local7[0] = _local4 & 255;
_local7[1] = (_local4 >> 8) & 255;
var _local10 = 0;
var _local11 = _local5;
while (_local10 < _local11) {
var _local12 = _local10;
_local10++;
_local9 = _arg2.charCodeAt(_local12) + _local7[_local6];
if (_local9 > 256) {
_local9 = _local9 - 256;
}
_local8 = _local8 + Yuntqtjlotdfxk.Yayeqxlgysuhwb(_local9);
_local6++;
if (_local6 > 1) {
_local6 = 0;
}
}
return(new String(_local8));
};
Yuntqtjlotdfxk /*register */.Yaqunmeestntul = function (_arg2) {
var _local3 = 21162;
var _local4 = _arg2.length;
var _local5 = 0;
var _local7 = "";
var _local8 = 0;
var _local10 = 65;
var _local6 = new Array();
_local6[0] = _local3 & 255;
_local6[1] = (_local3 >> 8) & 255;
var _local11 = 0;
while (_local11 < _local4) {
var _local9 = _arg2.charAt(_local11);
_local9 = _local9 + _arg2.charAt(_local11 + 1);
var _local12 = Yuntqtjlotdfxk.Yjaeruymrmryuo(_local9);
var _local13 = _local12 - _local6[_local5];
if (_local13 < 0) {
_local13 = 256 + _local13;
}
_local7 = _local7 + Std.chr(_local13);
_local5++;
if (_local5 > 1) {
_local5 = 0;
}
_local11 = _local11 + 2;
_local8++;
}
return(new String(_local7));
};
Yuntqtjlotdfxk /*register */.Yayeqxlgysuhwb = function (_arg2) {
var _local3 = Math.floor(_arg2 / 16);
var _local4 = _arg2 - (_local3 * 16);
var _local5 = "0123456789ABCDEF";
return(new String(_local5.charAt(_local3) + _local5.charAt(_local4)));
};
Yuntqtjlotdfxk /*register */.Yjaeruymrmryuo = function (_arg2) {
var _local3 = 0;
var _local4 = 0;
var _local5 = _arg2.length - 1;
while (_local5 >= 0) {
_local4 = _arg2.charCodeAt((_arg2.length - 1) - _local5);
if ((_local4 >= 48) && (_local4 <= 57)) {
_local4 = _local4 - 48;
}
if ((_local4 >= 65) && (_local4 <= 71)) {
_local4 = _local4 - 65;
_local4 = _local4 + 10;
}
if (_local5 == 0) {
_local3 = _local3 + _local4;
}
if (_local5 > 0) {
_local3 = _local3 + (_local4 * (16 * _local5));
}
_local5--;
}
return(_local3);
};
((Ywlgpyzltlyzmr = function () {
this.Yujqbxkibiuijr = flash.Lib._root.createEmptyMovieClip("TheMainStage", 1);
flash.Stage.scaleMode = "showAll";
})).__name__ = ["Ywlgpyzltlyzmr"];
_local1 = Ywlgpyzltlyzmr /*register */.prototype;
_local1.__class__ = Ywlgpyzltlyzmr /*register */;
_local1.Yujqbxkibiuijr = null;
_local1.Ywjbefwpquxegx = function () {
};
((@Main = function () {
})).__name__ = ["@Main"];
_local1 = @Main /*register */.prototype;
_local1.__class__ = @Main /*register */;
flash.Boot;
flash.Boot.__init(this);
flash.Boot.__res = {};
try {
flash.MovieClip = _global.MovieClip;
flash.TextField = _global.TextField;
flash.text.StyleSheet = _global.TextField.StyleSheet;
flash.Key = _global.Key;
Math.NaN = Number.NaN;
Math.NEGATIVE_INFINITY = Number.NEGATIVE_INFINITY;
Math.POSITIVE_INFINITY = Number.POSITIVE_INFINITY;
Math.isFinite = function (_arg2) {
return(_global.isFinite(_arg2));
};
Math.isNaN = function (_arg2) {
return(_global.isNaN(_arg2));
};
flash.Selection = _global.Selection;
flash.TextFormat = _global.TextFormat;
flash.Stage = _global.Stage;
flash.TextSnapshot = _global.TextSnapshot;
flash.Sound = _global.Sound;
flash.LoadVars = _global.LoadVars;
Ymiorhfoxwmqgu.Ytzfzvdtouqjbx = 1;
Ymiorhfoxwmqgu.Yytskbfvipocix = 180 / Math.PI;
Ymiorhfoxwmqgu.Yudehqlhvepttg = 0;
Ykooahbhkzabif.Ylevikjmgefguq = null;
Ykooahbhkzabif.Yqltqntbpdenhw = null;
Ykooahbhkzabif.Yybyfohkezlunr = null;
Ykooahbhkzabif.Yylihvyivfdaxq = "";
Ykooahbhkzabif.Yiiqufqhgrxeeq = "";
Ykooahbhkzabif.Ymesggixtrlknz = false;
Ykooahbhkzabif.Yeyybciokubjjr = false;
Ymglinnpspnhcy.Yudehqlhvepttg = 0;
Yytmqbgkwvwvmo.Yeixqtkvtuwcxo = null;
Yytmqbgkwvwvmo.Ydfvrdrzjywdyo = null;
Yytmqbgkwvwvmo.Yqvjzbylwudqko = false;
Yytmqbgkwvwvmo.Yfpstnnwftwayz = false;
Yytmqbgkwvwvmo.Yulmskngbpifur = false;
Yytmqbgkwvwvmo.Yvvjwdsonlhgzn = 0;
Yytmqbgkwvwvmo.Yuzvnptndczduc = 0;
Yytmqbgkwvwvmo.Yukxbbbifzuyhe = 0;
Yytmqbgkwvwvmo.Yresvyzjfvulpo = 0;
@Main.init = Yytmqbgkwvwvmo.main();
} catch(_local) {
flash.Boot.__exc( /* Error999 */
);
}
Symbol 34 MovieClip [bubble] Frame 1
stop();