Section 1
//Appearance (mp3D.Appearance)
package mp3D {
public class Appearance {
private var yj4:uint;
private var va0:Boolean;
private var zb362:Boolean;
private var dk2:int;
private var yh5:int;
private var nl3:Boolean;
public static const SHADE_SMOOTH:int = 1;
public static const CULL_BACK:int = -1;
public static const SHADE_FLAT:int = 0;
public static const CULL_FRONT:int = 1;
public function Appearance(_arg1:Boolean, _arg2:Boolean, _arg3:Boolean, _arg4:int, _arg5:int){
this.va0 = _arg1;
this.nl3 = _arg2;
this.zb362 = _arg3;
this.dk2 = _arg4;
this.yh5 = _arg5;
}
public function wt345():void{
if (this.va0){
MPGL.e7(mpvar.ac161);
} else {
MPGL.a8(mpvar.ac161);
};
if (this.zb362){
MPGL.e7(mpvar.su160);
} else {
MPGL.a8(mpvar.su160);
};
MPGL.m6(this.dk2);
if (this.nl3){
MPGL.e7(mpvar.pp159);
} else {
MPGL.a8(mpvar.pp159);
};
}
}
}//package mp3D
Section 2
//MPGL (mp3D.MPGL)
package mp3D {
import flash.display.*;
import flash.geom.*;
public class MPGL {
private static var ke19:Array = new Array();
private static var io30:Number;
private static var ux12:uint = mpvar.so155;
private static var xj7:uint = 0xFFFFFF;
private static var oo18:int = 0;
private static var ku10:uint = mpvar.ym150;
private static var dk2:uint = 0;
private static var jw31:Number;
private static var gq17:Boolean = true;
private static var oa23:Number;
private static var yh21:BitmapData;
private static var ay32:Number;
private static var nk9:Array = new Array(16);
private static var aa42:Array = new Array(4);
private static var xz13:int = 0;
private static var nm16:Boolean = false;
private static var bm15:Boolean = true;
private static var sc35:Array = new Array(4);
private static var rc26:Number;
private static var tl20:uint;
private static var zq25:Number;
private static var nk22:Matrix = new Matrix(1, 0, 0, 1, 0, 0);
private static var yz33:Number;
private static var dd27:Number;
private static var mp36:Array = new Array(4);
private static var fi6:Boolean = false;
private static var sw8:Array = new Array(16);
private static var bf41:Array = new Array(4);
private static var ug24:Number;
private static var pv34:Number;
private static var fn11:uint = mpvar.rn148;
private static var rz14:int = 0;
private static var iu28:Number;
private static var te29:Number;
private static function s21(_arg1:int, _arg2:int, _arg3:int):void{
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Number;
var _local15:Number;
_local8 = mp36[_arg1][0];
_local9 = mp36[_arg1][1];
_local4 = mp36[_arg2][0];
_local6 = mp36[_arg3][0];
_local5 = mp36[_arg2][1];
_local7 = mp36[_arg3][1];
_local4 = (_local4 - _local8);
_local6 = (_local6 - _local8);
_local5 = (_local5 - _local9);
_local7 = (_local7 - _local9);
_local10 = (1 / ((_local4 * _local7) - (_local5 * _local6)));
_local11 = (_local7 * _local10);
_local7 = (_local4 * _local10);
_local5 = (-(_local5) * _local10);
_local6 = (-(_local6) * _local10);
_local4 = _local11;
_local11 = ((-(_local8) * _local4) - (_local9 * _local6));
_local9 = ((-(_local8) * _local5) - (_local9 * _local7));
_local8 = _local11;
_local10 = sc35[_arg1][0];
_local11 = sc35[_arg1][1];
_local12 = sc35[_arg2][0];
_local13 = sc35[_arg2][1];
_local14 = sc35[_arg3][0];
_local15 = sc35[_arg3][1];
_local12 = (_local12 - _local10);
_local13 = (_local13 - _local11);
_local14 = (_local14 - _local10);
_local15 = (_local15 - _local11);
nk22.a = ((_local4 * _local12) + (_local5 * _local14));
nk22.b = ((_local4 * _local13) + (_local5 * _local15));
nk22.c = ((_local6 * _local12) + (_local7 * _local14));
nk22.d = ((_local6 * _local13) + (_local7 * _local15));
nk22.tx = (((_local12 * _local8) + (_local14 * _local9)) + _local10);
nk22.ty = (((_local13 * _local8) + (_local15 * _local9)) + _local11);
}
public static function f13(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void{
te29 = Number(_arg1);
io30 = Number(_arg2);
jw31 = Number(_arg3);
ay32 = Number(_arg4);
yz33 = (jw31 / (ug24 - oa23));
pv34 = (ay32 / (rc26 - zq25));
}
public static function l12(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
var _local5:int;
var _local6:int;
var _local7:int;
oa23 = _arg1;
ug24 = _arg2;
zq25 = _arg3;
rc26 = _arg4;
_local7 = 0;
while (_local7 < 16) {
_local5 = (_local7 / 4);
_local6 = (_local7 % 4);
if (_local5 == _local6){
nk9[_local7] = 1;
} else {
nk9[_local7] = 0;
};
_local7++;
};
yz33 = (jw31 / (ug24 - oa23));
pv34 = (ay32 / (rc26 - zq25));
}
public static function n11(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
var _local5:int;
var _local6:int;
var _local7:int;
rc26 = Math.abs((_arg3 * Math.tan((((_arg1 * 0.5) * mpvar.xm164) / 180))));
zq25 = -(rc26);
ug24 = (rc26 * _arg2);
oa23 = -(ug24);
dd27 = _arg3;
iu28 = _arg4;
_local7 = 0;
while (_local7 < 16) {
_local5 = (_local7 / 4);
_local6 = (_local7 % 4);
if (_local5 == _local6){
nk9[_local7] = 1;
} else {
nk9[_local7] = 0;
};
if ((((_local6 == 3)) && ((_local5 == 2)))){
nk9[_local7] = (1 / dd27);
};
_local7++;
};
yz33 = (jw31 / (ug24 - oa23));
pv34 = (ay32 / (rc26 - zq25));
}
public static function hw1105(_arg1:Boolean):void{
fi6 = _arg1;
}
public static function l10(_arg1:Array):void{
var _local2:int;
_local2 = 0;
while (_local2 < 16) {
if (ku10 == mpvar.ym150){
sw8[_local2] = _arg1[_local2];
} else {
nk9[_local2] = _arg1[_local2];
};
_local2++;
};
}
public static function h1(_arg1:BitmapData):uint{
var _local2:int;
var _local3:uint;
_local2 = 0;
while (true) {
if (ke19[_local2] == null){
_local3 = (_local2 as uint);
ke19[_local2] = _arg1.clone();
break;
};
_local2++;
};
return (_local3);
}
public static function h4(_arg1:uint):void{
xj7 = _arg1;
}
public static function g24(_arg1:VertexBuffer, _arg2:TriangleStripArray, _arg3:Graphics):void{
var _local4:Array;
var _local5:Array;
var _local6:Array;
var _local7:int;
var _local8:Array;
var _local9:int;
var _local10:int;
var _local11:int;
var _local12:int;
var _local13:uint;
var _local14:int;
var _local15:int;
var _local16:int;
var _local17:int;
var _local18:Sprite;
var _local19:int;
var _local20:int;
var _local21:Number;
var _local22:Number;
var _local23:Number;
var _local24:Number;
var _local25:Array;
var _local26:Number;
var _local27:Number;
var _local28:Number;
var _local29:Number;
_local4 = _arg1.wd187.tj184;
_local5 = _arg1.yd188.tj184;
_local6 = _arg2.xy183;
_local7 = _arg2.dq181;
_local8 = _arg2.yo182;
_local22 = _arg1.hp194[0];
_local23 = _arg1.hp194[1];
_local21 = _arg1.ph192;
_local25 = _arg1.kw195;
_local24 = _arg1.oo193;
_local19 = 0;
_local20 = 0;
_local11 = 0;
while (_local11 < _local7) {
_local9 = _local8[_local11];
_local10 = (_local9 - 2);
_local13 = _local6[_local11];
tl20 = _local13;
yh21 = BitmapData(ke19[tl20]);
_local26 = (Number(yh21.width) * _local24);
_local27 = (Number(yh21.height) * _local24);
_local12 = 0;
while (_local12 < _local9) {
_local14 = (((_local12 - 2) + 3) % 3);
_local15 = (((_local12 - 1) + 3) % 3);
_local16 = (_local12 % 3);
_local17 = _local16;
var _temp1 = _local20;
_local20 = (_local20 + 1);
_local28 = ((_local4[_temp1] * _local21) + _local22);
var _temp2 = _local20;
_local20 = (_local20 + 1);
_local29 = ((_local4[_temp2] * _local21) + _local23);
_local20++;
sc35[_local17][0] = (te29 + ((_local28 - oa23) * yz33));
sc35[_local17][1] = ((io30 + ay32) - ((_local29 - zq25) * pv34));
var _temp3 = _local19;
_local19 = (_local19 + 1);
mp36[_local17][0] = (_local5[_temp3] * _local26);
var _temp4 = _local19;
_local19 = (_local19 + 1);
mp36[_local17][1] = ((1 - _local5[_temp4]) * _local27);
if (_local12 >= 2){
s21(_local14, _local15, _local16);
if (fi6){
_arg3.lineStyle(0.7, xj7, 0.7, true, "normal", null, null, 3);
} else {
_arg3.lineStyle();
_arg3.beginBitmapFill(yh21, nk22, false, true);
};
_arg3.moveTo(sc35[_local14][0], sc35[_local14][1]);
_arg3.lineTo(sc35[_local15][0], sc35[_local15][1]);
_arg3.lineTo(sc35[_local16][0], sc35[_local16][1]);
if (fi6){
_arg3.lineTo(sc35[_local14][0], sc35[_local14][1]);
} else {
_arg3.endFill();
};
};
_local12++;
};
_local11++;
};
}
public static function u5(_arg1:uint):void{
if (((!((_arg1 == mpvar.ym150))) && (!((_arg1 == mpvar.mt151))))){
ku10 = mpvar.ym150;
} else {
ku10 = _arg1;
};
}
public static function q2(_arg1:Sprite):void{
var _local2:int;
_local2 = 0;
while (_local2 < 4) {
sc35[_local2] = new Array(4);
mp36[_local2] = new Array(3);
_local2++;
};
fi6 = false;
}
public static function m6(_arg1:uint):void{
if (_arg1 == mpvar.ba162){
dk2 = mpvar.ba162;
} else {
if (_arg1 == mpvar.zu163){
dk2 = mpvar.zu163;
} else {
dk2 = mpvar.zu163;
};
};
}
public static function y9():void{
var _local1:int;
var _local2:int;
var _local3:int;
_local3 = 0;
while (_local3 < 16) {
_local1 = (_local3 / 4);
_local2 = (_local3 % 4);
if (ku10 == mpvar.ym150){
if (_local1 == _local2){
sw8[_local3] = 1;
} else {
sw8[_local3] = 0;
};
} else {
if (_local1 == _local2){
nk9[_local3] = 1;
} else {
nk9[_local3] = 0;
};
};
_local3++;
};
}
public static function g25(_arg1:VertexBuffer, _arg2:TriangleStripArray, _arg3:Graphics):void{
var _local4:Array;
var _local5:Array;
var _local6:Array;
var _local7:int;
var _local8:Array;
var _local9:int;
var _local10:int;
var _local11:int;
var _local12:int;
var _local13:uint;
var _local14:int;
var _local15:int;
var _local16:int;
var _local17:int;
var _local18:int;
var _local19:int;
var _local20:Sprite;
var _local21:int;
var _local22:int;
var _local23:Number;
var _local24:Number;
var _local25:Number;
var _local26:Number;
var _local27:Array;
var _local28:Number;
var _local29:Number;
var _local30:Number;
var _local31:Number;
var _local32:int;
_local4 = _arg1.wd187.tj184;
_local5 = _arg1.yd188.tj184;
_local6 = _arg2.xy183;
_local7 = _arg2.dq181;
_local8 = _arg2.yo182;
_local24 = _arg1.hp194[0];
_local25 = _arg1.hp194[1];
_local23 = _arg1.ph192;
_local27 = _arg1.kw195;
_local26 = _arg1.oo193;
_local21 = 0;
_local22 = 0;
_local11 = 0;
while (_local11 < _local7) {
_local9 = _local8[_local11];
_local10 = (_local9 - 2);
_local13 = _local6[_local11];
tl20 = _local13;
yh21 = BitmapData(ke19[tl20]);
_local28 = (Number(yh21.width) * _local26);
_local29 = (Number(yh21.height) * _local26);
_local12 = 0;
while (_local12 < (_local9 / 2)) {
_local32 = (_local12 & 1);
if (_local32 == 0){
_local18 = 0;
_local19 = 1;
} else {
_local18 = 3;
_local19 = 2;
};
var _temp1 = _local22;
_local22 = (_local22 + 1);
_local30 = ((_local4[_temp1] * _local23) + _local24);
var _temp2 = _local22;
_local22 = (_local22 + 1);
_local31 = ((_local4[_temp2] * _local23) + _local25);
_local22++;
sc35[_local18][0] = (te29 + ((_local30 - oa23) * yz33));
sc35[_local18][1] = ((io30 + ay32) - ((_local31 - zq25) * pv34));
var _temp3 = _local21;
_local21 = (_local21 + 1);
mp36[_local18][0] = (_local5[_temp3] * _local28);
var _temp4 = _local21;
_local21 = (_local21 + 1);
mp36[_local18][1] = ((1 - _local5[_temp4]) * _local29);
var _temp5 = _local22;
_local22 = (_local22 + 1);
_local30 = ((_local4[_temp5] * _local23) + _local24);
var _temp6 = _local22;
_local22 = (_local22 + 1);
_local31 = ((_local4[_temp6] * _local23) + _local25);
_local22++;
sc35[_local19][0] = (te29 + ((_local30 - oa23) * yz33));
sc35[_local19][1] = ((io30 + ay32) - ((_local31 - zq25) * pv34));
var _temp7 = _local21;
_local21 = (_local21 + 1);
mp36[_local19][0] = (_local5[_temp7] * _local28);
var _temp8 = _local21;
_local21 = (_local21 + 1);
mp36[_local19][1] = ((1 - _local5[_temp8]) * _local29);
if (_local12 >= 1){
_local14 = 0;
_local15 = 1;
_local16 = 2;
_local17 = 3;
s21(_local14, _local15, _local16);
if (fi6){
_arg3.lineStyle(0.7, xj7, 0.7, true, "normal", null, null, 3);
} else {
_arg3.lineStyle();
_arg3.beginBitmapFill(yh21, nk22, false, true);
};
_arg3.moveTo(sc35[_local14][0], sc35[_local14][1]);
_arg3.lineTo(sc35[_local15][0], sc35[_local15][1]);
_arg3.lineTo(sc35[_local16][0], sc35[_local16][1]);
_arg3.lineTo(sc35[_local17][0], sc35[_local17][1]);
if (fi6){
_arg3.lineTo(sc35[_local14][0], sc35[_local14][1]);
} else {
_arg3.endFill();
};
};
_local12++;
};
_local11++;
};
}
public static function a8(_arg1:uint):void{
switch (_arg1){
case mpvar.pp159:
bm15 = false;
break;
case mpvar.su160:
nm16 = false;
break;
case mpvar.ac161:
gq17 = false;
break;
default:
break;
};
}
public static function e7(_arg1:uint):void{
switch (_arg1){
case mpvar.pp159:
bm15 = true;
break;
case mpvar.su160:
nm16 = true;
break;
case mpvar.ac161:
gq17 = true;
break;
default:
break;
};
}
}
}//package mp3D
Section 3
//mpvar (mp3D.mpvar)
package mp3D {
public class mpvar {
public static var mt151:uint = 1;
public static var ar178:int = 13;
public static var su160:uint = 1;
public static var io143:int = 0;
public static var bd153:uint = 1;
public static var ba162:uint = 0;
public static var un170:int = 53;
public static var np158:uint = 0xFF;
public static var zu163:uint = 1;
public static var pp159:uint = 0;
public static var mb172:int = 55;
public static var ct166:int = 49;
public static var av149:uint = 1;
public static var gj176:int = 32;
public static var xm164:Number = 3.14159265358979;
public static var sz147:int = 11;
public static var hl167:int = 50;
public static var so155:uint = 3;
public static var rp169:int = 52;
public static var rq138:int = 0x1000;
public static var pf142:int = 12;
public static var rn148:uint = 0;
public static var mo179:int = 9;
public static var ac161:uint = 2;
public static var he165:int = 48;
public static var pp173:int = 56;
public static var ji141:int = 0x2000;
public static var op177:int = 10;
public static var eg168:int = 51;
public static var uv157:uint = 5;
public static var qt175:int = 46;
public static var we174:int = 57;
public static var kd171:int = 54;
public static var zi140:int = 0x0800;
public static var ne144:int = 0x0800;
public static var dp146:int = 0x0400;
public static var co139:Number = 0x1000;
public static var em156:uint = 4;
public static var ed145:Number = 0x0800;
public static var ym150:uint = 0;
public static var zq154:uint = 2;
public static var at152:uint = 0;
public static function w35(_arg1:int):Boolean{
if ((((_arg1 == gj176)) || ((_arg1 == mo179)))){
return (true);
};
return (false);
}
public static function f36(_arg1:int):Boolean{
if ((((_arg1 == op177)) || ((_arg1 == ar178)))){
return (true);
};
return (false);
}
public static function u33(_arg1:int):Boolean{
if ((((_arg1 >= he165)) && ((_arg1 <= we174)))){
return (true);
};
return (false);
}
public static function x34(_arg1:int):Boolean{
if (_arg1 == qt175){
return (true);
};
return (false);
}
public static function n37(_arg1:int):Boolean{
return (((w35(_arg1)) || (f36(_arg1))));
}
}
}//package mp3D
Section 4
//Renderer (mp3D.Renderer)
package mp3D {
import flash.display.*;
public class Renderer {
private var wz180:Appearance;
public function o39(_arg1:VertexBuffer, _arg2:TriangleStripArray, _arg3:Graphics):void{
MPGL.g24(_arg1, _arg2, _arg3);
}
public function f38(_arg1:Appearance):void{
this.wz180 = _arg1;
this.wz180.wt345();
}
public function z40(_arg1:VertexBuffer, _arg2:TriangleStripArray, _arg3:Graphics):void{
MPGL.g25(_arg1, _arg2, _arg3);
}
}
}//package mp3D
Section 5
//TriangleStripArray (mp3D.TriangleStripArray)
package mp3D {
public class TriangleStripArray {
public var yo182:Array;
public var xy183:Array;
public var dq181:int;
public function TriangleStripArray(_arg1:int, _arg2:Array, _arg3:Array){
var _local4:int;
var _local5:int;
super();
this.dq181 = _arg1;
this.yo182 = _arg2;
this.xy183 = _arg3;
_local4 = 0;
while (_local4 < _arg1) {
_local5 = (int(yo182[_local4]) - 2);
_local4++;
};
}
}
}//package mp3D
Section 6
//VertexArray (mp3D.VertexArray)
package mp3D {
public class VertexArray {
public var tj184:Array;
public var ha186:int;
public var bb185:int;
public function VertexArray(_arg1:int, _arg2:int){
this.bb185 = _arg1;
this.ha186 = _arg2;
}
public function v41(_arg1:int, _arg2:Array):void{
this.tj184 = _arg2;
this.bb185 = _arg1;
}
}
}//package mp3D
Section 7
//VertexBuffer (mp3D.VertexBuffer)
package mp3D {
public class VertexBuffer {
public var wd187:VertexArray;
public var hp194:Array;
public var yd188:VertexArray;
public var rj190:VertexArray;
public var ph192:Number;
private var uh197:Boolean;
public var kw195:Array;
public var cp189:VertexArray;
public var oo193:Number;
private var qy196:Boolean;
private var rq198:Boolean;
private var bx191:uint;
public function VertexBuffer(){
qy196 = true;
uh197 = false;
rq198 = false;
}
public function s42():void{
rq198 = false;
}
public function r43(_arg1:VertexArray):void{
this.rj190 = _arg1;
}
public function p47(_arg1:VertexArray, _arg2:Number, _arg3:Array):void{
this.yd188 = _arg1;
this.oo193 = _arg2;
this.kw195 = _arg3;
}
public function k45(_arg1:VertexArray):void{
this.cp189 = _arg1;
this.rq198 = true;
}
public function t44(_arg1:uint):void{
this.bx191 = _arg1;
}
public function j46(_arg1:VertexArray, _arg2:Number, _arg3:Array):void{
this.wd187 = _arg1;
this.ph192 = _arg2;
this.hp194 = _arg3;
}
}
}//package mp3D
Section 8
//MPCursor (mpCursor.MPCursor)
package mpCursor {
import flash.display.*;
import flash.geom.*;
public class MPCursor extends Sprite {
public var zc1084:int;
public var nf201:int;
public var zh199:BitmapData;
public var nb200:Matrix;
public function MPCursor(_arg1:BitmapData){
nb200 = new Matrix();
super();
zh199 = _arg1;
nf201 = zh199.width;
zc1084 = zh199.height;
}
public function r48(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
e49(_arg1, _arg2, _arg3, _arg4, 0, 0, Number(nf201), Number(zc1084));
graphics.clear();
graphics.lineStyle();
graphics.beginBitmapFill(zh199, nb200, false, true);
graphics.moveTo(_arg1, _arg2);
graphics.lineTo(_arg3, _arg2);
graphics.lineTo(_arg3, _arg4);
graphics.lineTo(_arg1, _arg4);
graphics.endFill();
}
private function e49(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number):void{
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Number;
var _local15:Number;
var _local16:Number;
var _local17:Number;
var _local18:Number;
var _local19:Number;
var _local20:Number;
_local13 = _arg5;
_local14 = _arg6;
_local9 = _arg7;
_local10 = _arg6;
_local11 = _arg7;
_local12 = _arg8;
_local9 = (_local9 - _local13);
_local11 = (_local11 - _local13);
_local10 = (_local10 - _local14);
_local12 = (_local12 - _local14);
_local15 = (1 / ((_local9 * _local12) - (_local10 * _local11)));
_local16 = (_local12 * _local15);
_local12 = (_local9 * _local15);
_local10 = (-(_local10) * _local15);
_local11 = (-(_local11) * _local15);
_local9 = _local16;
_local16 = ((-(_local13) * _local9) - (_local14 * _local11));
_local14 = ((-(_local13) * _local10) - (_local14 * _local12));
_local13 = _local16;
_local15 = _arg1;
_local16 = _arg2;
_local17 = _arg3;
_local18 = _arg2;
_local19 = _arg3;
_local20 = _arg4;
_local17 = (_local17 - _local15);
_local18 = (_local18 - _local16);
_local19 = (_local19 - _local15);
_local20 = (_local20 - _local16);
nb200.a = ((_local9 * _local17) + (_local10 * _local19));
nb200.b = ((_local9 * _local18) + (_local10 * _local20));
nb200.c = ((_local11 * _local17) + (_local12 * _local19));
nb200.d = ((_local11 * _local18) + (_local12 * _local20));
nb200.tx = (((_local17 * _local13) + (_local19 * _local14)) + _local15);
nb200.ty = (((_local18 * _local13) + (_local20 * _local14)) + _local16);
}
}
}//package mpCursor
Section 9
//EyeFine (mpPackage.EyeFine)
package mpPackage {
public class EyeFine {
public var x:Number;
public var y:Number;
}
}//package mpPackage
Section 10
//EyeMTRX (mpPackage.EyeMTRX)
package mpPackage {
public class EyeMTRX {
public var s:Number;
public var x:Number;
public var y:Number;
public var z:Number;
public var t:Number;
}
}//package mpPackage
Section 11
//FaceANIM (mpPackage.FaceANIM)
package mpPackage {
public class FaceANIM {
public var uv202:int;
public var qq204:Array;
public var qn203:Number;
public var gain:Number;
public function FaceANIM(){
var _local1:int;
super();
qq204 = new Array(MPCONST.oj218);
_local1 = 0;
while (_local1 < MPCONST.oj218) {
qq204[_local1] = new FaceMove();
_local1++;
};
}
}
}//package mpPackage
Section 12
//FaceMODI (mpPackage.FaceMODI)
package mpPackage {
public class FaceMODI {
public var lr205:Number;
public var io208:Number;
public var zj206:Number;
public var px207:Number;
}
}//package mpPackage
Section 13
//FaceMove (mpPackage.FaceMove)
package mpPackage {
public class FaceMove {
public var li210:Number;
public var ex211:Number;
public var mx:Number;
public var gv209:int;
public var fq117:Number;
public var mk118:Number;
public var my:Number;
public var dz212:Number;
}
}//package mpPackage
Section 14
//FaceMTRX (mpPackage.FaceMTRX)
package mpPackage {
public class FaceMTRX {
public var fact:Number;
public var uz213:Number;
public var s:Number;
public var x:Number;
public var y:Number;
public var z:Number;
public var t:Number;
}
}//package mpPackage
Section 15
//GlassFine (mpPackage.GlassFine)
package mpPackage {
public class GlassFine {
public var x:Number;
public var os214:Number;
public var rk215:Number;
}
}//package mpPackage
Section 16
//MPCONST (mpPackage.MPCONST)
package mpPackage {
public final class MPCONST {
public static var ax238:Number = 25;
public static var md228:int = 30;
public static var xm239:Number = (fr226 / 180);
public static var gx233:int = 0x0100;
public static var br219:int = 10;
public static var qq243:int = 5;
public static var po222:int = 4;
public static var sv217:int = 16;
public static var ig229:int = 1;
public static var oj218:int = 16;
public static var wk223:int = 16;
public static var uh232:int = 3;
public static var fr226:Number = 3.14159265358979;
public static var mw237:int = 0x0800;
public static var wz221:int = 5;
public static var hl242:int = 4;
public static var ru216:int = 0x0200;
public static var ns240:int = 16;
public static var nh241:int = 1;
public static var pn230:int = 4;
public static var ji224:int = 32;
public static var aa227:Number = 0.02;
public static var nj235:Number = 0x1000;
public static var zm220:int = 11;
public static var wj236:int = 12;
public static var le225:Number = 0.15;
public static var pu231:int = 1;
public static var pq234:int = 0x1000;
}
}//package mpPackage
Section 17
//MPEngine (mpPackage.MPEngine)
package mpPackage {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
import mp3D.*;
import flash.net.*;
import flash.system.*;
public class MPEngine {
private var cn256:String;
public var ch274:Array;
public var xo262:Array;
private var vf295:int;
private var kd352:Array;
private var ot248:Renderer;
public var lj269:Array;
public var fr270:Array;
private var mb463:int;// = 0
public var reye_shadow_png:BitmapData;
public var hair_png:BitmapData;
private var zx251:URLLoader;
public var rm261:Boolean;// = false
private var ge465:Boolean;// = false
public var zr275:Number;
public var reye_png:BitmapData;
public var face_org_png:BitmapData;
private var cj249:URLLoader;
public var lip_eyelash_png:BitmapData;
private var ug252:int;
private var gi285:int;
private var if293:int;
private var is464:int;// = 0
public var iw276:Array;
public var facez_png:BitmapData;
public var leye_reflect_png:BitmapData;
private var bx294:int;
private var ar278:Array;
public var leye_shadow_png:BitmapData;
public var wu267:Array;
private var fz247:MPGlasses;
public var im271:Array;
private var bc291:int;
private var rz244:Loader;
private var bc296:Array;
private var jz485:Array;
public var facez2_png:BitmapData;
public var torso_factor_png:BitmapData;
private var my488:Array;
private var kv258:String;
private var ce282:int;
private var kc300:Array;
public var yh273:Array;
public var jz266:Array;
private var xm487:Array;
public var leye_png:BitmapData;
public var lower_teeth_png:BitmapData;
private var facekye:int;
private var vt288:Array;
private var yh283:int;
private var zv468:Number;
private var ud245:URLLoader;
public var face_png:BitmapData;
private var xw286:int;
private var ds254:Array;
private var ls253:int;// = 0
private var xb279:int;
private var gf280:Array;
private var gk297:Array;
public var pm272:Array;
public var eyemat_png:BitmapData;
public var th263:Array;
private var uj486:Array;
public var cw268:Array;
private var ju284:int;
public var mz255:Array;
public var shadow_eyelash_png:BitmapData;
private var qc299:int;
private var tb287:int;
private var cf298:int;
private var hb290:int;
private var tn250:Loader;
public var upper_teeth_png:BitmapData;
public var ow264:Array;
private var re289:Array;
private var lt246:MPFace;
private var rg467:Number;
public var jf260:Boolean;// = false
public var kb265:Array;
public var fa259:Boolean;// = false
private var px292:int;
private var ky466:Boolean;// = false
private var kb277:Array;
private var hz484:Array;
private var cb281:Array;
public var reye_reflect_png:BitmapData;
public static var oc257:int = 0;
public function MPEngine(){
var _local1:int;
var _local2:int;
rz244 = new Loader();
ud245 = new URLLoader();
ot248 = new Renderer();
cj249 = new URLLoader();
tn250 = new Loader();
zx251 = new URLLoader();
ls253 = 0;
ds254 = new Array(1);
mz255 = new Array();
fa259 = false;
jf260 = false;
rm261 = false;
jz266 = [["facez.png", -1, 0, false], ["torso_factor.png", -1, 0, false], ["face.png", 0, 0, false], ["lip_eyelash.png", 1, 0, false], ["shadow_eyelash.png", 8, 0, false], ["lower_teeth.png", 122, 0, false], ["upper_teeth.png", 121, 0, false], ["eye_base.png", 4, 0, false], ["pupil.png", -1, 0, false], ["iris.png", -1, 0, false], ["eye_reflect.png", 118, 0, false], ["face_org.png", 6, 0, false]];
wu267 = [["facez.png", -1, 0, false], ["torso_factor.png", -1, 0, false], ["face.png", 0, 0, false], ["lip_eyelash.png", 1, 0, false], ["shadow_eyelash.png", 8, 0, false], ["lower_teeth.png", 122, 0, false], ["upper_teeth.png", 121, 0, false], ["eye_base.png", 4, 0, false], ["pupil.png", 0xFF, 0, false], ["iris.png", 0xFF, 0, false], ["eye_reflect.png", 118, 0, false], ["face_org.png", 6, 0, false]];
cw268 = [["facez.png", -1, 0, false], ["torso_factor.png", -1, 0, false], ["facez2.png", -1, 0, false], ["face.png", 0, 0, false], ["lip_eyelash.png", 1, 0, false], ["hair.png", 5, 0, false], ["eyemat.png", 12, 0, false], ["shadow_eyelash.png", 8, 0, false], ["lower_teeth.png", 122, 0, false], ["upper_teeth.png", 121, 0, false], ["leye.png", 137, 0, false], ["leye_reflect.png", 139, 0, false], ["leye_shadow.png", 135, 0, false], ["reye.png", 136, 0, false], ["reye_reflect.png", 138, 0, false], ["reye_shadow.png", 134, 0, false], ["face.png", 6, 0, false]];
lj269 = [["facez.png"], ["torso_factor.png"]];
fr270 = [["facez.png", -1, 0, false], ["hairz.png", 0], ["torso_factor.png", -1, 0, false], ["hair.png", 0], ["reye.png", 0], ["leye.png", 0], ["reye_shadow.png", 0], ["leye_shadow.png", 0], ["reye_reflect.png", 0xFF], ["leye_reflect.png", 0xFF]];
im271 = [["hairz.png", 0]];
pm272 = [[1, ((1 * 6) * 2), 211], [1, ((1 * 6) * 2), 211]];
yh273 = [[(MPCONST.po222 - 1), (((MPCONST.po222 - 1) * (5 + 1)) * 2), 201, 1], [(MPCONST.po222 - 1), (((MPCONST.po222 - 1) * (5 + 1)) * 2), 202, 2], [(MPCONST.po222 - 1), (((MPCONST.po222 - 1) * (5 + 1)) * 2), 203, 3], [(MPCONST.po222 - 1), (((MPCONST.po222 - 1) * (5 + 1)) * 2), 201, 1], [(MPCONST.po222 - 1), (((MPCONST.po222 - 1) * (5 + 1)) * 2), 202, 2], [(MPCONST.po222 - 1), (((MPCONST.po222 - 1) * (5 + 1)) * 2), 203, 3]];
ch274 = [[(MPCONST.po222 - 1), (((MPCONST.po222 - 1) * (5 + 1)) * 2), 201, 1], [(MPCONST.po222 - 1), (((MPCONST.po222 - 1) * (5 + 1)) * 2), 202, 2], [(MPCONST.po222 - 1), (((MPCONST.po222 - 1) * (5 + 1)) * 2), 203, 3], [(MPCONST.po222 - 1), (((MPCONST.po222 - 1) * (5 + 1)) * 2), 201, 1], [(MPCONST.po222 - 1), (((MPCONST.po222 - 1) * (5 + 1)) * 2), 202, 2], [(MPCONST.po222 - 1), (((MPCONST.po222 - 1) * (5 + 1)) * 2), 203, 3]];
iw276 = new Array((32 * 32));
kb277 = new Array();
ar278 = new Array();
gf280 = new Array();
cb281 = new Array();
vt288 = new Array();
re289 = new Array();
bc296 = new Array();
gk297 = new Array();
kc300 = new Array(17);
kd352 = new Array(3);
mb463 = 0;
is464 = 0;
ge465 = false;
ky466 = false;
hz484 = new Array();
jz485 = new Array();
uj486 = new Array();
xm487 = new Array();
my488 = new Array();
super();
_local1 = 0;
while (_local1 < 64) {
mz255[_local1] = false;
_local1++;
};
_local1 = 0;
while (_local1 < 17) {
kc300[_local1] = new Array(4);
_local1++;
};
_local2 = 0;
_local1 = 0;
var _temp1 = _local1;
_local1 = (_local1 + 1);
var _local3 = _temp1;
kc300[_local2][_local3] = 0;
var _temp2 = _local1;
_local1 = (_local1 + 1);
var _local4 = _temp2;
kc300[_local2][_local4] = 3;
var _temp3 = _local1;
_local1 = (_local1 + 1);
var _local5 = _temp3;
kc300[_local2][_local5] = 6;
var _temp4 = _local1;
_local1 = (_local1 + 1);
var _local6 = _temp4;
kc300[_local2][_local6] = 8;
_local2++;
_local1 = 0;
var _temp5 = _local1;
_local1 = (_local1 + 1);
var _local7 = _temp5;
kc300[_local2][_local7] = 1;
var _temp6 = _local1;
_local1 = (_local1 + 1);
var _local8 = _temp6;
kc300[_local2][_local8] = 3;
var _temp7 = _local1;
_local1 = (_local1 + 1);
var _local9 = _temp7;
kc300[_local2][_local9] = 6;
var _temp8 = _local1;
_local1 = (_local1 + 1);
var _local10 = _temp8;
kc300[_local2][_local10] = 8;
_local2++;
_local1 = 0;
var _temp9 = _local1;
_local1 = (_local1 + 1);
var _local11 = _temp9;
kc300[_local2][_local11] = 2;
var _temp10 = _local1;
_local1 = (_local1 + 1);
var _local12 = _temp10;
kc300[_local2][_local12] = 3;
var _temp11 = _local1;
_local1 = (_local1 + 1);
var _local13 = _temp11;
kc300[_local2][_local13] = 7;
var _temp12 = _local1;
_local1 = (_local1 + 1);
var _local14 = _temp12;
kc300[_local2][_local14] = 8;
_local2++;
_local1 = 0;
var _temp13 = _local1;
_local1 = (_local1 + 1);
var _local15 = _temp13;
kc300[_local2][_local15] = 3;
var _temp14 = _local1;
_local1 = (_local1 + 1);
var _local16 = _temp14;
kc300[_local2][_local16] = 3;
var _temp15 = _local1;
_local1 = (_local1 + 1);
var _local17 = _temp15;
kc300[_local2][_local17] = 8;
var _temp16 = _local1;
_local1 = (_local1 + 1);
var _local18 = _temp16;
kc300[_local2][_local18] = 8;
_local2++;
_local1 = 0;
var _temp17 = _local1;
_local1 = (_local1 + 1);
var _local19 = _temp17;
kc300[_local2][_local19] = 4;
var _temp18 = _local1;
_local1 = (_local1 + 1);
var _local20 = _temp18;
kc300[_local2][_local20] = 3;
var _temp19 = _local1;
_local1 = (_local1 + 1);
var _local21 = _temp19;
kc300[_local2][_local21] = 8;
var _temp20 = _local1;
_local1 = (_local1 + 1);
var _local22 = _temp20;
kc300[_local2][_local22] = 8;
_local2++;
_local1 = 0;
var _temp21 = _local1;
_local1 = (_local1 + 1);
var _local23 = _temp21;
kc300[_local2][_local23] = 5;
var _temp22 = _local1;
_local1 = (_local1 + 1);
var _local24 = _temp22;
kc300[_local2][_local24] = 3;
var _temp23 = _local1;
_local1 = (_local1 + 1);
var _local25 = _temp23;
kc300[_local2][_local25] = 8;
var _temp24 = _local1;
_local1 = (_local1 + 1);
var _local26 = _temp24;
kc300[_local2][_local26] = 7;
_local2++;
_local1 = 0;
var _temp25 = _local1;
_local1 = (_local1 + 1);
var _local27 = _temp25;
kc300[_local2][_local27] = 5;
var _temp26 = _local1;
_local1 = (_local1 + 1);
var _local28 = _temp26;
kc300[_local2][_local28] = 2;
var _temp27 = _local1;
_local1 = (_local1 + 1);
var _local29 = _temp27;
kc300[_local2][_local29] = 8;
var _temp28 = _local1;
_local1 = (_local1 + 1);
var _local30 = _temp28;
kc300[_local2][_local30] = 7;
_local2++;
_local1 = 0;
var _temp29 = _local1;
_local1 = (_local1 + 1);
var _local31 = _temp29;
kc300[_local2][_local31] = 5;
var _temp30 = _local1;
_local1 = (_local1 + 1);
var _local32 = _temp30;
kc300[_local2][_local32] = 1;
var _temp31 = _local1;
_local1 = (_local1 + 1);
var _local33 = _temp31;
kc300[_local2][_local33] = 8;
var _temp32 = _local1;
_local1 = (_local1 + 1);
var _local34 = _temp32;
kc300[_local2][_local34] = 7;
_local2++;
_local1 = 0;
var _temp33 = _local1;
_local1 = (_local1 + 1);
var _local35 = _temp33;
kc300[_local2][_local35] = 5;
var _temp34 = _local1;
_local1 = (_local1 + 1);
var _local36 = _temp34;
kc300[_local2][_local36] = 0;
var _temp35 = _local1;
_local1 = (_local1 + 1);
var _local37 = _temp35;
kc300[_local2][_local37] = 8;
var _temp36 = _local1;
_local1 = (_local1 + 1);
var _local38 = _temp36;
kc300[_local2][_local38] = 6;
_local2++;
_local1 = 0;
var _temp37 = _local1;
_local1 = (_local1 + 1);
var _local39 = _temp37;
kc300[_local2][_local39] = 4;
var _temp38 = _local1;
_local1 = (_local1 + 1);
var _local40 = _temp38;
kc300[_local2][_local40] = 0;
var _temp39 = _local1;
_local1 = (_local1 + 1);
var _local41 = _temp39;
kc300[_local2][_local41] = 8;
var _temp40 = _local1;
_local1 = (_local1 + 1);
var _local42 = _temp40;
kc300[_local2][_local42] = 6;
_local2++;
_local1 = 0;
var _temp41 = _local1;
_local1 = (_local1 + 1);
var _local43 = _temp41;
kc300[_local2][_local43] = 3;
var _temp42 = _local1;
_local1 = (_local1 + 1);
var _local44 = _temp42;
kc300[_local2][_local44] = 0;
var _temp43 = _local1;
_local1 = (_local1 + 1);
var _local45 = _temp43;
kc300[_local2][_local45] = 7;
var _temp44 = _local1;
_local1 = (_local1 + 1);
var _local46 = _temp44;
kc300[_local2][_local46] = 6;
_local2++;
_local1 = 0;
var _temp45 = _local1;
_local1 = (_local1 + 1);
var _local47 = _temp45;
kc300[_local2][_local47] = 2;
var _temp46 = _local1;
_local1 = (_local1 + 1);
var _local48 = _temp46;
kc300[_local2][_local48] = 0;
var _temp47 = _local1;
_local1 = (_local1 + 1);
var _local49 = _temp47;
kc300[_local2][_local49] = 6;
var _temp48 = _local1;
_local1 = (_local1 + 1);
var _local50 = _temp48;
kc300[_local2][_local50] = 6;
_local2++;
_local1 = 0;
var _temp49 = _local1;
_local1 = (_local1 + 1);
var _local51 = _temp49;
kc300[_local2][_local51] = 1;
var _temp50 = _local1;
_local1 = (_local1 + 1);
var _local52 = _temp50;
kc300[_local2][_local52] = 0;
var _temp51 = _local1;
_local1 = (_local1 + 1);
var _local53 = _temp51;
kc300[_local2][_local53] = 6;
var _temp52 = _local1;
_local1 = (_local1 + 1);
var _local54 = _temp52;
kc300[_local2][_local54] = 6;
_local2++;
_local1 = 0;
var _temp53 = _local1;
_local1 = (_local1 + 1);
var _local55 = _temp53;
kc300[_local2][_local55] = 0;
var _temp54 = _local1;
_local1 = (_local1 + 1);
var _local56 = _temp54;
kc300[_local2][_local56] = 0;
var _temp55 = _local1;
_local1 = (_local1 + 1);
var _local57 = _temp55;
kc300[_local2][_local57] = 6;
var _temp56 = _local1;
_local1 = (_local1 + 1);
var _local58 = _temp56;
kc300[_local2][_local58] = 7;
_local2++;
_local1 = 0;
var _temp57 = _local1;
_local1 = (_local1 + 1);
var _local59 = _temp57;
kc300[_local2][_local59] = 0;
var _temp58 = _local1;
_local1 = (_local1 + 1);
var _local60 = _temp58;
kc300[_local2][_local60] = 1;
var _temp59 = _local1;
_local1 = (_local1 + 1);
var _local61 = _temp59;
kc300[_local2][_local61] = 6;
var _temp60 = _local1;
_local1 = (_local1 + 1);
var _local62 = _temp60;
kc300[_local2][_local62] = 7;
_local2++;
_local1 = 0;
var _temp61 = _local1;
_local1 = (_local1 + 1);
var _local63 = _temp61;
kc300[_local2][_local63] = 0;
var _temp62 = _local1;
_local1 = (_local1 + 1);
var _local64 = _temp62;
kc300[_local2][_local64] = 2;
var _temp63 = _local1;
_local1 = (_local1 + 1);
var _local65 = _temp63;
kc300[_local2][_local65] = 6;
var _temp64 = _local1;
_local1 = (_local1 + 1);
var _local66 = _temp64;
kc300[_local2][_local66] = 7;
_local2++;
_local1 = 0;
var _temp65 = _local1;
_local1 = (_local1 + 1);
var _local67 = _temp65;
kc300[_local2][_local67] = 0;
var _temp66 = _local1;
_local1 = (_local1 + 1);
var _local68 = _temp66;
kc300[_local2][_local68] = 3;
var _temp67 = _local1;
_local1 = (_local1 + 1);
var _local69 = _temp67;
kc300[_local2][_local69] = 6;
var _temp68 = _local1;
_local1 = (_local1 + 1);
var _local70 = _temp68;
kc300[_local2][_local70] = 8;
}
private function e72(_arg1:MPFace, _arg2:int):void{
var _local3:int;
var _local4:int;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:int;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:int;
var _local15:int;
var _local16:int;
var _local17:int;
var _local18:int;
var _local19:int;
var _local20:int;
var _local21:int;
var _local22:Number;
var _local23:Number;
var _local24:Number;
var _local25:Number;
var _local26:Number;
var _local27:Number;
var _local28:Number;
var _local29:Number;
_local22 = _arg1.yp596[0];
_local23 = _arg1.yp596[1];
_local24 = _arg1.yp596[4];
_local25 = _arg1.yp596[5];
_local26 = _arg1.yp596[8];
_local27 = _arg1.yp596[9];
_local28 = _arg1.yp596[12];
_local29 = _arg1.yp596[13];
_local4 = 0;
while (_local4 <= MPCONST.zm220) {
_local3 = 0;
while (_local3 <= MPCONST.br219) {
_local14 = _arg1.ao592[_local4][_local3];
if (_local14 == 0){
_local5 = _arg1.yj565[_local4][_local3].x;
_local6 = _arg1.yj565[_local4][_local3].y;
_local7 = _arg1.yj565[_local4][_local3].z;
_local8 = _arg1.yj565[_local4][_local3].fact;
_local9 = (1 - _local8);
if (_local8 == 0){
_arg1.nh567[_local4][_local3].x = _local5;
_arg1.nh567[_local4][_local3].y = _local6;
} else {
_local11 = ((((_local22 * _local5) + (_local24 * _local6)) + (_local26 * _local7)) + _local28);
_local12 = ((((_local23 * _local5) + (_local25 * _local6)) + (_local27 * _local7)) + _local29);
if (_local8 == 1){
_arg1.nh567[_local4][_local3].x = _local11;
_arg1.nh567[_local4][_local3].y = _local12;
} else {
_arg1.nh567[_local4][_local3].x = ((_local8 * _local11) + (_local9 * _local5));
_arg1.nh567[_local4][_local3].y = ((_local8 * _local12) + (_local9 * _local6));
};
};
} else {
_arg1.nh567[_local4][_local3].x = _arg1.nh567[_local4][_local14].x;
_arg1.nh567[_local4][_local3].y = _arg1.nh567[_local4][_local14].y;
};
_local3++;
};
_local4++;
};
if (_arg2 == 0){
if (_arg1.pz514 == 0){
_local17 = 0;
_local16 = _local17;
_local20 = 0;
while (_local16 < _arg1.wq658) {
_local19 = _arg1.ur672[_local16];
_local18 = 0;
while (_local18 < _local19) {
var _temp1 = _local17;
_local17 = (_local17 + 1);
_local3 = _arg1.gm663[_temp1];
var _temp2 = _local17;
_local17 = (_local17 + 1);
_local4 = _arg1.gm663[_temp2];
var _temp3 = _local20;
_local20 = (_local20 + 1);
var _local30 = _temp3;
_arg1.gd666[_local30] = _arg1.nh567[_local4][_local3].x;
var _temp4 = _local20;
_local20 = (_local20 + 1);
var _local31 = _temp4;
_arg1.gd666[_local31] = _arg1.nh567[_local4][_local3].y;
_local20++;
_local18++;
};
_local16++;
};
_local17 = 0;
_local20 = 0;
_local16 = _arg1.qy655;
_local21 = (_arg1.ro654 * 3);
while (_local16 < _arg1.au661) {
_local19 = _arg1.mh671[_local16];
_local18 = 0;
while (_local18 < _local19) {
var _temp5 = _local17;
_local17 = (_local17 + 1);
_local3 = _arg1.sj662[_temp5];
var _temp6 = _local17;
_local17 = (_local17 + 1);
_local4 = _arg1.sj662[_temp6];
var _temp7 = _local21;
_local21 = (_local21 + 1);
_local30 = _temp7;
_arg1.mh665[_local30] = _arg1.nh567[_local4][_local3].x;
var _temp8 = _local21;
_local21 = (_local21 + 1);
_local31 = _temp8;
_arg1.mh665[_local31] = _arg1.nh567[_local4][_local3].y;
_local21++;
_local18++;
};
_local16++;
};
} else {
_local17 = 0;
_local16 = _local17;
_local20 = 0;
while (_local16 < _arg1.nr691) {
_local19 = _arg1.if825[_local16];
_local18 = 0;
while (_local18 < _local19) {
var _temp9 = _local17;
_local17 = (_local17 + 1);
_local3 = _arg1.pd816[_temp9];
var _temp10 = _local17;
_local17 = (_local17 + 1);
_local4 = _arg1.pd816[_temp10];
var _temp11 = _local20;
_local20 = (_local20 + 1);
_local30 = _temp11;
_arg1.gv819[_local30] = _arg1.nh567[_local4][_local3].x;
var _temp12 = _local20;
_local20 = (_local20 + 1);
_local31 = _temp12;
_arg1.gv819[_local31] = _arg1.nh567[_local4][_local3].y;
_local20++;
_local18++;
};
_local16++;
};
_local17 = 0;
_local20 = 0;
_local16 = _arg1.qy655;
_local21 = (_arg1.ro654 * 3);
while (_local16 < _arg1.ac694) {
_local19 = _arg1.or824[_local16];
_local18 = 0;
while (_local18 < _local19) {
var _temp13 = _local17;
_local17 = (_local17 + 1);
_local3 = _arg1.dm815[_temp13];
var _temp14 = _local17;
_local17 = (_local17 + 1);
_local4 = _arg1.dm815[_temp14];
var _temp15 = _local21;
_local21 = (_local21 + 1);
_local30 = _temp15;
_arg1.ds818[_local30] = _arg1.nh567[_local4][_local3].x;
var _temp16 = _local21;
_local21 = (_local21 + 1);
_local31 = _temp16;
_arg1.ds818[_local31] = _arg1.nh567[_local4][_local3].y;
_local21++;
_local18++;
};
_local16++;
};
};
};
}
private function e76(_arg1:ByteArray, _arg2:Array, _arg3:int):uint{
var _local4:uint;
var _local5:int;
var _local6:int;
_local5 = _arg2[0];
_local4 = 0;
_local6 = 0;
while (_local6 < _arg3) {
var _temp1 = _local5;
_local5 = (_local5 + 1);
_local4 = ((_local4 << 8) + _arg1[_temp1]);
_local6++;
};
_arg2[0] = _local5;
return (_local4);
}
private function p141(_arg1:MPFace, _arg2:MPGlasses, _arg3:Number):void{
var _local4:int;
var _local5:Array;
var _local6:Array;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:int;
var _local14:int;
var _local15:Number;
var _local16:Number;
var _local17:Number;
var _local18:Number;
var _local19:Number;
var _local20:Number;
var _local21:Number;
var _local22:Array;
var _local23:Number;
var _local24:Number;
var _local25:Number;
var _local26:Number;
var _local27:Number;
var _local28:Number;
var _local29:Number;
var _local30:Number;
var _local31:Number;
var _local32:Number;
_local5 = new Array(8);
_local6 = new Array(8);
_local22 = new Array((6 * 2));
_local25 = _arg1.yp596[0];
_local26 = _arg1.yp596[4];
_local27 = _arg1.yp596[8];
_local28 = _arg1.yp596[12];
_local29 = _arg1.yp596[1];
_local30 = _arg1.yp596[5];
_local31 = _arg1.yp596[9];
_local32 = _arg1.yp596[13];
_local4 = 0;
while (_local4 < 8) {
_local5[_local4] = _arg2.hs558[8].x[_local4];
_local4++;
};
_local6[0] = -0.8;
_local6[1] = -0.1;
_local6[2] = -0.05;
_local6[3] = 0;
_local6[4] = 0;
_local6[5] = -0.05;
_local6[6] = -0.1;
_local6[7] = -0.8;
_local7 = (_arg2.vd882 * _arg2.xr883);
_local8 = (_arg2.vd882 * _arg2.op884);
_local21 = 0.03;
_local4 = 0;
while (_local4 < 6) {
_local22[_local4] = _arg2.hs558[6].y[(_local4 + 6)];
_local4++;
};
_local4 = 0;
while (_local4 < 6) {
_local22[(_local4 + 6)] = _arg2.hs558[7].y[(_local4 + 6)];
_local4++;
};
_local23 = (y135(_local22, 12) - _local21);
_local4 = 0;
while (_local4 < 6) {
_local22[_local4] = _arg2.hs558[6].y[_local4];
_local4++;
};
_local4 = 0;
while (_local4 < 6) {
_local22[(_local4 + 6)] = _arg2.hs558[7].y[_local4];
_local4++;
};
_local24 = (l136(_local22, 12) + _local21);
_local4 = 0;
while (_local4 <= 7) {
_local13 = ((_local4 * 2) * 3);
_local14 = ((_local4 * 2) * 2);
_local11 = (_local5[_local4] - _arg2.ar877);
_local12 = (_local24 - _arg2.in878);
_local9 = (((_local8 * _local11) + (_local7 * _local12)) + _arg2.td879);
_local10 = (((-(_local7) * _local11) + (_local8 * _local12)) + _arg2.wc880);
_local17 = (_arg3 + (0.25 * (_local6[_local4] + 0.05)));
_local18 = ((((_local25 * _local9) + (_local26 * _local10)) + (_local27 * _local17)) + _local28);
_local19 = ((((_local29 * _local9) + (_local30 * _local10)) + (_local31 * _local17)) + _local32);
_arg2.yo888[((_local13 + (0 * 3)) + 0)] = _local18;
_arg2.yo888[((_local13 + (0 * 3)) + 1)] = _local19;
_arg2.ju889[((_local14 + (0 * 2)) + 0)] = _local5[_local4];
_arg2.ju889[((_local14 + (0 * 2)) + 1)] = (1 - (2 * (0.75 - _local24)));
_local12 = (_local23 - _arg2.in878);
_local9 = (((_local8 * _local11) + (_local7 * _local12)) + _arg2.td879);
_local10 = (((-(_local7) * _local11) + (_local8 * _local12)) + _arg2.wc880);
_local17 = (_arg3 + (0.25 * (_local6[_local4] - 0.05)));
_local18 = ((((_local25 * _local9) + (_local26 * _local10)) + (_local27 * _local17)) + _local28);
_local19 = ((((_local29 * _local9) + (_local30 * _local10)) + (_local31 * _local17)) + _local32);
_arg2.yo888[((_local13 + (1 * 3)) + 0)] = _local18;
_arg2.yo888[((_local13 + (1 * 3)) + 1)] = _local19;
_arg2.ju889[((_local14 + (1 * 2)) + 0)] = _local5[_local4];
_arg2.ju889[((_local14 + (1 * 2)) + 1)] = (2 * (_local23 - 0.25));
_local4++;
};
}
private function f99(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int):void{
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:int;
var _local10:int;
_local7 = _arg4;
while (_local7 < _arg5) {
_local8 = _arg2;
_local9 = lt246.jb591[_local7][_local8];
do {
if ((_arg1 & _local9) == 0){
_local8++;
_local9 = lt246.jb591[_local7][_local8];
} else {
_local10 = 0;
if ((_local9 & 1) == 1){
var _local11 = ce282++;
gf280[_local11] = _local8;
var _local12 = ce282++;
gf280[_local12] = (_local7 + 1);
_local10 = (_local10 + 1);
};
_local6 = _local8;
while (true) {
if ((_local9 & 1) == 1){
_local11 = ce282++;
gf280[_local11] = _local6;
_local12 = ce282++;
gf280[_local12] = _local7;
var _local13 = ce282++;
gf280[_local13] = _local6;
var _local14 = ce282++;
gf280[_local14] = (_local7 + 1);
} else {
_local11 = ce282++;
gf280[_local11] = _local6;
_local12 = ce282++;
gf280[_local12] = (_local7 + 1);
_local13 = ce282++;
gf280[_local13] = _local6;
_local14 = ce282++;
gf280[_local14] = _local7;
};
_local10 = (_local10 + 2);
if (_local6 == _arg3){
break;
} else {
if ((_arg1 & lt246.jb591[_local7][_local6]) == 0){
break;
} else {
if ((_local9 & 1) != (lt246.jb591[_local7][_local6] & 1)){
if ((_local9 & 1) == 0){
_local11 = ce282++;
gf280[_local11] = _local6;
_local12 = ce282++;
gf280[_local12] = (_local7 + 1);
} else {
_local11 = ce282++;
gf280[_local11] = _local6;
_local12 = ce282++;
gf280[_local12] = _local7;
};
_local10 = (_local10 + 1);
_local9 = lt246.jb591[_local7][_local6];
};
};
};
_local6++;
};
_local11 = gi285++;
cb281[_local11] = _local10;
_local8 = _local6;
if (_local8 < _arg3){
_local9 = lt246.jb591[_local7][_local8];
};
};
} while (_local8 < _arg3);
_local7++;
};
}
private function l102(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int):void{
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:int;
var _local10:int;
_local6 = _arg2;
while (_local6 < _arg3) {
_local8 = _arg4;
_local9 = lt246.jb591[_local8][_local6];
do {
if ((_arg1 & _local9) == 0){
_local8++;
if (_local8 < _arg5){
_local9 = lt246.jb591[_local8][_local6];
};
} else {
_local10 = 0;
if ((_local9 & 1) == 0){
var _local11 = hb290++;
vt288[_local11] = _local6;
var _local12 = hb290++;
vt288[_local12] = _local8;
_local10 = (_local10 + 1);
};
_local7 = _local8;
while (true) {
if ((_local9 & 1) == 1){
_local11 = hb290++;
vt288[_local11] = _local6;
_local12 = hb290++;
vt288[_local12] = _local7;
var _local13 = hb290++;
vt288[_local13] = (_local6 + 1);
var _local14 = hb290++;
vt288[_local14] = _local7;
} else {
_local11 = hb290++;
vt288[_local11] = (_local6 + 1);
_local12 = hb290++;
vt288[_local12] = _local7;
_local13 = hb290++;
vt288[_local13] = _local6;
_local14 = hb290++;
vt288[_local14] = _local7;
};
_local10 = (_local10 + 2);
if (_local7 == _arg5){
break;
} else {
if ((_arg1 & lt246.jb591[_local7][_local6]) == 0){
break;
} else {
if ((_local9 & 1) != (lt246.jb591[_local7][_local6] & 1)){
if ((_local9 & 1) == 0){
_local11 = hb290++;
vt288[_local11] = _local6;
_local12 = hb290++;
vt288[_local12] = _local7;
} else {
_local11 = hb290++;
vt288[_local11] = (_local6 + 1);
_local12 = hb290++;
vt288[_local12] = _local7;
};
_local10 = (_local10 + 1);
_local9 = lt246.jb591[_local7][_local6];
};
};
};
_local7++;
};
_local11 = if293++;
re289[_local11] = _local10;
_local8 = _local7;
if (_local8 < _arg5){
_local9 = lt246.jb591[_local8][_local6];
};
};
} while (_local8 < _arg5);
_local6++;
};
}
private function n93():void{
e92();
}
private function m79(_arg1:ByteArray, _arg2:Array):void{
lt246.fi509 = f77(_arg1, _arg2, 4);
lt246.sq515 = f77(_arg1, _arg2, 4);
}
private function m83(_arg1:ByteArray, _arg2:Array):void{
var _local3:int;
var _local4:int;
var _local5:FaceANIM;
var _local6:FaceMove;
lt246.ge518 = f78(_arg1, _arg2, 2);
lt246.ps519 = f78(_arg1, _arg2, 2);
lt246.px520 = f78(_arg1, _arg2, 2);
lt246.nv521 = f78(_arg1, _arg2, 2);
lt246.ji522 = f78(_arg1, _arg2, 2);
lt246.up523 = f78(_arg1, _arg2, 2);
lt246.al524 = f78(_arg1, _arg2, 2);
lt246.yy525 = f78(_arg1, _arg2, 2);
_local4 = 0;
while (_local4 < MPCONST.sv217) {
_local5 = lt246.to517[_local4];
_local5.uv202 = 0;
_local5.gain = 0;
_local5.qn203 = f78(_arg1, _arg2, 2);
_local3 = 0;
while (_local3 < MPCONST.oj218) {
_local6 = _local5.qq204[_local3];
_local6.gv209 = f77(_arg1, _arg2, 1);
_local6.fq117 = f78(_arg1, _arg2, 2);
_local6.mk118 = f78(_arg1, _arg2, 2);
_local6.mx = f78(_arg1, _arg2, 2);
_local6.my = f78(_arg1, _arg2, 2);
_local6.li210 = f78(_arg1, _arg2, 2);
_local6.ex211 = f78(_arg1, _arg2, 2);
_local6.dz212 = f78(_arg1, _arg2, 4);
_local3++;
};
_local4++;
};
}
private function t61(_arg1:MPFace, _arg2:Number):int{
var _local3:int;
_local3 = _arg1.ea587[int((100 * _arg2))];
while (_local3 < MPCONST.br219) {
if (_arg1.tv589[4][_local3] > _arg2){
break;
};
_local3++;
};
_local3--;
return (_local3);
}
private function g104(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int):void{
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:int;
var _local10:int;
_local7 = _arg4;
while (_local7 < _arg5) {
_local8 = _arg2;
_local9 = lt246.io593[_local7][_local8];
do {
if ((_arg1 & _local9) == 0){
_local8++;
_local9 = lt246.io593[_local7][_local8];
} else {
_local10 = 0;
if ((_local9 & 1) == 1){
var _local11 = cf298++;
bc296[_local11] = _local8;
var _local12 = cf298++;
bc296[_local12] = (_local7 + 1);
_local10 = (_local10 + 1);
};
_local6 = _local8;
while (true) {
if ((_local9 & 1) == 1){
_local11 = cf298++;
bc296[_local11] = _local6;
_local12 = cf298++;
bc296[_local12] = _local7;
var _local13 = cf298++;
bc296[_local13] = _local6;
var _local14 = cf298++;
bc296[_local14] = (_local7 + 1);
} else {
_local11 = cf298++;
bc296[_local11] = _local6;
_local12 = cf298++;
bc296[_local12] = (_local7 + 1);
_local13 = cf298++;
bc296[_local13] = _local6;
_local14 = cf298++;
bc296[_local14] = _local7;
};
_local10 = (_local10 + 2);
if (_local6 == _arg3){
break;
} else {
if ((_arg1 & lt246.io593[_local7][_local6]) == 0){
break;
} else {
if ((_local9 & 1) != (lt246.io593[_local7][_local6] & 1)){
if ((_local9 & 1) == 0){
_local11 = cf298++;
bc296[_local11] = _local6;
_local12 = cf298++;
bc296[_local12] = (_local7 + 1);
} else {
_local11 = cf298++;
bc296[_local11] = _local6;
_local12 = cf298++;
bc296[_local12] = _local7;
};
_local10 = (_local10 + 1);
_local9 = lt246.io593[_local7][_local6];
};
};
};
_local6++;
};
_local11 = qc299++;
gk297[_local11] = _local10;
_local8 = _local6;
if (_local8 < _arg3){
_local9 = lt246.io593[_local7][_local8];
};
};
} while (_local8 < _arg3);
_local7++;
};
}
private function e92():void{
var _local1:int;
var _local2:int;
var _local3:uint;
var _local4:BitmapData;
var _local5:BitmapData;
var _local6:int;
var _local7:Number;
var _local8:int;
var _local9:int;
var _local10:int;
var _local11:uint;
var _local12:uint;
var _local13:uint;
var _local14:uint;
var _local15:uint;
var _local16:Number;
_local2 = 5;
_local3 = MPGL.h1(hair_png);
lt246.kn505[_local2] = _local3;
_local2 = 12;
_local3 = MPGL.h1(eyemat_png);
lt246.kn505[_local2] = _local3;
_local2 = 137;
_local3 = MPGL.h1(leye_png);
lt246.kn505[_local2] = _local3;
_local2 = 139;
_local3 = MPGL.h1(leye_reflect_png);
lt246.kn505[_local2] = _local3;
_local2 = 135;
_local3 = MPGL.h1(leye_shadow_png);
lt246.kn505[_local2] = _local3;
_local2 = 136;
_local3 = MPGL.h1(reye_png);
lt246.kn505[_local2] = _local3;
_local2 = 138;
_local3 = MPGL.h1(reye_reflect_png);
lt246.kn505[_local2] = _local3;
_local2 = 134;
_local3 = MPGL.h1(reye_shadow_png);
lt246.kn505[_local2] = _local3;
_local2 = 0;
_local3 = MPGL.h1(face_png);
lt246.kn505[_local2] = _local3;
_local2 = 6;
_local3 = MPGL.h1(face_org_png);
lt246.kn505[_local2] = _local3;
_local2 = 1;
_local3 = MPGL.h1(lip_eyelash_png);
lt246.kn505[_local2] = _local3;
_local2 = 8;
_local3 = MPGL.h1(shadow_eyelash_png);
lt246.kn505[_local2] = _local3;
_local2 = 122;
_local3 = MPGL.h1(lower_teeth_png);
lt246.kn505[_local2] = _local3;
_local2 = 121;
_local3 = MPGL.h1(upper_teeth_png);
lt246.kn505[_local2] = _local3;
_local4 = face_png.clone();
_local8 = _local4.width;
_local9 = _local4.height;
_local6 = 1;
while (_local6 < 4) {
if (_local6 == 0){
_local7 = 0.5;
} else {
if (_local6 == 1){
_local7 = 0.25;
} else {
if (_local6 == 2){
_local7 = 0.15;
} else {
_local7 = 0.08;
};
};
};
_local5 = _local4.clone();
_local10 = 0;
while (_local10 < _local9) {
_local1 = 0;
while (_local1 < _local8) {
_local11 = _local5.getPixel32(_local1, _local10);
_local15 = ((_local11 >> 24) & 0xFF);
_local12 = ((_local11 >> 16) & 0xFF);
_local13 = ((_local11 >> 8) & 0xFF);
_local14 = ((_local11 >> 0) & 0xFF);
_local16 = _local15;
_local16 = (_local16 * _local7);
_local15 = _local16;
_local11 = ((((_local15 << 24) + (_local12 << 16)) + (_local13 << 8)) + _local14);
_local5.setPixel32(_local1, _local10, _local11);
_local1++;
};
_local10++;
};
_local2 = (200 + _local6);
_local3 = MPGL.h1(_local5);
lt246.kn505[_local2] = _local3;
_local6++;
};
_local4 = BitmapData(shadow_eyelash_png).clone();
_local8 = _local4.width;
_local9 = _local4.height;
_local6 = 0;
while (_local6 < 4) {
if (_local6 == 0){
_local7 = 0.7;
} else {
if (_local6 == 1){
_local7 = 0.5;
} else {
if (_local6 == 2){
_local7 = 0.3;
} else {
_local7 = 0.2;
};
};
};
_local5 = _local4.clone();
_local10 = 0;
while (_local10 < _local9) {
_local1 = 0;
while (_local1 < _local8) {
_local11 = _local5.getPixel32(_local1, _local10);
_local15 = ((_local11 >> 24) & 0xFF);
_local12 = ((_local11 >> 16) & 0xFF);
_local13 = ((_local11 >> 8) & 0xFF);
_local14 = ((_local11 >> 0) & 0xFF);
_local16 = _local15;
_local16 = (_local16 * _local7);
_local15 = _local16;
_local11 = ((((_local15 << 24) + (_local12 << 16)) + (_local13 << 8)) + _local14);
_local5.setPixel32(_local1, _local10, _local11);
_local1++;
};
_local10++;
};
_local2 = (210 + _local6);
_local3 = MPGL.h1(_local5);
lt246.kn505[_local2] = _local3;
_local6++;
};
}
private function f137(_arg1:int, _arg2:MPFace, _arg3:MPGlasses, _arg4:Number):void{
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:int;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Number;
var _local15:Number;
var _local16:Number;
var _local17:Number;
var _local18:Number;
var _local19:Number;
var _local20:Number;
var _local21:Number;
var _local22:int;
var _local23:Number;
var _local24:Number;
var _local25:Number;
var _local26:int;
var _local27:int;
var _local28:Number;
var _local29:Number;
var _local30:Number;
var _local31:Number;
var _local32:Number;
var _local33:Number;
var _local34:Number;
var _local35:Number;
var _local36:Number;
var _local37:Number;
var _local38:Number;
_local37 = (_arg3.vd882 * _arg3.xr883);
_local38 = (_arg3.vd882 * _arg3.op884);
_local29 = _arg2.yp596[0];
_local30 = _arg2.yp596[4];
_local31 = _arg2.yp596[8];
_local32 = _arg2.yp596[12];
_local33 = _arg2.yp596[1];
_local34 = _arg2.yp596[5];
_local35 = _arg2.yp596[9];
_local36 = _arg2.yp596[13];
_local28 = _arg3.vd882;
_local9 = (_arg1 + 6);
_local5 = (0.5 * (_arg3.hs558[_local9].x[0] + _arg3.hs558[_local9].x[5]));
_local6 = (0.25 * (((_arg3.hs558[_local9].y[2] + _arg3.hs558[_local9].y[3]) + _arg3.hs558[_local9].y[9]) + _arg3.hs558[_local9].y[8]));
if (_arg1 == 0){
_local26 = 0;
_local27 = 0;
} else {
_local26 = ((2 * (_arg3.ux924 + 1)) * 3);
_local27 = ((2 * (_arg3.ux924 + 1)) * 2);
};
_local22 = 0;
while (_local22 <= _arg3.ux924) {
_local23 = _arg3.is923[_arg1][_local22].x;
_local24 = _arg3.is923[_arg1][_local22].os214;
_local25 = _arg3.is923[_arg1][_local22].rk215;
_local7 = (_local23 - _local5);
_local8 = (_local24 - _local6);
var _temp1 = _local27;
_local27 = (_local27 + 1);
var _local39 = _temp1;
_arg3.mo907[_local39] = (0.5 + (3 * _local7));
var _temp2 = _local27;
_local27 = (_local27 + 1);
var _local40 = _temp2;
_arg3.mo907[_local40] = (0.5 + (3 * _local8));
_local13 = (_local23 - _arg3.ar877);
_local14 = (_local24 - _arg3.in878);
_local10 = (_arg3.td879 + ((_local38 * _local13) + (_local37 * _local14)));
_local11 = (_arg3.wc880 + ((-(_local37) * _local13) + (_local38 * _local14)));
_local12 = _arg4;
_local20 = ((((_local29 * _local10) + (_local30 * _local11)) + (_local31 * _local12)) + _local32);
_local21 = ((((_local33 * _local10) + (_local34 * _local11)) + (_local35 * _local12)) + _local36);
var _temp3 = _local26;
_local26 = (_local26 + 1);
var _local41 = _temp3;
_arg3.zn906[_local41] = _local20;
var _temp4 = _local26;
_local26 = (_local26 + 1);
var _local42 = _temp4;
_arg3.zn906[_local42] = _local21;
_local26++;
_local8 = (_local25 - _local6);
var _temp5 = _local27;
_local27 = (_local27 + 1);
var _local43 = _temp5;
_arg3.mo907[_local43] = (0.5 + (3 * _local7));
var _temp6 = _local27;
_local27 = (_local27 + 1);
var _local44 = _temp6;
_arg3.mo907[_local44] = (0.5 + (3 * _local8));
_local13 = (_local23 - _arg3.ar877);
_local14 = (_local25 - _arg3.in878);
_local10 = (_arg3.td879 + ((_local38 * _local13) + (_local37 * _local14)));
_local11 = (_arg3.wc880 + ((-(_local37) * _local13) + (_local38 * _local14)));
_local20 = ((((_local29 * _local10) + (_local30 * _local11)) + (_local31 * _local12)) + _local32);
_local21 = ((((_local33 * _local10) + (_local34 * _local11)) + (_local35 * _local12)) + _local36);
var _temp7 = _local26;
_local26 = (_local26 + 1);
var _local45 = _temp7;
_arg3.zn906[_local45] = _local20;
var _temp8 = _local26;
_local26 = (_local26 + 1);
var _local46 = _temp8;
_arg3.zn906[_local46] = _local21;
_local26++;
_local22++;
};
}
private function a127(_arg1:ByteArray, _arg2:int){
var _local3:int;
_local3 = _arg1[_arg2];
if (is464 == 0){
if ((((_local3 >= 48)) && ((_local3 <= 57)))){
rg467 = Number((_local3 - 48));
is464 = 1;
};
return (null);
//unresolved jump
};
if (is464 == 1){
if ((((_local3 >= 48)) && ((_local3 <= 57)))){
rg467 = ((rg467 * 10) + Number((_local3 - 48)));
return (null);
};
if (_local3 == 46){
zv468 = 0.1;
is464 = 2;
return (null);
};
is464 = 0;
return (rg467);
//unresolved jump
};
if (is464 == 2){
if ((((_local3 >= 48)) && ((_local3 <= 57)))){
rg467 = (rg467 + (zv468 * Number((_local3 - 48))));
zv468 = (zv468 * 0.1);
return (null);
};
is464 = 0;
return (rg467);
//unresolved jump
};
is464 = 0;
return (null);
}
private function c64(_arg1:MPFace, _arg2:int, _arg3:int):void{
var _local4:int;
var _local5:int;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Number;
var _local15:Number;
var _local16:Number;
_local9 = _arg1.yp596[0];
_local10 = _arg1.yp596[1];
_local11 = _arg1.yp596[4];
_local12 = _arg1.yp596[5];
_local13 = _arg1.yp596[8];
_local14 = _arg1.yp596[9];
_local15 = _arg1.yp596[12];
_local16 = _arg1.yp596[13];
_local5 = 0;
while (_local5 < _arg2) {
_local4 = 0;
while (_local4 < _arg3) {
_local6 = _arg1.ct570[_local5][_local4].x;
_local7 = _arg1.ct570[_local5][_local4].y;
_local8 = _arg1.ct570[_local5][_local4].z;
_arg1.ct570[_local5][_local4].x = ((((_local9 * _local6) + (_local11 * _local7)) + (_local13 * _local8)) + _local15);
_arg1.ct570[_local5][_local4].y = ((((_local10 * _local6) + (_local12 * _local7)) + (_local14 * _local8)) + _local16);
_local4++;
};
_local5++;
};
}
private function c69(_arg1:MPFace):void{
_arg1.p55();
}
private function s60(_arg1:MPFace, _arg2:Number):int{
var _local3:int;
_local3 = _arg1.ea586[int((100 * _arg2))];
while (_local3 < MPCONST.br219) {
if (_arg1.tv589[6][_local3] > _arg2){
break;
};
_local3++;
};
_local3--;
return (_local3);
}
private function s66(_arg1:MPFace, _arg2:int, _arg3:int, _arg4:int, _arg5:int):void{
var _local6:int;
var _local7:int;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Number;
var _local15:Number;
var _local16:Number;
var _local17:Number;
var _local18:Number;
_local11 = _arg1.yp596[0];
_local12 = _arg1.yp596[1];
_local13 = _arg1.yp596[4];
_local14 = _arg1.yp596[5];
_local15 = _arg1.yp596[8];
_local16 = _arg1.yp596[9];
_local17 = _arg1.yp596[12];
_local18 = _arg1.yp596[13];
_local7 = _arg4;
while (_local7 <= _arg5) {
_local6 = _arg2;
while (_local6 <= _arg3) {
_local8 = _arg1.fj566[_local7][_local6].x;
_local9 = _arg1.fj566[_local7][_local6].y;
_local10 = _arg1.fj566[_local7][_local6].z;
_arg1.nh567[_local7][_local6].x = ((((_local11 * _local8) + (_local13 * _local9)) + (_local15 * _local10)) + _local17);
_arg1.nh567[_local7][_local6].y = ((((_local12 * _local8) + (_local14 * _local9)) + (_local16 * _local10)) + _local18);
_local6++;
};
_local7++;
};
}
public function b118(_arg1:Number):Number{
var _local2:Number;
if (_arg1 > 1){
_arg1 = 1;
} else {
if (_arg1 < 0){
_arg1 = 0;
};
};
_local2 = (0.5 + (0.5 * Math.sin(((-0.5 * MPCONST.fr226) + (MPCONST.fr226 * _arg1)))));
return (_local2);
}
private function l136(_arg1:Array, _arg2:int):Number{
var _local3:Number;
var _local4:int;
_local3 = _arg1[0];
_local4 = 1;
while (_local4 < _arg2) {
if (_arg1[_local4] > _local3){
_local3 = _arg1[_local4];
};
_local4++;
};
return (_local3);
}
private function x100(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int):void{
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:int;
var _local10:int;
_local7 = _arg4;
while (_local7 < _arg5) {
_local8 = _arg2;
_local9 = lt246.jb591[_local7][_local8];
do {
if ((_arg1 & _local9) == 0){
_local8--;
_local9 = lt246.jb591[_local7][_local8];
} else {
_local10 = 0;
if ((_local9 & 1) == 1){
var _local11 = hb290++;
vt288[_local11] = (_local8 + 1);
var _local12 = hb290++;
vt288[_local12] = _local7;
_local10 = (_local10 + 1);
};
_local6 = _local8;
while (true) {
if ((_local9 & 1) == 0){
_local11 = hb290++;
vt288[_local11] = (_local6 + 1);
_local12 = hb290++;
vt288[_local12] = _local7;
var _local13 = hb290++;
vt288[_local13] = (_local6 + 1);
var _local14 = hb290++;
vt288[_local14] = (_local7 + 1);
} else {
_local11 = hb290++;
vt288[_local11] = (_local6 + 1);
_local12 = hb290++;
vt288[_local12] = (_local7 + 1);
_local13 = hb290++;
vt288[_local13] = (_local6 + 1);
_local14 = hb290++;
vt288[_local14] = _local7;
};
_local10 = (_local10 + 2);
if (_local6 == _arg3){
break;
} else {
if ((_arg1 & lt246.jb591[_local7][_local6]) == 0){
break;
} else {
if ((_local9 & 1) != (lt246.jb591[_local7][_local6] & 1)){
if ((_local9 & 1) == 0){
_local11 = hb290++;
vt288[_local11] = (_local6 + 1);
_local12 = hb290++;
vt288[_local12] = _local7;
} else {
_local11 = hb290++;
vt288[_local11] = (_local6 + 1);
_local12 = hb290++;
vt288[_local12] = (_local7 + 1);
};
_local10 = (_local10 + 1);
_local9 = lt246.jb591[_local7][_local6];
};
};
};
_local6--;
};
_local11 = if293++;
re289[_local11] = _local10;
_local8 = _local6;
if (_local8 > _arg3){
_local9 = lt246.jb591[_local7][_local8];
};
};
} while (_local8 > _arg3);
_local7++;
};
}
private function l142(_arg1:MPFace, _arg2:MPGlasses):void{
_arg2.p55(_arg1);
}
private function r54(_arg1:MPFace):void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Number;
var _local15:Number;
var _local16:Number;
var _local17:Number;
var _local18:Number;
var _local19:Number;
var _local20:Number;
var _local21:Number;
var _local22:Number;
var _local23:Number;
var _local24:Number;
var _local25:Number;
var _local26:Number;
var _local27:Number;
var _local28:Number;
_local2 = _arg1.wl583;
_local3 = _arg1.gr584;
_local4 = _arg1.sm585;
_local5 = _arg1.cc495;
_local6 = _arg1.vh496;
_local7 = _arg1.hr497;
_local26 = (0.5 + _arg1.tx);
_local27 = (0.5 + _arg1.ty);
_local28 = (1 + _arg1.yd571);
_local8 = x116(_local5);
_local9 = x116(_local6);
_local10 = x116(_local7);
_local11 = z117(_local5);
_local12 = z117(_local6);
_local13 = z117(_local7);
_local14 = (_local12 * _local13);
_local17 = (-(_local12) * _local10);
_local20 = _local9;
_local15 = (((_local8 * _local9) * _local13) + (_local11 * _local10));
_local18 = (((-(_local8) * _local9) * _local10) + (_local11 * _local13));
_local21 = (-(_local8) * _local12);
_local16 = (((-(_local11) * _local9) * _local13) + (_local8 * _local10));
_local19 = (((_local11 * _local9) * _local10) + (_local8 * _local13));
_local22 = (_local11 * _local12);
_local23 = ((_local2 - 0.5) - (((_local2 * _local14) + (_local3 * _local15)) + (_local4 * _local16)));
_local24 = ((_local3 - 0.5) - (((_local2 * _local17) + (_local3 * _local18)) + (_local4 * _local19)));
_local25 = (_local4 - (((_local2 * _local20) + (_local3 * _local21)) + (_local4 * _local22)));
_arg1.yp596[3] = (_arg1.yp596[7] = (_arg1.yp596[11] = 0));
_arg1.yp596[15] = 1;
_arg1.yp596[0] = (_local14 * _local28);
_arg1.yp596[1] = (_local17 * _local28);
_arg1.yp596[4] = (_local15 * _local28);
_arg1.yp596[5] = (_local18 * _local28);
_arg1.yp596[8] = (_local16 * _local28);
_arg1.yp596[9] = (_local19 * _local28);
_arg1.yp596[12] = ((_local23 * _local28) + _local26);
_arg1.yp596[13] = ((_local24 * _local28) + _local27);
}
private function b128():void{
fz247.p161();
}
public function x116(_arg1:Number):Number{
return (Math.sin((MPCONST.xm239 * _arg1)));
}
private function s103():void{
cf298 = 0;
qc299 = 0;
g104(2, 2, 8, 6, 9);
}
public function s107():void{
lt246.s107();
}
private function k85(_arg1:ByteArray, _arg2:Array):void{
var _local3:int;
var _local4:int;
var _local5:Number;
_local4 = 0;
while (_local4 < (MPCONST.zm220 + 1)) {
_local3 = 0;
while (_local3 < (MPCONST.br219 + 1)) {
lt246.tv589[_local4][_local3] = f78(_arg1, _arg2, 2);
_local3++;
};
_local4++;
};
_local4 = 0;
while (_local4 < (MPCONST.zm220 + 1)) {
_local3 = 0;
while (_local3 < ((MPCONST.br219 + 1) - 1)) {
if (lt246.tv589[_local4][_local3] >= lt246.tv589[_local4][(_local3 + 1)]){
lt246.tv589[_local4][(_local3 + 1)] = (lt246.tv589[_local4][(_local3 + 1)] + (1 / mpvar.co139));
};
_local3++;
};
_local4++;
};
_local4 = 0;
while (_local4 < (MPCONST.zm220 + 1)) {
_local3 = 0;
while (_local3 < (MPCONST.br219 + 1)) {
lt246.js590[_local4][_local3] = f78(_arg1, _arg2, 2);
_local3++;
};
_local4++;
};
_local4 = 0;
while (_local4 < ((MPCONST.zm220 + 1) - 1)) {
_local3 = 0;
while (_local3 < (MPCONST.br219 + 1)) {
if (lt246.js590[_local4][_local3] >= lt246.js590[(_local4 + 1)][_local3]){
lt246.js590[(_local4 + 1)][_local3] = (lt246.js590[(_local4 + 1)][_local3] + (1 / mpvar.co139));
};
_local3++;
};
_local4++;
};
_local4 = 0;
while (_local4 <= 100) {
_local5 = (Number(_local4) / 100);
_local3 = 0;
while (_local3 < 10) {
if (lt246.tv589[6][_local3] > _local5){
break;
};
_local3++;
};
_local3--;
if (_local3 < 0){
_local3 = 0;
};
lt246.ea586[_local4] = _local3;
_local4++;
};
_local4 = 0;
while (_local4 <= 100) {
_local5 = (Number(_local4) / 100);
_local3 = 0;
while (_local3 < 10) {
if (lt246.tv589[4][_local3] > _local5){
break;
};
_local3++;
};
_local3--;
if (_local3 < 0){
_local3 = 0;
};
lt246.ea587[_local4] = _local3;
_local4++;
};
_local3 = 0;
while (_local3 <= 100) {
_local5 = (Number(_local3) / 100);
_local4 = 0;
while (_local4 < MPCONST.zm220) {
if (lt246.js590[_local4][5] > _local5){
break;
};
_local4++;
};
--_local4;
if (_local4 < 0){
_local4 = 0;
};
lt246.rw588[_local3] = _local4;
_local3++;
};
_local4 = 0;
while (_local4 < MPCONST.zm220) {
_local3 = 0;
while (_local3 < MPCONST.br219) {
lt246.jb591[_local4][_local3] = f77(_arg1, _arg2, 4);
_local3++;
};
_local4++;
};
_local4 = 0;
while (_local4 < (MPCONST.zm220 + 1)) {
_local3 = 0;
while (_local3 < (MPCONST.br219 + 1)) {
lt246.ao592[_local4][_local3] = f77(_arg1, _arg2, 4);
_local3++;
};
_local4++;
};
if (lt246.fi509 == 2){
_local4 = 0;
while (_local4 < MPCONST.zm220) {
_local3 = 0;
while (_local3 < MPCONST.br219) {
lt246.io593[_local4][_local3] = f77(_arg1, _arg2, 4);
_local3++;
};
_local4++;
};
};
}
private function k84(_arg1:ByteArray, _arg2:Array):void{
lt246.ip538 = f78(_arg1, _arg2, 2);
lt246.df539 = f78(_arg1, _arg2, 2);
lt246.mj542 = f78(_arg1, _arg2, 2);
lt246.iq544 = f78(_arg1, _arg2, 4);
lt246.od540 = f78(_arg1, _arg2, 2);
lt246.kj541 = f78(_arg1, _arg2, 2);
lt246.qw543 = f78(_arg1, _arg2, 2);
lt246.pu545 = f78(_arg1, _arg2, 4);
lt246.hi547 = f78(_arg1, _arg2, 2);
lt246.mv548 = f78(_arg1, _arg2, 2);
lt246.fv549 = f77(_arg1, _arg2, 4);
lt246.uz550 = f78(_arg1, _arg2, 2);
lt246.wy551 = f78(_arg1, _arg2, 2);
lt246.vi552 = f78(_arg1, _arg2, 2);
lt246.jg553 = f78(_arg1, _arg2, 2);
}
private function s87(_arg1:MPFace):int{
lt246.gp504 = this;
this.jf260 = true;
cj249.dataFormat = URLLoaderDataFormat.BINARY;
cj249.addEventListener(Event.COMPLETE, a86);
cj249.load(new URLRequest((kv258 + "faceparam.data")));
return (1);
}
public function g131(_arg1:MPGlasses, _arg2:String):void{
this.rm261 = true;
_arg1.by885 = _arg2;
fz247 = _arg1;
zx251.dataFormat = URLLoaderDataFormat.BINARY;
zx251.addEventListener(Event.COMPLETE, y130);
zx251.load(new URLRequest((_arg1.by885 + "glass.txt")));
}
private function b139(_arg1:int, _arg2:MPFace, _arg3:MPGlasses, _arg4:Number):void{
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:int;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Number;
var _local15:Number;
var _local16:Number;
var _local17:Number;
var _local18:Number;
var _local19:Number;
var _local20:Number;
var _local21:Number;
var _local22:int;
var _local23:Number;
var _local24:Number;
var _local25:int;
var _local26:int;
var _local27:Number;
var _local28:Number;
var _local29:Number;
var _local30:Number;
var _local31:Number;
var _local32:Number;
var _local33:Number;
var _local34:Number;
var _local35:Number;
var _local36:Number;
var _local37:Number;
var _local38:Number;
var _local39:Number;
var _local40:Number;
var _local41:Number;
var _local42:Number;
var _local43:Number;
var _local44:Number;
_local43 = (_arg3.vd882 * _arg3.xr883);
_local44 = (_arg3.vd882 * _arg3.op884);
_local36 = _arg2.cc495;
_local37 = _arg2.vh496;
_local38 = _arg2.hr497;
_local39 = x116(_local38);
_local40 = z117(_local38);
_local41 = (-0.5 * x116(_local37));
_local42 = (0.5 * x116(_local36));
_local28 = _arg2.yp596[0];
_local29 = _arg2.yp596[4];
_local30 = _arg2.yp596[8];
_local31 = _arg2.yp596[12];
_local32 = _arg2.yp596[1];
_local33 = _arg2.yp596[5];
_local34 = _arg2.yp596[9];
_local35 = _arg2.yp596[13];
_local27 = _arg3.vd882;
_local9 = (_arg1 + 6);
_local5 = (0.5 * (_arg3.hs558[_local9].x[0] + _arg3.hs558[_local9].x[5]));
_local6 = (0.25 * (((_arg3.hs558[_local9].y[2] + _arg3.hs558[_local9].y[3]) + _arg3.hs558[_local9].y[9]) + _arg3.hs558[_local9].y[8]));
if (_arg1 == 0){
_local25 = 0;
_local26 = 0;
} else {
_local25 = ((2 * (MPCONST.qq243 + 1)) * 3);
_local26 = ((2 * (MPCONST.qq243 + 1)) * 2);
};
_local22 = 0;
while (_local22 <= MPCONST.qq243) {
_local23 = _arg3.hs558[_local9].x[_local22];
_local24 = _arg3.hs558[_local9].y[_local22];
_local7 = (_local23 - _local5);
_local8 = (_local24 - _local6);
_local20 = ((_local40 * _local7) + (_local39 * _local8));
_local21 = ((-(_local39) * _local7) + (_local40 * _local8));
var _temp1 = _local26;
_local26 = (_local26 + 1);
var _local45 = _temp1;
_arg3.nh916[_local45] = ((0.5 + (4 * _local20)) + _local41);
var _temp2 = _local26;
_local26 = (_local26 + 1);
var _local46 = _temp2;
_arg3.nh916[_local46] = ((0.5 + (3 * _local21)) + _local42);
_local13 = (_local23 - _arg3.ar877);
_local14 = (_local24 - _arg3.in878);
_local10 = (_arg3.td879 + ((_local44 * _local13) + (_local43 * _local14)));
_local11 = (_arg3.wc880 + ((-(_local43) * _local13) + (_local44 * _local14)));
_local12 = _arg4;
_local20 = ((((_local28 * _local10) + (_local29 * _local11)) + (_local30 * _local12)) + _local31);
_local21 = ((((_local32 * _local10) + (_local33 * _local11)) + (_local34 * _local12)) + _local35);
var _temp3 = _local25;
_local25 = (_local25 + 1);
var _local47 = _temp3;
_arg3.wv915[_local47] = _local20;
var _temp4 = _local25;
_local25 = (_local25 + 1);
var _local48 = _temp4;
_arg3.wv915[_local48] = _local21;
_local25++;
_local23 = _arg3.hs558[_local9].x[(11 - _local22)];
_local24 = _arg3.hs558[_local9].y[(11 - _local22)];
_local7 = (_local23 - _local5);
_local8 = (_local24 - _local6);
_local20 = ((_local40 * _local7) + (_local39 * _local8));
_local21 = ((-(_local39) * _local7) + (_local40 * _local8));
var _temp5 = _local26;
_local26 = (_local26 + 1);
var _local49 = _temp5;
_arg3.nh916[_local49] = ((0.5 + (4 * _local20)) + _local41);
var _temp6 = _local26;
_local26 = (_local26 + 1);
var _local50 = _temp6;
_arg3.nh916[_local50] = ((0.5 + (3 * _local21)) + _local42);
_local13 = (_local23 - _arg3.ar877);
_local14 = (_local24 - _arg3.in878);
_local10 = (_arg3.td879 + ((_local44 * _local13) + (_local43 * _local14)));
_local11 = (_arg3.wc880 + ((-(_local43) * _local13) + (_local44 * _local14)));
_local12 = _arg4;
_local20 = ((((_local28 * _local10) + (_local29 * _local11)) + (_local30 * _local12)) + _local31);
_local21 = ((((_local32 * _local10) + (_local33 * _local11)) + (_local34 * _local12)) + _local35);
var _temp7 = _local25;
_local25 = (_local25 + 1);
var _local51 = _temp7;
_arg3.wv915[_local51] = _local20;
var _temp8 = _local25;
_local25 = (_local25 + 1);
var _local52 = _temp8;
_arg3.wv915[_local52] = _local21;
_local25++;
_local22++;
};
}
public function c97():void{
var _local1:int;
var _local2:int;
var _local3:String;
var _local4:int;
if (lt246.fi509 == 0){
_local4 = jz266.length;
} else {
if (lt246.fi509 == 1){
_local4 = this.wu267.length;
} else {
_local4 = this.cw268.length;
};
};
ug252 = _local4;
ls253 = 0;
y96();
}
private function k95(_arg1:Event):void{
var _local2:Class;
var _local3:Object;
_local2 = (rz244.contentLoaderInfo.applicationDomain.getDefinition("FaceData") as Class);
_local3 = new (_local2);
this.face_png = _local3.face_png;
this.face_org_png = _local3.face_png;
this.lip_eyelash_png = _local3.lip_eyelash_png;
this.shadow_eyelash_png = _local3.shadow_eyelash_png;
this.lower_teeth_png = _local3.lower_teeth_png;
this.upper_teeth_png = _local3.upper_teeth_png;
this.reye_png = _local3.reye_png;
this.reye_reflect_png = _local3.reye_reflect_png;
this.reye_shadow_png = _local3.reye_shadow_png;
this.leye_png = _local3.leye_png;
this.leye_reflect_png = _local3.leye_reflect_png;
this.leye_shadow_png = _local3.leye_shadow_png;
this.hair_png = _local3.hair_png;
this.eyemat_png = _local3.eyemat_png;
this.facez_png = _local3.facez_png;
this.facez2_png = _local3.facez2_png;
this.torso_factor_png = _local3.torso_factor_png;
this.z94();
this.n93();
this.g52();
}
private function y59(_arg1:MPFace, _arg2:Number):int{
var _local3:int;
_local3 = m62(_arg1, _arg2);
if ((_arg2 - _arg1.js590[_local3][6]) < (_arg1.js590[int((_local3 + 1))][6] - _arg2)){
return (_local3);
};
return ((_local3 + 1));
}
public function c119(_arg1:Number):Number{
var _local2:Number;
_local2 = b118(b118(_arg1));
return (_local2);
}
private function z80(_arg1:ByteArray, _arg2:Array):void{
var _local3:int;
_local3 = f77(_arg1, _arg2, 1);
}
private function y67(_arg1:MPFace):void{
var _local2:int;
var _local3:int;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:int;
var _local9:int;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Number;
var _local15:Number;
var _local16:Number;
var _local17:Number;
var _local18:Number;
var _local19:Number;
var _local20:Number;
var _local21:Number;
var _local22:Number;
var _local23:Number;
var _local24:Number;
var _local25:Number;
var _local26:Number;
var _local27:Number;
var _local28:Number;
var _local29:Number;
var _local30:Number;
var _local31:Number;
var _local32:Number;
var _local33:Number;
var _local34:Number;
var _local35:Number;
var _local36:Number;
var _local37:Number;
var _local38:Number;
var _local39:Number;
var _local40:Number;
var _local41:Number;
var _local42:Number;
var _local43:Number;
var _local44:int;
var _local45:int;
var _local46:int;
var _local47:int;
var _local48:int;
var _local49:int;
var _local50:Number;
var _local51:Number;
var _local52:int;
var _local53:int;
var _local54:int;
var _local55:int;
var _local56:int;
var _local57:int;
var _local58:Number;
var _local59:Number;
var _local60:Number;
var _local61:Number;
var _local62:Number;
var _local63:Number;
var _local64:Number;
var _local65:Number;
var _local66:Number;
_local59 = _arg1.yp596[0];
_local60 = _arg1.yp596[1];
_local61 = _arg1.yp596[4];
_local62 = _arg1.yp596[5];
_local63 = _arg1.yp596[8];
_local64 = _arg1.yp596[9];
_local65 = _arg1.yp596[12];
_local66 = _arg1.yp596[13];
_arg1.q158(((_arg1.ip538 + _arg1.od540) * 0.5), ((_arg1.df539 + _arg1.kj541) * 0.5));
_local4 = 0.005;
_local5 = 0.008;
_local32 = (_arg1.kg537 / 8);
_local33 = (_arg1.mz536 / 8);
_local6 = _arg1.hi547;
_local7 = _arg1.mv548;
_local52 = 0;
_local55 = 0;
_local53 = 0;
_local56 = 0;
_local54 = 0;
_local57 = 0;
_local2 = 0;
while (_local2 < 5) {
_local13 = _arg1.hs558[3].x[int((4 - _local2))];
_local14 = _arg1.hs558[3].y[int((4 - _local2))];
_local10 = _arg1.hs558[3].x[int((4 - _local2))];
_local11 = _arg1.hs558[3].y[int((4 - _local2))];
_local44 = int((Number((MPCONST.ru216 - 1)) * _local10));
_local45 = int((Number((MPCONST.ru216 - 1)) * _local11));
_local46 = int((Number((MPCONST.ru216 - 1)) * _local13));
_local47 = int((Number((MPCONST.ru216 - 1)) * _local14));
_local50 = Number(_arg1.jl594[_local45][_local44]);
_local51 = Number(_arg1.jl594[_local47][_local46]);
_local58 = (((((_local50 + _local51) * MPCONST.le225) / 0xFF) - MPCONST.le225) - (MPCONST.le225 * 0.08));
_local48 = t61(_arg1, _local10);
_local49 = m62(_arg1, _local11);
_local36 = _arg1.tv589[4][_local48];
_local37 = _arg1.tv589[4][int((_local48 + 1))];
_local38 = _arg1.js590[_local49][5];
_local39 = _arg1.js590[int((_local49 + 1))][5];
_local34 = ((_local10 - _local36) / (_local37 - _local36));
_local35 = ((_local11 - _local38) / (_local39 - _local38));
_local40 = ((1 - _local34) * (1 - _local35));
_local41 = (_local34 * (1 - _local35));
_local42 = ((1 - _local34) * _local35);
_local43 = (_local34 * _local35);
_local10 = (_local10 + ((((_local40 * (_arg1.fj566[_local49][_local48].x - _local36)) + (_local41 * (_arg1.fj566[_local49][int((_local48 + 1))].x - _local37))) + (_local42 * (_arg1.fj566[int((_local49 + 1))][_local48].x - _local36))) + (_local43 * (_arg1.fj566[int((_local49 + 1))][int((_local48 + 1))].x - _local37))));
_local11 = (_local11 + ((((_local40 * (_arg1.fj566[_local49][_local48].y - _local38)) + (_local41 * (_arg1.fj566[_local49][int((_local48 + 1))].y - _local38))) + (_local42 * (_arg1.fj566[int((_local49 + 1))][_local48].y - _local39))) + (_local43 * (_arg1.fj566[int((_local49 + 1))][int((_local48 + 1))].y - _local39))));
_local48 = t61(_arg1, _local13);
_local49 = m62(_arg1, _local14);
_local36 = _arg1.tv589[4][_local48];
_local37 = _arg1.tv589[4][int((_local48 + 1))];
_local38 = _arg1.js590[_local49][5];
_local39 = _arg1.js590[int((_local49 + 1))][5];
_local34 = ((_local13 - _local36) / (_local37 - _local36));
_local35 = ((_local14 - _local38) / (_local39 - _local38));
_local40 = ((1 - _local34) * (1 - _local35));
_local41 = (_local34 * (1 - _local35));
_local42 = ((1 - _local34) * _local35);
_local43 = (_local34 * _local35);
_local13 = (_local13 + ((((_local40 * (_arg1.yj565[_local49][_local48].x - _local36)) + (_local41 * (_arg1.yj565[_local49][int((_local48 + 1))].x - _local37))) + (_local42 * (_arg1.yj565[int((_local49 + 1))][_local48].x - _local36))) + (_local43 * (_arg1.yj565[int((_local49 + 1))][int((_local48 + 1))].x - _local37))));
_local14 = (_local14 + ((((_local40 * (_arg1.yj565[_local49][_local48].y - _local38)) + (_local41 * (_arg1.yj565[_local49][int((_local48 + 1))].y - _local38))) + (_local42 * (_arg1.yj565[int((_local49 + 1))][_local48].y - _local39))) + (_local43 * (_arg1.yj565[int((_local49 + 1))][int((_local48 + 1))].y - _local39))));
_local11 = (_local11 - _local5);
_local14 = (_local14 + _local5);
if (_local2 == 0){
_local10 = (_local10 + _local4);
_local13 = (_local13 + _local4);
} else {
if (_local2 == 4){
_local10 = (_local10 - _local4);
_local13 = (_local13 - _local4);
};
};
_local16 = ((((_local59 * _local10) + (_local61 * _local11)) + (_local63 * _local58)) + _local65);
_local17 = ((((_local60 * _local10) + (_local62 * _local11)) + (_local64 * _local58)) + _local66);
_local19 = ((((_local59 * _local13) + (_local61 * _local14)) + (_local63 * _local58)) + _local65);
_local20 = ((((_local60 * _local13) + (_local62 * _local14)) + (_local64 * _local58)) + _local66);
if (_arg1.fi509 != 2){
_local28 = ((_local10 - (_local6 - _local32)) / (2 * _local32));
_local30 = (((_local11 - (_local7 - _local33)) - (0.25 * ((_arg1.mz536 * _arg1.oq546) - 0.005))) / (2 * _local33));
_local29 = ((_local13 - (_local6 - _local32)) / (2 * _local32));
_local31 = (((_local14 - (_local7 - _local33)) - (0.25 * ((_arg1.mz536 * _arg1.oq546) - 0.005))) / (2 * _local33));
} else {
_local28 = ((_local10 - (_local6 - _local32)) / (2 * _local32));
_local30 = (((_local11 - (_local7 - _local33)) - (0.25 * ((_arg1.mz536 * _arg1.oq546) - 0.005))) / (2 * _local33));
_local29 = ((_local13 - (_local6 - _local32)) / (2 * _local32));
_local31 = (((_local14 - (_local7 - _local33)) - (0.25 * ((_arg1.mz536 * _arg1.oq546) - 0.005))) / (2 * _local33));
};
var _temp1 = _local55;
_local55 = (_local55 + 1);
var _local67 = _temp1;
_arg1.ae696[_local67] = _local28;
var _temp2 = _local55;
_local55 = (_local55 + 1);
var _local68 = _temp2;
_arg1.ae696[_local68] = _local30;
var _temp3 = _local52;
_local52 = (_local52 + 1);
var _local69 = _temp3;
_arg1.xx695[_local69] = _local16;
var _temp4 = _local52;
_local52 = (_local52 + 1);
var _local70 = _temp4;
_arg1.xx695[_local70] = _local17;
_local52++;
var _temp5 = _local55;
_local55 = (_local55 + 1);
var _local71 = _temp5;
_arg1.ae696[_local71] = _local29;
var _temp6 = _local55;
_local55 = (_local55 + 1);
var _local72 = _temp6;
_arg1.ae696[_local72] = _local31;
var _temp7 = _local52;
_local52 = (_local52 + 1);
var _local73 = _temp7;
_arg1.xx695[_local73] = _local19;
var _temp8 = _local52;
_local52 = (_local52 + 1);
var _local74 = _temp8;
_arg1.xx695[_local74] = _local20;
_local52++;
if (_arg1.fi509 != 2){
_local28 = ((_local10 - (_local6 - _local32)) / (2 * _local32));
_local30 = (((_local11 - (_local7 - _local33)) - (0.25 * -0.01)) / (2 * _local33));
_local29 = ((_local13 - (_local6 - _local32)) / (2 * _local32));
_local31 = (((_local14 - (_local7 - _local33)) - (0.25 * -0.01)) / (2 * _local33));
} else {
_local28 = ((_local10 - (_local6 - _local32)) / (2 * _local32));
_local30 = (((_local11 - (_local7 - _local33)) - (0.25 * -0.01)) / (2 * _local33));
_local29 = ((_local13 - (_local6 - _local32)) / (2 * _local32));
_local31 = (((_local14 - (_local7 - _local33)) - (0.25 * -0.01)) / (2 * _local33));
};
var _temp9 = _local56;
_local56 = (_local56 + 1);
var _local75 = _temp9;
_arg1.tb704[_local75] = _local28;
var _temp10 = _local56;
_local56 = (_local56 + 1);
var _local76 = _temp10;
_arg1.tb704[_local76] = _local30;
var _temp11 = _local53;
_local53 = (_local53 + 1);
var _local77 = _temp11;
_arg1.wj703[_local77] = _local16;
var _temp12 = _local53;
_local53 = (_local53 + 1);
var _local78 = _temp12;
_arg1.wj703[_local78] = _local17;
_local53++;
var _temp13 = _local56;
_local56 = (_local56 + 1);
var _local79 = _temp13;
_arg1.tb704[_local79] = _local29;
var _temp14 = _local56;
_local56 = (_local56 + 1);
var _local80 = _temp14;
_arg1.tb704[_local80] = _local31;
var _temp15 = _local53;
_local53 = (_local53 + 1);
var _local81 = _temp15;
_arg1.wj703[_local81] = _local19;
var _temp16 = _local53;
_local53 = (_local53 + 1);
var _local82 = _temp16;
_arg1.wj703[_local82] = _local20;
_local53++;
if (_arg1.fi509 != 2){
_local29 = (0 + ((Number(_local2) * 1) / 5));
_local31 = (0.3 + ((_local5 * 0.5) / 0.04));
_local28 = (0 + ((Number(_local2) * 1) / 5));
_local30 = (_local30 - (((_local14 - _local11) * 0.5) / 0.04));
if (_local30 < 0.1){
_local11 = (_local14 - (((_local31 - 0.1) * 0.04) / 0.5));
_local30 = 0.1;
};
var _temp17 = _local57;
_local57 = (_local57 + 1);
var _local83 = _temp17;
_arg1.um712[_local83] = _local28;
var _temp18 = _local57;
_local57 = (_local57 + 1);
var _local84 = _temp18;
_arg1.um712[_local84] = _local30;
var _temp19 = _local54;
_local54 = (_local54 + 1);
var _local85 = _temp19;
_arg1.na711[_local85] = _local16;
var _temp20 = _local54;
_local54 = (_local54 + 1);
var _local86 = _temp20;
_arg1.na711[_local86] = _local17;
_local54++;
var _temp21 = _local57;
_local57 = (_local57 + 1);
var _local87 = _temp21;
_arg1.um712[_local87] = _local29;
var _temp22 = _local57;
_local57 = (_local57 + 1);
var _local88 = _temp22;
_arg1.um712[_local88] = _local31;
var _temp23 = _local54;
_local54 = (_local54 + 1);
var _local89 = _temp23;
_arg1.na711[_local89] = _local19;
var _temp24 = _local54;
_local54 = (_local54 + 1);
var _local90 = _temp24;
_arg1.na711[_local90] = _local20;
_local54++;
};
_local2++;
};
}
private function y68(_arg1:MPFace, _arg2:int):void{
var _local3:int;
var _local4:int;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Number;
var _local15:Number;
var _local16:int;
var _local17:int;
var _local18:Number;
var _local19:Number;
var _local20:Number;
var _local21:Number;
var _local22:Number;
var _local23:Number;
var _local24:Number;
var _local25:Number;
var _local26:Number;
var _local27:Number;
var _local28:Number;
var _local29:Number;
var _local30:Number;
var _local31:Number;
var _local32:Number;
var _local33:Number;
var _local34:Number;
var _local35:Number;
var _local36:Number;
var _local37:Number;
var _local38:Number;
var _local39:Number;
var _local40:Number;
var _local41:Number;
var _local42:Number;
var _local43:Number;
var _local44:Number;
var _local45:Number;
var _local46:Number;
var _local47:Number;
var _local48:Number;
var _local49:Number;
var _local50:int;
var _local51:int;
var _local52:int;
var _local53:int;
var _local54:int;
var _local55:int;
var _local56:Number;
var _local57:Number;
var _local58:int;
var _local59:int;
var _local60:int;
var _local61:int;
var _local62:int;
var _local63:int;
var _local64:Number;
var _local65:Number;
var _local66:Number;
var _local67:Number;
var _local68:Number;
var _local69:Number;
var _local70:Number;
var _local71:Number;
var _local72:Number;
_local14 = 4;
_local15 = 1;
_local65 = _arg1.yp596[0];
_local66 = _arg1.yp596[1];
_local67 = _arg1.yp596[4];
_local68 = _arg1.yp596[5];
_local69 = _arg1.yp596[8];
_local70 = _arg1.yp596[9];
_local71 = _arg1.yp596[12];
_local72 = _arg1.yp596[13];
_local8 = 0;
_local7 = _local8;
_local5 = 0.01;
_local6 = 0.016;
if (_arg2 == 0){
_local9 = _arg1.ip538;
_local10 = _arg1.df539;
if (_arg1.fi509 != 2){
_local11 = (_arg1.mj542 * 2);
_local7 = (_arg1.mj542 * 4.5);
_local8 = (_arg1.mj542 * 2.5);
};
} else {
_local9 = _arg1.od540;
_local10 = _arg1.kj541;
if (_arg1.fi509 != 2){
_local11 = (_arg1.qw543 * 2);
_local7 = (-(_arg1.qw543) * 4.5);
_local8 = (_arg1.qw543 * 2.5);
};
};
_local58 = 0;
_local61 = 0;
_local59 = 0;
_local62 = 0;
_local60 = 0;
_local63 = 0;
_local12 = (x116(_arg1.vh496) * 0.025);
_local13 = (x116(_arg1.cc495) * -0.025);
if (_arg2 == 0){
_local21 = _arg1.hs558[1].x[1];
_local22 = (_arg1.hs558[1].y[1] + _local6);
_local18 = _arg1.hs558[1].x[4];
_local19 = (_arg1.hs558[1].y[4] - _local6);
} else {
_local21 = _arg1.hs558[2].x[1];
_local22 = (_arg1.hs558[2].y[1] + _local6);
_local18 = _arg1.hs558[2].x[4];
_local19 = (_arg1.hs558[2].y[4] - _local6);
};
_local50 = int((Number((MPCONST.ru216 - 1)) * _local18));
_local51 = int((Number((MPCONST.ru216 - 1)) * _local19));
_local52 = int((Number((MPCONST.ru216 - 1)) * _local21));
_local53 = int((Number((MPCONST.ru216 - 1)) * _local22));
_local56 = Number(_arg1.jl594[_local51][_local50]);
_local57 = Number(_arg1.jl594[_local53][_local52]);
_local20 = ((((2 * _local56) * MPCONST.le225) / 0xFF) - MPCONST.le225);
_local23 = ((((2 * _local57) * MPCONST.le225) / 0xFF) - MPCONST.le225);
_local64 = (0.5 * (_local20 + _local23));
_local3 = 0;
while (_local3 < 4) {
if (_arg2 == 0){
_local21 = _arg1.hs558[1].x[int((3 - _local3))];
_local22 = (_arg1.hs558[1].y[int((3 - _local3))] + _local6);
_local18 = _arg1.hs558[1].x[int((6 - (3 - _local3)))];
_local19 = (_arg1.hs558[1].y[int((6 - (3 - _local3)))] - _local6);
if (_local3 == 3){
_local18 = _arg1.hs558[1].x[0];
_local19 = (_arg1.hs558[1].y[0] - _local6);
_local18 = (_local18 - _local5);
_local21 = (_local21 - _local5);
} else {
if (_local3 == 0){
_local18 = (_local18 + _local5);
_local21 = (_local21 + _local5);
};
};
} else {
_local21 = _arg1.hs558[2].x[_local3];
_local22 = (_arg1.hs558[2].y[_local3] + _local6);
_local18 = _arg1.hs558[2].x[int((6 - _local3))];
_local19 = (_arg1.hs558[2].y[int((6 - _local3))] - _local6);
if (_local3 == 0){
_local18 = _arg1.hs558[2].x[0];
_local19 = (_arg1.hs558[2].y[0] - _local6);
_local21 = (_local21 + _local5);
_local18 = (_local18 + _local5);
} else {
if (_local3 == 3){
_local21 = (_local21 - _local5);
_local18 = (_local18 - _local5);
};
};
};
_local54 = s60(_arg1, _local18);
_local55 = m62(_arg1, _local19);
_local42 = _arg1.tv589[6][_local54];
_local43 = _arg1.tv589[6][int((_local54 + 1))];
_local44 = _arg1.js590[_local55][5];
_local45 = _arg1.js590[int((_local55 + 1))][5];
_local40 = ((_local18 - _local42) / (_local43 - _local42));
_local41 = ((_local19 - _local44) / (_local45 - _local44));
_local46 = ((1 - _local40) * (1 - _local41));
_local47 = (_local40 * (1 - _local41));
_local48 = ((1 - _local40) * _local41);
_local49 = (_local40 * _local41);
_local18 = (_local18 + ((((_local46 * (_arg1.yj565[_local55][_local54].x - _local42)) + (_local47 * (_arg1.yj565[_local55][int((_local54 + 1))].x - _local43))) + (_local48 * (_arg1.yj565[int((_local55 + 1))][_local54].x - _local42))) + (_local49 * (_arg1.yj565[int((_local55 + 1))][int((_local54 + 1))].x - _local43))));
_local19 = (_local19 + ((((_local46 * (_arg1.yj565[_local55][_local54].y - _local44)) + (_local47 * (_arg1.yj565[_local55][int((_local54 + 1))].y - _local44))) + (_local48 * (_arg1.yj565[int((_local55 + 1))][_local54].y - _local45))) + (_local49 * (_arg1.yj565[int((_local55 + 1))][int((_local54 + 1))].y - _local45))));
_local54 = s60(_arg1, _local21);
_local55 = m62(_arg1, _local22);
_local42 = _arg1.tv589[6][_local54];
_local43 = _arg1.tv589[6][int((_local54 + 1))];
_local44 = _arg1.js590[_local55][5];
_local45 = _arg1.js590[int((_local55 + 1))][5];
_local40 = ((_local21 - _local42) / (_local43 - _local42));
_local41 = ((_local22 - _local44) / (_local45 - _local44));
_local46 = ((1 - _local40) * (1 - _local41));
_local47 = (_local40 * (1 - _local41));
_local48 = ((1 - _local40) * _local41);
_local49 = (_local40 * _local41);
_local21 = (_local21 + ((((_local46 * (_arg1.yj565[_local55][_local54].x - _local42)) + (_local47 * (_arg1.yj565[_local55][int((_local54 + 1))].x - _local43))) + (_local48 * (_arg1.yj565[int((_local55 + 1))][_local54].x - _local42))) + (_local49 * (_arg1.yj565[int((_local55 + 1))][int((_local54 + 1))].x - _local43))));
_local22 = (_local22 + ((((_local46 * (_arg1.yj565[_local55][_local54].y - _local44)) + (_local47 * (_arg1.yj565[_local55][int((_local54 + 1))].y - _local44))) + (_local48 * (_arg1.yj565[int((_local55 + 1))][_local54].y - _local45))) + (_local49 * (_arg1.yj565[int((_local55 + 1))][int((_local54 + 1))].y - _local45))));
_local24 = ((((_local65 * _local18) + (_local67 * _local19)) + (_local69 * _local64)) + _local71);
_local25 = ((((_local66 * _local18) + (_local68 * _local19)) + (_local70 * _local64)) + _local72);
_local27 = ((((_local65 * _local21) + (_local67 * _local22)) + (_local69 * _local64)) + _local71);
_local28 = ((((_local66 * _local21) + (_local68 * _local22)) + (_local70 * _local64)) + _local72);
if (_arg1.fi509 != 2){
_local36 = (((_local18 - (_local9 - _local7)) - _arg1.pr576) / (2 * _local7));
_local38 = (((_local19 - (_local10 - _local8)) - _arg1.ht577) / (2 * _local8));
_local37 = (((_local21 - (_local9 - _local7)) - _arg1.pr576) / (2 * _local7));
_local39 = (((_local22 - (_local10 - _local8)) - _arg1.ht577) / (2 * _local8));
} else {
_local36 = ((((_local18 - _local9) * _local14) * _local15) + 0.5);
_local38 = ((((_local19 - _local10) * _local14) * _local15) + 0.5);
_local37 = ((((_local21 - _local9) * _local14) * _local15) + 0.5);
_local39 = ((((_local22 - _local10) * _local14) * _local15) + 0.5);
};
if (_arg2 == 0){
var _temp1 = _local61;
_local61 = (_local61 + 1);
var _local73 = _temp1;
_arg1.gq728[_local73] = _local36;
var _temp2 = _local61;
_local61 = (_local61 + 1);
var _local74 = _temp2;
_arg1.gq728[_local74] = _local38;
var _temp3 = _local58;
_local58 = (_local58 + 1);
var _local75 = _temp3;
_arg1.bb727[_local75] = _local24;
var _temp4 = _local58;
_local58 = (_local58 + 1);
var _local76 = _temp4;
_arg1.bb727[_local76] = _local25;
_local58++;
var _temp5 = _local61;
_local61 = (_local61 + 1);
var _local77 = _temp5;
_arg1.gq728[_local77] = _local37;
var _temp6 = _local61;
_local61 = (_local61 + 1);
var _local78 = _temp6;
_arg1.gq728[_local78] = _local39;
var _temp7 = _local58;
_local58 = (_local58 + 1);
var _local79 = _temp7;
_arg1.bb727[_local79] = _local27;
var _temp8 = _local58;
_local58 = (_local58 + 1);
var _local80 = _temp8;
_arg1.bb727[_local80] = _local28;
_local58++;
} else {
var _temp9 = _local61;
_local61 = (_local61 + 1);
_local73 = _temp9;
_arg1.cc720[_local73] = _local36;
var _temp10 = _local61;
_local61 = (_local61 + 1);
_local74 = _temp10;
_arg1.cc720[_local74] = _local38;
var _temp11 = _local58;
_local58 = (_local58 + 1);
_local75 = _temp11;
_arg1.td719[_local75] = _local24;
var _temp12 = _local58;
_local58 = (_local58 + 1);
_local76 = _temp12;
_arg1.td719[_local76] = _local25;
_local58++;
var _temp13 = _local61;
_local61 = (_local61 + 1);
_local77 = _temp13;
_arg1.cc720[_local77] = _local37;
var _temp14 = _local61;
_local61 = (_local61 + 1);
_local78 = _temp14;
_arg1.cc720[_local78] = _local39;
var _temp15 = _local58;
_local58 = (_local58 + 1);
_local79 = _temp15;
_arg1.td719[_local79] = _local27;
var _temp16 = _local58;
_local58 = (_local58 + 1);
_local80 = _temp16;
_arg1.td719[_local80] = _local28;
_local58++;
};
if (_arg1.fi509 == 2){
_local36 = (((((_local18 - _local9) - _arg1.pr576) * _local14) * _local15) + 0.5);
_local38 = (((((_local19 - _local10) - _arg1.ht577) * _local14) * _local15) + 0.5);
_local37 = (((((_local21 - _local9) - _arg1.pr576) * _local14) * _local15) + 0.5);
_local39 = (((((_local22 - _local10) - _arg1.ht577) * _local14) * _local15) + 0.5);
if (_arg2 == 0){
var _temp17 = _local62;
_local62 = (_local62 + 1);
_local73 = _temp17;
_arg1.ot776[_local73] = _local36;
var _temp18 = _local62;
_local62 = (_local62 + 1);
_local74 = _temp18;
_arg1.ot776[_local74] = _local38;
var _temp19 = _local59;
_local59 = (_local59 + 1);
_local75 = _temp19;
_arg1.ls775[_local75] = _local24;
var _temp20 = _local59;
_local59 = (_local59 + 1);
_local76 = _temp20;
_arg1.ls775[_local76] = _local25;
_local59++;
var _temp21 = _local62;
_local62 = (_local62 + 1);
_local77 = _temp21;
_arg1.ot776[_local77] = _local37;
var _temp22 = _local62;
_local62 = (_local62 + 1);
_local78 = _temp22;
_arg1.ot776[_local78] = _local39;
var _temp23 = _local59;
_local59 = (_local59 + 1);
_local79 = _temp23;
_arg1.ls775[_local79] = _local27;
var _temp24 = _local59;
_local59 = (_local59 + 1);
_local80 = _temp24;
_arg1.ls775[_local80] = _local28;
_local59++;
} else {
var _temp25 = _local62;
_local62 = (_local62 + 1);
_local73 = _temp25;
_arg1.ol768[_local73] = _local36;
var _temp26 = _local62;
_local62 = (_local62 + 1);
_local74 = _temp26;
_arg1.ol768[_local74] = _local38;
var _temp27 = _local59;
_local59 = (_local59 + 1);
_local75 = _temp27;
_arg1.sj767[_local75] = _local24;
var _temp28 = _local59;
_local59 = (_local59 + 1);
_local76 = _temp28;
_arg1.sj767[_local76] = _local25;
_local59++;
var _temp29 = _local62;
_local62 = (_local62 + 1);
_local77 = _temp29;
_arg1.ol768[_local77] = _local37;
var _temp30 = _local62;
_local62 = (_local62 + 1);
_local78 = _temp30;
_arg1.ol768[_local78] = _local39;
var _temp31 = _local59;
_local59 = (_local59 + 1);
_local79 = _temp31;
_arg1.sj767[_local79] = _local27;
var _temp32 = _local59;
_local59 = (_local59 + 1);
_local80 = _temp32;
_arg1.sj767[_local80] = _local28;
_local59++;
};
};
if (_arg1.fi509 != 2){
_local36 = (((_local18 - (_local9 - 0.125)) - _local12) * 4);
_local38 = (((_local19 - (_local10 - 0.125)) - _local13) * 4);
_local37 = (((_local21 - (_local9 - 0.125)) - _local12) * 4);
_local39 = (((_local22 - (_local10 - 0.125)) - _local13) * 4);
} else {
_local36 = (((((_local18 - _local9) - _local12) * _local14) * _local15) + 0.5);
_local38 = (((((_local19 - _local10) - _local13) * _local14) * _local15) + 0.5);
_local37 = (((((_local21 - _local9) - _local12) * _local14) * _local15) + 0.5);
_local39 = (((((_local22 - _local10) - _local13) * _local14) * _local15) + 0.5);
};
if (_arg2 == 0){
var _temp33 = _local63;
_local63 = (_local63 + 1);
_local73 = _temp33;
_arg1.zw744[_local73] = _local36;
var _temp34 = _local63;
_local63 = (_local63 + 1);
_local74 = _temp34;
_arg1.zw744[_local74] = _local38;
var _temp35 = _local60;
_local60 = (_local60 + 1);
_local75 = _temp35;
_arg1.dd743[_local75] = _local24;
var _temp36 = _local60;
_local60 = (_local60 + 1);
_local76 = _temp36;
_arg1.dd743[_local76] = _local25;
_local60++;
var _temp37 = _local63;
_local63 = (_local63 + 1);
_local77 = _temp37;
_arg1.zw744[_local77] = _local37;
var _temp38 = _local63;
_local63 = (_local63 + 1);
_local78 = _temp38;
_arg1.zw744[_local78] = _local39;
var _temp39 = _local60;
_local60 = (_local60 + 1);
_local79 = _temp39;
_arg1.dd743[_local79] = _local27;
var _temp40 = _local60;
_local60 = (_local60 + 1);
_local80 = _temp40;
_arg1.dd743[_local80] = _local28;
_local60++;
} else {
var _temp41 = _local63;
_local63 = (_local63 + 1);
_local73 = _temp41;
_arg1.xg736[_local73] = _local36;
var _temp42 = _local63;
_local63 = (_local63 + 1);
_local74 = _temp42;
_arg1.xg736[_local74] = _local38;
var _temp43 = _local60;
_local60 = (_local60 + 1);
_local75 = _temp43;
_arg1.mk735[_local75] = _local24;
var _temp44 = _local60;
_local60 = (_local60 + 1);
_local76 = _temp44;
_arg1.mk735[_local76] = _local25;
_local60++;
var _temp45 = _local63;
_local63 = (_local63 + 1);
_local77 = _temp45;
_arg1.xg736[_local77] = _local37;
var _temp46 = _local63;
_local63 = (_local63 + 1);
_local78 = _temp46;
_arg1.xg736[_local78] = _local39;
var _temp47 = _local60;
_local60 = (_local60 + 1);
_local79 = _temp47;
_arg1.mk735[_local79] = _local27;
var _temp48 = _local60;
_local60 = (_local60 + 1);
_local80 = _temp48;
_arg1.mk735[_local80] = _local28;
_local60++;
};
_local3++;
};
}
private function t101(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int):void{
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:int;
var _local10:int;
_local6 = _arg2;
while (_local6 < _arg3) {
_local8 = _arg4;
_local9 = lt246.jb591[_local8][_local6];
do {
if ((_arg1 & _local9) == 0){
_local8++;
if (_local8 < _arg5){
_local9 = lt246.jb591[_local8][_local6];
};
} else {
_local10 = 0;
if ((_local9 & 1) == 0){
var _local11 = ce282++;
gf280[_local11] = _local6;
var _local12 = ce282++;
gf280[_local12] = _local8;
_local10 = (_local10 + 1);
};
_local7 = _local8;
while (true) {
if ((_local9 & 1) == 1){
_local11 = ce282++;
gf280[_local11] = _local6;
_local12 = ce282++;
gf280[_local12] = _local7;
var _local13 = ce282++;
gf280[_local13] = (_local6 + 1);
var _local14 = ce282++;
gf280[_local14] = _local7;
} else {
_local11 = ce282++;
gf280[_local11] = (_local6 + 1);
_local12 = ce282++;
gf280[_local12] = _local7;
_local13 = ce282++;
gf280[_local13] = _local6;
_local14 = ce282++;
gf280[_local14] = _local7;
};
_local10 = (_local10 + 2);
if (_local7 == _arg5){
break;
} else {
if ((_arg1 & lt246.jb591[_local7][_local6]) == 0){
break;
} else {
if ((_local9 & 1) != (lt246.jb591[_local7][_local6] & 1)){
if ((_local9 & 1) == 0){
_local11 = ce282++;
gf280[_local11] = _local6;
_local12 = ce282++;
gf280[_local12] = _local7;
} else {
_local11 = ce282++;
gf280[_local11] = (_local6 + 1);
_local12 = ce282++;
gf280[_local12] = _local7;
};
_local10 = (_local10 + 1);
_local9 = lt246.jb591[_local7][_local6];
};
};
};
_local7++;
};
_local11 = gi285++;
cb281[_local11] = _local10;
_local8 = _local7;
if (_local8 < _arg5){
_local9 = lt246.jb591[_local8][_local6];
};
};
} while (_local8 < _arg5);
_local6++;
};
}
public function p50(_arg1:String):void{
this.kv258 = _arg1;
}
private function i74(_arg1:MPFace, _arg2:int):void{
var _local3:int;
var _local4:int;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:int;
var _local15:int;
var _local16:Number;
var _local17:Number;
var _local18:Number;
var _local19:Number;
var _local20:Number;
var _local21:Number;
var _local22:Number;
var _local23:Number;
var _local24:Number;
var _local25:Number;
var _local26:Number;
var _local27:Number;
var _local28:Number;
var _local29:Number;
var _local30:Number;
var _local31:Number;
var _local32:Number;
var _local33:Number;
var _local34:Number;
var _local35:Number;
var _local36:Number;
var _local37:Number;
var _local38:Number;
var _local39:Number;
var _local40:Number;
var _local41:Number;
var _local42:Number;
var _local43:Number;
var _local44:Number;
var _local45:Number;
var _local46:Number;
var _local47:Number;
var _local48:Number;
var _local49:Number;
var _local50:Number;
var _local51:Number;
var _local52:Number;
var _local53:Number;
var _local54:Number;
var _local55:Number;
var _local56:Number;
var _local57:Number;
var _local58:Number;
var _local59:int;
var _local60:int;
var _local61:Number;
var _local62:int;
var _local63:int;
var _local64:Number;
var _local65:Number;
var _local66:Number;
var _local67:Number;
var _local68:Number;
_local4 = 6;
_local5 = 0.8;
if (_arg2 == 0){
_local16 = _arg1.te572[0];
if (_arg1.fi509 != 2){
_local6 = _arg1.ww513;
_local64 = _local6;
_local7 = _arg1.blinkR1;
_local65 = _local7;
} else {
_local6 = 0.001;
_local7 = 0.002;
_local64 = 0.001;
_local65 = 0.002;
};
} else {
_local16 = _arg1.dc574[0];
if (_arg1.fi509 != 2){
_local6 = _arg1.rw512;
_local64 = _local6;
_local7 = _arg1.blinkL1;
_local65 = _local7;
} else {
_local6 = 0.001;
_local7 = 0.002;
_local64 = 0.001;
_local65 = 0.002;
};
};
_local8 = (_local16 * 0.05);
_local9 = (_local16 * 0.95);
_local10 = (_local16 * 0.05);
if (_arg2 == 0){
_local3 = 0;
while (_local3 < _local4) {
if (_local3 == 0){
_local66 = _local64;
_local67 = _local65;
} else {
if (_local3 == 1){
_local66 = _local64;
_local67 = _local65;
} else {
_local66 = _local6;
_local67 = _local7;
};
};
_local12 = (_arg1.tl561[(_local3 + _local4)] - _arg1.tl561[_local3]);
_local13 = (_arg1.km562[(_local3 + _local4)] - _arg1.km562[_local3]);
_arg1.ct570[0][_local3].x = (_arg1.tl561[int((_local3 + _local4))] - (_local8 * _local12));
_arg1.ct570[0][_local3].y = (_arg1.km562[int((_local3 + _local4))] - (_local8 * _local13));
_arg1.ct570[0][_local3].s = _arg1.tl561[int((_local3 + _local4))];
_arg1.ct570[0][_local3].t = _arg1.km562[int((_local3 + _local4))];
_arg1.ct570[1][_local3].x = (_arg1.tl561[_local3] + (_local9 * _local12));
_arg1.ct570[1][_local3].y = (_arg1.km562[_local3] + (_local9 * _local13));
_arg1.ct570[1][_local3].s = _arg1.tl561[_local3];
_arg1.ct570[1][_local3].t = _arg1.km562[_local3];
_arg1.ct570[2][_local3].x = (_arg1.tl561[_local3] + ((_local9 - _local66) * _local12));
_arg1.ct570[2][_local3].y = (_arg1.km562[_local3] + ((_local9 - _local66) * _local13));
_arg1.ct570[2][_local3].s = (_arg1.tl561[_local3] - (_local66 * _local12));
_arg1.ct570[2][_local3].t = (_arg1.km562[_local3] - (_local66 * _local13));
_arg1.ct570[3][_local3].x = (_arg1.tl561[_local3] + ((_local10 - _local67) * _local12));
_arg1.ct570[3][_local3].y = (_arg1.km562[_local3] + ((_local10 - _local67) * _local13));
_arg1.ct570[3][_local3].s = (_arg1.tl561[_local3] - (_local67 * _local12));
_arg1.ct570[3][_local3].t = (_arg1.km562[_local3] - (_local67 * _local13));
_local3++;
};
} else {
_local3 = 0;
while (_local3 < _local4) {
if (_local3 == 5){
_local66 = _local64;
_local67 = _local65;
} else {
if (_local3 == 4){
_local66 = _local64;
_local67 = _local65;
} else {
_local66 = _local6;
_local67 = _local7;
};
};
_local12 = (_arg1.fq563[int((((_local4 - 1) - _local3) + _local4))] - _arg1.fq563[int(((_local4 - 1) - _local3))]);
_local13 = (_arg1.rm564[int((((_local4 - 1) - _local3) + _local4))] - _arg1.rm564[int(((_local4 - 1) - _local3))]);
_arg1.ct570[0][_local3].x = (_arg1.fq563[int((((_local4 - 1) - _local3) + _local4))] - (_local8 * _local12));
_arg1.ct570[0][_local3].y = (_arg1.rm564[int((((_local4 - 1) - _local3) + _local4))] - (_local8 * _local13));
_arg1.ct570[0][_local3].s = _arg1.fq563[int((((_local4 - 1) - _local3) + _local4))];
_arg1.ct570[0][_local3].t = _arg1.rm564[int((((_local4 - 1) - _local3) + _local4))];
_arg1.ct570[1][_local3].x = (_arg1.fq563[int(((_local4 - 1) - _local3))] + (_local9 * _local12));
_arg1.ct570[1][_local3].y = (_arg1.rm564[int(((_local4 - 1) - _local3))] + (_local9 * _local13));
_arg1.ct570[1][_local3].s = _arg1.fq563[int(((_local4 - 1) - _local3))];
_arg1.ct570[1][_local3].t = _arg1.rm564[int(((_local4 - 1) - _local3))];
_arg1.ct570[2][_local3].x = (_arg1.fq563[int(((_local4 - 1) - _local3))] + ((_local9 - _local66) * _local12));
_arg1.ct570[2][_local3].y = (_arg1.rm564[int(((_local4 - 1) - _local3))] + ((_local9 - _local66) * _local13));
_arg1.ct570[2][_local3].s = (_arg1.fq563[int(((_local4 - 1) - _local3))] - (_local66 * _local12));
_arg1.ct570[2][_local3].t = (_arg1.rm564[int(((_local4 - 1) - _local3))] - (_local66 * _local13));
_arg1.ct570[3][_local3].x = (_arg1.fq563[int(((_local4 - 1) - _local3))] + ((_local10 - _local67) * _local12));
_arg1.ct570[3][_local3].y = (_arg1.rm564[int(((_local4 - 1) - _local3))] + ((_local10 - _local67) * _local13));
_arg1.ct570[3][_local3].s = (_arg1.fq563[int(((_local4 - 1) - _local3))] - (_local67 * _local12));
_arg1.ct570[3][_local3].t = (_arg1.rm564[int(((_local4 - 1) - _local3))] - (_local67 * _local13));
_local3++;
};
};
n56(_arg1, _local4, 4);
c64(_arg1, 4, _local4);
if (_arg1.fi509 != 2){
_local11 = ((_arg1.km562[9] - _arg1.km562[3]) * 0.48);
u123(_arg1, _arg2, _local11);
};
v124(_arg1, _arg2);
if (_arg1.fi509 == 2){
p125(_arg1, _arg2);
};
if (_arg1.pz514 == 0){
if (_arg2 == 0){
_local14 = (3 * _arg1.lo656);
_local15 = (2 * _arg1.lo656);
} else {
_local14 = (3 * _arg1.xk659);
_local15 = (2 * _arg1.xk659);
};
} else {
if (_arg2 == 0){
_local14 = (3 * _arg1.jz689);
_local15 = (2 * _arg1.jz689);
} else {
_local14 = (3 * _arg1.nn692);
_local15 = (2 * _arg1.nn692);
};
};
v126(_arg1, _arg2, _local14, _local15);
}
private function x53(_arg1:int, _arg2:Array, _arg3:Array):void{
var _local4:int;
var _local5:int;
_local5 = (MPCONST.wz221 + 1);
_local4 = 0;
while (_local4 < _local5) {
_arg2[_local4] = lt246.ja559[_arg1][int((2 * _local4))].x;
_arg3[_local4] = lt246.ja559[_arg1][int((2 * _local4))].y;
_arg2[(6 + _local4)] = lt246.ja559[_arg1][int((11 + (2 * _local4)))].x;
_arg3[(6 + _local4)] = lt246.ja559[_arg1][int((11 + (2 * _local4)))].y;
_local4++;
};
}
public function p55(_arg1:MPFace):void{
var _local2:int;
_arg1.graphics.clear();
e121(_arg1);
r54(_arg1);
y67(_arg1);
y68(_arg1, 0);
y68(_arg1, 1);
e72(_arg1, 0);
e72(_arg1, 1);
i74(_arg1, 0);
i74(_arg1, 1);
p71(_arg1);
if (_arg1.fi509 == 2){
q70(_arg1);
};
c69(_arg1);
}
private function i82(_arg1:ByteArray, _arg2:Array):void{
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:EyeFine;
lt246.fb560 = f77(_arg1, _arg2, 1);
_local5 = ((lt246.fb560 / 2) - 1);
_local3 = 0;
while (_local3 < 2) {
_local4 = 0;
while (_local4 < _local5) {
_local6 = lt246.ja559[_local3][_local4];
_local6.x = f78(_arg1, _arg2, 2);
_local6.y = f78(_arg1, _arg2, 2);
_local4++;
};
_local4 = 0;
while (_local4 < _local5) {
_local6 = lt246.ja559[_local3][(_local4 + _local5)];
_local6.x = f78(_arg1, _arg2, 2);
_local6.y = f78(_arg1, _arg2, 2);
_local4++;
};
_local3++;
};
lt246.rw512 = f78(_arg1, _arg2, 4);
lt246.blinkL1 = f78(_arg1, _arg2, 4);
lt246.ww513 = f78(_arg1, _arg2, 4);
lt246.blinkR1 = f78(_arg1, _arg2, 4);
lt246.eo510 = f78(_arg1, _arg2, 4);
lt246.LeyeR = f78(_arg1, _arg2, 4);
lt246.LeyeG = f78(_arg1, _arg2, 4);
lt246.LeyeB = f78(_arg1, _arg2, 4);
lt246.wq511 = f78(_arg1, _arg2, 4);
lt246.ReyeR = f78(_arg1, _arg2, 4);
lt246.ReyeG = f78(_arg1, _arg2, 4);
lt246.ReyeB = f78(_arg1, _arg2, 4);
}
private function z94():void{
var _local1:int;
var _local2:int;
var _local3:BitmapData;
var _local4:BitmapData;
var _local5:BitmapData;
var _local6:int;
var _local7:int;
var _local8:uint;
var _local9:uint;
if (lt246.fi509 == 0){
_local3 = this.facez_png;
_local4 = this.torso_factor_png;
} else {
if (lt246.fi509 == 1){
_local3 = this.facez_png;
_local4 = this.torso_factor_png;
} else {
_local3 = this.facez_png;
_local4 = this.torso_factor_png;
_local5 = this.facez2_png;
};
};
_local6 = _local3.width;
_local7 = _local3.height;
_local2 = 0;
while (_local2 < _local7) {
_local1 = 0;
while (_local1 < _local6) {
_local8 = (_local3.getPixel(_local1, _local2) & 0xFF);
lt246.jl594[((_local7 - 1) - _local2)][_local1] = _local8;
_local1++;
};
_local2++;
};
_local6 = _local4.width;
_local7 = _local4.height;
_local2 = 0;
while (_local2 < _local7) {
_local1 = 0;
while (_local1 < _local6) {
_local8 = (_local4.getPixel(_local1, _local2) & 0xFF);
lt246.wh595[((_local7 - 1) - _local2)][_local1] = _local8;
_local1++;
};
_local2++;
};
if (lt246.fi509 == 2){
_local6 = _local5.width;
_local7 = _local5.height;
_local2 = 0;
while (_local2 < _local7) {
_local1 = 0;
while (_local1 < _local6) {
_local8 = (_local3.getPixel(_local1, _local2) & 0xFF);
_local9 = (_local5.getPixel(_local1, _local2) & 0xFF);
if (_local9 > _local8){
_local8 = _local9;
};
lt246.jl594[((_local7 - 1) - _local2)][_local1] = _local8;
_local1++;
};
_local2++;
};
};
v88();
}
private function q70(_arg1:MPFace):void{
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:int;
_local5 = 0;
_local4 = _local5;
_local8 = 0;
while (_local4 < lt246.ol863) {
_local7 = _arg1.tl853[_local4];
_local6 = 0;
while (_local6 < _local7) {
var _temp1 = _local5;
_local5 = (_local5 + 1);
_local2 = _arg1.tx850[_temp1];
var _temp2 = _local5;
_local5 = (_local5 + 1);
_local3 = _arg1.tx850[_temp2];
_arg1.dz851[int(((3 * _local8) + 0))] = _arg1.nh567[_local3][_local2].x;
_arg1.dz851[int(((3 * _local8) + 1))] = _arg1.nh567[_local3][_local2].y;
_local8++;
_local6++;
};
_local4++;
};
}
private function a86(_arg1:Event):void{
ds254[0] = 0;
m79(cj249.data, ds254);
z80(cj249.data, ds254);
n81(cj249.data, ds254);
i82(cj249.data, ds254);
m83(cj249.data, ds254);
k84(cj249.data, ds254);
k85(cj249.data, ds254);
cj249.close();
x98();
if (lt246.fi509 == 2){
s103();
};
s107();
this.fa259 = true;
this.jf260 = false;
c97();
}
private function d110(_arg1:IOErrorEvent):void{
var _local2:int;
lt246.hs558[oc257].wi382 = 1;
lt246.hs558[oc257].du955 = 0;
_local2 = 0;
while (_local2 < MPCONST.ji224) {
lt246.hs558[oc257].x[_local2] = (lt246.hs558[oc257].y[_local2] = 0.5);
_local2++;
};
trace(("curedpar (file not found): " + oc257));
oc257++;
}
private function y130(_arg1:Event):void{
var _local2:uint;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:Object;
var _local7:Array;
var _local8:int;
var _local9:int;
_local7 = new Array();
_local8 = 0;
_local2 = zx251.data.length;
mb463 = 0;
is464 = 0;
_local8 = 0;
_local3 = 0;
while (_local3 < _local2) {
_local6 = a127(zx251.data, _local3);
if (_local6 == null){
} else {
var _temp1 = _local8;
_local8 = (_local8 + 1);
var _local10 = _temp1;
_local7[_local10] = _local6;
};
_local3++;
};
_local5 = 0;
var _temp2 = _local5;
_local5 = (_local5 + 1);
fz247.jz886 = _local7[_temp2];
_local3 = 6;
while (_local3 <= 8) {
var _temp3 = _local5;
_local5 = (_local5 + 1);
_local9 = _local7[_temp3];
_local4 = 0;
while (_local4 < _local9) {
var _temp4 = _local5;
_local5 = (_local5 + 1);
fz247.hs558[_local3].x[_local4] = _local7[_temp4];
var _temp5 = _local5;
_local5 = (_local5 + 1);
fz247.hs558[_local3].y[_local4] = _local7[_temp5];
_local4++;
};
while (_local4 < MPCONST.ji224) {
fz247.hs558[_local3].x[_local4] = 0.5;
fz247.hs558[_local3].y[_local4] = 0.5;
_local4++;
};
_local3++;
};
var _temp6 = _local5;
_local5 = (_local5 + 1);
_local9 = _local7[_temp6];
fz247.ux924 = _local9;
_local4 = 0;
while (_local4 < 2) {
_local3 = 0;
while (_local3 <= _local9) {
var _temp7 = _local5;
_local5 = (_local5 + 1);
GlassFine(fz247.is923[_local4][_local3]).x = _local7[_temp7];
var _temp8 = _local5;
_local5 = (_local5 + 1);
GlassFine(fz247.is923[_local4][_local3]).os214 = _local7[_temp8];
var _temp9 = _local5;
_local5 = (_local5 + 1);
GlassFine(fz247.is923[_local4][_local3]).rk215 = _local7[_temp9];
_local3++;
};
_local4++;
};
zx251.close();
ls253 = 0;
tn250.contentLoaderInfo.addEventListener(Event.COMPLETE, o129);
tn250.load(new URLRequest((fz247.by885 + "glass.png")));
}
private function n140(_arg1:MPFace, _arg2:MPGlasses, _arg3:Number):void{
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Number;
var _local15:Number;
var _local16:Number;
var _local17:Number;
var _local18:Number;
var _local19:Number;
var _local20:Number;
var _local21:Number;
var _local22:Number;
var _local23:Number;
var _local24:Number;
var _local25:Number;
var _local26:Number;
var _local27:Number;
var _local28:Number;
var _local29:int;
var _local30:int;
_local15 = _arg1.yp596[0];
_local16 = _arg1.yp596[4];
_local17 = _arg1.yp596[8];
_local18 = _arg1.yp596[12];
_local19 = _arg1.yp596[1];
_local20 = _arg1.yp596[5];
_local21 = _arg1.yp596[9];
_local22 = _arg1.yp596[13];
_local23 = (_arg2.vd882 * _arg2.xr883);
_local24 = (_arg2.vd882 * _arg2.op884);
_local29 = 0;
_local30 = 0;
_local5 = 0;
while (_local5 <= MPCONST.nh241) {
_local4 = 0;
while (_local4 <= MPCONST.hl242) {
_local27 = ((Number(_local4) / Number(MPCONST.hl242)) - _arg2.ar877);
_local28 = ((0.25 + ((0.5 * Number(_local5)) / Number(MPCONST.nh241))) - _arg2.in878);
_local25 = (((_local24 * _local27) + (_local23 * _local28)) + _arg2.td879);
_local26 = (((-(_local23) * _local27) + (_local24 * _local28)) + _arg2.wc880);
_local6 = int((_local25 * Number((MPCONST.ru216 - 1))));
_local7 = int((_local26 * Number((MPCONST.ru216 - 1))));
_local10 = ((((2 * MPCONST.le225) * Number(_arg1.jl594[_local7][_local6])) / 0xFF) - MPCONST.le225);
if (_local10 > _arg3){
_local10 = _arg3;
};
_local8 = _local25;
_local9 = _local26;
_local11 = (Number(_local4) / Number(MPCONST.hl242));
_local12 = (Number(_local5) / Number(MPCONST.nh241));
_local13 = ((((_local15 * _local8) + (_local16 * _local9)) + (_local17 * _local10)) + _local18);
_local14 = ((((_local19 * _local8) + (_local20 * _local9)) + (_local21 * _local10)) + _local22);
if (_local5 >= 1){
var _temp1 = _local29;
_local29 = (_local29 + 1);
var _local31 = _temp1;
_arg2.db897[_local31] = hz484[_local4];
var _temp2 = _local29;
_local29 = (_local29 + 1);
var _local32 = _temp2;
_arg2.db897[_local32] = jz485[_local4];
_local29++;
var _temp3 = _local30;
_local30 = (_local30 + 1);
var _local33 = _temp3;
_arg2.tu898[_local33] = xm487[_local4];
var _temp4 = _local30;
_local30 = (_local30 + 1);
var _local34 = _temp4;
_arg2.tu898[_local34] = my488[_local4];
var _temp5 = _local29;
_local29 = (_local29 + 1);
var _local35 = _temp5;
_arg2.db897[_local35] = _local13;
var _temp6 = _local29;
_local29 = (_local29 + 1);
var _local36 = _temp6;
_arg2.db897[_local36] = _local14;
_local29++;
var _temp7 = _local30;
_local30 = (_local30 + 1);
var _local37 = _temp7;
_arg2.tu898[_local37] = _local11;
var _temp8 = _local30;
_local30 = (_local30 + 1);
var _local38 = _temp8;
_arg2.tu898[_local38] = _local12;
};
hz484[_local4] = _local13;
jz485[_local4] = _local14;
xm487[_local4] = _local11;
my488[_local4] = _local12;
_local4++;
};
_local5++;
};
}
public function g51(_arg1:MPFace, _arg2:String, _arg3:String):void{
this.lt246 = _arg1;
s87(_arg1);
}
private function y135(_arg1:Array, _arg2:int):Number{
var _local3:Number;
var _local4:int;
_local3 = _arg1[0];
_local4 = 1;
while (_local4 < _arg2) {
if (_arg1[_local4] < _local3){
_local3 = _arg1[_local4];
};
_local4++;
};
return (_local3);
}
private function p71(_arg1:MPFace):void{
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:int;
var _local10:int;
var _local11:int;
var _local12:int;
var _local13:int;
var _local14:int;
_local6 = 2;
_local7 = 4;
_local4 = ((MPCONST.br219 / 2) - 3);
_local5 = ((MPCONST.br219 / 2) + 3);
s66(_arg1, _local4, _local5, _local6, _local7);
_local10 = 0;
_local9 = _local10;
_local13 = 0;
if (_arg1.pz514 == 0){
_local9 = _arg1.au661;
_local10 = 0;
_local13 = 0;
_local8 = (_arg1.zm660 * 3);
while (_local9 < _arg1.bc657) {
_local12 = _arg1.mh671[_local9];
_local11 = 0;
while (_local11 < _local12) {
var _temp1 = _local10;
_local10 = (_local10 + 1);
_local2 = _arg1.hc664[_temp1];
var _temp2 = _local10;
_local10 = (_local10 + 1);
_local3 = _arg1.hc664[_temp2];
var _temp3 = _local8;
_local8 = (_local8 + 1);
var _local15 = _temp3;
_arg1.mh665[_local15] = _arg1.nh567[_local3][_local2].x;
var _temp4 = _local8;
_local8 = (_local8 + 1);
var _local16 = _temp4;
_arg1.mh665[_local16] = _arg1.nh567[_local3][_local2].y;
_local8++;
_local11++;
};
_local9++;
};
} else {
_local9 = _arg1.ac694;
_local10 = 0;
_local13 = 0;
_local8 = (_arg1.zw693 * 3);
while (_local9 < _arg1.gi690) {
_local12 = _arg1.or824[_local9];
_local11 = 0;
while (_local11 < _local12) {
var _temp5 = _local10;
_local10 = (_local10 + 1);
_local2 = _arg1.sy817[_temp5];
var _temp6 = _local10;
_local10 = (_local10 + 1);
_local3 = _arg1.sy817[_temp6];
var _temp7 = _local8;
_local8 = (_local8 + 1);
_local15 = _temp7;
_arg1.ds818[_local15] = _arg1.nh567[_local3][_local2].x;
var _temp8 = _local8;
_local8 = (_local8 + 1);
_local16 = _temp8;
_arg1.ds818[_local16] = _arg1.nh567[_local3][_local2].y;
_local8++;
_local11++;
};
_local9++;
};
};
}
private function g52():void{
var _local1:int;
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:int;
var _local10:int;
var _local11:int;
var _local12:int;
var _local13:int;
var _local14:int;
var _local15:int;
var _local16:int;
var _local17:int;
var _local18:int;
var _local19:int;
var _local20:int;
var _local21:int;
var _local22:int;
var _local23:int;
var _local24:int;
var _local25:int;
var _local26:int;
var _local27:int;
var _local28:int;
var _local29:int;
var _local30:int;
var _local31:int;
var _local32:Array;
zr275 = 0;
lt246.cc495 = 0;
lt246.vh496 = 0;
lt246.hr497 = 0;
lt246.zoom = 0.75;
lt246.wd187[0] = 0;
lt246.wd187[1] = 0;
lt246.wd187[2] = 0;
lt246.te572[0] = 0;
lt246.am573[0] = 0.7;
lt246.pr576 = 0;
lt246.ht577 = 0;
lt246.q156();
lt246.sq569.qq204[0].mx = 0;
lt246.sq569.qq204[0].my = 0;
lt246.sq569.qq204[0].li210 = (lt246.mj542 * 26);
lt246.sq569.qq204[0].ex211 = (lt246.mj542 * 26);
lt246.sq569.qq204[0].dz212 = 0;
lt246.dc574[0] = 0;
lt246.jb575[0] = 0.7;
lt246.ne578 = 0;
lt246.gy579 = 0;
lt246.n157();
lt246.sq569.qq204[1].mx = 0;
lt246.sq569.qq204[1].my = 0;
lt246.sq569.qq204[1].li210 = (lt246.qw543 * 26);
lt246.sq569.qq204[1].ex211 = (lt246.qw543 * 26);
lt246.sq569.qq204[1].dz212 = 0;
x53(0, lt246.tl561, lt246.km562);
x53(1, lt246.fq563, lt246.rm564);
_local12 = 6;
lt246.ih599 = ((MPCONST.ig229 * (MPCONST.pn230 + 1)) * 2);
lt246.os600 = MPCONST.ig229;
lt246.xx695 = new Array((lt246.ih599 * 3));
lt246.ae696 = new Array((lt246.ih599 * 2));
lt246.dr697 = new Array(lt246.os600);
lt246.wu698 = new Array(lt246.os600);
_local2 = 0;
while (_local2 < lt246.os600) {
lt246.dr697[_local2] = (lt246.ih599 / lt246.os600);
lt246.wu698[_local2] = lt246.kn505[122];
_local2++;
};
lt246.fu701 = new TriangleStripArray(lt246.os600, lt246.dr697, lt246.wu698);
lt246.dx699 = new VertexArray(lt246.ih599, 3);
lt246.zr700 = new VertexArray(lt246.ih599, 2);
lt246.se702 = new VertexBuffer();
lt246.se702.p47(lt246.zr700, 1, null);
lt246.wk601 = ((MPCONST.ig229 * (MPCONST.pn230 + 1)) * 2);
lt246.if602 = MPCONST.ig229;
lt246.wj703 = new Array((lt246.wk601 * 3));
lt246.tb704 = new Array((lt246.wk601 * 2));
lt246.ox705 = new Array(lt246.if602);
lt246.vy706 = new Array(lt246.if602);
_local2 = 0;
while (_local2 < lt246.if602) {
lt246.ox705[_local2] = (lt246.wk601 / lt246.if602);
lt246.vy706[_local2] = lt246.kn505[121];
_local2++;
};
lt246.st709 = new TriangleStripArray(lt246.if602, lt246.ox705, lt246.vy706);
lt246.nf707 = new VertexArray(lt246.wk601, 3);
lt246.hk708 = new VertexArray(lt246.wk601, 2);
lt246.ce710 = new VertexBuffer();
lt246.ce710.p47(lt246.hk708, 1, null);
if (lt246.fi509 != 2){
lt246.yg603 = ((MPCONST.ig229 * (MPCONST.pn230 + 1)) * 2);
lt246.ty604 = MPCONST.ig229;
lt246.na711 = new Array((lt246.yg603 * 3));
lt246.um712 = new Array((lt246.yg603 * 2));
lt246.nd713 = new Array(lt246.ty604);
lt246.dx714 = new Array(lt246.ty604);
_local2 = 0;
while (_local2 < lt246.ty604) {
lt246.nd713[_local2] = (lt246.yg603 / lt246.ty604);
lt246.dx714[_local2] = lt246.kn505[8];
_local2++;
};
lt246.zc717 = new TriangleStripArray(lt246.ty604, lt246.nd713, lt246.dx714);
lt246.fd715 = new VertexArray(lt246.yg603, 3);
lt246.mv716 = new VertexArray(lt246.yg603, 2);
lt246.au718 = new VertexBuffer();
lt246.au718.p47(lt246.mv716, 1, null);
};
lt246.mt611 = ((MPCONST.pu231 * (MPCONST.uh232 + 1)) * 2);
lt246.go612 = MPCONST.pu231;
lt246.td719 = new Array((lt246.mt611 * 3));
lt246.cc720 = new Array((lt246.mt611 * 2));
lt246.kx721 = new Array(lt246.go612);
lt246.aa722 = new Array(lt246.go612);
_local2 = 0;
while (_local2 < lt246.go612) {
lt246.kx721[_local2] = (lt246.mt611 / lt246.go612);
if (lt246.fi509 != 2){
lt246.aa722[_local2] = lt246.kn505[4];
} else {
lt246.aa722[_local2] = lt246.kn505[135];
};
_local2++;
};
lt246.xt725 = new TriangleStripArray(lt246.go612, lt246.kx721, lt246.aa722);
lt246.yd723 = new VertexArray(lt246.mt611, 3);
lt246.zs724 = new VertexArray(lt246.mt611, 2);
lt246.to726 = new VertexBuffer();
lt246.to726.p47(lt246.zs724, 1, null);
lt246.dh605 = ((MPCONST.pu231 * (MPCONST.uh232 + 1)) * 2);
lt246.ac606 = MPCONST.pu231;
lt246.bb727 = new Array((lt246.dh605 * 3));
lt246.gq728 = new Array((lt246.dh605 * 2));
lt246.ng729 = new Array(lt246.ac606);
lt246.vv730 = new Array(lt246.ac606);
_local2 = 0;
while (_local2 < lt246.ac606) {
lt246.ng729[_local2] = (lt246.dh605 / lt246.ac606);
if (lt246.fi509 != 2){
lt246.vv730[_local2] = lt246.kn505[4];
} else {
lt246.vv730[_local2] = lt246.kn505[134];
};
_local2++;
};
lt246.jo733 = new TriangleStripArray(lt246.ac606, lt246.ng729, lt246.vv730);
lt246.pj731 = new VertexArray(lt246.dh605, 3);
lt246.go732 = new VertexArray(lt246.dh605, 2);
lt246.gl734 = new VertexBuffer();
lt246.gl734.p47(lt246.go732, 1, null);
lt246.ge609 = ((MPCONST.pu231 * (MPCONST.uh232 + 1)) * 2);
lt246.wz610 = MPCONST.pu231;
lt246.dd743 = new Array((lt246.ge609 * 3));
lt246.zw744 = new Array((lt246.ge609 * 2));
lt246.rx745 = new Array(lt246.wz610);
lt246.bz746 = new Array(lt246.wz610);
_local2 = 0;
while (_local2 < lt246.wz610) {
lt246.rx745[_local2] = (lt246.ge609 / lt246.wz610);
if (lt246.fi509 != 2){
lt246.bz746[_local2] = lt246.kn505[118];
} else {
lt246.bz746[_local2] = lt246.kn505[138];
};
_local2++;
};
lt246.xv749 = new TriangleStripArray(lt246.wz610, lt246.rx745, lt246.bz746);
lt246.mq747 = new VertexArray(lt246.ge609, 3);
lt246.rl748 = new VertexArray(lt246.ge609, 2);
lt246.ob750 = new VertexBuffer();
lt246.ob750.p47(lt246.rl748, 1, null);
lt246.jh615 = ((MPCONST.pu231 * (MPCONST.uh232 + 1)) * 2);
lt246.ga616 = MPCONST.pu231;
lt246.mk735 = new Array((lt246.jh615 * 3));
lt246.xg736 = new Array((lt246.jh615 * 2));
lt246.bf737 = new Array(lt246.ga616);
lt246.cp738 = new Array(lt246.ga616);
_local2 = 0;
while (_local2 < lt246.ga616) {
lt246.bf737[_local2] = (lt246.jh615 / lt246.ga616);
if (lt246.fi509 != 2){
lt246.cp738[_local2] = lt246.kn505[118];
} else {
lt246.cp738[_local2] = lt246.kn505[139];
};
_local2++;
};
lt246.qc741 = new TriangleStripArray(lt246.ga616, lt246.bf737, lt246.cp738);
lt246.yp739 = new VertexArray(lt246.jh615, 3);
lt246.ck740 = new VertexArray(lt246.jh615, 2);
lt246.hb742 = new VertexBuffer();
lt246.hb742.p47(lt246.ck740, 1, null);
if (lt246.fi509 == 2){
lt246.wy607 = ((MPCONST.pu231 * (MPCONST.uh232 + 1)) * 2);
lt246.hs608 = MPCONST.pu231;
lt246.ls775 = new Array((lt246.wy607 * 3));
lt246.ot776 = new Array((lt246.wy607 * 2));
lt246.fl777 = new Array(lt246.hs608);
lt246.bg778 = new Array(lt246.hs608);
_local2 = 0;
while (_local2 < lt246.hs608) {
lt246.fl777[_local2] = (lt246.wy607 / lt246.hs608);
lt246.bg778[_local2] = lt246.kn505[136];
_local2++;
};
lt246.cu781 = new TriangleStripArray(lt246.hs608, lt246.fl777, lt246.bg778);
lt246.sf779 = new VertexArray(lt246.wy607, 3);
lt246.np780 = new VertexArray(lt246.wy607, 2);
lt246.zs782 = new VertexBuffer();
lt246.zs782.p47(lt246.np780, 1, null);
lt246.nz613 = ((MPCONST.pu231 * (MPCONST.uh232 + 1)) * 2);
lt246.lt614 = MPCONST.pu231;
lt246.sj767 = new Array((lt246.nz613 * 3));
lt246.ol768 = new Array((lt246.nz613 * 2));
lt246.lm769 = new Array(lt246.lt614);
lt246.sq770 = new Array(lt246.lt614);
_local2 = 0;
while (_local2 < lt246.lt614) {
lt246.lm769[_local2] = (lt246.nz613 / lt246.lt614);
lt246.sq770[_local2] = lt246.kn505[137];
_local2++;
};
lt246.cp773 = new TriangleStripArray(lt246.lt614, lt246.lm769, lt246.sq770);
lt246.sg771 = new VertexArray(lt246.nz613, 3);
lt246.hm772 = new VertexArray(lt246.nz613, 2);
lt246.he774 = new VertexBuffer();
lt246.he774.p47(lt246.hm772, 1, null);
};
if (lt246.fi509 != 2){
lt246.uh617 = ((1 * (5 + 1)) * 2);
lt246.ni618 = 1;
lt246.nm759 = new Array((lt246.uh617 * 3));
lt246.ju760 = new Array((lt246.uh617 * 2));
lt246.gw761 = new Array(lt246.ni618);
lt246.wb762 = new Array(lt246.ni618);
_local2 = 0;
while (_local2 < lt246.ni618) {
lt246.gw761[_local2] = (lt246.uh617 / lt246.ni618);
lt246.wb762[_local2] = lt246.kn505[8];
_local2++;
};
lt246.ih765 = new TriangleStripArray(lt246.ni618, lt246.gw761, lt246.wb762);
lt246.sq763 = new VertexArray(lt246.uh617, 3);
lt246.fc764 = new VertexArray(lt246.uh617, 2);
lt246.ub766 = new VertexBuffer();
lt246.ub766.p47(lt246.fc764, 1, null);
lt246.gj621 = ((1 * (5 + 1)) * 2);
lt246.fw622 = 1;
lt246.tw751 = new Array((lt246.gj621 * 3));
lt246.hx752 = new Array((lt246.gj621 * 2));
lt246.gi753 = new Array(lt246.fw622);
lt246.nf754 = new Array(lt246.fw622);
_local2 = 0;
while (_local2 < lt246.fw622) {
lt246.gi753[_local2] = (lt246.gj621 / lt246.fw622);
lt246.nf754[_local2] = lt246.kn505[8];
_local2++;
};
lt246.cl757 = new TriangleStripArray(lt246.fw622, lt246.gi753, lt246.nf754);
lt246.gf755 = new VertexArray(lt246.gj621, 3);
lt246.rc756 = new VertexArray(lt246.gj621, 2);
lt246.mz758 = new VertexBuffer();
lt246.mz758.p47(lt246.rc756, 1, null);
};
lt246.hr619 = (((MPCONST.po222 - 1) * (5 + 1)) * 2);
lt246.eq620 = (MPCONST.po222 - 1);
lt246.iw791 = new Array((lt246.hr619 * 3));
lt246.ni792 = new Array((lt246.hr619 * 2));
lt246.qx793 = new Array(lt246.eq620);
lt246.df794 = new Array(lt246.eq620);
_local2 = 0;
while (_local2 < lt246.eq620) {
lt246.qx793[_local2] = (lt246.hr619 / lt246.eq620);
lt246.df794[_local2] = lt246.kn505[0];
_local2++;
};
lt246.xf797 = new TriangleStripArray(lt246.eq620, lt246.qx793, lt246.df794);
lt246.jp795 = new VertexArray(lt246.hr619, 3);
lt246.wp796 = new VertexArray(lt246.hr619, 2);
lt246.bl798 = new VertexBuffer();
lt246.bl798.p47(lt246.wp796, 1, null);
lt246.kj623 = (((MPCONST.po222 - 1) * (5 + 1)) * 2);
lt246.sm624 = (MPCONST.po222 - 1);
lt246.ru783 = new Array((lt246.kj623 * 3));
lt246.pc784 = new Array((lt246.kj623 * 2));
lt246.hy785 = new Array(lt246.sm624);
lt246.nv786 = new Array(lt246.sm624);
_local2 = 0;
while (_local2 < lt246.sm624) {
lt246.hy785[_local2] = (lt246.kj623 / lt246.sm624);
lt246.nv786[_local2] = lt246.kn505[0];
_local2++;
};
lt246.qu789 = new TriangleStripArray(lt246.sm624, lt246.hy785, lt246.nv786);
lt246.zh787 = new VertexArray(lt246.kj623, 3);
lt246.cp788 = new VertexArray(lt246.kj623, 2);
lt246.gr790 = new VertexBuffer();
lt246.gr790.p47(lt246.cp788, 1, null);
if (lt246.fi509 == 2){
lt246.dy635 = (((MPCONST.po222 - 1) * (5 + 1)) * 2);
lt246.rf636 = (MPCONST.po222 - 1);
lt246.om807 = new Array((lt246.dy635 * 3));
lt246.wn808 = new Array((lt246.dy635 * 2));
lt246.lm809 = new Array(lt246.rf636);
lt246.bu810 = new Array(lt246.rf636);
_local2 = 0;
while (_local2 < lt246.rf636) {
lt246.lm809[_local2] = (lt246.dy635 / lt246.rf636);
lt246.bu810[_local2] = lt246.kn505[12];
_local2++;
};
lt246.lp813 = new TriangleStripArray(lt246.rf636, lt246.lm809, lt246.bu810);
lt246.pm811 = new VertexArray(lt246.dy635, 3);
lt246.kt812 = new VertexArray(lt246.dy635, 2);
lt246.tn814 = new VertexBuffer();
lt246.tn814.p47(lt246.kt812, 1, null);
lt246.vv637 = (((MPCONST.po222 - 1) * (5 + 1)) * 2);
lt246.ri638 = (MPCONST.po222 - 1);
lt246.kp799 = new Array((lt246.vv637 * 3));
lt246.np800 = new Array((lt246.vv637 * 2));
lt246.ee801 = new Array(lt246.ri638);
lt246.lf802 = new Array(lt246.ri638);
_local2 = 0;
while (_local2 < lt246.ri638) {
lt246.ee801[_local2] = (lt246.vv637 / lt246.ri638);
lt246.lf802[_local2] = lt246.kn505[12];
_local2++;
};
lt246.uq805 = new TriangleStripArray(lt246.ri638, lt246.ee801, lt246.lf802);
lt246.jm803 = new VertexArray(lt246.vv637, 3);
lt246.tk804 = new VertexArray(lt246.vv637, 2);
lt246.pz806 = new VertexBuffer();
lt246.pz806.p47(lt246.tk804, 1, null);
};
_local13 = 0;
_local14 = 0;
_local15 = 0;
lt246.ro654 = (_local13 / 3);
lt246.qy655 = _local15;
_local3 = ((ce282 - ju284) / 2);
_local16 = (_local3 * 3);
_local17 = (_local3 * 2);
_local18 = (gi285 - tb287);
lt246.zm660 = (((ju284 - yh283) / 2) + lt246.ro654);
lt246.au661 = ((tb287 - xw286) + lt246.qy655);
if (lt246.sq515 == 0){
_local19 = (3 * ((1 * 17) * 2));
_local20 = (2 * ((1 * 17) * 2));
_local21 = 1;
lt246.lo656 = (lt246.zm660 + _local3);
_local19 = (_local19 + (3 * ((1 * 17) * 2)));
_local20 = (_local20 + (2 * ((1 * 17) * 2)));
_local21 = (_local21 + 1);
lt246.xk659 = (lt246.lo656 + ((1 * 17) * 2));
lt246.lg859 = (((_local13 + (((ju284 - yh283) / 2) * 3)) + _local16) + _local19);
lt246.gk860 = (((_local14 + (ju284 - yh283)) + _local17) + _local20);
lt246.mh665 = new Array(lt246.lg859);
lt246.ph668 = new Array(lt246.gk860);
_local22 = ((((_local15 + tb287) - xw286) + _local18) + _local21);
lt246.mh671 = new Array(_local22);
lt246.rf674 = new Array(_local22);
} else {
lt246.lg859 = ((_local13 + (((ju284 - yh283) / 2) * 3)) + _local16);
lt246.gk860 = ((_local14 + (ju284 - yh283)) + _local17);
lt246.mh665 = new Array(lt246.lg859);
lt246.ph668 = new Array(lt246.gk860);
_local22 = (((_local15 + tb287) - xw286) + _local18);
lt246.mh671 = new Array(_local22);
lt246.rf674 = new Array(_local22);
};
_local3 = ((hb290 - px292) / 2);
_local16 = (_local3 * 3);
_local17 = (_local3 * 2);
_local18 = (if293 - vf295);
lt246.zw693 = (((px292 - bc291) / 2) + lt246.ro654);
lt246.ac694 = ((vf295 - bx294) + lt246.qy655);
if (lt246.sq515 == 0){
_local19 = (3 * ((1 * 17) * 2));
_local20 = (2 * ((1 * 17) * 2));
_local21 = 1;
lt246.jz689 = (lt246.zw693 + _local3);
_local19 = (_local19 + (3 * ((1 * 17) * 2)));
_local20 = (_local20 + (2 * ((1 * 17) * 2)));
_local21 = (_local21 + 1);
lt246.nn692 = (lt246.jz689 + ((1 * 17) * 2));
lt246.yt861 = (((_local13 + (((px292 - bc291) / 2) * 3)) + _local16) + _local19);
lt246.bi862 = (((_local14 + (px292 - bc291)) + _local17) + _local20);
lt246.ds818 = new Array(lt246.yt861);
lt246.en821 = new Array(lt246.bi862);
_local23 = ((((_local15 + vf295) - bx294) + _local18) + _local21);
lt246.or824 = new Array(_local23);
lt246.qh827 = new Array(_local23);
} else {
lt246.yt861 = ((_local13 + (((px292 - bc291) / 2) * 3)) + _local16);
lt246.bi862 = ((_local14 + (px292 - bc291)) + _local17);
lt246.ds818 = new Array(lt246.yt861);
lt246.en821 = new Array(lt246.bi862);
_local23 = (((_local15 + vf295) - bx294) + _local18);
lt246.or824 = new Array(_local23);
lt246.qh827 = new Array(_local23);
};
_local11 = 0;
_local2 = xw286;
while (_local2 < tb287) {
lt246.mh671[((lt246.qy655 + _local2) - xw286)] = cb281[_local2];
lt246.rf674[((lt246.qy655 + _local2) - xw286)] = lt246.kn505[0];
_local2++;
};
lt246.sj662 = new Array((lt246.gk860 - _local17));
_local2 = yh283;
while (_local2 < ju284) {
lt246.sj662[(_local2 - yh283)] = gf280[_local2];
_local2++;
};
_local6 = 0;
_local9 = 0;
_local5 = lt246.qy655;
_local4 = (lt246.ro654 * 2);
while (_local5 < lt246.au661) {
_local8 = lt246.mh671[_local5];
_local7 = 0;
while (_local7 < _local8) {
var _temp1 = _local6;
_local6 = (_local6 + 1);
_local1 = lt246.sj662[_temp1];
var _temp2 = _local6;
_local6 = (_local6 + 1);
_local2 = lt246.sj662[_temp2];
lt246.ph668[((_local4 + (2 * _local9)) + 0)] = lt246.yj565[_local2][_local1].s;
lt246.ph668[((_local4 + (2 * _local9)) + 1)] = lt246.yj565[_local2][_local1].t;
_local9++;
_local7++;
};
_local5++;
};
_local2 = bx294;
while (_local2 < vf295) {
lt246.or824[((lt246.qy655 + _local2) - bx294)] = re289[_local2];
lt246.qh827[((lt246.qy655 + _local2) - bx294)] = lt246.kn505[0];
_local2++;
};
lt246.dm815 = new Array((lt246.bi862 - _local17));
_local2 = bc291;
while (_local2 < px292) {
lt246.dm815[(_local2 - bc291)] = vt288[_local2];
_local2++;
};
_local6 = 0;
_local9 = 0;
_local5 = lt246.qy655;
_local4 = (lt246.ro654 * 2);
while (_local5 < lt246.ac694) {
_local8 = lt246.or824[_local5];
_local7 = 0;
while (_local7 < _local8) {
var _temp3 = _local6;
_local6 = (_local6 + 1);
_local1 = lt246.dm815[_temp3];
var _temp4 = _local6;
_local6 = (_local6 + 1);
_local2 = lt246.dm815[_temp4];
lt246.en821[((_local4 + (2 * _local9)) + 0)] = lt246.yj565[_local2][_local1].s;
lt246.en821[((_local4 + (2 * _local9)) + 1)] = lt246.yj565[_local2][_local1].t;
_local9++;
_local7++;
};
_local5++;
};
_local2 = tb287;
while (_local2 < gi285) {
lt246.mh671[((lt246.au661 + _local2) - tb287)] = cb281[_local2];
lt246.rf674[((lt246.au661 + _local2) - tb287)] = lt246.kn505[1];
_local2++;
};
lt246.hc664 = new Array((ce282 - ju284));
_local2 = ju284;
while (_local2 < ce282) {
lt246.hc664[(_local2 - ju284)] = gf280[_local2];
_local2++;
};
lt246.bc657 = ((lt246.au661 + gi285) - tb287);
_local5 = lt246.au661;
_local6 = 0;
_local9 = 0;
_local4 = (lt246.zm660 * 2);
while (_local5 < lt246.bc657) {
_local8 = lt246.mh671[_local5];
_local7 = 0;
while (_local7 < _local8) {
var _temp5 = _local6;
_local6 = (_local6 + 1);
_local1 = lt246.hc664[_temp5];
var _temp6 = _local6;
_local6 = (_local6 + 1);
_local2 = lt246.hc664[_temp6];
lt246.ph668[((_local4 + (2 * _local9)) + 0)] = lt246.yj565[_local2][_local1].s;
lt246.ph668[((_local4 + (2 * _local9)) + 1)] = lt246.yj565[_local2][_local1].t;
_local9++;
_local7++;
};
_local5++;
};
if (lt246.sq515 == 0){
_local11 = lt246.bc657;
_local2 = 0;
while (_local2 < 1) {
lt246.mh671[(_local11 + _local2)] = (2 * 17);
lt246.rf674[(_local11 + _local2)] = lt246.kn505[0];
_local2++;
};
_local11 = (_local11 + 1);
_local2 = 0;
while (_local2 < 1) {
lt246.mh671[(_local11 + _local2)] = (2 * 17);
lt246.rf674[(_local11 + _local2)] = lt246.kn505[0];
_local2++;
};
_local11 = (_local11 + 1);
};
lt246.te683 = new TriangleStripArray(_local22, lt246.mh671, lt246.rf674);
lt246.vg677 = new VertexArray(lt246.lg859, 3);
lt246.ld680 = new VertexArray(lt246.gk860, 2);
lt246.on686 = new VertexBuffer();
lt246.on686.p47(lt246.ld680, 1, null);
_local2 = vf295;
while (_local2 < if293) {
lt246.or824[((lt246.ac694 + _local2) - vf295)] = re289[_local2];
lt246.qh827[((lt246.ac694 + _local2) - vf295)] = lt246.kn505[1];
_local2++;
};
lt246.sy817 = new Array((hb290 - px292));
_local2 = px292;
while (_local2 < hb290) {
lt246.sy817[(_local2 - px292)] = vt288[_local2];
_local2++;
};
lt246.gi690 = ((lt246.ac694 + if293) - vf295);
_local5 = lt246.ac694;
_local6 = 0;
_local9 = 0;
_local4 = (lt246.zw693 * 2);
while (_local5 < lt246.gi690) {
_local8 = lt246.or824[_local5];
_local7 = 0;
while (_local7 < _local8) {
var _temp7 = _local6;
_local6 = (_local6 + 1);
_local1 = lt246.sy817[_temp7];
var _temp8 = _local6;
_local6 = (_local6 + 1);
_local2 = lt246.sy817[_temp8];
lt246.en821[((_local4 + (2 * _local9)) + 0)] = lt246.yj565[_local2][_local1].s;
lt246.en821[((_local4 + (2 * _local9)) + 1)] = lt246.yj565[_local2][_local1].t;
_local9++;
_local7++;
};
_local5++;
};
if (lt246.sq515 == 0){
_local11 = lt246.gi690;
_local2 = 0;
while (_local2 < 1) {
lt246.or824[(_local11 + _local2)] = (2 * 17);
lt246.qh827[(_local11 + _local2)] = lt246.kn505[0];
_local2++;
};
_local11 = (_local11 + 1);
_local2 = 0;
while (_local2 < 1) {
lt246.or824[(_local11 + _local2)] = (2 * 17);
lt246.qh827[(_local11 + _local2)] = lt246.kn505[0];
_local2++;
};
_local11 = (_local11 + 1);
};
lt246.fx836 = new TriangleStripArray(_local23, lt246.or824, lt246.qh827);
lt246.mk830 = new VertexArray(lt246.yt861, 3);
lt246.vn833 = new VertexArray(lt246.bi862, 2);
lt246.ib839 = new VertexBuffer();
lt246.ib839.p47(lt246.vn833, 1, null);
lt246.wq658 = xw286;
if (lt246.sq515 == 1){
_local19 = (3 * ((1 * 17) * 2));
_local20 = (2 * ((1 * 17) * 2));
_local21 = 1;
lt246.lo656 = (yh283 / 2);
_local19 = (_local19 + (3 * ((1 * 17) * 2)));
_local20 = (_local20 + (2 * ((1 * 17) * 2)));
_local21 = (_local21 + 1);
lt246.xk659 = (lt246.lo656 + ((1 * 17) * 2));
lt246.ni865 = (((yh283 / 2) * 3) + _local19);
lt246.lq866 = (yh283 + _local20);
lt246.gd666 = new Array(lt246.ni865);
lt246.nq669 = new Array(lt246.lq866);
_local24 = (xw286 + _local21);
lt246.ur672 = new Array(_local24);
lt246.fa675 = new Array(_local24);
} else {
lt246.ni865 = ((yh283 / 2) * 3);
lt246.lq866 = yh283;
lt246.gd666 = new Array(lt246.ni865);
lt246.nq669 = new Array(lt246.lq866);
_local24 = xw286;
lt246.ur672 = new Array(_local24);
lt246.fa675 = new Array(_local24);
};
lt246.nr691 = bx294;
if (lt246.sq515 == 1){
_local19 = (3 * ((1 * 17) * 2));
_local20 = (2 * ((1 * 17) * 2));
_local21 = 1;
lt246.jz689 = (bc291 / 2);
_local19 = (_local19 + (3 * ((1 * 17) * 2)));
_local20 = (_local20 + (2 * ((1 * 17) * 2)));
_local21 = (_local21 + 1);
lt246.nn692 = (lt246.jz689 + ((1 * 17) * 2));
lt246.ad867 = (((bc291 / 2) * 3) + _local19);
lt246.oj868 = (bc291 + _local20);
lt246.gv819 = new Array(lt246.ad867);
lt246.em822 = new Array(lt246.oj868);
_local25 = (bx294 + _local21);
lt246.if825 = new Array(_local25);
lt246.ce828 = new Array(_local25);
} else {
lt246.ad867 = ((bc291 / 2) * 3);
lt246.oj868 = bc291;
lt246.gv819 = new Array(lt246.ad867);
lt246.em822 = new Array(lt246.oj868);
_local25 = bx294;
lt246.if825 = new Array(_local25);
lt246.ce828 = new Array(_local25);
};
_local2 = 0;
while (_local2 < xw286) {
lt246.ur672[_local2] = cb281[_local2];
lt246.fa675[_local2] = lt246.kn505[6];
_local2++;
};
lt246.gm663 = new Array(lt246.lq866);
_local2 = 0;
while (_local2 < yh283) {
lt246.gm663[_local2] = gf280[_local2];
_local2++;
};
if (lt246.sq515 == 1){
_local11 = lt246.wq658;
_local2 = 0;
while (_local2 < 1) {
lt246.ur672[(_local11 + _local2)] = (2 * 17);
lt246.fa675[(_local11 + _local2)] = lt246.kn505[6];
_local2++;
};
_local11 = (_local11 + 1);
_local2 = 0;
while (_local2 < 1) {
lt246.ur672[(_local11 + _local2)] = (2 * 17);
lt246.fa675[(_local11 + _local2)] = lt246.kn505[6];
_local2++;
};
_local11 = (_local11 + 1);
};
_local6 = 0;
_local5 = _local6;
_local9 = 0;
while (_local5 < lt246.wq658) {
_local8 = lt246.ur672[_local5];
_local7 = 0;
while (_local7 < _local8) {
var _temp9 = _local6;
_local6 = (_local6 + 1);
_local1 = lt246.gm663[_temp9];
var _temp10 = _local6;
_local6 = (_local6 + 1);
_local2 = lt246.gm663[_temp10];
lt246.nq669[((2 * _local9) + 0)] = lt246.yj565[_local2][_local1].s;
lt246.nq669[((2 * _local9) + 1)] = lt246.yj565[_local2][_local1].t;
_local9++;
_local7++;
};
_local5++;
};
lt246.oj684 = new TriangleStripArray(_local24, lt246.ur672, lt246.fa675);
lt246.rz678 = new VertexArray(lt246.ni865, 3);
lt246.ac681 = new VertexArray(lt246.lq866, 2);
lt246.xr687 = new VertexBuffer();
lt246.xr687.p47(lt246.ac681, 1, null);
_local2 = 0;
while (_local2 < bx294) {
lt246.if825[_local2] = re289[_local2];
lt246.ce828[_local2] = lt246.kn505[6];
_local2++;
};
lt246.pd816 = new Array(lt246.oj868);
_local2 = 0;
while (_local2 < bc291) {
lt246.pd816[_local2] = vt288[_local2];
_local2++;
};
if (lt246.sq515 == 1){
_local11 = lt246.nr691;
_local2 = 0;
while (_local2 < 1) {
lt246.if825[(_local11 + _local2)] = (2 * 17);
lt246.ce828[(_local11 + _local2)] = lt246.kn505[6];
_local2++;
};
_local11 = (_local11 + 1);
_local2 = 0;
while (_local2 < 1) {
lt246.if825[(_local11 + _local2)] = (2 * 17);
lt246.ce828[(_local11 + _local2)] = lt246.kn505[6];
_local2++;
};
_local11 = (_local11 + 1);
};
_local6 = 0;
_local5 = _local6;
_local9 = 0;
while (_local5 < lt246.nr691) {
_local8 = lt246.if825[_local5];
_local7 = 0;
while (_local7 < _local8) {
var _temp11 = _local6;
_local6 = (_local6 + 1);
_local1 = lt246.pd816[_temp11];
var _temp12 = _local6;
_local6 = (_local6 + 1);
_local2 = lt246.pd816[_temp12];
lt246.em822[((2 * _local9) + 0)] = lt246.yj565[_local2][_local1].s;
lt246.em822[((2 * _local9) + 1)] = lt246.yj565[_local2][_local1].t;
_local9++;
_local7++;
};
_local5++;
};
lt246.wh837 = new TriangleStripArray(_local25, lt246.if825, lt246.ce828);
lt246.hs831 = new VertexArray(lt246.ad867, 3);
lt246.on834 = new VertexArray(lt246.oj868, 2);
lt246.ab840 = new VertexBuffer();
lt246.ab840.p47(lt246.on834, 1, null);
if (lt246.fi509 == 2){
if (cf298 > 0){
lt246.cg508 = 1;
lt246.ol863 = ((cf298 / 2) * 3);
lt246.yd864 = cf298;
lt246.dz851 = new Array(lt246.ol863);
lt246.uj852 = new Array(lt246.yd864);
_local26 = qc299;
lt246.tl853 = new Array(_local26);
lt246.nt854 = new Array(_local26);
_local2 = 0;
while (_local2 < qc299) {
lt246.tl853[_local2] = gk297[_local2];
lt246.nt854[_local2] = lt246.kn505[5];
_local2++;
};
lt246.tx850 = new Array(lt246.ol863);
_local2 = 0;
while (_local2 < cf298) {
lt246.tx850[_local2] = bc296[_local2];
_local2++;
};
_local6 = 0;
_local5 = _local6;
_local9 = 0;
while (_local5 < qc299) {
_local8 = lt246.tl853[_local5];
_local7 = 0;
while (_local7 < _local8) {
var _temp13 = _local6;
_local6 = (_local6 + 1);
_local1 = lt246.tx850[_temp13];
var _temp14 = _local6;
_local6 = (_local6 + 1);
_local2 = lt246.tx850[_temp14];
lt246.uj852[((2 * _local9) + 0)] = lt246.yj565[_local2][_local1].s;
lt246.uj852[((2 * _local9) + 1)] = lt246.yj565[_local2][_local1].t;
_local9++;
_local7++;
};
_local5++;
};
lt246.xm855 = new VertexArray(lt246.ol863, 3);
lt246.xx857 = new TriangleStripArray(_local26, lt246.tl853, lt246.nt854);
lt246.wt858 = new VertexBuffer();
lt246.rj856 = new VertexArray(lt246.yd864, 2);
lt246.wt858.p47(lt246.rj856, 1, null);
} else {
lt246.cg508 = 0;
lt246.ol863 = 0;
lt246.yd864 = 0;
};
};
_local27 = pm272.length;
_local29 = 0;
_local30 = 0;
_local31 = 0;
_local2 = 0;
while (_local2 < _local27) {
_local28 = pm272[_local2][0];
_local1 = 0;
while (_local1 < _local28) {
lt246.su826[_local29] = (int(pm272[_local2][1]) / _local28);
lt246.kt673[_local29] = (int(pm272[_local2][1]) / _local28);
lt246.sk829[_local29] = lt246.kn505[int(pm272[_local2][2])];
var _temp15 = _local29;
_local29 = (_local29 + 1);
var _local33 = _temp15;
lt246.cl676[_local33] = lt246.kn505[int(pm272[_local2][2])];
_local1++;
};
_local30 = (_local30 + pm272[_local2][1]);
_local31 = (_local31 + _local28);
_local2++;
};
lt246.sm832 = new VertexArray(_local30, 3);
lt246.wa835 = new VertexArray(_local30, 2);
lt246.gb838 = new TriangleStripArray(_local31, lt246.su826, lt246.sk829);
lt246.kk679 = new VertexArray(_local30, 3);
lt246.ll682 = new VertexArray(_local30, 2);
lt246.om685 = new TriangleStripArray(_local31, lt246.kt673, lt246.cl676);
if (lt246.fi509 != 2){
_local32 = yh273;
} else {
_local32 = ch274;
};
_local27 = _local32.length;
_local29 = 0;
_local30 = 0;
_local31 = 0;
_local2 = 0;
while (_local2 < _local27) {
_local28 = _local32[_local2][0];
_local1 = 0;
while (_local1 < _local28) {
lt246.ov844[_local29] = (int(_local32[_local2][1]) / _local28);
var _temp16 = _local29;
_local29 = (_local29 + 1);
_local33 = _temp16;
lt246.iu845[_local33] = lt246.kn505[int(_local32[_local2][2])];
_local1++;
};
_local30 = (_local30 + _local32[_local2][1]);
_local31 = (_local31 + _local28);
_local2++;
};
lt246.za629 = _local30;
lt246.au630 = _local31;
lt246.ld631 = (lt246.hj633 = (_local30 / 2));
lt246.rc632 = (lt246.cc634 = (_local31 / 2));
lt246.ss846 = new VertexArray(_local30, 3);
lt246.qf847 = new VertexArray(_local30, 2);
lt246.qw848 = new TriangleStripArray(_local31, lt246.ov844, lt246.iu845);
this.fa259 = false;
}
public function o112(_arg1:Event):void{
var _local2:URLLoader;
var _local3:Array;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
trace("loading ja559.txt done");
_local2 = URLLoader(_arg1.target);
_local3 = f108(String(_local2.data));
_local4 = 0;
var _temp1 = _local4;
_local4 = (_local4 + 1);
lt246.fb560 = _local3[_temp1];
_local5 = ((lt246.fb560 / 2) - 1);
_local6 = 0;
while (_local6 < 2) {
_local7 = 0;
while (_local7 < _local5) {
var _temp2 = _local4;
_local4 = (_local4 + 1);
lt246.ja559[_local6][_local7].x = _local3[_temp2];
var _temp3 = _local4;
_local4 = (_local4 + 1);
lt246.ja559[_local6][_local7].y = _local3[_temp3];
var _temp4 = _local4;
_local4 = (_local4 + 1);
lt246.ja559[_local6][(_local5 + _local7)].x = _local3[_temp4];
var _temp5 = _local4;
_local4 = (_local4 + 1);
lt246.ja559[_local6][(_local5 + _local7)].y = _local3[_temp5];
_local7++;
};
_local6++;
};
}
public function o113(_arg1:Event):void{
var _local2:URLLoader;
var _local3:Array;
var _local4:int;
var _local5:int;
trace("loading bgcolor.txt done");
_local2 = URLLoader(_arg1.target);
_local3 = f108(String(_local2.data));
_local4 = 0;
_local5 = 0;
while (_local5 < lt246.fu554) {
var _temp1 = _local4;
_local4 = (_local4 + 1);
lt246.ll555[_local5] = _local3[_temp1];
var _temp2 = _local4;
_local4 = (_local4 + 1);
lt246.kj556[_local5] = _local3[_temp2];
var _temp3 = _local4;
_local4 = (_local4 + 1);
lt246.du557[_local5] = _local3[_temp3];
_local5++;
};
}
private function y96():void{
var _local1:LoaderContext;
rz244.contentLoaderInfo.addEventListener(Event.COMPLETE, k95);
_local1 = new LoaderContext();
_local1.applicationDomain = ApplicationDomain.currentDomain;
rz244.load(new URLRequest("original/FaceData.swf"), _local1);
}
public function z117(_arg1:Number):Number{
return (Math.cos((MPCONST.xm239 * _arg1)));
}
public function o120(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number):Number{
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Number;
_local13 = x116(_arg7);
_local14 = z117(_arg7);
lt246.q158(_arg3, _arg4);
_local9 = (_arg1 - lt246.gf535);
_local10 = (_arg2 - lt246.ac534);
_local11 = (((_local9 * _local14) + (_local10 * _local13)) / (_arg5 * lt246.kg537));
_local12 = (((-(_local9) * _local13) + (_local10 * _local14)) / (_arg6 * lt246.mz536));
if (lt246.iw580 == 0){
_local8 = (10 * Math.sqrt(((_local11 * _local11) + (_local12 * _local12))));
_local8 = (1 - b118(_local8));
} else {
_local8 = ((_local11 * _local11) + (_local12 * _local12));
_local8 = Math.exp((-(_local8) / 0.0032));
};
return (_local8);
}
private function o129(_arg1:Event):void{
var _local2:Bitmap;
var _local3:BitmapData;
var _local4:BitmapData;
var _local5:uint;
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:int;
var _local10:uint;
var _local11:uint;
_local2 = Bitmap(tn250.content);
_local3 = _local2.bitmapData;
_local6 = _local3.width;
_local7 = _local3.height;
if (ls253 == 0){
_local5 = MPGL.h1(_local3);
fz247.kn505[ls253] = _local5;
fz247.lj876[ls253] = true;
ls253++;
tn250.load(new URLRequest((fz247.by885 + "glasss.png")));
} else {
if (ls253 == 1){
_local4 = new BitmapData(_local6, _local7, true, 0);
_local11 = uint(((uint((0.3 * 0x0100)) << 16) + (uint((0.2 * 0x0100)) << 8)));
_local9 = 0;
while (_local9 < _local7) {
_local8 = 0;
while (_local8 < _local6) {
_local10 = (_local3.getPixel(_local8, _local9) & 0xFF);
_local10 = (uint((Number(_local10) * 0.5)) << 24);
_local10 = (_local10 + _local11);
_local4.setPixel32(_local8, _local9, _local10);
_local8++;
};
_local9++;
};
_local5 = MPGL.h1(_local4);
fz247.kn505[ls253] = _local5;
fz247.lj876[ls253] = true;
ls253++;
if (fz247.jz886 == 1){
tn250.load(new URLRequest((fz247.by885 + "col.png")));
} else {
if (fz247.jz886 == 2){
tn250.load(new URLRequest((fz247.by885 + "land.png")));
} else {
tn250.load(new URLRequest((fz247.by885 + "col.png")));
};
};
} else {
if (ls253 == 2){
_local5 = MPGL.h1(_local3);
fz247.kn505[ls253] = _local5;
fz247.lj876[ls253] = true;
ls253++;
tn250.load(new URLRequest((fz247.by885 + "lensk2.png")));
} else {
_local4 = new BitmapData(_local6, _local7, true, 0);
_local11 = uint((((uint((0.5 * 0x0100)) << 16) + (uint((0.8 * 0x0100)) << 8)) + uint((0.7 * 0x0100))));
_local9 = 0;
while (_local9 < _local7) {
_local8 = 0;
while (_local8 < _local6) {
_local10 = (_local3.getPixel(_local8, _local9) & 0xFF);
_local10 = (uint((Number(_local10) * 0.3)) << 24);
_local10 = (_local10 + _local11);
_local4.setPixel32(_local8, _local9, _local10);
_local8++;
};
_local9++;
};
_local5 = MPGL.h1(_local4);
fz247.kn505[ls253] = _local5;
fz247.lj876[ls253] = true;
ls253++;
tn250.contentLoaderInfo.removeEventListener(Event.COMPLETE, o129);
b128();
this.rm261 = false;
};
};
};
}
private function o133(_arg1:MPFace, _arg2:Array):void{
_arg2[0] = (0.5 * (_arg1.hs558[1].x[0] + _arg1.hs558[1].x[3]));
_arg2[1] = ((0.3 * (_arg1.hs558[1].y[1] + _arg1.hs558[1].y[2])) + (0.2 * (_arg1.hs558[1].y[4] + _arg1.hs558[1].y[5])));
_arg2[2] = (0.5 * (_arg1.hs558[2].x[0] + _arg1.hs558[2].x[3]));
_arg2[3] = ((0.3 * (_arg1.hs558[2].y[1] + _arg1.hs558[2].y[2])) + (0.2 * (_arg1.hs558[2].y[4] + _arg1.hs558[2].y[5])));
}
private function n56(_arg1:MPFace, _arg2:int, _arg3:int):void{
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Number;
var _local15:Number;
var _local16:int;
var _local17:int;
var _local18:int;
var _local19:int;
var _local20:int;
_local17 = 0;
while (_local17 < _arg3) {
_local16 = 0;
while (_local16 < _arg2) {
_local4 = _arg1.ct570[_local17][_local16].x;
_local5 = _arg1.ct570[_local17][_local16].y;
_local18 = int(((MPCONST.ru216 - 1) * _local4));
_local19 = int(((MPCONST.ru216 - 1) * _local5));
_local20 = _arg1.jl594[_local19][_local18];
_arg1.ct570[_local17][_local16].z = ((((2 * _local20) * MPCONST.le225) / 0xFF) - MPCONST.le225);
_local18 = s60(_arg1, _local4);
_local19 = m62(_arg1, _local5);
_local8 = _arg1.tv589[6][_local18];
_local9 = _arg1.tv589[6][int((_local18 + 1))];
_local10 = _arg1.js590[_local19][6];
_local11 = _arg1.js590[int((_local19 + 1))][6];
_local6 = ((_local4 - _local8) / (_local9 - _local8));
_local7 = ((_local5 - _local10) / (_local11 - _local10));
_local12 = ((1 - _local6) * (1 - _local7));
_local13 = (_local6 * (1 - _local7));
_local14 = ((1 - _local6) * _local7);
_local15 = (_local6 * _local7);
_arg1.ct570[_local17][_local16].x = (_arg1.ct570[_local17][_local16].x + ((((_local12 * (_arg1.yj565[_local19][_local18].x - _local8)) + (_local13 * (_arg1.yj565[_local19][int((_local18 + 1))].x - _local9))) + (_local14 * (_arg1.yj565[int((_local19 + 1))][_local18].x - _local8))) + (_local15 * (_arg1.yj565[int((_local19 + 1))][int((_local18 + 1))].x - _local9))));
_arg1.ct570[_local17][_local16].y = (_arg1.ct570[_local17][_local16].y + ((((_local12 * (_arg1.yj565[_local19][_local18].y - _local10)) + (_local13 * (_arg1.yj565[_local19][int((_local18 + 1))].y - _local10))) + (_local14 * (_arg1.yj565[int((_local19 + 1))][_local18].y - _local11))) + (_local15 * (_arg1.yj565[int((_local19 + 1))][int((_local18 + 1))].y - _local11))));
_local16++;
};
_local17++;
};
}
private function v58(_arg1:MPFace, _arg2:Number):int{
var _local3:int;
_local3 = s60(_arg1, _arg2);
if ((_arg2 - _arg1.tv589[6][_local3]) < (_arg1.tv589[6][int((_local3 + 1))] - _arg2)){
return (_local3);
};
return ((_local3 + 1));
}
private function u123(_arg1:MPFace, _arg2:int, _arg3:Number):void{
var _local4:int;
var _local5:int;
var _local6:int;
_local5 = 0;
_local6 = 0;
if (_arg2 == 0){
_local4 = 0;
while (_local4 < 6) {
var _temp1 = _local5;
_local5 = (_local5 + 1);
var _local7 = _temp1;
_arg1.nm759[_local7] = _arg1.ct570[1][_local4].x;
var _temp2 = _local5;
_local5 = (_local5 + 1);
var _local8 = _temp2;
_arg1.nm759[_local8] = _arg1.ct570[1][_local4].y;
_local5++;
var _temp3 = _local5;
_local5 = (_local5 + 1);
var _local9 = _temp3;
_arg1.nm759[_local9] = _arg1.ct570[1][_local4].x;
var _temp4 = _local5;
_local5 = (_local5 + 1);
var _local10 = _temp4;
_arg1.nm759[_local10] = (_arg1.ct570[1][_local4].y + _arg3);
_local5++;
var _temp5 = _local6;
_local6 = (_local6 + 1);
var _local11 = _temp5;
_arg1.ju760[_local11] = (0 + ((Number(_local4) * 1) / 6));
var _temp6 = _local6;
_local6 = (_local6 + 1);
var _local12 = _temp6;
_arg1.ju760[_local12] = 0.5;
var _temp7 = _local6;
_local6 = (_local6 + 1);
var _local13 = _temp7;
_arg1.ju760[_local13] = (1 + ((Number(_local4) * 1) / 6));
var _temp8 = _local6;
_local6 = (_local6 + 1);
var _local14 = _temp8;
_arg1.ju760[_local14] = 0.1;
_local4++;
};
} else {
_local4 = 0;
while (_local4 < 6) {
var _temp9 = _local5;
_local5 = (_local5 + 1);
_local7 = _temp9;
_arg1.tw751[_local7] = _arg1.ct570[1][_local4].x;
var _temp10 = _local5;
_local5 = (_local5 + 1);
_local8 = _temp10;
_arg1.tw751[_local8] = _arg1.ct570[1][_local4].y;
_local5++;
var _temp11 = _local5;
_local5 = (_local5 + 1);
_local9 = _temp11;
_arg1.tw751[_local9] = _arg1.ct570[1][_local4].x;
var _temp12 = _local5;
_local5 = (_local5 + 1);
_local10 = _temp12;
_arg1.tw751[_local10] = (_arg1.ct570[1][_local4].y + _arg3);
_local5++;
var _temp13 = _local6;
_local6 = (_local6 + 1);
_local11 = _temp13;
_arg1.hx752[_local11] = (0 + ((Number(_local4) * 1) / 6));
var _temp14 = _local6;
_local6 = (_local6 + 1);
_local12 = _temp14;
_arg1.hx752[_local12] = 0.5;
var _temp15 = _local6;
_local6 = (_local6 + 1);
_local13 = _temp15;
_arg1.hx752[_local13] = (0 + ((Number(_local4) * 1) / 6));
var _temp16 = _local6;
_local6 = (_local6 + 1);
_local14 = _temp16;
_arg1.hx752[_local14] = 0.1;
_local4++;
};
};
}
private function x98():void{
ce282 = 0;
gi285 = 0;
t101(4, 0, 1, 0, MPCONST.zm220);
t101(4, (MPCONST.br219 - 1), MPCONST.br219, 0, MPCONST.zm220);
f99(4, 1, (MPCONST.br219 - 1), 0, MPCONST.zm220);
xw286 = gi285;
yh283 = ce282;
t101(2, 0, 1, 0, MPCONST.zm220);
t101(2, (MPCONST.br219 - 1), MPCONST.br219, 0, MPCONST.zm220);
f99(2, 1, (MPCONST.br219 - 1), 0, MPCONST.zm220);
tb287 = gi285;
ju284 = ce282;
f99(6, 2, 8, 1, 5);
hb290 = 0;
if293 = 0;
l102(4, 0, 1, 0, MPCONST.zm220);
l102(4, (MPCONST.br219 - 1), MPCONST.br219, 0, MPCONST.zm220);
x100(4, (MPCONST.br219 - 2), 0, 0, MPCONST.zm220);
bx294 = if293;
bc291 = hb290;
l102(2, 0, 1, 0, MPCONST.zm220);
l102(2, (MPCONST.br219 - 1), MPCONST.br219, 0, MPCONST.zm220);
x100(2, (MPCONST.br219 - 2), 0, 0, MPCONST.zm220);
vf295 = if293;
px292 = hb290;
x100(6, 7, 1, 1, 5);
}
private function j122(_arg1:MPFace, _arg2:int, _arg3:int, _arg4:int):void{
var _local5:int;
var _local6:int;
var _local7:int;
_local6 = _arg3;
_local7 = _arg4;
if (_arg1.pz514 == 0){
_local5 = 0;
while (_local5 < _arg2) {
var _temp1 = _local6;
_local6 = (_local6 + 1);
var _local8 = _temp1;
_arg1.mh665[_local8] = _arg1.ct570[0][_local5].x;
var _temp2 = _local6;
_local6 = (_local6 + 1);
var _local9 = _temp2;
_arg1.mh665[_local9] = _arg1.ct570[0][_local5].y;
_local6++;
var _temp3 = _local6;
_local6 = (_local6 + 1);
var _local10 = _temp3;
_arg1.mh665[_local10] = _arg1.ct570[1][_local5].x;
var _temp4 = _local6;
_local6 = (_local6 + 1);
var _local11 = _temp4;
_arg1.mh665[_local11] = _arg1.ct570[1][_local5].y;
_local6++;
var _temp5 = _local7;
_local7 = (_local7 + 1);
var _local12 = _temp5;
_arg1.ph668[_local12] = _arg1.ct570[0][_local5].s;
var _temp6 = _local7;
_local7 = (_local7 + 1);
var _local13 = _temp6;
_arg1.ph668[_local13] = _arg1.ct570[0][_local5].t;
var _temp7 = _local7;
_local7 = (_local7 + 1);
var _local14 = _temp7;
_arg1.ph668[_local14] = _arg1.ct570[1][_local5].s;
var _temp8 = _local7;
_local7 = (_local7 + 1);
var _local15 = _temp8;
_arg1.ph668[_local15] = _arg1.ct570[1][_local5].t;
_local5++;
};
} else {
_local5 = 0;
while (_local5 < _arg2) {
var _temp9 = _local6;
_local6 = (_local6 + 1);
_local8 = _temp9;
_arg1.ds818[_local8] = _arg1.ct570[0][_local5].x;
var _temp10 = _local6;
_local6 = (_local6 + 1);
_local9 = _temp10;
_arg1.ds818[_local9] = _arg1.ct570[0][_local5].y;
_local6++;
var _temp11 = _local6;
_local6 = (_local6 + 1);
_local10 = _temp11;
_arg1.ds818[_local10] = _arg1.ct570[1][_local5].x;
var _temp12 = _local6;
_local6 = (_local6 + 1);
_local11 = _temp12;
_arg1.ds818[_local11] = _arg1.ct570[1][_local5].y;
_local6++;
var _temp13 = _local7;
_local7 = (_local7 + 1);
_local12 = _temp13;
_arg1.en821[_local12] = _arg1.ct570[0][_local5].s;
var _temp14 = _local7;
_local7 = (_local7 + 1);
_local13 = _temp14;
_arg1.en821[_local13] = _arg1.ct570[0][_local5].t;
var _temp15 = _local7;
_local7 = (_local7 + 1);
_local14 = _temp15;
_arg1.en821[_local14] = _arg1.ct570[1][_local5].s;
var _temp16 = _local7;
_local7 = (_local7 + 1);
_local15 = _temp16;
_arg1.en821[_local15] = _arg1.ct570[1][_local5].t;
_local5++;
};
};
}
public function p111(_arg1:Event):void{
var _local2:URLLoader;
var _local3:Array;
var _local4:int;
trace("loading fcpoint.txt done");
_local2 = URLLoader(_arg1.target);
_local3 = f108(String(_local2.data));
_local4 = 0;
var _temp1 = _local4;
_local4 = (_local4 + 1);
lt246.ip538 = _local3[_temp1];
var _temp2 = _local4;
_local4 = (_local4 + 1);
lt246.df539 = _local3[_temp2];
var _temp3 = _local4;
_local4 = (_local4 + 1);
lt246.mj542 = _local3[_temp3];
var _temp4 = _local4;
_local4 = (_local4 + 1);
lt246.iq544 = _local3[_temp4];
var _temp5 = _local4;
_local4 = (_local4 + 1);
lt246.od540 = _local3[_temp5];
var _temp6 = _local4;
_local4 = (_local4 + 1);
lt246.kj541 = _local3[_temp6];
var _temp7 = _local4;
_local4 = (_local4 + 1);
lt246.qw543 = _local3[_temp7];
var _temp8 = _local4;
_local4 = (_local4 + 1);
lt246.pu545 = _local3[_temp8];
var _temp9 = _local4;
_local4 = (_local4 + 1);
lt246.hi547 = _local3[_temp9];
var _temp10 = _local4;
_local4 = (_local4 + 1);
lt246.mv548 = _local3[_temp10];
var _temp11 = _local4;
_local4 = (_local4 + 1);
lt246.fv549 = _local3[_temp11];
var _temp12 = _local4;
_local4 = (_local4 + 1);
lt246.uz550 = _local3[_temp12];
var _temp13 = _local4;
_local4 = (_local4 + 1);
lt246.wy551 = _local3[_temp13];
var _temp14 = _local4;
_local4 = (_local4 + 1);
lt246.vi552 = _local3[_temp14];
var _temp15 = _local4;
_local4 = (_local4 + 1);
lt246.jg553 = _local3[_temp15];
}
public function e114(_arg1:Event):void{
var _local2:URLLoader;
var _local3:Array;
var _local4:int;
var _local5:int;
var _local6:int;
trace("loading to517.txt done");
_local2 = URLLoader(_arg1.target);
_local3 = f108(String(_local2.data));
_local4 = 0;
var _temp1 = _local4;
_local4 = (_local4 + 1);
lt246.ge518 = _local3[_temp1];
var _temp2 = _local4;
_local4 = (_local4 + 1);
lt246.ps519 = _local3[_temp2];
var _temp3 = _local4;
_local4 = (_local4 + 1);
lt246.px520 = _local3[_temp3];
var _temp4 = _local4;
_local4 = (_local4 + 1);
lt246.nv521 = _local3[_temp4];
var _temp5 = _local4;
_local4 = (_local4 + 1);
lt246.ji522 = _local3[_temp5];
var _temp6 = _local4;
_local4 = (_local4 + 1);
lt246.up523 = _local3[_temp6];
var _temp7 = _local4;
_local4 = (_local4 + 1);
lt246.al524 = _local3[_temp7];
var _temp8 = _local4;
_local4 = (_local4 + 1);
lt246.yy525 = _local3[_temp8];
_local6 = 0;
while (_local6 < MPCONST.sv217) {
lt246.to517[_local6].uv202 = 0;
lt246.to517[_local6].gain = 0;
var _temp9 = _local4;
_local4 = (_local4 + 1);
lt246.to517[_local6].qn203 = _local3[_temp9];
_local5 = 0;
while (_local5 < MPCONST.oj218) {
var _temp10 = _local4;
_local4 = (_local4 + 1);
lt246.to517[_local6].qq204[_local5].gv209 = int(_local3[_temp10]);
var _temp11 = _local4;
_local4 = (_local4 + 1);
lt246.to517[_local6].qq204[_local5].fq117 = _local3[_temp11];
var _temp12 = _local4;
_local4 = (_local4 + 1);
lt246.to517[_local6].qq204[_local5].mk118 = _local3[_temp12];
var _temp13 = _local4;
_local4 = (_local4 + 1);
lt246.to517[_local6].qq204[_local5].mx = _local3[_temp13];
var _temp14 = _local4;
_local4 = (_local4 + 1);
lt246.to517[_local6].qq204[_local5].my = _local3[_temp14];
var _temp15 = _local4;
_local4 = (_local4 + 1);
lt246.to517[_local6].qq204[_local5].li210 = _local3[_temp15];
var _temp16 = _local4;
_local4 = (_local4 + 1);
lt246.to517[_local6].qq204[_local5].ex211 = _local3[_temp16];
var _temp17 = _local4;
_local4 = (_local4 + 1);
lt246.to517[_local6].qq204[_local5].dz212 = _local3[_temp17];
_local5++;
};
_local6++;
};
}
private function e121(_arg1:MPFace):void{
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:int;
var _local10:int;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Number;
var _local15:Number;
var _local16:Array;
_local3 = 0;
while (_local3 <= MPCONST.zm220) {
_local2 = 0;
while (_local2 <= MPCONST.br219) {
_local6 = Number(_arg1.tv589[_local3][_local2]);
_local7 = Number(_arg1.js590[_local3][_local2]);
_arg1.yj565[_local3][_local2].x = _local6;
_arg1.fj566[_local3][_local2].x = _local6;
_arg1.yj565[_local3][_local2].y = _local7;
_arg1.fj566[_local3][_local2].y = _local7;
_local2++;
};
_local3++;
};
_local16 = new Array(MPCONST.sv217);
_local11 = 0;
_local5 = 0;
while (_local5 < MPCONST.sv217) {
if (_arg1.to517[_local5].gain > 0){
if (_local5 != 7){
_local8 = b118(_arg1.to517[_local5].gain);
} else {
_local8 = _arg1.to517[_local5].gain;
};
_local11 = (_local11 + (_local8 * _arg1.to517[_local5].qn203));
_local16[_local5] = _local8;
} else {
_local16[_local5] = 0;
};
_local5++;
};
_arg1.oq546 = _local11;
_local3 = 1;
while (_local3 < MPCONST.zm220) {
_local2 = 1;
while (_local2 < MPCONST.br219) {
if (_arg1.ao592[_local3][_local2] == 0){
_local12 = 0;
_local13 = 0;
_local14 = 0;
_local15 = 0;
_local5 = 0;
while (_local5 < MPCONST.sv217) {
if (_local16[_local5] > 0){
_local8 = _local16[_local5];
_local12 = (_local12 + (_local8 * _arg1.hs568[_local5][_local3][_local2].lr205));
_local13 = (_local13 + (_local8 * _arg1.hs568[_local5][_local3][_local2].zj206));
_local14 = (_local14 + (_local8 * _arg1.hs568[_local5][_local3][_local2].px207));
_local15 = (_local15 + (_local8 * _arg1.hs568[_local5][_local3][_local2].io208));
};
_local5++;
};
_arg1.yj565[_local3][_local2].x = (_arg1.yj565[_local3][_local2].x + _local12);
_arg1.yj565[_local3][_local2].y = (_arg1.yj565[_local3][_local2].y + _local13);
_arg1.fj566[_local3][_local2].x = (_arg1.fj566[_local3][_local2].x + _local14);
_arg1.fj566[_local3][_local2].y = (_arg1.fj566[_local3][_local2].y + _local15);
};
_local2++;
};
_local3++;
};
_arg1.yj565[7][7].x = (_arg1.yj565[7][7].x + (_arg1.sq569.qq204[0].mx * 0.4));
_arg1.yj565[7][7].y = (_arg1.yj565[7][7].y + (_arg1.sq569.qq204[0].my * 0.4));
_arg1.yj565[7][3].x = (_arg1.yj565[7][3].x + (_arg1.sq569.qq204[1].mx * 0.4));
_arg1.yj565[7][3].y = (_arg1.yj565[7][3].y + (_arg1.sq569.qq204[1].my * 0.4));
}
private function w89(_arg1:uint):uint{
var _local2:uint;
_local2 = ((_arg1 >> 24) & 0xFF);
return (_local2);
}
private function p125(_arg1:MPFace, _arg2:int):void{
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
_local5 = 0;
_local6 = 0;
if (_arg2 == 0){
_local4 = 0;
while (_local4 < (MPCONST.po222 - 1)) {
_local3 = 0;
while (_local3 < 6) {
var _temp1 = _local5;
_local5 = (_local5 + 1);
var _local7 = _temp1;
_arg1.om807[_local7] = _arg1.ct570[(_local4 + 0)][(5 - _local3)].x;
var _temp2 = _local5;
_local5 = (_local5 + 1);
var _local8 = _temp2;
_arg1.om807[_local8] = _arg1.ct570[(_local4 + 0)][(5 - _local3)].y;
_local5++;
var _temp3 = _local5;
_local5 = (_local5 + 1);
var _local9 = _temp3;
_arg1.om807[_local9] = _arg1.ct570[(_local4 + 1)][(5 - _local3)].x;
var _temp4 = _local5;
_local5 = (_local5 + 1);
var _local10 = _temp4;
_arg1.om807[_local10] = _arg1.ct570[(_local4 + 1)][(5 - _local3)].y;
_local5++;
var _temp5 = _local6;
_local6 = (_local6 + 1);
var _local11 = _temp5;
_arg1.wn808[_local11] = _arg1.ct570[(_local4 + 0)][(5 - _local3)].s;
var _temp6 = _local6;
_local6 = (_local6 + 1);
var _local12 = _temp6;
_arg1.wn808[_local12] = _arg1.ct570[(_local4 + 0)][(5 - _local3)].t;
var _temp7 = _local6;
_local6 = (_local6 + 1);
var _local13 = _temp7;
_arg1.wn808[_local13] = _arg1.ct570[(_local4 + 1)][(5 - _local3)].s;
var _temp8 = _local6;
_local6 = (_local6 + 1);
var _local14 = _temp8;
_arg1.wn808[_local14] = _arg1.ct570[(_local4 + 1)][(5 - _local3)].t;
_local3++;
};
_local4++;
};
} else {
_local4 = 0;
while (_local4 < (MPCONST.po222 - 1)) {
_local3 = 0;
while (_local3 < 6) {
var _temp9 = _local5;
_local5 = (_local5 + 1);
_local7 = _temp9;
_arg1.kp799[_local7] = _arg1.ct570[(_local4 + 0)][(5 - _local3)].x;
var _temp10 = _local5;
_local5 = (_local5 + 1);
_local8 = _temp10;
_arg1.kp799[_local8] = _arg1.ct570[(_local4 + 0)][(5 - _local3)].y;
_local5++;
var _temp11 = _local5;
_local5 = (_local5 + 1);
_local9 = _temp11;
_arg1.kp799[_local9] = _arg1.ct570[(_local4 + 1)][(5 - _local3)].x;
var _temp12 = _local5;
_local5 = (_local5 + 1);
_local10 = _temp12;
_arg1.kp799[_local10] = _arg1.ct570[(_local4 + 1)][(5 - _local3)].y;
_local5++;
var _temp13 = _local6;
_local6 = (_local6 + 1);
_local11 = _temp13;
_arg1.np800[_local11] = _arg1.ct570[(_local4 + 0)][(5 - _local3)].s;
var _temp14 = _local6;
_local6 = (_local6 + 1);
_local12 = _temp14;
_arg1.np800[_local12] = _arg1.ct570[(_local4 + 0)][(5 - _local3)].t;
var _temp15 = _local6;
_local6 = (_local6 + 1);
_local13 = _temp15;
_arg1.np800[_local13] = _arg1.ct570[(_local4 + 1)][(5 - _local3)].s;
var _temp16 = _local6;
_local6 = (_local6 + 1);
_local14 = _temp16;
_arg1.np800[_local14] = _arg1.ct570[(_local4 + 1)][(5 - _local3)].t;
_local3++;
};
_local4++;
};
};
}
private function f77(_arg1:ByteArray, _arg2:Array, _arg3:int):int{
var _local4:int;
var _local5:int;
var _local6:int;
_local5 = _arg2[0];
_local4 = 0;
_local6 = 0;
while (_local6 < _arg3) {
var _temp1 = _local5;
_local5 = (_local5 + 1);
_local4 = ((_local4 << 8) + _arg1[_temp1]);
_local6++;
};
if (_arg3 == 2){
if (_local4 >= int(0x8000)){
_local4 = (_local4 - (2 * int(0x8000)));
};
};
_arg2[0] = _local5;
return (_local4);
}
private function f78(_arg1:ByteArray, _arg2:Array, _arg3:int):Number{
var _local4:int;
var _local5:Number;
_local4 = this.f77(_arg1, _arg2, _arg3);
_local5 = (_local4 / MPCONST.nj235);
return (_local5);
}
private function v73(_arg1:MPFace, _arg2:int):void{
var _local3:Number;
var _local4:Number;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:Number;
var _local9:int;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Number;
var _local15:Number;
var _local16:Number;
var _local17:Number;
var _local18:Number;
var _local19:Number;
var _local20:Number;
var _local21:Number;
var _local22:Number;
var _local23:Number;
var _local24:Number;
var _local25:Number;
var _local26:Number;
var _local27:Number;
var _local28:Number;
var _local29:Number;
var _local30:Number;
var _local31:Number;
var _local32:Number;
var _local33:Number;
var _local34:Number;
var _local35:Number;
var _local36:int;
var _local37:int;
var _local38:Number;
var _local39:int;
var _local40:int;
var _local41:Number;
var _local42:Number;
var _local43:Number;
var _local44:Number;
var _local45:Number;
var _local46:Number;
var _local47:Number;
var _local48:Number;
_local5 = 6;
_local41 = _arg1.yp596[0];
_local42 = _arg1.yp596[1];
_local43 = _arg1.yp596[4];
_local44 = _arg1.yp596[5];
_local45 = _arg1.yp596[8];
_local46 = _arg1.yp596[9];
_local47 = _arg1.yp596[12];
_local48 = _arg1.yp596[13];
if (_arg2 == 0){
_local3 = _arg1.te572[0];
} else {
_local3 = _arg1.dc574[0];
};
_local4 = (_local3 * 0.95);
if (_arg2 == 0){
_local6 = 0;
_local7 = 0;
} else {
_local6 = (pm272[0][1] * 3);
_local7 = (pm272[0][1] * 2);
};
_local39 = _local6;
_local40 = _local7;
if (_local3 < 0.4){
_local9 = 0;
while (_local9 < _local5) {
if (_arg1.pz514 == 0){
if (_arg2 == 0){
_local8 = (Number(_local9) / Number(_local5));
} else {
_local8 = (Number(((_local5 - 1) - _local9)) / Number(_local5));
};
var _temp1 = _local39;
_local39 = (_local39 + 1);
var _local49 = _temp1;
_arg1.nm667[_local49] = 0;
var _temp2 = _local39;
_local39 = (_local39 + 1);
var _local50 = _temp2;
_arg1.nm667[_local50] = 0;
_local39++;
var _temp3 = _local40;
_local40 = (_local40 + 1);
var _local51 = _temp3;
_arg1.ka670[_local51] = _local8;
var _temp4 = _local40;
_local40 = (_local40 + 1);
var _local52 = _temp4;
_arg1.ka670[_local52] = 0.75;
var _temp5 = _local39;
_local39 = (_local39 + 1);
var _local53 = _temp5;
_arg1.nm667[_local53] = 0;
var _temp6 = _local39;
_local39 = (_local39 + 1);
var _local54 = _temp6;
_arg1.nm667[_local54] = 0;
_local39++;
var _temp7 = _local40;
_local40 = (_local40 + 1);
var _local55 = _temp7;
_arg1.ka670[_local55] = _local8;
var _temp8 = _local40;
_local40 = (_local40 + 1);
var _local56 = _temp8;
_arg1.ka670[_local56] = 0.52;
} else {
if (_arg2 == 0){
_local8 = (Number(_local9) / Number(_local5));
} else {
_local8 = (Number(((_local5 - 1) - _local9)) / Number(_local5));
};
var _temp9 = _local39;
_local39 = (_local39 + 1);
_local49 = _temp9;
_arg1.fp820[_local49] = 0;
var _temp10 = _local39;
_local39 = (_local39 + 1);
_local50 = _temp10;
_arg1.fp820[_local50] = 0;
_local39++;
var _temp11 = _local40;
_local40 = (_local40 + 1);
_local51 = _temp11;
_arg1.wb823[_local51] = _local8;
var _temp12 = _local40;
_local40 = (_local40 + 1);
_local52 = _temp12;
_arg1.wb823[_local52] = 0.75;
var _temp13 = _local39;
_local39 = (_local39 + 1);
_local53 = _temp13;
_arg1.fp820[_local53] = 0;
var _temp14 = _local39;
_local39 = (_local39 + 1);
_local54 = _temp14;
_arg1.fp820[_local54] = 0;
_local39++;
var _temp15 = _local40;
_local40 = (_local40 + 1);
_local55 = _temp15;
_arg1.wb823[_local55] = _local8;
var _temp16 = _local40;
_local40 = (_local40 + 1);
_local56 = _temp16;
_arg1.wb823[_local56] = 0.52;
};
_local9++;
};
} else {
_local9 = 0;
while (_local9 < _local5) {
if (_arg2 == 0){
_local8 = (_arg1.km562[int(((_local5 / 2) + _local5))] - _arg1.km562[int((_local5 / 2))]);
_local10 = (_arg1.tl561[_local9] + (_local4 * (_arg1.tl561[int((_local9 + _local5))] - _arg1.tl561[_local9])));
_local11 = ((_arg1.km562[_local9] + (0.2 * _local8)) + (_local4 * ((_arg1.km562[int((_local9 + _local5))] - _arg1.km562[_local9]) - (0.2 * _local8))));
_local13 = (_arg1.tl561[_local9] + (_local4 * (_arg1.tl561[int((_local9 + _local5))] - _arg1.tl561[_local9])));
_local14 = ((_arg1.km562[_local9] + (_local4 * ((_arg1.km562[int((_local9 + _local5))] - _arg1.km562[_local9]) + (0 * _local8)))) + (0.4 * _local8));
} else {
_local8 = (_arg1.rm564[int(((_local5 / 2) + _local5))] - _arg1.rm564[int((_local5 / 2))]);
_local10 = (_arg1.fq563[int(((_local5 - 1) - _local9))] + (_local4 * (_arg1.fq563[int((((_local5 - 1) - _local9) + _local5))] - _arg1.fq563[int(((_local5 - 1) - _local9))])));
_local11 = ((_arg1.rm564[int(((_local5 - 1) - _local9))] + (0.2 * _local8)) + (_local4 * ((_arg1.rm564[int((((_local5 - 1) - _local9) + _local5))] - _arg1.rm564[int(((_local5 - 1) - _local9))]) - (0.2 * _local8))));
_local13 = (_arg1.fq563[int(((_local5 - 1) - _local9))] + (_local4 * (_arg1.fq563[int((((_local5 - 1) - _local9) + _local5))] - _arg1.fq563[int(((_local5 - 1) - _local9))])));
_local14 = ((_arg1.rm564[int(((_local5 - 1) - _local9))] + (_local4 * ((_arg1.rm564[int((((_local5 - 1) - _local9) + _local5))] - _arg1.rm564[int(((_local5 - 1) - _local9))]) + (0 * _local8)))) + (0.4 * _local8));
};
_local36 = int(((MPCONST.ru216 - 1) * _local10));
_local37 = int(((MPCONST.ru216 - 1) * _local11));
_local38 = _arg1.jl594[_local37][_local36];
_local12 = ((((2 * _local38) * MPCONST.le225) / 0xFF) - MPCONST.le225);
_local36 = s60(_arg1, _local10);
_local37 = m62(_arg1, _local11);
_local28 = _arg1.tv589[6][_local36];
_local29 = _arg1.tv589[6][int((_local36 + 1))];
_local30 = _arg1.js590[_local37][5];
_local31 = _arg1.js590[int((_local37 + 1))][5];
_local26 = ((_local10 - _local28) / (_local29 - _local28));
_local27 = ((_local11 - _local30) / (_local31 - _local30));
_local32 = ((1 - _local26) * (1 - _local27));
_local33 = (_local26 * (1 - _local27));
_local34 = ((1 - _local26) * _local27);
_local35 = (_local26 * _local27);
_local10 = (_local10 + ((((_local32 * (_arg1.yj565[_local37][_local36].x - _local28)) + (_local33 * (_arg1.yj565[_local37][int((_local36 + 1))].x - _local29))) + (_local34 * (_arg1.yj565[int((_local37 + 1))][_local36].x - _local28))) + (_local35 * (_arg1.yj565[int((_local37 + 1))][int((_local36 + 1))].x - _local29))));
_local11 = (_local11 + ((((_local32 * (_arg1.yj565[_local37][_local36].y - _local30)) + (_local33 * (_arg1.yj565[_local37][int((_local36 + 1))].y - _local30))) + (_local34 * (_arg1.yj565[int((_local37 + 1))][_local36].y - _local31))) + (_local35 * (_arg1.yj565[int((_local37 + 1))][int((_local36 + 1))].y - _local31))));
_local36 = int(((MPCONST.ru216 - 1) * _local13));
_local37 = int(((MPCONST.ru216 - 1) * _local14));
_local38 = _arg1.jl594[_local37][_local36];
_local15 = ((((2 * _local38) * MPCONST.le225) / 0xFF) - MPCONST.le225);
_local36 = s60(_arg1, _local13);
_local37 = m62(_arg1, _local14);
_local28 = _arg1.tv589[6][_local36];
_local29 = _arg1.tv589[6][int((_local36 + 1))];
_local30 = _arg1.js590[_local37][5];
_local31 = _arg1.js590[int((_local37 + 1))][5];
_local26 = ((_local13 - _local28) / (_local29 - _local28));
_local27 = ((_local14 - _local30) / (_local31 - _local30));
_local32 = ((1 - _local26) * (1 - _local27));
_local33 = (_local26 * (1 - _local27));
_local34 = ((1 - _local26) * _local27);
_local35 = (_local26 * _local27);
_local13 = (_local13 + ((((_local32 * (_arg1.yj565[_local37][_local36].x - _local28)) + (_local33 * (_arg1.yj565[_local37][int((_local36 + 1))].x - _local29))) + (_local34 * (_arg1.yj565[int((_local37 + 1))][_local36].x - _local28))) + (_local35 * (_arg1.yj565[int((_local37 + 1))][int((_local36 + 1))].x - _local29))));
_local14 = (_local14 + ((((_local32 * (_arg1.yj565[_local37][_local36].y - _local30)) + (_local33 * (_arg1.yj565[_local37][int((_local36 + 1))].y - _local30))) + (_local34 * (_arg1.yj565[int((_local37 + 1))][_local36].y - _local31))) + (_local35 * (_arg1.yj565[int((_local37 + 1))][int((_local36 + 1))].y - _local31))));
_local16 = ((((_local41 * _local10) + (_local43 * _local11)) + (_local45 * _local12)) + _local47);
_local17 = ((((_local42 * _local10) + (_local44 * _local11)) + (_local46 * _local12)) + _local48);
_local19 = ((((_local41 * _local13) + (_local43 * _local14)) + (_local45 * _local15)) + _local47);
_local20 = ((((_local42 * _local13) + (_local44 * _local14)) + (_local46 * _local15)) + _local48);
if (_arg1.pz514 == 0){
if (_arg2 == 0){
_local8 = (Number(_local9) / Number(_local5));
} else {
_local8 = (Number(((_local5 - 1) - _local9)) / Number(_local5));
};
var _temp17 = _local39;
_local39 = (_local39 + 1);
_local49 = _temp17;
_arg1.nm667[_local49] = _local16;
var _temp18 = _local39;
_local39 = (_local39 + 1);
_local50 = _temp18;
_arg1.nm667[_local50] = _local17;
_local39++;
var _temp19 = _local40;
_local40 = (_local40 + 1);
_local51 = _temp19;
_arg1.ka670[_local51] = _local8;
var _temp20 = _local40;
_local40 = (_local40 + 1);
_local52 = _temp20;
_arg1.ka670[_local52] = 0.75;
var _temp21 = _local39;
_local39 = (_local39 + 1);
_local53 = _temp21;
_arg1.nm667[_local53] = _local19;
var _temp22 = _local39;
_local39 = (_local39 + 1);
_local54 = _temp22;
_arg1.nm667[_local54] = _local20;
_local39++;
var _temp23 = _local40;
_local40 = (_local40 + 1);
_local55 = _temp23;
_arg1.ka670[_local55] = _local8;
var _temp24 = _local40;
_local40 = (_local40 + 1);
_local56 = _temp24;
_arg1.ka670[_local56] = 0.52;
} else {
if (_arg2 == 0){
_local8 = (Number(_local9) / Number(_local5));
} else {
_local8 = (Number(((_local5 - 1) - _local9)) / Number(_local5));
};
var _temp25 = _local39;
_local39 = (_local39 + 1);
_local49 = _temp25;
_arg1.fp820[_local49] = _local16;
var _temp26 = _local39;
_local39 = (_local39 + 1);
_local50 = _temp26;
_arg1.fp820[_local50] = _local17;
_local39++;
var _temp27 = _local40;
_local40 = (_local40 + 1);
_local51 = _temp27;
_arg1.wb823[_local51] = _local8;
var _temp28 = _local40;
_local40 = (_local40 + 1);
_local52 = _temp28;
_arg1.wb823[_local52] = 0.75;
var _temp29 = _local39;
_local39 = (_local39 + 1);
_local53 = _temp29;
_arg1.fp820[_local53] = _local19;
var _temp30 = _local39;
_local39 = (_local39 + 1);
_local54 = _temp30;
_arg1.fp820[_local54] = _local20;
_local39++;
var _temp31 = _local40;
_local40 = (_local40 + 1);
_local55 = _temp31;
_arg1.wb823[_local55] = _local8;
var _temp32 = _local40;
_local40 = (_local40 + 1);
_local56 = _temp32;
_arg1.wb823[_local56] = 0.52;
};
_local9++;
};
};
}
public function f108(_arg1:String):Array{
var _local2:Array;
var _local3:String;
var _local4:Array;
_local2 = _arg1.split(/\s|\r|\n/);
_local4 = new Array();
while (_local2.length) {
_local3 = String(_local2.shift());
if (_local3.length <= 0){
} else {
_local4.push(int(_local3));
};
};
return (_local4);
}
public function p132(_arg1:MPFace, _arg2:MPGlasses):void{
var _local3:Number;
_arg2.graphics.clear();
e134(_arg1, _arg2);
_local3 = ((32 * MPCONST.le225) / 50);
n140(_arg1, _arg2, _local3);
if (_arg2.jz886 == 1){
f137(0, _arg1, _arg2, _local3);
f137(1, _arg1, _arg2, _local3);
} else {
p138(0, _arg1, _arg2, _local3);
p138(1, _arg1, _arg2, _local3);
};
if (_arg2.jz886 != 2){
b139(0, _arg1, _arg2, _local3);
b139(1, _arg1, _arg2, _local3);
};
p141(_arg1, _arg2, _local3);
l142(_arg1, _arg2);
}
private function e134(_arg1:MPFace, _arg2:MPGlasses):void{
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Number;
var _local15:Number;
var _local16:Number;
var _local17:Array;
_local17 = new Array(4);
_local5 = _arg2.hs558[8].x[2];
_local6 = _arg2.hs558[8].y[2];
_local7 = _arg2.hs558[8].x[5];
_local8 = _arg2.hs558[8].y[5];
_arg2.ar877 = ((_local7 + _local5) * 0.5);
_arg2.in878 = ((_local8 + _local6) * 0.5);
_local13 = (_local7 - _local5);
_local14 = (_local8 - _local6);
_local3 = Math.sqrt(((_local13 * _local13) + (_local14 * _local14)));
o133(_arg1, _local17);
_local11 = _local17[0];
_local12 = _local17[1];
_local9 = _local17[2];
_local10 = _local17[3];
_arg2.td879 = ((_local11 + _local9) * 0.5);
_arg2.wc880 = ((_local12 + _local10) * 0.5);
_local15 = (_local11 - _local9);
_local16 = (_local12 - _local10);
_local4 = Math.sqrt(((_local15 * _local15) + (_local16 * _local16)));
_arg2.vd882 = (_local4 / _local3);
_local13 = (_local13 / _local3);
_local14 = (_local14 / _local3);
_local15 = (_local15 / _local4);
_local16 = (_local16 / _local4);
_arg2.xr883 = ((_local14 * _local15) - (_local13 * _local16));
_arg2.op884 = ((_local13 * _local15) + (_local14 * _local16));
}
private function p138(_arg1:int, _arg2:MPFace, _arg3:MPGlasses, _arg4:Number):void{
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:int;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Number;
var _local15:Number;
var _local16:Number;
var _local17:Number;
var _local18:Number;
var _local19:Number;
var _local20:Number;
var _local21:Number;
var _local22:int;
var _local23:Number;
var _local24:Number;
var _local25:Number;
var _local26:int;
var _local27:int;
var _local28:Number;
var _local29:Number;
var _local30:Number;
var _local31:Number;
var _local32:Number;
var _local33:Number;
var _local34:Number;
var _local35:Number;
var _local36:Number;
var _local37:Number;
var _local38:Number;
var _local39:Number;
var _local40:Number;
var _local41:Number;
var _local42:Number;
var _local43:Number;
var _local44:Number;
var _local45:Number;
var _local46:Number;
_local45 = (_arg3.vd882 * _arg3.xr883);
_local46 = (_arg3.vd882 * _arg3.op884);
_local37 = _arg2.cc495;
_local38 = _arg2.vh496;
_local39 = _arg2.hr497;
_local40 = x116(_local39);
_local41 = z117(_local39);
_local43 = (-0.5 * x116(_local38));
_local44 = (0.5 * x116(_local37));
_local29 = _arg2.yp596[0];
_local30 = _arg2.yp596[4];
_local31 = _arg2.yp596[8];
_local32 = _arg2.yp596[12];
_local33 = _arg2.yp596[1];
_local34 = _arg2.yp596[5];
_local35 = _arg2.yp596[9];
_local36 = _arg2.yp596[13];
_local28 = _arg3.vd882;
_local9 = (_arg1 + 6);
_local5 = (0.5 * (_arg3.hs558[_local9].x[0] + _arg3.hs558[_local9].x[5]));
_local6 = (0.25 * (((_arg3.hs558[_local9].y[2] + _arg3.hs558[_local9].y[3]) + _arg3.hs558[_local9].y[9]) + _arg3.hs558[_local9].y[8]));
if (_arg1 == 0){
_local26 = 0;
_local27 = 0;
} else {
_local26 = ((2 * (_arg3.ux924 + 1)) * 3);
_local27 = ((2 * (_arg3.ux924 + 1)) * 2);
};
_local22 = 0;
while (_local22 <= _arg3.ux924) {
_local42 = (Number(_local22) / Number(_arg3.ux924));
_local42 = (1 - x116((180 * _local42)));
_local42 = (2 + ((0.5 * _local42) * _local42));
_local23 = _arg3.is923[_arg1][_local22].x;
_local24 = _arg3.is923[_arg1][_local22].os214;
_local25 = _arg3.is923[_arg1][_local22].rk215;
_local7 = (_local23 - _local5);
_local8 = (_local24 - _local6);
_local20 = ((_local41 * _local7) + (_local40 * _local8));
_local21 = ((-(_local40) * _local7) + (_local41 * _local8));
var _temp1 = _local27;
_local27 = (_local27 + 1);
var _local47 = _temp1;
_arg3.mo907[_local47] = ((0.5 + (_local42 * _local20)) + (3 * _local43));
var _temp2 = _local27;
_local27 = (_local27 + 1);
var _local48 = _temp2;
_arg3.mo907[_local48] = ((0.5 + (2 * _local21)) + (3 * _local44));
_local13 = (_local23 - _arg3.ar877);
_local14 = (_local24 - _arg3.in878);
_local10 = (_arg3.td879 + ((_local46 * _local13) + (_local45 * _local14)));
_local11 = (_arg3.wc880 + ((-(_local45) * _local13) + (_local46 * _local14)));
_local12 = _arg4;
_local20 = ((((_local29 * _local10) + (_local30 * _local11)) + (_local31 * _local12)) + _local32);
_local21 = ((((_local33 * _local10) + (_local34 * _local11)) + (_local35 * _local12)) + _local36);
var _temp3 = _local26;
_local26 = (_local26 + 1);
var _local49 = _temp3;
_arg3.zn906[_local49] = _local20;
var _temp4 = _local26;
_local26 = (_local26 + 1);
var _local50 = _temp4;
_arg3.zn906[_local50] = _local21;
_local26++;
_local8 = (_local25 - _local6);
_local20 = ((_local41 * _local7) + (_local40 * _local8));
_local21 = ((-(_local40) * _local7) + (_local41 * _local8));
var _temp5 = _local27;
_local27 = (_local27 + 1);
var _local51 = _temp5;
_arg3.mo907[_local51] = ((0.5 + (_local42 * _local20)) + (3 * _local43));
var _temp6 = _local27;
_local27 = (_local27 + 1);
var _local52 = _temp6;
_arg3.mo907[_local52] = ((0.5 + (2 * _local21)) + (3 * _local44));
_local13 = (_local23 - _arg3.ar877);
_local14 = (_local25 - _arg3.in878);
_local10 = (_arg3.td879 + ((_local46 * _local13) + (_local45 * _local14)));
_local11 = (_arg3.wc880 + ((-(_local45) * _local13) + (_local46 * _local14)));
_local20 = ((((_local29 * _local10) + (_local30 * _local11)) + (_local31 * _local12)) + _local32);
_local21 = ((((_local33 * _local10) + (_local34 * _local11)) + (_local35 * _local12)) + _local36);
var _temp7 = _local26;
_local26 = (_local26 + 1);
var _local53 = _temp7;
_arg3.zn906[_local53] = _local20;
var _temp8 = _local26;
_local26 = (_local26 + 1);
var _local54 = _temp8;
_arg3.zn906[_local54] = _local21;
_local26++;
_local22++;
};
}
private function n81(_arg1:ByteArray, _arg2:Array):void{
var _local3:int;
var _local4:ParaEdit;
var _local5:int;
var _local6:int;
_local5 = 0;
while (_local5 <= 5) {
_local4 = lt246.hs558[_local5];
_local3 = f77(_arg1, _arg2, 1);
_local4.wi382 = _local3;
_local6 = 0;
while (_local6 < _local3) {
_local4.x[_local6] = f78(_arg1, _arg2, 2);
_local4.y[_local6] = f78(_arg1, _arg2, 2);
_local6++;
};
_local5++;
};
if (lt246.fi509 == 2){
_local5 = 9;
while (_local5 <= 10) {
_local4 = lt246.hs558[_local5];
_local3 = f77(_arg1, _arg2, 1);
_local4.wi382 = _local3;
_local6 = 0;
while (_local6 < _local3) {
_local4.x[_local6] = f78(_arg1, _arg2, 2);
_local4.y[_local6] = f78(_arg1, _arg2, 2);
_local6++;
};
_local5++;
};
};
}
private function m62(_arg1:MPFace, _arg2:Number):int{
var _local3:int;
_local3 = _arg1.rw588[int((100 * _arg2))];
while (_local3 < MPCONST.zm220) {
if (_arg1.js590[_local3][6] > _arg2){
break;
};
_local3++;
};
_local3--;
return (_local3);
}
public function f115(_arg1:IOErrorEvent):void{
trace(("Load failed: IO error: " + _arg1.text));
}
public function v88():void{
lt246.v88();
}
private function a109(_arg1:Event):void{
var _local2:URLLoader;
var _local3:Array;
var _local4:int;
var _local5:int;
trace((("loading edpr" + oc257) + " done"));
_local2 = URLLoader(_arg1.target);
_local3 = f108(String(_local2.data));
_local4 = 0;
var _temp1 = _local4;
_local4 = (_local4 + 1);
lt246.hs558[oc257].wi382 = _local3[_temp1];
_local5 = 0;
while (_local5 < lt246.hs558[oc257].wi382) {
var _temp2 = _local4;
_local4 = (_local4 + 1);
lt246.hs558[oc257].x[_local5] = _local3[_temp2];
var _temp3 = _local4;
_local4 = (_local4 + 1);
lt246.hs558[oc257].y[_local5] = _local3[_temp3];
_local5++;
};
oc257++;
}
private function v124(_arg1:MPFace, _arg2:int):void{
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
_local5 = 0;
_local6 = 0;
if (_arg2 == 0){
_local4 = 0;
while (_local4 < (MPCONST.po222 - 1)) {
_local3 = 0;
while (_local3 < 6) {
var _temp1 = _local5;
_local5 = (_local5 + 1);
var _local7 = _temp1;
_arg1.iw791[_local7] = _arg1.ct570[(_local4 + 0)][(5 - _local3)].x;
var _temp2 = _local5;
_local5 = (_local5 + 1);
var _local8 = _temp2;
_arg1.iw791[_local8] = _arg1.ct570[(_local4 + 0)][(5 - _local3)].y;
_local5++;
var _temp3 = _local5;
_local5 = (_local5 + 1);
var _local9 = _temp3;
_arg1.iw791[_local9] = _arg1.ct570[(_local4 + 1)][(5 - _local3)].x;
var _temp4 = _local5;
_local5 = (_local5 + 1);
var _local10 = _temp4;
_arg1.iw791[_local10] = _arg1.ct570[(_local4 + 1)][(5 - _local3)].y;
_local5++;
var _temp5 = _local6;
_local6 = (_local6 + 1);
var _local11 = _temp5;
_arg1.ni792[_local11] = _arg1.ct570[(_local4 + 0)][(5 - _local3)].s;
var _temp6 = _local6;
_local6 = (_local6 + 1);
var _local12 = _temp6;
_arg1.ni792[_local12] = _arg1.ct570[(_local4 + 0)][(5 - _local3)].t;
var _temp7 = _local6;
_local6 = (_local6 + 1);
var _local13 = _temp7;
_arg1.ni792[_local13] = _arg1.ct570[(_local4 + 1)][(5 - _local3)].s;
var _temp8 = _local6;
_local6 = (_local6 + 1);
var _local14 = _temp8;
_arg1.ni792[_local14] = _arg1.ct570[(_local4 + 1)][(5 - _local3)].t;
_local3++;
};
_local4++;
};
} else {
_local4 = 0;
while (_local4 < (MPCONST.po222 - 1)) {
_local3 = 0;
while (_local3 < 6) {
var _temp9 = _local5;
_local5 = (_local5 + 1);
_local7 = _temp9;
_arg1.ru783[_local7] = _arg1.ct570[(_local4 + 0)][(5 - _local3)].x;
var _temp10 = _local5;
_local5 = (_local5 + 1);
_local8 = _temp10;
_arg1.ru783[_local8] = _arg1.ct570[(_local4 + 0)][(5 - _local3)].y;
_local5++;
var _temp11 = _local5;
_local5 = (_local5 + 1);
_local9 = _temp11;
_arg1.ru783[_local9] = _arg1.ct570[(_local4 + 1)][(5 - _local3)].x;
var _temp12 = _local5;
_local5 = (_local5 + 1);
_local10 = _temp12;
_arg1.ru783[_local10] = _arg1.ct570[(_local4 + 1)][(5 - _local3)].y;
_local5++;
var _temp13 = _local6;
_local6 = (_local6 + 1);
_local11 = _temp13;
_arg1.pc784[_local11] = _arg1.ct570[(_local4 + 0)][(5 - _local3)].s;
var _temp14 = _local6;
_local6 = (_local6 + 1);
_local12 = _temp14;
_arg1.pc784[_local12] = _arg1.ct570[(_local4 + 0)][(5 - _local3)].t;
var _temp15 = _local6;
_local6 = (_local6 + 1);
_local13 = _temp15;
_arg1.pc784[_local13] = _arg1.ct570[(_local4 + 1)][(5 - _local3)].s;
var _temp16 = _local6;
_local6 = (_local6 + 1);
_local14 = _temp16;
_arg1.pc784[_local14] = _arg1.ct570[(_local4 + 1)][(5 - _local3)].t;
_local3++;
};
_local4++;
};
};
}
private function v126(_arg1:MPFace, _arg2:int, _arg3:int, _arg4:int):void{
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:int;
var _local10:int;
var _local11:int;
var _local12:int;
_local12 = 6;
_local10 = _arg3;
_local11 = _arg4;
if (_arg1.pz514 == 0){
_local5 = 0;
while (_local5 < 17) {
if (_arg2 == 1){
_local8 = kc300[_local5][0];
_local9 = kc300[_local5][1];
_local6 = kc300[_local5][2];
_local7 = kc300[_local5][3];
_local6 = (10 - _local6);
_local8 = ((_local12 - 1) - _local8);
} else {
_local8 = kc300[(16 - _local5)][0];
_local9 = kc300[(16 - _local5)][1];
_local6 = kc300[(16 - _local5)][2];
_local7 = kc300[(16 - _local5)][3];
};
if (_arg1.sq515 == 1){
if (_arg2 == 1){
var _temp1 = _local10;
_local10 = (_local10 + 1);
var _local13 = _temp1;
_arg1.gd666[_local13] = _arg1.ct570[_local9][_local8].x;
var _temp2 = _local10;
_local10 = (_local10 + 1);
var _local14 = _temp2;
_arg1.gd666[_local14] = _arg1.ct570[_local9][_local8].y;
_local10++;
var _temp3 = _local10;
_local10 = (_local10 + 1);
var _local15 = _temp3;
_arg1.gd666[_local15] = _arg1.nh567[_local7][_local6].x;
var _temp4 = _local10;
_local10 = (_local10 + 1);
var _local16 = _temp4;
_arg1.gd666[_local16] = _arg1.nh567[_local7][_local6].y;
_local10++;
var _temp5 = _local11;
_local11 = (_local11 + 1);
var _local17 = _temp5;
_arg1.nq669[_local17] = _arg1.ct570[_local9][_local8].s;
var _temp6 = _local11;
_local11 = (_local11 + 1);
var _local18 = _temp6;
_arg1.nq669[_local18] = _arg1.ct570[_local9][_local8].t;
var _temp7 = _local11;
_local11 = (_local11 + 1);
var _local19 = _temp7;
_arg1.nq669[_local19] = _arg1.yj565[_local7][_local6].s;
var _temp8 = _local11;
_local11 = (_local11 + 1);
var _local20 = _temp8;
_arg1.nq669[_local20] = _arg1.yj565[_local7][_local6].t;
} else {
var _temp9 = _local10;
_local10 = (_local10 + 1);
_local13 = _temp9;
_arg1.gd666[_local13] = _arg1.nh567[_local7][_local6].x;
var _temp10 = _local10;
_local10 = (_local10 + 1);
_local14 = _temp10;
_arg1.gd666[_local14] = _arg1.nh567[_local7][_local6].y;
_local10++;
var _temp11 = _local10;
_local10 = (_local10 + 1);
_local15 = _temp11;
_arg1.gd666[_local15] = _arg1.ct570[_local9][_local8].x;
var _temp12 = _local10;
_local10 = (_local10 + 1);
_local16 = _temp12;
_arg1.gd666[_local16] = _arg1.ct570[_local9][_local8].y;
_local10++;
var _temp13 = _local11;
_local11 = (_local11 + 1);
_local17 = _temp13;
_arg1.nq669[_local17] = _arg1.yj565[_local7][_local6].s;
var _temp14 = _local11;
_local11 = (_local11 + 1);
_local18 = _temp14;
_arg1.nq669[_local18] = _arg1.yj565[_local7][_local6].t;
var _temp15 = _local11;
_local11 = (_local11 + 1);
_local19 = _temp15;
_arg1.nq669[_local19] = _arg1.ct570[_local9][_local8].s;
var _temp16 = _local11;
_local11 = (_local11 + 1);
_local20 = _temp16;
_arg1.nq669[_local20] = _arg1.ct570[_local9][_local8].t;
};
} else {
if (_arg2 == 1){
var _temp17 = _local10;
_local10 = (_local10 + 1);
_local13 = _temp17;
_arg1.mh665[_local13] = _arg1.ct570[_local9][_local8].x;
var _temp18 = _local10;
_local10 = (_local10 + 1);
_local14 = _temp18;
_arg1.mh665[_local14] = _arg1.ct570[_local9][_local8].y;
_local10++;
var _temp19 = _local10;
_local10 = (_local10 + 1);
_local15 = _temp19;
_arg1.mh665[_local15] = _arg1.nh567[_local7][_local6].x;
var _temp20 = _local10;
_local10 = (_local10 + 1);
_local16 = _temp20;
_arg1.mh665[_local16] = _arg1.nh567[_local7][_local6].y;
_local10++;
var _temp21 = _local11;
_local11 = (_local11 + 1);
_local17 = _temp21;
_arg1.ph668[_local17] = _arg1.ct570[_local9][_local8].s;
var _temp22 = _local11;
_local11 = (_local11 + 1);
_local18 = _temp22;
_arg1.ph668[_local18] = _arg1.ct570[_local9][_local8].t;
var _temp23 = _local11;
_local11 = (_local11 + 1);
_local19 = _temp23;
_arg1.ph668[_local19] = _arg1.yj565[_local7][_local6].s;
var _temp24 = _local11;
_local11 = (_local11 + 1);
_local20 = _temp24;
_arg1.ph668[_local20] = _arg1.yj565[_local7][_local6].t;
} else {
var _temp25 = _local10;
_local10 = (_local10 + 1);
_local13 = _temp25;
_arg1.mh665[_local13] = _arg1.nh567[_local7][_local6].x;
var _temp26 = _local10;
_local10 = (_local10 + 1);
_local14 = _temp26;
_arg1.mh665[_local14] = _arg1.nh567[_local7][_local6].y;
_local10++;
var _temp27 = _local10;
_local10 = (_local10 + 1);
_local15 = _temp27;
_arg1.mh665[_local15] = _arg1.ct570[_local9][_local8].x;
var _temp28 = _local10;
_local10 = (_local10 + 1);
_local16 = _temp28;
_arg1.mh665[_local16] = _arg1.ct570[_local9][_local8].y;
_local10++;
var _temp29 = _local11;
_local11 = (_local11 + 1);
_local17 = _temp29;
_arg1.ph668[_local17] = _arg1.yj565[_local7][_local6].s;
var _temp30 = _local11;
_local11 = (_local11 + 1);
_local18 = _temp30;
_arg1.ph668[_local18] = _arg1.yj565[_local7][_local6].t;
var _temp31 = _local11;
_local11 = (_local11 + 1);
_local19 = _temp31;
_arg1.ph668[_local19] = _arg1.ct570[_local9][_local8].s;
var _temp32 = _local11;
_local11 = (_local11 + 1);
_local20 = _temp32;
_arg1.ph668[_local20] = _arg1.ct570[_local9][_local8].t;
};
};
_local5++;
};
} else {
_local5 = 0;
while (_local5 < 17) {
if (_arg2 == 1){
_local8 = kc300[_local5][0];
_local9 = kc300[_local5][1];
_local6 = kc300[_local5][2];
_local7 = kc300[_local5][3];
_local6 = (10 - _local6);
_local8 = ((_local12 - 1) - _local8);
} else {
_local8 = kc300[(16 - _local5)][0];
_local9 = kc300[(16 - _local5)][1];
_local6 = kc300[(16 - _local5)][2];
_local7 = kc300[(16 - _local5)][3];
};
if (_arg1.sq515 == 1){
if (_arg2 == 1){
var _temp33 = _local10;
_local10 = (_local10 + 1);
_local13 = _temp33;
_arg1.gv819[_local13] = _arg1.ct570[_local9][_local8].x;
var _temp34 = _local10;
_local10 = (_local10 + 1);
_local14 = _temp34;
_arg1.gv819[_local14] = _arg1.ct570[_local9][_local8].y;
_local10++;
var _temp35 = _local10;
_local10 = (_local10 + 1);
_local15 = _temp35;
_arg1.gv819[_local15] = _arg1.nh567[_local7][_local6].x;
var _temp36 = _local10;
_local10 = (_local10 + 1);
_local16 = _temp36;
_arg1.gv819[_local16] = _arg1.nh567[_local7][_local6].y;
_local10++;
var _temp37 = _local11;
_local11 = (_local11 + 1);
_local17 = _temp37;
_arg1.em822[_local17] = _arg1.ct570[_local9][_local8].s;
var _temp38 = _local11;
_local11 = (_local11 + 1);
_local18 = _temp38;
_arg1.em822[_local18] = _arg1.ct570[_local9][_local8].t;
var _temp39 = _local11;
_local11 = (_local11 + 1);
_local19 = _temp39;
_arg1.em822[_local19] = _arg1.yj565[_local7][_local6].s;
var _temp40 = _local11;
_local11 = (_local11 + 1);
_local20 = _temp40;
_arg1.em822[_local20] = _arg1.yj565[_local7][_local6].t;
} else {
var _temp41 = _local10;
_local10 = (_local10 + 1);
_local13 = _temp41;
_arg1.gv819[_local13] = _arg1.nh567[_local7][_local6].x;
var _temp42 = _local10;
_local10 = (_local10 + 1);
_local14 = _temp42;
_arg1.gv819[_local14] = _arg1.nh567[_local7][_local6].y;
_local10++;
var _temp43 = _local10;
_local10 = (_local10 + 1);
_local15 = _temp43;
_arg1.gv819[_local15] = _arg1.ct570[_local9][_local8].x;
var _temp44 = _local10;
_local10 = (_local10 + 1);
_local16 = _temp44;
_arg1.gv819[_local16] = _arg1.ct570[_local9][_local8].y;
_local10++;
var _temp45 = _local11;
_local11 = (_local11 + 1);
_local17 = _temp45;
_arg1.em822[_local17] = _arg1.yj565[_local7][_local6].s;
var _temp46 = _local11;
_local11 = (_local11 + 1);
_local18 = _temp46;
_arg1.em822[_local18] = _arg1.yj565[_local7][_local6].t;
var _temp47 = _local11;
_local11 = (_local11 + 1);
_local19 = _temp47;
_arg1.em822[_local19] = _arg1.ct570[_local9][_local8].s;
var _temp48 = _local11;
_local11 = (_local11 + 1);
_local20 = _temp48;
_arg1.em822[_local20] = _arg1.ct570[_local9][_local8].t;
};
} else {
if (_arg2 == 1){
var _temp49 = _local10;
_local10 = (_local10 + 1);
_local13 = _temp49;
_arg1.ds818[_local13] = _arg1.ct570[_local9][_local8].x;
var _temp50 = _local10;
_local10 = (_local10 + 1);
_local14 = _temp50;
_arg1.ds818[_local14] = _arg1.ct570[_local9][_local8].y;
_local10++;
var _temp51 = _local10;
_local10 = (_local10 + 1);
_local15 = _temp51;
_arg1.ds818[_local15] = _arg1.nh567[_local7][_local6].x;
var _temp52 = _local10;
_local10 = (_local10 + 1);
_local16 = _temp52;
_arg1.ds818[_local16] = _arg1.nh567[_local7][_local6].y;
_local10++;
var _temp53 = _local11;
_local11 = (_local11 + 1);
_local17 = _temp53;
_arg1.en821[_local17] = _arg1.ct570[_local9][_local8].s;
var _temp54 = _local11;
_local11 = (_local11 + 1);
_local18 = _temp54;
_arg1.en821[_local18] = _arg1.ct570[_local9][_local8].t;
var _temp55 = _local11;
_local11 = (_local11 + 1);
_local19 = _temp55;
_arg1.en821[_local19] = _arg1.yj565[_local7][_local6].s;
var _temp56 = _local11;
_local11 = (_local11 + 1);
_local20 = _temp56;
_arg1.en821[_local20] = _arg1.yj565[_local7][_local6].t;
} else {
var _temp57 = _local10;
_local10 = (_local10 + 1);
_local13 = _temp57;
_arg1.ds818[_local13] = _arg1.nh567[_local7][_local6].x;
var _temp58 = _local10;
_local10 = (_local10 + 1);
_local14 = _temp58;
_arg1.ds818[_local14] = _arg1.nh567[_local7][_local6].y;
_local10++;
var _temp59 = _local10;
_local10 = (_local10 + 1);
_local15 = _temp59;
_arg1.ds818[_local15] = _arg1.ct570[_local9][_local8].x;
var _temp60 = _local10;
_local10 = (_local10 + 1);
_local16 = _temp60;
_arg1.ds818[_local16] = _arg1.ct570[_local9][_local8].y;
_local10++;
var _temp61 = _local11;
_local11 = (_local11 + 1);
_local17 = _temp61;
_arg1.en821[_local17] = _arg1.yj565[_local7][_local6].s;
var _temp62 = _local11;
_local11 = (_local11 + 1);
_local18 = _temp62;
_arg1.en821[_local18] = _arg1.yj565[_local7][_local6].t;
var _temp63 = _local11;
_local11 = (_local11 + 1);
_local19 = _temp63;
_arg1.en821[_local19] = _arg1.ct570[_local9][_local8].s;
var _temp64 = _local11;
_local11 = (_local11 + 1);
_local20 = _temp64;
_arg1.en821[_local20] = _arg1.ct570[_local9][_local8].t;
};
};
_local5++;
};
};
}
}
}//package mpPackage
Section 18
//MPFace (mpPackage.MPFace)
package mpPackage {
import flash.display.*;
import mp3D.*;
public class MPFace extends Sprite {
public var ju760:Array;
public var gf535:Number;
public var ll555:Array;
public var jm803:VertexArray;
public var js590:Array;
public var ty604:int;
public var eo510:Number;
public var tv589:Array;
public var td719:Array;
public var kk679:VertexArray;
public var sy817:Array;
public var os600:int;
public var au630:int;
public var dy635:int;
public var ng729:Array;
public var to726:VertexBuffer;
public var dd743:Array;
public var xr687:VertexBuffer;
public var ph668:Array;
public var me516:Boolean;// = true
public var bb727:Array;
public var np780:VertexArray;
public var lf802:Array;
public var cl676:Array;
public var pr576:Number;
public var ih599:int;
public var zw744:Array;
public var ld631:int;
public var hs558:Array;
public var kn505:Array;
public var au661:int;
public var ne578:Number;
public var to517:Array;
public var cc634:int;
public var wj703:Array;
public var uz550:Number;
public var hs568:Array;
public var zc717:TriangleStripArray;
public var nq669:Array;
public var up653:int;
public var ce828:Array;
public var qw848:TriangleStripArray;
public var wt858:VertexBuffer;
public var ib839:VertexBuffer;
public var fg652:int;
public var tp625:int;
public var ja559:Array;
public var fq563:Array;
public var hr497:Number;
public var yj565:Array;
public var lo656:int;
public var gv819:Array;
public var wd187:Array;
public var rx745:Array;
public var ld680:VertexArray;
public var rc632:int;
public var vg677:VertexArray;
public var oj868:int;
public var fu701:TriangleStripArray;
public var eg641:int;
public var cd532:Number;
public var sm585:Number;// = -0.7
public var zm660:int;
public var ot776:Array;
public var ac606:int;
public var wk601:int;
public var rc644:int;
public var lq866:int;
public var bc657:int;
public var ur646:int;
public var bn651:int;
public var xk659:int;
public var jl594:Array;
public var fi642:int;
public var rm564:Array;
public var df539:Number;
public var gk860:int;
public var wh595:Array;
public var bz746:Array;
public var te683:TriangleStripArray;
public var iw791:Array;
public var gi690:int;
public var blinkL1:Number;
public var xm855:VertexArray;
public var df794:Array;
public var gl734:VertexBuffer;
public var ur672:Array;
public var wb823:Array;
public var xx857:TriangleStripArray;
public var gb838:TriangleStripArray;
public var cc495:Number;
public var ox705:Array;
public var ni792:Array;
public var oj684:TriangleStripArray;
public var ol863:int;
public var sq515:int;// = 1
public var iw580:int;// = 1
public var mh665:Array;
public var qx793:Array;
public var yd864:int;
public var kp799:Array;
public var mh671:Array;
public var sq763:VertexArray;
public var bf737:Array;
public var yy525:Number;
public var am573:Array;
public var sf779:VertexArray;
public var re648:int;
public var px520:Number;
public var qy655:int;
public var sq770:Array;
public var ww513:Number;
public var if825:Array;
public var zr700:VertexArray;
public var gw761:Array;
public var ac681:VertexArray;
public var mv716:VertexArray;
public var ae627:int;
public var ob750:VertexBuffer;
public var vv637:int;
public var fu554:int;// = 18
public var yp739:VertexArray;
public var jz689:int;
public var on834:VertexArray;
public var ac694:int;
public var fj566:Array;
public var nv521:Number;
public var tk804:VertexArray;
public var blinkR1:Number;
public var if602:int;
public var kg537:Number;
public var dr697:Array;
public var fx836:TriangleStripArray;
public var jp795:VertexArray;
public var qy688:VertexBuffer;
public var sq569:FaceANIM;
public var mk735:Array;
public var nv786:Array;
public var hy785:Array;
public var gm663:Array;
public var pz514:int;// = 0
public var em822:Array;
public var fl777:Array;
public var ip538:Number;
public var xx695:Array;
public var vy706:Array;
public var jh615:int;
public var go612:int;
public var wl583:Number;// = 0
public var jh626:int;
public var nm759:Array;
public var wz610:int;
public var nm526:Number;
public var ao592:Array;
public var nd713:Array;
public var sk829:Array;
public var ae696:Array;
public var mv548:Number;
public var dm815:Array;
public var op842:Array;
public var jg553:Number;
public var kj623:int;
public var he774:VertexBuffer;
public var np800:Array;
public var fy507:Appearance;
public var nv597:int;
public var bi862:int;
public var fc764:VertexArray;
public var du557:Array;
public var wy551:Number;
public var gp504:MPEngine;
public var on686:VertexBuffer;
public var gd666:Array;
public var od540:Number;
public var ge518:Number;
public var sj767:Array;
public var ReyeB:Number;
public var ri638:int;
public var xg736:Array;
public var ReyeG:Number;
public var ReyeR:Number;
public var ji522:Number;
public var yp596:Array;
private var sk869:Sprite;
public var gy579:Number;
public var ku650:int;
public var hs831:VertexArray;
public var tw751:Array;
public var or824:Array;
public var cu781:TriangleStripArray;
public var nf707:VertexArray;
public var vd643:int;
public var tx850:Array;
public var zoom:Number;
public var ea586:Array;
public var hs608:int;
public var ea587:Array;
public var fp506:Appearance;
public var au718:VertexBuffer;
public var sm832:VertexArray;
public var iu845:Array;
public var nn692:int;
public var cl757:TriangleStripArray;
public var lm769:Array;
public var vq841:VertexBuffer;
public var wp796:VertexArray;
public var uq805:TriangleStripArray;
public var kx721:Array;
public var wh837:TriangleStripArray;
public var cj582:int;// = 0
public var ll682:VertexArray;
public var tl561:Array;
public var ps519:Number;
public var xt725:TriangleStripArray;
public var wq658:int;
public var mz758:VertexBuffer;
public var ru783:Array;
public var fq628:int;
public var oq546:Number;
public var lp813:TriangleStripArray;
public var sm624:int;
public var cc720:Array;
public var nf754:Array;
public var za629:int;
public var ka670:Array;
public var rl748:VertexArray;
public var mz536:Number;
public var dz851:Array;
public var aa722:Array;
public var km527:Number;
public var wr533:Number;
public var pj731:VertexArray;
public var hk708:VertexArray;
public var xg581:int;// = 0
public var rw512:Number;
public var up523:Number;
public var dx699:VertexArray;
public var eq620:int;
public var gr790:VertexBuffer;
public var hj633:int;
public var mq747:VertexArray;
public var hi547:Number;
public var qu789:TriangleStripArray;
public var se702:VertexBuffer;
public var ru598:int;
public var dc574:Array;
public var ce710:VertexBuffer;
public var gi753:Array;
public var km562:Array;
public var ab840:VertexBuffer;
public var bl798:VertexBuffer;
public var gr584:Number;// = -1
public var al524:Number;
public var gj621:int;
public var eh849:VertexBuffer;
public var pm811:VertexArray;
public var xv749:TriangleStripArray;
public var ni618:int;
public var rc756:VertexArray;
public var ht577:Number;
public var cp738:Array;
public var pu545:Number;
public var nt854:Array;
public var fi509:int;
public var ni865:int;
public var uh617:int;
public var ds818:Array;
public var ov844:Array;
public var jo733:TriangleStripArray;
public var zw693:int;
public var lg859:int;
public var nr691:int;
public var qw543:Number;
public var rw588:Array;
public var wa835:VertexArray;
public var jb575:Array;
public var om807:Array;
public var qc741:TriangleStripArray;
public var dh605:int;
public var hb742:VertexBuffer;
public var nh567:Array;
public var se531:Number;
public var yd723:VertexArray;
public var te572:Array;
public var mt611:int;
public var ga616:int;
public var jb591:Array;
public var cp773:TriangleStripArray;
public var pd816:Array;
public var cp788:VertexArray;
public var ac534:Number;
public var pz806:VertexBuffer;
public var vu639:int;
public var ro654:int;
public var na711:Array;
public var ad867:int;
public var vi552:Number;
public var wn808:Array;
public var hx752:Array;
private var kd352:Array;
public var cg508:int;// = 0
public var nu528:Number;
public var uj852:Array;
public var vv730:Array;
public var hm772:VertexArray;
private var ot248:Renderer;
public var wu698:Array;
public var ol768:Array;
public var mk830:VertexArray;
public var qd647:int;
public var rz678:VertexArray;
public var kt812:VertexArray;
public var lh530:Number;
public var lt614:int;
public var ss846:VertexArray;
public var vh496:Number;
public var rf636:int;
public var vk529:Number;
public var ls775:Array;
public var LeyeB:Number;
public var st709:TriangleStripArray;
public var LeyeG:Number;
public var tx:Number;
public var ty:Number;
public var qf847:VertexArray;
public var wb762:Array;
public var fw622:int;
public var LeyeR:Number;
public var qf843:Array;
public var sg771:VertexArray;
public var hc664:Array;
public var wy607:int;
public var pc784:Array;
public var ye640:int;
public var fv549:int;
public var mj542:Number;
public var su826:Array;
public var rf674:Array;
public var yd571:Number;
public var zs724:VertexArray;
public var yg603:int;
public var go732:VertexArray;
public var vn833:VertexArray;
public var bg778:Array;
public var fa675:Array;
public var um712:Array;
public var qh827:Array;
public var om685:TriangleStripArray;
public var fd715:VertexArray;
public var lm809:Array;
public var ge609:int;
public var bu810:Array;
public var io593:Array;
public var en821:Array;
public var iq544:Number;
public var tb704:Array;
public var nm667:Array;
public var tl853:Array;
public var yg645:int;
public var fp820:Array;
public var fb560:int;
public var dx714:Array;
public var zh787:VertexArray;
public var kt673:Array;
public var ub766:VertexBuffer;
public var ck740:VertexArray;
public var nz613:int;
public var gq728:Array;
public var hr619:int;
public var zs782:VertexBuffer;
public var ee801:Array;
public var da649:int;
public var tn814:VertexBuffer;
public var rj856:VertexArray;
public var kj541:Number;
public var sj662:Array;
public var ct570:Array;
public var ih765:TriangleStripArray;
public var kj556:Array;
public var gf755:VertexArray;
public var xf797:TriangleStripArray;
public var yt861:int;
public var wq511:Number;
public function MPFace(_arg1:Sprite){
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:int;
kn505 = new Array(0x0100);
cg508 = 0;
pz514 = 0;
sq515 = 1;
me516 = true;
fu554 = 18;
tl561 = new Array();
km562 = new Array();
fq563 = new Array();
rm564 = new Array();
sq569 = new FaceANIM();
wd187 = new Array();
te572 = new Array();
am573 = new Array();
dc574 = new Array();
jb575 = new Array();
iw580 = 1;
xg581 = 0;
cj582 = 0;
wl583 = 0;
gr584 = -1;
sm585 = -0.7;
yp596 = new Array(16);
sj662 = new Array();
gm663 = new Array();
hc664 = new Array();
mh665 = new Array();
gd666 = new Array();
nm667 = new Array();
ph668 = new Array();
nq669 = new Array();
ka670 = new Array();
mh671 = new Array();
ur672 = new Array();
kt673 = new Array();
rf674 = new Array();
fa675 = new Array();
cl676 = new Array();
on686 = new VertexBuffer();
xr687 = new VertexBuffer();
qy688 = new VertexBuffer();
xx695 = new Array();
ae696 = new Array();
dr697 = new Array();
wu698 = new Array();
wj703 = new Array();
tb704 = new Array();
ox705 = new Array();
vy706 = new Array();
na711 = new Array();
um712 = new Array();
nd713 = new Array();
dx714 = new Array();
td719 = new Array();
cc720 = new Array();
kx721 = new Array();
aa722 = new Array();
bb727 = new Array();
gq728 = new Array();
ng729 = new Array();
vv730 = new Array();
mk735 = new Array();
xg736 = new Array();
bf737 = new Array();
cp738 = new Array();
dd743 = new Array();
zw744 = new Array();
rx745 = new Array();
bz746 = new Array();
tw751 = new Array();
hx752 = new Array();
gi753 = new Array();
nf754 = new Array();
nm759 = new Array();
ju760 = new Array();
gw761 = new Array();
wb762 = new Array();
sj767 = new Array();
ol768 = new Array();
lm769 = new Array();
sq770 = new Array();
ls775 = new Array();
ot776 = new Array();
fl777 = new Array();
bg778 = new Array();
ru783 = new Array();
pc784 = new Array();
hy785 = new Array();
nv786 = new Array();
iw791 = new Array();
ni792 = new Array();
qx793 = new Array();
df794 = new Array();
kp799 = new Array();
np800 = new Array();
ee801 = new Array();
lf802 = new Array();
om807 = new Array();
wn808 = new Array();
lm809 = new Array();
bu810 = new Array();
dm815 = new Array();
pd816 = new Array();
sy817 = new Array();
ds818 = new Array();
gv819 = new Array();
fp820 = new Array();
en821 = new Array();
em822 = new Array();
wb823 = new Array();
or824 = new Array();
if825 = new Array();
su826 = new Array();
qh827 = new Array();
ce828 = new Array();
sk829 = new Array();
ib839 = new VertexBuffer();
ab840 = new VertexBuffer();
vq841 = new VertexBuffer();
op842 = new Array();
qf843 = new Array();
ov844 = new Array();
iu845 = new Array();
eh849 = new VertexBuffer();
tx850 = new Array();
dz851 = new Array();
uj852 = new Array();
tl853 = new Array();
nt854 = new Array();
wt858 = new VertexBuffer();
ot248 = new Renderer();
kd352 = new Array(3);
super();
sk869 = _arg1;
to517 = new Array(MPCONST.sv217);
_local2 = 0;
while (_local2 < MPCONST.sv217) {
to517[_local2] = new FaceANIM();
_local2++;
};
hs558 = new Array(MPCONST.wk223);
_local2 = 0;
while (_local2 < MPCONST.wk223) {
hs558[_local2] = new ParaEdit();
hs558[_local2].x = new Array(MPCONST.ji224);
hs558[_local2].y = new Array(MPCONST.ji224);
_local2++;
};
_local4 = 32;
ja559 = new Array(2);
_local2 = 0;
while (_local2 < 2) {
ja559[_local2] = new Array(_local4);
_local3 = 0;
while (_local3 < _local4) {
ja559[_local2][_local3] = new EyeFine();
_local3++;
};
_local2++;
};
hs568 = new Array(MPCONST.sv217);
_local2 = 0;
while (_local2 < MPCONST.sv217) {
hs568[_local2] = new Array((MPCONST.zm220 + 1));
_local3 = 0;
while (_local3 < (MPCONST.zm220 + 1)) {
hs568[_local2][_local3] = new Array((MPCONST.br219 + 1));
_local10 = 0;
while (_local10 < (MPCONST.br219 + 1)) {
hs568[_local2][_local3][_local10] = new FaceMODI();
_local10++;
};
_local3++;
};
_local2++;
};
_local5 = 32;
ct570 = new Array(_local5);
_local2 = 0;
while (_local2 < _local5) {
ct570[_local2] = new Array(_local5);
_local3 = 0;
while (_local3 < _local5) {
ct570[_local2][_local3] = new EyeMTRX();
_local3++;
};
_local2++;
};
ll555 = new Array(fu554);
kj556 = new Array(fu554);
du557 = new Array(fu554);
_local6 = (MPCONST.br219 + 1);
_local7 = (MPCONST.zm220 + 1);
yj565 = new Array(_local7);
fj566 = new Array(_local7);
nh567 = new Array(_local7);
tv589 = new Array(_local7);
js590 = new Array(_local7);
ao592 = new Array(_local7);
_local2 = 0;
while (_local2 < _local7) {
yj565[_local2] = new Array(_local6);
fj566[_local2] = new Array(_local6);
nh567[_local2] = new Array(_local6);
tv589[_local2] = new Array(_local6);
js590[_local2] = new Array(_local6);
ao592[_local2] = new Array(_local6);
_local3 = 0;
while (_local3 < _local6) {
yj565[_local2][_local3] = new FaceMTRX();
fj566[_local2][_local3] = new FaceMTRX();
nh567[_local2][_local3] = new FaceMTRX();
tv589[_local2][_local3] = (js590[_local2][_local3] = 0);
ao592[_local2][_local3] = 0;
_local3++;
};
_local2++;
};
jb591 = new Array((_local7 - 1));
_local2 = 0;
while (_local2 < (_local7 - 1)) {
jb591[_local2] = new Array((_local6 - 1));
_local3 = 0;
while (_local3 < (_local6 - 1)) {
jb591[_local2][_local3] = 0;
_local3++;
};
_local2++;
};
io593 = new Array(_local7);
_local2 = 0;
while (_local2 < _local7) {
io593[_local2] = new Array(_local6);
_local3 = 0;
while (_local3 < _local6) {
io593[_local2][_local3] = 0;
_local3++;
};
_local2++;
};
_local8 = MPCONST.ru216;
jl594 = new Array(_local8);
wh595 = new Array(_local8);
_local2 = 0;
while (_local2 < _local8) {
jl594[_local2] = new Array(_local8);
wh595[_local2] = new Array(_local8);
_local3 = 0;
while (_local3 < _local8) {
jl594[_local2][_local3] = (wh595[_local2][_local3] = 0);
_local3++;
};
_local2++;
};
_local9 = 101;
ea586 = new Array(_local9);
ea587 = new Array(_local9);
rw588 = new Array(_local9);
this.fp506 = new Appearance(true, true, false, 0, 0);
this.fy507 = new Appearance(false, true, false, 0, 0);
this.cg508 = 0;
sk869.addChild(this);
}
public function p148(_arg1:Array):void{
cc495 = _arg1[0];
vh496 = _arg1[1];
hr497 = _arg1[2];
if (vh496 >= 0){
pz514 = 0;
} else {
pz514 = 1;
};
}
public function e153(_arg1:int):Number{
return (to517[_arg1].gain);
}
public function r145(_arg1:int, _arg2:Number):void{
if (_arg1 == 0){
te572[0] = _arg2;
} else {
dc574[0] = _arg2;
};
}
public function r159(_arg1:Number, _arg2:Number):void{
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Number;
var _local15:Number;
var _local16:Number;
_local9 = 0.42;
_local10 = 0.58;
_local11 = 0.4;
_local12 = 0.6;
_local13 = 0.31;
_local14 = 0.31;
_local15 = 0.53;
_local16 = 0.53;
_local4 = ((_arg2 - _local13) / (_local15 - _local13));
_local5 = (_local9 + ((_local11 - _local9) * _local4));
_local6 = (_local10 + ((_local12 - _local10) * _local4));
_local3 = ((_arg1 - _local5) / (_local6 - _local5));
ac534 = (nm526 + ((nu528 - nm526) * _local4));
_local7 = (lh530 + ((cd532 - lh530) * _local4));
_local8 = (se531 + ((wr533 - se531) * _local4));
gf535 = (_local7 + ((_local8 - _local7) * _local3));
mz536 = ((nu528 - nm526) / (_local15 - _local13));
kg537 = ((_local8 - _local7) / (_local6 - _local5));
}
public function i147(_arg1:int):Number{
if (_arg1 == 0){
return (te572[0]);
};
return (dc574[0]);
}
public function v88():void{
var _local1:int;
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Number;
var _local15:Number;
var _local16:Number;
var _local17:Number;
_local4 = 0;
while (_local4 < MPCONST.sv217) {
_local2 = 0;
while (_local2 <= MPCONST.zm220) {
_local1 = 0;
while (_local1 <= MPCONST.br219) {
_local9 = tv589[_local2][_local1];
_local10 = js590[_local2][_local1];
hs568[_local4][_local2][_local1].lr205 = (hs568[_local4][_local2][_local1].zj206 = 0);
hs568[_local4][_local2][_local1].px207 = (hs568[_local4][_local2][_local1].io208 = 0);
if ((((((((((ao592[_local2][_local1] == 0)) && ((_local2 > 0)))) && ((_local2 < MPCONST.zm220)))) && ((_local1 > 0)))) && ((_local1 < MPCONST.br219)))){
_local3 = 0;
while (_local3 < 16) {
if (to517[_local4].qq204[_local3].gv209 != 0){
_local11 = gp504.o120(_local9, _local10, to517[_local4].qq204[_local3].fq117, to517[_local4].qq204[_local3].mk118, to517[_local4].qq204[_local3].li210, to517[_local4].qq204[_local3].ex211, to517[_local4].qq204[_local3].dz212);
if (to517[_local4].qq204[_local3].gv209 == 1){
hs568[_local4][_local2][_local1].lr205 = (hs568[_local4][_local2][_local1].lr205 + (_local11 * to517[_local4].qq204[_local3].mx));
hs568[_local4][_local2][_local1].zj206 = (hs568[_local4][_local2][_local1].zj206 + (_local11 * to517[_local4].qq204[_local3].my));
hs568[_local4][_local2][_local1].px207 = (hs568[_local4][_local2][_local1].px207 + (_local11 * to517[_local4].qq204[_local3].mx));
hs568[_local4][_local2][_local1].io208 = (hs568[_local4][_local2][_local1].io208 + (_local11 * to517[_local4].qq204[_local3].my));
} else {
if (to517[_local4].qq204[_local3].gv209 == 2){
hs568[_local4][_local2][_local1].lr205 = (hs568[_local4][_local2][_local1].lr205 + (_local11 * to517[_local4].qq204[_local3].mx));
hs568[_local4][_local2][_local1].zj206 = (hs568[_local4][_local2][_local1].zj206 + (_local11 * to517[_local4].qq204[_local3].my));
} else {
hs568[_local4][_local2][_local1].px207 = (hs568[_local4][_local2][_local1].px207 + (_local11 * to517[_local4].qq204[_local3].mx));
hs568[_local4][_local2][_local1].io208 = (hs568[_local4][_local2][_local1].io208 + (_local11 * to517[_local4].qq204[_local3].my));
};
};
};
_local3++;
};
};
if ((((((((_local2 == 0)) || ((_local2 == MPCONST.zm220)))) || ((_local1 == 0)))) || ((_local1 == MPCONST.br219)))){
hs568[_local4][_local2][_local1].lr205 = 0;
hs568[_local4][_local2][_local1].zj206 = 0;
hs568[_local4][_local2][_local1].px207 = 0;
hs568[_local4][_local2][_local1].io208 = 0;
};
_local1++;
};
_local2++;
};
_local4++;
};
_local2 = 0;
while (_local2 <= MPCONST.zm220) {
_local1 = 0;
while (_local1 <= MPCONST.br219) {
_local9 = tv589[_local2][_local1];
_local10 = js590[_local2][_local1];
_local16 = ((MPCONST.ru216 - 1) * _local9);
_local17 = ((MPCONST.ru216 - 1) * _local10);
_local5 = int(_local16);
_local6 = int(_local17);
_local7 = (_local5 + 1);
_local8 = (_local6 + 1);
if (_local5 < 0){
_local5 = 0;
} else {
if (_local5 >= MPCONST.ru216){
_local5 = (MPCONST.ru216 - 1);
};
};
if (_local6 < 0){
_local6 = 0;
} else {
if (_local6 >= MPCONST.ru216){
_local6 = (MPCONST.ru216 - 1);
};
};
if (_local7 < 0){
_local7 = 0;
} else {
if (_local7 >= MPCONST.ru216){
_local7 = (MPCONST.ru216 - 1);
};
};
if (_local8 < 0){
_local8 = 0;
} else {
if (_local8 >= MPCONST.ru216){
_local8 = (MPCONST.ru216 - 1);
};
};
_local16 = (_local16 - Number(_local5));
_local17 = (_local17 - Number(_local6));
_local12 = ((1 - _local16) * (1 - _local17));
_local13 = (_local16 * (1 - _local17));
_local14 = ((1 - _local16) * _local17);
_local15 = (_local16 * _local17);
yj565[_local2][_local1].x = (fj566[_local2][_local1].x = _local9);
yj565[_local2][_local1].y = (fj566[_local2][_local1].y = _local10);
yj565[_local2][_local1].s = (fj566[_local2][_local1].s = _local9);
yj565[_local2][_local1].t = (fj566[_local2][_local1].t = _local10);
yj565[_local2][_local1].z = (fj566[_local2][_local1].z = ((((2 * MPCONST.le225) * ((((_local12 * Number(jl594[_local6][_local5])) + (_local13 * Number(jl594[_local6][_local7]))) + (_local14 * Number(jl594[_local8][_local5]))) + (_local15 * Number(jl594[_local8][_local7])))) / 0xFF) - MPCONST.le225));
yj565[_local2][_local1].fact = (fj566[_local2][_local1].fact = (((((_local12 * Number(wh595[_local6][_local5])) + (_local13 * Number(wh595[_local6][_local7]))) + (_local14 * Number(wh595[_local8][_local5]))) + (_local15 * Number(wh595[_local8][_local7]))) / 0xFF));
_local1++;
};
_local2++;
};
wl583 = 0.5;
gr584 = 0.25;
sm585 = (-(MPCONST.le225) * 0.8);
r159(wl583, gr584);
wl583 = gf535;
gr584 = ac534;
}
public function v144(_arg1:int, _arg2:Array):void{
if (_arg1 == 0){
_arg2[0] = pr576;
_arg2[1] = ht577;
} else {
_arg2[0] = ne578;
_arg2[1] = gy579;
};
}
public function v146(_arg1:int, _arg2:Array):void{
var _local3:int;
if (_arg1 == 0){
_local3 = 0;
while (_local3 < 4) {
te572[_local3] = _arg2[_local3];
_local3++;
};
} else {
_local3 = 0;
while (_local3 < 4) {
dc574[_local3] = _arg2[_local3];
_local3++;
};
};
}
public function m151(_arg1:Array):void{
_arg1[0] = tx;
_arg1[1] = ty;
_arg1[2] = yd571;
}
public function p55():void{
kd352[0] = ((-0.5 * zoom) + wd187[0]);
kd352[1] = ((-0.5 * zoom) + wd187[1]);
kd352[2] = wd187[2];
dx699.v41(ih599, xx695);
zr700.v41(ih599, ae696);
se702.j46(dx699, zoom, kd352);
ot248.f38(fp506);
ot248.z40(se702, fu701, graphics);
nf707.v41(wk601, wj703);
hk708.v41(wk601, tb704);
ce710.j46(nf707, zoom, kd352);
ot248.f38(fp506);
ot248.z40(ce710, st709, graphics);
if (fi509 != 2){
fd715.v41(yg603, na711);
mv716.v41(yg603, um712);
au718.j46(fd715, zoom, kd352);
ot248.f38(fp506);
ot248.z40(au718, zc717, graphics);
};
pj731.v41(dh605, bb727);
go732.v41(dh605, gq728);
gl734.j46(pj731, zoom, kd352);
ot248.f38(fp506);
ot248.z40(gl734, jo733, graphics);
if (fi509 == 2){
sf779.v41(wy607, ls775);
np780.v41(wy607, ot776);
zs782.j46(sf779, zoom, kd352);
ot248.f38(fp506);
ot248.z40(zs782, cu781, graphics);
};
mq747.v41(ge609, dd743);
rl748.v41(ge609, zw744);
ob750.j46(mq747, zoom, kd352);
ot248.f38(fp506);
ot248.z40(ob750, xv749, graphics);
yd723.v41(mt611, td719);
zs724.v41(mt611, cc720);
to726.j46(yd723, zoom, kd352);
ot248.f38(fp506);
ot248.z40(to726, xt725, graphics);
if (fi509 == 2){
sg771.v41(nz613, sj767);
hm772.v41(nz613, ol768);
he774.j46(sg771, zoom, kd352);
ot248.f38(fp506);
ot248.z40(he774, cp773, graphics);
};
yp739.v41(jh615, mk735);
ck740.v41(jh615, xg736);
hb742.j46(yp739, zoom, kd352);
ot248.f38(fp506);
ot248.z40(hb742, qc741, graphics);
if (this.fi509 != 2){
sq763.v41(uh617, nm759);
fc764.v41(uh617, ju760);
ub766.j46(sq763, zoom, kd352);
ot248.f38(fp506);
ot248.o39(ub766, ih765, graphics);
gf755.v41(gj621, tw751);
rc756.v41(gj621, hx752);
mz758.j46(gf755, zoom, kd352);
ot248.f38(fp506);
ot248.o39(mz758, cl757, graphics);
};
jp795.v41(hr619, iw791);
wp796.v41(hr619, ni792);
bl798.j46(jp795, zoom, kd352);
ot248.f38(fp506);
ot248.o39(bl798, xf797, graphics);
zh787.v41(kj623, ru783);
cp788.v41(kj623, pc784);
gr790.j46(zh787, zoom, kd352);
ot248.f38(fp506);
ot248.o39(gr790, qu789, graphics);
if (pz514 == 0){
vg677.v41((lg859 / 3), mh665);
ld680.v41((gk860 / 2), ph668);
on686.j46(vg677, zoom, kd352);
on686.t44(4294967295);
ot248.f38(fp506);
ot248.o39(on686, te683, graphics);
rz678.v41((ni865 / 3), gd666);
ac681.v41((lq866 / 2), nq669);
xr687.j46(rz678, zoom, kd352);
xr687.t44(4294967295);
ot248.f38(fy507);
ot248.o39(xr687, oj684, graphics);
kk679.v41((nm667.length / 3), nm667);
ll682.v41((ka670.length / 2), ka670);
qy688.j46(kk679, zoom, kd352);
qy688.t44(4294967295);
qy688.p47(ll682, 1, null);
ot248.f38(fp506);
ot248.o39(qy688, om685, graphics);
} else {
mk830.v41((yt861 / 3), ds818);
vn833.v41((bi862 / 2), en821);
ib839.j46(mk830, zoom, kd352);
ib839.t44(4294967295);
ot248.f38(fp506);
ot248.o39(ib839, fx836, graphics);
hs831.v41((ad867 / 3), gv819);
on834.v41((oj868 / 2), em822);
ab840.j46(hs831, zoom, kd352);
ab840.t44(4294967295);
ot248.f38(fy507);
ot248.o39(ab840, wh837, graphics);
sm832.v41((fp820.length / 3), fp820);
wa835.v41((wb823.length / 2), wb823);
vq841.j46(sm832, zoom, kd352);
vq841.t44(4294967295);
vq841.p47(wa835, 1, null);
ot248.f38(fp506);
ot248.o39(vq841, gb838, graphics);
};
if (fi509 == 2){
if (cg508 == 1){
xm855.v41((ol863 / 3), dz851);
rj856.v41((yd864 / 2), uj852);
wt858.j46(xm855, zoom, kd352);
wt858.t44(4294967295);
ot248.f38(fp506);
ot248.o39(wt858, xx857, graphics);
};
pm811.v41(dy635, om807);
kt812.v41(dy635, wn808);
tn814.j46(pm811, zoom, kd352);
ot248.f38(fp506);
ot248.o39(tn814, lp813, graphics);
jm803.v41(vv637, kp799);
tk804.v41(vv637, np800);
pz806.j46(jm803, zoom, kd352);
ot248.f38(fp506);
ot248.o39(pz806, uq805, graphics);
};
}
public function q158(_arg1:Number, _arg2:Number):void{
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
_local4 = ((_arg2 - ge518) / (px520 - ge518));
_local5 = (ji522 + ((al524 - ji522) * _local4));
_local6 = (up523 + ((yy525 - up523) * _local4));
_local3 = ((_arg1 - _local5) / (_local6 - _local5));
ac534 = (nm526 + ((nu528 - nm526) * _local4));
_local7 = (lh530 + ((cd532 - lh530) * _local4));
_local8 = (se531 + ((wr533 - se531) * _local4));
gf535 = (_local7 + ((_local8 - _local7) * _local3));
mz536 = ((nu528 - nm526) / (px520 - ge518));
kg537 = ((_local8 - _local7) / (_local6 - _local5));
}
public function q156():void{
this.sq569.qq204[0].fq117 = ((this.hs558[1].x[0] + this.hs558[1].x[3]) * 0.5);
this.sq569.qq204[0].mk118 = ((((this.hs558[1].y[1] + this.hs558[1].y[2]) + this.hs558[1].y[4]) + this.hs558[1].y[5]) * 0.25);
}
public function s107():void{
var _local1:int;
var _local2:int;
var _local3:Number;
var _local4:Number;
if (this.fi509 != 2){
_local2 = 3;
lh530 = hs558[_local2].x[0];
nm526 = hs558[_local2].y[0];
se531 = hs558[_local2].x[(hs558[_local2].wi382 - 1)];
km527 = hs558[_local2].y[(hs558[_local2].wi382 - 1)];
_local2 = 1;
_local4 = 0;
_local3 = _local4;
_local1 = 0;
while (_local1 < hs558[_local2].wi382) {
_local3 = (_local3 + hs558[_local2].x[_local1]);
_local4 = (_local4 + hs558[_local2].y[_local1]);
_local1++;
};
wr533 = (_local3 / Number(hs558[_local2].wi382));
vk529 = (_local4 / Number(hs558[_local2].wi382));
_local2 = 2;
_local4 = 0;
_local3 = _local4;
_local1 = 0;
while (_local1 < hs558[_local2].wi382) {
_local3 = (_local3 + hs558[_local2].x[_local1]);
_local4 = (_local4 + hs558[_local2].y[_local1]);
_local1++;
};
cd532 = (_local3 / Number(hs558[_local2].wi382));
nu528 = (_local4 / Number(hs558[_local2].wi382));
} else {
_local2 = 10;
lh530 = hs558[_local2].x[4];
nm526 = hs558[_local2].y[4];
se531 = hs558[_local2].x[5];
km527 = hs558[_local2].y[5];
cd532 = hs558[_local2].x[0];
nu528 = hs558[_local2].y[0];
wr533 = hs558[_local2].x[1];
vk529 = hs558[_local2].y[1];
};
}
public function q160():void{
}
public function h154(_arg1:Number):void{
zoom = _arg1;
}
public function j143(_arg1:int, _arg2:Array):void{
if (_arg1 == 0){
pr576 = _arg2[0];
ht577 = _arg2[1];
q156();
sq569.qq204[0].mx = (0.3 * pr576);
sq569.qq204[0].my = (0.3 * ht577);
sq569.qq204[0].li210 = (mj542 * 26);
sq569.qq204[0].ex211 = (mj542 * 26);
sq569.qq204[0].dz212 = 0;
} else {
ne578 = _arg2[0];
gy579 = _arg2[1];
n157();
sq569.qq204[1].mx = (0.3 * ne578);
sq569.qq204[1].my = (0.3 * gy579);
sq569.qq204[1].li210 = (qw543 * 26);
sq569.qq204[1].ex211 = (qw543 * 26);
sq569.qq204[1].dz212 = 0;
};
}
public function a150(_arg1:Array):void{
tx = _arg1[0];
ty = _arg1[1];
yd571 = _arg1[2];
}
public function w155(_arg1:Array):void{
wd187[0] = _arg1[0];
wd187[1] = _arg1[1];
wd187[2] = _arg1[2];
}
public function y149(_arg1:Array):void{
_arg1[0] = cc495;
_arg1[1] = vh496;
_arg1[2] = hr497;
}
public function n157():void{
this.sq569.qq204[1].fq117 = ((this.hs558[2].x[0] + this.hs558[2].x[3]) * 0.5);
this.sq569.qq204[1].mk118 = ((((this.hs558[2].y[1] + this.hs558[2].y[2]) + this.hs558[2].y[4]) + this.hs558[2].y[5]) * 0.25);
}
public function y152(_arg1:int, _arg2:Number):void{
to517[_arg1].gain = _arg2;
}
}
}//package mpPackage
Section 19
//MPGlasses (mpPackage.MPGlasses)
package mpPackage {
import flash.display.*;
import mp3D.*;
public class MPGlasses extends Sprite {
public var fz895:VertexBuffer;
public var ju889:Array;
public var db897:Array;
public var nh916:Array;
public var go911:VertexArray;
public var vn902:VertexArray;
private var ot248:Renderer;
public var zn906:Array;
public var gl894:TriangleStripArray;
public var yo888:Array;
public var yg921:TriangleStripArray;
public var hv920:VertexArray;
public var ke917:Array;
public var kj922:VertexBuffer;
public var hs558:Array;
public var td879:Number;
public var kn505:Array;
public var ux924:int;
public var ld881:Number;
public var ck914:int;
public var is923:Array;
public var lj876:Array;
public var wv915:Array;
public var wc880:Number;
public var sa905:int;
public var dz896:int;
public var wd187:Array;
public var wy887:int;
public var sw904:VertexBuffer;
public var mo907:Array;
public var uo900:Array;
public var vr893:VertexArray;
public var wz180:Appearance;
public var cr903:TriangleStripArray;
public var tu898:Array;
public var ff901:VertexArray;
public var bx899:Array;
public var ar877:Number;
public var ij908:Array;
public var ml892:VertexArray;
public var vv910:VertexArray;
public var ot890:Array;
public var pn913:VertexBuffer;
public var bq912:TriangleStripArray;
public var by885:String;
private var sk869:Sprite;
public var td919:VertexArray;
public var op884:Number;
public var zoom:Number;
public var in878:Number;
public var vd882:Number;
public var hw891:Array;
public var jz886:int;
public var oi909:Array;
public var bm918:Array;
public var xr883:Number;
public function MPGlasses(_arg1:Sprite){
var _local2:int;
var _local3:int;
kn505 = new Array(4);
lj876 = new Array(4);
ot248 = new Renderer();
super();
sk869 = _arg1;
this.lj876[0] = false;
this.lj876[1] = false;
this.lj876[2] = false;
this.lj876[3] = false;
this.wz180 = new Appearance(true, true, false, 0, 0);
this.zoom = 1;
this.wd187 = new Array(3);
yo888 = new Array();
ju889 = new Array();
ot890 = new Array();
hw891 = new Array();
fz895 = new VertexBuffer();
db897 = new Array();
tu898 = new Array();
bx899 = new Array();
uo900 = new Array();
sw904 = new VertexBuffer();
hs558 = new Array(MPCONST.wk223);
_local2 = 0;
while (_local2 < MPCONST.wk223) {
hs558[_local2] = new ParaEdit();
hs558[_local2].x = new Array(MPCONST.ji224);
hs558[_local2].y = new Array(MPCONST.ji224);
_local2++;
};
ux924 = MPCONST.ns240;
is923 = new Array(2);
_local3 = 0;
while (_local3 < 2) {
is923[_local3] = new Array((ux924 + 1));
_local2 = 0;
while (_local2 < (ux924 + 1)) {
is923[_local3][_local2] = new GlassFine();
_local2++;
};
_local3++;
};
sk869.addChild(this);
}
public function p161():void{
var _local1:int;
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
_local1 = (2 * 8);
_local3 = _local1;
wy887 = _local1;
yo888 = new Array((3 * _local1));
ju889 = new Array((2 * _local1));
ot890 = new Array(1);
hw891 = new Array(1);
ot890[0] = _local1;
hw891[0] = kn505[0];
_local6 = 0;
gl894 = new TriangleStripArray(1, ot890, hw891);
ml892 = new VertexArray(_local1, 3);
vr893 = new VertexArray(_local1, 2);
fz895 = new VertexBuffer();
fz895.p47(vr893, 1, null);
_local1 = ((2 * MPCONST.nh241) * (MPCONST.hl242 + 1));
_local3 = (_local1 / MPCONST.nh241);
dz896 = _local1;
db897 = new Array((3 * _local1));
tu898 = new Array((2 * _local1));
bx899 = new Array(MPCONST.nh241);
uo900 = new Array(MPCONST.nh241);
_local6 = 0;
_local5 = 0;
while (_local5 < MPCONST.nh241) {
bx899[_local5] = _local3;
uo900[_local5] = kn505[1];
_local5++;
};
cr903 = new TriangleStripArray(MPCONST.nh241, bx899, uo900);
ff901 = new VertexArray(_local1, 3);
vn902 = new VertexArray(_local1, 2);
sw904 = new VertexBuffer();
sw904.p47(vn902, 1, null);
_local1 = ((2 * 2) * (ux924 + 1));
_local3 = (_local1 / 2);
sa905 = _local1;
zn906 = new Array((3 * _local1));
mo907 = new Array((2 * _local1));
ij908 = new Array(2);
oi909 = new Array(2);
_local6 = 0;
_local5 = 0;
while (_local5 < 2) {
ij908[_local5] = _local3;
oi909[_local5] = kn505[2];
_local5++;
};
bq912 = new TriangleStripArray(2, ij908, oi909);
vv910 = new VertexArray(_local1, 3);
go911 = new VertexArray(_local1, 2);
pn913 = new VertexBuffer();
pn913.p47(go911, 1, null);
_local1 = ((2 * 2) * (MPCONST.qq243 + 1));
_local3 = (_local1 / 2);
ck914 = _local1;
wv915 = new Array((3 * _local1));
nh916 = new Array((2 * _local1));
ke917 = new Array(2);
bm918 = new Array(2);
_local6 = 0;
_local5 = 0;
while (_local5 < 2) {
ke917[_local5] = _local3;
bm918[_local5] = kn505[3];
_local5++;
};
yg921 = new TriangleStripArray(2, ke917, bm918);
td919 = new VertexArray(_local1, 3);
hv920 = new VertexArray(_local1, 2);
kj922 = new VertexBuffer();
kj922.p47(hv920, 1, null);
}
public function w155(_arg1:Array):void{
var _local2:int;
_local2 = 0;
while (_local2 < 3) {
this.wd187[_local2] = _arg1[_local2];
_local2++;
};
}
public function p55(_arg1:MPFace):void{
var _local2:Number;
var _local3:Array;
_local3 = new Array(3);
_local2 = (_arg1.zoom * zoom);
_local3[0] = ((((-0.5 * _arg1.zoom) + ((_arg1.zoom - _local2) * td879)) + _arg1.wd187[0]) + wd187[0]);
_local3[1] = ((((-0.5 * _arg1.zoom) + ((_arg1.zoom - _local2) * wc880)) + _arg1.wd187[1]) + wd187[1]);
_local3[2] = (_arg1.wd187[2] + wd187[2]);
ff901.v41(dz896, db897);
vn902.v41(dz896, tu898);
sw904.j46(ff901, _local2, _local3);
sw904.t44(4294967295);
ot248.f38(wz180);
ot248.z40(sw904, cr903, graphics);
if (jz886 == 1){
vv910.v41(sa905, zn906);
go911.v41(sa905, mo907);
pn913.j46(vv910, _local2, _local3);
pn913.t44(4294967295);
ot248.f38(wz180);
ot248.z40(pn913, bq912, graphics);
} else {
if (jz886 == 2){
vv910.v41(sa905, zn906);
go911.v41(sa905, mo907);
pn913.j46(vv910, _local2, _local3);
pn913.t44(4294967295);
ot248.f38(wz180);
ot248.z40(pn913, bq912, graphics);
};
};
if (jz886 != 2){
td919.v41(ck914, wv915);
hv920.v41(ck914, nh916);
kj922.j46(td919, _local2, _local3);
kj922.t44(4294967295);
ot248.f38(wz180);
ot248.z40(kj922, yg921, graphics);
};
ml892.v41(wy887, yo888);
vr893.v41(wy887, ju889);
fz895.j46(ml892, _local2, _local3);
fz895.t44(4294967295);
ot248.f38(wz180);
ot248.z40(fz895, gl894, graphics);
}
}
}//package mpPackage
Section 20
//mpSpeech (mpPackage.mpSpeech)
package mpPackage {
import flash.media.*;
public class mpSpeech {
public var ax933:SoundChannel;
public var uj943:Number;
public var fx932:Array;
public var fu942:Number;
public var zq937:int;
public var lz936:mpVoice;
public var ae940:Number;
public var dq928:Boolean;// = false
public var qx934:int;
public var jo946:int;
public var nh931:Sound;
public var kj935:int;
public var jf939:int;
public var ko944:Number;
public var lx945:Number;
public var ed941:Number;
public var mk930:Boolean;// = false
public var bh929:Boolean;// = false
public var ts938:int;
public function mpSpeech(){
dq928 = false;
bh929 = false;
mk930 = false;
nh931 = new Sound();
fx932 = new Array();
lz936 = new mpVoice();
super();
}
}
}//package mpPackage
Section 21
//mpTimer (mpPackage.mpTimer)
package mpPackage {
import flash.utils.*;
public class mpTimer {
public var qk947:Boolean;
public var dv948:Boolean;
private var pv950:int;
private var vh952:int;
private var lh951:int;
public var fe949:Boolean;
public function mpTimer(){
qk947 = true;
dv948 = false;
fe949 = false;
}
public function m162(_arg1:int):void{
qk947 = false;
dv948 = true;
fe949 = false;
lh951 = _arg1;
pv950 = getTimer();
}
public function u164():int{
vh952 = getTimer();
vh952 = (vh952 - pv950);
if (vh952 > lh951){
fe949 = true;
dv948 = false;
qk947 = false;
};
return (vh952);
}
public function x163():void{
qk947 = true;
dv948 = false;
fe949 = false;
}
}
}//package mpPackage
Section 22
//mpVoice (mpPackage.mpVoice)
package mpPackage {
public class mpVoice {
public var wd187:int;
public var length:int;
public var tf954:Array;
public var rw953:Number;
public var gain:Number;
public function mpVoice(){
tf954 = new Array();
super();
}
}
}//package mpPackage
Section 23
//ParaEdit (mpPackage.ParaEdit)
package mpPackage {
public class ParaEdit {
public var du955:int;
public var x:Array;
public var y:Array;
public var wi382:int;
}
}//package mpPackage
Section 24
//HPTop (HPTop)
package {
import flash.events.*;
import flash.display.*;
import mpPackage.*;
import flash.utils.*;
import mp3D.*;
import flash.text.*;
import flash.media.*;
import flash.geom.*;
import flash.net.*;
import mpCursor.*;
public class HPTop extends Sprite {
public var zs1074:Number;// = 0
public var qw1044:int;// = 0
public var ya1054:int;// = 100
public var cm1020:Number;
public var ud1050:int;// = 400
private var zk1083:TextField;
public var kx956:int;// = 0x0200
public var moueyey:Number;
public var fa1040:int;// = 40
public var uc1015:Number;// = 0
public var ap1078:Number;
public var winy:int;
public var jm1005:int;// = 3
public var mouposy:Number;
public var rt1052:int;// = 0
private var ss959:BitmapData;
private var fx932:Array;
public var rx1059:Number;
public var sm1045:int;// = 40
private var tn991:mpSpeech;
public var cq1049:int;// = 200
private var nh931:Sound;
public var vh496:Number;
public var qn1031:Number;// = 0
public var ut1077:Number;
public var za1035:int;// = 40
public var mi1032:Number;// = 0
public var oq546:Number;// = 0
var tg1096:Number;// = 50
public var kc1065:Number;// = -90
public var rk1036:Number;// = 0
public var nn1037:Number;// = 0
private var dd981:uint;// = 0
public var xi996:MPFace;
private var wy960:Matrix;
public var wy1027:int;// = 0
public var on973:int;// = 0
public var ro1042:Number;// = 0
public var un1001:Number;// = 1
public var ml1012:int;// = 7
public var lo1024:Array;
public var eb1013:int;// = 0
private var gy979:mpTimer;
public var sd1043:int;// = 0
private var lj980:mpTimer;
public var qj1063:Array;
public var vk1007:Boolean;// = false
public var uw1060:Number;
public var lx1069:Number;// = -90
public var vg998:String;
public var rx1057:Number;// = 0
public var cx1033:int;// = 0
private var kn992:mpSpeech;
public var nb1064:int;// = 0
public var th1000:Number;// = 0
public var gz1080:Number;
public var os1051:int;// = 8
private var te984:URLLoader;
public var vw1028:int;// = 100
public var ps1006:int;
private var py1082:int;// = 0
private var jh982:uint;// = 0
private var ml983:Boolean;// = true
public var vx1075:Number;// = 0
public var bv1021:int;
public var wp1025:int;// = 0
public var hr497:Number;
private var wd187:Array;
private var yg978:MPCursor;
public var mouroty:Number;
public var vj1004:int;// = 0
public var pd1066:Number;// = -90
public var rz1041:Number;// = 0
public var ql1017:Number;
public var nh1008:int;// = 0
public var ay1055:int;// = 100
public var wo1002:int;// = 2
public var jo1010:int;// = 0
private var xl961:Bitmap;
public var vz1016:Number;
private var pd1081:Array;
var ok1097:Shape;
public var jx1053:Number;// = 1
public var rm1023:Array;
public var he1048:int;// = 0
public var gp504:MPEngine;
public var uu1039:int;// = 0
public var kq1056:int;// = 0
public var ap1034:int;// = 0
public var jx1061:Number;// = 0
public var yc1058:Number;
private var rc1098:Array;
public var ka1068:Number;// = -90
private var kp995:int;// = 0
private var ta993:mpSpeech;
public var tg1029:int;// = 100
private var jp958:Bitmap;
public var jg1047:Number;// = 0
public var yq1018:Number;
public var zd999:Number;// = 0
public var to1030:Number;
public var no997:MPGlasses;// = null
public var xt1038:int;// = 0
public var mo1067:Number;// = -90
public var pw1079:Number;
public var ox1003:Boolean;// = false
public var kw1009:int;// = 0
public var ql1073:Number;// = 0
public var nw1019:Number;
private var rj994:int;// = 0
public var np1062:Number;// = 0
public var em1071:Number;// = -90
public var ff957:int;// = 0x0200
public var bh1022:Array;
public var vb1072:Number;// = -90
public var ap1070:Number;// = -90
public var ks1014:Number;// = 0
public var zk1076:Number;// = 0
public var cc495:Number;
public var tc1046:Number;// = 0
public var jb1026:int;// = 0
private var ij962:BitmapData;
private var xa1099:int;// = 0
public var pm1011:int;// = 0
public var iw580:int;// = 1
private static var ax238:Number = 25;
public static var md228:int = 30;
public static var wg971:Number = 8;
public static var pf969:Number = 4;
private static var ds987:int = 13;
private static var ua974:int = 5;
private static var eu989:int = 12;
public static var ry965:Number = 0.07;
public static var zb967:Number = 10;
private static var on973:int = 0;
public static var aa227:Number = 0.02;
private static var ah977:Boolean = false;
private static var lo986:int = 2000;
private static var ql976:int = 11;
public static var ev964:Number = 0.1;
private static var td975:int = 0;
private static var dz985:int = 100;
public static var xo966:Number = 0.05;
private static var rk988:int = 11;
public static var af968:Number = -10;
public static var mo970:Number = 8;
public static var jh963:Number = 0.2;
private static var tg990:int = 30;
public static var rg972:Number = 6;
public function HPTop(){
var _local1:int;
kx956 = 0x0200;
ff957 = 0x0200;
wy960 = new Matrix();
gy979 = new mpTimer();
lj980 = new mpTimer();
dd981 = 0;
jh982 = 0;
ml983 = true;
te984 = new URLLoader();
nh931 = new Sound();
fx932 = new Array();
tn991 = new mpSpeech();
rj994 = 0;
kp995 = 0;
no997 = null;
zd999 = 0;
th1000 = 0;
un1001 = 1;
on973 = 0;
wo1002 = 2;
ox1003 = false;
vj1004 = 0;
jm1005 = 3;
vk1007 = false;
nh1008 = 0;
kw1009 = 0;
jo1010 = 0;
pm1011 = 0;
ml1012 = 7;
eb1013 = 0;
ks1014 = 0;
uc1015 = 0;
oq546 = 0;
bh1022 = new Array(3);
rm1023 = new Array(8);
lo1024 = new Array(8);
wp1025 = 0;
jb1026 = 0;
wy1027 = 0;
vw1028 = 100;
tg1029 = 100;
qn1031 = 0;
mi1032 = 0;
cx1033 = 0;
ap1034 = 0;
za1035 = 40;
rk1036 = 0;
nn1037 = 0;
xt1038 = 0;
uu1039 = 0;
fa1040 = 40;
rz1041 = 0;
ro1042 = 0;
sd1043 = 0;
qw1044 = 0;
sm1045 = 40;
tc1046 = 0;
jg1047 = 0;
he1048 = 0;
cq1049 = 200;
ud1050 = 400;
os1051 = 8;
rt1052 = 0;
jx1053 = 1;
ya1054 = 100;
ay1055 = 100;
kq1056 = 0;
rx1057 = 0;
jx1061 = 0;
np1062 = 0;
qj1063 = new Array(16);
nb1064 = 0;
iw580 = 1;
kc1065 = -90;
pd1066 = -90;
mo1067 = -90;
ka1068 = -90;
lx1069 = -90;
ap1070 = -90;
em1071 = -90;
vb1072 = -90;
ql1073 = 0;
zs1074 = 0;
vx1075 = 0;
zk1076 = 0;
pd1081 = new Array(30);
py1082 = 0;
zk1083 = new TextField();
tg1096 = 50;
ok1097 = new Shape();
rc1098 = new Array(64);
xa1099 = 0;
wd187 = new Array();
super();
v170();
stage.frameRate = 30;
stage.quality = StageQuality.MEDIUM;
_local1 = 0;
while (_local1 < 3) {
bh1022[_local1] = new Array(0x0400);
_local1++;
};
j166();
ox1003 = false;
ml983 = true;
kq1056 = 1;
tg1029 = 1;
to1030 = (0.5 + (0.5 * u174()));
wp1025 = (jb1026 = yq1018);
wy1027 = 0;
vw1028 = (md228 * (40 + (w173() % 50)));
eb1013 = 0;
stage.addEventListener(MouseEvent.MOUSE_MOVE, b182);
stage.addEventListener(KeyboardEvent.KEY_DOWN, o185);
stage.addEventListener(Event.ENTER_FRAME, x175);
pm1011 = 0;
}
public function o169():void{
var _local1:int;
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:Number;
var _local9:Number;
var _local10:Number;
_local2 = 0;
_local3 = 80;
_local4 = 10;
_local5 = 400;
_local1 = 0;
while (_local1 < _local2) {
bh1022[0][_local1] = 0;
_local1++;
};
_local1 = 0;
while (_local1 < _local3) {
bh1022[0][(_local2 + _local1)] = b118((Number(_local1) / Number(_local3)));
_local1++;
};
_local1 = 0;
while (_local1 < _local4) {
bh1022[0][((_local2 + _local3) + _local1)] = 1;
_local1++;
};
_local1 = 0;
while (_local1 < _local5) {
_local8 = ((Number(_local1) / Number(_local5)) / 0.3);
bh1022[0][(((_local2 + _local3) + _local4) + _local1)] = Math.exp((-(_local8) * _local8));
_local1++;
};
_local1 = (((_local2 + _local3) + _local4) + _local5);
while (_local1 < 0x0400) {
bh1022[0][_local1] = 0;
_local1++;
};
_local2 = 0;
_local3 = 80;
_local4 = 80;
_local5 = 80;
_local6 = 10;
_local7 = 400;
_local9 = 0.7;
_local10 = 0.8;
_local1 = 0;
while (_local1 < _local2) {
bh1022[1][_local1] = 0;
_local1++;
};
_local1 = 0;
while (_local1 < _local3) {
bh1022[1][(_local2 + _local1)] = (_local9 * b118((Number(_local1) / Number(_local3))));
_local1++;
};
_local1 = 0;
while (_local1 < _local4) {
bh1022[1][((_local2 + _local3) + _local1)] = (_local9 * (1 - b118((Number(_local1) / Number(_local4)))));
_local1++;
};
_local1 = 0;
while (_local1 < _local5) {
bh1022[1][(((_local2 + _local3) + _local4) + _local1)] = (_local10 * b118((Number(_local1) / Number(_local5))));
_local1++;
};
_local1 = 0;
while (_local1 < _local6) {
bh1022[1][((((_local2 + _local3) + _local4) + _local5) + _local1)] = _local10;
_local1++;
};
_local1 = 0;
while (_local1 < _local7) {
_local8 = ((Number(_local1) / Number(_local7)) / 0.3);
bh1022[1][(((((_local2 + _local3) + _local4) + _local5) + _local6) + _local1)] = (_local10 * Math.exp((-(_local8) * _local8)));
_local1++;
};
_local1 = (((((_local2 + _local3) + _local4) + _local5) + _local6) + _local7);
while (_local1 < 0x0400) {
bh1022[1][_local1] = 0;
_local1++;
};
_local2 = 0;
_local3 = 100;
_local4 = 300;
_local5 = 100;
_local1 = 0;
while (_local1 < _local2) {
bh1022[2][_local1] = 0;
_local1++;
};
_local1 = 0;
while (_local1 < _local3) {
bh1022[2][(_local2 + _local1)] = b118((Number(_local1) / Number(_local3)));
_local1++;
};
_local1 = 0;
while (_local1 < _local4) {
bh1022[2][((_local2 + _local3) + _local1)] = 1;
_local1++;
};
_local1 = 0;
while (_local1 < _local5) {
bh1022[2][(((_local2 + _local3) + _local4) + _local1)] = (1 - b118((Number(_local1) / Number(_local5))));
_local1++;
};
_local1 = (((_local2 + _local3) + _local4) + _local5);
while (_local1 < 0x0400) {
bh1022[2][_local1] = 0;
_local1++;
};
_local1 = 0;
while (_local1 < 0x0400) {
bh1022[2][_local1] = (bh1022[2][_local1] * 0.4);
_local1++;
};
}
public function j166():void{
var _local1:int;
ut1077 = getTimer();
yq1018 = (ut1077 - (60 * 1000));
he1048 = yq1018;
cx1033 = (xt1038 = (sd1043 = (wp1025 = (jb1026 = he1048))));
_local1 = 0;
while (_local1 < 16) {
qj1063[_local1] = 0;
_local1++;
};
nh1008 = 1;
jo1010 = 1;
kw1009 = 1;
kq1056 = 0;
o169();
yc1058 = 0.5;
mouposy = 0.5;
_local1 = 0;
while (_local1 < 30) {
pd1081[_local1] = 0;
_local1++;
};
py1082 = 0;
this.addChild(ok1097);
}
private function o172(_arg1:int):void{
var _local2:String;
_local2 = (("glassdata/glass" + String(_arg1)) + "/");
if (no997 != null){
this.removeChild(no997);
no997 = null;
};
no997 = new MPGlasses(this);
gp504.g131(no997, _local2);
}
private function o185(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == 79){
} else {
if (_arg1.keyCode == 87){
};
};
}
private function u174():Number{
var _local1:Number;
_local1 = Math.random();
return (_local1);
}
public function b118(_arg1:Number):Number{
var _local2:Number;
if (_arg1 > 1){
_arg1 = 1;
} else {
if (_arg1 < 0){
_arg1 = 0;
};
};
_local2 = (0.5 + (0.5 * Math.sin((((-90 + (180 * _arg1)) / 180) * MPCONST.fr226))));
return (_local2);
}
public function v170():void{
MPGL.q2(this);
xi996 = new MPFace(this);
gp504 = new MPEngine();
a171(0);
MPGL.u5(mpvar.mt151);
MPGL.y9();
MPGL.u5(mpvar.ym150);
MPGL.y9();
MPGL.l12(-1, 1, -1, 1);
MPGL.f13(0, 0, kx956, ff957);
}
private function x116(_arg1:Number):Number{
var _local2:Number;
_local2 = ((_arg1 / 180) * mpvar.xm164);
return (Math.sin(_local2));
}
public function c119(_arg1:Number):Number{
var _local2:Number;
_local2 = b118(b118(_arg1));
return (_local2);
}
private function a171(_arg1:int):void{
vg998 = "original/";
gp504.p50(vg998);
gp504.g51(xi996, vg998, null);
}
private function w173():int{
var _local1:int;
var _local2:Number;
_local2 = Math.random();
_local1 = int((_local2 * Number(0xFFFFFF)));
return (_local1);
}
private function w176(_arg1:Number, _arg2:Number, _arg3:Number):void{
xi996.h154(_arg3);
wd187[0] = (_arg1 * 0.25);
wd187[1] = (_arg2 * 0.25);
wd187[2] = -4;
xi996.w155(wd187);
}
private function b182(_arg1:MouseEvent):void{
var _local2:Number;
var _local3:Number;
var _local4:Number;
this.yc1058 = (mouseX / kx956);
this.mouposy = (1 - (mouseY / ff957));
if (this.yc1058 < 0){
this.yc1058 = 0;
} else {
if (this.yc1058 > 1){
this.yc1058 = 1;
};
};
if (this.mouposy < 0){
this.mouposy = 0;
} else {
if (this.mouposy > 1){
this.mouposy = 1;
};
};
_local4 = 20;
lj980.m162(1000);
if (kq1056 == 0){
kq1056 = 1;
tg1029 = 1;
to1030 = (0.5 + (0.5 * u174()));
wp1025 = (jb1026 = yq1018);
wy1027 = 0;
vw1028 = (md228 * (40 + (w173() % 50)));
eb1013 = 0;
};
}
public function x175(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
var _local4:int;
var _local5:int;
var _local6:Array;
var _local7:Array;
var _local8:Array;
var _local9:int;
var _local10:Number;
var _local11:Number;
var _local12:Number;
if (gp504.fa259){
return;
};
if (gp504.jf260){
return;
};
jh982 = getTimer();
_local2 = (1000 / Number((jh982 - dd981)));
var _local13 = py1082++;
pd1081[_local13] = _local2;
if (py1082 >= 30){
py1082 = 0;
};
dd981 = jh982;
_local3 = 0;
_local4 = 0;
while (_local4 < 30) {
_local3 = (_local3 + pd1081[_local4]);
_local4++;
};
_local2 = (_local3 / 30);
zk1083.text = _local2.toPrecision(5);
_local6 = new Array(3);
_local7 = new Array(3);
_local8 = new Array(2);
nw1019 = yq1018;
yq1018 = Number(getTimer());
_local10 = ((yq1018 - nw1019) / Number(md228));
_local5 = lj980.u164();
if (_local5 > 2000){
kq1056 = 3;
};
if (kq1056 == 1){
rx1057 = (rx1057 + (_local10 * 0.1));
if (rx1057 >= 1){
rx1057 = 1;
kq1056 = 2;
};
} else {
if (kq1056 == 3){
rx1057 = (rx1057 - (_local10 * 0.05));
if (rx1057 <= 0){
rx1057 = 0;
kq1056 = 0;
};
};
};
if (kq1056 != 0){
_local11 = b118(rx1057);
uw1060 = (jh963 * ((2 * yc1058) - 1));
if (uw1060 < -(ry965)){
uw1060 = -(ry965);
} else {
if (uw1060 > ry965){
uw1060 = ry965;
};
};
moueyey = (ev964 * ((2 * mouposy) - 1));
if (moueyey < -(xo966)){
moueyey = -(xo966);
} else {
if (moueyey > xo966){
moueyey = xo966;
};
};
rx1059 = (zb967 * ((2 * mouposy) - 1));
mouroty = (af968 * ((2 * yc1058) - 1));
if ((((rx1059 >= 0)) && ((mouroty >= 0)))){
if ((rx1059 + mouroty) > rg972){
_local12 = (rg972 / (rx1059 + mouroty));
rx1059 = (rx1059 * _local12);
mouroty = (mouroty * _local12);
};
} else {
if ((((rx1059 < 0)) && ((mouroty >= 0)))){
if ((-(rx1059) + mouroty) > rg972){
_local12 = (rg972 / (-(rx1059) + mouroty));
rx1059 = (rx1059 * _local12);
mouroty = (mouroty * _local12);
};
} else {
if ((((rx1059 >= 0)) && ((mouroty < 0)))){
if ((rx1059 - mouroty) > rg972){
_local12 = (rg972 / (rx1059 - mouroty));
rx1059 = (rx1059 * _local12);
mouroty = (mouroty * _local12);
};
} else {
if ((-(rx1059) - mouroty) > rg972){
_local12 = (rg972 / (-(rx1059) - mouroty));
rx1059 = (rx1059 * _local12);
mouroty = (mouroty * _local12);
};
};
};
};
if ((((eb1013 == 1)) && ((mouposy > 0.5)))){
qj1063[12] = ((1.6 * (mouposy - 0.5)) * _local11);
} else {
qj1063[12] = 0;
};
};
if (kw1009 == 1){
qj1063[7] = (0.5 + (0.5 * x116(kc1065)));
qj1063[0] = (0.3 + (0.3 * x116(pd1066)));
qj1063[3] = (0.3 + (0.3 * x116(mo1067)));
qj1063[4] = b118((0.1 + (0.3 * (x116(lx1069) + x116(ap1070)))));
qj1063[5] = (0.1 + (0.25 * (x116(kc1065) + x116(ka1068))));
_local10 = ((yq1018 - nw1019) / Number(md228));
kc1065 = (kc1065 + (_local10 * 3.5));
pd1066 = (pd1066 + (_local10 * 2.7));
mo1067 = (mo1067 + (_local10 * 2.3));
ka1068 = (ka1068 + (_local10 * 1.9));
lx1069 = (lx1069 + (_local10 * 3));
ap1070 = (ap1070 + (_local10 * 4.7));
cq1049 = int((yq1018 - Number(he1048)));
if (cq1049 < (md228 * 100)){
_local10 = (0.5 + (0.5 * x116((-90 + ((360 * Number(cq1049)) / (Number(md228) * 100))))));
qj1063[0] = (Number(qj1063[0]) * (1 - _local10));
qj1063[3] = (Number(qj1063[3]) * (1 - _local10));
qj1063[14] = (Number(qj1063[14]) * (1 - _local10));
qj1063[15] = (Number(qj1063[15]) * (1 - _local10));
qj1063[os1051] = (_local10 * jx1053);
} else {
qj1063[8] = 0;
qj1063[9] = 0;
qj1063[11] = 0;
qj1063[12] = 0;
};
if (cq1049 >= ud1050){
he1048 = yq1018;
ud1050 = (md228 * (200 + (w173() % 400)));
jx1053 = (0.5 + (0.5 * u174()));
if ((w173() % 7) < 3){
os1051 = 9;
} else {
os1051 = 9;
};
};
};
if (kq1056 != 0){
if (mouposy > 0.5){
if (kw1009 == 1){
qj1063[4] = (qj1063[4] + ((2 * (mouposy - 0.5)) * _local11));
} else {
qj1063[4] = ((2 * (mouposy - 0.5)) * _local11);
};
mi1032 = 0;
} else {
mi1032 = ((0.6 * (0.5 - mouposy)) * _local11);
};
} else {
mi1032 = 0;
};
if (nh1008 == 1){
wy1027 = (yq1018 - wp1025);
if (wy1027 >= vw1028){
tg1029 = w173();
to1030 = (0.5 + (0.8 * u174()));
if (to1030 > 1){
to1030 = 1;
};
if ((tg1029 % 5) < 3){
qn1031 = (0.005 * Number(((w173() % 21) - 10)));
uc1015 = (0.001 * Number(((w173() % 21) - 10)));
};
wp1025 = (jb1026 = yq1018);
wy1027 = 0;
vw1028 = (md228 * (40 + (w173() % 50)));
};
if ((int(yq1018) - jb1026) >= (md228 * 21)){
jx1061 = (0.0009 * Number(((w173() % 20) - 10)));
np1062 = (0.0006 * Number(((w173() % 20) - 10)));
qn1031 = (qn1031 + (0.002 * Number(((w173() % 20) - 10))));
uc1015 = (uc1015 + (0.0006 * Number(((w173() % 20) - 10))));
if ((((nb1064 == 1)) && (((tg1029 % 7) < 5)))){
qn1031 = 0;
uc1015 = 0;
};
jb1026 = yq1018;
};
if (qn1031 > (ks1014 + aa227)){
ks1014 = (ks1014 + aa227);
} else {
if (qn1031 < (ks1014 - aa227)){
ks1014 = (ks1014 - aa227);
} else {
ks1014 = qn1031;
};
};
if ((tg1029 % 19) < 15){
bv1021 = 0;
} else {
if ((tg1029 % 19) < 18){
bv1021 = 1;
} else {
bv1021 = 2;
_local9 = m178(2, wy1027);
uc1015 = (-0.07 * bh1022[2][_local9]);
};
};
s179(bv1021, wp1025);
};
if (ks1014 < -0.1){
ks1014 = -0.1;
} else {
if (ks1014 > 0.1){
ks1014 = 0.1;
};
};
vz1016 = ks1014;
ql1017 = uc1015;
if (kq1056 != 0){
if (kq1056 < 3){
_local12 = (10 * _local11);
} else {
_local12 = (1 - (10 * (1 - _local11)));
};
if (_local12 > 1){
_local12 = 1;
} else {
if (_local12 < 0){
_local12 = 0;
};
};
vz1016 = (((1 - _local12) * vz1016) + (_local12 * (uw1060 + jx1061)));
ql1017 = (((1 - _local12) * ql1017) + (_local12 * (moueyey + np1062)));
};
vz1016 = (vz1016 * 0.25);
ql1017 = (ql1017 * 0.25);
nb1064 = 0;
if (jo1010 == 1){
ap1034 = (yq1018 - cx1033);
if (ap1034 >= za1035){
cx1033 = yq1018;
ap1034 = 0;
za1035 = (md228 * (20 + (w173() % 50)));
rk1036 = nn1037;
nn1037 = (-6 + ((12 * 0.01) * Number((w173() % 100))));
};
cc495 = (rk1036 + ((nn1037 - rk1036) * c119((Number(ap1034) / Number(za1035)))));
uu1039 = (yq1018 - xt1038);
if (uu1039 >= fa1040){
xt1038 = yq1018;
uu1039 = 0;
fa1040 = (md228 * (20 + (w173() % 50)));
rz1041 = ro1042;
ro1042 = (-6 + ((12 * 0.01) * Number((w173() % 100))));
};
vh496 = (rz1041 + ((ro1042 - rz1041) * b118((Number(uu1039) / Number(fa1040)))));
qw1044 = (yq1018 - sd1043);
if (qw1044 >= sm1045){
sd1043 = yq1018;
qw1044 = 0;
sm1045 = (md228 * (20 + (w173() % 50)));
tc1046 = jg1047;
jg1047 = (-6 + ((12 * 0.01) * Number((w173() % 100))));
};
hr497 = (tc1046 + ((jg1047 - tc1046) * b118((Number(qw1044) / Number(sm1045)))));
};
if (kq1056 != 0){
cc495 = (((1 - _local11) * cc495) + (_local11 * rx1059));
vh496 = (((1 - _local11) * vh496) + (_local11 * mouroty));
};
_local6[0] = cc495;
_local6[1] = vh496;
_local6[2] = hr497;
xi996.p148(_local6);
_local7[0] = 0;
_local7[1] = 0;
_local7[2] = 0;
xi996.a150(_local7);
xi996.v146(0, rm1023);
xi996.v146(1, rm1023);
_local8[0] = vz1016;
_local8[1] = (ql1017 * 0.5);
xi996.j143(0, _local8);
xi996.j143(1, _local8);
_local4 = 0;
while (_local4 < 16) {
xi996.y152(_local4, qj1063[_local4]);
_local4++;
};
h177();
stage.invalidate();
}
private function z117(_arg1:Number):Number{
var _local2:Number;
_local2 = ((_arg1 / 180) * mpvar.xm164);
return (Math.cos(_local2));
}
private function h177():void{
w176(0, 0, 2);
gp504.p55(xi996);
if (this.ox1003){
if (!gp504.rm261){
no997.w155(wd187);
no997.zoom = 1;
gp504.p132(xi996, no997);
};
};
}
private function m178(_arg1:int, _arg2:int):int{
if (_arg1 == 2){
};
if (_arg2 > 1023){
_arg2 = 1023;
};
if (_arg2 < 0){
_arg2 = 0;
};
return (_arg2);
}
private function s179(_arg1:int, _arg2:int):void{
var _local3:int;
var _local4:Number;
var _local5:Number;
var _local6:int;
var _local7:int;
var _local8:int;
_local7 = m178(_arg1, (yq1018 - _arg2));
_local8 = m178(_arg1, (nw1019 - _arg2));
_local6 = 1;
if (_local6 == 1){
_local5 = 0.7;
_local3 = 0;
while (_local3 < 4) {
_local4 = bh1022[_arg1][int((_local8 + (((_local3 + 1) * (_local7 - _local8)) / 4)))];
if (_arg1 == 0){
_local4 = (_local4 * to1030);
};
if (_local4 < mi1032){
_local4 = mi1032;
};
rm1023[_local3] = _local4;
lo1024[_local3] = _local5;
_local5 = (_local5 * 0.7);
_local3++;
};
} else {
_local4 = bh1022[_arg1][_local7];
if (_arg1 == 0){
_local4 = (_local4 * to1030);
};
if (_local4 < mi1032){
_local4 = mi1032;
};
rm1023[0] = _local4;
lo1024[0] = 1;
};
}
private function e49(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number):void{
var _local9:Number;
var _local10:Number;
var _local11:Number;
var _local12:Number;
var _local13:Number;
var _local14:Number;
var _local15:Number;
var _local16:Number;
var _local17:Number;
var _local18:Number;
var _local19:Number;
var _local20:Number;
_local13 = _arg5;
_local14 = _arg6;
_local9 = _arg7;
_local10 = _arg6;
_local11 = _arg7;
_local12 = _arg8;
_local9 = (_local9 - _local13);
_local11 = (_local11 - _local13);
_local10 = (_local10 - _local14);
_local12 = (_local12 - _local14);
_local15 = (1 / ((_local9 * _local12) - (_local10 * _local11)));
_local16 = (_local12 * _local15);
_local12 = (_local9 * _local15);
_local10 = (-(_local10) * _local15);
_local11 = (-(_local11) * _local15);
_local9 = _local16;
_local16 = ((-(_local13) * _local9) - (_local14 * _local11));
_local14 = ((-(_local13) * _local10) - (_local14 * _local12));
_local13 = _local16;
_local15 = _arg1;
_local16 = _arg2;
_local17 = _arg3;
_local18 = _arg2;
_local19 = _arg3;
_local20 = _arg4;
_local17 = (_local17 - _local15);
_local18 = (_local18 - _local16);
_local19 = (_local19 - _local15);
_local20 = (_local20 - _local16);
wy960.a = ((_local9 * _local17) + (_local10 * _local19));
wy960.b = ((_local9 * _local18) + (_local10 * _local20));
wy960.c = ((_local11 * _local17) + (_local12 * _local19));
wy960.d = ((_local11 * _local18) + (_local12 * _local20));
wy960.tx = (((_local17 * _local13) + (_local19 * _local14)) + _local15);
wy960.ty = (((_local18 * _local13) + (_local20 * _local14)) + _local16);
}
}
}//package