Section 1
//_ap80 (com.megaman.framework._ap80)
package com.megaman.framework {
public class _ap80 extends _sg367 {
private var _rd203:Number;
private var _yf247:Number;
private var _mx236:_nm449;
private var _bd374:Number;
private var _mm469:Boolean;
private var _vt88:Number;
private var _ri247:Number;
private var _nl260:Number;
public function _ap80(_arg1:_rh215){
super(_arg1);
_mx236 = _nm449(_arg1);
_vt88 = 60;
_bd374 = 0.3;
_rd203 = ((_mx236._wk81 - _mx236._ot421) / _vt88);
_ri247 = (((_mx236._nx267 - _mx236._uf442) - (((_bd374 * _vt88) * _vt88) / 2)) / _vt88);
_yf247 = 0;
}
override public function update():void{
_mx236._kp217.rotation = (_mx236._kp217.rotation + 5);
_mx236.x = (_mx236._ot421 + (_yf247 * _rd203));
_mx236.y = ((_mx236._uf442 + (_yf247 * _ri247)) + (((_bd374 * _yf247) * _yf247) / 2));
_yf247++;
}
}
}//package com.megaman.framework
Section 2
//_bk464 (com.megaman.framework._bk464)
package com.megaman.framework {
import flash.utils.*;
public class _bk464 extends _sg367 {
private var _gu234:int;// = 5
private var _mx236:_jq309;
private var _nl260:Number;
private var _mm469:Boolean;
public function _bk464(_arg1:_rh215){
_gu234 = 5;
super(_arg1);
_nl260 = getTimer();
_mx236 = _jq309(_arg1);
_mx236.state = _jq309._nk131;
_mx236._wx57(irrcrpt("VWDQG", 3));
_mx236._yd103 = 25;
}
override public function onEndAnimation(_arg1:String):void{
var _local2:_nm449;
switch (_arg1){
case irrcrpt("UJQQV_DQOD", 2):
_uu15.sound._im316(irrcrpt("whWlssxJpcFsqfiv", 4));
_local2 = new _nm449(_uu15._nd60._gj409._ac293, irrcrpt("pfExoohwErpeIob", 3), _uu15.random((_ym428.x - 15), (_ym428.x + 15)), (_ym428.y + 40), _uu15._nd60._ry45.x, _uu15._nd60._ry45.y, _nm449._og27);
_uu15._nd60._rg17(_local2);
break;
case irrcrpt("WLSSX_FSQF_IRH", 4):
_mx236.state = _jq309._ij502;
_mx236._wx57(irrcrpt("UVCPF", 2));
_nl260 = getTimer();
break;
case irrcrpt("GLH", 3):
_mx236._cf254 = true;
break;
};
}
override public function update():void{
var _local1:Number;
var _local2:int;
switch (_ym428.state){
case _jq309._nk131:
_local1 = (_uu15._nd60._ry45.x - _mx236.x);
if (_mx236.x < _uu15._nd60._ry45.x){
_mx236._jy73 = 3;
} else {
_mx236._jy73 = -3;
};
_mx236._yq167.setPosition(_mx236._jy73, 0);
if ((((_local1 > -(_gu234))) && ((_local1 < _gu234)))){
_mx236._yq167.setPosition(0, 0);
_mx236.state = _jq309._fy77;
_mx236._wx57(irrcrpt("WLSSX", 4));
};
break;
case _jq309._ij502:
_local2 = (getTimer() - _nl260);
if (_local2 > 1500){
_mx236.state = _jq309._nk131;
};
case _jq309._fy77:
break;
};
}
}
}//package com.megaman.framework
Section 3
//_bm227 (com.megaman.framework._bm227)
package com.megaman.framework {
import flash.utils.*;
public class _bm227 extends _sg367 {
private var _mx236:_jq309;
private var _nl260:Number;
private var _mm469:Boolean;
public function _bm227(_arg1:_rh215){
super(_arg1);
_nl260 = getTimer();
_mx236 = _jq309(_arg1);
_mx236.state = _jq309._nk131;
_mx236._wx57(irrcrpt("VYR", 4));
if (_uu15._nd60._ry45.x > _mx236.x){
_mx236._jy73 = Math.abs(_mx236._jy73);
} else {
_mx236._jy73 = -(_mx236._jy73);
};
_mx236._yd103 = 1;
}
override public function _ct400():void{
if (!(_mm469)){
if (_mx236._vr318()){
_mx236.state = _jq309._vy250;
_mx236._wx57(irrcrpt("GJSF", 1));
} else {
_mx236.state = _jq309._ij502;
_mx236._wx57(irrcrpt("UVCPF", 2));
};
_mx236._yq167.setPosition(0, _mx236._yq167._y);
_nl260 = getTimer();
_mm469 = true;
};
}
override public function onEndAnimation(_arg1:String):void{
var _local2:_nm449;
switch (_arg1){
case irrcrpt("KNWJ_XMTTY", 5):
_local2 = new _nm449(_uu15._nd60._gj409._ac293, irrcrpt("ndCvmmfuGjsf", 1), ((_mx236._kp217.scaleX)==1) ? (_mx236.x - 60) : (_mx236.x + 60), (_mx236.y - 20), _uu15._nd60._ry45.x, _uu15._nd60._ry45.y, _nm449._ke328, ((_mx236._kp217.scaleX)==1) ? -9 : 9, (_mx236.y - 20));
_uu15._nd60._rg17(_local2);
_uu15.sound._im316(irrcrpt("xiIjxjwy", 5));
break;
case irrcrpt("HKTG_UJQQV_GPF", 2):
_mx236.state = _jq309._ij502;
_mx236._wx57(irrcrpt("UVCPF", 2));
_nl260 = getTimer();
break;
case irrcrpt("FKG", 2):
_mx236._cf254 = true;
break;
};
}
override public function update():void{
var _local1:int;
switch (_mx236.state){
case _jq309._nk131:
if (_mx236._kp217.scaleX == 1){
_mx236._jy73 = -5;
} else {
_mx236._jy73 = 5;
};
_mx236._yq167.setPosition(_mx236._jy73, _mx236._yq167._y);
if (_mx236._vw363() < _uu15.random(100, 220)){
if (_mx236._vr318()){
_mx236.state = _jq309._vy250;
_mx236._wx57(irrcrpt("KNWJ", 5));
} else {
_mx236.state = _jq309._mk82;
_mx236._wx57(irrcrpt("VYR", 4));
};
_mx236._yq167.setPosition(0, _mx236._yq167._y);
_nl260 = getTimer();
};
break;
case _jq309._ij502:
_local1 = (getTimer() - _nl260);
if (_local1 > 1000){
_mx236.state = _jq309._nk131;
if (_mx236._kp217.scaleX == 1){
_mx236._jy73 = -5;
} else {
_mx236._jy73 = 5;
};
_mx236._wx57(irrcrpt("UXQ", 3));
_mm469 = false;
};
break;
case _jq309._mk82:
if (_mx236._kp217.scaleX == 1){
_mx236._jy73 = -5;
} else {
_mx236._jy73 = 5;
};
_mx236._yq167.setPosition(_mx236._jy73, _mx236._yq167._y);
if (_mx236._vr318()){
_mx236.state = _jq309._vy250;
_mx236._wx57(irrcrpt("JMVI", 4));
_mx236._yq167.setPosition(0, _mx236._yq167._y);
};
break;
case _jq309._vy250:
break;
case _jq309._tp23:
break;
};
}
}
}//package com.megaman.framework
Section 4
//_cd187 (com.megaman.framework._cd187)
package com.megaman.framework {
public class _cd187 {
protected var _pv72:Number;
protected var _do502:Number;
protected var _bc493:Number;
public function _cd187(_arg1:Number=0, _arg2:Number=0, _arg3:Number=0){
setPosition(_arg1, _arg2, _arg3);
}
public function setPosition(_arg1:Number=0, _arg2:Number=0, _arg3:Number=0){
_do502 = _arg1;
_bc493 = _arg2;
_pv72 = _arg3;
}
public function get _ec492():Number{
return (_pv72);
}
public function get _y():Number{
return (_bc493);
}
public function get _x():Number{
return (_do502);
}
}
}//package com.megaman.framework
Section 5
//_fj41 (com.megaman.framework._fj41)
package com.megaman.framework {
import flash.utils.*;
public class _fj41 extends _sg367 {
private var _mx236:_jq309;
private var _nl260:Number;
private var _mm469:Boolean;
public function _fj41(_arg1:_rh215){
super(_arg1);
_nl260 = getTimer();
_mx236 = _jq309(_arg1);
_mx236.state = _jq309._ib513;
_mx236._wx57(irrcrpt("UBML", 1));
}
override public function _ct400():void{
if (((!(_mm469)) && (!((_mx236.state == _jq309._ib513))))){
if (_mx236._vr318()){
_mx236.state = _jq309._fy77;
_mx236._wx57(irrcrpt("VKRRW_ERPE", 3));
} else {
_mx236.state = _jq309._ij502;
_mx236._wx57(irrcrpt("WXST", 4));
};
_mx236._yq167.setPosition(0, _mx236._yq167._y);
_nl260 = getTimer();
_mm469 = true;
};
}
override public function onEndAnimation(_arg1:String):void{
var _local2:_nm449;
switch (_arg1){
case irrcrpt("WLSSX_FSQF", 4):
_local2 = new _nm449(_uu15._nd60._gj409._ac293, irrcrpt("ndCvmmfuCpnc", 1), _ym428.x, (_ym428.y - 30), _uu15._nd60._ry45.x, _uu15._nd60._ry45.y, _nm449._br307);
_uu15._nd60._rg17(_local2);
break;
case irrcrpt("WJFX_QMBZFS", 1):
case irrcrpt("UJQQV_DQOD_GPF", 2):
if (_mx236._vw363() > _uu15.random(150, 200)){
if (_mx236._kp217.scaleX == 1){
_mx236._jy73 = -5;
} else {
_mx236._jy73 = 5;
};
_mx236.state = _jq309._nk131;
_mx236._wx57(irrcrpt("WZS", 5));
_nl260 = getTimer();
} else {
_mx236.state = _jq309._ij502;
_mx236._wx57(irrcrpt("WXST", 4));
_nl260 = getTimer();
};
_mm469 = false;
break;
case irrcrpt("FKG", 2):
_mx236._cf254 = true;
break;
};
}
override public function update():void{
var _local1:*;
switch (_ym428.state){
case _jq309._ib513:
if (_mx236._vw363() < 300){
if (_mx236._vr318()){
_mx236.state = _jq309._ol230;
_mx236._wx57(irrcrpt("YLHZ_SODBHU", 3));
_uu15.sound._im316(irrcrpt("xiAnjbUqfdjw", 5));
} else {
_mx236.state = _jq309._ib513;
};
};
break;
case _jq309._ij502:
_local1 = (getTimer() - _nl260);
if (_local1 > 1500){
if (_mx236._vr318()){
_mx236.state = _jq309._fy77;
_mx236._wx57(irrcrpt("VKRRW_ERPE", 3));
} else {
if (_mx236._kp217.scaleX == 1){
_mx236._jy73 = -5;
} else {
_mx236._jy73 = 5;
};
_mx236.state = _jq309._nk131;
_mx236._wx57(irrcrpt("UXQ", 3));
_nl260 = getTimer();
};
};
break;
case _jq309._fy77:
break;
case _jq309._nk131:
_ym428._yq167.setPosition(_mx236._jy73, _mx236._yq167._y);
if (_mx236._vw363() < _uu15.random(90, 170)){
_mx236.state = _jq309._ij502;
_mx236._wx57(irrcrpt("TUPQ", 1));
_nl260 = getTimer();
_mx236._yq167.setPosition(0, _mx236._yq167._y);
};
break;
case _jq309._xn323:
break;
case _jq309._tp23:
break;
};
}
}
}//package com.megaman.framework
Section 6
//_hg463 (com.megaman.framework._hg463)
package com.megaman.framework {
import flash.geom.*;
import com.megaman.util.*;
public class _hg463 extends _rh215 {
private var _na511:int;// = -1
private var _re185:int;
private var _ul219:int;
private var _hb54:int;// = 14
public static const _oc432 = -1;
public static const _or270:int = 2;
public static const _dx522 = 3;
public static const _wp271:int = 1;
public static const _sl338 = 1;
public static const _lc153 = 2;
public function _hg463(_arg1:_dn360, _arg2:String, _arg3:Number, _arg4:Number, _arg5:int=-1, _arg6:int=-1){
_na511 = _oc432;
_hb54 = 14;
super(_arg1, _arg2, _arg3, _arg4);
_na511 = _arg5;
switch (_na511){
case _oc432:
_do502 = (_do502 - 35);
_ul219 = -(_hb54);
_re185 = 0;
_xe232.rotation = 180;
break;
case _sl338:
_do502 = (_do502 + 35);
_ul219 = _hb54;
_re185 = 0;
_xe232.rotation = 0;
break;
case _lc153:
_bc493 = (_bc493 + 40);
_ul219 = 0;
_re185 = _hb54;
_xe232.rotation = 90;
break;
case _dx522:
_bc493 = (_bc493 - 40);
_ul219 = 0;
_re185 = -(_hb54);
_xe232.rotation = 270;
break;
};
_xe232.parentClass = this;
_gx100 = _wp271;
}
override public function update():void{
var _local1:int;
var _local2:int;
var _local3:*;
var _local4:*;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:Point;
var _local10:int;
var _local11:int;
var _local12:_uy204;
var _local13:int;
var _local14:_le35;
if (!(_cf254)){
switch (_gx100){
case _wp271:
_do502 = (_do502 + _ul219);
_bc493 = (_bc493 + _re185);
if ((((_do502 > (_uu15._nd60._sv415.x + _uu15._nd60._sv415._ea220))) || ((_do502 < _uu15._nd60._sv415.x)))){
_cf254 = true;
};
if ((((_bc493 > (_uu15._nd60._sv415.y + _uu15._nd60._sv415._dm108))) || ((_bc493 < _uu15._nd60._sv415.y)))){
_cf254 = true;
};
_local1 = _uu15._nd60._is414.length;
_local2 = 0;
_local2 = 0;
while (_local2 < _local1) {
if (((!(_uu15._nd60._is414[_local2]._cf254)) && (!((_uu15._nd60._is414[_local2].state == _jq309._tp23))))){
if (_xe232.collision.hitTestObject(_uu15._nd60._is414[_local2]._kp217.collision)){
_gx100 = _or270;
_wx57(irrcrpt("IBTPSMX", 4));
_uu15.sound._im316(irrcrpt("vgFrooExoohw", 3));
_uu15._nd60._is414[_local2]._pc149();
break;
};
};
_local2++;
};
_local3 = _uu15._nd60._ry45._eq316;
_local4 = _uu15._nd60._ry45._ow83;
_local5 = (_local3 - 1);
_local6 = (_local4 - 1);
_local7 = (_local5 + 3);
_local8 = (_local6 + 3);
_local9 = _mt223();
_local9 = _mt223();
_local10 = _local5;
while (_local10 < _local7) {
if ((((_local10 > (_uu15._nd60.numRows - 1))) || ((_local10 < 0)))){
} else {
_local11 = _local6;
while (_local11 < _local8) {
if ((((_local11 > (_uu15._nd60.numColumns - 1))) || ((_local11 < 0)))){
} else {
if (((_uu15._nd60._gj409.screens[_local10]) && (_uu15._nd60._gj409.screens[_local10][_local11]))){
_local12 = _uu15._nd60._gj409.screens[_local10][_local11];
_local13 = _local12._pe238.length;
_local2 = 0;
while (_local2 < _local13) {
_local14 = _local12._pe238[_local2];
if (!(_local14._cf254)){
if (_local14.collision.hitTestPoint(_local9.x, _local9.y, true)){
_local14._sb215();
_gx100 = _or270;
_uu15.sound._im316(irrcrpt("whGsppFyppix", 4));
_wx57(irrcrpt("HASORLW", 3));
break;
};
};
_local2++;
};
if (_local2 == _local13){
if (_local12._kp217.mcCollision.hitTestPoint(_local9.x, _local9.y, true)){
_gx100 = _or270;
_uu15.sound._im316(irrcrpt("xiHtqqGzqqjy", 5));
_wx57(irrcrpt("HASORLW", 3));
};
};
};
};
_local11++;
};
};
_local10++;
};
break;
case _or270:
break;
};
};
super.update();
}
override public function _fj317():void{
super._fj317();
}
private function _mt223():Point{
return (new Point((_xe232.parent.x + x), (_xe232.parent.y + y)));
}
public function onEndAnimation(_arg1:String):void{
switch (_arg1){
case irrcrpt("HASORLW", 3):
_cf254 = true;
break;
};
}
}
}//package com.megaman.framework
Section 7
//_hu513 (com.megaman.framework._hu513)
package com.megaman.framework {
import flash.utils.*;
public class _hu513 {
private var _md205:_uy204;
private var _nl260:Number;
private var _gx100:int;// = 3
private var _ts467:int;
private var _wl121:Array;
private var _tf132:Array;
public static const _eh336:int = 4;
public static const _rm483:int = 1;
public static const _ij502:int = 3;
public function _hu513(){
_gx100 = _ij502;
super();
_tf132 = new Array();
_gx100 = _ij502;
}
public function _ja441(_arg1:_jq309):void{
var _local2:int;
var _local3:int;
if (_tf132){
_local2 = _tf132.length;
_local3 = 0;
while (_local3 < _local2) {
if (_tf132[_local3] == _arg1){
_tf132.splice(_local3, 1);
break;
};
_local3++;
};
};
}
public function update():void{
var _local1:*;
switch (_gx100){
case _rm483:
_local1 = (getTimer() - _nl260);
if (_local1 > 2000){
_wv438(_wl121[_ts467]);
_ts467++;
_nl260 = getTimer();
if (_ts467 == _wl121.length){
_gx100 = _eh336;
};
};
break;
case _ij502:
break;
case _eh336:
if (_tf132.length == 0){
_gx100 = _ij502;
_uu15._nd60._gj409._be360();
};
break;
};
}
public function _dm499():void{
var _local1:Number;
var _local2:Number;
_md205 = _uu15._nd60._gj409._rr328;
_local1 = _md205._gm320._ra60;
_local2 = _md205._gm320._sh58;
if (_uu15._nd60._lv267){
if (((_uu15._nd60._lv267[_local1]) && (_uu15._nd60._lv267[_local1][_local2]))){
_wl121 = _uu15._nd60._lv267[_local1][_local2];
_gx100 = _rm483;
_nl260 = getTimer();
_ts467 = 0;
} else {
_md205 = null;
_uu15._nd60._gj409._be360();
};
};
}
private function _wv438(_arg1:_rl119):void{
var _local2:String;
var _local3:_jq309;
switch (_arg1.type){
case _jq309._br307:
_local2 = irrcrpt("qgIriqcWsphmiv", 4);
_local3 = new _iq290(_uu15._nd60._gj409._ac293, _local2, (_md205.x + _arg1.x), (_md205.y + _arg1.y), _arg1.type, _arg1, _jq309._oc432, _iv173._dt248());
_uu15._nd60._vv84(_local3);
break;
case _jq309._ke328:
_local2 = irrcrpt("rhJsjrdXmttyjw", 5);
_local3 = new _iq290(_uu15._nd60._gj409._ac293, _local2, (_md205.x + _arg1.x), (_md205.y + _arg1.y), _arg1.type, _arg1, _jq309._oc432, _iv173._dt248());
_uu15._nd60._vv84(_local3);
break;
case _jq309._vq463:
_local2 = irrcrpt("ndCbumfUsvol", 1);
_local3 = new _iq290(_uu15._nd60._gj409._ac293, _local2, (_md205.x + _arg1.x), (_md205.y + _arg1.y), _arg1.type, _arg1, _jq309._oc432, _iv173._dt248());
_uu15._nd60._vv84(_local3);
break;
case _jq309._og27:
_local2 = irrcrpt("ndNbdijofGmz", 1);
_local3 = new _lx208(_uu15._nd60._gj409._ac293, _local2, (_md205.x + _arg1.x), (_md205.y + _arg1.y), _arg1.type, _arg1, _jq309._oc432, _iv173._dt248());
_uu15._nd60._vv84(_local3);
break;
};
_tf132.push(_local3);
}
public function _fj317():void{
_tf132 = null;
_gx100 = _ij502;
}
}
}//package com.megaman.framework
Section 8
//_in29 (com.megaman.framework._in29)
package com.megaman.framework {
import flash.utils.*;
public class _in29 extends _sg367 {
private var _mx236:_jq309;
private var _nl260:Number;
private var _mm469:Boolean;
public function _in29(_arg1:_rh215){
super(_arg1);
_nl260 = getTimer();
_mx236 = _jq309(_arg1);
_mx236._kp217.scaleX = 1;
_mx236._yd103 = 60;
_mx236.state = _jq309._yi303;
_mx236._wx57(irrcrpt("VKRZ", 3));
}
override public function onEndAnimation(_arg1:String):void{
var _local2:_nm449;
switch (_arg1){
case irrcrpt("VRXQG", 3):
_uu15.sound._im316(irrcrpt("vgVkrrwWuxfn", 3));
break;
case irrcrpt("XTZSI_INJ", 5):
_uu15.sound._im316(irrcrpt("teFyqmpujpo2", 1));
break;
case irrcrpt("VKRZ", 3):
_mx236.state = _jq309._ij502;
_mx236._wx57(irrcrpt("VWDQG", 3));
_nl260 = getTimer();
break;
case irrcrpt("VKRRW_ILUH", 3):
_uu15.sound._im316(irrcrpt("xiXmttyKqdGtrgjw", 5));
_local2 = new _nm449(_uu15._nd60._gj409._ac293, irrcrpt("rhGzqqjyGtrgKqd", 5), _uu15.random((_ym428.x - 400), _ym428.x), 0, _uu15._nd60._ry45.x, _uu15._nd60._ry45.y, _nm449._og27);
_uu15._nd60._rg17(_local2);
break;
case irrcrpt("VKRRW_HQG", 3):
_mx236.state = _jq309._ij502;
_mx236._wx57(irrcrpt("WXERH", 4));
_nl260 = getTimer();
break;
case irrcrpt("EJF", 1):
_mx236._cf254 = true;
break;
};
}
override public function update():void{
var _local1:*;
switch (_ym428.state){
case _jq309._ij502:
_local1 = (getTimer() - _nl260);
if (_local1 > 4000){
_mx236.state = _jq309._fy77;
_mx236._wx57(irrcrpt("XMTTY", 5));
_nl260 = getTimer();
};
break;
case _jq309._fy77:
break;
case _jq309._xn323:
break;
case _jq309._tp23:
break;
};
}
}
}//package com.megaman.framework
Section 9
//_iq290 (com.megaman.framework._iq290)
package com.megaman.framework {
import flash.utils.*;
import com.megaman.util.*;
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
public class _iq290 extends _jq309 {
private var _br383:Boolean;
private var _nl260:int;
public function _iq290(_arg1:_dn360, _arg2:String, _arg3:Number, _arg4:Number, _arg5:int=0, _arg6:_rl119=null, _arg7:int=-1, _arg8:int=-1){
_nl260 = getTimer();
super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8);
_na511 = _arg7;
_ao448 = new _xt142(0, 0, 0);
_wp84 = 0.9;
_jy73 = 7;
_nt117 = 30;
_yg248 = 40;
_uq354 = _arg5;
_xe232.parentClass = this;
_xe232.scaleX = -1;
_xe232.collision.visible = false;
_mc212 = _arg6;
_yd103 = 1;
switch (_arg5){
case _br307:
_up46 = new _fj41(this);
break;
case _ke328:
_up46 = new _bm227(this);
break;
case _rd361:
_up46 = new _ix101(this);
break;
case _vq463:
_up46 = new _in29(this);
break;
};
}
override public function _pc149():void{
var _local1:_pa198;
_yd103--;
if (_yd103 < 1){
switch (_uq354){
case _rd361:
case _br307:
case _ke328:
_wx57(((_uu15.random(1, 2))==1) ? irrcrpt("INJ", 5) : irrcrpt("FKG4", 2));
_jy73 = 0;
_ao448.setPosition(_jy73, _ao448._y);
_uu15.sound._im316(irrcrpt("whHiehIriqcWlssx", 4));
_uu15._nd60._wm102(10);
break;
case _vq463:
_wx57(irrcrpt("FKG", 2));
_uu15._nd60._wm102(1000);
break;
};
_gx100 = _tp23;
if (_mc212){
_mc212._ga186 = true;
};
} else {
_local1 = _uu15._tq214;
_local1 = new _pa198();
_local1._uv20(0, 60, 90, 0);
_xe232.filters = [new ColorMatrixFilter(_local1)];
_br383 = true;
_nl260 = getTimer();
};
}
override public function update():void{
var _local1:int;
if (!(_cf254)){
if (((!((_gx100 == _tp23))) && (!((_uq354 == _vq463))))){
if (_uu15._nd60._ry45.x < _do502){
_xe232.scaleX = 1;
} else {
_xe232.scaleX = -1;
};
};
if (_br383){
_local1 = (getTimer() - _nl260);
if (_local1 > 200){
_xe232.filters = null;
_br383 = false;
};
};
_up46.update();
if (_uq354 != _vq463){
_ao448._lg282(0, _wp84);
_ao448.setPosition(_ao448._x, Math.min(_ao448._y, _gf161));
x = (x + _ao448._x);
y = (y + _ao448._y);
_py423();
};
super.update();
};
}
private function _py423():void{
var _local1:*;
var _local2:*;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:MovieClip;
var _local10:Point;
_local1 = _uu15._nd60._ry45._eq316;
_local2 = _uu15._nd60._ry45._ow83;
_local3 = (_local1 - 1);
_local4 = (_local2 - 1);
_local5 = (_local3 + 3);
_local6 = (_local4 + 3);
_local7 = _local3;
while (_local7 < _local5) {
if ((((_local7 > (_uu15._nd60.numRows - 1))) || ((_local7 < 0)))){
} else {
_local8 = _local4;
while (_local8 < _local6) {
if ((((_local8 > (_uu15._nd60.numColumns - 1))) || ((_local8 < 0)))){
} else {
if (((_uu15._nd60._gj409.screens[_local7]) && (_uu15._nd60._gj409.screens[_local7][_local8]))){
_local9 = _uu15._nd60._gj409.screens[_local7][_local8]._kp217.mcCollision;
_local10 = _mt223();
_local10 = _mt223();
if (_local9.hitTestPoint((_local10.x + (_nt117 * 0.2)), (_local10.y + 5), true)){
x = (x - 5);
_ao448.setPosition(0, _ao448._y);
_ct400();
};
_local10 = _mt223();
if (_local9.hitTestPoint((_local10.x - (_nt117 * 0.2)), (_local10.y + 5), true)){
x = (x + 5);
_ao448.setPosition(0, _ao448._y);
_ct400();
};
_local10 = _mt223();
if (_local9.hitTestPoint(_local10.x, (_local10.y + (_yg248 * 0.5)), true)){
while (_local9.hitTestPoint(_local10.x, (_local10.y + (_yg248 * 0.5)), true)) {
y = (y - 0.2);
_local10.y = (_local10.y - 0.2);
};
_ao448.setPosition(_ao448._x, 0);
};
};
};
_local8++;
};
};
_local7++;
};
_aq42();
}
override public function _fj317():void{
if (_mc212){
_mc212._ei53 = false;
};
super._fj317();
_up46 = null;
}
}
}//package com.megaman.framework
Section 10
//_iv173 (com.megaman.framework._iv173)
package com.megaman.framework {
import com.megaman.util.*;
import flash.display.*;
import flash.utils.*;
public class _iv173 {
private var _tp429:_mi458;// = null
private var _ew420:_pg203;// = null
private var _sf328:_hu513;// = null
private var _xq82:int;// = 600
private var _nw309:MovieClip;
private var _ft115:MovieClip;
private var _tf132:Array;// = null
private var _uq408:int;
private var _td152:_dn360;
private var _qt281:_dn360;
private var _gn342:MovieClip;
protected var _gf460:Array;
private var _ps266:MovieClip;
private var _mc273:Array;// = null
private var _gd327:_mx416;// = null
private var _gn194:Array;// = null
protected var _yl329:Array;
private var _ya412:int;// = 1
private var _gg91:_sf387;// = null
private var _by235:Sprite;
private var _gx100:int;// = 1
private var _ft223:int;// = 8
private var Container:MovieClip;
private var _ac293:_dn360;
private var _gs135:_dn360;// = null
private var _nl260:int;
public static const _mb280:int = 2;
public static const _em422:int = 1;
public static var _lg23:int = _uu15._lk145;
public function _iv173(_arg1:MovieClip){
_gg91 = null;
_tp429 = null;
_ew420 = null;
_gd327 = null;
_gn194 = null;
_mc273 = null;
_tf132 = null;
_sf328 = null;
_gs135 = null;
_ya412 = 1;
_ft223 = 8;
_gx100 = _em422;
_xq82 = 600;
super();
_ps266 = _arg1;
Container = new MovieClip();
_arg1.stage.quality = irrcrpt("PHGLXP", 3);
_arg1.addChild(Container);
_by235 = new mcMaskGame();
_by235.cacheAsBitmap = true;
_gs135 = new _dn360(Container);
_gs135.addChild(_by235);
Container.mask = _by235;
_ft115 = new MovieClip();
_ft115.x = 0;
_ft115.y = 0;
_gs135.addChildAt(_ft115, _uu15._ti305);
_td152 = new _dn360(_ft115);
_nw309 = new MovieClip();
_nw309.x = 0;
_nw309.y = 0;
_gs135.addChildAt(_nw309, _uu15._ti464);
_qt281 = new _dn360(_nw309);
_gn342 = new MovieClip();
_gn342.x = 0;
_gn342.y = 0;
_gs135.addChildAt(_gn342, _uu15._xa244);
_ac293 = new _dn360(_gn342);
_gd327 = new _mx416(Container, irrcrpt("qgYM", 4));
_ir97(0);
_qw89();
_gg91 = new _sf387(_ac293, 100, 100);
_tp429 = new _mi458(_td152, _ac293, _qt281, _ya412, _ft223, _gg91);
_ew420 = new _pg203(_tp429, _gg91);
_gn194 = new Array();
_mc273 = new Array();
_tf132 = new Array();
_sf328 = new _hu513();
_nl260 = getTimer();
_uu15.sound._hr50(irrcrpt("vgPdlqWkhph", 3), 1);
_gx100 = _em422;
}
public function get _aj292():Array{
return (_yl329);
}
public function _qw89():void{
var _local1:Array;
var _local2:Array;
var _local3:Array;
var _local4:Array;
var _local5:Array;
var _local6:Array;
var _local7:Array;
var _local8:Array;
var _local9:Array;
var _local10:Array;
var _local11:Array;
var _local12:Array;
var _local13:Array;
var _local14:Array;
var _local15:Array;
var _local16:Array;
var _local17:Array;
var _local18:Array;
_yl329 = new Array();
_yl329[0] = new Array();
_local1 = new Array();
_local1.push(new _rl119(0, 0, 500, 300, _jq309._ke328));
_local2 = new Array();
_local2.push(new _rl119(0, 1, 50, 250));
_local2.push(new _rl119(0, 1, 500, 200));
_local2.push(new _rl119(0, 1, 450, 20, _jq309._rd361));
_local3 = new Array();
_local3.push(new _rl119(0, 2, 50, 250));
_local3.push(new _rl119(0, 2, 200, 50));
_local3.push(new _rl119(0, 2, 400, 50));
_local3.push(new _rl119(0, 2, 60, 20, _jq309._rd361));
_local3.push(new _rl119(0, 2, 450, 10, _jq309._rd361));
_local4 = new Array();
_local4.push(new _rl119(0, 3, 350, 250));
_local4.push(new _rl119(0, 3, 200, 50));
_local4.push(new _rl119(0, 3, 400, 50));
_local5 = new Array();
_local5.push(new _rl119(0, 4, 350, 250));
_local5.push(new _rl119(0, 4, 200, 50));
_local5.push(new _rl119(0, 4, 400, 50));
_local5.push(new _rl119(0, 4, 50, 50));
_local5.push(new _rl119(0, 4, 450, 50));
_local6 = new Array();
_local6.push(new _rl119(0, 5, 350, 250));
_local6.push(new _rl119(0, 5, 200, 50));
_local6.push(new _rl119(0, 5, 400, 50));
_local7 = new Array();
_local7.push(new _rl119(0, 6, 350, 250));
_local7.push(new _rl119(0, 6, 200, 50));
_local7.push(new _rl119(0, 6, 100, 50));
_local7.push(new _rl119(0, 6, 400, 50));
_local7.push(new _rl119(0, 6, 450, 150));
_local7.push(new _rl119(0, 6, 450, 0, _jq309._rd361));
_local7.push(new _rl119(0, 6, 50, 0, _jq309._rd361));
_local8 = new Array();
_local9 = new Array();
_local9.push(new _ox435(0, 1, 320, 240, _le35._ap250));
_local9.push(new _ox435(0, 1, 400, 10, _le35._ai70));
_local10 = new Array();
_local10.push(new _ox435(0, 2, 200, 250, _le35._md26));
_local10.push(new _ox435(0, 2, 400, 10, _le35._ai70));
_local11 = new Array();
_local11.push(new _ox435(0, 3, -100, 210, _le35._vv445));
_local12 = new Array();
_local12.push(new _ox435(0, 4, 300, 240, _le35._ap250));
_local13 = new Array();
_local13.push(new _ox435(0, 6, -60, 210, _le35._vv445));
_local13.push(new _ox435(0, 6, 400, 10, _le35._ai70));
_local13.push(new _ox435(0, 6, 200, 250, _le35._md26));
_local13.push(new _ox435(0, 6, 350, 240, _le35._ap250));
_local13.push(new _ox435(0, 6, 20, 10, _le35._ai70));
_local14 = new Array();
_local14.push(new _rl119(0, 1, -40, 300, _jq309._ke328));
_local14.push(new _rl119(0, 1, 580, 300, _jq309._ke328));
_local14.push(new _rl119(0, 1, -40, 300, _jq309._ke328));
_local14.push(new _rl119(0, 1, 580, 300, _jq309._ke328));
_local15 = new Array();
_local15.push(new _rl119(0, 2, -40, 300, _jq309._ke328));
_local15.push(new _rl119(0, 2, 580, 300, _jq309._ke328));
_local15.push(new _rl119(0, 2, -40, 300, _jq309._ke328));
_local15.push(new _rl119(0, 2, 580, 300, _jq309._ke328));
_local15.push(new _rl119(0, 2, -40, 300, _jq309._ke328));
_local15.push(new _rl119(0, 2, 580, 300, _jq309._ke328));
_local16 = new Array();
_local16.push(new _rl119(0, 4, -40, 50, _jq309._og27));
_local16.push(new _rl119(0, 4, -40, 300, _jq309._ke328));
_local16.push(new _rl119(0, 4, 580, 300, _jq309._ke328));
_local16.push(new _rl119(0, 4, -40, 300, _jq309._ke328));
_local16.push(new _rl119(0, 4, 580, 300, _jq309._ke328));
_local16.push(new _rl119(0, 4, -40, 300, _jq309._ke328));
_local16.push(new _rl119(0, 4, 580, 300, _jq309._ke328));
_local16.push(new _rl119(0, 4, 580, 300, _jq309._ke328));
_local16.push(new _rl119(0, 4, -40, 300, _jq309._ke328));
_local16.push(new _rl119(0, 4, 580, 300, _jq309._ke328));
_local16.push(new _rl119(0, 4, 580, 300, _jq309._ke328));
_local16.push(new _rl119(0, 4, -40, 300, _jq309._ke328));
_local17 = new Array();
_local17.push(new _rl119(0, 5, 525, 220, _jq309._vq463));
_local17.push(new _rl119(0, 5, -40, 300, _jq309._ke328));
_local17.push(new _rl119(0, 5, -40, 300, _jq309._ke328));
_local18 = new Array();
_local18.push(new _rl119(0, 4, 560, 50, _jq309._og27));
_local18.push(new _rl119(0, 4, -40, 300, _jq309._ke328));
_local18.push(new _rl119(0, 4, 580, 300, _jq309._ke328));
_local18.push(new _rl119(0, 4, -40, 300, _jq309._ke328));
_local18.push(new _rl119(0, 4, 580, 300, _jq309._ke328));
_local18.push(new _rl119(0, 4, -40, 300, _jq309._ke328));
_local18.push(new _rl119(0, 4, 580, 300, _jq309._ke328));
_local18.push(new _rl119(0, 4, 580, 300, _jq309._ke328));
_local18.push(new _rl119(0, 4, -40, 300, _jq309._ke328));
_local18.push(new _rl119(0, 4, 580, 300, _jq309._ke328));
_local18.push(new _rl119(0, 4, 580, 300, _jq309._ke328));
_local18.push(new _rl119(0, 4, -40, 300, _jq309._ke328));
_local18.push(new _rl119(0, 4, 580, 300, _jq309._ke328));
_local18.push(new _rl119(0, 4, -40, 300, _jq309._ke328));
_local18.push(new _rl119(0, 4, 580, 300, _jq309._ke328));
_local18.push(new _rl119(0, 4, -40, 300, _jq309._ke328));
_local18.push(new _rl119(0, 4, 580, 300, _jq309._ke328));
_local18.push(new _rl119(0, 4, -40, 300, _jq309._ke328));
_gf460 = new Array();
_gf460[0] = new Array();
_gf460[0][1] = _local14;
_gf460[0][2] = _local15;
_gf460[0][4] = _local16;
_gf460[0][5] = _local17;
_gf460[0][6] = _local18;
_yl329[0][0] = new _la166(0, 0, true, _local1, _local8);
_yl329[0][1] = new _la166(0, 1, true, _local2, _local9);
_yl329[0][2] = new _la166(0, 2, true, _local3, _local10);
_yl329[0][3] = new _la166(0, 3, false, _local4, _local11);
_yl329[0][4] = new _la166(0, 4, true, _local5, _local12);
_yl329[0][5] = new _la166(0, 5, true, _local6, null);
_yl329[0][6] = new _la166(0, 6, true, _local7, _local13);
_yl329[0][7] = new _la166(0, 7, false);
}
public function showFadeInWin():void{
_uu15._cp262._fj317();
_uu15._cp262 = null;
_gx100 = _mb280;
_fj317();
clsFla._vi508();
_uu15._xk453.gotoAndStop(irrcrpt("YKP", 2));
}
public function get state():Number{
return (_gx100);
}
public function get ui():_mx416{
return (_gd327);
}
public function get _sv415():_pg203{
return (_ew420);
}
public function showFadeIn():void{
_uu15._cp262._fj317();
_uu15._cp262 = null;
_gx100 = _mb280;
_fj317();
clsFla._vi508();
_uu15._xk453.gotoAndStop(irrcrpt("YWFD_FLFNS", 5));
}
public function _vv84(_arg1:_jq309):void{
_tf132.push(_arg1);
}
public function _ao154(_arg1:_hg463):void{
_gn194.push(_arg1);
}
public function get _lv267():Array{
return (_gf460);
}
public function get _ti364():_hu513{
return (_sf328);
}
public function get _na330():_dn360{
return (_gs135);
}
public function _rs522():void{
_uu15._cp262 = new _rn362(_ps266, {width:560, height:400});
_uu15._cp262._oa113(_rn362.SHOW, this, irrcrpt("ujqyHcfgKpYkp", 2));
}
public function update():void{
var _local1:int;
var _local2:int;
var _local3:int;
var _local4:int;
if (!(_uu15._fe259)){
switch (_gx100){
case _em422:
_local1 = (getTimer() - _nl260);
_local2 = int((_local1 / 1000));
_gd327.setTime((((_xq82 - _local2) * 60) / _xq82));
if (_uu15._pc420 > -1){
_gg91.update();
};
_tp429.update();
_ew420.update();
_sf328.update();
_local3 = _gn194.length;
_local4 = 0;
_local4 = 0;
while (_local4 < _local3) {
if (!(_gn194[_local4]._cf254)){
_gn194[_local4].update();
} else {
_gn194[_local4]._fj317();
_gn194[_local4] = null;
_gn194.splice(_local4, 1);
_local3--;
_local4--;
};
_local4++;
};
_local3 = _tf132.length;
_local4 = 0;
while (_local4 < _local3) {
if (!(_tf132[_local4]._cf254)){
_tf132[_local4].update();
} else {
_sf328._ja441(_tf132[_local4]);
_tf132[_local4]._fj317();
_tf132[_local4] = null;
_tf132.splice(_local4, 1);
_local3--;
_local4--;
};
_local4++;
};
_local3 = _mc273.length;
_local4 = 0;
while (_local4 < _local3) {
if (!(_mc273[_local4]._cf254)){
_mc273[_local4].update();
} else {
_mc273[_local4]._fj317();
_mc273[_local4] = null;
_mc273.splice(_local4, 1);
_local3--;
_local4--;
};
_local4++;
};
case _mb280:
break;
};
};
}
public function _fj317():void{
var _local1:int;
var _local2:int;
_yl329 = null;
_local1 = _tf132.length;
_local2 = 0;
_local2 = 0;
while (_local2 < _local1) {
if (_tf132[_local2]){
_tf132[_local2]._fj317();
_tf132[_local2] = null;
};
_local2++;
};
_tf132 = null;
_sf328._fj317();
_sf328 = null;
_local1 = _mc273.length;
_local2 = 0;
while (_local2 < _local1) {
if (_mc273[_local2]){
_mc273[_local2]._fj317();
_mc273[_local2] = null;
};
_local2++;
};
_mc273 = null;
_local1 = _gn194.length;
_local2 = 0;
while (_local2 < _local1) {
if (_gn194[_local2]){
_gn194[_local2]._fj317();
_gn194[_local2] = null;
};
_local2++;
};
_gn194 = null;
_gg91._fj317();
_gg91 = null;
_ew420._fj317();
_ew420 = null;
_tp429._fj317();
_tp429 = null;
_gd327._fj317();
_gd327 = null;
_gs135.removeChild(_gn342);
_gs135.removeChild(_ft115);
_gs135.removeChild(_nw309);
_gs135.removeChild(_by235);
_ps266.removeChild(Container);
_gs135 = null;
_uu15.sound._rm190(irrcrpt("whQemrXliqi", 4));
}
public function get _ry45():_sf387{
return (_gg91);
}
public function _wm102(_arg1:Number):void{
_uu15._gw288 = (_uu15._gw288 + _arg1);
_gd327._sh45(_uu15._gw288);
}
public function get _is414():Array{
return (_tf132);
}
public function _ir97(_arg1:Number):void{
_uu15._pc420 = (_uu15._pc420 + _arg1);
if (_uu15._pc420 < 0){
_uu15._cp262 = new _rn362(_ps266, {width:560, height:400});
_uu15._cp262._oa113(_rn362.SHOW, this, irrcrpt("ujqyHcfgKp", 2));
} else {
_gd327._gy64(_uu15._pc420);
};
}
public function get numColumns():Number{
return (_ft223);
}
public function _rg17(_arg1:_nm449):void{
_mc273.push(_arg1);
}
public function get _gj409():_mi458{
return (_tp429);
}
public function get numRows():Number{
return (_ya412);
}
public static function _dt248():int{
if (_lg23 < _uu15._es355){
_lg23 = _uu15._lk145;
};
_lg23--;
return (_lg23);
}
}
}//package com.megaman.framework
Section 11
//_ix101 (com.megaman.framework._ix101)
package com.megaman.framework {
import flash.utils.*;
public class _ix101 extends _sg367 {
private var _mx236:_jq309;
private var _nl260:Number;
private var _mm469:Boolean;
public function _ix101(_arg1:_rh215){
super(_arg1);
_nl260 = getTimer();
_mx236 = _jq309(_arg1);
_mx236.state = _jq309._ib513;
_mx236._wx57(irrcrpt("YFQP", 5));
_mx236._yd103 = 1;
}
override public function onEndAnimation(_arg1:String):void{
var _local2:_nm449;
switch (_arg1){
case irrcrpt("VKRRW_ERPE", 3):
_local2 = new _nm449(_uu15._nd60._gj409._ac293, irrcrpt("ndCvmmfuCpnc", 1), _ym428.x, (_ym428.y - 30), _uu15._nd60._ry45.x, _uu15._nd60._ry45.y, _nm449._br307);
_uu15._nd60._rg17(_local2);
break;
case irrcrpt("XKGY_RNCAGT", 2):
case irrcrpt("TIPPU_CPNC_FOE", 1):
_mx236.state = _jq309._ij502;
_mx236._wx57(irrcrpt("UVQR", 2));
_nl260 = getTimer();
break;
case irrcrpt("HMI", 4):
_mx236._cf254 = true;
break;
};
}
override public function update():void{
var _local1:*;
switch (_ym428.state){
case _jq309._ib513:
if (_mx236._vw363() < 300){
if (_mx236._vr318()){
_mx236.state = _jq309._ol230;
_mx236._wx57(irrcrpt("XKGY_RNCAGT", 2));
} else {
_mx236.state = _jq309._ib513;
};
};
break;
case _jq309._ij502:
_local1 = (getTimer() - _nl260);
if (_local1 > 2500){
if (_mx236._vr318()){
_mx236.state = _jq309._fy77;
_mx236._wx57(irrcrpt("XMTTY_GTRG", 5));
};
_nl260 = getTimer();
};
break;
case _jq309._fy77:
break;
case _jq309._xn323:
break;
case _jq309._tp23:
break;
};
}
}
}//package com.megaman.framework
Section 12
//_jq309 (com.megaman.framework._jq309)
package com.megaman.framework {
import flash.utils.*;
import com.megaman.util.*;
import flash.geom.*;
public class _jq309 extends _rh215 {
protected var _na511:int;// = -1
public var _yd103:int;
public var _jv308:Number;
protected var _up46:_sg367;// = null
public var _jy73:Number;
public var _wp84:Number;
protected var _uq354:int;
public var _mc212:_rl119;// = null
public static const _rd361:int = 2;
public static const _xn323:int = 9;
public static const _oc432 = -1;
public static const _gf161:Number = 10;
public static const _fy77:int = 3;
public static const _ol230:int = 2;
public static const _vq463:int = 3;
public static const _tp23:int = 7;
public static const _ib513:int = 1;
public static const _ke328:int = 1;
public static const _yi303:int = 10;
public static const _dx522 = 3;
public static const _vy250:int = 4;
public static const _sl338 = 1;
public static const _br307:int = 0;
public static const _nk131:int = 8;
public static const _mk82:int = 5;
public static const _lc153 = 2;
public static const _og27:int = 4;
public static const _ij502:int = 6;
public function _jq309(_arg1:_dn360, _arg2:String, _arg3:Number, _arg4:Number, _arg5:int=0, _arg6:_rl119=null, _arg7:int=-1, _arg8:int=-1){
_na511 = _oc432;
_mc212 = null;
_up46 = null;
super(_arg1, _arg2, _arg3, _arg4, _arg8);
_na511 = _arg7;
_xe232.parentClass = this;
_mc212 = _arg6;
_uq354 = _arg5;
_up46 = new _sg367(this);
}
public function onEndAnimation(_arg1:String):void{
if (_up46){
_up46.onEndAnimation(_arg1);
};
}
protected function _aq42():void{
if (_do502 < _uu15._nd60._sv415._ww402){
_cf254 = true;
} else {
if (_do502 > _uu15._nd60._sv415._mo81){
_cf254 = true;
} else {
if (_bc493 < _uu15._nd60._sv415._qf370){
_cf254 = true;
} else {
if (_bc493 > _uu15._nd60._sv415._fc88){
_cf254 = true;
};
};
};
};
}
public function _pc149():void{
_gx100 = _tp23;
_wx57(irrcrpt("EJF", 1));
if (_mc212){
_mc212._ga186 = true;
};
}
override public function update():void{
super.update();
}
public function _ct400():void{
if (_up46){
_up46._ct400();
};
}
override public function _fj317():void{
super._fj317();
}
public function _vw363():Number{
var _local1:Number;
var _local2:Number;
var _local3:Number;
_local1 = (_uu15._nd60._ry45.x - _do502);
_local2 = (_uu15._nd60._ry45.y - _bc493);
_local3 = Math.sqrt(((_local1 * _local1) + (_local2 * _local2)));
return (_local3);
}
public function _vr318():Boolean{
return ((((x > _uu15._nd60._sv415.x)) && ((x < (_uu15._nd60._sv415.x + _uu15._nd60._sv415._ea220)))));
}
protected function _mt223():Point{
return (new Point((_xe232.parent.x + x), (_xe232.parent.y + y)));
}
}
}//package com.megaman.framework
Section 13
//_kp444 (com.megaman.framework._kp444)
package com.megaman.framework {
public class _kp444 extends _sg367 {
private var _mx236:_nm449;
private var _nl260:Number;
private var _mm469:Boolean;
public function _kp444(_arg1:_rh215){
super(_arg1);
_mx236 = _nm449(_arg1);
}
override public function update():void{
_mx236.y = (_mx236.y + _mx236._id522);
}
}
}//package com.megaman.framework
Section 14
//_la166 (com.megaman.framework._la166)
package com.megaman.framework {
public class _la166 {
public var _pe238:Array;
public var _ra60:int;
public var _hk237:Boolean;
public var _is414:Array;
public var _sh58:int;
public var _ei53:Boolean;
public var _cx201:Boolean;
public function _la166(_arg1:int, _arg2:int, _arg3:Boolean, _arg4:Array=null, _arg5:Array=null){
_ra60 = _arg1;
_sh58 = _arg2;
_cx201 = _arg3;
_is414 = _arg4;
_pe238 = _arg5;
}
}
}//package com.megaman.framework
Section 15
//_le35 (com.megaman.framework._le35)
package com.megaman.framework {
import flash.display.*;
public class _le35 {
private var _gx100:int;
private var _yd103:Number;// = 5
private var _cj430:_ox435;
private var _lu175:String;
private var _ss483:MovieClip;
public var collision:MovieClip;
public var skin:MovieClip;
public var _cf254:Boolean;
public static const _ai70:int = 3;
public static const _se147:int = 0;
public static const _or270:int = 1;
public static const _vv445:int = 2;
public static const _md26:int = 1;
public static const _ap250:int = 0;
public function _le35(_arg1:MovieClip, _arg2:_ox435){
_yd103 = 5;
super();
_ss483 = _arg1;
_cj430 = _arg2;
switch (_arg2.type){
case _le35._md26:
skin = new mcRedCar();
skin.x = _cj430.x;
skin.y = _cj430.y;
_arg1.addChild(skin);
collision = new mcCollisionCar();
collision.x = _cj430.x;
collision.y = _cj430.y;
collision.visible = false;
_arg1.mcCollision.addChild(collision);
_yd103 = 5;
break;
case _le35._ap250:
skin = new mcTaxiCar();
skin.x = _cj430.x;
skin.y = _cj430.y;
_arg1.addChild(skin);
collision = new mcCollisionTaxi();
collision.x = _cj430.x;
collision.y = _cj430.y;
collision.visible = false;
_arg1.mcCollision.addChild(collision);
_yd103 = 5;
break;
case _le35._vv445:
skin = new mcCamion();
skin.x = _cj430.x;
skin.y = _cj430.y;
_arg1.addChild(skin);
collision = new mcCollisionCamion();
collision.x = _cj430.x;
collision.y = _cj430.y;
collision.visible = false;
_arg1.mcCollision.addChild(collision);
_yd103 = 20;
break;
case _le35._ai70:
skin = new mcPlataform1();
skin.x = _cj430.x;
skin.y = _cj430.y;
_arg1.addChild(skin);
collision = new mcCollisionPlataform1();
collision.x = _cj430.x;
collision.y = _cj430.y;
collision.visible = false;
_arg1.mcCollision.addChild(collision);
_yd103 = 5;
break;
};
_gx100 = _se147;
skin.parentClass = this;
}
public function update():void{
if (!(_cf254)){
};
}
private function _wx57(_arg1):void{
if (_lu175 != _arg1){
skin.gotoAndStop(_arg1);
_lu175 = _arg1;
};
}
public function _sb215():void{
if (_gx100 != _or270){
_yd103--;
if (_yd103 < 0){
_wx57(irrcrpt("FYQMPJU", 1));
_ss483.mcCollision.removeChild(collision);
_gx100 = _or270;
_uu15.sound._im316(irrcrpt("xiJcuqtynts6", 5));
} else {
_wx57(irrcrpt("IJU", 1));
};
};
}
public function _fj317():void{
_ss483.removeChild(skin);
}
public function onEndAnimation(_arg1:String):void{
switch (_arg1){
case irrcrpt("JCUQTNY", 5):
_cf254 = true;
break;
case irrcrpt("LMX", 4):
_wx57(irrcrpt("UVCPF", 2));
break;
};
}
}
}//package com.megaman.framework
Section 16
//_lx208 (com.megaman.framework._lx208)
package com.megaman.framework {
import flash.utils.*;
import com.megaman.util.*;
import flash.filters.*;
public class _lx208 extends _jq309 {
private var _br383:Boolean;
private var _nl260:int;
public function _lx208(_arg1:_dn360, _arg2:String, _arg3:Number, _arg4:Number, _arg5:int=0, _arg6:_rl119=null, _arg7:int=-1, _arg8:int=-1){
_nl260 = getTimer();
super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8);
_na511 = _arg7;
_ao448 = new _xt142(0, 0, 0);
_jy73 = 7;
_nt117 = 120;
_yg248 = 70;
_uq354 = _arg5;
_xe232.parentClass = this;
_xe232.scaleX = -1;
_xe232.collision.visible = false;
_xe232.cacheAsBitmap = true;
_mc212 = _arg6;
switch (_arg5){
case _og27:
_up46 = new _bk464(this);
break;
};
}
override public function _pc149():void{
var _local1:_pa198;
_yd103--;
if (_yd103 > 0){
_local1 = _uu15._tq214;
_local1 = new _pa198();
_local1._uv20(0, 60, 90, 0);
_xe232.filters = [new ColorMatrixFilter(_local1)];
_br383 = true;
_nl260 = getTimer();
} else {
_gx100 = _tp23;
_wx57(irrcrpt("EJF", 1));
_jy73 = 0;
_ao448.setPosition(_jy73, _ao448._y);
if (_mc212){
_mc212._ga186 = true;
};
_uu15.sound._im316(irrcrpt("teFyqmpujpo2", 1));
_uu15._nd60._wm102(500);
};
}
override public function update():void{
var _local1:int;
if (!(_cf254)){
if (_br383){
_local1 = (getTimer() - _nl260);
if (_local1 > 200){
_xe232.filters = null;
_br383 = false;
};
};
_up46.update();
x = (x + _ao448._x);
y = (y + _ao448._y);
_aq42();
super.update();
};
}
override public function _fj317():void{
if (_mc212){
_mc212._ei53 = false;
};
super._fj317();
_up46 = null;
}
}
}//package com.megaman.framework
Section 17
//_mi458 (com.megaman.framework._mi458)
package com.megaman.framework {
import flash.display.*;
import flash.utils.*;
import flash.events.*;
import com.megaman.util.*;
import flash.ui.*;
public class _mi458 {
private var _he313:Number;
private var _eu246:Number;// = 0
private var _do502;// = 0
private var _nt117:Number;// = 0
private var _ur494:Number;
public var _td152:_dn360;// = null
public var _qt281:_dn360;// = null
private var _cr10:Number;
private var _gg190:Boolean;// = false
public var _qm491:MovieClip;// = null
private var _sn384;// = 5
private var _md205:_uy204;// = null
private var _tb84:Number;// = 0
private var _wc478:Number;// = 0
private var _ya412:int;// = 0
private var _gg91:_sf387;
private var _uk284:Array;// = null
private var _rn314:Boolean;
public var _wt255:MovieClip;// = null
public var _kl216:MovieClip;// = null
private var _ft223:int;// = 0
private var _yg248:Number;// = 0
public var _ac293:_dn360;// = null
private var _bc493;// = 0
private var _nl260:Number;// = 0
private var _kh498:Number;
public function _mi458(_arg1:_dn360, _arg2:_dn360, _arg3:_dn360, _arg4:int, _arg5:int, _arg6:_sf387){
_ac293 = null;
_qt281 = null;
_td152 = null;
_wt255 = null;
_qm491 = null;
_kl216 = null;
_ya412 = 0;
_ft223 = 0;
_yg248 = 0;
_nt117 = 0;
_wc478 = 0;
_do502 = 0;
_bc493 = 0;
_sn384 = 5;
_eu246 = 0;
_tb84 = 0;
_gg190 = false;
_nl260 = 0;
_uk284 = null;
_md205 = null;
super();
_qt281 = _arg3;
_td152 = _arg1;
_ac293 = _arg2;
_gg91 = _arg6;
_qm491 = MovieClip(_qt281.container);
_kl216 = MovieClip(_td152.container);
_wt255 = MovieClip(_ac293.container);
_ya412 = _arg4;
_ft223 = _arg5;
_yg248 = (_uu15._dm108 * _ya412);
_nt117 = (_uu15._ea220 * _ft223);
_eu246 = _uu15._ea220;
_tb84 = _nt117;
_uk284 = new Array();
_nl260 = getTimer();
_arg1.container.stage.addEventListener(KeyboardEvent.KEY_DOWN, _dq239);
_arg1.container.stage.addEventListener(KeyboardEvent.KEY_UP, _np400);
}
public function _fj317():void{
var _local1:int;
var _local2:int;
_local1 = 0;
while (_local1 < _ya412) {
_local2 = 0;
while (_local2 < _ft223) {
if (((_uk284[_local1]) && (_uk284[_local1][_local2]))){
_uk284[_local1][_local2]._fj317();
_uk284[_local1][_local2] = null;
};
_local2++;
};
_local1++;
};
_td152.container.stage.removeEventListener(KeyboardEvent.KEY_DOWN, _dq239);
_td152.container.stage.removeEventListener(KeyboardEvent.KEY_UP, _np400);
}
private function _fh36(_arg1:int, _arg2:int):void{
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:int;
_local3 = (_arg1 - 2);
_local4 = (_arg2 - 2);
_local5 = (_local3 + 5);
_local6 = (_local4 + 5);
_local7 = _local3;
while (_local7 < _local5) {
if ((((_local7 > (_ya412 - 1))) || ((_local7 < 0)))){
} else {
_local8 = _local4;
while (_local8 < _local6) {
if ((((_local8 > (_ft223 - 1))) || ((_local8 < 0)))){
} else {
if ((((((((_local7 == _local3)) || ((_local7 == (_local5 - 1))))) || ((_local8 == _local4)))) || ((_local8 == (_local6 - 1))))){
if (((_uk284[_local7]) && (_uk284[_local7][_local8]))){
_uk284[_local7][_local8]._fj317();
};
_uk284[_local7][_local8] = null;
};
};
_local8++;
};
};
_local7++;
};
}
public function get y(){
return (_bc493);
}
public function _be360():void{
if (_md205){
if (_md205._gm320._sh58 == (_uu15._nd60.numColumns - 2)){
_uu15._nd60._rs522();
} else {
_md205._ex435();
_md205 = null;
_uu15._nd60._sv415._lb140(40000000);
_uu15._nd60.ui._ea450();
};
};
}
public function get screens():Array{
return (_uk284);
}
public function get height():Number{
return (_yg248);
}
public function set y(_arg1:Number){
_bc493 = _arg1;
}
public function setPosition(_arg1:Number, _arg2:Number){
if (((!((_cr10 == _arg1))) || (!((_he313 == _arg2))))){
_kl216.x = _arg1;
_kl216.y = _arg2;
_wt255.x = _arg1;
_wt255.y = _arg2;
_cr10 = _arg1;
_he313 = _arg2;
};
}
public function _np400(_arg1:KeyboardEvent):void{
switch (_arg1.keyCode){
case Keyboard.NUMPAD_0:
_rn314 = false;
break;
};
}
public function get width():Number{
return (_nt117);
}
public function update():void{
var _local1:int;
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:int;
_local1 = _gg91._ow83;
_local2 = _gg91._eq316;
if (((!((_kh498 == _local2))) || (!((_ur494 == _local1))))){
_jy66(_local2, _local1);
_fh36(_local2, _local1);
_kh498 = _local2;
_ur494 = _local1;
};
_local3 = (_local2 - 1);
_local4 = (_local1 - 1);
_local5 = (_local3 + 3);
_local6 = (_local4 + 3);
_local7 = _local3;
while (_local7 < _local5) {
if ((((_local7 > (_ya412 - 1))) || ((_local7 < 0)))){
} else {
_local8 = _local4;
while (_local8 < _local6) {
if ((((_local8 > (_ft223 - 1))) || ((_local8 < 0)))){
} else {
if (((_uk284[_local7]) && (_uk284[_local7][_local8]))){
_uk284[_local7][_local8].update();
};
};
_local8++;
};
};
_local7++;
};
if (_md205 == null){
if (_uk284[_local2][_local1].state == _uy204._bs453){
_md205 = _uk284[_local2][_local1];
_uu15._nd60._sv415._lb140((_md205.x + (_uu15._ea220 * 0.3)));
};
};
}
private function _jy66(_arg1:int, _arg2:int):void{
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:int;
_local3 = (_arg1 - 1);
_local4 = (_arg2 - 1);
_local5 = (_local3 + 3);
_local6 = (_local4 + 3);
_local7 = _local3;
while (_local7 < _local5) {
if (_uk284[_local7] == null){
_uk284[_local7] = new Array();
};
if ((((_local7 > (_ya412 - 1))) || ((_local7 < 0)))){
} else {
_local8 = _local4;
while (_local8 < _local6) {
if ((((_local8 > (_ft223 - 1))) || ((_local8 < 0)))){
} else {
if (_uk284[_local7][_local8] == null){
_uk284[_local7][_local8] = new _uy204(_td152, (((irrcrpt("rhXhwjjs6_", 5) + _local7) + "_") + _local8), (_uu15._ea220 * _local8), (_uu15._ea220 * _local7), _uu15._nd60._aj292[_local7][_local8]);
};
};
_local8++;
};
};
_local7++;
};
}
public function _dq239(_arg1:KeyboardEvent):void{
switch (_arg1.keyCode){
case Keyboard.NUMPAD_0:
if (!(_rn314)){
_rn314 = true;
};
break;
};
}
public function set x(_arg1:Number){
_do502 = _arg1;
}
public function get x(){
return (_do502);
}
public function get _rr328():_uy204{
return (_md205);
}
}
}//package com.megaman.framework
Section 18
//_mx416 (com.megaman.framework._mx416)
package com.megaman.framework {
import flash.utils.*;
import flash.display.*;
public class _mx416 {
private var _xe232:MovieClip;
private var _ps266:MovieClip;
public function _mx416(_arg1:MovieClip, _arg2:String){
var _local3:Class;
super();
_ps266 = _arg1;
_local3 = (getDefinitionByName(_arg2) as Class);
_xe232 = new (_local3);
_xe232.x = 0;
_xe232.y = 0;
_arg1.addChild(_xe232);
_xe232.parentClass = this;
}
public function _go257(_arg1:String):void{
_xe232.txtLog.text = (((_xe232.txtLog.text + " ") + _arg1) + irrcrpt("\n", 3));
}
public function setTime(_arg1:int):void{
var _local2:*;
var _local3:*;
}
public function _be144(_arg1:String):void{
}
public function _lo499():void{
_xe232.mcTextGo.visible = false;
_xe232.mcTextGo.gotoAndStop(irrcrpt("OPOF", 1));
}
public function _ea450():void{
_xe232.mcTextGo.visible = true;
_xe232.mcTextGo.gotoAndStop(irrcrpt("XYFSI", 5));
}
public function _sh45(_arg1:Number):void{
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
_local2 = int((_arg1 / 10000));
_arg1 = (_arg1 % 10000);
_local3 = int((_arg1 / 1000));
_arg1 = (_arg1 % 1000);
_local4 = int((_arg1 / 100));
_arg1 = (_arg1 % 100);
_local5 = int((_arg1 / 10));
_local6 = (_arg1 % 10);
_xe232.mcScoreU.gotoAndStop((("N" + _local6) + ""));
_xe232.mcScoreD.gotoAndStop((("N" + _local5) + ""));
_xe232.mcScoreC.gotoAndStop((("N" + _local4) + ""));
_xe232.mcScoreM.gotoAndStop((("N" + _local3) + ""));
_xe232.mcScoreMl.gotoAndStop((("N" + _local2) + ""));
}
public function _gy64(_arg1:Number):void{
_xe232.mcLife.gotoAndStop((("N" + _arg1) + ""));
}
public function _fj317():void{
_ps266.removeChild(_xe232);
}
}
}//package com.megaman.framework
Section 19
//_nm449 (com.megaman.framework._nm449)
package com.megaman.framework {
import flash.geom.*;
import com.megaman.util.*;
public class _nm449 extends _rh215 {
public var _uf442:Number;
public var _wk81:Number;
public var _id522:Number;
protected var _up46:_sg367;// = null
public var _nx267:Number;
public var _ot421:Number;
private var _uq354:int;
public static const _ke328:int = 2;
public static const _wp271:int = 1;
public static const _or270:int = 2;
public static const _br307:int = 1;
public static const _og27:int = 3;
public function _nm449(_arg1:_dn360, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:int, _arg8:int=5, _arg9:int=-1){
_up46 = null;
super(_arg1, _arg2, _arg3, _arg4);
_ot421 = _arg3;
_uf442 = _arg4;
_wk81 = _arg5;
_nx267 = _arg6;
_id522 = _arg8;
switch (_arg7){
case _br307:
_up46 = new _ap80(this);
break;
case _ke328:
_up46 = new _nx116(this);
break;
case _og27:
_up46 = new _kp444(this);
break;
};
_uq354 = _arg7;
_gx100 = _wp271;
_xe232.parentClass = this;
_xe232.collision.visible = false;
}
public function onEndAnimation(_arg1:String):void{
switch (_arg1){
case irrcrpt("HASORLW", 3):
_cf254 = true;
break;
};
}
override public function update():void{
if (!(_cf254)){
switch (_gx100){
case _wp271:
_up46.update();
_py423();
break;
case _or270:
break;
};
super.update();
};
}
private function _py423():void{
var _local1:*;
var _local2:*;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:Point;
var _local8:int;
var _local9:int;
var _local10:_uy204;
var _local11:int;
var _local12:int;
var _local13:_le35;
if (_xe232.collision.hitTestObject(_uu15._nd60._ry45._kp217.collision)){
if (!(_uu15._nd60._ry45._px392)){
_gx100 = _or270;
_wx57(irrcrpt("GZRNQKV", 2));
if (_uq354 == _br307){
_uu15._nd60._ry45._pc149(2);
} else {
if (_uq354 == _og27){
_uu15.sound._im316(irrcrpt("vgHasorwlrq4", 3));
_uu15._nd60._ry45._pc149(2);
} else {
_uu15.sound._im316(irrcrpt("vgFrooExoohw", 3));
_uu15._nd60._ry45._pc149(1);
};
};
};
} else {
_local1 = _uu15._nd60._ry45._eq316;
_local2 = _uu15._nd60._ry45._ow83;
_local3 = (_local1 - 1);
_local4 = (_local2 - 1);
_local5 = (_local3 + 3);
_local6 = (_local4 + 3);
_local7 = _mt223();
_local7 = _mt223();
_local8 = _local3;
while (_local8 < _local5) {
if ((((_local8 > (_uu15._nd60.numRows - 1))) || ((_local8 < 0)))){
} else {
_local9 = _local4;
while (_local9 < _local6) {
if ((((_local9 > (_uu15._nd60.numColumns - 1))) || ((_local9 < 0)))){
} else {
if (((_uu15._nd60._gj409.screens[_local8]) && (_uu15._nd60._gj409.screens[_local8][_local9]))){
_local10 = _uu15._nd60._gj409.screens[_local8][_local9];
_local11 = _local10._pe238.length;
_local12 = 0;
_local12 = 0;
while (_local12 < _local11) {
_local13 = _local10._pe238[_local12];
if (!(_local13._cf254)){
if (_local13.collision.hitTestPoint(_local7.x, _local7.y, true)){
break;
};
};
_local12++;
};
if (_local12 == _local11){
if (_local10._kp217.mcCollision.hitTestPoint(_local7.x, _local7.y, true)){
_gx100 = _or270;
_wx57(irrcrpt("IBTPSMX", 4));
switch (_uq354){
case _ke328:
_uu15.sound._im316(irrcrpt("vgFrooExoohw", 3));
break;
case _og27:
_uu15.sound._im316(irrcrpt("vgHasorwlrq4", 3));
break;
};
};
};
};
};
_local9++;
};
};
_local8++;
};
if (_do502 < _uu15._nd60._sv415._ww402){
_cf254 = true;
} else {
if (_do502 > _uu15._nd60._sv415._mo81){
_cf254 = true;
} else {
if (_bc493 < _uu15._nd60._sv415._qf370){
_cf254 = true;
} else {
if (_bc493 > _uu15._nd60._sv415._fc88){
_cf254 = true;
};
};
};
};
};
}
override public function _fj317():void{
super._fj317();
}
private function _mt223():Point{
return (new Point((_xe232.parent.x + x), (_xe232.parent.y + y)));
}
}
}//package com.megaman.framework
Section 20
//_nx116 (com.megaman.framework._nx116)
package com.megaman.framework {
public class _nx116 extends _sg367 {
private var _mx236:_nm449;
private var _nl260:Number;
private var _mm469:Boolean;
public function _nx116(_arg1:_rh215){
super(_arg1);
_mx236 = _nm449(_arg1);
if (_mx236._id522 > 0){
_mx236._kp217.scaleX = -1;
};
}
override public function update():void{
_mx236.x = (_mx236.x + _mx236._id522);
}
}
}//package com.megaman.framework
Section 21
//_ox435 (com.megaman.framework._ox435)
package com.megaman.framework {
public class _ox435 {
public var _ra60:int;
public var x:Number;
public var y:Number;
public var type:Number;
public var _sh58:int;
public function _ox435(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=1){
_ra60 = _arg1;
_sh58 = _arg2;
x = _arg3;
y = _arg4;
type = _arg5;
}
}
}//package com.megaman.framework
Section 22
//_pg203 (com.megaman.framework._pg203)
package com.megaman.framework {
import flash.geom.*;
import flash.utils.*;
public class _pg203 {
private var _ew420:Point;
private var _do502:Number;
private var _ba369:Number;
public var _qf370:Number;
private var _tp429:_mi458;
private var _jq25:_rh215;
public var _nr142:Number;
private var _cr10:Number;// = 0
private var _bt201:Number;// = 1
private var _kp248:Number;
public var _id82:Number;
private var _eq18:Number;
private var _fy381:Boolean;
private var _iq264:Number;
private var _xy382:Number;
private var _uy102:Number;
private var _nm189:_rh215;
public var _fc88:Number;
private var _sl457:Number;
private var _ao492:Number;
private var _gx100;// = 1
public var _ww402:Number;
private var _bc493:Number;
private var _sb82:Number;
private var _nl260:Number;
public var _is254:Number;
private var _hb54:Number;// = 4
private var _he313:Number;// = 0
public var _mo81:Number;
public static const _bs453:uint = 3;
public static const _fl131:uint = 1;
public static const _xn323:uint = 2;
public function _pg203(_arg1:_mi458, _arg2:_rh215){
_gx100 = _fl131;
_he313 = 0;
_cr10 = 0;
_hb54 = 4;
_bt201 = 1;
super();
_tp429 = _arg1;
_nm189 = _arg2;
_eq18 = 400;
_sl457 = 560;
_ew420 = new Point(300, 200);
_ba369 = 0;
_xy382 = 0;
_sb82 = _arg1.width;
_uy102 = _arg1.height;
_jq25 = new _rh215(_arg1._ac293, irrcrpt("oeEcogtcOcp", 2), 0, 0);
_jq25._kp217.visible = false;
_nr142 = 40000000;
_nl260 = getTimer();
}
public function get y():Number{
return (_bc493);
}
private function _jy462(_arg1:Number):Number{
return (((_arg1)>=0) ? 1 : -1);
}
public function update():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:_xt142;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:*;
var _local9:*;
var _local10:*;
switch (_gx100){
case _fl131:
_local1 = (_nm189.x - _jq25.x);
_local2 = (_nm189.y - _jq25.y);
_local3 = Math.atan2(_local2, _local1);
_local4 = new _xt142(_local1, _local2, 0);
_local5 = _local4._se401();
_local4.normalize();
_local4.scale(_hb54);
_local6 = _local4._x;
_local7 = _local4._y;
if ((((_local5 > 0.5)) || ((_local5 < -0.5)))){
_local10 = (_local5 * (_hb54 / 100));
_local8 = Number(((_local1 / _local5) * _local10));
_local9 = Number(((_local2 / _local5) * _local10));
_local6 = _local8;
_local7 = _local9;
};
_jq25.x = (_jq25.x + _local6);
_jq25.y = (_jq25.y + _local7);
if ((((((_local1 > -(_bt201))) && ((_local1 < _bt201)))) && ((((_local2 > -(_bt201))) && ((_local2 < _bt201)))))){
_jq25.x = int(_nm189.x);
_jq25.y = int(_nm189.y);
};
if (_jq25.x > _nr142){
_jq25.x = _nr142;
_is254 = Math.floor((_bc493 / _uu15._dm108));
_id82 = Math.floor((_do502 / _uu15._ea220));
_gx100 = _bs453;
_dm499();
};
if (_jq25.x < _cr10){
_jq25.x = _cr10;
};
_cr10 = _jq25.x;
_jq25.update();
_do502 = (_jq25.x - (_sl457 * 0.3));
_bc493 = (_jq25.y - (_eq18 * 0.5));
if (_bc493 < _ba369){
_bc493 = _ba369;
} else {
if ((_bc493 + _eq18) > _uy102){
_bc493 = (_uy102 - _eq18);
};
};
if (_do502 < _xy382){
_do502 = 0;
} else {
if ((_do502 + _sl457) > _sb82){
_do502 = (_sb82 - _sl457);
};
};
_tp429.setPosition((_tp429.x - int(_do502)), (_tp429.y - int(_bc493)));
break;
case _bs453:
break;
};
_fc88 = (_bc493 + (_dm108 * 1));
_qf370 = (_bc493 - (_dm108 * 1));
_ww402 = (_do502 - (_ea220 * 2));
_mo81 = (_do502 + (_ea220 * 3));
}
public function get state():uint{
return (_gx100);
}
private function _dm499():void{
_uu15._nd60._ti364._dm499();
}
public function _lb140(_arg1:Number):void{
_nr142 = _arg1;
_gx100 = _fl131;
}
public function set target(_arg1:_rh215):void{
_nm189 = _arg1;
}
public function get _dm108():Number{
return (_eq18);
}
public function get _ea220():Number{
return (_sl457);
}
public function _fj317():void{
_jq25._fj317();
_jq25 = null;
}
public function get x():Number{
return (_do502);
}
}
}//package com.megaman.framework
Section 23
//_rh215 (com.megaman.framework._rh215)
package com.megaman.framework {
import flash.display.*;
import flash.utils.*;
import com.megaman.util.*;
public class _rh215 {
protected var _xe232:MovieClip;// = null
protected var _ao448:_xt142;
protected var _do502:Number;// = 0
protected var _nt117:Number;// = 0
protected var _gx100:int;// = 0
public var _gs135:_dn360;// = null
protected var _yg248:Number;// = 0
protected var _bc493:Number;// = 0
public var _cf254:Boolean;
protected var _lu175:String;
public function _rh215(_arg1:_dn360, _arg2:String, _arg3:Number, _arg4:Number, _arg5:int=-1){
var _local6:Class;
_xe232 = null;
_gs135 = null;
_bc493 = 0;
_do502 = 0;
_nt117 = 0;
_yg248 = 0;
_gx100 = 0;
super();
_gs135 = _arg1;
_local6 = (getDefinitionByName(_arg2) as Class);
_xe232 = new (_local6);
if (_arg5 == -1){
_gs135.addChild(_xe232);
} else {
_gs135.addChildAt(_xe232, _arg5);
};
_xe232.x = _arg3;
_xe232.y = _arg4;
_do502 = _arg3;
_bc493 = _arg4;
_nt117 = _xe232.width;
_yg248 = _xe232.height;
_xe232.gotoAndStop(1);
}
public function get width():Number{
return (_nt117);
}
public function update():void{
_xe232.y = _bc493;
_xe232.x = _do502;
}
public function get state():int{
return (_gx100);
}
public function get _kp217():MovieClip{
return (_xe232);
}
public function get _yq167():_xt142{
return (_ao448);
}
public function _fj317():void{
_gs135.removeChild(_xe232);
_xe232 = null;
}
public function set state(_arg1:int):void{
_gx100 = _arg1;
}
public function get height():Number{
return (_yg248);
}
public function set x(_arg1:Number){
_do502 = _arg1;
}
public function set y(_arg1:Number){
_bc493 = _arg1;
}
public function get x():Number{
return (_do502);
}
public function get y():Number{
return (_bc493);
}
public function _wx57(_arg1:String):void{
if (_arg1 != _lu175){
_lu175 = _arg1;
_xe232.gotoAndStop(_arg1);
};
}
public function set _yq167(_arg1:_xt142):void{
_ao448 = _arg1;
}
}
}//package com.megaman.framework
Section 24
//_rl119 (com.megaman.framework._rl119)
package com.megaman.framework {
public class _rl119 {
public var _wr109:Boolean;
public var _ei53:Boolean;
public var _ra60:int;
public var _ga186:Boolean;
public var x:Number;
public var y:Number;
public var type:int;
public var _sh58:int;
public function _rl119(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:int=0){
_ra60 = _arg1;
_sh58 = _arg2;
x = _arg3;
y = _arg4;
type = _arg5;
}
}
}//package com.megaman.framework
Section 25
//_sf387 (com.megaman.framework._sf387)
package com.megaman.framework {
import flash.utils.*;
import flash.ui.*;
import com.megaman.util.*;
import flash.events.*;
import flash.display.*;
import flash.geom.*;
public class _sf387 extends _rh215 {
private var _rm484:Boolean;
private var _yd103:Number;// = 6
private var _bx39:String;
private var _tg267:Boolean;
private var _qk65:Boolean;
public var _il82:Boolean;
private var _ia373:Boolean;
private var _bo445:Boolean;
private var _jy73:Number;
private var _ch454:Boolean;
private var _be306:Boolean;
private var _qr118:Number;
private var _qg367:Boolean;
private var _kx186:Boolean;
private var _wu508:String;
private var _ht465:Boolean;
public var _eq316:Number;
private var _fl468:Boolean;
private var _wp84:Number;
private var _jt348:Boolean;
private var _tb283:Boolean;
public var _na511:Number;// = 1
public var _px392:Boolean;
private var _og80:Boolean;
private var _jv308:Number;
private var _me253:Boolean;
private var _cx419:Boolean;
private var _ac485:Boolean;
public var _ow83:Number;
private var _oj390:Boolean;
private var _ut16:Boolean;
private var _is411:Boolean;
private var _nl260:Number;
private var _jl381:Boolean;
public static const _oc432 = -1;
public static const _lc153 = 2;
public static const _dx522 = 3;
private static const _gf161:Number = 10;
public static const _sl338 = 1;
public function _sf387(_arg1:_dn360, _arg2:Number, _arg3:Number){
_na511 = _sl338;
_yd103 = 6;
super(_arg1, irrcrpt("rhUqfdjw", 5), _arg2, _arg3, _uu15._yc503);
_nt117 = 30;
_yg248 = 40;
_ao448 = new _xt142(0, 0, 0);
_wp84 = 1.2;
_jv308 = 16;
_jy73 = 6;
_rm484 = true;
_xe232.collision.visible = false;
_xe232.parentClass = this;
_gs135.container.stage.addEventListener(KeyboardEvent.KEY_DOWN, _dq239);
_gs135.container.stage.addEventListener(KeyboardEvent.KEY_UP, _np400);
_nl260 = getTimer();
_il82 = true;
}
private function _vn219():void{
var _local1:_hg463;
if (!(_ut16)){
_ut16 = true;
_uu15.sound._im316(irrcrpt("whFivixe7", 4));
_local1 = new _hg463(_gs135, irrcrpt("ndCvmmfu", 1), _do502, (_kx186) ? _bc493 : (_bc493 - 19), _na511);
_uu15._nd60._ao154(_local1);
if ((((_na511 == _oc432)) || ((_na511 == _sl338)))){
if (((((_kx186) && (!(_me253)))) && (_ia373))){
_cg361(irrcrpt("VKRRW_GXFN_SLVWRO", 3));
} else {
_cg361(irrcrpt("VKRRW_SLVWRO", 3));
};
} else {
if (_na511 == _lc153){
_cg361(irrcrpt("VKRRW_ORRN_GRZQ_SLVWRO", 3));
} else {
if (_na511 == _dx522){
_cg361(irrcrpt("TIPPU_MPPL_VQ_QJTUPM", 1));
};
};
};
};
}
public function _np400(_arg1:KeyboardEvent):void{
if (!(_px392)){
if (_arg1.keyCode == 88){
_is411 = false;
} else {
if (_arg1.keyCode == 90){
_qg367 = false;
};
};
};
}
private function _cg361(_arg1:String):void{
_xe232.body.gotoAndStop(_arg1);
_bx39 = _arg1;
}
override public function _fj317():void{
_gs135.container.stage.removeEventListener(KeyboardEvent.KEY_DOWN, _dq239);
_gs135.container.stage.removeEventListener(KeyboardEvent.KEY_UP, _np400);
super._fj317();
}
public function _dq239(_arg1:KeyboardEvent):void{
if (!(_px392)){
if (_arg1.keyCode == 88){
if (!(_is411)){
_is411 = true;
_my478();
};
} else {
if (_arg1.keyCode == 90){
if (!(_qg367)){
_qg367 = true;
_vn219();
};
};
};
};
}
public function onEndAnimation(_arg1:String):void{
switch (_arg1){
case irrcrpt("UNXYTQ", 5):
_ut16 = false;
break;
case irrcrpt("LV_UHDGB_VKRRW", 3):
_fl468 = true;
break;
case irrcrpt("EJF", 1):
_px392 = false;
_xe232.collision.scaleY = 1;
_xe232.collision.y = -20;
_kx186 = false;
_me253 = false;
_rm484 = true;
_og80 = false;
_ut16 = false;
_fl468 = false;
_be306 = false;
_ch454 = false;
_oj390 = false;
_ht465 = false;
_jl381 = false;
_ia373 = false;
_jy73 = 5;
_il82 = true;
_nl260 = getTimer();
_bc493 = 20;
break;
};
}
private function _bu215(_arg1:String):void{
if (_arg1 != _wu508){
_xe232.foot.gotoAndStop(_arg1);
_wu508 = _arg1;
};
}
public function _pc149(_arg1:int=1):void{
if (!(_il82)){
_tg267 = false;
_bo445 = false;
_is411 = false;
_ac485 = false;
_qg367 = false;
_cx419 = false;
_px392 = true;
if (_arg1 == 1){
_uu15.sound._im316(irrcrpt("teEfbeQmbzfs", 1));
_cg361(irrcrpt("HMI", 4));
} else {
_uu15.sound._im316(irrcrpt("xiIjfiUqfdjw7", 5));
_cg361(irrcrpt("FKG_HKTG", 2));
};
_bu215(irrcrpt("OPOF", 1));
_uu15._nd60._ir97(-1);
};
}
private function _nq410(_arg1:String):void{
if (_arg1 != _bx39){
_xe232.body.gotoAndStop(_arg1);
_bx39 = _arg1;
};
}
override public function update():void{
var _local1:int;
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:Number;
var _local7:String;
var _local8:String;
var _local9:int;
var _local10:MovieClip;
var _local11:Point;
_lo377.init(_uu15._nd60._na330.container.stage);
_og80 = false;
_qk65 = false;
if (_xe232.scaleX == 1){
_na511 = _sl338;
} else {
_na511 = _oc432;
};
if (_il82){
_local6 = (getTimer() - _nl260);
_xe232.alpha = (_jt348) ? 0.2 : 1;
_jt348 = !(_jt348);
if (_local6 > 4000){
_il82 = false;
_jt348 = false;
_xe232.alpha = 1;
};
};
if (((!(_me253)) && (!(_rm484)))){
_ao448.setPosition(0, _ao448._y);
};
_ao448._lg282(0, _wp84);
if (!(_px392)){
if (_lo377._qp122(Keyboard.RIGHT)){
if (((_kx186) && (_ut16))){
} else {
_ao448.setPosition(_jy73, _ao448._y);
_og80 = true;
};
_xe232.scaleX = 1;
_na511 = _sl338;
};
if (_lo377._qp122(Keyboard.LEFT)){
if (((_kx186) && (_ut16))){
} else {
_ao448.setPosition(-(_jy73), _ao448._y);
_og80 = true;
};
_xe232.scaleX = -1;
_na511 = _oc432;
};
if (_lo377._qp122(Keyboard.DOWN)){
if (((!(_me253)) && (_be306))){
_xe232.collision.scaleY = 0.5;
_xe232.collision.y = 1;
_kx186 = true;
_jy73 = 2;
if (_xe232.scaleX != 1){
_na511 = _oc432;
} else {
_na511 = _sl338;
};
} else {
_na511 = _lc153;
_kx186 = false;
};
} else {
if (((!(_me253)) && (_be306))){
_xe232.collision.scaleY = 1;
_xe232.collision.y = -20;
_kx186 = false;
_jy73 = 5;
if (_xe232.scaleX != 1){
_na511 = _oc432;
} else {
_na511 = _sl338;
};
};
};
if (_lo377._qp122(Keyboard.UP)){
_na511 = _dx522;
};
};
if (_ao448._y >= 0){
_me253 = false;
_rm484 = true;
};
_ao448.setPosition(_ao448._x, Math.min(_ao448._y, _gf161));
x = (x + _ao448._x);
y = (y + _ao448._y);
if (!(_px392)){
_local7 = irrcrpt("WXERH", 4);
_local8 = irrcrpt("XYFSI", 5);
if (_og80){
if (((_kx186) && (!(_me253)))){
if (!(_ut16)){
_local7 = irrcrpt("HYGO_VYR", 4);
_local8 = irrcrpt("PQPG", 2);
};
} else {
if (((!(_me253)) && (_be306))){
_local7 = irrcrpt("WXERH", 4);
_local8 = irrcrpt("UXQ", 3);
};
};
};
if (_kx186){
if (((!(_me253)) && (!(_og80)))){
if (!(_ut16)){
_local7 = irrcrpt("GXFN_VWDQG", 3);
_local8 = irrcrpt("STSJ", 5);
};
};
};
if (_me253){
_local7 = irrcrpt("MXPS_VWDQG", 3);
_local8 = irrcrpt("MXPS_VWDQG", 3);
};
if (((((((_rm484) && (!(_be306)))) || (((((_rm484) && (_jl381))) && (!(_ia373)))))) || (((((((_rm484) && (!(_jl381)))) && (!(_ia373)))) && (!(_ch454)))))){
_local7 = irrcrpt("KFQQNSL_XYFSI", 5);
_local8 = irrcrpt("JEPPMRK_WXERH", 4);
_qk65 = true;
};
if (_na511 == _lc153){
_local7 = irrcrpt("VWDQG_GRZQ_ORRN", 3);
} else {
if (_na511 == _dx522){
_local7 = irrcrpt("UVCPF_WR_NQQM", 2);
};
};
if (((_kx186) && ((_na511 == _dx522)))){
if (_xe232.scaleX != 1){
_na511 = _oc432;
} else {
_na511 = _sl338;
};
if (!(_ut16)){
_local7 = irrcrpt("HYGO_WXERH", 4);
_local8 = irrcrpt("RSRI", 4);
};
};
if (((((_og80) && (_ut16))) && ((_bx39 == irrcrpt("TIPPU_EVDL_QJTUPM", 1))))){
_nq410(_local7);
_bu215(_local8);
_ut16 = false;
} else {
if (!(_ut16)){
_nq410(_local7);
};
_bu215(_local8);
};
};
_be306 = false;
_ch454 = false;
_oj390 = false;
_ht465 = false;
_jl381 = false;
_ia373 = false;
_eq316 = Math.floor((_bc493 / _uu15._dm108));
_ow83 = Math.floor((_do502 / _uu15._ea220));
_local1 = (_eq316 - 1);
_local2 = (_ow83 - 1);
_local3 = (_local1 + 3);
_local4 = (_local2 + 3);
_local5 = _local1;
while (_local5 < _local3) {
if ((((_local5 > (_uu15._nd60.numRows - 1))) || ((_local5 < 0)))){
} else {
_local9 = _local2;
while (_local9 < _local4) {
if ((((_local9 > (_uu15._nd60.numColumns - 1))) || ((_local9 < 0)))){
} else {
if (((_uu15._nd60._gj409.screens[_local5]) && (_uu15._nd60._gj409.screens[_local5][_local9]))){
_local10 = _uu15._nd60._gj409.screens[_local5][_local9]._kp217.mcCollision;
_local11 = _mt223();
if (_local10.hitTestPoint((_local11.x + (_nt117 * 0.2)), (_local11.y + 5), true)){
if (!(_local10.hitTestPoint(_local11.x, (_local11.y + 5), true))){
while (_local10.hitTestPoint((_local11.x + (_nt117 * 0.2)), (_local11.y + 5), true)) {
x = (x - 0.02);
_local11.x = (_local11.x - 0.02);
};
_jl381 = true;
};
_oj390 = true;
};
_local11 = _mt223();
if (_local10.hitTestPoint((_local11.x - (_nt117 * 0.2)), (_local11.y + 5), true)){
if (!(_local10.hitTestPoint(_local11.x, (_local11.y + 5), true))){
while (_local10.hitTestPoint((_local11.x - (_nt117 * 0.2)), (_local11.y + 5), true)) {
x = (x + 0.02);
_local11.x = (_local11.x + 0.02);
};
_jl381 = true;
};
_oj390 = true;
};
_local11 = _mt223();
if (((_local10.hitTestPoint(_local11.x, (_local11.y + (_yg248 * 0.5)), true)) && (!(_me253)))){
while (_local10.hitTestPoint(_local11.x, (_local11.y + (_yg248 * 0.5)), true)) {
y = (y - 0.2);
_local11.y = (_local11.y - 0.2);
};
_ao448.setPosition(_ao448._x, 0);
_me253 = false;
_rm484 = false;
_be306 = true;
_ia373 = true;
};
if (((((_local10.hitTestPoint((_local11.x + 13), (_local11.y + (_yg248 * 0.5)), true)) || (_local10.hitTestPoint((_local11.x - 13), (_local11.y + (_yg248 * 0.5)), true)))) && (!(_me253)))){
_me253 = false;
_rm484 = false;
_be306 = true;
_ht465 = true;
};
_local11 = _mt223();
if (_local10.hitTestPoint(_local11.x, (_local11.y + (_yg248 * 0.7)), true)){
_ch454 = true;
};
};
};
_local9++;
};
};
_local5++;
};
if (x < (_uu15._nd60._sv415.x + (_nt117 * 0.5))){
x = (_uu15._nd60._sv415.x + (_nt117 * 0.5));
};
if (x > ((_uu15._nd60._sv415.x + _uu15._nd60._sv415._ea220) - (_nt117 * 0.5))){
x = ((_uu15._nd60._sv415.x + _uu15._nd60._sv415._ea220) - (_nt117 * 0.5));
};
super.update();
}
private function _my478():void{
if (((((_be306) && ((_ao448._y >= 0)))) && ((_ao448._y <= 2.5)))){
_me253 = true;
_ao448.setPosition(_ao448._x, (_ao448._y - _jv308));
};
}
private function _mt223():Point{
return (new Point((_xe232.parent.x + x), (_xe232.parent.y + y)));
}
}
}//package com.megaman.framework
Section 26
//_sg367 (com.megaman.framework._sg367)
package com.megaman.framework {
public class _sg367 {
protected var _ym428:_rh215;
public function _sg367(_arg1:_rh215){
_ym428 = _arg1;
}
public function _ct400():void{
}
public function onEndAnimation(_arg1:String):void{
}
public function update():void{
}
}
}//package com.megaman.framework
Section 27
//_uu15 (com.megaman.framework._uu15)
package com.megaman.framework {
import flash.display.*;
import com.megaman.util.*;
public class _uu15 {
public static var _xk453:MovieClip = null;
public static var _xa244:int = 30000;
public static var _gw288:Number = 0;
public static var _dm108:Number = 400;
public static var _ea220:Number = 560;
public static var _nd60:_iv173 = null;
public static var _lk145:int = 9999;
public static var _pc420:Number = 6;
public static var _ti305:int = 10000;
public static var _ti464:int = 20000;
public static var _es355:int = 1000;
public static var sound:_qk241 = null;
public static var _cp262:_rn362 = null;
public static var _yc503:int = 10000;
public static var _fe259:Boolean = false;
public static var _tq214:_pa198 = null;
public static function random(_arg1:int, _arg2:int):int{
return ((_arg1 + (Math.random() * ((_arg2 - _arg1) + 1))));
}
}
}//package com.megaman.framework
Section 28
//_uy204 (com.megaman.framework._uy204)
package com.megaman.framework {
import com.megaman.util.*;
public class _uy204 extends _rh215 {
private var _pa49:Boolean;
private var _uv143:_la166;
private var _yt459:Array;
private var _ai191:Boolean;// = true
public static var _bs453:uint = 0;
public static var _yo31:uint = 2;
public static var _mv105:uint = 1;
public function _uy204(_arg1:_dn360, _arg2:String, _arg3:Number, _arg4:Number, _arg5:_la166){
var _local6:int;
var _local7:int;
var _local8:_ox435;
_ai191 = true;
super(_arg1, _arg2, _arg3, _arg4);
_xe232.mcCollision.visible = false;
_uv143 = _arg5;
_uv143._ei53 = true;
_pa49 = _arg5._cx201;
_gx100 = (_pa49) ? _bs453 : _yo31;
_yt459 = new Array();
if (_arg5._pe238){
_local6 = 0;
_local7 = _uv143._pe238.length;
_local6 = 0;
while (_local6 < _local7) {
_local8 = _uv143._pe238[_local6];
_yt459.push(new _le35(_xe232, _local8));
_local6++;
};
};
}
public function get _pe238():Array{
return (_yt459);
}
public function _ex435():void{
_gx100 = _yo31;
_uv143._cx201 = false;
}
public function get _gm320():_la166{
return (_uv143);
}
public function _hk237():Boolean{
return (_ai191);
}
override public function update():void{
var _local1:int;
var _local2:int;
var _local3:_rl119;
if (_uv143._is414 != null){
_local1 = 0;
_local2 = _uv143._is414.length;
_local1 = 0;
while (_local1 < _local2) {
_local3 = _uv143._is414[_local1];
if (((!(_local3._ei53)) && (!(_local3._ga186)))){
_wv438(_local3);
_local3._ei53 = true;
};
_local1++;
};
};
if (_yt459){
_local1 = 0;
_local2 = _yt459.length;
_local1 = 0;
while (_local1 < _local2) {
if (!(_yt459[_local1]._cf254)){
_yt459[_local1].update();
} else {
_yt459[_local1]._fj317();
_yt459[_local1] = null;
_yt459.splice(_local1, 1);
_local1--;
_local2--;
};
_local1++;
};
};
}
override public function _fj317():void{
var _local1:int;
var _local2:int;
var _local3:_jq309;
if (_yt459){
_local1 = 0;
_local2 = _yt459.length;
_local1 = 0;
while (_local1 < _local2) {
_yt459[_local1]._fj317();
_local1++;
};
};
_local1 = 0;
if (_uu15._nd60){
if (_uu15._nd60._is414){
_local2 = _uu15._nd60._is414.length;
_local1 = 0;
while (_local1 < _local2) {
_local3 = _uu15._nd60._is414[_local1];
if (_local3){
if ((((_local3._mc212._ra60 == _uv143._ra60)) && ((_local3._mc212._sh58 == _uv143._sh58)))){
if ((((((((_local3.x >= x)) && ((_local3.x <= (x + _uu15._ea220))))) && ((_local3.y >= y)))) && ((_local3.y <= (y + _uu15._dm108))))){
_local3._cf254 = true;
};
};
};
_local1++;
};
};
};
super._fj317();
}
private function _wv438(_arg1:_rl119):void{
var _local2:String;
var _local3:_jq309;
switch (_arg1.type){
case _jq309._rd361:
case _jq309._br307:
_local2 = irrcrpt("ndFofnzTpmejfs", 1);
_local3 = new _iq290(_uu15._nd60._gj409._ac293, _local2, (_do502 + _arg1.x), (_bc493 + _arg1.y), _arg1.type, _arg1, _jq309._oc432, _iv173._dt248());
_arg1._ei53 = true;
_uu15._nd60._vv84(_local3);
break;
case _jq309._ke328:
_local2 = irrcrpt("pfHqhpbVkrrwhu", 3);
_local3 = new _iq290(_uu15._nd60._gj409._ac293, _local2, (_do502 + _arg1.x), (_bc493 + _arg1.y), _arg1.type, _arg1, _jq309._oc432, _iv173._dt248());
_arg1._ei53 = true;
_uu15._nd60._vv84(_local3);
break;
case _jq309._vq463:
_local2 = irrcrpt("rhGfyqjYwzsp", 5);
_local3 = new _iq290(_uu15._nd60._gj409._ac293, _local2, (_do502 + _arg1.x), (_bc493 + _arg1.y), _arg1.type, _arg1, _jq309._oc432, _iv173._dt248());
_arg1._ei53 = true;
_uu15._nd60._vv84(_local3);
break;
case _jq309._og27:
_local2 = irrcrpt("ndNbdijofGmz", 1);
_local3 = new _lx208(_uu15._nd60._gj409._ac293, _local2, (_do502 + _arg1.x), (_bc493 + _arg1.y), _arg1.type, _arg1, _jq309._oc432, _iv173._dt248());
_arg1._ei53 = true;
_uu15._nd60._vv84(_local3);
break;
};
}
}
}//package com.megaman.framework
Section 29
//_xt142 (com.megaman.framework._xt142)
package com.megaman.framework {
public class _xt142 extends _cd187 {
public function _xt142(_arg1:Number, _arg2:Number, _arg3:Number){
super(_arg1, _arg2, _arg3);
}
public function _se401():Number{
return (Math.sqrt((((_do502 * _do502) + (_bc493 * _bc493)) + (_pv72 * _pv72))));
}
public function add(_arg1:_xt142){
setPosition((_do502 + _arg1._x), (_bc493 + _arg1._y), (_pv72 + _arg1._ec492));
}
public function scale(_arg1:Number){
_do502 = (_do502 * _arg1);
_bc493 = (_bc493 * _arg1);
_pv72 = (_pv72 * _arg1);
}
public function _lg282(_arg1:Number=0, _arg2:Number=0, _arg3:Number=0){
setPosition((_do502 + _arg1), (_bc493 + _arg2), (_pv72 + _arg3));
}
public function normalize(){
var _local1:Number;
_local1 = _se401();
if (_local1 == 0){
setPosition(1, 0, 0);
_local1 = 1;
};
setPosition((_do502 / _local1), (_bc493 / _local1), (_pv72 / _local1));
}
}
}//package com.megaman.framework
Section 30
//_dn360 (com.megaman.util._dn360)
package com.megaman.util {
import flash.display.*;
import flash.utils.*;
public class _dn360 {
private const _wm506:int = 2130690045;
private const _nv518:int = -16383;
private const _dd22:int = 1048575;
protected var _na434:DisplayObjectContainer;
private var _yi70:Dictionary;
public function _dn360(_arg1:DisplayObjectContainer):void{
var _local2:int;
var _local3:DisplayObject;
var _local4:int;
super();
_na434 = _arg1;
_yi70 = new Dictionary(true);
_local2 = _na434.numChildren;
_local4 = 0;
while (_local4 < _local2) {
_local3 = _na434.getChildAt(_local4);
_yi70[_local4] = _local3;
_yi70[_local3] = _local4;
_local4++;
};
}
public function _st44(_arg1:DisplayObject, _arg2:int):void{
var _cp497:DisplayObject;
var index:int;
var child = _arg1;
var depth = _arg2;
if ((((depth < _nv518)) || ((depth > _wm506)))){
throw (new Error(((irrcrpt("Dbvujpo: ", 1) + depth) + irrcrpt(" jt pwfs mjnju pg efqui", 1))));
};
if (_yi70[child] == depth){
return;
};
_cp497 = _pd128(depth);
if (_cp497 != null){
swapChildren(child, _cp497);
} else {
index = _uc189(depth);
delete _yi70[_yi70[child]];
_yi70[child] = depth;
_yi70[depth] = child;
try {
if (_na434.getChildIndex(child) < index){
_na434.setChildIndex(child, (index - 1));
} else {
_na434.setChildIndex(child, index);
};
} catch(e) {
};
};
}
private function _pd128(_arg1:int):DisplayObject{
return (_yi70[_arg1]);
}
private function _uc189(_arg1:int):int{
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:DisplayObject;
if (_na434.numChildren > 0){
_local2 = 0;
_local3 = (_na434.numChildren - 1);
_local4 = _local3;
_local5 = _na434.getChildAt(_local4);
if (_arg1 <= _yi70[_na434.getChildAt(0)]){
return (0);
};
if (_yi70[_local5] < _arg1){
return ((_local4 + 1));
};
while (_yi70[_local5] != _arg1) {
if (_local4 == _local2){
_local4 = (_local4 + ((_yi70[_local5])<_arg1) ? 1 : 0);
break;
} else {
if (_arg1 < _yi70[_local5]){
_local3 = _local4;
_local4 = ((_local2 + _local3) >> 1);
} else {
if (_yi70[_local5] < _arg1){
_local2 = _local4;
_local4 = ((_local2 + _local3) >> 1);
} else {
break;
};
};
};
_local5 = _na434.getChildAt(_local4);
};
return (_local4);
//unresolved jump
};
return (0);
}
public function removeChildAt(_arg1:int):DisplayObject{
var _local2:DisplayObject;
_local2 = _yi70[_arg1];
if (_local2 == null){
throw (new RangeError((irrcrpt("Hfzynts: st hmnqi fy ijuym ", 5) + _arg1)));
};
delete _yi70[_local2];
delete _yi70[_arg1];
return (_na434.removeChild(_local2));
}
public function addChildAt(_arg1:DisplayObject, _arg2:int):DisplayObject{
var _local3:int;
var _local4:DisplayObject;
_local3 = _uc189(_arg2);
if (_local3 < _na434.numChildren){
_local4 = _na434.getChildAt(_local3);
if (_yi70[_local4] == _arg2){
removeChild(_local4);
};
};
_yi70[_arg2] = _arg1;
_yi70[_arg1] = _arg2;
return (_na434.addChildAt(_arg1, _local3));
}
public function swapChildren(_arg1:DisplayObject, _arg2:DisplayObject):void{
var _local3:int;
if (_arg1 == _arg2){
return;
};
_local3 = _yi70[_arg1];
_yi70[_arg1] = _yi70[_arg2];
_yi70[_arg2] = _local3;
_yi70[_yi70[_arg1]] = _arg1;
_yi70[_yi70[_arg2]] = _arg2;
_na434.swapChildren(_arg1, _arg2);
}
public function _wj85(_arg1:DisplayObject):int{
return (_yi70[_arg1]);
}
public function removeChild(_arg1:DisplayObject):DisplayObject{
delete _yi70[_yi70[_arg1]];
delete _yi70[_arg1];
return (_na434.removeChild(_arg1));
}
public function get container():DisplayObjectContainer{
return (_na434);
}
public function addChild(_arg1:DisplayObject):DisplayObject{
var _local2:int;
_local2 = (_na434.numChildren) ? (_yi70[_na434.getChildAt((_na434.numChildren - 1))] + 1) : 0;
_yi70[_local2] = _arg1;
_yi70[_arg1] = _local2;
return (_na434.addChild(_arg1));
}
}
}//package com.megaman.util
Section 31
//_lo377 (com.megaman.util._lo377)
package com.megaman.util {
import flash.utils.*;
import flash.events.*;
import flash.display.*;
public class _lo377 {
private static var states:ByteArray;
private static var _lx103:Boolean = false;
private static var _yd439:DisplayObject;
private static function _cy478(_arg1:Event):void{
var _local2:int;
_local2 = 0;
while (_local2 < 8) {
states[_local2] = 0;
_local2++;
};
}
private static function _ku165(_arg1:KeyboardEvent):void{
states[(_arg1.keyCode >>> 3)] = (states[(_arg1.keyCode >>> 3)] & ~((1 << (_arg1.keyCode & 7))));
}
public static function _be166(_arg1:uint):Boolean{
return (((states[(_arg1 >>> 3)] & (1 << (_arg1 & 7))) == 0));
}
public static function _qp122(_arg1:uint):Boolean{
return (!(((states[(_arg1 >>> 3)] & (1 << (_arg1 & 7))) == 0)));
}
private static function _px502(_arg1:Event):void{
var _local2:int;
_local2 = 0;
while (_local2 < 8) {
states[_local2] = 0;
_local2++;
};
}
private static function _tm367(_arg1:KeyboardEvent):void{
states[(_arg1.keyCode >>> 3)] = (states[(_arg1.keyCode >>> 3)] | (1 << (_arg1.keyCode & 7)));
}
public static function init(_arg1:DisplayObject){
if (!(_lx103)){
_lx103 = true;
states = new ByteArray();
states.writeUnsignedInt(0);
states.writeUnsignedInt(0);
states.writeUnsignedInt(0);
states.writeUnsignedInt(0);
states.writeUnsignedInt(0);
states.writeUnsignedInt(0);
states.writeUnsignedInt(0);
states.writeUnsignedInt(0);
_yd439 = _arg1;
_yd439.addEventListener(KeyboardEvent.KEY_DOWN, _tm367, false, 0, true);
_yd439.addEventListener(KeyboardEvent.KEY_UP, _ku165, false, 0, true);
_yd439.addEventListener(Event.ACTIVATE, _cy478, false, 0, true);
_yd439.addEventListener(Event.DEACTIVATE, _px502, false, 0, true);
};
}
}
}//package com.megaman.util
Section 32
//_pa198 (com.megaman.util._pa198)
package com.megaman.util {
public dynamic class _pa198 extends Array {
private static const _ak449:Number = _aw301.length;
private static const _hu215:Array = [0, 0.01, 0.02, 0.04, 0.05, 0.06, 0.07, 0.08, 0.1, 0.11, 0.12, 0.14, 0.15, 0.16, 0.17, 0.18, 0.2, 0.21, 0.22, 0.24, 0.25, 0.27, 0.28, 0.3, 0.32, 0.34, 0.36, 0.38, 0.4, 0.42, 0.44, 0.46, 0.48, 0.5, 0.53, 0.56, 0.59, 0.62, 0.65, 0.68, 0.71, 0.74, 0.77, 0.8, 0.83, 0.86, 0.89, 0.92, 0.95, 0.98, 1, 1.06, 1.12, 1.18, 1.24, 1.3, 1.36, 1.42, 1.48, 1.54, 1.6, 1.66, 1.72, 1.78, 1.84, 1.9, 1.96, 2, 2.12, 2.25, 2.37, 2.5, 2.62, 2.75, 2.87, 3, 3.2, 3.4, 3.6, 3.8, 4, 4.3, 4.7, 4.9, 5, 5.5, 6, 6.5, 6.8, 7, 7.3, 7.5, 7.8, 8, 8.4, 8.7, 9, 9.4, 9.6, 9.8, 10];
private static const _aw301:Array = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1];
public function _pa198(_arg1:Array=null){
_arg1 = _ma199(_arg1);
_kg65(((_arg1.length)==_ak449) ? _arg1 : _aw301);
}
public function adjustBrightness(_arg1:Number):void{
_arg1 = _qt95(_arg1, 100);
if ((((_arg1 == 0)) || (isNaN(_arg1)))){
return;
};
_vq420([1, 0, 0, 0, _arg1, 0, 1, 0, 0, _arg1, 0, 0, 1, 0, _arg1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]);
}
protected function _ma199(_arg1:Array=null):Array{
if (_arg1 == null){
return (_aw301);
};
if ((_arg1 is _pa198)){
_arg1 = _arg1.slice(0);
};
if (_arg1.length < _ak449){
_arg1 = _arg1.slice(0, _arg1.length).concat(_aw301.slice(_arg1.length, _ak449));
} else {
if (_arg1.length > _ak449){
_arg1 = _arg1.slice(0, _ak449);
};
};
return (_arg1);
}
public function reset():void{
var _local1:uint;
_local1 = 0;
while (_local1 < _ak449) {
this[_local1] = _aw301[_local1];
_local1++;
};
}
protected function _vq420(_arg1:Array):void{
var _local2:Array;
var _local3:uint;
var _local4:uint;
var _local5:Number;
var _local6:Number;
_local2 = [];
_local3 = 0;
while (_local3 < 5) {
_local4 = 0;
while (_local4 < 5) {
_local2[_local4] = this[(_local4 + (_local3 * 5))];
_local4++;
};
_local4 = 0;
while (_local4 < 5) {
_local5 = 0;
_local6 = 0;
while (_local6 < 5) {
_local5 = (_local5 + (_arg1[(_local4 + (_local6 * 5))] * _local2[_local6]));
_local6++;
};
this[(_local4 + (_local3 * 5))] = _local5;
_local4++;
};
_local3++;
};
}
public function concat(_arg1:Array):void{
_arg1 = _ma199(_arg1);
if (_arg1.length != _ak449){
return;
};
_vq420(_arg1);
}
public function clone():_pa198{
return (new _pa198(this));
}
public function toArray():Array{
return (slice(0, 20));
}
public function toString():String{
return (((irrcrpt("EqnqtOcvtkz [ ", 2) + this.join(irrcrpt(" , ", 4))) + irrcrpt(" ]", 4)));
}
protected function _qt95(_arg1:Number, _arg2:Number):Number{
return (Math.min(_arg2, Math.max(-(_arg2), _arg1)));
}
public function _gk118(_arg1:Number):void{
var _local2:Number;
_arg1 = _qt95(_arg1, 100);
if ((((_arg1 == 0)) || (isNaN(_arg1)))){
return;
};
if (_arg1 < 0){
_local2 = (127 + ((_arg1 / 100) * 127));
} else {
_local2 = (_arg1 % 1);
if (_local2 == 0){
_local2 = _hu215[_arg1];
} else {
_local2 = ((_hu215[(_arg1 << 0)] * (1 - _local2)) + (_hu215[((_arg1 << 0) + 1)] * _local2));
};
_local2 = ((_local2 * 127) + 127);
};
_vq420([(_local2 / 127), 0, 0, 0, (0.5 * (127 - _local2)), 0, (_local2 / 127), 0, 0, (0.5 * (127 - _local2)), 0, 0, (_local2 / 127), 0, (0.5 * (127 - _local2)), 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]);
}
protected function _kg65(_arg1:Array):void{
var _local2:Number;
var _local3:uint;
_local2 = _ak449;
_local3 = 0;
while (_local3 < _local2) {
this[_local3] = _arg1[_local3];
_local3++;
};
}
public function _mj326(_arg1:Number):void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
_arg1 = ((_qt95(_arg1, 180) / 180) * Math.PI);
if ((((_arg1 == 0)) || (isNaN(_arg1)))){
return;
};
_local2 = Math.cos(_arg1);
_local3 = Math.sin(_arg1);
_local4 = 0.213;
_local5 = 0.715;
_local6 = 0.072;
_vq420([((_local4 + (_local2 * (1 - _local4))) + (_local3 * -(_local4))), ((_local5 + (_local2 * -(_local5))) + (_local3 * -(_local5))), ((_local6 + (_local2 * -(_local6))) + (_local3 * (1 - _local6))), 0, 0, ((_local4 + (_local2 * -(_local4))) + (_local3 * 0.143)), ((_local5 + (_local2 * (1 - _local5))) + (_local3 * 0.14)), ((_local6 + (_local2 * -(_local6))) + (_local3 * -0.283)), 0, 0, ((_local4 + (_local2 * -(_local4))) + (_local3 * -((1 - _local4)))), ((_local5 + (_local2 * -(_local5))) + (_local3 * _local5)), ((_local6 + (_local2 * (1 - _local6))) + (_local3 * _local6)), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]);
}
public function _hd336(_arg1:Number):void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
_arg1 = _qt95(_arg1, 100);
if ((((_arg1 == 0)) || (isNaN(_arg1)))){
return;
};
_local2 = (1 + ((_arg1)>0) ? ((3 * _arg1) / 100) : (_arg1 / 100));
_local3 = 0.3086;
_local4 = 0.6094;
_local5 = 0.082;
_vq420([((_local3 * (1 - _local2)) + _local2), (_local4 * (1 - _local2)), (_local5 * (1 - _local2)), 0, 0, (_local3 * (1 - _local2)), ((_local4 * (1 - _local2)) + _local2), (_local5 * (1 - _local2)), 0, 0, (_local3 * (1 - _local2)), (_local4 * (1 - _local2)), ((_local5 * (1 - _local2)) + _local2), 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1]);
}
public function _uv20(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
_mj326(_arg4);
_gk118(_arg2);
adjustBrightness(_arg1);
_hd336(_arg3);
}
}
}//package com.megaman.util
Section 33
//_qk241 (com.megaman.util._qk241)
package com.megaman.util {
import flash.utils.*;
import flash.media.*;
import flash.events.*;
public class _qk241 {
private var _pn43:Array;
private var list:Array;
private var _dt509:Array;
public var limit:Number;// = 99999999
public function _qk241():void{
limit = 99999999;
super();
list = new Array();
_pn43 = new Array();
_dt509 = new Array();
}
public function _hr50(_arg1:String, _arg2:Number=1):void{
var _local3:SoundTransform;
if (list[_arg1] == undefined){
_ln308(_arg1);
};
if (_dt509[_arg1] == false){
_pn43[_arg1] = (list[_arg1].play(0, limit) as SoundChannel);
_dt509[_arg1] = true;
if (_arg2 < 1){
_local3 = _pn43[_arg1].soundTransform;
_local3.volume = _arg2;
_pn43[_arg1].soundTransform = _local3;
};
};
}
public function _rm190(_arg1:String):void{
if (_pn43[_arg1]){
_pn43[_arg1].stop();
_dt509[_arg1] = false;
};
}
public function _im316(_arg1:String, _arg2:Number=1):void{
var _local3:SoundChannel;
var _local4:SoundTransform;
if (list[_arg1] == undefined){
_ln308(_arg1);
};
_local3 = list[_arg1].play();
if (_arg2 < 1){
_local4 = _local3.soundTransform;
_local4.volume = _arg2;
_local3.soundTransform = _local4;
};
}
public function _ln308(_arg1:String):void{
var _local2:Class;
_local2 = (getDefinitionByName(_arg1) as Class);
list[_arg1] = (new (_local2) as Sound);
_dt509[_arg1] = (false as Boolean);
}
}
}//package com.megaman.util
Section 34
//_rn362 (com.megaman.util._rn362)
package com.megaman.util {
import flash.display.*;
import flash.events.*;
public class _rn362 {
private var _xe232:MovieClip;
private var _kw22:String;// = null
private var _ps266:MovieClip;
private var _qi347:Object;// = null
public static const _uh283:Number = 2;
public static const SHOW:Number = 1;
public function _rn362(_arg1:MovieClip, _arg2:Object){
_qi347 = null;
_kw22 = null;
super();
this._ps266 = _arg1;
drawRect(_arg2);
}
public function _oa113(_arg1:Number, _arg2:Object, _arg3:String){
switch (_arg1){
case SHOW:
_wd98(_arg2, _arg3);
break;
case _uh283:
_bk197(_arg2, _arg3);
break;
};
}
private function _un408(_arg1:Event):void{
_xe232.alpha = (_xe232.alpha - 0.1);
if (_xe232.alpha <= 0){
_xe232.removeEventListener(Event.ENTER_FRAME, _un408);
var _local2 = _qi347;
_local2[_kw22]();
};
}
private function drawRect(_arg1:Object){
var width:*;
var height:*;
var obj = _arg1;
width = obj.width;
height = obj.height;
_xe232 = new MovieClip();
_xe232.x = 0;
_xe232.y = 0;
_ps266.addChild(_xe232);
var _local3 = _xe232.graphics;
with (_local3) {
beginFill(0, 100);
lineStyle(1, 0, 100);
lineTo(width, 0);
lineTo(width, height);
lineTo(0, height);
lineTo(0, 0);
endFill();
};
_xe232.addEventListener(MouseEvent.CLICK, function (){
});
_xe232.useHandCursor = false;
_xe232.x = 0;
_xe232.y = 0;
_xe232.alpha = 0;
}
private function _bk197(_arg1:Object, _arg2:String){
_xe232.alpha = 1;
_qi347 = _arg1;
_kw22 = _arg2;
_xe232.addEventListener(Event.ENTER_FRAME, _un408);
}
private function _wd98(_arg1:Object, _arg2:String){
_xe232.alpha = 0;
_qi347 = _arg1;
_kw22 = _arg2;
_xe232.addEventListener(Event.ENTER_FRAME, _lf446);
}
public function _fj317():void{
_ps266.removeChild(_xe232);
}
private function _lf446(_arg1:Event):void{
_xe232.alpha = (_xe232.alpha + 0.008);
if (_xe232.alpha >= 1){
_xe232.removeEventListener(Event.ENTER_FRAME, _lf446);
var _local2 = _qi347;
_local2[_kw22]();
};
}
}
}//package com.megaman.util
Section 35
//MainTimeline (MetalSlug_fla.MainTimeline)
package MetalSlug_fla {
import flash.events.*;
import flash.display.*;
public dynamic class MainTimeline extends MovieClip {
public var btnBack:SimpleButton;
public var mcFPS:MovieClip;
public var btnPlay:SimpleButton;
public var btnHowToPlay:SimpleButton;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 10, frame11, 20, frame21, 31, frame32, 41, frame42, 51, frame52);
}
public function onBack(_arg1:MouseEvent){
this.gotoAndStop("Main");
}
function frame1(){
MochiAd.showPreGameAd({clip:root, id:"5cbeeafda86e1fa8", res:"560x400"});
}
public function onGame(_arg1:MouseEvent){
this.gotoAndStop("Game");
}
function frame21(){
clsFla.onGame(this);
}
function frame2(){
stop();
this.stage.scaleMode = "noScale";
this.gotoAndStop("Main");
}
function frame11(){
stop();
this.stage.scaleMode = "noScale";
clsFla.onLoadSound();
this.btnPlay.useHandCursor = true;
this.btnPlay.addEventListener(MouseEvent.CLICK, onGame);
this.btnHowToPlay.useHandCursor = true;
this.btnHowToPlay.addEventListener(MouseEvent.CLICK, onHowToPlay);
}
public function onHowToPlay(_arg1:MouseEvent){
this.gotoAndStop("HowToPlay");
}
function frame32(){
stop();
this.btnBack.useHandCursor = true;
this.btnBack.addEventListener(MouseEvent.CLICK, onBack);
}
function frame42(){
stop();
}
function frame52(){
stop();
}
}
}//package MetalSlug_fla
Section 36
//mcBatleTruckDie_112 (MetalSlug_fla.mcBatleTruckDie_112)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mcBatleTruckDie_112 extends MovieClip {
public function mcBatleTruckDie_112(){
addFrameScript(7, frame8, 10, frame11, 14, frame15, 40, frame41);
}
function frame15(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SOUND_DIE");
}
function frame8(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SOUND_DIE");
}
function frame11(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SOUND_DIE");
}
function frame41(){
stop();
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "DIE");
}
}
}//package MetalSlug_fla
Section 37
//mcBatleTruckShoot_111 (MetalSlug_fla.mcBatleTruckShoot_111)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mcBatleTruckShoot_111 extends MovieClip {
public function mcBatleTruckShoot_111(){
addFrameScript(12, frame13, 28, frame29, 30, frame31, 32, frame33, 34, frame35, 36, frame37, 38, frame39, 40, frame41, 42, frame43, 82, frame83, 84, frame85, 86, frame87, 88, frame89, 90, frame91, 93, frame94, 97, frame98, 100, frame101, 102, frame103, 105, frame106, 108, frame109, 111, frame112, 115, frame116, 120, frame121, 140, frame141);
}
function frame87(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SHOOT_FIRE");
}
function frame89(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SHOOT_FIRE");
}
function frame85(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SHOOT_FIRE");
}
function frame91(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SHOOT_FIRE");
}
function frame94(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SHOOT_FIRE");
}
function frame98(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SHOOT_FIRE");
}
function frame106(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SHOOT_FIRE");
}
function frame109(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SHOOT_FIRE");
}
function frame13(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SOUND");
}
function frame103(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SHOOT_FIRE");
}
function frame29(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SOUND");
}
function frame83(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SHOOT_FIRE");
}
function frame101(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SHOOT_FIRE");
}
function frame116(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SHOOT_FIRE");
}
function frame37(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SOUND");
}
function frame31(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SOUND");
}
function frame112(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SHOOT_FIRE");
}
function frame35(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SOUND");
}
function frame43(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SOUND");
}
function frame33(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SOUND");
}
function frame41(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SOUND");
}
function frame39(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SOUND");
}
function frame121(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SHOOT_FIRE");
}
function frame141(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SHOOT_END");
}
}
}//package MetalSlug_fla
Section 38
//mcBatleTruckSHOW_108 (MetalSlug_fla.mcBatleTruckSHOW_108)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mcBatleTruckSHOW_108 extends MovieClip {
public function mcBatleTruckSHOW_108(){
addFrameScript(8, frame9);
}
function frame9(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SHOW");
}
}
}//package MetalSlug_fla
Section 39
//mcBlood_12 (MetalSlug_fla.mcBlood_12)
package MetalSlug_fla {
import flash.display.*;
public dynamic class mcBlood_12 extends MovieClip {
public function mcBlood_12(){
addFrameScript(30, frame31);
}
function frame31(){
stop();
}
}
}//package MetalSlug_fla
Section 40
//mcBodyMarco_44 (MetalSlug_fla.mcBodyMarco_44)
package MetalSlug_fla {
import flash.display.*;
public dynamic class mcBodyMarco_44 extends MovieClip {
public var clip:MovieClip;
public function mcBodyMarco_44(){
addFrameScript(0, frame1, 6, frame7, 13, frame14, 21, frame22, 43, frame44, 52, frame53, 81, frame82, 82, frame83);
}
function frame82(){
}
function frame14(){
stop();
}
function frame7(){
stop();
}
function frame1(){
stop();
}
function frame22(){
stop();
}
function frame83(){
stop();
}
function frame44(){
}
function frame53(){
}
}
}//package MetalSlug_fla
Section 41
//mcCamionExploit_85 (MetalSlug_fla.mcCamionExploit_85)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mcCamionExploit_85 extends MovieClip {
public function mcCamionExploit_85(){
addFrameScript(31, frame32);
}
function frame32(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "EXPLOIT");
}
}
}//package MetalSlug_fla
Section 42
//mcCamionHit_86 (MetalSlug_fla.mcCamionHit_86)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mcCamionHit_86 extends MovieClip {
public function mcCamionHit_86(){
addFrameScript(4, frame5);
}
function frame5(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "HIT");
}
}
}//package MetalSlug_fla
Section 43
//mcDuckShootBodyMarco_51 (MetalSlug_fla.mcDuckShootBodyMarco_51)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mcDuckShootBodyMarco_51 extends MovieClip {
public function mcDuckShootBodyMarco_51(){
addFrameScript(6, frame7);
}
function frame7(){
clsFla.onEndAnimation(MovieClip(this.parent.parent).parentClass, "PISTOL");
}
}
}//package MetalSlug_fla
Section 44
//mcEnemyDie_25 (MetalSlug_fla.mcEnemyDie_25)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mcEnemyDie_25 extends MovieClip {
public function mcEnemyDie_25(){
addFrameScript(25, frame26);
}
function frame26(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "DIE");
}
}
}//package MetalSlug_fla
Section 45
//mcEnemyDie2_19 (MetalSlug_fla.mcEnemyDie2_19)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mcEnemyDie2_19 extends MovieClip {
public function mcEnemyDie2_19(){
addFrameScript(35, frame36);
}
function frame36(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "DIE");
}
}
}//package MetalSlug_fla
Section 46
//mcEnemyDieFire_20 (MetalSlug_fla.mcEnemyDieFire_20)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mcEnemyDieFire_20 extends MovieClip {
public function mcEnemyDieFire_20(){
addFrameScript(80, frame81);
}
function frame81(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "DIE");
}
}
}//package MetalSlug_fla
Section 47
//mcEnemyShooterFire_24 (MetalSlug_fla.mcEnemyShooterFire_24)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mcEnemyShooterFire_24 extends MovieClip {
public function mcEnemyShooterFire_24(){
addFrameScript(6, frame7, 69, frame70);
}
function frame70(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "FIRE_SHOOT_END");
}
function frame7(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "FIRE_SHOOT");
}
}
}//package MetalSlug_fla
Section 48
//mcExplotCarRed_90 (MetalSlug_fla.mcExplotCarRed_90)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mcExplotCarRed_90 extends MovieClip {
public function mcExplotCarRed_90(){
addFrameScript(38, frame39);
}
function frame39(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "EXPLOIT");
}
}
}//package MetalSlug_fla
Section 49
//mcExplotions_77 (MetalSlug_fla.mcExplotions_77)
package MetalSlug_fla {
import flash.display.*;
public dynamic class mcExplotions_77 extends MovieClip {
public function mcExplotions_77(){
addFrameScript(24, frame25);
}
function frame25(){
stop();
}
}
}//package MetalSlug_fla
Section 50
//mcExplotions2_7 (MetalSlug_fla.mcExplotions2_7)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mcExplotions2_7 extends MovieClip {
public function mcExplotions2_7(){
addFrameScript(17, frame18);
}
function frame18(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "EXPLOIT");
}
}
}//package MetalSlug_fla
Section 51
//mcExplotions3_3 (MetalSlug_fla.mcExplotions3_3)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mcExplotions3_3 extends MovieClip {
public function mcExplotions3_3(){
addFrameScript(10, frame11);
}
function frame11(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "EXPLOIT");
}
}
}//package MetalSlug_fla
Section 52
//mcFallingStandBodyMarco_48 (MetalSlug_fla.mcFallingStandBodyMarco_48)
package MetalSlug_fla {
import flash.display.*;
public dynamic class mcFallingStandBodyMarco_48 extends MovieClip {
public function mcFallingStandBodyMarco_48(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package MetalSlug_fla
Section 53
//mcFallingStandFootMarco_43 (MetalSlug_fla.mcFallingStandFootMarco_43)
package MetalSlug_fla {
import flash.display.*;
public dynamic class mcFallingStandFootMarco_43 extends MovieClip {
public function mcFallingStandFootMarco_43(){
addFrameScript(23, frame24);
}
function frame24(){
stop();
}
}
}//package MetalSlug_fla
Section 54
//mcFootMarco_39 (MetalSlug_fla.mcFootMarco_39)
package MetalSlug_fla {
import flash.display.*;
public dynamic class mcFootMarco_39 extends MovieClip {
public function mcFootMarco_39(){
addFrameScript(0, frame1, 6, frame7);
}
function frame7(){
stop();
}
function frame1(){
stop();
}
}
}//package MetalSlug_fla
Section 55
//mcFPS_116 (MetalSlug_fla.mcFPS_116)
package MetalSlug_fla {
import flash.text.*;
import flash.display.*;
public dynamic class mcFPS_116 extends MovieClip {
public var txtValue:TextField;
}
}//package MetalSlug_fla
Section 56
//mcHitCarRed_91 (MetalSlug_fla.mcHitCarRed_91)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mcHitCarRed_91 extends MovieClip {
public function mcHitCarRed_91(){
addFrameScript(4, frame5);
}
function frame5(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "HIT");
}
}
}//package MetalSlug_fla
Section 57
//mcJumpingRunBodyMarco_49 (MetalSlug_fla.mcJumpingRunBodyMarco_49)
package MetalSlug_fla {
import flash.display.*;
public dynamic class mcJumpingRunBodyMarco_49 extends MovieClip {
public function mcJumpingRunBodyMarco_49(){
addFrameScript(23, frame24);
}
function frame24(){
stop();
}
}
}//package MetalSlug_fla
Section 58
//mcJumpingStandBodyMarco_47 (MetalSlug_fla.mcJumpingStandBodyMarco_47)
package MetalSlug_fla {
import flash.display.*;
public dynamic class mcJumpingStandBodyMarco_47 extends MovieClip {
public function mcJumpingStandBodyMarco_47(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package MetalSlug_fla
Section 59
//mcJumpStandFootMarco_42 (MetalSlug_fla.mcJumpStandFootMarco_42)
package MetalSlug_fla {
import flash.display.*;
public dynamic class mcJumpStandFootMarco_42 extends MovieClip {
public function mcJumpStandFootMarco_42(){
addFrameScript(23, frame24);
}
function frame24(){
stop();
}
}
}//package MetalSlug_fla
Section 60
//mcMachineFlyDie_104 (MetalSlug_fla.mcMachineFlyDie_104)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mcMachineFlyDie_104 extends MovieClip {
public function mcMachineFlyDie_104(){
addFrameScript(54, frame55);
}
function frame55(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "DIE");
}
}
}//package MetalSlug_fla
Section 61
//mcMachineFlyShoot_103 (MetalSlug_fla.mcMachineFlyShoot_103)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mcMachineFlyShoot_103 extends MovieClip {
public function mcMachineFlyShoot_103(){
addFrameScript(14, frame15, 24, frame25, 33, frame34, 43, frame44);
}
function frame15(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SHOOT_BOMB");
}
function frame25(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SHOOT_BOMB");
}
function frame34(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SHOOT_BOMB");
}
function frame44(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SHOOT_BOMB_END");
}
}
}//package MetalSlug_fla
Section 62
//mcMainScreen_113 (MetalSlug_fla.mcMainScreen_113)
package MetalSlug_fla {
import flash.display.*;
public dynamic class mcMainScreen_113 extends MovieClip {
public function mcMainScreen_113(){
addFrameScript(23, frame24);
}
function frame24(){
stop();
}
}
}//package MetalSlug_fla
Section 63
//mcMainWin_119 (MetalSlug_fla.mcMainWin_119)
package MetalSlug_fla {
import flash.display.*;
public dynamic class mcMainWin_119 extends MovieClip {
public var mcScoreC:MovieClip;
public var mcScoreM:MovieClip;
public var mcScoreU:MovieClip;
public var mcScoreMl:MovieClip;
public var btnReplay:SimpleButton;
public var mcScoreD:MovieClip;
public function mcMainWin_119(){
addFrameScript(14, frame15);
}
function frame15(){
stop();
clsFla.onWin(this);
}
}
}//package MetalSlug_fla
Section 64
//mcNumber_59 (MetalSlug_fla.mcNumber_59)
package MetalSlug_fla {
import flash.display.*;
public dynamic class mcNumber_59 extends MovieClip {
public function mcNumber_59(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package MetalSlug_fla
Section 65
//mcPlataform1Exploit_76 (MetalSlug_fla.mcPlataform1Exploit_76)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mcPlataform1Exploit_76 extends MovieClip {
public function mcPlataform1Exploit_76(){
addFrameScript(29, frame30);
}
function frame30(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "EXPLOIT");
}
}
}//package MetalSlug_fla
Section 66
//mcPlataform1Hit_78 (MetalSlug_fla.mcPlataform1Hit_78)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mcPlataform1Hit_78 extends MovieClip {
public function mcPlataform1Hit_78(){
addFrameScript(4, frame5);
}
function frame5(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "HIT");
}
}
}//package MetalSlug_fla
Section 67
//mcPlayerDie_56 (MetalSlug_fla.mcPlayerDie_56)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mcPlayerDie_56 extends MovieClip {
public function mcPlayerDie_56(){
addFrameScript(69, frame70);
}
function frame70(){
clsFla.onEndAnimation(MovieClip(this.parent.parent).parentClass, "DIE");
}
}
}//package MetalSlug_fla
Section 68
//mcPlayerDieFire_57 (MetalSlug_fla.mcPlayerDieFire_57)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mcPlayerDieFire_57 extends MovieClip {
public function mcPlayerDieFire_57(){
addFrameScript(84, frame85);
}
function frame85(){
clsFla.onEndAnimation(MovieClip(this.parent.parent).parentClass, "DIE");
}
}
}//package MetalSlug_fla
Section 69
//mcShootDownPistolBodyMarco_53 (MetalSlug_fla.mcShootDownPistolBodyMarco_53)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mcShootDownPistolBodyMarco_53 extends MovieClip {
public function mcShootDownPistolBodyMarco_53(){
addFrameScript(2, frame3, 6, frame7);
}
function frame3(){
clsFla.onEndAnimation(MovieClip(this.parent.parent).parentClass, "IS_READY_SHOOT");
}
function frame7(){
clsFla.onEndAnimation(MovieClip(this.parent.parent).parentClass, "PISTOL");
}
}
}//package MetalSlug_fla
Section 70
//mcShootPistolBodyMarco_50 (MetalSlug_fla.mcShootPistolBodyMarco_50)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mcShootPistolBodyMarco_50 extends MovieClip {
public function mcShootPistolBodyMarco_50(){
addFrameScript(3, frame4, 6, frame7);
}
function frame7(){
clsFla.onEndAnimation(MovieClip(this.parent.parent).parentClass, "PISTOL");
}
function frame4(){
clsFla.onEndAnimation(MovieClip(this.parent.parent).parentClass, "IS_READY_SHOOT");
}
}
}//package MetalSlug_fla
Section 71
//mcShootUpPistolBodyMarco_55 (MetalSlug_fla.mcShootUpPistolBodyMarco_55)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mcShootUpPistolBodyMarco_55 extends MovieClip {
public function mcShootUpPistolBodyMarco_55(){
addFrameScript(3, frame4, 7, frame8);
}
function frame8(){
clsFla.onEndAnimation(MovieClip(this.parent.parent).parentClass, "PISTOL");
}
function frame4(){
clsFla.onEndAnimation(MovieClip(this.parent.parent).parentClass, "IS_READY_SHOOT");
}
}
}//package MetalSlug_fla
Section 72
//mcStandDownLookMarco_52 (MetalSlug_fla.mcStandDownLookMarco_52)
package MetalSlug_fla {
import flash.display.*;
public dynamic class mcStandDownLookMarco_52 extends MovieClip {
public function mcStandDownLookMarco_52(){
addFrameScript(14, frame15);
}
function frame15(){
stop();
}
}
}//package MetalSlug_fla
Section 73
//mcStandUpLookMarco_54 (MetalSlug_fla.mcStandUpLookMarco_54)
package MetalSlug_fla {
import flash.display.*;
public dynamic class mcStandUpLookMarco_54 extends MovieClip {
public function mcStandUpLookMarco_54(){
addFrameScript(20, frame21);
}
function frame21(){
stop();
}
}
}//package MetalSlug_fla
Section 74
//mcTaxiCarHit_97 (MetalSlug_fla.mcTaxiCarHit_97)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mcTaxiCarHit_97 extends MovieClip {
public function mcTaxiCarHit_97(){
addFrameScript(5, frame6);
}
function frame6(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "HIT");
}
}
}//package MetalSlug_fla
Section 75
//mcTextGo_70 (MetalSlug_fla.mcTextGo_70)
package MetalSlug_fla {
import flash.display.*;
public dynamic class mcTextGo_70 extends MovieClip {
public function mcTextGo_70(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package MetalSlug_fla
Section 76
//mcTextGoStand_71 (MetalSlug_fla.mcTextGoStand_71)
package MetalSlug_fla {
import flash.display.*;
public dynamic class mcTextGoStand_71 extends MovieClip {
public function mcTextGoStand_71(){
addFrameScript(71, frame72);
}
function frame72(){
MovieClip(this.parent).gotoAndStop("NONE");
MovieClip(this.parent).visible = false;
}
}
}//package MetalSlug_fla
Section 77
//mcTryAgain_118 (MetalSlug_fla.mcTryAgain_118)
package MetalSlug_fla {
import flash.display.*;
public dynamic class mcTryAgain_118 extends MovieClip {
public var mcScoreC:MovieClip;
public var mcScoreM:MovieClip;
public var mcScoreU:MovieClip;
public var mcScoreMl:MovieClip;
public var btnReplay:SimpleButton;
public var mcScoreD:MovieClip;
public function mcTryAgain_118(){
addFrameScript(15, frame16);
}
function frame16(){
stop();
clsFla.onTryAgain(this);
}
}
}//package MetalSlug_fla
Section 78
//sprite188_11 (MetalSlug_fla.sprite188_11)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class sprite188_11 extends MovieClip {
public function sprite188_11(){
addFrameScript(57, frame58);
}
function frame58(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "DIE");
}
}
}//package MetalSlug_fla
Section 79
//sprite296_14 (MetalSlug_fla.sprite296_14)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class sprite296_14 extends MovieClip {
public function sprite296_14(){
addFrameScript(20, frame21);
}
function frame21(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "VIEW_PLAYER");
}
}
}//package MetalSlug_fla
Section 80
//sprite430_18 (MetalSlug_fla.sprite430_18)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class sprite430_18 extends MovieClip {
public function sprite430_18(){
addFrameScript(13, frame14, 50, frame51);
}
function frame14(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SHOOT_BOMB");
}
function frame51(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "SHOOT_BOMB_END");
}
}
}//package MetalSlug_fla
Section 81
//sprite812_95 (MetalSlug_fla.sprite812_95)
package MetalSlug_fla {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class sprite812_95 extends MovieClip {
public var rc:MovieClip;
public function sprite812_95(){
addFrameScript(37, frame38);
}
function frame38(){
clsFla.onEndAnimation(MovieClip(this.parent).parentClass, "EXPLOIT");
}
}
}//package MetalSlug_fla
Section 82
//clsFla (clsFla)
package {
import com.megaman.framework.*;
import com.megaman.util.*;
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class clsFla {
public static var _nl260:Number = 0;
public static function onGame(_arg1:MovieClip):void{
_uu15._xk453 = _arg1;
_uu15._nd60 = new _iv173(_arg1);
_arg1.addEventListener(Event.ENTER_FRAME, update);
}
public static function _vi508():void{
_uu15._xk453.removeEventListener(Event.ENTER_FRAME, update);
}
public static function onTryAgain(_arg1:MovieClip):void{
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
_local2 = _uu15._gw288;
_local3 = int((_local2 / 10000));
_local2 = (_local2 % 10000);
_local4 = int((_local2 / 1000));
_local2 = (_local2 % 1000);
_local5 = int((_local2 / 100));
_local2 = (_local2 % 100);
_local6 = int((_local2 / 10));
_local7 = (_local2 % 10);
_arg1.mcScoreU.gotoAndStop((("N" + _local7) + ""));
_arg1.mcScoreD.gotoAndStop((("N" + _local6) + ""));
_arg1.mcScoreC.gotoAndStop((("N" + _local5) + ""));
_arg1.mcScoreM.gotoAndStop((("N" + _local4) + ""));
_arg1.mcScoreMl.gotoAndStop((("N" + _local3) + ""));
_arg1.btnReplay.addEventListener(MouseEvent.CLICK, _xj368);
}
private static function _cn166(_arg1:Object):void{
var _local2:*;
_local2 = (getTimer() - _nl260);
_nl260 = getTimer();
if (_arg1.mcFPS){
_arg1.mcFPS.txtValue.text = (int((1000 / _local2)) + irrcrpt("/51", 1));
};
}
public static function onEndAnimation(_arg1:Object, _arg2:String):void{
if (_arg1){
if (_uu15._nd60.state != _iv173._mb280){
_arg1.onEndAnimation(_arg2);
};
};
}
public static function update(_arg1:Event):void{
_uu15._nd60.update();
_cn166(_arg1.target);
}
public static function onLoadSound():void{
_uu15.sound = new _qk241();
_uu15._tq214 = new _pa198();
}
private static function _xj368(_arg1:MouseEvent):void{
_uu15._gw288 = 0;
_uu15._pc420 = 6;
_uu15._xk453.gotoAndStop(irrcrpt("Jdph", 3));
}
public static function onWin(_arg1:MovieClip):void{
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
_local2 = _uu15._gw288;
_local3 = int((_local2 / 10000));
_local2 = (_local2 % 10000);
_local4 = int((_local2 / 1000));
_local2 = (_local2 % 1000);
_local5 = int((_local2 / 100));
_local2 = (_local2 % 100);
_local6 = int((_local2 / 10));
_local7 = (_local2 % 10);
_arg1.mcScoreU.gotoAndStop((("N" + _local7) + ""));
_arg1.mcScoreD.gotoAndStop((("N" + _local6) + ""));
_arg1.mcScoreC.gotoAndStop((("N" + _local5) + ""));
_arg1.mcScoreM.gotoAndStop((("N" + _local4) + ""));
_arg1.mcScoreMl.gotoAndStop((("N" + _local3) + ""));
_arg1.btnReplay.addEventListener(MouseEvent.CLICK, _xj368);
}
}
}//package
Section 83
//irrcrpt (irrcrpt)
package {
public function irrcrpt(_arg1:String, _arg2:int):String{
var _local3:String;
var _local4:int;
var _local5:int;
_local3 = new String();
_local4 = 0;
while (_local4 < _arg1.length) {
_local5 = _arg1.charCodeAt(_local4);
if ((((_local5 >= 48)) && ((_local5 <= 57)))){
_local5 = ((_local5 - _arg2) - 48);
if (_local5 < 0){
_local5 = (_local5 + ((57 - 48) + 1));
};
_local5 = ((_local5 % ((57 - 48) + 1)) + 48);
} else {
if ((((_local5 >= 65)) && ((_local5 <= 90)))){
_local5 = ((_local5 - _arg2) - 65);
if (_local5 < 0){
_local5 = (_local5 + ((90 - 65) + 1));
};
_local5 = ((_local5 % ((90 - 65) + 1)) + 65);
} else {
if ((((_local5 >= 97)) && ((_local5 <= 122)))){
_local5 = ((_local5 - _arg2) - 97);
if (_local5 < 0){
_local5 = (_local5 + ((122 - 97) + 1));
};
_local5 = ((_local5 % ((122 - 97) + 1)) + 97);
};
};
};
_local3 = (_local3 + String.fromCharCode(_local5));
_local4++;
};
return (_local3);
}
}//package
Section 84
//mc_background_blue (mc_background_blue)
package {
import flash.display.*;
public dynamic class mc_background_blue extends MovieClip {
}
}//package
Section 85
//mcBatleTrunk (mcBatleTrunk)
package {
import flash.display.*;
public dynamic class mcBatleTrunk extends MovieClip {
public var collision:MovieClip;
}
}//package
Section 86
//mcBullet (mcBullet)
package {
import flash.display.*;
public dynamic class mcBullet extends MovieClip {
public var collision:MovieClip;
public function mcBullet(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 87
//mcBulletBomb (mcBulletBomb)
package {
import flash.display.*;
public dynamic class mcBulletBomb extends MovieClip {
public var collision:MovieClip;
public function mcBulletBomb(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 88
//mcBulletBombFly (mcBulletBombFly)
package {
import flash.display.*;
public dynamic class mcBulletBombFly extends MovieClip {
public var collision:MovieClip;
public function mcBulletBombFly(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 89
//mcBulletFire (mcBulletFire)
package {
import flash.display.*;
public dynamic class mcBulletFire extends MovieClip {
public var collision:MovieClip;
public function mcBulletFire(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 90
//mcCameraMan (mcCameraMan)
package {
import flash.display.*;
public dynamic class mcCameraMan extends MovieClip {
}
}//package
Section 91
//mcCamion (mcCamion)
package {
import flash.display.*;
public dynamic class mcCamion extends MovieClip {
public function mcCamion(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 92
//mcCollisionCamion (mcCollisionCamion)
package {
import flash.display.*;
public dynamic class mcCollisionCamion extends MovieClip {
}
}//package
Section 93
//mcCollisionCar (mcCollisionCar)
package {
import flash.display.*;
public dynamic class mcCollisionCar extends MovieClip {
}
}//package
Section 94
//mcCollisionPlataform1 (mcCollisionPlataform1)
package {
import flash.display.*;
public dynamic class mcCollisionPlataform1 extends MovieClip {
}
}//package
Section 95
//mcCollisionTaxi (mcCollisionTaxi)
package {
import flash.display.*;
public dynamic class mcCollisionTaxi extends MovieClip {
}
}//package
Section 96
//mcEnemyShooter (mcEnemyShooter)
package {
import flash.display.*;
public dynamic class mcEnemyShooter extends MovieClip {
public var collision:MovieClip;
public function mcEnemyShooter(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 97
//mcEnemySoldier (mcEnemySoldier)
package {
import flash.display.*;
public dynamic class mcEnemySoldier extends MovieClip {
public var collision:MovieClip;
}
}//package
Section 98
//mcMachineFly (mcMachineFly)
package {
import flash.display.*;
public dynamic class mcMachineFly extends MovieClip {
public var collision:MovieClip;
public function mcMachineFly(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 99
//mcMaskGame (mcMaskGame)
package {
import flash.display.*;
public dynamic class mcMaskGame extends Sprite {
}
}//package
Section 100
//mcPlataform1 (mcPlataform1)
package {
import flash.display.*;
public dynamic class mcPlataform1 extends MovieClip {
}
}//package
Section 101
//mcPlayer (mcPlayer)
package {
import flash.display.*;
public dynamic class mcPlayer extends MovieClip {
public var collision:MovieClip;
public var foot:MovieClip;
public var body:MovieClip;
}
}//package
Section 102
//mcRedCar (mcRedCar)
package {
import flash.display.*;
public dynamic class mcRedCar extends MovieClip {
public function mcRedCar(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 103
//mcScreen1_0_0 (mcScreen1_0_0)
package {
import flash.display.*;
public dynamic class mcScreen1_0_0 extends MovieClip {
public var mcCollision:MovieClip;
public function mcScreen1_0_0(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 104
//mcScreen1_0_1 (mcScreen1_0_1)
package {
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mcScreen1_0_1 extends MovieClip {
public var mcCollision:MovieClip;
public function mcScreen1_0_1(){
addFrameScript(0, frame1);
}
function frame1(){
MovieClip(this).mStopScreen = false;
}
}
}//package
Section 105
//mcScreen1_0_2 (mcScreen1_0_2)
package {
import adobe.utils.*;
import flash.accessibility.*;
import flash.display.*;
import flash.errors.*;
import flash.events.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.media.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class mcScreen1_0_2 extends MovieClip {
public var mcCollision:MovieClip;
public function mcScreen1_0_2(){
addFrameScript(0, frame1);
}
function frame1(){
this.mStopScreen = true;
}
}
}//package
Section 106
//mcScreen1_0_3 (mcScreen1_0_3)
package {
import flash.display.*;
public dynamic class mcScreen1_0_3 extends MovieClip {
public var mcCollision:MovieClip;
}
}//package
Section 107
//mcScreen1_0_4 (mcScreen1_0_4)
package {
import flash.display.*;
public dynamic class mcScreen1_0_4 extends MovieClip {
public var mcCollision:MovieClip;
}
}//package
Section 108
//mcScreen1_0_5 (mcScreen1_0_5)
package {
import flash.display.*;
public dynamic class mcScreen1_0_5 extends MovieClip {
public var mcCollision:MovieClip;
}
}//package
Section 109
//mcScreen1_0_6 (mcScreen1_0_6)
package {
import flash.display.*;
public dynamic class mcScreen1_0_6 extends MovieClip {
public var mcCollision:MovieClip;
}
}//package
Section 110
//mcScreen1_0_7 (mcScreen1_0_7)
package {
import flash.display.*;
public dynamic class mcScreen1_0_7 extends MovieClip {
public var mcCollision:MovieClip;
}
}//package
Section 111
//mcTaxiCar (mcTaxiCar)
package {
import flash.display.*;
public dynamic class mcTaxiCar extends MovieClip {
public function mcTaxiCar(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 112
//mcUI (mcUI)
package {
import flash.display.*;
public dynamic class mcUI extends MovieClip {
public var mcTextGo:MovieClip;
public var mcScoreC:MovieClip;
public var mcScoreM:MovieClip;
public var mcScoreU:MovieClip;
public var mcScoreMl:MovieClip;
public var mcScoreD:MovieClip;
public var mcNumberD:MovieClip;
public var mcLife:MovieClip;
public var mcNumberU:MovieClip;
}
}//package
Section 113
//MochiAd (MochiAd)
package {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import flash.system.*;
import flash.net.*;
public class MochiAd {
public static function getVersion():String{
return ("2.5");
}
public static function showClickAwayAd(_arg1:Object):void{
var DEFAULTS:Object;
var clip:Object;
var ad_timeout:Number;
var mc:MovieClip;
var wh:Array;
var w:Number;
var h:Number;
var chk:MovieClip;
var sendHostProgress:Boolean;
var options = _arg1;
DEFAULTS = {ad_timeout:2000, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function ():void{
}, ad_finished:function ():void{
}, ad_loaded:function (_arg1:Number, _arg2:Number):void{
}, ad_failed:function ():void{
}, ad_skipped:function ():void{
}};
options = MochiAd._parseOptions(options, DEFAULTS);
clip = options.clip;
ad_timeout = options.ad_timeout;
delete options.ad_timeout;
if (!(MochiAd.load(options))){
options.ad_failed();
options.ad_finished();
return;
};
options.ad_started();
mc = clip._mochiad;
mc["onUnload"] = function ():void{
MochiAd._cleanup(mc);
options.ad_finished();
};
wh = MochiAd._getRes(options, clip);
w = wh[0];
h = wh[1];
mc.x = (w * 0.5);
mc.y = (h * 0.5);
chk = createEmptyMovieClip(mc, "_mochiad_wait", 3);
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
mc.unloadAd = function ():void{
MochiAd.unload(clip);
};
mc.adLoaded = options.ad_loaded;
mc.adSkipped = options.ad_skipped;
mc.rpc = function (_arg1:Number, _arg2:Object):void{
MochiAd.rpc(clip, _arg1, _arg2);
};
sendHostProgress = false;
mc.regContLC = function (_arg1:String):void{
mc._containerLCName = _arg1;
};
chk["onEnterFrame"] = function ():void{
var _local1:Object;
var _local2:Number;
var _local3:Boolean;
var _local4:Number;
if (!(this.parent)){
delete this.onEnterFrame;
return;
};
_local1 = this.parent._mochiad_ctr;
_local2 = (getTimer() - this.started);
_local3 = false;
if (!(chk.showing)){
_local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal;
if (_local4 > 0){
chk.showing = true;
_local3 = true;
chk.started = getTimer();
} else {
if (_local2 > chk.ad_timeout){
options.ad_failed();
_local3 = true;
};
};
};
if (this.root == null){
_local3 = true;
};
if (_local3){
delete this.onEnterFrame;
};
};
doOnEnterFrame(chk);
}
public static function _isNetworkAvailable():Boolean{
return (!((Security.sandboxType == "localWithFile")));
}
public static function _allowDomains(_arg1:String):String{
var _local2:String;
_local2 = _arg1.split("/")[2].split(":")[0];
Security.allowDomain("*");
Security.allowDomain(_local2);
Security.allowInsecureDomain("*");
Security.allowInsecureDomain(_local2);
return (_local2);
}
public static function unload(_arg1:Object):Boolean{
if (((_arg1.clip) && (_arg1.clip._mochiad))){
_arg1 = _arg1.clip;
};
if (_arg1.origFrameRate != undefined){
_arg1.stage.frameRate = _arg1.origFrameRate;
};
if (!(_arg1._mochiad)){
return (false);
};
if (_arg1._mochiad._containerLCName != undefined){
_arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "notify", {id:"unload"});
};
if (_arg1._mochiad.onUnload){
_arg1._mochiad.onUnload();
};
delete _arg1._mochiad_loaded;
delete _arg1._mochiad;
return (true);
}
public static function showInterLevelAd(_arg1:Object):void{
var DEFAULTS:Object;
var clip:Object;
var ad_msec:Number;
var ad_timeout:Number;
var fadeout_time:Number;
var mc:MovieClip;
var wh:Array;
var w:Number;
var h:Number;
var chk:MovieClip;
var options = _arg1;
DEFAULTS = {ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function ():void{
if ((this.clip is MovieClip)){
this.clip.stop();
} else {
throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers."));
};
}, ad_finished:function ():void{
if ((this.clip is MovieClip)){
this.clip.play();
} else {
throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers."));
};
}, ad_loaded:function (_arg1:Number, _arg2:Number):void{
}, ad_failed:function ():void{
}, ad_skipped:function ():void{
}};
options = MochiAd._parseOptions(options, DEFAULTS);
clip = options.clip;
ad_msec = 11000;
ad_timeout = options.ad_timeout;
delete options.ad_timeout;
fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!(MochiAd.load(options))){
options.ad_failed();
options.ad_finished();
return;
};
options.ad_started();
mc = clip._mochiad;
mc["onUnload"] = function ():void{
MochiAd._cleanup(mc);
options.ad_finished();
};
wh = MochiAd._getRes(options, clip);
w = wh[0];
h = wh[1];
mc.x = (w * 0.5);
mc.y = (h * 0.5);
chk = createEmptyMovieClip(mc, "_mochiad_wait", 3);
chk.ad_msec = ad_msec;
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function ():void{
var _local1:Number;
if (!(this.parent)){
delete this.onEnterFrame;
delete this.fadeFunction;
return;
};
_local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)));
if (_local1 > 0){
this.parent.alpha = (_local1 * 0.01);
} else {
MochiAd.unload(clip);
delete this["onEnterFrame"];
};
};
mc.unloadAd = function ():void{
MochiAd.unload(clip);
};
mc.adLoaded = options.ad_loaded;
mc.adSkipped = options.ad_skipped;
mc.adjustProgress = function (_arg1:Number):void{
var _local2:Object;
_local2 = mc._mochiad_wait;
_local2.server_control = true;
_local2.showing = true;
_local2.started = getTimer();
_local2.ad_msec = (_arg1 - 250);
};
mc.rpc = function (_arg1:Number, _arg2:Object):void{
MochiAd.rpc(clip, _arg1, _arg2);
};
chk["onEnterFrame"] = function ():void{
var _local1:Object;
var _local2:Number;
var _local3:Boolean;
var _local4:Number;
if (!(this.parent)){
delete this.onEnterFrame;
delete this.fadeFunction;
return;
};
_local1 = this.parent._mochiad_ctr;
_local2 = (getTimer() - this.started);
_local3 = false;
if (!(chk.showing)){
_local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal;
if (_local4 > 0){
chk.showing = true;
chk.started = getTimer();
MochiAd.adShowing(clip);
} else {
if (_local2 > chk.ad_timeout){
options.ad_failed();
_local3 = true;
};
};
};
if (_local2 > chk.ad_msec){
_local3 = true;
};
if (_local3){
if (this.server_control){
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
};
};
};
doOnEnterFrame(chk);
}
public static function _parseOptions(_arg1:Object, _arg2:Object):Object{
var _local3:Object;
var _local4:String;
var _local5:Array;
var _local6:Number;
var _local7:Array;
_local3 = {};
for (_local4 in _arg2) {
_local3[_local4] = _arg2[_local4];
};
if (_arg1){
for (_local4 in _arg1) {
_local3[_local4] = _arg1[_local4];
};
};
if (_local3.clip == undefined){
throw (new Error("MochiAd is missing the 'clip' parameter. This should be a MovieClip, Sprite or an instance of a class that extends MovieClip or Sprite."));
};
_arg1 = _local3.clip.loaderInfo.parameters.mochiad_options;
if (_arg1){
_local5 = _arg1.split("&");
_local6 = 0;
while (_local6 < _local5.length) {
_local7 = _local5[_local6].split("=");
_local3[unescape(_local7[0])] = unescape(_local7[1]);
_local6++;
};
};
if (_local3.id == "test"){
};
return (_local3);
}
public static function _cleanup(_arg1:Object):void{
var idx:Number;
var k:String;
var lc:LocalConnection;
var f:Function;
var mc = _arg1;
if (("lc" in mc)){
lc = mc.lc;
f = function ():void{
try {
lc.client = null;
lc.close();
} catch(e:Error) {
};
};
setTimeout(f, 0);
};
idx = DisplayObjectContainer(mc).numChildren;
while (idx > 0) {
idx = (idx - 1);
DisplayObjectContainer(mc).removeChildAt(idx);
};
for (k in mc) {
delete mc[k];
};
}
public static function load(_arg1:Object):MovieClip{
var DEFAULTS:Object;
var clip:Object;
var depth:Number;
var mc:MovieClip;
var wh:Array;
var lv:URLVariables;
var k:String;
var server:String;
var hostname:String;
var lc:LocalConnection;
var name:String;
var loader:Loader;
var g:Function;
var req:URLRequest;
var v:Object;
var options = _arg1;
DEFAULTS = {server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = MochiAd._parseOptions(options, DEFAULTS);
options.swfv = 9;
options.mav = MochiAd.getVersion();
clip = options.clip;
if (!(MochiAd._isNetworkAvailable())){
return (null);
};
try {
if (clip._mochiad_loaded){
return (null);
};
} catch(e:Error) {
throw (new Error("MochiAd requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic."));
};
depth = options.depth;
delete options.depth;
mc = createEmptyMovieClip(clip, "_mochiad", depth);
wh = MochiAd._getRes(options, clip);
options.res = ((wh[0] + "x") + wh[1]);
options.server = (options.server + options.id);
delete options.id;
clip._mochiad_loaded = true;
if (clip.loaderInfo.loaderURL.indexOf("http") == 0){
options.as3_swf = clip.loaderInfo.loaderURL;
};
lv = new URLVariables();
for (k in options) {
v = options[k];
if (!((v is Function))){
lv[k] = v;
};
};
server = lv.server;
delete lv.server;
hostname = _allowDomains(server);
lc = new LocalConnection();
lc.client = mc;
name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_");
lc.allowDomain("*", "localhost");
lc.allowInsecureDomain("*", "localhost");
lc.connect(name);
mc.lc = lc;
mc.lcName = name;
lv.lc = name;
lv.st = getTimer();
loader = new Loader();
g = function (_arg1:Object):void{
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
MochiAd.unload(clip);
};
loader.contentLoaderInfo.addEventListener(Event.UNLOAD, g);
req = new URLRequest((server + ".swf"));
req.contentType = "application/x-www-form-urlencoded";
req.method = URLRequestMethod.POST;
req.data = lv;
loader.load(req);
mc.addChild(loader);
mc._mochiad_ctr = loader;
return (mc);
}
public static function runMethod(_arg1:Object, _arg2:String, _arg3:Array):Object{
var _local4:Array;
var _local5:Number;
_local4 = _arg2.split(".");
_local5 = 0;
while (_local5 < (_local4.length - 1)) {
if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){
return (undefined);
};
_arg1 = _arg1[_local4[_local5]];
_local5++;
};
if (typeof(_arg1[_local4[_local5]]) == "function"){
return (_arg1[_local4[_local5]].apply(_arg1, _arg3));
};
return (undefined);
}
public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number):MovieClip{
var _local4:MovieClip;
_local4 = new MovieClip();
if (((false) && (_arg3))){
_arg1.addChildAt(_local4, _arg3);
} else {
_arg1.addChild(_local4);
};
_arg1[_arg2] = _local4;
_local4["_name"] = _arg2;
return (_local4);
}
public static function _getRes(_arg1:Object, _arg2:Object):Array{
var _local3:Object;
var _local4:Number;
var _local5:Number;
var _local6:Array;
_local3 = _arg2.getBounds(_arg2.root);
_local4 = 0;
_local5 = 0;
if (typeof(_arg1.res) != "undefined"){
_local6 = _arg1.res.split("x");
_local4 = parseFloat(_local6[0]);
_local5 = parseFloat(_local6[1]);
} else {
_local4 = (_local3.xMax - _local3.xMin);
_local5 = (_local3.yMax - _local3.yMin);
};
if ((((_local4 == 0)) || ((_local5 == 0)))){
_local4 = _arg2.stage.stageWidth;
_local5 = _arg2.stage.stageHeight;
};
return ([_local4, _local5]);
}
public static function adShowing(_arg1:Object):void{
_arg1.origFrameRate = _arg1.stage.frameRate;
_arg1.stage.frameRate = 30;
}
public static function getValue(_arg1:Object, _arg2:String):Object{
var _local3:Array;
var _local4:Number;
_local3 = _arg2.split(".");
_local4 = 0;
while (_local4 < (_local3.length - 1)) {
if ((((_arg1[_local3[_local4]] == undefined)) || ((_arg1[_local3[_local4]] == null)))){
return (undefined);
};
_arg1 = _arg1[_local3[_local4]];
_local4++;
};
return (_arg1[_local3[_local4]]);
}
public static function rpc(_arg1:Object, _arg2:Number, _arg3:Object):void{
var _local4:Object;
var _local5:Object;
switch (_arg3.id){
case "setValue":
MochiAd.setValue(_arg1, _arg3.objectName, _arg3.value);
break;
case "getValue":
_local4 = MochiAd.getValue(_arg1, _arg3.objectName);
_arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local4);
break;
case "runMethod":
_local5 = MochiAd.runMethod(_arg1, _arg3.method, _arg3.args);
_arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local5);
break;
};
}
public static function setValue(_arg1:Object, _arg2:String, _arg3:Object):void{
var _local4:Array;
var _local5:Number;
_local4 = _arg2.split(".");
_local5 = 0;
while (_local5 < (_local4.length - 1)) {
if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){
return;
};
_arg1 = _arg1[_local4[_local5]];
_local5++;
};
_arg1[_local4[_local5]] = _arg3;
}
public static function showPreGameAd(_arg1:Object):void{
var DEFAULTS:Object;
var clip:Object;
var ad_msec:Number;
var ad_timeout:Number;
var fadeout_time:Number;
var mc:MovieClip;
var wh:Array;
var w:Number;
var h:Number;
var chk:MovieClip;
var bar:MovieClip;
var bar_color:Number;
var bar_background:Number;
var bar_outline:Number;
var backing_mc:MovieClip;
var backing:Object;
var inside_mc:MovieClip;
var inside:Object;
var outline_mc:MovieClip;
var outline:Object;
var complete:Boolean;
var unloaded:Boolean;
var f:Function;
var sendHostProgress:Boolean;
var r:MovieClip;
var options = _arg1;
DEFAULTS = {ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:0xFF8A00, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function ():void{
if ((this.clip is MovieClip)){
this.clip.stop();
} else {
throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers."));
};
}, ad_finished:function ():void{
if ((this.clip is MovieClip)){
this.clip.play();
} else {
throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers."));
};
}, ad_loaded:function (_arg1:Number, _arg2:Number):void{
}, ad_failed:function ():void{
}, ad_skipped:function ():void{
}, ad_progress:function (_arg1:Number):void{
}};
options = MochiAd._parseOptions(options, DEFAULTS);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def"){
options.ad_started();
setTimeout(options.ad_finished, 100);
return;
};
clip = options.clip;
ad_msec = 11000;
ad_timeout = options.ad_timeout;
delete options.ad_timeout;
fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!(MochiAd.load(options))){
options.ad_failed();
options.ad_finished();
return;
};
options.ad_started();
mc = clip._mochiad;
mc["onUnload"] = function ():void{
var fn:Function;
MochiAd._cleanup(mc);
fn = function ():void{
options.ad_finished();
};
setTimeout(fn, 100);
};
wh = MochiAd._getRes(options, clip);
w = wh[0];
h = wh[1];
mc.x = (w * 0.5);
mc.y = (h * 0.5);
chk = createEmptyMovieClip(mc, "_mochiad_wait", 3);
chk.x = (w * -0.5);
chk.y = (h * -0.5);
bar = createEmptyMovieClip(chk, "_mochiad_bar", 4);
if (options.no_progress_bar){
bar.visible = false;
delete options.no_progress_bar;
} else {
bar.x = 10;
bar.y = (h - 20);
};
bar_color = options.color;
delete options.color;
bar_background = options.background;
delete options.background;
bar_outline = options.outline;
delete options.outline;
backing_mc = createEmptyMovieClip(bar, "_outline", 1);
backing = backing_mc.graphics;
backing.beginFill(bar_background);
backing.moveTo(0, 0);
backing.lineTo((w - 20), 0);
backing.lineTo((w - 20), 10);
backing.lineTo(0, 10);
backing.lineTo(0, 0);
backing.endFill();
inside_mc = createEmptyMovieClip(bar, "_inside", 2);
inside = inside_mc.graphics;
inside.beginFill(bar_color);
inside.moveTo(0, 0);
inside.lineTo((w - 20), 0);
inside.lineTo((w - 20), 10);
inside.lineTo(0, 10);
inside.lineTo(0, 0);
inside.endFill();
inside_mc.scaleX = 0;
outline_mc = createEmptyMovieClip(bar, "_outline", 3);
outline = outline_mc.graphics;
outline.lineStyle(0, bar_outline, 100);
outline.moveTo(0, 0);
outline.lineTo((w - 20), 0);
outline.lineTo((w - 20), 10);
outline.lineTo(0, 10);
outline.lineTo(0, 0);
chk.ad_msec = ad_msec;
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function ():void{
var _local1:Number;
_local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)));
if (_local1 > 0){
this.parent.alpha = (_local1 * 0.01);
} else {
MochiAd.unload(clip);
delete this["onEnterFrame"];
};
};
complete = false;
unloaded = false;
f = function (_arg1:Event):void{
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
complete = true;
if (unloaded){
MochiAd.unload(clip);
};
};
clip.loaderInfo.addEventListener(Event.COMPLETE, f);
if ((clip.root is MovieClip)){
r = (clip.root as MovieClip);
if (r.framesLoaded >= r.totalFrames){
complete = true;
};
};
mc.unloadAd = function ():void{
unloaded = true;
if (complete){
MochiAd.unload(clip);
};
};
mc.adLoaded = options.ad_loaded;
mc.adSkipped = options.ad_skipped;
mc.adjustProgress = function (_arg1:Number):void{
var _local2:Object;
_local2 = mc._mochiad_wait;
_local2.server_control = true;
_local2.showing = true;
_local2.started = getTimer();
_local2.ad_msec = _arg1;
};
mc.rpc = function (_arg1:Number, _arg2:Object):void{
MochiAd.rpc(clip, _arg1, _arg2);
};
mc.rpcTestFn = function (_arg1:String):Object{
return (_arg1);
};
mc.regContLC = function (_arg1:String):void{
mc._containerLCName = _arg1;
};
sendHostProgress = false;
mc.sendHostLoadProgress = function (_arg1:String):void{
sendHostProgress = true;
};
chk["onEnterFrame"] = function ():void{
var _local1:Object;
var _local2:Object;
var _local3:Number;
var _local4:Boolean;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Object;
var _local10:Number;
var _local11:Number;
if (((!(this.parent)) || (!(this.parent.parent)))){
delete this["onEnterFrame"];
return;
};
_local1 = this.parent.parent.root;
_local2 = this.parent._mochiad_ctr;
_local3 = (getTimer() - this.started);
_local4 = false;
_local5 = _local1.loaderInfo.bytesTotal;
_local6 = _local1.loaderInfo.bytesLoaded;
if (complete){
_local6 = Math.max(1, _local6);
_local5 = _local6;
};
_local7 = ((100 * _local6) / _local5);
_local8 = ((100 * _local3) / chk.ad_msec);
_local9 = this._mochiad_bar._inside;
_local10 = Math.min(100, Math.min(((_local7) || (0)), _local8));
_local10 = Math.max(this.last_pcnt, _local10);
this.last_pcnt = _local10;
_local9.scaleX = (_local10 * 0.01);
options.ad_progress(_local10);
if (sendHostProgress){
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local7});
if (_local7 == 100){
sendHostProgress = false;
};
};
if (!(chk.showing)){
_local11 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal;
if (_local11 > 0){
chk.showing = true;
chk.started = getTimer();
MochiAd.adShowing(clip);
} else {
if ((((_local3 > chk.ad_timeout)) && ((_local7 == 100)))){
options.ad_failed();
_local4 = true;
};
};
};
if (_local3 > chk.ad_msec){
_local4 = true;
};
if (((complete) && (_local4))){
if (this.server_control){
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
};
};
};
doOnEnterFrame(chk);
}
public static function showPreloaderAd(_arg1:Object):void{
MochiAd.showPreGameAd(_arg1);
}
public static function showTimedAd(_arg1:Object):void{
MochiAd.showInterLevelAd(_arg1);
}
public static function doOnEnterFrame(_arg1:MovieClip):void{
var f:Function;
var mc = _arg1;
f = function (_arg1:Object):void{
if (((("onEnterFrame" in mc)) && (mc.onEnterFrame))){
mc.onEnterFrame();
} else {
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
};
};
mc.addEventListener(Event.ENTER_FRAME, f);
}
}
}//package
Section 114
//sdBereta3 (sdBereta3)
package {
import flash.media.*;
public dynamic class sdBereta3 extends Sound {
}
}//package
Section 115
//sdCollBullet (sdCollBullet)
package {
import flash.media.*;
public dynamic class sdCollBullet extends Sound {
}
}//package
Section 116
//sdDeadEnemyShoot (sdDeadEnemyShoot)
package {
import flash.media.*;
public dynamic class sdDeadEnemyShoot extends Sound {
}
}//package
Section 117
//sdDeadPlayer (sdDeadPlayer)
package {
import flash.media.*;
public dynamic class sdDeadPlayer extends Sound {
}
}//package
Section 118
//sdDeadPlayer2 (sdDeadPlayer2)
package {
import flash.media.*;
public dynamic class sdDeadPlayer2 extends Sound {
}
}//package
Section 119
//sdDesert (sdDesert)
package {
import flash.media.*;
public dynamic class sdDesert extends Sound {
}
}//package
Section 120
//sdExplotion1 (sdExplotion1)
package {
import flash.media.*;
public dynamic class sdExplotion1 extends Sound {
}
}//package
Section 121
//sdMainTheme (sdMainTheme)
package {
import flash.media.*;
public dynamic class sdMainTheme extends Sound {
}
}//package
Section 122
//sdShootFlyBomber (sdShootFlyBomber)
package {
import flash.media.*;
public dynamic class sdShootFlyBomber extends Sound {
}
}//package
Section 123
//sdShootTruck (sdShootTruck)
package {
import flash.media.*;
public dynamic class sdShootTruck extends Sound {
}
}//package
Section 124
//sdViewPlayer (sdViewPlayer)
package {
import flash.media.*;
public dynamic class sdViewPlayer extends Sound {
}
}//package