Section 1
//Effects (com.gq.effects.Effects)
package com.gq.effects {
import flash.display.*;
import com.gq.moveobject.*;
import com.gq.system.*;
public class Effects extends MoveObject {
override public function pauseMe():void{
_this.stop();
}
override public function resumeMe():void{
_this.play();
}
override public function initData():void{
}
override public function updataEvent():void{
_this.gotoAndStop(++myCurrentFrame);
if (myCurrentFrame >= _this.totalFrames){
deleteMe = true;
};
if (deleteMe){
GameTools.pushArr(GameData.removeArr, this);
};
}
public function createEffect(_arg1:Sprite, _arg2:String, _arg3:Number, _arg4:Number, _arg5:Number):void{
var _local6:Class;
var _local7:MovieClip;
myMcName = _arg2;
_local6 = GameTools.getMeBySwf("objects", _arg2);
_local7 = new (_local6);
_arg1.addChild(_local7);
_this = _local7;
_this["myHost"] = this;
data_index = (uint(_arg2.substring((_arg2.indexOf("_") + 1), _arg2.length)) - 1);
myX = _arg3;
myY = _arg4;
myZ = _arg5;
initMyData();
controlMc();
}
}
}//package com.gq.effects
Section 2
//ExploreEffects (com.gq.effects.ExploreEffects)
package com.gq.effects {
import com.gq.system.*;
public class ExploreEffects extends Effects {
override protected function initMyData():void{
var _local1:Array;
_local1 = GameDesignClass.effectsArr[data_index];
mySound = _local1[0];
if (mySound != ""){
SoundClass.addMusic(("sound" + String((uint((Math.random() * 9)) + 1))), mySound);
};
}
}
}//package com.gq.effects
Section 3
//Alien (com.gq.moveobject.Alien)
package com.gq.moveobject {
import com.gq.system.*;
public class Alien extends Army {
public function Alien():void{
myCamp = "evil";
GameTools.pushArr(GameData.enemyArr, this);
myEnemyArr = GameData.earthArr;
myRotation = 180;
myDistRotation = 180;
}
override protected function attack_over():void{
changeStates("stand");
}
override protected function attack_Func():void{
if (_this.mc.currentLabel == "hit"){
myTarget.HurtMe(damageArr[0], damageArr[1], damageArr[2]);
if (shoot_way == 2){
SoundClass.addMusic(("sound" + String((uint((Math.random() * 9)) + 1))), "attack");
};
};
}
override protected function initMyData():void{
var _local1:Array;
_local1 = GameDesignClass.alienArr[data_index];
totalLife = _local1[0];
cd_time = _local1[1];
attack_FI = [1, 1, _local1[2], [_local1[2]], null];
speedAll = _local1[3];
damageArr = _local1[4];
mySpyRange = _local1[5];
myAttackRange = _local1[6];
myBullet = _local1[7];
can_collision = _local1[8];
cost = _local1[9];
shoot_way = _local1[10];
myRotSpeed = _local1[11];
myEffects = _local1[12];
_this.gotoAndStop("walk");
super.initMyData();
}
override protected function myShootWay_2():void{
}
override protected function patrolFunc():void{
super.patrolFunc();
if (((!(blockedX)) && (!(blockedY)))){
rotateTarget(myRotSpeed, 180);
};
if (myY < GameData.resourceHeight){
initSpeed();
};
}
override protected function attackFunc():void{
current_cd = cd_time;
changeStates("attack");
var _local1 = this;
_local1[("myShootWay_" + String(shoot_way))]();
}
override public function removeMe():void{
SoundClass.addMusic(("sound" + String((uint((Math.random() * 9)) + 1))), ("dead_" + String((uint((Math.random() * 3)) + 1))));
GameData.money = (GameData.money + cost);
GameData.current_score = (GameData.current_score + cost);
GameTools.unPushArr(GameData.enemyArr, this);
super.removeMe();
}
override protected function changeData():void{
if (((!((speedX == 0))) || (!((speedY == 0))))){
if (states != "walk"){
changeStates("walk");
};
} else {
if (current_cd == 0){
if (states != "stand"){
changeStates("stand");
};
};
};
super.changeData();
}
}
}//package com.gq.moveobject
Section 4
//Army (com.gq.moveobject.Army)
package com.gq.moveobject {
import flash.display.*;
import flash.geom.*;
import com.gq.system.*;
import com.gq.ui.*;
public class Army extends MoveObject {
public var isFire:Boolean;
protected var shoot_way:uint;// = 1
protected var turnDir:int;
protected var collisionCount:uint;
protected var myDistRotation:Number;
protected var shootRot:Number;// = 0
public function Army():void{
shoot_way = 1;
turnDir = ((Math.random() > 0.5)) ? -1 : 1;
shootRot = 0;
super();
}
override public function HurtMe(_arg1:int, _arg2:uint, _arg3:Number):void{
super.HurtMe(_arg1, _arg2, _arg3);
if (myLife <= 0){
deleteMe = true;
};
}
override protected function hitTestMap():void{
if ((myX + speedX) < 0){
myX = 0;
if (myTarget){
rotateTarget(myRotSpeed);
};
} else {
if ((myX + speedX) > GameData.resourceWidth){
myX = GameData.resourceWidth;
if (myTarget){
rotateTarget(myRotSpeed);
};
};
};
}
override protected function initMyData():void{
super.initMyData();
_this.mouseChildren = false;
_this.mouseEnabled = false;
}
protected function rotateTarget(_arg1:uint=1, _arg2:Number=999):void{
var _local3:int;
if (_arg2 == 999){
distRotation = (90 + GameTools.calcuRotation(myX, myY, myTarget.myX, myTarget.myY));
} else {
distRotation = _arg2;
};
myRotation = GameTools.getTureAngle(myRotation);
distRotation = GameTools.getTureAngle(distRotation);
if ((((Math.abs((distRotation - myRotation)) > myRotSpeed)) && ((Math.abs((distRotation - myRotation)) < (360 - myRotSpeed))))){
_local3 = GameTools.adjudgeRotation(myRotation, distRotation);
myRotation = (myRotation + (_local3 * _arg1));
};
}
override public function updataEvent():void{
controlMe();
switchStates();
restoreState();
hitTestObj();
hitTestMap();
changeData();
controlMc();
if (((myTarget) && ((myTarget.myLife <= 0)))){
myTarget = null;
};
if (deleteMe){
GameTools.pushArr(GameData.removeArr, this);
};
}
protected function myShootWay_1():void{
var _local1:MovieClip;
if (myBullet != ""){
if (_this.cannon){
_local1 = _this.cannon.shoot_point;
} else {
_local1 = _this.shoot_point;
};
Shoot(myBullet, _local1, shootRot);
};
}
protected function myShootWay_2():void{
if (myBullet != ""){
if (_this.cannon){
Shoot(myBullet, _this.cannon.shoot_point1, shootRot);
Shoot(myBullet, _this.cannon.shoot_point2, shootRot);
} else {
Shoot(myBullet, _this.shoot_point1, shootRot);
Shoot(myBullet, _this.shoot_point2, shootRot);
};
};
}
protected function judgeIfFire():void{
var _local1:MoveObject;
_local1 = findTarget(myEnemyArr);
if (!isFire){
if (GameTools.getDistance(_local1.myX, _local1.myY, myX, myY) < mySpyRange){
isFire = true;
myTarget = _local1;
};
} else {
if ((((GameTools.getDistance(myTarget.myX, myTarget.myY, myX, myY) > myAttackRange)) || ((myTarget.myLife <= 0)))){
isFire = false;
myTarget = null;
};
};
}
protected function walkToTarget():void{
if (collisionCount < 4){
rotateTarget(myRotSpeed);
};
getRotSpeed(myRotation, speedAll);
}
override protected function collisionWho(_arg1:Array):Boolean{
var _local2:uint;
_local2 = 0;
while (_local2 < _arg1.length) {
if (((!((_arg1[_local2] == this))) && ((GameTools.getDistance(_arg1[_local2].myX, _arg1[_local2].myY, myX, myY) < 100)))){
if (((((_arg1[_local2]._this.hot.hitTestPoint((testPoint1.x + (speedX * 2)), (testPoint1.y + (speedY * 2)), true)) || (_arg1[_local2]._this.hot.hitTestPoint((testPoint2.x + (speedX * 2)), (testPoint2.y + (speedY * 2)), true)))) || (_arg1[_local2]._this.hot.hitTestPoint((testPoint3.x + (speedX * 2)), (testPoint3.y + (speedY * 2)), true)))){
return (true);
};
};
_local2++;
};
return (false);
}
protected function patrolFunc():void{
getRotSpeed(myRotation, speedAll);
}
override public function removeMe():void{
if (myEffects != ""){
GameSys.addEffects(GameData.personContainer, "ExploreEffects", myEffects, myX, myY, myZ);
new ShakeClass(GameData.Scen, 2, 10, GameData.Scen);
};
GameTools.addHole(uint(((distX * distY) / 300)), this);
super.removeMe();
}
override protected function controlMe():void{
if (current_cd > 0){
current_cd--;
};
if (collisionCount > 0){
collisionCount--;
};
if (bloodBar.alpha > 0){
bloodBar.alpha = (bloodBar.alpha - 0.01);
bloodBar.x = (myX - distX);
bloodBar.y = (myY - (distY / 2));
};
if (_this.cannon){
controlMyCannon();
};
if (myEnemyArr.length > 0){
warFunc();
} else {
patrolFunc();
};
}
protected function warFunc():void{
if (myTarget == null){
initSpeed();
myTarget = findTarget(myEnemyArr);
} else {
if (isFire){
if (current_cd == 0){
shootRot = ((_this.cannon)==null) ? myRotation : (myRotation + _this.cannon.rotation);
shootRot = GameTools.getTureAngle(shootRot);
distRotation = GameTools.getTureAngle((90 + GameTools.calcuRotation(myX, myY, myTarget.myX, myTarget.myY)));
distRotation = GameTools.getTureAngle(distRotation);
if ((((Math.abs((distRotation - shootRot)) <= myRotSpeed)) || ((Math.abs((distRotation - shootRot)) >= (360 - myRotSpeed))))){
attackFunc();
} else {
rotateTarget(myRotSpeed);
};
initSpeed();
};
} else {
walkToTarget();
};
judgeIfFire();
};
}
override protected function hitTestObj():void{
blockedX = false;
blockedY = false;
testPoint1 = _this.localToGlobal(new Point(0, (-(distY) / 2)));
testPoint2 = _this.localToGlobal(new Point(-(distX), (-(distY) / 2)));
testPoint3 = _this.localToGlobal(new Point(distX, (-(distY) / 2)));
if (((!(isFire)) && (collisionWho(GameData.collisionObjArr)))){
blockedX = true;
blockedY = true;
initSpeed();
if (collisionCount < 100){
collisionCount = (collisionCount + 3);
myRotation = (myRotation + (5 * turnDir));
};
};
}
}
}//package com.gq.moveobject
Section 5
//Base (com.gq.moveobject.Base)
package com.gq.moveobject {
import flash.display.*;
import com.gq.system.*;
public class Base extends Building {
public var myCannon:MovieClip;
public function Base():void{
GameData.base = this;
myCamp = "good";
GameTools.pushArr(GameData.collisionObjArr, this);
GameTools.pushArr(GameData.earthArr, this);
}
public function baseAction():void{
var _local1:Number;
if (current_cd == 0){
current_cd = cd_time;
_local1 = (-90 + GameTools.calcuRotation(GameData.gameContainer.mouseX, GameData.gameContainer.mouseY, myX, myY));
if (myCannon == _this.single_cannon){
Shoot(myBullet, myCannon.shoot_point, myCannon.rotation);
} else {
if (myCannon == _this.double_cannon){
Shoot(myBullet, myCannon.shoot_point1, myCannon.rotation);
Shoot(myBullet, myCannon.shoot_point2, myCannon.rotation);
};
};
};
}
override protected function initMyData():void{
var _local1:Array;
_local1 = GameDesignClass.baseArr[data_index];
totalLife = _local1[0];
if (GameData.ownSkillArr[3] == 1){
totalLife = (totalLife + 10000);
};
cd_time = _local1[1];
myEffects = _local1[2];
myBullet = _local1[3];
super.initMyData();
_this.removeChild(_this.single_cannon);
_this.removeChild(_this.double_cannon);
if (GameData.ownSkillArr[1] == 1){
myCannon = _this.double_cannon;
_this.addChild(_this.double_cannon);
} else {
if (GameData.ownSkillArr[0] == 1){
myCannon = _this.single_cannon;
_this.addChild(_this.single_cannon);
};
};
if (myCannon){
myCannon.visible = true;
};
_this.mouseEnabled = true;
_this.mouseChildren = false;
GameTools.pushArr(GameData.canClickObjArr, this);
}
override public function updataEvent():void{
otherFunc();
if (deleteMe){
GameTools.pushArr(GameData.removeArr, this);
};
}
override public function removeMe():void{
super.removeMe();
if (GameData.missionTarget){
GameSys.missionComplete();
};
}
override protected function otherFunc():void{
if (bloodBar.alpha > 0){
bloodBar.alpha = (bloodBar.alpha - 0.01);
bloodBar.x = (myX - distX);
bloodBar.y = (myY - (distY / 2));
};
if (current_cd > 0){
current_cd--;
};
if (myCannon){
myCannon.rotation = (-90 + GameTools.calcuRotation(GameData.gameContainer.mouseX, GameData.gameContainer.mouseY, myX, myY));
};
}
}
}//package com.gq.moveobject
Section 6
//Building (com.gq.moveobject.Building)
package com.gq.moveobject {
import flash.geom.*;
import com.gq.system.*;
import com.gq.ui.*;
public class Building extends MoveObject {
protected var myBurnParent:String;
protected var myBurnPoint:Point;
protected var myBurnName:String;
protected var myBurnType:String;
public function Building():void{
}
override public function HurtMe(_arg1:int, _arg2:uint, _arg3:Number):void{
super.HurtMe(_arg1, _arg2, _arg3);
if (myLife <= 0){
deleteMe = true;
};
}
private function beDraging():void{
var _local1:Point;
_local1 = GameData.personContainer.globalToLocal(new Point(GameData.Scen.mouseX, GameData.Scen.mouseY));
_this.x = _local1.x;
_this.y = _local1.y;
}
protected function judgeColor():void{
if (GameData.currentMap.judgeOk(this)){
GameTools.addColors(_this, GameData.greenTrans);
} else {
GameTools.addColors(_this, GameData.redTrans);
};
}
public function clickHd(_arg1):void{
if (_arg1 == _this){
if ((((GameData.myMouse.currentFrame == 2)) && (!((this is Base))))){
if ((this is House)){
GameData.money = (GameData.money + (GameDesignClass.buildHouseArr[data_index][1] * 0.4));
} else {
if ((this is Tower)){
GameData.money = (GameData.money + (GameDesignClass.buildTowerArr[data_index][1] * 0.1));
GameData.tips.showText(GameDesignClass.languageInfor.tips_2[GameData.LANGUAGE]);
};
};
removeMe();
} else {
if (GameData.myMouse.currentFrame == 3){
trace("修");
if ((((myLife < totalLife)) && ((GameData.money >= 50)))){
GameData.money = (GameData.money - 50);
myLife = (myLife + 1000);
if (myLife > totalLife){
myLife = totalLife;
};
if (bloodBar){
bloodBar.showMe();
};
};
};
};
GameData.gameUI.showMouse();
};
}
protected function createArmy():void{
var _local1:MoveObject;
myBurnPoint = GameTools.changeXY(_this.burn_point, GameData.personContainer, new Point(_this.burn_point.x, _this.burn_point.y), false);
_local1 = GameData.creater.createObj(myBurnParent, myBurnType, myBurnName, myBurnPoint.x, myBurnPoint.y, 0, []);
}
override public function updataEvent():void{
if (isDraging){
beDraging();
judgeColor();
} else {
controlMe();
switchStates();
restoreState();
if (deleteMe){
GameTools.pushArr(GameData.removeArr, this);
};
};
}
override protected function attackFunc():void{
}
override public function removeMe():void{
myLife = 0;
if (!isDraging){
GameSys.addEffects(GameData.personContainer, "ExploreEffects", "ExploreEffects_5", myX, myY, myZ);
new ShakeClass(GameData.Scen, 4, 10, GameData.Scen);
GameTools.addHole(uint(((distX * distY) / 100)), this);
};
GameTools.unPushArr(GameData.earthArr, this);
GameTools.unPushArr(GameData.enemyArr, this);
GameTools.unPushArr(GameData.collisionObjArr, this);
GameTools.unPushArr(GameData.canClickObjArr, this);
super.removeMe();
}
override protected function controlMe():void{
if (bloodBar.alpha > 0){
bloodBar.alpha = (bloodBar.alpha - 0.01);
bloodBar.x = (myX - distX);
bloodBar.y = (myY - (distY / 2));
};
if (current_cd > 0){
current_cd--;
} else {
attackFunc();
};
}
}
}//package com.gq.moveobject
Section 7
//Bullets (com.gq.moveobject.Bullets)
package com.gq.moveobject {
import com.gq.system.*;
public class Bullets extends MoveObject {
private var testType:uint;
private var testMap:Boolean;
public var myShooter:MoveObject;
private var liveTime:uint;// = 35
public function Bullets():void{
liveTime = 35;
super();
}
private function evilTestFunc():void{
if (((testWhere(GameData.earthArr, this, _this, damageArr, 1)) || ((++deadCount == liveTime)))){
removeMe();
};
}
private function goodTestFunc():void{
if (((((testWhere(GameData.enemyArr, this, _this, damageArr, 1)) && (!((data_index == 11))))) || ((++deadCount == liveTime)))){
removeMe();
};
}
override protected function initMyData():void{
var _local1:Array;
_local1 = GameDesignClass.bulletArr[data_index];
speedAll = _local1[0];
damageArr = _local1[1];
myEffects = _local1[2];
mySound = _local1[3];
super.initMyData();
getRotSpeed(myRotation, speedAll);
if (mySound != ""){
SoundClass.addMusic(("sound" + String((uint((Math.random() * 9)) + 1))), mySound);
};
}
override public function updataEvent():void{
controlMe();
hitTestObj();
changeData();
controlMc();
}
override public function removeMe():void{
if (myEffects != ""){
GameSys.addEffects(GameData.personContainer, "ExploreEffects", myEffects, myX, myY, myZ, _this.scaleX, myRotation);
};
super.removeMe();
}
override protected function hitTestObj():void{
var _local1 = this;
_local1[(myCamp + "TestFunc")]();
}
}
}//package com.gq.moveobject
Section 8
//Destination (com.gq.moveobject.Destination)
package com.gq.moveobject {
import flash.geom.*;
import com.gq.system.*;
import com.gq.ui.*;
public class Destination extends Building {
public function Destination():void{
myBullet = "Bullet_1";
myCamp = "evil";
GameTools.pushArr(GameData.enemyArr, this);
GameTools.unPushArr(GameData.earthArr, this);
GameData.currentTarget = this;
GameData.missionTarget = this;
}
override protected function initMyData():void{
var _local1:Array;
_local1 = GameDesignClass.destinateArr[data_index];
totalLife = _local1[0];
cd_time = _local1[1];
myEffects = _local1[2];
walkPath = _local1[3];
super.initMyData();
current_cd = cd_time;
}
override protected function createArmy():void{
var _local1:MoveObject;
myBurnPoint = GameTools.changeXY(_this.burn_point, GameData.personContainer, new Point(_this.burn_point.x, _this.burn_point.y), false);
_local1 = GameData.creater.createObj("person", "Alien", walkPath[0], myBurnPoint.x, myBurnPoint.y, 0, []);
}
override public function updataEvent():void{
controlMe();
if (deleteMe){
GameTools.pushArr(GameData.removeArr, this);
};
}
override protected function attackFunc():void{
if (walkPath.length > 0){
current_cd = cd_time;
createArmy();
};
}
override public function removeMe():void{
GameData.money = (GameData.money + (500 * GameData.game_level));
GameSys.addEffects(GameData.personContainer, "ExploreEffects", myEffects, myX, myY, myZ);
new ShakeClass(GameData.Scen, 4, 10, GameData.Scen);
GameTools.unPushArr(GameData.enemyArr, this);
GameTools.unPushArr(GameData.collisionObjArr, this);
GameTools.addHole(uint(((distX * distY) / 100)), this);
if (bloodBar != null){
bloodBar.removeMe();
};
GameTools.unPushArr(GameData.beatArr, this);
GameTools.unPushArr(GameData.actionArr, this);
GameTools.unPushArr(GameData.objectArr, this);
if (((!((_this == null))) && (!((_this.parent == null))))){
_this.parent.removeChild(_this);
_this = null;
};
defaultData();
GameData.missionTarget = null;
GameSys.missionComplete();
}
}
}//package com.gq.moveobject
Section 9
//EarthAlly (com.gq.moveobject.EarthAlly)
package com.gq.moveobject {
import com.gq.system.*;
public class EarthAlly extends Army {
public function EarthAlly():void{
myCamp = "good";
GameTools.pushArr(GameData.earthArr, this);
myEnemyArr = GameData.enemyArr;
myRotation = 0;
myDistRotation = 0;
}
override protected function patrolFunc():void{
super.patrolFunc();
if (collisionCount < 2){
rotateTarget(myRotSpeed, 0);
};
if (myY < 50){
initSpeed();
};
}
override protected function attackFunc():void{
current_cd = cd_time;
var _local1 = this;
_local1[("myShootWay_" + String(shoot_way))]();
}
override public function removeMe():void{
GameTools.unPushArr(GameData.earthArr, this);
super.removeMe();
}
}
}//package com.gq.moveobject
Section 10
//House (com.gq.moveobject.House)
package com.gq.moveobject {
import com.gq.system.*;
public class House extends Building {
public function House():void{
}
override protected function attack_over():void{
}
override protected function initMyData():void{
var _local1:Array;
_local1 = GameDesignClass.houseArr[data_index];
totalLife = _local1[0];
cd_time = _local1[1];
attack_FI = [1, 1, _local1[2], [_local1[2]], null];
damageArr = _local1[3];
myBurnParent = _local1[4];
myBurnType = _local1[5];
myBurnName = _local1[6];
can_collision = _local1[7];
_this.gotoAndStop("stand1");
super.initMyData();
current_cd = cd_time;
}
override protected function attackFunc():void{
current_cd = cd_time;
createArmy();
}
}
}//package com.gq.moveobject
Section 11
//Mine (com.gq.moveobject.Mine)
package com.gq.moveobject {
import com.gq.system.*;
public class Mine extends Building {
public function Mine():void{
myCamp = "good";
myEnemyArr = GameData.enemyArr;
}
override protected function hitTestObj():void{
var _local1:*;
for (_local1 in myEnemyArr) {
if (GameTools.getDistance(_this.x, _this.y, myEnemyArr[_local1].myX, myEnemyArr[_local1].myY) < 50){
deadCount = 50;
break;
};
};
}
override protected function controlMe():void{
var _local1:*;
if (deadCount > 0){
_this.alpha = ((deadCount / 5) % 2);
if (--deadCount == 0){
for (_local1 in myEnemyArr) {
if (GameTools.getDistance(_this.x, _this.y, myEnemyArr[_local1].myX, myEnemyArr[_local1].myY) < 100){
myEnemyArr[_local1].HurtMe(500, 0, 0);
};
};
GameSys.addEffects(GameData.personContainer, "ExploreEffects", "ExploreEffects_4", myX, myY, myZ);
removeMe();
};
} else {
hitTestObj();
};
}
}
}//package com.gq.moveobject
Section 12
//MoveObject (com.gq.moveobject.MoveObject)
package com.gq.moveobject {
import flash.display.*;
import flash.geom.*;
import com.gq.system.*;
import com.gq.ui.*;
public class MoveObject {
public var states:String;
public var finalSpeedX:Number;// = 0
public var finalSpeedY:Number;// = 0
public var finalSpeedZ:Number;// = 0
public var myMcName:String;
protected var flashing:Boolean;
public var invincible:Boolean;
protected var attack_FI:Array;
public var myX:Number;
public var myY:Number;
public var myZ:Number;
public var myXRect:uint;
protected var whichFrameReady:int;
public var myCamp:String;// = ""
public var myTarget:MoveObject;
public var totalLife:Number;// = 1
protected var dead:Boolean;
public var nowLandHeight:String;
public var g:Number;// = 1
public var damageArr:Array;
protected var myRotSpeed:Number;// = 1
protected var myAttackRange:Number;// = 1000
protected var whichFrameReturn:int;
public var deleteMe:Boolean;
protected var cannon_height:Number;
public var pushSpeedX:Number;// = 0
public var pushSpeedY:Number;// = 0
protected var mySpyRange:Number;// = 1000
public var invinciTime:uint;// = 70
public var invinciCount:uint;
public var pushSpeedZ:Number;// = 0
protected var jumpSpeed:Number;// = -15
public var myHandObj:MoveObject;
protected var nowMoveSpeed:Number;// = 7
protected var mySound:String;// = ""
public var can_beat:Boolean;
public var myLife:Number;// = 500
public var notAdd:Boolean;
protected var current_cd:uint;
public var shoot_count:uint;
public var can_shoot:Boolean;
public var speedX:Number;// = 0
public var speedY:Number;// = 0
public var myCanHandObj:MoveObject;
protected var walk_FI:Array;
public var speedZ:Number;// = 0
protected var deadCount:uint;
public var myMaster:MoveObject;
public var myHiter:Array;
public var createId:uint;
public var type:String;// = ""
protected var myCurrentFrame:int;
public var myDir:int;// = 1
public var distRotation:Number;
public var myRotation:Number;// = 0
public var myReady:Boolean;// = true
protected var bulletType:uint;
public var distX:Number;
public var distY:Number;
public var myParent:Sprite;
public var _this:MovieClip;
public var hiter:MoveObject;
protected var can_collision:Boolean;
protected var myEnemyArr:Array;
public var action_index:uint;
public var can_action:Boolean;// = true
protected var walkPath:Array;
public var myActionFinished:Boolean;// = true
public var isDraging:Boolean;
public var myYRect:uint;
protected var myEffects:String;// = ""
public var bloodBar:MovieClip;
public var myClipName:String;// = ""
protected var stand_FI:Array;
protected var cost:Number;
protected var testPoint2:Point;
protected var testPoint1:Point;
protected var testPoint3:Point;
protected var myBullet:String;// = ""
public var myID:uint;
public var speedAll:Number;
public var blockedX:Boolean;
public var blockedY:Boolean;
protected var myShootEffectName:String;// = ""
protected var whichFrameFinished:int;
protected var myFrameEvent:Array;
protected var cd_time:uint;
public var data_index:uint;
public function MoveObject():void{
type = "";
myClipName = "";
myShootEffectName = "";
myHiter = new Array();
myEnemyArr = new Array();
damageArr = [10, 1, 1];
g = 1;
myEffects = "";
myCamp = "";
myLife = 500;
totalLife = 1;
myDir = 1;
speedX = 0;
speedY = 0;
speedZ = 0;
pushSpeedX = 0;
pushSpeedY = 0;
pushSpeedZ = 0;
finalSpeedX = 0;
finalSpeedY = 0;
finalSpeedZ = 0;
myBullet = "";
myRotation = 0;
nowMoveSpeed = 7;
myRotSpeed = 1;
mySound = "";
mySpyRange = 1000;
myAttackRange = 1000;
jumpSpeed = -15;
can_action = true;
invinciTime = 70;
myReady = true;
myActionFinished = true;
super();
stand_FI = [1, 1, 30, [1], null];
walk_FI = [1, 1, 7, [1], null];
attack_FI = [1, 1, 7, [1], null];
initData();
}
protected function hitTestObj():void{
}
public function addMc():void{
if (((!((_this == null))) && (!((myParent == null))))){
myParent.addChild(_this);
notAdd = false;
};
}
public function getRotSpeed(_arg1:Number, _arg2:Number):void{
speedX = (Math.sin((_arg1 * 0.01745)) * _arg2);
speedY = (-(Math.cos((_arg1 * 0.01745))) * _arg2);
}
public function HurtMe(_arg1:int, _arg2:uint, _arg3:Number):void{
myLife = (myLife - _arg1);
if (bloodBar){
bloodBar.showMe();
};
}
protected function hitTestZ():void{
}
public function beCatch(_arg1:MoveObject):void{
}
public function pauseMe():void{
if (_this.mc != null){
_this.mc.stop();
};
}
protected function rotateCannon(_arg1:uint=1):void{
var _local2:Number;
var _local3:Number;
var _local4:int;
_local2 = (myTarget) ? ((90 + GameTools.calcuRotation(myX, myY, uint(myTarget.myX), uint(myTarget.myY))) - myRotation) : 0;
_this.cannon.rotation = GameTools.getTureAngle(_this.cannon.rotation);
_local2 = GameTools.getTureAngle(_local2);
_local3 = GameTools.getTureAngle(Math.abs((_local2 - _this.cannon.rotation)));
if ((((_local3 > 3)) && ((_local3 < 357)))){
_local4 = GameTools.adjudgeRotation(_this.cannon.rotation, _local2);
_this.cannon.rotation = (_this.cannon.rotation + ((_local4 * _arg1) * 2));
};
}
protected function hitTestX():void{
}
protected function controlMyCannon():void{
rotateCannon(myRotSpeed);
}
public function changeFrameAction(_arg1:MovieClip, _arg2:String):void{
myCurrentFrame = 1;
GameTools.gotoFrame(_arg1, _arg2);
whichFrameReady = this[(_arg2 + "_FI")][0];
whichFrameFinished = this[(_arg2 + "_FI")][1];
whichFrameReturn = this[(_arg2 + "_FI")][2];
myFrameEvent = this[(_arg2 + "_FI")][3];
if ((whichFrameReady + whichFrameFinished) > 2){
myReady = false;
myActionFinished = false;
};
}
protected function getFloor():void{
}
protected function hitTestMap():void{
getFloor();
hitTestX();
hitTestZ();
}
protected function switchStates():void{
try {
var _local2 = this;
_local2[(states + "_Func")]();
} catch(e) {
};
}
protected function attack_over():void{
}
protected function attack_Func():void{
}
public function resumeMe():void{
if (_this.mc != null){
_this.mc.play();
};
}
protected function initMyData():void{
myLife = totalLife;
controlMc();
if (can_collision){
GameTools.pushArr(GameData.collisionObjArr, this);
};
}
protected function restoreState():void{
if (myFrameEvent != null){
if (myCurrentFrame == Number(myFrameEvent[0])){
try {
var _local2 = this;
_local2[(states + "_over")]();
} catch(e) {
};
};
};
if (myCurrentFrame == whichFrameReady){
myReady = true;
};
if (myCurrentFrame >= whichFrameFinished){
myActionFinished = true;
};
if (myCurrentFrame >= whichFrameReturn){
myCurrentFrame = 0;
};
myCurrentFrame++;
}
protected function findTarget(_arg1:Array):MoveObject{
var tempArr:Array;
var compareFunc:Function;
var where = _arg1;
compareFunc = function (_arg1, _arg2):int{
var _local3:Number;
var _local4:Number;
_local3 = GameTools.getDistance(myX, myY, _arg1.myX, _arg1.myY);
_local4 = GameTools.getDistance(myX, myY, _arg2.myX, _arg2.myY);
if (_local3 > _local4){
return (1);
};
if (_local3 < _local4){
return (-1);
};
return (0);
};
tempArr = where.concat();
tempArr.sort(compareFunc);
return (tempArr[0]);
}
protected function judgeMyPostion():Boolean{
var _value:Boolean;
try {
_value = GameData[("mapArr" + nowLandHeight)][myXRect][myYRect];
} catch(e) {
trace("地图出错");
_value = false;
};
return (_value);
}
protected function hitTestWho(_arg1:String):void{
var _local2:uint;
var _local3:MovieClip;
_local2 = 0;
while (_local2 < GameData[_arg1].numChildren) {
_local3 = (GameData[_arg1].getChildAt(_local2) as MovieClip);
_local2++;
};
}
public function initData():void{
states = "stand";
if (can_beat){
GameTools.pushArr(GameData.beatArr, this);
};
}
private function createBloodBar():void{
bloodBar = new BloodBar(this);
GameData.topObjectContainer.addChild(bloodBar);
bloodBar.x = (myX - distX);
bloodBar.y = (myY - (distY / 2));
}
protected function stayInSky():void{
if (type != "fly"){
speedZ = (speedZ + g);
};
if (speedZ > 20){
speedZ = 20;
};
}
protected function judgeLimit():void{
}
public function updataEvent():void{
}
public function init(_arg1:Number, _arg2:Number, _arg3:String=""):void{
myX = _arg1;
myY = _arg2;
}
public function initSpeed():void{
speedX = 0;
speedY = 0;
}
protected function collisionWho(_arg1:Array):Boolean{
return (false);
}
protected function attackFunc():void{
}
public function removeMe():void{
if (bloodBar != null){
bloodBar.removeMe();
};
if (can_collision){
GameTools.unPushArr(GameData.collisionObjArr, this);
};
GameTools.unPushArr(GameData.beatArr, this);
GameTools.unPushArr(GameData.actionArr, this);
GameTools.unPushArr(GameData.objectArr, this);
if (((!((_this == null))) && (!((_this.parent == null))))){
_this.parent.removeChild(_this);
_this = null;
};
defaultData();
}
public function removeMc():void{
if (_this != null){
myParent = (_this.parent as Sprite);
myParent.removeChild(_this);
notAdd = true;
};
}
protected function addHitEffect(_arg1:uint, _arg2:MoveObject):void{
}
protected function testWhere(_arg1:Array, _arg2:MoveObject, _arg3:MovieClip, _arg4:Array, _arg5:uint=1):Boolean{
var _local6:Boolean;
var _local7:uint;
var _local8:MoveObject;
_local7 = 0;
while (_local7 < _arg1.length) {
_local8 = (_arg1[_local7] as MoveObject);
if ((((GameTools.getDistance(_local8.myX, _local8.myY, _arg2.myX, _arg2.myY) < 100)) && ((_local8.myLife > 0)))){
if (GameTools.hitTest(_local8._this, _arg3, _arg5)){
_local6 = true;
_local8.HurtMe(damageArr[0], damageArr[1], damageArr[2]);
break;
};
};
_local7++;
};
return (_local6);
}
protected function changeData():void{
judgeLimit();
if (!blockedX){
myX = (myX + speedX);
};
if (!blockedY){
myY = (myY + speedY);
};
}
protected function defaultData():void{
myCanHandObj = null;
hiter = null;
myMaster = null;
}
protected function walk_over():void{
}
protected function Fall():void{
}
protected function walk_Func():void{
}
public function unCatch(_arg1:String):void{
}
protected function stand_over():void{
}
protected function stand_Func():void{
}
protected function flashMe():void{
if (_this != null){
_this.alpha = (deadCount % 2);
};
if (++deadCount == 30){
deleteMe = true;
};
}
public function createMe(_arg1:Sprite, _arg2:String, _arg3:int, _arg4:String, _arg5:Array):void{
var _local6:Class;
var _local7:MovieClip;
myMcName = _arg2;
_local6 = GameTools.getMeBySwf(_arg4, _arg2);
_local7 = new (_local6);
_arg1.addChild(_local7);
_this = _local7;
_this["myHost"] = this;
data_index = (uint(_arg2.substring((_arg2.indexOf("_") + 1), _arg2.length)) - 1);
distX = (_this.width / 2);
distY = _this.height;
walkPath = _arg5;
initMyData();
if (_this.hot){
_this.hot.mouseEnabled = false;
_this.hot.mouseChildren = false;
};
createBloodBar();
GameTools.addFilters(_this, GameData.shadowFilter);
}
protected function getBlocked():void{
}
protected function addMyPart(_arg1:uint, _arg2:String):void{
var _local3:uint;
_local3 = 0;
while (_local3 < _arg1) {
GameSys.addEffects(GameData.personContainer, "ClipEffect", _arg2, myX, myY, myZ);
_local3++;
};
}
public function changeStates(_arg1:String, _arg2:Boolean=true):void{
states = _arg1;
changeFrameAction(_this, _arg1);
}
public function controlMc():void{
if (_this != null){
_this.x = myX;
_this.y = myY;
_this.rotation = myRotation;
};
}
protected function controlMe():void{
}
protected function otherFunc():void{
}
protected function Shoot(_arg1:String, _arg2:MovieClip, _arg3:Number, _arg4:Number=0):void{
var _local5:Point;
_local5 = _arg2.parent.localToGlobal(new Point(_arg2.x, _arg2.y));
_local5 = GameData.bulletContainer.globalToLocal(_local5);
GameTools.addBullet(_arg1, _local5.x, _local5.y, this, myCamp, "bullet", _arg3);
}
}
}//package com.gq.moveobject
Section 13
//Person (com.gq.moveobject.Person)
package com.gq.moveobject {
import com.gq.system.*;
public class Person extends EarthAlly {
public function Person():void{
}
override protected function attack_over():void{
changeStates("stand");
}
override protected function initMyData():void{
var _local1:Array;
_local1 = GameDesignClass.personArr[data_index];
totalLife = _local1[0];
cd_time = _local1[1];
attack_FI = [1, 1, _local1[2], [_local1[2]], null];
speedAll = _local1[3];
damageArr = _local1[4];
mySpyRange = _local1[5];
myAttackRange = _local1[6];
myBullet = _local1[7];
can_collision = _local1[8];
shoot_way = _local1[9];
myRotSpeed = _local1[10];
myEffects = _local1[11];
_this.gotoAndStop("stand");
super.initMyData();
}
override protected function attackFunc():void{
changeStates("attack");
super.attackFunc();
}
override protected function changeData():void{
if (((!((speedX == 0))) || (!((speedY == 0))))){
if (states != "walk"){
changeStates("walk");
};
} else {
if (current_cd == 0){
if (states != "stand"){
changeStates("stand");
};
};
};
super.changeData();
}
}
}//package com.gq.moveobject
Section 14
//Tank (com.gq.moveobject.Tank)
package com.gq.moveobject {
import com.gq.system.*;
public class Tank extends EarthAlly {
public function Tank():void{
}
override protected function initMyData():void{
var _local1:Array;
_local1 = GameDesignClass.tankArr[data_index];
totalLife = _local1[0];
cd_time = _local1[1];
attack_FI = [1, 1, _local1[2], [_local1[2]], null];
speedAll = _local1[3];
damageArr = _local1[4];
mySpyRange = _local1[5];
myAttackRange = _local1[6];
myBullet = _local1[7];
can_collision = _local1[8];
cost = _local1[9];
shoot_way = _local1[10];
myRotSpeed = _local1[11];
myEffects = _local1[12];
_this.gotoAndStop("stand");
super.initMyData();
}
}
}//package com.gq.moveobject
Section 15
//Tower (com.gq.moveobject.Tower)
package com.gq.moveobject {
import com.gq.system.*;
public class Tower extends Building {
public function Tower():void{
myCamp = "good";
myEnemyArr = GameData.enemyArr;
GameTools.pushArr(GameData.collisionObjArr, this);
}
override protected function attack_over():void{
changeStates("stand1");
}
override protected function initMyData():void{
var _local1:Array;
_local1 = GameDesignClass.towerArr[data_index];
totalLife = _local1[0];
cd_time = _local1[1];
attack_FI = [1, 1, _local1[2], [_local1[2]], null];
cannon_height = _local1[3];
damageArr = _local1[4];
mySpyRange = _local1[5];
myAttackRange = _local1[6];
myBullet = _local1[7];
shoot_count = _local1[8];
_this.gotoAndStop("stand1");
super.initMyData();
}
protected function judgeIfFire():void{
if ((((GameTools.getDistance(myTarget.myX, myTarget.myY, myX, myY) > myAttackRange)) || ((myTarget.myLife <= 0)))){
myTarget = null;
};
}
override protected function attackFunc():void{
var _local1:uint;
current_cd = cd_time;
_local1 = 1;
while (_local1 <= shoot_count) {
Shoot(myBullet, _this.cannon[("shoot_point" + _local1)], _this.cannon.rotation);
_local1++;
};
}
override protected function controlMe():void{
var _local1:*;
if (myTarget == null){
_local1 = findTarget(myEnemyArr);
if (_local1 != null){
if (GameTools.getDistance(_local1.myX, _local1.myY, myX, myY) < myAttackRange){
myTarget = _local1;
};
};
} else {
controlMyCannon();
judgeIfFire();
super.controlMe();
};
}
}
}//package com.gq.moveobject
Section 16
//CreateData (com.gq.system.CreateData)
package com.gq.system {
public class CreateData {
public static var createData_3:Array = [["person", "Alien", "Monster_3", 0, 0, 0, []], ["person", "Alien", "Monster_3", 400, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_4", 490, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_6", 150, 0, 0, []], ["person", "Alien", "Monster_6", 400, 0, 0, []], ["person", "Alien", "Monster_3", 250, 0, 0, []], ["person", "Alien", "Monster_3", 110, 0, 0, []], ["person", "Alien", "Monster_4", 180, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_5", 150, 0, 0, []], ["person", "Alien", "Monster_6", 400, 0, 0, []], ["person", "Alien", "Monster_6", 50, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_6", 50, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_4", 490, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 450, 0, 0, []]];
public static var specialData:Array = [["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_4", 350, 0, 0, []], ["person", "Alien", "Monster_4", 150, 0, 0, []], ["person", "Alien", "Monster_4", 250, 0, 0, []], ["person", "Alien", "Monster_4", 110, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_4", 350, 0, 0, []], ["person", "Alien", "Monster_4", 150, 0, 0, []], ["person", "Alien", "Monster_4", 400, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_4", 490, 0, 0, []], ["person", "Alien", "Monster_4", 250, 0, 0, []], ["person", "Alien", "Monster_4", 110, 0, 0, []], ["person", "Alien", "Monster_4", 180, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_4", 350, 0, 0, []], ["person", "Alien", "Monster_4", 150, 0, 0, []], ["person", "Alien", "Monster_4", 250, 0, 0, []], ["person", "Alien", "Monster_4", 110, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_4", 350, 0, 0, []], ["person", "Alien", "Monster_4", 150, 0, 0, []], ["person", "Alien", "Monster_4", 400, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_4", 490, 0, 0, []], ["person", "Alien", "Monster_4", 250, 0, 0, []], ["person", "Alien", "Monster_4", 110, 0, 0, []], ["person", "Alien", "Monster_4", 180, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_4", 350, 0, 0, []], ["person", "Alien", "Monster_4", 150, 0, 0, []], ["person", "Alien", "Monster_4", 250, 0, 0, []], ["person", "Alien", "Monster_4", 110, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_4", 350, 0, 0, []], ["person", "Alien", "Monster_4", 150, 0, 0, []], ["person", "Alien", "Monster_4", 400, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_4", 490, 0, 0, []], ["person", "Alien", "Monster_4", 250, 0, 0, []], ["person", "Alien", "Monster_4", 110, 0, 0, []], ["person", "Alien", "Monster_4", 180, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_4", 350, 0, 0, []], ["person", "Alien", "Monster_4", 150, 0, 0, []], ["person", "Alien", "Monster_4", 250, 0, 0, []], ["person", "Alien", "Monster_4", 110, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_4", 350, 0, 0, []], ["person", "Alien", "Monster_4", 150, 0, 0, []], ["person", "Alien", "Monster_4", 400, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_4", 490, 0, 0, []], ["person", "Alien", "Monster_4", 250, 0, 0, []], ["person", "Alien", "Monster_4", 110, 0, 0, []], ["person", "Alien", "Monster_4", 180, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_4", 350, 0, 0, []], ["person", "Alien", "Monster_4", 150, 0, 0, []], ["person", "Alien", "Monster_4", 250, 0, 0, []], ["person", "Alien", "Monster_4", 110, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_4", 350, 0, 0, []], ["person", "Alien", "Monster_4", 150, 0, 0, []], ["person", "Alien", "Monster_4", 400, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_4", 490, 0, 0, []], ["person", "Alien", "Monster_4", 250, 0, 0, []], ["person", "Alien", "Monster_4", 110, 0, 0, []], ["person", "Alien", "Monster_4", 180, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_4", 350, 0, 0, []], ["person", "Alien", "Monster_4", 150, 0, 0, []], ["person", "Alien", "Monster_4", 250, 0, 0, []], ["person", "Alien", "Monster_4", 110, 0, 0, []], ["person", "Alien", "Monster_3", 180, 0, 0, []], ["person", "Alien", "Monster_3", 50, 0, 0, []], ["person", "Alien", "Monster_3", 350, 0, 0, []], ["person", "Alien", "Monster_3", 150, 0, 0, []], ["person", "Alien", "Monster_3", 400, 0, 0, []], ["person", "Alien", "Monster_3", 50, 0, 0, []], ["person", "Alien", "Monster_3", 490, 0, 0, []], ["person", "Alien", "Monster_3", 250, 0, 0, []], ["person", "Alien", "Monster_3", 110, 0, 0, []], ["person", "Alien", "Monster_3", 180, 0, 0, []], ["person", "Alien", "Monster_3", 50, 0, 0, []], ["person", "Alien", "Monster_3", 350, 0, 0, []], ["person", "Alien", "Monster_3", 150, 0, 0, []], ["person", "Alien", "Monster_3", 250, 0, 0, []], ["person", "Alien", "Monster_3", 110, 0, 0, []], ["person", "Alien", "Monster_3", 180, 0, 0, []], ["person", "Alien", "Monster_3", 50, 0, 0, []], ["person", "Alien", "Monster_3", 350, 0, 0, []], ["person", "Alien", "Monster_3", 150, 0, 0, []], ["person", "Alien", "Monster_3", 400, 0, 0, []], ["person", "Alien", "Monster_3", 50, 0, 0, []], ["person", "Alien", "Monster_3", 490, 0, 0, []], ["person", "Alien", "Monster_3", 250, 0, 0, []], ["person", "Alien", "Monster_3", 110, 0, 0, []], ["person", "Alien", "Monster_3", 180, 0, 0, []], ["person", "Alien", "Monster_3", 50, 0, 0, []], ["person", "Alien", "Monster_3", 350, 0, 0, []], ["person", "Alien", "Monster_3", 150, 0, 0, []], ["person", "Alien", "Monster_3", 250, 0, 0, []], ["person", "Alien", "Monster_3", 110, 0, 0, []], ["person", "Alien", "Monster_3", 180, 0, 0, []], ["person", "Alien", "Monster_3", 50, 0, 0, []], ["person", "Alien", "Monster_3", 350, 0, 0, []], ["person", "Alien", "Monster_3", 150, 0, 0, []], ["person", "Alien", "Monster_3", 400, 0, 0, []], ["person", "Alien", "Monster_3", 50, 0, 0, []], ["person", "Alien", "Monster_3", 490, 0, 0, []], ["person", "Alien", "Monster_3", 250, 0, 0, []], ["person", "Alien", "Monster_3", 110, 0, 0, []], ["person", "Alien", "Monster_3", 180, 0, 0, []], ["person", "Alien", "Monster_3", 50, 0, 0, []], ["person", "Alien", "Monster_3", 350, 0, 0, []], ["person", "Alien", "Monster_3", 150, 0, 0, []], ["person", "Alien", "Monster_3", 250, 0, 0, []], ["person", "Alien", "Monster_3", 110, 0, 0, []], ["person", "Alien", "Monster_3", 180, 0, 0, []], ["person", "Alien", "Monster_3", 50, 0, 0, []], ["person", "Alien", "Monster_3", 350, 0, 0, []], ["person", "Alien", "Monster_3", 150, 0, 0, []], ["person", "Alien", "Monster_3", 400, 0, 0, []], ["person", "Alien", "Monster_3", 50, 0, 0, []], ["person", "Alien", "Monster_3", 490, 0, 0, []], ["person", "Alien", "Monster_3", 250, 0, 0, []], ["person", "Alien", "Monster_3", 110, 0, 0, []], ["person", "Alien", "Monster_3", 180, 0, 0, []], ["person", "Alien", "Monster_3", 50, 0, 0, []], ["person", "Alien", "Monster_3", 350, 0, 0, []], ["person", "Alien", "Monster_3", 150, 0, 0, []], ["person", "Alien", "Monster_3", 250, 0, 0, []], ["person", "Alien", "Monster_3", 110, 0, 0, []], ["person", "Alien", "Monster_3", 180, 0, 0, []], ["person", "Alien", "Monster_3", 50, 0, 0, []], ["person", "Alien", "Monster_3", 350, 0, 0, []], ["person", "Alien", "Monster_3", 150, 0, 0, []], ["person", "Alien", "Monster_3", 400, 0, 0, []], ["person", "Alien", "Monster_3", 50, 0, 0, []], ["person", "Alien", "Monster_3", 490, 0, 0, []], ["person", "Alien", "Monster_3", 250, 0, 0, []], ["person", "Alien", "Monster_3", 110, 0, 0, []], ["person", "Alien", "Monster_3", 180, 0, 0, []], ["person", "Alien", "Monster_3", 50, 0, 0, []], ["person", "Alien", "Monster_3", 350, 0, 0, []], ["person", "Alien", "Monster_3", 150, 0, 0, []], ["person", "Alien", "Monster_3", 250, 0, 0, []], ["person", "Alien", "Monster_3", 110, 0, 0, []], ["person", "Alien", "Monster_3", 180, 0, 0, []], ["person", "Alien", "Monster_3", 50, 0, 0, []], ["person", "Alien", "Monster_3", 350, 0, 0, []], ["person", "Alien", "Monster_3", 150, 0, 0, []], ["person", "Alien", "Monster_3", 400, 0, 0, []], ["person", "Alien", "Monster_3", 50, 0, 0, []], ["person", "Alien", "Monster_3", 490, 0, 0, []], ["person", "Alien", "Monster_3", 250, 0, 0, []], ["person", "Alien", "Monster_3", 110, 0, 0, []], ["person", "Alien", "Monster_3", 180, 0, 0, []], ["person", "Alien", "Monster_3", 50, 0, 0, []], ["person", "Alien", "Monster_3", 350, 0, 0, []], ["person", "Alien", "Monster_3", 150, 0, 0, []], ["person", "Alien", "Monster_3", 250, 0, 0, []], ["person", "Alien", "Monster_3", 110, 0, 0, []], ["person", "Alien", "Monster_3", 180, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 350, 0, 0, []], ["person", "Alien", "Monster_2", 150, 0, 0, []], ["person", "Alien", "Monster_2", 400, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 490, 0, 0, []], ["person", "Alien", "Monster_2", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 350, 0, 0, []], ["person", "Alien", "Monster_2", 150, 0, 0, []], ["person", "Alien", "Monster_2", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 350, 0, 0, []], ["person", "Alien", "Monster_2", 150, 0, 0, []], ["person", "Alien", "Monster_2", 400, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 490, 0, 0, []], ["person", "Alien", "Monster_2", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 350, 0, 0, []], ["person", "Alien", "Monster_2", 150, 0, 0, []], ["person", "Alien", "Monster_2", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 350, 0, 0, []], ["person", "Alien", "Monster_2", 150, 0, 0, []], ["person", "Alien", "Monster_2", 400, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 490, 0, 0, []], ["person", "Alien", "Monster_2", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 350, 0, 0, []], ["person", "Alien", "Monster_2", 150, 0, 0, []], ["person", "Alien", "Monster_2", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 350, 0, 0, []], ["person", "Alien", "Monster_2", 150, 0, 0, []], ["person", "Alien", "Monster_2", 400, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 490, 0, 0, []], ["person", "Alien", "Monster_2", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 350, 0, 0, []], ["person", "Alien", "Monster_2", 150, 0, 0, []], ["person", "Alien", "Monster_2", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 350, 0, 0, []], ["person", "Alien", "Monster_2", 150, 0, 0, []], ["person", "Alien", "Monster_2", 400, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 490, 0, 0, []], ["person", "Alien", "Monster_2", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 350, 0, 0, []], ["person", "Alien", "Monster_2", 150, 0, 0, []], ["person", "Alien", "Monster_2", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 350, 0, 0, []], ["person", "Alien", "Monster_2", 150, 0, 0, []], ["person", "Alien", "Monster_2", 400, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 490, 0, 0, []], ["person", "Alien", "Monster_2", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 350, 0, 0, []], ["person", "Alien", "Monster_2", 150, 0, 0, []], ["person", "Alien", "Monster_2", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 350, 0, 0, []], ["person", "Alien", "Monster_2", 150, 0, 0, []], ["person", "Alien", "Monster_2", 400, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 490, 0, 0, []], ["person", "Alien", "Monster_2", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 350, 0, 0, []], ["person", "Alien", "Monster_2", 150, 0, 0, []], ["person", "Alien", "Monster_2", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 450, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 450, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 450, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 450, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 450, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 450, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 450, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 450, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 450, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 450, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_5", 150, 0, 0, []], ["person", "Alien", "Monster_5", 400, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 490, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_5", 110, 0, 0, []], ["person", "Alien", "Monster_5", 180, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_5", 150, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_5", 110, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_5", 150, 0, 0, []], ["person", "Alien", "Monster_5", 400, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 490, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_5", 110, 0, 0, []], ["person", "Alien", "Monster_5", 180, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_5", 150, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_5", 110, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_5", 150, 0, 0, []], ["person", "Alien", "Monster_5", 400, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 490, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_5", 110, 0, 0, []], ["person", "Alien", "Monster_5", 180, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_5", 150, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_5", 110, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_5", 150, 0, 0, []], ["person", "Alien", "Monster_5", 400, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 490, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_5", 110, 0, 0, []], ["person", "Alien", "Monster_5", 180, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_5", 150, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_5", 110, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_5", 150, 0, 0, []], ["person", "Alien", "Monster_5", 400, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 490, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_5", 110, 0, 0, []], ["person", "Alien", "Monster_5", 180, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_5", 150, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_5", 110, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_5", 150, 0, 0, []], ["person", "Alien", "Monster_5", 400, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 490, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_5", 110, 0, 0, []], ["person", "Alien", "Monster_5", 180, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_5", 150, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_5", 110, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_5", 150, 0, 0, []], ["person", "Alien", "Monster_5", 400, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 490, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_5", 110, 0, 0, []], ["person", "Alien", "Monster_5", 180, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_5", 150, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_5", 110, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_5", 150, 0, 0, []], ["person", "Alien", "Monster_5", 400, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 490, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_5", 110, 0, 0, []], ["person", "Alien", "Monster_5", 180, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_5", 150, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_5", 110, 0, 0, []], ["person", "Alien", "Monster_6", 50, 0, 0, []], ["person", "Alien", "Monster_6", 350, 0, 0, []], ["person", "Alien", "Monster_6", 150, 0, 0, []], ["person", "Alien", "Monster_6", 400, 0, 0, []], ["person", "Alien", "Monster_6", 50, 0, 0, []], ["person", "Alien", "Monster_6", 490, 0, 0, []], ["person", "Alien", "Monster_6", 250, 0, 0, []], ["person", "Alien", "Monster_6", 110, 0, 0, []], ["person", "Alien", "Monster_6", 180, 0, 0, []], ["person", "Alien", "Monster_6", 50, 0, 0, []], ["person", "Alien", "Monster_6", 350, 0, 0, []], ["person", "Alien", "Monster_6", 150, 0, 0, []], ["person", "Alien", "Monster_6", 250, 0, 0, []], ["person", "Alien", "Monster_6", 110, 0, 0, []], ["person", "Alien", "Monster_6", 50, 0, 0, []], ["person", "Alien", "Monster_6", 350, 0, 0, []], ["person", "Alien", "Monster_6", 150, 0, 0, []], ["person", "Alien", "Monster_6", 400, 0, 0, []], ["person", "Alien", "Monster_6", 50, 0, 0, []], ["person", "Alien", "Monster_6", 490, 0, 0, []], ["person", "Alien", "Monster_6", 250, 0, 0, []], ["person", "Alien", "Monster_6", 110, 0, 0, []], ["person", "Alien", "Monster_6", 180, 0, 0, []], ["person", "Alien", "Monster_6", 50, 0, 0, []], ["person", "Alien", "Monster_6", 350, 0, 0, []], ["person", "Alien", "Monster_6", 150, 0, 0, []], ["person", "Alien", "Monster_6", 250, 0, 0, []], ["person", "Alien", "Monster_6", 110, 0, 0, []], ["person", "Alien", "Monster_6", 50, 0, 0, []], ["person", "Alien", "Monster_6", 350, 0, 0, []], ["person", "Alien", "Monster_6", 150, 0, 0, []], ["person", "Alien", "Monster_6", 400, 0, 0, []], ["person", "Alien", "Monster_6", 50, 0, 0, []], ["person", "Alien", "Monster_6", 490, 0, 0, []], ["person", "Alien", "Monster_6", 250, 0, 0, []], ["person", "Alien", "Monster_6", 110, 0, 0, []], ["person", "Alien", "Monster_6", 180, 0, 0, []], ["person", "Alien", "Monster_6", 50, 0, 0, []], ["person", "Alien", "Monster_6", 350, 0, 0, []], ["person", "Alien", "Monster_6", 150, 0, 0, []], ["person", "Alien", "Monster_6", 250, 0, 0, []], ["person", "Alien", "Monster_6", 110, 0, 0, []], ["person", "Alien", "Monster_6", 50, 0, 0, []], ["person", "Alien", "Monster_6", 350, 0, 0, []], ["person", "Alien", "Monster_6", 150, 0, 0, []], ["person", "Alien", "Monster_6", 400, 0, 0, []], ["person", "Alien", "Monster_6", 50, 0, 0, []], ["person", "Alien", "Monster_6", 490, 0, 0, []], ["person", "Alien", "Monster_6", 250, 0, 0, []], ["person", "Alien", "Monster_6", 110, 0, 0, []], ["person", "Alien", "Monster_6", 180, 0, 0, []], ["person", "Alien", "Monster_6", 50, 0, 0, []], ["person", "Alien", "Monster_6", 350, 0, 0, []], ["person", "Alien", "Monster_6", 150, 0, 0, []], ["person", "Alien", "Monster_6", 250, 0, 0, []], ["person", "Alien", "Monster_6", 110, 0, 0, []], ["person", "Alien", "Monster_6", 50, 0, 0, []], ["person", "Alien", "Monster_6", 350, 0, 0, []], ["person", "Alien", "Monster_6", 150, 0, 0, []], ["person", "Alien", "Monster_6", 400, 0, 0, []], ["person", "Alien", "Monster_6", 50, 0, 0, []], ["person", "Alien", "Monster_6", 490, 0, 0, []], ["person", "Alien", "Monster_6", 250, 0, 0, []], ["person", "Alien", "Monster_6", 110, 0, 0, []], ["person", "Alien", "Monster_6", 180, 0, 0, []], ["person", "Alien", "Monster_6", 50, 0, 0, []], ["person", "Alien", "Monster_6", 350, 0, 0, []], ["person", "Alien", "Monster_6", 150, 0, 0, []], ["person", "Alien", "Monster_6", 250, 0, 0, []], ["person", "Alien", "Monster_6", 110, 0, 0, []], ["person", "Alien", "Monster_1", 450, 0, 0, []]];
public static var buildData_1:Object = {tanks:["House_1", "House_2", "House_3"], persons:["House_6", "House_7", "House_8"], robots:["House_9"], towers:["Tower_1", "Tower_2"]};
public static var buildData_2:Object = {tanks:["House_1", "House_2", "House_3", "House_5"], persons:["House_6", "House_7", "House_8"], robots:["House_9"], towers:["Tower_1", "Tower_2", "Mine_1"]};
public static var buildData_3:Object = {tanks:["House_1", "House_2", "House_3", "House_5"], persons:["House_6", "House_7", "House_8"], robots:["House_9"], towers:["Tower_1", "Tower_2", "Mine_1"]};
public static var buildData_4:Object = {tanks:["House_2", "House_3", "House_4", "House_5"], persons:["House_6", "House_7", "House_8"], robots:["House_9"], towers:["Tower_1", "Tower_2", "Mine_1"]};
public static var buildData_5:Object = {tanks:["House_1", "House_3", "House_4", "House_5"], persons:["House_6", "House_7", "House_8"], robots:["House_9"], towers:["Tower_1", "Tower_2", "Mine_1"]};
public static var buildData_6:Object = {tanks:["House_1", "House_2", "House_3", "House_5"], persons:["House_6", "House_7", "House_8"], robots:["House_9"], towers:["Tower_1", "Tower_2", "Mine_1"]};
public static var createData_1:Array = [["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_3", 350, 0, 0, []], ["person", "Alien", "Monster_3", 150, 0, 0, []], ["person", "Alien", "Monster_3", 400, 0, 0, []], ["person", "Alien", "Monster_3", 50, 0, 0, []], ["person", "Alien", "Monster_3", 490, 0, 0, []], ["person", "Alien", "Monster_3", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_3", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_3", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []]];
public static var createData_2:Array = [["person", "Alien", "Monster_3", 0, 0, 0, []], ["person", "Alien", "Monster_3", 400, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_4", 490, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_4", 180, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_4", 490, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []]];
public static var createData_4:Array = [["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_3", 0, 0, 0, []], ["person", "Alien", "Monster_3", 400, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_4", 490, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_6", 150, 0, 0, []], ["person", "Alien", "Monster_6", 400, 0, 0, []], ["person", "Alien", "Monster_7", 50, 0, 0, []], ["person", "Alien", "Monster_7", 490, 0, 0, []], ["person", "Alien", "Monster_3", 250, 0, 0, []], ["person", "Alien", "Monster_3", 110, 0, 0, []], ["person", "Alien", "Monster_4", 180, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_5", 150, 0, 0, []], ["person", "Alien", "Monster_6", 400, 0, 0, []], ["person", "Alien", "Monster_6", 50, 0, 0, []], ["person", "Alien", "Monster_7", 490, 0, 0, []], ["person", "Alien", "Monster_7", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 350, 0, 0, []], ["person", "Alien", "Monster_2", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_2", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_7", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_7", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_6", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 450, 0, 0, []]];
public static var createData_5:Array = [["person", "Alien", "Monster_3", 0, 0, 0, []], ["person", "Alien", "Monster_3", 400, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_4", 490, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_6", 150, 0, 0, []], ["person", "Alien", "Monster_6", 400, 0, 0, []], ["person", "Alien", "Monster_7", 50, 0, 0, []], ["person", "Alien", "Monster_7", 490, 0, 0, []], ["person", "Alien", "Monster_3", 250, 0, 0, []], ["person", "Alien", "Monster_3", 110, 0, 0, []], ["person", "Alien", "Monster_4", 180, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_5", 150, 0, 0, []], ["person", "Alien", "Monster_6", 400, 0, 0, []], ["person", "Alien", "Monster_6", 50, 0, 0, []], ["person", "Alien", "Monster_7", 490, 0, 0, []], ["person", "Alien", "Monster_7", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_5", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_5", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_5", 150, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_5", 110, 0, 0, []], ["person", "Alien", "Monster_5", 180, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_5", 150, 0, 0, []], ["person", "Alien", "Monster_5", 400, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 490, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_2", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 350, 0, 0, []], ["person", "Alien", "Monster_2", 150, 0, 0, []], ["person", "Alien", "Monster_2", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 350, 0, 0, []], ["person", "Alien", "Monster_3", 150, 0, 0, []], ["person", "Alien", "Monster_3", 400, 0, 0, []], ["person", "Alien", "Monster_3", 50, 0, 0, []], ["person", "Alien", "Monster_3", 490, 0, 0, []], ["person", "Alien", "Monster_3", 250, 0, 0, []], ["person", "Alien", "Monster_3", 110, 0, 0, []], ["person", "Alien", "Monster_3", 180, 0, 0, []], ["person", "Alien", "Monster_3", 250, 0, 0, []], ["person", "Alien", "Monster_3", 110, 0, 0, []], ["person", "Alien", "Monster_3", 180, 0, 0, []], ["person", "Alien", "Monster_3", 50, 0, 0, []], ["person", "Alien", "Monster_3", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 450, 0, 0, []]];
public static var createData_6:Array = [["person", "Alien", "Monster_3", 0, 0, 0, []], ["person", "Alien", "Monster_3", 400, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_4", 490, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_6", 150, 0, 0, []], ["person", "Alien", "Monster_6", 400, 0, 0, []], ["person", "Alien", "Monster_7", 50, 0, 0, []], ["person", "Alien", "Monster_7", 490, 0, 0, []], ["person", "Alien", "Monster_3", 250, 0, 0, []], ["person", "Alien", "Monster_3", 110, 0, 0, []], ["person", "Alien", "Monster_4", 180, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_5", 150, 0, 0, []], ["person", "Alien", "Monster_6", 400, 0, 0, []], ["person", "Alien", "Monster_6", 50, 0, 0, []], ["person", "Alien", "Monster_7", 490, 0, 0, []], ["person", "Alien", "Monster_7", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 350, 0, 0, []], ["person", "Alien", "Monster_2", 150, 0, 0, []], ["person", "Alien", "Monster_2", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 350, 0, 0, []], ["person", "Alien", "Monster_2", 150, 0, 0, []], ["person", "Alien", "Monster_2", 400, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_2", 490, 0, 0, []], ["person", "Alien", "Monster_2", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_5", 150, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_5", 110, 0, 0, []], ["person", "Alien", "Monster_5", 180, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_5", 150, 0, 0, []], ["person", "Alien", "Monster_5", 400, 0, 0, []], ["person", "Alien", "Monster_5", 50, 0, 0, []], ["person", "Alien", "Monster_5", 490, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_5", 110, 0, 0, []], ["person", "Alien", "Monster_5", 180, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_4", 490, 0, 0, []], ["person", "Alien", "Monster_4", 250, 0, 0, []], ["person", "Alien", "Monster_4", 110, 0, 0, []], ["person", "Alien", "Monster_4", 180, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_4", 350, 0, 0, []], ["person", "Alien", "Monster_4", 150, 0, 0, []], ["person", "Alien", "Monster_4", 450, 0, 0, []], ["person", "Alien", "Monster_3", 0, 0, 0, []], ["person", "Alien", "Monster_3", 400, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_4", 490, 0, 0, []], ["person", "Alien", "Monster_5", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_2", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_6", 150, 0, 0, []], ["person", "Alien", "Monster_6", 400, 0, 0, []], ["person", "Alien", "Monster_7", 50, 0, 0, []], ["person", "Alien", "Monster_7", 490, 0, 0, []], ["person", "Alien", "Monster_3", 250, 0, 0, []], ["person", "Alien", "Monster_3", 110, 0, 0, []], ["person", "Alien", "Monster_4", 180, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_5", 350, 0, 0, []], ["person", "Alien", "Monster_5", 150, 0, 0, []], ["person", "Alien", "Monster_6", 400, 0, 0, []], ["person", "Alien", "Monster_6", 50, 0, 0, []], ["person", "Alien", "Monster_7", 490, 0, 0, []], ["person", "Alien", "Monster_7", 250, 0, 0, []], ["person", "Alien", "Monster_2", 110, 0, 0, []], ["person", "Alien", "Monster_2", 180, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_4", 350, 0, 0, []], ["person", "Alien", "Monster_4", 150, 0, 0, []], ["person", "Alien", "Monster_4", 400, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_4", 490, 0, 0, []], ["person", "Alien", "Monster_4", 250, 0, 0, []], ["person", "Alien", "Monster_4", 110, 0, 0, []], ["person", "Alien", "Monster_4", 180, 0, 0, []], ["person", "Alien", "Monster_4", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 350, 0, 0, []], ["person", "Alien", "Monster_1", 150, 0, 0, []], ["person", "Alien", "Monster_1", 400, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []], ["person", "Alien", "Monster_1", 490, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 250, 0, 0, []], ["person", "Alien", "Monster_1", 110, 0, 0, []], ["person", "Alien", "Monster_1", 180, 0, 0, []], ["person", "Alien", "Monster_1", 50, 0, 0, []]];
}
}//package com.gq.system
Section 17
//Ctrl (com.gq.system.Ctrl)
package com.gq.system {
import flash.display.*;
import com.gq.moveobject.*;
import flash.events.*;
public class Ctrl {
public var impossible:Boolean;
private var ESC:uint;// = 27
private static var Scen:DisplayObjectContainer;
public function Ctrl(_arg1:DisplayObjectContainer):void{
ESC = 27;
super();
Scen = _arg1;
Scen.stage.addEventListener(MouseEvent.CLICK, clickHd);
Scen.stage.addEventListener(MouseEvent.MOUSE_OVER, clickHd);
}
public function loseFocus(_arg1:Event=null):void{
GameData.controlWho.leftPress = false;
GameData.controlWho.downPress = false;
GameData.controlWho.rightPress = false;
GameData.controlWho.upPress = false;
GameData.controlWho.attackPress = false;
GameData.controlWho.jumpPress = false;
}
private function clickHd(_arg1:MouseEvent):void{
var i:int;
var testMc:MovieClip;
var evt = _arg1;
i = (GameData.canClickObjArr.length - 1);
while (i >= 0) {
testMc = (GameData.canClickObjArr[i] as MovieClip);
if ((GameData.canClickObjArr[i] is MoveObject)){
testMc = GameData.canClickObjArr[i]._this;
};
if (testMc.hitTestPoint(GameData.Scen.mouseX, GameData.Scen.mouseY, true)){
try {
var _local3 = GameData.canClickObjArr[i];
_local3[(evt.type + "Hd")](evt.target);
} catch(e) {
};
};
i = (i - 1);
};
}
public function removeMe():void{
Scen.stage.removeEventListener(MouseEvent.CLICK, clickHd);
Scen.stage.removeEventListener(MouseEvent.MOUSE_OVER, clickHd);
GameData.controlClass = null;
}
private function KeyUpHD(_arg1:KeyboardEvent):void{
switch (_arg1.keyCode){
case GameData.A:
GameData.controlWho.leftPress = false;
GameData.controlWho.leftDone = false;
break;
case GameData.S:
GameData.controlWho.downPress = false;
GameData.controlWho.downDone = false;
break;
case GameData.D:
GameData.controlWho.rightPress = false;
GameData.controlWho.rightDone = false;
break;
case GameData.W:
GameData.controlWho.upPress = false;
GameData.controlWho.upDone = false;
break;
case GameData.J:
GameData.controlWho.attackPress = false;
GameData.controlWho.attackDone = false;
break;
case GameData.K:
GameData.controlWho.jumpPress = false;
GameData.controlWho.jumpDone = false;
break;
case GameData.L:
GameData.controlWho.specialPress = false;
GameData.controlWho.specilaDone = false;
break;
};
}
private function KeyDownHD(_arg1:KeyboardEvent):void{
switch (_arg1.keyCode){
case GameData.A:
GameData.controlWho.leftPress = true;
break;
case GameData.S:
GameData.controlWho.downPress = true;
break;
case GameData.D:
GameData.controlWho.rightPress = true;
break;
case GameData.W:
GameData.controlWho.upPress = true;
break;
case GameData.J:
GameData.controlWho.attackPress = true;
break;
case GameData.K:
GameData.controlWho.jumpPress = true;
break;
case GameData.L:
GameData.controlWho.specialPress = true;
break;
case ESC:
if (!impossible){
GameTools.Pause();
};
break;
case 80:
if (!impossible){
GameTools.Pause();
};
break;
case 33:
GameData.Scen.stage.frameRate++;
break;
case 34:
GameData.Scen.stage.frameRate--;
break;
case 81:
GameSys.missionComplete();
break;
case 32:
if (GameData.hitTestSprite.parent == null){
GameData.bgContainer.addChild(GameData.hitTestSprite);
} else {
GameData.bgContainer.removeChild(GameData.hitTestSprite);
};
break;
};
}
}
}//package com.gq.system
Section 18
//FPSShow (com.gq.system.FPSShow)
package com.gq.system {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.utils.*;
public class FPSShow extends Sprite {
private var count:int;// = 0
private var txt:TextField;
public function FPSShow(){
count = 0;
super();
init();
}
private function init():void{
var _local1:Timer;
txt = new TextField();
txt.textColor = 0xFF0000;
txt.background = true;
txt.backgroundColor = 11259375;
txt.autoSize = TextFieldAutoSize.CENTER;
txt.selectable = false;
txt.x = 20;
addChild(txt);
_local1 = new Timer(1000);
_local1.addEventListener("timer", timerHandler);
this.addEventListener("enterFrame", countHandler);
_local1.start();
}
private function countHandler(_arg1:Event):void{
count++;
}
private function timerHandler(_arg1:TimerEvent):void{
txt.text = "FPS:";
txt.text = ("FPS:" + count);
count = 0;
}
}
}//package com.gq.system
Section 19
//GameData (com.gq.system.GameData)
package com.gq.system {
import flash.display.*;
import com.gq.moveobject.*;
import flash.geom.*;
import flash.text.*;
import com.gq.ui.*;
import flash.media.*;
import flash.net.*;
import flash.filters.*;
public class GameData {
public static const DIFFICULTY_EASY:uint = 1;
public static const GAME_MODULUS = 0.65;
public static const nowTraceX:Number = 320;
public static const nowTraceY:Number = 275;
public static const screenHeight:int = 550;
public static const screenWidth:int = 640;
public static const DIFFICULTY_HARD:uint = 3;
public static const dragRange:Number = 100;
public static const VERSON:String = "1.215";
public static const DIFFICULTY_NORMAL:uint = 2;
public static var current_life:uint = (GAME_TESTING) ? 5000 : 500;
;
public static var grayTrans:ColorTransform = new ColorTransform(0.4, 0.4, 0.4, 1, 0, 0, 0, 0);
public static var gameUI:GameUI;
public static var ownSkillArr:Array = [0, 0, 0, 0, 0];
public static var controlClass:Ctrl;
public static var music:Sound = new Sound();
public static var monsterArr:Array;
public static var GAME_DIFFICULTY:uint = 2;
public static var rectHeight:uint = 50;
public static var redFilters:Array = [new GlowFilter()];
public static var nowDragWho;
public static var time_left:int;
public static var KString:String = "K";
public static var missionTarget;
public static var A:uint = 65;
public static var D:uint = 68;
public static var rectWidth:uint = 70;
public static var J:uint = 74;
public static var actionArr:Array;
public static var widthLength:uint = 8;
public static var clickObj:Array;
public static var S:uint = 83;
public static var level_index:uint = 1;
public static var resourceWidth:int;
public static var myMouse:MovieClip;
public static var rightCount:uint;
public static var SString:String = "S";
public static var Loader2:Loader = new Loader();
public static var Loader3:Loader = new Loader();
public static var Loader4:Loader = new Loader();
public static var K:uint = 75;
public static var L:uint = 76;
public static var Loader1:Loader = new Loader();
public static var bottomObjectContainer:Sprite;
public static var Loader5:Loader = new Loader();
public static var Loader6:Loader = new Loader();
public static var Loader7:Loader = new Loader();
public static var Loader8:Loader = new Loader();
public static var gameHitBg:Sprite;
public static var blueTrans:ColorTransform = new ColorTransform(0.6, 0.6, 0.6, 1, 0, 0, 100, 0);
public static var W:uint = 87;
public static var currentTarget;
public static var hitTestBmd:BitmapData;
public static var idIndex:uint;
public static var topSprite:Sprite;
public static var sound2Channel:SoundChannel = new SoundChannel();
public static var current_score:Number = 0;
public static var resourceBmd:BitmapData;
public static var redTrans:ColorTransform = new ColorTransform(0.5, 0.5, 0.5, 1, 128, 0, 0, 0);
public static var towerArr:Array;
public static var objectArr:Array;
public static var GAME_TESTING:Boolean = true;
public static var currentPushTower:uint = 1;
public static var otherFilter:Array = [new ColorMatrixFilter([11, 0, 0, 0, -635, 0, 11, 0, 0, -635, 0, 0, 11, 0, -635, 0, 0, 0, 1, 0])];
public static var isPausing:Boolean;
public static var personContainer:Sprite;
public static var superWhiteFilters:Array = [new GlowFilter(0xFF00, 1, 50, 50, 0.1, 1, true)];
public static var gameContainer:Sprite;
public static var myShareObject:SharedObject;
public static var shadowFilter:Array = [new DropShadowFilter()];
public static var money:Number = 700;
public static var FPS:FPSShow;
public static var beatArr:Array;
public static var resourceHeight:int;
public static var base:Base;
public static var soundTrans:SoundTransform = new SoundTransform();
public static var checkTarget:Boolean;
public static var gameTeller:GameTeller;
public static var mapArrUp:Array = new Array(widthLength);
public static var leftMapLimit:Number = 0;
public static var lifeNum:uint = 10;
public static var sndLoader:Loader = ((DocumentClass._mcLoader)!=null) ? DocumentClass._mcLoader.loadersObj.soundLoader : null;
;
public static var currentBuildList:BuildListManager;
public static var heightLength:uint = 4;
public static var total_time:uint = 99;
public static var game_level:uint = 1;
public static var JString:String = "J";
public static var creater:MonsterCreater;
public static var sound1:Sound = new Sound();
public static var soundChannel:SoundChannel = new SoundChannel();
public static var sound3:Sound = new Sound();
public static var sound2:Sound = new Sound();
public static var total_level_num:uint;
public static var currentIndex:uint;
public static var effectArr:Array;
public static var Scen:DisplayObjectContainer;
public static var musicChannel:SoundChannel = new SoundChannel();
public static var can_pass:Boolean;
public static var controlWho;
public static var currentMap:Map;
public static var nowUseClass:Class;
public static var screenStopCount:uint;
public static var bitmap:Bitmap;
public static var nowDifficulty:Number;
public static var pause_page:MovieClip;
public static var objInScreenArr:Array;
public static var sound:Sound = new Sound();
public static var removeArr:Array;
public static var tips:Tips;
public static var WString:String = "W";
public static var leftCount:uint;
public static var LANGUAGE:uint = 1;
public static var map:Map;
public static var greenTrans:ColorTransform = new ColorTransform(0.5, 0.5, 0.5, 1, 0, 128, 0, 0);
public static var screenBmd:BitmapData;
public static var mapSpeedY:Number;
public static var sound3Channel:SoundChannel = new SoundChannel();
public static var mapSpeedX:Number;
public static var LString:String = "L";
public static var isPlay:Boolean;
public static var channelNum:uint = 3;
public static var DString:String = "D";
public static var nowLoading:int;
public static var initTrans:ColorTransform = new ColorTransform(1, 1, 1, 1, 0, 0, 0, 0);
public static var musicTrans:SoundTransform = new SoundTransform();
public static var now_music:String = "";
public static var _loadPercentTxt:TextField;
public static var whiteFilters:Array = [new GlowFilter(0xFF0000, 1, 0, 0, 90, 1, true)];
public static var currentValue:Number;
public static var totalHoleArr:Array;
public static var bulletContainer:Sprite;
public static var canClickObjArr:Array;
public static var catchArr:Array;
public static var mapArrDown:Array = new Array(widthLength);
public static var sound1Channel:SoundChannel = new SoundChannel();
public static var shakeCount:uint;
public static var enemyTimeArr:Array = new Array(30);
public static var AString:String = "A";
public static var earthArr:Array;
public static var mapInforArr:Array;
public static var grayFilter:Array = [new ColorMatrixFilter([0.3086, 0.6094, 0.082, 0, 0, 0.3086, 0.6094, 0.082, 0, 0, 0.3086, 0.6094, 0.082, 0, 0, 0, 0, 0, 1, 0])];
public static var bgContainer:Sprite;
public static var collisionObjArr:Array;
public static var enemyArr:Array;
public static var bgRect:Rectangle;
public static var GAME_MODE:String = "normal";
public static var gameBg:Sprite;
public static var majorArr:Array;
public static var hitTestSprite:Sprite;
public static var topObjectContainer:Sprite;
public static var effectContainer:Sprite;
public static var moveObjectContainer:Sprite;
public static var rightMapLimit:Number = 0;
public static var whiteTrans:ColorTransform = new ColorTransform(0, 0, 0, 1, 0xFF, 0xFF, 0xFF, 0);
public static function initData():void{
var _local1:uint;
var _local2:uint;
var _local3:uint;
if (GameData.myShareObject.data.ownSkillArr != undefined){
GameData.ownSkillArr = GameData.myShareObject.data.ownSkillArr;
};
actionArr = [];
effectArr = [];
objectArr = [];
monsterArr = [];
collisionObjArr = [];
objInScreenArr = [];
beatArr = [];
majorArr = [];
removeArr = [];
clickObj = [];
enemyArr = [];
earthArr = [];
towerArr = [];
canClickObjArr = [];
totalHoleArr = [];
checkTarget = false;
_local1 = 0;
while (_local1 < mapArrUp.length) {
mapArrUp[_local1] = [0, 0, 0, 0];
_local1++;
};
_local2 = 0;
while (_local2 < mapArrDown.length) {
mapArrDown[_local2] = [0, 0, 0, 0];
_local2++;
};
time_left = 99;
shakeCount = 0;
mapSpeedX = 0;
mapSpeedY = 0;
idIndex = 0;
leftMapLimit = 0;
rightMapLimit = 0;
currentIndex = 1;
currentValue = 0;
screenStopCount = 0;
if (GameData.myShareObject.data.totalMoney == undefined){
GameData.myShareObject.data.totalMoney = money;
};
money = GameData.myShareObject.data.totalMoney;
if (GameData.myShareObject.data.score == undefined){
GameData.myShareObject.data.score = GameData.current_score;
};
GameData.current_score = GameData.myShareObject.data.score;
isPausing = false;
can_pass = false;
map = null;
nowDragWho = null;
creater = null;
currentMap = null;
gameContainer = null;
bgContainer = null;
effectContainer = null;
moveObjectContainer = null;
bulletContainer = null;
bottomObjectContainer = null;
personContainer = null;
topObjectContainer = null;
pause_page = null;
gameUI = null;
controlClass = null;
currentBuildList = null;
gameTeller = null;
currentTarget = null;
missionTarget = null;
tips = null;
_local3 = 0;
while (_local3 < enemyTimeArr.length) {
enemyTimeArr[_local3] = 0;
_local3++;
};
}
public static function SuperInit():void{
total_level_num = 0;
current_life = 500;
level_index = 1;
controlWho = null;
}
}
}//package com.gq.system
Section 20
//GameDesignClass (com.gq.system.GameDesignClass)
package com.gq.system {
import flash.display.*;
public class GameDesignClass {
public var Scen:DisplayObjectContainer;
public static const buildMineArr:Array = [[500, 10]];
public static const effectsArr:Array = [["exp_3"], ["exp_2"], [""], ["exp_1"], ["exp_1"], ["exp_2"], [""]];
public static const keyArr:Array = [[32, "SPACE"], [17, "CTRL"], [16, "SHIFT"], [20, "CAPS"], [27, "ESC"], [8, "BACK"], [112, "F1"], [113, "F2"], [114, "F3"], [115, "F4"], [116, "F5"], [117, "F6"], [118, "F7"], [119, "F8"], [120, "F9"], [121, "F10"], [122, "F11"], [123, "F12"], [19, "SCRLK"], [45, "INSERT"], [36, "HOME"], [33, "PAGEUP"], [34, "PAGEDN"], [46, "DEL"], [35, "END"], [38, "↑"], [40, "↓"], [37, "←"], [39, "→"], [13, "ENTER"], [144, "NUMLOCK"]];
public static const personArr:Array = [[20, 100, 9, 1, [30, 1, 1], 250, 300, "Bullet_1", true, 1, 5, "ExploreEffects_1"], [20, 10, 6, 2, [40, 1, 1], 100, 150, "Bullet_2", true, 1, 5, "ExploreEffects_1"], [20, 10, 4, 3, [40, 1, 1], 100, 150, "Bullet_5", true, 1, 5, "ExploreEffects_1"], [150, 5, 2, 3, [100, 1, 1], 150, 200, "Bullet_8", true, 2, 5, "ExploreEffects_1"], [500, 10, 2, 2, [100, 1, 1], 250, 300, "Bullet_3", true, 2, 5, "ExploreEffects_1"], [500, 150, 2, 1, [200, 1, 1], 400, 450, "Bullet_12", true, 2, 5, "ExploreEffects_1"]];
public static const mineArr:Array = [[10, 0, 0, 0, [500, 1, 1]]];
public static const baseArr:Array = [[5000, 100, "ExploreEffects_5", "Bullet_7"], [5000, 100, "ExploreEffects_5", "Bullet_7"], [5000, 80, "ExploreEffects_5", "Bullet_7"]];
public static const tankArr:Array = [[150, 80, 20, 2, [30, 1, 1], 200, 220, "Bullet_1", true, 0, 1, 2, "ExploreEffects_1"], [100, 100, 20, 1, [60, 1, 1], 250, 300, "Bullet_1", true, 0, 2, 2, "ExploreEffects_1"], [500, 5, 20, 1, [80, 1, 1], 120, 150, "Bullet_2", true, 0, 1, 2, "ExploreEffects_1"], [50, 80, 20, 3, [30, 1, 1], 150, 200, "Bullet_4", true, 0, 1, 5, "ExploreEffects_1"], [200, 10, 20, 1, [50, 1, 1], 150, 200, "Bullet_6", true, 0, 1, 2, "ExploreEffects_1"]];
public static const alienArr:Array = [[50, 10, 9, 3, [10, 1, 1], 50, 50, "", true, 5, 2, 10, "ExploreEffects_6"], [300, 30, 11, 2, [20, 1, 1], 50, 50, "", true, 10, 2, 10, "ExploreEffects_6"], [500, 100, 5, 1.5, [20, 1, 1], 150, 200, "Bullet_9", true, 10, 1, 10, "ExploreEffects_6"], [1000, 200, 5, 0.5, [20, 1, 1], 300, 350, "Bullet_11", true, 20, 1, 5, "ExploreEffects_6"], [800, 20, 5, 1.5, [20, 1, 1], 150, 200, "Bullet_9", true, 20, 1, 10, "ExploreEffects_6"], [1000, 100, 5, 2, [20, 1, 1], 200, 250, "Bullet_10", true, 25, 1, 10, "ExploreEffects_6"], [1500, 50, 5, 1, [20, 1, 1], 300, 350, "Bullet_11", true, 30, 1, 5, "ExploreEffects_6"]];
public static const languageInfor:Object = {startBtn:["开始", "<START"], helpBtn:["帮助", "HELP"], backBtn:["返回", "<BACK"], quitBtn:["退出", "QUIT"], nextBtn:["确定", "NEXT"], resumeBtn:["继续", "RESUME"], restartBtn:["重开一局", "RESTART"], moreBtn:["跟多游戏", "MORE"], yesBtn:["是", "YES"], noBtn:["否", "NO"], delBtn:["删除存档", "DELETE DATA"], survivalBtn:["生存模式", "SURVIVAL MODE"], select_title:["任务选择", "MISSION SELECT"], help_title:["帮助", "HELP"], sure_title:["你确定?", "ARE YOU SURE?"], lose_title:["任务失败", "MISSION FAILED"], win_title:["任务成功", "MISSION COMPLETE"], shop_title:["研发所", "AKATEMIA"], costTxt:["造价:", "COST:"], demageTxt:["攻击:", "DEMAGE:"], healthTxt:["生命:", "HEALTH:"], menuTxt:["菜单", "MENU"], soundTxt:["音乐", "MUTE"], qualityTxt:["画质", "QUAL"], tips_1:["在时间结束前摧毁虫族基地,否则会有恐怖的事发生", "Destroy the Zerg's base before time is up, or horrible things would happen"], tips_2:["卖塔只能获得10%的金钱", "Sell tower can only get 10% of the money "], tips_3:[" 试着撑过99秒!", " Try to survive 99 seconds!"], tips_4:[" 恭喜通关!敬请期待我们的下一部作品", " Congratulation! Please wait for our next game"], infor_0:["战术炮:使你的基地可以攻击", "Tactic Cannon: It helps your base gain the power to attack"], infor_1:["狙击风暴:这东西使你的基地变成了屠虫器", "Snipe-Storm: This weapon makes your base a Zerg-killer"], infor_2:["以太装甲:大幅度增加基地的生命值", "The Etheric Armor: Increase your base's HP"], infor_3:["高达-零式:来尝试下虫子终结者的威力吧", "Gundom-Zero: You need to try this which is called Zerg-Terminator"], infor_4:["高达-雷神:在战场上遭遇雷神简直是个灾难", "Gundom-Zeus: It is a disaster when encounter Zeus in battlefield"], helpInfor:[" 不远的未来,人类不得不面对不断的天灾和资源的枯竭。人类成群的死亡,这让一直生存在沼泽和地下以食人为生的atoms星虫族有了繁殖的资本。他们的数量不断的增加,最终剩余的人类聚集他们仅剩的武装力量防守最后的防线。 鼠标操作,通过制造部队摧毁敌方的基地以获取胜利,同时需要保护自己的基地不被虫族摧毁。 \t ", " In the near future,Human must face the successive natural disasters and the exhaustion of resources. Amont of people dead,which made the Zerg in atoms who relies on eat Human beings get the chance of massive reproduction.The quantity of Zerg is increasing continuely.It is time for the survival human to gather their remained military to defence their home. \t\t\t\t\t\t \t\tMouse to play. Build your army and units to destroy Zerg's base, and defense your base from Zerg's attack."]};
public static const towerArr:Array = [[2000, 50, 20, 0, [30, 1, 1], 400, 410, "Bullet_1", 1], [2000, 20, 20, 0, [80, 1, 1], 180, 200, "Bullet_8", 4]];
public static const houseArr:Array = [[1000, 400, 20, [20, 1, 1], "person", "Tank", "Tank_1", true], [1000, 400, 20, [20, 1, 1], "person", "Tank", "Tank_2", true], [1000, 700, 20, [20, 1, 1], "person", "Tank", "Tank_3", true], [1000, 150, 20, [20, 1, 1], "person", "Tank", "Tank_4", true], [1000, 300, 20, [20, 1, 1], "person", "Tank", "Tank_5", true], [1000, 500, 20, [20, 1, 1], "person", "Person", "Person_1", true], [1000, 200, 20, [20, 1, 1], "person", "Person", "Person_2", true], [1000, 200, 20, [20, 1, 1], "person", "Person", "Person_3", true], [1000, 800, 20, [20, 1, 1], "person", "Person", "Person_4", true], [1000, 1000, 20, [20, 1, 1], "person", "Person", "Person_5", true], [1000, 1000, 20, [20, 1, 1], "person", "Person", "Person_6", true]];
public static const buildTowerArr:Array = [[500, 40], [500, 60], [500, 50], [500, 30], [500, 10], [500, 0], [500, 0], [500, 0], [500, 0]];
public static const buildHouseArr:Array = [[500, 50], [500, 60], [500, 100], [500, 30], [500, 60], [500, 20], [500, 20], [500, 30], [500, 300], [500, 500], [500, 800]];
public static const destinateArr:Array = [[10000, 500, "ExploreEffects_6", ["Monster_1"]], [12000, 400, "ExploreEffects_6", ["Monster_2"]], [20000, 500, "ExploreEffects_6", ["Monster_6"]], [35000, 400, "ExploreEffects_6", ["Monster_3"]], [50000, 400, "ExploreEffects_6", ["Monster_4"]], [80000, 400, "ExploreEffects_6", ["Monster_7"]]];
public static const bulletArr:Array = [[10, [30, 1, 1], "ExploreEffects_2", "shoot_1"], [10, [10, 1, 1], "ExploreEffects_3", "shoot_2"], [15, [50, 1, 1], "ExploreEffects_2", "shoot_3"], [10, [30, 1, 1], "ExploreEffects_2", "shoot_5"], [15, [30, 1, 1], "ExploreEffects_3", "shoot_2"], [10, [30, 1, 1], "ExploreEffects_2", "shoot_9"], [20, [400, 1, 1], "ExploreEffects_2", "shoot_6"], [10, [30, 1, 1], "ExploreEffects_2", "shoot_4"], [10, [30, 1, 1], "ExploreEffects_7", "shoot_7"], [30, [50, 1, 1], "ExploreEffects_7", "shoot_7"], [20, [90, 1, 1], "ExploreEffects_7", "shoot_8"], [20, [90, 1, 1], "ExploreEffects_2", "shoot_8"]];
public static var mapArray:Array = [0, 0, 0, 0];
public function GameDesignClass(_arg1:DisplayObjectContainer):void{
Scen = _arg1;
GameData.Scen = Scen;
GameData.Scen.stage.scaleMode = "noScale";
GameData.Scen.stage.showDefaultContextMenu = false;
GameTools.shareObject();
GameData.initData();
GameSys.createGame();
GameTools.addMask();
}
}
}//package com.gq.system
Section 21
//GameSys (com.gq.system.GameSys)
package com.gq.system {
import flash.display.*;
import com.gq.moveobject.*;
import flash.geom.*;
import flash.events.*;
import com.gq.ui.*;
import com.gq.effects.*;
import flash.media.*;
import flash.ui.*;
public class GameSys {
public static function addEffects(_arg1:Sprite, _arg2:String, _arg3:String, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:int=1, _arg8:Number=0):void{
var _local9:Class;
var _local10:*;
_local9 = GameTools.createClass(("com.gq.effects." + _arg2));
_local10 = new (_local9);
GameTools.pushArr(GameData.actionArr, _local10);
if (_arg1 == GameData.personContainer){
GameTools.pushArr(GameData.objectArr, _local10);
GameData.idIndex++;
_local10.myID = GameData.idIndex;
};
_local10.createEffect(_arg1, _arg3, _arg4, _arg5, _arg6);
_local10._this.scaleX = _arg7;
_local10._this.rotation = _arg8;
}
public static function missionComplete():void{
if (!GameData.missionTarget){
trace("任务成功");
GameTools.createPage(WinPage, false);
} else {
trace("任务失败");
GameTools.createPage(LosePage, false);
};
}
public static function Build():void{
GameData.initData();
creatObject("Scen", "topSprite");
creatObject("topSprite", "gameContainer");
creatObject("gameContainer", "bgContainer");
creatObject("gameContainer", "effectContainer");
creatObject("gameContainer", "moveObjectContainer");
creatObject("moveObjectContainer", "bottomObjectContainer");
creatObject("moveObjectContainer", "personContainer");
creatObject("moveObjectContainer", "bulletContainer");
creatObject("moveObjectContainer", "topObjectContainer");
InitialGame();
GameTools.addBlack();
GameTools.addMask();
}
public static function adjustMe(_arg1:Number, _arg2:Number):void{
if (((!((GameData.bitmap.x == -(_arg1)))) || (!((GameData.bitmap.y == -(_arg2)))))){
GameData.bgRect.x = (GameData.bgRect.x - (GameData.bitmap.x + _arg1));
GameData.bgRect.y = (GameData.bgRect.y - (GameData.bitmap.y + _arg2));
GameData.bitmap.x = -(_arg1);
GameData.bitmap.y = -(_arg2);
copyBg();
};
}
private static function creatObject(_arg1:String, _arg2:String):void{
GameData[_arg2] = new Sprite();
GameData[_arg2].mouseEnabled = false;
GameData[_arg1].addChild(GameData[_arg2]);
}
private static function removeAction(_arg1:Array):void{
var _local2:int;
_local2 = (_arg1.length - 1);
while (_local2 >= 0) {
_arg1[_local2].removeMe();
GameTools.unPushArr(_arg1, _arg1[_local2]);
_local2--;
};
_arg1 = [];
}
public static function createBase():void{
GameData.creater.createObj("topObject", "Base", "Base_1", 320, (GameData.resourceHeight - 70), 0, []);
GameData.creater.createObj("topObject", "Destination", ("Destination_" + String(GameData.game_level)), 320, 150, 0, []);
}
public static function createGame():void{
GameTools.createPage(Page1);
}
private static function GameStart():void{
GameData.isPlay = true;
GameData.Scen.stage.addEventListener(Event.ENTER_FRAME, enterframe);
GameData.Scen.stage.focus = null;
GameData.gameTeller = new GameTeller(GameData.Scen);
SoundClass.addMusic("music", ("level_" + String((((GameData.game_level - 1) % 3) + 1))), 999);
GameData.tips = new Tips();
}
private static function mapAction():void{
var testMouse:Function;
testMouse = function ():Boolean{
if ((((((GameData.Scen.mouseX > 20)) && ((GameData.Scen.mouseX < 120)))) || ((((GameData.Scen.mouseX > 420)) && ((GameData.Scen.mouseX < 630)))))){
return (true);
};
return (false);
};
if ((((GameData.Scen.mouseY > 0)) && ((GameData.Scen.mouseY < GameData.dragRange)))){
if (!testMouse()){
GameData.mapSpeedY = ((GameData.dragRange - GameData.Scen.mouseY) * 0.5);
if ((GameData.gameContainer.y + GameData.mapSpeedY) > 0){
GameData.gameContainer.y = 0;
} else {
GameData.gameContainer.y = (GameData.gameContainer.y + GameData.mapSpeedY);
};
};
} else {
if ((((GameData.Scen.mouseY > (GameData.screenHeight - GameData.dragRange))) && ((GameData.Scen.mouseY < GameData.screenHeight)))){
GameData.mapSpeedY = (((GameData.dragRange - GameData.screenHeight) + GameData.Scen.mouseY) * 0.5);
if ((GameData.gameContainer.y - GameData.mapSpeedY) < (GameData.screenHeight - GameData.resourceHeight)){
GameData.gameContainer.y = (GameData.screenHeight - GameData.resourceHeight);
} else {
GameData.gameContainer.y = (GameData.gameContainer.y - GameData.mapSpeedY);
};
} else {
GameData.mapSpeedY = 0;
};
};
}
public static function removeStage():void{
Mouse.show();
SoundMixer.stopAll();
GameData.isPlay = false;
GameData.Scen.stage.removeEventListener(Event.ENTER_FRAME, enterframe);
GameData.Scen.mask = null;
GameData.controlClass.removeMe();
if (GameData.gameUI != null){
GameData.gameUI.removeMe();
};
GameTools.removeWho(GameData.topSprite);
GameData.initData();
}
private static function enterframe(_arg1:Event):void{
if (!GameData.isPausing){
if (!GameData.gameTeller){
if (!GameData.checkTarget){
checkTarget();
} else {
updataEvent();
};
};
};
}
private static function InitialGame():void{
if (GameData.GAME_MODE == "survival"){
GameData.game_level = 6;
};
createGameMap(String(GameData.game_level));
GameData.creater = new MonsterCreater();
createBase();
GameStart();
GameTools.createPage(GameUI, false);
GameData.Scen.addChild(GameData.myMouse);
}
private static function judgeIfCreate(_arg1:Array, _arg2:Function):void{
var _local3:Array;
var _local4:uint;
var _local5:Array;
if (_arg1.length > 0){
_local3 = _arg1.concat();
_local4 = 0;
while (_local4 < _local3.length) {
_local5 = _local3[_local4];
if (GameTools.judgeInScreen(_local5[3], _local5[4], 0.5)){
if (_local5[1] == "Enemy"){
if ((((_local5[9] == 0)) || ((_local5[9] == GameData.currentIndex)))){
_arg2(_local5[0], _local5[1], _local5[2], _local5[3], _local5[4], _local5[5], _local5[6], _local5[7], _local5[8], _local5[9], _local5[10]);
GameTools.unPushArr(_arg1, _local5);
};
} else {
_arg2(_local5[0], _local5[1], _local5[2], _local5[3], _local5[4], _local5[5], _local5[6], _local5[7], _local5[8], _local5[9]);
GameTools.unPushArr(_arg1, _local5);
};
};
_local4++;
};
};
}
private static function checkTarget():void{
var _local1:Point;
if (GameData.currentTarget){
_local1 = GameData.personContainer.localToGlobal(new Point(GameData.currentTarget.myX, GameData.currentTarget.myY));
if ((((Math.abs((_local1.y - GameData.nowTraceY)) < 5)) || ((++GameData.screenStopCount >= 70)))){
if (GameData.screenStopCount >= 100){
if (GameData.currentTarget != GameData.base){
GameData.currentTarget = GameData.base;
GameData.screenStopCount = 0;
} else {
GameData.currentTarget = null;
};
};
} else {
GameData.mapSpeedY = ((_local1.y - GameData.nowTraceY) / 20);
if (((((GameData.gameContainer.y - GameData.mapSpeedY) <= 0)) && (((GameData.gameContainer.y - GameData.mapSpeedY) >= (GameData.screenHeight - GameData.resourceHeight))))){
GameData.gameContainer.y = (GameData.gameContainer.y - GameData.mapSpeedY);
};
};
if (GameData.screenStopCount == 50){
GameData.gameContainer.addChild(new UIShowTarget());
};
} else {
GameData.checkTarget = true;
GameData.controlClass = new Ctrl(GameData.Scen);
if (GameData.GAME_MODE == "normal"){
GameData.tips.showText(GameDesignClass.languageInfor.tips_1[GameData.LANGUAGE]);
} else {
GameData.tips.showText(GameDesignClass.languageInfor.tips_3[GameData.LANGUAGE]);
};
};
}
public static function copyBg():void{
GameData.screenBmd.copyPixels(GameData.resourceBmd, GameData.bgRect, new Point(0, 0));
}
private static function updataEvent():void{
moveAction(GameData.actionArr);
moveAction(GameData.effectArr);
mapAction();
removeAction(GameData.removeArr);
}
public static function createGameMap(_arg1:String):void{
var _local2:uint;
_local2 = uint(_arg1);
GameData.currentMap = new Map();
GameData.currentMap.getData(_arg1);
GameData.bgContainer.addChild(GameData.currentMap);
GameData.resourceWidth = GameData.gameContainer.width;
GameData.resourceHeight = GameData.gameContainer.height;
GameData.gameContainer.y = (-(GameData.resourceHeight) + GameData.screenHeight);
}
private static function judgeIfAddInScreen(_arg1:Number):void{
var _local2:int;
var _local3:*;
_local2 = (GameData.objectArr.length - 1);
while (_local2 >= 0) {
_local3 = GameData.objectArr[_local2];
if (GameTools.ifOutScreen(_local3.myX, _local3.myY, _arg1)){
if (!_local3.notAdd){
_local3.removeMc();
};
} else {
if (_local3.notAdd){
_local3.addMc();
};
};
_local2--;
};
}
private static function moveAction(_arg1:Array):void{
var _local2:uint;
_local2 = 0;
while (_local2 < _arg1.length) {
_arg1[_local2].updataEvent();
_local2++;
};
}
}
}//package com.gq.system
Section 22
//GameTeller (com.gq.system.GameTeller)
package com.gq.system {
import flash.display.*;
import flash.events.*;
public class GameTeller extends Sprite {
private var mouseClick:Boolean;
private var count:uint;
private var myParent:DisplayObjectContainer;
public var level:MovieClip;
public function GameTeller(_arg1:DisplayObjectContainer):void{
myParent = _arg1;
x = -(width);
y = 250;
addEventListener(Event.ENTER_FRAME, updataEvent);
myParent.stage.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHD);
myParent.addChild(this);
level.gotoAndStop((GameData.game_level + 1));
}
private function mouseDownHD(_arg1:MouseEvent):void{
if (count > 10){
mouseClick = true;
};
}
private function removeMe():void{
GameData.gameTeller = null;
myParent.stage.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDownHD);
removeEventListener(Event.ENTER_FRAME, updataEvent);
if (parent != null){
parent.removeChild(this);
};
}
public function updataEvent(_arg1:Event):void{
count++;
if (count > 10){
if (count < 20){
x = (x + 50);
} else {
if ((((count > 160)) || (mouseClick))){
x = (x + 60);
};
};
if (x > GameData.screenWidth){
removeMe();
};
};
}
}
}//package com.gq.system
Section 23
//GameTools (com.gq.system.GameTools)
package com.gq.system {
import flash.display.*;
import com.gq.moveobject.*;
import flash.geom.*;
import flash.events.*;
import flash.text.*;
import flash.utils.*;
import com.gq.ui.*;
import com.gq.effects.*;
import flash.media.*;
import flash.net.*;
import com.gq.levelDesign.*;
public class GameTools {
public static function adjustFrame(_arg1:uint):void{
GameData.Scen.stage.frameRate = _arg1;
}
public static function addHole(_arg1:uint, _arg2:MoveObject):void{
var _local3:uint;
var _local4:ExploreHole;
_local3 = 0;
while (_local3 < _arg1) {
_local4 = new ExploreHole();
GameData.bottomObjectContainer.addChild(_local4);
_local4.x = (_arg2.myX + (((Math.random() * 2) - 1) * _arg2.distX));
_local4.y = (_arg2.myY + (((Math.random() * 2) - 1) * _arg2.distY));
_local3++;
};
}
public static function judgeInSceen(_arg1:MovieClip):Boolean{
var _local2:Point;
_local2 = GameData.personContainer.localToGlobal(new Point(_arg1.x, _arg1.y));
if ((((((((_local2.x >= 0)) && ((_local2.x <= GameData.screenWidth)))) && ((_local2.y >= 0)))) && ((_local2.y <= GameData.screenHeight)))){
return (true);
};
return (false);
}
public static function addBullet(_arg1:String, _arg2:Number, _arg3:Number, _arg4:MoveObject, _arg5:String, _arg6:String="topObject", _arg7:Number=0):void{
var _local8:Bullets;
_local8 = new Bullets();
_local8.myShooter = _arg4;
_local8.myCamp = _arg5;
_local8.myRotation = _arg7;
_local8.init(_arg2, _arg3, "");
GameTools.pushArr(GameData.actionArr, _local8);
_local8.createMe(GameData[(_arg6 + "Container")], _arg1, 0, "objects", []);
}
public static function addMusic(_arg1:String, _arg2:String, _arg3:uint=999, _arg4:Number=0):void{
var _local5:Class;
var _local6:Sound;
_local5 = (GameData.sndLoader.contentLoaderInfo.applicationDomain.getDefinition(_arg2) as Class);
_local6 = new (_local5);
GameData[_arg1] = _local6;
GameData[(_arg1 + "Channel")].stop();
GameData[(_arg1 + "Channel")] = _local6.play(_arg4, _arg3);
adjustVolume(_arg1);
}
public static function cleanupMemory():void{
try {
new LocalConnection().connect("foo");
new LocalConnection().connect("foo");
new LocalConnection().connect("foo");
new LocalConnection().connect("foo");
} catch(e:Error) {
};
}
public static function getTureAngle(_arg1:Number):Number{
if (_arg1 < 0){
return ((_arg1 + 360));
};
if (_arg1 > 360){
return ((_arg1 - 360));
};
return (_arg1);
}
public static function hideZero(_arg1:MovieClip):void{
var _local2:int;
_local2 = (_arg1.numChildren - 1);
while (_local2 >= 0) {
if ((_arg1.getChildAt(_local2) as MovieClip).currentFrame == 1){
_arg1.getChildAt(_local2).visible = false;
} else {
break;
};
_local2--;
};
}
public static function ifOutScreen(_arg1:Number, _arg2:Number, _arg3:Number=50):Boolean{
var _local4:Point;
_local4 = GameData.personContainer.localToGlobal(new Point(_arg1, _arg2));
if ((((((((_local4.x < -(_arg3))) || ((_local4.x > (GameData.screenWidth + _arg3))))) || ((_local4.y < -(_arg3))))) || ((_local4.y > (GameData.screenHeight + _arg3))))){
return (true);
};
return (false);
}
public static function unPushArr(_arg1:Array, _arg2):void{
if (_arg1.indexOf(_arg2) != -1){
_arg1.splice(_arg1.indexOf(_arg2), 1);
};
}
public static function calcuCurve(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):Array{
var _local6:int;
var _local7:Point;
var _local8:Point;
var _local9:Point;
var _local10:Number;
var _local11:Number;
var _local12:Number;
_local6 = _arg5;
_local7 = new Point(_arg1, _arg2);
_local8 = new Point(_arg3, _arg4);
_local9 = new Point(0, Math.round((Math.min(_local7.y, _local8.y) + _local6)));
_local10 = (((Math.sqrt(((_local7.y - _local9.y) / (_local8.y - _local9.y))) * _local8.x) + _local7.x) / (1 + Math.sqrt(((_local7.y - _local9.y) / (_local8.y - _local9.y)))));
_local11 = ((_local7.y - _local9.y) / ((_local7.x - _local10) * (_local7.x - _local10)));
_local12 = _local9.y;
return ([_local11, _local10, _local12]);
}
public static function getNum(_arg1:int, _arg2:int, _arg3:MovieClip=null):Array{
var _local4:Array;
var _local5:int;
var _local6:uint;
_local4 = new Array();
_local5 = _arg1;
_local6 = 0;
while (_local6 < _arg2) {
_local4.push((_local5 % 10));
_local5 = int((_local5 / 10));
if (_arg3 != null){
(_arg3.getChildAt(_local6) as MovieClip).gotoAndStop((_local4[_local6] + 1));
};
_local6++;
};
return (_local4);
}
public static function gotoFrame(_arg1:MovieClip, _arg2:String):void{
if (_arg1 != null){
if (_arg1.currentLabel != _arg2){
_arg1.gotoAndStop(_arg2);
};
};
}
public static function addEffect(_arg1:DisplayObjectContainer, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:String):void{
var _local6:Class;
var _local7:MovieClip;
_local6 = createClass(_arg5);
_local7 = new (_local6);
_local7.x = _arg2;
_local7.y = _arg3;
_local7.scaleX = _arg4;
_arg1.addChild(_local7);
}
public static function hitTest(_arg1:MovieClip, _arg2:MovieClip, _arg3:uint):Boolean{
var _local4:Point;
if (_arg3 == 1){
return (_arg1.hitTestObject(_arg2));
};
_local4 = _arg2.parent.localToGlobal(new Point(_arg2.x, _arg2.y));
return (_arg1.hitTestPoint(_local4.x, _local4.y, true));
}
public static function Pause():void{
var _local1:Sprite;
if (!GameData.isPausing){
_local1 = new PausePage();
GameData.topSprite.addChild(_local1);
} else {
if (GameData.pause_page != null){
GameData.pause_page.resumeFunc();
};
};
}
public static function myHitTestPoint(_arg1:BitmapData, _arg2:Number, _arg3:Number):String{
var _local4:Matrix;
var _local5:String;
GameData.hitTestSprite["picture"] = new BitmapData(2, 2, true, 0);
_local4 = new Matrix();
_local4.tx = -(_arg2);
_local4.ty = -(_arg3);
GameData.hitTestSprite["picture"].draw(GameData.hitTestSprite, _local4);
_local5 = GameData.hitTestSprite["picture"].getPixel32(1, 1).toString(16);
return (_local5);
}
public static function adjustVolume(_arg1:String):void{
if (_arg1 == "music"){
GameData[(_arg1 + "Channel")].soundTransform = GameData.musicTrans;
} else {
GameData[(_arg1 + "Channel")].soundTransform = GameData.soundTrans;
};
}
public static function removeWho(_arg1:DisplayObjectContainer):void{
var _local2:int;
_local2 = (_arg1.numChildren - 1);
while (_local2 >= 0) {
_arg1.removeChild(_arg1.getChildAt(_local2));
_local2--;
};
}
public static function createClass(_arg1:String):Class{
return ((getDefinitionByName(_arg1) as Class));
}
public static function getShadow(_arg1:Sprite, _arg2:MovieClip, _arg3:Number, _arg4:Number):void{
var _local5:MovieClip;
_local5 = new ShadowEffect(_arg2);
_arg1.addChildAt(_local5, 0);
_local5.x = _arg3;
_local5.y = _arg4;
_local5.scaleX = _arg2.parent.scaleX;
}
public static function calcuRotation(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
var _local5:Number;
var _local6:Number;
_local5 = (_arg4 - _arg2);
_local6 = (_arg3 - _arg1);
return ((Math.atan2(_local5, _local6) / 0.01745));
}
public static function getTab(_arg1:Number, _arg2:Boolean=false):Number{
if (_arg1 != 0){
return ((_arg1 / Math.abs(_arg1)));
};
if (_arg2){
return (0);
};
return (1);
}
public static function addFilters(_arg1, _arg2:Array):void{
_arg1.filters = [];
_arg1.filters = _arg2;
}
public static function gamePause(_arg1:Boolean):void{
var i:int;
var k:int;
var ctrlMc:*;
var _pause = _arg1;
i = (GameData.actionArr.length - 1);
while (i >= 0) {
try {
ctrlMc = GameData.actionArr[i].myHost;
} catch(e) {
ctrlMc = GameData.actionArr[i];
};
if (_pause){
ctrlMc.pauseMe();
} else {
ctrlMc.resumeMe();
};
i = (i - 1);
};
k = (GameData.effectArr.length - 1);
while (k >= 0) {
ctrlMc = GameData.effectArr[k];
if (_pause){
ctrlMc.pauseMe();
} else {
ctrlMc.resumeMe();
};
k = (k - 1);
};
}
public static function addBlack():void{
var _local1:Black;
_local1 = new Black();
GameData.Scen.addChild(_local1);
}
public static function myLoader(_arg1:int, _arg2:Boolean):void{
var loadNext:Boolean;
var loadAssetAction:Function;
var progressHandler:Function;
var completeHandler:Function;
var addText:Function;
var removeText:Function;
var lv = _arg1;
var ifContinue = _arg2;
loadAssetAction = function (_arg1:int):void{
var _local2:Loader;
var _local3:String;
if (loadNext){
GameData.nowLoading = _arg1;
_local2 = (GameData[("Loader" + _arg1)] as Loader);
if (_local2.contentLoaderInfo.bytesLoaded == 0){
trace(_arg1, "未加载过");
_local3 = (("assets/bg" + String(_arg1)) + ".swf");
addText();
_local2.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, progressHandler);
_local2.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler);
_local2.load(new URLRequest(_local3));
} else {
if (_local2.contentLoaderInfo.bytesLoaded < _local2.contentLoaderInfo.bytesTotal){
GameData.nowLoading--;
} else {
if (!GameData.isPlay){
GameSys.Build();
if (GameData.nowLoading < 4){
loadAssetAction(++GameData.nowLoading);
};
};
};
};
};
};
progressHandler = function (_arg1:ProgressEvent):void{
var _local2:LoaderInfo;
var _local3:Number;
_local2 = (_arg1.target as LoaderInfo);
_local3 = (Math.floor(((_local2.bytesLoaded / _local2.bytesTotal) * 10000)) / 100);
GameData._loadPercentTxt.text = (_local3.toString() + "% Loaded");
if (!GameData.isPlay){
GameData._loadPercentTxt.visible = true;
} else {
GameData._loadPercentTxt.visible = false;
};
};
completeHandler = function (_arg1:Event):void{
GameDesignClass.mapArray[(GameData.nowLoading - 1)] = 1;
if (!GameData.isPlay){
GameSys.Build();
};
removeText();
if (++GameData.nowLoading < (GameData.game_level + 2)){
if (GameData.nowLoading < 5){
loadAssetAction(GameData.nowLoading);
};
} else {
GameData.nowLoading = 0;
_arg1.target.removeEventListener(ProgressEvent.PROGRESS, progressHandler);
_arg1.target.removeEventListener(Event.COMPLETE, completeHandler);
};
};
addText = function ():void{
GameData._loadPercentTxt = new TextField();
GameData.Scen.addChild(GameData._loadPercentTxt);
var _local2 = GameData._loadPercentTxt;
with (_local2) {
x = 350;
y = 250;
textColor = 0xFF9900;
};
};
removeText = function ():void{
GameData.Scen.removeChild(GameData._loadPercentTxt);
GameData._loadPercentTxt = null;
};
loadNext = true;
loadAssetAction(lv);
}
public static function pushArr(_arg1:Array, _arg2):void{
if (_arg1.indexOf(_arg2) == -1){
_arg1.push(_arg2);
};
}
public static function judgeInScreen(_arg1:Number, _arg2:Number, _arg3:Number=0.5):Boolean{
var _local4:Point;
_local4 = GameData.moveObjectContainer.localToGlobal(new Point(_arg1, _arg2));
if ((((((((_local4.x > ((0 - _arg3) * GameData.screenWidth))) && ((_local4.x < ((_arg3 + 1) * GameData.screenWidth))))) && ((_local4.y > ((0 - _arg3) * GameData.screenHeight))))) && ((_local4.y < ((_arg3 + 1) * GameData.screenHeight))))){
return (true);
};
return (false);
}
public static function createPage(_arg1:Class, _arg2:Boolean=true):Sprite{
var _local3:Sprite;
_local3 = new (_arg1);
GameData.Scen.addChild(_local3);
if (_arg2){
addBlack();
};
return (_local3);
}
public static function addShake():void{
var _local1:ShakeClass;
_local1 = new ShakeClass(GameData.Scen, 4, 10, GameData.Scen);
}
public static function adjustRotation(_arg1:Number, _arg2:Point, _arg3:MovieClip):int{
var _local4:int;
var _local5:int;
var _local6:uint;
_local6 = 0;
while (_arg3.hitTestPoint((_arg2.x + (Math.sin((((_arg1 + _local4) + 1) * 0.01745)) * 5)), (_arg2.y - (Math.cos((((_arg1 + _local4) + 1) * 0.01745)) * 5)), true)) {
_local4++;
++_local6;
if (_local6 == 90){
break;
};
};
_local6 = 0;
while (_arg3.hitTestPoint((_arg2.x + (Math.sin((((_arg1 - _local5) - 1) * 0.01745)) * 5)), (_arg2.y - (Math.cos((((_arg1 - _local5) - 1) * 0.01745)) * 5)), true)) {
_local5++;
++_local6;
if (_local6 == 90){
break;
};
};
if (_local4 <= _local5){
return (_local4);
};
return (-(_local5));
}
public static function changeXY(_arg1, _arg2:Sprite, _arg3:Point, _arg4:Boolean=true):Point{
_arg3 = _arg1.parent.localToGlobal(_arg3);
if (_arg4){
return (_arg3);
};
return (_arg2.globalToLocal(_arg3));
}
public static function getDistance(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
var _local5:Number;
_local5 = (Math.pow((_arg1 - _arg3), 2) + Math.pow((_arg2 - _arg4), 2));
return (Math.sqrt(_local5));
}
public static function addMask():void{
var _local1:Sprite;
_local1 = new Sprite();
_local1.graphics.lineStyle(1);
_local1.graphics.beginFill(0);
_local1.graphics.drawRect(0, 0, GameData.screenWidth, GameData.screenHeight);
GameData.Scen.mask = _local1;
GameData.Scen.addChild(_local1);
}
public static function showLanguage(_arg1:TextField, _arg2:String):void{
_arg1.mouseEnabled = false;
_arg1.text = _arg2;
}
public static function compareFunc(_arg1, _arg2:int, _arg3:Array):Boolean{
return ((_arg1 == _arg3[0]));
}
public static function addColors(_arg1, _arg2:ColorTransform):void{
_arg1.transform.colorTransform = _arg2;
}
public static function adjudgeRotation(_arg1:Number, _arg2:Number):int{
var _local3:Number;
_local3 = getTureAngle((_arg2 - _arg1));
if (_local3 < 180){
return (1);
};
return (-1);
}
public static function createTower(_arg1:uint, _arg2:Number, _arg3:Number, _arg4:Number):void{
var _local5:Tower;
GameData.creater.createObj("person", "Tower", ("Tower_" + String(_arg1)), _arg2, _arg3, _arg4, []);
_local5 = new Tower();
}
public static function getMeBySwf(_arg1:String, _arg2:String):Class{
return ((getDefinitionByName(_arg2) as Class));
}
public static function shareObject():void{
var _local1:String;
GameData.myShareObject = SharedObject.getLocal(("GQ_HUM_VS_ZERG_" + GameData.VERSON));
_local1 = null;
_local1 = GameData.myShareObject.flush(10000);
}
public static function giveSaveData():void{
var _local1:Boolean;
_local1 = ((GameData.myShareObject.data.game_level)==undefined) ? false : true;
if (_local1){
};
}
getQualifiedClassName(Bullets);
getQualifiedClassName(Alien);
getQualifiedClassName(House);
getQualifiedClassName(Tank);
getQualifiedClassName(Person);
getQualifiedClassName(Base);
getQualifiedClassName(Destination);
getQualifiedClassName(Effects);
getQualifiedClassName(ExploreEffects);
getQualifiedClassName(Mine);
}
}//package com.gq.system
Section 24
//Map (com.gq.system.Map)
package com.gq.system {
import flash.display.*;
import com.gq.moveobject.*;
public class Map extends MovieClip {
public var buildPic:Sprite;
private var deadLine:uint;// = 250
public function Map():void{
deadLine = 250;
super();
GameData.map = this;
GameTools.pushArr(GameData.canClickObjArr, this);
}
public function getData(_arg1:String):void{
buildPic.visible = false;
buildPic.mouseEnabled = false;
gotoAndStop(uint(_arg1));
}
public function judgeOk(_arg1):Boolean{
if (((judgePosition()) || (judgeCollision(_arg1)))){
return (false);
};
return (true);
}
private function judgePosition():Boolean{
if (GameData.personContainer.mouseY > (GameData.resourceHeight - deadLine)){
return (false);
};
return (true);
}
public function clickHd(_arg1):void{
if (_arg1 == this){
if (GameData.nowDragWho){
if (judgeOk(_arg1)){
GameData.money = (GameData.money - GameData.currentValue);
GameTools.addColors(GameData.nowDragWho._this, GameData.initTrans);
if (!(GameData.nowDragWho is Mine)){
GameData.nowDragWho._this.mouseEnabled = true;
GameTools.pushArr(GameData.canClickObjArr, GameData.nowDragWho);
GameTools.pushArr(GameData.earthArr, GameData.nowDragWho);
} else {
GameData.bottomObjectContainer.addChild(GameData.nowDragWho._this);
};
buildPic.visible = false;
GameData.nowDragWho.myX = GameData.personContainer.mouseX;
GameData.nowDragWho.myY = GameData.personContainer.mouseY;
GameData.nowDragWho.isDraging = false;
GameData.nowDragWho = null;
};
} else {
GameData.base.baseAction();
};
};
}
private function judgeCollision(_arg1):Boolean{
var _local2:uint;
_local2 = 0;
while (_local2 < GameData.collisionObjArr.length) {
if (((((!((GameData.nowDragWho == GameData.collisionObjArr[_local2]))) && ((GameTools.getDistance(GameData.nowDragWho._this.x, GameData.nowDragWho._this.y, GameData.collisionObjArr[_local2].myX, GameData.collisionObjArr[_local2].myY) < 100)))) && (GameData.nowDragWho._this.hitTestObject(GameData.collisionObjArr[_local2]._this)))){
return (true);
};
_local2++;
};
return (false);
}
}
}//package com.gq.system
Section 25
//MCLoader (com.gq.system.MCLoader)
package com.gq.system {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.net.*;
public class MCLoader extends EventDispatcher {
private var _loadPercentTxt:TextField;
private var _totalResourceNum:uint;
private var _textParent:Sprite;
public var loadersObj:Object;
private var _loadNumTxt:TextField;
private var _resourceArr:Array;
private var haveText:Boolean;
private var _currentResourceNum:int;// = -1
public function MCLoader(_arg1:Array, _arg2:Sprite, _arg3:Boolean){
loadersObj = {};
_currentResourceNum = -1;
super();
_resourceArr = _arg1;
_textParent = _arg2;
_totalResourceNum = _resourceArr.length;
haveText = _arg3;
if (haveText){
_loadNumTxt = new TextField();
_textParent.addChild(_loadNumTxt);
_loadNumTxt.x = 200;
_loadNumTxt.y = 250;
_loadNumTxt.textColor = 0xFFFFFF;
_loadPercentTxt = new TextField();
_textParent.addChild(_loadPercentTxt);
_loadPercentTxt.x = 350;
_loadPercentTxt.y = 250;
_loadPercentTxt.textColor = 0xFFFFFF;
};
loadResource();
}
private function loadProgress(_arg1:ProgressEvent):void{
var _local2:LoaderInfo;
var _local3:Number;
_local2 = (_arg1.target as LoaderInfo);
_local3 = (Math.floor(((_local2.bytesLoaded / _local2.bytesTotal) * 10000)) / 100);
_loadPercentTxt.text = (_local3.toString() + "% Loaded");
}
private function completeHandler(_arg1:Event):void{
loadersObj[(_resourceArr[_currentResourceNum] + "Loader")].contentLoaderInfo.removeEventListener(Event.COMPLETE, completeHandler);
loadResource();
}
private function loadResource():void{
var _local1:String;
_currentResourceNum++;
if (_currentResourceNum < _totalResourceNum){
_local1 = (("assets/" + _resourceArr[_currentResourceNum]) + ".swf");
loadersObj[(_resourceArr[_currentResourceNum] + "Loader")] = new Loader();
loadersObj[(_resourceArr[_currentResourceNum] + "Loader")].contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler);
if (haveText){
_loadNumTxt.text = ((uint((_currentResourceNum + 1)).toString() + "/") + _totalResourceNum.toString());
loadersObj[(_resourceArr[_currentResourceNum] + "Loader")].contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loadProgress);
};
loadersObj[(_resourceArr[_currentResourceNum] + "Loader")].load(new URLRequest(_local1));
} else {
dispatchEvent(new Event(Event.COMPLETE));
if (haveText){
_textParent.removeChild(_loadNumTxt);
_textParent.removeChild(_loadPercentTxt);
_loadNumTxt = null;
_loadPercentTxt = null;
_textParent = null;
};
};
}
}
}//package com.gq.system
Section 26
//MonsterCreater (com.gq.system.MonsterCreater)
package com.gq.system {
import com.gq.moveobject.*;
public class MonsterCreater {
private const speedArr:Array;
private var currentData:Array;
private var createNum:uint;
private var createSpeed:uint;
public var minCreateCD:int;// = 10
private var createCount:int;
private var createCD:int;// = 300
public function MonsterCreater():void{
createCD = 300;
minCreateCD = 10;
speedArr = [[300, 20], [300, 20], [250, 10], [220, 10], [300, 15], [200, 20]];
super();
currentData = CreateData[("createData_" + String(GameData.game_level))];
GameTools.pushArr(GameData.actionArr, this);
createCD = speedArr[(GameData.game_level - 1)][0];
createSpeed = speedArr[(GameData.game_level - 1)][1];
minCreateCD = createSpeed;
}
private function createMonster_normal(_arg1:uint):void{
var _local2:Array;
_local2 = currentData[_arg1];
createObj(_local2[0], _local2[1], _local2[2], _local2[3], _local2[4], _local2[5], _local2[6]);
}
public function resumeMe():void{
}
public function createObj(_arg1:String, _arg2:String, _arg3:String, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Array, _arg8:uint=0):MoveObject{
var _local9:Class;
var _local10:MoveObject;
_local9 = GameTools.createClass(("com.gq.moveobject." + _arg2));
_local10 = new (_local9);
_local10.init(_arg4, _arg5, "stand1");
GameTools.pushArr(GameData.actionArr, _local10);
if (!(_local10 is Building)){
GameTools.pushArr(GameData.objectArr, _local10);
};
_local10.createMe(GameData[(_arg1 + "Container")], _arg3, 0, "objects", _arg7);
return (_local10);
}
public function pauseMe():void{
}
public function reset():void{
createCount = 0;
createNum = 0;
currentData = CreateData.specialData;
}
public function updataEvent():void{
if (GameData.time_left > 0){
if ((((++createCount == createCD)) && ((createNum < currentData.length)))){
if (createCD > minCreateCD){
createCD = (createCD - createSpeed);
};
createCount = 0;
var _local1 = this;
_local1[("createMonster_" + GameData.GAME_MODE)](createNum);
createNum++;
};
} else {
if (++createCount == 20){
createCount = 0;
_local1 = this;
_local1[("createMonster_" + GameData.GAME_MODE)](createNum);
createNum++;
};
};
}
private function createMonster_survival(_arg1:uint):void{
createObj("person", "Alien", ("Monster_" + String((uint((Math.random() * 7)) + 1))), (Math.random() * GameData.screenWidth), 0, 0, []);
}
}
}//package com.gq.system
Section 27
//SoundClass (com.gq.system.SoundClass)
package com.gq.system {
import flash.utils.*;
import flash.media.*;
public class SoundClass {
public static var sound2Channel:SoundChannel = new SoundChannel();
public static var sound1:Sound = new Sound();
public static var sound2:Sound = new Sound();
public static var sound4:Sound = new Sound();
public static var sound8:Sound = new Sound();
public static var sound3:Sound = new Sound();
public static var sound5:Sound = new Sound();
public static var sound6:Sound = new Sound();
public static var sound:Sound = new Sound();
public static var sound9:Sound = new Sound();
public static var soundChannel:SoundChannel = new SoundChannel();
public static var sound7:Sound = new Sound();
public static var sound9Channel:SoundChannel = new SoundChannel();
public static var sound5Channel:SoundChannel = new SoundChannel();
public static var sound1Channel:SoundChannel = new SoundChannel();
public static var music:Sound = new Sound();
public static var sound6Channel:SoundChannel = new SoundChannel();
public static var musicChannel:SoundChannel = new SoundChannel();
public static var channelName:String;
public static var sound4Channel:SoundChannel = new SoundChannel();
public static var sound8Channel:SoundChannel = new SoundChannel();
public static var soundName:String;
public static var time:uint;
public static var sound7Channel:SoundChannel = new SoundChannel();
public static var sound3Channel:SoundChannel = new SoundChannel();
public static var currentSoundTransform:SoundTransform = new SoundTransform();
public function SoundClass():void{
}
public static function addMusic(_arg1:String, _arg2:String, _arg3:uint=1):void{
channelName = _arg1;
if (_arg1 == "music"){
SoundClass.currentSoundTransform = GameData.musicTrans;
} else {
SoundClass.currentSoundTransform = GameData.soundTrans;
};
soundName = _arg2;
time = _arg3;
init();
}
public static function adjustVolume(_arg1:String):void{
SoundClass[(_arg1 + "Channel")].soundTransform = currentSoundTransform;
}
public static function init():void{
playMusic();
}
public static function stopSound():void{
try {
musicChannel.stop();
} catch(e) {
};
}
public static function playSound():void{
try {
musicChannel = music.play(1, 9999);
currentSoundTransform = GameData.musicTrans;
adjustVolume("music");
} catch(e) {
};
}
public static function setSoundVolume(_arg1:Number):void{
GameData.soundTrans.volume = _arg1;
GameData.musicTrans.volume = _arg1;
SoundClass.musicChannel.soundTransform = GameData.musicTrans;
SoundClass.soundChannel.soundTransform = GameData.soundTrans;
SoundClass.sound1Channel.soundTransform = GameData.soundTrans;
SoundClass.sound2Channel.soundTransform = GameData.soundTrans;
SoundClass.sound3Channel.soundTransform = GameData.soundTrans;
SoundClass.sound4Channel.soundTransform = GameData.soundTrans;
SoundClass.sound5Channel.soundTransform = GameData.soundTrans;
SoundClass.sound6Channel.soundTransform = GameData.soundTrans;
SoundClass.sound7Channel.soundTransform = GameData.soundTrans;
SoundClass.sound8Channel.soundTransform = GameData.soundTrans;
SoundClass.sound9Channel.soundTransform = GameData.soundTrans;
}
public static function playMusic(_arg1:Number=0):void{
var _local2:Class;
var _local3:Sound;
_local2 = (getDefinitionByName(soundName) as Class);
_local3 = new (_local2);
SoundClass[channelName] = _local3;
SoundClass[(channelName + "Channel")].stop();
SoundClass[(channelName + "Channel")] = _local3.play(_arg1, time);
adjustVolume(channelName);
}
}
}//package com.gq.system
Section 28
//Black (com.gq.ui.Black)
package com.gq.ui {
import flash.display.*;
import flash.events.*;
import com.gq.system.*;
public class Black extends Sprite {
public function Black():void{
init();
}
private function init():void{
drawMySelf();
addEventListener(Event.ENTER_FRAME, updataEvent);
}
private function removeMe():void{
removeEventListener(Event.ENTER_FRAME, updataEvent);
if (parent != null){
parent.removeChild(this);
};
}
private function drawMySelf():void{
graphics.lineStyle(1);
graphics.beginFill(0);
graphics.drawRect(0, 0, GameData.screenWidth, GameData.screenHeight);
}
private function updataEvent(_arg1:Event):void{
alpha = (alpha - 0.05);
if (alpha <= 0){
removeMe();
};
}
}
}//package com.gq.ui
Section 29
//BloodBar (com.gq.ui.BloodBar)
package com.gq.ui {
import flash.display.*;
import flash.geom.*;
public class BloodBar extends MovieClip {
private var green:Number;
private var myHost;
private var red:Number;
private var myWidth:Number;
public function BloodBar(_arg1):void{
myHost = _arg1;
myWidth = myHost._this.width;
alpha = 0;
drawRect();
}
public function removeMe():void{
myHost.bloodBar = null;
myHost = null;
parent.removeChild(this);
}
private function drawRect():void{
graphics.beginFill(0xFFFFFF);
graphics.drawRect(0, 0, myWidth, 3);
}
public function showMe():void{
var _local1:Number;
_local1 = (myHost.myLife / myHost.totalLife);
alpha = 1;
width = (myWidth * _local1);
red = ((-255 * _local1) + 0xFF);
green = (0xFF * _local1);
transform.colorTransform = new ColorTransform(0, 0, 0, 1, red, green, 0, 0);
}
}
}//package com.gq.ui
Section 30
//BuildList (com.gq.ui.BuildList)
package com.gq.ui {
import flash.display.*;
public class BuildList extends MovieClip {
public function BuildList(_arg1:String):void{
mouseChildren = false;
gotoAndStop(_arg1);
}
}
}//package com.gq.ui
Section 31
//BuildListManager (com.gq.ui.BuildListManager)
package com.gq.ui {
import flash.display.*;
import com.gq.moveobject.*;
import com.gq.system.*;
public class BuildListManager extends MovieClip {
public var list:Array;
private var clickType:String;
private var chooseType:String;
public function BuildListManager():void{
list = [];
super();
}
public function mouseOverHd(_arg1):void{
var _local2:Array;
var _local3:uint;
var _local4:uint;
var _local5:uint;
var _local6:uint;
var _local7:String;
_local2 = getData(_arg1.name);
clickType = _local2[0];
chooseType = _local2[1];
GameData.gameUI.showBuildInfor(true);
_local3 = uint(chooseType);
_local4 = GameDesignClass[(("build" + clickType) + "Arr")][(_local3 - 1)][1];
switch (clickType){
case "Tower":
_local7 = "tower";
break;
case "House":
_local7 = GameDesignClass.houseArr[(_local3 - 1)][5].toLowerCase();
break;
case "Mine":
_local7 = "mine";
break;
};
if (_local7 == "person"){
_local3 = (_local3 - 5);
};
_local5 = GameDesignClass[(_local7 + "Arr")][(_local3 - 1)][4][0];
_local6 = GameDesignClass[(_local7 + "Arr")][(_local3 - 1)][0];
GameData.gameUI.setInfor(_local4, _local5, _local6);
}
public function init(_arg1:Number, _arg2:Number, _arg3:String):void{
x = _arg1;
y = _arg2;
GameTools.pushArr(GameData.canClickObjArr, this);
GameTools.pushArr(GameData.actionArr, this);
createPic(_arg3);
}
public function pauseMe():void{
}
private function getData(_arg1:String):Array{
var _local2:Array;
_local2 = new Array(2);
_local2[0] = _arg1.substring(0, _arg1.indexOf("_"));
_local2[1] = _arg1.substring((_arg1.indexOf("_") + 1), _arg1.length);
return (_local2);
}
public function removeMe():void{
GameData.currentBuildList = null;
GameTools.unPushArr(GameData.canClickObjArr, this);
GameTools.unPushArr(GameData.actionArr, this);
parent.removeChild(this);
}
public function resumeMe():void{
}
public function clickHd(_arg1):void{
var _local2:Array;
_local2 = getData(_arg1.name);
clickType = _local2[0];
chooseType = _local2[1];
_local2 = GameDesignClass[(("build" + clickType) + "Arr")][(uint(chooseType) - 1)];
if (GameData.money >= _local2[1]){
GameData.currentValue = _local2[1];
judgeEvent();
};
}
private function judgeColor():void{
var _local1:*;
var _local2:int;
var _local3:String;
var _local4:uint;
var _local5:Array;
for (_local1 in list) {
_local2 = list[_local1].name.indexOf("_");
_local3 = list[_local1].name.substring(0, _local2);
_local4 = list[_local1].name.substring((_local2 + 1), list[_local1].name.length);
_local5 = GameDesignClass[(("build" + _local3) + "Arr")][(_local4 - 1)];
if (GameData.money >= _local5[1]){
GameTools.addFilters(list[_local1], GameData.superWhiteFilters);
} else {
GameTools.addFilters(list[_local1], GameData.grayFilter);
};
};
}
private function judgeEvent():void{
var _local1:MoveObject;
GameData.gameUI.showMouse();
if (GameData.nowDragWho){
GameData.nowDragWho.removeMe();
GameData.nowDragWho = null;
};
_local1 = GameData.creater.createObj("topObject", clickType, ((clickType + "_") + chooseType), GameData.Scen.mouseX, GameData.Scen.mouseY, 0, []);
_local1.isDraging = true;
_local1._this.mouseChildren = false;
_local1._this.mouseEnabled = false;
GameData.nowDragWho = _local1;
GameData.map.buildPic.visible = true;
}
public function updataEvent():void{
judgeColor();
}
private function createPic(_arg1:String):void{
var _local2:Array;
var _local3:*;
var _local4:MovieClip;
_local2 = CreateData[("buildData_" + String(GameData.game_level))][_arg1].concat();
if (_arg1 == "robots"){
if (GameData.ownSkillArr[3] == 1){
_local2.push("House_10");
};
if (GameData.ownSkillArr[4] == 1){
_local2.push("House_11");
};
};
for (_local3 in _local2) {
_local4 = new BuildList(_local2[_local3]);
addChild(_local4);
_local4.name = _local4.currentLabel;
_local4.x = (_local3 * 38);
list.push(_local4);
};
}
}
}//package com.gq.ui
Section 32
//BuyPage (com.gq.ui.BuyPage)
package com.gq.ui {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import com.gq.system.*;
public class BuyPage extends Pages {
public var title:TextField;
public var moneyTxt:TextField;
public var skillBtns:MovieClip;
public var moneyNum:TextField;
public var infor:TextField;
private var skillCost:Array;
public var cost:TextField;
private var currentSelect:SimpleButton;
private var totalSkillNum:uint;// = 5
public function BuyPage():void{
skillCost = [200, 1000, 2000, 2500, 4000];
totalSkillNum = 5;
super();
}
private function mouseOverHd(_arg1:MouseEvent):void{
var _local2:String;
var _local3:uint;
_local2 = _arg1.target.name;
if (_local2.substring(0, _local2.indexOf("_")) == "skill"){
_local3 = (uint(_local2.substring((_local2.indexOf("_") + 1), _local2.length)) - 1);
GameTools.showLanguage(cost, (GameDesignClass.languageInfor.costTxt[GameData.LANGUAGE] + String(skillCost[_local3])));
GameTools.showLanguage(infor, GameDesignClass.languageInfor[("infor_" + String(_local3))][GameData.LANGUAGE]);
};
}
override protected function init():void{
if (GameData.myShareObject.data.ownSkillArr == undefined){
GameData.myShareObject.data.ownSkillArr = GameData.ownSkillArr;
};
mySound = "shop";
super.init();
skillBtns.addEventListener(MouseEvent.CLICK, buyFunc);
skillBtns.addEventListener(MouseEvent.MOUSE_OVER, mouseOverHd);
skillBtns.addEventListener(MouseEvent.MOUSE_OUT, mouseOutHd);
initBtns();
}
private function mouseOutHd(_arg1:MouseEvent):void{
cost.text = "";
infor.text = "";
}
public function nextFunc():void{
removeMe();
GameSys.Build();
}
public function buyFunc(_arg1:MouseEvent):void{
var _local2:String;
var _local3:uint;
_local2 = _arg1.target.name;
_local3 = (uint(_local2.substring((_local2.indexOf("_") + 1), _local2.length)) - 1);
trace(_arg1.target.name);
if (GameData.myShareObject.data.totalMoney >= skillCost[_local3]){
currentSelect = (_arg1.target as SimpleButton);
learnFunc();
};
}
private function learnFunc():void{
var _local1:String;
var _local2:uint;
_local1 = currentSelect.name;
_local2 = (uint(_local1.substring((_local1.indexOf("_") + 1), _local1.length)) - 1);
GameData.myShareObject.data.totalMoney = (GameData.myShareObject.data.totalMoney - skillCost[_local2]);
GameData.myShareObject.data.ownSkillArr[_local2] = 1;
currentSelect = null;
initBtns();
}
override public function Refresh():void{
GameTools.showLanguage(title, GameDesignClass.languageInfor.shop_title[GameData.LANGUAGE]);
GameTools.showLanguage(myBtns.nextTxt, GameDesignClass.languageInfor.nextBtn[GameData.LANGUAGE]);
}
private function initBtns():void{
var _local1:uint;
var _local2:SimpleButton;
moneyNum.text = String(GameData.myShareObject.data.totalMoney);
skillBtns.skill_2.visible = true;
_local1 = 0;
while (_local1 < totalSkillNum) {
_local2 = skillBtns[("skill_" + String((_local1 + 1)))];
if (GameData.myShareObject.data.ownSkillArr[_local1] == 1){
_local2.enabled = false;
_local2.mouseEnabled = false;
GameTools.addFilters(_local2, GameData.grayFilter);
if (_local1 == 0){
skillBtns.skill_1.visible = false;
};
} else {
if (GameData.myShareObject.data.totalMoney >= skillCost[_local1]){
_local2.enabled = true;
_local2.mouseEnabled = true;
GameTools.addFilters(_local2, []);
if (_local1 == 0){
skillBtns.skill_2.visible = false;
};
};
};
_local1++;
};
}
}
}//package com.gq.ui
Section 33
//ExploreHole (com.gq.ui.ExploreHole)
package com.gq.ui {
import flash.display.*;
import com.gq.system.*;
public class ExploreHole extends MovieClip {
public function ExploreHole():void{
gotoAndStop((uint((Math.random() * totalFrames)) + 1));
scaleX = (scaleY = Math.random());
mouseEnabled = false;
mouseChildren = false;
GameTools.pushArr(GameData.totalHoleArr, this);
if (GameData.totalHoleArr.length >= 50){
GameData.totalHoleArr[0].removeMe();
};
}
public function removeMe():void{
GameTools.unPushArr(GameData.totalHoleArr, this);
parent.removeChild(this);
}
}
}//package com.gq.ui
Section 34
//GameMouse (com.gq.ui.GameMouse)
package com.gq.ui {
import flash.display.*;
public class GameMouse extends MovieClip {
}
}//package com.gq.ui
Section 35
//GameUI (com.gq.ui.GameUI)
package com.gq.ui {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import com.gq.system.*;
import flash.net.*;
import flash.ui.*;
public class GameUI extends Pages {
public var demageNum:TextField;
public var chooseBoard:MovieClip;
public var tips:MovieClip;
public var helpBtn:MovieClip;
public var costTxt:TextField;
private var timeCount:uint;
public var healthTxt:TextField;
public var healthNum:TextField;
public var costNum:TextField;
public var score:MovieClip;
private var timeSpeed:uint;// = 2
public var pauseBtn:MovieClip;
public var money:TextField;
public var time:MovieClip;
private var clickType:String;
private var chooseType:String;
public var demageTxt:TextField;
public function GameUI():void{
timeSpeed = 2;
super();
init();
GameData.gameUI = this;
addEventListener(Event.ENTER_FRAME, enterframeHD);
GameTools.pushArr(GameData.canClickObjArr, this);
myBtns.menuTxt.mouseEnabled = false;
myBtns.soundTxt.mouseEnabled = false;
createGameMouse();
if (GameData.game_level == 1){
showTips();
} else {
tips.visible = false;
};
if (GameData.GAME_MODE == "survival"){
timeSpeed = 5;
};
}
private function updataEvent():void{
Score();
Time();
Money();
}
override protected function init():void{
showBuildInfor(false);
}
private function getData(_arg1:String):Array{
var _local2:Array;
_local2 = new Array(2);
_local2[0] = _arg1.charAt(0);
_local2[1] = _arg1.substring((_arg1.indexOf("_") + 1), _arg1.length);
return (_local2);
}
override public function removeMe():void{
GameData.myMouse = null;
GameData.gameUI = null;
removeEventListener(Event.ENTER_FRAME, enterframeHD);
GameTools.unPushArr(GameData.canClickObjArr, this);
parent.removeChild(this);
}
private function createGameMouse():void{
GameData.myMouse = new GameMouse();
GameData.myMouse.gotoAndStop(1);
GameData.myMouse.startDrag(true);
GameData.myMouse.mouseEnabled = false;
GameData.myMouse.mouseChildren = false;
}
private function Time():void{
var _local1:Array;
var _local2:uint;
if (GameData.time_left > 0){
timeCount++;
if (timeCount == (35 * timeSpeed)){
timeCount = 0;
GameData.time_left--;
if (GameData.time_left == 0){
if (GameData.GAME_MODE == "survival"){
GameTools.createPage(WinPage, false);
GameData.tips.showText(GameDesignClass.languageInfor.tips_4[GameData.LANGUAGE]);
} else {
GameData.creater.reset();
};
};
};
_local1 = GameTools.getNum(GameData.time_left, time.numChildren);
_local2 = 0;
while (_local2 < time.numChildren) {
(time.getChildAt(_local2) as MovieClip).gotoAndStop((_local1[_local2] + 1));
_local2++;
};
};
}
private function Build():void{
if (GameData.currentBuildList){
GameData.map.buildPic.visible = false;
GameData.currentBuildList.removeMe();
};
GameData.currentBuildList = new BuildListManager();
GameData.currentBuildList.init(480, 45, chooseType);
addChild(GameData.currentBuildList);
if (GameData.nowDragWho){
GameData.nowDragWho.removeMe();
GameData.nowDragWho = null;
};
}
private function enterframeHD(_arg1:Event):void{
if (!GameData.isPausing){
updataEvent();
};
}
private function Score():void{
GameTools.getNum(GameData.current_score, score.numChildren, score);
}
private function Money():void{
money.text = String(GameData.money);
}
public function showBuildInfor(_arg1:Boolean):void{
costTxt.visible = _arg1;
demageTxt.visible = _arg1;
healthTxt.visible = _arg1;
costNum.visible = _arg1;
demageNum.visible = _arg1;
healthNum.visible = _arg1;
}
public function showMouse():void{
GameData.myMouse.gotoAndStop(1);
Mouse.show();
}
override public function Refresh():void{
GameTools.showLanguage(costTxt, GameDesignClass.languageInfor.costTxt[GameData.LANGUAGE]);
GameTools.showLanguage(demageTxt, GameDesignClass.languageInfor.demageTxt[GameData.LANGUAGE]);
GameTools.showLanguage(healthTxt, GameDesignClass.languageInfor.healthTxt[GameData.LANGUAGE]);
GameTools.showLanguage(myBtns.menuTxt, GameDesignClass.languageInfor.menuTxt[GameData.LANGUAGE]);
GameTools.showLanguage(myBtns.soundTxt, GameDesignClass.languageInfor.soundTxt[GameData.LANGUAGE]);
GameTools.showLanguage(myBtns.qualityTxt, GameDesignClass.languageInfor.qualityTxt[GameData.LANGUAGE]);
GameTools.showLanguage(myBtns.moreTxt, GameDesignClass.languageInfor.moreBtn[GameData.LANGUAGE]);
}
private function changeColor():void{
GameTools.addColors(chooseBoard.b_persons, GameData.initTrans);
GameTools.addColors(chooseBoard.b_tanks, GameData.initTrans);
GameTools.addColors(chooseBoard.b_robots, GameData.initTrans);
GameTools.addColors(chooseBoard.b_towers, GameData.initTrans);
GameTools.addColors(chooseBoard[("b_" + chooseType)], GameData.whiteTrans);
}
public function clickHd(_arg1):void{
var _local2:Array;
_local2 = getData(_arg1.name);
clickType = _local2[0];
chooseType = _local2[1];
judgeEvent();
}
private function judgeEvent():void{
switch (clickType){
case "b":
changeColor();
showMouse();
Build();
if (GameData.game_level == 1){
tips.visible = false;
};
break;
case "m":
trace("暂停");
showMouse();
GameTools.createPage(PausePage, false);
break;
case "s":
trace("静音");
if (myBtns.sound.alpha == 1){
myBtns.sound.alpha = 0;
SoundClass.setSoundVolume(0);
} else {
myBtns.sound.alpha = 1;
SoundClass.setSoundVolume(1);
};
break;
case "q":
GameData.Scen.stage.quality = ((GameData.Scen.stage.quality)=="HIGH") ? "LOW" : "HIGH";
break;
case "e":
GameData.myMouse.gotoAndStop(2);
Mouse.hide();
break;
case "r":
GameData.myMouse.gotoAndStop(3);
Mouse.hide();
break;
case "c":
showMouse();
if (GameData.nowDragWho){
GameData.nowDragWho.removeMe();
GameData.nowDragWho = null;
};
break;
case "g":
navigateToURL(new URLRequest("http://www.freegameswow.com"), "_blank");
break;
};
}
private function showTips():void{
tips.gotoAndStop((GameData.LANGUAGE + 1));
tips.visible = true;
}
public function setInfor(_arg1:uint, _arg2:uint, _arg3:uint):void{
costNum.text = String(_arg1);
demageNum.text = String(_arg2);
healthNum.text = String(_arg3);
}
}
}//package com.gq.ui
Section 36
//HelpPage (com.gq.ui.HelpPage)
package com.gq.ui {
import flash.text.*;
import com.gq.system.*;
public class HelpPage extends Pages {
public var title:TextField;
public var helpInfor:TextField;
public function HelpPage():void{
}
public function backFunc():void{
GameTools.createPage(Page1);
removeMe();
}
override public function Refresh():void{
GameTools.showLanguage(myBtns.backTxt, GameDesignClass.languageInfor.backBtn[GameData.LANGUAGE]);
GameTools.showLanguage(title, GameDesignClass.languageInfor.help_title[GameData.LANGUAGE]);
GameTools.showLanguage(helpInfor, GameDesignClass.languageInfor.helpInfor[GameData.LANGUAGE]);
}
}
}//package com.gq.ui
Section 37
//LosePage (com.gq.ui.LosePage)
package com.gq.ui {
import flash.text.*;
import com.gq.system.*;
public class LosePage extends Pages {
public var title:TextField;
public var helpInfor:TextField;
public function LosePage():void{
GameTools.gamePause(true);
GameData.isPausing = true;
}
public function restartFunc():void{
GameData.SuperInit();
removeMe();
GameSys.removeStage();
GameSys.Build();
}
public function quitFunc():void{
GameData.SuperInit();
removeMe();
GameSys.removeStage();
GameTools.createPage(Page1);
}
override public function Refresh():void{
GameTools.showLanguage(myBtns.quitTxt, GameDesignClass.languageInfor.quitBtn[GameData.LANGUAGE]);
GameTools.showLanguage(title, GameDesignClass.languageInfor.lose_title[GameData.LANGUAGE]);
GameTools.showLanguage(myBtns.restartTxt, GameDesignClass.languageInfor.restartBtn[GameData.LANGUAGE]);
}
}
}//package com.gq.ui
Section 38
//NoiseClass (com.gq.ui.NoiseClass)
package com.gq.ui {
import flash.display.*;
import flash.events.*;
public class NoiseClass {
var myCount:uint;
var bitmapData:BitmapData;
public function NoiseClass(_arg1, _arg2:Number, _arg3:uint):void{
var _local4:Bitmap;
super();
bitmapData = new BitmapData(_arg1.width, _arg1.height, false, 0xCCCCCC);
_local4 = new Bitmap(bitmapData);
_local4.alpha = _arg2;
_local4.addEventListener(Event.ENTER_FRAME, noising);
_arg1.addChild(_local4);
myCount = _arg3;
}
private function noising(_arg1:Event):void{
var _local2:Bitmap;
_arg1.target.bitmapData.noise((Math.random() * 128), 0, 225, 1, true);
_local2 = (_arg1.target as Bitmap);
if (myCount != 0){
if (--myCount == 0){
_local2.parent.removeChild(_local2);
_local2.removeEventListener(Event.ENTER_FRAME, noising);
};
};
}
}
}//package com.gq.ui
Section 39
//OptionPage (com.gq.ui.OptionPage)
package com.gq.ui {
import flash.display.*;
import flash.events.*;
import com.gq.system.*;
public class OptionPage extends Pages {
private var dragParent:SimpleButton;
private var warning1:String;// = "USED"
private var warning2:String;// = "ERROR"
private var nowDrag:SimpleButton;
public var qualityBtns:MovieClip;
public var keyBtns:MovieClip;
private var keyDown:Boolean;
public var soundBar:MovieClip;
private var nowSelectKey:String;
public var musicBar:MovieClip;
private var warning:String;// = "warning"
private var myCode:uint;
private var focusWho;
private var nowKeyArr:Array;
public function OptionPage():void{
warning = "warning";
warning1 = "USED";
warning2 = "ERROR";
super();
if (GameData.controlClass != null){
GameData.controlClass.impossible = true;
};
}
override protected function init():void{
super.init();
defaultData(true);
nowKeyArr = [GameData.A, GameData.S, GameData.W, GameData.D, GameData.J, GameData.K, GameData.L];
keyBtns.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHD);
keyBtns.addEventListener(MouseEvent.MOUSE_UP, mouseUpHD);
qualityBtns.addEventListener(MouseEvent.MOUSE_DOWN, chooseQuality);
soundBar.addEventListener(MouseEvent.MOUSE_DOWN, selectBar);
musicBar.addEventListener(MouseEvent.MOUSE_DOWN, selectBar);
}
private function changeFocus(_arg1:String):void{
var _local2:Boolean;
var _local3:uint;
stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHd);
stage.addEventListener(FocusEvent.FOCUS_OUT, loseFocus);
_local3 = 0;
while (_local3 < GameDesignClass.keyArr.length) {
if (GameDesignClass.keyArr[_local3][0] == keyBtns[nowSelectKey].text){
_local2 = true;
break;
};
_local3++;
};
if (_local2){
GameData[(_arg1 + "String")] = keyBtns[_arg1].text;
};
keyBtns[_arg1].text = "";
}
private function mouseDownHD(_arg1:MouseEvent):void{
if (nowSelectKey){
if (GameData[(nowSelectKey + "String")] != warning){
keyBtns[nowSelectKey].text = GameData[(nowSelectKey + "String")].toUpperCase();
};
};
}
private function mouseUpHD(_arg1:MouseEvent):void{
if (_arg1.target.name != "keyBtns"){
nowSelectKey = _arg1.target.name;
changeFocus(_arg1.target.name);
};
}
private function inputKey(_arg1:uint):void{
var _local2:String;
myCode = _arg1;
_local2 = checkMyCode();
if (_local2){
keyBtns[nowSelectKey].text = _local2;
GameData[(nowSelectKey + "String")] = _local2;
};
stage.removeEventListener(FocusEvent.FOCUS_OUT, loseFocus);
GameData.Scen.stage.focus = null;
keyBtns[nowSelectKey].text = keyBtns[nowSelectKey].text.toUpperCase();
}
override public function removeMe():void{
keyBtns.removeEventListener(MouseEvent.MOUSE_UP, mouseUpHD);
qualityBtns.removeEventListener(MouseEvent.MOUSE_DOWN, chooseQuality);
soundBar.removeEventListener(MouseEvent.MOUSE_DOWN, selectBar);
musicBar.removeEventListener(MouseEvent.MOUSE_DOWN, selectBar);
stage.removeEventListener(FocusEvent.FOCUS_OUT, loseFocus);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHd);
super.removeMe();
}
public function defFunc():void{
defaultData(false);
GameTools.addBlack();
}
private function qualityFunc(_arg1:String):void{
defaultFilters();
GameData.Scen.stage.quality = _arg1.toUpperCase();
qualityBtns[_arg1].gotoAndStop(1);
}
public function backFunc():void{
if (GameData.controlClass){
GameData.controlClass.impossible = false;
};
if (!GameData.isPausing){
GameTools.createPage(Page1);
};
saveData();
removeMe();
}
private function selectBar(_arg1:MouseEvent):void{
if (_arg1.target.name == "rect"){
nowDrag = (_arg1.target.parent.rect as SimpleButton);
dragParent = (_arg1.target.parent.bar as SimpleButton);
addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHD);
GameData.Scen.stage.addEventListener(MouseEvent.MOUSE_UP, releaseBtn);
} else {
nowDrag = (_arg1.target.parent.rect as SimpleButton);
dragParent = (_arg1.target.parent.bar as SimpleButton);
nowDrag.x = _arg1.target.parent.mouseX;
adjustSound(dragParent.parent.name);
};
}
private function musicFunc(_arg1:Number):void{
GameData.musicTrans.volume = _arg1;
SoundClass.adjustVolume("music");
}
private function checkInform(_arg1:String):void{
if ((((((keyBtns[_arg1].text == warning)) || ((keyBtns[_arg1].text == warning1)))) || ((keyBtns[_arg1].text == warning2)))){
keyBtns[_arg1].text = GameData[(_arg1 + "String")];
};
}
private function mouseMoveHD(_arg1:MouseEvent):void{
controlRect();
adjustSound(dragParent.parent.name);
}
private function defaultData(_arg1:Boolean):void{
var _local2:Boolean;
if (_arg1){
_local2 = ((GameData.myShareObject.data.K)==undefined) ? false : true;
if (_local2){
keyBtns.W.text = GameData.myShareObject.data.WString;
keyBtns.S.text = GameData.myShareObject.data.SString;
keyBtns.A.text = GameData.myShareObject.data.AString;
keyBtns.D.text = GameData.myShareObject.data.DString;
keyBtns.J.text = GameData.myShareObject.data.JString;
keyBtns.K.text = GameData.myShareObject.data.KString;
keyBtns.L.text = GameData.myShareObject.data.LString;
qualityFunc(GameData.myShareObject.data.Quality.toLowerCase());
soundBar.rect.x = (((GameData.myShareObject.data.soundVolume * soundBar.bar.width) + soundBar.bar.x) - (soundBar.rect.width / 2));
musicBar.rect.x = (((GameData.myShareObject.data.musicVolume * musicBar.bar.width) + musicBar.bar.x) - (musicBar.rect.width / 2));
} else {
keyBtns.W.text = GameData.WString;
keyBtns.S.text = GameData.SString;
keyBtns.A.text = GameData.AString;
keyBtns.D.text = GameData.DString;
keyBtns.J.text = GameData.JString;
keyBtns.K.text = GameData.KString;
keyBtns.L.text = GameData.LString;
qualityFunc("high");
};
} else {
GameData.A = 65;
GameData.S = 83;
GameData.W = 87;
GameData.D = 68;
GameData.J = 74;
GameData.K = 75;
keyBtns.A.text = (GameData.AString = "A");
keyBtns.S.text = (GameData.SString = "S");
keyBtns.W.text = (GameData.WString = "W");
keyBtns.D.text = (GameData.DString = "D");
keyBtns.J.text = (GameData.JString = "J");
keyBtns.K.text = (GameData.KString = "K");
keyBtns.L.text = (GameData.LString = "L");
focusWho = null;
nowSelectKey = null;
qualityFunc("high");
soundBar.rect.x = ((soundBar.bar.width + soundBar.bar.x) - (soundBar.rect.width / 2));
musicBar.rect.x = ((musicBar.bar.width + musicBar.bar.x) - (musicBar.rect.width / 2));
GameData.musicTrans.volume = 1;
GameData.soundTrans.volume = 1;
GameTools.adjustVolume("sound");
GameTools.adjustVolume("music");
saveData();
};
}
private function keyDownHd(_arg1:KeyboardEvent):void{
keyDown = true;
if (keyBtns[nowSelectKey].text.length == 0){
stage.addEventListener(KeyboardEvent.KEY_UP, keyUpHd);
} else {
inputKey(_arg1.keyCode);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHd);
};
}
private function checkKeyOk(_arg1:uint):Boolean{
var _local2:int;
var _local3:uint;
_local2 = nowKeyArr.indexOf(GameData[nowSelectKey]);
_local3 = 0;
while (_local3 < nowKeyArr.length) {
if (((!((_local3 == _local2))) && ((nowKeyArr[_local3] == _arg1)))){
warning = warning1;
return (false);
};
_local3++;
};
if ((((((((((((_arg1 == 229)) || ((_arg1 == 91)))) || ((_arg1 == 92)))) || ((_arg1 == 93)))) || ((_arg1 == 27)))) || ((_arg1 == 80)))){
warning = warning1;
return (false);
};
return (true);
}
private function defaultFilters():void{
qualityBtns.low.gotoAndStop(2);
qualityBtns.medium.gotoAndStop(2);
qualityBtns.high.gotoAndStop(2);
}
private function adjustSound(_arg1:String):void{
var _local2:String;
var _local3:Number;
_local2 = _arg1.slice(0, 5);
_local3 = (((nowDrag.x - dragParent.x) + (nowDrag.width / 2)) / dragParent.width);
var _local4 = this;
_local4[(_local2 + "Func")](_local3);
}
private function loseFocus(_arg1:FocusEvent):void{
stage.removeEventListener(FocusEvent.FOCUS_OUT, loseFocus);
keyBtns[nowSelectKey].text = GameData[(nowSelectKey + "String")].toUpperCase();
}
private function soundFunc(_arg1:Number):void{
GameData.soundTrans.volume = _arg1;
SoundClass.adjustVolume("sound");
}
private function checkMyCode():String{
var tempArr:Array;
var keyCompare:Function;
keyCompare = function (_arg1, _arg2:int, _arg3:Array):Boolean{
if (_arg1[1] == myCode){
return (true);
};
return (false);
};
tempArr = GameDesignClass.keyArr.filter(keyCompare);
if (tempArr.length > 0){
return (tempArr[0][0]);
};
return (null);
}
private function controlRect():void{
nowDrag.x = nowDrag.parent.mouseX;
if (nowDrag.x < (dragParent.x - (nowDrag.width / 2))){
nowDrag.x = (dragParent.x - (nowDrag.width / 2));
} else {
if (nowDrag.x > ((dragParent.x + dragParent.width) - (nowDrag.width / 2))){
nowDrag.x = ((dragParent.x + dragParent.width) - (nowDrag.width / 2));
};
};
}
private function saveData():void{
checkInform("A");
checkInform("D");
checkInform("W");
checkInform("S");
checkInform("J");
checkInform("K");
checkInform("L");
GameData.myShareObject.data.A = GameData.A;
GameData.myShareObject.data.S = GameData.S;
GameData.myShareObject.data.W = GameData.W;
GameData.myShareObject.data.D = GameData.D;
GameData.myShareObject.data.J = GameData.J;
GameData.myShareObject.data.K = GameData.K;
GameData.myShareObject.data.L = GameData.L;
GameData.myShareObject.data.AString = (GameData.AString = keyBtns.A.text);
GameData.myShareObject.data.SString = (GameData.SString = keyBtns.S.text);
GameData.myShareObject.data.WString = (GameData.WString = keyBtns.W.text);
GameData.myShareObject.data.DString = (GameData.DString = keyBtns.D.text);
GameData.myShareObject.data.JString = (GameData.JString = keyBtns.J.text);
GameData.myShareObject.data.KString = (GameData.KString = keyBtns.K.text);
GameData.myShareObject.data.LString = (GameData.KString = keyBtns.L.text);
GameData.myShareObject.data.Quality = GameData.Scen.stage.quality;
GameData.myShareObject.data.musicVolume = GameData.musicTrans.volume;
GameData.myShareObject.data.soundVolume = GameData.soundTrans.volume;
}
private function releaseBtn(_arg1:MouseEvent):void{
removeEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHD);
GameData.Scen.stage.removeEventListener(MouseEvent.MOUSE_UP, releaseBtn);
}
private function chooseQuality(_arg1:MouseEvent):void{
qualityFunc(_arg1.target.name);
}
private function keyUpHd(_arg1:KeyboardEvent):void{
keyDown = false;
nowKeyArr = [GameData.A, GameData.S, GameData.W, GameData.D, GameData.J, GameData.K, GameData.L];
if (checkKeyOk(_arg1.keyCode)){
GameData[nowSelectKey] = _arg1.keyCode;
inputKey(_arg1.keyCode);
} else {
GameData.Scen.stage.focus = null;
keyBtns[nowSelectKey].text = warning.toUpperCase();
};
stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHd);
stage.removeEventListener(KeyboardEvent.KEY_UP, keyUpHd);
}
}
}//package com.gq.ui
Section 40
//Page1 (com.gq.ui.Page1)
package com.gq.ui {
import flash.text.*;
import com.gq.system.*;
public class Page1 extends Pages {
private var tempText:TextField;
public function Page1():void{
tempText = new TextField();
super();
}
override protected function init():void{
tempText.x = 10;
tempText.y = (GameData.screenHeight - 50);
tempText.text = ("Verson: " + GameData.VERSON);
tempText.textColor = 0xFFFFFF;
addChild(tempText);
mySound = "title";
super.init();
}
public function survivalFunc():void{
GameData.GAME_MODE = "survival";
GameSys.Build();
GameTools.addBlack();
removeMe();
}
public function startFunc():void{
GameData.GAME_MODE = "normal";
GameTools.createPage(Page2);
removeMe();
}
public function helpFunc():void{
GameTools.createPage(HelpPage);
removeMe();
}
override public function Refresh():void{
GameTools.showLanguage(myBtns.playTxt, GameDesignClass.languageInfor.startBtn[GameData.LANGUAGE]);
GameTools.showLanguage(myBtns.helpTxt, GameDesignClass.languageInfor.helpBtn[GameData.LANGUAGE]);
GameTools.showLanguage(myBtns.survivalTxt, GameDesignClass.languageInfor.survivalBtn[GameData.LANGUAGE]);
GameTools.showLanguage(myBtns.moreTxt, GameDesignClass.languageInfor.moreBtn[GameData.LANGUAGE]);
}
public function optionFunc():void{
GameTools.createPage(OptionPage);
removeMe();
}
}
}//package com.gq.ui
Section 41
//Page2 (com.gq.ui.Page2)
package com.gq.ui {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import com.gq.system.*;
public class Page2 extends Pages {
public var s1:MovieClip;
public var s3:MovieClip;
public var s6:MovieClip;
public var s2:MovieClip;
public var s5:MovieClip;
public var chooseBtns:MovieClip;
public var title:TextField;
public var s4:MovieClip;
override protected function init():void{
var _local1:uint;
super.init();
_local1 = 1;
while (_local1 <= 6) {
new NoiseClass(this[("s" + _local1)].view, 1, 0);
_local1++;
};
addEventListener(Event.ENTER_FRAME, updataEvent);
}
private function mouseDownHd(_arg1:MouseEvent):void{
if (_arg1.target.name.charAt(0) == "s"){
GameData.game_level = _arg1.target.name.slice(1, _arg1.target.name.length);
okFunc();
};
}
public function delFunc():void{
delete GameData.myShareObject.data.game_level;
delete GameData.myShareObject.data.totalMoney;
delete GameData.myShareObject.data.ownSkillArr;
delete GameData.myShareObject.data.score;
GameData.money = 300;
GameData.game_level = 1;
GameData.ownSkillArr = [0, 0, 0, 0];
GameData.current_score = 0;
GameTools.createPage(Page2);
removeMe();
}
public function backFunc():void{
GameTools.createPage(Page1);
removeMe();
}
override public function Refresh():void{
GameTools.showLanguage(title, GameDesignClass.languageInfor.select_title[GameData.LANGUAGE]);
GameTools.showLanguage(myBtns.backTxt, GameDesignClass.languageInfor.backBtn[GameData.LANGUAGE]);
GameTools.showLanguage(myBtns.delTxt, GameDesignClass.languageInfor.delBtn[GameData.LANGUAGE]);
GameTools.showLanguage(myBtns.moreTxt, GameDesignClass.languageInfor.moreBtn[GameData.LANGUAGE]);
}
public function okFunc():void{
GameSys.Build();
GameTools.addBlack();
removeMe();
}
private function updataEvent(_arg1:Event):void{
var _local2:uint;
if (currentFrame == totalFrames){
stop();
chooseBtns.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHd);
removeEventListener(Event.ENTER_FRAME, updataEvent);
_local2 = 1;
while (_local2 <= 6) {
chooseBtns[("s" + _local2)].mouseChildren = false;
if ((((((GameData.myShareObject.data.game_level == undefined)) && (!((_local2 == 1))))) || ((GameData.myShareObject.data.game_level < _local2)))){
new NoiseClass(chooseBtns[("s" + _local2)].view, 1, 0);
chooseBtns[("s" + _local2)].mouseEnabled = false;
} else {
new NoiseClass(chooseBtns[("s" + _local2)].view, 0.1, 0);
chooseBtns[("s" + _local2)].buttonMode = true;
};
_local2++;
};
};
}
}
}//package com.gq.ui
Section 42
//Pages (com.gq.ui.Pages)
package com.gq.ui {
import flash.display.*;
import flash.events.*;
import com.gq.system.*;
import flash.net.*;
public class Pages extends MovieClip {
public var myBtns:MovieClip;
protected var myCount:uint;
protected var mySound:String;// = ""
public function Pages():void{
mySound = "";
super();
Refresh();
init();
}
protected function getScore():void{
}
protected function init():void{
if (mySound != ""){
SoundClass.addMusic("music", mySound, 999);
};
myBtns.addEventListener(MouseEvent.CLICK, clickHD);
}
public function removeMe():void{
myBtns.removeEventListener(MouseEvent.CLICK, clickHD);
parent.removeChild(this);
}
protected function clickHD(_arg1:MouseEvent):void{
var _local2 = this;
_local2[(_arg1.target.name + "Func")]();
}
public function moreFunc():void{
navigateToURL(new URLRequest("http://www.freegameswow.com"), "_blank");
}
public function Refresh():void{
}
protected function myBtnsFunc():void{
}
protected function calcuWho(_arg1:MovieClip, _arg2:Number, _arg3:uint):void{
var _local4:Array;
var _local5:uint;
_local4 = GameTools.getNum((_arg2 * _arg3), _arg1.numChildren);
_local5 = 0;
while (_local5 < _arg1.numChildren) {
(_arg1.getChildAt(_local5) as MovieClip).gotoAndStop((_local4[_local5] + 1));
_local5++;
};
}
}
}//package com.gq.ui
Section 43
//PausePage (com.gq.ui.PausePage)
package com.gq.ui {
import flash.display.*;
import flash.events.*;
import com.gq.system.*;
public class PausePage extends Pages {
public function PausePage():void{
GameTools.gamePause(true);
GameData.pause_page = this;
GameData.isPausing = true;
}
override protected function init():void{
myBtns.resumeTxt.mouseEnabled = false;
myBtns.quitTxt.mouseEnabled = false;
myBtns.restartTxt.mouseEnabled = false;
myBtns.addEventListener(MouseEvent.CLICK, clickHD);
}
override public function removeMe():void{
super.removeMe();
GameData.pause_page = null;
GameData.isPausing = false;
GameData.Scen.stage.focus = null;
GameTools.gamePause(false);
}
public function resumeFunc():void{
removeMe();
}
public function restartFunc():void{
var _local1:Sprite;
_local1 = GameTools.createPage(SurePage, false);
(_local1 as SurePage).index = 1;
}
public function quitFunc():void{
var _local1:Sprite;
_local1 = GameTools.createPage(SurePage, false);
(_local1 as SurePage).index = 0;
}
override public function Refresh():void{
GameTools.showLanguage(myBtns.resumeTxt, GameDesignClass.languageInfor.resumeBtn[GameData.LANGUAGE]);
GameTools.showLanguage(myBtns.quitTxt, GameDesignClass.languageInfor.quitBtn[GameData.LANGUAGE]);
GameTools.showLanguage(myBtns.restartTxt, GameDesignClass.languageInfor.restartBtn[GameData.LANGUAGE]);
}
}
}//package com.gq.ui
Section 44
//ShadowEffect (com.gq.ui.ShadowEffect)
package com.gq.ui {
import flash.display.*;
import flash.geom.*;
import com.gq.system.*;
public class ShadowEffect extends MovieClip {
private var blueColor:ColorTransform;
private var shadowBitmap:Bitmap;
private var shadowBitmapData:BitmapData;
public function ShadowEffect(_arg1:MovieClip):void{
blueColor = new ColorTransform(1, 1, 1, 1, 0, 0, 0, 0);
super();
GameTools.pushArr(GameData.effectArr, this);
shadowBitmapData = new BitmapData(_arg1.width, _arg1.height, true, 0);
shadowBitmap = new Bitmap(shadowBitmapData);
addChild(shadowBitmap);
shadowBitmap.x = (-(_arg1.width) / 2);
shadowBitmap.y = _arg1.getBounds(_arg1.parent).y;
shadowBitmapData.draw(_arg1);
}
public function pauseMe():void{
}
private function removeMe():void{
GameTools.cleanupMemory();
GameTools.unPushArr(GameData.effectArr, this);
parent.removeChild(this);
}
public function resumeMe():void{
}
public function updataEvent():void{
shadowBitmap.alpha = (shadowBitmap.alpha - 0.1);
if (shadowBitmap.alpha <= 0.1){
removeMe();
};
}
}
}//package com.gq.ui
Section 45
//ShakeClass (com.gq.ui.ShakeClass)
package com.gq.ui {
import flash.display.*;
import flash.events.*;
public class ShakeClass extends Sprite {
private var oldY:Number;
private var count:uint;
private var oldX:Number;
private var shakePower:uint;
private var controlMc:DisplayObjectContainer;
private var shakeTime:uint;
public function ShakeClass(_arg1:DisplayObjectContainer, _arg2:uint, _arg3:uint, _arg4:DisplayObjectContainer){
controlMc = _arg1;
shakePower = _arg2;
shakeTime = _arg3;
init();
_arg4.addChild(this);
}
private function init():void{
oldX = controlMc.x;
oldY = controlMc.y;
addEventListener(Event.ENTER_FRAME, updataEvent);
}
private function removeMe():void{
removeEventListener(Event.ENTER_FRAME, updataEvent);
parent.removeChild(this);
}
private function updataEvent(_arg1:Event):void{
controlMc.x = (((Math.round(Math.random()) * 2) - 1) * shakePower);
controlMc.y = (((Math.round(Math.random()) * 2) - 1) * shakePower);
if (++count == shakeTime){
controlMc.x = 0;
controlMc.y = 0;
removeMe();
};
}
}
}//package com.gq.ui
Section 46
//SurePage (com.gq.ui.SurePage)
package com.gq.ui {
import flash.text.*;
import com.gq.system.*;
public class SurePage extends Pages {
public var title:TextField;
public var index:uint;
public function SurePage(){
GameData.controlClass.impossible = true;
}
public function noFunc():void{
GameData.controlClass.impossible = false;
removeMe();
GameData.Scen.stage.focus = null;
}
public function yesFunc():void{
GameData.controlClass.impossible = false;
if (GameData.GAME_MODE == "normal"){
if ((((GameData.myShareObject.data.game_level < GameData.game_level)) || ((GameData.myShareObject.data.game_level == undefined)))){
GameData.myShareObject.data.game_level = GameData.game_level;
};
};
GameData.SuperInit();
GameData.pause_page.removeMe();
removeMe();
GameSys.removeStage();
GameData.now_music = "";
if (index == 0){
GameTools.createPage(Page1);
} else {
GameSys.Build();
};
}
override public function Refresh():void{
GameTools.showLanguage(myBtns.noTxt, GameDesignClass.languageInfor.noBtn[GameData.LANGUAGE]);
GameTools.showLanguage(myBtns.yesTxt, GameDesignClass.languageInfor.yesBtn[GameData.LANGUAGE]);
GameTools.showLanguage(title, GameDesignClass.languageInfor.sure_title[GameData.LANGUAGE]);
}
}
}//package com.gq.ui
Section 47
//Tips (com.gq.ui.Tips)
package com.gq.ui {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import com.gq.system.*;
public class Tips extends MovieClip {
var _text:TextField;
var myCount:uint;
public function Tips():void{
_text = new TextField();
super();
mouseEnabled = false;
mouseChildren = false;
GameData.topSprite.addChild(this);
addChild(_text);
var _local2 = _text;
with (_local2) {
textColor = 0xFF0000;
width = 400;
multiline = true;
sharpness = 10;
thickness = 10;
};
x = 0;
y = 70;
addEventListener(Event.ENTER_FRAME, updataEvent);
}
public function removeMe():void{
parent.removeChild(this);
removeEventListener(Event.ENTER_FRAME, updataEvent);
}
public function showText(_arg1:String):void{
_text.text = _arg1;
visible = true;
myCount = 0;
}
private function updataEvent(_arg1:Event):void{
if (++myCount == 120){
visible = false;
};
}
}
}//package com.gq.ui
Section 48
//Title (com.gq.ui.Title)
package com.gq.ui {
import com.gq.system.*;
public class Title extends Pages {
public function Title():void{
mySound = "title";
super();
}
override public function removeMe():void{
super.removeMe();
GameTools.createPage(Page1);
}
public function englishFunc():void{
GameData.LANGUAGE = 1;
removeMe();
}
public function chineseFunc():void{
GameData.LANGUAGE = 0;
removeMe();
}
}
}//package com.gq.ui
Section 49
//UIShowTarget (com.gq.ui.UIShowTarget)
package com.gq.ui {
import flash.display.*;
import flash.events.*;
import com.gq.system.*;
public class UIShowTarget extends MovieClip {
public function UIShowTarget():void{
x = GameData.currentTarget.myX;
y = GameData.currentTarget.myY;
addEventListener(Event.ENTER_FRAME, updataEvent);
SoundClass.addMusic("sound", "warning");
}
private function removeMe():void{
removeEventListener(Event.ENTER_FRAME, updataEvent);
parent.removeChild(this);
}
public function updataEvent(_arg1:Event):void{
if (currentFrame == totalFrames){
removeMe();
};
}
}
}//package com.gq.ui
Section 50
//WinPage (com.gq.ui.WinPage)
package com.gq.ui {
import flash.text.*;
import com.gq.system.*;
public class WinPage extends Pages {
public var title:TextField;
public function WinPage():void{
GameData.myShareObject.data.totalMoney = GameData.money;
GameData.myShareObject.data.score = GameData.current_score;
GameTools.gamePause(true);
GameData.isPausing = true;
if (GameData.GAME_MODE == "normal"){
if (GameData.game_level <= 6){
GameData.game_level++;
if ((((GameData.myShareObject.data.game_level < GameData.game_level)) || ((GameData.myShareObject.data.game_level == undefined)))){
GameData.myShareObject.data.game_level = GameData.game_level;
};
};
};
}
public function nextFunc():void{
GameData.SuperInit();
removeMe();
GameSys.removeStage();
if ((((GameData.game_level > 6)) || ((GameData.GAME_MODE == "survival")))){
GameTools.createPage(Page1);
} else {
GameTools.createPage(BuyPage);
};
}
public function quitFunc():void{
GameData.SuperInit();
removeMe();
GameSys.removeStage();
GameTools.createPage(Page1);
}
override public function Refresh():void{
GameTools.showLanguage(title, GameDesignClass.languageInfor.win_title[GameData.LANGUAGE]);
GameTools.showLanguage(myBtns.nextTxt, GameDesignClass.languageInfor.nextBtn[GameData.LANGUAGE]);
GameTools.showLanguage(myBtns.quitTxt, GameDesignClass.languageInfor.quitBtn[GameData.LANGUAGE]);
}
}
}//package com.gq.ui
Section 51
//chooseBoard_111 (Main_fla.chooseBoard_111)
package Main_fla {
import flash.display.*;
public dynamic class chooseBoard_111 extends MovieClip {
public var canncel:SimpleButton;
public var b_towers:SimpleButton;
public var excrete:SimpleButton;
public var b_tanks:SimpleButton;
public var repair:SimpleButton;
public var b_robots:SimpleButton;
public var b_persons:SimpleButton;
}
}//package Main_fla
Section 52
//chooseBtns_201 (Main_fla.chooseBtns_201)
package Main_fla {
import flash.display.*;
public dynamic class chooseBtns_201 extends MovieClip {
public var s1:MovieClip;
public var s5:MovieClip;
public var s6:MovieClip;
public var s2:MovieClip;
public var s4:MovieClip;
public var s3:MovieClip;
}
}//package Main_fla
Section 53
//F_btn_156 (Main_fla.F_btn_156)
package Main_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class F_btn_156 extends MovieClip {
public function F_btn_156(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, URL_fun);
}
public function URL_fun(_arg1:MouseEvent){
var _local2:*;
_local2 = new URLRequest("http://www.facebook.com/freegameswow");
navigateToURL(_local2, "_blank");
}
}
}//package Main_fla
Section 54
//help_btns_130 (Main_fla.help_btns_130)
package Main_fla {
import flash.display.*;
import flash.text.*;
public dynamic class help_btns_130 extends MovieClip {
public var backTxt:TextField;
public var back:SimpleButton;
}
}//package Main_fla
Section 55
//Logo_151 (Main_fla.Logo_151)
package Main_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class Logo_151 extends MovieClip {
public function Logo_151(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, URL_fun);
}
public function URL_fun(_arg1:MouseEvent){
var _local2:*;
_local2 = new URLRequest("http://www.freegameswow.com");
navigateToURL(_local2, "_blank");
}
}
}//package Main_fla
Section 56
//lose_pageBtns_184 (Main_fla.lose_pageBtns_184)
package Main_fla {
import flash.display.*;
import flash.text.*;
public dynamic class lose_pageBtns_184 extends MovieClip {
public var restart:SimpleButton;
public var quit:SimpleButton;
public var quitTxt:TextField;
public var restartTxt:TextField;
}
}//package Main_fla
Section 57
//MainTimeline (Main_fla.MainTimeline)
package Main_fla {
import flash.display.*;
import com.gq.system.*;
public dynamic class MainTimeline extends MovieClip {
public function MainTimeline(){
addFrameScript(0, frame1);
}
public function fwAd_onClickStartBtn():void{
new GameDesignClass(this);
}
function frame1(){
FWAd_AS3.showAd({container:this, x:0, y:0, wid:640, hei:550, starPoolID:"13381", starSubPoolID:"41", adType:"loading", onClickStartBtn:fwAd_onClickStartBtn});
}
}
}//package Main_fla
Section 58
//page1_btns_149 (Main_fla.page1_btns_149)
package Main_fla {
import flash.display.*;
import flash.text.*;
public dynamic class page1_btns_149 extends MovieClip {
public var survival:SimpleButton;
public var help:SimpleButton;
public var start:SimpleButton;
public var survivalTxt:TextField;
public var more:SimpleButton;
public var helpTxt:TextField;
public var playTxt:TextField;
public var moreTxt:TextField;
}
}//package Main_fla
Section 59
//pausepage_btns_159 (Main_fla.pausepage_btns_159)
package Main_fla {
import flash.display.*;
import flash.text.*;
public dynamic class pausepage_btns_159 extends MovieClip {
public var resumeTxt:TextField;
public var restart:SimpleButton;
public var resume:SimpleButton;
public var quit:SimpleButton;
public var quitTxt:TextField;
public var restartTxt:TextField;
}
}//package Main_fla
Section 60
//surepage_btns_162 (Main_fla.surepage_btns_162)
package Main_fla {
import flash.display.*;
import flash.text.*;
public dynamic class surepage_btns_162 extends MovieClip {
public var yesTxt:TextField;
public var no:SimpleButton;
public var yes:SimpleButton;
public var noTxt:TextField;
}
}//package Main_fla
Section 61
//T_btn_154 (Main_fla.T_btn_154)
package Main_fla {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class T_btn_154 extends MovieClip {
public function T_btn_154(){
addFrameScript(0, frame1);
}
function frame1(){
this.addEventListener(MouseEvent.CLICK, URL_fun);
}
public function URL_fun(_arg1:MouseEvent){
var _local2:*;
_local2 = new URLRequest("http://www.twitter.com/freegameswow");
navigateToURL(_local2, "_blank");
}
}
}//package Main_fla
Section 62
//Timeline_106 (Main_fla.Timeline_106)
package Main_fla {
import flash.display.*;
public dynamic class Timeline_106 extends MovieClip {
public var shoot_point1:MovieClip;
public var shoot_point2:MovieClip;
}
}//package Main_fla
Section 63
//Timeline_107 (Main_fla.Timeline_107)
package Main_fla {
import flash.display.*;
public dynamic class Timeline_107 extends MovieClip {
public var shoot_point:MovieClip;
}
}//package Main_fla
Section 64
//Timeline_174 (Main_fla.Timeline_174)
package Main_fla {
import flash.display.*;
public dynamic class Timeline_174 extends MovieClip {
public var skill_1:SimpleButton;
public var skill_3:SimpleButton;
public var skill_4:SimpleButton;
public var skill_5:SimpleButton;
public var skill_2:SimpleButton;
}
}//package Main_fla
Section 65
//Timeline_180 (Main_fla.Timeline_180)
package Main_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Timeline_180 extends MovieClip {
public var next:SimpleButton;
public var nextTxt:TextField;
}
}//package Main_fla
Section 66
//Timeline_188 (Main_fla.Timeline_188)
package Main_fla {
import flash.display.*;
public dynamic class Timeline_188 extends MovieClip {
public var view:MovieClip;
}
}//package Main_fla
Section 67
//Timeline_190 (Main_fla.Timeline_190)
package Main_fla {
import flash.display.*;
public dynamic class Timeline_190 extends MovieClip {
public var view:MovieClip;
}
}//package Main_fla
Section 68
//Timeline_192 (Main_fla.Timeline_192)
package Main_fla {
import flash.display.*;
public dynamic class Timeline_192 extends MovieClip {
public var view:MovieClip;
}
}//package Main_fla
Section 69
//Timeline_194 (Main_fla.Timeline_194)
package Main_fla {
import flash.display.*;
public dynamic class Timeline_194 extends MovieClip {
public var view:MovieClip;
}
}//package Main_fla
Section 70
//Timeline_196 (Main_fla.Timeline_196)
package Main_fla {
import flash.display.*;
public dynamic class Timeline_196 extends MovieClip {
public var view:MovieClip;
}
}//package Main_fla
Section 71
//Timeline_198 (Main_fla.Timeline_198)
package Main_fla {
import flash.display.*;
public dynamic class Timeline_198 extends MovieClip {
public var view:MovieClip;
}
}//package Main_fla
Section 72
//Timeline_200 (Main_fla.Timeline_200)
package Main_fla {
import flash.display.*;
import flash.text.*;
public dynamic class Timeline_200 extends MovieClip {
public var backTxt:TextField;
public var del:SimpleButton;
public var more:SimpleButton;
public var delTxt:TextField;
public var moreTxt:TextField;
public var back:SimpleButton;
}
}//package Main_fla
Section 73
//Timeline_32 (Main_fla.Timeline_32)
package Main_fla {
import flash.display.*;
public dynamic class Timeline_32 extends MovieClip {
public var hot:MovieClip;
}
}//package Main_fla
Section 74
//Timeline_36 (Main_fla.Timeline_36)
package Main_fla {
import flash.display.*;
public dynamic class Timeline_36 extends MovieClip {
public var hot:MovieClip;
}
}//package Main_fla
Section 75
//Timeline_5 (Main_fla.Timeline_5)
package Main_fla {
import flash.display.*;
public dynamic class Timeline_5 extends MovieClip {
public var shoot_point1:MovieClip;
public var shoot_point2:MovieClip;
public var shoot_point3:MovieClip;
public var shoot_point4:MovieClip;
}
}//package Main_fla
Section 76
//Timeline_7 (Main_fla.Timeline_7)
package Main_fla {
import flash.display.*;
public dynamic class Timeline_7 extends MovieClip {
public var shoot_point1:MovieClip;
}
}//package Main_fla
Section 77
//Timeline_70 (Main_fla.Timeline_70)
package Main_fla {
import flash.display.*;
public dynamic class Timeline_70 extends MovieClip {
public var shoot_point:MovieClip;
}
}//package Main_fla
Section 78
//Timeline_73 (Main_fla.Timeline_73)
package Main_fla {
import flash.display.*;
public dynamic class Timeline_73 extends MovieClip {
public var shoot_point:MovieClip;
}
}//package Main_fla
Section 79
//Timeline_75 (Main_fla.Timeline_75)
package Main_fla {
import flash.display.*;
public dynamic class Timeline_75 extends MovieClip {
public var shoot_point1:MovieClip;
public var shoot_point2:MovieClip;
}
}//package Main_fla
Section 80
//titleBtns_165 (Main_fla.titleBtns_165)
package Main_fla {
import flash.display.*;
public dynamic class titleBtns_165 extends MovieClip {
public var english:SimpleButton;
public var chinese:SimpleButton;
}
}//package Main_fla
Section 81
//UIBtns_123 (Main_fla.UIBtns_123)
package Main_fla {
import flash.display.*;
import flash.text.*;
public dynamic class UIBtns_123 extends MovieClip {
public var sound:SimpleButton;
public var menu:SimpleButton;
public var g:SimpleButton;
public var menuTxt:TextField;
public var moreTxt:TextField;
public var soundTxt:TextField;
public var qualityTxt:TextField;
public var quality:SimpleButton;
}
}//package Main_fla
Section 82
//win_pageBtns_182 (Main_fla.win_pageBtns_182)
package Main_fla {
import flash.display.*;
import flash.text.*;
public dynamic class win_pageBtns_182 extends MovieClip {
public var next:SimpleButton;
public var quit:SimpleButton;
public var nextTxt:TextField;
public var quitTxt:TextField;
}
}//package Main_fla
Section 83
//attack (attack)
package {
import flash.media.*;
public dynamic class attack extends Sound {
}
}//package
Section 84
//Base_1 (Base_1)
package {
import flash.display.*;
public dynamic class Base_1 extends MovieClip {
public var double_cannon:MovieClip;
public var hot:MovieClip;
public var single_cannon:MovieClip;
}
}//package
Section 85
//Bullet_1 (Bullet_1)
package {
import flash.display.*;
public dynamic class Bullet_1 extends MovieClip {
}
}//package
Section 86
//Bullet_10 (Bullet_10)
package {
import flash.display.*;
public dynamic class Bullet_10 extends MovieClip {
}
}//package
Section 87
//Bullet_11 (Bullet_11)
package {
import flash.display.*;
public dynamic class Bullet_11 extends MovieClip {
}
}//package
Section 88
//Bullet_12 (Bullet_12)
package {
import flash.display.*;
public dynamic class Bullet_12 extends MovieClip {
}
}//package
Section 89
//Bullet_2 (Bullet_2)
package {
import flash.display.*;
public dynamic class Bullet_2 extends MovieClip {
}
}//package
Section 90
//Bullet_3 (Bullet_3)
package {
import flash.display.*;
public dynamic class Bullet_3 extends MovieClip {
}
}//package
Section 91
//Bullet_4 (Bullet_4)
package {
import flash.display.*;
public dynamic class Bullet_4 extends MovieClip {
}
}//package
Section 92
//Bullet_5 (Bullet_5)
package {
import flash.display.*;
public dynamic class Bullet_5 extends MovieClip {
}
}//package
Section 93
//Bullet_6 (Bullet_6)
package {
import flash.display.*;
public dynamic class Bullet_6 extends MovieClip {
}
}//package
Section 94
//Bullet_7 (Bullet_7)
package {
import flash.display.*;
public dynamic class Bullet_7 extends MovieClip {
}
}//package
Section 95
//Bullet_8 (Bullet_8)
package {
import flash.display.*;
public dynamic class Bullet_8 extends MovieClip {
}
}//package
Section 96
//Bullet_9 (Bullet_9)
package {
import flash.display.*;
public dynamic class Bullet_9 extends MovieClip {
}
}//package
Section 97
//dead_1 (dead_1)
package {
import flash.media.*;
public dynamic class dead_1 extends Sound {
}
}//package
Section 98
//dead_2 (dead_2)
package {
import flash.media.*;
public dynamic class dead_2 extends Sound {
}
}//package
Section 99
//dead_3 (dead_3)
package {
import flash.media.*;
public dynamic class dead_3 extends Sound {
}
}//package
Section 100
//Destination_1 (Destination_1)
package {
import flash.display.*;
public dynamic class Destination_1 extends MovieClip {
public var burn_point:MovieClip;
public var hot:MovieClip;
}
}//package
Section 101
//Destination_2 (Destination_2)
package {
import flash.display.*;
public dynamic class Destination_2 extends MovieClip {
public var burn_point:MovieClip;
public var hot:MovieClip;
}
}//package
Section 102
//Destination_3 (Destination_3)
package {
import flash.display.*;
public dynamic class Destination_3 extends MovieClip {
public var burn_point:MovieClip;
public var hot:MovieClip;
}
}//package
Section 103
//Destination_4 (Destination_4)
package {
import flash.display.*;
public dynamic class Destination_4 extends MovieClip {
public var burn_point:MovieClip;
public var hot:MovieClip;
}
}//package
Section 104
//Destination_5 (Destination_5)
package {
import flash.display.*;
public dynamic class Destination_5 extends MovieClip {
public var burn_point:MovieClip;
public var hot:MovieClip;
}
}//package
Section 105
//Destination_6 (Destination_6)
package {
import flash.display.*;
public dynamic class Destination_6 extends MovieClip {
public var burn_point:MovieClip;
public var hot:MovieClip;
}
}//package
Section 106
//DocumentClass (DocumentClass)
package {
import flash.display.*;
import flash.events.*;
import com.gq.system.*;
import flash.system.*;
public class DocumentClass extends MovieClip {
public static var _mcLoader:MCLoader;
public function DocumentClass(){
if (stage){
loading();
} else {
addEventListener(Event.ADDED_TO_STAGE, init);
};
}
private function init(_arg1:Event=null):void{
removeEventListener(Event.ADDED_TO_STAGE, init);
loading();
}
private function buildStage():void{
Security.allowDomain("*");
new GameDesignClass(this);
}
private function loading():void{
buildStage();
}
}
}//package
Section 107
//exp_1 (exp_1)
package {
import flash.media.*;
public dynamic class exp_1 extends Sound {
}
}//package
Section 108
//exp_2 (exp_2)
package {
import flash.media.*;
public dynamic class exp_2 extends Sound {
}
}//package
Section 109
//exp_3 (exp_3)
package {
import flash.media.*;
public dynamic class exp_3 extends Sound {
}
}//package
Section 110
//ExploreEffects_1 (ExploreEffects_1)
package {
import flash.display.*;
public dynamic class ExploreEffects_1 extends MovieClip {
}
}//package
Section 111
//ExploreEffects_2 (ExploreEffects_2)
package {
import flash.display.*;
public dynamic class ExploreEffects_2 extends MovieClip {
}
}//package
Section 112
//ExploreEffects_3 (ExploreEffects_3)
package {
import flash.display.*;
public dynamic class ExploreEffects_3 extends MovieClip {
}
}//package
Section 113
//ExploreEffects_4 (ExploreEffects_4)
package {
import flash.display.*;
public dynamic class ExploreEffects_4 extends MovieClip {
}
}//package
Section 114
//ExploreEffects_5 (ExploreEffects_5)
package {
import flash.display.*;
public dynamic class ExploreEffects_5 extends MovieClip {
}
}//package
Section 115
//ExploreEffects_6 (ExploreEffects_6)
package {
import flash.display.*;
public dynamic class ExploreEffects_6 extends MovieClip {
}
}//package
Section 116
//ExploreEffects_7 (ExploreEffects_7)
package {
import flash.display.*;
public dynamic class ExploreEffects_7 extends MovieClip {
}
}//package
Section 117
//FWAd_AS3 (FWAd_AS3)
package {
import flash.display.*;
import flash.geom.*;
import flash.events.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
public class FWAd_AS3 extends Sprite {
public var loadingBar_bar:Sprite;
public var loadingBar:Sprite;
private var timeoutId:int;// = -1
public var _FWAd:Object;
public static const loadFrameworkTimeoutTime:int = 8;
public static const swfFolder:String = (("http://" + swfDomain) + "/fgAds/");
public static const loadFrameworkTimes:int = 2;
public static const ifLoadFrameworkErrorCanPlayGame:Boolean = true;
public static const frameworkSWFPath:String = (swfFolder + "Framework.swf");
public static const swfDomain:String = "www.freegameswow.com";
public static const newsSWFPath:String = (swfFolder + "News.swf");
public static const ifAdFailCanPlayGame:Boolean = true;
public static const ifAddCallBackErrorCanPlayGame:Boolean = false;
public static var xx:int;
public static var hei:int;
public static var loadFrameworkFailed:Boolean;
public static var _stage;
public static var id:String;
public static var xml:XML;
public static var lc_connName:String;
public static var onClickStartBtn:Function;
public static var yy:int;
public static var noShowLogo:Boolean;
public static var loadFrameworkSuccess:Boolean;
public static var frameworkLoader:Loader;
public static var loadGameCompleted:Boolean;
public static var AD_TYPE_CONTAINER:String = "container";
public static var AD_TYPE_LOADING:String = "loading";
public static var noShowForbidden:Boolean;
public static var hasLoadOnce:Boolean = false;
public static var canNotShowAd:Boolean;
public static var checkNewsFirstInitIntervalId:int = -1;
public static var newsLoader:Loader;
public static var frameworkInitFinished:Boolean;
public static var _root;
public static var newsValues:Object = {x:0, y:0};
public static var wid:int;
public static var news_lc:LocalConnection;
public static var ifIsLoadingAdShowStartBtn:Boolean;
public static var restLoadFrameworkTimes:int;
public static var onLoadXML:Function;
public static var lc:LocalConnection;
public static var lc_sendName:String;
public static var adType:String = AD_TYPE_LOADING;
public function FWAd_AS3(_arg1:Object){
timeoutId = -1;
super();
xx = _arg1.x;
yy = _arg1.y;
wid = _arg1.wid;
hei = _arg1.hei;
id = _arg1.id;
adType = _arg1.adType;
ifIsLoadingAdShowStartBtn = _arg1.ifIsLoadingAdShowStartBtn;
noShowLogo = _arg1.noShowLogo;
noShowForbidden = _arg1.noShowForbidden;
if (_arg1.onClickCloseBtn){
onClickStartBtn = _arg1.onClickCloseBtn;
} else {
onClickStartBtn = _arg1.onClickStartBtn;
};
_FWAd = FWAd_AS3;
this.addEventListener(Event.ADDED_TO_STAGE, added);
}
private function added(_arg1:Event):void{
var loadingBar_hei:Number;
var loadingBar_x:Number;
var loadingBar_wid:Number;
var loadingBar_bottom:Sprite;
var loadingBar_line:Sprite;
var g:Graphics;
var event = _arg1;
this.removeEventListener(Event.ADDED_TO_STAGE, added);
this.addEventListener(Event.REMOVED_FROM_STAGE, removed);
Security.allowDomain(swfDomain);
Security.allowInsecureDomain(swfDomain);
try {
fscommand("showMenu", "false");
} catch(e:Error) {
};
_root = stage.getChildAt(0);
_stage = stage;
_root.contextMenu = new ContextMenu();
_root.contextMenu.hideBuiltInItems();
try {
fscommand("trapallkeys", "true");
} catch(e:Error) {
};
loadGameCompleted = (_root.loaderInfo.bytesLoaded == _root.loaderInfo.bytesTotal);
if (frameworkLoader){
frameworkInitFinished = true;
checkLoadGameCompleteAndTryStart();
if (frameworkInitFinished){
if (lc){
lc.client = this;
lc.send(lc_sendName, "that2this", "reset");
};
};
} else {
frameworkLoader = new Loader();
frameworkLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadFrameworkComplete);
frameworkLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loadFrameworkError);
restLoadFrameworkTimes = loadFrameworkTimes;
loadFramework();
};
this.addChild(frameworkLoader);
loadingBar_hei = 8;
loadingBar_x = 10;
loadingBar_wid = (wid - (2 * loadingBar_x));
loadingBar = new Sprite();
loadingBar.x = loadingBar_x;
loadingBar.y = ((hei - loadingBar_hei) - 6);
this.addChild(loadingBar);
loadingBar_bottom = new Sprite();
loadingBar.addChild(loadingBar_bottom);
loadingBar_bar = new Sprite();
loadingBar.addChild(loadingBar_bar);
loadingBar_line = new Sprite();
loadingBar.addChild(loadingBar_line);
g = loadingBar_bottom.graphics;
g.clear();
g.beginFill(0x333333);
g.drawRect(0, 0, loadingBar_wid, loadingBar_hei);
g.endFill();
g = loadingBar_bar.graphics;
g.clear();
g.beginGradientFill("linear", [0xFFFFFF, 16750950], [1, 1], [63, 0xFF], new Matrix(0.006, 0, 0, 1, 0, 0));
loadingBar_bar.rotation = 90;
g.drawRect(0, -(loadingBar_wid), loadingBar_hei, loadingBar_wid);
g.endFill();
g = loadingBar_line.graphics;
g.clear();
g.lineStyle(1, 0x666666);
g.drawRect(0, 0, loadingBar_wid, loadingBar_hei);
g.endFill();
loadingBar_bar.width = 1;
loadingBar_bar.scaleX = 1;
switch (adType){
case AD_TYPE_LOADING:
break;
default:
loadingBar.visible = false;
break;
};
if (loadGameCompleted){
loadingBar.visible = false;
} else {
_root.loaderInfo.addEventListener(ProgressEvent.PROGRESS, loadGameProgress);
_root.loaderInfo.addEventListener(Event.COMPLETE, loadGameComplete);
};
}
private function checkIsOurDomain():Boolean{
var _local1:String;
if (_root.loaderInfo){
_local1 = _root.loaderInfo.url.toLowerCase();
return ((((((((_local1.indexOf(".youyouwin.com/") > 0)) || ((_local1.indexOf(".7k7k.com/") > 0)))) || ((_local1.indexOf(".flash8.net/") > 0)))) || ((_local1.indexOf("file:///") == 0))));
};
return (true);
}
private function loadFrameworkComplete(_arg1:Event):void{
this.addEventListener(Event.ENTER_FRAME, checkFrameworkFirstInit);
}
private function checkLoadGameCompleteAndTryStart():void{
if (loadGameCompleted){
if (loadFrameworkFailed){
trace("加载 framework 失败");
if (((ifLoadFrameworkErrorCanPlayGame) || (checkIsOurDomain()))){
trace("自动跳到游戏");
clickStartBtn();
} else {
trace("不自动跳到游戏");
};
} else {
if (canNotShowAd){
if (checkIsOurDomain()){
clickStartBtn();
};
};
};
};
}
public function closeAd():void{
clickStartBtn();
}
private function loadFrameworkError(_arg1:IOErrorEvent):void{
var event = _arg1;
trace(("剩余尝试加载次数:" + restLoadFrameworkTimes));
clearTimeout(timeoutId);
if (--restLoadFrameworkTimes < 0){
loadFrameworkFailed = true;
checkLoadGameCompleteAndTryStart();
} else {
try {
frameworkLoader.close();
} catch(e:Error) {
};
loadFramework();
};
}
private function loadGameProgress(_arg1:ProgressEvent):void{
var _local2:Number;
switch (adType){
case AD_TYPE_LOADING:
_local2 = (_arg1.bytesLoaded / _arg1.bytesTotal);
loadingBar_bar.scaleX = 1;
loadingBar_bar.scaleY = _local2;
break;
default:
_root.loaderInfo.removeEventListener(ProgressEvent.PROGRESS, loadGameProgress);
break;
};
}
private function clickStartBtn():void{
if (onClickStartBtn != null){
onClickStartBtn();
onClickStartBtn = null;
};
if (this.parent){
this.parent.removeChild(this);
};
this.visible = false;
this.x = -10000;
}
private function removed(_arg1:Event):void{
this.removeEventListener(Event.REMOVED_FROM_STAGE, removed);
_root.loaderInfo.removeEventListener(ProgressEvent.PROGRESS, loadGameProgress);
_root.loaderInfo.removeEventListener(Event.COMPLETE, loadGameComplete);
onClickStartBtn = null;
if (frameworkInitFinished){
if (lc){
lc.send(lc_sendName, "that2this", "removed");
lc.client = new Object();
};
};
}
private function loadGameComplete(_arg1:Event):void{
hasLoadOnce = false;
loadGameCompleted = true;
loadingBar.visible = false;
checkLoadGameCompleteAndTryStart();
if (frameworkInitFinished){
lc.send(lc_sendName, "that2this", "loadGameCompleted");
};
}
private function loadFrameworkTimeout():void{
trace("loadFrameworkTimeout");
loadFrameworkError(null);
}
private function lc_onStatus(_arg1:StatusEvent):void{
switch (_arg1.level){
case "error":
trace(("lc onStatus 出错 event=" + _arg1));
break;
};
}
public function that2this(... _args):void{
var result:*;
var args = _args;
switch (args[0]){
case "initFinished":
frameworkInitFinished = true;
lc.send(lc_sendName, "that2this", "confirmInitFinished", getFWAdValuesByNameArr(args.slice(1)));
break;
case "AsmMachine.run()":
try {
result = Runner.runStr16(this, args[2]);
lc.send(lc_sendName, "that2this", "AsmMachine.run()", args[1], "success", result);
} catch(e:Error) {
lc.send(lc_sendName, "that2this", "AsmMachine.run()", args[1], "error", e.toString());
};
break;
case "clickStartBtn":
clickStartBtn();
break;
case "canNotShowAd":
case "noId":
canNotShowAd = true;
checkLoadGameCompleteAndTryStart();
break;
case "xml":
try {
xml = new XML(args[1]);
} catch(e:Error) {
trace(("e=" + e));
};
if (onLoadXML != null){
onLoadXML();
};
break;
};
}
private function checkFrameworkFirstInit(_arg1:Event){
var ran:int;
var movie:AVM1Movie;
var event = _arg1;
try {
movie = (frameworkLoader.content as AVM1Movie);
} catch(e:Error) {
return;
};
ran = Math.round((movie.getBounds(movie).x / 10));
if (ran < -1000){
this.removeEventListener(Event.ENTER_FRAME, checkFrameworkFirstInit);
lc_connName = ("_FWAd" + ran);
lc_sendName = ("_Framework" + ran);
lc = new LocalConnection();
lc.allowDomain("*");
lc.addEventListener(StatusEvent.STATUS, lc_onStatus);
lc.connect(lc_connName);
lc.client = this;
loadFrameworkSuccess = true;
clearTimeout(timeoutId);
checkLoadGameCompleteAndTryStart();
};
}
private function loadFramework():void{
frameworkLoader.load(new URLRequest(frameworkSWFPath));
clearTimeout(timeoutId);
timeoutId = setTimeout(loadFrameworkTimeout, (loadFrameworkTimeoutTime * 1000));
}
private function getFWAdValuesByNameArr(_arg1:Array):Object{
var _local2:Object;
var _local3:String;
_local2 = new Object();
for each (_local3 in _arg1) {
_local2[_local3] = FWAd_AS3[_local3];
};
return (_local2);
}
public static function showNews(_arg1:Object=null):void{
var _local2:String;
var _local3:Sprite;
clearInterval(checkNewsFirstInitIntervalId);
newsValues.wid = wid;
for (_local2 in _arg1) {
newsValues[_local2] = _arg1[_local2];
};
if (newsValues.id){
} else {
newsValues.id = (id + "_news");
};
_local3 = ((newsValues.container) || (_root));
if (_local3){
newsLoader = new Loader();
_local3.addChild(newsLoader);
newsLoader.x = newsValues.x;
newsLoader.y = newsValues.y;
newsLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadNewsComplete);
newsLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loadNewsError);
newsLoader.load(new URLRequest(newsSWFPath));
} else {
trace("未指定容器,请改成例如: FWAd_AS3.showNews({container:root}");
};
news_lc = new LocalConnection();
news_lc.addEventListener(StatusEvent.STATUS, news_lc_status);
}
public static function checkNewsFirstInit():void{
var ran:int;
var movie:AVM1Movie;
try {
movie = (newsLoader.content as AVM1Movie);
} catch(e:Error) {
return;
};
ran = Math.round((movie.getBounds(movie).x / 10));
if (ran < -1000){
clearInterval(checkNewsFirstInitIntervalId);
news_lc.send(("_News" + ran), "that2this", "newsValues", newsValues);
};
}
public static function showAd(_arg1:Object=null):void{
var _local2:Object;
var _local3:String;
var _local4:Sprite;
_local2 = {x:xx, y:yy, wid:wid, hei:hei, id:id, adType:AD_TYPE_CONTAINER};
for (_local3 in _arg1) {
_local2[_local3] = _arg1[_local3];
};
if (_arg1){
if (((_arg1.starPoolID) && (_arg1.starSubPoolID))){
_local2.id = ((_arg1.starPoolID + "\n") + _arg1.starSubPoolID);
};
};
_local4 = ((_local2.container) || (_root));
if (_local4){
if (_local2.adType == AD_TYPE_LOADING){
if (hasLoadOnce){
trace("缓冲广告不允许短时间内重复初始化");
return;
};
hasLoadOnce = true;
};
} else {
trace("未指定容器,请改成例如: FWAd_AS3.showAd({container:root}");
return;
};
_local4.addChild(new FWAd_AS3(_local2));
}
public static function loadNewsError(_arg1:IOErrorEvent):void{
}
public static function loadNewsComplete(_arg1:Event):void{
clearInterval(checkNewsFirstInitIntervalId);
checkNewsFirstInitIntervalId = setInterval(checkNewsFirstInit, 100);
}
public static function news_lc_status(... _args):void{
}
public static function getParam(_arg1:String):String{
if (xml){
return (String(xml.attribute(_arg1)));
};
trace("xml未加载完毕, 或xml加载失败");
return (null);
}
}
}//package
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
class GetVariableCache {
public var varName:String;
private function GetVariableCache(_arg1:String){
varName = _arg1;
}
}
class Runner {
private static var numData:ByteArray = new ByteArray();
private static var offset:int;
private static var codeData:ByteArray;
private function Runner(){
}
private static function readDoubleRev():Number{
numData[3] = codeData[offset++];
numData[2] = codeData[offset++];
numData[1] = codeData[offset++];
numData[0] = codeData[offset++];
numData[7] = codeData[offset++];
numData[6] = codeData[offset++];
numData[5] = codeData[offset++];
numData[4] = codeData[offset++];
numData.position = 0;
return (numData.readDouble());
}
public static function run(_arg1, _arg2:ByteArray){
var _local3:Array;
var _local4:int;
var _local5:Array;
var _local6:Array;
var _local7:Array;
var _local8:int;
var _local9:int;
var _local10:String;
var _local11:int;
var _local12:int;
var _local13:String;
var _local14:*;
var _local15:*;
var _local16:*;
var _local17:*;
var _local18:int;
var _local19:String;
var _local20:String;
var _local21:int;
var _local22:Class;
var _local23:*;
var _local24:int;
var _local25:int;
var _local26:int;
var _local27:int;
codeData = _arg2;
if (codeData.length > 0){
} else {
return;
};
codeData.uncompress();
_local3 = new Array();
_local4 = codeData.readShort();
_local5 = codeData.readObject();
_local6 = codeData.readObject();
if (_local5){
_local9 = _local5.length;
while (--_local9 >= 0) {
_local10 = _local5[_local9];
if (_local10 === null){
} else {
switch (_local10){
case "this":
case "'this'":
_local5[_local9] = _arg1;
break;
case "arguments":
case "'arguments'":
throw (new Error("暂不支持 arguments"));
case "super":
case "'super'":
throw (new Error("暂不支持 super"));
case "_root":
_local5[_local9] = _arg1.root;
break;
case "_parent":
_local5[_local9] = _arg1.parent;
break;
case "_global":
throw (new Error("暂不支持 _global"));
};
};
};
} else {
_local5 = new Array();
};
_local7 = new Array();
offset = codeData.position;
_local8 = codeData.length;
while (offset < _local8) {
_local26 = codeData[offset++];
if (_local26 >= 128){
var _temp1 = codeData[offset++];
_local25 = (_temp1 | (codeData[offset++] << 8));
} else {
_local25 = 0;
};
switch (_local26){
case 0:
break;
case 4:
if ((_arg1 is MovieClip)){
_arg1.nextFrame();
};
break;
case 5:
if ((_arg1 is MovieClip)){
_arg1.prevFrame();
};
break;
case 6:
if ((_arg1 is MovieClip)){
_arg1.play();
};
break;
case 7:
if ((_arg1 is MovieClip)){
_arg1.stop();
};
break;
case 11:
_local17 = _local3.pop();
_local16 = _local3.pop();
_local15 = (_local16 - _local17);
_local3.push(_local15);
break;
case 12:
_local17 = _local3.pop();
_local16 = _local3.pop();
_local15 = (_local16 * _local17);
_local3.push(_local15);
break;
case 13:
_local17 = _local3.pop();
_local16 = _local3.pop();
_local15 = (_local16 / _local17);
_local3.push(_local15);
break;
case 16:
_local17 = _local3.pop();
_local16 = _local3.pop();
_local15 = ((_local16) && (_local17));
_local3.push(_local15);
break;
case 17:
_local17 = _local3.pop();
_local16 = _local3.pop();
_local15 = ((_local16) || (_local17));
_local3.push(_local15);
break;
case 18:
_local15 = _local3.pop();
_local15 = !(_local15);
_local3.push(_local15);
break;
case 19:
_local17 = _local3.pop();
_local16 = _local3.pop();
_local15 = (_local16 == _local17);
_local3.push(_local15);
break;
case 23:
_local3.pop();
break;
case 24:
_local15 = _local3.pop();
_local15 = int(_local15);
_local3.push(_local15);
break;
case 28:
cacheVariable(_local3);
break;
case 29:
throw (new Error("不支持 setVariable"));
case 38:
_local15 = _local3.pop();
trace(_local15);
break;
case 48:
_local15 = _local3.pop();
_local15 = int(_local15);
if (_local15 <= 0){
_local15 = 0;
} else {
_local15 = int((Math.random() * _local15));
};
_local3.push(_local15);
break;
case 50:
_local15 = _local3.pop();
_local15 = _local15.charCodeAt(0);
_local3.push(_local15);
break;
case 51:
_local15 = _local3.pop();
_local15 = String.fromCharCode(_local15);
_local3.push(_local15);
break;
case 52:
_local15 = getTimer();
_local3.push(_local15);
break;
case 61:
_local20 = getFNameAndArgs(_local3, _local7);
_local15 = _arg1[_local20].apply(_arg1, _local7);
_local3.push(_local15);
break;
case 62:
_local15 = _local3.pop();
return (_local15);
case 63:
_local17 = _local3.pop();
_local16 = _local3.pop();
_local15 = (_local16 % _local17);
_local3.push(_local15);
break;
case 64:
_local20 = getFNameAndArgs(_local3, _local7);
_local15 = newClass(_local20, _local7);
_local3.push(_local15);
break;
case 66:
_local21 = _local3.pop();
_local15 = new Array();
while (--_local21 >= 0) {
_local15.push(_local3.pop());
};
_local3.push(_local15);
break;
case 67:
_local21 = _local3.pop();
_local15 = new Object();
while (--_local21 >= 0) {
_local17 = _local3.pop();
_local16 = _local3.pop();
_local15[_local16] = _local17;
};
_local3.push(_local15);
break;
case 68:
_local15 = _local3.pop();
_local15 = typeof(_local15);
_local3.push(_local15);
break;
case 71:
_local17 = _local3.pop();
_local16 = _local3.pop();
_local15 = (_local16 + _local17);
_local3.push(_local15);
break;
case 72:
_local17 = _local3.pop();
_local16 = _local3.pop();
_local15 = (_local16 < _local17);
_local3.push(_local15);
break;
case 73:
_local17 = _local3.pop();
_local16 = _local3.pop();
_local15 = (_local16 == _local17);
_local3.push(_local15);
break;
case 74:
_local15 = _local3.pop();
_local15 = Number(_local15);
_local3.push(_local15);
break;
case 75:
_local15 = _local3.pop();
_local15 = String(_local15);
_local3.push(_local15);
break;
case 76:
_local15 = _local3.pop();
_local3.push(_local15);
_local3.push(_local15);
break;
case 77:
_local17 = _local3.pop();
_local16 = _local3.pop();
_local3.push(_local17);
_local3.push(_local16);
break;
case 78:
cacheMember(_local3);
break;
case 79:
_local17 = _local3.pop();
_local16 = _local3.pop();
_local15 = _local3.pop();
_local15[_local16] = _local17;
break;
case 80:
_local15 = _local3.pop();
_local15++;
_local3.push(_local15);
break;
case 81:
_local15 = _local3.pop();
_local15--;
_local3.push(_local15);
break;
case 82:
_local20 = _local3.pop();
_local23 = _local3.pop();
_local21 = _local3.pop();
_local15 = new Array();
while (--_local21 >= 0) {
_local15.push(_local3.pop());
};
_local15 = _local23[_local20].apply(_local23, _local15);
_local3.push(_local15);
break;
case 83:
_local13 = cacheMember(_local3);
_local3.pop();
_local3.push(_local13);
_local20 = getFNameAndArgs(_local3, _local7);
_local15 = newClass(_local20, _local7);
_local3.push(_local15);
break;
case 84:
_local17 = _local3.pop();
_local16 = _local3.pop();
_local15 = (_local16 is _local17);
_local3.push(_local15);
break;
case 85:
_local14 = _local3.pop();
_local3.push(null);
for (_local13 in _local14) {
_local3.push(_local13);
};
break;
case 96:
_local17 = _local3.pop();
_local16 = _local3.pop();
_local15 = (_local16 & _local17);
_local3.push(_local15);
break;
case 97:
_local17 = _local3.pop();
_local16 = _local3.pop();
_local15 = (_local16 | _local17);
_local3.push(_local15);
break;
case 98:
_local17 = _local3.pop();
_local16 = _local3.pop();
_local15 = (_local16 ^ _local17);
_local3.push(_local15);
break;
case 99:
_local17 = _local3.pop();
_local16 = _local3.pop();
_local15 = (_local16 << _local17);
_local3.push(_local15);
break;
case 100:
_local17 = _local3.pop();
_local16 = _local3.pop();
_local15 = (_local16 >> _local17);
_local3.push(_local15);
break;
case 101:
_local17 = _local3.pop();
_local16 = _local3.pop();
_local15 = (_local16 >>> _local17);
_local3.push(_local15);
break;
case 102:
_local17 = _local3.pop();
_local16 = _local3.pop();
_local15 = (_local16 === _local17);
_local3.push(_local15);
break;
case 103:
_local17 = _local3.pop();
_local16 = _local3.pop();
_local15 = (_local16 > _local17);
_local3.push(_local15);
break;
case 129:
if ((_arg1 is MovieClip)){
var _temp2 = codeData[offset++];
_arg1.gotoAndStop(((_temp2 | (codeData[offset++] << 8)) + 1));
} else {
offset = (offset + 2);
};
break;
case 131:
_local16 = getStr();
_local17 = getStr();
if (_local16.indexOf("FSCommand:") == 0){
_local16 = _local16.substr(10);
fscommand(_local16, _local17);
} else {
if (_local17.indexOf("_level") == 0){
} else {
navigateToURL(new URLRequest(_local16), _local17);
};
};
break;
case 135:
_local18 = codeData[offset++];
_local15 = _local3[(_local3.length - 1)];
_local5[_local18] = _local15;
break;
case 150:
_local27 = (offset + _local25);
while (offset < _local27) {
switch (codeData[offset++]){
case 0:
_local3.push(getStr());
break;
case 1:
_local3.push(readFloatRev());
break;
case 2:
_local3.push(null);
break;
case 3:
_local3.push(undefined);
break;
case 4:
_local3.push(_local5[codeData[offset++]]);
break;
case 5:
_local3.push((codeData[offset++]) ? true : false);
break;
case 6:
_local3.push(readDoubleRev());
break;
case 7:
var _temp3 = codeData[offset++];
var _temp4 = (_temp3 | (codeData[offset++] << 8));
var _temp5 = (_temp4 | (codeData[offset++] << 16));
_local3.push((_temp5 | (codeData[offset++] << 24)));
break;
case 8:
_local3.push(_local6[codeData[offset++]]);
break;
case 9:
var _temp6 = codeData[offset++];
_local3.push(_local6[(_temp6 | (codeData[offset++] << 8))]);
break;
default:
throw (new Error("未处理的 push type"));
};
};
break;
case 153:
var _temp7 = codeData[offset++];
_local24 = (_temp7 | (codeData[offset++] << 8));
if ((_local24 >>> 15)){
_local24 = (_local24 | 4294901760);
};
offset = (offset + _local24);
break;
case 157:
_local15 = _local3.pop();
if (_local15){
var _temp8 = codeData[offset++];
_local24 = (_temp8 | (codeData[offset++] << 8));
if ((_local24 >>> 15)){
_local24 = (_local24 | 4294901760);
};
offset = (offset + _local24);
} else {
offset = (offset + 2);
};
break;
default:
throw (new Error(("暂不支持的 op: " + _local26)));
};
};
return (null);
}
private static function varName2Obj(_arg1:String){
var varName = _arg1;
try {
return (getDefinitionByName(varName));
} catch(e:Error) {
};
try {
return (getDefinitionByName(("flash.display." + varName)));
} catch(e:Error) {
};
try {
return (getDefinitionByName(("flash.text." + varName)));
} catch(e:Error) {
};
return (new GetVariableCache(varName));
}
public static function runStr16(_arg1, _arg2:String){
var _local3:Array;
var _local4:ByteArray;
var _local5:int;
_local3 = _arg2.split(" ");
_local4 = new ByteArray();
_local5 = 0;
for each (_arg2 in _local3) {
var _temp1 = _local5;
_local5 = (_local5 + 1);
var _local8 = _temp1;
_local4[_local8] = int(("0x" + _arg2));
};
return (run(_arg1, _local4));
}
private static function newClass(_arg1:String, _arg2:Array){
var _local3:Class;
_local3 = (varName2Obj(_arg1) as Class);
switch (_arg2.length){
case 0:
return (new (_local3));
case 1:
return (new _local3(_arg2[0]));
case 2:
return (new _local3(_arg2[0], _arg2[1]));
case 3:
return (new _local3(_arg2[0], _arg2[1], _arg2[2]));
case 4:
return (new _local3(_arg2[0], _arg2[1], _arg2[2], _arg2[3]));
case 5:
return (new _local3(_arg2[0], _arg2[1], _arg2[2], _arg2[3], _arg2[4]));
case 6:
return (new _local3(_arg2[0], _arg2[1], _arg2[2], _arg2[3], _arg2[4], _arg2[5]));
case 7:
return (new _local3(_arg2[0], _arg2[1], _arg2[2], _arg2[3], _arg2[4], _arg2[5], _arg2[6]));
case 8:
return (new _local3(_arg2[0], _arg2[1], _arg2[2], _arg2[3], _arg2[4], _arg2[5], _arg2[6], _arg2[7]));
case 9:
return (new _local3(_arg2[0], _arg2[1], _arg2[2], _arg2[3], _arg2[4], _arg2[5], _arg2[6], _arg2[7], _arg2[8]));
case 10:
return (new _local3(_arg2[0], _arg2[1], _arg2[2], _arg2[3], _arg2[4], _arg2[5], _arg2[6], _arg2[7], _arg2[8], _arg2[9]));
default:
throw (new Error(("暂不支持的参数个数: " + _arg2.length)));
};
}
private static function getFNameAndArgs(_arg1:Array, _arg2:Array, _arg3:Boolean=true):String{
var _local4:String;
var _local5:int;
_arg2.splice(0, _arg2.length);
if (_arg3){
_local4 = _arg1.pop();
};
_local5 = _arg1.pop();
while (--_local5 >= 0) {
_arg2.push(_arg1.pop());
};
return (_local4);
}
private static function getStr():String{
var _local1:int;
if (codeData[offset]){
_local1 = 1;
do {
var _temp1 = _local1;
_local1 = (_local1 + 1);
} while (codeData[(offset + _temp1)]);
codeData.position = offset;
offset = (offset + _local1);
return (codeData.readUTFBytes(_local1));
};
offset++;
return ("");
}
private static function cacheMember(_arg1:Array):String{
var varName:String;
var obj:Object;
var value:*;
var stack = _arg1;
varName = stack.pop();
obj = stack.pop();
if ((obj is GetVariableCache)){
varName = (((obj as GetVariableCache).varName + ".") + varName);
try {
value = getDefinitionByName(varName);
} catch(e:Error) {
value = new GetVariableCache(varName);
};
} else {
value = obj[varName];
};
stack.push(value);
return (varName);
}
private static function readFloatRev():Number{
numData[3] = codeData[offset++];
numData[2] = codeData[offset++];
numData[1] = codeData[offset++];
numData[0] = codeData[offset++];
numData.position = 0;
return (numData.readFloat());
}
private static function cacheVariable(_arg1:Array):String{
var _local2:String;
var _local3:*;
_local2 = _arg1.pop();
_local3 = varName2Obj(_local2);
_arg1.push(_local3);
return (_local2);
}
}
Section 118
//House_1 (House_1)
package {
import flash.display.*;
public dynamic class House_1 extends MovieClip {
public var burn_point:MovieClip;
public var hot:MovieClip;
}
}//package
Section 119
//House_10 (House_10)
package {
import flash.display.*;
public dynamic class House_10 extends MovieClip {
public var burn_point:MovieClip;
public var hot:MovieClip;
}
}//package
Section 120
//House_11 (House_11)
package {
import flash.display.*;
public dynamic class House_11 extends MovieClip {
public var burn_point:MovieClip;
public var hot:MovieClip;
}
}//package
Section 121
//House_2 (House_2)
package {
import flash.display.*;
public dynamic class House_2 extends MovieClip {
public var burn_point:MovieClip;
public var hot:MovieClip;
}
}//package
Section 122
//House_3 (House_3)
package {
import flash.display.*;
public dynamic class House_3 extends MovieClip {
public var burn_point:MovieClip;
public var hot:MovieClip;
}
}//package
Section 123
//House_4 (House_4)
package {
import flash.display.*;
public dynamic class House_4 extends MovieClip {
public var burn_point:MovieClip;
public var hot:MovieClip;
}
}//package
Section 124
//House_5 (House_5)
package {
import flash.display.*;
public dynamic class House_5 extends MovieClip {
public var burn_point:MovieClip;
public var hot:MovieClip;
}
}//package
Section 125
//House_6 (House_6)
package {
import flash.display.*;
public dynamic class House_6 extends MovieClip {
public var burn_point:MovieClip;
public var hot:MovieClip;
}
}//package
Section 126
//House_7 (House_7)
package {
import flash.display.*;
public dynamic class House_7 extends MovieClip {
public var burn_point:MovieClip;
public var hot:MovieClip;
}
}//package
Section 127
//House_8 (House_8)
package {
import flash.display.*;
public dynamic class House_8 extends MovieClip {
public var burn_point:MovieClip;
public var hot:MovieClip;
}
}//package
Section 128
//House_9 (House_9)
package {
import flash.display.*;
public dynamic class House_9 extends MovieClip {
public var burn_point:MovieClip;
public var hot:MovieClip;
}
}//package
Section 129
//level_1 (level_1)
package {
import flash.media.*;
public dynamic class level_1 extends Sound {
}
}//package
Section 130
//level_2 (level_2)
package {
import flash.media.*;
public dynamic class level_2 extends Sound {
}
}//package
Section 131
//level_3 (level_3)
package {
import flash.media.*;
public dynamic class level_3 extends Sound {
}
}//package
Section 132
//Mine_1 (Mine_1)
package {
import flash.display.*;
public dynamic class Mine_1 extends MovieClip {
public var hot:MovieClip;
}
}//package
Section 133
//Monster_1 (Monster_1)
package {
import flash.display.*;
public dynamic class Monster_1 extends MovieClip {
public var shoot_point:MovieClip;
public var mc:MovieClip;
public var hot:MovieClip;
}
}//package
Section 134
//Monster_2 (Monster_2)
package {
import flash.display.*;
public dynamic class Monster_2 extends MovieClip {
public var shoot_point:MovieClip;
public var mc:MovieClip;
public var hot:MovieClip;
}
}//package
Section 135
//Monster_3 (Monster_3)
package {
import flash.display.*;
public dynamic class Monster_3 extends MovieClip {
public var shoot_point:MovieClip;
public var mc:MovieClip;
public var hot:MovieClip;
}
}//package
Section 136
//Monster_4 (Monster_4)
package {
import flash.display.*;
public dynamic class Monster_4 extends MovieClip {
public var shoot_point:MovieClip;
public var mc:MovieClip;
public var hot:MovieClip;
}
}//package
Section 137
//Monster_5 (Monster_5)
package {
import flash.display.*;
public dynamic class Monster_5 extends MovieClip {
public var shoot_point:MovieClip;
public var mc:MovieClip;
public var hot:MovieClip;
}
}//package
Section 138
//Monster_6 (Monster_6)
package {
import flash.display.*;
public dynamic class Monster_6 extends MovieClip {
public var shoot_point:MovieClip;
public var mc:MovieClip;
public var hot:MovieClip;
}
}//package
Section 139
//Monster_7 (Monster_7)
package {
import flash.display.*;
public dynamic class Monster_7 extends MovieClip {
public var shoot_point:MovieClip;
public var mc:MovieClip;
public var hot:MovieClip;
}
}//package
Section 140
//Person_1 (Person_1)
package {
import flash.display.*;
public dynamic class Person_1 extends MovieClip {
public var shoot_point:MovieClip;
public var mc:MovieClip;
public var hot:MovieClip;
}
}//package
Section 141
//Person_2 (Person_2)
package {
import flash.display.*;
public dynamic class Person_2 extends MovieClip {
public var shoot_point:MovieClip;
public var mc:MovieClip;
public var hot:MovieClip;
}
}//package
Section 142
//Person_3 (Person_3)
package {
import flash.display.*;
public dynamic class Person_3 extends MovieClip {
public var shoot_point:MovieClip;
public var hot:MovieClip;
}
}//package
Section 143
//Person_4 (Person_4)
package {
import flash.display.*;
public dynamic class Person_4 extends MovieClip {
public var hot:MovieClip;
public var shoot_point1:MovieClip;
public var shoot_point2:MovieClip;
}
}//package
Section 144
//Person_5 (Person_5)
package {
import flash.display.*;
public dynamic class Person_5 extends MovieClip {
public var mc:MovieClip;
public var hot:MovieClip;
public var shoot_point1:MovieClip;
public var shoot_point2:MovieClip;
}
}//package
Section 145
//Person_6 (Person_6)
package {
import flash.display.*;
public dynamic class Person_6 extends MovieClip {
public var mc:MovieClip;
public var hot:MovieClip;
public var shoot_point1:MovieClip;
public var shoot_point2:MovieClip;
}
}//package
Section 146
//shoot_1 (shoot_1)
package {
import flash.media.*;
public dynamic class shoot_1 extends Sound {
}
}//package
Section 147
//shoot_2 (shoot_2)
package {
import flash.media.*;
public dynamic class shoot_2 extends Sound {
}
}//package
Section 148
//shoot_3 (shoot_3)
package {
import flash.media.*;
public dynamic class shoot_3 extends Sound {
}
}//package
Section 149
//shoot_4 (shoot_4)
package {
import flash.media.*;
public dynamic class shoot_4 extends Sound {
}
}//package
Section 150
//shoot_5 (shoot_5)
package {
import flash.media.*;
public dynamic class shoot_5 extends Sound {
}
}//package
Section 151
//shoot_6 (shoot_6)
package {
import flash.media.*;
public dynamic class shoot_6 extends Sound {
}
}//package
Section 152
//shoot_7 (shoot_7)
package {
import flash.media.*;
public dynamic class shoot_7 extends Sound {
}
}//package
Section 153
//shoot_8 (shoot_8)
package {
import flash.media.*;
public dynamic class shoot_8 extends Sound {
}
}//package
Section 154
//shoot_9 (shoot_9)
package {
import flash.media.*;
public dynamic class shoot_9 extends Sound {
}
}//package
Section 155
//shop (shop)
package {
import flash.media.*;
public dynamic class shop extends Sound {
}
}//package
Section 156
//Tank_1 (Tank_1)
package {
import flash.display.*;
public dynamic class Tank_1 extends MovieClip {
public var shoot_point:MovieClip;
public var hot:MovieClip;
}
}//package
Section 157
//Tank_2 (Tank_2)
package {
import flash.display.*;
public dynamic class Tank_2 extends MovieClip {
public var hot:MovieClip;
public var cannon:MovieClip;
}
}//package
Section 158
//Tank_3 (Tank_3)
package {
import flash.display.*;
public dynamic class Tank_3 extends MovieClip {
public var hot:MovieClip;
public var cannon:MovieClip;
}
}//package
Section 159
//Tank_4 (Tank_4)
package {
import flash.display.*;
public dynamic class Tank_4 extends MovieClip {
public var shoot_point:MovieClip;
public var hot:MovieClip;
}
}//package
Section 160
//Tank_5 (Tank_5)
package {
import flash.display.*;
public dynamic class Tank_5 extends MovieClip {
public var hot:MovieClip;
public var cannon:MovieClip;
}
}//package
Section 161
//title (title)
package {
import flash.media.*;
public dynamic class title extends Sound {
}
}//package
Section 162
//Tower_1 (Tower_1)
package {
import flash.display.*;
public dynamic class Tower_1 extends MovieClip {
public var hot:MovieClip;
public var cannon:MovieClip;
}
}//package
Section 163
//Tower_2 (Tower_2)
package {
import flash.display.*;
public dynamic class Tower_2 extends MovieClip {
public var hot:MovieClip;
public var cannon:MovieClip;
}
}//package
Section 164
//warning (warning)
package {
import flash.media.*;
public dynamic class warning extends Sound {
}
}//package