Section 1
//A1216443003875B203 (com.jumbledmind.games.events.A1216443003875B203)
package com.jumbledmind.games.events {
import com.jumbledmind.games.*;
import com.jumbledmind.games.transitions.outOfModule.*;
public class A1216443003875B203 extends A1216443003875B280 {
private var A1216443003875B44:A1216443003890B1183;
private var A1216443003890B1167:A1216443003875B198;
private var A1216443003875B351;
public function A1216443003875B203(_arg1:Object, _arg2:A1216443003890B1183, _arg3:A1216443003875B198, _arg4=null){
super(_arg1);
this.A1216443003890B1361 = "CHANGE_MODULE";
this.A1216443003875B44 = _arg2;
this.A1216443003890B1167 = _arg3;
this.A1216443003875B351 = _arg4;
}
public function A1216443003890B716(){
return (A1216443003875B351);
}
public function A1216443003875B286():A1216443003890B1183{
return (A1216443003875B44);
}
public function A1216443003875B7():A1216443003875B198{
return (A1216443003890B1167);
}
}
}//package com.jumbledmind.games.events
Section 2
//A1216443003875B280 (com.jumbledmind.games.events.A1216443003875B280)
package com.jumbledmind.games.events {
public class A1216443003875B280 {
private var sender;
protected var A1216443003890B1361:String;// = "ABSTRACT"
public function A1216443003875B280(_arg1:Object){
A1216443003890B1361 = "ABSTRACT";
super();
this.sender = _arg1;
}
public function A1216443003890B1444(){
return (sender);
}
public function A1216443003890B1010():String{
return (A1216443003890B1361);
}
}
}//package com.jumbledmind.games.events
Section 3
//A1216443003875B506 (com.jumbledmind.games.events.A1216443003875B506)
package com.jumbledmind.games.events {
public class A1216443003875B506 extends A1216443003875B280 {
private var A1216443003875B358;
public static var A1216443003890B806:String = "ROTATER_EVENT";
public function A1216443003875B506(_arg1:Object, _arg2){
super(_arg1);
this.A1216443003875B358 = _arg2;
this.A1216443003890B1361 = A1216443003890B806;
}
public function A1216443003890B1034(){
return (A1216443003875B358);
}
}
}//package com.jumbledmind.games.events
Section 4
//A1216443003890B1143 (com.jumbledmind.games.events.A1216443003890B1143)
package com.jumbledmind.games.events {
public class A1216443003890B1143 extends A1216443003875B280 {
private var A1216443003875B358;
public static var A1216443003890B806:String = "ALPHA_EVENT";
public function A1216443003890B1143(_arg1:Object, _arg2){
super(_arg1);
this.A1216443003875B358 = _arg2;
this.A1216443003890B1361 = A1216443003890B806;
}
public function A1216443003890B1034(){
return (A1216443003875B358);
}
}
}//package com.jumbledmind.games.events
Section 5
//A1216443003890B1176 (com.jumbledmind.games.events.A1216443003890B1176)
package com.jumbledmind.games.events {
public class A1216443003890B1176 extends A1216443003875B280 {
private var A1216443003875B358;
public static var A1216443003890B806:String = "SHAKE_EVENT";
public function A1216443003890B1176(_arg1:Object, _arg2){
super(_arg1);
this.A1216443003875B358 = _arg2;
this.A1216443003890B1361 = A1216443003890B806;
}
public function A1216443003890B1034(){
return (A1216443003875B358);
}
}
}//package com.jumbledmind.games.events
Section 6
//A1216443003890B1253 (com.jumbledmind.games.events.A1216443003890B1253)
package com.jumbledmind.games.events {
public class A1216443003890B1253 extends A1216443003875B280 {
private var A1216443003875B358;
public static var A1216443003890B806:String = "TRANSLATION_EVENT";
public function A1216443003890B1253(_arg1:Object, _arg2){
super(_arg1);
this.A1216443003875B358 = _arg2;
this.A1216443003890B1361 = A1216443003890B806;
}
public function A1216443003890B1034(){
return (A1216443003875B358);
}
}
}//package com.jumbledmind.games.events
Section 7
//A1216443003890B827 (com.jumbledmind.games.events.A1216443003890B827)
package com.jumbledmind.games.events {
public class A1216443003890B827 extends A1216443003875B280 {
public static var A1216443003890B806:String = "UPDATE";
public function A1216443003890B827(_arg1:Object){
super(_arg1);
this.A1216443003890B1361 = A1216443003890B806;
}
}
}//package com.jumbledmind.games.events
Section 8
//A1216443003875B186 (com.jumbledmind.games.gobs.A1216443003875B186)
package com.jumbledmind.games.gobs {
import flash.display.*;
import com.jumbledmind.games.util.*;
public class A1216443003875B186 extends Sprite {
protected var A1216443003890B884:A1216443003890B830;
public function A1216443003875B186(){
A1216443003890B884 = new A1216443003890B830();
}
public function A1216443003890B1019(_arg1:A1216443003875B186):Boolean{
return (A1216443003890B884.contains(_arg1));
}
public function A1216443003875B430(_arg1:A1216443003875B186):void{
A1216443003890B884.A1216443003890B866(_arg1);
}
public function A1216443003890B1028():A1216443003890B830{
return (A1216443003890B884);
}
}
}//package com.jumbledmind.games.gobs
Section 9
//A1216443003890B1011 (com.jumbledmind.games.gobs.A1216443003890B1011)
package com.jumbledmind.games.gobs {
public class A1216443003890B1011 {
private var A1216443003890B1216:int;
private var A1216443003890B1129:int;
public function A1216443003890B1011(_arg1:int, _arg2:int){
this.A1216443003890B1129 = _arg1;
this.A1216443003890B1216 = _arg2;
}
public function A1216443003890B719():int{
return (A1216443003890B1129);
}
public function A1216443003875B245():int{
return (A1216443003890B1216);
}
}
}//package com.jumbledmind.games.gobs
Section 10
//A1216443003890B787 (com.jumbledmind.games.graphics.background.A1216443003890B787)
package com.jumbledmind.games.graphics.background {
import flash.display.*;
public class A1216443003890B787 extends MovieClip {
protected var A1216443003890B913:Boolean;// = true
public function A1216443003890B787(){
A1216443003890B913 = true;
super();
}
public function A1216443003875B166(_arg1:Boolean):void{
this.A1216443003890B913 = _arg1;
}
public function A1216443003890B1114():void{
}
}
}//package com.jumbledmind.games.graphics.background
Section 11
//A1216443003875B18 (com.jumbledmind.games.graphics.effects.A1216443003875B18)
package com.jumbledmind.games.graphics.effects {
import flash.utils.*;
import com.jumbledmind.games.events.*;
import com.jumbledmind.games.*;
public class A1216443003875B18 extends A1216443003890B1026 {
private var A1216443003890B1177:Dictionary;
private var A1216443003875B487:Number;
private var A1216443003890B1134:int;
private var A1216443003875B321:A1216443003890B1143;
public function A1216443003875B18(_arg1, _arg2:int, _arg3:int){
super(_arg1);
this.A1216443003875B358 = _arg1;
this.A1216443003890B1134 = _arg2;
this.A1216443003875B673 = _arg3;
this.A1216443003875B487 = ((this.A1216443003890B1134 - _arg1.alpha) / _arg3);
this.A1216443003875B321 = new A1216443003890B1143(this, _arg1);
A1216443003875B556.A1216443003890B1397().A1216443003875B561("UPDATE_Q", this);
}
override public function A1216443003890B1114(){
if (A1216443003875B673-- > 0){
A1216443003875B358.alpha = (A1216443003875B358.alpha + A1216443003875B487);
} else {
A1216443003875B358.alpha = A1216443003890B1134;
A1216443003890B853();
A1216443003875B556.A1216443003890B1397().A1216443003890B1324("UPDATE_Q", this);
};
}
public function A1216443003890B853(){
A1216443003875B435()[A1216443003875B358] = null;
A1216443003875B556.A1216443003890B1397().A1216443003875B584("GFX_Q", A1216443003875B321);
}
override protected function A1216443003875B435():Dictionary{
if (A1216443003890B1177 == null){
A1216443003890B1177 = new Dictionary();
};
return (A1216443003890B1177);
}
}
}//package com.jumbledmind.games.graphics.effects
Section 12
//A1216443003875B322 (com.jumbledmind.games.graphics.effects.A1216443003875B322)
package com.jumbledmind.games.graphics.effects {
import flash.utils.*;
import com.jumbledmind.games.events.*;
import com.jumbledmind.games.*;
public class A1216443003875B322 extends A1216443003890B1026 {
protected var A1216443003875B369:Number;
protected var A1216443003890B1260:Number;
protected var A1216443003890B799:Number;
protected var A1216443003890B976:int;
protected var A1216443003875B43:Number;
protected var A1216443003875B672:int;
protected var A1216443003875B219:Number;
protected var A1216443003890B979:Number;
protected var A1216443003890B1050:A1216443003890B1176;
private static var A1216443003890B1177:Dictionary;
public function A1216443003875B322(_arg1, _arg2:Number, _arg3:Number, _arg4:int){
super(_arg1);
this.A1216443003875B358 = _arg1;
this.A1216443003890B976 = _arg2;
this.A1216443003875B672 = _arg3;
this.A1216443003875B369 = _arg1.x;
this.A1216443003890B799 = _arg1.y;
this.A1216443003875B43 = (A1216443003875B369 + _arg2);
this.A1216443003890B1260 = (A1216443003875B369 - _arg2);
this.A1216443003890B979 = (A1216443003890B799 + _arg3);
this.A1216443003875B219 = (A1216443003890B799 - _arg3);
this.A1216443003875B673 = _arg4;
this.A1216443003890B1050 = new A1216443003890B1176(this, _arg1);
A1216443003875B556.A1216443003890B1397().A1216443003875B561("UPDATE_Q", this);
}
override public function A1216443003890B1114(){
if (A1216443003875B673-- > 0){
if (Math.random() > 0.5){
A1216443003875B358.x = A1216443003875B43;
} else {
A1216443003875B358.x = A1216443003890B1260;
};
if (Math.random() > 0.5){
A1216443003875B358.y = A1216443003890B979;
} else {
A1216443003875B358.y = A1216443003875B219;
};
} else {
A1216443003875B358.x = A1216443003875B369;
A1216443003875B358.y = A1216443003890B799;
A1216443003890B853();
A1216443003875B556.A1216443003890B1397().A1216443003875B584("GFX_Q", A1216443003890B1050);
};
}
override protected function A1216443003875B435():Dictionary{
if (A1216443003890B1177 == null){
A1216443003890B1177 = new Dictionary();
};
return (A1216443003890B1177);
}
public function A1216443003890B853(){
A1216443003875B435()[A1216443003875B358] = null;
A1216443003875B556.A1216443003890B1397().A1216443003890B1324("UPDATE_Q", this);
}
}
}//package com.jumbledmind.games.graphics.effects
Section 13
//A1216443003890B1026 (com.jumbledmind.games.graphics.effects.A1216443003890B1026)
package com.jumbledmind.games.graphics.effects {
import flash.utils.*;
import com.jumbledmind.games.util.*;
public class A1216443003890B1026 implements A1216443003890B927 {
protected var A1216443003875B358;
protected var id:int;
protected var A1216443003890B986:A1216443003890B1026;
protected var A1216443003875B673:Number;
public function A1216443003890B1026(_arg1){
var _local2:Dictionary;
var _local3:*;
super();
_local2 = A1216443003875B435();
_local3 = A1216443003890B1022(_local2, _arg1);
if (_local3 != null){
_local3 = _local2[_arg1];
_local3.A1216443003875B673 = 0;
_local3.A1216443003890B853();
_local3 = null;
};
_local2[_arg1] = this;
}
public function A1216443003875B146():int{
return (this.id);
}
public function A1216443003890B1114(){
}
public function A1216443003890B1034(){
return (A1216443003875B358);
}
protected function A1216443003875B435():Dictionary{
return (null);
}
public function A1216443003875B207(_arg1){
A1216443003890B1114();
}
public function A1216443003890B1075(_arg1:A1216443003890B1026):void{
this.A1216443003890B986 = _arg1;
}
protected function A1216443003890B1022(_arg1:Dictionary, _arg2){
return (_arg1[_arg2]);
}
}
}//package com.jumbledmind.games.graphics.effects
Section 14
//A1216443003890B1201 (com.jumbledmind.games.graphics.effects.A1216443003890B1201)
package com.jumbledmind.games.graphics.effects {
import flash.utils.*;
import com.jumbledmind.games.events.*;
import com.jumbledmind.games.*;
public class A1216443003890B1201 extends A1216443003890B1026 {
private var A1216443003890B741:int;
private var A1216443003890B792:A1216443003875B506;
private var A1216443003875B291:int;
private static var A1216443003890B1177:Dictionary;
public function A1216443003890B1201(_arg1, _arg2:int, _arg3:int){
super(_arg1);
this.A1216443003875B358 = _arg1;
this.A1216443003890B741 = _arg2;
this.A1216443003875B673 = _arg3;
this.A1216443003875B291 = ((this.A1216443003890B741 - _arg1.rotation) / _arg3);
this.A1216443003890B792 = new A1216443003875B506(this, _arg1);
A1216443003875B556.A1216443003890B1397().A1216443003875B561("UPDATE_Q", this);
}
override public function A1216443003890B1114(){
if (A1216443003875B673-- > 0){
A1216443003875B358.rotation = (A1216443003875B358.rotation + A1216443003875B291);
} else {
A1216443003890B853();
A1216443003875B556.A1216443003890B1397().A1216443003890B1324("UPDATE_Q", this);
};
}
public function A1216443003890B853(){
A1216443003875B435()[A1216443003875B358] = null;
A1216443003875B556.A1216443003890B1397().A1216443003875B584("GFX_Q", A1216443003890B792);
}
override protected function A1216443003875B435():Dictionary{
if (A1216443003890B1177 == null){
A1216443003890B1177 = new Dictionary();
};
return (A1216443003890B1177);
}
}
}//package com.jumbledmind.games.graphics.effects
Section 15
//A1216443003890B1250 (com.jumbledmind.games.graphics.effects.A1216443003890B1250)
package com.jumbledmind.games.graphics.effects {
import com.jumbledmind.games.events.*;
import com.jumbledmind.games.*;
import com.jumbledmind.games.math.*;
public class A1216443003890B1250 extends A1216443003890B1437 {
protected var A1216443003875B204:A1216443003875B305;
protected var A1216443003890B825:A1216443003875B305;
protected var A1216443003875B267:Number;
protected var A1216443003890B1466:Number;
protected var A1216443003890B894:A1216443003890B1253;
private var A1216443003890B1107:A1216443003875B499;
private var A1216443003875B90:A1216443003875B305;
private static var A1216443003875B570:A1216443003890B1147 = new A1216443003890B1147(0, 1, 0);
public function A1216443003890B1250(_arg1, _arg2:Number, _arg3:Number, _arg4, _arg5, _arg6:Number){
super(_arg1);
this.A1216443003875B358 = _arg1;
this.A1216443003875B673 = _arg6;
this.A1216443003875B267 = (1 / _arg6);
this.A1216443003890B1466 = 0;
this.A1216443003875B90 = new A1216443003875B305();
A1216443003890B825 = new A1216443003875B305();
A1216443003890B825.x = _arg1.x;
A1216443003890B825.y = _arg1.y;
A1216443003875B204 = new A1216443003875B305();
A1216443003875B204.x = _arg2;
A1216443003875B204.y = _arg3;
A1216443003890B1107 = new A1216443003875B499(A1216443003890B825, A1216443003875B204, A1216443003875B570, _arg4, _arg5);
this.A1216443003890B894 = new A1216443003890B1253(this, _arg1);
A1216443003875B556.A1216443003890B1397().A1216443003875B561("UPDATE_Q", this);
}
public function A1216443003890B853(){
A1216443003875B435()[A1216443003875B358] = null;
A1216443003875B556.A1216443003890B1397().A1216443003890B1324("UPDATE_Q", this);
}
override public function A1216443003890B1114(){
if (A1216443003875B673-- > 0){
A1216443003890B1107.A1216443003890B1381(A1216443003890B1466, A1216443003875B90);
A1216443003875B358.x = A1216443003875B90.x;
A1216443003875B358.y = A1216443003875B90.y;
A1216443003890B1466 = (A1216443003890B1466 + A1216443003875B267);
} else {
A1216443003875B358.x = A1216443003875B204.x;
A1216443003875B358.y = A1216443003875B204.y;
A1216443003890B853();
A1216443003875B556.A1216443003890B1397().A1216443003875B584("GFX_Q", A1216443003890B894);
};
}
}
}//package com.jumbledmind.games.graphics.effects
Section 16
//A1216443003890B1430 (com.jumbledmind.games.graphics.effects.A1216443003890B1430)
package com.jumbledmind.games.graphics.effects {
import com.jumbledmind.games.events.*;
import com.jumbledmind.games.*;
public class A1216443003890B1430 extends A1216443003890B1437 {
protected var A1216443003875B329:Number;
protected var A1216443003890B1421:Number;
protected var A1216443003890B894:A1216443003890B1253;
protected var A1216443003875B379:Number;
protected var A1216443003890B768:Number;
public function A1216443003890B1430(_arg1, _arg2:Number, _arg3:Number, _arg4:Number){
super(_arg1);
this.A1216443003875B358 = _arg1;
this.A1216443003890B768 = _arg2;
this.A1216443003875B379 = _arg3;
this.A1216443003875B673 = _arg4;
this.A1216443003875B329 = ((_arg2 - _arg1.x) / _arg4);
this.A1216443003890B1421 = ((_arg3 - _arg1.y) / _arg4);
this.A1216443003890B894 = new A1216443003890B1253(this, _arg1);
A1216443003875B556.A1216443003890B1397().A1216443003875B561("UPDATE_Q", this);
}
public function A1216443003890B853(){
A1216443003890B1177[A1216443003875B358] = null;
A1216443003875B556.A1216443003890B1397().A1216443003890B1324("UPDATE_Q", this);
}
override public function A1216443003890B1114(){
if (A1216443003875B673-- > 0){
A1216443003875B358.x = (A1216443003875B358.x + this.A1216443003875B329);
A1216443003875B358.y = (A1216443003875B358.y + this.A1216443003890B1421);
} else {
A1216443003875B358.x = A1216443003890B768;
A1216443003875B358.y = A1216443003875B379;
A1216443003890B853();
A1216443003875B556.A1216443003890B1397().A1216443003875B584("GFX_Q", A1216443003890B894);
};
}
}
}//package com.jumbledmind.games.graphics.effects
Section 17
//A1216443003890B1437 (com.jumbledmind.games.graphics.effects.A1216443003890B1437)
package com.jumbledmind.games.graphics.effects {
import flash.utils.*;
public class A1216443003890B1437 extends A1216443003890B1026 {
protected static var A1216443003890B1177:Dictionary = null;
public function A1216443003890B1437(_arg1:Object){
super(_arg1);
}
override protected function A1216443003875B435():Dictionary{
if (A1216443003890B1177 == null){
A1216443003890B1177 = new Dictionary();
};
return (A1216443003890B1177);
}
}
}//package com.jumbledmind.games.graphics.effects
Section 18
//A1216443003875B139 (com.jumbledmind.games.input.A1216443003875B139)
package com.jumbledmind.games.input {
public class A1216443003875B139 extends A1216443003890B1202 {
public function A1216443003875B139(_arg1:uint){
super(_arg1);
this.A1216443003875B222 = false;
}
}
}//package com.jumbledmind.games.input
Section 19
//A1216443003875B8 (com.jumbledmind.games.input.A1216443003875B8)
package com.jumbledmind.games.input {
public class A1216443003875B8 extends A1216443003890B1202 {
public function A1216443003875B8(_arg1:uint){
super(_arg1);
this.A1216443003890B971 = true;
}
}
}//package com.jumbledmind.games.input
Section 20
//A1216443003890B1202 (com.jumbledmind.games.input.A1216443003890B1202)
package com.jumbledmind.games.input {
import com.jumbledmind.games.events.*;
public class A1216443003890B1202 extends A1216443003875B280 {
public var A1216443003875B309:int;
public var keyCode:uint;
public var A1216443003890B971:Boolean;// = false
public var A1216443003890B1376:int;
public var A1216443003875B222:Boolean;// = true
public static var A1216443003890B806:String = "KEYBOARD_EVENT";
public function A1216443003890B1202(_arg1:uint){
A1216443003890B971 = false;
A1216443003875B222 = true;
super(null);
this.keyCode = _arg1;
this.A1216443003890B1361 = A1216443003890B1202.A1216443003890B806;
}
}
}//package com.jumbledmind.games.input
Section 21
//A1216443003890B1238 (com.jumbledmind.games.input.A1216443003890B1238)
package com.jumbledmind.games.input {
import flash.utils.*;
import com.jumbledmind.games.util.*;
public class A1216443003890B1238 {
public var A1216443003875B50:Dictionary;
private var A1216443003890B880:A1216443003890B1329;
public var x:int;
public var y:int;
public var A1216443003890B1153:Boolean;
public function A1216443003890B1238(){
A1216443003875B50 = new Dictionary();
}
public function A1216443003890B1267(_arg1:int, _arg2:Boolean):void{
A1216443003875B50[_arg1] = _arg2;
}
public function A1216443003875B642(_arg1:int, _arg2:int){
A1216443003890B1153 = true;
this.x = _arg1;
this.y = _arg2;
}
public function clear(_arg1:A1216443003890B830):void{
A1216443003890B1153 = false;
}
}
}//package com.jumbledmind.games.input
Section 22
//A1216443003890B1307 (com.jumbledmind.games.input.A1216443003890B1307)
package com.jumbledmind.games.input {
import flash.events.*;
import flash.utils.*;
import com.jumbledmind.games.*;
public class A1216443003890B1307 {
protected var A1216443003890B1392:Dictionary;
protected var A1216443003875B14:A1216443003875B556;
public function A1216443003890B1307(){
A1216443003890B1392 = A1216443003890B874();
A1216443003875B14 = A1216443003875B556.A1216443003890B1397();
}
public function A1216443003875B324(_arg1:uint):Boolean{
return (A1216443003890B1392[_arg1]);
}
public function A1216443003875B639(_arg1:KeyboardEvent){
A1216443003875B14.A1216443003875B508(new A1216443003875B139(_arg1.keyCode));
A1216443003890B1392[_arg1.keyCode] = false;
}
public function A1216443003890B1460(_arg1:KeyboardEvent){
if (A1216443003890B1392[_arg1.keyCode] == false){
A1216443003875B14.A1216443003875B508(new A1216443003875B8(_arg1.keyCode));
} else {
A1216443003875B14.A1216443003875B508(new A1216443003890B867(_arg1.keyCode));
};
A1216443003890B1392[_arg1.keyCode] = true;
}
public function A1216443003890B874():Dictionary{
var _local1:*;
var _local2:int;
_local1 = new Dictionary();
_local1[37] = false;
_local1[38] = false;
_local1[39] = false;
_local1[40] = false;
_local1[191] = false;
_local2 = 65;
while (_local2 <= 90) {
_local1[_local2] = false;
_local2++;
};
_local2 = 48;
while (_local2 <= 57) {
_local1[_local2] = false;
_local2++;
};
return (_local1);
}
public function A1216443003890B1113(_arg1:MouseEvent){
A1216443003875B14.A1216443003875B508(new A1216443003890B764(_arg1.stageX, _arg1.stageY));
}
public static function A1216443003875B437(_arg1:int):String{
switch (_arg1){
case 65:
return ("a");
case 66:
return ("b");
case 67:
return ("c");
case 68:
return ("d");
case 69:
return ("e");
case 70:
return ("f");
case 71:
return ("g");
case 72:
return ("h");
case 73:
return ("i");
case 74:
return ("j");
case 75:
return ("k");
case 76:
return ("l");
case 77:
return ("m");
case 78:
return ("n");
case 79:
return ("o");
case 80:
return ("p");
case 81:
return ("q");
case 82:
return ("r");
case 83:
return ("s");
case 84:
return ("t");
case 85:
return ("u");
case 86:
return ("v");
case 87:
return ("w");
case 88:
return ("x");
case 89:
return ("y");
case 90:
return ("z");
case 48:
return ("0");
case 49:
return ("1");
case 50:
return ("2");
case 51:
return ("3");
case 52:
return ("4");
case 53:
return ("5");
case 54:
return ("6");
case 55:
return ("7");
case 56:
return ("8");
case 57:
return ("9");
case 32:
return ("SPACE");
case 37:
return ("LEFT ARROW");
case 38:
return ("UP ARROW");
case 39:
return ("RIGHT ARROW");
case 40:
return ("DOWN ARROW");
case 191:
return ("/");
};
return (("" + _arg1));
}
}
}//package com.jumbledmind.games.input
Section 23
//A1216443003890B1351 (com.jumbledmind.games.input.A1216443003890B1351)
package com.jumbledmind.games.input {
import flash.utils.*;
import com.jumbledmind.games.util.*;
import com.jumbledmind.games.*;
public class A1216443003890B1351 {
protected var A1216443003875B562:A1216443003890B830;
protected var A1216443003875B319:Dictionary;
protected var A1216443003890B880:A1216443003890B1329;
protected var A1216443003890B801:A1216443003890B1238;
public function A1216443003890B1351(){
A1216443003875B319 = new Dictionary();
A1216443003875B562 = new A1216443003890B830();
A1216443003890B801 = new A1216443003890B1238();
}
public function A1216443003890B837(_arg1:int){
A1216443003875B319[_arg1] = null;
A1216443003875B562.A1216443003890B875(_arg1);
}
public function A1216443003875B647(_arg1:int, _arg2:int){
A1216443003875B562.A1216443003890B866(_arg1);
A1216443003890B1247(_arg1, _arg2);
}
public function A1216443003890B1247(_arg1:int, _arg2:int){
A1216443003875B319[_arg1] = _arg2;
}
public function A1216443003875B228():A1216443003890B1238{
A1216443003890B801.clear(A1216443003875B562);
return (A1216443003890B801);
}
public function A1216443003875B250(_arg1:int):uint{
return (A1216443003875B319[_arg1]);
}
public function A1216443003890B1272(_arg1:int):int{
var _local2:int;
A1216443003890B880 = A1216443003875B562.A1216443003890B880();
while (A1216443003890B880.A1216443003890B1366()) {
_local2 = A1216443003890B880.A1216443003875B331();
if (A1216443003875B319[_local2] == _arg1){
return (_local2);
};
};
return (-1);
}
public static function A1216443003875B448(_arg1:A1216443003890B1351):A1216443003890B1238{
var _local2:*;
var _local3:A1216443003890B1238;
var _local4:int;
var _local5:A1216443003890B764;
var _local6:A1216443003890B1202;
_local2 = A1216443003875B556.A1216443003890B1397().A1216443003890B1119("KEYBOARD_Q");
_local3 = _arg1.A1216443003875B228();
while (_local2 != null) {
if (_local2.A1216443003890B1010() == A1216443003890B764.A1216443003890B806){
_local5 = (_local2 as A1216443003890B764);
_local3.A1216443003875B642(_local5.x, _local5.y);
} else {
if (_local2.A1216443003890B1010() == A1216443003890B1202.A1216443003890B806){
_local6 = (_local2 as A1216443003890B1202);
_local4 = _arg1.A1216443003890B1272(_local6.keyCode);
if (_local4 != -1){
_local3.A1216443003890B1267(_local4, _local6.A1216443003875B222);
};
};
};
_local2 = A1216443003875B556.A1216443003890B1397().A1216443003890B1119("KEYBOARD_Q");
};
return (_local3);
}
public static function A1216443003890B713():void{
var _local1:*;
_local1 = A1216443003875B556.A1216443003890B1397().A1216443003890B1119("KEYBOARD_Q");
while (_local1 != null) {
_local1 = A1216443003875B556.A1216443003890B1397().A1216443003890B1119("KEYBOARD_Q");
};
}
}
}//package com.jumbledmind.games.input
Section 24
//A1216443003890B764 (com.jumbledmind.games.input.A1216443003890B764)
package com.jumbledmind.games.input {
import com.jumbledmind.games.events.*;
public class A1216443003890B764 extends A1216443003875B280 {
public var x:int;
public var y:int;
public static var A1216443003890B806:String = "MOUSE_EVENT";
public function A1216443003890B764(_arg1:int, _arg2:int){
super(null);
this.x = _arg1;
this.y = _arg2;
this.A1216443003890B1361 = A1216443003890B764.A1216443003890B806;
}
}
}//package com.jumbledmind.games.input
Section 25
//A1216443003890B867 (com.jumbledmind.games.input.A1216443003890B867)
package com.jumbledmind.games.input {
public class A1216443003890B867 extends A1216443003890B1202 {
public function A1216443003890B867(_arg1:uint){
super(_arg1);
}
}
}//package com.jumbledmind.games.input
Section 26
//A1216443003875B305 (com.jumbledmind.games.math.A1216443003875B305)
package com.jumbledmind.games.math {
public class A1216443003875B305 {
public var x:Number;
public var y:Number;
public function A1216443003890B707(){
var _local1:Number;
_local1 = Math.sqrt(((x * x) + (y * y)));
if (_local1 == 0){
this.x = 0;
this.y = 0;
} else {
this.x = (this.x / _local1);
this.y = (this.y / _local1);
};
}
public function A1216443003875B65(_arg1:A1216443003875B305, _arg2:A1216443003875B305):A1216443003875B305{
_arg2.x = (x - _arg1.x);
_arg2.y = (y - _arg1.y);
return (_arg2);
}
}
}//package com.jumbledmind.games.math
Section 27
//A1216443003875B499 (com.jumbledmind.games.math.A1216443003875B499)
package com.jumbledmind.games.math {
public class A1216443003875B499 {
public var A1216443003890B825:A1216443003875B305;
public var A1216443003875B204:A1216443003875B305;
public var A1216443003875B680:A1216443003875B305;
public function A1216443003875B499(_arg1:A1216443003875B305, _arg2:A1216443003875B305, _arg3:A1216443003890B1147, _arg4:Number, _arg5:Number){
var _local6:A1216443003890B1147;
var _local7:A1216443003890B1147;
super();
this.A1216443003890B825 = _arg1;
this.A1216443003875B680 = _arg2;
_local6 = new A1216443003890B1147((_arg2.x - _arg1.x), 0, (_arg2.y - _arg1.y));
_local7 = new A1216443003890B1147(0, 0, 0);
A1216443003890B746.A1216443003875B352(_local6, _arg3, _local7);
_local7.A1216443003890B707();
A1216443003875B204 = new A1216443003875B305();
A1216443003875B204.x = ((_arg1.x + (_local7.x * _arg5)) + (_local6.x * _arg4));
A1216443003875B204.y = ((_arg1.y + (_local7.A1216443003890B1283 * _arg5)) + (_local6.A1216443003890B1283 * _arg4));
}
public function A1216443003890B1381(_arg1:Number, _arg2:A1216443003875B305):A1216443003875B305{
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
_local3 = (1 - _arg1);
_local4 = (_local3 * _local3);
_local5 = (_arg1 * _arg1);
_local6 = ((2 * _arg1) * _local3);
_arg2.x = (((_local4 * A1216443003890B825.x) + (_local6 * A1216443003875B204.x)) + (_local5 * A1216443003875B680.x));
_arg2.y = (((_local4 * A1216443003890B825.y) + (_local6 * A1216443003875B204.y)) + (_local5 * A1216443003875B680.y));
return (_arg2);
}
public function A1216443003875B439():void{
A1216443003875B204.y = -(A1216443003875B204.y);
}
}
}//package com.jumbledmind.games.math
Section 28
//A1216443003890B1147 (com.jumbledmind.games.math.A1216443003890B1147)
package com.jumbledmind.games.math {
public class A1216443003890B1147 {
public var A1216443003890B1283:Number;
public var x:Number;
public var y:Number;
public function A1216443003890B1147(_arg1:Number, _arg2:Number, _arg3:Number){
this.x = _arg1;
this.y = _arg2;
this.A1216443003890B1283 = _arg3;
}
public function A1216443003890B707(){
var _local1:Number;
_local1 = Math.sqrt((((x * x) + (y * y)) + (A1216443003890B1283 * A1216443003890B1283)));
if (_local1 == 0){
this.x = 0;
this.y = 0;
this.A1216443003890B1283 = 0;
} else {
this.x = (this.x / _local1);
this.y = (this.y / _local1);
this.A1216443003890B1283 = (this.A1216443003890B1283 / _local1);
};
}
public function A1216443003875B65(_arg1:Number){
x = (x - _arg1);
y = (y - _arg1);
A1216443003890B1283 = (A1216443003890B1283 - _arg1);
}
public function A1216443003875B546(_arg1:Number){
x = (x * _arg1);
y = (y * _arg1);
A1216443003890B1283 = (A1216443003890B1283 * _arg1);
}
}
}//package com.jumbledmind.games.math
Section 29
//A1216443003890B1431 (com.jumbledmind.games.math.A1216443003890B1431)
package com.jumbledmind.games.math {
public class A1216443003890B1431 {
protected var A1216443003890B1409:uint;
protected var A1216443003875B170:uint;
public function A1216443003890B1431(_arg1:uint, _arg2:uint){
this.A1216443003875B170 = _arg1;
this.A1216443003890B1409 = _arg2;
}
public function random():Number{
return (((A1216443003890B1409 = (((A1216443003890B1409 * 16807) + 2.33E-10) % 2147483647)) / 2147483647));
}
public function A1216443003890B751(_arg1:uint){
this.A1216443003890B1409 = _arg1;
}
}
}//package com.jumbledmind.games.math
Section 30
//A1216443003890B746 (com.jumbledmind.games.math.A1216443003890B746)
package com.jumbledmind.games.math {
public class A1216443003890B746 {
public static var A1216443003890B1268:Array = A1216443003875B281();
public static var A1216443003875B691:Array = A1216443003875B58();
public static function A1216443003875B608(_arg1:int):Number{
if (_arg1 < 0){
_arg1 = (_arg1 + 360);
} else {
if (_arg1 > 360){
_arg1 = (_arg1 - 360);
};
};
return (A1216443003890B1268[Math.round(_arg1)]);
}
public static function A1216443003875B534(_arg1:int):Number{
if (_arg1 < 0){
_arg1 = (_arg1 + 360);
} else {
if (_arg1 > 360){
_arg1 = (_arg1 - 360);
};
};
return (A1216443003875B691[Math.round(_arg1)]);
}
public static function A1216443003875B281():Array{
var _local1:*;
_local1 = new Array();
_local1[0] = 0;
_local1[1] = 0.017452408164466;
_local1[2] = 0.0348995001552874;
_local1[3] = 0.0523359614181782;
_local1[4] = 0.0697564806370756;
_local1[5] = 0.0871557476409042;
_local1[6] = 0.104528473575548;
_local1[7] = 0.121869351709611;
_local1[8] = 0.139173114645139;
_local1[9] = 0.156434469357554;
_local1[10] = 0.173648187341558;
_local1[11] = 0.190808995745096;
_local1[12] = 0.20791171109412;
_local1[13] = 0.224951065335657;
_local1[14] = 0.241921911836264;
_local1[15] = 0.258819052139514;
_local1[16] = 0.275637382385435;
_local1[17] = 0.292371722118593;
_local1[18] = 0.309017002689348;
_local1[19] = 0.325568153789481;
_local1[20] = 0.342020161788514;
_local1[21] = 0.35836795906719;
_local1[22] = 0.374606594112133;
_local1[23] = 0.390731147916341;
_local1[24] = 0.406736680950201;
_local1[25] = 0.422618290751854;
_local1[26] = 0.438371167067527;
_local1[27] = 0.45399053797775;
_local1[28] = 0.469471592335775;
_local1[29] = 0.484809667319428;
_local1[30] = 0.500000012618391;
_local1[31] = 0.515038104846074;
_local1[32] = 0.529919311111825;
_local1[33] = 0.544639048456828;
_local1[34] = 0.5591929336323;
_local1[35] = 0.573576482825885;
_local1[36] = 0.587785266437776;
_local1[37] = 0.60181505337118;
_local1[38] = 0.615661474212755;
_local1[39] = 0.629320405770227;
_local1[40] = 0.642787639788638;
_local1[41] = 0.656059029024282;
_local1[42] = 0.669130621518008;
_local1[43] = 0.681998389867023;
_local1[44] = 0.6946583715393;
_local1[45] = 0.707106796640858;
_local1[46] = 0.719339829659897;
_local1[47] = 0.731353703637097;
_local1[48] = 0.743144880959953;
_local1[49] = 0.754709608870664;
_local1[50] = 0.766044484270583;
_local1[51] = 0.777145977045103;
_local1[52] = 0.788010781387635;
_local1[53] = 0.798635513581714;
_local1[54] = 0.809017044825422;
_local1[55] = 0.819152036818782;
_local1[56] = 0.829037609984409;
_local1[57] = 0.838670583023146;
_local1[58] = 0.848048153198214;
_local1[59] = 0.857167305227767;
_local1[60] = 0.866025418354902;
_local1[61] = 0.874619731134961;
_local1[62] = 0.882947625650913;
_local1[63] = 0.891006511019614;
_local1[64] = 0.898794094763948;
_local1[65] = 0.906307791981758;
_local1[66] = 0.913545470680551;
_local1[67] = 0.920504873930234;
_local1[68] = 0.927183881824215;
_local1[69] = 0.933580417146457;
_local1[70] = 0.939692659595136;
_local1[71] = 0.945518580357565;
_local1[72] = 0.951056527101203;
_local1[73] = 0.956304772137917;
_local1[74] = 0.961261716797698;
_local1[75] = 0.965925820290034;
_local1[76] = 0.970295725592666;
_local1[77] = 0.974370068728471;
_local1[78] = 0.978147608610166;
_local1[79] = 0.981627194559825;
_local1[80] = 0.984807766659389;
_local1[81] = 0.987688337425088;
_local1[82] = 0.990268068754027;
_local1[83] = 0.992546154132746;
_local1[84] = 0.994521899632751;
_local1[85] = 0.996194693031647;
_local1[86] = 0.997564055945329;
_local1[87] = 0.998629533846529;
_local1[88] = 0.99939082712392;
_local1[89] = 0.999847695564035;
_local1[90] = 1;
_local1[91] = 0.999847694038296;
_local1[92] = 0.999390824072905;
_local1[93] = 0.998629535510107;
_local1[94] = 0.997564049847027;
_local1[95] = 0.996194685412241;
_local1[96] = 0.994521878033806;
_local1[97] = 0.992546158006546;
_local1[98] = 0.990268056587124;
_local1[99] = 0.987688323749147;
_local1[100] = 0.984807730778101;
_local1[101] = 0.981627177878774;
_local1[102] = 0.978147590433948;
_local1[103] = 0.974370049062623;
_local1[104] = 0.970295704443178;
_local1[105] = 0.965925828516989;
_local1[106] = 0.961261692700717;
_local1[107] = 0.95630474657797;
_local1[108] = 0.951056463248368;
_local1[109] = 0.94551859070624;
_local1[110] = 0.93969262969479;
_local1[111] = 0.933580385816929;
_local1[112] = 0.927183804418473;
_local1[113] = 0.920504839771433;
_local1[114] = 0.913545435122502;
_local1[115] = 0.906307755035292;
_local1[116] = 0.898793951924482;
_local1[117] = 0.891006579570266;
_local1[118] = 0.882947584608406;
_local1[119] = 0.874619630957737;
_local1[120] = 0.86602537464351;
_local1[121] = 0.857167321599029;
_local1[122] = 0.848048043699901;
_local1[123] = 0.838670567872304;
_local1[124] = 0.829037494437216;
_local1[125] = 0.819152020862954;
_local1[126] = 0.809017028474334;
_local1[127] = 0.79863546096937;
_local1[128] = 0.788010617475929;
_local1[129] = 0.777146034559415;
_local1[130] = 0.766044428076305;
_local1[131] = 0.754709473307819;
_local1[132] = 0.743144782579404;
_local1[133] = 0.731353725315444;
_local1[134] = 0.719339727526062;
_local1[135] = 0.707106776970466;
_local1[136] = 0.694658265776615;
_local1[137] = 0.681998325930049;
_local1[138] = 0.669130645139988;
_local1[139] = 0.65605896304547;
_local1[140] = 0.642787435839466;
_local1[141] = 0.629320291508453;
_local1[142] = 0.615661452291765;
_local1[143] = 0.601814888347464;
_local1[144] = 0.58778519571126;
_local1[145] = 0.573576264737525;
_local1[146] = 0.559192811741037;
_local1[147] = 0.544639025126576;
_local1[148] = 0.529919135877887;
_local1[149] = 0.515038029910125;
_local1[150] = 0.500000040146316;
_local1[151] = 0.484809538726344;
_local1[152] = 0.46947156777382;
_local1[153] = 0.453990380421288;
_local1[154] = 0.438371115278603;
_local1[155] = 0.422618319560215;
_local1[156] = 0.40673657385974;
_local1[157] = 0.390730930277327;
_local1[158] = 0.374606485422909;
_local1[159] = 0.358367933096723;
_local1[160] = 0.342019995622901;
_local1[161] = 0.325568099308268;
_local1[162] = 0.309017032920115;
_local1[163] = 0.292371610015668;
_local1[164] = 0.275637355644927;
_local1[165] = 0.258818910121925;
_local1[166] = 0.24192185592738;
_local1[167] = 0.224951110826725;
_local1[168] = 0.207911611006202;
_local1[169] = 0.19080877828205;
_local1[170] = 0.173648292019054;
_local1[171] = 0.156434441881906;
_local1[172] = 0.139172939536285;
_local1[173] = 0.121869279728557;
_local1[174] = 0.104528497778162;
_local1[175] = 0.0871556382841071;
_local1[176] = 0.0697564677515667;
_local1[177] = 0.052335810872064;
_local1[178] = 0.0348994500159725;
_local1[179] = 0.0174524585697488;
_local1[180] = 0;
_local1[181] = -0.0174523950064122;
_local1[182] = -0.0348996247550211;
_local1[183] = -0.0523359854780048;
_local1[184] = -0.0697566421712107;
_local1[185] = -0.0871558124643272;
_local1[186] = -0.104528434553403;
_local1[187] = -0.121869453270844;
_local1[188] = -0.139173112680262;
_local1[189] = -0.156434379091576;
_local1[190] = -0.173648464208311;
_local1[191] = -0.190808949915209;
_local1[192] = -0.207912015239517;
_local1[193] = -0.224951281190999;
_local1[194] = -0.24192179424275;
_local1[195] = -0.258819309304423;
_local1[196] = -0.275637523717262;
_local1[197] = -0.292371549220486;
_local1[198] = -0.309017199208117;
_local1[199] = -0.325568264627991;
_local1[200] = -0.342020383964156;
_local1[201] = -0.358368096329111;
_local1[202] = -0.374606647536891;
_local1[203] = -0.390731310688974;
_local1[204] = -0.406736733589106;
_local1[205] = -0.422618261943493;
_local1[206] = -0.438371272428747;
_local1[207] = -0.453990536209826;
_local1[208] = -0.469471722153278;
_local1[209] = -0.484809691649717;
_local1[210] = -0.499999985090467;
_local1[211] = -0.515038179782018;
_local1[212] = -0.529919284155337;
_local1[213] = -0.544638971809755;
_local1[214] = -0.559192956694578;
_local1[215] = -0.573576407962635;
_local1[216] = -0.587785530048938;
_local1[217] = -0.601815027985345;
_local1[218] = -0.61566140219554;
_local1[219] = -0.629320612674989;
_local1[220] = -0.642787569778951;
_local1[221] = -0.656058915066298;
_local1[222] = -0.669130775075544;
_local1[223] = -0.681998453803992;
_local1[224] = -0.69465856305394;
_local1[225] = -0.707106900604937;
_local1[226] = -0.719339848983996;
_local1[227] = -0.731353844559814;
_local1[228] = -0.743144899573916;
_local1[229] = -0.754709744433476;
_local1[230] = -0.766044540464856;
_local1[231] = -0.777145994551622;
_local1[232] = -0.788011018691819;
_local1[233] = -0.798635709677896;
_local1[234] = -0.809016850968103;
_local1[235] = -0.819152121150241;
_local1[236] = -0.82903759220962;
_local1[237] = -0.838670792952014;
_local1[238] = -0.848048262696491;
_local1[239] = -0.857167411651131;
_local1[240] = -0.866025462066286;
_local1[241] = -0.874619715724557;
_local1[242] = -0.882947554762678;
_local1[243] = -0.891006658948457;
_local1[244] = -0.89879413308756;
_local1[245] = -0.906307828928217;
_local1[246] = -0.913545457751814;
_local1[247] = -0.920504814931472;
_local1[248] = -0.927183959229917;
_local1[249] = -0.933580491196754;
_local1[250] = -0.939692648723512;
_local1[251] = -0.94551857000889;
_local1[252] = -0.951056480440929;
_local1[253] = -0.956304832551256;
_local1[254] = -0.961261740894672;
_local1[0xFF] = -0.965925842916713;
_local1[0x0100] = -0.970295833260068;
_local1[0x0101] = -0.974370034761799;
_local1[258] = -0.978147552431344;
_local1[259] = -0.981627211240869;
_local1[260] = -0.984807761139721;
_local1[261] = -0.987688407046259;
_local1[262] = -0.990268114102327;
_local1[263] = -0.992546179314835;
_local1[264] = -0.994521908770913;
_local1[265] = -0.996194700651046;
_local1[266] = -0.997564045412395;
_local1[267] = -0.998629550899701;
_local1[268] = -0.999390834335253;
_local1[269] = -0.999847697089768;
_local1[270] = -1;
_local1[271] = -0.999847696673534;
_local1[272] = -0.999390816861511;
_local1[273] = -0.998629524695801;
_local1[274] = -0.997564043748718;
_local1[275] = -0.996194698572403;
_local1[276] = -0.994521906277937;
_local1[277] = -0.992546118296437;
_local1[278] = -0.990268044420213;
_local1[279] = -0.987688328721655;
_local1[280] = -0.98480767419625;
_local1[281] = -0.981627206690123;
_local1[282] = -0.978147547472694;
_local1[283] = -0.974370029396766;
_local1[284] = -0.970295712133033;
_local1[285] = -0.965925713329313;
_local1[286] = -0.961261602886612;
_local1[287] = -0.956304825578266;
_local1[288] = -0.951056473070945;
_local1[289] = -0.945518562244167;
_local1[290] = -0.939692477478421;
_local1[291] = -0.933580311766576;
_local1[292] = -0.927183771669309;
_local1[293] = -0.920504805612625;
_local1[294] = -0.913545448051242;
_local1[295] = -0.906307818848874;
_local1[296] = -0.898793913600837;
_local1[297] = -0.891006431641373;
_local1[298] = -0.882947543565892;
_local1[299] = -0.874619704161963;
_local1[300] = -0.866025450141408;
_local1[301] = -0.857167153778289;
_local1[302] = -0.848047997372875;
_local1[303] = -0.838670520258442;
_local1[304] = -0.829037578873003;
_local1[305] = -0.819152107470582;
_local1[306] = -0.809016836949561;
_local1[307] = -0.798635408357018;
_local1[308] = -0.788010710438242;
_local1[309] = -0.777145679459057;
_local1[310] = -0.766044525134528;
_local1[311] = -0.754709728786629;
_local1[312] = -0.743144724082139;
_local1[313] = -0.731353665693251;
_local1[314] = -0.719339501177572;
_local1[315] = -0.707106546565792;
_local1[316] = -0.694658202889918;
_local1[317] = -0.68199826199307;
_local1[318] = -0.669130580172202;
_local1[319] = -0.656058717129821;
_local1[320] = -0.642787368869716;
_local1[321] = -0.629320223568183;
_local1[322] = -0.61566138340167;
_local1[323] = -0.601815008938079;
_local1[324] = -0.587785317869427;
_local1[325] = -0.573576193124963;
_local1[326] = -0.55919273926426;
_local1[327] = -0.544638951807661;
_local1[328] = -0.529919263929593;
_local1[329] = -0.515038159338785;
_local1[330] = -0.499999757959402;
_local1[331] = -0.484809462264652;
_local1[332] = -0.469471490584085;
_local1[333] = -0.453990090094467;
_local1[334] = -0.438371250992725;
_local1[335] = -0.42261802424764;
_local1[336] = -0.406736493995052;
_local1[337] = -0.390731069269701;
_local1[338] = -0.374606183308027;
_local1[339] = -0.358367628897587;
_local1[340] = -0.342020361552714;
_local1[341] = -0.325568016648402;
_local1[342] = -0.30901694977611;
_local1[343] = -0.292371298412002;
_local1[344] = -0.275637042426095;
_local1[345] = -0.258818825678;
_local1[346] = -0.241921771101428;
_local1[347] = -0.224951025644586;
_local1[348] = -0.20791175870238;
_local1[349] = -0.190808692465468;
_local1[350] = -0.173647971127954;
_local1[351] = -0.156434355535445;
_local1[352] = -0.139173089062605;
_local1[353] = -0.121869429598856;
_local1[354] = -0.104528173721792;
_local1[355] = -0.0871555511939961;
_local1[356] = -0.0697563805417439;
_local1[357] = -0.0523359616609291;
_local1[358] = -0.0348996009197889;
_local1[359] = -0.0174521327780163;
_local1[360] = 0;
return (_local1);
}
public static function A1216443003875B352(_arg1:A1216443003890B1147, _arg2:A1216443003890B1147, _arg3:A1216443003890B1147):A1216443003890B1147{
_arg3.x = ((_arg1.y * _arg2.A1216443003890B1283) - (_arg1.A1216443003890B1283 * _arg2.y));
_arg3.y = ((_arg1.A1216443003890B1283 * _arg2.x) - (_arg1.x * _arg2.A1216443003890B1283));
_arg3.A1216443003890B1283 = ((_arg1.x * _arg2.y) - (_arg1.y * _arg2.x));
return (_arg3);
}
public static function A1216443003875B58():Array{
var _local1:*;
_local1 = new Array();
_local1[0] = 1;
_local1[1] = 0.999847695126243;
_local1[2] = 0.999390826898522;
_local1[3] = 0.998629534483351;
_local1[4] = 0.997564049777822;
_local1[5] = 0.996194697663642;
_local1[6] = 0.99452189428487;
_local1[7] = 0.992546150621662;
_local1[8] = 0.990268066818259;
_local1[9] = 0.987688339911341;
_local1[10] = 0.98480775130631;
_local1[11] = 0.981627183376025;
_local1[12] = 0.978147596423932;
_local1[13] = 0.97437006224758;
_local1[14] = 0.970295722227758;
_local1[15] = 0.965925824403512;
_local1[16] = 0.961261688319942;
_local1[17] = 0.956304750644588;
_local1[18] = 0.951056513593641;
_local1[19] = 0.945518575829216;
_local1[20] = 0.939692614065982;
_local1[21] = 0.933580422842091;
_local1[22] = 0.927183854285496;
_local1[23] = 0.920504845206139;
_local1[24] = 0.91354544077983;
_local1[25] = 0.906307773508526;
_local1[26] = 0.898794036408706;
_local1[27] = 0.891006504705029;
_local1[28] = 0.882947577146974;
_local1[29] = 0.874619681046354;
_local1[30] = 0.866025396499207;
_local1[31] = 0.857167282714736;
_local1[32] = 0.848048066863411;
_local1[33] = 0.838670559216216;
_local1[34] = 0.829037552210817;
_local1[35] = 0.819152011746957;
_local1[36] = 0.809016984097783;
_local1[37] = 0.798635487275543;
_local1[38] = 0.788010754476217;
_local1[39] = 0.777145949536634;
_local1[40] = 0.766044417860317;
_local1[41] = 0.754709580193412;
_local1[42] = 0.743144811828034;
_local1[43] = 0.731353673826001;
_local1[44] = 0.719339799295415;
_local1[45] = 0.707106765732237;
_local1[46] = 0.694658340095957;
_local1[47] = 0.681998357898537;
_local1[48] = 0.66913054473923;
_local1[49] = 0.656058996034876;
_local1[50] = 0.642787560643963;
_local1[51] = 0.629320371800097;
_local1[52] = 0.615661439767709;
_local1[53] = 0.601815018461712;
_local1[54] = 0.587785182853346;
_local1[55] = 0.573576447019612;
_local1[56] = 0.559192847979424;
_local1[57] = 0.544639011797371;
_local1[58] = 0.529919172947251;
_local1[59] = 0.5150380673781;
_local1[60] = 0.499999974763217;
_local1[61] = 0.484809576957188;
_local1[62] = 0.46947150111313;
_local1[63] = 0.45399052558468;
_local1[64] = 0.438371047421537;
_local1[65] = 0.422618251135881;
_local1[66] = 0.406736613792083;
_local1[67] = 0.390731080246611;
_local1[68] = 0.374606525951405;
_local1[69] = 0.358367973904821;
_local1[70] = 0.342020036698174;
_local1[71] = 0.325568140638199;
_local1[72] = 0.309016961117345;
_local1[73] = 0.29237165181708;
_local1[74] = 0.275637283071687;
_local1[75] = 0.258819067491219;
_local1[76] = 0.241921898340355;
_local1[77] = 0.224951037263832;
_local1[78] = 0.207911653762393;
_local1[79] = 0.190808938209422;
_local1[80] = 0.173648100269905;
_local1[81] = 0.156434485055136;
_local1[82] = 0.139173100871433;
_local1[83] = 0.121869323114129;
_local1[84] = 0.104528422693848;
_local1[85] = 0.0871558005848246;
_local1[86] = 0.069756392437576;
_local1[87] = 0.0523359735694669;
_local1[88] = 0.0348994937007348;
_local1[89] = 0.017452383083348;
_local1[90] = 0;
_local1[91] = -0.0174524704928131;
_local1[92] = -0.034899581070259;
_local1[93] = -0.0523359418265197;
_local1[94] = -0.0697564796473987;
_local1[95] = -0.0871558876749338;
_local1[96] = -0.104528628193964;
_local1[97] = -0.121869291564551;
_local1[98] = -0.13917318744342;
_local1[99] = -0.156434571401596;
_local1[100] = -0.173648303762768;
_local1[101] = -0.190809024026;
_local1[102] = -0.207911739274776;
_local1[103] = -0.224951122445972;
_local1[104] = -0.241921983166304;
_local1[105] = -0.258819036787809;
_local1[106] = -0.275637367107858;
_local1[107] = -0.2923717354199;
_local1[108] = -0.309017157636117;
_local1[109] = -0.325568110583464;
_local1[110] = -0.342020118848717;
_local1[111] = -0.358368055521015;
_local1[112] = -0.374606717537322;
_local1[113] = -0.390731160719705;
_local1[114] = -0.406736693656766;
_local1[115] = -0.422618330367826;
_local1[116] = -0.438371340285804;
_local1[117] = -0.453990391046435;
_local1[118] = -0.469471578302864;
_local1[119] = -0.484809757681663;
_local1[120] = -0.500000050473565;
_local1[121] = -0.515038040131743;
_local1[122] = -0.529919348181184;
_local1[123] = -0.544639035127623;
_local1[124] = -0.559193019285169;
_local1[125] = -0.573576469806893;
_local1[126] = -0.587785205358691;
_local1[127] = -0.601815088280647;
_local1[128] = -0.615661649565088;
_local1[129] = -0.629320300775826;
_local1[130] = -0.642787627613699;
_local1[131] = -0.656059151982071;
_local1[132] = -0.6691306540019;
_local1[133] = -0.681998334651355;
_local1[134] = -0.694658445858632;
_local1[135] = -0.707106785402629;
_local1[136] = -0.719339901429238;
_local1[137] = -0.731353733448193;
_local1[138] = -0.743144790558707;
_local1[139] = -0.754709637547914;
_local1[140] = -0.766044588993959;
_local1[141] = -0.777146042063984;
_local1[142] = -0.788010771602771;
_local1[143] = -0.798635611629816;
_local1[144] = -0.809017035483602;
_local1[145] = -0.819152164454046;
_local1[146] = -0.829037634427505;
_local1[147] = -0.838670574367059;
_local1[148] = -0.848048176361717;
_local1[149] = -0.857167327740796;
_local1[150] = -0.866025380605951;
_local1[151] = -0.874619752326661;
_local1[152] = -0.882947590206798;
_local1[153] = -0.891006584984047;
_local1[154] = -0.898794061667852;
_local1[155] = -0.906307760074965;
_local1[156] = -0.913545488459573;
_local1[157] = -0.920504937588395;
_local1[158] = -0.927183898198786;
_local1[159] = -0.933580432811219;
_local1[160] = -0.939692674545306;
_local1[161] = -0.9455185945886;
_local1[162] = -0.951056503771069;
_local1[163] = -0.956304784917887;
_local1[164] = -0.96126169598766;
_local1[165] = -0.965925862457;
_local1[166] = -0.970295736167408;
_local1[167] = -0.974370051745138;
_local1[168] = -0.978147617698273;
_local1[169] = -0.981627225646534;
_local1[170] = -0.984807732848837;
_local1[171] = -0.987688344263056;
_local1[172] = -0.99026809142819;
_local1[173] = -0.992546159459822;
_local1[174] = -0.994521891741072;
_local1[175] = -0.996194707231116;
_local1[176] = -0.997564050678865;
_local1[177] = -0.998629542373128;
_local1[178] = -0.999390828649424;
_local1[179] = -0.999847694246414;
_local1[180] = -1;
_local1[181] = -0.999847695355918;
_local1[182] = -0.999390822547395;
_local1[183] = -0.998629533222429;
_local1[184] = -0.997564038482241;
_local1[185] = -0.996194691992325;
_local1[186] = -0.994521898386262;
_local1[187] = -0.992546138151504;
_local1[188] = -0.990268067094404;
_local1[189] = -0.987688354208064;
_local1[190] = -0.984807702487189;
_local1[191] = -0.981627192284451;
_local1[192] = -0.978147531775776;
_local1[193] = -0.97437001241342;
_local1[194] = -0.970295751547109;
_local1[195] = -0.965925755496343;
_local1[196] = -0.961261647793677;
_local1[197] = -0.956304803504831;
_local1[198] = -0.951056449740798;
_local1[199] = -0.945518537664449;
_local1[200] = -0.939692533200627;
_local1[201] = -0.933580370152163;
_local1[202] = -0.927183832700491;
_local1[203] = -0.920504776113235;
_local1[204] = -0.913545417343475;
_local1[205] = -0.906307786942086;
_local1[206] = -0.898793985020595;
_local1[207] = -0.891006505605831;
_local1[208] = -0.882947508121765;
_local1[209] = -0.874619667559852;
_local1[210] = -0.866025412392462;
_local1[211] = -0.85716723768867;
_local1[212] = -0.848048083707696;
_local1[213] = -0.838670608991404;
_local1[214] = -0.829037536655112;
_local1[215] = -0.819152064166771;
_local1[216] = -0.80901679257299;
_local1[217] = -0.798635506405142;
_local1[218] = -0.788010810742227;
_local1[219] = -0.77714578198841;
_local1[220] = -0.766044476605419;
_local1[221] = -0.754709679255561;
_local1[222] = -0.743144673564173;
_local1[223] = -0.731353614203803;
_local1[224] = -0.719339614351827;
_local1[225] = -0.707106661768138;
_local1[226] = -0.694658320085264;
_local1[227] = -0.681998206777393;
_local1[228] = -0.669130524066324;
_local1[229] = -0.656058840087654;
_local1[230] = -0.642787493674222;
_local1[231] = -0.629320350181345;
_local1[232] = -0.615661136032056;
_local1[233] = -0.601814758233199;
_local1[234] = -0.58778544967501;
_local1[235] = -0.573576326581791;
_local1[236] = -0.559192874331636;
_local1[237] = -0.544638688535106;
_local1[238] = -0.529918997713294;
_local1[239] = -0.515037890259834;
_local1[240] = -0.499999899052865;
_local1[241] = -0.484809604758296;
_local1[242] = -0.469471634434507;
_local1[243] = -0.453990235257884;
_local1[244] = -0.438370968846457;
_local1[245] = -0.422618171903933;
_local1[246] = -0.406736642830504;
_local1[247] = -0.390731219238976;
_local1[248] = -0.374606334365473;
_local1[249] = -0.35836778099716;
_local1[250] = -0.342020066567724;
_local1[251] = -0.325568170692935;
_local1[252] = -0.309017104722882;
_local1[253] = -0.292371454213839;
_local1[254] = -0.275637199035515;
_local1[0xFF] = -0.258818983047298;
_local1[0x0100] = -0.241921466509589;
_local1[0x0101] = -0.224951184389617;
_local1[258] = -0.207911918062847;
_local1[259] = -0.190808852392843;
_local1[260] = -0.173648131573506;
_local1[261] = -0.156434045483786;
_local1[262] = -0.139172778201132;
_local1[263] = -0.121869118022261;
_local1[264] = -0.104528335749978;
_local1[265] = -0.0871557134947148;
_local1[266] = -0.069756543065557;
_local1[267] = -0.0523356481746596;
_local1[268] = -0.0348992871945391;
_local1[269] = -0.0174522956738828;
_local1[270] = 0;
_local1[271] = 0.0174523195200113;
_local1[272] = 0.0348997875764526;
_local1[273] = 0.0523361481754062;
_local1[274] = 0.0697565668572209;
_local1[275] = 0.0871557372537202;
_local1[276] = 0.104528359469088;
_local1[277] = 0.121869614977134;
_local1[278] = 0.139173274015406;
_local1[279] = 0.156434540006432;
_local1[280] = 0.173648624653848;
_local1[281] = 0.190808875804418;
_local1[282] = 0.207911941391432;
_local1[283] = 0.224951207628109;
_local1[284] = 0.24192195232399;
_local1[285] = 0.2588194666737;
_local1[286] = 0.27563768032666;
_local1[287] = 0.292371477021481;
_local1[288] = 0.309017127405352;
_local1[289] = 0.325568193243326;
_local1[290] = 0.342020537059498;
_local1[291] = 0.358368248428655;
_local1[292] = 0.374606798594306;
_local1[293] = 0.390731241192796;
_local1[294] = 0.406736664618345;
_local1[295] = 0.422618193519158;
_local1[296] = 0.438371418860868;
_local1[297] = 0.453990681373206;
_local1[298] = 0.469471655492595;
_local1[299] = 0.484809625617767;
_local1[300] = 0.499999919707366;
_local1[301] = 0.51503831943228;
_local1[302] = 0.5299194223199;
_local1[303] = 0.544639108446533;
_local1[304] = 0.559192894103984;
_local1[305] = 0.573576346118373;
_local1[306] = 0.587785468969868;
_local1[307] = 0.601815158099577;
_local1[308] = 0.615661530578788;
_local1[309] = 0.6293207392881;
_local1[310] = 0.642787511944201;
_local1[311] = 0.656058858087301;
_local1[312] = 0.669130718969681;
_local1[313] = 0.681998398588328;
_local1[314] = 0.69465868024923;
_local1[315] = 0.707107015807225;
_local1[316] = 0.719339962158192;
_local1[317] = 0.73135379307038;
_local1[318] = 0.743144849055965;
_local1[319] = 0.754709851319018;
_local1[320] = 0.766044645188221;
_local1[321] = 0.777146097080911;
_local1[322] = 0.788010825425604;
_local1[323] = 0.798635520758287;
_local1[324] = 0.809016946730498;
_local1[325] = 0.819152214597675;
_local1[326] = 0.829037683313692;
_local1[327] = 0.838670621980913;
_local1[328] = 0.848048096346144;
_local1[329] = 0.857167249972207;
_local1[330] = 0.866025543526598;
_local1[331] = 0.874619794710055;
_local1[332] = 0.882947631249304;
_local1[333] = 0.891006732912842;
_local1[334] = 0.898793995475645;
_local1[335] = 0.906307897781444;
_local1[336] = 0.913545524017612;
_local1[337] = 0.920504878589655;
_local1[338] = 0.927184020261023;
_local1[339] = 0.933580549582264;
_local1[340] = 0.939692541357731;
_local1[341] = 0.945518623050665;
_local1[342] = 0.951056530786193;
_local1[343] = 0.956304880184599;
_local1[344] = 0.961261785801659;
_local1[345] = 0.965925885083665;
_local1[346] = 0.970295757316885;
_local1[347] = 0.974370071410985;
_local1[348] = 0.978147586304482;
_local1[349] = 0.981627242327564;
_local1[350] = 0.98480778943058;
_local1[351] = 0.987688357938986;
_local1[352] = 0.990268070413649;
_local1[353] = 0.992546141058062;
_local1[354] = 0.994521925800727;
_local1[355] = 0.996194714850501;
_local1[356] = 0.997564056777165;
_local1[357] = 0.998629534470629;
_local1[358] = 0.999390823379742;
_local1[359] = 0.999847699933094;
_local1[360] = 1;
return (_local1);
}
}
}//package com.jumbledmind.games.math
Section 31
//A1216443003890B965 (com.jumbledmind.games.transitions.intoModule.A1216443003890B965)
package com.jumbledmind.games.transitions.intoModule {
import flash.display.*;
import com.jumbledmind.games.*;
public class A1216443003890B965 extends A1216443003890B977 {
private var A1216443003890B1452:Number;// = 0.01
private var A1216443003890B1405:MovieClip;
public function A1216443003890B965(_arg1:A1216443003890B1183, _arg2:Sprite, _arg3:Number=0.01){
A1216443003890B1452 = 0.01;
super(_arg1);
this.addChild(_arg2);
A1216443003875B384(_arg3);
}
public function A1216443003875B384(_arg1:Number):void{
this.A1216443003890B1452 = _arg1;
}
override public function A1216443003875B108():void{
super.A1216443003875B108();
this.alpha = 1;
}
override public function A1216443003890B928():Boolean{
if (this.alpha > 0){
this.alpha = (this.alpha - A1216443003890B1452);
return (false);
};
return (true);
}
}
}//package com.jumbledmind.games.transitions.intoModule
Section 32
//A1216443003890B977 (com.jumbledmind.games.transitions.intoModule.A1216443003890B977)
package com.jumbledmind.games.transitions.intoModule {
import flash.display.*;
import com.jumbledmind.games.util.*;
import com.jumbledmind.games.*;
public class A1216443003890B977 extends MovieClip implements A1216443003890B927 {
private var A1216443003875B44:A1216443003890B1183;
public function A1216443003890B977(_arg1:A1216443003890B1183){
this.A1216443003875B44 = _arg1;
}
public function A1216443003875B286():A1216443003890B1183{
return (A1216443003875B44);
}
public function A1216443003875B207(_arg1){
A1216443003890B1114();
}
public function A1216443003875B108():void{
}
public function A1216443003890B928():Boolean{
return (true);
}
public function A1216443003875B184(_arg1:MovieClip):void{
_arg1.addChild(this);
A1216443003875B556.A1216443003890B1397().A1216443003875B561("UPDATE_Q", this);
A1216443003875B108();
}
public function A1216443003890B1114():void{
if (A1216443003890B928() == true){
A1216443003890B1122();
};
}
public function A1216443003890B1122():void{
A1216443003875B556.A1216443003890B1397().A1216443003890B1324("UPDATE_Q", this);
this.parent.removeChild(this);
A1216443003875B44.activate();
}
public function A1216443003875B537(_arg1:A1216443003890B1183){
this.A1216443003875B44 = _arg1;
}
}
}//package com.jumbledmind.games.transitions.intoModule
Section 33
//A1216443003875B198 (com.jumbledmind.games.transitions.outOfModule.A1216443003875B198)
package com.jumbledmind.games.transitions.outOfModule {
import flash.display.*;
import com.jumbledmind.games.util.*;
import com.jumbledmind.games.events.*;
import com.jumbledmind.games.*;
public class A1216443003875B198 extends MovieClip implements A1216443003890B927 {
protected var A1216443003875B598:A1216443003890B1183;
protected var A1216443003875B351;
public function A1216443003875B198(_arg1:A1216443003890B1183){
this.A1216443003875B598 = _arg1;
}
public function A1216443003875B11(_arg1:A1216443003890B1183){
this.A1216443003875B598 = _arg1;
}
public function A1216443003890B748(_arg1){
this.A1216443003875B351 = _arg1;
}
public function A1216443003875B207(_arg1){
A1216443003890B1114();
}
public function A1216443003875B108():void{
}
public function A1216443003890B928():Boolean{
return (true);
}
public function A1216443003875B184(_arg1:MovieClip):void{
_arg1.addChild(this);
A1216443003875B556.A1216443003890B1397().A1216443003875B561("UPDATE_Q", this);
A1216443003875B108();
}
public function A1216443003890B1114():void{
if (A1216443003890B928() == true){
A1216443003890B1122();
};
}
public function A1216443003875B522():A1216443003890B1183{
return (A1216443003875B598);
}
public function A1216443003890B1122():void{
var _local1:A1216443003875B203;
A1216443003875B556.A1216443003890B1397().A1216443003890B1324("UPDATE_Q", this);
_local1 = new A1216443003875B203(this, A1216443003875B598, this, A1216443003875B351);
A1216443003875B556.A1216443003890B1397().A1216443003875B584("MODULE_Q", _local1);
}
}
}//package com.jumbledmind.games.transitions.outOfModule
Section 34
//A1216443003890B1224 (com.jumbledmind.games.transitions.outOfModule.A1216443003890B1224)
package com.jumbledmind.games.transitions.outOfModule {
import flash.display.*;
import com.jumbledmind.games.*;
public class A1216443003890B1224 extends A1216443003875B198 {
private var A1216443003890B1452:Number;// = 0.01
private var A1216443003890B1405:MovieClip;
public function A1216443003890B1224(_arg1:A1216443003890B1183, _arg2:Sprite, _arg3:Number=0.01){
A1216443003890B1452 = 0.01;
super(_arg1);
this.addChild(_arg2);
A1216443003875B384(_arg3);
}
public function A1216443003875B384(_arg1:Number):void{
this.A1216443003890B1452 = _arg1;
}
override public function A1216443003875B108():void{
super.A1216443003875B108();
this.alpha = 0;
}
override public function A1216443003890B928():Boolean{
if (this.alpha < 1){
this.alpha = (this.alpha + A1216443003890B1452);
return (false);
};
return (true);
}
}
}//package com.jumbledmind.games.transitions.outOfModule
Section 35
//A1216443003875B136 (com.jumbledmind.games.util.A1216443003875B136)
package com.jumbledmind.games.util {
import flash.display.*;
import flash.text.*;
public class A1216443003875B136 extends MovieClip {
private var A1216443003890B721:Sprite;
private var textField:TextField;
public function A1216443003875B136(_arg1:TextField, _arg2=null){
this.A1216443003890B721 = _arg2;
if (_arg2 != null){
this.addChild(_arg2);
};
this.textField = _arg1;
this.addChild(_arg1);
}
public function A1216443003875B662(_arg1:String){
textField.text = _arg1;
if (A1216443003890B721 != null){
this.textField.x = ((this.width * 0.5) - (this.textField.width * 0.5));
this.textField.y = ((this.height * 0.5) - (this.textField.height * 0.5));
};
}
}
}//package com.jumbledmind.games.util
Section 36
//A1216443003875B380 (com.jumbledmind.games.util.A1216443003875B380)
package com.jumbledmind.games.util {
public class A1216443003875B380 implements A1216443003890B1329 {
private var A1216443003890B1145:A1216443003875B387;
public function A1216443003875B380(_arg1:A1216443003875B387){
A1216443003890B1145 = _arg1;
}
public function A1216443003890B1366():Boolean{
return (!((A1216443003890B1145 == null)));
}
public function A1216443003875B331(){
var _local1:Object;
_local1 = A1216443003890B1145.A1216443003890B726;
A1216443003890B1145 = A1216443003890B1145.A1216443003875B331;
return (_local1);
}
}
}//package com.jumbledmind.games.util
Section 37
//A1216443003875B387 (com.jumbledmind.games.util.A1216443003875B387)
package com.jumbledmind.games.util {
public class A1216443003875B387 {
public var A1216443003890B1227:A1216443003875B387;
public var A1216443003890B726:Object;
public var A1216443003875B331:A1216443003875B387;
public function A1216443003875B387(_arg1:Object){
this.A1216443003890B726 = _arg1;
this.A1216443003890B1227 = null;
this.A1216443003875B331 = null;
}
}
}//package com.jumbledmind.games.util
Section 38
//A1216443003890B1329 (com.jumbledmind.games.util.A1216443003890B1329)
package com.jumbledmind.games.util {
public interface A1216443003890B1329 {
function A1216443003890B1366():Boolean;
function A1216443003875B331();
}
}//package com.jumbledmind.games.util
Section 39
//A1216443003890B830 (com.jumbledmind.games.util.A1216443003890B830)
package com.jumbledmind.games.util {
public class A1216443003890B830 implements A1216443003890B952 {
private var size:int;
private var A1216443003890B1144:A1216443003875B387;
private var A1216443003890B1002:A1216443003875B387;
private var A1216443003875B333:A1216443003890B1329;
private var A1216443003890B1189:A1216443003875B387;
private var A1216443003890B1106:int;
private static var A1216443003875B470:A1216443003890B830 = A1216443003890B759();
public static var A1216443003875B359:int = 100;
public function A1216443003890B830(){
A1216443003890B1002 = null;
A1216443003890B1144 = null;
size = 0;
}
public function A1216443003875B644(){
if (A1216443003890B1144 == null){
return (null);
};
return (A1216443003890B1144.A1216443003890B726);
}
private function A1216443003890B1378(_arg1:A1216443003875B387):void{
if (size < A1216443003875B359){
if (A1216443003890B1002 == null){
A1216443003890B1002 = _arg1;
A1216443003890B1144 = A1216443003890B1002;
} else {
A1216443003890B1144.A1216443003875B331 = _arg1;
_arg1.A1216443003890B1227 = A1216443003890B1144;
A1216443003890B1144 = _arg1;
};
size++;
} else {
_arg1 = null;
};
}
public function A1216443003875B202(_arg1:Object):void{
var _local2:A1216443003875B387;
if (A1216443003890B1002 == null){
A1216443003890B1002 = A1216443003875B82(_arg1);
A1216443003890B1144 = A1216443003890B1002;
} else {
_local2 = A1216443003875B82(_arg1);
A1216443003890B1002.A1216443003890B1227 = _local2;
_local2.A1216443003875B331 = A1216443003890B1002;
A1216443003890B1002 = _local2;
};
size++;
}
public function A1216443003890B1066():A1216443003875B387{
return (A1216443003890B1144);
}
public function A1216443003890B875(_arg1:Object){
var _local2:Object;
var _local3:A1216443003875B387;
if (size == 0){
} else {
_local2 = null;
_local3 = A1216443003890B1002;
while (_local3 != null) {
if (_local3.A1216443003890B726 == _arg1){
if (_local3 == A1216443003890B1002){
return (A1216443003890B997());
};
if (_local3 == A1216443003890B1144){
return (A1216443003875B458());
};
_local3.A1216443003890B1227.A1216443003875B331 = _local3.A1216443003875B331;
_local3.A1216443003875B331.A1216443003890B1227 = _local3.A1216443003890B1227;
_local2 = _local3.A1216443003890B726;
A1216443003875B689(_local3);
size--;
break;
};
_local3 = _local3.A1216443003875B331;
};
return (_local2);
};
return (null);
}
public function A1216443003890B997(){
var _local1:Object;
var _local2:*;
_local1 = null;
if (A1216443003890B1002 == null){
return (null);
};
_local1 = A1216443003890B1002.A1216443003890B726;
_local2 = A1216443003890B1002.A1216443003875B331;
A1216443003875B689(A1216443003890B1002);
A1216443003890B1002 = _local2;
if (A1216443003890B1002 == null){
A1216443003890B1144 = null;
} else {
A1216443003890B1002.A1216443003890B1227 = null;
};
size--;
return (_local1);
}
public function contains(_arg1:Object):Boolean{
var _local2:A1216443003890B1329;
_local2 = this.A1216443003890B880();
while (_local2.A1216443003890B1366()) {
if (_local2.A1216443003875B331() == _arg1){
return (true);
};
};
return (false);
}
public function A1216443003890B1404():int{
return (size);
}
public function A1216443003875B512(_arg1:int){
if (_arg1 >= this.size){
return (null);
};
A1216443003875B333 = A1216443003890B880();
A1216443003890B1106 = 0;
while (A1216443003890B1106 < _arg1) {
A1216443003875B333.A1216443003875B331();
A1216443003890B1106++;
};
return (A1216443003875B333.A1216443003875B331());
}
public function A1216443003875B458(){
var _local1:Object;
_local1 = null;
if (A1216443003890B1144 == null){
return (null);
};
_local1 = A1216443003890B1144.A1216443003890B726;
A1216443003890B1189 = A1216443003890B1144.A1216443003890B1227;
A1216443003875B689(A1216443003890B1144);
A1216443003890B1144 = A1216443003890B1189;
if (A1216443003890B1144 == null){
A1216443003890B1002 = null;
} else {
A1216443003890B1144.A1216443003875B331 = null;
};
size--;
return (_local1);
}
public function A1216443003890B856(){
while (A1216443003890B1404() > 0) {
A1216443003890B997();
};
}
public function A1216443003875B214(_arg1:A1216443003875B387):void{
if (_arg1 != null){
if (_arg1 == A1216443003890B1144){
A1216443003875B458();
} else {
if (_arg1 == A1216443003890B1002){
A1216443003890B997();
} else {
_arg1.A1216443003890B1227.A1216443003875B331 = _arg1.A1216443003875B331;
_arg1.A1216443003875B331.A1216443003890B1227 = _arg1.A1216443003890B1227;
A1216443003875B689(_arg1);
size--;
};
};
};
}
private function A1216443003875B579():A1216443003875B387{
var _local1:A1216443003875B387;
_local1 = null;
if (A1216443003890B1002 == null){
return (null);
};
_local1 = A1216443003890B1002;
A1216443003890B1189 = A1216443003890B1002.A1216443003875B331;
A1216443003890B1002 = A1216443003890B1189;
if (A1216443003890B1002 == null){
A1216443003890B1144 = null;
} else {
A1216443003890B1002.A1216443003890B1227 = null;
};
size--;
_local1.A1216443003890B1227 = null;
_local1.A1216443003875B331 = null;
return (_local1);
}
public function A1216443003890B992():A1216443003890B830{
var _local1:A1216443003890B830;
_local1 = new A1216443003890B830();
A1216443003875B333 = A1216443003890B880();
A1216443003890B1106 = 0;
while (A1216443003890B1106 < this.size) {
_local1.A1216443003890B866(A1216443003875B333.A1216443003875B331());
A1216443003890B1106++;
};
return (_local1);
}
public function A1216443003890B880():A1216443003890B1329{
return (new A1216443003875B380(this.A1216443003890B1002));
}
public function A1216443003890B784(){
if (A1216443003890B1002 == null){
return (null);
};
return (A1216443003890B1002.A1216443003890B726);
}
public function A1216443003890B866(_arg1:Object):void{
var _local2:A1216443003875B387;
if (A1216443003890B1002 == null){
A1216443003890B1002 = A1216443003875B82(_arg1);
A1216443003890B1144 = A1216443003890B1002;
} else {
_local2 = A1216443003875B82(_arg1);
A1216443003890B1144.A1216443003875B331 = _local2;
_local2.A1216443003890B1227 = A1216443003890B1144;
A1216443003890B1144 = _local2;
};
size++;
}
public static function A1216443003890B759():A1216443003890B830{
return (new (A1216443003890B830));
}
private static function A1216443003875B689(_arg1:A1216443003875B387){
_arg1.A1216443003875B331 = null;
_arg1.A1216443003890B1227 = null;
_arg1.A1216443003890B726 = null;
A1216443003875B470.A1216443003890B1378(_arg1);
}
public static function A1216443003875B504():A1216443003890B830{
return (A1216443003875B470);
}
public static function A1216443003875B82(_arg1:Object):A1216443003875B387{
var _local2:A1216443003875B387;
_local2 = A1216443003875B470.A1216443003875B579();
if (_local2 == null){
_local2 = new A1216443003875B387(_arg1);
} else {
_local2.A1216443003890B726 = _arg1;
};
return (_local2);
}
}
}//package com.jumbledmind.games.util
Section 40
//A1216443003890B927 (com.jumbledmind.games.util.A1216443003890B927)
package com.jumbledmind.games.util {
public interface A1216443003890B927 {
function A1216443003875B207(_arg1);
}
}//package com.jumbledmind.games.util
Section 41
//A1216443003890B952 (com.jumbledmind.games.util.A1216443003890B952)
package com.jumbledmind.games.util {
public interface A1216443003890B952 {
function A1216443003890B880():A1216443003890B1329;
}
}//package com.jumbledmind.games.util
Section 42
//A1216443003875B195 (com.jumbledmind.games.A1216443003875B195)
package com.jumbledmind.games {
import flash.utils.*;
import com.jumbledmind.games.util.*;
public class A1216443003875B195 {
private var A1216443003890B949:A1216443003890B830;
private var A1216443003875B55:Dictionary;
private var A1216443003875B381:A1216443003890B830;
var A1216443003890B1343:int;// = 0
private var A1216443003890B1334:String;
public function A1216443003875B195(_arg1:String){
A1216443003890B1343 = 0;
super();
this.A1216443003890B1334 = _arg1;
A1216443003875B381 = new A1216443003890B830();
A1216443003875B55 = new Dictionary();
A1216443003890B949 = new A1216443003890B830();
}
public function A1216443003890B795():String{
return (A1216443003890B1334);
}
public function A1216443003875B584(_arg1){
A1216443003890B949.A1216443003890B866(_arg1);
}
public function A1216443003890B1119(){
return (A1216443003890B949.A1216443003890B997());
}
public function A1216443003875B561(_arg1:A1216443003890B927):void{
A1216443003875B381.A1216443003890B866(_arg1);
A1216443003875B55[_arg1] = A1216443003875B381.A1216443003890B1066();
}
public function A1216443003890B1114(){
var _local1:*;
var _local2:A1216443003890B1329;
while (A1216443003890B949.A1216443003890B1404() > 0) {
_local1 = A1216443003890B949.A1216443003890B997();
_local2 = A1216443003875B381.A1216443003890B880();
A1216443003890B1343 = 0;
while (_local2.A1216443003890B1366()) {
if (A1216443003890B1334 == "UPDATE_Q"){
};
_local2.A1216443003875B331().A1216443003875B207(_local1);
};
};
}
public function A1216443003890B1324(_arg1:A1216443003890B927):A1216443003890B927{
var _local2:A1216443003875B387;
_local2 = A1216443003875B55[_arg1];
A1216443003875B381.A1216443003875B214(_local2);
return (null);
}
}
}//package com.jumbledmind.games
Section 43
//A1216443003875B348 (com.jumbledmind.games.A1216443003875B348)
package com.jumbledmind.games {
import flash.display.*;
import com.jumbledmind.games.input.*;
public class A1216443003875B348 extends MovieClip {
protected function A1216443003875B448():void{
var _local1:*;
var _local2:A1216443003890B1351;
var _local3:A1216443003890B1238;
var _local4:int;
var _local5:A1216443003890B764;
var _local6:A1216443003890B1202;
_local1 = A1216443003875B556.A1216443003890B1397().A1216443003890B1119("KEYBOARD_Q");
_local2 = A1216443003875B572();
_local3 = _local2.A1216443003875B228();
while (_local1 != null) {
if (_local1.A1216443003890B1010() == A1216443003890B764.A1216443003890B806){
_local5 = (_local1 as A1216443003890B764);
_local3.A1216443003875B642(_local5.x, _local5.y);
} else {
if (_local1.A1216443003890B1010() == A1216443003890B1202.A1216443003890B806){
_local6 = (_local1 as A1216443003890B1202);
_local4 = _local2.A1216443003890B1272(_local6.keyCode);
if (_local4 != -1){
_local3.A1216443003890B1267(_local4, _local6.A1216443003875B222);
};
};
};
_local1 = A1216443003875B556.A1216443003890B1397().A1216443003890B1119("KEYBOARD_Q");
};
A1216443003890B1299(_local3);
}
protected function A1216443003875B572():A1216443003890B1351{
return (null);
}
protected function A1216443003890B1299(_arg1:A1216443003890B1238):void{
}
protected function A1216443003875B460():void{
}
public function A1216443003890B1114():void{
A1216443003875B448();
A1216443003875B460();
}
override public function removeChild(_arg1:DisplayObject):DisplayObject{
if (this.contains(_arg1)){
return (super.removeChild(_arg1));
};
return (null);
}
}
}//package com.jumbledmind.games
Section 44
//A1216443003875B464 (com.jumbledmind.games.A1216443003875B464)
package com.jumbledmind.games {
import flash.display.*;
import com.jumbledmind.games.transitions.outOfModule.*;
import com.jumbledmind.games.graphics.background.*;
public class A1216443003875B464 extends A1216443003890B854 {
private var previousModule;
protected var A1216443003875B44:A1216443003890B1183;
private var previousArgs;
protected var A1216443003875B351;
protected static var background:A1216443003890B787 = new A1216443003890B787();
public function A1216443003890B1433(_arg1:Boolean){
A1216443003875B464.background.A1216443003875B166(_arg1);
}
public function A1216443003890B1047(){
return (previousModule);
}
public function A1216443003875B585(){
this.A1216443003875B44.A1216443003875B527();
}
public function A1216443003890B1188(){
return (previousArgs);
}
public function A1216443003890B1298(_arg1, _arg2){
this.previousModule = _arg1;
this.previousArgs = _arg2;
}
public function A1216443003875B207(_arg1){
var _local2:A1216443003875B198;
if (_arg1.A1216443003890B1010() == "CHANGE_MODULE"){
if (_arg1.A1216443003875B286() == null){
A1216443003890B1369();
} else {
A1216443003875B537(_arg1.A1216443003875B286(), _arg1.A1216443003890B716());
};
_local2 = _arg1.A1216443003875B7();
if (_local2 != null){
this.removeChild(_local2);
};
};
}
public function A1216443003890B1112(){
this.A1216443003875B44.A1216443003875B463(A1216443003875B351);
}
public function A1216443003890B1114():void{
A1216443003875B464.background.A1216443003890B1114();
}
public function A1216443003875B492(_arg1:A1216443003890B787){
this.removeChild(A1216443003875B464.background);
A1216443003875B464.background = _arg1;
this.addChild(A1216443003875B464.background);
this.setChildIndex(A1216443003875B464.background, 0);
}
public function A1216443003875B537(_arg1, _arg2){
A1216443003890B1298(this.A1216443003875B44, this.A1216443003875B351);
if (this.A1216443003875B44 != null){
this.A1216443003875B44.A1216443003875B527();
};
this.A1216443003875B44 = _arg1;
this.A1216443003875B351 = _arg2;
this.A1216443003875B44.A1216443003875B463(_arg2);
}
public function A1216443003890B1369(){
if (this.previousModule != null){
A1216443003875B537(previousModule, previousArgs);
};
}
override public function removeChild(_arg1:DisplayObject):DisplayObject{
if (super.contains(_arg1)){
return (super.removeChild(_arg1));
};
return (null);
}
}
}//package com.jumbledmind.games
Section 45
//A1216443003875B556 (com.jumbledmind.games.A1216443003875B556)
package com.jumbledmind.games {
import flash.text.*;
import com.jumbledmind.games.util.*;
import com.jumbledmind.games.events.*;
public class A1216443003875B556 {
protected var A1216443003875B100:A1216443003875B195;
protected var A1216443003890B1120:A1216443003875B195;
protected var A1216443003890B931:A1216443003890B747;
protected var A1216443003875B113:A1216443003875B195;
protected var A1216443003875B235:A1216443003875B195;
protected var A1216443003890B1330:A1216443003875B195;
protected static var instance;
public function A1216443003875B556(){
A1216443003890B931 = new A1216443003890B747();
A1216443003890B1120 = new A1216443003875B195("GFX_Q");
A1216443003875B113 = new A1216443003875B195("UPDATE_Q");
A1216443003875B235 = new A1216443003875B195("MODULE_Q");
A1216443003875B100 = new A1216443003875B195("KEYBOARD_Q");
A1216443003890B1330 = new A1216443003875B195("NETWORK_Q");
super();
A1216443003890B931.A1216443003875B531(A1216443003875B113);
A1216443003890B931.A1216443003875B531(A1216443003875B235);
A1216443003890B931.A1216443003875B531(A1216443003890B1120);
A1216443003890B931.A1216443003875B531(A1216443003890B1330);
}
public function A1216443003890B868(_arg1:TextFormat, _arg2:String, _arg3:int, _arg4=null):A1216443003875B136{
var _local5:TextField;
_local5 = new TextField();
_local5.selectable = false;
_local5.autoSize = _arg2;
_local5.antiAliasType = AntiAliasType.ADVANCED;
_local5.defaultTextFormat = _arg1;
_local5.setTextFormat(_arg1);
_local5.embedFonts = true;
_local5.width = _arg3;
_local5.text = "";
return (new A1216443003875B136(_local5, _arg4));
}
public function A1216443003890B1114(){
A1216443003890B931.A1216443003890B1114();
}
public function A1216443003875B584(_arg1:String, _arg2:A1216443003875B280){
A1216443003890B931.A1216443003875B584(_arg1, _arg2);
}
public function A1216443003890B1119(_arg1:String){
if (_arg1 == "KEYBOARD_Q"){
return (A1216443003875B100.A1216443003890B1119());
};
return (A1216443003890B931.A1216443003890B1119(_arg1));
}
public function A1216443003875B508(_arg1:A1216443003875B280){
A1216443003875B100.A1216443003875B584(_arg1);
}
public function A1216443003890B1062(_arg1:String, _arg2:int, _arg3:int):TextFormat{
var _local4:TextFormat;
_local4 = new TextFormat();
_local4.font = _arg1;
_local4.size = _arg2;
_local4.color = _arg3;
return (_local4);
}
public function A1216443003890B1086(_arg1:TextFormat, _arg2:String, _arg3:int):TextField{
var _local4:TextField;
_local4 = new TextField();
_local4.selectable = false;
_local4.autoSize = _arg2;
_local4.antiAliasType = AntiAliasType.ADVANCED;
_local4.defaultTextFormat = _arg1;
_local4.setTextFormat(_arg1);
_local4.embedFonts = true;
_local4.width = _arg3;
_local4.text = "";
return (_local4);
}
public function A1216443003890B1324(_arg1:String, _arg2:A1216443003890B927):A1216443003890B927{
return (A1216443003890B931.A1216443003890B1324(_arg1, _arg2));
}
public function A1216443003875B561(_arg1:String, _arg2:A1216443003890B927){
A1216443003890B931.A1216443003875B561(_arg1, _arg2);
}
public function A1216443003890B1456(_arg1:int, _arg2:int):TextFormat{
var _local3:TextFormat;
_local3 = new TextFormat();
_local3.font = "Comic Sans MS";
_local3.size = _arg1;
_local3.color = _arg2;
return (_local3);
}
public static function A1216443003890B1397(){
if (instance == null){
instance = new (A1216443003875B556);
};
return (instance);
}
}
}//package com.jumbledmind.games
Section 46
//A1216443003890B1183 (com.jumbledmind.games.A1216443003890B1183)
package com.jumbledmind.games {
import flash.display.*;
import com.jumbledmind.games.util.*;
import com.jumbledmind.games.events.*;
import com.jumbledmind.games.transitions.outOfModule.*;
import com.jumbledmind.games.transitions.intoModule.*;
public class A1216443003890B1183 extends MovieClip implements A1216443003890B927 {
protected var A1216443003890B1029:String;
protected var A1216443003875B107:MovieClip;
protected var A1216443003890B800:A1216443003890B977;
protected var A1216443003875B351;// = null
public function A1216443003890B1183(_arg1:String, _arg2:MovieClip){
A1216443003875B351 = null;
super();
A1216443003890B1029 = _arg1;
this.A1216443003875B107 = _arg2;
}
public function activate():void{
A1216443003875B556.A1216443003890B1397().A1216443003875B561("UPDATE_Q", this);
}
public function A1216443003890B1385(_arg1:A1216443003875B198, _arg2:A1216443003890B1183, _arg3=null){
var _local4:A1216443003875B203;
deactivate();
if (_arg1 == null){
_local4 = new A1216443003875B203(this, _arg2, null, _arg3);
A1216443003875B556.A1216443003890B1397().A1216443003875B584("MODULE_Q", _local4);
} else {
_arg1.A1216443003875B11(_arg2);
_arg1.A1216443003890B748(_arg3);
_arg1.A1216443003875B184(this.A1216443003875B107);
};
}
public function A1216443003890B1441(){
if (A1216443003890B800 != null){
A1216443003890B800.A1216443003875B537(this);
A1216443003890B800.A1216443003875B184(this.A1216443003875B107);
} else {
activate();
};
}
public function deactivate():void{
A1216443003875B556.A1216443003890B1397().A1216443003890B1324("UPDATE_Q", this);
}
public function A1216443003875B207(_arg1){
A1216443003890B1114();
}
public function A1216443003890B812():String{
return (A1216443003890B1029);
}
public function A1216443003890B1114():void{
}
public function A1216443003875B527():void{
}
public function A1216443003875B463(_arg1):void{
this.A1216443003875B351 = _arg1;
}
override public function removeChild(_arg1:DisplayObject):DisplayObject{
if (((!((_arg1 == null))) && (this.contains(_arg1)))){
return (super.removeChild(_arg1));
};
return (null);
}
}
}//package com.jumbledmind.games
Section 47
//A1216443003890B1190 (com.jumbledmind.games.A1216443003890B1190)
package com.jumbledmind.games {
public class A1216443003890B1190 {
public static var A1216443003890B1448:int = 0;
public static var A1216443003890B705:int = 200;
public static var A1216443003875B6:int = 200;
public static var A1216443003875B318:int = -2000;
public static var A1216443003875B665:int = 12;
public static var A1216443003875B71:Number = (1000 / A1216443003875B665);
public static var A1216443003875B61:int = A1216443003890B705;
public static function A1216443003875B651(_arg1:int):void{
A1216443003875B665 = _arg1;
A1216443003875B71 = (1000 / A1216443003875B665);
}
}
}//package com.jumbledmind.games
Section 48
//A1216443003890B747 (com.jumbledmind.games.A1216443003890B747)
package com.jumbledmind.games {
import flash.utils.*;
import com.jumbledmind.games.util.*;
import com.jumbledmind.games.events.*;
public class A1216443003890B747 {
private var A1216443003890B1036:Dictionary;
private var A1216443003875B623:A1216443003890B830;
public function A1216443003890B747(){
A1216443003890B1036 = new Dictionary();
A1216443003875B623 = new A1216443003890B830();
}
public function A1216443003875B531(_arg1:A1216443003875B195){
A1216443003890B1036[_arg1.A1216443003890B795()] = _arg1;
A1216443003875B623.A1216443003890B866(_arg1.A1216443003890B795());
}
public function A1216443003890B1119(_arg1:String){
return (A1216443003890B1036[_arg1].A1216443003890B1119());
}
public function A1216443003890B1324(_arg1:String, _arg2:A1216443003890B927):A1216443003890B927{
return (A1216443003890B1036[_arg1].A1216443003890B1324(_arg2));
}
public function A1216443003890B1114(){
var _local1:A1216443003890B1329;
_local1 = A1216443003875B623.A1216443003890B880();
while (_local1.A1216443003890B1366()) {
A1216443003890B1036[_local1.A1216443003875B331()].A1216443003890B1114();
};
}
public function A1216443003875B472(_arg1:A1216443003875B195){
A1216443003890B1036[_arg1.A1216443003890B795()] = null;
A1216443003875B623.A1216443003890B875(_arg1.A1216443003890B795());
}
public function A1216443003875B561(_arg1:String, _arg2:A1216443003890B927):void{
A1216443003890B1036[_arg1].A1216443003875B561(_arg2);
}
public function A1216443003875B584(_arg1:String, _arg2:A1216443003875B280){
A1216443003890B1036[_arg1].A1216443003875B584(_arg2);
}
}
}//package com.jumbledmind.games
Section 49
//A1216443003890B854 (com.jumbledmind.games.A1216443003890B854)
package com.jumbledmind.games {
import flash.display.*;
public class A1216443003890B854 extends MovieClip {
}
}//package com.jumbledmind.games
Section 50
//A1216443003875B272 (com.jumbledmind.ninjainvasion.battlemodule.A1216443003875B272)
package com.jumbledmind.ninjainvasion.battlemodule {
import flash.display.*;
public class A1216443003875B272 extends MovieClip {
private var A1216443003890B967:int;
private var A1216443003875B552:MovieClip;
private var A1216443003875B602:MovieClip;
private var A1216443003890B919:MovieClip;
private var A1216443003890B1296:MovieClip;
private var A1216443003890B802:Sprite;
private var A1216443003875B591:int;
private var A1216443003890B1155:Sprite;
private var A1216443003890B898:MovieClip;
private var A1216443003875B243:Sprite;
private var A1216443003890B702:int;// = 0
private var A1216443003875B244:MovieClip;
private var A1216443003875B652:Sprite;
private var A1216443003875B255:int;
public function A1216443003875B272(){
A1216443003890B702 = 0;
A1216443003875B552 = new EmptyRPSMC();
A1216443003875B244 = new EmptyRPSMC();
A1216443003890B919 = new EmptyRPSMC();
A1216443003875B602 = new QuestionPickMC();
A1216443003890B898 = new QuestionPickMC();
A1216443003890B1296 = new QuestionPickMC();
A1216443003890B802 = new LockedMC();
super();
A1216443003875B552.x = 50;
A1216443003875B244.x = 120;
A1216443003890B919.x = 190;
A1216443003875B602.x = 50;
A1216443003890B898.x = 120;
A1216443003890B1296.x = 190;
A1216443003890B802.x = 11;
addChild(A1216443003875B552);
addChild(A1216443003875B244);
addChild(A1216443003890B919);
}
public function getPickValue(_arg1:int){
if (_arg1 == 1){
return (A1216443003875B255);
};
if (_arg1 == 2){
return (A1216443003875B591);
};
if (_arg1 == 3){
return (A1216443003890B967);
};
}
public function A1216443003875B211(_arg1:Sprite, _arg2:int){
if (A1216443003890B702 == 0){
A1216443003875B652 = _arg1;
A1216443003875B255 = _arg2;
A1216443003875B652.x = 50;
addChild(A1216443003875B652);
A1216443003890B702++;
} else {
if (A1216443003890B702 == 1){
A1216443003875B243 = _arg1;
A1216443003875B591 = _arg2;
A1216443003875B243.x = 120;
addChild(A1216443003875B243);
A1216443003890B702++;
} else {
if (A1216443003890B702 == 2){
A1216443003890B1155 = _arg1;
A1216443003890B967 = _arg2;
A1216443003890B1155.x = 190;
addChild(A1216443003890B1155);
A1216443003890B702++;
};
};
};
}
public function A1216443003890B980():void{
addChild(A1216443003875B602);
addChild(A1216443003890B898);
addChild(A1216443003890B1296);
}
public function A1216443003890B803():void{
removeChild(A1216443003890B802);
}
public function A1216443003890B1229(_arg1:int):void{
if (_arg1 == 1){
removeChild(A1216443003875B602);
} else {
if (_arg1 == 2){
removeChild(A1216443003890B898);
} else {
if (_arg1 == 3){
removeChild(A1216443003890B1296);
};
};
};
}
public function A1216443003890B896():void{
if (((!((A1216443003875B652 == null))) && (contains(A1216443003875B652)))){
removeChild(A1216443003875B652);
};
if (((!((A1216443003875B243 == null))) && (contains(A1216443003875B243)))){
removeChild(A1216443003875B243);
};
if (((!((A1216443003890B1155 == null))) && (contains(A1216443003890B1155)))){
removeChild(A1216443003890B1155);
};
A1216443003890B702 = 0;
A1216443003890B803();
}
public function A1216443003875B84():void{
addChild(A1216443003890B802);
}
public function A1216443003875B87():int{
return (A1216443003890B702);
}
override public function removeChild(_arg1:DisplayObject):DisplayObject{
if (((!((_arg1 == null))) && (this.contains(_arg1)))){
return (super.removeChild(_arg1));
};
return (null);
}
public function A1216443003890B1411(_arg1:int):void{
if (_arg1 == 1){
removeChild(A1216443003875B652);
} else {
if (_arg1 == 2){
removeChild(A1216443003875B243);
} else {
if (_arg1 == 3){
removeChild(A1216443003890B1155);
};
};
};
}
}
}//package com.jumbledmind.ninjainvasion.battlemodule
Section 51
//A1216443003875B475 (com.jumbledmind.ninjainvasion.battlemodule.A1216443003875B475)
package com.jumbledmind.ninjainvasion.battlemodule {
import flash.display.*;
import flash.text.*;
import com.jumbledmind.games.util.*;
import com.jumbledmind.ninjainvasion.*;
public class A1216443003875B475 extends MovieClip {
private var A1216443003890B871:TextField;
private var A1216443003875B694:A1216443003875B136;
public function A1216443003875B475(){
var _local1:A1216443003890B960;
super();
this.addChild(new BattleResultsStatusMC());
_local1 = A1216443003890B960.A1216443003890B1397();
A1216443003890B871 = _local1.A1216443003890B1086(_local1.A1216443003890B966(), TextFieldAutoSize.LEFT, 32);
A1216443003890B871.text = "A";
A1216443003890B871.y = 0;
A1216443003875B694 = _local1.A1216443003890B868(_local1.A1216443003875B657(), TextFieldAutoSize.LEFT, 32);
A1216443003875B694.A1216443003875B662("ok");
A1216443003875B694.x = (this.width - A1216443003875B694.width);
A1216443003875B694.y = (this.height - A1216443003875B694.height);
addChild(A1216443003890B871);
A1216443003875B108();
}
public function A1216443003890B1406():void{
A1216443003890B871.text = "DEFEAT...";
A1216443003890B1270();
}
public function A1216443003875B159():void{
A1216443003890B871.text = "RETREAT?!";
A1216443003890B1270();
}
public function A1216443003875B676():A1216443003875B136{
return (A1216443003875B694);
}
public function A1216443003875B150():void{
A1216443003890B871.text = "VICTORY!";
A1216443003890B1270();
}
public function A1216443003890B1270():void{
A1216443003890B871.x = ((width / 2) - (A1216443003890B871.width / 2));
}
public function draw():void{
A1216443003890B871.text = "DRAW";
A1216443003890B1270();
}
public function A1216443003890B882():void{
removeChild(A1216443003875B694);
}
public function A1216443003875B108():void{
A1216443003890B882();
}
public function A1216443003890B1108():void{
addChild(A1216443003875B694);
}
public function A1216443003890B836():void{
A1216443003890B871.text = "SURRENDER";
A1216443003890B1270();
}
override public function removeChild(_arg1:DisplayObject):DisplayObject{
if (((!((_arg1 == null))) && (this.contains(_arg1)))){
return (super.removeChild(_arg1));
};
return (null);
}
public function A1216443003890B1252():void{
A1216443003890B871.text = "ESCAPE.";
A1216443003890B1270();
}
}
}//package com.jumbledmind.ninjainvasion.battlemodule
Section 52
//A1216443003875B513 (com.jumbledmind.ninjainvasion.battlemodule.A1216443003875B513)
package com.jumbledmind.ninjainvasion.battlemodule {
import com.jumbledmind.ninjainvasion.gobs.*;
public class A1216443003875B513 {
private var A1216443003875B622:A1216443003875B148;
private var A1216443003875B39:int;// = 1
private var A1216443003875B563:A1216443003890B1258;
private var A1216443003875B432:Boolean;
private var A1216443003890B761:int;// = 0
private var A1216443003875B383:A1216443003875B148;
private var A1216443003890B888:A1216443003890B1258;
public static var A1216443003890B816:int = 5;
public static var A1216443003890B729:int = 1;
public static var A1216443003890B1084:int = 2;
public static var A1216443003890B993:int = 4;
public static var A1216443003890B1016:int = 3;
public function A1216443003875B513(){
A1216443003875B39 = 1;
A1216443003890B761 = 0;
super();
}
public function A1216443003875B489():int{
return (A1216443003875B39);
}
public function A1216443003875B524():A1216443003875B148{
return (A1216443003875B622);
}
public function A1216443003890B728():A1216443003890B1258{
return (A1216443003890B888);
}
public function A1216443003875B340():int{
return (A1216443003890B761);
}
public function A1216443003890B709(_arg1:int):void{
this.A1216443003890B761 = _arg1;
}
public function A1216443003890B1054(_arg1:A1216443003890B1258):void{
this.A1216443003875B563 = _arg1;
}
public function A1216443003890B1185(_arg1:A1216443003875B148):void{
this.A1216443003875B622 = _arg1;
}
public function A1216443003890B772():Boolean{
return (A1216443003875B432);
}
public function A1216443003890B1289(_arg1:int):void{
this.A1216443003875B39 = _arg1;
}
public function A1216443003890B778(_arg1:Boolean):void{
this.A1216443003875B432 = _arg1;
}
public function A1216443003890B1336(_arg1:int):void{
A1216443003890B761 = (A1216443003890B761 + _arg1);
}
public function A1216443003890B1231(_arg1:A1216443003875B148):void{
this.A1216443003875B383 = _arg1;
}
public function A1216443003890B1276():A1216443003890B1258{
return (A1216443003875B563);
}
public function A1216443003875B143():A1216443003875B148{
return (A1216443003875B383);
}
public function A1216443003875B167(_arg1:A1216443003890B1258):void{
this.A1216443003890B888 = _arg1;
}
}
}//package com.jumbledmind.ninjainvasion.battlemodule
Section 53
//A1216443003875B519 (com.jumbledmind.ninjainvasion.battlemodule.A1216443003875B519)
package com.jumbledmind.ninjainvasion.battlemodule {
import flash.display.*;
import com.jumbledmind.ninjainvasion.gobs.*;
import flash.text.*;
import com.jumbledmind.ninjainvasion.*;
public class A1216443003875B519 extends MovieClip {
private var A1216443003875B259:A1216443003890B1099;
private var A1216443003875B144:Sprite;
private var A1216443003890B1149:TextField;
private var A1216443003890B1278:Sprite;
private var A1216443003875B610:TextField;
private var A1216443003890B807:TextField;
private var A1216443003875B123:TextField;
public function A1216443003875B519(){
var _local1:A1216443003890B960;
super();
_local1 = A1216443003890B960.A1216443003890B1397();
A1216443003890B807 = _local1.A1216443003890B1086(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 20);
A1216443003890B1149 = _local1.A1216443003890B1086(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 20);
A1216443003890B807.x = 30;
A1216443003890B1149.x = 145;
A1216443003875B610 = _local1.A1216443003890B1086(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 20);
A1216443003875B123 = _local1.A1216443003890B1086(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 20);
A1216443003875B610.x = 30;
A1216443003875B610.y = 275;
A1216443003875B123.x = 30;
A1216443003875B123.y = (275 + 24);
addChild(A1216443003890B807);
addChild(A1216443003890B1149);
addChild(A1216443003875B610);
addChild(A1216443003875B123);
}
public function A1216443003890B905(_arg1:A1216443003890B1099):void{
this.A1216443003875B259 = _arg1;
}
public function A1216443003875B178(_arg1:int, _arg2, _arg3:int, _arg4:int, _arg5:String){
A1216443003890B807.text = (":" + _arg1);
A1216443003890B1149.text = (":" + _arg2);
A1216443003875B123.text = _arg5;
A1216443003875B610.text = ((("Attack:" + _arg3) + "-") + _arg4);
}
public function A1216443003890B1445(_arg1:Sprite):void{
if (((!((this.A1216443003890B1278 == null))) && (contains(this.A1216443003890B1278)))){
removeChild(this.A1216443003890B1278);
this.A1216443003890B1278 = null;
};
this.A1216443003890B1278 = _arg1;
addChild(this.A1216443003890B1278);
this.A1216443003890B1278.x = 120;
this.A1216443003890B1278.y = 16;
}
public function A1216443003890B1117(_arg1:Sprite):void{
if (((!((this.A1216443003875B144 == null))) && (contains(this.A1216443003875B144)))){
removeChild(this.A1216443003875B144);
this.A1216443003875B144 = null;
};
this.A1216443003875B144 = _arg1;
addChild(this.A1216443003875B144);
this.A1216443003875B144.x = 20;
this.A1216443003875B144.y = 16;
}
}
}//package com.jumbledmind.ninjainvasion.battlemodule
Section 54
//A1216443003890B1088 (com.jumbledmind.ninjainvasion.battlemodule.A1216443003890B1088)
package com.jumbledmind.ninjainvasion.battlemodule {
import flash.display.*;
import flash.text.*;
import com.jumbledmind.games.util.*;
import com.jumbledmind.ninjainvasion.*;
public class A1216443003890B1088 extends MovieClip {
private var A1216443003875B138:A1216443003875B136;
private var A1216443003875B160:A1216443003875B136;
private var A1216443003875B42:A1216443003875B136;
private var A1216443003890B841:A1216443003875B136;
private var A1216443003875B501:MovieClip;
private var A1216443003890B813:A1216443003875B136;
private var A1216443003875B518:MovieClip;
private var A1216443003875B498:MovieClip;
private var A1216443003875B93:A1216443003875B136;
public function A1216443003890B1088(){
var _local1:A1216443003890B960;
A1216443003875B518 = new RockMC();
A1216443003875B501 = new PaperMC();
A1216443003875B498 = new ScissorsMC();
super();
addChild(new BottomBarMC());
_local1 = A1216443003890B960.A1216443003890B1397();
A1216443003875B518.x = 50;
A1216443003875B518.y = 50;
A1216443003875B501.x = 120;
A1216443003875B501.y = 50;
A1216443003875B498.x = 190;
A1216443003875B498.y = 50;
A1216443003875B160 = _local1.A1216443003890B868(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 25);
A1216443003875B160.A1216443003875B662("Clear Picks");
A1216443003875B160.x = 230;
A1216443003875B160.y = 48;
A1216443003875B93 = _local1.A1216443003890B868(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 25);
A1216443003875B93.A1216443003875B662("Attack!");
A1216443003875B93.x = 450;
A1216443003875B93.y = 10;
A1216443003890B813 = _local1.A1216443003890B868(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 25);
A1216443003890B813.A1216443003875B662("Retreat");
A1216443003890B813.x = 450;
A1216443003890B813.y = 48;
A1216443003875B138 = _local1.A1216443003890B868(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 25);
A1216443003875B138.A1216443003875B662("Fall Back");
A1216443003875B138.x = 450;
A1216443003875B138.y = 48;
A1216443003890B841 = _local1.A1216443003890B868(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 25);
A1216443003890B841.A1216443003875B662("Surrender");
A1216443003890B841.x = 450;
A1216443003890B841.y = 48;
A1216443003875B42 = _local1.A1216443003890B868(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 25);
A1216443003875B42.A1216443003875B662("Shoot Arrows");
A1216443003875B42.x = 230;
A1216443003875B42.y = 10;
addChild(A1216443003875B518);
addChild(A1216443003875B501);
addChild(A1216443003875B498);
addChild(A1216443003875B42);
addChild(A1216443003875B160);
}
public function A1216443003875B658():A1216443003875B136{
return (A1216443003875B138);
}
public function A1216443003875B149():void{
removeChild(A1216443003875B138);
}
public function A1216443003890B850(){
removeChild(A1216443003875B93);
}
public function A1216443003875B34():void{
removeChild(A1216443003890B841);
}
public function A1216443003875B440(){
addChild(A1216443003875B93);
}
public function A1216443003875B414(){
addChild(A1216443003875B160);
}
public function A1216443003890B1281():A1216443003875B136{
return (A1216443003875B160);
}
public function A1216443003890B1208(){
addChild(A1216443003875B42);
}
public function A1216443003890B1449(){
addChild(A1216443003875B138);
}
public function A1216443003890B1057():A1216443003875B136{
return (A1216443003890B841);
}
public function A1216443003890B873():MovieClip{
return (A1216443003875B501);
}
public function A1216443003890B1390(){
removeChild(A1216443003890B813);
}
public function A1216443003890B1463(){
removeChild(A1216443003875B160);
}
public function A1216443003890B779(){
addChild(A1216443003890B841);
}
public function A1216443003890B1100(){
addChild(A1216443003890B813);
}
public function A1216443003875B238():A1216443003875B136{
return (A1216443003875B93);
}
public function A1216443003890B921(){
removeChild(A1216443003875B42);
}
public function A1216443003890B917():MovieClip{
return (A1216443003875B498);
}
public function A1216443003890B1210():A1216443003875B136{
return (A1216443003890B813);
}
public function A1216443003875B374():A1216443003875B136{
return (A1216443003875B42);
}
public function A1216443003890B1006(){
A1216443003890B850();
A1216443003890B1390();
A1216443003875B149();
A1216443003875B34();
}
override public function removeChild(_arg1:DisplayObject):DisplayObject{
if (((!((_arg1 == null))) && (this.contains(_arg1)))){
return (super.removeChild(_arg1));
};
return (null);
}
public function A1216443003875B17():MovieClip{
return (A1216443003875B518);
}
}
}//package com.jumbledmind.ninjainvasion.battlemodule
Section 55
//A1216443003890B1156 (com.jumbledmind.ninjainvasion.battlemodule.A1216443003890B1156)
package com.jumbledmind.ninjainvasion.battlemodule {
import flash.events.*;
import flash.display.*;
import com.jumbledmind.ninjainvasion.gobs.*;
import flash.net.*;
import flash.text.*;
import com.jumbledmind.games.util.*;
import com.jumbledmind.games.events.*;
import com.jumbledmind.games.*;
import com.jumbledmind.games.input.*;
import com.jumbledmind.games.math.*;
import com.jumbledmind.games.graphics.effects.*;
import com.jumbledmind.ninjainvasion.mapmodule.*;
import com.jumbledmind.ninjainvasion.*;
public class A1216443003890B1156 extends A1216443003875B348 implements A1216443003890B927 {
private var A1216443003875B669:A1216443003875B148;
private var A1216443003875B432:Boolean;
private var A1216443003875B436:A1216443003875B272;
private var A1216443003875B553:A1216443003890B1099;
private var A1216443003875B563:A1216443003890B1258;
private var A1216443003890B1320:A1216443003890B1313;
private var A1216443003890B1315:Boolean;
private var A1216443003890B1323:MovieClip;
private var A1216443003875B583:TextField;
private var A1216443003875B54:A1216443003875B148;
private var A1216443003890B1342:Sprite;
private var A1216443003890B1219:A1216443003875B104;
private var A1216443003890B1332:TextField;
private var A1216443003890B933:Boolean;
private var A1216443003890B818:A1216443003890B1099;
private var A1216443003890B1239:A1216443003890B1422;
private var A1216443003890B1235:A1216443003875B272;
private var A1216443003875B249:int;// = 0
private var A1216443003875B494:A1216443003875B519;
private var A1216443003890B843:A1216443003875B519;
private var A1216443003890B1135:A1216443003875B513;
private var A1216443003890B1388:int;
private var A1216443003890B862:A1216443003890B1422;
private var A1216443003875B285:A1216443003890B830;
private var A1216443003890B744:A1216443003890B830;
private var A1216443003890B987:int;
private var A1216443003890B1046:A1216443003875B475;
private var A1216443003875B293:A1216443003890B1088;
private var A1216443003890B888:A1216443003890B1258;
private var A1216443003875B405:int;
public static var A1216443003875B564:int = 2;
public static var A1216443003875B544:int = 17;
public static var A1216443003875B446:int = 9;
public static var A1216443003890B788:int = 5;
public static var A1216443003875B625:int = 3;
public static var A1216443003875B200:int = 18;
public static var A1216443003875B201:int = 3;
public static var A1216443003875B229:int = 11;
public static var A1216443003890B943:int = 13;
public static var A1216443003890B1284:int = 1;
public static var A1216443003890B1263:int = 7;
public static var A1216443003890B975:int = 16;
public static var A1216443003875B134:int = 10;
public static var A1216443003875B256:int = 12;
public static var A1216443003890B838:int = 1;
public static var A1216443003875B558:int = 14;
public static var A1216443003875B636:int = 18;
public static var A1216443003875B412:int = 2;
public static var A1216443003875B364:int = 15;
public static var A1216443003890B1104:int = 3;
public static var A1216443003875B98:int = 1;
public static var A1216443003875B685:int = 2;
public static var A1216443003890B962:int = 8;
public static var A1216443003890B1136:int = 6;
public static var A1216443003875B288:int = 4;
public function A1216443003890B1156(){
A1216443003875B405 = A1216443003890B838;
A1216443003875B249 = 0;
A1216443003890B1388 = (A1216443003890B1190.A1216443003875B665 * 0.4);
A1216443003890B1342 = new MoneyMC();
super();
addChild(new BlueMC());
A1216443003875B52();
}
private function A1216443003890B1420():void{
if (((A1216443003890B862.A1216443003890B1214()) || (A1216443003890B1239.A1216443003890B1214()))){
A1216443003875B326();
} else {
A1216443003875B436.x = 0;
A1216443003875B436.y = 375;
A1216443003875B436.A1216443003890B896();
addChild(A1216443003875B436);
A1216443003890B1235.x = 500;
A1216443003890B1235.y = -200;
A1216443003890B1235.A1216443003890B896();
A1216443003890B1235.A1216443003890B980();
A1216443003875B293.A1216443003875B414();
if (A1216443003875B553.A1216443003890B1007() > 0){
A1216443003875B293.A1216443003890B1208();
} else {
A1216443003875B293.A1216443003890B921();
};
A1216443003875B293.A1216443003890B850();
A1216443003890B1209();
if (A1216443003875B249 == 0){
A1216443003875B356();
};
};
}
public function A1216443003890B1424(_arg1:Event){
A1216443003875B211(new ScissorsMC(), A1216443003875B201);
}
public function A1216443003890B1311(_arg1:Event){
A1216443003890B960.A1216443003890B1205.A1216443003890B1385(A1216443003890B960.A1216443003875B376, A1216443003890B960.A1216443003875B605, A1216443003890B1135);
}
private function A1216443003875B326():void{
A1216443003890B1337();
if (A1216443003875B432 == true){
if (A1216443003890B862.A1216443003890B1214() == true){
A1216443003890B1046.A1216443003890B1406();
A1216443003890B1135.A1216443003890B1289(A1216443003875B513.A1216443003890B816);
} else {
A1216443003890B1046.A1216443003875B150();
A1216443003890B1135.A1216443003890B1289(A1216443003875B513.A1216443003890B1084);
};
} else {
if (A1216443003890B1239.A1216443003890B1214() == true){
A1216443003890B1046.A1216443003875B150();
A1216443003890B1135.A1216443003890B1289(A1216443003875B513.A1216443003890B1084);
} else {
A1216443003890B1046.A1216443003890B1406();
A1216443003890B1135.A1216443003890B1289(A1216443003875B513.A1216443003890B816);
};
};
A1216443003890B730();
}
public function A1216443003875B207(_arg1){
if (_arg1.A1216443003890B1010() == A1216443003890B1253.A1216443003890B806){
if ((((A1216443003875B405 == A1216443003875B288)) || ((A1216443003875B405 == A1216443003890B838)))){
if (--A1216443003875B249 == 0){
A1216443003875B356();
};
};
} else {
if (_arg1.A1216443003890B1010() == A1216443003890B1143.A1216443003890B806){
if ((((((((A1216443003875B405 == A1216443003890B943)) || ((A1216443003875B405 == A1216443003875B558)))) || ((A1216443003875B405 == A1216443003875B364)))) || ((A1216443003875B405 == A1216443003875B256)))){
if (--A1216443003875B249 == 0){
A1216443003875B356();
};
};
} else {
if (_arg1.A1216443003890B1010() == A1216443003875B506.A1216443003890B806){
if (A1216443003890B862.A1216443003890B1102().A1216443003890B1328() == _arg1.A1216443003890B1034().A1216443003890B1102().A1216443003890B1328()){
A1216443003890B862.A1216443003875B420(_arg1.A1216443003890B1034());
} else {
A1216443003890B1239.A1216443003875B420(_arg1.A1216443003890B1034());
};
if (A1216443003875B405 == A1216443003890B975){
if (--A1216443003875B249 == 0){
A1216443003875B356();
};
};
};
};
};
}
public function A1216443003875B682(_arg1:Event){
if (A1216443003890B933 == true){
A1216443003890B933 = false;
A1216443003875B553.A1216443003890B1115((A1216443003875B553.A1216443003890B1007() + 1));
removeChild(A1216443003890B1323);
A1216443003875B583.text = (": " + A1216443003875B553.A1216443003890B1007());
};
}
override protected function A1216443003875B572():A1216443003890B1351{
return (A1216443003890B960.A1216443003875B572());
}
private function A1216443003875B211(_arg1:Sprite, _arg2:int){
if (A1216443003875B405 == A1216443003875B564){
A1216443003875B436.A1216443003875B211(_arg1, _arg2);
if (A1216443003875B436.A1216443003875B87() >= 3){
A1216443003875B356();
};
};
}
public function A1216443003875B338():void{
var _local1:A1216443003890B1431;
var _local2:int;
var _local3:int;
var _local4:int;
_local1 = A1216443003890B960.A1216443003890B1325();
_local2 = (((_local1.random() * 3) % 3) + 1);
_local3 = (((_local1.random() * 3) % 3) + 1);
_local4 = (((_local1.random() * 3) % 3) + 1);
A1216443003875B171(_local2);
A1216443003875B171(_local3);
A1216443003875B171(_local4);
if (A1216443003890B818.A1216443003890B1007() > 0){
};
}
public function A1216443003890B1204(_arg1:Event){
if (A1216443003890B933 == false){
A1216443003890B933 = true;
A1216443003875B553.A1216443003890B1115((A1216443003875B553.A1216443003890B1007() - 1));
addChild(A1216443003890B1323);
A1216443003875B583.text = (": " + A1216443003875B553.A1216443003890B1007());
};
}
private function A1216443003890B914(){
A1216443003890B1219.A1216443003890B856();
A1216443003890B1219.A1216443003875B505("This is the battle system. Choose 3 attacks on the bottom left , then press the 'Attack' Button [ that will appear after making your choices ] .");
A1216443003890B1219.A1216443003875B505("Defenders get terrain bonus of minimum damage of 3 and maximum damage of 6 for the group regardless of group size.");
A1216443003890B1219.A1216443003875B505("Rock beats scissors.\nPaper beats rock.\nScissors beats paper.\nTies are considered wins for both sides.");
A1216443003890B1219.A1216443003875B505("If you are defending and have a friendly town nearby , you will be given the option to fallback and save your units. Otherwise you can surrender to end the battle but lose the units ( not recommended ) ");
A1216443003890B1219.A1216443003875B505("If you are the attacker , and decide to retreat , you save your units from battle.");
A1216443003890B1219.A1216443003875B505("You can fire arrows that do 0 damage up to the minimum damage of the group , but keep an eye on your money!");
A1216443003890B1219.A1216443003875B684();
addChild(A1216443003890B1219);
A1216443003890B1219.A1216443003875B36().addEventListener(MouseEvent.MOUSE_UP, A1216443003890B1207);
A1216443003890B1219.A1216443003890B1280().addEventListener(MouseEvent.MOUSE_UP, A1216443003875B262);
}
private function A1216443003890B1209(){
var _local1:int;
var _local2:int;
_local1 = A1216443003890B862.A1216443003875B247();
_local2 = A1216443003890B1239.A1216443003875B247();
A1216443003875B178((A1216443003875B669.A1216443003875B199() - A1216443003890B862.A1216443003875B343()), (A1216443003875B669.A1216443003875B103() - A1216443003890B862.A1216443003875B287()), (A1216443003875B54.A1216443003875B199() - A1216443003890B1239.A1216443003875B343()), (A1216443003875B54.A1216443003875B103() - A1216443003890B1239.A1216443003875B287()), A1216443003890B862.A1216443003875B674(), A1216443003890B862.A1216443003875B66(), A1216443003890B1239.A1216443003875B674(), A1216443003890B1239.A1216443003875B66(), A1216443003875B432);
A1216443003875B249 = (_local1 + _local2);
}
public function A1216443003875B52():void{
var _local1:A1216443003890B960;
_local1 = A1216443003890B960.A1216443003890B1397();
A1216443003890B862 = new A1216443003890B1422();
A1216443003890B862.y = 270;
A1216443003890B1239 = new A1216443003890B1422();
A1216443003890B1239.A1216443003875B284(A1216443003890B1004.LEFT);
A1216443003890B1239.x = 339;
A1216443003890B1239.y = 270;
A1216443003890B1320 = new A1216443003890B1313();
A1216443003875B293 = new A1216443003890B1088();
A1216443003875B293.x = 0;
A1216443003875B293.y = 410;
A1216443003875B436 = new A1216443003875B272();
A1216443003890B1235 = new A1216443003875B272();
A1216443003875B494 = new A1216443003875B519();
A1216443003890B843 = new A1216443003875B519();
A1216443003875B494.y = 8;
A1216443003890B843.x = 325;
A1216443003890B843.y = 8;
A1216443003890B744 = new A1216443003890B830();
A1216443003875B285 = new A1216443003890B830();
A1216443003890B1046 = new A1216443003875B475();
A1216443003890B1046.y = 100;
A1216443003890B1320.addChild(A1216443003890B862);
A1216443003890B1320.addChild(A1216443003890B1239);
addChild(A1216443003890B1320);
A1216443003890B1135 = new A1216443003875B513();
A1216443003890B1219 = new A1216443003875B104();
A1216443003890B1219.y = 150;
A1216443003890B1219.x = 15;
A1216443003875B583 = _local1.A1216443003890B1086(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 25);
A1216443003875B583.x = 458;
A1216443003875B583.y = 352;
A1216443003890B1342.x = 450;
A1216443003890B1342.y = 370;
A1216443003890B1332 = _local1.A1216443003890B1086(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 25);
A1216443003890B1332.x = 445;
A1216443003890B1332.y = 380;
A1216443003890B1332.text = "More Games";
A1216443003890B1323 = new ArrowsMC();
A1216443003890B1323.x = 275;
A1216443003890B1323.y = 378;
A1216443003890B1388 = (A1216443003890B1190.A1216443003875B665 * 0.4);
}
public function A1216443003890B1207(_arg1:Event){
if (A1216443003890B1219.A1216443003890B1131()){
A1216443003890B1219.A1216443003875B684();
} else {
A1216443003890B1396();
A1216443003875B356();
};
}
override protected function A1216443003875B460():void{
if ((((((((((((((((A1216443003875B405 == A1216443003890B788)) || ((A1216443003875B405 == A1216443003890B1136)))) || ((A1216443003875B405 == A1216443003890B1263)))) || ((A1216443003875B405 == A1216443003890B962)))) || ((A1216443003875B405 == A1216443003875B446)))) || ((A1216443003875B405 == A1216443003875B134)))) || ((A1216443003875B405 == A1216443003875B229)))) || ((A1216443003875B405 == A1216443003875B544)))){
if (--A1216443003890B987 == 0){
A1216443003875B356();
};
};
}
public function deactivate():void{
A1216443003875B293.A1216443003875B17().removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B660);
A1216443003875B293.A1216443003890B873().removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B774);
A1216443003875B293.A1216443003890B917().removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B1424);
A1216443003875B293.A1216443003890B1281().removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B525);
A1216443003875B293.A1216443003875B374().removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B1204);
A1216443003875B293.A1216443003875B238().removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B1357);
A1216443003875B293.A1216443003890B1210().removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B1364);
A1216443003875B293.A1216443003875B658().removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B69);
A1216443003875B293.A1216443003890B1057().removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B1464);
A1216443003890B1046.A1216443003875B676().removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B1311);
A1216443003890B1323.removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B682);
A1216443003890B1332.removeEventListener(MouseEvent.CLICK, A1216443003875B486);
A1216443003890B960.A1216443003890B1397().A1216443003890B1324("GFX_Q", this);
}
private function A1216443003890B1337():void{
A1216443003875B669.A1216443003890B1371((A1216443003875B669.A1216443003875B199() - A1216443003890B862.A1216443003875B343()));
A1216443003875B669.A1216443003875B25((A1216443003875B669.A1216443003875B103() - A1216443003890B862.A1216443003875B287()));
A1216443003875B54.A1216443003890B1371((A1216443003875B54.A1216443003875B199() - A1216443003890B1239.A1216443003875B343()));
A1216443003875B54.A1216443003875B25((A1216443003875B54.A1216443003875B103() - A1216443003890B1239.A1216443003875B287()));
}
public function A1216443003875B582():void{
A1216443003875B293.A1216443003875B17().addEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B660);
A1216443003875B293.A1216443003890B873().addEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B774);
A1216443003875B293.A1216443003890B917().addEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B1424);
A1216443003875B293.A1216443003890B1281().addEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B525);
A1216443003875B293.A1216443003875B374().addEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B1204);
A1216443003875B293.A1216443003875B238().addEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B1357);
A1216443003875B293.A1216443003890B1210().addEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B1364);
A1216443003875B293.A1216443003875B658().addEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B69);
A1216443003875B293.A1216443003890B1057().addEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B1464);
A1216443003890B1046.A1216443003875B676().addEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B1311);
A1216443003890B1323.addEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B682);
A1216443003890B1332.addEventListener(MouseEvent.CLICK, A1216443003875B486);
A1216443003890B960.A1216443003890B1397().A1216443003875B561("GFX_Q", this);
}
private function A1216443003875B69(_arg1:Event){
A1216443003890B1252();
A1216443003890B1135.A1216443003890B1289(A1216443003875B513.A1216443003890B993);
}
private function A1216443003875B356():void{
A1216443003875B583.text = (": " + A1216443003875B553.A1216443003890B1007());
if (A1216443003875B405 == A1216443003875B564){
A1216443003875B436.A1216443003875B84();
A1216443003875B293.A1216443003875B440();
A1216443003875B405 = A1216443003875B625;
} else {
if (A1216443003875B405 == A1216443003875B625){
A1216443003875B405 = A1216443003875B288;
A1216443003875B293.A1216443003890B1006();
A1216443003875B293.A1216443003890B1463();
A1216443003875B293.A1216443003890B921();
A1216443003875B436.A1216443003890B803();
A1216443003875B338();
removeChild(A1216443003890B1323);
addChild(A1216443003890B1235);
A1216443003890B1235.A1216443003890B980();
A1216443003875B249 = 2;
new A1216443003890B1250(A1216443003875B436, 150, 82, 0.3, 60, A1216443003890B1388);
new A1216443003890B1250(A1216443003890B1235, 150, 162, 0.3, 60, A1216443003890B1388);
} else {
if (A1216443003875B405 == A1216443003875B288){
A1216443003875B405 = A1216443003890B788;
A1216443003890B987 = A1216443003890B1388;
} else {
if (A1216443003875B405 == A1216443003890B788){
A1216443003890B1235.A1216443003890B1229(1);
A1216443003875B405 = A1216443003890B1136;
A1216443003890B987 = A1216443003890B1388;
} else {
if (A1216443003875B405 == A1216443003890B1136){
A1216443003890B1235.A1216443003890B1229(2);
A1216443003875B405 = A1216443003890B1263;
A1216443003890B987 = A1216443003890B1388;
} else {
if (A1216443003875B405 == A1216443003890B1263){
A1216443003890B1235.A1216443003890B1229(3);
A1216443003875B405 = A1216443003890B962;
A1216443003890B987 = A1216443003890B1388;
} else {
if (A1216443003875B405 == A1216443003890B962){
A1216443003875B626(1);
A1216443003875B405 = A1216443003875B446;
A1216443003890B987 = A1216443003890B1388;
} else {
if (A1216443003875B405 == A1216443003875B446){
A1216443003875B626(2);
A1216443003875B405 = A1216443003875B134;
A1216443003890B987 = A1216443003890B1388;
} else {
if (A1216443003875B405 == A1216443003875B134){
A1216443003875B626(3);
A1216443003890B987 = A1216443003890B1388;
A1216443003875B405 = A1216443003875B229;
} else {
if (A1216443003875B405 == A1216443003875B229){
A1216443003875B173();
A1216443003875B121();
if ((((A1216443003890B933 == true)) || ((A1216443003890B1315 == true)))){
A1216443003875B405 = A1216443003875B256;
A1216443003890B727(A1216443003890B1284);
A1216443003875B249 = 1;
if (A1216443003890B1315 == true){
A1216443003890B727(A1216443003875B412);
A1216443003875B249 = 2;
};
A1216443003890B1315 = false;
A1216443003890B933 = false;
} else {
A1216443003875B405 = A1216443003890B943;
A1216443003875B249 = A1216443003890B1138();
};
} else {
if (A1216443003875B405 == A1216443003875B256){
A1216443003875B405 = A1216443003890B943;
A1216443003875B249 = A1216443003890B1138();
} else {
if (A1216443003875B405 == A1216443003890B943){
A1216443003890B862.A1216443003890B947();
A1216443003890B1239.A1216443003890B947();
A1216443003875B249 = A1216443003890B1138();
A1216443003875B405 = A1216443003875B558;
} else {
if (A1216443003875B405 == A1216443003875B558){
A1216443003890B862.A1216443003890B947();
A1216443003890B1239.A1216443003890B947();
A1216443003875B249 = A1216443003890B1138();
A1216443003875B405 = A1216443003875B364;
} else {
if (A1216443003875B405 == A1216443003875B364){
A1216443003875B405 = A1216443003890B975;
A1216443003890B862.A1216443003890B947();
A1216443003890B1239.A1216443003890B947();
A1216443003875B249 = (A1216443003890B862.A1216443003890B903() + A1216443003890B1239.A1216443003890B903());
if (A1216443003875B249 == 0){
A1216443003875B356();
};
} else {
if (A1216443003875B405 == A1216443003890B975){
A1216443003875B405 = A1216443003890B838;
A1216443003890B1420();
} else {
if (A1216443003875B405 == A1216443003890B838){
A1216443003875B405 = A1216443003875B564;
if (A1216443003875B432 == true){
A1216443003875B293.A1216443003890B1100();
} else {
if (A1216443003875B563.A1216443003875B389()){
A1216443003875B293.A1216443003890B1449();
} else {
A1216443003875B293.A1216443003890B779();
};
};
} else {
if (A1216443003875B405 == A1216443003875B544){
A1216443003890B1046.A1216443003890B1108();
A1216443003875B405 = A1216443003875B200;
} else {
if (A1216443003875B405 == A1216443003875B636){
A1216443003875B405 = A1216443003890B838;
A1216443003890B1420();
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
}
private function A1216443003875B478():void{
A1216443003875B436.A1216443003890B896();
}
private function A1216443003890B1464(_arg1:Event){
A1216443003890B836();
A1216443003890B1135.A1216443003890B1289(A1216443003875B513.A1216443003890B729);
}
public function A1216443003890B1357(_arg1:Event){
if (A1216443003875B405 == A1216443003875B625){
A1216443003875B356();
};
}
public function A1216443003875B486(_arg1:Event){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.bigfishgames.com/online-games/?src= nimjaclanquest&afcode=af237c4e57b1");
navigateToURL(_local2);
}
public function A1216443003875B121():void{
this.removeChild(A1216443003890B1235);
}
private function A1216443003890B1364(_arg1:Event){
A1216443003875B159();
A1216443003890B1135.A1216443003890B1289(A1216443003875B513.A1216443003890B1016);
}
private function A1216443003890B836():void{
A1216443003890B1046.A1216443003890B836();
A1216443003890B1337();
A1216443003890B730();
}
public function activate():void{
A1216443003875B582();
}
override public function removeChild(_arg1:DisplayObject):DisplayObject{
if (((!((_arg1 == null))) && (this.contains(_arg1)))){
return (super.removeChild(_arg1));
};
return (null);
}
public function A1216443003890B1138():int{
var _local1:int;
var _local2:int;
if (A1216443003890B744.A1216443003890B1404() > 0){
_local1 = A1216443003890B744.A1216443003890B997();
_local2 = A1216443003875B285.A1216443003890B997();
if (_local1 == A1216443003890B1284){
if (_local2 == A1216443003875B98){
A1216443003890B1320.A1216443003890B1005(A1216443003890B1004.RIGHT);
A1216443003890B1239.A1216443003875B406(A1216443003890B1388);
A1216443003890B1239.A1216443003875B135(A1216443003890B862.A1216443003875B30());
} else {
if (_local2 == A1216443003875B685){
A1216443003890B1320.A1216443003890B718(A1216443003890B1004.RIGHT);
A1216443003890B1239.A1216443003875B406(A1216443003890B1388);
A1216443003890B1239.A1216443003875B135(A1216443003890B862.A1216443003875B30());
} else {
if (_local2 == A1216443003875B201){
A1216443003890B1320.A1216443003875B557(A1216443003890B1004.RIGHT);
A1216443003890B1239.A1216443003875B406(A1216443003890B1388);
A1216443003890B1239.A1216443003875B135(A1216443003890B862.A1216443003875B30());
};
};
};
A1216443003890B1135.A1216443003890B1336(5);
return (1);
} else {
if (_local1 == A1216443003875B412){
if (_local2 == A1216443003875B98){
A1216443003890B1320.A1216443003890B1005(A1216443003890B1004.LEFT);
A1216443003890B862.A1216443003875B406(A1216443003890B1388);
A1216443003890B862.A1216443003875B135(A1216443003890B1239.A1216443003875B30());
} else {
if (_local2 == A1216443003875B685){
A1216443003890B1320.A1216443003890B718(A1216443003890B1004.LEFT);
A1216443003890B862.A1216443003875B406(A1216443003890B1388);
A1216443003890B862.A1216443003875B135(A1216443003890B1239.A1216443003875B30());
} else {
if (_local2 == A1216443003875B201){
A1216443003890B1320.A1216443003875B557(A1216443003890B1004.LEFT);
A1216443003890B862.A1216443003875B406(A1216443003890B1388);
A1216443003890B862.A1216443003875B135(A1216443003890B1239.A1216443003875B30());
};
};
};
return (1);
} else {
if (_local2 == A1216443003875B98){
A1216443003890B1320.A1216443003890B1005(A1216443003890B1004.RIGHT);
A1216443003890B1239.A1216443003875B406(A1216443003890B1388);
A1216443003890B1239.A1216443003875B135(A1216443003890B862.A1216443003875B30());
A1216443003890B1320.A1216443003890B1005(A1216443003890B1004.LEFT);
A1216443003890B862.A1216443003875B406(A1216443003890B1388);
A1216443003890B862.A1216443003875B135(A1216443003890B1239.A1216443003875B30());
} else {
if (_local2 == A1216443003875B685){
A1216443003890B1320.A1216443003890B718(A1216443003890B1004.RIGHT);
A1216443003890B1239.A1216443003875B406(A1216443003890B1388);
A1216443003890B1239.A1216443003875B135(A1216443003890B862.A1216443003875B30());
A1216443003890B1320.A1216443003890B718(A1216443003890B1004.LEFT);
A1216443003890B862.A1216443003875B406(A1216443003890B1388);
A1216443003890B862.A1216443003875B135(A1216443003890B1239.A1216443003875B30());
} else {
if (_local2 == A1216443003875B201){
A1216443003890B1320.A1216443003875B557(A1216443003890B1004.RIGHT);
A1216443003890B1239.A1216443003875B406(A1216443003890B1388);
A1216443003890B1239.A1216443003875B135(A1216443003890B862.A1216443003875B30());
A1216443003890B1320.A1216443003875B557(A1216443003890B1004.LEFT);
A1216443003890B862.A1216443003875B406(A1216443003890B1388);
A1216443003890B862.A1216443003875B135(A1216443003890B1239.A1216443003875B30());
};
};
};
A1216443003890B1135.A1216443003890B1336(2);
return (2);
};
};
};
return (0);
}
public function A1216443003890B727(_arg1:int):void{
if (_arg1 == A1216443003890B1284){
A1216443003890B1320.A1216443003890B890(A1216443003890B1004.RIGHT);
A1216443003890B1239.A1216443003875B406(A1216443003890B1388);
A1216443003890B1239.A1216443003875B135(A1216443003890B862.A1216443003890B1151());
} else {
A1216443003890B1320.A1216443003890B890(A1216443003890B1004.LEFT);
A1216443003890B862.A1216443003875B406(A1216443003890B1388);
A1216443003890B862.A1216443003875B135(A1216443003890B1239.A1216443003890B1151());
};
}
private function A1216443003890B1252():void{
A1216443003890B1046.A1216443003890B1252();
A1216443003890B1337();
A1216443003890B730();
}
public function A1216443003875B262(_arg1:Event){
A1216443003890B1396();
A1216443003875B356();
}
private function A1216443003890B730():void{
addChild(A1216443003890B1046);
A1216443003875B173();
removeChild(A1216443003875B583);
removeChild(A1216443003890B1342);
removeChild(A1216443003875B293);
removeChild(A1216443003875B494);
removeChild(A1216443003890B843);
removeChild(A1216443003890B1332);
new A1216443003890B1430(A1216443003890B1046, 0, A1216443003890B1046.y, A1216443003890B1388);
A1216443003875B405 = A1216443003875B544;
A1216443003890B987 = A1216443003890B1388;
}
public function A1216443003890B731(_arg1:A1216443003890B1099, _arg2:A1216443003890B1099):void{
A1216443003875B494.A1216443003890B1117(_arg1.A1216443003875B536());
A1216443003875B494.A1216443003890B1445(_arg1.A1216443003890B760());
A1216443003890B843.A1216443003890B1117(_arg2.A1216443003875B536());
A1216443003890B843.A1216443003890B1445(_arg2.A1216443003890B760());
}
private function A1216443003875B159():void{
A1216443003890B1046.A1216443003875B159();
A1216443003890B1337();
A1216443003890B730();
}
private function A1216443003890B1033():void{
if (A1216443003875B405 == A1216443003875B625){
A1216443003875B436.A1216443003890B803();
A1216443003875B293.A1216443003890B850();
A1216443003875B405 = A1216443003875B564;
A1216443003875B478();
};
}
private function A1216443003890B1396(){
removeChild(A1216443003890B1219);
A1216443003890B1219.A1216443003875B36().removeEventListener(MouseEvent.MOUSE_UP, A1216443003890B1207);
A1216443003890B1219.A1216443003890B1280().removeEventListener(MouseEvent.MOUSE_UP, A1216443003875B262);
}
public function A1216443003875B171(_arg1:int):void{
if (_arg1 == A1216443003875B98){
A1216443003890B1235.A1216443003875B211(new RockMC(), A1216443003875B98);
} else {
if (_arg1 == A1216443003875B685){
A1216443003890B1235.A1216443003875B211(new PaperMC(), A1216443003875B685);
} else {
if (_arg1 == A1216443003875B201){
A1216443003890B1235.A1216443003875B211(new ScissorsMC(), A1216443003875B201);
};
};
};
}
public function A1216443003875B173():void{
this.removeChild(A1216443003875B436);
}
public function A1216443003875B178(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7, _arg8, _arg9:Boolean):void{
var _local10:String;
var _local11:String;
if (_arg9 == true){
_local10 = "Attacker";
_local11 = "Defender";
} else {
_local10 = "Defender";
_local11 = "Attacker";
};
A1216443003875B494.A1216443003875B178(_arg1, _arg2, _arg5, _arg6, _local10);
A1216443003890B843.A1216443003875B178(_arg3, _arg4, _arg7, _arg8, _local11);
}
override protected function A1216443003890B1299(_arg1:A1216443003890B1238):void{
}
private function A1216443003875B626(_arg1:int):void{
if (A1216443003875B436.getPickValue(_arg1) == A1216443003890B1235.getPickValue(_arg1)){
A1216443003890B744.A1216443003890B866(A1216443003890B1104);
A1216443003875B285.A1216443003890B866(A1216443003875B436.getPickValue(_arg1));
} else {
if (_arg1 == 1){
if (A1216443003890B783(A1216443003875B436.getPickValue(1), A1216443003890B1235.getPickValue(1), A1216443003875B432) == true){
A1216443003890B1235.A1216443003890B1411(1);
A1216443003890B744.A1216443003890B866(A1216443003890B1284);
A1216443003875B285.A1216443003890B866(A1216443003875B436.getPickValue(1));
} else {
A1216443003875B436.A1216443003890B1411(1);
A1216443003890B744.A1216443003890B866(A1216443003875B412);
A1216443003875B285.A1216443003890B866(A1216443003890B1235.getPickValue(1));
};
} else {
if (_arg1 == 2){
if (A1216443003890B783(A1216443003875B436.getPickValue(2), A1216443003890B1235.getPickValue(2), A1216443003875B432) == true){
A1216443003890B1235.A1216443003890B1411(2);
A1216443003890B744.A1216443003890B866(A1216443003890B1284);
A1216443003875B285.A1216443003890B866(A1216443003875B436.getPickValue(2));
} else {
A1216443003875B436.A1216443003890B1411(2);
A1216443003890B744.A1216443003890B866(A1216443003875B412);
A1216443003875B285.A1216443003890B866(A1216443003890B1235.getPickValue(2));
};
} else {
if (_arg1 == 3){
if (A1216443003890B783(A1216443003875B436.getPickValue(3), A1216443003890B1235.getPickValue(3), A1216443003875B432) == true){
A1216443003890B1235.A1216443003890B1411(3);
A1216443003890B744.A1216443003890B866(A1216443003890B1284);
A1216443003875B285.A1216443003890B866(A1216443003875B436.getPickValue(3));
} else {
A1216443003875B436.A1216443003890B1411(3);
A1216443003890B744.A1216443003890B866(A1216443003875B412);
A1216443003875B285.A1216443003890B866(A1216443003890B1235.getPickValue(3));
};
};
};
};
};
}
public function A1216443003890B893(_arg1:A1216443003875B513):void{
var _local2:A1216443003875B148;
var _local3:A1216443003875B148;
var _local4:Boolean;
var _local5:A1216443003890B1258;
var _local6:A1216443003890B1258;
var _local7:Number;
var _local8:Number;
var _local9:Number;
A1216443003875B293.A1216443003890B1390();
A1216443003875B293.A1216443003875B34();
A1216443003875B293.A1216443003875B149();
_local2 = _arg1.A1216443003875B143();
_local3 = _arg1.A1216443003875B524();
_local4 = _arg1.A1216443003890B772();
_local5 = _arg1.A1216443003890B728();
_local6 = _arg1.A1216443003890B1276();
A1216443003890B1046.x = -(A1216443003890B1046.width);
removeChild(A1216443003890B1046);
this.A1216443003875B669 = _local2;
this.A1216443003875B54 = _local3;
this.A1216443003875B432 = _local4;
this.A1216443003890B888 = _local5;
this.A1216443003875B563 = _local6;
this.A1216443003890B1135 = _arg1;
A1216443003875B403(_local2.A1216443003890B1102(), _local3.A1216443003890B1102());
A1216443003890B731(_local2.A1216443003890B1102(), _local3.A1216443003890B1102());
A1216443003890B862.A1216443003890B1453(_local2);
A1216443003890B1239.A1216443003890B1453(_local3);
A1216443003890B1320.A1216443003875B371(_local6.A1216443003890B1400());
if (_local4){
A1216443003890B1239.A1216443003875B330();
} else {
A1216443003890B862.A1216443003875B330();
};
addChild(A1216443003875B494);
addChild(A1216443003890B843);
addChild(A1216443003875B583);
addChild(A1216443003890B1342);
addChild(A1216443003890B1332);
addChild(A1216443003875B293);
A1216443003875B553 = _local2.A1216443003890B1102();
A1216443003890B818 = _local3.A1216443003890B1102();
A1216443003875B583.text = (": " + A1216443003875B553.A1216443003890B1007());
if (A1216443003890B960.A1216443003890B925.A1216443003890B1212 == false){
A1216443003890B960.A1216443003890B925.A1216443003890B1212 = true;
A1216443003890B914();
A1216443003875B405 = A1216443003875B636;
} else {
A1216443003875B405 = A1216443003890B838;
A1216443003890B1420();
};
_local7 = (_local2.A1216443003875B199() + _local2.A1216443003875B103());
_local8 = (_local3.A1216443003875B199() + _local3.A1216443003875B103());
_local9 = (_local7 + _local8);
_arg1.A1216443003890B709(((100 - ((100 * _local7) / _local9)) as int));
}
public function A1216443003890B774(_arg1:Event){
A1216443003875B211(new PaperMC(), A1216443003875B685);
}
public function A1216443003875B525(_arg1:Event){
if (A1216443003875B405 == A1216443003875B564){
A1216443003875B478();
} else {
if (A1216443003875B405 == A1216443003875B625){
A1216443003890B1033();
};
};
}
public function A1216443003875B403(_arg1:A1216443003890B1099, _arg2:A1216443003890B1099):void{
A1216443003875B494.A1216443003890B905(_arg1);
A1216443003890B843.A1216443003890B905(_arg2);
}
public function A1216443003890B783(_arg1:int, _arg2:int, _arg3:Boolean):Boolean{
if ((((_arg3 == false)) && ((_arg1 == _arg2)))){
return (true);
};
if ((((((((_arg1 == A1216443003875B98)) && ((_arg2 == A1216443003875B201)))) || ((((_arg1 == A1216443003875B685)) && ((_arg2 == A1216443003875B98)))))) || ((((_arg1 == A1216443003875B201)) && ((_arg2 == A1216443003875B685)))))){
return (true);
};
return (false);
}
public function A1216443003875B660(_arg1:Event){
A1216443003875B211(new RockMC(), A1216443003875B98);
}
}
}//package com.jumbledmind.ninjainvasion.battlemodule
Section 56
//A1216443003890B1222 (com.jumbledmind.ninjainvasion.battlemodule.A1216443003890B1222)
package com.jumbledmind.ninjainvasion.battlemodule {
import flash.display.*;
import com.jumbledmind.ninjainvasion.gobs.*;
import com.jumbledmind.ninjainvasion.*;
public class A1216443003890B1222 extends A1216443003875B620 {
private var A1216443003875B633:A1216443003890B1156;
public function A1216443003890B1222(_arg1:String, _arg2:MovieClip){
super(_arg1, _arg2);
this.A1216443003890B800 = A1216443003890B960.A1216443003875B153;
A1216443003875B52();
}
public function A1216443003875B52():void{
A1216443003875B633 = new A1216443003890B1156();
A1216443003875B108();
}
override public function deactivate():void{
super.deactivate();
A1216443003875B633.deactivate();
}
public function A1216443003875B108():void{
}
override public function A1216443003890B1114():void{
A1216443003875B633.A1216443003890B1114();
}
override public function A1216443003875B527():void{
removeChild(A1216443003875B633);
}
override public function A1216443003875B463(_arg1):void{
super.A1216443003875B463(_arg1);
addChild(A1216443003875B633);
A1216443003875B633.A1216443003890B893(_arg1);
}
override public function activate():void{
var _local1:A1216443003875B148;
var _local2:A1216443003875B148;
super.activate();
if (A1216443003875B351 == null){
_local1 = new A1216443003875B148();
_local1.A1216443003890B905(A1216443003890B960.A1216443003890B925.A1216443003890B733());
_local1.A1216443003890B1371(6);
_local1.A1216443003875B25(6);
_local2 = new A1216443003875B148();
_local2.A1216443003890B905(A1216443003890B960.A1216443003890B925.A1216443003875B607());
_local2.A1216443003890B1371(6);
_local2.A1216443003875B25(6);
A1216443003875B633.activate();
} else {
A1216443003875B633.activate();
};
}
}
}//package com.jumbledmind.ninjainvasion.battlemodule
Section 57
//A1216443003890B1313 (com.jumbledmind.ninjainvasion.battlemodule.A1216443003890B1313)
package com.jumbledmind.ninjainvasion.battlemodule {
import flash.display.*;
import com.jumbledmind.ninjainvasion.gobs.*;
import com.jumbledmind.games.*;
import com.jumbledmind.games.graphics.effects.*;
import com.jumbledmind.ninjainvasion.*;
import flash.media.*;
public class A1216443003890B1313 extends MovieClip {
private var A1216443003875B13:Sprite;
private var A1216443003875B547:Sprite;
private var A1216443003890B969:Sprite;
private var A1216443003890B1146:Sprite;
private var A1216443003890B794:Sound;
private var A1216443003875B20:Sprite;
private var A1216443003875B438:Sound;
private var A1216443003875B270:Sprite;
private var A1216443003890B988:Sound;
private var A1216443003875B174:Sprite;
private var A1216443003890B1443:Number;
private var A1216443003890B756:Sprite;
private var A1216443003875B354:Sprite;
private var A1216443003890B1346:Sprite;
private var A1216443003875B132:Sound;
private var A1216443003890B957:Sprite;
public function A1216443003890B1313(){
A1216443003875B20 = new GrassValleyMC();
A1216443003875B547 = new RedRockMC();
A1216443003890B1443 = (A1216443003890B1190.A1216443003875B665 * 0.5);
A1216443003890B794 = new ScissorsSFX();
A1216443003890B988 = new RockSFX();
A1216443003875B438 = new PaperSFX();
A1216443003875B132 = new ArrowSFX();
super();
A1216443003890B1146 = A1216443003875B20;
A1216443003875B354 = new BigRockMC();
A1216443003875B354.alpha = 0;
A1216443003890B957 = new BigRockMC();
A1216443003890B957.alpha = 0;
A1216443003890B957.x = 275;
A1216443003875B13 = new BigPaperMC();
A1216443003875B13.alpha = 0;
A1216443003890B969 = new BigPaperMC();
A1216443003890B969.alpha = 0;
A1216443003890B969.x = 275;
A1216443003890B756 = new BigScissorsMC();
A1216443003890B756.alpha = 0;
A1216443003875B174 = new BigScissorsMC();
A1216443003875B174.alpha = 0;
A1216443003875B174.x = 275;
A1216443003875B270 = new BigArrowsMC();
A1216443003875B270.alpha = 0;
A1216443003890B1346 = new BigArrowsMC();
A1216443003890B1346.alpha = 0;
A1216443003890B1346.x = 275;
addChild(A1216443003890B1146);
addChild(A1216443003875B354);
addChild(A1216443003875B13);
addChild(A1216443003890B756);
addChild(A1216443003875B270);
addChild(A1216443003890B957);
addChild(A1216443003890B969);
addChild(A1216443003875B174);
addChild(A1216443003890B1346);
A1216443003890B1443 = (A1216443003890B1190.A1216443003875B665 * 0.5);
}
public function A1216443003890B718(_arg1:int):void{
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003875B438.play(1);
};
if (_arg1 == A1216443003890B1004.LEFT){
A1216443003875B13.alpha = 1;
new A1216443003875B18(A1216443003875B13, 0, A1216443003890B1443);
} else {
A1216443003890B969.alpha = 1;
new A1216443003875B18(A1216443003890B969, 0, A1216443003890B1443);
};
}
public function A1216443003875B557(_arg1:int):void{
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003890B794.play(1);
};
if (_arg1 == A1216443003890B1004.LEFT){
A1216443003890B756.alpha = 1;
new A1216443003875B18(A1216443003890B756, 0, A1216443003890B1443);
} else {
A1216443003875B174.alpha = 1;
new A1216443003875B18(A1216443003875B174, 0, A1216443003890B1443);
};
}
public function A1216443003890B890(_arg1:int):void{
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003875B132.play(1);
};
if (_arg1 == A1216443003890B1004.LEFT){
A1216443003875B270.alpha = 1;
new A1216443003875B18(A1216443003875B270, 0, A1216443003890B1443);
} else {
A1216443003890B1346.alpha = 1;
new A1216443003875B18(A1216443003890B1346, 0, A1216443003890B1443);
};
}
public function A1216443003875B371(_arg1:int){
removeChild(A1216443003890B1146);
if (_arg1 == 0){
A1216443003890B1146 = A1216443003875B20;
} else {
if (_arg1 == 1){
A1216443003890B1146 = A1216443003875B547;
};
};
addChild(A1216443003890B1146);
setChildIndex(A1216443003890B1146, 0);
}
public function A1216443003890B1005(_arg1:int):void{
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003890B988.play(1);
};
if (_arg1 == A1216443003890B1004.LEFT){
A1216443003875B354.alpha = 1;
new A1216443003875B18(A1216443003875B354, 0, A1216443003890B1443);
} else {
A1216443003890B957.alpha = 1;
new A1216443003875B18(A1216443003890B957, 0, A1216443003890B1443);
};
}
}
}//package com.jumbledmind.ninjainvasion.battlemodule
Section 58
//A1216443003890B1422 (com.jumbledmind.ninjainvasion.battlemodule.A1216443003890B1422)
package com.jumbledmind.ninjainvasion.battlemodule {
import flash.display.*;
import com.jumbledmind.ninjainvasion.gobs.*;
import flash.text.*;
import com.jumbledmind.games.util.*;
import com.jumbledmind.games.*;
import com.jumbledmind.games.graphics.effects.*;
import com.jumbledmind.ninjainvasion.*;
import flash.media.*;
public class A1216443003890B1422 extends MovieClip {
private var A1216443003890B847:int;// = 0
private var A1216443003875B259:A1216443003890B1099;
private var A1216443003875B601:int;// = 0
private var A1216443003875B45:A1216443003890B830;
private var A1216443003875B568:Sound;
private var A1216443003875B180:int;
private var A1216443003875B181:int;// = 0
private var A1216443003890B1292:TextField;
private var A1216443003875B105:Sound;
private var A1216443003875B179:int;// = 0
private var A1216443003890B1469:int;// = 0
private var A1216443003890B1331:int;// = 0
private var A1216443003890B1110:int;// = 1
private var A1216443003875B363:int;
private var A1216443003890B948:int;
private var A1216443003890B706:int;// = 0
private var A1216443003890B1090:int;
private static var A1216443003875B289:int = (A1216443003875B469 - 91);
private static var A1216443003875B257 = (A1216443003890B885 - 45);
private static var A1216443003890B849:int = -50;
private static var A1216443003875B469:int = (A1216443003890B885 - 91);
private static var A1216443003890B1443:Number = A1216443003890B1190.A1216443003875B665;
private static var A1216443003875B514 = (A1216443003875B469 - 45);
public static var A1216443003890B1175:int = 8;
private static var A1216443003890B885:int = 200;
private static var A1216443003875B342:int = -100;
private static var A1216443003875B453:int = 0;
public function A1216443003890B1422(){
var _local1:A1216443003890B960;
A1216443003890B1469 = 0;
A1216443003875B181 = 0;
A1216443003890B1331 = 0;
A1216443003875B601 = 0;
A1216443003890B706 = 0;
A1216443003890B847 = 0;
A1216443003875B179 = 0;
A1216443003890B1110 = 1;
super();
_local1 = A1216443003890B960.A1216443003890B1397();
A1216443003875B45 = new A1216443003890B830();
A1216443003890B1292 = _local1.A1216443003890B1086(_local1.A1216443003875B265(), TextFieldAutoSize.LEFT, 25);
A1216443003890B1292.x = 50;
A1216443003890B1292.y = -72;
A1216443003875B105 = new FadeInSFX();
A1216443003875B568 = new DeathFizzleSFX();
addChild(A1216443003890B1292);
A1216443003890B1443 = A1216443003890B1190.A1216443003875B665;
}
public function A1216443003875B420(_arg1:A1216443003890B1004){
if (_arg1.A1216443003890B1318() == A1216443003890B1004.A1216443003875B192){
A1216443003890B1469--;
A1216443003875B601++;
} else {
A1216443003875B181--;
A1216443003890B706++;
};
A1216443003890B847 = (A1216443003890B847 - _arg1.A1216443003875B495().A1216443003890B719());
A1216443003875B179 = (A1216443003875B179 - _arg1.A1216443003875B495().A1216443003875B245());
A1216443003875B180 = (A1216443003875B179 - A1216443003890B847);
removeChild(_arg1);
_arg1 = null;
}
public function A1216443003890B903():int{
var _local1:int;
var _local2:A1216443003890B1004;
_local1 = 0;
while ((((A1216443003875B45.A1216443003890B1404() > 0)) && ((A1216443003890B1331 > 0)))) {
_local2 = A1216443003875B45.A1216443003890B997();
if (A1216443003890B1331 >= _local2.A1216443003890B1083()){
A1216443003890B1331 = (A1216443003890B1331 - _local2.A1216443003890B1083());
_local2.A1216443003875B328();
_local1++;
A1216443003890B1130(_local2);
} else {
_local2.A1216443003875B535(A1216443003890B1331);
A1216443003890B1331 = 0;
A1216443003875B45.A1216443003875B202(_local2);
};
};
if (_local1 > 0){
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003875B568.play();
};
};
A1216443003890B1331 = 0;
return (_local1);
}
public function A1216443003890B1130(_arg1:A1216443003890B1004){
if (A1216443003890B948 == A1216443003890B1004.LEFT){
new A1216443003875B18(_arg1, 0, (A1216443003890B1443 - 1));
new A1216443003890B1201(_arg1, 90, A1216443003890B1443);
} else {
new A1216443003875B18(_arg1, 0, (A1216443003890B1443 - 1));
new A1216443003890B1201(_arg1, -90, A1216443003890B1443);
};
}
public function A1216443003890B1151():int{
return ((Math.random() + A1216443003890B847));
}
public function A1216443003875B674():int{
return (A1216443003890B847);
}
public function A1216443003875B284(_arg1:int):void{
this.A1216443003890B948 = _arg1;
}
public function A1216443003875B681():Boolean{
return ((A1216443003875B45.A1216443003890B1404() >= A1216443003890B1175));
}
public function A1216443003875B287():int{
return (A1216443003890B706);
}
public function A1216443003875B30():int{
return (((Math.random() * A1216443003875B180) + A1216443003890B847));
}
public function A1216443003875B330():void{
A1216443003890B847 = (A1216443003890B847 + 3);
A1216443003875B179 = (A1216443003875B179 + 6);
}
public function A1216443003875B343():int{
return (A1216443003875B601);
}
public function A1216443003875B66():int{
return (A1216443003875B179);
}
public function A1216443003890B1453(_arg1:A1216443003875B148){
this.A1216443003875B259 = _arg1.A1216443003890B1102();
this.A1216443003875B363 = _arg1.A1216443003875B199();
this.A1216443003890B1090 = _arg1.A1216443003875B103();
A1216443003890B896();
}
public function A1216443003875B477(_arg1:A1216443003890B1004){
A1216443003875B45.A1216443003890B866(_arg1);
A1216443003890B847 = (A1216443003890B847 + _arg1.A1216443003875B495().A1216443003890B719());
A1216443003875B179 = (A1216443003875B179 + _arg1.A1216443003875B495().A1216443003875B245());
A1216443003875B180 = (A1216443003875B179 - A1216443003890B847);
_arg1.alpha = 0;
if (A1216443003890B1110 == 1){
_arg1.x = A1216443003890B885;
_arg1.y = -300;
new A1216443003890B1430(_arg1, _arg1.x, A1216443003875B453, A1216443003890B1443);
} else {
if (A1216443003890B1110 == 2){
_arg1.x = A1216443003875B257;
_arg1.y = -300;
new A1216443003890B1430(_arg1, _arg1.x, A1216443003890B849, A1216443003890B1443);
} else {
if (A1216443003890B1110 == 3){
_arg1.x = A1216443003875B289;
_arg1.y = -300;
new A1216443003890B1430(_arg1, _arg1.x, A1216443003875B342, A1216443003890B1443);
} else {
if (A1216443003890B1110 == 4){
_arg1.x = A1216443003875B514;
_arg1.y = -300;
new A1216443003890B1430(_arg1, _arg1.x, A1216443003890B849, A1216443003890B1443);
} else {
if (A1216443003890B1110 == 5){
_arg1.x = A1216443003875B469;
_arg1.y = -300;
new A1216443003890B1430(_arg1, _arg1.x, A1216443003875B342, A1216443003890B1443);
} else {
if (A1216443003890B1110 == 6){
_arg1.x = A1216443003875B289;
_arg1.y = -300;
new A1216443003890B1430(_arg1, _arg1.x, A1216443003875B453, A1216443003890B1443);
} else {
if (A1216443003890B1110 == 7){
_arg1.x = A1216443003890B885;
_arg1.y = -300;
new A1216443003890B1430(_arg1, _arg1.x, A1216443003875B342, A1216443003890B1443);
} else {
if (A1216443003890B1110 == 8){
_arg1.x = A1216443003875B469;
_arg1.y = -300;
new A1216443003890B1430(_arg1, _arg1.x, A1216443003875B453, A1216443003890B1443);
};
};
};
};
};
};
};
};
new A1216443003875B18(_arg1, 1, (A1216443003890B1443 - 1));
A1216443003890B1110++;
if (A1216443003890B1110 > A1216443003890B1175){
A1216443003890B1110 = 1;
};
addChild(_arg1);
}
public function A1216443003890B1102():A1216443003890B1099{
return (A1216443003875B259);
}
public function A1216443003890B947(){
A1216443003890B1292.text = "";
}
public function A1216443003875B247():int{
var _local1:int;
var _local2:int;
var _local3:A1216443003890B1004;
var _local4:int;
_local1 = 0;
_local2 = (A1216443003875B363 + A1216443003890B1090);
while ((((A1216443003875B681() == false)) && ((_local2 > 0)))) {
_local4 = (A1216443003890B960.A1216443003890B1325().random() * _local2);
if (_local4 < A1216443003875B363){
_local3 = A1216443003875B259.A1216443003890B858();
A1216443003875B363--;
A1216443003890B1469++;
} else {
_local3 = A1216443003875B259.A1216443003875B254();
A1216443003890B1090--;
A1216443003875B181++;
};
if (A1216443003890B948 == A1216443003890B1004.LEFT){
_local3.A1216443003875B284(A1216443003890B1004.LEFT);
};
_local1++;
A1216443003875B477(_local3);
_local2 = (A1216443003875B363 + A1216443003890B1090);
};
if (_local1 > 0){
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003875B105.play();
};
};
this.setChildIndex(A1216443003890B1292, (this.numChildren - 1));
return (_local1);
}
public function A1216443003875B406(_arg1):void{
var _local2:A1216443003890B1329;
_local2 = A1216443003875B45.A1216443003890B880();
while (_local2.A1216443003890B1366()) {
_local2.A1216443003875B331().A1216443003875B406(_arg1);
};
}
public function A1216443003890B1214():Boolean{
return (((((A1216443003875B363 + A1216443003890B1090) + A1216443003890B1469) + A1216443003875B181) == 0));
}
public function A1216443003890B896():void{
A1216443003890B1469 = 0;
A1216443003875B181 = 0;
A1216443003890B706 = 0;
A1216443003875B601 = 0;
A1216443003890B847 = 0;
A1216443003875B179 = 0;
A1216443003875B180 = 0;
while (A1216443003875B45.A1216443003890B1404() > 0) {
removeChild(A1216443003875B45.A1216443003890B997());
};
}
public function A1216443003875B135(_arg1:int):void{
A1216443003890B1292.text = ("-" + _arg1);
A1216443003890B1292.y = -90;
A1216443003890B1292.alpha = 1;
new A1216443003890B1430(A1216443003890B1292, A1216443003890B1292.x, -120, A1216443003890B1443);
A1216443003890B1331 = (A1216443003890B1331 + _arg1);
}
}
}//package com.jumbledmind.ninjainvasion.battlemodule
Section 59
//A1216443003875B294 (com.jumbledmind.ninjainvasion.endmodule.A1216443003875B294)
package com.jumbledmind.ninjainvasion.endmodule {
import flash.events.*;
import flash.display.*;
import flash.net.*;
import flash.text.*;
import com.jumbledmind.games.events.*;
import com.jumbledmind.games.*;
import com.jumbledmind.games.graphics.effects.*;
import com.jumbledmind.ninjainvasion.*;
import flash.media.*;
public class A1216443003875B294 extends A1216443003875B620 {
private var A1216443003875B421:Sound;
private var A1216443003875B26:int;// = 0
private var A1216443003875B313:int;// = 2
private var A1216443003875B314:int;// = 4
private var A1216443003875B434:MovieClip;
private var A1216443003875B575:Sprite;
private var A1216443003875B459:MovieClip;
private var A1216443003875B51:TextField;
private var A1216443003875B568:Sound;
private var A1216443003890B1332:TextField;
private var A1216443003875B105:Sound;
private var A1216443003875B229:int;// = 0
private var A1216443003875B115:MovieClip;
private var A1216443003890B1230:MovieClip;
private var A1216443003890B1234:MovieClip;
private var A1216443003890B710:int;// = 1
private var A1216443003890B1374:TextField;
private var A1216443003890B848:int;// = 5
private var A1216443003890B1262:MovieClip;
private var A1216443003890B852:MovieClip;
private var A1216443003890B861:int;// = 3
private var A1216443003890B1040:MovieClip;
private var A1216443003890B1179:MovieClip;
private var A1216443003890B1069:MovieClip;
private var A1216443003890B1196:MovieClip;
private var A1216443003890B1077:int;// = 6
private var A1216443003875B405:int;// = 0
private var A1216443003875B650:MovieClip;
private var A1216443003875B656:int;// = 0
public function A1216443003875B294(_arg1:String, _arg2:MovieClip){
A1216443003875B229 = 0;
A1216443003890B710 = 1;
A1216443003875B313 = 2;
A1216443003890B861 = 3;
A1216443003875B314 = 4;
A1216443003890B848 = 5;
A1216443003890B1077 = 6;
A1216443003875B26 = 0;
A1216443003875B656 = 0;
A1216443003875B405 = 0;
A1216443003875B575 = new NinjaRMC();
A1216443003890B1179 = new NinjaRMC();
A1216443003890B1262 = new NinjaRMC();
A1216443003875B650 = new NinjaRMC();
A1216443003890B1234 = new NinjaRMC();
A1216443003890B1040 = new NinjaRMC();
A1216443003875B459 = new NinjaRMC();
super(_arg1, _arg2);
A1216443003875B52();
}
public function A1216443003890B909():void{
A1216443003890B1332.removeEventListener(MouseEvent.CLICK, A1216443003875B486);
A1216443003890B1374.removeEventListener(MouseEvent.CLICK, A1216443003890B920);
}
override public function A1216443003875B207(_arg1){
if (_arg1.A1216443003890B1010() != A1216443003890B827.A1216443003890B806){
if ((((((((((((A1216443003875B405 == A1216443003875B229)) || ((A1216443003875B405 == A1216443003890B710)))) || ((A1216443003875B405 == A1216443003875B313)))) || ((A1216443003875B405 == A1216443003890B861)))) || ((A1216443003875B405 == A1216443003890B848)))) || ((A1216443003875B405 == A1216443003875B314)))){
A1216443003875B26++;
if (A1216443003875B26 == A1216443003875B656){
A1216443003875B356();
};
};
};
super.A1216443003875B207(_arg1);
}
public function A1216443003875B52():void{
var _local1:A1216443003890B960;
A1216443003875B105 = new FadeInSFX();
A1216443003875B568 = new DeathFizzleSFX();
A1216443003875B421 = new MoveSFX();
A1216443003890B852 = new NinjaYMC();
A1216443003875B115 = new SamuraiYMC();
A1216443003890B1230 = new NinjaGMC();
A1216443003890B1069 = new SamuraiGMC();
A1216443003875B434 = new NinjaOMC();
A1216443003890B1196 = new SamuraiOMC();
A1216443003875B575 = new NinjaRMC();
_local1 = A1216443003890B960.A1216443003890B1397();
A1216443003875B51 = _local1.A1216443003890B1086(_local1.A1216443003890B966(), TextFieldAutoSize.CENTER, 20);
A1216443003875B51.text = "CONGRATS!";
A1216443003875B51.x = 115;
A1216443003875B51.y = 55;
A1216443003890B1332 = _local1.A1216443003890B1086(_local1.A1216443003875B657(), TextFieldAutoSize.CENTER, 20);
A1216443003890B1332.text = "More Games";
A1216443003890B1332.x = 115;
A1216443003890B1332.y = 300;
A1216443003890B1374 = _local1.A1216443003890B1086(_local1.A1216443003875B657(), TextFieldAutoSize.CENTER, 20);
A1216443003890B1374.text = "Play Again";
A1216443003890B1374.x = 115;
A1216443003890B1374.y = 330;
addChild(A1216443003890B852);
addChild(A1216443003875B115);
addChild(A1216443003875B434);
addChild(A1216443003890B1196);
addChild(A1216443003890B1230);
addChild(A1216443003890B1069);
addChild(A1216443003875B575);
addChild(A1216443003890B1179);
addChild(A1216443003890B1262);
addChild(A1216443003890B1040);
addChild(A1216443003875B459);
addChild(A1216443003875B650);
addChild(A1216443003890B1234);
addChild(A1216443003875B51);
addChild(A1216443003890B1374);
addChild(A1216443003890B1332);
}
override public function deactivate():void{
A1216443003890B960.A1216443003890B1397().A1216443003890B1324("GFX_Q", this);
A1216443003890B909();
}
public function A1216443003875B582():void{
A1216443003890B1332.addEventListener(MouseEvent.CLICK, A1216443003875B486);
A1216443003890B1374.addEventListener(MouseEvent.CLICK, A1216443003890B920);
}
public function A1216443003890B920(_arg1:Event){
A1216443003890B1385(A1216443003890B960.A1216443003875B376, A1216443003890B960.A1216443003890B1226);
}
override public function A1216443003875B463(_arg1):void{
super.A1216443003875B463(_arg1);
A1216443003890B852.x = ((A1216443003890B1190.A1216443003875B6 + 64) + (Math.random() * 64));
A1216443003875B115.x = ((A1216443003890B1190.A1216443003875B6 + 64) + (Math.random() * 64));
A1216443003890B1230.x = ((A1216443003890B1190.A1216443003875B6 + 64) + (Math.random() * 64));
A1216443003890B1069.x = ((A1216443003890B1190.A1216443003875B6 + 64) + (Math.random() * 64));
A1216443003875B434.x = ((A1216443003890B1190.A1216443003875B6 + 64) + (Math.random() * 64));
A1216443003890B1196.x = ((A1216443003890B1190.A1216443003875B6 + 64) + (Math.random() * 64));
A1216443003890B852.y = (((A1216443003890B1190.A1216443003890B705 * 0.5) + 64) + (Math.random() * 5));
A1216443003875B115.y = (((A1216443003890B1190.A1216443003890B705 * 0.5) - 32) + (Math.random() * 5));
A1216443003875B434.y = (((A1216443003890B1190.A1216443003890B705 * 0.5) + 32) + (Math.random() * 5));
A1216443003890B1196.y = (((A1216443003890B1190.A1216443003890B705 * 0.5) - 32) + (Math.random() * 5));
A1216443003890B1230.y = (((A1216443003890B1190.A1216443003890B705 * 0.5) - 64) + (Math.random() * 5));
A1216443003890B1069.y = (((A1216443003890B1190.A1216443003890B705 * 0.5) + 32) + (Math.random() * 5));
A1216443003890B852.scaleX = -1;
A1216443003875B115.scaleX = -1;
A1216443003875B434.scaleX = -1;
A1216443003890B1196.scaleX = -1;
A1216443003890B1230.scaleX = -1;
A1216443003890B1069.scaleX = -1;
A1216443003890B852.alpha = 1;
A1216443003875B115.alpha = 1;
A1216443003875B434.alpha = 1;
A1216443003890B1196.alpha = 1;
A1216443003890B1230.alpha = 1;
A1216443003890B1069.alpha = 1;
A1216443003890B852.rotation = 0;
A1216443003875B115.rotation = 0;
A1216443003875B434.rotation = 0;
A1216443003890B1196.rotation = 0;
A1216443003890B1230.rotation = 0;
A1216443003890B1069.rotation = 0;
A1216443003890B1179.alpha = 0;
A1216443003890B1262.alpha = 0;
A1216443003890B1040.alpha = 0;
A1216443003875B459.alpha = 0;
A1216443003875B650.alpha = 0;
A1216443003890B1234.alpha = 0;
A1216443003890B1179.y = 0;
A1216443003890B1262.y = 0;
A1216443003890B1040.y = 0;
A1216443003875B459.y = 0;
A1216443003875B650.y = 0;
A1216443003890B1234.y = 0;
A1216443003875B575.x = (A1216443003890B1190.A1216443003875B6 * 0.5);
A1216443003875B575.y = (A1216443003890B1190.A1216443003890B705 * 0.5);
A1216443003875B575.scaleX = 1;
A1216443003875B405 = A1216443003875B229;
A1216443003875B26 = 0;
A1216443003875B51.alpha = 0;
A1216443003890B1332.alpha = 0;
A1216443003890B1374.alpha = 0;
}
private function A1216443003875B356():void{
if (A1216443003875B405 == A1216443003875B229){
new A1216443003875B322(A1216443003875B575, 0, 2, (A1216443003890B1190.A1216443003875B665 * 0.5));
A1216443003875B26 = 0;
A1216443003875B656 = 1;
A1216443003875B405 = A1216443003890B710;
} else {
if (A1216443003875B405 == A1216443003890B710){
A1216443003875B26 = 0;
A1216443003875B656 = 7;
A1216443003875B575.scaleX = -1;
new A1216443003890B1430(A1216443003875B575, -64, A1216443003875B575.y, A1216443003890B1190.A1216443003875B665);
new A1216443003890B1430(A1216443003890B852, (A1216443003875B575.x + (Math.random() * 5)), A1216443003890B852.y, A1216443003890B1190.A1216443003875B665);
new A1216443003890B1430(A1216443003875B115, ((A1216443003875B575.x - 64) + (Math.random() * 5)), A1216443003875B115.y, A1216443003890B1190.A1216443003875B665);
new A1216443003890B1430(A1216443003875B434, ((A1216443003875B575.x + 64) + (Math.random() * 5)), A1216443003875B434.y, A1216443003890B1190.A1216443003875B665);
new A1216443003890B1430(A1216443003890B1196, ((A1216443003875B575.x + 64) + (Math.random() * 5)), A1216443003890B1196.y, A1216443003890B1190.A1216443003875B665);
new A1216443003890B1430(A1216443003890B1230, (A1216443003875B575.x + (Math.random() * 5)), A1216443003890B1230.y, A1216443003890B1190.A1216443003875B665);
new A1216443003890B1430(A1216443003890B1069, ((A1216443003875B575.x - 64) + (Math.random() * 5)), A1216443003890B1069.y, A1216443003890B1190.A1216443003875B665);
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003875B421.play();
};
A1216443003875B405 = A1216443003890B848;
} else {
if (A1216443003875B405 == A1216443003890B848){
A1216443003875B656 = (A1216443003890B1190.A1216443003875B665 * 2);
A1216443003875B26 = 0;
A1216443003875B405 = A1216443003875B313;
} else {
if (A1216443003875B405 == A1216443003875B313){
A1216443003890B1179.x = A1216443003890B852.x;
A1216443003890B1262.x = A1216443003875B115.x;
A1216443003890B1040.x = A1216443003875B434.x;
A1216443003875B459.x = A1216443003890B1196.x;
A1216443003875B650.x = A1216443003890B1230.x;
A1216443003890B1234.x = A1216443003890B1069.x;
new A1216443003890B1430(A1216443003890B1179, A1216443003890B852.x, A1216443003890B852.y, A1216443003890B1190.A1216443003875B665);
new A1216443003875B18(A1216443003890B1179, 1, A1216443003890B1190.A1216443003875B665);
new A1216443003890B1430(A1216443003890B1262, A1216443003875B115.x, A1216443003875B115.y, A1216443003890B1190.A1216443003875B665);
new A1216443003875B18(A1216443003890B1262, 1, A1216443003890B1190.A1216443003875B665);
new A1216443003890B1430(A1216443003890B1040, A1216443003875B434.x, A1216443003875B434.y, A1216443003890B1190.A1216443003875B665);
new A1216443003875B18(A1216443003890B1040, 1, A1216443003890B1190.A1216443003875B665);
new A1216443003890B1430(A1216443003875B459, A1216443003890B1196.x, A1216443003890B1196.y, A1216443003890B1190.A1216443003875B665);
new A1216443003875B18(A1216443003875B459, 1, A1216443003890B1190.A1216443003875B665);
new A1216443003890B1430(A1216443003875B650, A1216443003890B1230.x, A1216443003890B1230.y, A1216443003890B1190.A1216443003875B665);
new A1216443003875B18(A1216443003875B650, 1, A1216443003890B1190.A1216443003875B665);
new A1216443003890B1430(A1216443003890B1234, A1216443003890B1069.x, A1216443003890B1069.y, A1216443003890B1190.A1216443003875B665);
new A1216443003875B18(A1216443003890B1234, 1, A1216443003890B1190.A1216443003875B665);
A1216443003875B26 = 0;
A1216443003875B656 = 12;
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003875B105.play();
};
A1216443003875B405 = A1216443003890B861;
} else {
if (A1216443003875B405 == A1216443003890B861){
new A1216443003890B1201(A1216443003890B852, 90, A1216443003890B1190.A1216443003875B665);
new A1216443003890B1201(A1216443003875B115, -90, A1216443003890B1190.A1216443003875B665);
new A1216443003890B1201(A1216443003875B434, 90, A1216443003890B1190.A1216443003875B665);
new A1216443003890B1201(A1216443003890B1196, -90, A1216443003890B1190.A1216443003875B665);
new A1216443003890B1201(A1216443003890B1069, -90, A1216443003890B1190.A1216443003875B665);
new A1216443003890B1201(A1216443003890B1230, 90, A1216443003890B1190.A1216443003875B665);
new A1216443003875B18(A1216443003890B852, 0, A1216443003890B1190.A1216443003875B665);
new A1216443003875B18(A1216443003875B115, 0, A1216443003890B1190.A1216443003875B665);
new A1216443003875B18(A1216443003875B434, 0, A1216443003890B1190.A1216443003875B665);
new A1216443003875B18(A1216443003890B1196, 0, A1216443003890B1190.A1216443003875B665);
new A1216443003875B18(A1216443003890B1069, 0, A1216443003890B1190.A1216443003875B665);
new A1216443003875B18(A1216443003890B1230, 0, A1216443003890B1190.A1216443003875B665);
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003875B568.play();
};
A1216443003875B26 = 0;
A1216443003875B656 = 12;
A1216443003875B405 = A1216443003875B314;
} else {
if (A1216443003875B405 == A1216443003875B314){
A1216443003875B405 = A1216443003890B1077;
A1216443003875B26 = 0;
A1216443003875B656 = (A1216443003890B1190.A1216443003875B665 * 1.5);
A1216443003875B51.alpha = 1;
A1216443003890B1332.alpha = 1;
A1216443003890B1374.alpha = 1;
} else {
if (A1216443003875B405 == A1216443003890B1077){
};
};
};
};
};
};
};
}
override public function A1216443003890B1114():void{
if ((((((A1216443003875B405 == A1216443003875B229)) || ((A1216443003875B405 == A1216443003890B848)))) || ((A1216443003875B405 == A1216443003875B313)))){
A1216443003875B26++;
if (A1216443003875B26 == A1216443003875B656){
A1216443003875B356();
};
};
}
public function A1216443003875B486(_arg1:Event){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.bigfishgames.com/online-games/?src= nimjaclanquest&afcode=af237c4e57b1");
navigateToURL(_local2);
}
override public function activate():void{
super.activate();
A1216443003875B405 = A1216443003875B229;
A1216443003875B26 = 0;
A1216443003875B656 = (A1216443003890B1190.A1216443003875B665 * 1.5);
A1216443003890B960.A1216443003890B1397().A1216443003875B561("GFX_Q", this);
A1216443003875B582();
}
}
}//package com.jumbledmind.ninjainvasion.endmodule
Section 60
//A1216443003875B126 (com.jumbledmind.ninjainvasion.gobs.A1216443003875B126)
package com.jumbledmind.ninjainvasion.gobs {
import flash.display.*;
public class A1216443003875B126 extends A1216443003890B1099 {
public function A1216443003875B126(){
super(A1216443003890B1099.A1216443003875B145, "Orange");
this.A1216443003875B677(this, 100000);
}
override public function A1216443003890B743():Sprite{
return (new NinjaOMC());
}
override public function A1216443003890B760():Sprite{
return (new SamuraiIconOMC());
}
override public function A1216443003890B1063():Sprite{
return (new BigNinjaIconOMC());
}
override public function A1216443003875B168():Sprite{
return (new SamuraiOMC());
}
override public function A1216443003890B896():void{
super.A1216443003890B896();
this.A1216443003875B677(this, 100000);
}
override public function A1216443003890B1102():A1216443003890B1099{
return (this);
}
override public function A1216443003875B536():Sprite{
return (new NinjaIconOMC());
}
override public function A1216443003890B1233():Sprite{
return (new BigSamuraiIconOMC());
}
}
}//package com.jumbledmind.ninjainvasion.gobs
Section 61
//A1216443003875B148 (com.jumbledmind.ninjainvasion.gobs.A1216443003875B148)
package com.jumbledmind.ninjainvasion.gobs {
import flash.display.*;
public class A1216443003875B148 extends Sprite {
private var A1216443003875B259:A1216443003890B1099;
private var A1216443003875B695:Boolean;
private var A1216443003875B358:Sprite;
private var A1216443003875B363:int;// = 0
private var A1216443003890B1090:int;// = 0
public function A1216443003875B148(){
A1216443003875B363 = 0;
A1216443003890B1090 = 0;
super();
A1216443003875B108();
}
public function A1216443003875B661():int{
return ((A1216443003875B363 + A1216443003890B1090));
}
public function A1216443003875B152(_arg1:Boolean):void{
this.A1216443003875B695 = _arg1;
}
public function A1216443003875B25(_arg1:int):void{
if (_arg1 < 0){
_arg1 = 0;
};
this.A1216443003890B1090 = _arg1;
}
public function A1216443003890B866(_arg1:A1216443003875B148):void{
if (A1216443003875B259 == null){
A1216443003890B905(_arg1.A1216443003890B1102());
};
this.A1216443003875B695 = ((_arg1.A1216443003875B695) || (A1216443003875B695));
this.A1216443003875B363 = (this.A1216443003875B363 + _arg1.A1216443003875B363);
this.A1216443003890B1090 = (this.A1216443003890B1090 + _arg1.A1216443003890B1090);
}
public function A1216443003890B905(_arg1:A1216443003890B1099):void{
this.A1216443003875B259 = _arg1;
removeChild(A1216443003875B358);
this.A1216443003875B358 = _arg1.A1216443003875B536();
this.addChild(A1216443003875B358);
}
public function A1216443003890B992():A1216443003875B148{
var _local1:A1216443003875B148;
_local1 = new A1216443003875B148();
_local1.A1216443003890B905(A1216443003875B259);
_local1.A1216443003890B866(this);
_local1.A1216443003875B152(this.A1216443003875B695);
return (_local1);
}
public function A1216443003875B103():int{
return (A1216443003890B1090);
}
public function A1216443003875B108():void{
}
public function A1216443003890B922():Boolean{
return (A1216443003875B695);
}
public function A1216443003875B65(_arg1:A1216443003875B148):void{
this.A1216443003875B363 = (this.A1216443003875B363 - _arg1.A1216443003875B363);
this.A1216443003890B1090 = (this.A1216443003890B1090 - _arg1.A1216443003890B1090);
}
public function A1216443003875B199():int{
return (A1216443003875B363);
}
public function A1216443003890B1102():A1216443003890B1099{
return (A1216443003875B259);
}
public function A1216443003890B1401():Boolean{
return ((((A1216443003875B363 == 0)) && ((A1216443003890B1090 == 0))));
}
override public function removeChild(_arg1:DisplayObject):DisplayObject{
if (_arg1 != null){
if (this.contains(_arg1)){
return (super.removeChild(_arg1));
};
};
return (null);
}
public function A1216443003890B1371(_arg1:int):void{
if (_arg1 < 0){
_arg1 = 0;
};
this.A1216443003875B363 = _arg1;
}
}
}//package com.jumbledmind.ninjainvasion.gobs
Section 62
//A1216443003875B154 (com.jumbledmind.ninjainvasion.gobs.A1216443003875B154)
package com.jumbledmind.ninjainvasion.gobs {
import flash.display.*;
public class A1216443003875B154 extends A1216443003890B1099 {
public function A1216443003875B154(){
super(A1216443003890B1099.A1216443003890B1096, "Yellow");
this.A1216443003875B677(this, 100000);
}
override public function A1216443003890B743():Sprite{
return (new NinjaYMC());
}
override public function A1216443003890B760():Sprite{
return (new SamuraiIconYMC());
}
override public function A1216443003890B1063():Sprite{
return (new BigNinjaIconYMC());
}
override public function A1216443003875B168():Sprite{
return (new SamuraiYMC());
}
override public function A1216443003890B896():void{
super.A1216443003890B896();
this.A1216443003875B677(this, 100000);
}
override public function A1216443003890B1102():A1216443003890B1099{
return (this);
}
override public function A1216443003875B536():Sprite{
return (new NinjaIconYMC());
}
override public function A1216443003890B1233():Sprite{
return (new BigSamuraiIconYMC());
}
}
}//package com.jumbledmind.ninjainvasion.gobs
Section 63
//A1216443003875B57 (com.jumbledmind.ninjainvasion.gobs.A1216443003875B57)
package com.jumbledmind.ninjainvasion.gobs {
import flash.display.*;
public class A1216443003875B57 extends A1216443003890B1099 {
public function A1216443003875B57(){
super(A1216443003890B1099.A1216443003875B539, "Green");
this.A1216443003875B677(this, 100000);
}
override public function A1216443003890B743():Sprite{
return (new NinjaGMC());
}
override public function A1216443003890B760():Sprite{
return (new SamuraiIconGMC());
}
override public function A1216443003890B1063():Sprite{
return (new BigNinjaIconGMC());
}
override public function A1216443003875B168():Sprite{
return (new SamuraiGMC());
}
override public function A1216443003890B896():void{
super.A1216443003890B896();
this.A1216443003875B677(this, 100000);
}
override public function A1216443003890B1102():A1216443003890B1099{
return (this);
}
override public function A1216443003875B536():Sprite{
return (new NinjaIconGMC());
}
override public function A1216443003890B1233():Sprite{
return (new BigSamuraiIconGMC());
}
}
}//package com.jumbledmind.ninjainvasion.gobs
Section 64
//A1216443003890B1004 (com.jumbledmind.ninjainvasion.gobs.A1216443003890B1004)
package com.jumbledmind.ninjainvasion.gobs {
import flash.display.*;
import com.jumbledmind.games.graphics.effects.*;
import com.jumbledmind.games.gobs.*;
public class A1216443003890B1004 extends MovieClip {
private var A1216443003875B259:A1216443003890B1099;
private var A1216443003875B21:Sprite;
private var A1216443003875B151:A1216443003890B1011;
private var A1216443003890B972:int;// = 0
private var type:int;
private var A1216443003875B129:int;
private var A1216443003890B1009:int;// = 0
public static var LEFT:int = 1;
public static var A1216443003875B192:int = 1;
public static var A1216443003890B1277:int = 2;
public static var RIGHT:int = 2;
public function A1216443003890B1004(_arg1:Sprite, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:A1216443003890B1099){
A1216443003890B972 = 0;
A1216443003890B1009 = 0;
super();
this.addChild(_arg1);
this.A1216443003875B21 = _arg1;
this.A1216443003875B129 = RIGHT;
this.A1216443003875B151 = new A1216443003890B1011(_arg2, _arg3);
this.A1216443003890B972 = _arg4;
this.A1216443003890B1009 = _arg4;
this.type = _arg5;
this.A1216443003875B259 = _arg6;
}
public function A1216443003875B535(_arg1:int):void{
A1216443003890B1009 = (A1216443003890B1009 - _arg1);
}
public function A1216443003890B1318():int{
return (type);
}
public function A1216443003875B284(_arg1:int):void{
this.A1216443003875B129 = _arg1;
if (_arg1 == LEFT){
this.scaleX = -1;
};
}
public function A1216443003875B328():void{
A1216443003890B1009 = 0;
}
public function A1216443003875B502():void{
A1216443003890B1009 = A1216443003890B972;
}
public function A1216443003890B1102():A1216443003890B1099{
return (A1216443003875B259);
}
public function A1216443003875B406(_arg1:int):void{
new A1216443003875B322(this, 2, 2, _arg1);
}
public function A1216443003890B1083():int{
return (A1216443003890B1009);
}
public function A1216443003875B495():A1216443003890B1011{
return (A1216443003875B151);
}
}
}//package com.jumbledmind.ninjainvasion.gobs
Section 65
//A1216443003890B1099 (com.jumbledmind.ninjainvasion.gobs.A1216443003890B1099)
package com.jumbledmind.ninjainvasion.gobs {
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import com.jumbledmind.games.util.*;
import com.jumbledmind.ninjainvasion.*;
import flash.media.*;
public class A1216443003890B1099 {
private var A1216443003875B503:Boolean;
private var A1216443003875B306:A1216443003890B830;
private var A1216443003875B664:int;// = 4
private var A1216443003890B1457:int;// = 1
private var A1216443003890B1141:A1216443003890B830;
private var A1216443003890B1187:int;
private var A1216443003875B110:A1216443003890B830;
private var A1216443003890B932:int;// = 3
private var A1216443003875B239:int;// = 3
private var A1216443003875B161:int;
private var A1216443003890B1035:int;// = 15
private var A1216443003890B823:String;
private var A1216443003890B1432:A1216443003890B830;
private var A1216443003875B441:Number;
private var A1216443003875B89:Number;
private var A1216443003875B290:int;// = 2
private var A1216443003890B1000:int;
private var A1216443003890B1166:int;// = 9
private var A1216443003875B452:A1216443003890B830;
private var A1216443003890B878:int;
private var A1216443003875B410:Dictionary;
private var A1216443003890B1095:A1216443003890B830;
private var A1216443003875B141:int;// = 25
private var A1216443003890B1014:A1216443003890B830;
private static var A1216443003875B510:int = 0;
public static var A1216443003875B539:int = 2;
public static var A1216443003890B1096:int = 3;
public static var A1216443003890B1255:int = 1;
private static var A1216443003890B985:Sound;
public static var A1216443003875B145:int = 4;
public function A1216443003890B1099(_arg1:int, _arg2:String){
A1216443003890B1457 = 1;
A1216443003890B1166 = 9;
A1216443003875B290 = 2;
A1216443003875B664 = 4;
A1216443003890B1035 = 15;
A1216443003875B141 = 25;
A1216443003890B932 = 3;
A1216443003875B239 = 3;
super();
this.A1216443003890B1000 = _arg1;
this.A1216443003890B823 = _arg2;
A1216443003875B306 = new A1216443003890B830();
A1216443003890B1014 = new A1216443003890B830();
A1216443003890B1141 = new A1216443003890B830();
A1216443003890B1095 = new A1216443003890B830();
A1216443003875B110 = new A1216443003890B830();
A1216443003875B452 = new A1216443003890B830();
A1216443003890B1432 = new A1216443003890B830();
A1216443003890B985 = new BuyUnitSFX();
A1216443003890B896();
}
public function A1216443003890B769(_arg1:Boolean):void{
this.A1216443003875B503 = _arg1;
}
public function A1216443003875B385():int{
return (A1216443003890B1457);
}
public function A1216443003890B1333():int{
var _local1:A1216443003890B1329;
_local1 = A1216443003875B306.A1216443003890B880();
A1216443003875B161 = 0;
while (_local1.A1216443003890B1366()) {
A1216443003875B161 = (A1216443003875B161 + _local1.A1216443003875B331().A1216443003875B581());
};
return (A1216443003875B161);
}
public function A1216443003890B1060(_arg1:SharedObject):void{
_arg1.data[(A1216443003890B823 + "money")] = A1216443003890B1187;
_arg1.data[((A1216443003890B823 + "aggroDictionary") + A1216443003890B1099.A1216443003875B539)] = A1216443003875B410[A1216443003890B1099.A1216443003875B539];
_arg1.data[((A1216443003890B823 + "aggroDictionary") + A1216443003890B1099.A1216443003875B145)] = A1216443003875B410[A1216443003890B1099.A1216443003875B145];
_arg1.data[((A1216443003890B823 + "aggroDictionary") + A1216443003890B1099.A1216443003890B1255)] = A1216443003875B410[A1216443003890B1099.A1216443003890B1255];
_arg1.data[((A1216443003890B823 + "aggroDictionary") + A1216443003890B1099.A1216443003890B1096)] = A1216443003875B410[A1216443003890B1099.A1216443003890B1096];
_arg1.data[(A1216443003890B823 + "primaryOpponent")] = A1216443003890B878;
}
public function A1216443003890B1182():void{
var _local1:A1216443003890B1329;
var _local2:A1216443003890B1258;
var _local3:A1216443003890B830;
var _local4:A1216443003890B1258;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:int;
var _local9:Number;
var _local10:int;
var _local11:int;
var _local12:Dictionary;
var _local13:Boolean;
var _local14:A1216443003890B1329;
A1216443003890B1014.A1216443003890B856();
A1216443003890B1141.A1216443003890B856();
A1216443003890B1095.A1216443003890B856();
A1216443003875B110.A1216443003890B856();
A1216443003875B452.A1216443003890B856();
_local1 = A1216443003875B306.A1216443003890B880();
A1216443003875B161 = 0;
_local12 = new Dictionary();
_local13 = false;
while (_local1.A1216443003890B1366()) {
_local6 = 0;
_local7 = 0;
_local10 = 0;
_local8 = 0;
_local9 = 0;
_local11 = 0;
_local12[A1216443003890B1099.A1216443003890B1255] = 0;
_local12[A1216443003890B1099.A1216443003890B1096] = 0;
_local12[A1216443003890B1099.A1216443003875B539] = 0;
_local12[A1216443003890B1099.A1216443003875B145] = 0;
_local13 = false;
_local2 = _local1.A1216443003875B331();
if (_local2.A1216443003890B1401() == false){
_local3 = _local2.A1216443003890B1028();
_local5 = _local3.A1216443003890B1404();
_local9 = _local2.A1216443003890B953().A1216443003875B661();
_local14 = _local3.A1216443003890B880();
while (_local14.A1216443003890B1366()) {
_local4 = _local14.A1216443003875B331();
if (_local4.A1216443003890B1102().A1216443003890B1328() == A1216443003890B1328()){
_local6++;
} else {
if (_local4.A1216443003890B1401() == true){
_local12[_local4.A1216443003890B1102().A1216443003890B1328()] = 1;
_local7++;
_local13 = true;
} else {
if (_local4.A1216443003890B953().A1216443003875B661() < (0.7 * _local9)){
_local12[_local4.A1216443003890B1102().A1216443003890B1328()] = 1;
_local7++;
_local10 = (_local10 + _local4.A1216443003890B953().A1216443003875B661());
if (_local4.A1216443003890B953().A1216443003875B661() > _local8){
_local8 = _local4.A1216443003890B953().A1216443003875B661();
};
} else {
_local12[_local4.A1216443003890B1102().A1216443003890B1328()] = 1;
_local7++;
_local10 = (_local10 + _local4.A1216443003890B953().A1216443003875B661());
if (_local4.A1216443003890B1401() == false){
if (_local4.A1216443003890B953().A1216443003875B661() > _local8){
_local8 = _local4.A1216443003890B953().A1216443003875B661();
};
};
};
};
};
};
} else {
_local7 = 1;
_local6 = 0;
_local9 = 0;
_local10 = 8;
};
_local11 = (((_local12[A1216443003890B1099.A1216443003890B1255] + _local12[A1216443003890B1099.A1216443003875B145]) + _local12[A1216443003890B1099.A1216443003890B1096]) + _local12[A1216443003890B1099.A1216443003875B539]);
if (_local7 > _local6){
if ((((_local10 < _local9)) || ((_local9 > (28 + (Math.random() * 50)))))){
A1216443003890B1141.A1216443003890B866(_local2);
} else {
if (_local13 == true){
A1216443003890B1141.A1216443003890B866(_local2);
} else {
if (_local11 == 1){
if (_local12[this.A1216443003890B878] == 1){
if (_local8 < (_local9 * 1.2)){
A1216443003890B1141.A1216443003890B866(_local2);
} else {
A1216443003875B110.A1216443003890B866(_local2);
};
} else {
if (_local8 < (_local9 * 0.8)){
A1216443003890B1141.A1216443003890B866(_local2);
} else {
A1216443003875B110.A1216443003890B866(_local2);
};
};
} else {
if (Math.random() < 0.95){
if (Math.random() < 0.05){
A1216443003890B1014.A1216443003890B866(_local2);
A1216443003875B452.A1216443003890B866((A1216443003890B1007() / (A1216443003875B493() * 4)));
} else {
A1216443003890B1014.A1216443003890B866(_local2);
A1216443003875B452.A1216443003890B866((_local10 - _local9));
};
} else {
A1216443003890B1141.A1216443003890B866(_local2);
};
};
};
};
} else {
if ((((_local8 > (_local9 * 1.2))) && ((_local9 < (20 + (Math.random() * 32)))))){
if (Math.random() < 0.96){
A1216443003890B1014.A1216443003890B866(_local2);
A1216443003875B452.A1216443003890B866((_local10 - _local9));
} else {
A1216443003890B1014.A1216443003890B866(_local2);
A1216443003875B452.A1216443003890B866((A1216443003890B1007() / (A1216443003875B493() * 4)));
};
} else {
if ((((_local7 > 0)) && ((_local8 < _local9)))){
A1216443003890B1141.A1216443003890B866(_local2);
} else {
if (_local7 > 0){
A1216443003875B110.A1216443003890B866(_local2);
} else {
A1216443003890B1095.A1216443003890B866(_local2);
};
};
};
};
};
}
public function A1216443003875B143(_arg1:A1216443003890B1258):A1216443003875B148{
var _local2:A1216443003875B148;
var _local3:A1216443003875B148;
var _local4:int;
var _local5:int;
_local2 = _arg1.A1216443003890B953();
_local3 = new A1216443003875B148();
_local3.A1216443003890B905(A1216443003890B1102());
_local3.x = _arg1.A1216443003890B1023().x;
_local3.y = _arg1.A1216443003890B1023().y;
if (_local2.A1216443003875B199() == 0){
_local5 = ((_local2.A1216443003875B103() * 0.8) + 1);
} else {
if (_local2.A1216443003875B103() == 0){
_local4 = ((_local2.A1216443003875B199() * 0.8) + 1);
} else {
_local4 = ((_local2.A1216443003875B199() * 0.8) + 1);
_local5 = (_local2.A1216443003875B103() * 0.8);
};
};
_local3.A1216443003890B1371(_local4);
_local3.A1216443003875B25(_local5);
_local2.A1216443003890B1371((_local2.A1216443003875B199() - _local4));
_local2.A1216443003875B25((_local2.A1216443003875B103() - _local5));
return (_local3);
}
public function A1216443003890B1063():Sprite{
return (null);
}
public function A1216443003890B1018():A1216443003890B830{
return (A1216443003890B1141);
}
public function A1216443003890B896():void{
A1216443003890B1187 = 15;
A1216443003875B410 = new Dictionary();
A1216443003875B410[A1216443003890B1099.A1216443003890B1255] = 0;
A1216443003875B410[A1216443003890B1099.A1216443003875B145] = 0;
A1216443003875B410[A1216443003890B1099.A1216443003890B1096] = 0;
A1216443003875B410[A1216443003890B1099.A1216443003875B539] = 0;
A1216443003875B306.A1216443003890B856();
A1216443003875B503 = true;
A1216443003875B161 = 0;
A1216443003875B510 = 0;
}
public function A1216443003890B1102():A1216443003890B1099{
return (null);
}
public function A1216443003875B156(_arg1:A1216443003890B1099, _arg2:int):void{
A1216443003875B410[_arg1.A1216443003890B1328()] = (A1216443003875B410[_arg1.A1216443003890B1328()] + _arg2);
}
public function A1216443003875B278():int{
return (A1216443003875B664);
}
public function A1216443003890B1228():int{
return (A1216443003875B141);
}
public function A1216443003875B677(_arg1:A1216443003890B1099, _arg2:int):void{
A1216443003875B410[_arg1.A1216443003890B1328()] = (A1216443003875B410[_arg1.A1216443003890B1328()] - _arg2);
}
public function A1216443003890B1429():int{
return (A1216443003875B239);
}
public function A1216443003875B234():int{
var _local1:int;
var _local2:int;
var _local3:int;
var _local4:int;
if (A1216443003875B410[A1216443003890B1099.A1216443003875B145] > A1216443003875B410[A1216443003890B1099.A1216443003890B1096]){
_local4 = A1216443003875B410[A1216443003890B1099.A1216443003875B145];
_local3 = A1216443003890B1099.A1216443003875B145;
} else {
_local4 = A1216443003875B410[A1216443003890B1099.A1216443003890B1096];
_local3 = A1216443003890B1099.A1216443003890B1096;
};
if (A1216443003875B410[A1216443003890B1099.A1216443003890B1255] > A1216443003875B410[A1216443003890B1099.A1216443003875B539]){
_local2 = A1216443003875B410[A1216443003890B1099.A1216443003890B1255];
_local1 = A1216443003890B1099.A1216443003890B1255;
} else {
_local2 = A1216443003875B410[A1216443003890B1099.A1216443003875B539];
_local1 = A1216443003890B1099.A1216443003875B539;
};
if (_local2 < _local4){
A1216443003890B878 = _local3;
return (_local3);
};
A1216443003890B878 = _local1;
return (_local1);
}
public function A1216443003875B188():A1216443003890B830{
return (A1216443003890B1014);
}
public function A1216443003890B1027():A1216443003890B830{
return (A1216443003875B306);
}
public function A1216443003890B858():A1216443003890B1004{
return (new A1216443003890B1004(A1216443003890B743(), A1216443003890B1457, A1216443003890B1166, A1216443003890B1035, A1216443003890B1004.A1216443003875B192, A1216443003890B1102()));
}
public function A1216443003875B550(_arg1:A1216443003890B1258, _arg2:int):A1216443003890B830{
var _local3:A1216443003875B148;
var _local4:*;
var _local5:*;
var _local6:A1216443003890B1258;
var _local7:A1216443003890B1329;
var _local8:A1216443003875B148;
var _local9:A1216443003875B148;
A1216443003890B1432.A1216443003890B856();
if ((((A1216443003890B1187 >= A1216443003890B932)) || ((A1216443003890B1187 >= A1216443003875B239)))){
_local3 = _arg1.A1216443003890B953();
_local4 = 0;
while (_local4 < _arg2) {
if ((((A1216443003890B1187 < A1216443003890B932)) && ((A1216443003890B1187 < A1216443003875B239)))){
break;
};
_local5 = (Math.random() * 2);
if (_local5 > 1){
if (A1216443003890B1187 < A1216443003890B932){
A1216443003890B1187 = (A1216443003890B1187 - A1216443003875B239);
_local3.A1216443003875B25((_local3.A1216443003875B103() + 1));
} else {
A1216443003890B1187 = (A1216443003890B1187 - A1216443003890B932);
_local3.A1216443003890B1371((_local3.A1216443003875B199() + 1));
};
} else {
A1216443003890B1187 = (A1216443003890B1187 - A1216443003875B239);
_local3.A1216443003875B25((_local3.A1216443003875B103() + 1));
};
_arg2--;
_local4++;
};
A1216443003890B860();
};
if (_arg2 > 0){
_local7 = A1216443003890B1095.A1216443003890B880();
while (_local7.A1216443003890B1366()) {
_local6 = _local7.A1216443003875B331();
if (_arg1.A1216443003890B1028().contains(_local6)){
if (_local6.A1216443003890B1401() == false){
_local3 = _arg1.A1216443003890B953();
_local8 = _local6.A1216443003890B953();
_local9 = new A1216443003875B148();
_local9.A1216443003890B905(_local8.A1216443003890B1102());
_local9.x = _local6.A1216443003890B1023().x;
_local9.y = _local6.A1216443003890B1023().y;
if (_local8.A1216443003875B103() >= _arg2){
_local8.A1216443003875B25((_local8.A1216443003875B103() - _arg2));
_local9.A1216443003875B25(_arg2);
_arg2 = 0;
} else {
_local9.A1216443003875B25(_local8.A1216443003875B103());
_arg2 = (_arg2 - _local8.A1216443003875B103());
_local8.A1216443003875B25(0);
if (_local8.A1216443003875B199() >= _arg2){
_local8.A1216443003890B1371((_local8.A1216443003875B199() - _arg2));
_local9.A1216443003890B1371(_arg2);
_arg2 = 0;
} else {
_local9.A1216443003890B1371(_local8.A1216443003875B199());
_arg2 = (_arg2 - _local8.A1216443003875B199());
_local8.A1216443003890B1371(0);
};
};
A1216443003890B1432.A1216443003890B866(_local9);
};
};
};
};
return (A1216443003890B1432);
}
public function A1216443003890B1259(_arg1:A1216443003890B1258, _arg2:A1216443003890B1099):void{
A1216443003875B306.A1216443003890B866(_arg1);
A1216443003875B161 = (A1216443003875B161 + _arg1.A1216443003875B581());
}
public function A1216443003890B1251():Boolean{
return (A1216443003875B503);
}
public function A1216443003890B1233():Sprite{
return (null);
}
public function A1216443003875B168():Sprite{
return (null);
}
public function A1216443003890B1353(_arg1:A1216443003890B1258, _arg2:A1216443003890B1099):void{
A1216443003875B306.A1216443003890B875(_arg1);
A1216443003875B161 = (A1216443003875B161 - _arg1.A1216443003875B581());
A1216443003875B410[_arg2.A1216443003890B1328()] = (A1216443003875B410[_arg2.A1216443003890B1328()] + 5);
}
public function A1216443003890B1115(_arg1:int):void{
this.A1216443003890B1187 = _arg1;
}
private function A1216443003890B860(){
if (A1216443003890B960.A1216443003875B422 == true){
if (A1216443003875B510++ < 1){
A1216443003890B985.play();
};
};
}
public function A1216443003875B77():A1216443003890B830{
return (A1216443003875B452);
}
public function A1216443003875B493():int{
return (A1216443003890B932);
}
public function A1216443003890B1328():int{
return (A1216443003890B1000);
}
public function A1216443003890B916():int{
return (A1216443003890B1035);
}
public function A1216443003875B133():int{
return (A1216443003890B1166);
}
public function A1216443003890B1007():int{
return (A1216443003890B1187);
}
public function A1216443003875B418(_arg1:SharedObject):void{
A1216443003890B1187 = _arg1.data[(A1216443003890B823 + "money")];
A1216443003875B410[A1216443003890B1099.A1216443003875B539] = _arg1.data[((A1216443003890B823 + "aggroDictionary") + A1216443003890B1099.A1216443003875B539)];
A1216443003875B410[A1216443003890B1099.A1216443003875B145] = _arg1.data[((A1216443003890B823 + "aggroDictionary") + A1216443003890B1099.A1216443003875B145)];
A1216443003875B410[A1216443003890B1099.A1216443003890B1255] = _arg1.data[((A1216443003890B823 + "aggroDictionary") + A1216443003890B1099.A1216443003890B1255)];
A1216443003875B410[A1216443003890B1099.A1216443003890B1096] = _arg1.data[((A1216443003890B823 + "aggroDictionary") + A1216443003890B1099.A1216443003890B1096)];
A1216443003890B878 = _arg1.data[(A1216443003890B823 + "primaryOpponent")];
}
public function A1216443003890B743():Sprite{
return (null);
}
public function A1216443003875B536():Sprite{
return (null);
}
public function A1216443003875B254():A1216443003890B1004{
return (new A1216443003890B1004(A1216443003875B168(), A1216443003875B290, A1216443003875B664, A1216443003875B141, A1216443003890B1004.A1216443003890B1277, A1216443003890B1102()));
}
public function A1216443003875B659():String{
return (A1216443003890B823);
}
public function A1216443003890B835():A1216443003890B830{
return (A1216443003875B110);
}
public function A1216443003875B38():void{
A1216443003875B510 = 0;
}
public function A1216443003875B130(_arg1:A1216443003890B1258){
var _local2:A1216443003890B1258;
var _local3:A1216443003890B1329;
_local3 = _arg1.A1216443003890B1028().A1216443003890B880();
while (_local3.A1216443003890B1366()) {
_local2 = _local3.A1216443003875B331();
if (((!((_local2.A1216443003890B1102().A1216443003890B1328() == A1216443003890B1328()))) && (_local2.A1216443003890B1401()))){
return (_local2);
};
};
_local3 = _arg1.A1216443003890B1028().A1216443003890B880();
while (_local3.A1216443003890B1366()) {
_local2 = _local3.A1216443003875B331();
if (((!((_local2.A1216443003890B1102().A1216443003890B1328() == A1216443003890B1328()))) && ((_local2.A1216443003890B1102().A1216443003890B1328() == this.A1216443003890B878)))){
return (_local2);
};
};
_local3 = _arg1.A1216443003890B1028().A1216443003890B880();
while (_local3.A1216443003890B1366()) {
_local2 = _local3.A1216443003875B331();
if (_local2.A1216443003890B1102().A1216443003890B1328() != A1216443003890B1328()){
return (_local2);
};
};
return (null);
}
public function A1216443003890B760():Sprite{
return (null);
}
public function A1216443003890B763():int{
return (A1216443003875B290);
}
}
}//package com.jumbledmind.ninjainvasion.gobs
Section 66
//A1216443003890B1213 (com.jumbledmind.ninjainvasion.gobs.A1216443003890B1213)
package com.jumbledmind.ninjainvasion.gobs {
import flash.display.*;
public class A1216443003890B1213 extends A1216443003890B1099 {
public function A1216443003890B1213(){
super(A1216443003890B1099.A1216443003890B1255, "Red");
this.A1216443003875B677(this, 100000);
}
override public function A1216443003890B743():Sprite{
return (new NinjaRMC());
}
override public function A1216443003890B760():Sprite{
return (new SamuraiIconRMC());
}
override public function A1216443003890B1063():Sprite{
return (new BigNinjaIconRMC());
}
override public function A1216443003875B168():Sprite{
return (new SamuraiRMC());
}
override public function A1216443003890B896():void{
super.A1216443003890B896();
this.A1216443003875B677(this, 100000);
}
override public function A1216443003890B1102():A1216443003890B1099{
return (this);
}
override public function A1216443003875B536():Sprite{
return (new NinjaIconRMC());
}
override public function A1216443003890B1233():Sprite{
return (new BigSamuraiIconRMC());
}
}
}//package com.jumbledmind.ninjainvasion.gobs
Section 67
//A1216443003890B1245 (com.jumbledmind.ninjainvasion.gobs.A1216443003890B1245)
package com.jumbledmind.ninjainvasion.gobs {
import flash.utils.*;
import flash.net.*;
import com.jumbledmind.games.util.*;
import com.jumbledmind.games.*;
import com.jumbledmind.games.math.*;
public class A1216443003890B1245 extends A1216443003890B1383 {
private var A1216443003875B271;// = 2
private var A1216443003890B1434:int;// = 0
private var A1216443003890B889:int;// = 18
public function A1216443003890B1245(){
A1216443003875B271 = 2;
A1216443003890B889 = 18;
A1216443003890B1434 = 0;
super();
addChild(new MapMC());
A1216443003875B480();
this.x = (this.width * 0.5);
this.y = (this.height * 0.5);
A1216443003875B391();
}
private function A1216443003875B391():void{
var _local1:A1216443003890B1258;
_local1 = A1216443003875B10(1);
_local1.A1216443003875B430(A1216443003875B10(2));
_local1.A1216443003875B430(A1216443003875B10(3));
_local1 = A1216443003875B10(2);
_local1.A1216443003875B430(A1216443003875B10(1));
_local1.A1216443003875B430(A1216443003875B10(3));
_local1 = A1216443003875B10(3);
_local1.A1216443003875B430(A1216443003875B10(1));
_local1.A1216443003875B430(A1216443003875B10(2));
_local1.A1216443003875B430(A1216443003875B10(4));
_local1.A1216443003875B430(A1216443003875B10(5));
_local1.A1216443003875B430(A1216443003875B10(6));
_local1.A1216443003875B430(A1216443003875B10(7));
_local1 = A1216443003875B10(4);
_local1.A1216443003875B430(A1216443003875B10(3));
_local1.A1216443003875B430(A1216443003875B10(5));
_local1 = A1216443003875B10(5);
_local1.A1216443003875B430(A1216443003875B10(3));
_local1.A1216443003875B430(A1216443003875B10(4));
_local1.A1216443003875B430(A1216443003875B10(7));
_local1.A1216443003875B430(A1216443003875B10(9));
_local1 = A1216443003875B10(6);
_local1.A1216443003875B430(A1216443003875B10(3));
_local1.A1216443003875B430(A1216443003875B10(7));
_local1.A1216443003875B430(A1216443003875B10(8));
_local1 = A1216443003875B10(7);
_local1.A1216443003875B430(A1216443003875B10(3));
_local1.A1216443003875B430(A1216443003875B10(5));
_local1.A1216443003875B430(A1216443003875B10(6));
_local1.A1216443003875B430(A1216443003875B10(8));
_local1.A1216443003875B430(A1216443003875B10(9));
_local1 = A1216443003875B10(8);
_local1.A1216443003875B430(A1216443003875B10(6));
_local1.A1216443003875B430(A1216443003875B10(7));
_local1 = A1216443003875B10(9);
_local1.A1216443003875B430(A1216443003875B10(5));
_local1.A1216443003875B430(A1216443003875B10(7));
_local1.A1216443003875B430(A1216443003875B10(17));
_local1 = A1216443003875B10(10);
_local1.A1216443003875B430(A1216443003875B10(11));
_local1.A1216443003875B430(A1216443003875B10(12));
_local1.A1216443003875B430(A1216443003875B10(13));
_local1 = A1216443003875B10(11);
_local1.A1216443003875B430(A1216443003875B10(10));
_local1.A1216443003875B430(A1216443003875B10(13));
_local1 = A1216443003875B10(12);
_local1.A1216443003875B430(A1216443003875B10(10));
_local1.A1216443003875B430(A1216443003875B10(13));
_local1.A1216443003875B430(A1216443003875B10(14));
_local1 = A1216443003875B10(13);
_local1.A1216443003875B430(A1216443003875B10(10));
_local1.A1216443003875B430(A1216443003875B10(11));
_local1.A1216443003875B430(A1216443003875B10(12));
_local1.A1216443003875B430(A1216443003875B10(14));
_local1.A1216443003875B430(A1216443003875B10(15));
_local1.A1216443003875B430(A1216443003875B10(16));
_local1 = A1216443003875B10(14);
_local1.A1216443003875B430(A1216443003875B10(12));
_local1.A1216443003875B430(A1216443003875B10(13));
_local1.A1216443003875B430(A1216443003875B10(15));
_local1.A1216443003875B430(A1216443003875B10(17));
_local1 = A1216443003875B10(15);
_local1.A1216443003875B430(A1216443003875B10(13));
_local1.A1216443003875B430(A1216443003875B10(14));
_local1.A1216443003875B430(A1216443003875B10(16));
_local1.A1216443003875B430(A1216443003875B10(17));
_local1.A1216443003875B430(A1216443003875B10(18));
_local1 = A1216443003875B10(16);
_local1.A1216443003875B430(A1216443003875B10(13));
_local1.A1216443003875B430(A1216443003875B10(15));
_local1 = A1216443003875B10(17);
_local1.A1216443003875B430(A1216443003875B10(9));
_local1.A1216443003875B430(A1216443003875B10(14));
_local1.A1216443003875B430(A1216443003875B10(15));
_local1 = A1216443003875B10(18);
_local1.A1216443003875B430(A1216443003875B10(15));
A1216443003890B1434 = A1216443003890B1038();
}
private function A1216443003890B1038():int{
var _local1:A1216443003890B1329;
A1216443003890B1434 = 0;
_local1 = A1216443003875B176.A1216443003890B880();
while (_local1.A1216443003890B1366()) {
A1216443003890B1434 = (A1216443003890B1434 + _local1.A1216443003875B331().A1216443003875B581());
};
return (A1216443003890B1434);
}
public function A1216443003890B1049(_arg1:SharedObject):void{
var _local2:A1216443003890B1329;
var _local3:A1216443003890B1258;
_local2 = this.A1216443003890B1300().A1216443003890B880();
while (_local2.A1216443003890B1366()) {
_local3 = _local2.A1216443003875B331();
A1216443003875B122(_arg1, _local3);
};
}
private function A1216443003875B500(_arg1:int){
var _local2:A1216443003890B1258;
var _local3:A1216443003875B305;
var _local4:A1216443003875B305;
var _local5:Dictionary;
_local3 = new A1216443003875B305();
_local4 = new A1216443003875B305();
_local5 = new Dictionary();
if (_arg1 == 1){
_local5[A1216443003890B1099.A1216443003890B1255] = new Area1RMC();
_local5[A1216443003890B1099.A1216443003890B1096] = new Area1YMC();
_local5[A1216443003890B1099.A1216443003875B539] = new Area1GMC();
_local5[A1216443003890B1099.A1216443003875B145] = new Area1OMC();
_local3.x = 85;
_local3.y = 65;
} else {
if (_arg1 == 2){
_local5[A1216443003890B1099.A1216443003890B1255] = new Area2RMC();
_local5[A1216443003890B1099.A1216443003890B1096] = new Area2YMC();
_local5[A1216443003890B1099.A1216443003875B539] = new Area2GMC();
_local5[A1216443003890B1099.A1216443003875B145] = new Area2OMC();
_local3.x = 45;
_local3.y = 125;
} else {
if (_arg1 == 3){
_local5[A1216443003890B1099.A1216443003890B1255] = new Area3RMC();
_local5[A1216443003890B1099.A1216443003890B1096] = new Area3YMC();
_local5[A1216443003890B1099.A1216443003875B539] = new Area3GMC();
_local5[A1216443003890B1099.A1216443003875B145] = new Area3OMC();
_local3.x = 145;
_local3.y = 140;
} else {
if (_arg1 == 4){
_local5[A1216443003890B1099.A1216443003890B1255] = new Area4RMC();
_local5[A1216443003890B1099.A1216443003890B1096] = new Area4YMC();
_local5[A1216443003890B1099.A1216443003875B539] = new Area4GMC();
_local5[A1216443003890B1099.A1216443003875B145] = new Area4OMC();
_local3.x = 235;
_local3.y = 75;
} else {
if (_arg1 == 5){
_local5[A1216443003890B1099.A1216443003890B1255] = new Area5RMC();
_local5[A1216443003890B1099.A1216443003890B1096] = new Area5YMC();
_local5[A1216443003890B1099.A1216443003875B539] = new Area5GMC();
_local5[A1216443003890B1099.A1216443003875B145] = new Area5OMC();
_local3.x = 230;
_local3.y = 160;
} else {
if (_arg1 == 6){
_local5[A1216443003890B1099.A1216443003890B1255] = new Area6RMC();
_local5[A1216443003890B1099.A1216443003890B1096] = new Area6YMC();
_local5[A1216443003890B1099.A1216443003875B539] = new Area6GMC();
_local5[A1216443003890B1099.A1216443003875B145] = new Area6OMC();
_local3.x = 100;
_local3.y = 250;
} else {
if (_arg1 == 7){
_local5[A1216443003890B1099.A1216443003890B1255] = new Area7RMC();
_local5[A1216443003890B1099.A1216443003890B1096] = new Area7YMC();
_local5[A1216443003890B1099.A1216443003875B539] = new Area7GMC();
_local5[A1216443003890B1099.A1216443003875B145] = new Area7OMC();
_local3.x = 180;
_local3.y = 235;
} else {
if (_arg1 == 8){
_local5[A1216443003890B1099.A1216443003890B1255] = new Area8RMC();
_local5[A1216443003890B1099.A1216443003890B1096] = new Area8YMC();
_local5[A1216443003890B1099.A1216443003875B539] = new Area8GMC();
_local5[A1216443003890B1099.A1216443003875B145] = new Area8OMC();
_local3.x = 125;
_local3.y = 335;
} else {
if (_arg1 == 9){
_local5[A1216443003890B1099.A1216443003890B1255] = new Area9RMC();
_local5[A1216443003890B1099.A1216443003890B1096] = new Area9YMC();
_local5[A1216443003890B1099.A1216443003875B539] = new Area9GMC();
_local5[A1216443003890B1099.A1216443003875B145] = new Area9OMC();
_local3.x = 270;
_local3.y = 0xFF;
} else {
if (_arg1 == 10){
_local5[A1216443003890B1099.A1216443003890B1255] = new Area10RMC();
_local5[A1216443003890B1099.A1216443003890B1096] = new Area10YMC();
_local5[A1216443003890B1099.A1216443003875B539] = new Area10GMC();
_local5[A1216443003890B1099.A1216443003875B145] = new Area10OMC();
_local3.x = 360;
_local3.y = 60;
} else {
if (_arg1 == 11){
_local5[A1216443003890B1099.A1216443003890B1255] = new Area11RMC();
_local5[A1216443003890B1099.A1216443003890B1096] = new Area11YMC();
_local5[A1216443003890B1099.A1216443003875B539] = new Area11GMC();
_local5[A1216443003890B1099.A1216443003875B145] = new Area11OMC();
_local3.x = 490;
_local3.y = 60;
} else {
if (_arg1 == 12){
_local5[A1216443003890B1099.A1216443003890B1255] = new Area12RMC();
_local5[A1216443003890B1099.A1216443003890B1096] = new Area12YMC();
_local5[A1216443003890B1099.A1216443003875B539] = new Area12GMC();
_local5[A1216443003890B1099.A1216443003875B145] = new Area12OMC();
_local3.x = 350;
_local3.y = 165;
} else {
if (_arg1 == 13){
_local5[A1216443003890B1099.A1216443003890B1255] = new Area13RMC();
_local5[A1216443003890B1099.A1216443003890B1096] = new Area13YMC();
_local5[A1216443003890B1099.A1216443003875B539] = new Area13GMC();
_local5[A1216443003890B1099.A1216443003875B145] = new Area13OMC();
_local3.x = 450;
_local3.y = 175;
} else {
if (_arg1 == 14){
_local5[A1216443003890B1099.A1216443003890B1255] = new Area14RMC();
_local5[A1216443003890B1099.A1216443003890B1096] = new Area14YMC();
_local5[A1216443003890B1099.A1216443003875B539] = new Area14GMC();
_local5[A1216443003890B1099.A1216443003875B145] = new Area14OMC();
_local3.x = 390;
_local3.y = 240;
} else {
if (_arg1 == 15){
_local5[A1216443003890B1099.A1216443003890B1255] = new Area15RMC();
_local5[A1216443003890B1099.A1216443003890B1096] = new Area15YMC();
_local5[A1216443003890B1099.A1216443003875B539] = new Area15GMC();
_local5[A1216443003890B1099.A1216443003875B145] = new Area15OMC();
_local3.x = 455;
_local3.y = 280;
} else {
if (_arg1 == 16){
_local5[A1216443003890B1099.A1216443003890B1255] = new Area16RMC();
_local5[A1216443003890B1099.A1216443003890B1096] = new Area16YMC();
_local5[A1216443003890B1099.A1216443003875B539] = new Area16GMC();
_local5[A1216443003890B1099.A1216443003875B145] = new Area16OMC();
_local3.x = 515;
_local3.y = 230;
} else {
if (_arg1 == 17){
_local5[A1216443003890B1099.A1216443003890B1255] = new Area17RMC();
_local5[A1216443003890B1099.A1216443003890B1096] = new Area17YMC();
_local5[A1216443003890B1099.A1216443003875B539] = new Area17GMC();
_local5[A1216443003890B1099.A1216443003875B145] = new Area17OMC();
_local3.x = 330;
_local3.y = 320;
} else {
if (_arg1 == 18){
_local5[A1216443003890B1099.A1216443003890B1255] = new Area18RMC();
_local5[A1216443003890B1099.A1216443003890B1096] = new Area18YMC();
_local5[A1216443003890B1099.A1216443003875B539] = new Area18GMC();
_local5[A1216443003890B1099.A1216443003875B145] = new Area18OMC();
_local3.x = 485;
_local3.y = 350;
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
if (_local3.x > (A1216443003890B1190.A1216443003875B6 - 130)){
_local4.x = (_local3.x - 60);
} else {
_local4.x = (_local3.x + 60);
};
if (_local3.y > (A1216443003890B1190.A1216443003890B705 - 60)){
_local4.y = (_local3.y - 60);
} else {
if (_local3.y < 80){
_local4.y = (150 - _local3.y);
} else {
_local4.y = _local3.y;
};
};
_local2 = new A1216443003890B1258(_local5, _arg1);
_local2.A1216443003890B737((Math.random() * A1216443003875B271));
_local2.A1216443003875B277(_local4.x, _local4.y);
_local2.A1216443003890B1335(_local3.x, _local3.y);
A1216443003890B829(_local2);
}
private function A1216443003875B480():void{
var _local1:int;
_local1 = 1;
var _temp1 = _local1;
_local1 = (_local1 + 1);
A1216443003875B500(_temp1);
var _temp2 = _local1;
_local1 = (_local1 + 1);
A1216443003875B500(_temp2);
var _temp3 = _local1;
_local1 = (_local1 + 1);
A1216443003875B500(_temp3);
var _temp4 = _local1;
_local1 = (_local1 + 1);
A1216443003875B500(_temp4);
var _temp5 = _local1;
_local1 = (_local1 + 1);
A1216443003875B500(_temp5);
var _temp6 = _local1;
_local1 = (_local1 + 1);
A1216443003875B500(_temp6);
var _temp7 = _local1;
_local1 = (_local1 + 1);
A1216443003875B500(_temp7);
var _temp8 = _local1;
_local1 = (_local1 + 1);
A1216443003875B500(_temp8);
var _temp9 = _local1;
_local1 = (_local1 + 1);
A1216443003875B500(_temp9);
var _temp10 = _local1;
_local1 = (_local1 + 1);
A1216443003875B500(_temp10);
var _temp11 = _local1;
_local1 = (_local1 + 1);
A1216443003875B500(_temp11);
var _temp12 = _local1;
_local1 = (_local1 + 1);
A1216443003875B500(_temp12);
var _temp13 = _local1;
_local1 = (_local1 + 1);
A1216443003875B500(_temp13);
var _temp14 = _local1;
_local1 = (_local1 + 1);
A1216443003875B500(_temp14);
var _temp15 = _local1;
_local1 = (_local1 + 1);
A1216443003875B500(_temp15);
var _temp16 = _local1;
_local1 = (_local1 + 1);
A1216443003875B500(_temp16);
var _temp17 = _local1;
_local1 = (_local1 + 1);
A1216443003875B500(_temp17);
var _temp18 = _local1;
_local1 = (_local1 + 1);
A1216443003875B500(_temp18);
}
public function A1216443003875B482():int{
return (A1216443003890B1434);
}
private function A1216443003875B122(_arg1:SharedObject, _arg2:A1216443003890B1258){
var _local3:int;
var _local4:A1216443003875B148;
_local3 = _arg2.A1216443003875B146();
_arg1.data[("city" + _local3)] = _arg2.A1216443003890B1102().A1216443003890B1328();
if (_arg2.A1216443003890B1401() == false){
_local4 = _arg2.A1216443003890B953();
_arg1.data[(("city" + _local3) + "ninja")] = _local4.A1216443003875B199();
_arg1.data[(("city" + _local3) + "samurai")] = _local4.A1216443003875B103();
} else {
_arg1.data[(("city" + _local3) + "ninja")] = 0;
_arg1.data[(("city" + _local3) + "samurai")] = 0;
};
}
public function A1216443003875B10(_arg1:int):A1216443003890B1258{
return (A1216443003890B1360[_arg1]);
}
public function A1216443003890B1373():A1216443003890B830{
var _local1:A1216443003890B830;
var _local2:Array;
var _local3:A1216443003890B1329;
var _local4:int;
var _local5:A1216443003890B1258;
var _local6:A1216443003890B1258;
var _local7:int;
_local1 = new A1216443003890B830();
_local2 = new Array();
_local3 = A1216443003875B176.A1216443003890B880();
_local4 = 0;
while (_local3.A1216443003890B1366()) {
var _temp1 = _local4;
_local4 = (_local4 + 1);
var _local8 = _temp1;
_local2[_local8] = _local3.A1216443003875B331();
};
_local4 = 0;
while (_local4 < (_local2.length - 1)) {
_local7 = 0;
while (_local7 < ((_local2.length - 1) - _local4)) {
_local5 = _local2[_local7];
_local6 = _local2[(_local7 + 1)];
if (_local5.A1216443003875B581() < _local6.A1216443003875B581()){
_local2[(_local7 + 1)] = _local5;
_local2[_local7] = _local6;
};
_local7++;
};
_local4++;
};
_local4 = 0;
while (_local4 < _local2.length) {
_local1.A1216443003890B866(_local2[_local4]);
_local4++;
};
return (_local1);
}
}
}//package com.jumbledmind.ninjainvasion.gobs
Section 68
//A1216443003890B1258 (com.jumbledmind.ninjainvasion.gobs.A1216443003890B1258)
package com.jumbledmind.ninjainvasion.gobs {
import flash.utils.*;
import flash.display.*;
import com.jumbledmind.games.util.*;
import com.jumbledmind.games.math.*;
import com.jumbledmind.games.gobs.*;
import com.jumbledmind.ninjainvasion.*;
import flash.geom.*;
public class A1216443003890B1258 extends A1216443003875B186 {
private var A1216443003875B304:Dictionary;
private var A1216443003875B259:A1216443003890B1099;
private var A1216443003875B1:int;
private var id:int;
private var A1216443003890B1398:int;
private var A1216443003890B900:A1216443003875B305;
private var A1216443003890B1043:A1216443003875B305;
private var A1216443003890B915:BitmapData;// = null
private var A1216443003875B596:int;
private var A1216443003875B73:A1216443003875B148;
private var A1216443003890B1403:Sprite;// = null
public function A1216443003890B1258(_arg1:Dictionary, _arg2:int){
A1216443003890B1403 = null;
A1216443003890B915 = null;
A1216443003875B596 = (A1216443003875B67.A1216443003875B187 * 0.5);
A1216443003875B1 = (A1216443003875B67.A1216443003875B692 * 0.5);
super();
this.A1216443003875B304 = _arg1;
this.id = _arg2;
this.A1216443003890B1043 = new A1216443003875B305();
this.A1216443003890B900 = new A1216443003875B305();
}
public function A1216443003875B146():int{
return (id);
}
public function A1216443003875B389():Boolean{
var _local1:Boolean;
var _local2:A1216443003890B1329;
var _local3:A1216443003890B1258;
_local1 = false;
_local2 = A1216443003890B1028().A1216443003890B880();
while (_local2.A1216443003890B1366()) {
_local3 = _local2.A1216443003875B331();
if (A1216443003890B996(_local3)){
_local1 = true;
};
};
return (_local1);
}
public function A1216443003890B1023():A1216443003875B305{
return (A1216443003890B1043);
}
public function A1216443003890B851(_arg1:A1216443003890B1258):Boolean{
return (((A1216443003890B884.contains(_arg1)) && (!((_arg1.A1216443003890B1102().A1216443003890B1328() == this.A1216443003890B1102().A1216443003890B1328())))));
}
public function A1216443003875B277(_arg1:int, _arg2:int){
this.A1216443003890B900.x = _arg1;
this.A1216443003890B900.y = _arg2;
}
public function A1216443003890B737(_arg1:int):void{
this.A1216443003890B1398 = _arg1;
}
public function A1216443003875B320():Boolean{
var _local1:Boolean;
var _local2:A1216443003890B1329;
var _local3:A1216443003890B1258;
_local1 = false;
_local2 = A1216443003890B1028().A1216443003890B880();
while (_local2.A1216443003890B1366()) {
_local3 = _local2.A1216443003875B331();
if (A1216443003890B851(_local3)){
_local1 = true;
};
};
return (_local1);
}
public function A1216443003890B1310(_arg1:Graphics):void{
var _local2:A1216443003890B1329;
var _local3:A1216443003890B1258;
_arg1.lineStyle(4, 1, 100);
_local2 = A1216443003890B1028().A1216443003890B880();
while (_local2.A1216443003890B1366()) {
_local3 = _local2.A1216443003875B331();
if (A1216443003890B996(_local3)){
_arg1.moveTo(A1216443003890B1023().x, A1216443003890B1023().y);
_arg1.lineTo(_local3.A1216443003890B1023().x, _local3.A1216443003890B1023().y);
};
};
}
public function A1216443003890B996(_arg1:A1216443003890B1258):Boolean{
return (((A1216443003890B884.contains(_arg1)) && ((_arg1.A1216443003890B1102().A1216443003890B1328() == this.A1216443003890B1102().A1216443003890B1328()))));
}
public function A1216443003890B1453(_arg1:A1216443003875B148){
if (_arg1 == null){
this.A1216443003875B73 = null;
} else {
this.A1216443003875B73 = _arg1;
A1216443003875B400(_arg1.A1216443003890B1102());
_arg1.x = A1216443003890B1023().x;
_arg1.y = A1216443003890B1023().y;
};
}
public function A1216443003875B581():int{
return (A1216443003890B884.A1216443003890B1404());
}
public function A1216443003890B1341():A1216443003890B1258{
var _local1:A1216443003890B1329;
var _local2:A1216443003890B1258;
_local1 = A1216443003890B884.A1216443003890B880();
while (_local1.A1216443003890B1366()) {
_local2 = _local1.A1216443003875B331();
if (_local2.A1216443003890B1102() == A1216443003875B259){
return (_local2);
};
};
return (null);
}
public function A1216443003890B896():void{
this.A1216443003875B73 = null;
this.A1216443003875B259 = null;
}
public function A1216443003890B1335(_arg1:int, _arg2:int){
this.A1216443003890B1043.x = _arg1;
this.A1216443003890B1043.y = _arg2;
}
public function A1216443003890B700():A1216443003875B305{
return (A1216443003890B900);
}
public function A1216443003890B1102():A1216443003890B1099{
return (A1216443003875B259);
}
public function A1216443003875B400(_arg1:A1216443003890B1099){
var _local2:A1216443003890B1099;
if (this.A1216443003875B259 != null){
this.A1216443003875B259.A1216443003890B1353(this, _arg1);
};
_local2 = this.A1216443003875B259;
this.A1216443003875B259 = _arg1;
this.A1216443003875B259.A1216443003890B1259(this, _local2);
if (A1216443003890B1403 != null){
removeChild(A1216443003890B1403);
};
A1216443003890B1403 = A1216443003875B304[_arg1.A1216443003890B1328()];
addChild(A1216443003890B1403);
A1216443003890B915 = null;
A1216443003890B915 = new BitmapData(550, 550, true, 0);
A1216443003890B915.draw(A1216443003890B1403, this.parent.transform.matrix);
}
public function hitTest(_arg1:int, _arg2:int):Boolean{
if (A1216443003890B915 == null){
return (false);
};
return (A1216443003890B915.hitTest(new Point(0, 0), 0xFF, new Point(_arg1, _arg2)));
}
public function A1216443003890B1082(_arg1:Dictionary):void{
this.A1216443003875B304 = _arg1;
}
public function A1216443003890B953():A1216443003875B148{
if (A1216443003875B73 == null){
A1216443003875B73 = new A1216443003875B148();
A1216443003875B73.x = A1216443003890B1043.x;
A1216443003875B73.y = A1216443003890B1043.y;
A1216443003875B73.A1216443003890B905(A1216443003875B259);
};
return (A1216443003875B73);
}
public function A1216443003890B1401():Boolean{
return ((((A1216443003875B73 == null)) || (A1216443003875B73.A1216443003890B1401())));
}
public function A1216443003875B15(_arg1:Graphics):void{
var _local2:A1216443003890B1329;
var _local3:A1216443003890B1258;
_arg1.lineStyle(4, 1, 100);
_local2 = A1216443003890B1028().A1216443003890B880();
while (_local2.A1216443003890B1366()) {
_local3 = _local2.A1216443003875B331();
if (A1216443003890B851(_local3)){
_arg1.moveTo(A1216443003890B1023().x, A1216443003890B1023().y);
_arg1.lineTo(_local3.A1216443003890B1023().x, _local3.A1216443003890B1023().y);
};
};
}
override public function removeChild(_arg1:DisplayObject):DisplayObject{
if (this.contains(_arg1)){
return (super.removeChild(_arg1));
};
return (null);
}
public function A1216443003890B1400():int{
return (A1216443003890B1398);
}
}
}//package com.jumbledmind.ninjainvasion.gobs
Section 69
//A1216443003890B1383 (com.jumbledmind.ninjainvasion.gobs.A1216443003890B1383)
package com.jumbledmind.ninjainvasion.gobs {
import flash.utils.*;
import flash.display.*;
import com.jumbledmind.games.util.*;
public class A1216443003890B1383 extends Sprite {
protected var A1216443003875B176:A1216443003890B830;
protected var A1216443003890B1360:Dictionary;
public function A1216443003890B1383(){
A1216443003875B176 = new A1216443003890B830();
A1216443003890B1360 = new Dictionary();
}
public function A1216443003875B426(_arg1:int){
return (A1216443003890B1360[_arg1]);
}
public function A1216443003890B1300():A1216443003890B830{
return (A1216443003875B176);
}
public function A1216443003890B829(_arg1):void{
A1216443003875B176.A1216443003890B866(_arg1);
A1216443003890B1360[_arg1.A1216443003875B146()] = _arg1;
addChild(_arg1);
}
}
}//package com.jumbledmind.ninjainvasion.gobs
Section 70
//A1216443003875B429 (com.jumbledmind.ninjainvasion.intromodule.A1216443003875B429)
package com.jumbledmind.ninjainvasion.intromodule {
import flash.events.*;
import flash.display.*;
import flash.net.*;
import com.jumbledmind.games.*;
import com.jumbledmind.ninjainvasion.*;
public class A1216443003875B429 extends A1216443003875B620 {
var A1216443003890B839:MovieClip;
private var A1216443003875B560:int;// = 0
public function A1216443003875B429(_arg1:String, _arg2:MovieClip){
A1216443003875B560 = 0;
super(_arg1, _arg2);
this.addChild(new BlackMC());
this.A1216443003890B800 = A1216443003890B960.A1216443003890B1067;
A1216443003875B52();
}
public function A1216443003875B52():void{
A1216443003890B839 = new BigFishGamesMC();
A1216443003890B839.stop();
A1216443003890B839.x = ((A1216443003890B1190.A1216443003875B6 * 0.5) - (A1216443003890B839.width * 0.5));
A1216443003890B839.y = ((A1216443003890B1190.A1216443003890B705 * 0.5) - (A1216443003890B839.height * 0.5));
addChild(A1216443003890B839);
A1216443003875B582();
}
override public function deactivate():void{
A1216443003890B839.removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B74);
}
public function A1216443003875B582():void{
A1216443003890B839.addEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B74);
}
public function A1216443003875B74(_arg1:Event){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.bigfishgames.com/online-games/?src= nimjaclanquest&afcode=af237c4e57b1");
navigateToURL(_local2);
}
override public function A1216443003890B1114():void{
if (A1216443003875B560++ == 120){
A1216443003890B1385(A1216443003890B960.fadeOutToBlack, A1216443003890B960.A1216443003890B1226, null);
};
}
override public function activate():void{
super.activate();
A1216443003890B839.play();
}
}
}//package com.jumbledmind.ninjainvasion.intromodule
Section 71
//A1216443003890B833 (com.jumbledmind.ninjainvasion.intromodule.A1216443003890B833)
package com.jumbledmind.ninjainvasion.intromodule {
import flash.events.*;
import flash.display.*;
import flash.net.*;
import flash.text.*;
import com.jumbledmind.games.util.*;
import com.jumbledmind.games.*;
import com.jumbledmind.ninjainvasion.*;
public class A1216443003890B833 extends A1216443003875B620 {
private var A1216443003875B560:int;// = 0
private var A1216443003875B264:A1216443003875B136;
public function A1216443003890B833(_arg1:String, _arg2:MovieClip){
A1216443003875B560 = 0;
super(_arg1, _arg2);
this.addChild(new BlackMC());
this.A1216443003890B800 = A1216443003890B960.A1216443003890B1067;
A1216443003875B52();
}
public function A1216443003875B668(_arg1:Event){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.jumbledmind.com");
navigateToURL(_local2);
}
public function A1216443003875B52():void{
var _local1:A1216443003890B960;
_local1 = A1216443003890B960.A1216443003890B1397();
A1216443003875B264 = _local1.A1216443003890B868(_local1.A1216443003875B657(), TextFieldAutoSize.LEFT, 25);
A1216443003875B264.A1216443003875B662("-a jumbledmind game-");
A1216443003875B264.x = ((A1216443003890B1190.A1216443003875B6 * 0.5) - (A1216443003875B264.width * 0.5));
A1216443003875B264.y = (A1216443003890B1190.A1216443003890B705 * 0.5);
addChild(A1216443003875B264);
A1216443003875B582();
}
public function A1216443003875B582():void{
A1216443003875B264.addEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B668);
}
override public function A1216443003890B1114():void{
if (A1216443003875B560++ == 60){
A1216443003890B1385(A1216443003890B960.A1216443003875B376, A1216443003890B960.A1216443003890B1226, null);
};
}
}
}//package com.jumbledmind.ninjainvasion.intromodule
Section 72
//A1216443003875B104 (com.jumbledmind.ninjainvasion.mapmodule.A1216443003875B104)
package com.jumbledmind.ninjainvasion.mapmodule {
import flash.text.*;
import com.jumbledmind.games.util.*;
import com.jumbledmind.ninjainvasion.*;
public class A1216443003875B104 extends A1216443003875B529 {
private var A1216443003890B974:A1216443003875B136;
private var A1216443003875B182:A1216443003890B830;
private var A1216443003875B627:A1216443003875B136;
public function A1216443003875B104(){
var _local1:A1216443003890B960;
super();
_local1 = A1216443003890B960.A1216443003890B1397();
A1216443003875B182 = new A1216443003890B830();
A1216443003890B974 = _local1.A1216443003890B868(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 25);
addChild(A1216443003890B974);
A1216443003890B974.x = 400;
A1216443003890B974.y = 150;
A1216443003890B974.A1216443003875B662("Next");
A1216443003875B627 = _local1.A1216443003890B868(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 25);
addChild(A1216443003875B627);
A1216443003875B627.x = 25;
A1216443003875B627.y = 150;
A1216443003875B627.A1216443003875B662("Skip All");
}
public function A1216443003890B1131():Boolean{
return ((A1216443003875B182.A1216443003890B1404() > 0));
}
public function A1216443003890B856():void{
A1216443003875B182.A1216443003890B856();
}
public function A1216443003875B36():A1216443003875B136{
return (A1216443003890B974);
}
public function A1216443003875B684():void{
A1216443003875B662(A1216443003875B182.A1216443003890B997());
}
public function A1216443003890B1280():A1216443003875B136{
return (A1216443003875B627);
}
public function A1216443003875B505(_arg1:String):void{
A1216443003875B182.A1216443003890B866(_arg1);
}
}
}//package com.jumbledmind.ninjainvasion.mapmodule
Section 73
//A1216443003875B164 (com.jumbledmind.ninjainvasion.mapmodule.A1216443003875B164)
package com.jumbledmind.ninjainvasion.mapmodule {
import flash.text.*;
import com.jumbledmind.games.util.*;
import com.jumbledmind.ninjainvasion.*;
public class A1216443003875B164 extends A1216443003875B529 {
private var A1216443003890B1161:A1216443003875B136;
public function A1216443003875B164(){
var _local1:A1216443003890B960;
super();
_local1 = A1216443003890B960.A1216443003890B1397();
A1216443003890B1161 = _local1.A1216443003890B868(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 25);
addChild(A1216443003890B1161);
A1216443003890B1161.x = 400;
A1216443003890B1161.y = 150;
A1216443003890B1161.A1216443003875B662("OK");
}
public function A1216443003890B865():A1216443003875B136{
return (A1216443003890B1161);
}
}
}//package com.jumbledmind.ninjainvasion.mapmodule
Section 74
//A1216443003875B218 (com.jumbledmind.ninjainvasion.mapmodule.A1216443003875B218)
package com.jumbledmind.ninjainvasion.mapmodule {
import flash.display.*;
import com.jumbledmind.ninjainvasion.*;
public class A1216443003875B218 extends A1216443003875B620 {
private var A1216443003875B633:A1216443003875B467;
public function A1216443003875B218(_arg1:String, _arg2:MovieClip){
super(_arg1, _arg2);
this.A1216443003890B800 = A1216443003890B960.A1216443003875B153;
A1216443003875B52();
}
public function A1216443003875B52():void{
A1216443003875B633 = new A1216443003875B467();
A1216443003875B108();
}
override public function deactivate():void{
super.deactivate();
A1216443003875B633.deactivate();
}
public function A1216443003875B108():void{
A1216443003875B633.A1216443003875B108();
}
override public function A1216443003890B1114():void{
A1216443003875B633.A1216443003890B1114();
}
override public function A1216443003875B527():void{
removeChild(A1216443003875B633);
}
override public function A1216443003875B463(_arg1):void{
super.A1216443003875B463(_arg1);
addChild(A1216443003875B633);
if (this.A1216443003875B351 != null){
A1216443003875B633.A1216443003875B117(_arg1);
} else {
A1216443003875B633.activate();
};
}
override public function activate():void{
super.activate();
}
}
}//package com.jumbledmind.ninjainvasion.mapmodule
Section 75
//A1216443003875B367 (com.jumbledmind.ninjainvasion.mapmodule.A1216443003875B367)
package com.jumbledmind.ninjainvasion.mapmodule {
import flash.utils.*;
import flash.display.*;
import com.jumbledmind.ninjainvasion.gobs.*;
import flash.text.*;
import com.jumbledmind.games.util.*;
import com.jumbledmind.ninjainvasion.*;
public class A1216443003875B367 extends MovieClip {
private var A1216443003875B3:Sprite;
private var A1216443003875B382:Sprite;
private var A1216443003875B0:TextField;
private var A1216443003875B259:A1216443003890B1099;
private var A1216443003890B1379:Sprite;
private var A1216443003890B1375:Dictionary;
private var A1216443003875B279:Dictionary;
private var A1216443003890B1419:TextField;
private var A1216443003890B745:TextField;
private var A1216443003890B1316:TextField;
private var A1216443003875B215:TextField;
private var A1216443003890B1450:Dictionary;
private var A1216443003875B220:TextField;
private var A1216443003875B583:TextField;
private var A1216443003875B349:A1216443003875B136;
private var A1216443003875B118:A1216443003875B136;
private var A1216443003890B1079:A1216443003875B136;
private var A1216443003875B408:Sprite;
private var A1216443003890B1359:TextField;
private var A1216443003875B416:Dictionary;
private var A1216443003890B964:TextField;
public function A1216443003875B367(){
var _local1:Array;
var _local2:int;
var _local3:A1216443003890B960;
var _local4:A1216443003890B1099;
var _local5:Sprite;
var _local6:Sprite;
var _local7:Sprite;
var _local8:Sprite;
super();
addChild(new ShopBackgroundMC());
A1216443003875B416 = new Dictionary();
A1216443003890B1450 = new Dictionary();
A1216443003890B1375 = new Dictionary();
A1216443003875B279 = new Dictionary();
_local1 = A1216443003890B960.A1216443003890B925.A1216443003875B190();
_local2 = 0;
while (_local2 < _local1.length) {
_local4 = _local1[_local2];
_local5 = _local4.A1216443003875B536();
_local6 = _local4.A1216443003890B760();
A1216443003875B416[_local4.A1216443003890B1328()] = _local5;
A1216443003890B1450[_local4.A1216443003890B1328()] = _local6;
_local5.x = 400;
_local5.y = 40;
_local6.x = 480;
_local6.y = 40;
_local7 = _local4.A1216443003875B536();
_local8 = _local4.A1216443003890B760();
A1216443003890B1375[_local4.A1216443003890B1328()] = _local7;
A1216443003875B279[_local4.A1216443003890B1328()] = _local8;
_local7.x = 15;
_local7.y = 25;
_local8.x = 215;
_local8.y = 25;
_local2++;
};
_local3 = A1216443003890B960.A1216443003890B1397();
A1216443003875B215 = _local3.A1216443003890B1086(_local3.A1216443003875B657(), TextFieldAutoSize.LEFT, 25);
A1216443003875B215.x = 410;
A1216443003875B215.y = 25;
addChild(A1216443003875B215);
A1216443003890B964 = _local3.A1216443003890B1086(_local3.A1216443003875B657(), TextFieldAutoSize.LEFT, 25);
A1216443003890B964.x = 490;
A1216443003890B964.y = 25;
addChild(A1216443003890B964);
A1216443003890B1359 = _local3.A1216443003890B1086(_local3.A1216443003875B657(), TextFieldAutoSize.LEFT, 25);
A1216443003890B1359.x = 10;
A1216443003890B1359.y = 50;
addChild(A1216443003890B1359);
A1216443003890B1316 = _local3.A1216443003890B1086(_local3.A1216443003875B657(), TextFieldAutoSize.LEFT, 25);
A1216443003890B1316.x = 210;
A1216443003890B1316.y = 50;
addChild(A1216443003890B1316);
A1216443003875B220 = _local3.A1216443003890B1086(_local3.A1216443003875B657(), TextFieldAutoSize.LEFT, 25);
A1216443003875B220.x = 10;
A1216443003875B220.y = 70;
addChild(A1216443003875B220);
A1216443003875B0 = _local3.A1216443003890B1086(_local3.A1216443003875B657(), TextFieldAutoSize.LEFT, 25);
A1216443003875B0.x = 210;
A1216443003875B0.y = 70;
addChild(A1216443003875B0);
A1216443003890B1419 = _local3.A1216443003890B1086(_local3.A1216443003875B657(), TextFieldAutoSize.LEFT, 25);
A1216443003890B1419.x = 10;
A1216443003890B1419.y = 90;
addChild(A1216443003890B1419);
A1216443003890B745 = _local3.A1216443003890B1086(_local3.A1216443003875B657(), TextFieldAutoSize.LEFT, 25);
A1216443003890B745.x = 210;
A1216443003890B745.y = 90;
addChild(A1216443003890B745);
A1216443003890B1079 = _local3.A1216443003890B868(_local3.A1216443003875B657(), TextFieldAutoSize.LEFT, 25);
A1216443003890B1079.x = 10;
A1216443003890B1079.y = 130;
A1216443003890B1079.A1216443003875B662("Buy");
addChild(A1216443003890B1079);
A1216443003875B349 = _local3.A1216443003890B868(_local3.A1216443003875B657(), TextFieldAutoSize.LEFT, 25);
A1216443003875B349.x = 210;
A1216443003875B349.y = 130;
A1216443003875B349.A1216443003875B662("Buy");
addChild(A1216443003875B349);
A1216443003875B118 = _local3.A1216443003890B868(_local3.A1216443003875B657(), TextFieldAutoSize.LEFT, 25);
A1216443003875B118.x = 420;
A1216443003875B118.y = 100;
A1216443003875B118.A1216443003875B662("DONE");
addChild(A1216443003875B118);
A1216443003875B583 = _local3.A1216443003890B1086(_local3.A1216443003875B657(), TextFieldAutoSize.LEFT, 25);
A1216443003875B583.x = 420;
A1216443003875B583.y = 50;
addChild(A1216443003875B583);
}
public function A1216443003890B1407():A1216443003875B136{
return (A1216443003875B118);
}
public function A1216443003890B1371(_arg1:int):void{
this.A1216443003875B215.text = (":" + _arg1);
}
public function A1216443003890B1428():A1216443003875B136{
return (A1216443003890B1079);
}
public function A1216443003875B25(_arg1:int):void{
this.A1216443003890B964.text = (":" + _arg1);
}
public function A1216443003890B905(_arg1:A1216443003890B1099):void{
A1216443003890B1359.text = ((("ATTACK: " + _arg1.A1216443003875B385()) + "-") + _arg1.A1216443003875B133());
A1216443003890B1316.text = ((("ATTACK: " + _arg1.A1216443003890B763()) + "-") + _arg1.A1216443003875B278());
A1216443003875B220.text = ("HEALTH: " + _arg1.A1216443003890B916());
A1216443003875B0.text = ("HEALTH: " + _arg1.A1216443003890B1228());
A1216443003890B1419.text = ("COST: " + _arg1.A1216443003875B493());
A1216443003890B745.text = ("COST: " + _arg1.A1216443003890B1429());
A1216443003890B1115(_arg1.A1216443003890B1007());
}
public function A1216443003890B1453(_arg1:A1216443003875B148):void{
A1216443003875B259 = _arg1.A1216443003890B1102();
A1216443003875B259.A1216443003890B1328();
removeChild(A1216443003875B408);
this.A1216443003875B408 = A1216443003875B416[A1216443003875B259.A1216443003890B1328()];
addChild(A1216443003875B408);
removeChild(A1216443003890B1379);
this.A1216443003890B1379 = A1216443003890B1450[A1216443003875B259.A1216443003890B1328()];
addChild(A1216443003890B1379);
removeChild(A1216443003875B382);
this.A1216443003875B382 = A1216443003890B1375[A1216443003875B259.A1216443003890B1328()];
addChild(A1216443003875B382);
removeChild(A1216443003875B3);
this.A1216443003875B3 = A1216443003875B279[A1216443003875B259.A1216443003890B1328()];
addChild(A1216443003875B3);
A1216443003890B1371(_arg1.A1216443003875B199());
A1216443003875B25(_arg1.A1216443003875B103());
A1216443003890B905(_arg1.A1216443003890B1102());
}
public function A1216443003890B1173():A1216443003875B136{
return (A1216443003875B349);
}
public function A1216443003890B1115(_arg1:int):void{
A1216443003875B583.text = ("FUNDS:" + _arg1);
if (_arg1 < A1216443003875B259.A1216443003875B493()){
removeChild(A1216443003890B1079);
} else {
addChild(A1216443003890B1079);
};
if (_arg1 < A1216443003875B259.A1216443003890B1429()){
removeChild(A1216443003875B349);
} else {
addChild(A1216443003875B349);
};
}
override public function removeChild(_arg1:DisplayObject):DisplayObject{
if (((!((_arg1 == null))) && (this.contains(_arg1)))){
return (super.removeChild(_arg1));
};
return (null);
}
}
}//package com.jumbledmind.ninjainvasion.mapmodule
Section 76
//A1216443003875B467 (com.jumbledmind.ninjainvasion.mapmodule.A1216443003875B467)
package com.jumbledmind.ninjainvasion.mapmodule {
import flash.events.*;
import flash.display.*;
import com.jumbledmind.ninjainvasion.gobs.*;
import flash.net.*;
import flash.text.*;
import com.jumbledmind.games.util.*;
import com.jumbledmind.games.events.*;
import com.jumbledmind.games.*;
import com.jumbledmind.games.input.*;
import com.jumbledmind.games.graphics.effects.*;
import com.jumbledmind.ninjainvasion.battlemodule.*;
import com.jumbledmind.ninjainvasion.*;
import flash.media.*;
public class A1216443003875B467 extends A1216443003875B348 implements A1216443003890B927 {
private var A1216443003875B421:Sound;
private var A1216443003875B553:A1216443003890B1099;
private var A1216443003875B555:A1216443003890B1258;
private var A1216443003875B319:A1216443003890B1245;
private var A1216443003890B1432:A1216443003890B830;
private var A1216443003890B1314:A1216443003890B830;
private var A1216443003875B209:A1216443003890B1099;
private var A1216443003875B206:A1216443003875B148;
private var A1216443003875B323:A1216443003875B367;
private var A1216443003875B697:A1216443003890B1099;
private var A1216443003875B339:Sound;
private var A1216443003890B1219:A1216443003875B104;
private var A1216443003875B583:TextField;
private var A1216443003890B1332:A1216443003875B136;
private var A1216443003890B935:A1216443003875B164;
private var A1216443003875B357:A1216443003890B830;
private var A1216443003890B1355:Sprite;
private var A1216443003875B249:int;
private var A1216443003890B1352:MovieClip;
private var A1216443003890B1243:A1216443003875B136;
private var A1216443003890B1123:A1216443003890B1017;
private var A1216443003875B378:MovieClip;
private var A1216443003890B1008:A1216443003890B1258;
private var A1216443003875B92:A1216443003875B136;
private var A1216443003875B94:TextField;
private var A1216443003890B1372:A1216443003890B1099;
private var A1216443003890B1135:A1216443003875B513;
private var A1216443003890B1024:A1216443003875B614;
private var A1216443003875B275:A1216443003890B1052;
private var A1216443003890B1154:Sprite;
private var A1216443003890B985:Sound;
private var A1216443003890B995:A1216443003875B678;
var A1216443003875B177;// = 0.01
private var A1216443003890B1165:A1216443003875B637;
private var A1216443003875B628:A1216443003890B1258;
private var A1216443003875B509:Boolean;// = false
private var A1216443003875B191:A1216443003890B717;
private var A1216443003875B634:Boolean;
private var A1216443003875B520:A1216443003890B1099;
private var A1216443003890B770:A1216443003890B830;
private var A1216443003875B404:MovieClip;
private var A1216443003875B405:int;
private var A1216443003890B796:A1216443003890B830;
private var A1216443003875B541:TextField;
public static var A1216443003890B883:int = 20;
public static var A1216443003875B589:int = 85;
public static var A1216443003875B106:int = 11;
public static var A1216443003875B588:int = 15;
public static var A1216443003890B1181:int = 17;
public static var A1216443003875B23:int = 81;
public static var A1216443003890B1340:int = 4;
public static var A1216443003875B194:int = 13;
public static var A1216443003890B1386:int = 5;
public static var A1216443003875B350:int = 84;
public static var A1216443003875B670:int = 83;
public static var A1216443003890B855:int = 14;
public static var A1216443003890B736:int = 98;
public static var A1216443003875B479:int = 8;
public static var A1216443003890B1308:int = 21;
public static var A1216443003875B597:int = 3;
public static var A1216443003890B1058:int = 19;
public static var A1216443003890B1423:int = 9;
public static var A1216443003890B1391:int = 16;
public static var A1216443003875B165:int = 1;
public static var A1216443003890B946:int = 7;
private static var A1216443003875B361:Boolean = true;
public static var A1216443003875B569:int = 82;
public static var A1216443003875B407:int = 80;
public static var A1216443003875B40:int = 10;
public static var A1216443003875B444:int = 18;
public static var A1216443003890B831:int = 12;
public static var A1216443003890B998:int = 99;
public static var A1216443003875B258:int = 22;
public static var A1216443003890B1291:int = 6;
public static var A1216443003890B1098:int = 10;
public static var A1216443003890B762:int = 23;
public static var A1216443003890B765:int = 2;
public function A1216443003875B467(){
var _local1:A1216443003890B960;
A1216443003890B1135 = new A1216443003875B513();
A1216443003875B509 = false;
A1216443003875B177 = 0.01;
super();
this.addChild(new BlueMC());
_local1 = A1216443003890B960.A1216443003890B1397();
A1216443003875B319 = A1216443003890B960.A1216443003890B925.A1216443003875B592();
this.addChild(A1216443003875B319);
A1216443003875B323 = new A1216443003875B367();
A1216443003875B323.y = 100;
A1216443003890B1123 = new A1216443003890B1017();
addChild(A1216443003890B1123);
A1216443003890B1123.x = 400;
A1216443003890B1123.y = 400;
A1216443003875B275 = new A1216443003890B1052();
A1216443003875B275.x = 0;
A1216443003875B275.y = 400;
A1216443003890B995 = new A1216443003875B678();
A1216443003890B995.x = 0;
A1216443003890B995.y = 250;
A1216443003890B995.A1216443003890B775().addEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B934);
A1216443003890B995.A1216443003875B28().addEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B443);
A1216443003875B191 = new A1216443003890B717();
A1216443003875B191.x = 0;
A1216443003875B191.y = 400;
A1216443003875B191.A1216443003875B28().addEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B443);
A1216443003890B1355 = new SelectorMC();
A1216443003890B1355.x = -10000;
this.addChild(A1216443003890B1355);
A1216443003875B404 = new MovieClip();
this.addChild(A1216443003875B404);
A1216443003890B1165 = new A1216443003875B637();
A1216443003875B94 = _local1.A1216443003890B1086(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 25);
this.addChild(A1216443003875B94);
A1216443003875B92 = _local1.A1216443003890B868(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 25, new FinishTurnMC());
A1216443003875B92.x = 400;
A1216443003875B92.y = 0;
A1216443003875B92.A1216443003875B662("FINISH TURN");
A1216443003890B1219 = new A1216443003875B104();
A1216443003890B1219.y = 100;
A1216443003890B1219.x = 10;
A1216443003890B935 = new A1216443003875B164();
A1216443003890B935.y = 100;
A1216443003890B1024 = new A1216443003875B614();
A1216443003890B1024.x = 100;
A1216443003890B1024.y = 100;
A1216443003890B1243 = _local1.A1216443003890B868(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 25, new MenuMC());
A1216443003890B1243.A1216443003875B662("Menu");
A1216443003890B1243.x = 300;
A1216443003890B1243.y = 457;
addChild(A1216443003890B1243);
A1216443003890B1332 = _local1.A1216443003890B868(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 80, new MoreGamesMC());
A1216443003890B1332.A1216443003875B662(" More\n Games");
A1216443003890B1332.x = 300;
A1216443003890B1332.y = 397;
addChild(A1216443003890B1332);
A1216443003875B583 = _local1.A1216443003890B1086(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 25);
A1216443003875B583.x = 430;
A1216443003875B583.y = 375;
A1216443003890B1154 = new MoneyMC();
addChild(A1216443003875B583);
A1216443003890B1154.x = 420;
A1216443003890B1154.y = 390;
addChild(A1216443003890B1154);
A1216443003875B541 = _local1.A1216443003890B1086(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 25);
A1216443003875B541.y = 375;
A1216443003875B541.text = ("SCORE:" + 0);
A1216443003875B421 = new MoveSFX();
A1216443003890B985 = new BuyUnitSFX();
A1216443003875B339 = new ClickSFX();
addChild(A1216443003875B541);
A1216443003875B108();
}
protected function A1216443003875B540():void{
A1216443003890B995.deactivate();
this.removeChild(A1216443003890B995);
}
private function A1216443003875B548(_arg1:A1216443003890B1099, _arg2:A1216443003890B1099, _arg3:A1216443003890B1099):void{
if (!(((_arg3.A1216443003890B1328() == _arg1.A1216443003890B1328())) || ((_arg3.A1216443003890B1328() == _arg2.A1216443003890B1328())))){
_arg3.A1216443003875B156(_arg2, 2);
};
}
public function A1216443003890B1416(_arg1:Event){
var _local2:A1216443003875B148;
var _local3:A1216443003890B1099;
_local2 = A1216443003890B1008.A1216443003890B953();
_local3 = _local2.A1216443003890B1102();
if (_local3.A1216443003890B1007() >= _local3.A1216443003890B1429()){
_local2.A1216443003875B25((_local2.A1216443003875B103() + 1));
_local3.A1216443003890B1115((_local3.A1216443003890B1007() - _local3.A1216443003890B1429()));
A1216443003890B1347();
};
A1216443003875B323.A1216443003890B1115(_local3.A1216443003890B1007());
A1216443003875B323.A1216443003890B1371(_local2.A1216443003875B199());
A1216443003875B323.A1216443003875B25(_local2.A1216443003875B103());
A1216443003875B583.text = A1216443003875B553.A1216443003890B1007().toString();
}
private function A1216443003875B9():void{
A1216443003890B935.A1216443003890B865().addEventListener(MouseEvent.MOUSE_UP, A1216443003890B757);
}
public function A1216443003875B300(_arg1:Event){
var _local2:A1216443003875B148;
var _local3:A1216443003890B1099;
_local2 = A1216443003890B1008.A1216443003890B953();
_local3 = _local2.A1216443003890B1102();
if (_local3.A1216443003890B1007() >= _local3.A1216443003875B493()){
_local2.A1216443003890B1371((_local2.A1216443003875B199() + 1));
_local3.A1216443003890B1115((_local3.A1216443003890B1007() - _local3.A1216443003875B493()));
A1216443003890B1347();
};
A1216443003875B323.A1216443003890B1115(_local3.A1216443003890B1007());
A1216443003875B323.A1216443003890B1371(_local2.A1216443003875B199());
A1216443003875B323.A1216443003875B25(_local2.A1216443003875B103());
A1216443003875B583.text = A1216443003875B553.A1216443003890B1007().toString();
}
private function A1216443003875B302():void{
A1216443003875B405 = A1216443003890B736;
A1216443003875B261(A1216443003890B1219);
}
public function A1216443003890B1426():Boolean{
return (contains(A1216443003890B935));
}
private function A1216443003890B904(_arg1:A1216443003875B104):void{
_arg1.A1216443003875B505("Now click which city to move to.");
}
public function A1216443003875B207(_arg1){
if (_arg1.A1216443003890B1010() == A1216443003890B1253.A1216443003890B806){
if ((((((((((((A1216443003875B405 == A1216443003890B1098)) || ((A1216443003875B405 == A1216443003890B831)))) || ((A1216443003875B405 == A1216443003875B444)))) || ((A1216443003875B405 == A1216443003890B883)))) || ((A1216443003875B405 == A1216443003890B855)))) || ((A1216443003875B405 == A1216443003890B1391)))){
removeChild(_arg1.A1216443003890B1034());
if (--A1216443003875B249 == 0){
A1216443003890B1008.A1216443003890B953().A1216443003890B866(_arg1.A1216443003890B1034());
A1216443003875B231();
A1216443003875B356();
} else {
if (A1216443003875B249 < 0){
};
};
} else {
if ((((((A1216443003875B405 == A1216443003875B106)) || ((A1216443003875B405 == A1216443003890B1058)))) || ((A1216443003875B405 == A1216443003875B588)))){
removeChild(A1216443003875B206);
if (--A1216443003875B249 == 0){
A1216443003890B754(A1216443003890B1008, A1216443003875B555);
} else {
if (A1216443003875B249 < 0){
};
};
} else {
if (_arg1.A1216443003890B1034() == A1216443003875B206){
A1216443003875B356();
};
};
};
};
}
private function A1216443003890B1321(){
return (contains(A1216443003890B1219));
}
override protected function A1216443003875B572():A1216443003890B1351{
return (A1216443003890B960.A1216443003875B572());
}
public function A1216443003875B574(_arg1:A1216443003890B1258){
A1216443003890B1355.x = _arg1.A1216443003890B1023().x;
A1216443003890B1355.y = _arg1.A1216443003890B1023().y;
A1216443003875B404.graphics.clear();
A1216443003890B1008.A1216443003875B15(A1216443003875B404.graphics);
A1216443003890B1008.A1216443003890B1310(A1216443003875B404.graphics);
if (_arg1.A1216443003890B1401() == false){
A1216443003890B1165.x = _arg1.A1216443003890B700().x;
A1216443003890B1165.y = _arg1.A1216443003890B700().y;
A1216443003890B1165.A1216443003890B1453(_arg1.A1216443003890B953());
addChild(A1216443003890B1165);
if (contains(A1216443003890B935)){
setChildIndex(A1216443003890B935, (numChildren - 1));
};
} else {
removeChild(A1216443003890B1165);
};
}
private function A1216443003875B212(_arg1:A1216443003890B1099):String{
if (_arg1.A1216443003890B1251() == true){
if (_arg1.A1216443003890B1027().A1216443003890B1404() == 0){
_arg1.A1216443003890B769(false);
if (_arg1.A1216443003890B1328() != A1216443003875B553.A1216443003890B1328()){
A1216443003890B960.A1216443003890B925.score = (A1216443003890B960.A1216443003890B925.score + 20000);
};
return ((_arg1.A1216443003875B659() + " has been wiped from existance."));
};
};
return ("");
}
public function A1216443003890B1207(_arg1:Event){
if ((((A1216443003875B405 == A1216443003890B736)) || ((A1216443003875B405 == A1216443003890B998)))){
A1216443003890B845(null);
} else {
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003875B339.play();
};
if (A1216443003890B1219.A1216443003890B1131()){
A1216443003890B1219.A1216443003875B684();
} else {
A1216443003890B1219.A1216443003890B856();
A1216443003890B1396();
A1216443003875B231();
A1216443003875B356();
};
};
}
protected function A1216443003890B1322():void{
this.removeChild(A1216443003875B275);
}
private function A1216443003890B910(_arg1:A1216443003875B104):void{
A1216443003875B162("Congratulations , victory is yours!\nWith the last remaining clans disbanded or destroyed , you have successfully united the lands.");
}
private function A1216443003890B914(){
A1216443003890B1219.A1216443003875B684();
addChild(A1216443003890B1219);
A1216443003890B1219.A1216443003875B36().addEventListener(MouseEvent.MOUSE_UP, A1216443003890B1207);
A1216443003890B1219.A1216443003890B1280().addEventListener(MouseEvent.MOUSE_UP, A1216443003875B262);
}
public function A1216443003875B443(_arg1:Event){
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003875B339.play();
};
if (A1216443003875B405 >= A1216443003875B407){
} else {
A1216443003890B1085();
A1216443003875B540();
A1216443003875B405 = A1216443003890B946;
A1216443003875B97();
A1216443003890B1399();
};
}
public function A1216443003875B687(_arg1:Event){
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003875B339.play();
};
A1216443003875B253();
}
public function deactivate():void{
A1216443003890B1243.removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B869);
A1216443003890B1332.removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B486);
if (A1216443003875B509 == true){
A1216443003875B471();
A1216443003875B163();
A1216443003875B515();
A1216443003890B960.A1216443003890B1397().A1216443003890B1324("GFX_Q", this);
};
removeChild(A1216443003875B92);
A1216443003890B1396();
A1216443003890B1169();
removeChild(A1216443003890B1352);
A1216443003890B1352 = null;
}
override protected function A1216443003875B460():void{
A1216443003890B1355.rotation = (A1216443003890B1355.rotation + 1);
if (A1216443003890B1355.rotation > 360){
A1216443003890B1355.rotation = (A1216443003890B1355.rotation - 360);
};
A1216443003890B1355.scaleX = (A1216443003890B1355.scaleX + A1216443003875B177);
A1216443003890B1355.scaleY = (A1216443003890B1355.scaleY + A1216443003875B177);
if (A1216443003875B177 < 0){
if (A1216443003890B1355.scaleX < 0.5){
A1216443003875B177 = 0.01;
};
} else {
if (A1216443003890B1355.scaleX > 1){
A1216443003875B177 = -0.01;
};
};
}
public function A1216443003875B108():void{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:Number;
A1216443003890B960.A1216443003890B925.A1216443003875B108();
A1216443003875B553 = A1216443003890B960.A1216443003890B925.A1216443003890B1032();
A1216443003875B520 = A1216443003890B960.A1216443003890B925.A1216443003890B733();
A1216443003875B209 = A1216443003890B960.A1216443003890B925.A1216443003875B607();
A1216443003890B1372 = A1216443003890B960.A1216443003890B925.A1216443003890B1365();
A1216443003890B1123.A1216443003890B742(A1216443003890B1372);
A1216443003890B1123.A1216443003890B983(A1216443003875B209);
A1216443003890B1123.A1216443003890B1194(A1216443003890B1372);
_local1 = Math.round(((A1216443003875B520.A1216443003890B1333() / A1216443003875B319.A1216443003875B482()) * 100));
_local2 = Math.round(((A1216443003890B1372.A1216443003890B1333() / A1216443003875B319.A1216443003875B482()) * 100));
_local3 = Math.round(((A1216443003875B209.A1216443003890B1333() / A1216443003875B319.A1216443003875B482()) * 100));
_local4 = (((100 - _local1) - _local2) - _local3);
A1216443003890B1123.A1216443003890B1363(_local1, _local4, _local3, _local2);
A1216443003875B583.text = A1216443003875B553.A1216443003890B1007().toString();
A1216443003890B1008 = null;
A1216443003875B206 = null;
this.A1216443003890B1085();
this.A1216443003890B1322();
this.A1216443003875B540();
removeChild(A1216443003890B1165);
A1216443003875B404.graphics.clear();
A1216443003890B1355.x = -10000;
A1216443003875B236(A1216443003890B1219);
}
public function A1216443003875B471():void{
A1216443003875B275.A1216443003890B1168().removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B991);
A1216443003875B275.A1216443003875B595().removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B773);
A1216443003875B275.A1216443003890B1402().removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B1368);
}
public function A1216443003890B1347(){
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003890B985.play();
};
}
public function A1216443003875B117(_arg1:A1216443003875B513){
var _local2:int;
_local2 = _arg1.A1216443003875B489();
if (_arg1.A1216443003890B772() == true){
if (_local2 == A1216443003875B513.A1216443003890B816){
A1216443003890B960.A1216443003890B925.score = (A1216443003890B960.A1216443003890B925.score + _arg1.A1216443003875B340());
} else {
if (_local2 == A1216443003875B513.A1216443003890B1016){
_arg1.A1216443003890B728().A1216443003890B953().A1216443003890B866(A1216443003875B206);
A1216443003890B960.A1216443003890B925.score = (A1216443003890B960.A1216443003890B925.score - _arg1.A1216443003875B340());
} else {
if (_local2 == A1216443003875B513.A1216443003890B993){
_arg1.A1216443003890B1276().A1216443003890B1341().A1216443003890B953().A1216443003890B866(_arg1.A1216443003890B1276().A1216443003890B953());
A1216443003890B1211(_arg1.A1216443003890B1276(), A1216443003875B206.A1216443003890B992());
A1216443003890B960.A1216443003890B925.score = (A1216443003890B960.A1216443003890B925.score + _arg1.A1216443003875B340());
} else {
if (_local2 == A1216443003875B513.A1216443003890B1084){
A1216443003890B1211(_arg1.A1216443003890B1276(), A1216443003875B206.A1216443003890B992());
A1216443003890B960.A1216443003890B925.score = (A1216443003890B960.A1216443003890B925.score + _arg1.A1216443003875B340());
} else {
if (_local2 == A1216443003875B513.A1216443003890B729){
A1216443003890B1211(_arg1.A1216443003890B1276(), A1216443003875B206.A1216443003890B992());
A1216443003890B960.A1216443003890B925.score = (A1216443003890B960.A1216443003890B925.score + _arg1.A1216443003875B340());
};
};
};
};
};
} else {
if (_local2 == A1216443003875B513.A1216443003890B816){
A1216443003890B1211(_arg1.A1216443003890B1276(), A1216443003875B206.A1216443003890B992());
A1216443003890B960.A1216443003890B925.score = (A1216443003890B960.A1216443003890B925.score + _arg1.A1216443003875B340());
} else {
if (_local2 == A1216443003875B513.A1216443003890B1016){
_arg1.A1216443003890B728().A1216443003890B953().A1216443003890B866(A1216443003875B206);
A1216443003890B960.A1216443003890B925.score = (A1216443003890B960.A1216443003890B925.score + _arg1.A1216443003875B340());
} else {
if (_local2 == A1216443003875B513.A1216443003890B993){
_arg1.A1216443003890B1276().A1216443003890B1341().A1216443003890B953().A1216443003890B866(_arg1.A1216443003890B1276().A1216443003890B953());
A1216443003890B1211(_arg1.A1216443003890B1276(), A1216443003875B206.A1216443003890B992());
A1216443003890B960.A1216443003890B925.score = (A1216443003890B960.A1216443003890B925.score + _arg1.A1216443003875B340());
} else {
if (_local2 == A1216443003875B513.A1216443003890B1084){
A1216443003890B960.A1216443003890B925.score = (A1216443003890B960.A1216443003890B925.score + _arg1.A1216443003875B340());
} else {
if (_local2 == A1216443003875B513.A1216443003890B729){
A1216443003890B1211(_arg1.A1216443003890B1276(), A1216443003875B206.A1216443003890B992());
A1216443003890B960.A1216443003890B925.score = (A1216443003890B960.A1216443003890B925.score - _arg1.A1216443003875B340());
};
};
};
};
};
};
activate();
}
public function A1216443003890B1225():void{
A1216443003875B323.A1216443003890B1428().addEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B300);
A1216443003875B323.A1216443003890B1173().addEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B1416);
A1216443003875B323.A1216443003890B1407().addEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B112);
}
public function A1216443003875B119():void{
A1216443003875B275.A1216443003890B1168().addEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B991);
A1216443003875B275.A1216443003875B595().addEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B773);
A1216443003875B275.A1216443003890B1402().addEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B1368);
}
public function A1216443003890B934(_arg1:Event):void{
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003875B339.play();
};
if (A1216443003890B995.A1216443003890B1394() == 0){
A1216443003890B732("NO MEMBERS");
} else {
if ((((((A1216443003875B634 == true)) || ((A1216443003875B405 == A1216443003875B569)))) || ((A1216443003875B405 == A1216443003875B670)))){
} else {
A1216443003875B540();
if (A1216443003875B405 == A1216443003890B765){
A1216443003875B356();
} else {
if (A1216443003875B405 == A1216443003890B1386){
A1216443003875B356();
} else {
A1216443003875B443(null);
};
};
};
};
}
private function A1216443003890B1211(_arg1:A1216443003890B1258, _arg2:A1216443003875B148):void{
_arg1.A1216443003890B1453(_arg2);
A1216443003875B548(_arg1.A1216443003890B1102(), _arg2.A1216443003890B1102(), A1216443003875B520);
A1216443003875B548(_arg1.A1216443003890B1102(), _arg2.A1216443003890B1102(), A1216443003890B1372);
A1216443003875B548(_arg1.A1216443003890B1102(), _arg2.A1216443003890B1102(), A1216443003875B553);
A1216443003875B548(_arg1.A1216443003890B1102(), _arg2.A1216443003890B1102(), A1216443003875B209);
if (_arg2.A1216443003890B1102().A1216443003890B1328() == A1216443003875B553.A1216443003890B1328()){
A1216443003890B960.A1216443003890B925.score = (A1216443003890B960.A1216443003890B925.score + 500);
A1216443003890B1008 = _arg1;
};
}
public function A1216443003875B231():void{
var _local1:A1216443003890B1258;
var _local2:A1216443003890B1329;
if (((!(A1216443003890B1321())) && (!(A1216443003890B1426())))){
_local2 = A1216443003875B319.A1216443003890B1300().A1216443003890B880();
removeChild(A1216443003890B1352);
A1216443003890B1352 = null;
A1216443003890B1352 = new MovieClip();
this.addChild(A1216443003890B1352);
while (_local2.A1216443003890B1366()) {
_local1 = _local2.A1216443003875B331();
if (_local1.A1216443003890B1401() == false){
A1216443003890B1352.addChild(_local1.A1216443003890B953());
};
};
if (contains(A1216443003890B1165)){
if (contains(A1216443003890B935)){
setChildIndex(A1216443003890B1165, (numChildren - 2));
setChildIndex(A1216443003890B935, (numChildren - 1));
} else {
setChildIndex(A1216443003890B1165, (numChildren - 1));
};
} else {
if (contains(A1216443003890B935)){
setChildIndex(A1216443003890B935, (numChildren - 1));
};
};
};
}
public function A1216443003875B112(_arg1:Event){
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003875B339.play();
};
removeChild(A1216443003875B323);
A1216443003875B405 = A1216443003875B479;
A1216443003875B231();
}
public function A1216443003875B356():void{
var _local1:A1216443003890B1258;
var _local2:int;
if (A1216443003875B405 == A1216443003890B998){
A1216443003890B845(null);
} else {
if (A1216443003875B405 == A1216443003890B736){
A1216443003890B845(null);
} else {
if (A1216443003875B405 == A1216443003875B597){
A1216443003890B1352.removeChild(A1216443003875B206);
A1216443003890B940(A1216443003875B628);
A1216443003890B1399();
} else {
if (A1216443003875B405 == A1216443003890B1291){
A1216443003890B1352.removeChild(A1216443003875B206);
A1216443003875B394(A1216443003875B628);
} else {
if (A1216443003875B405 == A1216443003890B765){
A1216443003875B405 = A1216443003875B165;
A1216443003875B206 = A1216443003890B995.A1216443003875B368();
A1216443003875B528(null);
A1216443003890B732("WHICH ZONE TO MOVE TO?");
if (A1216443003890B960.A1216443003890B925.A1216443003875B362 == false){
A1216443003890B960.A1216443003890B925.A1216443003875B362 = true;
A1216443003875B405 = A1216443003875B350;
A1216443003890B904(A1216443003890B1219);
A1216443003890B914();
};
} else {
if (A1216443003875B405 == A1216443003890B1386){
A1216443003875B405 = A1216443003890B1340;
A1216443003875B206 = A1216443003890B995.A1216443003875B368();
A1216443003875B528(null);
A1216443003890B732("WHICH ZONE TO ATTACK?");
if (A1216443003890B960.A1216443003890B925.A1216443003875B362 == false){
A1216443003890B960.A1216443003890B925.A1216443003875B362 = true;
A1216443003875B405 = A1216443003875B589;
A1216443003890B1264(A1216443003890B1219);
A1216443003890B914();
};
} else {
if (A1216443003875B405 == A1216443003875B165){
A1216443003875B405 = A1216443003875B597;
A1216443003890B1085();
A1216443003875B125(A1216443003875B628);
A1216443003890B732("MOVING...");
} else {
if (A1216443003875B405 == A1216443003890B1340){
A1216443003875B405 = A1216443003890B1291;
A1216443003890B1085();
A1216443003875B125(A1216443003875B628);
A1216443003890B732("ATTACKING...");
} else {
if (A1216443003875B405 == A1216443003890B1098){
_local1 = A1216443003890B770.A1216443003890B997();
if (_local1 == null){
A1216443003875B405 = A1216443003890B831;
A1216443003875B356();
} else {
A1216443003875B507(_local1, A1216443003890B1314.A1216443003890B997(), A1216443003875B520);
};
} else {
if (A1216443003875B405 == A1216443003890B831){
_local1 = A1216443003875B357.A1216443003890B997();
if (_local1 == null){
A1216443003875B405 = A1216443003875B106;
A1216443003875B356();
} else {
_local2 = ((1 + _local1.A1216443003890B953().A1216443003875B199()) + _local1.A1216443003890B953().A1216443003875B199());
A1216443003875B507(_local1, ((Math.random() * _local2) + 8), A1216443003875B520);
};
} else {
if (A1216443003875B405 == A1216443003875B106){
_local1 = A1216443003890B796.A1216443003890B997();
if (_local1 == null){
A1216443003875B405 = A1216443003875B444;
A1216443003875B697 = A1216443003875B209;
A1216443003875B209.A1216443003890B1182();
A1216443003875B231();
A1216443003890B770 = A1216443003875B209.A1216443003875B188();
A1216443003890B1314 = A1216443003875B209.A1216443003875B77();
A1216443003875B357 = A1216443003875B209.A1216443003890B835();
A1216443003890B796 = A1216443003875B209.A1216443003890B1018();
A1216443003875B356();
} else {
A1216443003875B640(_local1);
};
} else {
if (A1216443003875B405 == A1216443003875B444){
_local1 = A1216443003890B770.A1216443003890B997();
if (_local1 == null){
A1216443003875B405 = A1216443003890B883;
A1216443003875B356();
} else {
A1216443003875B507(_local1, A1216443003890B1314.A1216443003890B997(), A1216443003875B209);
};
} else {
if (A1216443003875B405 == A1216443003890B883){
_local1 = A1216443003875B357.A1216443003890B997();
if (_local1 == null){
A1216443003875B405 = A1216443003890B1058;
A1216443003875B356();
} else {
_local2 = ((1 + _local1.A1216443003890B953().A1216443003875B199()) + _local1.A1216443003890B953().A1216443003875B199());
A1216443003875B507(_local1, ((Math.random() * _local2) + 8), A1216443003875B209);
};
} else {
if (A1216443003875B405 == A1216443003890B1058){
_local1 = A1216443003890B796.A1216443003890B997();
if (_local1 == null){
A1216443003875B405 = A1216443003890B855;
A1216443003875B697 = A1216443003890B1372;
A1216443003890B1372.A1216443003890B1182();
A1216443003875B231();
A1216443003890B770 = A1216443003890B1372.A1216443003875B188();
A1216443003890B1314 = A1216443003890B1372.A1216443003875B77();
A1216443003875B357 = A1216443003890B1372.A1216443003890B835();
A1216443003890B796 = A1216443003890B1372.A1216443003890B1018();
A1216443003875B356();
} else {
A1216443003875B640(_local1);
};
} else {
if (A1216443003875B405 == A1216443003890B855){
_local1 = A1216443003890B770.A1216443003890B997();
if (_local1 == null){
A1216443003875B405 = A1216443003890B1391;
A1216443003875B356();
} else {
A1216443003875B507(_local1, A1216443003890B1314.A1216443003890B997(), A1216443003890B1372);
};
} else {
if (A1216443003875B405 == A1216443003890B1391){
_local1 = A1216443003875B357.A1216443003890B997();
if (_local1 == null){
A1216443003875B405 = A1216443003875B588;
A1216443003875B356();
} else {
_local2 = ((1 + _local1.A1216443003890B953().A1216443003875B199()) + _local1.A1216443003890B953().A1216443003875B199());
A1216443003875B507(_local1, ((Math.random() * _local2) + 8), A1216443003890B1372);
};
} else {
if (A1216443003875B405 == A1216443003875B588){
_local1 = A1216443003890B796.A1216443003890B997();
if (_local1 == null){
A1216443003875B405 = A1216443003890B946;
A1216443003890B1349();
A1216443003890B1399();
} else {
A1216443003875B640(_local1);
};
} else {
if (A1216443003875B405 == A1216443003875B407){
activate();
} else {
if (A1216443003875B405 == A1216443003875B23){
A1216443003875B405 = A1216443003890B946;
} else {
if (A1216443003875B405 == A1216443003875B569){
A1216443003875B405 = A1216443003890B765;
} else {
if (A1216443003875B405 == A1216443003875B670){
A1216443003875B405 = A1216443003890B1386;
} else {
if (A1216443003875B405 == A1216443003875B350){
A1216443003875B405 = A1216443003875B165;
} else {
if (A1216443003875B405 == A1216443003875B589){
A1216443003875B405 = A1216443003890B1340;
} else {
if (A1216443003875B405 == A1216443003875B258){
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
}
private function A1216443003875B236(_arg1:A1216443003875B104):void{
_arg1.A1216443003890B856();
_arg1.A1216443003875B505("This is the world map.\nYou are the Red Faction.\nYou can command your forces from here.\nYour goal is to unite the lands and purge the enemy clans.");
_arg1.A1216443003875B505("Each area has a value associated with it. The more neighbors it has , the more it is worth.");
_arg1.A1216443003875B505("Each turn you will gain money equivalent to how much value you control. The percentage of map owned by each clan is shown in the bottom right");
_arg1.A1216443003875B505("Earn points by conquering cities. The more epic the battle , the more points you will earn!");
}
protected function A1216443003890B1354(_arg1:int, _arg2:int):A1216443003890B1258{
var _local3:Boolean;
var _local4:*;
var _local5:A1216443003890B1329;
if (((!(A1216443003890B1321())) && (!(A1216443003890B1426())))){
_local3 = false;
_local4 = null;
_local5 = A1216443003875B319.A1216443003890B1300().A1216443003890B880();
while (_local5.A1216443003890B1366()) {
_local4 = _local5.A1216443003875B331();
if (_local4.hitTest(_arg1, _arg2)){
_local3 = true;
break;
};
};
if (_local3 == true){
return (_local4);
};
return (null);
};
return (null);
}
public function A1216443003875B486(_arg1:Event){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.bigfishgames.com/online-games/?src= nimjaclanquest&afcode=af237c4e57b1");
navigateToURL(_local2);
}
public function A1216443003875B125(_arg1:A1216443003890B1258):void{
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003875B421.play();
};
A1216443003890B1008.A1216443003890B953().A1216443003875B65(A1216443003875B206);
if (A1216443003890B1008.A1216443003890B1401()){
A1216443003890B1352.removeChild(A1216443003890B1008.A1216443003890B953());
A1216443003890B1008.A1216443003890B1453(null);
};
A1216443003890B1352.addChild(A1216443003875B206);
new A1216443003890B1430(A1216443003875B206, _arg1.A1216443003890B1023().x, _arg1.A1216443003890B1023().y, A1216443003890B1190.A1216443003875B665);
}
public function A1216443003890B940(_arg1:A1216443003890B1258):void{
if (_arg1.A1216443003890B1401() == true){
_arg1.A1216443003890B953().A1216443003890B866(A1216443003875B206);
A1216443003890B1352.addChild(_arg1.A1216443003890B953());
} else {
_arg1.A1216443003890B953().A1216443003890B866(A1216443003875B206);
};
_arg1.A1216443003890B953().A1216443003875B152(true);
A1216443003875B231();
}
private function A1216443003890B1349():void{
var _local1:A1216443003890B1329;
var _local2:A1216443003890B1258;
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Number;
A1216443003875B520.A1216443003890B1115((A1216443003875B520.A1216443003890B1007() + A1216443003875B520.A1216443003890B1333()));
A1216443003875B209.A1216443003890B1115((A1216443003875B209.A1216443003890B1007() + A1216443003875B209.A1216443003890B1333()));
A1216443003890B1372.A1216443003890B1115((A1216443003890B1372.A1216443003890B1007() + A1216443003890B1372.A1216443003890B1333()));
A1216443003875B553.A1216443003890B1115((A1216443003875B553.A1216443003890B1007() + A1216443003875B553.A1216443003890B1333()));
A1216443003890B960.A1216443003890B925.A1216443003875B345(SharedObject.getLocal(A1216443003890B960.A1216443003890B1203));
if (A1216443003875B553.A1216443003890B1027().A1216443003890B1404() == 0){
A1216443003875B302();
} else {
if (A1216443003875B553.A1216443003890B1027().A1216443003890B1404() == 18){
A1216443003890B960.A1216443003890B925.score = (A1216443003890B960.A1216443003890B925.score + 50000);
A1216443003890B999();
} else {
_local1 = A1216443003875B553.A1216443003890B1027().A1216443003890B880();
while (_local1.A1216443003890B1366()) {
_local2 = _local1.A1216443003875B331();
if (_local2.A1216443003890B1401() == false){
_local2.A1216443003890B953().A1216443003875B152(false);
};
};
_local3 = Math.round(((A1216443003875B520.A1216443003890B1333() / A1216443003875B319.A1216443003875B482()) * 100));
_local4 = Math.round(((A1216443003890B1372.A1216443003890B1333() / A1216443003875B319.A1216443003875B482()) * 100));
_local5 = Math.round(((A1216443003875B209.A1216443003890B1333() / A1216443003875B319.A1216443003875B482()) * 100));
_local6 = (((100 - _local3) - _local4) - _local5);
A1216443003890B1123.A1216443003890B1363(_local3, _local6, _local5, _local4);
A1216443003890B1123.A1216443003890B742(A1216443003890B864(A1216443003875B520.A1216443003875B234()));
A1216443003890B1123.A1216443003890B983(A1216443003890B864(A1216443003890B1372.A1216443003875B234()));
A1216443003890B1123.A1216443003890B1194(A1216443003890B864(A1216443003875B209.A1216443003875B234()));
A1216443003875B520.A1216443003875B38();
A1216443003875B209.A1216443003875B38();
A1216443003890B1372.A1216443003875B38();
A1216443003890B961();
A1216443003875B583.text = A1216443003875B553.A1216443003890B1007().toString();
A1216443003875B541.text = ("SCORE:" + A1216443003890B960.A1216443003890B925.score);
};
};
}
public function A1216443003875B248(_arg1:Event){
if ((((A1216443003875B405 == A1216443003890B998)) || ((A1216443003875B405 == A1216443003890B736)))){
A1216443003890B845(null);
};
if ((((((((A1216443003875B634 == false)) && (!((A1216443003875B405 == A1216443003875B40))))) && (!(A1216443003890B1321())))) && (!(A1216443003890B1426())))){
this.A1216443003890B1322();
this.A1216443003875B540();
this.A1216443003890B1085();
A1216443003875B697 = A1216443003875B520;
A1216443003875B520.A1216443003890B1182();
A1216443003875B231();
A1216443003890B770 = A1216443003875B520.A1216443003875B188();
A1216443003890B1314 = A1216443003875B520.A1216443003875B77();
A1216443003875B357 = A1216443003875B520.A1216443003890B835();
A1216443003890B796 = A1216443003875B520.A1216443003890B1018();
removeChild(A1216443003875B92);
A1216443003875B405 = A1216443003890B1098;
A1216443003875B356();
};
}
public function A1216443003875B76():A1216443003890B1258{
var _local1:A1216443003890B1329;
var _local2:A1216443003890B1258;
_local1 = A1216443003875B319.A1216443003890B1300().A1216443003890B880();
while (_local1.A1216443003890B1366()) {
_local2 = _local1.A1216443003875B331();
if (_local2.A1216443003890B1102() == A1216443003875B553){
return (_local2);
};
};
return (null);
}
public function A1216443003875B253():void{
A1216443003875B634 = false;
removeChild(A1216443003890B1024);
A1216443003890B1024.A1216443003875B28().removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B687);
A1216443003890B1024.A1216443003875B301().removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B845);
}
protected function A1216443003890B1368(_arg1:Event):void{
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003875B339.play();
};
if (A1216443003875B634 == false){
if (A1216443003875B405 == A1216443003890B946){
A1216443003890B1322();
A1216443003875B404.graphics.clear();
if (A1216443003890B1008 != null){
if (A1216443003890B1008.A1216443003875B320() == true){
A1216443003875B405 = A1216443003890B1386;
removeChild(A1216443003890B1165);
A1216443003890B1008.A1216443003875B15(A1216443003875B404.graphics);
A1216443003890B1164(A1216443003890B1008.A1216443003890B953());
A1216443003890B732("HOW MANY?");
if (A1216443003890B960.A1216443003890B925.A1216443003875B147 == false){
A1216443003890B960.A1216443003890B925.A1216443003875B147 = true;
A1216443003875B405 = A1216443003875B670;
A1216443003890B1172(A1216443003890B1219);
A1216443003890B914();
};
};
};
};
};
}
protected function A1216443003875B97():void{
var _local1:A1216443003890B1099;
if (A1216443003890B1008 != null){
if (A1216443003890B1008.A1216443003890B1102() == A1216443003875B553){
if (A1216443003890B1008.A1216443003890B953().A1216443003890B922() == false){
A1216443003875B275.A1216443003890B817();
if ((((A1216443003890B1008.A1216443003875B389() == false)) || ((A1216443003890B1008.A1216443003890B1401() == true)))){
A1216443003875B275.A1216443003890B712();
} else {
A1216443003875B275.A1216443003890B984();
};
if ((((A1216443003890B1008.A1216443003875B320() == false)) || ((A1216443003890B1008.A1216443003890B1401() == true)))){
A1216443003875B275.A1216443003890B786();
} else {
A1216443003875B275.A1216443003890B1198();
};
} else {
A1216443003875B275.A1216443003875B433();
};
_local1 = A1216443003890B1008.A1216443003890B1102();
if ((((_local1.A1216443003890B1007() < _local1.A1216443003875B493())) && ((_local1.A1216443003890B1007() < _local1.A1216443003890B1429())))){
A1216443003875B275.A1216443003875B643();
} else {
A1216443003875B275.A1216443003890B1003();
};
} else {
A1216443003875B275.A1216443003875B643();
A1216443003875B275.A1216443003890B786();
A1216443003875B275.A1216443003890B712();
A1216443003875B275.A1216443003890B817();
};
};
this.addChild(A1216443003875B275);
}
override public function removeChild(_arg1:DisplayObject):DisplayObject{
if (((!((_arg1 == null))) && (this.contains(_arg1)))){
return (super.removeChild(_arg1));
};
return (null);
}
private function A1216443003890B845(_arg1:Event):void{
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003875B339.play();
};
if (A1216443003875B405 == A1216443003890B998){
A1216443003890B960.A1216443003875B605.A1216443003890B1385(A1216443003890B960.A1216443003875B376, A1216443003890B960.A1216443003890B929, null);
} else {
if (A1216443003890B960.A1216443003890B925.score > 0){
A1216443003890B960.A1216443003875B605.A1216443003890B1385(A1216443003890B960.A1216443003875B376, A1216443003890B960.A1216443003890B1044, null);
} else {
A1216443003890B960.A1216443003875B605.A1216443003890B1385(A1216443003890B960.A1216443003875B376, A1216443003890B960.A1216443003890B1226, null);
};
};
}
private function A1216443003875B261(_arg1:A1216443003875B104):void{
A1216443003875B162("You have been wiped out of existance. Perhaps you would like to turn back time and try again?");
}
public function A1216443003875B262(_arg1:Event){
if ((((A1216443003875B405 == A1216443003890B736)) || ((A1216443003875B405 == A1216443003890B998)))){
A1216443003890B845(null);
} else {
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003875B339.play();
};
A1216443003890B960.A1216443003890B925.A1216443003890B938();
A1216443003890B1219.A1216443003890B856();
A1216443003890B1396();
A1216443003875B231();
A1216443003875B356();
};
}
public function activate():void{
var _local1:*;
A1216443003875B541.text = ("SCORE:" + A1216443003890B960.A1216443003890B925.score);
if ((((A1216443003875B405 == A1216443003890B736)) || ((A1216443003875B405 == A1216443003890B998)))){
A1216443003875B405 = A1216443003890B946;
};
A1216443003875B509 = false;
addChild(A1216443003875B92);
A1216443003875B253();
A1216443003890B1243.addEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B869);
A1216443003890B1332.addEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B486);
_local1 = A1216443003875B556.A1216443003890B1397().A1216443003890B1119("KEYBOARD_Q");
while (_local1 != null) {
_local1 = A1216443003875B556.A1216443003890B1397().A1216443003890B1119("KEYBOARD_Q");
};
if (A1216443003875B553.A1216443003890B1027().A1216443003890B1404() == 0){
A1216443003875B302();
} else {
if (A1216443003875B553.A1216443003890B1027().A1216443003890B1404() == 18){
A1216443003890B960.A1216443003890B925.score = (A1216443003890B960.A1216443003890B925.score + 50000);
A1216443003890B999();
} else {
A1216443003875B231();
if (A1216443003890B960.A1216443003890B925.A1216443003890B877 == false){
A1216443003875B405 = A1216443003875B407;
A1216443003875B236(A1216443003890B1219);
A1216443003890B914();
A1216443003890B960.A1216443003890B925.A1216443003890B877 = true;
} else {
A1216443003875B509 = true;
A1216443003875B119();
A1216443003890B1225();
A1216443003890B1073();
A1216443003890B960.A1216443003890B1397().A1216443003875B561("GFX_Q", this);
if (((A1216443003890B1290()) || (((!((A1216443003890B796 == null))) && ((A1216443003890B796.A1216443003890B1404() > 0)))))){
A1216443003875B356();
} else {
A1216443003890B1399();
};
};
};
};
A1216443003875B583.text = A1216443003875B553.A1216443003890B1007().toString();
}
private function A1216443003890B1264(_arg1:A1216443003875B104):void{
_arg1.A1216443003875B505("Now click which city to attack");
}
private function A1216443003890B732(_arg1:String){
A1216443003875B94.text = _arg1;
}
public function A1216443003875B394(_arg1:A1216443003890B1258):void{
var _local2:A1216443003875B148;
A1216443003875B206.A1216443003875B152(true);
if (A1216443003890B1008.A1216443003890B1401() == false){
A1216443003890B1008.A1216443003890B953().A1216443003875B152(true);
};
if (_arg1.A1216443003890B1401()){
_local2 = A1216443003875B206.A1216443003890B992();
_arg1.A1216443003890B1453(_local2);
A1216443003875B231();
A1216443003890B1399();
} else {
A1216443003890B1135.A1216443003890B1231(A1216443003875B206);
A1216443003890B1135.A1216443003875B167(A1216443003890B1008);
A1216443003890B1135.A1216443003890B778(true);
A1216443003890B1135.A1216443003890B1185(_arg1.A1216443003890B953());
A1216443003890B1135.A1216443003890B1054(_arg1);
A1216443003890B960.A1216443003875B605.A1216443003890B1385(A1216443003890B960.A1216443003875B376, A1216443003890B960.A1216443003890B1205, A1216443003890B1135);
};
}
private function A1216443003890B970(_arg1:A1216443003875B104):void{
_arg1.A1216443003875B505("Now select how many fighters you want to move. Use the '-' to decrease and the '+' to increase the amount of fighters you want to send. You can also select the field and type in the number.");
}
private function A1216443003875B162(_arg1:String):void{
addChild(A1216443003890B935);
A1216443003890B935.A1216443003875B662(_arg1);
A1216443003875B9();
}
public function A1216443003875B163():void{
A1216443003875B92.removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B248);
}
public function A1216443003890B1399(){
if ((((A1216443003875B405 == A1216443003890B736)) || ((A1216443003875B405 == A1216443003890B998)))){
} else {
A1216443003890B1085();
if (A1216443003890B1008 != null){
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003875B339.play();
};
A1216443003875B574(A1216443003890B1008);
A1216443003875B97();
};
A1216443003890B732("SELECT A ZONE");
A1216443003875B405 = A1216443003890B946;
addChild(A1216443003875B92);
};
}
private function A1216443003890B961():void{
var _local1:String;
_local1 = A1216443003890B1123.A1216443003890B955();
_local1 = (_local1 + A1216443003875B212(A1216443003875B520));
_local1 = (_local1 + A1216443003875B212(A1216443003890B1372));
_local1 = (_local1 + A1216443003875B212(A1216443003875B553));
_local1 = (_local1 + A1216443003875B212(A1216443003875B209));
if (_local1 != ""){
A1216443003875B162(_local1);
A1216443003890B1123.A1216443003875B580();
};
}
public function A1216443003890B869(_arg1:Event){
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003875B339.play();
};
if (A1216443003875B634 == false){
addChild(A1216443003890B1024);
A1216443003875B634 = true;
A1216443003890B1024.A1216443003875B28().addEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B687);
A1216443003890B1024.A1216443003875B301().addEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B845);
} else {
A1216443003875B253();
};
}
private function A1216443003890B864(_arg1:int){
if (_arg1 == A1216443003890B1099.A1216443003890B1255){
return (A1216443003875B553);
};
if (_arg1 == A1216443003890B1099.A1216443003875B145){
return (A1216443003890B1372);
};
if (_arg1 == A1216443003890B1099.A1216443003875B539){
return (A1216443003875B520);
};
if (_arg1 == A1216443003890B1099.A1216443003890B1096){
return (A1216443003875B209);
};
}
private function A1216443003890B990(_arg1:A1216443003890B1099, _arg2):void{
if (_arg2.A1216443003890B1328() != _arg1.A1216443003890B1328()){
_arg2.A1216443003875B156(_arg1, (-1 + (Math.random() * 2)));
};
}
protected function A1216443003890B991(_arg1:Event):void{
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003875B339.play();
};
if (A1216443003875B405 == A1216443003890B946){
this.A1216443003890B1322();
A1216443003875B405 = A1216443003875B40;
A1216443003875B323.A1216443003890B1453(A1216443003890B1008.A1216443003890B953());
addChild(A1216443003875B323);
A1216443003890B732("SHOP");
};
}
protected function A1216443003890B1164(_arg1):void{
A1216443003890B995.A1216443003890B1453(_arg1);
A1216443003890B995.activate();
this.addChild(A1216443003890B995);
}
private function A1216443003890B994(_arg1:A1216443003890B1099):void{
A1216443003890B990(_arg1, A1216443003875B520);
A1216443003890B990(_arg1, A1216443003890B1372);
A1216443003890B990(_arg1, A1216443003875B553);
A1216443003890B990(_arg1, A1216443003875B209);
}
private function A1216443003890B1169():void{
removeChild(A1216443003890B935);
}
public function A1216443003890B757(_arg1:Event){
if ((((A1216443003875B405 == A1216443003890B736)) || ((A1216443003875B405 == A1216443003890B998)))){
A1216443003890B845(null);
} else {
A1216443003890B1169();
A1216443003890B791();
};
}
private function A1216443003890B754(_arg1:A1216443003890B1258, _arg2:A1216443003890B1258):void{
var _local3:A1216443003875B148;
var _local4:Number;
var _local5:Number;
_arg2.A1216443003890B1102().A1216443003875B156(_arg1.A1216443003890B1102(), 1);
if (_arg2.A1216443003890B1401()){
A1216443003890B1211(_arg2, A1216443003875B206.A1216443003890B992());
A1216443003875B231();
A1216443003875B574(_arg2);
A1216443003875B356();
} else {
if (_arg2.A1216443003890B1102().A1216443003890B1328() == A1216443003875B553.A1216443003890B1328()){
A1216443003890B1135.A1216443003890B1231(_arg2.A1216443003890B953());
A1216443003890B1135.A1216443003875B167(_arg1);
A1216443003890B1135.A1216443003890B778(false);
A1216443003890B1135.A1216443003890B1185(A1216443003875B206);
A1216443003890B1135.A1216443003890B1054(_arg2);
A1216443003890B960.A1216443003875B605.A1216443003890B1385(A1216443003890B960.A1216443003875B376, A1216443003890B960.A1216443003890B1205, A1216443003890B1135);
} else {
_local3 = _arg2.A1216443003890B953();
_local4 = ((_local3.A1216443003875B661() * 1.2) + A1216443003875B206.A1216443003875B661());
_local5 = (Math.random() * _local4);
if (_local5 > A1216443003875B206.A1216443003875B661()){
A1216443003890B994(_local3.A1216443003890B1102());
_local3.A1216443003890B1371((_local3.A1216443003875B199() - (A1216443003875B206.A1216443003875B199() * Math.random())));
_local3.A1216443003875B25((_local3.A1216443003875B103() - (A1216443003875B206.A1216443003875B103() * Math.random())));
A1216443003875B206.A1216443003890B1371(0);
A1216443003875B206.A1216443003875B25(0);
A1216443003875B231();
A1216443003875B356();
} else {
if (A1216443003875B206.A1216443003875B103() == 0){
A1216443003875B206.A1216443003890B1371(((A1216443003875B206.A1216443003875B199() - ((_local3.A1216443003875B199() * 1.1) * Math.random())) + 1));
} else {
if (A1216443003875B206.A1216443003875B199() == 0){
A1216443003875B206.A1216443003875B25(((A1216443003875B206.A1216443003875B103() - ((_local3.A1216443003875B103() * 1.1) * Math.random())) + 1));
} else {
A1216443003875B206.A1216443003890B1371(((A1216443003875B206.A1216443003875B199() - ((_local3.A1216443003875B199() * 1.1) * Math.random())) + 1));
A1216443003875B206.A1216443003875B25((A1216443003875B206.A1216443003875B103() - ((_local3.A1216443003875B103() * 1.1) * Math.random())));
};
};
A1216443003890B1211(_arg2, A1216443003875B206.A1216443003890B992());
A1216443003875B231();
A1216443003875B356();
};
};
};
}
private function A1216443003890B1396(){
removeChild(A1216443003890B1219);
A1216443003890B1219.A1216443003875B36().removeEventListener(MouseEvent.MOUSE_UP, A1216443003890B1207);
A1216443003890B1219.A1216443003890B1280().removeEventListener(MouseEvent.MOUSE_UP, A1216443003875B262);
}
private function A1216443003890B999():void{
A1216443003875B405 = A1216443003890B998;
A1216443003890B910(A1216443003890B1219);
}
private function A1216443003890B1172(_arg1:A1216443003875B104):void{
_arg1.A1216443003875B505("Now select how many fighters you want to attack with. Use the '-' to decrease and the '+' to increase the amount of fighters you want to send. You can also select the field and type in the number.");
}
private function A1216443003890B1290():Boolean{
return ((((((A1216443003875B405 == A1216443003875B106)) || ((A1216443003875B405 == A1216443003890B1058)))) || ((A1216443003875B405 == A1216443003875B588))));
}
override protected function A1216443003890B1299(_arg1:A1216443003890B1238):void{
if ((((_arg1.A1216443003890B1153 == true)) && ((A1216443003875B634 == false)))){
if (A1216443003875B405 == A1216443003890B946){
A1216443003875B628 = A1216443003890B1354(_arg1.x, _arg1.y);
if (A1216443003875B628 != null){
A1216443003890B1008 = A1216443003875B628;
};
A1216443003890B1399();
if (((((!((A1216443003875B628 == null))) && ((A1216443003875B628.A1216443003890B1102() == A1216443003875B553)))) && ((A1216443003890B960.A1216443003890B925.A1216443003890B811 == false)))){
A1216443003890B960.A1216443003890B925.A1216443003890B811 = true;
A1216443003875B648(A1216443003890B1219);
A1216443003890B914();
A1216443003875B405 = A1216443003875B23;
};
} else {
if (A1216443003875B405 == A1216443003875B165){
A1216443003875B628 = A1216443003890B1354(_arg1.x, _arg1.y);
if (((((!((A1216443003875B628 == null))) && ((A1216443003875B628.A1216443003890B1102() == A1216443003890B1008.A1216443003890B1102())))) && (A1216443003890B1008.A1216443003890B996(A1216443003875B628)))){
A1216443003875B356();
};
} else {
if (A1216443003875B405 == A1216443003890B1340){
A1216443003875B628 = A1216443003890B1354(_arg1.x, _arg1.y);
if (((((!((A1216443003875B628 == null))) && (!((A1216443003875B628.A1216443003890B1102() == A1216443003890B1008.A1216443003890B1102()))))) && (A1216443003890B1008.A1216443003890B851(A1216443003875B628)))){
A1216443003875B356();
};
} else {
if (A1216443003875B405 == A1216443003890B765){
} else {
if (A1216443003875B405 == A1216443003890B1386){
} else {
if (A1216443003875B405 == A1216443003875B40){
} else {
if (A1216443003875B405 == A1216443003875B479){
A1216443003890B1399();
};
};
};
};
};
};
};
};
}
private function A1216443003875B507(_arg1:A1216443003890B1258, _arg2:int, _arg3:A1216443003890B1099){
var _local4:A1216443003890B1329;
var _local5:A1216443003875B148;
A1216443003890B1008 = _arg1;
A1216443003875B574(A1216443003890B1008);
A1216443003890B1432 = _arg3.A1216443003875B550(_arg1, _arg2);
A1216443003875B574(A1216443003890B1008);
A1216443003875B249 = A1216443003890B1432.A1216443003890B1404();
_local4 = A1216443003890B1432.A1216443003890B880();
while (_local4.A1216443003890B1366()) {
_local5 = _local4.A1216443003875B331();
addChild(_local5);
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003875B421.play();
};
new A1216443003890B1430(_local5, _arg1.A1216443003890B1023().x, _arg1.A1216443003890B1023().y, A1216443003890B1190.A1216443003875B665);
};
if (A1216443003875B249 == 0){
A1216443003875B356();
};
}
protected function A1216443003890B773(_arg1:Event):void{
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003875B339.play();
};
if (A1216443003875B634 == false){
if (A1216443003875B405 == A1216443003890B946){
A1216443003890B1322();
A1216443003875B404.graphics.clear();
if (A1216443003890B1008 != null){
if (A1216443003890B1008.A1216443003875B389() == true){
A1216443003875B405 = A1216443003890B765;
removeChild(A1216443003890B1165);
A1216443003890B1008.A1216443003890B1310(A1216443003875B404.graphics);
A1216443003890B1164(A1216443003890B1008.A1216443003890B953());
A1216443003890B732("HOW MANY?");
if (A1216443003890B960.A1216443003890B925.A1216443003875B147 == false){
A1216443003890B960.A1216443003890B925.A1216443003875B147 = true;
A1216443003875B405 = A1216443003875B569;
A1216443003890B970(A1216443003890B1219);
A1216443003890B914();
};
};
};
};
};
}
public function A1216443003890B895(_arg1:Event){
A1216443003875B361 = true;
}
public function A1216443003875B515():void{
A1216443003875B323.A1216443003890B1428().removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B300);
A1216443003875B323.A1216443003890B1173().removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B1416);
A1216443003875B323.A1216443003890B1407().removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B112);
}
public function A1216443003890B1073():void{
A1216443003875B92.addEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B248);
}
protected function A1216443003875B528(_arg1):void{
this.addChild(A1216443003875B191);
}
private function A1216443003875B640(_arg1:A1216443003890B1258){
if (_arg1 == null){
A1216443003875B356();
} else {
A1216443003890B1008 = _arg1;
A1216443003875B574(A1216443003890B1008);
A1216443003875B555 = A1216443003875B697.A1216443003875B130(_arg1);
if (A1216443003875B555 == null){
A1216443003875B356();
} else {
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003875B421.play();
};
A1216443003875B206 = A1216443003875B697.A1216443003875B143(_arg1);
A1216443003875B249 = 1;
addChild(A1216443003875B206);
A1216443003875B555.A1216443003890B1023().x;
new A1216443003890B1430(A1216443003875B206, A1216443003875B555.A1216443003890B1023().x, A1216443003875B555.A1216443003890B1023().y, A1216443003890B1190.A1216443003875B665);
};
};
}
private function A1216443003890B791():void{
A1216443003890B935.A1216443003890B865().removeEventListener(MouseEvent.MOUSE_UP, A1216443003890B757);
}
protected function A1216443003890B1085():void{
this.removeChild(A1216443003875B191);
}
private function A1216443003875B648(_arg1:A1216443003875B104):void{
_arg1.A1216443003875B505("After clicking on a city you control , you will be presented the action menu , with the ability to add units , move or attack.");
_arg1.A1216443003875B505("Each group can only attack once on your turn , add as many units as you can afford and move as many units away from the city.");
_arg1.A1216443003875B505("However , if you move units , the city that gains the new units will lose the ability to attack for that turn.");
_arg1.A1216443003875B505("If there are no hostile cities around , the 'Attack Button' will not be shown.\nIf there are no friendly cities , the 'Move Button' will not be shown.\nWith insufficient funds , the 'Add Unit' button will not be shown.");
}
}
}//package com.jumbledmind.ninjainvasion.mapmodule
Section 77
//A1216443003875B529 (com.jumbledmind.ninjainvasion.mapmodule.A1216443003875B529)
package com.jumbledmind.ninjainvasion.mapmodule {
import flash.display.*;
import flash.text.*;
import com.jumbledmind.ninjainvasion.*;
public class A1216443003875B529 extends MovieClip {
private var A1216443003875B325:TextField;
public function A1216443003875B529(){
var _local1:A1216443003890B960;
super();
this.addChild(new GameTextMC());
_local1 = A1216443003890B960.A1216443003890B1397();
A1216443003875B325 = _local1.A1216443003890B1086(_local1.A1216443003890B930(), TextFieldAutoSize.NONE, 450);
A1216443003875B325.height = 180;
A1216443003875B325.x = 50;
A1216443003875B325.y = 0;
A1216443003875B325.wordWrap = true;
this.addChild(A1216443003875B325);
}
public function A1216443003875B662(_arg1:String):void{
A1216443003875B325.text = _arg1;
}
}
}//package com.jumbledmind.ninjainvasion.mapmodule
Section 78
//A1216443003875B614 (com.jumbledmind.ninjainvasion.mapmodule.A1216443003875B614)
package com.jumbledmind.ninjainvasion.mapmodule {
import flash.events.*;
import flash.display.*;
import flash.text.*;
import com.jumbledmind.games.util.*;
import com.jumbledmind.ninjainvasion.*;
public class A1216443003875B614 extends MovieClip {
private var A1216443003890B1162:A1216443003875B136;
private var A1216443003875B578:A1216443003875B136;
private var A1216443003875B230:A1216443003875B136;
private var A1216443003875B538:String;
public function A1216443003875B614(){
var _local1:A1216443003890B960;
super();
addChild(new MainMenuMC());
_local1 = A1216443003890B960.A1216443003890B1397();
A1216443003875B578 = _local1.A1216443003890B868(_local1.A1216443003875B657(), TextFieldAutoSize.CENTER, 25);
A1216443003875B578.A1216443003875B662("QUIT GAME");
A1216443003875B578.x = ((width * 0.5) - (A1216443003875B578.width * 0.5));
A1216443003875B578.y = 150;
addChild(A1216443003875B578);
A1216443003890B1162 = _local1.A1216443003890B868(_local1.A1216443003875B657(), TextFieldAutoSize.CENTER, 25);
A1216443003890B1162.A1216443003875B662("CLOSE");
A1216443003890B1162.x = 200;
A1216443003890B1162.y = 0;
addChild(A1216443003890B1162);
A1216443003875B230 = _local1.A1216443003890B868(_local1.A1216443003875B657(), TextFieldAutoSize.CENTER, 25);
A1216443003875B230.x = ((width * 0.5) - (A1216443003875B578.width * 0.5));
A1216443003875B230.y = 130;
A1216443003875B230.addEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B1091);
addChild(A1216443003875B230);
A1216443003875B108();
}
public function A1216443003875B301():A1216443003875B136{
return (A1216443003875B578);
}
public function A1216443003875B28():A1216443003875B136{
return (A1216443003890B1162);
}
private function A1216443003875B108(){
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003875B538 = "SOUND : ON";
} else {
A1216443003875B538 = "SOUND : OFF";
};
A1216443003875B230.A1216443003875B662(A1216443003875B538);
}
public function A1216443003890B1091(_arg1:Event){
A1216443003890B960.A1216443003875B422 = !(A1216443003890B960.A1216443003875B422);
A1216443003875B108();
}
}
}//package com.jumbledmind.ninjainvasion.mapmodule
Section 79
//A1216443003875B637 (com.jumbledmind.ninjainvasion.mapmodule.A1216443003875B637)
package com.jumbledmind.ninjainvasion.mapmodule {
import flash.utils.*;
import flash.display.*;
import com.jumbledmind.ninjainvasion.gobs.*;
import flash.text.*;
import com.jumbledmind.ninjainvasion.*;
public class A1216443003875B637 extends MovieClip {
private var A1216443003890B1379:Sprite;
private var A1216443003875B215:TextField;
private var A1216443003890B1450:Dictionary;
private var A1216443003875B408:Sprite;
private var A1216443003875B416:Dictionary;
private var A1216443003890B964:TextField;
public function A1216443003875B637(){
var _local1:Array;
var _local2:int;
var _local3:A1216443003890B960;
var _local4:A1216443003890B1099;
var _local5:Sprite;
var _local6:Sprite;
super();
addChild(new ClanNumbersMC());
A1216443003875B416 = new Dictionary();
A1216443003890B1450 = new Dictionary();
_local1 = A1216443003890B960.A1216443003890B925.A1216443003875B190();
_local2 = 0;
while (_local2 < _local1.length) {
_local4 = _local1[_local2];
_local5 = _local4.A1216443003875B536();
_local6 = _local4.A1216443003890B760();
A1216443003875B416[_local4.A1216443003890B1328()] = _local5;
A1216443003890B1450[_local4.A1216443003890B1328()] = _local6;
_local5.x = -25;
_local5.y = -28;
_local6.x = -25;
_local6.y = 20;
_local2++;
};
_local3 = A1216443003890B960.A1216443003890B1397();
A1216443003875B215 = _local3.A1216443003890B1086(_local3.A1216443003890B930(), TextFieldAutoSize.LEFT, 25);
A1216443003875B215.x = -5;
A1216443003875B215.y = -40;
A1216443003890B964 = _local3.A1216443003890B1086(_local3.A1216443003890B930(), TextFieldAutoSize.LEFT, 25);
A1216443003890B964.x = -5;
A1216443003890B964.y = 15;
this.addChild(A1216443003875B215);
this.addChild(A1216443003890B964);
}
public function A1216443003890B1371(_arg1:int):void{
this.A1216443003875B215.text = (":" + _arg1);
}
public function A1216443003875B25(_arg1:int):void{
this.A1216443003890B964.text = (":" + _arg1);
}
public function A1216443003890B1453(_arg1:A1216443003875B148):void{
var _local2:A1216443003890B1099;
_local2 = _arg1.A1216443003890B1102();
_local2.A1216443003890B1328();
removeChild(A1216443003875B408);
this.A1216443003875B408 = A1216443003875B416[_local2.A1216443003890B1328()];
addChild(A1216443003875B408);
removeChild(A1216443003890B1379);
this.A1216443003890B1379 = A1216443003890B1450[_local2.A1216443003890B1328()];
addChild(A1216443003890B1379);
A1216443003890B1371(_arg1.A1216443003875B199());
A1216443003875B25(_arg1.A1216443003875B103());
}
override public function removeChild(_arg1:DisplayObject):DisplayObject{
if (((!((_arg1 == null))) && (this.contains(_arg1)))){
return (super.removeChild(_arg1));
};
return (null);
}
}
}//package com.jumbledmind.ninjainvasion.mapmodule
Section 80
//A1216443003875B678 (com.jumbledmind.ninjainvasion.mapmodule.A1216443003875B678)
package com.jumbledmind.ninjainvasion.mapmodule {
import flash.events.*;
import flash.display.*;
import com.jumbledmind.ninjainvasion.gobs.*;
import flash.text.*;
import com.jumbledmind.games.util.*;
import com.jumbledmind.ninjainvasion.*;
public class A1216443003875B678 extends MovieClip {
private var A1216443003875B144:Sprite;
private var A1216443003875B307:TextField;
private var A1216443003890B1278:Sprite;
private var A1216443003890B906:MovieClip;
private var A1216443003890B1162:A1216443003875B136;
private var A1216443003875B611:MovieClip;
private var A1216443003875B215:TextField;
private var A1216443003890B1286:A1216443003875B136;
private var A1216443003875B298:TextField;
private var A1216443003890B1295:A1216443003875B148;
private var A1216443003875B346:MovieClip;
private var A1216443003875B73:A1216443003875B148;
private var A1216443003875B363:int;
private var A1216443003875B526:MovieClip;
private var A1216443003890B964:TextField;
private var A1216443003890B1090:int;
public function A1216443003875B678(){
this.addChild(new AdjustAmtBkgndMC());
A1216443003875B144 = new NinjaIconGMC();
A1216443003890B1278 = new NinjaIconGMC();
A1216443003875B52();
}
public function A1216443003875B5(_arg1:Event){
A1216443003875B363 = parseInt(A1216443003875B215.text);
if (A1216443003875B363 > A1216443003875B73.A1216443003875B199()){
A1216443003875B363 = A1216443003875B73.A1216443003875B199();
};
A1216443003875B215.text = A1216443003875B363.toString();
}
public function activate():void{
A1216443003890B906.addEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B86);
A1216443003875B611.addEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B1389);
A1216443003875B346.addEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B1248);
A1216443003875B526.addEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B402);
A1216443003875B215.text = A1216443003875B363.toString();
A1216443003890B964.text = A1216443003890B1090.toString();
A1216443003875B298.text = (":" + A1216443003875B73.A1216443003875B199());
A1216443003875B307.text = (":" + A1216443003875B73.A1216443003875B103());
A1216443003890B819(null);
A1216443003875B5(null);
}
public function A1216443003875B28():A1216443003875B136{
return (A1216443003890B1162);
}
public function A1216443003890B1389(_arg1:Event):void{
A1216443003875B363++;
if (A1216443003875B363 > A1216443003875B73.A1216443003875B199()){
A1216443003875B363 = A1216443003875B73.A1216443003875B199();
};
A1216443003875B215.text = A1216443003875B363.toString();
}
public function A1216443003890B1394():int{
return ((A1216443003875B363 + A1216443003890B1090));
}
protected function A1216443003875B52():void{
var _local1:A1216443003890B960;
A1216443003890B1295 = new A1216443003875B148();
_local1 = A1216443003890B960.A1216443003890B1397();
A1216443003875B144.x = 64;
A1216443003875B144.y = 24;
A1216443003890B1278.x = 64;
A1216443003890B1278.y = 96;
A1216443003890B906 = new MinusMC();
A1216443003890B906.x = 30;
A1216443003890B906.y = 48;
A1216443003875B611 = new PlusMC();
A1216443003875B611.x = 112;
A1216443003875B611.y = 48;
A1216443003875B346 = new MinusMC();
A1216443003875B346.x = 30;
A1216443003875B346.y = 120;
A1216443003875B526 = new PlusMC();
A1216443003875B526.x = 112;
A1216443003875B526.y = 120;
A1216443003875B215 = _local1.A1216443003890B1086(_local1.A1216443003890B879(), TextFieldAutoSize.NONE, 64);
A1216443003875B215.x = 40;
A1216443003875B215.y = 40;
A1216443003875B215.selectable = true;
A1216443003875B215.maxChars = 3;
A1216443003875B215.type = TextFieldType.INPUT;
A1216443003875B215.addEventListener(FocusEvent.FOCUS_OUT, A1216443003875B5);
A1216443003890B964 = _local1.A1216443003890B1086(_local1.A1216443003890B879(), TextFieldAutoSize.NONE, 64);
A1216443003890B964.x = 40;
A1216443003890B964.y = 112;
A1216443003890B964.selectable = true;
A1216443003890B964.maxChars = 3;
A1216443003890B964.type = TextFieldType.INPUT;
A1216443003890B964.addEventListener(FocusEvent.FOCUS_OUT, A1216443003890B819);
A1216443003875B298 = _local1.A1216443003890B1086(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 25);
A1216443003875B298.x = 80;
A1216443003875B298.y = 8;
A1216443003875B307 = _local1.A1216443003890B1086(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 25);
A1216443003875B307.x = 80;
A1216443003875B307.y = 80;
A1216443003890B1286 = _local1.A1216443003890B868(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 32);
A1216443003890B1286.A1216443003875B662("OK");
A1216443003890B1286.x = 85;
A1216443003890B1286.y = 190;
A1216443003890B1162 = _local1.A1216443003890B868(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 32);
A1216443003890B1162.A1216443003875B662("Cancel");
A1216443003890B1162.x = 60;
A1216443003890B1162.y = 165;
addChild(A1216443003890B906);
addChild(A1216443003875B611);
addChild(A1216443003875B346);
addChild(A1216443003875B526);
addChild(A1216443003875B215);
addChild(A1216443003890B964);
addChild(A1216443003875B144);
addChild(A1216443003890B1278);
addChild(A1216443003875B307);
addChild(A1216443003875B298);
addChild(A1216443003890B1286);
addChild(A1216443003890B1162);
A1216443003875B108();
}
public function deactivate():void{
A1216443003890B906.removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B86);
A1216443003875B611.removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B1389);
A1216443003875B346.removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B1248);
A1216443003875B526.removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B402);
}
public function A1216443003875B103():int{
return (A1216443003890B1090);
}
public function A1216443003875B108(){
}
public function A1216443003890B1453(_arg1:A1216443003875B148):void{
this.A1216443003875B73 = _arg1;
this.A1216443003875B363 = _arg1.A1216443003875B199();
this.A1216443003890B1090 = _arg1.A1216443003875B103();
removeChild(A1216443003875B144);
removeChild(A1216443003890B1278);
A1216443003875B144 = _arg1.A1216443003890B1102().A1216443003875B536();
A1216443003890B1278 = _arg1.A1216443003890B1102().A1216443003890B760();
A1216443003875B144.x = 64;
A1216443003875B144.y = 24;
A1216443003890B1278.x = 64;
A1216443003890B1278.y = 96;
addChild(A1216443003875B144);
addChild(A1216443003890B1278);
}
public function A1216443003890B819(_arg1:Event){
A1216443003890B1090 = parseInt(A1216443003890B964.text);
if (A1216443003890B1090 > A1216443003875B73.A1216443003875B103()){
A1216443003890B1090 = A1216443003875B73.A1216443003875B103();
};
A1216443003890B964.text = A1216443003890B1090.toString();
}
public function A1216443003875B199():int{
return (A1216443003875B363);
}
public function A1216443003890B775():A1216443003875B136{
return (A1216443003890B1286);
}
public function A1216443003875B368():A1216443003875B148{
A1216443003890B1295.A1216443003890B1371(A1216443003875B363);
A1216443003890B1295.A1216443003875B25(A1216443003890B1090);
A1216443003890B1295.A1216443003890B905(A1216443003875B73.A1216443003890B1102());
A1216443003890B1295.x = A1216443003875B73.x;
A1216443003890B1295.y = A1216443003875B73.y;
return (A1216443003890B1295);
}
public function A1216443003875B402(_arg1:Event):void{
A1216443003890B1090++;
if (A1216443003890B1090 > A1216443003875B73.A1216443003875B103()){
A1216443003890B1090 = A1216443003875B73.A1216443003875B103();
};
A1216443003890B964.text = A1216443003890B1090.toString();
}
public function A1216443003875B86(_arg1:Event):void{
A1216443003875B363--;
if (A1216443003875B363 < 0){
A1216443003875B363 = 0;
};
A1216443003875B215.text = A1216443003875B363.toString();
}
public function A1216443003890B1248(_arg1:Event):void{
A1216443003890B1090--;
if (A1216443003890B1090 < 0){
A1216443003890B1090 = 0;
};
A1216443003890B964.text = A1216443003890B1090.toString();
}
}
}//package com.jumbledmind.ninjainvasion.mapmodule
Section 81
//A1216443003890B1017 (com.jumbledmind.ninjainvasion.mapmodule.A1216443003890B1017)
package com.jumbledmind.ninjainvasion.mapmodule {
import flash.display.*;
import com.jumbledmind.ninjainvasion.gobs.*;
import flash.text.*;
import com.jumbledmind.ninjainvasion.*;
public class A1216443003890B1017 extends MovieClip {
private var A1216443003875B543:TextField;
private var A1216443003890B723:Sprite;
private var A1216443003890B1142:A1216443003890B1099;
private var A1216443003890B981:A1216443003890B1099;
private var A1216443003890B1041:TextField;
private var A1216443003890B989:TextField;
private var A1216443003875B334:A1216443003890B1099;
private var A1216443003875B468:TextField;
private var A1216443003875B185:Sprite;
private var A1216443003875B632:Sprite;
private var A1216443003890B1074:A1216443003890B1099;
private var A1216443003890B1128:Sprite;
private var A1216443003875B530:String;// = ""
public function A1216443003890B1017(){
var _local1:A1216443003890B960;
A1216443003875B530 = "";
super();
addChild(new WorldStatusMC());
_local1 = A1216443003890B960.A1216443003890B1397();
A1216443003890B1128 = A1216443003890B960.A1216443003890B925.A1216443003890B733().A1216443003875B536();
A1216443003890B1128.x = 20;
A1216443003890B1128.y = 25;
A1216443003875B632 = A1216443003890B960.A1216443003890B925.A1216443003875B312().A1216443003875B536();
A1216443003875B632.x = 20;
A1216443003875B632.y = 70;
A1216443003875B185 = A1216443003890B960.A1216443003890B925.A1216443003875B607().A1216443003875B536();
A1216443003875B185.x = 90;
A1216443003875B185.y = 25;
A1216443003890B723 = A1216443003890B960.A1216443003890B925.A1216443003890B1365().A1216443003875B536();
A1216443003890B723.x = 90;
A1216443003890B723.y = 70;
A1216443003890B989 = _local1.A1216443003890B1086(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 25);
A1216443003890B989.x = 32;
A1216443003890B989.y = 15;
A1216443003875B468 = _local1.A1216443003890B1086(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 25);
A1216443003875B468.x = 32;
A1216443003875B468.y = 60;
A1216443003890B1041 = _local1.A1216443003890B1086(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 25);
A1216443003890B1041.x = 102;
A1216443003890B1041.y = 15;
A1216443003875B543 = _local1.A1216443003890B1086(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 25);
A1216443003875B543.x = 102;
A1216443003875B543.y = 60;
addChild(A1216443003890B1128);
addChild(A1216443003875B632);
addChild(A1216443003875B185);
addChild(A1216443003890B723);
addChild(A1216443003890B989);
addChild(A1216443003875B468);
addChild(A1216443003890B1041);
addChild(A1216443003875B543);
A1216443003875B530 = "";
}
public function A1216443003890B742(_arg1:A1216443003890B1099){
if (A1216443003890B981 == null){
A1216443003890B981 = _arg1;
} else {
if (A1216443003890B981.A1216443003890B1328() != _arg1.A1216443003890B1328()){
A1216443003890B981 = _arg1;
A1216443003875B530 = (A1216443003875B530 + ("\nGreen Faction has shifted focus against " + _arg1.A1216443003875B659()));
};
};
}
public function A1216443003890B983(_arg1:A1216443003890B1099){
if (A1216443003890B1074 == null){
A1216443003890B1074 = _arg1;
} else {
if (A1216443003890B1074.A1216443003890B1328() != _arg1.A1216443003890B1328()){
A1216443003890B1074 = _arg1;
A1216443003875B530 = (A1216443003875B530 + ("\nOrange Faction has shifted focus against " + _arg1.A1216443003875B659()));
};
};
}
public function A1216443003875B580():void{
A1216443003875B530 = "";
}
public function A1216443003890B1194(_arg1:A1216443003890B1099){
if (A1216443003890B1142 == null){
A1216443003890B1142 = _arg1;
} else {
if (A1216443003890B1142.A1216443003890B1328() != _arg1.A1216443003890B1328()){
A1216443003890B1142 = _arg1;
A1216443003875B530 = (A1216443003875B530 + ("\nYellow Faction has shifted focus against " + _arg1.A1216443003875B659()));
};
};
}
public function A1216443003875B81(_arg1:A1216443003890B1099){
if (A1216443003875B334 == null){
A1216443003875B334 = _arg1;
} else {
if (A1216443003875B334.A1216443003890B1328() != _arg1.A1216443003890B1328()){
A1216443003875B334 = _arg1;
A1216443003875B530 = (A1216443003875B530 + ("\nRed Faction has shifted focus against" + _arg1.A1216443003875B659()));
};
};
}
public function A1216443003890B1363(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
A1216443003890B989.text = (":" + _arg1);
A1216443003875B468.text = (":" + _arg2);
A1216443003890B1041.text = (":" + _arg3);
A1216443003875B543.text = (":" + _arg4);
}
public function A1216443003890B955():String{
return (A1216443003875B530);
}
}
}//package com.jumbledmind.ninjainvasion.mapmodule
Section 82
//A1216443003890B1052 (com.jumbledmind.ninjainvasion.mapmodule.A1216443003890B1052)
package com.jumbledmind.ninjainvasion.mapmodule {
import flash.display.*;
import flash.text.*;
import com.jumbledmind.games.util.*;
import com.jumbledmind.ninjainvasion.*;
public class A1216443003890B1052 extends MovieClip {
private var A1216443003875B303:A1216443003875B136;
private var A1216443003890B1094:TextField;
private var A1216443003875B347:A1216443003875B136;
private var A1216443003890B1191:A1216443003875B136;
public function A1216443003890B1052(){
A1216443003875B52();
}
public function A1216443003890B1003():void{
addChild(A1216443003890B1191);
}
public function A1216443003875B433():void{
A1216443003890B712();
A1216443003890B786();
A1216443003875B643();
addChild(A1216443003890B1094);
}
public function A1216443003890B984():void{
addChild(A1216443003875B347);
}
public function A1216443003890B1168():A1216443003875B136{
return (A1216443003890B1191);
}
protected function A1216443003875B52():void{
var _local1:A1216443003890B960;
this.addChild(new ClanStatusMC());
_local1 = A1216443003890B960.A1216443003890B1397();
A1216443003890B1191 = _local1.A1216443003890B868(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 200);
A1216443003890B1191.A1216443003875B662("Add Unit");
A1216443003890B1191.x = 12;
A1216443003890B1191.y = 8;
A1216443003875B347 = _local1.A1216443003890B868(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 200);
A1216443003875B347.A1216443003875B662("Move");
A1216443003875B347.x = 12;
A1216443003875B347.y = 32;
A1216443003875B303 = _local1.A1216443003890B868(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 200);
A1216443003875B303.A1216443003875B662("Attack");
A1216443003875B303.x = 12;
A1216443003875B303.y = 56;
A1216443003890B1094 = _local1.A1216443003890B1086(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 200);
A1216443003890B1094.text = "Group Turn Completed";
A1216443003890B1094.x = 12;
A1216443003890B1094.y = 32;
A1216443003890B1003();
A1216443003890B984();
A1216443003890B1198();
}
public function A1216443003875B595():A1216443003875B136{
return (A1216443003875B347);
}
public function A1216443003890B817():void{
removeChild(A1216443003890B1094);
}
public function A1216443003890B786():void{
removeChild(A1216443003875B303);
}
public function A1216443003875B643():void{
removeChild(A1216443003890B1191);
}
public function A1216443003890B1198():void{
addChild(A1216443003875B303);
}
public function A1216443003890B712():void{
removeChild(A1216443003875B347);
}
public function A1216443003890B1402():A1216443003875B136{
return (A1216443003875B303);
}
override public function removeChild(_arg1:DisplayObject):DisplayObject{
if (this.contains(_arg1)){
return (super.removeChild(_arg1));
};
return (null);
}
}
}//package com.jumbledmind.ninjainvasion.mapmodule
Section 83
//A1216443003890B717 (com.jumbledmind.ninjainvasion.mapmodule.A1216443003890B717)
package com.jumbledmind.ninjainvasion.mapmodule {
import flash.display.*;
import flash.text.*;
import com.jumbledmind.games.util.*;
import com.jumbledmind.ninjainvasion.*;
public class A1216443003890B717 extends MovieClip {
private var A1216443003890B1162:A1216443003875B136;
public function A1216443003890B717(){
A1216443003875B52();
}
public function A1216443003875B28():A1216443003875B136{
return (A1216443003890B1162);
}
protected function A1216443003875B52():void{
var _local1:A1216443003890B960;
this.addChild(new ClanStatusMC());
_local1 = A1216443003890B960.A1216443003890B1397();
A1216443003890B1162 = _local1.A1216443003890B868(_local1.A1216443003890B930(), TextFieldAutoSize.LEFT, 200);
A1216443003890B1162.A1216443003875B662("Cancel");
A1216443003890B1162.x = 12;
A1216443003890B1162.y = 40;
this.addChild(A1216443003890B1162);
}
}
}//package com.jumbledmind.ninjainvasion.mapmodule
Section 84
//A1216443003875B344 (com.jumbledmind.ninjainvasion.tocmodule.A1216443003875B344)
package com.jumbledmind.ninjainvasion.tocmodule {
import flash.display.*;
import mochi.*;
import com.jumbledmind.ninjainvasion.*;
public class A1216443003875B344 extends A1216443003875B620 {
private var A1216443003875B392:MovieClip;
public function A1216443003875B344(_arg1:String, _arg2:MovieClip){
super(_arg1, _arg2);
this.A1216443003890B800 = A1216443003890B960.A1216443003875B153;
A1216443003875B392 = new MovieClip();
addChild(A1216443003875B392);
}
public function A1216443003890B1024(){
A1216443003890B1385(A1216443003890B960.fadeOutToBlack, A1216443003890B960.A1216443003890B1226);
}
public function A1216443003890B1127(){
}
override public function activate():void{
super.activate();
MochiScores.showLeaderboard({boardID:"fbc7ac7decb89084", onClose:A1216443003890B1024, clip:A1216443003875B392, score:A1216443003890B960.A1216443003890B925.score});
}
}
}//package com.jumbledmind.ninjainvasion.tocmodule
Section 85
//A1216443003875B53 (com.jumbledmind.ninjainvasion.tocmodule.A1216443003875B53)
package com.jumbledmind.ninjainvasion.tocmodule {
import flash.events.*;
import flash.display.*;
import flash.net.*;
import flash.text.*;
import com.jumbledmind.games.util.*;
import com.jumbledmind.games.*;
import com.jumbledmind.ninjainvasion.*;
import flash.media.*;
public class A1216443003875B53 extends A1216443003875B620 {
private var A1216443003890B959:A1216443003875B136;
private var A1216443003890B1393:int;// = 8
private var A1216443003875B675:Array;
private var A1216443003875B169:Array;
private var A1216443003890B1039:Array;
private var A1216443003890B750:A1216443003875B136;
private var A1216443003890B740:Sound;
private var A1216443003875B49:Array;
private var A1216443003890B1440:Array;
private var A1216443003890B752:A1216443003875B136;
private var A1216443003890B1332:A1216443003875B136;
private var A1216443003875B635:Array;
private var A1216443003875B172:Array;
private var A1216443003875B401:A1216443003875B136;
private var A1216443003875B485:Sound;
private var A1216443003875B230:A1216443003875B136;
private var A1216443003890B1356:A1216443003875B136;
private var A1216443003875B370:Array;
public function A1216443003875B53(_arg1:String, _arg2:MovieClip){
A1216443003890B1393 = 8;
super(_arg1, _arg2);
this.A1216443003890B800 = A1216443003890B960.A1216443003875B153;
addChild(new TitleScreenMC());
A1216443003875B52();
}
public function A1216443003875B668(_arg1:Event){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.jumbledmind.com");
navigateToURL(_local2);
}
public function A1216443003890B1031(_arg1:Event){
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003875B485.play();
};
A1216443003890B960.A1216443003875B605.A1216443003875B108();
A1216443003890B960.A1216443003890B925.A1216443003890B893(SharedObject.getLocal(A1216443003890B960.A1216443003890B1203));
A1216443003890B1385(A1216443003890B960.A1216443003875B376, A1216443003890B960.A1216443003875B605);
}
public function A1216443003890B909():void{
A1216443003890B752.removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B465);
A1216443003890B750.removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B668);
A1216443003875B230.removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B1118);
A1216443003890B1332.removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B74);
A1216443003875B401.removeEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B785);
}
override public function deactivate():void{
super.deactivate();
A1216443003890B909();
}
public function A1216443003875B465(_arg1:Event){
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003875B485.play();
};
A1216443003890B960.A1216443003875B605.A1216443003875B108();
A1216443003890B1385(A1216443003890B960.A1216443003875B376, A1216443003890B960.A1216443003875B605);
}
public function A1216443003875B108():void{
if (SharedObject.getLocal(A1216443003890B960.A1216443003890B1203).data["isthere"] == null){
} else {
addChild(A1216443003890B1356);
A1216443003890B1356.addEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B1031);
};
A1216443003875B582();
}
private function A1216443003875B621(_arg1:Sprite){
var _local2:*;
_arg1.x = (Math.random() * A1216443003890B1190.A1216443003875B6);
_arg1.y = ((-(Math.random()) * 0x0200) - 20);
_local2 = (Math.random() * 2);
if (_local2 > 1){
_arg1.scaleX = 1;
} else {
_arg1.scaleX = -1;
};
_arg1.rotation = (Math.random() * 360);
}
public function A1216443003890B785(_arg1:Event):void{
A1216443003890B1385(A1216443003890B960.A1216443003875B376, A1216443003890B960.A1216443003890B950);
}
public function A1216443003875B582():void{
A1216443003890B752.addEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B465);
A1216443003890B750.addEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B668);
A1216443003875B230.addEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B1118);
A1216443003890B1332.addEventListener(MouseEvent.MOUSE_DOWN, A1216443003875B74);
A1216443003875B401.addEventListener(MouseEvent.MOUSE_DOWN, A1216443003890B785);
}
public function A1216443003875B52():void{
var _local1:A1216443003890B960;
_local1 = A1216443003890B960.A1216443003890B1397();
A1216443003890B752 = _local1.A1216443003890B868(_local1.A1216443003875B657(), TextFieldAutoSize.LEFT, 25);
A1216443003890B752.A1216443003875B662("Start New Game");
A1216443003890B752.x = ((A1216443003890B1190.A1216443003875B6 * 0.5) - (A1216443003890B752.width * 0.5));
A1216443003890B752.y = 260;
A1216443003890B1356 = _local1.A1216443003890B868(_local1.A1216443003875B657(), TextFieldAutoSize.LEFT, 25);
A1216443003890B1356.A1216443003875B662("Continue Saved Game");
A1216443003890B1356.x = ((A1216443003890B1190.A1216443003875B6 * 0.5) - (A1216443003890B752.width * 0.5));
A1216443003890B1356.y = 300;
A1216443003890B1332 = _local1.A1216443003890B868(_local1.A1216443003875B657(), TextFieldAutoSize.LEFT, 25);
A1216443003890B1332.A1216443003875B662("More Games");
A1216443003890B1332.x = ((A1216443003890B1190.A1216443003875B6 * 0.5) - (A1216443003890B752.width * 0.5));
A1216443003890B1332.y = 340;
A1216443003875B401 = _local1.A1216443003890B868(_local1.A1216443003875B657(), TextFieldAutoSize.LEFT, 25);
A1216443003875B401.A1216443003875B662("High Scores");
A1216443003875B401.x = ((A1216443003890B1190.A1216443003875B6 * 0.5) - (A1216443003890B752.width * 0.5));
A1216443003875B401.y = 380;
A1216443003875B230 = _local1.A1216443003890B868(_local1.A1216443003875B657(), TextFieldAutoSize.LEFT, 25);
A1216443003875B230.x = ((A1216443003890B1190.A1216443003875B6 * 0.5) - (A1216443003890B752.width * 0.5));
A1216443003875B230.y = 420;
A1216443003890B897();
A1216443003890B750 = _local1.A1216443003890B868(_local1.A1216443003875B657(), TextFieldAutoSize.LEFT, 25);
A1216443003890B750.A1216443003875B662("www.jumbledmind.com");
A1216443003890B750.x = 0;
A1216443003890B750.y = 480;
A1216443003875B485 = new SelectMenuItemSFX();
A1216443003890B740 = new MenuSFX();
addChild(A1216443003890B752);
addChild(A1216443003890B750);
addChild(A1216443003890B1332);
addChild(A1216443003875B230);
addChild(A1216443003875B401);
A1216443003875B108();
}
private function A1216443003875B645(_arg1:Array):void{
var _local2:int;
_local2 = 0;
while (_local2 < _arg1.length) {
_arg1[_local2].y = (_arg1[_local2].y + 2);
_arg1[_local2].rotation = (_arg1[_local2].rotation + 0.5);
if (_arg1[_local2].rotation > 360){
_arg1[_local2].rotation = (_arg1[_local2].rotation - 360);
};
if (_arg1[_local2].y > (A1216443003890B1190.A1216443003890B705 + 80)){
A1216443003875B621(_arg1[_local2]);
};
_local2++;
};
}
public function A1216443003875B74(_arg1:Event){
var _local2:URLRequest;
_local2 = new URLRequest("http://www.bigfishgames.com/online-games/?src= nimjaclanquest&afcode=af237c4e57b1");
navigateToURL(_local2);
}
public function A1216443003890B1118(_arg1:Event){
A1216443003890B960.A1216443003875B422 = !(A1216443003890B960.A1216443003875B422);
A1216443003890B897();
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003890B740.play();
};
}
private function A1216443003875B128(_arg1:Array):void{
var _local2:int;
_local2 = 0;
while (_local2 < _arg1.length) {
A1216443003875B621(_arg1[_local2]);
_local2++;
};
}
override public function activate():void{
super.activate();
A1216443003875B582();
}
private function A1216443003890B897(){
if (A1216443003890B960.A1216443003875B422 == true){
A1216443003875B230.A1216443003875B662("SOUND: ON");
} else {
A1216443003875B230.A1216443003875B662("SOUND: OFF");
};
}
}
}//package com.jumbledmind.ninjainvasion.tocmodule
Section 86
//A1216443003875B594 (com.jumbledmind.ninjainvasion.tocmodule.A1216443003875B594)
package com.jumbledmind.ninjainvasion.tocmodule {
import flash.display.*;
import mochi.*;
import com.jumbledmind.ninjainvasion.*;
public class A1216443003875B594 extends A1216443003875B620 {
private var A1216443003875B392:MovieClip;
public function A1216443003875B594(_arg1:String, _arg2:MovieClip){
super(_arg1, _arg2);
this.A1216443003890B800 = A1216443003890B960.A1216443003875B153;
A1216443003875B392 = new MovieClip();
addChild(A1216443003875B392);
}
public function A1216443003890B1024(){
A1216443003890B1385(A1216443003890B960.fadeOutToBlack, A1216443003890B960.A1216443003890B1439);
}
public function A1216443003890B1127(){
}
override public function activate():void{
super.activate();
MochiScores.showLeaderboard({boardID:"fbc7ac7decb89084", onClose:A1216443003890B1024, clip:A1216443003875B392, score:A1216443003890B960.A1216443003890B925.score});
}
}
}//package com.jumbledmind.ninjainvasion.tocmodule
Section 87
//A1216443003890B722 (com.jumbledmind.ninjainvasion.tocmodule.A1216443003890B722)
package com.jumbledmind.ninjainvasion.tocmodule {
import flash.display.*;
import mochi.*;
import com.jumbledmind.ninjainvasion.*;
public class A1216443003890B722 extends A1216443003875B620 {
public var A1216443003875B392:MovieClip;
public function A1216443003890B722(_arg1:String, _arg2:MovieClip){
super(_arg1, _arg2);
this.A1216443003890B800 = A1216443003890B960.A1216443003875B153;
A1216443003875B392 = new MovieClip();
addChild(A1216443003875B392);
}
public function A1216443003890B1024(){
A1216443003890B1385(A1216443003890B960.A1216443003875B376, A1216443003890B960.A1216443003890B1226);
}
public function A1216443003890B1127(){
}
override public function activate():void{
super.activate();
MochiScores.showLeaderboard({boardID:"fbc7ac7decb89084", onClose:A1216443003890B1024, clip:A1216443003875B392});
}
}
}//package com.jumbledmind.ninjainvasion.tocmodule
Section 88
//A1216443003875B366 (com.jumbledmind.ninjainvasion.A1216443003875B366)
package com.jumbledmind.ninjainvasion {
import com.jumbledmind.games.input.*;
public class A1216443003875B366 extends A1216443003890B1351 {
public static var A1216443003875B85:int = 2;
public static var A1216443003875B649:int = 1;
public static var A1216443003890B755:int = 2;
public function A1216443003875B366(){
this.A1216443003875B647(A1216443003875B649, 37);
this.A1216443003875B647(A1216443003890B755, 39);
this.A1216443003875B647(A1216443003875B85, 39);
}
}
}//package com.jumbledmind.ninjainvasion
Section 89
//A1216443003875B457 (com.jumbledmind.ninjainvasion.A1216443003875B457)
package com.jumbledmind.ninjainvasion {
import com.jumbledmind.ninjainvasion.gobs.*;
import flash.net.*;
import com.jumbledmind.games.util.*;
public class A1216443003875B457 {
public var A1216443003875B362:Boolean;// = false
private var A1216443003875B209:A1216443003890B1099;
public var score:int;
public var A1216443003890B1212:Boolean;// = false
private var A1216443003875B520:A1216443003890B1099;
public var A1216443003875B147:Boolean;// = false
private var A1216443003890B1124:A1216443003890B1099;
public var A1216443003890B811:Boolean;// = false
private var A1216443003875B553:A1216443003890B1099;
private var A1216443003875B217:Array;
private var A1216443003875B319:A1216443003890B1245;
public var A1216443003890B877:Boolean;// = false
private var A1216443003890B1372:A1216443003890B1099;
public function A1216443003875B457(){
A1216443003890B877 = false;
A1216443003890B811 = false;
A1216443003875B147 = false;
A1216443003875B362 = false;
A1216443003890B1212 = false;
super();
A1216443003875B52();
}
public function A1216443003875B108(){
A1216443003875B520.A1216443003890B896();
A1216443003890B1372.A1216443003890B896();
A1216443003890B1124.A1216443003890B896();
A1216443003875B209.A1216443003890B896();
A1216443003875B450();
A1216443003890B877 = false;
A1216443003890B811 = false;
A1216443003875B147 = false;
A1216443003875B362 = false;
A1216443003890B1212 = false;
score = 0;
}
private function A1216443003875B428(_arg1:SharedObject):void{
var _local2:A1216443003890B1329;
var _local3:A1216443003890B1258;
_local2 = A1216443003875B319.A1216443003890B1300().A1216443003890B880();
while (_local2.A1216443003890B1366()) {
_local3 = _local2.A1216443003875B331();
A1216443003875B615(_arg1, _local3);
};
}
public function A1216443003875B607():A1216443003890B1099{
return (A1216443003875B209);
}
public function A1216443003875B190():Array{
return (A1216443003875B217);
}
public function A1216443003875B592():A1216443003890B1245{
return (A1216443003875B319);
}
public function A1216443003890B733():A1216443003890B1099{
return (A1216443003875B520);
}
public function A1216443003890B893(_arg1:SharedObject):void{
if (_arg1.data["isthere"] == true){
A1216443003875B428(_arg1);
A1216443003875B520.A1216443003875B418(_arg1);
A1216443003875B209.A1216443003875B418(_arg1);
A1216443003890B1124.A1216443003875B418(_arg1);
A1216443003890B1372.A1216443003875B418(_arg1);
A1216443003890B877 = _arg1.data["tutorialIntro"];
A1216443003890B811 = _arg1.data["tutorialActionMenu"];
A1216443003875B147 = _arg1.data["tutorialAmt"];
A1216443003875B362 = _arg1.data["tutorialSelectTarget"];
A1216443003890B1212 = _arg1.data["tutorialBattle"];
score = _arg1.data["score"];
};
}
public function A1216443003875B312():A1216443003890B1099{
return (A1216443003890B1124);
}
public function A1216443003890B1365():A1216443003890B1099{
return (A1216443003890B1372);
}
private function A1216443003875B450():void{
var _local1:int;
var _local2:A1216443003890B830;
var _local3:A1216443003875B148;
var _local4:A1216443003890B1099;
var _local5:int;
var _local6:A1216443003890B1258;
var _local7:int;
_local1 = ((Math.random() * 1000) % A1216443003875B217.length);
_local2 = A1216443003875B319.A1216443003890B1373();
_local5 = 0;
while (_local5 < A1216443003875B217.length) {
var _temp1 = _local1;
_local1 = (_local1 + 1);
_local4 = A1216443003875B217[(_temp1 % A1216443003875B217.length)];
_local3 = new A1216443003875B148();
_local3.A1216443003890B905(_local4);
_local3.A1216443003890B1371(3);
_local3.A1216443003875B25(3);
_local6 = _local2.A1216443003890B997();
_local6.A1216443003890B896();
_local6.A1216443003890B1453(_local3);
_local5++;
};
while (_local2.A1216443003890B1404() > 0) {
_local7 = (Math.random() * 1000);
_local4 = A1216443003875B217[(_local7 % A1216443003875B217.length)];
_local3 = new A1216443003875B148();
_local3.A1216443003890B905(_local4);
_local3.A1216443003890B1371(3);
_local3.A1216443003875B25(3);
_local6 = _local2.A1216443003890B997();
_local6.A1216443003890B896();
_local6.A1216443003890B1453(_local3);
};
}
private function A1216443003875B615(_arg1:SharedObject, _arg2:A1216443003890B1258){
var _local3:int;
var _local4:int;
var _local5:A1216443003890B1099;
var _local6:A1216443003875B148;
_local3 = _arg2.A1216443003875B146();
_local4 = _arg1.data[("city" + _local3)];
_local5 = A1216443003890B864(_local4);
_local6 = _arg2.A1216443003890B953();
_local6.A1216443003890B1371(_arg1.data[(("city" + _local3) + "ninja")]);
_local6.A1216443003875B25(_arg1.data[(("city" + _local3) + "samurai")]);
_local6.A1216443003890B905(_local5);
_arg2.A1216443003890B1453(_local6);
}
private function A1216443003890B864(_arg1:int):A1216443003890B1099{
if (_arg1 == A1216443003890B1099.A1216443003890B1255){
return (A1216443003890B1124);
};
if (_arg1 == A1216443003890B1099.A1216443003875B145){
return (A1216443003890B1372);
};
if (_arg1 == A1216443003890B1099.A1216443003875B539){
return (A1216443003875B520);
};
if (_arg1 == A1216443003890B1099.A1216443003890B1096){
return (A1216443003875B209);
};
return (null);
}
public function A1216443003890B938():void{
A1216443003890B877 = true;
A1216443003890B811 = true;
A1216443003875B147 = true;
A1216443003875B362 = true;
}
function A1216443003875B95(_arg1){
var _local2:*;
for (_local2 in _arg1.data) {
};
}
public function A1216443003875B52(){
var _local1:int;
A1216443003875B217 = new Array();
A1216443003890B1124 = new A1216443003890B1213();
A1216443003875B209 = new A1216443003875B154();
A1216443003890B1372 = new A1216443003875B126();
A1216443003875B520 = new A1216443003875B57();
_local1 = 0;
var _temp1 = _local1;
_local1 = (_local1 + 1);
var _local2 = _temp1;
A1216443003875B217[_local2] = A1216443003890B1372;
var _temp2 = _local1;
_local1 = (_local1 + 1);
var _local3 = _temp2;
A1216443003875B217[_local3] = A1216443003875B520;
var _temp3 = _local1;
_local1 = (_local1 + 1);
var _local4 = _temp3;
A1216443003875B217[_local4] = A1216443003875B209;
var _temp4 = _local1;
_local1 = (_local1 + 1);
var _local5 = _temp4;
A1216443003875B217[_local5] = A1216443003890B1124;
A1216443003875B319 = new A1216443003890B1245();
A1216443003875B108();
}
public function A1216443003890B1032():A1216443003890B1099{
return (A1216443003890B1124);
}
public function A1216443003875B345(_arg1:SharedObject):void{
_arg1.clear();
_arg1.data["isthere"] = true;
A1216443003875B319.A1216443003890B1049(_arg1);
A1216443003875B520.A1216443003890B1060(_arg1);
A1216443003875B209.A1216443003890B1060(_arg1);
A1216443003890B1124.A1216443003890B1060(_arg1);
A1216443003890B1372.A1216443003890B1060(_arg1);
_arg1.data["tutorialIntro"] = A1216443003890B877;
_arg1.data["tutorialActionMenu"] = A1216443003890B811;
_arg1.data["tutorialAmt"] = A1216443003875B147;
_arg1.data["tutorialSelectTarget"] = A1216443003875B362;
_arg1.data["tutorialBattle"] = A1216443003890B1212;
_arg1.data["score"] = score;
_arg1.flush();
}
}
}//package com.jumbledmind.ninjainvasion
Section 90
//A1216443003875B620 (com.jumbledmind.ninjainvasion.A1216443003875B620)
package com.jumbledmind.ninjainvasion {
import flash.display.*;
import com.jumbledmind.games.*;
public class A1216443003875B620 extends A1216443003890B1183 {
public function A1216443003875B620(_arg1:String, _arg2:MovieClip){
super(_arg1, _arg2);
this.A1216443003875B107 = _arg2;
}
override public function deactivate():void{
super.deactivate();
}
override public function A1216443003890B1114():void{
}
override public function A1216443003875B527():void{
super.A1216443003875B527();
this.A1216443003875B107.removeChild(this);
}
override public function A1216443003875B463(_arg1):void{
super.A1216443003875B463(_arg1);
this.A1216443003875B107.addChild(this);
A1216443003890B1441();
}
override public function activate():void{
super.activate();
}
}
}//package com.jumbledmind.ninjainvasion
Section 91
//A1216443003875B67 (com.jumbledmind.ninjainvasion.A1216443003875B67)
package com.jumbledmind.ninjainvasion {
import com.jumbledmind.games.*;
public class A1216443003875B67 {
public static var A1216443003875B692:int = 400;
public static var A1216443003875B187:int = 550;
public function A1216443003875B67(){
A1216443003875B52();
}
public function A1216443003875B52(){
A1216443003890B1190.A1216443003875B665 = 25;
A1216443003890B1190.A1216443003875B71 = (1000 / A1216443003890B1190.A1216443003875B665);
A1216443003890B1190.A1216443003875B6 = 550;
A1216443003890B1190.A1216443003890B705 = 500;
A1216443003890B1190.A1216443003890B1448 = 0;
A1216443003890B1190.A1216443003875B61 = A1216443003890B1190.A1216443003890B705;
}
}
}//package com.jumbledmind.ninjainvasion
Section 92
//A1216443003890B908 (com.jumbledmind.ninjainvasion.A1216443003890B908)
package com.jumbledmind.ninjainvasion {
import flash.events.*;
import flash.utils.*;
import flash.display.*;
import com.jumbledmind.games.util.*;
import com.jumbledmind.games.events.*;
import com.jumbledmind.games.*;
import com.jumbledmind.games.input.*;
import com.jumbledmind.ninjainvasion.battlemodule.*;
import com.jumbledmind.ninjainvasion.mapmodule.*;
import mochi.*;
import com.jumbledmind.ninjainvasion.tocmodule.*;
import com.jumbledmind.ninjainvasion.intromodule.*;
import com.jumbledmind.ninjainvasion.endmodule.*;
public class A1216443003890B908 extends A1216443003875B464 implements A1216443003890B927 {
protected var A1216443003875B315:Number;
protected var A1216443003875B617:int;
protected var A1216443003875B462:Number;
protected var A1216443003890B1462:Timer;
protected var A1216443003890B826:Number;// = 0
private static var A1216443003890B899:A1216443003890B827;
public static var A1216443003875B310 = new A1216443003875B67();
public function A1216443003890B908(){
var _local1:A1216443003890B1307;
A1216443003890B826 = 0;
super();
A1216443003875B315 = getTimer();
A1216443003875B462 = A1216443003875B315;
stage.showDefaultContextMenu = false;
A1216443003875B296();
A1216443003890B899 = new A1216443003890B827(this);
A1216443003890B960.A1216443003875B473 = this;
A1216443003890B960.A1216443003890B1397().A1216443003875B561("MODULE_Q", this);
addEventListener(Event.ENTER_FRAME, A1216443003875B484);
A1216443003890B960.A1216443003890B925 = new A1216443003875B457();
A1216443003890B960.A1216443003875B605 = new A1216443003875B218("MapModule", this);
A1216443003890B960.A1216443003890B1205 = new A1216443003890B1222("BattleModule", this);
A1216443003890B960.A1216443003890B1226 = new A1216443003875B53("TOCModule", this);
A1216443003890B960.A1216443003890B941 = new A1216443003890B833("IntroModule", this);
A1216443003890B960.A1216443003890B1439 = new A1216443003875B294("EndModule", this);
A1216443003890B960.A1216443003890B793 = new A1216443003875B429("BigFishIntroModule", this);
A1216443003890B960.A1216443003890B950 = new A1216443003890B722("HighScoresModule", this);
A1216443003890B960.A1216443003890B1044 = new A1216443003875B344("SubmitScoresModule", this);
A1216443003890B960.A1216443003890B929 = new A1216443003875B594("WinSubmitScoresModule", this);
_local1 = A1216443003890B960.A1216443003890B822();
stage.addEventListener(KeyboardEvent.KEY_DOWN, _local1.A1216443003890B1460);
stage.addEventListener(KeyboardEvent.KEY_UP, _local1.A1216443003875B639);
stage.addEventListener(MouseEvent.MOUSE_DOWN, _local1.A1216443003890B1113);
addChild(new BlackMC());
A1216443003890B960.A1216443003875B353 = new MovieClip();
addChild(A1216443003890B960.A1216443003875B353);
MochiServices.connect("8726909af5523c7b", A1216443003890B960.A1216443003875B353);
MochiBot.track(this, "2ffd0ef3");
MochiAd.showPreGameAd({clip:A1216443003890B960.A1216443003875B353, id:"8726909af5523c7b", res:"550x512", background:0x8F8F8F, color:0xFF, outline:0xFFFFFF, no_bg:true, ad_started:A1216443003890B1200, ad_finished:A1216443003890B1285});
}
public function A1216443003890B1285(){
A1216443003875B537(A1216443003890B960.A1216443003890B793, null);
}
public function A1216443003890B1200(){
}
private function A1216443003875B68(_arg1:TimerEvent):void{
A1216443003875B617 = 0;
}
public function A1216443003875B296(){
A1216443003875B617 = 0;
A1216443003890B1462 = new Timer(1000);
A1216443003890B1462.addEventListener("timer", A1216443003875B68);
A1216443003890B1462.start();
}
public function A1216443003875B484(_arg1:Event):void{
A1216443003875B462 = getTimer();
A1216443003890B826 = (A1216443003890B826 + (A1216443003875B462 - A1216443003875B315));
A1216443003875B315 = A1216443003875B462;
if (A1216443003890B826 >= A1216443003890B1190.A1216443003875B71){
A1216443003890B826 = (A1216443003890B826 - A1216443003890B1190.A1216443003875B71);
A1216443003875B617++;
super.A1216443003890B1114();
A1216443003890B960.A1216443003890B1397().A1216443003875B584("UPDATE_Q", A1216443003890B899);
A1216443003890B960.A1216443003890B1397().A1216443003890B1114();
};
}
}
}//package com.jumbledmind.ninjainvasion
Section 93
//A1216443003890B960 (com.jumbledmind.ninjainvasion.A1216443003890B960)
package com.jumbledmind.ninjainvasion {
import flash.display.*;
import flash.text.*;
import com.jumbledmind.games.*;
import com.jumbledmind.games.input.*;
import com.jumbledmind.games.math.*;
import com.jumbledmind.games.transitions.outOfModule.*;
import com.jumbledmind.ninjainvasion.battlemodule.*;
import com.jumbledmind.ninjainvasion.mapmodule.*;
import com.jumbledmind.games.transitions.intoModule.*;
import com.jumbledmind.ninjainvasion.tocmodule.*;
import com.jumbledmind.ninjainvasion.intromodule.*;
import com.jumbledmind.ninjainvasion.endmodule.*;
public class A1216443003890B960 extends A1216443003875B556 {
public static var A1216443003875B422:Boolean = true;
public static var A1216443003890B925:A1216443003875B457;
public static var A1216443003875B666 = "Bonzai";
public static var A1216443003890B929:A1216443003875B594;
private static var A1216443003890B1220:Boolean = A1216443003875B52();
public static var A1216443003890B1067:A1216443003890B965 = new A1216443003890B965(null, new BlackMC(), 0.2);
public static var A1216443003875B273:TextFormat = null;
protected static var A1216443003875B395:A1216443003875B366;
public static var A1216443003875B473:A1216443003890B908;
public static var A1216443003875B353:MovieClip;
public static var A1216443003890B1226:A1216443003875B53;
public static var A1216443003875B311:int;
public static var A1216443003875B153:A1216443003890B965 = new A1216443003890B965(null, new WhiteMC(), 0.2);
public static var fadeOutToBlack:A1216443003890B1224 = new A1216443003890B1224(null, new BlackMC(), 0.2);
public static var A1216443003875B233:Number = 0.1;
private static var A1216443003890B1392:A1216443003890B1307;
public static var A1216443003890B941:A1216443003890B833;
public static var A1216443003875B283:TextFormat = null;
public static var A1216443003890B1439:A1216443003875B294;
public static var A1216443003875B605:A1216443003875B218;
public static var random:A1216443003890B1431;
public static var A1216443003890B793:A1216443003875B429;
public static var A1216443003890B1044:A1216443003875B344;
public static var A1216443003890B950:A1216443003890B722;
public static var A1216443003875B570:A1216443003890B1147 = new A1216443003890B1147(0, 1, 0);
public static var A1216443003890B1203:String = "conquestfactions";
public static var A1216443003875B332:TextFormat = null;
public static var A1216443003890B1205:A1216443003890B1222;
public static var A1216443003875B216:TextFormat = null;
public static var A1216443003875B415:int = 4;
public static var A1216443003875B376:A1216443003890B1224 = new A1216443003890B1224(null, new WhiteMC(), 0.2);
public static var A1216443003890B1249:TextFormat = null;
public static var A1216443003875B32:TextFormat = null;
public static var A1216443003890B1126:int;
public static var A1216443003890B963:int;
public function A1216443003890B960(){
new A1216443003875B67();
instance = this;
}
public function A1216443003875B327(_arg1:int):TextFormat{
return (A1216443003890B1062(A1216443003875B666, _arg1, 0));
}
public function A1216443003890B930():TextFormat{
if (A1216443003875B216 == null){
A1216443003875B216 = A1216443003890B1062(A1216443003875B666, 24, 0);
};
return (A1216443003875B216);
}
public function A1216443003875B657():TextFormat{
if (A1216443003875B283 == null){
A1216443003875B283 = A1216443003890B1062(A1216443003875B666, 24, 0xFFFFFF);
};
return (A1216443003875B283);
}
public function A1216443003890B879():TextFormat{
if (A1216443003875B332 == null){
A1216443003875B332 = A1216443003890B1062(A1216443003875B666, 24, 0);
A1216443003875B332.align = TextFormatAlign.CENTER;
};
return (A1216443003875B332);
}
public function A1216443003875B265():TextFormat{
if (A1216443003890B1249 == null){
A1216443003890B1249 = A1216443003890B1062(A1216443003875B666, 72, 0);
};
return (A1216443003890B1249);
}
public function A1216443003890B966():TextFormat{
if (A1216443003875B32 == null){
A1216443003875B32 = A1216443003890B1062(A1216443003875B666, 72, 0xFFFFFF);
};
return (A1216443003875B32);
}
public static function A1216443003890B1397(){
if (instance == null){
instance = new (A1216443003890B960);
};
return (instance);
}
public static function A1216443003875B572(){
if (A1216443003875B395 == null){
A1216443003875B395 = new A1216443003875B366();
};
return (A1216443003875B395);
}
public static function A1216443003890B1325():A1216443003890B1431{
if (random == null){
random = new A1216443003890B1431((Math.random() * 100), (Math.random() * 100));
};
return (random);
}
public static function A1216443003875B52():Boolean{
return (true);
}
public static function A1216443003890B822():A1216443003890B1307{
if (A1216443003890B1392 == null){
A1216443003890B1392 = new A1216443003890B1307();
};
return (A1216443003890B1392);
}
}
}//package com.jumbledmind.ninjainvasion
Section 94
//MochiScores (mochi.MochiScores)
package mochi {
import flash.display.*;
import flash.text.*;
public class MochiScores {
private static var boardID:String;
public static var onErrorHandler:Object;
public static var onCloseHandler:Object;
public static function showLeaderboard(_arg1:Object=null):void{
var options = _arg1;
if (options != null){
if (options.clip != null){
if ((options.clip is Sprite)){
MochiServices.setContainer(options.clip);
};
delete options.clip;
} else {
MochiServices.setContainer();
};
MochiServices.stayOnTop();
if (options.name != null){
if ((options.name is TextField)){
if (options.name.text.length > 0){
options.name = options.name.text;
};
};
};
if (options.score != null){
if ((options.score is TextField)){
if (options.score.text.length > 0){
options.score = options.score.text;
};
};
};
if (options.onDisplay != null){
options.onDisplay();
} else {
if (MochiServices.clip != null){
if ((MochiServices.clip is MovieClip)){
MochiServices.clip.stop();
//unresolved jump
};
};
};
} else {
options = {};
if ((MochiServices.clip is MovieClip)){
MochiServices.clip.stop();
//unresolved jump
};
};
if (options.onClose != null){
onCloseHandler = options.onClose;
} else {
onCloseHandler = function ():void{
if ((MochiServices.clip is MovieClip)){
MochiServices.clip.play();
//unresolved jump
};
};
};
if (options.onError != null){
onErrorHandler = options.onError;
} else {
onErrorHandler = null;
};
if (options.boardID == null){
if (MochiScores.boardID != null){
options.boardID = MochiScores.boardID;
};
};
MochiServices.send("scores_showLeaderboard", {options:options}, null, onClose);
}
public static function closeLeaderboard():void{
MochiServices.send("scores_closeLeaderboard");
}
public static function getPlayerInfo(_arg1:Object, _arg2:Object=null):void{
MochiServices.send("scores_getPlayerInfo", null, _arg1, _arg2);
}
public static function requestList(_arg1:Object, _arg2:Object=null):void{
MochiServices.send("scores_requestList", null, _arg1, _arg2);
}
public static function scoresArrayToObjects(_arg1:Object):Object{
var _local2:Object;
var _local3:Number;
var _local4:Number;
var _local5:Object;
var _local6:Object;
var _local7:String;
var _local8:String;
_local2 = {};
for (_local7 in _arg1) {
if (typeof(_arg1[_local7]) == "object"){
if (((!((_arg1[_local7].cols == null))) && (!((_arg1[_local7].rows == null))))){
_local2[_local7] = [];
_local5 = _arg1[_local7];
_local4 = 0;
while (_local4 < _local5.rows.length) {
_local6 = {};
_local3 = 0;
while (_local3 < _local5.cols.length) {
_local6[_local5.cols[_local3]] = _local5.rows[_local4][_local3];
_local3++;
};
_local2[_local7].push(_local6);
_local4++;
};
} else {
_local2[_local7] = {};
for (_local8 in _arg1[_local7]) {
_local2[_local7][_local8] = _arg1[_local7][_local8];
};
};
} else {
_local2[_local7] = _arg1[_local7];
};
};
return (_local2);
}
public static function submit(_arg1:Number, _arg2:String, _arg3:Object=null, _arg4:Object=null):void{
MochiServices.send("scores_submit", {score:_arg1, name:_arg2}, _arg3, _arg4);
}
public static function onClose(_arg1:Object=null):void{
if (_arg1 != null){
if (_arg1.error != null){
if (_arg1.error == true){
if (onErrorHandler != null){
if (_arg1.errorCode == null){
_arg1.errorCode = "IOError";
};
onErrorHandler(_arg1.errorCode);
MochiServices.doClose();
return;
};
};
};
};
onCloseHandler();
MochiServices.doClose();
}
public static function setBoardID(_arg1:String):void{
MochiScores.boardID = _arg1;
MochiServices.send("scores_setBoardID", {boardID:_arg1});
}
}
}//package mochi
Section 95
//MochiServices (mochi.MochiServices)
package mochi {
import flash.events.*;
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.system.*;
public class MochiServices {
private static var _container:Object;
private static var _connected:Boolean = false;
private static var _swfVersion:String;
private static var _sendChannel:LocalConnection;
private static var _rcvChannelName:String;
private static var _gatewayURL:String = "http://www.mochiads.com/static/lib/services/services.swf";
private static var _clip:MovieClip;
private static var _loader:Loader;
private static var _id:String;
private static var _listenChannel:LocalConnection;
private static var _timer:Timer;
private static var _sendChannelName:String;
private static var _startTime:Number;
private static var _connecting:Boolean = false;
public static var onError:Object;
private static var _listenChannelName:String = "__mochiservices";
private static var _rcvChannel:LocalConnection;
public static function isNetworkAvailable():Boolean{
return (!((Security.sandboxType == "localWithFile")));
}
public static function send(_arg1:String, _arg2:Object=null, _arg3:Object=null, _arg4:Object=null):void{
if (_connected){
_sendChannel.send(_sendChannelName, "onReceive", {methodName:_arg1, args:_arg2, callbackID:_clip._nextcallbackID});
} else {
if ((((_clip == null)) || (!(_connecting)))){
onError("NotConnected");
handleError(_arg2, _arg3, _arg4);
flush(true);
return;
};
_clip._queue.push({methodName:_arg1, args:_arg2, callbackID:_clip._nextcallbackID});
};
if (_clip != null){
if (((!((_clip._callbacks == null))) && (!((_clip._nextcallbackID == null))))){
_clip._callbacks[_clip._nextcallbackID] = {callbackObject:_arg3, callbackMethod:_arg4};
_clip._nextcallbackID++;
};
};
}
public static function get connected():Boolean{
return (_connected);
}
private static function flush(_arg1:Boolean):void{
var _local2:Object;
var _local3:Object;
if (_clip != null){
if (_clip._queue != null){
while (_clip._queue.length > 0) {
_local2 = _clip._queue.shift();
_local3 = null;
if (_local2 != null){
if (_local2.callbackID != null){
_local3 = _clip._callbacks[_local2.callbackID];
};
delete _clip._callbacks[_local2.callbackID];
if (((_arg1) && (!((_local3 == null))))){
handleError(_local2.args, _local3.callbackObject, _local3.callbackMethod);
};
};
};
};
};
}
private static function init(_arg1:String, _arg2:Object):void{
_id = _arg1;
if (_arg2 != null){
_container = _arg2;
loadCommunicator(_arg1, _container);
};
}
public static function get childClip():Object{
return (_clip);
}
public static function get id():String{
return (_id);
}
public static function stayOnTop():void{
_container.addEventListener(Event.ENTER_FRAME, MochiServices.bringToTop, false, 0, true);
if (_clip != null){
_clip.visible = true;
};
}
public static function getVersion():String{
return ("1.32");
}
public static function disconnect():void{
if (((_connected) || (_connecting))){
if (_clip != null){
if (_clip.parent != null){
if ((_clip.parent is Sprite)){
Sprite(_clip.parent).removeChild(_clip);
_clip = null;
};
};
};
_connecting = (_connected = false);
flush(true);
try {
_listenChannel.close();
_rcvChannel.close();
} catch(error:Error) {
};
};
if (_timer != null){
try {
_timer.stop();
} catch(error:Error) {
};
};
}
public static function allowDomains(_arg1:String):String{
var _local2:String;
Security.allowDomain("*");
Security.allowInsecureDomain("*");
if (_arg1.indexOf("http://") != -1){
_local2 = _arg1.split("/")[2].split(":")[0];
Security.allowDomain(_local2);
Security.allowInsecureDomain(_local2);
};
return (_local2);
}
public static function doClose():void{
_container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop);
if (_clip.parent != null){
Sprite(_clip.parent).removeChild(_clip);
};
}
public static function setContainer(_arg1:Object=null, _arg2:Boolean=true):void{
if (_arg1 != null){
if ((_arg1 is Sprite)){
_container = _arg1;
};
};
if (_arg2){
if ((_container is Sprite)){
Sprite(_container).addChild(_clip);
};
};
}
private static function onStatus(_arg1:StatusEvent):void{
switch (_arg1.level){
case "error":
_connected = false;
_listenChannel.connect(_listenChannelName);
break;
};
}
private static function initComChannels():void{
if (!_connected){
_sendChannel.addEventListener(StatusEvent.STATUS, MochiServices.onStatus);
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_container, version:getVersion()});
_rcvChannel.addEventListener(StatusEvent.STATUS, MochiServices.onStatus);
_clip.onReceive = function (_arg1:Object):void{
var cb:String;
var cblst:Object;
var method:*;
var methodName:String;
var obj:Object;
var pkg = _arg1;
cb = pkg.callbackID;
cblst = this.client._callbacks[cb];
if (!cblst){
return;
};
method = cblst.callbackMethod;
methodName = "";
obj = cblst.callbackObject;
if (((obj) && ((typeof(method) == "string")))){
methodName = method;
if (obj[method] != null){
method = obj[method];
//unresolved jump
};
};
if (method != undefined){
try {
method.apply(obj, pkg.args);
} catch(error:Error) {
};
} else {
if (obj != null){
try {
obj(pkg.args);
} catch(error:Error) {
};
};
};
delete this.client._callbacks[cb];
};
_clip.onError = function ():void{
MochiServices.onError("IOError");
};
_rcvChannel.connect(_rcvChannelName);
_connecting = false;
_connected = true;
_listenChannel.close();
while (_clip._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _clip._queue.shift());
};
};
}
private static function listen():void{
_listenChannel = new LocalConnection();
_listenChannel.client = _clip;
_clip.handshake = function (_arg1:Object):void{
MochiServices.comChannelName = _arg1.newChannel;
};
_listenChannel.allowDomain("*", "localhost");
_listenChannel.allowInsecureDomain("*", "localhost");
_listenChannel.connect(_listenChannelName);
}
private static function handleError(_arg1:Object, _arg2:Object, _arg3:Object):void{
var args = _arg1;
var callbackObject = _arg2;
var callbackMethod = _arg3;
if (args != null){
if (args.onError != null){
args.onError.apply(null, ["NotConnected"]);
};
if (((!((args.options == null))) && (!((args.options.onError == null))))){
args.options.onError.apply(null, ["NotConnected"]);
};
};
if (callbackMethod != null){
args = {};
args.error = true;
args.errorCode = "NotConnected";
if (((!((callbackObject == null))) && ((callbackMethod is String)))){
try {
var _local5 = callbackObject;
_local5[callbackMethod](args);
} catch(error:Error) {
};
} else {
if (callbackMethod != null){
try {
callbackMethod.apply(args);
} catch(error:Error) {
};
};
};
};
}
public static function get clip():Object{
return (_container);
}
public static function set comChannelName(_arg1:String):void{
if (_arg1 != null){
if (_arg1.length > 3){
_sendChannelName = (_arg1 + "_fromgame");
_rcvChannelName = _arg1;
initComChannels();
};
};
}
private static function loadCommunicator(_arg1:String, _arg2:Object):MovieClip{
var clipname:String;
var f:Function;
var req:URLRequest;
var id = _arg1;
var clip = _arg2;
clipname = ("_mochiservices_com_" + id);
if (_clip != null){
return (_clip);
};
if (!MochiServices.isNetworkAvailable()){
return (null);
};
MochiServices.allowDomains(_gatewayURL);
_clip = createEmptyMovieClip(clip, clipname, 10336, false);
_loader = new Loader();
_timer = new Timer(1000, 0);
_startTime = getTimer();
_timer.addEventListener(TimerEvent.TIMER, connectWait);
_timer.start();
f = function (_arg1:Object):void{
_clip._mochiad_ctr_failed = true;
MochiServices.disconnect();
MochiServices.onError("IOError");
};
_loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, f);
req = new URLRequest(_gatewayURL);
_loader.load(req);
_clip.addChild(_loader);
_clip._mochiservices_com = _loader;
_sendChannel = new LocalConnection();
_clip._queue = [];
_rcvChannel = new LocalConnection();
_rcvChannel.allowDomain("*", "localhost");
_rcvChannel.allowInsecureDomain("*", "localhost");
_rcvChannel.client = _clip;
_clip._nextcallbackID = 0;
_clip._callbacks = {};
listen();
return (_clip);
}
public static function bringToTop(_arg1:Event):void{
var e = _arg1;
if (MochiServices.clip != null){
if (MochiServices.childClip != null){
try {
if (MochiServices.clip.numChildren > 1){
MochiServices.clip.setChildIndex(MochiServices.childClip, (MochiServices.clip.numChildren - 1));
};
} catch(errorObject:Error) {
_container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop);
};
};
};
}
public static function connect(_arg1:String, _arg2:Object, _arg3:Object=null):void{
var id = _arg1;
var clip = _arg2;
var onError = _arg3;
if ((clip is DisplayObject)){
if (((!(_connected)) && ((_clip == null)))){
_connecting = true;
init(id, clip);
};
//unresolved jump
};
if (onError != null){
MochiServices.onError = onError;
} else {
if (MochiServices.onError == null){
MochiServices.onError = function (_arg1:String):void{
};
};
};
}
public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Boolean=true):MovieClip{
var mc:MovieClip;
var parent = _arg1;
var name = _arg2;
var depth = _arg3;
var doAdd = _arg4;
mc = new MovieClip();
if (doAdd){
if (((false) && (depth))){
parent.addChildAt(mc, depth);
} else {
parent.addChild(mc);
};
};
try {
parent[name] = mc;
} catch(e:Error) {
throw (new Error("MochiServices requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic."));
};
mc["_name"] = name;
return (mc);
}
public static function connectWait(_arg1:TimerEvent):void{
if ((getTimer() - _startTime) > 10000){
if (!_connected){
_clip._mochiad_ctr_failed = true;
MochiServices.disconnect();
MochiServices.onError("IOError");
};
_timer.stop();
};
}
}
}//package mochi
Section 96
//AdjustAmtBkgndMC (AdjustAmtBkgndMC)
package {
import flash.display.*;
public dynamic class AdjustAmtBkgndMC extends MovieClip {
}
}//package
Section 97
//Area10GMC (Area10GMC)
package {
import flash.display.*;
public dynamic class Area10GMC extends MovieClip {
}
}//package
Section 98
//Area10OMC (Area10OMC)
package {
import flash.display.*;
public dynamic class Area10OMC extends MovieClip {
}
}//package
Section 99
//Area10RMC (Area10RMC)
package {
import flash.display.*;
public dynamic class Area10RMC extends MovieClip {
}
}//package
Section 100
//Area10YMC (Area10YMC)
package {
import flash.display.*;
public dynamic class Area10YMC extends MovieClip {
}
}//package
Section 101
//Area11GMC (Area11GMC)
package {
import flash.display.*;
public dynamic class Area11GMC extends MovieClip {
}
}//package
Section 102
//Area11OMC (Area11OMC)
package {
import flash.display.*;
public dynamic class Area11OMC extends MovieClip {
}
}//package
Section 103
//Area11RMC (Area11RMC)
package {
import flash.display.*;
public dynamic class Area11RMC extends MovieClip {
}
}//package
Section 104
//Area11YMC (Area11YMC)
package {
import flash.display.*;
public dynamic class Area11YMC extends MovieClip {
}
}//package
Section 105
//Area12GMC (Area12GMC)
package {
import flash.display.*;
public dynamic class Area12GMC extends MovieClip {
}
}//package
Section 106
//Area12OMC (Area12OMC)
package {
import flash.display.*;
public dynamic class Area12OMC extends MovieClip {
}
}//package
Section 107
//Area12RMC (Area12RMC)
package {
import flash.display.*;
public dynamic class Area12RMC extends MovieClip {
}
}//package
Section 108
//Area12YMC (Area12YMC)
package {
import flash.display.*;
public dynamic class Area12YMC extends MovieClip {
}
}//package
Section 109
//Area13GMC (Area13GMC)
package {
import flash.display.*;
public dynamic class Area13GMC extends MovieClip {
}
}//package
Section 110
//Area13OMC (Area13OMC)
package {
import flash.display.*;
public dynamic class Area13OMC extends MovieClip {
}
}//package
Section 111
//Area13RMC (Area13RMC)
package {
import flash.display.*;
public dynamic class Area13RMC extends MovieClip {
}
}//package
Section 112
//Area13YMC (Area13YMC)
package {
import flash.display.*;
public dynamic class Area13YMC extends MovieClip {
}
}//package
Section 113
//Area14GMC (Area14GMC)
package {
import flash.display.*;
public dynamic class Area14GMC extends MovieClip {
}
}//package
Section 114
//Area14OMC (Area14OMC)
package {
import flash.display.*;
public dynamic class Area14OMC extends MovieClip {
}
}//package
Section 115
//Area14RMC (Area14RMC)
package {
import flash.display.*;
public dynamic class Area14RMC extends MovieClip {
}
}//package
Section 116
//Area14YMC (Area14YMC)
package {
import flash.display.*;
public dynamic class Area14YMC extends MovieClip {
}
}//package
Section 117
//Area15GMC (Area15GMC)
package {
import flash.display.*;
public dynamic class Area15GMC extends MovieClip {
}
}//package
Section 118
//Area15OMC (Area15OMC)
package {
import flash.display.*;
public dynamic class Area15OMC extends MovieClip {
}
}//package
Section 119
//Area15RMC (Area15RMC)
package {
import flash.display.*;
public dynamic class Area15RMC extends MovieClip {
}
}//package
Section 120
//Area15YMC (Area15YMC)
package {
import flash.display.*;
public dynamic class Area15YMC extends MovieClip {
}
}//package
Section 121
//Area16GMC (Area16GMC)
package {
import flash.display.*;
public dynamic class Area16GMC extends MovieClip {
}
}//package
Section 122
//Area16OMC (Area16OMC)
package {
import flash.display.*;
public dynamic class Area16OMC extends MovieClip {
}
}//package
Section 123
//Area16RMC (Area16RMC)
package {
import flash.display.*;
public dynamic class Area16RMC extends MovieClip {
}
}//package
Section 124
//Area16YMC (Area16YMC)
package {
import flash.display.*;
public dynamic class Area16YMC extends MovieClip {
}
}//package
Section 125
//Area17GMC (Area17GMC)
package {
import flash.display.*;
public dynamic class Area17GMC extends MovieClip {
}
}//package
Section 126
//Area17OMC (Area17OMC)
package {
import flash.display.*;
public dynamic class Area17OMC extends MovieClip {
}
}//package
Section 127
//Area17RMC (Area17RMC)
package {
import flash.display.*;
public dynamic class Area17RMC extends MovieClip {
}
}//package
Section 128
//Area17YMC (Area17YMC)
package {
import flash.display.*;
public dynamic class Area17YMC extends MovieClip {
}
}//package
Section 129
//Area18GMC (Area18GMC)
package {
import flash.display.*;
public dynamic class Area18GMC extends MovieClip {
}
}//package
Section 130
//Area18OMC (Area18OMC)
package {
import flash.display.*;
public dynamic class Area18OMC extends MovieClip {
}
}//package
Section 131
//Area18RMC (Area18RMC)
package {
import flash.display.*;
public dynamic class Area18RMC extends MovieClip {
}
}//package
Section 132
//Area18YMC (Area18YMC)
package {
import flash.display.*;
public dynamic class Area18YMC extends MovieClip {
}
}//package
Section 133
//Area1GMC (Area1GMC)
package {
import flash.display.*;
public dynamic class Area1GMC extends MovieClip {
}
}//package
Section 134
//Area1OMC (Area1OMC)
package {
import flash.display.*;
public dynamic class Area1OMC extends MovieClip {
}
}//package
Section 135
//Area1RMC (Area1RMC)
package {
import flash.display.*;
public dynamic class Area1RMC extends MovieClip {
}
}//package
Section 136
//Area1YMC (Area1YMC)
package {
import flash.display.*;
public dynamic class Area1YMC extends MovieClip {
}
}//package
Section 137
//Area2GMC (Area2GMC)
package {
import flash.display.*;
public dynamic class Area2GMC extends MovieClip {
}
}//package
Section 138
//Area2OMC (Area2OMC)
package {
import flash.display.*;
public dynamic class Area2OMC extends MovieClip {
}
}//package
Section 139
//Area2RMC (Area2RMC)
package {
import flash.display.*;
public dynamic class Area2RMC extends MovieClip {
}
}//package
Section 140
//Area2YMC (Area2YMC)
package {
import flash.display.*;
public dynamic class Area2YMC extends MovieClip {
}
}//package
Section 141
//Area3GMC (Area3GMC)
package {
import flash.display.*;
public dynamic class Area3GMC extends MovieClip {
}
}//package
Section 142
//Area3OMC (Area3OMC)
package {
import flash.display.*;
public dynamic class Area3OMC extends MovieClip {
}
}//package
Section 143
//Area3RMC (Area3RMC)
package {
import flash.display.*;
public dynamic class Area3RMC extends MovieClip {
}
}//package
Section 144
//Area3YMC (Area3YMC)
package {
import flash.display.*;
public dynamic class Area3YMC extends MovieClip {
}
}//package
Section 145
//Area4GMC (Area4GMC)
package {
import flash.display.*;
public dynamic class Area4GMC extends MovieClip {
}
}//package
Section 146
//Area4OMC (Area4OMC)
package {
import flash.display.*;
public dynamic class Area4OMC extends MovieClip {
}
}//package
Section 147
//Area4RMC (Area4RMC)
package {
import flash.display.*;
public dynamic class Area4RMC extends MovieClip {
}
}//package
Section 148
//Area4YMC (Area4YMC)
package {
import flash.display.*;
public dynamic class Area4YMC extends MovieClip {
}
}//package
Section 149
//Area5GMC (Area5GMC)
package {
import flash.display.*;
public dynamic class Area5GMC extends MovieClip {
}
}//package
Section 150
//Area5OMC (Area5OMC)
package {
import flash.display.*;
public dynamic class Area5OMC extends MovieClip {
}
}//package
Section 151
//Area5RMC (Area5RMC)
package {
import flash.display.*;
public dynamic class Area5RMC extends MovieClip {
}
}//package
Section 152
//Area5YMC (Area5YMC)
package {
import flash.display.*;
public dynamic class Area5YMC extends MovieClip {
}
}//package
Section 153
//Area6GMC (Area6GMC)
package {
import flash.display.*;
public dynamic class Area6GMC extends MovieClip {
}
}//package
Section 154
//Area6OMC (Area6OMC)
package {
import flash.display.*;
public dynamic class Area6OMC extends MovieClip {
}
}//package
Section 155
//Area6RMC (Area6RMC)
package {
import flash.display.*;
public dynamic class Area6RMC extends MovieClip {
}
}//package
Section 156
//Area6YMC (Area6YMC)
package {
import flash.display.*;
public dynamic class Area6YMC extends MovieClip {
}
}//package
Section 157
//Area7GMC (Area7GMC)
package {
import flash.display.*;
public dynamic class Area7GMC extends MovieClip {
}
}//package
Section 158
//Area7OMC (Area7OMC)
package {
import flash.display.*;
public dynamic class Area7OMC extends MovieClip {
}
}//package
Section 159
//Area7RMC (Area7RMC)
package {
import flash.display.*;
public dynamic class Area7RMC extends MovieClip {
}
}//package
Section 160
//Area7YMC (Area7YMC)
package {
import flash.display.*;
public dynamic class Area7YMC extends MovieClip {
}
}//package
Section 161
//Area8GMC (Area8GMC)
package {
import flash.display.*;
public dynamic class Area8GMC extends MovieClip {
}
}//package
Section 162
//Area8OMC (Area8OMC)
package {
import flash.display.*;
public dynamic class Area8OMC extends MovieClip {
}
}//package
Section 163
//Area8RMC (Area8RMC)
package {
import flash.display.*;
public dynamic class Area8RMC extends MovieClip {
}
}//package
Section 164
//Area8YMC (Area8YMC)
package {
import flash.display.*;
public dynamic class Area8YMC extends MovieClip {
}
}//package
Section 165
//Area9GMC (Area9GMC)
package {
import flash.display.*;
public dynamic class Area9GMC extends MovieClip {
}
}//package
Section 166
//Area9OMC (Area9OMC)
package {
import flash.display.*;
public dynamic class Area9OMC extends MovieClip {
}
}//package
Section 167
//Area9RMC (Area9RMC)
package {
import flash.display.*;
public dynamic class Area9RMC extends MovieClip {
}
}//package
Section 168
//Area9YMC (Area9YMC)
package {
import flash.display.*;
public dynamic class Area9YMC extends MovieClip {
}
}//package
Section 169
//ArmGMC (ArmGMC)
package {
import flash.display.*;
public dynamic class ArmGMC extends MovieClip {
}
}//package
Section 170
//ArmOMC (ArmOMC)
package {
import flash.display.*;
public dynamic class ArmOMC extends MovieClip {
}
}//package
Section 171
//ArmRMC (ArmRMC)
package {
import flash.display.*;
public dynamic class ArmRMC extends MovieClip {
}
}//package
Section 172
//ArmYMC (ArmYMC)
package {
import flash.display.*;
public dynamic class ArmYMC extends MovieClip {
}
}//package
Section 173
//ArrowSFX (ArrowSFX)
package {
import flash.media.*;
public dynamic class ArrowSFX extends Sound {
}
}//package
Section 174
//ArrowsMC (ArrowsMC)
package {
import flash.display.*;
public dynamic class ArrowsMC extends MovieClip {
}
}//package
Section 175
//BattleResultsStatusMC (BattleResultsStatusMC)
package {
import flash.display.*;
public dynamic class BattleResultsStatusMC extends MovieClip {
}
}//package
Section 176
//BigArrowsMC (BigArrowsMC)
package {
import flash.display.*;
public dynamic class BigArrowsMC extends MovieClip {
}
}//package
Section 177
//BigFishGamesMC (BigFishGamesMC)
package {
import flash.display.*;
public dynamic class BigFishGamesMC extends MovieClip {
public function BigFishGamesMC(){
addFrameScript(77, frame78);
}
function frame78(){
this.stop();
}
}
}//package
Section 178
//BigNinjaIconGMC (BigNinjaIconGMC)
package {
import flash.display.*;
public dynamic class BigNinjaIconGMC extends MovieClip {
}
}//package
Section 179
//BigNinjaIconOMC (BigNinjaIconOMC)
package {
import flash.display.*;
public dynamic class BigNinjaIconOMC extends MovieClip {
}
}//package
Section 180
//BigNinjaIconRMC (BigNinjaIconRMC)
package {
import flash.display.*;
public dynamic class BigNinjaIconRMC extends MovieClip {
}
}//package
Section 181
//BigNinjaIconYMC (BigNinjaIconYMC)
package {
import flash.display.*;
public dynamic class BigNinjaIconYMC extends MovieClip {
}
}//package
Section 182
//BigPaperMC (BigPaperMC)
package {
import flash.display.*;
public dynamic class BigPaperMC extends MovieClip {
}
}//package
Section 183
//BigRockMC (BigRockMC)
package {
import flash.display.*;
public dynamic class BigRockMC extends MovieClip {
}
}//package
Section 184
//BigSamuraiIconGMC (BigSamuraiIconGMC)
package {
import flash.display.*;
public dynamic class BigSamuraiIconGMC extends MovieClip {
}
}//package
Section 185
//BigSamuraiIconOMC (BigSamuraiIconOMC)
package {
import flash.display.*;
public dynamic class BigSamuraiIconOMC extends MovieClip {
}
}//package
Section 186
//BigSamuraiIconRMC (BigSamuraiIconRMC)
package {
import flash.display.*;
public dynamic class BigSamuraiIconRMC extends MovieClip {
}
}//package
Section 187
//BigSamuraiIconYMC (BigSamuraiIconYMC)
package {
import flash.display.*;
public dynamic class BigSamuraiIconYMC extends MovieClip {
}
}//package
Section 188
//BigScissorsMC (BigScissorsMC)
package {
import flash.display.*;
public dynamic class BigScissorsMC extends MovieClip {
}
}//package
Section 189
//BlackMC (BlackMC)
package {
import flash.display.*;
public dynamic class BlackMC extends MovieClip {
}
}//package
Section 190
//BlackScreenMC (BlackScreenMC)
package {
import flash.display.*;
public dynamic class BlackScreenMC extends MovieClip {
}
}//package
Section 191
//BlueMC (BlueMC)
package {
import flash.display.*;
public dynamic class BlueMC extends MovieClip {
}
}//package
Section 192
//BottomBarMC (BottomBarMC)
package {
import flash.display.*;
public dynamic class BottomBarMC extends MovieClip {
}
}//package
Section 193
//BuyUnitSFX (BuyUnitSFX)
package {
import flash.media.*;
public dynamic class BuyUnitSFX extends Sound {
}
}//package
Section 194
//ClanNumbersMC (ClanNumbersMC)
package {
import flash.display.*;
public dynamic class ClanNumbersMC extends MovieClip {
}
}//package
Section 195
//ClanStatusMC (ClanStatusMC)
package {
import flash.display.*;
public dynamic class ClanStatusMC extends MovieClip {
}
}//package
Section 196
//ClickSFX (ClickSFX)
package {
import flash.media.*;
public dynamic class ClickSFX extends Sound {
}
}//package
Section 197
//DeathFizzleSFX (DeathFizzleSFX)
package {
import flash.media.*;
public dynamic class DeathFizzleSFX extends Sound {
}
}//package
Section 198
//EmptyRPSMC (EmptyRPSMC)
package {
import flash.display.*;
public dynamic class EmptyRPSMC extends MovieClip {
}
}//package
Section 199
//FadeInSFX (FadeInSFX)
package {
import flash.media.*;
public dynamic class FadeInSFX extends Sound {
}
}//package
Section 200
//FinishTurnMC (FinishTurnMC)
package {
import flash.display.*;
public dynamic class FinishTurnMC extends MovieClip {
}
}//package
Section 201
//GameTextMC (GameTextMC)
package {
import flash.display.*;
public dynamic class GameTextMC extends MovieClip {
}
}//package
Section 202
//GrassValleyMC (GrassValleyMC)
package {
import flash.display.*;
public dynamic class GrassValleyMC extends MovieClip {
}
}//package
Section 203
//LockedMC (LockedMC)
package {
import flash.display.*;
public dynamic class LockedMC extends MovieClip {
}
}//package
Section 204
//MainMenuMC (MainMenuMC)
package {
import flash.display.*;
public dynamic class MainMenuMC extends MovieClip {
}
}//package
Section 205
//MapMC (MapMC)
package {
import flash.display.*;
public dynamic class MapMC extends MovieClip {
}
}//package
Section 206
//MenuMC (MenuMC)
package {
import flash.display.*;
public dynamic class MenuMC extends MovieClip {
}
}//package
Section 207
//MenuSFX (MenuSFX)
package {
import flash.media.*;
public dynamic class MenuSFX extends Sound {
}
}//package
Section 208
//MinusMC (MinusMC)
package {
import flash.display.*;
public dynamic class MinusMC extends MovieClip {
}
}//package
Section 209
//MochiAd (MochiAd)
package {
import flash.events.*;
import flash.utils.*;
import flash.display.*;
import flash.net.*;
import flash.system.*;
public class MochiAd {
public static function getVersion():String{
return ("2.2");
}
public static function showTimedAd(_arg1:Object):void{
MochiAd.showInterLevelAd(_arg1);
}
public static function _allowDomains(_arg1:String):String{
var _local2:String;
_local2 = _arg1.split("/")[2].split(":")[0];
Security.allowDomain("*");
Security.allowDomain(_local2);
Security.allowInsecureDomain("*");
Security.allowInsecureDomain(_local2);
return (_local2);
}
public static function load(_arg1:Object):MovieClip{
var DEFAULTS:Object;
var clip:Object;
var depth:Number;
var mc:MovieClip;
var wh:Array;
var lv:URLVariables;
var k:String;
var server:String;
var hostname:String;
var lc:LocalConnection;
var name:String;
var loader:Loader;
var f:Function;
var g:Function;
var req:URLRequest;
var v:Object;
var options = _arg1;
DEFAULTS = {server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = MochiAd._parseOptions(options, DEFAULTS);
options.swfv = 9;
options.mav = MochiAd.getVersion();
clip = options.clip;
if (!MochiAd._isNetworkAvailable()){
return (null);
};
try {
if (clip._mochiad_loaded){
return (null);
};
} catch(e:Error) {
throw (new Error("MochiAd requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic."));
};
depth = options.depth;
delete options.depth;
mc = createEmptyMovieClip(clip, "_mochiad", depth);
wh = MochiAd._getRes(options, clip);
options.res = ((wh[0] + "x") + wh[1]);
options.server = (options.server + options.id);
delete options.id;
clip._mochiad_loaded = true;
if (clip.loaderInfo.loaderURL.indexOf("http") == 0){
options.as3_swf = clip.loaderInfo.loaderURL;
};
lv = new URLVariables();
for (k in options) {
v = options[k];
if (!(v is Function)){
lv[k] = v;
};
};
server = lv.server;
delete lv.server;
hostname = _allowDomains(server);
lc = new LocalConnection();
lc.client = mc;
name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_");
lc.allowDomain("*", "localhost");
lc.allowInsecureDomain("*", "localhost");
lc.connect(name);
mc.lc = lc;
lv.lc = name;
lv.st = getTimer();
loader = new Loader();
f = function (_arg1:Object):void{
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
mc._mochiad_ctr_failed = true;
};
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, f);
g = function (_arg1:Object):void{
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
MochiAd.unload(clip);
};
loader.contentLoaderInfo.addEventListener(Event.UNLOAD, g);
req = new URLRequest((server + ".swf"));
req.contentType = "application/x-www-form-urlencoded";
req.method = URLRequestMethod.POST;
req.data = lv;
loader.load(req);
mc.addChild(loader);
mc._mochiad_ctr = loader;
return (mc);
}
public static function sendHighScore(_arg1:Object, _arg2:Object, _arg3:Object=null):Boolean{
var _local4:MovieClip;
_local4 = MochiAd._loadCommunicator({clip:_arg1.clip, id:_arg1.id});
if (!_local4){
return (false);
};
_local4.doSend(["sendHighScore", _arg1], _arg2, _arg3);
return (true);
}
public static function _parseOptions(_arg1:Object, _arg2:Object):Object{
var _local3:Object;
var _local4:String;
var _local5:Array;
var _local6:Number;
var _local7:Array;
_local3 = {};
for (_local4 in _arg2) {
_local3[_local4] = _arg2[_local4];
};
if (_arg1){
for (_local4 in _arg1) {
_local3[_local4] = _arg1[_local4];
};
};
if (_local3.clip == undefined){
throw (new Error("MochiAd is missing the 'clip' parameter. This should be a MovieClip, Sprite or an instance of a class that extends MovieClip or Sprite."));
};
_arg1 = _local3.clip.loaderInfo.parameters.mochiad_options;
if (_arg1){
_local5 = _arg1.split("&");
_local6 = 0;
while (_local6 < _local5.length) {
_local7 = _local5[_local6].split("=");
_local3[unescape(_local7[0])] = unescape(_local7[1]);
_local6++;
};
};
if (_local3.id == "test"){
};
return (_local3);
}
public static function _isNetworkAvailable():Boolean{
return (!((Security.sandboxType == "localWithFile")));
}
public static function _cleanup(_arg1:Object):void{
var idx:Number;
var k:String;
var lc:LocalConnection;
var f:Function;
var mc = _arg1;
if (("lc" in mc)){
lc = mc.lc;
f = function ():void{
try {
lc.client = null;
lc.close();
} catch(e:Error) {
};
};
setTimeout(f, 0);
};
idx = DisplayObjectContainer(mc).numChildren;
while (idx > 0) {
idx = (idx - 1);
DisplayObjectContainer(mc).removeChildAt(idx);
};
for (k in mc) {
delete mc[k];
};
}
public static function unload(_arg1:Object):Boolean{
if (((_arg1.clip) && (_arg1.clip._mochiad))){
_arg1 = _arg1.clip;
};
if (!_arg1._mochiad){
return (false);
};
if (_arg1._mochiad.onUnload){
_arg1._mochiad.onUnload();
};
delete _arg1._mochiad_loaded;
delete _arg1._mochiad;
return (true);
}
public static function showInterLevelAd(_arg1:Object):void{
var DEFAULTS:Object;
var clip:Object;
var ad_msec:Number;
var ad_timeout:Number;
var fadeout_time:Number;
var mc:MovieClip;
var wh:Array;
var w:Number;
var h:Number;
var chk:MovieClip;
var options = _arg1;
DEFAULTS = {ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function ():void{
if ((this.clip is MovieClip)){
this.clip.stop();
} else {
throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers."));
};
}, ad_finished:function ():void{
if ((this.clip is MovieClip)){
this.clip.play();
} else {
throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers."));
};
}};
options = MochiAd._parseOptions(options, DEFAULTS);
clip = options.clip;
ad_msec = 11000;
ad_timeout = options.ad_timeout;
delete options.ad_timeout;
fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!MochiAd.load(options)){
options.ad_finished();
return;
};
options.ad_started();
mc = clip._mochiad;
mc["onUnload"] = function ():void{
MochiAd._cleanup(mc);
options.ad_finished();
};
wh = MochiAd._getRes(options, clip);
w = wh[0];
h = wh[1];
mc.x = (w * 0.5);
mc.y = (h * 0.5);
chk = createEmptyMovieClip(mc, "_mochiad_wait", 3);
chk.ad_msec = ad_msec;
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function ():void{
var _local1:Number;
if (!this.parent){
delete this.onEnterFrame;
delete this.fadeFunction;
return;
};
_local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)));
if (_local1 > 0){
this.parent.alpha = (_local1 * 0.01);
} else {
MochiAd.unload(clip);
delete this["onEnterFrame"];
};
};
mc.unloadAd = function ():void{
MochiAd.unload(clip);
};
mc.adjustProgress = function (_arg1:Number):void{
var _local2:Object;
_local2 = mc._mochiad_wait;
_local2.server_control = true;
_local2.showing = true;
_local2.started = getTimer();
_local2.ad_msec = (_arg1 - 250);
};
chk["onEnterFrame"] = function ():void{
var _local1:Object;
var _local2:Number;
var _local3:Boolean;
var _local4:Number;
if (!this.parent){
delete this.onEnterFrame;
delete this.fadeFunction;
return;
};
_local1 = this.parent._mochiad_ctr;
_local2 = (getTimer() - this.started);
_local3 = false;
if (!chk.showing){
_local4 = _local1.loaderInfo.bytesTotal;
if ((((_local4 > 0)) || (("number" == "undefined")))){
chk.showing = true;
chk.started = getTimer();
} else {
if (_local2 > chk.ad_timeout){
_local3 = true;
};
};
};
if ((((_local2 > chk.ad_msec)) || (this.parent._mochiad_ctr_failed))){
_local3 = true;
};
if (_local3){
if (this.server_control){
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
};
};
};
doOnEnterFrame(chk);
}
public static function _getRes(_arg1:Object, _arg2:Object):Array{
var _local3:Object;
var _local4:Number;
var _local5:Number;
var _local6:Array;
_local3 = _arg2.getBounds(_arg2.root);
_local4 = 0;
_local5 = 0;
if (typeof(_arg1.res) != "undefined"){
_local6 = _arg1.res.split("x");
_local4 = parseFloat(_local6[0]);
_local5 = parseFloat(_local6[1]);
} else {
_local4 = (_local3.xMax - _local3.xMin);
_local5 = (_local3.yMax - _local3.yMin);
};
if ((((_local4 == 0)) || ((_local5 == 0)))){
_local4 = _arg2.stage.stageWidth;
_local5 = _arg2.stage.stageHeight;
};
return ([_local4, _local5]);
}
public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number):MovieClip{
var _local4:MovieClip;
_local4 = new MovieClip();
if (((false) && (_arg3))){
_arg1.addChildAt(_local4, _arg3);
} else {
_arg1.addChild(_local4);
};
_arg1[_arg2] = _local4;
_local4["_name"] = _arg2;
return (_local4);
}
public static function _loadCommunicator(_arg1:Object):MovieClip{
var DEFAULTS:Object;
var clip:Object;
var clipname:String;
var server:String;
var depth:Number;
var mc:MovieClip;
var lv:URLVariables;
var k:String;
var lc:LocalConnection;
var name:String;
var req:URLRequest;
var loader:Loader;
var options = _arg1;
DEFAULTS = {com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"};
options = MochiAd._parseOptions(options, DEFAULTS);
options.swfv = 9;
options.mav = MochiAd.getVersion();
clip = options.clip;
clipname = ("_mochiad_com_" + options.id);
if (!MochiAd._isNetworkAvailable()){
return (null);
};
if (clip[clipname]){
return (clip[clipname]);
};
server = (options.com_server + options.id);
MochiAd._allowDomains(server);
delete options.id;
delete options.com_server;
depth = options.depth;
delete options.depth;
mc = createEmptyMovieClip(clip, clipname, depth);
lv = new URLVariables();
for (k in options) {
lv[k] = options[k];
};
lc = new LocalConnection();
lc.client = mc;
name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_");
lc.allowDomain("*", "localhost");
lc.allowInsecureDomain("*", "localhost");
lc.connect(name);
mc.name = name;
mc.lc = lc;
lv.lc = name;
mc._id = 0;
mc._queue = [];
mc.rpcResult = function (_arg1:Object):void{
var _local3:Array;
var _local4:Array;
var _local5:Number;
var _local6:Object;
var _local7:Object;
_arg1 = parseInt(_arg1.toString());
_local3 = mc._callbacks[_arg1];
if (typeof(_local3) == "undefined"){
return;
};
delete mc._callbacks[_arg1];
_local4 = [];
_local5 = 2;
while (_local5 < _local3.length) {
_local4.push(_local3[_local5]);
_local5++;
};
_local5 = 1;
while (_local5 < arguments.length) {
_local4.push(arguments[_local5]);
_local5++;
};
_local6 = _local3[1];
_local7 = _local3[0];
if (((_local7) && ((typeof(_local6) == "string")))){
_local6 = _local7[_local6];
};
if (typeof(_local6) == "function"){
_local6.apply(_local7, _local4);
};
};
mc._didConnect = function (_arg1:String):void{
var _local2:Array;
var _local3:Function;
var _local4:Number;
var _local5:Array;
mc._endpoint = _arg1;
_local2 = mc._queue;
delete mc._queue;
_local3 = mc.doSend;
_local4 = 0;
while (_local4 < _local2.length) {
_local5 = _local2[_local4];
_local3.apply(this, _local5);
_local4++;
};
};
mc.doSend = function (_arg1:Array, _arg2:Object, _arg3:Object):void{
var _local5:Number;
var _local6:LocalConnection;
var _local7:Array;
var _local8:Number;
if (mc._endpoint == null){
_local7 = [];
_local8 = 0;
while (_local8 < arguments.length) {
_local7.push(arguments[_local8]);
_local8++;
};
mc._queue.push(_local7);
return;
};
mc._id = (mc._id + 1);
_local5 = mc._id;
mc._callbacks[_local5] = [_arg2, ((_arg3) || (_arg2))];
_local6 = new LocalConnection();
_local6.send(mc._endpoint, "rpc", _local5, _arg1);
};
mc._callbacks = {};
mc._callbacks[0] = [mc, "_didConnect"];
lv.st = getTimer();
req = new URLRequest((server + ".swf"));
req.contentType = "application/x-www-form-urlencoded";
req.method = URLRequestMethod.POST;
req.data = lv;
loader = new Loader();
loader.load(req);
mc.addChild(loader);
mc._mochiad_com = loader;
return (mc);
}
public static function showPreGameAd(_arg1:Object):void{
var DEFAULTS:Object;
var clip:Object;
var ad_msec:Number;
var ad_timeout:Number;
var fadeout_time:Number;
var mc:MovieClip;
var wh:Array;
var w:Number;
var h:Number;
var chk:MovieClip;
var bar:MovieClip;
var bar_color:Number;
var bar_background:Number;
var bar_outline:Number;
var backing_mc:MovieClip;
var backing:Object;
var inside_mc:MovieClip;
var inside:Object;
var outline_mc:MovieClip;
var outline:Object;
var complete:Boolean;
var unloaded:Boolean;
var f:Function;
var r:MovieClip;
var options = _arg1;
DEFAULTS = {ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:0xFF8A00, background:16777161, outline:13994812, ad_started:function ():void{
if ((this.clip is MovieClip)){
this.clip.stop();
} else {
throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers."));
};
}, ad_finished:function ():void{
if ((this.clip is MovieClip)){
this.clip.play();
} else {
throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers."));
};
}};
options = MochiAd._parseOptions(options, DEFAULTS);
clip = options.clip;
ad_msec = 11000;
ad_timeout = options.ad_timeout;
delete options.ad_timeout;
fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!MochiAd.load(options)){
options.ad_finished();
return;
};
options.ad_started();
mc = clip._mochiad;
mc["onUnload"] = function ():void{
var fn:Function;
MochiAd._cleanup(mc);
fn = function ():void{
options.ad_finished();
};
setTimeout(fn, 100);
};
wh = MochiAd._getRes(options, clip);
w = wh[0];
h = wh[1];
mc.x = (w * 0.5);
mc.y = (h * 0.5);
chk = createEmptyMovieClip(mc, "_mochiad_wait", 3);
chk.x = (w * -0.5);
chk.y = (h * -0.5);
bar = createEmptyMovieClip(chk, "_mochiad_bar", 4);
bar.x = 10;
bar.y = (h - 20);
bar_color = options.color;
delete options.color;
bar_background = options.background;
delete options.background;
bar_outline = options.outline;
delete options.outline;
backing_mc = createEmptyMovieClip(bar, "_outline", 1);
backing = backing_mc.graphics;
backing.beginFill(bar_background);
backing.moveTo(0, 0);
backing.lineTo((w - 20), 0);
backing.lineTo((w - 20), 10);
backing.lineTo(0, 10);
backing.lineTo(0, 0);
backing.endFill();
inside_mc = createEmptyMovieClip(bar, "_inside", 2);
inside = inside_mc.graphics;
inside.beginFill(bar_color);
inside.moveTo(0, 0);
inside.lineTo((w - 20), 0);
inside.lineTo((w - 20), 10);
inside.lineTo(0, 10);
inside.lineTo(0, 0);
inside.endFill();
inside_mc.scaleX = 0;
outline_mc = createEmptyMovieClip(bar, "_outline", 3);
outline = outline_mc.graphics;
outline.lineStyle(0, bar_outline, 100);
outline.moveTo(0, 0);
outline.lineTo((w - 20), 0);
outline.lineTo((w - 20), 10);
outline.lineTo(0, 10);
outline.lineTo(0, 0);
chk.ad_msec = ad_msec;
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function ():void{
var _local1:Number;
_local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)));
if (_local1 > 0){
this.parent.alpha = (_local1 * 0.01);
} else {
MochiAd.unload(clip);
delete this["onEnterFrame"];
};
};
complete = false;
unloaded = false;
f = function (_arg1:Event):void{
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
complete = true;
if (unloaded){
MochiAd.unload(clip);
};
};
clip.loaderInfo.addEventListener(Event.COMPLETE, f);
if ((clip.root is MovieClip)){
r = (clip.root as MovieClip);
if (r.framesLoaded >= r.totalFrames){
complete = true;
};
};
mc.unloadAd = function ():void{
unloaded = true;
if (complete){
MochiAd.unload(clip);
};
};
mc.adjustProgress = function (_arg1:Number):void{
var _local2:Object;
_local2 = mc._mochiad_wait;
_local2.server_control = true;
_local2.showing = true;
_local2.started = getTimer();
_local2.ad_msec = _arg1;
};
chk["onEnterFrame"] = function ():void{
var _local1:Object;
var _local2:Object;
var _local3:Number;
var _local4:Boolean;
var _local5:Number;
var _local6:Number;
var _local7:Number;
var _local8:Number;
var _local9:Object;
var _local10:Number;
var _local11:Number;
if (!this.parent.parent){
delete this["onEnterFrame"];
return;
};
_local1 = this.parent.parent.root;
_local2 = this.parent._mochiad_ctr;
_local3 = (getTimer() - this.started);
_local4 = false;
_local5 = _local1.loaderInfo.bytesTotal;
_local6 = _local1.loaderInfo.bytesLoaded;
if (complete){
_local6 = Math.max(1, _local6);
_local5 = _local6;
};
_local7 = ((100 * _local6) / _local5);
_local8 = ((100 * _local3) / chk.ad_msec);
_local9 = this._mochiad_bar._inside;
_local10 = Math.min(100, Math.min(((_local7) || (0)), _local8));
_local10 = Math.max(this.last_pcnt, _local10);
this.last_pcnt = _local10;
_local9.scaleX = (_local10 * 0.01);
if (!chk.showing){
_local11 = _local2.loaderInfo.bytesTotal;
if ((((_local11 > 0)) || (("number" == "undefined")))){
chk.showing = true;
chk.started = getTimer();
} else {
if (_local3 > chk.ad_timeout){
_local4 = true;
};
};
};
if ((((_local3 > chk.ad_msec)) || (this.parent._mochiad_ctr_failed))){
_local4 = true;
};
if (((complete) && (_local4))){
if (this.server_control){
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
};
};
};
doOnEnterFrame(chk);
}
public static function showPreloaderAd(_arg1:Object):void{
MochiAd.showPreGameAd(_arg1);
}
public static function fetchHighScores(_arg1:Object, _arg2:Object, _arg3:Object=null):Boolean{
var _local4:MovieClip;
_local4 = MochiAd._loadCommunicator({clip:_arg1.clip, id:_arg1.id});
if (!_local4){
return (false);
};
_local4.doSend(["fetchHighScores", _arg1], _arg2, _arg3);
return (true);
}
public static function doOnEnterFrame(_arg1:MovieClip):void{
var f:Function;
var mc = _arg1;
f = function (_arg1:Object):void{
if (((("onEnterFrame" in mc)) && (mc.onEnterFrame))){
mc.onEnterFrame();
} else {
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
};
};
mc.addEventListener(Event.ENTER_FRAME, f);
}
}
}//package
Section 210
//MochiBot (MochiBot)
package {
import flash.display.*;
import flash.net.*;
import flash.system.*;
public dynamic class MochiBot extends Sprite {
public static function track(_arg1:Sprite, _arg2:String):MochiBot{
var _local3:MochiBot;
var _local4:String;
var _local5:URLVariables;
var _local6:String;
var _local7:URLRequest;
var _local8:Loader;
if (Security.sandboxType == "localWithFile"){
return (null);
};
_local3 = new (MochiBot);
_arg1.addChild(_local3);
Security.allowDomain("*");
Security.allowInsecureDomain("*");
_local4 = "http://core.mochibot.com/my/core.swf";
_local5 = new URLVariables();
_local5["sb"] = Security.sandboxType;
_local5["v"] = Capabilities.version;
_local5["swfid"] = _arg2;
_local5["mv"] = "8";
_local5["fv"] = "9";
_local6 = _local3.root.loaderInfo.loaderURL;
if (_local6.indexOf("http") == 0){
_local5["url"] = _local6;
} else {
_local5["url"] = "local";
};
_local7 = new URLRequest(_local4);
_local7.contentType = "application/x-www-form-urlencoded";
_local7.method = URLRequestMethod.POST;
_local7.data = _local5;
_local8 = new Loader();
_local3.addChild(_local8);
_local8.load(_local7);
return (_local3);
}
}
}//package
Section 211
//MoneyMC (MoneyMC)
package {
import flash.display.*;
public dynamic class MoneyMC extends MovieClip {
}
}//package
Section 212
//MoreGamesMC (MoreGamesMC)
package {
import flash.display.*;
public dynamic class MoreGamesMC extends MovieClip {
}
}//package
Section 213
//MoveSFX (MoveSFX)
package {
import flash.media.*;
public dynamic class MoveSFX extends Sound {
}
}//package
Section 214
//NinjaGMC (NinjaGMC)
package {
import flash.display.*;
public dynamic class NinjaGMC extends MovieClip {
}
}//package
Section 215
//NinjaIconGMC (NinjaIconGMC)
package {
import flash.display.*;
public dynamic class NinjaIconGMC extends MovieClip {
}
}//package
Section 216
//NinjaIconOMC (NinjaIconOMC)
package {
import flash.display.*;
public dynamic class NinjaIconOMC extends MovieClip {
}
}//package
Section 217
//NinjaIconRMC (NinjaIconRMC)
package {
import flash.display.*;
public dynamic class NinjaIconRMC extends MovieClip {
}
}//package
Section 218
//NinjaIconYMC (NinjaIconYMC)
package {
import flash.display.*;
public dynamic class NinjaIconYMC extends MovieClip {
}
}//package
Section 219
//NinjaOMC (NinjaOMC)
package {
import flash.display.*;
public dynamic class NinjaOMC extends MovieClip {
}
}//package
Section 220
//NinjaRMC (NinjaRMC)
package {
import flash.display.*;
public dynamic class NinjaRMC extends MovieClip {
}
}//package
Section 221
//NinjaYMC (NinjaYMC)
package {
import flash.display.*;
public dynamic class NinjaYMC extends MovieClip {
}
}//package
Section 222
//NoLicenseMC (NoLicenseMC)
package {
import flash.display.*;
public dynamic class NoLicenseMC extends MovieClip {
}
}//package
Section 223
//PaperMC (PaperMC)
package {
import flash.display.*;
public dynamic class PaperMC extends MovieClip {
}
}//package
Section 224
//PaperSFX (PaperSFX)
package {
import flash.media.*;
public dynamic class PaperSFX extends Sound {
}
}//package
Section 225
//PlusMC (PlusMC)
package {
import flash.display.*;
public dynamic class PlusMC extends MovieClip {
}
}//package
Section 226
//QuestionPickMC (QuestionPickMC)
package {
import flash.display.*;
public dynamic class QuestionPickMC extends MovieClip {
}
}//package
Section 227
//RedRockMC (RedRockMC)
package {
import flash.display.*;
public dynamic class RedRockMC extends MovieClip {
}
}//package
Section 228
//RockMC (RockMC)
package {
import flash.display.*;
public dynamic class RockMC extends MovieClip {
}
}//package
Section 229
//RockSFX (RockSFX)
package {
import flash.media.*;
public dynamic class RockSFX extends Sound {
}
}//package
Section 230
//SamuraiGMC (SamuraiGMC)
package {
import flash.display.*;
public dynamic class SamuraiGMC extends MovieClip {
}
}//package
Section 231
//SamuraiIconGMC (SamuraiIconGMC)
package {
import flash.display.*;
public dynamic class SamuraiIconGMC extends MovieClip {
}
}//package
Section 232
//SamuraiIconOMC (SamuraiIconOMC)
package {
import flash.display.*;
public dynamic class SamuraiIconOMC extends MovieClip {
}
}//package
Section 233
//SamuraiIconRMC (SamuraiIconRMC)
package {
import flash.display.*;
public dynamic class SamuraiIconRMC extends MovieClip {
}
}//package
Section 234
//SamuraiIconYMC (SamuraiIconYMC)
package {
import flash.display.*;
public dynamic class SamuraiIconYMC extends MovieClip {
}
}//package
Section 235
//SamuraiOMC (SamuraiOMC)
package {
import flash.display.*;
public dynamic class SamuraiOMC extends MovieClip {
}
}//package
Section 236
//SamuraiRMC (SamuraiRMC)
package {
import flash.display.*;
public dynamic class SamuraiRMC extends MovieClip {
}
}//package
Section 237
//SamuraiYMC (SamuraiYMC)
package {
import flash.display.*;
public dynamic class SamuraiYMC extends MovieClip {
}
}//package
Section 238
//ScissorsMC (ScissorsMC)
package {
import flash.display.*;
public dynamic class ScissorsMC extends MovieClip {
}
}//package
Section 239
//ScissorsSFX (ScissorsSFX)
package {
import flash.media.*;
public dynamic class ScissorsSFX extends Sound {
}
}//package
Section 240
//SelectMenuItemSFX (SelectMenuItemSFX)
package {
import flash.media.*;
public dynamic class SelectMenuItemSFX extends Sound {
}
}//package
Section 241
//SelectorMC (SelectorMC)
package {
import flash.display.*;
public dynamic class SelectorMC extends MovieClip {
}
}//package
Section 242
//ShopBackgroundMC (ShopBackgroundMC)
package {
import flash.display.*;
public dynamic class ShopBackgroundMC extends MovieClip {
}
}//package
Section 243
//SwordMC (SwordMC)
package {
import flash.display.*;
public dynamic class SwordMC extends MovieClip {
}
}//package
Section 244
//TitleScreenMC (TitleScreenMC)
package {
import flash.display.*;
public dynamic class TitleScreenMC extends MovieClip {
}
}//package
Section 245
//WhiteMC (WhiteMC)
package {
import flash.display.*;
public dynamic class WhiteMC extends MovieClip {
}
}//package
Section 246
//WorldStatusMC (WorldStatusMC)
package {
import flash.display.*;
public dynamic class WorldStatusMC extends MovieClip {
}
}//package